MCPcopy Create free account
hub / github.com/dataease/SQLBot / hoistNonReactStatics

Function hoistNonReactStatics

frontend/public/swagger-ui-bundle.js:56852–56873  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

56850 iO = Object.getOwnPropertyDescriptor,
56851 aO = Object.getPrototypeOf,
56852 cO = Object.prototype
56853 function hoistNonReactStatics(s, o) {
56854 if ('string' != typeof o) {
56855 if (cO) {
56856 const i = aO(o)
56857 i && i !== cO && hoistNonReactStatics(s, i)
56858 }
56859 let i = sO(o)
56860 oO && (i = i.concat(oO(o)))
56861 const a = getStatics(s),
56862 u = getStatics(o)
56863 for (let _ = 0; _ < i.length; ++_) {
56864 const w = i[_]
56865 if (!(eO[w] || (u && u[w]) || (a && a[w]))) {
56866 const i = iO(o, w)
56867 try {
56868 nO(s, w, i)
56869 } catch (s) {}
56870 }
56871 }
56872 }
56873 return s
56874 }
56875 var lO = Symbol.for('react-redux-context'),
56876 uO = 'undefined' != typeof globalThis ? globalThis : {}

Callers 1

dOFunction · 0.85

Calls 5

aOFunction · 0.85
sOFunction · 0.85
getStaticsFunction · 0.85
iOFunction · 0.85
concatMethod · 0.80

Tested by

no test coverage detected