// Module ID: 6497 // Function ID: 6498 // Name: transformLongPressProps // Dependencies: [6476, 6491, 6467] // Module 6497 (transformLongPressProps) import ComposedGestureName from "ComposedGestureName" /* 6467 */; import isGestureEnabled from "isGestureEnabled" /* 6476 */; import useGesture from "useGesture" /* 6491 */; require = arg1; const dependencyMap = arg6; function transformLongPressProps(shouldCancelWhenOutside) { if (undefined === shouldCancelWhenOutside.shouldCancelWhenOutside) { shouldCancelWhenOutside.shouldCancelWhenOutside = true; } return shouldCancelWhenOutside; } const items = [["minDuration", "minDurationMs"], ["maxDistance", "maxDist"]]; const map = new Map(items); let closure_4 = {}; arg5.useLongPressGesture = function useLongPressGesture(gestureHandlerProps) { let tmp = gestureHandlerProps; if (gestureHandlerProps === undefined) { tmp = closure_4; } const clonedAndRemappedConfig = isGestureEnabled.useClonedAndRemappedConfig(tmp, map, transformLongPressProps); const obj = isGestureEnabled; return useGesture.useGesture(ComposedGestureName.SingleGestureName.LongPress, clonedAndRemappedConfig); };