{"ast":null,"code":"import * as React from 'react';\nimport StyleSheet from \"../StyleSheet\";\nimport View from \"../View\";\nvar RootTagContext = React.createContext(null);\nexport default function AppContainer(props) {\n  var children = props.children,\n      WrapperComponent = props.WrapperComponent;\n  var innerView = React.createElement(View, {\n    children: children,\n    key: 1,\n    pointerEvents: \"box-none\",\n    style: styles.appContainer\n  });\n\n  if (WrapperComponent) {\n    innerView = React.createElement(WrapperComponent, null, innerView);\n  }\n\n  return React.createElement(RootTagContext.Provider, {\n    value: props.rootTag\n  }, React.createElement(View, {\n    pointerEvents: \"box-none\",\n    style: styles.appContainer\n  }, innerView));\n}\nvar styles = StyleSheet.create({\n  appContainer: {\n    flex: 1\n  }\n});","map":{"version":3,"sources":["/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/example/node_modules/react-native-web/dist/exports/AppRegistry/AppContainer.js"],"names":["React","StyleSheet","View","RootTagContext","createContext","AppContainer","props","children","WrapperComponent","innerView","createElement","key","pointerEvents","style","styles","appContainer","Provider","value","rootTag","create","flex"],"mappings":"AASA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAOC,UAAP;AACA,OAAOC,IAAP;AACA,IAAIC,cAAc,GAAgBH,KAAK,CAACI,aAAN,CAAoB,IAApB,CAAlC;AACA,eAAe,SAASC,YAAT,CAAsBC,KAAtB,EAA6B;AAC1C,MAAIC,QAAQ,GAAGD,KAAK,CAACC,QAArB;AAAA,MACIC,gBAAgB,GAAGF,KAAK,CAACE,gBAD7B;AAEA,MAAIC,SAAS,GAAgBT,KAAK,CAACU,aAAN,CAAoBR,IAApB,EAA0B;AACrDK,IAAAA,QAAQ,EAAEA,QAD2C;AAErDI,IAAAA,GAAG,EAAE,CAFgD;AAGrDC,IAAAA,aAAa,EAAE,UAHsC;AAIrDC,IAAAA,KAAK,EAAEC,MAAM,CAACC;AAJuC,GAA1B,CAA7B;;AAOA,MAAIP,gBAAJ,EAAsB;AACpBC,IAAAA,SAAS,GAAgBT,KAAK,CAACU,aAAN,CAAoBF,gBAApB,EAAsC,IAAtC,EAA4CC,SAA5C,CAAzB;AACD;;AAED,SAAoBT,KAAK,CAACU,aAAN,CAAoBP,cAAc,CAACa,QAAnC,EAA6C;AAC/DC,IAAAA,KAAK,EAAEX,KAAK,CAACY;AADkD,GAA7C,EAEJlB,KAAK,CAACU,aAAN,CAAoBR,IAApB,EAA0B;AACxCU,IAAAA,aAAa,EAAE,UADyB;AAExCC,IAAAA,KAAK,EAAEC,MAAM,CAACC;AAF0B,GAA1B,EAGbN,SAHa,CAFI,CAApB;AAMD;AACD,IAAIK,MAAM,GAAGb,UAAU,CAACkB,MAAX,CAAkB;AAC7BJ,EAAAA,YAAY,EAAE;AACZK,IAAAA,IAAI,EAAE;AADM;AADe,CAAlB,CAAb","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nvar RootTagContext = /*#__PURE__*/React.createContext(null);\nexport default function AppContainer(props) {\n  var children = props.children,\n      WrapperComponent = props.WrapperComponent;\n  var innerView = /*#__PURE__*/React.createElement(View, {\n    children: children,\n    key: 1,\n    pointerEvents: \"box-none\",\n    style: styles.appContainer\n  });\n\n  if (WrapperComponent) {\n    innerView = /*#__PURE__*/React.createElement(WrapperComponent, null, innerView);\n  }\n\n  return /*#__PURE__*/React.createElement(RootTagContext.Provider, {\n    value: props.rootTag\n  }, /*#__PURE__*/React.createElement(View, {\n    pointerEvents: \"box-none\",\n    style: styles.appContainer\n  }, innerView));\n}\nvar styles = StyleSheet.create({\n  appContainer: {\n    flex: 1\n  }\n});"]},"metadata":{},"sourceType":"module"}