{"ast":null,"code":"\"use strict\";\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nconst _excluded = [\"tintColor\", \"style\"];\nimport { useTheme } from '@react-navigation/native';\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 HeaderTitle(_ref) {\n  let {\n      tintColor,\n      style\n    } = _ref,\n    rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n  const {\n    colors,\n    fonts\n  } = useTheme();\n  return _jsx(Animated.Text, Object.assign({\n    role: \"heading\",\n    \"aria-level\": \"1\",\n    numberOfLines: 1\n  }, rest, {\n    style: [{\n      color: tintColor === undefined ? colors.text : tintColor\n    }, Platform.select({\n      ios: fonts.bold,\n      default: fonts.medium\n    }), styles.title, style]\n  }));\n}\nconst styles = StyleSheet.create({\n  title: Platform.select({\n    ios: {\n      fontSize: 17\n    },\n    android: {\n      fontSize: 20\n    },\n    default: {\n      fontSize: 18\n    }\n  })\n});","map":{"version":3,"names":["useTheme","Animated","Platform","StyleSheet","jsx","_jsx","HeaderTitle","_ref","tintColor","style","rest","_objectWithoutPropertiesLoose","_excluded","colors","fonts","Text","Object","assign","role","numberOfLines","color","undefined","text","select","ios","bold","default","medium","styles","title","create","fontSize","android"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/elements/src/Header/HeaderTitle.tsx"],"sourcesContent":["import { useTheme } from '@react-navigation/native';\nimport {\n  Animated,\n  Platform,\n  type StyleProp,\n  StyleSheet,\n  type TextProps,\n  type TextStyle,\n} from 'react-native';\n\ntype Props = Omit<TextProps, 'style'> & {\n  tintColor?: string;\n  children?: string;\n  style?: Animated.WithAnimatedValue<StyleProp<TextStyle>>;\n};\n\nexport function HeaderTitle({ tintColor, style, ...rest }: Props) {\n  const { colors, fonts } = useTheme();\n\n  return (\n    <Animated.Text\n      role=\"heading\"\n      aria-level=\"1\"\n      numberOfLines={1}\n      {...rest}\n      style={[\n        { color: tintColor === undefined ? colors.text : tintColor },\n        Platform.select({ ios: fonts.bold, default: fonts.medium }),\n        styles.title,\n        style,\n      ]}\n    />\n  );\n}\n\nconst styles = StyleSheet.create({\n  title: Platform.select({\n    ios: {\n      fontSize: 17,\n    },\n    android: {\n      fontSize: 20,\n    },\n    default: {\n      fontSize: 18,\n    },\n  }),\n});\n"],"mappings":";;;;AAAA,SAASA,QAAQ,QAAQ,0BAA0B;AAAA,OAAAC,QAAA;AAAA,OAAAC,QAAA;AAAA,OAAAC,UAAA;AAQ7B,SAAAC,GAAA,IAAAC,IAAA;AAQtB,OAAO,SAASC,WAAWA,CAAAC,IAAA,EAAuC;EAAA,IAAtC;MAAEC,SAAS;MAAEC;IAAsB,CAAC,GAAAF,IAAA;IAAbG,IAAA,GAAAC,6BAAA,CAAAJ,IAAA,EAAAK,SAAA;EACjD,MAAM;IAAEC,MAAM;IAAEC;EAAM,CAAC,GAAGd,QAAQ,CAAC,CAAC;EAEpC,OACEK,IAAA,CAACJ,QAAQ,CAACc,IAAI,EAAAC,MAAA,CAAAC,MAAA;IACZC,IAAI,EAAC,SAAS;IACd,cAAW,GAAG;IACdC,aAAa,EAAE;EAAE,GACbT,IAAI;IACRD,KAAK,EAAE,CACL;MAAEW,KAAK,EAAEZ,SAAS,KAAKa,SAAS,GAAGR,MAAM,CAACS,IAAI,GAAGd;IAAU,CAAC,EAC5DN,QAAQ,CAACqB,MAAM,CAAC;MAAEC,GAAG,EAAEV,KAAK,CAACW,IAAI;MAAEC,OAAO,EAAEZ,KAAK,CAACa;IAAO,CAAC,CAAC,EAC3DC,MAAM,CAACC,KAAK,EACZpB,KAAK;EAAA,EAER,CAAC;AAEN;AAEA,MAAMmB,MAAM,GAAGzB,UAAU,CAAC2B,MAAM,CAAC;EAC/BD,KAAK,EAAE3B,QAAQ,CAACqB,MAAM,CAAC;IACrBC,GAAG,EAAE;MACHO,QAAQ,EAAE;IACZ,CAAC;IACDC,OAAO,EAAE;MACPD,QAAQ,EAAE;IACZ,CAAC;IACDL,OAAO,EAAE;MACPK,QAAQ,EAAE;IACZ;EACF,CAAC;AACH,CAAC,CAAC","ignoreList":[]},"metadata":{"hasCjsExports":false},"sourceType":"module","externalDependencies":[]}