MCPcopy Index your code
hub / github.com/dataease/SQLBot / Wh

Function Wh

frontend/public/swagger-ui-bundle.js:11748–11809  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

11746 return 'function' == typeof o ? o(s) : o
11747 }
11748 function Wh(s) {
11749 var o = Uh(),
11750 i = o.queue
11751 if (null === i) throw Error(p(311))
11752 i.lastRenderedReducer = s
11753 var a = os,
11754 u = a.baseQueue,
11755 _ = i.pending
11756 if (null !== _) {
11757 if (null !== u) {
11758 var w = u.next
11759 ;((u.next = _.next), (_.next = w))
11760 }
11761 ;((a.baseQueue = u = _), (i.pending = null))
11762 }
11763 if (null !== u) {
11764 ;((_ = u.next), (a = a.baseState))
11765 var x = (w = null),
11766 C = null,
11767 j = _
11768 do {
11769 var L = j.lane
11770 if ((ns & L) === L)
11771 (null !== C &&
11772 (C = C.next =
11773 {
11774 lane: 0,
11775 action: j.action,
11776 hasEagerState: j.hasEagerState,
11777 eagerState: j.eagerState,
11778 next: null,
11779 }),
11780 (a = j.hasEagerState ? j.eagerState : s(a, j.action)))
11781 else {
11782 var B = {
11783 lane: L,
11784 action: j.action,
11785 hasEagerState: j.hasEagerState,
11786 eagerState: j.eagerState,
11787 next: null,
11788 }
11789 ;(null === C ? ((x = C = B), (w = a)) : (C = C.next = B),
11790 (ss.lanes |= L),
11791 (Ws |= L))
11792 }
11793 j = j.next
11794 } while (null !== j && j !== _)
11795 ;(null === C ? (w = a) : (C.next = x),
11796 Dr(a, o.memoizedState) || (bs = !0),
11797 (o.memoizedState = a),
11798 (o.baseState = w),
11799 (o.baseQueue = C),
11800 (i.lastRenderedState = a))
11801 }
11802 if (null !== (s = i.interleaved)) {
11803 u = s
11804 do {
11805 ;((_ = u.lane), (ss.lanes |= _), (Ws |= _), (u = u.next))

Callers 1

Calls 4

UhFunction · 0.70
pFunction · 0.70
sFunction · 0.50
DrFunction · 0.50

Tested by

no test coverage detected