| 12280 | o.state !== s && gs.enqueueReplaceState(o, o.state, null)) |
| 12281 | } |
| 12282 | function Ii(s, o, i, a) { |
| 12283 | var u = s.stateNode |
| 12284 | ;((u.props = i), (u.state = s.memoizedState), (u.refs = {}), kh(s)) |
| 12285 | var _ = o.contextType |
| 12286 | ;('object' == typeof _ && null !== _ |
| 12287 | ? (u.context = eh(_)) |
| 12288 | : ((_ = Zf(o) ? wn : Sn.current), (u.context = Yf(s, _))), |
| 12289 | (u.state = s.memoizedState), |
| 12290 | 'function' == typeof (_ = o.getDerivedStateFromProps) && |
| 12291 | (Di(s, o, _, i), (u.state = s.memoizedState)), |
| 12292 | 'function' == typeof o.getDerivedStateFromProps || |
| 12293 | 'function' == typeof u.getSnapshotBeforeUpdate || |
| 12294 | ('function' != typeof u.UNSAFE_componentWillMount && |
| 12295 | 'function' != typeof u.componentWillMount) || |
| 12296 | ((o = u.state), |
| 12297 | 'function' == typeof u.componentWillMount && u.componentWillMount(), |
| 12298 | 'function' == typeof u.UNSAFE_componentWillMount && u.UNSAFE_componentWillMount(), |
| 12299 | o !== u.state && gs.enqueueReplaceState(u, u.state, null), |
| 12300 | qh(s, i, u, a), |
| 12301 | (u.state = s.memoizedState)), |
| 12302 | 'function' == typeof u.componentDidMount && (s.flags |= 4194308)) |
| 12303 | } |
| 12304 | function Ji(s, o) { |
| 12305 | try { |
| 12306 | var i = '', |