{"ast":null,"code":"\"use strict\";\n\nimport * as React from 'react';\nimport { HeaderHeightContext } from \"./HeaderHeightContext.js\";\nexport function useHeaderHeight() {\n  var height = React.useContext(HeaderHeightContext);\n  if (height === undefined) {\n    throw new Error(\"Couldn't find the header height. Are you inside a screen in a navigator with a header?\");\n  }\n  return height;\n}","map":{"version":3,"names":["React","HeaderHeightContext","useHeaderHeight","height","useContext","undefined","Error"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/elements/src/Header/useHeaderHeight.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { HeaderHeightContext } from './HeaderHeightContext';\n\nexport function useHeaderHeight() {\n  const height = React.useContext(HeaderHeightContext);\n\n  if (height === 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 height;\n}\n"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,mBAAmB;AAE5B,OAAO,SAASC,eAAeA,CAAA,EAAG;EAChC,IAAMC,MAAM,GAAGH,KAAK,CAACI,UAAU,CAACH,mBAAmB,CAAC;EAEpD,IAAIE,MAAM,KAAKE,SAAS,EAAE;IACxB,MAAM,IAAIC,KAAK,CACb,wFACF,CAAC;EACH;EAEA,OAAOH,MAAM;AACf","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}