(s)
| 30776 | return u |
| 30777 | } |
| 30778 | function subscribe(s) { |
| 30779 | if ('function' != typeof s) throw new Error(formatProdErrorMessage(4)) |
| 30780 | if (C) throw new Error(formatProdErrorMessage(5)) |
| 30781 | let o = !0 |
| 30782 | ensureCanMutateNextListeners() |
| 30783 | const i = x++ |
| 30784 | return ( |
| 30785 | w.set(i, s), |
| 30786 | function unsubscribe() { |
| 30787 | if (o) { |
| 30788 | if (C) throw new Error(formatProdErrorMessage(6)) |
| 30789 | ;((o = !1), ensureCanMutateNextListeners(), w.delete(i), (_ = null)) |
| 30790 | } |
| 30791 | } |
| 30792 | ) |
| 30793 | } |
| 30794 | function dispatch(s) { |
| 30795 | if (!isPlainObject(s)) throw new Error(formatProdErrorMessage(7)) |
| 30796 | if (void 0 === s.type) throw new Error(formatProdErrorMessage(8)) |
nothing calls this directly
no test coverage detected