{"version":3,"names":["React","AnimatedHeaderHeightContext","useAnimatedHeaderHeight","animatedValue","useContext","undefined","Error"],"sources":["useAnimatedHeaderHeight.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport AnimatedHeaderHeightContext from './AnimatedHeaderHeightContext';\n\nexport default function useAnimatedHeaderHeight() {\n const animatedValue = React.useContext(AnimatedHeaderHeightContext);\n\n if (animatedValue === undefined) {\n throw new Error(\n \"Couldn't find the header height. Are you inside a screen in a navigator with a header?\"\n );\n }\n\n return animatedValue;\n}\n"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,OAAOC,2BAA2B,MAAM,+BAA+B;AAEvE,eAAe,SAASC,uBAAuBA,CAAA,EAAG;EAChD,MAAMC,aAAa,GAAGH,KAAK,CAACI,UAAU,CAACH,2BAA2B,CAAC;EAEnE,IAAIE,aAAa,KAAKE,SAAS,EAAE;IAC/B,MAAM,IAAIC,KAAK,CACb,wFACF,CAAC;EACH;EAEA,OAAOH,aAAa;AACtB"}