{"ast":null,"code":"\"use strict\";\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nconst _excluded = [\"style\"];\nimport { useTheme } from '@react-navigation/native';\nimport * as React from 'react';\nimport Animated from \"react-native-web/dist/exports/Animated\";\nimport Platform from \"react-native-web/dist/exports/Platform\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function HeaderBackground(_ref) {\n  let {\n      style\n    } = _ref,\n    rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n  const {\n    colors,\n    dark\n  } = useTheme();\n  return _jsx(Animated.View, Object.assign({\n    style: [styles.container, Object.assign({\n      backgroundColor: colors.card,\n      borderBottomColor: colors.border\n    }, Platform.OS === 'ios' && {\n      shadowColor: dark ? 'rgba(255, 255, 255, 0.45)' : 'rgba(0, 0, 0, 1)'\n    }), style]\n  }, rest));\n}\nconst styles = StyleSheet.create({\n  container: Object.assign({\n    flex: 1\n  }, Platform.select({\n    android: {\n      elevation: 4\n    },\n    ios: {\n      shadowOpacity: 0.3,\n      shadowRadius: 0,\n      shadowOffset: {\n        width: 0,\n        height: StyleSheet.hairlineWidth\n      }\n    },\n    default: {\n      borderBottomWidth: StyleSheet.hairlineWidth\n    }\n  }))\n});","map":{"version":3,"names":["useTheme","React","Animated","Platform","StyleSheet","jsx","_jsx","HeaderBackground","_ref","style","rest","_objectWithoutPropertiesLoose","_excluded","colors","dark","View","Object","assign","styles","container","backgroundColor","card","borderBottomColor","border","OS","shadowColor","create","flex","select","android","elevation","ios","shadowOpacity","shadowRadius","shadowOffset","width","height","hairlineWidth","default","borderBottomWidth"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/elements/src/Header/HeaderBackground.tsx"],"sourcesContent":["import { useTheme } from '@react-navigation/native';\nimport * as React from 'react';\nimport {\n  Animated,\n  Platform,\n  type StyleProp,\n  StyleSheet,\n  type ViewProps,\n  type ViewStyle,\n} from 'react-native';\n\ntype Props = Omit<ViewProps, 'style'> & {\n  style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;\n  children?: React.ReactNode;\n};\n\nexport function HeaderBackground({ style, ...rest }: Props) {\n  const { colors, dark } = useTheme();\n\n  return (\n    <Animated.View\n      style={[\n        styles.container,\n        {\n          backgroundColor: colors.card,\n          borderBottomColor: colors.border,\n          ...(Platform.OS === 'ios' && {\n            shadowColor: dark\n              ? 'rgba(255, 255, 255, 0.45)'\n              : 'rgba(0, 0, 0, 1)',\n          }),\n        },\n        style,\n      ]}\n      {...rest}\n    />\n  );\n}\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    ...Platform.select({\n      android: {\n        elevation: 4,\n      },\n      ios: {\n        shadowOpacity: 0.3,\n        shadowRadius: 0,\n        shadowOffset: {\n          width: 0,\n          height: StyleSheet.hairlineWidth,\n        },\n      },\n      default: {\n        borderBottomWidth: StyleSheet.hairlineWidth,\n      },\n    }),\n  },\n});\n"],"mappings":";;;;AAAA,SAASA,QAAQ,QAAQ,0BAA0B;AACnD,OAAO,KAAKC,KAAK,MAAM,OAAO;AAAA,OAAAC,QAAA;AAAA,OAAAC,QAAA;AAAA,OAAAC,UAAA;AAQR,SAAAC,GAAA,IAAAC,IAAA;AAOtB,OAAO,SAASC,gBAAgBA,CAAAC,IAAA,EAA4B;EAAA,IAA3B;MAAEC;IAAsB,CAAC,GAAAD,IAAA;IAAbE,IAAA,GAAAC,6BAAA,CAAAH,IAAA,EAAAI,SAAA;EAC3C,MAAM;IAAEC,MAAM;IAAEC;EAAK,CAAC,GAAGd,QAAQ,CAAC,CAAC;EAEnC,OACEM,IAAA,CAACJ,QAAQ,CAACa,IAAI,EAAAC,MAAA,CAAAC,MAAA;IACZR,KAAK,EAAE,CACLS,MAAM,CAACC,SAAS,EAAAH,MAAA,CAAAC,MAAA;MAEdG,eAAe,EAAEP,MAAM,CAACQ,IAAI;MAC5BC,iBAAiB,EAAET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