decord/stable/source/modules/panels/native/PanelsConfig.tsx
github-actions 528a3dd5ba chore: update source for stable 345.9
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
2026-09-18 20:18:48 +00:00

35 lines
1.8 KiB
TypeScript

// Module ID: 16010
// Function ID: 16011
// Name: PanelsConfig
// Dependencies: [1178, 2]
// Exports: isTimingConfig
// Module 16010 (PanelsConfig)
import native from "native" /* 1178 */;
import size from "module_2" /* 2 */;
function isTimingConfig(duration) {
return null != duration && null != duration.duration;
}
isTimingConfig.__closure = {};
isTimingConfig.__workletHash = 14033676769786;
isTimingConfig.__initData = { code: "function isTimingConfig_PanelsConfigTsx1(obj){return obj!=null&&obj.duration!=null;}" };
const obj = { mass: 1, stiffness: 250, overshootClamping: true, restSpeedThreshold: 0.001, restDisplacementThreshold: 0.001 };
const merged = Object.assign(obj);
const merged1 = Object.assign(obj);
const obj4 = { duration: 250, easing: native.STANDARD_EASING };
const obj5 = { duration: 200, easing: native.STANDARD_EASING };
const obj6 = { swipeSidePanelOpen: { duration: 250, easing: native.DECELERATED_EASING }, swipeSidePanelClose: null, nonSwipeSidePanelOpen: null, nonSwipeSidePanelClose: null, touchSlopForPanGesture: 8, minFlingVelocityX: 240 };
const obj2 = { damping: 30 };
const obj3 = { damping: 20 };
const obj7 = { duration: 250, easing: native.DECELERATED_EASING };
obj6.swipeSidePanelClose = { duration: 200, easing: native.DECELERATED_EASING };
obj6.nonSwipeSidePanelOpen = obj4;
obj6.nonSwipeSidePanelClose = obj5;
const result = size.fileFinishedImporting("modules/panels/native/PanelsConfig.tsx");
export { isTimingConfig };
export const SIDE_PANEL_OPEN_DURATION_MS = 250;
export const SIDE_PANEL_CLOSE_DURATION_MS = 200;
export const DEFAULT_PANELS_ANIMATION_CONFIG = { swipeSidePanelOpen: obj2, swipeSidePanelClose: obj3, nonSwipeSidePanelOpen: obj4, nonSwipeSidePanelClose: obj5, touchSlopForPanGesture: 8, minFlingVelocityX: 240 };
export const ANDROID_PANELS_ANIMATION_CONFIG = obj6;