(animations: Animation[])
| 78 | }; |
| 79 | |
| 80 | const pauseAnimations = (animations: Animation[]) => { |
| 81 | for (const animation of animations) { |
| 82 | try { |
| 83 | animation.pause(); |
| 84 | } catch (err) { |
| 85 | // ignore animation edge-cases |
| 86 | swallow("runtime.adapters.css.site4", err); |
| 87 | } |
| 88 | } |
| 89 | }; |
| 90 | |
| 91 | const restoreInlineStyles = (entry: (typeof entries)[number]) => { |
| 92 | if (entry.baseDelay) { |
no test coverage detected