{"ast":null,"code":"\"use strict\";\nexport function forFade(_ref) {\n  var current = _ref.current;\n  return {\n    sceneStyle: {\n      opacity: current.progress.interpolate({\n        inputRange: [-1, 0, 1],\n        outputRange: [0, 1, 0]\n      })\n    }\n  };\n}\nexport function forShift(_ref2) {\n  var current = _ref2.current;\n  return {\n    sceneStyle: {\n      opacity: current.progress.interpolate({\n        inputRange: [-1, 0, 1],\n        outputRange: [0, 1, 0]\n      }),\n      transform: [{\n        translateX: current.progress.interpolate({\n          inputRange: [-1, 0, 1],\n          outputRange: [-50, 0, 50]\n        })\n      }]\n    }\n  };\n}","map":{"version":3,"names":["forFade","_ref","current","sceneStyle","opacity","progress","interpolate","inputRange","outputRange","forShift","_ref2","transform","translateX"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/bottom-tabs/src/TransitionConfigs/SceneStyleInterpolators.tsx"],"sourcesContent":["import type {\n  BottomTabSceneInterpolatedStyle,\n  BottomTabSceneInterpolationProps,\n} from '../types';\n\n/**\n * Simple cross fade animation\n */\nexport function forFade({\n  current,\n}: BottomTabSceneInterpolationProps): BottomTabSceneInterpolatedStyle {\n  return {\n    sceneStyle: {\n      opacity: current.progress.interpolate({\n        inputRange: [-1, 0, 1],\n        outputRange: [0, 1, 0],\n      }),\n    },\n  };\n}\n\n/**\n * Animation where the screens slightly shift to left/right\n */\nexport function forShift({\n  current,\n}: BottomTabSceneInterpolationProps): BottomTabSceneInterpolatedStyle {\n  return {\n    sceneStyle: {\n      opacity: current.progress.interpolate({\n        inputRange: [-1, 0, 1],\n        outputRange: [0, 1, 0],\n      }),\n      transform: [\n        {\n          translateX: current.progress.interpolate({\n            inputRange: [-1, 0, 1],\n            outputRange: [-50, 0, 50],\n          }),\n        },\n      ],\n    },\n  };\n}\n"],"mappings":";AAQA,OAAO,SAASA,OAAOA,CAAAC,IAAA,EAE+C;EAAA,IADpEC,OAAA,GAAAD,IAAA,CAAAC,OAAA;EAEA,OAAO;IACLC,UAAU,EAAE;MACVC,OAAO,EAAEF,OAAO,CAACG,QAAQ,CAACC,WAAW,CAAC;QACpCC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QACtBC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;MACvB,CAAC;IACH;EACF,CAAC;AACH;AAKA,OAAO,SAASC,QAAQA,CAAAC,KAAA,EAE8C;EAAA,IADpER,OAAA,GAAAQ,KAAA,CAAAR,OAAA;EAEA,OAAO;IACLC,UAAU,EAAE;MACVC,OAAO,EAAEF,OAAO,CAACG,QAAQ,CAACC,WAAW,CAAC;QACpCC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;QACtBC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;MACvB,CAAC,CAAC;MACFG,SAAS,EAAE,CACT;QACEC,UAAU,EAAEV,OAAO,CAACG,QAAQ,CAACC,WAAW,CAAC;UACvCC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;UACtBC,WAAW,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,EAAE;QAC1B,CAAC;MACH,CAAC;IAEL;EACF,CAAC;AACH","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}