1234567891011121314 |
- __d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),p=n(r(d[2]));t.AppRegistry.registerComponent("app",function(){return p.default})},10000000,[5,3,10000001]);
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=r(d[1]);var l=t.StyleSheet.create({container:{flex:1}});e.default=function(){var c='dark'===(0,t.useColorScheme)();return(0,n.jsxs)(t.View,{style:l.container,children:[(0,n.jsx)(t.StatusBar,{barStyle:c?'light-content':'dark-content'}),(0,n.jsx)(r(d[2]).NewAppScreen,{templateFileName:"App.tsx"})]})}},10000001,[3,243,10000002]);
- __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"NewAppScreen",{enumerable:!0,get:function(){return t.default}});var t=n(r(d[1]))},10000002,[5,10000003]);
- __d(function(g,_r,_i,a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){var c=e.templateFileName,u=void 0===c?'App.tsx':c,h=(0,_r(d[6]).useTheme)().colors,f='dark'===(0,r.useColorScheme)(),p=(0,r.useWindowDimensions)().width>600;return(0,i.jsx)(r.SafeAreaView,{style:{backgroundColor:h.background},children:(0,i.jsx)(r.ScrollView,{children:(0,i.jsxs)(r.View,{style:[s.container,{paddingTop:o}],children:[(0,i.jsxs)(r.View,{style:s.header,children:[(0,i.jsx)(r.Image,{style:s.logo,source:_r(f?d[7]:d[8])}),(0,i.jsx)(_r(d[6]).ThemedText,{style:s.title,children:"Welcome to React Native"}),(x=[_r(d[9]).version.major,_r(d[9]).version.minor,_r(d[9]).version.patch].join('.')+(null!=_r(d[9]).version.prerelease?'-'+_r(d[9]).version.prerelease:''),(0,i.jsxs)(_r(d[6]).ThemedText,{color:"secondary",style:s.label,children:["Version: ",x]})),l(),(0,i.jsxs)(_r(d[6]).ThemedText,{style:[s.callout,{backgroundColor:h.backgroundHighlight}],children:["\ud83d\udca1\u2002Open",' ',(0,i.jsx)(r.Text,{style:s.calloutEmphasis,children:u})," to get started"]})]}),(0,i.jsxs)(r.View,{style:s.linksContainer,children:[(0,i.jsx)(_r(d[6]).ThemedText,{style:s.linksTitle,children:"Learn & Explore"}),t.default.map(function(e,t){var o=e.title,l=e.description,c=e.url;return(0,i.jsx)(r.TouchableHighlight,{activeOpacity:.6,underlayColor:h.background,onPress:function(){return(0,n.default)(c)},style:[s.link,{maxWidth:p?240:360,borderColor:h.cardOutline,backgroundColor:h.cardBackground}],children:(0,i.jsxs)(r.View,{children:[(0,i.jsx)(_r(d[6]).ThemedText,{style:s.linkText,children:o}),(0,i.jsx)(_r(d[6]).ThemedText,{style:{color:h.textSecondary},children:l})]})},t)})]})]})})});var x};var t=e(_r(d[1])),r=((function(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;(function(e,t){if(!t&&e&&e.__esModule)return e;var i,o,l={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return l;if(i=t?n:r){if(i.has(e))return i.get(e);i.set(e,l)}for(var s in e)"default"!==s&&{}.hasOwnProperty.call(e,s)&&((o=(i=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,s))&&(o.get||o.set)?i(l,s,o):l[s]=e[s])})(e,t)})(_r(d[2])),_r(d[3])),n=e(_r(d[4])),i=_r(d[5]);var o=r.Platform.select({android:r.StatusBar.currentHeight||0,default:0});function l(){return null==g.HermesInternal?null:(0,i.jsx)(_r(d[6]).ThemedText,{color:"secondary",style:s.label,children:"JS Engine: Hermes"})}var s=r.StyleSheet.create({container:{flexGrow:1,alignItems:'center',paddingHorizontal:24},header:{width:'100%',alignItems:'center',marginTop:64,marginBottom:48},logo:{height:80,aspectRatio:1,marginBottom:24},title:{fontSize:24,fontWeight:'600',marginBottom:24},label:{fontSize:14,marginBottom:8},callout:{width:'100%',maxWidth:320,marginTop:36,paddingVertical:16,paddingHorizontal:20,paddingLeft:16,borderRadius:12,fontSize:16,textAlign:'center'},calloutEmphasis:{fontWeight:'bold'},linksContainer:{flex:1,flexWrap:'wrap',flexDirection:'row',justifyContent:'center',columnGap:12,rowGap:12,maxWidth:800,marginBottom:48},linksTitle:{width:'100%',fontSize:18,fontWeight:'600',textAlign:'center',marginBottom:20},link:{width:'100%',paddingVertical:20,paddingHorizontal:24,borderRadius:12,borderWidth:1,boxShadow:'0 4px 8px rgba(0, 0, 0, .03)'},linkText:{marginBottom:4,fontSize:16,fontWeight:'600'}})},10000003,[5,10000004,1,3,10000005,243,10000007,10000008,10000010,10000011]);
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=[{title:'Hello World',description:'Learn the basics',url:'https://reactnative.dev/docs/tutorial'},{title:'Fast Refresh',description:'See edits instantly',url:'https://reactnative.dev/docs/fast-refresh'},{title:'DevTools',description:'View logs & debug your app',url:'https://reactnative.dev/docs/debugging'},{title:'Components',description:'View components and APIs',url:'https://reactnative.dev/docs/components-and-apis'},{title:'Style',description:'Use the style prop',url:'https://reactnative.dev/docs/style'},{title:'Layout',description:'Flexbox & layout techniques',url:'https://reactnative.dev/docs/flexbox'},{title:'Navigation',description:'Move between screens',url:'https://reactnative.dev/docs/navigation'},{title:'Networking',description:'Use the Fetch API',url:'https://reactnative.dev/docs/network'},{title:'Showcase',description:'Featured React Native apps',url:'https://reactnative.dev/showcase'},{title:'Blog',description:'Latest news & updates',url:'https://reactnative.dev/blog'},{title:'Community',description:'Expore & get help',url:'https://reactnative.dev/community/overview'},{title:'Follow @reactnative',description:'Stay in touch on X',url:'https://x.com/reactnative'}]},10000004,[]);
- __d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){fetch(r(d[0]).default().url+'open-url',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({url:t})})}},10000005,[10000006]);
- __d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if(void 0===t){var l=n.default.getConstants().scriptURL,f=l.match(/^https?:\/\/.*?\//);t=f?f[0]:null,u=f?l:null}return{url:null!=t?t:o,fullBundleUrl:u,bundleLoadedFromServer:null!==t}};var t,u,n=l(r(d[1])),o='http://localhost:8081/'},10000006,[5,90]);
- __d(function(g,_r,_i,a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.ThemedText=function(e){var c=e.color,u=e.style,i=(0,r.default)(e,n),l=f().colors;return(0,o.jsx)(t.Text,Object.assign({style:[{color:'secondary'===c?l.textSecondary:l.textPrimary},u]},i))},_e.useTheme=f;var r=e(_r(d[1])),t=((function(e,r){if("function"==typeof WeakMap)var t=new WeakMap,o=new WeakMap;(function(e,r){if(!r&&e&&e.__esModule)return e;var n,c,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(n=r?o:t){if(n.has(e))return n.get(e);n.set(e,f)}for(var u in e)"default"!==u&&{}.hasOwnProperty.call(e,u)&&((c=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,u))&&(c.get||c.set)?n(f,u,c):f[u]=e[u])})(e,r)})(_r(d[2])),_r(d[3])),o=_r(d[4]),n=["color","style"];var c={light:{background:'#f3f3f3',backgroundHighlight:'#cfe6ee',cardBackground:'#fff',cardOutline:'#dae1e7',textPrimary:'#000',textSecondary:'#404756'},dark:{background:'#000',backgroundHighlight:'#193c47',cardBackground:'#222',cardOutline:'#444',textPrimary:'#fff',textSecondary:'#c0c1c4'}};function f(){var e=(0,t.useColorScheme)();return{colors:c['dark'===e?'dark':'light']}}},10000007,[5,6,1,3,243]);
- __d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/@react-native/new-app-screen/src/assets",width:600,height:600,scales:[1],hash:"0ef16cc369ea357e5984182b0a594063",name:"react-dark",type:"png"})},10000008,[10000009]);
- __d(function(g,r,i,a,m,e,d){'use strict';m.exports=r(d[0])},10000009,[92]);
- __d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/@react-native/new-app-screen/src/assets",width:600,height:600,scales:[1],hash:"8da88b43e2d0d034dadb964f31f3b1bf",name:"react-light",type:"png"})},10000010,[10000009]);
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.version=void 0;e.version={major:0,minor:80,patch:1,prerelease:null}},10000011,[]);
- __r(108);
- __r(10000000);
|