313 lines
15 KiB
React
313 lines
15 KiB
React
/* Metro module 1733; source: unknown; dependencies: [57, 6, 7, 15, 17, 18, 1680] */
|
|
function _fun19008(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#19008, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:6, offset: 0x00e9cd84, size: 394 bytes, params: 8, frame: 21
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(57) /* metro dependency 57 */;
|
|
const env0_1 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_2 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_3 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_4 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_5 = importDefault(18) /* metro dependency 18 */;
|
|
object = {code: "function pnpm_RollTs1(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(0,config))},{rotate:delayFunction(delay,animation('0deg',config))}]},initialValues:{transform:[{translateX:-values.windowWidth},{rotate:'-180deg'}],...initialValues},callback:callback};}"};
|
|
const ComplexAnimationBuilder = (require(1680) /* metro dependency 1680 */).ComplexAnimationBuilder;
|
|
const value = _fun19013(ComplexAnimationBuilder);
|
|
value.presetName = 'RollInLeft';
|
|
object = {code: "function pnpm_RollTs2(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(0,config))},{rotate:delayFunction(delay,animation('0deg',config))}]},initialValues:{transform:[{translateX:values.windowWidth},{rotate:'180deg'}],...initialValues},callback:callback};}"};
|
|
const value2 = _fun19018(ComplexAnimationBuilder);
|
|
value2.presetName = 'RollInRight';
|
|
object = {code: "function pnpm_RollTs3(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(-values.windowWidth,config))},{rotate:delayFunction(delay,animation('-180deg',config))}]},initialValues:{transform:[{translateX:0},{rotate:'0deg'}],...initialValues},callback:callback};}"};
|
|
const value3 = _fun19023(ComplexAnimationBuilder);
|
|
value3.presetName = 'RollOutLeft';
|
|
object = {code: "function pnpm_RollTs4(values){const{delayFunction,delay,animation,config,initialValues,callback}=this.__closure;return{animations:{transform:[{translateX:delayFunction(delay,animation(values.windowWidth,config))},{rotate:delayFunction(delay,animation('180deg',config))}]},initialValues:{transform:[{translateX:0},{rotate:'0deg'}],...initialValues},callback:callback};}"};
|
|
const value4 = _fun19028(ComplexAnimationBuilder);
|
|
value4.presetName = 'RollOutRight';
|
|
exports.RollInLeft = value;
|
|
exports.RollInRight = value2;
|
|
exports.RollOutLeft = value3;
|
|
exports.RollOutRight = value4;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_19010() { // fn#19010, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:289, offset: 0x00e9cf0e, size: 94 bytes, params: 1, frame: 18
|
|
var Boolean;
|
|
var prototype;
|
|
var valueOf;
|
|
var call;
|
|
var Reflect;
|
|
var construct;
|
|
var closure;
|
|
var value;
|
|
var error;
|
|
try {
|
|
Boolean = global.Boolean;
|
|
prototype = Boolean.prototype;
|
|
valueOf = prototype.valueOf;
|
|
call = valueOf.call;
|
|
Reflect = global.Reflect;
|
|
construct = Reflect.construct;
|
|
Boolean = global.Boolean;
|
|
closure = function() {
|
|
};
|
|
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
|
value = Reflect.apply(call, valueOf, [value]);
|
|
var result = !value;
|
|
} catch (error) {
|
|
}
|
|
return (_isNativeReflectConstruct_19010_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun19013(a0) { // fn#19013, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:896, offset: 0x00e9cf6c, size: 71 bytes, params: 2, frame: 16
|
|
const closure = RollInLeft;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19017}]);
|
|
}
|
|
|
|
function _fun19018(a0) { // fn#19018, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:2147, offset: 0x00e9d1ae, size: 71 bytes, params: 2, frame: 16
|
|
const closure = RollInRight;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19022}]);
|
|
}
|
|
|
|
function _fun19023(a0) { // fn#19023, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:3404, offset: 0x00e9d3ed, size: 71 bytes, params: 2, frame: 16
|
|
const closure = RollOutLeft;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19027}]);
|
|
}
|
|
|
|
function _fun19028(a0) { // fn#19028, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:4662, offset: 0x00e9d62f, size: 71 bytes, params: 2, frame: 16
|
|
const closure = RollOutRight;
|
|
env0_5(closure, a0);
|
|
return env0_2(closure, null, [{key: 'createInstance', value: value_19032}]);
|
|
}
|
|
|
|
function RollInLeft() { // fn#19014, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:908, offset: 0x00e9cfb3, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, RollInLeft);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19009Binding = _callSuper_19009;
|
|
const items2 = [];
|
|
value = _callSuper_19009Binding(this, RollInLeft, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function RollInRight() { // fn#19019, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:2159, offset: 0x00e9d1f5, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, RollInRight);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19009Binding = _callSuper_19009;
|
|
const items2 = [];
|
|
value = _callSuper_19009Binding(this, RollInRight, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function RollOutLeft() { // fn#19024, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:3416, offset: 0x00e9d434, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, RollOutLeft);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19009Binding = _callSuper_19009;
|
|
const items2 = [];
|
|
value = _callSuper_19009Binding(this, RollOutLeft, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function RollOutRight() { // fn#19029, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:4674, offset: 0x00e9d676, size: 133 bytes, params: 1, frame: 20
|
|
var environment;
|
|
var r3;
|
|
var value7;
|
|
let value = environment.__proto__;
|
|
env1_1(this, RollOutRight);
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value6 = 0;
|
|
if (value6 < length) {
|
|
for (r3 = value6; true; r3 = value7) {
|
|
array[r3] = arguments[r3];
|
|
value7 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (!(value7 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
const _callSuper_19009Binding = _callSuper_19009;
|
|
const items2 = [];
|
|
value = _callSuper_19009Binding(this, RollOutRight, items2.concat(array));
|
|
value.build = build;
|
|
return value;
|
|
}
|
|
|
|
function RollInLeftBuild() { // fn#19015, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:1084, owner: RollInLeft.build, offset: 0x00e9d038, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_RollTs1;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 16303599954051;
|
|
closure.__initData = env2_6;
|
|
return closure;
|
|
}
|
|
|
|
function RollInRightBuild() { // fn#19020, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:2338, owner: RollInRight.build, offset: 0x00e9d27a, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_RollTs2;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 514820713152;
|
|
closure.__initData = env2_7;
|
|
return closure;
|
|
}
|
|
|
|
function RollOutLeftBuild() { // fn#19025, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:3595, owner: RollOutLeft.build, offset: 0x00e9d4b9, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_RollTs3;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 1569061887041;
|
|
closure.__initData = env2_8;
|
|
return closure;
|
|
}
|
|
|
|
function RollOutRightBuild() { // fn#19030, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:4856, owner: RollOutRight.build, offset: 0x00e9d6fb, size: 193 bytes, params: 1, frame: 18
|
|
const delayFunction = env0_0.getDelayFunction();
|
|
var env0_0 = delayFunction;
|
|
const value5 = env2_0(env0_0.getAnimationAndConfig(), 2);
|
|
const property = value5[0];
|
|
const property2 = value5[1];
|
|
const delay = env0_0.getDelay();
|
|
const callbackV = env0_0.callbackV;
|
|
const initialValues = env0_0.initialValues;
|
|
const closure = pnpm_RollTs4;
|
|
closure.__closure = {delayFunction: delayFunction, delay: delay, animation: property, config: property2,
|
|
initialValues: initialValues, callback: callbackV};
|
|
closure.__workletHash = 9663216530406;
|
|
closure.__initData = env2_9;
|
|
return closure;
|
|
}
|
|
|
|
function pnpm_RollTs1({windowWidth}) { // fn#19016, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:1231, owner: RollInLeft.build.pnpm_RollTs1, offset: 0x00e9d0f9, size: 181 bytes, params: 2, frame: 20
|
|
const object = {};
|
|
const binding = env0_0;
|
|
const binding2 = env0_3;
|
|
const binding3 = env0_1;
|
|
const binding4 = env0_2;
|
|
object.translateX = binding(binding2, binding3(0, binding4));
|
|
const items2 = [object];
|
|
items2[1] = {rotate: binding(binding2, binding3('0deg', binding4))};
|
|
const Object = global.Object;
|
|
return {animations: {transform: items2}, initialValues: Object.assign({transform: [{translateX: -windowWidth},
|
|
{rotate: '-180deg'}]}, initialValues), callback: callbackV};
|
|
}
|
|
|
|
function pnpm_RollTs2({windowWidth}) { // fn#19021, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:2485, owner: RollInRight.build.pnpm_RollTs2, offset: 0x00e9d33b, size: 178 bytes, params: 2, frame: 20
|
|
const object = {};
|
|
const binding = env0_0;
|
|
const binding2 = env0_3;
|
|
const binding3 = env0_1;
|
|
const binding4 = env0_2;
|
|
object.translateX = binding(binding2, binding3(0, binding4));
|
|
const items2 = [object];
|
|
items2[1] = {rotate: binding(binding2, binding3('0deg', binding4))};
|
|
const Object = global.Object;
|
|
return {animations: {transform: items2}, initialValues: Object.assign({transform: [{translateX: windowWidth},
|
|
{rotate: '180deg'}]}, initialValues), callback: callbackV};
|
|
}
|
|
|
|
function pnpm_RollTs3({windowWidth}) { // fn#19026, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:3742, owner: RollOutLeft.build.pnpm_RollTs3, offset: 0x00e9d57a, size: 181 bytes, params: 2, frame: 20
|
|
const object = {};
|
|
const binding = env0_0;
|
|
const binding2 = env0_3;
|
|
const binding3 = env0_1;
|
|
const value2 = -windowWidth;
|
|
const binding4 = env0_2;
|
|
object.translateX = binding(binding2, binding3(value2, binding4));
|
|
const items2 = [object];
|
|
items2[1] = {rotate: binding(binding2, binding3('-180deg', binding4))};
|
|
const Object = global.Object;
|
|
return {animations: {transform: items2}, initialValues: Object.assign({transform: [{translateX: 0},
|
|
{rotate: '0deg'}]}, initialValues), callback: callbackV};
|
|
}
|
|
|
|
function pnpm_RollTs4({windowWidth}) { // fn#19031, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1860:5003, owner: RollOutRight.build.pnpm_RollTs4, offset: 0x00e9d7bc, size: 178 bytes, params: 2, frame: 20
|
|
const object = {};
|
|
const binding = env0_0;
|
|
const binding2 = env0_3;
|
|
const binding3 = env0_1;
|
|
const binding4 = env0_2;
|
|
object.translateX = binding(binding2, binding3(windowWidth, binding4));
|
|
const items2 = [object];
|
|
items2[1] = {rotate: binding(binding2, binding3('180deg', binding4))};
|
|
const Object = global.Object;
|
|
return {animations: {transform: items2}, initialValues: Object.assign({transform: [{translateX: 0},
|
|
{rotate: '0deg'}]}, initialValues), callback: callbackV};
|
|
}
|
|
|