elcrm 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.es.js +1101 -695
- package/dist/index.umd.js +11 -11
- package/dist/lib/Format/CapitalizeFirstLetter.d.ts +1 -0
- package/dist/lib/Format/Cases.d.ts +1 -0
- package/dist/lib/Format/Date.d.ts +1 -0
- package/dist/lib/Format/DateSort.d.ts +4 -0
- package/dist/lib/Format/DeclensionWord.d.ts +5 -0
- package/dist/lib/Format/Initials.d.ts +1 -0
- package/dist/lib/Format/Money.d.ts +1 -0
- package/dist/lib/Format/MoneyString.d.ts +2 -0
- package/dist/lib/Format/Month.d.ts +5 -0
- package/dist/lib/Format/Number.d.ts +6 -0
- package/dist/lib/Format/Percent.d.ts +7 -0
- package/dist/lib/Format/Size.d.ts +1 -0
- package/dist/lib/Format/TypeFiles.d.ts +1 -0
- package/dist/lib/Format/index.d.ts +27 -0
- package/dist/lib/Notice/Init.d.ts +1 -1
- package/dist/lib/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './index.css';
|
|
2
|
-
import
|
|
3
|
-
var
|
|
2
|
+
import k from "react";
|
|
3
|
+
var xe = { exports: {} }, Q = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,25 +10,25 @@ var de = { exports: {} }, B = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
13
|
+
var Ue;
|
|
14
14
|
function Tt() {
|
|
15
|
-
if (
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
for (
|
|
23
|
-
|
|
24
|
-
if (
|
|
25
|
-
for (
|
|
26
|
-
|
|
27
|
-
return { $$typeof: r, type:
|
|
15
|
+
if (Ue)
|
|
16
|
+
return Q;
|
|
17
|
+
Ue = 1;
|
|
18
|
+
var e = k, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, l = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function c(f, u, d) {
|
|
20
|
+
var m, x = {}, y = null, T = null;
|
|
21
|
+
d !== void 0 && (y = "" + d), u.key !== void 0 && (y = "" + u.key), u.ref !== void 0 && (T = u.ref);
|
|
22
|
+
for (m in u)
|
|
23
|
+
i.call(u, m) && !v.hasOwnProperty(m) && (x[m] = u[m]);
|
|
24
|
+
if (f && f.defaultProps)
|
|
25
|
+
for (m in u = f.defaultProps, u)
|
|
26
|
+
x[m] === void 0 && (x[m] = u[m]);
|
|
27
|
+
return { $$typeof: r, type: f, key: y, ref: T, props: x, _owner: l.current };
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return Q.Fragment = a, Q.jsx = c, Q.jsxs = c, Q;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var ee = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.development.js
|
|
@@ -38,91 +38,91 @@ var q = {};
|
|
|
38
38
|
* This source code is licensed under the MIT license found in the
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
|
-
var
|
|
41
|
+
var He;
|
|
42
42
|
function It() {
|
|
43
|
-
return
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
if (
|
|
43
|
+
return He || (He = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
+
var e = k, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), T = Symbol.for("react.offscreen"), O = Symbol.iterator, Z = "@@iterator";
|
|
45
|
+
function $(t) {
|
|
46
|
+
if (t === null || typeof t != "object")
|
|
47
47
|
return null;
|
|
48
|
-
var s =
|
|
48
|
+
var s = O && t[O] || t[Z];
|
|
49
49
|
return typeof s == "function" ? s : null;
|
|
50
50
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
51
|
+
var I = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
52
|
+
function E(t) {
|
|
53
53
|
{
|
|
54
|
-
for (var s = arguments.length,
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
for (var s = arguments.length, o = new Array(s > 1 ? s - 1 : 0), p = 1; p < s; p++)
|
|
55
|
+
o[p - 1] = arguments[p];
|
|
56
|
+
F("error", t, o);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function F(t, s, o) {
|
|
60
60
|
{
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
var
|
|
64
|
-
return String(
|
|
61
|
+
var p = I.ReactDebugCurrentFrame, b = p.getStackAddendum();
|
|
62
|
+
b !== "" && (s += "%s", o = o.concat([b]));
|
|
63
|
+
var j = o.map(function(_) {
|
|
64
|
+
return String(_);
|
|
65
65
|
});
|
|
66
|
-
|
|
66
|
+
j.unshift("Warning: " + s), Function.prototype.apply.call(console[t], console, j);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
function rt(
|
|
72
|
-
return !!(typeof
|
|
69
|
+
var A = !1, Y = !1, U = !1, ne = !1, tt = !1, je;
|
|
70
|
+
je = Symbol.for("react.module.reference");
|
|
71
|
+
function rt(t) {
|
|
72
|
+
return !!(typeof t == "string" || typeof t == "function" || t === i || t === v || tt || t === l || t === d || t === m || ne || t === T || A || Y || U || typeof t == "object" && t !== null && (t.$$typeof === y || t.$$typeof === x || t.$$typeof === c || t.$$typeof === f || t.$$typeof === u || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
|
-
|
|
76
|
+
t.$$typeof === je || t.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function nt(
|
|
79
|
-
var
|
|
80
|
-
if (
|
|
81
|
-
return
|
|
82
|
-
var
|
|
83
|
-
return
|
|
78
|
+
function nt(t, s, o) {
|
|
79
|
+
var p = t.displayName;
|
|
80
|
+
if (p)
|
|
81
|
+
return p;
|
|
82
|
+
var b = s.displayName || s.name || "";
|
|
83
|
+
return b !== "" ? o + "(" + b + ")" : o;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return
|
|
85
|
+
function ye(t) {
|
|
86
|
+
return t.displayName || "Context";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
if (
|
|
88
|
+
function M(t) {
|
|
89
|
+
if (t == null)
|
|
90
90
|
return null;
|
|
91
|
-
if (typeof
|
|
92
|
-
return
|
|
93
|
-
if (typeof
|
|
94
|
-
return
|
|
95
|
-
switch (
|
|
96
|
-
case
|
|
91
|
+
if (typeof t.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
92
|
+
return t.displayName || t.name || null;
|
|
93
|
+
if (typeof t == "string")
|
|
94
|
+
return t;
|
|
95
|
+
switch (t) {
|
|
96
|
+
case i:
|
|
97
97
|
return "Fragment";
|
|
98
98
|
case a:
|
|
99
99
|
return "Portal";
|
|
100
|
-
case
|
|
100
|
+
case v:
|
|
101
101
|
return "Profiler";
|
|
102
|
-
case
|
|
102
|
+
case l:
|
|
103
103
|
return "StrictMode";
|
|
104
|
-
case
|
|
104
|
+
case d:
|
|
105
105
|
return "Suspense";
|
|
106
|
-
case
|
|
106
|
+
case m:
|
|
107
107
|
return "SuspenseList";
|
|
108
108
|
}
|
|
109
|
-
if (typeof
|
|
110
|
-
switch (
|
|
109
|
+
if (typeof t == "object")
|
|
110
|
+
switch (t.$$typeof) {
|
|
111
|
+
case f:
|
|
112
|
+
var s = t;
|
|
113
|
+
return ye(s) + ".Consumer";
|
|
114
|
+
case c:
|
|
115
|
+
var o = t;
|
|
116
|
+
return ye(o._context) + ".Provider";
|
|
117
|
+
case u:
|
|
118
|
+
return nt(t, t.render, "ForwardRef");
|
|
111
119
|
case x:
|
|
112
|
-
var
|
|
113
|
-
return
|
|
114
|
-
case
|
|
115
|
-
var
|
|
116
|
-
return _e(i._context) + ".Provider";
|
|
117
|
-
case p:
|
|
118
|
-
return nt(e, e.render, "ForwardRef");
|
|
119
|
-
case C:
|
|
120
|
-
var c = e.displayName || null;
|
|
121
|
-
return c !== null ? c : P(e.type) || "Memo";
|
|
122
|
-
case I: {
|
|
123
|
-
var f = e, _ = f._payload, d = f._init;
|
|
120
|
+
var p = t.displayName || null;
|
|
121
|
+
return p !== null ? p : M(t.type) || "Memo";
|
|
122
|
+
case y: {
|
|
123
|
+
var b = t, j = b._payload, _ = b._init;
|
|
124
124
|
try {
|
|
125
|
-
return
|
|
125
|
+
return M(_(j));
|
|
126
126
|
} catch {
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
@@ -130,576 +130,576 @@ function It() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var
|
|
134
|
-
function
|
|
133
|
+
var B = Object.assign, K = 0, Se, Ce, ke, Ee, Re, we, Te;
|
|
134
|
+
function Ie() {
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
function
|
|
136
|
+
Ie.__reactDisabledLog = !0;
|
|
137
|
+
function at() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
140
|
-
|
|
141
|
-
var
|
|
139
|
+
if (K === 0) {
|
|
140
|
+
Se = console.log, Ce = console.info, ke = console.warn, Ee = console.error, Re = console.group, we = console.groupCollapsed, Te = console.groupEnd;
|
|
141
|
+
var t = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
|
-
value:
|
|
144
|
+
value: Ie,
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
148
|
-
info:
|
|
149
|
-
log:
|
|
150
|
-
warn:
|
|
151
|
-
error:
|
|
152
|
-
group:
|
|
153
|
-
groupCollapsed:
|
|
154
|
-
groupEnd:
|
|
148
|
+
info: t,
|
|
149
|
+
log: t,
|
|
150
|
+
warn: t,
|
|
151
|
+
error: t,
|
|
152
|
+
group: t,
|
|
153
|
+
groupCollapsed: t,
|
|
154
|
+
groupEnd: t
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
K++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function st() {
|
|
161
161
|
{
|
|
162
|
-
if (
|
|
163
|
-
var
|
|
162
|
+
if (K--, K === 0) {
|
|
163
|
+
var t = {
|
|
164
164
|
configurable: !0,
|
|
165
165
|
enumerable: !0,
|
|
166
166
|
writable: !0
|
|
167
167
|
};
|
|
168
168
|
Object.defineProperties(console, {
|
|
169
|
-
log:
|
|
170
|
-
value:
|
|
169
|
+
log: B({}, t, {
|
|
170
|
+
value: Se
|
|
171
171
|
}),
|
|
172
|
-
info:
|
|
173
|
-
value:
|
|
172
|
+
info: B({}, t, {
|
|
173
|
+
value: Ce
|
|
174
174
|
}),
|
|
175
|
-
warn:
|
|
176
|
-
value:
|
|
175
|
+
warn: B({}, t, {
|
|
176
|
+
value: ke
|
|
177
177
|
}),
|
|
178
|
-
error:
|
|
179
|
-
value:
|
|
178
|
+
error: B({}, t, {
|
|
179
|
+
value: Ee
|
|
180
180
|
}),
|
|
181
|
-
group:
|
|
182
|
-
value:
|
|
181
|
+
group: B({}, t, {
|
|
182
|
+
value: Re
|
|
183
183
|
}),
|
|
184
|
-
groupCollapsed:
|
|
185
|
-
value:
|
|
184
|
+
groupCollapsed: B({}, t, {
|
|
185
|
+
value: we
|
|
186
186
|
}),
|
|
187
|
-
groupEnd:
|
|
188
|
-
value:
|
|
187
|
+
groupEnd: B({}, t, {
|
|
188
|
+
value: Te
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
K < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
195
|
+
var fe = I.ReactCurrentDispatcher, de;
|
|
196
|
+
function ae(t, s, o) {
|
|
197
197
|
{
|
|
198
|
-
if (
|
|
198
|
+
if (de === void 0)
|
|
199
199
|
try {
|
|
200
200
|
throw Error();
|
|
201
|
-
} catch (
|
|
202
|
-
var
|
|
203
|
-
|
|
201
|
+
} catch (b) {
|
|
202
|
+
var p = b.stack.trim().match(/\n( *(at )?)/);
|
|
203
|
+
de = p && p[1] || "";
|
|
204
204
|
}
|
|
205
205
|
return `
|
|
206
|
-
` +
|
|
206
|
+
` + de + t;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var
|
|
209
|
+
var me = !1, se;
|
|
210
210
|
{
|
|
211
|
-
var
|
|
212
|
-
|
|
211
|
+
var it = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
+
se = new it();
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
if (!
|
|
214
|
+
function Pe(t, s) {
|
|
215
|
+
if (!t || me)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
|
-
var
|
|
219
|
-
if (
|
|
220
|
-
return
|
|
218
|
+
var o = se.get(t);
|
|
219
|
+
if (o !== void 0)
|
|
220
|
+
return o;
|
|
221
221
|
}
|
|
222
|
-
var
|
|
223
|
-
|
|
224
|
-
var
|
|
222
|
+
var p;
|
|
223
|
+
me = !0;
|
|
224
|
+
var b = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
226
|
+
var j;
|
|
227
|
+
j = fe.current, fe.current = null, at();
|
|
228
228
|
try {
|
|
229
229
|
if (s) {
|
|
230
|
-
var
|
|
230
|
+
var _ = function() {
|
|
231
231
|
throw Error();
|
|
232
232
|
};
|
|
233
|
-
if (Object.defineProperty(
|
|
233
|
+
if (Object.defineProperty(_.prototype, "props", {
|
|
234
234
|
set: function() {
|
|
235
235
|
throw Error();
|
|
236
236
|
}
|
|
237
237
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
238
|
try {
|
|
239
|
-
Reflect.construct(
|
|
240
|
-
} catch (
|
|
241
|
-
|
|
239
|
+
Reflect.construct(_, []);
|
|
240
|
+
} catch (D) {
|
|
241
|
+
p = D;
|
|
242
242
|
}
|
|
243
|
-
Reflect.construct(
|
|
243
|
+
Reflect.construct(t, [], _);
|
|
244
244
|
} else {
|
|
245
245
|
try {
|
|
246
|
-
|
|
247
|
-
} catch (
|
|
248
|
-
|
|
246
|
+
_.call();
|
|
247
|
+
} catch (D) {
|
|
248
|
+
p = D;
|
|
249
249
|
}
|
|
250
|
-
|
|
250
|
+
t.call(_.prototype);
|
|
251
251
|
}
|
|
252
252
|
} else {
|
|
253
253
|
try {
|
|
254
254
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
|
|
255
|
+
} catch (D) {
|
|
256
|
+
p = D;
|
|
257
257
|
}
|
|
258
|
-
|
|
258
|
+
t();
|
|
259
259
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var
|
|
263
|
-
`),
|
|
264
|
-
`),
|
|
265
|
-
|
|
266
|
-
for (;
|
|
267
|
-
if (
|
|
268
|
-
if (
|
|
260
|
+
} catch (D) {
|
|
261
|
+
if (D && p && typeof D.stack == "string") {
|
|
262
|
+
for (var g = D.stack.split(`
|
|
263
|
+
`), R = p.stack.split(`
|
|
264
|
+
`), S = g.length - 1, C = R.length - 1; S >= 1 && C >= 0 && g[S] !== R[C]; )
|
|
265
|
+
C--;
|
|
266
|
+
for (; S >= 1 && C >= 0; S--, C--)
|
|
267
|
+
if (g[S] !== R[C]) {
|
|
268
|
+
if (S !== 1 || C !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (
|
|
271
|
-
var
|
|
272
|
-
` +
|
|
273
|
-
return
|
|
270
|
+
if (S--, C--, C < 0 || g[S] !== R[C]) {
|
|
271
|
+
var N = `
|
|
272
|
+
` + g[S].replace(" at new ", " at ");
|
|
273
|
+
return t.displayName && N.includes("<anonymous>") && (N = N.replace("<anonymous>", t.displayName)), typeof t == "function" && se.set(t, N), N;
|
|
274
274
|
}
|
|
275
|
-
while (
|
|
275
|
+
while (S >= 1 && C >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
|
|
280
|
+
me = !1, fe.current = j, st(), Error.prepareStackTrace = b;
|
|
281
281
|
}
|
|
282
|
-
var
|
|
283
|
-
return typeof
|
|
282
|
+
var q = t ? t.displayName || t.name : "", Ve = q ? ae(q) : "";
|
|
283
|
+
return typeof t == "function" && se.set(t, Ve), Ve;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
return
|
|
285
|
+
function ot(t, s, o) {
|
|
286
|
+
return Pe(t, !1);
|
|
287
287
|
}
|
|
288
|
-
function ct(
|
|
289
|
-
var s =
|
|
288
|
+
function ct(t) {
|
|
289
|
+
var s = t.prototype;
|
|
290
290
|
return !!(s && s.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
293
|
-
if (
|
|
292
|
+
function ie(t, s, o) {
|
|
293
|
+
if (t == null)
|
|
294
294
|
return "";
|
|
295
|
-
if (typeof
|
|
296
|
-
return
|
|
297
|
-
if (typeof
|
|
298
|
-
return
|
|
299
|
-
switch (
|
|
300
|
-
case
|
|
301
|
-
return
|
|
302
|
-
case
|
|
303
|
-
return
|
|
295
|
+
if (typeof t == "function")
|
|
296
|
+
return Pe(t, ct(t));
|
|
297
|
+
if (typeof t == "string")
|
|
298
|
+
return ae(t);
|
|
299
|
+
switch (t) {
|
|
300
|
+
case d:
|
|
301
|
+
return ae("Suspense");
|
|
302
|
+
case m:
|
|
303
|
+
return ae("SuspenseList");
|
|
304
304
|
}
|
|
305
|
-
if (typeof
|
|
306
|
-
switch (
|
|
307
|
-
case
|
|
308
|
-
return
|
|
309
|
-
case
|
|
310
|
-
return
|
|
311
|
-
case
|
|
312
|
-
var
|
|
305
|
+
if (typeof t == "object")
|
|
306
|
+
switch (t.$$typeof) {
|
|
307
|
+
case u:
|
|
308
|
+
return ot(t.render);
|
|
309
|
+
case x:
|
|
310
|
+
return ie(t.type, s, o);
|
|
311
|
+
case y: {
|
|
312
|
+
var p = t, b = p._payload, j = p._init;
|
|
313
313
|
try {
|
|
314
|
-
return
|
|
314
|
+
return ie(j(b), s, o);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
323
|
-
if (
|
|
324
|
-
var s =
|
|
325
|
-
|
|
321
|
+
var oe = Object.prototype.hasOwnProperty, Ne = {}, Oe = I.ReactDebugCurrentFrame;
|
|
322
|
+
function ce(t) {
|
|
323
|
+
if (t) {
|
|
324
|
+
var s = t._owner, o = ie(t.type, t._source, s ? s.type : null);
|
|
325
|
+
Oe.setExtraStackFrame(o);
|
|
326
326
|
} else
|
|
327
|
-
|
|
327
|
+
Oe.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function lt(
|
|
329
|
+
function lt(t, s, o, p, b) {
|
|
330
330
|
{
|
|
331
|
-
var
|
|
332
|
-
for (var
|
|
333
|
-
if (
|
|
334
|
-
var
|
|
331
|
+
var j = Function.call.bind(oe);
|
|
332
|
+
for (var _ in t)
|
|
333
|
+
if (j(t, _)) {
|
|
334
|
+
var g = void 0;
|
|
335
335
|
try {
|
|
336
|
-
if (typeof
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
336
|
+
if (typeof t[_] != "function") {
|
|
337
|
+
var R = Error((p || "React class") + ": " + o + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
|
+
throw R.name = "Invariant Violation", R;
|
|
339
339
|
}
|
|
340
|
-
|
|
341
|
-
} catch (
|
|
342
|
-
|
|
340
|
+
g = t[_](s, _, p, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
|
+
} catch (S) {
|
|
342
|
+
g = S;
|
|
343
343
|
}
|
|
344
|
-
|
|
344
|
+
g && !(g instanceof Error) && (ce(b), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", o, _, typeof g), ce(null)), g instanceof Error && !(g.message in Ne) && (Ne[g.message] = !0, ce(b), E("Failed %s type: %s", o, g.message), ce(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
var ut = Array.isArray;
|
|
349
|
-
function
|
|
350
|
-
return ut(
|
|
349
|
+
function pe(t) {
|
|
350
|
+
return ut(t);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function ft(t) {
|
|
353
353
|
{
|
|
354
|
-
var s = typeof Symbol == "function" && Symbol.toStringTag,
|
|
355
|
-
return
|
|
354
|
+
var s = typeof Symbol == "function" && Symbol.toStringTag, o = s && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
355
|
+
return o;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function dt(t) {
|
|
359
359
|
try {
|
|
360
|
-
return
|
|
360
|
+
return $e(t), !1;
|
|
361
361
|
} catch {
|
|
362
362
|
return !0;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
return "" +
|
|
365
|
+
function $e(t) {
|
|
366
|
+
return "" + t;
|
|
367
367
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
370
|
-
return
|
|
368
|
+
function Fe(t) {
|
|
369
|
+
if (dt(t))
|
|
370
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ft(t)), $e(t);
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var X = I.ReactCurrentOwner, mt = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
function
|
|
380
|
-
if (
|
|
381
|
-
var s = Object.getOwnPropertyDescriptor(
|
|
377
|
+
}, Me, De, ve;
|
|
378
|
+
ve = {};
|
|
379
|
+
function pt(t) {
|
|
380
|
+
if (oe.call(t, "ref")) {
|
|
381
|
+
var s = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
382
382
|
if (s && s.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
|
-
return
|
|
385
|
+
return t.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
389
|
-
var s = Object.getOwnPropertyDescriptor(
|
|
387
|
+
function vt(t) {
|
|
388
|
+
if (oe.call(t, "key")) {
|
|
389
|
+
var s = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
390
390
|
if (s && s.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
|
-
return
|
|
393
|
+
return t.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function ht(
|
|
396
|
-
if (typeof
|
|
397
|
-
var
|
|
398
|
-
|
|
395
|
+
function ht(t, s) {
|
|
396
|
+
if (typeof t.ref == "string" && X.current && s && X.current.stateNode !== s) {
|
|
397
|
+
var o = M(X.current.type);
|
|
398
|
+
ve[o] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', M(X.current.type), t.ref), ve[o] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function gt(t, s) {
|
|
402
402
|
{
|
|
403
|
-
var
|
|
404
|
-
|
|
403
|
+
var o = function() {
|
|
404
|
+
Me || (Me = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
405
405
|
};
|
|
406
|
-
|
|
407
|
-
get:
|
|
406
|
+
o.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
407
|
+
get: o,
|
|
408
408
|
configurable: !0
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function _t(t, s) {
|
|
413
413
|
{
|
|
414
|
-
var
|
|
415
|
-
|
|
414
|
+
var o = function() {
|
|
415
|
+
De || (De = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
416
416
|
};
|
|
417
|
-
|
|
418
|
-
get:
|
|
417
|
+
o.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
418
|
+
get: o,
|
|
419
419
|
configurable: !0
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var
|
|
424
|
-
var
|
|
423
|
+
var xt = function(t, s, o, p, b, j, _) {
|
|
424
|
+
var g = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: r,
|
|
427
427
|
// Built-in properties that belong on the element
|
|
428
|
-
type:
|
|
428
|
+
type: t,
|
|
429
429
|
key: s,
|
|
430
|
-
ref:
|
|
431
|
-
props:
|
|
430
|
+
ref: o,
|
|
431
|
+
props: _,
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
|
-
_owner:
|
|
433
|
+
_owner: j
|
|
434
434
|
};
|
|
435
|
-
return
|
|
435
|
+
return g._store = {}, Object.defineProperty(g._store, "validated", {
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !0,
|
|
439
439
|
value: !1
|
|
440
|
-
}), Object.defineProperty(
|
|
440
|
+
}), Object.defineProperty(g, "_self", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
|
-
value:
|
|
445
|
-
}), Object.defineProperty(
|
|
444
|
+
value: p
|
|
445
|
+
}), Object.defineProperty(g, "_source", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
448
448
|
writable: !1,
|
|
449
|
-
value:
|
|
450
|
-
}), Object.freeze && (Object.freeze(
|
|
449
|
+
value: b
|
|
450
|
+
}), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
|
|
451
451
|
};
|
|
452
|
-
function bt(
|
|
452
|
+
function bt(t, s, o, p, b) {
|
|
453
453
|
{
|
|
454
|
-
var
|
|
455
|
-
|
|
456
|
-
for (
|
|
457
|
-
|
|
458
|
-
if (
|
|
459
|
-
var
|
|
460
|
-
for (
|
|
461
|
-
|
|
454
|
+
var j, _ = {}, g = null, R = null;
|
|
455
|
+
o !== void 0 && (Fe(o), g = "" + o), vt(s) && (Fe(s.key), g = "" + s.key), pt(s) && (R = s.ref, ht(s, b));
|
|
456
|
+
for (j in s)
|
|
457
|
+
oe.call(s, j) && !mt.hasOwnProperty(j) && (_[j] = s[j]);
|
|
458
|
+
if (t && t.defaultProps) {
|
|
459
|
+
var S = t.defaultProps;
|
|
460
|
+
for (j in S)
|
|
461
|
+
_[j] === void 0 && (_[j] = S[j]);
|
|
462
462
|
}
|
|
463
|
-
if (
|
|
464
|
-
var
|
|
465
|
-
|
|
463
|
+
if (g || R) {
|
|
464
|
+
var C = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
465
|
+
g && gt(_, C), R && _t(_, C);
|
|
466
466
|
}
|
|
467
|
-
return
|
|
467
|
+
return xt(t, g, R, b, p, X.current, _);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var
|
|
471
|
-
function
|
|
472
|
-
if (
|
|
473
|
-
var s =
|
|
474
|
-
|
|
470
|
+
var he = I.ReactCurrentOwner, Ae = I.ReactDebugCurrentFrame;
|
|
471
|
+
function H(t) {
|
|
472
|
+
if (t) {
|
|
473
|
+
var s = t._owner, o = ie(t.type, t._source, s ? s.type : null);
|
|
474
|
+
Ae.setExtraStackFrame(o);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
Ae.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
478
|
-
var
|
|
479
|
-
|
|
480
|
-
function
|
|
481
|
-
return typeof
|
|
478
|
+
var ge;
|
|
479
|
+
ge = !1;
|
|
480
|
+
function _e(t) {
|
|
481
|
+
return typeof t == "object" && t !== null && t.$$typeof === r;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Le() {
|
|
484
484
|
{
|
|
485
|
-
if (
|
|
486
|
-
var
|
|
487
|
-
if (
|
|
485
|
+
if (he.current) {
|
|
486
|
+
var t = M(he.current.type);
|
|
487
|
+
if (t)
|
|
488
488
|
return `
|
|
489
489
|
|
|
490
|
-
Check the render method of \`` +
|
|
490
|
+
Check the render method of \`` + t + "`.";
|
|
491
491
|
}
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function jt(
|
|
495
|
+
function jt(t) {
|
|
496
496
|
{
|
|
497
|
-
if (
|
|
498
|
-
var s =
|
|
497
|
+
if (t !== void 0) {
|
|
498
|
+
var s = t.fileName.replace(/^.*[\\\/]/, ""), o = t.lineNumber;
|
|
499
499
|
return `
|
|
500
500
|
|
|
501
|
-
Check your code at ` + s + ":" +
|
|
501
|
+
Check your code at ` + s + ":" + o + ".";
|
|
502
502
|
}
|
|
503
503
|
return "";
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
var
|
|
507
|
-
function yt(
|
|
506
|
+
var ze = {};
|
|
507
|
+
function yt(t) {
|
|
508
508
|
{
|
|
509
|
-
var s =
|
|
509
|
+
var s = Le();
|
|
510
510
|
if (!s) {
|
|
511
|
-
var
|
|
512
|
-
|
|
511
|
+
var o = typeof t == "string" ? t : t.displayName || t.name;
|
|
512
|
+
o && (s = `
|
|
513
513
|
|
|
514
|
-
Check the top-level render call using <` +
|
|
514
|
+
Check the top-level render call using <` + o + ">.");
|
|
515
515
|
}
|
|
516
516
|
return s;
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Ye(t, s) {
|
|
520
520
|
{
|
|
521
|
-
if (!
|
|
521
|
+
if (!t._store || t._store.validated || t.key != null)
|
|
522
522
|
return;
|
|
523
|
-
|
|
524
|
-
var
|
|
525
|
-
if (
|
|
523
|
+
t._store.validated = !0;
|
|
524
|
+
var o = yt(s);
|
|
525
|
+
if (ze[o])
|
|
526
526
|
return;
|
|
527
|
-
|
|
528
|
-
var
|
|
529
|
-
|
|
527
|
+
ze[o] = !0;
|
|
528
|
+
var p = "";
|
|
529
|
+
t && t._owner && t._owner !== he.current && (p = " It was passed a child from " + M(t._owner.type) + "."), H(t), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, p), H(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function Be(t, s) {
|
|
533
533
|
{
|
|
534
|
-
if (typeof
|
|
534
|
+
if (typeof t != "object")
|
|
535
535
|
return;
|
|
536
|
-
if (
|
|
537
|
-
for (var
|
|
538
|
-
var
|
|
539
|
-
|
|
536
|
+
if (pe(t))
|
|
537
|
+
for (var o = 0; o < t.length; o++) {
|
|
538
|
+
var p = t[o];
|
|
539
|
+
_e(p) && Ye(p, s);
|
|
540
540
|
}
|
|
541
|
-
else if (
|
|
542
|
-
|
|
543
|
-
else if (
|
|
544
|
-
var
|
|
545
|
-
if (typeof
|
|
546
|
-
for (var
|
|
547
|
-
|
|
541
|
+
else if (_e(t))
|
|
542
|
+
t._store && (t._store.validated = !0);
|
|
543
|
+
else if (t) {
|
|
544
|
+
var b = $(t);
|
|
545
|
+
if (typeof b == "function" && b !== t.entries)
|
|
546
|
+
for (var j = b.call(t), _; !(_ = j.next()).done; )
|
|
547
|
+
_e(_.value) && Ye(_.value, s);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function St(t) {
|
|
552
552
|
{
|
|
553
|
-
var s =
|
|
553
|
+
var s = t.type;
|
|
554
554
|
if (s == null || typeof s == "string")
|
|
555
555
|
return;
|
|
556
|
-
var
|
|
556
|
+
var o;
|
|
557
557
|
if (typeof s == "function")
|
|
558
|
-
|
|
559
|
-
else if (typeof s == "object" && (s.$$typeof ===
|
|
558
|
+
o = s.propTypes;
|
|
559
|
+
else if (typeof s == "object" && (s.$$typeof === u || // Note: Memo only checks outer props here.
|
|
560
560
|
// Inner props are checked in the reconciler.
|
|
561
|
-
s.$$typeof ===
|
|
562
|
-
|
|
561
|
+
s.$$typeof === x))
|
|
562
|
+
o = s.propTypes;
|
|
563
563
|
else
|
|
564
564
|
return;
|
|
565
|
-
if (
|
|
566
|
-
var
|
|
567
|
-
lt(
|
|
568
|
-
} else if (s.PropTypes !== void 0 && !
|
|
569
|
-
|
|
570
|
-
var
|
|
571
|
-
|
|
565
|
+
if (o) {
|
|
566
|
+
var p = M(s);
|
|
567
|
+
lt(o, t.props, "prop", p, t);
|
|
568
|
+
} else if (s.PropTypes !== void 0 && !ge) {
|
|
569
|
+
ge = !0;
|
|
570
|
+
var b = M(s);
|
|
571
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
|
|
572
572
|
}
|
|
573
|
-
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved &&
|
|
573
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function Ct(t) {
|
|
577
577
|
{
|
|
578
|
-
for (var s = Object.keys(
|
|
579
|
-
var
|
|
580
|
-
if (
|
|
581
|
-
|
|
578
|
+
for (var s = Object.keys(t.props), o = 0; o < s.length; o++) {
|
|
579
|
+
var p = s[o];
|
|
580
|
+
if (p !== "children" && p !== "key") {
|
|
581
|
+
H(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), H(null);
|
|
582
582
|
break;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
|
|
585
|
+
t.ref !== null && (H(t), E("Invalid attribute `ref` supplied to `React.Fragment`."), H(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function We(t, s, o, p, b, j) {
|
|
589
589
|
{
|
|
590
|
-
var
|
|
591
|
-
if (!
|
|
592
|
-
var
|
|
593
|
-
(
|
|
594
|
-
var
|
|
595
|
-
|
|
596
|
-
var
|
|
597
|
-
|
|
590
|
+
var _ = rt(t);
|
|
591
|
+
if (!_) {
|
|
592
|
+
var g = "";
|
|
593
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
594
|
+
var R = jt(b);
|
|
595
|
+
R ? g += R : g += Le();
|
|
596
|
+
var S;
|
|
597
|
+
t === null ? S = "null" : pe(t) ? S = "array" : t !== void 0 && t.$$typeof === r ? (S = "<" + (M(t.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : S = typeof t, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, g);
|
|
598
598
|
}
|
|
599
|
-
var
|
|
600
|
-
if (
|
|
601
|
-
return
|
|
602
|
-
if (
|
|
603
|
-
var
|
|
604
|
-
if (
|
|
605
|
-
if (
|
|
606
|
-
if (
|
|
607
|
-
for (var
|
|
608
|
-
|
|
609
|
-
Object.freeze && Object.freeze(
|
|
599
|
+
var C = bt(t, s, o, b, j);
|
|
600
|
+
if (C == null)
|
|
601
|
+
return C;
|
|
602
|
+
if (_) {
|
|
603
|
+
var N = s.children;
|
|
604
|
+
if (N !== void 0)
|
|
605
|
+
if (p)
|
|
606
|
+
if (pe(N)) {
|
|
607
|
+
for (var q = 0; q < N.length; q++)
|
|
608
|
+
Be(N[q], t);
|
|
609
|
+
Object.freeze && Object.freeze(N);
|
|
610
610
|
} else
|
|
611
|
-
|
|
611
|
+
E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
612
612
|
else
|
|
613
|
-
|
|
613
|
+
Be(N, t);
|
|
614
614
|
}
|
|
615
|
-
return
|
|
615
|
+
return t === i ? Ct(C) : St(C), C;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
return
|
|
618
|
+
function kt(t, s, o) {
|
|
619
|
+
return We(t, s, o, !0);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
621
|
+
function Et(t, s, o) {
|
|
622
|
+
return We(t, s, o, !1);
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
|
|
626
|
-
}()),
|
|
624
|
+
var Rt = Et, wt = kt;
|
|
625
|
+
ee.Fragment = i, ee.jsx = Rt, ee.jsxs = wt;
|
|
626
|
+
}()), ee;
|
|
627
627
|
}
|
|
628
|
-
process.env.NODE_ENV === "production" ?
|
|
629
|
-
var n =
|
|
630
|
-
const Pt = "_notice_820sc_2",
|
|
628
|
+
process.env.NODE_ENV === "production" ? xe.exports = Tt() : xe.exports = It();
|
|
629
|
+
var n = xe.exports;
|
|
630
|
+
const Pt = "_notice_820sc_2", Nt = "_error_820sc_9", Ot = "_success_820sc_12", $t = "_remark_820sc_15", Ft = "_copy_820sc_18", Mt = {
|
|
631
631
|
notice: Pt,
|
|
632
|
-
error:
|
|
633
|
-
success:
|
|
634
|
-
remark:
|
|
632
|
+
error: Nt,
|
|
633
|
+
success: Ot,
|
|
634
|
+
remark: $t,
|
|
635
635
|
copy: Ft,
|
|
636
636
|
"show-notice": "_show-notice_820sc_1",
|
|
637
637
|
"hide-notice": "_hide-notice_820sc_1"
|
|
638
638
|
};
|
|
639
|
-
let
|
|
640
|
-
function
|
|
641
|
-
let [
|
|
642
|
-
return
|
|
643
|
-
r([...
|
|
644
|
-
},
|
|
645
|
-
r(
|
|
646
|
-
},
|
|
639
|
+
let z = {};
|
|
640
|
+
function Dt() {
|
|
641
|
+
let [e, r] = k.useState([]);
|
|
642
|
+
return z.set = (a) => {
|
|
643
|
+
r([...e, a]);
|
|
644
|
+
}, z.del = (a) => {
|
|
645
|
+
r(e.filter((i) => i.key !== a));
|
|
646
|
+
}, e.length === 0 ? "" : /* @__PURE__ */ n.jsx("ul", { className: Mt.notice, children: e.map((a) => a.item) });
|
|
647
647
|
}
|
|
648
|
-
function
|
|
649
|
-
let [r, a] =
|
|
650
|
-
|
|
648
|
+
function re({ data: e }) {
|
|
649
|
+
let [r, a] = k.useState("show");
|
|
650
|
+
k.useEffect(() => {
|
|
651
651
|
setTimeout(function() {
|
|
652
652
|
a("hide");
|
|
653
653
|
}, 1800), setTimeout(function() {
|
|
654
|
-
|
|
654
|
+
z.del(e.key);
|
|
655
655
|
}, 2500);
|
|
656
|
-
}, [
|
|
657
|
-
let
|
|
658
|
-
switch (
|
|
656
|
+
}, [e.key]);
|
|
657
|
+
let i, l;
|
|
658
|
+
switch (e.type) {
|
|
659
659
|
case "error":
|
|
660
|
-
|
|
660
|
+
i = /* @__PURE__ */ n.jsx(W.error, {}), l = "Ошибка:";
|
|
661
661
|
break;
|
|
662
662
|
case "success":
|
|
663
|
-
|
|
663
|
+
i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Информация:";
|
|
664
664
|
break;
|
|
665
665
|
case "copy":
|
|
666
|
-
|
|
666
|
+
i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Копирование:";
|
|
667
667
|
break;
|
|
668
668
|
case "remark":
|
|
669
|
-
|
|
669
|
+
i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Подсказка:";
|
|
670
670
|
break;
|
|
671
671
|
default:
|
|
672
|
-
|
|
672
|
+
i = /* @__PURE__ */ n.jsx(W.success, {}), l = "Предупреждение:";
|
|
673
673
|
break;
|
|
674
674
|
}
|
|
675
|
-
return /* @__PURE__ */ n.jsxs("li", { className: "item " +
|
|
676
|
-
|
|
677
|
-
/* @__PURE__ */ n.jsx("b", { children:
|
|
678
|
-
/* @__PURE__ */ n.jsx("p", { children:
|
|
675
|
+
return /* @__PURE__ */ n.jsxs("li", { className: "item " + e.type, "data-status": r, children: [
|
|
676
|
+
i,
|
|
677
|
+
/* @__PURE__ */ n.jsx("b", { children: l }),
|
|
678
|
+
/* @__PURE__ */ n.jsx("p", { children: e.text })
|
|
679
679
|
] });
|
|
680
680
|
}
|
|
681
|
-
function
|
|
682
|
-
let r = Date.now(), a = { key: r, ...
|
|
683
|
-
|
|
681
|
+
function At(e) {
|
|
682
|
+
let r = Date.now(), a = { key: r, ...e };
|
|
683
|
+
z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
|
|
684
684
|
}
|
|
685
|
-
function
|
|
686
|
-
let r = Date.now(), a = { key: r, text:
|
|
687
|
-
|
|
685
|
+
function Lt(e) {
|
|
686
|
+
let r = Date.now(), a = { key: r, text: e, type: "error" };
|
|
687
|
+
z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
|
|
688
688
|
}
|
|
689
|
-
function
|
|
690
|
-
let r = Date.now(), a = { key: r, text:
|
|
691
|
-
|
|
689
|
+
function zt(e) {
|
|
690
|
+
let r = Date.now(), a = { key: r, text: e, type: "success" };
|
|
691
|
+
z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
|
|
692
692
|
}
|
|
693
|
-
function
|
|
694
|
-
let r = Date.now(), a = { key: r, text:
|
|
695
|
-
|
|
693
|
+
function Yt(e) {
|
|
694
|
+
let r = Date.now(), a = { key: r, text: e, type: "remark" };
|
|
695
|
+
z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
|
|
696
696
|
}
|
|
697
|
-
function
|
|
698
|
-
let r = Date.now(), a = { key: r, text:
|
|
699
|
-
|
|
697
|
+
function Bt(e) {
|
|
698
|
+
let r = Date.now(), a = { key: r, text: e, type: "copy" };
|
|
699
|
+
z.set({ item: /* @__PURE__ */ n.jsx(re, { data: a }, r), key: r });
|
|
700
700
|
}
|
|
701
|
-
const
|
|
702
|
-
|
|
701
|
+
const W = {};
|
|
702
|
+
W.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
703
703
|
/* @__PURE__ */ n.jsx(
|
|
704
704
|
"path",
|
|
705
705
|
{
|
|
@@ -715,7 +715,7 @@ N.error = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "non
|
|
|
715
715
|
}
|
|
716
716
|
)
|
|
717
717
|
] });
|
|
718
|
-
|
|
718
|
+
W.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "none", children: [
|
|
719
719
|
/* @__PURE__ */ n.jsx(
|
|
720
720
|
"path",
|
|
721
721
|
{
|
|
@@ -731,169 +731,169 @@ N.success = () => /* @__PURE__ */ n.jsxs("svg", { viewBox: "0 0 24 24", fill: "n
|
|
|
731
731
|
}
|
|
732
732
|
)
|
|
733
733
|
] });
|
|
734
|
-
const
|
|
735
|
-
alerts:
|
|
736
|
-
menuAnimation:
|
|
737
|
-
menuItemAnimation:
|
|
734
|
+
const Wt = "_alerts_1e9y0_1", Vt = "_menuAnimation_1e9y0_1", Ut = "_menuItemAnimation_1e9y0_1", Ht = "_allert_1e9y0_111", qt = {
|
|
735
|
+
alerts: Wt,
|
|
736
|
+
menuAnimation: Vt,
|
|
737
|
+
menuItemAnimation: Ut,
|
|
738
738
|
"--body": "_--body_1e9y0_103",
|
|
739
|
-
allert:
|
|
739
|
+
allert: Ht,
|
|
740
740
|
"--form": "_--form_1e9y0_111"
|
|
741
741
|
};
|
|
742
|
-
let
|
|
743
|
-
function
|
|
744
|
-
let [
|
|
745
|
-
return
|
|
742
|
+
let te = {};
|
|
743
|
+
function Gt() {
|
|
744
|
+
let [e, r] = k.useState("");
|
|
745
|
+
return te.set = (a) => r(a), te.del = () => r(""), /* @__PURE__ */ n.jsx(n.Fragment, { children: e });
|
|
746
746
|
}
|
|
747
|
-
const
|
|
747
|
+
const Jt = ({ data: e, callback: r }) => (e.button = e.button === void 0 ? "Подтвердить" : e.button, /* @__PURE__ */ n.jsxs("div", { className: qt.alerts, children: [
|
|
748
748
|
/* @__PURE__ */ n.jsxs("dl", { children: [
|
|
749
|
-
/* @__PURE__ */ n.jsx("dt", { children:
|
|
750
|
-
/* @__PURE__ */ n.jsx("dd", { children:
|
|
749
|
+
/* @__PURE__ */ n.jsx("dt", { children: e.title }),
|
|
750
|
+
/* @__PURE__ */ n.jsx("dd", { children: e.text }),
|
|
751
751
|
/* @__PURE__ */ n.jsx("ul", { children: /* @__PURE__ */ n.jsx(
|
|
752
752
|
"button",
|
|
753
753
|
{
|
|
754
|
-
"data-color":
|
|
754
|
+
"data-color": e.color || "blue",
|
|
755
755
|
onClick: () => {
|
|
756
|
-
r(),
|
|
756
|
+
r(), te.del();
|
|
757
757
|
},
|
|
758
|
-
children:
|
|
758
|
+
children: e.button
|
|
759
759
|
}
|
|
760
760
|
) })
|
|
761
761
|
] }),
|
|
762
|
-
/* @__PURE__ */ n.jsx("div", { className: "--body", onClick:
|
|
762
|
+
/* @__PURE__ */ n.jsx("div", { className: "--body", onClick: te.del })
|
|
763
763
|
] }));
|
|
764
|
-
function Zt(
|
|
765
|
-
|
|
764
|
+
function Zt(e, r) {
|
|
765
|
+
te.set(/* @__PURE__ */ n.jsx(Jt, { data: e, callback: r }));
|
|
766
766
|
}
|
|
767
|
-
function Kt({ children:
|
|
768
|
-
return /* @__PURE__ */ n.jsx("div", { className: "l", children: /* @__PURE__ */ n.jsx("ul", { children:
|
|
767
|
+
function Kt({ children: e }) {
|
|
768
|
+
return /* @__PURE__ */ n.jsx("div", { className: "l", children: /* @__PURE__ */ n.jsx("ul", { children: e }) });
|
|
769
769
|
}
|
|
770
|
-
function Xt({ children:
|
|
771
|
-
return /* @__PURE__ */ n.jsx("div", { className: "s", children:
|
|
770
|
+
function Xt({ children: e }) {
|
|
771
|
+
return /* @__PURE__ */ n.jsx("div", { className: "s", children: e });
|
|
772
772
|
}
|
|
773
773
|
const Qt = ({
|
|
774
|
-
children:
|
|
774
|
+
children: e,
|
|
775
775
|
disabled: r,
|
|
776
776
|
label: a,
|
|
777
|
-
onClick:
|
|
777
|
+
onClick: i
|
|
778
778
|
}) => {
|
|
779
|
-
const
|
|
780
|
-
r ||
|
|
779
|
+
const l = (v) => {
|
|
780
|
+
r || i && i(v);
|
|
781
781
|
};
|
|
782
|
-
return /* @__PURE__ */ n.jsx("button", { disabled: r, onClick:
|
|
783
|
-
}, er = "
|
|
782
|
+
return /* @__PURE__ */ n.jsx("button", { disabled: r, onClick: l, children: a });
|
|
783
|
+
}, er = "_white_1iomo_14", tr = "_black_1iomo_26", rr = "_shake_1iomo_1", nr = "_modal_1iomo_73", ar = "_o_1iomo_83", sr = "_w_1iomo_14", ir = "_h_1iomo_106", or = "_l_1iomo_120", cr = "_t_1iomo_158", lr = "_m_1iomo_73", ur = "_x_1iomo_166", fr = "_s_1iomo_176", dr = "_c_1iomo_181", mr = "_f_1iomo_186", pr = "_btn_1iomo_229", vr = "_g_1iomo_242", hr = "_confirm_1iomo_320", gr = "_cancel_1iomo_325", _r = "_disabled_1iomo_330", xr = "_active_1iomo_387", br = "_coincidence_1iomo_393", L = {
|
|
784
784
|
white: er,
|
|
785
785
|
black: tr,
|
|
786
786
|
shake: rr,
|
|
787
787
|
modal: nr,
|
|
788
|
-
o:
|
|
789
|
-
w:
|
|
790
|
-
h:
|
|
791
|
-
l:
|
|
788
|
+
o: ar,
|
|
789
|
+
w: sr,
|
|
790
|
+
h: ir,
|
|
791
|
+
l: or,
|
|
792
792
|
t: cr,
|
|
793
793
|
m: lr,
|
|
794
794
|
x: ur,
|
|
795
|
-
s:
|
|
796
|
-
c:
|
|
795
|
+
s: fr,
|
|
796
|
+
c: dr,
|
|
797
797
|
f: mr,
|
|
798
|
-
btn:
|
|
799
|
-
g:
|
|
800
|
-
"size-a": "_size-
|
|
801
|
-
"size-s": "_size-
|
|
802
|
-
"size-m": "_size-
|
|
803
|
-
"size-l": "_size-
|
|
804
|
-
"size-x": "_size-
|
|
805
|
-
"size-f": "_size-
|
|
798
|
+
btn: pr,
|
|
799
|
+
g: vr,
|
|
800
|
+
"size-a": "_size-a_1iomo_294",
|
|
801
|
+
"size-s": "_size-s_1iomo_298",
|
|
802
|
+
"size-m": "_size-m_1iomo_302",
|
|
803
|
+
"size-l": "_size-l_1iomo_306",
|
|
804
|
+
"size-x": "_size-x_1iomo_310",
|
|
805
|
+
"size-f": "_size-f_1iomo_314",
|
|
806
806
|
confirm: hr,
|
|
807
|
-
cancel:
|
|
808
|
-
disabled:
|
|
809
|
-
await: "
|
|
810
|
-
active:
|
|
807
|
+
cancel: gr,
|
|
808
|
+
disabled: _r,
|
|
809
|
+
await: "_await_1iomo_337",
|
|
810
|
+
active: xr,
|
|
811
811
|
coincidence: br
|
|
812
812
|
};
|
|
813
|
-
let
|
|
814
|
-
const jr = ({ config:
|
|
815
|
-
let [r, a] =
|
|
816
|
-
return
|
|
813
|
+
let G = {};
|
|
814
|
+
const jr = ({ config: e }) => {
|
|
815
|
+
let [r, a] = k.useState([]);
|
|
816
|
+
return G.x = () => {
|
|
817
817
|
a([]);
|
|
818
|
-
},
|
|
819
|
-
a([...r,
|
|
820
|
-
}, /* @__PURE__ */ n.jsx(n.Fragment, { children: r.map((
|
|
818
|
+
}, G.config = e, G.add = (i) => {
|
|
819
|
+
a([...r, i]);
|
|
820
|
+
}, /* @__PURE__ */ n.jsx(n.Fragment, { children: r.map((i) => i) });
|
|
821
821
|
}, yr = ({
|
|
822
|
-
children:
|
|
822
|
+
children: e,
|
|
823
823
|
title: r,
|
|
824
824
|
button: a,
|
|
825
|
-
tabs:
|
|
826
|
-
size:
|
|
827
|
-
menu:
|
|
825
|
+
tabs: i,
|
|
826
|
+
size: l = "m",
|
|
827
|
+
menu: v
|
|
828
828
|
}) => {
|
|
829
|
-
const [
|
|
829
|
+
const [c, f] = k.useState(!0), u = k.useRef(), d = (x) => {
|
|
830
830
|
if (a && a.onClick)
|
|
831
|
-
return a.onClick({ closed:
|
|
832
|
-
},
|
|
833
|
-
|
|
834
|
-
|
|
831
|
+
return a.onClick({ closed: f, disabled: x });
|
|
832
|
+
}, m = () => {
|
|
833
|
+
u.current.setAttribute("shake", !0), setTimeout(() => {
|
|
834
|
+
u.current.setAttribute("shake", !1);
|
|
835
835
|
}, 1e3);
|
|
836
836
|
};
|
|
837
|
-
return /* @__PURE__ */ n.jsx(n.Fragment, { children:
|
|
837
|
+
return /* @__PURE__ */ n.jsx(n.Fragment, { children: c ? /* @__PURE__ */ n.jsxs(
|
|
838
838
|
"div",
|
|
839
839
|
{
|
|
840
|
-
className: `${
|
|
840
|
+
className: `${L.modal} ${L.white}`,
|
|
841
841
|
children: [
|
|
842
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
843
|
-
/* @__PURE__ */ n.jsxs("div", { className:
|
|
844
|
-
/* @__PURE__ */ n.jsxs("div", { className:
|
|
845
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
846
|
-
/* @__PURE__ */ n.jsxs("div", { className:
|
|
847
|
-
|
|
842
|
+
/* @__PURE__ */ n.jsx("div", { className: L.o, onClick: m }),
|
|
843
|
+
/* @__PURE__ */ n.jsxs("div", { className: L.w, ref: u, children: [
|
|
844
|
+
/* @__PURE__ */ n.jsxs("div", { className: L.h, children: [
|
|
845
|
+
/* @__PURE__ */ n.jsx("div", { className: L.t, children: r }),
|
|
846
|
+
/* @__PURE__ */ n.jsxs("div", { className: L.m, children: [
|
|
847
|
+
i && /* @__PURE__ */ n.jsx("nav", { children: i.map((x, y) => /* @__PURE__ */ n.jsx(
|
|
848
848
|
"span",
|
|
849
849
|
{
|
|
850
|
-
onClick:
|
|
851
|
-
className:
|
|
852
|
-
children:
|
|
850
|
+
onClick: x.onClick,
|
|
851
|
+
className: x.active ? "active" : "",
|
|
852
|
+
children: x.name
|
|
853
853
|
},
|
|
854
|
-
|
|
854
|
+
y
|
|
855
855
|
)) }),
|
|
856
|
-
|
|
856
|
+
v
|
|
857
857
|
] }),
|
|
858
858
|
/* @__PURE__ */ n.jsx(
|
|
859
859
|
"div",
|
|
860
860
|
{
|
|
861
|
-
className:
|
|
861
|
+
className: L.x,
|
|
862
862
|
onClick: () => {
|
|
863
|
-
|
|
863
|
+
f(!1);
|
|
864
864
|
},
|
|
865
|
-
children: "
|
|
865
|
+
children: /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ n.jsx("path", { d: "M19.0005 4.99988L5.00045 18.9999M5.00045 4.99988L19.0005 18.9999", stroke: "currentColor", "stroke-width": "2.5", "stroke-linecap": "round", "stroke-linejoin": "round" }) })
|
|
866
866
|
}
|
|
867
867
|
)
|
|
868
868
|
] }),
|
|
869
|
-
|
|
869
|
+
e,
|
|
870
870
|
a !== void 0 ? /* @__PURE__ */ n.jsx(
|
|
871
871
|
Qt,
|
|
872
872
|
{
|
|
873
873
|
label: String(a.name),
|
|
874
|
-
onClick:
|
|
874
|
+
onClick: d
|
|
875
875
|
}
|
|
876
876
|
) : ""
|
|
877
877
|
] })
|
|
878
878
|
]
|
|
879
879
|
}
|
|
880
880
|
) : "" });
|
|
881
|
-
},
|
|
882
|
-
|
|
883
|
-
},
|
|
884
|
-
let [
|
|
885
|
-
return
|
|
886
|
-
|
|
887
|
-
}, [a.id]), /* @__PURE__ */ n.jsx(n.Fragment, { children:
|
|
888
|
-
},
|
|
889
|
-
|
|
890
|
-
},
|
|
891
|
-
let
|
|
892
|
-
const
|
|
893
|
-
function wr(
|
|
894
|
-
if (
|
|
895
|
-
let
|
|
896
|
-
|
|
881
|
+
}, Sr = (e) => {
|
|
882
|
+
G.add(/* @__PURE__ */ n.jsx(Cr, { children: e }, String(Date.now())));
|
|
883
|
+
}, Cr = ({ children: e }) => /* @__PURE__ */ n.jsx(n.Fragment, { children: e }), kr = ({ type: e, name: r, params: a }) => {
|
|
884
|
+
let [i, l] = k.useState(null);
|
|
885
|
+
return k.useEffect(() => {
|
|
886
|
+
G.config(e, r, a, l);
|
|
887
|
+
}, [a.id]), /* @__PURE__ */ n.jsx(n.Fragment, { children: i });
|
|
888
|
+
}, Er = (e, r, a) => {
|
|
889
|
+
G.config(e, r, a);
|
|
890
|
+
}, Rr = { List: Kt, Scroll: Xt, Init: jr, Main: yr, Add: Sr, Icon: kr, Open: Er };
|
|
891
|
+
let w = {};
|
|
892
|
+
const h = {}, P = {}, qe = {};
|
|
893
|
+
function wr(e, r) {
|
|
894
|
+
if (w = e, localStorage.getItem("ssid")) {
|
|
895
|
+
let i = sessionStorage.getItem("page");
|
|
896
|
+
i ? (i = w.deCode(i), h.id = i.id, h.tab = i.tab, h.page = i.page, h.module = i.module, h.time = i.time, h.payment = { active: !0 }, h.module_admin = i.module_admin) : (h.id = 0, h.tab = "", h.page = "Main", h.module = h.module || "M05");
|
|
897
897
|
} else
|
|
898
898
|
[
|
|
899
899
|
"ssid",
|
|
@@ -908,10 +908,10 @@ function wr(t, r) {
|
|
|
908
908
|
"port",
|
|
909
909
|
"mark",
|
|
910
910
|
"sort"
|
|
911
|
-
].forEach((
|
|
911
|
+
].forEach((i) => localStorage.removeItem(i)), ["page"].forEach((i) => sessionStorage.removeItem(i)), h.id = 0, h.tab = "", h.page = "Auth", h.module = "M00";
|
|
912
912
|
return r;
|
|
913
913
|
}
|
|
914
|
-
function
|
|
914
|
+
function J() {
|
|
915
915
|
[
|
|
916
916
|
"ssid",
|
|
917
917
|
"menu",
|
|
@@ -925,167 +925,167 @@ function Y() {
|
|
|
925
925
|
"port",
|
|
926
926
|
"mark",
|
|
927
927
|
"sort"
|
|
928
|
-
].forEach((
|
|
928
|
+
].forEach((e) => localStorage.removeItem(e)), ["page"].forEach((e) => sessionStorage.removeItem(e)), window.location.reload();
|
|
929
929
|
}
|
|
930
|
-
function Tr(
|
|
931
|
-
|
|
930
|
+
function Tr(e) {
|
|
931
|
+
e = e.split("/"), h.page = "Main", h.module = e[0], h.tab = e[1], h.id = 0, sessionStorage.setItem(
|
|
932
932
|
"page",
|
|
933
|
-
|
|
934
|
-
module:
|
|
935
|
-
page:
|
|
936
|
-
tab:
|
|
937
|
-
id:
|
|
933
|
+
w.enCode({
|
|
934
|
+
module: h.module,
|
|
935
|
+
page: h.page,
|
|
936
|
+
tab: h.tab,
|
|
937
|
+
id: h.id,
|
|
938
938
|
time: (/* @__PURE__ */ new Date()).getTime()
|
|
939
939
|
})
|
|
940
|
-
),
|
|
940
|
+
), P.page(h.page);
|
|
941
941
|
}
|
|
942
|
-
function Ir(
|
|
943
|
-
return localStorage.setItem("ssid",
|
|
942
|
+
function Ir(e) {
|
|
943
|
+
return localStorage.setItem("ssid", e);
|
|
944
944
|
}
|
|
945
945
|
function Pr() {
|
|
946
|
-
let
|
|
947
|
-
return
|
|
946
|
+
let e = localStorage.getItem("ssid");
|
|
947
|
+
return e !== "" && e !== "undefined" && e !== null ? localStorage.getItem("ssid") : (J(), !1);
|
|
948
948
|
}
|
|
949
|
-
function
|
|
950
|
-
return localStorage.setItem("auth",
|
|
949
|
+
function Nr(e) {
|
|
950
|
+
return localStorage.setItem("auth", e);
|
|
951
951
|
}
|
|
952
|
-
function
|
|
953
|
-
let
|
|
954
|
-
return
|
|
952
|
+
function Or() {
|
|
953
|
+
let e = localStorage.getItem("auth");
|
|
954
|
+
return e !== "" && e !== "undefined" && e !== null ? e : (J(), !1);
|
|
955
955
|
}
|
|
956
|
-
function
|
|
957
|
-
const [
|
|
958
|
-
r(
|
|
956
|
+
function $r() {
|
|
957
|
+
const [e, r] = k.useState(Ke()), a = (i) => {
|
|
958
|
+
r(i);
|
|
959
959
|
};
|
|
960
|
-
return
|
|
960
|
+
return P.page = a, [e];
|
|
961
961
|
}
|
|
962
|
-
function Fr(
|
|
963
|
-
|
|
962
|
+
function Fr(e) {
|
|
963
|
+
h.page = e, sessionStorage.setItem("page", w.enCode(h)), P.page(e);
|
|
964
964
|
}
|
|
965
|
-
function
|
|
966
|
-
return
|
|
965
|
+
function Ke() {
|
|
966
|
+
return h.page;
|
|
967
967
|
}
|
|
968
|
-
function
|
|
969
|
-
const [
|
|
970
|
-
r(
|
|
968
|
+
function Mr() {
|
|
969
|
+
const [e, r] = k.useState(Xe()), a = (i) => {
|
|
970
|
+
r(i);
|
|
971
971
|
};
|
|
972
|
-
return
|
|
972
|
+
return P.module = a, [e];
|
|
973
973
|
}
|
|
974
|
-
function
|
|
975
|
-
|
|
974
|
+
function Dr(e, r) {
|
|
975
|
+
h.module = e, sessionStorage.setItem("page", w.enCode(h)), r !== "false" && P.module(e);
|
|
976
976
|
}
|
|
977
|
-
function
|
|
978
|
-
return
|
|
977
|
+
function Xe() {
|
|
978
|
+
return h.module;
|
|
979
979
|
}
|
|
980
|
-
function
|
|
981
|
-
const [r, a] =
|
|
982
|
-
a(
|
|
980
|
+
function Ar(e) {
|
|
981
|
+
const [r, a] = k.useState(le() || e), i = (l) => {
|
|
982
|
+
a(l);
|
|
983
983
|
};
|
|
984
|
-
return
|
|
984
|
+
return P.tabs = i, [r];
|
|
985
985
|
}
|
|
986
|
-
function
|
|
987
|
-
|
|
986
|
+
function Lr(e, r) {
|
|
987
|
+
h.tab = e, sessionStorage.setItem("page", w.enCode(h)), r !== "false" && P.tabs(e);
|
|
988
988
|
}
|
|
989
|
-
function
|
|
990
|
-
return
|
|
989
|
+
function le() {
|
|
990
|
+
return h.tab;
|
|
991
991
|
}
|
|
992
|
-
function
|
|
993
|
-
const [
|
|
994
|
-
r(
|
|
992
|
+
function zr() {
|
|
993
|
+
const [e, r] = k.useState(h.id), a = (i) => {
|
|
994
|
+
r(i);
|
|
995
995
|
};
|
|
996
|
-
return
|
|
996
|
+
return P.id = a, [e];
|
|
997
997
|
}
|
|
998
|
-
function
|
|
999
|
-
|
|
998
|
+
function Yr(e) {
|
|
999
|
+
P.id = e;
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1002
|
-
|
|
1001
|
+
function Br(e, r) {
|
|
1002
|
+
h.id = e, sessionStorage.setItem("page", w.enCode(h)), r !== "false" && P.id(e);
|
|
1003
1003
|
}
|
|
1004
|
-
function
|
|
1005
|
-
return
|
|
1004
|
+
function Wr() {
|
|
1005
|
+
return h.id;
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1008
|
-
|
|
1007
|
+
function Vr(e, r, a) {
|
|
1008
|
+
h.module = e, h.id = a, h.tab = r, sessionStorage.setItem("page", w.enCode(h)), P.module(e), P.tabs(r);
|
|
1009
1009
|
}
|
|
1010
|
-
function
|
|
1011
|
-
|
|
1010
|
+
function Ur(e, r) {
|
|
1011
|
+
qe.data[e] = r, localStorage.setItem("sett", w.enCode(qe.data));
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function Hr(e) {
|
|
1014
1014
|
let r = localStorage.getItem("sett");
|
|
1015
|
-
return r === null ? {} : (r =
|
|
1015
|
+
return r === null ? {} : (r = w.deCode(r), r ? e !== void 0 ? r[e] : r : J());
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1018
|
-
localStorage.setItem("menu",
|
|
1017
|
+
function qr(e) {
|
|
1018
|
+
localStorage.setItem("menu", w.enCode({ data: e }));
|
|
1019
1019
|
}
|
|
1020
|
-
function
|
|
1021
|
-
let
|
|
1022
|
-
if (
|
|
1023
|
-
let r = localStorage.getItem("menu"), a =
|
|
1024
|
-
a ||
|
|
1025
|
-
const
|
|
1026
|
-
let
|
|
1027
|
-
for (;
|
|
1028
|
-
|
|
1029
|
-
return
|
|
1020
|
+
function Gr() {
|
|
1021
|
+
let e = localStorage.getItem("menu");
|
|
1022
|
+
if (e !== "" && e !== "undefined" && e !== null) {
|
|
1023
|
+
let r = localStorage.getItem("menu"), a = w.deCode(r);
|
|
1024
|
+
a || J();
|
|
1025
|
+
const i = (v, c) => {
|
|
1026
|
+
let f = c + "";
|
|
1027
|
+
for (; f.length < v; )
|
|
1028
|
+
f = "0" + f;
|
|
1029
|
+
return f;
|
|
1030
1030
|
};
|
|
1031
|
-
return a.data.split(",").map((
|
|
1031
|
+
return a.data.split(",").map((v) => "M" + i(2, v));
|
|
1032
1032
|
} else
|
|
1033
|
-
return
|
|
1033
|
+
return J(), !1;
|
|
1034
1034
|
}
|
|
1035
|
-
function
|
|
1036
|
-
|
|
1035
|
+
function Jr(e) {
|
|
1036
|
+
P.sort = e;
|
|
1037
1037
|
}
|
|
1038
|
-
function
|
|
1038
|
+
function Qe(e) {
|
|
1039
1039
|
let r = localStorage.getItem("sort");
|
|
1040
|
-
r = r === null ? {} :
|
|
1040
|
+
r = r === null ? {} : w.deCode(r), r[le()] = e, localStorage.setItem("sort", w.enCode(r));
|
|
1041
1041
|
}
|
|
1042
|
-
function
|
|
1043
|
-
let
|
|
1044
|
-
return
|
|
1042
|
+
function be() {
|
|
1043
|
+
let e = localStorage.getItem("sort");
|
|
1044
|
+
return e === null ? {} : (e = w.deCode(e), e = e[le()], e = e === void 0 ? { active: 1, sort: "<" } : e, e);
|
|
1045
1045
|
}
|
|
1046
|
-
const Zr = ({ children:
|
|
1047
|
-
/* @__PURE__ */ n.jsx(
|
|
1048
|
-
/* @__PURE__ */ n.jsx(
|
|
1049
|
-
/* @__PURE__ */ n.jsx(
|
|
1050
|
-
|
|
1051
|
-
] })), Kr = ({ children:
|
|
1046
|
+
const Zr = ({ children: e, config: r, crypto: a, ...i }) => wr(a, /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
1047
|
+
/* @__PURE__ */ n.jsx(Rr.Init, { config: r.modal }),
|
|
1048
|
+
/* @__PURE__ */ n.jsx(Dt, {}),
|
|
1049
|
+
/* @__PURE__ */ n.jsx(Gt, {}),
|
|
1050
|
+
e
|
|
1051
|
+
] })), Kr = ({ children: e, ...r }) => /* @__PURE__ */ n.jsx("menu", { children: e }), Xr = ({ children: e, ...r }) => /* @__PURE__ */ n.jsxs("header", { children: [
|
|
1052
1052
|
"xz",
|
|
1053
|
-
|
|
1053
|
+
e
|
|
1054
1054
|
] }), Qr = "_payment_1lxfv_1", en = {
|
|
1055
1055
|
payment: Qr
|
|
1056
1056
|
};
|
|
1057
1057
|
function tn() {
|
|
1058
|
-
let [
|
|
1059
|
-
return !
|
|
1058
|
+
let [e, r] = k.useState({});
|
|
1059
|
+
return !e.active && !e.payment ? "" : /* @__PURE__ */ n.jsx("div", { className: en.payment, children: "Истек срок оплаты! Доступ доступен до 16.04.2024" });
|
|
1060
1060
|
}
|
|
1061
|
-
const
|
|
1061
|
+
const Kn = ({ children: e, ...r }) => {
|
|
1062
1062
|
let a = {};
|
|
1063
|
-
return a.enCode = (
|
|
1063
|
+
return a.enCode = (i) => JSON.stringify(i).toString(), a.deCode = (i) => JSON.parse(i), /* @__PURE__ */ n.jsxs("div", { className: "app", children: [
|
|
1064
1064
|
/* @__PURE__ */ n.jsx(tn, {}),
|
|
1065
1065
|
/* @__PURE__ */ n.jsx(Kr, {}),
|
|
1066
1066
|
/* @__PURE__ */ n.jsx(Xr, {}),
|
|
1067
1067
|
/* @__PURE__ */ n.jsx(Zr, { config: { modal: {} }, crypto: a }),
|
|
1068
|
-
|
|
1068
|
+
e
|
|
1069
1069
|
] });
|
|
1070
|
-
}, rn = ({ list:
|
|
1070
|
+
}, rn = ({ list: e, onClick: r, active: a, size: i, view: l }) => /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [i, l].join(" "), children: e.map((v) => /* @__PURE__ */ n.jsx(
|
|
1071
1071
|
nn,
|
|
1072
1072
|
{
|
|
1073
1073
|
onClick: r,
|
|
1074
1074
|
active: a,
|
|
1075
|
-
label:
|
|
1076
|
-
link:
|
|
1075
|
+
label: v.label,
|
|
1076
|
+
link: v.link
|
|
1077
1077
|
},
|
|
1078
|
-
|
|
1079
|
-
)) }) }), nn = ({ onClick:
|
|
1078
|
+
v.link
|
|
1079
|
+
)) }) }), nn = ({ onClick: e, label: r, link: a, active: i }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(i === a), onClick: () => e(a), children: r });
|
|
1080
1080
|
rn.defaultProps = { size: "M", view: "H" };
|
|
1081
|
-
const
|
|
1082
|
-
title:
|
|
1081
|
+
const an = ({
|
|
1082
|
+
title: e = "",
|
|
1083
1083
|
button: r,
|
|
1084
1084
|
description: a = "",
|
|
1085
|
-
children:
|
|
1085
|
+
children: i
|
|
1086
1086
|
}) => /* @__PURE__ */ n.jsxs("fieldset", { children: [
|
|
1087
|
-
|
|
1088
|
-
|
|
1087
|
+
e && /* @__PURE__ */ n.jsxs("legend", { children: [
|
|
1088
|
+
e,
|
|
1089
1089
|
r && /* @__PURE__ */ n.jsx(
|
|
1090
1090
|
"div",
|
|
1091
1091
|
{
|
|
@@ -1096,76 +1096,76 @@ const sn = ({
|
|
|
1096
1096
|
),
|
|
1097
1097
|
" "
|
|
1098
1098
|
] }),
|
|
1099
|
-
/* @__PURE__ */ n.jsx("ul", { children:
|
|
1099
|
+
/* @__PURE__ */ n.jsx("ul", { children: i }),
|
|
1100
1100
|
a && /* @__PURE__ */ n.jsx("article", { children: a })
|
|
1101
|
-
] }),
|
|
1102
|
-
setting:
|
|
1103
|
-
}, cn = ({ children:
|
|
1104
|
-
let [a,
|
|
1101
|
+
] }), sn = "_setting_1r0pc_2", on = {
|
|
1102
|
+
setting: sn
|
|
1103
|
+
}, cn = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: on.setting, children: e }), ln = ({ label: e, children: r }) => {
|
|
1104
|
+
let [a, i] = k.useState(!1);
|
|
1105
1105
|
return /* @__PURE__ */ n.jsxs("li", { "data-item": "accordion", children: [
|
|
1106
|
-
/* @__PURE__ */ n.jsxs("dl", { onClick: () =>
|
|
1107
|
-
/* @__PURE__ */ n.jsx("dt", { children:
|
|
1106
|
+
/* @__PURE__ */ n.jsxs("dl", { onClick: () => i(!a), children: [
|
|
1107
|
+
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
1108
1108
|
/* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx("div", { "data-close": String(a) }) })
|
|
1109
1109
|
] }),
|
|
1110
1110
|
a && /* @__PURE__ */ n.jsx("div", { children: r })
|
|
1111
1111
|
] });
|
|
1112
|
-
}, un = ({ label:
|
|
1113
|
-
/* @__PURE__ */ n.jsx("dt", { children:
|
|
1112
|
+
}, un = ({ label: e, onClick: r, button: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
1113
|
+
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
1114
1114
|
/* @__PURE__ */ n.jsx("dd", { role: "button", onClick: () => r(), children: a })
|
|
1115
|
-
] }) }),
|
|
1115
|
+
] }) }), fn = ({ active: e, onClick: r }) => (console.log(e), e = typeof e == "number" ? !!e : e, /* @__PURE__ */ n.jsx(
|
|
1116
1116
|
"div",
|
|
1117
1117
|
{
|
|
1118
1118
|
role: "switch",
|
|
1119
1119
|
onClick: () => {
|
|
1120
1120
|
console.log("Wewew"), r();
|
|
1121
1121
|
},
|
|
1122
|
-
"aria-checked":
|
|
1122
|
+
"aria-checked": e ? "true" : "false"
|
|
1123
1123
|
}
|
|
1124
|
-
)),
|
|
1125
|
-
/* @__PURE__ */ n.jsx("dt", { children:
|
|
1126
|
-
/* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx(
|
|
1127
|
-
] }) }),
|
|
1128
|
-
/* @__PURE__ */ n.jsx("dt", { children:
|
|
1124
|
+
)), dn = { Switch: fn }, mn = ({ label: e, onClick: r, active: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
1125
|
+
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
1126
|
+
/* @__PURE__ */ n.jsx("dd", { children: /* @__PURE__ */ n.jsx(dn.Switch, { onClick: r, active: a }) })
|
|
1127
|
+
] }) }), pn = ({ label: e, active: r, options: a }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
1128
|
+
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
1129
1129
|
/* @__PURE__ */ n.jsx("dd", { role: "info", children: r })
|
|
1130
|
-
] }) }),
|
|
1131
|
-
/* @__PURE__ */ n.jsx("dt", { children:
|
|
1130
|
+
] }) }), vn = ({ label: e, info: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
1131
|
+
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
1132
1132
|
/* @__PURE__ */ n.jsx("dd", { role: "info", children: r })
|
|
1133
|
-
] }) }), hn = ({ label:
|
|
1134
|
-
/* @__PURE__ */ n.jsx("dt", { children:
|
|
1133
|
+
] }) }), hn = ({ label: e, children: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
1134
|
+
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
1135
1135
|
/* @__PURE__ */ n.jsx("dd", { children: r })
|
|
1136
|
-
] }) }),
|
|
1137
|
-
/* @__PURE__ */ n.jsx("dt", { children:
|
|
1136
|
+
] }) }), gn = ({ label: e, children: r }) => /* @__PURE__ */ n.jsx("li", { children: /* @__PURE__ */ n.jsxs("dl", { children: [
|
|
1137
|
+
/* @__PURE__ */ n.jsx("dt", { children: e }),
|
|
1138
1138
|
/* @__PURE__ */ n.jsx("dd", { children: r })
|
|
1139
|
-
] }) }),
|
|
1140
|
-
function
|
|
1141
|
-
return /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [
|
|
1142
|
-
|
|
1139
|
+
] }) }), _n = { Accordion: ln, Button: un, Switch: mn, Info: vn, Select: pn, Component: hn, Node: gn };
|
|
1140
|
+
function et({ list: e, onClick: r, active: a, size: i, view: l }) {
|
|
1141
|
+
return /* @__PURE__ */ n.jsx("nav", { children: /* @__PURE__ */ n.jsx("ul", { className: [i, l].join(" "), children: e.map((v) => /* @__PURE__ */ n.jsx(
|
|
1142
|
+
xn,
|
|
1143
1143
|
{
|
|
1144
1144
|
onClick: r,
|
|
1145
1145
|
active: a,
|
|
1146
|
-
label:
|
|
1147
|
-
link:
|
|
1146
|
+
label: v.label,
|
|
1147
|
+
link: v.link
|
|
1148
1148
|
},
|
|
1149
|
-
|
|
1149
|
+
v.link
|
|
1150
1150
|
)) }) });
|
|
1151
1151
|
}
|
|
1152
|
-
const
|
|
1153
|
-
|
|
1154
|
-
const
|
|
1152
|
+
const xn = ({ onClick: e, label: r, link: a, active: i }) => /* @__PURE__ */ n.jsx("li", { "tabs-active": String(i === a), onClick: () => e(a), children: r });
|
|
1153
|
+
et.defaultProps = { size: "M", view: "H" };
|
|
1154
|
+
const Xn = { Section: an, Main: cn, Item: _n, Tabs: et }, bn = "_h_158b4_1", jn = "_t_158b4_11", yn = "_s_158b4_31", Sn = "_u_158b4_40", Cn = "_o_158b4_47", kn = "_l_158b4_56", En = "_hh_158b4_63", V = {
|
|
1155
1155
|
h: bn,
|
|
1156
1156
|
t: jn,
|
|
1157
1157
|
s: yn,
|
|
1158
|
-
u:
|
|
1159
|
-
o:
|
|
1160
|
-
l:
|
|
1161
|
-
hh:
|
|
1162
|
-
},
|
|
1163
|
-
/* @__PURE__ */ n.jsx("div", { className:
|
|
1158
|
+
u: Sn,
|
|
1159
|
+
o: Cn,
|
|
1160
|
+
l: kn,
|
|
1161
|
+
hh: En
|
|
1162
|
+
}, Ge = ({ title: e, children: r }) => /* @__PURE__ */ n.jsxs("div", { className: V.h, children: [
|
|
1163
|
+
/* @__PURE__ */ n.jsx("div", { className: V.t, children: e }),
|
|
1164
1164
|
r
|
|
1165
|
-
] }),
|
|
1166
|
-
r && /* @__PURE__ */ n.jsx("div", { className:
|
|
1167
|
-
|
|
1168
|
-
] }), wn = ({ children:
|
|
1165
|
+
] }), Rn = ({ children: e, title: r }) => /* @__PURE__ */ n.jsxs("div", { className: V.o, children: [
|
|
1166
|
+
r && /* @__PURE__ */ n.jsx("div", { className: V.hh, children: r }),
|
|
1167
|
+
e
|
|
1168
|
+
] }), wn = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: V.u, children: e }), Je = ({ children: e }) => /* @__PURE__ */ n.jsx("div", { className: V.s, children: e }), Ze = ({ children: e, ...r }) => /* @__PURE__ */ n.jsx("div", { className: V.l, children: e }), Qn = { Header: Ge, Section: Je, List: Ze, U: wn, L: Ze, O: Rn, S: Je, H: Ge }, ea = { Send: At, Error: Lt, Remark: Yt, Success: zt, Copy: Bt }, ta = { Send: Zt };
|
|
1169
1169
|
function Tn() {
|
|
1170
1170
|
return /* @__PURE__ */ n.jsx("svg", { viewBox: "0 0 462.86 359.96", children: /* @__PURE__ */ n.jsx(
|
|
1171
1171
|
"path",
|
|
@@ -1175,14 +1175,16 @@ function Tn() {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
) });
|
|
1177
1177
|
}
|
|
1178
|
-
const
|
|
1179
|
-
|
|
1180
|
-
|
|
1178
|
+
const ra = { Logo: Tn }, na = { setSSID: Ir, getSSID: Pr, Logaut: J, setAUTH: Nr, getAUTH: Or, Start: Tr, setSetting: Ur, getSetting: Hr, setMenu: qr, getMenu: Gr, useSort: Jr, setSort: Qe, getSort: be }, aa = { Path: Vr, setPage: Fr, getPage: Ke, usePage: $r, setModule: Dr, getModule: Xe, useModule: Mr, setTabs: Lr, getTabs: le, useTabs: Ar, useId: zr, setId: Br, subId: Yr, getId: Wr }, In = "_sort_1yrvt_1", Pn = {
|
|
1179
|
+
sort: In
|
|
1180
|
+
};
|
|
1181
|
+
let ue = {};
|
|
1182
|
+
function Nn(e, r) {
|
|
1181
1183
|
switch (r.type) {
|
|
1182
1184
|
case "active":
|
|
1183
1185
|
let a = "<";
|
|
1184
|
-
return
|
|
1185
|
-
...
|
|
1186
|
+
return e.active === r.data && (a = e.sort === "<" ? ">" : "<"), ue.get({ active: r.data, sort: a }, !1), Qe({ active: r.data, sort: a }), {
|
|
1187
|
+
...e,
|
|
1186
1188
|
active: r.data,
|
|
1187
1189
|
sort: a
|
|
1188
1190
|
};
|
|
@@ -1190,80 +1192,484 @@ function In(t, r) {
|
|
|
1190
1192
|
throw new Error();
|
|
1191
1193
|
}
|
|
1192
1194
|
}
|
|
1193
|
-
function
|
|
1194
|
-
const [
|
|
1195
|
-
|
|
1196
|
-
|
|
1195
|
+
function On() {
|
|
1196
|
+
const [e, r] = k.useReducer(
|
|
1197
|
+
Nn,
|
|
1198
|
+
be() === void 0 ? { active: 1, sort: "<" } : be()
|
|
1197
1199
|
);
|
|
1198
|
-
return /* @__PURE__ */ n.
|
|
1200
|
+
return /* @__PURE__ */ n.jsxs("div", { className: Pn.sort, children: [
|
|
1199
1201
|
/* @__PURE__ */ n.jsx(
|
|
1200
1202
|
"i",
|
|
1201
1203
|
{
|
|
1202
|
-
"data-color":
|
|
1203
|
-
"data-icon":
|
|
1204
|
+
"data-color": e.active === 1 ? "_506290" : "_b5b9cc",
|
|
1205
|
+
"data-icon": e.active === 1 ? e.sort === "<" ? "F073" : "F072" : "F071",
|
|
1204
1206
|
onClick: () => r({ type: "active", data: 1 })
|
|
1205
1207
|
}
|
|
1206
1208
|
),
|
|
1207
1209
|
/* @__PURE__ */ n.jsx(
|
|
1208
1210
|
"i",
|
|
1209
1211
|
{
|
|
1210
|
-
"data-color":
|
|
1211
|
-
"data-icon":
|
|
1212
|
+
"data-color": e.active === 2 ? "_506290" : "_b5b9cc",
|
|
1213
|
+
"data-icon": e.active === 2 ? e.sort === "<" ? "F066" : "F067" : "F074",
|
|
1212
1214
|
onClick: () => r({ type: "active", data: 2 })
|
|
1213
1215
|
}
|
|
1214
1216
|
),
|
|
1215
1217
|
/* @__PURE__ */ n.jsx(
|
|
1216
1218
|
"i",
|
|
1217
1219
|
{
|
|
1218
|
-
"data-color":
|
|
1219
|
-
"data-icon":
|
|
1220
|
+
"data-color": e.active === 3 ? "_506290" : "_b5b9cc",
|
|
1221
|
+
"data-icon": e.active === 3 ? e.sort === "<" ? "F068" : "F069" : "F070",
|
|
1220
1222
|
onClick: () => r({ type: "active", data: 3 })
|
|
1221
1223
|
}
|
|
1222
1224
|
)
|
|
1223
|
-
] })
|
|
1225
|
+
] });
|
|
1224
1226
|
}
|
|
1225
|
-
function
|
|
1226
|
-
|
|
1227
|
+
function $n(e) {
|
|
1228
|
+
ue.get = e;
|
|
1227
1229
|
}
|
|
1228
|
-
function
|
|
1229
|
-
|
|
1230
|
+
function Fn(e) {
|
|
1231
|
+
ue.set(e);
|
|
1230
1232
|
}
|
|
1231
|
-
function
|
|
1232
|
-
let
|
|
1233
|
-
|
|
1234
|
-
let
|
|
1235
|
-
switch (
|
|
1233
|
+
function Mn(e, r, a) {
|
|
1234
|
+
let i = 1, l = 0, v = {}, c = 50;
|
|
1235
|
+
v[i] = [];
|
|
1236
|
+
let f = {}, u = "s1a";
|
|
1237
|
+
switch (f.s1a = (d, m) => m.s1 - d.s1, f.s1d = (d, m) => d.s1 - m.s1, f.s2a = (d, m) => d.s2 - m.s2, f.s2d = (d, m) => m.s2 - d.s2, f.s3a = (d, m) => d.s3.localeCompare(m.s3), f.s3d = (d, m) => m.s3.localeCompare(d.s3), a.active) {
|
|
1236
1238
|
case 1:
|
|
1237
|
-
|
|
1239
|
+
u = a.sort === ">" ? "s1d" : "s1a";
|
|
1238
1240
|
break;
|
|
1239
1241
|
case 2:
|
|
1240
|
-
|
|
1242
|
+
u = a.sort === ">" ? "s2d" : "s2a";
|
|
1241
1243
|
break;
|
|
1242
1244
|
case 3:
|
|
1243
|
-
|
|
1245
|
+
u = a.sort === ">" ? "s3d" : "s3a";
|
|
1244
1246
|
break;
|
|
1245
1247
|
}
|
|
1246
|
-
return r.sort(
|
|
1247
|
-
|
|
1248
|
-
}), { data:
|
|
1248
|
+
return r.sort(f[u]).forEach((d) => {
|
|
1249
|
+
l++, l <= c || (i++, l = 1, v[i] = []), v[i].push(e[d.id]);
|
|
1250
|
+
}), { data: v };
|
|
1251
|
+
}
|
|
1252
|
+
function Dn(e) {
|
|
1253
|
+
ue.count(e);
|
|
1254
|
+
}
|
|
1255
|
+
const sa = { Init: On, useValue: $n, Set: Fn, Run: Mn, Count: Dn };
|
|
1256
|
+
function An(e, r) {
|
|
1257
|
+
r === void 0 ? (r = e, e = /* @__PURE__ */ new Date()) : e = new Date(e);
|
|
1258
|
+
let a = {
|
|
1259
|
+
yyyy: e.getFullYear(),
|
|
1260
|
+
yy: ("" + e.getFullYear()).slice(-2),
|
|
1261
|
+
mm: ("0" + (e.getMonth() + 1)).slice(-2),
|
|
1262
|
+
dd: ("0" + e.getDate()).slice(-2),
|
|
1263
|
+
HH: ("0" + e.getHours()).slice(-2),
|
|
1264
|
+
MM: ("0" + e.getMinutes()).slice(-2),
|
|
1265
|
+
SS: ("0" + e.getSeconds()).slice(-2),
|
|
1266
|
+
__: " ",
|
|
1267
|
+
_: " "
|
|
1268
|
+
};
|
|
1269
|
+
for (const i in a)
|
|
1270
|
+
r = r.replace(i, a[i]);
|
|
1271
|
+
return r;
|
|
1272
|
+
}
|
|
1273
|
+
function Ln(e) {
|
|
1274
|
+
let r = ["Января", "Февраля", "Марта", "Апреля", "Мая", "Июня", "Июля", "Августа", "Сентября", "Октября", "Ноября", "Декабря"], a = new Date(e);
|
|
1275
|
+
return { day: ("" + a.getFullYear()).slice(-2) + "" + ("0" + (a.getMonth() + 1)).slice(-2) + ("0" + a.getDate()).slice(-2), name: a.getDate() + " " + r[a.getMonth()] };
|
|
1276
|
+
}
|
|
1277
|
+
const zn = (e) => {
|
|
1278
|
+
function r(F, A) {
|
|
1279
|
+
var Y, ne, U;
|
|
1280
|
+
F = F ?? "", A = A ?? 1;
|
|
1281
|
+
for (var Y = [], U = 0, ne = F.length; U < ne; )
|
|
1282
|
+
Y.push(F.slice(U, U += A));
|
|
1283
|
+
return Y;
|
|
1284
|
+
}
|
|
1285
|
+
function a(F, A) {
|
|
1286
|
+
var Y = [2, 0, 1, 1, 1, 2];
|
|
1287
|
+
return A[F > 4 && F < 20 ? 2 : Y[Math.min(F, 5)]];
|
|
1288
|
+
}
|
|
1289
|
+
var i = {
|
|
1290
|
+
null: "ноль",
|
|
1291
|
+
a1: [
|
|
1292
|
+
"один",
|
|
1293
|
+
"два",
|
|
1294
|
+
"три",
|
|
1295
|
+
"четыре",
|
|
1296
|
+
"пять",
|
|
1297
|
+
"шесть",
|
|
1298
|
+
"семь",
|
|
1299
|
+
"восемь",
|
|
1300
|
+
"девять"
|
|
1301
|
+
],
|
|
1302
|
+
a2: [
|
|
1303
|
+
"одна",
|
|
1304
|
+
"две",
|
|
1305
|
+
"три",
|
|
1306
|
+
"четыре",
|
|
1307
|
+
"пять",
|
|
1308
|
+
"шесть",
|
|
1309
|
+
"семь",
|
|
1310
|
+
"восемь",
|
|
1311
|
+
"девять"
|
|
1312
|
+
],
|
|
1313
|
+
a10: [
|
|
1314
|
+
"десять",
|
|
1315
|
+
"одиннадцать",
|
|
1316
|
+
"двенадцать",
|
|
1317
|
+
"тринадцать",
|
|
1318
|
+
"четырнадцать",
|
|
1319
|
+
"пятнадцать",
|
|
1320
|
+
"шестнадцать",
|
|
1321
|
+
"семнадцать",
|
|
1322
|
+
"восемнадцать",
|
|
1323
|
+
"девятнадцать"
|
|
1324
|
+
],
|
|
1325
|
+
a20: [
|
|
1326
|
+
"двадцать",
|
|
1327
|
+
"тридцать",
|
|
1328
|
+
"сорок",
|
|
1329
|
+
"пятьдесят",
|
|
1330
|
+
"шестьдесят",
|
|
1331
|
+
"семьдесят",
|
|
1332
|
+
"восемьдесят",
|
|
1333
|
+
"девяносто"
|
|
1334
|
+
],
|
|
1335
|
+
a100: [
|
|
1336
|
+
"сто",
|
|
1337
|
+
"двести",
|
|
1338
|
+
"триста",
|
|
1339
|
+
"четыреста",
|
|
1340
|
+
"пятьсот",
|
|
1341
|
+
"шестьсот",
|
|
1342
|
+
"семьсот",
|
|
1343
|
+
"восемьсот",
|
|
1344
|
+
"девятьсот"
|
|
1345
|
+
],
|
|
1346
|
+
uc: ["копейка", "копейки", "копеек"],
|
|
1347
|
+
ur: ["рубль", "рубля", "рублей"],
|
|
1348
|
+
u3: ["тысяча", "тысячи", "тысяч"],
|
|
1349
|
+
u2: ["миллион", "миллиона", "миллионов"],
|
|
1350
|
+
u1: ["миллиард", "миллиарда", "миллиардов"]
|
|
1351
|
+
}, l, v, c, f, $, u, d, Z, m, x, y, T;
|
|
1352
|
+
m = parseFloat(e).toFixed(2).split("."), u = m[0], f = m[1];
|
|
1353
|
+
var O = 12 - u.length;
|
|
1354
|
+
if (O < 0)
|
|
1355
|
+
return !1;
|
|
1356
|
+
for (var Z = []; O--; )
|
|
1357
|
+
Z.push("0");
|
|
1358
|
+
u = Z.join("") + u;
|
|
1359
|
+
var $ = [];
|
|
1360
|
+
if (u > 0) {
|
|
1361
|
+
x = r(u, 3);
|
|
1362
|
+
for (var I = -1; I < x.length; I++)
|
|
1363
|
+
if (d = x[I], d > 0 && (y = r(d, 1), l = parseInt(y[0]), v = parseInt(y[1]), c = parseInt(y[2]), $.push(i.a100[l - 1]), T = I + 1 == 3 ? "a2" : "a1", v > 1 ? $.push(
|
|
1364
|
+
i.a20[v - 2] + (c > 0 ? " " + i[T][c - 1] : "")
|
|
1365
|
+
) : $.push(
|
|
1366
|
+
v > 0 ? i.a10[c] : i[T][c - 1]
|
|
1367
|
+
), x.length > I + 1)) {
|
|
1368
|
+
var E = i["u" + (I + 1)];
|
|
1369
|
+
$.push(a(d, E));
|
|
1370
|
+
}
|
|
1371
|
+
} else
|
|
1372
|
+
$.push(i.null);
|
|
1373
|
+
return $.push(a(u, i.ur)), $.push(f + " " + a(f, i.uc)), $.join(" ").replace(RegExp(" {2,}", "g"), " ").trimLeft();
|
|
1374
|
+
};
|
|
1375
|
+
function Yn(e) {
|
|
1376
|
+
let r = -1, a = [" kB", " MB", " GB", " TB", "PB", "EB", "ZB", "YB"];
|
|
1377
|
+
do
|
|
1378
|
+
e = e / 1024, r++;
|
|
1379
|
+
while (e > 1024);
|
|
1380
|
+
return Math.max(e, 0.1).toFixed(1) + a[r];
|
|
1381
|
+
}
|
|
1382
|
+
function Bn(e) {
|
|
1383
|
+
let r = {};
|
|
1384
|
+
return r["application/atom+xml"] = "atom", r["application/json"] = "json", r["application/javascript"] = "js", r["application/ogg"] = "ogg", r["application/pdf"] = "pdf", r["application/soap+xml"] = "soap", r["application/font-woff"] = "woff", r["application/xhtml+xml"] = "xml", r["application/xml-dtd"] = "dtd", r["application/xop+xml"] = "xop", r["application/zip"] = "zip", r["application/gzip"] = "gzip", r["application/x-bittorrent"] = "bittorrent", r["application/x-tex"] = "tex", r["application/xml"] = "xml", r["application/msword"] = "doc", r["image/svg+xml"] = "svg", r[e];
|
|
1385
|
+
}
|
|
1386
|
+
function Wn(e, r, a, i) {
|
|
1387
|
+
let l = {
|
|
1388
|
+
sexM: "m",
|
|
1389
|
+
sexF: "f",
|
|
1390
|
+
gcaseIm: "nominative",
|
|
1391
|
+
gcaseNom: "nominative",
|
|
1392
|
+
// именительный
|
|
1393
|
+
gcaseRod: "genitive",
|
|
1394
|
+
gcaseGen: "genitive",
|
|
1395
|
+
// родительный
|
|
1396
|
+
gcaseDat: "dative",
|
|
1397
|
+
// дательный
|
|
1398
|
+
gcaseVin: "accusative",
|
|
1399
|
+
gcaseAcc: "accusative",
|
|
1400
|
+
// винительный
|
|
1401
|
+
gcaseTvor: "instrumentative",
|
|
1402
|
+
gcaseIns: "instrumentative",
|
|
1403
|
+
// творительный
|
|
1404
|
+
gcasePred: "prepositional",
|
|
1405
|
+
gcasePos: "prepositional",
|
|
1406
|
+
// предложный
|
|
1407
|
+
// let m = { nom: 'nominative', rod: 'genitive', dat: 'dative', vin: 'accusative', ins: 'instrumentative', pos: 'prepositional' };
|
|
1408
|
+
// t = el.declination(t).fullName(m[s[1]]);
|
|
1409
|
+
rules: {
|
|
1410
|
+
lastName: {
|
|
1411
|
+
exceptions: [
|
|
1412
|
+
" дюма,тома,дега,люка,ферма,гамарра,петипа,шандра . . . . .",
|
|
1413
|
+
" гусь,ремень,камень,онук,богода,нечипас,долгопалец,маненок,рева,кива . . . . .",
|
|
1414
|
+
" вий,сой,цой,хой -я -ю -я -ем -е"
|
|
1415
|
+
],
|
|
1416
|
+
suffixes: [
|
|
1417
|
+
"f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ,ь . . . . .",
|
|
1418
|
+
"f ска,цка -ой -ой -ую -ой -ой",
|
|
1419
|
+
"f ая --ой --ой --ую --ой --ой",
|
|
1420
|
+
" ская --ой --ой --ую --ой --ой",
|
|
1421
|
+
"f на -ой -ой -у -ой -ой",
|
|
1422
|
+
" иной -я -ю -я -ем -е",
|
|
1423
|
+
" уй -я -ю -я -ем -е",
|
|
1424
|
+
" ца -a -е -у -ей -е",
|
|
1425
|
+
" рих а у а ом е",
|
|
1426
|
+
" ия . . . . .",
|
|
1427
|
+
" иа,аа,оа,уа,ыа,еа,юа,эа . . . . .",
|
|
1428
|
+
" их,ых . . . . .",
|
|
1429
|
+
" о,е,э,и,ы,у,ю . . . . .",
|
|
1430
|
+
" ова,ева -ой -ой -у -ой -ой",
|
|
1431
|
+
" га,ка,ха,ча,ща,жа -и -е -у -ой -е",
|
|
1432
|
+
" ца -и -е -у -ей -е",
|
|
1433
|
+
" а -ы -е -у -ой -е",
|
|
1434
|
+
" ь -я -ю -я -ем -е",
|
|
1435
|
+
" ия -и -и -ю -ей -и",
|
|
1436
|
+
" я -и -е -ю -ей -е",
|
|
1437
|
+
" ей -я -ю -я -ем -е",
|
|
1438
|
+
" ян,ан,йн а у а ом е",
|
|
1439
|
+
" ынец,обец --ца --цу --ца --цем --це",
|
|
1440
|
+
" онец,овец --ца --цу --ца --цом --це",
|
|
1441
|
+
" ц,ч,ш,щ а у а ем е",
|
|
1442
|
+
" ай -я -ю -я -ем -е",
|
|
1443
|
+
" гой,кой -го -му -го --им -м",
|
|
1444
|
+
" ой -го -му -го --ым -м",
|
|
1445
|
+
" ах,ив а у а ом е",
|
|
1446
|
+
" ший,щий,жий,ний --его --ему --его -м --ем",
|
|
1447
|
+
" кий,ый --ого --ому --ого -м --ом",
|
|
1448
|
+
" ий -я -ю -я -ем -и",
|
|
1449
|
+
" ок --ка --ку --ка --ком --ке",
|
|
1450
|
+
" ец --ца --цу --ца --цом --це",
|
|
1451
|
+
" в,н а у а ым е",
|
|
1452
|
+
" б,г,д,ж,з,к,л,м,п,р,с,т,ф,х а у а ом е"
|
|
1453
|
+
]
|
|
1454
|
+
},
|
|
1455
|
+
firstName: {
|
|
1456
|
+
exceptions: [
|
|
1457
|
+
" лев --ьва --ьву --ьва --ьвом --ьве",
|
|
1458
|
+
" павел --ла --лу --ла --лом --ле",
|
|
1459
|
+
"m шота . . . . .",
|
|
1460
|
+
"m пётр ---етра ---етру ---етра ---етром ---етре",
|
|
1461
|
+
"f рашель,нинель,николь,габриэль,даниэль . . . . ."
|
|
1462
|
+
],
|
|
1463
|
+
suffixes: [
|
|
1464
|
+
" е,ё,и,о,у,ы,э,ю . . . . .",
|
|
1465
|
+
"f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ . . . . .",
|
|
1466
|
+
"f ь -и -и . ю -и",
|
|
1467
|
+
"m ь -я -ю -я -ем -е",
|
|
1468
|
+
" га,ка,ха,ча,ща,жа -и -е -у -ой -е",
|
|
1469
|
+
" ша -и -е -у -ей -е",
|
|
1470
|
+
" а -ы -е -у -ой -е",
|
|
1471
|
+
" ия -и -и -ю -ей -и",
|
|
1472
|
+
" я -и -е -ю -ей -е",
|
|
1473
|
+
" ей -я -ю -я -ем -е",
|
|
1474
|
+
" ий -я -ю -я -ем -и",
|
|
1475
|
+
" й -я -ю -я -ем -е",
|
|
1476
|
+
" б,в,г,д,ж,з,к,л,м,н,п,р,с,т,ф,х,ц,ч а у а ом е"
|
|
1477
|
+
]
|
|
1478
|
+
},
|
|
1479
|
+
middleName: {
|
|
1480
|
+
suffixes: [" ич а у а ем е", " на -ы -е -у -ой -е"]
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
initialized: !1,
|
|
1484
|
+
init: function() {
|
|
1485
|
+
this.initialized || (this.prepareRules(), this.initialized = !0);
|
|
1486
|
+
},
|
|
1487
|
+
prepareRules: function() {
|
|
1488
|
+
for (var c in this.rules)
|
|
1489
|
+
for (var f in this.rules[c])
|
|
1490
|
+
for (var u = 0, d = this.rules[c][f].length; u < d; u++)
|
|
1491
|
+
this.rules[c][f][u] = this.rule(
|
|
1492
|
+
this.rules[c][f][u]
|
|
1493
|
+
);
|
|
1494
|
+
},
|
|
1495
|
+
rule: function(c) {
|
|
1496
|
+
var f = c.match(
|
|
1497
|
+
/^\s*([fm]?)\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s*$/
|
|
1498
|
+
);
|
|
1499
|
+
return f ? {
|
|
1500
|
+
sex: f[1],
|
|
1501
|
+
test: f[2].split(","),
|
|
1502
|
+
mods: [f[3], f[4], f[5], f[6], f[7]]
|
|
1503
|
+
} : !1;
|
|
1504
|
+
},
|
|
1505
|
+
// склоняем слово по указанному набору правил и исключений
|
|
1506
|
+
word: function(c, f, u, d) {
|
|
1507
|
+
if (d === this.gcaseNom)
|
|
1508
|
+
return c;
|
|
1509
|
+
if (c.match(/[-]/)) {
|
|
1510
|
+
for (var m = c.split("-"), x = 0, y = m.length; x < y; x++)
|
|
1511
|
+
m[x] = this.word(m[x], f, u, d);
|
|
1512
|
+
return m.join("-");
|
|
1513
|
+
}
|
|
1514
|
+
if (c.match(/^[А-ЯЁ]\.?$/i))
|
|
1515
|
+
return c;
|
|
1516
|
+
this.init();
|
|
1517
|
+
var T = this.rules[u];
|
|
1518
|
+
let O;
|
|
1519
|
+
return T.exceptions && (O = this.pick(c, f, d, T.exceptions, !0), O) ? O : (O = this.pick(c, f, d, T.suffixes, !1), O || c);
|
|
1520
|
+
},
|
|
1521
|
+
// выбираем из списка правил первое подходящее и применяем
|
|
1522
|
+
pick: function(c, f, u, d, m) {
|
|
1523
|
+
let x = c.toLowerCase();
|
|
1524
|
+
for (var y = 0, T = d.length; y < T; y++)
|
|
1525
|
+
if (this.ruleMatch(x, f, d[y], m))
|
|
1526
|
+
return this.applyMod(c, u, d[y]);
|
|
1527
|
+
return !1;
|
|
1528
|
+
},
|
|
1529
|
+
// проверяем, подходит ли правило к слову
|
|
1530
|
+
ruleMatch: function(c, f, u, d) {
|
|
1531
|
+
if (u.sex === this.sexM && f === this.sexF || u.sex === this.sexF && f !== this.sexF)
|
|
1532
|
+
return !1;
|
|
1533
|
+
for (var m = 0, x = u.test.length; m < x; m++) {
|
|
1534
|
+
var y = d ? c : c.substr(
|
|
1535
|
+
Math.max(c.length - u.test[m].length, 0)
|
|
1536
|
+
);
|
|
1537
|
+
if (y === u.test[m])
|
|
1538
|
+
return !0;
|
|
1539
|
+
}
|
|
1540
|
+
return !1;
|
|
1541
|
+
},
|
|
1542
|
+
// склоняем слово (правим окончание)
|
|
1543
|
+
applyMod: function(c, f, u) {
|
|
1544
|
+
let d;
|
|
1545
|
+
switch (f) {
|
|
1546
|
+
case this.gcaseNom:
|
|
1547
|
+
d = ".";
|
|
1548
|
+
break;
|
|
1549
|
+
case this.gcaseGen:
|
|
1550
|
+
d = u.mods[0];
|
|
1551
|
+
break;
|
|
1552
|
+
case this.gcaseDat:
|
|
1553
|
+
d = u.mods[1];
|
|
1554
|
+
break;
|
|
1555
|
+
case this.gcaseAcc:
|
|
1556
|
+
d = u.mods[2];
|
|
1557
|
+
break;
|
|
1558
|
+
case this.gcaseIns:
|
|
1559
|
+
d = u.mods[3];
|
|
1560
|
+
break;
|
|
1561
|
+
case this.gcasePos:
|
|
1562
|
+
d = u.mods[4];
|
|
1563
|
+
break;
|
|
1564
|
+
}
|
|
1565
|
+
for (var m = 0, x = d.length; m < x; m++) {
|
|
1566
|
+
var y = d.substr(m, 1);
|
|
1567
|
+
switch (y) {
|
|
1568
|
+
case ".":
|
|
1569
|
+
break;
|
|
1570
|
+
case "-":
|
|
1571
|
+
c = c.substr(0, c.length - 1);
|
|
1572
|
+
break;
|
|
1573
|
+
default:
|
|
1574
|
+
c += y;
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
return c;
|
|
1578
|
+
},
|
|
1579
|
+
getSex: () => {
|
|
1580
|
+
if (l.mn.length > 2)
|
|
1581
|
+
switch (l.mn.substr(l.mn.length - 2)) {
|
|
1582
|
+
case "ич":
|
|
1583
|
+
return "m";
|
|
1584
|
+
case "на":
|
|
1585
|
+
return "f";
|
|
1586
|
+
}
|
|
1587
|
+
return "";
|
|
1588
|
+
},
|
|
1589
|
+
fullName: (c) => ((l.fullNameSurnameLast ? "" : l.lastName(c) + " ") + l.firstName(c) + " " + l.middleName(c) + (l.fullNameSurnameLast ? " " + l.lastName(c) : "")).replace(/^ +| +$/g, ""),
|
|
1590
|
+
lastName: (c) => l.word(l.ln, l.sex, "lastName", c),
|
|
1591
|
+
firstName: (c) => l.word(l.fn, l.sex, "firstName", c),
|
|
1592
|
+
middleName: (c) => l.word(l.mn, l.sex, "middleName", c)
|
|
1593
|
+
};
|
|
1594
|
+
if (typeof r > "u") {
|
|
1595
|
+
var v = e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);
|
|
1596
|
+
if (!v)
|
|
1597
|
+
return "Cannot parse supplied name";
|
|
1598
|
+
v[5] && v[3].match(/(ич|на)$/) && !v[5].match(/(ич|на)$/) ? (e = v[5], r = v[1], a = v[3], l.fullNameSurnameLast = !0) : (e = v[1], r = v[3], a = v[5]);
|
|
1599
|
+
}
|
|
1600
|
+
return l.ln = e, l.fn = r || "", l.mn = a || "", l.sex = i || l.getSex(), l;
|
|
1249
1601
|
}
|
|
1250
|
-
function
|
|
1251
|
-
|
|
1602
|
+
function Vn(e) {
|
|
1603
|
+
let r = e.split(" ");
|
|
1604
|
+
switch (r.length) {
|
|
1605
|
+
case 2:
|
|
1606
|
+
return r[0] + " " + r[1].substring(0, 1) + ".";
|
|
1607
|
+
case 3:
|
|
1608
|
+
return r[0] + " " + r[1].substring(0, 1) + "." + r[2].substring(0, 1) + ".";
|
|
1609
|
+
default:
|
|
1610
|
+
return e;
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
function Un(e) {
|
|
1614
|
+
return {
|
|
1615
|
+
1: { val: "01", name: "Январь", names: "Января", abc: "Янв" },
|
|
1616
|
+
2: { val: "02", name: "Февраль", names: "Февраля", abc: "Февр" },
|
|
1617
|
+
3: { val: "03", name: "Март", names: "Марта", abc: "Март" },
|
|
1618
|
+
4: { val: "04", name: "Апрель", names: "Апреля", abc: "Апр" },
|
|
1619
|
+
5: { val: "05", name: "Май", names: "Мая", abc: "Май" },
|
|
1620
|
+
6: { val: "06", name: "Июнь", names: "Июня", abc: "Июнь" },
|
|
1621
|
+
7: { val: "07", name: "Июль", names: "Июля", abc: "Июль" },
|
|
1622
|
+
8: { val: "08", name: "Август", names: "Августа", abc: "Авг" },
|
|
1623
|
+
9: { val: "09", name: "Сентябрь", names: "Сентебря", abc: "Сент" },
|
|
1624
|
+
10: { val: "10", name: "Октябрь", names: "Октября", abc: "Окт" },
|
|
1625
|
+
11: { val: "11", name: "Ноябрь", names: "Ноября", abc: "Нояб" },
|
|
1626
|
+
12: { val: "12", name: "Декабрь", names: "Декабря", abc: "Дек" }
|
|
1627
|
+
}[e];
|
|
1628
|
+
}
|
|
1629
|
+
function Hn(e) {
|
|
1630
|
+
return parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, "$1 ");
|
|
1631
|
+
}
|
|
1632
|
+
function qn(e, r) {
|
|
1633
|
+
let a = r + "";
|
|
1634
|
+
for (; a.length < e; )
|
|
1635
|
+
a = "0" + a;
|
|
1636
|
+
return a;
|
|
1252
1637
|
}
|
|
1253
|
-
|
|
1638
|
+
function Gn(e, r, a) {
|
|
1639
|
+
let i = r / e * a;
|
|
1640
|
+
return (typeof i != "number" || i === 1 / 0) && (i = 0), parseFloat(i).toFixed(1);
|
|
1641
|
+
}
|
|
1642
|
+
function Jn(e) {
|
|
1643
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1644
|
+
}
|
|
1645
|
+
const ia = {
|
|
1646
|
+
Date: An,
|
|
1647
|
+
MoneyString: zn,
|
|
1648
|
+
DateSort: Ln,
|
|
1649
|
+
Size: Yn,
|
|
1650
|
+
TypeFiles: Bn,
|
|
1651
|
+
Cases: Wn,
|
|
1652
|
+
Initials: Vn,
|
|
1653
|
+
Month: Un,
|
|
1654
|
+
Money: Hn,
|
|
1655
|
+
Number: qn,
|
|
1656
|
+
Percent: Gn,
|
|
1657
|
+
CapitalizeFirstLetter: Jn
|
|
1658
|
+
};
|
|
1254
1659
|
export {
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1660
|
+
dn as Action,
|
|
1661
|
+
ta as Alert,
|
|
1662
|
+
Kn as Browser,
|
|
1258
1663
|
Qt as Button,
|
|
1259
|
-
|
|
1260
|
-
|
|
1664
|
+
Qn as Component,
|
|
1665
|
+
ia as Format,
|
|
1666
|
+
ra as Icon,
|
|
1261
1667
|
Zr as Init,
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1668
|
+
Rr as Modal,
|
|
1669
|
+
ea as Notice,
|
|
1670
|
+
aa as Router,
|
|
1671
|
+
Xn as Setting,
|
|
1672
|
+
na as Store,
|
|
1267
1673
|
rn as Tabs,
|
|
1268
|
-
|
|
1674
|
+
sa as Triage
|
|
1269
1675
|
};
|