expo-dev-launcher 4.0.18 → 4.0.19

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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 4.0.19 — 2024-06-12
14
+
15
+ ### 🎉 New features
16
+
17
+ - [Android] Automatically detect dev servers running on localhost with adb reverse. ([#29625](https://github.com/expo/expo/pull/29625) by [@gabrieldonadel](https://github.com/gabrieldonadel))
18
+
19
+ ### 🐛 Bug fixes
20
+
21
+ - Fixed empty screen after reloading on Android. ([#29400](https://github.com/expo/expo/pull/29400) by [@kudo](https://github.com/kudo))
22
+
13
23
  ## 4.0.18 — 2024-06-10
14
24
 
15
25
  _This version does not introduce any user-facing changes._
@@ -17,7 +17,7 @@ android {
17
17
  namespace "expo.modules.devlauncher"
18
18
  defaultConfig {
19
19
  versionCode 9
20
- versionName "4.0.18"
20
+ versionName "4.0.19"
21
21
  }
22
22
 
23
23
  buildTypes {
@@ -3,7 +3,6 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
3
3
  !(function(n){var e=(function(){function n(n,e){return n}function e(n){var e={};return n.forEach((function(n,t){e[n]=!0})),e}function t(n,t,a){if(n.formatValueCalls++,n.formatValueCalls>200)return`[TOO BIG formatValueCalls ${n.formatValueCalls} exceeded limit of 200]`;var c=r(n,t);if(c)return c;var f=Object.keys(t),p=e(f);if(d(t)&&(f.indexOf('message')>=0||f.indexOf('description')>=0))return o(t);if(0===f.length){if(v(t)){var g=t.name?': '+t.name:'';return n.stylize('[Function'+g+']','special')}if(s(t))return n.stylize(RegExp.prototype.toString.call(t),'regexp');if(y(t))return n.stylize(Date.prototype.toString.call(t),'date');if(d(t))return o(t)}var h,m,b='',j=!1,O=['{','}'];(h=t,Array.isArray(h)&&(j=!0,O=['[',']']),v(t))&&(b=' [Function'+(t.name?': '+t.name:'')+']');return s(t)&&(b=' '+RegExp.prototype.toString.call(t)),y(t)&&(b=' '+Date.prototype.toUTCString.call(t)),d(t)&&(b=' '+o(t)),0!==f.length||j&&0!=t.length?a<0?s(t)?n.stylize(RegExp.prototype.toString.call(t),'regexp'):n.stylize('[Object]','special'):(n.seen.push(t),m=j?i(n,t,a,p,f):f.map((function(e){return l(n,t,a,p,e,j)})),n.seen.pop(),u(m,b,O)):O[0]+b+O[1]}function r(n,e){if(p(e))return n.stylize('undefined','undefined');if('string'==typeof e){var t="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(t,'string')}return f(e)?n.stylize(''+e,'number'):a(e)?n.stylize(''+e,'boolean'):c(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,t,r,o){for(var i=[],u=0,a=e.length;u<a;++u)m(e,String(u))?i.push(l(n,e,t,r,String(u),!0)):i.push('');return o.forEach((function(o){o.match(/^\d+$/)||i.push(l(n,e,t,r,o,!0))})),i}function l(n,e,r,o,i,l){var u,a,f;if((f=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=f.set?n.stylize('[Getter/Setter]','special'):n.stylize('[Getter]','special'):f.set&&(a=n.stylize('[Setter]','special')),m(o,i)||(u='['+i+']'),a||(n.seen.indexOf(f.value)<0?(a=c(r)?t(n,f.value,null):t(n,f.value,r-1)).indexOf('\n')>-1&&(a=l?a.split('\n').map((function(n){return' '+n})).join('\n').slice(2):'\n'+a.split('\n').map((function(n){return' '+n})).join('\n')):a=n.stylize('[Circular]','special')),p(u)){if(l&&i.match(/^\d+$/))return a;(u=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.slice(1,u.length-1),u=n.stylize(u,'name')):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=n.stylize(u,'string'))}return u+': '+a}function u(n,e,t){return n.reduce((function(n,e){return e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1}),0)>60?t[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+t[1]:t[0]+e+' '+n.join(', ')+' '+t[1]}function a(n){return'boolean'==typeof n}function c(n){return null===n}function f(n){return'number'==typeof n}function p(n){return void 0===n}function s(n){return g(n)&&'[object RegExp]'===h(n)}function g(n){return'object'==typeof n&&null!==n}function y(n){return g(n)&&'[object Date]'===h(n)}function d(n){return g(n)&&('[object Error]'===h(n)||n instanceof Error)}function v(n){return'function'==typeof n}function h(n){return Object.prototype.toString.call(n)}function m(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,r){return t({seen:[],formatValueCalls:0,stylize:n},e,r.depth)}})(),t=0,r=1,o=2,i=3,l=[];l[t]='debug',l[r]='log',l[o]='warning',l[i]='error';function u(t){return function(){var r;r=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,(function(n){return e(n,{depth:10})})).join(', ');var u=arguments[0],a=t;'string'==typeof u&&'Warning: '===u.slice(0,9)&&a>=i&&(a=o),n.__inspectorLog&&n.__inspectorLog(l[a],r,[].slice.call(arguments),1),c.length&&(r=f('',r)),n.nativeLoggingHook(r,a)}}function a(n,e){return Array.apply(null,Array(e)).map((function(){return n}))}var c=[];function f(n,e){return c.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:u(i),info:u(r),log:u(r),warn:u(o),trace:u(t),debug:u(t),table:function(e){if(!Array.isArray(e)){var t=e;for(var o in e=[],t)if(t.hasOwnProperty(o)){var i=t[o];i["(index)"]=o,e.push(i)}}if(0!==e.length){var l=Object.keys(e[0]).sort(),u=[],c=[];l.forEach((function(n,t){c[t]=n.length;for(var r=0;r<e.length;r++){var o=(e[r][n]||'?').toString();u[r]=u[r]||[],u[r][t]=o,c[t]=Math.max(c[t],o.length)}}));for(var f=g(c.map((function(n){return a('-',n).join('')})),'-'),p=[g(l),f],s=0;s<e.length;s++)p.push(g(u[s]));n.nativeLoggingHook('\n'+p.join('\n'),r)}else n.nativeLoggingHook('',r);function g(n,e){var t=n.map((function(n,e){return n+a(' ',c[e]-n.length).join('')}));return e=e||' ',t.join(e+'|'+e)}},group:function(e){n.nativeLoggingHook(f("\u2510",e),r),c.push("\u2502")},groupEnd:function(){c.pop(),n.nativeLoggingHook(f("\u2518"),r)},groupCollapsed:function(e){n.nativeLoggingHook(f("\u2518",e),r),c.push("\u2502")},assert:function(e,t){e||n.nativeLoggingHook('Assertion failed: '+t,i)}},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}else if(!n.console){var p=function(){},s=n.print||p;n.console={debug:s,error:s,info:s,log:s,trace:s,warn:s,assert:function(n,e){n||s('Assertion failed: '+e)},clear:p,dir:p,dirxml:p,group:p,groupCollapsed:p,groupEnd:p,profile:p,profileEnd:p,table:p},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
4
4
  !(function(n){var r=0,t=function(n,r){throw n},l={setGlobalHandler:function(n){t=n},getGlobalHandler:function(){return t},reportError:function(n){t&&t(n,!1)},reportFatalError:function(n){t&&t(n,!0)},applyWithGuard:function(n,t,u,o,e){try{return r++,n.apply(t,u)}catch(n){l.reportError(n)}finally{r--}return null},applyWithGuardIfNeeded:function(n,r,t){return l.inGuard()?n.apply(r,t):(l.applyWithGuard(n,r,t),null)},inGuard:function(){return!!r},guard:function(n,r,t){var u;if('function'!=typeof n)return console.warn('A function must be passed to ErrorUtils.guard, got ',n),null;var o=null!=(u=null!=r?r:n.name)?u:'<generated guard>';return function(){for(var r=arguments.length,u=new Array(r),e=0;e<r;e++)u[e]=arguments[e];return l.applyWithGuard(n,null!=t?t:this,u,null,o)}}};n.ErrorUtils=l})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
5
5
  (function(global){try{global.$$require_external="undefined"==typeof expo?eval("require"):function(e){throw new Error(`Node.js standard library module ${e} is not available in this JavaScript environment`)}}catch(e){global.$$require_external=function(e){throw new Error(`Node.js standard library module ${e} is not available in this JavaScript environment`)}}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
6
- 'undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window&&window;
7
6
  __d((function(g,r,i,a,m,e,d){r(d[0])}),0,[1]);
8
7
  __d((function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]);n.LogBox.ignoreLogs(['EventEmitter']),(0,t.enableScreens)(!1),n.AppRegistry.registerComponent('main',(function(){return o.App}))}),1,[2,465,490]);
9
8
  __d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);r(d[1]);m.exports={get registerCallableModule(){return r(d[2]).default},get AccessibilityInfo(){return r(d[3]).default},get ActivityIndicator(){return r(d[4]).default},get Button(){return r(d[5]).default},get DrawerLayoutAndroid(){return r(d[6])},get FlatList(){return r(d[7])},get Image(){return r(d[8])},get ImageBackground(){return r(d[9])},get InputAccessoryView(){return r(d[10]).default},get KeyboardAvoidingView(){return r(d[11]).default},get Modal(){return r(d[12])},get Pressable(){return r(d[13]).default},get ProgressBarAndroid(){return t('progress-bar-android-moved',"ProgressBarAndroid has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/progress-bar-android' instead of 'react-native'. See https://github.com/react-native-progress-view/progress-bar-android"),r(d[14])},get RefreshControl(){return r(d[15])},get SafeAreaView(){return r(d[16]).default},get ScrollView(){return r(d[17])},get SectionList(){return r(d[18]).default},get StatusBar(){return r(d[19])},get Switch(){return r(d[20]).default},get Text(){return r(d[21])},get TextInput(){return r(d[22])},get Touchable(){return r(d[23]).default},get TouchableHighlight(){return r(d[24])},get TouchableNativeFeedback(){return r(d[25])},get TouchableOpacity(){return r(d[26])},get TouchableWithoutFeedback(){return r(d[27])},get View(){return r(d[28])},get VirtualizedList(){return r(d[29])},get VirtualizedSectionList(){return r(d[30])},get ActionSheetIOS(){return r(d[31])},get Alert(){return r(d[32])},get Animated(){return r(d[33]).default},get Appearance(){return r(d[34])},get AppRegistry(){return r(d[35])},get AppState(){return r(d[36])},get BackHandler(){return r(d[37])},get Clipboard(){return t('clipboard-moved',"Clipboard has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-clipboard/clipboard' instead of 'react-native'. See https://github.com/react-native-clipboard/clipboard"),r(d[38])},get DeviceInfo(){return r(d[39])},get DevSettings(){return r(d[40])},get Dimensions(){return r(d[41]).default},get Easing(){return r(d[42]).default},get findNodeHandle(){return r(d[43]).findNodeHandle},get I18nManager(){return r(d[44])},get InteractionManager(){return r(d[45])},get Keyboard(){return r(d[46])},get LayoutAnimation(){return r(d[47])},get Linking(){return r(d[48])},get LogBox(){return r(d[49]).default},get NativeDialogManagerAndroid(){return r(d[50]).default},get NativeEventEmitter(){return r(d[51]).default},get Networking(){return r(d[52]).default},get PanResponder(){return r(d[53]).default},get PermissionsAndroid(){return r(d[54])},get PixelRatio(){return r(d[55]).default},get PushNotificationIOS(){return t('pushNotificationIOS-moved',"PushNotificationIOS has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. See https://github.com/react-native-push-notification/ios"),r(d[56])},get Settings(){return r(d[57])},get Share(){return r(d[58])},get StyleSheet(){return r(d[59])},get Systrace(){return r(d[60])},get ToastAndroid(){return r(d[61])},get TurboModuleRegistry(){return r(d[62])},get UIManager(){return r(d[63])},get unstable_batchedUpdates(){return r(d[43]).unstable_batchedUpdates},get useAnimatedValue(){return r(d[64]).default},get useColorScheme(){return r(d[65]).default},get useWindowDimensions(){return r(d[66]).default},get UTFSequence(){return r(d[67]).default},get Vibration(){return r(d[68])},get YellowBox(){return r(d[69])},get DeviceEventEmitter(){return r(d[70]).default},get DynamicColorIOS(){return r(d[71]).DynamicColorIOS},get NativeAppEventEmitter(){return r(d[72])},get NativeModules(){return r(d[73])},get Platform(){return r(d[74])},get PlatformColor(){return r(d[75]).PlatformColor},get processColor(){return r(d[76]).default},get requireNativeComponent(){return r(d[77]).default},get RootTagContext(){return r(d[78]).RootTagContext},get unstable_enableLogBox(){return function(){return console.warn('LogBox is enabled by default so there is no need to call unstable_enableLogBox() anymore. This is a no op and will be removed in the next version.')}}}}),2,[3,4,5,24,256,263,378,320,339,386,387,390,391,400,257,350,402,355,375,379,403,264,408,409,413,276,277,414,237,415,416,417,203,278,420,221,424,245,428,431,432,82,291,36,397,288,361,362,435,440,205,181,180,441,443,81,446,449,450,242,19,453,51,92,456,457,458,459,460,463,25,464,216,52,58,72,69,261,243]);
@@ -185,13 +184,13 @@ __d((function(g,r,i,a,m,e,d){'use strict';var t=1,n=new Set;var o={setImmediate:
185
184
  __d((function(g,r,i,a,m,e,d){'use strict';var t;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){if(arguments.length<1)throw new TypeError('queueMicrotask must be called with at least one argument (a function to call)');if('function'!=typeof n)throw new TypeError('The argument to queueMicrotask must be a function.');(t||(t=Promise.resolve())).then(n).catch((function(t){return setTimeout((function(){throw t}),0)}))}}),168,[]);
186
185
  __d((function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]).polyfillGlobal;n('XMLHttpRequest',(function(){return r(d[1])})),n('FormData',(function(){return r(d[2])})),n('fetch',(function(){return r(d[3]).fetch})),n('Headers',(function(){return r(d[3]).Headers})),n('Request',(function(){return r(d[3]).Request})),n('Response',(function(){return r(d[3]).Response})),n('WebSocket',(function(){return r(d[4])})),n('Blob',(function(){return r(d[5])})),n('File',(function(){return r(d[6])})),n('FileReader',(function(){return r(d[7])})),n('URL',(function(){return r(d[8]).URL})),n('URLSearchParams',(function(){return r(d[8]).URLSearchParams})),n('AbortController',(function(){return r(d[9]).AbortController})),n('AbortSignal',(function(){return r(d[9]).AbortSignal}))}),169,[155,170,185,188,190,175,196,197,200,201]);
187
186
  __d((function(g,r,i,_a,m,_e,d){'use strict';var e=r(d[0]),t=e(r(d[1])),s=e(r(d[2])),n=e(r(d[3])),a=e(r(d[4])),o=e(r(d[5])),h=e(r(d[6])),u=e(r(d[7])),p=e(r(d[8]));function c(e,t,s){return t=(0,h.default)(t),(0,o.default)(e,l()?Reflect.construct(t,s||[],(0,h.default)(e).constructor):t.apply(e,s))}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}var _=r(d[9]),f=r(d[10]),y=r(d[11]).default,v=r(d[12]),R=r(d[13]);_.isAvailable&&_.addNetworkingHandler();var E={arraybuffer:'function'==typeof g.ArrayBuffer,blob:'function'==typeof g.Blob,document:!1,json:!0,text:!0,'':!0},b=['abort','error','load','loadstart','progress','timeout','loadend'],N=b.concat('readystatechange'),k=(function(e){function t(){return(0,a.default)(this,t),c(this,t,arguments)}return(0,u.default)(t,e),(0,n.default)(t)})(p.default.apply(void 0,b)),w=(function(e){function o(){var e;return(0,a.default)(this,o),(e=c(this,o)).UNSENT=0,e.OPENED=1,e.HEADERS_RECEIVED=2,e.LOADING=3,e.DONE=4,e.readyState=0,e.status=0,e.timeout=0,e.withCredentials=!0,e.upload=new k,e._aborted=!1,e._hasError=!1,e._method=null,e._perfKey=null,e._response='',e._url=null,e._timedOut=!1,e._trackingName='unknown',e._incrementalEvents=!1,e._performanceLogger=f,e._reset(),e}return(0,u.default)(o,e),(0,n.default)(o,[{key:"_reset",value:function(){this.readyState=this.UNSENT,this.responseHeaders=void 0,this.status=0,delete this.responseURL,this._requestId=null,this._cachedResponse=void 0,this._hasError=!1,this._headers={},this._response='',this._responseType='',this._sent=!1,this._lowerCaseResponseHeaders={},this._clearSubscriptions(),this._timedOut=!1}},{key:"responseType",get:function(){return this._responseType},set:function(e){if(this._sent)throw new Error("Failed to set the 'responseType' property on 'XMLHttpRequest': The response type cannot be set after the request has been sent.");E.hasOwnProperty(e)?(R(E[e]||'document'===e,`The provided value '${e}' is unsupported in this environment.`),'blob'===e&&R(_.isAvailable,'Native module BlobModule is required for blob support'),this._responseType=e):console.warn(`The provided value '${e}' is not a valid 'responseType'.`)}},{key:"responseText",get:function(){if(''!==this._responseType&&'text'!==this._responseType)throw new Error(`The 'responseText' property is only available if 'responseType' is set to '' or 'text', but it is '${this._responseType}'.`);return this.readyState<3?'':this._response}},{key:"response",get:function(){var e=this.responseType;if(''===e||'text'===e)return this.readyState<3||this._hasError?'':this._response;if(4!==this.readyState)return null;if(void 0!==this._cachedResponse)return this._cachedResponse;switch(e){case'document':default:this._cachedResponse=null;break;case'arraybuffer':this._cachedResponse=v.toByteArray(this._response).buffer;break;case'blob':if('object'==typeof this._response&&this._response)this._cachedResponse=_.createFromOptions(this._response);else{if(''!==this._response)throw new Error(`Invalid response for blob: ${this._response}`);this._cachedResponse=_.createFromParts([])}break;case'json':try{this._cachedResponse=JSON.parse(this._response)}catch(e){this._cachedResponse=null}}return this._cachedResponse}},{key:"__didCreateRequest",value:function(e){this._requestId=e,o._interceptor&&o._interceptor.requestSent(e,this._url||'',this._method||'GET',this._headers)}},{key:"__didUploadProgress",value:function(e,t,s){e===this._requestId&&this.upload.dispatchEvent({type:'progress',lengthComputable:!0,loaded:t,total:s})}},{key:"__didReceiveResponse",value:function(e,t,s,n){e===this._requestId&&(null!=this._perfKey&&this._performanceLogger.stopTimespan(this._perfKey),this.status=t,this.setResponseHeaders(s),this.setReadyState(this.HEADERS_RECEIVED),n||''===n?this.responseURL=n:delete this.responseURL,o._interceptor&&o._interceptor.responseReceived(e,n||this._url||'',t,s||{}))}},{key:"__didReceiveData",value:function(e,t){e===this._requestId&&(this._response=t,this._cachedResponse=void 0,this.setReadyState(this.LOADING),o._interceptor&&o._interceptor.dataReceived(e,t))}},{key:"__didReceiveIncrementalData",value:function(e,t,s,n){e===this._requestId&&(this._response?this._response+=t:this._response=t,o._interceptor&&o._interceptor.dataReceived(e,t),this.setReadyState(this.LOADING),this.__didReceiveDataProgress(e,s,n))}},{key:"__didReceiveDataProgress",value:function(e,t,s){e===this._requestId&&this.dispatchEvent({type:'progress',lengthComputable:s>=0,loaded:t,total:s})}},{key:"__didCompleteResponse",value:function(e,t,s){e===this._requestId&&(t&&(''!==this._responseType&&'text'!==this._responseType||(this._response=t),this._hasError=!0,s&&(this._timedOut=!0)),this._clearSubscriptions(),this._requestId=null,this.setReadyState(this.DONE),t?o._interceptor&&o._interceptor.loadingFailed(e,t):o._interceptor&&o._interceptor.loadingFinished(e,this._response.length))}},{key:"_clearSubscriptions",value:function(){(this._subscriptions||[]).forEach((function(e){e&&e.remove()})),this._subscriptions=[]}},{key:"getAllResponseHeaders",value:function(){if(!this.responseHeaders)return null;var e=this.responseHeaders,s=new Map;for(var n of Object.keys(e)){var a=e[n],o=n.toLowerCase(),h=s.get(o);h?(h.headerValue+=', '+a,s.set(o,h)):s.set(o,{lowerHeaderName:o,upperHeaderName:n.toUpperCase(),headerValue:a})}return(0,t.default)(s.values()).sort((function(e,t){return e.upperHeaderName<t.upperHeaderName?-1:e.upperHeaderName>t.upperHeaderName?1:0})).map((function(e){return e.lowerHeaderName+': '+e.headerValue})).join('\r\n')+'\r\n'}},{key:"getResponseHeader",value:function(e){var t=this._lowerCaseResponseHeaders[e.toLowerCase()];return void 0!==t?t:null}},{key:"setRequestHeader",value:function(e,t){if(this.readyState!==this.OPENED)throw new Error('Request has not been opened');this._headers[e.toLowerCase()]=String(t)}},{key:"setTrackingName",value:function(e){return this._trackingName=e,this}},{key:"setPerformanceLogger",value:function(e){return this._performanceLogger=e,this}},{key:"open",value:function(e,t,s){if(this.readyState!==this.UNSENT)throw new Error('Cannot open, already sending');if(void 0!==s&&!s)throw new Error('Synchronous http requests are not supported');if(!t)throw new Error('Cannot load an empty url');this._method=e.toUpperCase(),this._url=t,this._aborted=!1,this.setReadyState(this.OPENED)}},{key:"send",value:function(e){var s=this;if(this.readyState!==this.OPENED)throw new Error('Request has not been opened');if(this._sent)throw new Error('Request has already been sent');this._sent=!0;var n=this._incrementalEvents||!!this.onreadystatechange||!!this.onprogress;this._subscriptions.push(y.addListener('didSendNetworkData',(function(e){return s.__didUploadProgress.apply(s,(0,t.default)(e))}))),this._subscriptions.push(y.addListener('didReceiveNetworkResponse',(function(e){return s.__didReceiveResponse.apply(s,(0,t.default)(e))}))),this._subscriptions.push(y.addListener('didReceiveNetworkData',(function(e){return s.__didReceiveData.apply(s,(0,t.default)(e))}))),this._subscriptions.push(y.addListener('didReceiveNetworkIncrementalData',(function(e){return s.__didReceiveIncrementalData.apply(s,(0,t.default)(e))}))),this._subscriptions.push(y.addListener('didReceiveNetworkDataProgress',(function(e){return s.__didReceiveDataProgress.apply(s,(0,t.default)(e))}))),this._subscriptions.push(y.addListener('didCompleteNetworkResponse',(function(e){return s.__didCompleteResponse.apply(s,(0,t.default)(e))})));var a='text';'arraybuffer'===this._responseType&&(a='base64'),'blob'===this._responseType&&(a='blob');var o;o='unknown'!==s._trackingName?s._trackingName:s._url,s._perfKey='network_XMLHttpRequest_'+String(o),s._performanceLogger.startTimespan(s._perfKey),R(s._method,'XMLHttpRequest method needs to be defined (%s).',o),R(s._url,'XMLHttpRequest URL needs to be defined (%s).',o),y.sendRequest(s._method,s._trackingName,s._url,s._headers,e,a,n,s.timeout,s.__didCreateRequest.bind(s),s.withCredentials)}},{key:"abort",value:function(){this._aborted=!0,this._requestId&&y.abortRequest(this._requestId),this.readyState===this.UNSENT||this.readyState===this.OPENED&&!this._sent||this.readyState===this.DONE||(this._reset(),this.setReadyState(this.DONE)),this._reset()}},{key:"setResponseHeaders",value:function(e){this.responseHeaders=e||null;var t=e||{};this._lowerCaseResponseHeaders=Object.keys(t).reduce((function(e,s){return e[s.toLowerCase()]=t[s],e}),{})}},{key:"setReadyState",value:function(e){this.readyState=e,this.dispatchEvent({type:'readystatechange'}),e===this.DONE&&(this._aborted?this.dispatchEvent({type:'abort'}):this._hasError?this._timedOut?this.dispatchEvent({type:'timeout'}):this.dispatchEvent({type:'error'}):this.dispatchEvent({type:'load'}),this.dispatchEvent({type:'loadend'}))}},{key:"addEventListener",value:function(e,t){'readystatechange'!==e&&'progress'!==e||(this._incrementalEvents=!0),(0,s.default)((0,h.default)(o.prototype),"addEventListener",this).call(this,e,t)}}],[{key:"setInterceptor",value:function(e){o._interceptor=e}}]),o})(p.default.apply(void 0,(0,t.default)(N)));w.UNSENT=0,w.OPENED=1,w.HEADERS_RECEIVED=2,w.LOADING=3,w.DONE=4,w._interceptor=null,m.exports=w}),170,[22,8,28,15,14,26,30,31,171,172,177,180,184,4]);
188
- __d((function(g,r,_i,a,m,e,d){
187
+ __d((function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.EventTarget=j,e.default=void 0,e.defineEventAttribute=x;
189
188
  /**
190
189
  * @author Toru Nagashima <https://github.com/mysticatea>
191
190
  * @copyright 2015 Toru Nagashima. All rights reserved.
192
191
  * See LICENSE file in root directory for full license.
193
192
  */
194
- 'use strict';Object.defineProperty(e,'__esModule',{value:!0});var t=new WeakMap,n=new WeakMap;function o(n){var o=t.get(n);return console.assert(null!=o,"'this' is expected an Event object, but got",n),o}function i(t){null==t.passiveListener?t.event.cancelable&&(t.canceled=!0,"function"==typeof t.event.preventDefault&&t.event.preventDefault()):"undefined"!=typeof console&&"function"==typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener)}function l(n,o){t.set(this,{eventTarget:n,event:o,eventPhase:2,currentTarget:n,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:o.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});for(var i=Object.keys(o),l=0;l<i.length;++l){var s=i[l];s in this||Object.defineProperty(this,s,u(s))}}function u(t){return{get:function(){return o(this).event[t]},set:function(n){o(this).event[t]=n},configurable:!0,enumerable:!0}}function s(t){return{value:function(){var n=o(this).event;return n[t].apply(n,arguments)},configurable:!0,enumerable:!0}}function p(t,n){var o=Object.keys(n);if(0===o.length)return t;function i(n,o){t.call(this,n,o)}i.prototype=Object.create(t.prototype,{constructor:{value:i,configurable:!0,writable:!0}});for(var l=0;l<o.length;++l){var p=o[l];if(!(p in t.prototype)){var c="function"==typeof Object.getOwnPropertyDescriptor(n,p).value;Object.defineProperty(i.prototype,p,c?s(p):u(p))}}return i}function c(t){if(null==t||t===Object.prototype)return l;var o=n.get(t);return null==o&&(o=p(c(Object.getPrototypeOf(t)),t),n.set(t,o)),o}function f(t,n){return new(c(Object.getPrototypeOf(n)))(t,n)}function v(t){return o(t).immediateStopped}function y(t,n){o(t).eventPhase=n}function b(t,n){o(t).currentTarget=n}function h(t,n){o(t).passiveListener=n}l.prototype={get type(){return o(this).event.type},get target(){return o(this).eventTarget},get currentTarget(){return o(this).currentTarget},composedPath:function(){var t=o(this).currentTarget;return null==t?[]:[t]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return o(this).eventPhase},stopPropagation:function(){var t=o(this);t.stopped=!0,"function"==typeof t.event.stopPropagation&&t.event.stopPropagation()},stopImmediatePropagation:function(){var t=o(this);t.stopped=!0,t.immediateStopped=!0,"function"==typeof t.event.stopImmediatePropagation&&t.event.stopImmediatePropagation()},get bubbles(){return Boolean(o(this).event.bubbles)},get cancelable(){return Boolean(o(this).event.cancelable)},preventDefault:function(){i(o(this))},get defaultPrevented(){return o(this).canceled},get composed(){return Boolean(o(this).event.composed)},get timeStamp(){return o(this).timeStamp},get srcElement(){return o(this).eventTarget},get cancelBubble(){return o(this).stopped},set cancelBubble(t){if(t){var n=o(this);n.stopped=!0,"boolean"==typeof n.event.cancelBubble&&(n.event.cancelBubble=!0)}},get returnValue(){return!o(this).canceled},set returnValue(t){t||i(o(this))},initEvent:function(){}},Object.defineProperty(l.prototype,"constructor",{value:l,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.Event&&(Object.setPrototypeOf(l.prototype,window.Event.prototype),n.set(window.Event.prototype,l));var w=new WeakMap;function T(t){return null!==t&&"object"==typeof t}function P(t){var n=w.get(t);if(null==n)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return n}function x(t){return{get:function(){for(var n=P(this).get(t);null!=n;){if(3===n.listenerType)return n.listener;n=n.next}return null},set:function(n){"function"==typeof n||T(n)||(n=null);for(var o=P(this),i=null,l=o.get(t);null!=l;)3===l.listenerType?null!==i?i.next=l.next:null!==l.next?o.set(t,l.next):o.delete(t):i=l,l=l.next;if(null!==n){var u={listener:n,listenerType:3,passive:!1,once:!1,next:null};null===i?o.set(t,u):i.next=u}},configurable:!0,enumerable:!0}}function E(t,n){Object.defineProperty(t,`on${n}`,x(n))}function O(t){function n(){j.call(this)}n.prototype=Object.create(j.prototype,{constructor:{value:n,configurable:!0,writable:!0}});for(var o=0;o<t.length;++o)E(n.prototype,t[o]);return n}function j(){if(!(this instanceof j)){if(1===arguments.length&&Array.isArray(arguments[0]))return O(arguments[0]);if(arguments.length>0){for(var t=new Array(arguments.length),n=0;n<arguments.length;++n)t[n]=arguments[n];return O(t)}throw new TypeError("Cannot call a class as a function")}w.set(this,new Map)}j.prototype={addEventListener:function(t,n,o){if(null!=n){if("function"!=typeof n&&!T(n))throw new TypeError("'listener' should be a function or an object.");var i=P(this),l=T(o),u=(l?Boolean(o.capture):Boolean(o))?1:2,s={listener:n,listenerType:u,passive:l&&Boolean(o.passive),once:l&&Boolean(o.once),next:null},p=i.get(t);if(void 0!==p){for(var c=null;null!=p;){if(p.listener===n&&p.listenerType===u)return;c=p,p=p.next}c.next=s}else i.set(t,s)}},removeEventListener:function(t,n,o){if(null!=n)for(var i=P(this),l=(T(o)?Boolean(o.capture):Boolean(o))?1:2,u=null,s=i.get(t);null!=s;){if(s.listener===n&&s.listenerType===l)return void(null!==u?u.next=s.next:null!==s.next?i.set(t,s.next):i.delete(t));u=s,s=s.next}},dispatchEvent:function(t){if(null==t||"string"!=typeof t.type)throw new TypeError('"event.type" should be a string.');var n=P(this),o=t.type,i=n.get(o);if(null==i)return!0;for(var l=f(this,t),u=null;null!=i;){if(i.once?null!==u?u.next=i.next:null!==i.next?n.set(o,i.next):n.delete(o):u=i,h(l,i.passive?i.listener:null),"function"==typeof i.listener)try{i.listener.call(this,l)}catch(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t)}else 3!==i.listenerType&&"function"==typeof i.listener.handleEvent&&i.listener.handleEvent(l);if(v(l))break;i=i.next}return h(l,null),y(l,0),b(l,null),!l.defaultPrevented}},Object.defineProperty(j.prototype,"constructor",{value:j,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.EventTarget&&Object.setPrototypeOf(j.prototype,window.EventTarget.prototype),e.defineEventAttribute=E,e.EventTarget=j,e.default=j,m.exports=j,m.exports.EventTarget=m.exports.default=j,m.exports.defineEventAttribute=E}),171,[]);
193
+ var t=new WeakMap,n=new WeakMap;function o(n){var o=t.get(n);return console.assert(null!=o,"'this' is expected an Event object, but got",n),o}function i(t){null==t.passiveListener?t.event.cancelable&&(t.canceled=!0,"function"==typeof t.event.preventDefault&&t.event.preventDefault()):"undefined"!=typeof console&&"function"==typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener)}function l(n,o){t.set(this,{eventTarget:n,event:o,eventPhase:2,currentTarget:n,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:o.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});for(var i=Object.keys(o),l=0;l<i.length;++l){var s=i[l];s in this||Object.defineProperty(this,s,u(s))}}function u(t){return{get:function(){return o(this).event[t]},set:function(n){o(this).event[t]=n},configurable:!0,enumerable:!0}}function s(t){return{value:function(){var n=o(this).event;return n[t].apply(n,arguments)},configurable:!0,enumerable:!0}}function c(t,n){var o=Object.keys(n);if(0===o.length)return t;function i(n,o){t.call(this,n,o)}i.prototype=Object.create(t.prototype,{constructor:{value:i,configurable:!0,writable:!0}});for(var l=0;l<o.length;++l){var c=o[l];if(!(c in t.prototype)){var p="function"==typeof Object.getOwnPropertyDescriptor(n,c).value;Object.defineProperty(i.prototype,c,p?s(c):u(c))}}return i}function p(t){if(null==t||t===Object.prototype)return l;var o=n.get(t);return null==o&&(o=c(p(Object.getPrototypeOf(t)),t),n.set(t,o)),o}function f(t,n){return new(p(Object.getPrototypeOf(n)))(t,n)}function v(t){return o(t).immediateStopped}function y(t,n){o(t).eventPhase=n}function h(t,n){o(t).currentTarget=n}function b(t,n){o(t).passiveListener=n}l.prototype={get type(){return o(this).event.type},get target(){return o(this).eventTarget},get currentTarget(){return o(this).currentTarget},composedPath:function(){var t=o(this).currentTarget;return null==t?[]:[t]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return o(this).eventPhase},stopPropagation:function(){var t=o(this);t.stopped=!0,"function"==typeof t.event.stopPropagation&&t.event.stopPropagation()},stopImmediatePropagation:function(){var t=o(this);t.stopped=!0,t.immediateStopped=!0,"function"==typeof t.event.stopImmediatePropagation&&t.event.stopImmediatePropagation()},get bubbles(){return Boolean(o(this).event.bubbles)},get cancelable(){return Boolean(o(this).event.cancelable)},preventDefault:function(){i(o(this))},get defaultPrevented(){return o(this).canceled},get composed(){return Boolean(o(this).event.composed)},get timeStamp(){return o(this).timeStamp},get srcElement(){return o(this).eventTarget},get cancelBubble(){return o(this).stopped},set cancelBubble(t){if(t){var n=o(this);n.stopped=!0,"boolean"==typeof n.event.cancelBubble&&(n.event.cancelBubble=!0)}},get returnValue(){return!o(this).canceled},set returnValue(t){t||i(o(this))},initEvent:function(){}},Object.defineProperty(l.prototype,"constructor",{value:l,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.Event&&(Object.setPrototypeOf(l.prototype,window.Event.prototype),n.set(window.Event.prototype,l));var w=new WeakMap;function P(t){return null!==t&&"object"==typeof t}function T(t){var n=w.get(t);if(null==n)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return n}function E(t){return{get:function(){for(var n=T(this).get(t);null!=n;){if(3===n.listenerType)return n.listener;n=n.next}return null},set:function(n){"function"==typeof n||P(n)||(n=null);for(var o=T(this),i=null,l=o.get(t);null!=l;)3===l.listenerType?null!==i?i.next=l.next:null!==l.next?o.set(t,l.next):o.delete(t):i=l,l=l.next;if(null!==n){var u={listener:n,listenerType:3,passive:!1,once:!1,next:null};null===i?o.set(t,u):i.next=u}},configurable:!0,enumerable:!0}}function x(t,n){Object.defineProperty(t,`on${n}`,E(n))}function O(t){function n(){j.call(this)}n.prototype=Object.create(j.prototype,{constructor:{value:n,configurable:!0,writable:!0}});for(var o=0;o<t.length;++o)x(n.prototype,t[o]);return n}function j(){if(!(this instanceof j)){if(1===arguments.length&&Array.isArray(arguments[0]))return O(arguments[0]);if(arguments.length>0){for(var t=new Array(arguments.length),n=0;n<arguments.length;++n)t[n]=arguments[n];return O(t)}throw new TypeError("Cannot call a class as a function")}w.set(this,new Map)}j.prototype={addEventListener:function(t,n,o){if(null!=n){if("function"!=typeof n&&!P(n))throw new TypeError("'listener' should be a function or an object.");var i=T(this),l=P(o),u=(l?Boolean(o.capture):Boolean(o))?1:2,s={listener:n,listenerType:u,passive:l&&Boolean(o.passive),once:l&&Boolean(o.once),next:null},c=i.get(t);if(void 0!==c){for(var p=null;null!=c;){if(c.listener===n&&c.listenerType===u)return;p=c,c=c.next}p.next=s}else i.set(t,s)}},removeEventListener:function(t,n,o){if(null!=n)for(var i=T(this),l=(P(o)?Boolean(o.capture):Boolean(o))?1:2,u=null,s=i.get(t);null!=s;){if(s.listener===n&&s.listenerType===l)return void(null!==u?u.next=s.next:null!==s.next?i.set(t,s.next):i.delete(t));u=s,s=s.next}},dispatchEvent:function(t){if(null==t||"string"!=typeof t.type)throw new TypeError('"event.type" should be a string.');var n=T(this),o=t.type,i=n.get(o);if(null==i)return!0;for(var l=f(this,t),u=null;null!=i;){if(i.once?null!==u?u.next=i.next:null!==i.next?n.set(o,i.next):n.delete(o):u=i,b(l,i.passive?i.listener:null),"function"==typeof i.listener)try{i.listener.call(this,l)}catch(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t)}else 3!==i.listenerType&&"function"==typeof i.listener.handleEvent&&i.listener.handleEvent(l);if(v(l))break;i=i.next}return b(l,null),y(l,0),h(l,null),!l.defaultPrevented}},Object.defineProperty(j.prototype,"constructor",{value:j,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.EventTarget&&Object.setPrototypeOf(j.prototype,window.EventTarget.prototype);e.default=j}),171,[]);
195
194
  __d((function(g,_r,i,a,m,_e,d){var e=_r(d[0]),t=e(_r(d[1])),r=e(_r(d[2])),l=e(_r(d[3])),o=e(_r(d[4])),n=e(_r(d[5]));function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function f(e){for(var r=1;r<arguments.length;r++){var l=null!=arguments[r]?arguments[r]:{};r%2?u(Object(l),!0).forEach((function(r){(0,t.default)(e,r,l[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):u(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var c=_r(d[6]),b=_r(d[7]);var s=(function(){function e(){(0,r.default)(this,e)}return(0,l.default)(e,null,[{key:"createFromParts",value:function(t,r){(0,n.default)(o.default,'NativeBlobModule is available.');var l='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return('x'==e?t:3&t|8).toString(16)})),u=t.map((function(e){if(e instanceof ArrayBuffer||ArrayBuffer.isView(e))throw new Error("Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported");return e instanceof c?{data:e.data,type:'blob'}:{data:String(e),type:'string'}})),f=u.reduce((function(e,t){return'string'===t.type?e+g.unescape(encodeURI(t.data)).length:e+t.data.size}),0);return o.default.createFromParts(u,l),e.createFromOptions({blobId:l,offset:0,size:f,type:r?r.type:'',lastModified:r?r.lastModified:Date.now()})}},{key:"createFromOptions",value:function(e){return b.register(e.blobId),Object.assign(Object.create(c.prototype),{data:null==e.__collector?f(f({},e),{},{__collector:(t=e.blobId,null==g.__blobCollectorProvider?null:g.__blobCollectorProvider(t))}):e});var t}},{key:"release",value:function(e){(0,n.default)(o.default,'NativeBlobModule is available.'),b.unregister(e),b.has(e)||o.default.release(e)}},{key:"addNetworkingHandler",value:function(){(0,n.default)(o.default,'NativeBlobModule is available.'),o.default.addNetworkingHandler()}},{key:"addWebSocketHandler",value:function(e){(0,n.default)(o.default,'NativeBlobModule is available.'),o.default.addWebSocketHandler(e)}},{key:"removeWebSocketHandler",value:function(e){(0,n.default)(o.default,'NativeBlobModule is available.'),o.default.removeWebSocketHandler(e)}},{key:"sendOverSocket",value:function(e,t){(0,n.default)(o.default,'NativeBlobModule is available.'),o.default.sendOverSocket(e.data,t)}}]),e})();s.isAvailable=!!o.default,m.exports=s}),172,[22,41,14,15,173,4,175,176]);
196
195
  __d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0});var e={};_e.default=void 0;var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}Object.keys(t).forEach((function(r){"default"!==r&&"__esModule"!==r&&(Object.prototype.hasOwnProperty.call(e,r)||r in _e&&_e[r]===t[r]||Object.defineProperty(_e,r,{enumerable:!0,get:function(){return t[r]}}))}));_e.default=t.default}),173,[174]);
197
196
  __d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(e=function(e){return e?r:n})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;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 r=e(n);if(r&&r.has(t))return r.get(t);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var l=a?Object.getOwnPropertyDescriptor(t,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=t[u]}return o.default=t,r&&r.set(t,o),o})(_r(d[0])).get('BlobModule'),n=null,r=null;null!=t&&(r={getConstants:function(){return null==n&&(n=t.getConstants()),n},addNetworkingHandler:function(){t.addNetworkingHandler()},addWebSocketHandler:function(e){t.addWebSocketHandler(e)},removeWebSocketHandler:function(e){t.removeWebSocketHandler(e)},sendOverSocket:function(e,n){t.sendOverSocket(e,n)},createFromParts:function(e,n){t.createFromParts(e,n)},release:function(e){t.release(e)}});_e.default=r}),174,[51]);
@@ -1010,7 +1009,7 @@ __d((function(g,_r,i,a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModu
1010
1009
  __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.LoadInitialData=function(e){var o=e.children,f=e.loader,i=void 0===f?(0,u.jsx)(n.Splash,{}):f,l=r.useState(!0),c=(0,t.default)(l,2),p=c[0],s=c[1],v=r.useState({}),y=(0,t.default)(v,2),_=y[0],O=y[1];if(r.useEffect((function(){(0,a.getInitialData)().then((function(e){O(e),s(!1)}))}),[]),p)return i;return r.cloneElement(o,_)};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=a?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(n,u,f):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=_r(d[3]),a=_r(d[4]),u=_r(d[5]);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}}),952,[22,53,107,953,954,240]);
1011
1010
  __d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.Splash=function(){return(0,t.jsx)(e.View,{flex:"1",style:{justifyContent:'center',alignItems:'center'},bg:"default",children:(0,t.jsx)(e.ExpoLogoIcon,{style:{width:85,resizeMode:'contain'},resizeMode:"contain"})})};var e=_r(d[0]),t=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=i?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(o,u,f):o[u]=e[u]}o.default=e,r&&r.set(e,o)})(_r(d[1])),_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),953,[698,107,240]);
1012
1011
  __d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getInitialData=function(){return v.apply(this,arguments)};var t=n(r(d[1])),o=n(r(d[2])),s=r(d[3]),l=r(d[4]),u=r(d[5]),c=r(d[6]),f=r(d[7]),p=r(d[8]);function v(){return(v=(0,o.default)((function*(){var n=yield Promise.all([(0,u.getBuildInfoAsync)(),(0,c.getMenuPreferencesAsync)(),(0,u.getCrashReport)(),(0,u.consumeNavigationStateAsync)()]),o=(0,t.default)(n,4),v=o[0],y=o[1],h=o[2],A=o[3];yield(0,u.loadFontsAsync)();var D=yield(0,l.restoreUserAsync)().catch((function(n){return console.log({error:n}),Promise.resolve(null)})),I=null!=D,P=yield(0,s.getDevSessionsAsync)({isAuthenticated:I,installationID:u.installationID,isDevice:u.isDevice,timeout:1500}).catch((function(n){return console.log({error:n}),Promise.resolve([])}));return I&&u.updatesConfig.usesEASUpdates&&(0,p.prefetchBranchesForApp)(u.updatesConfig.appId,u.updatesConfig.runtimeVersion,f.defaultQueryOptions.pageSize).catch((function(n){console.log({error:n})})),{initialDevSessions:P,initialUserData:D,initialBuildInfo:v,initialDevMenuPreferences:y,initialCrashReport:h,initialNavigationState:A}}))).apply(this,arguments)}}),954,[22,53,340,955,976,978,979,980,1022]);
1013
- __d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.fetchDevSessions=v,e.getDevSessionsAsync=function(t){return c.apply(this,arguments)},e.getLocalPackagersAsync=f;var n=t(r(d[1])),u=(r(d[2]),r(d[3])),l='http://10.0.2.2',s='status',o=[8081,8082,8083,8084,8085,19e3,19001,19002];function c(){return(c=(0,n.default)((function*(t){var n=t.isAuthenticated,u=void 0!==n&&n,l=t.installationID,s=void 0===l?'':l,o=t.isDevice,c=void 0!==o&&o,p=t.timeout,h=[];if(u){var y=yield v(null,p);h=h.concat(y)}if(!h.length&&s){var D=yield v(s,p);h=h.concat(D)}if(!h.length&&!c){var $=yield f();h=h.concat($)}return h}))).apply(this,arguments)}function f(){return p.apply(this,arguments)}function p(){return p=(0,n.default)((function*(){var t=[];return yield Promise.all(o.map((function(){var u=(0,n.default)((function*(n){try{var u=`${l}:${n}`;200===(yield fetch(`${u}/${s}`)).status&&t.push({url:u,description:u,source:'desktop'})}catch(t){}}));return function(t){return u.apply(this,arguments)}})())),t})),p.apply(this,arguments)}function v(t,n){return h.apply(this,arguments)}function h(){return(h=(0,n.default)((function*(t,n){var l,s,o="/development-sessions",c={};return null!=t&&(o+=`?deviceId=${t}`,c['Expo-Dev-Client-ID']=t),n?null!=(l=(yield(0,u.restClientWithTimeout)(o,n,{headers:c})).data)?l:[]:null!=(s=(yield(0,u.restClient)(o,{headers:c})).data)?s:[]}))).apply(this,arguments)}}),955,[22,340,2,956]);
1012
+ __d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.fetchDevSessions=p,e.getDevSessionsAsync=function(t){return o.apply(this,arguments)},e.getLocalPackagersAsync=c;var n=t(r(d[1])),l=(r(d[2]),r(d[3])),u='status',s=[8081,8082,8083,8084,8085,19e3,19001,19002];function o(){return(o=(0,n.default)((function*(t){var n=t.isAuthenticated,l=void 0!==n&&n,u=t.installationID,s=void 0===u?'':u,o=t.isDevice,f=void 0!==o&&o,h=t.timeout,v=[];if(l){var y=yield p(null,h);v=v.concat(y)}if(!v.length&&s){var D=yield p(s,h);v=v.concat(D)}if(!v.length&&(!f||f)){var $=yield c(f);v=v.concat($)}return v}))).apply(this,arguments)}function c(t){return f.apply(this,arguments)}function f(){return f=(0,n.default)((function*(t){var l=[],o=t?'http://localhost':'http://10.0.2.2';return yield Promise.all(s.map((function(){var t=(0,n.default)((function*(t){try{var n=`${o}:${t}`;200===(yield fetch(`${n}/${u}`)).status&&l.push({url:n,description:n,source:'desktop'})}catch(t){}}));return function(n){return t.apply(this,arguments)}})())),l})),f.apply(this,arguments)}function p(t,n){return h.apply(this,arguments)}function h(){return(h=(0,n.default)((function*(t,n){var u,s,o="/development-sessions",c={};return null!=t&&(o+=`?deviceId=${t}`,c['Expo-Dev-Client-ID']=t),n?null!=(u=(yield(0,l.restClientWithTimeout)(o,n,{headers:c})).data)?u:[]:null!=(s=(yield(0,l.restClient)(o,{headers:c})).data)?s:[]}))).apply(this,arguments)}}),955,[22,340,2,956]);
1014
1013
  __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.apiEndpoint=_e.apiClient=void 0,_e.restClient=f,_e.restClientWithTimeout=function(e,t){return O.apply(this,arguments)},_e.restEndpoint=void 0,_e.setSessionAsync=function(e){return b.apply(this,arguments)},_e.websiteOrigin=void 0;var t=e(_r(d[1])),r=e(_r(d[2])),n=_r(d[3]),i=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in e)if("default"!==p&&Object.prototype.hasOwnProperty.call(e,p)){var u=i?Object.getOwnPropertyDescriptor(e,p):null;u&&(u.get||u.set)?Object.defineProperty(n,p,u):n[p]=e[p]}return n.default=e,r&&r.set(e,n),n})(_r(d[4]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?p(Object(n),!0).forEach((function(r){(0,t.default)(e,r,n[r])})):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 a=_e.apiEndpoint="https://exp.host/--/graphql",s=(_e.websiteOrigin='https://expo.dev',_e.restEndpoint="https://exp.host/--/api/v2"),l=_e.apiClient=new n.GraphQLClient(a),c={'content-type':'application/json'};function f(e){return y.apply(this,arguments)}function y(){return y=(0,r.default)((function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=u(u({method:t.body?'POST':'GET'},t),{},{headers:u(u({},c),t.headers)});null!=t.body&&(r.body=JSON.stringify(body));var n=`${s}${e}`,i=yield fetch(n,r);if(i.ok)return yield i.json();var o=yield i.text();return Promise.reject(new Error(o))})),y.apply(this,arguments)}function O(){return O=(0,r.default)((function*(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=new AbortController,i=setTimeout((function(){return n.abort()}),t);try{return yield f(e,u(u({},r),{},{signal:n.signal}))}finally{clearTimeout(i)}})),O.apply(this,arguments)}function b(){return(b=(0,r.default)((function*(e){yield i.setSessionAsync(e),l.setHeader('expo-session',e),c['expo-session']=e}))).apply(this,arguments)}}),956,[22,41,340,957,975]);
1015
1014
  __d((function(_g,r,_i2,a,_m,_e2,d){"use strict";var e=this&&this.__assign||function(){return e=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},e.apply(this,arguments)},t=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(o,e,i);return n(o,e),o},i=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(i,u){function s(e){try{f(o.next(e))}catch(e){u(e)}}function c(e){try{f(o.throw(e))}catch(e){u(e)}}function f(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,c)}f((o=o.apply(e,t||[])).next())}))},u=this&&this.__generator||function(e,t){var n,o,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function c(e){return function(t){return f([e,t])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(i=2&u[0]?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,o=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){s=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){s.label=u[1];break}if(6===u[0]&&s.label<i[1]){s.label=i[1],i=u;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(u);break}i[2]&&s.ops.pop(),s.trys.pop();continue}u=t.call(e,s)}catch(e){u=[6,e],o=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},s=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_e2,"__esModule",{value:!0}),_e2.gql=_e2.batchRequests=_e2.request=_e2.rawRequest=_e2.GraphQLClient=_e2.ClientError=void 0;var f=o(r(d[0])),h=f,l=r(d[1]),p=c(r(d[2])),v=r(d[3]);Object.defineProperty(_e2,"ClientError",{enumerable:!0,get:function(){return v.ClientError}});var y=function(e){var t={};return e&&('undefined'!=typeof Headers&&e instanceof Headers||e instanceof h.Headers?t=N(e):Array.isArray(e)?e.forEach((function(e){var n=e[0],o=e[1];t[n]=o})):t=e),t},b=function(e){return e.replace(/([\s,]|#[^\n\r]+)+/g,' ').trim()},m=function(e){var t=e.query,n=e.variables,o=e.operationName;if(!Array.isArray(t)){var i=["query="+encodeURIComponent(b(t))];return n&&i.push("variables="+encodeURIComponent(JSON.stringify(n))),o&&i.push("operationName="+encodeURIComponent(o)),i.join('&')}if(void 0!==n&&!Array.isArray(n))throw new Error('Cannot create query with given variable type, array expected');var u=t.reduce((function(e,t,o){return e.push({query:b(t),variables:n?JSON.stringify(n[o]):void 0}),e}),[]);return"query="+encodeURIComponent(JSON.stringify(u))},O=function(t){var n=t.url,o=t.query,s=t.variables,c=t.operationName,f=t.headers,h=t.fetch,l=t.fetchOptions;return i(void 0,void 0,void 0,(function(){var t;return u(this,(function(i){switch(i.label){case 0:return t=p.default(o,s,c),[4,h(n,e({method:'POST',headers:e(e({},'string'==typeof t?{'Content-Type':'application/json'}:{}),f),body:t},l))];case 1:return[2,i.sent()]}}))}))},w=function(t){var n=t.url,o=t.query,s=t.variables,c=t.operationName,f=t.headers,h=t.fetch,l=t.fetchOptions;return i(void 0,void 0,void 0,(function(){var t;return u(this,(function(i){switch(i.label){case 0:return t=m({query:o,variables:s,operationName:c}),[4,h(n+"?"+t,e({method:'GET',headers:f},l))];case 1:return[2,i.sent()]}}))}))},q=(function(){function t(e,t){this.url=e,this.options=t||{}}return t.prototype.rawRequest=function(t,n,o){var i=this.options,u=i.headers,c=i.fetch,h=void 0===c?f.default:c,l=i.method,p=void 0===l?'POST':l,v=s(i,["headers","fetch","method"]);return g({url:this.url,query:t,variables:n,headers:e(e({},y(u)),y(o)),operationName:void 0,fetch:h,method:p,fetchOptions:v})},t.prototype.request=function(t,n,o){return i(this,void 0,void 0,(function(){var i,c,h,l,p,v,b,m,O,w,q;return u(this,(function(u){switch(u.label){case 0:return i=this.options,c=i.headers,h=i.fetch,l=void 0===h?f.default:h,p=i.method,v=void 0===p?'POST':p,b=s(i,["headers","fetch","method"]),m=this.url,O=P(t),w=O.query,q=O.operationName,[4,g({url:m,query:w,variables:n,headers:e(e({},y(c)),y(o)),operationName:q,fetch:l,method:v,fetchOptions:b})];case 1:return[2,u.sent().data]}}))}))},t.prototype.batchRequests=function(t,n){return i(this,void 0,void 0,(function(){var o,i,c,h,l,p,v,b,m,O;return u(this,(function(u){switch(u.label){case 0:return o=this.options,i=o.headers,c=o.fetch,h=void 0===c?f.default:c,l=o.method,p=void 0===l?'POST':l,v=s(o,["headers","fetch","method"]),b=this.url,m=t.map((function(e){return P(e.document).query})),O=t.map((function(e){return e.variables})),[4,g({url:b,query:m,variables:O,headers:e(e({},y(i)),y(n)),operationName:void 0,fetch:h,method:p,fetchOptions:v})];case 1:return[2,u.sent().data]}}))}))},t.prototype.setHeaders=function(e){return this.options.headers=e,this},t.prototype.setHeader=function(e,t){var n,o=this.options.headers;return o?o[e]=t:this.options.headers=((n={})[e]=t,n),this},t.prototype.setEndpoint=function(e){return this.url=e,this},t})();function g(t){var n=t.url,o=t.query,s=t.variables,c=t.headers,f=t.operationName,h=t.fetch,l=t.method,p=void 0===l?'POST':l,y=t.fetchOptions;return i(this,void 0,void 0,(function(){var t,i,l,b,m,q,g,_;return u(this,(function(u){switch(u.label){case 0:return t='POST'===p.toUpperCase()?O:w,i=Array.isArray(o),[4,t({url:n,query:o,variables:s,operationName:f,headers:c,fetch:h,fetchOptions:y})];case 1:return[4,j(l=u.sent())];case 2:if(b=u.sent(),m=i&&Array.isArray(b)?!b.some((function(e){return!e.data})):!!b.data,l.ok&&!b.errors&&m)return q=l.headers,g=l.status,[2,e(e({},i?{data:b}:b),{headers:q,status:g})];throw _='string'==typeof b?{error:b}:b,new v.ClientError(e(e({},_),{status:l.status,headers:l.headers}),{query:o,variables:s})}}))}))}function _(e,t,n,o){return i(this,void 0,void 0,(function(){return u(this,(function(i){return[2,new q(e).request(t,n,o)]}))}))}function j(e){var t=e.headers.get('Content-Type');return t&&t.startsWith('application/json')?e.json():e.text()}function P(e){var t;if('string'==typeof e)return{query:e};var n=void 0,o=e.definitions.filter((function(e){return'OperationDefinition'===e.kind}));return 1===o.length&&(n=null===(t=o[0].name)||void 0===t?void 0:t.value),{query:l.print(e),operationName:n}}function N(e){var t={};return e.forEach((function(e,n){t[n]=e})),t}_e2.GraphQLClient=q,_e2.rawRequest=function(e,t,n,o){return i(this,void 0,void 0,(function(){return u(this,(function(i){return[2,new q(e).rawRequest(t,n,o)]}))}))},_e2.request=_,_e2.batchRequests=function(e,t,n){return i(this,void 0,void 0,(function(){return u(this,(function(o){return[2,new q(e).batchRequests(t,n)]}))}))},_e2.default=_,_e2.gql=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.reduce((function(e,n,o){return""+e+n+(o in t?t[o]:'')}),'')}}),957,[958,959,968,974]);
1016
1015
  __d((function(g,r,i,a,m,e,d){m.exports=g.fetch,m.exports.default=g.fetch,m.exports.fetch=g.fetch,m.exports.Headers=g.Headers,m.exports.Request=g.Request,m.exports.Response=g.Response}),958,[]);
@@ -1257,4 +1256,5 @@ __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esMo
1257
1256
  __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.UserProfileScreen=function(e){var l=e.navigation,p=(0,u.useUser)(),y=p.userData,w=p.selectedAccount,v=(0,c.useModalStack)(),P=(0,u.useUserActions)(),b=o.useState(!1),V=(0,r.default)(b,2),S=V[0],A=V[1],O=(function(){var e=(0,n.default)((function*(){A(!0),yield P.login('login'),A(!1)}));return function(){return e.apply(this,arguments)}})(),L=(function(){var e=(0,n.default)((function*(){A(!0),yield P.login('signup'),A(!1)}));return function(){return e.apply(this,arguments)}})(),z=null!=y;return(0,f.jsx)(s.SafeAreaView,{style:{flex:1},edges:['bottom'],children:(0,f.jsx)(i.ScrollView,{style:{flex:1},children:(0,f.jsxs)(t.View,{children:[(0,f.jsx)(x,{onClosePress:function(){l.goBack()}}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.View,{px:"medium",children:z?(0,f.jsx)(h,{userData:y,selectedAccount:w,onSelectAccount:function(e){P.setSelectedAccount(e.id)},onLogoutPress:function(){v.push((function(){return(0,f.jsx)(a.LogoutConfirmationModal,{onClosePress:function(){return v.pop()},onLogoutPress:(0,n.default)((function*(){yield P.logout(),v.pop()}))})}))}}):(0,f.jsx)(j,{isLoading:S,onLoginPress:O,onSignupPress:L})})]})})})};var n=e(_r(d[1])),r=e(_r(d[2])),t=_r(d[3]),o=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(n);if(r&&r.has(e))return r.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(t,i,s):t[i]=e[i]}return t.default=e,r&&r.set(e,t),t})(_r(d[4])),i=_r(d[5]),s=_r(d[6]),l=_r(d[7]),a=_r(d[8]),c=_r(d[9]),u=_r(d[10]),f=_r(d[11]);function p(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:n})(e)}function x(e){var n=e.onClosePress;return(0,f.jsxs)(t.View,{children:[(0,f.jsx)(t.Spacer.Vertical,{size:"small"}),(0,f.jsxs)(t.Row,{align:"center",children:[(0,f.jsx)(t.View,{px:"medium",children:(0,f.jsx)(t.Heading,{size:"large",children:"Account"})}),(0,f.jsx)(t.Spacer.Horizontal,{}),(0,f.jsx)(t.Button.FadeOnPressContainer,{onPress:n,accessibilityLabel:"Go Back",rounded:"full",bg:"ghost",children:(0,f.jsx)(t.View,{padding:"medium",rounded:"full",children:(0,f.jsx)(t.XIcon,{})})})]})]})}function j(e){var n=e.onLoginPress,r=e.onSignupPress,o=e.isLoading;return(0,f.jsxs)(t.View,{px:"small",py:"medium",bg:"default",rounded:"large",children:[(0,f.jsx)(t.Text,{color:"secondary",size:"small",leading:"large",children:"Log in or create an account to view local development servers and more."}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:n,disabled:o,accessibilityLabel:"Log in",children:(0,f.jsx)(t.View,{py:"small",children:(0,f.jsx)(t.Button.Text,{color:"tertiary",weight:"semibold",align:"center",children:"Log In"})})}),(0,f.jsx)(t.Spacer.Vertical,{size:"small"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"secondary",rounded:"medium",onPress:r,disabled:o,accessibilityLabel:"Sign Up",children:(0,f.jsx)(t.View,{py:"small",children:(0,f.jsx)(t.Button.Text,{color:"secondary",weight:"semibold",align:"center",children:"Sign Up"})})}),o&&(0,f.jsx)(t.View,{style:{position:'absolute',right:0,left:0,top:0,bottom:0,alignItems:'center',justifyContent:'center'},children:(0,f.jsx)(i.ActivityIndicator,{size:"small"})})]})}function h(e){var n=e.userData,r=e.selectedAccount,o=e.onSelectAccount,i=e.onLogoutPress,s=[],a=[];for(var c of n.accounts)c&&(c.ownerUserActor?s.push(c):a.push(c));var u=[].concat(s,a);return(0,f.jsxs)(t.View,{children:[(0,f.jsx)(t.View,{children:u.map((function(e,n,i){var s,a,c,u,p=n===i.length-1,x=0===n,j=e.id===(null==r?void 0:r.id);return(0,f.jsxs)(t.Button.FadeOnPressContainer,{onPress:function(){return o(e)},bg:"default",roundedBottom:p?'large':'none',roundedTop:x?'large':'none',children:[(0,f.jsxs)(t.Row,{align:"center",py:"small",px:"medium",bg:"default",children:[(0,f.jsx)(l.Avatar,{profilePhoto:null==e||null==(s=e.ownerUserActor)?void 0:s.profilePhoto,name:null!=e&&null!=(a=e.ownerUserActor)&&a.fullName?e.ownerUserActor.fullName:null==e?void 0:e.name,isOrganization:null===(null==e?void 0:e.ownerUserActor),size:"large"}),(0,f.jsx)(t.Spacer.Horizontal,{size:"small"}),(0,f.jsx)(t.View,{children:(0,f.jsx)(t.Heading,{children:null!=(c=null==(u=e.ownerUserActor)?void 0:u.username)?c:e.name})}),(0,f.jsx)(t.Spacer.Vertical,{}),j&&(0,f.jsx)(t.CheckIcon,{testID:`active-account-checkmark-${e.id}`})]}),!p&&(0,f.jsx)(t.Divider,{})]},e.id)}))}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:i,children:(0,f.jsx)(t.View,{py:"small",rounded:"medium",children:(0,f.jsx)(t.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})]})}}),1111,[22,340,53,698,107,2,598,1098,1112,1076,1068,240]);
1258
1257
  __d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.LogoutConfirmationModal=function(n){var o=n.onLogoutPress,i=n.onClosePress;return(0,t.jsxs)(r.BaseModal,{title:"Confirm logout",children:[(0,t.jsx)(e.Heading,{weight:"medium",children:"Are you sure you want to log out?"}),(0,t.jsx)(e.Spacer.Vertical,{size:"medium"}),(0,t.jsxs)(e.Row,{children:[(0,t.jsx)(e.View,{flex:"1",grow:"1",children:(0,t.jsx)(e.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:o,accessibilityLabel:"Log out",children:(0,t.jsx)(e.View,{padding:"small",rounded:"medium",children:(0,t.jsx)(e.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})}),(0,t.jsx)(e.Spacer.Horizontal,{size:"medium"}),(0,t.jsx)(e.View,{flex:"1",grow:"1",children:(0,t.jsx)(e.Button.FadeOnPressContainer,{bg:"ghost",border:"ghost",rounded:"medium",onPress:i,children:(0,t.jsx)(e.View,{padding:"small",rounded:"medium",children:(0,t.jsx)(e.Button.Text,{color:"ghost",weight:"bold",align:"center",children:"Nevermind"})})})})]})]})};var e=_r(d[0]),r=((function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,t&&t.set(e,o)})(_r(d[1])),_r(d[2])),t=_r(d[3]);function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}}),1112,[698,107,1079,240]);
1259
1258
  __r(139);
1260
- __r(0);
1259
+ __r(0);
1260
+ //# sourceURL=http://localhost:8081/index.js.bundle?platform=android&dev=false&hot=false&minify=true&transform.routerRoot=app&resolver.environment=client&transform.environment=client&serializer.output=static
@@ -116,11 +116,13 @@ public class NonFinalBridgelessDevSupportManager extends DevSupportManagerBase {
116
116
  hideRedboxDialog();
117
117
  mReactHost.reload("BridgelessDevSupportManager.handleReloadJS()");
118
118
 
119
- PrinterHolder.getPrinter()
120
- .logMessage(ReactDebugOverlayTags.RN_CORE, "RNCore: load from Server");
121
- String bundleURL =
122
- getDevServerHelper().getDevServerBundleURL(Assertions.assertNotNull(getJSAppBundleName()));
123
- reloadJSFromServer(bundleURL);
119
+ // 0.74 workaround for https://github.com/facebook/react-native/commit/524e3eec3e73f56746ace8bef569f36802a7a62e
120
+ isPackagerRunning(isMetroRunning -> {
121
+ if (!isMetroRunning) {
122
+ String bundleURL = getDevServerHelper().getDevServerBundleURL(Assertions.assertNotNull(getJSAppBundleName()));
123
+ reloadJSFromServer(bundleURL);
124
+ }
125
+ });
124
126
  }
125
127
 
126
128
  private static ReactInstanceDevHelper createInstanceDevHelper(final ReactHostImpl reactHost) {
@@ -3,12 +3,6 @@ import { Platform } from 'react-native';
3
3
  import { restClient, restClientWithTimeout } from '../apiClient';
4
4
  import { DevSession } from '../types';
5
5
 
6
- // TODO -- move this into context / make it settable via JS
7
- const baseAddress = Platform.select({
8
- ios: 'http://localhost',
9
- android: 'http://10.0.2.2',
10
- });
11
-
12
6
  const statusPage = 'status';
13
7
  const portsToCheck = [8081, 8082, 8083, 8084, 8085, 19000, 19001, 19002];
14
8
 
@@ -35,17 +29,27 @@ export async function getDevSessionsAsync({
35
29
  devSessions = devSessions.concat(sessions);
36
30
  }
37
31
 
38
- if (!devSessions.length && !isDevice) {
39
- const localPackagers = await getLocalPackagersAsync();
32
+ if (
33
+ !devSessions.length &&
34
+ // Android physical devices can connect to localhost via adb reverse
35
+ (!isDevice || (isDevice && Platform.OS === 'android'))
36
+ ) {
37
+ const localPackagers = await getLocalPackagersAsync(isDevice);
40
38
  devSessions = devSessions.concat(localPackagers);
41
39
  }
42
40
 
43
41
  return devSessions;
44
42
  }
45
43
 
46
- export async function getLocalPackagersAsync(): Promise<DevSession[]> {
44
+ export async function getLocalPackagersAsync(isDevice: boolean): Promise<DevSession[]> {
47
45
  const onlineDevSessions: DevSession[] = [];
48
46
 
47
+ // TODO -- move this into context / make it settable via JS
48
+ const baseAddress = Platform.select({
49
+ ios: 'http://localhost',
50
+ android: isDevice ? 'http://localhost' : 'http://10.0.2.2',
51
+ });
52
+
49
53
  await Promise.all(
50
54
  portsToCheck.map(async (port) => {
51
55
  try {
package/ios/main.jsbundle CHANGED
@@ -3,7 +3,6 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.
3
3
  !(function(n){var e=(function(){function n(n,e){return n}function e(n){var e={};return n.forEach((function(n,t){e[n]=!0})),e}function t(n,t,a){if(n.formatValueCalls++,n.formatValueCalls>200)return`[TOO BIG formatValueCalls ${n.formatValueCalls} exceeded limit of 200]`;var c=r(n,t);if(c)return c;var f=Object.keys(t),p=e(f);if(d(t)&&(f.indexOf('message')>=0||f.indexOf('description')>=0))return o(t);if(0===f.length){if(v(t)){var g=t.name?': '+t.name:'';return n.stylize('[Function'+g+']','special')}if(s(t))return n.stylize(RegExp.prototype.toString.call(t),'regexp');if(y(t))return n.stylize(Date.prototype.toString.call(t),'date');if(d(t))return o(t)}var h,m,b='',j=!1,O=['{','}'];(h=t,Array.isArray(h)&&(j=!0,O=['[',']']),v(t))&&(b=' [Function'+(t.name?': '+t.name:'')+']');return s(t)&&(b=' '+RegExp.prototype.toString.call(t)),y(t)&&(b=' '+Date.prototype.toUTCString.call(t)),d(t)&&(b=' '+o(t)),0!==f.length||j&&0!=t.length?a<0?s(t)?n.stylize(RegExp.prototype.toString.call(t),'regexp'):n.stylize('[Object]','special'):(n.seen.push(t),m=j?i(n,t,a,p,f):f.map((function(e){return l(n,t,a,p,e,j)})),n.seen.pop(),u(m,b,O)):O[0]+b+O[1]}function r(n,e){if(p(e))return n.stylize('undefined','undefined');if('string'==typeof e){var t="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(t,'string')}return f(e)?n.stylize(''+e,'number'):a(e)?n.stylize(''+e,'boolean'):c(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,t,r,o){for(var i=[],u=0,a=e.length;u<a;++u)m(e,String(u))?i.push(l(n,e,t,r,String(u),!0)):i.push('');return o.forEach((function(o){o.match(/^\d+$/)||i.push(l(n,e,t,r,o,!0))})),i}function l(n,e,r,o,i,l){var u,a,f;if((f=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=f.set?n.stylize('[Getter/Setter]','special'):n.stylize('[Getter]','special'):f.set&&(a=n.stylize('[Setter]','special')),m(o,i)||(u='['+i+']'),a||(n.seen.indexOf(f.value)<0?(a=c(r)?t(n,f.value,null):t(n,f.value,r-1)).indexOf('\n')>-1&&(a=l?a.split('\n').map((function(n){return' '+n})).join('\n').slice(2):'\n'+a.split('\n').map((function(n){return' '+n})).join('\n')):a=n.stylize('[Circular]','special')),p(u)){if(l&&i.match(/^\d+$/))return a;(u=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.slice(1,u.length-1),u=n.stylize(u,'name')):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=n.stylize(u,'string'))}return u+': '+a}function u(n,e,t){return n.reduce((function(n,e){return e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1}),0)>60?t[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+t[1]:t[0]+e+' '+n.join(', ')+' '+t[1]}function a(n){return'boolean'==typeof n}function c(n){return null===n}function f(n){return'number'==typeof n}function p(n){return void 0===n}function s(n){return g(n)&&'[object RegExp]'===h(n)}function g(n){return'object'==typeof n&&null!==n}function y(n){return g(n)&&'[object Date]'===h(n)}function d(n){return g(n)&&('[object Error]'===h(n)||n instanceof Error)}function v(n){return'function'==typeof n}function h(n){return Object.prototype.toString.call(n)}function m(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,r){return t({seen:[],formatValueCalls:0,stylize:n},e,r.depth)}})(),t=0,r=1,o=2,i=3,l=[];l[t]='debug',l[r]='log',l[o]='warning',l[i]='error';function u(t){return function(){var r;r=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,(function(n){return e(n,{depth:10})})).join(', ');var u=arguments[0],a=t;'string'==typeof u&&'Warning: '===u.slice(0,9)&&a>=i&&(a=o),n.__inspectorLog&&n.__inspectorLog(l[a],r,[].slice.call(arguments),1),c.length&&(r=f('',r)),n.nativeLoggingHook(r,a)}}function a(n,e){return Array.apply(null,Array(e)).map((function(){return n}))}var c=[];function f(n,e){return c.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:u(i),info:u(r),log:u(r),warn:u(o),trace:u(t),debug:u(t),table:function(e){if(!Array.isArray(e)){var t=e;for(var o in e=[],t)if(t.hasOwnProperty(o)){var i=t[o];i["(index)"]=o,e.push(i)}}if(0!==e.length){var l=Object.keys(e[0]).sort(),u=[],c=[];l.forEach((function(n,t){c[t]=n.length;for(var r=0;r<e.length;r++){var o=(e[r][n]||'?').toString();u[r]=u[r]||[],u[r][t]=o,c[t]=Math.max(c[t],o.length)}}));for(var f=g(c.map((function(n){return a('-',n).join('')})),'-'),p=[g(l),f],s=0;s<e.length;s++)p.push(g(u[s]));n.nativeLoggingHook('\n'+p.join('\n'),r)}else n.nativeLoggingHook('',r);function g(n,e){var t=n.map((function(n,e){return n+a(' ',c[e]-n.length).join('')}));return e=e||' ',t.join(e+'|'+e)}},group:function(e){n.nativeLoggingHook(f("\u2510",e),r),c.push("\u2502")},groupEnd:function(){c.pop(),n.nativeLoggingHook(f("\u2518"),r)},groupCollapsed:function(e){n.nativeLoggingHook(f("\u2518",e),r),c.push("\u2502")},assert:function(e,t){e||n.nativeLoggingHook('Assertion failed: '+t,i)}},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}else if(!n.console){var p=function(){},s=n.print||p;n.console={debug:s,error:s,info:s,log:s,trace:s,warn:s,assert:function(n,e){n||s('Assertion failed: '+e)},clear:p,dir:p,dirxml:p,group:p,groupCollapsed:p,groupEnd:p,profile:p,profileEnd:p,table:p},Object.defineProperty(console,'_isPolyfilled',{value:!0,enumerable:!1})}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
4
4
  !(function(n){var r=0,t=function(n,r){throw n},l={setGlobalHandler:function(n){t=n},getGlobalHandler:function(){return t},reportError:function(n){t&&t(n,!1)},reportFatalError:function(n){t&&t(n,!0)},applyWithGuard:function(n,t,u,o,e){try{return r++,n.apply(t,u)}catch(n){l.reportError(n)}finally{r--}return null},applyWithGuardIfNeeded:function(n,r,t){return l.inGuard()?n.apply(r,t):(l.applyWithGuard(n,r,t),null)},inGuard:function(){return!!r},guard:function(n,r,t){var u;if('function'!=typeof n)return console.warn('A function must be passed to ErrorUtils.guard, got ',n),null;var o=null!=(u=null!=r?r:n.name)?u:'<generated guard>';return function(){for(var r=arguments.length,u=new Array(r),e=0;e<r;e++)u[e]=arguments[e];return l.applyWithGuard(n,null!=t?t:this,u,null,o)}}};n.ErrorUtils=l})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
5
5
  (function(global){try{global.$$require_external="undefined"==typeof expo?eval("require"):function(e){throw new Error(`Node.js standard library module ${e} is not available in this JavaScript environment`)}}catch(e){global.$$require_external=function(e){throw new Error(`Node.js standard library module ${e} is not available in this JavaScript environment`)}}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
6
- 'undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window&&window;
7
6
  __d((function(g,r,i,a,m,e,d){r(d[0])}),0,[1]);
8
7
  __d((function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]);n.LogBox.ignoreLogs(['EventEmitter']),(0,t.enableScreens)(!1),n.AppRegistry.registerComponent('main',(function(){return o.App}))}),1,[2,462,487]);
9
8
  __d((function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);r(d[1]);m.exports={get registerCallableModule(){return r(d[2]).default},get AccessibilityInfo(){return r(d[3]).default},get ActivityIndicator(){return r(d[4]).default},get Button(){return r(d[5]).default},get DrawerLayoutAndroid(){return r(d[6])},get FlatList(){return r(d[7])},get Image(){return r(d[8])},get ImageBackground(){return r(d[9])},get InputAccessoryView(){return r(d[10]).default},get KeyboardAvoidingView(){return r(d[11]).default},get Modal(){return r(d[12])},get Pressable(){return r(d[13]).default},get ProgressBarAndroid(){return t('progress-bar-android-moved',"ProgressBarAndroid has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/progress-bar-android' instead of 'react-native'. See https://github.com/react-native-progress-view/progress-bar-android"),r(d[14])},get RefreshControl(){return r(d[15])},get SafeAreaView(){return r(d[16]).default},get ScrollView(){return r(d[17])},get SectionList(){return r(d[18]).default},get StatusBar(){return r(d[19])},get Switch(){return r(d[20]).default},get Text(){return r(d[21])},get TextInput(){return r(d[22])},get Touchable(){return r(d[23]).default},get TouchableHighlight(){return r(d[24])},get TouchableNativeFeedback(){return r(d[25])},get TouchableOpacity(){return r(d[26])},get TouchableWithoutFeedback(){return r(d[27])},get View(){return r(d[28])},get VirtualizedList(){return r(d[29])},get VirtualizedSectionList(){return r(d[30])},get ActionSheetIOS(){return r(d[31])},get Alert(){return r(d[32])},get Animated(){return r(d[33]).default},get Appearance(){return r(d[34])},get AppRegistry(){return r(d[35])},get AppState(){return r(d[36])},get BackHandler(){return r(d[37])},get Clipboard(){return t('clipboard-moved',"Clipboard has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-clipboard/clipboard' instead of 'react-native'. See https://github.com/react-native-clipboard/clipboard"),r(d[38])},get DeviceInfo(){return r(d[39])},get DevSettings(){return r(d[40])},get Dimensions(){return r(d[41]).default},get Easing(){return r(d[42]).default},get findNodeHandle(){return r(d[43]).findNodeHandle},get I18nManager(){return r(d[44])},get InteractionManager(){return r(d[45])},get Keyboard(){return r(d[46])},get LayoutAnimation(){return r(d[47])},get Linking(){return r(d[48])},get LogBox(){return r(d[49]).default},get NativeDialogManagerAndroid(){return r(d[50]).default},get NativeEventEmitter(){return r(d[51]).default},get Networking(){return r(d[52]).default},get PanResponder(){return r(d[53]).default},get PermissionsAndroid(){return r(d[54])},get PixelRatio(){return r(d[55]).default},get PushNotificationIOS(){return t('pushNotificationIOS-moved',"PushNotificationIOS has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. See https://github.com/react-native-push-notification/ios"),r(d[56])},get Settings(){return r(d[57])},get Share(){return r(d[58])},get StyleSheet(){return r(d[59])},get Systrace(){return r(d[60])},get ToastAndroid(){return r(d[61])},get TurboModuleRegistry(){return r(d[62])},get UIManager(){return r(d[63])},get unstable_batchedUpdates(){return r(d[43]).unstable_batchedUpdates},get useAnimatedValue(){return r(d[64]).default},get useColorScheme(){return r(d[65]).default},get useWindowDimensions(){return r(d[66]).default},get UTFSequence(){return r(d[67]).default},get Vibration(){return r(d[68])},get YellowBox(){return r(d[69])},get DeviceEventEmitter(){return r(d[70]).default},get DynamicColorIOS(){return r(d[71]).DynamicColorIOS},get NativeAppEventEmitter(){return r(d[72])},get NativeModules(){return r(d[73])},get Platform(){return r(d[74])},get PlatformColor(){return r(d[75]).PlatformColor},get processColor(){return r(d[76]).default},get requireNativeComponent(){return r(d[77]).default},get RootTagContext(){return r(d[78]).RootTagContext},get unstable_enableLogBox(){return function(){return console.warn('LogBox is enabled by default so there is no need to call unstable_enableLogBox() anymore. This is a no op and will be removed in the next version.')}}}}),2,[3,4,5,24,255,261,375,318,337,376,377,380,381,390,392,347,393,352,372,396,397,262,402,404,408,274,275,409,239,410,411,412,205,276,415,223,419,247,423,426,427,82,289,36,387,286,358,359,430,435,436,194,182,438,440,81,443,446,449,244,19,452,51,92,453,454,455,456,457,460,25,461,218,52,58,72,69,259,245]);
@@ -187,13 +186,13 @@ __d((function(g,r,i,a,m,e,d){'use strict';var t=1,n=new Set;var o={setImmediate:
187
186
  __d((function(g,r,i,a,m,e,d){'use strict';var t;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){if(arguments.length<1)throw new TypeError('queueMicrotask must be called with at least one argument (a function to call)');if('function'!=typeof n)throw new TypeError('The argument to queueMicrotask must be a function.');(t||(t=Promise.resolve())).then(n).catch((function(t){return setTimeout((function(){throw t}),0)}))}}),170,[]);
188
187
  __d((function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]).polyfillGlobal;n('XMLHttpRequest',(function(){return r(d[1])})),n('FormData',(function(){return r(d[2])})),n('fetch',(function(){return r(d[3]).fetch})),n('Headers',(function(){return r(d[3]).Headers})),n('Request',(function(){return r(d[3]).Request})),n('Response',(function(){return r(d[3]).Response})),n('WebSocket',(function(){return r(d[4])})),n('Blob',(function(){return r(d[5])})),n('File',(function(){return r(d[6])})),n('FileReader',(function(){return r(d[7])})),n('URL',(function(){return r(d[8]).URL})),n('URLSearchParams',(function(){return r(d[8]).URLSearchParams})),n('AbortController',(function(){return r(d[9]).AbortController})),n('AbortSignal',(function(){return r(d[9]).AbortSignal}))}),171,[157,172,186,189,191,177,198,199,202,203]);
189
188
  __d((function(g,r,i,_a,m,_e,d){'use strict';var e=r(d[0]),t=e(r(d[1])),s=e(r(d[2])),n=e(r(d[3])),a=e(r(d[4])),o=e(r(d[5])),h=e(r(d[6])),u=e(r(d[7])),p=e(r(d[8]));function c(e,t,s){return t=(0,h.default)(t),(0,o.default)(e,l()?Reflect.construct(t,s||[],(0,h.default)(e).constructor):t.apply(e,s))}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(l=function(){return!!e})()}var _=r(d[9]),f=r(d[10]),y=r(d[11]).default,v=r(d[12]),R=r(d[13]);_.isAvailable&&_.addNetworkingHandler();var E={arraybuffer:'function'==typeof g.ArrayBuffer,blob:'function'==typeof g.Blob,document:!1,json:!0,text:!0,'':!0},b=['abort','error','load','loadstart','progress','timeout','loadend'],N=b.concat('readystatechange'),k=(function(e){function t(){return(0,a.default)(this,t),c(this,t,arguments)}return(0,u.default)(t,e),(0,n.default)(t)})(p.default.apply(void 0,b)),w=(function(e){function o(){var e;return(0,a.default)(this,o),(e=c(this,o)).UNSENT=0,e.OPENED=1,e.HEADERS_RECEIVED=2,e.LOADING=3,e.DONE=4,e.readyState=0,e.status=0,e.timeout=0,e.withCredentials=!0,e.upload=new k,e._aborted=!1,e._hasError=!1,e._method=null,e._perfKey=null,e._response='',e._url=null,e._timedOut=!1,e._trackingName='unknown',e._incrementalEvents=!1,e._performanceLogger=f,e._reset(),e}return(0,u.default)(o,e),(0,n.default)(o,[{key:"_reset",value:function(){this.readyState=this.UNSENT,this.responseHeaders=void 0,this.status=0,delete this.responseURL,this._requestId=null,this._cachedResponse=void 0,this._hasError=!1,this._headers={},this._response='',this._responseType='',this._sent=!1,this._lowerCaseResponseHeaders={},this._clearSubscriptions(),this._timedOut=!1}},{key:"responseType",get:function(){return this._responseType},set:function(e){if(this._sent)throw new Error("Failed to set the 'responseType' property on 'XMLHttpRequest': The response type cannot be set after the request has been sent.");E.hasOwnProperty(e)?(R(E[e]||'document'===e,`The provided value '${e}' is unsupported in this environment.`),'blob'===e&&R(_.isAvailable,'Native module BlobModule is required for blob support'),this._responseType=e):console.warn(`The provided value '${e}' is not a valid 'responseType'.`)}},{key:"responseText",get:function(){if(''!==this._responseType&&'text'!==this._responseType)throw new Error(`The 'responseText' property is only available if 'responseType' is set to '' or 'text', but it is '${this._responseType}'.`);return this.readyState<3?'':this._response}},{key:"response",get:function(){var e=this.responseType;if(''===e||'text'===e)return this.readyState<3||this._hasError?'':this._response;if(4!==this.readyState)return null;if(void 0!==this._cachedResponse)return this._cachedResponse;switch(e){case'document':default:this._cachedResponse=null;break;case'arraybuffer':this._cachedResponse=v.toByteArray(this._response).buffer;break;case'blob':if('object'==typeof this._response&&this._response)this._cachedResponse=_.createFromOptions(this._response);else{if(''!==this._response)throw new Error(`Invalid response for blob: ${this._response}`);this._cachedResponse=_.createFromParts([])}break;case'json':try{this._cachedResponse=JSON.parse(this._response)}catch(e){this._cachedResponse=null}}return this._cachedResponse}},{key:"__didCreateRequest",value:function(e){this._requestId=e,o._interceptor&&o._interceptor.requestSent(e,this._url||'',this._method||'GET',this._headers)}},{key:"__didUploadProgress",value:function(e,t,s){e===this._requestId&&this.upload.dispatchEvent({type:'progress',lengthComputable:!0,loaded:t,total:s})}},{key:"__didReceiveResponse",value:function(e,t,s,n){e===this._requestId&&(null!=this._perfKey&&this._performanceLogger.stopTimespan(this._perfKey),this.status=t,this.setResponseHeaders(s),this.setReadyState(this.HEADERS_RECEIVED),n||''===n?this.responseURL=n:delete this.responseURL,o._interceptor&&o._interceptor.responseReceived(e,n||this._url||'',t,s||{}))}},{key:"__didReceiveData",value:function(e,t){e===this._requestId&&(this._response=t,this._cachedResponse=void 0,this.setReadyState(this.LOADING),o._interceptor&&o._interceptor.dataReceived(e,t))}},{key:"__didReceiveIncrementalData",value:function(e,t,s,n){e===this._requestId&&(this._response?this._response+=t:this._response=t,o._interceptor&&o._interceptor.dataReceived(e,t),this.setReadyState(this.LOADING),this.__didReceiveDataProgress(e,s,n))}},{key:"__didReceiveDataProgress",value:function(e,t,s){e===this._requestId&&this.dispatchEvent({type:'progress',lengthComputable:s>=0,loaded:t,total:s})}},{key:"__didCompleteResponse",value:function(e,t,s){e===this._requestId&&(t&&(''!==this._responseType&&'text'!==this._responseType||(this._response=t),this._hasError=!0,s&&(this._timedOut=!0)),this._clearSubscriptions(),this._requestId=null,this.setReadyState(this.DONE),t?o._interceptor&&o._interceptor.loadingFailed(e,t):o._interceptor&&o._interceptor.loadingFinished(e,this._response.length))}},{key:"_clearSubscriptions",value:function(){(this._subscriptions||[]).forEach((function(e){e&&e.remove()})),this._subscriptions=[]}},{key:"getAllResponseHeaders",value:function(){if(!this.responseHeaders)return null;var e=this.responseHeaders,s=new Map;for(var n of Object.keys(e)){var a=e[n],o=n.toLowerCase(),h=s.get(o);h?(h.headerValue+=', '+a,s.set(o,h)):s.set(o,{lowerHeaderName:o,upperHeaderName:n.toUpperCase(),headerValue:a})}return(0,t.default)(s.values()).sort((function(e,t){return e.upperHeaderName<t.upperHeaderName?-1:e.upperHeaderName>t.upperHeaderName?1:0})).map((function(e){return e.lowerHeaderName+': '+e.headerValue})).join('\r\n')+'\r\n'}},{key:"getResponseHeader",value:function(e){var t=this._lowerCaseResponseHeaders[e.toLowerCase()];return void 0!==t?t:null}},{key:"setRequestHeader",value:function(e,t){if(this.readyState!==this.OPENED)throw new Error('Request has not been opened');this._headers[e.toLowerCase()]=String(t)}},{key:"setTrackingName",value:function(e){return this._trackingName=e,this}},{key:"setPerformanceLogger",value:function(e){return this._performanceLogger=e,this}},{key:"open",value:function(e,t,s){if(this.readyState!==this.UNSENT)throw new Error('Cannot open, already sending');if(void 0!==s&&!s)throw new Error('Synchronous http requests are not supported');if(!t)throw new Error('Cannot load an empty url');this._method=e.toUpperCase(),this._url=t,this._aborted=!1,this.setReadyState(this.OPENED)}},{key:"send",value:function(e){var s=this;if(this.readyState!==this.OPENED)throw new Error('Request has not been opened');if(this._sent)throw new Error('Request has already been sent');this._sent=!0;var n=this._incrementalEvents||!!this.onreadystatechange||!!this.onprogress;this._subscriptions.push(y.addListener('didSendNetworkData',(function(e){return s.__didUploadProgress.apply(s,(0,t.default)(e))}))),this._subscriptions.push(y.addListener('didReceiveNetworkResponse',(function(e){return s.__didReceiveResponse.apply(s,(0,t.default)(e))}))),this._subscriptions.push(y.addListener('didReceiveNetworkData',(function(e){return s.__didReceiveData.apply(s,(0,t.default)(e))}))),this._subscriptions.push(y.addListener('didReceiveNetworkIncrementalData',(function(e){return s.__didReceiveIncrementalData.apply(s,(0,t.default)(e))}))),this._subscriptions.push(y.addListener('didReceiveNetworkDataProgress',(function(e){return s.__didReceiveDataProgress.apply(s,(0,t.default)(e))}))),this._subscriptions.push(y.addListener('didCompleteNetworkResponse',(function(e){return s.__didCompleteResponse.apply(s,(0,t.default)(e))})));var a='text';'arraybuffer'===this._responseType&&(a='base64'),'blob'===this._responseType&&(a='blob');var o;o='unknown'!==s._trackingName?s._trackingName:s._url,s._perfKey='network_XMLHttpRequest_'+String(o),s._performanceLogger.startTimespan(s._perfKey),R(s._method,'XMLHttpRequest method needs to be defined (%s).',o),R(s._url,'XMLHttpRequest URL needs to be defined (%s).',o),y.sendRequest(s._method,s._trackingName,s._url,s._headers,e,a,n,s.timeout,s.__didCreateRequest.bind(s),s.withCredentials)}},{key:"abort",value:function(){this._aborted=!0,this._requestId&&y.abortRequest(this._requestId),this.readyState===this.UNSENT||this.readyState===this.OPENED&&!this._sent||this.readyState===this.DONE||(this._reset(),this.setReadyState(this.DONE)),this._reset()}},{key:"setResponseHeaders",value:function(e){this.responseHeaders=e||null;var t=e||{};this._lowerCaseResponseHeaders=Object.keys(t).reduce((function(e,s){return e[s.toLowerCase()]=t[s],e}),{})}},{key:"setReadyState",value:function(e){this.readyState=e,this.dispatchEvent({type:'readystatechange'}),e===this.DONE&&(this._aborted?this.dispatchEvent({type:'abort'}):this._hasError?this._timedOut?this.dispatchEvent({type:'timeout'}):this.dispatchEvent({type:'error'}):this.dispatchEvent({type:'load'}),this.dispatchEvent({type:'loadend'}))}},{key:"addEventListener",value:function(e,t){'readystatechange'!==e&&'progress'!==e||(this._incrementalEvents=!0),(0,s.default)((0,h.default)(o.prototype),"addEventListener",this).call(this,e,t)}}],[{key:"setInterceptor",value:function(e){o._interceptor=e}}]),o})(p.default.apply(void 0,(0,t.default)(N)));w.UNSENT=0,w.OPENED=1,w.HEADERS_RECEIVED=2,w.LOADING=3,w.DONE=4,w._interceptor=null,m.exports=w}),172,[22,8,28,15,14,26,30,31,173,174,179,182,185,4]);
190
- __d((function(g,r,_i,a,m,e,d){
189
+ __d((function(g,r,_i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.EventTarget=j,e.default=void 0,e.defineEventAttribute=x;
191
190
  /**
192
191
  * @author Toru Nagashima <https://github.com/mysticatea>
193
192
  * @copyright 2015 Toru Nagashima. All rights reserved.
194
193
  * See LICENSE file in root directory for full license.
195
194
  */
196
- 'use strict';Object.defineProperty(e,'__esModule',{value:!0});var t=new WeakMap,n=new WeakMap;function o(n){var o=t.get(n);return console.assert(null!=o,"'this' is expected an Event object, but got",n),o}function i(t){null==t.passiveListener?t.event.cancelable&&(t.canceled=!0,"function"==typeof t.event.preventDefault&&t.event.preventDefault()):"undefined"!=typeof console&&"function"==typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener)}function l(n,o){t.set(this,{eventTarget:n,event:o,eventPhase:2,currentTarget:n,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:o.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});for(var i=Object.keys(o),l=0;l<i.length;++l){var s=i[l];s in this||Object.defineProperty(this,s,u(s))}}function u(t){return{get:function(){return o(this).event[t]},set:function(n){o(this).event[t]=n},configurable:!0,enumerable:!0}}function s(t){return{value:function(){var n=o(this).event;return n[t].apply(n,arguments)},configurable:!0,enumerable:!0}}function p(t,n){var o=Object.keys(n);if(0===o.length)return t;function i(n,o){t.call(this,n,o)}i.prototype=Object.create(t.prototype,{constructor:{value:i,configurable:!0,writable:!0}});for(var l=0;l<o.length;++l){var p=o[l];if(!(p in t.prototype)){var c="function"==typeof Object.getOwnPropertyDescriptor(n,p).value;Object.defineProperty(i.prototype,p,c?s(p):u(p))}}return i}function c(t){if(null==t||t===Object.prototype)return l;var o=n.get(t);return null==o&&(o=p(c(Object.getPrototypeOf(t)),t),n.set(t,o)),o}function f(t,n){return new(c(Object.getPrototypeOf(n)))(t,n)}function v(t){return o(t).immediateStopped}function y(t,n){o(t).eventPhase=n}function b(t,n){o(t).currentTarget=n}function h(t,n){o(t).passiveListener=n}l.prototype={get type(){return o(this).event.type},get target(){return o(this).eventTarget},get currentTarget(){return o(this).currentTarget},composedPath:function(){var t=o(this).currentTarget;return null==t?[]:[t]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return o(this).eventPhase},stopPropagation:function(){var t=o(this);t.stopped=!0,"function"==typeof t.event.stopPropagation&&t.event.stopPropagation()},stopImmediatePropagation:function(){var t=o(this);t.stopped=!0,t.immediateStopped=!0,"function"==typeof t.event.stopImmediatePropagation&&t.event.stopImmediatePropagation()},get bubbles(){return Boolean(o(this).event.bubbles)},get cancelable(){return Boolean(o(this).event.cancelable)},preventDefault:function(){i(o(this))},get defaultPrevented(){return o(this).canceled},get composed(){return Boolean(o(this).event.composed)},get timeStamp(){return o(this).timeStamp},get srcElement(){return o(this).eventTarget},get cancelBubble(){return o(this).stopped},set cancelBubble(t){if(t){var n=o(this);n.stopped=!0,"boolean"==typeof n.event.cancelBubble&&(n.event.cancelBubble=!0)}},get returnValue(){return!o(this).canceled},set returnValue(t){t||i(o(this))},initEvent:function(){}},Object.defineProperty(l.prototype,"constructor",{value:l,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.Event&&(Object.setPrototypeOf(l.prototype,window.Event.prototype),n.set(window.Event.prototype,l));var w=new WeakMap;function T(t){return null!==t&&"object"==typeof t}function P(t){var n=w.get(t);if(null==n)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return n}function x(t){return{get:function(){for(var n=P(this).get(t);null!=n;){if(3===n.listenerType)return n.listener;n=n.next}return null},set:function(n){"function"==typeof n||T(n)||(n=null);for(var o=P(this),i=null,l=o.get(t);null!=l;)3===l.listenerType?null!==i?i.next=l.next:null!==l.next?o.set(t,l.next):o.delete(t):i=l,l=l.next;if(null!==n){var u={listener:n,listenerType:3,passive:!1,once:!1,next:null};null===i?o.set(t,u):i.next=u}},configurable:!0,enumerable:!0}}function E(t,n){Object.defineProperty(t,`on${n}`,x(n))}function O(t){function n(){j.call(this)}n.prototype=Object.create(j.prototype,{constructor:{value:n,configurable:!0,writable:!0}});for(var o=0;o<t.length;++o)E(n.prototype,t[o]);return n}function j(){if(!(this instanceof j)){if(1===arguments.length&&Array.isArray(arguments[0]))return O(arguments[0]);if(arguments.length>0){for(var t=new Array(arguments.length),n=0;n<arguments.length;++n)t[n]=arguments[n];return O(t)}throw new TypeError("Cannot call a class as a function")}w.set(this,new Map)}j.prototype={addEventListener:function(t,n,o){if(null!=n){if("function"!=typeof n&&!T(n))throw new TypeError("'listener' should be a function or an object.");var i=P(this),l=T(o),u=(l?Boolean(o.capture):Boolean(o))?1:2,s={listener:n,listenerType:u,passive:l&&Boolean(o.passive),once:l&&Boolean(o.once),next:null},p=i.get(t);if(void 0!==p){for(var c=null;null!=p;){if(p.listener===n&&p.listenerType===u)return;c=p,p=p.next}c.next=s}else i.set(t,s)}},removeEventListener:function(t,n,o){if(null!=n)for(var i=P(this),l=(T(o)?Boolean(o.capture):Boolean(o))?1:2,u=null,s=i.get(t);null!=s;){if(s.listener===n&&s.listenerType===l)return void(null!==u?u.next=s.next:null!==s.next?i.set(t,s.next):i.delete(t));u=s,s=s.next}},dispatchEvent:function(t){if(null==t||"string"!=typeof t.type)throw new TypeError('"event.type" should be a string.');var n=P(this),o=t.type,i=n.get(o);if(null==i)return!0;for(var l=f(this,t),u=null;null!=i;){if(i.once?null!==u?u.next=i.next:null!==i.next?n.set(o,i.next):n.delete(o):u=i,h(l,i.passive?i.listener:null),"function"==typeof i.listener)try{i.listener.call(this,l)}catch(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t)}else 3!==i.listenerType&&"function"==typeof i.listener.handleEvent&&i.listener.handleEvent(l);if(v(l))break;i=i.next}return h(l,null),y(l,0),b(l,null),!l.defaultPrevented}},Object.defineProperty(j.prototype,"constructor",{value:j,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.EventTarget&&Object.setPrototypeOf(j.prototype,window.EventTarget.prototype),e.defineEventAttribute=E,e.EventTarget=j,e.default=j,m.exports=j,m.exports.EventTarget=m.exports.default=j,m.exports.defineEventAttribute=E}),173,[]);
195
+ var t=new WeakMap,n=new WeakMap;function o(n){var o=t.get(n);return console.assert(null!=o,"'this' is expected an Event object, but got",n),o}function i(t){null==t.passiveListener?t.event.cancelable&&(t.canceled=!0,"function"==typeof t.event.preventDefault&&t.event.preventDefault()):"undefined"!=typeof console&&"function"==typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",t.passiveListener)}function l(n,o){t.set(this,{eventTarget:n,event:o,eventPhase:2,currentTarget:n,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:o.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});for(var i=Object.keys(o),l=0;l<i.length;++l){var s=i[l];s in this||Object.defineProperty(this,s,u(s))}}function u(t){return{get:function(){return o(this).event[t]},set:function(n){o(this).event[t]=n},configurable:!0,enumerable:!0}}function s(t){return{value:function(){var n=o(this).event;return n[t].apply(n,arguments)},configurable:!0,enumerable:!0}}function c(t,n){var o=Object.keys(n);if(0===o.length)return t;function i(n,o){t.call(this,n,o)}i.prototype=Object.create(t.prototype,{constructor:{value:i,configurable:!0,writable:!0}});for(var l=0;l<o.length;++l){var c=o[l];if(!(c in t.prototype)){var p="function"==typeof Object.getOwnPropertyDescriptor(n,c).value;Object.defineProperty(i.prototype,c,p?s(c):u(c))}}return i}function p(t){if(null==t||t===Object.prototype)return l;var o=n.get(t);return null==o&&(o=c(p(Object.getPrototypeOf(t)),t),n.set(t,o)),o}function f(t,n){return new(p(Object.getPrototypeOf(n)))(t,n)}function v(t){return o(t).immediateStopped}function y(t,n){o(t).eventPhase=n}function h(t,n){o(t).currentTarget=n}function b(t,n){o(t).passiveListener=n}l.prototype={get type(){return o(this).event.type},get target(){return o(this).eventTarget},get currentTarget(){return o(this).currentTarget},composedPath:function(){var t=o(this).currentTarget;return null==t?[]:[t]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return o(this).eventPhase},stopPropagation:function(){var t=o(this);t.stopped=!0,"function"==typeof t.event.stopPropagation&&t.event.stopPropagation()},stopImmediatePropagation:function(){var t=o(this);t.stopped=!0,t.immediateStopped=!0,"function"==typeof t.event.stopImmediatePropagation&&t.event.stopImmediatePropagation()},get bubbles(){return Boolean(o(this).event.bubbles)},get cancelable(){return Boolean(o(this).event.cancelable)},preventDefault:function(){i(o(this))},get defaultPrevented(){return o(this).canceled},get composed(){return Boolean(o(this).event.composed)},get timeStamp(){return o(this).timeStamp},get srcElement(){return o(this).eventTarget},get cancelBubble(){return o(this).stopped},set cancelBubble(t){if(t){var n=o(this);n.stopped=!0,"boolean"==typeof n.event.cancelBubble&&(n.event.cancelBubble=!0)}},get returnValue(){return!o(this).canceled},set returnValue(t){t||i(o(this))},initEvent:function(){}},Object.defineProperty(l.prototype,"constructor",{value:l,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.Event&&(Object.setPrototypeOf(l.prototype,window.Event.prototype),n.set(window.Event.prototype,l));var w=new WeakMap;function P(t){return null!==t&&"object"==typeof t}function T(t){var n=w.get(t);if(null==n)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return n}function E(t){return{get:function(){for(var n=T(this).get(t);null!=n;){if(3===n.listenerType)return n.listener;n=n.next}return null},set:function(n){"function"==typeof n||P(n)||(n=null);for(var o=T(this),i=null,l=o.get(t);null!=l;)3===l.listenerType?null!==i?i.next=l.next:null!==l.next?o.set(t,l.next):o.delete(t):i=l,l=l.next;if(null!==n){var u={listener:n,listenerType:3,passive:!1,once:!1,next:null};null===i?o.set(t,u):i.next=u}},configurable:!0,enumerable:!0}}function x(t,n){Object.defineProperty(t,`on${n}`,E(n))}function O(t){function n(){j.call(this)}n.prototype=Object.create(j.prototype,{constructor:{value:n,configurable:!0,writable:!0}});for(var o=0;o<t.length;++o)x(n.prototype,t[o]);return n}function j(){if(!(this instanceof j)){if(1===arguments.length&&Array.isArray(arguments[0]))return O(arguments[0]);if(arguments.length>0){for(var t=new Array(arguments.length),n=0;n<arguments.length;++n)t[n]=arguments[n];return O(t)}throw new TypeError("Cannot call a class as a function")}w.set(this,new Map)}j.prototype={addEventListener:function(t,n,o){if(null!=n){if("function"!=typeof n&&!P(n))throw new TypeError("'listener' should be a function or an object.");var i=T(this),l=P(o),u=(l?Boolean(o.capture):Boolean(o))?1:2,s={listener:n,listenerType:u,passive:l&&Boolean(o.passive),once:l&&Boolean(o.once),next:null},c=i.get(t);if(void 0!==c){for(var p=null;null!=c;){if(c.listener===n&&c.listenerType===u)return;p=c,c=c.next}p.next=s}else i.set(t,s)}},removeEventListener:function(t,n,o){if(null!=n)for(var i=T(this),l=(P(o)?Boolean(o.capture):Boolean(o))?1:2,u=null,s=i.get(t);null!=s;){if(s.listener===n&&s.listenerType===l)return void(null!==u?u.next=s.next:null!==s.next?i.set(t,s.next):i.delete(t));u=s,s=s.next}},dispatchEvent:function(t){if(null==t||"string"!=typeof t.type)throw new TypeError('"event.type" should be a string.');var n=T(this),o=t.type,i=n.get(o);if(null==i)return!0;for(var l=f(this,t),u=null;null!=i;){if(i.once?null!==u?u.next=i.next:null!==i.next?n.set(o,i.next):n.delete(o):u=i,b(l,i.passive?i.listener:null),"function"==typeof i.listener)try{i.listener.call(this,l)}catch(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t)}else 3!==i.listenerType&&"function"==typeof i.listener.handleEvent&&i.listener.handleEvent(l);if(v(l))break;i=i.next}return b(l,null),y(l,0),h(l,null),!l.defaultPrevented}},Object.defineProperty(j.prototype,"constructor",{value:j,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.EventTarget&&Object.setPrototypeOf(j.prototype,window.EventTarget.prototype);e.default=j}),173,[]);
197
196
  __d((function(g,_r,i,a,m,_e,d){var e=_r(d[0]),t=e(_r(d[1])),r=e(_r(d[2])),l=e(_r(d[3])),o=e(_r(d[4])),n=e(_r(d[5]));function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,l)}return r}function f(e){for(var r=1;r<arguments.length;r++){var l=null!=arguments[r]?arguments[r]:{};r%2?u(Object(l),!0).forEach((function(r){(0,t.default)(e,r,l[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):u(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var c=_r(d[6]),b=_r(d[7]);var s=(function(){function e(){(0,r.default)(this,e)}return(0,l.default)(e,null,[{key:"createFromParts",value:function(t,r){(0,n.default)(o.default,'NativeBlobModule is available.');var l='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return('x'==e?t:3&t|8).toString(16)})),u=t.map((function(e){if(e instanceof ArrayBuffer||ArrayBuffer.isView(e))throw new Error("Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported");return e instanceof c?{data:e.data,type:'blob'}:{data:String(e),type:'string'}})),f=u.reduce((function(e,t){return'string'===t.type?e+g.unescape(encodeURI(t.data)).length:e+t.data.size}),0);return o.default.createFromParts(u,l),e.createFromOptions({blobId:l,offset:0,size:f,type:r?r.type:'',lastModified:r?r.lastModified:Date.now()})}},{key:"createFromOptions",value:function(e){return b.register(e.blobId),Object.assign(Object.create(c.prototype),{data:null==e.__collector?f(f({},e),{},{__collector:(t=e.blobId,null==g.__blobCollectorProvider?null:g.__blobCollectorProvider(t))}):e});var t}},{key:"release",value:function(e){(0,n.default)(o.default,'NativeBlobModule is available.'),b.unregister(e),b.has(e)||o.default.release(e)}},{key:"addNetworkingHandler",value:function(){(0,n.default)(o.default,'NativeBlobModule is available.'),o.default.addNetworkingHandler()}},{key:"addWebSocketHandler",value:function(e){(0,n.default)(o.default,'NativeBlobModule is available.'),o.default.addWebSocketHandler(e)}},{key:"removeWebSocketHandler",value:function(e){(0,n.default)(o.default,'NativeBlobModule is available.'),o.default.removeWebSocketHandler(e)}},{key:"sendOverSocket",value:function(e,t){(0,n.default)(o.default,'NativeBlobModule is available.'),o.default.sendOverSocket(e.data,t)}}]),e})();s.isAvailable=!!o.default,m.exports=s}),174,[22,41,14,15,175,4,177,178]);
198
197
  __d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0});var e={};_e.default=void 0;var t=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=r(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in e)if("default"!==f&&Object.prototype.hasOwnProperty.call(e,f)){var a=u?Object.getOwnPropertyDescriptor(e,f):null;a&&(a.get||a.set)?Object.defineProperty(o,f,a):o[f]=e[f]}return o.default=e,n&&n.set(e,o),o})(_r(d[0]));function r(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(r=function(e){return e?n:t})(e)}Object.keys(t).forEach((function(r){"default"!==r&&"__esModule"!==r&&(Object.prototype.hasOwnProperty.call(e,r)||r in _e&&_e[r]===t[r]||Object.defineProperty(_e,r,{enumerable:!0,get:function(){return t[r]}}))}));_e.default=t.default}),175,[176]);
199
198
  __d((function(g,_r,_i,_a,m,_e,d){function e(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(e=function(e){return e?r:n})(t)}Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;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 r=e(n);if(r&&r.has(t))return r.get(t);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var l=a?Object.getOwnPropertyDescriptor(t,u):null;l&&(l.get||l.set)?Object.defineProperty(o,u,l):o[u]=t[u]}return o.default=t,r&&r.set(t,o),o})(_r(d[0])).get('BlobModule'),n=null,r=null;null!=t&&(r={getConstants:function(){return null==n&&(n=t.getConstants()),n},addNetworkingHandler:function(){t.addNetworkingHandler()},addWebSocketHandler:function(e){t.addWebSocketHandler(e)},removeWebSocketHandler:function(e){t.removeWebSocketHandler(e)},sendOverSocket:function(e,n){t.sendOverSocket(e,n)},createFromParts:function(e,n){t.createFromParts(e,n)},release:function(e){t.release(e)}});_e.default=r}),176,[51]);
@@ -1007,7 +1006,7 @@ __d((function(g,_r,i,a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModu
1007
1006
  __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.LoadInitialData=function(e){var o=e.children,f=e.loader,i=void 0===f?(0,u.jsx)(n.Splash,{}):f,l=r.useState(!0),c=(0,t.default)(l,2),p=c[0],s=c[1],v=r.useState({}),y=(0,t.default)(v,2),_=y[0],O=y[1];if(r.useEffect((function(){(0,a.getInitialData)().then((function(e){O(e),s(!1)}))}),[]),p)return i;return r.cloneElement(o,_)};var t=e(_r(d[1])),r=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=a?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(n,u,f):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n})(_r(d[2])),n=_r(d[3]),a=_r(d[4]),u=_r(d[5]);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}}),949,[22,53,107,950,951,242]);
1008
1007
  __d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.Splash=function(){return(0,t.jsx)(e.View,{flex:"1",style:{justifyContent:'center',alignItems:'center'},bg:"default",children:(0,t.jsx)(e.ExpoLogoIcon,{style:{width:85,resizeMode:'contain'},resizeMode:"contain"})})};var e=_r(d[0]),t=((function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var f=i?Object.getOwnPropertyDescriptor(e,u):null;f&&(f.get||f.set)?Object.defineProperty(o,u,f):o[u]=e[u]}o.default=e,r&&r.set(e,o)})(_r(d[1])),_r(d[2]));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}}),950,[695,107,242]);
1009
1008
  __d((function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getInitialData=function(){return v.apply(this,arguments)};var t=n(r(d[1])),o=n(r(d[2])),s=r(d[3]),l=r(d[4]),u=r(d[5]),c=r(d[6]),f=r(d[7]),p=r(d[8]);function v(){return(v=(0,o.default)((function*(){var n=yield Promise.all([(0,u.getBuildInfoAsync)(),(0,c.getMenuPreferencesAsync)(),(0,u.getCrashReport)(),(0,u.consumeNavigationStateAsync)()]),o=(0,t.default)(n,4),v=o[0],y=o[1],h=o[2],A=o[3];yield(0,u.loadFontsAsync)();var D=yield(0,l.restoreUserAsync)().catch((function(n){return console.log({error:n}),Promise.resolve(null)})),I=null!=D,P=yield(0,s.getDevSessionsAsync)({isAuthenticated:I,installationID:u.installationID,isDevice:u.isDevice,timeout:1500}).catch((function(n){return console.log({error:n}),Promise.resolve([])}));return I&&u.updatesConfig.usesEASUpdates&&(0,p.prefetchBranchesForApp)(u.updatesConfig.appId,u.updatesConfig.runtimeVersion,f.defaultQueryOptions.pageSize).catch((function(n){console.log({error:n})})),{initialDevSessions:P,initialUserData:D,initialBuildInfo:v,initialDevMenuPreferences:y,initialCrashReport:h,initialNavigationState:A}}))).apply(this,arguments)}}),951,[22,53,338,952,973,975,976,977,1019]);
1010
- __d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.fetchDevSessions=v,e.getDevSessionsAsync=function(t){return c.apply(this,arguments)},e.getLocalPackagersAsync=f;var n=t(r(d[1])),l=(r(d[2]),r(d[3])),u='http://localhost',s='status',o=[8081,8082,8083,8084,8085,19e3,19001,19002];function c(){return(c=(0,n.default)((function*(t){var n=t.isAuthenticated,l=void 0!==n&&n,u=t.installationID,s=void 0===u?'':u,o=t.isDevice,c=void 0!==o&&o,p=t.timeout,h=[];if(l){var y=yield v(null,p);h=h.concat(y)}if(!h.length&&s){var D=yield v(s,p);h=h.concat(D)}if(!h.length&&!c){var $=yield f();h=h.concat($)}return h}))).apply(this,arguments)}function f(){return p.apply(this,arguments)}function p(){return p=(0,n.default)((function*(){var t=[];return yield Promise.all(o.map((function(){var l=(0,n.default)((function*(n){try{var l=`${u}:${n}`;200===(yield fetch(`${l}/${s}`)).status&&t.push({url:l,description:l,source:'desktop'})}catch(t){}}));return function(t){return l.apply(this,arguments)}})())),t})),p.apply(this,arguments)}function v(t,n){return h.apply(this,arguments)}function h(){return(h=(0,n.default)((function*(t,n){var u,s,o="/development-sessions",c={};return null!=t&&(o+=`?deviceId=${t}`,c['Expo-Dev-Client-ID']=t),n?null!=(u=(yield(0,l.restClientWithTimeout)(o,n,{headers:c})).data)?u:[]:null!=(s=(yield(0,l.restClient)(o,{headers:c})).data)?s:[]}))).apply(this,arguments)}}),952,[22,338,2,953]);
1009
+ __d((function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.fetchDevSessions=p,e.getDevSessionsAsync=function(t){return o.apply(this,arguments)},e.getLocalPackagersAsync=c;var n=t(r(d[1])),l=(r(d[2]),r(d[3])),u='status',s=[8081,8082,8083,8084,8085,19e3,19001,19002];function o(){return(o=(0,n.default)((function*(t){var n=t.isAuthenticated,l=void 0!==n&&n,u=t.installationID,s=void 0===u?'':u,o=t.isDevice,f=void 0!==o&&o,v=t.timeout,h=[];if(l){var y=yield p(null,v);h=h.concat(y)}if(!h.length&&s){var D=yield p(s,v);h=h.concat(D)}if(!h.length&&!f){var $=yield c(f);h=h.concat($)}return h}))).apply(this,arguments)}function c(t){return f.apply(this,arguments)}function f(){return f=(0,n.default)((function*(t){var l=[];return yield Promise.all(s.map((function(){var t=(0,n.default)((function*(t){try{var n=`http://localhost:${t}`;200===(yield fetch(`${n}/${u}`)).status&&l.push({url:n,description:n,source:'desktop'})}catch(t){}}));return function(n){return t.apply(this,arguments)}})())),l})),f.apply(this,arguments)}function p(t,n){return v.apply(this,arguments)}function v(){return(v=(0,n.default)((function*(t,n){var u,s,o="/development-sessions",c={};return null!=t&&(o+=`?deviceId=${t}`,c['Expo-Dev-Client-ID']=t),n?null!=(u=(yield(0,l.restClientWithTimeout)(o,n,{headers:c})).data)?u:[]:null!=(s=(yield(0,l.restClient)(o,{headers:c})).data)?s:[]}))).apply(this,arguments)}}),952,[22,338,2,953]);
1011
1010
  __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.apiEndpoint=_e.apiClient=void 0,_e.restClient=f,_e.restClientWithTimeout=function(e,t){return O.apply(this,arguments)},_e.restEndpoint=void 0,_e.setSessionAsync=function(e){return b.apply(this,arguments)},_e.websiteOrigin=void 0;var t=e(_r(d[1])),r=e(_r(d[2])),n=_r(d[3]),i=(function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in e)if("default"!==p&&Object.prototype.hasOwnProperty.call(e,p)){var u=i?Object.getOwnPropertyDescriptor(e,p):null;u&&(u.get||u.set)?Object.defineProperty(n,p,u):n[p]=e[p]}return n.default=e,r&&r.set(e,n),n})(_r(d[4]));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?p(Object(n),!0).forEach((function(r){(0,t.default)(e,r,n[r])})):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 a=_e.apiEndpoint="https://exp.host/--/graphql",s=(_e.websiteOrigin='https://expo.dev',_e.restEndpoint="https://exp.host/--/api/v2"),l=_e.apiClient=new n.GraphQLClient(a),c={'content-type':'application/json'};function f(e){return y.apply(this,arguments)}function y(){return y=(0,r.default)((function*(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=u(u({method:t.body?'POST':'GET'},t),{},{headers:u(u({},c),t.headers)});null!=t.body&&(r.body=JSON.stringify(body));var n=`${s}${e}`,i=yield fetch(n,r);if(i.ok)return yield i.json();var o=yield i.text();return Promise.reject(new Error(o))})),y.apply(this,arguments)}function O(){return O=(0,r.default)((function*(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=new AbortController,i=setTimeout((function(){return n.abort()}),t);try{return yield f(e,u(u({},r),{},{signal:n.signal}))}finally{clearTimeout(i)}})),O.apply(this,arguments)}function b(){return(b=(0,r.default)((function*(e){yield i.setSessionAsync(e),l.setHeader('expo-session',e),c['expo-session']=e}))).apply(this,arguments)}}),953,[22,41,338,954,972]);
1012
1011
  __d((function(_g,r,_i2,a,_m,_e2,d){"use strict";var e=this&&this.__assign||function(){return e=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},e.apply(this,arguments)},t=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(o,e,i);return n(o,e),o},i=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(i,u){function s(e){try{f(o.next(e))}catch(e){u(e)}}function c(e){try{f(o.throw(e))}catch(e){u(e)}}function f(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,c)}f((o=o.apply(e,t||[])).next())}))},u=this&&this.__generator||function(e,t){var n,o,i,u,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function c(e){return function(t){return f([e,t])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,o&&(i=2&u[0]?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return s.label++,{value:u[1],done:!1};case 5:s.label++,o=u[1],u=[0];continue;case 7:u=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){s=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){s.label=u[1];break}if(6===u[0]&&s.label<i[1]){s.label=i[1],i=u;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(u);break}i[2]&&s.ops.pop(),s.trys.pop();continue}u=t.call(e,s)}catch(e){u=[6,e],o=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},s=this&&this.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_e2,"__esModule",{value:!0}),_e2.gql=_e2.batchRequests=_e2.request=_e2.rawRequest=_e2.GraphQLClient=_e2.ClientError=void 0;var f=o(r(d[0])),h=f,l=r(d[1]),p=c(r(d[2])),v=r(d[3]);Object.defineProperty(_e2,"ClientError",{enumerable:!0,get:function(){return v.ClientError}});var y=function(e){var t={};return e&&('undefined'!=typeof Headers&&e instanceof Headers||e instanceof h.Headers?t=N(e):Array.isArray(e)?e.forEach((function(e){var n=e[0],o=e[1];t[n]=o})):t=e),t},b=function(e){return e.replace(/([\s,]|#[^\n\r]+)+/g,' ').trim()},m=function(e){var t=e.query,n=e.variables,o=e.operationName;if(!Array.isArray(t)){var i=["query="+encodeURIComponent(b(t))];return n&&i.push("variables="+encodeURIComponent(JSON.stringify(n))),o&&i.push("operationName="+encodeURIComponent(o)),i.join('&')}if(void 0!==n&&!Array.isArray(n))throw new Error('Cannot create query with given variable type, array expected');var u=t.reduce((function(e,t,o){return e.push({query:b(t),variables:n?JSON.stringify(n[o]):void 0}),e}),[]);return"query="+encodeURIComponent(JSON.stringify(u))},O=function(t){var n=t.url,o=t.query,s=t.variables,c=t.operationName,f=t.headers,h=t.fetch,l=t.fetchOptions;return i(void 0,void 0,void 0,(function(){var t;return u(this,(function(i){switch(i.label){case 0:return t=p.default(o,s,c),[4,h(n,e({method:'POST',headers:e(e({},'string'==typeof t?{'Content-Type':'application/json'}:{}),f),body:t},l))];case 1:return[2,i.sent()]}}))}))},w=function(t){var n=t.url,o=t.query,s=t.variables,c=t.operationName,f=t.headers,h=t.fetch,l=t.fetchOptions;return i(void 0,void 0,void 0,(function(){var t;return u(this,(function(i){switch(i.label){case 0:return t=m({query:o,variables:s,operationName:c}),[4,h(n+"?"+t,e({method:'GET',headers:f},l))];case 1:return[2,i.sent()]}}))}))},q=(function(){function t(e,t){this.url=e,this.options=t||{}}return t.prototype.rawRequest=function(t,n,o){var i=this.options,u=i.headers,c=i.fetch,h=void 0===c?f.default:c,l=i.method,p=void 0===l?'POST':l,v=s(i,["headers","fetch","method"]);return g({url:this.url,query:t,variables:n,headers:e(e({},y(u)),y(o)),operationName:void 0,fetch:h,method:p,fetchOptions:v})},t.prototype.request=function(t,n,o){return i(this,void 0,void 0,(function(){var i,c,h,l,p,v,b,m,O,w,q;return u(this,(function(u){switch(u.label){case 0:return i=this.options,c=i.headers,h=i.fetch,l=void 0===h?f.default:h,p=i.method,v=void 0===p?'POST':p,b=s(i,["headers","fetch","method"]),m=this.url,O=P(t),w=O.query,q=O.operationName,[4,g({url:m,query:w,variables:n,headers:e(e({},y(c)),y(o)),operationName:q,fetch:l,method:v,fetchOptions:b})];case 1:return[2,u.sent().data]}}))}))},t.prototype.batchRequests=function(t,n){return i(this,void 0,void 0,(function(){var o,i,c,h,l,p,v,b,m,O;return u(this,(function(u){switch(u.label){case 0:return o=this.options,i=o.headers,c=o.fetch,h=void 0===c?f.default:c,l=o.method,p=void 0===l?'POST':l,v=s(o,["headers","fetch","method"]),b=this.url,m=t.map((function(e){return P(e.document).query})),O=t.map((function(e){return e.variables})),[4,g({url:b,query:m,variables:O,headers:e(e({},y(i)),y(n)),operationName:void 0,fetch:h,method:p,fetchOptions:v})];case 1:return[2,u.sent().data]}}))}))},t.prototype.setHeaders=function(e){return this.options.headers=e,this},t.prototype.setHeader=function(e,t){var n,o=this.options.headers;return o?o[e]=t:this.options.headers=((n={})[e]=t,n),this},t.prototype.setEndpoint=function(e){return this.url=e,this},t})();function g(t){var n=t.url,o=t.query,s=t.variables,c=t.headers,f=t.operationName,h=t.fetch,l=t.method,p=void 0===l?'POST':l,y=t.fetchOptions;return i(this,void 0,void 0,(function(){var t,i,l,b,m,q,g,_;return u(this,(function(u){switch(u.label){case 0:return t='POST'===p.toUpperCase()?O:w,i=Array.isArray(o),[4,t({url:n,query:o,variables:s,operationName:f,headers:c,fetch:h,fetchOptions:y})];case 1:return[4,j(l=u.sent())];case 2:if(b=u.sent(),m=i&&Array.isArray(b)?!b.some((function(e){return!e.data})):!!b.data,l.ok&&!b.errors&&m)return q=l.headers,g=l.status,[2,e(e({},i?{data:b}:b),{headers:q,status:g})];throw _='string'==typeof b?{error:b}:b,new v.ClientError(e(e({},_),{status:l.status,headers:l.headers}),{query:o,variables:s})}}))}))}function _(e,t,n,o){return i(this,void 0,void 0,(function(){return u(this,(function(i){return[2,new q(e).request(t,n,o)]}))}))}function j(e){var t=e.headers.get('Content-Type');return t&&t.startsWith('application/json')?e.json():e.text()}function P(e){var t;if('string'==typeof e)return{query:e};var n=void 0,o=e.definitions.filter((function(e){return'OperationDefinition'===e.kind}));return 1===o.length&&(n=null===(t=o[0].name)||void 0===t?void 0:t.value),{query:l.print(e),operationName:n}}function N(e){var t={};return e.forEach((function(e,n){t[n]=e})),t}_e2.GraphQLClient=q,_e2.rawRequest=function(e,t,n,o){return i(this,void 0,void 0,(function(){return u(this,(function(i){return[2,new q(e).rawRequest(t,n,o)]}))}))},_e2.request=_,_e2.batchRequests=function(e,t,n){return i(this,void 0,void 0,(function(){return u(this,(function(o){return[2,new q(e).batchRequests(t,n)]}))}))},_e2.default=_,_e2.gql=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.reduce((function(e,n,o){return""+e+n+(o in t?t[o]:'')}),'')}}),954,[955,956,965,971]);
1013
1012
  __d((function(g,r,i,a,m,e,d){m.exports=g.fetch,m.exports.default=g.fetch,m.exports.fetch=g.fetch,m.exports.Headers=g.Headers,m.exports.Request=g.Request,m.exports.Response=g.Response}),955,[]);
@@ -1254,4 +1253,5 @@ __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esMo
1254
1253
  __d((function(g,_r,_i,_a,m,_e,d){var e=_r(d[0]);Object.defineProperty(_e,"__esModule",{value:!0}),_e.UserProfileScreen=function(e){var l=e.navigation,p=(0,u.useUser)(),y=p.userData,w=p.selectedAccount,v=(0,c.useModalStack)(),P=(0,u.useUserActions)(),b=o.useState(!1),V=(0,r.default)(b,2),S=V[0],A=V[1],O=(function(){var e=(0,n.default)((function*(){A(!0),yield P.login('login'),A(!1)}));return function(){return e.apply(this,arguments)}})(),L=(function(){var e=(0,n.default)((function*(){A(!0),yield P.login('signup'),A(!1)}));return function(){return e.apply(this,arguments)}})(),z=null!=y;return(0,f.jsx)(s.SafeAreaView,{style:{flex:1},edges:['bottom'],children:(0,f.jsx)(i.ScrollView,{style:{flex:1},children:(0,f.jsxs)(t.View,{children:[(0,f.jsx)(x,{onClosePress:function(){l.goBack()}}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.View,{px:"medium",children:z?(0,f.jsx)(h,{userData:y,selectedAccount:w,onSelectAccount:function(e){P.setSelectedAccount(e.id)},onLogoutPress:function(){v.push((function(){return(0,f.jsx)(a.LogoutConfirmationModal,{onClosePress:function(){return v.pop()},onLogoutPress:(0,n.default)((function*(){yield P.logout(),v.pop()}))})}))}}):(0,f.jsx)(j,{isLoading:S,onLoginPress:O,onSignupPress:L})})]})})})};var n=e(_r(d[1])),r=e(_r(d[2])),t=_r(d[3]),o=(function(e,n){if(!n&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=p(n);if(r&&r.has(e))return r.get(e);var t={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(t,i,s):t[i]=e[i]}return t.default=e,r&&r.set(e,t),t})(_r(d[4])),i=_r(d[5]),s=_r(d[6]),l=_r(d[7]),a=_r(d[8]),c=_r(d[9]),u=_r(d[10]),f=_r(d[11]);function p(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:n})(e)}function x(e){var n=e.onClosePress;return(0,f.jsxs)(t.View,{children:[(0,f.jsx)(t.Spacer.Vertical,{size:"small"}),(0,f.jsxs)(t.Row,{align:"center",children:[(0,f.jsx)(t.View,{px:"medium",children:(0,f.jsx)(t.Heading,{size:"large",children:"Account"})}),(0,f.jsx)(t.Spacer.Horizontal,{}),(0,f.jsx)(t.Button.FadeOnPressContainer,{onPress:n,accessibilityLabel:"Go Back",rounded:"full",bg:"ghost",children:(0,f.jsx)(t.View,{padding:"medium",rounded:"full",children:(0,f.jsx)(t.XIcon,{})})})]})]})}function j(e){var n=e.onLoginPress,r=e.onSignupPress,o=e.isLoading;return(0,f.jsxs)(t.View,{px:"small",py:"medium",bg:"default",rounded:"large",children:[(0,f.jsx)(t.Text,{color:"secondary",size:"small",leading:"large",children:"Log in or create an account to view local development servers and more."}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:n,disabled:o,accessibilityLabel:"Log in",children:(0,f.jsx)(t.View,{py:"small",children:(0,f.jsx)(t.Button.Text,{color:"tertiary",weight:"semibold",align:"center",children:"Log In"})})}),(0,f.jsx)(t.Spacer.Vertical,{size:"small"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"secondary",rounded:"medium",onPress:r,disabled:o,accessibilityLabel:"Sign Up",children:(0,f.jsx)(t.View,{py:"small",children:(0,f.jsx)(t.Button.Text,{color:"secondary",weight:"semibold",align:"center",children:"Sign Up"})})}),o&&(0,f.jsx)(t.View,{style:{position:'absolute',right:0,left:0,top:0,bottom:0,alignItems:'center',justifyContent:'center'},children:(0,f.jsx)(i.ActivityIndicator,{size:"small"})})]})}function h(e){var n=e.userData,r=e.selectedAccount,o=e.onSelectAccount,i=e.onLogoutPress,s=[],a=[];for(var c of n.accounts)c&&(c.ownerUserActor?s.push(c):a.push(c));var u=[].concat(s,a);return(0,f.jsxs)(t.View,{children:[(0,f.jsx)(t.View,{children:u.map((function(e,n,i){var s,a,c,u,p=n===i.length-1,x=0===n,j=e.id===(null==r?void 0:r.id);return(0,f.jsxs)(t.Button.FadeOnPressContainer,{onPress:function(){return o(e)},bg:"default",roundedBottom:p?'large':'none',roundedTop:x?'large':'none',children:[(0,f.jsxs)(t.Row,{align:"center",py:"small",px:"medium",bg:"default",children:[(0,f.jsx)(l.Avatar,{profilePhoto:null==e||null==(s=e.ownerUserActor)?void 0:s.profilePhoto,name:null!=e&&null!=(a=e.ownerUserActor)&&a.fullName?e.ownerUserActor.fullName:null==e?void 0:e.name,isOrganization:null===(null==e?void 0:e.ownerUserActor),size:"large"}),(0,f.jsx)(t.Spacer.Horizontal,{size:"small"}),(0,f.jsx)(t.View,{children:(0,f.jsx)(t.Heading,{children:null!=(c=null==(u=e.ownerUserActor)?void 0:u.username)?c:e.name})}),(0,f.jsx)(t.Spacer.Vertical,{}),j&&(0,f.jsx)(t.CheckIcon,{testID:`active-account-checkmark-${e.id}`})]}),!p&&(0,f.jsx)(t.Divider,{})]},e.id)}))}),(0,f.jsx)(t.Spacer.Vertical,{size:"medium"}),(0,f.jsx)(t.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:i,children:(0,f.jsx)(t.View,{py:"small",rounded:"medium",children:(0,f.jsx)(t.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})]})}}),1108,[22,338,53,695,107,2,595,1095,1109,1073,1065,242]);
1255
1254
  __d((function(g,_r,_i,_a,m,_e,d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.LogoutConfirmationModal=function(n){var o=n.onLogoutPress,i=n.onClosePress;return(0,t.jsxs)(r.BaseModal,{title:"Confirm logout",children:[(0,t.jsx)(e.Heading,{weight:"medium",children:"Are you sure you want to log out?"}),(0,t.jsx)(e.Spacer.Vertical,{size:"medium"}),(0,t.jsxs)(e.Row,{children:[(0,t.jsx)(e.View,{flex:"1",grow:"1",children:(0,t.jsx)(e.Button.FadeOnPressContainer,{bg:"tertiary",rounded:"medium",onPress:o,accessibilityLabel:"Log out",children:(0,t.jsx)(e.View,{padding:"small",rounded:"medium",children:(0,t.jsx)(e.Button.Text,{color:"tertiary",weight:"bold",align:"center",children:"Log Out"})})})}),(0,t.jsx)(e.Spacer.Horizontal,{size:"medium"}),(0,t.jsx)(e.View,{flex:"1",grow:"1",children:(0,t.jsx)(e.Button.FadeOnPressContainer,{bg:"ghost",border:"ghost",rounded:"medium",onPress:i,children:(0,t.jsx)(e.View,{padding:"small",rounded:"medium",children:(0,t.jsx)(e.Button.Text,{color:"ghost",weight:"bold",align:"center",children:"Nevermind"})})})})]})]})};var e=_r(d[0]),r=((function(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=n(r);if(t&&t.has(e))return t.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=i?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}o.default=e,t&&t.set(e,o)})(_r(d[1])),_r(d[2])),t=_r(d[3]);function n(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(n=function(e){return e?t:r})(e)}}),1109,[695,107,1076,242]);
1256
1255
  __r(141);
1257
- __r(0);
1256
+ __r(0);
1257
+ //# sourceURL=http://localhost:8081/index.js.bundle?platform=ios&dev=false&hot=false&minify=true&transform.routerRoot=app&resolver.environment=client&transform.environment=client&serializer.output=static
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "expo-dev-launcher",
3
3
  "title": "Expo Development Launcher",
4
- "version": "4.0.18",
4
+ "version": "4.0.19",
5
5
  "description": "Pre-release version of the Expo development launcher package for testing.",
6
6
  "main": "build/DevLauncher.js",
7
7
  "types": "build/DevLauncher.d.ts",
@@ -66,5 +66,5 @@
66
66
  "./setupTests.ts"
67
67
  ]
68
68
  },
69
- "gitHead": "2893e9cba95261919532de0675468c601b87b017"
69
+ "gitHead": "247b0bf49d46697632665ef49660fea7a34ec174"
70
70
  }
@@ -1,8 +1,6 @@
1
1
  #!/bin/bash
2
2
 
3
3
  export NODE_ENV=production
4
- export EXPO_USE_FAST_RESOLVER=1
5
- export EXPO_NO_TELEMETRY=1
6
4
 
7
5
  # Generate temporary app.json for `npx expo export:embed` and indicate that we want to use JSC bundling profile.
8
6
  # The reason to use JSC because the bundle should be compatible with both JSC and Hermes.
@@ -42,7 +40,8 @@ EXPO_BUNDLE_APP=1 npx expo export:embed \
42
40
  --entry-file index.js \
43
41
  --unstable-transform-profile default \
44
42
  --bundle-output android/src/debug/assets/expo_dev_launcher_android.bundle \
45
- --assets-dest android/src/debug/res
43
+ --assets-dest android/src/debug/res \
44
+ --reset-cache
46
45
 
47
46
  # Cleanup
48
47