alex-evo-sh-ui-kit 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import './index.css';
2
- import xe, { useState as C, useCallback as R, useEffect as A, forwardRef as nn, createElement as we, useRef as J } from "react";
3
- var Ee = { exports: {} }, re = {};
2
+ import xe, { useState as N, useCallback as R, useEffect as A, forwardRef as rn, createElement as Te, useRef as z } from "react";
3
+ var Re = { exports: {} }, re = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.min.js
@@ -10,21 +10,21 @@ var Ee = { exports: {} }, re = {};
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
- var Ge;
14
- function Pn() {
15
- if (Ge)
13
+ var Ze;
14
+ function Fn() {
15
+ if (Ze)
16
16
  return re;
17
- Ge = 1;
18
- var n = xe, r = Symbol.for("react.element"), s = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, l = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
19
- function u(c, i, h) {
20
- var f, v = {}, m = null, b = null;
21
- h !== void 0 && (m = "" + h), i.key !== void 0 && (m = "" + i.key), i.ref !== void 0 && (b = i.ref);
22
- for (f in i)
23
- a.call(i, f) && !o.hasOwnProperty(f) && (v[f] = i[f]);
24
- if (c && c.defaultProps)
25
- for (f in i = c.defaultProps, i)
26
- v[f] === void 0 && (v[f] = i[f]);
27
- return { $$typeof: r, type: c, key: m, ref: b, props: v, _owner: l.current };
17
+ Ze = 1;
18
+ var n = xe, r = Symbol.for("react.element"), s = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
19
+ function u(l, i, h) {
20
+ var d, x = {}, j = null, y = null;
21
+ h !== void 0 && (j = "" + h), i.key !== void 0 && (j = "" + i.key), i.ref !== void 0 && (y = i.ref);
22
+ for (d in i)
23
+ a.call(i, d) && !o.hasOwnProperty(d) && (x[d] = i[d]);
24
+ if (l && l.defaultProps)
25
+ for (d in i = l.defaultProps, i)
26
+ x[d] === void 0 && (x[d] = i[d]);
27
+ return { $$typeof: r, type: l, key: j, ref: y, props: x, _owner: c.current };
28
28
  }
29
29
  return re.Fragment = s, re.jsx = u, re.jsxs = u, re;
30
30
  }
@@ -38,54 +38,54 @@ var se = {};
38
38
  * This source code is licensed under the MIT license found in the
39
39
  * LICENSE file in the root directory of this source tree.
40
40
  */
41
- var He;
42
- function $n() {
43
- return He || (He = 1, process.env.NODE_ENV !== "production" && function() {
44
- var n = xe, r = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), c = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), k = Symbol.iterator, w = "@@iterator";
41
+ var Qe;
42
+ function In() {
43
+ return Qe || (Qe = 1, process.env.NODE_ENV !== "production" && function() {
44
+ var n = xe, r = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), l = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), g = Symbol.iterator, w = "@@iterator";
45
45
  function S(t) {
46
46
  if (t === null || typeof t != "object")
47
47
  return null;
48
- var d = k && t[k] || t[w];
49
- return typeof d == "function" ? d : null;
48
+ var f = g && t[g] || t[w];
49
+ return typeof f == "function" ? f : null;
50
50
  }
51
51
  var D = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
52
  function E(t) {
53
53
  {
54
- for (var d = arguments.length, x = new Array(d > 1 ? d - 1 : 0), p = 1; p < d; p++)
55
- x[p - 1] = arguments[p];
56
- B("error", t, x);
54
+ for (var f = arguments.length, m = new Array(f > 1 ? f - 1 : 0), p = 1; p < f; p++)
55
+ m[p - 1] = arguments[p];
56
+ Y("error", t, m);
57
57
  }
58
58
  }
59
- function B(t, d, x) {
59
+ function Y(t, f, m) {
60
60
  {
61
- var p = D.ReactDebugCurrentFrame, N = p.getStackAddendum();
62
- N !== "" && (d += "%s", x = x.concat([N]));
63
- var T = x.map(function(g) {
64
- return String(g);
61
+ var p = D.ReactDebugCurrentFrame, C = p.getStackAddendum();
62
+ C !== "" && (f += "%s", m = m.concat([C]));
63
+ var T = m.map(function(k) {
64
+ return String(k);
65
65
  });
66
- T.unshift("Warning: " + d), Function.prototype.apply.call(console[t], console, T);
66
+ T.unshift("Warning: " + f), Function.prototype.apply.call(console[t], console, T);
67
67
  }
68
68
  }
69
- var j = !1, _ = !1, W = !1, z = !1, Q = !1, G;
70
- G = Symbol.for("react.module.reference");
69
+ var v = !1, _ = !1, W = !1, U = !1, Q = !1, H;
70
+ H = Symbol.for("react.module.reference");
71
71
  function ie(t) {
72
- return !!(typeof t == "string" || typeof t == "function" || t === a || t === o || Q || t === l || t === h || t === f || z || t === b || j || _ || W || typeof t == "object" && t !== null && (t.$$typeof === m || t.$$typeof === v || t.$$typeof === u || t.$$typeof === c || t.$$typeof === i || // This needs to include all possible module reference object
72
+ return !!(typeof t == "string" || typeof t == "function" || t === a || t === o || Q || t === c || t === h || t === d || U || t === y || v || _ || W || typeof t == "object" && t !== null && (t.$$typeof === j || t.$$typeof === x || t.$$typeof === u || t.$$typeof === l || t.$$typeof === i || // This needs to include all possible module reference object
73
73
  // types supported by any Flight configuration anywhere since
74
74
  // we don't know which Flight build this will end up being used
75
75
  // with.
76
- t.$$typeof === G || t.getModuleId !== void 0));
76
+ t.$$typeof === H || t.getModuleId !== void 0));
77
77
  }
78
- function K(t, d, x) {
78
+ function K(t, f, m) {
79
79
  var p = t.displayName;
80
80
  if (p)
81
81
  return p;
82
- var N = d.displayName || d.name || "";
83
- return N !== "" ? x + "(" + N + ")" : x;
82
+ var C = f.displayName || f.name || "";
83
+ return C !== "" ? m + "(" + C + ")" : m;
84
84
  }
85
- function Te(t) {
85
+ function _e(t) {
86
86
  return t.displayName || "Context";
87
87
  }
88
- function L(t) {
88
+ function V(t) {
89
89
  if (t == null)
90
90
  return null;
91
91
  if (typeof t.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
@@ -99,30 +99,30 @@ function $n() {
99
99
  return "Portal";
100
100
  case o:
101
101
  return "Profiler";
102
- case l:
102
+ case c:
103
103
  return "StrictMode";
104
104
  case h:
105
105
  return "Suspense";
106
- case f:
106
+ case d:
107
107
  return "SuspenseList";
108
108
  }
109
109
  if (typeof t == "object")
110
110
  switch (t.$$typeof) {
111
- case c:
112
- var d = t;
113
- return Te(d) + ".Consumer";
111
+ case l:
112
+ var f = t;
113
+ return _e(f) + ".Consumer";
114
114
  case u:
115
- var x = t;
116
- return Te(x._context) + ".Provider";
115
+ var m = t;
116
+ return _e(m._context) + ".Provider";
117
117
  case i:
118
118
  return K(t, t.render, "ForwardRef");
119
- case v:
119
+ case x:
120
120
  var p = t.displayName || null;
121
- return p !== null ? p : L(t.type) || "Memo";
122
- case m: {
123
- var N = t, T = N._payload, g = N._init;
121
+ return p !== null ? p : V(t.type) || "Memo";
122
+ case j: {
123
+ var C = t, T = C._payload, k = C._init;
124
124
  try {
125
- return L(g(T));
125
+ return V(k(T));
126
126
  } catch {
127
127
  return null;
128
128
  }
@@ -130,18 +130,18 @@ function $n() {
130
130
  }
131
131
  return null;
132
132
  }
133
- var q = Object.assign, ee = 0, Re, _e, Se, Oe, De, Me, Pe;
134
- function $e() {
133
+ var X = Object.assign, ee = 0, Se, Oe, De, Me, Pe, Ae, $e;
134
+ function Fe() {
135
135
  }
136
- $e.__reactDisabledLog = !0;
137
- function cn() {
136
+ Fe.__reactDisabledLog = !0;
137
+ function un() {
138
138
  {
139
139
  if (ee === 0) {
140
- Re = console.log, _e = console.info, Se = console.warn, Oe = console.error, De = console.group, Me = console.groupCollapsed, Pe = console.groupEnd;
140
+ Se = console.log, Oe = console.info, De = console.warn, Me = console.error, Pe = console.group, Ae = console.groupCollapsed, $e = console.groupEnd;
141
141
  var t = {
142
142
  configurable: !0,
143
143
  enumerable: !0,
144
- value: $e,
144
+ value: Fe,
145
145
  writable: !0
146
146
  };
147
147
  Object.defineProperties(console, {
@@ -157,7 +157,7 @@ function $n() {
157
157
  ee++;
158
158
  }
159
159
  }
160
- function ln() {
160
+ function dn() {
161
161
  {
162
162
  if (ee--, ee === 0) {
163
163
  var t = {
@@ -166,26 +166,26 @@ function $n() {
166
166
  writable: !0
167
167
  };
168
168
  Object.defineProperties(console, {
169
- log: q({}, t, {
170
- value: Re
171
- }),
172
- info: q({}, t, {
173
- value: _e
174
- }),
175
- warn: q({}, t, {
169
+ log: X({}, t, {
176
170
  value: Se
177
171
  }),
178
- error: q({}, t, {
172
+ info: X({}, t, {
179
173
  value: Oe
180
174
  }),
181
- group: q({}, t, {
175
+ warn: X({}, t, {
182
176
  value: De
183
177
  }),
184
- groupCollapsed: q({}, t, {
178
+ error: X({}, t, {
185
179
  value: Me
186
180
  }),
187
- groupEnd: q({}, t, {
181
+ group: X({}, t, {
188
182
  value: Pe
183
+ }),
184
+ groupCollapsed: X({}, t, {
185
+ value: Ae
186
+ }),
187
+ groupEnd: X({}, t, {
188
+ value: $e
189
189
  })
190
190
  });
191
191
  }
@@ -193,61 +193,61 @@ function $n() {
193
193
  }
194
194
  }
195
195
  var je = D.ReactCurrentDispatcher, ve;
196
- function le(t, d, x) {
196
+ function oe(t, f, m) {
197
197
  {
198
198
  if (ve === void 0)
199
199
  try {
200
200
  throw Error();
201
- } catch (N) {
202
- var p = N.stack.trim().match(/\n( *(at )?)/);
201
+ } catch (C) {
202
+ var p = C.stack.trim().match(/\n( *(at )?)/);
203
203
  ve = p && p[1] || "";
204
204
  }
205
205
  return `
206
206
  ` + ve + t;
207
207
  }
208
208
  }
209
- var pe = !1, oe;
209
+ var pe = !1, ue;
210
210
  {
211
- var on = typeof WeakMap == "function" ? WeakMap : Map;
212
- oe = new on();
211
+ var fn = typeof WeakMap == "function" ? WeakMap : Map;
212
+ ue = new fn();
213
213
  }
214
- function Ae(t, d) {
214
+ function Ie(t, f) {
215
215
  if (!t || pe)
216
216
  return "";
217
217
  {
218
- var x = oe.get(t);
219
- if (x !== void 0)
220
- return x;
218
+ var m = ue.get(t);
219
+ if (m !== void 0)
220
+ return m;
221
221
  }
222
222
  var p;
223
223
  pe = !0;
224
- var N = Error.prepareStackTrace;
224
+ var C = Error.prepareStackTrace;
225
225
  Error.prepareStackTrace = void 0;
226
226
  var T;
227
- T = je.current, je.current = null, cn();
227
+ T = je.current, je.current = null, un();
228
228
  try {
229
- if (d) {
230
- var g = function() {
229
+ if (f) {
230
+ var k = function() {
231
231
  throw Error();
232
232
  };
233
- if (Object.defineProperty(g.prototype, "props", {
233
+ if (Object.defineProperty(k.prototype, "props", {
234
234
  set: function() {
235
235
  throw Error();
236
236
  }
237
237
  }), typeof Reflect == "object" && Reflect.construct) {
238
238
  try {
239
- Reflect.construct(g, []);
239
+ Reflect.construct(k, []);
240
240
  } catch (F) {
241
241
  p = F;
242
242
  }
243
- Reflect.construct(t, [], g);
243
+ Reflect.construct(t, [], k);
244
244
  } else {
245
245
  try {
246
- g.call();
246
+ k.call();
247
247
  } catch (F) {
248
248
  p = F;
249
249
  }
250
- t.call(g.prototype);
250
+ t.call(k.prototype);
251
251
  }
252
252
  } else {
253
253
  try {
@@ -259,231 +259,231 @@ function $n() {
259
259
  }
260
260
  } catch (F) {
261
261
  if (F && p && typeof F.stack == "string") {
262
- for (var y = F.stack.split(`
262
+ for (var b = F.stack.split(`
263
263
  `), $ = p.stack.split(`
264
- `), O = y.length - 1, M = $.length - 1; O >= 1 && M >= 0 && y[O] !== $[M]; )
264
+ `), O = b.length - 1, M = $.length - 1; O >= 1 && M >= 0 && b[O] !== $[M]; )
265
265
  M--;
266
266
  for (; O >= 1 && M >= 0; O--, M--)
267
- if (y[O] !== $[M]) {
267
+ if (b[O] !== $[M]) {
268
268
  if (O !== 1 || M !== 1)
269
269
  do
270
- if (O--, M--, M < 0 || y[O] !== $[M]) {
270
+ if (O--, M--, M < 0 || b[O] !== $[M]) {
271
271
  var I = `
272
- ` + y[O].replace(" at new ", " at ");
273
- return t.displayName && I.includes("<anonymous>") && (I = I.replace("<anonymous>", t.displayName)), typeof t == "function" && oe.set(t, I), I;
272
+ ` + b[O].replace(" at new ", " at ");
273
+ return t.displayName && I.includes("<anonymous>") && (I = I.replace("<anonymous>", t.displayName)), typeof t == "function" && ue.set(t, I), I;
274
274
  }
275
275
  while (O >= 1 && M >= 0);
276
276
  break;
277
277
  }
278
278
  }
279
279
  } finally {
280
- pe = !1, je.current = T, ln(), Error.prepareStackTrace = N;
280
+ pe = !1, je.current = T, dn(), Error.prepareStackTrace = C;
281
281
  }
282
- var Z = t ? t.displayName || t.name : "", X = Z ? le(Z) : "";
283
- return typeof t == "function" && oe.set(t, X), X;
282
+ var Z = t ? t.displayName || t.name : "", q = Z ? oe(Z) : "";
283
+ return typeof t == "function" && ue.set(t, q), q;
284
284
  }
285
- function un(t, d, x) {
286
- return Ae(t, !1);
285
+ function hn(t, f, m) {
286
+ return Ie(t, !1);
287
287
  }
288
- function dn(t) {
289
- var d = t.prototype;
290
- return !!(d && d.isReactComponent);
288
+ function xn(t) {
289
+ var f = t.prototype;
290
+ return !!(f && f.isReactComponent);
291
291
  }
292
- function ue(t, d, x) {
292
+ function de(t, f, m) {
293
293
  if (t == null)
294
294
  return "";
295
295
  if (typeof t == "function")
296
- return Ae(t, dn(t));
296
+ return Ie(t, xn(t));
297
297
  if (typeof t == "string")
298
- return le(t);
298
+ return oe(t);
299
299
  switch (t) {
300
300
  case h:
301
- return le("Suspense");
302
- case f:
303
- return le("SuspenseList");
301
+ return oe("Suspense");
302
+ case d:
303
+ return oe("SuspenseList");
304
304
  }
305
305
  if (typeof t == "object")
306
306
  switch (t.$$typeof) {
307
307
  case i:
308
- return un(t.render);
309
- case v:
310
- return ue(t.type, d, x);
311
- case m: {
312
- var p = t, N = p._payload, T = p._init;
308
+ return hn(t.render);
309
+ case x:
310
+ return de(t.type, f, m);
311
+ case j: {
312
+ var p = t, C = p._payload, T = p._init;
313
313
  try {
314
- return ue(T(N), d, x);
314
+ return de(T(C), f, m);
315
315
  } catch {
316
316
  }
317
317
  }
318
318
  }
319
319
  return "";
320
320
  }
321
- var ne = Object.prototype.hasOwnProperty, Fe = {}, Ie = D.ReactDebugCurrentFrame;
322
- function de(t) {
321
+ var ne = Object.prototype.hasOwnProperty, Be = {}, Ye = D.ReactDebugCurrentFrame;
322
+ function fe(t) {
323
323
  if (t) {
324
- var d = t._owner, x = ue(t.type, t._source, d ? d.type : null);
325
- Ie.setExtraStackFrame(x);
324
+ var f = t._owner, m = de(t.type, t._source, f ? f.type : null);
325
+ Ye.setExtraStackFrame(m);
326
326
  } else
327
- Ie.setExtraStackFrame(null);
327
+ Ye.setExtraStackFrame(null);
328
328
  }
329
- function fn(t, d, x, p, N) {
329
+ function mn(t, f, m, p, C) {
330
330
  {
331
331
  var T = Function.call.bind(ne);
332
- for (var g in t)
333
- if (T(t, g)) {
334
- var y = void 0;
332
+ for (var k in t)
333
+ if (T(t, k)) {
334
+ var b = void 0;
335
335
  try {
336
- if (typeof t[g] != "function") {
337
- var $ = Error((p || "React class") + ": " + x + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
336
+ if (typeof t[k] != "function") {
337
+ var $ = Error((p || "React class") + ": " + m + " type `" + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[k] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
338
  throw $.name = "Invariant Violation", $;
339
339
  }
340
- y = t[g](d, g, p, x, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
+ b = t[k](f, k, p, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
341
  } catch (O) {
342
- y = O;
342
+ b = O;
343
343
  }
344
- y && !(y instanceof Error) && (de(N), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", x, g, typeof y), de(null)), y instanceof Error && !(y.message in Fe) && (Fe[y.message] = !0, de(N), E("Failed %s type: %s", x, y.message), de(null));
344
+ b && !(b instanceof Error) && (fe(C), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", m, k, typeof b), fe(null)), b instanceof Error && !(b.message in Be) && (Be[b.message] = !0, fe(C), E("Failed %s type: %s", m, b.message), fe(null));
345
345
  }
346
346
  }
347
347
  }
348
- var hn = Array.isArray;
348
+ var jn = Array.isArray;
349
349
  function ye(t) {
350
- return hn(t);
350
+ return jn(t);
351
351
  }
352
- function xn(t) {
352
+ function vn(t) {
353
353
  {
354
- var d = typeof Symbol == "function" && Symbol.toStringTag, x = d && t[Symbol.toStringTag] || t.constructor.name || "Object";
355
- return x;
354
+ var f = typeof Symbol == "function" && Symbol.toStringTag, m = f && t[Symbol.toStringTag] || t.constructor.name || "Object";
355
+ return m;
356
356
  }
357
357
  }
358
- function mn(t) {
358
+ function pn(t) {
359
359
  try {
360
- return Ye(t), !1;
360
+ return We(t), !1;
361
361
  } catch {
362
362
  return !0;
363
363
  }
364
364
  }
365
- function Ye(t) {
365
+ function We(t) {
366
366
  return "" + t;
367
367
  }
368
- function Be(t) {
369
- if (mn(t))
370
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", xn(t)), Ye(t);
368
+ function Ve(t) {
369
+ if (pn(t))
370
+ return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", vn(t)), We(t);
371
371
  }
372
- var te = D.ReactCurrentOwner, jn = {
372
+ var te = D.ReactCurrentOwner, yn = {
373
373
  key: !0,
374
374
  ref: !0,
375
375
  __self: !0,
376
376
  __source: !0
377
- }, We, Le, ge;
377
+ }, Le, ze, ge;
378
378
  ge = {};
379
- function vn(t) {
379
+ function gn(t) {
380
380
  if (ne.call(t, "ref")) {
381
- var d = Object.getOwnPropertyDescriptor(t, "ref").get;
382
- if (d && d.isReactWarning)
381
+ var f = Object.getOwnPropertyDescriptor(t, "ref").get;
382
+ if (f && f.isReactWarning)
383
383
  return !1;
384
384
  }
385
385
  return t.ref !== void 0;
386
386
  }
387
- function pn(t) {
387
+ function bn(t) {
388
388
  if (ne.call(t, "key")) {
389
- var d = Object.getOwnPropertyDescriptor(t, "key").get;
390
- if (d && d.isReactWarning)
389
+ var f = Object.getOwnPropertyDescriptor(t, "key").get;
390
+ if (f && f.isReactWarning)
391
391
  return !1;
392
392
  }
393
393
  return t.key !== void 0;
394
394
  }
395
- function yn(t, d) {
396
- if (typeof t.ref == "string" && te.current && d && te.current.stateNode !== d) {
397
- var x = L(te.current.type);
398
- ge[x] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', L(te.current.type), t.ref), ge[x] = !0);
395
+ function kn(t, f) {
396
+ if (typeof t.ref == "string" && te.current && f && te.current.stateNode !== f) {
397
+ var m = V(te.current.type);
398
+ ge[m] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(te.current.type), t.ref), ge[m] = !0);
399
399
  }
400
400
  }
401
- function gn(t, d) {
401
+ function Nn(t, f) {
402
402
  {
403
- var x = function() {
404
- We || (We = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
403
+ var m = function() {
404
+ Le || (Le = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", f));
405
405
  };
406
- x.isReactWarning = !0, Object.defineProperty(t, "key", {
407
- get: x,
406
+ m.isReactWarning = !0, Object.defineProperty(t, "key", {
407
+ get: m,
408
408
  configurable: !0
409
409
  });
410
410
  }
411
411
  }
412
- function bn(t, d) {
412
+ function Cn(t, f) {
413
413
  {
414
- var x = function() {
415
- Le || (Le = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
414
+ var m = function() {
415
+ ze || (ze = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", f));
416
416
  };
417
- x.isReactWarning = !0, Object.defineProperty(t, "ref", {
418
- get: x,
417
+ m.isReactWarning = !0, Object.defineProperty(t, "ref", {
418
+ get: m,
419
419
  configurable: !0
420
420
  });
421
421
  }
422
422
  }
423
- var kn = function(t, d, x, p, N, T, g) {
424
- var y = {
423
+ var wn = function(t, f, m, p, C, T, k) {
424
+ var b = {
425
425
  // This tag allows us to uniquely identify this as a React Element
426
426
  $$typeof: r,
427
427
  // Built-in properties that belong on the element
428
428
  type: t,
429
- key: d,
430
- ref: x,
431
- props: g,
429
+ key: f,
430
+ ref: m,
431
+ props: k,
432
432
  // Record the component responsible for creating this element.
433
433
  _owner: T
434
434
  };
435
- return y._store = {}, Object.defineProperty(y._store, "validated", {
435
+ return b._store = {}, Object.defineProperty(b._store, "validated", {
436
436
  configurable: !1,
437
437
  enumerable: !1,
438
438
  writable: !0,
439
439
  value: !1
440
- }), Object.defineProperty(y, "_self", {
440
+ }), Object.defineProperty(b, "_self", {
441
441
  configurable: !1,
442
442
  enumerable: !1,
443
443
  writable: !1,
444
444
  value: p
445
- }), Object.defineProperty(y, "_source", {
445
+ }), Object.defineProperty(b, "_source", {
446
446
  configurable: !1,
447
447
  enumerable: !1,
448
448
  writable: !1,
449
- value: N
450
- }), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
449
+ value: C
450
+ }), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
451
451
  };
452
- function Nn(t, d, x, p, N) {
452
+ function En(t, f, m, p, C) {
453
453
  {
454
- var T, g = {}, y = null, $ = null;
455
- x !== void 0 && (Be(x), y = "" + x), pn(d) && (Be(d.key), y = "" + d.key), vn(d) && ($ = d.ref, yn(d, N));
456
- for (T in d)
457
- ne.call(d, T) && !jn.hasOwnProperty(T) && (g[T] = d[T]);
454
+ var T, k = {}, b = null, $ = null;
455
+ m !== void 0 && (Ve(m), b = "" + m), bn(f) && (Ve(f.key), b = "" + f.key), gn(f) && ($ = f.ref, kn(f, C));
456
+ for (T in f)
457
+ ne.call(f, T) && !yn.hasOwnProperty(T) && (k[T] = f[T]);
458
458
  if (t && t.defaultProps) {
459
459
  var O = t.defaultProps;
460
460
  for (T in O)
461
- g[T] === void 0 && (g[T] = O[T]);
461
+ k[T] === void 0 && (k[T] = O[T]);
462
462
  }
463
- if (y || $) {
463
+ if (b || $) {
464
464
  var M = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
465
- y && gn(g, M), $ && bn(g, M);
465
+ b && Nn(k, M), $ && Cn(k, M);
466
466
  }
467
- return kn(t, y, $, N, p, te.current, g);
467
+ return wn(t, b, $, C, p, te.current, k);
468
468
  }
469
469
  }
470
- var be = D.ReactCurrentOwner, Ve = D.ReactDebugCurrentFrame;
471
- function H(t) {
470
+ var be = D.ReactCurrentOwner, Ue = D.ReactDebugCurrentFrame;
471
+ function G(t) {
472
472
  if (t) {
473
- var d = t._owner, x = ue(t.type, t._source, d ? d.type : null);
474
- Ve.setExtraStackFrame(x);
473
+ var f = t._owner, m = de(t.type, t._source, f ? f.type : null);
474
+ Ue.setExtraStackFrame(m);
475
475
  } else
476
- Ve.setExtraStackFrame(null);
476
+ Ue.setExtraStackFrame(null);
477
477
  }
478
478
  var ke;
479
479
  ke = !1;
480
480
  function Ne(t) {
481
481
  return typeof t == "object" && t !== null && t.$$typeof === r;
482
482
  }
483
- function ze() {
483
+ function Ke() {
484
484
  {
485
485
  if (be.current) {
486
- var t = L(be.current.type);
486
+ var t = V(be.current.type);
487
487
  if (t)
488
488
  return `
489
489
 
@@ -492,229 +492,229 @@ Check the render method of \`` + t + "`.";
492
492
  return "";
493
493
  }
494
494
  }
495
- function Cn(t) {
495
+ function Tn(t) {
496
496
  return "";
497
497
  }
498
- var Ke = {};
499
- function wn(t) {
498
+ var Xe = {};
499
+ function Rn(t) {
500
500
  {
501
- var d = ze();
502
- if (!d) {
503
- var x = typeof t == "string" ? t : t.displayName || t.name;
504
- x && (d = `
501
+ var f = Ke();
502
+ if (!f) {
503
+ var m = typeof t == "string" ? t : t.displayName || t.name;
504
+ m && (f = `
505
505
 
506
- Check the top-level render call using <` + x + ">.");
506
+ Check the top-level render call using <` + m + ">.");
507
507
  }
508
- return d;
508
+ return f;
509
509
  }
510
510
  }
511
- function qe(t, d) {
511
+ function qe(t, f) {
512
512
  {
513
513
  if (!t._store || t._store.validated || t.key != null)
514
514
  return;
515
515
  t._store.validated = !0;
516
- var x = wn(d);
517
- if (Ke[x])
516
+ var m = Rn(f);
517
+ if (Xe[m])
518
518
  return;
519
- Ke[x] = !0;
519
+ Xe[m] = !0;
520
520
  var p = "";
521
- t && t._owner && t._owner !== be.current && (p = " It was passed a child from " + L(t._owner.type) + "."), H(t), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', x, p), H(null);
521
+ t && t._owner && t._owner !== be.current && (p = " It was passed a child from " + V(t._owner.type) + "."), G(t), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, p), G(null);
522
522
  }
523
523
  }
524
- function Xe(t, d) {
524
+ function Je(t, f) {
525
525
  {
526
526
  if (typeof t != "object")
527
527
  return;
528
528
  if (ye(t))
529
- for (var x = 0; x < t.length; x++) {
530
- var p = t[x];
531
- Ne(p) && qe(p, d);
529
+ for (var m = 0; m < t.length; m++) {
530
+ var p = t[m];
531
+ Ne(p) && qe(p, f);
532
532
  }
533
533
  else if (Ne(t))
534
534
  t._store && (t._store.validated = !0);
535
535
  else if (t) {
536
- var N = S(t);
537
- if (typeof N == "function" && N !== t.entries)
538
- for (var T = N.call(t), g; !(g = T.next()).done; )
539
- Ne(g.value) && qe(g.value, d);
536
+ var C = S(t);
537
+ if (typeof C == "function" && C !== t.entries)
538
+ for (var T = C.call(t), k; !(k = T.next()).done; )
539
+ Ne(k.value) && qe(k.value, f);
540
540
  }
541
541
  }
542
542
  }
543
- function En(t) {
543
+ function _n(t) {
544
544
  {
545
- var d = t.type;
546
- if (d == null || typeof d == "string")
545
+ var f = t.type;
546
+ if (f == null || typeof f == "string")
547
547
  return;
548
- var x;
549
- if (typeof d == "function")
550
- x = d.propTypes;
551
- else if (typeof d == "object" && (d.$$typeof === i || // Note: Memo only checks outer props here.
548
+ var m;
549
+ if (typeof f == "function")
550
+ m = f.propTypes;
551
+ else if (typeof f == "object" && (f.$$typeof === i || // Note: Memo only checks outer props here.
552
552
  // Inner props are checked in the reconciler.
553
- d.$$typeof === v))
554
- x = d.propTypes;
553
+ f.$$typeof === x))
554
+ m = f.propTypes;
555
555
  else
556
556
  return;
557
- if (x) {
558
- var p = L(d);
559
- fn(x, t.props, "prop", p, t);
560
- } else if (d.PropTypes !== void 0 && !ke) {
557
+ if (m) {
558
+ var p = V(f);
559
+ mn(m, t.props, "prop", p, t);
560
+ } else if (f.PropTypes !== void 0 && !ke) {
561
561
  ke = !0;
562
- var N = L(d);
563
- E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", N || "Unknown");
562
+ var C = V(f);
563
+ E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
564
564
  }
565
- typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
565
+ typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
566
566
  }
567
567
  }
568
- function Tn(t) {
568
+ function Sn(t) {
569
569
  {
570
- for (var d = Object.keys(t.props), x = 0; x < d.length; x++) {
571
- var p = d[x];
570
+ for (var f = Object.keys(t.props), m = 0; m < f.length; m++) {
571
+ var p = f[m];
572
572
  if (p !== "children" && p !== "key") {
573
- H(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), H(null);
573
+ G(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), G(null);
574
574
  break;
575
575
  }
576
576
  }
577
- t.ref !== null && (H(t), E("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
577
+ t.ref !== null && (G(t), E("Invalid attribute `ref` supplied to `React.Fragment`."), G(null));
578
578
  }
579
579
  }
580
- var Ue = {};
581
- function Je(t, d, x, p, N, T) {
580
+ var He = {};
581
+ function Ge(t, f, m, p, C, T) {
582
582
  {
583
- var g = ie(t);
584
- if (!g) {
585
- var y = "";
586
- (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
587
- var $ = Cn();
588
- $ ? y += $ : y += ze();
583
+ var k = ie(t);
584
+ if (!k) {
585
+ var b = "";
586
+ (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
587
+ var $ = Tn();
588
+ $ ? b += $ : b += Ke();
589
589
  var O;
590
- t === null ? O = "null" : ye(t) ? O = "array" : t !== void 0 && t.$$typeof === r ? (O = "<" + (L(t.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : O = typeof t, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, y);
590
+ t === null ? O = "null" : ye(t) ? O = "array" : t !== void 0 && t.$$typeof === r ? (O = "<" + (V(t.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : O = typeof t, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", O, b);
591
591
  }
592
- var M = Nn(t, d, x, N, T);
592
+ var M = En(t, f, m, C, T);
593
593
  if (M == null)
594
594
  return M;
595
- if (g) {
596
- var I = d.children;
595
+ if (k) {
596
+ var I = f.children;
597
597
  if (I !== void 0)
598
598
  if (p)
599
599
  if (ye(I)) {
600
600
  for (var Z = 0; Z < I.length; Z++)
601
- Xe(I[Z], t);
601
+ Je(I[Z], t);
602
602
  Object.freeze && Object.freeze(I);
603
603
  } else
604
604
  E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
605
605
  else
606
- Xe(I, t);
606
+ Je(I, t);
607
607
  }
608
- if (ne.call(d, "key")) {
609
- var X = L(t), F = Object.keys(d).filter(function(Mn) {
610
- return Mn !== "key";
608
+ if (ne.call(f, "key")) {
609
+ var q = V(t), F = Object.keys(f).filter(function($n) {
610
+ return $n !== "key";
611
611
  }), Ce = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
612
- if (!Ue[X + Ce]) {
613
- var Dn = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
612
+ if (!He[q + Ce]) {
613
+ var An = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
614
614
  E(`A props object containing a "key" prop is being spread into JSX:
615
615
  let props = %s;
616
616
  <%s {...props} />
617
617
  React keys must be passed directly to JSX without using spread:
618
618
  let props = %s;
619
- <%s key={someKey} {...props} />`, Ce, X, Dn, X), Ue[X + Ce] = !0;
619
+ <%s key={someKey} {...props} />`, Ce, q, An, q), He[q + Ce] = !0;
620
620
  }
621
621
  }
622
- return t === a ? Tn(M) : En(M), M;
622
+ return t === a ? Sn(M) : _n(M), M;
623
623
  }
624
624
  }
625
- function Rn(t, d, x) {
626
- return Je(t, d, x, !0);
625
+ function On(t, f, m) {
626
+ return Ge(t, f, m, !0);
627
627
  }
628
- function _n(t, d, x) {
629
- return Je(t, d, x, !1);
628
+ function Dn(t, f, m) {
629
+ return Ge(t, f, m, !1);
630
630
  }
631
- var Sn = _n, On = Rn;
632
- se.Fragment = a, se.jsx = Sn, se.jsxs = On;
631
+ var Mn = Dn, Pn = On;
632
+ se.Fragment = a, se.jsx = Mn, se.jsxs = Pn;
633
633
  }()), se;
634
634
  }
635
- process.env.NODE_ENV === "production" ? Ee.exports = Pn() : Ee.exports = $n();
636
- var e = Ee.exports;
637
- const An = (n) => ce({ ...n, className: (n.className ?? "") + " outline-button" }), P = (n) => ce({ ...n, className: (n.className ?? "") + " text-button" }), Fn = (n) => ce({ ...n, className: (n.className ?? "") + " total-button" }), In = (n) => ce({ ...n, className: (n.className ?? "") + " filled-button" }), ce = (n) => {
635
+ process.env.NODE_ENV === "production" ? Re.exports = Fn() : Re.exports = In();
636
+ var e = Re.exports;
637
+ const Bn = (n) => le({ ...n, className: (n.className ?? "") + " outline-button" }), P = (n) => le({ ...n, className: (n.className ?? "") + " text-button" }), Yn = (n) => le({ ...n, className: (n.className ?? "") + " total-button" }), Wn = (n) => le({ ...n, className: (n.className ?? "") + " filled-button" }), le = (n) => {
638
638
  const r = (s) => {
639
639
  n.onClick && n.onClick(s);
640
640
  let a = document.createElement("span");
641
641
  a.classList.add("btn-overlay");
642
- let l = s.pageX - s.currentTarget.offsetLeft, o = s.pageY - s.currentTarget.offsetTop;
643
- a.style.left = l + "px", a.style.top = o + "px", s.currentTarget.appendChild(a), setTimeout(() => {
642
+ let c = s.pageX - s.currentTarget.offsetLeft, o = s.pageY - s.currentTarget.offsetTop;
643
+ a.style.left = c + "px", a.style.top = o + "px", s.currentTarget.appendChild(a), setTimeout(() => {
644
644
  a.remove();
645
645
  }, 500);
646
646
  };
647
647
  return /* @__PURE__ */ e.jsx("button", { ...n, className: (n.className ?? "") + " btn", onClick: r, children: /* @__PURE__ */ e.jsx("span", { children: n.children }) });
648
- }, Yn = ({ styleType: n = "base", ...r }) => n === "outline" ? An({ ...r }) : n === "text" ? P({ ...r }) : n === "filledTotal" ? Fn({ ...r }) : n === "filled" ? In({ ...r }) : ce({ ...r }), Bn = ({ children: n, className: r, maxHeight: s, scroll: a, transparent: l }) => /* @__PURE__ */ e.jsx("ul", { style: { overflowY: s ? a ? "scroll" : "hidden" : void 0, maxHeight: s, backgroundColor: l ? "transparent" : void 0 }, className: `list-container ${r} ${a ? "scroll" : ""}`, children: n }), Wn = ({ icon: n, control: r, text: s, header: a, value: l, onClick: o, hovered: u, className: c }) => {
648
+ }, Vn = ({ styleType: n = "base", ...r }) => n === "outline" ? Bn({ ...r }) : n === "text" ? P({ ...r }) : n === "filledTotal" ? Yn({ ...r }) : n === "filled" ? Wn({ ...r }) : le({ ...r }), Ln = ({ children: n, className: r, maxHeight: s, scroll: a, transparent: c }) => /* @__PURE__ */ e.jsx("ul", { style: { overflowY: s ? a ? "scroll" : "hidden" : void 0, maxHeight: s, backgroundColor: c ? "transparent" : void 0 }, className: `list-container ${r} ${a ? "scroll" : ""}`, children: n }), zn = ({ icon: n, control: r, text: s, header: a, value: c, onClick: o, hovered: u, className: l }) => {
649
649
  const i = (h) => {
650
650
  h.target.closest(".control-container") || o && o(h);
651
651
  };
652
- return /* @__PURE__ */ e.jsxs("li", { className: ` ${c} list-item-container ${u ? "hovered" : ""}`, onClick: i, children: [
653
- n ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: n }) : l ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: l }) : null,
652
+ return /* @__PURE__ */ e.jsxs("li", { className: ` ${l} list-item-container ${u ? "hovered" : ""}`, onClick: i, children: [
653
+ n ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: n }) : c ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: c }) : null,
654
654
  s ? /* @__PURE__ */ e.jsxs("div", { className: "text-container", children: [
655
655
  /* @__PURE__ */ e.jsx("div", { className: "header", children: a }),
656
656
  /* @__PURE__ */ e.jsx("div", { className: "text", children: s })
657
657
  ] }) : /* @__PURE__ */ e.jsx("div", { className: "text-container", children: /* @__PURE__ */ e.jsx("div", { className: "header", children: a }) }),
658
658
  r ? /* @__PURE__ */ e.jsx("div", { className: "control-container", children: r }) : null
659
659
  ] });
660
- }, ae = ({ transparent: n, icon: r, className: s, onClick: a, onContextMenu: l, disabled: o, classNameContainer: u, style: c }) => {
660
+ }, ae = ({ transparent: n, icon: r, className: s, onClick: a, onContextMenu: c, disabled: o, classNameContainer: u, style: l }) => {
661
661
  const i = (h) => {
662
662
  a && a(h);
663
- let f = document.createElement("span");
664
- f.classList.add("btn-overlay");
665
- let v = h.pageX - h.currentTarget.offsetLeft, m = h.pageY - h.currentTarget.offsetTop;
666
- f.style.left = v + "px", f.style.top = m + "px", h.currentTarget.appendChild(f), setTimeout(() => {
667
- f.remove();
663
+ let d = document.createElement("span");
664
+ d.classList.add("btn-overlay");
665
+ let x = h.pageX - h.currentTarget.offsetLeft, j = h.pageY - h.currentTarget.offsetTop;
666
+ d.style.left = x + "px", d.style.top = j + "px", h.currentTarget.appendChild(d), setTimeout(() => {
667
+ d.remove();
668
668
  }, 500);
669
669
  };
670
- return /* @__PURE__ */ e.jsx("button", { style: { backgroundColor: n ? "transparent" : void 0, ...c }, className: `iconbutton ${s}`, onClick: i, onContextMenu: l, disabled: o, children: /* @__PURE__ */ e.jsx("div", { className: `${u} iconbutton-container`, children: r }) });
671
- }, Ct = ({ className: n, action: r, imgSrc: s, alt: a, header: l, subhead: o, text: u, children: c, iconButtonCell: i, onClick: h }) => {
672
- const f = (m) => !(m.target.className === "action-container" || m.target.closest(".action-container") || m.target.className === "icon-button-container" || m.target.closest(".icon-button-container")), v = (m) => {
673
- if (h && h(m), !f(m))
670
+ return /* @__PURE__ */ e.jsx("button", { style: { backgroundColor: n ? "transparent" : void 0, ...l }, className: `iconbutton ${s}`, onClick: i, onContextMenu: c, disabled: o, children: /* @__PURE__ */ e.jsx("div", { className: `${u} iconbutton-container`, children: r }) });
671
+ }, Rt = ({ className: n, action: r, imgSrc: s, alt: a, header: c, subhead: o, text: u, children: l, iconButtonCell: i, onClick: h }) => {
672
+ const d = (j) => !(j.target.className === "action-container" || j.target.closest(".action-container") || j.target.className === "icon-button-container" || j.target.closest(".icon-button-container")), x = (j) => {
673
+ if (h && h(j), !d(j))
674
674
  return;
675
- let b = m.currentTarget.closest(".card-container"), k = b == null ? void 0 : b.querySelector(".blick-container");
676
- if (!k)
675
+ let y = j.currentTarget.closest(".card-container"), g = y == null ? void 0 : y.querySelector(".blick-container");
676
+ if (!g)
677
677
  return;
678
678
  let w = document.createElement("span");
679
679
  w.classList.add("btn-overlay");
680
- let S = m.pageX - m.currentTarget.offsetLeft, D = m.pageY - m.currentTarget.offsetTop;
681
- w.style.left = S + "px", w.style.top = D + "px", k.appendChild(w), setTimeout(() => {
680
+ let S = j.pageX - j.currentTarget.offsetLeft, D = j.pageY - j.currentTarget.offsetTop;
681
+ w.style.left = S + "px", w.style.top = D + "px", g.appendChild(w), setTimeout(() => {
682
682
  w.remove();
683
683
  }, 500);
684
684
  };
685
- return /* @__PURE__ */ e.jsxs("div", { className: `card-container ${n}`, onClick: v, children: [
685
+ return /* @__PURE__ */ e.jsxs("div", { className: `card-container ${n}`, onClick: x, children: [
686
686
  /* @__PURE__ */ e.jsx("div", { className: "blick-container" }),
687
687
  s ? /* @__PURE__ */ e.jsx("div", { className: "card-img-container", children: /* @__PURE__ */ e.jsx("img", { src: s, alt: a }) }) : null,
688
688
  /* @__PURE__ */ e.jsxs("div", { className: "card-content-container", children: [
689
689
  /* @__PURE__ */ e.jsxs("div", { className: "card-Headline-container mb-1 font-bold", children: [
690
- /* @__PURE__ */ e.jsx("div", { className: "headline", children: /* @__PURE__ */ e.jsx("h2", { className: "text-3xl", children: l }) }),
690
+ /* @__PURE__ */ e.jsx("div", { className: "headline", children: /* @__PURE__ */ e.jsx("h2", { className: "text-3xl", children: c }) }),
691
691
  i ? /* @__PURE__ */ e.jsx("div", { className: "icon-button-container", children: i }) : null
692
692
  ] }),
693
693
  o ? /* @__PURE__ */ e.jsx("div", { className: "card-subhead-container mb-1", children: /* @__PURE__ */ e.jsx("div", { className: "subhead", children: /* @__PURE__ */ e.jsx("h3", { className: "text-xl", children: o }) }) }) : null,
694
694
  u ? /* @__PURE__ */ e.jsx("div", { className: "card-text-container mb-1", children: /* @__PURE__ */ e.jsx("div", { className: "text", children: /* @__PURE__ */ e.jsx("p", { className: "text-sm", children: u }) }) }) : null,
695
- c ? /* @__PURE__ */ e.jsx("div", { className: "card-child-container mb-2", children: c }) : null,
695
+ l ? /* @__PURE__ */ e.jsx("div", { className: "card-child-container mb-2", children: l }) : null,
696
696
  /* @__PURE__ */ e.jsx("div", { className: "action-container", children: r })
697
697
  ] })
698
698
  ] });
699
- }, Ln = ({ children: n, className: r }) => /* @__PURE__ */ e.jsx("div", { className: `base-action-card ${r ?? ""}`, children: n }), wt = ({ children: n, className: r, id: s, height: a, width: l, pozMove: o }) => {
700
- const [u, c] = C(!1), [i, h] = C(null), [f, v] = C({ x: 0, y: 0 }), m = (w) => {
701
- w.button == 1 && (c(!1), h(null), document.body.style.cursor = "auto");
702
- }, b = (w) => {
703
- w.button == 1 && (h({ x: w.clientX, y: w.clientY }), c(!0), document.body.style.cursor = "move");
704
- }, k = R((w) => {
705
- u && (v((S) => {
699
+ }, Un = ({ children: n, className: r }) => /* @__PURE__ */ e.jsx("div", { className: `base-action-card ${r ?? ""}`, children: n }), _t = ({ children: n, className: r, id: s, height: a, width: c, pozMove: o }) => {
700
+ const [u, l] = N(!1), [i, h] = N(null), [d, x] = N({ x: 0, y: 0 }), j = (w) => {
701
+ w.button == 1 && (l(!1), h(null), document.body.style.cursor = "auto");
702
+ }, y = (w) => {
703
+ w.button == 1 && (h({ x: w.clientX, y: w.clientY }), l(!0), document.body.style.cursor = "move");
704
+ }, g = R((w) => {
705
+ u && (x((S) => {
706
706
  if (!i)
707
707
  return S;
708
708
  const D = w.clientX - i.x, E = w.clientY - i.y;
709
- let B = S.x + D, j = S.y + E;
710
- return { x: B, y: j };
709
+ let Y = S.x + D, v = S.y + E;
710
+ return { x: Y, y: v };
711
711
  }), h({ x: w.clientX, y: w.clientY }));
712
712
  }, [u, i]);
713
713
  return A(() => {
714
- o && v({ ...o });
715
- }, [o]), /* @__PURE__ */ e.jsx("div", { id: s, style: { height: a, width: l }, className: `big-container ${r}`, onMouseDown: b, onMouseUp: m, onMouseMove: k, children: /* @__PURE__ */ e.jsx("div", { className: "big-container-content", style: { left: f.x, top: f.y }, children: n }) });
716
- }, Vn = (n) => {
717
- const [r, s] = C(!1), a = R(() => {
714
+ o && x({ ...o });
715
+ }, [o]), /* @__PURE__ */ e.jsx("div", { id: s, style: { height: a, width: c }, className: `big-container ${r}`, onMouseDown: y, onMouseUp: j, onMouseMove: g, children: /* @__PURE__ */ e.jsx("div", { className: "big-container-content", style: { left: d.x, top: d.y }, children: n }) });
716
+ }, Kn = (n) => {
717
+ const [r, s] = N(!1), a = R(() => {
718
718
  s(!0), setTimeout(() => {
719
719
  n.onHide(), s(!1);
720
720
  }, 200);
@@ -728,9 +728,9 @@ const An = (n) => ce({ ...n, className: (n.className ?? "") + " outline-button"
728
728
  ] }),
729
729
  /* @__PURE__ */ e.jsx("div", { className: "backplate bottom-sheets-backplate", style: { zIndex: 1101 }, onClick: a })
730
730
  ] });
731
- }, Et = ({ name: n, checked: r, onChange: s, readOnly: a, checkIcon: l }) => /* @__PURE__ */ e.jsxs("label", { className: "checkbox-container", children: [
731
+ }, St = ({ name: n, checked: r, onChange: s, readOnly: a, checkIcon: c }) => /* @__PURE__ */ e.jsxs("label", { className: "checkbox-container", children: [
732
732
  /* @__PURE__ */ e.jsx("input", { className: "checkbox", name: n, type: "checkbox", checked: r, onChange: s, readOnly: a }),
733
- /* @__PURE__ */ e.jsx("span", { children: l || /* @__PURE__ */ e.jsx("span", { className: "checkbox-ckeck-icon", children: "✓" }) })
733
+ /* @__PURE__ */ e.jsx("span", { children: c || /* @__PURE__ */ e.jsx("span", { className: "checkbox-ckeck-icon", children: "✓" }) })
734
734
  ] });
735
735
  /**
736
736
  * @license lucide-react v0.378.0 - ISC
@@ -738,14 +738,14 @@ const An = (n) => ce({ ...n, className: (n.className ?? "") + " outline-button"
738
738
  * This source code is licensed under the ISC license.
739
739
  * See the LICENSE file in the root directory of this source tree.
740
740
  */
741
- const zn = (n) => n.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), tn = (...n) => n.filter((r, s, a) => !!r && a.indexOf(r) === s).join(" ");
741
+ const Xn = (n) => n.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), sn = (...n) => n.filter((r, s, a) => !!r && a.indexOf(r) === s).join(" ");
742
742
  /**
743
743
  * @license lucide-react v0.378.0 - ISC
744
744
  *
745
745
  * This source code is licensed under the ISC license.
746
746
  * See the LICENSE file in the root directory of this source tree.
747
747
  */
748
- var Kn = {
748
+ var qn = {
749
749
  xmlns: "http://www.w3.org/2000/svg",
750
750
  width: 24,
751
751
  height: 24,
@@ -762,30 +762,30 @@ var Kn = {
762
762
  * This source code is licensed under the ISC license.
763
763
  * See the LICENSE file in the root directory of this source tree.
764
764
  */
765
- const qn = nn(
765
+ const Jn = rn(
766
766
  ({
767
767
  color: n = "currentColor",
768
768
  size: r = 24,
769
769
  strokeWidth: s = 2,
770
770
  absoluteStrokeWidth: a,
771
- className: l = "",
771
+ className: c = "",
772
772
  children: o,
773
773
  iconNode: u,
774
- ...c
775
- }, i) => we(
774
+ ...l
775
+ }, i) => Te(
776
776
  "svg",
777
777
  {
778
778
  ref: i,
779
- ...Kn,
779
+ ...qn,
780
780
  width: r,
781
781
  height: r,
782
782
  stroke: n,
783
783
  strokeWidth: a ? Number(s) * 24 / Number(r) : s,
784
- className: tn("lucide", l),
785
- ...c
784
+ className: sn("lucide", c),
785
+ ...l
786
786
  },
787
787
  [
788
- ...u.map(([h, f]) => we(h, f)),
788
+ ...u.map(([h, d]) => Te(h, d)),
789
789
  ...Array.isArray(o) ? o : [o]
790
790
  ]
791
791
  )
@@ -796,13 +796,13 @@ const qn = nn(
796
796
  * This source code is licensed under the ISC license.
797
797
  * See the LICENSE file in the root directory of this source tree.
798
798
  */
799
- const Y = (n, r) => {
800
- const s = nn(
801
- ({ className: a, ...l }, o) => we(qn, {
799
+ const B = (n, r) => {
800
+ const s = rn(
801
+ ({ className: a, ...c }, o) => Te(Jn, {
802
802
  ref: o,
803
803
  iconNode: r,
804
- className: tn(`lucide-${zn(n)}`, a),
805
- ...l
804
+ className: sn(`lucide-${Xn(n)}`, a),
805
+ ...c
806
806
  })
807
807
  );
808
808
  return s.displayName = `${n}`, s;
@@ -813,7 +813,7 @@ const Y = (n, r) => {
813
813
  * This source code is licensed under the ISC license.
814
814
  * See the LICENSE file in the root directory of this source tree.
815
815
  */
816
- const Xn = Y("AlignJustify", [
816
+ const Hn = B("AlignJustify", [
817
817
  ["line", { x1: "3", x2: "21", y1: "6", y2: "6", key: "4m8b97" }],
818
818
  ["line", { x1: "3", x2: "21", y1: "12", y2: "12", key: "10d38w" }],
819
819
  ["line", { x1: "3", x2: "21", y1: "18", y2: "18", key: "kwyyxn" }]
@@ -824,7 +824,7 @@ const Xn = Y("AlignJustify", [
824
824
  * This source code is licensed under the ISC license.
825
825
  * See the LICENSE file in the root directory of this source tree.
826
826
  */
827
- const Un = Y("ArrowLeft", [
827
+ const Gn = B("ArrowLeft", [
828
828
  ["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
829
829
  ["path", { d: "M19 12H5", key: "x3x0zl" }]
830
830
  ]);
@@ -834,14 +834,14 @@ const Un = Y("ArrowLeft", [
834
834
  * This source code is licensed under the ISC license.
835
835
  * See the LICENSE file in the root directory of this source tree.
836
836
  */
837
- const fe = Y("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
837
+ const ce = B("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
838
838
  /**
839
839
  * @license lucide-react v0.378.0 - ISC
840
840
  *
841
841
  * This source code is licensed under the ISC license.
842
842
  * See the LICENSE file in the root directory of this source tree.
843
843
  */
844
- const Ze = Y("ChevronDown", [
844
+ const en = B("ChevronDown", [
845
845
  ["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]
846
846
  ]);
847
847
  /**
@@ -850,7 +850,7 @@ const Ze = Y("ChevronDown", [
850
850
  * This source code is licensed under the ISC license.
851
851
  * See the LICENSE file in the root directory of this source tree.
852
852
  */
853
- const Jn = Y("CircleX", [
853
+ const Zn = B("CircleX", [
854
854
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
855
855
  ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
856
856
  ["path", { d: "m9 9 6 6", key: "z0biqf" }]
@@ -861,7 +861,7 @@ const Jn = Y("CircleX", [
861
861
  * This source code is licensed under the ISC license.
862
862
  * See the LICENSE file in the root directory of this source tree.
863
863
  */
864
- const Gn = Y("Clock3", [
864
+ const Qn = B("Clock3", [
865
865
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
866
866
  ["polyline", { points: "12 6 12 12 16.5 12", key: "1aq6pp" }]
867
867
  ]);
@@ -871,7 +871,7 @@ const Gn = Y("Clock3", [
871
871
  * This source code is licensed under the ISC license.
872
872
  * See the LICENSE file in the root directory of this source tree.
873
873
  */
874
- const Hn = Y("EllipsisVertical", [
874
+ const et = B("EllipsisVertical", [
875
875
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
876
876
  ["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
877
877
  ["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
@@ -882,7 +882,7 @@ const Hn = Y("EllipsisVertical", [
882
882
  * This source code is licensed under the ISC license.
883
883
  * See the LICENSE file in the root directory of this source tree.
884
884
  */
885
- const Zn = Y("Keyboard", [
885
+ const nt = B("Keyboard", [
886
886
  ["path", { d: "M10 8h.01", key: "1r9ogq" }],
887
887
  ["path", { d: "M12 12h.01", key: "1mp3jc" }],
888
888
  ["path", { d: "M14 8h.01", key: "1primd" }],
@@ -899,7 +899,7 @@ const Zn = Y("Keyboard", [
899
899
  * This source code is licensed under the ISC license.
900
900
  * See the LICENSE file in the root directory of this source tree.
901
901
  */
902
- const Qn = Y("Pen", [
902
+ const tt = B("Pen", [
903
903
  ["path", { d: "M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z", key: "5qss01" }]
904
904
  ]);
905
905
  /**
@@ -908,7 +908,7 @@ const Qn = Y("Pen", [
908
908
  * This source code is licensed under the ISC license.
909
909
  * See the LICENSE file in the root directory of this source tree.
910
910
  */
911
- const et = Y("Search", [
911
+ const rt = B("Search", [
912
912
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
913
913
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
914
914
  ]);
@@ -918,7 +918,7 @@ const et = Y("Search", [
918
918
  * This source code is licensed under the ISC license.
919
919
  * See the LICENSE file in the root directory of this source tree.
920
920
  */
921
- const nt = Y("Trash2", [
921
+ const st = B("Trash2", [
922
922
  ["path", { d: "M3 6h18", key: "d0wm0j" }],
923
923
  ["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
924
924
  ["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
@@ -931,73 +931,73 @@ const nt = Y("Trash2", [
931
931
  * This source code is licensed under the ISC license.
932
932
  * See the LICENSE file in the root directory of this source tree.
933
933
  */
934
- const me = Y("X", [
934
+ const me = B("X", [
935
935
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
936
936
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
937
- ]), tt = ({ text: n, onDelete: r, big: s, onClick: a }) => {
938
- const l = (u) => !(u.target.className === "alex-evo-ui-kit-chips-btn" || u.target.closest(".alex-evo-ui-kit-chips-btn")), o = (u) => {
939
- l(u) && a && a(u);
937
+ ]), at = ({ text: n, onDelete: r, big: s, onClick: a }) => {
938
+ const c = (u) => !(u.target.className === "alex-evo-ui-kit-chips-btn" || u.target.closest(".alex-evo-ui-kit-chips-btn")), o = (u) => {
939
+ c(u) && a && a(u);
940
940
  };
941
941
  return /* @__PURE__ */ e.jsxs("div", { className: `alex-evo-ui-kit-chips chips ${s ? "big-chips" : ""} ${a ? "hovered" : ""}`, onClick: o, children: [
942
942
  /* @__PURE__ */ e.jsx("p", { children: n }),
943
943
  r ? /* @__PURE__ */ e.jsx("div", { className: "alex-evo-ui-kit-chips-btn chips-btn", onClick: r, children: /* @__PURE__ */ e.jsx(me, { size: 18 }) }) : null
944
944
  ] });
945
- }, rn = ({ styleContainer: n, type: r = "text", transparent: s, readOnly: a, password: l, border: o, onClear: u, icon: c, onChange: i, name: h, value: f, placeholder: v, className: m, validEmptyValue: b, onFocus: k, onBlur: w, error: S, max: D, min: E }) => {
946
- const B = J(null), [j, _] = C(!1), W = R((Q, G) => _(!!(S || Q && (!G || G === ""))), []);
945
+ }, an = ({ styleContainer: n, type: r = "text", transparent: s, readOnly: a, password: c, border: o, onClear: u, icon: l, onChange: i, name: h, value: d, placeholder: x, className: j, validEmptyValue: y, onFocus: g, onBlur: w, error: S, max: D, min: E }) => {
946
+ const Y = z(null), [v, _] = N(!1), W = R((Q, H) => _(!!(S || Q && (!H || H === ""))), []);
947
947
  A(() => {
948
- W(b, f);
949
- }, [f, b, W]);
950
- const z = () => {
951
- B.current && B.current.focus();
948
+ W(y, d);
949
+ }, [d, y, W]);
950
+ const U = () => {
951
+ Y.current && Y.current.focus();
952
952
  };
953
- return /* @__PURE__ */ e.jsxs("div", { style: n, className: `text-field ${o ? "border" : ""} ${s ? "transparent" : ""} ${m}`, children: [
954
- c ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: z, children: c }) : null,
955
- /* @__PURE__ */ e.jsxs("div", { className: "input-container", onClick: z, children: [
953
+ return /* @__PURE__ */ e.jsxs("div", { style: n, className: `text-field ${o ? "border" : ""} ${s ? "transparent" : ""} ${j}`, children: [
954
+ l ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: U, children: l }) : null,
955
+ /* @__PURE__ */ e.jsxs("div", { className: "input-container", onClick: U, children: [
956
956
  /* @__PURE__ */ e.jsx(
957
957
  "input",
958
958
  {
959
- ref: B,
959
+ ref: Y,
960
960
  max: D,
961
961
  min: E,
962
962
  readOnly: a,
963
963
  required: !0,
964
- type: l ? "password" : r,
965
- className: `${j ? "error" : ""}`,
964
+ type: c ? "password" : r,
965
+ className: `${v ? "error" : ""}`,
966
966
  name: h,
967
- value: f,
967
+ value: d,
968
968
  onChange: i,
969
- onFocus: k,
969
+ onFocus: g,
970
970
  onBlur: w
971
971
  }
972
972
  ),
973
- /* @__PURE__ */ e.jsx("label", { children: v ? /* @__PURE__ */ e.jsx("span", { children: v }) : null }),
973
+ /* @__PURE__ */ e.jsx("label", { children: x ? /* @__PURE__ */ e.jsx("span", { children: x }) : null }),
974
974
  /* @__PURE__ */ e.jsx("span", { className: "text-field-line" })
975
975
  ] }),
976
- u ? /* @__PURE__ */ e.jsx("div", { className: "clear-container", children: /* @__PURE__ */ e.jsx(Jn, { onClick: u }) }) : null
976
+ u ? /* @__PURE__ */ e.jsx("div", { className: "clear-container", children: /* @__PURE__ */ e.jsx(Zn, { onClick: u }) }) : null
977
977
  ] });
978
- }, Tt = ({ styleContainer: n, transparent: r, readOnly: s, border: a, icon: l, onChange: o, name: u, value: c, placeholder: i, className: h, validEmptyValue: f, onFocus: v, onBlur: m, error: b }) => {
979
- const k = J(null), [w, S] = C(!1), D = R((B, j) => S(!!(b || B && (!j || j === ""))), []);
978
+ }, Ot = ({ styleContainer: n, transparent: r, readOnly: s, border: a, icon: c, onChange: o, name: u, value: l, placeholder: i, className: h, validEmptyValue: d, onFocus: x, onBlur: j, error: y }) => {
979
+ const g = z(null), [w, S] = N(!1), D = R((Y, v) => S(!!(y || Y && (!v || v === ""))), []);
980
980
  A(() => {
981
- D(f, c);
982
- }, [c, f, D]);
981
+ D(d, l);
982
+ }, [l, d, D]);
983
983
  const E = () => {
984
- k.current && k.current.focus();
984
+ g.current && g.current.focus();
985
985
  };
986
986
  return /* @__PURE__ */ e.jsxs("div", { style: n, className: `text-area ${w ? "error" : ""} ${a ? "border" : ""} ${r ? "transparent" : ""} ${h}`, children: [
987
- l ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: E, children: l }) : null,
987
+ c ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", onClick: E, children: c }) : null,
988
988
  /* @__PURE__ */ e.jsx("div", { className: "textarea-container", onClick: E, children: /* @__PURE__ */ e.jsx(
989
989
  "textarea",
990
990
  {
991
- ref: k,
991
+ ref: g,
992
992
  readOnly: s,
993
993
  required: !0,
994
994
  placeholder: i,
995
995
  className: `${w ? "error" : ""}`,
996
996
  name: u,
997
- value: c,
997
+ value: l,
998
998
  onChange: o,
999
- onFocus: v,
1000
- onBlur: m
999
+ onFocus: x,
1000
+ onBlur: j
1001
1001
  }
1002
1002
  ) })
1003
1003
  ] });
@@ -1005,71 +1005,71 @@ const me = Y("X", [
1005
1005
  /* @__PURE__ */ e.jsx("div", { className: `divider ${r ? "short" : ""}` }),
1006
1006
  s,
1007
1007
  /* @__PURE__ */ e.jsx("div", { className: `divider ${r ? "short" : ""}` })
1008
- ] }) : /* @__PURE__ */ e.jsx("div", { style: n, className: `divider ${r ? "short" : ""}` }), rt = ({ name: n, checked: r }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
1008
+ ] }) : /* @__PURE__ */ e.jsx("div", { style: n, className: `divider ${r ? "short" : ""}` }), ct = ({ name: n, checked: r }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
1009
1009
  /* @__PURE__ */ e.jsx("input", { className: "radio-button", name: n, type: "radio", checked: r, readOnly: !0 }),
1010
1010
  /* @__PURE__ */ e.jsx("span", {})
1011
- ] }), Rt = ({ name: n, currentValue: r, value: s, onChange: a, readOnly: l, checked: o }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
1012
- /* @__PURE__ */ e.jsx("input", { className: "radio-button", name: n, type: "radio", checked: r === s || o, value: s, onChange: a, readOnly: l }),
1011
+ ] }), Dt = ({ name: n, currentValue: r, value: s, onChange: a, readOnly: c, checked: o }) => /* @__PURE__ */ e.jsxs("label", { className: "radio-button-container", children: [
1012
+ /* @__PURE__ */ e.jsx("input", { className: "radio-button", name: n, type: "radio", checked: r === s || o, value: s, onChange: a, readOnly: c }),
1013
1013
  /* @__PURE__ */ e.jsx("span", {})
1014
- ] }), _t = ({ style: n, icon: r, className: s, onClick: a, onContextMenu: l, children: o }) => /* @__PURE__ */ e.jsxs("button", { style: n, className: `${s} extendedFAB`, onClick: a, onContextMenu: l, children: [
1014
+ ] }), Mt = ({ style: n, icon: r, className: s, onClick: a, onContextMenu: c, children: o }) => /* @__PURE__ */ e.jsxs("button", { style: n, className: `${s} extendedFAB`, onClick: a, onContextMenu: c, children: [
1015
1015
  r,
1016
1016
  o ? /* @__PURE__ */ e.jsx("span", { children: o }) : null
1017
- ] }), St = ({ children: n, header: r }) => /* @__PURE__ */ e.jsxs("div", { className: "field-container-ui", children: [
1017
+ ] }), Pt = ({ children: n, header: r }) => /* @__PURE__ */ e.jsxs("div", { className: "field-container-ui", children: [
1018
1018
  /* @__PURE__ */ e.jsx("h4", { children: r }),
1019
1019
  /* @__PURE__ */ e.jsx("div", { className: "field-container-content", children: n })
1020
- ] }), st = (n) => n === "" ? [] : n.split(",").map((r) => r.trim()), Qe = (n) => n.join(", "), Ot = ({ minWidth: n, value: r, onChange: s, border: a }) => {
1021
- const [l, o] = C([]), [u, c] = C("");
1020
+ ] }), lt = (n) => n === "" ? [] : n.split(",").map((r) => r.trim()), nn = (n) => n.join(", "), At = ({ minWidth: n, value: r, onChange: s, border: a }) => {
1021
+ const [c, o] = N([]), [u, l] = N("");
1022
1022
  A(() => {
1023
- console.log("p0"), o(st(r));
1023
+ console.log("p0"), o(lt(r));
1024
1024
  }, [r]), A(() => {
1025
- console.log(l);
1026
- }, [l]);
1027
- const i = (v) => {
1028
- c(v.target.value);
1025
+ console.log(c);
1026
+ }, [c]);
1027
+ const i = (x) => {
1028
+ l(x.target.value);
1029
1029
  }, h = R(() => {
1030
- if (u === "" || l.includes(u))
1030
+ if (u === "" || c.includes(u))
1031
1031
  return;
1032
- const v = [...l, u.trim()];
1033
- o(v), s && s(Qe(v)), c("");
1034
- }, [l, u]), f = (v) => {
1035
- const m = l.filter((b, k) => k !== v);
1036
- o(m), s && s(Qe(m));
1032
+ const x = [...c, u.trim()];
1033
+ o(x), s && s(nn(x)), l("");
1034
+ }, [c, u]), d = (x) => {
1035
+ const j = c.filter((y, g) => g !== x);
1036
+ o(j), s && s(nn(j));
1037
1037
  };
1038
1038
  return /* @__PURE__ */ e.jsxs("div", { className: "more-text", style: { minWidth: n }, children: [
1039
1039
  /* @__PURE__ */ e.jsxs("div", { className: "add value", children: [
1040
- /* @__PURE__ */ e.jsx(rn, { onChange: i, value: u, border: a }),
1041
- /* @__PURE__ */ e.jsx(Ln, { children: /* @__PURE__ */ e.jsx(Yn, { onClick: h, children: "add" }) })
1040
+ /* @__PURE__ */ e.jsx(an, { onChange: i, value: u, border: a }),
1041
+ /* @__PURE__ */ e.jsx(Un, { children: /* @__PURE__ */ e.jsx(Vn, { onClick: h, children: "add" }) })
1042
1042
  ] }),
1043
- /* @__PURE__ */ e.jsx("div", { className: "chips-container", children: l.map((v, m) => /* @__PURE__ */ e.jsx(tt, { text: v, onDelete: () => f(m) }, m)) })
1043
+ /* @__PURE__ */ e.jsx("div", { className: "chips-container", children: c.map((x, j) => /* @__PURE__ */ e.jsx(at, { text: x, onDelete: () => d(j) }, j)) })
1044
1044
  ] });
1045
- }, Dt = ({ style: n, text: r, className: s, onClick: a, onContextMenu: l }) => {
1046
- const o = J(null), u = R(() => {
1045
+ }, $t = ({ style: n, text: r, className: s, onClick: a, onContextMenu: c }) => {
1046
+ const o = z(null), u = R(() => {
1047
1047
  if (!o.current)
1048
1048
  return;
1049
- let c = o.current.getElementsByTagName("p");
1050
- c[0] && o.current.clientWidth <= c[0].clientWidth ? (c[0].className = "runing", c[0].innerHTML = `| ${r} | ${r}`) : c[0].className = "";
1049
+ let l = o.current.getElementsByTagName("p");
1050
+ l[0] && o.current.clientWidth <= l[0].clientWidth ? (l[0].className = "runing", l[0].innerHTML = `| ${r} | ${r}`) : l[0].className = "";
1051
1051
  }, [r]);
1052
1052
  return A(() => {
1053
1053
  u();
1054
- }, [u]), /* @__PURE__ */ e.jsx("div", { style: n, ref: o, onClick: a, onContextMenu: l, className: `runing-text ${s}`, children: /* @__PURE__ */ e.jsx("p", { children: r }) });
1055
- }, Mt = ({ className: n, children: r, height: s }) => /* @__PURE__ */ e.jsx("div", { className: `scroll-container ${n}`, style: { height: s }, children: r }), Pt = ({ onMenu: n, onSearch: r, placeholder: s, autoChenge: a }) => {
1056
- const l = J(null), [o, u] = C(""), [c, i] = C(!1), h = () => {
1057
- l.current && (l.current.focus(), i(!0));
1058
- }, f = () => {
1059
- l.current && (l.current.focus(), l.current.value = ""), u(""), i(!0), a && r("");
1060
- }, v = () => {
1061
- f(), l.current && (l.current.blur(), i(!1));
1062
- }, m = (k) => {
1063
- u(k.target.value), a && r(k.target.value);
1064
- }, b = (k) => {
1065
- k.code === "Enter" && r(o);
1054
+ }, [u]), /* @__PURE__ */ e.jsx("div", { style: n, ref: o, onClick: a, onContextMenu: c, className: `runing-text ${s}`, children: /* @__PURE__ */ e.jsx("p", { children: r }) });
1055
+ }, Ft = ({ className: n, children: r, height: s }) => /* @__PURE__ */ e.jsx("div", { className: `scroll-container ${n}`, style: { height: s }, children: r }), It = ({ onMenu: n, onSearch: r, placeholder: s, autoChenge: a }) => {
1056
+ const c = z(null), [o, u] = N(""), [l, i] = N(!1), h = () => {
1057
+ c.current && (c.current.focus(), i(!0));
1058
+ }, d = () => {
1059
+ c.current && (c.current.focus(), c.current.value = ""), u(""), i(!0), a && r("");
1060
+ }, x = () => {
1061
+ d(), c.current && (c.current.blur(), i(!1));
1062
+ }, j = (g) => {
1063
+ u(g.target.value), a && r(g.target.value);
1064
+ }, y = (g) => {
1065
+ g.code === "Enter" && r(o);
1066
1066
  };
1067
1067
  return /* @__PURE__ */ e.jsx("div", { className: "search-container", children: /* @__PURE__ */ e.jsxs("div", { className: "search-field", children: [
1068
- c ? /* @__PURE__ */ e.jsx("span", { onClick: v, children: /* @__PURE__ */ e.jsx(Un, { size: 24 }) }) : n ? /* @__PURE__ */ e.jsx("span", { onClick: n, children: /* @__PURE__ */ e.jsx(Xn, { size: 24 }) }) : null,
1069
- /* @__PURE__ */ e.jsx("input", { placeholder: s, type: "text", ref: l, onChange: m, onKeyDown: b, value: o, onFocus: () => i(!0) }),
1070
- c ? /* @__PURE__ */ e.jsx("span", { onClick: f, children: /* @__PURE__ */ e.jsx(me, { size: 24 }) }) : /* @__PURE__ */ e.jsx("span", { onClick: h, children: /* @__PURE__ */ e.jsx(et, { size: 24 }) })
1068
+ l ? /* @__PURE__ */ e.jsx("span", { onClick: x, children: /* @__PURE__ */ e.jsx(Gn, { size: 24 }) }) : n ? /* @__PURE__ */ e.jsx("span", { onClick: n, children: /* @__PURE__ */ e.jsx(Hn, { size: 24 }) }) : null,
1069
+ /* @__PURE__ */ e.jsx("input", { placeholder: s, type: "text", ref: c, onChange: j, onKeyDown: y, value: o, onFocus: () => i(!0) }),
1070
+ l ? /* @__PURE__ */ e.jsx("span", { onClick: d, children: /* @__PURE__ */ e.jsx(me, { size: 24 }) }) : /* @__PURE__ */ e.jsx("span", { onClick: h, children: /* @__PURE__ */ e.jsx(rt, { size: 24 }) })
1071
1071
  ] }) });
1072
- }, $t = ({ visible: n, text: r, option: s }) => {
1072
+ }, Bt = ({ visible: n, text: r, option: s }) => {
1073
1073
  const a = () => {
1074
1074
  s != null && s.onHide && s.onHide();
1075
1075
  };
@@ -1080,9 +1080,72 @@ const me = Y("X", [
1080
1080
  ] }),
1081
1081
  s != null && s.closeButton ? /* @__PURE__ */ e.jsx("div", { className: "snackbar-close", children: /* @__PURE__ */ e.jsx("span", { onClick: a, children: /* @__PURE__ */ e.jsx(me, {}) }) }) : null
1082
1082
  ] }) : null;
1083
- }, At = ({ name: n, onChange: r, checked: s, className: a }) => /* @__PURE__ */ e.jsx("div", { className: `swich-container ${a}`, children: /* @__PURE__ */ e.jsx("input", { type: "checkbox", name: n, onChange: r, checked: s }) }), U = ({ className: n, children: r, header: s, action: a, onHide: l, style: o }) => {
1083
+ }, Yt = ({ name: n, onChange: r, checked: s, className: a }) => /* @__PURE__ */ e.jsx("div", { className: `swich-container ${a}`, children: /* @__PURE__ */ e.jsx("input", { type: "checkbox", name: n, onChange: r, checked: s }) }), it = (n) => n === void 0 ? [] : Array.isArray(n) ? n : [n], Wt = ({ multiple: n, value: r, items: s, className: a, onClick: c, onContextMenu: o, onChange: u }) => {
1084
+ const [l, i] = N(it(r)), h = (d) => {
1085
+ c && c(d);
1086
+ const x = d.currentTarget;
1087
+ if (!n) {
1088
+ if (!x.dataset.el)
1089
+ return;
1090
+ i([x.dataset.el]), u && u([x.dataset.el], d);
1091
+ return;
1092
+ }
1093
+ const j = l.filter((g) => g === x.dataset.el);
1094
+ let y = l.slice();
1095
+ j.length > 0 && x.dataset.el ? y = y.filter((g) => g !== x.dataset.el) : x.dataset.el && y.push(x.dataset.el), i(y), u && u(y, d);
1096
+ };
1097
+ return /* @__PURE__ */ e.jsx("div", { className: `sigmentedbutton-container ${a ?? ""}`, children: s.map((d, x) => /* @__PURE__ */ e.jsx("div", { className: "sigmentedbutton-item-container", children: /* @__PURE__ */ e.jsxs("button", { "data-el": d, onContextMenu: o, onClick: h, className: `sigmentedbutton-item-button ${l.includes(d) ? "active" : ""}`, children: [
1098
+ l.includes(d) ? /* @__PURE__ */ e.jsx("div", { className: "icon-container", children: /* @__PURE__ */ e.jsx(ce, {}) }) : null,
1099
+ /* @__PURE__ */ e.jsx("div", { className: "text-container", children: d })
1100
+ ] }, x) }, x)) });
1101
+ }, cn = (n) => n ? {
1102
+ height: Number(window.getComputedStyle(n).getPropertyValue("height").replace("px", "")),
1103
+ width: Number(window.getComputedStyle(n).getPropertyValue("width").replace("px", "")),
1104
+ left: Number(n.getBoundingClientRect().left),
1105
+ top: Number(n.getBoundingClientRect().top)
1106
+ } : void 0, ln = (n, r, s, a) => {
1107
+ let c = { x: n, y: r };
1108
+ if (!s)
1109
+ return c;
1110
+ let o = Number(window.getComputedStyle(s).getPropertyValue("height").replace("px", "")), u = Number(window.getComputedStyle(s).getPropertyValue("width").replace("px", "")), l = r + o - document.documentElement.scrollHeight, i = n + u - document.documentElement.clientWidth;
1111
+ return l > 0 && (c.y = c.y - l - ((a == null ? void 0 : a.marginBottom) ?? 0)), i > 0 && (c.x = c.x - i - ((a == null ? void 0 : a.marginRight) ?? 0)), c;
1112
+ };
1113
+ function ot(n, r, s, a, c) {
1114
+ return a + (c - a) * ((n - r) / (s - r));
1115
+ }
1116
+ const we = 0, Ee = 100, Vt = (n) => {
1117
+ const [r, s] = N(0), [a, c] = N(!1), o = z(null), u = z(null);
1118
+ A(() => {
1119
+ s(n.value);
1120
+ }, [n.value]);
1121
+ const l = (x) => {
1122
+ s(Number(x.target.value)), n.onChange(x);
1123
+ }, i = (x, j, y) => {
1124
+ if (o.current && u.current) {
1125
+ let g = cn(u.current);
1126
+ if (g)
1127
+ return ot(x, j, y, 0, y - j) * (g.width - 20) / (y - j);
1128
+ }
1129
+ return 0;
1130
+ }, h = R((x) => {
1131
+ c(!0), n.onFocus && n.onFocus(x);
1132
+ }, [n.onFocus]), d = R((x) => {
1133
+ c(!1), n.onBlur && n.onBlur(x);
1134
+ }, [n.onBlur]);
1135
+ return /* @__PURE__ */ e.jsx("div", { className: "range", children: /* @__PURE__ */ e.jsxs("div", { className: "field", children: [
1136
+ n.maxMinDisplay ? /* @__PURE__ */ e.jsx("div", { className: "value left", children: n.min ?? we }) : null,
1137
+ /* @__PURE__ */ e.jsxs("div", { className: "field-range-container", children: [
1138
+ /* @__PURE__ */ e.jsx("div", { className: "slider-value", ref: o, style: { width: i(r, n.min ?? we, n.max ?? Ee) }, children: /* @__PURE__ */ e.jsxs("div", { className: "slider-tooltip", style: { display: a ? "block" : "none" }, children: [
1139
+ /* @__PURE__ */ e.jsx("span", { className: "slider-tooltip-container" }),
1140
+ /* @__PURE__ */ e.jsx("span", { className: "slider-tooltip-value", children: r })
1141
+ ] }) }),
1142
+ /* @__PURE__ */ e.jsx("input", { onMouseUp: n.onMouseUp, ref: u, step: n.step, type: "range", min: n.min ?? we, max: n.max ?? Ee, onChange: l, value: r, onFocus: h, onBlur: d })
1143
+ ] }),
1144
+ n.maxMinDisplay ? /* @__PURE__ */ e.jsx("div", { className: "value right", children: n.max ?? Ee }) : null
1145
+ ] }) });
1146
+ }, J = ({ className: n, children: r, header: s, action: a, onHide: c, style: o }) => {
1084
1147
  function u() {
1085
- l && l();
1148
+ c && c();
1086
1149
  }
1087
1150
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1088
1151
  /* @__PURE__ */ e.jsx("div", { onClick: u, style: { zIndex: "999" }, className: "backplate" }),
@@ -1092,12 +1155,12 @@ const me = Y("X", [
1092
1155
  a ? /* @__PURE__ */ e.jsx("div", { className: "dialog-action", children: a }) : null
1093
1156
  ] })
1094
1157
  ] });
1095
- }, at = ({ onHide: n, onSave: r }) => /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
1158
+ }, ut = ({ onHide: n, onSave: r }) => /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
1096
1159
  /* @__PURE__ */ e.jsx(P, { onClick: n, children: "cancel" }),
1097
1160
  r ? /* @__PURE__ */ e.jsx(P, { onClick: r, children: "save" }) : null
1098
- ] }), Ft = ({ style: n, className: r, header: s, children: a, onSave: l, onHide: o }) => {
1099
- const [u, c] = C(!1), i = R(() => {
1100
- window.innerWidth < 720 ? c(!0) : c(!1);
1161
+ ] }), Lt = ({ style: n, className: r, header: s, children: a, onSave: c, onHide: o }) => {
1162
+ const [u, l] = N(!1), i = R(() => {
1163
+ window.innerWidth < 720 ? l(!0) : l(!1);
1101
1164
  }, [window.innerWidth]);
1102
1165
  A(() => {
1103
1166
  i();
@@ -1106,67 +1169,67 @@ const me = Y("X", [
1106
1169
  }), [i]);
1107
1170
  const h = () => {
1108
1171
  o && o();
1109
- }, f = () => {
1110
- l && l();
1172
+ }, d = () => {
1173
+ c && c();
1111
1174
  };
1112
1175
  return u ? /* @__PURE__ */ e.jsxs("div", { style: n, className: `full-screen-dialog-container ${r}`, children: [
1113
1176
  /* @__PURE__ */ e.jsxs("div", { className: "full-screen-dialog-header", children: [
1114
1177
  /* @__PURE__ */ e.jsx("div", { className: "dialog-icon-container", children: /* @__PURE__ */ e.jsx(ae, { transparent: !0, onClick: h, icon: /* @__PURE__ */ e.jsx(me, {}) }) }),
1115
1178
  /* @__PURE__ */ e.jsx("div", { className: "header", children: s }),
1116
- /* @__PURE__ */ e.jsx("div", { className: "save-container", children: l ? /* @__PURE__ */ e.jsx(P, { onClick: f, children: "save" }) : null })
1179
+ /* @__PURE__ */ e.jsx("div", { className: "save-container", children: c ? /* @__PURE__ */ e.jsx(P, { onClick: d, children: "save" }) : null })
1117
1180
  ] }),
1118
1181
  /* @__PURE__ */ e.jsx("div", { className: "full-screen-dialog-content", style: { overflowY: "auto" }, children: a })
1119
- ] }) : /* @__PURE__ */ e.jsx(U, { style: n, header: s, className: `full-screen-dialog-base-format ${r}`, onHide: h, children: a, action: /* @__PURE__ */ e.jsx(at, { onHide: h, onSave: l ? f : void 0 }) });
1120
- }, It = ({ styleContainer: n, text: r, header: s, actionText: a, onSuccess: l, onHide: o, onCancel: u }) => {
1121
- const c = R(() => {
1122
- l && l(), o && o();
1182
+ ] }) : /* @__PURE__ */ e.jsx(J, { style: n, header: s, className: `full-screen-dialog-base-format ${r}`, onHide: h, children: a, action: /* @__PURE__ */ e.jsx(ut, { onHide: h, onSave: c ? d : void 0 }) });
1183
+ }, zt = ({ styleContainer: n, text: r, header: s, actionText: a, onSuccess: c, onHide: o, onCancel: u }) => {
1184
+ const l = R(() => {
1185
+ c && c(), o && o();
1123
1186
  }, []), i = R(() => {
1124
1187
  u && u(), o && o();
1125
1188
  }, []);
1126
- return /* @__PURE__ */ e.jsx(U, { style: n, header: s, action: /* @__PURE__ */ e.jsx(ct, { onHide: i, actionText: a, onSuccess: c }), children: /* @__PURE__ */ e.jsx("p", { children: r }) });
1189
+ return /* @__PURE__ */ e.jsx(J, { style: n, header: s, action: /* @__PURE__ */ e.jsx(dt, { onHide: i, actionText: a, onSuccess: l }), children: /* @__PURE__ */ e.jsx("p", { children: r }) });
1127
1190
  };
1128
- function ct({ actionText: n, onSuccess: r, onHide: s }) {
1191
+ function dt({ actionText: n, onSuccess: r, onHide: s }) {
1129
1192
  return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
1130
1193
  /* @__PURE__ */ e.jsx(P, { onClick: s, children: "cancel" }),
1131
1194
  /* @__PURE__ */ e.jsx(P, { onClick: r, children: n ?? "OK" })
1132
1195
  ] });
1133
1196
  }
1134
- function Yt({ onSuccess: n, items: r, header: s, onHide: a, noHide: l = !1, name: o = "dailog_name" }) {
1135
- const [u, c] = C(void 0), i = R(() => {
1136
- n && u && n(u), c(void 0), !l && a && a();
1137
- }, [u]), h = R((f) => {
1138
- c(f);
1197
+ function Ut({ onSuccess: n, items: r, header: s, onHide: a, noHide: c = !1, name: o = "dailog_name" }) {
1198
+ const [u, l] = N(void 0), i = R(() => {
1199
+ n && u && n(u), l(void 0), !c && a && a();
1200
+ }, [u]), h = R((d) => {
1201
+ l(d);
1139
1202
  }, []);
1140
- return /* @__PURE__ */ e.jsxs(U, { header: s, action: /* @__PURE__ */ e.jsx(it, { onHide: a, onSuccess: i, disabled: u === void 0 }), children: [
1203
+ return /* @__PURE__ */ e.jsxs(J, { header: s, action: /* @__PURE__ */ e.jsx(ft, { onHide: a, onSuccess: i, disabled: u === void 0 }), children: [
1141
1204
  /* @__PURE__ */ e.jsx(he, { style: { padding: "0px" } }),
1142
- /* @__PURE__ */ e.jsx(Bn, { className: "transparent", scroll: !0, maxHeight: "200px", children: r.map((f, v) => /* @__PURE__ */ e.jsx("label", { children: /* @__PURE__ */ e.jsx(Wn, { hovered: !0, header: f.title, onClick: () => h(f.data), control: /* @__PURE__ */ e.jsx(rt, { name: o, checked: f.data === u }) }) }, v)) }),
1205
+ /* @__PURE__ */ e.jsx(Ln, { className: "transparent", scroll: !0, maxHeight: "200px", children: r.map((d, x) => /* @__PURE__ */ e.jsx("label", { children: /* @__PURE__ */ e.jsx(zn, { hovered: !0, header: d.title, onClick: () => h(d.data), control: /* @__PURE__ */ e.jsx(ct, { name: o, checked: d.data === u }) }) }, x)) }),
1143
1206
  /* @__PURE__ */ e.jsx(he, { style: { padding: "0px" } })
1144
1207
  ] });
1145
1208
  }
1146
- function it({ onSuccess: n, onHide: r, disabled: s }) {
1209
+ function ft({ onSuccess: n, onHide: r, disabled: s }) {
1147
1210
  return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
1148
1211
  /* @__PURE__ */ e.jsx(P, { onClick: r, children: "cancel" }),
1149
1212
  /* @__PURE__ */ e.jsx(P, { onClick: n, disabled: s, children: "OK" })
1150
1213
  ] });
1151
1214
  }
1152
- const Bt = ({ styleContainer: n, text: r, header: s, onSuccess: a, onHide: l, placeholder: o, type: u = "text", min: c = 0, max: i = 100 }) => {
1153
- const [h, f] = C(""), v = R(() => {
1154
- a && a(h), l && l();
1155
- }, [h]), m = (b) => {
1156
- u === "number" && (Number(b) < c && (b = String(c)), Number(b) > i && (b = String(i))), f(b);
1215
+ const Kt = ({ styleContainer: n, text: r, header: s, onSuccess: a, onHide: c, placeholder: o, type: u = "text", min: l = 0, max: i = 100 }) => {
1216
+ const [h, d] = N(""), x = R(() => {
1217
+ a && a(h), c && c();
1218
+ }, [h]), j = (y) => {
1219
+ u === "number" && (Number(y) < l && (y = String(l)), Number(y) > i && (y = String(i))), d(y);
1157
1220
  };
1158
- return /* @__PURE__ */ e.jsxs(U, { style: n, header: s, action: /* @__PURE__ */ e.jsx(lt, { onHide: l, onSuccess: v }), children: [
1221
+ return /* @__PURE__ */ e.jsxs(J, { style: n, header: s, action: /* @__PURE__ */ e.jsx(ht, { onHide: c, onSuccess: x }), children: [
1159
1222
  /* @__PURE__ */ e.jsx("p", { children: r }),
1160
- /* @__PURE__ */ e.jsx("div", { className: "dialog-input-container", children: /* @__PURE__ */ e.jsx(rn, { max: i, min: c, type: u, border: !0, placeholder: o, value: h, onChange: (b) => m(b.target.value) }) })
1223
+ /* @__PURE__ */ e.jsx("div", { className: "dialog-input-container", children: /* @__PURE__ */ e.jsx(an, { max: i, min: l, type: u, border: !0, placeholder: o, value: h, onChange: (y) => j(y.target.value) }) })
1161
1224
  ] });
1162
1225
  };
1163
- function lt({ onSuccess: n, onHide: r }) {
1226
+ function ht({ onSuccess: n, onHide: r }) {
1164
1227
  return /* @__PURE__ */ e.jsxs("div", { className: "dialog-button-container", children: [
1165
1228
  /* @__PURE__ */ e.jsx(P, { onClick: r, children: "cancel" }),
1166
1229
  /* @__PURE__ */ e.jsx(P, { onClick: n, children: "OK" })
1167
1230
  ] });
1168
1231
  }
1169
- const ot = 2050, en = 1900, V = [
1232
+ const xt = 2050, tn = 1900, L = [
1170
1233
  "January",
1171
1234
  "February",
1172
1235
  "March",
@@ -1179,58 +1242,58 @@ const ot = 2050, en = 1900, V = [
1179
1242
  "October",
1180
1243
  "November",
1181
1244
  "December"
1182
- ], ut = () => Array(ot - en).fill(0).map((n, r) => en + r), Wt = ({ onChange: n, onHide: r }) => {
1183
- const [s] = C(V[(/* @__PURE__ */ new Date()).getMonth()]), [a] = C((/* @__PURE__ */ new Date()).getFullYear()), [l] = C((/* @__PURE__ */ new Date()).getDate()), [o, u] = C(V[(/* @__PURE__ */ new Date()).getMonth()]), [c, i] = C((/* @__PURE__ */ new Date()).getFullYear()), [h, f] = C({
1245
+ ], mt = () => Array(xt - tn).fill(0).map((n, r) => tn + r), Xt = ({ onChange: n, onHide: r }) => {
1246
+ const [s] = N(L[(/* @__PURE__ */ new Date()).getMonth()]), [a] = N((/* @__PURE__ */ new Date()).getFullYear()), [c] = N((/* @__PURE__ */ new Date()).getDate()), [o, u] = N(L[(/* @__PURE__ */ new Date()).getMonth()]), [l, i] = N((/* @__PURE__ */ new Date()).getFullYear()), [h, d] = N({
1184
1247
  day: (/* @__PURE__ */ new Date()).getDate(),
1185
1248
  type: "NOW_MONTH"
1186
1249
  /* NOW_MONTH */
1187
- }), [v, m] = C(
1250
+ }), [x, j] = N(
1188
1251
  "DAYS"
1189
1252
  /* DAYS */
1190
- ), b = (j, _) => new Date(j, _ + 1, 0).getDate(), k = (j, _, W) => new Date(j, _, W).getDay(), w = (j, _) => {
1191
- let W = Array(b(j, _)).fill(0).map((ie, K) => ({ type: "NOW_MONTH", day: K + 1 })), z = k(j, _, b(j, _)), Q = Array(7 - z).fill(0).map((ie, K) => ({ type: "NEXT_MONTH", day: K + 1 }));
1192
- return W = Array(k(j, _, 0)).fill(0).map((ie, K) => ({ type: "PREV_MONTH", day: b(_ ? j : j - 1, _ ? _ - 1 : 11) - K })).reverse().concat(W).concat(Q), W;
1193
- }, S = (j) => {
1194
- m(
1253
+ ), y = (v, _) => new Date(v, _ + 1, 0).getDate(), g = (v, _, W) => new Date(v, _, W).getDay(), w = (v, _) => {
1254
+ let W = Array(y(v, _)).fill(0).map((ie, K) => ({ type: "NOW_MONTH", day: K + 1 })), U = g(v, _, y(v, _)), Q = Array(7 - U).fill(0).map((ie, K) => ({ type: "NEXT_MONTH", day: K + 1 }));
1255
+ return W = Array(g(v, _, 0)).fill(0).map((ie, K) => ({ type: "PREV_MONTH", day: y(_ ? v : v - 1, _ ? _ - 1 : 11) - K })).reverse().concat(W).concat(Q), W;
1256
+ }, S = (v) => {
1257
+ j(
1195
1258
  "DAYS"
1196
1259
  /* DAYS */
1197
- ), i(j);
1198
- }, D = (j) => {
1199
- m(
1260
+ ), i(v);
1261
+ }, D = (v) => {
1262
+ j(
1200
1263
  "DAYS"
1201
1264
  /* DAYS */
1202
- ), u(j);
1203
- }, E = (j) => {
1204
- f(j);
1205
- }, B = R(() => {
1206
- let j = /* @__PURE__ */ new Date();
1207
- j.setFullYear(c), h.type === "NEXT_MONTH" ? o === V[11] ? (j.setMonth(0), j.setFullYear(c + 1)) : j.setMonth(V.indexOf(o) + 1) : h.type === "PREV_MONTH" ? o === V[0] ? (j.setMonth(11), j.setFullYear(c - 1)) : j.setMonth(V.indexOf(o) - 1) : j.setMonth(V.indexOf(o)), j.setDate(h.day), n && n(j.getFullYear(), j.getMonth(), j.getDate()), r && r();
1208
- }, [o, c, n, r, h]);
1209
- return /* @__PURE__ */ e.jsxs(U, { className: "calendar-body-container", style: { maxWidth: "328px" }, children: [
1265
+ ), u(v);
1266
+ }, E = (v) => {
1267
+ d(v);
1268
+ }, Y = R(() => {
1269
+ let v = /* @__PURE__ */ new Date();
1270
+ v.setFullYear(l), h.type === "NEXT_MONTH" ? o === L[11] ? (v.setMonth(0), v.setFullYear(l + 1)) : v.setMonth(L.indexOf(o) + 1) : h.type === "PREV_MONTH" ? o === L[0] ? (v.setMonth(11), v.setFullYear(l - 1)) : v.setMonth(L.indexOf(o) - 1) : v.setMonth(L.indexOf(o)), v.setDate(h.day), n && n(v.getFullYear(), v.getMonth(), v.getDate()), r && r();
1271
+ }, [o, l, n, r, h]);
1272
+ return /* @__PURE__ */ e.jsxs(J, { className: "calendar-body-container", style: { maxWidth: "328px" }, children: [
1210
1273
  /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-select-container", children: [
1211
- /* @__PURE__ */ e.jsx("div", { className: "month", children: /* @__PURE__ */ e.jsxs("span", { className: v === "MONTHS" ? "active" : "", onClick: () => m(
1274
+ /* @__PURE__ */ e.jsx("div", { className: "month", children: /* @__PURE__ */ e.jsxs("span", { className: x === "MONTHS" ? "active" : "", onClick: () => j(
1212
1275
  "MONTHS"
1213
1276
  /* MONTHS */
1214
1277
  ), children: [
1215
1278
  o,
1216
1279
  " ",
1217
- /* @__PURE__ */ e.jsx(Ze, {})
1280
+ /* @__PURE__ */ e.jsx(en, {})
1218
1281
  ] }) }),
1219
- /* @__PURE__ */ e.jsx("div", { className: "years", children: /* @__PURE__ */ e.jsxs("span", { className: v === "YEARS" ? "active" : "", onClick: () => m(
1282
+ /* @__PURE__ */ e.jsx("div", { className: "years", children: /* @__PURE__ */ e.jsxs("span", { className: x === "YEARS" ? "active" : "", onClick: () => j(
1220
1283
  "YEARS"
1221
1284
  /* YEARS */
1222
1285
  ), children: [
1223
- c,
1286
+ l,
1224
1287
  " ",
1225
- /* @__PURE__ */ e.jsx(Ze, {})
1288
+ /* @__PURE__ */ e.jsx(en, {})
1226
1289
  ] }) })
1227
1290
  ] }),
1228
- v === "MONTHS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-months-container", children: V.map((j, _) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-months-item", onClick: () => D(j), children: [
1229
- /* @__PURE__ */ e.jsx("div", { className: "status-container", children: o === j ? /* @__PURE__ */ e.jsx(fe, {}) : null }),
1230
- /* @__PURE__ */ e.jsx("div", { className: "content", children: j })
1231
- ] }, _)) }) : v === "YEARS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-years-container", children: ut().map((j, _) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-year-item", onClick: () => S(j), children: [
1232
- /* @__PURE__ */ e.jsx("div", { className: "status-container", children: c === j ? /* @__PURE__ */ e.jsx(fe, {}) : null }),
1233
- /* @__PURE__ */ e.jsx("div", { className: "content", children: j })
1291
+ x === "MONTHS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-months-container", children: L.map((v, _) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-months-item", onClick: () => D(v), children: [
1292
+ /* @__PURE__ */ e.jsx("div", { className: "status-container", children: o === v ? /* @__PURE__ */ e.jsx(ce, {}) : null }),
1293
+ /* @__PURE__ */ e.jsx("div", { className: "content", children: v })
1294
+ ] }, _)) }) : x === "YEARS" ? /* @__PURE__ */ e.jsx("div", { className: "calendar-body-years-container", children: mt().map((v, _) => /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-year-item", onClick: () => S(v), children: [
1295
+ /* @__PURE__ */ e.jsx("div", { className: "status-container", children: l === v ? /* @__PURE__ */ e.jsx(ce, {}) : null }),
1296
+ /* @__PURE__ */ e.jsx("div", { className: "content", children: v })
1234
1297
  ] }, _)) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1235
1298
  /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-dayofweek-container", children: [
1236
1299
  /* @__PURE__ */ e.jsx("span", { children: "M" }),
@@ -1241,19 +1304,19 @@ const ot = 2050, en = 1900, V = [
1241
1304
  /* @__PURE__ */ e.jsx("span", { children: "S" }),
1242
1305
  /* @__PURE__ */ e.jsx("span", { children: "S" })
1243
1306
  ] }),
1244
- /* @__PURE__ */ e.jsx("div", { className: "calendar-body-days-container", children: w(c, V.indexOf(o)).map((j, _) => /* @__PURE__ */ e.jsx("div", { className: `day ${j.type !== "NOW_MONTH" ? "other" : ""} ${l === j.day && c === a && o === s ? "now" : ""} ${j.day === h.day && j.type === h.type ? "select" : ""}`, onClick: () => E(j), children: j.day }, _)) })
1307
+ /* @__PURE__ */ e.jsx("div", { className: "calendar-body-days-container", children: w(l, L.indexOf(o)).map((v, _) => /* @__PURE__ */ e.jsx("div", { className: `day ${v.type !== "NOW_MONTH" ? "other" : ""} ${c === v.day && l === a && o === s ? "now" : ""} ${v.day === h.day && v.type === h.type ? "select" : ""}`, onClick: () => E(v), children: v.day }, _)) })
1245
1308
  ] }),
1246
1309
  /* @__PURE__ */ e.jsxs("div", { className: "calendar-body-action-container", children: [
1247
1310
  /* @__PURE__ */ e.jsx(P, { className: "little m-0", onClick: r, children: "Cancel" }),
1248
- /* @__PURE__ */ e.jsx(P, { className: "little m-0", onClick: B, children: "OK" })
1311
+ /* @__PURE__ */ e.jsx(P, { className: "little m-0", onClick: Y, children: "OK" })
1249
1312
  ] })
1250
1313
  ] });
1251
- }, dt = ({ setHours: n, setMinutes: r, switchMode: s, hours: a, minutes: l, onCancel: o, onOK: u }) => {
1252
- const [c, i] = C(!1), h = R((m) => {
1253
- n(m), i(!0);
1254
- }, [n]), f = R((m) => {
1255
- r(m), i(!1);
1256
- }, [r]), v = R(() => {
1314
+ }, jt = ({ setHours: n, setMinutes: r, switchMode: s, hours: a, minutes: c, onCancel: o, onOK: u }) => {
1315
+ const [l, i] = N(!1), h = R((j) => {
1316
+ n(j), i(!0);
1317
+ }, [n]), d = R((j) => {
1318
+ r(j), i(!1);
1319
+ }, [r]), x = R(() => {
1257
1320
  i(!1), o();
1258
1321
  }, []);
1259
1322
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
@@ -1265,19 +1328,19 @@ const ot = 2050, en = 1900, V = [
1265
1328
  ] }),
1266
1329
  /* @__PURE__ */ e.jsx("div", { className: "time-separator", children: ":" }),
1267
1330
  /* @__PURE__ */ e.jsxs("div", { className: "time-input minutes", children: [
1268
- /* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { disabled: !0, type: "number", value: l, min: 0, max: 60 }) }),
1331
+ /* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { disabled: !0, type: "number", value: c, min: 0, max: 60 }) }),
1269
1332
  /* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Minute" })
1270
1333
  ] })
1271
1334
  ] }),
1272
- /* @__PURE__ */ e.jsx("div", { className: "clock-input-container", children: c ? /* @__PURE__ */ e.jsx(ht, { setMinutes: f }) : /* @__PURE__ */ e.jsx(ft, { setHours: h }) }),
1335
+ /* @__PURE__ */ e.jsx("div", { className: "clock-input-container", children: l ? /* @__PURE__ */ e.jsx(pt, { setMinutes: d }) : /* @__PURE__ */ e.jsx(vt, { setHours: h }) }),
1273
1336
  /* @__PURE__ */ e.jsxs("div", { className: "enter-time-action", children: [
1274
- /* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(Zn, {}) }),
1275
- /* @__PURE__ */ e.jsx(P, { className: "little", onClick: v, children: "Cancel" }),
1337
+ /* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(nt, {}) }),
1338
+ /* @__PURE__ */ e.jsx(P, { className: "little", onClick: x, children: "Cancel" }),
1276
1339
  /* @__PURE__ */ e.jsx(P, { className: "little", onClick: u, children: "OK" })
1277
1340
  ] })
1278
1341
  ] });
1279
1342
  };
1280
- function ft({ setHours: n }) {
1343
+ function vt({ setHours: n }) {
1281
1344
  return /* @__PURE__ */ e.jsxs("div", { className: "clock-input", children: [
1282
1345
  /* @__PURE__ */ e.jsxs("div", { className: "clock-input-am", children: [
1283
1346
  /* @__PURE__ */ e.jsx("span", { onClick: () => n(1), children: "1" }),
@@ -1310,7 +1373,7 @@ function ft({ setHours: n }) {
1310
1373
  /* @__PURE__ */ e.jsx("span", { className: "center" })
1311
1374
  ] });
1312
1375
  }
1313
- function ht({ setMinutes: n }) {
1376
+ function pt({ setMinutes: n }) {
1314
1377
  return /* @__PURE__ */ e.jsxs("div", { className: "clock-input", children: [
1315
1378
  /* @__PURE__ */ e.jsxs("div", { className: "clock-input-minute", children: [
1316
1379
  /* @__PURE__ */ e.jsx("span", { onClick: () => n(0), children: "00" }),
@@ -1329,19 +1392,19 @@ function ht({ setMinutes: n }) {
1329
1392
  /* @__PURE__ */ e.jsx("span", { className: "center" })
1330
1393
  ] });
1331
1394
  }
1332
- const xt = ({ setHours: n, setMinutes: r, switchMode: s, minutes: a, hours: l, onCancel: o, onOK: u }) => {
1333
- const c = (h) => {
1334
- let f = Number(h.target.value);
1335
- f < 0 && (f = 0), f > 23 && (f = 23), n(f);
1395
+ const yt = ({ setHours: n, setMinutes: r, switchMode: s, minutes: a, hours: c, onCancel: o, onOK: u }) => {
1396
+ const l = (h) => {
1397
+ let d = Number(h.target.value);
1398
+ d < 0 && (d = 0), d > 23 && (d = 23), n(d);
1336
1399
  }, i = (h) => {
1337
- let f = Number(h.target.value);
1338
- f < 0 && (f = 0), f > 59 && (f = 59), r(f);
1400
+ let d = Number(h.target.value);
1401
+ d < 0 && (d = 0), d > 59 && (d = 59), r(d);
1339
1402
  };
1340
1403
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1341
1404
  /* @__PURE__ */ e.jsx("div", { className: "time-type", children: /* @__PURE__ */ e.jsx("p", { className: "text-sm", children: "Enter time" }) }),
1342
1405
  /* @__PURE__ */ e.jsxs("div", { className: "time-input-container", children: [
1343
1406
  /* @__PURE__ */ e.jsxs("div", { className: "time-input hours", children: [
1344
- /* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { type: "number", min: 0, max: 23, value: l, onChange: c }) }),
1407
+ /* @__PURE__ */ e.jsx("div", { className: "input-container", children: /* @__PURE__ */ e.jsx("input", { type: "number", min: 0, max: 23, value: c, onChange: l }) }),
1345
1408
  /* @__PURE__ */ e.jsx("span", { className: "text-sm", children: "Hour" })
1346
1409
  ] }),
1347
1410
  /* @__PURE__ */ e.jsx("div", { className: "time-separator", children: ":" }),
@@ -1351,28 +1414,28 @@ const xt = ({ setHours: n, setMinutes: r, switchMode: s, minutes: a, hours: l, o
1351
1414
  ] })
1352
1415
  ] }),
1353
1416
  /* @__PURE__ */ e.jsxs("div", { className: "enter-time-action", children: [
1354
- /* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(Gn, {}) }),
1417
+ /* @__PURE__ */ e.jsx("div", { className: "enter-time-icon", onClick: () => s(), children: /* @__PURE__ */ e.jsx(Qn, {}) }),
1355
1418
  /* @__PURE__ */ e.jsx(P, { className: "little", onClick: o, children: "Cancel" }),
1356
1419
  /* @__PURE__ */ e.jsx(P, { className: "little", onClick: u, children: "OK" })
1357
1420
  ] })
1358
1421
  ] });
1359
- }, Lt = (n) => {
1360
- const [r, s] = C(n.minutes ?? 0), [a, l] = C(n.hours ?? 0), [o, u] = C(!0), c = () => {
1361
- n.onHide && n.onHide(), s(0), l(0);
1362
- }, i = R((f) => {
1363
- s(f), n.onChange && n.onChange(a, f), n.onHide && n.onHide();
1422
+ }, qt = (n) => {
1423
+ const [r, s] = N(n.minutes ?? 0), [a, c] = N(n.hours ?? 0), [o, u] = N(!0), l = () => {
1424
+ n.onHide && n.onHide(), s(0), c(0);
1425
+ }, i = R((d) => {
1426
+ s(d), n.onChange && n.onChange(a, d), n.onHide && n.onHide();
1364
1427
  }, [a]), h = R(() => {
1365
1428
  n.onChange && n.onChange(a, r), n.onHide && n.onHide();
1366
1429
  }, [a, r]);
1367
- return o ? /* @__PURE__ */ e.jsx(U, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(dt, { setMinutes: i, setHours: l, minutes: r, hours: a, switchMode: () => u(!1), onCancel: c, onOK: h }) }) : /* @__PURE__ */ e.jsx(U, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(xt, { setMinutes: s, setHours: l, minutes: r, hours: a, switchMode: () => u(!0), onCancel: c, onOK: h }) });
1368
- }, Vt = ({ onChange: n, value: r, className: s }) => {
1369
- const [a, l] = C(r || []), o = R((c) => {
1370
- if (!c)
1430
+ return o ? /* @__PURE__ */ e.jsx(J, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(jt, { setMinutes: i, setHours: c, minutes: r, hours: a, switchMode: () => u(!1), onCancel: l, onOK: h }) }) : /* @__PURE__ */ e.jsx(J, { className: "enter-time-container", children: /* @__PURE__ */ e.jsx(yt, { setMinutes: s, setHours: c, minutes: r, hours: a, switchMode: () => u(!0), onCancel: l, onOK: h }) });
1431
+ }, Jt = ({ onChange: n, value: r, className: s }) => {
1432
+ const [a, c] = N(r || []), o = R((l) => {
1433
+ if (!l)
1371
1434
  return;
1372
1435
  let i = a.slice();
1373
- const h = i.indexOf(c.target.name);
1374
- h !== -1 && !c.target.checked ? i = i.filter((f, v) => v !== h) : h === -1 && c.target.checked && i.push(c.target.name), l(i), n && n(i);
1375
- }, [a]), u = R((c) => a.indexOf(c) !== -1, [a]);
1436
+ const h = i.indexOf(l.target.name);
1437
+ h !== -1 && !l.target.checked ? i = i.filter((d, x) => x !== h) : h === -1 && l.target.checked && i.push(l.target.name), c(i), n && n(i);
1438
+ }, [a]), u = R((l) => a.indexOf(l) !== -1, [a]);
1376
1439
  return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: `days-week-field-container ${s}`, children: [
1377
1440
  /* @__PURE__ */ e.jsxs("label", { children: [
1378
1441
  /* @__PURE__ */ e.jsx("input", { type: "checkbox", onChange: o, name: "Mon", checked: u("Mon") }),
@@ -1403,109 +1466,98 @@ const xt = ({ setHours: n, setMinutes: r, switchMode: s, minutes: a, hours: l, o
1403
1466
  /* @__PURE__ */ e.jsx("span", { children: "Sun" })
1404
1467
  ] })
1405
1468
  ] }) });
1406
- }, zt = ({ children: n }) => /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item", children: /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item-container", children: n }) }), Kt = ({ minWith: n, children: r, className: s, gridRowGap: a = "10px", gridColumnGap: l = "5px", itemMinWith: o, itemMaxWith: u, itemWith: c = "400px" }) => {
1407
- const i = J(null), [h, f] = C([]), v = R(() => {
1469
+ }, Ht = ({ children: n }) => /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item", children: /* @__PURE__ */ e.jsx("div", { className: "adaptiv-grid-item-container", children: n }) }), Gt = ({ minWith: n, children: r, className: s, gridRowGap: a = "10px", gridColumnGap: c = "5px", itemMinWith: o, itemMaxWith: u, itemWith: l = "400px" }) => {
1470
+ const i = z(null), [h, d] = N([]), x = R(() => {
1408
1471
  if (!i.current)
1409
1472
  return;
1410
- i.current.style.display = "grid", i.current.style.gridRowGap = a, i.current.style.gridColumnGap = l;
1411
- let k = o ?? c, w = u ?? c;
1412
- i.current.style.gridTemplateColumns = "repeat(auto-fill, minmax(" + k + ", " + w + "))", i.current.style.gridAutoRows = "0", h.forEach((S) => {
1473
+ i.current.style.display = "grid", i.current.style.gridRowGap = a, i.current.style.gridColumnGap = c;
1474
+ let g = o ?? l, w = u ?? l;
1475
+ i.current.style.gridTemplateColumns = "repeat(auto-fill, minmax(" + g + ", " + w + "))", i.current.style.gridAutoRows = "0", h.forEach((S) => {
1413
1476
  S.style.gridAutoRows = "0", S.style.gridAutoColumns = "0";
1414
1477
  });
1415
- }, [i.current]), m = R(() => {
1478
+ }, [i.current]), j = R(() => {
1416
1479
  if (!i.current)
1417
1480
  return;
1418
- let k = parseInt(window.getComputedStyle(i.current).getPropertyValue("grid-row-gap")), w = parseInt(window.getComputedStyle(i.current).getPropertyValue("grid-auto-rows"));
1481
+ let g = parseInt(window.getComputedStyle(i.current).getPropertyValue("grid-row-gap")), w = parseInt(window.getComputedStyle(i.current).getPropertyValue("grid-auto-rows"));
1419
1482
  h.forEach((S) => {
1420
1483
  let D = 0, E = S.querySelector(".adaptiv-grid-item-container");
1421
- E && (D = Math.ceil((E.getBoundingClientRect().height + k) / (w + k))), S.style.gridRowEnd = "span " + D;
1484
+ E && (D = Math.ceil((E.getBoundingClientRect().height + g) / (w + g))), S.style.gridRowEnd = "span " + D;
1422
1485
  });
1423
- }, [h, i.current]), b = R(() => {
1486
+ }, [h, i.current]), y = R(() => {
1424
1487
  if (i.current) {
1425
- let k = i.current.querySelectorAll(".adaptiv-grid-item");
1426
- f(Array.prototype.slice.call(k, 0));
1488
+ let g = i.current.querySelectorAll(".adaptiv-grid-item");
1489
+ d(Array.prototype.slice.call(g, 0));
1427
1490
  }
1428
1491
  }, [i.current, r]);
1429
1492
  return A(() => {
1430
- b();
1431
- }, [b]), A(() => {
1432
- v();
1433
- }, [v]), A(() => {
1434
- m();
1435
- }, [m, r]), A(() => (window.addEventListener("resize", m), () => {
1436
- window.addEventListener("resize", m);
1437
- }), [m]), /* @__PURE__ */ e.jsx("div", { style: { minWidth: n }, ref: i, className: `adaptiv-grid-layout ${s}`, children: r });
1438
- }, mt = ({ item: n, isIcon: r, globalClick: s }) => {
1493
+ y();
1494
+ }, [y]), A(() => {
1495
+ x();
1496
+ }, [x]), A(() => {
1497
+ j();
1498
+ }, [j, r]), A(() => (window.addEventListener("resize", j), () => {
1499
+ window.addEventListener("resize", j);
1500
+ }), [j]), /* @__PURE__ */ e.jsx("div", { style: { minWidth: n }, ref: i, className: `adaptiv-grid-layout ${s}`, children: r });
1501
+ }, gt = ({ item: n, isIcon: r, globalClick: s }) => {
1439
1502
  const a = () => {
1440
1503
  n.onClick && n.onClick(), s && s();
1441
1504
  };
1442
1505
  return /* @__PURE__ */ e.jsxs("div", { className: "menu-sub-item", onClick: a, children: [
1443
1506
  r ? /* @__PURE__ */ e.jsx("div", { className: "menu-icon-container", children: n.icon }) : null,
1444
1507
  /* @__PURE__ */ e.jsx("div", { className: "menu-text-container", children: n.title }),
1445
- /* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: n.activated ? /* @__PURE__ */ e.jsx(fe, {}) : null })
1508
+ /* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: n.activated ? /* @__PURE__ */ e.jsx(ce, {}) : null })
1446
1509
  ] });
1447
- }, jt = (n) => n ? {
1448
- height: Number(window.getComputedStyle(n).getPropertyValue("height").replace("px", "")),
1449
- width: Number(window.getComputedStyle(n).getPropertyValue("width").replace("px", "")),
1450
- left: Number(n.getBoundingClientRect().left),
1451
- top: Number(n.getBoundingClientRect().top)
1452
- } : void 0, sn = (n, r, s, a) => {
1453
- let l = { x: n, y: r };
1454
- if (!s)
1455
- return l;
1456
- let o = Number(window.getComputedStyle(s).getPropertyValue("height").replace("px", "")), u = Number(window.getComputedStyle(s).getPropertyValue("width").replace("px", "")), c = r + o - document.documentElement.scrollHeight, i = n + u - document.documentElement.clientWidth;
1457
- return c > 0 && (l.y = l.y - c - ((a == null ? void 0 : a.marginBottom) ?? 0)), i > 0 && (l.x = l.x - i - ((a == null ? void 0 : a.marginRight) ?? 0)), l;
1458
- }, vt = ({ items: n, onHide: r, smallDisplay: s, globalClick: a }) => {
1459
- const l = J(null), [o, u] = C({ left: "0px", top: "0px" });
1460
- function c(i) {
1510
+ }, bt = ({ items: n, onHide: r, smallDisplay: s, globalClick: a }) => {
1511
+ const c = z(null), [o, u] = N({ left: "0px", top: "0px" });
1512
+ function l(i) {
1461
1513
  for (let h of i)
1462
1514
  if (h.icon)
1463
1515
  return !0;
1464
1516
  return !1;
1465
1517
  }
1466
1518
  return A(() => {
1467
- if (!l.current)
1519
+ if (!c.current)
1468
1520
  return;
1469
- let i = jt(l.current.parentElement);
1521
+ let i = cn(c.current.parentElement);
1470
1522
  if (!i)
1471
1523
  return;
1472
- let h = sn(i.left + i.width, i.top, l.current, { marginRight: i.width });
1524
+ let h = ln(i.left + i.width, i.top, c.current, { marginRight: i.width });
1473
1525
  u({
1474
1526
  left: h.x - i.left + "px",
1475
1527
  top: h.y - i.top + "px"
1476
1528
  });
1477
1529
  }, []), /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1478
- /* @__PURE__ */ e.jsx("div", { ref: l, className: "menu-sub-block", style: { ...o }, children: n.map((i, h) => /* @__PURE__ */ e.jsx(mt, { item: i, isIcon: c(n), globalClick: a }, h)) }),
1530
+ /* @__PURE__ */ e.jsx("div", { ref: c, className: "menu-sub-block", style: { ...o }, children: n.map((i, h) => /* @__PURE__ */ e.jsx(gt, { item: i, isIcon: l(n), globalClick: a }, h)) }),
1479
1531
  s ? null : /* @__PURE__ */ e.jsx("div", { style: { zIndex: 4 }, className: "backplate", onClick: r })
1480
1532
  ] });
1481
- }, pt = ({ onHide: n, autoHide: r, globalClick: s, item: a, isIcon: l, smallDisplay: o }) => {
1482
- const [u, c] = C(!1), i = R(() => {
1483
- a.subItems ? c((h) => !h) : a.onClick && a.onClick(), s && s(), r && n && n();
1533
+ }, kt = ({ onHide: n, autoHide: r, globalClick: s, item: a, isIcon: c, smallDisplay: o }) => {
1534
+ const [u, l] = N(!1), i = R(() => {
1535
+ a.subItems ? l((h) => !h) : a.onClick && a.onClick(), s && s(), r && n && n();
1484
1536
  }, [a.onClick]);
1485
1537
  return /* @__PURE__ */ e.jsxs("div", { className: "menu-item-conatiner", children: [
1486
1538
  /* @__PURE__ */ e.jsxs("div", { className: "menu-item", onClick: i, children: [
1487
- l ? /* @__PURE__ */ e.jsx("div", { className: "menu-icon-container", children: a.icon }) : null,
1539
+ c ? /* @__PURE__ */ e.jsx("div", { className: "menu-icon-container", children: a.icon }) : null,
1488
1540
  /* @__PURE__ */ e.jsx("div", { className: "menu-text-container", children: a.title }),
1489
- /* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: a.subItems ? /* @__PURE__ */ e.jsx("span", { className: `menu-status-submenu ${u ? "active" : ""}` }) : a.activated ? /* @__PURE__ */ e.jsx(fe, {}) : /* @__PURE__ */ e.jsx("span", { className: "none-status" }) })
1541
+ /* @__PURE__ */ e.jsx("div", { className: "menu-status-container", children: a.subItems ? /* @__PURE__ */ e.jsx("span", { className: `menu-status-submenu ${u ? "active" : ""}` }) : a.activated ? /* @__PURE__ */ e.jsx(ce, {}) : /* @__PURE__ */ e.jsx("span", { className: "none-status" }) })
1490
1542
  ] }),
1491
- u && a.subItems ? /* @__PURE__ */ e.jsx(vt, { items: a.subItems, onHide: () => c(!1), smallDisplay: o }) : null
1543
+ u && a.subItems ? /* @__PURE__ */ e.jsx(bt, { items: a.subItems, onHide: () => l(!1), smallDisplay: o }) : null
1492
1544
  ] });
1493
1545
  };
1494
- function an({ block: n, smallDisplay: r, onHide: s, globalClick: a, autoHide: l }) {
1546
+ function on({ block: n, smallDisplay: r, onHide: s, globalClick: a, autoHide: c }) {
1495
1547
  function o(u) {
1496
- for (let c of u.items)
1497
- if (c.icon)
1548
+ for (let l of u.items)
1549
+ if (l.icon)
1498
1550
  return !0;
1499
1551
  return !1;
1500
1552
  }
1501
- return /* @__PURE__ */ e.jsx("div", { className: "menu-block", children: n.items.map((u, c) => /* @__PURE__ */ e.jsx(pt, { globalClick: a, autoHide: l, onHide: s, item: u, isIcon: o(n), smallDisplay: r }, c)) });
1553
+ return /* @__PURE__ */ e.jsx("div", { className: "menu-block", children: n.items.map((u, l) => /* @__PURE__ */ e.jsx(kt, { globalClick: a, autoHide: c, onHide: s, item: u, isIcon: o(n), smallDisplay: r }, l)) });
1502
1554
  }
1503
- const yt = 100, qt = (n) => {
1504
- const r = J(null), [s, a] = C({ left: "0px", top: "0px" }), l = () => {
1555
+ const Nt = 100, Zt = (n) => {
1556
+ const r = z(null), [s, a] = N({ left: "0px", top: "0px" }), c = () => {
1505
1557
  n.onHide && n.onHide();
1506
1558
  };
1507
1559
  return A(() => {
1508
- let o = sn(n.x, n.y, r.current, { marginBottom: yt });
1560
+ let o = ln(n.x, n.y, r.current, { marginBottom: Nt });
1509
1561
  a({
1510
1562
  left: o.x + "px",
1511
1563
  top: o.y + "px"
@@ -1513,114 +1565,117 @@ const yt = 100, qt = (n) => {
1513
1565
  }, [n.x, n.y]), n.visible ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1514
1566
  /* @__PURE__ */ e.jsx("div", { ref: r, className: "menu-container", style: { ...s, opacity: s.top !== "0px" ? "100%" : "0%", width: n.width, maxWidth: n.width ? "100%" : void 0 }, children: n.blocks.map((o, u) => /* @__PURE__ */ e.jsxs(xe.Fragment, { children: [
1515
1567
  u !== 0 ? /* @__PURE__ */ e.jsx(he, {}) : null,
1516
- /* @__PURE__ */ e.jsx(an, { block: o, smallDisplay: !1, globalClick: n.onClick, autoHide: n.autoHide, onHide: l })
1568
+ /* @__PURE__ */ e.jsx(on, { block: o, smallDisplay: !1, globalClick: n.onClick, autoHide: n.autoHide, onHide: c })
1517
1569
  ] }, u)) }),
1518
- /* @__PURE__ */ e.jsx("div", { style: { zIndex: 1600 }, className: "backplate", onClick: l, onContextMenu: (o) => {
1570
+ /* @__PURE__ */ e.jsx("div", { style: { zIndex: 1600 }, className: "backplate", onClick: c, onContextMenu: (o) => {
1519
1571
  o.preventDefault();
1520
1572
  } })
1521
1573
  ] }) : null;
1522
- }, Xt = (n) => {
1574
+ }, Qt = (n) => {
1523
1575
  const r = () => {
1524
1576
  };
1525
- return /* @__PURE__ */ e.jsx(Vn, { onHide: n.onHide || r, visible: n.visible, children: /* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-menu-container", children: n.blocks.map((s, a) => /* @__PURE__ */ e.jsxs(xe.Fragment, { children: [
1577
+ return /* @__PURE__ */ e.jsx(Kn, { onHide: n.onHide || r, visible: n.visible, children: /* @__PURE__ */ e.jsx("div", { className: "bottom-sheets-menu-container", children: n.blocks.map((s, a) => /* @__PURE__ */ e.jsxs(xe.Fragment, { children: [
1526
1578
  a !== 0 ? /* @__PURE__ */ e.jsx(he, {}) : null,
1527
- /* @__PURE__ */ e.jsx(an, { block: s, smallDisplay: !0 })
1579
+ /* @__PURE__ */ e.jsx(on, { block: s, smallDisplay: !0 })
1528
1580
  ] }, a)) }) });
1529
1581
  };
1530
- function gt(n) {
1582
+ function Ct(n) {
1531
1583
  let r = [];
1532
1584
  if (n.length > 0)
1533
1585
  for (let s of n)
1534
1586
  for (let a in s) {
1535
- let l = !1;
1587
+ let c = !1;
1536
1588
  for (let o of r)
1537
- o.field === a && (l = !0);
1538
- l || r.push({
1589
+ o.field === a && (c = !0);
1590
+ c || r.push({
1539
1591
  title: a,
1540
1592
  field: a
1541
1593
  });
1542
1594
  }
1543
1595
  return r;
1544
1596
  }
1545
- const bt = ({ data: n, column: r, color: s, backgroundColor: a }) => {
1546
- function l(c, i) {
1597
+ const wt = ({ data: n, column: r, color: s, backgroundColor: a }) => {
1598
+ function c(l, i) {
1547
1599
  for (let h in i)
1548
- if (c === h)
1600
+ if (l === h)
1549
1601
  return i[h];
1550
1602
  }
1551
- function o(c) {
1552
- return typeof c == "number" || typeof c == "string" ? { content: c } : c;
1603
+ function o(l) {
1604
+ return typeof l == "number" || typeof l == "string" ? { content: l } : l;
1553
1605
  }
1554
- function u(c) {
1555
- return c ? Array.isArray(c) ? c.map((i) => o(i)) : [o(c)] : [];
1606
+ function u(l) {
1607
+ return l ? Array.isArray(l) ? l.map((i) => o(i)) : [o(l)] : [];
1556
1608
  }
1557
- return /* @__PURE__ */ e.jsx("td", { style: { backgroundColor: a }, children: u(l(r.field, n)).map((c, i) => /* @__PURE__ */ e.jsx("p", { style: { color: c.color ?? s }, className: c.onClick ? "no-click" : "", onClick: c.onClick, children: typeof c.content == "string" || typeof c.content == "number" ? c.content : /* @__PURE__ */ e.jsx(c.content, {}) }, i)) });
1558
- }, kt = ({ actions: n, item: r, columns: s, onContextMenu: a, onDelete: l, onEdit: o, onClickRow: u, index: c }) => {
1559
- const i = (f) => !f.target.closest(".no-click"), h = (f) => {
1560
- i(f) && u && u(r, c);
1609
+ return /* @__PURE__ */ e.jsx("td", { style: { backgroundColor: a }, children: u(c(r.field, n)).map((l, i) => /* @__PURE__ */ e.jsx("p", { style: { color: l.color ?? s }, className: l.onClick ? "no-click" : "", onClick: l.onClick, children: typeof l.content == "string" || typeof l.content == "number" ? l.content : /* @__PURE__ */ e.jsx(l.content, {}) }, i)) });
1610
+ }, Et = ({ actions: n, item: r, columns: s, onContextMenu: a, onDelete: c, onEdit: o, onClickRow: u, index: l }) => {
1611
+ const i = (d) => !d.target.closest(".no-click"), h = (d) => {
1612
+ i(d) && u && u(r, l);
1561
1613
  };
1562
1614
  return /* @__PURE__ */ e.jsxs("tr", { className: "table-row", onClick: h, children: [
1563
- s.map((f, v) => /* @__PURE__ */ e.jsx(bt, { color: f.color, backgroundColor: f.backgroundColor, column: f, data: r }, v)),
1564
- n ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] no-click", children: /* @__PURE__ */ e.jsx("div", { className: "table-edit-button", children: n.map((f, v) => /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: f.icon, onClick: (m) => f.onClick(m, r, c) }, v)) }) }) : null,
1565
- a || l || o ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] table-edit-button no-click", children: /* @__PURE__ */ e.jsxs("div", { className: "table-edit-button", children: [
1566
- o ? /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: /* @__PURE__ */ e.jsx(Qn, {}), onClick: () => o(r, c) }) : null,
1567
- l ? /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: /* @__PURE__ */ e.jsx(nt, { className: "text-red-500" }), onClick: () => l(r, c) }) : null,
1568
- a ? /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: /* @__PURE__ */ e.jsx(Hn, {}), onClick: (f) => a(f, r, c) }) : null
1615
+ s.map((d, x) => /* @__PURE__ */ e.jsx(wt, { color: d.color, backgroundColor: d.backgroundColor, column: d, data: r }, x)),
1616
+ n ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] no-click", children: /* @__PURE__ */ e.jsx("div", { className: "table-edit-button", children: n.map((d, x) => /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: d.icon, onClick: (j) => d.onClick(j, r, l) }, x)) }) }) : null,
1617
+ a || c || o ? /* @__PURE__ */ e.jsx("td", { className: "w-[180px] table-edit-button no-click", children: /* @__PURE__ */ e.jsxs("div", { className: "table-edit-button", children: [
1618
+ o ? /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: /* @__PURE__ */ e.jsx(tt, {}), onClick: () => o(r, l) }) : null,
1619
+ c ? /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: /* @__PURE__ */ e.jsx(st, { className: "text-red-500" }), onClick: () => c(r, l) }) : null,
1620
+ a ? /* @__PURE__ */ e.jsx(ae, { transparent: !0, icon: /* @__PURE__ */ e.jsx(et, {}), onClick: (d) => a(d, r, l) }) : null
1569
1621
  ] }) }) : null
1570
1622
  ] });
1571
- }, Ut = ({ data: n, columns: r, onDelete: s, onContextMenu: a, onEdit: l, actions: o, onClickRow: u, adaptive: c }) => {
1572
- const [i] = C(r ?? gt(n));
1573
- return /* @__PURE__ */ e.jsx("div", { className: `table-container mt-3 ${u ? "clicked" : ""} ${c ? "auto-rotate" : ""}`, children: /* @__PURE__ */ e.jsxs("table", { children: [
1623
+ }, er = ({ data: n, columns: r, onDelete: s, onContextMenu: a, onEdit: c, actions: o, onClickRow: u, adaptive: l }) => {
1624
+ const [i] = N(r ?? Ct(n));
1625
+ return /* @__PURE__ */ e.jsx("div", { className: `table-container mt-3 ${u ? "clicked" : ""} ${l ? "auto-rotate" : ""}`, children: /* @__PURE__ */ e.jsxs("table", { children: [
1574
1626
  /* @__PURE__ */ e.jsx("thead", { children: /* @__PURE__ */ e.jsxs("tr", { children: [
1575
- i.map((h, f) => /* @__PURE__ */ e.jsx("th", { className: "min-width", children: h.title }, f)),
1627
+ i.map((h, d) => /* @__PURE__ */ e.jsx("th", { className: "min-width", children: h.title }, d)),
1576
1628
  o ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header", children: "actions" }) : null,
1577
- s || a || l ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header" }) : null
1629
+ s || a || c ? /* @__PURE__ */ e.jsx("th", { className: "table-actions-header" }) : null
1578
1630
  ] }) }),
1579
- /* @__PURE__ */ e.jsx("tbody", { children: n.map((h, f) => /* @__PURE__ */ e.jsx(kt, { onClickRow: u, actions: o, index: f, columns: i, item: h, onDelete: s, onContextMenu: a, onEdit: l }, f)) })
1631
+ /* @__PURE__ */ e.jsx("tbody", { children: n.map((h, d) => /* @__PURE__ */ e.jsx(Et, { onClickRow: u, actions: o, index: d, columns: i, item: h, onDelete: s, onContextMenu: a, onEdit: c }, d)) })
1580
1632
  ] }) });
1581
1633
  };
1582
1634
  export {
1583
- Ln as BaseActionCard,
1584
- ce as BaseButton,
1585
- It as BaseDialog,
1586
- rt as BaseRadioButton,
1587
- U as BasicTemplateDialog,
1588
- wt as BigContainer,
1589
- Vn as BottomSheetsUi,
1590
- Yn as Button,
1591
- Ct as Card,
1592
- Et as Checkbox,
1593
- tt as Chips,
1594
- Vt as DayOfWeekField,
1635
+ Un as BaseActionCard,
1636
+ le as BaseButton,
1637
+ zt as BaseDialog,
1638
+ ct as BaseRadioButton,
1639
+ J as BasicTemplateDialog,
1640
+ _t as BigContainer,
1641
+ Kn as BottomSheetsUi,
1642
+ Vn as Button,
1643
+ Rt as Card,
1644
+ St as Checkbox,
1645
+ at as Chips,
1646
+ Jt as DayOfWeekField,
1595
1647
  he as Divider,
1596
- _t as FAB,
1597
- St as FieldContainer,
1598
- In as FilledButton,
1599
- Fn as FilledTotalButton,
1600
- Ft as FullScrinTemplateDialog,
1601
- Kt as GridLayout,
1602
- zt as GridLayoutItem,
1648
+ Mt as FAB,
1649
+ Pt as FieldContainer,
1650
+ Wn as FilledButton,
1651
+ Yn as FilledTotalButton,
1652
+ Lt as FullScrinTemplateDialog,
1653
+ Gt as GridLayout,
1654
+ Ht as GridLayoutItem,
1603
1655
  ae as IconButton,
1604
- Bn as ListContainer,
1605
- Wn as ListItem,
1606
- qt as Menu,
1607
- Ot as MoreText,
1608
- An as OutlineButton,
1609
- Rt as RadioButton,
1610
- Dt as RunningLine,
1611
- Mt as ScrollContainer,
1612
- Pt as Search,
1613
- Yt as SelectionDialog,
1614
- Xt as SmallWindowMenu,
1615
- $t as Snackbar,
1616
- At as Switch,
1617
- Ut as Table,
1618
- Tt as TextArea,
1656
+ Ln as ListContainer,
1657
+ zn as ListItem,
1658
+ Zt as Menu,
1659
+ At as MoreText,
1660
+ Bn as OutlineButton,
1661
+ Dt as RadioButton,
1662
+ $t as RunningLine,
1663
+ Ft as ScrollContainer,
1664
+ It as Search,
1665
+ Ut as SelectionDialog,
1666
+ Wt as SigmentedButton,
1667
+ Vt as Slider,
1668
+ Qt as SmallWindowMenu,
1669
+ Bt as Snackbar,
1670
+ Yt as Switch,
1671
+ er as Table,
1672
+ Ot as TextArea,
1619
1673
  P as TextButton,
1620
- Bt as TextDialog,
1621
- rn as TextField,
1622
- Lt as TimePicker,
1623
- jt as getContainerData,
1624
- sn as getModalWindowCord,
1625
- Wt as СalendarPickers
1674
+ Kt as TextDialog,
1675
+ an as TextField,
1676
+ qt as TimePicker,
1677
+ cn as getContainerData,
1678
+ ln as getModalWindowCord,
1679
+ ot as map,
1680
+ Xt as СalendarPickers
1626
1681
  };