Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,240 @@
|
||||
/* Metro module 1620; source: unknown; dependencies: [57, 1621, 1622, 1614, 1623, 1624] */
|
||||
function _fun17767(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17767, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1747:6, offset: 0x00e75d96, size: 162 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(57) /* metro dependency 57 */;
|
||||
global._makeShareableClone = _makeShareableClone;
|
||||
global._scheduleHostFunctionOnJS = _scheduleHostFunctionOnJS;
|
||||
global._scheduleOnRuntime = _scheduleOnRuntime;
|
||||
exports.createJSReanimatedModule = (require(1624) /* metro dependency 1624 */).createJSReanimatedModule;
|
||||
exports._updatePropsJS = _updatePropsJS;
|
||||
}
|
||||
|
||||
function _makeShareableClone() { // fn#17768, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1747:129, offset: 0x00e75e38, size: 59 bytes, params: 1, frame: 11
|
||||
const ReanimatedError = (require(1621) /* metro dependency 1621 */).ReanimatedError;
|
||||
throw new ReanimatedError('`_makeShareableClone` should never be called from React runtime.');
|
||||
}
|
||||
|
||||
function _scheduleHostFunctionOnJS() { // fn#17769, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1747:272, offset: 0x00e75e73, size: 59 bytes, params: 1, frame: 11
|
||||
const ReanimatedError = (require(1621) /* metro dependency 1621 */).ReanimatedError;
|
||||
throw new ReanimatedError('`_scheduleOnJS` should never be called from React runtime.');
|
||||
}
|
||||
|
||||
function _scheduleOnRuntime() { // fn#17770, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1747:402, offset: 0x00e75eae, size: 59 bytes, params: 1, frame: 11
|
||||
const ReanimatedError = (require(1621) /* metro dependency 1621 */).ReanimatedError;
|
||||
throw new ReanimatedError('`_scheduleOnRuntime` should never be called from React runtime.');
|
||||
}
|
||||
|
||||
function setNativeProps_17771(a0, a1, a2) { // fn#17771, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1747:522, offset: 0x00e75ee9, size: 194 bytes, params: 4, frame: 24
|
||||
var r8;
|
||||
var object2;
|
||||
var propertyName;
|
||||
var propertyName2;
|
||||
var PropsAllowlists;
|
||||
var NATIVE_THREAD_PROPS_WHITELIST;
|
||||
if (a2) {
|
||||
object2 = {};
|
||||
for (propertyName in a1) {
|
||||
PropsAllowlists = (require(1623) /* metro dependency 1623 */).PropsAllowlists;
|
||||
NATIVE_THREAD_PROPS_WHITELIST = PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST;
|
||||
if (!NATIVE_THREAD_PROPS_WHITELIST[propertyName]) {
|
||||
r8 = propertyName2;
|
||||
continue;
|
||||
}
|
||||
object2[propertyName] = a1[propertyName];
|
||||
r8 = propertyName2;
|
||||
}
|
||||
if (a0.setNativeProps != null) {
|
||||
a0.setNativeProps(object2);
|
||||
}
|
||||
}
|
||||
const r4 = a0.previousStyle || ({});
|
||||
const Object = global.Object;
|
||||
const value = Object.assign({}, r4, a1);
|
||||
a0.previousStyle = value;
|
||||
if (a0.setNativeProps != null) {
|
||||
a0.setNativeProps({style: value});
|
||||
}
|
||||
}
|
||||
|
||||
function updatePropsDOM(a0, a1, a2) { // fn#17772, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1747:841, offset: 0x00e75fab, size: 411 bytes, params: 4, frame: 24
|
||||
var r2;
|
||||
var r11;
|
||||
var createTransformValue;
|
||||
var value3;
|
||||
var moduleValue2;
|
||||
var textShadowColor;
|
||||
var textShadowRadius;
|
||||
var textShadowOffset;
|
||||
var moduleValue3;
|
||||
var propertyName;
|
||||
var propertyName2;
|
||||
var style;
|
||||
var nodeName;
|
||||
var setAttribute;
|
||||
let r5 = a0.previousStyle || ({});
|
||||
const Object = global.Object;
|
||||
let value = Object.assign({}, r5, a1);
|
||||
a0.previousStyle = value;
|
||||
value = (require(1622) /* metro dependency 1622 */).createReactDOMStyle(value);
|
||||
const Array = global.Array;
|
||||
const isArray = Array.isArray;
|
||||
let transform = value.transform;
|
||||
const isArray2 = Reflect.apply(isArray, Array, [transform]);
|
||||
reducibleJoin5: while (true) {
|
||||
if (isArray2) {
|
||||
createTransformValue = (require(1622) /* metro dependency 1622 */).createTransformValue;
|
||||
value3 = createTransformValue !== undefined;
|
||||
r2 = value3;
|
||||
break reducibleJoin5;
|
||||
}
|
||||
r2 = isArray2;
|
||||
break reducibleJoin5;
|
||||
}
|
||||
reducibleJoin7: while (true) {
|
||||
if (r2) {
|
||||
moduleValue2 = require(1622) /* metro dependency 1622 */;
|
||||
createTransformValue = moduleValue2.createTransformValue;
|
||||
transform = value.transform;
|
||||
value.transform = Reflect.apply(createTransformValue, moduleValue2, [transform]);
|
||||
break reducibleJoin7;
|
||||
}
|
||||
break reducibleJoin7;
|
||||
}
|
||||
let createTextShadowValue = (require(1622) /* metro dependency 1622 */).createTextShadowValue;
|
||||
const value4 = createTextShadowValue !== undefined;
|
||||
reducibleJoin13: while (true) {
|
||||
if (value4) {
|
||||
textShadowColor = value.textShadowColor;
|
||||
reducibleJoin10: while (true) {
|
||||
if (textShadowColor) {
|
||||
r11 = textShadowColor;
|
||||
break reducibleJoin10;
|
||||
}
|
||||
textShadowRadius = value.textShadowRadius;
|
||||
r11 = textShadowRadius;
|
||||
break reducibleJoin10;
|
||||
}
|
||||
reducibleJoin12: while (true) {
|
||||
if (r11) {
|
||||
break reducibleJoin12;
|
||||
}
|
||||
textShadowOffset = value.textShadowOffset;
|
||||
r11 = textShadowOffset;
|
||||
break reducibleJoin12;
|
||||
}
|
||||
r2 = r11;
|
||||
break reducibleJoin13;
|
||||
}
|
||||
r2 = value4;
|
||||
break reducibleJoin13;
|
||||
}
|
||||
reducibleJoin15: while (true) {
|
||||
if (r2) {
|
||||
moduleValue3 = require(1622) /* metro dependency 1622 */;
|
||||
createTextShadowValue = moduleValue3.createTextShadowValue;
|
||||
textShadowColor = value.textShadowColor;
|
||||
textShadowOffset = value.textShadowOffset;
|
||||
textShadowRadius = value.textShadowRadius;
|
||||
value.textShadow = Reflect.apply(createTextShadowValue, moduleValue3, [{textShadowColor: textShadowColor,
|
||||
textShadowOffset: textShadowOffset, textShadowRadius: textShadowRadius}]);
|
||||
break reducibleJoin15;
|
||||
}
|
||||
break reducibleJoin15;
|
||||
}
|
||||
const properties = Object.keys(value);
|
||||
const properties2 = 0;
|
||||
const properties3 = properties.length;
|
||||
if (properties !== undefined) {
|
||||
r5 = properties2;
|
||||
reducibleLoop16: while (true) {
|
||||
propertyName = properties[r5];
|
||||
propertyName2 = r5 + 1;
|
||||
if (propertyName === undefined) {
|
||||
break reducibleLoop16;
|
||||
}
|
||||
if (a2) {
|
||||
nodeName = a0.nodeName;
|
||||
if (nodeName === 'INPUT') {
|
||||
reducibleJoin21: while (true) {
|
||||
if (propertyName === 'text') {
|
||||
a0.value = value[propertyName];
|
||||
r5 = propertyName2;
|
||||
continue reducibleLoop16;
|
||||
}
|
||||
break reducibleJoin21;
|
||||
}
|
||||
}
|
||||
setAttribute = a0.setAttribute;
|
||||
Reflect.apply(setAttribute, a0, [propertyName, value[propertyName]]);
|
||||
r5 = propertyName2;
|
||||
continue reducibleLoop16;
|
||||
}
|
||||
style = a0.style;
|
||||
style[propertyName] = value[propertyName];
|
||||
r5 = propertyName2;
|
||||
continue reducibleLoop16;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _updatePropsJS(a0, a1, a2) { // fn#17773, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1747:1550, offset: 0x00e76146, size: 379 bytes, params: 4, frame: 22
|
||||
var r3;
|
||||
var Object;
|
||||
var value3;
|
||||
var property;
|
||||
const logger = (require(1614) /* metro dependency 1614 */).logger;
|
||||
let value = a1;
|
||||
const env0_0 = a0;
|
||||
if (value) {
|
||||
if (value.getAnimatableRef) {
|
||||
value = value.getAnimatableRef();
|
||||
r3 = value;
|
||||
} else {
|
||||
r3 = value;
|
||||
}
|
||||
Object = global.Object;
|
||||
value = Object.keys(a0);
|
||||
value = value.reduce(_fun17774, [{}, {}]);
|
||||
value3 = undefined;
|
||||
value = env0_2(value, 1);
|
||||
property = value[0];
|
||||
if (typeof r3.setNativeProps === 'function') {
|
||||
setNativeProps_17771(r3, property, a2);
|
||||
} else if (value3 === (require(1622) /* metro dependency 1622 */).createReactDOMStyle) {
|
||||
Object = global.Object;
|
||||
if (Object.keys(r3.props).length > 0) {
|
||||
Object = global.Object;
|
||||
Object.keys(r3.props).forEach(_fun17775);
|
||||
} else {
|
||||
logger.warn("It's not possible to manipulate the component " + ('className' in r3 ? r3 == null ? value3 : r3.className : ''));
|
||||
}
|
||||
} else if (value3 !== r3.style) {
|
||||
updatePropsDOM(r3, property, a2);
|
||||
} else {
|
||||
Object = global.Object;
|
||||
if (Object.keys(r3.props).length > 0) {
|
||||
Object = global.Object;
|
||||
Object.keys(r3.props).forEach(_fun17775);
|
||||
} else {
|
||||
logger.warn("It's not possible to manipulate the component " + ('className' in r3 ? r3 == null ? value3 : r3.className : ''));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _fun17774(a0, a1) { // fn#17774, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1747:1660, offset: 0x00e762c1, size: 43 bytes, params: 3, frame: 6
|
||||
const property = env0_0[a1];
|
||||
a0[typeof property !== 'function' ? 0 : 1][a1] = property;
|
||||
return a0;
|
||||
}
|
||||
|
||||
function _fun17775(a0) { // fn#17775, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1747:1938, offset: 0x00e762ec, size: 85 bytes, params: 2, frame: 14
|
||||
if (env0_2[a0]) {
|
||||
env0_1._touchableNode.setAttribute(a0.replace(RegExp('[A-Z]', 'g'), function(a0) {
|
||||
return '-' + a0.toLowerCase();
|
||||
}), env0_2[a0]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user