elcrm 0.9.126 → 0.9.127

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -46,29 +46,29 @@ var Ge = {};
46
46
  var hn;
47
47
  function ar() {
48
48
  return hn || (hn = 1, process.env.NODE_ENV !== "production" && function() {
49
- var e = m, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), v = Symbol.iterator, g = "@@iterator";
50
- function p(d) {
49
+ var e = m, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), v = Symbol.iterator, p = "@@iterator";
50
+ function g(d) {
51
51
  if (d === null || typeof d != "object")
52
52
  return null;
53
- var j = v && d[v] || d[g];
54
- return typeof j == "function" ? j : null;
53
+ var k = v && d[v] || d[p];
54
+ return typeof k == "function" ? k : null;
55
55
  }
56
- var k = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
57
- function y(d) {
56
+ var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
57
+ function j(d) {
58
58
  {
59
- for (var j = arguments.length, D = new Array(j > 1 ? j - 1 : 0), F = 1; F < j; F++)
59
+ for (var k = arguments.length, D = new Array(k > 1 ? k - 1 : 0), F = 1; F < k; F++)
60
60
  D[F - 1] = arguments[F];
61
- N("error", d, D);
61
+ T("error", d, D);
62
62
  }
63
63
  }
64
- function N(d, j, D) {
64
+ function T(d, k, D) {
65
65
  {
66
- var F = k.ReactDebugCurrentFrame, Z = F.getStackAddendum();
67
- Z !== "" && (j += "%s", D = D.concat([Z]));
66
+ var F = y.ReactDebugCurrentFrame, Z = F.getStackAddendum();
67
+ Z !== "" && (k += "%s", D = D.concat([Z]));
68
68
  var K = D.map(function(G) {
69
69
  return String(G);
70
70
  });
71
- K.unshift("Warning: " + j), Function.prototype.apply.call(console[d], console, K);
71
+ K.unshift("Warning: " + k), Function.prototype.apply.call(console[d], console, K);
72
72
  }
73
73
  }
74
74
  var L = !1, $ = !1, R = !1, I = !1, E = !1, P;
@@ -80,11 +80,11 @@ function ar() {
80
80
  // with.
81
81
  d.$$typeof === P || d.getModuleId !== void 0));
82
82
  }
83
- function b(d, j, D) {
83
+ function b(d, k, D) {
84
84
  var F = d.displayName;
85
85
  if (F)
86
86
  return F;
87
- var Z = j.displayName || j.name || "";
87
+ var Z = k.displayName || k.name || "";
88
88
  return Z !== "" ? D + "(" + Z + ")" : D;
89
89
  }
90
90
  function S(d) {
@@ -93,7 +93,7 @@ function ar() {
93
93
  function C(d) {
94
94
  if (d == null)
95
95
  return null;
96
- if (typeof d.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof d == "function")
96
+ if (typeof d.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof d == "function")
97
97
  return d.displayName || d.name || null;
98
98
  if (typeof d == "string")
99
99
  return d;
@@ -114,8 +114,8 @@ function ar() {
114
114
  if (typeof d == "object")
115
115
  switch (d.$$typeof) {
116
116
  case l:
117
- var j = d;
118
- return S(j) + ".Consumer";
117
+ var k = d;
118
+ return S(k) + ".Consumer";
119
119
  case o:
120
120
  var D = d;
121
121
  return S(D._context) + ".Provider";
@@ -135,7 +135,7 @@ function ar() {
135
135
  }
136
136
  return null;
137
137
  }
138
- var T = Object.assign, W = 0, ee, oe, ve, Ie, Pe, Qe, Vt;
138
+ var N = Object.assign, W = 0, ee, oe, ve, Ie, Pe, Qe, Vt;
139
139
  function Xt() {
140
140
  }
141
141
  Xt.__reactDisabledLog = !0;
@@ -171,34 +171,34 @@ function ar() {
171
171
  writable: !0
172
172
  };
173
173
  Object.defineProperties(console, {
174
- log: T({}, d, {
174
+ log: N({}, d, {
175
175
  value: ee
176
176
  }),
177
- info: T({}, d, {
177
+ info: N({}, d, {
178
178
  value: oe
179
179
  }),
180
- warn: T({}, d, {
180
+ warn: N({}, d, {
181
181
  value: ve
182
182
  }),
183
- error: T({}, d, {
183
+ error: N({}, d, {
184
184
  value: Ie
185
185
  }),
186
- group: T({}, d, {
186
+ group: N({}, d, {
187
187
  value: Pe
188
188
  }),
189
- groupCollapsed: T({}, d, {
189
+ groupCollapsed: N({}, d, {
190
190
  value: Qe
191
191
  }),
192
- groupEnd: T({}, d, {
192
+ groupEnd: N({}, d, {
193
193
  value: Vt
194
194
  })
195
195
  });
196
196
  }
197
- W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
197
+ W < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
198
198
  }
199
199
  }
200
- var ft = k.ReactCurrentDispatcher, mt;
201
- function et(d, j, D) {
200
+ var ft = y.ReactCurrentDispatcher, mt;
201
+ function et(d, k, D) {
202
202
  {
203
203
  if (mt === void 0)
204
204
  try {
@@ -216,7 +216,7 @@ function ar() {
216
216
  var Sa = typeof WeakMap == "function" ? WeakMap : Map;
217
217
  tt = new Sa();
218
218
  }
219
- function Qt(d, j) {
219
+ function Qt(d, k) {
220
220
  if (!d || ht)
221
221
  return "";
222
222
  {
@@ -231,7 +231,7 @@ function ar() {
231
231
  var K;
232
232
  K = ft.current, ft.current = null, ba();
233
233
  try {
234
- if (j) {
234
+ if (k) {
235
235
  var G = function() {
236
236
  throw Error();
237
237
  };
@@ -287,14 +287,14 @@ function ar() {
287
287
  var Ne = d ? d.displayName || d.name : "", Ee = Ne ? et(Ne) : "";
288
288
  return typeof d == "function" && tt.set(d, Ee), Ee;
289
289
  }
290
- function Ea(d, j, D) {
290
+ function Ea(d, k, D) {
291
291
  return Qt(d, !1);
292
292
  }
293
293
  function Da(d) {
294
- var j = d.prototype;
295
- return !!(j && j.isReactComponent);
294
+ var k = d.prototype;
295
+ return !!(k && k.isReactComponent);
296
296
  }
297
- function nt(d, j, D) {
297
+ function nt(d, k, D) {
298
298
  if (d == null)
299
299
  return "";
300
300
  if (typeof d == "function")
@@ -312,26 +312,26 @@ function ar() {
312
312
  case c:
313
313
  return Ea(d.render);
314
314
  case x:
315
- return nt(d.type, j, D);
315
+ return nt(d.type, k, D);
316
316
  case f: {
317
317
  var F = d, Z = F._payload, K = F._init;
318
318
  try {
319
- return nt(K(Z), j, D);
319
+ return nt(K(Z), k, D);
320
320
  } catch {
321
321
  }
322
322
  }
323
323
  }
324
324
  return "";
325
325
  }
326
- var Oe = Object.prototype.hasOwnProperty, en = {}, tn = k.ReactDebugCurrentFrame;
326
+ var Oe = Object.prototype.hasOwnProperty, en = {}, tn = y.ReactDebugCurrentFrame;
327
327
  function at(d) {
328
328
  if (d) {
329
- var j = d._owner, D = nt(d.type, d._source, j ? j.type : null);
329
+ var k = d._owner, D = nt(d.type, d._source, k ? k.type : null);
330
330
  tn.setExtraStackFrame(D);
331
331
  } else
332
332
  tn.setExtraStackFrame(null);
333
333
  }
334
- function Ra(d, j, D, F, Z) {
334
+ function Ra(d, k, D, F, Z) {
335
335
  {
336
336
  var K = Function.call.bind(Oe);
337
337
  for (var G in d)
@@ -342,11 +342,11 @@ function ar() {
342
342
  var ne = Error((F || "React class") + ": " + D + " type `" + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[G] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
343
343
  throw ne.name = "Invariant Violation", ne;
344
344
  }
345
- U = d[G](j, G, F, D, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
+ U = d[G](k, G, F, D, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
346
346
  } catch (V) {
347
347
  U = V;
348
348
  }
349
- U && !(U instanceof Error) && (at(Z), y("%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).", F || "React class", D, G, typeof U), at(null)), U instanceof Error && !(U.message in en) && (en[U.message] = !0, at(Z), y("Failed %s type: %s", D, U.message), at(null));
349
+ U && !(U instanceof Error) && (at(Z), j("%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).", F || "React class", D, G, typeof U), at(null)), U instanceof Error && !(U.message in en) && (en[U.message] = !0, at(Z), j("Failed %s type: %s", D, U.message), at(null));
350
350
  }
351
351
  }
352
352
  }
@@ -356,7 +356,7 @@ function ar() {
356
356
  }
357
357
  function Ta(d) {
358
358
  {
359
- var j = typeof Symbol == "function" && Symbol.toStringTag, D = j && d[Symbol.toStringTag] || d.constructor.name || "Object";
359
+ var k = typeof Symbol == "function" && Symbol.toStringTag, D = k && d[Symbol.toStringTag] || d.constructor.name || "Object";
360
360
  return D;
361
361
  }
362
362
  }
@@ -372,9 +372,9 @@ function ar() {
372
372
  }
373
373
  function an(d) {
374
374
  if (Na(d))
375
- return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ta(d)), nn(d);
375
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ta(d)), nn(d);
376
376
  }
377
- var Ae = k.ReactCurrentOwner, Ma = {
377
+ var Ae = y.ReactCurrentOwner, Ma = {
378
378
  key: !0,
379
379
  ref: !0,
380
380
  __self: !0,
@@ -383,30 +383,30 @@ function ar() {
383
383
  gt = {};
384
384
  function La(d) {
385
385
  if (Oe.call(d, "ref")) {
386
- var j = Object.getOwnPropertyDescriptor(d, "ref").get;
387
- if (j && j.isReactWarning)
386
+ var k = Object.getOwnPropertyDescriptor(d, "ref").get;
387
+ if (k && k.isReactWarning)
388
388
  return !1;
389
389
  }
390
390
  return d.ref !== void 0;
391
391
  }
392
392
  function $a(d) {
393
393
  if (Oe.call(d, "key")) {
394
- var j = Object.getOwnPropertyDescriptor(d, "key").get;
395
- if (j && j.isReactWarning)
394
+ var k = Object.getOwnPropertyDescriptor(d, "key").get;
395
+ if (k && k.isReactWarning)
396
396
  return !1;
397
397
  }
398
398
  return d.key !== void 0;
399
399
  }
400
- function Ba(d, j) {
401
- if (typeof d.ref == "string" && Ae.current && j && Ae.current.stateNode !== j) {
400
+ function Ba(d, k) {
401
+ if (typeof d.ref == "string" && Ae.current && k && Ae.current.stateNode !== k) {
402
402
  var D = C(Ae.current.type);
403
- gt[D] || (y('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', C(Ae.current.type), d.ref), gt[D] = !0);
403
+ gt[D] || (j('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', C(Ae.current.type), d.ref), gt[D] = !0);
404
404
  }
405
405
  }
406
- function Fa(d, j) {
406
+ function Fa(d, k) {
407
407
  {
408
408
  var D = function() {
409
- rn || (rn = !0, y("%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)", j));
409
+ rn || (rn = !0, j("%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)", k));
410
410
  };
411
411
  D.isReactWarning = !0, Object.defineProperty(d, "key", {
412
412
  get: D,
@@ -414,10 +414,10 @@ function ar() {
414
414
  });
415
415
  }
416
416
  }
417
- function Pa(d, j) {
417
+ function Pa(d, k) {
418
418
  {
419
419
  var D = function() {
420
- sn || (sn = !0, y("%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)", j));
420
+ sn || (sn = !0, j("%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)", k));
421
421
  };
422
422
  D.isReactWarning = !0, Object.defineProperty(d, "ref", {
423
423
  get: D,
@@ -425,13 +425,13 @@ function ar() {
425
425
  });
426
426
  }
427
427
  }
428
- var Oa = function(d, j, D, F, Z, K, G) {
428
+ var Oa = function(d, k, D, F, Z, K, G) {
429
429
  var U = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
431
  $$typeof: t,
432
432
  // Built-in properties that belong on the element
433
433
  type: d,
434
- key: j,
434
+ key: k,
435
435
  ref: D,
436
436
  props: G,
437
437
  // Record the component responsible for creating this element.
@@ -454,12 +454,12 @@ function ar() {
454
454
  value: Z
455
455
  }), Object.freeze && (Object.freeze(U.props), Object.freeze(U)), U;
456
456
  };
457
- function Aa(d, j, D, F, Z) {
457
+ function Aa(d, k, D, F, Z) {
458
458
  {
459
459
  var K, G = {}, U = null, ne = null;
460
- D !== void 0 && (an(D), U = "" + D), $a(j) && (an(j.key), U = "" + j.key), La(j) && (ne = j.ref, Ba(j, Z));
461
- for (K in j)
462
- Oe.call(j, K) && !Ma.hasOwnProperty(K) && (G[K] = j[K]);
460
+ D !== void 0 && (an(D), U = "" + D), $a(k) && (an(k.key), U = "" + k.key), La(k) && (ne = k.ref, Ba(k, Z));
461
+ for (K in k)
462
+ Oe.call(k, K) && !Ma.hasOwnProperty(K) && (G[K] = k[K]);
463
463
  if (d && d.defaultProps) {
464
464
  var V = d.defaultProps;
465
465
  for (K in V)
@@ -472,10 +472,10 @@ function ar() {
472
472
  return Oa(d, U, ne, Z, F, Ae.current, G);
473
473
  }
474
474
  }
475
- var xt = k.ReactCurrentOwner, on = k.ReactDebugCurrentFrame;
475
+ var xt = y.ReactCurrentOwner, on = y.ReactDebugCurrentFrame;
476
476
  function Te(d) {
477
477
  if (d) {
478
- var j = d._owner, D = nt(d.type, d._source, j ? j.type : null);
478
+ var k = d._owner, D = nt(d.type, d._source, k ? k.type : null);
479
479
  on.setExtraStackFrame(D);
480
480
  } else
481
481
  on.setExtraStackFrame(null);
@@ -503,87 +503,87 @@ Check the render method of \`` + d + "`.";
503
503
  var cn = {};
504
504
  function Ga(d) {
505
505
  {
506
- var j = ln();
507
- if (!j) {
506
+ var k = ln();
507
+ if (!k) {
508
508
  var D = typeof d == "string" ? d : d.displayName || d.name;
509
- D && (j = `
509
+ D && (k = `
510
510
 
511
511
  Check the top-level render call using <` + D + ">.");
512
512
  }
513
- return j;
513
+ return k;
514
514
  }
515
515
  }
516
- function dn(d, j) {
516
+ function dn(d, k) {
517
517
  {
518
518
  if (!d._store || d._store.validated || d.key != null)
519
519
  return;
520
520
  d._store.validated = !0;
521
- var D = Ga(j);
521
+ var D = Ga(k);
522
522
  if (cn[D])
523
523
  return;
524
524
  cn[D] = !0;
525
525
  var F = "";
526
- d && d._owner && d._owner !== xt.current && (F = " It was passed a child from " + C(d._owner.type) + "."), Te(d), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', D, F), Te(null);
526
+ d && d._owner && d._owner !== xt.current && (F = " It was passed a child from " + C(d._owner.type) + "."), Te(d), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', D, F), Te(null);
527
527
  }
528
528
  }
529
- function _n(d, j) {
529
+ function _n(d, k) {
530
530
  {
531
531
  if (typeof d != "object")
532
532
  return;
533
533
  if (pt(d))
534
534
  for (var D = 0; D < d.length; D++) {
535
535
  var F = d[D];
536
- Ct(F) && dn(F, j);
536
+ Ct(F) && dn(F, k);
537
537
  }
538
538
  else if (Ct(d))
539
539
  d._store && (d._store.validated = !0);
540
540
  else if (d) {
541
- var Z = p(d);
541
+ var Z = g(d);
542
542
  if (typeof Z == "function" && Z !== d.entries)
543
543
  for (var K = Z.call(d), G; !(G = K.next()).done; )
544
- Ct(G.value) && dn(G.value, j);
544
+ Ct(G.value) && dn(G.value, k);
545
545
  }
546
546
  }
547
547
  }
548
548
  function Za(d) {
549
549
  {
550
- var j = d.type;
551
- if (j == null || typeof j == "string")
550
+ var k = d.type;
551
+ if (k == null || typeof k == "string")
552
552
  return;
553
553
  var D;
554
- if (typeof j == "function")
555
- D = j.propTypes;
556
- else if (typeof j == "object" && (j.$$typeof === c || // Note: Memo only checks outer props here.
554
+ if (typeof k == "function")
555
+ D = k.propTypes;
556
+ else if (typeof k == "object" && (k.$$typeof === c || // Note: Memo only checks outer props here.
557
557
  // Inner props are checked in the reconciler.
558
- j.$$typeof === x))
559
- D = j.propTypes;
558
+ k.$$typeof === x))
559
+ D = k.propTypes;
560
560
  else
561
561
  return;
562
562
  if (D) {
563
- var F = C(j);
563
+ var F = C(k);
564
564
  Ra(D, d.props, "prop", F, d);
565
- } else if (j.PropTypes !== void 0 && !vt) {
565
+ } else if (k.PropTypes !== void 0 && !vt) {
566
566
  vt = !0;
567
- var Z = C(j);
568
- y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Z || "Unknown");
567
+ var Z = C(k);
568
+ j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Z || "Unknown");
569
569
  }
570
- typeof j.getDefaultProps == "function" && !j.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
570
+ typeof k.getDefaultProps == "function" && !k.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
571
571
  }
572
572
  }
573
573
  function za(d) {
574
574
  {
575
- for (var j = Object.keys(d.props), D = 0; D < j.length; D++) {
576
- var F = j[D];
575
+ for (var k = Object.keys(d.props), D = 0; D < k.length; D++) {
576
+ var F = k[D];
577
577
  if (F !== "children" && F !== "key") {
578
- Te(d), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", F), Te(null);
578
+ Te(d), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", F), Te(null);
579
579
  break;
580
580
  }
581
581
  }
582
- d.ref !== null && (Te(d), y("Invalid attribute `ref` supplied to `React.Fragment`."), Te(null));
582
+ d.ref !== null && (Te(d), j("Invalid attribute `ref` supplied to `React.Fragment`."), Te(null));
583
583
  }
584
584
  }
585
585
  var un = {};
586
- function fn(d, j, D, F, Z, K) {
586
+ function fn(d, k, D, F, Z, K) {
587
587
  {
588
588
  var G = B(d);
589
589
  if (!G) {
@@ -592,13 +592,13 @@ Check the top-level render call using <` + D + ">.");
592
592
  var ne = Ua();
593
593
  ne ? U += ne : U += ln();
594
594
  var V;
595
- d === null ? V = "null" : pt(d) ? V = "array" : d !== void 0 && d.$$typeof === t ? (V = "<" + (C(d.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : V = typeof d, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, U);
595
+ d === null ? V = "null" : pt(d) ? V = "array" : d !== void 0 && d.$$typeof === t ? (V = "<" + (C(d.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : V = typeof d, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", V, U);
596
596
  }
597
- var Q = Aa(d, j, D, Z, K);
597
+ var Q = Aa(d, k, D, Z, K);
598
598
  if (Q == null)
599
599
  return Q;
600
600
  if (G) {
601
- var ce = j.children;
601
+ var ce = k.children;
602
602
  if (ce !== void 0)
603
603
  if (F)
604
604
  if (pt(ce)) {
@@ -606,17 +606,17 @@ Check the top-level render call using <` + D + ">.");
606
606
  _n(ce[Ne], d);
607
607
  Object.freeze && Object.freeze(ce);
608
608
  } else
609
- y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
609
+ j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
610
610
  else
611
611
  _n(ce, d);
612
612
  }
613
- if (Oe.call(j, "key")) {
614
- var Ee = C(d), re = Object.keys(j).filter(function(Ja) {
613
+ if (Oe.call(k, "key")) {
614
+ var Ee = C(d), re = Object.keys(k).filter(function(Ja) {
615
615
  return Ja !== "key";
616
616
  }), jt = re.length > 0 ? "{key: someKey, " + re.join(": ..., ") + ": ...}" : "{key: someKey}";
617
617
  if (!un[Ee + jt]) {
618
618
  var qa = re.length > 0 ? "{" + re.join(": ..., ") + ": ...}" : "{}";
619
- y(`A props object containing a "key" prop is being spread into JSX:
619
+ j(`A props object containing a "key" prop is being spread into JSX:
620
620
  let props = %s;
621
621
  <%s {...props} />
622
622
  React keys must be passed directly to JSX without using spread:
@@ -627,11 +627,11 @@ React keys must be passed directly to JSX without using spread:
627
627
  return d === r ? za(Q) : Za(Q), Q;
628
628
  }
629
629
  }
630
- function Wa(d, j, D) {
631
- return fn(d, j, D, !0);
630
+ function Wa(d, k, D) {
631
+ return fn(d, k, D, !0);
632
632
  }
633
- function Ka(d, j, D) {
634
- return fn(d, j, D, !1);
633
+ function Ka(d, k, D) {
634
+ return fn(d, k, D, !1);
635
635
  }
636
636
  var Ha = Ka, Ya = Wa;
637
637
  Ge.Fragment = r, Ge.jsx = Ha, Ge.jsxs = Ya;
@@ -1349,16 +1349,16 @@ function $s(e) {
1349
1349
  };
1350
1350
  }
1351
1351
  const Bs = (e) => {
1352
- function t(N, L) {
1352
+ function t(T, L) {
1353
1353
  var $, I, R;
1354
- N = N ?? "", L = L ?? 1;
1355
- for (var $ = [], R = 0, I = N.length; R < I; )
1356
- $.push(N.slice(R, R += L));
1354
+ T = T ?? "", L = L ?? 1;
1355
+ for (var $ = [], R = 0, I = T.length; R < I; )
1356
+ $.push(T.slice(R, R += L));
1357
1357
  return $;
1358
1358
  }
1359
- function n(N, L) {
1359
+ function n(T, L) {
1360
1360
  var $ = [2, 0, 1, 1, 1, 2];
1361
- return L[N > 4 && N < 20 ? 2 : $[Math.min(N, 5)]];
1361
+ return L[T > 4 && T < 20 ? 2 : $[Math.min(T, 5)]];
1362
1362
  }
1363
1363
  var r = {
1364
1364
  null: "ноль",
@@ -1422,29 +1422,29 @@ const Bs = (e) => {
1422
1422
  u3: ["тысяча", "тысячи", "тысяч"],
1423
1423
  u2: ["миллион", "миллиона", "миллионов"],
1424
1424
  u1: ["миллиард", "миллиарда", "миллиардов"]
1425
- }, s, i, o, l, p, c, _, g, u, x, f, h;
1425
+ }, s, i, o, l, g, c, _, p, u, x, f, h;
1426
1426
  u = parseFloat(e).toFixed(2).split("."), c = u[0], l = u[1];
1427
1427
  var v = 12 - c.length;
1428
1428
  if (v < 0)
1429
1429
  return !1;
1430
- for (var g = []; v--; )
1431
- g.push("0");
1432
- c = g.join("") + c;
1433
- var p = [];
1430
+ for (var p = []; v--; )
1431
+ p.push("0");
1432
+ c = p.join("") + c;
1433
+ var g = [];
1434
1434
  if (c > 0) {
1435
1435
  x = t(c, 3);
1436
- for (var k = -1; k < x.length; k++)
1437
- if (_ = x[k], _ > 0 && (f = t(_, 1), s = parseInt(f[0]), i = parseInt(f[1]), o = parseInt(f[2]), p.push(r.a100[s - 1]), h = k + 1 == 3 ? "a2" : "a1", i > 1 ? p.push(
1436
+ for (var y = -1; y < x.length; y++)
1437
+ if (_ = x[y], _ > 0 && (f = t(_, 1), s = parseInt(f[0]), i = parseInt(f[1]), o = parseInt(f[2]), g.push(r.a100[s - 1]), h = y + 1 == 3 ? "a2" : "a1", i > 1 ? g.push(
1438
1438
  r.a20[i - 2] + (o > 0 ? " " + r[h][o - 1] : "")
1439
- ) : p.push(
1439
+ ) : g.push(
1440
1440
  i > 0 ? r.a10[o] : r[h][o - 1]
1441
- ), x.length > k + 1)) {
1442
- var y = r["u" + (k + 1)];
1443
- p.push(n(_, y));
1441
+ ), x.length > y + 1)) {
1442
+ var j = r["u" + (y + 1)];
1443
+ g.push(n(_, j));
1444
1444
  }
1445
1445
  } else
1446
- p.push(r.null);
1447
- return p.push(n(c, r.ur)), p.push(l + " " + n(l, r.uc)), p.join(" ").replace(RegExp(" {2,}", "g"), " ").trimLeft();
1446
+ g.push(r.null);
1447
+ return g.push(n(c, r.ur)), g.push(l + " " + n(l, r.uc)), g.join(" ").replace(RegExp(" {2,}", "g"), " ").trimLeft();
1448
1448
  };
1449
1449
  function Fs(e) {
1450
1450
  let t = -1, n = [" kB", " MB", " GB", " TB", "PB", "EB", "ZB", "YB"];
@@ -2451,15 +2451,15 @@ const mo = "_btn_294gf_1", ho = "_confirm_294gf_15", po = "_cancel_294gf_20", go
2451
2451
  awaitText: f = "Ожидайте"
2452
2452
  }) => {
2453
2453
  let [h, v] = m.useState(!1);
2454
- const g = (k) => {
2454
+ const p = (y) => {
2455
2455
  if (e) return e();
2456
- h || (t ? (v(!0), t(v)) : k.preventDefault());
2456
+ h || (t ? (v(!0), t(v)) : y.preventDefault());
2457
2457
  };
2458
- let p = {};
2459
- return (o || h) && (p.disabled = !0), /* @__PURE__ */ a.jsx(
2458
+ let g = {};
2459
+ return (o || h) && (g.disabled = !0), /* @__PURE__ */ a.jsx(
2460
2460
  "button",
2461
2461
  {
2462
- ...p,
2462
+ ...g,
2463
2463
  ref: x,
2464
2464
  className: [
2465
2465
  st.btn,
@@ -2467,7 +2467,7 @@ const mo = "_btn_294gf_1", ho = "_confirm_294gf_15", po = "_cancel_294gf_20", go
2467
2467
  n && st[n],
2468
2468
  l
2469
2469
  ].join(" "),
2470
- onClick: g,
2470
+ onClick: p,
2471
2471
  children: h ? f : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
2472
2472
  _ || "",
2473
2473
  " ",
@@ -3732,17 +3732,17 @@ function Qn({
3732
3732
  return pe.useListener("list_children", (h) => {
3733
3733
  if (h.action === "edit") {
3734
3734
  let v = c.map(
3735
- (g) => g.id === h.id ? Object.assign(g, { [h.name]: h.value }) : g
3735
+ (p) => p.id === h.id ? Object.assign(p, { [h.name]: h.value }) : p
3736
3736
  );
3737
3737
  l(v), _(v);
3738
3738
  }
3739
3739
  if (h.action === "delete") {
3740
- let v = c.filter((g) => g.id !== h.id);
3740
+ let v = c.filter((p) => p.id !== h.id);
3741
3741
  l(v), _(v);
3742
3742
  }
3743
3743
  }), pe.useListener("search", (h) => {
3744
3744
  l(
3745
- c.filter((v) => ("" + s.map((p) => v[p]).toString()).toLowerCase().includes(h.toLowerCase()))
3745
+ c.filter((v) => ("" + s.map((g) => v[g]).toString()).toLowerCase().includes(h.toLowerCase()))
3746
3746
  );
3747
3747
  }), m.useEffect(() => {
3748
3748
  f(), n && pe.setListener("button", n);
@@ -3892,16 +3892,16 @@ const Fe = () => (yt || (yt = new mc()), yt), Se = (e, t, n = Fe()) => n._withID
3892
3892
  }, gc = (e, t, n = [], r = {}) => {
3893
3893
  let s = n.length !== 0, i = [], o = r.sort, l = Object.keys(r).length !== 0, c = Object.keys(r), _ = Object.keys(e), u = [], x = (h) => {
3894
3894
  let v = "";
3895
- if (n.forEach((g) => {
3896
- v += t[h][g];
3895
+ if (n.forEach((p) => {
3896
+ v += t[h][p];
3897
3897
  }), l) {
3898
- let g = {};
3899
- c.forEach((p) => {
3900
- g[p] = t[h][p];
3898
+ let p = {};
3899
+ c.forEach((g) => {
3900
+ p[g] = t[h][g];
3901
3901
  });
3902
- for (let p in o)
3903
- t[h][o[p]] === void 0 && (Ft(), location.reload()), p === "s1" && (g[p] = new Date(t[h][o[p]]).getTime()), p === "s2" && (g[p] = t[h][o[p]]), p === "s3" && (g[p] = t[h][o[p]].replace(/[^a-zа-яё]/gi, "").substring(0, 1));
3904
- i.push({ id: h, text: v, ...g });
3902
+ for (let g in o)
3903
+ t[h][o[g]] === void 0 && (Ft(), location.reload()), g === "s1" && (p[g] = new Date(t[h][o[g]]).getTime()), g === "s2" && (p[g] = t[h][o[g]]), g === "s3" && (p[g] = t[h][o[g]].replace(/[^a-zа-яё]/gi, "").substring(0, 1));
3904
+ i.push({ id: h, text: v, ...p });
3905
3905
  } else
3906
3906
  i.push({ id: h, text: v });
3907
3907
  }, f = (h) => {
@@ -4112,22 +4112,22 @@ function He({
4112
4112
  show: f = !0,
4113
4113
  maxLength: h,
4114
4114
  view: v,
4115
- onBlur: g,
4116
- onSave: p,
4117
- className: k = "",
4118
- isCopy: y = !0,
4119
- isReload: N = !1
4115
+ onBlur: p,
4116
+ onSave: g,
4117
+ className: y = "",
4118
+ isCopy: j = !0,
4119
+ isReload: T = !1
4120
4120
  }) {
4121
4121
  let L = !!(l && (t === "" || t === void 0)), $ = (S) => {
4122
4122
  n && n({
4123
4123
  value: S.target.textContent.trim(),
4124
4124
  name: r,
4125
- reload: N
4125
+ reload: T
4126
4126
  });
4127
4127
  }, R = (S) => {
4128
4128
  h && S.target.textContent.trim().length >= h && S.key !== "Backspace" && S.preventDefault(), S.key === "Enter" && S.preventDefault();
4129
4129
  }, I = (S) => {
4130
- y && (S.preventDefault(), navigator.clipboard.writeText(S.target.textContent.trim()).then(
4130
+ j && (S.preventDefault(), navigator.clipboard.writeText(S.target.textContent.trim()).then(
4131
4131
  function() {
4132
4132
  Ce.Copy("Данные в буфер обмене");
4133
4133
  },
@@ -4137,9 +4137,9 @@ function He({
4137
4137
  }, E = (S) => {
4138
4138
  S.preventDefault(), navigator.clipboard.readText().then((C) => {
4139
4139
  if (h) {
4140
- let T = S.target.textContent.length;
4141
- if (T >= h) return;
4142
- h -= T, C = C.slice(0, h);
4140
+ let N = S.target.textContent.length;
4141
+ if (N >= h) return;
4142
+ h -= N, C = C.slice(0, h);
4143
4143
  }
4144
4144
  window.document.execCommand(
4145
4145
  "insertText",
@@ -4151,11 +4151,11 @@ function He({
4151
4151
  };
4152
4152
  if (!(c && _) && !f || !(c && _) && L) return "";
4153
4153
  const P = {};
4154
- P.field = "input", k && (P.className = k);
4154
+ P.field = "input", y && (P.className = y);
4155
4155
  const B = {};
4156
4156
  s && (B.placeholder = s), c && _ && (B.edit = "");
4157
4157
  const b = (S) => {
4158
- z.Blur(S), p == null || p({ value: S.target.textContent.trim(), name: r });
4158
+ z.Blur(S), g == null || g({ value: S.target.textContent.trim(), name: r });
4159
4159
  };
4160
4160
  return /* @__PURE__ */ a.jsxs("dl", { ...P, children: [
4161
4161
  i ? /* @__PURE__ */ a.jsx("dt", { children: i }) : "",
@@ -4217,36 +4217,36 @@ function ra({
4217
4217
  u.current.value.length > 0 ? u.current.send && (n(!0), u.current.send = !1, u.current.timerId = setTimeout(() => {
4218
4218
  u.current.send = !0;
4219
4219
  }, 3e3)) : n(!1);
4220
- }, f = (y) => {
4221
- u.current.value = y.target.textContent, x();
4222
- }, h = (y) => {
4223
- y.keyCode === 16 && (u.current.shift = !0), y.keyCode === 13 && !u.current.shift && (y.preventDefault(), u.current.value.length !== 0 && (y.target.textContent = "", r && r(u.current.value), t && t(u.current.value), u.current.value = "", n(!1)));
4224
- }, v = (y) => {
4225
- y.keyCode === 16 && (u.current.shift = !1);
4226
- }, g = (y) => {
4227
- y.preventDefault(), navigator.clipboard.readText().then((N) => {
4220
+ }, f = (j) => {
4221
+ u.current.value = j.target.textContent, x();
4222
+ }, h = (j) => {
4223
+ j.keyCode === 16 && (u.current.shift = !0), j.keyCode === 13 && !u.current.shift && (j.preventDefault(), u.current.value.length !== 0 && (j.target.textContent = "", r && r(u.current.value), t && t(u.current.value), u.current.value = "", n(!1)));
4224
+ }, v = (j) => {
4225
+ j.keyCode === 16 && (u.current.shift = !1);
4226
+ }, p = (j) => {
4227
+ j.preventDefault(), navigator.clipboard.readText().then((T) => {
4228
4228
  if (o) {
4229
- let L = y.target.textContent.length;
4229
+ let L = j.target.textContent.length;
4230
4230
  if (L >= o) return;
4231
- o -= L, N = N.slice(0, o);
4231
+ o -= L, T = T.slice(0, o);
4232
4232
  }
4233
- window.document.execCommand("insertText", !1, N);
4234
- }).catch((N) => {
4233
+ window.document.execCommand("insertText", !1, T);
4234
+ }).catch((T) => {
4235
4235
  });
4236
- }, p = () => {
4236
+ }, g = () => {
4237
4237
  n(!1);
4238
- }, k = {
4238
+ }, y = {
4239
4239
  spellCheck: "true"
4240
4240
  };
4241
- return _ && (k.placeholder = _), l && c && (k.contentEditable = z.ContentEditable), /* @__PURE__ */ a.jsx("dl", { "data-form": "message", children: /* @__PURE__ */ a.jsx(
4241
+ return _ && (y.placeholder = _), l && c && (y.contentEditable = z.ContentEditable), /* @__PURE__ */ a.jsx("dl", { "data-form": "message", children: /* @__PURE__ */ a.jsx(
4242
4242
  "dd",
4243
4243
  {
4244
- onPaste: g,
4244
+ onPaste: p,
4245
4245
  onInput: f,
4246
4246
  onKeyUp: v,
4247
4247
  onKeyDown: h,
4248
- onBlur: p,
4249
- ...k,
4248
+ onBlur: g,
4249
+ ...y,
4250
4250
  suppressContentEditableWarning: !0,
4251
4251
  children: e
4252
4252
  }
@@ -4286,28 +4286,28 @@ function ia({
4286
4286
  placeholder: r = "",
4287
4287
  name: s
4288
4288
  }) {
4289
- let i = (v, g) => Number(Math.round(v + Math.random() * (g - v))), o = m.useRef(null), l = m.useRef(null), c = i(1e4, 99999), _ = (v) => {
4289
+ let i = (v, p) => Number(Math.round(v + Math.random() * (p - v))), o = m.useRef(null), l = m.useRef(null), c = i(1e4, 99999), _ = (v) => {
4290
4290
  v.key !== "Backspace" && (v.key === "Enter" && v.preventDefault(), v.target.textContent.length === 5 && v.preventDefault(), /\d/.test(v.key) || v.preventDefault());
4291
4291
  }, u = (v) => {
4292
4292
  t({ value: Number(v.target.textContent) === c, name: s });
4293
4293
  }, x = (v) => {
4294
- v.preventDefault(), navigator.clipboard.readText().then((g) => {
4294
+ v.preventDefault(), navigator.clipboard.readText().then((p) => {
4295
4295
  if (n) {
4296
- let p = v.target.textContent.length;
4297
- if (p >= n) return;
4298
- n -= p, g = g.slice(0, n);
4296
+ let g = v.target.textContent.length;
4297
+ if (g >= n) return;
4298
+ n -= g, p = p.slice(0, n);
4299
4299
  }
4300
4300
  window.document.execCommand(
4301
4301
  "insertText",
4302
4302
  !1,
4303
- g.replace(/(\r\n|\n|\r)/gm, " ").replace(/[^0-9]/g, "").substring(0, 5)
4303
+ p.replace(/(\r\n|\n|\r)/gm, " ").replace(/[^0-9]/g, "").substring(0, 5)
4304
4304
  );
4305
- }).catch((g) => {
4305
+ }).catch((p) => {
4306
4306
  });
4307
4307
  };
4308
4308
  m.useEffect(() => {
4309
- const v = o.current, g = v.getContext("2d");
4310
- g.clearRect(0, 0, v.width, v.height), g.font = "30px brush script mt", g.fillStyle = "#eee", g.textAlign = "center", g.fillText(c, 50, 27), l.current.textContent = "";
4309
+ const v = o.current, p = v.getContext("2d");
4310
+ p.clearRect(0, 0, v.width, v.height), p.font = "30px brush script mt", p.fillStyle = "#eee", p.textAlign = "center", p.fillText(c, 50, 27), l.current.textContent = "";
4311
4311
  }, [c]);
4312
4312
  const f = {};
4313
4313
  f.field = "captcha";
@@ -4347,24 +4347,24 @@ function oa({
4347
4347
  n5: "",
4348
4348
  n6: "",
4349
4349
  code: ""
4350
- }, _ = (g) => {
4351
- if (g.preventDefault(), !r) return;
4352
- g.target.textContent = g.target.textContent.slice(-1).replace(/[^+\d]/g, "");
4353
- let p = window.getSelection(), k = g.target.textContent.length;
4354
- if (c[g.target.id] = g.target.textContent, c.code = c.n1 + "" + c.n2 + c.n3 + c.n4 + c.n5 + c.n6, p.collapse(g.target.firstChild, 1), k === 0) {
4355
- g.target.blur(), g.target.focus();
4350
+ }, _ = (p) => {
4351
+ if (p.preventDefault(), !r) return;
4352
+ p.target.textContent = p.target.textContent.slice(-1).replace(/[^+\d]/g, "");
4353
+ let g = window.getSelection(), y = p.target.textContent.length;
4354
+ if (c[p.target.id] = p.target.textContent, c.code = c.n1 + "" + c.n2 + c.n3 + c.n4 + c.n5 + c.n6, g.collapse(p.target.firstChild, 1), y === 0) {
4355
+ p.target.blur(), p.target.focus();
4356
4356
  return;
4357
4357
  }
4358
- g.target.nextSibling != null && g.target.nextSibling.focus();
4359
- }, u = (g) => {
4360
- if (r && (g.key === "Enter" && g.preventDefault(), g.key === "Backspace")) {
4361
- if (g.preventDefault(), g.target.textContent = "", c[g.target.id] = "", g.target.previousSibling != null) {
4362
- let p = g.target.previousSibling.id.slice(1);
4363
- g.target.previousSibling.textContent = "", c["n" + p] = "", g.target.previousSibling.focus();
4358
+ p.target.nextSibling != null && p.target.nextSibling.focus();
4359
+ }, u = (p) => {
4360
+ if (r && (p.key === "Enter" && p.preventDefault(), p.key === "Backspace")) {
4361
+ if (p.preventDefault(), p.target.textContent = "", c[p.target.id] = "", p.target.previousSibling != null) {
4362
+ let g = p.target.previousSibling.id.slice(1);
4363
+ p.target.previousSibling.textContent = "", c["n" + g] = "", p.target.previousSibling.focus();
4364
4364
  }
4365
4365
  c.code = c.n1 + "" + c.n2 + c.n3 + c.n4 + c.n5 + c.n6;
4366
4366
  }
4367
- }, x = (g) => {
4367
+ }, x = (p) => {
4368
4368
  if (r) {
4369
4369
  if (s)
4370
4370
  i && i({ value: c.code, name: l });
@@ -4378,22 +4378,22 @@ function oa({
4378
4378
  n6: "",
4379
4379
  code: ""
4380
4380
  };
4381
- for (let p = 1; p <= 6; p++) {
4382
- let k = document.getElementById("n" + p);
4383
- k && (k.textContent = "");
4381
+ for (let g = 1; g <= 6; g++) {
4382
+ let y = document.getElementById("n" + g);
4383
+ y && (y.textContent = "");
4384
4384
  }
4385
4385
  }
4386
4386
  }
4387
- }, f = (g) => {
4388
- g.target.textContent = "";
4389
- }, h = (g) => {
4390
- g.preventDefault(), navigator.clipboard.readText().then((p) => {
4391
- let k = p.split("");
4392
- for (let y = 1; y <= k.length; y++) {
4393
- let N = document.getElementById("n" + y);
4394
- N && (N.textContent = k[y - 1]);
4387
+ }, f = (p) => {
4388
+ p.target.textContent = "";
4389
+ }, h = (p) => {
4390
+ p.preventDefault(), navigator.clipboard.readText().then((g) => {
4391
+ let y = g.split("");
4392
+ for (let j = 1; j <= y.length; j++) {
4393
+ let T = document.getElementById("n" + j);
4394
+ T && (T.textContent = y[j - 1]);
4395
4395
  }
4396
- }).catch((p) => {
4396
+ }).catch((g) => {
4397
4397
  });
4398
4398
  };
4399
4399
  const v = {};
@@ -4492,15 +4492,15 @@ function la({
4492
4492
  show: f = !0,
4493
4493
  view: h,
4494
4494
  onBlur: v,
4495
- onSave: g,
4496
- className: p = ""
4495
+ onSave: p,
4496
+ className: g = ""
4497
4497
  }) {
4498
4498
  _ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0;
4499
- let [k, y] = m.useState(t), N = ($) => {
4500
- y($), n == null || n({ value: $, name: r }), g == null || g({ value: $, name: r });
4499
+ let [y, j] = m.useState(t), T = ($) => {
4500
+ j($), n == null || n({ value: $, name: r }), p == null || p({ value: $, name: r });
4501
4501
  };
4502
4502
  const L = {};
4503
- return L.field = "color", p && (L.className = p), /* @__PURE__ */ a.jsx(a.Fragment, { children: h === "icon" ? /* @__PURE__ */ a.jsx(
4503
+ return L.field = "color", g && (L.className = g), /* @__PURE__ */ a.jsx(a.Fragment, { children: h === "icon" ? /* @__PURE__ */ a.jsx(
4504
4504
  "i",
4505
4505
  {
4506
4506
  "data-icon": "F043"
@@ -4510,8 +4510,8 @@ function la({
4510
4510
  /* @__PURE__ */ a.jsx("dd", { children: c > 0 && Array.from(Array(c).keys()).map(($) => /* @__PURE__ */ a.jsx(
4511
4511
  "s",
4512
4512
  {
4513
- active: (Number($) === Number(k)) + "",
4514
- onClick: () => N($),
4513
+ active: (Number($) === Number(y)) + "",
4514
+ onClick: () => T($),
4515
4515
  style: {
4516
4516
  backgroundColor: `var(--color-${$})`
4517
4517
  }
@@ -4545,13 +4545,13 @@ function Zt({
4545
4545
  }) {
4546
4546
  let [h, v] = m.useState(
4547
4547
  x === void 0 ? /* @__PURE__ */ new Date() : x
4548
- ), g = !n && r;
4548
+ ), p = !n && r;
4549
4549
  m.useEffect(() => {
4550
4550
  v(x === void 0 ? /* @__PURE__ */ new Date() : x);
4551
4551
  }, [x]);
4552
- let p = (L) => {
4552
+ let g = (L) => {
4553
4553
  v(L), _ == null || _({ value: L, name: u });
4554
- }, k = (L) => {
4554
+ }, y = (L) => {
4555
4555
  const $ = L.target.getBoundingClientRect(), R = $.left, I = $.bottom, E = $.top;
4556
4556
  pe.setListener(
4557
4557
  "form",
@@ -4559,7 +4559,7 @@ function Zt({
4559
4559
  Pc,
4560
4560
  {
4561
4561
  position: { x: R, y: E, b: I },
4562
- onValue: p,
4562
+ onValue: g,
4563
4563
  date: h,
4564
4564
  max: o,
4565
4565
  min: l,
@@ -4569,24 +4569,24 @@ function Zt({
4569
4569
  )
4570
4570
  );
4571
4571
  };
4572
- const y = {};
4573
- y.field = "input", s && (y.className = s);
4574
- const N = {};
4575
- return i && (N.placeholder = i), g ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsx(a.Fragment, { children: c === "icon" ? /* @__PURE__ */ a.jsx(
4572
+ const j = {};
4573
+ j.field = "input", s && (j.className = s);
4574
+ const T = {};
4575
+ return i && (T.placeholder = i), p ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsx(a.Fragment, { children: c === "icon" ? /* @__PURE__ */ a.jsx(
4576
4576
  "i",
4577
4577
  {
4578
4578
  "data-icon": "F043",
4579
4579
  className: "pointer",
4580
4580
  "data-color": "_b5b9cc :506290",
4581
- onClick: k
4581
+ onClick: y
4582
4582
  }
4583
- ) : /* @__PURE__ */ a.jsxs("dl", { ...y, children: [
4583
+ ) : /* @__PURE__ */ a.jsxs("dl", { ...j, children: [
4584
4584
  e && /* @__PURE__ */ a.jsx("dt", { children: e }),
4585
4585
  /* @__PURE__ */ a.jsxs(
4586
4586
  "dd",
4587
4587
  {
4588
- onClick: k,
4589
- ...N,
4588
+ onClick: y,
4589
+ ...T,
4590
4590
  "data-edit": (n && r) + "",
4591
4591
  children: [
4592
4592
  H.Date(h, "dd.mm.yyyy"),
@@ -4607,14 +4607,14 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4607
4607
  d: parseInt(_.getDate()),
4608
4608
  m: parseInt(_.getMonth()) + 1
4609
4609
  }, [f, h] = m.useState({ y: x.y, m: x.m }), v = (C) => {
4610
- let T = C.getDay();
4611
- return T === 0 && (T = 7), T - 1;
4612
- }, g = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], p = f.m - 1, k = new Date(f.y, p), y = [];
4613
- for (let C = 0; C < v(k); C++)
4614
- y.push(0);
4615
- for (; k.getMonth() === p; )
4616
- y.push(k.getDate()), k.setDate(k.getDate() + 1);
4617
- let N = () => {
4610
+ let N = C.getDay();
4611
+ return N === 0 && (N = 7), N - 1;
4612
+ }, p = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], g = f.m - 1, y = new Date(f.y, g), j = [];
4613
+ for (let C = 0; C < v(y); C++)
4614
+ j.push(0);
4615
+ for (; y.getMonth() === g; )
4616
+ j.push(y.getDate()), y.setDate(y.getDate() + 1);
4617
+ let T = () => {
4618
4618
  l(!1);
4619
4619
  }, L = () => {
4620
4620
  I(f.m + 1, f.y);
@@ -4623,21 +4623,21 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4623
4623
  }, R = (C) => {
4624
4624
  t(
4625
4625
  f.y + "-" + H.Number(2, f.m) + "-" + H.Number(2, C)
4626
- ), N();
4627
- }, I = (C, T) => {
4628
- T = C > 12 ? T + 1 : C < 1 ? T - 1 : T, C = C > 12 ? 1 : C < 1 ? 12 : C, h({ y: T, m: C });
4626
+ ), T();
4627
+ }, I = (C, N) => {
4628
+ N = C > 12 ? N + 1 : C < 1 ? N - 1 : N, C = C > 12 ? 1 : C < 1 ? 12 : C, h({ y: N, m: C });
4629
4629
  };
4630
4630
  const E = (C) => u.y === f.y && u.m === f.m && u.d === C ? { "data-active": "true" } : {}, P = (C) => x.y === f.y && x.m === f.m && x.d === C ? { "data-current": "true" } : {}, B = (C) => {
4631
- let T = !0;
4631
+ let N = !0;
4632
4632
  if (r) {
4633
4633
  let W = r.getTime(), ee = new Date(f.y, f.m - 1, C).getTime();
4634
- W < ee && (T = !1);
4634
+ W < ee && (N = !1);
4635
4635
  }
4636
4636
  if (s) {
4637
4637
  let W = s.getTime(), ee = new Date(f.y, f.m - 1, C).getTime();
4638
- W > ee && (T = !1);
4638
+ W > ee && (N = !1);
4639
4639
  }
4640
- return T;
4640
+ return N;
4641
4641
  };
4642
4642
  let b = window.innerHeight - n.y < 320 ? n.y - 312 : n.b, S = window.innerWidth - n.x < 265 ? n.x - 235 : n.x;
4643
4643
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: o ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -4645,7 +4645,7 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4645
4645
  "div",
4646
4646
  {
4647
4647
  className: fe.o,
4648
- onClick: () => N()
4648
+ onClick: () => T()
4649
4649
  },
4650
4650
  (/* @__PURE__ */ new Date()).getTime()
4651
4651
  ),
@@ -4688,8 +4688,8 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4688
4688
  ) })
4689
4689
  ] }),
4690
4690
  /* @__PURE__ */ a.jsxs("div", { "grid-calendar": "", children: [
4691
- g.map((C, T) => /* @__PURE__ */ a.jsx("p", { children: C }, "v" + T)),
4692
- y.map((C, T) => /* @__PURE__ */ a.jsx("span", { children: C !== 0 && B(C) ? /* @__PURE__ */ a.jsx(
4691
+ p.map((C, N) => /* @__PURE__ */ a.jsx("p", { children: C }, "v" + N)),
4692
+ j.map((C, N) => /* @__PURE__ */ a.jsx("span", { children: C !== 0 && B(C) ? /* @__PURE__ */ a.jsx(
4693
4693
  "b",
4694
4694
  {
4695
4695
  ...E(C),
@@ -4697,7 +4697,7 @@ const Pc = ({ date: e, onValue: t, position: n, max: r, min: s, className: i })
4697
4697
  onClick: () => R(C),
4698
4698
  children: C
4699
4699
  }
4700
- ) : /* @__PURE__ */ a.jsx("p", { ...E(C), ...P(C), children: C !== 0 ? C : "" }) }, T))
4700
+ ) : /* @__PURE__ */ a.jsx("p", { ...E(C), ...P(C), children: C !== 0 ? C : "" }) }, N))
4701
4701
  ] })
4702
4702
  ]
4703
4703
  }
@@ -4720,14 +4720,14 @@ function zt({
4720
4720
  modal: f,
4721
4721
  module: h,
4722
4722
  options: v,
4723
- className: g
4723
+ className: p
4724
4724
  }) {
4725
- let [p, k] = m.useState(e), y = ($) => {
4725
+ let [g, y] = m.useState(e), j = ($) => {
4726
4726
  if (!(l && _) || !f) return;
4727
4727
  let R = f.split(".");
4728
4728
  _t.Open(R[0], R[1], {
4729
4729
  callback: (I) => {
4730
- t && t({ value: I, name: n }), k(I);
4730
+ t && t({ value: I, name: n }), y(I);
4731
4731
  },
4732
4732
  onValue: t,
4733
4733
  options: v,
@@ -4735,19 +4735,19 @@ function zt({
4735
4735
  value: e
4736
4736
  });
4737
4737
  };
4738
- const N = {};
4739
- N.field = "input", g && (N.className = g);
4738
+ const T = {};
4739
+ T.field = "input", p && (T.className = p);
4740
4740
  const L = {};
4741
- return r && (L.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
4741
+ return r && (L.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...T, children: [
4742
4742
  s && /* @__PURE__ */ a.jsx("dt", { children: s }),
4743
4743
  /* @__PURE__ */ a.jsx(
4744
4744
  "dd",
4745
4745
  {
4746
4746
  ...L,
4747
- onClick: y,
4747
+ onClick: j,
4748
4748
  edit: (l && _) + "",
4749
4749
  "data-after": u,
4750
- children: p
4750
+ children: g
4751
4751
  }
4752
4752
  ),
4753
4753
  i && /* @__PURE__ */ a.jsx("em", { children: i })
@@ -4769,26 +4769,26 @@ function Wt({
4769
4769
  view: f,
4770
4770
  onBlur: h,
4771
4771
  type: v,
4772
- onSave: g,
4773
- className: p = ""
4772
+ onSave: p,
4773
+ className: g = ""
4774
4774
  }) {
4775
- let k = !!(o && (e === "" || e === void 0));
4775
+ let y = !!(o && (e === "" || e === void 0));
4776
4776
  e = H.isNumeric(e) ? Number(e) / x : 0;
4777
- let y = (b) => v === "multi" ? b.replace(/[^+\d.+-]/g, "") : b.replace(/[^+\d.]/g, ""), N = (b, S) => {
4778
- let C = document.createRange(), T = window.getSelection();
4779
- C.setStart(S.childNodes[0], b), C.collapse(!0), T.removeAllRanges(), T.addRange(C), S.focus();
4777
+ let j = (b) => v === "multi" ? b.replace(/[^+\d.+-]/g, "") : b.replace(/[^+\d.]/g, ""), T = (b, S) => {
4778
+ let C = document.createRange(), N = window.getSelection();
4779
+ C.setStart(S.childNodes[0], b), C.collapse(!0), N.removeAllRanges(), N.addRange(C), S.focus();
4780
4780
  }, L = (b) => {
4781
4781
  t == null || t({
4782
- value: y(b.target.textContent) * x,
4782
+ value: j(b.target.textContent) * x,
4783
4783
  name: n
4784
- }), b.target.textContent = y(b.target.textContent), b.target.textContent.length > 0 && N(b.target.textContent.length, b.target);
4784
+ }), b.target.textContent = j(b.target.textContent), b.target.textContent.length > 0 && T(b.target.textContent.length, b.target);
4785
4785
  }, $ = (b) => {
4786
- z.Blur(b), b.target.textContent === "" && (b.target.textContent = 0), g == null || g({ value: y(b.target.textContent) * x, name: n }), t == null || t({
4787
- value: y(b.target.textContent) * x,
4786
+ z.Blur(b), b.target.textContent === "" && (b.target.textContent = 0), p == null || p({ value: j(b.target.textContent) * x, name: n }), t == null || t({
4787
+ value: j(b.target.textContent) * x,
4788
4788
  name: n
4789
4789
  }), b.target.textContent = H.Money(b.target.textContent);
4790
4790
  }, R = (b) => {
4791
- b.target.textContent = y(b.target.textContent);
4791
+ b.target.textContent = j(b.target.textContent);
4792
4792
  }, I = (b) => {
4793
4793
  b.key === "Enter" && b.preventDefault();
4794
4794
  }, E = (b) => {
@@ -4797,9 +4797,9 @@ function Wt({
4797
4797
  }).catch((S) => {
4798
4798
  });
4799
4799
  };
4800
- if (!(l && c) && !u || !(l && c) && k) return "";
4800
+ if (!(l && c) && !u || !(l && c) && y) return "";
4801
4801
  const P = {};
4802
- P.field = "input", p && (P.className = p);
4802
+ P.field = "input", g && (P.className = g);
4803
4803
  const B = {};
4804
4804
  return B.inputMode = "decimal", r && (B.placeholder = r), l && c && (B.edit = ""), /* @__PURE__ */ a.jsxs("dl", { ...P, children: [
4805
4805
  s ? /* @__PURE__ */ a.jsx("dt", { children: s }) : "",
@@ -4838,17 +4838,17 @@ function ca({
4838
4838
  m.useEffect(() => {
4839
4839
  f(e);
4840
4840
  }, [e]);
4841
- let h = (p) => {
4842
- f(p), t && t({ value: p, name: n });
4843
- }, v = (p) => {
4841
+ let h = (g) => {
4842
+ f(g), t && t({ value: g, name: n });
4843
+ }, v = (g) => {
4844
4844
  if (!i || !o) return;
4845
- const k = p.target.getBoundingClientRect(), y = k.left, N = k.top;
4845
+ const y = g.target.getBoundingClientRect(), j = y.left, T = y.top;
4846
4846
  pe.setListener(
4847
4847
  "form",
4848
4848
  /* @__PURE__ */ a.jsx(
4849
4849
  Oc,
4850
4850
  {
4851
- position: { x: y, y: N },
4851
+ position: { x: j, y: T },
4852
4852
  onValue: h,
4853
4853
  date: x
4854
4854
  },
@@ -4856,14 +4856,14 @@ function ca({
4856
4856
  )
4857
4857
  );
4858
4858
  };
4859
- const g = {};
4860
- return c && (g.placeholder = c), r === "icon" ? /* @__PURE__ */ a.jsx("i", { "data-icon": "F043", onClick: v }) : /* @__PURE__ */ a.jsxs("dl", { children: [
4859
+ const p = {};
4860
+ return c && (p.placeholder = c), r === "icon" ? /* @__PURE__ */ a.jsx("i", { "data-icon": "F043", onClick: v }) : /* @__PURE__ */ a.jsxs("dl", { children: [
4861
4861
  l && /* @__PURE__ */ a.jsx("dt", { children: l }),
4862
4862
  /* @__PURE__ */ a.jsx(
4863
4863
  "dd",
4864
4864
  {
4865
4865
  onClick: v,
4866
- ...g,
4866
+ ...p,
4867
4867
  children: H.Date(x, "mm.yyyy")
4868
4868
  }
4869
4869
  ),
@@ -4883,9 +4883,9 @@ const Oc = (e) => {
4883
4883
  c(l + 1);
4884
4884
  }, x = () => {
4885
4885
  c(l - 1);
4886
- }, f = (k) => {
4887
- e.onValue(l + "-" + H.Number(2, k)), _();
4888
- }, h = (k) => i.y === o.y && i.m === k ? "_FFEB3B" : "", v = Array(12).fill("").map((k, y) => y + 1), g = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, p = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
4886
+ }, f = (y) => {
4887
+ e.onValue(l + "-" + H.Number(2, y)), _();
4888
+ }, h = (y) => i.y === o.y && i.m === y ? "_FFEB3B" : "", v = Array(12).fill("").map((y, j) => j + 1), p = window.innerHeight - e.position.y + 33 < 320 ? e.position.y - 312 : e.position.y + 33, g = window.innerWidth - e.position.x < 265 ? e.position.x - 235 : e.position.x;
4889
4889
  return /* @__PURE__ */ a.jsx(a.Fragment, { children: t ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
4890
4890
  /* @__PURE__ */ a.jsx(
4891
4891
  "div",
@@ -4899,7 +4899,7 @@ const Oc = (e) => {
4899
4899
  "div",
4900
4900
  {
4901
4901
  className: fe.c,
4902
- style: { top: g + "px", left: p + "px" },
4902
+ style: { top: p + "px", left: g + "px" },
4903
4903
  children: [
4904
4904
  /* @__PURE__ */ a.jsxs("s", { children: [
4905
4905
  /* @__PURE__ */ a.jsx("i", { onClick: x, children: /* @__PURE__ */ a.jsx(
@@ -4926,16 +4926,16 @@ const Oc = (e) => {
4926
4926
  }
4927
4927
  ) })
4928
4928
  ] }),
4929
- /* @__PURE__ */ a.jsx("div", { "grid-month": "", children: v.map((k, y) => /* @__PURE__ */ a.jsx(
4929
+ /* @__PURE__ */ a.jsx("div", { "grid-month": "", children: v.map((y, j) => /* @__PURE__ */ a.jsx(
4930
4930
  "span",
4931
4931
  {
4932
4932
  onClick: () => {
4933
- f(k);
4933
+ f(y);
4934
4934
  },
4935
- color: h(k),
4936
- children: /* @__PURE__ */ a.jsx("b", { children: H.Month(k).abc })
4935
+ color: h(y),
4936
+ children: /* @__PURE__ */ a.jsx("b", { children: H.Month(y).abc })
4937
4937
  },
4938
- y
4938
+ j
4939
4939
  )) })
4940
4940
  ]
4941
4941
  }
@@ -4958,18 +4958,18 @@ function da({
4958
4958
  maxLength: f,
4959
4959
  view: h,
4960
4960
  onBlur: v,
4961
- onSave: g,
4962
- className: p = "",
4963
- isCopy: k = !0
4961
+ onSave: p,
4962
+ className: g = "",
4963
+ isCopy: y = !0
4964
4964
  }) {
4965
- let [y, N] = m.useState(!1);
4966
- y = c ? !0 : y;
4965
+ let [j, T] = m.useState(!1);
4966
+ j = c ? !0 : j;
4967
4967
  let L = (b) => {
4968
4968
  n == null || n({ value: b.target.innerText, name: r });
4969
4969
  }, $ = (b) => {
4970
4970
  f && b.target.textContent.trim().length >= f && b.key !== "Backspace" && b.preventDefault(), b.key === "Enter" && b.preventDefault();
4971
4971
  }, R = (b) => {
4972
- k && (b.preventDefault(), navigator.clipboard.writeText(b.target.textContent.trim()).then(
4972
+ y && (b.preventDefault(), navigator.clipboard.writeText(b.target.textContent.trim()).then(
4973
4973
  function() {
4974
4974
  Ce.Copy("Данные в буфер обмене");
4975
4975
  },
@@ -4994,11 +4994,11 @@ function da({
4994
4994
  if (l) return /* @__PURE__ */ a.jsx(a.Fragment, {});
4995
4995
  if (!(c && _) && !x) return "";
4996
4996
  const E = {};
4997
- E.field = "notes", p && (E.className = p);
4997
+ E.field = "notes", g && (E.className = g);
4998
4998
  const P = {};
4999
- s && (P.placeholder = s), c && _ && (P.edit = ""), y && (P.open = "");
4999
+ s && (P.placeholder = s), c && _ && (P.edit = ""), j && (P.open = "");
5000
5000
  const B = (b) => {
5001
- z.Blur(b), g == null || g({ value: b.target.textContent.trim(), name: r });
5001
+ z.Blur(b), p == null || p({ value: b.target.textContent.trim(), name: r });
5002
5002
  };
5003
5003
  return /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
5004
5004
  i ? /* @__PURE__ */ a.jsx("dt", { children: i }) : "",
@@ -5036,19 +5036,19 @@ function Kt({
5036
5036
  maxLength: f,
5037
5037
  name: h,
5038
5038
  after: v = "",
5039
- before: g = "",
5040
- view: p
5039
+ before: p = "",
5040
+ view: g
5041
5041
  }) {
5042
5042
  s = s !== void 0 ? s : !0, n = n !== void 0 ? n : !0, c = !!(c && (_ === "" || _ === void 0)) && !(s && n), u = u !== void 0 ? u : "", r = r !== void 0 ? r : 99;
5043
- let y = !1, N = (B) => {
5043
+ let j = !1, T = (B) => {
5044
5044
  e == null || e({ value: B.target.textContent, name: h });
5045
5045
  }, L = (B) => {
5046
- if (!(y && B.which === 86)) {
5047
- if (B.which === 17 || B.which === 91) return y = !0;
5046
+ if (!(j && B.which === 86)) {
5047
+ if (B.which === 17 || B.which === 91) return j = !0;
5048
5048
  B.key !== "Backspace" && (B.target.textContent.length === r && B.preventDefault(), B.key === "Enter" && B.preventDefault(), isNaN(B.key) && B.preventDefault());
5049
5049
  }
5050
5050
  }, $ = (B) => {
5051
- if (B.which === 17 || B.which === 91) return y = !1;
5051
+ if (B.which === 17 || B.which === 91) return j = !1;
5052
5052
  }, R = (B) => {
5053
5053
  B.preventDefault(), navigator.clipboard.readText().then((b) => {
5054
5054
  if (b = b.replace(/(?!^\+|\d)./g, ""), f) {
@@ -5067,13 +5067,13 @@ function Kt({
5067
5067
  let P = {};
5068
5068
  return s && n ? (P.edit = "true", P.contentEditable = z.ContentEditable) : P.contentEditable = "false", P.inputMode = "decimal", u && (P.placeholder = u), c ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...E, children: [
5069
5069
  i && /* @__PURE__ */ a.jsx("dt", { children: i }),
5070
- g,
5070
+ p,
5071
5071
  /* @__PURE__ */ a.jsx(
5072
5072
  "dd",
5073
5073
  {
5074
5074
  ...P,
5075
5075
  onPaste: R,
5076
- onInput: N,
5076
+ onInput: T,
5077
5077
  onBlur: I,
5078
5078
  onKeyDown: L,
5079
5079
  onKeyUp: $,
@@ -5101,16 +5101,16 @@ function _a({
5101
5101
  isShow: f = !1,
5102
5102
  maxLength: h,
5103
5103
  eyes: v = [],
5104
- after: g = ""
5104
+ after: p = ""
5105
5105
  }) {
5106
- const [p, k] = m.useState(f);
5107
- let y = (E) => {
5106
+ const [g, y] = m.useState(f);
5107
+ let j = (E) => {
5108
5108
  t && t({
5109
5109
  value: E.target.textContent,
5110
5110
  name: r,
5111
5111
  reload: u
5112
5112
  });
5113
- }, N = (E) => {
5113
+ }, T = (E) => {
5114
5114
  E.key === "Enter" && E.preventDefault();
5115
5115
  }, L = (E) => {
5116
5116
  E.preventDefault(), navigator.clipboard.readText().then((P) => {
@@ -5130,7 +5130,7 @@ function _a({
5130
5130
  z.Blur(E), n == null || n({ value: E.target.textContent.trim(), name: r });
5131
5131
  };
5132
5132
  const R = {};
5133
- R.field = "password", p && (R.show = ""), i && (R.className = i);
5133
+ R.field = "password", g && (R.show = ""), i && (R.className = i);
5134
5134
  const I = {};
5135
5135
  return s && (I.placeholder = s), x ? "" : /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
5136
5136
  o ? /* @__PURE__ */ a.jsx("dt", { children: o }) : "",
@@ -5138,8 +5138,8 @@ function _a({
5138
5138
  "dd",
5139
5139
  {
5140
5140
  onPaste: L,
5141
- onInput: y,
5142
- onKeyDown: N,
5141
+ onInput: j,
5142
+ onKeyDown: T,
5143
5143
  onBlur: $,
5144
5144
  contentEditable: c && _ ? z.ContentEditable : "false",
5145
5145
  ...I,
@@ -5147,8 +5147,8 @@ function _a({
5147
5147
  children: e
5148
5148
  }
5149
5149
  ),
5150
- v[0] && /* @__PURE__ */ a.jsx("i", { onClick: () => k(!p), children: p ? v[1] : v[0] }),
5151
- g,
5150
+ v[0] && /* @__PURE__ */ a.jsx("i", { onClick: () => y(!g), children: g ? v[1] : v[0] }),
5151
+ p,
5152
5152
  l ? /* @__PURE__ */ a.jsx("em", { children: l }) : ""
5153
5153
  ] });
5154
5154
  }
@@ -6551,31 +6551,31 @@ function Ht({
6551
6551
  className: h = ""
6552
6552
  }) {
6553
6553
  c = c !== void 0 ? c : !0, _ = _ !== void 0 ? _ : !0, l = !!(l && (e === "" || e === void 0)) && !(c && _), m.useRef(null);
6554
- let g = "+_(___) ___-__-__", p = !0, k = 0, y = (S, C) => {
6555
- let T = document.createRange(), W = window.getSelection();
6556
- T.setStart(C.childNodes[0], S), T.collapse(!0), W.removeAllRanges(), W.addRange(T), C.focus();
6557
- }, N = (S) => {
6554
+ let p = "+_(___) ___-__-__", g = !0, y = 0, j = (S, C) => {
6555
+ let N = document.createRange(), W = window.getSelection();
6556
+ N.setStart(C.childNodes[0], S), N.collapse(!0), W.removeAllRanges(), W.addRange(N), C.focus();
6557
+ }, T = (S) => {
6558
6558
  S.preventDefault(), navigator.clipboard.readText().then((C) => {
6559
6559
  window.document.execCommand("insertText", !1, C);
6560
6560
  }).catch((C) => {
6561
6561
  });
6562
6562
  }, L = (S) => {
6563
- let C = 0, T = "", W = S.replace(/\D/g, "");
6564
- W === "" && (p = !0);
6563
+ let C = 0, N = "", W = S.replace(/\D/g, "");
6564
+ W === "" && (g = !0);
6565
6565
  let ee = W.split(""), oe = "";
6566
6566
  ee.forEach((Pe) => {
6567
- p && (oe += Pe, bt[oe] !== void 0 && p ? (p = !1, g = bt[oe].mask.replace(new RegExp("[0-9]", "g"), "_"), T = bt[oe].code) : (p && (k = ("" + oe).length, g = `+${oe}_(___) ___-__-__`.replace(
6567
+ g && (oe += Pe, bt[oe] !== void 0 && g ? (g = !1, p = bt[oe].mask.replace(new RegExp("[0-9]", "g"), "_"), N = bt[oe].code) : (g && (y = ("" + oe).length, p = `+${oe}_(___) ___-__-__`.replace(
6568
6568
  new RegExp("[0-9]", "g"),
6569
6569
  "_"
6570
- ), T = ""), k > ("" + oe).length && (p = !0, g = `+${oe}_(___) ___-__-__`.replace(
6570
+ ), N = ""), y > ("" + oe).length && (g = !0, p = `+${oe}_(___) ___-__-__`.replace(
6571
6571
  new RegExp("[0-9]", "g"),
6572
6572
  "_"
6573
- ), T = "")));
6573
+ ), N = "")));
6574
6574
  });
6575
- let ve = g.replace(/\D/g, "");
6576
- return ve.length >= W.length && (W = ve), { q: g.replace(/[_\d]/g, function() {
6575
+ let ve = p.replace(/\D/g, "");
6576
+ return ve.length >= W.length && (W = ve), { q: p.replace(/[_\d]/g, function() {
6577
6577
  return W.charAt(C++) || "_";
6578
- }), i: C, v: W, f: T };
6578
+ }), i: C, v: W, f: N };
6579
6579
  }, $ = (S) => {
6580
6580
  S.preventDefault(), navigator.clipboard.writeText(S.target.textContent.replace(/\D/g, "")).then(
6581
6581
  function() {
@@ -6586,7 +6586,7 @@ function Ht({
6586
6586
  );
6587
6587
  }, R = L(e), I = (S) => {
6588
6588
  let C = L(S.target.textContent);
6589
- S.target.textContent = C.q, C.i = C.q.lastIndexOf(C.v.substr(-1)), C.i < C.q.length && C.q !== g ? C.i++ : C.i = C.q.indexOf("_"), y(C.i, S.target), t && t({ value: C.q.replace(/\D/g, ""), name: r });
6589
+ S.target.textContent = C.q, C.i = C.q.lastIndexOf(C.v.substr(-1)), C.i < C.q.length && C.q !== p ? C.i++ : C.i = C.q.indexOf("_"), j(C.i, S.target), t && t({ value: C.q.replace(/\D/g, ""), name: r });
6590
6590
  }, E = (S) => {
6591
6591
  S.key === "Enter" && S.preventDefault();
6592
6592
  };
@@ -6604,7 +6604,7 @@ function Ht({
6604
6604
  "dd",
6605
6605
  {
6606
6606
  ...b,
6607
- onPaste: N,
6607
+ onPaste: T,
6608
6608
  onInput: I,
6609
6609
  onKeyDown: E,
6610
6610
  onContextMenu: $,
@@ -6628,43 +6628,50 @@ const ua = ({
6628
6628
  }) => {
6629
6629
  let c = 0, _ = m.useRef({
6630
6630
  textContent: o
6631
- }), u = () => {
6632
- J.isBrowser("Chrome") || (_.current.textContent.length > 0 ? _.current.nextElementSibling.style.display = "block" : _.current.nextElementSibling.style.display = "none"), clearTimeout(c), c = setTimeout(
6631
+ });
6632
+ const u = () => {
6633
+ J.isBrowser("Chrome") || (_.current.textContent.length > 0 ? _.current.nextElementSibling.style.display = "block" : _.current.nextElementSibling.style.display = "none");
6634
+ };
6635
+ let x = () => {
6636
+ u(), clearTimeout(c), c = setTimeout(
6633
6637
  () => {
6634
- var p;
6635
- return l((p = _.current) == null ? void 0 : p.textContent);
6638
+ var j;
6639
+ return l((j = _.current) == null ? void 0 : j.textContent);
6636
6640
  },
6637
6641
  n
6638
6642
  );
6639
- }, x = () => {
6640
- _.current && (_.current.textContent = ""), l("");
6641
- }, f = (p) => {
6642
- p.key === "Enter" && p.preventDefault();
6643
- }, h = (p) => {
6644
- p.preventDefault(), navigator.clipboard.readText().then((k) => {
6645
- window.document.execCommand("insertText", !1, k);
6646
- }).catch((k) => {
6643
+ }, f = () => {
6644
+ _.current && (_.current.textContent = ""), l(""), u();
6645
+ }, h = (j) => {
6646
+ j.key === "Enter" && j.preventDefault();
6647
+ }, v = (j) => {
6648
+ j.preventDefault(), navigator.clipboard.readText().then((T) => {
6649
+ window.document.execCommand("insertText", !1, T);
6650
+ }).catch((T) => {
6647
6651
  });
6652
+ }, p = () => {
6653
+ _.current.textContent = _.current.textContent.trim(), u();
6648
6654
  };
6649
- const v = {};
6650
- v.field = "search", e && (v.className = e);
6651
6655
  const g = {};
6652
- return r && (g.placeholder = r), /* @__PURE__ */ a.jsxs("dl", { ...v, children: [
6656
+ g.field = "search", e && (g.className = e);
6657
+ const y = {};
6658
+ return r && (y.placeholder = r), /* @__PURE__ */ a.jsxs("dl", { ...g, children: [
6653
6659
  t && /* @__PURE__ */ a.jsx("dt", { children: t }),
6654
6660
  /* @__PURE__ */ a.jsx(
6655
6661
  "dd",
6656
6662
  {
6657
6663
  ref: _,
6658
- onPaste: h,
6659
- onInput: u,
6660
- onKeyDown: f,
6664
+ onPaste: v,
6665
+ onInput: x,
6666
+ onKeyDown: h,
6667
+ onBlur: p,
6661
6668
  contentEditable: s && i ? z.ContentEditable : "false",
6662
- ...g,
6669
+ ...y,
6663
6670
  suppressContentEditableWarning: !0,
6664
6671
  children: o
6665
6672
  }
6666
6673
  ),
6667
- /* @__PURE__ */ a.jsx("s", { onClick: x, children: /* @__PURE__ */ a.jsxs(
6674
+ /* @__PURE__ */ a.jsx("s", { onClick: f, children: /* @__PURE__ */ a.jsxs(
6668
6675
  "svg",
6669
6676
  {
6670
6677
  fill: "none",
@@ -6700,12 +6707,12 @@ function Yt({
6700
6707
  isReload: v = !1
6701
6708
  }) {
6702
6709
  var P, B;
6703
- const g = m.useRef(), [p, k] = m.useState(i), [y, N] = m.useState(l);
6710
+ const p = m.useRef(), [g, y] = m.useState(i), [j, T] = m.useState(l);
6704
6711
  m.useEffect(() => {
6705
- k(i), N(l);
6706
- }, [i, l]), s = !!(s && (i === "" || ((P = y[i]) == null ? void 0 : P.n) === void 0)) && !(n && r);
6712
+ y(i), T(l);
6713
+ }, [i, l]), s = !!(s && (i === "" || ((P = j[i]) == null ? void 0 : P.n) === void 0)) && !(n && r);
6707
6714
  let $ = (b) => {
6708
- k(b), o && o({ value: b, name: u, reload: v });
6715
+ y(b), o && o({ value: b, name: u, reload: v });
6709
6716
  }, R = (b) => {
6710
6717
  if (Object.keys(l).length === 0 || !(n && r)) return;
6711
6718
  const S = b.target.getBoundingClientRect();
@@ -6718,7 +6725,7 @@ function Yt({
6718
6725
  onValue: $,
6719
6726
  view: f,
6720
6727
  className: _,
6721
- options: y,
6728
+ options: j,
6722
6729
  order: h
6723
6730
  },
6724
6731
  (/* @__PURE__ */ new Date()).getTime()
@@ -6727,8 +6734,8 @@ function Yt({
6727
6734
  }, I = { field: "select", className: _ }, E = { onClick: R };
6728
6735
  return c && (E.placeholder = c), x && (E.after = x), n && r && (E.edit = ""), s ? "" : /* @__PURE__ */ a.jsxs("dl", { ...I, children: [
6729
6736
  e && /* @__PURE__ */ a.jsx("dt", { children: e }),
6730
- /* @__PURE__ */ a.jsx("dd", { ...E, ref: g, children: (B = y[p]) == null ? void 0 : B.n }),
6731
- Object.keys(y).length !== 0 && /* @__PURE__ */ a.jsx("s", { children: /* @__PURE__ */ a.jsx(
6737
+ /* @__PURE__ */ a.jsx("dd", { ...E, ref: p, children: (B = j[g]) == null ? void 0 : B.n }),
6738
+ Object.keys(j).length !== 0 && /* @__PURE__ */ a.jsx("s", { children: /* @__PURE__ */ a.jsx(
6732
6739
  "svg",
6733
6740
  {
6734
6741
  fill: "none",
@@ -6900,9 +6907,9 @@ function Pt({
6900
6907
  view: f,
6901
6908
  module: h,
6902
6909
  item: v,
6903
- className: g = ""
6910
+ className: p = ""
6904
6911
  }) {
6905
- let p = {};
6912
+ let g = {};
6906
6913
  switch (e) {
6907
6914
  case "Input":
6908
6915
  return /* @__PURE__ */ a.jsx(
@@ -6918,11 +6925,11 @@ function Pt({
6918
6925
  onValue: n,
6919
6926
  name: r,
6920
6927
  placeholder: s,
6921
- className: g
6928
+ className: p
6922
6929
  }
6923
6930
  );
6924
6931
  case "Select":
6925
- return v && (p = J.getSelect(parseInt(v)) ? J.getSelect(parseInt(v)) : { 0: { s: "1", n: "не известно" } }), /* @__PURE__ */ a.jsx(
6932
+ return v && (g = J.getSelect(parseInt(v)) ? J.getSelect(parseInt(v)) : { 0: { s: "1", n: "не известно" } }), /* @__PURE__ */ a.jsx(
6926
6933
  Yt,
6927
6934
  {
6928
6935
  title: i,
@@ -6935,8 +6942,8 @@ function Pt({
6935
6942
  onValue: n,
6936
6943
  name: r,
6937
6944
  placeholder: s,
6938
- className: g,
6939
- options: p
6945
+ className: p,
6946
+ options: g
6940
6947
  }
6941
6948
  );
6942
6949
  case "Users":
@@ -6953,8 +6960,8 @@ function Pt({
6953
6960
  onValue: n,
6954
6961
  name: r,
6955
6962
  placeholder: s,
6956
- className: g,
6957
- options: p
6963
+ className: p,
6964
+ options: g
6958
6965
  }
6959
6966
  );
6960
6967
  case "Date":
@@ -6971,7 +6978,7 @@ function Pt({
6971
6978
  onValue: n,
6972
6979
  name: r,
6973
6980
  placeholder: s,
6974
- className: g
6981
+ className: p
6975
6982
  }
6976
6983
  );
6977
6984
  case "Phone":
@@ -6988,7 +6995,7 @@ function Pt({
6988
6995
  onValue: n,
6989
6996
  name: r,
6990
6997
  placeholder: s,
6991
- className: g
6998
+ className: p
6992
6999
  }
6993
7000
  );
6994
7001
  case "Number":
@@ -7005,7 +7012,7 @@ function Pt({
7005
7012
  onValue: n,
7006
7013
  name: r,
7007
7014
  placeholder: s,
7008
- className: g
7015
+ className: p
7009
7016
  }
7010
7017
  );
7011
7018
  case "Money":
@@ -7022,7 +7029,7 @@ function Pt({
7022
7029
  onValue: n,
7023
7030
  name: r,
7024
7031
  placeholder: s,
7025
- className: g
7032
+ className: p
7026
7033
  }
7027
7034
  );
7028
7035
  case "Modal":
@@ -7039,8 +7046,8 @@ function Pt({
7039
7046
  onValue: n,
7040
7047
  name: r || "",
7041
7048
  placeholder: s,
7042
- className: g,
7043
- options: p,
7049
+ className: p,
7050
+ options: g,
7044
7051
  module: h || ""
7045
7052
  }
7046
7053
  );
@@ -7062,15 +7069,15 @@ function fa({
7062
7069
  onBlur: f,
7063
7070
  maxLength: h,
7064
7071
  onSave: v,
7065
- className: g = ""
7072
+ className: p = ""
7066
7073
  }) {
7067
- let p = !!(o && (e === "" || e === void 0));
7068
- if (!(l && c) && !u || !(l && c) && p) return "";
7069
- let k = (R) => {
7074
+ let g = !!(o && (e === "" || e === void 0));
7075
+ if (!(l && c) && !u || !(l && c) && g) return "";
7076
+ let y = (R) => {
7070
7077
  t && t({ value: R.target.innerText, name: n });
7071
- }, y = (R) => {
7078
+ }, j = (R) => {
7072
7079
  v && v({ value: R.target.innerText, name: n });
7073
- }, N = (R) => {
7080
+ }, T = (R) => {
7074
7081
  R.preventDefault(), navigator.clipboard.readText().then((I) => {
7075
7082
  if (h) {
7076
7083
  let E = R.target.textContent.length;
@@ -7082,16 +7089,16 @@ function fa({
7082
7089
  });
7083
7090
  };
7084
7091
  const L = {};
7085
- L.field = "text", g && (L.className = g);
7092
+ L.field = "text", p && (L.className = p);
7086
7093
  const $ = {};
7087
7094
  return r && ($.placeholder = r), /* @__PURE__ */ a.jsxs("dl", { ...L, children: [
7088
7095
  s && /* @__PURE__ */ a.jsx("dt", { children: s }),
7089
7096
  /* @__PURE__ */ a.jsx(
7090
7097
  "dd",
7091
7098
  {
7092
- onPaste: N,
7093
- onBlur: y,
7094
- onInput: k,
7099
+ onPaste: T,
7100
+ onBlur: j,
7101
+ onInput: y,
7095
7102
  contentEditable: l && c ? z.ContentEditable : "false",
7096
7103
  ...$,
7097
7104
  suppressContentEditableWarning: !0,
@@ -7118,11 +7125,11 @@ function ma({
7118
7125
  onSave: h,
7119
7126
  className: v = ""
7120
7127
  }) {
7121
- let g = !!(o && (e === "" || e === void 0)), p = H.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), k = m.useRef(null);
7122
- if (!(l && c) && !u || !(l && c) && g) return "";
7123
- let y = (I) => {
7124
- k.current.textContent = I, t && t({ value: I, name: n });
7125
- }, N = (I) => {
7128
+ let p = !!(o && (e === "" || e === void 0)), g = H.Date(e === void 0 ? /* @__PURE__ */ new Date() : e, "HH:MM"), y = m.useRef(null);
7129
+ if (!(l && c) && !u || !(l && c) && p) return "";
7130
+ let j = (I) => {
7131
+ y.current.textContent = I, t && t({ value: I, name: n });
7132
+ }, T = (I) => {
7126
7133
  h && h({ value: I, name: n });
7127
7134
  }, L = (I) => {
7128
7135
  const E = I.target.getBoundingClientRect(), P = E.left, B = E.top;
@@ -7132,9 +7139,9 @@ function ma({
7132
7139
  Zc,
7133
7140
  {
7134
7141
  positions: { x: P, y: B },
7135
- onSave: N,
7136
- onValue: y,
7137
- date: p
7142
+ onSave: T,
7143
+ onValue: j,
7144
+ date: g
7138
7145
  },
7139
7146
  (/* @__PURE__ */ new Date()).getTime()
7140
7147
  )
@@ -7151,7 +7158,7 @@ function ma({
7151
7158
  }
7152
7159
  ) : /* @__PURE__ */ a.jsxs("dl", { ...$, children: [
7153
7160
  s ? /* @__PURE__ */ a.jsx("dt", { children: s }) : "",
7154
- /* @__PURE__ */ a.jsx("dd", { onClick: L, ref: k, ...R, children: p }),
7161
+ /* @__PURE__ */ a.jsx("dd", { onClick: L, ref: y, ...R, children: g }),
7155
7162
  i ? /* @__PURE__ */ a.jsx("em", { children: i }) : ""
7156
7163
  ] }) });
7157
7164
  }
@@ -7173,7 +7180,7 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7173
7180
  _ = !0;
7174
7181
  }, v = () => {
7175
7182
  _ = !1, o = o === "hour" ? "time" : "hour", f.body.current.setAttribute("active", o);
7176
- }, g = (R) => {
7183
+ }, p = (R) => {
7177
7184
  if (_) {
7178
7185
  let E = Math.atan2(
7179
7186
  R.pageX - (l.x + 78),
@@ -7187,7 +7194,7 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7187
7194
  m: H.Number(2, parseInt(String(E / 6), 10))
7188
7195
  }, f.timeText.current.textContent = i.m), n(i.h + ":" + i.m);
7189
7196
  }
7190
- }, p = (R) => {
7197
+ }, g = (R) => {
7191
7198
  if (o === "hour")
7192
7199
  if (R.deltaY > 0) {
7193
7200
  u += R.deltaY;
@@ -7224,15 +7231,15 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7224
7231
  }
7225
7232
  }
7226
7233
  n(i.h + ":" + i.m);
7227
- }, [k, y] = m.useState(!0), N = () => {
7228
- y(!1), t(i.h + ":" + i.m);
7234
+ }, [y, j] = m.useState(!0), T = () => {
7235
+ j(!1), t(i.h + ":" + i.m);
7229
7236
  }, L = window.innerHeight - e.y + 33 < 320 ? e.y - 312 : e.y + 33, $ = window.innerWidth - e.x < 265 ? e.x - 235 : e.x;
7230
- return /* @__PURE__ */ a.jsx(a.Fragment, { children: k ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7237
+ return /* @__PURE__ */ a.jsx(a.Fragment, { children: y ? /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
7231
7238
  /* @__PURE__ */ a.jsx(
7232
7239
  "div",
7233
7240
  {
7234
7241
  className: fe.o,
7235
- onClick: () => N()
7242
+ onClick: () => T()
7236
7243
  },
7237
7244
  (/* @__PURE__ */ new Date()).getTime()
7238
7245
  ),
@@ -7242,8 +7249,8 @@ const Zc = ({ positions: e, onSave: t, onValue: n, date: r }) => {
7242
7249
  className: fe.c,
7243
7250
  onMouseDown: h,
7244
7251
  onMouseUp: v,
7245
- onMouseMove: g,
7246
- onWheel: p,
7252
+ onMouseMove: p,
7253
+ onWheel: g,
7247
7254
  ref: f.body,
7248
7255
  style: { top: L + "px", left: $ + "px" },
7249
7256
  children: [
@@ -7366,34 +7373,34 @@ function ga({
7366
7373
  max: f = 0,
7367
7374
  onSave: h,
7368
7375
  className: v = "",
7369
- separator: g = ","
7376
+ separator: p = ","
7370
7377
  }) {
7371
- const [p, k] = m.useState(
7372
- e !== void 0 ? e.split(g) : []
7378
+ const [g, y] = m.useState(
7379
+ e !== void 0 ? e.split(p) : []
7373
7380
  );
7374
7381
  m.useEffect(() => {
7375
- k(e !== void 0 ? e !== void 0 ? e.split(g) : [] : []);
7382
+ y(e !== void 0 ? e !== void 0 ? e.split(p) : [] : []);
7376
7383
  }, [e]);
7377
- let y = () => {
7378
- if (f !== 0 && p.length >= f)
7384
+ let j = () => {
7385
+ if (f !== 0 && g.length >= f)
7379
7386
  return Ce.Error("Слишком много");
7380
- k([...p, ""]);
7381
- }, N = (b) => {
7382
- p.splice(b, 1), p.length === 0 && p.push(""), k([...p]), h !== void 0 && h({ value: p.join(g), name: n });
7387
+ y([...g, ""]);
7388
+ }, T = (b) => {
7389
+ g.splice(b, 1), g.length === 0 && g.push(""), y([...g]), h !== void 0 && h({ value: g.join(p), name: n });
7383
7390
  }, L = !!(o && (e === "" || e === void 0)), $ = (b) => {
7384
7391
  };
7385
7392
  if (!(l && c) && !u || !(l && c) && L) return "";
7386
7393
  const R = {};
7387
7394
  R.field = "group", v && (R.className = v);
7388
7395
  const I = (b, S) => {
7389
- z.Blur(b), p[S] = b.target.textContent, h && h({ value: p.join(g), name: n });
7396
+ z.Blur(b), g[S] = b.target.textContent, h && h({ value: g.join(p), name: n });
7390
7397
  };
7391
7398
  let E = (b, S) => {
7392
- p[S] = b.target.textContent, t && t({ value: p.join(g), name: n });
7399
+ g[S] = b.target.textContent, t && t({ value: g.join(p), name: n });
7393
7400
  }, P = (b) => {
7394
7401
  b.key === "Enter" && b.preventDefault();
7395
7402
  };
7396
- const B = ({ data: b }) => f !== 0 && b.length >= f ? "" : /* @__PURE__ */ a.jsx("i", { onClick: y, children: /* @__PURE__ */ a.jsxs(
7403
+ const B = ({ data: b }) => f !== 0 && b.length >= f ? "" : /* @__PURE__ */ a.jsx("i", { onClick: j, children: /* @__PURE__ */ a.jsxs(
7397
7404
  "svg",
7398
7405
  {
7399
7406
  xmlns: "http://www.w3.org/2000/svg",
@@ -7412,9 +7419,9 @@ function ga({
7412
7419
  return /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
7413
7420
  /* @__PURE__ */ a.jsxs("dt", { children: [
7414
7421
  s,
7415
- /* @__PURE__ */ a.jsx(B, { data: p })
7422
+ /* @__PURE__ */ a.jsx(B, { data: g })
7416
7423
  ] }),
7417
- /* @__PURE__ */ a.jsx("dd", { children: p.map((b, S) => /* @__PURE__ */ a.jsxs("li", { className: "field_group_item", children: [
7424
+ /* @__PURE__ */ a.jsx("dd", { children: g.map((b, S) => /* @__PURE__ */ a.jsxs("li", { className: "field_group_item", children: [
7418
7425
  /* @__PURE__ */ a.jsx(
7419
7426
  "span",
7420
7427
  {
@@ -7427,14 +7434,14 @@ function ga({
7427
7434
  onKeyDown: P,
7428
7435
  onBlur: (C) => I(C, S),
7429
7436
  suppressContentEditableWarning: !0,
7430
- children: p[S]
7437
+ children: g[S]
7431
7438
  }
7432
7439
  ),
7433
7440
  /* @__PURE__ */ a.jsx(
7434
7441
  "i",
7435
7442
  {
7436
7443
  onClick: () => {
7437
- N(S);
7444
+ T(S);
7438
7445
  },
7439
7446
  children: /* @__PURE__ */ a.jsxs(
7440
7447
  "svg",
@@ -7475,27 +7482,27 @@ function xa({
7475
7482
  modal: f,
7476
7483
  module: h,
7477
7484
  options: v,
7478
- className: g
7485
+ className: p
7479
7486
  }) {
7480
- const [p, k] = m.useState(Wc(e)), y = ($) => {
7487
+ const [g, y] = m.useState(Wc(e)), j = ($) => {
7481
7488
  if (!(l && _) || !f) return;
7482
7489
  let R = f.split(".");
7483
7490
  _t.Open(R[0], R[1], {
7484
7491
  callback: (I) => {
7485
- t && t({ value: I, name: n }), k(I);
7492
+ t && t({ value: I, name: n }), y(I);
7486
7493
  },
7487
7494
  onValue: t,
7488
7495
  options: v,
7489
7496
  name: n,
7490
- value: p
7497
+ value: g
7491
7498
  });
7492
- }, N = {};
7493
- N.field = "group", g && (N.className = g);
7499
+ }, T = {};
7500
+ T.field = "group", p && (T.className = p);
7494
7501
  const L = {};
7495
- return r && (L.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...N, children: [
7502
+ return r && (L.placeholder = r), o ? /* @__PURE__ */ a.jsx(a.Fragment, {}) : /* @__PURE__ */ a.jsxs("dl", { ...T, children: [
7496
7503
  /* @__PURE__ */ a.jsxs("dt", { children: [
7497
7504
  s,
7498
- /* @__PURE__ */ a.jsx("i", { onClick: y, children: /* @__PURE__ */ a.jsxs(
7505
+ /* @__PURE__ */ a.jsx("i", { onClick: j, children: /* @__PURE__ */ a.jsxs(
7499
7506
  "svg",
7500
7507
  {
7501
7508
  width: "20",
@@ -7520,7 +7527,7 @@ function xa({
7520
7527
  onClick: open,
7521
7528
  edit: (l && _) + "",
7522
7529
  "data-after": u,
7523
- children: Object.keys(p).map(($) => {
7530
+ children: Object.keys(g).map(($) => {
7524
7531
  var R;
7525
7532
  return /* @__PURE__ */ a.jsx("div", { className: "field_group_item", children: (R = v[$]) == null ? void 0 : R.label }, $);
7526
7533
  })
@@ -7545,12 +7552,12 @@ function Sn({
7545
7552
  type: f,
7546
7553
  view: h,
7547
7554
  onBlur: v,
7548
- onSave: g,
7549
- className: p = ""
7555
+ onSave: p,
7556
+ className: g = ""
7550
7557
  }) {
7551
- const k = m.useId();
7552
- let y = !!(l && (e === "" || e === void 0)), [N, L] = m.useState(i);
7553
- if (!(c && _) && !x || !(c && _) && y) return "";
7558
+ const y = m.useId();
7559
+ let j = !!(l && (e === "" || e === void 0)), [T, L] = m.useState(i);
7560
+ if (!(c && _) && !x || !(c && _) && j) return "";
7554
7561
  const $ = async (I) => {
7555
7562
  if (f) {
7556
7563
  let E = Hc(I, f, e || "default");
@@ -7558,7 +7565,7 @@ function Sn({
7558
7565
  } else
7559
7566
  t == null || t({ name: n, value: I }), L(URL.createObjectURL(I));
7560
7567
  }, R = {};
7561
- return R.field = "file", p && (R.className = p), /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
7568
+ return R.field = "file", g && (R.className = g), /* @__PURE__ */ a.jsxs("dl", { ...R, children: [
7562
7569
  s && /* @__PURE__ */ a.jsxs("dt", { children: [
7563
7570
  s,
7564
7571
  " "
@@ -7567,7 +7574,7 @@ function Sn({
7567
7574
  /* @__PURE__ */ a.jsx(
7568
7575
  "input",
7569
7576
  {
7570
- id: k,
7577
+ id: y,
7571
7578
  type: "file",
7572
7579
  multiple: !0,
7573
7580
  onChange: (I) => {
@@ -7575,8 +7582,8 @@ function Sn({
7575
7582
  }
7576
7583
  }
7577
7584
  ),
7578
- /* @__PURE__ */ a.jsx("label", { htmlFor: k }),
7579
- /* @__PURE__ */ a.jsx("img", { src: N })
7585
+ /* @__PURE__ */ a.jsx("label", { htmlFor: y }),
7586
+ /* @__PURE__ */ a.jsx("img", { src: T })
7580
7587
  ] }),
7581
7588
  o && /* @__PURE__ */ a.jsx("em", { children: o })
7582
7589
  ] });
@@ -7716,36 +7723,36 @@ function Qc({
7716
7723
  className: v = ""
7717
7724
  }) {
7718
7725
  _ = _ !== void 0 ? _ : !0, u = u !== void 0 ? u : !0, c = !!(c && (e === "" || e === void 0)) && !(_ && u), m.useRef(null);
7719
- let p = s, k = !0, y = 0, N = (C, T) => {
7726
+ let g = s, y = !0, j = 0, T = (C, N) => {
7720
7727
  let W = document.createRange(), ee = window.getSelection();
7721
- W.setStart(T.childNodes[0], C), W.collapse(!0), ee.removeAllRanges(), ee.addRange(W), T.focus();
7728
+ W.setStart(N.childNodes[0], C), W.collapse(!0), ee.removeAllRanges(), ee.addRange(W), N.focus();
7722
7729
  }, L = (C) => {
7723
- C.preventDefault(), navigator.clipboard.readText().then((T) => {
7724
- window.document.execCommand("insertText", !1, T);
7725
- }).catch((T) => {
7730
+ C.preventDefault(), navigator.clipboard.readText().then((N) => {
7731
+ window.document.execCommand("insertText", !1, N);
7732
+ }).catch((N) => {
7726
7733
  });
7727
7734
  }, $ = (C) => {
7728
- let T = 0, W = "", ee = C.replace(/\D/g, "");
7729
- ee === "" && (k = !0);
7735
+ let N = 0, W = "", ee = C.replace(/\D/g, "");
7736
+ ee === "" && (y = !0);
7730
7737
  let oe = ee.split(""), ve = "";
7731
7738
  oe.forEach((Qe) => {
7732
- k && (ve += Qe, k && (y = ("" + ve).length, p = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""), y > ("" + ve).length && (k = !0, p = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""));
7739
+ y && (ve += Qe, y && (j = ("" + ve).length, g = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""), j > ("" + ve).length && (y = !0, g = s.replace(new RegExp("[0-9]", "g"), "_"), W = ""));
7733
7740
  });
7734
- let Ie = p.replace(/\D/g, "");
7735
- return Ie.length >= ee.length && (ee = Ie), { q: p.replace(/[_\d]/g, function() {
7736
- return ee.charAt(T++) || "_";
7737
- }), i: T, v: ee, f: W };
7741
+ let Ie = g.replace(/\D/g, "");
7742
+ return Ie.length >= ee.length && (ee = Ie), { q: g.replace(/[_\d]/g, function() {
7743
+ return ee.charAt(N++) || "_";
7744
+ }), i: N, v: ee, f: W };
7738
7745
  }, R = (C) => {
7739
7746
  C.preventDefault(), navigator.clipboard.writeText(C.target.textContent.replace(/\D/g, "")).then(
7740
7747
  function() {
7741
7748
  Ce.Copy("Данные в буфер обмене");
7742
7749
  },
7743
- function(T) {
7750
+ function(N) {
7744
7751
  }
7745
7752
  );
7746
7753
  }, I = $(e), E = (C) => {
7747
- let T = $(C.target.textContent);
7748
- C.target.textContent = T.q, T.i = T.q.lastIndexOf(T.v.substr(-1)), T.i < T.q.length && T.q !== p ? T.i++ : T.i = T.q.indexOf("_"), N(T.i, C.target), t && t({ value: T.q.replace(/\D/g, ""), name: r });
7754
+ let N = $(C.target.textContent);
7755
+ C.target.textContent = N.q, N.i = N.q.lastIndexOf(N.v.substr(-1)), N.i < N.q.length && N.q !== g ? N.i++ : N.i = N.q.indexOf("_"), T(N.i, C.target), t && t({ value: N.q.replace(/\D/g, ""), name: r });
7749
7756
  }, P = (C) => {
7750
7757
  C.key === "Enter" && C.preventDefault();
7751
7758
  };