@boxcustodia/library 1.3.5 → 1.4.2
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 +7 -14
- package/dist/index.es100.js +1 -1
- package/dist/index.es101.js +10 -14
- package/dist/index.es102.js +12 -2495
- package/dist/index.es103.js +2497 -10
- package/dist/index.es104.js +3 -3
- package/dist/index.es105.js +5 -5
- package/dist/index.es106.js +1 -1
- package/dist/index.es108.js +55 -41
- package/dist/index.es109.js +54 -41
- package/dist/index.es11.js +1 -1
- package/dist/index.es110.js +92 -18
- package/dist/index.es111.js +35 -39
- package/dist/index.es112.js +23 -54
- package/dist/index.es113.js +29 -54
- package/dist/index.es114.js +40 -91
- package/dist/index.es115.js +42 -37
- package/dist/index.es116.js +17 -23
- package/dist/index.es117.js +39 -28
- package/dist/index.es118.js +1 -1
- package/dist/index.es119.js +1 -1
- package/dist/index.es122.js +1 -1
- package/dist/index.es124.js +7 -7
- package/dist/index.es125.js +257 -18
- package/dist/index.es126.js +13 -259
- package/dist/index.es127.js +39 -13
- package/dist/index.es128.js +14 -39
- package/dist/index.es129.js +12 -6
- package/dist/index.es136.js +1 -1
- package/dist/index.es137.js +3 -3
- package/dist/index.es138.js +1 -1
- package/dist/index.es139.js +1 -1
- package/dist/index.es141.js +17 -18
- package/dist/index.es142.js +42 -25
- package/dist/index.es143.js +10 -18
- package/dist/index.es144.js +10 -44
- package/dist/index.es145.js +21 -10
- package/dist/index.es146.js +7 -4
- package/dist/index.es147.js +10 -848
- package/dist/index.es148.js +13 -240
- package/dist/index.es149.js +19 -4
- package/dist/index.es150.js +25 -67
- package/dist/index.es151.js +238 -19
- package/dist/index.es152.js +69 -13
- package/dist/index.es153.js +848 -10
- package/dist/index.es154.js +4 -13
- package/dist/index.es156.js +1 -1
- package/dist/index.es158.js +2 -2
- package/dist/index.es159.js +1 -1
- package/dist/index.es160.js +1 -1
- package/dist/index.es161.js +1 -1
- package/dist/index.es162.js +9 -9
- package/dist/index.es163.js +3 -3
- package/dist/index.es164.js +14 -14
- package/dist/index.es165.js +2 -2
- package/dist/index.es166.js +7 -215
- package/dist/index.es167.js +2 -8
- package/dist/index.es168.js +33 -2
- package/dist/index.es169.js +396 -23
- package/dist/index.es170.js +14 -405
- package/dist/index.es171.js +32 -14
- package/dist/index.es172.js +10 -32
- package/dist/index.es173.js +6 -11
- package/dist/index.es174.js +19 -6
- package/dist/index.es175.js +34 -17
- package/dist/index.es176.js +210 -30
- package/dist/index.es177.js +19 -25
- package/dist/index.es178.js +37 -205
- package/dist/index.es179.js +7 -17
- package/dist/index.es180.js +25 -35
- package/dist/index.es181.js +205 -11
- package/dist/index.es186.js +4 -4
- package/dist/index.es187.js +3 -3
- package/dist/index.es188.js +2 -2
- package/dist/index.es192.js +1 -1
- package/dist/index.es193.js +9 -9
- package/dist/index.es194.js +8 -8
- package/dist/index.es195.js +4 -4
- package/dist/index.es196.js +3 -45
- package/dist/index.es197.js +45 -7
- package/dist/index.es198.js +8 -4
- package/dist/index.es200.js +1 -1
- package/dist/index.es201.js +26 -35
- package/dist/index.es202.js +2286 -113
- package/dist/index.es203.js +34 -15
- package/dist/index.es204.js +118 -8
- package/dist/index.es205.js +16 -2
- package/dist/index.es206.js +8 -2
- package/dist/index.es207.js +2 -26
- package/dist/index.es208.js +2 -2291
- package/dist/index.es209.js +2 -6
- package/dist/index.es210.js +51 -10
- package/dist/index.es211.js +59 -2048
- package/dist/index.es212.js +21 -2
- package/dist/index.es213.js +6 -50
- package/dist/index.es214.js +35 -62
- package/dist/index.es215.js +11 -14
- package/dist/index.es216.js +6 -9
- package/dist/index.es217.js +14 -40
- package/dist/index.es218.js +2053 -17
- package/dist/index.es219.js +19 -8
- package/dist/index.es220.js +13 -5
- package/dist/index.es221.js +6 -4
- package/dist/index.es222.js +6 -17
- package/dist/index.es223.js +52 -6
- package/dist/index.es224.js +6 -5
- package/dist/index.es225.js +6 -8
- package/dist/index.es226.js +7 -6
- package/dist/index.es227.js +7 -6
- package/dist/index.es228.js +16 -16
- package/dist/index.es229.js +6 -13
- package/dist/index.es230.js +6 -13
- package/dist/index.es231.js +8 -6
- package/dist/index.es232.js +13 -6
- package/dist/index.es233.js +9 -5
- package/dist/index.es234.js +5 -4
- package/dist/index.es235.js +81 -510
- package/dist/index.es236.js +6 -50
- package/dist/index.es237.js +17 -17
- package/dist/index.es238.js +9 -9
- package/dist/index.es239.js +7 -19
- package/dist/index.es240.js +6 -8
- package/dist/index.es241.js +6 -7
- package/dist/index.es242.js +7 -7
- package/dist/index.es243.js +5 -5
- package/dist/index.es244.js +4 -6
- package/dist/index.es245.js +5 -9
- package/dist/index.es246.js +8 -5
- package/dist/index.es247.js +6 -9
- package/dist/index.es248.js +15 -12
- package/dist/index.es249.js +4 -9
- package/dist/index.es250.js +513 -8
- package/dist/index.es251.js +50 -11
- package/dist/index.es252.js +17 -14
- package/dist/index.es253.js +9 -6
- package/dist/index.es254.js +19 -7
- package/dist/index.es255.js +8 -6
- package/dist/index.es256.js +7 -6
- package/dist/index.es257.js +7 -6
- package/dist/index.es258.js +5 -9
- package/dist/index.es259.js +6 -84
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +10 -65
- package/dist/index.es261.js +5 -37
- package/dist/index.es262.js +8 -9
- package/dist/index.es263.js +12 -8
- package/dist/index.es264.js +9 -7
- package/dist/index.es265.js +10 -10
- package/dist/index.es266.js +14 -7
- package/dist/index.es267.js +65 -8
- package/dist/index.es268.js +37 -6
- package/dist/index.es269.js +9 -5
- package/dist/index.es270.js +8 -15
- package/dist/index.es271.js +7 -11
- package/dist/index.es272.js +8 -25
- package/dist/index.es273.js +16 -19
- package/dist/index.es274.js +12 -52
- package/dist/index.es275.js +176 -14
- package/dist/index.es276.js +24 -177
- package/dist/index.es277.js +2 -205
- package/dist/index.es278.js +2 -22
- package/dist/index.es279.js +204 -24
- package/dist/index.es280.js +21 -392
- package/dist/index.es281.js +25 -8
- package/dist/index.es282.js +393 -3
- package/dist/index.es283.js +8 -45
- package/dist/index.es284.js +3 -32
- package/dist/index.es285.js +43 -50
- package/dist/index.es286.js +30 -18
- package/dist/index.es287.js +51 -21
- package/dist/index.es288.js +18 -61
- package/dist/index.es289.js +21 -31
- package/dist/index.es290.js +61 -75
- package/dist/index.es291.js +30 -5
- package/dist/index.es292.js +74 -12
- package/dist/index.es293.js +6 -43
- package/dist/index.es294.js +13 -32
- package/dist/index.es295.js +43 -7
- package/dist/index.es296.js +33 -21
- package/dist/index.es297.js +7 -27
- package/dist/index.es298.js +19 -425
- package/dist/index.es299.js +27 -12
- package/dist/index.es300.js +423 -30
- package/dist/index.es301.js +13 -2
- package/dist/index.es302.js +34 -22
- package/dist/index.es303.js +2 -23
- package/dist/index.es304.js +51 -9246
- package/dist/index.es305.js +51 -15094
- package/dist/index.es306.js +2 -283
- package/dist/index.es307.js +22 -60
- package/dist/index.es308.js +22 -9
- package/dist/index.es309.js +9258 -28
- package/dist/index.es310.js +15090 -180
- package/dist/index.es311.js +283 -2
- package/dist/index.es312.js +59 -62
- package/dist/index.es313.js +9 -64
- package/dist/index.es314.js +29 -2
- package/dist/index.es315.js +198 -2
- package/dist/index.es32.js +7 -8
- package/dist/index.es320.js +1 -1
- package/dist/index.es321.js +2 -2
- package/dist/index.es322.js +4 -4
- package/dist/index.es323.js +4 -4
- package/dist/index.es324.js +2 -2
- package/dist/index.es325.js +2 -2
- package/dist/index.es326.js +2 -2
- package/dist/index.es327.js +3 -3
- package/dist/index.es328.js +3 -3
- package/dist/index.es329.js +5 -5
- package/dist/index.es33.js +18 -19
- package/dist/index.es330.js +5 -5
- package/dist/index.es331.js +3 -3
- package/dist/index.es332.js +3 -3
- package/dist/index.es333.js +2 -2
- package/dist/index.es334.js +3 -3
- package/dist/index.es335.js +3 -3
- package/dist/index.es336.js +3 -3
- package/dist/index.es337.js +2 -2
- package/dist/index.es338.js +2 -2
- package/dist/index.es339.js +2 -2
- package/dist/index.es34.js +6 -6
- package/dist/index.es340.js +3 -3
- package/dist/index.es341.js +3 -3
- package/dist/index.es342.js +3 -3
- package/dist/index.es343.js +3 -3
- package/dist/index.es344.js +3 -3
- package/dist/index.es345.js +3 -3
- package/dist/index.es346.js +2 -2
- package/dist/index.es347.js +5 -5
- package/dist/index.es348.js +5 -5
- package/dist/index.es349.js +3 -3
- package/dist/index.es350.js +3 -3
- package/dist/index.es352.js +3 -3
- package/dist/index.es353.js +3 -3
- package/dist/index.es371.js +2 -2
- package/dist/index.es373.js +2 -2
- package/dist/index.es374.js +2 -8
- package/dist/index.es375.js +2 -2
- package/dist/index.es376.js +8 -2
- package/dist/index.es378.js +68 -2
- package/dist/index.es379.js +31 -106
- package/dist/index.es380.js +9 -76
- package/dist/index.es381.js +153 -35
- package/dist/index.es382.js +108 -63
- package/dist/index.es383.js +68 -33
- package/dist/index.es384.js +31 -65
- package/dist/index.es385.js +17 -113
- package/dist/index.es386.js +141 -93
- package/dist/index.es387.js +115 -43
- package/dist/index.es388.js +2 -2
- package/dist/index.es389.js +106 -2
- package/dist/index.es390.js +76 -2
- package/dist/index.es391.js +36 -3
- package/dist/index.es392.js +64 -3
- package/dist/index.es393.js +34 -3
- package/dist/index.es394.js +66 -3
- package/dist/index.es395.js +113 -3
- package/dist/index.es396.js +94 -3
- package/dist/index.es397.js +42 -239
- package/dist/index.es398.js +4 -384
- package/dist/index.es399.js +4 -169
- package/dist/index.es400.js +4 -153
- package/dist/index.es401.js +4 -142
- package/dist/index.es402.js +2 -2
- package/dist/index.es404.js +2 -2
- package/dist/index.es406.js +2 -2
- package/dist/index.es407.js +241 -4
- package/dist/index.es408.js +378 -64
- package/dist/index.es409.js +169 -33
- package/dist/index.es41.js +2 -2
- package/dist/index.es410.js +153 -11
- package/dist/index.es411.js +137 -150
- package/dist/index.es412.js +2 -108
- package/dist/index.es413.js +2 -20
- package/dist/index.es414.js +2 -101
- package/dist/index.es415.js +2 -47
- package/dist/index.es416.js +2 -5
- package/dist/index.es417.js +2 -3
- package/dist/index.es418.js +19 -23
- package/dist/index.es419.js +98 -107
- package/dist/index.es420.js +46 -15
- package/dist/index.es421.js +5 -68
- package/dist/index.es422.js +3 -31
- package/dist/index.es423.js +24 -16
- package/dist/index.es424.js +110 -141
- package/dist/index.es425.js +15 -113
- package/dist/index.es428.js +3 -3
- package/dist/index.es429.js +4 -4
- package/dist/index.es430.js +1 -1
- package/dist/index.es44.js +3 -3
- package/dist/index.es45.js +1 -1
- package/dist/index.es459.js +1 -1
- package/dist/index.es463.js +1 -1
- package/dist/index.es466.js +1 -1
- package/dist/index.es47.js +1 -1
- package/dist/index.es472.js +1 -1
- package/dist/index.es473.js +1 -1
- package/dist/index.es477.js +3 -3
- package/dist/index.es479.js +3 -3
- package/dist/index.es488.js +1 -1
- package/dist/index.es49.js +1 -1
- package/dist/index.es490.js +2 -2
- package/dist/index.es491.js +1 -1
- package/dist/index.es492.js +2 -2
- package/dist/index.es497.js +21 -2
- package/dist/index.es498.js +156 -226
- package/dist/index.es499.js +49 -240
- package/dist/index.es500.js +2 -21
- package/dist/index.es501.js +226 -156
- package/dist/index.es502.js +240 -49
- package/dist/index.es503.js +16 -2
- package/dist/index.es504.js +29 -8
- package/dist/index.es505.js +12 -45
- package/dist/index.es506.js +7 -2
- package/dist/index.es507.js +2 -6
- package/dist/index.es508.js +10 -24
- package/dist/index.es509.js +46 -2
- package/dist/index.es510.js +4 -35
- package/dist/index.es511.js +8 -177
- package/dist/index.es512.js +21 -86
- package/dist/index.es513.js +4 -17
- package/dist/index.es514.js +35 -4
- package/dist/index.es515.js +177 -4
- package/dist/index.es516.js +89 -4
- package/dist/index.es517.js +17 -4
- package/dist/index.es518.js +2 -24
- package/dist/index.es519.js +2 -2
- package/dist/index.es520.js +2 -272
- package/dist/index.es521.js +2 -80
- package/dist/index.es522.js +21 -163
- package/dist/index.es523.js +2 -7
- package/dist/index.es524.js +271 -15
- package/dist/index.es525.js +78 -27
- package/dist/index.es526.js +165 -12
- package/dist/index.es527.js +2 -65
- package/dist/index.es528.js +74 -67
- package/dist/index.es529.js +93 -9
- package/dist/index.es53.js +6 -7
- package/dist/index.es530.js +51 -13
- package/dist/index.es531.js +8 -62
- package/dist/index.es532.js +5 -2
- package/dist/index.es533.js +48 -72
- package/dist/index.es534.js +61 -89
- package/dist/index.es535.js +67 -50
- package/dist/index.es536.js +9 -8
- package/dist/index.es537.js +14 -5
- package/dist/index.es538.js +61 -51
- package/dist/index.es59.js +3 -3
- package/dist/index.es60.js +2 -2
- package/dist/index.es61.js +4 -4
- 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.es70.js +1 -1
- package/dist/index.es74.js +1 -1
- package/dist/index.es76.js +71 -55
- package/dist/index.es77.js +1 -1
- package/dist/index.es81.js +1 -1
- package/dist/index.es82.js +2 -2
- package/dist/index.es86.js +2 -2
- package/dist/index.es862.js +2 -22
- package/dist/index.es863.js +2 -83
- package/dist/index.es864.js +21 -3
- package/dist/index.es865.js +82 -22
- package/dist/index.es866.js +4 -2
- package/dist/index.es867.js +23 -2
- package/dist/index.es88.js +3 -3
- package/dist/index.es90.js +1 -1
- package/dist/index.es91.js +2 -2
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
package/dist/index.es170.js
CHANGED
|
@@ -1,408 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
*
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return ue ? _ : (ue = 1, process.env.NODE_ENV !== "production" && function() {
|
|
15
|
-
function s(e) {
|
|
16
|
-
if (e == null) return null;
|
|
17
|
-
if (typeof e == "function")
|
|
18
|
-
return e.$$typeof === me ? null : e.displayName || e.name || null;
|
|
19
|
-
if (typeof e == "string") return e;
|
|
20
|
-
switch (e) {
|
|
21
|
-
case j:
|
|
22
|
-
return "Fragment";
|
|
23
|
-
case de:
|
|
24
|
-
return "Portal";
|
|
25
|
-
case K:
|
|
26
|
-
return "Profiler";
|
|
27
|
-
case H:
|
|
28
|
-
return "StrictMode";
|
|
29
|
-
case A:
|
|
30
|
-
return "Suspense";
|
|
31
|
-
case R:
|
|
32
|
-
return "SuspenseList";
|
|
33
|
-
}
|
|
34
|
-
if (typeof e == "object")
|
|
35
|
-
switch (typeof e.tag == "number" && console.error(
|
|
36
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
37
|
-
), e.$$typeof) {
|
|
38
|
-
case q:
|
|
39
|
-
return (e.displayName || "Context") + ".Provider";
|
|
40
|
-
case X:
|
|
41
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
42
|
-
case S:
|
|
43
|
-
var r = e.render;
|
|
44
|
-
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
45
|
-
case k:
|
|
46
|
-
return r = e.displayName || null, r !== null ? r : s(e.type) || "Memo";
|
|
47
|
-
case p:
|
|
48
|
-
r = e._payload, e = e._init;
|
|
49
|
-
try {
|
|
50
|
-
return s(e(r));
|
|
51
|
-
} catch {
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return null;
|
|
55
|
-
}
|
|
56
|
-
function M(e) {
|
|
57
|
-
return "" + e;
|
|
58
|
-
}
|
|
59
|
-
function W(e) {
|
|
60
|
-
try {
|
|
61
|
-
M(e);
|
|
62
|
-
var r = !1;
|
|
63
|
-
} catch {
|
|
64
|
-
r = !0;
|
|
65
|
-
}
|
|
66
|
-
if (r) {
|
|
67
|
-
r = console;
|
|
68
|
-
var o = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
69
|
-
return o.call(
|
|
70
|
-
r,
|
|
71
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
72
|
-
n
|
|
73
|
-
), M(e);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
function $() {
|
|
77
|
-
}
|
|
78
|
-
function le() {
|
|
79
|
-
if (g === 0) {
|
|
80
|
-
Z = console.log, F = console.info, I = console.warn, L = console.error, Q = console.group, D = console.groupCollapsed, ee = console.groupEnd;
|
|
81
|
-
var e = {
|
|
82
|
-
configurable: !0,
|
|
83
|
-
enumerable: !0,
|
|
84
|
-
value: $,
|
|
85
|
-
writable: !0
|
|
86
|
-
};
|
|
87
|
-
Object.defineProperties(console, {
|
|
88
|
-
info: e,
|
|
89
|
-
log: e,
|
|
90
|
-
warn: e,
|
|
91
|
-
error: e,
|
|
92
|
-
group: e,
|
|
93
|
-
groupCollapsed: e,
|
|
94
|
-
groupEnd: e
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
g++;
|
|
98
|
-
}
|
|
99
|
-
function fe() {
|
|
100
|
-
if (g--, g === 0) {
|
|
101
|
-
var e = { configurable: !0, enumerable: !0, writable: !0 };
|
|
102
|
-
Object.defineProperties(console, {
|
|
103
|
-
log: v({}, e, { value: Z }),
|
|
104
|
-
info: v({}, e, { value: F }),
|
|
105
|
-
warn: v({}, e, { value: I }),
|
|
106
|
-
error: v({}, e, { value: L }),
|
|
107
|
-
group: v({}, e, { value: Q }),
|
|
108
|
-
groupCollapsed: v({}, e, { value: D }),
|
|
109
|
-
groupEnd: v({}, e, { value: ee })
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
0 > g && console.error(
|
|
113
|
-
"disabledDepth fell below zero. This is a bug in React. Please file an issue."
|
|
114
|
-
);
|
|
115
|
-
}
|
|
116
|
-
function y(e) {
|
|
117
|
-
if (x === void 0)
|
|
118
|
-
try {
|
|
119
|
-
throw Error();
|
|
120
|
-
} catch (o) {
|
|
121
|
-
var r = o.stack.trim().match(/\n( *(at )?)/);
|
|
122
|
-
x = r && r[1] || "", re = -1 < o.stack.indexOf(`
|
|
123
|
-
at`) ? " (<anonymous>)" : -1 < o.stack.indexOf("@") ? "@unknown:0:0" : "";
|
|
124
|
-
}
|
|
125
|
-
return `
|
|
126
|
-
` + x + e + re;
|
|
127
|
-
}
|
|
128
|
-
function U(e, r) {
|
|
129
|
-
if (!e || P) return "";
|
|
130
|
-
var o = Y.get(e);
|
|
131
|
-
if (o !== void 0) return o;
|
|
132
|
-
P = !0, o = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
|
|
133
|
-
var n = null;
|
|
134
|
-
n = E.H, E.H = null, le();
|
|
135
|
-
try {
|
|
136
|
-
var u = {
|
|
137
|
-
DetermineComponentFrameRoot: function() {
|
|
138
|
-
try {
|
|
139
|
-
if (r) {
|
|
140
|
-
var i = function() {
|
|
141
|
-
throw Error();
|
|
142
|
-
};
|
|
143
|
-
if (Object.defineProperty(i.prototype, "props", {
|
|
144
|
-
set: function() {
|
|
145
|
-
throw Error();
|
|
146
|
-
}
|
|
147
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
148
|
-
try {
|
|
149
|
-
Reflect.construct(i, []);
|
|
150
|
-
} catch (c) {
|
|
151
|
-
var w = c;
|
|
152
|
-
}
|
|
153
|
-
Reflect.construct(e, [], i);
|
|
154
|
-
} else {
|
|
155
|
-
try {
|
|
156
|
-
i.call();
|
|
157
|
-
} catch (c) {
|
|
158
|
-
w = c;
|
|
159
|
-
}
|
|
160
|
-
e.call(i.prototype);
|
|
161
|
-
}
|
|
162
|
-
} else {
|
|
163
|
-
try {
|
|
164
|
-
throw Error();
|
|
165
|
-
} catch (c) {
|
|
166
|
-
w = c;
|
|
167
|
-
}
|
|
168
|
-
(i = e()) && typeof i.catch == "function" && i.catch(function() {
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
} catch (c) {
|
|
172
|
-
if (c && w && typeof c.stack == "string")
|
|
173
|
-
return [c.stack, w.stack];
|
|
174
|
-
}
|
|
175
|
-
return [null, null];
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
u.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
|
|
179
|
-
var a = Object.getOwnPropertyDescriptor(
|
|
180
|
-
u.DetermineComponentFrameRoot,
|
|
181
|
-
"name"
|
|
182
|
-
);
|
|
183
|
-
a && a.configurable && Object.defineProperty(
|
|
184
|
-
u.DetermineComponentFrameRoot,
|
|
185
|
-
"name",
|
|
186
|
-
{ value: "DetermineComponentFrameRoot" }
|
|
187
|
-
);
|
|
188
|
-
var t = u.DetermineComponentFrameRoot(), f = t[0], d = t[1];
|
|
189
|
-
if (f && d) {
|
|
190
|
-
var l = f.split(`
|
|
191
|
-
`), b = d.split(`
|
|
192
|
-
`);
|
|
193
|
-
for (t = a = 0; a < l.length && !l[a].includes(
|
|
194
|
-
"DetermineComponentFrameRoot"
|
|
195
|
-
); )
|
|
196
|
-
a++;
|
|
197
|
-
for (; t < b.length && !b[t].includes(
|
|
198
|
-
"DetermineComponentFrameRoot"
|
|
199
|
-
); )
|
|
200
|
-
t++;
|
|
201
|
-
if (a === l.length || t === b.length)
|
|
202
|
-
for (a = l.length - 1, t = b.length - 1; 1 <= a && 0 <= t && l[a] !== b[t]; )
|
|
203
|
-
t--;
|
|
204
|
-
for (; 1 <= a && 0 <= t; a--, t--)
|
|
205
|
-
if (l[a] !== b[t]) {
|
|
206
|
-
if (a !== 1 || t !== 1)
|
|
207
|
-
do
|
|
208
|
-
if (a--, t--, 0 > t || l[a] !== b[t]) {
|
|
209
|
-
var m = `
|
|
210
|
-
` + l[a].replace(
|
|
211
|
-
" at new ",
|
|
212
|
-
" at "
|
|
213
|
-
);
|
|
214
|
-
return e.displayName && m.includes("<anonymous>") && (m = m.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, m), m;
|
|
215
|
-
}
|
|
216
|
-
while (1 <= a && 0 <= t);
|
|
217
|
-
break;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
} finally {
|
|
221
|
-
P = !1, E.H = n, fe(), Error.prepareStackTrace = o;
|
|
222
|
-
}
|
|
223
|
-
return l = (l = e ? e.displayName || e.name : "") ? y(l) : "", typeof e == "function" && Y.set(e, l), l;
|
|
224
|
-
}
|
|
225
|
-
function T(e) {
|
|
226
|
-
if (e == null) return "";
|
|
227
|
-
if (typeof e == "function") {
|
|
228
|
-
var r = e.prototype;
|
|
229
|
-
return U(
|
|
230
|
-
e,
|
|
231
|
-
!(!r || !r.isReactComponent)
|
|
232
|
-
);
|
|
233
|
-
}
|
|
234
|
-
if (typeof e == "string") return y(e);
|
|
235
|
-
switch (e) {
|
|
236
|
-
case A:
|
|
237
|
-
return y("Suspense");
|
|
238
|
-
case R:
|
|
239
|
-
return y("SuspenseList");
|
|
240
|
-
}
|
|
241
|
-
if (typeof e == "object")
|
|
242
|
-
switch (e.$$typeof) {
|
|
243
|
-
case S:
|
|
244
|
-
return e = U(e.render, !1), e;
|
|
245
|
-
case k:
|
|
246
|
-
return T(e.type);
|
|
247
|
-
case p:
|
|
248
|
-
r = e._payload, e = e._init;
|
|
249
|
-
try {
|
|
250
|
-
return T(e(r));
|
|
251
|
-
} catch {
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
return "";
|
|
255
|
-
}
|
|
256
|
-
function C() {
|
|
257
|
-
var e = E.A;
|
|
258
|
-
return e === null ? null : e.getOwner();
|
|
259
|
-
}
|
|
260
|
-
function ce(e) {
|
|
261
|
-
if (J.call(e, "key")) {
|
|
262
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
263
|
-
if (r && r.isReactWarning) return !1;
|
|
264
|
-
}
|
|
265
|
-
return e.key !== void 0;
|
|
266
|
-
}
|
|
267
|
-
function se(e, r) {
|
|
268
|
-
function o() {
|
|
269
|
-
oe || (oe = !0, console.error(
|
|
270
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
271
|
-
r
|
|
272
|
-
));
|
|
273
|
-
}
|
|
274
|
-
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
275
|
-
get: o,
|
|
276
|
-
configurable: !0
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
function ie() {
|
|
280
|
-
var e = s(this.type);
|
|
281
|
-
return te[e] || (te[e] = !0, console.error(
|
|
282
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
283
|
-
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
284
|
-
}
|
|
285
|
-
function Ee(e, r, o, n, u, a) {
|
|
286
|
-
return o = a.ref, e = {
|
|
287
|
-
$$typeof: O,
|
|
288
|
-
type: e,
|
|
289
|
-
key: r,
|
|
290
|
-
props: a,
|
|
291
|
-
_owner: u
|
|
292
|
-
}, (o !== void 0 ? o : null) !== null ? Object.defineProperty(e, "ref", {
|
|
293
|
-
enumerable: !1,
|
|
294
|
-
get: ie
|
|
295
|
-
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
296
|
-
configurable: !1,
|
|
297
|
-
enumerable: !1,
|
|
298
|
-
writable: !0,
|
|
299
|
-
value: 0
|
|
300
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
301
|
-
configurable: !1,
|
|
302
|
-
enumerable: !1,
|
|
303
|
-
writable: !0,
|
|
304
|
-
value: null
|
|
305
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
306
|
-
}
|
|
307
|
-
function z(e, r, o, n, u, a) {
|
|
308
|
-
if (typeof e == "string" || typeof e == "function" || e === j || e === K || e === H || e === A || e === R || e === ge || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === k || e.$$typeof === q || e.$$typeof === X || e.$$typeof === S || e.$$typeof === _e || e.getModuleId !== void 0)) {
|
|
309
|
-
var t = r.children;
|
|
310
|
-
if (t !== void 0)
|
|
311
|
-
if (n)
|
|
312
|
-
if (N(t)) {
|
|
313
|
-
for (n = 0; n < t.length; n++)
|
|
314
|
-
V(t[n], e);
|
|
315
|
-
Object.freeze && Object.freeze(t);
|
|
316
|
-
} else
|
|
317
|
-
console.error(
|
|
318
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
319
|
-
);
|
|
320
|
-
else V(t, e);
|
|
321
|
-
} else
|
|
322
|
-
t = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (t += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? n = "null" : N(e) ? n = "array" : e !== void 0 && e.$$typeof === O ? (n = "<" + (s(e.type) || "Unknown") + " />", t = " Did you accidentally export a JSX literal instead of a component?") : n = typeof e, console.error(
|
|
323
|
-
"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
|
|
324
|
-
n,
|
|
325
|
-
t
|
|
326
|
-
);
|
|
327
|
-
if (J.call(r, "key")) {
|
|
328
|
-
t = s(e);
|
|
329
|
-
var f = Object.keys(r).filter(function(l) {
|
|
330
|
-
return l !== "key";
|
|
331
|
-
});
|
|
332
|
-
n = 0 < f.length ? "{key: someKey, " + f.join(": ..., ") + ": ...}" : "{key: someKey}", ne[t + n] || (f = 0 < f.length ? "{" + f.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
333
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
334
|
-
let props = %s;
|
|
335
|
-
<%s {...props} />
|
|
336
|
-
React keys must be passed directly to JSX without using spread:
|
|
337
|
-
let props = %s;
|
|
338
|
-
<%s key={someKey} {...props} />`,
|
|
339
|
-
n,
|
|
340
|
-
t,
|
|
341
|
-
f,
|
|
342
|
-
t
|
|
343
|
-
), ne[t + n] = !0);
|
|
344
|
-
}
|
|
345
|
-
if (t = null, o !== void 0 && (W(o), t = "" + o), ce(r) && (W(r.key), t = "" + r.key), "key" in r) {
|
|
346
|
-
o = {};
|
|
347
|
-
for (var d in r)
|
|
348
|
-
d !== "key" && (o[d] = r[d]);
|
|
349
|
-
} else o = r;
|
|
350
|
-
return t && se(
|
|
351
|
-
o,
|
|
352
|
-
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
353
|
-
), Ee(e, t, a, u, C(), o);
|
|
354
|
-
}
|
|
355
|
-
function V(e, r) {
|
|
356
|
-
if (typeof e == "object" && e && e.$$typeof !== ye) {
|
|
357
|
-
if (N(e))
|
|
358
|
-
for (var o = 0; o < e.length; o++) {
|
|
359
|
-
var n = e[o];
|
|
360
|
-
h(n) && G(n, r);
|
|
361
|
-
}
|
|
362
|
-
else if (h(e))
|
|
363
|
-
e._store && (e._store.validated = 1);
|
|
364
|
-
else if (e === null || typeof e != "object" ? o = null : (o = B && e[B] || e["@@iterator"], o = typeof o == "function" ? o : null), typeof o == "function" && o !== e.entries && (o = o.call(e), o !== e))
|
|
365
|
-
for (; !(e = o.next()).done; )
|
|
366
|
-
h(e.value) && G(e.value, r);
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
function h(e) {
|
|
370
|
-
return typeof e == "object" && e !== null && e.$$typeof === O;
|
|
371
|
-
}
|
|
372
|
-
function G(e, r) {
|
|
373
|
-
if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, r = ve(r), !ae[r])) {
|
|
374
|
-
ae[r] = !0;
|
|
375
|
-
var o = "";
|
|
376
|
-
e && e._owner != null && e._owner !== C() && (o = null, typeof e._owner.tag == "number" ? o = s(e._owner.type) : typeof e._owner.name == "string" && (o = e._owner.name), o = " It was passed a child from " + o + ".");
|
|
377
|
-
var n = E.getCurrentStack;
|
|
378
|
-
E.getCurrentStack = function() {
|
|
379
|
-
var u = T(e.type);
|
|
380
|
-
return n && (u += n() || ""), u;
|
|
381
|
-
}, console.error(
|
|
382
|
-
'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
|
|
383
|
-
r,
|
|
384
|
-
o
|
|
385
|
-
), E.getCurrentStack = n;
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
function ve(e) {
|
|
389
|
-
var r = "", o = C();
|
|
390
|
-
return o && (o = s(o.type)) && (r = `
|
|
391
|
-
|
|
392
|
-
Check the render method of \`` + o + "`."), r || (e = s(e)) && (r = `
|
|
393
|
-
|
|
394
|
-
Check the top-level render call using <` + e + ">."), r;
|
|
395
|
-
}
|
|
396
|
-
var be = we, O = Symbol.for("react.transitional.element"), de = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), H = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), X = Symbol.for("react.consumer"), q = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), ge = Symbol.for("react.offscreen"), B = Symbol.iterator, me = Symbol.for("react.client.reference"), E = be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, v = Object.assign, _e = Symbol.for("react.client.reference"), N = Array.isArray, g = 0, Z, F, I, L, Q, D, ee;
|
|
397
|
-
$.__reactDisabledLog = !0;
|
|
398
|
-
var x, re, P = !1, Y = new (typeof WeakMap == "function" ? WeakMap : Map)(), ye = Symbol.for("react.client.reference"), oe, te = {}, ne = {}, ae = {};
|
|
399
|
-
_.Fragment = j, _.jsx = function(e, r, o, n, u) {
|
|
400
|
-
return z(e, r, o, !1, n, u);
|
|
401
|
-
}, _.jsxs = function(e, r, o, n, u) {
|
|
402
|
-
return z(e, r, o, !0, n, u);
|
|
403
|
-
};
|
|
404
|
-
}(), _);
|
|
1
|
+
var m = 1, j = 0.9, k = 0.8, B = 0.17, v = 0.1, w = 0.999, D = 0.9999, G = 0.99, H = /[\\\/_+.#"@\[\(\{&]/, J = /[\\\/_+.#"@\[\(\{&]/g, K = /[\s-]/, A = /[\s-]/g;
|
|
2
|
+
function $(t, o, e, i, n, h, u) {
|
|
3
|
+
if (h === o.length) return n === t.length ? m : G;
|
|
4
|
+
var s = `${n},${h}`;
|
|
5
|
+
if (u[s] !== void 0) return u[s];
|
|
6
|
+
for (var d = i.charAt(h), a = e.indexOf(d, n), l = 0, r, g, c, p; a >= 0; ) r = $(t, o, e, i, a + 1, h + 1, u), r > l && (a === n ? r *= m : H.test(t.charAt(a - 1)) ? (r *= k, c = t.slice(n, a - 1).match(J), c && n > 0 && (r *= Math.pow(w, c.length))) : K.test(t.charAt(a - 1)) ? (r *= j, p = t.slice(n, a - 1).match(A), p && n > 0 && (r *= Math.pow(w, p.length))) : (r *= B, n > 0 && (r *= Math.pow(w, a - n))), t.charAt(a) !== o.charAt(h) && (r *= D)), (r < v && e.charAt(a - 1) === i.charAt(h + 1) || i.charAt(h + 1) === i.charAt(h) && e.charAt(a - 1) !== i.charAt(h)) && (g = $(t, o, e, i, a + 1, h + 2, u), g * v > r && (r = g * v)), r > l && (l = r), a = e.indexOf(d, a + 1);
|
|
7
|
+
return u[s] = l, l;
|
|
8
|
+
}
|
|
9
|
+
function x(t) {
|
|
10
|
+
return t.toLowerCase().replace(A, " ");
|
|
11
|
+
}
|
|
12
|
+
function M(t, o, e) {
|
|
13
|
+
return t = e && e.length > 0 ? `${t + " " + e.join(" ")}` : t, $(t, o, x(t), x(o), 0, 0, {});
|
|
405
14
|
}
|
|
406
15
|
export {
|
|
407
|
-
|
|
16
|
+
M as a
|
|
408
17
|
};
|
package/dist/index.es171.js
CHANGED
|
@@ -1,17 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import * as p from "react-dom";
|
|
3
|
+
import { Slot as f } from "./index.es115.js";
|
|
4
|
+
import { j as u } from "./index.es104.js";
|
|
5
|
+
var c = [
|
|
6
|
+
"a",
|
|
7
|
+
"button",
|
|
8
|
+
"div",
|
|
9
|
+
"form",
|
|
10
|
+
"h2",
|
|
11
|
+
"h3",
|
|
12
|
+
"img",
|
|
13
|
+
"input",
|
|
14
|
+
"label",
|
|
15
|
+
"li",
|
|
16
|
+
"nav",
|
|
17
|
+
"ol",
|
|
18
|
+
"p",
|
|
19
|
+
"span",
|
|
20
|
+
"svg",
|
|
21
|
+
"ul"
|
|
22
|
+
], v = c.reduce((r, i) => {
|
|
23
|
+
const t = n.forwardRef((o, e) => {
|
|
24
|
+
const { asChild: s, ...m } = o, a = s ? f : i;
|
|
25
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(a, { ...m, ref: e });
|
|
26
|
+
});
|
|
27
|
+
return t.displayName = `Primitive.${i}`, { ...r, [i]: t };
|
|
28
|
+
}, {});
|
|
29
|
+
function h(r, i) {
|
|
30
|
+
r && p.flushSync(() => r.dispatchEvent(i));
|
|
14
31
|
}
|
|
15
32
|
export {
|
|
16
|
-
|
|
33
|
+
v as Primitive,
|
|
34
|
+
h as dispatchDiscreteCustomEvent
|
|
17
35
|
};
|
package/dist/index.es172.js
CHANGED
|
@@ -1,35 +1,13 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"h2",
|
|
11
|
-
"h3",
|
|
12
|
-
"img",
|
|
13
|
-
"input",
|
|
14
|
-
"label",
|
|
15
|
-
"li",
|
|
16
|
-
"nav",
|
|
17
|
-
"ol",
|
|
18
|
-
"p",
|
|
19
|
-
"span",
|
|
20
|
-
"svg",
|
|
21
|
-
"ul"
|
|
22
|
-
], v = c.reduce((r, i) => {
|
|
23
|
-
const t = n.forwardRef((o, e) => {
|
|
24
|
-
const { asChild: s, ...m } = o, a = s ? f : i;
|
|
25
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(a, { ...m, ref: e });
|
|
26
|
-
});
|
|
27
|
-
return t.displayName = `Primitive.${i}`, { ...r, [i]: t };
|
|
28
|
-
}, {});
|
|
29
|
-
function h(r, i) {
|
|
30
|
-
r && p.flushSync(() => r.dispatchEvent(i));
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { useLayoutEffect as a } from "./index.es195.js";
|
|
3
|
+
var s = o.useId || (() => {
|
|
4
|
+
}), f = 0;
|
|
5
|
+
function n(t) {
|
|
6
|
+
const [e, r] = o.useState(s());
|
|
7
|
+
return a(() => {
|
|
8
|
+
r((u) => u ?? String(f++));
|
|
9
|
+
}, [t]), t || (e ? `radix-${e}` : "");
|
|
31
10
|
}
|
|
32
11
|
export {
|
|
33
|
-
|
|
34
|
-
h as dispatchDiscreteCustomEvent
|
|
12
|
+
n as useId
|
|
35
13
|
};
|
package/dist/index.es173.js
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const [e, r] = o.useState(s());
|
|
7
|
-
return a(() => {
|
|
8
|
-
r((u) => u ?? String(f++));
|
|
9
|
-
}, [t]), t || (e ? `radix-${e}` : "");
|
|
10
|
-
}
|
|
1
|
+
import { __module as r } from "./index.es209.js";
|
|
2
|
+
import { __require as e } from "./index.es210.js";
|
|
3
|
+
import { __require as o } from "./index.es211.js";
|
|
4
|
+
process.env.NODE_ENV === "production" ? r.exports = e() : r.exports = o();
|
|
5
|
+
var m = r.exports;
|
|
11
6
|
export {
|
|
12
|
-
|
|
7
|
+
m as s
|
|
13
8
|
};
|
package/dist/index.es174.js
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { findTabbableDescendants as b } from "./index.es175.js";
|
|
2
|
+
function g(a, e) {
|
|
3
|
+
const t = b(a);
|
|
4
|
+
if (!t.length) {
|
|
5
|
+
e.preventDefault();
|
|
6
|
+
return;
|
|
7
|
+
}
|
|
8
|
+
const o = t[e.shiftKey ? 0 : t.length - 1], i = a.getRootNode();
|
|
9
|
+
let c = o === i.activeElement || a === i.activeElement;
|
|
10
|
+
const n = i.activeElement;
|
|
11
|
+
if (n.tagName === "INPUT" && n.getAttribute("type") === "radio" && (c = t.filter(
|
|
12
|
+
(r) => r.getAttribute("type") === "radio" && r.getAttribute("name") === n.getAttribute("name")
|
|
13
|
+
).includes(o)), !c)
|
|
14
|
+
return;
|
|
15
|
+
e.preventDefault();
|
|
16
|
+
const l = t[e.shiftKey ? t.length - 1 : 0];
|
|
17
|
+
l && l.focus();
|
|
18
|
+
}
|
|
6
19
|
export {
|
|
7
|
-
|
|
20
|
+
g as scopeTab
|
|
8
21
|
};
|
package/dist/index.es175.js
CHANGED
|
@@ -1,21 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
const i = /input|select|textarea|button|object/, a = "a, input, select, textarea, button, object, [tabindex]";
|
|
2
|
+
function o(t) {
|
|
3
|
+
return process.env.NODE_ENV === "test" ? !1 : t.style.display === "none";
|
|
4
|
+
}
|
|
5
|
+
function s(t) {
|
|
6
|
+
if (t.getAttribute("aria-hidden") || t.getAttribute("hidden") || t.getAttribute("type") === "hidden")
|
|
7
|
+
return !1;
|
|
8
|
+
let e = t;
|
|
9
|
+
for (; e && !(e === document.body || e.nodeType === 11); ) {
|
|
10
|
+
if (o(e))
|
|
11
|
+
return !1;
|
|
12
|
+
e = e.parentNode;
|
|
7
13
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
e.
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
return !0;
|
|
15
|
+
}
|
|
16
|
+
function r(t) {
|
|
17
|
+
let n = t.getAttribute("tabindex");
|
|
18
|
+
return n === null && (n = void 0), parseInt(n, 10);
|
|
19
|
+
}
|
|
20
|
+
function d(t) {
|
|
21
|
+
const n = t.nodeName.toLowerCase(), e = !Number.isNaN(r(t));
|
|
22
|
+
return /* @ts-expect-error function accepts any html element but if it is a button, it should not be disabled to trigger the condition */ (i.test(n) && !t.disabled || t instanceof HTMLAnchorElement && t.href || e) && s(t);
|
|
23
|
+
}
|
|
24
|
+
function u(t) {
|
|
25
|
+
const n = r(t);
|
|
26
|
+
return (Number.isNaN(n) || n >= 0) && d(t);
|
|
27
|
+
}
|
|
28
|
+
function c(t) {
|
|
29
|
+
return Array.from(
|
|
30
|
+
t.querySelectorAll(a)
|
|
31
|
+
).filter(u);
|
|
18
32
|
}
|
|
19
33
|
export {
|
|
20
|
-
|
|
34
|
+
a as FOCUS_SELECTOR,
|
|
35
|
+
c as findTabbableDescendants,
|
|
36
|
+
d as focusable,
|
|
37
|
+
u as tabbable
|
|
21
38
|
};
|