@arthurzakharov/ui-kit 1.4.4 → 1.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/animations/animation-fade-grow/animation-fade-grow.component.js +29 -22
  2. package/dist/animations/animation-fade-scale/animation-fade-scale.component.js +27 -20
  3. package/dist/animations/animation-fade-slide/animation-fade-slide.component.js +32 -25
  4. package/dist/animations/animation-rotate/animation-rotate.component.js +4 -3
  5. package/dist/assets/flex-BpQNkmJA.css +1 -0
  6. package/dist/assets/text-Bhvd-u-V.css +1 -0
  7. package/dist/components/accordion-table/accordion-table.component.d.ts +0 -7
  8. package/dist/components/bottom-bar/bottom-bar.component.js +31 -31
  9. package/dist/components/data-protected-label/data-protected-label.component.d.ts +3 -7
  10. package/dist/components/data-protected-label/data-protected-label.component.js +15 -19
  11. package/dist/components/flex/flex.component.d.ts +11 -11
  12. package/dist/components/flex/flex.component.js +9 -9
  13. package/dist/components/main-attachment/main-attachment.component.js +17 -10
  14. package/dist/components/message-block/message-block.component.d.ts +0 -3
  15. package/dist/components/message-block/message-block.component.js +16 -27
  16. package/dist/components/payment/components/text-blocks/text-blocks.component.js +3 -3
  17. package/dist/components/sidebar/components/info/info.component.js +10 -10
  18. package/dist/components/sidebar/components/step/step.component.js +4 -4
  19. package/dist/components/sidebar/sidebar.component.js +13 -13
  20. package/dist/components/signature/signature.component.js +140 -140
  21. package/dist/components/text/index.d.ts +1 -0
  22. package/dist/components/text/index.js +4 -0
  23. package/dist/components/text/text.component.d.ts +13 -540
  24. package/dist/components/text/text.component.js +129 -14
  25. package/dist/main.d.ts +1 -1
  26. package/dist/utils/content/content.component.d.ts +3 -1
  27. package/dist/utils/types.d.ts +13 -5
  28. package/package.json +10 -9
  29. package/dist/assets/flex-BhK_u9P8.css +0 -1
  30. package/dist/assets/page-info-Bs3RDQxp.css +0 -1
  31. package/dist/assets/page-subtitle-BrFA-H2S.css +0 -1
  32. package/dist/assets/page-title-BjnleMqb.css +0 -1
  33. package/dist/assets/sidebar-title-BQlVGM_v.css +0 -1
  34. package/dist/assets/step-title-1uG3ODlr.css +0 -1
  35. package/dist/assets/tag-xh8EHVuM.css +0 -1
  36. package/dist/components/text/components/page-info/page-info.component.d.ts +0 -2
  37. package/dist/components/text/components/page-info/page-info.component.js +0 -11
  38. package/dist/components/text/components/page-subtitle/page-subtitle.component.d.ts +0 -2
  39. package/dist/components/text/components/page-subtitle/page-subtitle.component.js +0 -10
  40. package/dist/components/text/components/page-title/page-title.component.d.ts +0 -2
  41. package/dist/components/text/components/page-title/page-title.component.js +0 -10
  42. package/dist/components/text/components/sidebar-title/sidebar-title.component.d.ts +0 -2
  43. package/dist/components/text/components/sidebar-title/sidebar-title.component.js +0 -10
  44. package/dist/components/text/components/step-title/step-title.component.d.ts +0 -2
  45. package/dist/components/text/components/step-title/step-title.component.js +0 -10
  46. package/dist/components/text/components/tag/tag.component.d.ts +0 -543
  47. package/dist/components/text/components/tag/tag.component.js +0 -69
@@ -8,7 +8,7 @@ import { AnimationFadeScale as te } from "../../animations/animation-fade-scale/
8
8
  import { AnimationFadeSlide as Xe } from "../../animations/animation-fade-slide/animation-fade-slide.component.js";
9
9
  import { ControlButton as Te } from "../../controls/control-button/control-button.component.js";
10
10
  import { ControlButtonText as ue } from "../../controls/control-button-text/control-button-text.component.js";
11
- import { Flex as ie } from "../flex/flex.component.js";
11
+ import { Flex as oe } from "../flex/flex.component.js";
12
12
  import { Text as he } from "../text/text.component.js";
13
13
  import { Loader as Je } from "../loader/loader.component.js";
14
14
  import '../../assets/signature-qHi3xUi4.css';var fe = { exports: {} }, ce = { exports: {} }, le = { exports: {} }, I = {};
@@ -16,7 +16,7 @@ var Ce;
16
16
  function Ze() {
17
17
  if (Ce) return I;
18
18
  Ce = 1;
19
- var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, t = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, i = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, v = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, x = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, b = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, P = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, g = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, W = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
19
+ var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, t = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, o = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, v = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, x = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, b = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, P = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, g = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, W = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
20
20
  function $(f) {
21
21
  if (typeof f == "object" && f !== null) {
22
22
  var X = f.$$typeof;
@@ -24,9 +24,9 @@ function Ze() {
24
24
  case n:
25
25
  switch (f = f.type, f) {
26
26
  case d:
27
- case i:
28
- case t:
29
27
  case o:
28
+ case t:
29
+ case i:
30
30
  case a:
31
31
  case v:
32
32
  return f;
@@ -48,9 +48,9 @@ function Ze() {
48
48
  }
49
49
  }
50
50
  function k(f) {
51
- return $(f) === i;
51
+ return $(f) === o;
52
52
  }
53
- return I.AsyncMode = d, I.ConcurrentMode = i, I.ContextConsumer = u, I.ContextProvider = c, I.Element = n, I.ForwardRef = l, I.Fragment = t, I.Lazy = x, I.Memo = _, I.Portal = r, I.Profiler = o, I.StrictMode = a, I.Suspense = v, I.isAsyncMode = function(f) {
53
+ return I.AsyncMode = d, I.ConcurrentMode = o, I.ContextConsumer = u, I.ContextProvider = c, I.Element = n, I.ForwardRef = l, I.Fragment = t, I.Lazy = x, I.Memo = _, I.Portal = r, I.Profiler = i, I.StrictMode = a, I.Suspense = v, I.isAsyncMode = function(f) {
54
54
  return k(f) || $(f) === d;
55
55
  }, I.isConcurrentMode = k, I.isContextConsumer = function(f) {
56
56
  return $(f) === u;
@@ -69,40 +69,40 @@ function Ze() {
69
69
  }, I.isPortal = function(f) {
70
70
  return $(f) === r;
71
71
  }, I.isProfiler = function(f) {
72
- return $(f) === o;
72
+ return $(f) === i;
73
73
  }, I.isStrictMode = function(f) {
74
74
  return $(f) === a;
75
75
  }, I.isSuspense = function(f) {
76
76
  return $(f) === v;
77
77
  }, I.isValidElementType = function(f) {
78
- return typeof f == "string" || typeof f == "function" || f === t || f === i || f === o || f === a || f === v || f === m || typeof f == "object" && f !== null && (f.$$typeof === x || f.$$typeof === _ || f.$$typeof === c || f.$$typeof === u || f.$$typeof === l || f.$$typeof === P || f.$$typeof === g || f.$$typeof === W || f.$$typeof === b);
78
+ return typeof f == "string" || typeof f == "function" || f === t || f === o || f === i || f === a || f === v || f === m || typeof f == "object" && f !== null && (f.$$typeof === x || f.$$typeof === _ || f.$$typeof === c || f.$$typeof === u || f.$$typeof === l || f.$$typeof === P || f.$$typeof === g || f.$$typeof === W || f.$$typeof === b);
79
79
  }, I.typeOf = $, I;
80
80
  }
81
81
  var z = {};
82
82
  var Re;
83
83
  function Ge() {
84
84
  return Re || (Re = 1, process.env.NODE_ENV !== "production" && (function() {
85
- var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, t = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, i = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, v = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, x = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, b = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, P = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, g = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, W = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
85
+ var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, t = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, i = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, c = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, u = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, o = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, l = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, v = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, m = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, _ = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, x = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, b = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, P = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, g = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, W = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
86
86
  function $(p) {
87
87
  return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
88
- p === t || p === i || p === o || p === a || p === v || p === m || typeof p == "object" && p !== null && (p.$$typeof === x || p.$$typeof === _ || p.$$typeof === c || p.$$typeof === u || p.$$typeof === l || p.$$typeof === P || p.$$typeof === g || p.$$typeof === W || p.$$typeof === b);
88
+ p === t || p === o || p === i || p === a || p === v || p === m || typeof p == "object" && p !== null && (p.$$typeof === x || p.$$typeof === _ || p.$$typeof === c || p.$$typeof === u || p.$$typeof === l || p.$$typeof === P || p.$$typeof === g || p.$$typeof === W || p.$$typeof === b);
89
89
  }
90
90
  function k(p) {
91
91
  if (typeof p == "object" && p !== null) {
92
92
  var K = p.$$typeof;
93
93
  switch (K) {
94
94
  case n:
95
- var oe = p.type;
96
- switch (oe) {
95
+ var ie = p.type;
96
+ switch (ie) {
97
97
  case d:
98
- case i:
99
- case t:
100
98
  case o:
99
+ case t:
100
+ case i:
101
101
  case a:
102
102
  case v:
103
- return oe;
103
+ return ie;
104
104
  default:
105
- var Pe = oe && oe.$$typeof;
105
+ var Pe = ie && ie.$$typeof;
106
106
  switch (Pe) {
107
107
  case u:
108
108
  case l:
@@ -119,12 +119,12 @@ function Ge() {
119
119
  }
120
120
  }
121
121
  }
122
- var f = d, X = i, ne = u, Q = c, O = n, S = l, B = t, F = x, y = _, G = r, U = o, Y = a, J = v, N = !1;
122
+ var f = d, X = o, ne = u, Q = c, O = n, S = l, B = t, F = x, y = _, G = r, U = i, Y = a, J = v, N = !1;
123
123
  function Z(p) {
124
124
  return N || (N = !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.")), s(p) || k(p) === d;
125
125
  }
126
126
  function s(p) {
127
- return k(p) === i;
127
+ return k(p) === o;
128
128
  }
129
129
  function h(p) {
130
130
  return k(p) === u;
@@ -151,7 +151,7 @@ function Ge() {
151
151
  return k(p) === r;
152
152
  }
153
153
  function L(p) {
154
- return k(p) === o;
154
+ return k(p) === i;
155
155
  }
156
156
  function D(p) {
157
157
  return k(p) === a;
@@ -171,17 +171,17 @@ function Ke() {
171
171
  if (Me) return pe;
172
172
  Me = 1;
173
173
  var e = Object.getOwnPropertySymbols, n = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
174
- function t(o) {
175
- if (o == null)
174
+ function t(i) {
175
+ if (i == null)
176
176
  throw new TypeError("Object.assign cannot be called with null or undefined");
177
- return Object(o);
177
+ return Object(i);
178
178
  }
179
179
  function a() {
180
180
  try {
181
181
  if (!Object.assign)
182
182
  return !1;
183
- var o = new String("abc");
184
- if (o[5] = "de", Object.getOwnPropertyNames(o)[0] === "5")
183
+ var i = new String("abc");
184
+ if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
185
185
  return !1;
186
186
  for (var c = {}, u = 0; u < 10; u++)
187
187
  c["_" + String.fromCharCode(u)] = u;
@@ -190,23 +190,23 @@ function Ke() {
190
190
  });
191
191
  if (d.join("") !== "0123456789")
192
192
  return !1;
193
- var i = {};
193
+ var o = {};
194
194
  return "abcdefghijklmnopqrst".split("").forEach(function(l) {
195
- i[l] = l;
196
- }), Object.keys(Object.assign({}, i)).join("") === "abcdefghijklmnopqrst";
195
+ o[l] = l;
196
+ }), Object.keys(Object.assign({}, o)).join("") === "abcdefghijklmnopqrst";
197
197
  } catch {
198
198
  return !1;
199
199
  }
200
200
  }
201
- return pe = a() ? Object.assign : function(o, c) {
202
- for (var u, d = t(o), i, l = 1; l < arguments.length; l++) {
201
+ return pe = a() ? Object.assign : function(i, c) {
202
+ for (var u, d = t(i), o, l = 1; l < arguments.length; l++) {
203
203
  u = Object(arguments[l]);
204
204
  for (var v in u)
205
205
  n.call(u, v) && (d[v] = u[v]);
206
206
  if (e) {
207
- i = e(u);
208
- for (var m = 0; m < i.length; m++)
209
- r.call(u, i[m]) && (d[i[m]] = u[i[m]]);
207
+ o = e(u);
208
+ for (var m = 0; m < o.length; m++)
209
+ r.call(u, o[m]) && (d[o[m]] = u[o[m]]);
210
210
  }
211
211
  }
212
212
  return d;
@@ -231,8 +231,8 @@ function Qe() {
231
231
  };
232
232
  if (process.env.NODE_ENV !== "production") {
233
233
  var n = /* @__PURE__ */ be(), r = {}, t = /* @__PURE__ */ qe();
234
- e = function(o) {
235
- var c = "Warning: " + o;
234
+ e = function(i) {
235
+ var c = "Warning: " + i;
236
236
  typeof console < "u" && console.error(c);
237
237
  try {
238
238
  throw new Error(c);
@@ -240,19 +240,19 @@ function Qe() {
240
240
  }
241
241
  };
242
242
  }
243
- function a(o, c, u, d, i) {
243
+ function a(i, c, u, d, o) {
244
244
  if (process.env.NODE_ENV !== "production") {
245
- for (var l in o)
246
- if (t(o, l)) {
245
+ for (var l in i)
246
+ if (t(i, l)) {
247
247
  var v;
248
248
  try {
249
- if (typeof o[l] != "function") {
249
+ if (typeof i[l] != "function") {
250
250
  var m = Error(
251
- (d || "React class") + ": " + u + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
251
+ (d || "React class") + ": " + u + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
252
252
  );
253
253
  throw m.name = "Invariant Violation", m;
254
254
  }
255
- v = o[l](c, l, d, u, null, n);
255
+ v = i[l](c, l, d, u, null, n);
256
256
  } catch (x) {
257
257
  v = x;
258
258
  }
@@ -260,7 +260,7 @@ function Qe() {
260
260
  (d || "React class") + ": type specification of " + u + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof v + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
261
261
  ), v instanceof Error && !(v.message in r)) {
262
262
  r[v.message] = !0;
263
- var _ = i ? i() : "";
263
+ var _ = o ? o() : "";
264
264
  e(
265
265
  "Failed " + u + " type: " + v.message + (_ ?? "")
266
266
  );
@@ -276,9 +276,9 @@ var ge, je;
276
276
  function et() {
277
277
  if (je) return ge;
278
278
  je = 1;
279
- var e = We(), n = Ke(), r = /* @__PURE__ */ be(), t = /* @__PURE__ */ qe(), a = /* @__PURE__ */ Qe(), o = function() {
279
+ var e = We(), n = Ke(), r = /* @__PURE__ */ be(), t = /* @__PURE__ */ qe(), a = /* @__PURE__ */ Qe(), i = function() {
280
280
  };
281
- process.env.NODE_ENV !== "production" && (o = function(u) {
281
+ process.env.NODE_ENV !== "production" && (i = function(u) {
282
282
  var d = "Warning: " + u;
283
283
  typeof console < "u" && console.error(d);
284
284
  try {
@@ -290,9 +290,9 @@ function et() {
290
290
  return null;
291
291
  }
292
292
  return ge = function(u, d) {
293
- var i = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
293
+ var o = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
294
294
  function v(s) {
295
- var h = s && (i && s[i] || s[l]);
295
+ var h = s && (o && s[o] || s[l]);
296
296
  if (typeof h == "function")
297
297
  return h;
298
298
  }
@@ -337,7 +337,7 @@ function et() {
337
337
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
338
338
  var K = A + ":" + R;
339
339
  !h[K] && // Avoid spamming the console because they are often not actionable except for lib authors
340
- w < 3 && (o(
340
+ w < 3 && (i(
341
341
  "You are manually calling a React.PropTypes validation function for the `" + D + "` prop on `" + A + "`. 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."
342
342
  ), h[K] = !0, w++);
343
343
  }
@@ -416,9 +416,9 @@ function et() {
416
416
  }
417
417
  function ne(s) {
418
418
  if (!Array.isArray(s))
419
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
419
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
420
420
  "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])."
421
- ) : o("Invalid argument supplied to oneOf, expected an array.")), c;
421
+ ) : i("Invalid argument supplied to oneOf, expected an array.")), c;
422
422
  function h(w, C, E, M, T) {
423
423
  for (var R = w[C], A = 0; A < s.length; A++)
424
424
  if (x(R, s[A]))
@@ -450,11 +450,11 @@ function et() {
450
450
  }
451
451
  function O(s) {
452
452
  if (!Array.isArray(s))
453
- return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), c;
453
+ return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), c;
454
454
  for (var h = 0; h < s.length; h++) {
455
455
  var w = s[h];
456
456
  if (typeof w != "function")
457
- return o(
457
+ return i(
458
458
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + N(w) + " at index " + h + "."
459
459
  ), c;
460
460
  }
@@ -603,7 +603,7 @@ function tt() {
603
603
  function r() {
604
604
  }
605
605
  return r.resetWarningCache = n, _e = function() {
606
- function t(c, u, d, i, l, v) {
606
+ function t(c, u, d, o, l, v) {
607
607
  if (v !== e) {
608
608
  var m = new Error(
609
609
  "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"
@@ -615,7 +615,7 @@ function tt() {
615
615
  function a() {
616
616
  return t;
617
617
  }
618
- var o = {
618
+ var i = {
619
619
  array: t,
620
620
  bigint: t,
621
621
  bool: t,
@@ -638,7 +638,7 @@ function tt() {
638
638
  checkPropTypes: r,
639
639
  resetWarningCache: n
640
640
  };
641
- return o.PropTypes = o, o;
641
+ return i.PropTypes = i, i;
642
642
  }, _e;
643
643
  }
644
644
  var ze;
@@ -668,10 +668,10 @@ function xe(e, n, r, t) {
668
668
  }
669
669
  xe.prototype.length = function() {
670
670
  for (var e = 10, n = 0, r = void 0, t = void 0, a = 0; a <= e; a += 1) {
671
- var o = a / e, c = this._point(o, this.startPoint.x, this.control1.x, this.control2.x, this.endPoint.x), u = this._point(o, this.startPoint.y, this.control1.y, this.control2.y, this.endPoint.y);
671
+ var i = a / e, c = this._point(i, this.startPoint.x, this.control1.x, this.control2.x, this.endPoint.x), u = this._point(i, this.startPoint.y, this.control1.y, this.control2.y, this.endPoint.y);
672
672
  if (a > 0) {
673
- var d = c - r, i = u - t;
674
- n += Math.sqrt(d * d + i * i);
673
+ var d = c - r, o = u - t;
674
+ n += Math.sqrt(d * d + o * o);
675
675
  }
676
676
  r = c, t = u;
677
677
  }
@@ -681,16 +681,16 @@ xe.prototype._point = function(e, n, r, t, a) {
681
681
  return n * (1 - e) * (1 - e) * (1 - e) + 3 * r * (1 - e) * (1 - e) * e + 3 * t * (1 - e) * e * e + a * e * e * e;
682
682
  };
683
683
  function nt(e, n, r) {
684
- var t, a, o, c = null, u = 0;
684
+ var t, a, i, c = null, u = 0;
685
685
  r || (r = {});
686
686
  var d = function() {
687
- u = r.leading === !1 ? 0 : Date.now(), c = null, o = e.apply(t, a), c || (t = a = null);
687
+ u = r.leading === !1 ? 0 : Date.now(), c = null, i = e.apply(t, a), c || (t = a = null);
688
688
  };
689
689
  return function() {
690
- var i = Date.now();
691
- !u && r.leading === !1 && (u = i);
692
- var l = n - (i - u);
693
- return t = this, a = arguments, l <= 0 || l > n ? (c && (clearTimeout(c), c = null), u = i, o = e.apply(t, a), c || (t = a = null)) : !c && r.trailing !== !1 && (c = setTimeout(d, l)), o;
690
+ var o = Date.now();
691
+ !u && r.leading === !1 && (u = o);
692
+ var l = n - (o - u);
693
+ return t = this, a = arguments, l <= 0 || l > n ? (c && (clearTimeout(c), c = null), u = o, i = e.apply(t, a), c || (t = a = null)) : !c && r.trailing !== !1 && (c = setTimeout(d, l)), i;
694
694
  };
695
695
  }
696
696
  function q(e, n) {
@@ -705,16 +705,16 @@ function q(e, n) {
705
705
  a.which === 1 && r._mouseButtonDown && (r._mouseButtonDown = !1, r._strokeEnd(a));
706
706
  }, this._handleTouchStart = function(a) {
707
707
  if (a.targetTouches.length === 1) {
708
- var o = a.changedTouches[0];
709
- r._strokeBegin(o);
708
+ var i = a.changedTouches[0];
709
+ r._strokeBegin(i);
710
710
  }
711
711
  }, this._handleTouchMove = function(a) {
712
712
  a.preventDefault();
713
- var o = a.targetTouches[0];
714
- r._strokeMoveUpdate(o);
713
+ var i = a.targetTouches[0];
714
+ r._strokeMoveUpdate(i);
715
715
  }, this._handleTouchEnd = function(a) {
716
- var o = a.target === r._canvas;
717
- o && (a.preventDefault(), r._strokeEnd(a));
716
+ var i = a.target === r._canvas;
717
+ i && (a.preventDefault(), r._strokeEnd(a));
718
718
  }, this.on();
719
719
  }
720
720
  q.prototype.clear = function() {
@@ -722,9 +722,9 @@ q.prototype.clear = function() {
722
722
  e.fillStyle = this.backgroundColor, e.clearRect(0, 0, n.width, n.height), e.fillRect(0, 0, n.width, n.height), this._data = [], this._reset(), this._isEmpty = !0;
723
723
  };
724
724
  q.prototype.fromDataURL = function(e) {
725
- var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = new Image(), a = r.ratio || window.devicePixelRatio || 1, o = r.width || this._canvas.width / a, c = r.height || this._canvas.height / a;
725
+ var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = new Image(), a = r.ratio || window.devicePixelRatio || 1, i = r.width || this._canvas.width / a, c = r.height || this._canvas.height / a;
726
726
  this._reset(), t.src = e, t.onload = function() {
727
- n._ctx.drawImage(t, 0, 0, o, c);
727
+ n._ctx.drawImage(t, 0, 0, i, c);
728
728
  }, this._isEmpty = !1;
729
729
  };
730
730
  q.prototype.toDataURL = function(e) {
@@ -751,10 +751,10 @@ q.prototype._strokeBegin = function(e) {
751
751
  this._data.push([]), this._reset(), this._strokeUpdate(e), typeof this.onBegin == "function" && this.onBegin(e);
752
752
  };
753
753
  q.prototype._strokeUpdate = function(e) {
754
- var n = e.clientX, r = e.clientY, t = this._createPoint(n, r), a = this._data[this._data.length - 1], o = a && a[a.length - 1], c = o && t.distanceTo(o) < this.minDistance;
755
- if (!(o && c)) {
756
- var u = this._addPoint(t), d = u.curve, i = u.widths;
757
- d && i && this._drawCurve(d, i.start, i.end), this._data[this._data.length - 1].push({
754
+ var n = e.clientX, r = e.clientY, t = this._createPoint(n, r), a = this._data[this._data.length - 1], i = a && a[a.length - 1], c = i && t.distanceTo(i) < this.minDistance;
755
+ if (!(i && c)) {
756
+ var u = this._addPoint(t), d = u.curve, o = u.widths;
757
+ d && o && this._drawCurve(d, o.start, o.end), this._data[this._data.length - 1].push({
758
758
  x: t.x,
759
759
  y: t.y,
760
760
  time: t.time,
@@ -794,21 +794,21 @@ q.prototype._addPoint = function(e) {
794
794
  n.length === 3 && n.unshift(n[0]), r = this._calculateCurveControlPoints(n[0], n[1], n[2]);
795
795
  var t = r.c2;
796
796
  r = this._calculateCurveControlPoints(n[1], n[2], n[3]);
797
- var a = r.c1, o = new xe(n[1], t, a, n[2]), c = this._calculateCurveWidths(o);
798
- return n.shift(), { curve: o, widths: c };
797
+ var a = r.c1, i = new xe(n[1], t, a, n[2]), c = this._calculateCurveWidths(i);
798
+ return n.shift(), { curve: i, widths: c };
799
799
  }
800
800
  return {};
801
801
  };
802
802
  q.prototype._calculateCurveControlPoints = function(e, n, r) {
803
- var t = e.x - n.x, a = e.y - n.y, o = n.x - r.x, c = n.y - r.y, u = { x: (e.x + n.x) / 2, y: (e.y + n.y) / 2 }, d = { x: (n.x + r.x) / 2, y: (n.y + r.y) / 2 }, i = Math.sqrt(t * t + a * a), l = Math.sqrt(o * o + c * c), v = u.x - d.x, m = u.y - d.y, _ = l / (i + l), x = { x: d.x + v * _, y: d.y + m * _ }, b = n.x - x.x, P = n.y - x.y;
803
+ var t = e.x - n.x, a = e.y - n.y, i = n.x - r.x, c = n.y - r.y, u = { x: (e.x + n.x) / 2, y: (e.y + n.y) / 2 }, d = { x: (n.x + r.x) / 2, y: (n.y + r.y) / 2 }, o = Math.sqrt(t * t + a * a), l = Math.sqrt(i * i + c * c), v = u.x - d.x, m = u.y - d.y, _ = l / (o + l), x = { x: d.x + v * _, y: d.y + m * _ }, b = n.x - x.x, P = n.y - x.y;
804
804
  return {
805
805
  c1: new ae(u.x + b, u.y + P),
806
806
  c2: new ae(d.x + b, d.y + P)
807
807
  };
808
808
  };
809
809
  q.prototype._calculateCurveWidths = function(e) {
810
- var n = e.startPoint, r = e.endPoint, t = { start: null, end: null }, a = this.velocityFilterWeight * r.velocityFrom(n) + (1 - this.velocityFilterWeight) * this._lastVelocity, o = this._strokeWidth(a);
811
- return t.start = this._lastWidth, t.end = o, this._lastVelocity = a, this._lastWidth = o, t;
810
+ var n = e.startPoint, r = e.endPoint, t = { start: null, end: null }, a = this.velocityFilterWeight * r.velocityFrom(n) + (1 - this.velocityFilterWeight) * this._lastVelocity, i = this._strokeWidth(a);
811
+ return t.start = this._lastWidth, t.end = i, this._lastVelocity = a, this._lastWidth = i, t;
812
812
  };
813
813
  q.prototype._strokeWidth = function(e) {
814
814
  return Math.max(this.maxWidth / (e + 1), this.minWidth);
@@ -818,14 +818,14 @@ q.prototype._drawPoint = function(e, n, r) {
818
818
  t.moveTo(e, n), t.arc(e, n, r, 0, 2 * Math.PI, !1), this._isEmpty = !1;
819
819
  };
820
820
  q.prototype._drawCurve = function(e, n, r) {
821
- var t = this._ctx, a = r - n, o = Math.floor(e.length());
821
+ var t = this._ctx, a = r - n, i = Math.floor(e.length());
822
822
  t.beginPath();
823
- for (var c = 0; c < o; c += 1) {
824
- var u = c / o, d = u * u, i = d * u, l = 1 - u, v = l * l, m = v * l, _ = m * e.startPoint.x;
825
- _ += 3 * v * u * e.control1.x, _ += 3 * l * d * e.control2.x, _ += i * e.endPoint.x;
823
+ for (var c = 0; c < i; c += 1) {
824
+ var u = c / i, d = u * u, o = d * u, l = 1 - u, v = l * l, m = v * l, _ = m * e.startPoint.x;
825
+ _ += 3 * v * u * e.control1.x, _ += 3 * l * d * e.control2.x, _ += o * e.endPoint.x;
826
826
  var x = m * e.startPoint.y;
827
- x += 3 * v * u * e.control1.y, x += 3 * l * d * e.control2.y, x += i * e.endPoint.y;
828
- var b = n + i * a;
827
+ x += 3 * v * u * e.control1.y, x += 3 * l * d * e.control2.y, x += o * e.endPoint.y;
828
+ var b = n + o * a;
829
829
  this._drawPoint(_, x, b);
830
830
  }
831
831
  t.closePath(), t.fill();
@@ -838,12 +838,12 @@ q.prototype._fromData = function(e, n, r) {
838
838
  for (var t = 0; t < e.length; t += 1) {
839
839
  var a = e[t];
840
840
  if (a.length > 1)
841
- for (var o = 0; o < a.length; o += 1) {
842
- var c = a[o], u = new ae(c.x, c.y, c.time), d = c.color;
843
- if (o === 0)
841
+ for (var i = 0; i < a.length; i += 1) {
842
+ var c = a[i], u = new ae(c.x, c.y, c.time), d = c.color;
843
+ if (i === 0)
844
844
  this.penColor = d, this._reset(), this._addPoint(u);
845
- else if (o !== a.length - 1) {
846
- var i = this._addPoint(u), l = i.curve, v = i.widths;
845
+ else if (i !== a.length - 1) {
846
+ var o = this._addPoint(u), l = o.curve, v = o.widths;
847
847
  l && v && n(l, v, d);
848
848
  }
849
849
  }
@@ -855,7 +855,7 @@ q.prototype._fromData = function(e, n, r) {
855
855
  }
856
856
  };
857
857
  q.prototype._toSVG = function() {
858
- var e = this, n = this._data, r = this._canvas, t = Math.max(window.devicePixelRatio || 1, 1), a = 0, o = 0, c = r.width / t, u = r.height / t, d = document.createElementNS("http://www.w3.org/2000/svg", "svg");
858
+ var e = this, n = this._data, r = this._canvas, t = Math.max(window.devicePixelRatio || 1, 1), a = 0, i = 0, c = r.width / t, u = r.height / t, d = document.createElementNS("http://www.w3.org/2000/svg", "svg");
859
859
  d.setAttributeNS(null, "width", r.width), d.setAttributeNS(null, "height", r.height), this._fromData(n, function(g, W, $) {
860
860
  var k = document.createElement("path");
861
861
  if (!isNaN(g.control1.x) && !isNaN(g.control1.y) && !isNaN(g.control2.x) && !isNaN(g.control2.y)) {
@@ -866,7 +866,7 @@ q.prototype._toSVG = function() {
866
866
  var W = document.createElement("circle"), $ = typeof e.dotSize == "function" ? e.dotSize() : e.dotSize;
867
867
  W.setAttribute("r", $), W.setAttribute("cx", g.x), W.setAttribute("cy", g.y), W.setAttribute("fill", g.color), d.appendChild(W);
868
868
  });
869
- var i = "data:image/svg+xml;base64,", l = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"' + (' viewBox="' + a + " " + o + " " + c + " " + u + '"') + (' width="' + c + '"') + (' height="' + u + '"') + ">", v = d.innerHTML;
869
+ var o = "data:image/svg+xml;base64,", l = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"' + (' viewBox="' + a + " " + i + " " + c + " " + u + '"') + (' width="' + c + '"') + (' height="' + u + '"') + ">", v = d.innerHTML;
870
870
  if (v === void 0) {
871
871
  var m = document.createElement("dummy"), _ = d.childNodes;
872
872
  m.innerHTML = "";
@@ -875,7 +875,7 @@ q.prototype._toSVG = function() {
875
875
  v = m.innerHTML;
876
876
  }
877
877
  var b = "</svg>", P = l + v + b;
878
- return i + btoa(P);
878
+ return o + btoa(P);
879
879
  };
880
880
  q.prototype.fromData = function(e) {
881
881
  var n = this;
@@ -891,38 +891,38 @@ q.prototype.toData = function() {
891
891
  const at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
892
892
  __proto__: null,
893
893
  default: q
894
- }, Symbol.toStringTag, { value: "Module" })), it = /* @__PURE__ */ Be(at);
895
- var de = { exports: {} }, ot = de.exports, $e;
894
+ }, Symbol.toStringTag, { value: "Module" })), ot = /* @__PURE__ */ Be(at);
895
+ var de = { exports: {} }, it = de.exports, $e;
896
896
  function st() {
897
897
  return $e || ($e = 1, (function(e, n) {
898
898
  (function(r, t) {
899
899
  e.exports = t();
900
- })(ot, function() {
900
+ })(it, function() {
901
901
  return (function(r) {
902
- function t(o) {
903
- if (a[o]) return a[o].exports;
904
- var c = a[o] = { exports: {}, id: o, loaded: !1 };
905
- return r[o].call(c.exports, c, c.exports, t), c.loaded = !0, c.exports;
902
+ function t(i) {
903
+ if (a[i]) return a[i].exports;
904
+ var c = a[i] = { exports: {}, id: i, loaded: !1 };
905
+ return r[i].call(c.exports, c, c.exports, t), c.loaded = !0, c.exports;
906
906
  }
907
907
  var a = {};
908
908
  return t.m = r, t.c = a, t.p = "", t(0);
909
909
  })([function(r, t) {
910
- function a(i) {
911
- var l = i.getContext("2d"), v = i.width, m = i.height, _ = l.getImageData(0, 0, v, m).data, x = u(!0, v, m, _), b = u(!1, v, m, _), P = d(!0, v, m, _), g = d(!1, v, m, _), W = g - P + 1, $ = b - x + 1, k = l.getImageData(P, x, W, $);
912
- return i.width = W, i.height = $, l.clearRect(0, 0, W, $), l.putImageData(k, 0, 0), i;
910
+ function a(o) {
911
+ var l = o.getContext("2d"), v = o.width, m = o.height, _ = l.getImageData(0, 0, v, m).data, x = u(!0, v, m, _), b = u(!1, v, m, _), P = d(!0, v, m, _), g = d(!1, v, m, _), W = g - P + 1, $ = b - x + 1, k = l.getImageData(P, x, W, $);
912
+ return o.width = W, o.height = $, l.clearRect(0, 0, W, $), l.putImageData(k, 0, 0), o;
913
913
  }
914
- function o(i, l, v, m) {
915
- return { red: m[4 * (v * l + i)], green: m[4 * (v * l + i) + 1], blue: m[4 * (v * l + i) + 2], alpha: m[4 * (v * l + i) + 3] };
914
+ function i(o, l, v, m) {
915
+ return { red: m[4 * (v * l + o)], green: m[4 * (v * l + o) + 1], blue: m[4 * (v * l + o) + 2], alpha: m[4 * (v * l + o) + 3] };
916
916
  }
917
- function c(i, l, v, m) {
918
- return o(i, l, v, m).alpha;
917
+ function c(o, l, v, m) {
918
+ return i(o, l, v, m).alpha;
919
919
  }
920
- function u(i, l, v, m) {
921
- for (var _ = i ? 1 : -1, x = i ? 0 : v - 1, b = x; i ? b < v : b > -1; b += _) for (var P = 0; P < l; P++) if (c(P, b, l, m)) return b;
920
+ function u(o, l, v, m) {
921
+ for (var _ = o ? 1 : -1, x = o ? 0 : v - 1, b = x; o ? b < v : b > -1; b += _) for (var P = 0; P < l; P++) if (c(P, b, l, m)) return b;
922
922
  return null;
923
923
  }
924
- function d(i, l, v, m) {
925
- for (var _ = i ? 1 : -1, x = i ? 0 : l - 1, b = x; i ? b < l : b > -1; b += _) for (var P = 0; P < v; P++) if (c(b, P, l, m)) return b;
924
+ function d(o, l, v, m) {
925
+ for (var _ = o ? 1 : -1, x = o ? 0 : l - 1, b = x; o ? b < l : b > -1; b += _) for (var P = 0; P < v; P++) if (c(b, P, l, m)) return b;
926
926
  return null;
927
927
  }
928
928
  Object.defineProperty(t, "__esModule", { value: !0 }), t.default = a;
@@ -934,18 +934,18 @@ var ut = fe.exports, Le;
934
934
  function ct() {
935
935
  return Le || (Le = 1, (function(e, n) {
936
936
  (function(r, t) {
937
- e.exports = t(/* @__PURE__ */ rt(), Fe, it, st());
938
- })(ut, function(r, t, a, o) {
937
+ e.exports = t(/* @__PURE__ */ rt(), Fe, ot, st());
938
+ })(ut, function(r, t, a, i) {
939
939
  return (function(c) {
940
- function u(i) {
941
- if (d[i]) return d[i].exports;
942
- var l = d[i] = { exports: {}, id: i, loaded: !1 };
943
- return c[i].call(l.exports, l, l.exports, u), l.loaded = !0, l.exports;
940
+ function u(o) {
941
+ if (d[o]) return d[o].exports;
942
+ var l = d[o] = { exports: {}, id: o, loaded: !1 };
943
+ return c[o].call(l.exports, l, l.exports, u), l.loaded = !0, l.exports;
944
944
  }
945
945
  var d = {};
946
946
  return u.m = c, u.c = d, u.p = "", u(0);
947
947
  })([function(c, u, d) {
948
- function i(O) {
948
+ function o(O) {
949
949
  return O && O.__esModule ? O : { default: O };
950
950
  }
951
951
  function l(O, S) {
@@ -981,7 +981,7 @@ function ct() {
981
981
  return function(S, B, F) {
982
982
  return B && O(S.prototype, B), F && O(S, F), S;
983
983
  };
984
- })(), P = d(1), g = i(P), W = d(2), $ = i(W), k = d(3), f = i(k), X = d(4), ne = i(X), Q = (function(O) {
984
+ })(), P = d(1), g = o(P), W = d(2), $ = o(W), k = d(3), f = o(k), X = d(4), ne = o(X), Q = (function(O) {
985
985
  function S() {
986
986
  var B, F, y, G;
987
987
  v(this, S);
@@ -1043,7 +1043,7 @@ function ct() {
1043
1043
  }, function(c, u) {
1044
1044
  c.exports = a;
1045
1045
  }, function(c, u) {
1046
- c.exports = o;
1046
+ c.exports = i;
1047
1047
  }]);
1048
1048
  });
1049
1049
  })(fe)), fe.exports;
@@ -1064,21 +1064,21 @@ const ft = /* @__PURE__ */ Ne(lt), dt = "_Signature_4mfzi_1", ht = "_SignatureMa
1064
1064
  SignatureAutoPanelNoteIcon: St,
1065
1065
  SignatureAutoPanelButton: wt
1066
1066
  }, Lt = (e) => {
1067
- const { auto: n, manual: r, getSignature: t, onChangeManual: a, onChangeAuto: o, className: c = "" } = e, u = Se(null), d = Se(!1), [i, l] = se(null), [v, m] = se(r ? "manual" : "auto"), [_, x] = se(""), [b, P] = se(!1), { width: g = 0, height: W = 0 } = Ue({ ref: u, box: "border-box" }), $ = v === "auto" ? n ? "auto-generated" : "auto-loading" : _ ? "manual-drawn" : r ? "manual-stored" : "manual-blank", k = n !== "" || b, f = r || _, X = re(
1067
+ const { auto: n, manual: r, getSignature: t, onChangeManual: a, onChangeAuto: i, className: c = "" } = e, u = Se(null), d = Se(!1), [o, l] = se(null), [v, m] = se(r ? "manual" : "auto"), [_, x] = se(""), [b, P] = se(!1), { width: g = 0, height: W = 0 } = Ue({ ref: u, box: "border-box" }), $ = v === "auto" ? n ? "auto-generated" : "auto-loading" : _ ? "manual-drawn" : r ? "manual-stored" : "manual-blank", k = n !== "" || b, f = r || _, X = re(
1068
1068
  (U) => {
1069
- !i || !g || !W || !U || i.fromDataURL(U, {
1069
+ !o || !g || !W || !U || o.fromDataURL(U, {
1070
1070
  width: +g.toFixed(),
1071
1071
  height: +W.toFixed()
1072
1072
  });
1073
1073
  },
1074
- [i, g, W]
1074
+ [o, g, W]
1075
1075
  ), ne = re(() => {
1076
- if (!i) return;
1077
- const U = i.getCanvas().toDataURL("image/png");
1076
+ if (!o) return;
1077
+ const U = o.getCanvas().toDataURL("image/png");
1078
1078
  x(U), a(U);
1079
- }, [i, a]), Q = re(() => {
1080
- i && (i.clear(), x(""), a(""));
1081
- }, [i, a]), O = re(() => {
1079
+ }, [o, a]), Q = re(() => {
1080
+ o && (o.clear(), x(""), a(""));
1081
+ }, [o, a]), O = re(() => {
1082
1082
  m("auto"), x("");
1083
1083
  }, []), S = re(() => {
1084
1084
  m("manual");
@@ -1096,19 +1096,19 @@ const ft = /* @__PURE__ */ Ne(lt), dt = "_Signature_4mfzi_1", ht = "_SignatureMa
1096
1096
  }
1097
1097
  d.current || (d.current = !0, t().then((U) => {
1098
1098
  const Y = `data:image/png;base64,${U.signature}`;
1099
- P(!1), o(Y);
1099
+ P(!1), i(Y);
1100
1100
  }).catch(() => {
1101
1101
  P(!0);
1102
1102
  }));
1103
- }, [n, t, o]);
1103
+ }, [n, t, i]);
1104
1104
  const G = re(() => {
1105
1105
  P(!1), d.current = !0, t().then((U) => {
1106
1106
  const Y = `data:image/png;base64,${U.signature}`;
1107
- P(!1), o(Y);
1107
+ P(!1), i(Y);
1108
1108
  }).catch(() => {
1109
1109
  P(!0);
1110
1110
  });
1111
- }, [t, o]);
1111
+ }, [t, i]);
1112
1112
  return /* @__PURE__ */ ee("div", { className: Ee(V.Signature, c), children: [
1113
1113
  /* @__PURE__ */ ee(
1114
1114
  "div",
@@ -1119,18 +1119,18 @@ const ft = /* @__PURE__ */ Ne(lt), dt = "_Signature_4mfzi_1", ht = "_SignatureMa
1119
1119
  ),
1120
1120
  ref: u,
1121
1121
  children: [
1122
- /* @__PURE__ */ ee(ie, { direction: "row", justify: y(["manual-drawn"]) ? "end" : "center", className: V.SignatureHeader, children: [
1123
- /* @__PURE__ */ ee(he.Tag, { tag: "h6", weight: "medium", size: "regular", color: "primary", align: "center", children: [
1122
+ /* @__PURE__ */ ee(oe, { direction: "row", justify: y(["manual-drawn"]) ? "end" : "center", className: V.SignatureHeader, children: [
1123
+ /* @__PURE__ */ ee(he, { tag: "h6", weight: "medium", align: "center", children: [
1124
1124
  /* @__PURE__ */ j(te, { name: "generated-signature", condition: y(["auto-generated", "auto-loading"]), children: "Wir haben eine digitale Signature Sie generiert." }),
1125
1125
  /* @__PURE__ */ j(te, { name: "create-signature", condition: y(["manual-blank", "manual-stored"]), children: "Ihre Signatur:" })
1126
1126
  ] }),
1127
1127
  /* @__PURE__ */ j(Xe, { name: "reset", direction: "rtl", condition: y(["manual-drawn"]), children: /* @__PURE__ */ j("div", { className: V.SignatureHeaderReset, children: /* @__PURE__ */ j(ue, { blurAfterClick: !0, underlined: !0, icon: /* @__PURE__ */ j(Ye, {}), onClick: Q, children: "Neu starten" }) }) })
1128
1128
  ] }),
1129
- /* @__PURE__ */ j(ie, { direction: "row", align: "end", justify: "center", children: y(["auto-generated", "auto-loading"]) ? /* @__PURE__ */ ee(ie, { direction: "column", align: "center", justify: "start", children: [
1129
+ /* @__PURE__ */ j(oe, { direction: "row", align: "end", justify: "center", children: y(["auto-generated", "auto-loading"]) ? /* @__PURE__ */ ee(oe, { direction: "column", align: "center", justify: "start", children: [
1130
1130
  /* @__PURE__ */ j(te, { name: "signature", condition: n !== "", children: /* @__PURE__ */ j("img", { className: V.SignatureAutoPanelImage, src: n, alt: "signature" }) }),
1131
1131
  /* @__PURE__ */ j(te, { name: "signature", condition: n === "" && !b, children: /* @__PURE__ */ j("div", { className: V.SignatureAutoPanelLoader, style: { height: 142 }, children: /* @__PURE__ */ j(Je, { size: "sm", color: "accent-primary" }) }) }),
1132
- /* @__PURE__ */ j(te, { name: "auto-failed", condition: n === "" && b, children: /* @__PURE__ */ ee(ie, { direction: "column", align: "center", justify: "center", style: { height: 78 }, gap: "xs", children: [
1133
- /* @__PURE__ */ j(he.Tag, { weight: "regular", size: "small", color: "secondary", children: "Automatische Signatur konnte nicht geladen werden." }),
1132
+ /* @__PURE__ */ j(te, { name: "auto-failed", condition: n === "" && b, children: /* @__PURE__ */ ee(oe, { direction: "column", align: "center", justify: "center", style: { height: 78 }, gap: "xs", children: [
1133
+ /* @__PURE__ */ j(he, { tag: "span", size: "body-small", color: "text-secondary", children: "Automatische Signatur konnte nicht geladen werden." }),
1134
1134
  /* @__PURE__ */ j(
1135
1135
  ue,
1136
1136
  {
@@ -1144,9 +1144,9 @@ const ft = /* @__PURE__ */ Ne(lt), dt = "_Signature_4mfzi_1", ht = "_SignatureMa
1144
1144
  }
1145
1145
  )
1146
1146
  ] }) }),
1147
- /* @__PURE__ */ j(te, { name: "auto-note", condition: n !== "", children: /* @__PURE__ */ ee(ie, { direction: "row", align: "center", justify: "center", gap: "xxs", mt: "xs", children: [
1147
+ /* @__PURE__ */ j(te, { name: "auto-note", condition: n !== "", children: /* @__PURE__ */ ee(oe, { direction: "row", align: "center", justify: "center", gap: "xxs", mt: "xs", children: [
1148
1148
  /* @__PURE__ */ j(Ve, { size: 24, className: V.SignatureAutoPanelNoteIcon }),
1149
- /* @__PURE__ */ j(he.Tag, { weight: "regular", size: "small", color: "secondary", children: "Diese Unterschrift ist ausreichend" })
1149
+ /* @__PURE__ */ j(he, { tag: "span", size: "body-small", color: "text-secondary", children: "Diese Unterschrift ist ausreichend" })
1150
1150
  ] }) }),
1151
1151
  /* @__PURE__ */ j(te, { name: "manual-switch", condition: k, children: /* @__PURE__ */ j("div", { className: V.SignatureAutoPanelButton, children: /* @__PURE__ */ j(ue, { blurAfterClick: !0, underlined: !0, onClick: S, children: "per Hand/Maus unterschreiben" }) }) })
1152
1152
  ] }) : /* @__PURE__ */ ee("div", { className: V.SignatureManualPanel, children: [
@@ -1178,7 +1178,7 @@ const ft = /* @__PURE__ */ Ne(lt), dt = "_Signature_4mfzi_1", ht = "_SignatureMa
1178
1178
  ]
1179
1179
  }
1180
1180
  ),
1181
- /* @__PURE__ */ j(te, { name: "footer", condition: y(["manual-blank", "manual-drawn"]), children: /* @__PURE__ */ ee(ie, { direction: "row", grow: "equal", align: "center", justify: "space-between", gap: "md", mt: "md", children: [
1181
+ /* @__PURE__ */ j(te, { name: "footer", condition: y(["manual-blank", "manual-drawn"]), children: /* @__PURE__ */ ee(oe, { direction: "row", grow: "equal", align: "center", justify: "space-between", gap: "md", mt: "md", children: [
1182
1182
  /* @__PURE__ */ j(Te, { fullWidth: !0, blurAfterClick: !0, color: "tertiary", onClick: O, children: "Abbrechen" }),
1183
1183
  /* @__PURE__ */ j(Te, { fullWidth: !0, blurAfterClick: !0, color: "primary", disabled: !_, onClick: F, children: "Speichern" })
1184
1184
  ] }) })