Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,44 @@
|
||||
/* Metro module 1638; source: unknown; dependencies: [1639, 1621] */
|
||||
function _fun17886(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17886, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1765:6, offset: 0x00e78c73, size: 66 bytes, params: 8, frame: 16
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.getShadowNodeWrapperFromRef = getShadowNodeWrapperFromRef;
|
||||
}
|
||||
|
||||
function getShadowNodeWrapperFromRef(a0, a1) { // fn#17887, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1765:122, offset: 0x00e78cb5, size: 232 bytes, params: 3, frame: 15
|
||||
var r1;
|
||||
var nativeScrollRef;
|
||||
var _reactInternals;
|
||||
var moduleValue;
|
||||
const value = undefined;
|
||||
let __internalInstanceHandle = a1 == null ? value : a1.__internalInstanceHandle;
|
||||
let r0 = __internalInstanceHandle ?? (a0 == null ? value : a0.__internalInstanceHandle);
|
||||
if (r0 == null) {
|
||||
if (a0 == null) {
|
||||
__internalInstanceHandle = value;
|
||||
} else if (a0.getNativeScrollRef == null) {
|
||||
__internalInstanceHandle = value;
|
||||
} else {
|
||||
nativeScrollRef = a0.getNativeScrollRef();
|
||||
__internalInstanceHandle = nativeScrollRef == null ? value : nativeScrollRef.__internalInstanceHandle;
|
||||
}
|
||||
r0 = __internalInstanceHandle;
|
||||
}
|
||||
if (r0 == null) {
|
||||
_reactInternals = a0._reactInternals;
|
||||
if (_reactInternals) {
|
||||
moduleValue = require(1639) /* metro dependency 1639 */;
|
||||
r1 = moduleValue.findHostInstance(a0).__internalInstanceHandle;
|
||||
} else {
|
||||
r1 = _reactInternals;
|
||||
}
|
||||
r0 = r1;
|
||||
}
|
||||
if (r0) {
|
||||
return r0.stateNode.node;
|
||||
}
|
||||
const ReanimatedError = (require(1621) /* metro dependency 1621 */).ReanimatedError;
|
||||
throw new ReanimatedError('Failed to find host instance for a ref.');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user