@boxcustodia/library 1.7.4 → 1.7.6
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.es100.js +1 -1
- package/dist/index.es105.js +3 -310
- package/dist/index.es106.js +4 -13
- package/dist/index.es107.js +15 -55
- package/dist/index.es108.js +4 -54
- package/dist/index.es109.js +56 -113
- package/dist/index.es110.js +27 -44
- package/dist/index.es111.js +21 -24
- package/dist/index.es112.js +10 -31
- package/dist/index.es113.js +55 -10
- package/dist/index.es114.js +53 -39
- package/dist/index.es115.js +113 -57
- package/dist/index.es116.js +44 -18
- package/dist/index.es117.js +22 -38
- package/dist/index.es118.js +29 -257
- package/dist/index.es119.js +14 -7
- package/dist/index.es120.js +310 -3
- package/dist/index.es121.js +13 -4
- package/dist/index.es122.js +58 -15
- package/dist/index.es123.js +39 -5
- package/dist/index.es124.js +13 -57
- package/dist/index.es125.js +14 -22
- package/dist/index.es126.js +39 -18
- package/dist/index.es127.js +17 -38
- package/dist/index.es128.js +41 -14
- package/dist/index.es129.js +1 -1
- package/dist/index.es130.js +23 -24
- package/dist/index.es134.js +259 -4
- package/dist/index.es135.js +19 -23
- package/dist/index.es136.js +7 -4
- package/dist/index.es137.js +3 -3
- package/dist/index.es138.js +10 -22
- package/dist/index.es139.js +6 -3
- package/dist/index.es140.js +846 -17
- package/dist/index.es141.js +4 -21
- package/dist/index.es142.js +4 -4
- package/dist/index.es143.js +69 -10
- package/dist/index.es144.js +4 -224
- package/dist/index.es145.js +224 -10
- package/dist/index.es146.js +10 -41
- package/dist/index.es147.js +41 -4
- package/dist/index.es148.js +237 -15
- package/dist/index.es149.js +4 -44
- package/dist/index.es150.js +19 -22
- package/dist/index.es151.js +21 -7
- package/dist/index.es152.js +18 -13
- package/dist/index.es153.js +40 -65
- package/dist/index.es154.js +32 -847
- package/dist/index.es155.js +5 -239
- package/dist/index.es156.js +22 -33
- package/dist/index.es157.js +10 -6
- package/dist/index.es158.js +215 -16
- package/dist/index.es159.js +78 -14
- package/dist/index.es16.js +1 -1
- package/dist/index.es160.js +92 -13
- package/dist/index.es161.js +352 -14
- package/dist/index.es162.js +120 -212
- package/dist/index.es163.js +16 -77
- package/dist/index.es164.js +14 -92
- package/dist/index.es165.js +13 -352
- package/dist/index.es166.js +14 -124
- package/dist/index.es167.js +2 -2
- package/dist/index.es170.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +18 -14
- package/dist/index.es173.js +35 -32
- package/dist/index.es174.js +3674 -10
- package/dist/index.es175.js +5 -26
- package/dist/index.es176.js +2 -19
- package/dist/index.es177.js +20 -35
- package/dist/index.es178.js +33 -17
- package/dist/index.es179.js +7 -33
- package/dist/index.es18.js +1 -1
- package/dist/index.es180.js +25 -9
- package/dist/index.es181.js +205 -7
- package/dist/index.es182.js +12 -65
- package/dist/index.es183.js +31 -123
- package/dist/index.es184.js +10 -134
- package/dist/index.es185.js +45 -14
- package/dist/index.es186.js +6 -14
- package/dist/index.es187.js +68 -9
- package/dist/index.es188.js +122 -47
- package/dist/index.es189.js +133 -203
- package/dist/index.es190.js +14 -3675
- package/dist/index.es191.js +14 -5
- package/dist/index.es192.js +9 -2
- package/dist/index.es193.js +47 -42
- package/dist/index.es194.js +3 -649
- package/dist/index.es195.js +217 -3
- package/dist/index.es196.js +3 -217
- package/dist/index.es197.js +45 -3
- package/dist/index.es198.js +7 -45
- package/dist/index.es199.js +5 -7
- package/dist/index.es2.js +1 -1
- package/dist/index.es200.js +28 -6
- package/dist/index.es201.js +646 -24
- package/dist/index.es202.js +3 -2
- package/dist/index.es203.js +2 -4
- package/dist/index.es204.js +2052 -23
- package/dist/index.es205.js +26 -17
- package/dist/index.es206.js +2498 -37
- package/dist/index.es207.js +35 -18
- package/dist/index.es208.js +118 -3
- package/dist/index.es209.js +4 -2
- package/dist/index.es210.js +2 -2054
- package/dist/index.es211.js +7 -25
- package/dist/index.es212.js +5 -2498
- package/dist/index.es213.js +6 -35
- package/dist/index.es214.js +18 -118
- package/dist/index.es215.js +5 -5
- package/dist/index.es216.js +7 -84
- package/dist/index.es217.js +5 -5
- package/dist/index.es218.js +13 -17
- package/dist/index.es219.js +15 -9
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +8 -6
- package/dist/index.es221.js +6 -5
- package/dist/index.es222.js +2 -2
- package/dist/index.es223.js +5 -11
- package/dist/index.es224.js +15 -19
- package/dist/index.es225.js +6 -14
- package/dist/index.es226.js +6 -6
- package/dist/index.es227.js +6 -6
- package/dist/index.es228.js +5 -53
- package/dist/index.es229.js +580 -10
- package/dist/index.es230.js +50 -7
- package/dist/index.es231.js +17 -10
- package/dist/index.es232.js +6 -7
- package/dist/index.es233.js +18 -16
- package/dist/index.es234.js +8 -6
- package/dist/index.es235.js +5 -5
- package/dist/index.es236.js +6 -7
- package/dist/index.es237.js +5 -10
- package/dist/index.es238.js +6 -11
- package/dist/index.es239.js +9 -7
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +5 -5
- package/dist/index.es241.js +8 -5
- package/dist/index.es242.js +13 -7
- package/dist/index.es243.js +9 -5
- package/dist/index.es244.js +8 -13
- package/dist/index.es245.js +10 -15
- package/dist/index.es246.js +14 -8
- package/dist/index.es247.js +5 -5
- package/dist/index.es248.js +11 -4
- package/dist/index.es249.js +10 -580
- package/dist/index.es250.js +11 -50
- package/dist/index.es251.js +6 -17
- package/dist/index.es252.js +9 -6
- package/dist/index.es253.js +83 -18
- package/dist/index.es254.js +38 -8
- package/dist/index.es255.js +65 -7
- package/dist/index.es256.js +9 -7
- package/dist/index.es257.js +8 -5
- package/dist/index.es258.js +7 -6
- package/dist/index.es259.js +10 -9
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +7 -5
- package/dist/index.es261.js +7 -8
- package/dist/index.es262.js +6 -12
- package/dist/index.es263.js +5 -9
- package/dist/index.es264.js +15 -10
- package/dist/index.es265.js +25 -15
- package/dist/index.es266.js +17 -39
- package/dist/index.es267.js +38 -65
- package/dist/index.es268.js +18 -10
- package/dist/index.es269.js +11 -8
- package/dist/index.es270.js +204 -7
- package/dist/index.es271.js +22 -8
- package/dist/index.es272.js +24 -15
- package/dist/index.es273.js +385 -170
- package/dist/index.es274.js +17 -29
- package/dist/index.es275.js +51 -203
- package/dist/index.es276.js +17 -22
- package/dist/index.es277.js +30 -24
- package/dist/index.es278.js +7 -392
- package/dist/index.es279.js +2 -8
- package/dist/index.es28.js +2 -2
- package/dist/index.es280.js +23 -2
- package/dist/index.es281.js +11 -11
- package/dist/index.es282.js +20 -22
- package/dist/index.es283.js +2 -21
- package/dist/index.es284.js +9406 -2
- package/dist/index.es285.js +14903 -8997
- package/dist/index.es286.js +3 -15312
- package/dist/index.es287.js +61 -3
- package/dist/index.es288.js +8 -59
- package/dist/index.es289.js +3 -10
- package/dist/index.es290.js +5 -3
- package/dist/index.es291.js +178 -5
- package/dist/index.es292.js +8 -12
- package/dist/index.es293.js +3 -8
- package/dist/index.es294.js +45 -3
- package/dist/index.es295.js +27 -43
- package/dist/index.es296.js +54 -26
- package/dist/index.es297.js +18 -55
- package/dist/index.es298.js +21 -19
- package/dist/index.es299.js +44 -21
- package/dist/index.es30.js +1 -1
- package/dist/index.es300.js +29 -42
- package/dist/index.es301.js +80 -28
- package/dist/index.es302.js +5 -82
- package/dist/index.es303.js +14 -6
- package/dist/index.es304.js +41 -12
- package/dist/index.es305.js +32 -42
- package/dist/index.es306.js +24 -30
- package/dist/index.es307.js +25 -27
- package/dist/index.es308.js +6 -24
- package/dist/index.es309.js +419 -6
- package/dist/index.es310.js +9 -417
- package/dist/index.es311.js +33 -11
- package/dist/index.es312.js +12 -35
- package/dist/index.es313.js +14 -24
- package/dist/index.es314.js +3 -29
- package/dist/index.es315.js +5 -5
- package/dist/index.es316.js +56 -14
- package/dist/index.es317.js +31 -3
- package/dist/index.es318.js +46 -4
- package/dist/index.es319.js +64 -54
- package/dist/index.es32.js +1 -1
- package/dist/index.es320.js +32 -25
- package/dist/index.es321.js +13 -41
- package/dist/index.es322.js +53 -47
- package/dist/index.es323.js +55 -20
- package/dist/index.es324.js +69 -13
- package/dist/index.es325.js +49 -47
- package/dist/index.es326.js +26 -53
- package/dist/index.es327.js +26 -54
- package/dist/index.es328.js +37 -53
- package/dist/index.es329.js +25 -22
- package/dist/index.es33.js +3 -3
- package/dist/index.es330.js +38 -38
- package/dist/index.es331.js +59 -40
- package/dist/index.es332.js +56 -27
- package/dist/index.es333.js +90 -34
- package/dist/index.es334.js +32 -63
- package/dist/index.es335.js +35 -66
- package/dist/index.es336.js +38 -94
- package/dist/index.es337.js +23 -39
- package/dist/index.es338.js +22 -39
- package/dist/index.es339.js +22 -39
- package/dist/index.es34.js +6 -6
- package/dist/index.es340.js +19 -19
- package/dist/index.es341.js +18 -18
- package/dist/index.es342.js +18 -18
- package/dist/index.es343.js +14 -25
- package/dist/index.es344.js +38 -22
- package/dist/index.es345.js +38 -22
- package/dist/index.es346.js +14 -14
- package/dist/index.es347.js +14 -40
- package/dist/index.es348.js +23 -44
- package/dist/index.es349.js +29 -20
- package/dist/index.es350.js +5 -20
- package/dist/index.es353.js +1 -1
- package/dist/index.es354.js +2 -2
- package/dist/index.es355.js +1 -1
- package/dist/index.es367.js +3 -3
- package/dist/index.es38.js +1 -1
- package/dist/index.es39.js +23 -23
- package/dist/index.es391.js +2 -2
- package/dist/index.es394.js +1 -1
- package/dist/index.es395.js +68 -5
- package/dist/index.es396.js +31 -3
- package/dist/index.es397.js +9 -24
- package/dist/index.es398.js +152 -109
- package/dist/index.es399.js +107 -15
- package/dist/index.es40.js +5 -5
- package/dist/index.es400.js +19 -67
- package/dist/index.es401.js +101 -31
- package/dist/index.es402.js +47 -9
- package/dist/index.es403.js +5 -153
- package/dist/index.es404.js +3 -108
- package/dist/index.es405.js +24 -68
- package/dist/index.es406.js +110 -31
- package/dist/index.es407.js +16 -16
- package/dist/index.es408.js +520 -138
- package/dist/index.es409.js +126 -113
- package/dist/index.es41.js +2 -2
- package/dist/index.es410.js +126 -17
- package/dist/index.es411.js +67 -100
- package/dist/index.es412.js +30 -46
- package/dist/index.es413.js +16 -6
- package/dist/index.es414.js +141 -15
- package/dist/index.es415.js +114 -2
- package/dist/index.es416.js +2 -8
- package/dist/index.es417.js +218 -314
- package/dist/index.es418.js +233 -49
- package/dist/index.es419.js +5 -3
- package/dist/index.es420.js +15 -2
- package/dist/index.es421.js +2 -231
- package/dist/index.es422.js +7 -233
- package/dist/index.es423.js +305 -501
- package/dist/index.es424.js +48 -125
- package/dist/index.es425.js +3 -128
- package/dist/index.es44.js +3 -3
- package/dist/index.es449.js +23 -270
- package/dist/index.es45.js +1 -1
- package/dist/index.es450.js +5 -79
- package/dist/index.es451.js +122 -160
- package/dist/index.es452.js +24 -24
- package/dist/index.es453.js +4 -5
- package/dist/index.es454.js +11 -126
- package/dist/index.es455.js +40 -22
- package/dist/index.es456.js +57 -4
- package/dist/index.es457.js +40 -11
- package/dist/index.es458.js +25 -39
- package/dist/index.es459.js +30 -56
- package/dist/index.es460.js +14 -41
- package/dist/index.es461.js +10 -28
- package/dist/index.es462.js +10 -31
- package/dist/index.es463.js +9 -14
- package/dist/index.es464.js +6 -10
- package/dist/index.es465.js +5 -10
- package/dist/index.es466.js +7 -9
- package/dist/index.es467.js +29 -6
- package/dist/index.es468.js +18 -5
- package/dist/index.es469.js +13 -7
- package/dist/index.es47.js +1 -1
- package/dist/index.es470.js +42 -28
- package/dist/index.es471.js +8 -18
- package/dist/index.es472.js +3 -14
- package/dist/index.es473.js +4 -43
- package/dist/index.es474.js +23 -7
- package/dist/index.es475.js +272 -3
- package/dist/index.es476.js +79 -4
- package/dist/index.es477.js +164 -23
- package/dist/index.es478.js +2 -2
- package/dist/index.es479.js +4 -4
- package/dist/index.es480.js +3 -3
- package/dist/index.es481.js +3 -3
- package/dist/index.es484.js +11 -11
- package/dist/index.es485.js +3 -3
- package/dist/index.es49.js +2 -2
- package/dist/index.es490.js +5 -5
- package/dist/index.es491.js +4 -4
- package/dist/index.es492.js +1 -1
- package/dist/index.es496.js +1 -1
- package/dist/index.es497.js +1 -1
- package/dist/index.es498.js +2 -2
- package/dist/index.es499.js +7 -56
- package/dist/index.es50.js +1 -1
- package/dist/index.es500.js +2 -13
- package/dist/index.es501.js +52 -21
- package/dist/index.es502.js +60 -55
- package/dist/index.es503.js +7 -33
- package/dist/index.es504.js +29 -167
- package/dist/index.es505.js +18 -119
- package/dist/index.es506.js +44 -7
- package/dist/index.es507.js +29 -19
- package/dist/index.es508.js +8 -33
- package/dist/index.es509.js +56 -20
- package/dist/index.es510.js +11 -43
- package/dist/index.es511.js +21 -29
- package/dist/index.es512.js +59 -8
- package/dist/index.es513.js +30 -228
- package/dist/index.es514.js +170 -20
- package/dist/index.es515.js +115 -23
- package/dist/index.es516.js +18 -117
- package/dist/index.es517.js +229 -35
- package/dist/index.es518.js +22 -72
- package/dist/index.es519.js +29 -7
- package/dist/index.es52.js +1 -1
- package/dist/index.es520.js +119 -2
- package/dist/index.es521.js +33 -48
- package/dist/index.es522.js +72 -65
- package/dist/index.es526.js +5 -63
- package/dist/index.es527.js +16 -69
- package/dist/index.es528.js +28 -8
- package/dist/index.es529.js +13 -14
- package/dist/index.es53.js +1 -1
- package/dist/index.es530.js +68 -61
- package/dist/index.es531.js +8 -15
- package/dist/index.es532.js +14 -29
- package/dist/index.es533.js +62 -13
- package/dist/index.es534.js +63 -5
- package/dist/index.es535.js +2 -2
- package/dist/index.es536.js +2 -76
- package/dist/index.es537.js +2 -93
- package/dist/index.es538.js +73 -49
- package/dist/index.es539.js +92 -7
- package/dist/index.es54.js +1 -1
- package/dist/index.es540.js +51 -4
- package/dist/index.es541.js +7 -51
- package/dist/index.es542.js +5 -2
- package/dist/index.es543.js +52 -2
- package/dist/index.es56.js +2 -2
- package/dist/index.es57.js +4 -4
- package/dist/index.es58.js +1 -1
- package/dist/index.es59.js +10 -10
- package/dist/index.es60.js +3 -3
- package/dist/index.es61.js +5 -5
- package/dist/index.es62.js +2 -2
- package/dist/index.es63.js +1 -1
- package/dist/index.es66.js +3 -3
- package/dist/index.es67.js +2 -2
- package/dist/index.es699.js +2 -42
- package/dist/index.es70.js +1 -1
- package/dist/index.es700.js +2 -72
- package/dist/index.es701.js +42 -6
- package/dist/index.es702.js +71 -5
- package/dist/index.es703.js +2 -2
- package/dist/index.es704.js +5 -5
- package/dist/index.es705.js +5 -5
- package/dist/index.es706.js +5 -5
- package/dist/index.es707.js +5 -5
- package/dist/index.es708.js +5 -5
- package/dist/index.es709.js +2 -2
- package/dist/index.es710.js +2 -2
- package/dist/index.es711.js +5 -5
- package/dist/index.es712.js +5 -5
- package/dist/index.es713.js +5 -5
- package/dist/index.es714.js +5 -5
- package/dist/index.es715.js +2 -2
- package/dist/index.es716.js +2 -2
- package/dist/index.es717.js +5 -5
- package/dist/index.es718.js +2 -2
- package/dist/index.es719.js +5 -5
- package/dist/index.es72.js +1 -1
- package/dist/index.es720.js +5 -5
- package/dist/index.es721.js +2 -2
- package/dist/index.es722.js +2 -2
- package/dist/index.es723.js +5 -5
- package/dist/index.es724.js +2 -2
- package/dist/index.es725.js +2 -2
- package/dist/index.es726.js +5 -5
- package/dist/index.es727.js +5 -5
- package/dist/index.es728.js +5 -5
- package/dist/index.es729.js +2 -2
- package/dist/index.es730.js +5 -5
- package/dist/index.es731.js +2 -2
- package/dist/index.es732.js +5 -5
- package/dist/index.es733.js +2 -2
- package/dist/index.es734.js +5 -5
- package/dist/index.es735.js +6 -2
- package/dist/index.es736.js +5 -1
- package/dist/index.es74.js +2 -2
- package/dist/index.es76.js +1 -1
- package/dist/index.es77.js +1 -1
- package/dist/index.es78.js +1 -1
- package/dist/index.es80.js +1 -1
- package/dist/index.es81.js +1 -1
- package/dist/index.es82.js +2 -2
- package/dist/index.es83.js +1 -1
- package/dist/index.es85.js +4 -4
- package/dist/index.es86.js +2 -2
- package/dist/index.es88.js +2 -2
- package/dist/index.es89.js +5 -5
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
package/dist/index.es477.js
CHANGED
|
@@ -1,27 +1,168 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"object",
|
|
11
|
-
"embed",
|
|
12
|
-
"audio[controls]",
|
|
13
|
-
"video[controls]",
|
|
14
|
-
'[contenteditable]:not([contenteditable^="false"])'
|
|
15
|
-
], t = e.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
|
|
16
|
-
e.push('[tabindex]:not([tabindex="-1"]):not([disabled])');
|
|
17
|
-
const n = e.join(':not([hidden]):not([tabindex="-1"]),');
|
|
18
|
-
function a(b) {
|
|
19
|
-
return b.matches(t);
|
|
1
|
+
function i(a) {
|
|
2
|
+
var e;
|
|
3
|
+
return (
|
|
4
|
+
// eslint-disable-next-line no-restricted-properties -- actual guard for environments without localName
|
|
5
|
+
(e = a.localName) !== null && e !== void 0 ? e : (
|
|
6
|
+
// eslint-disable-next-line no-restricted-properties -- required for the fallback
|
|
7
|
+
a.tagName.toLowerCase()
|
|
8
|
+
)
|
|
9
|
+
);
|
|
20
10
|
}
|
|
21
|
-
|
|
22
|
-
|
|
11
|
+
var n = {
|
|
12
|
+
article: "article",
|
|
13
|
+
aside: "complementary",
|
|
14
|
+
button: "button",
|
|
15
|
+
datalist: "listbox",
|
|
16
|
+
dd: "definition",
|
|
17
|
+
details: "group",
|
|
18
|
+
dialog: "dialog",
|
|
19
|
+
dt: "term",
|
|
20
|
+
fieldset: "group",
|
|
21
|
+
figure: "figure",
|
|
22
|
+
// WARNING: Only with an accessible name
|
|
23
|
+
form: "form",
|
|
24
|
+
footer: "contentinfo",
|
|
25
|
+
h1: "heading",
|
|
26
|
+
h2: "heading",
|
|
27
|
+
h3: "heading",
|
|
28
|
+
h4: "heading",
|
|
29
|
+
h5: "heading",
|
|
30
|
+
h6: "heading",
|
|
31
|
+
header: "banner",
|
|
32
|
+
hr: "separator",
|
|
33
|
+
html: "document",
|
|
34
|
+
legend: "legend",
|
|
35
|
+
li: "listitem",
|
|
36
|
+
math: "math",
|
|
37
|
+
main: "main",
|
|
38
|
+
menu: "list",
|
|
39
|
+
nav: "navigation",
|
|
40
|
+
ol: "list",
|
|
41
|
+
optgroup: "group",
|
|
42
|
+
// WARNING: Only in certain context
|
|
43
|
+
option: "option",
|
|
44
|
+
output: "status",
|
|
45
|
+
progress: "progressbar",
|
|
46
|
+
// WARNING: Only with an accessible name
|
|
47
|
+
section: "region",
|
|
48
|
+
summary: "button",
|
|
49
|
+
table: "table",
|
|
50
|
+
tbody: "rowgroup",
|
|
51
|
+
textarea: "textbox",
|
|
52
|
+
tfoot: "rowgroup",
|
|
53
|
+
// WARNING: Only in certain context
|
|
54
|
+
td: "cell",
|
|
55
|
+
th: "columnheader",
|
|
56
|
+
thead: "rowgroup",
|
|
57
|
+
tr: "row",
|
|
58
|
+
ul: "list"
|
|
59
|
+
}, o = {
|
|
60
|
+
caption: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
61
|
+
code: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
62
|
+
deletion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
63
|
+
emphasis: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
64
|
+
generic: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby", "aria-roledescription"]),
|
|
65
|
+
insertion: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
66
|
+
paragraph: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
67
|
+
presentation: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
68
|
+
strong: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
69
|
+
subscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"]),
|
|
70
|
+
superscript: /* @__PURE__ */ new Set(["aria-label", "aria-labelledby"])
|
|
71
|
+
};
|
|
72
|
+
function s(a, e) {
|
|
73
|
+
return [
|
|
74
|
+
"aria-atomic",
|
|
75
|
+
"aria-busy",
|
|
76
|
+
"aria-controls",
|
|
77
|
+
"aria-current",
|
|
78
|
+
"aria-describedby",
|
|
79
|
+
"aria-details",
|
|
80
|
+
// "disabled",
|
|
81
|
+
"aria-dropeffect",
|
|
82
|
+
// "errormessage",
|
|
83
|
+
"aria-flowto",
|
|
84
|
+
"aria-grabbed",
|
|
85
|
+
// "haspopup",
|
|
86
|
+
"aria-hidden",
|
|
87
|
+
// "invalid",
|
|
88
|
+
"aria-keyshortcuts",
|
|
89
|
+
"aria-label",
|
|
90
|
+
"aria-labelledby",
|
|
91
|
+
"aria-live",
|
|
92
|
+
"aria-owns",
|
|
93
|
+
"aria-relevant",
|
|
94
|
+
"aria-roledescription"
|
|
95
|
+
].some(function(r) {
|
|
96
|
+
var t;
|
|
97
|
+
return a.hasAttribute(r) && !((t = o[e]) !== null && t !== void 0 && t.has(r));
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
function l(a, e) {
|
|
101
|
+
return s(a, e);
|
|
102
|
+
}
|
|
103
|
+
function c(a) {
|
|
104
|
+
var e = b(a);
|
|
105
|
+
if (e === null || e === "presentation") {
|
|
106
|
+
var r = u(a);
|
|
107
|
+
if (e !== "presentation" || l(a, r || ""))
|
|
108
|
+
return r;
|
|
109
|
+
}
|
|
110
|
+
return e;
|
|
111
|
+
}
|
|
112
|
+
function u(a) {
|
|
113
|
+
var e = n[i(a)];
|
|
114
|
+
if (e !== void 0)
|
|
115
|
+
return e;
|
|
116
|
+
switch (i(a)) {
|
|
117
|
+
case "a":
|
|
118
|
+
case "area":
|
|
119
|
+
case "link":
|
|
120
|
+
if (a.hasAttribute("href"))
|
|
121
|
+
return "link";
|
|
122
|
+
break;
|
|
123
|
+
case "img":
|
|
124
|
+
return a.getAttribute("alt") === "" && !l(a, "img") ? "presentation" : "img";
|
|
125
|
+
case "input": {
|
|
126
|
+
var r = a, t = r.type;
|
|
127
|
+
switch (t) {
|
|
128
|
+
case "button":
|
|
129
|
+
case "image":
|
|
130
|
+
case "reset":
|
|
131
|
+
case "submit":
|
|
132
|
+
return "button";
|
|
133
|
+
case "checkbox":
|
|
134
|
+
case "radio":
|
|
135
|
+
return t;
|
|
136
|
+
case "range":
|
|
137
|
+
return "slider";
|
|
138
|
+
case "email":
|
|
139
|
+
case "tel":
|
|
140
|
+
case "text":
|
|
141
|
+
case "url":
|
|
142
|
+
return a.hasAttribute("list") ? "combobox" : "textbox";
|
|
143
|
+
case "search":
|
|
144
|
+
return a.hasAttribute("list") ? "combobox" : "searchbox";
|
|
145
|
+
case "number":
|
|
146
|
+
return "spinbutton";
|
|
147
|
+
default:
|
|
148
|
+
return null;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
case "select":
|
|
152
|
+
return a.hasAttribute("multiple") || a.size > 1 ? "listbox" : "combobox";
|
|
153
|
+
}
|
|
154
|
+
return null;
|
|
155
|
+
}
|
|
156
|
+
function b(a) {
|
|
157
|
+
var e = a.getAttribute("role");
|
|
158
|
+
if (e !== null) {
|
|
159
|
+
var r = e.trim().split(" ")[0];
|
|
160
|
+
if (r.length > 0)
|
|
161
|
+
return r;
|
|
162
|
+
}
|
|
163
|
+
return null;
|
|
23
164
|
}
|
|
24
165
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
166
|
+
c as default,
|
|
167
|
+
i as getLocalName
|
|
27
168
|
};
|
package/dist/index.es478.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useSyntheticBlurEvent as l } from "./index.es479.js";
|
|
2
2
|
import { useCallback as u } from "react";
|
|
3
|
-
import { getActiveElement as a, getEventTarget as p } from "./index.
|
|
4
|
-
import { getOwnerDocument as m } from "./index.
|
|
3
|
+
import { getActiveElement as a, getEventTarget as p } from "./index.es452.js";
|
|
4
|
+
import { getOwnerDocument as m } from "./index.es454.js";
|
|
5
5
|
function x(d) {
|
|
6
6
|
let { isDisabled: r, onFocus: n, onBlur: o, onFocusChange: t } = d;
|
|
7
7
|
const c = u((e) => {
|
package/dist/index.es479.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { getOwnerWindow as b } from "./index.
|
|
2
|
-
import { focusWithoutScrolling as l } from "./index.
|
|
1
|
+
import { getOwnerWindow as b } from "./index.es454.js";
|
|
2
|
+
import { focusWithoutScrolling as l } from "./index.es455.js";
|
|
3
3
|
import { useLayoutEffect as v } from "./index.es393.js";
|
|
4
|
-
import { useEffectEvent as m } from "./index.
|
|
5
|
-
import { isFocusable as p } from "./index.
|
|
4
|
+
import { useEffectEvent as m } from "./index.es469.js";
|
|
5
|
+
import { isFocusable as p } from "./index.es474.js";
|
|
6
6
|
import { useRef as E, useCallback as $ } from "react";
|
|
7
7
|
function g(r) {
|
|
8
8
|
let e = r;
|
package/dist/index.es480.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ignoreFocusEvent as p } from "./index.es479.js";
|
|
2
|
-
import { getOwnerWindow as i, getOwnerDocument as l } from "./index.
|
|
3
|
-
import { isMac as h } from "./index.
|
|
4
|
-
import { isVirtualClick as k } from "./index.
|
|
2
|
+
import { getOwnerWindow as i, getOwnerDocument as l } from "./index.es454.js";
|
|
3
|
+
import { isMac as h } from "./index.es457.js";
|
|
4
|
+
import { isVirtualClick as k } from "./index.es471.js";
|
|
5
5
|
import { useEffect as m, useState as x } from "react";
|
|
6
6
|
import { useIsSSR as H } from "./index.es392.js";
|
|
7
7
|
let a = null, u = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Map(), d = !1, $ = !1;
|
package/dist/index.es481.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useSyntheticBlurEvent as F, setEventTarget as W, createSyntheticEvent as v } from "./index.es479.js";
|
|
2
2
|
import { useRef as x, useCallback as $ } from "react";
|
|
3
|
-
import { getActiveElement as E, getEventTarget as T, nodeContains as B } from "./index.
|
|
4
|
-
import { getOwnerDocument as G } from "./index.
|
|
5
|
-
import { useGlobalListeners as L } from "./index.
|
|
3
|
+
import { getActiveElement as E, getEventTarget as T, nodeContains as B } from "./index.es452.js";
|
|
4
|
+
import { getOwnerDocument as G } from "./index.es454.js";
|
|
5
|
+
import { useGlobalListeners as L } from "./index.es459.js";
|
|
6
6
|
function S(b) {
|
|
7
7
|
let { isDisabled: h, onBlurWithin: i, onFocusWithin: o, onFocusWithinChange: t } = b, r = x({
|
|
8
8
|
isFocusWithin: !1
|
package/dist/index.es484.js
CHANGED
|
@@ -4,17 +4,17 @@ import { PressResponderContext as le } from "./index.es486.js";
|
|
|
4
4
|
import { _ as fe } from "./index.es487.js";
|
|
5
5
|
import { _ as ue } from "./index.es488.js";
|
|
6
6
|
import { _ as W } from "./index.es489.js";
|
|
7
|
-
import { chain as ce } from "./index.
|
|
8
|
-
import { nodeContains as p, getEventTarget as c } from "./index.
|
|
9
|
-
import { getOwnerDocument as Y, getOwnerWindow as I } from "./index.
|
|
10
|
-
import { mergeProps as te } from "./index.
|
|
11
|
-
import { focusWithoutScrolling as pe } from "./index.
|
|
12
|
-
import { openLink as z } from "./index.
|
|
13
|
-
import { useGlobalListeners as de } from "./index.
|
|
14
|
-
import { useSyncRef as ge } from "./index.
|
|
15
|
-
import { isMac as ve } from "./index.
|
|
16
|
-
import { isVirtualPointerEvent as Te, isVirtualClick as j } from "./index.
|
|
17
|
-
import { useEffectEvent as K } from "./index.
|
|
7
|
+
import { chain as ce } from "./index.es450.js";
|
|
8
|
+
import { nodeContains as p, getEventTarget as c } from "./index.es452.js";
|
|
9
|
+
import { getOwnerDocument as Y, getOwnerWindow as I } from "./index.es454.js";
|
|
10
|
+
import { mergeProps as te } from "./index.es297.js";
|
|
11
|
+
import { focusWithoutScrolling as pe } from "./index.es455.js";
|
|
12
|
+
import { openLink as z } from "./index.es456.js";
|
|
13
|
+
import { useGlobalListeners as de } from "./index.es459.js";
|
|
14
|
+
import { useSyncRef as ge } from "./index.es463.js";
|
|
15
|
+
import { isMac as ve } from "./index.es457.js";
|
|
16
|
+
import { isVirtualPointerEvent as Te, isVirtualClick as j } from "./index.es471.js";
|
|
17
|
+
import { useEffectEvent as K } from "./index.es469.js";
|
|
18
18
|
import { flushSync as Pe } from "react-dom";
|
|
19
19
|
import { useState as ye, useRef as $e, useMemo as he, useEffect as q, useContext as me } from "react";
|
|
20
20
|
function Ee(n) {
|
package/dist/index.es485.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getOwnerDocument as i } from "./index.
|
|
2
|
-
import { runAfterTransition as f } from "./index.
|
|
3
|
-
import { isIOS as o } from "./index.
|
|
1
|
+
import { getOwnerDocument as i } from "./index.es454.js";
|
|
2
|
+
import { runAfterTransition as f } from "./index.es458.js";
|
|
3
|
+
import { isIOS as o } from "./index.es457.js";
|
|
4
4
|
let l = "default", s = "", n = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
function m(e) {
|
|
6
6
|
if (o()) {
|
package/dist/index.es49.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as o } from "./index.es104.js";
|
|
2
|
-
import { Root as v } from "./index.
|
|
3
|
-
import { l as y } from "./index.
|
|
2
|
+
import { Root as v } from "./index.es122.js";
|
|
3
|
+
import { l as y } from "./index.es105.js";
|
|
4
4
|
import * as c from "react";
|
|
5
5
|
import { FormProvider as C, useFormContext as D, Controller as M } from "./index.es131.js";
|
|
6
6
|
import { useFormField as n } from "./index.es51.js";
|
package/dist/index.es490.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { usePress as $ } from "./index.es484.js";
|
|
2
|
-
import { getOwnerDocument as b } from "./index.
|
|
3
|
-
import { mergeProps as g } from "./index.
|
|
4
|
-
import { focusWithoutScrolling as P } from "./index.
|
|
5
|
-
import { useGlobalListeners as L } from "./index.
|
|
6
|
-
import { useDescription as x } from "./index.
|
|
2
|
+
import { getOwnerDocument as b } from "./index.es454.js";
|
|
3
|
+
import { mergeProps as g } from "./index.es297.js";
|
|
4
|
+
import { focusWithoutScrolling as P } from "./index.es455.js";
|
|
5
|
+
import { useGlobalListeners as L } from "./index.es459.js";
|
|
6
|
+
import { useDescription as x } from "./index.es467.js";
|
|
7
7
|
import { useRef as y } from "react";
|
|
8
8
|
const D = 500;
|
|
9
9
|
function R(p) {
|
package/dist/index.es491.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getInteractionModality as a } from "./index.es480.js";
|
|
2
|
-
import { getActiveElement as o } from "./index.
|
|
3
|
-
import { getOwnerDocument as i } from "./index.
|
|
4
|
-
import { focusWithoutScrolling as f } from "./index.
|
|
5
|
-
import { runAfterTransition as $ } from "./index.
|
|
2
|
+
import { getActiveElement as o } from "./index.es452.js";
|
|
3
|
+
import { getOwnerDocument as i } from "./index.es454.js";
|
|
4
|
+
import { focusWithoutScrolling as f } from "./index.es455.js";
|
|
5
|
+
import { runAfterTransition as $ } from "./index.es458.js";
|
|
6
6
|
function p(e) {
|
|
7
7
|
const t = i(e), c = o(t);
|
|
8
8
|
if (a() === "virtual") {
|
package/dist/index.es492.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Selection as K } from "./index.es493.js";
|
|
2
|
-
import { useControlledState as M } from "./index.
|
|
2
|
+
import { useControlledState as M } from "./index.es306.js";
|
|
3
3
|
import { useRef as a, useState as r, useMemo as n, useEffect as x } from "react";
|
|
4
4
|
function R(e, s) {
|
|
5
5
|
if (e.size !== s.size) return !1;
|
package/dist/index.es496.js
CHANGED
package/dist/index.es497.js
CHANGED
package/dist/index.es498.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getActiveElement as c } from "./index.
|
|
2
|
-
import { getOwnerDocument as n } from "./index.
|
|
1
|
+
import { getActiveElement as c } from "./index.es452.js";
|
|
2
|
+
import { getOwnerDocument as n } from "./index.es454.js";
|
|
3
3
|
function s(t) {
|
|
4
4
|
let e = u(n(t));
|
|
5
5
|
e !== t && (e && r(e, t), t && i(t, e));
|
package/dist/index.es499.js
CHANGED
|
@@ -1,59 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { useHasTabbableChild as k } from "./index.es497.js";
|
|
8
|
-
import { useSelectableList as A } from "./index.es503.js";
|
|
9
|
-
function S(a, e, o) {
|
|
10
|
-
let { isVirtualized: l, keyboardDelegate: d, layoutDelegate: s, onAction: r, disallowTypeAhead: n, linkBehavior: t = "action", keyboardNavigationBehavior: b = "arrow", escapeKeyBehavior: u = "clearSelection" } = a;
|
|
11
|
-
!a["aria-label"] && !a["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
12
|
-
let { listProps: p } = A({
|
|
13
|
-
selectionManager: e.selectionManager,
|
|
14
|
-
collection: e.collection,
|
|
15
|
-
disabledKeys: e.disabledKeys,
|
|
16
|
-
ref: o,
|
|
17
|
-
keyboardDelegate: d,
|
|
18
|
-
layoutDelegate: s,
|
|
19
|
-
isVirtualized: l,
|
|
20
|
-
selectOnFocus: e.selectionManager.selectionBehavior === "replace",
|
|
21
|
-
shouldFocusWrap: a.shouldFocusWrap,
|
|
22
|
-
linkBehavior: t,
|
|
23
|
-
disallowTypeAhead: n,
|
|
24
|
-
autoFocus: a.autoFocus,
|
|
25
|
-
escapeKeyBehavior: u
|
|
26
|
-
}), c = g(a.id);
|
|
27
|
-
m.set(e, {
|
|
28
|
-
id: c,
|
|
29
|
-
onAction: r,
|
|
30
|
-
linkBehavior: t,
|
|
31
|
-
keyboardNavigationBehavior: b
|
|
32
|
-
});
|
|
33
|
-
let f = x({
|
|
34
|
-
selectionManager: e.selectionManager,
|
|
35
|
-
hasItemActions: !!r
|
|
36
|
-
}), $ = k(o, {
|
|
37
|
-
isDisabled: e.collection.size !== 0
|
|
38
|
-
}), h = v(a, {
|
|
39
|
-
labelable: !0
|
|
40
|
-
}), i = y(
|
|
41
|
-
h,
|
|
42
|
-
{
|
|
43
|
-
role: "grid",
|
|
44
|
-
id: c,
|
|
45
|
-
"aria-multiselectable": e.selectionManager.selectionMode === "multiple" ? "true" : void 0
|
|
46
|
-
},
|
|
47
|
-
// If collection is empty, make sure the grid is tabbable unless there is a child tabbable element.
|
|
48
|
-
e.collection.size === 0 ? {
|
|
49
|
-
tabIndex: $ ? -1 : 0
|
|
50
|
-
} : p,
|
|
51
|
-
f
|
|
52
|
-
);
|
|
53
|
-
return l && (i["aria-rowcount"] = e.collection.size, i["aria-colcount"] = 1), B({}, e), {
|
|
54
|
-
gridProps: i
|
|
55
|
-
};
|
|
1
|
+
import { __module as r } from "./index.es500.js";
|
|
2
|
+
import { __require as o } from "./index.es501.js";
|
|
3
|
+
import { __require as i } from "./index.es502.js";
|
|
4
|
+
var e;
|
|
5
|
+
function u() {
|
|
6
|
+
return e ? r.exports : (e = 1, process.env.NODE_ENV === "production" ? r.exports = o() : r.exports = i(), r.exports);
|
|
56
7
|
}
|
|
57
8
|
export {
|
|
58
|
-
|
|
9
|
+
u as __require
|
|
59
10
|
};
|
package/dist/index.es50.js
CHANGED
package/dist/index.es500.js
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
function o(e, r) {
|
|
3
|
-
var t;
|
|
4
|
-
let { id: a } = (t = b.get(e)) !== null && t !== void 0 ? t : {};
|
|
5
|
-
if (!a) throw new Error("Unknown list");
|
|
6
|
-
return `${a}-${n(r)}`;
|
|
7
|
-
}
|
|
8
|
-
function n(e) {
|
|
9
|
-
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
|
|
10
|
-
}
|
|
1
|
+
var e = { exports: {} };
|
|
11
2
|
export {
|
|
12
|
-
|
|
13
|
-
b as listMap,
|
|
14
|
-
n as normalizeKey
|
|
3
|
+
e as __module
|
|
15
4
|
};
|
package/dist/index.es501.js
CHANGED
|
@@ -1,24 +1,55 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { __exports as i } from "./index.es699.js";
|
|
2
|
+
import h from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* use-sync-external-store-shim.production.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var f;
|
|
13
|
+
function x() {
|
|
14
|
+
if (f) return i;
|
|
15
|
+
f = 1;
|
|
16
|
+
var u = h;
|
|
17
|
+
function s(e, t) {
|
|
18
|
+
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
19
|
+
}
|
|
20
|
+
var S = typeof Object.is == "function" ? Object.is : s, d = u.useState, l = u.useEffect, p = u.useLayoutEffect, E = u.useDebugValue;
|
|
21
|
+
function v(e, t) {
|
|
22
|
+
var r = t(), a = d({ inst: { value: r, getSnapshot: t } }), n = a[0].inst, c = a[1];
|
|
23
|
+
return p(
|
|
24
|
+
function() {
|
|
25
|
+
n.value = r, n.getSnapshot = t, o(n) && c({ inst: n });
|
|
26
|
+
},
|
|
27
|
+
[e, r, t]
|
|
28
|
+
), l(
|
|
29
|
+
function() {
|
|
30
|
+
return o(n) && c({ inst: n }), e(function() {
|
|
31
|
+
o(n) && c({ inst: n });
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
[e]
|
|
35
|
+
), E(r), r;
|
|
36
|
+
}
|
|
37
|
+
function o(e) {
|
|
38
|
+
var t = e.getSnapshot;
|
|
39
|
+
e = e.value;
|
|
40
|
+
try {
|
|
41
|
+
var r = t();
|
|
42
|
+
return !S(e, r);
|
|
43
|
+
} catch {
|
|
44
|
+
return !0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function y(e, t) {
|
|
48
|
+
return t();
|
|
49
|
+
}
|
|
50
|
+
var m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? y : v;
|
|
51
|
+
return i.useSyncExternalStore = u.useSyncExternalStore !== void 0 ? u.useSyncExternalStore : m, i;
|
|
21
52
|
}
|
|
22
53
|
export {
|
|
23
|
-
x as
|
|
54
|
+
x as __require
|
|
24
55
|
};
|
package/dist/index.es502.js
CHANGED
|
@@ -1,62 +1,67 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { __exports as s } from "./index.es700.js";
|
|
2
|
+
import h from "react";
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* use-sync-external-store-shim.development.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var l;
|
|
13
|
+
function A() {
|
|
14
|
+
return l ? s : (l = 1, process.env.NODE_ENV !== "production" && function() {
|
|
15
|
+
function d(e, t) {
|
|
16
|
+
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
17
|
+
}
|
|
18
|
+
function S(e, t) {
|
|
19
|
+
f || o.startTransition === void 0 || (f = !0, console.error(
|
|
20
|
+
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
21
|
+
));
|
|
22
|
+
var r = t();
|
|
23
|
+
if (!c) {
|
|
24
|
+
var u = t();
|
|
25
|
+
_(r, u) || (console.error(
|
|
26
|
+
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
27
|
+
), c = !0);
|
|
28
|
+
}
|
|
29
|
+
u = p({
|
|
30
|
+
inst: { value: r, getSnapshot: t }
|
|
31
|
+
});
|
|
32
|
+
var n = u[0].inst, i = u[1];
|
|
33
|
+
return L(
|
|
34
|
+
function() {
|
|
35
|
+
n.value = r, n.getSnapshot = t, a(n) && i({ inst: n });
|
|
36
|
+
},
|
|
37
|
+
[e, r, t]
|
|
38
|
+
), E(
|
|
39
|
+
function() {
|
|
40
|
+
return a(n) && i({ inst: n }), e(function() {
|
|
41
|
+
a(n) && i({ inst: n });
|
|
42
|
+
});
|
|
43
|
+
},
|
|
44
|
+
[e]
|
|
45
|
+
), y(r), r;
|
|
19
46
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
47
|
+
function a(e) {
|
|
48
|
+
var t = e.getSnapshot;
|
|
49
|
+
e = e.value;
|
|
50
|
+
try {
|
|
51
|
+
var r = t();
|
|
52
|
+
return !_(e, r);
|
|
53
|
+
} catch {
|
|
54
|
+
return !0;
|
|
27
55
|
}
|
|
28
|
-
} else if (s.size === 1 && f.size === 0) {
|
|
29
|
-
let i = c(s.keys().next().value);
|
|
30
|
-
i && l.push(n.format("selectedItem", {
|
|
31
|
-
item: i
|
|
32
|
-
}));
|
|
33
|
-
} else if (f.size === 1 && s.size === 0 && e.collection.getItem(f.keys().next().value)) {
|
|
34
|
-
let i = c(f.keys().next().value);
|
|
35
|
-
i && l.push(n.format("deselectedItem", {
|
|
36
|
-
item: i
|
|
37
|
-
}));
|
|
38
56
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
})), l.length > 0 && p(l.join(" ")), a.current = t;
|
|
42
|
-
});
|
|
43
|
-
$(() => {
|
|
44
|
-
if (e.selectionManager.isFocused) d();
|
|
45
|
-
else {
|
|
46
|
-
let r = requestAnimationFrame(d);
|
|
47
|
-
return () => cancelAnimationFrame(r);
|
|
57
|
+
function O(e, t) {
|
|
58
|
+
return t();
|
|
48
59
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
function m(o, e) {
|
|
55
|
-
let c = /* @__PURE__ */ new Set();
|
|
56
|
-
if (o === "all" || e === "all") return c;
|
|
57
|
-
for (let n of o.keys()) e.has(n) || c.add(n);
|
|
58
|
-
return c;
|
|
60
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
61
|
+
var o = h, _ = typeof Object.is == "function" ? Object.is : d, p = o.useState, E = o.useEffect, L = o.useLayoutEffect, y = o.useDebugValue, f = !1, c = !1, v = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? O : S;
|
|
62
|
+
s.useSyncExternalStore = o.useSyncExternalStore !== void 0 ? o.useSyncExternalStore : v, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
63
|
+
}(), s);
|
|
59
64
|
}
|
|
60
65
|
export {
|
|
61
|
-
|
|
66
|
+
A as __require
|
|
62
67
|
};
|