Files
discord-decomp/sources/modules/panels/native/PanelsConfig.tsx
T
2026-07-27 16:20:00 +03:00

47 lines
2.6 KiB
TypeScript

/* Metro module 14365; source: modules/panels/native/PanelsConfig.tsx; dependencies: [1305, 2] */
function _fun108726(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#108726, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14562:6, offset: 0x0232bc10, size: 368 bytes, params: 8, frame: 27
var object7;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object7 = {code: 'function isTimingConfig_PanelsConfigTsx1(obj){return obj!=null&&obj.duration!=null;}'};
const value = _fun108727();
object7 = {'mass': 1, 'stiffness': 250, 'overshootClamping': true, 'restSpeedThreshold': 0.001,
'restDisplacementThreshold': 0.001};
const object8 = {damping: 30};
copyDataProperties(object8, object7, undefined);
const object9 = {damping: 20};
copyDataProperties(object9, object7, undefined);
object7 = {duration: 250};
const STANDARD_EASING = (require(1305) /* metro dependency 1305: native */).STANDARD_EASING;
object7.easing = STANDARD_EASING;
const object10 = {duration: 200};
object10.easing = STANDARD_EASING;
const object11 = {swipeSidePanelOpen: object8, swipeSidePanelClose: object9, nonSwipeSidePanelOpen: object7,
nonSwipeSidePanelClose: object10, touchSlopForPanGesture: 8, minFlingVelocityX: 240};
const object12 = {};
const DECELERATED_EASING = (require(1305) /* metro dependency 1305: native */).DECELERATED_EASING;
object12.swipeSidePanelOpen = {duration: 250, easing: DECELERATED_EASING};
object12.swipeSidePanelClose = {duration: 200, easing: DECELERATED_EASING};
object12.nonSwipeSidePanelOpen = object7;
object12.nonSwipeSidePanelClose = object10;
object12.touchSlopForPanGesture = 8;
object12.minFlingVelocityX = 240;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/panels/native/PanelsConfig.tsx');
exports.isTimingConfig = value;
exports.SIDE_PANEL_OPEN_DURATION_MS = 250;
exports.SIDE_PANEL_CLOSE_DURATION_MS = 200;
exports.DEFAULT_PANELS_ANIMATION_CONFIG = object11;
exports.ANDROID_PANELS_ANIMATION_CONFIG = object12;
}
function _fun108727() { // fn#108727, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14562:194, offset: 0x0232bd80, size: 48 bytes, params: 1, frame: 2
const closure = function(a0) {
return a0 != null && a0.duration != null;
};
closure.__closure = {};
closure.__workletHash = 14033676769786;
closure.__initData = env0_0;
return closure;
}