Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,30 @@
|
||||
/* Metro module 8142; source: modules/reanimated/ReanimatedHelperTypes.tsx; dependencies: [2] */
|
||||
function _fun65260(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#65260, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8327:6, offset: 0x01bca2c2, size: 85 bytes, params: 8, frame: 15
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reanimated/ReanimatedHelperTypes.tsx');
|
||||
exports.createFakeSharedValue = function(a0) {
|
||||
return {value: a0, get: _fun65262, set: _fun65263, addListener: _fun65264, removeListener: _fun65265,
|
||||
modify: _fun65266};
|
||||
};
|
||||
}
|
||||
|
||||
function createFakeSharedValue(a0) { // fn#65261, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8327:194, offset: 0x01bca317, size: 61 bytes, params: 2, frame: 3
|
||||
return {value: a0, get: function() {
|
||||
var Error = global.Error;
|
||||
throw new Error('FakeSharedValue: You cannot get a value on fake shared value');
|
||||
}, set: function() {
|
||||
var Error = global.Error;
|
||||
throw new Error('FakeSharedValue: You cannot set a value on fake shared value');
|
||||
}, addListener: function() {
|
||||
var Error = global.Error;
|
||||
throw new Error('FakeSharedValue: You cannot add a listener to a fake shared value, please use a real one');
|
||||
}, removeListener: function() {
|
||||
var Error = global.Error;
|
||||
throw new Error('FakeSharedValue: You cannot remove a listener to a fake shared value, please use a real one');
|
||||
}, modify: function() {
|
||||
var Error = global.Error;
|
||||
throw new Error('FakeSharedValue: You cannot modify a shared value, please use a real one');
|
||||
}};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/* Metro module 4017; source: modules/reanimated/ReanimatedRexport.tsx; dependencies: [478, 1610, 4018, 2] */
|
||||
function _fun33082(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#33082, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4175:6, offset: 0x0102736f, size: 213 bytes, params: 8, frame: 24
|
||||
var propertyName;
|
||||
let Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const platformUtilsModule = require(478) /* metro dependency 478: PlatformUtils */;
|
||||
if (platformUtilsModule.isAndroid()) {
|
||||
Object = global.Object;
|
||||
Object.assign(importDefault(1610) /* metro dependency 1610 */,
|
||||
{View: importDefault(4018) /* metro dependency 4018: REAWorkaroundView */});
|
||||
}
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reanimated/ReanimatedRexport.tsx');
|
||||
exports.default = importDefault(1610) /* metro dependency 1610 */;
|
||||
for (propertyName in require(1610) /* metro dependency 1610 */) {
|
||||
exports[propertyName] = (require(1610) /* metro dependency 1610 */)[propertyName];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
/* Metro module 4018; source: modules/reanimated/native/REAWorkaroundView.tsx; dependencies: [31, 33, 1610, 4019, 4020, 2] */
|
||||
function _fun33083(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#33083, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4176:6, offset: 0x01027444, size: 222 bytes, params: 8, frame: 21
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const forwardRef = (require(31) /* metro dependency 31 */).forwardRef;
|
||||
const env0_0 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const env0_1 = (importDefault(1610) /* metro dependency 1610 */).createAnimatedComponent(importDefault(4019) /* metro dependency 4019: ReanimatedViewNativeComponent */);
|
||||
value = forwardRef(_fun33084);
|
||||
value.displayName = 'REAWorkaroundView';
|
||||
const fabricUtilsModule = require(4020) /* metro dependency 4020: FabricUtils */;
|
||||
const r1 = fabricUtilsModule.isFabric() ? value : (importDefault(1610) /* metro dependency 1610 */).View;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reanimated/native/REAWorkaroundView.tsx');
|
||||
exports.default = r1;
|
||||
}
|
||||
|
||||
function _fun33084(a0, a1) { // fn#33084, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4176:179, offset: 0x01027522, size: 71 bytes, params: 3, frame: 14
|
||||
return ((Component) => <Component {...a0} {...{['hasEnteringAnimation']: a0.entering != null}} {...{['ref']: a1}} />)(env0_1);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
/* Metro module 7739; source: modules/reanimated/native/cheapWorkletShallowEqual.tsx; dependencies: [2] */
|
||||
function _fun61955(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61955, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7917:6, offset: 0x01b4fdca, size: 136 bytes, params: 8, frame: 17
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
object = {code: 'function cheapWorkletShallowEqual_cheapWorkletShallowEqualTsx1(a,b){if(a===b)return true;if(a==null||b==null)return false;for(const key in a){if(a[key]!==b[key])return false;}return true;}'};
|
||||
const value = _fun61956();
|
||||
object = {code: 'function cheapWorkletArrayShallowEqual_cheapWorkletShallowEqualTsx2(a,b){if(a===b)return true;if(a==null||b==null)return false;if(a.length!==b.length)return false;for(let i=0;i<a.length;i++){if(a[i]!==b[i])return false;}return true;}'};
|
||||
const value2 = _fun61958();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reanimated/native/cheapWorkletShallowEqual.tsx');
|
||||
exports.cheapWorkletShallowEqual = value;
|
||||
exports.cheapWorkletArrayShallowEqual = value2;
|
||||
}
|
||||
|
||||
function _fun61956() { // fn#61956, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7917:300, offset: 0x01b4fe52, size: 46 bytes, params: 1, frame: 2
|
||||
const closure = function(a0, a1) {
|
||||
var propertyName;
|
||||
var propertyName2;
|
||||
var property;
|
||||
if (a0 === a1) {
|
||||
return true;
|
||||
}
|
||||
if (a0 != null) {
|
||||
if (a1 == null) {
|
||||
return false;
|
||||
}
|
||||
var properties = Object.keys(a0);
|
||||
var properties2 = 0;
|
||||
var properties3 = properties.length;
|
||||
if (properties === undefined) {
|
||||
return true;
|
||||
}
|
||||
var r4 = properties2;
|
||||
loopExit4: while (true) {
|
||||
propertyName = properties[r4];
|
||||
propertyName2 = r4 + 1;
|
||||
if (propertyName === undefined) {
|
||||
return true;
|
||||
}
|
||||
property = a0[propertyName];
|
||||
if (property === a1[propertyName]) {
|
||||
r4 = propertyName2;
|
||||
continue;
|
||||
}
|
||||
break loopExit4;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
closure.__closure = {};
|
||||
closure.__workletHash = 760221372005;
|
||||
closure.__initData = env0_0;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function _fun61958() { // fn#61958, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7917:860, offset: 0x01b4fec7, size: 46 bytes, params: 1, frame: 2
|
||||
const closure = function(a0, a1) {
|
||||
var r1;
|
||||
if (a0 !== a1) {
|
||||
if (a0 == null) {
|
||||
return false;
|
||||
}
|
||||
if (a1 == null) {
|
||||
return false;
|
||||
}
|
||||
var property = a0.length;
|
||||
if (property !== a1.length) {
|
||||
return false;
|
||||
}
|
||||
var value = 0;
|
||||
if (value < a0.length) {
|
||||
r1 = value;
|
||||
loopExit5: while (true) {
|
||||
property = a0[r1];
|
||||
if (property !== a1[r1]) {
|
||||
return false;
|
||||
}
|
||||
value = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
||||
if (value < a0.length) {
|
||||
r1 = value;
|
||||
continue;
|
||||
}
|
||||
break loopExit5;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
};
|
||||
closure.__closure = {};
|
||||
closure.__workletHash = 3679738010781;
|
||||
closure.__initData = env0_1;
|
||||
return closure;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,271 @@
|
||||
/* Metro module 8621; source: modules/reanimated/native/useStateFromSharedValue.tsx; dependencies: [57, 31, 690, 4017, 2] */
|
||||
function _fun68033(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#68033, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:6, offset: 0x01c3c748, size: 251 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const _arrayLikeToArray_68036 = function(a0, a1) {
|
||||
var r0;
|
||||
var r1;
|
||||
var r2;
|
||||
var value3;
|
||||
var length;
|
||||
var value5;
|
||||
var value = undefined;
|
||||
var value2 = value == null;
|
||||
reducibleJoin2: while (true) {
|
||||
if (value2) {
|
||||
r0 = value2;
|
||||
break reducibleJoin2;
|
||||
}
|
||||
value3 = value > a0.length;
|
||||
r0 = value3;
|
||||
break reducibleJoin2;
|
||||
}
|
||||
reducibleJoin4: while (true) {
|
||||
if (r0) {
|
||||
length = a0.length;
|
||||
r1 = length;
|
||||
break reducibleJoin4;
|
||||
}
|
||||
r1 = value;
|
||||
break reducibleJoin4;
|
||||
}
|
||||
value = (0, global.Array)(r1);
|
||||
var value4 = 0;
|
||||
if (value4 < r1) {
|
||||
r2 = value4;
|
||||
reducibleLoop5: while (true) {
|
||||
value[r2] = a0[r2];
|
||||
value5 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
||||
if (value5 < r1) {
|
||||
r2 = value5;
|
||||
continue reducibleLoop5;
|
||||
}
|
||||
break reducibleLoop5;
|
||||
}
|
||||
}
|
||||
return value;
|
||||
};
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(57) /* metro dependency 57 */;
|
||||
const env0_3 = importAll(31) /* metro dependency 31 */;
|
||||
const Map = global.Map;
|
||||
const map = new Map();
|
||||
object = {code: 'function useStateFromSharedValueTsx1(id,listener,sharedValue){const{runOnJS}=this.__closure;sharedValue.addListener(id,function(value){return runOnJS(listener)(value);});}'};
|
||||
object = {code: 'function useStateFromSharedValueTsx2(id,sharedValue){sharedValue.removeListener(id);}'};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reanimated/native/useStateFromSharedValue.tsx');
|
||||
exports.default = useStateFromSharedValue;
|
||||
exports.useDerivedStateFromSharedValue = useDerivedStateFromSharedValue;
|
||||
}
|
||||
|
||||
function _createForOfIteratorHelperLoose_68034(a0, a1) { // fn#68034, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:121, offset: 0x01c3c843, size: 372 bytes, params: 3, frame: 20
|
||||
var r6;
|
||||
var r9;
|
||||
var r5;
|
||||
var value3;
|
||||
var regexp;
|
||||
const env0_0 = a0;
|
||||
const Symbol = global.Symbol;
|
||||
let value = typeof Symbol !== 'undefined';
|
||||
let r1 = value && a0[global.Symbol.iterator];
|
||||
r1 = !r1 ? a0['@@iterator'] : r1;
|
||||
if (r1) {
|
||||
value = r1.call(a0);
|
||||
return value.next.bind(value);
|
||||
}
|
||||
const Array = global.Array;
|
||||
if (Array.isArray(a0)) {
|
||||
if (r1) {
|
||||
}
|
||||
return _fun68035;
|
||||
}
|
||||
value = undefined;
|
||||
if (a0) {
|
||||
if (typeof a0 === 'string') {
|
||||
value = _arrayLikeToArray_68036(a0, value);
|
||||
r5 = value;
|
||||
} else {
|
||||
value3 = ({}).toString.call(a0).slice(8, -1);
|
||||
r6 = value3 === 'Object' && a0.constructor;
|
||||
r9 = r6 ? a0.constructor.name : value3;
|
||||
if (r9 === 'Map') {
|
||||
r6 = global.Array.from(a0);
|
||||
} else if (r9 === 'Set') {
|
||||
r6 = global.Array.from(a0);
|
||||
} else if (r9 === 'Arguments') {
|
||||
value = _arrayLikeToArray_68036(a0, value);
|
||||
r6 = value;
|
||||
} else {
|
||||
regexp = RegExp('^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$', '');
|
||||
if (regexp.test(r9)) {
|
||||
value = _arrayLikeToArray_68036(a0, value);
|
||||
r6 = value;
|
||||
} else {
|
||||
r6 = value;
|
||||
}
|
||||
}
|
||||
r5 = r6;
|
||||
}
|
||||
} else {
|
||||
r5 = value;
|
||||
}
|
||||
if (r5) {
|
||||
if (r5) {
|
||||
}
|
||||
return _fun68035;
|
||||
}
|
||||
const TypeError = global.TypeError;
|
||||
throw new TypeError('Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');
|
||||
}
|
||||
|
||||
function useListenerSubscription(a0, a1) { // fn#68037, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:1335, offset: 0x01c3c9b7, size: 58 bytes, params: 3, frame: 15
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
env0_3.useLayoutEffect(_fun68038, [a0, a1]);
|
||||
}
|
||||
|
||||
function useStateFromSharedValue(a0) { // fn#68046, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:2229, offset: 0x01c3ccbd, size: 73 bytes, params: 2, frame: 15
|
||||
const env0_0 = a0;
|
||||
const value3 = env0_2(env0_3.useState(_fun68047), 2);
|
||||
const property = value3[0];
|
||||
useListenerSubscription(a0, value3[1]);
|
||||
return property;
|
||||
}
|
||||
|
||||
function useDerivedStateFromSharedValue(a0, a1) { // fn#68048, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:2393, offset: 0x01c3cd18, size: 150 bytes, params: 3, frame: 17
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
const [property, env0_2] = env0_2Binding(env0_3Binding.useState(_fun68049), 2);
|
||||
var env0_3Binding = env0_3.useRef(a1);
|
||||
env0_3Binding.useLayoutEffect(_fun68050);
|
||||
useListenerSubscription(a0, env0_3Binding.useCallback(_fun68051, []));
|
||||
return property;
|
||||
}
|
||||
|
||||
function _fun68038() { // fn#68038, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:1392, offset: 0x01c3c9f1, size: 234 bytes, params: 1, frame: 22
|
||||
var environment;
|
||||
var set;
|
||||
var binding2;
|
||||
var moduleValue;
|
||||
var runOnUI;
|
||||
var closure;
|
||||
var object2;
|
||||
const value = environment.__proto__;
|
||||
let binding = env1_5;
|
||||
const r1 = binding.get(env0_0) ?? createListenerState(env0_0);
|
||||
var env0_0 = r1;
|
||||
r1.listeners.add(require);
|
||||
if (r1.listeners.size === 1) {
|
||||
binding = env1_5;
|
||||
set = binding.set;
|
||||
binding2 = env0_0;
|
||||
Reflect.apply(set, binding, [binding2, r1]);
|
||||
moduleValue = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
||||
runOnUI = moduleValue.runOnUI;
|
||||
closure = function(a0, a1, a2) {
|
||||
var env0_0 = a1;
|
||||
a2.addListener(a0, _fun68043);
|
||||
};
|
||||
object2 = {};
|
||||
object2.runOnJS = (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnJS;
|
||||
closure.__closure = object2;
|
||||
closure.__workletHash = 568027628003;
|
||||
closure.__initData = env1_6;
|
||||
Reflect.apply(runOnUI, moduleValue, [closure])(r1.listenerId, r1.valueListener, binding2);
|
||||
}
|
||||
return _fun68044;
|
||||
}
|
||||
|
||||
function _fun68049() { // fn#68049, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:2456, offset: 0x01c3cdae, size: 30 bytes, params: 1, frame: 12
|
||||
return require(env0_0.get(), undefined);
|
||||
}
|
||||
|
||||
function _fun68051(a0) { // fn#68051, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:2577, offset: 0x01c3cde1, size: 32 bytes, params: 2, frame: 11
|
||||
const env0_0 = a0;
|
||||
return env0_2(_fun68052);
|
||||
}
|
||||
|
||||
function createListenerState(a0) { // fn#68039, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:1428, offset: 0x01c3cadb, size: 82 bytes, params: 2, frame: 11
|
||||
var environment;
|
||||
const Set = global.Set;
|
||||
let set = new Set();
|
||||
const object2 = {sharedValue: a0, listeners: set, valueListener: valueListener};
|
||||
set = environment.__proto__.__proto__;
|
||||
const binding = env2_4;
|
||||
object2.listenerId = typeof binding === 'bigint' ? binding + 1n : +binding + 1;
|
||||
return object2;
|
||||
}
|
||||
|
||||
function s_68042(a0, a1, a2) { // fn#68042, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:1734, offset: 0x01c3cba6, size: 38 bytes, params: 4, frame: 13
|
||||
const env0_0 = a1;
|
||||
a2.addListener(a0, _fun68043);
|
||||
}
|
||||
|
||||
function _fun68044() { // fn#68044, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:1916, offset: 0x01c3cc00, size: 168 bytes, params: 1, frame: 17
|
||||
var environment;
|
||||
var value3;
|
||||
var moduleValue;
|
||||
var runOnUI;
|
||||
var closure;
|
||||
var value4;
|
||||
var listenerId;
|
||||
var binding;
|
||||
env0_0.listeners.delete(require);
|
||||
if (env0_0.listeners.size === 0) {
|
||||
value3 = environment.__proto__.__proto__;
|
||||
moduleValue = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
||||
runOnUI = moduleValue.runOnUI;
|
||||
closure = function(a0, a1) {
|
||||
a1.removeListener(a0);
|
||||
};
|
||||
closure.__closure = {};
|
||||
closure.__workletHash = 15997703035823;
|
||||
closure.__initData = env2_7;
|
||||
value4 = Reflect.apply(runOnUI, moduleValue, [closure]);
|
||||
listenerId = env0_0.listenerId;
|
||||
binding = env1_0;
|
||||
value4(listenerId, binding);
|
||||
env2_5.delete(binding);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun68052(a0) { // fn#68052, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:2583, offset: 0x01c3ce01, size: 30 bytes, params: 2, frame: 13
|
||||
return env1_3.current(env0_0, a0);
|
||||
}
|
||||
|
||||
function valueListener(a0) { // fn#68040, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:1521, owner: createListenerState.valueListener, offset: 0x01c3cb2d, size: 54 bytes, params: 2, frame: 12
|
||||
var environment;
|
||||
const env0_0 = a0;
|
||||
const value = environment.__proto__.__proto__.__proto__;
|
||||
(require(690) /* metro dependency 690: ReactBatchUpdatesNative */).batchUpdates(_fun68041);
|
||||
}
|
||||
|
||||
function _fun68043(a0) { // fn#68043, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:1767, offset: 0x01c3cbcc, size: 52 bytes, params: 2, frame: 12
|
||||
let value = environment.__proto__.__proto__.__proto__;
|
||||
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
||||
value = value.runOnJS(require);
|
||||
return value(a0);
|
||||
}
|
||||
|
||||
function _fun68041() { // fn#68041, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8806:1548, offset: 0x01c3cb63, size: 67 bytes, params: 1, frame: 14
|
||||
var r2;
|
||||
var value4;
|
||||
var value5;
|
||||
let value = environment.__proto__.__proto__.__proto__.__proto__;
|
||||
const _createForOfIteratorHelperLoose_68034Binding = _createForOfIteratorHelperLoose_68034;
|
||||
value = environment.__proto__;
|
||||
value = _createForOfIteratorHelperLoose_68034Binding(env1_0);
|
||||
const value2 = value();
|
||||
let done = value2.done;
|
||||
if (!done) {
|
||||
for (r2 = value2; true; r2 = value5) {
|
||||
value4 = r2.value;
|
||||
value4(env0_0);
|
||||
value5 = value();
|
||||
done = value5.done;
|
||||
if (done) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,115 @@
|
||||
/* Metro module 11282; source: modules/reanimated/utils/updateSharedValueIfChanged.native.tsx; dependencies: [4017, 2] */
|
||||
function _fun86142(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86142, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11468:6, offset: 0x01f89384, size: 280 bytes, params: 8, frame: 21
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const closure = u_86143;
|
||||
const runOnUI = (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnUI;
|
||||
closure.__closure = {runOnUI: runOnUI, updateSharedValueIfChanged: undefined};
|
||||
closure.__workletHash = 6367316923455;
|
||||
closure.__initData = {code: 'function updateSharedValueIfChangedNativeTsx2(sharedValue,value){const{runOnUI,updateSharedValueIfChanged}=this.__closure;if(!_WORKLET){runOnUI(updateSharedValueIfChanged)(sharedValue,value);}else{const _sharedValue=sharedValue.get();const newValue={..._sharedValue,...value};for(const key in newValue){if(_sharedValue[key]!==newValue[key]){sharedValue.set(newValue);break;}}}}'};
|
||||
closure.__closure = {runOnUI: runOnUI};
|
||||
closure.__workletHash = 13662114226774;
|
||||
closure.__initData = {code: 'function updateSharedValueIfChanged_updateSharedValueIfChangedNativeTsx1(sharedValue,value){const updateSharedValueIfChanged_updateSharedValueIfChangedNativeTsx1=this._recur;const{runOnUI}=this.__closure;if(!_WORKLET){runOnUI(updateSharedValueIfChanged_updateSharedValueIfChangedNativeTsx1)(sharedValue,value);}else{const _sharedValue=sharedValue.get();const newValue={..._sharedValue,...value};for(const key in newValue){if(_sharedValue[key]!==newValue[key]){sharedValue.set(newValue);break;}}}}'};
|
||||
object = {code: 'function updateSharedValueArrayIfChanged_updateSharedValueIfChangedNativeTsx3(sharedValue,value){const updateSharedValueArrayIfChanged_updateSharedValueIfChangedNativeTsx3=this._recur;const{runOnUI}=this.__closure;if(!_WORKLET){runOnUI(updateSharedValueArrayIfChanged_updateSharedValueIfChangedNativeTsx3)(sharedValue,value);}else{const _sharedValue=sharedValue.get();if(_sharedValue.length!==value.length){sharedValue.set(value);}for(let i=0;i<value.length;i++){if(_sharedValue[i]!==value[i]){sharedValue.set(value);}}}}'};
|
||||
object = {code: 'function updateSharedValueIfChangedNativeTsx4(sharedValue,value){const{runOnUI,updateSharedValueArrayIfChanged}=this.__closure;if(!_WORKLET){runOnUI(updateSharedValueArrayIfChanged)(sharedValue,value);}else{const _sharedValue=sharedValue.get();if(_sharedValue.length!==value.length){sharedValue.set(value);}for(let i=0;i<value.length;i++){if(_sharedValue[i]!==value[i]){sharedValue.set(value);}}}}'};
|
||||
const value = _fun86144();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/reanimated/utils/updateSharedValueIfChanged.native.tsx');
|
||||
exports.default = closure;
|
||||
exports.updateSharedValueArrayIfChanged = value;
|
||||
}
|
||||
|
||||
function u_86143(a0, a1) { // fn#86143, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11468:1003, offset: 0x01f8949c, size: 144 bytes, params: 3, frame: 19
|
||||
var r6;
|
||||
var value;
|
||||
var moduleValue;
|
||||
var object2;
|
||||
var properties;
|
||||
var properties2;
|
||||
var properties3;
|
||||
var propertyName;
|
||||
var propertyName2;
|
||||
var property;
|
||||
var set;
|
||||
if (global._WORKLET) {
|
||||
value = a0.get();
|
||||
object2 = {};
|
||||
copyDataProperties(object2, value, value);
|
||||
copyDataProperties(object2, a1, value);
|
||||
properties = Object.keys(object2);
|
||||
properties2 = 0;
|
||||
properties3 = properties.length;
|
||||
if (properties !== undefined) {
|
||||
r6 = properties2;
|
||||
loopExit3: while (true) {
|
||||
propertyName = properties[r6];
|
||||
propertyName2 = r6 + 1;
|
||||
if (propertyName === undefined) {
|
||||
break loopExit3;
|
||||
}
|
||||
property = value[propertyName];
|
||||
if (property === object2[propertyName]) {
|
||||
r6 = propertyName2;
|
||||
continue;
|
||||
}
|
||||
set = a0.set;
|
||||
Reflect.apply(set, a0, [object2]);
|
||||
break loopExit3;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
moduleValue = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
||||
moduleValue.runOnUI(u_86143)(a0, a1);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun86144() { // fn#86144, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11468:2280, offset: 0x01f8952c, size: 143 bytes, params: 1, frame: 17
|
||||
const closure = u_86145;
|
||||
const runOnUI = (require(4017) /* metro dependency 4017: ReanimatedRexport */).runOnUI;
|
||||
closure.__closure = {runOnUI: runOnUI, updateSharedValueArrayIfChanged: undefined};
|
||||
closure.__workletHash = 10682766507787;
|
||||
closure.__initData = env0_4;
|
||||
closure.__closure = {runOnUI: runOnUI};
|
||||
closure.__workletHash = 13887777879519;
|
||||
closure.__initData = env0_3;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function u_86145(a0, a1) { // fn#86145, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11468:2303, offset: 0x01f895bb, size: 152 bytes, params: 3, frame: 15
|
||||
var r1;
|
||||
var value;
|
||||
var length;
|
||||
var value3;
|
||||
var property;
|
||||
var value4;
|
||||
if (global._WORKLET) {
|
||||
value = a0.get();
|
||||
length = value.length;
|
||||
if (length !== a1.length) {
|
||||
a0.set(a1);
|
||||
}
|
||||
length = a1.length;
|
||||
value3 = 0;
|
||||
if (value3 < length) {
|
||||
r1 = value3;
|
||||
while (true) {
|
||||
property = value[r1];
|
||||
if (property !== a1[r1]) {
|
||||
a0.set(a1);
|
||||
}
|
||||
value4 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
||||
length = a1.length;
|
||||
if (value4 < length) {
|
||||
r1 = value4;
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
value = environment.__proto__;
|
||||
value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
||||
value.runOnUI(u_86145)(a0, a1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user