@espresso-lab/mantine-data-table 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +520 -525
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +8 -8
package/dist/index.es.js
CHANGED
|
@@ -4,16 +4,16 @@ var Wf = (i) => {
|
|
|
4
4
|
var Pu = (i, t, r) => t.has(i) || Wf("Cannot " + r);
|
|
5
5
|
var ve = (i, t, r) => (Pu(i, t, "read from private field"), r ? r.call(i) : t.get(i)), ot = (i, t, r) => t.has(i) ? Wf("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, r), He = (i, t, r, s) => (Pu(i, t, "write to private field"), s ? s.call(i, r) : t.set(i, r), r), ct = (i, t, r) => (Pu(i, t, "access private method"), r);
|
|
6
6
|
import * as Mt from "react";
|
|
7
|
-
import
|
|
8
|
-
import { factory as It, useProps as Ft, useStyles as Ir, createVarsResolver as Po, UnstyledButton as Ro, getSize as Ks, Box as zt, getSpacing as ky, getFontSize as Qs, useResolvedStylesApi as od, AccordionChevron as Yf, useInputProps as Iy, CloseButton as $y, Input as Ku, Popover as To, Alert as Js, Stepper as Hs, Group as or, Button as sr, TextInput as sd, NumberInput as ad, Checkbox as No, createSafeContext as Py, TableTfoot as Ny, rem as
|
|
7
|
+
import Bi, { createContext as wl, useContext as rd, useCallback as Nn, useRef as jn, useState as Je, useEffect as Qt, Fragment as id, forwardRef as $o, useMemo as Pi, useLayoutEffect as My, createElement as Ly } from "react";
|
|
8
|
+
import { factory as It, useProps as Ft, useStyles as Ir, createVarsResolver as Po, UnstyledButton as Ro, getSize as Ks, Box as zt, getSpacing as ky, getFontSize as Qs, useResolvedStylesApi as od, AccordionChevron as Yf, useInputProps as Iy, CloseButton as $y, Input as Ku, Popover as To, Alert as Js, Stepper as Hs, Group as or, Button as sr, TextInput as sd, NumberInput as ad, Checkbox as No, createSafeContext as Py, TableTfoot as Ny, rem as Bn, TableTr as ii, TableTh as Bo, TableThead as By, PopoverTarget as ud, PopoverDropdown as ld, Stack as _l, Text as Eo, Pagination as jy, Flex as Uy, Center as Di, ActionIcon as Gs, useMantineTheme as cd, Menu as Jr, MenuTarget as zy, MenuDropdown as Fy, MenuItem as Wy, parseThemeColor as Yy, Table as qy, ScrollArea as Hy, Loader as Gy, TableTd as bl, Collapse as Vy, Skeleton as Ri, Title as Zy, Modal as Nu } from "@mantine/core";
|
|
9
9
|
import { useForm as fd } from "@mantine/form";
|
|
10
10
|
import { IconCaretDownFilled as Ky, IconPencil as Qy, IconTrash as Jy, IconRefresh as Xy, IconInfoCircle as e2 } from "@tabler/icons-react";
|
|
11
|
-
import { useUncontrolled as hd, clamp as t2, useDidUpdate as n2, useClickOutside as dd, useMergedRef as Qu, useMediaQuery as r2, useDisclosure as i2, useDebouncedCallback as o2, useResizeObserver as s2, useLocalStorage as
|
|
11
|
+
import { useUncontrolled as hd, clamp as t2, useDidUpdate as n2, useClickOutside as dd, useMergedRef as Qu, useMediaQuery as r2, useDisclosure as i2, useDebouncedCallback as o2, useResizeObserver as s2, useLocalStorage as Bu, useTimeout as qf } from "@mantine/hooks";
|
|
12
12
|
var ks = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
13
13
|
function Xs(i) {
|
|
14
14
|
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
|
|
15
15
|
}
|
|
16
|
-
var Is = { exports: {} },
|
|
16
|
+
var Is = { exports: {} }, ju = {};
|
|
17
17
|
/**
|
|
18
18
|
* @license React
|
|
19
19
|
* react-compiler-runtime.production.js
|
|
@@ -25,12 +25,12 @@ var Is = { exports: {} }, Bu = {};
|
|
|
25
25
|
*/
|
|
26
26
|
var Hf;
|
|
27
27
|
function a2() {
|
|
28
|
-
if (Hf) return
|
|
28
|
+
if (Hf) return ju;
|
|
29
29
|
Hf = 1;
|
|
30
|
-
var i =
|
|
31
|
-
return
|
|
30
|
+
var i = Bi.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
31
|
+
return ju.c = function(t) {
|
|
32
32
|
return i.H.useMemoCache(t);
|
|
33
|
-
},
|
|
33
|
+
}, ju;
|
|
34
34
|
}
|
|
35
35
|
var Uu = {};
|
|
36
36
|
/**
|
|
@@ -45,7 +45,7 @@ var Uu = {};
|
|
|
45
45
|
var Gf;
|
|
46
46
|
function u2() {
|
|
47
47
|
return Gf || (Gf = 1, process.env.NODE_ENV !== "production" && function() {
|
|
48
|
-
var i =
|
|
48
|
+
var i = Bi.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
49
49
|
Uu.c = function(t) {
|
|
50
50
|
var r = i.H;
|
|
51
51
|
return r === null && console.error(
|
|
@@ -339,14 +339,14 @@ function _2() {
|
|
|
339
339
|
submittedAt: 0
|
|
340
340
|
};
|
|
341
341
|
}
|
|
342
|
-
var Zt, Qe, ko,
|
|
342
|
+
var Zt, Qe, ko, Bt, ei, Li, Rr, Tr, Io, ki, Ii, ti, ni, Er, $i, rt, Oo, el, tl, nl, rl, il, ol, sl, pd, td, b2 = (td = class extends ea {
|
|
343
343
|
constructor(t, r) {
|
|
344
344
|
super();
|
|
345
345
|
ot(this, rt);
|
|
346
346
|
ot(this, Zt);
|
|
347
347
|
ot(this, Qe);
|
|
348
348
|
ot(this, ko);
|
|
349
|
-
ot(this,
|
|
349
|
+
ot(this, Bt);
|
|
350
350
|
ot(this, ei);
|
|
351
351
|
ot(this, Li);
|
|
352
352
|
ot(this, Rr);
|
|
@@ -413,20 +413,15 @@ var Zt, Qe, ko, jt, ei, Li, Rr, Tr, Io, ki, Ii, ti, ni, Er, $i, rt, Oo, el, tl,
|
|
|
413
413
|
}
|
|
414
414
|
getOptimisticResult(t) {
|
|
415
415
|
const r = ve(this, Zt).getQueryCache().build(ve(this, Zt), t), s = this.createResult(r, t);
|
|
416
|
-
return S2(this, s) && (He(this,
|
|
416
|
+
return S2(this, s) && (He(this, Bt, s), He(this, Li, this.options), He(this, ei, ve(this, Qe).state)), s;
|
|
417
417
|
}
|
|
418
418
|
getCurrentResult() {
|
|
419
|
-
return ve(this,
|
|
419
|
+
return ve(this, Bt);
|
|
420
420
|
}
|
|
421
421
|
trackResult(t, r) {
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
configurable: !1,
|
|
426
|
-
enumerable: !0,
|
|
427
|
-
get: () => (this.trackProp(l), r == null || r(l), t[l])
|
|
428
|
-
});
|
|
429
|
-
}), s;
|
|
422
|
+
return new Proxy(t, {
|
|
423
|
+
get: (s, l) => (this.trackProp(l), r == null || r(l), Reflect.get(s, l))
|
|
424
|
+
});
|
|
430
425
|
}
|
|
431
426
|
trackProp(t) {
|
|
432
427
|
ve(this, $i).add(t);
|
|
@@ -447,11 +442,11 @@ var Zt, Qe, ko, jt, ei, Li, Rr, Tr, Io, ki, Ii, ti, ni, Er, $i, rt, Oo, el, tl,
|
|
|
447
442
|
return ct(this, rt, Oo).call(this, {
|
|
448
443
|
...t,
|
|
449
444
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
450
|
-
}).then(() => (this.updateResult(), ve(this,
|
|
445
|
+
}).then(() => (this.updateResult(), ve(this, Bt)));
|
|
451
446
|
}
|
|
452
447
|
createResult(t, r) {
|
|
453
448
|
var ce;
|
|
454
|
-
const s = ve(this, Qe), l = this.options, g = ve(this,
|
|
449
|
+
const s = ve(this, Qe), l = this.options, g = ve(this, Bt), f = ve(this, ei), c = ve(this, Li), C = t !== s ? t.state : ve(this, ko), { state: O } = t;
|
|
455
450
|
let L = { ...O }, k = !1, T;
|
|
456
451
|
if (r._optimisticResults) {
|
|
457
452
|
const he = this.hasListeners(), re = !he && th(t, r), Se = he && nh(t, s, r, l);
|
|
@@ -533,10 +528,10 @@ var Zt, Qe, ko, jt, ei, Li, Rr, Tr, Io, ki, Ii, ti, ni, Er, $i, rt, Oo, el, tl,
|
|
|
533
528
|
return X;
|
|
534
529
|
}
|
|
535
530
|
updateResult() {
|
|
536
|
-
const t = ve(this,
|
|
531
|
+
const t = ve(this, Bt), r = this.createResult(ve(this, Qe), this.options);
|
|
537
532
|
if (He(this, ei, ve(this, Qe).state), He(this, Li, this.options), ve(this, ei).data !== void 0 && He(this, Ii, ve(this, Qe)), Vs(r, t))
|
|
538
533
|
return;
|
|
539
|
-
He(this,
|
|
534
|
+
He(this, Bt, r);
|
|
540
535
|
const s = () => {
|
|
541
536
|
if (!t)
|
|
542
537
|
return !0;
|
|
@@ -546,9 +541,9 @@ var Zt, Qe, ko, jt, ei, Li, Rr, Tr, Io, ki, Ii, ti, ni, Er, $i, rt, Oo, el, tl,
|
|
|
546
541
|
const f = new Set(
|
|
547
542
|
g ?? ve(this, $i)
|
|
548
543
|
);
|
|
549
|
-
return this.options.throwOnError && f.add("error"), Object.keys(ve(this,
|
|
544
|
+
return this.options.throwOnError && f.add("error"), Object.keys(ve(this, Bt)).some((c) => {
|
|
550
545
|
const b = c;
|
|
551
|
-
return ve(this,
|
|
546
|
+
return ve(this, Bt)[b] !== t[b] && f.has(b);
|
|
552
547
|
});
|
|
553
548
|
};
|
|
554
549
|
ct(this, rt, pd).call(this, { listeners: s() });
|
|
@@ -556,7 +551,7 @@ var Zt, Qe, ko, jt, ei, Li, Rr, Tr, Io, ki, Ii, ti, ni, Er, $i, rt, Oo, el, tl,
|
|
|
556
551
|
onQueryUpdate() {
|
|
557
552
|
this.updateResult(), this.hasListeners() && ct(this, rt, rl).call(this);
|
|
558
553
|
}
|
|
559
|
-
}, Zt = new WeakMap(), Qe = new WeakMap(), ko = new WeakMap(),
|
|
554
|
+
}, Zt = new WeakMap(), Qe = new WeakMap(), ko = new WeakMap(), Bt = new WeakMap(), ei = new WeakMap(), Li = new WeakMap(), Rr = new WeakMap(), Tr = new WeakMap(), Io = new WeakMap(), ki = new WeakMap(), Ii = new WeakMap(), ti = new WeakMap(), ni = new WeakMap(), Er = new WeakMap(), $i = new WeakMap(), rt = new WeakSet(), Oo = function(t) {
|
|
560
555
|
ct(this, rt, sl).call(this);
|
|
561
556
|
let r = ve(this, Qe).fetch(
|
|
562
557
|
this.options,
|
|
@@ -569,11 +564,11 @@ var Zt, Qe, ko, jt, ei, Li, Rr, Tr, Io, ki, Ii, ti, ni, Er, $i, rt, Oo, el, tl,
|
|
|
569
564
|
this.options.staleTime,
|
|
570
565
|
ve(this, Qe)
|
|
571
566
|
);
|
|
572
|
-
if (Mo || ve(this,
|
|
567
|
+
if (Mo || ve(this, Bt).isStale || !Zf(t))
|
|
573
568
|
return;
|
|
574
|
-
const s = f2(ve(this,
|
|
569
|
+
const s = f2(ve(this, Bt).dataUpdatedAt, t) + 1;
|
|
575
570
|
He(this, ti, setTimeout(() => {
|
|
576
|
-
ve(this,
|
|
571
|
+
ve(this, Bt).isStale || this.updateResult();
|
|
577
572
|
}, s));
|
|
578
573
|
}, tl = function() {
|
|
579
574
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(ve(this, Qe)) : this.options.refetchInterval) ?? !1;
|
|
@@ -596,7 +591,7 @@ var Zt, Qe, ko, jt, ei, Li, Rr, Tr, Io, ki, Ii, ti, ni, Er, $i, rt, Oo, el, tl,
|
|
|
596
591
|
}, pd = function(t) {
|
|
597
592
|
ta.batch(() => {
|
|
598
593
|
t.listeners && this.listeners.forEach((r) => {
|
|
599
|
-
r(ve(this,
|
|
594
|
+
r(ve(this, Bt));
|
|
600
595
|
}), ve(this, Zt).getQueryCache().notify({
|
|
601
596
|
query: ve(this, Qe),
|
|
602
597
|
type: "observerResultsUpdated"
|
|
@@ -930,7 +925,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
930
925
|
function L(d) {
|
|
931
926
|
typeof d == "object" && d !== null && d.$$typeof === T && d._store && (d._store.validated = 1);
|
|
932
927
|
}
|
|
933
|
-
var k =
|
|
928
|
+
var k = Bi, T = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), E = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), Q = Symbol.for("react.context"), oe = Symbol.for("react.forward_ref"), Y = Symbol.for("react.suspense"), ae = Symbol.for("react.suspense_list"), te = Symbol.for("react.memo"), X = Symbol.for("react.lazy"), ce = Symbol.for("react.activity"), he = Symbol.for("react.client.reference"), re = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Se = Object.prototype.hasOwnProperty, xe = Array.isArray, j = console.createTask ? console.createTask : function() {
|
|
934
929
|
return null;
|
|
935
930
|
};
|
|
936
931
|
k = {
|
|
@@ -941,7 +936,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
941
936
|
var I, A = {}, v = k["react-stack-bottom-frame"].bind(
|
|
942
937
|
k,
|
|
943
938
|
g
|
|
944
|
-
)(), p =
|
|
939
|
+
)(), p = j(s(g)), _ = {};
|
|
945
940
|
vo.Fragment = E, vo.jsx = function(d, m, D, q, V) {
|
|
946
941
|
var ue = 1e4 > re.recentlyCreatedOwnerStacks++;
|
|
947
942
|
return O(
|
|
@@ -952,7 +947,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
952
947
|
q,
|
|
953
948
|
V,
|
|
954
949
|
ue ? Error("react-stack-top-frame") : v,
|
|
955
|
-
ue ?
|
|
950
|
+
ue ? j(s(d)) : p
|
|
956
951
|
);
|
|
957
952
|
}, vo.jsxs = function(d, m, D, q, V) {
|
|
958
953
|
var ue = 1e4 > re.recentlyCreatedOwnerStacks++;
|
|
@@ -964,7 +959,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
964
959
|
q,
|
|
965
960
|
V,
|
|
966
961
|
ue ? Error("react-stack-top-frame") : v,
|
|
967
|
-
ue ?
|
|
962
|
+
ue ? j(s(d)) : p
|
|
968
963
|
);
|
|
969
964
|
};
|
|
970
965
|
}()), vo;
|
|
@@ -1023,7 +1018,7 @@ var L2 = (i, t) => {
|
|
|
1023
1018
|
}, P2 = (i, t) => i.isLoading && i.isFetching && !t, N2 = (i, t) => (i == null ? void 0 : i.suspense) && t.isPending, sh = (i, t, r) => t.fetchOptimistic(i).catch(() => {
|
|
1024
1019
|
r.clearReset();
|
|
1025
1020
|
});
|
|
1026
|
-
function
|
|
1021
|
+
function B2(i, t, r) {
|
|
1027
1022
|
var L, k, T, M, E;
|
|
1028
1023
|
if (process.env.NODE_ENV !== "production" && (typeof i != "object" || Array.isArray(i)))
|
|
1029
1024
|
throw new Error(
|
|
@@ -1083,7 +1078,7 @@ function j2(i, t, r) {
|
|
|
1083
1078
|
return f.notifyOnChangeProps ? C : b.trackResult(C);
|
|
1084
1079
|
}
|
|
1085
1080
|
function _d(i, t) {
|
|
1086
|
-
return
|
|
1081
|
+
return B2(i, b2);
|
|
1087
1082
|
}
|
|
1088
1083
|
function Sl(i, t) {
|
|
1089
1084
|
const r = vd(), [s] = Mt.useState(
|
|
@@ -1143,7 +1138,7 @@ var zu = { exports: {} }, mo = {};
|
|
|
1143
1138
|
* LICENSE file in the root directory of this source tree.
|
|
1144
1139
|
*/
|
|
1145
1140
|
var uh;
|
|
1146
|
-
function
|
|
1141
|
+
function j2() {
|
|
1147
1142
|
if (uh) return mo;
|
|
1148
1143
|
uh = 1;
|
|
1149
1144
|
var i = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
@@ -1368,7 +1363,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1368
1363
|
function L(d) {
|
|
1369
1364
|
typeof d == "object" && d !== null && d.$$typeof === T && d._store && (d._store.validated = 1);
|
|
1370
1365
|
}
|
|
1371
|
-
var k =
|
|
1366
|
+
var k = Bi, T = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), E = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), Q = Symbol.for("react.context"), oe = Symbol.for("react.forward_ref"), Y = Symbol.for("react.suspense"), ae = Symbol.for("react.suspense_list"), te = Symbol.for("react.memo"), X = Symbol.for("react.lazy"), ce = Symbol.for("react.activity"), he = Symbol.for("react.client.reference"), re = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Se = Object.prototype.hasOwnProperty, xe = Array.isArray, j = console.createTask ? console.createTask : function() {
|
|
1372
1367
|
return null;
|
|
1373
1368
|
};
|
|
1374
1369
|
k = {
|
|
@@ -1379,7 +1374,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1379
1374
|
var I, A = {}, v = k["react-stack-bottom-frame"].bind(
|
|
1380
1375
|
k,
|
|
1381
1376
|
g
|
|
1382
|
-
)(), p =
|
|
1377
|
+
)(), p = j(s(g)), _ = {};
|
|
1383
1378
|
Ps.Fragment = E, Ps.jsx = function(d, m, D, q, V) {
|
|
1384
1379
|
var ue = 1e4 > re.recentlyCreatedOwnerStacks++;
|
|
1385
1380
|
return O(
|
|
@@ -1390,7 +1385,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1390
1385
|
q,
|
|
1391
1386
|
V,
|
|
1392
1387
|
ue ? Error("react-stack-top-frame") : v,
|
|
1393
|
-
ue ?
|
|
1388
|
+
ue ? j(s(d)) : p
|
|
1394
1389
|
);
|
|
1395
1390
|
}, Ps.jsxs = function(d, m, D, q, V) {
|
|
1396
1391
|
var ue = 1e4 > re.recentlyCreatedOwnerStacks++;
|
|
@@ -1402,14 +1397,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1402
1397
|
q,
|
|
1403
1398
|
V,
|
|
1404
1399
|
ue ? Error("react-stack-top-frame") : v,
|
|
1405
|
-
ue ?
|
|
1400
|
+
ue ? j(s(d)) : p
|
|
1406
1401
|
);
|
|
1407
1402
|
};
|
|
1408
1403
|
}()), Ps;
|
|
1409
1404
|
}
|
|
1410
1405
|
var ch;
|
|
1411
1406
|
function z2() {
|
|
1412
|
-
return ch || (ch = 1, process.env.NODE_ENV === "production" ? zu.exports =
|
|
1407
|
+
return ch || (ch = 1, process.env.NODE_ENV === "production" ? zu.exports = j2() : zu.exports = U2()), zu.exports;
|
|
1413
1408
|
}
|
|
1414
1409
|
z2();
|
|
1415
1410
|
var Fu = { exports: {} }, Wu = {};
|
|
@@ -1426,7 +1421,7 @@ var fh;
|
|
|
1426
1421
|
function F2() {
|
|
1427
1422
|
if (fh) return Wu;
|
|
1428
1423
|
fh = 1;
|
|
1429
|
-
var i =
|
|
1424
|
+
var i = Bi.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
1430
1425
|
return Wu.c = function(t) {
|
|
1431
1426
|
return i.H.useMemoCache(t);
|
|
1432
1427
|
}, Wu;
|
|
@@ -1444,7 +1439,7 @@ var hh = {};
|
|
|
1444
1439
|
var dh;
|
|
1445
1440
|
function W2() {
|
|
1446
1441
|
return dh || (dh = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1447
|
-
var i =
|
|
1442
|
+
var i = Bi.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
1448
1443
|
hh.c = function(t) {
|
|
1449
1444
|
var r = i.H;
|
|
1450
1445
|
return r === null && console.error(
|
|
@@ -1737,7 +1732,7 @@ function V2() {
|
|
|
1737
1732
|
case "utf8":
|
|
1738
1733
|
case "utf-8":
|
|
1739
1734
|
case void 0:
|
|
1740
|
-
return
|
|
1735
|
+
return B(u).length;
|
|
1741
1736
|
case "ucs2":
|
|
1742
1737
|
case "ucs-2":
|
|
1743
1738
|
case "utf16le":
|
|
@@ -1748,7 +1743,7 @@ function V2() {
|
|
|
1748
1743
|
case "base64":
|
|
1749
1744
|
return Z(u).length;
|
|
1750
1745
|
default:
|
|
1751
|
-
if (N) return
|
|
1746
|
+
if (N) return B(u).length;
|
|
1752
1747
|
h = ("" + h).toLowerCase(), N = !0;
|
|
1753
1748
|
}
|
|
1754
1749
|
}
|
|
@@ -1763,7 +1758,7 @@ function V2() {
|
|
|
1763
1758
|
return _(this, h, w);
|
|
1764
1759
|
case "utf8":
|
|
1765
1760
|
case "utf-8":
|
|
1766
|
-
return
|
|
1761
|
+
return j(this, h, w);
|
|
1767
1762
|
case "ascii":
|
|
1768
1763
|
return v(this, h, w);
|
|
1769
1764
|
case "latin1":
|
|
@@ -1809,7 +1804,7 @@ function V2() {
|
|
|
1809
1804
|
return this;
|
|
1810
1805
|
}, c.prototype.toString = function() {
|
|
1811
1806
|
var u = this.length | 0;
|
|
1812
|
-
return u === 0 ? "" : arguments.length === 0 ?
|
|
1807
|
+
return u === 0 ? "" : arguments.length === 0 ? j(this, 0, u) : Q.apply(this, arguments);
|
|
1813
1808
|
}, c.prototype.equals = function(u) {
|
|
1814
1809
|
if (!c.isBuffer(u)) throw new TypeError("Argument must be a Buffer");
|
|
1815
1810
|
return this === u ? !0 : c.compare(this, u) === 0;
|
|
@@ -1900,7 +1895,7 @@ function V2() {
|
|
|
1900
1895
|
return _e;
|
|
1901
1896
|
}
|
|
1902
1897
|
function X(u, h, w, N) {
|
|
1903
|
-
return se(
|
|
1898
|
+
return se(B(h, u.length - w), u, w, N);
|
|
1904
1899
|
}
|
|
1905
1900
|
function ce(u, h, w, N) {
|
|
1906
1901
|
return se(W(h), u, w, N);
|
|
@@ -1961,7 +1956,7 @@ function V2() {
|
|
|
1961
1956
|
function xe(u, h, w) {
|
|
1962
1957
|
return h === 0 && w === u.length ? t.fromByteArray(u) : t.fromByteArray(u.slice(h, w));
|
|
1963
1958
|
}
|
|
1964
|
-
function
|
|
1959
|
+
function j(u, h, w) {
|
|
1965
1960
|
w = Math.min(u.length, w);
|
|
1966
1961
|
for (var N = [], U = h; U < w; ) {
|
|
1967
1962
|
var ee = u[U], _e = null, De = ee > 239 ? 4 : ee > 223 ? 3 : ee > 191 ? 2 : 1;
|
|
@@ -2229,7 +2224,7 @@ function V2() {
|
|
|
2229
2224
|
for (ee = h; ee < w; ++ee)
|
|
2230
2225
|
this[ee] = u;
|
|
2231
2226
|
else {
|
|
2232
|
-
var _e = c.isBuffer(u) ? u :
|
|
2227
|
+
var _e = c.isBuffer(u) ? u : B(new c(u, N).toString()), De = _e.length;
|
|
2233
2228
|
for (ee = 0; ee < w - h; ++ee)
|
|
2234
2229
|
this[ee + h] = _e[ee % De];
|
|
2235
2230
|
}
|
|
@@ -2248,7 +2243,7 @@ function V2() {
|
|
|
2248
2243
|
function we(u) {
|
|
2249
2244
|
return u < 16 ? "0" + u.toString(16) : u.toString(16);
|
|
2250
2245
|
}
|
|
2251
|
-
function
|
|
2246
|
+
function B(u, h) {
|
|
2252
2247
|
h = h || 1 / 0;
|
|
2253
2248
|
for (var w, N = u.length, U = null, ee = [], _e = 0; _e < N; ++_e) {
|
|
2254
2249
|
if (w = u.charCodeAt(_e), w > 55295 && w < 57344) {
|
|
@@ -2946,11 +2941,11 @@ function Ew() {
|
|
|
2946
2941
|
}(_h)), _h;
|
|
2947
2942
|
}
|
|
2948
2943
|
Ew();
|
|
2949
|
-
function
|
|
2944
|
+
function Be(i, t) {
|
|
2950
2945
|
i != null && this.fromString(i, t);
|
|
2951
2946
|
}
|
|
2952
2947
|
function Ut() {
|
|
2953
|
-
return new
|
|
2948
|
+
return new Be(null);
|
|
2954
2949
|
}
|
|
2955
2950
|
var kr, Mw = 244837814094590, Mh = (Mw & 16777215) == 15715070;
|
|
2956
2951
|
function Lw(i, t, r, s, l, g) {
|
|
@@ -2975,21 +2970,21 @@ function Iw(i, t, r, s, l, g) {
|
|
|
2975
2970
|
return l;
|
|
2976
2971
|
}
|
|
2977
2972
|
var Lh = typeof navigator < "u";
|
|
2978
|
-
Lh && Mh && navigator.appName == "Microsoft Internet Explorer" ? (
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2973
|
+
Lh && Mh && navigator.appName == "Microsoft Internet Explorer" ? (Be.prototype.am = kw, kr = 30) : Lh && Mh && navigator.appName != "Netscape" ? (Be.prototype.am = Lw, kr = 26) : (Be.prototype.am = Iw, kr = 28);
|
|
2974
|
+
Be.prototype.DB = kr;
|
|
2975
|
+
Be.prototype.DM = (1 << kr) - 1;
|
|
2976
|
+
Be.prototype.DV = 1 << kr;
|
|
2982
2977
|
var Al = 52;
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
var $w = "0123456789abcdefghijklmnopqrstuvwxyz", na = new Array(),
|
|
2987
|
-
|
|
2988
|
-
for (_n = 0; _n <= 9; ++_n) na[
|
|
2989
|
-
|
|
2990
|
-
for (_n = 10; _n < 36; ++_n) na[
|
|
2991
|
-
|
|
2992
|
-
for (_n = 10; _n < 36; ++_n) na[
|
|
2978
|
+
Be.prototype.FV = Math.pow(2, Al);
|
|
2979
|
+
Be.prototype.F1 = Al - kr;
|
|
2980
|
+
Be.prototype.F2 = 2 * kr - Al;
|
|
2981
|
+
var $w = "0123456789abcdefghijklmnopqrstuvwxyz", na = new Array(), ji, _n;
|
|
2982
|
+
ji = 48;
|
|
2983
|
+
for (_n = 0; _n <= 9; ++_n) na[ji++] = _n;
|
|
2984
|
+
ji = 97;
|
|
2985
|
+
for (_n = 10; _n < 36; ++_n) na[ji++] = _n;
|
|
2986
|
+
ji = 65;
|
|
2987
|
+
for (_n = 10; _n < 36; ++_n) na[ji++] = _n;
|
|
2993
2988
|
function kh(i) {
|
|
2994
2989
|
return $w.charAt(i);
|
|
2995
2990
|
}
|
|
@@ -3001,14 +2996,14 @@ function Nw(i) {
|
|
|
3001
2996
|
for (var t = this.t - 1; t >= 0; --t) i[t] = this[t];
|
|
3002
2997
|
i.t = this.t, i.s = this.s;
|
|
3003
2998
|
}
|
|
3004
|
-
function
|
|
2999
|
+
function Bw(i) {
|
|
3005
3000
|
this.t = 1, this.s = i < 0 ? -1 : 0, i > 0 ? this[0] = i : i < -1 ? this[0] = i + this.DV : this.t = 0;
|
|
3006
3001
|
}
|
|
3007
3002
|
function Ol(i) {
|
|
3008
3003
|
var t = Ut();
|
|
3009
3004
|
return t.fromInt(i), t;
|
|
3010
3005
|
}
|
|
3011
|
-
function
|
|
3006
|
+
function jw(i, t) {
|
|
3012
3007
|
var r;
|
|
3013
3008
|
if (t == 16) r = 4;
|
|
3014
3009
|
else if (t == 8) r = 3;
|
|
@@ -3025,7 +3020,7 @@ function Bw(i, t) {
|
|
|
3025
3020
|
}
|
|
3026
3021
|
l = !1, g == 0 ? this[this.t++] = f : g + r > this.DB ? (this[this.t - 1] |= (f & (1 << this.DB - g) - 1) << g, this[this.t++] = f >> this.DB - g) : this[this.t - 1] |= f << g, g += r, g >= this.DB && (g -= this.DB);
|
|
3027
3022
|
}
|
|
3028
|
-
this.clamp(), l &&
|
|
3023
|
+
this.clamp(), l && Be.ZERO.subTo(this, this);
|
|
3029
3024
|
}
|
|
3030
3025
|
function Uw() {
|
|
3031
3026
|
for (var i = this.s & this.DM; this.t > 0 && this[this.t - 1] == i; ) --this.t;
|
|
@@ -3047,7 +3042,7 @@ function zw(i) {
|
|
|
3047
3042
|
}
|
|
3048
3043
|
function Fw() {
|
|
3049
3044
|
var i = Ut();
|
|
3050
|
-
return
|
|
3045
|
+
return Be.ZERO.subTo(this, i), i;
|
|
3051
3046
|
}
|
|
3052
3047
|
function Ww() {
|
|
3053
3048
|
return this.s < 0 ? this.negate() : this;
|
|
@@ -3115,7 +3110,7 @@ function Qw(i, t) {
|
|
|
3115
3110
|
var r = this.abs(), s = i.abs(), l = r.t;
|
|
3116
3111
|
for (t.t = l + s.t; --l >= 0; ) t[l] = 0;
|
|
3117
3112
|
for (l = 0; l < s.t; ++l) t[l + r.t] = r.am(0, s[l], t, l, 0, r.t);
|
|
3118
|
-
t.s = 0, t.clamp(), this.s != i.s &&
|
|
3113
|
+
t.s = 0, t.clamp(), this.s != i.s && Be.ZERO.subTo(t, t);
|
|
3119
3114
|
}
|
|
3120
3115
|
function Jw(i) {
|
|
3121
3116
|
for (var t = this.abs(), r = i.t = 2 * t.t; --r >= 0; ) i[r] = 0;
|
|
@@ -3139,19 +3134,19 @@ function Xw(i, t, r) {
|
|
|
3139
3134
|
var C = g.t, O = g[C - 1];
|
|
3140
3135
|
if (O != 0) {
|
|
3141
3136
|
var L = O * (1 << this.F1) + (C > 1 ? g[C - 2] >> this.F2 : 0), k = this.FV / L, T = (1 << this.F1) / L, M = 1 << this.F2, E = r.t, P = E - C, K = t ?? Ut();
|
|
3142
|
-
for (g.dlShiftTo(P, K), r.compareTo(K) >= 0 && (r[r.t++] = 1, r.subTo(K, r)),
|
|
3137
|
+
for (g.dlShiftTo(P, K), r.compareTo(K) >= 0 && (r[r.t++] = 1, r.subTo(K, r)), Be.ONE.dlShiftTo(C, K), K.subTo(g, g); g.t < C; ) g[g.t++] = 0;
|
|
3143
3138
|
for (; --P >= 0; ) {
|
|
3144
3139
|
var J = r[--E] == O ? this.DM : Math.floor(r[E] * k + (r[E - 1] + M) * T);
|
|
3145
3140
|
if ((r[E] += g.am(0, J, r, P, 0, C)) < J)
|
|
3146
3141
|
for (g.dlShiftTo(P, K), r.subTo(K, r); r[E] < --J; ) r.subTo(K, r);
|
|
3147
3142
|
}
|
|
3148
|
-
t != null && (r.drShiftTo(C, t), f != c &&
|
|
3143
|
+
t != null && (r.drShiftTo(C, t), f != c && Be.ZERO.subTo(t, t)), r.t = C, r.clamp(), b > 0 && r.rShiftTo(b, r), f < 0 && Be.ZERO.subTo(r, r);
|
|
3149
3144
|
}
|
|
3150
3145
|
}
|
|
3151
3146
|
}
|
|
3152
3147
|
function e_(i) {
|
|
3153
3148
|
var t = Ut();
|
|
3154
|
-
return this.abs().divRemTo(i, null, t), this.s < 0 && t.compareTo(
|
|
3149
|
+
return this.abs().divRemTo(i, null, t), this.s < 0 && t.compareTo(Be.ZERO) > 0 && i.subTo(t, t), t;
|
|
3155
3150
|
}
|
|
3156
3151
|
function t_() {
|
|
3157
3152
|
if (this.t < 1) return 0;
|
|
@@ -3198,7 +3193,7 @@ function Ui(i) {
|
|
|
3198
3193
|
}
|
|
3199
3194
|
function u_(i) {
|
|
3200
3195
|
var t = Ut();
|
|
3201
|
-
return i.abs().dlShiftTo(this.m.t, t), t.divRemTo(this.m, null, t), i.s < 0 && t.compareTo(
|
|
3196
|
+
return i.abs().dlShiftTo(this.m.t, t), t.divRemTo(this.m, null, t), i.s < 0 && t.compareTo(Be.ZERO) > 0 && this.m.subTo(t, t), t;
|
|
3202
3197
|
}
|
|
3203
3198
|
function l_(i) {
|
|
3204
3199
|
var t = Ut();
|
|
@@ -3252,34 +3247,34 @@ function d_(i, t, r) {
|
|
|
3252
3247
|
var K = f.revert(g);
|
|
3253
3248
|
return r(null, K), K;
|
|
3254
3249
|
}
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3250
|
+
Be.prototype.copyTo = Nw;
|
|
3251
|
+
Be.prototype.fromInt = Bw;
|
|
3252
|
+
Be.prototype.fromString = jw;
|
|
3253
|
+
Be.prototype.clamp = Uw;
|
|
3254
|
+
Be.prototype.dlShiftTo = Hw;
|
|
3255
|
+
Be.prototype.drShiftTo = Gw;
|
|
3256
|
+
Be.prototype.lShiftTo = Vw;
|
|
3257
|
+
Be.prototype.rShiftTo = Zw;
|
|
3258
|
+
Be.prototype.subTo = Kw;
|
|
3259
|
+
Be.prototype.multiplyTo = Qw;
|
|
3260
|
+
Be.prototype.squareTo = Jw;
|
|
3261
|
+
Be.prototype.divRemTo = Xw;
|
|
3262
|
+
Be.prototype.invDigit = t_;
|
|
3263
|
+
Be.prototype.addTo = r_;
|
|
3264
|
+
Be.prototype.toString = zw;
|
|
3265
|
+
Be.prototype.negate = Fw;
|
|
3266
|
+
Be.prototype.abs = Ww;
|
|
3267
|
+
Be.prototype.compareTo = Yw;
|
|
3268
|
+
Be.prototype.bitLength = qw;
|
|
3269
|
+
Be.prototype.mod = e_;
|
|
3270
|
+
Be.prototype.equals = n_;
|
|
3271
|
+
Be.prototype.add = i_;
|
|
3272
|
+
Be.prototype.subtract = o_;
|
|
3273
|
+
Be.prototype.multiply = s_;
|
|
3274
|
+
Be.prototype.divide = a_;
|
|
3275
|
+
Be.prototype.modPow = d_;
|
|
3276
|
+
Be.ZERO = Ol(0);
|
|
3277
|
+
Be.ONE = Ol(1);
|
|
3283
3278
|
function p_(i, t) {
|
|
3284
3279
|
return t = t || {}, new Promise(function(r, s) {
|
|
3285
3280
|
var l = new XMLHttpRequest(), g = [], f = [], c = {}, b = function() {
|
|
@@ -3328,9 +3323,9 @@ var Nh = { exports: {} };
|
|
|
3328
3323
|
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
|
3329
3324
|
* Released under the MIT license
|
|
3330
3325
|
*/
|
|
3331
|
-
var
|
|
3326
|
+
var Bh;
|
|
3332
3327
|
function m_() {
|
|
3333
|
-
return
|
|
3328
|
+
return Bh || (Bh = 1, function(i, t) {
|
|
3334
3329
|
(function(r) {
|
|
3335
3330
|
var s;
|
|
3336
3331
|
if (i.exports = r(), s = !0, !s) {
|
|
@@ -3443,13 +3438,13 @@ async function b_() {
|
|
|
3443
3438
|
return i == null ? void 0 : i.getIdToken().getJwtToken();
|
|
3444
3439
|
}
|
|
3445
3440
|
wl(void 0);
|
|
3446
|
-
var x_ = "undefined", S_ = "object", Ns = "browser",
|
|
3441
|
+
var x_ = "undefined", S_ = "object", Ns = "browser", jh = "cpu", Uh = "device", Hu = "engine", Bs = "os", Ar = "name", Zs = "type", dl = "vendor", En = "version", pl = "architecture", gl = "major", vl = "model", C_ = "console", A_ = "mobile", O_ = "tablet", D_ = "smarttv", R_ = "wearable", T_ = "embedded", E_ = typeof window !== x_, Gu = E_ && window.navigator ? window.navigator : void 0;
|
|
3447
3442
|
Gu && Gu.userAgentData && Gu.userAgentData;
|
|
3448
3443
|
var ra = function(i) {
|
|
3449
3444
|
for (var t = {}, r = 0; r < i.length; r++)
|
|
3450
3445
|
t[i[r].toUpperCase()] = i[r];
|
|
3451
3446
|
return t;
|
|
3452
|
-
},
|
|
3447
|
+
}, js = function(i) {
|
|
3453
3448
|
for (var t in i) {
|
|
3454
3449
|
var r = i[t];
|
|
3455
3450
|
typeof r == S_ && r.length == 2 ? this[r[0]] = r[1] : this[r] = void 0;
|
|
@@ -3458,25 +3453,25 @@ var ra = function(i) {
|
|
|
3458
3453
|
};
|
|
3459
3454
|
(function() {
|
|
3460
3455
|
var i = { init: {}, isIgnore: {}, isIgnoreRgx: {}, toString: {} };
|
|
3461
|
-
return
|
|
3456
|
+
return js.call(i.init, [
|
|
3462
3457
|
[Ns, [Ar, En, gl, Zs]],
|
|
3463
|
-
[
|
|
3458
|
+
[jh, [pl]],
|
|
3464
3459
|
[Uh, [Zs, vl, dl]],
|
|
3465
3460
|
[Hu, [Ar, En]],
|
|
3466
|
-
[
|
|
3467
|
-
]),
|
|
3461
|
+
[Bs, [Ar, En]]
|
|
3462
|
+
]), js.call(i.isIgnore, [
|
|
3468
3463
|
[Ns, [En, gl]],
|
|
3469
3464
|
[Hu, [En]],
|
|
3470
|
-
[
|
|
3471
|
-
]),
|
|
3465
|
+
[Bs, [En]]
|
|
3466
|
+
]), js.call(i.isIgnoreRgx, [
|
|
3472
3467
|
[Ns, / ?browser$/i],
|
|
3473
|
-
[
|
|
3474
|
-
]),
|
|
3468
|
+
[Bs, / ?os$/i]
|
|
3469
|
+
]), js.call(i.toString, [
|
|
3475
3470
|
[Ns, [Ar, En]],
|
|
3476
|
-
[
|
|
3471
|
+
[jh, [pl]],
|
|
3477
3472
|
[Uh, [dl, vl]],
|
|
3478
3473
|
[Hu, [Ar, En]],
|
|
3479
|
-
[
|
|
3474
|
+
[Bs, [Ar, En]]
|
|
3480
3475
|
]), i;
|
|
3481
3476
|
})();
|
|
3482
3477
|
ra([Ar, En, gl, Zs]);
|
|
@@ -3491,53 +3486,53 @@ function L_() {
|
|
|
3491
3486
|
})(M_, () => (() => {
|
|
3492
3487
|
var r = { 873: (f, c) => {
|
|
3493
3488
|
var b, C, O = function() {
|
|
3494
|
-
var L = function(
|
|
3495
|
-
var A =
|
|
3489
|
+
var L = function(j, I) {
|
|
3490
|
+
var A = j, v = K[I], p = null, _ = 0, d = null, m = [], D = {}, q = function(B, W) {
|
|
3496
3491
|
p = function(F) {
|
|
3497
3492
|
for (var Z = new Array(F), se = 0; se < F; se += 1) {
|
|
3498
3493
|
Z[se] = new Array(F);
|
|
3499
3494
|
for (var Ae = 0; Ae < F; Ae += 1) Z[se][Ae] = null;
|
|
3500
3495
|
}
|
|
3501
3496
|
return Z;
|
|
3502
|
-
}(_ = 4 * A + 17), V(0, 0), V(_ - 7, 0), V(0, _ - 7), de(), ue(), ne(
|
|
3503
|
-
}, V = function(
|
|
3504
|
-
for (var F = -1; F <= 7; F += 1) if (!(
|
|
3497
|
+
}(_ = 4 * A + 17), V(0, 0), V(_ - 7, 0), V(0, _ - 7), de(), ue(), ne(B, W), A >= 7 && me(B), d == null && (d = Ce(A, v, m)), le(d, W);
|
|
3498
|
+
}, V = function(B, W) {
|
|
3499
|
+
for (var F = -1; F <= 7; F += 1) if (!(B + F <= -1 || _ <= B + F)) for (var Z = -1; Z <= 7; Z += 1) W + Z <= -1 || _ <= W + Z || (p[B + F][W + Z] = 0 <= F && F <= 6 && (Z == 0 || Z == 6) || 0 <= Z && Z <= 6 && (F == 0 || F == 6) || 2 <= F && F <= 4 && 2 <= Z && Z <= 4);
|
|
3505
3500
|
}, ue = function() {
|
|
3506
|
-
for (var
|
|
3501
|
+
for (var B = 8; B < _ - 8; B += 1) p[B][6] == null && (p[B][6] = B % 2 == 0);
|
|
3507
3502
|
for (var W = 8; W < _ - 8; W += 1) p[6][W] == null && (p[6][W] = W % 2 == 0);
|
|
3508
3503
|
}, de = function() {
|
|
3509
|
-
for (var
|
|
3510
|
-
var Z =
|
|
3504
|
+
for (var B = J.getPatternPosition(A), W = 0; W < B.length; W += 1) for (var F = 0; F < B.length; F += 1) {
|
|
3505
|
+
var Z = B[W], se = B[F];
|
|
3511
3506
|
if (p[Z][se] == null) for (var Ae = -2; Ae <= 2; Ae += 1) for (var u = -2; u <= 2; u += 1) p[Z + Ae][se + u] = Ae == -2 || Ae == 2 || u == -2 || u == 2 || Ae == 0 && u == 0;
|
|
3512
3507
|
}
|
|
3513
|
-
}, me = function(
|
|
3508
|
+
}, me = function(B) {
|
|
3514
3509
|
for (var W = J.getBCHTypeNumber(A), F = 0; F < 18; F += 1) {
|
|
3515
|
-
var Z = !
|
|
3510
|
+
var Z = !B && (W >> F & 1) == 1;
|
|
3516
3511
|
p[Math.floor(F / 3)][F % 3 + _ - 8 - 3] = Z;
|
|
3517
3512
|
}
|
|
3518
|
-
for (F = 0; F < 18; F += 1) Z = !
|
|
3519
|
-
}, ne = function(
|
|
3513
|
+
for (F = 0; F < 18; F += 1) Z = !B && (W >> F & 1) == 1, p[F % 3 + _ - 8 - 3][Math.floor(F / 3)] = Z;
|
|
3514
|
+
}, ne = function(B, W) {
|
|
3520
3515
|
for (var F = v << 3 | W, Z = J.getBCHTypeInfo(F), se = 0; se < 15; se += 1) {
|
|
3521
|
-
var Ae = !
|
|
3516
|
+
var Ae = !B && (Z >> se & 1) == 1;
|
|
3522
3517
|
se < 6 ? p[se][8] = Ae : se < 8 ? p[se + 1][8] = Ae : p[_ - 15 + se][8] = Ae;
|
|
3523
3518
|
}
|
|
3524
|
-
for (se = 0; se < 15; se += 1) Ae = !
|
|
3525
|
-
p[_ - 8][8] = !
|
|
3526
|
-
}, le = function(
|
|
3519
|
+
for (se = 0; se < 15; se += 1) Ae = !B && (Z >> se & 1) == 1, se < 8 ? p[8][_ - se - 1] = Ae : se < 9 ? p[8][15 - se - 1 + 1] = Ae : p[8][15 - se - 1] = Ae;
|
|
3520
|
+
p[_ - 8][8] = !B;
|
|
3521
|
+
}, le = function(B, W) {
|
|
3527
3522
|
for (var F = -1, Z = _ - 1, se = 7, Ae = 0, u = J.getMaskFunction(W), h = _ - 1; h > 0; h -= 2) for (h == 6 && (h -= 1); ; ) {
|
|
3528
3523
|
for (var w = 0; w < 2; w += 1) if (p[Z][h - w] == null) {
|
|
3529
3524
|
var N = !1;
|
|
3530
|
-
Ae <
|
|
3525
|
+
Ae < B.length && (N = (B[Ae] >>> se & 1) == 1), u(Z, h - w) && (N = !N), p[Z][h - w] = N, (se -= 1) == -1 && (Ae += 1, se = 7);
|
|
3531
3526
|
}
|
|
3532
3527
|
if ((Z += F) < 0 || _ <= Z) {
|
|
3533
3528
|
Z -= F, F = -F;
|
|
3534
3529
|
break;
|
|
3535
3530
|
}
|
|
3536
3531
|
}
|
|
3537
|
-
}, Ce = function(
|
|
3538
|
-
for (var Z = Y.getRSBlocks(
|
|
3532
|
+
}, Ce = function(B, W, F) {
|
|
3533
|
+
for (var Z = Y.getRSBlocks(B, W), se = ae(), Ae = 0; Ae < F.length; Ae += 1) {
|
|
3539
3534
|
var u = F[Ae];
|
|
3540
|
-
se.put(u.getMode(), 4), se.put(u.getLength(), J.getLengthInBits(u.getMode(),
|
|
3535
|
+
se.put(u.getMode(), 4), se.put(u.getLength(), J.getLengthInBits(u.getMode(), B)), u.write(se);
|
|
3541
3536
|
}
|
|
3542
3537
|
var h = 0;
|
|
3543
3538
|
for (Ae = 0; Ae < Z.length; Ae += 1) h += Z[Ae].dataCount;
|
|
@@ -3564,42 +3559,42 @@ function L_() {
|
|
|
3564
3559
|
return bt;
|
|
3565
3560
|
}(se, Z);
|
|
3566
3561
|
};
|
|
3567
|
-
D.addData = function(
|
|
3562
|
+
D.addData = function(B, W) {
|
|
3568
3563
|
var F = null;
|
|
3569
3564
|
switch (W = W || "Byte") {
|
|
3570
3565
|
case "Numeric":
|
|
3571
|
-
F = te(
|
|
3566
|
+
F = te(B);
|
|
3572
3567
|
break;
|
|
3573
3568
|
case "Alphanumeric":
|
|
3574
|
-
F = X(
|
|
3569
|
+
F = X(B);
|
|
3575
3570
|
break;
|
|
3576
3571
|
case "Byte":
|
|
3577
|
-
F = ce(
|
|
3572
|
+
F = ce(B);
|
|
3578
3573
|
break;
|
|
3579
3574
|
case "Kanji":
|
|
3580
|
-
F = he(
|
|
3575
|
+
F = he(B);
|
|
3581
3576
|
break;
|
|
3582
3577
|
default:
|
|
3583
3578
|
throw "mode:" + W;
|
|
3584
3579
|
}
|
|
3585
3580
|
m.push(F), d = null;
|
|
3586
|
-
}, D.isDark = function(
|
|
3587
|
-
if (
|
|
3588
|
-
return p[
|
|
3581
|
+
}, D.isDark = function(B, W) {
|
|
3582
|
+
if (B < 0 || _ <= B || W < 0 || _ <= W) throw B + "," + W;
|
|
3583
|
+
return p[B][W];
|
|
3589
3584
|
}, D.getModuleCount = function() {
|
|
3590
3585
|
return _;
|
|
3591
3586
|
}, D.make = function() {
|
|
3592
3587
|
if (A < 1) {
|
|
3593
|
-
for (var
|
|
3594
|
-
for (var W = Y.getRSBlocks(
|
|
3588
|
+
for (var B = 1; B < 40; B++) {
|
|
3589
|
+
for (var W = Y.getRSBlocks(B, v), F = ae(), Z = 0; Z < m.length; Z++) {
|
|
3595
3590
|
var se = m[Z];
|
|
3596
|
-
F.put(se.getMode(), 4), F.put(se.getLength(), J.getLengthInBits(se.getMode(),
|
|
3591
|
+
F.put(se.getMode(), 4), F.put(se.getLength(), J.getLengthInBits(se.getMode(), B)), se.write(F);
|
|
3597
3592
|
}
|
|
3598
3593
|
var Ae = 0;
|
|
3599
3594
|
for (Z = 0; Z < W.length; Z++) Ae += W[Z].dataCount;
|
|
3600
3595
|
if (F.getLengthInBits() <= 8 * Ae) break;
|
|
3601
3596
|
}
|
|
3602
|
-
A =
|
|
3597
|
+
A = B;
|
|
3603
3598
|
}
|
|
3604
3599
|
q(!1, function() {
|
|
3605
3600
|
for (var u = 0, h = 0, w = 0; w < 8; w += 1) {
|
|
@@ -3609,40 +3604,40 @@ function L_() {
|
|
|
3609
3604
|
}
|
|
3610
3605
|
return h;
|
|
3611
3606
|
}());
|
|
3612
|
-
}, D.createTableTag = function(
|
|
3613
|
-
|
|
3607
|
+
}, D.createTableTag = function(B, W) {
|
|
3608
|
+
B = B || 2;
|
|
3614
3609
|
var F = "";
|
|
3615
|
-
F += '<table style="', F += " border-width: 0px; border-style: none;", F += " border-collapse: collapse;", F += " padding: 0px; margin: " + (W = W === void 0 ? 4 *
|
|
3610
|
+
F += '<table style="', F += " border-width: 0px; border-style: none;", F += " border-collapse: collapse;", F += " padding: 0px; margin: " + (W = W === void 0 ? 4 * B : W) + "px;", F += '">', F += "<tbody>";
|
|
3616
3611
|
for (var Z = 0; Z < D.getModuleCount(); Z += 1) {
|
|
3617
3612
|
F += "<tr>";
|
|
3618
|
-
for (var se = 0; se < D.getModuleCount(); se += 1) F += '<td style="', F += " border-width: 0px; border-style: none;", F += " border-collapse: collapse;", F += " padding: 0px; margin: 0px;", F += " width: " +
|
|
3613
|
+
for (var se = 0; se < D.getModuleCount(); se += 1) F += '<td style="', F += " border-width: 0px; border-style: none;", F += " border-collapse: collapse;", F += " padding: 0px; margin: 0px;", F += " width: " + B + "px;", F += " height: " + B + "px;", F += " background-color: ", F += D.isDark(Z, se) ? "#000000" : "#ffffff", F += ";", F += '"/>';
|
|
3619
3614
|
F += "</tr>";
|
|
3620
3615
|
}
|
|
3621
3616
|
return (F += "</tbody>") + "</table>";
|
|
3622
|
-
}, D.createSvgTag = function(
|
|
3617
|
+
}, D.createSvgTag = function(B, W, F, Z) {
|
|
3623
3618
|
var se = {};
|
|
3624
|
-
typeof arguments[0] == "object" && (
|
|
3625
|
-
var Ae, u, h, w, N = D.getModuleCount() *
|
|
3626
|
-
for (w = "l" +
|
|
3619
|
+
typeof arguments[0] == "object" && (B = (se = arguments[0]).cellSize, W = se.margin, F = se.alt, Z = se.title), B = B || 2, W = W === void 0 ? 4 * B : W, (F = typeof F == "string" ? { text: F } : F || {}).text = F.text || null, F.id = F.text ? F.id || "qrcode-description" : null, (Z = typeof Z == "string" ? { text: Z } : Z || {}).text = Z.text || null, Z.id = Z.text ? Z.id || "qrcode-title" : null;
|
|
3620
|
+
var Ae, u, h, w, N = D.getModuleCount() * B + 2 * W, U = "";
|
|
3621
|
+
for (w = "l" + B + ",0 0," + B + " -" + B + ",0 0,-" + B + "z ", U += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', U += se.scalable ? "" : ' width="' + N + 'px" height="' + N + 'px"', U += ' viewBox="0 0 ' + N + " " + N + '" ', U += ' preserveAspectRatio="xMinYMin meet"', U += Z.text || F.text ? ' role="img" aria-labelledby="' + we([Z.id, F.id].join(" ").trim()) + '"' : "", U += ">", U += Z.text ? '<title id="' + we(Z.id) + '">' + we(Z.text) + "</title>" : "", U += F.text ? '<description id="' + we(F.id) + '">' + we(F.text) + "</description>" : "", U += '<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>', U += '<path d="', u = 0; u < D.getModuleCount(); u += 1) for (h = u * B + W, Ae = 0; Ae < D.getModuleCount(); Ae += 1) D.isDark(u, Ae) && (U += "M" + (Ae * B + W) + "," + h + w);
|
|
3627
3622
|
return (U += '" stroke="transparent" fill="black"/>') + "</svg>";
|
|
3628
|
-
}, D.createDataURL = function(
|
|
3629
|
-
|
|
3630
|
-
var F = D.getModuleCount() *
|
|
3623
|
+
}, D.createDataURL = function(B, W) {
|
|
3624
|
+
B = B || 2, W = W === void 0 ? 4 * B : W;
|
|
3625
|
+
var F = D.getModuleCount() * B + 2 * W, Z = W, se = F - W;
|
|
3631
3626
|
return xe(F, F, function(Ae, u) {
|
|
3632
3627
|
if (Z <= Ae && Ae < se && Z <= u && u < se) {
|
|
3633
|
-
var h = Math.floor((Ae - Z) /
|
|
3628
|
+
var h = Math.floor((Ae - Z) / B), w = Math.floor((u - Z) / B);
|
|
3634
3629
|
return D.isDark(w, h) ? 0 : 1;
|
|
3635
3630
|
}
|
|
3636
3631
|
return 1;
|
|
3637
3632
|
});
|
|
3638
|
-
}, D.createImgTag = function(
|
|
3639
|
-
|
|
3640
|
-
var Z = D.getModuleCount() *
|
|
3641
|
-
return se += "<img", se += ' src="', se += D.createDataURL(
|
|
3633
|
+
}, D.createImgTag = function(B, W, F) {
|
|
3634
|
+
B = B || 2, W = W === void 0 ? 4 * B : W;
|
|
3635
|
+
var Z = D.getModuleCount() * B + 2 * W, se = "";
|
|
3636
|
+
return se += "<img", se += ' src="', se += D.createDataURL(B, W), se += '"', se += ' width="', se += Z, se += '"', se += ' height="', se += Z, se += '"', F && (se += ' alt="', se += we(F), se += '"'), se + "/>";
|
|
3642
3637
|
};
|
|
3643
|
-
var we = function(
|
|
3644
|
-
for (var W = "", F = 0; F <
|
|
3645
|
-
var Z =
|
|
3638
|
+
var we = function(B) {
|
|
3639
|
+
for (var W = "", F = 0; F < B.length; F += 1) {
|
|
3640
|
+
var Z = B.charAt(F);
|
|
3646
3641
|
switch (Z) {
|
|
3647
3642
|
case "<":
|
|
3648
3643
|
W += "<";
|
|
@@ -3662,8 +3657,8 @@ function L_() {
|
|
|
3662
3657
|
}
|
|
3663
3658
|
return W;
|
|
3664
3659
|
};
|
|
3665
|
-
return D.createASCII = function(
|
|
3666
|
-
if ((
|
|
3660
|
+
return D.createASCII = function(B, W) {
|
|
3661
|
+
if ((B = B || 1) < 2) return function(De) {
|
|
3667
3662
|
De = De === void 0 ? 2 : De;
|
|
3668
3663
|
var Te, be, Ee, Ie, Me, Ge = 1 * D.getModuleCount() + 2 * De, We = De, Xe = Ge - De, ft = { "██": "█", "█ ": "▀", " █": "▄", " ": " " }, bt = { "██": "▀", "█ ": "▀", " █": " ", " ": " " }, at = "";
|
|
3669
3664
|
for (Te = 0; Te < Ge; Te += 2) {
|
|
@@ -3673,28 +3668,28 @@ function L_() {
|
|
|
3673
3668
|
}
|
|
3674
3669
|
return Ge % 2 && De > 0 ? at.substring(0, at.length - Ge - 1) + Array(Ge + 1).join("▀") : at.substring(0, at.length - 1);
|
|
3675
3670
|
}(W);
|
|
3676
|
-
|
|
3677
|
-
var F, Z, se, Ae, u = D.getModuleCount() *
|
|
3671
|
+
B -= 1, W = W === void 0 ? 2 * B : W;
|
|
3672
|
+
var F, Z, se, Ae, u = D.getModuleCount() * B + 2 * W, h = W, w = u - W, N = Array(B + 1).join("██"), U = Array(B + 1).join(" "), ee = "", _e = "";
|
|
3678
3673
|
for (F = 0; F < u; F += 1) {
|
|
3679
|
-
for (se = Math.floor((F - h) /
|
|
3680
|
-
for (se = 0; se <
|
|
3674
|
+
for (se = Math.floor((F - h) / B), _e = "", Z = 0; Z < u; Z += 1) Ae = 1, h <= Z && Z < w && h <= F && F < w && D.isDark(se, Math.floor((Z - h) / B)) && (Ae = 0), _e += Ae ? N : U;
|
|
3675
|
+
for (se = 0; se < B; se += 1) ee += _e + `
|
|
3681
3676
|
`;
|
|
3682
3677
|
}
|
|
3683
3678
|
return ee.substring(0, ee.length - 1);
|
|
3684
|
-
}, D.renderTo2dContext = function(
|
|
3679
|
+
}, D.renderTo2dContext = function(B, W) {
|
|
3685
3680
|
W = W || 2;
|
|
3686
|
-
for (var F = D.getModuleCount(), Z = 0; Z < F; Z++) for (var se = 0; se < F; se++)
|
|
3681
|
+
for (var F = D.getModuleCount(), Z = 0; Z < F; Z++) for (var se = 0; se < F; se++) B.fillStyle = D.isDark(Z, se) ? "black" : "white", B.fillRect(Z * W, se * W, W, W);
|
|
3687
3682
|
}, D;
|
|
3688
3683
|
};
|
|
3689
|
-
L.stringToBytes = (L.stringToBytesFuncs = { default: function(
|
|
3690
|
-
for (var I = [], A = 0; A <
|
|
3691
|
-
var v =
|
|
3684
|
+
L.stringToBytes = (L.stringToBytesFuncs = { default: function(j) {
|
|
3685
|
+
for (var I = [], A = 0; A < j.length; A += 1) {
|
|
3686
|
+
var v = j.charCodeAt(A);
|
|
3692
3687
|
I.push(255 & v);
|
|
3693
3688
|
}
|
|
3694
3689
|
return I;
|
|
3695
|
-
} }).default, L.createStringToBytes = function(
|
|
3690
|
+
} }).default, L.createStringToBytes = function(j, I) {
|
|
3696
3691
|
var A = function() {
|
|
3697
|
-
for (var p = Se(
|
|
3692
|
+
for (var p = Se(j), _ = function() {
|
|
3698
3693
|
var ue = p.read();
|
|
3699
3694
|
if (ue == -1) throw "eof";
|
|
3700
3695
|
return ue;
|
|
@@ -3719,19 +3714,19 @@ function L_() {
|
|
|
3719
3714
|
return _;
|
|
3720
3715
|
};
|
|
3721
3716
|
};
|
|
3722
|
-
var k, T, M, E, P, K = { L: 1, M: 0, Q: 3, H: 2 }, J = (k = [[], [6, 18], [6, 22], [6, 26], [6, 30], [6, 34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170]], T = 1335, M = 7973, P = function(
|
|
3723
|
-
for (var I = 0;
|
|
3717
|
+
var k, T, M, E, P, K = { L: 1, M: 0, Q: 3, H: 2 }, J = (k = [[], [6, 18], [6, 22], [6, 26], [6, 30], [6, 34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170]], T = 1335, M = 7973, P = function(j) {
|
|
3718
|
+
for (var I = 0; j != 0; ) I += 1, j >>>= 1;
|
|
3724
3719
|
return I;
|
|
3725
|
-
}, (E = {}).getBCHTypeInfo = function(
|
|
3726
|
-
for (var I =
|
|
3727
|
-
return 21522 ^ (
|
|
3728
|
-
}, E.getBCHTypeNumber = function(
|
|
3729
|
-
for (var I =
|
|
3730
|
-
return
|
|
3731
|
-
}, E.getPatternPosition = function(
|
|
3732
|
-
return k[
|
|
3733
|
-
}, E.getMaskFunction = function(
|
|
3734
|
-
switch (
|
|
3720
|
+
}, (E = {}).getBCHTypeInfo = function(j) {
|
|
3721
|
+
for (var I = j << 10; P(I) - P(T) >= 0; ) I ^= T << P(I) - P(T);
|
|
3722
|
+
return 21522 ^ (j << 10 | I);
|
|
3723
|
+
}, E.getBCHTypeNumber = function(j) {
|
|
3724
|
+
for (var I = j << 12; P(I) - P(M) >= 0; ) I ^= M << P(I) - P(M);
|
|
3725
|
+
return j << 12 | I;
|
|
3726
|
+
}, E.getPatternPosition = function(j) {
|
|
3727
|
+
return k[j - 1];
|
|
3728
|
+
}, E.getMaskFunction = function(j) {
|
|
3729
|
+
switch (j) {
|
|
3735
3730
|
case 0:
|
|
3736
3731
|
return function(I, A) {
|
|
3737
3732
|
return (I + A) % 2 == 0;
|
|
@@ -3765,13 +3760,13 @@ function L_() {
|
|
|
3765
3760
|
return (I * A % 3 + (I + A) % 2) % 2 == 0;
|
|
3766
3761
|
};
|
|
3767
3762
|
default:
|
|
3768
|
-
throw "bad maskPattern:" +
|
|
3763
|
+
throw "bad maskPattern:" + j;
|
|
3769
3764
|
}
|
|
3770
|
-
}, E.getErrorCorrectPolynomial = function(
|
|
3771
|
-
for (var I = oe([1], 0), A = 0; A <
|
|
3765
|
+
}, E.getErrorCorrectPolynomial = function(j) {
|
|
3766
|
+
for (var I = oe([1], 0), A = 0; A < j; A += 1) I = I.multiply(oe([1, Q.gexp(A)], 0));
|
|
3772
3767
|
return I;
|
|
3773
|
-
}, E.getLengthInBits = function(
|
|
3774
|
-
if (1 <= I && I < 10) switch (
|
|
3768
|
+
}, E.getLengthInBits = function(j, I) {
|
|
3769
|
+
if (1 <= I && I < 10) switch (j) {
|
|
3775
3770
|
case 1:
|
|
3776
3771
|
return 10;
|
|
3777
3772
|
case 2:
|
|
@@ -3780,9 +3775,9 @@ function L_() {
|
|
|
3780
3775
|
case 8:
|
|
3781
3776
|
return 8;
|
|
3782
3777
|
default:
|
|
3783
|
-
throw "mode:" +
|
|
3778
|
+
throw "mode:" + j;
|
|
3784
3779
|
}
|
|
3785
|
-
else if (I < 27) switch (
|
|
3780
|
+
else if (I < 27) switch (j) {
|
|
3786
3781
|
case 1:
|
|
3787
3782
|
return 12;
|
|
3788
3783
|
case 2:
|
|
@@ -3792,11 +3787,11 @@ function L_() {
|
|
|
3792
3787
|
case 8:
|
|
3793
3788
|
return 10;
|
|
3794
3789
|
default:
|
|
3795
|
-
throw "mode:" +
|
|
3790
|
+
throw "mode:" + j;
|
|
3796
3791
|
}
|
|
3797
3792
|
else {
|
|
3798
3793
|
if (!(I < 41)) throw "type:" + I;
|
|
3799
|
-
switch (
|
|
3794
|
+
switch (j) {
|
|
3800
3795
|
case 1:
|
|
3801
3796
|
return 14;
|
|
3802
3797
|
case 2:
|
|
@@ -3806,41 +3801,41 @@ function L_() {
|
|
|
3806
3801
|
case 8:
|
|
3807
3802
|
return 12;
|
|
3808
3803
|
default:
|
|
3809
|
-
throw "mode:" +
|
|
3804
|
+
throw "mode:" + j;
|
|
3810
3805
|
}
|
|
3811
3806
|
}
|
|
3812
|
-
}, E.getLostPoint = function(
|
|
3813
|
-
for (var I =
|
|
3814
|
-
for (var _ = 0, d =
|
|
3807
|
+
}, E.getLostPoint = function(j) {
|
|
3808
|
+
for (var I = j.getModuleCount(), A = 0, v = 0; v < I; v += 1) for (var p = 0; p < I; p += 1) {
|
|
3809
|
+
for (var _ = 0, d = j.isDark(v, p), m = -1; m <= 1; m += 1) if (!(v + m < 0 || I <= v + m)) for (var D = -1; D <= 1; D += 1) p + D < 0 || I <= p + D || m == 0 && D == 0 || d == j.isDark(v + m, p + D) && (_ += 1);
|
|
3815
3810
|
_ > 5 && (A += 3 + _ - 5);
|
|
3816
3811
|
}
|
|
3817
3812
|
for (v = 0; v < I - 1; v += 1) for (p = 0; p < I - 1; p += 1) {
|
|
3818
3813
|
var q = 0;
|
|
3819
|
-
|
|
3814
|
+
j.isDark(v, p) && (q += 1), j.isDark(v + 1, p) && (q += 1), j.isDark(v, p + 1) && (q += 1), j.isDark(v + 1, p + 1) && (q += 1), q != 0 && q != 4 || (A += 3);
|
|
3820
3815
|
}
|
|
3821
|
-
for (v = 0; v < I; v += 1) for (p = 0; p < I - 6; p += 1)
|
|
3822
|
-
for (p = 0; p < I; p += 1) for (v = 0; v < I - 6; v += 1)
|
|
3816
|
+
for (v = 0; v < I; v += 1) for (p = 0; p < I - 6; p += 1) j.isDark(v, p) && !j.isDark(v, p + 1) && j.isDark(v, p + 2) && j.isDark(v, p + 3) && j.isDark(v, p + 4) && !j.isDark(v, p + 5) && j.isDark(v, p + 6) && (A += 40);
|
|
3817
|
+
for (p = 0; p < I; p += 1) for (v = 0; v < I - 6; v += 1) j.isDark(v, p) && !j.isDark(v + 1, p) && j.isDark(v + 2, p) && j.isDark(v + 3, p) && j.isDark(v + 4, p) && !j.isDark(v + 5, p) && j.isDark(v + 6, p) && (A += 40);
|
|
3823
3818
|
var V = 0;
|
|
3824
|
-
for (p = 0; p < I; p += 1) for (v = 0; v < I; v += 1)
|
|
3819
|
+
for (p = 0; p < I; p += 1) for (v = 0; v < I; v += 1) j.isDark(v, p) && (V += 1);
|
|
3825
3820
|
return A + Math.abs(100 * V / I / I - 50) / 5 * 10;
|
|
3826
3821
|
}, E), Q = function() {
|
|
3827
|
-
for (var
|
|
3828
|
-
for (A = 8; A < 256; A += 1)
|
|
3829
|
-
for (A = 0; A < 255; A += 1) I[
|
|
3822
|
+
for (var j = new Array(256), I = new Array(256), A = 0; A < 8; A += 1) j[A] = 1 << A;
|
|
3823
|
+
for (A = 8; A < 256; A += 1) j[A] = j[A - 4] ^ j[A - 5] ^ j[A - 6] ^ j[A - 8];
|
|
3824
|
+
for (A = 0; A < 255; A += 1) I[j[A]] = A;
|
|
3830
3825
|
return { glog: function(v) {
|
|
3831
3826
|
if (v < 1) throw "glog(" + v + ")";
|
|
3832
3827
|
return I[v];
|
|
3833
3828
|
}, gexp: function(v) {
|
|
3834
3829
|
for (; v < 0; ) v += 255;
|
|
3835
3830
|
for (; v >= 256; ) v -= 255;
|
|
3836
|
-
return
|
|
3831
|
+
return j[v];
|
|
3837
3832
|
} };
|
|
3838
3833
|
}();
|
|
3839
|
-
function oe(
|
|
3840
|
-
if (
|
|
3834
|
+
function oe(j, I) {
|
|
3835
|
+
if (j.length === void 0) throw j.length + "/" + I;
|
|
3841
3836
|
var A = function() {
|
|
3842
|
-
for (var p = 0; p <
|
|
3843
|
-
for (var _ = new Array(
|
|
3837
|
+
for (var p = 0; p < j.length && j[p] == 0; ) p += 1;
|
|
3838
|
+
for (var _ = new Array(j.length - p + I), d = 0; d < j.length - p; d += 1) _[d] = j[d + p];
|
|
3844
3839
|
return _;
|
|
3845
3840
|
}(), v = { getAt: function(p) {
|
|
3846
3841
|
return A[p];
|
|
@@ -3858,20 +3853,20 @@ function L_() {
|
|
|
3858
3853
|
return v;
|
|
3859
3854
|
}
|
|
3860
3855
|
var Y = /* @__PURE__ */ function() {
|
|
3861
|
-
var
|
|
3856
|
+
var j = [[1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9], [1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16], [1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13], [1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9], [1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12], [2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15], [2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14], [2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15], [2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13], [2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16], [4, 101, 81], [1, 80, 50, 4, 81, 51], [4, 50, 22, 4, 51, 23], [3, 36, 12, 8, 37, 13], [2, 116, 92, 2, 117, 93], [6, 58, 36, 2, 59, 37], [4, 46, 20, 6, 47, 21], [7, 42, 14, 4, 43, 15], [4, 133, 107], [8, 59, 37, 1, 60, 38], [8, 44, 20, 4, 45, 21], [12, 33, 11, 4, 34, 12], [3, 145, 115, 1, 146, 116], [4, 64, 40, 5, 65, 41], [11, 36, 16, 5, 37, 17], [11, 36, 12, 5, 37, 13], [5, 109, 87, 1, 110, 88], [5, 65, 41, 5, 66, 42], [5, 54, 24, 7, 55, 25], [11, 36, 12, 7, 37, 13], [5, 122, 98, 1, 123, 99], [7, 73, 45, 3, 74, 46], [15, 43, 19, 2, 44, 20], [3, 45, 15, 13, 46, 16], [1, 135, 107, 5, 136, 108], [10, 74, 46, 1, 75, 47], [1, 50, 22, 15, 51, 23], [2, 42, 14, 17, 43, 15], [5, 150, 120, 1, 151, 121], [9, 69, 43, 4, 70, 44], [17, 50, 22, 1, 51, 23], [2, 42, 14, 19, 43, 15], [3, 141, 113, 4, 142, 114], [3, 70, 44, 11, 71, 45], [17, 47, 21, 4, 48, 22], [9, 39, 13, 16, 40, 14], [3, 135, 107, 5, 136, 108], [3, 67, 41, 13, 68, 42], [15, 54, 24, 5, 55, 25], [15, 43, 15, 10, 44, 16], [4, 144, 116, 4, 145, 117], [17, 68, 42], [17, 50, 22, 6, 51, 23], [19, 46, 16, 6, 47, 17], [2, 139, 111, 7, 140, 112], [17, 74, 46], [7, 54, 24, 16, 55, 25], [34, 37, 13], [4, 151, 121, 5, 152, 122], [4, 75, 47, 14, 76, 48], [11, 54, 24, 14, 55, 25], [16, 45, 15, 14, 46, 16], [6, 147, 117, 4, 148, 118], [6, 73, 45, 14, 74, 46], [11, 54, 24, 16, 55, 25], [30, 46, 16, 2, 47, 17], [8, 132, 106, 4, 133, 107], [8, 75, 47, 13, 76, 48], [7, 54, 24, 22, 55, 25], [22, 45, 15, 13, 46, 16], [10, 142, 114, 2, 143, 115], [19, 74, 46, 4, 75, 47], [28, 50, 22, 6, 51, 23], [33, 46, 16, 4, 47, 17], [8, 152, 122, 4, 153, 123], [22, 73, 45, 3, 74, 46], [8, 53, 23, 26, 54, 24], [12, 45, 15, 28, 46, 16], [3, 147, 117, 10, 148, 118], [3, 73, 45, 23, 74, 46], [4, 54, 24, 31, 55, 25], [11, 45, 15, 31, 46, 16], [7, 146, 116, 7, 147, 117], [21, 73, 45, 7, 74, 46], [1, 53, 23, 37, 54, 24], [19, 45, 15, 26, 46, 16], [5, 145, 115, 10, 146, 116], [19, 75, 47, 10, 76, 48], [15, 54, 24, 25, 55, 25], [23, 45, 15, 25, 46, 16], [13, 145, 115, 3, 146, 116], [2, 74, 46, 29, 75, 47], [42, 54, 24, 1, 55, 25], [23, 45, 15, 28, 46, 16], [17, 145, 115], [10, 74, 46, 23, 75, 47], [10, 54, 24, 35, 55, 25], [19, 45, 15, 35, 46, 16], [17, 145, 115, 1, 146, 116], [14, 74, 46, 21, 75, 47], [29, 54, 24, 19, 55, 25], [11, 45, 15, 46, 46, 16], [13, 145, 115, 6, 146, 116], [14, 74, 46, 23, 75, 47], [44, 54, 24, 7, 55, 25], [59, 46, 16, 1, 47, 17], [12, 151, 121, 7, 152, 122], [12, 75, 47, 26, 76, 48], [39, 54, 24, 14, 55, 25], [22, 45, 15, 41, 46, 16], [6, 151, 121, 14, 152, 122], [6, 75, 47, 34, 76, 48], [46, 54, 24, 10, 55, 25], [2, 45, 15, 64, 46, 16], [17, 152, 122, 4, 153, 123], [29, 74, 46, 14, 75, 47], [49, 54, 24, 10, 55, 25], [24, 45, 15, 46, 46, 16], [4, 152, 122, 18, 153, 123], [13, 74, 46, 32, 75, 47], [48, 54, 24, 14, 55, 25], [42, 45, 15, 32, 46, 16], [20, 147, 117, 4, 148, 118], [40, 75, 47, 7, 76, 48], [43, 54, 24, 22, 55, 25], [10, 45, 15, 67, 46, 16], [19, 148, 118, 6, 149, 119], [18, 75, 47, 31, 76, 48], [34, 54, 24, 34, 55, 25], [20, 45, 15, 61, 46, 16]], I = function(v, p) {
|
|
3862
3857
|
var _ = {};
|
|
3863
3858
|
return _.totalCount = v, _.dataCount = p, _;
|
|
3864
3859
|
}, A = { getRSBlocks: function(v, p) {
|
|
3865
3860
|
var _ = function(me, ne) {
|
|
3866
3861
|
switch (ne) {
|
|
3867
3862
|
case K.L:
|
|
3868
|
-
return
|
|
3863
|
+
return j[4 * (me - 1) + 0];
|
|
3869
3864
|
case K.M:
|
|
3870
|
-
return
|
|
3865
|
+
return j[4 * (me - 1) + 1];
|
|
3871
3866
|
case K.Q:
|
|
3872
|
-
return
|
|
3867
|
+
return j[4 * (me - 1) + 2];
|
|
3873
3868
|
case K.H:
|
|
3874
|
-
return
|
|
3869
|
+
return j[4 * (me - 1) + 3];
|
|
3875
3870
|
default:
|
|
3876
3871
|
return;
|
|
3877
3872
|
}
|
|
@@ -3882,22 +3877,22 @@ function L_() {
|
|
|
3882
3877
|
} };
|
|
3883
3878
|
return A;
|
|
3884
3879
|
}(), ae = function() {
|
|
3885
|
-
var
|
|
3886
|
-
return
|
|
3880
|
+
var j = [], I = 0, A = { getBuffer: function() {
|
|
3881
|
+
return j;
|
|
3887
3882
|
}, getAt: function(v) {
|
|
3888
3883
|
var p = Math.floor(v / 8);
|
|
3889
|
-
return (
|
|
3884
|
+
return (j[p] >>> 7 - v % 8 & 1) == 1;
|
|
3890
3885
|
}, put: function(v, p) {
|
|
3891
3886
|
for (var _ = 0; _ < p; _ += 1) A.putBit((v >>> p - _ - 1 & 1) == 1);
|
|
3892
3887
|
}, getLengthInBits: function() {
|
|
3893
3888
|
return I;
|
|
3894
3889
|
}, putBit: function(v) {
|
|
3895
3890
|
var p = Math.floor(I / 8);
|
|
3896
|
-
|
|
3891
|
+
j.length <= p && j.push(0), v && (j[p] |= 128 >>> I % 8), I += 1;
|
|
3897
3892
|
} };
|
|
3898
3893
|
return A;
|
|
3899
|
-
}, te = function(
|
|
3900
|
-
var I =
|
|
3894
|
+
}, te = function(j) {
|
|
3895
|
+
var I = j, A = { getMode: function() {
|
|
3901
3896
|
return 1;
|
|
3902
3897
|
}, getLength: function(_) {
|
|
3903
3898
|
return I.length;
|
|
@@ -3912,8 +3907,8 @@ function L_() {
|
|
|
3912
3907
|
throw "illegal char :" + _;
|
|
3913
3908
|
};
|
|
3914
3909
|
return A;
|
|
3915
|
-
}, X = function(
|
|
3916
|
-
var I =
|
|
3910
|
+
}, X = function(j) {
|
|
3911
|
+
var I = j, A = { getMode: function() {
|
|
3917
3912
|
return 2;
|
|
3918
3913
|
}, getLength: function(p) {
|
|
3919
3914
|
return I.length;
|
|
@@ -3947,8 +3942,8 @@ function L_() {
|
|
|
3947
3942
|
}
|
|
3948
3943
|
};
|
|
3949
3944
|
return A;
|
|
3950
|
-
}, ce = function(
|
|
3951
|
-
var I = L.stringToBytes(
|
|
3945
|
+
}, ce = function(j) {
|
|
3946
|
+
var I = L.stringToBytes(j);
|
|
3952
3947
|
return { getMode: function() {
|
|
3953
3948
|
return 4;
|
|
3954
3949
|
}, getLength: function(A) {
|
|
@@ -3956,14 +3951,14 @@ function L_() {
|
|
|
3956
3951
|
}, write: function(A) {
|
|
3957
3952
|
for (var v = 0; v < I.length; v += 1) A.put(I[v], 8);
|
|
3958
3953
|
} };
|
|
3959
|
-
}, he = function(
|
|
3954
|
+
}, he = function(j) {
|
|
3960
3955
|
var I = L.stringToBytesFuncs.SJIS;
|
|
3961
3956
|
if (!I) throw "sjis not supported.";
|
|
3962
3957
|
(function() {
|
|
3963
3958
|
var p = I("友");
|
|
3964
3959
|
if (p.length != 2 || (p[0] << 8 | p[1]) != 38726) throw "sjis not supported.";
|
|
3965
3960
|
})();
|
|
3966
|
-
var A = I(
|
|
3961
|
+
var A = I(j), v = { getMode: function() {
|
|
3967
3962
|
return 8;
|
|
3968
3963
|
}, getLength: function(p) {
|
|
3969
3964
|
return ~~(A.length / 2);
|
|
@@ -3981,8 +3976,8 @@ function L_() {
|
|
|
3981
3976
|
} };
|
|
3982
3977
|
return v;
|
|
3983
3978
|
}, re = function() {
|
|
3984
|
-
var
|
|
3985
|
-
|
|
3979
|
+
var j = [], I = { writeByte: function(A) {
|
|
3980
|
+
j.push(255 & A);
|
|
3986
3981
|
}, writeShort: function(A) {
|
|
3987
3982
|
I.writeByte(A), I.writeByte(A >>> 8);
|
|
3988
3983
|
}, writeBytes: function(A, v, p) {
|
|
@@ -3991,16 +3986,16 @@ function L_() {
|
|
|
3991
3986
|
}, writeString: function(A) {
|
|
3992
3987
|
for (var v = 0; v < A.length; v += 1) I.writeByte(A.charCodeAt(v));
|
|
3993
3988
|
}, toByteArray: function() {
|
|
3994
|
-
return
|
|
3989
|
+
return j;
|
|
3995
3990
|
}, toString: function() {
|
|
3996
3991
|
var A = "";
|
|
3997
3992
|
A += "[";
|
|
3998
|
-
for (var v = 0; v <
|
|
3993
|
+
for (var v = 0; v < j.length; v += 1) v > 0 && (A += ","), A += j[v];
|
|
3999
3994
|
return A + "]";
|
|
4000
3995
|
} };
|
|
4001
3996
|
return I;
|
|
4002
|
-
}, Se = function(
|
|
4003
|
-
var I =
|
|
3997
|
+
}, Se = function(j) {
|
|
3998
|
+
var I = j, A = 0, v = 0, p = 0, _ = { read: function() {
|
|
4004
3999
|
for (; p < 8; ) {
|
|
4005
4000
|
if (A >= I.length) {
|
|
4006
4001
|
if (p == 0) return -1;
|
|
@@ -4021,18 +4016,18 @@ function L_() {
|
|
|
4021
4016
|
throw "c:" + m;
|
|
4022
4017
|
};
|
|
4023
4018
|
return _;
|
|
4024
|
-
}, xe = function(
|
|
4019
|
+
}, xe = function(j, I, A) {
|
|
4025
4020
|
for (var v = function(V, ue) {
|
|
4026
|
-
var de = V, me = ue, ne = new Array(V * ue), le = { setPixel: function(
|
|
4027
|
-
ne[W * de +
|
|
4028
|
-
}, write: function(
|
|
4029
|
-
|
|
4021
|
+
var de = V, me = ue, ne = new Array(V * ue), le = { setPixel: function(B, W, F) {
|
|
4022
|
+
ne[W * de + B] = F;
|
|
4023
|
+
}, write: function(B) {
|
|
4024
|
+
B.writeString("GIF87a"), B.writeShort(de), B.writeShort(me), B.writeByte(128), B.writeByte(0), B.writeByte(0), B.writeByte(0), B.writeByte(0), B.writeByte(0), B.writeByte(255), B.writeByte(255), B.writeByte(255), B.writeString(","), B.writeShort(0), B.writeShort(0), B.writeShort(de), B.writeShort(me), B.writeByte(0);
|
|
4030
4025
|
var W = Ce(2);
|
|
4031
|
-
|
|
4032
|
-
for (var F = 0; W.length - F > 255; )
|
|
4033
|
-
|
|
4034
|
-
} }, Ce = function(
|
|
4035
|
-
for (var W = 1 <<
|
|
4026
|
+
B.writeByte(2);
|
|
4027
|
+
for (var F = 0; W.length - F > 255; ) B.writeByte(255), B.writeBytes(W, F, 255), F += 255;
|
|
4028
|
+
B.writeByte(W.length - F), B.writeBytes(W, F, W.length - F), B.writeByte(0), B.writeString(";");
|
|
4029
|
+
} }, Ce = function(B) {
|
|
4030
|
+
for (var W = 1 << B, F = 1 + (1 << B), Z = B + 1, se = we(), Ae = 0; Ae < W; Ae += 1) se.add(String.fromCharCode(Ae));
|
|
4036
4031
|
se.add(String.fromCharCode(W)), se.add(String.fromCharCode(F));
|
|
4037
4032
|
var u, h, w, N = re(), U = (u = N, h = 0, w = 0, { write: function(Te, be) {
|
|
4038
4033
|
if (Te >>> be) throw "length over";
|
|
@@ -4049,20 +4044,20 @@ function L_() {
|
|
|
4049
4044
|
}
|
|
4050
4045
|
return U.write(se.indexOf(_e), Z), U.write(F, Z), U.flush(), N.toByteArray();
|
|
4051
4046
|
}, we = function() {
|
|
4052
|
-
var
|
|
4047
|
+
var B = {}, W = 0, F = { add: function(Z) {
|
|
4053
4048
|
if (F.contains(Z)) throw "dup key:" + Z;
|
|
4054
|
-
|
|
4049
|
+
B[Z] = W, W += 1;
|
|
4055
4050
|
}, size: function() {
|
|
4056
4051
|
return W;
|
|
4057
4052
|
}, indexOf: function(Z) {
|
|
4058
|
-
return
|
|
4053
|
+
return B[Z];
|
|
4059
4054
|
}, contains: function(Z) {
|
|
4060
|
-
return
|
|
4055
|
+
return B[Z] !== void 0;
|
|
4061
4056
|
} };
|
|
4062
4057
|
return F;
|
|
4063
4058
|
};
|
|
4064
4059
|
return le;
|
|
4065
|
-
}(
|
|
4060
|
+
}(j, I), p = 0; p < I; p += 1) for (var _ = 0; _ < j; _ += 1) v.setPixel(_, p, A(_, p));
|
|
4066
4061
|
var d = re();
|
|
4067
4062
|
v.write(d);
|
|
4068
4063
|
for (var m = function() {
|
|
@@ -4081,7 +4076,7 @@ function L_() {
|
|
|
4081
4076
|
return ne.writeByte = function(we) {
|
|
4082
4077
|
for (V = V << 8 | 255 & we, ue += 8, de += 1; ue >= 6; ) le(V >>> ue - 6), ue -= 6;
|
|
4083
4078
|
}, ne.flush = function() {
|
|
4084
|
-
if (ue > 0 && (le(V << 6 - ue), V = 0, ue = 0), de % 3 != 0) for (var we = 3 - de % 3,
|
|
4079
|
+
if (ue > 0 && (le(V << 6 - ue), V = 0, ue = 0), de % 3 != 0) for (var we = 3 - de % 3, B = 0; B < we; B += 1) me += "=";
|
|
4085
4080
|
}, ne.toString = function() {
|
|
4086
4081
|
return me;
|
|
4087
4082
|
}, ne;
|
|
@@ -4350,10 +4345,10 @@ function L_() {
|
|
|
4350
4345
|
if (await this.loadImage(), !this._image) return;
|
|
4351
4346
|
const { imageOptions: q, qrOptions: V } = this._options, ue = q.imageSize * C[V.errorCorrectionLevel], de = Math.floor(ue * p * p);
|
|
4352
4347
|
D = function({ originalHeight: me, originalWidth: ne, maxHiddenDots: le, maxHiddenAxisDots: Ce, dotSize: we }) {
|
|
4353
|
-
const
|
|
4348
|
+
const B = { x: 0, y: 0 }, W = { x: 0, y: 0 };
|
|
4354
4349
|
if (me <= 0 || ne <= 0 || le <= 0 || we <= 0) return { height: 0, width: 0, hideYDots: 0, hideXDots: 0 };
|
|
4355
4350
|
const F = me / ne;
|
|
4356
|
-
return
|
|
4351
|
+
return B.x = Math.floor(Math.sqrt(le / F)), B.x <= 0 && (B.x = 1), Ce && Ce < B.x && (B.x = Ce), B.x % 2 == 0 && B.x--, W.x = B.x * we, B.y = 1 + 2 * Math.ceil((B.x * F - 1) / 2), W.y = Math.round(W.x * F), (B.y * B.x > le || Ce && Ce < B.y) && (Ce && Ce < B.y ? (B.y = Ce, B.y % 2 == 0 && B.x--) : B.y -= 2, W.y = B.y * we, B.x = 1 + 2 * Math.ceil((B.y / F - 1) / 2), W.x = Math.round(W.y / F)), { height: W.y, width: W.x, hideYDots: B.y, hideXDots: B.x };
|
|
4357
4352
|
}({ originalWidth: this._image.width, originalHeight: this._image.height, maxHiddenDots: de, maxHiddenAxisDots: p - 14, dotSize: m });
|
|
4358
4353
|
}
|
|
4359
4354
|
this.drawBackground(), this.drawDots((q, V) => {
|
|
@@ -4382,14 +4377,14 @@ function L_() {
|
|
|
4382
4377
|
this._dotsClipPath = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), this._dotsClipPath.setAttribute("id", `clip-path-dot-color-${this._instanceId}`), this._defs.appendChild(this._dotsClipPath), this._createColor({ options: (p = d.dotsOptions) === null || p === void 0 ? void 0 : p.gradient, color: d.dotsOptions.color, additionalRotation: 0, x: 0, y: 0, height: d.height, width: d.width, name: `dot-color-${this._instanceId}` });
|
|
4383
4378
|
for (let ne = 0; ne < m; ne++) for (let le = 0; le < m; le++) v && !v(ne, le) || !((_ = this._qr) === null || _ === void 0) && _.isDark(ne, le) && (me.draw(ue + le * V, de + ne * V, V, (Ce, we) => !(le + Ce < 0 || ne + we < 0 || le + Ce >= m || ne + we >= m) && !(v && !v(ne + we, le + Ce)) && !!this._qr && this._qr.isDark(ne + we, le + Ce)), me._element && this._dotsClipPath && this._dotsClipPath.appendChild(me._element));
|
|
4384
4379
|
if (d.shape === K) {
|
|
4385
|
-
const ne = this._roundSize((D / V - m) / 2), le = m + 2 * ne, Ce = ue - ne * V, we = de - ne * V,
|
|
4380
|
+
const ne = this._roundSize((D / V - m) / 2), le = m + 2 * ne, Ce = ue - ne * V, we = de - ne * V, B = [], W = this._roundSize(le / 2);
|
|
4386
4381
|
for (let F = 0; F < le; F++) {
|
|
4387
|
-
|
|
4388
|
-
for (let Z = 0; Z < le; Z++) F >= ne - 1 && F <= le - ne && Z >= ne - 1 && Z <= le - ne || Math.sqrt((F - W) * (F - W) + (Z - W) * (Z - W)) > W ?
|
|
4382
|
+
B[F] = [];
|
|
4383
|
+
for (let Z = 0; Z < le; Z++) F >= ne - 1 && F <= le - ne && Z >= ne - 1 && Z <= le - ne || Math.sqrt((F - W) * (F - W) + (Z - W) * (Z - W)) > W ? B[F][Z] = 0 : B[F][Z] = this._qr.isDark(Z - 2 * ne < 0 ? Z : Z >= m ? Z - 2 * ne : Z - ne, F - 2 * ne < 0 ? F : F >= m ? F - 2 * ne : F - ne) ? 1 : 0;
|
|
4389
4384
|
}
|
|
4390
|
-
for (let F = 0; F < le; F++) for (let Z = 0; Z < le; Z++)
|
|
4385
|
+
for (let F = 0; F < le; F++) for (let Z = 0; Z < le; Z++) B[F][Z] && (me.draw(Ce + Z * V, we + F * V, V, (se, Ae) => {
|
|
4391
4386
|
var u;
|
|
4392
|
-
return !!(!((u =
|
|
4387
|
+
return !!(!((u = B[F + Ae]) === null || u === void 0) && u[Z + se]);
|
|
4393
4388
|
}), me._element && this._dotsClipPath && this._dotsClipPath.appendChild(me._element));
|
|
4394
4389
|
}
|
|
4395
4390
|
}
|
|
@@ -4399,10 +4394,10 @@ function L_() {
|
|
|
4399
4394
|
if (!v) throw "Element code is not defined";
|
|
4400
4395
|
const _ = this._qr.getModuleCount(), d = Math.min(p.width, p.height) - 2 * p.margin, m = p.shape === K ? d / Math.sqrt(2) : d, D = this._roundSize(m / _), q = 7 * D, V = 3 * D, ue = this._roundSize((p.width - _ * D) / 2), de = this._roundSize((p.height - _ * D) / 2);
|
|
4401
4396
|
[[0, 0, 0], [1, 0, Math.PI / 2], [0, 1, -Math.PI / 2]].forEach(([me, ne, le]) => {
|
|
4402
|
-
var Ce, we,
|
|
4397
|
+
var Ce, we, B, W, F, Z, se, Ae, u, h, w, N, U, ee;
|
|
4403
4398
|
const _e = ue + me * D * (_ - 7), De = de + ne * D * (_ - 7);
|
|
4404
4399
|
let Te = this._dotsClipPath, be = this._dotsClipPath;
|
|
4405
|
-
if ((!((Ce = p.cornersSquareOptions) === null || Ce === void 0) && Ce.gradient || !((we = p.cornersSquareOptions) === null || we === void 0) && we.color) && (Te = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), Te.setAttribute("id", `clip-path-corners-square-color-${me}-${ne}-${this._instanceId}`), this._defs.appendChild(Te), this._cornersSquareClipPath = this._cornersDotClipPath = be = Te, this._createColor({ options: (
|
|
4400
|
+
if ((!((Ce = p.cornersSquareOptions) === null || Ce === void 0) && Ce.gradient || !((we = p.cornersSquareOptions) === null || we === void 0) && we.color) && (Te = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), Te.setAttribute("id", `clip-path-corners-square-color-${me}-${ne}-${this._instanceId}`), this._defs.appendChild(Te), this._cornersSquareClipPath = this._cornersDotClipPath = be = Te, this._createColor({ options: (B = p.cornersSquareOptions) === null || B === void 0 ? void 0 : B.gradient, color: (W = p.cornersSquareOptions) === null || W === void 0 ? void 0 : W.color, additionalRotation: le, x: _e, y: De, height: q, width: q, name: `corners-square-color-${me}-${ne}-${this._instanceId}` })), ((F = p.cornersSquareOptions) === null || F === void 0 ? void 0 : F.type) && k.includes(p.cornersSquareOptions.type)) {
|
|
4406
4401
|
const Ee = new T({ svg: this._element, type: p.cornersSquareOptions.type, window: this._window });
|
|
4407
4402
|
Ee.draw(_e, De, q, le), Ee._element && Te && Te.appendChild(Ee._element);
|
|
4408
4403
|
} else {
|
|
@@ -4466,8 +4461,8 @@ function L_() {
|
|
|
4466
4461
|
if (v.type === "radial") me = this._window.document.createElementNS("http://www.w3.org/2000/svg", "radialGradient"), me.setAttribute("id", V), me.setAttribute("gradientUnits", "userSpaceOnUse"), me.setAttribute("fx", String(d + q / 2)), me.setAttribute("fy", String(m + D / 2)), me.setAttribute("cx", String(d + q / 2)), me.setAttribute("cy", String(m + D / 2)), me.setAttribute("r", String(ue / 2));
|
|
4467
4462
|
else {
|
|
4468
4463
|
const ne = ((v.rotation || 0) + _) % (2 * Math.PI), le = (ne + 2 * Math.PI) % (2 * Math.PI);
|
|
4469
|
-
let Ce = d + q / 2, we = m + D / 2,
|
|
4470
|
-
le >= 0 && le <= 0.25 * Math.PI || le > 1.75 * Math.PI && le <= 2 * Math.PI ? (Ce -= q / 2, we -= D / 2 * Math.tan(ne),
|
|
4464
|
+
let Ce = d + q / 2, we = m + D / 2, B = d + q / 2, W = m + D / 2;
|
|
4465
|
+
le >= 0 && le <= 0.25 * Math.PI || le > 1.75 * Math.PI && le <= 2 * Math.PI ? (Ce -= q / 2, we -= D / 2 * Math.tan(ne), B += q / 2, W += D / 2 * Math.tan(ne)) : le > 0.25 * Math.PI && le <= 0.75 * Math.PI ? (we -= D / 2, Ce -= q / 2 / Math.tan(ne), W += D / 2, B += q / 2 / Math.tan(ne)) : le > 0.75 * Math.PI && le <= 1.25 * Math.PI ? (Ce += q / 2, we += D / 2 * Math.tan(ne), B -= q / 2, W -= D / 2 * Math.tan(ne)) : le > 1.25 * Math.PI && le <= 1.75 * Math.PI && (we += D / 2, Ce += q / 2 / Math.tan(ne), W -= D / 2, B -= q / 2 / Math.tan(ne)), me = this._window.document.createElementNS("http://www.w3.org/2000/svg", "linearGradient"), me.setAttribute("id", V), me.setAttribute("gradientUnits", "userSpaceOnUse"), me.setAttribute("x1", String(Math.round(Ce))), me.setAttribute("y1", String(Math.round(we))), me.setAttribute("x2", String(Math.round(B))), me.setAttribute("y2", String(Math.round(W)));
|
|
4471
4466
|
}
|
|
4472
4467
|
v.colorStops.forEach(({ offset: ne, color: le }) => {
|
|
4473
4468
|
const Ce = this._window.document.createElementNS("http://www.w3.org/2000/svg", "stop");
|
|
@@ -4498,7 +4493,7 @@ function L_() {
|
|
|
4498
4493
|
if (!v) throw new Error(`Extension "${A}" is not supported`);
|
|
4499
4494
|
return v;
|
|
4500
4495
|
}
|
|
4501
|
-
class
|
|
4496
|
+
class j {
|
|
4502
4497
|
constructor(v) {
|
|
4503
4498
|
v != null && v.jsdom ? this._window = new v.jsdom("", { resources: "usable" }).window : this._window = window, this._options = v ? he(c(X, v)) : X, this.update();
|
|
4504
4499
|
}
|
|
@@ -4539,7 +4534,7 @@ function L_() {
|
|
|
4539
4534
|
return v.toLowerCase() === "svg" ? (this._svg && this._svgDrawingPromise || this._setupSvg(), await this._svgDrawingPromise, this._svg) : ((this._domCanvas || this._nodeCanvas) && this._canvasDrawingPromise || this._setupCanvas(), await this._canvasDrawingPromise, this._domCanvas || this._nodeCanvas);
|
|
4540
4535
|
}
|
|
4541
4536
|
update(v) {
|
|
4542
|
-
|
|
4537
|
+
j._clearContainer(this._container), this._options = v ? he(c(this._options, v)) : this._options, this._options.data && (this._qr = Se()(this._options.qrOptions.typeNumber, this._options.qrOptions.errorCorrectionLevel), this._qr.addData(this._options.data, this._options.qrOptions.mode || function(p) {
|
|
4543
4538
|
switch (!0) {
|
|
4544
4539
|
case /^[0-9]*$/.test(p):
|
|
4545
4540
|
return "Numeric";
|
|
@@ -4596,7 +4591,7 @@ ${new this._window.XMLSerializer().serializeToString(p)}`;
|
|
|
4596
4591
|
} else b(d.toDataURL(xe(p)), `${_}.${p}`);
|
|
4597
4592
|
}
|
|
4598
4593
|
}
|
|
4599
|
-
const I =
|
|
4594
|
+
const I = j;
|
|
4600
4595
|
})(), g.default;
|
|
4601
4596
|
})());
|
|
4602
4597
|
}(ml)), ml.exports;
|
|
@@ -4693,7 +4688,7 @@ async function O4(i, t, r) {
|
|
|
4693
4688
|
return s.json();
|
|
4694
4689
|
}).then((s) => s);
|
|
4695
4690
|
}
|
|
4696
|
-
async function
|
|
4691
|
+
async function B_(i, t) {
|
|
4697
4692
|
return fetch(`${i}/${t.id}`, {
|
|
4698
4693
|
method: "PUT",
|
|
4699
4694
|
headers: await zi(),
|
|
@@ -4704,7 +4699,7 @@ async function j_(i, t) {
|
|
|
4704
4699
|
return r;
|
|
4705
4700
|
}).then((r) => r.status == 204 ? t : r.json()).then((r) => r);
|
|
4706
4701
|
}
|
|
4707
|
-
function
|
|
4702
|
+
function j_(i, t, r) {
|
|
4708
4703
|
const s = bn.c(13), {
|
|
4709
4704
|
baseUrl: l
|
|
4710
4705
|
} = si();
|
|
@@ -4778,7 +4773,7 @@ function Ad(i, t) {
|
|
|
4778
4773
|
let g;
|
|
4779
4774
|
r[0] !== t ? (g = [...t.map(G_)], r[0] = t, r[1] = g) : g = r[1];
|
|
4780
4775
|
let f;
|
|
4781
|
-
r[2] !== i || r[3] !== s ? (f = (b) =>
|
|
4776
|
+
r[2] !== i || r[3] !== s ? (f = (b) => B_(`${s}${i}`, b), r[2] = i, r[3] = s, r[4] = f) : f = r[4];
|
|
4782
4777
|
let c;
|
|
4783
4778
|
return r[5] !== l || r[6] !== t || r[7] !== g || r[8] !== f ? (c = {
|
|
4784
4779
|
mutationKey: g,
|
|
@@ -4828,55 +4823,55 @@ function J_() {
|
|
|
4828
4823
|
(function(r, s) {
|
|
4829
4824
|
i.exports = s();
|
|
4830
4825
|
})(Q_, function() {
|
|
4831
|
-
var r = 1e3, s = 6e4, l = 36e5, g = "millisecond", f = "second", c = "minute", b = "hour", C = "day", O = "week", L = "month", k = "quarter", T = "year", M = "date", E = "Invalid Date", P = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, K = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, J = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(
|
|
4832
|
-
var I = ["th", "st", "nd", "rd"], A =
|
|
4833
|
-
return "[" +
|
|
4834
|
-
} }, Q = function(
|
|
4835
|
-
var v = String(
|
|
4836
|
-
return !v || v.length >= I ?
|
|
4837
|
-
}, oe = { s: Q, z: function(
|
|
4838
|
-
var I = -
|
|
4826
|
+
var r = 1e3, s = 6e4, l = 36e5, g = "millisecond", f = "second", c = "minute", b = "hour", C = "day", O = "week", L = "month", k = "quarter", T = "year", M = "date", E = "Invalid Date", P = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, K = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, J = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(j) {
|
|
4827
|
+
var I = ["th", "st", "nd", "rd"], A = j % 100;
|
|
4828
|
+
return "[" + j + (I[(A - 20) % 10] || I[A] || I[0]) + "]";
|
|
4829
|
+
} }, Q = function(j, I, A) {
|
|
4830
|
+
var v = String(j);
|
|
4831
|
+
return !v || v.length >= I ? j : "" + Array(I + 1 - v.length).join(A) + j;
|
|
4832
|
+
}, oe = { s: Q, z: function(j) {
|
|
4833
|
+
var I = -j.utcOffset(), A = Math.abs(I), v = Math.floor(A / 60), p = A % 60;
|
|
4839
4834
|
return (I <= 0 ? "+" : "-") + Q(v, 2, "0") + ":" + Q(p, 2, "0");
|
|
4840
|
-
}, m: function
|
|
4841
|
-
if (I.date() < A.date()) return -
|
|
4835
|
+
}, m: function j(I, A) {
|
|
4836
|
+
if (I.date() < A.date()) return -j(A, I);
|
|
4842
4837
|
var v = 12 * (A.year() - I.year()) + (A.month() - I.month()), p = I.clone().add(v, L), _ = A - p < 0, d = I.clone().add(v + (_ ? -1 : 1), L);
|
|
4843
4838
|
return +(-(v + (A - p) / (_ ? p - d : d - p)) || 0);
|
|
4844
|
-
}, a: function(
|
|
4845
|
-
return
|
|
4846
|
-
}, p: function(
|
|
4847
|
-
return { M: L, y: T, w: O, d: C, D: M, h: b, m: c, s: f, ms: g, Q: k }[
|
|
4848
|
-
}, u: function(
|
|
4849
|
-
return
|
|
4839
|
+
}, a: function(j) {
|
|
4840
|
+
return j < 0 ? Math.ceil(j) || 0 : Math.floor(j);
|
|
4841
|
+
}, p: function(j) {
|
|
4842
|
+
return { M: L, y: T, w: O, d: C, D: M, h: b, m: c, s: f, ms: g, Q: k }[j] || String(j || "").toLowerCase().replace(/s$/, "");
|
|
4843
|
+
}, u: function(j) {
|
|
4844
|
+
return j === void 0;
|
|
4850
4845
|
} }, Y = "en", ae = {};
|
|
4851
4846
|
ae[Y] = J;
|
|
4852
|
-
var te = "$isDayjsObject", X = function(
|
|
4853
|
-
return
|
|
4854
|
-
}, ce = function
|
|
4847
|
+
var te = "$isDayjsObject", X = function(j) {
|
|
4848
|
+
return j instanceof Se || !(!j || !j[te]);
|
|
4849
|
+
}, ce = function j(I, A, v) {
|
|
4855
4850
|
var p;
|
|
4856
4851
|
if (!I) return Y;
|
|
4857
4852
|
if (typeof I == "string") {
|
|
4858
4853
|
var _ = I.toLowerCase();
|
|
4859
4854
|
ae[_] && (p = _), A && (ae[_] = A, p = _);
|
|
4860
4855
|
var d = I.split("-");
|
|
4861
|
-
if (!p && d.length > 1) return
|
|
4856
|
+
if (!p && d.length > 1) return j(d[0]);
|
|
4862
4857
|
} else {
|
|
4863
4858
|
var m = I.name;
|
|
4864
4859
|
ae[m] = I, p = m;
|
|
4865
4860
|
}
|
|
4866
4861
|
return !v && p && (Y = p), p || !v && Y;
|
|
4867
|
-
}, he = function(
|
|
4868
|
-
if (X(
|
|
4862
|
+
}, he = function(j, I) {
|
|
4863
|
+
if (X(j)) return j.clone();
|
|
4869
4864
|
var A = typeof I == "object" ? I : {};
|
|
4870
|
-
return A.date =
|
|
4865
|
+
return A.date = j, A.args = arguments, new Se(A);
|
|
4871
4866
|
}, re = oe;
|
|
4872
|
-
re.l = ce, re.i = X, re.w = function(
|
|
4873
|
-
return he(
|
|
4867
|
+
re.l = ce, re.i = X, re.w = function(j, I) {
|
|
4868
|
+
return he(j, { locale: I.$L, utc: I.$u, x: I.$x, $offset: I.$offset });
|
|
4874
4869
|
};
|
|
4875
4870
|
var Se = function() {
|
|
4876
|
-
function
|
|
4871
|
+
function j(A) {
|
|
4877
4872
|
this.$L = ce(A.locale, null, !0), this.parse(A), this.$x = this.$x || A.x || {}, this[te] = !0;
|
|
4878
4873
|
}
|
|
4879
|
-
var I =
|
|
4874
|
+
var I = j.prototype;
|
|
4880
4875
|
return I.parse = function(A) {
|
|
4881
4876
|
this.$d = function(v) {
|
|
4882
4877
|
var p = v.date, _ = v.utc;
|
|
@@ -4970,17 +4965,17 @@ function J_() {
|
|
|
4970
4965
|
}, I.format = function(A) {
|
|
4971
4966
|
var v = this, p = this.$locale();
|
|
4972
4967
|
if (!this.isValid()) return p.invalidDate || E;
|
|
4973
|
-
var _ = A || "YYYY-MM-DDTHH:mm:ssZ", d = re.z(this), m = this.$H, D = this.$m, q = this.$M, V = p.weekdays, ue = p.months, de = p.meridiem, me = function(Ce, we,
|
|
4974
|
-
return Ce && (Ce[we] || Ce(v, _)) ||
|
|
4968
|
+
var _ = A || "YYYY-MM-DDTHH:mm:ssZ", d = re.z(this), m = this.$H, D = this.$m, q = this.$M, V = p.weekdays, ue = p.months, de = p.meridiem, me = function(Ce, we, B, W) {
|
|
4969
|
+
return Ce && (Ce[we] || Ce(v, _)) || B[we].slice(0, W);
|
|
4975
4970
|
}, ne = function(Ce) {
|
|
4976
4971
|
return re.s(m % 12 || 12, Ce, "0");
|
|
4977
|
-
}, le = de || function(Ce, we,
|
|
4972
|
+
}, le = de || function(Ce, we, B) {
|
|
4978
4973
|
var W = Ce < 12 ? "AM" : "PM";
|
|
4979
|
-
return
|
|
4974
|
+
return B ? W.toLowerCase() : W;
|
|
4980
4975
|
};
|
|
4981
4976
|
return _.replace(K, function(Ce, we) {
|
|
4982
|
-
return we || function(
|
|
4983
|
-
switch (
|
|
4977
|
+
return we || function(B) {
|
|
4978
|
+
switch (B) {
|
|
4984
4979
|
case "YY":
|
|
4985
4980
|
return String(v.$y).slice(-2);
|
|
4986
4981
|
case "YYYY":
|
|
@@ -5086,16 +5081,16 @@ function J_() {
|
|
|
5086
5081
|
return this.$d.toISOString();
|
|
5087
5082
|
}, I.toString = function() {
|
|
5088
5083
|
return this.$d.toUTCString();
|
|
5089
|
-
},
|
|
5084
|
+
}, j;
|
|
5090
5085
|
}(), xe = Se.prototype;
|
|
5091
|
-
return he.prototype = xe, [["$ms", g], ["$s", f], ["$m", c], ["$H", b], ["$W", C], ["$M", L], ["$y", T], ["$D", M]].forEach(function(
|
|
5092
|
-
xe[
|
|
5093
|
-
return this.$g(I,
|
|
5086
|
+
return he.prototype = xe, [["$ms", g], ["$s", f], ["$m", c], ["$H", b], ["$W", C], ["$M", L], ["$y", T], ["$D", M]].forEach(function(j) {
|
|
5087
|
+
xe[j[1]] = function(I) {
|
|
5088
|
+
return this.$g(I, j[0], j[1]);
|
|
5094
5089
|
};
|
|
5095
|
-
}), he.extend = function(
|
|
5096
|
-
return
|
|
5097
|
-
}, he.locale = ce, he.isDayjs = X, he.unix = function(
|
|
5098
|
-
return he(1e3 *
|
|
5090
|
+
}), he.extend = function(j, I) {
|
|
5091
|
+
return j.$i || (j(I, Se, he), j.$i = !0), he;
|
|
5092
|
+
}, he.locale = ce, he.isDayjs = X, he.unix = function(j) {
|
|
5093
|
+
return he(1e3 * j);
|
|
5099
5094
|
}, he.en = ae[Y], he.Ls = ae, he.p = {}, he;
|
|
5100
5095
|
});
|
|
5101
5096
|
}(Fs)), Fs.exports;
|
|
@@ -5693,7 +5688,7 @@ const Eb = {
|
|
|
5693
5688
|
__onDayMouseEnter: re,
|
|
5694
5689
|
__preventFocus: Se,
|
|
5695
5690
|
__stopPropagation: xe,
|
|
5696
|
-
withCellSpacing:
|
|
5691
|
+
withCellSpacing: j,
|
|
5697
5692
|
size: I,
|
|
5698
5693
|
highlightToday: A,
|
|
5699
5694
|
withWeekNumbers: v,
|
|
@@ -5728,12 +5723,12 @@ const Eb = {
|
|
|
5728
5723
|
props: r
|
|
5729
5724
|
}), ue = m.map((de, me) => {
|
|
5730
5725
|
const ne = de.map((le, Ce) => {
|
|
5731
|
-
const we = !Le(le).isSame(Le(T), "month"),
|
|
5726
|
+
const we = !Le(le).isSame(Le(T), "month"), B = (ae == null ? void 0 : ae(le)) || Le(le).locale(O || d.locale).format("D MMMM YYYY"), W = E == null ? void 0 : E(le), F = Le(le).isSame(D, "date");
|
|
5732
5727
|
return /* @__PURE__ */ R.jsx(
|
|
5733
5728
|
"td",
|
|
5734
5729
|
{
|
|
5735
5730
|
..._("monthCell"),
|
|
5736
|
-
"data-with-spacing":
|
|
5731
|
+
"data-with-spacing": j || void 0,
|
|
5737
5732
|
children: /* @__PURE__ */ R.jsx(
|
|
5738
5733
|
Tl,
|
|
5739
5734
|
{
|
|
@@ -5749,7 +5744,7 @@ const Eb = {
|
|
|
5749
5744
|
weekend: d.getWeekendDays(M).includes(le.getDay()),
|
|
5750
5745
|
outside: we,
|
|
5751
5746
|
hidden: oe ? we : !1,
|
|
5752
|
-
"aria-label":
|
|
5747
|
+
"aria-label": B,
|
|
5753
5748
|
static: te,
|
|
5754
5749
|
disabled: (P == null ? void 0 : P(le)) || !Ld(le, J) || !Md(le, K),
|
|
5755
5750
|
ref: (Z) => X == null ? void 0 : X(me, Ce, Z),
|
|
@@ -5923,8 +5918,8 @@ const $b = {
|
|
|
5923
5918
|
unstyled: c,
|
|
5924
5919
|
vars: b,
|
|
5925
5920
|
rootSelector: "yearsList"
|
|
5926
|
-
}), he = xn(), re = Pd(C), Se = Ib(re, k, T, M), xe = re.map((
|
|
5927
|
-
const A =
|
|
5921
|
+
}), he = xn(), re = Pd(C), Se = Ib(re, k, T, M), xe = re.map((j, I) => {
|
|
5922
|
+
const A = j.map((v, p) => {
|
|
5928
5923
|
const _ = M == null ? void 0 : M(v), d = Le(v).isSame(Se, "year");
|
|
5929
5924
|
return /* @__PURE__ */ R.jsx(
|
|
5930
5925
|
"td",
|
|
@@ -5971,14 +5966,14 @@ const $b = {
|
|
|
5971
5966
|
});
|
|
5972
5967
|
sa.classes = Nd;
|
|
5973
5968
|
sa.displayName = "@mantine/dates/YearsList";
|
|
5974
|
-
function
|
|
5969
|
+
function Bd(i, t, r) {
|
|
5975
5970
|
return !t && !r ? !1 : !!(t && Le(i).isBefore(t, "month") || r && Le(i).isAfter(r, "month"));
|
|
5976
5971
|
}
|
|
5977
5972
|
function Pb(i, t, r, s) {
|
|
5978
5973
|
const l = i.flat().filter(
|
|
5979
5974
|
(c) => {
|
|
5980
5975
|
var b;
|
|
5981
|
-
return !
|
|
5976
|
+
return !Bd(c, t, r) && !((b = s == null ? void 0 : s(c)) != null && b.disabled);
|
|
5982
5977
|
}
|
|
5983
5978
|
), g = l.find((c) => {
|
|
5984
5979
|
var b;
|
|
@@ -5997,12 +5992,12 @@ function Nb(i) {
|
|
|
5997
5992
|
r[l].push(Le(t).add(s, "months").toDate()), s += 1;
|
|
5998
5993
|
return r;
|
|
5999
5994
|
}
|
|
6000
|
-
var
|
|
6001
|
-
const
|
|
5995
|
+
var jd = { monthsList: "m_2a6c32d", monthsListCell: "m_fe27622f" };
|
|
5996
|
+
const Bb = {
|
|
6002
5997
|
monthsListFormat: "MMM",
|
|
6003
5998
|
withCellSpacing: !0
|
|
6004
5999
|
}, aa = It((i, t) => {
|
|
6005
|
-
const r = Ft("MonthsList",
|
|
6000
|
+
const r = Ft("MonthsList", Bb, i), {
|
|
6006
6001
|
classNames: s,
|
|
6007
6002
|
className: l,
|
|
6008
6003
|
style: g,
|
|
@@ -6027,7 +6022,7 @@ const jb = {
|
|
|
6027
6022
|
...X
|
|
6028
6023
|
} = r, ce = Ir({
|
|
6029
6024
|
name: C || "MonthsList",
|
|
6030
|
-
classes:
|
|
6025
|
+
classes: jd,
|
|
6031
6026
|
props: r,
|
|
6032
6027
|
className: l,
|
|
6033
6028
|
style: g,
|
|
@@ -6036,8 +6031,8 @@ const jb = {
|
|
|
6036
6031
|
unstyled: c,
|
|
6037
6032
|
vars: b,
|
|
6038
6033
|
rootSelector: "monthsList"
|
|
6039
|
-
}), he = xn(), re = Nb(O), Se = Pb(re, T, M, E), xe = re.map((
|
|
6040
|
-
const A =
|
|
6034
|
+
}), he = xn(), re = Nb(O), Se = Pb(re, T, M, E), xe = re.map((j, I) => {
|
|
6035
|
+
const A = j.map((v, p) => {
|
|
6041
6036
|
const _ = E == null ? void 0 : E(v), d = Le(v).isSame(Se, "month");
|
|
6042
6037
|
return /* @__PURE__ */ R.jsx(
|
|
6043
6038
|
"td",
|
|
@@ -6052,7 +6047,7 @@ const jb = {
|
|
|
6052
6047
|
unstyled: c,
|
|
6053
6048
|
__staticSelector: C || "MonthsList",
|
|
6054
6049
|
"data-mantine-stop-propagation": Y || void 0,
|
|
6055
|
-
disabled:
|
|
6050
|
+
disabled: Bd(v, T, M),
|
|
6056
6051
|
ref: (m) => P == null ? void 0 : P(I, p, m),
|
|
6057
6052
|
..._,
|
|
6058
6053
|
onKeyDown: (m) => {
|
|
@@ -6083,10 +6078,10 @@ const jb = {
|
|
|
6083
6078
|
});
|
|
6084
6079
|
return /* @__PURE__ */ R.jsx(zt, { component: "table", ref: t, size: te, ...ce("monthsList"), ...X, children: /* @__PURE__ */ R.jsx("tbody", { children: xe }) });
|
|
6085
6080
|
});
|
|
6086
|
-
aa.classes =
|
|
6081
|
+
aa.classes = jd;
|
|
6087
6082
|
aa.displayName = "@mantine/dates/MonthsList";
|
|
6088
6083
|
var Ud = { calendarHeader: "m_730a79ed", calendarHeaderLevel: "m_f6645d97", calendarHeaderControl: "m_2351eeb0", calendarHeaderControlIcon: "m_367dc749" };
|
|
6089
|
-
const
|
|
6084
|
+
const jb = {
|
|
6090
6085
|
nextDisabled: !1,
|
|
6091
6086
|
previousDisabled: !1,
|
|
6092
6087
|
hasNextLevel: !0,
|
|
@@ -6098,7 +6093,7 @@ const Bb = {
|
|
|
6098
6093
|
"--dch-fz": Qs(t)
|
|
6099
6094
|
}
|
|
6100
6095
|
})), $r = It((i, t) => {
|
|
6101
|
-
const r = Ft("CalendarHeader",
|
|
6096
|
+
const r = Ft("CalendarHeader", jb, i), {
|
|
6102
6097
|
classNames: s,
|
|
6103
6098
|
className: l,
|
|
6104
6099
|
style: g,
|
|
@@ -6241,12 +6236,12 @@ const Fb = {
|
|
|
6241
6236
|
classNames: re,
|
|
6242
6237
|
styles: Se,
|
|
6243
6238
|
unstyled: xe,
|
|
6244
|
-
__staticSelector:
|
|
6239
|
+
__staticSelector: j,
|
|
6245
6240
|
__stopPropagation: I,
|
|
6246
6241
|
size: A,
|
|
6247
6242
|
...v
|
|
6248
6243
|
} = r, p = xn(), [_, d] = zb(s), m = {
|
|
6249
|
-
__staticSelector:
|
|
6244
|
+
__staticSelector: j || "DecadeLevel",
|
|
6250
6245
|
classNames: re,
|
|
6251
6246
|
styles: Se,
|
|
6252
6247
|
unstyled: xe,
|
|
@@ -6334,7 +6329,7 @@ const Wb = {
|
|
|
6334
6329
|
// Other props
|
|
6335
6330
|
yearLabelFormat: Se,
|
|
6336
6331
|
__staticSelector: xe,
|
|
6337
|
-
__stopPropagation:
|
|
6332
|
+
__stopPropagation: j,
|
|
6338
6333
|
size: I,
|
|
6339
6334
|
classNames: A,
|
|
6340
6335
|
styles: v,
|
|
@@ -6353,7 +6348,7 @@ const Wb = {
|
|
|
6353
6348
|
{
|
|
6354
6349
|
label: typeof Se == "function" ? Se(s) : Le(s).locale(l || d.locale).format(Se),
|
|
6355
6350
|
__preventFocus: M,
|
|
6356
|
-
__stopPropagation:
|
|
6351
|
+
__stopPropagation: j,
|
|
6357
6352
|
nextIcon: E,
|
|
6358
6353
|
previousIcon: P,
|
|
6359
6354
|
nextLabel: K,
|
|
@@ -6384,7 +6379,7 @@ const Wb = {
|
|
|
6384
6379
|
__onControlClick: L,
|
|
6385
6380
|
__onControlMouseEnter: k,
|
|
6386
6381
|
__preventFocus: M,
|
|
6387
|
-
__stopPropagation:
|
|
6382
|
+
__stopPropagation: j,
|
|
6388
6383
|
withCellSpacing: T,
|
|
6389
6384
|
...m
|
|
6390
6385
|
}
|
|
@@ -6426,7 +6421,7 @@ const Yb = {
|
|
|
6426
6421
|
nextLabel: re,
|
|
6427
6422
|
previousLabel: Se,
|
|
6428
6423
|
onNext: xe,
|
|
6429
|
-
onPrevious:
|
|
6424
|
+
onPrevious: j,
|
|
6430
6425
|
onLevelClick: I,
|
|
6431
6426
|
nextDisabled: A,
|
|
6432
6427
|
previousDisabled: v,
|
|
@@ -6449,7 +6444,7 @@ const Yb = {
|
|
|
6449
6444
|
styles: V,
|
|
6450
6445
|
unstyled: ue,
|
|
6451
6446
|
size: me
|
|
6452
|
-
},
|
|
6447
|
+
}, B = typeof A == "boolean" ? A : L ? !Le(s).endOf("month").isBefore(L) : !1, W = typeof v == "boolean" ? v : O ? !Le(s).startOf("month").isAfter(O) : !1;
|
|
6453
6448
|
return /* @__PURE__ */ R.jsxs(zt, { "data-month-level": !0, size: me, ref: t, ...le, children: [
|
|
6454
6449
|
/* @__PURE__ */ R.jsx(
|
|
6455
6450
|
$r,
|
|
@@ -6462,9 +6457,9 @@ const Yb = {
|
|
|
6462
6457
|
nextLabel: re,
|
|
6463
6458
|
previousLabel: Se,
|
|
6464
6459
|
onNext: xe,
|
|
6465
|
-
onPrevious:
|
|
6460
|
+
onPrevious: j,
|
|
6466
6461
|
onLevelClick: I,
|
|
6467
|
-
nextDisabled:
|
|
6462
|
+
nextDisabled: B,
|
|
6468
6463
|
previousDisabled: W,
|
|
6469
6464
|
hasNextLevel: p,
|
|
6470
6465
|
levelControlAriaLabel: _,
|
|
@@ -6558,9 +6553,9 @@ const Hb = {
|
|
|
6558
6553
|
levelControlAriaLabel: re,
|
|
6559
6554
|
decadeLabelFormat: Se,
|
|
6560
6555
|
size: xe,
|
|
6561
|
-
vars:
|
|
6556
|
+
vars: j,
|
|
6562
6557
|
...I
|
|
6563
|
-
} = r, A =
|
|
6558
|
+
} = r, A = jn([]), v = Array(he).fill(0).map((p, _) => {
|
|
6564
6559
|
const d = Le(s).add(_ * 10, "years").toDate();
|
|
6565
6560
|
return /* @__PURE__ */ R.jsx(
|
|
6566
6561
|
ua,
|
|
@@ -6657,11 +6652,11 @@ const Gb = {
|
|
|
6657
6652
|
__stopPropagation: re,
|
|
6658
6653
|
numberOfColumns: Se,
|
|
6659
6654
|
levelControlAriaLabel: xe,
|
|
6660
|
-
yearLabelFormat:
|
|
6655
|
+
yearLabelFormat: j,
|
|
6661
6656
|
size: I,
|
|
6662
6657
|
vars: A,
|
|
6663
6658
|
...v
|
|
6664
|
-
} = r, p =
|
|
6659
|
+
} = r, p = jn([]), _ = Array(Se).fill(0).map((d, m) => {
|
|
6665
6660
|
const D = Le(s).add(m, "years").toDate();
|
|
6666
6661
|
return /* @__PURE__ */ R.jsx(
|
|
6667
6662
|
la,
|
|
@@ -6671,7 +6666,7 @@ const Gb = {
|
|
|
6671
6666
|
year: D,
|
|
6672
6667
|
withNext: m === Se - 1,
|
|
6673
6668
|
withPrevious: m === 0,
|
|
6674
|
-
yearLabelFormat:
|
|
6669
|
+
yearLabelFormat: j,
|
|
6675
6670
|
__stopPropagation: re,
|
|
6676
6671
|
__onControlClick: C,
|
|
6677
6672
|
__onControlMouseEnter: O,
|
|
@@ -6759,7 +6754,7 @@ const Vb = {
|
|
|
6759
6754
|
onPrevious: re,
|
|
6760
6755
|
onLevelClick: Se,
|
|
6761
6756
|
nextDisabled: xe,
|
|
6762
|
-
previousDisabled:
|
|
6757
|
+
previousDisabled: j,
|
|
6763
6758
|
hasNextLevel: I,
|
|
6764
6759
|
// Other settings
|
|
6765
6760
|
classNames: A,
|
|
@@ -6774,12 +6769,12 @@ const Vb = {
|
|
|
6774
6769
|
static: ue,
|
|
6775
6770
|
vars: de,
|
|
6776
6771
|
...me
|
|
6777
|
-
} = r, ne =
|
|
6778
|
-
const
|
|
6772
|
+
} = r, ne = jn([]), le = Array(_).fill(0).map((Ce, we) => {
|
|
6773
|
+
const B = Le(s).add(we, "months").toDate();
|
|
6779
6774
|
return /* @__PURE__ */ R.jsx(
|
|
6780
6775
|
ca,
|
|
6781
6776
|
{
|
|
6782
|
-
month:
|
|
6777
|
+
month: B,
|
|
6783
6778
|
withNext: we === _ - 1,
|
|
6784
6779
|
withPrevious: we === 0,
|
|
6785
6780
|
monthLabelFormat: m,
|
|
@@ -6796,7 +6791,7 @@ const Vb = {
|
|
|
6796
6791
|
__getDayRef: (W, F, Z) => {
|
|
6797
6792
|
Array.isArray(ne.current[we]) || (ne.current[we] = []), Array.isArray(ne.current[we][W]) || (ne.current[we][W] = []), ne.current[we][W][F] = Z;
|
|
6798
6793
|
},
|
|
6799
|
-
levelControlAriaLabel: typeof d == "function" ? d(
|
|
6794
|
+
levelControlAriaLabel: typeof d == "function" ? d(B) : d,
|
|
6800
6795
|
locale: l,
|
|
6801
6796
|
firstDayOfWeek: g,
|
|
6802
6797
|
weekdayFormat: f,
|
|
@@ -6818,7 +6813,7 @@ const Vb = {
|
|
|
6818
6813
|
onPrevious: re,
|
|
6819
6814
|
onLevelClick: Se,
|
|
6820
6815
|
nextDisabled: xe,
|
|
6821
|
-
previousDisabled:
|
|
6816
|
+
previousDisabled: j,
|
|
6822
6817
|
hasNextLevel: I,
|
|
6823
6818
|
classNames: A,
|
|
6824
6819
|
styles: v,
|
|
@@ -6856,7 +6851,7 @@ function yl({
|
|
|
6856
6851
|
onChange: s,
|
|
6857
6852
|
applyTimezone: l = !0
|
|
6858
6853
|
}) {
|
|
6859
|
-
const g =
|
|
6854
|
+
const g = jn(i), f = xn(), [c, b, C] = hd({
|
|
6860
6855
|
value: ri("add", t, f.getTimezone(), !l),
|
|
6861
6856
|
defaultValue: ri("add", r, f.getTimezone(), !l),
|
|
6862
6857
|
finalValue: Gh(i),
|
|
@@ -6940,7 +6935,7 @@ const Kb = {
|
|
|
6940
6935
|
excludeDate: re,
|
|
6941
6936
|
renderDay: Se,
|
|
6942
6937
|
hideOutsideDates: xe,
|
|
6943
|
-
hideWeekdays:
|
|
6938
|
+
hideWeekdays: j,
|
|
6944
6939
|
getDayAriaLabel: I,
|
|
6945
6940
|
monthLabelFormat: A,
|
|
6946
6941
|
nextIcon: v,
|
|
@@ -6961,7 +6956,7 @@ const Kb = {
|
|
|
6961
6956
|
// Other props
|
|
6962
6957
|
classNames: Ce,
|
|
6963
6958
|
styles: we,
|
|
6964
|
-
unstyled:
|
|
6959
|
+
unstyled: B,
|
|
6965
6960
|
minDate: W,
|
|
6966
6961
|
maxDate: F,
|
|
6967
6962
|
locale: Z,
|
|
@@ -6997,7 +6992,7 @@ const Kb = {
|
|
|
6997
6992
|
__staticSelector: se || "Calendar",
|
|
6998
6993
|
styles: Me,
|
|
6999
6994
|
classNames: Ie,
|
|
7000
|
-
unstyled:
|
|
6995
|
+
unstyled: B,
|
|
7001
6996
|
size: Ae
|
|
7002
6997
|
}, at = xn(), xt = T || k || 1, Sn = /* @__PURE__ */ new Date(), Un = W && W > Sn ? W : Sn, wt = Xe || ri("add", Un, at.getTimezone()), Jt = () => {
|
|
7003
6998
|
const et = Le(wt).add(xt, "month").toDate();
|
|
@@ -7032,7 +7027,7 @@ const Kb = {
|
|
|
7032
7027
|
excludeDate: re,
|
|
7033
7028
|
renderDay: Se,
|
|
7034
7029
|
hideOutsideDates: xe,
|
|
7035
|
-
hideWeekdays:
|
|
7030
|
+
hideWeekdays: j,
|
|
7036
7031
|
getDayAriaLabel: I,
|
|
7037
7032
|
onNext: Jt,
|
|
7038
7033
|
onPrevious: Cn,
|
|
@@ -7153,7 +7148,7 @@ function Qb(i) {
|
|
|
7153
7148
|
highlightToday: re,
|
|
7154
7149
|
__updateDateOnYearSelect: Se,
|
|
7155
7150
|
__updateDateOnMonthSelect: xe,
|
|
7156
|
-
withWeekNumbers:
|
|
7151
|
+
withWeekNumbers: j,
|
|
7157
7152
|
// MonthLevelGroup props
|
|
7158
7153
|
firstDayOfWeek: I,
|
|
7159
7154
|
weekdayFormat: A,
|
|
@@ -7175,7 +7170,7 @@ function Qb(i) {
|
|
|
7175
7170
|
decadeLabelFormat: Ce,
|
|
7176
7171
|
// External picker props
|
|
7177
7172
|
allowSingleDateInRange: we,
|
|
7178
|
-
allowDeselect:
|
|
7173
|
+
allowDeselect: B,
|
|
7179
7174
|
// Other props
|
|
7180
7175
|
minDate: W,
|
|
7181
7176
|
maxDate: F,
|
|
@@ -7213,7 +7208,7 @@ function Qb(i) {
|
|
|
7213
7208
|
highlightToday: re,
|
|
7214
7209
|
__updateDateOnYearSelect: Se,
|
|
7215
7210
|
__updateDateOnMonthSelect: xe,
|
|
7216
|
-
withWeekNumbers:
|
|
7211
|
+
withWeekNumbers: j,
|
|
7217
7212
|
// MonthLevelGroup props
|
|
7218
7213
|
firstDayOfWeek: I,
|
|
7219
7214
|
weekdayFormat: A,
|
|
@@ -7235,7 +7230,7 @@ function Qb(i) {
|
|
|
7235
7230
|
decadeLabelFormat: Ce,
|
|
7236
7231
|
// External picker props
|
|
7237
7232
|
allowSingleDateInRange: we,
|
|
7238
|
-
allowDeselect:
|
|
7233
|
+
allowDeselect: B,
|
|
7239
7234
|
// Other props
|
|
7240
7235
|
minDate: W,
|
|
7241
7236
|
maxDate: F,
|
|
@@ -7286,11 +7281,11 @@ const ex = {
|
|
|
7286
7281
|
styles: re,
|
|
7287
7282
|
allowDeselect: Se,
|
|
7288
7283
|
preserveTime: xe,
|
|
7289
|
-
date:
|
|
7284
|
+
date: j,
|
|
7290
7285
|
defaultDate: I,
|
|
7291
7286
|
onDateChange: A,
|
|
7292
7287
|
...v
|
|
7293
|
-
} = r, p =
|
|
7288
|
+
} = r, p = jn(null), _ = jn(null), [d, m] = Je(!1), { calendarProps: D, others: q } = Qb(v), V = xn(), de = M || ((U) => {
|
|
7294
7289
|
const ee = Le(U, T, V.getLocale(k)).toDate();
|
|
7295
7290
|
return Number.isNaN(ee.getTime()) ? Jb(U, V.getTimezone()) : ee;
|
|
7296
7291
|
}), me = Se !== void 0 ? Se : b, ne = (U) => U ? Le(U).locale(V.getLocale(k)).format(T) : "", [le, Ce, we] = yl({
|
|
@@ -7298,9 +7293,9 @@ const ex = {
|
|
|
7298
7293
|
value: g,
|
|
7299
7294
|
defaultValue: f,
|
|
7300
7295
|
onChange: c
|
|
7301
|
-
}), [
|
|
7296
|
+
}), [B, W] = yl({
|
|
7302
7297
|
type: "default",
|
|
7303
|
-
value:
|
|
7298
|
+
value: j,
|
|
7304
7299
|
defaultValue: f || I,
|
|
7305
7300
|
onChange: A
|
|
7306
7301
|
});
|
|
@@ -7405,7 +7400,7 @@ const ex = {
|
|
|
7405
7400
|
locale: k,
|
|
7406
7401
|
getDayProps: w,
|
|
7407
7402
|
size: s.size,
|
|
7408
|
-
date:
|
|
7403
|
+
date: B,
|
|
7409
7404
|
onDateChange: W
|
|
7410
7405
|
}
|
|
7411
7406
|
)
|
|
@@ -7465,8 +7460,8 @@ function tx(i) {
|
|
|
7465
7460
|
] }, m.id);
|
|
7466
7461
|
}, t[11] = re, t[12] = Se) : Se = t[12];
|
|
7467
7462
|
const xe = Se;
|
|
7468
|
-
let
|
|
7469
|
-
t[13] !== (P == null ? void 0 : P.message) || t[14] !== (P == null ? void 0 : P.name) || t[15] !== E ? (
|
|
7463
|
+
let j;
|
|
7464
|
+
t[13] !== (P == null ? void 0 : P.message) || t[14] !== (P == null ? void 0 : P.name) || t[15] !== E ? (j = E && /* @__PURE__ */ R.jsx(Js, { variant: "outline", color: "red", title: (P == null ? void 0 : P.name) ?? "Fehler aufgetreten", mb: "lg", children: (P == null ? void 0 : P.message) ?? "Fehler aufgetreten" }), t[13] = P == null ? void 0 : P.message, t[14] = P == null ? void 0 : P.name, t[15] = E, t[16] = j) : j = t[16];
|
|
7470
7465
|
let I;
|
|
7471
7466
|
t[17] !== b || t[18] !== M || t[19] !== re || t[20] !== E || t[21] !== s || t[22] !== c || t[23] !== k || t[24] !== te.length || t[25] !== J ? (I = re.onSubmit(async (d) => {
|
|
7472
7467
|
if (k)
|
|
@@ -7495,10 +7490,10 @@ function tx(i) {
|
|
|
7495
7490
|
v
|
|
7496
7491
|
] }), t[39] = v, t[40] = I, t[41] = A, t[42] = p) : p = t[42];
|
|
7497
7492
|
let _;
|
|
7498
|
-
return t[43] !== p || t[44] !==
|
|
7499
|
-
|
|
7493
|
+
return t[43] !== p || t[44] !== j ? (_ = /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
|
|
7494
|
+
j,
|
|
7500
7495
|
p
|
|
7501
|
-
] }), t[43] = p, t[44] =
|
|
7496
|
+
] }), t[43] = p, t[44] = j, t[45] = _) : _ = t[45], _;
|
|
7502
7497
|
}
|
|
7503
7498
|
function nx(i, t) {
|
|
7504
7499
|
return i[t.id] = rx, i;
|
|
@@ -7569,7 +7564,7 @@ var hx = ({ key: i, columns: t = [], getInitialValueInEffect: r = !0 }) => {
|
|
|
7569
7564
|
}), te;
|
|
7570
7565
|
}
|
|
7571
7566
|
function f() {
|
|
7572
|
-
let [Y, ae] =
|
|
7567
|
+
let [Y, ae] = Bu({ key: i ? `${i}-columns-order` : "", defaultValue: i ? C : void 0, getInitialValueInEffect: r });
|
|
7573
7568
|
function te(he) {
|
|
7574
7569
|
i && ae(he);
|
|
7575
7570
|
}
|
|
@@ -7578,7 +7573,7 @@ var hx = ({ key: i, columns: t = [], getInitialValueInEffect: r = !0 }) => {
|
|
|
7578
7573
|
return JSON.stringify(X) !== ce && te(X), [X, te];
|
|
7579
7574
|
}
|
|
7580
7575
|
function c() {
|
|
7581
|
-
let [Y, ae] =
|
|
7576
|
+
let [Y, ae] = Bu({ key: i ? `${i}-columns-toggle` : "", defaultValue: i ? L : void 0, getInitialValueInEffect: r });
|
|
7582
7577
|
function te(he) {
|
|
7583
7578
|
i && ae(he);
|
|
7584
7579
|
}
|
|
@@ -7587,7 +7582,7 @@ var hx = ({ key: i, columns: t = [], getInitialValueInEffect: r = !0 }) => {
|
|
|
7587
7582
|
return JSON.stringify(X) !== ce && te(X), [l(Y, t), te];
|
|
7588
7583
|
}
|
|
7589
7584
|
function b() {
|
|
7590
|
-
let [Y, ae] =
|
|
7585
|
+
let [Y, ae] = Bu({ key: i ? `${i}-columns-width` : "", defaultValue: i ? O : void 0, getInitialValueInEffect: r });
|
|
7591
7586
|
function te(he) {
|
|
7592
7587
|
i && ae(he);
|
|
7593
7588
|
}
|
|
@@ -7639,7 +7634,7 @@ function vx(i, t) {
|
|
|
7639
7634
|
return t || (typeof window < "u" && "matchMedia" in window ? i.map((r) => window.matchMedia(r).matches) : i.map(() => !1));
|
|
7640
7635
|
}
|
|
7641
7636
|
function mx(i, t, { getInitialValueInEffect: r } = { getInitialValueInEffect: !0 }) {
|
|
7642
|
-
let [s, l] = Je(r ? t : vx(i, t)), g =
|
|
7637
|
+
let [s, l] = Je(r ? t : vx(i, t)), g = jn(null);
|
|
7643
7638
|
return Qt(() => {
|
|
7644
7639
|
if ("matchMedia" in window) return g.current = i.map((f) => window.matchMedia(f)), l(g.current.map((f) => f.matches)), gx(g.current, (f) => {
|
|
7645
7640
|
l(f);
|
|
@@ -7667,22 +7662,22 @@ function Zu(i, t) {
|
|
|
7667
7662
|
function Fd(i, t) {
|
|
7668
7663
|
return t ? t.match(/([^[.\]])+/g).reduce((r, s) => r && r[s], i) : void 0;
|
|
7669
7664
|
}
|
|
7670
|
-
function
|
|
7665
|
+
function jt(i, t) {
|
|
7671
7666
|
return typeof t == "string" ? Fd(i, t) : t(i);
|
|
7672
7667
|
}
|
|
7673
7668
|
function _x({ rowExpansion: i, records: t, idAccessor: r }) {
|
|
7674
7669
|
let s = [];
|
|
7675
7670
|
if (i && t) {
|
|
7676
7671
|
let { trigger: c, allowMultiple: b, initiallyExpanded: C } = i;
|
|
7677
|
-
t && c === "always" ? s = t.map((O) =>
|
|
7672
|
+
t && c === "always" ? s = t.map((O) => jt(O, r)) : C && (s = t.filter((O, L) => C({ record: O, index: L })).map((O) => jt(O, r)), b || (s = [s[0]]));
|
|
7678
7673
|
}
|
|
7679
7674
|
let l, g, f = Je(s);
|
|
7680
7675
|
if (i) {
|
|
7681
7676
|
let { expandable: c, trigger: b, allowMultiple: C, collapseProps: O, content: L } = i;
|
|
7682
7677
|
i.expanded ? { recordIds: l, onRecordIdsChange: g } = i.expanded : [l, g] = f;
|
|
7683
|
-
let k = (T) => g == null ? void 0 : g(l.filter((M) => M !==
|
|
7684
|
-
return { expandOnClick: b !== "always" && b !== "never", isRowExpanded: (T) => b === "always" ? !0 : l.includes(
|
|
7685
|
-
let M =
|
|
7678
|
+
let k = (T) => g == null ? void 0 : g(l.filter((M) => M !== jt(T, r)));
|
|
7679
|
+
return { expandOnClick: b !== "always" && b !== "never", isRowExpanded: (T) => b === "always" ? !0 : l.includes(jt(T, r)), isExpandable: ({ record: T, index: M }) => c ? c({ record: T, index: M }) : !0, expandRow: (T) => {
|
|
7680
|
+
let M = jt(T, r);
|
|
7686
7681
|
g == null || g(C ? [...l, M] : [M]);
|
|
7687
7682
|
}, collapseRow: k, collapseProps: O, content: ({ record: T, index: M }) => () => L({ record: T, index: M, collapse: () => k(T) }) };
|
|
7688
7683
|
}
|
|
@@ -7695,14 +7690,14 @@ function bx(i, t) {
|
|
|
7695
7690
|
}
|
|
7696
7691
|
var kl = "mantine-datatable-nowrap", Il = "mantine-datatable-ellipsis", Ni = "mantine-datatable-pointer-cursor", Wd = "mantine-datatable-context-menu-cursor", xx = "mantine-datatable-text-selection-disabled", ma = "mantine-datatable-text-align-left", ya = "mantine-datatable-text-align-center", wa = "mantine-datatable-text-align-right";
|
|
7697
7692
|
function Sx({ className: i, style: t, visibleMediaQuery: r, title: s, noWrap: l, ellipsis: g, textAlign: f, width: c }) {
|
|
7698
|
-
return va(r) ? R.jsx(
|
|
7693
|
+
return va(r) ? R.jsx(Bo, { className: vt({ [kl]: l || g, [Il]: g, [ma]: f === "left", [ya]: f === "center", [wa]: f === "right" }, i), style: [{ width: c, minWidth: c, maxWidth: c }, t], children: s }) : null;
|
|
7699
7694
|
}
|
|
7700
7695
|
function Cx({ shadowVisible: i }) {
|
|
7701
|
-
return R.jsx(
|
|
7696
|
+
return R.jsx(Bo, { className: "mantine-datatable-footer-selector-placeholder-cell", "data-shadow-visible": i || void 0 });
|
|
7702
7697
|
}
|
|
7703
7698
|
var Ax = $o(function({ className: i, style: t, columns: r, defaultColumnProps: s, selectionVisible: l, selectorCellShadowVisible: g, scrollDiff: f }, c) {
|
|
7704
7699
|
let b = f < 0;
|
|
7705
|
-
return R.jsx(Ny, { ref: c, className: vt("mantine-datatable-footer", i), style: [{ position: b ? "relative" : "sticky", bottom:
|
|
7700
|
+
return R.jsx(Ny, { ref: c, className: vt("mantine-datatable-footer", i), style: [{ position: b ? "relative" : "sticky", bottom: Bn(b ? f : 0) }, t], children: R.jsxs(ii, { children: [l && R.jsx(Cx, { shadowVisible: g }), r.map(({ hidden: C, ...O }) => {
|
|
7706
7701
|
if (C) return null;
|
|
7707
7702
|
let { accessor: L, visibleMediaQuery: k, textAlign: T, width: M, footer: E, footerClassName: P, footerStyle: K, noWrap: J, ellipsis: Q } = { ...s, ...O };
|
|
7708
7703
|
return R.jsx(Sx, { className: P, style: K, visibleMediaQuery: k, textAlign: T, width: M, title: E, noWrap: J, ellipsis: Q }, L);
|
|
@@ -7710,7 +7705,7 @@ var Ax = $o(function({ className: i, style: t, columns: r, defaultColumnProps: s
|
|
|
7710
7705
|
});
|
|
7711
7706
|
function Ox({ group: { id: i, columns: t, title: r, textAlign: s, className: l, style: g } }) {
|
|
7712
7707
|
let f = Pi(() => t.map(({ visibleMediaQuery: C }) => C), [t]), c = yx(f), b = Pi(() => t.filter(({ hidden: C }, O) => !C && (c == null ? void 0 : c[O])).length, [t, c]);
|
|
7713
|
-
return b > 0 ? R.jsx(
|
|
7708
|
+
return b > 0 ? R.jsx(Bo, { colSpan: b, className: vt("mantine-datatable-column-group-header-cell", { [ma]: s === "left", [ya]: s === "center", [wa]: s === "right" }, l), style: g, children: r ?? Ll(i) }) : null;
|
|
7714
7709
|
}
|
|
7715
7710
|
function Dx() {
|
|
7716
7711
|
return R.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", fill: "none", strokeLinecap: "round", strokeLinejoin: "round", children: [R.jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), R.jsx("path", { d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z" })] });
|
|
@@ -7725,7 +7720,7 @@ function Tx({ children: i, isActive: t, filterPopoverProps: r }) {
|
|
|
7725
7720
|
}, onKeyDown: (b) => b.stopPropagation(), children: R.jsx(f, {}) }) }), R.jsx(ld, { ref: c, onClick: (b) => b.stopPropagation(), onKeyDown: (b) => b.stopPropagation(), children: typeof i == "function" ? i({ close: l }) : i })] });
|
|
7726
7721
|
}
|
|
7727
7722
|
var Ex = (i) => {
|
|
7728
|
-
let { accessor: t, columnRef: r } = i, s =
|
|
7723
|
+
let { accessor: t, columnRef: r } = i, s = jn(null), [l, g] = Je(0), { setColumnWidth: f } = Ml(), c = (O) => {
|
|
7729
7724
|
O.preventDefault(), O.stopPropagation(), document.addEventListener("mousemove", b), document.addEventListener("mouseup", C), document.body.style.cursor = "col-resize";
|
|
7730
7725
|
}, b = (O) => {
|
|
7731
7726
|
if (!r.current) return;
|
|
@@ -7736,7 +7731,7 @@ var Ex = (i) => {
|
|
|
7736
7731
|
};
|
|
7737
7732
|
return R.jsx("div", { ref: s, onClick: (O) => O.stopPropagation(), onMouseDown: c, onDoubleClick: () => {
|
|
7738
7733
|
r.current && (r.current.style.maxWidth = "initial", r.current.style.minWidth = "initial", r.current.style.width = "initial", f(t, "initial"));
|
|
7739
|
-
}, className: "mantine-datatable-header-resizable-handle", style: { right:
|
|
7734
|
+
}, className: "mantine-datatable-header-resizable-handle", style: { right: Bn(l) } });
|
|
7740
7735
|
};
|
|
7741
7736
|
function Mx() {
|
|
7742
7737
|
return R.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", fill: "none", strokeLinecap: "round", strokeLinejoin: "round", children: [R.jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), R.jsx("path", { d: "M12 5l0 14" }), R.jsx("path", { d: "M16 9l-4 -4" }), R.jsx("path", { d: "M8 9l4 -4" })] });
|
|
@@ -7751,7 +7746,7 @@ function Ix() {
|
|
|
7751
7746
|
return R.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", fill: "none", strokeLinecap: "round", strokeLinejoin: "round", children: [R.jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), R.jsx("path", { d: "M18 6l-12 12" }), R.jsx("path", { d: "M6 6l12 12" })] });
|
|
7752
7747
|
}
|
|
7753
7748
|
function $x({ className: i, style: t, accessor: r, visibleMediaQuery: s, title: l, sortable: g, draggable: f, toggleable: c, resizable: b, sortIcons: C, textAlign: O, width: L, sortStatus: k, onSortStatusChange: T, filter: M, filterPopoverProps: E, filtering: P, sortKey: K }) {
|
|
7754
|
-
let { setSourceColumn: J, setTargetColumn: Q, swapColumns: oe, setColumnsToggle: Y } = Ml(), [ae, te] = Je(!1), X =
|
|
7749
|
+
let { setSourceColumn: J, setTargetColumn: Q, swapColumns: oe, setColumnsToggle: Y } = Ml(), [ae, te] = Je(!1), X = jn(null);
|
|
7755
7750
|
if (!va(s)) return null;
|
|
7756
7751
|
let ce = l ?? Ll(r), he = typeof ce == "string" ? ce : void 0, re = g && T ? (p) => {
|
|
7757
7752
|
p != null && p.defaultPrevented || T({ sortKey: K, columnAccessor: r, direction: (k == null ? void 0 : k.columnAccessor) === r ? k.direction === "asc" ? "desc" : "asc" : (k == null ? void 0 : k.direction) ?? "asc" });
|
|
@@ -7759,7 +7754,7 @@ function $x({ className: i, style: t, accessor: r, visibleMediaQuery: s, title:
|
|
|
7759
7754
|
p.stopPropagation(), J(r), te(!1);
|
|
7760
7755
|
}, xe = (p) => {
|
|
7761
7756
|
p.preventDefault(), Q(r), te(!0);
|
|
7762
|
-
},
|
|
7757
|
+
}, j = () => {
|
|
7763
7758
|
Q(r), te(!1), oe();
|
|
7764
7759
|
}, I = () => {
|
|
7765
7760
|
te(!0);
|
|
@@ -7768,32 +7763,32 @@ function $x({ className: i, style: t, accessor: r, visibleMediaQuery: s, title:
|
|
|
7768
7763
|
}, v = (p) => {
|
|
7769
7764
|
p.stopPropagation(), Y((_) => _.map((d) => d.accessor === r ? { ...d, toggled: !1 } : d));
|
|
7770
7765
|
};
|
|
7771
|
-
return R.jsxs(
|
|
7766
|
+
return R.jsxs(Bo, { className: vt({ "mantine-datatable-header-cell-sortable": g, "mantine-datatable-header-cell-toggleable": c, "mantine-datatable-header-cell-resizable": b }, i), style: [{ width: L, ...b ? { minWidth: "1px" } : { minWidth: L, maxWidth: L } }, t], role: g ? "button" : void 0, tabIndex: g ? 0 : void 0, onClick: re, onKeyDown: (p) => p.key === "Enter" && (re == null ? void 0 : re()), ref: X, children: [R.jsxs(or, { className: "mantine-datatable-header-cell-sortable-group", justify: "space-between", wrap: "nowrap", children: [R.jsxs(Uy, { align: "center", w: "100%", className: vt({ "mantine-datatable-header-cell-draggable": f, "mantine-datatable-header-cell-drag-over": ae }), draggable: f, onDragStart: f ? Se : void 0, onDragEnter: f ? I : void 0, onDragOver: f ? xe : void 0, onDrop: f ? j : void 0, onDragLeave: f ? A : void 0, children: [f ? R.jsx(Di, { role: "img", "aria-label": "Drag column", children: R.jsx(Gs, { className: "mantine-datatable-header-cell-draggable-action-icon", variant: "subtle", size: "xs", onClick: (p) => {
|
|
7772
7767
|
p.stopPropagation();
|
|
7773
7768
|
}, children: R.jsx(kx, {}) }) }) : null, R.jsx(zt, { className: vt("mantine-datatable-header-cell-sortable-text", { [ma]: O === "left", [ya]: O === "center", [wa]: O === "right" }, kl, Il), title: he, children: ce })] }), c ? R.jsx(Di, { className: "mantine-datatable-header-cell-toggleable-icon", role: "img", "aria-label": "Toggle column", children: R.jsx(Gs, { size: "xs", variant: "light", onClick: v, children: R.jsx(Ix, {}) }) }) : null, g || (k == null ? void 0 : k.columnAccessor) === r ? R.jsx(R.Fragment, { children: (k == null ? void 0 : k.columnAccessor) === r ? R.jsx(Di, { className: vt("mantine-datatable-header-cell-sortable-icon", { "mantine-datatable-header-cell-sortable-icon-reversed": k.direction === "desc" }), role: "img", "aria-label": `Sorted ${k.direction === "desc" ? "descending" : "ascending"}`, children: (C == null ? void 0 : C.sorted) || R.jsx(Mx, {}) }) : R.jsx(Di, { className: "mantine-datatable-header-cell-sortable-unsorted-icon", role: "img", "aria-label": "Not sorted", children: (C == null ? void 0 : C.unsorted) || R.jsx(Lx, {}) }) }) : null, M ? R.jsx(Tx, { filterPopoverProps: E, isActive: !!P, children: M }) : null] }), b ? R.jsx(Ex, { accessor: r, columnRef: X }) : null] });
|
|
7774
7769
|
}
|
|
7775
7770
|
var Px = $o(function({ className: i, style: t, trigger: r, shadowVisible: s, checked: l, indeterminate: g, checkboxProps: f, onChange: c, rowSpan: b }, C) {
|
|
7776
7771
|
let O = !f.disabled;
|
|
7777
|
-
return R.jsx(
|
|
7772
|
+
return R.jsx(Bo, { ref: C, className: vt("mantine-datatable-header-selector-cell", { [Ni]: r === "cell" && O }, i), style: t, rowSpan: b, "data-shadow-visible": s || void 0, onClick: r === "cell" && O ? c : void 0, children: R.jsx(No, { classNames: O ? { input: Ni } : void 0, checked: l, indeterminate: g, onChange: c, ...f, disabled: !(c || f.onChange) || f.disabled }) });
|
|
7778
7773
|
}), Nx = $o(function({ selectionColumnHeaderRef: i, className: t, style: r, sortStatus: s, sortIcons: l, onSortStatusChange: g, columns: f, defaultColumnProps: c, groups: b, selectionTrigger: C, selectionVisible: O, selectionChecked: L, selectionIndeterminate: k, onSelectionChange: T, selectionCheckboxProps: M, selectorCellShadowVisible: E, selectionColumnClassName: P, selectionColumnStyle: K }, J) {
|
|
7779
|
-
let Q = O ? R.jsx(Px, { ref: i, className: P, style: K, trigger: C, shadowVisible: E, checked: L, indeterminate: k, checkboxProps: M, onChange: T, rowSpan: b ? 2 : void 0 }) : null, { columnsToggle: oe, setColumnsToggle: Y } = Ml(), [ae, te] = Je(!1), X = f.some((re) => re.toggleable), ce = X ? Object.fromEntries(f.map(({ accessor: re, title: Se }) => [re, Se ?? Ll(String(re))])) : void 0, he = R.jsxs(
|
|
7774
|
+
let Q = O ? R.jsx(Px, { ref: i, className: P, style: K, trigger: C, shadowVisible: E, checked: L, indeterminate: k, checkboxProps: M, onChange: T, rowSpan: b ? 2 : void 0 }) : null, { columnsToggle: oe, setColumnsToggle: Y } = Ml(), [ae, te] = Je(!1), X = f.some((re) => re.toggleable), ce = X ? Object.fromEntries(f.map(({ accessor: re, title: Se }) => [re, Se ?? Ll(String(re))])) : void 0, he = R.jsxs(By, { className: vt("mantine-datatable-header", t), style: r, ref: J, onContextMenu: X ? (re) => {
|
|
7780
7775
|
re.preventDefault(), te((Se) => !Se);
|
|
7781
7776
|
} : void 0, children: [b && R.jsxs(ii, { children: [Q, b.map((re) => R.jsx(Ox, { group: re }, re.id))] }), R.jsxs(ii, { children: [!b && Q, f.map(({ hidden: re, ...Se }, xe) => {
|
|
7782
7777
|
if (re) return null;
|
|
7783
|
-
let { accessor:
|
|
7784
|
-
return R.jsx($x, { accessor:
|
|
7778
|
+
let { accessor: j, visibleMediaQuery: I, textAlign: A, width: v, title: p, sortable: _, draggable: d, toggleable: m, resizable: D, titleClassName: q, titleStyle: V, filter: ue, filterPopoverProps: de, filtering: me, sortKey: ne } = { ...c, ...Se };
|
|
7779
|
+
return R.jsx($x, { accessor: j, className: q, style: V, visibleMediaQuery: I, textAlign: A, width: v, title: p, sortable: _, draggable: d, toggleable: m, resizable: D && xe < f.length - 1, sortStatus: s, sortIcons: l, sortKey: ne, onSortStatusChange: g, filter: ue, filterPopoverProps: de, filtering: me }, j);
|
|
7785
7780
|
})] })] });
|
|
7786
7781
|
return X ? R.jsxs(To, { position: "bottom", withArrow: !0, shadow: "md", opened: ae, onChange: te, children: [R.jsx(ud, { children: he }), R.jsx(ld, { children: R.jsx(_l, { children: oe.filter((re) => re.toggleable).map((re) => R.jsx(or, { children: R.jsx(No, { classNames: { label: "mantine-datatable-header-column-toggle-checkbox-label" }, size: "xs", label: ce[re.accessor], checked: re.toggled, onChange: (Se) => {
|
|
7787
7782
|
Y(oe.map((xe) => xe.accessor === re.accessor ? { ...xe, toggled: Se.currentTarget.checked } : xe));
|
|
7788
7783
|
} }) }, re.accessor)) }) })] }) : he;
|
|
7789
7784
|
});
|
|
7790
|
-
function
|
|
7785
|
+
function Bx({ pt: i, pb: t, fetching: r, customContent: s, backgroundBlur: l, size: g, type: f, color: c }) {
|
|
7791
7786
|
return R.jsx(Di, { pt: i, pb: t, className: vt("mantine-datatable-loader", { "mantine-datatable-loader-fetching": r }), style: [{ backdropFilter: l ? `blur(${l}px)` : void 0 }], children: r && (s || R.jsx(Gy, { size: g, type: f, color: c })) });
|
|
7792
7787
|
}
|
|
7793
7788
|
function _t(i, t, r) {
|
|
7794
7789
|
return i ? Yy({ color: typeof i == "object" ? i[r] : i, theme: t }).value : void 0;
|
|
7795
7790
|
}
|
|
7796
|
-
function
|
|
7791
|
+
function jx({ theme: i, c: t, backgroundColor: r, borderColor: s, rowBorderColor: l, stripedColor: g, highlightOnHoverColor: f }) {
|
|
7797
7792
|
return { "--mantine-datatable-color-light": _t(t, i, "light"), "--mantine-datatable-color-dark": _t(t, i, "dark"), "--mantine-datatable-background-color-light": _t(r, i, "light"), "--mantine-datatable-background-color-dark": _t(r, i, "dark"), "--mantine-datatable-border-color-light": _t(s, i, "light"), "--mantine-datatable-border-color-dark": _t(s, i, "dark"), "--mantine-datatable-row-border-color-light": _t(l, i, "light"), "--mantine-datatable-row-border-color-dark": _t(l, i, "dark"), "--mantine-datatable-striped-color-light": _t(g, i, "light"), "--mantine-datatable-striped-color-dark": _t(g, i, "dark"), "--mantine-datatable-highlight-on-hover-color-light": _t(f, i, "light"), "--mantine-datatable-highlight-on-hover-color-dark": _t(f, i, "dark") };
|
|
7798
7793
|
}
|
|
7799
7794
|
function Yd({ theme: i, paginationActiveTextColor: t, paginationActiveBackgroundColor: r }) {
|
|
@@ -7805,7 +7800,7 @@ function Ux({ theme: i, color: t, backgroundColor: r }) {
|
|
|
7805
7800
|
function zx() {
|
|
7806
7801
|
return R.jsxs("svg", { width: "14", height: "14", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", fill: "none", strokeLinecap: "round", strokeLinejoin: "round", children: [R.jsx("path", { stroke: "none", d: "M0 0h24v24H0z", fill: "none" }), R.jsx("path", { d: "M8 9l4 -4l4 4" }), R.jsx("path", { d: "M16 15l-4 4l-4 -4" })] });
|
|
7807
7802
|
}
|
|
7808
|
-
var Zh = { xs:
|
|
7803
|
+
var Zh = { xs: Bn(22), sm: Bn(26), md: Bn(32), lg: Bn(38), xl: Bn(44) };
|
|
7809
7804
|
function Fx({ size: i, label: t, values: r, value: s, activeTextColor: l, activeBackgroundColor: g, onChange: f }) {
|
|
7810
7805
|
return R.jsxs(or, { gap: "xs", children: [R.jsx(Eo, { component: "div", size: i, children: t }), R.jsxs(Jr, { withinPortal: !0, withArrow: !0, classNames: { arrow: "mantine-datatable-page-size-selector-menu-arrow" }, children: [R.jsx(zy, { children: R.jsx(sr, { size: i, variant: "default", classNames: { section: "mantine-datatable-page-size-selector-button-icon" }, rightSection: R.jsx(zx, {}), style: [{ fontWeight: "normal" }, (c) => ({ height: Zh[i], paddingLeft: c.spacing[i], paddingRight: c.spacing[i] })], children: s }) }), R.jsx(Fy, { children: r.map((c) => {
|
|
7811
7806
|
let b = c === s;
|
|
@@ -7818,8 +7813,8 @@ var Wx = $o(function({ className: i, style: t, fetching: r, page: s, onPageChang
|
|
|
7818
7813
|
let ce = (s - 1) * M + 1, he = ce + (J || 0) - 1;
|
|
7819
7814
|
te = k({ from: ce, to: he, totalRecords: T });
|
|
7820
7815
|
} else te = r ? O : L;
|
|
7821
|
-
let X = va(({ breakpoints: ce }) => `(min-width: ${typeof oe == "number" ? `${
|
|
7822
|
-
return R.jsxs(zt, { ref: ae, px: Q ?? "xs", py: "xs", className: vt("mantine-datatable-pagination", i), style: [{ flexDirection: X ? "row" : "column" }, t], children: [R.jsx(Eo, { component: "div", className: "mantine-datatable-pagination-text", size: C, children: te }), K && R.jsx(Fx, { activeTextColor: c, activeBackgroundColor: b, size: C, label: P, values: K, value: M, onChange: E }), R.jsx(
|
|
7816
|
+
let X = va(({ breakpoints: ce }) => `(min-width: ${typeof oe == "number" ? `${Bn(oe)}rem` : ce[oe] || oe})`);
|
|
7817
|
+
return R.jsxs(zt, { ref: ae, px: Q ?? "xs", py: "xs", className: vt("mantine-datatable-pagination", i), style: [{ flexDirection: X ? "row" : "column" }, t], children: [R.jsx(Eo, { component: "div", className: "mantine-datatable-pagination-text", size: C, children: te }), K && R.jsx(Fx, { activeTextColor: c, activeBackgroundColor: b, size: C, label: P, values: K, value: M, onChange: E }), R.jsx(jy, { classNames: { root: vt("mantine-datatable-pagination-pages", { "mantine-datatable-pagination-pages-fetching": r || !J }), control: "mantine-datatable-pagination-pages-control" }, style: c || b ? (ce) => Yd({ theme: ce, paginationActiveTextColor: c, paginationActiveBackgroundColor: b }) : void 0, withEdges: g, withControls: f, value: s, onChange: l, size: C, total: Math.ceil(T / M), getControlProps: Y })] });
|
|
7823
7818
|
});
|
|
7824
7819
|
function Yx({ className: i, style: t, visibleMediaQuery: r, record: s, index: l, onClick: g, onDoubleClick: f, onContextMenu: c, noWrap: b, ellipsis: C, textAlign: O, width: L, accessor: k, render: T, defaultRender: M, customCellAttributes: E }) {
|
|
7825
7820
|
return va(r) ? R.jsx(bl, { className: vt({ [kl]: b || C, [Il]: C, [Ni]: g || f, [Wd]: c, [ma]: O === "left", [ya]: O === "center", [wa]: O === "right" }, i), style: [{ width: L, minWidth: L, maxWidth: L }, t], onClick: g, onDoubleClick: f, onContextMenu: c, ...E == null ? void 0 : E(s, l), children: T ? T(s, l) : M ? M(s, l, k) : Fd(s, k) }) : null;
|
|
@@ -7839,8 +7834,8 @@ function Gx({ record: i, index: t, columns: r, defaultColumnProps: s, defaultCol
|
|
|
7839
7834
|
if (I || A) return null;
|
|
7840
7835
|
let { accessor: _, visibleMediaQuery: d, textAlign: m, noWrap: D, ellipsis: q, width: V, render: ue, cellsClassName: de, cellsStyle: me, customCellAttributes: ne } = { ...s, ...v };
|
|
7841
7836
|
return R.jsx(Yx, { className: typeof de == "function" ? de(i, t) : de, style: me == null ? void 0 : me(i, t), visibleMediaQuery: d, record: i, index: t, onClick: E ? (le) => E({ event: le, record: i, index: t, column: v, columnIndex: p }) : void 0, onDoubleClick: P ? (le) => P({ event: le, record: i, index: t, column: v, columnIndex: p }) : void 0, onContextMenu: K ? (le) => K({ event: le, record: i, index: t, column: v, columnIndex: p }) : void 0, accessor: _, textAlign: m, noWrap: D, ellipsis: q, width: V, render: ue, defaultRender: l, customCellAttributes: ne }, _);
|
|
7842
|
-
})] }), xe = J && R.jsx(qx, { colSpan: r.filter(({ hidden: I }) => !I).length + (f ? 1 : 0), open: J.isRowExpanded(i), content: J.content({ record: i, index: t }), collapseProps: J.collapseProps }),
|
|
7843
|
-
return re ? re({ record: i, index: t, rowProps:
|
|
7837
|
+
})] }), xe = J && R.jsx(qx, { colSpan: r.filter(({ hidden: I }) => !I).length + (f ? 1 : 0), open: J.isRowExpanded(i), content: J.content({ record: i, index: t }), collapseProps: J.collapseProps }), j = Vx({ record: i, index: t, selectionChecked: c, onClick: k, onDoubleClick: T, onContextMenu: M, expansion: J, customAttributes: Q, color: oe, backgroundColor: Y, className: ae, style: te });
|
|
7838
|
+
return re ? re({ record: i, index: t, rowProps: j, children: Se, expandedElement: xe }) : R.jsxs(R.Fragment, { children: [R.jsx(ii, { ...j, children: Se }), xe] });
|
|
7844
7839
|
}
|
|
7845
7840
|
function Vx({ record: i, index: t, selectionChecked: r, onClick: s, onDoubleClick: l, onContextMenu: g, expansion: f, customAttributes: c, color: b, backgroundColor: C, className: O, style: L }) {
|
|
7846
7841
|
return { className: vt("mantine-datatable-row", { [Ni]: s || l || (f == null ? void 0 : f.isExpandable({ record: i, index: t })) && (f == null ? void 0 : f.expandOnClick) }, { [Wd]: g }, typeof O == "function" ? O(i, t) : O), "data-selected": r || void 0, onClick: (k) => {
|
|
@@ -7855,45 +7850,45 @@ function Vx({ record: i, index: t, selectionChecked: r, onClick: s, onDoubleClic
|
|
|
7855
7850
|
} : void 0, L == null ? void 0 : L(i, t)], ...(c == null ? void 0 : c(i, t)) ?? {} };
|
|
7856
7851
|
}
|
|
7857
7852
|
function Zx({ topShadowVisible: i, leftShadowVisible: t, leftShadowBehind: r, rightShadowVisible: s, rightShadowBehind: l, bottomShadowVisible: g, headerHeight: f, footerHeight: c, onScrollPositionChange: b, children: C, viewportRef: O, scrollAreaProps: L }) {
|
|
7858
|
-
return R.jsxs(Hy, { ...L, viewportRef: O, classNames: { root: "mantine-datatable-scroll-area", scrollbar: "mantine-datatable-scroll-area-scrollbar", thumb: "mantine-datatable-scroll-area-thumb", corner: "mantine-datatable-scroll-area-corner" }, onScrollPositionChange: b, children: [C, R.jsx(zt, { className: vt("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-top-shadow", { "mantine-datatable-scroll-area-shadow-visible": i }), style: { top: f ?
|
|
7853
|
+
return R.jsxs(Hy, { ...L, viewportRef: O, classNames: { root: "mantine-datatable-scroll-area", scrollbar: "mantine-datatable-scroll-area-scrollbar", thumb: "mantine-datatable-scroll-area-thumb", corner: "mantine-datatable-scroll-area-corner" }, onScrollPositionChange: b, children: [C, R.jsx(zt, { className: vt("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-top-shadow", { "mantine-datatable-scroll-area-shadow-visible": i }), style: { top: f ? Bn(f) : 0 } }), R.jsx("div", { className: vt("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-left-shadow", { "mantine-datatable-scroll-area-shadow-visible": t, "mantine-datatable-scroll-area-shadow-behind": r }) }), R.jsx("div", { className: vt("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-right-shadow", { "mantine-datatable-scroll-area-shadow-visible": s, "mantine-datatable-scroll-area-shadow-behind": l }) }), R.jsx(zt, { className: vt("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-bottom-shadow", { "mantine-datatable-scroll-area-shadow-visible": g }), style: { bottom: c ? Bn(c + 1) : 0 } })] });
|
|
7859
7854
|
}
|
|
7860
|
-
function Kx({ withTableBorder: i, borderRadius: t, textSelectionDisabled: r, height: s = "100%", minHeight: l, maxHeight: g, shadow: f, verticalAlign: c = "center", fetching: b, columns: C, storeColumnsKey: O, groups: L, pinFirstColumn: k, pinLastColumn: T, defaultColumnProps: M, defaultColumnRender: E, idAccessor: P = "id", records: K, selectionTrigger: J = "checkbox", selectedRecords: Q, onSelectedRecordsChange: oe, selectionColumnClassName: Y, selectionColumnStyle: ae, isRecordSelectable: te, selectionCheckboxProps: X, allRecordsSelectionCheckboxProps: ce = { "aria-label": "Select all records" }, getRecordSelectionCheckboxProps: he = (Yt, Fn) => ({ "aria-label": `Select record ${Fn + 1}` }), sortStatus: re, sortIcons: Se, onSortStatusChange: xe, horizontalSpacing:
|
|
7861
|
-
let { ref: Yt, width: Fn, height: Wn } = Oi(), Nr = Pi(() => (L == null ? void 0 : L.flatMap((qe) => qe.columns)) ?? C, [C, L]),
|
|
7855
|
+
function Kx({ withTableBorder: i, borderRadius: t, textSelectionDisabled: r, height: s = "100%", minHeight: l, maxHeight: g, shadow: f, verticalAlign: c = "center", fetching: b, columns: C, storeColumnsKey: O, groups: L, pinFirstColumn: k, pinLastColumn: T, defaultColumnProps: M, defaultColumnRender: E, idAccessor: P = "id", records: K, selectionTrigger: J = "checkbox", selectedRecords: Q, onSelectedRecordsChange: oe, selectionColumnClassName: Y, selectionColumnStyle: ae, isRecordSelectable: te, selectionCheckboxProps: X, allRecordsSelectionCheckboxProps: ce = { "aria-label": "Select all records" }, getRecordSelectionCheckboxProps: he = (Yt, Fn) => ({ "aria-label": `Select record ${Fn + 1}` }), sortStatus: re, sortIcons: Se, onSortStatusChange: xe, horizontalSpacing: j, page: I, onPageChange: A, totalRecords: v, recordsPerPage: p, onRecordsPerPageChange: _, recordsPerPageOptions: d, recordsPerPageLabel: m = "Records per page", paginationWithEdges: D, paginationWithControls: q, paginationActiveTextColor: V, paginationActiveBackgroundColor: ue, paginationSize: de = "sm", paginationText: me = ({ from: Yt, to: Fn, totalRecords: Wn }) => `${Yt} - ${Fn} / ${Wn}`, paginationWrapBreakpoint: ne = "sm", getPaginationControlProps: le = (Yt) => Yt === "previous" ? { "aria-label": "Previous page" } : Yt === "next" ? { "aria-label": "Next page" } : {}, loaderBackgroundBlur: Ce, customLoader: we, loaderSize: B, loaderType: W, loaderColor: F, loadingText: Z = "...", emptyState: se, noRecordsText: Ae = "No records", noRecordsIcon: u, highlightOnHover: h, striped: w, noHeader: N, onRowClick: U, onRowDoubleClick: ee, onRowContextMenu: _e, onCellClick: De, onCellDoubleClick: Te, onCellContextMenu: be, onScroll: Ee, onScrollToTop: Ie, onScrollToBottom: Me, onScrollToLeft: Ge, onScrollToRight: We, c: Xe, backgroundColor: ft, borderColor: bt, rowBorderColor: at, stripedColor: xt, highlightOnHoverColor: Sn, rowColor: Un, rowBackgroundColor: wt, rowExpansion: Jt, rowClassName: Cn, rowStyle: zn, customRowAttributes: Mn, scrollViewportRef: un, scrollAreaProps: ln, tableRef: et, bodyRef: Wt, m: ht, my: Ot, mx: ar, mt: ur, mb: lr, ml: ai, mr: ui, className: li, classNames: Dt, style: _a, styles: Rt, rowFactory: ba, tableWrapper: Fi, ...Wi }) {
|
|
7856
|
+
let { ref: Yt, width: Fn, height: Wn } = Oi(), Nr = Pi(() => (L == null ? void 0 : L.flatMap((qe) => qe.columns)) ?? C, [C, L]), jo = hx({ key: O, columns: Nr }), { ref: xa, height: cr } = Oi(), { ref: Sa, width: fr, height: Br } = Oi(), { ref: Ca, height: Aa } = Oi(), { ref: Uo, height: Yi } = Oi(), { ref: zo, width: Oa } = Oi(), Da = Qu(Sa, et), Ra = Qu(Yt, un), [qi, Hi] = Je(!0), [ci, Gi] = Je(!0), [Yn, Fo] = Je(!0), [jr, Ur] = Je(!0), Wo = _x({ rowExpansion: Jt, records: K, idAccessor: P }), Vi = Nn(() => {
|
|
7862
7857
|
var dr, pr;
|
|
7863
7858
|
let qe = ((dr = Yt.current) == null ? void 0 : dr.scrollTop) ?? 0, Xt = ((pr = Yt.current) == null ? void 0 : pr.scrollLeft) ?? 0;
|
|
7864
|
-
if (b ||
|
|
7859
|
+
if (b || Br <= Wn) Hi(!0), Gi(!0);
|
|
7865
7860
|
else {
|
|
7866
|
-
let cn = qe === 0, en =
|
|
7861
|
+
let cn = qe === 0, en = Br - qe - Wn < 1;
|
|
7867
7862
|
Hi(cn), Gi(en), cn && cn !== qi && (Ie == null || Ie()), en && en !== ci && (Me == null || Me());
|
|
7868
7863
|
}
|
|
7869
7864
|
if (b || fr === Fn) Fo(!0), Ur(!0);
|
|
7870
7865
|
else {
|
|
7871
7866
|
let cn = Xt === 0, en = fr - Xt - Fn < 1;
|
|
7872
|
-
Fo(cn), Ur(en), cn && cn !== Yn && (Ge == null || Ge()), en && en !==
|
|
7867
|
+
Fo(cn), Ur(en), cn && cn !== Yn && (Ge == null || Ge()), en && en !== jr && (We == null || We());
|
|
7873
7868
|
}
|
|
7874
|
-
}, [b, Me, Ge, We, Ie, Wn, Yt, Fn, ci, Yn,
|
|
7869
|
+
}, [b, Me, Ge, We, Ie, Wn, Yt, Fn, ci, Yn, jr, qi, Br, fr]);
|
|
7875
7870
|
dx(Vi, [Vi]);
|
|
7876
7871
|
let Zi = o2(Vi, 50), Yo = Nn((qe) => {
|
|
7877
7872
|
Ee == null || Ee(qe), Zi();
|
|
7878
7873
|
}, [Zi, Ee]), Ki = Nn((qe) => {
|
|
7879
7874
|
var Xt;
|
|
7880
7875
|
(Xt = Yt.current) == null || Xt.scrollTo({ top: 0, left: 0 }), A(qe);
|
|
7881
|
-
}, [A, Yt]), fi = K == null ? void 0 : K.length, Qi = K == null ? void 0 : K.map((qe) =>
|
|
7882
|
-
Q && oe && oe(hi ? Q.filter((qe) => !zr.includes(
|
|
7876
|
+
}, [A, Yt]), fi = K == null ? void 0 : K.length, Qi = K == null ? void 0 : K.map((qe) => jt(qe, P)), Ln = !!Q, An = Q == null ? void 0 : Q.map((qe) => jt(qe, P)), qn = Qi !== void 0 && An !== void 0 && An.length > 0, hr = te ? K == null ? void 0 : K.filter(te) : K, zr = hr == null ? void 0 : hr.map((qe) => jt(qe, P)), hi = qn && zr.every((qe) => An.includes(qe)), qo = qn && zr.some((qe) => An.includes(qe)), Ho = Nn(() => {
|
|
7877
|
+
Q && oe && oe(hi ? Q.filter((qe) => !zr.includes(jt(qe, P))) : Zu([...Q, ...hr], (qe) => jt(qe, P)));
|
|
7883
7878
|
}, [hi, P, oe, zr, hr, Q]), { lastSelectionChangeIndex: Fr, setLastSelectionChangeIndex: Go } = px(Qi), Ji = Ln && !Yn && !k, Ta = { m: ht, my: Ot, mx: ar, mt: ur, mb: lr, ml: ai, mr: ui }, Ea = Nn(({ children: qe }) => Fi ? Fi({ children: qe }) : qe, [Fi]);
|
|
7884
|
-
return R.jsx(Vh, { ...
|
|
7885
|
-
let dr =
|
|
7879
|
+
return R.jsx(Vh, { ...jo, children: R.jsxs(zt, { ...Ta, className: vt("mantine-datatable", { "mantine-datatable-with-border": i }, li, Dt == null ? void 0 : Dt.root), style: [(qe) => ({ ...jx({ theme: qe, c: Xe, backgroundColor: ft, borderColor: bt, rowBorderColor: at, stripedColor: xt, highlightOnHoverColor: Sn }), borderRadius: qe.radius[t] || t, boxShadow: qe.shadows[f] || f, height: s, minHeight: l, maxHeight: g }), _a, Rt == null ? void 0 : Rt.root, { position: "relative" }], children: [R.jsx(Zx, { viewportRef: Ra, topShadowVisible: !qi, leftShadowVisible: !Yn, leftShadowBehind: Ln || !!k, rightShadowVisible: !jr, rightShadowBehind: T, bottomShadowVisible: !ci, headerHeight: cr, footerHeight: Aa, onScrollPositionChange: Yo, scrollAreaProps: ln, children: R.jsx(Ea, { children: R.jsxs(qy, { ref: Da, horizontalSpacing: j, className: vt("mantine-datatable-table", { [xx]: r, "mantine-datatable-vertical-align-top": c === "top", "mantine-datatable-vertical-align-bottom": c === "bottom", "mantine-datatable-last-row-border-bottom-visible": Wi.withRowBorders && Br < Wn, "mantine-datatable-pin-last-column": T, "mantine-datatable-pin-last-column-scrolled": !jr && T, "mantine-datatable-selection-column-visible": Ln, "mantine-datatable-pin-first-column": k, "mantine-datatable-pin-first-column-scrolled": !Yn && k }, Dt == null ? void 0 : Dt.table), style: { ...Rt == null ? void 0 : Rt.table, "--mantine-datatable-selection-column-width": `${Oa}px` }, "data-striped": fi && w || void 0, "data-highlight-on-hover": h || void 0, ...Wi, children: [N ? null : R.jsx(Vh, { ...jo, children: R.jsx(Nx, { ref: xa, selectionColumnHeaderRef: zo, className: Dt == null ? void 0 : Dt.header, style: Rt == null ? void 0 : Rt.header, columns: Nr, defaultColumnProps: M, groups: L, sortStatus: re, sortIcons: Se, onSortStatusChange: xe, selectionTrigger: J, selectionVisible: Ln, selectionChecked: hi, selectionIndeterminate: qo && !hi, onSelectionChange: Ho, selectionCheckboxProps: { ...X, ...ce }, selectorCellShadowVisible: Ji, selectionColumnClassName: Y, selectionColumnStyle: ae }) }), R.jsx("tbody", { ref: Wt, children: fi ? K.map((qe, Xt) => {
|
|
7880
|
+
let dr = jt(qe, P), pr = (An == null ? void 0 : An.includes(dr)) || !1, cn;
|
|
7886
7881
|
return oe && Q && (cn = (en) => {
|
|
7887
7882
|
if (en.nativeEvent.shiftKey && Fr !== null) {
|
|
7888
7883
|
let gr = K.filter(Xt > Fr ? (Hn, Gn) => Gn >= Fr && Gn <= Xt && (te ? te(Hn, Gn) : !0) : (Hn, Gn) => Gn >= Xt && Gn <= Fr && (te ? te(Hn, Gn) : !0));
|
|
7889
|
-
oe(pr ? wx(Q, gr, (Hn) =>
|
|
7890
|
-
} else oe(pr ? Q.filter((gr) =>
|
|
7884
|
+
oe(pr ? wx(Q, gr, (Hn) => jt(Hn, P)) : Zu([...Q, ...gr], (Hn) => jt(Hn, P)));
|
|
7885
|
+
} else oe(pr ? Q.filter((gr) => jt(gr, P) !== dr) : Zu([...Q, qe], (gr) => jt(gr, P)));
|
|
7891
7886
|
Go(Xt);
|
|
7892
7887
|
}), R.jsx(Gx, { record: qe, index: Xt, columns: Nr, defaultColumnProps: M, defaultColumnRender: E, selectionTrigger: J, selectionVisible: Ln, selectionChecked: pr, onSelectionChange: cn, isRecordSelectable: te, selectionCheckboxProps: X, getSelectionCheckboxProps: he, onClick: U, onDoubleClick: ee, onCellClick: De, onCellDoubleClick: Te, onContextMenu: _e, onCellContextMenu: be, expansion: Wo, color: Un, backgroundColor: wt, className: Cn, style: zn, customAttributes: Mn, selectorCellShadowVisible: Ji, selectionColumnClassName: Y, selectionColumnStyle: ae, idAccessor: P, rowFactory: ba }, dr);
|
|
7893
|
-
}) : R.jsx(lx, {}) }), Nr.some(({ footer: qe }) => qe) && R.jsx(Ax, { ref: Ca, className: Dt == null ? void 0 : Dt.footer, style: Rt == null ? void 0 : Rt.footer, columns: Nr, defaultColumnProps: M, selectionVisible: Ln, selectorCellShadowVisible: Ji, scrollDiff:
|
|
7888
|
+
}) : R.jsx(lx, {}) }), Nr.some(({ footer: qe }) => qe) && R.jsx(Ax, { ref: Ca, className: Dt == null ? void 0 : Dt.footer, style: Rt == null ? void 0 : Rt.footer, columns: Nr, defaultColumnProps: M, selectionVisible: Ln, selectorCellShadowVisible: Ji, scrollDiff: Br - Wn })] }) }) }), I && R.jsx(Wx, { ref: Uo, className: Dt == null ? void 0 : Dt.pagination, style: Rt == null ? void 0 : Rt.pagination, horizontalSpacing: j, fetching: b, page: I, onPageChange: Ki, totalRecords: v, recordsPerPage: p, onRecordsPerPageChange: _, recordsPerPageOptions: d, recordsPerPageLabel: m, paginationWithEdges: D, paginationWithControls: q, paginationActiveTextColor: V, paginationActiveBackgroundColor: ue, paginationSize: de, paginationText: me, paginationWrapBreakpoint: ne, getPaginationControlProps: le, noRecordsText: Ae, loadingText: Z, recordsLength: fi }), R.jsx(Bx, { pt: cr, pb: Yi, fetching: b, backgroundBlur: Ce, customContent: we, size: B, type: W, color: F }), R.jsx(fx, { pt: cr, pb: Yi, icon: u, text: Ae, active: !b && !fi, children: se })] }) });
|
|
7894
7889
|
}
|
|
7895
7890
|
var Qx = $o(function({ children: i, isDragging: t, ...r }, s) {
|
|
7896
|
-
let l =
|
|
7891
|
+
let l = jn(null), g = Qu(l, s);
|
|
7897
7892
|
return Qt(() => {
|
|
7898
7893
|
if (!l.current || !t) return;
|
|
7899
7894
|
let f = l.current.parentElement.parentElement.children[0].children[0];
|
|
@@ -7917,7 +7912,7 @@ var Jx = Do.exports, Kh;
|
|
|
7917
7912
|
function Xx() {
|
|
7918
7913
|
return Kh || (Kh = 1, function(i, t) {
|
|
7919
7914
|
(function() {
|
|
7920
|
-
var r, s = "4.17.21", l = 200, g = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", f = "Expected a function", c = "Invalid `variable` option passed into `_.template`", b = "__lodash_hash_undefined__", C = 500, O = "__lodash_placeholder__", L = 1, k = 2, T = 4, M = 1, E = 2, P = 1, K = 2, J = 4, Q = 8, oe = 16, Y = 32, ae = 64, te = 128, X = 256, ce = 512, he = 30, re = "...", Se = 800, xe = 16,
|
|
7915
|
+
var r, s = "4.17.21", l = 200, g = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", f = "Expected a function", c = "Invalid `variable` option passed into `_.template`", b = "__lodash_hash_undefined__", C = 500, O = "__lodash_placeholder__", L = 1, k = 2, T = 4, M = 1, E = 2, P = 1, K = 2, J = 4, Q = 8, oe = 16, Y = 32, ae = 64, te = 128, X = 256, ce = 512, he = 30, re = "...", Se = 800, xe = 16, j = 1, I = 2, A = 3, v = 1 / 0, p = 9007199254740991, _ = 17976931348623157e292, d = NaN, m = 4294967295, D = m - 1, q = m >>> 1, V = [
|
|
7921
7916
|
["ary", te],
|
|
7922
7917
|
["bind", P],
|
|
7923
7918
|
["bindKey", K],
|
|
@@ -7927,9 +7922,9 @@ function Xx() {
|
|
|
7927
7922
|
["partial", Y],
|
|
7928
7923
|
["partialRight", ae],
|
|
7929
7924
|
["rearg", X]
|
|
7930
|
-
], ue = "[object Arguments]", de = "[object Array]", me = "[object AsyncFunction]", ne = "[object Boolean]", le = "[object Date]", Ce = "[object DOMException]", we = "[object Error]",
|
|
7931
|
-
qn + "?" + Zi + "+" + qo + "(?=" + [
|
|
7932
|
-
hi + "+" + Ho + "(?=" + [
|
|
7925
|
+
], ue = "[object Arguments]", de = "[object Array]", me = "[object AsyncFunction]", ne = "[object Boolean]", le = "[object Date]", Ce = "[object DOMException]", we = "[object Error]", B = "[object Function]", W = "[object GeneratorFunction]", F = "[object Map]", Z = "[object Number]", se = "[object Null]", Ae = "[object Object]", u = "[object Promise]", h = "[object Proxy]", w = "[object RegExp]", N = "[object Set]", U = "[object String]", ee = "[object Symbol]", _e = "[object Undefined]", De = "[object WeakMap]", Te = "[object WeakSet]", be = "[object ArrayBuffer]", Ee = "[object DataView]", Ie = "[object Float32Array]", Me = "[object Float64Array]", Ge = "[object Int8Array]", We = "[object Int16Array]", Xe = "[object Int32Array]", ft = "[object Uint8Array]", bt = "[object Uint8ClampedArray]", at = "[object Uint16Array]", xt = "[object Uint32Array]", Sn = /\b__p \+= '';/g, Un = /\b(__p \+=) '' \+/g, wt = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Jt = /&(?:amp|lt|gt|quot|#39);/g, Cn = /[&<>"']/g, zn = RegExp(Jt.source), Mn = RegExp(Cn.source), un = /<%-([\s\S]+?)%>/g, ln = /<%([\s\S]+?)%>/g, et = /<%=([\s\S]+?)%>/g, Wt = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ht = /^\w*$/, Ot = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, ar = /[\\^$.*+?()[\]{}|]/g, ur = RegExp(ar.source), lr = /^\s+/, ai = /\s/, ui = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, li = /\{\n\/\* \[wrapped with (.+)\] \*/, Dt = /,? & /, _a = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Rt = /[()=,{}\[\]\/\s]/, ba = /\\(\\)?/g, Fi = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Wi = /\w*$/, Yt = /^[-+]0x[0-9a-f]+$/i, Fn = /^0b[01]+$/i, Wn = /^\[object .+?Constructor\]$/, Nr = /^0o[0-7]+$/i, jo = /^(?:0|[1-9]\d*)$/, xa = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, cr = /($^)/, Sa = /['\n\r\u2028\u2029\\]/g, fr = "\\ud800-\\udfff", Br = "\\u0300-\\u036f", Ca = "\\ufe20-\\ufe2f", Aa = "\\u20d0-\\u20ff", Uo = Br + Ca + Aa, Yi = "\\u2700-\\u27bf", zo = "a-z\\xdf-\\xf6\\xf8-\\xff", Oa = "\\xac\\xb1\\xd7\\xf7", Da = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ra = "\\u2000-\\u206f", qi = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Hi = "A-Z\\xc0-\\xd6\\xd8-\\xde", ci = "\\ufe0e\\ufe0f", Gi = Oa + Da + Ra + qi, Yn = "['’]", Fo = "[" + fr + "]", jr = "[" + Gi + "]", Ur = "[" + Uo + "]", Wo = "\\d+", Vi = "[" + Yi + "]", Zi = "[" + zo + "]", Yo = "[^" + fr + Gi + Wo + Yi + zo + Hi + "]", Ki = "\\ud83c[\\udffb-\\udfff]", fi = "(?:" + Ur + "|" + Ki + ")", Qi = "[^" + fr + "]", Ln = "(?:\\ud83c[\\udde6-\\uddff]){2}", An = "[\\ud800-\\udbff][\\udc00-\\udfff]", qn = "[" + Hi + "]", hr = "\\u200d", zr = "(?:" + Zi + "|" + Yo + ")", hi = "(?:" + qn + "|" + Yo + ")", qo = "(?:" + Yn + "(?:d|ll|m|re|s|t|ve))?", Ho = "(?:" + Yn + "(?:D|LL|M|RE|S|T|VE))?", Fr = fi + "?", Go = "[" + ci + "]?", Ji = "(?:" + hr + "(?:" + [Qi, Ln, An].join("|") + ")" + Go + Fr + ")*", Ta = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ea = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", qe = Go + Fr + Ji, Xt = "(?:" + [Vi, Ln, An].join("|") + ")" + qe, dr = "(?:" + [Qi + Ur + "?", Ur, Ln, An, Fo].join("|") + ")", pr = RegExp(Yn, "g"), cn = RegExp(Ur, "g"), en = RegExp(Ki + "(?=" + Ki + ")|" + dr + qe, "g"), gr = RegExp([
|
|
7926
|
+
qn + "?" + Zi + "+" + qo + "(?=" + [jr, qn, "$"].join("|") + ")",
|
|
7927
|
+
hi + "+" + Ho + "(?=" + [jr, qn + zr, "$"].join("|") + ")",
|
|
7933
7928
|
qn + "?" + zr + "+" + qo,
|
|
7934
7929
|
qn + "+" + Ho,
|
|
7935
7930
|
Ea,
|
|
@@ -7968,9 +7963,9 @@ function Xx() {
|
|
|
7968
7963
|
"parseInt",
|
|
7969
7964
|
"setTimeout"
|
|
7970
7965
|
], Hd = -1, lt = {};
|
|
7971
|
-
lt[Ie] = lt[Me] = lt[Ge] = lt[We] = lt[Xe] = lt[ft] = lt[bt] = lt[at] = lt[xt] = !0, lt[ue] = lt[de] = lt[be] = lt[ne] = lt[Ee] = lt[le] = lt[we] = lt[
|
|
7966
|
+
lt[Ie] = lt[Me] = lt[Ge] = lt[We] = lt[Xe] = lt[ft] = lt[bt] = lt[at] = lt[xt] = !0, lt[ue] = lt[de] = lt[be] = lt[ne] = lt[Ee] = lt[le] = lt[we] = lt[B] = lt[F] = lt[Z] = lt[Ae] = lt[w] = lt[N] = lt[U] = lt[De] = !1;
|
|
7972
7967
|
var ut = {};
|
|
7973
|
-
ut[ue] = ut[de] = ut[be] = ut[Ee] = ut[ne] = ut[le] = ut[Ie] = ut[Me] = ut[Ge] = ut[We] = ut[Xe] = ut[F] = ut[Z] = ut[Ae] = ut[w] = ut[N] = ut[U] = ut[ee] = ut[ft] = ut[bt] = ut[at] = ut[xt] = !0, ut[we] = ut[
|
|
7968
|
+
ut[ue] = ut[de] = ut[be] = ut[Ee] = ut[ne] = ut[le] = ut[Ie] = ut[Me] = ut[Ge] = ut[We] = ut[Xe] = ut[F] = ut[Z] = ut[Ae] = ut[w] = ut[N] = ut[U] = ut[ee] = ut[ft] = ut[bt] = ut[at] = ut[xt] = !0, ut[we] = ut[B] = ut[De] = !1;
|
|
7974
7969
|
var Gd = {
|
|
7975
7970
|
// Latin-1 Supplement block.
|
|
7976
7971
|
À: "A",
|
|
@@ -8189,7 +8184,7 @@ function Xx() {
|
|
|
8189
8184
|
return H || La && La.binding && La.binding("util");
|
|
8190
8185
|
} catch {
|
|
8191
8186
|
}
|
|
8192
|
-
}(), Nl = fn && fn.isArrayBuffer,
|
|
8187
|
+
}(), Nl = fn && fn.isArrayBuffer, Bl = fn && fn.isDate, jl = fn && fn.isMap, Ul = fn && fn.isRegExp, zl = fn && fn.isSet, Fl = fn && fn.isTypedArray;
|
|
8193
8188
|
function tn(H, fe, ie) {
|
|
8194
8189
|
switch (ie.length) {
|
|
8195
8190
|
case 0:
|
|
@@ -8204,8 +8199,8 @@ function Xx() {
|
|
|
8204
8199
|
return H.apply(fe, ie);
|
|
8205
8200
|
}
|
|
8206
8201
|
function ep(H, fe, ie, Re) {
|
|
8207
|
-
for (var
|
|
8208
|
-
var St = H[
|
|
8202
|
+
for (var je = -1, tt = H == null ? 0 : H.length; ++je < tt; ) {
|
|
8203
|
+
var St = H[je];
|
|
8209
8204
|
fe(Re, St, ie(St), H);
|
|
8210
8205
|
}
|
|
8211
8206
|
return Re;
|
|
@@ -8227,9 +8222,9 @@ function Xx() {
|
|
|
8227
8222
|
return !0;
|
|
8228
8223
|
}
|
|
8229
8224
|
function vr(H, fe) {
|
|
8230
|
-
for (var ie = -1, Re = H == null ? 0 : H.length,
|
|
8225
|
+
for (var ie = -1, Re = H == null ? 0 : H.length, je = 0, tt = []; ++ie < Re; ) {
|
|
8231
8226
|
var St = H[ie];
|
|
8232
|
-
fe(St, ie, H) && (tt[
|
|
8227
|
+
fe(St, ie, H) && (tt[je++] = St);
|
|
8233
8228
|
}
|
|
8234
8229
|
return tt;
|
|
8235
8230
|
}
|
|
@@ -8238,31 +8233,31 @@ function Xx() {
|
|
|
8238
8233
|
return !!ie && di(H, fe, 0) > -1;
|
|
8239
8234
|
}
|
|
8240
8235
|
function ka(H, fe, ie) {
|
|
8241
|
-
for (var Re = -1,
|
|
8236
|
+
for (var Re = -1, je = H == null ? 0 : H.length; ++Re < je; )
|
|
8242
8237
|
if (ie(fe, H[Re]))
|
|
8243
8238
|
return !0;
|
|
8244
8239
|
return !1;
|
|
8245
8240
|
}
|
|
8246
8241
|
function dt(H, fe) {
|
|
8247
|
-
for (var ie = -1, Re = H == null ? 0 : H.length,
|
|
8248
|
-
|
|
8249
|
-
return
|
|
8242
|
+
for (var ie = -1, Re = H == null ? 0 : H.length, je = Array(Re); ++ie < Re; )
|
|
8243
|
+
je[ie] = fe(H[ie], ie, H);
|
|
8244
|
+
return je;
|
|
8250
8245
|
}
|
|
8251
8246
|
function mr(H, fe) {
|
|
8252
|
-
for (var ie = -1, Re = fe.length,
|
|
8253
|
-
H[
|
|
8247
|
+
for (var ie = -1, Re = fe.length, je = H.length; ++ie < Re; )
|
|
8248
|
+
H[je + ie] = fe[ie];
|
|
8254
8249
|
return H;
|
|
8255
8250
|
}
|
|
8256
8251
|
function Ia(H, fe, ie, Re) {
|
|
8257
|
-
var
|
|
8258
|
-
for (Re && tt && (ie = H[++
|
|
8259
|
-
ie = fe(ie, H[
|
|
8252
|
+
var je = -1, tt = H == null ? 0 : H.length;
|
|
8253
|
+
for (Re && tt && (ie = H[++je]); ++je < tt; )
|
|
8254
|
+
ie = fe(ie, H[je], je, H);
|
|
8260
8255
|
return ie;
|
|
8261
8256
|
}
|
|
8262
8257
|
function np(H, fe, ie, Re) {
|
|
8263
|
-
var
|
|
8264
|
-
for (Re &&
|
|
8265
|
-
ie = fe(ie, H[
|
|
8258
|
+
var je = H == null ? 0 : H.length;
|
|
8259
|
+
for (Re && je && (ie = H[--je]); je--; )
|
|
8260
|
+
ie = fe(ie, H[je], je, H);
|
|
8266
8261
|
return ie;
|
|
8267
8262
|
}
|
|
8268
8263
|
function $a(H, fe) {
|
|
@@ -8280,13 +8275,13 @@ function Xx() {
|
|
|
8280
8275
|
}
|
|
8281
8276
|
function Yl(H, fe, ie) {
|
|
8282
8277
|
var Re;
|
|
8283
|
-
return ie(H, function(
|
|
8284
|
-
if (fe(
|
|
8278
|
+
return ie(H, function(je, tt, St) {
|
|
8279
|
+
if (fe(je, tt, St))
|
|
8285
8280
|
return Re = tt, !1;
|
|
8286
8281
|
}), Re;
|
|
8287
8282
|
}
|
|
8288
8283
|
function Zo(H, fe, ie, Re) {
|
|
8289
|
-
for (var
|
|
8284
|
+
for (var je = H.length, tt = ie + (Re ? 1 : -1); Re ? tt-- : ++tt < je; )
|
|
8290
8285
|
if (fe(H[tt], tt, H))
|
|
8291
8286
|
return tt;
|
|
8292
8287
|
return -1;
|
|
@@ -8295,9 +8290,9 @@ function Xx() {
|
|
|
8295
8290
|
return fe === fe ? mp(H, fe, ie) : Zo(H, ql, ie);
|
|
8296
8291
|
}
|
|
8297
8292
|
function sp(H, fe, ie, Re) {
|
|
8298
|
-
for (var
|
|
8299
|
-
if (Re(H[
|
|
8300
|
-
return
|
|
8293
|
+
for (var je = ie - 1, tt = H.length; ++je < tt; )
|
|
8294
|
+
if (Re(H[je], fe))
|
|
8295
|
+
return je;
|
|
8301
8296
|
return -1;
|
|
8302
8297
|
}
|
|
8303
8298
|
function ql(H) {
|
|
@@ -8305,7 +8300,7 @@ function Xx() {
|
|
|
8305
8300
|
}
|
|
8306
8301
|
function Hl(H, fe) {
|
|
8307
8302
|
var ie = H == null ? 0 : H.length;
|
|
8308
|
-
return ie ?
|
|
8303
|
+
return ie ? Ba(H, fe) / ie : d;
|
|
8309
8304
|
}
|
|
8310
8305
|
function Pa(H) {
|
|
8311
8306
|
return function(fe) {
|
|
@@ -8317,8 +8312,8 @@ function Xx() {
|
|
|
8317
8312
|
return H == null ? r : H[fe];
|
|
8318
8313
|
};
|
|
8319
8314
|
}
|
|
8320
|
-
function Gl(H, fe, ie, Re,
|
|
8321
|
-
return
|
|
8315
|
+
function Gl(H, fe, ie, Re, je) {
|
|
8316
|
+
return je(H, function(tt, St, st) {
|
|
8322
8317
|
ie = Re ? (Re = !1, tt) : fe(ie, tt, St, st);
|
|
8323
8318
|
}), ie;
|
|
8324
8319
|
}
|
|
@@ -8328,14 +8323,14 @@ function Xx() {
|
|
|
8328
8323
|
H[ie] = H[ie].value;
|
|
8329
8324
|
return H;
|
|
8330
8325
|
}
|
|
8331
|
-
function
|
|
8332
|
-
for (var ie, Re = -1,
|
|
8326
|
+
function Ba(H, fe) {
|
|
8327
|
+
for (var ie, Re = -1, je = H.length; ++Re < je; ) {
|
|
8333
8328
|
var tt = fe(H[Re]);
|
|
8334
8329
|
tt !== r && (ie = ie === r ? tt : ie + tt);
|
|
8335
8330
|
}
|
|
8336
8331
|
return ie;
|
|
8337
8332
|
}
|
|
8338
|
-
function
|
|
8333
|
+
function ja(H, fe) {
|
|
8339
8334
|
for (var ie = -1, Re = Array(H); ++ie < H; )
|
|
8340
8335
|
Re[ie] = fe(ie);
|
|
8341
8336
|
return Re;
|
|
@@ -8396,8 +8391,8 @@ function Xx() {
|
|
|
8396
8391
|
}
|
|
8397
8392
|
function za(H) {
|
|
8398
8393
|
var fe = -1, ie = Array(H.size);
|
|
8399
|
-
return H.forEach(function(Re,
|
|
8400
|
-
ie[++fe] = [
|
|
8394
|
+
return H.forEach(function(Re, je) {
|
|
8395
|
+
ie[++fe] = [je, Re];
|
|
8401
8396
|
}), ie;
|
|
8402
8397
|
}
|
|
8403
8398
|
function Ql(H, fe) {
|
|
@@ -8406,9 +8401,9 @@ function Xx() {
|
|
|
8406
8401
|
};
|
|
8407
8402
|
}
|
|
8408
8403
|
function yr(H, fe) {
|
|
8409
|
-
for (var ie = -1, Re = H.length,
|
|
8404
|
+
for (var ie = -1, Re = H.length, je = 0, tt = []; ++ie < Re; ) {
|
|
8410
8405
|
var St = H[ie];
|
|
8411
|
-
(St === fe || St === O) && (H[ie] = O, tt[
|
|
8406
|
+
(St === fe || St === O) && (H[ie] = O, tt[je++] = ie);
|
|
8412
8407
|
}
|
|
8413
8408
|
return tt;
|
|
8414
8409
|
}
|
|
@@ -8425,7 +8420,7 @@ function Xx() {
|
|
|
8425
8420
|
}), ie;
|
|
8426
8421
|
}
|
|
8427
8422
|
function mp(H, fe, ie) {
|
|
8428
|
-
for (var Re = ie - 1,
|
|
8423
|
+
for (var Re = ie - 1, je = H.length; ++Re < je; )
|
|
8429
8424
|
if (H[Re] === fe)
|
|
8430
8425
|
return Re;
|
|
8431
8426
|
return -1;
|
|
@@ -8461,7 +8456,7 @@ function Xx() {
|
|
|
8461
8456
|
}
|
|
8462
8457
|
var Sp = function H(fe) {
|
|
8463
8458
|
fe = fe == null ? Tt : vi.defaults(Tt.Object(), fe, vi.pick(Tt, qd));
|
|
8464
|
-
var ie = fe.Array, Re = fe.Date,
|
|
8459
|
+
var ie = fe.Array, Re = fe.Date, je = fe.Error, tt = fe.Function, St = fe.Math, st = fe.Object, Fa = fe.RegExp, Cp = fe.String, dn = fe.TypeError, Qo = ie.prototype, Ap = tt.prototype, mi = st.prototype, Jo = fe["__core-js_shared__"], Xo = Ap.toString, it = mi.hasOwnProperty, Op = 0, Xl = function() {
|
|
8465
8460
|
var e = /[^.]+$/.exec(Jo && Jo.keys && Jo.keys.IE_PROTO || "");
|
|
8466
8461
|
return e ? "Symbol(src)_1." + e : "";
|
|
8467
8462
|
}(), es = mi.toString, Dp = Xo.call(st), Rp = Tt._, Tp = Fa(
|
|
@@ -8472,7 +8467,7 @@ function Xx() {
|
|
|
8472
8467
|
return e({}, "", {}), e;
|
|
8473
8468
|
} catch {
|
|
8474
8469
|
}
|
|
8475
|
-
}(), Ep = fe.clearTimeout !== Tt.clearTimeout && fe.clearTimeout, Mp = Re && Re.now !== Tt.Date.now && Re.now, Lp = fe.setTimeout !== Tt.setTimeout && fe.setTimeout, ss = St.ceil, as = St.floor, Wa = st.getOwnPropertySymbols, kp = ts ? ts.isBuffer : r, ic = fe.isFinite, Ip = Qo.join, $p = Ql(st.keys, st), Ct = St.max, Lt = St.min, Pp = Re.now, Np = fe.parseInt, oc = St.random,
|
|
8470
|
+
}(), Ep = fe.clearTimeout !== Tt.clearTimeout && fe.clearTimeout, Mp = Re && Re.now !== Tt.Date.now && Re.now, Lp = fe.setTimeout !== Tt.setTimeout && fe.setTimeout, ss = St.ceil, as = St.floor, Wa = st.getOwnPropertySymbols, kp = ts ? ts.isBuffer : r, ic = fe.isFinite, Ip = Qo.join, $p = Ql(st.keys, st), Ct = St.max, Lt = St.min, Pp = Re.now, Np = fe.parseInt, oc = St.random, Bp = Qo.reverse, Ya = Zr(fe, "DataView"), to = Zr(fe, "Map"), qa = Zr(fe, "Promise"), yi = Zr(fe, "Set"), no = Zr(fe, "WeakMap"), ro = Zr(st, "create"), us = no && new no(), wi = {}, jp = Kr(Ya), Up = Kr(to), zp = Kr(qa), Fp = Kr(yi), Wp = Kr(no), ls = wr ? wr.prototype : r, io = ls ? ls.valueOf : r, sc = ls ? ls.toString : r;
|
|
8476
8471
|
function x(e) {
|
|
8477
8472
|
if (gt(e) && !Ue(e) && !(e instanceof Ze)) {
|
|
8478
8473
|
if (e instanceof pn)
|
|
@@ -8573,7 +8568,7 @@ function Xx() {
|
|
|
8573
8568
|
if (sn == I)
|
|
8574
8569
|
Ne = Nt;
|
|
8575
8570
|
else if (!Nt) {
|
|
8576
|
-
if (sn ==
|
|
8571
|
+
if (sn == j)
|
|
8577
8572
|
continue e;
|
|
8578
8573
|
break e;
|
|
8579
8574
|
}
|
|
@@ -8713,7 +8708,7 @@ function Xx() {
|
|
|
8713
8708
|
}
|
|
8714
8709
|
Dn.prototype.clear = cg, Dn.prototype.delete = fg, Dn.prototype.get = hg, Dn.prototype.has = dg, Dn.prototype.set = pg;
|
|
8715
8710
|
function ac(e, n) {
|
|
8716
|
-
var o = Ue(e), a = !o && Qr(e), y = !o && !a && Cr(e), S = !o && !a && !y && Ci(e), $ = o || a || y || S, z = $ ?
|
|
8711
|
+
var o = Ue(e), a = !o && Qr(e), y = !o && !a && Cr(e), S = !o && !a && !y && Ci(e), $ = o || a || y || S, z = $ ? ja(e.length, Cp) : [], G = z.length;
|
|
8717
8712
|
for (var pe in e)
|
|
8718
8713
|
(n || it.call(e, pe)) && !($ && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
8719
8714
|
(pe == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -8783,7 +8778,7 @@ function Xx() {
|
|
|
8783
8778
|
if ($ = s1(e), !z)
|
|
8784
8779
|
return qt(e, $);
|
|
8785
8780
|
} else {
|
|
8786
|
-
var ye = kt(e), Oe = ye ==
|
|
8781
|
+
var ye = kt(e), Oe = ye == B || ye == W;
|
|
8787
8782
|
if (Cr(e))
|
|
8788
8783
|
return kc(e, z);
|
|
8789
8784
|
if (ye == Ae || ye == ue || Oe && !y) {
|
|
@@ -8850,7 +8845,7 @@ function Xx() {
|
|
|
8850
8845
|
}
|
|
8851
8846
|
return G;
|
|
8852
8847
|
}
|
|
8853
|
-
var _r =
|
|
8848
|
+
var _r = Bc(kn), hc = Bc(Za, !0);
|
|
8854
8849
|
function _g(e, n) {
|
|
8855
8850
|
var o = !0;
|
|
8856
8851
|
return _r(e, function(a, y, S) {
|
|
@@ -8885,7 +8880,7 @@ function Xx() {
|
|
|
8885
8880
|
}
|
|
8886
8881
|
return y;
|
|
8887
8882
|
}
|
|
8888
|
-
var Va =
|
|
8883
|
+
var Va = jc(), pc = jc(!0);
|
|
8889
8884
|
function kn(e, n) {
|
|
8890
8885
|
return e && Va(e, n, At);
|
|
8891
8886
|
}
|
|
@@ -9168,10 +9163,10 @@ function Xx() {
|
|
|
9168
9163
|
function Ye(e, n) {
|
|
9169
9164
|
return _u(tf(e, n, Vt), e + "");
|
|
9170
9165
|
}
|
|
9171
|
-
function
|
|
9166
|
+
function Bg(e) {
|
|
9172
9167
|
return uc(Ai(e));
|
|
9173
9168
|
}
|
|
9174
|
-
function
|
|
9169
|
+
function jg(e, n) {
|
|
9175
9170
|
var o = Ai(e);
|
|
9176
9171
|
return Cs(o, Gr(n, 0, o.length));
|
|
9177
9172
|
}
|
|
@@ -9440,7 +9435,7 @@ function Xx() {
|
|
|
9440
9435
|
return n;
|
|
9441
9436
|
});
|
|
9442
9437
|
}
|
|
9443
|
-
function
|
|
9438
|
+
function Bc(e, n) {
|
|
9444
9439
|
return function(o, a) {
|
|
9445
9440
|
if (o == null)
|
|
9446
9441
|
return o;
|
|
@@ -9451,7 +9446,7 @@ function Xx() {
|
|
|
9451
9446
|
return o;
|
|
9452
9447
|
};
|
|
9453
9448
|
}
|
|
9454
|
-
function
|
|
9449
|
+
function jc(e) {
|
|
9455
9450
|
return function(n, o, a) {
|
|
9456
9451
|
for (var y = -1, S = st(n), $ = a(n), z = $.length; z--; ) {
|
|
9457
9452
|
var G = $[e ? z : ++y];
|
|
@@ -9478,7 +9473,7 @@ function Xx() {
|
|
|
9478
9473
|
}
|
|
9479
9474
|
function xi(e) {
|
|
9480
9475
|
return function(n) {
|
|
9481
|
-
return Ia(Bf(
|
|
9476
|
+
return Ia(jf(Bf(n).replace(pr, "")), e, "");
|
|
9482
9477
|
};
|
|
9483
9478
|
}
|
|
9484
9479
|
function co(e) {
|
|
@@ -9889,7 +9884,7 @@ function Xx() {
|
|
|
9889
9884
|
var n = $t(e), o = n == Ae ? e.constructor : r, a = o ? Kr(o) : "";
|
|
9890
9885
|
if (a)
|
|
9891
9886
|
switch (a) {
|
|
9892
|
-
case
|
|
9887
|
+
case jp:
|
|
9893
9888
|
return Ee;
|
|
9894
9889
|
case Up:
|
|
9895
9890
|
return F;
|
|
@@ -9990,7 +9985,7 @@ function Xx() {
|
|
|
9990
9985
|
}
|
|
9991
9986
|
function Xn(e, n) {
|
|
9992
9987
|
var o = typeof e;
|
|
9993
|
-
return n = n ?? p, !!n && (o == "number" || o != "symbol" &&
|
|
9988
|
+
return n = n ?? p, !!n && (o == "number" || o != "symbol" && jo.test(e)) && e > -1 && e % 1 == 0 && e < n;
|
|
9994
9989
|
}
|
|
9995
9990
|
function Pt(e, n, o) {
|
|
9996
9991
|
if (!pt(o))
|
|
@@ -10257,14 +10252,14 @@ function Xx() {
|
|
|
10257
10252
|
var n = mn(e), o = dt(e, au);
|
|
10258
10253
|
return n = typeof n == "function" ? n : r, n && o.pop(), o.length && o[0] === e[0] ? Qa(o, r, n) : [];
|
|
10259
10254
|
});
|
|
10260
|
-
function
|
|
10255
|
+
function B1(e, n) {
|
|
10261
10256
|
return e == null ? "" : Ip.call(e, n);
|
|
10262
10257
|
}
|
|
10263
10258
|
function mn(e) {
|
|
10264
10259
|
var n = e == null ? 0 : e.length;
|
|
10265
10260
|
return n ? e[n - 1] : r;
|
|
10266
10261
|
}
|
|
10267
|
-
function
|
|
10262
|
+
function j1(e, n, o) {
|
|
10268
10263
|
var a = e == null ? 0 : e.length;
|
|
10269
10264
|
if (!a)
|
|
10270
10265
|
return -1;
|
|
@@ -10302,7 +10297,7 @@ function Xx() {
|
|
|
10302
10297
|
return Ac(e, y), o;
|
|
10303
10298
|
}
|
|
10304
10299
|
function bu(e) {
|
|
10305
|
-
return e == null ? e :
|
|
10300
|
+
return e == null ? e : Bp.call(e);
|
|
10306
10301
|
}
|
|
10307
10302
|
function H1(e, n, o) {
|
|
10308
10303
|
var a = e == null ? 0 : e.length;
|
|
@@ -10386,7 +10381,7 @@ function Xx() {
|
|
|
10386
10381
|
return e = vr(e, function(o) {
|
|
10387
10382
|
if (mt(o))
|
|
10388
10383
|
return n = Ct(o.length, n), !0;
|
|
10389
|
-
}),
|
|
10384
|
+
}), ja(n, function(o) {
|
|
10390
10385
|
return dt(e, Pa(o));
|
|
10391
10386
|
});
|
|
10392
10387
|
}
|
|
@@ -10511,12 +10506,12 @@ function Xx() {
|
|
|
10511
10506
|
var N0 = ms(function(e, n, o) {
|
|
10512
10507
|
it.call(e, o) ? e[o].push(n) : Kn(e, o, [n]);
|
|
10513
10508
|
});
|
|
10514
|
-
function
|
|
10509
|
+
function B0(e, n, o, a) {
|
|
10515
10510
|
e = Ht(e) ? e : Ai(e), o = o && !a ? ze(o) : 0;
|
|
10516
10511
|
var y = e.length;
|
|
10517
10512
|
return o < 0 && (o = Ct(y + o, 0)), Ms(e) ? o <= y && e.indexOf(n, o) > -1 : !!y && di(e, n, o) > -1;
|
|
10518
10513
|
}
|
|
10519
|
-
var
|
|
10514
|
+
var j0 = Ye(function(e, n, o) {
|
|
10520
10515
|
var a = -1, y = typeof n == "function", S = Ht(e) ? ie(e.length) : [];
|
|
10521
10516
|
return _r(e, function($) {
|
|
10522
10517
|
S[++a] = y ? tn(n, $, o) : ao($, n, o);
|
|
@@ -10549,12 +10544,12 @@ function Xx() {
|
|
|
10549
10544
|
return o(e, Ts($e(n, 3)));
|
|
10550
10545
|
}
|
|
10551
10546
|
function H0(e) {
|
|
10552
|
-
var n = Ue(e) ? uc :
|
|
10547
|
+
var n = Ue(e) ? uc : Bg;
|
|
10553
10548
|
return n(e);
|
|
10554
10549
|
}
|
|
10555
10550
|
function G0(e, n, o) {
|
|
10556
10551
|
(o ? Pt(e, n, o) : n === r) ? n = 1 : n = ze(n);
|
|
10557
|
-
var a = Ue(e) ? gg :
|
|
10552
|
+
var a = Ue(e) ? gg : jg;
|
|
10558
10553
|
return a(e, n);
|
|
10559
10554
|
}
|
|
10560
10555
|
function V0(e) {
|
|
@@ -10800,7 +10795,7 @@ function Xx() {
|
|
|
10800
10795
|
function wv(e) {
|
|
10801
10796
|
return e === !0 || e === !1 || gt(e) && $t(e) == ne;
|
|
10802
10797
|
}
|
|
10803
|
-
var Cr = kp || $u, _v =
|
|
10798
|
+
var Cr = kp || $u, _v = Bl ? nn(Bl) : Dg;
|
|
10804
10799
|
function bv(e) {
|
|
10805
10800
|
return gt(e) && e.nodeType === 1 && !po(e);
|
|
10806
10801
|
}
|
|
@@ -10840,7 +10835,7 @@ function Xx() {
|
|
|
10840
10835
|
if (!pt(e))
|
|
10841
10836
|
return !1;
|
|
10842
10837
|
var n = $t(e);
|
|
10843
|
-
return n ==
|
|
10838
|
+
return n == B || n == W || n == me || n == h;
|
|
10844
10839
|
}
|
|
10845
10840
|
function Af(e) {
|
|
10846
10841
|
return typeof e == "number" && e == ze(e);
|
|
@@ -10855,7 +10850,7 @@ function Xx() {
|
|
|
10855
10850
|
function gt(e) {
|
|
10856
10851
|
return e != null && typeof e == "object";
|
|
10857
10852
|
}
|
|
10858
|
-
var Of =
|
|
10853
|
+
var Of = jl ? nn(jl) : Tg;
|
|
10859
10854
|
function Ov(e, n) {
|
|
10860
10855
|
return e === n || Ja(e, n, gu(n));
|
|
10861
10856
|
}
|
|
@@ -10867,7 +10862,7 @@ function Xx() {
|
|
|
10867
10862
|
}
|
|
10868
10863
|
function Tv(e) {
|
|
10869
10864
|
if (h1(e))
|
|
10870
|
-
throw new
|
|
10865
|
+
throw new je(g);
|
|
10871
10866
|
return mc(e);
|
|
10872
10867
|
}
|
|
10873
10868
|
function Ev(e) {
|
|
@@ -10956,13 +10951,13 @@ function Xx() {
|
|
|
10956
10951
|
function Mf(e) {
|
|
10957
10952
|
return In(e, Gt(e));
|
|
10958
10953
|
}
|
|
10959
|
-
function
|
|
10954
|
+
function Bv(e) {
|
|
10960
10955
|
return e ? Gr(ze(e), -9007199254740991, p) : e === 0 ? e : 0;
|
|
10961
10956
|
}
|
|
10962
10957
|
function nt(e) {
|
|
10963
10958
|
return e == null ? "" : rn(e);
|
|
10964
10959
|
}
|
|
10965
|
-
var
|
|
10960
|
+
var jv = bi(function(e, n) {
|
|
10966
10961
|
if (fo(n) || Ht(n)) {
|
|
10967
10962
|
In(n, At(n), e);
|
|
10968
10963
|
return;
|
|
@@ -11145,7 +11140,7 @@ function Xx() {
|
|
|
11145
11140
|
function Nf(e) {
|
|
11146
11141
|
return Tu(nt(e).toLowerCase());
|
|
11147
11142
|
}
|
|
11148
|
-
function
|
|
11143
|
+
function Bf(e) {
|
|
11149
11144
|
return e = nt(e), e && e.replace(xa, cp).replace(cn, "");
|
|
11150
11145
|
}
|
|
11151
11146
|
function bm(e, n, o) {
|
|
@@ -11231,7 +11226,7 @@ __p += '`), Ke && (ye += `' +
|
|
|
11231
11226
|
}
|
|
11232
11227
|
`;
|
|
11233
11228
|
else if (Rt.test(Pe))
|
|
11234
|
-
throw new
|
|
11229
|
+
throw new je(c);
|
|
11235
11230
|
ye = (G ? ye.replace(Sn, "") : ye).replace(Un, "$1").replace(wt, "$1;"), ye = "function(" + (Pe || "obj") + `) {
|
|
11236
11231
|
` + (Pe ? "" : `obj || (obj = {});
|
|
11237
11232
|
`) + "var __t, __p = ''" + (z ? ", __e = _.escape" : "") + (G ? `, __j = Array.prototype.join;
|
|
@@ -11246,10 +11241,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
11246
11241
|
throw Fe;
|
|
11247
11242
|
return Fe;
|
|
11248
11243
|
}
|
|
11249
|
-
function
|
|
11244
|
+
function Bm(e) {
|
|
11250
11245
|
return nt(e).toLowerCase();
|
|
11251
11246
|
}
|
|
11252
|
-
function
|
|
11247
|
+
function jm(e) {
|
|
11253
11248
|
return nt(e).toUpperCase();
|
|
11254
11249
|
}
|
|
11255
11250
|
function Um(e, n, o) {
|
|
@@ -11315,14 +11310,14 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
11315
11310
|
var qm = xi(function(e, n, o) {
|
|
11316
11311
|
return e + (o ? " " : "") + n.toUpperCase();
|
|
11317
11312
|
}), Tu = Uc("toUpperCase");
|
|
11318
|
-
function
|
|
11313
|
+
function jf(e, n, o) {
|
|
11319
11314
|
return e = nt(e), n = o ? r : n, n === r ? pp(e) ? xp(e) : op(e) : e.match(n) || [];
|
|
11320
11315
|
}
|
|
11321
11316
|
var Uf = Ye(function(e, n) {
|
|
11322
11317
|
try {
|
|
11323
11318
|
return tn(e, r, n);
|
|
11324
11319
|
} catch (o) {
|
|
11325
|
-
return Au(o) ? o : new
|
|
11320
|
+
return Au(o) ? o : new je(o);
|
|
11326
11321
|
}
|
|
11327
11322
|
}), Hm = Jn(function(e, n) {
|
|
11328
11323
|
return hn(n, function(o) {
|
|
@@ -11432,7 +11427,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
11432
11427
|
return [];
|
|
11433
11428
|
var o = m, a = Lt(e, m);
|
|
11434
11429
|
n = $e(n), e -= m;
|
|
11435
|
-
for (var y =
|
|
11430
|
+
for (var y = ja(a, n); ++o < e; )
|
|
11436
11431
|
n(o);
|
|
11437
11432
|
return y;
|
|
11438
11433
|
}
|
|
@@ -11472,12 +11467,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
11472
11467
|
return e - n;
|
|
11473
11468
|
}, 0);
|
|
11474
11469
|
function Ty(e) {
|
|
11475
|
-
return e && e.length ?
|
|
11470
|
+
return e && e.length ? Ba(e, Vt) : 0;
|
|
11476
11471
|
}
|
|
11477
11472
|
function Ey(e, n) {
|
|
11478
|
-
return e && e.length ?
|
|
11473
|
+
return e && e.length ? Ba(e, $e(n, 2)) : 0;
|
|
11479
11474
|
}
|
|
11480
|
-
return x.after = J0, x.ary = yf, x.assign =
|
|
11475
|
+
return x.after = J0, x.ary = yf, x.assign = jv, x.assignIn = Lf, x.assignInWith = Ls, x.assignWith = Uv, x.at = zv, x.before = wf, x.bind = Su, x.bindAll = Hm, x.bindKey = _f, x.castArray = cv, x.chain = gf, x.chunk = w1, x.compact = _1, x.concat = b1, x.cond = Gm, x.conforms = Vm, x.constant = Eu, x.countBy = T0, x.create = Fv, x.curry = bf, x.curryRight = xf, x.debounce = Sf, x.defaults = Wv, x.defaultsDeep = Yv, x.defer = X0, x.delay = ev, x.difference = x1, x.differenceBy = S1, x.differenceWith = C1, x.drop = A1, x.dropRight = O1, x.dropRightWhile = D1, x.dropWhile = R1, x.fill = T1, x.filter = M0, x.flatMap = I0, x.flatMapDeep = $0, x.flatMapDepth = P0, x.flatten = ff, x.flattenDeep = E1, x.flattenDepth = M1, x.flip = tv, x.flow = Km, x.flowRight = Qm, x.fromPairs = L1, x.functions = Qv, x.functionsIn = Jv, x.groupBy = N0, x.initial = I1, x.intersection = $1, x.intersectionBy = P1, x.intersectionWith = N1, x.invert = em, x.invertBy = tm, x.invokeMap = j0, x.iteratee = Mu, x.keyBy = U0, x.keys = At, x.keysIn = Gt, x.map = Os, x.mapKeys = rm, x.mapValues = im, x.matches = Jm, x.matchesProperty = Xm, x.memoize = Rs, x.merge = om, x.mergeWith = kf, x.method = ey, x.methodOf = ty, x.mixin = Lu, x.negate = Ts, x.nthArg = ry, x.omit = sm, x.omitBy = am, x.once = nv, x.orderBy = z0, x.over = iy, x.overArgs = rv, x.overEvery = oy, x.overSome = sy, x.partial = Cu, x.partialRight = Cf, x.partition = F0, x.pick = um, x.pickBy = If, x.property = zf, x.propertyOf = ay, x.pull = z1, x.pullAll = df, x.pullAllBy = F1, x.pullAllWith = W1, x.pullAt = Y1, x.range = uy, x.rangeRight = ly, x.rearg = iv, x.reject = q0, x.remove = q1, x.rest = ov, x.reverse = bu, x.sampleSize = G0, x.set = cm, x.setWith = fm, x.shuffle = V0, x.slice = H1, x.sortBy = Q0, x.sortedUniq = X1, x.sortedUniqBy = e0, x.split = Im, x.spread = sv, x.tail = t0, x.take = n0, x.takeRight = r0, x.takeRightWhile = i0, x.takeWhile = o0, x.tap = _0, x.throttle = av, x.thru = As, x.toArray = Tf, x.toPairs = $f, x.toPairsIn = Pf, x.toPath = py, x.toPlainObject = Mf, x.transform = hm, x.unary = uv, x.union = s0, x.unionBy = a0, x.unionWith = u0, x.uniq = l0, x.uniqBy = c0, x.uniqWith = f0, x.unset = dm, x.unzip = xu, x.unzipWith = pf, x.update = pm, x.updateWith = gm, x.values = Ai, x.valuesIn = vm, x.without = h0, x.words = jf, x.wrap = lv, x.xor = d0, x.xorBy = p0, x.xorWith = g0, x.zip = v0, x.zipObject = m0, x.zipObjectDeep = y0, x.zipWith = w0, x.entries = $f, x.entriesIn = Pf, x.extend = Lf, x.extendWith = Ls, Lu(x, x), x.add = vy, x.attempt = Uf, x.camelCase = _m, x.capitalize = Nf, x.ceil = my, x.clamp = mm, x.clone = fv, x.cloneDeep = dv, x.cloneDeepWith = pv, x.cloneWith = hv, x.conformsTo = gv, x.deburr = Bf, x.defaultTo = Zm, x.divide = yy, x.endsWith = bm, x.eq = Rn, x.escape = xm, x.escapeRegExp = Sm, x.every = E0, x.find = L0, x.findIndex = lf, x.findKey = qv, x.findLast = k0, x.findLastIndex = cf, x.findLastKey = Hv, x.floor = wy, x.forEach = vf, x.forEachRight = mf, x.forIn = Gv, x.forInRight = Vv, x.forOwn = Zv, x.forOwnRight = Kv, x.get = Du, x.gt = vv, x.gte = mv, x.has = Xv, x.hasIn = Ru, x.head = hf, x.identity = Vt, x.includes = B0, x.indexOf = k1, x.inRange = ym, x.invoke = nm, x.isArguments = Qr, x.isArray = Ue, x.isArrayBuffer = yv, x.isArrayLike = Ht, x.isArrayLikeObject = mt, x.isBoolean = wv, x.isBuffer = Cr, x.isDate = _v, x.isElement = bv, x.isEmpty = xv, x.isEqual = Sv, x.isEqualWith = Cv, x.isError = Au, x.isFinite = Av, x.isFunction = er, x.isInteger = Af, x.isLength = Es, x.isMap = Of, x.isMatch = Ov, x.isMatchWith = Dv, x.isNaN = Rv, x.isNative = Tv, x.isNil = Mv, x.isNull = Ev, x.isNumber = Df, x.isObject = pt, x.isObjectLike = gt, x.isPlainObject = po, x.isRegExp = Ou, x.isSafeInteger = Lv, x.isSet = Rf, x.isString = Ms, x.isSymbol = on, x.isTypedArray = Ci, x.isUndefined = kv, x.isWeakMap = Iv, x.isWeakSet = $v, x.join = B1, x.kebabCase = Cm, x.last = mn, x.lastIndexOf = j1, x.lowerCase = Am, x.lowerFirst = Om, x.lt = Pv, x.lte = Nv, x.max = _y, x.maxBy = by, x.mean = xy, x.meanBy = Sy, x.min = Cy, x.minBy = Ay, x.stubArray = Iu, x.stubFalse = $u, x.stubObject = cy, x.stubString = fy, x.stubTrue = hy, x.multiply = Oy, x.nth = U1, x.noConflict = ny, x.noop = ku, x.now = Ds, x.pad = Dm, x.padEnd = Rm, x.padStart = Tm, x.parseInt = Em, x.random = wm, x.reduce = W0, x.reduceRight = Y0, x.repeat = Mm, x.replace = Lm, x.result = lm, x.round = Dy, x.runInContext = H, x.sample = H0, x.size = Z0, x.snakeCase = km, x.some = K0, x.sortedIndex = G1, x.sortedIndexBy = V1, x.sortedIndexOf = Z1, x.sortedLastIndex = K1, x.sortedLastIndexBy = Q1, x.sortedLastIndexOf = J1, x.startCase = $m, x.startsWith = Pm, x.subtract = Ry, x.sum = Ty, x.sumBy = Ey, x.template = Nm, x.times = dy, x.toFinite = tr, x.toInteger = ze, x.toLength = Ef, x.toLower = Bm, x.toNumber = yn, x.toSafeInteger = Bv, x.toString = nt, x.toUpper = jm, x.trim = Um, x.trimEnd = zm, x.trimStart = Fm, x.truncate = Wm, x.unescape = Ym, x.uniqueId = gy, x.upperCase = qm, x.upperFirst = Tu, x.each = vf, x.eachRight = mf, x.first = hf, Lu(x, function() {
|
|
11481
11476
|
var e = {};
|
|
11482
11477
|
return kn(x, function(n, o) {
|
|
11483
11478
|
it.call(x.prototype, o) || (e[o] = n);
|
|
@@ -11496,7 +11491,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
11496
11491
|
return this.reverse()[e](o).reverse();
|
|
11497
11492
|
};
|
|
11498
11493
|
}), hn(["filter", "map", "takeWhile"], function(e, n) {
|
|
11499
|
-
var o = n + 1, a = o ==
|
|
11494
|
+
var o = n + 1, a = o == j || o == A;
|
|
11500
11495
|
Ze.prototype[e] = function(y) {
|
|
11501
11496
|
var S = this.clone();
|
|
11502
11497
|
return S.__iteratees__.push({
|
|
@@ -11589,7 +11584,7 @@ function e4(i) {
|
|
|
11589
11584
|
} = i, [b, C] = Je(0), [O, L] = Je(!1), {
|
|
11590
11585
|
data: k,
|
|
11591
11586
|
isLoading: T
|
|
11592
|
-
} =
|
|
11587
|
+
} = j_(g, l, f), {
|
|
11593
11588
|
mutateAsync: M,
|
|
11594
11589
|
isError: E,
|
|
11595
11590
|
error: P,
|
|
@@ -11638,8 +11633,8 @@ function e4(i) {
|
|
|
11638
11633
|
const Se = re;
|
|
11639
11634
|
let xe;
|
|
11640
11635
|
t[19] !== E || t[20] !== (P == null ? void 0 : P.message) || t[21] !== (P == null ? void 0 : P.name) ? (xe = E && /* @__PURE__ */ R.jsx(Js, { variant: "outline", color: "red", title: (P == null ? void 0 : P.name) ?? "Fehler aufgetreten", mb: "lg", children: (P == null ? void 0 : P.message) ?? "Fehler aufgetreten" }), t[19] = E, t[20] = P == null ? void 0 : P.message, t[21] = P == null ? void 0 : P.name, t[22] = xe) : xe = t[22];
|
|
11641
|
-
let
|
|
11642
|
-
t[23] !== b || t[24] !== r || t[25] !== X || t[26] !== O || t[27] !== f || t[28] !== T || t[29] !== K || t[30] !== E || t[31] !== s || t[32] !== Se || t[33] !== c || t[34] !== oe || t[35] !== M ? (
|
|
11636
|
+
let j;
|
|
11637
|
+
t[23] !== b || t[24] !== r || t[25] !== X || t[26] !== O || t[27] !== f || t[28] !== T || t[29] !== K || t[30] !== E || t[31] !== s || t[32] !== Se || t[33] !== c || t[34] !== oe || t[35] !== M ? (j = T ? /* @__PURE__ */ R.jsxs(_l, { gap: "md", children: [
|
|
11643
11638
|
/* @__PURE__ */ R.jsx(Ri, { height: 40 }),
|
|
11644
11639
|
Array(r.length).fill(0).map(t4),
|
|
11645
11640
|
/* @__PURE__ */ R.jsxs(or, { mt: "md", justify: "end", children: [
|
|
@@ -11659,12 +11654,12 @@ function e4(i) {
|
|
|
11659
11654
|
/* @__PURE__ */ R.jsx(sr, { onClick: () => oe.length ? b === 0 ? s() : C(b - 1) : s(), variant: "outline", children: oe.length ? b === 0 ? "Abbrechen" : "Zurück" : "Abbrechen" }),
|
|
11660
11655
|
/* @__PURE__ */ R.jsx(sr, { type: "submit", loading: K, children: oe.length ? b === oe.length - 1 ? "Speichern" : "Weiter" : "Speichern" })
|
|
11661
11656
|
] })
|
|
11662
|
-
] }), t[23] = b, t[24] = r, t[25] = X, t[26] = O, t[27] = f, t[28] = T, t[29] = K, t[30] = E, t[31] = s, t[32] = Se, t[33] = c, t[34] = oe, t[35] = M, t[36] =
|
|
11657
|
+
] }), t[23] = b, t[24] = r, t[25] = X, t[26] = O, t[27] = f, t[28] = T, t[29] = K, t[30] = E, t[31] = s, t[32] = Se, t[33] = c, t[34] = oe, t[35] = M, t[36] = j) : j = t[36];
|
|
11663
11658
|
let I;
|
|
11664
|
-
return t[37] !==
|
|
11659
|
+
return t[37] !== j || t[38] !== xe ? (I = /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
|
|
11665
11660
|
xe,
|
|
11666
|
-
|
|
11667
|
-
] }), t[37] =
|
|
11661
|
+
j
|
|
11662
|
+
] }), t[37] = j, t[38] = xe, t[39] = I) : I = t[39], I;
|
|
11668
11663
|
}
|
|
11669
11664
|
function t4(i, t) {
|
|
11670
11665
|
return /* @__PURE__ */ R.jsx(Ri, { height: 35 }, `skeleton-field-${t}`);
|
|
@@ -11821,7 +11816,7 @@ function c4(i) {
|
|
|
11821
11816
|
columnAccessor: he,
|
|
11822
11817
|
direction: re
|
|
11823
11818
|
}, t[9] = he, t[10] = re, t[11] = Se) : Se = t[11];
|
|
11824
|
-
const [xe,
|
|
11819
|
+
const [xe, j] = Je(Se);
|
|
11825
11820
|
let I;
|
|
11826
11821
|
t[12] !== Y || t[13] !== (T == null ? void 0 : T.direction) || t[14] !== (T == null ? void 0 : T.field) || t[15] !== c[0] ? (I = () => {
|
|
11827
11822
|
const ht = Qh.sortBy(Y, (T == null ? void 0 : T.field) ?? c[0].id);
|
|
@@ -11855,11 +11850,11 @@ function c4(i) {
|
|
|
11855
11850
|
}, Ce = [D, A, C, d], t[31] = D, t[32] = d, t[33] = C, t[34] = A, t[35] = le, t[36] = Ce) : (le = t[35], Ce = t[36]), Qt(le, Ce);
|
|
11856
11851
|
let we;
|
|
11857
11852
|
t[37] === Symbol.for("react.memo_cache_sentinel") ? (we = [], t[37] = we) : we = t[37];
|
|
11858
|
-
const [
|
|
11853
|
+
const [B, W] = Je(we);
|
|
11859
11854
|
let F;
|
|
11860
|
-
t[38] !==
|
|
11861
|
-
b && W(A.filter((ht) =>
|
|
11862
|
-
}, t[38] =
|
|
11855
|
+
t[38] !== B || t[39] !== b || t[40] !== A ? (F = () => {
|
|
11856
|
+
b && W(A.filter((ht) => B.some((Ot) => Ot.id === ht.id)));
|
|
11857
|
+
}, t[38] = B, t[39] = b, t[40] = A, t[41] = F) : F = t[41];
|
|
11863
11858
|
let Z;
|
|
11864
11859
|
t[42] !== A ? (Z = [A], t[42] = A, t[43] = Z) : Z = t[43], Qt(F, Z);
|
|
11865
11860
|
const [se, Ae] = Je(!1), [u, h] = Je(!1), [w, N] = Je(!1), U = r ? "space-between" : "end";
|
|
@@ -11872,16 +11867,16 @@ function c4(i) {
|
|
|
11872
11867
|
let Te;
|
|
11873
11868
|
t[49] !== _e ? (Te = /* @__PURE__ */ R.jsx(Gs, { variant: "subtle", onClick: _e, "aria-label": "Neuladen", children: De }), t[49] = _e, t[50] = Te) : Te = t[50];
|
|
11874
11869
|
let be;
|
|
11875
|
-
t[51] !== L || t[52] !== c || t[53] !==
|
|
11876
|
-
/* @__PURE__ */ R.jsx(Jr.Target, { children: /* @__PURE__ */ R.jsx(sr, { variant: "outline", rightSection: /* @__PURE__ */ R.jsx(Ky, { size: 14 }), disabled: !
|
|
11870
|
+
t[51] !== L || t[52] !== c || t[53] !== B || t[54] !== b ? (be = (c.some(y4) || b) && /* @__PURE__ */ R.jsxs(Jr, { shadow: "md", children: [
|
|
11871
|
+
/* @__PURE__ */ R.jsx(Jr.Target, { children: /* @__PURE__ */ R.jsx(sr, { variant: "outline", rightSection: /* @__PURE__ */ R.jsx(Ky, { size: 14 }), disabled: !B.length, children: "Aktionen" }) }),
|
|
11877
11872
|
/* @__PURE__ */ R.jsxs(Jr.Dropdown, { children: [
|
|
11878
|
-
c.find(m4) && /* @__PURE__ */ R.jsx(Jr.Item, { leftSection: /* @__PURE__ */ R.jsx(Qy, { size: 14 }), onClick: () => h(!0), disabled:
|
|
11873
|
+
c.find(m4) && /* @__PURE__ */ R.jsx(Jr.Item, { leftSection: /* @__PURE__ */ R.jsx(Qy, { size: 14 }), onClick: () => h(!0), disabled: B.length !== 1, children: "Bearbeiten" }),
|
|
11879
11874
|
(L ?? []).map((ht, Ot) => /* @__PURE__ */ Ly(Jr.Item, { ...ht.icon && {
|
|
11880
11875
|
leftSection: ht.icon
|
|
11881
|
-
}, key: `custom_action_${Ot}`, onClick: () => ht.onClick(
|
|
11876
|
+
}, key: `custom_action_${Ot}`, onClick: () => ht.onClick(B) }, ht.label)),
|
|
11882
11877
|
c.find(v4) && /* @__PURE__ */ R.jsx(Jr.Item, { leftSection: /* @__PURE__ */ R.jsx(Jy, { size: 14 }), onClick: () => N(!0), color: "red", children: "Löschen" })
|
|
11883
11878
|
] })
|
|
11884
|
-
] }), t[51] = L, t[52] = c, t[53] =
|
|
11879
|
+
] }), t[51] = L, t[52] = c, t[53] = B, t[54] = b, t[55] = be) : be = t[55];
|
|
11885
11880
|
let Ee;
|
|
11886
11881
|
t[56] !== M || t[57] !== c || t[58] !== P ? (Ee = c.find(g4) && /* @__PURE__ */ R.jsx(sr, { onClick: () => Ae(!0), disabled: P, children: M ?? "Erstellen" }), t[56] = M, t[57] = c, t[58] = P, t[59] = Ee) : Ee = t[59];
|
|
11887
11882
|
let Ie;
|
|
@@ -11904,8 +11899,8 @@ function c4(i) {
|
|
|
11904
11899
|
Array(5).fill(0).map(p4)
|
|
11905
11900
|
] }), t[71] = P, t[72] = J, t[73] = We) : We = t[73];
|
|
11906
11901
|
let Xe;
|
|
11907
|
-
t[74] !== c || t[75] !== K || t[76] !== P || t[77] !== J || t[78] !== D || t[79] !== d || t[80] !== C || t[81] !== ue || t[82] !==
|
|
11908
|
-
selectedRecords:
|
|
11902
|
+
t[74] !== c || t[75] !== K || t[76] !== P || t[77] !== J || t[78] !== D || t[79] !== d || t[80] !== C || t[81] !== ue || t[82] !== B || t[83] !== b || t[84] !== m || t[85] !== xe || t[86] !== A ? (Xe = !P && !J && /* @__PURE__ */ R.jsx(Kx, { my: "md", striped: !0, minHeight: 150, fetching: K, records: ue, sortStatus: xe, onSortStatusChange: j, ...b && {
|
|
11903
|
+
selectedRecords: B,
|
|
11909
11904
|
onSelectedRecordsChange: W
|
|
11910
11905
|
}, ...C && ue.length && {
|
|
11911
11906
|
totalRecords: A.length,
|
|
@@ -11915,16 +11910,16 @@ function c4(i) {
|
|
|
11915
11910
|
recordsPerPageOptions: Jh,
|
|
11916
11911
|
onRecordsPerPageChange: m,
|
|
11917
11912
|
recordsPerPageLabel: "Einträge pro Seite"
|
|
11918
|
-
}, columns: c.map(d4), noRecordsText: "Keine Einträge gefunden" }), t[74] = c, t[75] = K, t[76] = P, t[77] = J, t[78] = D, t[79] = d, t[80] = C, t[81] = ue, t[82] =
|
|
11913
|
+
}, columns: c.map(d4), noRecordsText: "Keine Einträge gefunden" }), t[74] = c, t[75] = K, t[76] = P, t[77] = J, t[78] = D, t[79] = d, t[80] = C, t[81] = ue, t[82] = B, t[83] = b, t[84] = m, t[85] = xe, t[86] = A, t[87] = Xe) : Xe = t[87];
|
|
11919
11914
|
let ft;
|
|
11920
11915
|
t[88] === Symbol.for("react.memo_cache_sentinel") ? (ft = () => {
|
|
11921
11916
|
h(!1), W([]);
|
|
11922
11917
|
}, t[88] = ft) : ft = t[88];
|
|
11923
11918
|
const bt = r ?? "Bearbeiten";
|
|
11924
11919
|
let at;
|
|
11925
|
-
t[89] !== g || t[90] !== c || t[91] !== s || t[92] !==
|
|
11920
|
+
t[89] !== g || t[90] !== c || t[91] !== s || t[92] !== B[0] || t[93] !== B.length || t[94] !== k ? (at = B.length > 0 && /* @__PURE__ */ R.jsx(e4, { fields: c.filter(h4), queryKey: s, apiPath: g, id: B[0].id, onClose: () => {
|
|
11926
11921
|
h(!1), W([]);
|
|
11927
|
-
}, steps: k }), t[89] = g, t[90] = c, t[91] = s, t[92] =
|
|
11922
|
+
}, steps: k }), t[89] = g, t[90] = c, t[91] = s, t[92] = B[0], t[93] = B.length, t[94] = k, t[95] = at) : at = t[95];
|
|
11928
11923
|
let xt;
|
|
11929
11924
|
t[96] !== bt || t[97] !== at || t[98] !== u ? (xt = /* @__PURE__ */ R.jsx(Nu, { opened: u, onClose: ft, title: bt, children: at }), t[96] = bt, t[97] = at, t[98] = u, t[99] = xt) : xt = t[99];
|
|
11930
11925
|
let Sn;
|
|
@@ -11933,9 +11928,9 @@ function c4(i) {
|
|
|
11933
11928
|
}, t[100] = Sn) : Sn = t[100];
|
|
11934
11929
|
const Un = r ?? "Löschen";
|
|
11935
11930
|
let wt;
|
|
11936
|
-
t[101] !== g || t[102] !== s || t[103] !==
|
|
11931
|
+
t[101] !== g || t[102] !== s || t[103] !== B ? (wt = B.length > 0 && /* @__PURE__ */ R.jsx(u4, { onClose: () => {
|
|
11937
11932
|
N(!1), W([]);
|
|
11938
|
-
}, queryKey: s, apiPath: g, selectedRecords:
|
|
11933
|
+
}, queryKey: s, apiPath: g, selectedRecords: B }), t[101] = g, t[102] = s, t[103] = B, t[104] = wt) : wt = t[104];
|
|
11939
11934
|
let Jt;
|
|
11940
11935
|
t[105] !== w || t[106] !== Un || t[107] !== wt ? (Jt = /* @__PURE__ */ R.jsx(Nu, { opened: w, onClose: Sn, title: Un, children: wt }), t[105] = w, t[106] = Un, t[107] = wt, t[108] = Jt) : Jt = t[108];
|
|
11941
11936
|
let Cn;
|
|
@@ -12006,12 +12001,12 @@ export {
|
|
|
12006
12001
|
I_ as getAll,
|
|
12007
12002
|
zi as getApiHeaders,
|
|
12008
12003
|
$_ as getOne,
|
|
12009
|
-
|
|
12004
|
+
B_ as updateOne,
|
|
12010
12005
|
W_ as useAddOne,
|
|
12011
12006
|
si as useDataTable,
|
|
12012
12007
|
V_ as useDeleteOne,
|
|
12013
12008
|
z_ as useGetAll,
|
|
12014
|
-
|
|
12009
|
+
j_ as useGetOne,
|
|
12015
12010
|
l4 as usePersistentState,
|
|
12016
12011
|
Ad as useUpdateOne
|
|
12017
12012
|
};
|