@boxcustodia/library 0.2.6 → 0.2.7
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 +13 -7
- package/dist/index.es.js +191 -191
- package/dist/index.es10.js +1 -1
- package/dist/index.es100.js +21 -1059
- package/dist/index.es101.js +30 -3674
- package/dist/index.es102.js +11 -4
- package/dist/index.es103.js +21 -4
- package/dist/index.es104.js +12 -259
- package/dist/index.es105.js +4 -5
- package/dist/index.es106.js +11 -240
- package/dist/index.es107.js +12 -224
- package/dist/index.es108.js +3672 -9
- package/dist/index.es109.js +4 -11
- package/dist/index.es11.js +12 -33
- package/dist/index.es110.js +14 -41
- package/dist/index.es111.js +5 -11
- package/dist/index.es112.js +57 -21
- package/dist/index.es113.js +1062 -12
- package/dist/index.es114.js +4 -11
- package/dist/index.es115.js +4 -12
- package/dist/index.es116.js +224 -4
- package/dist/index.es117.js +4 -7
- package/dist/index.es118.js +41 -5
- package/dist/index.es119.js +238 -55
- package/dist/index.es12.js +33 -17
- package/dist/index.es120.js +813 -55
- package/dist/index.es121.js +9 -822
- package/dist/index.es122.js +5 -3
- package/dist/index.es123.js +64 -11
- package/dist/index.es124.js +4 -33
- package/dist/index.es125.js +13 -13
- package/dist/index.es126.js +33 -4
- package/dist/index.es127.js +5 -5
- package/dist/index.es128.js +17 -13
- package/dist/index.es129.js +39 -212
- package/dist/index.es13.js +34 -44
- package/dist/index.es130.js +13 -8
- package/dist/index.es131.js +216 -2
- package/dist/index.es132.js +8 -26
- package/dist/index.es133.js +2 -606
- package/dist/index.es134.js +25 -14
- package/dist/index.es135.js +605 -196
- package/dist/index.es136.js +14 -41
- package/dist/index.es137.js +196 -12
- package/dist/index.es138.js +41 -10
- package/dist/index.es139.js +12 -20
- package/dist/index.es14.js +17 -24
- package/dist/index.es140.js +11 -36
- package/dist/index.es141.js +205 -11
- package/dist/index.es142.js +10 -11
- package/dist/index.es143.js +7 -205
- package/dist/index.es144.js +64 -5
- package/dist/index.es145.js +11 -2
- package/dist/index.es146.js +123 -5
- package/dist/index.es147.js +128 -58
- package/dist/index.es148.js +14 -11
- package/dist/index.es149.js +30 -122
- package/dist/index.es15.js +44 -15
- package/dist/index.es150.js +14 -134
- package/dist/index.es151.js +7 -12
- package/dist/index.es152.js +49 -32
- package/dist/index.es153.js +20 -14
- package/dist/index.es154.js +37 -9
- package/dist/index.es155.js +11 -50
- package/dist/index.es156.js +6 -44
- package/dist/index.es157.js +2 -218
- package/dist/index.es158.js +193 -625
- package/dist/index.es159.js +649 -3
- package/dist/index.es16.js +24 -21
- package/dist/index.es160.js +4 -4
- package/dist/index.es161.js +3 -45
- package/dist/index.es162.js +45 -7
- package/dist/index.es163.js +7 -5
- package/dist/index.es164.js +6 -28
- package/dist/index.es165.js +27 -117
- package/dist/index.es166.js +44 -33
- package/dist/index.es167.js +3 -3
- package/dist/index.es169.js +5 -5
- package/dist/index.es17.js +14 -27
- package/dist/index.es170.js +33 -2
- package/dist/index.es171.js +118 -2
- package/dist/index.es172.js +2 -10
- package/dist/index.es173.js +2 -6
- package/dist/index.es174.js +9 -13
- package/dist/index.es175.js +4 -81
- package/dist/index.es176.js +13 -15
- package/dist/index.es177.js +80 -31
- package/dist/index.es178.js +13 -131
- package/dist/index.es179.js +28 -170
- package/dist/index.es18.js +11 -11
- package/dist/index.es180.js +133 -11
- package/dist/index.es181.js +166 -69
- package/dist/index.es182.js +12 -18
- package/dist/index.es183.js +79 -9
- package/dist/index.es184.js +16 -49
- package/dist/index.es185.js +8 -11
- package/dist/index.es186.js +51 -21
- package/dist/index.es187.js +15 -3
- package/dist/index.es188.js +3 -32
- package/dist/index.es189.js +32 -12
- package/dist/index.es19.js +21 -26
- package/dist/index.es190.js +18 -201
- package/dist/index.es191.js +12 -22
- package/dist/index.es192.js +7 -24
- package/dist/index.es193.js +5 -370
- package/dist/index.es194.js +4 -84
- package/dist/index.es195.js +17 -5
- package/dist/index.es196.js +5 -17
- package/dist/index.es197.js +5 -5
- package/dist/index.es198.js +8 -6
- package/dist/index.es199.js +6 -14
- package/dist/index.es20.js +29 -48
- package/dist/index.es200.js +1 -1
- package/dist/index.es201.js +15 -9
- package/dist/index.es202.js +13 -6
- package/dist/index.es203.js +14 -25
- package/dist/index.es204.js +6 -13
- package/dist/index.es205.js +6 -6
- package/dist/index.es206.js +6 -6
- package/dist/index.es207.js +5 -19
- package/dist/index.es208.js +515 -51
- package/dist/index.es209.js +50 -7
- package/dist/index.es21.js +11 -55
- package/dist/index.es210.js +17 -6
- package/dist/index.es211.js +8 -5
- package/dist/index.es212.js +19 -8
- package/dist/index.es213.js +9 -16
- package/dist/index.es214.js +7 -8
- package/dist/index.es215.js +7 -6
- package/dist/index.es216.js +4 -5
- package/dist/index.es217.js +5 -9
- package/dist/index.es218.js +9 -177
- package/dist/index.es219.js +5 -7
- package/dist/index.es22.js +26 -114
- package/dist/index.es220.js +8 -5
- package/dist/index.es221.js +12 -4
- package/dist/index.es222.js +9 -5
- package/dist/index.es223.js +8 -8
- package/dist/index.es224.js +11 -6
- package/dist/index.es225.js +14 -15
- package/dist/index.es226.js +6 -4
- package/dist/index.es227.js +6 -515
- package/dist/index.es228.js +7 -50
- package/dist/index.es229.js +6 -17
- package/dist/index.es23.js +26 -42
- package/dist/index.es230.js +6 -9
- package/dist/index.es231.js +10 -19
- package/dist/index.es232.js +84 -8
- package/dist/index.es233.js +65 -8
- package/dist/index.es234.js +37 -7
- package/dist/index.es235.js +9 -5
- package/dist/index.es236.js +8 -6
- package/dist/index.es237.js +7 -9
- package/dist/index.es238.js +10 -5
- package/dist/index.es239.js +7 -8
- package/dist/index.es24.js +45 -29
- package/dist/index.es240.js +7 -12
- package/dist/index.es241.js +6 -9
- package/dist/index.es242.js +5 -10
- package/dist/index.es243.js +15 -14
- package/dist/index.es244.js +18 -64
- package/dist/index.es245.js +52 -38
- package/dist/index.es246.js +16 -10
- package/dist/index.es247.js +200 -8
- package/dist/index.es248.js +22 -8
- package/dist/index.es249.js +24 -7
- package/dist/index.es25.js +54 -21
- package/dist/index.es250.js +370 -15
- package/dist/index.es251.js +177 -25
- package/dist/index.es252.js +25 -4
- package/dist/index.es253.js +4 -7
- package/dist/index.es254.js +6 -12
- package/dist/index.es255.js +13 -13
- package/dist/index.es256.js +13 -134
- package/dist/index.es257.js +134 -31
- package/dist/index.es258.js +31 -462
- package/dist/index.es259.js +456 -125
- package/dist/index.es26.js +111 -12
- package/dist/index.es260.js +131 -26
- package/dist/index.es261.js +26 -4
- package/dist/index.es262.js +4 -26
- package/dist/index.es263.js +25 -6
- package/dist/index.es264.js +6 -10
- package/dist/index.es265.js +10 -27
- package/dist/index.es266.js +27 -47
- package/dist/index.es267.js +45 -27
- package/dist/index.es268.js +29 -42
- package/dist/index.es269.js +43 -158
- package/dist/index.es27.js +42 -17
- package/dist/index.es270.js +158 -33
- package/dist/index.es271.js +34 -2
- package/dist/index.es272.js +2 -80
- package/dist/index.es273.js +79 -18
- package/dist/index.es274.js +19 -2
- package/dist/index.es275.js +2 -398
- package/dist/index.es276.js +366 -691
- package/dist/index.es277.js +720 -280
- package/dist/index.es278.js +277 -55
- package/dist/index.es279.js +59 -8
- package/dist/index.es28.js +30 -15
- package/dist/index.es280.js +9 -28
- package/dist/index.es281.js +29 -199
- package/dist/index.es282.js +199 -4
- package/dist/index.es283.js +25 -14
- package/dist/index.es284.js +16 -15
- package/dist/index.es285.js +8 -16
- package/dist/index.es286.js +15 -8
- package/dist/index.es287.js +3 -15
- package/dist/index.es288.js +4 -3
- package/dist/index.es289.js +13 -24
- package/dist/index.es29.js +21 -21
- package/dist/index.es290.js +15 -29
- package/dist/index.es291.js +25 -5
- package/dist/index.es292.js +29 -10
- package/dist/index.es293.js +5 -5
- package/dist/index.es294.js +5 -13
- package/dist/index.es295.js +57 -5
- package/dist/index.es296.js +27 -6
- package/dist/index.es297.js +42 -329
- package/dist/index.es298.js +67 -19
- package/dist/index.es299.js +38 -4
- package/dist/index.es30.js +13 -67
- package/dist/index.es300.js +18 -4
- package/dist/index.es301.js +68 -3
- package/dist/index.es302.js +65 -69
- package/dist/index.es303.js +69 -4
- package/dist/index.es304.js +68 -4
- package/dist/index.es305.js +43 -54
- package/dist/index.es306.js +39 -20
- package/dist/index.es307.js +50 -38
- package/dist/index.es308.js +30 -48
- package/dist/index.es309.js +37 -32
- package/dist/index.es31.js +18 -24
- package/dist/index.es310.js +66 -13
- package/dist/index.es311.js +47 -43
- package/dist/index.es312.js +76 -47
- package/dist/index.es313.js +32 -54
- package/dist/index.es314.js +35 -57
- package/dist/index.es315.js +39 -38
- package/dist/index.es316.js +21 -37
- package/dist/index.es317.js +21 -50
- package/dist/index.es318.js +21 -40
- package/dist/index.es319.js +22 -34
- package/dist/index.es32.js +14 -69
- package/dist/index.es320.js +21 -63
- package/dist/index.es321.js +20 -62
- package/dist/index.es322.js +14 -91
- package/dist/index.es323.js +37 -38
- package/dist/index.es324.js +38 -39
- package/dist/index.es325.js +14 -41
- package/dist/index.es326.js +14 -25
- package/dist/index.es327.js +9 -29
- package/dist/index.es328.js +4 -29
- package/dist/index.es329.js +13 -31
- package/dist/index.es33.js +21 -102
- package/dist/index.es330.js +4 -29
- package/dist/index.es331.js +6 -29
- package/dist/index.es332.js +332 -18
- package/dist/index.es333.js +19 -46
- package/dist/index.es334.js +4 -46
- package/dist/index.es335.js +4 -19
- package/dist/index.es336.js +3 -20
- package/dist/index.es337.js +72 -2
- package/dist/index.es338.js +4 -2
- package/dist/index.es339.js +2 -6
- package/dist/index.es34.js +67 -72
- package/dist/index.es340.js +2 -34
- package/dist/index.es341.js +6 -26
- package/dist/index.es342.js +34 -18
- package/dist/index.es343.js +25 -4
- package/dist/index.es344.js +18 -231
- package/dist/index.es345.js +5 -100
- package/dist/index.es346.js +229 -26
- package/dist/index.es347.js +80 -35
- package/dist/index.es348.js +26 -332
- package/dist/index.es349.js +55 -31
- package/dist/index.es35.js +24 -100
- package/dist/index.es350.js +332 -15
- package/dist/index.es351.js +31 -29
- package/dist/index.es352.js +16 -28
- package/dist/index.es353.js +29 -5
- package/dist/index.es355.js +1 -1
- package/dist/index.es358.js +1 -1
- package/dist/index.es36.js +71 -46
- package/dist/index.es360.js +2 -2
- package/dist/index.es362.js +3 -3
- package/dist/index.es363.js +2 -2
- package/dist/index.es37.js +101 -16
- package/dist/index.es38.js +74 -109
- package/dist/index.es384.js +2 -5
- package/dist/index.es385.js +54 -3
- package/dist/index.es386.js +57 -22
- package/dist/index.es387.js +27 -108
- package/dist/index.es388.js +5 -16
- package/dist/index.es389.js +5 -2
- package/dist/index.es39.js +100 -9
- package/dist/index.es390.js +3 -54
- package/dist/index.es391.js +22 -57
- package/dist/index.es392.js +104 -513
- package/dist/index.es393.js +14 -125
- package/dist/index.es394.js +67 -125
- package/dist/index.es395.js +30 -67
- package/dist/index.es396.js +9 -31
- package/dist/index.es397.js +153 -9
- package/dist/index.es398.js +97 -142
- package/dist/index.es399.js +19 -107
- package/dist/index.es40.js +47 -18
- package/dist/index.es400.js +100 -67
- package/dist/index.es401.js +46 -30
- package/dist/index.es402.js +6 -16
- package/dist/index.es403.js +2 -141
- package/dist/index.es404.js +8 -114
- package/dist/index.es405.js +326 -5
- package/dist/index.es406.js +50 -2
- package/dist/index.es407.js +3 -7
- package/dist/index.es408.js +497 -305
- package/dist/index.es409.js +125 -48
- package/dist/index.es41.js +18 -37
- package/dist/index.es410.js +125 -3
- package/dist/index.es411.js +67 -19
- package/dist/index.es412.js +31 -101
- package/dist/index.es413.js +16 -47
- package/dist/index.es414.js +141 -2
- package/dist/index.es415.js +112 -45
- package/dist/index.es416.js +2 -83
- package/dist/index.es417.js +45 -12
- package/dist/index.es418.js +73 -331
- package/dist/index.es419.js +12 -73
- package/dist/index.es42.js +108 -16
- package/dist/index.es420.js +340 -10
- package/dist/index.es421.js +75 -2
- package/dist/index.es422.js +11 -8
- package/dist/index.es423.js +24 -45
- package/dist/index.es424.js +11 -2
- package/dist/index.es425.js +33 -6
- package/dist/index.es426.js +30 -3
- package/dist/index.es427.js +11 -106
- package/dist/index.es428.js +2 -25
- package/dist/index.es429.js +8 -11
- package/dist/index.es43.js +9 -24
- package/dist/index.es430.js +45 -32
- package/dist/index.es431.js +2 -30
- package/dist/index.es432.js +6 -12
- package/dist/index.es44.js +17 -149
- package/dist/index.es45.js +37 -29
- package/dist/index.es450.js +3 -65
- package/dist/index.es451.js +104 -66
- package/dist/index.es452.js +64 -8
- package/dist/index.es453.js +68 -13
- package/dist/index.es454.js +8 -59
- package/dist/index.es455.js +14 -16
- package/dist/index.es456.js +60 -29
- package/dist/index.es457.js +5 -11
- package/dist/index.es458.js +14 -5
- package/dist/index.es459.js +29 -2
- package/dist/index.es46.js +15 -93
- package/dist/index.es460.js +12 -75
- package/dist/index.es461.js +2 -93
- package/dist/index.es462.js +73 -49
- package/dist/index.es463.js +92 -7
- package/dist/index.es464.js +51 -4
- package/dist/index.es465.js +7 -51
- package/dist/index.es466.js +5 -2
- package/dist/index.es467.js +52 -2
- package/dist/index.es468.js +2 -43
- package/dist/index.es469.js +2 -63
- package/dist/index.es47.js +23 -35
- package/dist/index.es470.js +41 -17
- package/dist/index.es471.js +63 -5
- package/dist/index.es472.js +17 -41
- package/dist/index.es473.js +5 -5
- package/dist/index.es474.js +44 -7
- package/dist/index.es475.js +5 -2
- package/dist/index.es476.js +8 -4
- package/dist/index.es477.js +2 -79
- package/dist/index.es478.js +2 -96
- package/dist/index.es479.js +77 -12
- package/dist/index.es48.js +150 -38
- package/dist/index.es480.js +96 -60
- package/dist/index.es49.js +29 -6
- package/dist/index.es50.js +94 -45
- package/dist/index.es51.js +35 -124
- package/dist/index.es52.js +36 -28
- package/dist/index.es53.js +6 -24
- package/dist/index.es54.js +45 -66
- package/dist/index.es55.js +124 -79
- package/dist/index.es56.js +26 -96
- package/dist/index.es57.js +24 -83
- package/dist/index.es58.js +68 -2
- package/dist/index.es59.js +76 -77
- package/dist/index.es60.js +95 -15
- package/dist/index.es61.js +81 -47
- package/dist/index.es62.js +2 -26
- package/dist/index.es63.js +79 -25
- package/dist/index.es64.js +20 -35
- package/dist/index.es65.js +49 -9
- package/dist/index.es66.js +24 -46
- package/dist/index.es67.js +27 -76
- package/dist/index.es68.js +34 -61
- package/dist/index.es69.js +8 -265
- package/dist/index.es7.js +1 -1
- package/dist/index.es70.js +48 -13
- package/dist/index.es71.js +74 -33
- package/dist/index.es72.js +62 -11
- package/dist/index.es73.js +206 -27
- package/dist/index.es757.js +7 -7
- package/dist/index.es760.js +14 -4
- package/dist/index.es761.js +60 -23
- package/dist/index.es762.js +4 -2
- package/dist/index.es763.js +23 -2
- package/dist/index.es764.js +2 -24
- package/dist/index.es765.js +2 -8
- package/dist/index.es766.js +21 -64
- package/dist/index.es767.js +8 -52
- package/dist/index.es768.js +56 -60
- package/dist/index.es769.js +52 -5
- package/dist/index.es770.js +69 -15
- package/dist/index.es773.js +5 -8
- package/dist/index.es774.js +15 -54
- package/dist/index.es775.js +7 -18
- package/dist/index.es776.js +56 -13
- package/dist/index.es777.js +18 -27
- package/dist/index.es778.js +22 -4
- package/dist/index.es779.js +11 -21
- package/dist/index.es780.js +27 -6
- package/dist/index.es781.js +5 -22
- package/dist/index.es782.js +6 -57
- package/dist/index.es783.js +49 -26
- package/dist/index.es784.js +34 -9
- package/dist/index.es785.js +9 -18
- package/dist/index.es786.js +14 -8
- package/dist/index.es787.js +8 -12
- package/dist/index.es788.js +6 -57
- package/dist/index.es789.js +21 -9
- package/dist/index.es790.js +57 -14
- package/dist/index.es791.js +6 -3
- package/dist/index.es792.js +19 -28
- package/dist/index.es793.js +13 -3
- package/dist/index.es794.js +28 -5
- package/dist/index.es795.js +3 -71
- package/dist/index.es796.js +5 -159
- package/dist/index.es797.js +66 -41
- package/dist/index.es798.js +152 -164
- package/dist/index.es799.js +43 -184
- package/dist/index.es80.js +1 -1
- package/dist/index.es800.js +107 -82
- package/dist/index.es801.js +150 -64
- package/dist/index.es802.js +92 -90
- package/dist/index.es803.js +97 -47
- package/dist/index.es804.js +142 -13
- package/dist/index.es805.js +47 -89
- package/dist/index.es806.js +13 -12
- package/dist/index.es807.js +92 -8
- package/dist/index.es808.js +13 -10
- package/dist/index.es809.js +8 -55
- package/dist/index.es81.js +1 -1
- package/dist/index.es810.js +10 -10
- package/dist/index.es811.js +55 -8
- package/dist/index.es812.js +10 -14
- package/dist/index.es813.js +8 -52
- package/dist/index.es814.js +14 -80
- package/dist/index.es815.js +48 -10
- package/dist/index.es816.js +78 -26
- package/dist/index.es817.js +14 -4
- package/dist/index.es818.js +28 -40
- package/dist/index.es819.js +4 -5
- package/dist/index.es820.js +37 -20
- package/dist/index.es821.js +5 -14
- package/dist/index.es822.js +16 -33
- package/dist/index.es823.js +14 -4
- package/dist/index.es824.js +37 -23
- package/dist/index.es825.js +4 -6
- package/dist/index.es826.js +23 -38
- package/dist/index.es827.js +6 -54
- package/dist/index.es828.js +40 -16
- package/dist/index.es829.js +55 -7
- package/dist/index.es830.js +4 -4
- package/dist/index.es831.js +1 -1
- package/dist/index.es832.js +3 -3
- package/dist/index.es833.js +3 -3
- package/dist/index.es834.js +2 -2
- package/dist/index.es835.js +17 -10
- package/dist/index.es836.js +7 -37
- package/dist/index.es837.js +10 -13
- package/dist/index.es838.js +36 -59
- package/dist/index.es839.js +11 -12
- package/dist/index.es84.js +3 -3
- package/dist/index.es840.js +62 -0
- package/dist/index.es841.js +17 -0
- package/dist/index.es85.js +3 -3
- package/dist/index.es86.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es88.js +34 -29
- package/dist/index.es89.js +46 -9
- package/dist/index.es90.js +30 -55
- package/dist/index.es91.js +28 -53
- package/dist/index.es92.js +12 -92
- package/dist/index.es93.js +257 -35
- package/dist/index.es94.js +12 -24
- package/dist/index.es95.js +9 -30
- package/dist/index.es96.js +55 -12
- package/dist/index.es97.js +53 -33
- package/dist/index.es98.js +92 -46
- package/dist/index.es99.js +36 -29
- package/dist/style.css +0 -6
- package/package.json +15 -11
package/dist/index.es276.js
CHANGED
|
@@ -1,725 +1,400 @@
|
|
|
1
|
-
import { __exports as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { __exports as u } from "./index.es339.js";
|
|
2
|
+
import _e from "react";
|
|
3
|
+
import Te from "react-dom";
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
|
-
* react-dom-test-utils.
|
|
6
|
+
* react-dom-test-utils.production.min.js
|
|
7
7
|
*
|
|
8
8
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
9
|
*
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
13
|
+
var B;
|
|
14
|
+
function Re() {
|
|
15
|
+
if (B) return u;
|
|
16
|
+
B = 1;
|
|
17
|
+
var f = _e, T = Te;
|
|
18
|
+
function N(e) {
|
|
19
|
+
var n = e, t = e;
|
|
20
|
+
if (e.alternate) for (; n.return; ) n = n.return;
|
|
21
|
+
else {
|
|
22
|
+
e = n;
|
|
23
|
+
do
|
|
24
|
+
n = e, n.flags & 4098 && (t = n.return), e = n.return;
|
|
25
|
+
while (e);
|
|
26
|
+
}
|
|
27
|
+
return n.tag === 3 ? t : null;
|
|
28
|
+
}
|
|
29
|
+
function L(e) {
|
|
30
|
+
if (N(e) !== e) throw Error("Unable to find node on an unmounted component.");
|
|
31
|
+
}
|
|
32
|
+
function q(e) {
|
|
33
|
+
var n = e.alternate;
|
|
34
|
+
if (!n) {
|
|
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;
|
|
29
48
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
});
|
|
38
|
-
o.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, o);
|
|
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.");
|
|
39
56
|
}
|
|
40
|
-
|
|
41
|
-
function P(e) {
|
|
42
|
-
return e._reactInternals;
|
|
43
|
-
}
|
|
44
|
-
var ge = 0, we = 1, V = 3, G = 5, Ee = 6, Ce = (
|
|
45
|
-
/* */
|
|
46
|
-
0
|
|
47
|
-
), be = (
|
|
48
|
-
/* */
|
|
49
|
-
2
|
|
50
|
-
), De = (
|
|
51
|
-
/* */
|
|
52
|
-
4096
|
|
53
|
-
);
|
|
54
|
-
N.ReactCurrentOwner;
|
|
55
|
-
function q(e) {
|
|
56
|
-
var t = e, r = e;
|
|
57
|
-
if (e.alternate)
|
|
58
|
-
for (; t.return; )
|
|
59
|
-
t = t.return;
|
|
57
|
+
if (t.return !== r.return) t = i, r = a;
|
|
60
58
|
else {
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
return t.tag === V ? r : null;
|
|
67
|
-
}
|
|
68
|
-
function H(e) {
|
|
69
|
-
if (q(e) !== e)
|
|
70
|
-
throw new Error("Unable to find node on an unmounted component.");
|
|
71
|
-
}
|
|
72
|
-
function Te(e) {
|
|
73
|
-
var t = e.alternate;
|
|
74
|
-
if (!t) {
|
|
75
|
-
var r = q(e);
|
|
76
|
-
if (r === null)
|
|
77
|
-
throw new Error("Unable to find node on an unmounted component.");
|
|
78
|
-
return r !== e ? null : e;
|
|
79
|
-
}
|
|
80
|
-
for (var n = e, a = t; ; ) {
|
|
81
|
-
var o = n.return;
|
|
82
|
-
if (o === null)
|
|
83
|
-
break;
|
|
84
|
-
var i = o.alternate;
|
|
85
|
-
if (i === null) {
|
|
86
|
-
var d = o.return;
|
|
87
|
-
if (d !== null) {
|
|
88
|
-
n = a = d;
|
|
89
|
-
continue;
|
|
59
|
+
for (var o = !1, s = i.child; s; ) {
|
|
60
|
+
if (s === t) {
|
|
61
|
+
o = !0, t = i, r = a;
|
|
62
|
+
break;
|
|
90
63
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
for (var p = o.child; p; ) {
|
|
95
|
-
if (p === n)
|
|
96
|
-
return H(o), e;
|
|
97
|
-
if (p === a)
|
|
98
|
-
return H(o), t;
|
|
99
|
-
p = p.sibling;
|
|
64
|
+
if (s === r) {
|
|
65
|
+
o = !0, r = i, t = a;
|
|
66
|
+
break;
|
|
100
67
|
}
|
|
101
|
-
|
|
68
|
+
s = s.sibling;
|
|
102
69
|
}
|
|
103
|
-
if (
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
if (u === n) {
|
|
108
|
-
f = !0, n = o, a = i;
|
|
70
|
+
if (!o) {
|
|
71
|
+
for (s = a.child; s; ) {
|
|
72
|
+
if (s === t) {
|
|
73
|
+
o = !0, t = a, r = i;
|
|
109
74
|
break;
|
|
110
75
|
}
|
|
111
|
-
if (
|
|
112
|
-
|
|
76
|
+
if (s === r) {
|
|
77
|
+
o = !0, r = a, t = i;
|
|
113
78
|
break;
|
|
114
79
|
}
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
if (!f) {
|
|
118
|
-
for (u = i.child; u; ) {
|
|
119
|
-
if (u === n) {
|
|
120
|
-
f = !0, n = i, a = o;
|
|
121
|
-
break;
|
|
122
|
-
}
|
|
123
|
-
if (u === a) {
|
|
124
|
-
f = !0, a = i, n = o;
|
|
125
|
-
break;
|
|
126
|
-
}
|
|
127
|
-
u = u.sibling;
|
|
128
|
-
}
|
|
129
|
-
if (!f)
|
|
130
|
-
throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.");
|
|
80
|
+
s = s.sibling;
|
|
131
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.");
|
|
132
83
|
}
|
|
133
|
-
if (n.alternate !== a)
|
|
134
|
-
throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.");
|
|
135
|
-
}
|
|
136
|
-
if (n.tag !== V)
|
|
137
|
-
throw new Error("Unable to find node on an unmounted component.");
|
|
138
|
-
return n.stateNode.current === n ? e : t;
|
|
139
|
-
}
|
|
140
|
-
var c = Object.assign;
|
|
141
|
-
function U(e) {
|
|
142
|
-
var t, r = e.keyCode;
|
|
143
|
-
return "charCode" in e ? (t = e.charCode, t === 0 && r === 13 && (t = 13)) : t = r, t === 10 && (t = 13), t >= 32 || t === 13 ? t : 0;
|
|
144
|
-
}
|
|
145
|
-
function b() {
|
|
146
|
-
return !0;
|
|
147
|
-
}
|
|
148
|
-
function z() {
|
|
149
|
-
return !1;
|
|
150
|
-
}
|
|
151
|
-
function l(e) {
|
|
152
|
-
function t(r, n, a, o, i) {
|
|
153
|
-
this._reactName = r, this._targetInst = a, this.type = n, this.nativeEvent = o, this.target = i, this.currentTarget = null;
|
|
154
|
-
for (var d in e)
|
|
155
|
-
if (e.hasOwnProperty(d)) {
|
|
156
|
-
var p = e[d];
|
|
157
|
-
p ? this[d] = p(o) : this[d] = o[d];
|
|
158
|
-
}
|
|
159
|
-
var f = o.defaultPrevented != null ? o.defaultPrevented : o.returnValue === !1;
|
|
160
|
-
return f ? this.isDefaultPrevented = b : this.isDefaultPrevented = z, this.isPropagationStopped = z, this;
|
|
161
84
|
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
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;
|
|
182
|
+
}
|
|
183
|
+
function R() {
|
|
184
|
+
return ne;
|
|
185
|
+
}
|
|
186
|
+
var re = l({}, m, { key: function(e) {
|
|
187
|
+
if (e.key) {
|
|
188
|
+
var n = $[e.key] || e.key;
|
|
189
|
+
if (n !== "Unidentified") return n;
|
|
190
|
+
}
|
|
191
|
+
return e.type === "keypress" ? (e = M(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? ee[e.keyCode] || "Unidentified" : "";
|
|
192
|
+
}, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: R, charCode: function(e) {
|
|
193
|
+
return e.type === "keypress" ? M(e) : 0;
|
|
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);
|
|
214
|
+
try {
|
|
215
|
+
n.apply(t, d);
|
|
216
|
+
} catch (ke) {
|
|
217
|
+
this.onError(ke);
|
|
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);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
var U = Array.isArray, g = T.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events, pe = g[0], fe = g[1], he = g[2], me = g[3], ye = g[4], ve = f.unstable_act;
|
|
236
|
+
function ge() {
|
|
237
|
+
}
|
|
238
|
+
function we(e, n) {
|
|
239
|
+
if (!e) return [];
|
|
240
|
+
if (e = q(e), !e) return [];
|
|
241
|
+
for (var t = e, r = []; ; ) {
|
|
242
|
+
if (t.tag === 5 || t.tag === 6 || t.tag === 1 || t.tag === 0) {
|
|
243
|
+
var i = t.stateNode;
|
|
244
|
+
n(i) && r.push(i);
|
|
227
245
|
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
});
|
|
237
|
-
l(Ie);
|
|
238
|
-
var Se = c({}, y, {
|
|
239
|
-
animationName: 0,
|
|
240
|
-
elapsedTime: 0,
|
|
241
|
-
pseudoElement: 0
|
|
242
|
-
});
|
|
243
|
-
l(Se);
|
|
244
|
-
var Oe = c({}, y, {
|
|
245
|
-
clipboardData: function(e) {
|
|
246
|
-
return "clipboardData" in e ? e.clipboardData : window.clipboardData;
|
|
247
|
-
}
|
|
248
|
-
});
|
|
249
|
-
l(Oe);
|
|
250
|
-
var Pe = c({}, y, {
|
|
251
|
-
data: 0
|
|
252
|
-
});
|
|
253
|
-
l(Pe);
|
|
254
|
-
var Ue = {
|
|
255
|
-
Esc: "Escape",
|
|
256
|
-
Spacebar: " ",
|
|
257
|
-
Left: "ArrowLeft",
|
|
258
|
-
Up: "ArrowUp",
|
|
259
|
-
Right: "ArrowRight",
|
|
260
|
-
Down: "ArrowDown",
|
|
261
|
-
Del: "Delete",
|
|
262
|
-
Win: "OS",
|
|
263
|
-
Menu: "ContextMenu",
|
|
264
|
-
Apps: "ContextMenu",
|
|
265
|
-
Scroll: "ScrollLock",
|
|
266
|
-
MozPrintableKey: "Unidentified"
|
|
267
|
-
}, _e = {
|
|
268
|
-
8: "Backspace",
|
|
269
|
-
9: "Tab",
|
|
270
|
-
12: "Clear",
|
|
271
|
-
13: "Enter",
|
|
272
|
-
16: "Shift",
|
|
273
|
-
17: "Control",
|
|
274
|
-
18: "Alt",
|
|
275
|
-
19: "Pause",
|
|
276
|
-
20: "CapsLock",
|
|
277
|
-
27: "Escape",
|
|
278
|
-
32: " ",
|
|
279
|
-
33: "PageUp",
|
|
280
|
-
34: "PageDown",
|
|
281
|
-
35: "End",
|
|
282
|
-
36: "Home",
|
|
283
|
-
37: "ArrowLeft",
|
|
284
|
-
38: "ArrowUp",
|
|
285
|
-
39: "ArrowRight",
|
|
286
|
-
40: "ArrowDown",
|
|
287
|
-
45: "Insert",
|
|
288
|
-
46: "Delete",
|
|
289
|
-
112: "F1",
|
|
290
|
-
113: "F2",
|
|
291
|
-
114: "F3",
|
|
292
|
-
115: "F4",
|
|
293
|
-
116: "F5",
|
|
294
|
-
117: "F6",
|
|
295
|
-
118: "F7",
|
|
296
|
-
119: "F8",
|
|
297
|
-
120: "F9",
|
|
298
|
-
121: "F10",
|
|
299
|
-
122: "F11",
|
|
300
|
-
123: "F12",
|
|
301
|
-
144: "NumLock",
|
|
302
|
-
145: "ScrollLock",
|
|
303
|
-
224: "Meta"
|
|
304
|
-
};
|
|
305
|
-
function Le(e) {
|
|
306
|
-
if (e.key) {
|
|
307
|
-
var t = Ue[e.key] || e.key;
|
|
308
|
-
if (t !== "Unidentified")
|
|
309
|
-
return t;
|
|
310
|
-
}
|
|
311
|
-
if (e.type === "keypress") {
|
|
312
|
-
var r = U(e);
|
|
313
|
-
return r === 13 ? "Enter" : String.fromCharCode(r);
|
|
246
|
+
if (t.child) t.child.return = t, t = t.child;
|
|
247
|
+
else {
|
|
248
|
+
if (t === e) return r;
|
|
249
|
+
for (; !t.sibling; ) {
|
|
250
|
+
if (!t.return || t.return === e) return r;
|
|
251
|
+
t = t.return;
|
|
252
|
+
}
|
|
253
|
+
t.sibling.return = t.return, t = t.sibling;
|
|
314
254
|
}
|
|
315
|
-
return e.type === "keydown" || e.type === "keyup" ? _e[e.keyCode] || "Unidentified" : "";
|
|
316
|
-
}
|
|
317
|
-
var We = {
|
|
318
|
-
Alt: "altKey",
|
|
319
|
-
Control: "ctrlKey",
|
|
320
|
-
Meta: "metaKey",
|
|
321
|
-
Shift: "shiftKey"
|
|
322
|
-
};
|
|
323
|
-
function Ae(e) {
|
|
324
|
-
var t = this, r = t.nativeEvent;
|
|
325
|
-
if (r.getModifierState)
|
|
326
|
-
return r.getModifierState(e);
|
|
327
|
-
var n = We[e];
|
|
328
|
-
return n ? !!r[n] : !1;
|
|
329
255
|
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
256
|
+
}
|
|
257
|
+
function p(e, n) {
|
|
258
|
+
if (e && !e._reactInternals) {
|
|
259
|
+
var t = String(e);
|
|
260
|
+
throw e = U(e) ? "an array" : e && e.nodeType === 1 && e.tagName ? "a DOM node" : t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t, Error(n + "(...): the first argument must be a React class instance. Instead received: " + (e + "."));
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
function k(e) {
|
|
264
|
+
return !(!e || e.nodeType !== 1 || !e.tagName);
|
|
265
|
+
}
|
|
266
|
+
function I(e) {
|
|
267
|
+
return k(e) ? !1 : e != null && typeof e.render == "function" && typeof e.setState == "function";
|
|
268
|
+
}
|
|
269
|
+
function x(e, n) {
|
|
270
|
+
return I(e) ? e._reactInternals.type === n : !1;
|
|
271
|
+
}
|
|
272
|
+
function _(e, n) {
|
|
273
|
+
return p(e, "findAllInRenderedTree"), e ? we(e._reactInternals, n) : [];
|
|
274
|
+
}
|
|
275
|
+
function K(e, n) {
|
|
276
|
+
return p(e, "scryRenderedDOMComponentsWithClass"), _(e, function(t) {
|
|
277
|
+
if (k(t)) {
|
|
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
|
+
});
|
|
353
288
|
}
|
|
289
|
+
return !1;
|
|
354
290
|
});
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
height: 0,
|
|
360
|
-
pressure: 0,
|
|
361
|
-
tangentialPressure: 0,
|
|
362
|
-
tiltX: 0,
|
|
363
|
-
tiltY: 0,
|
|
364
|
-
twist: 0,
|
|
365
|
-
pointerType: 0,
|
|
366
|
-
isPrimary: 0
|
|
367
|
-
});
|
|
368
|
-
l(Fe);
|
|
369
|
-
var Ke = c({}, g, {
|
|
370
|
-
touches: 0,
|
|
371
|
-
targetTouches: 0,
|
|
372
|
-
changedTouches: 0,
|
|
373
|
-
altKey: 0,
|
|
374
|
-
metaKey: 0,
|
|
375
|
-
ctrlKey: 0,
|
|
376
|
-
shiftKey: 0,
|
|
377
|
-
getModifierState: W
|
|
378
|
-
});
|
|
379
|
-
l(Ke);
|
|
380
|
-
var Ye = c({}, y, {
|
|
381
|
-
propertyName: 0,
|
|
382
|
-
elapsedTime: 0,
|
|
383
|
-
pseudoElement: 0
|
|
291
|
+
}
|
|
292
|
+
function W(e, n) {
|
|
293
|
+
return p(e, "scryRenderedDOMComponentsWithTag"), _(e, function(t) {
|
|
294
|
+
return k(t) && t.tagName.toUpperCase() === n.toUpperCase();
|
|
384
295
|
});
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
// Fallback to `wheelDeltaX` for Webkit and normalize (right is positive).
|
|
390
|
-
"wheelDeltaX" in e ? -e.wheelDeltaX : 0
|
|
391
|
-
);
|
|
392
|
-
},
|
|
393
|
-
deltaY: function(e) {
|
|
394
|
-
return "deltaY" in e ? e.deltaY : (
|
|
395
|
-
// Fallback to `wheelDeltaY` for Webkit and normalize (down is positive).
|
|
396
|
-
"wheelDeltaY" in e ? -e.wheelDeltaY : (
|
|
397
|
-
// Fallback to `wheelDelta` for IE<9 and normalize (down is positive).
|
|
398
|
-
"wheelDelta" in e ? -e.wheelDelta : 0
|
|
399
|
-
)
|
|
400
|
-
);
|
|
401
|
-
},
|
|
402
|
-
deltaZ: 0,
|
|
403
|
-
// Browsers without "deltaMode" is reporting in raw wheel delta where one
|
|
404
|
-
// notch on the scroll is always +/- 120, roughly equivalent to pixels.
|
|
405
|
-
// A good approximation of DOM_DELTA_LINE (1) is 5% of viewport size or
|
|
406
|
-
// ~40 pixels, for DOM_DELTA_SCREEN (2) it is 87.5% of viewport size.
|
|
407
|
-
deltaMode: 0
|
|
296
|
+
}
|
|
297
|
+
function Y(e, n) {
|
|
298
|
+
return p(e, "scryRenderedComponentsWithType"), _(e, function(t) {
|
|
299
|
+
return x(t, n);
|
|
408
300
|
});
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
var J = $;
|
|
420
|
-
if (typeof window < "u" && typeof window.dispatchEvent == "function" && typeof document < "u" && typeof document.createEvent == "function") {
|
|
421
|
-
var A = document.createElement("react");
|
|
422
|
-
J = function(t, r, n, a, o, i, d, p, f) {
|
|
423
|
-
if (typeof document > "u" || document === null)
|
|
424
|
-
throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
|
|
425
|
-
var u = document.createEvent("Event"), Y = !1, ce = !0, It = window.event, le = Object.getOwnPropertyDescriptor(window, "event");
|
|
426
|
-
function fe() {
|
|
427
|
-
A.removeEventListener(X, de, !1), typeof window.event < "u" && window.hasOwnProperty("event") && (window.event = It);
|
|
428
|
-
}
|
|
429
|
-
var St = Array.prototype.slice.call(arguments, 3);
|
|
430
|
-
function de() {
|
|
431
|
-
Y = !0, fe(), r.apply(n, St), ce = !1;
|
|
432
|
-
}
|
|
433
|
-
var h, pe = !1, he = !1;
|
|
434
|
-
function me(I) {
|
|
435
|
-
if (h = I.error, pe = !0, h === null && I.colno === 0 && I.lineno === 0 && (he = !0), I.defaultPrevented && h != null && typeof h == "object")
|
|
436
|
-
try {
|
|
437
|
-
h._suppressLogging = !0;
|
|
438
|
-
} catch {
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
var X = "react-" + (t || "invokeguardedcallback");
|
|
442
|
-
if (window.addEventListener("error", me), A.addEventListener(X, de, !1), u.initEvent(X, !1, !1), A.dispatchEvent(u), le && Object.defineProperty(window, "event", le), Y && ce && (pe ? he && (h = new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")) : h = new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`), this.onError(h)), window.removeEventListener("error", me), !Y)
|
|
443
|
-
return fe(), $.apply(this, arguments);
|
|
444
|
-
};
|
|
445
|
-
}
|
|
446
|
-
var Ne = J, E = !1, T = null, k = !1, x = null, je = {
|
|
447
|
-
onError: function(e) {
|
|
448
|
-
E = !0, T = e;
|
|
449
|
-
}
|
|
450
|
-
};
|
|
451
|
-
function Ve(e, t, r, n, a, o, i, d, p) {
|
|
452
|
-
E = !1, T = null, Ne.apply(je, arguments);
|
|
453
|
-
}
|
|
454
|
-
function Ge(e, t, r, n, a, o, i, d, p) {
|
|
455
|
-
if (Ve.apply(this, arguments), E) {
|
|
456
|
-
var f = He();
|
|
457
|
-
k || (k = !0, x = f);
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
function qe() {
|
|
461
|
-
if (k) {
|
|
462
|
-
var e = x;
|
|
463
|
-
throw k = !1, x = null, e;
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
function He() {
|
|
467
|
-
if (E) {
|
|
468
|
-
var e = T;
|
|
469
|
-
return E = !1, T = null, e;
|
|
470
|
-
} else
|
|
471
|
-
throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");
|
|
472
|
-
}
|
|
473
|
-
var ze = Array.isArray;
|
|
474
|
-
function F(e) {
|
|
475
|
-
return ze(e);
|
|
476
|
-
}
|
|
477
|
-
var Ze = S.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, C = Ze.Events, $e = C[0], Je = C[1], Qe = C[2], Be = C[3], et = C[4], tt = m.unstable_act;
|
|
478
|
-
function rt(e) {
|
|
479
|
-
}
|
|
480
|
-
var Q = !1;
|
|
481
|
-
function nt(e, t) {
|
|
482
|
-
if (!e)
|
|
483
|
-
return [];
|
|
484
|
-
var r = Te(e);
|
|
485
|
-
if (!r)
|
|
486
|
-
return [];
|
|
487
|
-
for (var n = r, a = []; ; ) {
|
|
488
|
-
if (n.tag === G || n.tag === Ee || n.tag === we || n.tag === ge) {
|
|
489
|
-
var o = n.stateNode;
|
|
490
|
-
t(o) && a.push(o);
|
|
491
|
-
}
|
|
492
|
-
if (n.child) {
|
|
493
|
-
n.child.return = n, n = n.child;
|
|
494
|
-
continue;
|
|
495
|
-
}
|
|
496
|
-
if (n === r)
|
|
497
|
-
return a;
|
|
498
|
-
for (; !n.sibling; ) {
|
|
499
|
-
if (!n.return || n.return === r)
|
|
500
|
-
return a;
|
|
501
|
-
n = n.return;
|
|
502
|
-
}
|
|
503
|
-
n.sibling.return = n.return, n = n.sibling;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
function v(e, t) {
|
|
507
|
-
if (e && !P(e)) {
|
|
508
|
-
var r, n = String(e);
|
|
509
|
-
throw F(e) ? r = "an array" : e && e.nodeType === Z && e.tagName ? r = "a DOM node" : n === "[object Object]" ? r = "object with keys {" + Object.keys(e).join(", ") + "}" : r = n, new Error(t + "(...): the first argument must be a React class instance. " + ("Instead received: " + r + "."));
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
var B = !1;
|
|
513
|
-
function at(e) {
|
|
514
|
-
B || (B = !0, O("ReactDOMTestUtils is deprecated and will be removed in a future major release, because it exposes internal implementation details that are highly likely to change between releases. Upgrade to a modern testing library, such as @testing-library/react. See https://react.dev/warnings/react-dom-test-utils for more info."));
|
|
515
|
-
var t = document.createElement("div");
|
|
516
|
-
return S.render(e, t);
|
|
517
|
-
}
|
|
518
|
-
function ot(e) {
|
|
519
|
-
return m.isValidElement(e);
|
|
520
|
-
}
|
|
521
|
-
function it(e, t) {
|
|
522
|
-
return m.isValidElement(e) && e.type === t;
|
|
523
|
-
}
|
|
524
|
-
function R(e) {
|
|
525
|
-
return !!(e && e.nodeType === Z && e.tagName);
|
|
526
|
-
}
|
|
527
|
-
function st(e) {
|
|
528
|
-
return !!(e && m.isValidElement(e) && e.tagName);
|
|
529
|
-
}
|
|
530
|
-
function K(e) {
|
|
531
|
-
return R(e) ? !1 : e != null && typeof e.render == "function" && typeof e.setState == "function";
|
|
532
|
-
}
|
|
533
|
-
function ee(e, t) {
|
|
534
|
-
if (!K(e))
|
|
535
|
-
return !1;
|
|
536
|
-
var r = P(e), n = r.type;
|
|
537
|
-
return n === t;
|
|
538
|
-
}
|
|
539
|
-
function M(e, t) {
|
|
540
|
-
if (v(e, "findAllInRenderedTree"), !e)
|
|
541
|
-
return [];
|
|
542
|
-
var r = P(e);
|
|
543
|
-
return nt(r, t);
|
|
544
|
-
}
|
|
545
|
-
function te(e, t) {
|
|
546
|
-
return v(e, "scryRenderedDOMComponentsWithClass"), M(e, function(r) {
|
|
547
|
-
if (R(r)) {
|
|
548
|
-
var n = r.className;
|
|
549
|
-
typeof n != "string" && (n = r.getAttribute("class") || "");
|
|
550
|
-
var a = n.split(/\s+/);
|
|
551
|
-
if (!F(t)) {
|
|
552
|
-
if (t === void 0)
|
|
553
|
-
throw new Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");
|
|
554
|
-
t = t.split(/\s+/);
|
|
555
|
-
}
|
|
556
|
-
return t.every(function(o) {
|
|
557
|
-
return a.indexOf(o) !== -1;
|
|
558
|
-
});
|
|
559
|
-
}
|
|
560
|
-
return !1;
|
|
561
|
-
});
|
|
562
|
-
}
|
|
563
|
-
function ut(e, t) {
|
|
564
|
-
v(e, "findRenderedDOMComponentWithClass");
|
|
565
|
-
var r = te(e, t);
|
|
566
|
-
if (r.length !== 1)
|
|
567
|
-
throw new Error("Did not find exactly one match (found: " + r.length + ") for class:" + t);
|
|
568
|
-
return r[0];
|
|
569
|
-
}
|
|
570
|
-
function re(e, t) {
|
|
571
|
-
return v(e, "scryRenderedDOMComponentsWithTag"), M(e, function(r) {
|
|
572
|
-
return R(r) && r.tagName.toUpperCase() === t.toUpperCase();
|
|
573
|
-
});
|
|
574
|
-
}
|
|
575
|
-
function ct(e, t) {
|
|
576
|
-
v(e, "findRenderedDOMComponentWithTag");
|
|
577
|
-
var r = re(e, t);
|
|
578
|
-
if (r.length !== 1)
|
|
579
|
-
throw new Error("Did not find exactly one match (found: " + r.length + ") for tag:" + t);
|
|
580
|
-
return r[0];
|
|
581
|
-
}
|
|
582
|
-
function ne(e, t) {
|
|
583
|
-
return v(e, "scryRenderedComponentsWithType"), M(e, function(r) {
|
|
584
|
-
return ee(r, t);
|
|
585
|
-
});
|
|
586
|
-
}
|
|
587
|
-
function lt(e, t) {
|
|
588
|
-
v(e, "findRenderedComponentWithType");
|
|
589
|
-
var r = ne(e, t);
|
|
590
|
-
if (r.length !== 1)
|
|
591
|
-
throw new Error("Did not find exactly one match (found: " + r.length + ") for componentType:" + t);
|
|
592
|
-
return r[0];
|
|
593
|
-
}
|
|
594
|
-
function ft(e, t) {
|
|
595
|
-
return Q || (Q = !0, ye(`ReactTestUtils.mockComponent() is deprecated. Use shallow rendering or jest.mock() instead.
|
|
596
|
-
|
|
597
|
-
See https://reactjs.org/link/test-utils-mock-component for more information.`)), t = t || e.mockTagName || "div", e.prototype.render.mockImplementation(function() {
|
|
598
|
-
return m.createElement(t, null, this.props.children);
|
|
599
|
-
}), this;
|
|
600
|
-
}
|
|
601
|
-
function dt(e, t) {
|
|
602
|
-
return {
|
|
603
|
-
touches: [{
|
|
604
|
-
pageX: e,
|
|
605
|
-
pageY: t
|
|
606
|
-
}]
|
|
607
|
-
};
|
|
608
|
-
}
|
|
609
|
-
function ae(e, t, r) {
|
|
610
|
-
var n = e.type || "unknown-event";
|
|
611
|
-
e.currentTarget = Je(r), Ge(n, t, void 0, e), e.currentTarget = null;
|
|
612
|
-
}
|
|
613
|
-
function pt(e) {
|
|
614
|
-
var t = e._dispatchListeners, r = e._dispatchInstances;
|
|
615
|
-
if (F(t))
|
|
616
|
-
for (var n = 0; n < t.length && !e.isPropagationStopped(); n++)
|
|
617
|
-
ae(e, t[n], r[n]);
|
|
618
|
-
else t && ae(e, t, r);
|
|
619
|
-
e._dispatchListeners = null, e._dispatchInstances = null;
|
|
620
|
-
}
|
|
621
|
-
var ht = function(e) {
|
|
622
|
-
e && (pt(e), e.isPersistent() || e.constructor.release(e));
|
|
623
|
-
};
|
|
624
|
-
function mt(e) {
|
|
625
|
-
return e === "button" || e === "input" || e === "select" || e === "textarea";
|
|
626
|
-
}
|
|
627
|
-
function vt(e) {
|
|
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);
|
|
628
309
|
do
|
|
629
310
|
e = e.return;
|
|
630
|
-
while (e && e.tag !==
|
|
631
|
-
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
function
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
var
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
n && (r._dispatchListeners == null && (r._dispatchListeners = []), r._dispatchInstances == null && (r._dispatchInstances = []), r._dispatchListeners.push(n), r._dispatchInstances.push(e));
|
|
688
|
-
}
|
|
689
|
-
function Ct(e) {
|
|
690
|
-
e && e._reactName && wt(e._targetInst, null, e);
|
|
691
|
-
}
|
|
692
|
-
function bt(e) {
|
|
693
|
-
e && e._reactName && oe(e._targetInst, Et, e);
|
|
694
|
-
}
|
|
695
|
-
var se = {}, Dt = /* @__PURE__ */ new Set(["mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave"]);
|
|
696
|
-
function Tt(e) {
|
|
697
|
-
return function(t, r) {
|
|
698
|
-
if (m.isValidElement(t))
|
|
699
|
-
throw new 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.");
|
|
700
|
-
if (K(t))
|
|
701
|
-
throw new 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.");
|
|
702
|
-
var n = "on" + e[0].toUpperCase() + e.slice(1), a = new rt();
|
|
703
|
-
a.target = t, a.type = e.toLowerCase();
|
|
704
|
-
var o = $e(t), i = new ke(n, a.type, o, a, t);
|
|
705
|
-
i.persist(), c(i, r), Dt.has(e) ? Ct(i) : bt(i), S.unstable_batchedUpdates(function() {
|
|
706
|
-
Be(t), ht(i), qe();
|
|
707
|
-
}), et();
|
|
708
|
-
};
|
|
709
|
-
}
|
|
710
|
-
var kt = ["blur", "cancel", "click", "close", "contextMenu", "copy", "cut", "auxClick", "doubleClick", "dragEnd", "dragStart", "drop", "focus", "input", "invalid", "keyDown", "keyPress", "keyUp", "mouseDown", "mouseUp", "paste", "pause", "play", "pointerCancel", "pointerDown", "pointerUp", "rateChange", "reset", "resize", "seeked", "submit", "touchCancel", "touchEnd", "touchStart", "volumeChange", "drag", "dragEnter", "dragExit", "dragLeave", "dragOver", "mouseMove", "mouseOut", "mouseOver", "pointerMove", "pointerOut", "pointerOver", "scroll", "toggle", "touchMove", "wheel", "abort", "animationEnd", "animationIteration", "animationStart", "canPlay", "canPlayThrough", "durationChange", "emptied", "encrypted", "ended", "error", "gotPointerCapture", "load", "loadedData", "loadedMetadata", "loadStart", "lostPointerCapture", "playing", "progress", "seeking", "stalled", "suspend", "timeUpdate", "transitionEnd", "waiting", "mouseEnter", "mouseLeave", "pointerEnter", "pointerLeave", "change", "select", "beforeInput", "compositionEnd", "compositionStart", "compositionUpdate"];
|
|
711
|
-
function Rt() {
|
|
712
|
-
kt.forEach(function(e) {
|
|
713
|
-
se[e] = Tt(e);
|
|
714
|
-
});
|
|
715
|
-
}
|
|
716
|
-
Rt();
|
|
717
|
-
var ue = !1, Mt = function(t) {
|
|
718
|
-
return ue || (ue = !0, O("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")), tt(t);
|
|
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();
|
|
719
368
|
};
|
|
720
|
-
|
|
721
|
-
|
|
369
|
+
}
|
|
370
|
+
return "blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(e) {
|
|
371
|
+
j[e] = be(e);
|
|
372
|
+
}), u.Simulate = j, u.act = ve, u.findAllInRenderedTree = _, u.findRenderedComponentWithType = function(e, n) {
|
|
373
|
+
if (p(e, "findRenderedComponentWithType"), e = Y(e, n), e.length !== 1) throw Error("Did not find exactly one match (found: " + e.length + ") for componentType:" + n);
|
|
374
|
+
return e[0];
|
|
375
|
+
}, u.findRenderedDOMComponentWithClass = function(e, n) {
|
|
376
|
+
if (p(e, "findRenderedDOMComponentWithClass"), e = K(e, n), e.length !== 1) throw Error("Did not find exactly one match (found: " + e.length + ") for class:" + n);
|
|
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;
|
|
722
397
|
}
|
|
723
398
|
export {
|
|
724
|
-
|
|
399
|
+
Re as __require
|
|
725
400
|
};
|