Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,44 @@
|
||||
/* Metro module 6297; source: unknown; dependencies: [1610] */
|
||||
function _fun49672(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49672, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6475:6, offset: 0x01203f8a, size: 130 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const closure = getKeyboardAnimationConfigs;
|
||||
const Easing = (require(1610) /* metro dependency 1610 */).Easing;
|
||||
closure.__closure = {Easing: Easing};
|
||||
closure.__workletHash = 10639588577824;
|
||||
closure.__initData = {code: "function pnpm_getKeyboardAnimationConfigsTs1(easing,duration){const{Easing}=this.__closure;switch(easing){case'easeIn':return{easing:Easing.in(Easing.ease),duration:duration};case'easeOut':return{easing:Easing.out(Easing.ease),duration:duration};case'easeInEaseOut':return{easing:Easing.inOut(Easing.ease),duration:duration};case'linear':return{easing:Easing.linear,duration:duration};case'keyboard':return{damping:500,stiffness:1000,mass:3,overshootClamping:true,restDisplacementThreshold:10,restSpeedThreshold:10};}}"};
|
||||
exports.getKeyboardAnimationConfigs = closure;
|
||||
}
|
||||
|
||||
function getKeyboardAnimationConfigs(a0, a1) { // fn#49673, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6475:634, offset: 0x0120400c, size: 346 bytes, params: 3, frame: 16
|
||||
var object2;
|
||||
const Easing = (require(1610) /* metro dependency 1610 */).Easing;
|
||||
if (a0 === 'easeIn') {
|
||||
object2 = {};
|
||||
object2.easing = Easing.in((require(1610) /* metro dependency 1610 */).Easing.ease);
|
||||
object2.duration = a1;
|
||||
return object2;
|
||||
}
|
||||
if (a0 === 'easeOut') {
|
||||
object2 = {};
|
||||
object2.easing = Easing.out((require(1610) /* metro dependency 1610 */).Easing.ease);
|
||||
object2.duration = a1;
|
||||
return object2;
|
||||
}
|
||||
if (a0 === 'easeInEaseOut') {
|
||||
object2 = {};
|
||||
object2.easing = Easing.inOut((require(1610) /* metro dependency 1610 */).Easing.ease);
|
||||
object2.duration = a1;
|
||||
return object2;
|
||||
}
|
||||
if (a0 === 'linear') {
|
||||
return {easing: Easing.linear, duration: a1};
|
||||
}
|
||||
if (a0 === 'keyboard') {
|
||||
return {'damping': 500, 'stiffness': 1000, 'mass': 3, 'overshootClamping': true,
|
||||
'restDisplacementThreshold': 10,
|
||||
'restSpeedThreshold': 10};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user