You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ae687c7
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -252 +256,19 @@ var {min: a, max: u, abs: d, floor: h} = Math, g = (e, t, n) => a(n, u(t, e)), v
14
+
+
15
+
var {min: a, max: u, abs: d, floor: h} = Math, g = (e, t, n) => a(n, u(t, e)), v = e => [ ...e ].sort((e, t) => e - t), p = setTimeout, S = clearTimeout, m = "function" == typeof queueMicrotask ? queueMicrotask : e => {
16
+
Promise.resolve().then(e);
17
+
}, $ = () => {
18
+
@@ -173,15 +177,37 @@ var {min: a, max: u, abs: d, floor: h} = Math, g = (e, t, n) => a(n, u(t, e)), v
19
+
q: () => [ l.slice(), o ]
20
+
};
21
+
}, C = e => {
22
+
- let t;
23
+
+ let t, view, frame;
24
+
+ const observed = new Set, pending = new Map;
25
+
return {
26
+
A(n) {
27
+
- (t || (t = new (z(_(n)).ResizeObserver)(e))).observe(n);
28
+
+ observed.add(n);
29
+
+ if (!t) {
30
+
+ view = z(_(n));
31
+
+ // Rendering from native resize delivery can mount same-depth
32
+
+ // items and trigger WebKit's skipped-notification loop.
33
+
+ t = new view.ResizeObserver(entries => {
34
+
+ for (const entry of entries) if (observed.has(entry.target)) pending.set(entry.target, entry);
0 commit comments