@elcrm/form 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.es.js +85 -74
- package/dist/index.umd.js +26 -26
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_txgsc_1;animation-name:_shake_txgsc_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_txgsc_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_txgsc_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_txgsc_79._size-a_txgsc_89 ._w_txgsc_15{width:auto;margin:auto 20px}._modal_txgsc_79._size-s_txgsc_94 ._w_txgsc_15{width:400px}._modal_txgsc_79._size-m_txgsc_98 ._w_txgsc_15{width:500px}._modal_txgsc_79._size-l_txgsc_102 ._w_txgsc_15{width:800px}._modal_txgsc_79._size-x_txgsc_106 ._w_txgsc_15{width:1000px}._modal_txgsc_79._size-f_txgsc_110 ._w_txgsc_15{width:100%;max-width:1200px;min-width:910px}._o_txgsc_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._w_txgsc_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_txgsc_141{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_txgsc_155{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_txgsc_155 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_txgsc_155 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_txgsc_155 li:last-child{border-bottom:0}._l_txgsc_155 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_txgsc_192{padding-right:10px}._x_txgsc_196{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_txgsc_196 svg{width:20px}._x_txgsc_196:hover{opacity:1}._s_txgsc_89{flex:1;overflow-y:scroll}._c_txgsc_214{text-align:center;margin:20px}._f_txgsc_219{padding:0 20px;display:flex;flex-direction:column}._f_txgsc_219 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_txgsc_219 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_txgsc_219._row_txgsc_241 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_txgsc_219._row_txgsc_241 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_txgsc_219._col_txgsc_253 dt{padding-bottom:8px;margin-left:7px}._g_txgsc_258{display:flex;gap:10px;overflow:hidden}._c_txgsc_214{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_txgsc_214:first-child{margin-left:20px}._c_txgsc_214:last-child{margin-right:20px}._c_txgsc_214:hover{opacity:1;background:var(--tinge)}._c_txgsc_214 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_txgsc_214 b{text-align:center;display:block;color:var(--color)}._c_txgsc_214 p{text-align:center;font-size:15px;color:var(--text)}._m_txgsc_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d}.
|
|
1
|
+
@charset "UTF-8";._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_txgsc_1;animation-name:_shake_txgsc_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_txgsc_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_txgsc_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_txgsc_79._size-a_txgsc_89 ._w_txgsc_15{width:auto;margin:auto 20px}._modal_txgsc_79._size-s_txgsc_94 ._w_txgsc_15{width:400px}._modal_txgsc_79._size-m_txgsc_98 ._w_txgsc_15{width:500px}._modal_txgsc_79._size-l_txgsc_102 ._w_txgsc_15{width:800px}._modal_txgsc_79._size-x_txgsc_106 ._w_txgsc_15{width:1000px}._modal_txgsc_79._size-f_txgsc_110 ._w_txgsc_15{width:100%;max-width:1200px;min-width:910px}._o_txgsc_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._w_txgsc_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_txgsc_141{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_txgsc_155{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_txgsc_155 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_txgsc_155 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_txgsc_155 li:last-child{border-bottom:0}._l_txgsc_155 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_txgsc_192{padding-right:10px}._x_txgsc_196{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_txgsc_196 svg{width:20px}._x_txgsc_196:hover{opacity:1}._s_txgsc_89{flex:1;overflow-y:scroll}._c_txgsc_214{text-align:center;margin:20px}._f_txgsc_219{padding:0 20px;display:flex;flex-direction:column}._f_txgsc_219 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_txgsc_219 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_txgsc_219._row_txgsc_241 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_txgsc_219._row_txgsc_241 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_txgsc_219._col_txgsc_253 dt{padding-bottom:8px;margin-left:7px}._g_txgsc_258{display:flex;gap:10px;overflow:hidden}._c_txgsc_214{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_txgsc_214:first-child{margin-left:20px}._c_txgsc_214:last-child{margin-right:20px}._c_txgsc_214:hover{opacity:1;background:var(--tinge)}._c_txgsc_214 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_txgsc_214 b{text-align:center;display:block;color:var(--color)}._c_txgsc_214 p{text-align:center;font-size:15px;color:var(--text)}._m_txgsc_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1vba1_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1vba1_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1vba1_22::-webkit-scrollbar{width:0;height:0}._l_1vba1_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1vba1_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:5px 20px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._l_1vba1_22 li:hover{font-weight:700}._l_1vba1_22 li:last-child{border-bottom:0}._i_1vba1_71{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1vba1_80{cursor:pointer}:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 5px 10px;--field-height: 32px;--field-width: 300px;--field-label-color: #84919a}._l_1w86i_12{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._f_1w86i_19{box-sizing:border-box;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);outline:0;padding:var(--field-padding);min-height:var(--field-height)}._t_1w86i_30{color:var(--field-label-color);padding-bottom:8px}
|
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import A, { useEffect as Ur } from "react";
|
|
2
2
|
import { createPortal as zr } from "react-dom";
|
|
3
|
-
import './index.css';var
|
|
3
|
+
import './index.css';var Sr = { exports: {} }, dr = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,10 +10,10 @@ import './index.css';var Er = { exports: {} }, dr = {};
|
|
|
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
|
|
13
|
+
var Dr;
|
|
14
14
|
function Yr() {
|
|
15
|
-
if (
|
|
16
|
-
|
|
15
|
+
if (Dr) return dr;
|
|
16
|
+
Dr = 1;
|
|
17
17
|
var u = A, p = Symbol.for("react.element"), h = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, b = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
18
|
function C(x, c, d) {
|
|
19
19
|
var i, g = {}, _ = null, S = null;
|
|
@@ -34,9 +34,9 @@ var yr = {};
|
|
|
34
34
|
* This source code is licensed under the MIT license found in the
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/
|
|
37
|
-
var
|
|
37
|
+
var $r;
|
|
38
38
|
function Br() {
|
|
39
|
-
return
|
|
39
|
+
return $r || ($r = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
40
|
var u = A, p = Symbol.for("react.element"), h = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), x = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), $ = Symbol.iterator, M = "@@iterator";
|
|
41
41
|
function L(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
@@ -624,9 +624,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
yr.Fragment = f, yr.jsx = ur, yr.jsxs = lr;
|
|
625
625
|
}()), yr;
|
|
626
626
|
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var E =
|
|
629
|
-
function
|
|
627
|
+
process.env.NODE_ENV === "production" ? Sr.exports = Yr() : Sr.exports = Br();
|
|
628
|
+
var E = Sr.exports;
|
|
629
|
+
function Bt({ name: u, value: p, title: h, style: f, className: b }) {
|
|
630
630
|
let w = {
|
|
631
631
|
field: "progress"
|
|
632
632
|
};
|
|
@@ -666,7 +666,7 @@ Ie.Focus = (u) => {
|
|
|
666
666
|
Ie.Blur = (u) => {
|
|
667
667
|
u.target.scrollLeft = 0, u.target.querySelector("br") !== null && u.target.querySelector("br").remove();
|
|
668
668
|
};
|
|
669
|
-
var
|
|
669
|
+
var Or = { exports: {} }, vr = {};
|
|
670
670
|
/**
|
|
671
671
|
* @license React
|
|
672
672
|
* react-jsx-runtime.production.min.js
|
|
@@ -676,10 +676,10 @@ var Sr = { exports: {} }, vr = {};
|
|
|
676
676
|
* This source code is licensed under the MIT license found in the
|
|
677
677
|
* LICENSE file in the root directory of this source tree.
|
|
678
678
|
*/
|
|
679
|
-
var
|
|
679
|
+
var Fr;
|
|
680
680
|
function Kr() {
|
|
681
|
-
if (
|
|
682
|
-
|
|
681
|
+
if (Fr) return vr;
|
|
682
|
+
Fr = 1;
|
|
683
683
|
var u = A, p = Symbol.for("react.element"), h = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, b = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
684
684
|
function C(x, c, d) {
|
|
685
685
|
var i, g = {}, _ = null, S = null;
|
|
@@ -700,9 +700,9 @@ var br = {};
|
|
|
700
700
|
* This source code is licensed under the MIT license found in the
|
|
701
701
|
* LICENSE file in the root directory of this source tree.
|
|
702
702
|
*/
|
|
703
|
-
var
|
|
703
|
+
var Nr;
|
|
704
704
|
function Vr() {
|
|
705
|
-
return
|
|
705
|
+
return Nr || (Nr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
706
706
|
var u = A, p = Symbol.for("react.element"), h = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), x = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), $ = Symbol.iterator, M = "@@iterator";
|
|
707
707
|
function L(e) {
|
|
708
708
|
if (e === null || typeof e != "object")
|
|
@@ -1290,8 +1290,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1290
1290
|
br.Fragment = f, br.jsx = ur, br.jsxs = lr;
|
|
1291
1291
|
}()), br;
|
|
1292
1292
|
}
|
|
1293
|
-
process.env.NODE_ENV === "production" ?
|
|
1294
|
-
var G =
|
|
1293
|
+
process.env.NODE_ENV === "production" ? Or.exports = Kr() : Or.exports = Vr();
|
|
1294
|
+
var G = Or.exports;
|
|
1295
1295
|
const Jr = "_notice_13j98_2", qr = "_error_13j98_11", Xr = "_success_13j98_14", Hr = "_remark_13j98_17", Gr = "_copy_13j98_20", Mr = {
|
|
1296
1296
|
notice: Jr,
|
|
1297
1297
|
error: qr,
|
|
@@ -1378,7 +1378,7 @@ pr.success = () => /* @__PURE__ */ G.jsxs("svg", { viewBox: "0 0 24 24", fill: "
|
|
|
1378
1378
|
}
|
|
1379
1379
|
)
|
|
1380
1380
|
] });
|
|
1381
|
-
var
|
|
1381
|
+
var Cr;
|
|
1382
1382
|
((u) => {
|
|
1383
1383
|
function p() {
|
|
1384
1384
|
let [c, d] = A.useState([]);
|
|
@@ -1434,8 +1434,8 @@ var Or;
|
|
|
1434
1434
|
});
|
|
1435
1435
|
}
|
|
1436
1436
|
u.Copy = x;
|
|
1437
|
-
})(
|
|
1438
|
-
function
|
|
1437
|
+
})(Cr || (Cr = {}));
|
|
1438
|
+
function Kt({
|
|
1439
1439
|
id: u,
|
|
1440
1440
|
value: p,
|
|
1441
1441
|
onValue: h,
|
|
@@ -1466,7 +1466,7 @@ function Yt({
|
|
|
1466
1466
|
}, J = (R) => {
|
|
1467
1467
|
L && (R.preventDefault(), navigator.clipboard.writeText(R.target.textContent.trim()).then(
|
|
1468
1468
|
function() {
|
|
1469
|
-
|
|
1469
|
+
Cr.Copy("Данные в буфер обмене");
|
|
1470
1470
|
},
|
|
1471
1471
|
function(q) {
|
|
1472
1472
|
}
|
|
@@ -1516,7 +1516,7 @@ function Yt({
|
|
|
1516
1516
|
C ? /* @__PURE__ */ E.jsx("em", { children: C }) : ""
|
|
1517
1517
|
] });
|
|
1518
1518
|
}
|
|
1519
|
-
var
|
|
1519
|
+
var Tr = { exports: {} }, gr = {};
|
|
1520
1520
|
/**
|
|
1521
1521
|
* @license React
|
|
1522
1522
|
* react-jsx-runtime.production.min.js
|
|
@@ -1526,10 +1526,10 @@ var Cr = { exports: {} }, gr = {};
|
|
|
1526
1526
|
* This source code is licensed under the MIT license found in the
|
|
1527
1527
|
* LICENSE file in the root directory of this source tree.
|
|
1528
1528
|
*/
|
|
1529
|
-
var
|
|
1529
|
+
var Ir;
|
|
1530
1530
|
function Qr() {
|
|
1531
|
-
if (
|
|
1532
|
-
|
|
1531
|
+
if (Ir) return gr;
|
|
1532
|
+
Ir = 1;
|
|
1533
1533
|
var u = A, p = Symbol.for("react.element"), h = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, b = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1534
1534
|
function C(x, c, d) {
|
|
1535
1535
|
var i, g = {}, _ = null, S = null;
|
|
@@ -1550,9 +1550,9 @@ var _r = {};
|
|
|
1550
1550
|
* This source code is licensed under the MIT license found in the
|
|
1551
1551
|
* LICENSE file in the root directory of this source tree.
|
|
1552
1552
|
*/
|
|
1553
|
-
var
|
|
1553
|
+
var Ar;
|
|
1554
1554
|
function et() {
|
|
1555
|
-
return
|
|
1555
|
+
return Ar || (Ar = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1556
1556
|
var u = A, p = Symbol.for("react.element"), h = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), x = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), $ = Symbol.iterator, M = "@@iterator";
|
|
1557
1557
|
function L(e) {
|
|
1558
1558
|
if (e === null || typeof e != "object")
|
|
@@ -2140,8 +2140,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2140
2140
|
_r.Fragment = f, _r.jsx = ur, _r.jsxs = lr;
|
|
2141
2141
|
}()), _r;
|
|
2142
2142
|
}
|
|
2143
|
-
process.env.NODE_ENV === "production" ?
|
|
2144
|
-
var K =
|
|
2143
|
+
process.env.NODE_ENV === "production" ? Tr.exports = Qr() : Tr.exports = et();
|
|
2144
|
+
var K = Tr.exports;
|
|
2145
2145
|
const rt = "_shake_txgsc_1", tt = "_modal_txgsc_79", nt = "_w_txgsc_15", at = "_o_txgsc_116", ot = "_h_txgsc_141", it = "_l_txgsc_155", st = "_t_txgsc_192", ut = "_x_txgsc_196", lt = "_s_txgsc_89", ct = "_c_txgsc_214", ft = "_f_txgsc_219", pt = "_row_txgsc_241", dt = "_col_txgsc_253", yt = "_g_txgsc_258", vt = "_m_txgsc_79", fe = {
|
|
2146
2146
|
shake: rt,
|
|
2147
2147
|
modal: tt,
|
|
@@ -2181,7 +2181,7 @@ function bt({ children: u }) {
|
|
|
2181
2181
|
function _t({ children: u }) {
|
|
2182
2182
|
return /* @__PURE__ */ K.jsx("div", { className: fe.g, children: u });
|
|
2183
2183
|
}
|
|
2184
|
-
var
|
|
2184
|
+
var Pr = { exports: {} }, hr = {};
|
|
2185
2185
|
/**
|
|
2186
2186
|
* @license React
|
|
2187
2187
|
* react-jsx-runtime.production.min.js
|
|
@@ -2191,10 +2191,10 @@ var Tr = { exports: {} }, hr = {};
|
|
|
2191
2191
|
* This source code is licensed under the MIT license found in the
|
|
2192
2192
|
* LICENSE file in the root directory of this source tree.
|
|
2193
2193
|
*/
|
|
2194
|
-
var
|
|
2194
|
+
var Wr;
|
|
2195
2195
|
function jt() {
|
|
2196
|
-
if (
|
|
2197
|
-
|
|
2196
|
+
if (Wr) return hr;
|
|
2197
|
+
Wr = 1;
|
|
2198
2198
|
var u = A, p = Symbol.for("react.element"), h = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, b = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
2199
2199
|
function C(x, c, d) {
|
|
2200
2200
|
var i, g = {}, _ = null, S = null;
|
|
@@ -2215,9 +2215,9 @@ var jr = {};
|
|
|
2215
2215
|
* This source code is licensed under the MIT license found in the
|
|
2216
2216
|
* LICENSE file in the root directory of this source tree.
|
|
2217
2217
|
*/
|
|
2218
|
-
var
|
|
2218
|
+
var Lr;
|
|
2219
2219
|
function kt() {
|
|
2220
|
-
return
|
|
2220
|
+
return Lr || (Lr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2221
2221
|
var u = A, p = Symbol.for("react.element"), h = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), x = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), $ = Symbol.iterator, M = "@@iterator";
|
|
2222
2222
|
function L(e) {
|
|
2223
2223
|
if (e === null || typeof e != "object")
|
|
@@ -2805,8 +2805,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
2805
2805
|
jr.Fragment = f, jr.jsx = ur, jr.jsxs = lr;
|
|
2806
2806
|
}()), jr;
|
|
2807
2807
|
}
|
|
2808
|
-
process.env.NODE_ENV === "production" ?
|
|
2809
|
-
var
|
|
2808
|
+
process.env.NODE_ENV === "production" ? Pr.exports = jt() : Pr.exports = kt();
|
|
2809
|
+
var Rr = Pr.exports;
|
|
2810
2810
|
const wt = "_btn_1k1b3_1", xt = "_confirm_1k1b3_15", Rt = "_cancel_1k1b3_20", Et = "_action_1k1b3_25", St = "_disabled_1k1b3_30", Ot = "_m_1k1b3_44", Ct = "_l_1k1b3_48", kr = {
|
|
2811
2811
|
btn: wt,
|
|
2812
2812
|
confirm: xt,
|
|
@@ -2836,7 +2836,7 @@ const wt = "_btn_1k1b3_1", xt = "_confirm_1k1b3_15", Rt = "_cancel_1k1b3_20", Et
|
|
|
2836
2836
|
_ || (p ? (S(!0), p(S)) : L.preventDefault());
|
|
2837
2837
|
};
|
|
2838
2838
|
let M = {};
|
|
2839
|
-
return (w || _) && (M.disabled = !0), /* @__PURE__ */
|
|
2839
|
+
return (w || _) && (M.disabled = !0), /* @__PURE__ */ Rr.jsx(
|
|
2840
2840
|
"button",
|
|
2841
2841
|
{
|
|
2842
2842
|
...M,
|
|
@@ -2848,7 +2848,7 @@ const wt = "_btn_1k1b3_1", xt = "_confirm_1k1b3_15", Rt = "_cancel_1k1b3_20", Et
|
|
|
2848
2848
|
C
|
|
2849
2849
|
].filter((L) => L != "").join(" "),
|
|
2850
2850
|
onClick: $,
|
|
2851
|
-
children: _ ? g : /* @__PURE__ */
|
|
2851
|
+
children: _ ? g : /* @__PURE__ */ Rr.jsxs(Rr.Fragment, { children: [
|
|
2852
2852
|
c || "",
|
|
2853
2853
|
" ",
|
|
2854
2854
|
d,
|
|
@@ -2997,7 +2997,7 @@ var wr;
|
|
|
2997
2997
|
u.Main = c;
|
|
2998
2998
|
})(wr || (wr = {}));
|
|
2999
2999
|
const Dt = (u, p = ",") => (u = u !== void 0 && u !== "" ? u.split(p) : [], u.filter((h) => h !== "").reduce((h, f) => (h[f] = !0, h), {}));
|
|
3000
|
-
function
|
|
3000
|
+
function Vt({
|
|
3001
3001
|
value: u,
|
|
3002
3002
|
onValue: p,
|
|
3003
3003
|
name: h,
|
|
@@ -3083,15 +3083,17 @@ function Bt({
|
|
|
3083
3083
|
C && /* @__PURE__ */ E.jsx("em", { children: C })
|
|
3084
3084
|
] });
|
|
3085
3085
|
}
|
|
3086
|
-
const $t = "
|
|
3086
|
+
const $t = "_o_1vba1_12", Ft = "_l_1vba1_22", Nt = "_i_1vba1_71", It = "_f_1vba1_80", xr = {
|
|
3087
3087
|
o: $t,
|
|
3088
|
-
l: Ft
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3088
|
+
l: Ft,
|
|
3089
|
+
i: Nt,
|
|
3090
|
+
f: It
|
|
3091
|
+
}, At = "_l_1w86i_12", Wt = "_f_1w86i_19", Lt = "_t_1w86i_30", Er = {
|
|
3092
|
+
l: At,
|
|
3093
|
+
f: Wt,
|
|
3094
|
+
t: Lt
|
|
3093
3095
|
};
|
|
3094
|
-
function
|
|
3096
|
+
function Jt({
|
|
3095
3097
|
title: u,
|
|
3096
3098
|
error: p,
|
|
3097
3099
|
edit: h = !0,
|
|
@@ -3124,13 +3126,22 @@ function Kt({
|
|
|
3124
3126
|
"dl",
|
|
3125
3127
|
{
|
|
3126
3128
|
"data-field": "select",
|
|
3127
|
-
className: [
|
|
3129
|
+
className: [Er.l, d].filter((T) => T !== void 0).join(" "),
|
|
3128
3130
|
children: [
|
|
3129
|
-
u && /* @__PURE__ */ E.jsx("dt", { className:
|
|
3130
|
-
/* @__PURE__ */ E.jsx(
|
|
3131
|
+
u && /* @__PURE__ */ E.jsx("dt", { className: Er.t, children: u }),
|
|
3132
|
+
/* @__PURE__ */ E.jsx(
|
|
3133
|
+
"dd",
|
|
3134
|
+
{
|
|
3135
|
+
...R,
|
|
3136
|
+
className: [Er.f, xr.f].join(" "),
|
|
3137
|
+
ref: L,
|
|
3138
|
+
children: (Z = F == null ? void 0 : F[P]) == null ? void 0 : Z.n
|
|
3139
|
+
}
|
|
3140
|
+
),
|
|
3131
3141
|
Object.keys(F || {}).length !== 0 && i && /* @__PURE__ */ E.jsx(
|
|
3132
3142
|
"svg",
|
|
3133
3143
|
{
|
|
3144
|
+
className: xr.i,
|
|
3134
3145
|
fill: "none",
|
|
3135
3146
|
stroke: "currentColor",
|
|
3136
3147
|
strokeLinecap: "round",
|
|
@@ -3147,7 +3158,7 @@ function Kt({
|
|
|
3147
3158
|
),
|
|
3148
3159
|
J && zr(
|
|
3149
3160
|
/* @__PURE__ */ E.jsx(
|
|
3150
|
-
|
|
3161
|
+
Mt,
|
|
3151
3162
|
{
|
|
3152
3163
|
parent: L.position,
|
|
3153
3164
|
onValue: W,
|
|
@@ -3163,7 +3174,7 @@ function Kt({
|
|
|
3163
3174
|
)
|
|
3164
3175
|
] });
|
|
3165
3176
|
}
|
|
3166
|
-
const
|
|
3177
|
+
const Mt = ({
|
|
3167
3178
|
onValue: u,
|
|
3168
3179
|
parent: p,
|
|
3169
3180
|
className: h,
|
|
@@ -3180,7 +3191,7 @@ const Wt = ({
|
|
|
3180
3191
|
/* @__PURE__ */ E.jsx(
|
|
3181
3192
|
"div",
|
|
3182
3193
|
{
|
|
3183
|
-
className:
|
|
3194
|
+
className: xr.o,
|
|
3184
3195
|
onClick: C
|
|
3185
3196
|
},
|
|
3186
3197
|
(/* @__PURE__ */ new Date()).getTime()
|
|
@@ -3188,17 +3199,17 @@ const Wt = ({
|
|
|
3188
3199
|
/* @__PURE__ */ E.jsx(
|
|
3189
3200
|
"div",
|
|
3190
3201
|
{
|
|
3191
|
-
className: [
|
|
3202
|
+
className: [xr.l, h].filter((i) => i !== void 0).join(" "),
|
|
3192
3203
|
style: {
|
|
3193
3204
|
top: c + "px",
|
|
3194
3205
|
left: d + "px",
|
|
3195
3206
|
width: p.width
|
|
3196
3207
|
},
|
|
3197
|
-
children: /* @__PURE__ */ E.jsx(
|
|
3208
|
+
children: /* @__PURE__ */ E.jsx(Ut, { order: b, options: f, link: x })
|
|
3198
3209
|
}
|
|
3199
3210
|
)
|
|
3200
3211
|
] });
|
|
3201
|
-
},
|
|
3212
|
+
}, Ut = ({ order: u, options: p, link: h }) => u ? /* @__PURE__ */ E.jsx("ul", { children: u.map(
|
|
3202
3213
|
(f, b) => p[f].s !== 0 ? /* @__PURE__ */ E.jsx(
|
|
3203
3214
|
"li",
|
|
3204
3215
|
{
|
|
@@ -3221,7 +3232,7 @@ const Wt = ({
|
|
|
3221
3232
|
b
|
|
3222
3233
|
) : ""
|
|
3223
3234
|
) });
|
|
3224
|
-
function
|
|
3235
|
+
function qt({
|
|
3225
3236
|
value: u,
|
|
3226
3237
|
onValue: p,
|
|
3227
3238
|
name: h,
|
|
@@ -3270,7 +3281,7 @@ function Vt({
|
|
|
3270
3281
|
w && /* @__PURE__ */ E.jsx("em", { children: w })
|
|
3271
3282
|
] });
|
|
3272
3283
|
}
|
|
3273
|
-
function
|
|
3284
|
+
function Xt({
|
|
3274
3285
|
value: u,
|
|
3275
3286
|
onValue: p,
|
|
3276
3287
|
onSave: h,
|
|
@@ -3337,7 +3348,7 @@ function Jt({
|
|
|
3337
3348
|
x ? /* @__PURE__ */ E.jsx("em", { children: x }) : ""
|
|
3338
3349
|
] });
|
|
3339
3350
|
}
|
|
3340
|
-
function
|
|
3351
|
+
function Ht({
|
|
3341
3352
|
onValue: u,
|
|
3342
3353
|
onSave: p,
|
|
3343
3354
|
active: h,
|
|
@@ -3403,7 +3414,7 @@ function qt({
|
|
|
3403
3414
|
] });
|
|
3404
3415
|
}
|
|
3405
3416
|
const pe = {};
|
|
3406
|
-
function
|
|
3417
|
+
function Gt(u) {
|
|
3407
3418
|
const [p, h] = A.useState({}), f = A.useRef(u);
|
|
3408
3419
|
return pe.u = (b) => {
|
|
3409
3420
|
f.current = { ...f.current, [b.name]: b.value };
|
|
@@ -3413,13 +3424,13 @@ function Xt(u) {
|
|
|
3413
3424
|
h(Date.now());
|
|
3414
3425
|
}, [f.current, pe.n];
|
|
3415
3426
|
}
|
|
3416
|
-
function
|
|
3427
|
+
function Zt(u) {
|
|
3417
3428
|
pe.u(u), u.reload && pe.r();
|
|
3418
3429
|
}
|
|
3419
|
-
function
|
|
3430
|
+
function Qt() {
|
|
3420
3431
|
pe.r && pe.r();
|
|
3421
3432
|
}
|
|
3422
|
-
function
|
|
3433
|
+
function en(u) {
|
|
3423
3434
|
const [p, h] = A.useState({}), f = A.useRef(u);
|
|
3424
3435
|
return pe.u = (b) => {
|
|
3425
3436
|
f.current = { ...f.current, [b.name]: b.value };
|
|
@@ -3432,15 +3443,15 @@ function Zt(u) {
|
|
|
3432
3443
|
}, [f.current, pe.n];
|
|
3433
3444
|
}
|
|
3434
3445
|
export {
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
+
qt as Modal,
|
|
3447
|
+
Ht as Number,
|
|
3448
|
+
Vt as Options,
|
|
3449
|
+
Xt as Password,
|
|
3450
|
+
Bt as Progress,
|
|
3451
|
+
Jt as Select,
|
|
3452
|
+
Kt as String,
|
|
3453
|
+
Qt as runReload,
|
|
3454
|
+
Zt as setValue,
|
|
3455
|
+
Gt as useData,
|
|
3456
|
+
en as useError
|
|
3446
3457
|
};
|
package/dist/index.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(Z,$){typeof exports=="object"&&typeof module<"u"?$(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],$):(Z=typeof globalThis<"u"?globalThis:Z||self,$((Z.elCRM=Z.elCRM||{},Z.elCRM.components={}),Z.React,Z.ReactDOM))})(this,function(Z,$,Yr){"use strict";var
|
|
2
|
-
/*$vite$:1*/`,document.head.appendChild(
|
|
1
|
+
(function(Z,$){typeof exports=="object"&&typeof module<"u"?$(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],$):(Z=typeof globalThis<"u"?globalThis:Z||self,$((Z.elCRM=Z.elCRM||{},Z.elCRM.components={}),Z.React,Z.ReactDOM))})(this,function(Z,$,Yr){"use strict";var $r=document.createElement("style");$r.textContent=`@charset "UTF-8";._notice_13j98_2{position:absolute;top:var(--notice-top);left:var(--notice-left);right:var(--notice-right);bottom:var(--notice-bottom);z-index:1111;font-family:var(--notice-family)}._notice_13j98_2 ._error_13j98_11{color:var(--notice-error, #bb2014)}._notice_13j98_2 ._success_13j98_14{color:var(--notice-success, #367738)}._notice_13j98_2 ._remark_13j98_17{color:var(--notice-remark, #b77513)}._notice_13j98_2 ._copy_13j98_20{color:var(--notice-copy, #3f51b5)}._notice_13j98_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-radius, 5px);box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_13j98_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_13j98_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_13j98_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_13j98_1 1s 1;animation-fill-mode:forwards}._notice_13j98_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_13j98_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_13j98_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_13j98_1{0%{opacity:1}to{opacity:0}}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--modal-radius: 10px}[shake=true]{-webkit-animation-name:_shake_txgsc_1;animation-name:_shake_txgsc_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_txgsc_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}._modal_txgsc_79{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._modal_txgsc_79._size-a_txgsc_89 ._w_txgsc_15{width:auto;margin:auto 20px}._modal_txgsc_79._size-s_txgsc_94 ._w_txgsc_15{width:400px}._modal_txgsc_79._size-m_txgsc_98 ._w_txgsc_15{width:500px}._modal_txgsc_79._size-l_txgsc_102 ._w_txgsc_15{width:800px}._modal_txgsc_79._size-x_txgsc_106 ._w_txgsc_15{width:1000px}._modal_txgsc_79._size-f_txgsc_110 ._w_txgsc_15{width:100%;max-width:1200px;min-width:910px}._o_txgsc_116{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--modal-background-overflow, rgba(0, 0, 0, .7215686275))}._w_txgsc_15{box-shadow:5px 7px 18px 0 var(--modal-background-overflow, rgba(0, 0, 0, .7215686275));background-image:var(--modal-background-image);background-color:var(--modal-background-color);border-radius:var(--modal-radius);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap;overflow:hidden}._h_txgsc_141{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--modal-color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_txgsc_155{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--modal-color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_txgsc_155 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_txgsc_155 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_txgsc_155 li:last-child{border-bottom:0}._l_txgsc_155 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_txgsc_192{padding-right:10px}._x_txgsc_196{cursor:pointer;color:var(--modal-exit);opacity:.5;display:flex}._x_txgsc_196 svg{width:20px}._x_txgsc_196:hover{opacity:1}._s_txgsc_89{flex:1;overflow-y:scroll}._c_txgsc_214{text-align:center;margin:20px}._f_txgsc_219{padding:0 20px;display:flex;flex-direction:column}._f_txgsc_219 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_txgsc_219 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._f_txgsc_219._row_txgsc_241 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_txgsc_219._row_txgsc_241 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_txgsc_219._col_txgsc_253 dt{padding-bottom:8px;margin-left:7px}._g_txgsc_258{display:flex;gap:10px;overflow:hidden}._c_txgsc_214{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_txgsc_214:first-child{margin-left:20px}._c_txgsc_214:last-child{margin-right:20px}._c_txgsc_214:hover{opacity:1;background:var(--tinge)}._c_txgsc_214 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_txgsc_214 b{text-align:center;display:block;color:var(--color)}._c_txgsc_214 p{text-align:center;font-size:15px;color:var(--text)}._m_txgsc_79{flex:1}._btn_1k1b3_1{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1k1b3_1:hover{opacity:1}._confirm_1k1b3_15{background:var(--button-confirm-bg, #4caf50);color:var(--button-confirm-color, #fff)}._cancel_1k1b3_20{background:var(--button-cancel-bg, #f44336);color:var(--button-cancel-color, #fff)}._action_1k1b3_25{background:var(--button-action-bg, #4094f7);color:var(--button-action-color, #fff)}._disabled_1k1b3_30{background:var(--button-disabled-bg, #efefef);color:var(--button-disabled-color, #000);opacity:1;cursor:default}._await_1k1b3_37{background:var(--button-await-bg, #efefef);color:var(--button-await-color, #000);opacity:1;cursor:default}._m_1k1b3_44{min-width:200px}._l_1k1b3_48{flex:1}:root{--select-overlay: #0000;--select-height: 35px;--select-separator: 1px solid #999;--select-color: #fff;--select-background: #28292d;--select-icon: calc(--select-height / 1.5);--select-icon-padding: calc((--select-height - --select-icon)/2) ;--select-font-size: 13px}._o_1vba1_12{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:var(--select-overlay)}._l_1vba1_22{padding:0;margin:0;display:block;position:absolute;background:var(--select-background);z-index:99;border-radius:10px;overflow:scroll;max-height:300px}._l_1vba1_22::-webkit-scrollbar{width:0;height:0}._l_1vba1_22 ul{overflow-y:auto;width:100%;max-height:300px;display:block;overflow-x:hidden}._l_1vba1_22 li{border-bottom:var(--select-separator);cursor:pointer;display:block;padding:5px 20px;color:var(--select-color);border-left:0!important;text-align:left!important;height:var(--select-height);line-height:var(--select-height);font-size:var(--select-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._l_1vba1_22 li:hover{font-weight:700}._l_1vba1_22 li:last-child{border-bottom:0}._i_1vba1_71{position:absolute;width:var(--select-icon);height:var(--select-icon);color:var(--field-color);right:var(--select-icon-padding);top:var(--select-icon-padding)}._f_1vba1_80{cursor:pointer}:root{--field-background: #ffffff;--field-border: 1px solid #dde2e4;--field-radius: 6px;--field-color: #3f3f46;--field-padding: 5px 10px;--field-height: 32px;--field-width: 300px;--field-label-color: #84919a}._l_1w86i_12{display:flex;flex-direction:column;position:relative;min-width:var(--field-width)}._f_1w86i_19{box-sizing:border-box;border:var(--field-border);border-radius:var(--field-radius);background:var(--field-background);color:var(--field-color);outline:0;padding:var(--field-padding);min-height:var(--field-height)}._t_1w86i_30{color:var(--field-label-color);padding-bottom:8px}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild($r);var Sr={exports:{}},yr={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var
|
|
10
|
+
*/var Fr;function Br(){if(Fr)return yr;Fr=1;var l=$,p=Symbol.for("react.element"),m=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,b=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,k={key:!0,ref:!0,__self:!0,__source:!0};function C(j,u,d){var i,g={},h=null,O=null;d!==void 0&&(h=""+d),u.key!==void 0&&(h=""+u.key),u.ref!==void 0&&(O=u.ref);for(i in u)f.call(u,i)&&!k.hasOwnProperty(i)&&(g[i]=u[i]);if(j&&j.defaultProps)for(i in u=j.defaultProps,u)g[i]===void 0&&(g[i]=u[i]);return{$$typeof:p,type:j,key:h,ref:O,props:g,_owner:b.current}}return yr.Fragment=m,yr.jsx=C,yr.jsxs=C,yr}var vr={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.development.js
|
|
13
13
|
*
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var
|
|
19
|
-
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function
|
|
18
|
+
*/var Nr;function Kr(){return Nr||(Nr=1,process.env.NODE_ENV!=="production"&&function(){var l=$,p=Symbol.for("react.element"),m=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),j=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),i=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,W="@@iterator";function L(e){if(e===null||typeof e!="object")return null;var r=F&&e[F]||e[W];return typeof r=="function"?r:null}var P=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];N("error",e,t)}}function N(e,r,t){{var n=P.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(a){return String(a)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var V=!1,q=!1,D=!1,K=!1,z=!1,Y;Y=Symbol.for("react.module.reference");function E(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===k||z||e===b||e===d||e===i||K||e===O||V||q||D||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===C||e.$$typeof===j||e.$$typeof===u||e.$$typeof===Y||e.getModuleId!==void 0))}function J(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function Q(e){return e.displayName||"Context"}function T(e){if(e==null)return null;if(typeof e.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f:return"Fragment";case m:return"Portal";case k:return"Profiler";case b:return"StrictMode";case d:return"Suspense";case i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var r=e;return Q(r)+".Consumer";case C:var t=e;return Q(t._context)+".Provider";case u:return J(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:T(e.type)||"Memo";case h:{var s=e,c=s._payload,a=s._init;try{return T(a(c))}catch{return null}}}return null}var I=Object.assign,X=0,ve,_e,ge,me,be,he,xe;function we(){}we.__reactDisabledLog=!0;function Me(){{if(X===0){ve=console.log,_e=console.info,ge=console.warn,me=console.error,be=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:we,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}X++}}function Ue(){{if(X--,X===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:ve}),info:I({},e,{value:_e}),warn:I({},e,{value:ge}),error:I({},e,{value:me}),group:I({},e,{value:be}),groupCollapsed:I({},e,{value:he}),groupEnd:I({},e,{value:xe})})}X<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=P.ReactCurrentDispatcher,ie;function ee(e,r,t){{if(ie===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);ie=n&&n[1]||""}return`
|
|
19
|
+
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function ke(e,r){if(!e||se)return"";{var t=re.get(e);if(t!==void 0)return t}var n;se=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=ae.current,ae.current=null,Me();try{if(r){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(w){n=w}Reflect.construct(e,[],a)}else{try{a.call()}catch(w){n=w}e.call(a.prototype)}}else{try{throw Error()}catch(w){n=w}e()}}catch(w){if(w&&n&&typeof w.stack=="string"){for(var o=w.stack.split(`
|
|
20
20
|
`),x=n.stack.split(`
|
|
21
21
|
`),y=o.length-1,_=x.length-1;y>=1&&_>=0&&o[y]!==x[_];)_--;for(;y>=1&&_>=0;y--,_--)if(o[y]!==x[_]){if(y!==1||_!==1)do if(y--,_--,_<0||o[y]!==x[_]){var R=`
|
|
22
|
-
`+o[y].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(y>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var U=e?e.displayName||e.name:"",
|
|
22
|
+
`+o[y].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(y>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var U=e?e.displayName||e.name:"",A=U?ee(U):"";return typeof e=="function"&&re.set(e,A),A}function Be(e,r,t){return ke(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function te(e,r,t){if(e==null)return"";if(typeof e=="function")return ke(e,Ke(e));if(typeof e=="string")return ee(e);switch(e){case d:return ee("Suspense");case i:return ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return Be(e.render);case g:return te(e.type,r,t);case h:{var n=e,s=n._payload,c=n._init;try{return te(c(s),r,t)}catch{}}}return""}var H=Object.prototype.hasOwnProperty,je={},Ee=P.ReactDebugCurrentFrame;function ne(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}function Ve(e,r,t,n,s){{var c=Function.call.bind(H);for(var a in e)if(c(e,a)){var o=void 0;try{if(typeof e[a]!="function"){var x=Error((n||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}o=e[a](r,a,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(y){o=y}o&&!(o instanceof Error)&&(ne(s),v("%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).",n||"React class",t,a,typeof o),ne(null)),o instanceof Error&&!(o.message in je)&&(je[o.message]=!0,ne(s),v("Failed %s type: %s",t,o.message),ne(null))}}}var qe=Array.isArray;function le(e){return qe(e)}function Je(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Xe(e){try{return Se(e),!1}catch{return!0}}function Se(e){return""+e}function Oe(e){if(Xe(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Se(e)}var Re=P.ReactCurrentOwner,He={key:!0,ref:!0,__self:!0,__source:!0},Ce,Te;function Ge(e){if(H.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(H.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){typeof e.ref=="string"&&Re.current}function er(e,r){{var t=function(){Ce||(Ce=!0,v("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Te||(Te=!0,v("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,n,s,c,a){var o={$$typeof:p,type:e,key:r,ref:t,props:a,_owner:c};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function nr(e,r,t,n,s){{var c,a={},o=null,x=null;t!==void 0&&(Oe(t),o=""+t),Ze(r)&&(Oe(r.key),o=""+r.key),Ge(r)&&(x=r.ref,Qe(r,s));for(c in r)H.call(r,c)&&!He.hasOwnProperty(c)&&(a[c]=r[c]);if(e&&e.defaultProps){var y=e.defaultProps;for(c in y)a[c]===void 0&&(a[c]=y[c])}if(o||x){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&er(a,_),x&&rr(a,_)}return tr(e,o,x,s,n,Re.current,a)}}var ce=P.ReactCurrentOwner,Pe=P.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}var ue;ue=!1;function fe(e){return typeof e=="object"&&e!==null&&e.$$typeof===p}function De(){{if(ce.current){var e=T(ce.current.type);if(e)return`
|
|
23
23
|
|
|
24
24
|
Check the render method of \``+e+"`."}return""}}function or(e){return""}var $e={};function ar(e){{var r=De();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
25
25
|
|
|
26
|
-
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+T(e._owner.type)+"."),M(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),M(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=L(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=T(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=T(r);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){M(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),M(null);break}}e.ref!==null&&(M(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Ie={};function
|
|
26
|
+
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+T(e._owner.type)+"."),M(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),M(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=L(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=T(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=T(r);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){M(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),M(null);break}}e.ref!==null&&(M(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Ie={};function Ae(e,r,t,n,s,c){{var a=E(e);if(!a){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x=or();x?o+=x:o+=De();var y;e===null?y="null":le(e)?y="array":e!==void 0&&e.$$typeof===p?(y="<"+(T(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):y=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",y,o)}var _=nr(e,r,t,s,c);if(_==null)return _;if(a){var R=r.children;if(R!==void 0)if(n)if(le(R)){for(var U=0;U<R.length;U++)Ne(R[U],e);Object.freeze&&Object.freeze(R)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ne(R,e)}if(H.call(r,"key")){var A=T(e),w=Object.keys(r).filter(function(dr){return dr!=="key"}),pe=w.length>0?"{key: someKey, "+w.join(": ..., ")+": ...}":"{key: someKey}";if(!Ie[A+pe]){var pr=w.length>0?"{"+w.join(": ..., ")+": ...}":"{}";v(`A props object containing a "key" prop is being spread into JSX:
|
|
27
27
|
let props = %s;
|
|
28
28
|
<%s {...props} />
|
|
29
29
|
React keys must be passed directly to JSX without using spread:
|
|
30
30
|
let props = %s;
|
|
31
|
-
<%s key={someKey} {...props} />`,pe,
|
|
31
|
+
<%s key={someKey} {...props} />`,pe,A,pr,A),Ie[A+pe]=!0}}return e===f?sr(_):ir(_),_}}function lr(e,r,t){return Ae(e,r,t,!0)}function cr(e,r,t){return Ae(e,r,t,!1)}var ur=cr,fr=lr;vr.Fragment=f,vr.jsx=ur,vr.jsxs=fr}()),vr}process.env.NODE_ENV==="production"?Sr.exports=Br():Sr.exports=Kr();var S=Sr.exports;function Vr({name:l,value:p,title:m,style:f,className:b}){let k={field:"progress"};return f&&(k.style=f),b&&(k.className=b),S.jsxs("dl",{...k,children:[m&&S.jsx("dt",{children:m}),S.jsx("dd",{})]})}let ye={};ye.KeyDown=l=>{l.key==="Enter"&&l.preventDefault()},ye.PasteOne=l=>{l.preventDefault(),navigator.clipboard.readText().then(p=>{p=p.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,p)}).catch(p=>{})},ye.Paste=(l,p)=>{p.preventDefault(),navigator.clipboard.readText().then(m=>{if(l){let f=p.target.textContent.length;if(f>=l)return;l-=f,m=m.slice(0,l)}window.document.execCommand("insertText",!1,m.replace(/(\r\n|\n|\r)/gm," "))}).catch(m=>{})},ye.Focus=l=>{l.target.textContent.length===0&&(l.target.innerHTML="<br>")},ye.Blur=l=>{l.target.scrollLeft=0,l.target.querySelector("br")!==null&&l.target.querySelector("br").remove()};var Or={exports:{}},_r={};/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.production.min.js
|
|
34
34
|
*
|
|
@@ -36,7 +36,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
36
36
|
*
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/var
|
|
39
|
+
*/var Ir;function qr(){if(Ir)return _r;Ir=1;var l=$,p=Symbol.for("react.element"),m=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,b=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,k={key:!0,ref:!0,__self:!0,__source:!0};function C(j,u,d){var i,g={},h=null,O=null;d!==void 0&&(h=""+d),u.key!==void 0&&(h=""+u.key),u.ref!==void 0&&(O=u.ref);for(i in u)f.call(u,i)&&!k.hasOwnProperty(i)&&(g[i]=u[i]);if(j&&j.defaultProps)for(i in u=j.defaultProps,u)g[i]===void 0&&(g[i]=u[i]);return{$$typeof:p,type:j,key:h,ref:O,props:g,_owner:b.current}}return _r.Fragment=m,_r.jsx=C,_r.jsxs=C,_r}var hr={};/**
|
|
40
40
|
* @license React
|
|
41
41
|
* react-jsx-runtime.development.js
|
|
42
42
|
*
|
|
@@ -44,20 +44,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
44
44
|
*
|
|
45
45
|
* This source code is licensed under the MIT license found in the
|
|
46
46
|
* LICENSE file in the root directory of this source tree.
|
|
47
|
-
*/var
|
|
48
|
-
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function
|
|
47
|
+
*/var Ar;function Jr(){return Ar||(Ar=1,process.env.NODE_ENV!=="production"&&function(){var l=$,p=Symbol.for("react.element"),m=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),j=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),i=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,W="@@iterator";function L(e){if(e===null||typeof e!="object")return null;var r=F&&e[F]||e[W];return typeof r=="function"?r:null}var P=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];N("error",e,t)}}function N(e,r,t){{var n=P.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(a){return String(a)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var V=!1,q=!1,D=!1,K=!1,z=!1,Y;Y=Symbol.for("react.module.reference");function E(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===k||z||e===b||e===d||e===i||K||e===O||V||q||D||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===C||e.$$typeof===j||e.$$typeof===u||e.$$typeof===Y||e.getModuleId!==void 0))}function J(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function Q(e){return e.displayName||"Context"}function T(e){if(e==null)return null;if(typeof e.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f:return"Fragment";case m:return"Portal";case k:return"Profiler";case b:return"StrictMode";case d:return"Suspense";case i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var r=e;return Q(r)+".Consumer";case C:var t=e;return Q(t._context)+".Provider";case u:return J(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:T(e.type)||"Memo";case h:{var s=e,c=s._payload,a=s._init;try{return T(a(c))}catch{return null}}}return null}var I=Object.assign,X=0,ve,_e,ge,me,be,he,xe;function we(){}we.__reactDisabledLog=!0;function Me(){{if(X===0){ve=console.log,_e=console.info,ge=console.warn,me=console.error,be=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:we,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}X++}}function Ue(){{if(X--,X===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:ve}),info:I({},e,{value:_e}),warn:I({},e,{value:ge}),error:I({},e,{value:me}),group:I({},e,{value:be}),groupCollapsed:I({},e,{value:he}),groupEnd:I({},e,{value:xe})})}X<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=P.ReactCurrentDispatcher,ie;function ee(e,r,t){{if(ie===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);ie=n&&n[1]||""}return`
|
|
48
|
+
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function ke(e,r){if(!e||se)return"";{var t=re.get(e);if(t!==void 0)return t}var n;se=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=ae.current,ae.current=null,Me();try{if(r){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(w){n=w}Reflect.construct(e,[],a)}else{try{a.call()}catch(w){n=w}e.call(a.prototype)}}else{try{throw Error()}catch(w){n=w}e()}}catch(w){if(w&&n&&typeof w.stack=="string"){for(var o=w.stack.split(`
|
|
49
49
|
`),x=n.stack.split(`
|
|
50
50
|
`),y=o.length-1,_=x.length-1;y>=1&&_>=0&&o[y]!==x[_];)_--;for(;y>=1&&_>=0;y--,_--)if(o[y]!==x[_]){if(y!==1||_!==1)do if(y--,_--,_<0||o[y]!==x[_]){var R=`
|
|
51
|
-
`+o[y].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(y>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var U=e?e.displayName||e.name:"",
|
|
51
|
+
`+o[y].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(y>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var U=e?e.displayName||e.name:"",A=U?ee(U):"";return typeof e=="function"&&re.set(e,A),A}function Be(e,r,t){return ke(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function te(e,r,t){if(e==null)return"";if(typeof e=="function")return ke(e,Ke(e));if(typeof e=="string")return ee(e);switch(e){case d:return ee("Suspense");case i:return ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return Be(e.render);case g:return te(e.type,r,t);case h:{var n=e,s=n._payload,c=n._init;try{return te(c(s),r,t)}catch{}}}return""}var H=Object.prototype.hasOwnProperty,je={},Ee=P.ReactDebugCurrentFrame;function ne(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}function Ve(e,r,t,n,s){{var c=Function.call.bind(H);for(var a in e)if(c(e,a)){var o=void 0;try{if(typeof e[a]!="function"){var x=Error((n||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}o=e[a](r,a,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(y){o=y}o&&!(o instanceof Error)&&(ne(s),v("%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).",n||"React class",t,a,typeof o),ne(null)),o instanceof Error&&!(o.message in je)&&(je[o.message]=!0,ne(s),v("Failed %s type: %s",t,o.message),ne(null))}}}var qe=Array.isArray;function le(e){return qe(e)}function Je(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Xe(e){try{return Se(e),!1}catch{return!0}}function Se(e){return""+e}function Oe(e){if(Xe(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Se(e)}var Re=P.ReactCurrentOwner,He={key:!0,ref:!0,__self:!0,__source:!0},Ce,Te;function Ge(e){if(H.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(H.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){typeof e.ref=="string"&&Re.current}function er(e,r){{var t=function(){Ce||(Ce=!0,v("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Te||(Te=!0,v("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,n,s,c,a){var o={$$typeof:p,type:e,key:r,ref:t,props:a,_owner:c};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function nr(e,r,t,n,s){{var c,a={},o=null,x=null;t!==void 0&&(Oe(t),o=""+t),Ze(r)&&(Oe(r.key),o=""+r.key),Ge(r)&&(x=r.ref,Qe(r));for(c in r)H.call(r,c)&&!He.hasOwnProperty(c)&&(a[c]=r[c]);if(e&&e.defaultProps){var y=e.defaultProps;for(c in y)a[c]===void 0&&(a[c]=y[c])}if(o||x){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&er(a,_),x&&rr(a,_)}return tr(e,o,x,s,n,Re.current,a)}}var ce=P.ReactCurrentOwner,Pe=P.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}var ue;ue=!1;function fe(e){return typeof e=="object"&&e!==null&&e.$$typeof===p}function De(){{if(ce.current){var e=T(ce.current.type);if(e)return`
|
|
52
52
|
|
|
53
53
|
Check the render method of \``+e+"`."}return""}}function or(e){return""}var $e={};function ar(e){{var r=De();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
54
54
|
|
|
55
|
-
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+T(e._owner.type)+"."),M(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),M(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=L(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=T(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=T(r);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){M(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),M(null);break}}e.ref!==null&&(M(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Ie={};function
|
|
55
|
+
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+T(e._owner.type)+"."),M(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),M(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=L(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=T(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=T(r);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){M(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),M(null);break}}e.ref!==null&&(M(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Ie={};function Ae(e,r,t,n,s,c){{var a=E(e);if(!a){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x=or();x?o+=x:o+=De();var y;e===null?y="null":le(e)?y="array":e!==void 0&&e.$$typeof===p?(y="<"+(T(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):y=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",y,o)}var _=nr(e,r,t,s,c);if(_==null)return _;if(a){var R=r.children;if(R!==void 0)if(n)if(le(R)){for(var U=0;U<R.length;U++)Ne(R[U],e);Object.freeze&&Object.freeze(R)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ne(R,e)}if(H.call(r,"key")){var A=T(e),w=Object.keys(r).filter(function(dr){return dr!=="key"}),pe=w.length>0?"{key: someKey, "+w.join(": ..., ")+": ...}":"{key: someKey}";if(!Ie[A+pe]){var pr=w.length>0?"{"+w.join(": ..., ")+": ...}":"{}";v(`A props object containing a "key" prop is being spread into JSX:
|
|
56
56
|
let props = %s;
|
|
57
57
|
<%s {...props} />
|
|
58
58
|
React keys must be passed directly to JSX without using spread:
|
|
59
59
|
let props = %s;
|
|
60
|
-
<%s key={someKey} {...props} />`,pe,
|
|
60
|
+
<%s key={someKey} {...props} />`,pe,A,pr,A),Ie[A+pe]=!0}}return e===f?sr(_):ir(_),_}}function lr(e,r,t){return Ae(e,r,t,!0)}function cr(e,r,t){return Ae(e,r,t,!1)}var ur=cr,fr=lr;hr.Fragment=f,hr.jsx=ur,hr.jsxs=fr}()),hr}process.env.NODE_ENV==="production"?Or.exports=qr():Or.exports=Jr();var G=Or.exports;const Xr="_notice_13j98_2",Hr="_error_13j98_11",Gr="_success_13j98_14",Zr="_remark_13j98_17",Qr="_copy_13j98_20",zr={notice:Xr,error:Hr,success:Gr,remark:Zr,copy:Qr,"show-notice":"_show-notice_13j98_1","hide-notice":"_hide-notice_13j98_1"};let ze={};function gr({data:l}){let[p,m]=$.useState("show");$.useEffect(()=>{l.hide&&(setTimeout(function(){m("hide")},1800),setTimeout(function(){ze.del(l.key)},2500))},[l.key]);let f,b;switch(l.type){case"error":f=G.jsx(We.error,{}),b="Ошибка:";break;case"success":f=G.jsx(We.success,{}),b="Информация:";break;case"copy":f=G.jsx(We.success,{}),b="Копирование:";break;case"remark":f=G.jsx(We.success,{}),b="Подсказка:";break;default:f=G.jsx(We.success,{}),b="Предупреждение:";break}return G.jsxs("li",{className:zr[l.type],"data-status":p,children:[f,G.jsx("b",{children:b}),G.jsx("p",{children:l.text})]})}function et({data:l}){let[p,m]=$.useState("show");return $.useEffect(()=>{l.hide&&(setTimeout(function(){m("hide")},1800),setTimeout(function(){ze.del(l.key)},2500))},[l.key]),G.jsx("li",{className:"item","data-status":p,children:l.text})}const We={};We.error=()=>G.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[G.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),G.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),We.success=()=>G.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[G.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),G.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});var Rr;(l=>{function p(){let[u,d]=$.useState([]);return ze.set=i=>{d([...u,i])},ze.del=i=>{d(u.filter(g=>g.key!==i))},u.length===0?"":G.jsx("ul",{className:zr.notice,children:u.map(i=>i.item)})}l.Init=p;function m(u,d=!0){let i=Date.now(),g={key:i,text:u,hide:d,type:"error"};ze.set({item:G.jsx(gr,{data:g},i),key:i})}l.Error=m;function f(u,d=!0){let i=Date.now(),g={key:i,text:u,hide:d,type:"success"};ze.set({item:G.jsx(gr,{data:g},i),key:i})}l.Success=f;function b(u,d=!0){let i=Date.now(),g={key:i,hide:d,text:u};ze.set({item:G.jsx(et,{data:g},i),key:i})}l.Custom=b;function k(u){let d=Date.now(),i={key:d,hide:!0,...u};ze.set({item:G.jsx(gr,{data:i},d),key:d})}l.Send=k;function C(u,d=!0){let i=Date.now(),g={key:i,text:u,hide:d,type:"remark"};ze.set({item:G.jsx(gr,{data:g},i),key:i})}l.Remark=C;function j(u,d=!0){let i=Date.now(),g={key:i,text:u,hide:d,type:"copy"};ze.set({item:G.jsx(gr,{data:g},i),key:i})}l.Copy=j})(Rr||(Rr={}));function rt({id:l,value:p,onValue:m,name:f,placeholder:b="",title:k="",error:C="",hide:j=!1,edit:u=!0,active:d=!0,after:i="",before:g="",show:h=!0,maxLength:O,onSave:F,className:W="",isCopy:L=!0,isReload:P=!1}){let v=!!(j&&(p===""||p===void 0)),N=E=>{m&&m({value:E.target.textContent.trim(),name:f,reload:P})},V=E=>{O&&E.target.textContent.trim().length>=O&&E.key!=="Backspace"&&E.preventDefault(),E.key==="Enter"&&E.preventDefault()},q=E=>{L&&(E.preventDefault(),navigator.clipboard.writeText(E.target.textContent.trim()).then(function(){Rr.Copy("Данные в буфер обмене")},function(J){}))},D=E=>{E.preventDefault(),navigator.clipboard.readText().then(J=>{if(O){let Q=E.target.textContent.length;if(Q>=O)return;O-=Q,J=J.slice(0,O)}window.document.execCommand("insertText",!1,J.replace(/(\r\n|\n|\r)/gm," "))}).catch(J=>{})};if(!(u&&d)&&!h||!(u&&d)&&v)return"";const K={};K.field="input",W&&(K.className=W);const z={};b&&(z.placeholder=b),u&&d&&(z.edit="");const Y=E=>{ye.Blur(E),F==null||F({value:E.target.textContent.trim(),name:f})};return S.jsxs("dl",{...K,children:[k?S.jsx("dt",{children:k}):"",g,S.jsx("dd",{onPaste:D,onInput:N,onBlur:Y,onKeyDown:V,onContextMenu:q,spellCheck:"true",contentEditable:u&&d?ye.ContentEditable:"false",suppressContentEditableWarning:!0,...z,children:p}),i,C?S.jsx("em",{children:C}):""]})}var Cr={exports:{}},mr={};/**
|
|
61
61
|
* @license React
|
|
62
62
|
* react-jsx-runtime.production.min.js
|
|
63
63
|
*
|
|
@@ -65,7 +65,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
65
65
|
*
|
|
66
66
|
* This source code is licensed under the MIT license found in the
|
|
67
67
|
* LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/var
|
|
68
|
+
*/var Lr;function tt(){if(Lr)return mr;Lr=1;var l=$,p=Symbol.for("react.element"),m=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,b=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,k={key:!0,ref:!0,__self:!0,__source:!0};function C(j,u,d){var i,g={},h=null,O=null;d!==void 0&&(h=""+d),u.key!==void 0&&(h=""+u.key),u.ref!==void 0&&(O=u.ref);for(i in u)f.call(u,i)&&!k.hasOwnProperty(i)&&(g[i]=u[i]);if(j&&j.defaultProps)for(i in u=j.defaultProps,u)g[i]===void 0&&(g[i]=u[i]);return{$$typeof:p,type:j,key:h,ref:O,props:g,_owner:b.current}}return mr.Fragment=m,mr.jsx=C,mr.jsxs=C,mr}var xr={};/**
|
|
69
69
|
* @license React
|
|
70
70
|
* react-jsx-runtime.development.js
|
|
71
71
|
*
|
|
@@ -73,20 +73,20 @@ React keys must be passed directly to JSX without using spread:
|
|
|
73
73
|
*
|
|
74
74
|
* This source code is licensed under the MIT license found in the
|
|
75
75
|
* LICENSE file in the root directory of this source tree.
|
|
76
|
-
*/var
|
|
77
|
-
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function
|
|
76
|
+
*/var Wr;function nt(){return Wr||(Wr=1,process.env.NODE_ENV!=="production"&&function(){var l=$,p=Symbol.for("react.element"),m=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),j=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),i=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,W="@@iterator";function L(e){if(e===null||typeof e!="object")return null;var r=F&&e[F]||e[W];return typeof r=="function"?r:null}var P=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];N("error",e,t)}}function N(e,r,t){{var n=P.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(a){return String(a)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var V=!1,q=!1,D=!1,K=!1,z=!1,Y;Y=Symbol.for("react.module.reference");function E(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===k||z||e===b||e===d||e===i||K||e===O||V||q||D||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===C||e.$$typeof===j||e.$$typeof===u||e.$$typeof===Y||e.getModuleId!==void 0))}function J(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function Q(e){return e.displayName||"Context"}function T(e){if(e==null)return null;if(typeof e.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f:return"Fragment";case m:return"Portal";case k:return"Profiler";case b:return"StrictMode";case d:return"Suspense";case i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var r=e;return Q(r)+".Consumer";case C:var t=e;return Q(t._context)+".Provider";case u:return J(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:T(e.type)||"Memo";case h:{var s=e,c=s._payload,a=s._init;try{return T(a(c))}catch{return null}}}return null}var I=Object.assign,X=0,ve,_e,ge,me,be,he,xe;function we(){}we.__reactDisabledLog=!0;function Me(){{if(X===0){ve=console.log,_e=console.info,ge=console.warn,me=console.error,be=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:we,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}X++}}function Ue(){{if(X--,X===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:ve}),info:I({},e,{value:_e}),warn:I({},e,{value:ge}),error:I({},e,{value:me}),group:I({},e,{value:be}),groupCollapsed:I({},e,{value:he}),groupEnd:I({},e,{value:xe})})}X<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=P.ReactCurrentDispatcher,ie;function ee(e,r,t){{if(ie===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);ie=n&&n[1]||""}return`
|
|
77
|
+
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function ke(e,r){if(!e||se)return"";{var t=re.get(e);if(t!==void 0)return t}var n;se=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=ae.current,ae.current=null,Me();try{if(r){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(w){n=w}Reflect.construct(e,[],a)}else{try{a.call()}catch(w){n=w}e.call(a.prototype)}}else{try{throw Error()}catch(w){n=w}e()}}catch(w){if(w&&n&&typeof w.stack=="string"){for(var o=w.stack.split(`
|
|
78
78
|
`),x=n.stack.split(`
|
|
79
79
|
`),y=o.length-1,_=x.length-1;y>=1&&_>=0&&o[y]!==x[_];)_--;for(;y>=1&&_>=0;y--,_--)if(o[y]!==x[_]){if(y!==1||_!==1)do if(y--,_--,_<0||o[y]!==x[_]){var R=`
|
|
80
|
-
`+o[y].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(y>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var U=e?e.displayName||e.name:"",
|
|
80
|
+
`+o[y].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(y>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var U=e?e.displayName||e.name:"",A=U?ee(U):"";return typeof e=="function"&&re.set(e,A),A}function Be(e,r,t){return ke(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function te(e,r,t){if(e==null)return"";if(typeof e=="function")return ke(e,Ke(e));if(typeof e=="string")return ee(e);switch(e){case d:return ee("Suspense");case i:return ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return Be(e.render);case g:return te(e.type,r,t);case h:{var n=e,s=n._payload,c=n._init;try{return te(c(s),r,t)}catch{}}}return""}var H=Object.prototype.hasOwnProperty,je={},Ee=P.ReactDebugCurrentFrame;function ne(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}function Ve(e,r,t,n,s){{var c=Function.call.bind(H);for(var a in e)if(c(e,a)){var o=void 0;try{if(typeof e[a]!="function"){var x=Error((n||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}o=e[a](r,a,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(y){o=y}o&&!(o instanceof Error)&&(ne(s),v("%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).",n||"React class",t,a,typeof o),ne(null)),o instanceof Error&&!(o.message in je)&&(je[o.message]=!0,ne(s),v("Failed %s type: %s",t,o.message),ne(null))}}}var qe=Array.isArray;function le(e){return qe(e)}function Je(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Xe(e){try{return Se(e),!1}catch{return!0}}function Se(e){return""+e}function Oe(e){if(Xe(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Se(e)}var Re=P.ReactCurrentOwner,He={key:!0,ref:!0,__self:!0,__source:!0},Ce,Te;function Ge(e){if(H.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(H.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){typeof e.ref=="string"&&Re.current}function er(e,r){{var t=function(){Ce||(Ce=!0,v("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Te||(Te=!0,v("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,n,s,c,a){var o={$$typeof:p,type:e,key:r,ref:t,props:a,_owner:c};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function nr(e,r,t,n,s){{var c,a={},o=null,x=null;t!==void 0&&(Oe(t),o=""+t),Ze(r)&&(Oe(r.key),o=""+r.key),Ge(r)&&(x=r.ref,Qe(r));for(c in r)H.call(r,c)&&!He.hasOwnProperty(c)&&(a[c]=r[c]);if(e&&e.defaultProps){var y=e.defaultProps;for(c in y)a[c]===void 0&&(a[c]=y[c])}if(o||x){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&er(a,_),x&&rr(a,_)}return tr(e,o,x,s,n,Re.current,a)}}var ce=P.ReactCurrentOwner,Pe=P.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}var ue;ue=!1;function fe(e){return typeof e=="object"&&e!==null&&e.$$typeof===p}function De(){{if(ce.current){var e=T(ce.current.type);if(e)return`
|
|
81
81
|
|
|
82
82
|
Check the render method of \``+e+"`."}return""}}function or(e){return""}var $e={};function ar(e){{var r=De();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
83
83
|
|
|
84
|
-
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+T(e._owner.type)+"."),M(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),M(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=L(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=T(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=T(r);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){M(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),M(null);break}}e.ref!==null&&(M(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Ie={};function
|
|
84
|
+
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+T(e._owner.type)+"."),M(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),M(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=L(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=T(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=T(r);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){M(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),M(null);break}}e.ref!==null&&(M(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Ie={};function Ae(e,r,t,n,s,c){{var a=E(e);if(!a){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x=or();x?o+=x:o+=De();var y;e===null?y="null":le(e)?y="array":e!==void 0&&e.$$typeof===p?(y="<"+(T(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):y=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",y,o)}var _=nr(e,r,t,s,c);if(_==null)return _;if(a){var R=r.children;if(R!==void 0)if(n)if(le(R)){for(var U=0;U<R.length;U++)Ne(R[U],e);Object.freeze&&Object.freeze(R)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ne(R,e)}if(H.call(r,"key")){var A=T(e),w=Object.keys(r).filter(function(dr){return dr!=="key"}),pe=w.length>0?"{key: someKey, "+w.join(": ..., ")+": ...}":"{key: someKey}";if(!Ie[A+pe]){var pr=w.length>0?"{"+w.join(": ..., ")+": ...}":"{}";v(`A props object containing a "key" prop is being spread into JSX:
|
|
85
85
|
let props = %s;
|
|
86
86
|
<%s {...props} />
|
|
87
87
|
React keys must be passed directly to JSX without using spread:
|
|
88
88
|
let props = %s;
|
|
89
|
-
<%s key={someKey} {...props} />`,pe,
|
|
89
|
+
<%s key={someKey} {...props} />`,pe,A,pr,A),Ie[A+pe]=!0}}return e===f?sr(_):ir(_),_}}function lr(e,r,t){return Ae(e,r,t,!0)}function cr(e,r,t){return Ae(e,r,t,!1)}var ur=cr,fr=lr;xr.Fragment=f,xr.jsx=ur,xr.jsxs=fr}()),xr}process.env.NODE_ENV==="production"?Cr.exports=tt():Cr.exports=nt();var B=Cr.exports;const ot="_shake_txgsc_1",at="_modal_txgsc_79",it="_w_txgsc_15",st="_o_txgsc_116",lt="_h_txgsc_141",ct="_l_txgsc_155",ut="_t_txgsc_192",ft="_x_txgsc_196",pt="_s_txgsc_89",dt="_c_txgsc_214",yt="_f_txgsc_219",vt="_row_txgsc_241",_t="_col_txgsc_253",gt="_g_txgsc_258",mt="_m_txgsc_79",oe={shake:ot,modal:at,"size-a":"_size-a_txgsc_89",w:it,"size-s":"_size-s_txgsc_94","size-m":"_size-m_txgsc_98","size-l":"_size-l_txgsc_102","size-x":"_size-x_txgsc_106","size-f":"_size-f_txgsc_110",o:st,h:lt,l:ct,t:ut,x:ft,s:pt,c:dt,f:yt,row:vt,col:_t,g:gt,m:mt};function bt({children:l}){return B.jsx("div",{className:oe.l,children:B.jsx("ul",{children:l})})}function ht({children:l}){return B.jsx("div",{className:oe.s,children:l})}function xt({children:l,viev:p="row",className:m}){let f={};return m&&(f.className=m),B.jsx("ul",{className:[oe.f,oe[p],f.className].join(" "),children:l})}function wt({children:l}){return B.jsx("div",{className:oe.c,children:l})}function kt({children:l}){return B.jsx("div",{className:oe.g,children:l})}var Tr={exports:{}},br={};/**
|
|
90
90
|
* @license React
|
|
91
91
|
* react-jsx-runtime.production.min.js
|
|
92
92
|
*
|
|
@@ -94,7 +94,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
94
94
|
*
|
|
95
95
|
* This source code is licensed under the MIT license found in the
|
|
96
96
|
* LICENSE file in the root directory of this source tree.
|
|
97
|
-
*/var
|
|
97
|
+
*/var Mr;function jt(){if(Mr)return br;Mr=1;var l=$,p=Symbol.for("react.element"),m=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,b=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,k={key:!0,ref:!0,__self:!0,__source:!0};function C(j,u,d){var i,g={},h=null,O=null;d!==void 0&&(h=""+d),u.key!==void 0&&(h=""+u.key),u.ref!==void 0&&(O=u.ref);for(i in u)f.call(u,i)&&!k.hasOwnProperty(i)&&(g[i]=u[i]);if(j&&j.defaultProps)for(i in u=j.defaultProps,u)g[i]===void 0&&(g[i]=u[i]);return{$$typeof:p,type:j,key:h,ref:O,props:g,_owner:b.current}}return br.Fragment=m,br.jsx=C,br.jsxs=C,br}var wr={};/**
|
|
98
98
|
* @license React
|
|
99
99
|
* react-jsx-runtime.development.js
|
|
100
100
|
*
|
|
@@ -102,17 +102,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
102
102
|
*
|
|
103
103
|
* This source code is licensed under the MIT license found in the
|
|
104
104
|
* LICENSE file in the root directory of this source tree.
|
|
105
|
-
*/var
|
|
106
|
-
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function
|
|
105
|
+
*/var Ur;function Et(){return Ur||(Ur=1,process.env.NODE_ENV!=="production"&&function(){var l=$,p=Symbol.for("react.element"),m=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),j=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),i=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,W="@@iterator";function L(e){if(e===null||typeof e!="object")return null;var r=F&&e[F]||e[W];return typeof r=="function"?r:null}var P=l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function v(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];N("error",e,t)}}function N(e,r,t){{var n=P.ReactDebugCurrentFrame,s=n.getStackAddendum();s!==""&&(r+="%s",t=t.concat([s]));var c=t.map(function(a){return String(a)});c.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,c)}}var V=!1,q=!1,D=!1,K=!1,z=!1,Y;Y=Symbol.for("react.module.reference");function E(e){return!!(typeof e=="string"||typeof e=="function"||e===f||e===k||z||e===b||e===d||e===i||K||e===O||V||q||D||typeof e=="object"&&e!==null&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===C||e.$$typeof===j||e.$$typeof===u||e.$$typeof===Y||e.getModuleId!==void 0))}function J(e,r,t){var n=e.displayName;if(n)return n;var s=r.displayName||r.name||"";return s!==""?t+"("+s+")":t}function Q(e){return e.displayName||"Context"}function T(e){if(e==null)return null;if(typeof e.tag=="number"&&v("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case f:return"Fragment";case m:return"Portal";case k:return"Profiler";case b:return"StrictMode";case d:return"Suspense";case i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case j:var r=e;return Q(r)+".Consumer";case C:var t=e;return Q(t._context)+".Provider";case u:return J(e,e.render,"ForwardRef");case g:var n=e.displayName||null;return n!==null?n:T(e.type)||"Memo";case h:{var s=e,c=s._payload,a=s._init;try{return T(a(c))}catch{return null}}}return null}var I=Object.assign,X=0,ve,_e,ge,me,be,he,xe;function we(){}we.__reactDisabledLog=!0;function Me(){{if(X===0){ve=console.log,_e=console.info,ge=console.warn,me=console.error,be=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:we,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}X++}}function Ue(){{if(X--,X===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:ve}),info:I({},e,{value:_e}),warn:I({},e,{value:ge}),error:I({},e,{value:me}),group:I({},e,{value:be}),groupCollapsed:I({},e,{value:he}),groupEnd:I({},e,{value:xe})})}X<0&&v("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=P.ReactCurrentDispatcher,ie;function ee(e,r,t){{if(ie===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);ie=n&&n[1]||""}return`
|
|
106
|
+
`+ie+e}}var se=!1,re;{var Ye=typeof WeakMap=="function"?WeakMap:Map;re=new Ye}function ke(e,r){if(!e||se)return"";{var t=re.get(e);if(t!==void 0)return t}var n;se=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var c;c=ae.current,ae.current=null,Me();try{if(r){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(a,[])}catch(w){n=w}Reflect.construct(e,[],a)}else{try{a.call()}catch(w){n=w}e.call(a.prototype)}}else{try{throw Error()}catch(w){n=w}e()}}catch(w){if(w&&n&&typeof w.stack=="string"){for(var o=w.stack.split(`
|
|
107
107
|
`),x=n.stack.split(`
|
|
108
108
|
`),y=o.length-1,_=x.length-1;y>=1&&_>=0&&o[y]!==x[_];)_--;for(;y>=1&&_>=0;y--,_--)if(o[y]!==x[_]){if(y!==1||_!==1)do if(y--,_--,_<0||o[y]!==x[_]){var R=`
|
|
109
|
-
`+o[y].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(y>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var U=e?e.displayName||e.name:"",
|
|
109
|
+
`+o[y].replace(" at new "," at ");return e.displayName&&R.includes("<anonymous>")&&(R=R.replace("<anonymous>",e.displayName)),typeof e=="function"&&re.set(e,R),R}while(y>=1&&_>=0);break}}}finally{se=!1,ae.current=c,Ue(),Error.prepareStackTrace=s}var U=e?e.displayName||e.name:"",A=U?ee(U):"";return typeof e=="function"&&re.set(e,A),A}function Be(e,r,t){return ke(e,!1)}function Ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function te(e,r,t){if(e==null)return"";if(typeof e=="function")return ke(e,Ke(e));if(typeof e=="string")return ee(e);switch(e){case d:return ee("Suspense");case i:return ee("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return Be(e.render);case g:return te(e.type,r,t);case h:{var n=e,s=n._payload,c=n._init;try{return te(c(s),r,t)}catch{}}}return""}var H=Object.prototype.hasOwnProperty,je={},Ee=P.ReactDebugCurrentFrame;function ne(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}function Ve(e,r,t,n,s){{var c=Function.call.bind(H);for(var a in e)if(c(e,a)){var o=void 0;try{if(typeof e[a]!="function"){var x=Error((n||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw x.name="Invariant Violation",x}o=e[a](r,a,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(y){o=y}o&&!(o instanceof Error)&&(ne(s),v("%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).",n||"React class",t,a,typeof o),ne(null)),o instanceof Error&&!(o.message in je)&&(je[o.message]=!0,ne(s),v("Failed %s type: %s",t,o.message),ne(null))}}}var qe=Array.isArray;function le(e){return qe(e)}function Je(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Xe(e){try{return Se(e),!1}catch{return!0}}function Se(e){return""+e}function Oe(e){if(Xe(e))return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Je(e)),Se(e)}var Re=P.ReactCurrentOwner,He={key:!0,ref:!0,__self:!0,__source:!0},Ce,Te;function Ge(e){if(H.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(H.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){typeof e.ref=="string"&&Re.current}function er(e,r){{var t=function(){Ce||(Ce=!0,v("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Te||(Te=!0,v("%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)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,n,s,c,a){var o={$$typeof:p,type:e,key:r,ref:t,props:a,_owner:c};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function nr(e,r,t,n,s){{var c,a={},o=null,x=null;t!==void 0&&(Oe(t),o=""+t),Ze(r)&&(Oe(r.key),o=""+r.key),Ge(r)&&(x=r.ref,Qe(r));for(c in r)H.call(r,c)&&!He.hasOwnProperty(c)&&(a[c]=r[c]);if(e&&e.defaultProps){var y=e.defaultProps;for(c in y)a[c]===void 0&&(a[c]=y[c])}if(o||x){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&er(a,_),x&&rr(a,_)}return tr(e,o,x,s,n,Re.current,a)}}var ce=P.ReactCurrentOwner,Pe=P.ReactDebugCurrentFrame;function M(e){if(e){var r=e._owner,t=te(e.type,e._source,r?r.type:null);Pe.setExtraStackFrame(t)}else Pe.setExtraStackFrame(null)}var ue;ue=!1;function fe(e){return typeof e=="object"&&e!==null&&e.$$typeof===p}function De(){{if(ce.current){var e=T(ce.current.type);if(e)return`
|
|
110
110
|
|
|
111
111
|
Check the render method of \``+e+"`."}return""}}function or(e){return""}var $e={};function ar(e){{var r=De();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
|
112
112
|
|
|
113
|
-
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+T(e._owner.type)+"."),M(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),M(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=L(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=T(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=T(r);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){M(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),M(null);break}}e.ref!==null&&(M(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Ie={};function
|
|
113
|
+
Check the top-level render call using <`+t+">.")}return r}}function Fe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if($e[t])return;$e[t]=!0;var n="";e&&e._owner&&e._owner!==ce.current&&(n=" It was passed a child from "+T(e._owner.type)+"."),M(e),v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),M(null)}}function Ne(e,r){{if(typeof e!="object")return;if(le(e))for(var t=0;t<e.length;t++){var n=e[t];fe(n)&&Fe(n,r)}else if(fe(e))e._store&&(e._store.validated=!0);else if(e){var s=L(e);if(typeof s=="function"&&s!==e.entries)for(var c=s.call(e),a;!(a=c.next()).done;)fe(a.value)&&Fe(a.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===u||r.$$typeof===g))t=r.propTypes;else return;if(t){var n=T(r);Ve(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!ue){ue=!0;var s=T(r);v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",s||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&v("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){M(e),v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),M(null);break}}e.ref!==null&&(M(e),v("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Ie={};function Ae(e,r,t,n,s,c){{var a=E(e);if(!a){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var x=or();x?o+=x:o+=De();var y;e===null?y="null":le(e)?y="array":e!==void 0&&e.$$typeof===p?(y="<"+(T(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):y=typeof e,v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",y,o)}var _=nr(e,r,t,s,c);if(_==null)return _;if(a){var R=r.children;if(R!==void 0)if(n)if(le(R)){for(var U=0;U<R.length;U++)Ne(R[U],e);Object.freeze&&Object.freeze(R)}else v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ne(R,e)}if(H.call(r,"key")){var A=T(e),w=Object.keys(r).filter(function(dr){return dr!=="key"}),pe=w.length>0?"{key: someKey, "+w.join(": ..., ")+": ...}":"{key: someKey}";if(!Ie[A+pe]){var pr=w.length>0?"{"+w.join(": ..., ")+": ...}":"{}";v(`A props object containing a "key" prop is being spread into JSX:
|
|
114
114
|
let props = %s;
|
|
115
115
|
<%s {...props} />
|
|
116
116
|
React keys must be passed directly to JSX without using spread:
|
|
117
117
|
let props = %s;
|
|
118
|
-
<%s key={someKey} {...props} />`,pe,z,pr,z),Ie[z+pe]=!0}}return e===f?sr(_):ir(_),_}}function lr(e,r,t){return ze(e,r,t,!0)}function cr(e,r,t){return ze(e,r,t,!1)}var ur=cr,fr=lr;kr.Fragment=f,kr.jsx=ur,kr.jsxs=fr}()),kr}process.env.NODE_ENV==="production"?Cr.exports=jt():Cr.exports=Et();var Tr=Cr.exports;const St="_btn_1k1b3_1",Ot="_confirm_1k1b3_15",Rt="_cancel_1k1b3_20",Ct="_action_1k1b3_25",Tt="_disabled_1k1b3_30",Pt="_m_1k1b3_44",Dt="_l_1k1b3_48",wr={btn:St,confirm:Ot,cancel:Rt,action:Ct,disabled:Tt,await:"_await_1k1b3_37",m:Pt,l:Dt},$t=({onClick:l,onSend:p,size:m="m",view:f="confirm",children:b,isDisabled:w=!1,className:C,after:j,before:u,label:d,onRef:i,awaitText:g="Ожидайте"})=>{let[h,O]=$.useState(!1);const F=L=>{if(l)return l();h||(p?(O(!0),p(O)):L.preventDefault())};let W={};return(w||h)&&(W.disabled=!0),Tr.jsx("button",{...W,ref:i,className:[wr.btn,h?wr.disabled:wr[f],m&&wr[m],C].filter(L=>L!="").join(" "),onClick:F,children:h?g:Tr.jsxs(Tr.Fragment,{children:[u||""," ",d," ",j||""]})||b})};let Le={};function Ft({children:l}){return B.jsx(B.Fragment,{children:l})}var jr;(l=>{function p({import_modules:d}){let[i,g]=$.useState([]);return Le.x=h=>{g(h?i.filter(O=>O.key!==h):[])},$.useEffect(()=>{d&&(Le.i=d)},[]),Le.add=(h,O=Date.now())=>{g([...i,{key:O,item:h}])},B.jsx(B.Fragment,{children:i.map(h=>h.item)})}l.Init=p;function m(d){return d&&(Le.i=d),Le.i}l.Import=m,l.List=bt,l.Scroll=ht,l.Form=xt,l.Center=kt,l.Column=wt;function f(d,i,g){Le.i(`${d}/modal/${i}.tsx`).then(h=>{h.default.Open(g)})}l.Open=f;function b({type:d,name:i,params:g}){let[h,O]=$.useState(null);return $.useEffect(()=>{Le.i(`${d}/modal/${i}.tsx`).then(F=>{O(F.default.Icon(g))})},[g.id]),B.jsx(B.Fragment,{children:h})}l.Icon=b;function w(d,i){Le.add(B.jsx(Ft,{children:d},String(Date.now())),i)}l.Add=w;function C(d){Le.x(d)}l.Close=C;function j(d){if(d.target.classList[0]!=="modal")return;let i=d.target.children[0];i.setAttribute("shake",!0),setTimeout(()=>{i.setAttribute("shake",!1)},1e3)}l.Shake=j;function u({title:d,children:i,button:g,tabs:h,size:O="m",className:F="",shake:W=!0,menu:L}){const[P,v]=$.useState(!0),N=$.useRef(),V=D=>{if(g){if(g.onClick)return D(!1),g.onClick({setOpen:v});if(g.onSend)return g.onSend({setOpen:v,disabled:D})}},q=()=>{if(!W)return v(!1);N.current.setAttribute("shake",!0),setTimeout(()=>{N.current.setAttribute("shake",!1)},1e3)};return P?B.jsxs("div",{className:`${oe.modal}`,children:[B.jsx("div",{className:oe.o,onClick:q}),B.jsxs("div",{className:[oe.w,oe[`s${O}`],F].filter(D=>D!="").join(" "),ref:N,children:[B.jsxs("div",{className:oe.h,children:[B.jsx("div",{className:oe.t,children:d}),B.jsxs("div",{className:oe.m,children:[h&&B.jsx("nav",{children:h.map((D,K)=>B.jsx("span",{onClick:D.onClick,className:D.active?"active":"",children:D.name},K))}),L]}),B.jsx("div",{className:oe.x,onClick:()=>{v(!1)},children:B.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:B.jsx("path",{d:"M20 5L5 20M5 5L20 20",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),i,g!==void 0?B.jsx($t,{label:g.label,onSend:V,className:oe.btn}):""]})]}):""}l.Main=u})(jr||(jr={}));const Nt=(l,p=",")=>(l=l!==void 0&&l!==""?l.split(p):[],l.filter(m=>m!=="").reduce((m,f)=>(m[f]=!0,m),{}));function It({value:l,onValue:p,name:m,placeholder:f="",separator:b=",",title:w,error:C,hide:j=!1,edit:u=!0,active:d=!0,outFormat:i="object",after:g="",modal:h,options:O,className:F}){const[W,L]=$.useState(Nt(l,b)),P=V=>{if(!(u&&d)||!h)return;let q=h.split(".");jr.Open(q[0],q[1],{callback:D=>{if(p)switch(i){case"array":p({value:Object.keys(D),name:m});break;case"string":p({value:Object.keys(D).filter(K=>D[K]).join(b),name:m});break;default:p({value:D,name:m})}L(Object.fromEntries(Object.entries(D).filter(([K,A])=>A!==!1)))},onValue:p,options:O,name:m,value:W})},v={};v.field="group",F&&(v.className=F);const N={};return f&&(N.placeholder=f),j?S.jsx(S.Fragment,{}):S.jsxs("dl",{...v,children:[S.jsxs("dt",{children:[w,S.jsx("i",{onClick:P,children:S.jsx("svg",{width:"20",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:S.jsx("path",{d:"M12 5.25v13.5M18.75 12H5.25"})})})]}),S.jsx("dd",{...N,onClick:P,edit:(u&&d)+"","data-after":g,children:Object.keys(W).map(V=>{var q;return S.jsx("div",{className:"field_group_item",children:(q=O[V])==null?void 0:q.label},V)})}),C&&S.jsx("em",{children:C})]})}const Ur={o:"_o_z8kzt_9",l:"_l_z8kzt_19"},Pr={l:"_l_j973s_11",f:"_f_j973s_17",t:"_t_j973s_28"};function zt({title:l,error:p,edit:m=!0,active:f=!0,hide:b,value:w=0,onValue:C,options:j,placeholder:u="",className:d,isIcon:i=!0,name:g,after:h,view:O,order:F,isReload:W=!1}){var J,Q;const L=$.useRef(null),[P,v]=$.useState(w),[N,V]=$.useState(j),[q,D]=$.useState(!1);$.useEffect(()=>{v(w),V(j)},[w,j]),b=!!(b&&(w===0||((J=N==null?void 0:N[w])==null?void 0:J.n)===void 0))&&!(m&&f);let A=T=>{v(T),C&&C({value:T,name:g,reload:W})},E={onClick:T=>{Object.keys(N||{}).length!==0&&m&&f&&(L.position=T.target.getBoundingClientRect(),D(!0))}};return u&&(E.placeholder=u),h&&(E.after=h),m&&f&&(E.edit=""),b?"":S.jsxs(S.Fragment,{children:[S.jsxs("dl",{"data-field":"select",className:[Pr.l,d].filter(T=>T!==void 0).join(),children:[l&&S.jsx("dt",{className:Pr.t,children:l}),S.jsx("dd",{...E,className:Pr.f,ref:L,children:(Q=N==null?void 0:N[P])==null?void 0:Q.n}),Object.keys(N||{}).length!==0&&i&&S.jsx("svg",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:S.jsx("path",{d:"m5.25 8.625 6.75 6.75 6.75-6.75"})}),p&&S.jsx("em",{children:p})]}),q&&Yr.createPortal(S.jsx(At,{parent:L.position,onValue:A,view:O,className:d,options:N,order:F,setOpen:D},new Date().getTime()),document.body)]})}const At=({onValue:l,parent:p,className:m,options:f,order:b,setOpen:w})=>{let C=()=>{w(!1)},j=i=>{w(!1),l(i)},u=window.innerHeight-p.y+p.height<320?p.y-312:p.y+33,d=window.innerWidth-p.x<265?p.x-235:p.x;return S.jsxs(S.Fragment,{children:[S.jsx("div",{className:Ur.o,onClick:C},new Date().getTime()),S.jsx("div",{className:[Ur.l,m].filter(i=>i!==void 0).join(" "),style:{top:u+"px",left:d+"px",width:p.width},children:S.jsx(Lt,{order:b,options:f,link:j})})]})},Lt=({order:l,options:p,link:m})=>l?S.jsx("ul",{children:l.map((f,b)=>p[f].s!==0?S.jsx("li",{onClick:()=>{m(f)},children:p[f].n},b):"")}):S.jsx("ul",{children:Object.keys(p).map((f,b)=>p[f].s!==0?S.jsx("li",{onClick:()=>{m(f)},children:p[f].n},b):"")});function Wt({value:l,onValue:p,name:m,placeholder:f="",title:b,error:w,hide:C=!1,edit:j=!0,show:u=!0,active:d=!0,after:i="",view:g,modal:h,module:O,options:F,className:W}){let[L,P]=$.useState(l),v=q=>{if(!(j&&d)||!h)return;let D=h.split(".");jr.Open(D[0],D[1],{callback:K=>{p&&p({value:K,name:m}),P(K)},onValue:p,options:F,name:m,value:l})};const N={};N.field="input",W&&(N.className=W);const V={};return f&&(V.placeholder=f),C?S.jsx(S.Fragment,{}):S.jsxs("dl",{...N,children:[b&&S.jsx("dt",{children:b}),S.jsx("dd",{...V,onClick:v,edit:(j&&d)+"","data-after":i,children:L}),w&&S.jsx("em",{children:w})]})}function Mt({value:l,onValue:p,onSave:m,name:f,placeholder:b="",className:w,title:C,error:j,edit:u=!0,active:d=!0,reload:i=!1,native:g=!1,isShow:h=!1,maxLength:O,eyes:F=[],after:W=""}){const[L,P]=$.useState(h);let v=A=>{p&&p({value:A.target.textContent,name:f,reload:i})},N=A=>{A.key==="Enter"&&A.preventDefault()},V=A=>{A.preventDefault(),navigator.clipboard.readText().then(Y=>{if(O){let E=A.target.textContent.length;if(E>=O)return;O-=E,Y=Y.slice(0,O)}window.document.execCommand("insertText",!1,Y.replace(/(\r\n|\n|\r)/gm," "))}).catch(Y=>{})},q=A=>{ye.Blur(A),m==null||m({value:A.target.textContent.trim(),name:f})};const D={};D.field="password",L&&(D.show=""),w&&(D.className=w);const K={};return b&&(K.placeholder=b),g?"":S.jsxs("dl",{...D,children:[C?S.jsx("dt",{children:C}):"",S.jsx("dd",{onPaste:V,onInput:v,onKeyDown:N,onBlur:q,contentEditable:u&&d?ye.ContentEditable:"false",...K,suppressContentEditableWarning:!0,children:l}),F[0]&&S.jsx("i",{onClick:()=>P(!L),children:L?F[1]:F[0]}),W,j?S.jsx("em",{children:j}):""]})}function Ut({onValue:l,onSave:p,active:m,max:f,edit:b,title:w,error:C,show:j,hide:u,value:d,placeholder:i,className:g,maxLength:h,name:O,after:F="",before:W="",view:L}){b=b!==void 0?b:!0,m=m!==void 0?m:!0,u=!!(u&&(d===""||d===void 0))&&!(b&&m),i=i!==void 0?i:"",f=f!==void 0?f:99;let v=!1,N=E=>{l==null||l({value:E.target.textContent,name:O})},V=E=>{if(!(v&&E.which===86)){if(E.which===17||E.which===91)return v=!0;E.key!=="Backspace"&&(E.target.textContent.length===f&&E.preventDefault(),E.key==="Enter"&&E.preventDefault(),isNaN(E.key)&&E.preventDefault())}},q=E=>{if(E.which===17||E.which===91)return v=!1},D=E=>{E.preventDefault(),navigator.clipboard.readText().then(J=>{if(J=J.replace(/(?!^\+|\d)./g,""),h){let Q=E.target.textContent.length;if(Q>=h)return;h-=Q,J=J.slice(0,h)}window.document.execCommand("insertText",!1,""+J)}).catch(J=>{})};const K=E=>{ye.Blur(E),p==null||p({value:E.target.textContent,name:O})},A={};A.field="input",g&&(A.className=g);let Y={};return b&&m?(Y.edit="true",Y.contentEditable=ye.ContentEditable):Y.contentEditable="false",Y.inputMode="decimal",i&&(Y.placeholder=i),u?S.jsx(S.Fragment,{}):S.jsxs("dl",{...A,children:[w&&S.jsx("dt",{children:w}),W,S.jsx("dd",{...Y,onPaste:D,onInput:N,onBlur:K,onKeyDown:V,onKeyUp:q,suppressContentEditableWarning:!0,children:d}),F,C&&S.jsx("em",{children:C})]})}const de={};function Yt(l){const[p,m]=$.useState({}),f=$.useRef(l);return de.u=b=>{f.current={...f.current,[b.name]:b.value}},de.n=b=>{f.current=b,m(Date.now())},de.r=()=>{m(Date.now())},[f.current,de.n]}function Bt(l){de.u(l),l.reload&&de.r()}function Kt(){de.r&&de.r()}function Vt(l){const[p,m]=$.useState({}),f=$.useRef(l);return de.u=b=>{f.current={...f.current,[b.name]:b.value}},de.n=b=>{Object.keys(b).length>0?Object.keys(b).forEach(w=>{f.current[w]=b[w]}):f.current={},m(Date.now())},de.r=()=>{m(Date.now())},[f.current,de.n]}Z.Modal=Wt,Z.Number=Ut,Z.Options=It,Z.Password=Mt,Z.Progress=Vr,Z.Select=zt,Z.String=rt,Z.runReload=Kt,Z.setValue=Bt,Z.useData=Yt,Z.useError=Vt,Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"})});
|
|
118
|
+
<%s key={someKey} {...props} />`,pe,A,pr,A),Ie[A+pe]=!0}}return e===f?sr(_):ir(_),_}}function lr(e,r,t){return Ae(e,r,t,!0)}function cr(e,r,t){return Ae(e,r,t,!1)}var ur=cr,fr=lr;wr.Fragment=f,wr.jsx=ur,wr.jsxs=fr}()),wr}process.env.NODE_ENV==="production"?Tr.exports=jt():Tr.exports=Et();var Pr=Tr.exports;const St="_btn_1k1b3_1",Ot="_confirm_1k1b3_15",Rt="_cancel_1k1b3_20",Ct="_action_1k1b3_25",Tt="_disabled_1k1b3_30",Pt="_m_1k1b3_44",Dt="_l_1k1b3_48",kr={btn:St,confirm:Ot,cancel:Rt,action:Ct,disabled:Tt,await:"_await_1k1b3_37",m:Pt,l:Dt},$t=({onClick:l,onSend:p,size:m="m",view:f="confirm",children:b,isDisabled:k=!1,className:C,after:j,before:u,label:d,onRef:i,awaitText:g="Ожидайте"})=>{let[h,O]=$.useState(!1);const F=L=>{if(l)return l();h||(p?(O(!0),p(O)):L.preventDefault())};let W={};return(k||h)&&(W.disabled=!0),Pr.jsx("button",{...W,ref:i,className:[kr.btn,h?kr.disabled:kr[f],m&&kr[m],C].filter(L=>L!="").join(" "),onClick:F,children:h?g:Pr.jsxs(Pr.Fragment,{children:[u||""," ",d," ",j||""]})||b})};let Le={};function Ft({children:l}){return B.jsx(B.Fragment,{children:l})}var jr;(l=>{function p({import_modules:d}){let[i,g]=$.useState([]);return Le.x=h=>{g(h?i.filter(O=>O.key!==h):[])},$.useEffect(()=>{d&&(Le.i=d)},[]),Le.add=(h,O=Date.now())=>{g([...i,{key:O,item:h}])},B.jsx(B.Fragment,{children:i.map(h=>h.item)})}l.Init=p;function m(d){return d&&(Le.i=d),Le.i}l.Import=m,l.List=bt,l.Scroll=ht,l.Form=xt,l.Center=wt,l.Column=kt;function f(d,i,g){Le.i(`${d}/modal/${i}.tsx`).then(h=>{h.default.Open(g)})}l.Open=f;function b({type:d,name:i,params:g}){let[h,O]=$.useState(null);return $.useEffect(()=>{Le.i(`${d}/modal/${i}.tsx`).then(F=>{O(F.default.Icon(g))})},[g.id]),B.jsx(B.Fragment,{children:h})}l.Icon=b;function k(d,i){Le.add(B.jsx(Ft,{children:d},String(Date.now())),i)}l.Add=k;function C(d){Le.x(d)}l.Close=C;function j(d){if(d.target.classList[0]!=="modal")return;let i=d.target.children[0];i.setAttribute("shake",!0),setTimeout(()=>{i.setAttribute("shake",!1)},1e3)}l.Shake=j;function u({title:d,children:i,button:g,tabs:h,size:O="m",className:F="",shake:W=!0,menu:L}){const[P,v]=$.useState(!0),N=$.useRef(),V=D=>{if(g){if(g.onClick)return D(!1),g.onClick({setOpen:v});if(g.onSend)return g.onSend({setOpen:v,disabled:D})}},q=()=>{if(!W)return v(!1);N.current.setAttribute("shake",!0),setTimeout(()=>{N.current.setAttribute("shake",!1)},1e3)};return P?B.jsxs("div",{className:`${oe.modal}`,children:[B.jsx("div",{className:oe.o,onClick:q}),B.jsxs("div",{className:[oe.w,oe[`s${O}`],F].filter(D=>D!="").join(" "),ref:N,children:[B.jsxs("div",{className:oe.h,children:[B.jsx("div",{className:oe.t,children:d}),B.jsxs("div",{className:oe.m,children:[h&&B.jsx("nav",{children:h.map((D,K)=>B.jsx("span",{onClick:D.onClick,className:D.active?"active":"",children:D.name},K))}),L]}),B.jsx("div",{className:oe.x,onClick:()=>{v(!1)},children:B.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:B.jsx("path",{d:"M20 5L5 20M5 5L20 20",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),i,g!==void 0?B.jsx($t,{label:g.label,onSend:V,className:oe.btn}):""]})]}):""}l.Main=u})(jr||(jr={}));const Nt=(l,p=",")=>(l=l!==void 0&&l!==""?l.split(p):[],l.filter(m=>m!=="").reduce((m,f)=>(m[f]=!0,m),{}));function It({value:l,onValue:p,name:m,placeholder:f="",separator:b=",",title:k,error:C,hide:j=!1,edit:u=!0,active:d=!0,outFormat:i="object",after:g="",modal:h,options:O,className:F}){const[W,L]=$.useState(Nt(l,b)),P=V=>{if(!(u&&d)||!h)return;let q=h.split(".");jr.Open(q[0],q[1],{callback:D=>{if(p)switch(i){case"array":p({value:Object.keys(D),name:m});break;case"string":p({value:Object.keys(D).filter(K=>D[K]).join(b),name:m});break;default:p({value:D,name:m})}L(Object.fromEntries(Object.entries(D).filter(([K,z])=>z!==!1)))},onValue:p,options:O,name:m,value:W})},v={};v.field="group",F&&(v.className=F);const N={};return f&&(N.placeholder=f),j?S.jsx(S.Fragment,{}):S.jsxs("dl",{...v,children:[S.jsxs("dt",{children:[k,S.jsx("i",{onClick:P,children:S.jsx("svg",{width:"20",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:S.jsx("path",{d:"M12 5.25v13.5M18.75 12H5.25"})})})]}),S.jsx("dd",{...N,onClick:P,edit:(u&&d)+"","data-after":g,children:Object.keys(W).map(V=>{var q;return S.jsx("div",{className:"field_group_item",children:(q=O[V])==null?void 0:q.label},V)})}),C&&S.jsx("em",{children:C})]})}const Er={o:"_o_1vba1_12",l:"_l_1vba1_22",i:"_i_1vba1_71",f:"_f_1vba1_80"},Dr={l:"_l_1w86i_12",f:"_f_1w86i_19",t:"_t_1w86i_30"};function At({title:l,error:p,edit:m=!0,active:f=!0,hide:b,value:k=0,onValue:C,options:j,placeholder:u="",className:d,isIcon:i=!0,name:g,after:h,view:O,order:F,isReload:W=!1}){var J,Q;const L=$.useRef(null),[P,v]=$.useState(k),[N,V]=$.useState(j),[q,D]=$.useState(!1);$.useEffect(()=>{v(k),V(j)},[k,j]),b=!!(b&&(k===0||((J=N==null?void 0:N[k])==null?void 0:J.n)===void 0))&&!(m&&f);let z=T=>{v(T),C&&C({value:T,name:g,reload:W})},E={onClick:T=>{Object.keys(N||{}).length!==0&&m&&f&&(L.position=T.target.getBoundingClientRect(),D(!0))}};return u&&(E.placeholder=u),h&&(E.after=h),m&&f&&(E.edit=""),b?"":S.jsxs(S.Fragment,{children:[S.jsxs("dl",{"data-field":"select",className:[Dr.l,d].filter(T=>T!==void 0).join(" "),children:[l&&S.jsx("dt",{className:Dr.t,children:l}),S.jsx("dd",{...E,className:[Dr.f,Er.f].join(" "),ref:L,children:(Q=N==null?void 0:N[P])==null?void 0:Q.n}),Object.keys(N||{}).length!==0&&i&&S.jsx("svg",{className:Er.i,fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:S.jsx("path",{d:"m5.25 8.625 6.75 6.75 6.75-6.75"})}),p&&S.jsx("em",{children:p})]}),q&&Yr.createPortal(S.jsx(zt,{parent:L.position,onValue:z,view:O,className:d,options:N,order:F,setOpen:D},new Date().getTime()),document.body)]})}const zt=({onValue:l,parent:p,className:m,options:f,order:b,setOpen:k})=>{let C=()=>{k(!1)},j=i=>{k(!1),l(i)},u=window.innerHeight-p.y+p.height<320?p.y-312:p.y+33,d=window.innerWidth-p.x<265?p.x-235:p.x;return S.jsxs(S.Fragment,{children:[S.jsx("div",{className:Er.o,onClick:C},new Date().getTime()),S.jsx("div",{className:[Er.l,m].filter(i=>i!==void 0).join(" "),style:{top:u+"px",left:d+"px",width:p.width},children:S.jsx(Lt,{order:b,options:f,link:j})})]})},Lt=({order:l,options:p,link:m})=>l?S.jsx("ul",{children:l.map((f,b)=>p[f].s!==0?S.jsx("li",{onClick:()=>{m(f)},children:p[f].n},b):"")}):S.jsx("ul",{children:Object.keys(p).map((f,b)=>p[f].s!==0?S.jsx("li",{onClick:()=>{m(f)},children:p[f].n},b):"")});function Wt({value:l,onValue:p,name:m,placeholder:f="",title:b,error:k,hide:C=!1,edit:j=!0,show:u=!0,active:d=!0,after:i="",view:g,modal:h,module:O,options:F,className:W}){let[L,P]=$.useState(l),v=q=>{if(!(j&&d)||!h)return;let D=h.split(".");jr.Open(D[0],D[1],{callback:K=>{p&&p({value:K,name:m}),P(K)},onValue:p,options:F,name:m,value:l})};const N={};N.field="input",W&&(N.className=W);const V={};return f&&(V.placeholder=f),C?S.jsx(S.Fragment,{}):S.jsxs("dl",{...N,children:[b&&S.jsx("dt",{children:b}),S.jsx("dd",{...V,onClick:v,edit:(j&&d)+"","data-after":i,children:L}),k&&S.jsx("em",{children:k})]})}function Mt({value:l,onValue:p,onSave:m,name:f,placeholder:b="",className:k,title:C,error:j,edit:u=!0,active:d=!0,reload:i=!1,native:g=!1,isShow:h=!1,maxLength:O,eyes:F=[],after:W=""}){const[L,P]=$.useState(h);let v=z=>{p&&p({value:z.target.textContent,name:f,reload:i})},N=z=>{z.key==="Enter"&&z.preventDefault()},V=z=>{z.preventDefault(),navigator.clipboard.readText().then(Y=>{if(O){let E=z.target.textContent.length;if(E>=O)return;O-=E,Y=Y.slice(0,O)}window.document.execCommand("insertText",!1,Y.replace(/(\r\n|\n|\r)/gm," "))}).catch(Y=>{})},q=z=>{ye.Blur(z),m==null||m({value:z.target.textContent.trim(),name:f})};const D={};D.field="password",L&&(D.show=""),k&&(D.className=k);const K={};return b&&(K.placeholder=b),g?"":S.jsxs("dl",{...D,children:[C?S.jsx("dt",{children:C}):"",S.jsx("dd",{onPaste:V,onInput:v,onKeyDown:N,onBlur:q,contentEditable:u&&d?ye.ContentEditable:"false",...K,suppressContentEditableWarning:!0,children:l}),F[0]&&S.jsx("i",{onClick:()=>P(!L),children:L?F[1]:F[0]}),W,j?S.jsx("em",{children:j}):""]})}function Ut({onValue:l,onSave:p,active:m,max:f,edit:b,title:k,error:C,show:j,hide:u,value:d,placeholder:i,className:g,maxLength:h,name:O,after:F="",before:W="",view:L}){b=b!==void 0?b:!0,m=m!==void 0?m:!0,u=!!(u&&(d===""||d===void 0))&&!(b&&m),i=i!==void 0?i:"",f=f!==void 0?f:99;let v=!1,N=E=>{l==null||l({value:E.target.textContent,name:O})},V=E=>{if(!(v&&E.which===86)){if(E.which===17||E.which===91)return v=!0;E.key!=="Backspace"&&(E.target.textContent.length===f&&E.preventDefault(),E.key==="Enter"&&E.preventDefault(),isNaN(E.key)&&E.preventDefault())}},q=E=>{if(E.which===17||E.which===91)return v=!1},D=E=>{E.preventDefault(),navigator.clipboard.readText().then(J=>{if(J=J.replace(/(?!^\+|\d)./g,""),h){let Q=E.target.textContent.length;if(Q>=h)return;h-=Q,J=J.slice(0,h)}window.document.execCommand("insertText",!1,""+J)}).catch(J=>{})};const K=E=>{ye.Blur(E),p==null||p({value:E.target.textContent,name:O})},z={};z.field="input",g&&(z.className=g);let Y={};return b&&m?(Y.edit="true",Y.contentEditable=ye.ContentEditable):Y.contentEditable="false",Y.inputMode="decimal",i&&(Y.placeholder=i),u?S.jsx(S.Fragment,{}):S.jsxs("dl",{...z,children:[k&&S.jsx("dt",{children:k}),W,S.jsx("dd",{...Y,onPaste:D,onInput:N,onBlur:K,onKeyDown:V,onKeyUp:q,suppressContentEditableWarning:!0,children:d}),F,C&&S.jsx("em",{children:C})]})}const de={};function Yt(l){const[p,m]=$.useState({}),f=$.useRef(l);return de.u=b=>{f.current={...f.current,[b.name]:b.value}},de.n=b=>{f.current=b,m(Date.now())},de.r=()=>{m(Date.now())},[f.current,de.n]}function Bt(l){de.u(l),l.reload&&de.r()}function Kt(){de.r&&de.r()}function Vt(l){const[p,m]=$.useState({}),f=$.useRef(l);return de.u=b=>{f.current={...f.current,[b.name]:b.value}},de.n=b=>{Object.keys(b).length>0?Object.keys(b).forEach(k=>{f.current[k]=b[k]}):f.current={},m(Date.now())},de.r=()=>{m(Date.now())},[f.current,de.n]}Z.Modal=Wt,Z.Number=Ut,Z.Options=It,Z.Password=Mt,Z.Progress=Vr,Z.Select=At,Z.String=rt,Z.runReload=Kt,Z.setValue=Bt,Z.useData=Yt,Z.useError=Vt,Object.defineProperty(Z,Symbol.toStringTag,{value:"Module"})});
|