@elcrm/form 0.0.63 → 0.0.64
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/README.md +113 -0
- package/dist/Form.d.ts +20 -0
- package/dist/Form.js +11 -0
- package/dist/FormInitContext.d.ts +25 -0
- package/dist/FormInitContext.js +20 -0
- package/dist/assets/styles/Field.module.css +1 -0
- package/dist/assets/styles/Form.module.css +1 -0
- package/dist/assets/styles/Select.module.css +1 -0
- package/dist/core/Field.d.ts +18 -0
- package/dist/core/Field.js +33 -0
- package/dist/events/onEvent.d.ts +55 -0
- package/dist/events/onEvent.js +67 -0
- package/dist/{src/lib/fields → fields}/Date.d.ts +7 -3
- package/dist/fields/Date.js +345 -0
- package/dist/{src/lib/fields → fields}/Input.d.ts +2 -2
- package/dist/fields/Input.js +55 -0
- package/dist/fields/Mask.d.ts +9 -0
- package/dist/fields/Mask.js +95 -0
- package/dist/fields/Modal.d.ts +25 -0
- package/dist/fields/Modal.js +55 -0
- package/dist/fields/Money.d.ts +35 -0
- package/dist/fields/Money.js +93 -0
- package/dist/fields/Numeric.d.ts +9 -0
- package/dist/fields/Numeric.js +69 -0
- package/dist/fields/Options.d.ts +30 -0
- package/dist/fields/Options.js +63 -0
- package/dist/fields/Password.d.ts +6 -0
- package/dist/fields/Password.js +100 -0
- package/dist/{src/lib/fields → fields}/Phone.d.ts +5 -1
- package/dist/fields/Phone.js +109 -0
- package/dist/fields/Range.d.ts +16 -0
- package/dist/fields/Range.js +101 -0
- package/dist/fields/Select.d.ts +21 -0
- package/dist/fields/Select.js +143 -0
- package/dist/{src/lib/fields → fields}/Textarea.d.ts +5 -1
- package/dist/fields/Textarea.js +47 -0
- package/dist/fields/Time.d.ts +26 -0
- package/dist/fields/Time.js +252 -0
- package/dist/fields/type.d.ts +42 -0
- package/dist/hooks/use.d.ts +42 -0
- package/dist/hooks/use.js +57 -0
- package/dist/index.d.ts +26 -2
- package/dist/index.js +26 -0
- package/dist/index.umd.js +2 -89
- package/dist/mask/MaskPhone.d.ts +8 -0
- package/dist/mask/MaskPhone.js +1384 -0
- package/dist/package.js +96 -0
- package/dist/style.css +5 -0
- package/dist/styles/Field.module.js +22 -0
- package/dist/styles/Form.module.js +12 -0
- package/dist/styles/Select.module.js +8 -0
- package/package.json +72 -11
- package/src/lib/styles/Field.module.scss +315 -0
- package/src/lib/styles/Form.module.scss +313 -0
- package/src/lib/styles/Select.module.scss +90 -0
- package/src/lib/styles/dark.css +47 -0
- package/src/lib/styles/light.css +51 -0
- package/dist/index.css +0 -1
- package/dist/index.es.js +0 -5045
- package/dist/src/lib/Captcha.d.ts +0 -1
- package/dist/src/lib/Check.d.ts +0 -13
- package/dist/src/lib/Code.d.ts +0 -22
- package/dist/src/lib/Color.d.ts +0 -22
- package/dist/src/lib/Field.d.ts +0 -13
- package/dist/src/lib/Files.d.ts +0 -20
- package/dist/src/lib/Generator.d.ts +0 -1
- package/dist/src/lib/Group.d.ts +0 -21
- package/dist/src/lib/Image.d.ts +0 -22
- package/dist/src/lib/Init.d.ts +0 -1
- package/dist/src/lib/MaskPhone.d.ts +0 -2
- package/dist/src/lib/Message.d.ts +0 -15
- package/dist/src/lib/Money.d.ts +0 -22
- package/dist/src/lib/Month.d.ts +0 -18
- package/dist/src/lib/Palette.d.ts +0 -9
- package/dist/src/lib/Progress.d.ts +0 -9
- package/dist/src/lib/Toogle.d.ts +0 -8
- package/dist/src/lib/Users.d.ts +0 -1
- package/dist/src/lib/_Time.d.ts +0 -0
- package/dist/src/lib/fields/Mask.d.ts +0 -19
- package/dist/src/lib/fields/Modal.d.ts +0 -19
- package/dist/src/lib/fields/Numeric.d.ts +0 -6
- package/dist/src/lib/fields/Options.d.ts +0 -22
- package/dist/src/lib/fields/Password.d.ts +0 -23
- package/dist/src/lib/fields/Select copy.d.ts +0 -23
- package/dist/src/lib/fields/Select.d.ts +0 -28
- package/dist/src/lib/fields/type.d.ts +0 -30
- package/dist/src/lib/index.d.ts +0 -16
- package/dist/src/lib/onEvent.d.ts +0 -2
- package/dist/src/lib/use.d.ts +0 -10
package/dist/index.es.js
DELETED
|
@@ -1,5045 +0,0 @@
|
|
|
1
|
-
import S, { forwardRef as qt, useEffect as Kt } from "react";
|
|
2
|
-
import { createPortal as Nt } from "react-dom";
|
|
3
|
-
import './index.css';const Gt = "0.0.63", Yt = {
|
|
4
|
-
version: Gt
|
|
5
|
-
};
|
|
6
|
-
var St = { exports: {} }, pt = {};
|
|
7
|
-
/**
|
|
8
|
-
* @license React
|
|
9
|
-
* react-jsx-runtime.production.min.js
|
|
10
|
-
*
|
|
11
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
-
*
|
|
13
|
-
* This source code is licensed under the MIT license found in the
|
|
14
|
-
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/
|
|
16
|
-
var Ft;
|
|
17
|
-
function zt() {
|
|
18
|
-
if (Ft) return pt;
|
|
19
|
-
Ft = 1;
|
|
20
|
-
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
-
function C(k, l, y) {
|
|
22
|
-
var n, s = {}, b = null, j = null;
|
|
23
|
-
y !== void 0 && (b = "" + y), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
24
|
-
for (n in l) c.call(l, n) && !h.hasOwnProperty(n) && (s[n] = l[n]);
|
|
25
|
-
if (k && k.defaultProps) for (n in l = k.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
26
|
-
return { $$typeof: _, type: k, key: b, ref: j, props: s, _owner: d.current };
|
|
27
|
-
}
|
|
28
|
-
return pt.Fragment = i, pt.jsx = C, pt.jsxs = C, pt;
|
|
29
|
-
}
|
|
30
|
-
var yt = {};
|
|
31
|
-
/**
|
|
32
|
-
* @license React
|
|
33
|
-
* react-jsx-runtime.development.js
|
|
34
|
-
*
|
|
35
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
36
|
-
*
|
|
37
|
-
* This source code is licensed under the MIT license found in the
|
|
38
|
-
* LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/
|
|
40
|
-
var Mt;
|
|
41
|
-
function Ht() {
|
|
42
|
-
return Mt || (Mt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), k = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), I = Symbol.iterator, q = "@@iterator";
|
|
44
|
-
function P(e) {
|
|
45
|
-
if (e === null || typeof e != "object")
|
|
46
|
-
return null;
|
|
47
|
-
var t = I && e[I] || e[q];
|
|
48
|
-
return typeof t == "function" ? t : null;
|
|
49
|
-
}
|
|
50
|
-
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
-
function m(e) {
|
|
52
|
-
{
|
|
53
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
54
|
-
r[o - 1] = arguments[o];
|
|
55
|
-
N("error", e, r);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
function N(e, t, r) {
|
|
59
|
-
{
|
|
60
|
-
var o = T.ReactDebugCurrentFrame, g = o.getStackAddendum();
|
|
61
|
-
g !== "" && (t += "%s", r = r.concat([g]));
|
|
62
|
-
var w = r.map(function(p) {
|
|
63
|
-
return String(p);
|
|
64
|
-
});
|
|
65
|
-
w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
var K = !1, A = !1, O = !1, $ = !1, W = !1, F;
|
|
69
|
-
F = Symbol.for("react.module.reference");
|
|
70
|
-
function E(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === h || W || e === d || e === y || e === n || $ || e === j || K || A || O || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === C || e.$$typeof === k || e.$$typeof === l || // This needs to include all possible module reference object
|
|
72
|
-
// types supported by any Flight configuration anywhere since
|
|
73
|
-
// we don't know which Flight build this will end up being used
|
|
74
|
-
// with.
|
|
75
|
-
e.$$typeof === F || e.getModuleId !== void 0));
|
|
76
|
-
}
|
|
77
|
-
function B(e, t, r) {
|
|
78
|
-
var o = e.displayName;
|
|
79
|
-
if (o)
|
|
80
|
-
return o;
|
|
81
|
-
var g = t.displayName || t.name || "";
|
|
82
|
-
return g !== "" ? r + "(" + g + ")" : r;
|
|
83
|
-
}
|
|
84
|
-
function v(e) {
|
|
85
|
-
return e.displayName || "Context";
|
|
86
|
-
}
|
|
87
|
-
function x(e) {
|
|
88
|
-
if (e == null)
|
|
89
|
-
return null;
|
|
90
|
-
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
91
|
-
return e.displayName || e.name || null;
|
|
92
|
-
if (typeof e == "string")
|
|
93
|
-
return e;
|
|
94
|
-
switch (e) {
|
|
95
|
-
case c:
|
|
96
|
-
return "Fragment";
|
|
97
|
-
case i:
|
|
98
|
-
return "Portal";
|
|
99
|
-
case h:
|
|
100
|
-
return "Profiler";
|
|
101
|
-
case d:
|
|
102
|
-
return "StrictMode";
|
|
103
|
-
case y:
|
|
104
|
-
return "Suspense";
|
|
105
|
-
case n:
|
|
106
|
-
return "SuspenseList";
|
|
107
|
-
}
|
|
108
|
-
if (typeof e == "object")
|
|
109
|
-
switch (e.$$typeof) {
|
|
110
|
-
case k:
|
|
111
|
-
var t = e;
|
|
112
|
-
return v(t) + ".Consumer";
|
|
113
|
-
case C:
|
|
114
|
-
var r = e;
|
|
115
|
-
return v(r._context) + ".Provider";
|
|
116
|
-
case l:
|
|
117
|
-
return B(e, e.render, "ForwardRef");
|
|
118
|
-
case s:
|
|
119
|
-
var o = e.displayName || null;
|
|
120
|
-
return o !== null ? o : x(e.type) || "Memo";
|
|
121
|
-
case b: {
|
|
122
|
-
var g = e, w = g._payload, p = g._init;
|
|
123
|
-
try {
|
|
124
|
-
return x(p(w));
|
|
125
|
-
} catch {
|
|
126
|
-
return null;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
return null;
|
|
131
|
-
}
|
|
132
|
-
var M = Object.assign, Y = 0, Q, H, ie, le, ke, we, xe;
|
|
133
|
-
function Ce() {
|
|
134
|
-
}
|
|
135
|
-
Ce.__reactDisabledLog = !0;
|
|
136
|
-
function Ue() {
|
|
137
|
-
{
|
|
138
|
-
if (Y === 0) {
|
|
139
|
-
Q = console.log, H = console.info, ie = console.warn, le = console.error, ke = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
140
|
-
var e = {
|
|
141
|
-
configurable: !0,
|
|
142
|
-
enumerable: !0,
|
|
143
|
-
value: Ce,
|
|
144
|
-
writable: !0
|
|
145
|
-
};
|
|
146
|
-
Object.defineProperties(console, {
|
|
147
|
-
info: e,
|
|
148
|
-
log: e,
|
|
149
|
-
warn: e,
|
|
150
|
-
error: e,
|
|
151
|
-
group: e,
|
|
152
|
-
groupCollapsed: e,
|
|
153
|
-
groupEnd: e
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
Y++;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
function qe() {
|
|
160
|
-
{
|
|
161
|
-
if (Y--, Y === 0) {
|
|
162
|
-
var e = {
|
|
163
|
-
configurable: !0,
|
|
164
|
-
enumerable: !0,
|
|
165
|
-
writable: !0
|
|
166
|
-
};
|
|
167
|
-
Object.defineProperties(console, {
|
|
168
|
-
log: M({}, e, {
|
|
169
|
-
value: Q
|
|
170
|
-
}),
|
|
171
|
-
info: M({}, e, {
|
|
172
|
-
value: H
|
|
173
|
-
}),
|
|
174
|
-
warn: M({}, e, {
|
|
175
|
-
value: ie
|
|
176
|
-
}),
|
|
177
|
-
error: M({}, e, {
|
|
178
|
-
value: le
|
|
179
|
-
}),
|
|
180
|
-
group: M({}, e, {
|
|
181
|
-
value: ke
|
|
182
|
-
}),
|
|
183
|
-
groupCollapsed: M({}, e, {
|
|
184
|
-
value: we
|
|
185
|
-
}),
|
|
186
|
-
groupEnd: M({}, e, {
|
|
187
|
-
value: xe
|
|
188
|
-
})
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
var ce = T.ReactCurrentDispatcher, ue;
|
|
195
|
-
function ae(e, t, r) {
|
|
196
|
-
{
|
|
197
|
-
if (ue === void 0)
|
|
198
|
-
try {
|
|
199
|
-
throw Error();
|
|
200
|
-
} catch (g) {
|
|
201
|
-
var o = g.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
-
ue = o && o[1] || "";
|
|
203
|
-
}
|
|
204
|
-
return `
|
|
205
|
-
` + ue + e;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
var de = !1, ne;
|
|
209
|
-
{
|
|
210
|
-
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
-
ne = new Ke();
|
|
212
|
-
}
|
|
213
|
-
function je(e, t) {
|
|
214
|
-
if (!e || de)
|
|
215
|
-
return "";
|
|
216
|
-
{
|
|
217
|
-
var r = ne.get(e);
|
|
218
|
-
if (r !== void 0)
|
|
219
|
-
return r;
|
|
220
|
-
}
|
|
221
|
-
var o;
|
|
222
|
-
de = !0;
|
|
223
|
-
var g = Error.prepareStackTrace;
|
|
224
|
-
Error.prepareStackTrace = void 0;
|
|
225
|
-
var w;
|
|
226
|
-
w = ce.current, ce.current = null, Ue();
|
|
227
|
-
try {
|
|
228
|
-
if (t) {
|
|
229
|
-
var p = function() {
|
|
230
|
-
throw Error();
|
|
231
|
-
};
|
|
232
|
-
if (Object.defineProperty(p.prototype, "props", {
|
|
233
|
-
set: function() {
|
|
234
|
-
throw Error();
|
|
235
|
-
}
|
|
236
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
|
-
try {
|
|
238
|
-
Reflect.construct(p, []);
|
|
239
|
-
} catch (U) {
|
|
240
|
-
o = U;
|
|
241
|
-
}
|
|
242
|
-
Reflect.construct(e, [], p);
|
|
243
|
-
} else {
|
|
244
|
-
try {
|
|
245
|
-
p.call();
|
|
246
|
-
} catch (U) {
|
|
247
|
-
o = U;
|
|
248
|
-
}
|
|
249
|
-
e.call(p.prototype);
|
|
250
|
-
}
|
|
251
|
-
} else {
|
|
252
|
-
try {
|
|
253
|
-
throw Error();
|
|
254
|
-
} catch (U) {
|
|
255
|
-
o = U;
|
|
256
|
-
}
|
|
257
|
-
e();
|
|
258
|
-
}
|
|
259
|
-
} catch (U) {
|
|
260
|
-
if (U && o && typeof U.stack == "string") {
|
|
261
|
-
for (var u = U.stack.split(`
|
|
262
|
-
`), L = o.stack.split(`
|
|
263
|
-
`), R = u.length - 1, D = L.length - 1; R >= 1 && D >= 0 && u[R] !== L[D]; )
|
|
264
|
-
D--;
|
|
265
|
-
for (; R >= 1 && D >= 0; R--, D--)
|
|
266
|
-
if (u[R] !== L[D]) {
|
|
267
|
-
if (R !== 1 || D !== 1)
|
|
268
|
-
do
|
|
269
|
-
if (R--, D--, D < 0 || u[R] !== L[D]) {
|
|
270
|
-
var G = `
|
|
271
|
-
` + u[R].replace(" at new ", " at ");
|
|
272
|
-
return e.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, G), G;
|
|
273
|
-
}
|
|
274
|
-
while (R >= 1 && D >= 0);
|
|
275
|
-
break;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
} finally {
|
|
279
|
-
de = !1, ce.current = w, qe(), Error.prepareStackTrace = g;
|
|
280
|
-
}
|
|
281
|
-
var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
|
|
282
|
-
return typeof e == "function" && ne.set(e, J), J;
|
|
283
|
-
}
|
|
284
|
-
function Ge(e, t, r) {
|
|
285
|
-
return je(e, !1);
|
|
286
|
-
}
|
|
287
|
-
function Ye(e) {
|
|
288
|
-
var t = e.prototype;
|
|
289
|
-
return !!(t && t.isReactComponent);
|
|
290
|
-
}
|
|
291
|
-
function oe(e, t, r) {
|
|
292
|
-
if (e == null)
|
|
293
|
-
return "";
|
|
294
|
-
if (typeof e == "function")
|
|
295
|
-
return je(e, Ye(e));
|
|
296
|
-
if (typeof e == "string")
|
|
297
|
-
return ae(e);
|
|
298
|
-
switch (e) {
|
|
299
|
-
case y:
|
|
300
|
-
return ae("Suspense");
|
|
301
|
-
case n:
|
|
302
|
-
return ae("SuspenseList");
|
|
303
|
-
}
|
|
304
|
-
if (typeof e == "object")
|
|
305
|
-
switch (e.$$typeof) {
|
|
306
|
-
case l:
|
|
307
|
-
return Ge(e.render);
|
|
308
|
-
case s:
|
|
309
|
-
return oe(e.type, t, r);
|
|
310
|
-
case b: {
|
|
311
|
-
var o = e, g = o._payload, w = o._init;
|
|
312
|
-
try {
|
|
313
|
-
return oe(w(g), t, r);
|
|
314
|
-
} catch {
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
return "";
|
|
319
|
-
}
|
|
320
|
-
var te = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
|
|
321
|
-
function _e(e) {
|
|
322
|
-
if (e) {
|
|
323
|
-
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
324
|
-
Se.setExtraStackFrame(r);
|
|
325
|
-
} else
|
|
326
|
-
Se.setExtraStackFrame(null);
|
|
327
|
-
}
|
|
328
|
-
function ze(e, t, r, o, g) {
|
|
329
|
-
{
|
|
330
|
-
var w = Function.call.bind(te);
|
|
331
|
-
for (var p in e)
|
|
332
|
-
if (w(e, p)) {
|
|
333
|
-
var u = void 0;
|
|
334
|
-
try {
|
|
335
|
-
if (typeof e[p] != "function") {
|
|
336
|
-
var L = Error((o || "React class") + ": " + r + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
-
throw L.name = "Invariant Violation", L;
|
|
338
|
-
}
|
|
339
|
-
u = e[p](t, p, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
-
} catch (R) {
|
|
341
|
-
u = R;
|
|
342
|
-
}
|
|
343
|
-
u && !(u instanceof Error) && (_e(g), m("%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).", o || "React class", r, p, typeof u), _e(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, _e(g), m("Failed %s type: %s", r, u.message), _e(null));
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
var He = Array.isArray;
|
|
348
|
-
function fe(e) {
|
|
349
|
-
return He(e);
|
|
350
|
-
}
|
|
351
|
-
function Je(e) {
|
|
352
|
-
{
|
|
353
|
-
var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
|
-
return r;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
function Ve(e) {
|
|
358
|
-
try {
|
|
359
|
-
return Re(e), !1;
|
|
360
|
-
} catch {
|
|
361
|
-
return !0;
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
function Re(e) {
|
|
365
|
-
return "" + e;
|
|
366
|
-
}
|
|
367
|
-
function Te(e) {
|
|
368
|
-
if (Ve(e))
|
|
369
|
-
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
|
|
370
|
-
}
|
|
371
|
-
var Oe = T.ReactCurrentOwner, Ze = {
|
|
372
|
-
key: !0,
|
|
373
|
-
ref: !0,
|
|
374
|
-
__self: !0,
|
|
375
|
-
__source: !0
|
|
376
|
-
}, De, Pe;
|
|
377
|
-
function Xe(e) {
|
|
378
|
-
if (te.call(e, "ref")) {
|
|
379
|
-
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
380
|
-
if (t && t.isReactWarning)
|
|
381
|
-
return !1;
|
|
382
|
-
}
|
|
383
|
-
return e.ref !== void 0;
|
|
384
|
-
}
|
|
385
|
-
function Qe(e) {
|
|
386
|
-
if (te.call(e, "key")) {
|
|
387
|
-
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
388
|
-
if (t && t.isReactWarning)
|
|
389
|
-
return !1;
|
|
390
|
-
}
|
|
391
|
-
return e.key !== void 0;
|
|
392
|
-
}
|
|
393
|
-
function et(e, t) {
|
|
394
|
-
typeof e.ref == "string" && Oe.current;
|
|
395
|
-
}
|
|
396
|
-
function tt(e, t) {
|
|
397
|
-
{
|
|
398
|
-
var r = function() {
|
|
399
|
-
De || (De = !0, m("%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)", t));
|
|
400
|
-
};
|
|
401
|
-
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
402
|
-
get: r,
|
|
403
|
-
configurable: !0
|
|
404
|
-
});
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
function rt(e, t) {
|
|
408
|
-
{
|
|
409
|
-
var r = function() {
|
|
410
|
-
Pe || (Pe = !0, m("%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)", t));
|
|
411
|
-
};
|
|
412
|
-
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
413
|
-
get: r,
|
|
414
|
-
configurable: !0
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
var at = function(e, t, r, o, g, w, p) {
|
|
419
|
-
var u = {
|
|
420
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
421
|
-
$$typeof: _,
|
|
422
|
-
// Built-in properties that belong on the element
|
|
423
|
-
type: e,
|
|
424
|
-
key: t,
|
|
425
|
-
ref: r,
|
|
426
|
-
props: p,
|
|
427
|
-
// Record the component responsible for creating this element.
|
|
428
|
-
_owner: w
|
|
429
|
-
};
|
|
430
|
-
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
431
|
-
configurable: !1,
|
|
432
|
-
enumerable: !1,
|
|
433
|
-
writable: !0,
|
|
434
|
-
value: !1
|
|
435
|
-
}), Object.defineProperty(u, "_self", {
|
|
436
|
-
configurable: !1,
|
|
437
|
-
enumerable: !1,
|
|
438
|
-
writable: !1,
|
|
439
|
-
value: o
|
|
440
|
-
}), Object.defineProperty(u, "_source", {
|
|
441
|
-
configurable: !1,
|
|
442
|
-
enumerable: !1,
|
|
443
|
-
writable: !1,
|
|
444
|
-
value: g
|
|
445
|
-
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
446
|
-
};
|
|
447
|
-
function nt(e, t, r, o, g) {
|
|
448
|
-
{
|
|
449
|
-
var w, p = {}, u = null, L = null;
|
|
450
|
-
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (L = t.ref, et(t, g));
|
|
451
|
-
for (w in t)
|
|
452
|
-
te.call(t, w) && !Ze.hasOwnProperty(w) && (p[w] = t[w]);
|
|
453
|
-
if (e && e.defaultProps) {
|
|
454
|
-
var R = e.defaultProps;
|
|
455
|
-
for (w in R)
|
|
456
|
-
p[w] === void 0 && (p[w] = R[w]);
|
|
457
|
-
}
|
|
458
|
-
if (u || L) {
|
|
459
|
-
var D = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
u && tt(p, D), L && rt(p, D);
|
|
461
|
-
}
|
|
462
|
-
return at(e, u, L, g, o, Oe.current, p);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
|
|
466
|
-
function Z(e) {
|
|
467
|
-
if (e) {
|
|
468
|
-
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
469
|
-
Ne.setExtraStackFrame(r);
|
|
470
|
-
} else
|
|
471
|
-
Ne.setExtraStackFrame(null);
|
|
472
|
-
}
|
|
473
|
-
var pe;
|
|
474
|
-
pe = !1;
|
|
475
|
-
function ye(e) {
|
|
476
|
-
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
477
|
-
}
|
|
478
|
-
function Fe() {
|
|
479
|
-
{
|
|
480
|
-
if (me.current) {
|
|
481
|
-
var e = x(me.current.type);
|
|
482
|
-
if (e)
|
|
483
|
-
return `
|
|
484
|
-
|
|
485
|
-
Check the render method of \`` + e + "`.";
|
|
486
|
-
}
|
|
487
|
-
return "";
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
function ot(e) {
|
|
491
|
-
return "";
|
|
492
|
-
}
|
|
493
|
-
var Me = {};
|
|
494
|
-
function _t(e) {
|
|
495
|
-
{
|
|
496
|
-
var t = Fe();
|
|
497
|
-
if (!t) {
|
|
498
|
-
var r = typeof e == "string" ? e : e.displayName || e.name;
|
|
499
|
-
r && (t = `
|
|
500
|
-
|
|
501
|
-
Check the top-level render call using <` + r + ">.");
|
|
502
|
-
}
|
|
503
|
-
return t;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
function Ie(e, t) {
|
|
507
|
-
{
|
|
508
|
-
if (!e._store || e._store.validated || e.key != null)
|
|
509
|
-
return;
|
|
510
|
-
e._store.validated = !0;
|
|
511
|
-
var r = _t(t);
|
|
512
|
-
if (Me[r])
|
|
513
|
-
return;
|
|
514
|
-
Me[r] = !0;
|
|
515
|
-
var o = "";
|
|
516
|
-
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + x(e._owner.type) + "."), Z(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), Z(null);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
function Ae(e, t) {
|
|
520
|
-
{
|
|
521
|
-
if (typeof e != "object")
|
|
522
|
-
return;
|
|
523
|
-
if (fe(e))
|
|
524
|
-
for (var r = 0; r < e.length; r++) {
|
|
525
|
-
var o = e[r];
|
|
526
|
-
ye(o) && Ie(o, t);
|
|
527
|
-
}
|
|
528
|
-
else if (ye(e))
|
|
529
|
-
e._store && (e._store.validated = !0);
|
|
530
|
-
else if (e) {
|
|
531
|
-
var g = P(e);
|
|
532
|
-
if (typeof g == "function" && g !== e.entries)
|
|
533
|
-
for (var w = g.call(e), p; !(p = w.next()).done; )
|
|
534
|
-
ye(p.value) && Ie(p.value, t);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
function it(e) {
|
|
539
|
-
{
|
|
540
|
-
var t = e.type;
|
|
541
|
-
if (t == null || typeof t == "string")
|
|
542
|
-
return;
|
|
543
|
-
var r;
|
|
544
|
-
if (typeof t == "function")
|
|
545
|
-
r = t.propTypes;
|
|
546
|
-
else if (typeof t == "object" && (t.$$typeof === l || // Note: Memo only checks outer props here.
|
|
547
|
-
// Inner props are checked in the reconciler.
|
|
548
|
-
t.$$typeof === s))
|
|
549
|
-
r = t.propTypes;
|
|
550
|
-
else
|
|
551
|
-
return;
|
|
552
|
-
if (r) {
|
|
553
|
-
var o = x(t);
|
|
554
|
-
ze(r, e.props, "prop", o, e);
|
|
555
|
-
} else if (t.PropTypes !== void 0 && !pe) {
|
|
556
|
-
pe = !0;
|
|
557
|
-
var g = x(t);
|
|
558
|
-
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown");
|
|
559
|
-
}
|
|
560
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
function st(e) {
|
|
564
|
-
{
|
|
565
|
-
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
566
|
-
var o = t[r];
|
|
567
|
-
if (o !== "children" && o !== "key") {
|
|
568
|
-
Z(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Z(null);
|
|
569
|
-
break;
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
e.ref !== null && (Z(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), Z(null));
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
var $e = {};
|
|
576
|
-
function Be(e, t, r, o, g, w) {
|
|
577
|
-
{
|
|
578
|
-
var p = E(e);
|
|
579
|
-
if (!p) {
|
|
580
|
-
var u = "";
|
|
581
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var L = ot();
|
|
583
|
-
L ? u += L : u += Fe();
|
|
584
|
-
var R;
|
|
585
|
-
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (x(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
|
|
586
|
-
}
|
|
587
|
-
var D = nt(e, t, r, g, w);
|
|
588
|
-
if (D == null)
|
|
589
|
-
return D;
|
|
590
|
-
if (p) {
|
|
591
|
-
var G = t.children;
|
|
592
|
-
if (G !== void 0)
|
|
593
|
-
if (o)
|
|
594
|
-
if (fe(G)) {
|
|
595
|
-
for (var X = 0; X < G.length; X++)
|
|
596
|
-
Ae(G[X], e);
|
|
597
|
-
Object.freeze && Object.freeze(G);
|
|
598
|
-
} else
|
|
599
|
-
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
600
|
-
else
|
|
601
|
-
Ae(G, e);
|
|
602
|
-
}
|
|
603
|
-
if (te.call(t, "key")) {
|
|
604
|
-
var J = x(e), U = Object.keys(t).filter(function(mt) {
|
|
605
|
-
return mt !== "key";
|
|
606
|
-
}), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
|
-
if (!$e[J + ve]) {
|
|
608
|
-
var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
|
|
609
|
-
m(`A props object containing a "key" prop is being spread into JSX:
|
|
610
|
-
let props = %s;
|
|
611
|
-
<%s {...props} />
|
|
612
|
-
React keys must be passed directly to JSX without using spread:
|
|
613
|
-
let props = %s;
|
|
614
|
-
<%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
return e === c ? st(D) : it(D), D;
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
function lt(e, t, r) {
|
|
621
|
-
return Be(e, t, r, !0);
|
|
622
|
-
}
|
|
623
|
-
function ct(e, t, r) {
|
|
624
|
-
return Be(e, t, r, !1);
|
|
625
|
-
}
|
|
626
|
-
var ut = ct, dt = lt;
|
|
627
|
-
yt.Fragment = c, yt.jsx = ut, yt.jsxs = dt;
|
|
628
|
-
}()), yt;
|
|
629
|
-
}
|
|
630
|
-
process.env.NODE_ENV === "production" ? St.exports = zt() : St.exports = Ht();
|
|
631
|
-
var f = St.exports;
|
|
632
|
-
function da({ name: a, value: _, title: i, style: c, className: d }) {
|
|
633
|
-
let h = {
|
|
634
|
-
field: "progress"
|
|
635
|
-
};
|
|
636
|
-
return c && (h.style = c), d && (h.className = d), /* @__PURE__ */ f.jsxs("dl", { ...h, children: [
|
|
637
|
-
i && /* @__PURE__ */ f.jsx("dt", { children: i }),
|
|
638
|
-
/* @__PURE__ */ f.jsx("dd", {})
|
|
639
|
-
] });
|
|
640
|
-
}
|
|
641
|
-
const Jt = "_o_1c9e1_1", Vt = "_c_1c9e1_11", xt = {
|
|
642
|
-
o: Jt,
|
|
643
|
-
c: Vt
|
|
644
|
-
}, Zt = "_l_xeir5_1", Xt = "_f_xeir5_25", Qt = "_n_xeir5_43", er = "_w_xeir5_50", tr = "_t_xeir5_60", rr = "_g_xeir5_66", ar = "_h_xeir5_70", nr = "_e_xeir5_103", ee = {
|
|
645
|
-
l: Zt,
|
|
646
|
-
f: Xt,
|
|
647
|
-
n: Qt,
|
|
648
|
-
w: er,
|
|
649
|
-
t: tr,
|
|
650
|
-
g: rr,
|
|
651
|
-
h: ar,
|
|
652
|
-
e: nr
|
|
653
|
-
}, he = qt(
|
|
654
|
-
({
|
|
655
|
-
element_blok: a,
|
|
656
|
-
element_input: _,
|
|
657
|
-
type: i = "input",
|
|
658
|
-
title: c,
|
|
659
|
-
error: d,
|
|
660
|
-
before: h,
|
|
661
|
-
after: C,
|
|
662
|
-
children: k
|
|
663
|
-
}, l) => /* @__PURE__ */ f.jsxs(
|
|
664
|
-
"dl",
|
|
665
|
-
{
|
|
666
|
-
"data-field": i,
|
|
667
|
-
className: [ee.l, ...a.className].filter((y) => y !== void 0).join(" "),
|
|
668
|
-
children: [
|
|
669
|
-
c ? /* @__PURE__ */ f.jsx("dt", { className: ee.t, children: c }) : "",
|
|
670
|
-
h,
|
|
671
|
-
/* @__PURE__ */ f.jsx(
|
|
672
|
-
"dd",
|
|
673
|
-
{
|
|
674
|
-
ref: l,
|
|
675
|
-
className: [
|
|
676
|
-
ee.f,
|
|
677
|
-
..._.className,
|
|
678
|
-
d && d.length > 0 ? ee.e : ""
|
|
679
|
-
].join(" "),
|
|
680
|
-
..._.props,
|
|
681
|
-
children: k
|
|
682
|
-
}
|
|
683
|
-
),
|
|
684
|
-
C
|
|
685
|
-
]
|
|
686
|
-
}
|
|
687
|
-
)
|
|
688
|
-
);
|
|
689
|
-
function fa({
|
|
690
|
-
value: a,
|
|
691
|
-
onValue: _,
|
|
692
|
-
name: i,
|
|
693
|
-
error: c,
|
|
694
|
-
icon: d,
|
|
695
|
-
edit: h = !0,
|
|
696
|
-
active: C = !0,
|
|
697
|
-
title: k,
|
|
698
|
-
placeholder: l = "",
|
|
699
|
-
className: y
|
|
700
|
-
}) {
|
|
701
|
-
let [n, s] = S.useState(a);
|
|
702
|
-
const b = S.useRef(null), [j, I] = S.useState(!1);
|
|
703
|
-
S.useEffect(() => {
|
|
704
|
-
s(a);
|
|
705
|
-
}, [a]);
|
|
706
|
-
let q = (m) => {
|
|
707
|
-
s(m), _ && _({ value: m, name: i });
|
|
708
|
-
}, P = (m) => {
|
|
709
|
-
if (!h || !C) return;
|
|
710
|
-
const N = m.target.getBoundingClientRect(), K = N.left, A = N.top;
|
|
711
|
-
b.position = { x: K, y: A }, I(!0);
|
|
712
|
-
};
|
|
713
|
-
const T = {};
|
|
714
|
-
return l && (T.placeholder = l), d || /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
715
|
-
/* @__PURE__ */ f.jsx(
|
|
716
|
-
he,
|
|
717
|
-
{
|
|
718
|
-
type: "date",
|
|
719
|
-
title: k,
|
|
720
|
-
element_blok: { className: [y] },
|
|
721
|
-
element_input: { className: [ee.w] },
|
|
722
|
-
children: /* @__PURE__ */ f.jsx("div", { onClick: P, ...T, children: _r(n, "mm.yyyy") })
|
|
723
|
-
}
|
|
724
|
-
),
|
|
725
|
-
j && Nt(
|
|
726
|
-
/* @__PURE__ */ f.jsx(
|
|
727
|
-
or,
|
|
728
|
-
{
|
|
729
|
-
position: b.position,
|
|
730
|
-
onValue: q,
|
|
731
|
-
date: n,
|
|
732
|
-
onOpen: I
|
|
733
|
-
},
|
|
734
|
-
(/* @__PURE__ */ new Date()).getTime()
|
|
735
|
-
),
|
|
736
|
-
document.body
|
|
737
|
-
)
|
|
738
|
-
] });
|
|
739
|
-
}
|
|
740
|
-
const or = ({ onOpen: a, date: _, onValue: i, position: c }) => {
|
|
741
|
-
let d = /* @__PURE__ */ new Date(), h = new Date(_), C = {
|
|
742
|
-
y: parseInt(d.getFullYear()),
|
|
743
|
-
m: parseInt(d.getMonth()) + 1
|
|
744
|
-
}, k = {
|
|
745
|
-
y: parseInt(h.getFullYear()),
|
|
746
|
-
m: parseInt(h.getMonth()) + 1
|
|
747
|
-
}, [l, y] = S.useState(k.y), n = () => {
|
|
748
|
-
a(!1);
|
|
749
|
-
}, s = () => {
|
|
750
|
-
y(l + 1);
|
|
751
|
-
}, b = () => {
|
|
752
|
-
y(l - 1);
|
|
753
|
-
}, j = (m) => {
|
|
754
|
-
i(l + "-" + ir(2, m)), n();
|
|
755
|
-
}, I = (m) => C.y === k.y && C.m === m ? "_FFEB3B" : "", q = Array(12).fill("").map((m, N) => N + 1), P = window.innerHeight - c.y + 33 < 320 ? c.y - 312 : c.y + 33, T = window.innerWidth - c.x < 265 ? c.x - 235 : c.x;
|
|
756
|
-
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
757
|
-
/* @__PURE__ */ f.jsx("div", { className: xt.o, onClick: n }),
|
|
758
|
-
/* @__PURE__ */ f.jsxs("div", { className: xt.c, style: { top: P + "px", left: T + "px" }, children: [
|
|
759
|
-
/* @__PURE__ */ f.jsxs("s", { children: [
|
|
760
|
-
/* @__PURE__ */ f.jsx("i", { onClick: b, children: /* @__PURE__ */ f.jsx(
|
|
761
|
-
"svg",
|
|
762
|
-
{
|
|
763
|
-
width: "16",
|
|
764
|
-
height: "16",
|
|
765
|
-
fill: "currentColor",
|
|
766
|
-
viewBox: "0 0 24 24",
|
|
767
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
768
|
-
children: /* @__PURE__ */ f.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
|
|
769
|
-
}
|
|
770
|
-
) }),
|
|
771
|
-
/* @__PURE__ */ f.jsx("h2", { children: l }),
|
|
772
|
-
/* @__PURE__ */ f.jsx("i", { onClick: s, children: /* @__PURE__ */ f.jsx(
|
|
773
|
-
"svg",
|
|
774
|
-
{
|
|
775
|
-
width: "16",
|
|
776
|
-
height: "16",
|
|
777
|
-
fill: "currentColor",
|
|
778
|
-
viewBox: "0 0 24 24",
|
|
779
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
780
|
-
children: /* @__PURE__ */ f.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
|
|
781
|
-
}
|
|
782
|
-
) })
|
|
783
|
-
] }),
|
|
784
|
-
/* @__PURE__ */ f.jsx("div", { "grid-month": "", children: q.map((m, N) => /* @__PURE__ */ f.jsx(
|
|
785
|
-
"span",
|
|
786
|
-
{
|
|
787
|
-
onClick: () => {
|
|
788
|
-
j(m);
|
|
789
|
-
},
|
|
790
|
-
color: I(m),
|
|
791
|
-
children: /* @__PURE__ */ f.jsx("b", { children: sr(m).abc })
|
|
792
|
-
},
|
|
793
|
-
N
|
|
794
|
-
)) })
|
|
795
|
-
] })
|
|
796
|
-
] });
|
|
797
|
-
};
|
|
798
|
-
function _r(a, _) {
|
|
799
|
-
_ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
800
|
-
let i = {
|
|
801
|
-
yyyy: a.getFullYear(),
|
|
802
|
-
yy: ("" + a.getFullYear()).slice(-2),
|
|
803
|
-
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
804
|
-
dd: ("0" + a.getDate()).slice(-2),
|
|
805
|
-
HH: ("0" + a.getHours()).slice(-2),
|
|
806
|
-
MM: ("0" + a.getMinutes()).slice(-2),
|
|
807
|
-
SS: ("0" + a.getSeconds()).slice(-2),
|
|
808
|
-
__: " ",
|
|
809
|
-
_: " "
|
|
810
|
-
};
|
|
811
|
-
for (const c in i)
|
|
812
|
-
_ = _.replace(c, i[c]);
|
|
813
|
-
return _;
|
|
814
|
-
}
|
|
815
|
-
function ir(a, _) {
|
|
816
|
-
let i = _ + "";
|
|
817
|
-
for (; i.length < a; ) i = "0" + i;
|
|
818
|
-
return i;
|
|
819
|
-
}
|
|
820
|
-
function sr(a) {
|
|
821
|
-
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
822
|
-
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
823
|
-
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
824
|
-
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
825
|
-
4: { val: "04", name: "Апрель", names: "Апреля", abc: "Апр" },
|
|
826
|
-
5: { val: "05", name: "Май", names: "Мая", abc: "Май" },
|
|
827
|
-
6: { val: "06", name: "Июнь", names: "Июня", abc: "Июнь" },
|
|
828
|
-
7: { val: "07", name: "Июль", names: "Июля", abc: "Июль" },
|
|
829
|
-
8: { val: "08", name: "Август", names: "Августа", abc: "Авг" },
|
|
830
|
-
9: { val: "09", name: "Сентябрь", names: "Сентября", abc: "Сент" },
|
|
831
|
-
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
832
|
-
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
833
|
-
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
834
|
-
}[a];
|
|
835
|
-
}
|
|
836
|
-
let V = {};
|
|
837
|
-
V.KeyDown = (a) => {
|
|
838
|
-
a.key === "Enter" && a.preventDefault();
|
|
839
|
-
};
|
|
840
|
-
V.PasteOne = (a) => {
|
|
841
|
-
a.preventDefault(), navigator.clipboard.readText().then((_) => {
|
|
842
|
-
_ = _.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, _);
|
|
843
|
-
}).catch((_) => {
|
|
844
|
-
});
|
|
845
|
-
};
|
|
846
|
-
V.Paste = (a, _) => {
|
|
847
|
-
_.preventDefault(), navigator.clipboard.readText().then((i) => {
|
|
848
|
-
if (a) {
|
|
849
|
-
let c = _.target.textContent.length;
|
|
850
|
-
if (c >= a) return;
|
|
851
|
-
a -= c, i = i.slice(0, a);
|
|
852
|
-
}
|
|
853
|
-
window.document.execCommand(
|
|
854
|
-
"insertText",
|
|
855
|
-
!1,
|
|
856
|
-
i.replace(/(\r\n|\n|\r)/gm, " ")
|
|
857
|
-
);
|
|
858
|
-
}).catch((i) => {
|
|
859
|
-
});
|
|
860
|
-
};
|
|
861
|
-
V.Focus = (a) => {
|
|
862
|
-
a.target.textContent.length === 0 && (a.target.innerHTML = "<br>");
|
|
863
|
-
};
|
|
864
|
-
V.Blur = (a) => {
|
|
865
|
-
a.target.scrollLeft = 0, a.target.querySelector("br") !== null && a.target.querySelector("br").remove();
|
|
866
|
-
};
|
|
867
|
-
V.ContentEditable = "plaintext-only";
|
|
868
|
-
function ma({
|
|
869
|
-
value: a,
|
|
870
|
-
onValue: _,
|
|
871
|
-
name: i,
|
|
872
|
-
placeholder: c = "",
|
|
873
|
-
title: d = "",
|
|
874
|
-
error: h = "",
|
|
875
|
-
hide: C = !1,
|
|
876
|
-
edit: k = !0,
|
|
877
|
-
active: l = !0,
|
|
878
|
-
after: y = "",
|
|
879
|
-
show: n = !0,
|
|
880
|
-
course: s = 100,
|
|
881
|
-
view: b,
|
|
882
|
-
type: j,
|
|
883
|
-
onSave: I,
|
|
884
|
-
className: q = "",
|
|
885
|
-
isClear: P = !1
|
|
886
|
-
}) {
|
|
887
|
-
let T = !!(C && (a === "" || a === void 0)), m = (E) => j === "multi" ? E.replace(/[^+\d.+-]/g, "") : E.replace(/[^+\d.]/g, ""), N = (E, B) => {
|
|
888
|
-
let v = document.createRange(), x = window.getSelection();
|
|
889
|
-
v.setStart(B.childNodes[0], E), v.collapse(!0), x.removeAllRanges(), x.addRange(v), B.focus();
|
|
890
|
-
}, K = (E) => {
|
|
891
|
-
_ == null || _({
|
|
892
|
-
value: m(E.target.textContent) * s,
|
|
893
|
-
name: i
|
|
894
|
-
}), E.target.textContent = m(E.target.textContent), E.target.textContent.length > 0 && N(E.target.textContent.length, E.target);
|
|
895
|
-
}, A = (E) => {
|
|
896
|
-
V.Blur(E), E.target.textContent === "" && (E.target.textContent = 0), I == null || I({ value: m(E.target.textContent) * s, name: i }), _ == null || _({
|
|
897
|
-
value: m(E.target.textContent) * s,
|
|
898
|
-
name: i
|
|
899
|
-
}), E.target.textContent = It(E.target.textContent);
|
|
900
|
-
}, O = (E) => {
|
|
901
|
-
E.target.textContent = m(E.target.textContent);
|
|
902
|
-
}, $ = (E) => {
|
|
903
|
-
E.key === "Enter" && E.preventDefault();
|
|
904
|
-
}, W = (E) => {
|
|
905
|
-
E.preventDefault(), navigator.clipboard.readText().then((B) => {
|
|
906
|
-
B = B.replace(/^\s*/, "").replace(/\s*$/, ""), window.document.execCommand("insertText", !1, B);
|
|
907
|
-
}).catch((B) => {
|
|
908
|
-
});
|
|
909
|
-
};
|
|
910
|
-
if (!(k && l) && !n || !(k && l) && T) return "";
|
|
911
|
-
const F = {};
|
|
912
|
-
return F.inputMode = "decimal", c && (F.placeholder = c), k && l && (F.edit = ""), /* @__PURE__ */ f.jsx(
|
|
913
|
-
he,
|
|
914
|
-
{
|
|
915
|
-
type: "input",
|
|
916
|
-
title: d,
|
|
917
|
-
element_blok: { className: [q] },
|
|
918
|
-
element_input: { className: [ee.w] },
|
|
919
|
-
children: /* @__PURE__ */ f.jsx(
|
|
920
|
-
"div",
|
|
921
|
-
{
|
|
922
|
-
...F,
|
|
923
|
-
onInput: K,
|
|
924
|
-
onPaste: W,
|
|
925
|
-
onBlur: A,
|
|
926
|
-
onKeyDown: $,
|
|
927
|
-
onFocus: O,
|
|
928
|
-
contentEditable: k && l ? V.ContentEditable : "false",
|
|
929
|
-
suppressContentEditableWarning: !0,
|
|
930
|
-
"data-after": y,
|
|
931
|
-
children: !c || a ? It(a) : ""
|
|
932
|
-
}
|
|
933
|
-
)
|
|
934
|
-
}
|
|
935
|
-
);
|
|
936
|
-
}
|
|
937
|
-
function It(a, _) {
|
|
938
|
-
return parseFloat(a).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
939
|
-
}
|
|
940
|
-
function pa({
|
|
941
|
-
value: a = "",
|
|
942
|
-
onValue: _,
|
|
943
|
-
onSave: i,
|
|
944
|
-
name: c,
|
|
945
|
-
format: d = "+_(___) ___-__-__",
|
|
946
|
-
placeholder: h = "",
|
|
947
|
-
title: C = "",
|
|
948
|
-
error: k = "",
|
|
949
|
-
hide: l = !1,
|
|
950
|
-
edit: y = !0,
|
|
951
|
-
active: n = !0,
|
|
952
|
-
after: s = "",
|
|
953
|
-
show: b = !0,
|
|
954
|
-
view: j,
|
|
955
|
-
className: I = ""
|
|
956
|
-
}) {
|
|
957
|
-
y = y !== void 0 ? y : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(y && n), S.useRef(null);
|
|
958
|
-
let P = d, T = !0, m = 0, N = (B, v) => {
|
|
959
|
-
let x = document.createRange(), M = window.getSelection();
|
|
960
|
-
x.setStart(v.childNodes[0], B), x.collapse(!0), M.removeAllRanges(), M.addRange(x), v.focus();
|
|
961
|
-
}, K = (B) => {
|
|
962
|
-
B.preventDefault(), navigator.clipboard.readText().then((v) => {
|
|
963
|
-
window.document.execCommand("insertText", !1, v);
|
|
964
|
-
}).catch((v) => {
|
|
965
|
-
});
|
|
966
|
-
}, A = (B) => {
|
|
967
|
-
let v = 0, x = "", M = B.replace(/\D/g, "");
|
|
968
|
-
M === "" && (T = !0);
|
|
969
|
-
let Y = M.split(""), Q = "";
|
|
970
|
-
Y.forEach((le) => {
|
|
971
|
-
T && (Q += le, T && (m = ("" + Q).length, P = d.replace(new RegExp("[0-9]", "g"), "_"), x = ""), m > ("" + Q).length && (T = !0, P = d.replace(new RegExp("[0-9]", "g"), "_"), x = ""));
|
|
972
|
-
});
|
|
973
|
-
let H = P.replace(/\D/g, "");
|
|
974
|
-
return H.length >= M.length && (M = H), { q: P.replace(/[_\d]/g, function() {
|
|
975
|
-
return M.charAt(v++) || "_";
|
|
976
|
-
}), i: v, v: M, f: x };
|
|
977
|
-
}, O = A(a), $ = (B) => {
|
|
978
|
-
let v = A(B.target.textContent);
|
|
979
|
-
B.target.textContent = v.q, v.i = v.q.lastIndexOf(v.v.substr(-1)), v.i < v.q.length && v.q !== P ? v.i++ : v.i = v.q.indexOf("_"), N(v.i, B.target), _ && _({ value: v.q.replace(/\D/g, ""), name: c });
|
|
980
|
-
}, W = (B) => {
|
|
981
|
-
B.key === "Enter" && B.preventDefault();
|
|
982
|
-
};
|
|
983
|
-
const F = (B) => {
|
|
984
|
-
V.Blur(B), i && i({
|
|
985
|
-
value: B.target.textContent.replace(/\D/g, ""),
|
|
986
|
-
name: c
|
|
987
|
-
});
|
|
988
|
-
};
|
|
989
|
-
let E = {};
|
|
990
|
-
return y && n ? (E.edit = "true", E.contentEditable = V.ContentEditable) : E.contentEditable = "false", h && (E.placeholder = h), s && (E.after = s), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
991
|
-
he,
|
|
992
|
-
{
|
|
993
|
-
type: "input",
|
|
994
|
-
title: C,
|
|
995
|
-
element_blok: { className: [I] },
|
|
996
|
-
element_input: { className: [ee.w] },
|
|
997
|
-
children: /* @__PURE__ */ f.jsx(
|
|
998
|
-
"div",
|
|
999
|
-
{
|
|
1000
|
-
onPaste: K,
|
|
1001
|
-
onInput: $,
|
|
1002
|
-
onKeyDown: W,
|
|
1003
|
-
onBlur: F,
|
|
1004
|
-
suppressContentEditableWarning: !0,
|
|
1005
|
-
...E,
|
|
1006
|
-
children: O.q
|
|
1007
|
-
}
|
|
1008
|
-
)
|
|
1009
|
-
}
|
|
1010
|
-
);
|
|
1011
|
-
}
|
|
1012
|
-
function ya({
|
|
1013
|
-
title: a,
|
|
1014
|
-
error: _,
|
|
1015
|
-
edit: i = !0,
|
|
1016
|
-
active: c = !0,
|
|
1017
|
-
className: d,
|
|
1018
|
-
placeholder: h,
|
|
1019
|
-
max: C,
|
|
1020
|
-
min: k,
|
|
1021
|
-
onValue: l,
|
|
1022
|
-
icon: y,
|
|
1023
|
-
name: n = "",
|
|
1024
|
-
value: s,
|
|
1025
|
-
after: b
|
|
1026
|
-
}) {
|
|
1027
|
-
let [j, I] = S.useState(
|
|
1028
|
-
s === void 0 ? /* @__PURE__ */ new Date() : s
|
|
1029
|
-
);
|
|
1030
|
-
const q = S.useRef(null), [P, T] = S.useState(!1);
|
|
1031
|
-
let m = !i && c;
|
|
1032
|
-
S.useEffect(() => {
|
|
1033
|
-
I(s === void 0 ? /* @__PURE__ */ new Date() : s);
|
|
1034
|
-
}, [s]);
|
|
1035
|
-
let N = (O) => {
|
|
1036
|
-
I(O), l == null || l({ value: O, name: n });
|
|
1037
|
-
}, K = (O) => {
|
|
1038
|
-
const $ = O.target.getBoundingClientRect(), W = $.left, F = $.bottom, E = $.top;
|
|
1039
|
-
q.position = { x: W, b: F, y: E }, T(!0);
|
|
1040
|
-
};
|
|
1041
|
-
const A = {};
|
|
1042
|
-
return h && (A.placeholder = h), m ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1043
|
-
y ? y() : /* @__PURE__ */ f.jsxs(
|
|
1044
|
-
"dl",
|
|
1045
|
-
{
|
|
1046
|
-
"data-field": "date",
|
|
1047
|
-
className: [ee.l, d].filter((O) => O !== void 0).join(" "),
|
|
1048
|
-
children: [
|
|
1049
|
-
a ? /* @__PURE__ */ f.jsx("dt", { className: ee.t, children: a }) : "",
|
|
1050
|
-
/* @__PURE__ */ f.jsxs(
|
|
1051
|
-
"dd",
|
|
1052
|
-
{
|
|
1053
|
-
onClick: K,
|
|
1054
|
-
className: [ee.f, ee.w].join(" "),
|
|
1055
|
-
...A,
|
|
1056
|
-
"data-edit": (i && c) + "",
|
|
1057
|
-
children: [
|
|
1058
|
-
ur(j, "dd.mm.yyyy"),
|
|
1059
|
-
b
|
|
1060
|
-
]
|
|
1061
|
-
}
|
|
1062
|
-
),
|
|
1063
|
-
_ && /* @__PURE__ */ f.jsx("em", { children: _ })
|
|
1064
|
-
]
|
|
1065
|
-
}
|
|
1066
|
-
),
|
|
1067
|
-
P && Nt(
|
|
1068
|
-
/* @__PURE__ */ f.jsx(
|
|
1069
|
-
lr,
|
|
1070
|
-
{
|
|
1071
|
-
position: q.position,
|
|
1072
|
-
onValue: N,
|
|
1073
|
-
date: j,
|
|
1074
|
-
max: C,
|
|
1075
|
-
min: k,
|
|
1076
|
-
onOpen: T,
|
|
1077
|
-
className: d
|
|
1078
|
-
},
|
|
1079
|
-
(/* @__PURE__ */ new Date()).getTime()
|
|
1080
|
-
),
|
|
1081
|
-
document.body
|
|
1082
|
-
)
|
|
1083
|
-
] });
|
|
1084
|
-
}
|
|
1085
|
-
const lr = ({
|
|
1086
|
-
date: a,
|
|
1087
|
-
onValue: _,
|
|
1088
|
-
position: i,
|
|
1089
|
-
max: c,
|
|
1090
|
-
min: d,
|
|
1091
|
-
className: h,
|
|
1092
|
-
onOpen: C
|
|
1093
|
-
}) => {
|
|
1094
|
-
let k = /* @__PURE__ */ new Date(), l = new Date(a), y = {
|
|
1095
|
-
y: parseInt(k.getFullYear()),
|
|
1096
|
-
d: parseInt(k.getDate()),
|
|
1097
|
-
m: parseInt(k.getMonth()) + 1
|
|
1098
|
-
}, n = {
|
|
1099
|
-
y: parseInt(l.getFullYear()),
|
|
1100
|
-
d: parseInt(l.getDate()),
|
|
1101
|
-
m: parseInt(l.getMonth()) + 1
|
|
1102
|
-
}, [s, b] = S.useState({ y: n.y, m: n.m }), j = (v) => {
|
|
1103
|
-
let x = v.getDay();
|
|
1104
|
-
return x === 0 && (x = 7), x - 1;
|
|
1105
|
-
}, I = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"], q = s.m - 1, P = new Date(s.y, q), T = [];
|
|
1106
|
-
for (let v = 0; v < j(P); v++)
|
|
1107
|
-
T.push(0);
|
|
1108
|
-
for (; P.getMonth() === q; )
|
|
1109
|
-
T.push(P.getDate()), P.setDate(P.getDate() + 1);
|
|
1110
|
-
let m = () => {
|
|
1111
|
-
C(!1);
|
|
1112
|
-
}, N = () => {
|
|
1113
|
-
O(s.m + 1, s.y);
|
|
1114
|
-
}, K = () => {
|
|
1115
|
-
O(s.m - 1, s.y);
|
|
1116
|
-
}, A = (v) => {
|
|
1117
|
-
_(
|
|
1118
|
-
s.y + "-" + At(2, s.m) + "-" + At(2, v)
|
|
1119
|
-
), m();
|
|
1120
|
-
}, O = (v, x) => {
|
|
1121
|
-
x = v > 12 ? x + 1 : v < 1 ? x - 1 : x, v = v > 12 ? 1 : v < 1 ? 12 : v, b({ y: x, m: v });
|
|
1122
|
-
};
|
|
1123
|
-
const $ = (v) => y.y === s.y && y.m === s.m && y.d === v ? { "data-active": "true" } : {}, W = (v) => n.y === s.y && n.m === s.m && n.d === v ? { "data-current": "true" } : {}, F = (v) => {
|
|
1124
|
-
let x = !0;
|
|
1125
|
-
if (c) {
|
|
1126
|
-
let M = c.getTime(), Y = new Date(s.y, s.m - 1, v).getTime();
|
|
1127
|
-
M < Y && (x = !1);
|
|
1128
|
-
}
|
|
1129
|
-
if (d) {
|
|
1130
|
-
let M = d.getTime(), Y = new Date(s.y, s.m - 1, v).getTime();
|
|
1131
|
-
M > Y && (x = !1);
|
|
1132
|
-
}
|
|
1133
|
-
return x;
|
|
1134
|
-
};
|
|
1135
|
-
let E = window.innerHeight - i.y < 320 ? i.y - 312 : i.b, B = window.innerWidth - i.x < 265 ? i.x - 235 : i.x;
|
|
1136
|
-
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
1137
|
-
/* @__PURE__ */ f.jsx("div", { className: xt.o, onClick: () => m() }),
|
|
1138
|
-
/* @__PURE__ */ f.jsxs(
|
|
1139
|
-
"div",
|
|
1140
|
-
{
|
|
1141
|
-
className: [
|
|
1142
|
-
xt.c,
|
|
1143
|
-
h && h + "-backdrop"
|
|
1144
|
-
].join(" "),
|
|
1145
|
-
style: { top: E + "px", left: B + "px" },
|
|
1146
|
-
children: [
|
|
1147
|
-
/* @__PURE__ */ f.jsxs("s", { children: [
|
|
1148
|
-
/* @__PURE__ */ f.jsx("i", { onClick: K, children: /* @__PURE__ */ f.jsx(
|
|
1149
|
-
"svg",
|
|
1150
|
-
{
|
|
1151
|
-
width: "16",
|
|
1152
|
-
height: "16",
|
|
1153
|
-
fill: "currentColor",
|
|
1154
|
-
viewBox: "0 0 24 24",
|
|
1155
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1156
|
-
children: /* @__PURE__ */ f.jsx("path", { d: "m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z" })
|
|
1157
|
-
}
|
|
1158
|
-
) }),
|
|
1159
|
-
/* @__PURE__ */ f.jsxs("h2", { children: [
|
|
1160
|
-
cr(s.m).name,
|
|
1161
|
-
" ",
|
|
1162
|
-
s.y
|
|
1163
|
-
] }),
|
|
1164
|
-
/* @__PURE__ */ f.jsx("i", { onClick: N, children: /* @__PURE__ */ f.jsx(
|
|
1165
|
-
"svg",
|
|
1166
|
-
{
|
|
1167
|
-
width: "16",
|
|
1168
|
-
height: "16",
|
|
1169
|
-
fill: "currentColor",
|
|
1170
|
-
viewBox: "0 0 24 24",
|
|
1171
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1172
|
-
children: /* @__PURE__ */ f.jsx("path", { d: "m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z" })
|
|
1173
|
-
}
|
|
1174
|
-
) })
|
|
1175
|
-
] }),
|
|
1176
|
-
/* @__PURE__ */ f.jsxs("div", { "grid-calendar": "", children: [
|
|
1177
|
-
I.map((v, x) => /* @__PURE__ */ f.jsx("p", { children: v }, "v" + x)),
|
|
1178
|
-
T.map((v, x) => /* @__PURE__ */ f.jsx("span", { children: v !== 0 && F(v) ? /* @__PURE__ */ f.jsx(
|
|
1179
|
-
"b",
|
|
1180
|
-
{
|
|
1181
|
-
...$(v),
|
|
1182
|
-
...W(v),
|
|
1183
|
-
onClick: () => A(v),
|
|
1184
|
-
children: v
|
|
1185
|
-
}
|
|
1186
|
-
) : /* @__PURE__ */ f.jsx("p", { ...$(v), ...W(v), children: v !== 0 ? v : "" }) }, x))
|
|
1187
|
-
] })
|
|
1188
|
-
]
|
|
1189
|
-
}
|
|
1190
|
-
)
|
|
1191
|
-
] });
|
|
1192
|
-
};
|
|
1193
|
-
function cr(a) {
|
|
1194
|
-
return a = typeof a == "number" ? a : new Date(a).getMonth() + 1, {
|
|
1195
|
-
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
1196
|
-
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
1197
|
-
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
1198
|
-
4: { val: "04", name: "Апрель", names: "Апреля", abc: "Апр" },
|
|
1199
|
-
5: { val: "05", name: "Май", names: "Мая", abc: "Май" },
|
|
1200
|
-
6: { val: "06", name: "Июнь", names: "Июня", abc: "Июнь" },
|
|
1201
|
-
7: { val: "07", name: "Июль", names: "Июля", abc: "Июль" },
|
|
1202
|
-
8: { val: "08", name: "Август", names: "Августа", abc: "Авг" },
|
|
1203
|
-
9: { val: "09", name: "Сентябрь", names: "Сентября", abc: "Сент" },
|
|
1204
|
-
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
1205
|
-
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
1206
|
-
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
1207
|
-
}[a];
|
|
1208
|
-
}
|
|
1209
|
-
function At(a, _) {
|
|
1210
|
-
let i = _ + "";
|
|
1211
|
-
for (; i.length < a; ) i = "0" + i;
|
|
1212
|
-
return i;
|
|
1213
|
-
}
|
|
1214
|
-
function ur(a, _) {
|
|
1215
|
-
_ === void 0 ? (_ = a, a = /* @__PURE__ */ new Date()) : a = new Date(a);
|
|
1216
|
-
let i = {
|
|
1217
|
-
yyyy: a.getFullYear(),
|
|
1218
|
-
yy: ("" + a.getFullYear()).slice(-2),
|
|
1219
|
-
mm: ("0" + (a.getMonth() + 1)).slice(-2),
|
|
1220
|
-
dd: ("0" + a.getDate()).slice(-2),
|
|
1221
|
-
HH: ("0" + a.getHours()).slice(-2),
|
|
1222
|
-
MM: ("0" + a.getMinutes()).slice(-2),
|
|
1223
|
-
SS: ("0" + a.getSeconds()).slice(-2),
|
|
1224
|
-
__: " ",
|
|
1225
|
-
_: " "
|
|
1226
|
-
};
|
|
1227
|
-
for (const c in i)
|
|
1228
|
-
_ = _.replace(c, i[c]);
|
|
1229
|
-
return _;
|
|
1230
|
-
}
|
|
1231
|
-
function va({
|
|
1232
|
-
value: a,
|
|
1233
|
-
onValue: _,
|
|
1234
|
-
name: i,
|
|
1235
|
-
placeholder: c = "",
|
|
1236
|
-
title: d = "",
|
|
1237
|
-
label: h = "",
|
|
1238
|
-
hide: C = !1,
|
|
1239
|
-
edit: k = !0,
|
|
1240
|
-
active: l = !0,
|
|
1241
|
-
after: y = "",
|
|
1242
|
-
show: n = !0,
|
|
1243
|
-
maxLength: s,
|
|
1244
|
-
error: b = "",
|
|
1245
|
-
onSave: j,
|
|
1246
|
-
className: I = "",
|
|
1247
|
-
isCopy: q = !0
|
|
1248
|
-
}) {
|
|
1249
|
-
const P = (A) => {
|
|
1250
|
-
_ == null || _({ value: A.target.innerText, name: i || "" });
|
|
1251
|
-
}, T = (A) => {
|
|
1252
|
-
s && A.target.textContent.trim().length >= s && A.key !== "Backspace" && A.preventDefault(), A.key === "Enter" && A.preventDefault();
|
|
1253
|
-
}, m = (A) => {
|
|
1254
|
-
A.preventDefault(), navigator.clipboard.readText().then((O) => {
|
|
1255
|
-
if (s) {
|
|
1256
|
-
let $ = A.target.textContent.length;
|
|
1257
|
-
if ($ >= s) return;
|
|
1258
|
-
s -= $, O = O.slice(0, s);
|
|
1259
|
-
}
|
|
1260
|
-
window.document.execCommand(
|
|
1261
|
-
"insertText",
|
|
1262
|
-
!1,
|
|
1263
|
-
O.replace(/(\r\n|\n|\r)/gm, " ")
|
|
1264
|
-
);
|
|
1265
|
-
}).catch((O) => {
|
|
1266
|
-
});
|
|
1267
|
-
};
|
|
1268
|
-
if (C) return /* @__PURE__ */ f.jsx(f.Fragment, {});
|
|
1269
|
-
if (!(k && l) && !n) return "";
|
|
1270
|
-
const N = {};
|
|
1271
|
-
c && (N.placeholder = c), k && l && (N.edit = "");
|
|
1272
|
-
const K = (A) => {
|
|
1273
|
-
V.Blur(A), j == null || j({ value: A.target.textContent.trim(), name: i || "" });
|
|
1274
|
-
};
|
|
1275
|
-
return /* @__PURE__ */ f.jsx(
|
|
1276
|
-
he,
|
|
1277
|
-
{
|
|
1278
|
-
type: "note",
|
|
1279
|
-
title: d || h,
|
|
1280
|
-
error: b,
|
|
1281
|
-
element_blok: { className: [I] },
|
|
1282
|
-
element_input: { className: [ee.n] },
|
|
1283
|
-
children: /* @__PURE__ */ f.jsx(
|
|
1284
|
-
"div",
|
|
1285
|
-
{
|
|
1286
|
-
onPaste: m,
|
|
1287
|
-
onInput: P,
|
|
1288
|
-
onBlur: K,
|
|
1289
|
-
onKeyDown: T,
|
|
1290
|
-
contentEditable: k && l ? V.ContentEditable : "false",
|
|
1291
|
-
suppressContentEditableWarning: !0,
|
|
1292
|
-
...N,
|
|
1293
|
-
children: a
|
|
1294
|
-
}
|
|
1295
|
-
)
|
|
1296
|
-
}
|
|
1297
|
-
);
|
|
1298
|
-
}
|
|
1299
|
-
const jt = {
|
|
1300
|
-
0: {
|
|
1301
|
-
name: "Heard Island and Mcdonald Islands",
|
|
1302
|
-
dial_code: "+0",
|
|
1303
|
-
code: "HM",
|
|
1304
|
-
mask: "+0(___) ___-__-__"
|
|
1305
|
-
},
|
|
1306
|
-
1: {
|
|
1307
|
-
name: "United States",
|
|
1308
|
-
dial_code: "+1",
|
|
1309
|
-
code: "US",
|
|
1310
|
-
mask: "+1(___) ___-__-__"
|
|
1311
|
-
},
|
|
1312
|
-
7: {
|
|
1313
|
-
name: "Russia",
|
|
1314
|
-
dial_code: "+7",
|
|
1315
|
-
code: "RU",
|
|
1316
|
-
mask: "+7(___) ___-__-__"
|
|
1317
|
-
},
|
|
1318
|
-
20: {
|
|
1319
|
-
name: "Egypt",
|
|
1320
|
-
dial_code: "+20",
|
|
1321
|
-
code: "EG",
|
|
1322
|
-
mask: "+20(___) ___-__-__"
|
|
1323
|
-
},
|
|
1324
|
-
27: {
|
|
1325
|
-
name: "South Africa",
|
|
1326
|
-
dial_code: "+27",
|
|
1327
|
-
code: "ZA",
|
|
1328
|
-
mask: "+27(___) __-__-__"
|
|
1329
|
-
},
|
|
1330
|
-
30: {
|
|
1331
|
-
name: "Greece",
|
|
1332
|
-
dial_code: "+30",
|
|
1333
|
-
code: "GR",
|
|
1334
|
-
mask: "+30(___) ___-__-__"
|
|
1335
|
-
},
|
|
1336
|
-
31: {
|
|
1337
|
-
name: "Netherlands",
|
|
1338
|
-
dial_code: "+31",
|
|
1339
|
-
code: "NL",
|
|
1340
|
-
mask: "+31(___) __-__-__"
|
|
1341
|
-
},
|
|
1342
|
-
32: {
|
|
1343
|
-
name: "Belgium",
|
|
1344
|
-
dial_code: "+32",
|
|
1345
|
-
code: "BE",
|
|
1346
|
-
mask: "+32(___) __-__-__"
|
|
1347
|
-
},
|
|
1348
|
-
33: {
|
|
1349
|
-
name: "France",
|
|
1350
|
-
dial_code: "+33",
|
|
1351
|
-
code: "FR",
|
|
1352
|
-
mask: "+33(___) __-__-__"
|
|
1353
|
-
},
|
|
1354
|
-
34: {
|
|
1355
|
-
name: "Spain",
|
|
1356
|
-
dial_code: "+34",
|
|
1357
|
-
code: "ES",
|
|
1358
|
-
mask: "+34(___) __-__-__"
|
|
1359
|
-
},
|
|
1360
|
-
36: {
|
|
1361
|
-
name: "Hungary",
|
|
1362
|
-
dial_code: "+36",
|
|
1363
|
-
code: "HU",
|
|
1364
|
-
mask: "+36(___) __-__-__"
|
|
1365
|
-
},
|
|
1366
|
-
39: {
|
|
1367
|
-
name: "Italy",
|
|
1368
|
-
dial_code: "+39",
|
|
1369
|
-
code: "IT",
|
|
1370
|
-
mask: "+39(___) ___-__-__"
|
|
1371
|
-
},
|
|
1372
|
-
40: {
|
|
1373
|
-
name: "Romania",
|
|
1374
|
-
dial_code: "+40",
|
|
1375
|
-
code: "RO",
|
|
1376
|
-
mask: "+40(___) __-__-__"
|
|
1377
|
-
},
|
|
1378
|
-
41: {
|
|
1379
|
-
name: "Switzerland",
|
|
1380
|
-
dial_code: "+41",
|
|
1381
|
-
code: "CH",
|
|
1382
|
-
mask: "+41(___) __-__-__"
|
|
1383
|
-
},
|
|
1384
|
-
43: {
|
|
1385
|
-
name: "Austria",
|
|
1386
|
-
dial_code: "+43",
|
|
1387
|
-
code: "AT",
|
|
1388
|
-
mask: "+43(__) ___-__-__"
|
|
1389
|
-
},
|
|
1390
|
-
44: {
|
|
1391
|
-
name: "United Kingdom",
|
|
1392
|
-
dial_code: "+44",
|
|
1393
|
-
code: "GB",
|
|
1394
|
-
mask: "+44(___) ___-__-__"
|
|
1395
|
-
},
|
|
1396
|
-
45: {
|
|
1397
|
-
name: "Denmark",
|
|
1398
|
-
dial_code: "+45",
|
|
1399
|
-
code: "DK",
|
|
1400
|
-
mask: "+45(__) __-__-__"
|
|
1401
|
-
},
|
|
1402
|
-
46: {
|
|
1403
|
-
name: "Sweden",
|
|
1404
|
-
dial_code: "+46",
|
|
1405
|
-
code: "SE",
|
|
1406
|
-
mask: "+46(___) __-__-__"
|
|
1407
|
-
},
|
|
1408
|
-
47: {
|
|
1409
|
-
name: "Svalbard and Jan Mayen",
|
|
1410
|
-
dial_code: "+47",
|
|
1411
|
-
code: "SJ",
|
|
1412
|
-
mask: "+47(__) __-__-__"
|
|
1413
|
-
},
|
|
1414
|
-
48: {
|
|
1415
|
-
name: "Poland",
|
|
1416
|
-
dial_code: "+48",
|
|
1417
|
-
code: "PL",
|
|
1418
|
-
mask: "+48(__) __-__-__"
|
|
1419
|
-
},
|
|
1420
|
-
49: {
|
|
1421
|
-
name: "Germany",
|
|
1422
|
-
dial_code: "+49",
|
|
1423
|
-
code: "DE",
|
|
1424
|
-
mask: "+49(___) ___-__-__"
|
|
1425
|
-
},
|
|
1426
|
-
51: {
|
|
1427
|
-
name: "Peru",
|
|
1428
|
-
dial_code: "+51",
|
|
1429
|
-
code: "PE",
|
|
1430
|
-
mask: "+51(___) __-__-__"
|
|
1431
|
-
},
|
|
1432
|
-
52: {
|
|
1433
|
-
name: "Mexico",
|
|
1434
|
-
dial_code: "+52",
|
|
1435
|
-
code: "MX",
|
|
1436
|
-
mask: "+52(__-__) ___-__-__"
|
|
1437
|
-
},
|
|
1438
|
-
53: {
|
|
1439
|
-
name: "Cuba",
|
|
1440
|
-
dial_code: "+53",
|
|
1441
|
-
code: "CU",
|
|
1442
|
-
mask: "+53(__) __-__-__"
|
|
1443
|
-
},
|
|
1444
|
-
54: {
|
|
1445
|
-
name: "Argentina",
|
|
1446
|
-
dial_code: "+54",
|
|
1447
|
-
code: "AR",
|
|
1448
|
-
mask: "+54(__-__) ___-__-__"
|
|
1449
|
-
},
|
|
1450
|
-
55: {
|
|
1451
|
-
name: "Brazil",
|
|
1452
|
-
dial_code: "+55",
|
|
1453
|
-
code: "BR",
|
|
1454
|
-
mask: "+55(___) ___-__-__"
|
|
1455
|
-
},
|
|
1456
|
-
56: {
|
|
1457
|
-
name: "Chile",
|
|
1458
|
-
dial_code: "+56",
|
|
1459
|
-
code: "CL",
|
|
1460
|
-
mask: "+56(___) __-__-__"
|
|
1461
|
-
},
|
|
1462
|
-
57: {
|
|
1463
|
-
name: "Colombia",
|
|
1464
|
-
dial_code: "+57",
|
|
1465
|
-
code: "CO",
|
|
1466
|
-
mask: "+57(___) ___-__-__"
|
|
1467
|
-
},
|
|
1468
|
-
58: {
|
|
1469
|
-
name: "Venezuela, Bolivarian Republic of Venezuela",
|
|
1470
|
-
dial_code: "+58",
|
|
1471
|
-
code: "VE",
|
|
1472
|
-
mask: "+58(___) ___-__-__"
|
|
1473
|
-
},
|
|
1474
|
-
60: {
|
|
1475
|
-
name: "Malaysia",
|
|
1476
|
-
dial_code: "+60",
|
|
1477
|
-
code: "MY",
|
|
1478
|
-
mask: "+60(___) __-__-__"
|
|
1479
|
-
},
|
|
1480
|
-
61: {
|
|
1481
|
-
name: "Cocos (Keeling) Islands",
|
|
1482
|
-
dial_code: "+61",
|
|
1483
|
-
code: "CC",
|
|
1484
|
-
mask: "+61(___) ___-__-__"
|
|
1485
|
-
},
|
|
1486
|
-
62: {
|
|
1487
|
-
name: "Indonesia",
|
|
1488
|
-
dial_code: "+62",
|
|
1489
|
-
code: "ID",
|
|
1490
|
-
mask: "+62(___) __-__-__"
|
|
1491
|
-
},
|
|
1492
|
-
63: {
|
|
1493
|
-
name: "Philippines",
|
|
1494
|
-
dial_code: "+63",
|
|
1495
|
-
code: "PH",
|
|
1496
|
-
mask: "+63(___) ___-__-__"
|
|
1497
|
-
},
|
|
1498
|
-
64: {
|
|
1499
|
-
name: "Pitcairn",
|
|
1500
|
-
dial_code: "+64",
|
|
1501
|
-
code: "PN",
|
|
1502
|
-
mask: "+64(___) __-__-__"
|
|
1503
|
-
},
|
|
1504
|
-
65: {
|
|
1505
|
-
name: "Singapore",
|
|
1506
|
-
dial_code: "+65",
|
|
1507
|
-
code: "SG",
|
|
1508
|
-
mask: "+65(__) __-__-__"
|
|
1509
|
-
},
|
|
1510
|
-
66: {
|
|
1511
|
-
name: "Thailand",
|
|
1512
|
-
dial_code: "+66",
|
|
1513
|
-
code: "TH",
|
|
1514
|
-
mask: "+66(___) __-__-__"
|
|
1515
|
-
},
|
|
1516
|
-
77: {
|
|
1517
|
-
name: "Kazakhstan",
|
|
1518
|
-
dial_code: "+77",
|
|
1519
|
-
code: "KZ",
|
|
1520
|
-
mask: "+77(__) ___-__-__"
|
|
1521
|
-
},
|
|
1522
|
-
81: {
|
|
1523
|
-
name: "Japan",
|
|
1524
|
-
dial_code: "+81",
|
|
1525
|
-
code: "JP",
|
|
1526
|
-
mask: "+81(___) ___-__-__"
|
|
1527
|
-
},
|
|
1528
|
-
82: {
|
|
1529
|
-
name: "Korea, Republic of South Korea",
|
|
1530
|
-
dial_code: "+82",
|
|
1531
|
-
code: "KR",
|
|
1532
|
-
mask: "+82(___) ___-__-__"
|
|
1533
|
-
},
|
|
1534
|
-
84: {
|
|
1535
|
-
name: "Vietnam",
|
|
1536
|
-
dial_code: "+84",
|
|
1537
|
-
code: "VN",
|
|
1538
|
-
mask: "+84(___) __-__-__"
|
|
1539
|
-
},
|
|
1540
|
-
86: {
|
|
1541
|
-
name: "China",
|
|
1542
|
-
dial_code: "+86",
|
|
1543
|
-
code: "CN",
|
|
1544
|
-
mask: "+86(__-__) ___-__-__"
|
|
1545
|
-
},
|
|
1546
|
-
90: {
|
|
1547
|
-
name: "Turkey",
|
|
1548
|
-
dial_code: "+90",
|
|
1549
|
-
code: "TR",
|
|
1550
|
-
mask: "+90(___) ___-__-__"
|
|
1551
|
-
},
|
|
1552
|
-
91: {
|
|
1553
|
-
name: "India",
|
|
1554
|
-
dial_code: "+91",
|
|
1555
|
-
code: "IN",
|
|
1556
|
-
mask: "+91(___) ___-__-__"
|
|
1557
|
-
},
|
|
1558
|
-
92: {
|
|
1559
|
-
name: "Pakistan",
|
|
1560
|
-
dial_code: "+92",
|
|
1561
|
-
code: "PK",
|
|
1562
|
-
mask: "+92(___) ___-__-__"
|
|
1563
|
-
},
|
|
1564
|
-
93: {
|
|
1565
|
-
name: "Afghanistan",
|
|
1566
|
-
dial_code: "+93",
|
|
1567
|
-
code: "AF",
|
|
1568
|
-
mask: "+93(__) ___-__-__"
|
|
1569
|
-
},
|
|
1570
|
-
94: {
|
|
1571
|
-
name: "Sri Lanka",
|
|
1572
|
-
dial_code: "+94",
|
|
1573
|
-
code: "LK",
|
|
1574
|
-
mask: "+94(___) __-__-__"
|
|
1575
|
-
},
|
|
1576
|
-
95: {
|
|
1577
|
-
name: "Myanmar",
|
|
1578
|
-
dial_code: "+95",
|
|
1579
|
-
code: "MM",
|
|
1580
|
-
mask: "+95(___) ___-__-__"
|
|
1581
|
-
},
|
|
1582
|
-
98: {
|
|
1583
|
-
name: "Iran, Islamic Republic of Persian Gulf",
|
|
1584
|
-
dial_code: "+98",
|
|
1585
|
-
code: "IR",
|
|
1586
|
-
mask: "+98(___) ___-__-__"
|
|
1587
|
-
},
|
|
1588
|
-
211: {
|
|
1589
|
-
name: "South Sudan",
|
|
1590
|
-
dial_code: "+211",
|
|
1591
|
-
code: "SS",
|
|
1592
|
-
mask: "+211(___) ___-__-__"
|
|
1593
|
-
},
|
|
1594
|
-
212: {
|
|
1595
|
-
name: "Morocco",
|
|
1596
|
-
dial_code: "+212",
|
|
1597
|
-
code: "MA",
|
|
1598
|
-
mask: "+212(___) __-__-__"
|
|
1599
|
-
},
|
|
1600
|
-
213: {
|
|
1601
|
-
name: "Algeria",
|
|
1602
|
-
dial_code: "+213",
|
|
1603
|
-
code: "DZ",
|
|
1604
|
-
mask: "+213(__) ___-__-__"
|
|
1605
|
-
},
|
|
1606
|
-
216: {
|
|
1607
|
-
name: "Tunisia",
|
|
1608
|
-
dial_code: "+216",
|
|
1609
|
-
code: "TN",
|
|
1610
|
-
mask: "+216(__) __-__-__"
|
|
1611
|
-
},
|
|
1612
|
-
218: {
|
|
1613
|
-
name: "Libyan Arab Jamahiriya",
|
|
1614
|
-
dial_code: "+218",
|
|
1615
|
-
code: "LY",
|
|
1616
|
-
mask: "+218(___) ___-__-__"
|
|
1617
|
-
},
|
|
1618
|
-
220: {
|
|
1619
|
-
name: "Gambia",
|
|
1620
|
-
dial_code: "+220",
|
|
1621
|
-
code: "GM",
|
|
1622
|
-
mask: "+220(___) __-__"
|
|
1623
|
-
},
|
|
1624
|
-
221: {
|
|
1625
|
-
name: "Senegal",
|
|
1626
|
-
dial_code: "+221",
|
|
1627
|
-
code: "SN",
|
|
1628
|
-
mask: "+221(___) __-__-__"
|
|
1629
|
-
},
|
|
1630
|
-
222: {
|
|
1631
|
-
name: "Mauritania",
|
|
1632
|
-
dial_code: "+222",
|
|
1633
|
-
code: "MR",
|
|
1634
|
-
mask: "+222(__) __-__-__"
|
|
1635
|
-
},
|
|
1636
|
-
223: {
|
|
1637
|
-
name: "Mali",
|
|
1638
|
-
dial_code: "+223",
|
|
1639
|
-
code: "ML",
|
|
1640
|
-
mask: "+223(__) __-__-__"
|
|
1641
|
-
},
|
|
1642
|
-
224: {
|
|
1643
|
-
name: "Guinea",
|
|
1644
|
-
dial_code: "+224",
|
|
1645
|
-
code: "GN",
|
|
1646
|
-
mask: "+224(__) __-__-__"
|
|
1647
|
-
},
|
|
1648
|
-
225: {
|
|
1649
|
-
name: "Cote d'Ivoire",
|
|
1650
|
-
dial_code: "+225",
|
|
1651
|
-
code: "CI",
|
|
1652
|
-
mask: "+225(__) __-__-__"
|
|
1653
|
-
},
|
|
1654
|
-
226: {
|
|
1655
|
-
name: "Burkina Faso",
|
|
1656
|
-
dial_code: "+226",
|
|
1657
|
-
code: "BF",
|
|
1658
|
-
mask: "+226(__) __-__-__"
|
|
1659
|
-
},
|
|
1660
|
-
227: {
|
|
1661
|
-
name: "Niger",
|
|
1662
|
-
dial_code: "+227",
|
|
1663
|
-
code: "NE",
|
|
1664
|
-
mask: "+227(__) __-__-__"
|
|
1665
|
-
},
|
|
1666
|
-
228: {
|
|
1667
|
-
name: "Togo",
|
|
1668
|
-
dial_code: "+228",
|
|
1669
|
-
code: "TG",
|
|
1670
|
-
mask: "+228(__) __-__-__"
|
|
1671
|
-
},
|
|
1672
|
-
229: {
|
|
1673
|
-
name: "Benin",
|
|
1674
|
-
dial_code: "+229",
|
|
1675
|
-
code: "BJ",
|
|
1676
|
-
mask: "+229(__) __-__-__"
|
|
1677
|
-
},
|
|
1678
|
-
230: {
|
|
1679
|
-
name: "Mauritius",
|
|
1680
|
-
dial_code: "+230",
|
|
1681
|
-
code: "MU",
|
|
1682
|
-
mask: "+230(___) __-__"
|
|
1683
|
-
},
|
|
1684
|
-
231: {
|
|
1685
|
-
name: "Liberia",
|
|
1686
|
-
dial_code: "+231",
|
|
1687
|
-
code: "LR",
|
|
1688
|
-
mask: "+231(___) __-__"
|
|
1689
|
-
},
|
|
1690
|
-
232: {
|
|
1691
|
-
name: "Sierra Leone",
|
|
1692
|
-
dial_code: "+232",
|
|
1693
|
-
code: "SL",
|
|
1694
|
-
mask: "+232(__) __-__-__"
|
|
1695
|
-
},
|
|
1696
|
-
233: {
|
|
1697
|
-
name: "Ghana",
|
|
1698
|
-
dial_code: "+233",
|
|
1699
|
-
code: "GH",
|
|
1700
|
-
mask: "+233(___) __-__-__"
|
|
1701
|
-
},
|
|
1702
|
-
234: {
|
|
1703
|
-
name: "Nigeria",
|
|
1704
|
-
dial_code: "+234",
|
|
1705
|
-
code: "NG",
|
|
1706
|
-
mask: "+234(___) ___-__-__"
|
|
1707
|
-
},
|
|
1708
|
-
235: {
|
|
1709
|
-
name: "Chad",
|
|
1710
|
-
dial_code: "+235",
|
|
1711
|
-
code: "TD",
|
|
1712
|
-
mask: "+235(__) __-__-__"
|
|
1713
|
-
},
|
|
1714
|
-
236: {
|
|
1715
|
-
name: "Central African Republic",
|
|
1716
|
-
dial_code: "+236",
|
|
1717
|
-
code: "CF",
|
|
1718
|
-
mask: "+236(__) __-__-__"
|
|
1719
|
-
},
|
|
1720
|
-
237: {
|
|
1721
|
-
name: "Cameroon",
|
|
1722
|
-
dial_code: "+237",
|
|
1723
|
-
code: "CM",
|
|
1724
|
-
mask: "+237(__) __-__-__"
|
|
1725
|
-
},
|
|
1726
|
-
238: {
|
|
1727
|
-
name: "Cape Verde",
|
|
1728
|
-
dial_code: "+238",
|
|
1729
|
-
code: "CV",
|
|
1730
|
-
mask: "+238(___) __-__"
|
|
1731
|
-
},
|
|
1732
|
-
239: {
|
|
1733
|
-
name: "Sao Tome and Principe",
|
|
1734
|
-
dial_code: "+239",
|
|
1735
|
-
code: "ST",
|
|
1736
|
-
mask: "+239(___) ___-__-__"
|
|
1737
|
-
},
|
|
1738
|
-
240: {
|
|
1739
|
-
name: "Equatorial Guinea",
|
|
1740
|
-
dial_code: "+240",
|
|
1741
|
-
code: "GQ",
|
|
1742
|
-
mask: "+240(___) __-__-__"
|
|
1743
|
-
},
|
|
1744
|
-
241: {
|
|
1745
|
-
name: "Gabon",
|
|
1746
|
-
dial_code: "+241",
|
|
1747
|
-
code: "GA",
|
|
1748
|
-
mask: "+241(__) __-__-__"
|
|
1749
|
-
},
|
|
1750
|
-
242: {
|
|
1751
|
-
name: "Congo",
|
|
1752
|
-
dial_code: "+242",
|
|
1753
|
-
code: "CG",
|
|
1754
|
-
mask: "+242(___) __-__-__"
|
|
1755
|
-
},
|
|
1756
|
-
243: {
|
|
1757
|
-
name: "Congo, The Democratic Republic of the Congo",
|
|
1758
|
-
dial_code: "+243",
|
|
1759
|
-
code: "CD",
|
|
1760
|
-
mask: "+243(___) ___-__-__"
|
|
1761
|
-
},
|
|
1762
|
-
244: {
|
|
1763
|
-
name: "Angola",
|
|
1764
|
-
dial_code: "+244",
|
|
1765
|
-
code: "AO",
|
|
1766
|
-
mask: "+244(__) ___-__-__"
|
|
1767
|
-
},
|
|
1768
|
-
245: {
|
|
1769
|
-
name: "Guinea-Bissau",
|
|
1770
|
-
dial_code: "+245",
|
|
1771
|
-
code: "GW",
|
|
1772
|
-
mask: "+245(___) __-__"
|
|
1773
|
-
},
|
|
1774
|
-
246: {
|
|
1775
|
-
name: "British Indian Ocean Territory",
|
|
1776
|
-
dial_code: "+246",
|
|
1777
|
-
code: "IO",
|
|
1778
|
-
mask: "+246(___) ___-__-__"
|
|
1779
|
-
},
|
|
1780
|
-
248: {
|
|
1781
|
-
name: "Seychelles",
|
|
1782
|
-
dial_code: "+248",
|
|
1783
|
-
code: "SC",
|
|
1784
|
-
mask: "+248(___) ___-__-__"
|
|
1785
|
-
},
|
|
1786
|
-
249: {
|
|
1787
|
-
name: "Sudan",
|
|
1788
|
-
dial_code: "+249",
|
|
1789
|
-
code: "SD",
|
|
1790
|
-
mask: "+249(___) __-__-__"
|
|
1791
|
-
},
|
|
1792
|
-
250: {
|
|
1793
|
-
name: "Rwanda",
|
|
1794
|
-
dial_code: "+250",
|
|
1795
|
-
code: "RW",
|
|
1796
|
-
mask: "+250(___) __-__-__"
|
|
1797
|
-
},
|
|
1798
|
-
251: {
|
|
1799
|
-
name: "Ethiopia",
|
|
1800
|
-
dial_code: "+251",
|
|
1801
|
-
code: "ET",
|
|
1802
|
-
mask: "+251(___) __-__-__"
|
|
1803
|
-
},
|
|
1804
|
-
252: {
|
|
1805
|
-
name: "Somalia",
|
|
1806
|
-
dial_code: "+252",
|
|
1807
|
-
code: "SO",
|
|
1808
|
-
mask: "+252(___) ___-__-__"
|
|
1809
|
-
},
|
|
1810
|
-
253: {
|
|
1811
|
-
name: "Djibouti",
|
|
1812
|
-
dial_code: "+253",
|
|
1813
|
-
code: "DJ",
|
|
1814
|
-
mask: "+253(___) ___-__-__"
|
|
1815
|
-
},
|
|
1816
|
-
254: {
|
|
1817
|
-
name: "Kenya",
|
|
1818
|
-
dial_code: "+254",
|
|
1819
|
-
code: "KE",
|
|
1820
|
-
mask: "+254(___) __-__-__"
|
|
1821
|
-
},
|
|
1822
|
-
255: {
|
|
1823
|
-
name: "Tanzania, United Republic of Tanzania",
|
|
1824
|
-
dial_code: "+255",
|
|
1825
|
-
code: "TZ",
|
|
1826
|
-
mask: "+255(___) __-__-__"
|
|
1827
|
-
},
|
|
1828
|
-
256: {
|
|
1829
|
-
name: "Uganda",
|
|
1830
|
-
dial_code: "+256",
|
|
1831
|
-
code: "UG",
|
|
1832
|
-
mask: "+256(___) __-__-__"
|
|
1833
|
-
},
|
|
1834
|
-
257: {
|
|
1835
|
-
name: "Burundi",
|
|
1836
|
-
dial_code: "+257",
|
|
1837
|
-
code: "BI",
|
|
1838
|
-
mask: "+257(__) __-__-__"
|
|
1839
|
-
},
|
|
1840
|
-
258: {
|
|
1841
|
-
name: "Mozambique",
|
|
1842
|
-
dial_code: "+258",
|
|
1843
|
-
code: "MZ",
|
|
1844
|
-
mask: "+258(___) __-__-__"
|
|
1845
|
-
},
|
|
1846
|
-
260: {
|
|
1847
|
-
name: "Zambia",
|
|
1848
|
-
dial_code: "+260",
|
|
1849
|
-
code: "ZM",
|
|
1850
|
-
mask: "+260(___) __-__-__"
|
|
1851
|
-
},
|
|
1852
|
-
261: {
|
|
1853
|
-
name: "Madagascar",
|
|
1854
|
-
dial_code: "+261",
|
|
1855
|
-
code: "MG",
|
|
1856
|
-
mask: "+261(___) __-__-__"
|
|
1857
|
-
},
|
|
1858
|
-
262: {
|
|
1859
|
-
name: "Reunion",
|
|
1860
|
-
dial_code: "+262",
|
|
1861
|
-
code: "RE",
|
|
1862
|
-
mask: "+262(___) __-__-__"
|
|
1863
|
-
},
|
|
1864
|
-
263: {
|
|
1865
|
-
name: "Zimbabwe",
|
|
1866
|
-
dial_code: "+263",
|
|
1867
|
-
code: "ZW",
|
|
1868
|
-
mask: "+263(___) __-__-__"
|
|
1869
|
-
},
|
|
1870
|
-
264: {
|
|
1871
|
-
name: "Namibia",
|
|
1872
|
-
dial_code: "+264",
|
|
1873
|
-
code: "NA",
|
|
1874
|
-
mask: "+264(___) __-__-__"
|
|
1875
|
-
},
|
|
1876
|
-
265: {
|
|
1877
|
-
name: "Malawi",
|
|
1878
|
-
dial_code: "+265",
|
|
1879
|
-
code: "MW",
|
|
1880
|
-
mask: "+265(___) __-__-__"
|
|
1881
|
-
},
|
|
1882
|
-
266: {
|
|
1883
|
-
name: "Lesotho",
|
|
1884
|
-
dial_code: "+266",
|
|
1885
|
-
code: "LS",
|
|
1886
|
-
mask: "+266(__) __-__-__"
|
|
1887
|
-
},
|
|
1888
|
-
267: {
|
|
1889
|
-
name: "Botswana",
|
|
1890
|
-
dial_code: "+267",
|
|
1891
|
-
code: "BW",
|
|
1892
|
-
mask: "+267(__) __-__-__"
|
|
1893
|
-
},
|
|
1894
|
-
268: {
|
|
1895
|
-
name: "Swaziland",
|
|
1896
|
-
dial_code: "+268",
|
|
1897
|
-
code: "SZ",
|
|
1898
|
-
mask: "+268(___) ___-__-__"
|
|
1899
|
-
},
|
|
1900
|
-
269: {
|
|
1901
|
-
name: "Comoros",
|
|
1902
|
-
dial_code: "+269",
|
|
1903
|
-
code: "KM",
|
|
1904
|
-
mask: "+269(___) __-__"
|
|
1905
|
-
},
|
|
1906
|
-
290: {
|
|
1907
|
-
name: "Saint Helena, Ascension and Tristan Da Cunha",
|
|
1908
|
-
dial_code: "+290",
|
|
1909
|
-
code: "SH",
|
|
1910
|
-
mask: "+290(___) ___-__-__"
|
|
1911
|
-
},
|
|
1912
|
-
291: {
|
|
1913
|
-
name: "Eritrea",
|
|
1914
|
-
dial_code: "+291",
|
|
1915
|
-
code: "ER",
|
|
1916
|
-
mask: "+291(___) ___-__-__"
|
|
1917
|
-
},
|
|
1918
|
-
297: {
|
|
1919
|
-
name: "Aruba",
|
|
1920
|
-
dial_code: "+297",
|
|
1921
|
-
code: "AW",
|
|
1922
|
-
mask: "+297(_) __-__-__"
|
|
1923
|
-
},
|
|
1924
|
-
298: {
|
|
1925
|
-
name: "Faroe Islands",
|
|
1926
|
-
dial_code: "+298",
|
|
1927
|
-
code: "FO",
|
|
1928
|
-
mask: "+298(__) __-__"
|
|
1929
|
-
},
|
|
1930
|
-
299: {
|
|
1931
|
-
name: "Greenland",
|
|
1932
|
-
dial_code: "+299",
|
|
1933
|
-
code: "GL",
|
|
1934
|
-
mask: "+299(__) __-__"
|
|
1935
|
-
},
|
|
1936
|
-
345: {
|
|
1937
|
-
name: "Cayman Islands",
|
|
1938
|
-
dial_code: "+ 345",
|
|
1939
|
-
code: "KY",
|
|
1940
|
-
mask: "+345(___) ___-__-__"
|
|
1941
|
-
},
|
|
1942
|
-
350: {
|
|
1943
|
-
name: "Gibraltar",
|
|
1944
|
-
dial_code: "+350",
|
|
1945
|
-
code: "GI",
|
|
1946
|
-
mask: "+350(__) __-__-__"
|
|
1947
|
-
},
|
|
1948
|
-
351: {
|
|
1949
|
-
name: "Portugal",
|
|
1950
|
-
dial_code: "+351",
|
|
1951
|
-
code: "PT",
|
|
1952
|
-
mask: "+351(___) __-__-__"
|
|
1953
|
-
},
|
|
1954
|
-
352: {
|
|
1955
|
-
name: "Luxembourg",
|
|
1956
|
-
dial_code: "+352",
|
|
1957
|
-
code: "LU",
|
|
1958
|
-
mask: "+352(___) __-__-__"
|
|
1959
|
-
},
|
|
1960
|
-
353: {
|
|
1961
|
-
name: "Ireland",
|
|
1962
|
-
dial_code: "+353",
|
|
1963
|
-
code: "IE",
|
|
1964
|
-
mask: "+353(___) __-__-__"
|
|
1965
|
-
},
|
|
1966
|
-
354: {
|
|
1967
|
-
name: "Iceland",
|
|
1968
|
-
dial_code: "+354",
|
|
1969
|
-
code: "IS",
|
|
1970
|
-
mask: "+354(___) __-__"
|
|
1971
|
-
},
|
|
1972
|
-
355: {
|
|
1973
|
-
name: "Albania",
|
|
1974
|
-
dial_code: "+355",
|
|
1975
|
-
code: "AL",
|
|
1976
|
-
mask: "+355(__) ___-__-__"
|
|
1977
|
-
},
|
|
1978
|
-
356: {
|
|
1979
|
-
name: "Malta",
|
|
1980
|
-
dial_code: "+356",
|
|
1981
|
-
code: "MT",
|
|
1982
|
-
mask: "+356(__) __-__-__"
|
|
1983
|
-
},
|
|
1984
|
-
357: {
|
|
1985
|
-
name: "Cyprus",
|
|
1986
|
-
dial_code: "+357",
|
|
1987
|
-
code: "CY",
|
|
1988
|
-
mask: "+357(__) __-__-__"
|
|
1989
|
-
},
|
|
1990
|
-
358: {
|
|
1991
|
-
name: "Finland",
|
|
1992
|
-
dial_code: "+358",
|
|
1993
|
-
code: "FI",
|
|
1994
|
-
mask: "+358(___) __-__-__"
|
|
1995
|
-
},
|
|
1996
|
-
359: {
|
|
1997
|
-
name: "Bulgaria",
|
|
1998
|
-
dial_code: "+359",
|
|
1999
|
-
code: "BG",
|
|
2000
|
-
mask: "+359(___) __-__-__"
|
|
2001
|
-
},
|
|
2002
|
-
370: {
|
|
2003
|
-
name: "Lithuania",
|
|
2004
|
-
dial_code: "+370",
|
|
2005
|
-
code: "LT",
|
|
2006
|
-
mask: "+370(_) ___-__-__"
|
|
2007
|
-
},
|
|
2008
|
-
371: {
|
|
2009
|
-
name: "Latvia",
|
|
2010
|
-
dial_code: "+371",
|
|
2011
|
-
code: "LV",
|
|
2012
|
-
mask: "+371(__) __-__-__"
|
|
2013
|
-
},
|
|
2014
|
-
372: {
|
|
2015
|
-
name: "Estonia",
|
|
2016
|
-
dial_code: "+372",
|
|
2017
|
-
code: "EE",
|
|
2018
|
-
mask: "+372(__) __-__-__"
|
|
2019
|
-
},
|
|
2020
|
-
373: {
|
|
2021
|
-
name: "Moldova",
|
|
2022
|
-
dial_code: "+373",
|
|
2023
|
-
code: "MD",
|
|
2024
|
-
mask: "+373(__) __-__-__"
|
|
2025
|
-
},
|
|
2026
|
-
374: {
|
|
2027
|
-
name: "Armenia",
|
|
2028
|
-
dial_code: "+374",
|
|
2029
|
-
code: "AM",
|
|
2030
|
-
mask: "+374(_) ___-__-__"
|
|
2031
|
-
},
|
|
2032
|
-
375: {
|
|
2033
|
-
name: "Belarus",
|
|
2034
|
-
dial_code: "+375",
|
|
2035
|
-
code: "BY",
|
|
2036
|
-
mask: "+375(__) ___-__-__"
|
|
2037
|
-
},
|
|
2038
|
-
376: {
|
|
2039
|
-
name: "Andorra",
|
|
2040
|
-
dial_code: "+376",
|
|
2041
|
-
code: "AD",
|
|
2042
|
-
mask: "+376(_) _-__-__"
|
|
2043
|
-
},
|
|
2044
|
-
377: {
|
|
2045
|
-
name: "Monaco",
|
|
2046
|
-
dial_code: "+377",
|
|
2047
|
-
code: "MC",
|
|
2048
|
-
mask: "+377(___) __-__-__"
|
|
2049
|
-
},
|
|
2050
|
-
378: {
|
|
2051
|
-
name: "San Marino",
|
|
2052
|
-
dial_code: "+378",
|
|
2053
|
-
code: "SM",
|
|
2054
|
-
mask: "+378(__) __-__-__"
|
|
2055
|
-
},
|
|
2056
|
-
379: {
|
|
2057
|
-
name: "Holy See (Vatican City State)",
|
|
2058
|
-
dial_code: "+379",
|
|
2059
|
-
code: "VA",
|
|
2060
|
-
mask: "+379(___) ___-__-__"
|
|
2061
|
-
},
|
|
2062
|
-
380: {
|
|
2063
|
-
name: "Ukraine",
|
|
2064
|
-
dial_code: "+380",
|
|
2065
|
-
code: "UA",
|
|
2066
|
-
mask: "+380(__) ___-__-__"
|
|
2067
|
-
},
|
|
2068
|
-
381: {
|
|
2069
|
-
name: "Serbia",
|
|
2070
|
-
dial_code: "+381",
|
|
2071
|
-
code: "RS",
|
|
2072
|
-
mask: "+381(__) __-__-__"
|
|
2073
|
-
},
|
|
2074
|
-
382: {
|
|
2075
|
-
name: "Montenegro",
|
|
2076
|
-
dial_code: "+382",
|
|
2077
|
-
code: "ME",
|
|
2078
|
-
mask: "+382(___) ___-__-__"
|
|
2079
|
-
},
|
|
2080
|
-
383: {
|
|
2081
|
-
name: "Kosovo",
|
|
2082
|
-
dial_code: "+383",
|
|
2083
|
-
code: "XK",
|
|
2084
|
-
mask: "+383(___) __-__"
|
|
2085
|
-
},
|
|
2086
|
-
385: {
|
|
2087
|
-
name: "Croatia",
|
|
2088
|
-
dial_code: "+385",
|
|
2089
|
-
code: "HR",
|
|
2090
|
-
mask: "+385(__) __-__-__"
|
|
2091
|
-
},
|
|
2092
|
-
386: {
|
|
2093
|
-
name: "Slovenia",
|
|
2094
|
-
dial_code: "+386",
|
|
2095
|
-
code: "SI",
|
|
2096
|
-
mask: "+386(__) __-__-__"
|
|
2097
|
-
},
|
|
2098
|
-
387: {
|
|
2099
|
-
name: "Bosnia and Herzegovina",
|
|
2100
|
-
dial_code: "+387",
|
|
2101
|
-
code: "BA",
|
|
2102
|
-
mask: "+387(__) __-__-__"
|
|
2103
|
-
},
|
|
2104
|
-
389: {
|
|
2105
|
-
name: "Macedonia",
|
|
2106
|
-
dial_code: "+389",
|
|
2107
|
-
code: "MK",
|
|
2108
|
-
mask: "+389(__) __-__-__"
|
|
2109
|
-
},
|
|
2110
|
-
420: {
|
|
2111
|
-
name: "Czech Republic",
|
|
2112
|
-
dial_code: "+420",
|
|
2113
|
-
code: "CZ",
|
|
2114
|
-
mask: "+420(___) __-__-__"
|
|
2115
|
-
},
|
|
2116
|
-
421: {
|
|
2117
|
-
name: "Slovakia",
|
|
2118
|
-
dial_code: "+421",
|
|
2119
|
-
code: "SK",
|
|
2120
|
-
mask: "+421(___) __-__-__"
|
|
2121
|
-
},
|
|
2122
|
-
423: {
|
|
2123
|
-
name: "Liechtenstein",
|
|
2124
|
-
dial_code: "+423",
|
|
2125
|
-
code: "LI",
|
|
2126
|
-
mask: "+423(___) __-__-__"
|
|
2127
|
-
},
|
|
2128
|
-
500: {
|
|
2129
|
-
name: "South Georgia and the South Sandwich Islands",
|
|
2130
|
-
dial_code: "+500",
|
|
2131
|
-
code: "GS",
|
|
2132
|
-
mask: "+500(___) ___-__-__"
|
|
2133
|
-
},
|
|
2134
|
-
501: {
|
|
2135
|
-
name: "Belize",
|
|
2136
|
-
dial_code: "+501",
|
|
2137
|
-
code: "BZ",
|
|
2138
|
-
mask: "+501(___) __-__"
|
|
2139
|
-
},
|
|
2140
|
-
502: {
|
|
2141
|
-
name: "Guatemala",
|
|
2142
|
-
dial_code: "+502",
|
|
2143
|
-
code: "GT",
|
|
2144
|
-
mask: "+502(__) __-__-__"
|
|
2145
|
-
},
|
|
2146
|
-
503: {
|
|
2147
|
-
name: "El Salvador",
|
|
2148
|
-
dial_code: "+503",
|
|
2149
|
-
code: "SV",
|
|
2150
|
-
mask: "+503(__) __-__-__"
|
|
2151
|
-
},
|
|
2152
|
-
504: {
|
|
2153
|
-
name: "Honduras",
|
|
2154
|
-
dial_code: "+504",
|
|
2155
|
-
code: "HN",
|
|
2156
|
-
mask: "+504(__) __-__-__"
|
|
2157
|
-
},
|
|
2158
|
-
505: {
|
|
2159
|
-
name: "Nicaragua",
|
|
2160
|
-
dial_code: "+505",
|
|
2161
|
-
code: "NI",
|
|
2162
|
-
mask: "+505(__) __-__-__"
|
|
2163
|
-
},
|
|
2164
|
-
506: {
|
|
2165
|
-
name: "Costa Rica",
|
|
2166
|
-
dial_code: "+506",
|
|
2167
|
-
code: "CR",
|
|
2168
|
-
mask: "+506(__) __-__-__"
|
|
2169
|
-
},
|
|
2170
|
-
507: {
|
|
2171
|
-
name: "Panama",
|
|
2172
|
-
dial_code: "+507",
|
|
2173
|
-
code: "PA",
|
|
2174
|
-
mask: "+507(__) __-__-__"
|
|
2175
|
-
},
|
|
2176
|
-
508: {
|
|
2177
|
-
name: "Saint Pierre and Miquelon",
|
|
2178
|
-
dial_code: "+508",
|
|
2179
|
-
code: "PM",
|
|
2180
|
-
mask: "+508(___) ___-__-__"
|
|
2181
|
-
},
|
|
2182
|
-
509: {
|
|
2183
|
-
name: "Haiti",
|
|
2184
|
-
dial_code: "+509",
|
|
2185
|
-
code: "HT",
|
|
2186
|
-
mask: "+509(__) __-__-__"
|
|
2187
|
-
},
|
|
2188
|
-
590: {
|
|
2189
|
-
name: "Saint Martin",
|
|
2190
|
-
dial_code: "+590",
|
|
2191
|
-
code: "MF",
|
|
2192
|
-
mask: "+590(___) __-__-__"
|
|
2193
|
-
},
|
|
2194
|
-
591: {
|
|
2195
|
-
name: "Bolivia, Plurinational State of bolivia",
|
|
2196
|
-
dial_code: "+591",
|
|
2197
|
-
code: "BO",
|
|
2198
|
-
mask: "+591(__) __-__-__"
|
|
2199
|
-
},
|
|
2200
|
-
592: {
|
|
2201
|
-
name: "Guyana",
|
|
2202
|
-
dial_code: "+592",
|
|
2203
|
-
code: "GY",
|
|
2204
|
-
mask: "+592(___) ___-__-__"
|
|
2205
|
-
},
|
|
2206
|
-
593: {
|
|
2207
|
-
name: "Ecuador",
|
|
2208
|
-
dial_code: "+593",
|
|
2209
|
-
code: "EC",
|
|
2210
|
-
mask: "+593(___) __-__-__"
|
|
2211
|
-
},
|
|
2212
|
-
594: {
|
|
2213
|
-
name: "French Guiana",
|
|
2214
|
-
dial_code: "+594",
|
|
2215
|
-
code: "GF",
|
|
2216
|
-
mask: "+594(___) __-__-__"
|
|
2217
|
-
},
|
|
2218
|
-
595: {
|
|
2219
|
-
name: "Paraguay",
|
|
2220
|
-
dial_code: "+595",
|
|
2221
|
-
code: "PY",
|
|
2222
|
-
mask: "+595(___) __-__-__"
|
|
2223
|
-
},
|
|
2224
|
-
596: {
|
|
2225
|
-
name: "Martinique",
|
|
2226
|
-
dial_code: "+596",
|
|
2227
|
-
code: "MQ",
|
|
2228
|
-
mask: "+596(___) __-__-__"
|
|
2229
|
-
},
|
|
2230
|
-
597: {
|
|
2231
|
-
name: "Suriname",
|
|
2232
|
-
dial_code: "+597",
|
|
2233
|
-
code: "SR",
|
|
2234
|
-
mask: "+597(___) __-__"
|
|
2235
|
-
},
|
|
2236
|
-
598: {
|
|
2237
|
-
name: "Uruguay",
|
|
2238
|
-
dial_code: "+598",
|
|
2239
|
-
code: "UY",
|
|
2240
|
-
mask: "+598(__) __-__-__"
|
|
2241
|
-
},
|
|
2242
|
-
599: {
|
|
2243
|
-
name: "Netherlands Antilles",
|
|
2244
|
-
dial_code: "+599",
|
|
2245
|
-
code: "AN",
|
|
2246
|
-
mask: "+599(__) __-__-__"
|
|
2247
|
-
},
|
|
2248
|
-
670: {
|
|
2249
|
-
name: "Timor-Leste",
|
|
2250
|
-
dial_code: "+670",
|
|
2251
|
-
code: "TL",
|
|
2252
|
-
mask: "+670(__) __-__-__"
|
|
2253
|
-
},
|
|
2254
|
-
672: {
|
|
2255
|
-
name: "Norfolk Island",
|
|
2256
|
-
dial_code: "+672",
|
|
2257
|
-
code: "NF",
|
|
2258
|
-
mask: "+672(___) ___-__-__"
|
|
2259
|
-
},
|
|
2260
|
-
673: {
|
|
2261
|
-
name: "Brunei Darussalam",
|
|
2262
|
-
dial_code: "+673",
|
|
2263
|
-
code: "BN",
|
|
2264
|
-
mask: "+673(___) __-__"
|
|
2265
|
-
},
|
|
2266
|
-
674: {
|
|
2267
|
-
name: "Nauru",
|
|
2268
|
-
dial_code: "+674",
|
|
2269
|
-
code: "NR",
|
|
2270
|
-
mask: "+674(___) __-__"
|
|
2271
|
-
},
|
|
2272
|
-
675: {
|
|
2273
|
-
name: "Papua New Guinea",
|
|
2274
|
-
dial_code: "+675",
|
|
2275
|
-
code: "PG",
|
|
2276
|
-
mask: "+675(___) __-__"
|
|
2277
|
-
},
|
|
2278
|
-
676: {
|
|
2279
|
-
name: "Tonga",
|
|
2280
|
-
dial_code: "+676",
|
|
2281
|
-
code: "TO",
|
|
2282
|
-
mask: "+676(___) __-__"
|
|
2283
|
-
},
|
|
2284
|
-
677: {
|
|
2285
|
-
name: "Solomon Islands",
|
|
2286
|
-
dial_code: "+677",
|
|
2287
|
-
code: "SB",
|
|
2288
|
-
mask: "+677(___) __-__"
|
|
2289
|
-
},
|
|
2290
|
-
678: {
|
|
2291
|
-
name: "Vanuatu",
|
|
2292
|
-
dial_code: "+678",
|
|
2293
|
-
code: "VU",
|
|
2294
|
-
mask: "+678(___) __-__"
|
|
2295
|
-
},
|
|
2296
|
-
679: {
|
|
2297
|
-
name: "Fiji",
|
|
2298
|
-
dial_code: "+679",
|
|
2299
|
-
code: "FJ",
|
|
2300
|
-
mask: "+679(___) __-__"
|
|
2301
|
-
},
|
|
2302
|
-
680: {
|
|
2303
|
-
name: "Palau",
|
|
2304
|
-
dial_code: "+680",
|
|
2305
|
-
code: "PW",
|
|
2306
|
-
mask: "+680(___) ___-__-__"
|
|
2307
|
-
},
|
|
2308
|
-
681: {
|
|
2309
|
-
name: "Wallis and Futuna",
|
|
2310
|
-
dial_code: "+681",
|
|
2311
|
-
code: "WF",
|
|
2312
|
-
mask: "+681(___) ___-__-__"
|
|
2313
|
-
},
|
|
2314
|
-
682: {
|
|
2315
|
-
name: "Cook Islands",
|
|
2316
|
-
dial_code: "+682",
|
|
2317
|
-
code: "CK",
|
|
2318
|
-
mask: "+682(_) __-__"
|
|
2319
|
-
},
|
|
2320
|
-
683: {
|
|
2321
|
-
name: "Niue",
|
|
2322
|
-
dial_code: "+683",
|
|
2323
|
-
code: "NU",
|
|
2324
|
-
mask: "+683(___) ___-__-__"
|
|
2325
|
-
},
|
|
2326
|
-
685: {
|
|
2327
|
-
name: "Samoa",
|
|
2328
|
-
dial_code: "+685",
|
|
2329
|
-
code: "WS",
|
|
2330
|
-
mask: "+685(__) __-__"
|
|
2331
|
-
},
|
|
2332
|
-
686: {
|
|
2333
|
-
name: "Kiribati",
|
|
2334
|
-
dial_code: "+686",
|
|
2335
|
-
code: "KI",
|
|
2336
|
-
mask: "+686(___) ___-__-__"
|
|
2337
|
-
},
|
|
2338
|
-
687: {
|
|
2339
|
-
name: "New Caledonia",
|
|
2340
|
-
dial_code: "+687",
|
|
2341
|
-
code: "NC",
|
|
2342
|
-
mask: "+687(__) __-__"
|
|
2343
|
-
},
|
|
2344
|
-
688: {
|
|
2345
|
-
name: "Tuvalu",
|
|
2346
|
-
dial_code: "+688",
|
|
2347
|
-
code: "TV",
|
|
2348
|
-
mask: "+688(___) ___-__-__"
|
|
2349
|
-
},
|
|
2350
|
-
689: {
|
|
2351
|
-
name: "French Polynesia",
|
|
2352
|
-
dial_code: "+689",
|
|
2353
|
-
code: "PF",
|
|
2354
|
-
mask: "+689(__) __-__"
|
|
2355
|
-
},
|
|
2356
|
-
690: {
|
|
2357
|
-
name: "Tokelau",
|
|
2358
|
-
dial_code: "+690",
|
|
2359
|
-
code: "TK",
|
|
2360
|
-
mask: "+690(___) ___-__-__"
|
|
2361
|
-
},
|
|
2362
|
-
691: {
|
|
2363
|
-
name: "Micronesia, Federated States of Micronesia",
|
|
2364
|
-
dial_code: "+691",
|
|
2365
|
-
code: "FM",
|
|
2366
|
-
mask: "+691(___) ___-__-__"
|
|
2367
|
-
},
|
|
2368
|
-
692: {
|
|
2369
|
-
name: "Marshall Islands",
|
|
2370
|
-
dial_code: "+692",
|
|
2371
|
-
code: "MH",
|
|
2372
|
-
mask: "+692(___) ___-__-__"
|
|
2373
|
-
},
|
|
2374
|
-
850: {
|
|
2375
|
-
name: "Korea, Democratic People's Republic of Korea",
|
|
2376
|
-
dial_code: "+850",
|
|
2377
|
-
code: "KP",
|
|
2378
|
-
mask: "+850(___) ___-__-__"
|
|
2379
|
-
},
|
|
2380
|
-
852: {
|
|
2381
|
-
name: "Hong Kong",
|
|
2382
|
-
dial_code: "+852",
|
|
2383
|
-
code: "HK",
|
|
2384
|
-
mask: "+852(__) __-__-__"
|
|
2385
|
-
},
|
|
2386
|
-
853: {
|
|
2387
|
-
name: "Macao",
|
|
2388
|
-
dial_code: "+853",
|
|
2389
|
-
code: "MO",
|
|
2390
|
-
mask: "+853(__) __-__-__"
|
|
2391
|
-
},
|
|
2392
|
-
855: {
|
|
2393
|
-
name: "Cambodia",
|
|
2394
|
-
dial_code: "+855",
|
|
2395
|
-
code: "KH",
|
|
2396
|
-
mask: "+855(__) __-__-__"
|
|
2397
|
-
},
|
|
2398
|
-
856: {
|
|
2399
|
-
name: "Laos",
|
|
2400
|
-
dial_code: "+856",
|
|
2401
|
-
code: "LA",
|
|
2402
|
-
mask: "+856(___) ___-__-__"
|
|
2403
|
-
},
|
|
2404
|
-
880: {
|
|
2405
|
-
name: "Bangladesh",
|
|
2406
|
-
dial_code: "+880",
|
|
2407
|
-
code: "BD",
|
|
2408
|
-
mask: "+880(___) ___-__-__"
|
|
2409
|
-
},
|
|
2410
|
-
886: {
|
|
2411
|
-
name: "Taiwan",
|
|
2412
|
-
dial_code: "+886",
|
|
2413
|
-
code: "TW",
|
|
2414
|
-
mask: "+886(___) __-__-__"
|
|
2415
|
-
},
|
|
2416
|
-
960: {
|
|
2417
|
-
name: "Maldives",
|
|
2418
|
-
dial_code: "+960",
|
|
2419
|
-
code: "MV",
|
|
2420
|
-
mask: "+960(___) __-__"
|
|
2421
|
-
},
|
|
2422
|
-
961: {
|
|
2423
|
-
name: "Lebanon",
|
|
2424
|
-
dial_code: "+961",
|
|
2425
|
-
code: "LB",
|
|
2426
|
-
mask: "+961(__) __-__-__"
|
|
2427
|
-
},
|
|
2428
|
-
962: {
|
|
2429
|
-
name: "Jordan",
|
|
2430
|
-
dial_code: "+962",
|
|
2431
|
-
code: "JO",
|
|
2432
|
-
mask: "+962(___) __-__-__"
|
|
2433
|
-
},
|
|
2434
|
-
963: {
|
|
2435
|
-
name: "Syrian Arab Republic",
|
|
2436
|
-
dial_code: "+963",
|
|
2437
|
-
code: "SY",
|
|
2438
|
-
mask: "+963(___) __-__-__"
|
|
2439
|
-
},
|
|
2440
|
-
964: {
|
|
2441
|
-
name: "Iraq",
|
|
2442
|
-
dial_code: "+964",
|
|
2443
|
-
code: "IQ",
|
|
2444
|
-
mask: "+964(___) ___-__-__"
|
|
2445
|
-
},
|
|
2446
|
-
965: {
|
|
2447
|
-
name: "Kuwait",
|
|
2448
|
-
dial_code: "+965",
|
|
2449
|
-
code: "KW",
|
|
2450
|
-
mask: "+965(__) __-__-__"
|
|
2451
|
-
},
|
|
2452
|
-
966: {
|
|
2453
|
-
name: "Saudi Arabia",
|
|
2454
|
-
dial_code: "+966",
|
|
2455
|
-
code: "SA",
|
|
2456
|
-
mask: "+966(___) __-__-__"
|
|
2457
|
-
},
|
|
2458
|
-
967: {
|
|
2459
|
-
name: "Yemen",
|
|
2460
|
-
dial_code: "+967",
|
|
2461
|
-
code: "YE",
|
|
2462
|
-
mask: "+967(___) __-__-__"
|
|
2463
|
-
},
|
|
2464
|
-
968: {
|
|
2465
|
-
name: "Oman",
|
|
2466
|
-
dial_code: "+968",
|
|
2467
|
-
code: "OM",
|
|
2468
|
-
mask: "+968(__) __-__-__"
|
|
2469
|
-
},
|
|
2470
|
-
970: {
|
|
2471
|
-
name: "Palestinian Territory, Occupied",
|
|
2472
|
-
dial_code: "+970",
|
|
2473
|
-
code: "PS",
|
|
2474
|
-
mask: "+970(___) __-__-__"
|
|
2475
|
-
},
|
|
2476
|
-
971: {
|
|
2477
|
-
name: "United Arab Emirates",
|
|
2478
|
-
dial_code: "+971",
|
|
2479
|
-
code: "AE",
|
|
2480
|
-
mask: "+971(___) __-__-__"
|
|
2481
|
-
},
|
|
2482
|
-
972: {
|
|
2483
|
-
name: "Israel",
|
|
2484
|
-
dial_code: "+972",
|
|
2485
|
-
code: "IL",
|
|
2486
|
-
mask: "+972(___) __-__-__"
|
|
2487
|
-
},
|
|
2488
|
-
973: {
|
|
2489
|
-
name: "Bahrain",
|
|
2490
|
-
dial_code: "+973",
|
|
2491
|
-
code: "BH",
|
|
2492
|
-
mask: "+973(__) __-__-__"
|
|
2493
|
-
},
|
|
2494
|
-
974: {
|
|
2495
|
-
name: "Qatar",
|
|
2496
|
-
dial_code: "+974",
|
|
2497
|
-
code: "QA",
|
|
2498
|
-
mask: "+974(__) __-__-__"
|
|
2499
|
-
},
|
|
2500
|
-
975: {
|
|
2501
|
-
name: "Bhutan",
|
|
2502
|
-
dial_code: "+975",
|
|
2503
|
-
code: "BT",
|
|
2504
|
-
mask: "+975(__) __-__-__"
|
|
2505
|
-
},
|
|
2506
|
-
976: {
|
|
2507
|
-
name: "Mongolia",
|
|
2508
|
-
dial_code: "+976",
|
|
2509
|
-
code: "MN",
|
|
2510
|
-
mask: "+976(__) __-__-__"
|
|
2511
|
-
},
|
|
2512
|
-
977: {
|
|
2513
|
-
name: "Nepal",
|
|
2514
|
-
dial_code: "+977",
|
|
2515
|
-
code: "NP",
|
|
2516
|
-
mask: "+977(___) ___-__-__"
|
|
2517
|
-
},
|
|
2518
|
-
992: {
|
|
2519
|
-
name: "Tajikistan",
|
|
2520
|
-
dial_code: "+992",
|
|
2521
|
-
code: "TJ",
|
|
2522
|
-
mask: "+992(___) __-__-__"
|
|
2523
|
-
},
|
|
2524
|
-
993: {
|
|
2525
|
-
name: "Turkmenistan",
|
|
2526
|
-
dial_code: "+993",
|
|
2527
|
-
code: "TM",
|
|
2528
|
-
mask: "+993(__) __-__-__"
|
|
2529
|
-
},
|
|
2530
|
-
994: {
|
|
2531
|
-
name: "Azerbaijan",
|
|
2532
|
-
dial_code: "+994",
|
|
2533
|
-
code: "AZ",
|
|
2534
|
-
mask: "+994(__) ___-__-__"
|
|
2535
|
-
},
|
|
2536
|
-
995: {
|
|
2537
|
-
name: "Georgia",
|
|
2538
|
-
dial_code: "+995",
|
|
2539
|
-
code: "GE",
|
|
2540
|
-
mask: "+995(___) __-__-__"
|
|
2541
|
-
},
|
|
2542
|
-
996: {
|
|
2543
|
-
name: "Kyrgyzstan",
|
|
2544
|
-
dial_code: "+996",
|
|
2545
|
-
code: "KG",
|
|
2546
|
-
mask: "+996(___) __-__-__"
|
|
2547
|
-
},
|
|
2548
|
-
998: {
|
|
2549
|
-
name: "Uzbekistan",
|
|
2550
|
-
dial_code: "+998",
|
|
2551
|
-
code: "UZ",
|
|
2552
|
-
mask: "+998(___) __-__-__"
|
|
2553
|
-
},
|
|
2554
|
-
1242: {
|
|
2555
|
-
name: "Bahamas",
|
|
2556
|
-
dial_code: "+1242",
|
|
2557
|
-
code: "BS",
|
|
2558
|
-
mask: "+1242(___) __-__"
|
|
2559
|
-
},
|
|
2560
|
-
1246: {
|
|
2561
|
-
name: "Barbados",
|
|
2562
|
-
dial_code: "+1246",
|
|
2563
|
-
code: "BB",
|
|
2564
|
-
mask: "+1246(___) __-__"
|
|
2565
|
-
},
|
|
2566
|
-
1264: {
|
|
2567
|
-
name: "Anguilla",
|
|
2568
|
-
dial_code: "+1264",
|
|
2569
|
-
code: "AI",
|
|
2570
|
-
mask: "+1264(___) ___-__-__"
|
|
2571
|
-
},
|
|
2572
|
-
1268: {
|
|
2573
|
-
name: "Antigua and Barbuda",
|
|
2574
|
-
dial_code: "+1268",
|
|
2575
|
-
code: "AG",
|
|
2576
|
-
mask: "+1268(_) __-__"
|
|
2577
|
-
},
|
|
2578
|
-
1284: {
|
|
2579
|
-
name: "Virgin Islands, British",
|
|
2580
|
-
dial_code: "+1284",
|
|
2581
|
-
code: "VG",
|
|
2582
|
-
mask: "+1284(___) __-__"
|
|
2583
|
-
},
|
|
2584
|
-
1340: {
|
|
2585
|
-
name: "Virgin Islands, U.S.",
|
|
2586
|
-
dial_code: "+1340",
|
|
2587
|
-
code: "VI",
|
|
2588
|
-
mask: "+1340(___) ___-__-__"
|
|
2589
|
-
},
|
|
2590
|
-
1441: {
|
|
2591
|
-
name: "Bermuda",
|
|
2592
|
-
dial_code: "+1441",
|
|
2593
|
-
code: "BM",
|
|
2594
|
-
mask: "+1441(___) __-__"
|
|
2595
|
-
},
|
|
2596
|
-
1473: {
|
|
2597
|
-
name: "Grenada",
|
|
2598
|
-
dial_code: "+1473",
|
|
2599
|
-
code: "GD",
|
|
2600
|
-
mask: "+1473(___) __-__"
|
|
2601
|
-
},
|
|
2602
|
-
1649: {
|
|
2603
|
-
name: "Turks and Caicos Islands",
|
|
2604
|
-
dial_code: "+1649",
|
|
2605
|
-
code: "TC",
|
|
2606
|
-
mask: "+1649(___) ___-__-__"
|
|
2607
|
-
},
|
|
2608
|
-
1664: {
|
|
2609
|
-
name: "Montserrat",
|
|
2610
|
-
dial_code: "+1664",
|
|
2611
|
-
code: "MS",
|
|
2612
|
-
mask: "+1664(___) ___-__-__"
|
|
2613
|
-
},
|
|
2614
|
-
1670: {
|
|
2615
|
-
name: "Northern Mariana Islands",
|
|
2616
|
-
dial_code: "+1670",
|
|
2617
|
-
code: "MP",
|
|
2618
|
-
mask: "+1670(___) ___-__-__"
|
|
2619
|
-
},
|
|
2620
|
-
1671: {
|
|
2621
|
-
name: "Guam",
|
|
2622
|
-
dial_code: "+1671",
|
|
2623
|
-
code: "GU",
|
|
2624
|
-
mask: "+1671(___) ___-__-__"
|
|
2625
|
-
},
|
|
2626
|
-
1684: {
|
|
2627
|
-
name: "American Samoa",
|
|
2628
|
-
dial_code: "+1684",
|
|
2629
|
-
code: "AS",
|
|
2630
|
-
mask: "+1684(___) ___-__-__"
|
|
2631
|
-
},
|
|
2632
|
-
1758: {
|
|
2633
|
-
name: "Saint Lucia",
|
|
2634
|
-
dial_code: "+1758",
|
|
2635
|
-
code: "LC",
|
|
2636
|
-
mask: "+1758(___) __-__"
|
|
2637
|
-
},
|
|
2638
|
-
1767: {
|
|
2639
|
-
name: "Dominica",
|
|
2640
|
-
dial_code: "+1767",
|
|
2641
|
-
code: "DM",
|
|
2642
|
-
mask: "+1767(___) __-__"
|
|
2643
|
-
},
|
|
2644
|
-
1784: {
|
|
2645
|
-
name: "Saint Vincent and the Grenadines",
|
|
2646
|
-
dial_code: "+1784",
|
|
2647
|
-
code: "VC",
|
|
2648
|
-
mask: "+1784(___) __-__"
|
|
2649
|
-
},
|
|
2650
|
-
1849: {
|
|
2651
|
-
name: "Dominican Republic",
|
|
2652
|
-
dial_code: "+1849",
|
|
2653
|
-
code: "DO",
|
|
2654
|
-
mask: "+1849(___) ___-__-__"
|
|
2655
|
-
},
|
|
2656
|
-
1868: {
|
|
2657
|
-
name: "Trinidad and Tobago",
|
|
2658
|
-
dial_code: "+1868",
|
|
2659
|
-
code: "TT",
|
|
2660
|
-
mask: "+1868(___) __-__"
|
|
2661
|
-
},
|
|
2662
|
-
1869: {
|
|
2663
|
-
name: "Saint Kitts and Nevis",
|
|
2664
|
-
dial_code: "+1869",
|
|
2665
|
-
code: "KN",
|
|
2666
|
-
mask: "+1869(___) __-__"
|
|
2667
|
-
},
|
|
2668
|
-
1876: {
|
|
2669
|
-
name: "Jamaica",
|
|
2670
|
-
dial_code: "+1876",
|
|
2671
|
-
code: "JM",
|
|
2672
|
-
mask: "+1876(___) __-__"
|
|
2673
|
-
},
|
|
2674
|
-
1939: {
|
|
2675
|
-
name: "Puerto Rico",
|
|
2676
|
-
dial_code: "+1939",
|
|
2677
|
-
code: "PR",
|
|
2678
|
-
mask: "+1939(___) ___-__-__"
|
|
2679
|
-
}
|
|
2680
|
-
}, dr = "_n_1ery1_2", fr = "_e_1ery1_8", mr = "_s_1ery1_11", pr = "_r_1ery1_14", We = {
|
|
2681
|
-
n: dr,
|
|
2682
|
-
e: fr,
|
|
2683
|
-
s: mr,
|
|
2684
|
-
r: pr,
|
|
2685
|
-
с: "_с_1ery1_17"
|
|
2686
|
-
};
|
|
2687
|
-
let be = {};
|
|
2688
|
-
function vt({ data: a }) {
|
|
2689
|
-
let [_, i] = S.useState("show");
|
|
2690
|
-
S.useEffect(() => {
|
|
2691
|
-
a.hide && (setTimeout(function() {
|
|
2692
|
-
i("hide");
|
|
2693
|
-
}, 1800), setTimeout(function() {
|
|
2694
|
-
be.del(a.key);
|
|
2695
|
-
}, 2500));
|
|
2696
|
-
}, [a.key]);
|
|
2697
|
-
let c, d, h;
|
|
2698
|
-
switch (a.type) {
|
|
2699
|
-
case "error":
|
|
2700
|
-
c = /* @__PURE__ */ S.createElement(Le.error, null), d = "Ошибка:", h = We.e;
|
|
2701
|
-
break;
|
|
2702
|
-
case "success":
|
|
2703
|
-
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Информация:", h = We.s;
|
|
2704
|
-
break;
|
|
2705
|
-
case "copy":
|
|
2706
|
-
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Копирование:", h = We.с;
|
|
2707
|
-
break;
|
|
2708
|
-
case "remark":
|
|
2709
|
-
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Подсказка:", h = We.r;
|
|
2710
|
-
break;
|
|
2711
|
-
default:
|
|
2712
|
-
c = /* @__PURE__ */ S.createElement(Le.success, null), d = "Предупреждение:", h = We.с;
|
|
2713
|
-
break;
|
|
2714
|
-
}
|
|
2715
|
-
return /* @__PURE__ */ S.createElement("li", { className: h, "data-status": _ }, c, /* @__PURE__ */ S.createElement("b", null, d), /* @__PURE__ */ S.createElement("p", null, a.text));
|
|
2716
|
-
}
|
|
2717
|
-
function yr({ data: a }) {
|
|
2718
|
-
let [_, i] = S.useState("show");
|
|
2719
|
-
return S.useEffect(() => {
|
|
2720
|
-
a.hide && (setTimeout(function() {
|
|
2721
|
-
i("hide");
|
|
2722
|
-
}, 1800), setTimeout(function() {
|
|
2723
|
-
be.del(a.key);
|
|
2724
|
-
}, 2500));
|
|
2725
|
-
}, [a.key]), /* @__PURE__ */ S.createElement("li", { className: "item", "data-status": _ }, a.text);
|
|
2726
|
-
}
|
|
2727
|
-
const Le = {};
|
|
2728
|
-
Le.error = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ S.createElement(
|
|
2729
|
-
"path",
|
|
2730
|
-
{
|
|
2731
|
-
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",
|
|
2732
|
-
fill: "#bb2014"
|
|
2733
|
-
}
|
|
2734
|
-
), /* @__PURE__ */ S.createElement(
|
|
2735
|
-
"path",
|
|
2736
|
-
{
|
|
2737
|
-
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",
|
|
2738
|
-
fill: "#fff"
|
|
2739
|
-
}
|
|
2740
|
-
));
|
|
2741
|
-
Le.success = () => /* @__PURE__ */ S.createElement("svg", { viewBox: "0 0 24 24", fill: "none" }, /* @__PURE__ */ S.createElement(
|
|
2742
|
-
"path",
|
|
2743
|
-
{
|
|
2744
|
-
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",
|
|
2745
|
-
fill: "#367738"
|
|
2746
|
-
}
|
|
2747
|
-
), /* @__PURE__ */ S.createElement(
|
|
2748
|
-
"path",
|
|
2749
|
-
{
|
|
2750
|
-
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",
|
|
2751
|
-
fill: "#fff"
|
|
2752
|
-
}
|
|
2753
|
-
));
|
|
2754
|
-
var Rt;
|
|
2755
|
-
((a) => {
|
|
2756
|
-
function _({ className: l }) {
|
|
2757
|
-
let [y, n] = S.useState([]);
|
|
2758
|
-
return be.set = (s) => {
|
|
2759
|
-
n([...y, s]);
|
|
2760
|
-
}, be.del = (s) => {
|
|
2761
|
-
n(y.filter((b) => b.key !== s));
|
|
2762
|
-
}, y.length === 0 ? "" : /* @__PURE__ */ S.createElement("ul", { className: [We.n, l].filter((s) => s).join(" ") }, y.map((s) => s.item));
|
|
2763
|
-
}
|
|
2764
|
-
a.Init = _;
|
|
2765
|
-
function i(l, y = !0) {
|
|
2766
|
-
let n = Date.now(), s = { key: n, text: l, hide: y, type: "error" };
|
|
2767
|
-
be.set({
|
|
2768
|
-
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
2769
|
-
key: n
|
|
2770
|
-
});
|
|
2771
|
-
}
|
|
2772
|
-
a.Error = i;
|
|
2773
|
-
function c(l, y = !0) {
|
|
2774
|
-
let n = Date.now(), s = { key: n, text: l, hide: y, type: "success" };
|
|
2775
|
-
be.set({
|
|
2776
|
-
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
2777
|
-
key: n
|
|
2778
|
-
});
|
|
2779
|
-
}
|
|
2780
|
-
a.Success = c;
|
|
2781
|
-
function d(l, y = !0) {
|
|
2782
|
-
let n = Date.now(), s = { key: n, hide: y, text: l };
|
|
2783
|
-
be.set({ item: /* @__PURE__ */ S.createElement(yr, { key: n, data: s }), key: n });
|
|
2784
|
-
}
|
|
2785
|
-
a.Custom = d;
|
|
2786
|
-
function h(l) {
|
|
2787
|
-
let y = Date.now(), n = { key: y, hide: !0, ...l };
|
|
2788
|
-
be.set({
|
|
2789
|
-
item: /* @__PURE__ */ S.createElement(vt, { key: y, data: n }),
|
|
2790
|
-
key: y
|
|
2791
|
-
});
|
|
2792
|
-
}
|
|
2793
|
-
a.Send = h;
|
|
2794
|
-
function C(l, y = !0) {
|
|
2795
|
-
let n = Date.now(), s = { key: n, text: l, hide: y, type: "remark" };
|
|
2796
|
-
be.set({
|
|
2797
|
-
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
2798
|
-
key: n
|
|
2799
|
-
});
|
|
2800
|
-
}
|
|
2801
|
-
a.Remark = C;
|
|
2802
|
-
function k(l, y = !0) {
|
|
2803
|
-
let n = Date.now(), s = { key: n, text: l, hide: y, type: "copy" };
|
|
2804
|
-
be.set({
|
|
2805
|
-
item: /* @__PURE__ */ S.createElement(vt, { key: n, data: s }),
|
|
2806
|
-
key: n
|
|
2807
|
-
});
|
|
2808
|
-
}
|
|
2809
|
-
a.Copy = k;
|
|
2810
|
-
})(Rt || (Rt = {}));
|
|
2811
|
-
function ga({
|
|
2812
|
-
value: a,
|
|
2813
|
-
onValue: _,
|
|
2814
|
-
onSave: i,
|
|
2815
|
-
name: c = "",
|
|
2816
|
-
placeholder: d = "",
|
|
2817
|
-
title: h = "",
|
|
2818
|
-
label: C = "",
|
|
2819
|
-
error: k = "",
|
|
2820
|
-
hide: l = !1,
|
|
2821
|
-
edit: y = !0,
|
|
2822
|
-
active: n = !0,
|
|
2823
|
-
after: s = "",
|
|
2824
|
-
show: b = !0,
|
|
2825
|
-
view: j,
|
|
2826
|
-
className: I = ""
|
|
2827
|
-
}) {
|
|
2828
|
-
y = y !== void 0 ? y : !0, n = n !== void 0 ? n : !0, l = !!(l && (a === "" || a === void 0)) && !(y && n), S.useRef(null);
|
|
2829
|
-
let P = "+_(___) ___-__-__", T = !0, m = 0, N = (v, x) => {
|
|
2830
|
-
let M = document.createRange(), Y = window.getSelection();
|
|
2831
|
-
M.setStart(x.childNodes[0], v), M.collapse(!0), Y.removeAllRanges(), Y.addRange(M), x.focus();
|
|
2832
|
-
}, K = (v) => {
|
|
2833
|
-
let x = O(v.target.textContent);
|
|
2834
|
-
v.target.textContent = x.q, x.i = x.q.lastIndexOf(x.v.substr(-1)), x.i < x.q.length && x.q !== P ? x.i++ : x.i = x.q.indexOf("_"), N(x.i, v.target), _ && _({ value: x.q.replace(/\D/g, ""), name: c || "" });
|
|
2835
|
-
}, A = (v) => {
|
|
2836
|
-
v.preventDefault(), navigator.clipboard.readText().then((x) => {
|
|
2837
|
-
window.document.execCommand("insertText", !1, x);
|
|
2838
|
-
}).catch((x) => {
|
|
2839
|
-
});
|
|
2840
|
-
}, O = (v) => {
|
|
2841
|
-
let x = 0, M = "", Y = v.replace(/\D/g, "");
|
|
2842
|
-
Y === "" && (T = !0);
|
|
2843
|
-
let Q = Y.split(""), H = "";
|
|
2844
|
-
Q.forEach((ke) => {
|
|
2845
|
-
T && (H += ke, jt[H] !== void 0 && T ? (T = !1, P = jt[H].mask.replace(new RegExp("[0-9]", "g"), "_"), M = jt[H].code) : (T && (m = ("" + H).length, P = `+${H}_(___) ___-__-__`.replace(
|
|
2846
|
-
new RegExp("[0-9]", "g"),
|
|
2847
|
-
"_"
|
|
2848
|
-
), M = ""), m > ("" + H).length && (T = !0, P = `+${H}_(___) ___-__-__`.replace(
|
|
2849
|
-
new RegExp("[0-9]", "g"),
|
|
2850
|
-
"_"
|
|
2851
|
-
), M = "")));
|
|
2852
|
-
});
|
|
2853
|
-
let ie = P.replace(/\D/g, "");
|
|
2854
|
-
return ie.length >= Y.length && (Y = ie), { q: P.replace(/[_\d]/g, function() {
|
|
2855
|
-
return Y.charAt(x++) || "_";
|
|
2856
|
-
}), i: x, v: Y, f: M };
|
|
2857
|
-
}, $ = (v) => {
|
|
2858
|
-
v.preventDefault(), navigator.clipboard.writeText(v.target.textContent.replace(/\D/g, "")).then(
|
|
2859
|
-
function() {
|
|
2860
|
-
Rt.Copy("Данные в буфер обмене");
|
|
2861
|
-
},
|
|
2862
|
-
function(x) {
|
|
2863
|
-
}
|
|
2864
|
-
);
|
|
2865
|
-
}, W = O(a), F = (v) => {
|
|
2866
|
-
v.key === "Enter" && v.preventDefault();
|
|
2867
|
-
};
|
|
2868
|
-
const E = (v) => {
|
|
2869
|
-
V.Blur(v), i && i({
|
|
2870
|
-
value: v.target.textContent.replace(/\D/g, ""),
|
|
2871
|
-
name: c || ""
|
|
2872
|
-
});
|
|
2873
|
-
};
|
|
2874
|
-
let B = {};
|
|
2875
|
-
return y && n ? (B.edit = "true", B.contentEditable = V.ContentEditable) : B.contentEditable = "false", d && (B.placeholder = d), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
2876
|
-
he,
|
|
2877
|
-
{
|
|
2878
|
-
type: "input",
|
|
2879
|
-
title: h || C,
|
|
2880
|
-
error: k,
|
|
2881
|
-
element_blok: { className: I },
|
|
2882
|
-
element_input: { className: [ee.w] },
|
|
2883
|
-
children: /* @__PURE__ */ f.jsx(
|
|
2884
|
-
"div",
|
|
2885
|
-
{
|
|
2886
|
-
onPaste: A,
|
|
2887
|
-
onInput: K,
|
|
2888
|
-
onKeyDown: F,
|
|
2889
|
-
onContextMenu: $,
|
|
2890
|
-
onBlur: E,
|
|
2891
|
-
inputMode: "tel",
|
|
2892
|
-
suppressContentEditableWarning: !0,
|
|
2893
|
-
...B,
|
|
2894
|
-
children: W.q
|
|
2895
|
-
}
|
|
2896
|
-
)
|
|
2897
|
-
}
|
|
2898
|
-
);
|
|
2899
|
-
}
|
|
2900
|
-
function ha({
|
|
2901
|
-
value: a,
|
|
2902
|
-
onValue: _,
|
|
2903
|
-
name: i = "",
|
|
2904
|
-
inputmode: c = "text",
|
|
2905
|
-
placeholder: d = "",
|
|
2906
|
-
title: h = "",
|
|
2907
|
-
label: C = "",
|
|
2908
|
-
show: k = !0,
|
|
2909
|
-
hide: l = !1,
|
|
2910
|
-
edit: y = !0,
|
|
2911
|
-
active: n = !0,
|
|
2912
|
-
maxLength: s,
|
|
2913
|
-
onSave: b,
|
|
2914
|
-
className: j = "",
|
|
2915
|
-
spellCheck: I = !0,
|
|
2916
|
-
isCopy: q = !0,
|
|
2917
|
-
isReload: P = !1,
|
|
2918
|
-
after: T = "",
|
|
2919
|
-
before: m = "",
|
|
2920
|
-
error: N = ""
|
|
2921
|
-
}) {
|
|
2922
|
-
const K = !!(l && (a === "" || a === void 0)), A = (E) => {
|
|
2923
|
-
_ && _({
|
|
2924
|
-
value: E.target.textContent.trim(),
|
|
2925
|
-
name: i,
|
|
2926
|
-
reload: P
|
|
2927
|
-
});
|
|
2928
|
-
}, O = (E) => {
|
|
2929
|
-
s && E.target.textContent.trim().length >= s && E.key !== "Backspace" && E.preventDefault(), E.key === "Enter" && E.preventDefault();
|
|
2930
|
-
}, $ = (E) => {
|
|
2931
|
-
E.preventDefault(), navigator.clipboard.readText().then((B) => {
|
|
2932
|
-
if (s) {
|
|
2933
|
-
let v = E.target.textContent.length;
|
|
2934
|
-
if (v >= s) return;
|
|
2935
|
-
s -= v, B = B.slice(0, s);
|
|
2936
|
-
}
|
|
2937
|
-
window.document.execCommand(
|
|
2938
|
-
"insertText",
|
|
2939
|
-
!1,
|
|
2940
|
-
B.replace(/(\r\n|\n|\r)/gm, " ")
|
|
2941
|
-
);
|
|
2942
|
-
}).catch((B) => {
|
|
2943
|
-
});
|
|
2944
|
-
};
|
|
2945
|
-
if (!(y && n) && !k || !(y && n) && K) return "";
|
|
2946
|
-
const W = {};
|
|
2947
|
-
d && (W.placeholder = d), y && n && (W.edit = "");
|
|
2948
|
-
const F = (E) => {
|
|
2949
|
-
V.Blur(E), b == null || b({ value: E.target.textContent.trim(), name: i });
|
|
2950
|
-
};
|
|
2951
|
-
return /* @__PURE__ */ f.jsxs(
|
|
2952
|
-
he,
|
|
2953
|
-
{
|
|
2954
|
-
type: "input",
|
|
2955
|
-
title: h || C,
|
|
2956
|
-
error: N,
|
|
2957
|
-
element_blok: { className: [j] },
|
|
2958
|
-
element_input: { className: [ee.w] },
|
|
2959
|
-
children: [
|
|
2960
|
-
m,
|
|
2961
|
-
/* @__PURE__ */ f.jsx(
|
|
2962
|
-
"div",
|
|
2963
|
-
{
|
|
2964
|
-
onBlur: F,
|
|
2965
|
-
onPaste: $,
|
|
2966
|
-
onInput: A,
|
|
2967
|
-
onKeyDown: O,
|
|
2968
|
-
spellCheck: I,
|
|
2969
|
-
inputMode: c || "text",
|
|
2970
|
-
contentEditable: y && n ? V.ContentEditable : "false",
|
|
2971
|
-
suppressContentEditableWarning: !0,
|
|
2972
|
-
...W,
|
|
2973
|
-
children: a
|
|
2974
|
-
}
|
|
2975
|
-
),
|
|
2976
|
-
T
|
|
2977
|
-
]
|
|
2978
|
-
}
|
|
2979
|
-
);
|
|
2980
|
-
}
|
|
2981
|
-
function ka({
|
|
2982
|
-
onValue: a,
|
|
2983
|
-
onSave: _,
|
|
2984
|
-
active: i,
|
|
2985
|
-
max: c,
|
|
2986
|
-
edit: d,
|
|
2987
|
-
title: h,
|
|
2988
|
-
error: C,
|
|
2989
|
-
show: k,
|
|
2990
|
-
hide: l,
|
|
2991
|
-
value: y,
|
|
2992
|
-
placeholder: n,
|
|
2993
|
-
className: s,
|
|
2994
|
-
maxLength: b,
|
|
2995
|
-
name: j = "",
|
|
2996
|
-
after: I = "",
|
|
2997
|
-
before: q = "",
|
|
2998
|
-
view: P
|
|
2999
|
-
}) {
|
|
3000
|
-
d = d !== void 0 ? d : !0, i = i !== void 0 ? i : !0, l = !!(l && (y === "" || y === void 0)) && !(d && i), n = n !== void 0 ? n : "", c = c !== void 0 ? c : 99;
|
|
3001
|
-
let m = !1, N = (F) => {
|
|
3002
|
-
a == null || a({ value: F.target.textContent, name: j });
|
|
3003
|
-
}, K = (F) => {
|
|
3004
|
-
if (!(m && F.which === 86)) {
|
|
3005
|
-
if (F.which === 17 || F.which === 91) return m = !0;
|
|
3006
|
-
F.key !== "Backspace" && (F.target.textContent.length === c && F.preventDefault(), F.key === "Enter" && F.preventDefault(), isNaN(F.key) && F.preventDefault());
|
|
3007
|
-
}
|
|
3008
|
-
}, A = (F) => {
|
|
3009
|
-
if (F.which === 17 || F.which === 91) return m = !1;
|
|
3010
|
-
}, O = (F) => {
|
|
3011
|
-
F.preventDefault(), navigator.clipboard.readText().then((E) => {
|
|
3012
|
-
if (E = E.replace(/(?!^\+|\d)./g, ""), b) {
|
|
3013
|
-
let B = F.target.textContent.length;
|
|
3014
|
-
if (B >= b) return;
|
|
3015
|
-
b -= B, E = E.slice(0, b);
|
|
3016
|
-
}
|
|
3017
|
-
window.document.execCommand("insertText", !1, "" + E);
|
|
3018
|
-
}).catch((E) => {
|
|
3019
|
-
});
|
|
3020
|
-
};
|
|
3021
|
-
const $ = (F) => {
|
|
3022
|
-
V.Blur(F), _ == null || _({ value: F.target.textContent, name: j });
|
|
3023
|
-
};
|
|
3024
|
-
let W = {};
|
|
3025
|
-
return d && i ? (W.edit = "true", W.contentEditable = V.ContentEditable) : W.contentEditable = "false", W.inputMode = "decimal", n && (W.placeholder = n), l ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
3026
|
-
he,
|
|
3027
|
-
{
|
|
3028
|
-
type: "numeric",
|
|
3029
|
-
title: h,
|
|
3030
|
-
error: C,
|
|
3031
|
-
element_blok: { className: [s] },
|
|
3032
|
-
element_input: { className: [ee.w] },
|
|
3033
|
-
children: /* @__PURE__ */ f.jsx(
|
|
3034
|
-
"div",
|
|
3035
|
-
{
|
|
3036
|
-
onPaste: O,
|
|
3037
|
-
onInput: N,
|
|
3038
|
-
onBlur: $,
|
|
3039
|
-
onKeyDown: K,
|
|
3040
|
-
onKeyUp: A,
|
|
3041
|
-
spellCheck: "true",
|
|
3042
|
-
contentEditable: d && i ? V.ContentEditable : "false",
|
|
3043
|
-
suppressContentEditableWarning: !0,
|
|
3044
|
-
...W,
|
|
3045
|
-
children: y
|
|
3046
|
-
}
|
|
3047
|
-
)
|
|
3048
|
-
}
|
|
3049
|
-
);
|
|
3050
|
-
}
|
|
3051
|
-
var Tt = { exports: {} }, gt = {};
|
|
3052
|
-
/**
|
|
3053
|
-
* @license React
|
|
3054
|
-
* react-jsx-runtime.production.min.js
|
|
3055
|
-
*
|
|
3056
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3057
|
-
*
|
|
3058
|
-
* This source code is licensed under the MIT license found in the
|
|
3059
|
-
* LICENSE file in the root directory of this source tree.
|
|
3060
|
-
*/
|
|
3061
|
-
var $t;
|
|
3062
|
-
function vr() {
|
|
3063
|
-
if ($t) return gt;
|
|
3064
|
-
$t = 1;
|
|
3065
|
-
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3066
|
-
function C(k, l, y) {
|
|
3067
|
-
var n, s = {}, b = null, j = null;
|
|
3068
|
-
y !== void 0 && (b = "" + y), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
3069
|
-
for (n in l) c.call(l, n) && !h.hasOwnProperty(n) && (s[n] = l[n]);
|
|
3070
|
-
if (k && k.defaultProps) for (n in l = k.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
3071
|
-
return { $$typeof: _, type: k, key: b, ref: j, props: s, _owner: d.current };
|
|
3072
|
-
}
|
|
3073
|
-
return gt.Fragment = i, gt.jsx = C, gt.jsxs = C, gt;
|
|
3074
|
-
}
|
|
3075
|
-
var kt = {};
|
|
3076
|
-
/**
|
|
3077
|
-
* @license React
|
|
3078
|
-
* react-jsx-runtime.development.js
|
|
3079
|
-
*
|
|
3080
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3081
|
-
*
|
|
3082
|
-
* This source code is licensed under the MIT license found in the
|
|
3083
|
-
* LICENSE file in the root directory of this source tree.
|
|
3084
|
-
*/
|
|
3085
|
-
var Bt;
|
|
3086
|
-
function gr() {
|
|
3087
|
-
return Bt || (Bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3088
|
-
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), k = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), I = Symbol.iterator, q = "@@iterator";
|
|
3089
|
-
function P(e) {
|
|
3090
|
-
if (e === null || typeof e != "object")
|
|
3091
|
-
return null;
|
|
3092
|
-
var t = I && e[I] || e[q];
|
|
3093
|
-
return typeof t == "function" ? t : null;
|
|
3094
|
-
}
|
|
3095
|
-
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3096
|
-
function m(e) {
|
|
3097
|
-
{
|
|
3098
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
3099
|
-
r[o - 1] = arguments[o];
|
|
3100
|
-
N("error", e, r);
|
|
3101
|
-
}
|
|
3102
|
-
}
|
|
3103
|
-
function N(e, t, r) {
|
|
3104
|
-
{
|
|
3105
|
-
var o = T.ReactDebugCurrentFrame, g = o.getStackAddendum();
|
|
3106
|
-
g !== "" && (t += "%s", r = r.concat([g]));
|
|
3107
|
-
var w = r.map(function(p) {
|
|
3108
|
-
return String(p);
|
|
3109
|
-
});
|
|
3110
|
-
w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
|
|
3111
|
-
}
|
|
3112
|
-
}
|
|
3113
|
-
var K = !1, A = !1, O = !1, $ = !1, W = !1, F;
|
|
3114
|
-
F = Symbol.for("react.module.reference");
|
|
3115
|
-
function E(e) {
|
|
3116
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === h || W || e === d || e === y || e === n || $ || e === j || K || A || O || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === C || e.$$typeof === k || e.$$typeof === l || // This needs to include all possible module reference object
|
|
3117
|
-
// types supported by any Flight configuration anywhere since
|
|
3118
|
-
// we don't know which Flight build this will end up being used
|
|
3119
|
-
// with.
|
|
3120
|
-
e.$$typeof === F || e.getModuleId !== void 0));
|
|
3121
|
-
}
|
|
3122
|
-
function B(e, t, r) {
|
|
3123
|
-
var o = e.displayName;
|
|
3124
|
-
if (o)
|
|
3125
|
-
return o;
|
|
3126
|
-
var g = t.displayName || t.name || "";
|
|
3127
|
-
return g !== "" ? r + "(" + g + ")" : r;
|
|
3128
|
-
}
|
|
3129
|
-
function v(e) {
|
|
3130
|
-
return e.displayName || "Context";
|
|
3131
|
-
}
|
|
3132
|
-
function x(e) {
|
|
3133
|
-
if (e == null)
|
|
3134
|
-
return null;
|
|
3135
|
-
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
3136
|
-
return e.displayName || e.name || null;
|
|
3137
|
-
if (typeof e == "string")
|
|
3138
|
-
return e;
|
|
3139
|
-
switch (e) {
|
|
3140
|
-
case c:
|
|
3141
|
-
return "Fragment";
|
|
3142
|
-
case i:
|
|
3143
|
-
return "Portal";
|
|
3144
|
-
case h:
|
|
3145
|
-
return "Profiler";
|
|
3146
|
-
case d:
|
|
3147
|
-
return "StrictMode";
|
|
3148
|
-
case y:
|
|
3149
|
-
return "Suspense";
|
|
3150
|
-
case n:
|
|
3151
|
-
return "SuspenseList";
|
|
3152
|
-
}
|
|
3153
|
-
if (typeof e == "object")
|
|
3154
|
-
switch (e.$$typeof) {
|
|
3155
|
-
case k:
|
|
3156
|
-
var t = e;
|
|
3157
|
-
return v(t) + ".Consumer";
|
|
3158
|
-
case C:
|
|
3159
|
-
var r = e;
|
|
3160
|
-
return v(r._context) + ".Provider";
|
|
3161
|
-
case l:
|
|
3162
|
-
return B(e, e.render, "ForwardRef");
|
|
3163
|
-
case s:
|
|
3164
|
-
var o = e.displayName || null;
|
|
3165
|
-
return o !== null ? o : x(e.type) || "Memo";
|
|
3166
|
-
case b: {
|
|
3167
|
-
var g = e, w = g._payload, p = g._init;
|
|
3168
|
-
try {
|
|
3169
|
-
return x(p(w));
|
|
3170
|
-
} catch {
|
|
3171
|
-
return null;
|
|
3172
|
-
}
|
|
3173
|
-
}
|
|
3174
|
-
}
|
|
3175
|
-
return null;
|
|
3176
|
-
}
|
|
3177
|
-
var M = Object.assign, Y = 0, Q, H, ie, le, ke, we, xe;
|
|
3178
|
-
function Ce() {
|
|
3179
|
-
}
|
|
3180
|
-
Ce.__reactDisabledLog = !0;
|
|
3181
|
-
function Ue() {
|
|
3182
|
-
{
|
|
3183
|
-
if (Y === 0) {
|
|
3184
|
-
Q = console.log, H = console.info, ie = console.warn, le = console.error, ke = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
3185
|
-
var e = {
|
|
3186
|
-
configurable: !0,
|
|
3187
|
-
enumerable: !0,
|
|
3188
|
-
value: Ce,
|
|
3189
|
-
writable: !0
|
|
3190
|
-
};
|
|
3191
|
-
Object.defineProperties(console, {
|
|
3192
|
-
info: e,
|
|
3193
|
-
log: e,
|
|
3194
|
-
warn: e,
|
|
3195
|
-
error: e,
|
|
3196
|
-
group: e,
|
|
3197
|
-
groupCollapsed: e,
|
|
3198
|
-
groupEnd: e
|
|
3199
|
-
});
|
|
3200
|
-
}
|
|
3201
|
-
Y++;
|
|
3202
|
-
}
|
|
3203
|
-
}
|
|
3204
|
-
function qe() {
|
|
3205
|
-
{
|
|
3206
|
-
if (Y--, Y === 0) {
|
|
3207
|
-
var e = {
|
|
3208
|
-
configurable: !0,
|
|
3209
|
-
enumerable: !0,
|
|
3210
|
-
writable: !0
|
|
3211
|
-
};
|
|
3212
|
-
Object.defineProperties(console, {
|
|
3213
|
-
log: M({}, e, {
|
|
3214
|
-
value: Q
|
|
3215
|
-
}),
|
|
3216
|
-
info: M({}, e, {
|
|
3217
|
-
value: H
|
|
3218
|
-
}),
|
|
3219
|
-
warn: M({}, e, {
|
|
3220
|
-
value: ie
|
|
3221
|
-
}),
|
|
3222
|
-
error: M({}, e, {
|
|
3223
|
-
value: le
|
|
3224
|
-
}),
|
|
3225
|
-
group: M({}, e, {
|
|
3226
|
-
value: ke
|
|
3227
|
-
}),
|
|
3228
|
-
groupCollapsed: M({}, e, {
|
|
3229
|
-
value: we
|
|
3230
|
-
}),
|
|
3231
|
-
groupEnd: M({}, e, {
|
|
3232
|
-
value: xe
|
|
3233
|
-
})
|
|
3234
|
-
});
|
|
3235
|
-
}
|
|
3236
|
-
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3237
|
-
}
|
|
3238
|
-
}
|
|
3239
|
-
var ce = T.ReactCurrentDispatcher, ue;
|
|
3240
|
-
function ae(e, t, r) {
|
|
3241
|
-
{
|
|
3242
|
-
if (ue === void 0)
|
|
3243
|
-
try {
|
|
3244
|
-
throw Error();
|
|
3245
|
-
} catch (g) {
|
|
3246
|
-
var o = g.stack.trim().match(/\n( *(at )?)/);
|
|
3247
|
-
ue = o && o[1] || "";
|
|
3248
|
-
}
|
|
3249
|
-
return `
|
|
3250
|
-
` + ue + e;
|
|
3251
|
-
}
|
|
3252
|
-
}
|
|
3253
|
-
var de = !1, ne;
|
|
3254
|
-
{
|
|
3255
|
-
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
3256
|
-
ne = new Ke();
|
|
3257
|
-
}
|
|
3258
|
-
function je(e, t) {
|
|
3259
|
-
if (!e || de)
|
|
3260
|
-
return "";
|
|
3261
|
-
{
|
|
3262
|
-
var r = ne.get(e);
|
|
3263
|
-
if (r !== void 0)
|
|
3264
|
-
return r;
|
|
3265
|
-
}
|
|
3266
|
-
var o;
|
|
3267
|
-
de = !0;
|
|
3268
|
-
var g = Error.prepareStackTrace;
|
|
3269
|
-
Error.prepareStackTrace = void 0;
|
|
3270
|
-
var w;
|
|
3271
|
-
w = ce.current, ce.current = null, Ue();
|
|
3272
|
-
try {
|
|
3273
|
-
if (t) {
|
|
3274
|
-
var p = function() {
|
|
3275
|
-
throw Error();
|
|
3276
|
-
};
|
|
3277
|
-
if (Object.defineProperty(p.prototype, "props", {
|
|
3278
|
-
set: function() {
|
|
3279
|
-
throw Error();
|
|
3280
|
-
}
|
|
3281
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
3282
|
-
try {
|
|
3283
|
-
Reflect.construct(p, []);
|
|
3284
|
-
} catch (U) {
|
|
3285
|
-
o = U;
|
|
3286
|
-
}
|
|
3287
|
-
Reflect.construct(e, [], p);
|
|
3288
|
-
} else {
|
|
3289
|
-
try {
|
|
3290
|
-
p.call();
|
|
3291
|
-
} catch (U) {
|
|
3292
|
-
o = U;
|
|
3293
|
-
}
|
|
3294
|
-
e.call(p.prototype);
|
|
3295
|
-
}
|
|
3296
|
-
} else {
|
|
3297
|
-
try {
|
|
3298
|
-
throw Error();
|
|
3299
|
-
} catch (U) {
|
|
3300
|
-
o = U;
|
|
3301
|
-
}
|
|
3302
|
-
e();
|
|
3303
|
-
}
|
|
3304
|
-
} catch (U) {
|
|
3305
|
-
if (U && o && typeof U.stack == "string") {
|
|
3306
|
-
for (var u = U.stack.split(`
|
|
3307
|
-
`), L = o.stack.split(`
|
|
3308
|
-
`), R = u.length - 1, D = L.length - 1; R >= 1 && D >= 0 && u[R] !== L[D]; )
|
|
3309
|
-
D--;
|
|
3310
|
-
for (; R >= 1 && D >= 0; R--, D--)
|
|
3311
|
-
if (u[R] !== L[D]) {
|
|
3312
|
-
if (R !== 1 || D !== 1)
|
|
3313
|
-
do
|
|
3314
|
-
if (R--, D--, D < 0 || u[R] !== L[D]) {
|
|
3315
|
-
var G = `
|
|
3316
|
-
` + u[R].replace(" at new ", " at ");
|
|
3317
|
-
return e.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, G), G;
|
|
3318
|
-
}
|
|
3319
|
-
while (R >= 1 && D >= 0);
|
|
3320
|
-
break;
|
|
3321
|
-
}
|
|
3322
|
-
}
|
|
3323
|
-
} finally {
|
|
3324
|
-
de = !1, ce.current = w, qe(), Error.prepareStackTrace = g;
|
|
3325
|
-
}
|
|
3326
|
-
var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
|
|
3327
|
-
return typeof e == "function" && ne.set(e, J), J;
|
|
3328
|
-
}
|
|
3329
|
-
function Ge(e, t, r) {
|
|
3330
|
-
return je(e, !1);
|
|
3331
|
-
}
|
|
3332
|
-
function Ye(e) {
|
|
3333
|
-
var t = e.prototype;
|
|
3334
|
-
return !!(t && t.isReactComponent);
|
|
3335
|
-
}
|
|
3336
|
-
function oe(e, t, r) {
|
|
3337
|
-
if (e == null)
|
|
3338
|
-
return "";
|
|
3339
|
-
if (typeof e == "function")
|
|
3340
|
-
return je(e, Ye(e));
|
|
3341
|
-
if (typeof e == "string")
|
|
3342
|
-
return ae(e);
|
|
3343
|
-
switch (e) {
|
|
3344
|
-
case y:
|
|
3345
|
-
return ae("Suspense");
|
|
3346
|
-
case n:
|
|
3347
|
-
return ae("SuspenseList");
|
|
3348
|
-
}
|
|
3349
|
-
if (typeof e == "object")
|
|
3350
|
-
switch (e.$$typeof) {
|
|
3351
|
-
case l:
|
|
3352
|
-
return Ge(e.render);
|
|
3353
|
-
case s:
|
|
3354
|
-
return oe(e.type, t, r);
|
|
3355
|
-
case b: {
|
|
3356
|
-
var o = e, g = o._payload, w = o._init;
|
|
3357
|
-
try {
|
|
3358
|
-
return oe(w(g), t, r);
|
|
3359
|
-
} catch {
|
|
3360
|
-
}
|
|
3361
|
-
}
|
|
3362
|
-
}
|
|
3363
|
-
return "";
|
|
3364
|
-
}
|
|
3365
|
-
var te = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
|
|
3366
|
-
function _e(e) {
|
|
3367
|
-
if (e) {
|
|
3368
|
-
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
3369
|
-
Se.setExtraStackFrame(r);
|
|
3370
|
-
} else
|
|
3371
|
-
Se.setExtraStackFrame(null);
|
|
3372
|
-
}
|
|
3373
|
-
function ze(e, t, r, o, g) {
|
|
3374
|
-
{
|
|
3375
|
-
var w = Function.call.bind(te);
|
|
3376
|
-
for (var p in e)
|
|
3377
|
-
if (w(e, p)) {
|
|
3378
|
-
var u = void 0;
|
|
3379
|
-
try {
|
|
3380
|
-
if (typeof e[p] != "function") {
|
|
3381
|
-
var L = Error((o || "React class") + ": " + r + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
3382
|
-
throw L.name = "Invariant Violation", L;
|
|
3383
|
-
}
|
|
3384
|
-
u = e[p](t, p, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
3385
|
-
} catch (R) {
|
|
3386
|
-
u = R;
|
|
3387
|
-
}
|
|
3388
|
-
u && !(u instanceof Error) && (_e(g), m("%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).", o || "React class", r, p, typeof u), _e(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, _e(g), m("Failed %s type: %s", r, u.message), _e(null));
|
|
3389
|
-
}
|
|
3390
|
-
}
|
|
3391
|
-
}
|
|
3392
|
-
var He = Array.isArray;
|
|
3393
|
-
function fe(e) {
|
|
3394
|
-
return He(e);
|
|
3395
|
-
}
|
|
3396
|
-
function Je(e) {
|
|
3397
|
-
{
|
|
3398
|
-
var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
3399
|
-
return r;
|
|
3400
|
-
}
|
|
3401
|
-
}
|
|
3402
|
-
function Ve(e) {
|
|
3403
|
-
try {
|
|
3404
|
-
return Re(e), !1;
|
|
3405
|
-
} catch {
|
|
3406
|
-
return !0;
|
|
3407
|
-
}
|
|
3408
|
-
}
|
|
3409
|
-
function Re(e) {
|
|
3410
|
-
return "" + e;
|
|
3411
|
-
}
|
|
3412
|
-
function Te(e) {
|
|
3413
|
-
if (Ve(e))
|
|
3414
|
-
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
|
|
3415
|
-
}
|
|
3416
|
-
var Oe = T.ReactCurrentOwner, Ze = {
|
|
3417
|
-
key: !0,
|
|
3418
|
-
ref: !0,
|
|
3419
|
-
__self: !0,
|
|
3420
|
-
__source: !0
|
|
3421
|
-
}, De, Pe;
|
|
3422
|
-
function Xe(e) {
|
|
3423
|
-
if (te.call(e, "ref")) {
|
|
3424
|
-
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
3425
|
-
if (t && t.isReactWarning)
|
|
3426
|
-
return !1;
|
|
3427
|
-
}
|
|
3428
|
-
return e.ref !== void 0;
|
|
3429
|
-
}
|
|
3430
|
-
function Qe(e) {
|
|
3431
|
-
if (te.call(e, "key")) {
|
|
3432
|
-
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
3433
|
-
if (t && t.isReactWarning)
|
|
3434
|
-
return !1;
|
|
3435
|
-
}
|
|
3436
|
-
return e.key !== void 0;
|
|
3437
|
-
}
|
|
3438
|
-
function et(e, t) {
|
|
3439
|
-
typeof e.ref == "string" && Oe.current;
|
|
3440
|
-
}
|
|
3441
|
-
function tt(e, t) {
|
|
3442
|
-
{
|
|
3443
|
-
var r = function() {
|
|
3444
|
-
De || (De = !0, m("%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)", t));
|
|
3445
|
-
};
|
|
3446
|
-
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
3447
|
-
get: r,
|
|
3448
|
-
configurable: !0
|
|
3449
|
-
});
|
|
3450
|
-
}
|
|
3451
|
-
}
|
|
3452
|
-
function rt(e, t) {
|
|
3453
|
-
{
|
|
3454
|
-
var r = function() {
|
|
3455
|
-
Pe || (Pe = !0, m("%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)", t));
|
|
3456
|
-
};
|
|
3457
|
-
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
3458
|
-
get: r,
|
|
3459
|
-
configurable: !0
|
|
3460
|
-
});
|
|
3461
|
-
}
|
|
3462
|
-
}
|
|
3463
|
-
var at = function(e, t, r, o, g, w, p) {
|
|
3464
|
-
var u = {
|
|
3465
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
3466
|
-
$$typeof: _,
|
|
3467
|
-
// Built-in properties that belong on the element
|
|
3468
|
-
type: e,
|
|
3469
|
-
key: t,
|
|
3470
|
-
ref: r,
|
|
3471
|
-
props: p,
|
|
3472
|
-
// Record the component responsible for creating this element.
|
|
3473
|
-
_owner: w
|
|
3474
|
-
};
|
|
3475
|
-
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
3476
|
-
configurable: !1,
|
|
3477
|
-
enumerable: !1,
|
|
3478
|
-
writable: !0,
|
|
3479
|
-
value: !1
|
|
3480
|
-
}), Object.defineProperty(u, "_self", {
|
|
3481
|
-
configurable: !1,
|
|
3482
|
-
enumerable: !1,
|
|
3483
|
-
writable: !1,
|
|
3484
|
-
value: o
|
|
3485
|
-
}), Object.defineProperty(u, "_source", {
|
|
3486
|
-
configurable: !1,
|
|
3487
|
-
enumerable: !1,
|
|
3488
|
-
writable: !1,
|
|
3489
|
-
value: g
|
|
3490
|
-
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
3491
|
-
};
|
|
3492
|
-
function nt(e, t, r, o, g) {
|
|
3493
|
-
{
|
|
3494
|
-
var w, p = {}, u = null, L = null;
|
|
3495
|
-
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (L = t.ref, et(t));
|
|
3496
|
-
for (w in t)
|
|
3497
|
-
te.call(t, w) && !Ze.hasOwnProperty(w) && (p[w] = t[w]);
|
|
3498
|
-
if (e && e.defaultProps) {
|
|
3499
|
-
var R = e.defaultProps;
|
|
3500
|
-
for (w in R)
|
|
3501
|
-
p[w] === void 0 && (p[w] = R[w]);
|
|
3502
|
-
}
|
|
3503
|
-
if (u || L) {
|
|
3504
|
-
var D = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
3505
|
-
u && tt(p, D), L && rt(p, D);
|
|
3506
|
-
}
|
|
3507
|
-
return at(e, u, L, g, o, Oe.current, p);
|
|
3508
|
-
}
|
|
3509
|
-
}
|
|
3510
|
-
var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
|
|
3511
|
-
function Z(e) {
|
|
3512
|
-
if (e) {
|
|
3513
|
-
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
3514
|
-
Ne.setExtraStackFrame(r);
|
|
3515
|
-
} else
|
|
3516
|
-
Ne.setExtraStackFrame(null);
|
|
3517
|
-
}
|
|
3518
|
-
var pe;
|
|
3519
|
-
pe = !1;
|
|
3520
|
-
function ye(e) {
|
|
3521
|
-
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
3522
|
-
}
|
|
3523
|
-
function Fe() {
|
|
3524
|
-
{
|
|
3525
|
-
if (me.current) {
|
|
3526
|
-
var e = x(me.current.type);
|
|
3527
|
-
if (e)
|
|
3528
|
-
return `
|
|
3529
|
-
|
|
3530
|
-
Check the render method of \`` + e + "`.";
|
|
3531
|
-
}
|
|
3532
|
-
return "";
|
|
3533
|
-
}
|
|
3534
|
-
}
|
|
3535
|
-
function ot(e) {
|
|
3536
|
-
return "";
|
|
3537
|
-
}
|
|
3538
|
-
var Me = {};
|
|
3539
|
-
function _t(e) {
|
|
3540
|
-
{
|
|
3541
|
-
var t = Fe();
|
|
3542
|
-
if (!t) {
|
|
3543
|
-
var r = typeof e == "string" ? e : e.displayName || e.name;
|
|
3544
|
-
r && (t = `
|
|
3545
|
-
|
|
3546
|
-
Check the top-level render call using <` + r + ">.");
|
|
3547
|
-
}
|
|
3548
|
-
return t;
|
|
3549
|
-
}
|
|
3550
|
-
}
|
|
3551
|
-
function Ie(e, t) {
|
|
3552
|
-
{
|
|
3553
|
-
if (!e._store || e._store.validated || e.key != null)
|
|
3554
|
-
return;
|
|
3555
|
-
e._store.validated = !0;
|
|
3556
|
-
var r = _t(t);
|
|
3557
|
-
if (Me[r])
|
|
3558
|
-
return;
|
|
3559
|
-
Me[r] = !0;
|
|
3560
|
-
var o = "";
|
|
3561
|
-
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + x(e._owner.type) + "."), Z(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), Z(null);
|
|
3562
|
-
}
|
|
3563
|
-
}
|
|
3564
|
-
function Ae(e, t) {
|
|
3565
|
-
{
|
|
3566
|
-
if (typeof e != "object")
|
|
3567
|
-
return;
|
|
3568
|
-
if (fe(e))
|
|
3569
|
-
for (var r = 0; r < e.length; r++) {
|
|
3570
|
-
var o = e[r];
|
|
3571
|
-
ye(o) && Ie(o, t);
|
|
3572
|
-
}
|
|
3573
|
-
else if (ye(e))
|
|
3574
|
-
e._store && (e._store.validated = !0);
|
|
3575
|
-
else if (e) {
|
|
3576
|
-
var g = P(e);
|
|
3577
|
-
if (typeof g == "function" && g !== e.entries)
|
|
3578
|
-
for (var w = g.call(e), p; !(p = w.next()).done; )
|
|
3579
|
-
ye(p.value) && Ie(p.value, t);
|
|
3580
|
-
}
|
|
3581
|
-
}
|
|
3582
|
-
}
|
|
3583
|
-
function it(e) {
|
|
3584
|
-
{
|
|
3585
|
-
var t = e.type;
|
|
3586
|
-
if (t == null || typeof t == "string")
|
|
3587
|
-
return;
|
|
3588
|
-
var r;
|
|
3589
|
-
if (typeof t == "function")
|
|
3590
|
-
r = t.propTypes;
|
|
3591
|
-
else if (typeof t == "object" && (t.$$typeof === l || // Note: Memo only checks outer props here.
|
|
3592
|
-
// Inner props are checked in the reconciler.
|
|
3593
|
-
t.$$typeof === s))
|
|
3594
|
-
r = t.propTypes;
|
|
3595
|
-
else
|
|
3596
|
-
return;
|
|
3597
|
-
if (r) {
|
|
3598
|
-
var o = x(t);
|
|
3599
|
-
ze(r, e.props, "prop", o, e);
|
|
3600
|
-
} else if (t.PropTypes !== void 0 && !pe) {
|
|
3601
|
-
pe = !0;
|
|
3602
|
-
var g = x(t);
|
|
3603
|
-
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown");
|
|
3604
|
-
}
|
|
3605
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
3606
|
-
}
|
|
3607
|
-
}
|
|
3608
|
-
function st(e) {
|
|
3609
|
-
{
|
|
3610
|
-
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
3611
|
-
var o = t[r];
|
|
3612
|
-
if (o !== "children" && o !== "key") {
|
|
3613
|
-
Z(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Z(null);
|
|
3614
|
-
break;
|
|
3615
|
-
}
|
|
3616
|
-
}
|
|
3617
|
-
e.ref !== null && (Z(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), Z(null));
|
|
3618
|
-
}
|
|
3619
|
-
}
|
|
3620
|
-
var $e = {};
|
|
3621
|
-
function Be(e, t, r, o, g, w) {
|
|
3622
|
-
{
|
|
3623
|
-
var p = E(e);
|
|
3624
|
-
if (!p) {
|
|
3625
|
-
var u = "";
|
|
3626
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
3627
|
-
var L = ot();
|
|
3628
|
-
L ? u += L : u += Fe();
|
|
3629
|
-
var R;
|
|
3630
|
-
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (x(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
|
|
3631
|
-
}
|
|
3632
|
-
var D = nt(e, t, r, g, w);
|
|
3633
|
-
if (D == null)
|
|
3634
|
-
return D;
|
|
3635
|
-
if (p) {
|
|
3636
|
-
var G = t.children;
|
|
3637
|
-
if (G !== void 0)
|
|
3638
|
-
if (o)
|
|
3639
|
-
if (fe(G)) {
|
|
3640
|
-
for (var X = 0; X < G.length; X++)
|
|
3641
|
-
Ae(G[X], e);
|
|
3642
|
-
Object.freeze && Object.freeze(G);
|
|
3643
|
-
} else
|
|
3644
|
-
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
3645
|
-
else
|
|
3646
|
-
Ae(G, e);
|
|
3647
|
-
}
|
|
3648
|
-
if (te.call(t, "key")) {
|
|
3649
|
-
var J = x(e), U = Object.keys(t).filter(function(mt) {
|
|
3650
|
-
return mt !== "key";
|
|
3651
|
-
}), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
3652
|
-
if (!$e[J + ve]) {
|
|
3653
|
-
var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
|
|
3654
|
-
m(`A props object containing a "key" prop is being spread into JSX:
|
|
3655
|
-
let props = %s;
|
|
3656
|
-
<%s {...props} />
|
|
3657
|
-
React keys must be passed directly to JSX without using spread:
|
|
3658
|
-
let props = %s;
|
|
3659
|
-
<%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
|
|
3660
|
-
}
|
|
3661
|
-
}
|
|
3662
|
-
return e === c ? st(D) : it(D), D;
|
|
3663
|
-
}
|
|
3664
|
-
}
|
|
3665
|
-
function lt(e, t, r) {
|
|
3666
|
-
return Be(e, t, r, !0);
|
|
3667
|
-
}
|
|
3668
|
-
function ct(e, t, r) {
|
|
3669
|
-
return Be(e, t, r, !1);
|
|
3670
|
-
}
|
|
3671
|
-
var ut = ct, dt = lt;
|
|
3672
|
-
kt.Fragment = c, kt.jsx = ut, kt.jsxs = dt;
|
|
3673
|
-
}()), kt;
|
|
3674
|
-
}
|
|
3675
|
-
process.env.NODE_ENV === "production" ? Tt.exports = vr() : Tt.exports = gr();
|
|
3676
|
-
var z = Tt.exports;
|
|
3677
|
-
const hr = "_shake_oqfdb_1", kr = "_modal_oqfdb_79", br = "_sa_oqfdb_89", wr = "_ss_oqfdb_94", xr = "_sm_oqfdb_98", Cr = "_sl_oqfdb_102", jr = "_sx_oqfdb_106", Er = "_sf_oqfdb_110", Sr = "_o_oqfdb_116", Rr = "_b_oqfdb_28", Tr = "_w_oqfdb_15", Or = "_h_oqfdb_146", Dr = "_l_oqfdb_160", Pr = "_t_oqfdb_197", Nr = "_x_oqfdb_201", Fr = "_s_oqfdb_89", Mr = "_c_oqfdb_219", Ir = "_f_oqfdb_224", Ar = "_r__oqfdb_235", $r = "_c__oqfdb_250", Br = "_g_oqfdb_259", Lr = "_m_oqfdb_79", re = {
|
|
3678
|
-
shake: hr,
|
|
3679
|
-
modal: kr,
|
|
3680
|
-
sa: br,
|
|
3681
|
-
ss: wr,
|
|
3682
|
-
sm: xr,
|
|
3683
|
-
sl: Cr,
|
|
3684
|
-
sx: jr,
|
|
3685
|
-
sf: Er,
|
|
3686
|
-
o: Sr,
|
|
3687
|
-
b: Rr,
|
|
3688
|
-
w: Tr,
|
|
3689
|
-
h: Or,
|
|
3690
|
-
l: Dr,
|
|
3691
|
-
t: Pr,
|
|
3692
|
-
x: Nr,
|
|
3693
|
-
s: Fr,
|
|
3694
|
-
c: Mr,
|
|
3695
|
-
f: Ir,
|
|
3696
|
-
r_: Ar,
|
|
3697
|
-
c_: $r,
|
|
3698
|
-
g: Br,
|
|
3699
|
-
m: Lr
|
|
3700
|
-
};
|
|
3701
|
-
function Wr({ children: a, className: _ }) {
|
|
3702
|
-
return /* @__PURE__ */ z.jsx(
|
|
3703
|
-
"div",
|
|
3704
|
-
{
|
|
3705
|
-
className: [re.l, _].filter((i) => i !== void 0).join(" "),
|
|
3706
|
-
children: /* @__PURE__ */ z.jsx("ul", { children: a })
|
|
3707
|
-
}
|
|
3708
|
-
);
|
|
3709
|
-
}
|
|
3710
|
-
function Ur({ children: a, className: _ }) {
|
|
3711
|
-
return /* @__PURE__ */ z.jsx(
|
|
3712
|
-
"div",
|
|
3713
|
-
{
|
|
3714
|
-
className: [re.s, _].filter((i) => i !== void 0).join(" "),
|
|
3715
|
-
children: a
|
|
3716
|
-
}
|
|
3717
|
-
);
|
|
3718
|
-
}
|
|
3719
|
-
function qr({
|
|
3720
|
-
children: a,
|
|
3721
|
-
direction: _ = "column",
|
|
3722
|
-
className: i
|
|
3723
|
-
}) {
|
|
3724
|
-
return /* @__PURE__ */ z.jsx(
|
|
3725
|
-
"ul",
|
|
3726
|
-
{
|
|
3727
|
-
className: [
|
|
3728
|
-
re.f,
|
|
3729
|
-
re[_ === "row" ? "r_" : "c_"],
|
|
3730
|
-
i
|
|
3731
|
-
].filter((c) => c !== void 0).join(" "),
|
|
3732
|
-
children: a
|
|
3733
|
-
}
|
|
3734
|
-
);
|
|
3735
|
-
}
|
|
3736
|
-
function Kr({ children: a, className: _ }) {
|
|
3737
|
-
return /* @__PURE__ */ z.jsx(
|
|
3738
|
-
"div",
|
|
3739
|
-
{
|
|
3740
|
-
className: [re.c, _].filter((i) => i !== void 0).join(" "),
|
|
3741
|
-
children: a
|
|
3742
|
-
}
|
|
3743
|
-
);
|
|
3744
|
-
}
|
|
3745
|
-
function Gr({ children: a, className: _ }) {
|
|
3746
|
-
return /* @__PURE__ */ z.jsx(
|
|
3747
|
-
"div",
|
|
3748
|
-
{
|
|
3749
|
-
className: [re.g, _].filter((i) => i !== void 0).join(" "),
|
|
3750
|
-
children: a
|
|
3751
|
-
}
|
|
3752
|
-
);
|
|
3753
|
-
}
|
|
3754
|
-
function Yr() {
|
|
3755
|
-
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
3756
|
-
}
|
|
3757
|
-
function Lt(a) {
|
|
3758
|
-
return Yr().IMPORT_MODULES;
|
|
3759
|
-
}
|
|
3760
|
-
var Ot = { exports: {} }, ht = {};
|
|
3761
|
-
/**
|
|
3762
|
-
* @license React
|
|
3763
|
-
* react-jsx-runtime.production.min.js
|
|
3764
|
-
*
|
|
3765
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3766
|
-
*
|
|
3767
|
-
* This source code is licensed under the MIT license found in the
|
|
3768
|
-
* LICENSE file in the root directory of this source tree.
|
|
3769
|
-
*/
|
|
3770
|
-
var Wt;
|
|
3771
|
-
function zr() {
|
|
3772
|
-
if (Wt) return ht;
|
|
3773
|
-
Wt = 1;
|
|
3774
|
-
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
3775
|
-
function C(k, l, y) {
|
|
3776
|
-
var n, s = {}, b = null, j = null;
|
|
3777
|
-
y !== void 0 && (b = "" + y), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
3778
|
-
for (n in l) c.call(l, n) && !h.hasOwnProperty(n) && (s[n] = l[n]);
|
|
3779
|
-
if (k && k.defaultProps) for (n in l = k.defaultProps, l) s[n] === void 0 && (s[n] = l[n]);
|
|
3780
|
-
return { $$typeof: _, type: k, key: b, ref: j, props: s, _owner: d.current };
|
|
3781
|
-
}
|
|
3782
|
-
return ht.Fragment = i, ht.jsx = C, ht.jsxs = C, ht;
|
|
3783
|
-
}
|
|
3784
|
-
var bt = {};
|
|
3785
|
-
/**
|
|
3786
|
-
* @license React
|
|
3787
|
-
* react-jsx-runtime.development.js
|
|
3788
|
-
*
|
|
3789
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3790
|
-
*
|
|
3791
|
-
* This source code is licensed under the MIT license found in the
|
|
3792
|
-
* LICENSE file in the root directory of this source tree.
|
|
3793
|
-
*/
|
|
3794
|
-
var Ut;
|
|
3795
|
-
function Hr() {
|
|
3796
|
-
return Ut || (Ut = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3797
|
-
var a = S, _ = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), k = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), n = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), I = Symbol.iterator, q = "@@iterator";
|
|
3798
|
-
function P(e) {
|
|
3799
|
-
if (e === null || typeof e != "object")
|
|
3800
|
-
return null;
|
|
3801
|
-
var t = I && e[I] || e[q];
|
|
3802
|
-
return typeof t == "function" ? t : null;
|
|
3803
|
-
}
|
|
3804
|
-
var T = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
3805
|
-
function m(e) {
|
|
3806
|
-
{
|
|
3807
|
-
for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++)
|
|
3808
|
-
r[o - 1] = arguments[o];
|
|
3809
|
-
N("error", e, r);
|
|
3810
|
-
}
|
|
3811
|
-
}
|
|
3812
|
-
function N(e, t, r) {
|
|
3813
|
-
{
|
|
3814
|
-
var o = T.ReactDebugCurrentFrame, g = o.getStackAddendum();
|
|
3815
|
-
g !== "" && (t += "%s", r = r.concat([g]));
|
|
3816
|
-
var w = r.map(function(p) {
|
|
3817
|
-
return String(p);
|
|
3818
|
-
});
|
|
3819
|
-
w.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, w);
|
|
3820
|
-
}
|
|
3821
|
-
}
|
|
3822
|
-
var K = !1, A = !1, O = !1, $ = !1, W = !1, F;
|
|
3823
|
-
F = Symbol.for("react.module.reference");
|
|
3824
|
-
function E(e) {
|
|
3825
|
-
return !!(typeof e == "string" || typeof e == "function" || e === c || e === h || W || e === d || e === y || e === n || $ || e === j || K || A || O || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === s || e.$$typeof === C || e.$$typeof === k || e.$$typeof === l || // This needs to include all possible module reference object
|
|
3826
|
-
// types supported by any Flight configuration anywhere since
|
|
3827
|
-
// we don't know which Flight build this will end up being used
|
|
3828
|
-
// with.
|
|
3829
|
-
e.$$typeof === F || e.getModuleId !== void 0));
|
|
3830
|
-
}
|
|
3831
|
-
function B(e, t, r) {
|
|
3832
|
-
var o = e.displayName;
|
|
3833
|
-
if (o)
|
|
3834
|
-
return o;
|
|
3835
|
-
var g = t.displayName || t.name || "";
|
|
3836
|
-
return g !== "" ? r + "(" + g + ")" : r;
|
|
3837
|
-
}
|
|
3838
|
-
function v(e) {
|
|
3839
|
-
return e.displayName || "Context";
|
|
3840
|
-
}
|
|
3841
|
-
function x(e) {
|
|
3842
|
-
if (e == null)
|
|
3843
|
-
return null;
|
|
3844
|
-
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
3845
|
-
return e.displayName || e.name || null;
|
|
3846
|
-
if (typeof e == "string")
|
|
3847
|
-
return e;
|
|
3848
|
-
switch (e) {
|
|
3849
|
-
case c:
|
|
3850
|
-
return "Fragment";
|
|
3851
|
-
case i:
|
|
3852
|
-
return "Portal";
|
|
3853
|
-
case h:
|
|
3854
|
-
return "Profiler";
|
|
3855
|
-
case d:
|
|
3856
|
-
return "StrictMode";
|
|
3857
|
-
case y:
|
|
3858
|
-
return "Suspense";
|
|
3859
|
-
case n:
|
|
3860
|
-
return "SuspenseList";
|
|
3861
|
-
}
|
|
3862
|
-
if (typeof e == "object")
|
|
3863
|
-
switch (e.$$typeof) {
|
|
3864
|
-
case k:
|
|
3865
|
-
var t = e;
|
|
3866
|
-
return v(t) + ".Consumer";
|
|
3867
|
-
case C:
|
|
3868
|
-
var r = e;
|
|
3869
|
-
return v(r._context) + ".Provider";
|
|
3870
|
-
case l:
|
|
3871
|
-
return B(e, e.render, "ForwardRef");
|
|
3872
|
-
case s:
|
|
3873
|
-
var o = e.displayName || null;
|
|
3874
|
-
return o !== null ? o : x(e.type) || "Memo";
|
|
3875
|
-
case b: {
|
|
3876
|
-
var g = e, w = g._payload, p = g._init;
|
|
3877
|
-
try {
|
|
3878
|
-
return x(p(w));
|
|
3879
|
-
} catch {
|
|
3880
|
-
return null;
|
|
3881
|
-
}
|
|
3882
|
-
}
|
|
3883
|
-
}
|
|
3884
|
-
return null;
|
|
3885
|
-
}
|
|
3886
|
-
var M = Object.assign, Y = 0, Q, H, ie, le, ke, we, xe;
|
|
3887
|
-
function Ce() {
|
|
3888
|
-
}
|
|
3889
|
-
Ce.__reactDisabledLog = !0;
|
|
3890
|
-
function Ue() {
|
|
3891
|
-
{
|
|
3892
|
-
if (Y === 0) {
|
|
3893
|
-
Q = console.log, H = console.info, ie = console.warn, le = console.error, ke = console.group, we = console.groupCollapsed, xe = console.groupEnd;
|
|
3894
|
-
var e = {
|
|
3895
|
-
configurable: !0,
|
|
3896
|
-
enumerable: !0,
|
|
3897
|
-
value: Ce,
|
|
3898
|
-
writable: !0
|
|
3899
|
-
};
|
|
3900
|
-
Object.defineProperties(console, {
|
|
3901
|
-
info: e,
|
|
3902
|
-
log: e,
|
|
3903
|
-
warn: e,
|
|
3904
|
-
error: e,
|
|
3905
|
-
group: e,
|
|
3906
|
-
groupCollapsed: e,
|
|
3907
|
-
groupEnd: e
|
|
3908
|
-
});
|
|
3909
|
-
}
|
|
3910
|
-
Y++;
|
|
3911
|
-
}
|
|
3912
|
-
}
|
|
3913
|
-
function qe() {
|
|
3914
|
-
{
|
|
3915
|
-
if (Y--, Y === 0) {
|
|
3916
|
-
var e = {
|
|
3917
|
-
configurable: !0,
|
|
3918
|
-
enumerable: !0,
|
|
3919
|
-
writable: !0
|
|
3920
|
-
};
|
|
3921
|
-
Object.defineProperties(console, {
|
|
3922
|
-
log: M({}, e, {
|
|
3923
|
-
value: Q
|
|
3924
|
-
}),
|
|
3925
|
-
info: M({}, e, {
|
|
3926
|
-
value: H
|
|
3927
|
-
}),
|
|
3928
|
-
warn: M({}, e, {
|
|
3929
|
-
value: ie
|
|
3930
|
-
}),
|
|
3931
|
-
error: M({}, e, {
|
|
3932
|
-
value: le
|
|
3933
|
-
}),
|
|
3934
|
-
group: M({}, e, {
|
|
3935
|
-
value: ke
|
|
3936
|
-
}),
|
|
3937
|
-
groupCollapsed: M({}, e, {
|
|
3938
|
-
value: we
|
|
3939
|
-
}),
|
|
3940
|
-
groupEnd: M({}, e, {
|
|
3941
|
-
value: xe
|
|
3942
|
-
})
|
|
3943
|
-
});
|
|
3944
|
-
}
|
|
3945
|
-
Y < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
3946
|
-
}
|
|
3947
|
-
}
|
|
3948
|
-
var ce = T.ReactCurrentDispatcher, ue;
|
|
3949
|
-
function ae(e, t, r) {
|
|
3950
|
-
{
|
|
3951
|
-
if (ue === void 0)
|
|
3952
|
-
try {
|
|
3953
|
-
throw Error();
|
|
3954
|
-
} catch (g) {
|
|
3955
|
-
var o = g.stack.trim().match(/\n( *(at )?)/);
|
|
3956
|
-
ue = o && o[1] || "";
|
|
3957
|
-
}
|
|
3958
|
-
return `
|
|
3959
|
-
` + ue + e;
|
|
3960
|
-
}
|
|
3961
|
-
}
|
|
3962
|
-
var de = !1, ne;
|
|
3963
|
-
{
|
|
3964
|
-
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
3965
|
-
ne = new Ke();
|
|
3966
|
-
}
|
|
3967
|
-
function je(e, t) {
|
|
3968
|
-
if (!e || de)
|
|
3969
|
-
return "";
|
|
3970
|
-
{
|
|
3971
|
-
var r = ne.get(e);
|
|
3972
|
-
if (r !== void 0)
|
|
3973
|
-
return r;
|
|
3974
|
-
}
|
|
3975
|
-
var o;
|
|
3976
|
-
de = !0;
|
|
3977
|
-
var g = Error.prepareStackTrace;
|
|
3978
|
-
Error.prepareStackTrace = void 0;
|
|
3979
|
-
var w;
|
|
3980
|
-
w = ce.current, ce.current = null, Ue();
|
|
3981
|
-
try {
|
|
3982
|
-
if (t) {
|
|
3983
|
-
var p = function() {
|
|
3984
|
-
throw Error();
|
|
3985
|
-
};
|
|
3986
|
-
if (Object.defineProperty(p.prototype, "props", {
|
|
3987
|
-
set: function() {
|
|
3988
|
-
throw Error();
|
|
3989
|
-
}
|
|
3990
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
3991
|
-
try {
|
|
3992
|
-
Reflect.construct(p, []);
|
|
3993
|
-
} catch (U) {
|
|
3994
|
-
o = U;
|
|
3995
|
-
}
|
|
3996
|
-
Reflect.construct(e, [], p);
|
|
3997
|
-
} else {
|
|
3998
|
-
try {
|
|
3999
|
-
p.call();
|
|
4000
|
-
} catch (U) {
|
|
4001
|
-
o = U;
|
|
4002
|
-
}
|
|
4003
|
-
e.call(p.prototype);
|
|
4004
|
-
}
|
|
4005
|
-
} else {
|
|
4006
|
-
try {
|
|
4007
|
-
throw Error();
|
|
4008
|
-
} catch (U) {
|
|
4009
|
-
o = U;
|
|
4010
|
-
}
|
|
4011
|
-
e();
|
|
4012
|
-
}
|
|
4013
|
-
} catch (U) {
|
|
4014
|
-
if (U && o && typeof U.stack == "string") {
|
|
4015
|
-
for (var u = U.stack.split(`
|
|
4016
|
-
`), L = o.stack.split(`
|
|
4017
|
-
`), R = u.length - 1, D = L.length - 1; R >= 1 && D >= 0 && u[R] !== L[D]; )
|
|
4018
|
-
D--;
|
|
4019
|
-
for (; R >= 1 && D >= 0; R--, D--)
|
|
4020
|
-
if (u[R] !== L[D]) {
|
|
4021
|
-
if (R !== 1 || D !== 1)
|
|
4022
|
-
do
|
|
4023
|
-
if (R--, D--, D < 0 || u[R] !== L[D]) {
|
|
4024
|
-
var G = `
|
|
4025
|
-
` + u[R].replace(" at new ", " at ");
|
|
4026
|
-
return e.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, G), G;
|
|
4027
|
-
}
|
|
4028
|
-
while (R >= 1 && D >= 0);
|
|
4029
|
-
break;
|
|
4030
|
-
}
|
|
4031
|
-
}
|
|
4032
|
-
} finally {
|
|
4033
|
-
de = !1, ce.current = w, qe(), Error.prepareStackTrace = g;
|
|
4034
|
-
}
|
|
4035
|
-
var X = e ? e.displayName || e.name : "", J = X ? ae(X) : "";
|
|
4036
|
-
return typeof e == "function" && ne.set(e, J), J;
|
|
4037
|
-
}
|
|
4038
|
-
function Ge(e, t, r) {
|
|
4039
|
-
return je(e, !1);
|
|
4040
|
-
}
|
|
4041
|
-
function Ye(e) {
|
|
4042
|
-
var t = e.prototype;
|
|
4043
|
-
return !!(t && t.isReactComponent);
|
|
4044
|
-
}
|
|
4045
|
-
function oe(e, t, r) {
|
|
4046
|
-
if (e == null)
|
|
4047
|
-
return "";
|
|
4048
|
-
if (typeof e == "function")
|
|
4049
|
-
return je(e, Ye(e));
|
|
4050
|
-
if (typeof e == "string")
|
|
4051
|
-
return ae(e);
|
|
4052
|
-
switch (e) {
|
|
4053
|
-
case y:
|
|
4054
|
-
return ae("Suspense");
|
|
4055
|
-
case n:
|
|
4056
|
-
return ae("SuspenseList");
|
|
4057
|
-
}
|
|
4058
|
-
if (typeof e == "object")
|
|
4059
|
-
switch (e.$$typeof) {
|
|
4060
|
-
case l:
|
|
4061
|
-
return Ge(e.render);
|
|
4062
|
-
case s:
|
|
4063
|
-
return oe(e.type, t, r);
|
|
4064
|
-
case b: {
|
|
4065
|
-
var o = e, g = o._payload, w = o._init;
|
|
4066
|
-
try {
|
|
4067
|
-
return oe(w(g), t, r);
|
|
4068
|
-
} catch {
|
|
4069
|
-
}
|
|
4070
|
-
}
|
|
4071
|
-
}
|
|
4072
|
-
return "";
|
|
4073
|
-
}
|
|
4074
|
-
var te = Object.prototype.hasOwnProperty, Ee = {}, Se = T.ReactDebugCurrentFrame;
|
|
4075
|
-
function _e(e) {
|
|
4076
|
-
if (e) {
|
|
4077
|
-
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
4078
|
-
Se.setExtraStackFrame(r);
|
|
4079
|
-
} else
|
|
4080
|
-
Se.setExtraStackFrame(null);
|
|
4081
|
-
}
|
|
4082
|
-
function ze(e, t, r, o, g) {
|
|
4083
|
-
{
|
|
4084
|
-
var w = Function.call.bind(te);
|
|
4085
|
-
for (var p in e)
|
|
4086
|
-
if (w(e, p)) {
|
|
4087
|
-
var u = void 0;
|
|
4088
|
-
try {
|
|
4089
|
-
if (typeof e[p] != "function") {
|
|
4090
|
-
var L = Error((o || "React class") + ": " + r + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
4091
|
-
throw L.name = "Invariant Violation", L;
|
|
4092
|
-
}
|
|
4093
|
-
u = e[p](t, p, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
4094
|
-
} catch (R) {
|
|
4095
|
-
u = R;
|
|
4096
|
-
}
|
|
4097
|
-
u && !(u instanceof Error) && (_e(g), m("%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).", o || "React class", r, p, typeof u), _e(null)), u instanceof Error && !(u.message in Ee) && (Ee[u.message] = !0, _e(g), m("Failed %s type: %s", r, u.message), _e(null));
|
|
4098
|
-
}
|
|
4099
|
-
}
|
|
4100
|
-
}
|
|
4101
|
-
var He = Array.isArray;
|
|
4102
|
-
function fe(e) {
|
|
4103
|
-
return He(e);
|
|
4104
|
-
}
|
|
4105
|
-
function Je(e) {
|
|
4106
|
-
{
|
|
4107
|
-
var t = typeof Symbol == "function" && Symbol.toStringTag, r = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
4108
|
-
return r;
|
|
4109
|
-
}
|
|
4110
|
-
}
|
|
4111
|
-
function Ve(e) {
|
|
4112
|
-
try {
|
|
4113
|
-
return Re(e), !1;
|
|
4114
|
-
} catch {
|
|
4115
|
-
return !0;
|
|
4116
|
-
}
|
|
4117
|
-
}
|
|
4118
|
-
function Re(e) {
|
|
4119
|
-
return "" + e;
|
|
4120
|
-
}
|
|
4121
|
-
function Te(e) {
|
|
4122
|
-
if (Ve(e))
|
|
4123
|
-
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), Re(e);
|
|
4124
|
-
}
|
|
4125
|
-
var Oe = T.ReactCurrentOwner, Ze = {
|
|
4126
|
-
key: !0,
|
|
4127
|
-
ref: !0,
|
|
4128
|
-
__self: !0,
|
|
4129
|
-
__source: !0
|
|
4130
|
-
}, De, Pe;
|
|
4131
|
-
function Xe(e) {
|
|
4132
|
-
if (te.call(e, "ref")) {
|
|
4133
|
-
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
4134
|
-
if (t && t.isReactWarning)
|
|
4135
|
-
return !1;
|
|
4136
|
-
}
|
|
4137
|
-
return e.ref !== void 0;
|
|
4138
|
-
}
|
|
4139
|
-
function Qe(e) {
|
|
4140
|
-
if (te.call(e, "key")) {
|
|
4141
|
-
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
4142
|
-
if (t && t.isReactWarning)
|
|
4143
|
-
return !1;
|
|
4144
|
-
}
|
|
4145
|
-
return e.key !== void 0;
|
|
4146
|
-
}
|
|
4147
|
-
function et(e, t) {
|
|
4148
|
-
typeof e.ref == "string" && Oe.current;
|
|
4149
|
-
}
|
|
4150
|
-
function tt(e, t) {
|
|
4151
|
-
{
|
|
4152
|
-
var r = function() {
|
|
4153
|
-
De || (De = !0, m("%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)", t));
|
|
4154
|
-
};
|
|
4155
|
-
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
4156
|
-
get: r,
|
|
4157
|
-
configurable: !0
|
|
4158
|
-
});
|
|
4159
|
-
}
|
|
4160
|
-
}
|
|
4161
|
-
function rt(e, t) {
|
|
4162
|
-
{
|
|
4163
|
-
var r = function() {
|
|
4164
|
-
Pe || (Pe = !0, m("%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)", t));
|
|
4165
|
-
};
|
|
4166
|
-
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
4167
|
-
get: r,
|
|
4168
|
-
configurable: !0
|
|
4169
|
-
});
|
|
4170
|
-
}
|
|
4171
|
-
}
|
|
4172
|
-
var at = function(e, t, r, o, g, w, p) {
|
|
4173
|
-
var u = {
|
|
4174
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
4175
|
-
$$typeof: _,
|
|
4176
|
-
// Built-in properties that belong on the element
|
|
4177
|
-
type: e,
|
|
4178
|
-
key: t,
|
|
4179
|
-
ref: r,
|
|
4180
|
-
props: p,
|
|
4181
|
-
// Record the component responsible for creating this element.
|
|
4182
|
-
_owner: w
|
|
4183
|
-
};
|
|
4184
|
-
return u._store = {}, Object.defineProperty(u._store, "validated", {
|
|
4185
|
-
configurable: !1,
|
|
4186
|
-
enumerable: !1,
|
|
4187
|
-
writable: !0,
|
|
4188
|
-
value: !1
|
|
4189
|
-
}), Object.defineProperty(u, "_self", {
|
|
4190
|
-
configurable: !1,
|
|
4191
|
-
enumerable: !1,
|
|
4192
|
-
writable: !1,
|
|
4193
|
-
value: o
|
|
4194
|
-
}), Object.defineProperty(u, "_source", {
|
|
4195
|
-
configurable: !1,
|
|
4196
|
-
enumerable: !1,
|
|
4197
|
-
writable: !1,
|
|
4198
|
-
value: g
|
|
4199
|
-
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
4200
|
-
};
|
|
4201
|
-
function nt(e, t, r, o, g) {
|
|
4202
|
-
{
|
|
4203
|
-
var w, p = {}, u = null, L = null;
|
|
4204
|
-
r !== void 0 && (Te(r), u = "" + r), Qe(t) && (Te(t.key), u = "" + t.key), Xe(t) && (L = t.ref, et(t));
|
|
4205
|
-
for (w in t)
|
|
4206
|
-
te.call(t, w) && !Ze.hasOwnProperty(w) && (p[w] = t[w]);
|
|
4207
|
-
if (e && e.defaultProps) {
|
|
4208
|
-
var R = e.defaultProps;
|
|
4209
|
-
for (w in R)
|
|
4210
|
-
p[w] === void 0 && (p[w] = R[w]);
|
|
4211
|
-
}
|
|
4212
|
-
if (u || L) {
|
|
4213
|
-
var D = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
4214
|
-
u && tt(p, D), L && rt(p, D);
|
|
4215
|
-
}
|
|
4216
|
-
return at(e, u, L, g, o, Oe.current, p);
|
|
4217
|
-
}
|
|
4218
|
-
}
|
|
4219
|
-
var me = T.ReactCurrentOwner, Ne = T.ReactDebugCurrentFrame;
|
|
4220
|
-
function Z(e) {
|
|
4221
|
-
if (e) {
|
|
4222
|
-
var t = e._owner, r = oe(e.type, e._source, t ? t.type : null);
|
|
4223
|
-
Ne.setExtraStackFrame(r);
|
|
4224
|
-
} else
|
|
4225
|
-
Ne.setExtraStackFrame(null);
|
|
4226
|
-
}
|
|
4227
|
-
var pe;
|
|
4228
|
-
pe = !1;
|
|
4229
|
-
function ye(e) {
|
|
4230
|
-
return typeof e == "object" && e !== null && e.$$typeof === _;
|
|
4231
|
-
}
|
|
4232
|
-
function Fe() {
|
|
4233
|
-
{
|
|
4234
|
-
if (me.current) {
|
|
4235
|
-
var e = x(me.current.type);
|
|
4236
|
-
if (e)
|
|
4237
|
-
return `
|
|
4238
|
-
|
|
4239
|
-
Check the render method of \`` + e + "`.";
|
|
4240
|
-
}
|
|
4241
|
-
return "";
|
|
4242
|
-
}
|
|
4243
|
-
}
|
|
4244
|
-
function ot(e) {
|
|
4245
|
-
return "";
|
|
4246
|
-
}
|
|
4247
|
-
var Me = {};
|
|
4248
|
-
function _t(e) {
|
|
4249
|
-
{
|
|
4250
|
-
var t = Fe();
|
|
4251
|
-
if (!t) {
|
|
4252
|
-
var r = typeof e == "string" ? e : e.displayName || e.name;
|
|
4253
|
-
r && (t = `
|
|
4254
|
-
|
|
4255
|
-
Check the top-level render call using <` + r + ">.");
|
|
4256
|
-
}
|
|
4257
|
-
return t;
|
|
4258
|
-
}
|
|
4259
|
-
}
|
|
4260
|
-
function Ie(e, t) {
|
|
4261
|
-
{
|
|
4262
|
-
if (!e._store || e._store.validated || e.key != null)
|
|
4263
|
-
return;
|
|
4264
|
-
e._store.validated = !0;
|
|
4265
|
-
var r = _t(t);
|
|
4266
|
-
if (Me[r])
|
|
4267
|
-
return;
|
|
4268
|
-
Me[r] = !0;
|
|
4269
|
-
var o = "";
|
|
4270
|
-
e && e._owner && e._owner !== me.current && (o = " It was passed a child from " + x(e._owner.type) + "."), Z(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), Z(null);
|
|
4271
|
-
}
|
|
4272
|
-
}
|
|
4273
|
-
function Ae(e, t) {
|
|
4274
|
-
{
|
|
4275
|
-
if (typeof e != "object")
|
|
4276
|
-
return;
|
|
4277
|
-
if (fe(e))
|
|
4278
|
-
for (var r = 0; r < e.length; r++) {
|
|
4279
|
-
var o = e[r];
|
|
4280
|
-
ye(o) && Ie(o, t);
|
|
4281
|
-
}
|
|
4282
|
-
else if (ye(e))
|
|
4283
|
-
e._store && (e._store.validated = !0);
|
|
4284
|
-
else if (e) {
|
|
4285
|
-
var g = P(e);
|
|
4286
|
-
if (typeof g == "function" && g !== e.entries)
|
|
4287
|
-
for (var w = g.call(e), p; !(p = w.next()).done; )
|
|
4288
|
-
ye(p.value) && Ie(p.value, t);
|
|
4289
|
-
}
|
|
4290
|
-
}
|
|
4291
|
-
}
|
|
4292
|
-
function it(e) {
|
|
4293
|
-
{
|
|
4294
|
-
var t = e.type;
|
|
4295
|
-
if (t == null || typeof t == "string")
|
|
4296
|
-
return;
|
|
4297
|
-
var r;
|
|
4298
|
-
if (typeof t == "function")
|
|
4299
|
-
r = t.propTypes;
|
|
4300
|
-
else if (typeof t == "object" && (t.$$typeof === l || // Note: Memo only checks outer props here.
|
|
4301
|
-
// Inner props are checked in the reconciler.
|
|
4302
|
-
t.$$typeof === s))
|
|
4303
|
-
r = t.propTypes;
|
|
4304
|
-
else
|
|
4305
|
-
return;
|
|
4306
|
-
if (r) {
|
|
4307
|
-
var o = x(t);
|
|
4308
|
-
ze(r, e.props, "prop", o, e);
|
|
4309
|
-
} else if (t.PropTypes !== void 0 && !pe) {
|
|
4310
|
-
pe = !0;
|
|
4311
|
-
var g = x(t);
|
|
4312
|
-
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", g || "Unknown");
|
|
4313
|
-
}
|
|
4314
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
4315
|
-
}
|
|
4316
|
-
}
|
|
4317
|
-
function st(e) {
|
|
4318
|
-
{
|
|
4319
|
-
for (var t = Object.keys(e.props), r = 0; r < t.length; r++) {
|
|
4320
|
-
var o = t[r];
|
|
4321
|
-
if (o !== "children" && o !== "key") {
|
|
4322
|
-
Z(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Z(null);
|
|
4323
|
-
break;
|
|
4324
|
-
}
|
|
4325
|
-
}
|
|
4326
|
-
e.ref !== null && (Z(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), Z(null));
|
|
4327
|
-
}
|
|
4328
|
-
}
|
|
4329
|
-
var $e = {};
|
|
4330
|
-
function Be(e, t, r, o, g, w) {
|
|
4331
|
-
{
|
|
4332
|
-
var p = E(e);
|
|
4333
|
-
if (!p) {
|
|
4334
|
-
var u = "";
|
|
4335
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
4336
|
-
var L = ot();
|
|
4337
|
-
L ? u += L : u += Fe();
|
|
4338
|
-
var R;
|
|
4339
|
-
e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === _ ? (R = "<" + (x(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, u);
|
|
4340
|
-
}
|
|
4341
|
-
var D = nt(e, t, r, g, w);
|
|
4342
|
-
if (D == null)
|
|
4343
|
-
return D;
|
|
4344
|
-
if (p) {
|
|
4345
|
-
var G = t.children;
|
|
4346
|
-
if (G !== void 0)
|
|
4347
|
-
if (o)
|
|
4348
|
-
if (fe(G)) {
|
|
4349
|
-
for (var X = 0; X < G.length; X++)
|
|
4350
|
-
Ae(G[X], e);
|
|
4351
|
-
Object.freeze && Object.freeze(G);
|
|
4352
|
-
} else
|
|
4353
|
-
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
4354
|
-
else
|
|
4355
|
-
Ae(G, e);
|
|
4356
|
-
}
|
|
4357
|
-
if (te.call(t, "key")) {
|
|
4358
|
-
var J = x(e), U = Object.keys(t).filter(function(mt) {
|
|
4359
|
-
return mt !== "key";
|
|
4360
|
-
}), ve = U.length > 0 ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
4361
|
-
if (!$e[J + ve]) {
|
|
4362
|
-
var ft = U.length > 0 ? "{" + U.join(": ..., ") + ": ...}" : "{}";
|
|
4363
|
-
m(`A props object containing a "key" prop is being spread into JSX:
|
|
4364
|
-
let props = %s;
|
|
4365
|
-
<%s {...props} />
|
|
4366
|
-
React keys must be passed directly to JSX without using spread:
|
|
4367
|
-
let props = %s;
|
|
4368
|
-
<%s key={someKey} {...props} />`, ve, J, ft, J), $e[J + ve] = !0;
|
|
4369
|
-
}
|
|
4370
|
-
}
|
|
4371
|
-
return e === c ? st(D) : it(D), D;
|
|
4372
|
-
}
|
|
4373
|
-
}
|
|
4374
|
-
function lt(e, t, r) {
|
|
4375
|
-
return Be(e, t, r, !0);
|
|
4376
|
-
}
|
|
4377
|
-
function ct(e, t, r) {
|
|
4378
|
-
return Be(e, t, r, !1);
|
|
4379
|
-
}
|
|
4380
|
-
var ut = ct, dt = lt;
|
|
4381
|
-
bt.Fragment = c, bt.jsx = ut, bt.jsxs = dt;
|
|
4382
|
-
}()), bt;
|
|
4383
|
-
}
|
|
4384
|
-
process.env.NODE_ENV === "production" ? Ot.exports = zr() : Ot.exports = Hr();
|
|
4385
|
-
var Et = Ot.exports;
|
|
4386
|
-
const Jr = "_btn_1k1b3_1", Vr = "_confirm_1k1b3_15", Zr = "_cancel_1k1b3_20", Xr = "_action_1k1b3_25", Qr = "_disabled_1k1b3_30", ea = "_m_1k1b3_44", ta = "_l_1k1b3_48", wt = {
|
|
4387
|
-
btn: Jr,
|
|
4388
|
-
confirm: Vr,
|
|
4389
|
-
cancel: Zr,
|
|
4390
|
-
action: Xr,
|
|
4391
|
-
disabled: Qr,
|
|
4392
|
-
await: "_await_1k1b3_37",
|
|
4393
|
-
m: ea,
|
|
4394
|
-
l: ta
|
|
4395
|
-
}, ra = ({
|
|
4396
|
-
onClick: a,
|
|
4397
|
-
onSend: _,
|
|
4398
|
-
size: i = "m",
|
|
4399
|
-
view: c = "confirm",
|
|
4400
|
-
children: d,
|
|
4401
|
-
isDisabled: h = !1,
|
|
4402
|
-
className: C,
|
|
4403
|
-
after: k,
|
|
4404
|
-
before: l,
|
|
4405
|
-
label: y,
|
|
4406
|
-
onRef: n,
|
|
4407
|
-
awaitText: s = "Ожидайте"
|
|
4408
|
-
}) => {
|
|
4409
|
-
let [b, j] = S.useState(!1);
|
|
4410
|
-
const I = (P) => {
|
|
4411
|
-
if (a) return a();
|
|
4412
|
-
b || (_ ? (j(!0), _(j)) : P.preventDefault());
|
|
4413
|
-
};
|
|
4414
|
-
let q = {};
|
|
4415
|
-
return (h || b) && (q.disabled = !0), /* @__PURE__ */ Et.jsx(
|
|
4416
|
-
"button",
|
|
4417
|
-
{
|
|
4418
|
-
...q,
|
|
4419
|
-
ref: n,
|
|
4420
|
-
className: [
|
|
4421
|
-
wt.btn,
|
|
4422
|
-
b ? wt.disabled : wt[c],
|
|
4423
|
-
i && wt[i],
|
|
4424
|
-
C
|
|
4425
|
-
].filter((P) => P != "").join(" "),
|
|
4426
|
-
onClick: I,
|
|
4427
|
-
children: b ? s : /* @__PURE__ */ Et.jsxs(Et.Fragment, { children: [
|
|
4428
|
-
l || "",
|
|
4429
|
-
" ",
|
|
4430
|
-
y,
|
|
4431
|
-
" ",
|
|
4432
|
-
k || ""
|
|
4433
|
-
] }) || d
|
|
4434
|
-
}
|
|
4435
|
-
);
|
|
4436
|
-
};
|
|
4437
|
-
let ge = {};
|
|
4438
|
-
function aa({ children: a }) {
|
|
4439
|
-
return /* @__PURE__ */ z.jsx(z.Fragment, { children: a });
|
|
4440
|
-
}
|
|
4441
|
-
var Ct;
|
|
4442
|
-
((a) => {
|
|
4443
|
-
function _({
|
|
4444
|
-
import_modules: n
|
|
4445
|
-
}) {
|
|
4446
|
-
let [s, b] = S.useState([]);
|
|
4447
|
-
return ge.x = (j) => {
|
|
4448
|
-
b(j ? s.filter((I) => I.key !== j) : []);
|
|
4449
|
-
}, Kt(() => {
|
|
4450
|
-
n && (ge.i = n);
|
|
4451
|
-
}, []), ge.add = (j, I = Date.now()) => {
|
|
4452
|
-
b([...s, { key: I, item: j }]);
|
|
4453
|
-
}, /* @__PURE__ */ z.jsx(z.Fragment, { children: s.map((j) => j.item) });
|
|
4454
|
-
}
|
|
4455
|
-
a.Init = _;
|
|
4456
|
-
function i(n) {
|
|
4457
|
-
return n && (ge.i = n), ge.i;
|
|
4458
|
-
}
|
|
4459
|
-
a.Import = i, a.List = Wr, a.Scroll = Ur, a.Form = qr, a.Center = Kr, a.Column = Gr;
|
|
4460
|
-
function c(n, s, b) {
|
|
4461
|
-
ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((j) => {
|
|
4462
|
-
j.default.Open(b);
|
|
4463
|
-
}) : Lt()(`${n}/modal/${s}.tsx`).then((j) => {
|
|
4464
|
-
j.default.Open(b);
|
|
4465
|
-
});
|
|
4466
|
-
}
|
|
4467
|
-
a.Open = c;
|
|
4468
|
-
function d({ type: n, name: s, params: b }) {
|
|
4469
|
-
let [j, I] = S.useState(null);
|
|
4470
|
-
return S.useEffect(() => {
|
|
4471
|
-
ge.i ? ge.i(`${n}/modal/${s}.tsx`).then((q) => {
|
|
4472
|
-
I(q.default.Icon(b));
|
|
4473
|
-
}) : Lt()(`${n}/modal/${s}.tsx`).then((q) => {
|
|
4474
|
-
I(q.default.Icon(b));
|
|
4475
|
-
});
|
|
4476
|
-
}, [b.id]), /* @__PURE__ */ z.jsx(z.Fragment, { children: j });
|
|
4477
|
-
}
|
|
4478
|
-
a.Icon = d;
|
|
4479
|
-
function h(n, s) {
|
|
4480
|
-
ge.add(/* @__PURE__ */ z.jsx(aa, { children: n }, String(Date.now())), s);
|
|
4481
|
-
}
|
|
4482
|
-
a.Add = h;
|
|
4483
|
-
function C(n) {
|
|
4484
|
-
ge.x(n);
|
|
4485
|
-
}
|
|
4486
|
-
a.Close = C;
|
|
4487
|
-
function k(n) {
|
|
4488
|
-
if (n.target.classList[0] !== "modal") return;
|
|
4489
|
-
let s = n.target.children[0];
|
|
4490
|
-
s.setAttribute("shake", !0), setTimeout(() => {
|
|
4491
|
-
s.setAttribute("shake", !1);
|
|
4492
|
-
}, 1e3);
|
|
4493
|
-
}
|
|
4494
|
-
a.Shake = k;
|
|
4495
|
-
function l(n, s) {
|
|
4496
|
-
const b = (j) => {
|
|
4497
|
-
a.Add(
|
|
4498
|
-
/* @__PURE__ */ z.jsx(n, { ...j }, (/* @__PURE__ */ new Date()).getTime())
|
|
4499
|
-
);
|
|
4500
|
-
};
|
|
4501
|
-
return {
|
|
4502
|
-
Icon: (j) => /* @__PURE__ */ z.jsx("i", { onClick: () => b(j), children: s && /* @__PURE__ */ z.jsx(s, {}) }),
|
|
4503
|
-
Open: b
|
|
4504
|
-
};
|
|
4505
|
-
}
|
|
4506
|
-
a.Create = l;
|
|
4507
|
-
function y({
|
|
4508
|
-
title: n,
|
|
4509
|
-
children: s,
|
|
4510
|
-
button: b,
|
|
4511
|
-
tabs: j,
|
|
4512
|
-
size: I = "m",
|
|
4513
|
-
className: q = "",
|
|
4514
|
-
shake: P = !0,
|
|
4515
|
-
menu: T
|
|
4516
|
-
}) {
|
|
4517
|
-
const [m, N] = S.useState(!0), K = S.useRef(), A = ($) => {
|
|
4518
|
-
if (b) {
|
|
4519
|
-
if (b.onClick)
|
|
4520
|
-
return $(!1), b.onClick({ setOpen: N });
|
|
4521
|
-
if (b.onSend)
|
|
4522
|
-
return b.onSend({
|
|
4523
|
-
setOpen: N,
|
|
4524
|
-
disabled: $
|
|
4525
|
-
});
|
|
4526
|
-
}
|
|
4527
|
-
}, O = () => {
|
|
4528
|
-
if (!P) return N(!1);
|
|
4529
|
-
K.current.setAttribute("shake", !0), setTimeout(() => {
|
|
4530
|
-
K.current.setAttribute("shake", !1);
|
|
4531
|
-
}, 1e3);
|
|
4532
|
-
};
|
|
4533
|
-
return m ? /* @__PURE__ */ z.jsxs("div", { className: `${re.modal}`, children: [
|
|
4534
|
-
/* @__PURE__ */ z.jsx("div", { className: re.o, onClick: O }),
|
|
4535
|
-
/* @__PURE__ */ z.jsxs(
|
|
4536
|
-
"div",
|
|
4537
|
-
{
|
|
4538
|
-
className: [re.w, re[`s${I}`], q].filter(($) => $ != "").join(" "),
|
|
4539
|
-
ref: K,
|
|
4540
|
-
children: [
|
|
4541
|
-
/* @__PURE__ */ z.jsxs("div", { className: re.h, children: [
|
|
4542
|
-
/* @__PURE__ */ z.jsx("div", { className: re.t, children: n }),
|
|
4543
|
-
/* @__PURE__ */ z.jsxs("div", { className: re.m, children: [
|
|
4544
|
-
j && /* @__PURE__ */ z.jsx("nav", { children: j.map(($, W) => /* @__PURE__ */ z.jsx(
|
|
4545
|
-
"span",
|
|
4546
|
-
{
|
|
4547
|
-
onClick: $.onClick,
|
|
4548
|
-
className: $.active ? "active" : "",
|
|
4549
|
-
children: $.name
|
|
4550
|
-
},
|
|
4551
|
-
W
|
|
4552
|
-
)) }),
|
|
4553
|
-
T
|
|
4554
|
-
] }),
|
|
4555
|
-
/* @__PURE__ */ z.jsx(
|
|
4556
|
-
"div",
|
|
4557
|
-
{
|
|
4558
|
-
className: re.x,
|
|
4559
|
-
onClick: () => {
|
|
4560
|
-
N(!1);
|
|
4561
|
-
},
|
|
4562
|
-
children: /* @__PURE__ */ z.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ z.jsx(
|
|
4563
|
-
"path",
|
|
4564
|
-
{
|
|
4565
|
-
d: "M20 5L5 20M5 5L20 20",
|
|
4566
|
-
stroke: "currentColor",
|
|
4567
|
-
strokeWidth: "2.5",
|
|
4568
|
-
strokeLinecap: "round",
|
|
4569
|
-
strokeLinejoin: "round"
|
|
4570
|
-
}
|
|
4571
|
-
) })
|
|
4572
|
-
}
|
|
4573
|
-
)
|
|
4574
|
-
] }),
|
|
4575
|
-
s,
|
|
4576
|
-
b && /* @__PURE__ */ z.jsx("div", { className: re.b, children: /* @__PURE__ */ z.jsx(
|
|
4577
|
-
ra,
|
|
4578
|
-
{
|
|
4579
|
-
label: b.label,
|
|
4580
|
-
onSend: A,
|
|
4581
|
-
className: re.btn,
|
|
4582
|
-
size: b.size
|
|
4583
|
-
}
|
|
4584
|
-
) })
|
|
4585
|
-
]
|
|
4586
|
-
}
|
|
4587
|
-
)
|
|
4588
|
-
] }) : "";
|
|
4589
|
-
}
|
|
4590
|
-
a.Main = y;
|
|
4591
|
-
})(Ct || (Ct = {}));
|
|
4592
|
-
const na = (a, _ = ",") => (a = a !== void 0 && a !== "" ? a.split(_) : [], a.filter((i) => i !== "").reduce((i, c) => (i[c] = !0, i), {}));
|
|
4593
|
-
function ba({
|
|
4594
|
-
value: a,
|
|
4595
|
-
onValue: _,
|
|
4596
|
-
name: i,
|
|
4597
|
-
placeholder: c = "",
|
|
4598
|
-
separator: d = ",",
|
|
4599
|
-
title: h,
|
|
4600
|
-
error: C,
|
|
4601
|
-
hide: k = !1,
|
|
4602
|
-
edit: l = !0,
|
|
4603
|
-
active: y = !0,
|
|
4604
|
-
outFormat: n = "object",
|
|
4605
|
-
after: s = "",
|
|
4606
|
-
modal: b,
|
|
4607
|
-
options: j,
|
|
4608
|
-
className: I
|
|
4609
|
-
}) {
|
|
4610
|
-
const [q, P] = S.useState(na(a, d)), T = (m) => {
|
|
4611
|
-
if (!(l && y) || !b) return;
|
|
4612
|
-
let N = b.split(".");
|
|
4613
|
-
Ct.Open(N[0], N[1], {
|
|
4614
|
-
callback: (K) => {
|
|
4615
|
-
if (_)
|
|
4616
|
-
switch (n) {
|
|
4617
|
-
case "array":
|
|
4618
|
-
_({ value: Object.keys(K), name: i });
|
|
4619
|
-
break;
|
|
4620
|
-
case "string":
|
|
4621
|
-
_({
|
|
4622
|
-
value: Object.keys(K).filter((A) => K[A]).join(d),
|
|
4623
|
-
name: i
|
|
4624
|
-
});
|
|
4625
|
-
break;
|
|
4626
|
-
default:
|
|
4627
|
-
_({ value: K, name: i });
|
|
4628
|
-
}
|
|
4629
|
-
P(
|
|
4630
|
-
Object.fromEntries(
|
|
4631
|
-
Object.entries(K).filter(
|
|
4632
|
-
([A, O]) => O !== !1
|
|
4633
|
-
)
|
|
4634
|
-
)
|
|
4635
|
-
);
|
|
4636
|
-
},
|
|
4637
|
-
onValue: _,
|
|
4638
|
-
options: j,
|
|
4639
|
-
name: i,
|
|
4640
|
-
value: q
|
|
4641
|
-
});
|
|
4642
|
-
};
|
|
4643
|
-
return k ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
4644
|
-
he,
|
|
4645
|
-
{
|
|
4646
|
-
type: "group",
|
|
4647
|
-
title: h,
|
|
4648
|
-
error: C,
|
|
4649
|
-
element_blok: { className: [I] },
|
|
4650
|
-
element_input: {
|
|
4651
|
-
className: [ee.g],
|
|
4652
|
-
props: {
|
|
4653
|
-
onClick: T
|
|
4654
|
-
}
|
|
4655
|
-
},
|
|
4656
|
-
children: Object.keys(q).map((m) => {
|
|
4657
|
-
var N;
|
|
4658
|
-
return /* @__PURE__ */ f.jsx("div", { children: (N = j[m]) == null ? void 0 : N.label }, m);
|
|
4659
|
-
})
|
|
4660
|
-
}
|
|
4661
|
-
);
|
|
4662
|
-
}
|
|
4663
|
-
const oa = "_o_1wehm_12", _a = "_l_1wehm_22", ia = "_f_1wehm_81", Dt = {
|
|
4664
|
-
o: oa,
|
|
4665
|
-
l: _a,
|
|
4666
|
-
f: ia
|
|
4667
|
-
};
|
|
4668
|
-
function wa({
|
|
4669
|
-
title: a,
|
|
4670
|
-
error: _,
|
|
4671
|
-
edit: i = !0,
|
|
4672
|
-
active: c = !0,
|
|
4673
|
-
hide: d,
|
|
4674
|
-
value: h = 0,
|
|
4675
|
-
onValue: C,
|
|
4676
|
-
options: k,
|
|
4677
|
-
placeholder: l = "",
|
|
4678
|
-
className: y,
|
|
4679
|
-
isIcon: n = !0,
|
|
4680
|
-
name: s,
|
|
4681
|
-
after: b,
|
|
4682
|
-
view: j,
|
|
4683
|
-
order: I,
|
|
4684
|
-
isReload: q = !1
|
|
4685
|
-
}) {
|
|
4686
|
-
const P = S.useRef(null), [T, m] = S.useState(h), [N, K] = S.useState(k), [A, O] = S.useState(!1);
|
|
4687
|
-
S.useEffect(() => {
|
|
4688
|
-
m(h), K(k);
|
|
4689
|
-
}, [h, k]);
|
|
4690
|
-
const $ = Array.isArray(N), W = $ ? N.length : Object.keys(N || {}).length, F = (M) => {
|
|
4691
|
-
var Y;
|
|
4692
|
-
if ($) {
|
|
4693
|
-
const Q = N.find(
|
|
4694
|
-
(H) => (H.id || H.i) === M
|
|
4695
|
-
);
|
|
4696
|
-
return Q == null ? void 0 : Q.n;
|
|
4697
|
-
} else
|
|
4698
|
-
return (Y = N == null ? void 0 : N[M]) == null ? void 0 : Y.n;
|
|
4699
|
-
};
|
|
4700
|
-
d = !!(d && (h === 0 || F(h) === void 0)) && !(i && c);
|
|
4701
|
-
const B = (M) => {
|
|
4702
|
-
m(M), C && C({ value: M, name: s, reload: q });
|
|
4703
|
-
}, v = (M) => {
|
|
4704
|
-
W !== 0 && i && c && (P.position = P.current.getBoundingClientRect(), O(!0));
|
|
4705
|
-
}, x = {};
|
|
4706
|
-
return l && (x.placeholder = l), d ? "" : /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
4707
|
-
/* @__PURE__ */ f.jsx(
|
|
4708
|
-
he,
|
|
4709
|
-
{
|
|
4710
|
-
type: "select",
|
|
4711
|
-
title: a,
|
|
4712
|
-
element_blok: { className: [y] },
|
|
4713
|
-
error: _,
|
|
4714
|
-
element_input: {
|
|
4715
|
-
className: [Dt.f],
|
|
4716
|
-
props: { onClick: v }
|
|
4717
|
-
},
|
|
4718
|
-
ref: P,
|
|
4719
|
-
children: /* @__PURE__ */ f.jsx("div", { ...x, children: F(T) || l || "" })
|
|
4720
|
-
}
|
|
4721
|
-
),
|
|
4722
|
-
A && Nt(
|
|
4723
|
-
/* @__PURE__ */ f.jsx(
|
|
4724
|
-
sa,
|
|
4725
|
-
{
|
|
4726
|
-
parent: P.position,
|
|
4727
|
-
onValue: B,
|
|
4728
|
-
view: j,
|
|
4729
|
-
className: y,
|
|
4730
|
-
options: N,
|
|
4731
|
-
order: I,
|
|
4732
|
-
setOpen: O
|
|
4733
|
-
},
|
|
4734
|
-
(/* @__PURE__ */ new Date()).getTime()
|
|
4735
|
-
),
|
|
4736
|
-
document.body
|
|
4737
|
-
)
|
|
4738
|
-
] });
|
|
4739
|
-
}
|
|
4740
|
-
const sa = ({
|
|
4741
|
-
onValue: a,
|
|
4742
|
-
parent: _,
|
|
4743
|
-
className: i,
|
|
4744
|
-
options: c,
|
|
4745
|
-
order: d,
|
|
4746
|
-
setOpen: h
|
|
4747
|
-
}) => {
|
|
4748
|
-
let C = () => {
|
|
4749
|
-
h(!1);
|
|
4750
|
-
}, k = (n) => {
|
|
4751
|
-
h(!1), a(n);
|
|
4752
|
-
}, l = window.innerHeight - _.y + _.height < 320 ? _.y - 312 : _.y + 33, y = window.innerWidth - _.x < 265 ? _.x - 235 : _.x;
|
|
4753
|
-
return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
|
|
4754
|
-
/* @__PURE__ */ f.jsx(
|
|
4755
|
-
"div",
|
|
4756
|
-
{
|
|
4757
|
-
className: Dt.o,
|
|
4758
|
-
onClick: C
|
|
4759
|
-
},
|
|
4760
|
-
(/* @__PURE__ */ new Date()).getTime()
|
|
4761
|
-
),
|
|
4762
|
-
/* @__PURE__ */ f.jsx(
|
|
4763
|
-
"div",
|
|
4764
|
-
{
|
|
4765
|
-
className: [Dt.l, i].filter((n) => n !== void 0).join(" "),
|
|
4766
|
-
style: {
|
|
4767
|
-
top: l + "px",
|
|
4768
|
-
left: y + "px",
|
|
4769
|
-
width: _.width
|
|
4770
|
-
},
|
|
4771
|
-
children: /* @__PURE__ */ f.jsx(la, { order: d, options: c, link: k })
|
|
4772
|
-
}
|
|
4773
|
-
)
|
|
4774
|
-
] });
|
|
4775
|
-
}, la = ({ order: a, options: _, link: i }) => {
|
|
4776
|
-
if (Array.isArray(_)) {
|
|
4777
|
-
const d = _;
|
|
4778
|
-
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((h, C) => {
|
|
4779
|
-
const k = d.find(
|
|
4780
|
-
(y) => (y.id || y.i) === h
|
|
4781
|
-
);
|
|
4782
|
-
if (!k || k.s === 0 || !k.n) return null;
|
|
4783
|
-
const l = k.id || k.i;
|
|
4784
|
-
return l === void 0 ? null : /* @__PURE__ */ f.jsx(
|
|
4785
|
-
"li",
|
|
4786
|
-
{
|
|
4787
|
-
onClick: () => {
|
|
4788
|
-
i(l);
|
|
4789
|
-
},
|
|
4790
|
-
children: k.n
|
|
4791
|
-
},
|
|
4792
|
-
`${l}-${C}`
|
|
4793
|
-
);
|
|
4794
|
-
}) }) : /* @__PURE__ */ f.jsx("ul", { children: d.map((h, C) => {
|
|
4795
|
-
if (h.s === 0 || !h.n) return null;
|
|
4796
|
-
const k = h.id || h.i;
|
|
4797
|
-
return k === void 0 ? null : /* @__PURE__ */ f.jsx(
|
|
4798
|
-
"li",
|
|
4799
|
-
{
|
|
4800
|
-
onClick: () => {
|
|
4801
|
-
i(k);
|
|
4802
|
-
},
|
|
4803
|
-
children: h.n
|
|
4804
|
-
},
|
|
4805
|
-
`${k}-${C}`
|
|
4806
|
-
);
|
|
4807
|
-
}) });
|
|
4808
|
-
}
|
|
4809
|
-
return a ? /* @__PURE__ */ f.jsx("ul", { children: a.map((d, h) => {
|
|
4810
|
-
const C = _[d];
|
|
4811
|
-
return !C || C.s === 0 || !C.n ? null : /* @__PURE__ */ f.jsx(
|
|
4812
|
-
"li",
|
|
4813
|
-
{
|
|
4814
|
-
onClick: () => {
|
|
4815
|
-
i(d);
|
|
4816
|
-
},
|
|
4817
|
-
children: C.n
|
|
4818
|
-
},
|
|
4819
|
-
`${d}-${h}`
|
|
4820
|
-
);
|
|
4821
|
-
}) }) : /* @__PURE__ */ f.jsx("ul", { children: Object.keys(_ || {}).map((d, h) => {
|
|
4822
|
-
const C = Number(d), k = _[C];
|
|
4823
|
-
return !k || k.s === 0 || !k.n ? null : /* @__PURE__ */ f.jsx(
|
|
4824
|
-
"li",
|
|
4825
|
-
{
|
|
4826
|
-
onClick: () => {
|
|
4827
|
-
i(C);
|
|
4828
|
-
},
|
|
4829
|
-
children: k.n
|
|
4830
|
-
},
|
|
4831
|
-
`${C}-${h}`
|
|
4832
|
-
);
|
|
4833
|
-
}) });
|
|
4834
|
-
};
|
|
4835
|
-
function xa({
|
|
4836
|
-
value: a,
|
|
4837
|
-
onValue: _,
|
|
4838
|
-
name: i,
|
|
4839
|
-
placeholder: c = "",
|
|
4840
|
-
title: d,
|
|
4841
|
-
error: h,
|
|
4842
|
-
hide: C = !1,
|
|
4843
|
-
edit: k = !0,
|
|
4844
|
-
show: l = !0,
|
|
4845
|
-
active: y = !0,
|
|
4846
|
-
after: n = "",
|
|
4847
|
-
view: s,
|
|
4848
|
-
modal: b,
|
|
4849
|
-
options: j,
|
|
4850
|
-
className: I
|
|
4851
|
-
}) {
|
|
4852
|
-
const q = (O) => O ? Array.isArray(O) ? O[1] || "" : O : "", P = (O) => Array.isArray(O) && O.length >= 2 ? [O[0], O[1]] : typeof O == "object" && O.id !== void 0 && O.name !== void 0 ? [O.id, O.name] : O, T = (O) => {
|
|
4853
|
-
const $ = P(O);
|
|
4854
|
-
_ && _({ value: $, name: i }), N($);
|
|
4855
|
-
}, [m, N] = S.useState(a);
|
|
4856
|
-
S.useEffect(() => {
|
|
4857
|
-
N(a);
|
|
4858
|
-
}, [a]);
|
|
4859
|
-
const K = (O) => {
|
|
4860
|
-
if (!(k && y) || !b) return;
|
|
4861
|
-
let $ = b.split(".");
|
|
4862
|
-
if ($.length < 2)
|
|
4863
|
-
return;
|
|
4864
|
-
const W = Array.isArray(m) ? m[0] : m;
|
|
4865
|
-
Ct.Open($[0], $[1], {
|
|
4866
|
-
callback: T,
|
|
4867
|
-
onValue: T,
|
|
4868
|
-
options: j,
|
|
4869
|
-
name: i,
|
|
4870
|
-
value: W
|
|
4871
|
-
});
|
|
4872
|
-
}, A = {};
|
|
4873
|
-
return c && (A.placeholder = c), C ? /* @__PURE__ */ f.jsx(f.Fragment, {}) : /* @__PURE__ */ f.jsx(
|
|
4874
|
-
he,
|
|
4875
|
-
{
|
|
4876
|
-
type: "input",
|
|
4877
|
-
title: d,
|
|
4878
|
-
element_blok: { className: [I] },
|
|
4879
|
-
error: h,
|
|
4880
|
-
element_input: {
|
|
4881
|
-
className: [ee.w],
|
|
4882
|
-
props: { onClick: K }
|
|
4883
|
-
},
|
|
4884
|
-
children: /* @__PURE__ */ f.jsx("div", { ...A, children: q(m) })
|
|
4885
|
-
}
|
|
4886
|
-
);
|
|
4887
|
-
}
|
|
4888
|
-
function Ca({
|
|
4889
|
-
value: a,
|
|
4890
|
-
onValue: _,
|
|
4891
|
-
onSave: i,
|
|
4892
|
-
name: c,
|
|
4893
|
-
placeholder: d = "",
|
|
4894
|
-
className: h,
|
|
4895
|
-
title: C,
|
|
4896
|
-
error: k,
|
|
4897
|
-
edit: l = !0,
|
|
4898
|
-
active: y = !0,
|
|
4899
|
-
reload: n = !1,
|
|
4900
|
-
native: s = !1,
|
|
4901
|
-
isShow: b = !1,
|
|
4902
|
-
maxLength: j,
|
|
4903
|
-
eyes: I = [],
|
|
4904
|
-
after: q = ""
|
|
4905
|
-
}) {
|
|
4906
|
-
const [P, T] = S.useState(b);
|
|
4907
|
-
let m = (W) => {
|
|
4908
|
-
_ && _({
|
|
4909
|
-
value: W.target.textContent,
|
|
4910
|
-
name: c,
|
|
4911
|
-
reload: n
|
|
4912
|
-
});
|
|
4913
|
-
}, N = (W) => {
|
|
4914
|
-
W.key === "Enter" && W.preventDefault();
|
|
4915
|
-
}, K = (W) => {
|
|
4916
|
-
W.preventDefault(), navigator.clipboard.readText().then((F) => {
|
|
4917
|
-
if (j) {
|
|
4918
|
-
let E = W.target.textContent.length;
|
|
4919
|
-
if (E >= j) return;
|
|
4920
|
-
j -= E, F = F.slice(0, j);
|
|
4921
|
-
}
|
|
4922
|
-
window.document.execCommand(
|
|
4923
|
-
"insertText",
|
|
4924
|
-
!1,
|
|
4925
|
-
F.replace(/(\r\n|\n|\r)/gm, " ")
|
|
4926
|
-
);
|
|
4927
|
-
}).catch((F) => {
|
|
4928
|
-
});
|
|
4929
|
-
}, A = (W) => {
|
|
4930
|
-
V.Blur(W), i == null || i({ value: W.target.textContent.trim(), name: c });
|
|
4931
|
-
};
|
|
4932
|
-
const O = {};
|
|
4933
|
-
O.field = "password", P && (O.show = ""), h && (O.className = h);
|
|
4934
|
-
const $ = {};
|
|
4935
|
-
return d && ($.placeholder = d), s ? "" : /* @__PURE__ */ f.jsxs("dl", { ...O, children: [
|
|
4936
|
-
C ? /* @__PURE__ */ f.jsx("dt", { children: C }) : "",
|
|
4937
|
-
/* @__PURE__ */ f.jsx(
|
|
4938
|
-
"dd",
|
|
4939
|
-
{
|
|
4940
|
-
onPaste: K,
|
|
4941
|
-
onInput: m,
|
|
4942
|
-
onKeyDown: N,
|
|
4943
|
-
onBlur: A,
|
|
4944
|
-
contentEditable: l && y ? V.ContentEditable : "false",
|
|
4945
|
-
...$,
|
|
4946
|
-
suppressContentEditableWarning: !0,
|
|
4947
|
-
children: a
|
|
4948
|
-
}
|
|
4949
|
-
),
|
|
4950
|
-
I[0] && /* @__PURE__ */ f.jsx("i", { onClick: () => T(!P), children: P ? I[1] : I[0] }),
|
|
4951
|
-
q,
|
|
4952
|
-
k ? /* @__PURE__ */ f.jsx("em", { children: k }) : ""
|
|
4953
|
-
] });
|
|
4954
|
-
}
|
|
4955
|
-
function ja({
|
|
4956
|
-
onValue: a,
|
|
4957
|
-
label: _,
|
|
4958
|
-
value: i,
|
|
4959
|
-
title: c,
|
|
4960
|
-
className: d,
|
|
4961
|
-
name: h,
|
|
4962
|
-
text: C,
|
|
4963
|
-
id: k,
|
|
4964
|
-
reload: l
|
|
4965
|
-
}) {
|
|
4966
|
-
const [y, n] = S.useState(!!i);
|
|
4967
|
-
S.useEffect(() => {
|
|
4968
|
-
n(!!i);
|
|
4969
|
-
}, [i]);
|
|
4970
|
-
let s = () => {
|
|
4971
|
-
a && a({ value: y ? 0 : 1, name: h, id: k, reload: l }), n(!y);
|
|
4972
|
-
};
|
|
4973
|
-
return /* @__PURE__ */ f.jsxs(
|
|
4974
|
-
he,
|
|
4975
|
-
{
|
|
4976
|
-
type: "check",
|
|
4977
|
-
title: _ || c,
|
|
4978
|
-
element_blok: { className: [d] },
|
|
4979
|
-
element_input: {
|
|
4980
|
-
className: [ee.h],
|
|
4981
|
-
props: {
|
|
4982
|
-
onClick: s
|
|
4983
|
-
}
|
|
4984
|
-
},
|
|
4985
|
-
children: [
|
|
4986
|
-
/* @__PURE__ */ f.jsx("div", { "aria-checked": `${y ? "true" : "false"}` }),
|
|
4987
|
-
/* @__PURE__ */ f.jsx("span", { children: C })
|
|
4988
|
-
]
|
|
4989
|
-
}
|
|
4990
|
-
);
|
|
4991
|
-
}
|
|
4992
|
-
const se = {};
|
|
4993
|
-
function Ea(a) {
|
|
4994
|
-
const [_, i] = S.useState({}), c = S.useRef(a);
|
|
4995
|
-
return se.u = (d) => {
|
|
4996
|
-
c.current = { ...c.current, [d.name]: d.value };
|
|
4997
|
-
}, se.n = (d) => {
|
|
4998
|
-
c.current = d, i(Date.now());
|
|
4999
|
-
}, se.r = (d) => {
|
|
5000
|
-
d && d(c.current), i(Date.now());
|
|
5001
|
-
}, [c.current, se.n];
|
|
5002
|
-
}
|
|
5003
|
-
function Sa(a) {
|
|
5004
|
-
se.u(a), a.reload && se.r();
|
|
5005
|
-
}
|
|
5006
|
-
function Ra(a) {
|
|
5007
|
-
se.r && se.r(a);
|
|
5008
|
-
}
|
|
5009
|
-
function Ta(a) {
|
|
5010
|
-
const [_, i] = S.useState({}), c = S.useRef(a);
|
|
5011
|
-
return se.u = (d) => {
|
|
5012
|
-
c.current = { ...c.current, [d.name]: d.value };
|
|
5013
|
-
}, se.n = (d) => {
|
|
5014
|
-
Object.keys(d).length > 0 ? Object.keys(d).forEach((h) => {
|
|
5015
|
-
c.current[h] = d[h];
|
|
5016
|
-
}) : c.current = {}, i(Date.now());
|
|
5017
|
-
}, se.r = () => {
|
|
5018
|
-
i(Date.now());
|
|
5019
|
-
}, [c.current, se.n];
|
|
5020
|
-
}
|
|
5021
|
-
function Pt() {
|
|
5022
|
-
return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {};
|
|
5023
|
-
}
|
|
5024
|
-
Pt().elcrm || (Pt().elcrm = {});
|
|
5025
|
-
Object.assign(Pt().elcrm, { form: Yt.version });
|
|
5026
|
-
export {
|
|
5027
|
-
ja as Check,
|
|
5028
|
-
ya as DateField,
|
|
5029
|
-
pa as MaskField,
|
|
5030
|
-
xa as ModalField,
|
|
5031
|
-
ma as Money,
|
|
5032
|
-
fa as Month,
|
|
5033
|
-
ka as NumberField,
|
|
5034
|
-
ba as OptionsField,
|
|
5035
|
-
Ca as PasswordField,
|
|
5036
|
-
ga as PhoneField,
|
|
5037
|
-
da as Progress,
|
|
5038
|
-
wa as SelectField,
|
|
5039
|
-
ha as StringField,
|
|
5040
|
-
va as TextareaField,
|
|
5041
|
-
Ra as runReload,
|
|
5042
|
-
Sa as setValue,
|
|
5043
|
-
Ea as useData,
|
|
5044
|
-
Ta as useError
|
|
5045
|
-
};
|