Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,271 @@
|
||||
/* Metro module 1711; source: unknown; dependencies: [1613, 1620, 1653, 1712, 1713, 1617, 1621] */
|
||||
function _fun18638(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#18638, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:6, offset: 0x00e9252a, size: 637 bytes, params: 8, frame: 25
|
||||
var object8;
|
||||
var r3;
|
||||
var r11;
|
||||
var closure2;
|
||||
var closure3;
|
||||
var object4;
|
||||
var closure4;
|
||||
var object5;
|
||||
var runOnUIImmediately;
|
||||
let env0_1 = require;
|
||||
let closure = updatePropsOnReactJS;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
object8 = {code: 'function pnpm_updatePropsTs1(viewDescriptors,updates,isAnimatedProps){const{_updatePropsJS}=this.__closure;var _viewDescriptors$valu;(_viewDescriptors$valu=viewDescriptors.value)===null||_viewDescriptors$valu===void 0||_viewDescriptors$valu.forEach(function(viewDescriptor){const component=viewDescriptor.tag;_updatePropsJS(updates,component,isAnimatedProps);});}'};
|
||||
const object9 = {code: "function pnpm_updatePropsTs2(viewDescriptors,updates){const{processColorsInProps,processTransformOrigin}=this.__closure;viewDescriptors.value.forEach(function(viewDescriptor){var _global$lastUpdateByT;const prevState=(_global$lastUpdateByT=global.lastUpdateByTag[viewDescriptor.tag])!==null&&_global$lastUpdateByT!==void 0?_global$lastUpdateByT:{};global.lastUpdateByTag[viewDescriptor.tag]={...prevState,...updates};global.lastUpdateFrameTimeByTag[viewDescriptor.tag]=global.__frameTimestamp;});processColorsInProps(updates);if('transformOrigin'in updates){updates.transformOrigin=processTransformOrigin(updates.transformOrigin);}global.UpdatePropsManager.update(viewDescriptors,updates);}"};
|
||||
let value = require(1613) /* metro dependency 1613 */;
|
||||
if (value.shouldBeUseWeb()) {
|
||||
closure3 = function(a0, a1, a2) {
|
||||
var env0_0 = a1;
|
||||
var env0_1 = a2;
|
||||
var value = a0.value;
|
||||
if (value != null) {
|
||||
value.forEach(_fun18641);
|
||||
}
|
||||
};
|
||||
object4 = {};
|
||||
object4._updatePropsJS = (require(1620) /* metro dependency 1620 */)._updatePropsJS;
|
||||
closure3.__closure = object4;
|
||||
closure3.__workletHash = 17381979125683;
|
||||
closure3.__initData = object8;
|
||||
r3 = closure3;
|
||||
} else {
|
||||
closure2 = pnpm_updatePropsTs2;
|
||||
object8 = {};
|
||||
object8.processColorsInProps = (require(1653) /* metro dependency 1653 */).processColorsInProps;
|
||||
object8.processTransformOrigin = (require(1712) /* metro dependency 1712 */).processTransformOrigin;
|
||||
closure2.__closure = object8;
|
||||
closure2.__workletHash = 9641647469033;
|
||||
closure2.__initData = object9;
|
||||
r3 = closure2;
|
||||
}
|
||||
object8 = {code: "function pnpm_updatePropsTs3(){const{runOnJS,updatePropsOnReactJS}=this.__closure;const operations=[];const scheduledFrameIds={};function checkUpdate(tag){'worklet';const currentFrameTime=global.__frameTimestamp;const lastUpdateFrameTime=global.lastUpdateFrameTimeByTag[tag];if(!currentFrameTime||!lastUpdateFrameTime){return;}if(currentFrameTime-lastUpdateFrameTime>=20){runOnJS(updatePropsOnReactJS)(tag,global.lastUpdateByTag[tag]);global.lastUpdateByTag[tag]=undefined;return;}if(scheduledFrameIds[tag]){return;}scheduledFrameIds[tag]=requestAnimationFrame(function(){'worklet';scheduledFrameIds[tag]=undefined;checkUpdate(tag);});}return{update:function(viewDescriptors,updates){var _this=this;viewDescriptors.value.forEach(function(viewDescriptor){const tag=viewDescriptor.tag;operations.push({shadowNodeWrapper:viewDescriptor.shadowNodeWrapper,updates:updates,tag:tag});if(operations.length===1){queueMicrotask(_this.flush);}});},flush:function(){global._updatePropsFabric(operations);operations.forEach(function({tag:tag}){checkUpdate(tag);});operations.length=0;}};}"};
|
||||
const env0_4 = {code: "function checkUpdate_Pnpm_updatePropsTs4(tag){const checkUpdate_Pnpm_updatePropsTs4=this._recur;const{runOnJS,updatePropsOnReactJS,scheduledFrameIds}=this.__closure;const currentFrameTime=global.__frameTimestamp;const lastUpdateFrameTime=global.lastUpdateFrameTimeByTag[tag];if(!currentFrameTime||!lastUpdateFrameTime){return;}if(currentFrameTime-lastUpdateFrameTime>=20){runOnJS(updatePropsOnReactJS)(tag,global.lastUpdateByTag[tag]);global.lastUpdateByTag[tag]=undefined;return;}if(scheduledFrameIds[tag]){return;}scheduledFrameIds[tag]=requestAnimationFrame(function(){'worklet';scheduledFrameIds[tag]=undefined;checkUpdate_Pnpm_updatePropsTs4(tag);});}"};
|
||||
const env0_5 = {code: 'function pnpm_updatePropsTs5(){const{scheduledFrameIds,tag,checkUpdate}=this.__closure;scheduledFrameIds[tag]=undefined;checkUpdate(tag);}'};
|
||||
const object10 = {code: "function pnpm_updatePropsTs6(){const operations=[];return{update:function(viewDescriptors,updates){var _this=this;viewDescriptors.value.forEach(function(viewDescriptor){operations.push({tag:viewDescriptor.tag,name:viewDescriptor.name||'RCTView',updates:updates});if(operations.length===1){queueMicrotask(_this.flush);}});},flush:function(){global._updatePropsPaper(operations);operations.length=0;}};}"};
|
||||
value = require(1613) /* metro dependency 1613 */;
|
||||
if (value.isFabric()) {
|
||||
closure4 = pnpm_updatePropsTs3;
|
||||
object5 = {};
|
||||
object5.runOnJS = (require(1617) /* metro dependency 1617 */).runOnJS;
|
||||
object5.updatePropsOnReactJS = closure;
|
||||
closure4.__closure = object5;
|
||||
closure4.__workletHash = 7650186665575;
|
||||
closure4.__initData = object8;
|
||||
r11 = closure4;
|
||||
} else {
|
||||
closure = function() {
|
||||
var env0_0 = [];
|
||||
return {update: _fun18652, flush: _fun18654};
|
||||
};
|
||||
closure.__closure = {};
|
||||
closure.__workletHash = 8150032191515;
|
||||
closure.__initData = object10;
|
||||
r11 = closure;
|
||||
}
|
||||
if (Reflect.apply((require(1613) /* metro dependency 1613 */).shouldBeUseWeb, value, [])) {
|
||||
global.UpdatePropsManager = new global.Proxy({}, {get: get_18655, set: function() {
|
||||
get_18655();
|
||||
return false;
|
||||
}});
|
||||
} else {
|
||||
value = require(1617) /* metro dependency 1617 */;
|
||||
runOnUIImmediately = value.runOnUIImmediately;
|
||||
closure = pnpm_updatePropsTs7;
|
||||
closure.__closure = {createUpdatePropsManager: r11};
|
||||
closure.__workletHash = 4015188324291;
|
||||
closure.__initData = {code: 'function pnpm_updatePropsTs7(){const{createUpdatePropsManager}=this.__closure;global.UpdatePropsManager=createUpdatePropsManager();}'};
|
||||
Reflect.apply(runOnUIImmediately, value, [closure])();
|
||||
}
|
||||
exports.default = r3;
|
||||
exports.updatePropsJestWrapper = updatePropsJestWrapper;
|
||||
}
|
||||
|
||||
function updatePropsOnReactJS(a0, a1) { // fn#18639, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:1995, offset: 0x00e927a7, size: 66 bytes, params: 3, frame: 12
|
||||
const ComponentRegistry = (require(1713) /* metro dependency 1713 */).ComponentRegistry;
|
||||
const component = ComponentRegistry.getComponent(a0);
|
||||
if (component) {
|
||||
component._updateReanimatedProps(a1);
|
||||
}
|
||||
}
|
||||
|
||||
function pnpm_updatePropsTs1({value}, a1, a2) { // fn#18640, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:1212, offset: 0x00e927e9, size: 49 bytes, params: 4, frame: 11
|
||||
const env0_0 = a1;
|
||||
const env0_1 = a2;
|
||||
if (value != null) {
|
||||
value.forEach(_fun18641);
|
||||
}
|
||||
}
|
||||
|
||||
function pnpm_updatePropsTs2(a0, a1) { // fn#18642, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:1447, offset: 0x00e92855, size: 146 bytes, params: 3, frame: 16
|
||||
var moduleValue2;
|
||||
const env0_0 = a1;
|
||||
a0.value.forEach(_fun18643);
|
||||
(require(1653) /* metro dependency 1653 */).processColorsInProps(a1);
|
||||
if ('transformOrigin' in a1) {
|
||||
moduleValue2 = require(1712) /* metro dependency 1712 */;
|
||||
a1.transformOrigin = moduleValue2.processTransformOrigin(a1.transformOrigin);
|
||||
}
|
||||
const UpdatePropsManager = env0_0.UpdatePropsManager;
|
||||
UpdatePropsManager.update(a0, a1);
|
||||
}
|
||||
|
||||
function pnpm_updatePropsTs3() { // fn#18644, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:4462, offset: 0x00e92951, size: 135 bytes, params: 1, frame: 16
|
||||
let env0_1 = [];
|
||||
const closure = checkUpdate;
|
||||
const object = {};
|
||||
object.runOnJS = (require(1617) /* metro dependency 1617 */).runOnJS;
|
||||
object.updatePropsOnReactJS = updatePropsOnReactJS;
|
||||
object.scheduledFrameIds = {};
|
||||
closure.__closure = object;
|
||||
closure.__workletHash = 1753947436463;
|
||||
closure.__initData = env0_4;
|
||||
return {update: function(a0, a1) {
|
||||
var env0_0 = a1;
|
||||
var env0_1 = this;
|
||||
a0.value.forEach(_fun18648);
|
||||
}, flush: flush_18649};
|
||||
}
|
||||
|
||||
function pnpm_updatePropsTs6() { // fn#18651, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:5492, offset: 0x00e92ba8, size: 34 bytes, params: 1, frame: 3
|
||||
let env0_0 = [];
|
||||
return {update: function(a0, a1) {
|
||||
var env0_0 = a1;
|
||||
var env0_1 = this;
|
||||
a0.value.forEach(_fun18653);
|
||||
}, flush: flush_18654};
|
||||
}
|
||||
|
||||
function get_18655() { // fn#18655, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:6003, offset: 0x00e92c84, size: 93 bytes, params: 1, frame: 12
|
||||
const moduleValue = require(1613) /* metro dependency 1613 */;
|
||||
if (moduleValue.isJest()) {
|
||||
return undefined;
|
||||
}
|
||||
const ReanimatedError = (require(1621) /* metro dependency 1621 */).ReanimatedError;
|
||||
throw new ReanimatedError('`UpdatePropsManager` is not available on non-native platform.');
|
||||
}
|
||||
|
||||
function pnpm_updatePropsTs7() { // fn#18657, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:6265, offset: 0x00e92cf2, size: 25 bytes, params: 1, frame: 10
|
||||
env0_0.UpdatePropsManager = env0_6();
|
||||
}
|
||||
|
||||
function updatePropsJestWrapper(a0, a1, a2, a3) { // fn#18658, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:6450, offset: 0x00e92d0b, size: 93 bytes, params: 5, frame: 16
|
||||
const env0_0 = a1;
|
||||
a3.forEach(function(a0) {
|
||||
a0(require);
|
||||
});
|
||||
const current = a2.current;
|
||||
const Object = global.Object;
|
||||
current.value = Object.assign({}, a2.current.value, a1);
|
||||
env0_3(a0, a1);
|
||||
}
|
||||
|
||||
function _fun18641({tag}) { // fn#18641, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:1284, offset: 0x00e9281a, size: 59 bytes, params: 2, frame: 16
|
||||
const value = environment.__proto__;
|
||||
(require(1620) /* metro dependency 1620 */)._updatePropsJS(require, tag, importDefault);
|
||||
}
|
||||
|
||||
function _fun18643(a0) { // fn#18643, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:1498, offset: 0x00e928e7, size: 106 bytes, params: 2, frame: 19
|
||||
let lastUpdateByTag = env1_0.lastUpdateByTag;
|
||||
let tag = a0.tag;
|
||||
const r8 = lastUpdateByTag[tag] ?? ({});
|
||||
const binding = env1_0;
|
||||
lastUpdateByTag = binding.lastUpdateByTag;
|
||||
tag = a0.tag;
|
||||
const Object = global.Object;
|
||||
lastUpdateByTag[tag] = Object.assign({}, r8, require);
|
||||
binding.lastUpdateFrameTimeByTag[a0.tag] = binding.__frameTimestamp;
|
||||
}
|
||||
|
||||
function checkUpdate(a0) { // fn#18645, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:4515, owner: pnpm_updatePropsTs3.checkUpdate, offset: 0x00e929d8, size: 217 bytes, params: 2, frame: 17
|
||||
var requestAnimationFrame;
|
||||
var closure;
|
||||
var moduleValue;
|
||||
var value3;
|
||||
var lastUpdateByTag;
|
||||
const env0_0 = a0;
|
||||
let binding = env1_0;
|
||||
const __frameTimestamp = binding.__frameTimestamp;
|
||||
const property = binding.lastUpdateFrameTimeByTag[a0];
|
||||
if (__frameTimestamp) {
|
||||
if (property) {
|
||||
if (__frameTimestamp - property >= 20) {
|
||||
moduleValue = require(1617) /* metro dependency 1617 */;
|
||||
value3 = moduleValue.runOnJS(updatePropsOnReactJS);
|
||||
binding = env1_0;
|
||||
lastUpdateByTag = binding.lastUpdateByTag;
|
||||
value3(a0, lastUpdateByTag[a0]);
|
||||
lastUpdateByTag = binding.lastUpdateByTag;
|
||||
lastUpdateByTag[a0] = undefined;
|
||||
return undefined;
|
||||
}
|
||||
if (!env0_2[a0]) {
|
||||
binding = env0_2;
|
||||
requestAnimationFrame = global.requestAnimationFrame;
|
||||
closure = pnpm_updatePropsTs5;
|
||||
closure.__closure = {scheduledFrameIds: binding, tag: a0, checkUpdate: checkUpdate};
|
||||
closure.__workletHash = 7847593993789;
|
||||
closure.__initData = env1_5;
|
||||
binding[a0] = requestAnimationFrame(closure);
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function pnpm_updatePropsTs3Update({value}, a1) { // fn#18647, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:5078, owner: pnpm_updatePropsTs3.update, offset: 0x00e92ad0, size: 43 bytes, params: 3, frame: 11
|
||||
const env0_0 = a1;
|
||||
value.forEach(_fun18648);
|
||||
}
|
||||
|
||||
function pnpm_updatePropsTs3Flush() { // fn#18649, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:5263, owner: pnpm_updatePropsTs3.flush, offset: 0x00e92b5a, size: 54 bytes, params: 1, frame: 11
|
||||
const binding = env1_0;
|
||||
const _updatePropsFabric = binding._updatePropsFabric;
|
||||
const binding2 = env0_1;
|
||||
Reflect.apply(_updatePropsFabric, binding, [binding2]);
|
||||
binding2.forEach(function({tag}) {
|
||||
checkUpdate_2(tag);
|
||||
});
|
||||
binding2.length = 0;
|
||||
}
|
||||
|
||||
function pnpm_updatePropsTs6Update({value}, a1) { // fn#18652, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:5546, owner: pnpm_updatePropsTs6.update, offset: 0x00e92bca, size: 43 bytes, params: 3, frame: 11
|
||||
const env0_0 = a1;
|
||||
value.forEach(_fun18653);
|
||||
}
|
||||
|
||||
function pnpm_updatePropsTs6Flush() { // fn#18654, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:5708, owner: pnpm_updatePropsTs6.flush, offset: 0x00e92c5f, size: 37 bytes, params: 1, frame: 11
|
||||
const binding = env1_0;
|
||||
const _updatePropsPaper = binding._updatePropsPaper;
|
||||
const binding2 = env0_0;
|
||||
Reflect.apply(_updatePropsPaper, binding, [binding2]);
|
||||
binding2.length = 0;
|
||||
}
|
||||
|
||||
function pnpm_updatePropsTs5() { // fn#18646, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:4763, owner: pnpm_updatePropsTs3.checkUpdate.pnpm_updatePropsTs5, offset: 0x00e92ab1, size: 31 bytes, params: 1, frame: 12
|
||||
const binding = env1_2;
|
||||
const binding2 = env0_0;
|
||||
binding[binding2] = undefined;
|
||||
checkUpdate(binding2);
|
||||
}
|
||||
|
||||
function _fun18648({tag, shadowNodeWrapper}) { // fn#18648, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:5127, offset: 0x00e92afb, size: 95 bytes, params: 2, frame: 14
|
||||
const binding = env1_1;
|
||||
binding.push({shadowNodeWrapper: shadowNodeWrapper, updates: require, tag: tag});
|
||||
if (binding.length === 1) {
|
||||
global.queueMicrotask(env0_1.flush);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun18653({tag, name}) { // fn#18653, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1838:5595, offset: 0x00e92bf5, size: 106 bytes, params: 2, frame: 14
|
||||
const binding = env1_0;
|
||||
const push = binding.push;
|
||||
name = !name ? 'RCTView' : name;
|
||||
Reflect.apply(push, binding, [{tag: tag, name: name, updates: require}]);
|
||||
if (env1_0.length === 1) {
|
||||
global.queueMicrotask(env0_1.flush);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user