expo-dev-launcher 1.2.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/android/build.gradle +1 -1
  3. package/android/src/debug/assets/expo_dev_launcher_android.bundle +22 -21
  4. package/android/src/main/AndroidManifest.xml +0 -1
  5. package/android/src/main/java/expo/modules/devlauncher/helpers/DevLauncherReactUtils.kt +3 -1
  6. package/android/src/main/java/expo/modules/devlauncher/launcher/errors/DevLauncherUncaughtExceptionHandler.kt +6 -9
  7. package/android/src/main/java/expo/modules/devlauncher/logs/DevLauncherRemoteLog.kt +13 -37
  8. package/android/src/main/java/expo/modules/devlauncher/logs/DevLauncherRemoteLogManager.kt +27 -31
  9. package/android/src/react-native-64/expo/modules/devlauncher/rncompatibility/DevLauncherReactNativeHostHandler.kt +5 -0
  10. package/android/src/react-native-65/expo/modules/devlauncher/rncompatibility/DevLauncherReactNativeHostHandler.kt +5 -0
  11. package/android/src/react-native-66/expo/modules/devlauncher/rncompatibility/DevLauncherReactNativeHostHandler.kt +5 -0
  12. package/android/src/react-native-67/expo/modules/devlauncher/rncompatibility/DevLauncherReactNativeHostHandler.kt +5 -0
  13. package/android/src/react-native-69/expo/modules/devlauncher/rncompatibility/DevLauncherReactNativeHostHandler.kt +5 -0
  14. package/bundle/components/AppHeader.tsx +7 -1
  15. package/bundle/components/ScreenContainer.tsx +8 -0
  16. package/bundle/native-modules/DevLauncherAuth.ts +21 -10
  17. package/bundle/screens/BranchesScreen.tsx +18 -15
  18. package/bundle/screens/ExtensionsScreen.tsx +37 -38
  19. package/bundle/screens/ExtensionsStack.tsx +1 -0
  20. package/bundle/screens/HomeScreen.tsx +9 -2
  21. package/bundle/screens/SettingsScreen.tsx +113 -110
  22. package/bundle/screens/UpdatesScreen.tsx +44 -39
  23. package/ios/EXDevLauncherController.m +3 -0
  24. package/ios/EXDevLauncherURLHelper.swift +30 -19
  25. package/ios/Errors/EXDevLauncherUncaughtExceptionHandler.swift +14 -10
  26. package/ios/Logs/EXDevLauncherRemoteLogsManager.swift +39 -34
  27. package/ios/main.jsbundle +22 -21
  28. package/package.json +4 -4
@@ -387,11 +387,11 @@ __d(function(g,r,i,a,m,_e,d){'use strict';var t=r(d[0]),n=r(d[1]),e=r(d[2]),u=r(
387
387
  __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DynamicColorIOS=void 0;e.DynamicColorIOS=function(o){throw new Error('DynamicColorIOS is not available on this platform.')}},381,[]);
388
388
  __d(function(g,r,_i,a,m,_e,d){var e=r(d[0]),t=e(r(d[1])),n=e(r(d[2])),i=e(r(d[3])),o=e(r(d[4])),c=e(r(d[5])),l=e(r(d[6])),s=e(r(d[7])),u=e(r(d[8])),v=e(r(d[9])),S=r(d[10]),f=r(d[11]),p=r(d[12]),h=e(r(d[13])),y=e(r(d[14])),w=r(d[15]),N=r(d[16]),b=["children"],C=["enabled"],k=["active","activityState","children","isNativeStack","gestureResponseDistance"],j=["active","activityState","style","onComponentRef"],O=["enabled","hasTwoStates"];function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach(function(t){(0,l.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var H='ios'===S.Platform.OS||'android'===S.Platform.OS||'windows'===S.Platform.OS,A=H;var B=!1;var F,V,D,z,q,I,E,W,M;var T={get NativeScreen(){return F=F||(0,S.requireNativeComponent)('RNSScreen')},get NativeScreenContainer(){return V=V||(0,S.requireNativeComponent)('RNSScreenContainer')},get NativeScreenNavigationContainer(){return D=D||('ios'===S.Platform.OS?(0,S.requireNativeComponent)('RNSScreenNavigationContainer'):this.NativeScreenContainer)},get NativeScreenStack(){return z=z||(0,S.requireNativeComponent)('RNSScreenStack')},get NativeScreenStackHeaderConfig(){return q=q||(0,S.requireNativeComponent)('RNSScreenStackHeaderConfig')},get NativeScreenStackHeaderSubview(){return I=I||(0,S.requireNativeComponent)('RNSScreenStackHeaderSubview')},get NativeSearchBar(){return W=W||(0,S.requireNativeComponent)('RNSSearchBar')},get NativeFullWindowOverlay(){return M=M||(0,S.requireNativeComponent)('RNSFullWindowOverlay')}};function U(e){var t=e.freeze,n=e.children,i=v.default.useState(!1),o=(0,u.default)(i,2),c=o[0],l=o[1];return t!==c&&setImmediate(function(){l(t)}),(0,N.jsx)(f.Freeze,{freeze:!!t&&c,children:n})}function _(e){var t=e.freeze,n=e.children;return B?(0,N.jsx)(U,{freeze:t,children:n}):(0,N.jsx)(N.Fragment,{children:n})}var L=(function(e){(0,i.default)(f,e);var l,u,v=(l=f,u=x(),function(){var e,t=(0,c.default)(l);if(u){var n=(0,c.default)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function f(){var e;(0,t.default)(this,f);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(e=v.call.apply(v,[this].concat(i))).ref=null,e.closing=new S.Animated.Value(0),e.progress=new S.Animated.Value(0),e.goingForward=new S.Animated.Value(0),e.setRef=function(t){e.ref=t,null==e.props.onComponentRef||e.props.onComponentRef(t)},e}return(0,n.default)(f,[{key:"setNativeProps",value:function(e){var t;null==(t=this.ref)||t.setNativeProps(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.enabled,i=void 0===n?A:n,o=(0,s.default)(t,C);if(i&&H){var c,l,u,v;E=E||S.Animated.createAnimatedComponent(T.NativeScreen);var f=o.active,p=o.activityState,y=o.children,w=o.isNativeStack,b=o.gestureResponseDistance,O=(0,s.default)(o,k);void 0!==f&&void 0===p&&(console.warn('It appears that you are using old version of react-navigation library. Please update @react-navigation/bottom-tabs, @react-navigation/stack and @react-navigation/drawer to version 5.10.0 or above to take full advantage of new functionality added to react-native-screens'),p=0!==f?2:0);return(0,N.jsx)(_,{freeze:0===p,children:(0,N.jsx)(E,R(R({},O),{},{activityState:p,gestureResponseDistance:{start:null!=(c=null==b?void 0:b.start)?c:-1,end:null!=(l=null==b?void 0:b.end)?l:-1,top:null!=(u=null==b?void 0:b.top)?u:-1,bottom:null!=(v=null==b?void 0:b.bottom)?v:-1},ref:function(t){var n,i;null!=t&&null!=(n=t.viewConfig)&&null!=(i=n.validAttributes)&&i.style&&(t.viewConfig.validAttributes.style=R(R({},t.viewConfig.validAttributes.style),{},{display:!1}),e.setRef(t))},onTransitionProgress:w?S.Animated.event([{nativeEvent:{progress:this.progress,closing:this.closing,goingForward:this.goingForward}}],{useNativeDriver:!0}):void 0,children:w?(0,N.jsx)(h.default.Provider,{value:{progress:this.progress,closing:this.closing,goingForward:this.goingForward},children:y}):y}))})}var x=o.active,P=o.activityState,B=o.style,F=(o.onComponentRef,(0,s.default)(o,j));return void 0!==x&&void 0===P&&(P=0!==x?2:0),(0,N.jsx)(S.Animated.View,R({style:[B,{display:0!==P?'flex':'none'}],ref:this.setRef},F))}}]),f})(v.default.Component);var G=S.StyleSheet.create({headerSubview:{position:'absolute',top:0,right:0,flexDirection:'row',alignItems:'center',justifyContent:'center'}}),J=v.default.createContext(L);m.exports={Screen:L,ScreenContainer:function(e){var t=e.enabled,n=void 0===t?A:t,i=e.hasTwoStates,o=(0,s.default)(e,O);return n&&H?i?(0,N.jsx)(T.NativeScreenNavigationContainer,R({},o)):(0,N.jsx)(T.NativeScreenContainer,R({},o)):(0,N.jsx)(S.View,R({},o))},ScreenContext:J,ScreenStack:function(e){if(B){var t=e.children,n=(0,s.default)(e,b),i=v.default.Children.count(t),o=v.default.Children.map(t,function(e,t){return(0,N.jsx)(U,{freeze:i-t>1,children:e})});return(0,N.jsx)(T.NativeScreenStack,R(R({},n),{},{children:o}))}return(0,N.jsx)(T.NativeScreenStack,R({},e))},get NativeScreen(){return T.NativeScreen},get NativeScreenContainer(){return T.NativeScreenContainer},get NativeScreenNavigationContainer(){return T.NativeScreenNavigationContainer},get ScreenStackHeaderConfig(){return T.NativeScreenStackHeaderConfig},get ScreenStackHeaderSubview(){return T.NativeScreenStackHeaderSubview},get SearchBar(){return w.isSearchBarAvailableForCurrentPlatform?T.NativeSearchBar:(console.warn('Importing SearchBar is only valid on iOS and Android devices.'),S.View)},get FullWindowOverlay(){return'ios'!==S.Platform.OS?(console.warn('Importing FullWindowOverlay is only valid on iOS devices.'),S.View):T.NativeFullWindowOverlay},ScreenStackHeaderBackButtonImage:function(e){return(0,N.jsx)(T.NativeScreenStackHeaderSubview,{type:"back",style:G.headerSubview,children:(0,N.jsx)(S.Image,R({resizeMode:"center",fadeDuration:0},e))})},ScreenStackHeaderRightView:function(e){return(0,N.jsx)(T.NativeScreenStackHeaderSubview,R(R({},e),{},{type:"right",style:G.headerSubview}))},ScreenStackHeaderLeftView:function(e){return(0,N.jsx)(T.NativeScreenStackHeaderSubview,R(R({},e),{},{type:"left",style:G.headerSubview}))},ScreenStackHeaderCenterView:function(e){return(0,N.jsx)(T.NativeScreenStackHeaderSubview,R(R({},e),{},{type:"center",style:G.headerSubview}))},ScreenStackHeaderSearchBarView:function(e){return(0,N.jsx)(T.NativeScreenStackHeaderSubview,R(R({},e),{},{type:"searchBar",style:G.headerSubview}))},enableScreens:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(A=H&&e)&&!S.UIManager.getViewManagerConfig('RNSScreen')&&console.error("Screen native module hasn't been linked. Please check the react-native-screens README for more details")},enableFreeze:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=parseInt(p.version.split('.')[1]);0===t||t>=64||!e||console.warn('react-freeze library requires at least react-native 0.64. Please upgrade your react-native version in order to use this feature.'),B=e},screensEnabled:function(){return A},shouldUseActivityState:!0,useTransitionProgress:y.default,isSearchBarAvailableForCurrentPlatform:w.isSearchBarAvailableForCurrentPlatform,executeNativeBackPress:w.executeNativeBackPress}},382,[6,10,11,13,15,18,31,97,42,164,2,383,384,385,386,387,184]);
389
389
  __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Freeze=function(o){var u=o.freeze,c=o.children,l=o.placeholder,p=void 0===l?null:l;return(0,n.jsx)(t.Suspense,{fallback:p,children:(0,n.jsx)(f,{freeze:u,children:c})})};var t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var f=o(n);if(f&&f.has(t))return f.get(t);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(u,l,p):u[l]=t[l]}u.default=t,f&&f.set(t,u);return u})(r(d[0])),n=r(d[1]);function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,f=new WeakMap;return(o=function(t){return t?f:n})(t)}function f(o){var f=o.freeze,u=o.children,c=(0,t.useRef)({}).current;if(f&&!c.promise)throw c.promise=new Promise(function(t){c.resolve=t}),c.promise;if(f)throw c.promise;return c.promise&&(c.resolve(),c.promise=void 0),(0,n.jsx)(t.Fragment,{children:u})}},383,[164,184]);
390
- __d(function(e,r,t,i,s,n,a){s.exports={name:"react-native",version:"0.69.4",bin:"./cli.js",description:"A framework for building native apps using React",license:"MIT",repository:"github:facebook/react-native",engines:{node:">=14"},"jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["!template/node_modules","!template/package-lock.json","!template/yarn.lock","android","cli.js","flow","flow-typed","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","react.gradle","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node-for-xcode.sh","scripts/generate-artifacts.js","scripts/generate-provider-cli.js","scripts/generate-specs-cli.js","scripts/codegen/codegen-utils.js","scripts/codegen/generate-artifacts-executor.js","scripts/codegen/generate-specs-cli-executor.js","scripts/hermes/hermes-utils.js","scripts/hermes/prepare-hermes-for-build.js","scripts/ios-configure-glog.sh","scripts/xcode/with-environment.sh","scripts/launchPackager.bat","scripts/launchPackager.command","scripts/node-binary.sh","scripts/packager.sh","scripts/packager-reporter.js","scripts/react_native_pods_utils/script_phases.rb","scripts/react_native_pods_utils/script_phases.sh","scripts/react_native_pods.rb","scripts/cocoapods","scripts/react-native-xcode.sh","sdks/.hermesversion","sdks/hermes-engine","sdks/hermesc","template.config.js","template","third-party-podspecs"],scripts:{start:"react-native start",test:"jest","test-ci":"jest --maxWorkers=2 --ci --reporters=\"default\" --reporters=\"jest-junit\"",flow:"flow","flow-check-ios":"flow check","flow-check-android":"flow check --flowconfig-name .flowconfig.android",lint:"eslint .","lint-ci":"./scripts/circleci/analyze_code.sh && yarn shellcheck","lint-java":"node ./scripts/lint-java.js",shellcheck:"./scripts/circleci/analyze_scripts.sh","clang-format":"clang-format -i --glob=*/**/*.{h,cpp,m,mm}",format:"npm run prettier && npm run clang-format",prettier:"prettier --write \"./**/*.{js,md,yml}\"","format-check":"prettier --list-different \"./**/*.{js,md,yml}\"","update-lock":"npx yarn-deduplicate","docker-setup-android":"docker pull reactnativecommunity/react-native-android:5.2","docker-build-android":"docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .","test-android-run-instrumentation":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh","test-android-run-unit":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh","test-android-run-e2e":"docker run --privileged -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh --android --js","test-android-all":"yarn run docker-build-android && yarn run test-android-run-unit && yarn run test-android-run-instrumentation && yarn run test-android-run-e2e","test-android-instrumentation":"yarn run docker-build-android && yarn run test-android-run-instrumentation","test-android-unit":"yarn run docker-build-android && yarn run test-android-run-unit","test-android-e2e":"yarn run docker-build-android && yarn run test-android-run-e2e","test-ios":"./scripts/objc-test.sh test"},peerDependencies:{react:"18.0.0"},dependencies:{"@jest/create-cache-key-function":"^27.0.1","@react-native-community/cli":"^8.0.4","@react-native-community/cli-platform-android":"^8.0.4","@react-native-community/cli-platform-ios":"^8.0.4","@react-native/assets":"1.0.0","@react-native/normalize-color":"2.0.0","@react-native/polyfills":"2.0.0","abort-controller":"^3.0.0",anser:"^1.4.9","base64-js":"^1.1.2","event-target-shim":"^5.0.1","hermes-engine":"~0.11.0",invariant:"^2.2.4","jsc-android":"^250230.2.1","memoize-one":"^5.0.0","metro-react-native-babel-transformer":"0.70.3","metro-runtime":"0.70.3","metro-source-map":"0.70.3",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.0.3","react-devtools-core":"4.24.0","react-native-gradle-plugin":"^0.0.7","react-refresh":"^0.4.0","react-shallow-renderer":"16.15.0","regenerator-runtime":"^0.13.2",scheduler:"^0.21.0","stacktrace-parser":"^0.1.3","use-sync-external-store":"^1.0.0","whatwg-fetch":"^3.0.0",ws:"^6.1.4","react-native-codegen":"^0.69.1"},devDependencies:{"flow-bin":"^0.176.3",react:"18.0.0","react-test-renderer":"18.0.0","@babel/core":"^7.14.0","@babel/generator":"^7.14.0","@babel/plugin-transform-regenerator":"^7.0.0","@react-native-community/eslint-plugin":"*","@react-native/eslint-plugin-specs":">0.0.2","@reactions/component":"^2.0.2",async:"^3.2.2","babel-eslint":"^10.1.0","clang-format":"^1.2.4",connect:"^3.6.5",coveralls:"^3.1.1",eslint:"^7.32.0","eslint-config-fb-strict":"^26.0.0","eslint-config-fbjs":"^3.1.1","eslint-config-prettier":"^8.3.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^7.0.0","eslint-plugin-jest":"^25.2.4","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.26.1","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-react-native":"^3.11.0","eslint-plugin-relay":"^1.8.2",inquirer:"^7.1.0",jest:"^26.6.3","jest-junit":"^10.0.0",jscodeshift:"^0.13.1","metro-babel-register":"0.70.3",mkdirp:"^0.5.1",prettier:"^2.4.1",shelljs:"^0.8.5",signedsource:"^1.0.0",ws:"^6.1.4",yargs:"^15.3.1"},codegenConfig:{libraries:[{name:"FBReactNativeSpec",type:"modules",ios:{},android:{},jsSrcsDir:"Libraries"},{name:"rncore",type:"components",ios:{},android:{},jsSrcsDir:"Libraries"}]}}},384,[]);
390
+ __d(function(e,r,t,i,s,n,a){s.exports={name:"react-native",version:"0.69.5",bin:"./cli.js",description:"A framework for building native apps using React",license:"MIT",repository:"github:facebook/react-native",engines:{node:">=14"},"jest-junit":{outputDirectory:"reports/junit",outputName:"js-test-results.xml"},files:["!template/node_modules","!template/package-lock.json","!template/yarn.lock","android","cli.js","flow","flow-typed","index.js","interface.js","jest-preset.js","jest","Libraries","LICENSE","local-cli","React-Core.podspec","react-native.config.js","react.gradle","React.podspec","React","ReactAndroid","ReactCommon","README.md","rn-get-polyfills.js","scripts/compose-source-maps.js","scripts/find-node-for-xcode.sh","scripts/generate-artifacts.js","scripts/generate-provider-cli.js","scripts/generate-specs-cli.js","scripts/codegen/codegen-utils.js","scripts/codegen/generate-artifacts-executor.js","scripts/codegen/generate-specs-cli-executor.js","scripts/hermes/hermes-utils.js","scripts/hermes/prepare-hermes-for-build.js","scripts/ios-configure-glog.sh","scripts/xcode/with-environment.sh","scripts/launchPackager.bat","scripts/launchPackager.command","scripts/node-binary.sh","scripts/packager.sh","scripts/packager-reporter.js","scripts/react_native_pods_utils/script_phases.rb","scripts/react_native_pods_utils/script_phases.sh","scripts/react_native_pods.rb","scripts/cocoapods","scripts/react-native-xcode.sh","sdks/.hermesversion","sdks/hermes-engine","sdks/hermesc","template.config.js","template","third-party-podspecs"],scripts:{start:"react-native start",test:"jest","test-ci":"jest --maxWorkers=2 --ci --reporters=\"default\" --reporters=\"jest-junit\"",flow:"flow","flow-check-ios":"flow check","flow-check-android":"flow check --flowconfig-name .flowconfig.android",lint:"eslint .","lint-ci":"./scripts/circleci/analyze_code.sh && yarn shellcheck","lint-java":"node ./scripts/lint-java.js",shellcheck:"./scripts/circleci/analyze_scripts.sh","clang-format":"clang-format -i --glob=*/**/*.{h,cpp,m,mm}",format:"npm run prettier && npm run clang-format",prettier:"prettier --write \"./**/*.{js,md,yml}\"","format-check":"prettier --list-different \"./**/*.{js,md,yml}\"","update-lock":"npx yarn-deduplicate","docker-setup-android":"docker pull reactnativecommunity/react-native-android:5.2","docker-build-android":"docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .","test-android-run-instrumentation":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh","test-android-run-unit":"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh","test-android-run-e2e":"docker run --privileged -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh --android --js","test-android-all":"yarn run docker-build-android && yarn run test-android-run-unit && yarn run test-android-run-instrumentation && yarn run test-android-run-e2e","test-android-instrumentation":"yarn run docker-build-android && yarn run test-android-run-instrumentation","test-android-unit":"yarn run docker-build-android && yarn run test-android-run-unit","test-android-e2e":"yarn run docker-build-android && yarn run test-android-run-e2e","test-ios":"./scripts/objc-test.sh test"},peerDependencies:{react:"18.0.0"},dependencies:{"@jest/create-cache-key-function":"^27.0.1","@react-native-community/cli":"^8.0.4","@react-native-community/cli-platform-android":"^8.0.4","@react-native-community/cli-platform-ios":"^8.0.4","@react-native/assets":"1.0.0","@react-native/normalize-color":"2.0.0","@react-native/polyfills":"2.0.0","abort-controller":"^3.0.0",anser:"^1.4.9","base64-js":"^1.1.2","event-target-shim":"^5.0.1","hermes-engine":"~0.11.0",invariant:"^2.2.4","jsc-android":"^250230.2.1","memoize-one":"^5.0.0","metro-react-native-babel-transformer":"0.70.3","metro-runtime":"0.70.3","metro-source-map":"0.70.3",mkdirp:"^0.5.1",nullthrows:"^1.1.1","pretty-format":"^26.5.2",promise:"^8.0.3","react-devtools-core":"4.24.0","react-native-gradle-plugin":"^0.0.7","react-refresh":"^0.4.0","react-shallow-renderer":"16.15.0","regenerator-runtime":"^0.13.2",scheduler:"^0.21.0","stacktrace-parser":"^0.1.3","use-sync-external-store":"^1.0.0","whatwg-fetch":"^3.0.0",ws:"^6.1.4","react-native-codegen":"^0.69.2"},devDependencies:{"flow-bin":"^0.176.3",react:"18.0.0","react-test-renderer":"18.0.0","@babel/core":"^7.14.0","@babel/generator":"^7.14.0","@babel/plugin-transform-regenerator":"^7.0.0","@react-native-community/eslint-plugin":"*","@react-native/eslint-plugin-specs":">0.0.2","@reactions/component":"^2.0.2",async:"^3.2.2","babel-eslint":"^10.1.0","clang-format":"^1.2.4",connect:"^3.6.5",coveralls:"^3.1.1",eslint:"^7.32.0","eslint-config-fb-strict":"^26.0.0","eslint-config-fbjs":"^3.1.1","eslint-config-prettier":"^8.3.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-flowtype":"^7.0.0","eslint-plugin-jest":"^25.2.4","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^4.0.0","eslint-plugin-react":"^7.26.1","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-react-native":"^3.11.0","eslint-plugin-relay":"^1.8.2",inquirer:"^7.1.0",jest:"^26.6.3","jest-junit":"^10.0.0",jscodeshift:"^0.13.1","metro-babel-register":"0.70.3",mkdirp:"^0.5.1",prettier:"^2.4.1",shelljs:"^0.8.5",signedsource:"^1.0.0",ws:"^6.1.4",yargs:"^15.3.1"},codegenConfig:{libraries:[{name:"FBReactNativeSpec",type:"modules",ios:{},android:{},jsSrcsDir:"Libraries"},{name:"rncore",type:"components",ios:{},android:{},jsSrcsDir:"Libraries"}]}}},384,[]);
391
391
  __d(function(g,r,i,a,m,e,d){function t(n){if("function"!=typeof WeakMap)return null;var o=new WeakMap,u=new WeakMap;return(t=function(t){return t?u:o})(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(function(n,o){if(!o&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=t(o);if(u&&u.has(n))return u.get(n);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in n)if("default"!==l&&Object.prototype.hasOwnProperty.call(n,l)){var p=c?Object.getOwnPropertyDescriptor(n,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=n[l]}f.default=n,u&&u.set(n,f);return f})(r(d[0])).createContext(void 0);e.default=n},385,[164]);
392
392
  __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=n.useContext(o.default);if(void 0===t)throw new Error("Couldn't find values for transition progress. Are you inside a screen in Native Stack?");return t};var n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f);return f})(r(d[1])),o=t(r(d[2]));function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}},386,[6,164,385]);
393
393
  __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.executeNativeBackPress=function(){return t.BackHandler.exitApp(),!0},e.isSearchBarAvailableForCurrentPlatform=void 0;var t=r(d[0]),o=['ios','android'].includes(t.Platform.OS);e.isSearchBarAvailableForCurrentPlatform=o},387,[2]);
394
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.App=function(n){return(0,h.jsx)(c.LoadInitialData,{loader:(0,h.jsx)(s.Splash,{}),children:(0,h.jsx)(u.AppProviders,{children:(0,h.jsxs)(b.Navigator,{initialRouteName:"Main",mode:"modal",children:[(0,h.jsx)(b.Screen,{name:"Main",component:y,options:{headerShown:!1}}),(0,h.jsx)(b.Screen,{name:"User Profile",component:S.UserProfileScreen,options:{headerShown:!1}}),(0,h.jsx)(b.Screen,{name:"Crash Report",component:p.CrashReportScreen})]})})})};var n=r(d[0]),t=r(d[1]),o=r(d[2]),c=((function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var o=v(t);if(o&&o.has(n))return o.get(n);var c={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in n)if("default"!==u&&Object.prototype.hasOwnProperty.call(n,u)){var p=s?Object.getOwnPropertyDescriptor(n,u):null;p&&(p.get||p.set)?Object.defineProperty(c,u,p):c[u]=n[u]}c.default=n,o&&o.set(n,c)})(r(d[3])),r(d[4])),s=r(d[5]),u=r(d[6]),p=r(d[7]),f=r(d[8]),l=r(d[9]),j=(r(d[10]),r(d[11])),S=r(d[12]),h=r(d[13]);function v(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(n){return n?o:t})(n)}var x=(0,n.createBottomTabNavigator)(),b=(0,t.createStackNavigator)();var y=function(){return(0,h.jsxs)(x.Navigator,{screenOptions:{tabBarHideOnKeyboard:!0},children:[(0,h.jsx)(x.Screen,{name:"Home",component:l.HomeScreen,options:{headerShown:!1,tabBarIcon:function(n){var t=n.focused;return(0,h.jsx)(o.HomeFilledIcon,{focused:t})}}}),(0,h.jsx)(x.Screen,{name:"Extensions",component:f.ExtensionsStack,options:{headerShown:!1,tabBarIcon:function(n){var t=n.focused;return(0,h.jsx)(o.ExtensionsFilledIcon,{focused:t})}}}),(0,h.jsx)(x.Screen,{name:"Settings",component:j.SettingsScreen,options:{headerShown:!1,tabBarIcon:function(n){var t=n.focused;return(0,h.jsx)(o.SettingsFilledIcon,{focused:t})}}}),!1]})}},388,[389,527,841,164,1232,1341,1342,1363,1364,1381,1386,1387,1388,184]);
394
+ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.App=function(n){return(0,h.jsx)(c.LoadInitialData,{loader:(0,h.jsx)(s.Splash,{}),children:(0,h.jsx)(u.AppProviders,{children:(0,h.jsxs)(b.Navigator,{initialRouteName:"Main",mode:"modal",children:[(0,h.jsx)(b.Screen,{name:"Main",component:y,options:{headerShown:!1}}),(0,h.jsx)(b.Screen,{name:"User Profile",component:S.UserProfileScreen,options:{headerShown:!1}}),(0,h.jsx)(b.Screen,{name:"Crash Report",component:p.CrashReportScreen})]})})})};var n=r(d[0]),t=r(d[1]),o=r(d[2]),c=((function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var o=v(t);if(o&&o.has(n))return o.get(n);var c={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in n)if("default"!==u&&Object.prototype.hasOwnProperty.call(n,u)){var p=s?Object.getOwnPropertyDescriptor(n,u):null;p&&(p.get||p.set)?Object.defineProperty(c,u,p):c[u]=n[u]}c.default=n,o&&o.set(n,c)})(r(d[3])),r(d[4])),s=r(d[5]),u=r(d[6]),p=r(d[7]),f=r(d[8]),l=r(d[9]),j=(r(d[10]),r(d[11])),S=r(d[12]),h=r(d[13]);function v(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(n){return n?o:t})(n)}var x=(0,n.createBottomTabNavigator)(),b=(0,t.createStackNavigator)();var y=function(){return(0,h.jsxs)(x.Navigator,{screenOptions:{tabBarHideOnKeyboard:!0},children:[(0,h.jsx)(x.Screen,{name:"Home",component:l.HomeScreen,options:{headerShown:!1,tabBarIcon:function(n){var t=n.focused;return(0,h.jsx)(o.HomeFilledIcon,{focused:t})}}}),(0,h.jsx)(x.Screen,{name:"Extensions",component:f.ExtensionsStack,options:{headerShown:!1,tabBarIcon:function(n){var t=n.focused;return(0,h.jsx)(o.ExtensionsFilledIcon,{focused:t})}}}),(0,h.jsx)(x.Screen,{name:"Settings",component:j.SettingsScreen,options:{headerShown:!1,tabBarIcon:function(n){var t=n.focused;return(0,h.jsx)(o.SettingsFilledIcon,{focused:t})}}}),!1]})}},388,[389,527,841,164,1232,1341,1342,1363,1364,1382,1387,1388,1389,184]);
395
395
  __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BottomTabBar",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"BottomTabBarHeightContext",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"BottomTabView",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"createBottomTabNavigator",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"useBottomTabBarHeight",{enumerable:!0,get:function(){return b.default}});var n=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),f=t(r(d[4])),b=t(r(d[5]))},389,[6,390,511,476,510,526]);
396
396
  __d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),i=r(d[3]),c=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=p(n);if(o&&o.has(t))return o.get(t);var i={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=c?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(i,l,s):i[l]=t[l]}i.default=t,o&&o.set(t,i)})(r(d[4])),t(r(d[5]))),l=t(r(d[6])),s=r(d[7]),b=["initialRouteName","backBehavior","children","screenListeners","screenOptions","sceneContainerStyle"],u=["lazy","tabBarOptions"];function p(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(p=function(t){return t?o:n})(t)}function f(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function y(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?f(Object(i),!0).forEach(function(o){(0,n.default)(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}var v=(0,i.createNavigatorFactory)(function(t){var n,p=t.initialRouteName,f=t.backBehavior,v=t.children,O=t.screenListeners,B=t.screenOptions,j=t.sceneContainerStyle,h=(0,o.default)(t,b),S=h.lazy,w=h.tabBarOptions,P=(0,o.default)(h,u),k={};w&&(Object.assign(k,{tabBarHideOnKeyboard:w.keyboardHidesTabBar,tabBarActiveTintColor:w.activeTintColor,tabBarInactiveTintColor:w.inactiveTintColor,tabBarActiveBackgroundColor:w.activeBackgroundColor,tabBarInactiveBackgroundColor:w.inactiveBackgroundColor,tabBarAllowFontScaling:w.allowFontScaling,tabBarShowLabel:w.showLabel,tabBarLabelStyle:w.labelStyle,tabBarIconStyle:w.iconStyle,tabBarItemStyle:w.tabStyle,tabBarLabelPosition:null!=(n=w.labelPosition)?n:!1===w.adaptive?'below-icon':void 0,tabBarStyle:[{display:w.tabBarVisible?'none':'flex'},k.tabBarStyle]}),Object.keys(k).forEach(function(t){void 0===k[t]&&delete k[t]}),(0,c.default)(w,"Bottom Tab Navigator: 'tabBarOptions' is deprecated. Migrate the options to 'screenOptions' instead.\n\nPlace the following in 'screenOptions' in your code to keep current behavior:\n\n"+JSON.stringify(k,null,2)+"\n\nSee https://reactnavigation.org/docs/bottom-tab-navigator#options for more details.")),'boolean'==typeof S&&(k.lazy=S,(0,c.default)(!0,"Bottom Tab Navigator: 'lazy' in props is deprecated. Move it to 'screenOptions' instead.\n\nSee https://reactnavigation.org/docs/bottom-tab-navigator/#lazy for more details."));var C=(0,i.useNavigationBuilder)(i.TabRouter,{initialRouteName:p,backBehavior:f,children:v,screenListeners:O,screenOptions:B,defaultScreenOptions:k}),N=C.state,T=C.descriptors,L=C.navigation,M=C.NavigationContent;return(0,s.jsx)(M,{children:(0,s.jsx)(l.default,y(y({},P),{},{state:N,navigation:L,descriptors:T,sceneContainerStyle:j}))})});e.default=v},390,[6,31,97,391,164,475,476,184]);
397
397
  __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={NavigationContainer:!0,useBackButton:!0,useScrollToTop:!0,DefaultTheme:!0,DarkTheme:!0,ThemeProvider:!0,useTheme:!0,Link:!0,useLinking:!0,useLinkTo:!0,useLinkProps:!0,useLinkBuilder:!0,ServerContainer:!0};Object.defineProperty(e,"DarkTheme",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"DefaultTheme",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Link",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"NavigationContainer",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ServerContainer",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"ThemeProvider",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"useBackButton",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"useLinkBuilder",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"useLinkProps",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"useLinkTo",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"useLinking",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"useScrollToTop",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"useTheme",{enumerable:!0,get:function(){return s.default}});var u=r(d[1]);Object.keys(u).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===u[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))});var o=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),l=t(r(d[5])),b=t(r(d[6])),p=t(r(d[7])),s=t(r(d[8])),y=t(r(d[9])),O=t(r(d[10])),P=t(r(d[11])),j=t(r(d[12])),k=t(r(d[13])),T=t(r(d[14])),h=r(d[15]);Object.keys(h).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||t in e&&e[t]===h[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}}))})},391,[6,392,455,464,465,458,466,456,467,468,461,470,469,471,472,474]);
@@ -1335,7 +1335,7 @@ __d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);m.exports=function(t){ret
1335
1335
  __d(function(g,r,i,a,m,e,d){m.exports='object'==typeof self?self.FormData:window.FormData},1329,[]);
1336
1336
  __d(function(g,r,i,a,m,_e,_d){"use strict";var t,e=this&&this.__extends||(t=function(e,o){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(e,o)},function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)});Object.defineProperty(_e,"__esModule",{value:!0}),_e.ClientError=void 0;var o=(function(t){function o(e,n){var s=this,c=o.extractMessage(e)+": "+JSON.stringify({response:e,request:n});return s=t.call(this,c)||this,Object.setPrototypeOf(s,o.prototype),s.response=e,s.request=n,'function'==typeof Error.captureStackTrace&&Error.captureStackTrace(s,o),s}return e(o,t),o.extractMessage=function(t){try{return t.errors[0].message}catch(e){return"GraphQL Error (Code: "+t.status+")"}},o})(Error);_e.ClientError=o},1330,[]);
1337
1337
  __d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.apiEndpoint=e.apiClient=void 0,e.restClient=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=u(u({method:o.body?'POST':'GET'},o),{},{headers:u(u({},l),o.headers)});null!=o.body&&(i.body=JSON.stringify(body));return fetch("https://exp.host/--/api/v2"+t,i).then((p=(0,n.default)(function*(t){if(t.ok)return yield t.json();var n=yield t.text();return Promise.reject(new Error(n))}),function(t){return p.apply(this,arguments)}));var p},e.restEndpoint=void 0,e.setSessionAsync=function(t){return y.apply(this,arguments)},e.websiteOrigin=void 0;var n=t(r(d[1])),o=t(r(d[2])),i=r(d[3]),p=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=s(n);if(o&&o.has(t))return o.get(t);var i={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var u=p?Object.getOwnPropertyDescriptor(t,c):null;u&&(u.get||u.set)?Object.defineProperty(i,c,u):i[c]=t[c]}i.default=t,o&&o.set(t,i);return i})(r(d[4]));function s(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(s=function(t){return t?o:n})(t)}function c(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function u(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?c(Object(i),!0).forEach(function(n){(0,o.default)(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}e.apiEndpoint="https://exp.host/--/graphql";e.websiteOrigin='https://expo.dev';e.restEndpoint="https://exp.host/--/api/v2";var f=new i.GraphQLClient("https://exp.host/--/graphql");e.apiClient=f;var l={'content-type':'application/json'};function y(){return(y=(0,n.default)(function*(t){yield p.setSessionAsync(t),f.setHeader('expo-session',t),l['expo-session']=t})).apply(this,arguments)}},1331,[6,272,31,1313,1332]);
1338
- __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getAuthSchemeAsync=function(){return b.apply(this,arguments)},e.openAuthSessionAsync=function(n,t){return S.apply(this,arguments)},e.restoreSessionAsync=function(){return L.apply(this,arguments)},e.setSessionAsync=function(n){return E.apply(this,arguments)};var t=n(r(d[1])),s=r(d[2]),u=s.NativeModules.EXDevLauncherAuth,o=null,l=null,c=null!==s.AppState.currentState;function h(n){c?'active'===n&&l&&l():c=!0}function p(){if(!o)throw new Error("The WebBrowser auth session is in an invalid state with no redirect handler when one should be set");s.Linking.removeEventListener('url',o),o=null}function f(n){return y.apply(this,arguments)}function y(){return(y=(0,t.default)(function*(n){var t,o=new Promise(function(n){l=n,s.AppState.addEventListener('change',h)});yield u.openWebBrowserAsync(n);return yield o,t={type:'dismiss'},s.AppState.removeEventListener('change',h),l=null,t})).apply(this,arguments)}function A(n){return new Promise(function(t){o=function(s){s.url.startsWith(n)&&t({url:s.url,type:'success'})},s.Linking.addEventListener('url',o)})}function v(n,t){return w.apply(this,arguments)}function w(){return(w=(0,t.default)(function*(n,t){if(o)throw new Error("The WebBrowser's auth session is in an invalid state with a redirect handler set when it should not be");if(l)throw new Error("WebBrowser is already open, only one can be open at a time");try{return yield Promise.race([f(n),A(t)])}finally{p()}})).apply(this,arguments)}function S(){return(S=(0,t.default)(function*(n,t){return u.openAuthSessionAsync?yield u.openAuthSessionAsync(n,t):yield v(n,t)})).apply(this,arguments)}function b(){return(b=(0,t.default)(function*(){return'android'===s.Platform.OS?'expo-dev-launcher':yield u.getAuthSchemeAsync()})).apply(this,arguments)}function E(){return(E=(0,t.default)(function*(n){return yield u.setSessionAsync(n)})).apply(this,arguments)}function L(){return(L=(0,t.default)(function*(){return yield u.restoreSessionAsync()})).apply(this,arguments)}},1332,[6,272,2]);
1338
+ __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getAuthSchemeAsync=function(){return E.apply(this,arguments)},e.openAuthSessionAsync=function(n,t){return b.apply(this,arguments)},e.restoreSessionAsync=function(){return W.apply(this,arguments)},e.setSessionAsync=function(n){return P.apply(this,arguments)};var t=n(r(d[1])),u=r(d[2]),s=u.NativeModules.EXDevLauncherAuth,o=null,l=null,c=null,h=null!==u.AppState.currentState;function p(n){h?'active'===n&&c&&c():h=!0}function f(){if(!l)throw new Error("The WebBrowser auth session is in an invalid state with no redirect handler when one should be set");l.remove(),l=null}function y(n){return A.apply(this,arguments)}function A(){return(A=(0,t.default)(function*(n){var t,l=new Promise(function(n){c=n,o=u.AppState.addEventListener('change',p)});yield s.openWebBrowserAsync(n);return yield l,t={type:'dismiss'},null!=o&&(o.remove(),o=null),c=null,t})).apply(this,arguments)}function w(n){return new Promise(function(t){l=u.Linking.addEventListener('url',function(u){u.url.startsWith(n)&&t({url:u.url,type:'success'})})})}function v(n,t){return S.apply(this,arguments)}function S(){return(S=(0,t.default)(function*(n,t){if(l)throw new Error("The WebBrowser's auth session is in an invalid state with a redirect handler set when it should not be");if(c)throw new Error("WebBrowser is already open, only one can be open at a time");try{return yield Promise.race([y(n),w(t)])}finally{f()}})).apply(this,arguments)}function b(){return(b=(0,t.default)(function*(n,t){return s.openAuthSessionAsync?yield s.openAuthSessionAsync(n,t):yield v(n,t)})).apply(this,arguments)}function E(){return(E=(0,t.default)(function*(){return'android'===u.Platform.OS?'expo-dev-launcher':yield s.getAuthSchemeAsync()})).apply(this,arguments)}function P(){return(P=(0,t.default)(function*(n){return yield s.setSessionAsync(n)})).apply(this,arguments)}function W(){return(W=(0,t.default)(function*(){return yield s.restoreSessionAsync()})).apply(this,arguments)}},1332,[6,272,2]);
1339
1339
  __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Toasts=void 0;var n=r(d[0]),t=((function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var l=o(t);if(l&&l.has(n))return l.get(n);var c={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in n)if("default"!==u&&Object.prototype.hasOwnProperty.call(n,u)){var f=s?Object.getOwnPropertyDescriptor(n,u):null;f&&(f.get||f.set)?Object.defineProperty(c,u,f):c[u]=n[u]}c.default=n,l&&l.set(n,c)})(r(d[1])),r(d[2]));function o(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(o=function(n){return n?l:t})(n)}var l={Error:function(o){var l=o.children;return(0,t.jsx)(n.View,{mx:"large",children:(0,t.jsx)(n.View,{bg:"error",padding:"medium",rounded:"medium",border:"error",children:(0,t.jsx)(n.View,{children:(0,t.jsx)(n.Text,{color:"error",numberOfLines:4,children:l})})})})},Warning:function(o){var l=o.children;return(0,t.jsx)(n.View,{mx:"large",children:(0,t.jsxs)(n.View,{bg:"warning",padding:"medium",rounded:"medium",border:"warning",children:[(0,t.jsxs)(n.Row,{align:"center",children:[(0,t.jsx)(n.WarningIcon,{}),(0,t.jsx)(n.Spacer.Horizontal,{size:"tiny"}),(0,t.jsx)(n.Heading,{color:"warning",size:"small",style:{top:1},children:"Warning"})]}),(0,t.jsx)(n.Spacer.Vertical,{size:"small"}),(0,t.jsx)(n.View,{children:(0,t.jsx)(n.Text,{size:"small",color:"warning",children:l})})]})})},Info:function(o){var l=o.children;return(0,t.jsx)(n.View,{mx:"large",children:(0,t.jsx)(n.View,{bg:"default",padding:"medium",rounded:"medium",border:"default",children:(0,t.jsx)(n.View,{children:(0,t.jsx)(n.Text,{color:"default",children:l})})})})}};e.Toasts=l},1333,[841,164,184]);
1340
1340
  __d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.ToastStackProvider=function(t){var n=t.children,o=i.useRef((0,c.createAsyncStack)()).current,u=(0,c.useStackItems)(o);return(0,l.jsxs)(O.Provider,{value:{push:function(t,n){return o.push({element:t,toastProps:n})},pop:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return o.pop(t)},getItems:function(){return o.getState().items}},children:[n,(0,l.jsx)(s.Animated.View,{pointerEvents:"box-none",style:[s.StyleSheet.absoluteFill],children:u.map(function(t){return(0,l.jsx)(b,v({},t))})})]})},e.useToastStack=void 0;var n=t(r(d[1])),o=t(r(d[2])),u=r(d[3]),i=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=p(n);if(o&&o.has(t))return o.get(t);var u={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var c=i?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(u,s,c):u[s]=t[s]}u.default=t,o&&o.set(t,u);return u})(r(d[4])),s=r(d[5]),c=r(d[6]),l=r(d[7]);function p(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(p=function(t){return t?o:n})(t)}function f(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function v(t){for(var n=1;n<arguments.length;n++){var u=null!=arguments[n]?arguments[n]:{};n%2?f(Object(u),!0).forEach(function(n){(0,o.default)(t,n,u[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(u)):f(Object(u)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(u,n))})}return t}var y=100,O=i.createContext(null);function b(t){var o=t.status,c=t.data,p=t.onPopEnd,f=t.onPushEnd,O=t.pop,b=t.animatedValue,j=c.toastProps,h=c.element,P=(0,s.useWindowDimensions)().height,w=i.useState(null),S=(0,n.default)(w,2),k=S[0],x=S[1],D=i.useRef(null);i.useEffect(function(){return'pushing'===o&&s.Animated.spring(b,{toValue:1,useNativeDriver:!0}).start(f),'popping'===o&&s.Animated.spring(b,{toValue:2,useNativeDriver:!0}).start(function(){p(),null!=D.current&&(clearTimeout(D.current),D.current=null)}),'settled'===o&&(D.current=setTimeout(function(){O(),D.current=null},(null==j?void 0:j.durationMs)||2e3)),function(){null!=D.current&&clearTimeout(D.current)}},[o,O,null==j?void 0:j.durationMs]);var E=y;null!=k&&(E+=k.height);var T=b.interpolate({inputRange:[0,1,2],outputRange:[P,P-E,P-E]}),M=b.interpolate({inputRange:[0,1,2],outputRange:[1,1,0]}),R='popping'===o||'popped'===o;return(0,l.jsx)(s.Animated.View,{onLayout:function(t){var n=t.nativeEvent.layout;return x(n)},pointerEvents:R?'none':'box-none',style:[{position:'absolute',left:0,right:0,opacity:M,transform:[{translateY:T}]}],children:(0,l.jsx)(u.Button.ScaleOnPressContainer,{onPress:O,children:(0,l.jsx)(h,v({},t))})})}e.useToastStack=function(){var t=i.useContext(O);if(!t)throw new Error("useToastStack() was called outside of a <ToastStackContext /> provider");return t}},1334,[6,42,31,841,164,2,1335,184]);
1341
1341
  __d(function(g,r,_i2,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.createAsyncStack=function(){var t=[],n={},u=0,o={},s={},f=[];function p(t){var u=n[t];if('pushing'===u.status){u.status='settled';var i=o[t];i&&(i(h(t)),delete o[t]),l('pushend',t)}return u}function c(){var u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,i=[];if('string'==typeof u){var o=u,f=n[o];if(f){'pushing'===f.status&&p(o),f.status='popping';var c=new Promise(function(t){s[o]=t});f.promise=c,l('popstart',o),i.push(f)}return i}-1===u&&(u=t.length);for(var v=t.length-1,h=t.length-1;h>=0;h--){var y=t[h],b=n[y];if(b&&('settled'===b.status||'pushing'===b.status)){v=h;break}}for(var P=function(u){var o=t[u],f=n[o];if(f){'pushing'===f.status&&p(o),f.status='popping';var c=new Promise(function(t){s[o]=t});f.promise=c,l('popstart',o),i.push(f)}},w=v;w>v-u;w--)P(w);return i}function v(u){var i=n[u];t=t.filter(function(t){return t!==u});var o=s[u];return o&&(o(h(u)),delete s[u]),i.status='popped',l('popend',u),i}function l(t,n){f.forEach(function(u){var i=y(),o={key:n,action:t};u({state:i,event:o})})}function h(t){return n[t]}function y(){var u=t.map(function(t){return n[t]});return{items:u,lookup:n,getItemByKey:h}}return{push:function(s){var f=''+(u+=1);t.push(f);var h=new Promise(function(t){o[f]=t}),y={key:f,promise:h,data:s,status:'pushing',pop:function(){return c(""+f)},onPushEnd:function(){return p(f)},onPopEnd:function(){return v(f)},animatedValue:new i.Animated.Value(0)};s&&(y.data=s);return n[f]=y,l('pushstart',f),y},pop:c,subscribe:function(t){return f.push(t),function(){f=f.filter(function(n){return n!==t})}},getState:y}},e.useStackItems=function(t){var i=u.useState(t.getState().items),o=(0,n.default)(i,2),s=o[0],f=o[1];return u.useEffect(function(){var n=t.subscribe(function(t){var n=t.state;f(n.items)});return function(){return n()}},[]),s};var n=t(r(d[1])),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var i={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var p=s?Object.getOwnPropertyDescriptor(t,f):null;p&&(p.get||p.set)?Object.defineProperty(i,f,p):i[f]=t[f]}i.default=t,u&&u.set(t,i);return i})(r(d[2])),i=r(d[3]);function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}new i.Animated.Value(0)},1335,[6,42,164,2]);
@@ -1367,8 +1367,8 @@ __d(function(g,r,i,_a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",
1367
1367
  __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BaseModal=function(o){var u=o.children,c=o.title,s=(0,t.useModalStack)();return(0,l.jsxs)(n.View,{bg:"default",rounded:"large",shadow:"medium",mx:"small",children:[(0,l.jsx)(n.View,{padding:"medium",children:(0,l.jsxs)(n.Row,{align:"center",bg:"default",children:[(0,l.jsx)(n.View,{children:(0,l.jsx)(n.Heading,{children:c})}),(0,l.jsx)(n.Spacer.Horizontal,{}),(0,l.jsx)(n.View,{style:{transform:[{translateX:6},{translateY:-3}]},children:(0,l.jsx)(n.Button.ScaleOnPressContainer,{bg:"default",rounded:"full",onPress:function(){s.pop()},minScale:.85,children:(0,l.jsx)(n.View,{padding:"tiny",rounded:"full",bg:"default",children:(0,l.jsx)(n.XIcon,{})})})})]})}),(0,l.jsx)(n.Divider,{}),(0,l.jsx)(n.View,{padding:"medium",children:u})]})};var n=r(d[0]),t=((function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var l=o(t);if(l&&l.has(n))return l.get(n);var u={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in n)if("default"!==s&&Object.prototype.hasOwnProperty.call(n,s)){var f=c?Object.getOwnPropertyDescriptor(n,s):null;f&&(f.get||f.set)?Object.defineProperty(u,s,f):u[s]=n[s]}u.default=n,l&&l.set(n,u)})(r(d[1])),r(d[2])),l=r(d[3]);function o(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(o=function(n){return n?l:t})(n)}},1361,[841,164,1357,184]);
1368
1368
  __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.LoadAppErrorModal=function(u){var f=u.message;return(0,o.jsx)(n.BaseModal,{title:"Error loading app",children:(0,o.jsx)(t.Text,{children:f})})};var t=r(d[0]),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in t)if("default"!==p&&Object.prototype.hasOwnProperty.call(t,p)){var c=l?Object.getOwnPropertyDescriptor(t,p):null;c&&(c.get||c.set)?Object.defineProperty(f,p,c):f[p]=t[p]}f.default=t,o&&o.set(t,f)})(r(d[1])),r(d[2])),o=r(d[3]);function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}},1362,[841,164,1361,184]);
1369
1369
  __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.CrashReportScreen=function(n){var x=n.route,j=s.useState(''),h=(0,o.default)(j,2),y=(h[0],h[1]),w=s.useState(''),v=(0,o.default)(w,2),O=v[0],V=v[1],b=(0,p.useBuildInfo)(),R=x.params,S=R.message,T=R.stack,k=R.timestamp,P=new Date(k).toUTCString(),C=s.useRef(null);s.useEffect(function(){return O&&(C.current=setTimeout(function(){V('')},3e3)),function(){clearTimeout(C.current)}},[O]);var _=(B=(0,t.default)(function*(){var n=b.runtimeVersion,t=b.sdkVersion,o=b.appName,l=b.appVersion,s=JSON.stringify({appName:o,timestamp:k,message:S,runtimeVersion:n,sdkVersion:t,appVersion:l,stack:T},null,2);y(''),V(s),yield(0,u.copyToClipboardAsync)(s).catch(function(n){y(n.message),V('')})}),function(){return B.apply(this,arguments)}),M=Boolean(O);var B;return(0,f.jsx)(c.ScrollView,{children:(0,f.jsxs)(l.View,{py:"medium",children:[(0,f.jsx)(l.View,{px:"small",children:(0,f.jsx)(l.Button.ScaleOnPressContainer,{onPress:_,disabled:M,bg:"default",roundedTop:"large",roundedBottom:"large",children:(0,f.jsx)(l.Row,{px:"medium",py:"small",align:"center",children:(0,f.jsx)(l.Text,{color:"primary",size:"large",children:M?'Copied to clipboard!':'Tap to Copy Report'})})})}),(0,f.jsx)(l.Spacer.Vertical,{size:"large"}),(0,f.jsx)(l.Row,{px:"small",align:"center",children:(0,f.jsx)(l.Heading,{color:"secondary",children:"Occured:"})}),(0,f.jsx)(l.Row,{margin:"small",children:(0,f.jsx)(l.Text,{children:P})}),(0,f.jsxs)(l.View,{children:[(0,f.jsx)(l.Row,{px:"small",children:(0,f.jsx)(l.Heading,{color:"secondary",children:"Reason:"})}),(0,f.jsx)(l.Row,{margin:"small",children:(0,f.jsx)(l.Text,{children:S})})]}),(0,f.jsxs)(l.View,{children:[(0,f.jsx)(l.Row,{px:"small",children:(0,f.jsx)(l.Heading,{color:"secondary",children:"Stack trace:"})}),(0,f.jsx)(l.Row,{px:"small",children:(0,f.jsx)(l.Text,{style:{fontSize:8},children:T})})]})]})})};var t=n(r(d[1])),o=n(r(d[2])),l=r(d[3]),s=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var o=x(t);if(o&&o.has(n))return o.get(n);var l={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var u=s?Object.getOwnPropertyDescriptor(n,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=n[c]}l.default=n,o&&o.set(n,l);return l})(r(d[4])),c=r(d[5]),u=r(d[6]),p=r(d[7]),f=r(d[8]);function x(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(n){return n?o:t})(n)}},1363,[6,272,42,841,164,2,1234,1343,184]);
1370
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ExtensionsStack=function(){return(0,s.jsxs)(p.Navigator,{headerMode:"float",children:[(0,s.jsx)(p.Screen,{name:"Extensions",component:o.ExtensionsScreen,options:{headerShown:!1}}),(0,s.jsx)(p.Screen,{name:"Branches",options:{headerTitle:'EAS Update'},component:t.BranchesScreen}),(0,s.jsx)(p.Screen,{name:"Updates",options:{headerTitle:'Branch'},component:c.UpdatesScreen})]})};var n=r(d[0]),t=r(d[1]),o=r(d[2]),c=r(d[3]),s=r(d[4]),p=(0,n.createStackNavigator)()},1364,[527,1365,1376,1379,184]);
1371
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BranchesScreen=function(j){var w=j.navigation,y=(0,h.useUpdatesConfig)().appId,B=(0,p.useUser)().isAuthenticated,P=(0,f.useBranchesForApp)(y,B),V=P.data,L=P.emptyBranches,z=P.incompatibleBranches,O=P.isLoading,M=P.isRefreshing,R=P.isFetchingNextPage,S=P.fetchNextPage,F=P.hasNextPage,U=P.refetch,E=(0,u.useOnUpdatePress)(),I=E.loadingUpdateId,T=E.onUpdatePress;return(0,x.jsx)(n.View,{flex:"1",px:"medium",children:(0,x.jsx)(o.FlatList,{isLoading:O,isRefreshing:M,onRefresh:function(){return U()},ListHeaderComponent:function(){if(V.length>0)return(0,x.jsx)(n.View,{py:"small",px:"small",children:(0,x.jsx)(n.Heading,{size:"small",color:"secondary",children:"Branches"})});return null},extraData:{length:V.length,hasNextPage:F,loadingUpdateId:I},data:V,ItemSeparatorComponent:n.Divider,renderItem:function(n){var t,l=n.index,o=n.item,c=0===l,u=l===(null==V?void 0:V.length)-1,h=I===(null==(t=o.updates[0])?void 0:t.id);return(0,x.jsx)(s.EASBranchRow,{branch:o,isFirst:c,isLast:u,isLoading:h,navigation:w,onUpdatePress:T})},keyExtractor:function(n){return null==n?void 0:n.id},ListFooterComponent:function(){var s=(0,c.getRecentRuntime)(z);return(0,x.jsxs)(n.View,{children:[V.length>0&&F&&(0,x.jsx)(n.View,{align:"centered",mt:"small",children:(0,x.jsx)(t.BasicButton,{label:"Load More",size:"small",isLoading:R,onPress:function(){return S()}})}),(0,x.jsx)(v,{branches:L,navigation:w}),0===V.length&&F&&(0,x.jsx)(n.View,{align:"centered",mt:"small",children:(0,x.jsx)(t.BasicButton,{label:"Load More",size:"small",isLoading:R,onPress:function(){return S()}})}),z.length>0&&(0,x.jsxs)(n.View,{px:"small",mt:"medium",children:[(0,x.jsx)(n.Text,{size:"small",color:"secondary",children:b(z.length)}),Boolean(null!=s)&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(n.Spacer.Vertical,{size:"small"}),(0,x.jsx)(n.Text,{size:"small",color:"secondary",children:"A recent update was published with runtime version \""+s+"\"."})]})]})]})},ListEmptyComponent:function(){if(0===L.length)return(0,x.jsxs)(n.View,{children:[(0,x.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,x.jsx)(l.EmptyBranchesMessage,{branches:V,incompatibleBranches:z})]});return null}})})},e.getIncompatibleBranchMessage=b;var n=r(d[0]),t=((function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var s=j(t);if(s&&s.has(n))return s.get(n);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var u=o?Object.getOwnPropertyDescriptor(n,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=n[c]}l.default=n,s&&s.set(n,l)})(r(d[1])),r(d[2])),s=r(d[3]),l=r(d[4]),o=r(d[5]),c=r(d[6]),u=r(d[7]),h=r(d[8]),p=r(d[9]),f=r(d[10]),x=r(d[11]);function j(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(j=function(n){return n?s:t})(n)}function v(t){var l=t.branches,o=t.navigation;return 0===l.length?null:(0,x.jsxs)(n.View,{children:[(0,x.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,x.jsx)(n.View,{py:"small",px:"small",children:(0,x.jsx)(n.Heading,{size:"small",color:"secondary",children:"Recently created branches"})}),l.slice(0,3).map(function(t,l,c){var u=0===l,h=l===(null==c?void 0:c.length)-1;return(0,x.jsxs)(n.View,{children:[(0,x.jsx)(s.EASEmptyBranchRow,{branch:t,isFirst:u,isLast:h,navigation:o}),!h&&(0,x.jsx)(n.Divider,{})]},t.id)}),(0,x.jsx)(n.Spacer.Vertical,{size:"small"})]})}function b(n){return 1===n?"There is 1 branch that is not compatible with this development build. To preview it, download or build a development client that matches its runtime version.":"There are "+n+" branches that are not compatible with this development build. To preview them, download or build a development client that matches their runtime version."}},1365,[841,164,1366,1368,1370,1372,1371,1374,1336,1349,1278,184]);
1370
+ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ExtensionsStack=function(){return(0,s.jsxs)(f.Navigator,{headerMode:"float",children:[(0,s.jsx)(f.Screen,{name:"Extensions",component:o.ExtensionsScreen,options:{headerShown:!1}}),(0,s.jsx)(f.Screen,{name:"Branches",options:{headerTitle:'EAS Update'},component:n.BranchesScreen}),(0,s.jsx)(f.Screen,{name:"Updates",options:{headerTitle:'Branch'},component:c.UpdatesScreen})]})};!(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=p(n);if(o&&o.has(t))return o.get(t);var c={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var u=s?Object.getOwnPropertyDescriptor(t,f):null;u&&(u.get||u.set)?Object.defineProperty(c,f,u):c[f]=t[f]}c.default=t,o&&o.set(t,c)})(r(d[0]));var t=r(d[1]),n=r(d[2]),o=r(d[3]),c=r(d[4]),s=r(d[5]);function p(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(p=function(t){return t?o:n})(t)}var f=(0,t.createStackNavigator)()},1364,[164,527,1365,1377,1380,184]);
1371
+ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.BranchesScreen=function(v){var y=v.navigation,B=(0,p.useUpdatesConfig)().appId,P=(0,f.useUser)().isAuthenticated,V=(0,x.useBranchesForApp)(B,P),L=V.data,z=V.emptyBranches,O=V.incompatibleBranches,M=V.isLoading,S=V.isRefreshing,R=V.isFetchingNextPage,F=V.fetchNextPage,U=V.hasNextPage,C=V.refetch,E=(0,h.useOnUpdatePress)(),I=E.loadingUpdateId,T=E.onUpdatePress;return(0,j.jsx)(c.ScreenContainer,{children:(0,j.jsx)(n.View,{flex:"1",px:"medium",children:(0,j.jsx)(o.FlatList,{isLoading:M,isRefreshing:S,onRefresh:function(){return C()},ListHeaderComponent:function(){if(L.length>0)return(0,j.jsx)(n.View,{py:"small",px:"small",children:(0,j.jsx)(n.Heading,{size:"small",color:"secondary",children:"Branches"})});return null},extraData:{length:L.length,hasNextPage:U,loadingUpdateId:I},data:L,ItemSeparatorComponent:n.Divider,renderItem:function(n){var t,l=n.index,o=n.item,c=0===l,u=l===(null==L?void 0:L.length)-1,h=I===(null==(t=o.updates[0])?void 0:t.id);return(0,j.jsx)(s.EASBranchRow,{branch:o,isFirst:c,isLast:u,isLoading:h,navigation:y,onUpdatePress:T})},keyExtractor:function(n){return null==n?void 0:n.id},ListFooterComponent:function(){var s=(0,u.getRecentRuntime)(O);return(0,j.jsxs)(n.View,{children:[L.length>0&&U&&(0,j.jsx)(n.View,{align:"centered",mt:"small",children:(0,j.jsx)(t.BasicButton,{label:"Load More",size:"small",isLoading:R,onPress:function(){return F()}})}),(0,j.jsx)(b,{branches:z,navigation:y}),0===L.length&&U&&(0,j.jsx)(n.View,{align:"centered",mt:"small",children:(0,j.jsx)(t.BasicButton,{label:"Load More",size:"small",isLoading:R,onPress:function(){return F()}})}),O.length>0&&(0,j.jsxs)(n.View,{px:"small",mt:"medium",children:[(0,j.jsx)(n.Text,{size:"small",color:"secondary",children:w(O.length)}),Boolean(null!=s)&&(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(n.Spacer.Vertical,{size:"small"}),(0,j.jsx)(n.Text,{size:"small",color:"secondary",children:"A recent update was published with runtime version \""+s+"\"."})]})]})]})},ListEmptyComponent:function(){if(0===z.length)return(0,j.jsxs)(n.View,{children:[(0,j.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(l.EmptyBranchesMessage,{branches:L,incompatibleBranches:O})]});return null}})})})},e.getIncompatibleBranchMessage=w;var n=r(d[0]),t=((function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var s=v(t);if(s&&s.has(n))return s.get(n);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var u=o?Object.getOwnPropertyDescriptor(n,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=n[c]}l.default=n,s&&s.set(n,l)})(r(d[1])),r(d[2])),s=r(d[3]),l=r(d[4]),o=r(d[5]),c=r(d[6]),u=r(d[7]),h=r(d[8]),p=r(d[9]),f=r(d[10]),x=r(d[11]),j=r(d[12]);function v(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(v=function(n){return n?s:t})(n)}function b(t){var l=t.branches,o=t.navigation;return 0===l.length?null:(0,j.jsxs)(n.View,{children:[(0,j.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(n.View,{py:"small",px:"small",children:(0,j.jsx)(n.Heading,{size:"small",color:"secondary",children:"Recently created branches"})}),l.slice(0,3).map(function(t,l,c){var u=0===l,h=l===(null==c?void 0:c.length)-1;return(0,j.jsxs)(n.View,{children:[(0,j.jsx)(s.EASEmptyBranchRow,{branch:t,isFirst:u,isLast:h,navigation:o}),!h&&(0,j.jsx)(n.Divider,{})]},t.id)}),(0,j.jsx)(n.Spacer.Vertical,{size:"small"})]})}function w(n){return 1===n?"There is 1 branch that is not compatible with this development build. To preview it, download or build a development client that matches its runtime version.":"There are "+n+" branches that are not compatible with this development build. To preview them, download or build a development client that matches their runtime version."}},1365,[841,164,1366,1368,1370,1372,1374,1371,1375,1336,1349,1278,184]);
1372
1372
  __d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.BasicButton=function(t){var n=t.label,p=t.type,f=void 0===p?'tertiary':p,O=t.size,b=void 0===O?'medium':O,h=t.children,w=t.isLoading,v=(0,i.default)(t,u);return(0,s.jsx)(o.View,{align:"start",children:(0,s.jsxs)(o.View,{children:[(0,s.jsx)(o.View,{opacity:w?'0.5':'1',children:(0,s.jsx)(o.Button.ScaleOnPressContainer,y(y({bg:f},v),{},{children:(0,s.jsx)(o.View,y(y({},j[b]),{},{children:(0,s.jsxs)(o.Row,{align:"center",style:{minHeight:o.scale.large},children:[(0,s.jsx)(o.Button.Text,{weight:"medium",color:f,size:b,children:n}),h]})}))}))}),w&&(0,s.jsx)(o.View,{style:y(y({},c.StyleSheet.absoluteFillObject),{},{justifyContent:'center',alignItems:'center'}),children:(0,s.jsx)(l.ActivityIndicator,{size:"small"})})]})})};var n=t(r(d[1])),i=t(r(d[2])),o=r(d[3]),c=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var i=p(n);if(i&&i.has(t))return i.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=c?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(o,l,s):o[l]=t[l]}o.default=t,i&&i.set(t,o)})(r(d[4])),r(d[5])),l=r(d[6]),s=r(d[7]),u=["label","type","size","children","isLoading"];function p(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,i=new WeakMap;return(p=function(t){return t?i:n})(t)}function f(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),i.push.apply(i,o)}return i}function y(t){for(var i=1;i<arguments.length;i++){var o=null!=arguments[i]?arguments[i]:{};i%2?f(Object(o),!0).forEach(function(i){(0,n.default)(t,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}var j={medium:{px:'3',py:'2'},small:{px:'2',py:'1'}}},1366,[6,31,97,841,164,2,1367,184]);
1373
1373
  __d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.ActivityIndicator=function(t){var n=i.useRef(new u.Animated.Value(0));i.useEffect(function(){u.Animated.loop(u.Animated.sequence([u.Animated.timing(n.current,{toValue:1,duration:1e3,easing:u.Easing.linear,useNativeDriver:!0})])).start()},[]);var f=n.current.interpolate({inputRange:[0,1],outputRange:['0deg','360deg']});return(0,c.jsx)(u.Animated.View,{style:{position:'absolute',transform:[{rotateZ:f}]},children:(0,c.jsx)(o.LoadingIndicatorIcon,s({},t))})};var n=t(r(d[1])),o=r(d[2]),i=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var p=u?Object.getOwnPropertyDescriptor(t,c):null;p&&(p.get||p.set)?Object.defineProperty(i,c,p):i[c]=t[c]}i.default=t,o&&o.set(t,i);return i})(r(d[3])),u=r(d[4]),c=r(d[5]);function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}function p(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function s(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?p(Object(i),!0).forEach(function(o){(0,n.default)(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}},1367,[6,31,841,164,2,184]);
1374
1374
  __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.EASBranchRow=function(n){var j=n.branch,h=n.isFirst,f=n.isLast,z=n.isLoading,y=n.onUpdatePress,w=n.navigation,V=p(z),S=(0,s.useExpoPalette)(),b=(0,l.useUpdatesConfig)().runtimeVersion,v=j.name,L=j.updates[0],R=(null==L?void 0:L.runtimeVersion)===b;return(0,u.jsxs)(t.Animated.View,{style:V,children:[(0,u.jsxs)(x.ListButton,{isFirst:h,isLast:f,onPress:function(){w.navigate('Updates',{branchName:j.name})},children:[(0,u.jsxs)(s.Row,{align:"center",children:[(0,u.jsxs)(s.Row,{shrink:"1",style:{backgroundColor:S.blue[100]},py:"tiny",px:"1.5",rounded:"medium",align:"center",children:[(0,u.jsx)(s.BranchIcon,{style:{maxHeight:10,maxWidth:12,resizeMode:'contain'},resizeMethod:"scale"}),(0,u.jsx)(s.Spacer.Horizontal,{size:"tiny"}),(0,u.jsx)(s.View,{shrink:"1",children:(0,u.jsx)(s.Text,{size:"small",numberOfLines:1,children:"Branch: "+v})})]}),(0,u.jsx)(s.Spacer.Horizontal,{}),(0,u.jsx)(s.View,{style:{paddingLeft:s.scale.small},children:(0,u.jsx)(s.ChevronRightIcon,{})})]}),(0,u.jsx)(s.Spacer.Vertical,{size:"small"}),null!=L&&(0,u.jsxs)(s.Row,{children:[(0,u.jsxs)(s.View,{children:[(0,u.jsx)(s.Spacer.Vertical,{size:"tiny"}),(0,u.jsx)(s.UpdateIcon,{})]}),(0,u.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,u.jsxs)(s.View,{flex:"1",shrink:"1",children:[(0,u.jsx)(s.Heading,{size:"small",numberOfLines:1,children:"Update \""+L.message+"\""}),(0,u.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,u.jsx)(s.Spacer.Vertical,{size:"tiny"}),(0,u.jsx)(s.Text,{size:"small",color:"secondary",children:"Published "+(null==L?void 0:L.createdAt)})]}),(0,u.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,u.jsx)(s.Spacer.Vertical,{size:"small"}),(0,u.jsx)(s.View,{align:"centered",opacity:R?'1':'0.5',children:(0,u.jsx)(o.BasicButton,{label:"Open",size:"small",onPress:function(){return y(L)}})})]}),(0,u.jsx)(s.Spacer.Vertical,{size:"small"})]}),z&&(0,u.jsx)(s.View,{inset:"full",align:"centered",children:(0,u.jsx)(c.ActivityIndicator,{})})]})},e.EASEmptyBranchRow=function(n){var t=n.branch,l=n.isFirst,c=n.isLast,o=n.navigation,j=(0,s.useExpoPalette)(),p=t.name;return(0,u.jsx)(x.ListButton,{isFirst:l,isLast:c,onPress:function(){o.navigate('Updates',{branchName:t.name})},children:(0,u.jsxs)(s.View,{children:[(0,u.jsxs)(s.Row,{align:"center",children:[(0,u.jsxs)(s.Row,{shrink:"1",style:{backgroundColor:j.blue[100]},py:"tiny",px:"1.5",rounded:"medium",align:"center",children:[(0,u.jsx)(s.BranchIcon,{style:{maxHeight:10,maxWidth:12,resizeMode:'contain'},resizeMethod:"scale"}),(0,u.jsx)(s.Spacer.Horizontal,{size:"tiny"}),(0,u.jsx)(s.View,{shrink:"1",children:(0,u.jsx)(s.Text,{size:"small",numberOfLines:1,children:"Branch: "+p})})]}),(0,u.jsx)(s.Spacer.Horizontal,{}),(0,u.jsx)(s.View,{style:{paddingLeft:s.scale.small},children:(0,u.jsx)(s.ChevronRightIcon,{})})]}),(0,u.jsx)(s.Spacer.Vertical,{size:"small"}),(0,u.jsxs)(s.Row,{children:[(0,u.jsxs)(s.View,{flex:"1",shrink:"1",children:[(0,u.jsx)(s.Heading,{size:"small",numberOfLines:1,color:"secondary",children:"No updates available."}),(0,u.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,u.jsx)(s.Spacer.Vertical,{size:"tiny"})]}),(0,u.jsx)(s.Spacer.Horizontal,{size:"large"})]})]})})},e.EASUpdateRow=function(n){var l=n.update,o=n.isFirst,j=n.isLast,h=n.isLoading,f=n.onPress,z=p(h);return(0,u.jsxs)(t.Animated.View,{style:z,children:[(0,u.jsx)(x.ListButton,{disabled:h,isFirst:o,isLast:j,onPress:f,children:(0,u.jsxs)(s.View,{children:[(0,u.jsx)(s.View,{style:{position:'absolute',right:0,top:s.scale.tiny},children:(0,u.jsx)(s.ChevronRightIcon,{})}),(0,u.jsx)(s.Spacer.Vertical,{size:"small"}),(0,u.jsxs)(s.Row,{children:[(0,u.jsxs)(s.View,{children:[(0,u.jsx)(s.Spacer.Vertical,{size:"tiny"}),(0,u.jsx)(s.UpdateIcon,{})]}),(0,u.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,u.jsxs)(s.View,{flex:"1",shrink:"1",children:[(0,u.jsx)(s.Heading,{size:"small",numberOfLines:1,children:"Update \""+l.message+"\""}),(0,u.jsx)(s.Spacer.Horizontal,{size:"large"}),(0,u.jsx)(s.Spacer.Vertical,{size:"tiny"}),(0,u.jsx)(s.Text,{size:"small",color:"secondary",children:"Published "+l.createdAt})]}),(0,u.jsx)(s.Spacer.Horizontal,{size:"large"})]}),(0,u.jsx)(s.Spacer.Vertical,{size:"small"})]})}),h&&(0,u.jsx)(s.View,{inset:"full",align:"centered",children:(0,u.jsx)(c.ActivityIndicator,{})})]})},e.useLoadingContainerStyle=p;var s=r(d[0]),n=(function(s,n){if(!n&&s&&s.__esModule)return s;if(null===s||"object"!=typeof s&&"function"!=typeof s)return{default:s};var t=j(n);if(t&&t.has(s))return t.get(s);var l={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in s)if("default"!==o&&Object.prototype.hasOwnProperty.call(s,o)){var x=c?Object.getOwnPropertyDescriptor(s,o):null;x&&(x.get||x.set)?Object.defineProperty(l,o,x):l[o]=s[o]}l.default=s,t&&t.set(s,l);return l})(r(d[1])),t=r(d[2]),l=r(d[3]),c=r(d[4]),o=r(d[5]),x=r(d[6]),u=r(d[7]);function j(s){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(j=function(s){return s?t:n})(s)}function p(){var s=arguments.length>0&&void 0!==arguments[0]&&arguments[0],l=n.useRef(new t.Animated.Value(0)).current;return n.useEffect(function(){t.Animated.spring(l,{toValue:s?1:0,useNativeDriver:!0}).start()},[s]),{opacity:l.interpolate({inputRange:[0,1],outputRange:[1,.7]}),transform:[{scale:l.interpolate({inputRange:[0,1],outputRange:[1,.975]})}]}}},1368,[841,164,2,1336,1367,1366,1369,184]);
@@ -1377,21 +1377,22 @@ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.E
1377
1377
  __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.getRecentRuntime=function(n){var t,u,l=n.find(function(n){return n.updates.length>0});return null!=(t=null==l?void 0:null==(u=l.updates)?void 0:u[0].runtimeVersion)?t:''}},1371,[]);
1378
1378
  __d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.FlatList=function(t){var n=t.isLoading,s=t.isRefreshing,p=t.onRefresh,y=(0,o.default)(t,u),b=(0,f.useThrottle)(s,800);if(n)return(0,l.jsx)(j,{});return(0,l.jsx)(i.View,{flex:"1",children:(0,l.jsx)(c.FlatList,O({style:{flex:1},refreshing:b,showsVerticalScrollIndicator:!1,contentContainerStyle:{paddingBottom:i.scale[24]},refreshControl:(0,l.jsx)(c.RefreshControl,{style:{opacity:1},refreshing:b,onRefresh:p})},y))})},e.FlatListLoader=j;var n=t(r(d[1])),o=t(r(d[2])),i=r(d[3]),c=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=p(n);if(o&&o.has(t))return o.get(t);var i={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=c?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(i,f,s):i[f]=t[f]}i.default=t,o&&o.set(t,i)})(r(d[4])),r(d[5])),f=r(d[6]),s=r(d[7]),l=r(d[8]),u=["isLoading","isRefreshing","onRefresh"];function p(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(p=function(t){return t?o:n})(t)}function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function O(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?y(Object(i),!0).forEach(function(o){(0,n.default)(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):y(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function j(){return(0,l.jsx)(i.View,{margin:"medium",height:"44",align:"centered",bg:"default",rounded:"large",children:(0,l.jsx)(s.ActivityIndicator,{})})}},1372,[6,31,97,841,164,2,1373,1367,184]);
1379
1379
  __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useDebounce=function(t,o){var f=u.useState(t),c=(0,n.default)(f,2),l=c[0],s=c[1];return u.useEffect(function(){var n=setTimeout(function(){s(t)},o);return function(){clearTimeout(n)}},[t,o]),l},e.useThrottle=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,f=u.useState(t),c=(0,n.default)(f,2),l=c[0],s=c[1],p=u.useRef(Date.now()-o);return u.useEffect(function(){if(!(Date.now()>=p.current+o)){var n=setTimeout(function(){p.current=Date.now(),s(t)},o);return function(){return clearTimeout(n)}}p.current=Date.now(),s(t)},[t,o]),l};var n=t(r(d[1])),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=o(n);if(u&&u.has(t))return u.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var s=c?Object.getOwnPropertyDescriptor(t,l):null;s&&(s.get||s.set)?Object.defineProperty(f,l,s):f[l]=t[l]}f.default=t,u&&u.set(t,f);return f})(r(d[2]));function o(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(o=function(t){return t?u:n})(t)}},1373,[6,42,164]);
1380
- __d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useOnUpdatePress=function(){var t=(0,c.useToastStack)(),v=(0,u.useNavigation)(),y=(0,l.useUpdatesConfig)(),h=y.runtimeVersion,O=y.projectUrl,P=i.useState(''),b=(0,n.default)(P,2),j=b[0],U=b[1],M=i.useCallback(function(n){var u=n.runtimeVersion===h;if(u){var i;U(n.id);var c=(0,s.formatUpdateUrl)(n.manifestPermalink,n.message),l=null==(i=v.getParent())?void 0:i.getParent();try{var y=JSON.stringify(null==l?void 0:l.getState());(0,f.saveNavigationStateAsync)(y)}catch(t){}return(0,f.loadUpdate)(c,O).catch(function(n){U(''),t.push(function(){return(0,p.jsx)(o.Toasts.Error,{children:n.message})},{durationMs:1e4})}).then(function(){return U('')})}0===t.getItems().filter(function(t){return'pushing'===t.status||'settled'===t.status}).length&&t.push(function(){return(0,p.jsx)(o.Toasts.Warning,{children:"To run this update, you need a compatible development build with runtime version "+n.runtimeVersion+"."})},{durationMs:1e4})},[h,O,t,v]);return{loadingUpdateId:j,onUpdatePress:M}};var n=t(r(d[1])),u=r(d[2]),i=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=v(n);if(u&&u.has(t))return u.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var f=o?Object.getOwnPropertyDescriptor(t,s):null;f&&(f.get||f.set)?Object.defineProperty(i,s,f):i[s]=t[s]}i.default=t,u&&u.set(t,i);return i})(r(d[3])),o=r(d[4]),s=r(d[5]),f=r(d[6]),c=r(d[7]),l=r(d[8]),p=r(d[9]);function v(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(v=function(t){return t?u:n})(t)}},1374,[6,42,391,164,1333,1375,1234,1334,1336,184]);
1381
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.formatUpdateUrl=function(n,o){var t="url="+encodeURIComponent(n),p="updateMessage="+encodeURIComponent(o);return"expo-dev-client://expo-development-client?"+t+"&"+p}},1375,[]);
1382
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ExtensionsScreen=function(c){var u=c.navigation,x=(0,f.useUser)().isAuthenticated,p=(0,f.useUserActions)(),b=(0,j.useUpdatesConfig)(),V=b.usesEASUpdates,S=b.appId,z=(0,y.useBranchesForApp)(S,x),L=z.isLoading,B=z.error,P=z.data,U=z.emptyBranches,R=z.incompatibleBranches,E=z.isRefreshing,T=z.refetch,O=(0,h.useThrottle)(E,1e3);var A=[],k=null!=B&&!L;V&&!k&&A.push('EASUpdates');return(0,w.jsxs)(n.View,{children:[(0,w.jsx)(o.AppHeader,{navigation:u}),(0,w.jsx)(t.ScrollView,{contentContainerStyle:{paddingBottom:n.scale[48]},refreshControl:null!=S?(0,w.jsx)(s.RefreshControl,{refreshing:O,onRefresh:function(){return T()}}):null,children:(0,w.jsxs)(n.View,{flex:"1",children:[0===A.length&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,w.jsxs)(n.View,{bg:"default",mx:"medium",py:"medium",px:"medium",rounded:"medium",children:[(0,w.jsx)(n.View,{align:"centered",children:(0,w.jsx)(n.ExtensionsIcon,{})}),(0,w.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,w.jsxs)(n.View,{px:"small",children:[(0,w.jsxs)(n.Text,{size:"small",align:"center",children:["Extensions allow you to customize your development build with additional capabilities.",' ',(0,w.jsx)(n.Text,{size:"small",style:{textDecorationLine:'underline'},onPress:function(){return s.Linking.openURL("https://docs.expo.dev/development/extensions/")},accessibilityRole:"link",children:"Learn more."})]}),(0,w.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,w.jsxs)(n.Text,{size:"small",align:"center",children:["If you would like to extend the display on this screen",' ',(0,w.jsx)(n.Text,{size:"small",style:{textDecorationLine:'underline'},onPress:function(){return s.Linking.openURL("https://expo.canny.io/feature-requests")},accessibilityRole:"link",children:"let us know about your use case"})]})]})]})]}),V&&x&&!k&&(0,w.jsxs)(n.View,{children:[(0,w.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(v,{navigation:u,isLoading:L,branches:P,emptyBranches:U,incompatibleBranches:R}),(0,w.jsx)(n.Spacer.Vertical,{size:"medium"})]}),V&&!x&&(0,w.jsxs)(n.View,{children:[(0,w.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,w.jsxs)(n.View,{mx:"medium",padding:"medium",bg:"default",rounded:"large",children:[(0,w.jsx)(n.Text,{color:"secondary",size:"small",children:"Log in or create an account to get started with Extensions"}),(0,w.jsx)(n.Spacer.Vertical,{size:"large"}),(0,w.jsxs)(n.View,{children:[(0,w.jsx)(n.Button.ScaleOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:function(){p.login('login')},accessibilityLabel:"Log in",children:(0,w.jsx)(n.View,{py:"small",children:(0,w.jsx)(n.Button.Text,{color:"tertiary",weight:"semibold",align:"center",children:"Log In"})})}),(0,w.jsx)(n.Spacer.Vertical,{size:"small"}),(0,w.jsx)(n.Button.ScaleOnPressContainer,{bg:"secondary",rounded:"medium",onPress:function(){p.login('signup')},accessibilityLabel:"Sign Up",children:(0,w.jsx)(n.View,{py:"small",children:(0,w.jsx)(n.Button.Text,{color:"secondary",weight:"semibold",align:"center",children:"Sign Up"})})})]})]}),(0,w.jsx)(n.Spacer.Vertical,{size:"medium"})]}),A.length>0&&(0,w.jsx)(n.View,{px:"xl",children:(0,w.jsxs)(n.Text,{size:"small",color:"secondary",children:["Extensions allow you to customize your development build with additional capabilities.",' ',(0,w.jsx)(n.Text,{size:"small",style:{textDecorationLine:'underline'},onPress:function(){return s.Linking.openURL("https://docs.expo.dev/development/extensions/")},accessibilityRole:"link",children:"Learn more."})]})}),L&&x&&(0,w.jsx)(n.View,{mt:"medium",inset:"full",align:"centered",mx:"medium",rounded:"large",bg:"default",children:(0,w.jsx)(l.ActivityIndicator,{})})]})})]})};var n=r(d[0]),s=((function(n,s){if(!s&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var t=b(s);if(t&&t.has(n))return t.get(n);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var u=o?Object.getOwnPropertyDescriptor(n,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=n[c]}l.default=n,t&&t.set(n,l)})(r(d[1])),r(d[2])),t=r(d[3]),l=r(d[4]),o=r(d[5]),c=r(d[6]),u=r(d[7]),x=r(d[8]),h=r(d[9]),p=r(d[10]),j=r(d[11]),f=r(d[12]),y=r(d[13]),w=r(d[14]);function b(n){if("function"!=typeof WeakMap)return null;var s=new WeakMap,t=new WeakMap;return(b=function(n){return n?t:s})(n)}function v(s){var t=s.navigation,l=(s.isLoading,s.branches),o=s.emptyBranches,h=s.incompatibleBranches,j=(0,p.useOnUpdatePress)(),f=j.loadingUpdateId,y=j.onUpdatePress;function b(){t.navigate('Branches')}var v=l.length+o.length;return 0===l.length&&o.length>0?(0,w.jsxs)(n.View,{mx:"medium",children:[(0,w.jsx)(n.View,{py:"small",px:"small",children:(0,w.jsx)(n.Heading,{size:"small",color:"secondary",children:"EAS Update"})}),o.slice(0,3).map(function(s,l,o){var u=0===l,x=l===(null==o?void 0:o.length)-1;return(0,w.jsxs)(n.View,{children:[(0,w.jsx)(c.EASEmptyBranchRow,{branch:s,isFirst:u,isLast:x,navigation:t}),!x&&(0,w.jsx)(n.Divider,{})]},s.id)}),o.length>1&&(0,w.jsx)(n.Button.ScaleOnPressContainer,{onPress:b,bg:"default",roundedTop:"none",roundedBottom:"large",children:(0,w.jsx)(n.View,{bg:"default",py:"small",px:"small",roundedTop:"none",roundedBottom:"large",children:(0,w.jsxs)(n.Row,{children:[(0,w.jsx)(n.Text,{size:"medium",children:"See all branches"}),(0,w.jsx)(n.Spacer.Horizontal,{}),(0,w.jsx)(n.ChevronRightIcon,{})]})})})]}):0===l.length?(0,w.jsxs)(n.View,{mx:"medium",children:[(0,w.jsx)(n.View,{px:"small",children:(0,w.jsx)(n.Heading,{size:"small",color:"secondary",children:"EAS Updates"})}),(0,w.jsx)(n.Spacer.Vertical,{size:"small"}),(0,w.jsx)(u.EmptyBranchesMessage,{branches:l,incompatibleBranches:h})]}):(0,w.jsx)(n.View,{children:(0,w.jsxs)(n.View,{mx:"medium",children:[(0,w.jsx)(n.View,{py:"small",px:"small",children:(0,w.jsx)(n.Heading,{size:"small",color:"secondary",children:"EAS Updates"})}),null==l?void 0:l.slice(0,2).map(function(s,l,o){var u,x=0===l,h=l===o.length-1&&v<=1,p=(null==(u=s.updates[0])?void 0:u.id)===f;return(0,w.jsxs)(n.View,{children:[(0,w.jsx)(c.EASBranchRow,{branch:s,isFirst:x,isLast:h,navigation:t,isLoading:p,onUpdatePress:y}),(0,w.jsx)(n.Divider,{})]},s.name)}),v>1&&(0,w.jsx)(x.ListButton,{onPress:b,isLast:!0,children:(0,w.jsxs)(n.Row,{children:[(0,w.jsx)(n.Text,{size:"medium",children:"See all branches"}),(0,w.jsx)(n.Spacer.Horizontal,{}),(0,w.jsx)(n.ChevronRightIcon,{})]})})]})})}},1376,[841,164,2,538,1367,1377,1368,1370,1369,1373,1374,1336,1349,1278,184]);
1383
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.AppHeader=function(c){var u,f,x=c.navigation,h=(0,t.useBuildInfo)(),p=h.appName,j=h.appIcon,w=(0,s.useUser)(),b=w.userData,y=w.selectedAccount,v=null!=b,O=null!=(u=null==y?void 0:null==(f=y.owner)?void 0:f.profilePhoto)?u:null;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(n.View,{bg:"default",pt:"small",pb:"small",children:[(0,o.jsx)(l.SafeAreaTop,{}),(0,o.jsxs)(n.Row,{align:"center",children:[(0,o.jsx)(n.Spacer.Horizontal,{size:"medium"}),(0,o.jsx)(n.View,{flex:"1",shrink:"1",children:(0,o.jsxs)(n.Row,{align:"center",children:[(0,o.jsx)(n.View,{height:"xl",width:"xl",rounded:"large",bg:"secondary",children:Boolean(j)&&(0,o.jsx)(n.Image,{size:"xl",rounded:"large",source:{uri:j}})}),(0,o.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,o.jsxs)(n.View,{flex:"1",children:[(0,o.jsx)(n.Heading,{weight:"semibold",numberOfLines:1,children:p}),(0,o.jsx)(n.Text,{size:"small",color:"secondary",children:"Development Build"})]})]})}),(0,o.jsxs)(n.View,{align:"centered",style:{justifyContent:'flex-end'},children:[(0,o.jsx)(n.Button.ScaleOnPressContainer,{onPress:function(){x.navigate('User Profile')},minScale:.85,accessibilityLabel:"Navigate to User Profile",bg:"ghost",rounded:"full",children:(0,o.jsx)(n.View,{children:v?(0,o.jsx)(n.View,{rounded:"full",padding:"small",children:(0,o.jsx)(n.View,{height:"xl",width:"xl",bg:"secondary",rounded:"full",children:O&&(0,o.jsx)(n.Image,{size:"xl",rounded:"full",source:{uri:O}})})}):(0,o.jsx)(n.View,{mx:"small",children:(0,o.jsx)(n.View,{bg:"default",rounded:"full",padding:"tiny",children:(0,o.jsx)(n.UserIcon,{})})})})}),!O&&(0,o.jsx)(n.Row,{style:{height:n.scale[2],flexWrap:'wrap',maxWidth:n.scale[16],paddingRight:n.scale[2],transform:[{translateY:-n.scale[2]}]},children:(0,o.jsx)(n.Text,{numberOfLines:1,size:"small",align:"center",weight:"medium",children:null==y?void 0:y.name})})]})]})]}),(0,o.jsx)(n.Divider,{weight:"thin"})]})};var n=r(d[0]),l=((function(n,l){if(!l&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var t=c(l);if(t&&t.has(n))return t.get(n);var s={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in n)if("default"!==u&&Object.prototype.hasOwnProperty.call(n,u)){var f=o?Object.getOwnPropertyDescriptor(n,u):null;f&&(f.get||f.set)?Object.defineProperty(s,u,f):s[u]=n[u]}s.default=n,t&&t.set(n,s)})(r(d[1])),r(d[2])),t=r(d[3]),s=r(d[4]),o=r(d[5]);function c(n){if("function"!=typeof WeakMap)return null;var l=new WeakMap,t=new WeakMap;return(c=function(n){return n?t:l})(n)}},1377,[841,164,1378,1343,1349,184]);
1384
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SafeAreaTop=function(){var f=(0,n.useSafeAreaInsets)().top;return(0,o.jsx)(t.View,{style:{height:f}})};var t=r(d[0]),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var u={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var l=p?Object.getOwnPropertyDescriptor(t,c):null;l&&(l.get||l.set)?Object.defineProperty(u,c,l):u[c]=t[c]}u.default=t,o&&o.set(t,u)})(r(d[1])),r(d[2])),o=r(d[3]);function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}},1378,[841,164,482,184]);
1385
- __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.UpdatesScreen=function(n){var c=n.route,j=(0,f.useUpdatesConfig)().runtimeVersion,V=c.params.branchName,v=l.useState(!1),L=(0,t.default)(v,2),O=L[0],z=L[1],U=(0,w.useUpdatesForBranch)(V),C=U.data,R=U.isLoading,S=U.hasNextPage,k=U.fetchNextPage,B=U.refetch,F=U.isRefreshing,N=U.isFetchingNextPage;function T(){z(!0),k()}var A=(0,x.useOnUpdatePress)(),E=A.onUpdatePress,H=A.loadingUpdateId;return(0,y.jsxs)(s.View,{flex:"1",children:[(0,y.jsx)(b,{branchName:V,updates:C,onOpenPress:function(){return E(C[0])}}),(0,y.jsx)(p.FlatList,{isLoading:R,isRefreshing:F,onRefresh:function(){return B()},ListHeaderComponent:function(){if(0===C.length)return null;return(0,y.jsx)(s.View,{py:"small",px:"large",children:(0,y.jsx)(s.Heading,{size:"small",color:"secondary",children:"Updates"})})},data:C,extraData:{length:C.length,loadingUpdateId:H},renderItem:function(n){var t=n.index,l=n.item,o=0===t,c=t===C.length-1,u=l.runtimeVersion===j,p=l.id===H;return(0,y.jsxs)(s.View,{px:"medium",opacity:u?'1':'0.5',children:[(0,y.jsx)(h.EASUpdateRow,{update:l,isFirst:o,isLast:c,isLoading:p,onPress:function(){return E(l)}}),!c&&(0,y.jsx)(s.Divider,{})]})},keyExtractor:function(n){return n.id},ListFooterComponent:function(){if(S)return(0,y.jsx)(s.View,{align:"centered",mt:"large",children:(0,y.jsx)(u.BasicButton,{label:"Load More",isLoading:N,onPress:T,size:"small"})});if(C.length>0&&O)return(0,y.jsx)(P,{});return null},ListEmptyComponent:function(){return(0,y.jsx)(s.View,{mt:"large",mx:"medium",bg:"default",rounded:"large",padding:"medium",children:(0,y.jsxs)(s.View,{children:[(0,y.jsx)(s.Heading,{children:"There are no updates available for this branch."}),(0,y.jsx)(s.Spacer.Vertical,{size:"small"}),(0,y.jsx)(s.Text,{color:"secondary",size:"small",children:"Updates allow you to deliver code directly to your users."}),(0,y.jsx)(s.View,{py:"medium",align:"centered",children:(0,y.jsx)(s.Button.ScaleOnPressContainer,{bg:"tertiary",onPress:function(){o.Linking.openURL("https://docs.expo.dev/eas-update/how-eas-update-works/")},children:(0,y.jsx)(s.View,{px:"2.5",py:"2",children:(0,y.jsx)(s.Button.Text,{weight:"medium",color:"tertiary",children:"Publish an update"})})})})]})})}})]})};var t=n(r(d[1])),s=r(d[2]),l=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var s=V(t);if(s&&s.has(n))return s.get(n);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var u=o?Object.getOwnPropertyDescriptor(n,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=n[c]}l.default=n,s&&s.set(n,l);return l})(r(d[3])),o=r(d[4]),c=r(d[5]),u=r(d[6]),h=r(d[7]),p=r(d[8]),x=r(d[9]),f=r(d[10]),j=r(d[11]),w=r(d[12]),y=r(d[13]);function V(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(V=function(n){return n?s:t})(n)}function b(n){var t=n.branchName,l=n.updates,o=n.onOpenPress,c=(0,f.useUpdatesConfig)(),h=c.appId,p=c.runtimeVersion,x=(0,j.useChannelsForApp)(h).data,w=[];null==x||x.forEach(function(n){n.branches.includes(t)&&w.push(t)});var V=l.length>0,b=l[0],P=(null==b?void 0:b.runtimeVersion)===p;return(0,y.jsxs)(s.View,{bg:"default",px:"medium",py:"medium",children:[(0,y.jsxs)(s.Row,{align:"center",children:[(0,y.jsx)(s.View,{width:"8",children:(0,y.jsx)(s.BranchIcon,{})}),(0,y.jsx)(s.View,{shrink:"1",children:(0,y.jsx)(s.Heading,{weight:"bold",numberOfLines:2,children:t})}),(0,y.jsx)(s.Spacer.Horizontal,{}),V&&(0,y.jsx)(s.View,{opacity:P?'1':'0.75',style:{marginLeft:s.scale.small},children:(0,y.jsx)(u.BasicButton,{label:"Open Latest",onPress:o,size:"small"})})]}),w.length>0&&(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(s.Spacer.Vertical,{size:"medium"}),(0,y.jsx)(v,{channels:w})]})]})}function v(n){var t=n.channels,l=(0,s.useExpoPalette)();return 0===t.length?null:(0,y.jsx)(s.View,{children:(0,y.jsxs)(s.Row,{align:"center",children:[(0,y.jsxs)(s.Text,{size:"small",color:"secondary",children:["Available on:",' ']}),(0,y.jsx)(c.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1,children:(0,y.jsx)(s.Row,{children:t.map(function(n){return(0,y.jsx)(s.View,{children:(0,y.jsx)(s.View,{align:"start",rounded:"medium",px:"1.5",mx:"0.5",py:"1",style:{backgroundColor:l.orange['000']},children:(0,y.jsx)(s.Text,{size:"small",children:"Channel: "+n})},n)},n)})})})]})})}function P(){var n=l.useRef(new o.Animated.Value(1));return l.useEffect(function(){o.Animated.timing(n.current,{toValue:0,duration:800,delay:800,useNativeDriver:!0}).start()},[]),(0,y.jsx)(o.Animated.View,{style:{opacity:n.current},children:(0,y.jsx)(s.View,{mt:"medium",children:(0,y.jsx)(s.Text,{align:"center",size:"small",color:"secondary",children:"There are no more updates for this branch!"})})})}},1379,[6,42,841,164,2,538,1366,1368,1372,1374,1336,1380,1337,184]);
1386
- __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useChannelsForApp=function(n){var t=(0,l.useToastStack)(),u=(0,p.useQuery)(['channels',n],function(){return b(n)});return f.useEffect(function(){u.error&&0===t.getItems().length&&t.push(function(){return(0,h.jsx)(s.Toasts.Error,{children:"Something went wrong trying to find the channels for this branch."})})},[u.error]),u};var t,u=n(r(d[1])),o=r(d[2]),f=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=y(t);if(u&&u.has(n))return u.get(n);var o={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in n)if("default"!==p&&Object.prototype.hasOwnProperty.call(n,p)){var c=f?Object.getOwnPropertyDescriptor(n,p):null;c&&(c.get||c.set)?Object.defineProperty(o,p,c):o[p]=n[p]}o.default=n,u&&u.set(n,o);return o})(r(d[3])),p=r(d[4]),c=r(d[5]),s=r(d[6]),l=r(d[7]),h=r(d[8]);function y(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,u=new WeakMap;return(y=function(n){return n?u:t})(n)}var v=(0,o.gql)(t||(t=(0,u.default)(["\n query getUpdates($appId: String!) {\n app {\n byId(appId: $appId) {\n updateChannels(offset: 0, limit: 10) {\n name\n updateBranches(offset: 0, limit: 10) {\n name\n }\n }\n }\n }\n }\n"])));function b(n){var t={appId:n};return c.apiClient.request(v,t).then(function(n){var t=[];return n.app.byId.updateChannels.forEach(function(n){var u={name:n.name,branches:n.updateBranches.map(function(n){return n.name})};t.push(u)}),t})}},1380,[6,1279,1313,164,1237,1331,1333,1334,184]);
1387
- __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.HomeScreen=function(n){var x=n.fetchOnMount,j=void 0!==x&&x,V=n.pollInterval,T=void 0===V?1e3:V,I=n.pollAmount,M=void 0===I?5:I,A=n.navigation,D=(0,z.useModalStack)(),L=o.useState(''),U=(0,t.default)(L,2),k=U[0],E=U[1],F=o.useState(''),W=(0,t.default)(F,2),_=W[0],N=W[1],Q=(0,y.useDevSessions)(),q=Q.data,G=Q.pollAsync,J=Q.isFetching,K=(0,R.useToastStack)(),X=(0,P.useUpdatesConfig)().projectUrl,Y=(0,b.useCrashReport)(),Z=o.useRef(q);o.useEffect(function(){0===Z.current.length&&j&&G({pollAmount:M,pollInterval:T})},[j,T,M,G]);var $=(ie=(0,s.default)(function*(n){N(n),yield(0,w.loadApp)(n).catch(function(n){N(''),D.push(function(){return(0,O.jsx)(h.LoadAppErrorModal,{message:n.message})})}),N('')}),function(n){return ie.apply(this,arguments)}),ee=(le=(0,s.default)(function*(n){$(n.url)}),function(n){return le.apply(this,arguments)}),ne=(te=(0,s.default)(function*(n){$(n)}),function(n){return te.apply(this,arguments)}),re=(se=(0,s.default)(function*(n){if(n.isEASUpdate){var s=(0,S.formatUpdateUrl)(n.url,n.updateMessage);(0,w.loadUpdate)(s,X).catch(function(n){K.push(function(){return(0,O.jsx)(f.Toasts.Error,{children:n.message})},{durationMs:1e4})})}else $(n.url)}),function(n){return se.apply(this,arguments)});var se;var te;var le;var ie;return(0,O.jsxs)(l.View,{testID:"DevLauncherMainScreen",children:[(0,O.jsx)(u.AppHeader,{navigation:A}),(0,O.jsxs)(c.ScrollView,{contentContainerStyle:{paddingBottom:l.scale[48]},children:[Y&&(0,O.jsx)(l.View,{px:"medium",py:"small",mt:"small",children:(0,O.jsx)(l.Button.ScaleOnPressContainer,{onPress:function(){A.navigate('Crash Report',Y)},bg:"default",rounded:"large",children:(0,O.jsx)(l.Row,{align:"center",padding:"medium",bg:"default",children:(0,O.jsx)(l.Button.Text,{color:"default",children:"The last time you tried to open an app the development build crashed. Tap to get more information."})})})}),(0,O.jsxs)(l.View,{py:"large",children:[(0,O.jsxs)(l.Row,{px:"small",align:"center",children:[(0,O.jsx)(l.View,{px:"medium",children:(0,O.jsx)(l.TerminalIcon,{})}),(0,O.jsx)(l.Heading,{color:"secondary",children:"Development servers"}),(0,O.jsx)(l.Spacer.Horizontal,{}),q.length>0&&(0,O.jsx)(l.Button.ScaleOnPressContainer,{bg:"ghost",rounded:"full",minScale:.85,onPress:function(){D.push(function(){return(0,O.jsx)(p.DevServerExplainerModal,{})})},children:(0,O.jsx)(l.View,{rounded:"full",padding:"tiny",children:(0,O.jsx)(l.InfoIcon,{})})})]}),(0,O.jsx)(l.Spacer.Vertical,{size:"small"}),(0,O.jsx)(l.View,{px:"medium",children:(0,O.jsxs)(l.View,{children:[0===q.length&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(l.View,{padding:"medium",bg:"default",roundedTop:"large",children:[(0,O.jsx)(l.Text,{children:"Start a local development server with:"}),(0,O.jsx)(l.Spacer.Vertical,{size:"small"}),(0,O.jsx)(l.View,{bg:"secondary",border:"default",rounded:"medium",padding:"medium",children:(0,O.jsx)(l.Text,{type:"mono",size:"small",children:"expo start --dev-client"})}),(0,O.jsx)(l.Spacer.Vertical,{size:"small"}),(0,O.jsx)(l.Text,{children:"Then, select the local server when it appears here."}),(0,O.jsx)(l.Spacer.Vertical,{size:"small"}),(0,O.jsx)(l.Text,{children:"Alternatively, open the Camera app and scan the QR code that appears in your terminal"})]}),(0,O.jsx)(l.Divider,{})]}),(null==q?void 0:q.length)>0&&(0,O.jsx)(B,{devSessions:q,onDevSessionPress:ee}),(0,O.jsx)(H,{isFetching:J,onRefetchPress:function(){G({pollAmount:M,pollInterval:T})}}),(0,O.jsx)(l.Divider,{}),(0,O.jsx)(v.UrlDropdown,{onSubmit:ne,inputValue:k,setInputValue:E,isLoading:''!==k&&k===_})]})}),(0,O.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,O.jsx)(C,{onRecentAppPress:re,loadingUrl:_})]})]})]})};var s=n(r(d[1])),t=n(r(d[2])),l=r(d[3]),o=(function(n,s){if(!s&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var t=T(s);if(t&&t.has(n))return t.get(n);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var u=o?Object.getOwnPropertyDescriptor(n,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=n[c]}l.default=n,t&&t.set(n,l);return l})(r(d[4])),c=r(d[5]),u=r(d[6]),p=r(d[7]),x=r(d[8]),h=r(d[9]),j=r(d[10]),f=r(d[11]),v=r(d[12]),S=r(d[13]),w=r(d[14]),b=r(d[15]),y=r(d[16]),z=r(d[17]),V=r(d[18]),R=r(d[19]),P=r(d[20]),O=r(d[21]);function T(n){if("function"!=typeof WeakMap)return null;var s=new WeakMap,t=new WeakMap;return(T=function(n){return n?t:s})(n)}function H(n){var s=n.isFetching,t=n.onRefetchPress,o=(0,l.useExpoTheme)(),c=s?o.status.info:o.status.default;return(0,O.jsx)(l.Button.ScaleOnPressContainer,{onPress:t,disabled:s,bg:"default",rounded:"none",children:(0,O.jsxs)(l.Row,{align:"center",padding:"medium",bg:"default",children:[(0,O.jsx)(l.View,{width:"6",children:(0,O.jsx)(j.PulseIndicator,{isActive:s,color:c})}),(0,O.jsx)(l.Button.Text,{color:"default",children:s?'Searching for development servers...':'Fetch development servers'}),(0,O.jsx)(l.Spacer.Horizontal,{}),!s&&(0,O.jsx)(l.RefreshIcon,{})]})})}function B(n){var s=n.devSessions,t=void 0===s?[]:s,o=n.onDevSessionPress;return 0===t.length?null:(0,O.jsx)(l.View,{children:t.map(function(n){return(0,O.jsxs)(l.View,{children:[(0,O.jsx)(l.Button.ScaleOnPressContainer,{onPress:function(){return o(n)},roundedTop:"large",roundedBottom:"none",bg:"default",children:(0,O.jsxs)(l.Row,{align:"center",padding:"medium",bg:"default",children:[(0,O.jsx)(l.StatusIndicator,{size:"small",status:"success"}),(0,O.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,O.jsx)(l.View,{flex:"1",children:(0,O.jsx)(l.Button.Text,{color:"default",numberOfLines:1,children:n.description})}),(0,O.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,O.jsx)(l.ChevronRightIcon,{})]})}),(0,O.jsx)(l.Divider,{})]},n.url)})})}function C(n){var s=n.onRecentAppPress,t=n.loadingUrl,o=(0,V.useRecentlyOpenedApps)(),c=o.data,u=o.clear;if(0===c.length)return null;function p(n){var s,t=null!=(s=n.name)?s:n.url;return n.isEASUpdate&&null!=n.updateMessage?(0,O.jsx)(A,{label:t,url:n.url,message:n.updateMessage,branchName:n.branchName}):(0,O.jsx)(M,{label:t,url:n.url})}return(0,O.jsxs)(l.View,{px:"medium",children:[(0,O.jsxs)(l.Row,{align:"center",py:"small",children:[(0,O.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,O.jsx)(l.Heading,{color:"secondary",children:"Recently opened"}),(0,O.jsx)(l.Spacer.Horizontal,{}),(0,O.jsx)(l.Button.ScaleOnPressContainer,{bg:"ghost",onPress:u,children:(0,O.jsx)(l.View,{rounded:"medium",px:"small",py:"micro",children:(0,O.jsx)(l.Heading,{size:"small",weight:"semibold",color:"secondary",children:"Reset"})})})]}),(0,O.jsx)(l.View,{children:c.map(function(n,o,c){var u=0===o,x=o===c.length-1,h=n.url===t;return(0,O.jsxs)(I,{isLoading:h,children:[(0,O.jsx)(l.Button.ScaleOnPressContainer,{onPress:function(){return s(n)},roundedTop:u?'large':'none',roundedBottom:x?'large':'none',py:"small",bg:"default",children:p(n)}),!x&&(0,O.jsx)(l.Divider,{})]},n.id)})})]})}function I(n){var s=n.children,t=n.isLoading,l=(0,x.useLoadingContainerStyle)(t);return(0,O.jsx)(c.Animated.View,{style:l,children:s})}function M(n){var s=n.label,t=n.url;return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(l.Row,{align:"center",px:"medium",bg:"default",children:[(0,O.jsx)(l.StatusIndicator,{size:"small",status:"success"}),(0,O.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,O.jsx)(l.View,{flex:"1",children:(0,O.jsx)(l.Button.Text,{color:"default",numberOfLines:1,children:s})}),(0,O.jsx)(l.ChevronRightIcon,{})]}),(0,O.jsxs)(l.Row,{px:"medium",align:"center",bg:"default",children:[(0,O.jsx)(l.Spacer.Vertical,{size:"tiny"}),(0,O.jsx)(l.Spacer.Horizontal,{size:"large"}),(0,O.jsx)(l.Row,{style:{flexWrap:'wrap',flexShrink:1},children:(0,O.jsx)(l.Text,{size:"small",color:"secondary",numberOfLines:1,children:t})})]})]})}function A(n){n.label;var s=n.url,t=n.branchName,o=n.message,c=(0,l.useExpoPalette)();return(0,O.jsxs)(l.View,{children:[(0,O.jsxs)(l.Row,{align:"center",px:"medium",bg:"default",children:[(0,O.jsxs)(l.Row,{shrink:"1",style:{backgroundColor:c.blue[100]},py:"tiny",px:"1.5",rounded:"medium",align:"center",children:[(0,O.jsx)(l.BranchIcon,{style:{maxHeight:10,maxWidth:12,resizeMode:'contain'},resizeMethod:"scale"}),(0,O.jsx)(l.Spacer.Horizontal,{size:"tiny"}),(0,O.jsx)(l.View,{shrink:"1",children:(0,O.jsx)(l.Text,{size:"small",numberOfLines:1,children:"Branch: "+t})})]}),(0,O.jsx)(l.Spacer.Horizontal,{}),(0,O.jsx)(l.ChevronRightIcon,{})]}),(0,O.jsx)(l.Spacer.Vertical,{size:"small",bg:"default"}),Boolean(o)&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)(l.Row,{px:"medium",align:"center",bg:"default",children:(0,O.jsx)(l.View,{children:(0,O.jsx)(l.Heading,{size:"small",numberOfLines:1,children:"Update \""+o+"\""})})}),(0,O.jsx)(l.Spacer.Vertical,{size:"micro",bg:"default"})]}),(0,O.jsx)(l.Row,{px:"medium",align:"center",bg:"default",children:(0,O.jsx)(l.Row,{style:{flexWrap:'wrap',flexShrink:1},children:(0,O.jsx)(l.Text,{size:"small",color:"secondary",numberOfLines:1,children:s})})})]})}},1381,[6,272,42,841,164,2,1377,1382,1368,1362,1383,1333,1384,1375,1234,1344,1346,1357,1360,1334,1336,184]);
1388
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DevServerExplainerModal=function(){return(0,l.jsxs)(n.BaseModal,{title:"Development servers",children:[(0,l.jsx)(t.Spacer.Vertical,{size:"small"}),(0,l.jsx)(t.Text,{size:"medium",children:"Start a local development server with:"}),(0,l.jsx)(t.Spacer.Vertical,{size:"small"}),(0,l.jsx)(t.View,{bg:"secondary",border:"default",rounded:"medium",padding:"medium",children:(0,l.jsx)(t.Text,{type:"mono",size:"small",children:"expo start --dev-client"})}),(0,l.jsx)(t.Spacer.Vertical,{size:"large"}),(0,l.jsx)(t.Text,{children:"Then, select the local server when it appears here."}),(0,l.jsx)(t.Spacer.Vertical,{size:"small"}),(0,l.jsx)(t.Text,{children:"Alternatively, open the Camera app and scan the QR code that appears in your terminal"})]})};var t=r(d[0]),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var l=s(n);if(l&&l.has(t))return l.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in t)if("default"!==p&&Object.prototype.hasOwnProperty.call(t,p)){var u=c?Object.getOwnPropertyDescriptor(t,p):null;u&&(u.get||u.set)?Object.defineProperty(o,p,u):o[p]=t[p]}o.default=t,l&&l.set(t,o)})(r(d[1])),r(d[2])),l=r(d[3]);function s(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,l=new WeakMap;return(s=function(t){return t?l:n})(t)}},1382,[841,164,1361,184]);
1389
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PulseIndicator=function(c){var l=c.isActive,f=c.color,s=n.useRef(new u.Animated.Value(0)),p=s.current.interpolate({inputRange:[0,1],outputRange:[.95,2]}),y=s.current.interpolate({inputRange:[0,1],outputRange:[1,0]}),v=n.useRef(u.Animated.loop(u.Animated.timing(s.current,{toValue:1,duration:1200,useNativeDriver:!0})));return n.useEffect(function(){l?v.current.start():(s.current.setValue(0),v.current.stop(),v.current.reset())},[l]),(0,o.jsx)(t.StatusIndicator,{size:"small",style:{backgroundColor:f},children:(0,o.jsx)(u.Animated.View,{style:{flex:1,borderRadius:100,transform:[{scale:p}],opacity:y,backgroundColor:f}})})};var t=r(d[0]),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=c(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=l?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(o,f,s):o[f]=t[f]}o.default=t,u&&u.set(t,o);return o})(r(d[1])),u=r(d[2]),o=r(d[3]);function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(c=function(t){return t?u:n})(t)}},1383,[841,164,2,184]);
1390
- __d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.UrlDropdown=function(t){var n=t.onSubmit,p=t.isLoading,y=t.inputValue,h=t.setInputValue,j=(0,i.useExpoTheme)(),O=(0,i.useCurrentTheme)(),v={dark:{active:j.background.secondary,inactive:j.background.default},light:{active:j.background.secondary,inactive:j.background.default}},w=u.useRef(),x=u.useState(!1),P=(0,o.default)(x,2),D=P[0],C=P[1],k=u.useState(!0),I=(0,o.default)(k,2),T=I[0],S=I[1],V=u.useState(!1),L=(0,o.default)(V,2),B=L[0],R=L[1],U={transform:[{translateX:-3},{rotate:D?'90deg':'0deg'}]},M=u.useRef(Date.now()),_=v[O],z=B?_.active:_.inactive;return(0,f.jsxs)(i.View,{rounded:"large",children:[(0,f.jsx)(i.Button.Container,{onPressIn:function(){return R(!0)},onPressOut:function(){return R(!1)},onPress:function(){C(!D)},roundedTop:"none",roundedBottom:D?'none':'large',testID:"DevLauncherURLToggle",children:(0,f.jsxs)(i.Row,{align:"center",padding:"medium",style:{backgroundColor:z},children:[(0,f.jsx)(i.View,{width:"6",children:(0,f.jsx)(i.ChevronRightIcon,{style:U})}),(0,f.jsx)(i.Text,{color:"default",children:"Enter URL manually"})]})}),D&&(0,f.jsxs)(i.View,{px:"medium",py:"medium",roundedBottom:"large",bg:"default",children:[(0,f.jsxs)(i.View,{border:"default",rounded:"medium",py:l.Platform.select({android:'tiny',ios:'medium'}),px:"medium",shadow:"micro",children:[(0,f.jsx)(i.TextInput,{autoFocus:!0,clearButtonMode:"while-editing",keyboardType:"url",autoCapitalize:"none",autoComplete:"off",autoCorrect:!1,placeholder:"http://10.0.0.25:19000",placeholderTextColor:j.text.secondary,ref:w,value:y,onChangeText:function(t){T||''===t||Date.now()>=M.current+500&&(S((0,c.validateUrl)(t)),M.current=Date.now());h(t)},onBlur:function(){S((0,c.validateUrl)(y))},testID:"DevLauncherURLInput"}),(0,f.jsx)(i.View,{style:{position:'absolute',bottom:-20},children:!T&&''!==y&&(0,f.jsx)(i.Text,{color:"error",size:"small",children:"Invalid URL"})})]}),(0,f.jsx)(i.Spacer.Vertical,{size:"xl"}),(0,f.jsxs)(i.Button.ScaleOnPressContainer,{bg:T?'tertiary':'disabled',shadow:"button",rounded:"medium",disabled:!T||p,onPress:function(){n(y),w.current.blur()},testID:"DevLauncherLoadAppButton",children:[(0,f.jsx)(i.View,{py:"small",opacity:p?'0.5':'1',children:(0,f.jsx)(i.Button.Text,{align:"center",weight:"semibold",color:"tertiary",children:"Connect"})}),p&&(0,f.jsx)(i.View,{style:b(b({},l.StyleSheet.absoluteFillObject),{},{justifyContent:'center',alignItems:'center'}),children:(0,f.jsx)(s.ActivityIndicator,{size:"small"})})]})]})]})};var n=t(r(d[1])),o=t(r(d[2])),i=r(d[3]),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=p(n);if(o&&o.has(t))return o.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var c=u?Object.getOwnPropertyDescriptor(t,l):null;c&&(c.get||c.set)?Object.defineProperty(i,l,c):i[l]=t[l]}i.default=t,o&&o.set(t,i);return i})(r(d[4])),l=r(d[5]),c=r(d[6]),s=r(d[7]),f=r(d[8]);function p(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(p=function(t){return t?o:n})(t)}function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function b(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?y(Object(i),!0).forEach(function(o){(0,n.default)(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):y(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}},1384,[6,31,42,841,164,2,1385,1367,184]);
1391
- __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.validateUrl=function(t){if(!n.default.parse(t,!0).protocol)return!1;return!0};var n=t(r(d[1]))},1385,[6,1351]);
1392
- __d(function(g,r,i,a,m,e,d){var s=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.KitchenSinkScreen=function(){var s=(0,f.useToastStack)(),y=l.useState(!1),h=(0,t.default)(y,2),z=h[0],B=h[1];function b(){B(!0),setTimeout(function(){B(!1)},1500)}return(0,S.jsxs)(o.ScrollView,{children:[(0,S.jsx)(p.SafeAreaTop,{}),(0,S.jsxs)(n.View,{padding:"medium",children:[(0,S.jsx)(n.Heading,{size:"large",children:"Kitchen Sink"}),(0,S.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,S.jsx)(n.Heading,{children:"Load More Button"}),(0,S.jsx)(c.BasicButton,{label:"Load More",isLoading:z,onPress:b}),(0,S.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,S.jsx)(n.Heading,{children:"FlatList Loader"}),(0,S.jsx)(j.FlatListLoader,{}),(0,S.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,S.jsx)(n.Heading,{children:"Basic Buttons"}),(0,S.jsx)(n.Spacer.Vertical,{size:"small"}),(0,S.jsxs)(n.Row,{children:[(0,S.jsx)(c.BasicButton,{label:"Primary",type:"primary"}),(0,S.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Secondary",type:"secondary"}),(0,S.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Tertiary",type:"tertiary"})]}),(0,S.jsx)(n.Spacer.Vertical,{size:"small"}),(0,S.jsxs)(n.Row,{children:[(0,S.jsx)(c.BasicButton,{label:"Disabled",type:"disabled"}),(0,S.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Ghost",type:"ghost"}),(0,S.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Transparent",type:"transparent"})]}),(0,S.jsx)(n.Spacer.Vertical,{size:"large"}),(0,S.jsx)(n.Heading,{children:"Toasts"}),(0,S.jsx)(n.Spacer.Vertical,{size:"small"}),(0,S.jsxs)(n.Row,{children:[(0,S.jsx)(n.Spacer.Vertical,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Warning",onPress:function(){s.push(function(){return(0,S.jsx)(x.Toasts.Warning,{children:"Hey there!"})},{durationMs:5e3})}}),(0,S.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,S.jsx)(n.Spacer.Vertical,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Error",onPress:function(){s.push(function(){return(0,S.jsx)(x.Toasts.Error,{children:"Hey there!"})},{durationMs:5e3})}})]}),(0,S.jsx)(n.Spacer.Vertical,{size:"large"}),(0,S.jsx)(n.Heading,{children:"Update Rows"}),(0,S.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,S.jsx)(u.EASUpdateRow,{isFirst:!0,isLoading:z,onPress:b,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}}),(0,S.jsx)(n.Divider,{}),(0,S.jsx)(u.EASUpdateRow,{isLoading:z,onPress:b,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}}),(0,S.jsx)(n.Divider,{}),(0,S.jsx)(u.EASUpdateRow,{isLast:!0,isLoading:z,onPress:b,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}})]})]})};var t=s(r(d[1])),n=r(d[2]),l=(function(s,t){if(!t&&s&&s.__esModule)return s;if(null===s||"object"!=typeof s&&"function"!=typeof s)return{default:s};var n=y(t);if(n&&n.has(s))return n.get(s);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in s)if("default"!==c&&Object.prototype.hasOwnProperty.call(s,c)){var u=o?Object.getOwnPropertyDescriptor(s,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=s[c]}l.default=s,n&&n.set(s,l);return l})(r(d[3])),o=r(d[4]),c=r(d[5]),u=r(d[6]),j=r(d[7]),p=r(d[8]),x=r(d[9]),f=r(d[10]),S=r(d[11]);function y(s){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(s){return s?n:t})(s)}},1386,[6,42,841,164,2,1366,1368,1372,1378,1333,1334,184]);
1393
- __d(function(g,r,_i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.SettingsScreen=function(){var n=(0,V.useUser)().userData,i=o.useState(''),u=(0,s.default)(i,2),x=(u[0],u[1]),S=o.useState(''),y=(0,s.default)(S,2),b=y[0],v=y[1],z=(0,f.useDevMenuPreferences)(),T=z.showsAtLaunch,k=z.setShowsAtLaunch,D=z.touchGestureEnabled,I=z.setTouchGestureEnabled,C=z.motionGestureEnabled,H=z.setMotionGestureEnabled,E=(0,h.useBuildInfo)(),R=o.useRef(null);o.useEffect(function(){return b&&(R.current=setTimeout(function(){v('')},3e3)),function(){clearTimeout(R.current)}},[b]);var B=(M=(0,t.default)(function*(){var n=E.runtimeVersion,i=E.sdkVersion,t=E.appName,s=E.appVersion,l=JSON.stringify({runtimeVersion:n,sdkVersion:i,appName:t,appVersion:s},null,'\t');x(''),v(l),yield(0,j.copyToClipboardAsync)(l).catch(function(n){x(n.message),v('')})}),function(){return M.apply(this,arguments)}),A=Boolean(b);var M;return(0,w.jsxs)(c.ScrollView,{testID:"DevLauncherSettingsScreen",showsVerticalScrollIndicator:!1,children:[(0,w.jsx)(p.SafeAreaTop,{}),(0,w.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(l.View,{px:"medium",children:(0,w.jsx)(l.Heading,{size:"large",children:"Settings"})}),(0,w.jsxs)(l.View,{py:"large",px:"medium",children:[(0,w.jsx)(l.View,{bg:"default",rounded:"large",children:(0,w.jsxs)(l.Row,{px:"medium",py:"small",align:"center",children:[(0,w.jsx)(l.ShowMenuIcon,{}),(0,w.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,w.jsx)(l.Text,{size:"large",children:"Show menu at launch"}),(0,w.jsx)(l.Spacer.Horizontal,{}),(0,w.jsx)(c.Switch,{accessibilityRole:"switch",accessibilityLabel:"Toggle showing menu at launch",value:T,onValueChange:function(){return k(!T)}})]})}),(0,w.jsx)(l.Spacer.Vertical,{size:"large"}),(0,w.jsx)(l.View,{padding:"medium",children:(0,w.jsx)(l.Heading,{color:"secondary",children:"Menu gestures"})}),(0,w.jsxs)(l.View,{children:[(0,w.jsx)(l.Button.ScaleOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"none",onPress:function(){return H(!C)},accessibilityState:{checked:C},children:(0,w.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(l.ShakeDeviceIcon,{}),(0,w.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,w.jsx)(l.Text,{size:"large",color:"default",children:"Shake device"}),(0,w.jsx)(l.Spacer.Horizontal,{}),C&&(0,w.jsx)(l.CheckIcon,{})]})}),(0,w.jsx)(l.Divider,{}),(0,w.jsx)(l.Button.ScaleOnPressContainer,{bg:"default",roundedBottom:"large",roundedTop:"none",onPress:function(){return I(!D)},accessibilityState:{checked:D},children:(0,w.jsxs)(l.Row,{px:"medium",py:"small",bg:"default",children:[(0,w.jsx)(l.ThreeFingerPressIcon,{}),(0,w.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,w.jsx)(l.Text,{size:"large",color:"default",children:"Three-finger long-press"}),(0,w.jsx)(l.Spacer.Horizontal,{}),D&&(0,w.jsx)(l.CheckIcon,{})]})})]}),(0,w.jsx)(l.View,{padding:"small",children:(0,w.jsx)(l.Text,{color:"secondary",size:"small",leading:"large",children:"Selected gestures will toggle the developer menu while inside a preview. The menu allows you to reload or return to home and exposes developer tools."})}),(0,w.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,w.jsxs)(l.View,{rounded:"large",overflow:"hidden",children:[(0,w.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(l.Text,{children:"Version"}),(0,w.jsx)(l.Spacer.Horizontal,{}),(0,w.jsx)(l.Text,{children:null==E?void 0:E.appVersion})]}),Boolean(E.runtimeVersion)&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(l.Divider,{}),(0,w.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(l.Text,{children:"Runtime Version"}),(0,w.jsx)(l.Spacer.Horizontal,{}),(0,w.jsx)(l.Text,{children:E.runtimeVersion})]})]}),Boolean(E.sdkVersion)&&!E.runtimeVersion&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(l.Divider,{}),(0,w.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(l.Text,{children:"SDK Version"}),(0,w.jsx)(l.Spacer.Horizontal,{}),(0,w.jsx)(l.Text,{children:E.sdkVersion})]})]}),(0,w.jsx)(l.Divider,{}),(0,w.jsx)(l.Button.ScaleOnPressContainer,{onPress:B,disabled:A,bg:"default",roundedTop:"none",roundedBottom:"large",children:(0,w.jsx)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,w.jsx)(l.Text,{color:"link",size:"medium",children:A?'Copied to clipboard!':'Tap to Copy All'})})}),(null==n?void 0:n.isExpoAdmin)&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(O,{}),(0,w.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(P,{})]})]})]})]})};var i=n(r(d[1])),t=n(r(d[2])),s=n(r(d[3])),l=r(d[4]),o=(function(n,i){if(!i&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var t=v(i);if(t&&t.has(n))return t.get(n);var s={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if("default"!==o&&Object.prototype.hasOwnProperty.call(n,o)){var c=l?Object.getOwnPropertyDescriptor(n,o):null;c&&(c.get||c.set)?Object.defineProperty(s,o,c):s[o]=n[o]}s.default=n,t&&t.set(n,s);return s})(r(d[5])),c=r(d[6]),u=r(d[7]),p=r(d[8]),x=r(d[9]),j=r(d[10]),h=r(d[11]),f=r(d[12]),S=r(d[13]),y=r(d[14]),b=r(d[15]),V=r(d[16]),w=r(d[17]);function v(n){if("function"!=typeof WeakMap)return null;var i=new WeakMap,t=new WeakMap;return(v=function(n){return n?t:i})(n)}function z(n,i){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);i&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,s)}return t}function T(n){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?z(Object(s),!0).forEach(function(t){(0,i.default)(n,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(s)):z(Object(s)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(s,i))})}return n}function O(){var n=(0,u.useQueryClient)(),i=(0,S.useQueryOptions)(),s=i.queryOptions,o=i.setQueryOptions,c=(0,y.useToastStack)();function p(n){o(T(T({},s),{},{pageSize:n}))}function j(){return(j=(0,t.default)(function*(){yield n.resetQueries(),yield n.invalidateQueries(),null==c||c.push(function(){return(0,w.jsx)(x.Toasts.Info,{children:"Network cache was reset!"})})})).apply(this,arguments)}return(0,w.jsxs)(l.View,{children:[(0,w.jsx)(l.View,{padding:"medium",children:(0,w.jsx)(l.Heading,{color:"secondary",children:"Debug Settings"})}),(0,w.jsx)(l.View,{children:(0,w.jsxs)(l.View,{children:[(0,w.jsx)(l.Button.ScaleOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"large",onPress:function(){return j.apply(this,arguments)},children:(0,w.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(l.Text,{size:"large",color:"default",children:"Clear network cache"}),(0,w.jsx)(l.Spacer.Horizontal,{})]})}),(0,w.jsx)(l.Spacer.Vertical,{size:"large"}),(0,w.jsxs)(l.View,{px:"medium",children:[(0,w.jsx)(l.Heading,{size:"small",color:"secondary",children:"Default Page Size"}),(0,w.jsx)(l.Text,{color:"secondary",size:"small",children:"Sets the number of items fetched for branches and updates"})]}),(0,w.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,w.jsx)(l.View,{children:[1,5,10].map(function(n,i,t){var o=s.pageSize===n,c=0===i,u=i===t.length-1;return(0,w.jsxs)(l.View,{children:[(0,w.jsx)(l.Button.ScaleOnPressContainer,{bg:"default",roundedTop:c?'large':'none',roundedBottom:u?'large':'none',onPress:function(){return p(n)},accessibilityState:{checked:o},children:(0,w.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,w.jsx)(l.Text,{size:"large",color:"default",children:n}),(0,w.jsx)(l.Spacer.Horizontal,{}),o&&(0,w.jsx)(l.CheckIcon,{})]})}),!u&&(0,w.jsx)(l.Divider,{})]},n)})})]})})]})}function P(){var n,i,t=(0,b.useUpdatesConfig)(),s=o.useRef(t).current,c=(0,b.useSetUpdatesConfig)(),u=(0,y.useToastStack)();return(0,w.jsxs)(l.View,{my:"medium",children:[(0,w.jsxs)(l.View,{px:"medium",children:[(0,w.jsx)(l.Heading,{color:"secondary",children:"EAS Update Debug Settings"}),(0,w.jsx)(l.Spacer.Vertical,{size:"medium"})]}),(0,w.jsxs)(l.View,{px:"medium",children:[(0,w.jsx)(l.Heading,{color:"secondary",children:"Current Settings"}),(0,w.jsx)(l.Spacer.Vertical,{size:"medium"})]}),(0,w.jsx)(l.View,{bg:"default",padding:"medium",rounded:"large",children:(0,w.jsx)(l.Text,{type:"mono",children:JSON.stringify(t,null,2)})}),(0,w.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,w.jsxs)(l.View,{px:"medium",children:[(0,w.jsx)(l.Heading,{size:"small",color:"secondary",children:"EAS Updates App ID"}),(0,w.jsx)(l.Spacer.Vertical,{size:"small"})]}),(0,w.jsx)(l.View,{bg:"default",rounded:"large",py:"small",px:"small",children:(0,w.jsx)(l.TextInput,{blurOnSubmit:!0,autoCapitalize:"none",keyboardType:"url",placeholder:"Set App Id",defaultValue:null!=(n=null==t?void 0:t.appId)?n:'',onSubmitEditing:function(n){var i=n.nativeEvent.text,t=i,l=!0;0===i.length&&(t=s.appId,l=!1),c({appId:i,usesEASUpdates:l}),u.push(function(){return(0,w.jsx)(x.Toasts.Info,{children:"Updated appId to "+t})})}})}),(0,w.jsx)(l.Spacer.Vertical,{size:"small"}),(0,w.jsx)(l.View,{px:"medium",children:(0,w.jsx)(l.Heading,{size:"small",color:"secondary",children:"Runtime Version"})}),(0,w.jsx)(l.View,{bg:"default",rounded:"large",py:"small",px:"small",children:(0,w.jsx)(l.TextInput,{blurOnSubmit:!0,autoCapitalize:"none",keyboardType:"url",placeholder:"Set Runtime Version",defaultValue:null!=(i=null==t?void 0:t.runtimeVersion)?i:'',onSubmitEditing:function(n){var i=n.nativeEvent.text,t=i;0===i.length&&(t=s.runtimeVersion),c({runtimeVersion:i}),u.push(function(){return(0,w.jsx)(x.Toasts.Info,{children:"Updated runtimeVersion to "+t})})}})}),(0,w.jsx)(l.Spacer.Vertical,{size:"large"})]})}},1387,[6,31,272,42,841,164,2,1237,1378,1333,1234,1343,1345,1236,1334,1336,1349,184]);
1394
- __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.UserProfileScreen=function(n){var h=n.navigation,P=(0,x.useUser)(),v=P.userData,S=P.selectedAccount,V=(0,p.useModalStack)(),L=(0,x.useUserActions)(),O=l.useState(!1),z=(0,o.default)(O,2),B=z[0],C=z[1],A=(M=(0,t.default)(function*(){C(!0),yield L.login('login'),C(!1)}),function(){return M.apply(this,arguments)}),k=(I=(0,t.default)(function*(){C(!0),yield L.login('signup'),C(!1)}),function(){return I.apply(this,arguments)}),D=null!=v;var I;var M;return(0,j.jsx)(u.SafeAreaView,{style:{flex:1},children:(0,j.jsx)(c.ScrollView,{style:{flex:1},children:(0,j.jsxs)(s.View,{children:[(0,j.jsx)(y,{onClosePress:function(){h.goBack()}}),(0,j.jsx)(s.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(s.View,{px:"medium",children:D?(0,j.jsx)(b,{userData:v,selectedAccount:S,onSelectAccount:function(n){L.setSelectedAccount(n.id)},onLogoutPress:function(){V.push(function(){return(0,j.jsx)(f.LogoutConfirmationModal,{onClosePress:function(){return V.pop()},onLogoutPress:(0,t.default)(function*(){yield L.logout(),V.pop()})})})}}):(0,j.jsx)(w,{isLoading:B,onLoginPress:A,onSignupPress:k})})]})})})};var t=n(r(d[1])),o=n(r(d[2])),s=r(d[3]),l=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var o=h(t);if(o&&o.has(n))return o.get(n);var s={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var u=l?Object.getOwnPropertyDescriptor(n,c):null;u&&(u.get||u.set)?Object.defineProperty(s,c,u):s[c]=n[c]}s.default=n,o&&o.set(n,s);return s})(r(d[4])),c=r(d[5]),u=r(d[6]),f=r(d[7]),p=r(d[8]),x=r(d[9]),j=r(d[10]);function h(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(n){return n?o:t})(n)}function y(n){var t=n.onClosePress;return(0,j.jsxs)(s.View,{children:[(0,j.jsx)(s.Spacer.Vertical,{size:"small"}),(0,j.jsxs)(s.Row,{align:"center",children:[(0,j.jsx)(s.View,{px:"medium",children:(0,j.jsx)(s.Heading,{size:"large",children:"Account"})}),(0,j.jsx)(s.Spacer.Horizontal,{}),(0,j.jsx)(s.Button.ScaleOnPressContainer,{onPress:t,accessibilityLabel:"Go Back",rounded:"full",bg:"ghost",minScale:.9,children:(0,j.jsx)(s.View,{padding:"medium",rounded:"full",children:(0,j.jsx)(s.XIcon,{})})})]})]})}function w(n){var t=n.onLoginPress,o=n.onSignupPress,l=n.isLoading;return(0,j.jsxs)(s.View,{px:"small",py:"medium",bg:"default",rounded:"large",children:[(0,j.jsx)(s.Text,{color:"secondary",size:"small",leading:"large",children:"Log in or create an account to view local development servers and more."}),(0,j.jsx)(s.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(s.Button.ScaleOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:t,disabled:l,accessibilityLabel:"Log in",children:(0,j.jsx)(s.View,{py:"small",children:(0,j.jsx)(s.Button.Text,{color:"tertiary",weight:"semibold",align:"center",children:"Log In"})})}),(0,j.jsx)(s.Spacer.Vertical,{size:"small"}),(0,j.jsx)(s.Button.ScaleOnPressContainer,{bg:"secondary",rounded:"medium",onPress:o,disabled:l,accessibilityLabel:"Sign Up",children:(0,j.jsx)(s.View,{py:"small",children:(0,j.jsx)(s.Button.Text,{color:"secondary",weight:"semibold",align:"center",children:"Sign Up"})})}),l&&(0,j.jsx)(s.View,{style:{position:'absolute',right:0,left:0,top:0,bottom:0,alignItems:'center',justifyContent:'center'},children:(0,j.jsx)(c.ActivityIndicator,{size:"small"})})]})}function b(n){var t=n.userData,o=n.selectedAccount,l=n.onSelectAccount,c=n.onLogoutPress,u=[],f=[];for(var p of t.accounts)null!=p&&(null!=p.owner?u.push(p):f.push(p));var x=[].concat(u,f);return(0,j.jsxs)(s.View,{children:[(0,j.jsx)(s.View,{children:x.map(function(n,t,c){var u,f,p,x=t===c.length-1,h=0===t,y=n.id===(null==o?void 0:o.id);return(0,j.jsxs)(s.Button.ScaleOnPressContainer,{onPress:function(){return l(n)},bg:"default",roundedBottom:x?'large':'none',roundedTop:h?'large':'none',children:[(0,j.jsxs)(s.Row,{align:"center",py:"small",px:"medium",bg:"default",children:[(0,j.jsx)(s.View,{rounded:"full",bg:"secondary",children:(0,j.jsx)(s.Image,{size:"large",rounded:"full",source:{uri:null==(u=n.owner)?void 0:u.profilePhoto}})}),(0,j.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(s.View,{children:(0,j.jsx)(s.Heading,{children:null!=(f=null==(p=n.owner)?void 0:p.username)?f:n.name})}),(0,j.jsx)(s.Spacer.Vertical,{}),y&&(0,j.jsx)(s.CheckIcon,{testID:"active-account-checkmark-"+n.id})]}),!x&&(0,j.jsx)(s.Divider,{})]},n.id)})}),(0,j.jsx)(s.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(s.Button.ScaleOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:c,children:(0,j.jsx)(s.View,{py:"small",rounded:"medium",children:(0,j.jsx)(s.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})]})}},1388,[6,272,42,841,164,2,482,1389,1357,1349,184]);
1395
- __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.LogoutConfirmationModal=function(l){var s=l.onLogoutPress,u=l.onClosePress;return(0,o.jsxs)(n.BaseModal,{title:"Confirm logout",children:[(0,o.jsx)(t.Heading,{weight:"medium",children:"Are you sure you want to log out?"}),(0,o.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,o.jsxs)(t.Row,{children:[(0,o.jsx)(t.View,{flex:"1",grow:"1",children:(0,o.jsx)(t.Button.ScaleOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:s,accessibilityLabel:"Log out",children:(0,o.jsx)(t.View,{padding:"small",rounded:"medium",children:(0,o.jsx)(t.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})}),(0,o.jsx)(t.Spacer.Horizontal,{size:"medium"}),(0,o.jsx)(t.View,{flex:"1",grow:"1",children:(0,o.jsx)(t.Button.ScaleOnPressContainer,{bg:"ghost",border:"ghost",rounded:"medium",onPress:u,children:(0,o.jsx)(t.View,{padding:"small",rounded:"medium",children:(0,o.jsx)(t.Button.Text,{color:"ghost",weight:"bold",align:"center",children:"Nevermind"})})})})]})]})};var t=r(d[0]),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=l(n);if(o&&o.has(t))return o.get(t);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var f=u?Object.getOwnPropertyDescriptor(t,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=t[c]}s.default=t,o&&o.set(t,s)})(r(d[1])),r(d[2])),o=r(d[3]);function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(l=function(t){return t?o:n})(t)}},1389,[841,164,1361,184]);
1380
+ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ScreenContainer=function(u){var f=u.children,c=(0,n.useWindowDimensions)().width;return(0,o.jsx)(t.View,{style:{flex:1,marginHorizontal:c>650?t.scale[14]:0},children:f})};var t=r(d[0]),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=u(n);if(o&&o.has(t))return o.get(t);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var p=c?Object.getOwnPropertyDescriptor(t,l):null;p&&(p.get||p.set)?Object.defineProperty(f,l,p):f[l]=t[l]}f.default=t,o&&o.set(t,f)})(r(d[1])),r(d[2])),o=r(d[3]);function u(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(u=function(t){return t?o:n})(t)}},1374,[841,164,2,184]);
1381
+ __d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useOnUpdatePress=function(){var t=(0,c.useToastStack)(),v=(0,u.useNavigation)(),y=(0,l.useUpdatesConfig)(),h=y.runtimeVersion,O=y.projectUrl,P=i.useState(''),b=(0,n.default)(P,2),j=b[0],U=b[1],M=i.useCallback(function(n){var u=n.runtimeVersion===h;if(u){var i;U(n.id);var c=(0,s.formatUpdateUrl)(n.manifestPermalink,n.message),l=null==(i=v.getParent())?void 0:i.getParent();try{var y=JSON.stringify(null==l?void 0:l.getState());(0,f.saveNavigationStateAsync)(y)}catch(t){}return(0,f.loadUpdate)(c,O).catch(function(n){U(''),t.push(function(){return(0,p.jsx)(o.Toasts.Error,{children:n.message})},{durationMs:1e4})}).then(function(){return U('')})}0===t.getItems().filter(function(t){return'pushing'===t.status||'settled'===t.status}).length&&t.push(function(){return(0,p.jsx)(o.Toasts.Warning,{children:"To run this update, you need a compatible development build with runtime version "+n.runtimeVersion+"."})},{durationMs:1e4})},[h,O,t,v]);return{loadingUpdateId:j,onUpdatePress:M}};var n=t(r(d[1])),u=r(d[2]),i=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=v(n);if(u&&u.has(t))return u.get(t);var i={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var f=o?Object.getOwnPropertyDescriptor(t,s):null;f&&(f.get||f.set)?Object.defineProperty(i,s,f):i[s]=t[s]}i.default=t,u&&u.set(t,i);return i})(r(d[3])),o=r(d[4]),s=r(d[5]),f=r(d[6]),c=r(d[7]),l=r(d[8]),p=r(d[9]);function v(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(v=function(t){return t?u:n})(t)}},1375,[6,42,391,164,1333,1376,1234,1334,1336,184]);
1382
+ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.formatUpdateUrl=function(n,o){var t="url="+encodeURIComponent(n),p="updateMessage="+encodeURIComponent(o);return"expo-dev-client://expo-development-client?"+t+"&"+p}},1376,[]);
1383
+ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.ExtensionsScreen=function(c){var u=c.navigation,x=(0,f.useUser)().isAuthenticated,j=(0,f.useUserActions)(),v=(0,y.useUpdatesConfig)(),S=v.usesEASUpdates,z=v.appId,L=(0,w.useBranchesForApp)(z,x),B=L.isLoading,P=L.error,U=L.data,R=L.emptyBranches,E=L.incompatibleBranches,T=L.isRefreshing,O=L.refetch,A=(0,p.useThrottle)(T,1e3);var k=[],C=null!=P&&!B;S&&!C&&k.push('EASUpdates');return(0,b.jsxs)(n.View,{children:[(0,b.jsx)(o.AppHeader,{navigation:u}),(0,b.jsx)(t.ScrollView,{contentContainerStyle:{paddingBottom:n.scale[48]},refreshControl:null!=z?(0,b.jsx)(s.RefreshControl,{refreshing:A,onRefresh:function(){return O()}}):null,children:(0,b.jsxs)(h.ScreenContainer,{children:[0===k.length&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,b.jsxs)(n.View,{bg:"default",mx:"medium",py:"medium",px:"medium",rounded:"medium",children:[(0,b.jsx)(n.View,{align:"centered",children:(0,b.jsx)(n.ExtensionsIcon,{})}),(0,b.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,b.jsxs)(n.View,{px:"small",children:[(0,b.jsxs)(n.Text,{size:"small",align:"center",children:["Extensions allow you to customize your development build with additional capabilities.",' ',(0,b.jsx)(n.Text,{size:"small",style:{textDecorationLine:'underline'},onPress:function(){return s.Linking.openURL("https://docs.expo.dev/development/extensions/")},accessibilityRole:"link",children:"Learn more."})]}),(0,b.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,b.jsxs)(n.Text,{size:"small",align:"center",children:["If you would like to extend the display on this screen",' ',(0,b.jsx)(n.Text,{size:"small",style:{textDecorationLine:'underline'},onPress:function(){return s.Linking.openURL("https://expo.canny.io/feature-requests")},accessibilityRole:"link",children:"let us know about your use case"})]})]})]})]}),S&&x&&!C&&(0,b.jsxs)(n.View,{children:[(0,b.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,b.jsx)(V,{navigation:u,isLoading:B,branches:U,emptyBranches:R,incompatibleBranches:E}),(0,b.jsx)(n.Spacer.Vertical,{size:"medium"})]}),S&&!x&&(0,b.jsxs)(n.View,{children:[(0,b.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,b.jsxs)(n.View,{mx:"medium",padding:"medium",bg:"default",rounded:"large",children:[(0,b.jsx)(n.Text,{color:"secondary",size:"small",children:"Log in or create an account to get started with Extensions"}),(0,b.jsx)(n.Spacer.Vertical,{size:"large"}),(0,b.jsxs)(n.View,{children:[(0,b.jsx)(n.Button.ScaleOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:function(){j.login('login')},accessibilityLabel:"Log in",children:(0,b.jsx)(n.View,{py:"small",children:(0,b.jsx)(n.Button.Text,{color:"tertiary",weight:"semibold",align:"center",children:"Log In"})})}),(0,b.jsx)(n.Spacer.Vertical,{size:"small"}),(0,b.jsx)(n.Button.ScaleOnPressContainer,{bg:"secondary",rounded:"medium",onPress:function(){j.login('signup')},accessibilityLabel:"Sign Up",children:(0,b.jsx)(n.View,{py:"small",children:(0,b.jsx)(n.Button.Text,{color:"secondary",weight:"semibold",align:"center",children:"Sign Up"})})})]})]}),(0,b.jsx)(n.Spacer.Vertical,{size:"medium"})]}),k.length>0&&(0,b.jsx)(n.View,{px:"xl",children:(0,b.jsxs)(n.Text,{size:"small",color:"secondary",children:["Extensions allow you to customize your development build with additional capabilities.",' ',(0,b.jsx)(n.Text,{size:"small",style:{textDecorationLine:'underline'},onPress:function(){return s.Linking.openURL("https://docs.expo.dev/development/extensions/")},accessibilityRole:"link",children:"Learn more."})]})}),B&&x&&(0,b.jsx)(n.View,{mt:"medium",inset:"full",align:"centered",mx:"medium",rounded:"large",bg:"default",children:(0,b.jsx)(l.ActivityIndicator,{})})]})})]})};var n=r(d[0]),s=((function(n,s){if(!s&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var t=v(s);if(t&&t.has(n))return t.get(n);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var u=o?Object.getOwnPropertyDescriptor(n,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=n[c]}l.default=n,t&&t.set(n,l)})(r(d[1])),r(d[2])),t=r(d[3]),l=r(d[4]),o=r(d[5]),c=r(d[6]),u=r(d[7]),x=r(d[8]),h=r(d[9]),p=r(d[10]),j=r(d[11]),y=r(d[12]),f=r(d[13]),w=r(d[14]),b=r(d[15]);function v(n){if("function"!=typeof WeakMap)return null;var s=new WeakMap,t=new WeakMap;return(v=function(n){return n?t:s})(n)}function V(s){var t=s.navigation,l=(s.isLoading,s.branches),o=s.emptyBranches,h=s.incompatibleBranches,p=(0,j.useOnUpdatePress)(),y=p.loadingUpdateId,f=p.onUpdatePress;function w(){t.navigate('Branches')}var v=l.length+o.length;return 0===l.length&&o.length>0?(0,b.jsxs)(n.View,{mx:"medium",children:[(0,b.jsx)(n.View,{py:"small",px:"small",children:(0,b.jsx)(n.Heading,{size:"small",color:"secondary",children:"EAS Update"})}),o.slice(0,3).map(function(s,l,o){var u=0===l,x=l===(null==o?void 0:o.length)-1;return(0,b.jsxs)(n.View,{children:[(0,b.jsx)(c.EASEmptyBranchRow,{branch:s,isFirst:u,isLast:x,navigation:t}),!x&&(0,b.jsx)(n.Divider,{})]},s.id)}),o.length>1&&(0,b.jsx)(n.Button.ScaleOnPressContainer,{onPress:w,bg:"default",roundedTop:"none",roundedBottom:"large",children:(0,b.jsx)(n.View,{bg:"default",py:"small",px:"small",roundedTop:"none",roundedBottom:"large",children:(0,b.jsxs)(n.Row,{children:[(0,b.jsx)(n.Text,{size:"medium",children:"See all branches"}),(0,b.jsx)(n.Spacer.Horizontal,{}),(0,b.jsx)(n.ChevronRightIcon,{})]})})})]}):0===l.length?(0,b.jsxs)(n.View,{mx:"medium",children:[(0,b.jsx)(n.View,{px:"small",children:(0,b.jsx)(n.Heading,{size:"small",color:"secondary",children:"EAS Updates"})}),(0,b.jsx)(n.Spacer.Vertical,{size:"small"}),(0,b.jsx)(u.EmptyBranchesMessage,{branches:l,incompatibleBranches:h})]}):(0,b.jsxs)(n.View,{mx:"medium",children:[(0,b.jsx)(n.View,{py:"small",px:"small",children:(0,b.jsx)(n.Heading,{size:"small",color:"secondary",children:"EAS Updates"})}),null==l?void 0:l.slice(0,2).map(function(s,l,o){var u,x=0===l,h=l===o.length-1&&v<=1,p=(null==(u=s.updates[0])?void 0:u.id)===y;return(0,b.jsxs)(n.View,{children:[(0,b.jsx)(c.EASBranchRow,{branch:s,isFirst:x,isLast:h,navigation:t,isLoading:p,onUpdatePress:f}),(0,b.jsx)(n.Divider,{})]},s.name)}),v>1&&(0,b.jsx)(x.ListButton,{onPress:w,isLast:!0,children:(0,b.jsxs)(n.Row,{children:[(0,b.jsx)(n.Text,{size:"medium",children:"See all branches"}),(0,b.jsx)(n.Spacer.Horizontal,{}),(0,b.jsx)(n.ChevronRightIcon,{})]})})]})}},1377,[841,164,2,538,1367,1378,1368,1370,1369,1374,1373,1375,1336,1349,1278,184]);
1384
+ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.AppHeader=function(u){var f,x,h=u.navigation,p=(0,s.useBuildInfo)(),j=(0,l.useWindowDimensions)().width,w=p.appName,y=p.appIcon,b=(0,o.useUser)(),v=b.userData,O=b.selectedAccount,P=null!=v,V=null!=(f=null==O?void 0:null==(x=O.owner)?void 0:x.profilePhoto)?f:null;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(n.View,{bg:"default",pt:"small",pb:"small",style:{paddingHorizontal:j>650?n.scale[14]:0},children:[(0,c.jsx)(t.SafeAreaTop,{}),(0,c.jsxs)(n.Row,{align:"center",children:[(0,c.jsx)(n.Spacer.Horizontal,{size:"medium"}),(0,c.jsx)(n.View,{flex:"1",shrink:"1",children:(0,c.jsxs)(n.Row,{align:"center",children:[(0,c.jsx)(n.View,{height:"xl",width:"xl",rounded:"large",bg:"secondary",children:Boolean(y)&&(0,c.jsx)(n.Image,{size:"xl",rounded:"large",source:{uri:y}})}),(0,c.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,c.jsxs)(n.View,{flex:"1",children:[(0,c.jsx)(n.Heading,{weight:"semibold",numberOfLines:1,children:w}),(0,c.jsx)(n.Text,{size:"small",color:"secondary",children:"Development Build"})]})]})}),(0,c.jsxs)(n.View,{align:"centered",style:{justifyContent:'flex-end'},children:[(0,c.jsx)(n.Button.ScaleOnPressContainer,{onPress:function(){h.navigate('User Profile')},minScale:.85,accessibilityLabel:"Navigate to User Profile",bg:"ghost",rounded:"full",children:(0,c.jsx)(n.View,{children:P?(0,c.jsx)(n.View,{rounded:"full",padding:"small",children:(0,c.jsx)(n.View,{height:"xl",width:"xl",bg:"secondary",rounded:"full",children:V&&(0,c.jsx)(n.Image,{size:"xl",rounded:"full",source:{uri:V}})})}):(0,c.jsx)(n.View,{mx:"small",children:(0,c.jsx)(n.View,{bg:"default",rounded:"full",padding:"tiny",children:(0,c.jsx)(n.UserIcon,{})})})})}),!V&&(0,c.jsx)(n.Row,{style:{height:n.scale[2],flexWrap:'wrap',maxWidth:n.scale[16],paddingRight:n.scale[2],transform:[{translateY:-n.scale[2]}]},children:(0,c.jsx)(n.Text,{numberOfLines:1,size:"small",align:"center",weight:"medium",children:null==O?void 0:O.name})})]})]})]}),(0,c.jsx)(n.Divider,{weight:"thin"})]})};var n=r(d[0]),l=((function(n,l){if(!l&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var t=u(l);if(t&&t.has(n))return t.get(n);var s={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var f=o?Object.getOwnPropertyDescriptor(n,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=n[c]}s.default=n,t&&t.set(n,s)})(r(d[1])),r(d[2])),t=r(d[3]),s=r(d[4]),o=r(d[5]),c=r(d[6]);function u(n){if("function"!=typeof WeakMap)return null;var l=new WeakMap,t=new WeakMap;return(u=function(n){return n?t:l})(n)}},1378,[841,164,2,1379,1343,1349,184]);
1385
+ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.SafeAreaTop=function(){var f=(0,n.useSafeAreaInsets)().top;return(0,o.jsx)(t.View,{style:{height:f}})};var t=r(d[0]),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=f(n);if(o&&o.has(t))return o.get(t);var u={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var l=p?Object.getOwnPropertyDescriptor(t,c):null;l&&(l.get||l.set)?Object.defineProperty(u,c,l):u[c]=t[c]}u.default=t,o&&o.set(t,u)})(r(d[1])),r(d[2])),o=r(d[3]);function f(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(f=function(t){return t?o:n})(t)}},1379,[841,164,482,184]);
1386
+ __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.UpdatesScreen=function(n){var c=n.route,w=(0,j.useUpdatesConfig)().runtimeVersion,b=c.params.branchName,P=l.useState(!1),O=(0,t.default)(P,2),z=O[0],U=O[1],C=(0,y.useUpdatesForBranch)(b),S=C.data,R=C.isLoading,k=C.hasNextPage,B=C.fetchNextPage,F=C.refetch,N=C.isRefreshing,T=C.isFetchingNextPage;function A(){U(!0),B()}var E=(0,f.useOnUpdatePress)(),H=E.onUpdatePress,I=E.loadingUpdateId;return(0,V.jsx)(x.ScreenContainer,{children:(0,V.jsxs)(s.View,{flex:"1",children:[(0,V.jsx)(v,{branchName:b,updates:S,onOpenPress:function(){return H(S[0])}}),(0,V.jsx)(p.FlatList,{isLoading:R,isRefreshing:N,onRefresh:function(){return F()},ListHeaderComponent:function(){if(0===S.length)return null;return(0,V.jsx)(s.View,{py:"small",px:"large",children:(0,V.jsx)(s.Heading,{size:"small",color:"secondary",children:"Updates"})})},data:S,extraData:{length:S.length,loadingUpdateId:I},renderItem:function(n){var t=n.index,l=n.item,o=0===t,c=t===S.length-1,u=l.runtimeVersion===w,p=l.id===I;return(0,V.jsxs)(s.View,{px:"medium",opacity:u?'1':'0.5',children:[(0,V.jsx)(h.EASUpdateRow,{update:l,isFirst:o,isLast:c,isLoading:p,onPress:function(){return H(l)}}),!c&&(0,V.jsx)(s.Divider,{})]})},keyExtractor:function(n){return n.id},ListFooterComponent:function(){if(k)return(0,V.jsx)(s.View,{align:"centered",mt:"large",children:(0,V.jsx)(u.BasicButton,{label:"Load More",isLoading:T,onPress:A,size:"small"})});if(S.length>0&&z)return(0,V.jsx)(L,{});return null},ListEmptyComponent:function(){return(0,V.jsx)(x.ScreenContainer,{children:(0,V.jsx)(s.View,{mt:"large",mx:"medium",bg:"default",rounded:"large",padding:"medium",children:(0,V.jsxs)(s.View,{children:[(0,V.jsx)(s.Heading,{children:"There are no updates available for this branch."}),(0,V.jsx)(s.Spacer.Vertical,{size:"small"}),(0,V.jsx)(s.Text,{color:"secondary",size:"small",children:"Updates allow you to deliver code directly to your users."}),(0,V.jsx)(s.View,{py:"medium",align:"centered",children:(0,V.jsx)(s.Button.ScaleOnPressContainer,{bg:"tertiary",onPress:function(){o.Linking.openURL("https://docs.expo.dev/eas-update/how-eas-update-works/")},children:(0,V.jsx)(s.View,{px:"2.5",py:"2",children:(0,V.jsx)(s.Button.Text,{weight:"medium",color:"tertiary",children:"Publish an update"})})})})]})})})}})]})})};var t=n(r(d[1])),s=r(d[2]),l=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var s=b(t);if(s&&s.has(n))return s.get(n);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var u=o?Object.getOwnPropertyDescriptor(n,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=n[c]}l.default=n,s&&s.set(n,l);return l})(r(d[3])),o=r(d[4]),c=r(d[5]),u=r(d[6]),h=r(d[7]),p=r(d[8]),x=r(d[9]),f=r(d[10]),j=r(d[11]),w=r(d[12]),y=r(d[13]),V=r(d[14]);function b(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(b=function(n){return n?s:t})(n)}function v(n){var t=n.branchName,l=n.updates,o=n.onOpenPress,c=(0,j.useUpdatesConfig)(),h=c.appId,p=c.runtimeVersion,x=(0,w.useChannelsForApp)(h).data,f=[];null==x||x.forEach(function(n){n.branches.includes(t)&&f.push(t)});var y=l.length>0,b=l[0],v=(null==b?void 0:b.runtimeVersion)===p;return(0,V.jsxs)(s.View,{bg:"default",px:"medium",py:"medium",children:[(0,V.jsxs)(s.Row,{align:"center",children:[(0,V.jsx)(s.View,{width:"8",children:(0,V.jsx)(s.BranchIcon,{})}),(0,V.jsx)(s.View,{shrink:"1",children:(0,V.jsx)(s.Heading,{weight:"bold",numberOfLines:2,children:t})}),(0,V.jsx)(s.Spacer.Horizontal,{}),y&&(0,V.jsx)(s.View,{opacity:v?'1':'0.75',style:{marginLeft:s.scale.small},children:(0,V.jsx)(u.BasicButton,{label:"Open Latest",onPress:o,size:"small"})})]}),f.length>0&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(s.Spacer.Vertical,{size:"medium"}),(0,V.jsx)(P,{channels:f})]})]})}function P(n){var t=n.channels,l=(0,s.useExpoPalette)();return 0===t.length?null:(0,V.jsx)(s.View,{children:(0,V.jsxs)(s.Row,{align:"center",children:[(0,V.jsxs)(s.Text,{size:"small",color:"secondary",children:["Available on:",' ']}),(0,V.jsx)(c.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1,children:(0,V.jsx)(s.Row,{children:t.map(function(n){return(0,V.jsx)(s.View,{children:(0,V.jsx)(s.View,{align:"start",rounded:"medium",px:"1.5",mx:"0.5",py:"1",style:{backgroundColor:l.orange['000']},children:(0,V.jsx)(s.Text,{size:"small",children:"Channel: "+n})},n)},n)})})})]})})}function L(){var n=l.useRef(new o.Animated.Value(1));return l.useEffect(function(){o.Animated.timing(n.current,{toValue:0,duration:800,delay:800,useNativeDriver:!0}).start()},[]),(0,V.jsx)(o.Animated.View,{style:{opacity:n.current},children:(0,V.jsx)(s.View,{mt:"medium",children:(0,V.jsx)(s.Text,{align:"center",size:"small",color:"secondary",children:"There are no more updates for this branch!"})})})}},1380,[6,42,841,164,2,538,1366,1368,1372,1374,1375,1336,1381,1337,184]);
1387
+ __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.useChannelsForApp=function(n){var t=(0,l.useToastStack)(),u=(0,p.useQuery)(['channels',n],function(){return b(n)});return f.useEffect(function(){u.error&&0===t.getItems().length&&t.push(function(){return(0,h.jsx)(s.Toasts.Error,{children:"Something went wrong trying to find the channels for this branch."})})},[u.error]),u};var t,u=n(r(d[1])),o=r(d[2]),f=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var u=y(t);if(u&&u.has(n))return u.get(n);var o={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in n)if("default"!==p&&Object.prototype.hasOwnProperty.call(n,p)){var c=f?Object.getOwnPropertyDescriptor(n,p):null;c&&(c.get||c.set)?Object.defineProperty(o,p,c):o[p]=n[p]}o.default=n,u&&u.set(n,o);return o})(r(d[3])),p=r(d[4]),c=r(d[5]),s=r(d[6]),l=r(d[7]),h=r(d[8]);function y(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,u=new WeakMap;return(y=function(n){return n?u:t})(n)}var v=(0,o.gql)(t||(t=(0,u.default)(["\n query getUpdates($appId: String!) {\n app {\n byId(appId: $appId) {\n updateChannels(offset: 0, limit: 10) {\n name\n updateBranches(offset: 0, limit: 10) {\n name\n }\n }\n }\n }\n }\n"])));function b(n){var t={appId:n};return c.apiClient.request(v,t).then(function(n){var t=[];return n.app.byId.updateChannels.forEach(function(n){var u={name:n.name,branches:n.updateBranches.map(function(n){return n.name})};t.push(u)}),t})}},1381,[6,1279,1313,164,1237,1331,1333,1334,184]);
1388
+ __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.HomeScreen=function(n){var p=n.fetchOnMount,j=void 0!==p&&p,R=n.pollInterval,C=void 0===R?1e3:R,M=n.pollAmount,A=void 0===M?5:M,D=n.navigation,L=(0,V.useModalStack)(),U=o.useState(''),k=(0,t.default)(U,2),E=k[0],F=k[1],W=o.useState(''),_=(0,t.default)(W,2),N=_[0],Q=_[1],q=(0,z.useDevSessions)(),G=q.data,J=q.pollAsync,K=q.isFetching,X=(0,P.useToastStack)(),Y=(0,O.useUpdatesConfig)().projectUrl,Z=(0,b.useCrashReport)(),$=o.useRef(G);o.useEffect(function(){0===$.current.length&&j&&J({pollAmount:A,pollInterval:C})},[j,C,A,J]);var ee=(ae=(0,s.default)(function*(n){Q(n),yield(0,y.loadApp)(n).catch(function(n){Q(''),L.push(function(){return(0,T.jsx)(h.LoadAppErrorModal,{message:n.message})})}),Q('')}),function(n){return ae.apply(this,arguments)}),ne=(ie=(0,s.default)(function*(n){ee(n.url)}),function(n){return ie.apply(this,arguments)}),re=(le=(0,s.default)(function*(n){ee(n)}),function(n){return le.apply(this,arguments)}),se=(te=(0,s.default)(function*(n){if(n.isEASUpdate){var s=(0,w.formatUpdateUrl)(n.url,n.updateMessage);(0,y.loadUpdate)(s,Y).catch(function(n){X.push(function(){return(0,T.jsx)(v.Toasts.Error,{children:n.message})},{durationMs:1e4})})}else ee(n.url)}),function(n){return te.apply(this,arguments)});var te;var le;var ie;var ae;return(0,T.jsxs)(l.View,{testID:"DevLauncherMainScreen",children:[(0,T.jsx)(u.AppHeader,{navigation:D}),(0,T.jsx)(c.ScrollView,{style:{},contentContainerStyle:{paddingBottom:l.scale[48]},children:(0,T.jsxs)(f.ScreenContainer,{children:[Z&&(0,T.jsx)(l.View,{px:"medium",py:"small",mt:"small",children:(0,T.jsx)(l.Button.ScaleOnPressContainer,{onPress:function(){D.navigate('Crash Report',Z)},bg:"default",rounded:"large",children:(0,T.jsx)(l.Row,{align:"center",padding:"medium",bg:"default",children:(0,T.jsx)(l.Button.Text,{color:"default",children:"The last time you tried to open an app the development build crashed. Tap to get more information."})})})}),(0,T.jsxs)(l.View,{py:"large",children:[(0,T.jsxs)(l.Row,{px:"small",align:"center",children:[(0,T.jsx)(l.View,{px:"medium",children:(0,T.jsx)(l.TerminalIcon,{})}),(0,T.jsx)(l.Heading,{color:"secondary",children:"Development servers"}),(0,T.jsx)(l.Spacer.Horizontal,{}),G.length>0&&(0,T.jsx)(l.Button.ScaleOnPressContainer,{bg:"ghost",rounded:"full",minScale:.85,onPress:function(){L.push(function(){return(0,T.jsx)(x.DevServerExplainerModal,{})})},children:(0,T.jsx)(l.View,{rounded:"full",padding:"tiny",children:(0,T.jsx)(l.InfoIcon,{})})})]}),(0,T.jsx)(l.Spacer.Vertical,{size:"small"}),(0,T.jsx)(l.View,{px:"medium",children:(0,T.jsxs)(l.View,{children:[0===G.length&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(l.View,{padding:"medium",bg:"default",roundedTop:"large",children:[(0,T.jsx)(l.Text,{children:"Start a local development server with:"}),(0,T.jsx)(l.Spacer.Vertical,{size:"small"}),(0,T.jsx)(l.View,{bg:"secondary",border:"default",rounded:"medium",padding:"medium",children:(0,T.jsx)(l.Text,{type:"mono",size:"small",children:"expo start --dev-client"})}),(0,T.jsx)(l.Spacer.Vertical,{size:"small"}),(0,T.jsx)(l.Text,{children:"Then, select the local server when it appears here."}),(0,T.jsx)(l.Spacer.Vertical,{size:"small"}),(0,T.jsx)(l.Text,{children:"Alternatively, open the Camera app and scan the QR code that appears in your terminal"})]}),(0,T.jsx)(l.Divider,{})]}),(null==G?void 0:G.length)>0&&(0,T.jsx)(B,{devSessions:G,onDevSessionPress:ne}),(0,T.jsx)(H,{isFetching:K,onRefetchPress:function(){J({pollAmount:A,pollInterval:C})}}),(0,T.jsx)(l.Divider,{}),(0,T.jsx)(S.UrlDropdown,{onSubmit:re,inputValue:E,setInputValue:F,isLoading:''!==E&&E===N})]})}),(0,T.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,T.jsx)(I,{onRecentAppPress:se,loadingUrl:N})]})]})})]})};var s=n(r(d[1])),t=n(r(d[2])),l=r(d[3]),o=(function(n,s){if(!s&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var t=C(s);if(t&&t.has(n))return t.get(n);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var u=o?Object.getOwnPropertyDescriptor(n,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=n[c]}l.default=n,t&&t.set(n,l);return l})(r(d[4])),c=r(d[5]),u=r(d[6]),x=r(d[7]),p=r(d[8]),h=r(d[9]),j=r(d[10]),f=r(d[11]),v=r(d[12]),S=r(d[13]),w=r(d[14]),y=r(d[15]),b=r(d[16]),z=r(d[17]),V=r(d[18]),R=r(d[19]),P=r(d[20]),O=r(d[21]),T=r(d[22]);function C(n){if("function"!=typeof WeakMap)return null;var s=new WeakMap,t=new WeakMap;return(C=function(n){return n?t:s})(n)}function H(n){var s=n.isFetching,t=n.onRefetchPress,o=(0,l.useExpoTheme)(),c=s?o.status.info:o.status.default;return(0,T.jsx)(l.Button.ScaleOnPressContainer,{onPress:t,disabled:s,bg:"default",rounded:"none",children:(0,T.jsxs)(l.Row,{align:"center",padding:"medium",bg:"default",children:[(0,T.jsx)(l.View,{width:"6",children:(0,T.jsx)(j.PulseIndicator,{isActive:s,color:c})}),(0,T.jsx)(l.Button.Text,{color:"default",children:s?'Searching for development servers...':'Fetch development servers'}),(0,T.jsx)(l.Spacer.Horizontal,{}),!s&&(0,T.jsx)(l.RefreshIcon,{})]})})}function B(n){var s=n.devSessions,t=void 0===s?[]:s,o=n.onDevSessionPress;return 0===t.length?null:(0,T.jsx)(l.View,{children:t.map(function(n){return(0,T.jsxs)(l.View,{children:[(0,T.jsx)(l.Button.ScaleOnPressContainer,{onPress:function(){return o(n)},roundedTop:"large",roundedBottom:"none",bg:"default",children:(0,T.jsxs)(l.Row,{align:"center",padding:"medium",bg:"default",children:[(0,T.jsx)(l.StatusIndicator,{size:"small",status:"success"}),(0,T.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,T.jsx)(l.View,{flex:"1",children:(0,T.jsx)(l.Button.Text,{color:"default",numberOfLines:1,children:n.description})}),(0,T.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,T.jsx)(l.ChevronRightIcon,{})]})}),(0,T.jsx)(l.Divider,{})]},n.url)})})}function I(n){var s=n.onRecentAppPress,t=n.loadingUrl,o=(0,R.useRecentlyOpenedApps)(),c=o.data,u=o.clear;if(0===c.length)return null;function x(n){var s,t=null!=(s=n.name)?s:n.url;return n.isEASUpdate&&null!=n.updateMessage?(0,T.jsx)(D,{label:t,url:n.url,message:n.updateMessage,branchName:n.branchName}):(0,T.jsx)(A,{label:t,url:n.url})}return(0,T.jsxs)(l.View,{px:"medium",children:[(0,T.jsxs)(l.Row,{align:"center",py:"small",children:[(0,T.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,T.jsx)(l.Heading,{color:"secondary",children:"Recently opened"}),(0,T.jsx)(l.Spacer.Horizontal,{}),(0,T.jsx)(l.Button.ScaleOnPressContainer,{bg:"ghost",onPress:u,children:(0,T.jsx)(l.View,{rounded:"medium",px:"small",py:"micro",children:(0,T.jsx)(l.Heading,{size:"small",weight:"semibold",color:"secondary",children:"Reset"})})})]}),(0,T.jsx)(l.View,{children:c.map(function(n,o,c){var u=0===o,p=o===c.length-1,h=n.url===t;return(0,T.jsxs)(M,{isLoading:h,children:[(0,T.jsx)(l.Button.ScaleOnPressContainer,{onPress:function(){return s(n)},roundedTop:u?'large':'none',roundedBottom:p?'large':'none',py:"small",bg:"default",children:x(n)}),!p&&(0,T.jsx)(l.Divider,{})]},n.id)})})]})}function M(n){var s=n.children,t=n.isLoading,l=(0,p.useLoadingContainerStyle)(t);return(0,T.jsx)(c.Animated.View,{style:l,children:s})}function A(n){var s=n.label,t=n.url;return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(l.Row,{align:"center",px:"medium",bg:"default",children:[(0,T.jsx)(l.StatusIndicator,{size:"small",status:"success"}),(0,T.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,T.jsx)(l.View,{flex:"1",children:(0,T.jsx)(l.Button.Text,{color:"default",numberOfLines:1,children:s})}),(0,T.jsx)(l.ChevronRightIcon,{})]}),(0,T.jsxs)(l.Row,{px:"medium",align:"center",bg:"default",children:[(0,T.jsx)(l.Spacer.Vertical,{size:"tiny"}),(0,T.jsx)(l.Spacer.Horizontal,{size:"large"}),(0,T.jsx)(l.Row,{style:{flexWrap:'wrap',flexShrink:1},children:(0,T.jsx)(l.Text,{size:"small",color:"secondary",numberOfLines:1,children:t})})]})]})}function D(n){n.label;var s=n.url,t=n.branchName,o=n.message,c=(0,l.useExpoPalette)();return(0,T.jsxs)(l.View,{children:[(0,T.jsxs)(l.Row,{align:"center",px:"medium",bg:"default",children:[(0,T.jsxs)(l.Row,{shrink:"1",style:{backgroundColor:c.blue[100]},py:"tiny",px:"1.5",rounded:"medium",align:"center",children:[(0,T.jsx)(l.BranchIcon,{style:{maxHeight:10,maxWidth:12,resizeMode:'contain'},resizeMethod:"scale"}),(0,T.jsx)(l.Spacer.Horizontal,{size:"tiny"}),(0,T.jsx)(l.View,{shrink:"1",children:(0,T.jsx)(l.Text,{size:"small",numberOfLines:1,children:"Branch: "+t})})]}),(0,T.jsx)(l.Spacer.Horizontal,{}),(0,T.jsx)(l.ChevronRightIcon,{})]}),(0,T.jsx)(l.Spacer.Vertical,{size:"small",bg:"default"}),Boolean(o)&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(l.Row,{px:"medium",align:"center",bg:"default",children:(0,T.jsx)(l.View,{children:(0,T.jsx)(l.Heading,{size:"small",numberOfLines:1,children:"Update \""+o+"\""})})}),(0,T.jsx)(l.Spacer.Vertical,{size:"micro",bg:"default"})]}),(0,T.jsx)(l.Row,{px:"medium",align:"center",bg:"default",children:(0,T.jsx)(l.Row,{style:{flexWrap:'wrap',flexShrink:1},children:(0,T.jsx)(l.Text,{size:"small",color:"secondary",numberOfLines:1,children:s})})})]})}},1382,[6,272,42,841,164,2,1378,1383,1368,1362,1384,1374,1333,1385,1376,1234,1344,1346,1357,1360,1334,1336,184]);
1389
+ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.DevServerExplainerModal=function(){return(0,l.jsxs)(n.BaseModal,{title:"Development servers",children:[(0,l.jsx)(t.Spacer.Vertical,{size:"small"}),(0,l.jsx)(t.Text,{size:"medium",children:"Start a local development server with:"}),(0,l.jsx)(t.Spacer.Vertical,{size:"small"}),(0,l.jsx)(t.View,{bg:"secondary",border:"default",rounded:"medium",padding:"medium",children:(0,l.jsx)(t.Text,{type:"mono",size:"small",children:"expo start --dev-client"})}),(0,l.jsx)(t.Spacer.Vertical,{size:"large"}),(0,l.jsx)(t.Text,{children:"Then, select the local server when it appears here."}),(0,l.jsx)(t.Spacer.Vertical,{size:"small"}),(0,l.jsx)(t.Text,{children:"Alternatively, open the Camera app and scan the QR code that appears in your terminal"})]})};var t=r(d[0]),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var l=s(n);if(l&&l.has(t))return l.get(t);var o={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in t)if("default"!==p&&Object.prototype.hasOwnProperty.call(t,p)){var u=c?Object.getOwnPropertyDescriptor(t,p):null;u&&(u.get||u.set)?Object.defineProperty(o,p,u):o[p]=t[p]}o.default=t,l&&l.set(t,o)})(r(d[1])),r(d[2])),l=r(d[3]);function s(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,l=new WeakMap;return(s=function(t){return t?l:n})(t)}},1383,[841,164,1361,184]);
1390
+ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PulseIndicator=function(c){var l=c.isActive,f=c.color,s=n.useRef(new u.Animated.Value(0)),p=s.current.interpolate({inputRange:[0,1],outputRange:[.95,2]}),y=s.current.interpolate({inputRange:[0,1],outputRange:[1,0]}),v=n.useRef(u.Animated.loop(u.Animated.timing(s.current,{toValue:1,duration:1200,useNativeDriver:!0})));return n.useEffect(function(){l?v.current.start():(s.current.setValue(0),v.current.stop(),v.current.reset())},[l]),(0,o.jsx)(t.StatusIndicator,{size:"small",style:{backgroundColor:f},children:(0,o.jsx)(u.Animated.View,{style:{flex:1,borderRadius:100,transform:[{scale:p}],opacity:y,backgroundColor:f}})})};var t=r(d[0]),n=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var u=c(n);if(u&&u.has(t))return u.get(t);var o={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in t)if("default"!==f&&Object.prototype.hasOwnProperty.call(t,f)){var s=l?Object.getOwnPropertyDescriptor(t,f):null;s&&(s.get||s.set)?Object.defineProperty(o,f,s):o[f]=t[f]}o.default=t,u&&u.set(t,o);return o})(r(d[1])),u=r(d[2]),o=r(d[3]);function c(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,u=new WeakMap;return(c=function(t){return t?u:n})(t)}},1384,[841,164,2,184]);
1391
+ __d(function(g,r,_i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.UrlDropdown=function(t){var n=t.onSubmit,p=t.isLoading,y=t.inputValue,h=t.setInputValue,j=(0,i.useExpoTheme)(),O=(0,i.useCurrentTheme)(),v={dark:{active:j.background.secondary,inactive:j.background.default},light:{active:j.background.secondary,inactive:j.background.default}},w=u.useRef(),x=u.useState(!1),P=(0,o.default)(x,2),D=P[0],C=P[1],k=u.useState(!0),I=(0,o.default)(k,2),T=I[0],S=I[1],V=u.useState(!1),L=(0,o.default)(V,2),B=L[0],R=L[1],U={transform:[{translateX:-3},{rotate:D?'90deg':'0deg'}]},M=u.useRef(Date.now()),_=v[O],z=B?_.active:_.inactive;return(0,f.jsxs)(i.View,{rounded:"large",children:[(0,f.jsx)(i.Button.Container,{onPressIn:function(){return R(!0)},onPressOut:function(){return R(!1)},onPress:function(){C(!D)},roundedTop:"none",roundedBottom:D?'none':'large',testID:"DevLauncherURLToggle",children:(0,f.jsxs)(i.Row,{align:"center",padding:"medium",style:{backgroundColor:z},children:[(0,f.jsx)(i.View,{width:"6",children:(0,f.jsx)(i.ChevronRightIcon,{style:U})}),(0,f.jsx)(i.Text,{color:"default",children:"Enter URL manually"})]})}),D&&(0,f.jsxs)(i.View,{px:"medium",py:"medium",roundedBottom:"large",bg:"default",children:[(0,f.jsxs)(i.View,{border:"default",rounded:"medium",py:l.Platform.select({android:'tiny',ios:'medium'}),px:"medium",shadow:"micro",children:[(0,f.jsx)(i.TextInput,{autoFocus:!0,clearButtonMode:"while-editing",keyboardType:"url",autoCapitalize:"none",autoComplete:"off",autoCorrect:!1,placeholder:"http://10.0.0.25:19000",placeholderTextColor:j.text.secondary,ref:w,value:y,onChangeText:function(t){T||''===t||Date.now()>=M.current+500&&(S((0,c.validateUrl)(t)),M.current=Date.now());h(t)},onBlur:function(){S((0,c.validateUrl)(y))},testID:"DevLauncherURLInput"}),(0,f.jsx)(i.View,{style:{position:'absolute',bottom:-20},children:!T&&''!==y&&(0,f.jsx)(i.Text,{color:"error",size:"small",children:"Invalid URL"})})]}),(0,f.jsx)(i.Spacer.Vertical,{size:"xl"}),(0,f.jsxs)(i.Button.ScaleOnPressContainer,{bg:T?'tertiary':'disabled',shadow:"button",rounded:"medium",disabled:!T||p,onPress:function(){n(y),w.current.blur()},testID:"DevLauncherLoadAppButton",children:[(0,f.jsx)(i.View,{py:"small",opacity:p?'0.5':'1',children:(0,f.jsx)(i.Button.Text,{align:"center",weight:"semibold",color:"tertiary",children:"Connect"})}),p&&(0,f.jsx)(i.View,{style:b(b({},l.StyleSheet.absoluteFillObject),{},{justifyContent:'center',alignItems:'center'}),children:(0,f.jsx)(s.ActivityIndicator,{size:"small"})})]})]})]})};var n=t(r(d[1])),o=t(r(d[2])),i=r(d[3]),u=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=p(n);if(o&&o.has(t))return o.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in t)if("default"!==l&&Object.prototype.hasOwnProperty.call(t,l)){var c=u?Object.getOwnPropertyDescriptor(t,l):null;c&&(c.get||c.set)?Object.defineProperty(i,l,c):i[l]=t[l]}i.default=t,o&&o.set(t,i);return i})(r(d[4])),l=r(d[5]),c=r(d[6]),s=r(d[7]),f=r(d[8]);function p(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(p=function(t){return t?o:n})(t)}function y(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,i)}return o}function b(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?y(Object(i),!0).forEach(function(o){(0,n.default)(t,o,i[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):y(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}},1385,[6,31,42,841,164,2,1386,1367,184]);
1392
+ __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.validateUrl=function(t){if(!n.default.parse(t,!0).protocol)return!1;return!0};var n=t(r(d[1]))},1386,[6,1351]);
1393
+ __d(function(g,r,i,a,m,e,d){var s=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.KitchenSinkScreen=function(){var s=(0,f.useToastStack)(),y=l.useState(!1),h=(0,t.default)(y,2),z=h[0],B=h[1];function b(){B(!0),setTimeout(function(){B(!1)},1500)}return(0,S.jsxs)(o.ScrollView,{children:[(0,S.jsx)(p.SafeAreaTop,{}),(0,S.jsxs)(n.View,{padding:"medium",children:[(0,S.jsx)(n.Heading,{size:"large",children:"Kitchen Sink"}),(0,S.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,S.jsx)(n.Heading,{children:"Load More Button"}),(0,S.jsx)(c.BasicButton,{label:"Load More",isLoading:z,onPress:b}),(0,S.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,S.jsx)(n.Heading,{children:"FlatList Loader"}),(0,S.jsx)(j.FlatListLoader,{}),(0,S.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,S.jsx)(n.Heading,{children:"Basic Buttons"}),(0,S.jsx)(n.Spacer.Vertical,{size:"small"}),(0,S.jsxs)(n.Row,{children:[(0,S.jsx)(c.BasicButton,{label:"Primary",type:"primary"}),(0,S.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Secondary",type:"secondary"}),(0,S.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Tertiary",type:"tertiary"})]}),(0,S.jsx)(n.Spacer.Vertical,{size:"small"}),(0,S.jsxs)(n.Row,{children:[(0,S.jsx)(c.BasicButton,{label:"Disabled",type:"disabled"}),(0,S.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Ghost",type:"ghost"}),(0,S.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Transparent",type:"transparent"})]}),(0,S.jsx)(n.Spacer.Vertical,{size:"large"}),(0,S.jsx)(n.Heading,{children:"Toasts"}),(0,S.jsx)(n.Spacer.Vertical,{size:"small"}),(0,S.jsxs)(n.Row,{children:[(0,S.jsx)(n.Spacer.Vertical,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Warning",onPress:function(){s.push(function(){return(0,S.jsx)(x.Toasts.Warning,{children:"Hey there!"})},{durationMs:5e3})}}),(0,S.jsx)(n.Spacer.Horizontal,{size:"small"}),(0,S.jsx)(n.Spacer.Vertical,{size:"small"}),(0,S.jsx)(c.BasicButton,{label:"Error",onPress:function(){s.push(function(){return(0,S.jsx)(x.Toasts.Error,{children:"Hey there!"})},{durationMs:5e3})}})]}),(0,S.jsx)(n.Spacer.Vertical,{size:"large"}),(0,S.jsx)(n.Heading,{children:"Update Rows"}),(0,S.jsx)(n.Spacer.Vertical,{size:"medium"}),(0,S.jsx)(u.EASUpdateRow,{isFirst:!0,isLoading:z,onPress:b,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}}),(0,S.jsx)(n.Divider,{}),(0,S.jsx)(u.EASUpdateRow,{isLoading:z,onPress:b,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}}),(0,S.jsx)(n.Divider,{}),(0,S.jsx)(u.EASUpdateRow,{isLast:!0,isLoading:z,onPress:b,update:{id:'1',message:'123',runtimeVersion:'1',createdAt:'123',manifestPermalink:'123'}})]})]})};var t=s(r(d[1])),n=r(d[2]),l=(function(s,t){if(!t&&s&&s.__esModule)return s;if(null===s||"object"!=typeof s&&"function"!=typeof s)return{default:s};var n=y(t);if(n&&n.has(s))return n.get(s);var l={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in s)if("default"!==c&&Object.prototype.hasOwnProperty.call(s,c)){var u=o?Object.getOwnPropertyDescriptor(s,c):null;u&&(u.get||u.set)?Object.defineProperty(l,c,u):l[c]=s[c]}l.default=s,n&&n.set(s,l);return l})(r(d[3])),o=r(d[4]),c=r(d[5]),u=r(d[6]),j=r(d[7]),p=r(d[8]),x=r(d[9]),f=r(d[10]),S=r(d[11]);function y(s){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(s){return s?n:t})(s)}},1387,[6,42,841,164,2,1366,1368,1372,1379,1333,1334,184]);
1394
+ __d(function(g,r,_i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.SettingsScreen=function(){var n=(0,w.useUser)().userData,i=o.useState(''),u=(0,s.default)(i,2),j=(u[0],u[1]),y=o.useState(''),b=(0,s.default)(y,2),V=b[0],z=b[1],T=(0,S.useDevMenuPreferences)(),O=T.showsAtLaunch,D=T.setShowsAtLaunch,C=T.touchGestureEnabled,I=T.setTouchGestureEnabled,H=T.motionGestureEnabled,E=T.setMotionGestureEnabled,R=(0,f.useBuildInfo)(),B=o.useRef(null);o.useEffect(function(){return V&&(B.current=setTimeout(function(){z('')},3e3)),function(){clearTimeout(B.current)}},[V]);var A=(U=(0,t.default)(function*(){var n=R.runtimeVersion,i=R.sdkVersion,t=R.appName,s=R.appVersion,l=JSON.stringify({runtimeVersion:n,sdkVersion:i,appName:t,appVersion:s},null,'\t');j(''),z(l),yield(0,h.copyToClipboardAsync)(l).catch(function(n){j(n.message),z('')})}),function(){return U.apply(this,arguments)}),M=Boolean(V);var U;return(0,v.jsx)(c.ScrollView,{testID:"DevLauncherSettingsScreen",showsVerticalScrollIndicator:!1,children:(0,v.jsxs)(x.ScreenContainer,{children:[(0,v.jsx)(p.SafeAreaTop,{}),(0,v.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,v.jsx)(l.View,{px:"medium",children:(0,v.jsx)(l.Heading,{size:"large",children:"Settings"})}),(0,v.jsxs)(l.View,{py:"large",px:"medium",children:[(0,v.jsx)(l.View,{bg:"default",rounded:"large",children:(0,v.jsxs)(l.Row,{px:"medium",py:"small",align:"center",children:[(0,v.jsx)(l.ShowMenuIcon,{}),(0,v.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,v.jsx)(l.Text,{size:"large",children:"Show menu at launch"}),(0,v.jsx)(l.Spacer.Horizontal,{}),(0,v.jsx)(c.Switch,{accessibilityRole:"switch",accessibilityLabel:"Toggle showing menu at launch",value:O,onValueChange:function(){return D(!O)}})]})}),(0,v.jsx)(l.Spacer.Vertical,{size:"large"}),(0,v.jsx)(l.View,{padding:"medium",children:(0,v.jsx)(l.Heading,{color:"secondary",children:"Menu gestures"})}),(0,v.jsxs)(l.View,{children:[(0,v.jsx)(l.Button.ScaleOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"none",onPress:function(){return E(!H)},accessibilityState:{checked:H},children:(0,v.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,v.jsx)(l.ShakeDeviceIcon,{}),(0,v.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,v.jsx)(l.Text,{size:"large",color:"default",children:"Shake device"}),(0,v.jsx)(l.Spacer.Horizontal,{}),H&&(0,v.jsx)(l.CheckIcon,{})]})}),(0,v.jsx)(l.Divider,{}),(0,v.jsx)(l.Button.ScaleOnPressContainer,{bg:"default",roundedBottom:"large",roundedTop:"none",onPress:function(){return I(!C)},accessibilityState:{checked:C},children:(0,v.jsxs)(l.Row,{px:"medium",py:"small",bg:"default",children:[(0,v.jsx)(l.ThreeFingerPressIcon,{}),(0,v.jsx)(l.Spacer.Horizontal,{size:"small"}),(0,v.jsx)(l.Text,{size:"large",color:"default",children:"Three-finger long-press"}),(0,v.jsx)(l.Spacer.Horizontal,{}),C&&(0,v.jsx)(l.CheckIcon,{})]})})]}),(0,v.jsx)(l.View,{padding:"small",children:(0,v.jsx)(l.Text,{color:"secondary",size:"small",leading:"large",children:"Selected gestures will toggle the developer menu while inside a preview. The menu allows you to reload or return to home and exposes developer tools."})}),(0,v.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,v.jsxs)(l.View,{rounded:"large",overflow:"hidden",children:[(0,v.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,v.jsx)(l.Text,{children:"Version"}),(0,v.jsx)(l.Spacer.Horizontal,{}),(0,v.jsx)(l.Text,{children:null==R?void 0:R.appVersion})]}),Boolean(R.runtimeVersion)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(l.Divider,{}),(0,v.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,v.jsx)(l.Text,{children:"Runtime Version"}),(0,v.jsx)(l.Spacer.Horizontal,{}),(0,v.jsx)(l.Text,{children:R.runtimeVersion})]})]}),Boolean(R.sdkVersion)&&!R.runtimeVersion&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(l.Divider,{}),(0,v.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,v.jsx)(l.Text,{children:"SDK Version"}),(0,v.jsx)(l.Spacer.Horizontal,{}),(0,v.jsx)(l.Text,{children:R.sdkVersion})]})]}),(0,v.jsx)(l.Divider,{}),(0,v.jsx)(l.Button.ScaleOnPressContainer,{onPress:A,disabled:M,bg:"default",roundedTop:"none",roundedBottom:"large",children:(0,v.jsx)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:(0,v.jsx)(l.Text,{color:"link",size:"medium",children:M?'Copied to clipboard!':'Tap to Copy All'})})}),(null==n?void 0:n.isExpoAdmin)&&(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,v.jsx)(P,{}),(0,v.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,v.jsx)(k,{})]})]})]})]})})};var i=n(r(d[1])),t=n(r(d[2])),s=n(r(d[3])),l=r(d[4]),o=(function(n,i){if(!i&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var t=z(i);if(t&&t.has(n))return t.get(n);var s={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if("default"!==o&&Object.prototype.hasOwnProperty.call(n,o)){var c=l?Object.getOwnPropertyDescriptor(n,o):null;c&&(c.get||c.set)?Object.defineProperty(s,o,c):s[o]=n[o]}s.default=n,t&&t.set(n,s);return s})(r(d[5])),c=r(d[6]),u=r(d[7]),p=r(d[8]),x=r(d[9]),j=r(d[10]),h=r(d[11]),f=r(d[12]),S=r(d[13]),y=r(d[14]),b=r(d[15]),V=r(d[16]),w=r(d[17]),v=r(d[18]);function z(n){if("function"!=typeof WeakMap)return null;var i=new WeakMap,t=new WeakMap;return(z=function(n){return n?t:i})(n)}function T(n,i){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);i&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,s)}return t}function O(n){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?T(Object(s),!0).forEach(function(t){(0,i.default)(n,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(s)):T(Object(s)).forEach(function(i){Object.defineProperty(n,i,Object.getOwnPropertyDescriptor(s,i))})}return n}function P(){var n=(0,u.useQueryClient)(),i=(0,y.useQueryOptions)(),s=i.queryOptions,o=i.setQueryOptions,c=(0,b.useToastStack)();function p(n){o(O(O({},s),{},{pageSize:n}))}function x(){return(x=(0,t.default)(function*(){yield n.resetQueries(),yield n.invalidateQueries(),null==c||c.push(function(){return(0,v.jsx)(j.Toasts.Info,{children:"Network cache was reset!"})})})).apply(this,arguments)}return(0,v.jsxs)(l.View,{children:[(0,v.jsx)(l.View,{padding:"medium",children:(0,v.jsx)(l.Heading,{color:"secondary",children:"Debug Settings"})}),(0,v.jsx)(l.View,{children:(0,v.jsxs)(l.View,{children:[(0,v.jsx)(l.Button.ScaleOnPressContainer,{bg:"default",roundedTop:"large",roundedBottom:"large",onPress:function(){return x.apply(this,arguments)},children:(0,v.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,v.jsx)(l.Text,{size:"large",color:"default",children:"Clear network cache"}),(0,v.jsx)(l.Spacer.Horizontal,{})]})}),(0,v.jsx)(l.Spacer.Vertical,{size:"large"}),(0,v.jsxs)(l.View,{px:"medium",children:[(0,v.jsx)(l.Heading,{size:"small",color:"secondary",children:"Default Page Size"}),(0,v.jsx)(l.Text,{color:"secondary",size:"small",children:"Sets the number of items fetched for branches and updates"})]}),(0,v.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,v.jsx)(l.View,{children:[1,5,10].map(function(n,i,t){var o=s.pageSize===n,c=0===i,u=i===t.length-1;return(0,v.jsxs)(l.View,{children:[(0,v.jsx)(l.Button.ScaleOnPressContainer,{bg:"default",roundedTop:c?'large':'none',roundedBottom:u?'large':'none',onPress:function(){return p(n)},accessibilityState:{checked:o},children:(0,v.jsxs)(l.Row,{px:"medium",py:"small",align:"center",bg:"default",children:[(0,v.jsx)(l.Text,{size:"large",color:"default",children:n}),(0,v.jsx)(l.Spacer.Horizontal,{}),o&&(0,v.jsx)(l.CheckIcon,{})]})}),!u&&(0,v.jsx)(l.Divider,{})]},n)})})]})})]})}function k(){var n,i,t=(0,V.useUpdatesConfig)(),s=o.useRef(t).current,c=(0,V.useSetUpdatesConfig)(),u=(0,b.useToastStack)();return(0,v.jsxs)(l.View,{my:"medium",children:[(0,v.jsxs)(l.View,{px:"medium",children:[(0,v.jsx)(l.Heading,{color:"secondary",children:"EAS Update Debug Settings"}),(0,v.jsx)(l.Spacer.Vertical,{size:"medium"})]}),(0,v.jsxs)(l.View,{px:"medium",children:[(0,v.jsx)(l.Heading,{color:"secondary",children:"Current Settings"}),(0,v.jsx)(l.Spacer.Vertical,{size:"medium"})]}),(0,v.jsx)(l.View,{bg:"default",padding:"medium",rounded:"large",children:(0,v.jsx)(l.Text,{type:"mono",children:JSON.stringify(t,null,2)})}),(0,v.jsx)(l.Spacer.Vertical,{size:"medium"}),(0,v.jsxs)(l.View,{px:"medium",children:[(0,v.jsx)(l.Heading,{size:"small",color:"secondary",children:"EAS Updates App ID"}),(0,v.jsx)(l.Spacer.Vertical,{size:"small"})]}),(0,v.jsx)(l.View,{bg:"default",rounded:"large",py:"small",px:"small",children:(0,v.jsx)(l.TextInput,{blurOnSubmit:!0,autoCapitalize:"none",keyboardType:"url",placeholder:"Set App Id",defaultValue:null!=(n=null==t?void 0:t.appId)?n:'',onSubmitEditing:function(n){var i=n.nativeEvent.text,t=i,l=!0;0===i.length&&(t=s.appId,l=!1),c({appId:i,usesEASUpdates:l}),u.push(function(){return(0,v.jsx)(j.Toasts.Info,{children:"Updated appId to "+t})})}})}),(0,v.jsx)(l.Spacer.Vertical,{size:"small"}),(0,v.jsx)(l.View,{px:"medium",children:(0,v.jsx)(l.Heading,{size:"small",color:"secondary",children:"Runtime Version"})}),(0,v.jsx)(l.View,{bg:"default",rounded:"large",py:"small",px:"small",children:(0,v.jsx)(l.TextInput,{blurOnSubmit:!0,autoCapitalize:"none",keyboardType:"url",placeholder:"Set Runtime Version",defaultValue:null!=(i=null==t?void 0:t.runtimeVersion)?i:'',onSubmitEditing:function(n){var i=n.nativeEvent.text,t=i;0===i.length&&(t=s.runtimeVersion),c({runtimeVersion:i}),u.push(function(){return(0,v.jsx)(j.Toasts.Info,{children:"Updated runtimeVersion to "+t})})}})}),(0,v.jsx)(l.Spacer.Vertical,{size:"large"})]})}},1388,[6,31,272,42,841,164,2,1237,1379,1374,1333,1234,1343,1345,1236,1334,1336,1349,184]);
1395
+ __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.UserProfileScreen=function(n){var h=n.navigation,P=(0,x.useUser)(),v=P.userData,S=P.selectedAccount,V=(0,p.useModalStack)(),L=(0,x.useUserActions)(),O=l.useState(!1),z=(0,o.default)(O,2),B=z[0],C=z[1],A=(M=(0,t.default)(function*(){C(!0),yield L.login('login'),C(!1)}),function(){return M.apply(this,arguments)}),k=(I=(0,t.default)(function*(){C(!0),yield L.login('signup'),C(!1)}),function(){return I.apply(this,arguments)}),D=null!=v;var I;var M;return(0,j.jsx)(u.SafeAreaView,{style:{flex:1},children:(0,j.jsx)(c.ScrollView,{style:{flex:1},children:(0,j.jsxs)(s.View,{children:[(0,j.jsx)(y,{onClosePress:function(){h.goBack()}}),(0,j.jsx)(s.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(s.View,{px:"medium",children:D?(0,j.jsx)(b,{userData:v,selectedAccount:S,onSelectAccount:function(n){L.setSelectedAccount(n.id)},onLogoutPress:function(){V.push(function(){return(0,j.jsx)(f.LogoutConfirmationModal,{onClosePress:function(){return V.pop()},onLogoutPress:(0,t.default)(function*(){yield L.logout(),V.pop()})})})}}):(0,j.jsx)(w,{isLoading:B,onLoginPress:A,onSignupPress:k})})]})})})};var t=n(r(d[1])),o=n(r(d[2])),s=r(d[3]),l=(function(n,t){if(!t&&n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var o=h(t);if(o&&o.has(n))return o.get(n);var s={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in n)if("default"!==c&&Object.prototype.hasOwnProperty.call(n,c)){var u=l?Object.getOwnPropertyDescriptor(n,c):null;u&&(u.get||u.set)?Object.defineProperty(s,c,u):s[c]=n[c]}s.default=n,o&&o.set(n,s);return s})(r(d[4])),c=r(d[5]),u=r(d[6]),f=r(d[7]),p=r(d[8]),x=r(d[9]),j=r(d[10]);function h(n){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(n){return n?o:t})(n)}function y(n){var t=n.onClosePress;return(0,j.jsxs)(s.View,{children:[(0,j.jsx)(s.Spacer.Vertical,{size:"small"}),(0,j.jsxs)(s.Row,{align:"center",children:[(0,j.jsx)(s.View,{px:"medium",children:(0,j.jsx)(s.Heading,{size:"large",children:"Account"})}),(0,j.jsx)(s.Spacer.Horizontal,{}),(0,j.jsx)(s.Button.ScaleOnPressContainer,{onPress:t,accessibilityLabel:"Go Back",rounded:"full",bg:"ghost",minScale:.9,children:(0,j.jsx)(s.View,{padding:"medium",rounded:"full",children:(0,j.jsx)(s.XIcon,{})})})]})]})}function w(n){var t=n.onLoginPress,o=n.onSignupPress,l=n.isLoading;return(0,j.jsxs)(s.View,{px:"small",py:"medium",bg:"default",rounded:"large",children:[(0,j.jsx)(s.Text,{color:"secondary",size:"small",leading:"large",children:"Log in or create an account to view local development servers and more."}),(0,j.jsx)(s.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(s.Button.ScaleOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:t,disabled:l,accessibilityLabel:"Log in",children:(0,j.jsx)(s.View,{py:"small",children:(0,j.jsx)(s.Button.Text,{color:"tertiary",weight:"semibold",align:"center",children:"Log In"})})}),(0,j.jsx)(s.Spacer.Vertical,{size:"small"}),(0,j.jsx)(s.Button.ScaleOnPressContainer,{bg:"secondary",rounded:"medium",onPress:o,disabled:l,accessibilityLabel:"Sign Up",children:(0,j.jsx)(s.View,{py:"small",children:(0,j.jsx)(s.Button.Text,{color:"secondary",weight:"semibold",align:"center",children:"Sign Up"})})}),l&&(0,j.jsx)(s.View,{style:{position:'absolute',right:0,left:0,top:0,bottom:0,alignItems:'center',justifyContent:'center'},children:(0,j.jsx)(c.ActivityIndicator,{size:"small"})})]})}function b(n){var t=n.userData,o=n.selectedAccount,l=n.onSelectAccount,c=n.onLogoutPress,u=[],f=[];for(var p of t.accounts)null!=p&&(null!=p.owner?u.push(p):f.push(p));var x=[].concat(u,f);return(0,j.jsxs)(s.View,{children:[(0,j.jsx)(s.View,{children:x.map(function(n,t,c){var u,f,p,x=t===c.length-1,h=0===t,y=n.id===(null==o?void 0:o.id);return(0,j.jsxs)(s.Button.ScaleOnPressContainer,{onPress:function(){return l(n)},bg:"default",roundedBottom:x?'large':'none',roundedTop:h?'large':'none',children:[(0,j.jsxs)(s.Row,{align:"center",py:"small",px:"medium",bg:"default",children:[(0,j.jsx)(s.View,{rounded:"full",bg:"secondary",children:(0,j.jsx)(s.Image,{size:"large",rounded:"full",source:{uri:null==(u=n.owner)?void 0:u.profilePhoto}})}),(0,j.jsx)(s.Spacer.Horizontal,{size:"small"}),(0,j.jsx)(s.View,{children:(0,j.jsx)(s.Heading,{children:null!=(f=null==(p=n.owner)?void 0:p.username)?f:n.name})}),(0,j.jsx)(s.Spacer.Vertical,{}),y&&(0,j.jsx)(s.CheckIcon,{testID:"active-account-checkmark-"+n.id})]}),!x&&(0,j.jsx)(s.Divider,{})]},n.id)})}),(0,j.jsx)(s.Spacer.Vertical,{size:"medium"}),(0,j.jsx)(s.Button.ScaleOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:c,children:(0,j.jsx)(s.View,{py:"small",rounded:"medium",children:(0,j.jsx)(s.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})]})}},1389,[6,272,42,841,164,2,482,1390,1357,1349,184]);
1396
+ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.LogoutConfirmationModal=function(l){var s=l.onLogoutPress,u=l.onClosePress;return(0,o.jsxs)(n.BaseModal,{title:"Confirm logout",children:[(0,o.jsx)(t.Heading,{weight:"medium",children:"Are you sure you want to log out?"}),(0,o.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,o.jsxs)(t.Row,{children:[(0,o.jsx)(t.View,{flex:"1",grow:"1",children:(0,o.jsx)(t.Button.ScaleOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:s,accessibilityLabel:"Log out",children:(0,o.jsx)(t.View,{padding:"small",rounded:"medium",children:(0,o.jsx)(t.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})}),(0,o.jsx)(t.Spacer.Horizontal,{size:"medium"}),(0,o.jsx)(t.View,{flex:"1",grow:"1",children:(0,o.jsx)(t.Button.ScaleOnPressContainer,{bg:"ghost",border:"ghost",rounded:"medium",onPress:u,children:(0,o.jsx)(t.View,{padding:"small",rounded:"medium",children:(0,o.jsx)(t.Button.Text,{color:"ghost",weight:"bold",align:"center",children:"Nevermind"})})})})]})]})};var t=r(d[0]),n=((function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var o=l(n);if(o&&o.has(t))return o.get(t);var s={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in t)if("default"!==c&&Object.prototype.hasOwnProperty.call(t,c)){var f=u?Object.getOwnPropertyDescriptor(t,c):null;f&&(f.get||f.set)?Object.defineProperty(s,c,f):s[c]=t[c]}s.default=t,o&&o.set(t,s)})(r(d[1])),r(d[2])),o=r(d[3]);function l(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,o=new WeakMap;return(l=function(t){return t?o:n})(t)}},1390,[841,164,1361,184]);
1396
1397
  __r(24);
1397
1398
  __r(0);