()
| 14 | window.dispatchEvent(new Event(CHANGE)); |
| 15 | } |
| 16 | const reducedMotion = () => typeof window.matchMedia === 'function' && window.matchMedia('(prefers-reduced-motion: reduce)').matches; |
| 17 | const subscribers = new Set<() => void>(); |
| 18 | let detach: (() => void) | undefined; |
| 19 | function subscribe(notify: () => void): () => void { |