()
| 31378 | this.system.configs = s |
| 31379 | } |
| 31380 | rebuildReducer() { |
| 31381 | this.store.replaceReducer( |
| 31382 | (function buildReducer(s, o) { |
| 31383 | return (function allReducers(s, o) { |
| 31384 | let i = Object.keys(s).reduce( |
| 31385 | (i, a) => ( |
| 31386 | (i[a] = (function makeReducer(s, o) { |
| 31387 | return (i = new ze.Map(), a) => { |
| 31388 | if (!s) return i |
| 31389 | let u = s[a.type] |
| 31390 | if (u) { |
| 31391 | const s = wrapWithTryCatch(u, o)(i, a) |
| 31392 | return null === s ? i : s |
| 31393 | } |
| 31394 | return i |
| 31395 | } |
| 31396 | })(s[a], o)), |
| 31397 | i |
| 31398 | ), |
| 31399 | {} |
| 31400 | ) |
| 31401 | if (!Object.keys(i).length) return idFn |
| 31402 | return (0, Xe.H)(i) |
| 31403 | })( |
| 31404 | objMap(s, (s) => s.reducers), |
| 31405 | o |
| 31406 | ) |
| 31407 | })(this.system.statePlugins, this.getSystem) |
| 31408 | ) |
| 31409 | } |
| 31410 | getType(s) { |
| 31411 | let o = s[0].toUpperCase() + s.slice(1) |
| 31412 | return objReduce(this.system.statePlugins, (i, a) => { |
no test coverage detected