@quoreadmin/ui 1.6.6 → 1.6.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.css +1 -1
- package/dist/index139.js +332 -300
- package/dist/index141.js +1 -1
- package/dist/index143.js +4 -4
- package/dist/index153.js +1 -1
- package/dist/index157.js +7 -7
- package/dist/index170.js +14 -14
- package/dist/index171.js +3 -3
- package/dist/index174.js +4 -4
- package/dist/index181.js +10 -10
- package/dist/index182.js +2 -2
- package/dist/index183.js +10 -10
- package/dist/index185.js +1 -1
- package/dist/index186.js +44 -115
- package/dist/index187.js +1188 -42
- package/dist/index189.js +5940 -0
- package/dist/index190.js +99 -5830
- package/dist/index191.js +16 -188
- package/dist/index192.js +8 -25
- package/dist/index193.js +76 -16
- package/dist/index194.js +249 -74
- package/dist/index195.js +13660 -229
- package/dist/index196.js +27 -13684
- package/dist/index197.js +62 -26
- package/dist/index198.js +215 -40
- package/dist/index199.js +276 -206
- package/dist/index20.js +4 -4
- package/dist/index200.js +258 -278
- package/dist/index201.js +32 -287
- package/dist/index202.js +113 -30
- package/dist/index203.js +30 -110
- package/dist/index204.js +26 -36
- package/dist/index205.js +36 -26
- package/dist/index206.js +9 -36
- package/dist/index207.js +19 -9
- package/dist/index208.js +10 -19
- package/dist/index209.js +10 -10
- package/dist/index210.js +51 -10
- package/dist/index211.js +37 -45
- package/dist/index212.js +3 -42
- package/dist/index213.js +38 -3
- package/dist/index214.js +21 -39
- package/dist/index215.js +88 -21
- package/dist/index216.js +389 -70
- package/dist/index217.js +21 -406
- package/dist/index218.js +159 -20
- package/dist/index219.js +19 -160
- package/dist/index220.js +20 -228
- package/dist/index221.js +21 -36
- package/dist/index222.js +198 -9
- package/dist/index223.js +64 -121
- package/dist/index224.js +32 -36
- package/dist/index225.js +40 -80
- package/dist/index226.js +14 -12
- package/dist/index227.js +14 -12
- package/dist/index228.js +12 -12
- package/dist/index229.js +836 -20
- package/dist/index230.js +701 -19
- package/dist/index231.js +171 -156
- package/dist/index232.js +11 -11
- package/dist/index233.js +13 -15
- package/dist/index234.js +21 -198
- package/dist/index235.js +19 -69
- package/dist/index236.js +20 -34
- package/dist/index237.js +3 -40
- package/dist/index238.js +186 -21
- package/dist/index239.js +132 -21
- package/dist/index240.js +1223 -20
- package/dist/index241.js +114 -823
- package/dist/index242.js +19 -701
- package/dist/index243.js +22 -176
- package/dist/index244.js +8 -8
- package/dist/index245.js +37 -19
- package/dist/index246.js +22 -13
- package/dist/index247.js +20 -3
- package/dist/index248.js +19 -186
- package/dist/index249.js +2 -133
- package/dist/index250.js +2 -1223
- package/dist/index251.js +3632 -20
- package/dist/index252.js +55 -22
- package/dist/index253.js +77 -22
- package/dist/index254.js +52 -29
- package/dist/index255.js +215 -20
- package/dist/index256.js +10 -20
- package/dist/index257.js +57 -2
- package/dist/index258.js +61 -2
- package/dist/index259.js +39 -3617
- package/dist/index260.js +50 -30
- package/dist/index261.js +689 -43
- package/dist/index262.js +22 -35
- package/dist/index263.js +34 -185
- package/dist/index264.js +10 -9
- package/dist/index265.js +697 -49
- package/dist/index266.js +816 -57
- package/dist/index267.js +160 -53
- package/dist/index268.js +225 -72
- package/dist/index269.js +34 -720
- package/dist/index270.js +10 -39
- package/dist/index271.js +73 -57
- package/dist/index272.js +20 -11
- package/dist/index273.js +20 -705
- package/dist/index274.js +234 -801
- package/dist/index275.js +8 -253
- package/dist/index276.js +138 -8
- package/dist/index277.js +68 -123
- package/dist/index278.js +50 -79
- package/dist/index279.js +79 -3
- package/dist/index280.js +25 -26
- package/dist/index281.js +22 -2
- package/dist/index282.js +21 -78
- package/dist/index283.js +14 -52
- package/dist/index284.js +17 -26
- package/dist/index285.js +23 -22
- package/dist/index286.js +1518 -22
- package/dist/index287.js +386 -16
- package/dist/index288.js +2731 -17
- package/dist/index289.js +85 -22
- package/dist/index290.js +3770 -79
- package/dist/index291.js +59 -21
- package/dist/index292.js +14 -934
- package/dist/index293.js +83 -21
- package/dist/index294.js +202 -20
- package/dist/index295.js +246 -20
- package/dist/index296.js +77 -67
- package/dist/index297.js +21 -18
- package/dist/index298.js +934 -18
- package/dist/index299.js +16 -16
- package/dist/index300.js +11 -13
- package/dist/index301.js +19 -62
- package/dist/index302.js +69 -1518
- package/dist/index303.js +19 -386
- package/dist/index304.js +19 -2731
- package/dist/index305.js +21 -85
- package/dist/index306.js +22 -3770
- package/dist/index307.js +63 -60
- package/dist/index308.js +2 -15
- package/dist/index309.js +3 -84
- package/dist/index310.js +22 -197
- package/dist/index311.js +219 -230
- package/dist/index312.js +4 -233
- package/dist/index313.js +133 -5
- package/dist/index314.js +63 -129
- package/dist/index315.js +86 -67
- package/dist/index316.js +27 -85
- package/dist/index317.js +8 -28
- package/dist/index318.js +74 -8
- package/dist/index319.js +3 -74
- package/dist/index320.js +2 -4
- package/dist/index321.js +83 -2
- package/dist/index322.js +52 -81
- package/dist/index323.js +5 -53
- package/dist/index324.js +4 -5
- package/dist/index325.js +178 -4
- package/dist/index326.js +58 -174
- package/dist/index327.js +73 -61
- package/dist/index328.js +36 -74
- package/dist/index329.js +19 -8
- package/dist/index330.js +19 -12
- package/dist/index331.js +60 -51
- package/dist/index332.js +37 -12
- package/dist/index333.js +8 -13
- package/dist/index334.js +12 -57
- package/dist/index335.js +51 -48
- package/dist/index336.js +9 -28
- package/dist/index337.js +14 -2
- package/dist/index338.js +58 -5
- package/dist/index339.js +52 -2
- package/dist/index340.js +30 -22
- package/dist/index341.js +2 -41
- package/dist/index342.js +5 -2
- package/dist/index343.js +2 -11
- package/dist/index344.js +22 -19
- package/dist/index345.js +38 -14
- package/dist/index346.js +2 -10
- package/dist/index347.js +10 -9
- package/dist/index348.js +20 -2
- package/dist/index349.js +16 -8
- package/dist/index350.js +10 -10
- package/dist/index351.js +9 -13
- package/dist/index352.js +2 -37
- package/dist/index353.js +9 -20
- package/dist/index354.js +9 -19
- package/dist/index355.js +14 -64
- package/dist/index356.js +20 -36
- package/dist/index357.js +54 -19
- package/dist/index358.js +28 -55
- package/dist/index359.js +5 -27
- package/dist/index360.js +51 -6
- package/dist/index361.js +5 -51
- package/dist/index362.js +12 -6
- package/dist/index363.js +7 -12
- package/dist/index364.js +27 -6
- package/dist/index365.js +2 -28
- package/dist/index366.js +70 -2
- package/dist/index367.js +164 -67
- package/dist/index368.js +99 -165
- package/dist/index369.js +91 -17
- package/dist/index370.js +95 -98
- package/dist/index371.js +17 -91
- package/dist/index372.js +30 -97
- package/dist/index373.js +10 -30
- package/dist/index374.js +3 -10
- package/dist/index375.js +3 -3
- package/dist/index376.js +13 -4
- package/dist/index377.js +7 -13
- package/dist/index378.js +12 -7
- package/dist/index379.js +4 -11
- package/dist/index380.js +33 -5
- package/dist/index381.js +31 -33
- package/dist/index382.js +26 -29
- package/dist/index383.js +59 -26
- package/dist/index384.js +3 -61
- package/dist/index385.js +2 -3
- package/dist/index386.js +2 -2
- package/dist/index387.js +17 -2
- package/dist/index388.js +11 -15
- package/dist/index389.js +6 -13
- package/dist/index390.js +32 -6
- package/dist/index43.js +321 -314
- package/dist/index47.js +4 -4
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +91 -1
- package/dist/src/components/textarea/textarea.d.ts +1 -1
- package/dist/src/components/textarea/textarea.stories.d.ts +1 -1
- package/package.json +1 -1
- package/dist/index188.js +0 -1192
- package/dist/index391.js +0 -34
package/dist/index378.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import a from "./index322.js";
|
|
2
|
+
function E(i, f, t) {
|
|
3
|
+
const u = t.config.validateStatus;
|
|
4
|
+
!t.status || !u || u(t.status) ? i(t) : f(new a(
|
|
5
|
+
"Request failed with status code " + t.status,
|
|
6
|
+
[a.ERR_BAD_REQUEST, a.ERR_BAD_RESPONSE][Math.floor(t.status / 100) - 4],
|
|
7
|
+
t.config,
|
|
8
|
+
t.request,
|
|
9
|
+
t
|
|
10
|
+
));
|
|
11
|
+
}
|
|
3
12
|
export {
|
|
4
|
-
|
|
5
|
-
n as hasStandardBrowserEnv,
|
|
6
|
-
t as hasStandardBrowserWebWorkerEnv,
|
|
7
|
-
o as navigator,
|
|
8
|
-
r as origin
|
|
13
|
+
E as default
|
|
9
14
|
};
|
package/dist/index379.js
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
!t.status || !u || u(t.status) ? i(t) : f(new a(
|
|
5
|
-
"Request failed with status code " + t.status,
|
|
6
|
-
[a.ERR_BAD_REQUEST, a.ERR_BAD_RESPONSE][Math.floor(t.status / 100) - 4],
|
|
7
|
-
t.config,
|
|
8
|
-
t.request,
|
|
9
|
-
t
|
|
10
|
-
));
|
|
1
|
+
function o(e) {
|
|
2
|
+
const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
3
|
+
return t && t[1] || "";
|
|
11
4
|
}
|
|
12
5
|
export {
|
|
13
|
-
|
|
6
|
+
o as default
|
|
14
7
|
};
|
package/dist/index380.js
CHANGED
|
@@ -1,7 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import i from "./index387.js";
|
|
2
|
+
import m from "./index388.js";
|
|
3
|
+
import f from "./index311.js";
|
|
4
|
+
const h = (t, o, a = 3) => {
|
|
5
|
+
let r = 0;
|
|
6
|
+
const c = i(50, 250);
|
|
7
|
+
return m((s) => {
|
|
8
|
+
const n = s.loaded, e = s.lengthComputable ? s.total : void 0, l = n - r, d = c(l), p = n <= e;
|
|
9
|
+
r = n;
|
|
10
|
+
const u = {
|
|
11
|
+
loaded: n,
|
|
12
|
+
total: e,
|
|
13
|
+
progress: e ? n / e : void 0,
|
|
14
|
+
bytes: l,
|
|
15
|
+
rate: d || void 0,
|
|
16
|
+
estimated: d && e && p ? (e - n) / d : void 0,
|
|
17
|
+
event: s,
|
|
18
|
+
lengthComputable: e != null,
|
|
19
|
+
[o ? "download" : "upload"]: !0
|
|
20
|
+
};
|
|
21
|
+
t(u);
|
|
22
|
+
}, a);
|
|
23
|
+
}, v = (t, o) => {
|
|
24
|
+
const a = t != null;
|
|
25
|
+
return [(r) => o[0]({
|
|
26
|
+
lengthComputable: a,
|
|
27
|
+
total: t,
|
|
28
|
+
loaded: r
|
|
29
|
+
}), o[1]];
|
|
30
|
+
}, C = (t) => (...o) => f.asap(() => t(...o));
|
|
5
31
|
export {
|
|
6
|
-
|
|
32
|
+
C as asyncDecorator,
|
|
33
|
+
v as progressEventDecorator,
|
|
34
|
+
h as progressEventReducer
|
|
7
35
|
};
|
package/dist/index381.js
CHANGED
|
@@ -1,35 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import m from "./
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
1
|
+
import n from "./index363.js";
|
|
2
|
+
import m from "./index311.js";
|
|
3
|
+
import c from "./index389.js";
|
|
4
|
+
import h from "./index390.js";
|
|
5
|
+
import w from "./index359.js";
|
|
6
|
+
import b from "./index314.js";
|
|
7
|
+
import C from "./index325.js";
|
|
8
|
+
import g from "./index356.js";
|
|
9
|
+
const E = (a) => {
|
|
10
|
+
const e = b({}, a);
|
|
11
|
+
let { data: i, withXSRFToken: r, xsrfHeaderName: f, xsrfCookieName: d, headers: o, auth: s } = e;
|
|
12
|
+
if (e.headers = o = C.from(o), e.url = g(w(e.baseURL, e.url, e.allowAbsoluteUrls), a.params, a.paramsSerializer), s && o.set(
|
|
13
|
+
"Authorization",
|
|
14
|
+
"Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
|
|
15
|
+
), m.isFormData(i)) {
|
|
16
|
+
if (n.hasStandardBrowserEnv || n.hasStandardBrowserWebWorkerEnv)
|
|
17
|
+
o.setContentType(void 0);
|
|
18
|
+
else if (m.isFunction(i.getHeaders)) {
|
|
19
|
+
const t = i.getHeaders(), u = ["content-type", "content-length"];
|
|
20
|
+
Object.entries(t).forEach(([l, p]) => {
|
|
21
|
+
u.includes(l.toLowerCase()) && o.set(l, p);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
if (n.hasStandardBrowserEnv && (r && m.isFunction(r) && (r = r(e)), r || r !== !1 && c(e.url))) {
|
|
26
|
+
const t = f && d && h.read(d);
|
|
27
|
+
t && o.set(f, t);
|
|
28
|
+
}
|
|
29
|
+
return e;
|
|
30
|
+
};
|
|
31
31
|
export {
|
|
32
|
-
|
|
33
|
-
v as progressEventDecorator,
|
|
34
|
-
h as progressEventReducer
|
|
32
|
+
E as default
|
|
35
33
|
};
|
package/dist/index382.js
CHANGED
|
@@ -1,33 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import a from "./index317.js";
|
|
2
|
+
import s from "./index322.js";
|
|
3
|
+
import m from "./index311.js";
|
|
4
|
+
const h = (e, t) => {
|
|
5
|
+
const { length: l } = e = e ? e.filter(Boolean) : [];
|
|
6
|
+
if (t || l) {
|
|
7
|
+
let u = new AbortController(), f;
|
|
8
|
+
const n = function(r) {
|
|
9
|
+
if (!f) {
|
|
10
|
+
f = !0, i();
|
|
11
|
+
const o = r instanceof Error ? r : this.reason;
|
|
12
|
+
u.abort(o instanceof s ? o : new a(o instanceof Error ? o.message : o));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
let c = t && setTimeout(() => {
|
|
16
|
+
c = null, n(new s(`timeout ${t} of ms exceeded`, s.ETIMEDOUT));
|
|
17
|
+
}, t);
|
|
18
|
+
const i = () => {
|
|
19
|
+
e && (c && clearTimeout(c), c = null, e.forEach((r) => {
|
|
20
|
+
r.unsubscribe ? r.unsubscribe(n) : r.removeEventListener("abort", n);
|
|
21
|
+
}), e = null);
|
|
22
|
+
};
|
|
23
|
+
e.forEach((r) => r.addEventListener("abort", n));
|
|
24
|
+
const { signal: b } = u;
|
|
25
|
+
return b.unsubscribe = () => m.asap(i), b;
|
|
24
26
|
}
|
|
25
|
-
if (n.hasStandardBrowserEnv && (r && m.isFunction(r) && (r = r(e)), r || r !== !1 && c(e.url))) {
|
|
26
|
-
const t = f && d && h.read(d);
|
|
27
|
-
t && o.set(f, t);
|
|
28
|
-
}
|
|
29
|
-
return e;
|
|
30
27
|
};
|
|
31
28
|
export {
|
|
32
|
-
|
|
29
|
+
h as default
|
|
33
30
|
};
|
package/dist/index383.js
CHANGED
|
@@ -1,30 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}, t);
|
|
18
|
-
const i = () => {
|
|
19
|
-
e && (c && clearTimeout(c), c = null, e.forEach((r) => {
|
|
20
|
-
r.unsubscribe ? r.unsubscribe(n) : r.removeEventListener("abort", n);
|
|
21
|
-
}), e = null);
|
|
22
|
-
};
|
|
23
|
-
e.forEach((r) => r.addEventListener("abort", n));
|
|
24
|
-
const { signal: b } = u;
|
|
25
|
-
return b.unsubscribe = () => m.asap(i), b;
|
|
1
|
+
const f = function* (e, t) {
|
|
2
|
+
let n = e.byteLength;
|
|
3
|
+
if (n < t) {
|
|
4
|
+
yield e;
|
|
5
|
+
return;
|
|
6
|
+
}
|
|
7
|
+
let a = 0, r;
|
|
8
|
+
for (; a < n; )
|
|
9
|
+
r = a + t, yield e.slice(a, r), a = r;
|
|
10
|
+
}, w = async function* (e, t) {
|
|
11
|
+
for await (const n of b(e))
|
|
12
|
+
yield* f(n, t);
|
|
13
|
+
}, b = async function* (e) {
|
|
14
|
+
if (e[Symbol.asyncIterator]) {
|
|
15
|
+
yield* e;
|
|
16
|
+
return;
|
|
26
17
|
}
|
|
18
|
+
const t = e.getReader();
|
|
19
|
+
try {
|
|
20
|
+
for (; ; ) {
|
|
21
|
+
const { done: n, value: a } = await t.read();
|
|
22
|
+
if (n)
|
|
23
|
+
break;
|
|
24
|
+
yield a;
|
|
25
|
+
}
|
|
26
|
+
} finally {
|
|
27
|
+
await t.cancel();
|
|
28
|
+
}
|
|
29
|
+
}, h = (e, t, n, a) => {
|
|
30
|
+
const r = w(e, t);
|
|
31
|
+
let d = 0, o, c = (l) => {
|
|
32
|
+
o || (o = !0, a && a(l));
|
|
33
|
+
};
|
|
34
|
+
return new ReadableStream({
|
|
35
|
+
async pull(l) {
|
|
36
|
+
try {
|
|
37
|
+
const { done: i, value: y } = await r.next();
|
|
38
|
+
if (i) {
|
|
39
|
+
c(), l.close();
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
let s = y.byteLength;
|
|
43
|
+
if (n) {
|
|
44
|
+
let u = d += s;
|
|
45
|
+
n(u);
|
|
46
|
+
}
|
|
47
|
+
l.enqueue(new Uint8Array(y));
|
|
48
|
+
} catch (i) {
|
|
49
|
+
throw c(i), i;
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
cancel(l) {
|
|
53
|
+
return c(l), r.return();
|
|
54
|
+
}
|
|
55
|
+
}, {
|
|
56
|
+
highWaterMark: 2
|
|
57
|
+
});
|
|
27
58
|
};
|
|
28
59
|
export {
|
|
29
|
-
|
|
60
|
+
w as readBytes,
|
|
61
|
+
f as streamChunk,
|
|
62
|
+
h as trackStream
|
|
30
63
|
};
|
package/dist/index384.js
CHANGED
|
@@ -1,63 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (n < t) {
|
|
4
|
-
yield e;
|
|
5
|
-
return;
|
|
6
|
-
}
|
|
7
|
-
let a = 0, r;
|
|
8
|
-
for (; a < n; )
|
|
9
|
-
r = a + t, yield e.slice(a, r), a = r;
|
|
10
|
-
}, w = async function* (e, t) {
|
|
11
|
-
for await (const n of b(e))
|
|
12
|
-
yield* f(n, t);
|
|
13
|
-
}, b = async function* (e) {
|
|
14
|
-
if (e[Symbol.asyncIterator]) {
|
|
15
|
-
yield* e;
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
const t = e.getReader();
|
|
19
|
-
try {
|
|
20
|
-
for (; ; ) {
|
|
21
|
-
const { done: n, value: a } = await t.read();
|
|
22
|
-
if (n)
|
|
23
|
-
break;
|
|
24
|
-
yield a;
|
|
25
|
-
}
|
|
26
|
-
} finally {
|
|
27
|
-
await t.cancel();
|
|
28
|
-
}
|
|
29
|
-
}, h = (e, t, n, a) => {
|
|
30
|
-
const r = w(e, t);
|
|
31
|
-
let d = 0, o, c = (l) => {
|
|
32
|
-
o || (o = !0, a && a(l));
|
|
33
|
-
};
|
|
34
|
-
return new ReadableStream({
|
|
35
|
-
async pull(l) {
|
|
36
|
-
try {
|
|
37
|
-
const { done: i, value: y } = await r.next();
|
|
38
|
-
if (i) {
|
|
39
|
-
c(), l.close();
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
let s = y.byteLength;
|
|
43
|
-
if (n) {
|
|
44
|
-
let u = d += s;
|
|
45
|
-
n(u);
|
|
46
|
-
}
|
|
47
|
-
l.enqueue(new Uint8Array(y));
|
|
48
|
-
} catch (i) {
|
|
49
|
-
throw c(i), i;
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
cancel(l) {
|
|
53
|
-
return c(l), r.return();
|
|
54
|
-
}
|
|
55
|
-
}, {
|
|
56
|
-
highWaterMark: 2
|
|
57
|
-
});
|
|
58
|
-
};
|
|
1
|
+
import a from "./index372.js";
|
|
2
|
+
const e = typeof URLSearchParams < "u" ? URLSearchParams : a;
|
|
59
3
|
export {
|
|
60
|
-
|
|
61
|
-
f as streamChunk,
|
|
62
|
-
h as trackStream
|
|
4
|
+
e as default
|
|
63
5
|
};
|
package/dist/index385.js
CHANGED
package/dist/index386.js
CHANGED
package/dist/index387.js
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
function y(t, n) {
|
|
2
|
+
t = t || 10;
|
|
3
|
+
const c = new Array(t), o = new Array(t);
|
|
4
|
+
let e = 0, r = 0, i;
|
|
5
|
+
return n = n !== void 0 ? n : 1e3, function(h) {
|
|
6
|
+
const d = Date.now(), a = o[r];
|
|
7
|
+
i || (i = d), c[e] = h, o[e] = d;
|
|
8
|
+
let f = r, u = 0;
|
|
9
|
+
for (; f !== e; )
|
|
10
|
+
u += c[f++], f = f % t;
|
|
11
|
+
if (e = (e + 1) % t, e === r && (r = (r + 1) % t), d - i < n)
|
|
12
|
+
return;
|
|
13
|
+
const w = a && d - a;
|
|
14
|
+
return w ? Math.round(u * 1e3 / w) : void 0;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
2
17
|
export {
|
|
3
|
-
|
|
18
|
+
y as default
|
|
4
19
|
};
|
package/dist/index388.js
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
return n = n !== void 0 ? n : 1e3, function(h) {
|
|
6
|
-
const d = Date.now(), a = o[r];
|
|
7
|
-
i || (i = d), c[e] = h, o[e] = d;
|
|
8
|
-
let f = r, u = 0;
|
|
9
|
-
for (; f !== e; )
|
|
10
|
-
u += c[f++], f = f % t;
|
|
11
|
-
if (e = (e + 1) % t, e === r && (r = (r + 1) % t), d - i < n)
|
|
12
|
-
return;
|
|
13
|
-
const w = a && d - a;
|
|
14
|
-
return w ? Math.round(u * 1e3 / w) : void 0;
|
|
1
|
+
function h(r, a) {
|
|
2
|
+
let s = 0, u = 1e3 / a, e, t;
|
|
3
|
+
const n = (l, o = Date.now()) => {
|
|
4
|
+
s = o, e = null, t && (clearTimeout(t), t = null), r(...l);
|
|
15
5
|
};
|
|
6
|
+
return [(...l) => {
|
|
7
|
+
const o = Date.now(), i = o - s;
|
|
8
|
+
i >= u ? n(l, o) : (e = l, t || (t = setTimeout(() => {
|
|
9
|
+
t = null, n(e);
|
|
10
|
+
}, u - i)));
|
|
11
|
+
}, () => e && n(e)];
|
|
16
12
|
}
|
|
17
13
|
export {
|
|
18
|
-
|
|
14
|
+
h as default
|
|
19
15
|
};
|
package/dist/index389.js
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return [(...l) => {
|
|
7
|
-
const o = Date.now(), i = o - s;
|
|
8
|
-
i >= u ? n(l, o) : (e = l, t || (t = setTimeout(() => {
|
|
9
|
-
t = null, n(e);
|
|
10
|
-
}, u - i)));
|
|
11
|
-
}, () => e && n(e)];
|
|
12
|
-
}
|
|
1
|
+
import o from "./index363.js";
|
|
2
|
+
const n = o.hasStandardBrowserEnv ? /* @__PURE__ */ ((r, e) => (t) => (t = new URL(t, o.origin), r.protocol === t.protocol && r.host === t.host && (e || r.port === t.port)))(
|
|
3
|
+
new URL(o.origin),
|
|
4
|
+
o.navigator && /(msie|trident)/i.test(o.navigator.userAgent)
|
|
5
|
+
) : () => !0;
|
|
13
6
|
export {
|
|
14
|
-
|
|
7
|
+
n as default
|
|
15
8
|
};
|
package/dist/index390.js
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import n from "./index311.js";
|
|
2
|
+
import d from "./index363.js";
|
|
3
|
+
const p = d.hasStandardBrowserEnv ? (
|
|
4
|
+
// Standard browser envs support document.cookie
|
|
5
|
+
{
|
|
6
|
+
write(t, o, r, i, u, c, s) {
|
|
7
|
+
if (typeof document > "u") return;
|
|
8
|
+
const e = [`${t}=${encodeURIComponent(o)}`];
|
|
9
|
+
n.isNumber(r) && e.push(`expires=${new Date(r).toUTCString()}`), n.isString(i) && e.push(`path=${i}`), n.isString(u) && e.push(`domain=${u}`), c === !0 && e.push("secure"), n.isString(s) && e.push(`SameSite=${s}`), document.cookie = e.join("; ");
|
|
10
|
+
},
|
|
11
|
+
read(t) {
|
|
12
|
+
if (typeof document > "u") return null;
|
|
13
|
+
const o = document.cookie.match(new RegExp("(?:^|; )" + t + "=([^;]*)"));
|
|
14
|
+
return o ? decodeURIComponent(o[1]) : null;
|
|
15
|
+
},
|
|
16
|
+
remove(t) {
|
|
17
|
+
this.write(t, "", Date.now() - 864e5, "/");
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
) : (
|
|
21
|
+
// Non-standard browser env (web workers, react-native) lack needed support.
|
|
22
|
+
{
|
|
23
|
+
write() {
|
|
24
|
+
},
|
|
25
|
+
read() {
|
|
26
|
+
return null;
|
|
27
|
+
},
|
|
28
|
+
remove() {
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
);
|
|
6
32
|
export {
|
|
7
|
-
|
|
33
|
+
p as default
|
|
8
34
|
};
|