@boxcustodia/library 0.0.6 → 0.0.8
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.d.ts +6 -1
- package/dist/index.es10.js +1 -1
- package/dist/index.es100.js +4 -1062
- package/dist/index.es101.js +4 -3674
- package/dist/index.es102.js +4 -4
- package/dist/index.es103.js +14 -4
- package/dist/index.es104.js +5 -29
- package/dist/index.es105.js +56 -3
- package/dist/index.es106.js +29 -14
- package/dist/index.es107.js +21 -5
- package/dist/index.es108.js +12 -57
- package/dist/index.es109.js +4 -4
- package/dist/index.es110.js +12 -224
- package/dist/index.es111.js +259 -11
- package/dist/index.es112.js +5 -4
- package/dist/index.es113.js +11 -41
- package/dist/index.es114.js +222 -19
- package/dist/index.es115.js +4 -5
- package/dist/index.es116.js +41 -12
- package/dist/index.es117.js +15 -15
- package/dist/index.es118.js +813 -55
- package/dist/index.es119.js +9 -822
- package/dist/index.es120.js +5 -3
- package/dist/index.es121.js +64 -11
- package/dist/index.es123.js +11 -4
- package/dist/index.es124.js +4 -33
- package/dist/index.es125.js +33 -13
- package/dist/index.es126.js +5 -3
- package/dist/index.es128.js +215 -7
- package/dist/index.es129.js +7 -215
- package/dist/index.es13.js +1 -1
- package/dist/index.es131.js +1 -1
- package/dist/index.es132.js +1 -1
- package/dist/index.es134.js +1 -1
- package/dist/index.es137.js +20 -10
- package/dist/index.es138.js +33 -17
- package/dist/index.es139.js +7 -33
- package/dist/index.es14.js +1 -1
- package/dist/index.es140.js +11 -10
- package/dist/index.es141.js +205 -12
- package/dist/index.es142.js +11 -205
- package/dist/index.es143.js +5 -6
- package/dist/index.es144.js +2 -65
- package/dist/index.es145.js +44 -11
- package/dist/index.es146.js +5 -123
- package/dist/index.es147.js +58 -128
- package/dist/index.es148.js +11 -14
- package/dist/index.es149.js +122 -30
- package/dist/index.es15.js +1 -1
- package/dist/index.es150.js +134 -14
- package/dist/index.es151.js +12 -7
- package/dist/index.es152.js +32 -49
- package/dist/index.es153.js +14 -5
- package/dist/index.es154.js +9 -2
- package/dist/index.es155.js +46 -40
- package/dist/index.es156.js +193 -625
- package/dist/index.es157.js +625 -193
- package/dist/index.es160.js +3 -3
- package/dist/index.es163.js +1 -1
- package/dist/index.es164.js +6 -118
- package/dist/index.es165.js +3 -35
- package/dist/index.es166.js +2054 -2
- package/dist/index.es167.js +118 -2
- package/dist/index.es168.js +32 -20
- package/dist/index.es169.js +2 -9
- package/dist/index.es170.js +2 -38
- package/dist/index.es171.js +14 -11
- package/dist/index.es172.js +9 -6
- package/dist/index.es173.js +40 -3
- package/dist/index.es174.js +17 -2053
- package/dist/index.es179.js +1 -1
- package/dist/index.es180.js +1 -1
- package/dist/index.es181.js +2 -2
- package/dist/index.es182.js +1 -1
- package/dist/index.es184.js +1 -1
- package/dist/index.es186.js +3 -3
- package/dist/index.es188.js +7 -11
- package/dist/index.es189.js +5 -7
- package/dist/index.es190.js +4 -5
- package/dist/index.es191.js +17 -4
- package/dist/index.es192.js +5 -17
- package/dist/index.es193.js +5 -5
- package/dist/index.es194.js +8 -5
- package/dist/index.es195.js +6 -9
- package/dist/index.es196.js +7 -6
- package/dist/index.es197.js +15 -6
- package/dist/index.es198.js +13 -15
- package/dist/index.es199.js +12 -12
- package/dist/index.es200.js +6 -13
- package/dist/index.es201.js +6 -6
- package/dist/index.es202.js +6 -6
- package/dist/index.es203.js +4 -6
- package/dist/index.es204.js +515 -4
- package/dist/index.es205.js +48 -514
- package/dist/index.es206.js +18 -50
- package/dist/index.es207.js +9 -17
- package/dist/index.es208.js +19 -10
- package/dist/index.es209.js +8 -18
- package/dist/index.es210.js +7 -8
- package/dist/index.es211.js +7 -7
- package/dist/index.es212.js +5 -7
- package/dist/index.es213.js +6 -5
- package/dist/index.es214.js +9 -6
- package/dist/index.es215.js +5 -9
- package/dist/index.es216.js +8 -5
- package/dist/index.es217.js +12 -8
- package/dist/index.es218.js +9 -12
- package/dist/index.es219.js +8 -9
- package/dist/index.es220.js +10 -8
- package/dist/index.es221.js +14 -10
- package/dist/index.es222.js +6 -14
- package/dist/index.es223.js +6 -6
- package/dist/index.es224.js +6 -6
- package/dist/index.es225.js +6 -6
- package/dist/index.es226.js +6 -6
- package/dist/index.es227.js +9 -6
- package/dist/index.es228.js +84 -9
- package/dist/index.es229.js +65 -85
- package/dist/index.es230.js +38 -65
- package/dist/index.es231.js +9 -37
- package/dist/index.es232.js +8 -9
- package/dist/index.es233.js +6 -7
- package/dist/index.es234.js +10 -7
- package/dist/index.es235.js +7 -10
- package/dist/index.es236.js +7 -7
- package/dist/index.es237.js +6 -7
- package/dist/index.es238.js +5 -6
- package/dist/index.es239.js +15 -5
- package/dist/index.es240.js +11 -15
- package/dist/index.es241.js +1 -1
- package/dist/index.es242.js +5 -5
- package/dist/index.es243.js +5 -5
- package/dist/index.es245.js +195 -172
- package/dist/index.es246.js +20 -199
- package/dist/index.es247.js +25 -22
- package/dist/index.es248.js +369 -23
- package/dist/index.es249.js +171 -364
- package/dist/index.es27.js +1 -1
- package/dist/index.es273.js +2 -16
- package/dist/index.es274.js +398 -8
- package/dist/index.es275.js +723 -2
- package/dist/index.es276.js +276 -391
- package/dist/index.es277.js +60 -722
- package/dist/index.es278.js +8 -281
- package/dist/index.es279.js +28 -60
- package/dist/index.es28.js +3 -3
- package/dist/index.es280.js +199 -10
- package/dist/index.es281.js +15 -29
- package/dist/index.es282.js +3 -199
- package/dist/index.es283.js +16 -4
- package/dist/index.es284.js +8 -14
- package/dist/index.es285.js +4 -15
- package/dist/index.es286.js +13 -24
- package/dist/index.es287.js +15 -29
- package/dist/index.es288.js +5 -5
- package/dist/index.es289.js +56 -14
- package/dist/index.es29.js +6 -6
- package/dist/index.es290.js +28 -3
- package/dist/index.es291.js +46 -4
- package/dist/index.es292.js +64 -54
- package/dist/index.es293.js +32 -22
- package/dist/index.es294.js +13 -41
- package/dist/index.es295.js +48 -47
- package/dist/index.es296.js +50 -20
- package/dist/index.es297.js +63 -13
- package/dist/index.es298.js +43 -42
- package/dist/index.es299.js +26 -48
- package/dist/index.es300.js +26 -48
- package/dist/index.es301.js +37 -47
- package/dist/index.es302.js +25 -22
- package/dist/index.es303.js +34 -38
- package/dist/index.es304.js +53 -40
- package/dist/index.es305.js +50 -27
- package/dist/index.es306.js +88 -34
- package/dist/index.es307.js +32 -57
- package/dist/index.es308.js +35 -60
- package/dist/index.es309.js +38 -88
- package/dist/index.es31.js +2 -2
- package/dist/index.es310.js +23 -39
- package/dist/index.es311.js +22 -39
- package/dist/index.es312.js +22 -39
- package/dist/index.es313.js +19 -19
- package/dist/index.es314.js +18 -18
- package/dist/index.es315.js +18 -18
- package/dist/index.es316.js +14 -25
- package/dist/index.es317.js +38 -22
- package/dist/index.es318.js +38 -22
- package/dist/index.es319.js +14 -14
- package/dist/index.es32.js +2 -2
- package/dist/index.es320.js +14 -40
- package/dist/index.es321.js +23 -44
- package/dist/index.es322.js +29 -20
- package/dist/index.es323.js +5 -20
- package/dist/index.es325.js +1 -1
- package/dist/index.es326.js +5 -5
- package/dist/index.es327.js +1 -1
- package/dist/index.es34.js +6 -6
- package/dist/index.es342.js +2 -2
- package/dist/index.es344.js +2 -2
- package/dist/index.es347.js +1 -1
- package/dist/index.es348.js +1 -1
- package/dist/index.es35.js +2 -2
- package/dist/index.es350.js +3 -3
- package/dist/index.es38.js +51 -46
- package/dist/index.es381.js +29 -2
- package/dist/index.es382.js +5 -54
- package/dist/index.es383.js +2 -59
- package/dist/index.es384.js +54 -29
- package/dist/index.es385.js +59 -5
- package/dist/index.es386.js +68 -5
- package/dist/index.es387.js +31 -3
- package/dist/index.es388.js +9 -24
- package/dist/index.es389.js +152 -109
- package/dist/index.es39.js +2 -2
- package/dist/index.es390.js +107 -15
- package/dist/index.es391.js +19 -67
- package/dist/index.es392.js +101 -31
- package/dist/index.es393.js +47 -9
- package/dist/index.es394.js +62 -147
- package/dist/index.es395.js +26 -103
- package/dist/index.es396.js +16 -20
- package/dist/index.es397.js +139 -99
- package/dist/index.es398.js +113 -46
- package/dist/index.es399.js +5 -6
- package/dist/index.es40.js +3 -3
- package/dist/index.es400.js +3 -2
- package/dist/index.es401.js +23 -7
- package/dist/index.es402.js +108 -325
- package/dist/index.es403.js +15 -49
- package/dist/index.es404.js +518 -3
- package/dist/index.es405.js +126 -67
- package/dist/index.es406.js +126 -31
- package/dist/index.es407.js +6 -16
- package/dist/index.es408.js +2 -141
- package/dist/index.es409.js +8 -114
- package/dist/index.es41.js +1 -1
- package/dist/index.es410.js +305 -497
- package/dist/index.es411.js +48 -125
- package/dist/index.es412.js +3 -125
- package/dist/index.es419.js +6 -6
- package/dist/index.es42.js +1 -1
- package/dist/index.es437.js +25 -2
- package/dist/index.es438.js +11 -2
- package/dist/index.es439.js +32 -24
- package/dist/index.es44.js +1 -1
- package/dist/index.es440.js +29 -10
- package/dist/index.es441.js +10 -31
- package/dist/index.es442.js +272 -27
- package/dist/index.es443.js +79 -11
- package/dist/index.es444.js +157 -266
- package/dist/index.es445.js +2 -80
- package/dist/index.es446.js +2 -166
- package/dist/index.es447.js +1 -1
- package/dist/index.es448.js +3 -3
- package/dist/index.es449.js +5 -63
- package/dist/index.es45.js +4 -4
- package/dist/index.es450.js +16 -69
- package/dist/index.es451.js +28 -8
- package/dist/index.es452.js +13 -14
- package/dist/index.es453.js +2 -60
- package/dist/index.es454.js +75 -6
- package/dist/index.es455.js +92 -15
- package/dist/index.es456.js +51 -28
- package/dist/index.es457.js +7 -12
- package/dist/index.es458.js +5 -2
- package/dist/index.es459.js +48 -72
- package/dist/index.es46.js +1 -1
- package/dist/index.es460.js +61 -89
- package/dist/index.es461.js +67 -50
- package/dist/index.es462.js +9 -8
- package/dist/index.es463.js +14 -5
- package/dist/index.es464.js +59 -51
- package/dist/index.es467.js +1 -1
- package/dist/index.es468.js +2 -2
- package/dist/index.es469.js +2 -2
- package/dist/index.es47.js +4 -4
- package/dist/index.es476.js +1 -1
- package/dist/index.es477.js +1 -1
- package/dist/index.es50.js +2 -2
- package/dist/index.es51.js +1 -1
- package/dist/index.es52.js +4 -4
- package/dist/index.es55.js +1 -1
- package/dist/index.es56.js +1 -1
- package/dist/index.es57.js +3 -3
- package/dist/index.es59.js +2 -2
- package/dist/index.es61.js +1 -1
- package/dist/index.es62.js +1 -1
- package/dist/index.es63.js +2 -2
- package/dist/index.es64.js +1 -1
- package/dist/index.es65.js +3 -3
- package/dist/index.es66.js +2 -2
- package/dist/index.es67.js +2 -2
- package/dist/index.es69.js +1 -1
- package/dist/index.es7.js +1 -1
- package/dist/index.es754.js +7 -7
- package/dist/index.es759.js +2 -4
- package/dist/index.es760.js +2 -23
- package/dist/index.es761.js +4 -2
- package/dist/index.es762.js +23 -2
- package/dist/index.es763.js +24 -5
- package/dist/index.es764.js +8 -17
- package/dist/index.es765.js +66 -7
- package/dist/index.es766.js +50 -54
- package/dist/index.es767.js +69 -17
- package/dist/index.es768.js +2 -24
- package/dist/index.es769.js +2 -8
- package/dist/index.es770.js +5 -67
- package/dist/index.es771.js +16 -51
- package/dist/index.es772.js +7 -70
- package/dist/index.es773.js +56 -2
- package/dist/index.es774.js +19 -2
- package/dist/index.es779.js +6 -21
- package/dist/index.es78.js +1 -1
- package/dist/index.es780.js +20 -56
- package/dist/index.es781.js +49 -26
- package/dist/index.es782.js +34 -9
- package/dist/index.es783.js +9 -18
- package/dist/index.es784.js +18 -8
- package/dist/index.es785.js +8 -12
- package/dist/index.es786.js +11 -56
- package/dist/index.es787.js +57 -9
- package/dist/index.es788.js +9 -14
- package/dist/index.es789.js +14 -6
- package/dist/index.es79.js +1 -1
- package/dist/index.es790.js +7 -28
- package/dist/index.es791.js +28 -3
- package/dist/index.es792.js +3 -7
- package/dist/index.es797.js +1 -1
- package/dist/index.es798.js +1 -1
- package/dist/index.es799.js +1 -1
- package/dist/index.es800.js +1 -1
- package/dist/index.es801.js +1 -1
- package/dist/index.es802.js +1 -1
- package/dist/index.es804.js +1 -1
- package/dist/index.es806.js +10 -8
- package/dist/index.es807.js +7 -9
- package/dist/index.es808.js +2 -2
- package/dist/index.es809.js +8 -10
- package/dist/index.es810.js +9 -7
- package/dist/index.es823.js +1 -1
- package/dist/index.es825.js +38 -25
- package/dist/index.es826.js +25 -38
- package/dist/index.es827.js +1 -1
- package/dist/index.es829.js +1 -1
- package/dist/index.es830.js +1 -1
- package/dist/index.es831.js +1 -1
- package/dist/index.es84.js +1 -1
- package/dist/index.es86.js +54 -29
- package/dist/index.es87.js +55 -12
- package/dist/index.es88.js +90 -55
- package/dist/index.es89.js +37 -55
- package/dist/index.es90.js +22 -88
- package/dist/index.es91.js +29 -36
- package/dist/index.es92.js +32 -23
- package/dist/index.es93.js +46 -30
- package/dist/index.es94.js +29 -32
- package/dist/index.es95.js +26 -42
- package/dist/index.es96.js +9 -30
- package/dist/index.es97.js +12 -259
- package/dist/index.es98.js +1062 -12
- package/dist/index.es99.js +3672 -7
- package/package.json +2 -2
package/dist/index.es276.js
CHANGED
|
@@ -1,400 +1,285 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
if (n = N(e), n === null) throw Error("Unable to find node on an unmounted component.");
|
|
36
|
-
return n !== e ? null : e;
|
|
37
|
-
}
|
|
38
|
-
for (var t = e, r = n; ; ) {
|
|
39
|
-
var i = t.return;
|
|
40
|
-
if (i === null) break;
|
|
41
|
-
var a = i.alternate;
|
|
42
|
-
if (a === null) {
|
|
43
|
-
if (r = i.return, r !== null) {
|
|
44
|
-
t = r;
|
|
45
|
-
continue;
|
|
46
|
-
}
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
|
-
if (i.child === a.child) {
|
|
50
|
-
for (a = i.child; a; ) {
|
|
51
|
-
if (a === t) return L(i), e;
|
|
52
|
-
if (a === r) return L(i), n;
|
|
53
|
-
a = a.sibling;
|
|
54
|
-
}
|
|
55
|
-
throw Error("Unable to find node on an unmounted component.");
|
|
56
|
-
}
|
|
57
|
-
if (t.return !== r.return) t = i, r = a;
|
|
58
|
-
else {
|
|
59
|
-
for (var o = !1, s = i.child; s; ) {
|
|
60
|
-
if (s === t) {
|
|
61
|
-
o = !0, t = i, r = a;
|
|
62
|
-
break;
|
|
63
|
-
}
|
|
64
|
-
if (s === r) {
|
|
65
|
-
o = !0, r = i, t = a;
|
|
66
|
-
break;
|
|
67
|
-
}
|
|
68
|
-
s = s.sibling;
|
|
69
|
-
}
|
|
70
|
-
if (!o) {
|
|
71
|
-
for (s = a.child; s; ) {
|
|
72
|
-
if (s === t) {
|
|
73
|
-
o = !0, t = a, r = i;
|
|
74
|
-
break;
|
|
75
|
-
}
|
|
76
|
-
if (s === r) {
|
|
77
|
-
o = !0, r = a, t = i;
|
|
78
|
-
break;
|
|
79
|
-
}
|
|
80
|
-
s = s.sibling;
|
|
81
|
-
}
|
|
82
|
-
if (!o) throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
if (t.alternate !== r) throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.");
|
|
86
|
-
}
|
|
87
|
-
if (t.tag !== 3) throw Error("Unable to find node on an unmounted component.");
|
|
88
|
-
return t.stateNode.current === t ? e : n;
|
|
89
|
-
}
|
|
90
|
-
var l = Object.assign;
|
|
91
|
-
function M(e) {
|
|
92
|
-
var n = e.keyCode;
|
|
93
|
-
return "charCode" in e ? (e = e.charCode, e === 0 && n === 13 && (e = 13)) : e = n, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;
|
|
94
|
-
}
|
|
95
|
-
function C() {
|
|
96
|
-
return !0;
|
|
97
|
-
}
|
|
98
|
-
function A() {
|
|
99
|
-
return !1;
|
|
100
|
-
}
|
|
101
|
-
function c(e) {
|
|
102
|
-
function n(t, r, i, a, o) {
|
|
103
|
-
this._reactName = t, this._targetInst = i, this.type = r, this.nativeEvent = a, this.target = o, this.currentTarget = null;
|
|
104
|
-
for (var s in e) e.hasOwnProperty(s) && (t = e[s], this[s] = t ? t(a) : a[s]);
|
|
105
|
-
return this.isDefaultPrevented = (a.defaultPrevented != null ? a.defaultPrevented : a.returnValue === !1) ? C : A, this.isPropagationStopped = A, this;
|
|
106
|
-
}
|
|
107
|
-
return l(n.prototype, { preventDefault: function() {
|
|
108
|
-
this.defaultPrevented = !0;
|
|
109
|
-
var t = this.nativeEvent;
|
|
110
|
-
t && (t.preventDefault ? t.preventDefault() : typeof t.returnValue != "unknown" && (t.returnValue = !1), this.isDefaultPrevented = C);
|
|
111
|
-
}, stopPropagation: function() {
|
|
112
|
-
var t = this.nativeEvent;
|
|
113
|
-
t && (t.stopPropagation ? t.stopPropagation() : typeof t.cancelBubble != "unknown" && (t.cancelBubble = !0), this.isPropagationStopped = C);
|
|
114
|
-
}, persist: function() {
|
|
115
|
-
}, isPersistent: C }), n;
|
|
116
|
-
}
|
|
117
|
-
var h = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) {
|
|
118
|
-
return e.timeStamp || Date.now();
|
|
119
|
-
}, defaultPrevented: 0, isTrusted: 0 }, z = c(h), m = l({}, h, { view: 0, detail: 0 });
|
|
120
|
-
c(m);
|
|
121
|
-
var O, P, y, E = l({}, m, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: R, button: 0, buttons: 0, relatedTarget: function(e) {
|
|
122
|
-
return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
|
|
123
|
-
}, movementX: function(e) {
|
|
124
|
-
return "movementX" in e ? e.movementX : (e !== y && (y && e.type === "mousemove" ? (O = e.screenX - y.screenX, P = e.screenY - y.screenY) : P = O = 0, y = e), O);
|
|
125
|
-
}, movementY: function(e) {
|
|
126
|
-
return "movementY" in e ? e.movementY : P;
|
|
127
|
-
} });
|
|
128
|
-
c(E);
|
|
129
|
-
var H = l({}, E, { dataTransfer: 0 });
|
|
130
|
-
c(H);
|
|
131
|
-
var Z = l({}, m, { relatedTarget: 0 });
|
|
132
|
-
c(Z);
|
|
133
|
-
var G = l({}, h, { animationName: 0, elapsedTime: 0, pseudoElement: 0 });
|
|
134
|
-
c(G);
|
|
135
|
-
var J = l({}, h, { clipboardData: function(e) {
|
|
136
|
-
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
|
|
137
|
-
} });
|
|
138
|
-
c(J);
|
|
139
|
-
var Q = l({}, h, { data: 0 });
|
|
140
|
-
c(Q);
|
|
141
|
-
var $ = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, ee = {
|
|
142
|
-
8: "Backspace",
|
|
143
|
-
9: "Tab",
|
|
144
|
-
12: "Clear",
|
|
145
|
-
13: "Enter",
|
|
146
|
-
16: "Shift",
|
|
147
|
-
17: "Control",
|
|
148
|
-
18: "Alt",
|
|
149
|
-
19: "Pause",
|
|
150
|
-
20: "CapsLock",
|
|
151
|
-
27: "Escape",
|
|
152
|
-
32: " ",
|
|
153
|
-
33: "PageUp",
|
|
154
|
-
34: "PageDown",
|
|
155
|
-
35: "End",
|
|
156
|
-
36: "Home",
|
|
157
|
-
37: "ArrowLeft",
|
|
158
|
-
38: "ArrowUp",
|
|
159
|
-
39: "ArrowRight",
|
|
160
|
-
40: "ArrowDown",
|
|
161
|
-
45: "Insert",
|
|
162
|
-
46: "Delete",
|
|
163
|
-
112: "F1",
|
|
164
|
-
113: "F2",
|
|
165
|
-
114: "F3",
|
|
166
|
-
115: "F4",
|
|
167
|
-
116: "F5",
|
|
168
|
-
117: "F6",
|
|
169
|
-
118: "F7",
|
|
170
|
-
119: "F8",
|
|
171
|
-
120: "F9",
|
|
172
|
-
121: "F10",
|
|
173
|
-
122: "F11",
|
|
174
|
-
123: "F12",
|
|
175
|
-
144: "NumLock",
|
|
176
|
-
145: "ScrollLock",
|
|
177
|
-
224: "Meta"
|
|
178
|
-
}, te = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
|
|
179
|
-
function ne(e) {
|
|
180
|
-
var n = this.nativeEvent;
|
|
181
|
-
return n.getModifierState ? n.getModifierState(e) : (e = te[e]) ? !!n[e] : !1;
|
|
1
|
+
import { __exports as s } from "./index.es351.js";
|
|
2
|
+
import { a as M } from "./index.es352.js";
|
|
3
|
+
import "./index.es353.js";
|
|
4
|
+
import "./index.es354.js";
|
|
5
|
+
import "./index.es355.js";
|
|
6
|
+
import "./index.es356.js";
|
|
7
|
+
import "./index.es357.js";
|
|
8
|
+
import "./index.es358.js";
|
|
9
|
+
import "./index.es359.js";
|
|
10
|
+
import "./index.es360.js";
|
|
11
|
+
import { __exports as R } from "./index.es361.js";
|
|
12
|
+
import { __exports as F } from "./index.es362.js";
|
|
13
|
+
import { __exports as C } from "./index.es363.js";
|
|
14
|
+
import { __exports as $ } from "./index.es364.js";
|
|
15
|
+
import { __exports as B } from "./index.es365.js";
|
|
16
|
+
import { __exports as U } from "./index.es366.js";
|
|
17
|
+
import { __exports as J } from "./index.es367.js";
|
|
18
|
+
import { __exports as L } from "./index.es368.js";
|
|
19
|
+
Object.defineProperty(s, "__esModule", {
|
|
20
|
+
value: !0
|
|
21
|
+
});
|
|
22
|
+
s.default = s.DEFAULT_OPTIONS = void 0;
|
|
23
|
+
var Te = s.format = P, k = s.plugins = void 0, K = l(M), f = L, W = l(
|
|
24
|
+
R
|
|
25
|
+
), V = l(F), G = l(C), H = l($), z = l(B), X = l(U), Y = l(
|
|
26
|
+
J
|
|
27
|
+
);
|
|
28
|
+
function l(e) {
|
|
29
|
+
return e && e.__esModule ? e : { default: e };
|
|
30
|
+
}
|
|
31
|
+
const h = Object.prototype.toString, q = Date.prototype.toISOString, Q = Error.prototype.toString, g = RegExp.prototype.toString, y = (e) => typeof e.constructor == "function" && e.constructor.name || "Object", Z = (e) => typeof window < "u" && e === window, v = /^Symbol\((.*)\)(.*)$/, ee = /\n/gi;
|
|
32
|
+
class S extends Error {
|
|
33
|
+
constructor(t, r) {
|
|
34
|
+
super(t), this.stack = r, this.name = this.constructor.name;
|
|
182
35
|
}
|
|
183
|
-
|
|
184
|
-
|
|
36
|
+
}
|
|
37
|
+
function te(e) {
|
|
38
|
+
return e === "[object Array]" || e === "[object ArrayBuffer]" || e === "[object DataView]" || e === "[object Float32Array]" || e === "[object Float64Array]" || e === "[object Int8Array]" || e === "[object Int16Array]" || e === "[object Int32Array]" || e === "[object Uint8Array]" || e === "[object Uint8ClampedArray]" || e === "[object Uint16Array]" || e === "[object Uint32Array]";
|
|
39
|
+
}
|
|
40
|
+
function re(e) {
|
|
41
|
+
return Object.is(e, -0) ? "-0" : String(e);
|
|
42
|
+
}
|
|
43
|
+
function ne(e) {
|
|
44
|
+
return `${e}n`;
|
|
45
|
+
}
|
|
46
|
+
function b(e, t) {
|
|
47
|
+
return t ? "[Function " + (e.name || "anonymous") + "]" : "[Function]";
|
|
48
|
+
}
|
|
49
|
+
function O(e) {
|
|
50
|
+
return String(e).replace(v, "Symbol($1)");
|
|
51
|
+
}
|
|
52
|
+
function _(e) {
|
|
53
|
+
return "[" + Q.call(e) + "]";
|
|
54
|
+
}
|
|
55
|
+
function j(e, t, r, u) {
|
|
56
|
+
if (e === !0 || e === !1)
|
|
57
|
+
return "" + e;
|
|
58
|
+
if (e === void 0)
|
|
59
|
+
return "undefined";
|
|
60
|
+
if (e === null)
|
|
61
|
+
return "null";
|
|
62
|
+
const n = typeof e;
|
|
63
|
+
if (n === "number")
|
|
64
|
+
return re(e);
|
|
65
|
+
if (n === "bigint")
|
|
66
|
+
return ne(e);
|
|
67
|
+
if (n === "string")
|
|
68
|
+
return u ? '"' + e.replace(/"|\\/g, "\\$&") + '"' : '"' + e + '"';
|
|
69
|
+
if (n === "function")
|
|
70
|
+
return b(e, t);
|
|
71
|
+
if (n === "symbol")
|
|
72
|
+
return O(e);
|
|
73
|
+
const i = h.call(e);
|
|
74
|
+
return i === "[object WeakMap]" ? "WeakMap {}" : i === "[object WeakSet]" ? "WeakSet {}" : i === "[object Function]" || i === "[object GeneratorFunction]" ? b(e, t) : i === "[object Symbol]" ? O(e) : i === "[object Date]" ? isNaN(+e) ? "Date { NaN }" : q.call(e) : i === "[object Error]" ? _(e) : i === "[object RegExp]" ? r ? g.call(e).replace(/[\\^$*+?.()|[\]{}]/g, "\\$&") : g.call(e) : e instanceof Error ? _(e) : null;
|
|
75
|
+
}
|
|
76
|
+
function x(e, t, r, u, n, i) {
|
|
77
|
+
if (n.indexOf(e) !== -1)
|
|
78
|
+
return "[Circular]";
|
|
79
|
+
n = n.slice(), n.push(e);
|
|
80
|
+
const c = ++u > t.maxDepth, a = t.min;
|
|
81
|
+
if (t.callToJSON && !c && e.toJSON && typeof e.toJSON == "function" && !i)
|
|
82
|
+
return m(e.toJSON(), t, r, u, n, !0);
|
|
83
|
+
const p = h.call(e);
|
|
84
|
+
return p === "[object Arguments]" ? c ? "[Arguments]" : (a ? "" : "Arguments ") + "[" + (0, f.printListItems)(
|
|
85
|
+
e,
|
|
86
|
+
t,
|
|
87
|
+
r,
|
|
88
|
+
u,
|
|
89
|
+
n,
|
|
90
|
+
m
|
|
91
|
+
) + "]" : te(p) ? c ? "[" + e.constructor.name + "]" : (a || !t.printBasicPrototype && e.constructor.name === "Array" ? "" : e.constructor.name + " ") + "[" + (0, f.printListItems)(
|
|
92
|
+
e,
|
|
93
|
+
t,
|
|
94
|
+
r,
|
|
95
|
+
u,
|
|
96
|
+
n,
|
|
97
|
+
m
|
|
98
|
+
) + "]" : p === "[object Map]" ? c ? "[Map]" : "Map {" + (0, f.printIteratorEntries)(
|
|
99
|
+
e.entries(),
|
|
100
|
+
t,
|
|
101
|
+
r,
|
|
102
|
+
u,
|
|
103
|
+
n,
|
|
104
|
+
m,
|
|
105
|
+
" => "
|
|
106
|
+
) + "}" : p === "[object Set]" ? c ? "[Set]" : "Set {" + (0, f.printIteratorValues)(
|
|
107
|
+
e.values(),
|
|
108
|
+
t,
|
|
109
|
+
r,
|
|
110
|
+
u,
|
|
111
|
+
n,
|
|
112
|
+
m
|
|
113
|
+
) + "}" : c || Z(e) ? "[" + y(e) + "]" : (a || !t.printBasicPrototype && y(e) === "Object" ? "" : y(e) + " ") + "{" + (0, f.printObjectProperties)(
|
|
114
|
+
e,
|
|
115
|
+
t,
|
|
116
|
+
r,
|
|
117
|
+
u,
|
|
118
|
+
n,
|
|
119
|
+
m
|
|
120
|
+
) + "}";
|
|
121
|
+
}
|
|
122
|
+
function ue(e) {
|
|
123
|
+
return e.serialize != null;
|
|
124
|
+
}
|
|
125
|
+
function w(e, t, r, u, n, i) {
|
|
126
|
+
let c;
|
|
127
|
+
try {
|
|
128
|
+
c = ue(e) ? e.serialize(t, r, u, n, i, m) : e.print(
|
|
129
|
+
t,
|
|
130
|
+
(a) => m(a, r, u, n, i),
|
|
131
|
+
(a) => {
|
|
132
|
+
const p = u + r.indent;
|
|
133
|
+
return p + a.replace(ee, `
|
|
134
|
+
` + p);
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
edgeSpacing: r.spacingOuter,
|
|
138
|
+
min: r.min,
|
|
139
|
+
spacing: r.spacingInner
|
|
140
|
+
},
|
|
141
|
+
r.colors
|
|
142
|
+
);
|
|
143
|
+
} catch (a) {
|
|
144
|
+
throw new S(a.message, a.stack);
|
|
185
145
|
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
}, keyCode: function(e) {
|
|
195
|
-
return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
|
196
|
-
}, which: function(e) {
|
|
197
|
-
return e.type === "keypress" ? M(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
|
|
198
|
-
} });
|
|
199
|
-
c(re);
|
|
200
|
-
var oe = l({}, E, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 });
|
|
201
|
-
c(oe);
|
|
202
|
-
var ie = l({}, m, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: R });
|
|
203
|
-
c(ie);
|
|
204
|
-
var ae = l({}, h, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 });
|
|
205
|
-
c(ae);
|
|
206
|
-
var se = l({}, E, { deltaX: function(e) {
|
|
207
|
-
return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
|
|
208
|
-
}, deltaY: function(e) {
|
|
209
|
-
return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0;
|
|
210
|
-
}, deltaZ: 0, deltaMode: 0 });
|
|
211
|
-
c(se);
|
|
212
|
-
function ue(e, n, t, r, i, a, o, s, w) {
|
|
213
|
-
var d = Array.prototype.slice.call(arguments, 3);
|
|
146
|
+
if (typeof c != "string")
|
|
147
|
+
throw new Error(
|
|
148
|
+
`pretty-format: Plugin must return type "string" but instead returned "${typeof c}".`
|
|
149
|
+
);
|
|
150
|
+
return c;
|
|
151
|
+
}
|
|
152
|
+
function A(e, t) {
|
|
153
|
+
for (let r = 0; r < e.length; r++)
|
|
214
154
|
try {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
var v = !1, D = null, b = !1, S = null, le = { onError: function(e) {
|
|
221
|
-
v = !0, D = e;
|
|
222
|
-
} };
|
|
223
|
-
function ce(e, n, t, r, i, a, o, s, w) {
|
|
224
|
-
v = !1, D = null, ue.apply(le, arguments);
|
|
225
|
-
}
|
|
226
|
-
function de(e, n, t, r, i, a, o, s, w) {
|
|
227
|
-
if (ce.apply(this, arguments), v) {
|
|
228
|
-
if (v) {
|
|
229
|
-
var d = D;
|
|
230
|
-
v = !1, D = null;
|
|
231
|
-
} else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
|
|
232
|
-
b || (b = !0, S = d);
|
|
155
|
+
if (e[r].test(t))
|
|
156
|
+
return e[r];
|
|
157
|
+
} catch (u) {
|
|
158
|
+
throw new S(u.message, u.stack);
|
|
233
159
|
}
|
|
160
|
+
return null;
|
|
161
|
+
}
|
|
162
|
+
function m(e, t, r, u, n, i) {
|
|
163
|
+
const c = A(t.plugins, e);
|
|
164
|
+
if (c !== null)
|
|
165
|
+
return w(c, e, t, r, u, n);
|
|
166
|
+
const a = j(
|
|
167
|
+
e,
|
|
168
|
+
t.printFunctionName,
|
|
169
|
+
t.escapeRegex,
|
|
170
|
+
t.escapeString
|
|
171
|
+
);
|
|
172
|
+
return a !== null ? a : x(
|
|
173
|
+
e,
|
|
174
|
+
t,
|
|
175
|
+
r,
|
|
176
|
+
u,
|
|
177
|
+
n,
|
|
178
|
+
i
|
|
179
|
+
);
|
|
180
|
+
}
|
|
181
|
+
const d = {
|
|
182
|
+
comment: "gray",
|
|
183
|
+
content: "reset",
|
|
184
|
+
prop: "yellow",
|
|
185
|
+
tag: "cyan",
|
|
186
|
+
value: "green"
|
|
187
|
+
}, N = Object.keys(d), o = {
|
|
188
|
+
callToJSON: !0,
|
|
189
|
+
compareKeys: void 0,
|
|
190
|
+
escapeRegex: !1,
|
|
191
|
+
escapeString: !0,
|
|
192
|
+
highlight: !1,
|
|
193
|
+
indent: 2,
|
|
194
|
+
maxDepth: 1 / 0,
|
|
195
|
+
min: !1,
|
|
196
|
+
plugins: [],
|
|
197
|
+
printBasicPrototype: !0,
|
|
198
|
+
printFunctionName: !0,
|
|
199
|
+
theme: d
|
|
200
|
+
};
|
|
201
|
+
s.DEFAULT_OPTIONS = o;
|
|
202
|
+
function ie(e) {
|
|
203
|
+
if (Object.keys(e).forEach((t) => {
|
|
204
|
+
if (!o.hasOwnProperty(t))
|
|
205
|
+
throw new Error(`pretty-format: Unknown option "${t}".`);
|
|
206
|
+
}), e.min && e.indent !== void 0 && e.indent !== 0)
|
|
207
|
+
throw new Error(
|
|
208
|
+
'pretty-format: Options "min" and "indent" cannot be used together.'
|
|
209
|
+
);
|
|
210
|
+
if (e.theme !== void 0) {
|
|
211
|
+
if (e.theme === null)
|
|
212
|
+
throw new Error('pretty-format: Option "theme" must not be null.');
|
|
213
|
+
if (typeof e.theme != "object")
|
|
214
|
+
throw new Error(
|
|
215
|
+
`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`
|
|
216
|
+
);
|
|
234
217
|
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
var r = t.className;
|
|
279
|
-
typeof r != "string" && (r = t.getAttribute("class") || "");
|
|
280
|
-
var i = r.split(/\s+/);
|
|
281
|
-
if (!U(n)) {
|
|
282
|
-
if (n === void 0) throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");
|
|
283
|
-
n = n.split(/\s+/);
|
|
284
|
-
}
|
|
285
|
-
return n.every(function(a) {
|
|
286
|
-
return i.indexOf(a) !== -1;
|
|
287
|
-
});
|
|
288
|
-
}
|
|
289
|
-
return !1;
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
|
-
function W(e, n) {
|
|
293
|
-
return p(e, "scryRenderedDOMComponentsWithTag"), _(e, function(t) {
|
|
294
|
-
return k(t) && t.tagName.toUpperCase() === n.toUpperCase();
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
|
-
function Y(e, n) {
|
|
298
|
-
return p(e, "scryRenderedComponentsWithType"), _(e, function(t) {
|
|
299
|
-
return x(t, n);
|
|
300
|
-
});
|
|
301
|
-
}
|
|
302
|
-
function X(e, n, t) {
|
|
303
|
-
var r = e.type || "unknown-event";
|
|
304
|
-
e.currentTarget = fe(t), de(r, n, void 0, e), e.currentTarget = null;
|
|
305
|
-
}
|
|
306
|
-
function F(e, n, t) {
|
|
307
|
-
for (var r = []; e; ) {
|
|
308
|
-
r.push(e);
|
|
309
|
-
do
|
|
310
|
-
e = e.return;
|
|
311
|
-
while (e && e.tag !== 5);
|
|
312
|
-
e = e || null;
|
|
313
|
-
}
|
|
314
|
-
for (e = r.length; 0 < e--; ) n(r[e], "captured", t);
|
|
315
|
-
for (e = 0; e < r.length; e++) n(r[e], "bubbled", t);
|
|
316
|
-
}
|
|
317
|
-
function V(e, n) {
|
|
318
|
-
var t = e.stateNode;
|
|
319
|
-
if (!t) return null;
|
|
320
|
-
var r = he(t);
|
|
321
|
-
if (!r) return null;
|
|
322
|
-
t = r[n];
|
|
323
|
-
e: switch (n) {
|
|
324
|
-
case "onClick":
|
|
325
|
-
case "onClickCapture":
|
|
326
|
-
case "onDoubleClick":
|
|
327
|
-
case "onDoubleClickCapture":
|
|
328
|
-
case "onMouseDown":
|
|
329
|
-
case "onMouseDownCapture":
|
|
330
|
-
case "onMouseMove":
|
|
331
|
-
case "onMouseMoveCapture":
|
|
332
|
-
case "onMouseUp":
|
|
333
|
-
case "onMouseUpCapture":
|
|
334
|
-
case "onMouseEnter":
|
|
335
|
-
(r = !r.disabled) || (e = e.type, r = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !r;
|
|
336
|
-
break e;
|
|
337
|
-
default:
|
|
338
|
-
e = !1;
|
|
339
|
-
}
|
|
340
|
-
if (e) return null;
|
|
341
|
-
if (t && typeof t != "function") throw Error("Expected `" + n + "` listener to be a function, instead got a value of `" + typeof t + "` type.");
|
|
342
|
-
return t;
|
|
343
|
-
}
|
|
344
|
-
function Ce(e, n, t) {
|
|
345
|
-
e && t && t._reactName && (n = V(e, t._reactName)) && (t._dispatchListeners == null && (t._dispatchListeners = []), t._dispatchInstances == null && (t._dispatchInstances = []), t._dispatchListeners.push(n), t._dispatchInstances.push(e));
|
|
346
|
-
}
|
|
347
|
-
function Ee(e, n, t) {
|
|
348
|
-
var r = t._reactName;
|
|
349
|
-
n === "captured" && (r += "Capture"), (n = V(e, r)) && (t._dispatchListeners == null && (t._dispatchListeners = []), t._dispatchInstances == null && (t._dispatchInstances = []), t._dispatchListeners.push(n), t._dispatchInstances.push(e));
|
|
350
|
-
}
|
|
351
|
-
var j = {}, De = /* @__PURE__ */ new Set(["mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave"]);
|
|
352
|
-
function be(e) {
|
|
353
|
-
return function(n, t) {
|
|
354
|
-
if (f.isValidElement(n)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");
|
|
355
|
-
if (I(n)) throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");
|
|
356
|
-
var r = "on" + e[0].toUpperCase() + e.slice(1), i = new ge();
|
|
357
|
-
i.target = n, i.type = e.toLowerCase();
|
|
358
|
-
var a = pe(n), o = new z(r, i.type, a, i, n);
|
|
359
|
-
o.persist(), l(o, t), De.has(e) ? o && o._reactName && Ce(o._targetInst, null, o) : o && o._reactName && F(o._targetInst, Ee, o), T.unstable_batchedUpdates(function() {
|
|
360
|
-
if (me(n), o) {
|
|
361
|
-
var s = o._dispatchListeners, w = o._dispatchInstances;
|
|
362
|
-
if (U(s)) for (var d = 0; d < s.length && !o.isPropagationStopped(); d++) X(o, s[d], w[d]);
|
|
363
|
-
else s && X(o, s, w);
|
|
364
|
-
o._dispatchListeners = null, o._dispatchInstances = null, o.isPersistent() || o.constructor.release(o);
|
|
365
|
-
}
|
|
366
|
-
if (b) throw s = S, b = !1, S = null, s;
|
|
367
|
-
}), ye();
|
|
368
|
-
};
|
|
218
|
+
}
|
|
219
|
+
const ce = (e) => N.reduce((t, r) => {
|
|
220
|
+
const u = e.theme && e.theme[r] !== void 0 ? e.theme[r] : d[r], n = u && K.default[u];
|
|
221
|
+
if (n && typeof n.close == "string" && typeof n.open == "string")
|
|
222
|
+
t[r] = n;
|
|
223
|
+
else
|
|
224
|
+
throw new Error(
|
|
225
|
+
`pretty-format: Option "theme" has a key "${r}" whose value "${u}" is undefined in ansi-styles.`
|
|
226
|
+
);
|
|
227
|
+
return t;
|
|
228
|
+
}, /* @__PURE__ */ Object.create(null)), ae = () => N.reduce((e, t) => (e[t] = {
|
|
229
|
+
close: "",
|
|
230
|
+
open: ""
|
|
231
|
+
}, e), /* @__PURE__ */ Object.create(null)), D = (e) => e && e.printFunctionName !== void 0 ? e.printFunctionName : o.printFunctionName, T = (e) => e && e.escapeRegex !== void 0 ? e.escapeRegex : o.escapeRegex, I = (e) => e && e.escapeString !== void 0 ? e.escapeString : o.escapeString, E = (e) => {
|
|
232
|
+
var t;
|
|
233
|
+
return {
|
|
234
|
+
callToJSON: e && e.callToJSON !== void 0 ? e.callToJSON : o.callToJSON,
|
|
235
|
+
colors: e && e.highlight ? ce(e) : ae(),
|
|
236
|
+
compareKeys: e && typeof e.compareKeys == "function" ? e.compareKeys : o.compareKeys,
|
|
237
|
+
escapeRegex: T(e),
|
|
238
|
+
escapeString: I(e),
|
|
239
|
+
indent: e && e.min ? "" : oe(
|
|
240
|
+
e && e.indent !== void 0 ? e.indent : o.indent
|
|
241
|
+
),
|
|
242
|
+
maxDepth: e && e.maxDepth !== void 0 ? e.maxDepth : o.maxDepth,
|
|
243
|
+
min: e && e.min !== void 0 ? e.min : o.min,
|
|
244
|
+
plugins: e && e.plugins !== void 0 ? e.plugins : o.plugins,
|
|
245
|
+
printBasicPrototype: (t = e == null ? void 0 : e.printBasicPrototype) !== null && t !== void 0 ? t : !0,
|
|
246
|
+
printFunctionName: D(e),
|
|
247
|
+
spacingInner: e && e.min ? " " : `
|
|
248
|
+
`,
|
|
249
|
+
spacingOuter: e && e.min ? "" : `
|
|
250
|
+
`
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
function oe(e) {
|
|
254
|
+
return new Array(e + 1).join(" ");
|
|
255
|
+
}
|
|
256
|
+
function P(e, t) {
|
|
257
|
+
if (t && (ie(t), t.plugins)) {
|
|
258
|
+
const u = A(t.plugins, e);
|
|
259
|
+
if (u !== null)
|
|
260
|
+
return w(u, e, E(t), "", 0, []);
|
|
369
261
|
}
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
return e[0];
|
|
378
|
-
}, u.findRenderedDOMComponentWithTag = function(e, n) {
|
|
379
|
-
if (p(e, "findRenderedDOMComponentWithTag"), e = W(e, n), e.length !== 1) throw Error("Did not find exactly one match (found: " + e.length + ") for tag:" + n);
|
|
380
|
-
return e[0];
|
|
381
|
-
}, u.isCompositeComponent = I, u.isCompositeComponentWithType = x, u.isDOMComponent = k, u.isDOMComponentElement = function(e) {
|
|
382
|
-
return !!(e && f.isValidElement(e) && e.tagName);
|
|
383
|
-
}, u.isElement = function(e) {
|
|
384
|
-
return f.isValidElement(e);
|
|
385
|
-
}, u.isElementOfType = function(e, n) {
|
|
386
|
-
return f.isValidElement(e) && e.type === n;
|
|
387
|
-
}, u.mockComponent = function(e, n) {
|
|
388
|
-
return n = n || e.mockTagName || "div", e.prototype.render.mockImplementation(function() {
|
|
389
|
-
return f.createElement(n, null, this.props.children);
|
|
390
|
-
}), this;
|
|
391
|
-
}, u.nativeTouchData = function(e, n) {
|
|
392
|
-
return { touches: [{ pageX: e, pageY: n }] };
|
|
393
|
-
}, u.renderIntoDocument = function(e) {
|
|
394
|
-
var n = document.createElement("div");
|
|
395
|
-
return T.render(e, n);
|
|
396
|
-
}, u.scryRenderedComponentsWithType = Y, u.scryRenderedDOMComponentsWithClass = K, u.scryRenderedDOMComponentsWithTag = W, u.traverseTwoPhase = F, u;
|
|
262
|
+
const r = j(
|
|
263
|
+
e,
|
|
264
|
+
D(t),
|
|
265
|
+
T(t),
|
|
266
|
+
I(t)
|
|
267
|
+
);
|
|
268
|
+
return r !== null ? r : x(e, E(t), "", 0, []);
|
|
397
269
|
}
|
|
270
|
+
const me = {
|
|
271
|
+
AsymmetricMatcher: W.default,
|
|
272
|
+
ConvertAnsi: V.default,
|
|
273
|
+
DOMCollection: G.default,
|
|
274
|
+
DOMElement: H.default,
|
|
275
|
+
Immutable: z.default,
|
|
276
|
+
ReactElement: X.default,
|
|
277
|
+
ReactTestComponent: Y.default
|
|
278
|
+
};
|
|
279
|
+
k = s.plugins = me;
|
|
280
|
+
var se = P;
|
|
281
|
+
s.default = se;
|
|
398
282
|
export {
|
|
399
|
-
|
|
283
|
+
Te as format,
|
|
284
|
+
k as plugins
|
|
400
285
|
};
|