diff --git a/App.js b/App.js
index ca0630af..ff673fb9 100644
--- a/App.js
+++ b/App.js
@@ -74,6 +74,7 @@ import PrescriptionUpload from "./src/views/PrescriptionUpload";
import Success from './src/views/Success'
// import WallletAdd from './src/views/WalletAdd'
import WalletAdd from "./src/views/WalletAdd";
+import AddressEnter from "./src/views/AddressEnter";
const Stack = createStackNavigator();
const Tab = createBottomTabNavigator();
@@ -245,7 +246,9 @@ function App() {
-
+
200)return"[TOO BIG formatValueCalls "+n.formatValueCalls+" exceeded limit of 200]";var f=t(n,r);if(f)return f;var c=Object.keys(r),s=e(c);if(d(r)&&(c.indexOf('message')>=0||c.indexOf('description')>=0))return o(r);if(0===c.length){if(v(r)){var g=r.name?': '+r.name:'';return n.stylize('[Function'+g+']','special')}if(p(r))return n.stylize(RegExp.prototype.toString.call(r),'regexp');if(y(r))return n.stylize(Date.prototype.toString.call(r),'date');if(d(r))return o(r)}var h,b,m='',j=!1,O=['{','}'];(h=r,Array.isArray(h)&&(j=!0,O=['[',']']),v(r))&&(m=' [Function'+(r.name?': '+r.name:'')+']');return p(r)&&(m=' '+RegExp.prototype.toString.call(r)),y(r)&&(m=' '+Date.prototype.toUTCString.call(r)),d(r)&&(m=' '+o(r)),0!==c.length||j&&0!=r.length?u<0?p(r)?n.stylize(RegExp.prototype.toString.call(r),'regexp'):n.stylize('[Object]','special'):(n.seen.push(r),b=j?i(n,r,u,s,c):c.map(function(e){return l(n,r,u,s,e,j)}),n.seen.pop(),a(b,m,O)):O[0]+m+O[1]}function t(n,e){if(s(e))return n.stylize('undefined','undefined');if('string'==typeof e){var r="'"+JSON.stringify(e).replace(/^"|"$/g,'').replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return n.stylize(r,'string')}return c(e)?n.stylize(''+e,'number'):u(e)?n.stylize(''+e,'boolean'):f(e)?n.stylize('null','null'):void 0}function o(n){return'['+Error.prototype.toString.call(n)+']'}function i(n,e,r,t,o){for(var i=[],a=0,u=e.length;a-1&&(u=l?u.split('\n').map(function(n){return' '+n}).join('\n').substr(2):'\n'+u.split('\n').map(function(n){return' '+n}).join('\n')):u=n.stylize('[Circular]','special')),s(a)){if(l&&i.match(/^\d+$/))return u;(a=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=n.stylize(a,'name')):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=n.stylize(a,'string'))}return a+': '+u}function a(n,e,r){return n.reduce(function(n,e){return 0,e.indexOf('\n')>=0&&0,n+e.replace(/\u001b\[\d\d?m/g,'').length+1},0)>60?r[0]+(''===e?'':e+'\n ')+' '+n.join(',\n ')+' '+r[1]:r[0]+e+' '+n.join(', ')+' '+r[1]}function u(n){return'boolean'==typeof n}function f(n){return null===n}function c(n){return'number'==typeof n}function s(n){return void 0===n}function p(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 b(n,e){return Object.prototype.hasOwnProperty.call(n,e)}return function(e,t){return r({seen:[],formatValueCalls:0,stylize:n},e,t.depth)}})(),r='(index)',t={trace:0,info:1,warn:2,error:3},o=[];o[t.trace]='debug',o[t.info]='log',o[t.warn]='warning',o[t.error]='error';var i=1;function l(r){return function(){var l;l=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,function(n){return e(n,{depth:10})}).join(', ');var a=arguments[0],u=r;'string'==typeof a&&'Warning: '===a.slice(0,9)&&u>=t.error&&(u=t.warn),n.__inspectorLog&&n.__inspectorLog(o[u],l,[].slice.call(arguments),i),s.length&&(l=p('',l)),n.nativeLoggingHook(l,u)}}function a(n,e){return Array.apply(null,Array(e)).map(function(){return n})}var u="\u2502",f="\u2510",c="\u2518",s=[];function p(n,e){return s.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:l(t.error),info:l(t.info),log:l(t.info),warn:l(t.warn),trace:l(t.trace),debug:l(t.trace),table:function(e){if(!Array.isArray(e)){var o=e;for(var i in e=[],o)if(o.hasOwnProperty(i)){var l=o[i];l[r]=i,e.push(l)}}if(0!==e.length){var u=Object.keys(e[0]).sort(),f=[],c=[];u.forEach(function(n,r){c[r]=n.length;for(var t=0;t';return function(){for(var r=arguments.length,u=new Array(r),e=0;eR.height,y=h?0:10,v=f.top,x=R.height/R.width,S=u(p.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),s?s.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),w=l(S.interpolate({inputRange:[0,1,2],outputRange:[R.height,0===n?0:y,(0===n?v:0)-y*x]}),c),A=S.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,.3,1,1]}),Y=h?1:S.interpolate({inputRange:[0,1,2],outputRange:[1,1,R.width?1-2*y/R.width:1]}),O=h?0:0===n?S.interpolate({inputRange:[0,1,1.0001,2],outputRange:[0,0,(0,o.isIphoneX)()?38:0,10]}):10;return{cardStyle:{overflow:'hidden',borderTopLeftRadius:O,borderTopRightRadius:O,marginTop:0===n?0:v,marginBottom:0===n?0:y,transform:[{translateY:w},{scale:Y}]},overlayStyle:{opacity:A}}},e.forFadeFromBottomAndroid=function(t){var n=t.current,o=t.inverted,u=t.layouts.screen,s=t.closing,c=l(n.progress.interpolate({inputRange:[0,1],outputRange:[.08*u.height,0],extrapolate:'clamp'}),o);return{cardStyle:{opacity:(0,p.default)(s,n.progress,n.progress.interpolate({inputRange:[0,.5,.9,1],outputRange:[0,.25,.7,1]})),transform:[{translateY:c}]}}},e.forRevealFromBottomAndroid=function(t){var n=t.current,o=t.next,p=t.inverted,u=t.layouts.screen,s=l(n.progress.interpolate({inputRange:[0,1],outputRange:[u.height,0],extrapolate:'clamp'}),p),c=l(n.progress.interpolate({inputRange:[0,1],outputRange:[.9590000000000001*u.height*-1,0],extrapolate:'clamp'}),p),R=o?l(o.progress.interpolate({inputRange:[0,1],outputRange:[0,.02*u.height*-1],extrapolate:'clamp'}),p):0,f=n.progress.interpolate({inputRange:[0,.36,1],outputRange:[0,.1,.1],extrapolate:'clamp'});return{containerStyle:{overflow:'hidden',transform:[{translateY:s}]},cardStyle:{transform:[{translateY:c},{translateY:R}]},overlayStyle:{opacity:f}}},e.forScaleFromCenterAndroid=function(t){var n=t.current,o=t.next,l=t.closing,s=u(n.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}),o?o.progress.interpolate({inputRange:[0,1],outputRange:[0,1],extrapolate:'clamp'}):0),c=s.interpolate({inputRange:[0,.8,1,1.2,2],outputRange:[0,.5,1,.33,0]}),R=(0,p.default)(l,n.progress.interpolate({inputRange:[0,1],outputRange:[.9,1],extrapolate:'clamp'}),s.interpolate({inputRange:[0,1,2],outputRange:[.85,1,1.1]}));return{containerStyle:{opacity:c,transform:[{scale:R}]}}},e.forNoAnimation=function(){return{}};var n=r(d[1]),o=r(d[2]),p=t(r(d[3])),u=n.Animated.add,l=n.Animated.multiply},500,[1,2,501,502]);
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.isIphoneX=n,e.ifIphoneX=o,e.getStatusBarHeight=function(n){return t.Platform.select({ios:o(n?44:30,20),android:t.StatusBar.currentHeight,default:0})},e.getBottomSpace=function(){return n()?34:0};var t=r(d[0]);function n(){var n=t.Dimensions.get('window');return!('ios'!==t.Platform.OS||t.Platform.isPad||t.Platform.isTVOS||812!==n.height&&812!==n.width&&896!==n.height&&896!==n.width)}function o(t,o){return n()?t:o}},501,[2]);
@@ -982,7 +982,7 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),s=t(r(d[2])),o=r(d[3]),u=(function(){function t(s,u,h){if((0,n.default)(this,t),!Object.values(o.Importance).includes(h))throw new Error("AndroidChannel() Invalid Importance: "+h);this._channelId=s,this._name=u,this._importance=h}return(0,s.default)(t,[{key:"enableLights",value:function(t){return this._lightsEnabled=t,this}},{key:"enableVibration",value:function(t){return this._vibrationEnabled=t,this}},{key:"setBypassDnd",value:function(t){return this._bypassDnd=t,this}},{key:"setDescription",value:function(t){return this._description=t,this}},{key:"setGroup",value:function(t){return this._group=t,this}},{key:"setLightColor",value:function(t){return this._lightColor=t,this}},{key:"setLockScreenVisibility",value:function(t){if(!Object.values(o.Visibility).includes(t))throw new Error("AndroidChannel:setLockScreenVisibility Invalid Visibility: "+t);return this._lockScreenVisibility=t,this}},{key:"setShowBadge",value:function(t){return this._showBadge=t,this}},{key:"setSound",value:function(t){return this._sound=t,this}},{key:"setVibrationPattern",value:function(t){return this._vibrationPattern=t,this}},{key:"build",value:function(){if(!this._channelId)throw new Error('AndroidChannel: Missing required `channelId` property');if(!this._importance)throw new Error('AndroidChannel: Missing required `importance` property');if(!this._name)throw new Error('AndroidChannel: Missing required `name` property');return{bypassDnd:this._bypassDnd,channelId:this._channelId,description:this._description,group:this._group,importance:this._importance,lightColor:this._lightColor,lightsEnabled:this._lightsEnabled,lockScreenVisibility:this._lockScreenVisibility,name:this._name,showBadge:this._showBadge,sound:this._sound,vibrationEnabled:this._vibrationEnabled,vibrationPattern:this._vibrationPattern}}},{key:"bypassDnd",get:function(){return this._bypassDnd}},{key:"channelId",get:function(){return this._channelId}},{key:"description",get:function(){return this._description}},{key:"group",get:function(){return this._group}},{key:"importance",get:function(){return this._importance}},{key:"lightColor",get:function(){return this._lightColor}},{key:"lightsEnabled",get:function(){return this._lightsEnabled}},{key:"lockScreenVisibility",get:function(){return this._lockScreenVisibility}},{key:"name",get:function(){return this._name}},{key:"showBadge",get:function(){return this._showBadge}},{key:"sound",get:function(){return this._sound}},{key:"vibrationEnabled",get:function(){return this._vibrationEnabled}},{key:"vibrationPattern",get:function(){return this._vibrationPattern}}]),t})();e.default=u},976,[1,26,27,973]);
__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),o=n(r(d[2])),u=(function(){function n(o,u,s){(0,t.default)(this,n),this._name=u,this._groupId=o,this._description=s}return(0,o.default)(n,[{key:"build",value:function(){if(!this._groupId)throw new Error('AndroidChannelGroup: Missing required `groupId` property');if(!this._name)throw new Error('AndroidChannelGroup: Missing required `name` property');return{name:this._name,groupId:this._groupId,description:this._description,channels:[]}}},{key:"groupId",get:function(){return this._groupId}},{key:"name",get:function(){return this._name}},{key:"description",get:function(){return this._description}}]),n})();e.default=u},977,[1,26,27]);
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3]));function u(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function l(t){for(var o=1;o0&&h.default.createElement(b.Rating,{ratingCount:5,startingValue:o.overall_rating,imageSize:12,readonly:!0}),h.default.createElement(y.View,{style:C.home_style43}),h.default.createElement(y.Text,{style:C.home_style44},"View Profile")))}))),h.default.createElement(y.View,{style:C.home_style45})),h.default.createElement(_.Loader,{visible:!1}))}}]),T})(h.Component);e.default=x;var C=y.StyleSheet.create({home_style1:{paddingTop:10,flexDirection:"row"},home_style2:{borderRadius:10},home_style3:{height:140,width:260,borderRadius:10,marginRight:10},home_style4:{marginTop:30},home_style5:{fontFamily:p.font_title,fontSize:18,color:w.theme_fg_two,marginLeft:15},home_style6:{margin:5},home_style7:{flexDirection:"row"},home_style8:{borderColor:w.theme_fg_three,borderWidth:1,height:105,width:105,marginRight:10,alignSelf:"center",borderRadius:30,backgroundColor:w.theme_bg,justifyContent:"center"},home_style9:{alignSelf:"center",height:50,width:50},home_style10:{alignSelf:"center",fontSize:14,color:w.theme_fg_three,marginTop:10,fontFamily:p.font_description},home_style11:{margin:15},home_style12:{backgroundColor:w.theme_bg,width:"100%",borderRadius:20,padding:10,alignSelf:"center",fontFamily:p.font_title},home_style13:{fontSize:16,color:"#FFFFFF",alignSelf:"center",fontFamily:p.font_title},home_style14:{margin:15},home_style15:{height:"100%",width:"60%",alignSelf:"center"},home_style16:{fontFamily:p.font_title,fontSize:18,color:w.theme_fg_two,marginLeft:15},home_style17:{margin:3},home_style18:{flexDirection:"row"},home_style19:{borderRadius:20,marginLeft:5},home_style20:{borderColor:w.theme_fg_three,borderWidth:1,height:80,width:80,alignSelf:"center",borderRadius:20,backgroundColor:w.theme_bg_three,padding:12},home_style21:{alignSelf:"center",height:50,width:50},home_style22:{alignSelf:"center",fontSize:14,color:w.theme_fg_two,padding:5,fontFamily:p.font_description},home_style23:{margin:5},home_style24:{flexDirection:"row"},home_style25:{borderRadius:20,marginLeft:5},home_style26:{borderColor:w.theme_fg_three,borderWidth:1,height:80,width:80,alignSelf:"center",borderRadius:20,backgroundColor:w.theme_bg_three,padding:12},home_style27:{alignSelf:"center",height:50,width:50},home_style28:{alignSelf:"center",fontSize:14,color:w.theme_fg_two,padding:5,fontFamily:p.font_description},home_style29:{margin:13},home_style30:{height:"100%",width:"80%",alignSelf:"center",marginTop:10},home_style31:{fontFamily:p.font_title,fontSize:18,color:w.theme_fg_two,marginLeft:15},home_style32:{height:"100%",width:"20%",alignSelf:"center",marginTop:15},home_style33:{alignSelf:"center",fontSize:12,color:w.theme_fg_two,marginLeft:20,fontFamily:p.font_description},home_style34:{margin:3},home_style35:{flexDirection:"row"},home_style36:{width:200,borderRadius:10},home_style37:{alignItems:"center",justifyContent:"center",padding:10,fontFamily:p.font_description},home_style38:{margin:5},home_style39:{fontSize:16,color:w.theme_fg_two,fontFamily:p.font_description},home_style40:{margin:2},home_style41:{fontSize:14,color:w.grey,fontFamily:p.font_description},home_style42:{margin:2},home_style43:{borderBottomWidth:1,borderColor:w.grey,width:"100%",margin:10},home_style44:{fontSize:14,color:w.theme_fg_two,fontFamily:p.font_title},home_style45:{margin:10},title:{fontSize:18,fontFamily:p.font_title,color:"#000000",marginTop:10,marginRight:180},header:{marginLeft:5,marginTop:10,alignSelf:"center"},container:{flex:1,margin:10},SectionStyle:{flexDirection:"row",justifyContent:"center",alignItems:"center",backgroundColor:"#144B90",borderWidth:1,borderColor:w.theme_fg,height:40,width:130,borderRadius:30,marginTop:20,marginLeft:10},imagetwo:{alignSelf:"center",height:30,width:30},imageone:{alignSelf:"center",height:55,width:55,borderRadius:100},imagethree:{alignSelf:"center",height:70,width:70,borderRadius:100,marginTop:5},imagefive:{alignSelf:"center",height:40,width:40},imagesix:{alignSelf:"center",height:20,width:20},image:{alignSelf:"center",height:180,width:320,borderRadius:10}})},979,[9,1,101,26,27,37,39,36,56,2,829,415,819,941,472,980,981,982,830,984,1127,1129,1133,1136,1137,921,1141]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=o(r(d[2])),n=o(r(d[3])),s=o(r(d[4])),c=o(r(d[5])),u=o(r(d[6])),f=o(r(d[7])),h=t(r(d[8])),y=r(d[9]),_=r(d[10]),p=r(d[11]),w=t(r(d[12])),S=o(r(d[13])),E=(r(d[14]),r(d[15]),r(d[16]),o(r(d[17])),r(d[18]),r(d[19])),b=(o(r(d[20])),t(r(d[21])),o(r(d[22])),o(r(d[23])),o(r(d[24])),r(d[25])),v=o(r(d[26]));function V(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var x=(function(t){(0,c.default)(T,t);var o,w,x=(o=T,w=V(),function(){var t,l=(0,f.default)(o);if(w){var n=(0,f.default)(this).constructor;t=Reflect.construct(l,arguments,n)}else t=l.apply(this,arguments);return(0,u.default)(this,t)});function T(t){var o;return(0,n.default)(this,T),(o=x.call(this,t)).symptoms=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.default.awrap(S.default.get(p.api_url1+"/doctor_symptom/").then(function(t){return o.setState({symptoms_first:t.data})}));case 2:case"end":return t.stop()}},null,null,null,Promise)},o.doctorsList=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.default.awrap(S.default.get(p.api_url1+"/doctors/").then(function(t){return o.setState({doctors:t.data.data})}));case 2:case"end":return t.stop()}},null,null,null,Promise)},o.home_details=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return o.symptoms(),o.doctorsList(),o.setState({isLoding:!0}),t.next=5,l.default.awrap((0,S.default)({method:"post",url:p.api_url+p.home_details}).then(function(t){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:o.setState({isLoding:!1}),o.setState({home_result:t.data.result,banners:t.data.result.banners,category:t.data.result.categories});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(t){o.setState({isLoding:!1}),alert("Something went wrong")}));case 5:case"end":return t.stop()}},null,null,null,Promise)},o.category_doctor_list=function(t,l){o.props.navigation.navigate("DoctorSubCategories",{id:t,type:1,category_name:l})},o.symptoms_doctor_list=function(t){o.props.navigation.navigate("DoctorSymptoms",{name:t})},o.top_doctor_list=function(){o.props.navigation.navigate("DoctorList",{id:0,type:3})},o.doctor_details=function(t){o.props.navigation.navigate("DoctorDetail",{data:t})},o.direct_appointment=function(t){v.default.promptForEnableLocationIfNeeded({interval:1e4,fastInterval:5e3}).then(function(t){o.props.navigation.navigate("DoctorMap",{categories:o.state.category})}).catch(function(t){})},o.state={banners:[],category:[],symptoms_first:[],symptoms_second:[],doctors:[],home_result:[],isLoding:!1},o.home_details(),o}return(0,s.default)(T,[{key:"componentDidMount",value:function(){var t=this;return l.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:this._unsubscribe=this.props.navigation.addListener("focus",function(){t.home_details()});case 1:case"end":return o.stop()}},null,this,null,Promise)}},{key:"componentWillUnmount",value:function(){this._unsubscribe()}},{key:"render",value:function(){var t=this;return h.default.createElement(E.Container,null,h.default.createElement(E.Content,{padder:!0},h.default.createElement(y.View,{style:C.home_style1},h.default.createElement(y.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1},this.state.banners.map(function(t,o){return h.default.createElement(y.ImageBackground,{source:{uri:p.img_url+t.url},imageStyle:C.home_style2,style:C.home_style3})}))),h.default.createElement(y.View,{style:C.home_style4}),h.default.createElement(y.Text,{style:C.home_style5},"Categories"),h.default.createElement(y.View,{style:C.home_style6}),h.default.createElement(y.View,{style:C.home_style7},h.default.createElement(y.ScrollView,{showsHorizontalScrollIndicator:!1,horizontal:!0},this.state.category.map(function(o,l){return h.default.createElement(y.TouchableOpacity,{onPress:function(){return t.category_doctor_list(o.id,o.category_name)},activeOpacity:1,style:C.home_style8},h.default.createElement(y.Image,{style:C.home_style9,source:{uri:p.img_url+o.category_image}}),h.default.createElement(y.Text,{style:C.home_style10},o.category_name))}))),h.default.createElement(y.View,{style:C.home_style14}),h.default.createElement(E.Row,null,h.default.createElement(E.Col,{style:C.home_style15},h.default.createElement(y.Text,{style:C.home_style16},"Common Symptoms"))),h.default.createElement(y.View,{style:C.home_style17}),h.default.createElement(y.View,{style:C.home_style18},h.default.createElement(y.ScrollView,{showsHorizontalScrollIndicator:!1,horizontal:!0},this.state.symptoms_first.map(function(o,l){return h.default.createElement(y.View,null,h.default.createElement(E.Card,{style:C.home_style19},h.default.createElement(y.TouchableOpacity,{activeOpacity:1,onPress:function(){return t.symptoms_doctor_list(o.name)}},h.default.createElement(y.View,{style:C.home_style20},h.default.createElement(y.Image,{style:C.home_style21,source:{uri:o.image}})))),h.default.createElement(y.Text,{style:C.home_style22},o.name))}))),h.default.createElement(y.View,{style:C.home_style23}),h.default.createElement(y.View,{style:C.home_style24},h.default.createElement(y.ScrollView,{showsHorizontalScrollIndicator:!1,horizontal:!0},this.state.symptoms_second.map(function(o,l){return h.default.createElement(y.View,null,h.default.createElement(E.Card,{style:C.home_style25},h.default.createElement(y.TouchableOpacity,{activeOpacity:1,onPress:function(){return t.symptoms_doctor_list(o.id)}},h.default.createElement(y.View,{style:C.home_style26},h.default.createElement(y.Image,{style:C.home_style27,source:{uri:p.img_url+o.service_image}})))),h.default.createElement(y.Text,{style:C.home_style28},o.service_name))}))),h.default.createElement(y.View,{style:C.home_style29}),h.default.createElement(E.Row,null,h.default.createElement(E.Col,{style:C.home_style30},h.default.createElement(y.Text,{style:C.home_style31},"Doctors")),h.default.createElement(E.Col,{style:C.home_style32},h.default.createElement(y.Text,{onPress:function(){return t.top_doctor_list()},style:C.home_style33},"View All"))),h.default.createElement(y.View,{style:C.home_style34}),h.default.createElement(y.ScrollView,{showsHorizontalScrollIndicator:!1,horizontal:!0},h.default.createElement(y.View,{style:C.home_style35},this.state.doctors.map(function(o,l){return h.default.createElement(E.Card,{style:C.home_style36},h.default.createElement(y.TouchableOpacity,{activeOpacity:1,onPress:function(){return t.doctor_details(o)},style:C.home_style37},h.default.createElement(E.Thumbnail,{source:{uri:o.profilePicture}}),h.default.createElement(y.View,{style:C.home_style38}),h.default.createElement(y.Text,{style:C.home_style39},o.name),h.default.createElement(y.View,{style:C.home_style40}),h.default.createElement(y.Text,{style:C.home_style41},"Specialist : ",o.sub_category.name),h.default.createElement(y.Text,{style:C.home_style41},"description : ",o.category.name),h.default.createElement(y.View,{style:C.home_style42}),o.overall_rating>0&&h.default.createElement(b.Rating,{ratingCount:5,startingValue:o.overall_rating,imageSize:12,readonly:!0}),h.default.createElement(y.View,{style:C.home_style43}),h.default.createElement(y.Text,{style:C.home_style44},"View Profile")))}))),h.default.createElement(y.View,{style:C.home_style45})),h.default.createElement(_.Loader,{visible:!1}))}}]),T})(h.Component);e.default=x;var C=y.StyleSheet.create({home_style1:{paddingTop:10,flexDirection:"row"},home_style2:{borderRadius:10},home_style3:{height:140,width:260,borderRadius:10,marginRight:10},home_style4:{marginTop:30},home_style5:{fontFamily:p.font_title,fontSize:18,color:w.theme_fg_two,marginLeft:15},home_style6:{margin:5},home_style7:{flexDirection:"row"},home_style8:{borderColor:w.theme_fg_three,borderWidth:1,height:105,width:105,marginRight:10,alignSelf:"center",borderRadius:30,backgroundColor:w.theme_bg,justifyContent:"center"},home_style9:{alignSelf:"center",height:50,width:50},home_style10:{alignSelf:"center",fontSize:14,color:w.theme_fg_three,marginTop:10,fontFamily:p.font_description},home_style11:{margin:15},home_style12:{backgroundColor:w.theme_bg,width:"100%",borderRadius:20,padding:10,alignSelf:"center",fontFamily:p.font_title},home_style13:{fontSize:16,color:"#FFFFFF",alignSelf:"center",fontFamily:p.font_title},home_style14:{margin:15},home_style15:{height:"100%",width:"60%",alignSelf:"center"},home_style16:{fontFamily:p.font_title,fontSize:18,color:w.theme_fg_two,marginLeft:15},home_style17:{margin:3},home_style18:{flexDirection:"row"},home_style19:{borderRadius:20,marginLeft:5},home_style20:{borderColor:w.theme_fg_three,borderWidth:1,height:80,width:80,alignSelf:"center",borderRadius:20,backgroundColor:w.theme_bg_three,padding:12},home_style21:{alignSelf:"center",height:50,width:50},home_style22:{alignSelf:"center",fontSize:14,color:w.theme_fg_two,padding:5,fontFamily:p.font_description},home_style23:{margin:5},home_style24:{flexDirection:"row"},home_style25:{borderRadius:20,marginLeft:5},home_style26:{borderColor:w.theme_fg_three,borderWidth:1,height:80,width:80,alignSelf:"center",borderRadius:20,backgroundColor:w.theme_bg_three,padding:12},home_style27:{alignSelf:"center",height:50,width:50},home_style28:{alignSelf:"center",fontSize:14,color:w.theme_fg_two,padding:5,fontFamily:p.font_description},home_style29:{margin:13},home_style30:{height:"100%",width:"80%",alignSelf:"center",marginTop:10},home_style31:{fontFamily:p.font_title,fontSize:18,color:w.theme_fg_two,marginLeft:15},home_style32:{height:"100%",width:"20%",alignSelf:"center",marginTop:15},home_style33:{alignSelf:"center",fontSize:12,color:w.theme_fg_two,marginLeft:20,fontFamily:p.font_description},home_style34:{margin:3},home_style35:{flexDirection:"row"},home_style36:{width:200,borderRadius:10},home_style37:{alignItems:"center",justifyContent:"center",padding:10,fontFamily:p.font_description},home_style38:{margin:5},home_style39:{fontSize:16,color:w.theme_fg_two,fontFamily:p.font_description},home_style40:{margin:2},home_style41:{fontSize:14,color:w.grey,fontFamily:p.font_description,marginLeft:-11},home_style42:{margin:2},home_style43:{borderBottomWidth:1,borderColor:w.grey,width:"100%",margin:10},home_style44:{fontSize:14,color:w.theme_fg_two,fontFamily:p.font_title},home_style45:{margin:10},title:{fontSize:18,fontFamily:p.font_title,color:"#000000",marginTop:10,marginRight:180},header:{marginLeft:5,marginTop:10,alignSelf:"center"},container:{flex:1,margin:10},SectionStyle:{flexDirection:"row",justifyContent:"center",alignItems:"center",backgroundColor:"#144B90",borderWidth:1,borderColor:w.theme_fg,height:40,width:130,borderRadius:30,marginTop:20,marginLeft:10},imagetwo:{alignSelf:"center",height:30,width:30},imageone:{alignSelf:"center",height:55,width:55,borderRadius:100},imagethree:{alignSelf:"center",height:70,width:70,borderRadius:100,marginTop:5},imagefive:{alignSelf:"center",height:40,width:40},imagesix:{alignSelf:"center",height:20,width:20},image:{alignSelf:"center",height:180,width:320,borderRadius:10}})},979,[9,1,101,26,27,37,39,36,56,2,829,415,819,941,472,980,981,982,830,984,1127,1129,1133,1136,1137,921,1141]);
__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.serviceActionSuccess=e.serviceActionError=e.serviceActionPending=void 0;var c=n(r(d[1]));e.serviceActionPending=function(){return{type:c.HOME_SERVICE_PENDING}};e.serviceActionError=function(n){return{type:c.HOME_SERVICE_ERROR,error:n}};e.serviceActionSuccess=function(n){return{type:c.HOME_SERVICE_SUCCESS,data:n}}},980,[9,395]);
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.productListReset=e.productReset=e.addToCart=e.serviceActionSuccess=e.serviceActionError=e.serviceActionPending=void 0;var n=t(r(d[1]));e.serviceActionPending=function(){return{type:n.PRODUCT_LIST_PENDING}};e.serviceActionError=function(t){return{type:n.PRODUCT_LIST_ERROR,error:t}};e.serviceActionSuccess=function(t){return{type:n.PRODUCT_LIST_SUCCESS,data:t}};e.addToCart=function(t){return{type:n.ADD_TO_CART,data:t}};e.productReset=function(){return{type:n.PRODUCT_RESET}};e.productListReset=function(){return{type:n.PRODUCT_LIST_RESET}}},981,[9,395]);
__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(r(d[2])),s=o(r(d[3])),l=o(r(d[4])),u=o(r(d[5])),c=o(r(d[6])),h=o(r(d[7])),p=t(r(d[8])),f=o(r(d[9])),y=r(d[10]);function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var v=r(d[11]).version.split('.'),b=+v[0],S=+v[1],C=y.StyleSheet.create({container:{flexDirection:'row',backgroundColor:'#222'},layoutIndicator:{height:15,position:'absolute',bottom:5,left:0,right:0,justifyContent:'center',alignItems:'center',flexDirection:'row',backgroundColor:'transparent'},indicator:{margin:3,opacity:.9},indicatorSelected:{opacity:1},containerImage:{flex:1,width:y.Dimensions.get('window').width},overlay:{opacity:.5,backgroundColor:'black'},layoutText:{position:'absolute',paddingHorizontal:15,bottom:30,left:0,right:0,justifyContent:'flex-start',alignItems:'flex-start',flexDirection:'column',backgroundColor:'transparent'},textTitle:{fontWeight:'bold',fontSize:15,color:'white'},textCaption:{fontWeight:'400',fontSize:12,color:'white'}}),_=(function(t){(0,u.default)(_,t);var o,f,v=(o=_,f=w(),function(){var t,n=(0,h.default)(o);if(f){var s=(0,h.default)(this).constructor;t=Reflect.construct(n,arguments,s)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function _(t){var o;return(0,s.default)(this,_),(o=v.call(this,t)).state={position:0,height:.4444444444444444*y.Dimensions.get('window').width,width:y.Dimensions.get('window').width,scrolling:!1},o}return(0,l.default)(_,[{key:"_onRef",value:function(t){this._ref=t,t&&this.state.position!==this._getPosition()&&this._move(this._getPosition())}},{key:"_move",value:function(t){var o=t!==this._getPosition(),n=this.state.width*t;0===b&&S<=19?this._ref.scrollTo(0,n,!0):this._ref.scrollTo({x:this.state.width*t,y:0,animated:!0}),this.setState({position:t}),o&&this.props.onPositionChanged&&this.props.onPositionChanged(t)}},{key:"_getPosition",value:function(){return'number'==typeof this.props.position?this.props.position:this.state.position}},{key:"_next",value:function(){var t=this.state.position===this.props.dataSource.length-1?0:this.state.position+1;this._move(t),this.setState({position:t})}},{key:"_prev",value:function(){var t=0===this.state.position?this.props.dataSource.length-1:this.state.position-1;this._move(t),this.setState({position:t})}},{key:"componentDidUpdate",value:function(t){t.position!==this.props.position&&this._move(this.props.position)}},{key:"componentWillMount",value:function(){var t=this;this.state.width;this._panResponder=y.PanResponder.create({onPanResponderRelease:function(o,n){var s=t.state.width,l=n.dx/s,u=n.vx,c=0;l<-.5||l<0&&u<=.5?c=1:(l>.5||l>0&&u>=.5)&&(c=-1);var h=t._getPosition();return 0===h&&-1===c?c=0:h+c>=t.props.dataSource.length&&(c=t.props.dataSource.length-(h+c)),t._move(h+c),!0}}),this._interval=setInterval(function(){var o=y.Dimensions.get('window').width;o!==t.state.width&&t.setState({width:o})},16)}},{key:"componentWillUnmount",value:function(){clearInterval(this._interval)}},{key:"render",value:function(){var t=this,o=this.state.width,s=this.props.height||this.state.height,l=this._getPosition();return p.default.createElement(y.View,{style:[this.props.containerStyle,{height:s}]},p.default.createElement(y.ScrollView,(0,n.default)({ref:function(o){return t._onRef(o)},decelerationRate:.99,horizontal:!0,showsHorizontalScrollIndicator:!1,scrollEnabled:this.props.scrollEnabled},this._panResponder.panHandlers,{style:[C.container,{height:s}]}),this.props.dataSource.map(function(n,l){var u='string'==typeof n.url?{uri:n.url}:n.url,c=p.default.createElement(y.View,{style:C.layoutText},void 0===n.title?null:p.default.createElement(y.Text,{style:t.props.titleStyle},n.title),void 0===n.caption?null:p.default.createElement(y.Text,{style:t.props.captionStyle},n.caption)),h=p.default.createElement(y.View,{key:l},p.default.createElement(y.Image,{source:u,style:{height:s,width:o}}),c),f=p.default.createElement(y.View,{key:l,style:C.containerImage},p.default.createElement(y.View,{style:C.overlay},p.default.createElement(y.Image,{source:u,style:{height:s,width:o}})),c);return t.props.onPress?p.default.createElement(y.TouchableOpacity,{key:l,style:{height:s,width:o},onPress:function(){return t.props.onPress({image:n,index:l})},delayPressIn:200},t.props.overlay?f:h):t.props.overlay?f:h})),p.default.createElement(y.View,{style:[C.layoutIndicator]},this.props.dataSource.map(function(o,n){return p.default.createElement(y.TouchableOpacity,{key:n,onPress:function(){return t._move(n)},style:[[C.indicator,E(t.props.indicatorSize),R(t.props.indicatorColor)],l===n&&[C.indicatorSelected,R(t.props.indicatorSelectedColor)]]},p.default.createElement(y.View,null))})),p.default.createElement(y.View,{style:[P(this.props.height,this.props.arrowSize),{left:10,height:50}]},p.default.createElement(y.TouchableOpacity,{onPress:function(){return t._prev()}},void 0==this.props.arrowRight?p.default.createElement(y.View,{style:[k(this.props.arrowSize),z(this.props.arrowSize)]}):this.props.arrowLeft)),p.default.createElement(y.View,{style:[P(this.props.height,this.props.arrowSize),{right:10,height:50}]},p.default.createElement(y.TouchableOpacity,{onPress:function(){return t._next()}},void 0==this.props.arrowRight?p.default.createElement(y.View,{style:[k(this.props.arrowSize),x(this.props.arrowSize)]}):this.props.arrowRight)))}}]),_})(p.Component);e.default=_,_.defaultProps={height:200,indicatorSize:8,indicatorColor:'#CCCCCC',indicatorSelectedColor:'#FFFFFF',scrollEnabled:!0,arrowSize:16},_.propTypes={dataSource:f.default.arrayOf(f.default.shape({title:f.default.string,caption:f.default.string,url:f.default.oneOfType([f.default.string,f.default.number]).isRequired})).isRequired,indicatorSize:f.default.number,indicatorColor:f.default.string,indicatorSelectedColor:f.default.string,height:f.default.number,position:f.default.number,scrollEnabled:f.default.bool,containerStyle:f.default.object,overlay:f.default.bool,arrowSize:f.default.number,arrowLeft:f.default.object,arrowRight:f.default.object,onPress:f.default.func,onPositionChanged:f.default.func};var E=function(t){return{width:t,height:t,borderRadius:t/2}},R=function(t){return{backgroundColor:t}},P=function(t,o){return{position:'absolute',backgroundColor:'transparent',justifyContent:'flex-start',alignItems:'flex-start',top:(t-o)/2,bottom:(t-o)/2}},k=function(t){return{width:0,height:0,margin:5,backgroundColor:'transparent',borderStyle:'solid',borderTopColor:'transparent',borderBottomColor:'transparent',borderTopWidth:t/2,borderBottomWidth:t/2}},x=function(t){return{borderRightWidth:0,borderLeftWidth:75*t/100,borderRightColor:'transparent',borderLeftColor:'white'}},z=function(t){return{borderRightWidth:75*t/100,borderLeftWidth:0,borderRightColor:'white',borderLeftColor:'transparent'}}},982,[9,1,13,26,27,37,39,36,56,68,2,983]);
@@ -1257,7 +1257,7 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__e
__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=l(r(d[2])),n=l(r(d[3])),u=l(r(d[4])),c=l(r(d[5])),s=l(r(d[6])),p=l(r(d[7])),f=l(r(d[8])),_=t(r(d[9])),y=r(d[10]),h=r(d[11]),v=t(r(d[12])),w=r(d[13]),E=(r(d[14]),l(r(d[15]))),b=r(d[16]),x=r(d[17]),C=r(d[18]),R=r(d[19]),k=l(r(d[20]));function S(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var F=(function(t){(0,s.default)(R,t);var l,x,C=(l=R,x=S(),function(){var t,o=(0,f.default)(l);if(x){var n=(0,f.default)(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return(0,p.default)(this,t)});function R(t){var l;return(0,n.default)(this,R),(l=C.call(this,t)).handleBackButtonClick=function(){l.props.navigation.goBack(null)},l.cart=function(){l.props.navigation.navigate('Cart')},l.get_related_products=function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(l.setState({isLoding:!0}),!l.state.data.slug){t.next=4;break}return t.next=4,o.default.awrap((0,k.default)({method:'post',url:w.api_url+w.related_products,data:{product_id:l.state.data.id,slug:l.state.data.slug,vendor_id:l.state.data.vendor_id}}).then(function(t){return o.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:l.setState({isLoding:!1}),l.setState({related_products_list:t.data.result});case 2:case"end":return o.stop()}},null,null,null,Promise)}).catch(function(t){l.setState({isLoding:!1})}));case 4:case"end":return t.stop()}},null,null,null,Promise)},l.add_to_cart=function(t,n,u,c,s,p){var f,_,y,h,v,w,E;return o.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,o.default.awrap(l.check_vendor());case 2:if(!b.sent){b.next=37;break}if(f=l.props.cart_items,_=f[n],y=parseFloat(l.props.sub_total),h=parseFloat(t*c),void 0!=_&&h>0?(v=parseFloat(h)-parseFloat(_.price),y=parseFloat(y)+parseFloat(v)):h>0&&(w=parseFloat(t*c),y=parseFloat(y)+parseFloat(w)),!(t>0)){b.next=24;break}return E={product_id:n,product_name:u,qty:t,unit_price:c,image:s,description:p,price:parseFloat(t*c)},f[n]=E,b.next=13,o.default.awrap(l.props.addToCart(f));case 13:return b.next=15,o.default.awrap(l.props.subTotal(y.toFixed(2)));case 15:if(!(y>>0;for(t=0;t0)for(n=0;n=0?n?'+':'':'-')+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var W=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,C=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,U={},H={};function F(e,t,n,s){var i=s;'string'==typeof s&&(i=function(){return this[s]()}),e&&(H[e]=i),t&&(H[t[0]]=function(){return R(i.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function L(e){var t,n,s,i=e.match(W);for(t=0,n=i.length;t=0&&C.test(e);)e=e.replace(C,s),C.lastIndex=0,n-=1;return e}var E={};function A(e,t){var n=e.toLowerCase();E[n]=E[n+'s']=E[t]=e}function j(e){return'string'==typeof e?E[e]||E[e.toLowerCase()]:void 0}function I(e){var t,n,s={};for(n in e)u(e,n)&&(t=j(n))&&(s[t]=e[n]);return s}var Z={};function z(e,t){Z[e]=t}function $(e){var t,n=[];for(t in e)u(e,t)&&n.push({unit:t,priority:Z[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}function q(e){return e%4==0&&e%100!=0||e%400==0}function B(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function J(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=B(t)),n}function Q(e,t){return function(n){return null!=n?(K(this,e,n),s.updateOffset(this,t),this):X(this,e)}}function X(e,t){return e.isValid()?e._d['get'+(e._isUTC?'UTC':'')+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&('FullYear'===t&&q(e.year())&&1===e.month()&&29===e.date()?(n=J(n),e._d['set'+(e._isUTC?'UTC':'')+t](n,e.month(),Ce(n,e.month()))):e._d['set'+(e._isUTC?'UTC':'')+t](n))}var ee,te=/\d/,ne=/\d\d/,se=/\d{3}/,ie=/\d{4}/,re=/[+-]?\d{6}/,ae=/\d\d?/,oe=/\d\d\d\d?/,ue=/\d\d\d\d\d\d?/,le=/\d{1,3}/,he=/\d{1,4}/,de=/[+-]?\d{1,6}/,ce=/\d+/,fe=/[+-]?\d+/,me=/Z|[+-]\d\d:?\d\d/gi,_e=/Z|[+-]\d\d(?::?\d\d)?/gi,ye=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ge(e,t,n){ee[e]=T(t)?t:function(e,s){return e&&n?n:t}}function we(e,t){return u(ee,e)?ee[e](t._strict,t._locale):new RegExp(pe(e.replace('\\','').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,'\\$&')}ee={};var ve={};function ke(e,t){var n,s=t;for('string'==typeof e&&(e=[e]),d(t)&&(s=function(e,n){n[t]=J(e)}),n=0;n68?1900:2e3)};var Ze=Q('FullYear',!0);function ze(e,t,n,s,i,r,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}function $e(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function qe(e,t,n){var s=7+t-n;return-((7+$e(e,0,s).getUTCDay()-t)%7)+s-1}function Be(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+qe(e,s,i);return o<=0?a=Ie(r=e-1)+o:o>Ie(e)?(r=e+1,a=o-Ie(e)):(r=e,a=o),{year:r,dayOfYear:a}}function Je(e,t,n){var s,i,r=qe(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+Qe(i=e.year()-1,t,n):a>Qe(e.year(),t,n)?(s=a-Qe(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Qe(e,t,n){var s=qe(e,t,n),i=qe(e+1,t,n);return(Ie(e)-s+i)/7}F('w',['ww',2],'wo','week'),F('W',['WW',2],'Wo','isoWeek'),A('week','w'),A('isoWeek','W'),z('week',5),z('isoWeek',5),ge('w',ae),ge('ww',ae,ne),ge('W',ae),ge('WW',ae,ne),Me(['w','ww','W','WW'],function(e,t,n,s){t[s.substr(0,1)]=J(e)});function Xe(e,t){return'string'!=typeof e?e:isNaN(e)?'number'==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ke(e,t){return'string'==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function et(e,t){return e.slice(t,7).concat(e.slice(0,t))}F('d',0,'do','day'),F('dd',0,0,function(e){return this.localeData().weekdaysMin(this,e)}),F('ddd',0,0,function(e){return this.localeData().weekdaysShort(this,e)}),F('dddd',0,0,function(e){return this.localeData().weekdays(this,e)}),F('e',0,0,'weekday'),F('E',0,0,'isoWeekday'),A('day','d'),A('weekday','e'),A('isoWeekday','E'),z('day',11),z('weekday',11),z('isoWeekday',11),ge('d',ae),ge('e',ae),ge('E',ae),ge('dd',function(e,t){return t.weekdaysMinRegex(e)}),ge('ddd',function(e,t){return t.weekdaysShortRegex(e)}),ge('dddd',function(e,t){return t.weekdaysRegex(e)}),Me(['dd','ddd','dddd'],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:y(n).invalidWeekday=e}),Me(['d','e','E'],function(e,t,n,s){t[s]=J(e)});var tt='Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),nt='Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),st='Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),it=ye,rt=ye,at=ye;function ot(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=_([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,'').toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,'').toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,'').toLocaleLowerCase();return n?'dddd'===t?-1!==(i=De.call(this._weekdaysParse,a))?i:null:'ddd'===t?-1!==(i=De.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=De.call(this._minWeekdaysParse,a))?i:null:'dddd'===t?-1!==(i=De.call(this._weekdaysParse,a))?i:-1!==(i=De.call(this._shortWeekdaysParse,a))?i:-1!==(i=De.call(this._minWeekdaysParse,a))?i:null:'ddd'===t?-1!==(i=De.call(this._shortWeekdaysParse,a))?i:-1!==(i=De.call(this._weekdaysParse,a))?i:-1!==(i=De.call(this._minWeekdaysParse,a))?i:null:-1!==(i=De.call(this._minWeekdaysParse,a))?i:-1!==(i=De.call(this._weekdaysParse,a))?i:-1!==(i=De.call(this._shortWeekdaysParse,a))?i:null}function ut(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=_([2e3,1]).day(t),s=pe(this.weekdaysMin(n,'')),i=pe(this.weekdaysShort(n,'')),r=pe(this.weekdays(n,'')),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);a.sort(e),o.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp('^('+l.join('|')+')','i'),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp('^('+u.join('|')+')','i'),this._weekdaysShortStrictRegex=new RegExp('^('+o.join('|')+')','i'),this._weekdaysMinStrictRegex=new RegExp('^('+a.join('|')+')','i')}function lt(){return this.hours()%12||12}function ht(e,t){F(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function dt(e,t){return t._meridiemParse}F('H',['HH',2],0,'hour'),F('h',['hh',2],0,lt),F('k',['kk',2],0,function(){return this.hours()||24}),F('hmm',0,0,function(){return''+lt.apply(this)+R(this.minutes(),2)}),F('hmmss',0,0,function(){return''+lt.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)}),F('Hmm',0,0,function(){return''+this.hours()+R(this.minutes(),2)}),F('Hmmss',0,0,function(){return''+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)}),ht('a',!0),ht('A',!1),A('hour','h'),z('hour',13),ge('a',dt),ge('A',dt),ge('H',ae),ge('h',ae),ge('k',ae),ge('HH',ae,ne),ge('hh',ae,ne),ge('kk',ae,ne),ge('hmm',oe),ge('hmmss',ue),ge('Hmm',oe),ge('Hmmss',ue),ke(['H','HH'],xe),ke(['k','kk'],function(e,t,n){var s=J(e);t[xe]=24===s?0:s}),ke(['a','A'],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ke(['h','hh'],function(e,t,n){t[xe]=J(e),y(n).bigHour=!0}),ke('hmm',function(e,t,n){var s=e.length-2;t[xe]=J(e.substr(0,s)),t[Te]=J(e.substr(s)),y(n).bigHour=!0}),ke('hmmss',function(e,t,n){var s=e.length-4,i=e.length-2;t[xe]=J(e.substr(0,s)),t[Te]=J(e.substr(s,2)),t[Ne]=J(e.substr(i)),y(n).bigHour=!0}),ke('Hmm',function(e,t,n){var s=e.length-2;t[xe]=J(e.substr(0,s)),t[Te]=J(e.substr(s))}),ke('Hmmss',function(e,t,n){var s=e.length-4,i=e.length-2;t[xe]=J(e.substr(0,s)),t[Te]=J(e.substr(s,2)),t[Ne]=J(e.substr(i))});var ct=Q('Hours',!0);var ft,mt={calendar:{sameDay:'[Today at] LT',nextDay:'[Tomorrow at] LT',nextWeek:'dddd [at] LT',lastDay:'[Yesterday at] LT',lastWeek:'[Last] dddd [at] LT',sameElse:'L'},longDateFormat:{LTS:'h:mm:ss A',LT:'h:mm A',L:'MM/DD/YYYY',LL:'MMMM D, YYYY',LLL:'MMMM D, YYYY h:mm A',LLLL:'dddd, MMMM D, YYYY h:mm A'},invalidDate:'Invalid date',ordinal:'%d',dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:'in %s',past:'%s ago',s:'a few seconds',ss:'%d seconds',m:'a minute',mm:'%d minutes',h:'an hour',hh:'%d hours',d:'a day',dd:'%d days',w:'a week',ww:'%d weeks',M:'a month',MM:'%d months',y:'a year',yy:'%d years'},months:Ue,monthsShort:He,week:{dow:0,doy:6},weekdays:tt,weekdaysMin:st,weekdaysShort:nt,meridiemParse:/[ap]\.?m?\.?/i},_t={},yt={};function gt(e,t){var n,s=Math.min(e.length,t.length);for(n=0;n0;){if(s=vt(i.slice(0,t).join('-')))return s;if(n&&n.length>=t&>(i,n)>=t-1)break;t--}r++}return ft}function vt(e){var n=null;if(void 0===_t[e]&&void 0!==i&&i&&i.exports)try{n=ft._abbr,t('./locale/'+e),kt(n)}catch(t){_t[e]=null}return _t[e]}function kt(e,t){var n;return e&&((n=h(t)?St(e):Mt(e,t))?ft=n:'undefined'!=typeof console&&console.warn&&console.warn('Locale '+e+' not found. Did you forget to load it?')),ft._abbr}function Mt(e,t){if(null!==t){var n,s=mt;if(t.abbr=e,null!=_t[e])x('defineLocaleOverride',"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=_t[e]._config;else if(null!=t.parentLocale)if(null!=_t[t.parentLocale])s=_t[t.parentLocale]._config;else{if(null==(n=vt(t.parentLocale)))return yt[t.parentLocale]||(yt[t.parentLocale]=[]),yt[t.parentLocale].push({name:e,config:t}),null;s=n._config}return _t[e]=new P(N(s,t)),yt[e]&&yt[e].forEach(function(e){Mt(e.name,e.config)}),kt(e),_t[e]}return delete _t[e],null}function St(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ft;if(!r(e)){if(t=vt(e))return t;e=[e]}return pt(e)}function Dt(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[Oe]<0||n[Oe]>11?Oe:n[be]<1||n[be]>Ce(n[Ye],n[Oe])?be:n[xe]<0||n[xe]>24||24===n[xe]&&(0!==n[Te]||0!==n[Ne]||0!==n[Pe])?xe:n[Te]<0||n[Te]>59?Te:n[Ne]<0||n[Ne]>59?Ne:n[Pe]<0||n[Pe]>999?Pe:-1,y(e)._overflowDayOfYear&&(tbe)&&(t=be),y(e)._overflowWeeks&&-1===t&&(t=Re),y(e)._overflowWeekday&&-1===t&&(t=We),y(e).overflow=t),e}var Yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ot=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,xt=[['YYYYYY-MM-DD',/[+-]\d{6}-\d\d-\d\d/],['YYYY-MM-DD',/\d{4}-\d\d-\d\d/],['GGGG-[W]WW-E',/\d{4}-W\d\d-\d/],['GGGG-[W]WW',/\d{4}-W\d\d/,!1],['YYYY-DDD',/\d{4}-\d{3}/],['YYYY-MM',/\d{4}-\d\d/,!1],['YYYYYYMMDD',/[+-]\d{10}/],['YYYYMMDD',/\d{8}/],['GGGG[W]WWE',/\d{4}W\d{3}/],['GGGG[W]WW',/\d{4}W\d{2}/,!1],['YYYYDDD',/\d{7}/],['YYYYMM',/\d{6}/,!1],['YYYY',/\d{4}/,!1]],Tt=[['HH:mm:ss.SSSS',/\d\d:\d\d:\d\d\.\d+/],['HH:mm:ss,SSSS',/\d\d:\d\d:\d\d,\d+/],['HH:mm:ss',/\d\d:\d\d:\d\d/],['HH:mm',/\d\d:\d\d/],['HHmmss.SSSS',/\d\d\d\d\d\d\.\d+/],['HHmmss,SSSS',/\d\d\d\d\d\d,\d+/],['HHmmss',/\d\d\d\d\d\d/],['HHmm',/\d\d\d\d/],['HH',/\d\d/]],Nt=/^\/?Date\((-?\d+)/i,Pt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Rt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Wt(e){var t,n,s,i,r,a,o=e._i,u=Yt.exec(o)||Ot.exec(o);if(u){for(y(e).iso=!0,t=0,n=xt.length;tIe(r)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=$e(r,0,e._dayOfYear),e._a[Oe]=n.getUTCMonth(),e._a[be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=s[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[xe]&&0===e._a[Te]&&0===e._a[Ne]&&0===e._a[Pe]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?$e:ze).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[xe]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function At(e){var t,n,s,i,r,a,o,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,n=Vt(t.GG,e._a[Ye],Je(Jt(),1,4).year),s=Vt(t.W,1),((i=Vt(t.E,1))<1||i>7)&&(u=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,l=Je(Jt(),r,a),n=Vt(t.gg,e._a[Ye],l.year),s=Vt(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(u=!0)):i=r),s<1||s>Qe(n,r,a)?y(e)._overflowWeeks=!0:null!=u?y(e)._overflowWeekday=!0:(o=Be(n,s,i,r,a),e._a[Ye]=o.year,e._dayOfYear=o.dayOfYear)}function jt(e){if(e._f!==s.ISO_8601)if(e._f!==s.RFC_2822){e._a=[],y(e).empty=!0;var t,n,i,r,a,o,u=''+e._i,l=u.length,h=0;for(i=G(e._f,e._locale).match(W)||[],t=0;t0&&y(e).unusedInput.push(a),u=u.slice(u.indexOf(n)+n.length),h+=n.length),H[r]?(n?y(e).empty=!1:y(e).unusedTokens.push(r),Se(r,n,e)):e._strict&&!n&&y(e).unusedTokens.push(r);y(e).charsLeftOver=l-h,u.length>0&&y(e).unusedInput.push(u),e._a[xe]<=12&&!0===y(e).bigHour&&e._a[xe]>0&&(y(e).bigHour=void 0),y(e).parsedDateParts=e._a.slice(0),y(e).meridiem=e._meridiem,e._a[xe]=It(e._locale,e._a[xe],e._meridiem),null!==(o=y(e).era)&&(e._a[Ye]=e._locale.erasConvertYear(o,e._a[Ye])),Et(e),Dt(e)}else Ft(e);else Wt(e)}function It(e,t,n){var s;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}function Zt(e){var t,n,s,i,r,a,o=!1;if(0===e._f.length)return y(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:w()});function Kt(e,t){var n,s;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Jt();for(n=t[0],s=1;s=0?new Date(e+400,t,n)-Cn:new Date(e,t,n).valueOf()}function Fn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Cn:Date.UTC(e,t,n)}function Ln(e,t){return t.erasAbbrRegex(e)}function Vn(){var e,t,n=[],s=[],i=[],r=[],a=this.eras();for(e=0,t=a.length;e(r=Qe(e,s,i))&&(t=r),An.call(this,e,t,n,s,i))}function An(e,t,n,s,i){var r=Be(e,t,n,s,i),a=$e(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}F('N',0,0,'eraAbbr'),F('NN',0,0,'eraAbbr'),F('NNN',0,0,'eraAbbr'),F('NNNN',0,0,'eraName'),F('NNNNN',0,0,'eraNarrow'),F('y',['y',1],'yo','eraYear'),F('y',['yy',2],0,'eraYear'),F('y',['yyy',3],0,'eraYear'),F('y',['yyyy',4],0,'eraYear'),ge('N',Ln),ge('NN',Ln),ge('NNN',Ln),ge('NNNN',function(e,t){return t.erasNameRegex(e)}),ge('NNNNN',function(e,t){return t.erasNarrowRegex(e)}),ke(['N','NN','NNN','NNNN','NNNNN'],function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?y(n).era=i:y(n).invalidEra=e}),ge('y',ce),ge('yy',ce),ge('yyy',ce),ge('yyyy',ce),ge('yo',function(e,t){return t._eraYearOrdinalRegex||ce}),ke(['y','yy','yyy','yyyy'],Ye),ke(['yo'],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ye]=n._locale.eraYearOrdinalParse(e,i):t[Ye]=parseInt(e,10)}),F(0,['gg',2],0,function(){return this.weekYear()%100}),F(0,['GG',2],0,function(){return this.isoWeekYear()%100}),Gn('gggg','weekYear'),Gn('ggggg','weekYear'),Gn('GGGG','isoWeekYear'),Gn('GGGGG','isoWeekYear'),A('weekYear','gg'),A('isoWeekYear','GG'),z('weekYear',1),z('isoWeekYear',1),ge('G',fe),ge('g',fe),ge('GG',ae,ne),ge('gg',ae,ne),ge('GGGG',he,ie),ge('gggg',he,ie),ge('GGGGG',de,re),ge('ggggg',de,re),Me(['gggg','ggggg','GGGG','GGGGG'],function(e,t,n,s){t[s.substr(0,2)]=J(e)}),Me(['gg','GG'],function(e,t,n,i){t[i]=s.parseTwoDigitYear(e)}),F('Q',0,'Qo','quarter'),A('quarter','Q'),z('quarter',7),ge('Q',te),ke('Q',function(e,t){t[Oe]=3*(J(e)-1)}),F('D',['DD',2],'Do','date'),A('date','D'),z('date',9),ge('D',ae),ge('DD',ae,ne),ge('Do',function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ke(['D','DD'],be),ke('Do',function(e,t){t[be]=J(e.match(ae)[0])});var jn=Q('Date',!0);F('DDD',['DDDD',3],'DDDo','dayOfYear'),A('dayOfYear','DDD'),z('dayOfYear',4),ge('DDD',le),ge('DDDD',se),ke(['DDD','DDDD'],function(e,t,n){n._dayOfYear=J(e)}),F('m',['mm',2],0,'minute'),A('minute','m'),z('minute',14),ge('m',ae),ge('mm',ae,ne),ke(['m','mm'],Te);var In=Q('Minutes',!1);F('s',['ss',2],0,'second'),A('second','s'),z('second',15),ge('s',ae),ge('ss',ae,ne),ke(['s','ss'],Ne);var Zn,zn,$n=Q('Seconds',!1);for(F('S',0,0,function(){return~~(this.millisecond()/100)}),F(0,['SS',2],0,function(){return~~(this.millisecond()/10)}),F(0,['SSS',3],0,'millisecond'),F(0,['SSSS',4],0,function(){return 10*this.millisecond()}),F(0,['SSSSS',5],0,function(){return 100*this.millisecond()}),F(0,['SSSSSS',6],0,function(){return 1e3*this.millisecond()}),F(0,['SSSSSSS',7],0,function(){return 1e4*this.millisecond()}),F(0,['SSSSSSSS',8],0,function(){return 1e5*this.millisecond()}),F(0,['SSSSSSSSS',9],0,function(){return 1e6*this.millisecond()}),A('millisecond','ms'),z('millisecond',16),ge('S',le,te),ge('SS',le,ne),ge('SSS',le,se),Zn='SSSS';Zn.length<=9;Zn+='S')ge(Zn,ce);function qn(e,t){t[Pe]=J(1e3*('0.'+e))}for(Zn='S';Zn.length<=9;Zn+='S')ke(Zn,qn);zn=Q('Milliseconds',!1),F('z',0,0,'zoneAbbr'),F('zz',0,0,'zoneName');var Bn=M.prototype;function Jn(e){return e}Bn.add=kn,Bn.calendar=function(e,t){var n;1===arguments.length&&(S(n=arguments[0])||c(n)||Sn(n)||d(n)||Yn(n)||Dn(n)||null===n||void 0===n?(e=arguments[0],t=void 0):On(arguments[0])&&(t=arguments[0],e=void 0));var i=e||Jt(),r=hn(i,this).startOf('day'),a=s.calendarFormat(this,r)||'sameElse',o=t&&(T(t[a])?t[a].call(this,i):t[a]);return this.format(o||this.localeData().calendar(a,this,Jt(i)))},Bn.clone=function(){return new M(this)},Bn.diff=function(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(!(s=hn(e,this)).isValid())return NaN;switch(i=6e4*(s.utcOffset()-this.utcOffset()),t=j(t)){case'year':r=bn(this,s)/12;break;case'month':r=bn(this,s);break;case'quarter':r=bn(this,s)/3;break;case'second':r=(this-s)/1e3;break;case'minute':r=(this-s)/6e4;break;case'hour':r=(this-s)/36e5;break;case'day':r=(this-s-i)/864e5;break;case'week':r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:B(r)},Bn.endOf=function(e){var t,n;if(void 0===(e=j(e))||'millisecond'===e||!this.isValid())return this;switch(n=this._isUTC?Fn:Hn,e){case'year':t=n(this.year()+1,0,1)-1;break;case'quarter':t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case'month':t=n(this.year(),this.month()+1,1)-1;break;case'week':t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case'isoWeek':t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case'day':case'date':t=n(this.year(),this.month(),this.date()+1)-1;break;case'hour':t=this._d.valueOf(),t+=Wn-Un(t+(this._isUTC?0:this.utcOffset()*Rn),Wn)-1;break;case'minute':t=this._d.valueOf(),t+=Rn-Un(t,Rn)-1;break;case'second':t=this._d.valueOf(),t+=Pn-Un(t,Pn)-1}return this._d.setTime(t),s.updateOffset(this,!0),this},Bn.format=function(e){e||(e=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)},Bn.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Jt(e).isValid())?_n({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Bn.fromNow=function(e){return this.from(Jt(),e)},Bn.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Jt(e).isValid())?_n({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Bn.toNow=function(e){return this.to(Jt(),e)},Bn.get=function(e){return T(this[e=j(e)])?this[e]():this},Bn.invalidAt=function(){return y(this).overflow},Bn.isAfter=function(e,t){var n=S(e)?e:Jt(e);return!(!this.isValid()||!n.isValid())&&('millisecond'===(t=j(t)||'millisecond')?this.valueOf()>n.valueOf():n.valueOf()9999?V(n,t?'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]':'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace('Z',V(n,'Z')):V(n,t?'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]':'YYYY-MM-DD[T]HH:mm:ss.SSSZ')},Bn.inspect=function(){if(!this.isValid())return'moment.invalid(/* '+this._i+' */)';var e,t,n,s='moment',i='';return this.isLocal()||(s=0===this.utcOffset()?'moment.utc':'moment.parseZone',i='Z'),e='['+s+'("]',t=0<=this.year()&&this.year()<=9999?'YYYY':'YYYYYY',n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},'undefined'!=typeof Symbol&&null!=("function"==typeof Symbol?Symbol.for:"@@for")&&(Bn[("function"==typeof Symbol?Symbol.for:"@@for")('nodejs.util.inspect.custom')]=function(){return'Moment<'+this.format()+'>'}),Bn.toJSON=function(){return this.isValid()?this.toISOString():null},Bn.toString=function(){return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ')},Bn.unix=function(){return Math.floor(this.valueOf()/1e3)},Bn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Bn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Bn.eraName=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Bn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Bn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Bn.isUtc=cn,Bn.isUTC=cn,Bn.zoneAbbr=function(){return this._isUTC?'UTC':''},Bn.zoneName=function(){return this._isUTC?'Coordinated Universal Time':''},Bn.dates=Y('dates accessor is deprecated. Use date instead.',jn),Bn.months=Y('months accessor is deprecated. Use month instead',Ae),Bn.years=Y('years accessor is deprecated. Use year instead',Ze),Bn.zone=Y('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',function(e,t){return null!=e?('string'!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),Bn.isDSTShifted=Y('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',function(){if(!h(this._isDSTShifted))return this._isDSTShifted;var e,t={};return k(t,this),(t=$t(t))._a?(e=t._isUTC?_(t._a):Jt(t._a),this._isDSTShifted=this.isValid()&&an(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var Qn=P.prototype;function Xn(e,t,n,s){var i=St(),r=_().set(s,t);return i[n](r,e)}function Kn(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||'',null!=t)return Xn(e,t,n,'month');var s,i=[];for(s=0;s<12;s++)i[s]=Xn(e,s,n,'month');return i}function es(e,t,n,s){'boolean'==typeof e?(d(t)&&(n=t,t=void 0),t=t||''):(n=t=e,e=!1,d(t)&&(n=t,t=void 0),t=t||'');var i,r=St(),a=e?r._week.dow:0,o=[];if(null!=n)return Xn(t,(n+a)%7,s,'day');for(i=0;i<7;i++)o[i]=Xn(t,(i+a)%7,s,'day');return o}Qn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return T(s)?s.call(t,n):s},Qn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(W).map(function(e){return'MMMM'===e||'MM'===e||'DD'===e||'dddd'===e?e.slice(1):e}).join(''),this._longDateFormat[e])},Qn.invalidDate=function(){return this._invalidDate},Qn.ordinal=function(e){return this._ordinal.replace('%d',e)},Qn.preparse=Jn,Qn.postformat=Jn,Qn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return T(i)?i(e,t,n,s):i.replace(/%d/i,e)},Qn.pastFuture=function(e,t){var n=this._relativeTime[e>0?'future':'past'];return T(n)?n(t):n.replace(/%s/i,t)},Qn.set=function(e){var t,n;for(n in e)u(e,n)&&(T(t=e[n])?this[n]=t:this['_'+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+'|'+/\d{1,2}/.source)},Qn.eras=function(e,t){var n,i,r,a=this._eras||St('en')._eras;for(n=0,i=a.length;n=0)return u[s]},Qn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?s(e.since).year():s(e.since).year()+(t-e.offset)*n},Qn.erasAbbrRegex=function(e){return u(this,'_erasAbbrRegex')||Vn.call(this),e?this._erasAbbrRegex:this._erasRegex},Qn.erasNameRegex=function(e){return u(this,'_erasNameRegex')||Vn.call(this),e?this._erasNameRegex:this._erasRegex},Qn.erasNarrowRegex=function(e){return u(this,'_erasNarrowRegex')||Vn.call(this),e?this._erasNarrowRegex:this._erasRegex},Qn.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Fe).test(t)?'format':'standalone'][e.month()]:r(this._months)?this._months:this._months.standalone},Qn.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Fe.test(t)?'format':'standalone'][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Qn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return Ge.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=_([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp('^'+this.months(i,'').replace('.','')+'$','i'),this._shortMonthsParse[s]=new RegExp('^'+this.monthsShort(i,'').replace('.','')+'$','i')),n||this._monthsParse[s]||(r='^'+this.months(i,'')+'|^'+this.monthsShort(i,''),this._monthsParse[s]=new RegExp(r.replace('.',''),'i')),n&&'MMMM'===t&&this._longMonthsParse[s].test(e))return s;if(n&&'MMM'===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},Qn.monthsRegex=function(e){return this._monthsParseExact?(u(this,'_monthsRegex')||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(u(this,'_monthsRegex')||(this._monthsRegex=Ve),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Qn.monthsShortRegex=function(e){return this._monthsParseExact?(u(this,'_monthsRegex')||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(u(this,'_monthsShortRegex')||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Qn.week=function(e){return Je(e,this._week.dow,this._week.doy).week},Qn.firstDayOfYear=function(){return this._week.doy},Qn.firstDayOfWeek=function(){return this._week.dow},Qn.weekdays=function(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?'format':'standalone'];return!0===e?et(n,this._week.dow):e?n[e.day()]:n},Qn.weekdaysMin=function(e){return!0===e?et(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Qn.weekdaysShort=function(e){return!0===e?et(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Qn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return ot.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=_([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp('^'+this.weekdays(i,'').replace('.','\\.?')+'$','i'),this._shortWeekdaysParse[s]=new RegExp('^'+this.weekdaysShort(i,'').replace('.','\\.?')+'$','i'),this._minWeekdaysParse[s]=new RegExp('^'+this.weekdaysMin(i,'').replace('.','\\.?')+'$','i')),this._weekdaysParse[s]||(r='^'+this.weekdays(i,'')+'|^'+this.weekdaysShort(i,'')+'|^'+this.weekdaysMin(i,''),this._weekdaysParse[s]=new RegExp(r.replace('.',''),'i')),n&&'dddd'===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&'ddd'===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&'dd'===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},Qn.weekdaysRegex=function(e){return this._weekdaysParseExact?(u(this,'_weekdaysRegex')||ut.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,'_weekdaysRegex')||(this._weekdaysRegex=it),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Qn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(u(this,'_weekdaysRegex')||ut.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,'_weekdaysShortRegex')||(this._weekdaysShortRegex=rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Qn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(u(this,'_weekdaysRegex')||ut.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,'_weekdaysMinRegex')||(this._weekdaysMinRegex=at),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Qn.isPM=function(e){return'p'===(e+'').toLowerCase().charAt(0)},Qn.meridiem=function(e,t,n){return e>11?n?'pm':'PM':n?'am':'AM'},kt('en',{eras:[{since:'0001-01-01',until:1/0,offset:1,name:'Anno Domini',narrow:'AD',abbr:'AD'},{since:'0000-12-31',until:-1/0,offset:1,name:'Before Christ',narrow:'BC',abbr:'BC'}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===J(e%100/10)?'th':1===t?'st':2===t?'nd':3===t?'rd':'th')}}),s.lang=Y('moment.lang is deprecated. Use moment.locale instead.',kt),s.langData=Y('moment.langData is deprecated. Use moment.localeData instead.',St);var ts=Math.abs;function ns(e,t,n,s){var i=_n(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function ss(e){return e<0?Math.floor(e):Math.ceil(e)}function is(e){return 4800*e/146097}function rs(e){return 146097*e/4800}function as(e){return function(){return this.as(e)}}var os=as('ms'),us=as('s'),ls=as('m'),hs=as('h'),ds=as('d'),cs=as('w'),fs=as('M'),ms=as('Q'),_s=as('y');function ys(e){return function(){return this.isValid()?this._data[e]:NaN}}var gs=ys('milliseconds'),ws=ys('seconds'),ps=ys('minutes'),vs=ys('hours'),ks=ys('days'),Ms=ys('months'),Ss=ys('years');var Ds=Math.round,Ys={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Os(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function bs(e,t,n,s){var i=_n(e).abs(),r=Ds(i.as('s')),a=Ds(i.as('m')),o=Ds(i.as('h')),u=Ds(i.as('d')),l=Ds(i.as('M')),h=Ds(i.as('w')),d=Ds(i.as('y')),c=r<=n.ss&&['s',r]||r0,c[4]=s,Os.apply(null,c)}var xs=Math.abs;function Ts(e){return(e>0)-(e<0)||+e}function Ns(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o,u=xs(this._milliseconds)/1e3,l=xs(this._days),h=xs(this._months),d=this.asSeconds();return d?(t=B((e=B(u/60))/60),u%=60,e%=60,n=B(h/12),h%=12,s=u?u.toFixed(3).replace(/\.?0+$/,''):'',i=d<0?'-':'',r=Ts(this._months)!==Ts(d)?'-':'',a=Ts(this._days)!==Ts(d)?'-':'',o=Ts(this._milliseconds)!==Ts(d)?'-':'',i+'P'+(n?r+n+'Y':'')+(h?r+h+'M':'')+(l?a+l+'D':'')+(t||e||u?'T':'')+(t?o+t+'H':'')+(e?o+e+'M':'')+(u?o+s+'S':'')):'P0D'}var Ps=nn.prototype;return Ps.isValid=function(){return this._isValid},Ps.abs=function(){var e=this._data;return this._milliseconds=ts(this._milliseconds),this._days=ts(this._days),this._months=ts(this._months),e.milliseconds=ts(e.milliseconds),e.seconds=ts(e.seconds),e.minutes=ts(e.minutes),e.hours=ts(e.hours),e.months=ts(e.months),e.years=ts(e.years),this},Ps.add=function(e,t){return ns(this,e,t,1)},Ps.subtract=function(e,t){return ns(this,e,t,-1)},Ps.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if('month'===(e=j(e))||'quarter'===e||'year'===e)switch(t=this._days+s/864e5,n=this._months+is(t),e){case'month':return n;case'quarter':return n/3;case'year':return n/12}else switch(t=this._days+Math.round(rs(this._months)),e){case'week':return t/7+s/6048e5;case'day':return t+s/864e5;case'hour':return 24*t+s/36e5;case'minute':return 1440*t+s/6e4;case'second':return 86400*t+s/1e3;case'millisecond':return Math.floor(864e5*t)+s;default:throw new Error('Unknown unit '+e)}},Ps.asMilliseconds=os,Ps.asSeconds=us,Ps.asMinutes=ls,Ps.asHours=hs,Ps.asDays=ds,Ps.asWeeks=cs,Ps.asMonths=fs,Ps.asQuarters=ms,Ps.asYears=_s,Ps.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*J(this._months/12):NaN},Ps._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*ss(rs(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=B(r/1e3),u.seconds=e%60,t=B(e/60),u.minutes=t%60,n=B(t/60),u.hours=n%24,o+=i=B(is(a+=B(n/24))),a-=ss(rs(i)),s=B(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},Ps.clone=function(){return _n(this)},Ps.get=function(e){return e=j(e),this.isValid()?this[e+'s']():NaN},Ps.milliseconds=gs,Ps.seconds=ws,Ps.minutes=ps,Ps.hours=vs,Ps.days=ks,Ps.weeks=function(){return B(this.days()/7)},Ps.months=Ms,Ps.years=Ss,Ps.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,i=!1,r=Ys;return'object'==typeof e&&(t=e,e=!1),'boolean'==typeof e&&(i=e),'object'==typeof t&&(r=o({},Ys,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),s=bs(this,!i,r,n=this.localeData()),i&&(s=n.pastFuture(+this,s)),n.postformat(s)},Ps.toISOString=Ns,Ps.toString=Ns,Ps.toJSON=Ns,Ps.locale=xn,Ps.localeData=Nn,Ps.toIsoString=Y('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',Ns),Ps.lang=Tn,F('X',0,0,'unix'),F('x',0,0,'valueOf'),ge('x',fe),ge('X',/[+-]?\d+(\.\d{1,3})?/),ke('X',function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ke('x',function(e,t,n){n._d=new Date(J(e))}),s.version='2.26.0',e=Jt,s.fn=Bn,s.min=function(){return Kt('isBefore',[].slice.call(arguments,0))},s.max=function(){return Kt('isAfter',[].slice.call(arguments,0))},s.now=function(){return Date.now?Date.now():+new Date},s.utc=_,s.unix=function(e){return Jt(1e3*e)},s.months=function(e,t){return Kn(e,t,'months')},s.isDate=c,s.locale=kt,s.invalid=w,s.duration=_n,s.isMoment=S,s.weekdays=function(e,t,n){return es(e,t,n,'weekdays')},s.parseZone=function(){return Jt.apply(null,arguments).parseZone()},s.localeData=St,s.isDuration=sn,s.monthsShort=function(e,t){return Kn(e,t,'monthsShort')},s.weekdaysMin=function(e,t,n){return es(e,t,n,'weekdaysMin')},s.defineLocale=Mt,s.updateLocale=function(e,t){if(null!=t){var n,s,i=mt;null!=_t[e]&&null!=_t[e].parentLocale?_t[e].set(N(_t[e]._config,t)):(null!=(s=vt(e))&&(i=s._config),t=N(i,t),null==s&&(t.abbr=e),(n=new P(t)).parentLocale=_t[e],_t[e]=n),kt(e)}else null!=_t[e]&&(null!=_t[e].parentLocale?(_t[e]=_t[e].parentLocale,e===kt()&&kt(e)):null!=_t[e]&&delete _t[e]);return _t[e]},s.locales=function(){return O(_t)},s.weekdaysShort=function(e,t,n){return es(e,t,n,'weekdaysShort')},s.normalizeUnits=j,s.relativeTimeRounding=function(e){return void 0===e?Ds:'function'==typeof e&&(Ds=e,!0)},s.relativeTimeThreshold=function(e,t){return void 0!==Ys[e]&&(void 0===t?Ys[e]:(Ys[e]=t,'s'===e&&(Ys.ss=t-1),!0))},s.calendarFormat=function(e,t){var n=e.diff(t,'days',!0);return n<-6?'sameElse':n<-1?'lastWeek':n<0?'lastDay':n<1?'sameDay':n<2?'nextDay':n<7?'nextWeek':'sameElse'},s.prototype=Bn,s.HTML5_FMT={DATETIME_LOCAL:'YYYY-MM-DDTHH:mm',DATETIME_LOCAL_SECONDS:'YYYY-MM-DDTHH:mm:ss',DATETIME_LOCAL_MS:'YYYY-MM-DDTHH:mm:ss.SSS',DATE:'YYYY-MM-DD',TIME:'HH:mm',TIME_SECONDS:'HH:mm:ss',TIME_MS:'HH:mm:ss.SSS',WEEK:'GGGG-[W]WW',MONTH:'YYYY-MM'},s})},1255,[13]);
__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.serviceActionSuccess=e.serviceActionError=e.serviceActionPending=void 0;var c=n(r(d[1]));e.serviceActionPending=function(){return{type:c.MYORDERS_LIST_PENDING}};e.serviceActionError=function(n){return{type:c.MYORDERS_LIST_ERROR,error:n}};e.serviceActionSuccess=function(n){return{type:c.MYORDERS_LIST_SUCCESS,data:n}}},1256,[9,395]);
__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(r(d[2])),l=o(r(d[3])),u=o(r(d[4])),c=o(r(d[5])),s=o(r(d[6])),f=o(r(d[7])),p=t(r(d[8])),h=o(r(d[9])),y=r(d[10]);function b(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);o&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,l)}return n}function C(t){for(var o=1;o50;return u?(t=180,o=j(l)):(t=j(l),o=0),{halfCircle1Degree:t,halfCircle2Degree:o,halfCircle2Styles:{backgroundColor:u?n.color:n.shadowColor}}}},{key:"renderHalfCircle",value:function(t,o){var n=this.props,l=n.radius,u=n.color;y.I18nManager.isRTL;return p.default.createElement(y.View,{style:[R.leftWrap,{width:l,height:2*l}]},p.default.createElement(y.View,{style:[R.halfCircle,C({width:l,height:2*l,borderRadius:l,overflow:'hidden',transform:[{translateX:l/2},{rotate:t+"deg"},{translateX:-l/2}],backgroundColor:u},o)]}))}},{key:"renderInnerCircle",value:function(){var t=this.props.radius-this.props.borderWidth;return p.default.createElement(y.View,{style:[R.innerCircle,C({width:2*t,height:2*t,borderRadius:t,backgroundColor:this.props.bgColor},this.props.containerStyle)]},this.props.children)}},{key:"render",value:function(){var t=this.computeDerivedState(),o=t.halfCircle1Degree,n=t.halfCircle2Degree,l=t.halfCircle2Styles;return p.default.createElement(y.View,{style:[R.outerCircle,C({width:2*this.props.radius,height:2*this.props.radius,borderRadius:this.props.radius,backgroundColor:this.props.shadowColor},this.props.outerCircleStyle)]},this.renderHalfCircle(o),this.renderHalfCircle(n,l),this.renderInnerCircle())}}]),b})(p.Component);e.default=S,S.propTypes={color:h.default.string,shadowColor:h.default.string,bgColor:h.default.string,radius:h.default.number.isRequired,borderWidth:h.default.number,percent:h.default.number.isRequired,children:h.default.node,containerStyle:w,outerCircleStyle:w},S.defaultProps={color:'#f00',shadowColor:'#999',bgColor:'#e9e9ef',borderWidth:2,children:null,containerStyle:null}},1257,[9,1,26,27,37,39,36,48,56,68,2]);
@@ -1273,7 +1273,7 @@ __d(function(t,e,n,r,i,o,s){'use strict';Object.defineProperty(o,'__esModule',{v
__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,'__esModule',{value:!0});var n=r(d[1]),o=r(d[2]),s=r(d[3]);var u,c=(u=n)&&'object'==typeof u&&'default'in u?u:{default:u},l=12e4,h=6e5,p=(function(){function t(t,n){this.code_=_(t),this.message_='Firebase Storage: '+n,this.serverResponse_=null,this.name_='FirebaseError'}return t.prototype.codeProp=function(){return this.code},t.prototype.codeEquals=function(t){return _(t)===this.codeProp()},t.prototype.serverResponseProp=function(){return this.serverResponse_},t.prototype.setServerResponseProp=function(t){this.serverResponse_=t},Object.defineProperty(t.prototype,"name",{get:function(){return this.name_},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"code",{get:function(){return this.code_},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this.serverResponse_?this.message_+'\n'+this.serverResponse_:this.message_},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"serverResponse",{get:function(){return this.serverResponse_},enumerable:!1,configurable:!0}),t})(),f={UNKNOWN:'unknown',OBJECT_NOT_FOUND:'object-not-found',BUCKET_NOT_FOUND:'bucket-not-found',PROJECT_NOT_FOUND:'project-not-found',QUOTA_EXCEEDED:'quota-exceeded',UNAUTHENTICATED:'unauthenticated',UNAUTHORIZED:'unauthorized',RETRY_LIMIT_EXCEEDED:'retry-limit-exceeded',INVALID_CHECKSUM:'invalid-checksum',CANCELED:'canceled',INVALID_EVENT_NAME:'invalid-event-name',INVALID_URL:'invalid-url',INVALID_DEFAULT_BUCKET:'invalid-default-bucket',NO_DEFAULT_BUCKET:'no-default-bucket',CANNOT_SLICE_BLOB:'cannot-slice-blob',SERVER_FILE_WRONG_SIZE:'server-file-wrong-size',NO_DOWNLOAD_URL:'no-download-url',INVALID_ARGUMENT:'invalid-argument',INVALID_ARGUMENT_COUNT:'invalid-argument-count',APP_DELETED:'app-deleted',INVALID_ROOT_OPERATION:'invalid-root-operation',INVALID_FORMAT:'invalid-format',INTERNAL_ERROR:'internal-error'};function _(t){return'storage/'+t}function v(){return new p(f.UNKNOWN,"An unknown error occurred, please check the error payload for server response.")}function b(){return new p(f.CANCELED,'User canceled the upload/download.')}function y(t){return new p(f.INVALID_URL,"Invalid URL '"+t+"'.")}function R(){return new p(f.CANNOT_SLICE_BLOB,'Cannot slice blob for upload. Please retry the upload.')}function w(t,n,o){return new p(f.INVALID_ARGUMENT,'Invalid argument in `'+n+'` at index '+t+': '+o)}function E(){return new p(f.APP_DELETED,'The Firebase app was deleted.')}function T(t){return new p(f.INVALID_ROOT_OPERATION,"The operation '"+t+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}function U(t,n){return new p(f.INVALID_FORMAT,"String does not match format '"+t+"': "+n)}function A(t){throw new p(f.INTERNAL_ERROR,'Internal error: '+t)}var N={RAW:'raw',BASE64:'base64',BASE64URL:'base64url',DATA_URL:'data_url'};function O(t){switch(t){case N.RAW:case N.BASE64:case N.BASE64URL:case N.DATA_URL:return;default:throw'Expected one of the event types: ['+N.RAW+', '+N.BASE64+', '+N.BASE64URL+', '+N.DATA_URL+'].'}}var C=(function(){return function(t,n){this.data=t,this.contentType=n||null}})();function S(t,n){switch(t){case N.RAW:return new C(k(n));case N.BASE64:case N.BASE64URL:return new C(x(t,n));case N.DATA_URL:return new C(L(n),new I(n).contentType)}throw v()}function k(t){for(var n=[],o=0;o>6,128|63&s);else if(55296==(64512&s))if(o>18,128|s>>12&63,128|s>>6&63,128|63&s);else n.push(239,191,189);else 56320==(64512&s)?n.push(239,191,189):n.push(224|s>>12,128|s>>6&63,128|63&s)}return new Uint8Array(n)}function P(t){var n;try{n=decodeURIComponent(t)}catch(t){throw U(N.DATA_URL,'Malformed data URL.')}return k(n)}function x(t,n){switch(t){case N.BASE64:var o=-1!==n.indexOf('-'),s=-1!==n.indexOf('_');if(o||s)throw U(t,"Invalid character '"+(o?'-':'_')+"' found: is it base64url encoded?");break;case N.BASE64URL:var u=-1!==n.indexOf('+'),c=-1!==n.indexOf('/');if(u||c)throw U(t,"Invalid character '"+(u?'+':'/')+"' found: is it base64 encoded?");n=n.replace(/-/g,'+').replace(/_/g,'/')}var l;try{l=atob(n)}catch(n){throw U(t,'Invalid character found')}for(var h=new Uint8Array(l.length),p=0;p][;base64],");var o=n[1]||null;null!=o&&(this.base64=D(o,';base64'),this.contentType=this.base64?o.substring(0,o.length-';base64'.length):o),this.rest=t.substring(t.indexOf(',')+1)}})();function L(t){var n=new I(t);return n.base64?x(N.BASE64,n.rest):P(n.rest)}function D(t,n){return!!(t.length>=n.length)&&t.substring(t.length-n.length)===n}var B,M={STATE_CHANGED:'state_changed'},G={RUNNING:'running',PAUSING:'pausing',PAUSED:'paused',SUCCESS:'success',CANCELING:'canceling',CANCELED:'canceled',ERROR:'error'},j={RUNNING:'running',PAUSED:'paused',SUCCESS:'success',CANCELED:'canceled',ERROR:'error'};function q(t){switch(t){case G.RUNNING:case G.PAUSING:case G.CANCELING:return j.RUNNING;case G.PAUSED:return j.PAUSED;case G.SUCCESS:return j.SUCCESS;case G.CANCELED:return j.CANCELED;case G.ERROR:default:return j.ERROR}}function F(t){return null!=t}function H(t){return void 0!==t}function z(t){return'function'==typeof t}function X(t){return'object'==typeof t}function V(t){return X(t)&&null!==t}function W(t){return'string'==typeof t||t instanceof String}function K(t){return Z(t)&&Number.isInteger(t)}function Z(t){return'number'==typeof t||t instanceof Number}function J(t){return Q()&&t instanceof Blob}function Q(){return'undefined'!=typeof Blob}!(function(t){t[t.NO_ERROR=0]="NO_ERROR",t[t.NETWORK_ERROR=1]="NETWORK_ERROR",t[t.ABORT=2]="ABORT"})(B||(B={}));var $=(function(){function t(){var t=this;this.sent_=!1,this.xhr_=new XMLHttpRequest,this.errorCode_=B.NO_ERROR,this.sendPromise_=new Promise(function(n){t.xhr_.addEventListener('abort',function(){t.errorCode_=B.ABORT,n(t)}),t.xhr_.addEventListener('error',function(){t.errorCode_=B.NETWORK_ERROR,n(t)}),t.xhr_.addEventListener('load',function(){n(t)})})}return t.prototype.send=function(t,n,o,s){if(this.sent_)throw A('cannot .send() more than once');if(this.sent_=!0,this.xhr_.open(n,t,!0),F(s))for(var u in s)s.hasOwnProperty(u)&&this.xhr_.setRequestHeader(u,s[u].toString());return F(o)?this.xhr_.send(o):this.xhr_.send(),this.sendPromise_},t.prototype.getErrorCode=function(){if(!this.sent_)throw A('cannot .getErrorCode() before sending');return this.errorCode_},t.prototype.getStatus=function(){if(!this.sent_)throw A('cannot .getStatus() before sending');try{return this.xhr_.status}catch(t){return-1}},t.prototype.getResponseText=function(){if(!this.sent_)throw A('cannot .getResponseText() before sending');return this.xhr_.responseText},t.prototype.abort=function(){this.xhr_.abort()},t.prototype.getResponseHeader=function(t){return this.xhr_.getResponseHeader(t)},t.prototype.addUploadProgressListener=function(t){F(this.xhr_.upload)&&this.xhr_.upload.addEventListener('progress',t)},t.prototype.removeUploadProgressListener=function(t){F(this.xhr_.upload)&&this.xhr_.upload.removeEventListener('progress',t)},t})(),Y=(function(){function t(){}return t.prototype.createXhrIo=function(){return new $},t})();function ee(){return'undefined'!=typeof BlobBuilder?BlobBuilder:'undefined'!=typeof WebKitBlobBuilder?WebKitBlobBuilder:void 0}function te(){for(var t=[],n=0;n0}).join('/');return 0===t.length?o:t+'/'+o}function se(t){var n=t.lastIndexOf('/',t.length-2);return-1===n?t:t.slice(n+1)}function ue(t){return"https://firebasestorage.googleapis.com/v0"+t}function ce(t){var n=encodeURIComponent,o='?';for(var s in t){if(t.hasOwnProperty(s))o=o+(n(s)+'='+n(t[s]))+'&'}return o=o.slice(0,-1)}function le(t,n){return n}var he=(function(){return function(t,n,o,s){this.server=t,this.local=n||t,this.writable=!!o,this.xform=s||le}})(),pe=null;function fe(t){return!W(t)||t.length<2?t:se(t)}function de(){if(pe)return pe;var t=[];t.push(new he('bucket')),t.push(new he('generation')),t.push(new he('metageneration')),t.push(new he('name','fullPath',!0));var n=new he('name');n.xform=function(t,n){return fe(n)},t.push(n);var o=new he('size');return o.xform=function(t,n){return F(n)?Number(n):n},t.push(o),t.push(new he('timeCreated')),t.push(new he('updated')),t.push(new he('md5Hash',null,!0)),t.push(new he('cacheControl',null,!0)),t.push(new he('contentDisposition',null,!0)),t.push(new he('contentEncoding',null,!0)),t.push(new he('contentLanguage',null,!0)),t.push(new he('contentType',null,!0)),t.push(new he('metadata','customMetadata',!0)),pe=t}function _e(t,n){Object.defineProperty(t,'ref',{get:function(){var o=t.bucket,s=t.fullPath,u=new ne(o,s);return n.makeStorageReference(u)}})}function ve(t,n,o){for(var s={type:'file'},u=o.length,c=0;c1e3)throw"Expected maxResults to be less than or equal to 1000."}else{if(n!==we)throw'Unknown option: '+n;if(t[we]&&!W(t[we]))throw'Expected pageToken to be string.'}}var Oe=(function(){return function(t,n,o,s){this.url=t,this.method=n,this.handler=o,this.timeout=s,this.urlParams={},this.headers={},this.body=null,this.errorHandler=null,this.progressCallback=null,this.successCodes=[200],this.additionalRetryCodes=[]}})();function Ce(t){if(!t)throw v()}function Se(t,n){return function(o,s){var u=ge(t,s,n);return Ce(null!==u),u}}function ke(t,n){return function(o,s){var u=Ae(t,n,s);return Ce(null!==u),u}}function Pe(t,n){return function(o,s){var u=ge(t,s,n);return Ce(null!==u),me(u,s)}}function xe(t){return function(n,o){var s,u,c;return 401===n.getStatus()?s=new p(f.UNAUTHENTICATED,"User is not authenticated, please authenticate using Firebase Authentication and try again."):402===n.getStatus()?(c=t.bucket,s=new p(f.QUOTA_EXCEEDED,"Quota for bucket '"+c+"' exceeded, please view quota on https://firebase.google.com/pricing/.")):403===n.getStatus()?(u=t.path,s=new p(f.UNAUTHORIZED,"User does not have permission to access '"+u+"'.")):s=o,s.setServerResponseProp(o.serverResponseProp()),s}}function Ie(t){var n=xe(t);return function(o,s){var u,c=n(o,s);return 404===o.getStatus()&&(u=t.path,c=new p(f.OBJECT_NOT_FOUND,"Object '"+u+"' does not exist.")),c.setServerResponseProp(s.serverResponseProp()),c}}function Le(t,n,o){var s=ue(n.fullServerUrl()),u=t.maxOperationRetryTime,c=new Oe(s,'GET',Se(t,o),u);return c.errorHandler=Ie(n),c}function De(t,n,o,s,u){var c={};n.isRoot?c.prefix='':c.prefix=n.path+'/',o&&o.length>0&&(c.delimiter=o),s&&(c.pageToken=s),u&&(c.maxResults=u);var l=ue(n.bucketOnlyServerUrl()),h=t.maxOperationRetryTime,p=new Oe(l,'GET',ke(t,n.bucket),h);return p.urlParams=c,p.errorHandler=xe(n),p}function Be(t,n,o){var s=ue(n.fullServerUrl()),u=t.maxOperationRetryTime,c=new Oe(s,'GET',Pe(t,o),u);return c.errorHandler=Ie(n),c}function Me(t,n,o,s){var u=ue(n.fullServerUrl()),c=be(o,s),l=t.maxOperationRetryTime,h=new Oe(u,'PATCH',Se(t,s),l);return h.headers={'Content-Type':'application/json; charset=utf-8'},h.body=c,h.errorHandler=Ie(n),h}function Ge(t,n){var o=ue(n.fullServerUrl()),s=t.maxOperationRetryTime;var u=new Oe(o,'DELETE',function(t,n){},s);return u.successCodes=[200,204],u.errorHandler=Ie(n),u}function je(t,n){return t&&t.contentType||n&&n.type()||'application/octet-stream'}function qe(n,o,s){var u=t({},s);return u.fullPath=n.path,u.size=o.size(),u.contentType||(u.contentType=je(null,o)),u}function Fe(t,n,o,s,u){var c=n.bucketOnlyServerUrl(),l={'X-Goog-Upload-Protocol':'multipart'};var h=(function(){for(var t='',n=0;n<2;n++)t+=Math.random().toString().slice(2);return t})();l['Content-Type']='multipart/related; boundary='+h;var p=qe(n,s,u),f='--'+h+"\r\nContent-Type: application/json; charset=utf-8\r\n\r\n"+be(p,o)+'\r\n--'+h+"\r\nContent-Type: "+p.contentType+'\r\n\r\n',_='\r\n--'+h+'--',v=re.getBlob(f,s,_);if(null===v)throw R();var b={name:p.fullPath},y=ue(c),w=t.maxUploadRetryTime,E=new Oe(y,'POST',Se(t,o),w);return E.urlParams=b,E.headers=l,E.body=v.uploadData(),E.errorHandler=xe(n),E}var He=(function(){return function(t,n,o,s){this.current=t,this.total=n,this.finalized=!!o,this.metadata=s||null}})();function ze(t,n){var o=null;try{o=t.getResponseHeader('X-Goog-Upload-Status')}catch(t){Ce(!1)}return Ce(!!o&&-1!==(n||['active']).indexOf(o)),o}function Xe(t,n,o,s,u){var c=n.bucketOnlyServerUrl(),l=qe(n,s,u),h={name:l.fullPath},p=ue(c),f={'X-Goog-Upload-Protocol':'resumable','X-Goog-Upload-Command':'start','X-Goog-Upload-Header-Content-Length':s.size(),'X-Goog-Upload-Header-Content-Type':l.contentType,'Content-Type':'application/json; charset=utf-8'},_=be(l,o),v=t.maxUploadRetryTime;var b=new Oe(p,'POST',function(t){var n;ze(t);try{n=t.getResponseHeader('X-Goog-Upload-URL')}catch(t){Ce(!1)}return Ce(W(n)),n},v);return b.urlParams=h,b.headers=f,b.body=_,b.errorHandler=xe(n),b}function Ve(t,n,o,s){var u=t.maxUploadRetryTime,c=new Oe(o,'POST',function(t){var n=ze(t,['active','final']),o=null;try{o=t.getResponseHeader('X-Goog-Upload-Size-Received')}catch(t){Ce(!1)}o||Ce(!1);var u=Number(o);return Ce(!isNaN(u)),new He(u,s.size(),'final'===n)},u);return c.headers={'X-Goog-Upload-Command':'query'},c.errorHandler=xe(n),c}function We(t,n,o,s,u,c,l,h){var _=new He(0,0);if(l?(_.current=l.current,_.total=l.total):(_.current=0,_.total=s.size()),s.size()!==_.total)throw new p(f.SERVER_FILE_WRONG_SIZE,'Server recorded incorrect upload file size, please retry the upload.');var v=_.total-_.current,b=v;u>0&&(b=Math.min(b,u));var y=_.current,w=y+b,E={'X-Goog-Upload-Command':b===v?'upload, finalize':'upload','X-Goog-Upload-Offset':_.current},T=s.slice(y,w);if(null===T)throw R();var U=n.maxUploadRetryTime,A=new Oe(o,'POST',function(t,o){var u,l=ze(t,['active','final']),h=_.current+b,p=s.size();return u='final'===l?Se(n,c)(t,o):null,new He(h,p,'final'===l,u)},U);return A.headers=E,A.body=T.uploadData(),A.progressCallback=h||null,A.errorHandler=xe(t),A}var Ke=(function(){return function(t,n,o){if(z(t)||F(n)||F(o))this.next=t,this.error=n||null,this.complete=o||null;else{var s=t;this.next=s.next||null,this.error=s.error||null,this.complete=s.complete||null}}})(),Ze=(function(){return function(t,n,o,s,u,c){this.bytesTransferred=t,this.totalBytes=n,this.state=o,this.metadata=s,this.task=u,this.ref=c}})();function Je(t,n,o){for(var s=n.length,u=n.length,c=0;c=0))throw'Expected a number 0 or greater.'})}function rt(t,n){return new Qe(function(n){if(!(null===n||F(n)&&n instanceof Object))throw'Expected an Object.';void 0!==t&&null!==t&&t(n)},n)}function nt(t){return new Qe(function(t){if(null!==t&&!z(t))throw'Expected a Function.'},t)}function ot(t){return function(){for(var n=[],o=0;o262144},t.prototype.start_=function(){this.state_===G.RUNNING&&null===this.request_&&(this.resumable_?null===this.uploadUrl_?this.createResumable_():this.needToFetchStatus_?this.fetchStatus_():this.needToFetchMetadata_?this.fetchMetadata_():this.continueUpload_():this.oneShotUpload_())},t.prototype.resolveToken_=function(t){var n=this;this.service_.getAuthToken().then(function(o){switch(n.state_){case G.RUNNING:t(o);break;case G.CANCELING:n.transition_(G.CANCELED);break;case G.PAUSING:n.transition_(G.PAUSED)}})},t.prototype.createResumable_=function(){var t=this;this.resolveToken_(function(n){var o=Xe(t.service_,t.location_,t.mappings_,t.blob_,t.metadata_),s=t.service_.makeRequest(o,n);t.request_=s,s.getPromise().then(function(n){t.request_=null,t.uploadUrl_=n,t.needToFetchStatus_=!1,t.completeTransitions_()},t.errorHandler_)})},t.prototype.fetchStatus_=function(){var t=this,n=this.uploadUrl_;this.resolveToken_(function(o){var s=Ve(t.service_,t.location_,n,t.blob_),u=t.service_.makeRequest(s,o);t.request_=u,u.getPromise().then(function(n){n=n,t.request_=null,t.updateProgress_(n.current),t.needToFetchStatus_=!1,n.finalized&&(t.needToFetchMetadata_=!0),t.completeTransitions_()},t.errorHandler_)})},t.prototype.continueUpload_=function(){var t=this,n=262144*this.chunkMultiplier_,o=new He(this.transferred_,this.blob_.size()),s=this.uploadUrl_;this.resolveToken_(function(u){var c;try{c=We(t.location_,t.service_,s,t.blob_,n,t.mappings_,o,t.makeProgressCallback_())}catch(n){return t.error_=n,void t.transition_(G.ERROR)}var l=t.service_.makeRequest(c,u);t.request_=l,l.getPromise().then(function(n){t.increaseMultiplier_(),t.request_=null,t.updateProgress_(n.current),n.finalized?(t.metadata_=n.metadata,t.transition_(G.SUCCESS)):t.completeTransitions_()},t.errorHandler_)})},t.prototype.increaseMultiplier_=function(){262144*this.chunkMultiplier_<33554432&&(this.chunkMultiplier_*=2)},t.prototype.fetchMetadata_=function(){var t=this;this.resolveToken_(function(n){var o=Le(t.service_,t.location_,t.mappings_),s=t.service_.makeRequest(o,n);t.request_=s,s.getPromise().then(function(n){t.request_=null,t.metadata_=n,t.transition_(G.SUCCESS)},t.metadataErrorHandler_)})},t.prototype.oneShotUpload_=function(){var t=this;this.resolveToken_(function(n){var o=Fe(t.service_,t.location_,t.mappings_,t.blob_,t.metadata_),s=t.service_.makeRequest(o,n);t.request_=s,s.getPromise().then(function(n){t.request_=null,t.metadata_=n,t.updateProgress_(t.blob_.size()),t.transition_(G.SUCCESS)},t.errorHandler_)})},t.prototype.updateProgress_=function(t){var n=this.transferred_;this.transferred_=t,this.transferred_!==n&&this.notifyObservers_()},t.prototype.transition_=function(t){if(this.state_!==t)switch(t){case G.CANCELING:case G.PAUSING:this.state_=t,null!==this.request_&&this.request_.cancel();break;case G.RUNNING:var n=this.state_===G.PAUSED;this.state_=t,n&&(this.notifyObservers_(),this.start_());break;case G.PAUSED:this.state_=t,this.notifyObservers_();break;case G.CANCELED:this.error_=b(),this.state_=t,this.notifyObservers_();break;case G.ERROR:case G.SUCCESS:this.state_=t,this.notifyObservers_()}},t.prototype.completeTransitions_=function(){switch(this.state_){case G.PAUSING:this.transition_(G.PAUSED);break;case G.CANCELING:this.transition_(G.CANCELED);break;case G.RUNNING:this.start_()}},Object.defineProperty(t.prototype,"snapshot",{get:function(){var t=q(this.state_);return new Ze(this.transferred_,this.blob_.size(),t,this.metadata_,this,this.ref_)},enumerable:!1,configurable:!0}),t.prototype.on=function(t,n,o,s){var u="Expected a function or an Object with one of `next`, `error`, `complete` properties.",c=nt(!0).validator,l=rt(null,!0).validator;function h(t){try{return void c(t)}catch(t){}try{if(l(t),!(H(t.next)||H(t.error)||H(t.complete)))throw'';return}catch(t){throw u}}Je('on',[$e(function(){if(t!==M.STATE_CHANGED)throw"Expected one of the event types: ["+M.STATE_CHANGED+"]."}),rt(h,!0),nt(!0),nt(!0)],arguments);var p=this;function f(t){return function(n,o,u){null!==t&&Je('on',t,arguments);var c=new Ke(n,o,s);return p.addObserver_(c),function(){p.removeObserver_(c)}}}var _=[rt(function(t){if(null===t)throw u;h(t)}),nt(!0),nt(!0)];return!(H(n)||H(o)||H(s))?f(_):f(null)(n,o,s)},t.prototype.then=function(t,n){return this.promise_.then(t,n)},t.prototype.catch=function(t){return this.then(null,t)},t.prototype.addObserver_=function(t){this.observers_.push(t),this.notifyObserver_(t)},t.prototype.removeObserver_=function(t){var n=this.observers_.indexOf(t);-1!==n&&this.observers_.splice(n,1)},t.prototype.notifyObservers_=function(){var t=this;this.finishPromise_(),this.observers_.slice().forEach(function(n){t.notifyObserver_(n)})},t.prototype.finishPromise_=function(){if(null!==this.resolve_){var t=!0;switch(q(this.state_)){case j.SUCCESS:ot(this.resolve_.bind(null,this.snapshot))();break;case j.CANCELED:case j.ERROR:ot(this.reject_.bind(null,this.error_))();break;default:t=!1}t&&(this.resolve_=null,this.reject_=null)}},t.prototype.notifyObserver_=function(t){switch(q(this.state_)){case j.RUNNING:case j.PAUSED:t.next&&ot(t.next.bind(t,this.snapshot))();break;case j.SUCCESS:t.complete&&ot(t.complete.bind(t))();break;case j.CANCELED:case j.ERROR:t.error&&ot(t.error.bind(t,this.error_))();break;default:t.error&&ot(t.error.bind(t,this.error_))()}},t.prototype.resume=function(){Je('resume',[],arguments);var t=this.state_===G.PAUSED||this.state_===G.PAUSING;return t&&this.transition_(G.RUNNING),t},t.prototype.pause=function(){Je('pause',[],arguments);var t=this.state_===G.RUNNING;return t&&this.transition_(G.PAUSING),t},t.prototype.cancel=function(){Je('cancel',[],arguments);var t=this.state_===G.RUNNING||this.state_===G.PAUSING;return t&&this.transition_(G.CANCELING),t},t})(),at=(function(){function n(t,n){this.service=t,this.location=n instanceof ne?n:ne.makeFromUrl(n)}return n.prototype.toString=function(){return Je('toString',[],arguments),'gs://'+this.location.bucket+'/'+this.location.path},n.prototype.newRef=function(t,o){return new n(t,o)},n.prototype.mappings=function(){return de()},n.prototype.child=function(t){Je('child',[$e()],arguments);var n=ae(this.location.path,t),o=new ne(this.location.bucket,n);return this.newRef(this.service,o)},Object.defineProperty(n.prototype,"parent",{get:function(){var t=ie(this.location.path);if(null===t)return null;var n=new ne(this.location.bucket,t);return this.newRef(this.service,n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"root",{get:function(){var t=new ne(this.location.bucket,'');return this.newRef(this.service,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bucket",{get:function(){return this.location.bucket},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fullPath",{get:function(){return this.location.path},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return se(this.location.path)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"storage",{get:function(){return this.service},enumerable:!1,configurable:!0}),n.prototype.put=function(t,n){return void 0===n&&(n=null),Je('put',[Ye(),et(!0)],arguments),this.throwIfRoot_('put'),new it(this,this.service,this.location,this.mappings(),new re(t),n)},n.prototype.putString=function(n,o,s){void 0===o&&(o=N.RAW),Je('putString',[$e(),$e(O,!0),et(!0)],arguments),this.throwIfRoot_('putString');var u=S(o,n),c=t({},s);return!F(c.contentType)&&F(u.contentType)&&(c.contentType=u.contentType),new it(this,this.service,this.location,this.mappings(),new re(u.data,!0),c)},n.prototype.delete=function(){var t=this;return Je('delete',[],arguments),this.throwIfRoot_('delete'),this.service.getAuthToken().then(function(n){var o=Ge(t.service,t.location);return t.service.makeRequest(o,n).getPromise()})},n.prototype.listAll=function(){Je('listAll',[],arguments);var t={prefixes:[],items:[]};return this.listAllHelper(t).then(function(){return t})},n.prototype.listAllHelper=function(t,n){return o.__awaiter(this,void 0,void 0,function(){var s,u,c,l;return o.__generator(this,function(o){switch(o.label){case 0:return s={pageToken:n},[4,this.list(s)];case 1:return u=o.sent(),(c=t.prefixes).push.apply(c,u.prefixes),(l=t.items).push.apply(l,u.items),null==u.nextPageToken?[3,3]:[4,this.listAllHelper(t,u.nextPageToken)];case 2:o.sent(),o.label=3;case 3:return[2]}})})},n.prototype.list=function(t){var n;Je('list',[(n=!0,new Qe(Ne,n))],arguments);var o=this;return this.service.getAuthToken().then(function(n){var s=t||{},u=De(o.service,o.location,'/',s.pageToken,s.maxResults);return o.service.makeRequest(u,n).getPromise()})},n.prototype.getMetadata=function(){var t=this;return Je('getMetadata',[],arguments),this.throwIfRoot_('getMetadata'),this.service.getAuthToken().then(function(n){var o=Le(t.service,t.location,t.mappings());return t.service.makeRequest(o,n).getPromise()})},n.prototype.updateMetadata=function(t){var n=this;return Je('updateMetadata',[et()],arguments),this.throwIfRoot_('updateMetadata'),this.service.getAuthToken().then(function(o){var s=Me(n.service,n.location,t,n.mappings());return n.service.makeRequest(s,o).getPromise()})},n.prototype.getDownloadURL=function(){var t=this;return Je('getDownloadURL',[],arguments),this.throwIfRoot_('getDownloadURL'),this.service.getAuthToken().then(function(n){var o=Be(t.service,t.location,t.mappings());return t.service.makeRequest(o,n).getPromise().then(function(t){if(null===t)throw new p(f.NO_DOWNLOAD_URL,'The given file does not have any download URLs.');return t})})},n.prototype.throwIfRoot_=function(t){if(''===this.location.path)throw T(t)},n})(),st=(function(){function t(t){this.promise_=Promise.reject(t)}return t.prototype.getPromise=function(){return this.promise_},t.prototype.cancel=function(t){},t})();function ut(t,n,s){var u=1,c=null,l=!1,h=0;function p(){return 2===h}var f=!1;function _(){for(var t=[],o=0;o=500&&t<600,o=-1!==[408,429].indexOf(t),s=-1!==this.additionalRetryCodes_.indexOf(t);return n||o||s},t})(),lt=(function(){return function(t,n,o){this.wasSuccessCode=t,this.xhr=n,this.canceled=!!o}})();function ht(t,n){null!==n&&n.length>0&&(t.Authorization='Firebase '+n)}function pt(t){var n=void 0!==c.default?c.default.SDK_VERSION:'AppManager';t['X-Firebase-Storage-Version']='webjs/'+n}function ft(t,n){n&&(t['X-Firebase-GMPID']=n)}function dt(n,o,s,u){var c=ce(n.urlParams),l=n.url+c,h=t({},n.headers);return ft(h,o),ht(h,s),pt(h),new ct(l,n.method,h,n.body,n.successCodes,n.additionalRetryCodes,n.handler,n.errorHandler,n.timeout,n.progressCallback,u)}var _t=(function(){function t(n,o,s,u){var c;this.bucket_=null,this.appId_=null,this.deleted_=!1,this.app_=n,this.authProvider_=o,this.maxOperationRetryTime_=l,this.maxUploadRetryTime_=h,this.requests_=new Set,this.pool_=s,this.bucket_=null!=u?ne.makeFromBucketSpec(u):t.extractBucket_(null===(c=this.app_)||void 0===c?void 0:c.options),this.internals_=new vt(this)}return t.extractBucket_=function(t){var n=null===t||void 0===t?void 0:t.storageBucket;return null==n?null:ne.makeFromBucketSpec(n)},t.prototype.getAuthToken=function(){return o.__awaiter(this,void 0,void 0,function(){var t,n;return o.__generator(this,function(o){switch(o.label){case 0:return(t=this.authProvider_.getImmediate({optional:!0}))?[4,t.getToken()]:[3,2];case 1:if(null!==(n=o.sent()))return[2,n.accessToken];o.label=2;case 2:return[2,null]}})})},t.prototype.deleteApp=function(){this.deleted_=!0,this.app_=null,this.requests_.forEach(function(t){return t.cancel()}),this.requests_.clear()},t.prototype.makeStorageReference=function(t){return new at(this,t)},t.prototype.makeRequest=function(t,n){var o=this;if(this.deleted_)return new st(E());var s=dt(t,this.appId_,n,this.pool_);return this.requests_.add(s),s.getPromise().then(function(){return o.requests_.delete(s)},function(){return o.requests_.delete(s)}),s},t.prototype.ref=function(t){if(Je('ref',[$e(function(t){if('string'!=typeof t)throw'Path is not a string.';if(/^[A-Za-z]+:\/\//.test(t))throw'Expected child path but got a URL, use refFromURL instead.'},!0)],arguments),null==this.bucket_)throw new Error('No Storage Bucket defined in Firebase Options.');var n=new at(this,this.bucket_);return null!=t?n.child(t):n},t.prototype.refFromURL=function(t){return Je('refFromURL',[$e(function(t){if('string'!=typeof t)throw'Path is not a string.';if(!/^[A-Za-z]+:\/\//.test(t))throw'Expected full URL but got a child path, use ref instead.';try{ne.makeFromUrl(t)}catch(t){throw'Expected valid full URL but got an invalid one.'}},!1)],arguments),new at(this,t)},Object.defineProperty(t.prototype,"maxUploadRetryTime",{get:function(){return this.maxUploadRetryTime_},enumerable:!1,configurable:!0}),t.prototype.setMaxUploadRetryTime=function(t){Je('setMaxUploadRetryTime',[tt()],arguments),this.maxUploadRetryTime_=t},Object.defineProperty(t.prototype,"maxOperationRetryTime",{get:function(){return this.maxOperationRetryTime_},enumerable:!1,configurable:!0}),t.prototype.setMaxOperationRetryTime=function(t){Je('setMaxOperationRetryTime',[tt()],arguments),this.maxOperationRetryTime_=t},Object.defineProperty(t.prototype,"app",{get:function(){return this.app_},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"INTERNAL",{get:function(){return this.internals_},enumerable:!1,configurable:!0}),t})(),vt=(function(){function t(t){this.service_=t}return t.prototype.delete=function(){return this.service_.deleteApp(),Promise.resolve()},t})(),gt="@firebase/storage",mt="0.3.43",bt='storage';function yt(t,n){var o=t.getProvider('app').getImmediate(),s=t.getProvider('auth-internal');return new _t(o,s,new Y,n)}function Rt(t){var n={TaskState:j,TaskEvent:M,StringFormat:N,Storage:_t,Reference:at};t.INTERNAL.registerComponent(new s.Component(bt,yt,"PUBLIC").setServiceProps(n).setMultipleInstances(!0)),t.registerVersion(gt,mt)}Rt(c.default),e.registerStorage=Rt},1267,[13,1260,1261,1263]);
__d(function(e,t,n,r,i,u,a){var s=t(a[0]);Object.defineProperty(u,"__esModule",{value:!0}),u.__PRIVATE_registerFirestore=tc;var o=s(t(a[1])),c=s(t(a[2])),l=s(t(a[3])),f=s(t(a[4])),h=s(t(a[5])),d=s(t(a[6])),v=s(t(a[7])),y=s(t(a[8])),p=s(t(a[9])),m=s(t(a[10])),g=s(t(a[11])),k=s(t(a[12])),w=s(t(a[13])),b=t(a[14]),I=t(a[15]),E=t(a[16]),x=t(a[17]);function _(e){var t=0;if("undefined"==typeof Symbol||null==e["function"==typeof Symbol?Symbol.iterator:"@@iterator"]){if(Array.isArray(e)||(e=T(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e["function"==typeof Symbol?Symbol.iterator:"@@iterator"]()).next.bind(t)}function T(e,t){if(e){if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?A(e,t):void 0}}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:"Unexpected state");throw C(e),new Error(e)}function q(e,t){e||M()}function G(e,t){return e}function j(e){var t=0;for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}function z(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t(n,e[n])}function B(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}var W=(function(){function e(t,n,r){(0,y.default)(this,e),void 0===n?n=0:n>t.length&&M(),void 0===r?r=t.length-n:r>t.length-n&&M(),this.segments=t,this.offset=n,this.t=r}return(0,d.default)(e,[{key:"isEqual",value:function(t){return 0===e.i(this,t)}},{key:"child",value:function(t){var n=this.segments.slice(this.offset,this.limit());return t instanceof e?t.forEach(function(e){n.push(e)}):n.push(t),this.o(n)}},{key:"limit",value:function(){return this.offset+this.length}},{key:"u",value:function(e){return e=void 0===e?1:e,this.o(this.segments,this.offset+e,this.length-e)}},{key:"h",value:function(){return this.o(this.segments,this.offset,this.length-1)}},{key:"l",value:function(){return this.segments[this.offset]}},{key:"_",value:function(){return this.get(this.length-1)}},{key:"get",value:function(e){return this.segments[this.offset+e]}},{key:"m",value:function(){return 0===this.length}},{key:"T",value:function(e){if(e.lengthu)return 1}return e.lengtht.length?1:0}}]),e})(),K=(function(e){(0,p.default)(n,e);var t=N(n);function n(){return(0,y.default)(this,n),t.apply(this,arguments)}return(0,d.default)(n,[{key:"o",value:function(e,t,r){return new n(e,t,r)}},{key:"R",value:function(){return this.A().join("/")}},{key:"toString",value:function(){return this.R()}}],[{key:"g",value:function(){for(var e=[],t=arguments.length,r=new Array(t),i=0;i=0)throw new P(L.INVALID_ARGUMENT,"Invalid segment ("+s+"). Paths must not contain // in them.");e.push.apply(e,(0,v.default)(s.split("/").filter(function(e){return e.length>0})))}return new n(e)}},{key:"P",value:function(){return new n([])}}]),n})(W),Q=/^[_a-zA-Z][_a-zA-Z0-9]*$/,H=(function(e){(0,p.default)(n,e);var t=N(n);function n(){return(0,y.default)(this,n),t.apply(this,arguments)}return(0,d.default)(n,[{key:"o",value:function(e,t,r){return new n(e,t,r)}},{key:"R",value:function(){return this.A().map(function(e){return e=e.replace("\\","\\\\").replace("`","\\`"),n.V(e)||(e="`"+e+"`"),e}).join(".")}},{key:"toString",value:function(){return this.R()}},{key:"p",value:function(){return 1===this.length&&"__name__"===this.get(0)}}],[{key:"V",value:function(e){return Q.test(e)}},{key:"v",value:function(){return new n(["__name__"])}},{key:"S",value:function(e){for(var t=[],r="",i=0,u=function(){if(0===r.length)throw new P(L.INVALID_ARGUMENT,"Invalid field path ("+e+"). Paths must not be empty, begin with '.', end with '.', or contain '..'");t.push(r),r=""},a=!1;i=2&&this.path.get(this.path.length-2)===e}},{key:"isEqual",value:function(e){return null!==e&&0===K.i(this.path,e.path)}},{key:"toString",value:function(){return this.path.toString()}}],[{key:"D",value:function(t){return new e(K.g(t))}},{key:"C",value:function(t){return new e(K.g(t).u(5))}},{key:"i",value:function(e,t){return K.i(e.path,t.path)}},{key:"F",value:function(e){return e.length%2==0}},{key:"$",value:function(t){return new e(new K(t.slice()))}}]),e})();function $(e,t){if(0!==t.length)throw new P(L.INVALID_ARGUMENT,"Function "+e+"() does not support arguments, but was called with "+ye(t.length,"argument")+".")}function X(e,t,n){if(t.length!==n)throw new P(L.INVALID_ARGUMENT,"Function "+e+"() requires "+ye(n,"argument")+", but was called with "+ye(t.length,"argument")+".")}function J(e,t,n){if(t.lengthr)throw new P(L.INVALID_ARGUMENT,"Function "+e+"() requires between "+n+" and "+r+" arguments, but was called with "+ye(t.length,"argument")+".")}function ee(e,t,n,r){se(e,t,ve(n)+" argument",r)}function te(e,t,n,r){void 0!==r&&ee(e,t,n,r)}function ne(e,t,n,r){se(e,t,n+" option",r)}function re(e,t,n,r){void 0!==r&&ne(e,t,n,r)}function ie(e,t,n,r,i){void 0!==r&&(function(e,t,n,r,i){if(!(r instanceof Array))throw new P(L.INVALID_ARGUMENT,"Function "+e+"() requires its "+t+" option to be an array, but it was: "+ce(r));for(var u=0;u20&&(e=e.substring(0,20)+"..."),JSON.stringify(e);if("number"==typeof e||"boolean"==typeof e)return""+e;if("object"==typeof e){if(e instanceof Array)return"an array";var t=(function(e){if(e.constructor){var t=/function\s+([^\s(]+)\s*\(/.exec(e.constructor.toString());if(t&&t.length>1)return t[1]}return null})(e);return t?"a custom "+t+" object":"an object"}return"function"==typeof e?"a function":M()}function le(e,t,n){if(void 0===n)throw new P(L.INVALID_ARGUMENT,"Function "+e+"() requires a valid "+ve(t)+" argument, but it was undefined.")}function fe(e,t,n){z(t,function(t,r){if(n.indexOf(t)<0)throw new P(L.INVALID_ARGUMENT,"Unknown option '"+t+"' passed to function "+e+"(). Available options: "+n.join(", "))})}function he(e,t,n,r){var i=ce(r);return new P(L.INVALID_ARGUMENT,"Function "+e+"() requires its "+ve(n)+" argument to be a "+t+", but it was: "+i)}function de(e,t,n){if(n<=0)throw new P(L.INVALID_ARGUMENT,"Function "+e+"() requires its "+ve(t)+" argument to be a positive number, but it was: "+n+".")}function ve(e){switch(e){case 1:return"first";case 2:return"second";case 3:return"third";default:return e+"th"}}function ye(e,t){return e+" "+t+(1===e?"":"s")}function pe(e){var t="undefined"!=typeof self&&(self.crypto||self.msCrypto),n=new Uint8Array(e);if(t&&"function"==typeof t.getRandomValues)t.getRandomValues(n);else for(var r=0;rt?1:0}function ke(e,t,n){return e.length===t.length&&e.every(function(e,r){return n(e,t[r])})}function we(e){return e+"\0"}var be=(function(){function e(t){(0,y.default)(this,e),this.M=t}return(0,d.default)(e,[{key:"toBase64",value:function(){return(function(e){for(var t=[],n=0;n=1e9)throw new P(L.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+n);if(t<-62135596800)throw new P(L.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t);if(t>=253402300800)throw new P(L.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t)}return(0,d.default)(e,[{key:"toDate",value:function(){return new Date(this.toMillis())}},{key:"toMillis",value:function(){return 1e3*this.seconds+this.nanoseconds/1e6}},{key:"Y",value:function(e){return this.seconds===e.seconds?ge(this.nanoseconds,e.nanoseconds):ge(this.seconds,e.seconds)}},{key:"isEqual",value:function(e){return e.seconds===this.seconds&&e.nanoseconds===this.nanoseconds}},{key:"toString",value:function(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"}},{key:"toJSON",value:function(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}}},{key:"valueOf",value:function(){var e=this.seconds- -62135596800;return String(e).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")}}],[{key:"now",value:function(){return e.fromMillis(Date.now())}},{key:"fromDate",value:function(t){return e.fromMillis(t.getTime())}},{key:"fromMillis",value:function(t){var n=Math.floor(t/1e3);return new e(n,1e6*(t-1e3*n))}}]),e})(),Se=(function(){function e(t){(0,y.default)(this,e),this.timestamp=t}return(0,d.default)(e,[{key:"L",value:function(e){return this.timestamp.Y(e.timestamp)}},{key:"isEqual",value:function(e){return this.timestamp.isEqual(e.timestamp)}},{key:"X",value:function(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3}},{key:"toString",value:function(){return"SnapshotVersion("+this.timestamp.toString()+")"}},{key:"Z",value:function(){return this.timestamp}}],[{key:"J",value:function(t){return new e(t)}},{key:"min",value:function(){return new e(new Ne(0,0))}}]),e})();function De(e){return null==e}function Le(e){return 0===e&&1/e==-1/0}function Pe(e){return"number"==typeof e&&Number.isInteger(e)&&!Le(e)&&e<=Number.MAX_SAFE_INTEGER&&e>=Number.MIN_SAFE_INTEGER}var Re=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;(0,y.default)(this,e),this.path=t,this.collectionGroup=n,this.orderBy=r,this.filters=i,this.limit=u,this.startAt=a,this.endAt=s,this.tt=null};function Ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;return new Re(e,t,n,r,i,u,a)}function Ue(e){var t=G(e);if(null===t.tt){var n=t.path.R();null!==t.collectionGroup&&(n+="|cg:"+t.collectionGroup),n+="|f:",n+=t.filters.map(function(e){return Nr(e)}).join(","),n+="|ob:",n+=t.orderBy.map(function(e){return(t=e).field.R()+t.dir;var t}).join(","),De(t.limit)||(n+="|l:",n+=t.limit),t.startAt&&(n+="|lb:",n+=Fr(t.startAt)),t.endAt&&(n+="|ub:",n+=Fr(t.endAt)),t.tt=n}return t.tt}function Ce(e){var t=e.path.R();return null!==e.collectionGroup&&(t+=" collectionGroup="+e.collectionGroup),e.filters.length>0&&(t+=", filters: ["+e.filters.map(function(e){return(t=e).field.R()+" "+t.op+" "+At(t.value);var t}).join(", ")+"]"),De(e.limit)||(t+=", limit: "+e.limit),e.orderBy.length>0&&(t+=", orderBy: ["+e.orderBy.map(function(e){return(t=e).field.R()+" ("+t.dir+")";var t}).join(", ")+"]"),e.startAt&&(t+=", startAt: "+Fr(e.startAt)),e.endAt&&(t+=", endAt: "+Fr(e.endAt)),"Target("+t+")"}function Oe(e,t){if(e.limit!==t.limit)return!1;if(e.orderBy.length!==t.orderBy.length)return!1;for(var n=0;n4&&void 0!==arguments[4]?arguments[4]:Se.min(),a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Se.min(),s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:be.B;(0,y.default)(this,e),this.target=t,this.targetId=n,this.et=r,this.sequenceNumber=i,this.nt=u,this.lastLimboFreeSnapshotVersion=a,this.resumeToken=s}return(0,d.default)(e,[{key:"st",value:function(t){return new e(this.target,this.targetId,this.et,t,this.nt,this.lastLimboFreeSnapshotVersion,this.resumeToken)}},{key:"it",value:function(t,n){return new e(this.target,this.targetId,this.et,this.sequenceNumber,n,this.lastLimboFreeSnapshotVersion,t)}},{key:"rt",value:function(t){return new e(this.target,this.targetId,this.et,this.sequenceNumber,this.nt,t,this.resumeToken)}}]),e})(),je=function e(t){(0,y.default)(this,e),this.count=t};function ze(e){switch(e){case L.OK:return M();case L.CANCELLED:case L.UNKNOWN:case L.DEADLINE_EXCEEDED:case L.RESOURCE_EXHAUSTED:case L.INTERNAL:case L.UNAVAILABLE:case L.UNAUTHENTICATED:return!1;case L.INVALID_ARGUMENT:case L.NOT_FOUND:case L.ALREADY_EXISTS:case L.PERMISSION_DENIED:case L.FAILED_PRECONDITION:case L.ABORTED:case L.OUT_OF_RANGE:case L.UNIMPLEMENTED:case L.DATA_LOSS:return!0;default:return M()}}function Be(e){if(void 0===e)return C("GRPC error has no .code"),L.UNKNOWN;switch(e){case Me.OK:return L.OK;case Me.CANCELLED:return L.CANCELLED;case Me.UNKNOWN:return L.UNKNOWN;case Me.DEADLINE_EXCEEDED:return L.DEADLINE_EXCEEDED;case Me.RESOURCE_EXHAUSTED:return L.RESOURCE_EXHAUSTED;case Me.INTERNAL:return L.INTERNAL;case Me.UNAVAILABLE:return L.UNAVAILABLE;case Me.UNAUTHENTICATED:return L.UNAUTHENTICATED;case Me.INVALID_ARGUMENT:return L.INVALID_ARGUMENT;case Me.NOT_FOUND:return L.NOT_FOUND;case Me.ALREADY_EXISTS:return L.ALREADY_EXISTS;case Me.PERMISSION_DENIED:return L.PERMISSION_DENIED;case Me.FAILED_PRECONDITION:return L.FAILED_PRECONDITION;case Me.ABORTED:return L.ABORTED;case Me.OUT_OF_RANGE:return L.OUT_OF_RANGE;case Me.UNIMPLEMENTED:return L.UNIMPLEMENTED;case Me.DATA_LOSS:return L.DATA_LOSS;default:return M()}}(qe=Me||(Me={}))[qe.OK=0]="OK",qe[qe.CANCELLED=1]="CANCELLED",qe[qe.UNKNOWN=2]="UNKNOWN",qe[qe.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",qe[qe.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",qe[qe.NOT_FOUND=5]="NOT_FOUND",qe[qe.ALREADY_EXISTS=6]="ALREADY_EXISTS",qe[qe.PERMISSION_DENIED=7]="PERMISSION_DENIED",qe[qe.UNAUTHENTICATED=16]="UNAUTHENTICATED",qe[qe.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",qe[qe.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",qe[qe.ABORTED=10]="ABORTED",qe[qe.OUT_OF_RANGE=11]="OUT_OF_RANGE",qe[qe.UNIMPLEMENTED=12]="UNIMPLEMENTED",qe[qe.INTERNAL=13]="INTERNAL",qe[qe.UNAVAILABLE=14]="UNAVAILABLE",qe[qe.DATA_LOSS=15]="DATA_LOSS";var We=(function(){function e(t,n){(0,y.default)(this,e),this.i=t,this.root=n||Qe.EMPTY}return(0,d.default)(e,[{key:"ot",value:function(t,n){return new e(this.i,this.root.ot(t,n,this.i).copy(null,null,Qe.at,null,null))}},{key:"remove",value:function(t){return new e(this.i,this.root.remove(t,this.i).copy(null,null,Qe.at,null,null))}},{key:"get",value:function(e){for(var t=this.root;!t.m();){var n=this.i(e,t.key);if(0===n)return t.value;n<0?t=t.left:n>0&&(t=t.right)}return null}},{key:"indexOf",value:function(e){for(var t=0,n=this.root;!n.m();){var r=this.i(e,n.key);if(0===r)return t+n.left.size;r<0?n=n.left:(t+=n.left.size+1,n=n.right)}return-1}},{key:"m",value:function(){return this.root.m()}},{key:"ct",value:function(){return this.root.ct()}},{key:"ut",value:function(){return this.root.ut()}},{key:"ht",value:function(e){return this.root.ht(e)}},{key:"forEach",value:function(e){this.ht(function(t,n){return e(t,n),!1})}},{key:"toString",value:function(){var e=[];return this.ht(function(t,n){return e.push(t+":"+n),!1}),"{"+e.join(", ")+"}"}},{key:"lt",value:function(e){return this.root.lt(e)}},{key:"_t",value:function(){return new Ke(this.root,null,this.i,!1)}},{key:"ft",value:function(e){return new Ke(this.root,e,this.i,!1)}},{key:"dt",value:function(){return new Ke(this.root,null,this.i,!0)}},{key:"wt",value:function(e){return new Ke(this.root,e,this.i,!0)}},{key:"size",get:function(){return this.root.size}}]),e})(),Ke=(function(){function e(t,n,r,i){(0,y.default)(this,e),this.Tt=i,this.Et=[];for(var u=1;!t.m();)if(u=n?r(t.key,n):1,i&&(u*=-1),u<0)t=this.Tt?t.left:t.right;else{if(0===u){this.Et.push(t);break}this.Et.push(t),t=this.Tt?t.right:t.left}}return(0,d.default)(e,[{key:"It",value:function(){var e=this.Et.pop(),t={key:e.key,value:e.value};if(this.Tt)for(e=e.left;!e.m();)this.Et.push(e),e=e.right;else for(e=e.right;!e.m();)this.Et.push(e),e=e.left;return t}},{key:"At",value:function(){return this.Et.length>0}},{key:"Rt",value:function(){if(0===this.Et.length)return null;var e=this.Et[this.Et.length-1];return{key:e.key,value:e.value}}}]),e})(),Qe=(function(){function e(t,n,r,i,u){(0,y.default)(this,e),this.key=t,this.value=n,this.color=null!=r?r:e.RED,this.left=null!=i?i:e.EMPTY,this.right=null!=u?u:e.EMPTY,this.size=this.left.size+1+this.right.size}return(0,d.default)(e,[{key:"copy",value:function(t,n,r,i,u){return new e(null!=t?t:this.key,null!=n?n:this.value,null!=r?r:this.color,null!=i?i:this.left,null!=u?u:this.right)}},{key:"m",value:function(){return!1}},{key:"ht",value:function(e){return this.left.ht(e)||e(this.key,this.value)||this.right.ht(e)}},{key:"lt",value:function(e){return this.right.lt(e)||e(this.key,this.value)||this.left.lt(e)}},{key:"min",value:function(){return this.left.m()?this:this.left.min()}},{key:"ct",value:function(){return this.min().key}},{key:"ut",value:function(){return this.right.m()?this.key:this.right.ut()}},{key:"ot",value:function(e,t,n){var r=this,i=n(e,r.key);return(r=i<0?r.copy(null,null,null,r.left.ot(e,t,n),null):0===i?r.copy(null,t,null,null,null):r.copy(null,null,null,null,r.right.ot(e,t,n))).gt()}},{key:"Pt",value:function(){if(this.left.m())return e.EMPTY;var t=this;return t.left.yt()||t.left.left.yt()||(t=t.Vt()),(t=t.copy(null,null,null,t.left.Pt(),null)).gt()}},{key:"remove",value:function(t,n){var r,i=this;if(n(t,i.key)<0)i.left.m()||i.left.yt()||i.left.left.yt()||(i=i.Vt()),i=i.copy(null,null,null,i.left.remove(t,n),null);else{if(i.left.yt()&&(i=i.bt()),i.right.m()||i.right.yt()||i.right.left.yt()||(i=i.vt()),0===n(t,i.key)){if(i.right.m())return e.EMPTY;r=i.right.min(),i=i.copy(r.key,r.value,null,null,i.right.Pt())}i=i.copy(null,null,null,null,i.right.remove(t,n))}return i.gt()}},{key:"yt",value:function(){return this.color}},{key:"gt",value:function(){var e=this;return e.right.yt()&&!e.left.yt()&&(e=e.St()),e.left.yt()&&e.left.left.yt()&&(e=e.bt()),e.left.yt()&&e.right.yt()&&(e=e.Dt()),e}},{key:"Vt",value:function(){var e=this.Dt();return e.right.left.yt()&&(e=(e=(e=e.copy(null,null,null,null,e.right.bt())).St()).Dt()),e}},{key:"vt",value:function(){var e=this.Dt();return e.left.left.yt()&&(e=(e=e.bt()).Dt()),e}},{key:"St",value:function(){var t=this.copy(null,null,e.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)}},{key:"bt",value:function(){var t=this.copy(null,null,e.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)}},{key:"Dt",value:function(){var e=this.left.copy(null,null,!this.left.color,null,null),t=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,t)}},{key:"Ct",value:function(){var e=this.Nt();return Math.pow(2,e)<=this.size+1}},{key:"Nt",value:function(){if(this.yt()&&this.left.yt())throw M();if(this.right.yt())throw M();var e=this.left.Nt();if(e!==this.right.Nt())throw M();return e+(this.yt()?0:1)}}]),e})();Qe.EMPTY=null,Qe.RED=!0,Qe.at=!1,Qe.EMPTY=new((function(){function e(){(0,y.default)(this,e),this.size=0}return(0,d.default)(e,[{key:"copy",value:function(e,t,n,r,i){return this}},{key:"ot",value:function(e,t,n){return new Qe(e,t)}},{key:"remove",value:function(e,t){return this}},{key:"m",value:function(){return!0}},{key:"ht",value:function(e){return!1}},{key:"lt",value:function(e){return!1}},{key:"ct",value:function(){return null}},{key:"ut",value:function(){return null}},{key:"yt",value:function(){return!1}},{key:"Ct",value:function(){return!0}},{key:"Nt",value:function(){return 0}},{key:"key",get:function(){throw M()}},{key:"value",get:function(){throw M()}},{key:"color",get:function(){throw M()}},{key:"left",get:function(){throw M()}},{key:"right",get:function(){throw M()}}]),e})());var He=(function(){function e(t){(0,y.default)(this,e),this.i=t,this.data=new We(this.i)}return(0,d.default)(e,[{key:"has",value:function(e){return null!==this.data.get(e)}},{key:"first",value:function(){return this.data.ct()}},{key:"last",value:function(){return this.data.ut()}},{key:"indexOf",value:function(e){return this.data.indexOf(e)}},{key:"forEach",value:function(e){this.data.ht(function(t,n){return e(t),!1})}},{key:"Ft",value:function(e,t){for(var n=this.data.ft(e[0]);n.At();){var r=n.It();if(this.i(r.key,e[1])>=0)return;t(r.key)}}},{key:"xt",value:function(e,t){var n;for(n=void 0!==t?this.data.ft(t):this.data._t();n.At();)if(!e(n.It().key))return}},{key:"$t",value:function(e){var t=this.data.ft(e);return t.At()?t.It().key:null}},{key:"_t",value:function(){return new Ye(this.data._t())}},{key:"ft",value:function(e){return new Ye(this.data.ft(e))}},{key:"add",value:function(e){return this.copy(this.data.remove(e).ot(e,!0))}},{key:"delete",value:function(e){return this.has(e)?this.copy(this.data.remove(e)):this}},{key:"m",value:function(){return this.data.m()}},{key:"kt",value:function(e){var t=this;return t.size2&&void 0!==arguments[2]?arguments[2]:be.B,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;(0,y.default)(this,e),this.state=t,this.targetIds=n,this.resumeToken=r,this.cause=i},vt=(function(){function e(){(0,y.default)(this,e),this.ae=0,this.ce=mt(),this.ue=be.B,this.he=!1,this.le=!0}return(0,d.default)(e,[{key:"de",value:function(e){e.O()>0&&(this.le=!0,this.ue=e)}},{key:"we",value:function(){var e=rt(),t=rt(),n=rt();return this.ce.forEach(function(r,i){switch(i){case 0:e=e.add(r);break;case 2:t=t.add(r);break;case 1:n=n.add(r);break;default:M()}}),new lt(this.ue,this.he,e,t,n)}},{key:"me",value:function(){this.le=!1,this.ce=mt()}},{key:"Te",value:function(e,t){this.le=!0,this.ce=this.ce.ot(e,t)}},{key:"Ee",value:function(e){this.le=!0,this.ce=this.ce.remove(e)}},{key:"Ie",value:function(){this.ae+=1}},{key:"Ae",value:function(){this.ae-=1}},{key:"Re",value:function(){this.le=!0,this.he=!0}},{key:"te",get:function(){return this.he}},{key:"resumeToken",get:function(){return this.ue}},{key:"_e",get:function(){return 0!==this.ae}},{key:"fe",get:function(){return this.le}}]),e})(),yt=(function(){function e(t){(0,y.default)(this,e),this.ge=t,this.Pe=new Map,this.ye=Xe(),this.Ve=pt(),this.pe=new He(ge)}return(0,d.default)(e,[{key:"be",value:function(e){for(var t,n=_(e.ie);!(t=n()).done;){var r=t.value;e.re instanceof ar?this.ve(r,e.re):e.re instanceof sr&&this.Se(r,e.key,e.re)}for(var i,u=_(e.removedTargetIds);!(i=u()).done;){var a=i.value;this.Se(a,e.key,e.re)}}},{key:"De",value:function(e){var t=this;this.Ce(e,function(n){var r=t.Ne(n);switch(e.state){case 0:t.Fe(n)&&r.de(e.resumeToken);break;case 1:r.Ae(),r._e||r.me(),r.de(e.resumeToken);break;case 2:r.Ae(),r._e||t.removeTarget(n);break;case 3:t.Fe(n)&&(r.Re(),r.de(e.resumeToken));break;case 4:t.Fe(n)&&(t.xe(n),r.de(e.resumeToken));break;default:M()}})}},{key:"Ce",value:function(e,t){var n=this;e.targetIds.length>0?e.targetIds.forEach(t):this.Pe.forEach(function(e,r){n.Fe(r)&&t(r)})}},{key:"$e",value:function(e){var t=e.targetId,n=e.oe.count,r=this.ke(t);if(r){var i=r.target;if(Fe(i))if(0===n){var u=new Y(i.path);this.Se(t,u,new sr(u,Se.min()))}else q(1===n);else this.Me(t)!==n&&(this.xe(t),this.pe=this.pe.add(t))}}},{key:"Oe",value:function(e){var t=this,n=new Map;this.Pe.forEach(function(r,i){var u=t.ke(i);if(u){if(r.te&&Fe(u.target)){var a=new Y(u.target.path);null!==t.ye.get(a)||t.Le(i,a)||t.Se(i,a,new sr(a,e))}r.fe&&(n.set(i,r.we()),r.me())}});var r=rt();this.Ve.forEach(function(e,n){var i=!0;n.xt(function(e){var n=t.ke(e);return!n||2===n.et||(i=!1,!1)}),i&&(r=r.add(e))});var i=new ct(e,n,this.pe,this.ye,r);return this.ye=Xe(),this.Ve=pt(),this.pe=new He(ge),i}},{key:"ve",value:function(e,t){if(this.Fe(e)){var n=this.Le(e,t.key)?2:0;this.Ne(e).Te(t.key,n),this.ye=this.ye.ot(t.key,t),this.Ve=this.Ve.ot(t.key,this.Be(t.key).add(e))}}},{key:"Se",value:function(e,t,n){if(this.Fe(e)){var r=this.Ne(e);this.Le(e,t)?r.Te(t,1):r.Ee(t),this.Ve=this.Ve.ot(t,this.Be(t).delete(e)),n&&(this.ye=this.ye.ot(t,n))}}},{key:"removeTarget",value:function(e){this.Pe.delete(e)}},{key:"Me",value:function(e){var t=this.Ne(e).we();return this.ge.qe(e).size+t.ee.size-t.se.size}},{key:"Ie",value:function(e){this.Ne(e).Ie()}},{key:"Ne",value:function(e){var t=this.Pe.get(e);return t||(t=new vt,this.Pe.set(e,t)),t}},{key:"Be",value:function(e){var t=this.Ve.get(e);return t||(t=new He(ge),this.Ve=this.Ve.ot(e,t)),t}},{key:"Fe",value:function(e){var t=null!==this.ke(e);return t||U("WatchChangeAggregator","Detected inactive target",e),t}},{key:"ke",value:function(e){var t=this.Pe.get(e);return t&&t._e?null:this.ge.Ue(e)}},{key:"xe",value:function(e){var t=this;this.Pe.set(e,new vt),this.ge.qe(e).forEach(function(n){t.Se(e,n,null)})}},{key:"Le",value:function(e,t){return this.ge.qe(e).has(t)}}]),e})();function pt(){return new We(Y.i)}function mt(){return new We(Y.i)}function gt(e){var t,n;return"server_timestamp"===(null===(n=((null===(t=null==e?void 0:e.mapValue)||void 0===t?void 0:t.fields)||{}).__type__)||void 0===n?void 0:n.stringValue)}function kt(e){var t=e.mapValue.fields.__previous_value__;return gt(t)?kt(t):t}function wt(e){var t=St(e.mapValue.fields.__local_write_time__.timestampValue);return new Ne(t.seconds,t.nanos)}var bt=new RegExp(/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:\.(\d+))?Z$/);function It(e){return"nullValue"in e?0:"booleanValue"in e?1:"integerValue"in e||"doubleValue"in e?2:"timestampValue"in e?3:"stringValue"in e?5:"bytesValue"in e?6:"referenceValue"in e?7:"geoPointValue"in e?8:"arrayValue"in e?9:"mapValue"in e?gt(e)?4:10:M()}function Et(e,t){var n=It(e);if(n!==It(t))return!1;switch(n){case 0:return!0;case 1:return e.booleanValue===t.booleanValue;case 4:return wt(e).isEqual(wt(t));case 3:return(function(e,t){if("string"==typeof e.timestampValue&&"string"==typeof t.timestampValue&&e.timestampValue.length===t.timestampValue.length)return e.timestampValue===t.timestampValue;var n=St(e.timestampValue),r=St(t.timestampValue);return n.seconds===r.seconds&&n.nanos===r.nanos})(e,t);case 5:return e.stringValue===t.stringValue;case 6:return(function(e,t){return Lt(e.bytesValue).isEqual(Lt(t.bytesValue))})(e,t);case 7:return e.referenceValue===t.referenceValue;case 8:return(function(e,t){return Dt(e.geoPointValue.latitude)===Dt(t.geoPointValue.latitude)&&Dt(e.geoPointValue.longitude)===Dt(t.geoPointValue.longitude)})(e,t);case 2:return(function(e,t){if("integerValue"in e&&"integerValue"in t)return Dt(e.integerValue)===Dt(t.integerValue);if("doubleValue"in e&&"doubleValue"in t){var n=Dt(e.doubleValue),r=Dt(t.doubleValue);return n===r?Le(n)===Le(r):isNaN(n)&&isNaN(r)}return!1})(e,t);case 9:return ke(e.arrayValue.values||[],t.arrayValue.values||[],Et);case 10:return(function(e,t){var n=e.mapValue.fields||{},r=t.mapValue.fields||{};if(j(n)!==j(r))return!1;for(var i in n)if(n.hasOwnProperty(i)&&(void 0===r[i]||!Et(n[i],r[i])))return!1;return!0})(e,t);default:return M()}}function xt(e,t){return void 0!==(e.values||[]).find(function(e){return Et(e,t)})}function _t(e,t){var n=It(e),r=It(t);if(n!==r)return ge(n,r);switch(n){case 0:return 0;case 1:return ge(e.booleanValue,t.booleanValue);case 2:return(function(e,t){var n=Dt(e.integerValue||e.doubleValue),r=Dt(t.integerValue||t.doubleValue);return nr?1:n===r?0:isNaN(n)?isNaN(r)?0:-1:1})(e,t);case 3:return Tt(e.timestampValue,t.timestampValue);case 4:return Tt(wt(e),wt(t));case 5:return ge(e.stringValue,t.stringValue);case 6:return(function(e,t){var n=Lt(e),r=Lt(t);return n.L(r)})(e.bytesValue,t.bytesValue);case 7:return(function(e,t){for(var n=e.split("/"),r=t.split("/"),i=0;i":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},qt=function e(t,n){(0,y.default)(this,e),this.U=t,this.Qe=n};function Gt(e){return{integerValue:""+e}}function jt(e,t){if(e.Qe){if(isNaN(t))return{doubleValue:"NaN"};if(t===1/0)return{doubleValue:"Infinity"};if(t===-1/0)return{doubleValue:"-Infinity"}}return{doubleValue:Le(t)?"-0":t}}function zt(e,t){return Pe(t)?Gt(t):jt(e,t)}function Bt(e,t){return e.Qe?new Date(1e3*t.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")+"."+("000000000"+t.nanoseconds).slice(-9)+"Z":{seconds:""+t.seconds,nanos:t.nanoseconds}}function Wt(e,t){return e.Qe?t.toBase64():t.toUint8Array()}function Kt(e,t){return Bt(e,t.Z())}function Qt(e){return q(!!e),Se.J((function(e){var t=St(e);return new Ne(t.seconds,t.nanos)})(e))}function Ht(e,t){return(function(e){return new K(["projects",e.projectId,"databases",e.database])})(e).child("documents").child(t).R()}function Yt(e){var t=K.g(e);return q(En(t)),t}function $t(e,t){return Ht(e.U,t.path)}function Xt(e,t){var n=Yt(t);return q(n.get(1)===e.U.projectId),q(!n.get(3)&&!e.U.database||n.get(3)===e.U.database),new Y(tn(n))}function Jt(e,t){return Ht(e.U,t)}function Zt(e){var t=Yt(e);return 4===t.length?K.P():tn(t)}function en(e){return new K(["projects",e.U.projectId,"databases",e.U.database]).R()}function tn(e){return q(e.length>4&&"documents"===e.get(4)),e.u(5)}function nn(e,t,n){return{name:$t(e,t),fields:n.proto.mapValue.fields}}function rn(e,t){return"found"in t?(function(e,t){q(!!t.found),t.found.name,t.found.updateTime;var n=Xt(e,t.found.name),r=Qt(t.found.updateTime),i=new nr({mapValue:{fields:t.found.fields}});return new ar(n,r,i,{})})(e,t):"missing"in t?(function(e,t){q(!!t.missing),q(!!t.readTime);var n=Xt(e,t.missing),r=Qt(t.readTime);return new sr(n,r)})(e,t):M()}function un(e,t){var n;if("targetChange"in t){t.targetChange;var r=(function(e){return"NO_CHANGE"===e?0:"ADD"===e?1:"REMOVE"===e?2:"CURRENT"===e?3:"RESET"===e?4:M()})(t.targetChange.targetChangeType||"NO_CHANGE"),i=t.targetChange.targetIds||[],u=(function(e,t){return e.Qe?(q(void 0===t||"string"==typeof t),be.fromBase64String(t||"")):(q(void 0===t||t instanceof Uint8Array),be.fromUint8Array(t||new Uint8Array))})(e,t.targetChange.resumeToken),a=t.targetChange.cause,s=a&&(function(e){var t=void 0===e.code?L.UNKNOWN:Be(e.code);return new P(t,e.message||"")})(a);n=new dt(r,i,u,s||null)}else if("documentChange"in t){t.documentChange;var o=t.documentChange;o.document,o.document.name,o.document.updateTime;var c=Xt(e,o.document.name),l=Qt(o.document.updateTime),f=new nr({mapValue:{fields:o.document.fields}}),h=new ar(c,l,f,{}),d=o.targetIds||[],v=o.removedTargetIds||[];n=new ft(d,v,h.key,h)}else if("documentDelete"in t){t.documentDelete;var y=t.documentDelete;y.document;var p=Xt(e,y.document),m=y.readTime?Qt(y.readTime):Se.min(),g=new sr(p,m),k=y.removedTargetIds||[];n=new ft([],k,g.key,g)}else if("documentRemove"in t){t.documentRemove;var w=t.documentRemove;w.document;var b=Xt(e,w.document),I=w.removedTargetIds||[];n=new ft([],I,b,null)}else{if(!("filter"in t))return M();t.filter;var E=t.filter;E.targetId;var x=E.count||0,_=new je(x),T=E.targetId;n=new ht(T,_)}return n}function an(e,t){var n;if(t instanceof Hn)n={update:nn(e,t.key,t.value)};else if(t instanceof er)n={delete:$t(e,t.key)};else if(t instanceof Yn)n={update:nn(e,t.key,t.data),updateMask:In(t.We)};else if(t instanceof Xn)n={transform:{document:$t(e,t.key),fieldTransforms:t.fieldTransforms.map(function(e){return(function(e,t){var n=t.transform;if(n instanceof Nn)return{fieldPath:t.field.R(),setToServerValue:"REQUEST_TIME"};if(n instanceof Sn)return{fieldPath:t.field.R(),appendMissingElements:{values:n.elements}};if(n instanceof Ln)return{fieldPath:t.field.R(),removeAllFromArray:{values:n.elements}};if(n instanceof Rn)return{fieldPath:t.field.R(),increment:n.je};throw M()})(0,e)})}};else{if(!(t instanceof tr))return M();n={verify:$t(e,t.key)}}return t.Ge.Ke||(n.currentDocument=(function(e,t){return void 0!==t.updateTime?{updateTime:Kt(e,t.updateTime)}:void 0!==t.exists?{exists:t.exists}:M()})(e,t.Ge)),n}function sn(e,t){var n=t.currentDocument?(function(e){return void 0!==e.updateTime?qn.updateTime(Qt(e.updateTime)):void 0!==e.exists?qn.exists(e.exists):qn.ze()})(t.currentDocument):qn.ze();if(t.update){t.update.name;var r=Xt(e,t.update.name),i=new nr({mapValue:{fields:t.update.fields}});if(t.updateMask){var u=(function(e){var t=e.fieldPaths||[];return new Cn(t.map(function(e){return H.S(e)}))})(t.updateMask);return new Yn(r,i,u,n)}return new Hn(r,i,n)}if(t.delete){var a=Xt(e,t.delete);return new er(a,n)}if(t.transform){var s=Xt(e,t.transform.document),o=t.transform.fieldTransforms.map(function(t){return(function(e,t){var n=null;if("setToServerValue"in t)q("REQUEST_TIME"===t.setToServerValue),n=new Nn;else if("appendMissingElements"in t){var r=t.appendMissingElements.values||[];n=new Sn(r)}else if("removeAllFromArray"in t){var i=t.removeAllFromArray.values||[];n=new Ln(i)}else"increment"in t?n=new Rn(e,t.increment):M();var u=H.S(t.fieldPath);return new On(u,n)})(e,t)});return q(!0===n.exists),new Xn(s,o)}if(t.verify){var c=Xt(e,t.verify);return new tr(c,n)}return M()}function on(e,t){return e&&e.length>0?(q(void 0!==t),e.map(function(e){return(function(e,t){var n=e.updateTime?Qt(e.updateTime):Qt(t);n.isEqual(Se.min())&&(n=Qt(t));var r=null;return e.transformResults&&e.transformResults.length>0&&(r=e.transformResults),new Mn(n,r)})(e,t)})):[]}function cn(e,t){return{documents:[Jt(e,t.path)]}}function ln(e,t){var n={structuredQuery:{}},r=t.path;null!==t.collectionGroup?(n.parent=Jt(e,r),n.structuredQuery.from=[{collectionId:t.collectionGroup,allDescendants:!0}]):(n.parent=Jt(e,r.h()),n.structuredQuery.from=[{collectionId:r._()}]);var i=(function(e){if(0!==e.length){var t=e.map(function(e){return(function(e){if("=="===e.op){if(Ct(e.value))return{unaryFilter:{field:gn(e.field),op:"IS_NAN"}};if(Ut(e.value))return{unaryFilter:{field:gn(e.field),op:"IS_NULL"}}}else if("!="===e.op){if(Ct(e.value))return{unaryFilter:{field:gn(e.field),op:"IS_NOT_NAN"}};if(Ut(e.value))return{unaryFilter:{field:gn(e.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:gn(e.field),op:mn(e.op),value:e.value}}})(e)});return 1===t.length?t[0]:{compositeFilter:{op:"AND",filters:t}}}})(t.filters);i&&(n.structuredQuery.where=i);var u=(function(e){if(0!==e.length)return e.map(function(e){return(function(e){return{field:gn(e.field),direction:pn(e.dir)}})(e)})})(t.orderBy);u&&(n.structuredQuery.orderBy=u);var a=(function(e,t){return e.Qe||De(t)?t:{value:t}})(e,t.limit);return null!==a&&(n.structuredQuery.limit=a),t.startAt&&(n.structuredQuery.startAt=vn(t.startAt)),t.endAt&&(n.structuredQuery.endAt=vn(t.endAt)),n}function fn(e){var t=Zt(e.parent),n=e.structuredQuery,r=n.from?n.from.length:0,i=null;if(r>0){q(1===r);var u=n.from[0];u.allDescendants?i=u.collectionId:t=t.child(u.collectionId)}var a=[];n.where&&(a=dn(n.where));var s=[];n.orderBy&&(s=n.orderBy.map(function(e){return(function(e){return new Gr(kn(e.field),(function(e){switch(e){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}})(e.direction))})(e)}));var o=null;n.limit&&(o=(function(e){var t;return De(t="object"==typeof e?e.value:e)?null:t})(n.limit));var c=null;n.startAt&&(c=yn(n.startAt));var l=null;return n.endAt&&(l=yn(n.endAt)),gr(lr(t,i,s,a,o,"F",c,l))}function hn(e,t){var n=(function(e,t){switch(t){case 0:return null;case 1:return"existence-filter-mismatch";case 2:return"limbo-document";default:return M()}})(0,t.et);return null==n?null:{"goog-listen-tags":n}}function dn(e){return e?void 0!==e.unaryFilter?[bn(e)]:void 0!==e.fieldFilter?[wn(e)]:void 0!==e.compositeFilter?e.compositeFilter.filters.map(function(e){return dn(e)}).reduce(function(e,t){return e.concat(t)}):M():[]}function vn(e){return{before:e.before,values:e.position}}function yn(e){var t=!!e.before,n=e.values||[];return new Or(n,t)}function pn(e){return Ft[e]}function mn(e){return Mt[e]}function gn(e){return{fieldPath:e.R()}}function kn(e){return H.S(e.fieldPath)}function wn(e){return Ar.create(kn(e.fieldFilter.field),(function(e){switch(e){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";case"OPERATOR_UNSPECIFIED":default:return M()}})(e.fieldFilter.op),e.fieldFilter.value)}function bn(e){switch(e.unaryFilter.op){case"IS_NAN":var t=kn(e.unaryFilter.field);return Ar.create(t,"==",{doubleValue:NaN});case"IS_NULL":var n=kn(e.unaryFilter.field);return Ar.create(n,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":var r=kn(e.unaryFilter.field);return Ar.create(r,"!=",{doubleValue:NaN});case"IS_NOT_NULL":var i=kn(e.unaryFilter.field);return Ar.create(i,"!=",{nullValue:"NULL_VALUE"});case"OPERATOR_UNSPECIFIED":default:return M()}}function In(e){var t=[];return e.fields.forEach(function(e){return t.push(e.R())}),{fieldPaths:t}}function En(e){return e.length>=4&&"projects"===e.get(0)&&"databases"===e.get(2)}var xn=function e(){(0,y.default)(this,e),this.He=void 0};function _n(e,t,n){return e instanceof Nn?(function(e,t){var n={fields:{__type__:{stringValue:"server_timestamp"},__local_write_time__:{timestampValue:{seconds:e.seconds,nanos:e.nanoseconds}}}};return t&&(n.fields.__previous_value__=t),{mapValue:n}})(n,t):e instanceof Sn?Dn(e,t):e instanceof Ln?Pn(e,t):(function(e,t){var n=An(e,t),r=Vn(n)+Vn(e.je);return Rt(n)&&Rt(e.je)?Gt(r):jt(e.serializer,r)})(e,t)}function Tn(e,t,n){return e instanceof Sn?Dn(e,t):e instanceof Ln?Pn(e,t):n}function An(e,t){return e instanceof Rn?Rt(n=t)||n&&"doubleValue"in n?t:{integerValue:0}:null;var n}var Nn=(function(e){(0,p.default)(n,e);var t=N(n);function n(){return(0,y.default)(this,n),t.apply(this,arguments)}return n})(xn),Sn=(function(e){(0,p.default)(n,e);var t=N(n);function n(e){var r;return(0,y.default)(this,n),(r=t.call(this)).elements=e,r}return n})(xn);function Dn(e,t){for(var n,r=Un(t),i=function(e){r.some(function(t){return Et(t,e)})||r.push(e)},u=_(e.elements);!(n=u()).done;){i(n.value)}return{arrayValue:{values:r}}}var Ln=(function(e){(0,p.default)(n,e);var t=N(n);function n(e){var r;return(0,y.default)(this,n),(r=t.call(this)).elements=e,r}return n})(xn);function Pn(e,t){for(var n,r=Un(t),i=function(e){r=r.filter(function(t){return!Et(t,e)})},u=_(e.elements);!(n=u()).done;){i(n.value)}return{arrayValue:{values:r}}}var Rn=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r){var i;return(0,y.default)(this,n),(i=t.call(this)).serializer=e,i.je=r,i}return n})(xn);function Vn(e){return Dt(e.integerValue||e.doubleValue)}function Un(e){return Vt(e)&&e.arrayValue.values?e.arrayValue.values.slice():[]}var Cn=(function(){function e(t){(0,y.default)(this,e),this.fields=t,t.sort(H.i)}return(0,d.default)(e,[{key:"Ye",value:function(e){for(var t,n=_(this.fields);!(t=n()).done;){if(t.value.T(e))return!0}return!1}},{key:"isEqual",value:function(e){return ke(this.fields,e.fields,function(e,t){return e.isEqual(t)})}}]),e})(),On=function e(t,n){(0,y.default)(this,e),this.field=t,this.transform=n};function Fn(e,t){return e.field.isEqual(t.field)&&(function(e,t){return e instanceof Sn&&t instanceof Sn||e instanceof Ln&&t instanceof Ln?ke(e.elements,t.elements,Et):e instanceof Rn&&t instanceof Rn?Et(e.je,t.je):e instanceof Nn&&t instanceof Nn})(e.transform,t.transform)}var Mn=function e(t,n){(0,y.default)(this,e),this.version=t,this.transformResults=n},qn=(function(){function e(t,n){(0,y.default)(this,e),this.updateTime=t,this.exists=n}return(0,d.default)(e,[{key:"isEqual",value:function(e){return this.exists===e.exists&&(this.updateTime?!!e.updateTime&&this.updateTime.isEqual(e.updateTime):!e.updateTime)}},{key:"Ke",get:function(){return void 0===this.updateTime&&void 0===this.exists}}],[{key:"ze",value:function(){return new e}},{key:"exists",value:function(t){return new e(void 0,t)}},{key:"updateTime",value:function(t){return new e(t)}}]),e})();function Gn(e,t){return void 0!==e.updateTime?t instanceof ar&&t.version.isEqual(e.updateTime):void 0===e.exists||e.exists===t instanceof ar}var jn=function e(){(0,y.default)(this,e)};function zn(e,t,n){return e instanceof Hn?(function(e,t,n){return new ar(e.key,n.version,e.value,{hasCommittedMutations:!0})})(e,0,n):e instanceof Yn?(function(e,t,n){if(!Gn(e.Ge,t))return new or(e.key,n.version);var r=$n(e,t);return new ar(e.key,n.version,r,{hasCommittedMutations:!0})})(e,t,n):e instanceof Xn?(function(e,t,n){if(q(null!=n.transformResults),!Gn(e.Ge,t))return new or(e.key,n.version);var r=Jn(e,t),i=(function(e,t,n){var r=[];q(e.length===n.length);for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:nr.empty();(0,y.default)(this,e),this.Ze=t,this.tn=new Map}return(0,d.default)(e,[{key:"set",value:function(e,t){return this.en(e,t),this}},{key:"delete",value:function(e){return this.en(e,null),this}},{key:"en",value:function(e,t){for(var n=this.tn,r=0;r1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"F",s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;(0,y.default)(this,e),this.path=t,this.collectionGroup=n,this.on=r,this.filters=i,this.limit=u,this.an=a,this.startAt=s,this.endAt=o,this.cn=null,this.un=null,this.startAt,this.endAt};function lr(e,t,n,r,i,u,a,s){return new cr(e,t,n,r,i,u,a,s)}function fr(e){return new cr(e)}function hr(e){return!De(e.limit)&&"F"===e.an}function dr(e){return!De(e.limit)&&"L"===e.an}function vr(e){return e.on.length>0?e.on[0].field:null}function yr(e){for(var t,n=_(e.filters);!(t=n()).done;){var r=t.value;if(r.hn())return r.field}return null}function pr(e){return null!==e.collectionGroup}function mr(e){var t=G(e);if(null===t.cn){t.cn=[];var n=yr(t),r=vr(t);if(null!==n&&null===r)n.p()||t.cn.push(new Gr(n)),t.cn.push(new Gr(H.v(),"asc"));else{for(var i,u=!1,a=_(t.on);!(i=a()).done;){var s=i.value;t.cn.push(s),s.field.p()&&(u=!0)}if(!u){var o=t.on.length>0?t.on[t.on.length-1].dir:"asc";t.cn.push(new Gr(H.v(),o))}}}return t.cn}function gr(e){var t=G(e);if(!t.un)if("F"===t.an)t.un=Ve(t.path,t.collectionGroup,mr(t),t.filters,t.limit,t.startAt,t.endAt);else{for(var n,r=[],i=_(mr(t));!(n=i()).done;){var u=n.value,a="desc"===u.dir?"asc":"desc";r.push(new Gr(u.field,a))}var s=t.endAt?new Or(t.endAt.position,!t.endAt.before):null,o=t.startAt?new Or(t.startAt.position,!t.startAt.before):null;t.un=Ve(t.path,t.collectionGroup,r,t.filters,t.limit,s,o)}return t.un}function kr(e,t,n){return new cr(e.path,e.collectionGroup,e.on.slice(),e.filters.slice(),t,n,e.startAt,e.endAt)}function wr(e,t){return new cr(e.path,e.collectionGroup,e.on.slice(),e.filters.slice(),e.limit,e.an,t,e.endAt)}function br(e,t){return new cr(e.path,e.collectionGroup,e.on.slice(),e.filters.slice(),e.limit,e.an,e.startAt,t)}function Ir(e,t){return Oe(gr(e),gr(t))&&e.an===t.an}function Er(e){return Ue(gr(e))+"|lt:"+e.an}function xr(e){return"Query(target="+Ce(gr(e))+"; limitType="+e.an+")"}function _r(e,t){return(function(e,t){var n=t.key.path;return null!==e.collectionGroup?t.key.N(e.collectionGroup)&&e.path.T(n):Y.F(e.path)?e.path.isEqual(n):e.path.I(n)})(e,t)&&(function(e,t){for(var n,r=_(e.on);!(n=r()).done;){var i=n.value;if(!i.field.p()&&null===t.field(i.field))return!1}return!0})(e,t)&&(function(e,t){for(var n,r=_(e.filters);!(n=r()).done;){if(!n.value.matches(t))return!1}return!0})(e,t)&&(function(e,t){return!(e.startAt&&!Mr(e.startAt,mr(e),t))&&(!e.endAt||!Mr(e.endAt,mr(e),t))})(e,t)}function Tr(e){return function(t,n){for(var r,i=!1,u=_(mr(e));!(r=u()).done;){var a=r.value,s=jr(a,t,n);if(0!==s)return s;i=i||a.field.p()}return 0}}var Ar=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r,i){var u;return(0,y.default)(this,n),(u=t.call(this)).field=e,u.op=r,u.value=i,u}return(0,d.default)(n,[{key:"matches",value:function(e){var t=e.field(this.field);return"!="===this.op?null!==t&&this._n(_t(t,this.value)):null!==t&&It(this.value)===It(t)&&this._n(_t(t,this.value))}},{key:"_n",value:function(e){switch(this.op){case"<":return e<0;case"<=":return e<=0;case"==":return 0===e;case"!=":return 0!==e;case">":return e>0;case">=":return e>=0;default:return M()}}},{key:"hn",value:function(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0}}],[{key:"create",value:function(e,t,r){if(e.p())return"in"===t||"not-in"===t?this.ln(e,t,r):new Sr(e,t,r);if(Ut(r)){if("=="!==t&&"!="!==t)throw new P(L.INVALID_ARGUMENT,"Invalid query. Null only supports '==' and '!=' comparisons.");return new n(e,t,r)}if(Ct(r)){if("=="!==t&&"!="!==t)throw new P(L.INVALID_ARGUMENT,"Invalid query. NaN only supports '==' and '!=' comparisons.");return new n(e,t,r)}return"array-contains"===t?new Rr(e,r):"in"===t?new Vr(e,r):"not-in"===t?new Ur(e,r):"array-contains-any"===t?new Cr(e,r):new n(e,t,r)}},{key:"ln",value:function(e,t,n){return"in"===t?new Dr(e,n):new Lr(e,n)}}]),n})((function(){return function e(){(0,y.default)(this,e)}})());function Nr(e){return e.field.R()+e.op.toString()+At(e.value)}var Sr=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r,i){var u;return(0,y.default)(this,n),(u=t.call(this,e,r,i)).key=Y.C(i.referenceValue),u}return(0,d.default)(n,[{key:"matches",value:function(e){var t=Y.i(e.key,this.key);return this._n(t)}}]),n})(Ar),Dr=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r){var i;return(0,y.default)(this,n),(i=t.call(this,e,"in",r)).keys=Pr("in",r),i}return(0,d.default)(n,[{key:"matches",value:function(e){return this.keys.some(function(t){return t.isEqual(e.key)})}}]),n})(Ar),Lr=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r){var i;return(0,y.default)(this,n),(i=t.call(this,e,"not-in",r)).keys=Pr("not-in",r),i}return(0,d.default)(n,[{key:"matches",value:function(e){return!this.keys.some(function(t){return t.isEqual(e.key)})}}]),n})(Ar);function Pr(e,t){var n;return((null===(n=t.arrayValue)||void 0===n?void 0:n.values)||[]).map(function(e){return Y.C(e.referenceValue)})}var Rr=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r){return(0,y.default)(this,n),t.call(this,e,"array-contains",r)}return(0,d.default)(n,[{key:"matches",value:function(e){var t=e.field(this.field);return Vt(t)&&xt(t.arrayValue,this.value)}}]),n})(Ar),Vr=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r){return(0,y.default)(this,n),t.call(this,e,"in",r)}return(0,d.default)(n,[{key:"matches",value:function(e){var t=e.field(this.field);return null!==t&&xt(this.value.arrayValue,t)}}]),n})(Ar),Ur=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r){return(0,y.default)(this,n),t.call(this,e,"not-in",r)}return(0,d.default)(n,[{key:"matches",value:function(e){if(xt(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;var t=e.field(this.field);return null!==t&&!xt(this.value.arrayValue,t)}}]),n})(Ar),Cr=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r){return(0,y.default)(this,n),t.call(this,e,"array-contains-any",r)}return(0,d.default)(n,[{key:"matches",value:function(e){var t=this,n=e.field(this.field);return!(!Vt(n)||!n.arrayValue.values)&&n.arrayValue.values.some(function(e){return xt(t.value.arrayValue,e)})}}]),n})(Ar),Or=function e(t,n){(0,y.default)(this,e),this.position=t,this.before=n};function Fr(e){return(e.before?"b":"a")+":"+e.position.map(function(e){return At(e)}).join(",")}function Mr(e,t,n){for(var r=0,i=0;i1&&void 0!==arguments[1]?arguments[1]:"asc";(0,y.default)(this,e),this.field=t,this.dir=n};function jr(e,t,n){var r=e.field.p()?Y.i(t.key,n.key):(function(e,t,n){var r=t.field(e),i=n.field(e);return null!==r&&null!==i?_t(r,i):M()})(e.field,t,n);switch(e.dir){case"asc":return r;case"desc":return-1*r;default:return M()}}function zr(e,t){return e.dir===t.dir&&e.field.isEqual(t.field)}var Br=function e(){var t=this;(0,y.default)(this,e),this.promise=new Promise(function(e,n){t.resolve=e,t.reject=n})},Wr=(function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1.5,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:6e4;(0,y.default)(this,e),this.fn=t,this.dn=n,this.wn=r,this.mn=i,this.Tn=u,this.En=0,this.In=null,this.An=Date.now(),this.reset()}return(0,d.default)(e,[{key:"reset",value:function(){this.En=0}},{key:"Rn",value:function(){this.En=this.Tn}},{key:"gn",value:function(e){var t=this;this.cancel();var n=Math.floor(this.En+this.Pn()),r=Math.max(0,Date.now()-this.An),i=Math.max(0,n-r);i>0&&U("ExponentialBackoff","Backing off for "+i+" ms (base delay: "+this.En+" ms, delay with jitter: "+n+" ms, last attempt: "+r+" ms ago)"),this.In=this.fn.yn(this.dn,i,function(){return t.An=Date.now(),e()}),this.En*=this.mn,this.Enthis.Tn&&(this.En=this.Tn)}},{key:"Vn",value:function(){null!==this.In&&(this.In.pn(),this.In=null)}},{key:"cancel",value:function(){null!==this.In&&(this.In.cancel(),this.In=null)}},{key:"Pn",value:function(){return(Math.random()-.5)*this.En}}]),e})(),Kr=(function(){function e(t){var n=this;(0,y.default)(this,e),this.bn=null,this.vn=null,this.result=void 0,this.error=void 0,this.Sn=!1,this.Dn=!1,t(function(e){n.Sn=!0,n.result=e,n.bn&&n.bn(e)},function(e){n.Sn=!0,n.error=e,n.vn&&n.vn(e)})}return(0,d.default)(e,[{key:"catch",value:function(e){return this.next(void 0,e)}},{key:"next",value:function(t,n){var r=this;return this.Dn&&M(),this.Dn=!0,this.Sn?this.error?this.Cn(n,this.error):this.Nn(t,this.result):new e(function(e,i){r.bn=function(n){r.Nn(t,n).next(e,i)},r.vn=function(t){r.Cn(n,t).next(e,i)}})}},{key:"Fn",value:function(){var e=this;return new Promise(function(t,n){e.next(t,n)})}},{key:"xn",value:function(t){try{var n=t();return n instanceof e?n:e.resolve(n)}catch(t){return e.reject(t)}}},{key:"Nn",value:function(t,n){return t?this.xn(function(){return t(n)}):e.resolve(n)}},{key:"Cn",value:function(t,n){return t?this.xn(function(){return t(n)}):e.reject(n)}}],[{key:"resolve",value:function(t){return new e(function(e,n){e(t)})}},{key:"reject",value:function(t){return new e(function(e,n){n(t)})}},{key:"$n",value:function(t){return new e(function(e,n){var r=0,i=0,u=!1;t.forEach(function(t){++r,t.next(function(){++i,u&&i===r&&e()},function(e){return n(e)})}),u=!0,i===r&&e()})}},{key:"kn",value:function(t){for(var n,r=e.resolve(!1),i=function(t){r=r.next(function(n){return n?e.resolve(n):t()})},u=_(t);!(n=u()).done;){i(n.value)}return r}},{key:"forEach",value:function(e,t){var n=this,r=[];return e.forEach(function(e,i){r.push(t.call(n,e,i))}),this.$n(r)}}]),e})(),Qr=(function(){function e(t,n,r){(0,y.default)(this,e),this.name=t,this.version=n,this.Mn=r,12.2===e.On((0,b.getUA)())&&C("Firestore persistence suffers from a bug in iOS 12.2 Safari that may cause your app to stop working. See https://stackoverflow.com/q/56496296/110915 for details and a potential workaround.")}return(0,d.default)(e,[{key:"Wn",value:function(e){var t=this;return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=this.db,n.t0){n.next=6;break}return U("SimpleDb","Opening database:",this.name),n.next=5,c.default.awrap(new Promise(function(n,r){var i=indexedDB.open(t.name,t.version);i.onsuccess=function(e){var t=e.target.result;n(t)},i.onblocked=function(){r(new Yr(e,"Cannot upgrade IndexedDB schema while another tab is open. Close all tabs that access Firestore and reload this page to proceed."))},i.onerror=function(t){var n=t.target.error;"VersionError"===n.name?r(new P(L.FAILED_PRECONDITION,"A newer version of the Firestore SDK was previously used and so the persisted data is not compatible with the version of the SDK you are now using. The SDK will operate with persistence disabled. If you need persistence, please re-upgrade to a newer version of the SDK or else clear the persisted IndexedDB data for your app to start fresh.")):r(new Yr(e,n))},i.onupgradeneeded=function(e){U("SimpleDb",'Database "'+t.name+'" requires upgrade from version:',e.oldVersion);var n=e.target.result;t.Mn.createOrUpgrade(n,i.transaction,e.oldVersion,t.version).next(function(){U("SimpleDb","Database upgrade to version "+t.version+" complete")})}}));case 5:this.db=n.sent;case 6:return this.jn&&(this.db.onversionchange=function(e){return t.jn(e)}),n.abrupt("return",this.db);case 8:case"end":return n.stop()}},null,this,null,Promise)}},{key:"Kn",value:function(e){this.jn=e,this.db&&(this.db.onversionchange=function(t){return e(t)})}},{key:"runTransaction",value:function(e,t,n,r){var i,u,a,s,o=this;return c.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:i="readonly"===t,u=0;case 2:return++u,l.prev=3,l.next=6,c.default.awrap((function(){var t,u;return c.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,c.default.awrap(o.Wn(e));case 2:return o.db=a.sent,t=Xr.open(o.db,e,i?"readonly":"readwrite",n),(u=r(t).catch(function(e){return t.abort(e),Kr.reject(e)}).Fn()).catch(function(){}),a.next=7,c.default.awrap(t.Gn);case 7:return a.t0=u,a.abrupt("return",{v:a.t0});case 9:case"end":return a.stop()}},null,null,null,Promise)})());case 6:if("object"!=typeof(a=l.sent)){l.next=9;break}return l.abrupt("return",a.v);case 9:l.next=16;break;case 11:if(l.prev=11,l.t0=l.catch(3),s="FirebaseError"!==l.t0.name&&u<3,U("SimpleDb","Transaction failed with error:",l.t0.message,"Retrying:",s),this.close(),s){l.next=16;break}return l.abrupt("return",Promise.reject(l.t0));case 16:l.next=2;break;case 18:case"end":return l.stop()}},null,this,[[3,11]],Promise)}},{key:"close",value:function(){this.db&&this.db.close(),this.db=void 0}}],[{key:"delete",value:function(e){return U("SimpleDb","Removing database:",e),Zr(window.indexedDB.deleteDatabase(e)).Fn()}},{key:"Ln",value:function(){if("undefined"==typeof indexedDB)return!1;if(e.Bn())return!0;var t=(0,b.getUA)(),n=e.On(t),r=00||t.indexOf("Trident/")>0||t.indexOf("Edge/")>0||r||u)}},{key:"Bn",value:function(){var e;return"undefined"!=typeof process&&"YES"===(null===(e=process.env)||void 0===e?void 0:e.Un)}},{key:"Qn",value:function(e,t){return e.store(t)}},{key:"On",value:function(e){var t=e.match(/i(?:phone|pad|pod) os ([\d_]+)/i),n=t?t[1].split("_").slice(0,2).join("."):"-1";return Number(n)}},{key:"qn",value:function(e){var t=e.match(/Android ([\d.]+)/i),n=t?t[1].split(".").slice(0,2).join("."):"-1";return Number(n)}}]),e})(),Hr=(function(){function e(t){(0,y.default)(this,e),this.zn=t,this.Hn=!1,this.Yn=null}return(0,d.default)(e,[{key:"done",value:function(){this.Hn=!0}},{key:"Xn",value:function(e){this.Yn=e}},{key:"delete",value:function(){return Zr(this.zn.delete())}},{key:"Sn",get:function(){return this.Hn}},{key:"Jn",get:function(){return this.Yn}},{key:"cursor",set:function(e){this.zn=e}}]),e})(),Yr=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r){var i;return(0,y.default)(this,n),(i=t.call(this,L.UNAVAILABLE,"IndexedDB transaction '"+e+"' failed: "+r)).name="IndexedDbTransactionError",i}return n})(P);function $r(e){return"IndexedDbTransactionError"===e.name}var Xr=(function(){function e(t,n){var r=this;(0,y.default)(this,e),this.action=t,this.transaction=n,this.aborted=!1,this.Zn=new Br,this.transaction.oncomplete=function(){r.Zn.resolve()},this.transaction.onabort=function(){n.error?r.Zn.reject(new Yr(t,n.error)):r.Zn.resolve()},this.transaction.onerror=function(e){var n=ti(e.target.error);r.Zn.reject(new Yr(t,n))}}return(0,d.default)(e,[{key:"abort",value:function(e){e&&this.Zn.reject(e),this.aborted||(U("SimpleDb","Aborting transaction:",e?e.message:"Client-initiated abort"),this.aborted=!0,this.transaction.abort())}},{key:"store",value:function(e){var t=this.transaction.objectStore(e);return new Jr(t)}},{key:"Gn",get:function(){return this.Zn.promise}}],[{key:"open",value:function(t,n,r,i){try{return new e(n,t.transaction(i,r))}catch(t){throw new Yr(n,t)}}}]),e})(),Jr=(function(){function e(t){(0,y.default)(this,e),this.store=t}return(0,d.default)(e,[{key:"put",value:function(e,t){var n;return void 0!==t?(U("SimpleDb","PUT",this.store.name,e,t),n=this.store.put(t,e)):(U("SimpleDb","PUT",this.store.name,"",e),n=this.store.put(e)),Zr(n)}},{key:"add",value:function(e){return U("SimpleDb","ADD",this.store.name,e,e),Zr(this.store.add(e))}},{key:"get",value:function(e){var t=this;return Zr(this.store.get(e)).next(function(n){return void 0===n&&(n=null),U("SimpleDb","GET",t.store.name,e,n),n})}},{key:"delete",value:function(e){return U("SimpleDb","DELETE",this.store.name,e),Zr(this.store.delete(e))}},{key:"count",value:function(){return U("SimpleDb","COUNT",this.store.name),Zr(this.store.count())}},{key:"ts",value:function(e,t){var n=this.cursor(this.options(e,t)),r=[];return this.es(n,function(e,t){r.push(t)}).next(function(){return r})}},{key:"ns",value:function(e,t){U("SimpleDb","DELETE ALL",this.store.name);var n=this.options(e,t);n.ss=!1;var r=this.cursor(n);return this.es(r,function(e,t,n){return n.delete()})}},{key:"rs",value:function(e,t){var n;t?n=e:(n={},t=e);var r=this.cursor(n);return this.es(r,t)}},{key:"os",value:function(e){var t=this.cursor({});return new Kr(function(n,r){t.onerror=function(e){var t=ti(e.target.error);r(t)},t.onsuccess=function(t){var r=t.target.result;r?e(r.primaryKey,r.value).next(function(e){e?r.continue():n()}):n()}})}},{key:"es",value:function(e,t){var n=[];return new Kr(function(r,i){e.onerror=function(e){i(e.target.error)},e.onsuccess=function(e){var i=e.target.result;if(i){var u=new Hr(i),a=t(i.primaryKey,i.value,u);if(a instanceof Kr){var s=a.catch(function(e){return u.done(),Kr.reject(e)});n.push(s)}u.Sn?r():null===u.Jn?i.continue():i.continue(u.Jn)}else r()}}).next(function(){return Kr.$n(n)})}},{key:"options",value:function(e,t){var n=void 0;return void 0!==e&&("string"==typeof e?n=e:t=e),{index:n,range:t}}},{key:"cursor",value:function(e){var t="next";if(e.reverse&&(t="prev"),e.index){var n=this.store.index(e.index);return e.ss?n.openKeyCursor(e.range,t):n.openCursor(e.range,t)}return this.store.openCursor(e.range,t)}}]),e})();function Zr(e){return new Kr(function(t,n){e.onsuccess=function(e){var n=e.target.result;t(n)},e.onerror=function(e){var t=ti(e.target.error);n(t)}})}var ei=!1;function ti(e){var t=Qr.On((0,b.getUA)());if(t>=12.2&&t<13){if(e.message.indexOf("An internal error was encountered in the Indexed Database server")>=0){var n=new P("internal","IOS_INDEXEDDB_BUG1: IndexedDb has thrown 'An internal error was encountered in the Indexed Database server'. This is likely due to an unavoidable bug in iOS. See https://stackoverflow.com/q/56496296/110915 for details and a potential workaround.");return ei||(ei=!0,setTimeout(function(){throw n},0)),n}}return e}function ni(){return"undefined"!=typeof window?window:null}function ri(){return"undefined"!=typeof document?document:null}var ii=(function(){function e(t,n,r,i,u){(0,y.default)(this,e),this.cs=t,this.dn=n,this.us=r,this.op=i,this.hs=u,this.ls=new Br,this.then=this.ls.promise.then.bind(this.ls.promise),this.ls.promise.catch(function(e){})}return(0,d.default)(e,[{key:"start",value:function(e){var t=this;this.fs=setTimeout(function(){return t.ds()},e)}},{key:"pn",value:function(){return this.ds()}},{key:"cancel",value:function(e){null!==this.fs&&(this.clearTimeout(),this.ls.reject(new P(L.CANCELLED,"Operation cancelled"+(e?": "+e:""))))}},{key:"ds",value:function(){var e=this;this.cs.ws(function(){return null!==e.fs?(e.clearTimeout(),e.op().then(function(t){return e.ls.resolve(t)})):Promise.resolve()})}},{key:"clearTimeout",value:(function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t})(function(){null!==this.fs&&(this.hs(this),clearTimeout(this.fs),this.fs=null)})}],[{key:"_s",value:function(t,n,r,i,u){var a=new e(t,n,Date.now()+r,i,u);return a.start(r),a}}]),e})(),ui=(function(){function e(){var t=this;(0,y.default)(this,e),this.Ts=Promise.resolve(),this.Es=[],this.Is=!1,this.As=[],this.Rs=null,this.gs=!1,this.Ps=[],this.ys=new Wr(this,"async_queue_retry"),this.Vs=function(){var e=ri();e&&U("AsyncQueue","Visibility state changed to ",e.visibilityState),t.ys.Vn()};var n=ri();n&&"function"==typeof n.addEventListener&&n.addEventListener("visibilitychange",this.Vs)}return(0,d.default)(e,[{key:"ws",value:function(e){this.enqueue(e)}},{key:"bs",value:function(e){this.vs(),this.Ss(e)}},{key:"Ds",value:function(){if(!this.Is){this.Is=!0;var e=ri();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("visibilitychange",this.Vs)}}},{key:"enqueue",value:function(e){return this.vs(),this.Is?new Promise(function(e){}):this.Ss(e)}},{key:"Cs",value:function(e){var t=this;this.ws(function(){return t.Es.push(e),t.Ns()})}},{key:"Ns",value:function(){var e=this;return c.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(0===this.Es.length){t.next=14;break}return t.prev=1,t.next=4,c.default.awrap(this.Es[0]());case 4:this.Es.shift(),this.ys.reset(),t.next=13;break;case 8:if(t.prev=8,t.t0=t.catch(1),$r(t.t0)){t.next=12;break}throw t.t0;case 12:U("AsyncQueue","Operation failed with retryable error: "+t.t0);case 13:this.Es.length>0&&this.ys.gn(function(){return e.Ns()});case 14:case"end":return t.stop()}},null,this,[[1,8]],Promise)}},{key:"Ss",value:function(e){var t=this,n=this.Ts.then(function(){return t.gs=!0,e().catch(function(e){throw t.Rs=e,t.gs=!1,C("INTERNAL UNHANDLED ERROR: ",(function(e){var t=e.message||"";return e.stack&&(t=e.stack.includes(e.message)?e.stack:e.message+"\n"+e.stack),t})(e)),e}).then(function(e){return t.gs=!1,e})});return this.Ts=n,n}},{key:"yn",value:function(e,t,n){var r=this;this.vs(),this.Ps.indexOf(e)>-1&&(t=0);var i=ii._s(this,e,t,n,function(e){return r.Fs(e)});return this.As.push(i),i}},{key:"vs",value:function(){this.Rs&&M()}},{key:"xs",value:function(){}},{key:"$s",value:function(){var e;return c.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return e=this.Ts,t.next=3,c.default.awrap(e);case 3:if(e!==this.Ts){t.next=0;break}case 4:case"end":return t.stop()}},null,this,null,Promise)}},{key:"ks",value:function(e){for(var t,n=_(this.As);!(t=n()).done;){if(t.value.dn===e)return!0}return!1}},{key:"Ms",value:function(e){var t=this;return this.$s().then(function(){t.As.sort(function(e,t){return e.us-t.us});for(var n,r=_(t.As);!(n=r()).done;){var i=n.value;if(i.pn(),"all"!==e&&i.dn===e)break}return t.$s()})}},{key:"Os",value:function(e){this.Ps.push(e)}},{key:"Fs",value:function(e){var t=this.As.indexOf(e);this.As.splice(t,1)}},{key:"ps",get:function(){return this.Is}}]),e})();function ai(e,t){if(C("AsyncQueue",t+": "+e),$r(e))return new P(L.UNAVAILABLE,t+": "+e);throw e}var si=function e(){(0,y.default)(this,e),this.Ls=void 0,this.listeners=[]},oi=function e(){(0,y.default)(this,e),this.Bs=new Ae(function(e){return Er(e)},Ir),this.onlineState="Unknown",this.qs=new Set};function ci(e,t){var n,r,i,u,a;return c.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(n=G(e),r=t.query,i=!1,(u=n.Bs.get(r))||(i=!0,u=new si),!i){s.next=13;break}return s.prev=3,s.next=6,c.default.awrap(n.Us(r));case 6:u.Ls=s.sent,s.next=13;break;case 9:return s.prev=9,s.t0=s.catch(3),a=ai(s.t0,"Initialization of query '"+xr(t.query)+"' failed"),s.abrupt("return",void t.onError(a));case 13:n.Bs.set(r,u),u.listeners.push(t),t.Qs(n.onlineState),u.Ls&&t.Ws(u.Ls)&&di(n);case 16:case"end":return s.stop()}},null,null,[[3,9]],Promise)}function li(e,t){var n,r,i,u,a;return c.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(n=G(e),r=t.query,i=!1,(u=n.Bs.get(r))&&(a=u.listeners.indexOf(t))>=0&&(u.listeners.splice(a,1),i=0===u.listeners.length),!i){s.next=6;break}return s.abrupt("return",(n.Bs.delete(r),n.js(r)));case 6:case"end":return s.stop()}},null,null,null,Promise)}function fi(e,t){for(var n,r=G(e),i=!1,u=_(t);!(n=u()).done;){var a=n.value,s=a.query,o=r.Bs.get(s);if(o){for(var c,l=_(o.listeners);!(c=l()).done;){c.value.Ws(a)&&(i=!0)}o.Ls=a}}i&&di(r)}function hi(e,t,n){var r=G(e),i=r.Bs.get(t);if(i)for(var u,a=_(i.listeners);!(u=a()).done;){u.value.onError(n)}r.Bs.delete(t)}function di(e){e.qs.forEach(function(e){e.next()})}var vi=(function(){function e(t,n,r){(0,y.default)(this,e),this.query=t,this.Ks=n,this.Gs=!1,this.zs=null,this.onlineState="Unknown",this.options=r||{}}return(0,d.default)(e,[{key:"Ws",value:function(e){if(!this.options.includeMetadataChanges){for(var t,n=[],r=_(e.docChanges);!(t=r()).done;){var i=t.value;3!==i.type&&n.push(i)}e=new ot(e.query,e.docs,e.Qt,n,e.Wt,e.fromCache,e.jt,!0)}var u=!1;return this.Gs?this.Hs(e)&&(this.Ks.next(e),u=!0):this.Ys(e,this.onlineState)&&(this.Js(e),u=!0),this.zs=e,u}},{key:"onError",value:function(e){this.Ks.error(e)}},{key:"Qs",value:function(e){this.onlineState=e;var t=!1;return this.zs&&!this.Gs&&this.Ys(this.zs,e)&&(this.Js(this.zs),t=!0),t}},{key:"Ys",value:function(e,t){if(!e.fromCache)return!0;var n="Offline"!==t;return!(this.options.Xs&&n||e.docs.m()&&"Offline"!==t)}},{key:"Hs",value:function(e){if(e.docChanges.length>0)return!0;var t=this.zs&&this.zs.hasPendingWrites!==e.hasPendingWrites;return!(!e.jt&&!t)&&!0===this.options.includeMetadataChanges}},{key:"Js",value:function(e){e=ot.Gt(e.query,e.docs,e.Wt,e.fromCache),this.Gs=!0,this.Ks.next(e)}}]),e})(),yi=(function(){function e(t){(0,y.default)(this,e),this.uid=t}return(0,d.default)(e,[{key:"Zs",value:function(){return null!=this.uid}},{key:"ti",value:function(){return this.Zs()?"uid:"+this.uid:"anonymous-user"}},{key:"isEqual",value:function(e){return e.uid===this.uid}}]),e})();yi.UNAUTHENTICATED=new yi(null),yi.ei=new yi("google-credentials-uid"),yi.ni=new yi("first-party-uid");var pi=(function(){function e(t,n){var r=this;(0,y.default)(this,e),this.previousValue=t,n&&(n.si=function(e){return r.ii(e)},this.ri=function(e){return n.oi(e)})}return(0,d.default)(e,[{key:"ii",value:function(e){return this.previousValue=Math.max(e,this.previousValue),this.previousValue}},{key:"next",value:function(){var e=++this.previousValue;return this.ri&&this.ri(e),e}}]),e})();function mi(e,t){return"firestore_clients_"+e+"_"+t}function gi(e,t,n){var r="firestore_mutations_"+e+"_"+n;return t.Zs()&&(r+="_"+t.uid),r}function ki(e,t){return"firestore_targets_"+e+"_"+t}pi.ai=-1;var wi=(function(){function e(t,n,r,i){(0,y.default)(this,e),this.user=t,this.batchId=n,this.state=r,this.error=i}return(0,d.default)(e,[{key:"ui",value:function(){var e={state:this.state,updateTimeMs:Date.now()};return this.error&&(e.error={code:this.error.code,message:this.error.message}),JSON.stringify(e)}}],[{key:"ci",value:function(t,n,r){var i=JSON.parse(r),u="object"==typeof i&&-1!==["pending","acknowledged","rejected"].indexOf(i.state)&&(void 0===i.error||"object"==typeof i.error),a=void 0;return u&&i.error&&((u="string"==typeof i.error.message&&"string"==typeof i.error.code)&&(a=new P(i.error.code,i.error.message))),u?new e(t,n,i.state,a):(C("SharedClientState","Failed to parse mutation state for ID '"+n+"': "+r),null)}}]),e})(),bi=(function(){function e(t,n,r){(0,y.default)(this,e),this.targetId=t,this.state=n,this.error=r}return(0,d.default)(e,[{key:"ui",value:function(){var e={state:this.state,updateTimeMs:Date.now()};return this.error&&(e.error={code:this.error.code,message:this.error.message}),JSON.stringify(e)}}],[{key:"ci",value:function(e,t){var n=JSON.parse(t),r="object"==typeof n&&-1!==["not-current","current","rejected"].indexOf(n.state)&&(void 0===n.error||"object"==typeof n.error),i=void 0;return r&&n.error&&((r="string"==typeof n.error.message&&"string"==typeof n.error.code)&&(i=new P(n.error.code,n.error.message))),r?new bi(e,n.state,i):(C("SharedClientState","Failed to parse target state for ID '"+e+"': "+t),null)}}]),e})(),Ii=(function(){function e(t,n){(0,y.default)(this,e),this.clientId=t,this.activeTargetIds=n}return(0,d.default)(e,null,[{key:"ci",value:function(t,n){for(var r=JSON.parse(n),i="object"==typeof r&&r.activeTargetIds instanceof Array,u=ut(),a=0;i&&ac.params.oo?(U("LruGarbageCollector","Capping sequence numbers to collect down to the maximum of "+c.params.oo+" from "+t),r=c.params.oo):r=t,u=Date.now(),c.yo(e,r)}).next(function(r){return n=r,a=Date.now(),c.po(e,n,t)}).next(function(t){return i=t,s=Date.now(),c.bo(e,n)}).next(function(e){return o=Date.now(),V()<=I.LogLevel.DEBUG&&U("LruGarbageCollector","LRU Garbage Collection\n\tCounted targets in "+(u-l)+"ms\n\tDetermined least recently used "+r+" in "+(a-u)+"ms\n\tRemoved "+i+" targets in "+(s-a)+"ms\n\tRemoved "+e+" documents in "+(o-s)+"ms\nTotal Duration: "+(o-l)+"ms"),Kr.resolve({Zr:!0,eo:r,no:i,so:e})})}}]),e})();function qi(e){for(var t="",n=0;n0&&(t=ji(t)),t=Gi(e.get(n),t);return ji(t)}function Gi(e,t){for(var n=t,r=e.length,i=0;i=2),2===t)return q("\x01"===e.charAt(0)&&"\x01"===e.charAt(1)),K.P();for(var n=t-2,r=[],i="",u=0;un)&&M(),e.charAt(a+1)){case"\x01":var s=e.substring(u,a),o=void 0;0===i.length?o=s:(o=i+=s,i=""),r.push(o);break;case"\x10":i+=e.substring(u,a),i+="\0";break;case"\x11":i+=e.substring(u,a+1);break;default:M()}u=a+2}return new K(r)}var Bi=function e(t){(0,y.default)(this,e),this.Co=t};function Wi(e,t){if(t.document)return(function(e,t,n){var r=Xt(e,t.name),i=Qt(t.updateTime),u=new nr({mapValue:{fields:t.fields}});return new ar(r,i,u,{hasCommittedMutations:!!n})})(e.Co,t.document,!!t.hasCommittedMutations);if(t.noDocument){var n=Y.$(t.noDocument.path),r=$i(t.noDocument.readTime);return new sr(n,r,{hasCommittedMutations:!!t.hasCommittedMutations})}if(t.unknownDocument){var i=Y.$(t.unknownDocument.path),u=$i(t.unknownDocument.version);return new or(i,u)}return M()}function Ki(e,t,n){var r=Qi(n),i=t.key.path.h().A();if(t instanceof ar){var u=(function(e,t){return{name:$t(e,t.key),fields:t.rn().mapValue.fields,updateTime:Bt(e,t.version.Z())}})(e.Co,t),a=t.hasCommittedMutations;return new Iu(null,null,u,a,r,i)}if(t instanceof sr){var s=t.key.path.A(),o=Yi(t.version),c=t.hasCommittedMutations;return new Iu(null,new wu(s,o),null,c,r,i)}if(t instanceof or){var l=t.key.path.A(),f=Yi(t.version);return new Iu(new bu(l,f),null,null,!0,r,i)}return M()}function Qi(e){var t=e.Z();return[t.seconds,t.nanoseconds]}function Hi(e){var t=new Ne(e[0],e[1]);return Se.J(t)}function Yi(e){var t=e.Z();return new yu(t.seconds,t.nanoseconds)}function $i(e){var t=new Ne(e.seconds,e.nanoseconds);return Se.J(t)}function Xi(e,t){var n=(t.baseMutations||[]).map(function(t){return sn(e.Co,t)}),r=t.mutations.map(function(t){return sn(e.Co,t)}),i=Ne.fromMillis(t.localWriteTimeMs);return new Ai(t.batchId,i,n,r)}function Ji(e){var t,n,r=$i(e.readTime),i=void 0!==e.lastLimboFreeSnapshotVersion?$i(e.lastLimboFreeSnapshotVersion):Se.min();return void 0!==e.query.documents?(q(1===(n=e.query).documents.length),t=gr(fr(Zt(n.documents[0])))):t=fn(e.query),new Ge(t,e.targetId,0,e.lastListenSequenceNumber,r,i,be.fromBase64String(e.resumeToken))}function Zi(e,t){var n,r=Yi(t.nt),i=Yi(t.lastLimboFreeSnapshotVersion);n=Fe(t.target)?cn(e.Co,t.target):ln(e.Co,t.target);var u=t.resumeToken.toBase64();return new xu(t.targetId,Ue(t.target),r,u,t.sequenceNumber,i,n)}var eu=(function(){function e(t,n,r,i){(0,y.default)(this,e),this.userId=t,this.serializer=n,this.Dr=r,this.No=i,this.Fo={}}return(0,d.default)(e,[{key:"$o",value:function(e){var t=!0,n=IDBKeyRange.bound([this.userId,Number.NEGATIVE_INFINITY],[this.userId,Number.POSITIVE_INFINITY]);return ru(e).rs({index:gu.userMutationsIndex,range:n},function(e,n,r){t=!1,r.done()}).next(function(){return t})}},{key:"ko",value:function(e,t,n,r){var i=this,u=iu(e),a=ru(e);return a.add({}).next(function(s){q("number"==typeof s);for(var o,c=new Ai(s,t,n,r),l=(function(e,t,n){var r=n.baseMutations.map(function(t){return an(e.Co,t)}),i=n.mutations.map(function(t){return an(e.Co,t)});return new gu(t,n.batchId,n.ar.toMillis(),r,i)})(i.serializer,i.userId,c),f=[],h=new He(function(e,t){return ge(e.R(),t.R())}),d=_(r);!(o=d()).done;){var v=o.value,y=ku.key(i.userId,v.key.path,s);h=h.add(v.key.path.h()),f.push(a.put(l)),f.push(u.put(y,ku.PLACEHOLDER))}return h.forEach(function(t){f.push(i.Dr.Mo(e,t))}),e.pr(function(){i.Fo[s]=c.keys()}),Kr.$n(f).next(function(){return c})})}},{key:"Oo",value:function(e,t){var n=this;return ru(e).get(t).next(function(e){return e?(q(e.userId===n.userId),Xi(n.serializer,e)):null})}},{key:"Lo",value:function(e,t){var n=this;return this.Fo[t]?Kr.resolve(this.Fo[t]):this.Oo(e,t).next(function(e){if(e){var r=e.keys();return n.Fo[t]=r,r}return null})}},{key:"Bo",value:function(e,t){var n=this,r=t+1,i=IDBKeyRange.lowerBound([this.userId,r]),u=null;return ru(e).rs({index:gu.userMutationsIndex,range:i},function(e,t,i){t.userId===n.userId&&(q(t.batchId>=r),u=Xi(n.serializer,t)),i.done()}).next(function(){return u})}},{key:"qo",value:function(e){var t=IDBKeyRange.upperBound([this.userId,Number.POSITIVE_INFINITY]),n=-1;return ru(e).rs({index:gu.userMutationsIndex,range:t,reverse:!0},function(e,t,r){n=t.batchId,r.done()}).next(function(){return n})}},{key:"Uo",value:function(e){var t=this,n=IDBKeyRange.bound([this.userId,-1],[this.userId,Number.POSITIVE_INFINITY]);return ru(e).ts(gu.userMutationsIndex,n).next(function(e){return e.map(function(e){return Xi(t.serializer,e)})})}},{key:"Nr",value:function(e,t){var n=this,r=ku.prefixForPath(this.userId,t.path),i=IDBKeyRange.lowerBound(r),u=[];return iu(e).rs({range:i},function(r,i,a){var s=(0,f.default)(r,3),o=s[0],c=s[1],l=s[2],h=zi(c);if(o===n.userId&&t.path.isEqual(h))return ru(e).get(l).next(function(e){if(!e)throw M();q(e.userId===n.userId),u.push(Xi(n.serializer,e))});a.done()}).next(function(){return u})}},{key:"Or",value:function(e,t){var n=this,r=new He(ge),i=[];return t.forEach(function(t){var u=ku.prefixForPath(n.userId,t.path),a=IDBKeyRange.lowerBound(u),s=iu(e).rs({range:a},function(e,i,u){var a=(0,f.default)(e,3),s=a[0],o=a[1],c=a[2],l=zi(o);s===n.userId&&t.path.isEqual(l)?r=r.add(c):u.done()});i.push(s)}),Kr.$n(i).next(function(){return n.Qo(e,r)})}},{key:"Wr",value:function(e,t){var n=this,r=t.path,i=r.length+1,u=ku.prefixForPath(this.userId,r),a=IDBKeyRange.lowerBound(u),s=new He(ge);return iu(e).rs({range:a},function(e,t,u){var a=(0,f.default)(e,3),o=a[0],c=a[1],l=a[2],h=zi(c);o===n.userId&&r.T(h)?h.length===i&&(s=s.add(l)):u.done()}).next(function(){return n.Qo(e,s)})}},{key:"Qo",value:function(e,t){var n=this,r=[],i=[];return t.forEach(function(t){i.push(ru(e).get(t).next(function(e){if(null===e)throw M();q(e.userId===n.userId),r.push(Xi(n.serializer,e))}))}),Kr.$n(i).next(function(){return r})}},{key:"Wo",value:function(e,t){var n=this;return nu(e.jo,this.userId,t).next(function(r){return e.pr(function(){n.Ko(t.batchId)}),Kr.forEach(r,function(t){return n.No.Go(e,t)})})}},{key:"Ko",value:function(e){delete this.Fo[e]}},{key:"zo",value:function(e){var t=this;return this.$o(e).next(function(n){if(!n)return Kr.resolve();var r=IDBKeyRange.lowerBound(ku.prefixForUser(t.userId)),i=[];return iu(e).rs({range:r},function(e,n,r){if(e[0]===t.userId){var u=zi(e[1]);i.push(u)}else r.done()}).next(function(){q(0===i.length)})})}},{key:"Ho",value:function(e,t){return tu(e,this.userId,t)}},{key:"Yo",value:function(e){var t=this;return uu(e).get(this.userId).next(function(e){return e||new mu(t.userId,-1,"")})}}],[{key:"xo",value:function(t,n,r,i){return q(""!==t.uid),new e(t.Zs()?t.uid:"",n,r,i)}}]),e})();function tu(e,t,n){var r=ku.prefixForPath(t,n.path),i=r[1],u=IDBKeyRange.lowerBound(r),a=!1;return iu(e).rs({range:u,ss:!0},function(e,n,r){var u=(0,f.default)(e,3),s=u[0],o=u[1];u[2];s===t&&o===i&&(a=!0),r.done()}).next(function(){return a})}function nu(e,t,n){var r=e.store(gu.store),i=e.store(ku.store),u=[],a=IDBKeyRange.only(n.batchId),s=0,o=r.rs({range:a},function(e,t,n){return s++,n.delete()});u.push(o.next(function(){q(1===s)}));for(var c,l=[],f=_(n.mutations);!(c=f()).done;){var h=c.value,d=ku.key(t,h.key.path,n.batchId);u.push(i.delete(d)),l.push(h.key)}return Kr.$n(u).next(function(){return l})}function ru(e){return qu.Qn(e,gu.store)}function iu(e){return qu.Qn(e,ku.store)}function uu(e){return qu.Qn(e,mu.store)}var au=(function(){function e(t,n){(0,y.default)(this,e),this.serializer=t,this.Dr=n}return(0,d.default)(e,[{key:"Er",value:function(e,t,n){return cu(e).put(lu(t),n)}},{key:"Ar",value:function(e,t){var n=cu(e),r=lu(t);return n.delete(r)}},{key:"updateMetadata",value:function(e,t){var n=this;return this.getMetadata(e).next(function(r){return r.byteSize+=t,n.Jo(e,r)})}},{key:"Rr",value:function(e,t){var n=this;return cu(e).get(lu(t)).next(function(e){return n.Xo(e)})}},{key:"Zo",value:function(e,t){var n=this;return cu(e).get(lu(t)).next(function(e){var t=n.Xo(e);return t?{ta:t,size:fu(e)}:null})}},{key:"getEntries",value:function(e,t){var n=this,r=Je();return this.ea(e,t,function(e,t){var i=n.Xo(t);r=r.ot(e,i)}).next(function(){return r})}},{key:"na",value:function(e,t){var n=this,r=Je(),i=new We(Y.i);return this.ea(e,t,function(e,t){var u=n.Xo(t);u?(r=r.ot(e,u),i=i.ot(e,fu(t))):(r=r.ot(e,null),i=i.ot(e,0))}).next(function(){return{sa:r,ia:i}})}},{key:"ea",value:function(e,t,n){if(t.m())return Kr.resolve();var r=IDBKeyRange.bound(t.first().path.A(),t.last().path.A()),i=t._t(),u=i.It();return cu(e).rs({range:r},function(e,t,r){for(var a=Y.$(e);u&&Y.i(u,a)<0;)n(u,null),u=i.It();u&&u.isEqual(a)&&(n(u,t),u=i.At()?i.It():null),u?r.Xn(u.path.A()):r.done()}).next(function(){for(;u;)n(u,null),u=i.At()?i.It():null})}},{key:"Lr",value:function(e,t,n){var r=this,i=et(),u=t.path.length+1,a={};if(n.isEqual(Se.min())){var s=t.path.A();a.range=IDBKeyRange.lowerBound(s)}else{var o=t.path.A(),c=Qi(n);a.range=IDBKeyRange.lowerBound([o,c],!0),a.index=Iu.collectionReadTimeIndex}return cu(e).rs(a,function(e,n,a){if(e.length===u){var s=Wi(r.serializer,n);t.path.T(s.key.path)?s instanceof ar&&_r(t,s)&&(i=i.ot(s.key,s)):a.done()}}).next(function(){return i})}},{key:"ra",value:function(e){return new su(this,!!e&&e.oa)}},{key:"aa",value:function(e){return this.getMetadata(e).next(function(e){return e.byteSize})}},{key:"getMetadata",value:function(e){return ou(e).get(Eu.key).next(function(e){return q(!!e),e})}},{key:"Jo",value:function(e,t){return ou(e).put(Eu.key,t)}},{key:"Xo",value:function(e){if(e){var t=Wi(this.serializer,e);return t instanceof sr&&t.version.isEqual(Se.min())?null:t}return null}}]),e})(),su=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r){var i;return(0,y.default)(this,n),(i=t.call(this)).ca=e,i.oa=r,i.ua=new Ae(function(e){return e.toString()},function(e,t){return e.isEqual(t)}),i}return(0,d.default)(n,[{key:"yr",value:function(e){var t=this,n=[],r=0,i=new He(function(e,t){return ge(e.R(),t.R())});return this.wr.forEach(function(u,a){var s=t.ua.get(u);if(a){var o=Ki(t.ca.serializer,a,t.readTime);i=i.add(u.path.h());var c=fu(o);r+=c-s,n.push(t.ca.Er(e,u,o))}else if(r-=s,t.oa){var l=Ki(t.ca.serializer,new sr(u,Se.min()),t.readTime);n.push(t.ca.Er(e,u,l))}else n.push(t.ca.Ar(e,u))}),i.forEach(function(r){n.push(t.ca.Dr.Mo(e,r))}),n.push(this.ca.updateMetadata(e,r)),Kr.$n(n)}},{key:"gr",value:function(e,t){var n=this;return this.ca.Zo(e,t).next(function(e){return null===e?(n.ua.set(t,0),null):(n.ua.set(t,e.size),e.ta)})}},{key:"Pr",value:function(e,t){var n=this;return this.ca.na(e,t).next(function(e){var t=e.sa;return e.ia.forEach(function(e,t){n.ua.set(e,t)}),t})}}]),n})(Si);function ou(e){return qu.Qn(e,Eu.store)}function cu(e){return qu.Qn(e,Iu.store)}function lu(e){return e.path.A()}function fu(e){var t;if(e.document)t=e.document;else if(e.unknownDocument)t=e.unknownDocument;else{if(!e.noDocument)throw M();t=e.noDocument}return JSON.stringify(t).length}var hu=(function(){function e(){(0,y.default)(this,e),this.ha=new du}return(0,d.default)(e,[{key:"Mo",value:function(e,t){return this.ha.add(t),Kr.resolve()}},{key:"Qr",value:function(e,t){return Kr.resolve(this.ha.getEntries(t))}}]),e})(),du=(function(){function e(){(0,y.default)(this,e),this.index={}}return(0,d.default)(e,[{key:"add",value:function(e){var t=e._(),n=e.h(),r=this.index[t]||new He(K.i),i=!r.has(n);return this.index[t]=r.add(n),i}},{key:"has",value:function(e){var t=e._(),n=e.h(),r=this.index[t];return r&&r.has(n)}},{key:"getEntries",value:function(e){return(this.index[e]||new He(K.i)).A()}}]),e})(),vu=(function(){function e(t){(0,y.default)(this,e),this.serializer=t}return(0,d.default)(e,[{key:"createOrUpgrade",value:function(e,t,n,r){var i=this;q(n=0&&r<=10);var u=new Xr("createOrUpgrade",t);n<1&&r>=1&&((function(e){e.createObjectStore(pu.store)})(e),(function(e){e.createObjectStore(mu.store,{keyPath:mu.keyPath}),e.createObjectStore(gu.store,{keyPath:gu.keyPath,autoIncrement:!0}).createIndex(gu.userMutationsIndex,gu.userMutationsKeyPath,{unique:!0}),e.createObjectStore(ku.store)})(e),Nu(e),(function(e){e.createObjectStore(Iu.store)})(e));var a=Kr.resolve();return n<3&&r>=3&&(0!==n&&((function(e){e.deleteObjectStore(_u.store),e.deleteObjectStore(xu.store),e.deleteObjectStore(Tu.store)})(e),Nu(e)),a=a.next(function(){return e=u.store(Tu.store),t=new Tu(0,0,Se.min().Z(),0),e.put(Tu.key,t);var e,t})),n<4&&r>=4&&(0!==n&&(a=a.next(function(){return(function(e,t){return t.store(gu.store).ts().next(function(n){e.deleteObjectStore(gu.store),e.createObjectStore(gu.store,{keyPath:gu.keyPath,autoIncrement:!0}).createIndex(gu.userMutationsIndex,gu.userMutationsKeyPath,{unique:!0});var r=t.store(gu.store),i=n.map(function(e){return r.put(e)});return Kr.$n(i)})})(e,u)})),a=a.next(function(){!(function(e){e.createObjectStore(Su.store,{keyPath:Su.keyPath})})(e)})),n<5&&r>=5&&(a=a.next(function(){return i.removeAcknowledgedMutations(u)})),n<6&&r>=6&&(a=a.next(function(){return(function(e){e.createObjectStore(Eu.store)})(e),i.addDocumentGlobal(u)})),n<7&&r>=7&&(a=a.next(function(){return i.ensureSequenceNumbers(u)})),n<8&&r>=8&&(a=a.next(function(){return i.createCollectionParentIndex(e,u)})),n<9&&r>=9&&(a=a.next(function(){!(function(e){e.objectStoreNames.contains("remoteDocumentChanges")&&e.deleteObjectStore("remoteDocumentChanges")})(e),(function(e){var t=e.objectStore(Iu.store);t.createIndex(Iu.readTimeIndex,Iu.readTimeIndexPath,{unique:!1}),t.createIndex(Iu.collectionReadTimeIndex,Iu.collectionReadTimeIndexPath,{unique:!1})})(t)})),n<10&&r>=10&&(a=a.next(function(){return i.rewriteCanonicalIds(u)})),a}},{key:"addDocumentGlobal",value:function(e){var t=0;return e.store(Iu.store).rs(function(e,n){t+=fu(n)}).next(function(){var n=new Eu(t);return e.store(Eu.store).put(Eu.key,n)})}},{key:"removeAcknowledgedMutations",value:function(e){var t=this,n=e.store(mu.store),r=e.store(gu.store);return n.ts().next(function(n){return Kr.forEach(n,function(n){var i=IDBKeyRange.bound([n.userId,-1],[n.userId,n.lastAcknowledgedBatchId]);return r.ts(gu.userMutationsIndex,i).next(function(r){return Kr.forEach(r,function(r){q(r.userId===n.userId);var i=Xi(t.serializer,r);return nu(e,n.userId,i).next(function(){})})})})})}},{key:"ensureSequenceNumbers",value:function(e){var t=e.store(_u.store),n=e.store(Iu.store);return e.store(Tu.store).get(Tu.key).next(function(e){var r=[];return n.rs(function(n,i){var u=new K(n),a=[0,qi(u)];r.push(t.get(a).next(function(n){return n?Kr.resolve():(function(n){return t.put(new _u(0,qi(n),e.highestListenSequenceNumber))})(u)}))}).next(function(){return Kr.$n(r)})})}},{key:"createCollectionParentIndex",value:function(e,t){e.createObjectStore(Au.store,{keyPath:Au.keyPath});var n=t.store(Au.store),r=new du,i=function(e){if(r.add(e)){var t=e._(),i=e.h();return n.put({collectionId:t,parent:qi(i)})}};return t.store(Iu.store).rs({ss:!0},function(e,t){var n=new K(e);return i(n.h())}).next(function(){return t.store(ku.store).rs({ss:!0},function(e,t){var n=(0,f.default)(e,3),r=(n[0],n[1]),u=(n[2],zi(r));return i(u.h())})})}},{key:"rewriteCanonicalIds",value:function(e){var t=this,n=e.store(xu.store);return n.rs(function(e,r){var i=Ji(r),u=Zi(t.serializer,i);return n.put(u)})}}]),e})(),yu=function e(t,n){(0,y.default)(this,e),this.seconds=t,this.nanoseconds=n},pu=function e(t,n,r){(0,y.default)(this,e),this.ownerId=t,this.allowTabSynchronization=n,this.leaseTimestampMs=r};pu.store="owner",pu.key="owner";var mu=function e(t,n,r){(0,y.default)(this,e),this.userId=t,this.lastAcknowledgedBatchId=n,this.lastStreamToken=r};mu.store="mutationQueues",mu.keyPath="userId";var gu=function e(t,n,r,i,u){(0,y.default)(this,e),this.userId=t,this.batchId=n,this.localWriteTimeMs=r,this.baseMutations=i,this.mutations=u};gu.store="mutations",gu.keyPath="batchId",gu.userMutationsIndex="userMutationsIndex",gu.userMutationsKeyPath=["userId","batchId"];var ku=(function(){function e(){(0,y.default)(this,e)}return(0,d.default)(e,null,[{key:"prefixForUser",value:function(e){return[e]}},{key:"prefixForPath",value:function(e,t){return[e,qi(t)]}},{key:"key",value:function(e,t,n){return[e,qi(t),n]}}]),e})();ku.store="documentMutations",ku.PLACEHOLDER=new ku;var wu=function e(t,n){(0,y.default)(this,e),this.path=t,this.readTime=n},bu=function e(t,n){(0,y.default)(this,e),this.path=t,this.version=n},Iu=function e(t,n,r,i,u,a){(0,y.default)(this,e),this.unknownDocument=t,this.noDocument=n,this.document=r,this.hasCommittedMutations=i,this.readTime=u,this.parentPath=a};Iu.store="remoteDocuments",Iu.readTimeIndex="readTimeIndex",Iu.readTimeIndexPath="readTime",Iu.collectionReadTimeIndex="collectionReadTimeIndex",Iu.collectionReadTimeIndexPath=["parentPath","readTime"];var Eu=function e(t){(0,y.default)(this,e),this.byteSize=t};Eu.store="remoteDocumentGlobal",Eu.key="remoteDocumentGlobalKey";var xu=function e(t,n,r,i,u,a,s){(0,y.default)(this,e),this.targetId=t,this.canonicalId=n,this.readTime=r,this.resumeToken=i,this.lastListenSequenceNumber=u,this.lastLimboFreeSnapshotVersion=a,this.query=s};xu.store="targets",xu.keyPath="targetId",xu.queryTargetsIndexName="queryTargetsIndex",xu.queryTargetsKeyPath=["canonicalId","targetId"];var _u=function e(t,n,r){(0,y.default)(this,e),this.targetId=t,this.path=n,this.sequenceNumber=r};_u.store="targetDocuments",_u.keyPath=["targetId","path"],_u.documentTargetsIndex="documentTargetsIndex",_u.documentTargetsKeyPath=["path","targetId"];var Tu=function e(t,n,r,i){(0,y.default)(this,e),this.highestTargetId=t,this.highestListenSequenceNumber=n,this.lastRemoteSnapshotVersion=r,this.targetCount=i};Tu.key="targetGlobalKey",Tu.store="targetGlobal";var Au=function e(t,n){(0,y.default)(this,e),this.collectionId=t,this.parent=n};function Nu(e){e.createObjectStore(_u.store,{keyPath:_u.keyPath}).createIndex(_u.documentTargetsIndex,_u.documentTargetsKeyPath,{unique:!0}),e.createObjectStore(xu.store,{keyPath:xu.keyPath}).createIndex(xu.queryTargetsIndexName,xu.queryTargetsKeyPath,{unique:!0}),e.createObjectStore(Tu.store)}Au.store="collectionParents",Au.keyPath=["collectionId","parent"];var Su=function e(t,n,r,i){(0,y.default)(this,e),this.clientId=t,this.updateTimeMs=n,this.networkEnabled=r,this.inForeground=i};Su.store="clientMetadata",Su.keyPath="clientId";var Du=[mu.store,gu.store,ku.store,Iu.store,xu.store,pu.store,Tu.store,_u.store].concat([Su.store]).concat([Eu.store]).concat([Au.store]),Lu=(function(){function e(){(0,y.default)(this,e),this.la=new du}return(0,d.default)(e,[{key:"Mo",value:function(e,t){var n=this;if(!this.la.has(t)){var r=t._(),i=t.h();e.pr(function(){n.la.add(t)});var u={collectionId:r,parent:qi(i)};return Pu(e).put(u)}return Kr.resolve()}},{key:"Qr",value:function(e,t){var n=[],r=IDBKeyRange.bound([t,""],[we(t),""],!1,!0);return Pu(e).ts(r).next(function(e){for(var r,i=_(e);!(r=i()).done;){var u=r.value;if(u.collectionId!==t)break;n.push(zi(u.parent))}return n})}}]),e})();function Pu(e){return qu.Qn(e,Au.store)}var Ru=(function(){function e(t){(0,y.default)(this,e),this._a=t}return(0,d.default)(e,[{key:"next",value:function(){return this._a+=2,this._a}}],[{key:"fa",value:function(){return new e(0)}},{key:"da",value:function(){return new e(-1)}}]),e})(),Vu=(function(){function e(t,n){(0,y.default)(this,e),this.No=t,this.serializer=n}return(0,d.default)(e,[{key:"wa",value:function(e){var t=this;return this.ma(e).next(function(n){var r=new Ru(n.highestTargetId);return n.highestTargetId=r.next(),t.Ta(e,n).next(function(){return n.highestTargetId})})}},{key:"Ea",value:function(e){return this.ma(e).next(function(e){return Se.J(new Ne(e.lastRemoteSnapshotVersion.seconds,e.lastRemoteSnapshotVersion.nanoseconds))})}},{key:"Ia",value:function(e){return this.ma(e).next(function(e){return e.highestListenSequenceNumber})}},{key:"Aa",value:function(e,t,n){var r=this;return this.ma(e).next(function(i){return i.highestListenSequenceNumber=t,n&&(i.lastRemoteSnapshotVersion=n.Z()),t>i.highestListenSequenceNumber&&(i.highestListenSequenceNumber=t),r.Ta(e,i)})}},{key:"Ra",value:function(e,t){var n=this;return this.ga(e,t).next(function(){return n.ma(e).next(function(r){return r.targetCount+=1,n.Pa(t,r),n.Ta(e,r)})})}},{key:"ya",value:function(e,t){return this.ga(e,t)}},{key:"Va",value:function(e,t){var n=this;return this.pa(e,t.targetId).next(function(){return Uu(e).delete(t.targetId)}).next(function(){return n.ma(e)}).next(function(t){return q(t.targetCount>0),t.targetCount-=1,n.Ta(e,t)})}},{key:"po",value:function(e,t,n){var r=this,i=0,u=[];return Uu(e).rs(function(a,s){var o=Ji(s);o.sequenceNumber<=t&&null===n.get(o.targetId)&&(i++,u.push(r.Va(e,o)))}).next(function(){return Kr.$n(u)}).next(function(){return i})}},{key:"Ce",value:function(e,t){return Uu(e).rs(function(e,n){var r=Ji(n);t(r)})}},{key:"ma",value:function(e){return Cu(e).get(Tu.key).next(function(e){return q(null!==e),e})}},{key:"Ta",value:function(e,t){return Cu(e).put(Tu.key,t)}},{key:"ga",value:function(e,t){return Uu(e).put(Zi(this.serializer,t))}},{key:"Pa",value:function(e,t){var n=!1;return e.targetId>t.highestTargetId&&(t.highestTargetId=e.targetId,n=!0),e.sequenceNumber>t.highestListenSequenceNumber&&(t.highestListenSequenceNumber=e.sequenceNumber,n=!0),n}},{key:"ba",value:function(e){return this.ma(e).next(function(e){return e.targetCount})}},{key:"va",value:function(e,t){var n=Ue(t),r=IDBKeyRange.bound([n,Number.NEGATIVE_INFINITY],[n,Number.POSITIVE_INFINITY]),i=null;return Uu(e).rs({range:r,index:xu.queryTargetsIndexName},function(e,n,r){var u=Ji(n);Oe(t,u.target)&&(i=u,r.done())}).next(function(){return i})}},{key:"Sa",value:function(e,t,n){var r=this,i=[],u=Ou(e);return t.forEach(function(t){var a=qi(t.path);i.push(u.put(new _u(n,a))),i.push(r.No.Da(e,n,t))}),Kr.$n(i)}},{key:"Ca",value:function(e,t,n){var r=this,i=Ou(e);return Kr.forEach(t,function(t){var u=qi(t.path);return Kr.$n([i.delete([n,u]),r.No.Na(e,n,t)])})}},{key:"pa",value:function(e,t){var n=Ou(e),r=IDBKeyRange.bound([t],[t+1],!1,!0);return n.delete(r)}},{key:"Fa",value:function(e,t){var n=IDBKeyRange.bound([t],[t+1],!1,!0),r=Ou(e),i=rt();return r.rs({range:n,ss:!0},function(e,t,n){var r=zi(e[1]),u=new Y(r);i=i.add(u)}).next(function(){return i})}},{key:"Ho",value:function(e,t){var n=qi(t.path),r=IDBKeyRange.bound([n],[we(n)],!1,!0),i=0;return Ou(e).rs({index:_u.documentTargetsIndex,ss:!0,range:r},function(e,t,n){var r=(0,f.default)(e,2),u=r[0];r[1];0!==u&&(i++,n.done())}).next(function(){return i>0})}},{key:"Ue",value:function(e,t){return Uu(e).get(t).next(function(e){return e?Ji(e):null})}}]),e})();function Uu(e){return qu.Qn(e,xu.store)}function Cu(e){return qu.Qn(e,Tu.store)}function Ou(e){return qu.Qn(e,_u.store)}var Fu="Failed to obtain exclusive access to the persistence layer. To allow shared access, make sure to invoke `enablePersistence()` with `synchronizeTabs:true` in all tabs. If you are using `experimentalForceOwningTab:true`, make sure that only one tab has persistence enabled at any given time.",Mu=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r){var i;return(0,y.default)(this,n),(i=t.call(this)).jo=e,i.xa=r,i}return n})(Li),qu=(function(){function e(t,n,r,i,u,a,s,o,c,l){if((0,y.default)(this,e),this.allowTabSynchronization=t,this.persistenceKey=n,this.clientId=r,this.fn=u,this.window=a,this.document=s,this.$a=c,this.ka=l,this.Ma=null,this.Oa=!1,this.isPrimary=!1,this.networkEnabled=!0,this.La=null,this.inForeground=!1,this.Ba=null,this.qa=null,this.Ua=Number.NEGATIVE_INFINITY,this.Qa=function(e){return Promise.resolve()},!e.Ln())throw new P(L.UNIMPLEMENTED,"This platform is either missing IndexedDB or is known to have an incomplete implementation. Offline persistence has been disabled.");this.No=new zu(this,i),this.Wa=n+"main",this.serializer=new Bi(o),this.ja=new Qr(this.Wa,10,new vu(this.serializer)),this.Ka=new Vu(this.No,this.serializer),this.Dr=new Lu,this.vr=(function(e,t){return new au(e,t)})(this.serializer,this.Dr),this.window&&this.window.localStorage?this.Ga=this.window.localStorage:(this.Ga=null,!1===l&&C("IndexedDbPersistence","LocalStorage is unavailable. As a result, persistence may not work reliably. In particular enablePersistence() could fail immediately after refreshing the page."))}return(0,d.default)(e,[{key:"start",value:function(){var e=this;return this.za().then(function(){if(!e.isPrimary&&!e.allowTabSynchronization)throw new P(L.FAILED_PRECONDITION,Fu);return e.Ha(),e.Ya(),e.Ja(),e.runTransaction("getHighestListenSequenceNumber","readonly",function(t){return e.Ka.Ia(t)})}).then(function(t){e.Ma=new pi(t,e.$a)}).then(function(){e.Oa=!0}).catch(function(t){return e.ja&&e.ja.close(),Promise.reject(t)})}},{key:"Xa",value:function(e){var t=this;return this.Qa=function(n){return c.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:if(!t.Ei){r.next=2;break}return r.abrupt("return",e(n));case 2:case"end":return r.stop()}},null,null,null,Promise)},e(this.isPrimary)}},{key:"Za",value:function(e){this.ja.Kn(function(t){return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=null===t.newVersion,!n.t0){n.next=4;break}return n.next=4,c.default.awrap(e());case 4:case"end":return n.stop()}},null,null,null,Promise)})}},{key:"tc",value:function(e){var t=this;this.networkEnabled!==e&&(this.networkEnabled=e,this.fn.ws(function(){return c.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=t.Ei,!e.t0){e.next=4;break}return e.next=4,c.default.awrap(t.za());case 4:case"end":return e.stop()}},null,null,null,Promise)}))}},{key:"za",value:function(){var e=this;return this.runTransaction("updateClientMetadataAndTryBecomePrimary","readwrite",function(t){return ju(t).put(new Su(e.clientId,Date.now(),e.networkEnabled,e.inForeground)).next(function(){if(e.isPrimary)return e.ec(t).next(function(t){t||(e.isPrimary=!1,e.fn.Cs(function(){return e.Qa(!1)}))})}).next(function(){return e.nc(t)}).next(function(n){return e.isPrimary&&!n?e.sc(t).next(function(){return!1}):!!n&&e.ic(t).next(function(){return!0})})}).catch(function(t){if($r(t))return U("IndexedDbPersistence","Failed to extend owner lease: ",t),e.isPrimary;if(!e.allowTabSynchronization)throw t;return U("IndexedDbPersistence","Releasing owner lease after error during lease refresh",t),!1}).then(function(t){e.isPrimary!==t&&e.fn.Cs(function(){return e.Qa(t)}),e.isPrimary=t})}},{key:"ec",value:function(e){var t=this;return Gu(e).get(pu.key).next(function(e){return Kr.resolve(t.rc(e))})}},{key:"oc",value:function(e){return ju(e).delete(this.clientId)}},{key:"ac",value:function(){var t,n,r,i,u=this;return c.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:if(!this.isPrimary||this.cc(this.Ua,18e5)){a.next=6;break}return this.Ua=Date.now(),a.next=4,c.default.awrap(this.runTransaction("maybeGarbageCollectMultiClientState","readwrite-primary",function(t){var n=e.Qn(t,Su.store);return n.ts().next(function(e){var t=u.uc(e,18e5),r=e.filter(function(e){return-1===t.indexOf(e)});return Kr.forEach(r,function(e){return n.delete(e.clientId)}).next(function(){return r})})}).catch(function(){return[]}));case 4:if(t=a.sent,this.Ga)for(n=_(t);!(r=n()).done;)i=r.value,this.Ga.removeItem(this.hc(i.clientId));case 6:case"end":return a.stop()}},null,this,null,Promise)}},{key:"Ja",value:function(){var e=this;this.qa=this.fn.yn("client_metadata_refresh",4e3,function(){return e.za().then(function(){return e.ac()}).then(function(){return e.Ja()})})}},{key:"rc",value:function(e){return!!e&&e.ownerId===this.clientId}},{key:"nc",value:function(e){var t=this;return this.ka?Kr.resolve(!0):Gu(e).get(pu.key).next(function(n){if(null!==n&&t.cc(n.leaseTimestampMs,5e3)&&!t.lc(n.ownerId)){if(t.rc(n)&&t.networkEnabled)return!0;if(!t.rc(n)){if(!n.allowTabSynchronization)throw new P(L.FAILED_PRECONDITION,Fu);return!1}}return!(!t.networkEnabled||!t.inForeground)||ju(e).ts().next(function(e){return void 0===t.uc(e,5e3).find(function(e){if(t.clientId!==e.clientId){var n=!t.networkEnabled&&e.networkEnabled,r=!t.inForeground&&e.inForeground,i=t.networkEnabled===e.networkEnabled;if(n||r&&i)return!0}return!1})})}).next(function(e){return t.isPrimary!==e&&U("IndexedDbPersistence","Client "+(e?"is":"is not")+" eligible for a primary lease."),e})}},{key:"Di",value:function(){var e=this;return c.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return this.Oa=!1,this._c(),this.qa&&(this.qa.cancel(),this.qa=null),this.fc(),this.dc(),t.next=7,c.default.awrap(this.ja.runTransaction("shutdown","readwrite",[pu.store,Su.store],function(t){var n=new Mu(t,pi.ai);return e.sc(n).next(function(){return e.oc(n)})}));case 7:this.ja.close(),this.wc();case 9:case"end":return t.stop()}},null,this,null,Promise)}},{key:"uc",value:function(e,t){var n=this;return e.filter(function(e){return n.cc(e.updateTimeMs,t)&&!n.lc(e.clientId)})}},{key:"pi",value:function(){var e=this;return this.runTransaction("getActiveClients","readonly",function(t){return ju(t).ts().next(function(t){return e.uc(t,18e5).map(function(e){return e.clientId})})})}},{key:"mc",value:function(e){return eu.xo(e,this.serializer,this.Dr,this.No)}},{key:"Tc",value:function(){return this.Ka}},{key:"Ec",value:function(){return this.vr}},{key:"Ic",value:function(){return this.Dr}},{key:"runTransaction",value:function(e,t,n){var r=this;U("IndexedDbPersistence","Starting transaction:",e);var i,u="readonly"===t?"readonly":"readwrite";return this.ja.runTransaction(e,u,Du,function(u){return i=new Mu(u,r.Ma?r.Ma.next():pi.ai),"readwrite-primary"===t?r.ec(i).next(function(e){return!!e||r.nc(i)}).next(function(t){if(!t)throw C("Failed to obtain primary lease for action '"+e+"'."),r.isPrimary=!1,r.fn.Cs(function(){return r.Qa(!1)}),new P(L.FAILED_PRECONDITION,Di);return n(i)}).next(function(e){return r.ic(i).next(function(){return e})}):r.Ac(i).next(function(){return n(i)})}).then(function(e){return i.br(),e})}},{key:"Ac",value:function(e){var t=this;return Gu(e).get(pu.key).next(function(e){if(null!==e&&t.cc(e.leaseTimestampMs,5e3)&&!t.lc(e.ownerId)&&!t.rc(e)&&!(t.ka||t.allowTabSynchronization&&e.allowTabSynchronization))throw new P(L.FAILED_PRECONDITION,Fu)})}},{key:"ic",value:function(e){var t=new pu(this.clientId,this.allowTabSynchronization,Date.now());return Gu(e).put(pu.key,t)}},{key:"sc",value:function(e){var t=this,n=Gu(e);return n.get(pu.key).next(function(e){return t.rc(e)?(U("IndexedDbPersistence","Releasing primary lease."),n.delete(pu.key)):Kr.resolve()})}},{key:"cc",value:function(e,t){var n=Date.now();return!(en&&(C("Detected an update time that is in the future: "+e+" > "+n),1))}},{key:"Ha",value:function(){var e=this;null!==this.document&&"function"==typeof this.document.addEventListener&&(this.Ba=function(){e.fn.ws(function(){return e.inForeground="visible"===e.document.visibilityState,e.za()})},this.document.addEventListener("visibilitychange",this.Ba),this.inForeground="visible"===this.document.visibilityState)}},{key:"fc",value:function(){this.Ba&&(this.document.removeEventListener("visibilitychange",this.Ba),this.Ba=null)}},{key:"Ya",value:function(){var e,t=this;"function"==typeof(null===(e=this.window)||void 0===e?void 0:e.addEventListener)&&(this.La=function(){t._c(),t.fn.ws(function(){return t.Di()})},this.window.addEventListener("unload",this.La))}},{key:"dc",value:function(){this.La&&(this.window.removeEventListener("unload",this.La),this.La=null)}},{key:"lc",value:function(e){var t;try{var n=null!==(null===(t=this.Ga)||void 0===t?void 0:t.getItem(this.hc(e)));return U("IndexedDbPersistence","Client '"+e+"' "+(n?"is":"is not")+" zombied in LocalStorage"),n}catch(e){return C("IndexedDbPersistence","Failed to get zombied client id.",e),!1}}},{key:"_c",value:function(){if(this.Ga)try{this.Ga.setItem(this.hc(this.clientId),String(Date.now()))}catch(e){C("Failed to set zombie client id.",e)}}},{key:"wc",value:function(){if(this.Ga)try{this.Ga.removeItem(this.hc(this.clientId))}catch(e){}}},{key:"hc",value:function(e){return"firestore_zombie_"+this.persistenceKey+"_"+e}},{key:"Ei",get:function(){return this.Oa}}],[{key:"Qn",value:function(e,t){if(e instanceof Mu)return Qr.Qn(e.jo,t);throw M()}},{key:"Ln",value:function(){return Qr.Ln()}}]),e})();function Gu(e){return qu.Qn(e,pu.store)}function ju(e){return qu.Qn(e,Su.store)}var zu=(function(){function e(t,n){(0,y.default)(this,e),this.db=t,this.wo=new Mi(this,n)}return(0,d.default)(e,[{key:"Po",value:function(e){var t=this.Rc(e);return this.db.Tc().ba(e).next(function(e){return t.next(function(t){return e+t})})}},{key:"Rc",value:function(e){var t=0;return this.Vo(e,function(e){t++}).next(function(){return t})}},{key:"Ce",value:function(e,t){return this.db.Tc().Ce(e,t)}},{key:"Vo",value:function(e,t){return this.gc(e,function(e,n){return t(n)})}},{key:"Da",value:function(e,t,n){return Bu(e,n)}},{key:"Na",value:function(e,t,n){return Bu(e,n)}},{key:"po",value:function(e,t,n){return this.db.Tc().po(e,t,n)}},{key:"Go",value:function(e,t){return Bu(e,t)}},{key:"Pc",value:function(e,t){return(function(e,t){var n=!1;return uu(e).os(function(r){return tu(e,r,t).next(function(e){return e&&(n=!0),Kr.resolve(!e)})}).next(function(){return n})})(e,t)}},{key:"bo",value:function(e,t){var n=this,r=this.db.Ec().ra(),i=[],u=0;return this.gc(e,function(a,s){if(s<=t){var o=n.Pc(e,a).next(function(t){if(!t)return u++,r.Rr(e,a).next(function(){return r.Ar(a),Ou(e).delete([0,qi(a.path)])})});i.push(o)}}).next(function(){return Kr.$n(i)}).next(function(){return r.apply(e)}).next(function(){return u})}},{key:"removeTarget",value:function(e,t){var n=t.st(e.xa);return this.db.Tc().ya(e,n)}},{key:"yc",value:function(e,t){return Bu(e,t)}},{key:"gc",value:function(e,t){var n,r=Ou(e),i=pi.ai;return r.rs({index:_u.documentTargetsIndex},function(e,r){var u=(0,f.default)(e,2),a=u[0],s=(u[1],r.path),o=r.sequenceNumber;0===a?(i!==pi.ai&&t(new Y(zi(n)),i),i=o,n=s):i=pi.ai}).next(function(){i!==pi.ai&&t(new Y(zi(n)),i)})}},{key:"So",value:function(e){return this.db.Ec().aa(e)}}]),e})();function Bu(e,t){return Ou(e).put((function(e,t){return new _u(0,qi(e.path),t)})(t,e.xa))}function Wu(e,t){var n=e.projectId;return e.j||(n+="."+e.database),"firestore/"+t+"/"+n+"/"}var Ku=(function(){function e(t,n,r){(0,y.default)(this,e),this.persistence=t,this.Vc=n,this.bc=new We(ge),this.vc=new Ae(function(e){return Ue(e)},Oe),this.Sc=Se.min(),this.Sr=t.mc(r),this.Dc=t.Ec(),this.Ka=t.Tc(),this.Cc=new Pi(this.Dc,this.Sr,this.persistence.Ic()),this.Vc.Nc(this.Cc)}return(0,d.default)(e,[{key:"Io",value:function(e){var t=this;return this.persistence.runTransaction("Collect garbage","readwrite-primary",function(n){return e.vo(n,t.bc)})}}]),e})();function Qu(e,t){var n=G(e);return n.persistence.runTransaction("Acknowledge batch","readwrite-primary",function(e){var r=t.batch.keys(),i=n.Dc.ra({oa:!0});return(function(e,t,n,r){var i=n.batch,u=i.keys(),a=Kr.resolve();return u.forEach(function(e){a=a.next(function(){return r.Rr(t,e)}).next(function(t){var u=t,a=n.dr.get(e);q(null!==a),(!u||u.version.L(a)<0)&&((u=i.cr(e,u,n))&&r.Er(u,n._r))})}),a.next(function(){return e.Sr.Wo(t,i)})})(n,e,t,i).next(function(){return i.apply(e)}).next(function(){return n.Sr.zo(e)}).next(function(){return n.Cc.kr(e,r)})})}function Hu(e){var t=G(e);return t.persistence.runTransaction("Get last remote snapshot version","readonly",function(e){return t.Ka.Ea(e)})}function Yu(e,t){var n=G(e),r=t.nt,i=n.bc;return n.persistence.runTransaction("Apply remote event","readwrite-primary",function(e){var u=n.Dc.ra({oa:!0});i=n.bc;var a=[];t.zt.forEach(function(t,u){var s=i.get(u);if(s){a.push(n.Ka.Ca(e,t.se,u).next(function(){return n.Ka.Sa(e,t.ee,u)}));var o=t.resumeToken;if(o.O()>0){var c=s.it(o,r).st(e.xa);i=i.ot(u,c),(function(e,t,n){return q(t.resumeToken.O()>0),0===e.resumeToken.O()||(t.nt.X()-e.nt.X()>=3e8||n.ee.size+n.ne.size+n.se.size>0)})(s,c,t)&&a.push(n.Ka.ya(e,c))}}});var s=Xe(),o=rt();if(t.Yt.forEach(function(e,t){o=o.add(e)}),a.push(u.getEntries(e,o).next(function(i){t.Yt.forEach(function(o,c){var l=i.get(o);c instanceof sr&&c.version.isEqual(Se.min())?(u.Ar(o,r),s=s.ot(o,c)):null==l||c.version.L(l.version)>0||0===c.version.L(l.version)&&l.hasPendingWrites?(u.Er(c,r),s=s.ot(o,c)):U("LocalStore","Ignoring outdated watch update for ",o,". Current version:",l.version," Watch version:",c.version),t.Jt.has(o)&&a.push(n.persistence.No.yc(e,o))})})),!r.isEqual(Se.min())){var c=n.Ka.Ea(e).next(function(t){return n.Ka.Aa(e,e.xa,r)});a.push(c)}return Kr.$n(a).next(function(){return u.apply(e)}).next(function(){return n.Cc.Mr(e,s)})}).then(function(e){return n.bc=i,e})}function $u(e,t){var n=G(e);return n.persistence.runTransaction("Get next mutation batch","readonly",function(e){return void 0===t&&(t=-1),n.Sr.Bo(e,t)})}function Xu(e,t){var n=G(e);return n.persistence.runTransaction("Allocate target","readwrite",function(e){var r;return n.Ka.va(e,t).next(function(i){return i?(r=i,Kr.resolve(r)):n.Ka.wa(e).next(function(i){return r=new Ge(t,i,0,e.xa),n.Ka.Ra(e,r).next(function(){return r})})})}).then(function(e){var r=n.bc.get(e.targetId);return(null===r||e.nt.L(r.nt)>0)&&(n.bc=n.bc.ot(e.targetId,e),n.vc.set(t,e.targetId)),e})}function Ju(e,t,n){var r,i,u;return c.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:if(r=G(e),i=r.bc.get(t),u=n?"readwrite":"readwrite-primary",a.prev=1,a.t0=n,a.t0){a.next=6;break}return a.next=6,c.default.awrap(r.persistence.runTransaction("Release target",u,function(e){return r.persistence.No.removeTarget(e,i)}));case 6:a.next=13;break;case 8:if(a.prev=8,a.t1=a.catch(1),$r(a.t1)){a.next=12;break}throw a.t1;case 12:U("LocalStore","Failed to update sequence numbers for target "+t+": "+a.t1);case 13:r.bc=r.bc.remove(t),r.vc.delete(i.target);case 14:case"end":return a.stop()}},null,null,[[1,8]],Promise)}function Zu(e,t,n){var r=G(e),i=Se.min(),u=rt();return r.persistence.runTransaction("Execute query","readonly",function(e){return(function(e,t,n){var r=G(e),i=r.vc.get(n);return void 0!==i?Kr.resolve(r.bc.get(i)):r.Ka.va(t,n)})(r,e,gr(t)).next(function(t){if(t)return i=t.lastLimboFreeSnapshotVersion,r.Ka.Fa(e,t.targetId).next(function(e){u=e})}).next(function(){return r.Vc.Lr(e,t,n?i:Se.min(),n?u:rt())}).next(function(e){return{documents:e,Fc:u}})})}function ea(e,t){var n=G(e),r=G(n.Ka),i=n.bc.get(t);return i?Promise.resolve(i.target):n.persistence.runTransaction("Get target data","readonly",function(e){return r.Ue(e,t).next(function(e){return e?e.target:null})})}function ta(e){var t=G(e);return t.persistence.runTransaction("Get new document changes","readonly",function(e){return(function(e,t,n){var r=G(e),i=Xe(),u=Qi(n),a=cu(t),s=IDBKeyRange.lowerBound(u,!0);return a.rs({index:Iu.readTimeIndex,range:s},function(e,t){var n=Wi(r.serializer,t);i=i.ot(n.key,n),u=t.readTime}).next(function(){return{xc:i,readTime:Hi(u)}})})(t.Dc,e,t.Sc)}).then(function(e){var n=e.xc,r=e.readTime;return t.Sc=r,n})}function na(e){var t;return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return t=G(e),n.abrupt("return",t.persistence.runTransaction("Synchronize last document change read time","readonly",function(e){return(function(e){var t=cu(e),n=Se.min();return t.rs({index:Iu.readTimeIndex,reverse:!0},function(e,t,r){t.readTime&&(n=Hi(t.readTime)),r.done()}).next(function(){return n})})(e)}).then(function(e){t.Sc=e}));case 2:case"end":return n.stop()}},null,null,null,Promise)}function ra(e){return c.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.code===L.FAILED_PRECONDITION&&e.message===Di){t.next=2;break}throw e;case 2:U("LocalStore","Unexpectedly lost primary lease");case 3:case"end":return t.stop()}},null,null,null,Promise)}var ia=(function(){function e(){(0,y.default)(this,e),this.$c=new He(ua.kc),this.Mc=new He(ua.Oc)}return(0,d.default)(e,[{key:"m",value:function(){return this.$c.m()}},{key:"Da",value:function(e,t){var n=new ua(e,t);this.$c=this.$c.add(n),this.Mc=this.Mc.add(n)}},{key:"Lc",value:function(e,t){var n=this;e.forEach(function(e){return n.Da(e,t)})}},{key:"Na",value:function(e,t){this.Bc(new ua(e,t))}},{key:"qc",value:function(e,t){var n=this;e.forEach(function(e){return n.Na(e,t)})}},{key:"Uc",value:function(e){var t=this,n=new Y(new K([])),r=new ua(n,e),i=new ua(n,e+1),u=[];return this.Mc.Ft([r,i],function(e){t.Bc(e),u.push(e.key)}),u}},{key:"Qc",value:function(){var e=this;this.$c.forEach(function(t){return e.Bc(t)})}},{key:"Bc",value:function(e){this.$c=this.$c.delete(e),this.Mc=this.Mc.delete(e)}},{key:"Wc",value:function(e){var t=new Y(new K([])),n=new ua(t,e),r=new ua(t,e+1),i=rt();return this.Mc.Ft([n,r],function(e){i=i.add(e.key)}),i}},{key:"Ho",value:function(e){var t=new ua(e,0),n=this.$c.$t(t);return null!==n&&e.isEqual(n.key)}}]),e})(),ua=(function(){function e(t,n){(0,y.default)(this,e),this.key=t,this.jc=n}return(0,d.default)(e,null,[{key:"kc",value:function(e,t){return Y.i(e.key,t.key)||ge(e.jc,t.jc)}},{key:"Oc",value:function(e,t){return ge(e.jc,t.jc)||Y.i(e.key,t.key)}}]),e})(),aa=function e(t,n){(0,y.default)(this,e),this.user=n,this.type="OAuth",this.Kc={},this.Kc.Authorization="Bearer "+t},sa=(function(){function e(){(0,y.default)(this,e),this.Gc=null}return(0,d.default)(e,[{key:"getToken",value:function(){return Promise.resolve(null)}},{key:"zc",value:function(){}},{key:"Hc",value:function(e){this.Gc=e,e(yi.UNAUTHENTICATED)}},{key:"Yc",value:function(){this.Gc=null}}]),e})(),oa=(function(){function e(t){var n=this;(0,y.default)(this,e),this.Jc=null,this.currentUser=yi.UNAUTHENTICATED,this.Xc=!1,this.Zc=0,this.Gc=null,this.forceRefresh=!1,this.Jc=function(){n.Zc++,n.currentUser=n.tu(),n.Xc=!0,n.Gc&&n.Gc(n.currentUser)},this.Zc=0,this.auth=t.getImmediate({optional:!0}),this.auth?this.auth.addAuthTokenListener(this.Jc):(this.Jc(null),t.get().then(function(e){n.auth=e,n.Jc&&n.auth.addAuthTokenListener(n.Jc)},function(){}))}return(0,d.default)(e,[{key:"getToken",value:function(){var e=this,t=this.Zc,n=this.forceRefresh;return this.forceRefresh=!1,this.auth?this.auth.getToken(n).then(function(n){return e.Zc!==t?(U("FirebaseCredentialsProvider","getToken aborted due to token change."),e.getToken()):n?(q("string"==typeof n.accessToken),new aa(n.accessToken,e.currentUser)):null}):Promise.resolve(null)}},{key:"zc",value:function(){this.forceRefresh=!0}},{key:"Hc",value:function(e){this.Gc=e,this.Xc&&e(this.currentUser)}},{key:"Yc",value:function(){this.auth&&this.auth.removeAuthTokenListener(this.Jc),this.Jc=null,this.Gc=null}},{key:"tu",value:function(){var e=this.auth&&this.auth.getUid();return q(null===e||"string"==typeof e),new yi(e)}}]),e})(),ca=(function(){function e(t,n){(0,y.default)(this,e),this.eu=t,this.nu=n,this.type="FirstParty",this.user=yi.ni}return(0,d.default)(e,[{key:"Kc",get:function(){var e={"X-Goog-AuthUser":this.nu},t=this.eu.auth.getAuthHeaderValueForFirstParty([]);return t&&(e.Authorization=t),e}}]),e})(),la=(function(){function e(t,n){(0,y.default)(this,e),this.eu=t,this.nu=n}return(0,d.default)(e,[{key:"getToken",value:function(){return Promise.resolve(new ca(this.eu,this.nu))}},{key:"Hc",value:function(e){e(yi.ni)}},{key:"Yc",value:function(){}},{key:"zc",value:function(){}}]),e})(),fa=(function(){function e(t,n,r,i,u,a){(0,y.default)(this,e),this.fn=t,this.su=r,this.iu=i,this.ru=u,this.listener=a,this.state=0,this.ou=0,this.au=null,this.stream=null,this.ys=new Wr(t,n)}return(0,d.default)(e,[{key:"cu",value:function(){return 1===this.state||2===this.state||4===this.state}},{key:"uu",value:function(){return 2===this.state}},{key:"start",value:function(){3!==this.state?this.auth():this.hu()}},{key:"stop",value:function(){return c.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=this.cu(),!e.t0){e.next=4;break}return e.next=4,c.default.awrap(this.close(0));case 4:case"end":return e.stop()}},null,this,null,Promise)}},{key:"lu",value:function(){this.state=0,this.ys.reset()}},{key:"_u",value:function(){var e=this;this.uu()&&null===this.au&&(this.au=this.fn.yn(this.su,6e4,function(){return e.fu()}))}},{key:"du",value:function(e){this.wu(),this.stream.send(e)}},{key:"fu",value:function(){return c.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.uu()){e.next=2;break}return e.abrupt("return",this.close(0));case 2:case"end":return e.stop()}},null,this,null,Promise)}},{key:"wu",value:function(){this.au&&(this.au.cancel(),this.au=null)}},{key:"close",value:function(e,t){return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.wu(),this.ys.cancel(),this.ou++,3!==e?this.ys.reset():t&&t.code===L.RESOURCE_EXHAUSTED?(C(t.toString()),C("Using maximum backoff delay to prevent overloading the backend."),this.ys.Rn()):t&&t.code===L.UNAUTHENTICATED&&this.ru.zc(),null!==this.stream&&(this.mu(),this.stream.close(),this.stream=null),this.state=e,n.next=8,c.default.awrap(this.listener.Tu(t));case 8:case"end":return n.stop()}},null,this,null,Promise)}},{key:"mu",value:function(){}},{key:"auth",value:function(){var e=this;this.state=1;var t=this.Eu(this.ou),n=this.ou;this.ru.getToken().then(function(t){e.ou===n&&e.Iu(t)},function(n){t(function(){var t=new P(L.UNKNOWN,"Fetching auth token failed: "+n.message);return e.Au(t)})})}},{key:"Iu",value:function(e){var t=this,n=this.Eu(this.ou);this.stream=this.Ru(e),this.stream.gu(function(){n(function(){return t.state=2,t.listener.gu()})}),this.stream.Tu(function(e){n(function(){return t.Au(e)})}),this.stream.onMessage(function(e){n(function(){return t.onMessage(e)})})}},{key:"hu",value:function(){var e=this;this.state=4,this.ys.gn(function(){return c.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:e.state=0,e.start();case 1:case"end":return t.stop()}},null,null,null,Promise)})}},{key:"Au",value:function(e){return U("PersistentStream","close with error: "+e),this.stream=null,this.close(3,e)}},{key:"Eu",value:function(e){var t=this;return function(n){t.fn.ws(function(){return t.ou===e?n():(U("PersistentStream","stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve())})}}}]),e})(),ha=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r,i,u,a){var s;return(0,y.default)(this,n),(s=t.call(this,e,"listen_stream_connection_backoff","listen_stream_idle",r,i,a)).serializer=u,s}return(0,d.default)(n,[{key:"Ru",value:function(e){return this.iu.Pu("Listen",e)}},{key:"onMessage",value:function(e){this.ys.reset();var t=un(this.serializer,e),n=(function(e){if(!("targetChange"in e))return Se.min();var t=e.targetChange;return t.targetIds&&t.targetIds.length?Se.min():t.readTime?Qt(t.readTime):Se.min()})(e);return this.listener.yu(t,n)}},{key:"Vu",value:function(e){var t={};t.database=en(this.serializer),t.addTarget=(function(e,t){var n,r=t.target;return(n=Fe(r)?{documents:cn(e,r)}:{query:ln(e,r)}).targetId=t.targetId,t.resumeToken.O()>0&&(n.resumeToken=Wt(e,t.resumeToken)),n})(this.serializer,e);var n=hn(this.serializer,e);n&&(t.labels=n),this.du(t)}},{key:"pu",value:function(e){var t={};t.database=en(this.serializer),t.removeTarget=e,this.du(t)}}]),n})(fa),da=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r,i,u,a){var s;return(0,y.default)(this,n),(s=t.call(this,e,"write_stream_connection_backoff","write_stream_idle",r,i,a)).serializer=u,s.bu=!1,s}return(0,d.default)(n,[{key:"start",value:function(){this.bu=!1,this.lastStreamToken=void 0,(0,h.default)((0,g.default)(n.prototype),"start",this).call(this)}},{key:"mu",value:function(){this.bu&&this.Su([])}},{key:"Ru",value:function(e){return this.iu.Pu("Write",e)}},{key:"onMessage",value:function(e){if(q(!!e.streamToken),this.lastStreamToken=e.streamToken,this.bu){this.ys.reset();var t=on(e.writeResults,e.commitTime),n=Qt(e.commitTime);return this.listener.Du(n,t)}return q(!e.writeResults||0===e.writeResults.length),this.bu=!0,this.listener.Cu()}},{key:"Nu",value:function(){var e={};e.database=en(this.serializer),this.du(e)}},{key:"Su",value:function(e){var t=this,n={streamToken:this.lastStreamToken,writes:e.map(function(e){return an(t.serializer,e)})};this.du(n)}},{key:"vu",get:function(){return this.bu}}]),n})(fa),va=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r,i){var u;return(0,y.default)(this,n),(u=t.call(this)).credentials=e,u.iu=r,u.serializer=i,u.Fu=!1,u}return(0,d.default)(n,[{key:"xu",value:function(){if(this.Fu)throw new P(L.FAILED_PRECONDITION,"The client has already been terminated.")}},{key:"$u",value:function(e,t,n){var r=this;return this.xu(),this.credentials.getToken().then(function(i){return r.iu.$u(e,t,n,i)}).catch(function(e){throw e.code===L.UNAUTHENTICATED&&r.credentials.zc(),e})}},{key:"ku",value:function(e,t,n){var r=this;return this.xu(),this.credentials.getToken().then(function(i){return r.iu.ku(e,t,n,i)}).catch(function(e){throw e.code===L.UNAUTHENTICATED&&r.credentials.zc(),e})}},{key:"terminate",value:function(){this.Fu=!1}}]),n})((function(){return function e(){(0,y.default)(this,e)}})()),ya=(function(){function e(t,n){(0,y.default)(this,e),this.cs=t,this.di=n,this.state="Unknown",this.Mu=0,this.Ou=null,this.Lu=!0}return(0,d.default)(e,[{key:"Bu",value:function(){var e=this;0===this.Mu&&(this.qu("Unknown"),this.Ou=this.cs.yn("online_state_timeout",1e4,function(){return e.Ou=null,e.Uu("Backend didn't respond within 10 seconds."),e.qu("Offline"),Promise.resolve()}))}},{key:"Qu",value:function(e){"Online"===this.state?this.qu("Unknown"):(this.Mu++,this.Mu>=1&&(this.Wu(),this.Uu("Connection failed 1 times. Most recent error: "+e.toString()),this.qu("Offline")))}},{key:"set",value:function(e){this.Wu(),this.Mu=0,"Online"===e&&(this.Lu=!1),this.qu(e)}},{key:"qu",value:function(e){e!==this.state&&(this.state=e,this.di(e))}},{key:"Uu",value:function(e){var t="Could not reach Cloud Firestore backend. "+e+"\nThis typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.";this.Lu?(C(t),this.Lu=!1):U("OnlineStateTracker",t)}},{key:"Wu",value:function(){null!==this.Ou&&(this.Ou.cancel(),this.Ou=null)}}]),e})(),pa=function e(t,n,r,i,u){var a=this;(0,y.default)(this,e),this.ju=t,this.Ku=n,this.cs=r,this.Gu={},this.zu=[],this.Hu=new Map,this.Yu=new Set,this.Ju=[],this.Xu=u,this.Xu.Zu(function(e){r.ws(function(){return c.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=Ta(a),!e.t0){e.next=5;break}return U("RemoteStore","Restarting streams for network reachability change."),e.next=5,c.default.awrap((function(e){var t;return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return(t=G(e)).Yu.add(4),n.next=4,c.default.awrap(ga(t));case 4:return t.th.set("Unknown"),t.Yu.delete(4),n.next=8,c.default.awrap(ma(t));case 8:case"end":return n.stop()}},null,null,null,Promise)})(a));case 5:case"end":return e.stop()}},null,null,null,Promise)})}),this.th=new ya(r,i)};function ma(e){var t,n,r;return c.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:if(!Ta(e)){i.next=8;break}t=_(e.Ju);case 2:if((n=t()).done){i.next=8;break}return r=n.value,i.next=6,c.default.awrap(r(!0));case 6:i.next=2;break;case 8:case"end":return i.stop()}},null,null,null,Promise)}function ga(e){var t,n,r;return c.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:t=_(e.Ju);case 1:if((n=t()).done){i.next=7;break}return r=n.value,i.next=5,c.default.awrap(r(!1));case 5:i.next=1;break;case 7:case"end":return i.stop()}},null,null,null,Promise)}function ka(e){var t;return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return t=G(e),U("RemoteStore","RemoteStore shutting down."),t.Yu.add(5),n.next=5,c.default.awrap(ga(t));case 5:t.Xu.Di(),t.th.set("Unknown");case 7:case"end":return n.stop()}},null,null,null,Promise)}function wa(e,t){var n=G(e);n.Hu.has(t.targetId)||(n.Hu.set(t.targetId,t),_a(n)?xa(n):za(n).uu()&&Ia(n,t))}function ba(e,t){var n=G(e),r=za(n);n.Hu.delete(t),r.uu()&&Ea(n,t),0===n.Hu.size&&(r.uu()?r._u():Ta(n)&&n.th.set("Unknown"))}function Ia(e,t){e.eh.Ie(t.targetId),za(e).Vu(t)}function Ea(e,t){e.eh.Ie(t),za(e).pu(t)}function xa(e){e.eh=new yt({qe:function(t){return e.Gu.qe(t)},Ue:function(t){return e.Hu.get(t)||null}}),za(e).start(),e.th.Bu()}function _a(e){return Ta(e)&&!za(e).cu()&&e.Hu.size>0}function Ta(e){return 0===G(e).Yu.size}function Aa(e){e.eh=void 0}function Na(e){return c.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:e.Hu.forEach(function(t,n){Ia(e,t)});case 1:case"end":return t.stop()}},null,null,null,Promise)}function Sa(e,t){return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:Aa(e),_a(e)?(e.th.Qu(t),xa(e)):e.th.set("Unknown");case 1:case"end":return n.stop()}},null,null,null,Promise)}function Da(e,t,n){var r;return c.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:if(e.th.set("Online"),!(t instanceof dt&&2===t.state&&t.cause)){i.next=13;break}return i.prev=1,i.next=4,c.default.awrap((function(e,t){var n,r,i,u;return c.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:n=t.cause,r=_(t.targetIds);case 2:if((i=r()).done){a.next=12;break}if(u=i.value,a.t0=e.Hu.has(u),!a.t0){a.next=10;break}return a.next=8,c.default.awrap(e.Gu.nh(u,n));case 8:e.Hu.delete(u),e.eh.removeTarget(u);case 10:a.next=2;break;case 12:case"end":return a.stop()}},null,null,null,Promise)})(e,t));case 4:i.next=11;break;case 6:return i.prev=6,i.t0=i.catch(1),U("RemoteStore","Failed to remove targets %s: %s ",t.targetIds.join(","),i.t0),i.next=11,c.default.awrap(La(e,i.t0));case 11:i.next=29;break;case 13:if(t instanceof ft?e.eh.be(t):t instanceof ht?e.eh.$e(t):e.eh.De(t),n.isEqual(Se.min())){i.next=29;break}return i.prev=14,i.next=17,c.default.awrap(Hu(e.ju));case 17:if(r=i.sent,i.t1=n.L(r)>=0,!i.t1){i.next=22;break}return i.next=22,c.default.awrap((function(e,t){var n=e.eh.Oe(t);return n.zt.forEach(function(n,r){if(n.resumeToken.O()>0){var i=e.Hu.get(r);i&&e.Hu.set(r,i.it(n.resumeToken,t))}}),n.Ht.forEach(function(t){var n=e.Hu.get(t);if(n){e.Hu.set(t,n.it(be.B,n.nt)),Ea(e,t);var r=new Ge(n.target,t,1,n.sequenceNumber);Ia(e,r)}}),e.Gu.sh(n)})(e,n));case 22:i.next=29;break;case 24:return i.prev=24,i.t2=i.catch(14),U("RemoteStore","Failed to raise snapshot:",i.t2),i.next=29,c.default.awrap(La(e,i.t2));case 29:case"end":return i.stop()}},null,null,[[1,6],[14,24]],Promise)}function La(e,t,n){return c.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:if($r(t)){r.next=2;break}throw t;case 2:return e.Yu.add(1),r.next=5,c.default.awrap(ga(e));case 5:e.th.set("Offline"),n||(n=function(){return Hu(e.ju)}),e.cs.Cs(function(){return c.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return U("RemoteStore","Retrying IndexedDB access"),t.next=3,c.default.awrap(n());case 3:return e.Yu.delete(1),t.next=6,c.default.awrap(ma(e));case 6:case"end":return t.stop()}},null,null,null,Promise)});case 8:case"end":return r.stop()}},null,null,null,Promise)}function Pa(e,t){return t().catch(function(n){return La(e,n,t)})}function Ra(e){var t,n,r,i;return c.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:t=G(e),n=Ba(t),r=t.zu.length>0?t.zu[t.zu.length-1].batchId:-1;case 2:if(!Va(t)){u.next=19;break}return u.prev=3,u.next=6,c.default.awrap($u(t.ju,r));case 6:if(null!==(i=u.sent)){u.next=10;break}return 0===t.zu.length&&n._u(),u.abrupt("break",19);case 10:r=i.batchId,Ua(t,i),u.next=17;break;case 13:return u.prev=13,u.t0=u.catch(3),u.next=17,c.default.awrap(La(t,u.t0));case 17:u.next=2;break;case 19:Ca(t)&&Oa(t);case 20:case"end":return u.stop()}},null,null,[[3,13]],Promise)}function Va(e){return Ta(e)&&e.zu.length<10}function Ua(e,t){e.zu.push(t);var n=Ba(e);n.uu()&&n.vu&&n.Su(t.mutations)}function Ca(e){return Ta(e)&&!Ba(e).cu()&&e.zu.length>0}function Oa(e){Ba(e).start()}function Fa(e){return c.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:Ba(e).Nu();case 1:case"end":return t.stop()}},null,null,null,Promise)}function Ma(e){var t,n,r,i;return c.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:for(t=Ba(e),n=_(e.zu);!(r=n()).done;)i=r.value,t.Su(i.mutations);case 2:case"end":return u.stop()}},null,null,null,Promise)}function qa(e,t,n){var r,i;return c.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return r=e.zu.shift(),i=Ni.from(r,t,n),u.next=3,c.default.awrap(Pa(e,function(){return e.Gu.ih(i)}));case 3:return u.next=5,c.default.awrap(Ra(e));case 5:case"end":return u.stop()}},null,null,null,Promise)}function Ga(e,t){return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=t&&Ba(e).vu,!n.t0){n.next=4;break}return n.next=4,c.default.awrap((function(e,t){var n,r;return c.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:if(!ze(r=t.code)||r===L.ABORTED){i.next=7;break}return n=e.zu.shift(),Ba(e).lu(),i.next=5,c.default.awrap(Pa(e,function(){return e.Gu.rh(n.batchId,t)}));case 5:return i.next=7,c.default.awrap(Ra(e));case 7:case"end":return i.stop()}},null,null,null,Promise)})(e,t));case 4:Ca(e)&&Oa(e);case 5:case"end":return n.stop()}},null,null,null,Promise)}function ja(e,t){var n;return c.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:if(n=G(e),!t){r.next=7;break}return n.Yu.delete(2),r.next=5,c.default.awrap(ma(n));case 5:r.next=13;break;case 7:if(r.t0=t,r.t0){r.next=13;break}return n.Yu.add(2),r.next=12,c.default.awrap(ga(n));case 12:n.th.set("Unknown");case 13:case"end":return r.stop()}},null,null,null,Promise)}function za(e){return e.oh||(e.oh=(function(e,t,n){var r=G(e);return r.xu(),new ha(t,r.iu,r.credentials,r.serializer,n)})(e.Ku,e.cs,{gu:Na.bind(null,e),Tu:Sa.bind(null,e),yu:Da.bind(null,e)}),e.Ju.push(function(t){return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!t){n.next=4;break}e.oh.lu(),_a(e)?xa(e):e.th.set("Unknown"),n.next=7;break;case 4:return n.next=6,c.default.awrap(e.oh.stop());case 6:Aa(e);case 7:case"end":return n.stop()}},null,null,null,Promise)})),e.oh}function Ba(e){return e.ah||(e.ah=(function(e,t,n){var r=G(e);return r.xu(),new da(t,r.iu,r.credentials,r.serializer,n)})(e.Ku,e.cs,{gu:Fa.bind(null,e),Tu:Ga.bind(null,e),Cu:Ma.bind(null,e),Du:qa.bind(null,e)}),e.Ju.push(function(t){return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(!t){n.next=6;break}return e.ah.lu(),n.next=4,c.default.awrap(Ra(e));case 4:n.next=9;break;case 6:return n.next=8,c.default.awrap(e.ah.stop());case 8:e.zu.length>0&&(U("RemoteStore","Stopping write stream with "+e.zu.length+" pending writes"),e.zu=[]);case 9:case"end":return n.stop()}},null,null,null,Promise)})),e.ah}var Wa=function e(t){(0,y.default)(this,e),this.key=t},Ka=function e(t){(0,y.default)(this,e),this.key=t},Qa=(function(){function e(t,n){(0,y.default)(this,e),this.query=t,this.uh=n,this.hh=null,this.te=!1,this.lh=rt(),this.Wt=rt(),this._h=Tr(t),this.fh=new at(this._h)}return(0,d.default)(e,[{key:"wh",value:function(e,t){var n=this,r=t?t.mh:new st,i=t?t.fh:this.fh,u=t?t.Wt:this.Wt,a=i,s=!1,o=hr(this.query)&&i.size===this.query.limit?i.last():null,c=dr(this.query)&&i.size===this.query.limit?i.first():null;if(e.ht(function(e,t){var l=i.get(e),f=t instanceof ar?t:null;f&&(f=_r(n.query,f)?f:null);var h=!!l&&n.Wt.has(l.key),d=!!f&&(f.Je||n.Wt.has(f.key)&&f.hasCommittedMutations),v=!1;l&&f?l.data().isEqual(f.data())?h!==d&&(r.track({type:3,doc:f}),v=!0):n.Th(l,f)||(r.track({type:2,doc:f}),v=!0,(o&&n._h(f,o)>0||c&&n._h(f,c)<0)&&(s=!0)):!l&&f?(r.track({type:0,doc:f}),v=!0):l&&!f&&(r.track({type:1,doc:l}),v=!0,(o||c)&&(s=!0)),v&&(f?(a=a.add(f),u=d?u.add(e):u.delete(e)):(a=a.delete(e),u=u.delete(e)))}),hr(this.query)||dr(this.query))for(;a.size>this.query.limit;){var l=hr(this.query)?a.last():a.first();a=a.delete(l.key),u=u.delete(l.key),r.track({type:1,doc:l})}return{fh:a,mh:r,Eh:s,Wt:u}}},{key:"Th",value:function(e,t){return e.Je&&t.hasCommittedMutations&&!t.Je}},{key:"yr",value:function(e,t,n){var r=this,i=this.fh;this.fh=e.fh,this.Wt=e.Wt;var u=e.mh.Ut();u.sort(function(e,t){return(function(e,t){var n=function(e){switch(e){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return M()}};return n(e)-n(t)})(e.type,t.type)||r._h(e.doc,t.doc)}),this.Ih(n);var a=t?this.Ah():[],s=0===this.lh.size&&this.te?1:0,o=s!==this.hh;return this.hh=s,0!==u.length||o?{snapshot:new ot(this.query,e.fh,i,u,e.Wt,0===s,o,!1),Rh:a}:{Rh:a}}},{key:"Qs",value:function(e){return this.te&&"Offline"===e?(this.te=!1,this.yr({fh:this.fh,mh:new st,Wt:this.Wt,Eh:!1},!1)):{Rh:[]}}},{key:"gh",value:function(e){return!this.uh.has(e)&&!!this.fh.has(e)&&!this.fh.get(e).Je}},{key:"Ih",value:function(e){var t=this;e&&(e.ee.forEach(function(e){return t.uh=t.uh.add(e)}),e.ne.forEach(function(e){}),e.se.forEach(function(e){return t.uh=t.uh.delete(e)}),this.te=e.te)}},{key:"Ah",value:function(){var e=this;if(!this.te)return[];var t=this.lh;this.lh=rt(),this.fh.forEach(function(t){e.gh(t.key)&&(e.lh=e.lh.add(t.key))});var n=[];return t.forEach(function(t){e.lh.has(t)||n.push(new Ka(t))}),this.lh.forEach(function(e){t.has(e)||n.push(new Wa(e))}),n}},{key:"Ph",value:function(e){this.uh=e.Fc,this.lh=rt();var t=this.wh(e.documents);return this.yr(t,!0)}},{key:"yh",value:function(){return ot.Gt(this.query,this.fh,this.Wt,0===this.hh)}},{key:"dh",get:function(){return this.uh}}]),e})(),Ha=function e(t,n,r){(0,y.default)(this,e),this.query=t,this.targetId=n,this.view=r},Ya=function e(t){(0,y.default)(this,e),this.key=t,this.Vh=!1},$a=(function(){function e(t,n,r,i,u,a){(0,y.default)(this,e),this.ju=t,this.ph=n,this.bh=r,this.Sh=i,this.currentUser=u,this.Dh=a,this.Ch={},this.Nh=new Ae(function(e){return Er(e)},Ir),this.Fh=new Map,this.xh=[],this.$h=new We(Y.i),this.kh=new Map,this.Mh=new ia,this.Oh={},this.Lh=new Map,this.Bh=Ru.da(),this.onlineState="Unknown",this.qh=void 0}return(0,d.default)(e,[{key:"Uh",get:function(){return!0===this.qh}}]),e})();function Xa(e,t){var n,r,i,u,a,s;return c.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:if(n=_s(e),!(u=n.Nh.get(t))){o.next=6;break}r=u.targetId,n.Sh.Oi(r),i=u.view.yh(),o.next=15;break;case 6:return o.next=8,c.default.awrap(Xu(n.ju,gr(t)));case 8:return a=o.sent,s=n.Sh.Oi(a.targetId),r=a.targetId,o.next=13,c.default.awrap(Ja(n,t,r,"current"===s));case 13:i=o.sent,n.Uh&&wa(n.ph,a);case 15:return o.abrupt("return",i);case 16:case"end":return o.stop()}},null,null,null,Promise)}function Ja(e,t,n,r){var i,u,a,s,o,l;return c.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return e.Qh=function(t,n,r){return(function(e,t,n,r){var i,u,a;return c.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(i=t.view.wh(n),s.t0=i.Eh,!s.t0){s.next=6;break}return s.next=5,c.default.awrap(Zu(e.ju,t.query,!1).then(function(e){var n=e.documents;return t.view.wh(n,i)}));case 5:i=s.sent;case 6:return u=r&&r.zt.get(t.targetId),a=t.view.yr(i,e.Uh,u),s.abrupt("return",(fs(e,t.targetId,a.Rh),a.snapshot));case 8:case"end":return s.stop()}},null,null,null,Promise)})(e,t,n,r)},f.next=3,c.default.awrap(Zu(e.ju,t,!0));case 3:return i=f.sent,u=new Qa(t,i.Fc),a=u.wh(i.documents),s=lt.Zt(n,r&&"Offline"!==e.onlineState),o=u.yr(a,e.Uh,s),fs(e,n,o.Rh),l=new Ha(t,n,u),f.abrupt("return",(e.Nh.set(t,l),e.Fh.has(n)?e.Fh.get(n).push(t):e.Fh.set(n,[t]),o.snapshot));case 11:case"end":return f.stop()}},null,null,null,Promise)}function Za(e,t){var n,r,i;return c.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(n=G(e),r=n.Nh.get(t),!((i=n.Fh.get(r.targetId)).length>1)){u.next=3;break}return u.abrupt("return",(n.Fh.set(r.targetId,i.filter(function(e){return!Ir(e,t)})),void n.Nh.delete(t)));case 3:if(!n.Uh){u.next=11;break}if(n.Sh.Bi(r.targetId),u.t0=n.Sh.Fi(r.targetId),u.t0){u.next=9;break}return u.next=9,c.default.awrap(Ju(n.ju,r.targetId,!1).then(function(){n.Sh.Ui(r.targetId),ba(n.ph,r.targetId),cs(n,r.targetId)}).catch(ra));case 9:u.next=14;break;case 11:return cs(n,r.targetId),u.next=14,c.default.awrap(Ju(n.ju,r.targetId,!0));case 14:case"end":return u.stop()}},null,null,null,Promise)}function es(e,t,n){var r,i,u;return c.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return r=Ts(e),a.prev=1,a.next=4,c.default.awrap((function(e,t){var n,r=G(e),i=Ne.now(),u=t.reduce(function(e,t){return e.add(t.key)},rt());return r.persistence.runTransaction("Locally write mutations","readwrite",function(e){return r.Cc.kr(e,u).next(function(u){n=u;for(var a,s=[],o=_(t);!(a=o()).done;){var c=a.value,l=Wn(c,n.get(c.key));null!=l&&s.push(new Yn(c.key,l,ir(l.proto.mapValue),qn.exists(!0)))}return r.Sr.ko(e,i,s,t)})}).then(function(e){var t=e.lr(n);return{batchId:e.batchId,wr:t}})})(r.ju,t));case 4:return i=a.sent,r.Sh.xi(i.batchId),(function(e,t,n){var r=e.Oh[e.currentUser.ti()];r||(r=new We(ge)),r=r.ot(t,n),e.Oh[e.currentUser.ti()]=r})(r,i.batchId,n),a.next=9,c.default.awrap(vs(r,i.wr));case 9:return a.next=11,c.default.awrap(Ra(r.ph));case 11:a.next=17;break;case 13:a.prev=13,a.t0=a.catch(1),u=ai(a.t0,"Failed to persist write"),n.reject(u);case 17:case"end":return a.stop()}},null,null,[[1,13]],Promise)}function ts(e,t){var n,r;return c.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return n=G(e),i.prev=1,i.next=4,c.default.awrap(Yu(n.ju,t));case 4:return r=i.sent,t.zt.forEach(function(e,t){var r=n.kh.get(t);r&&(q(e.ee.size+e.ne.size+e.se.size<=1),e.ee.size>0?r.Vh=!0:e.ne.size>0?q(r.Vh):e.se.size>0&&(q(r.Vh),r.Vh=!1))}),i.next=8,c.default.awrap(vs(n,r,t));case 8:i.next=14;break;case 10:return i.prev=10,i.t0=i.catch(1),i.next=14,c.default.awrap(ra(i.t0));case 14:case"end":return i.stop()}},null,null,[[1,10]],Promise)}function ns(e,t,n){var r=G(e);if(r.Uh&&0===n||!r.Uh&&1===n){var i=[];r.Nh.forEach(function(e,n){var r=n.view.Qs(t);r.snapshot&&i.push(r.snapshot)}),(function(e,t){var n=G(e);n.onlineState=t;var r=!1;n.Bs.forEach(function(e,n){for(var i,u=_(n.listeners);!(i=u()).done;){i.value.Qs(t)&&(r=!0)}}),r&&di(n)})(r.bh,t),i.length&&r.Ch.yu(i),r.onlineState=t,r.Uh&&r.Sh.Ki(t)}}function rs(e,t,n){var r,i,u,a,s,o;return c.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:if((r=G(e)).Sh.Qi(t,"rejected",n),i=r.kh.get(t),!(u=i&&i.key)){l.next=14;break}return a=(a=new We(Y.i)).ot(u,new sr(u,Se.min())),s=rt().add(u),o=new ct(Se.min(),new Map,new He(ge),a,s),l.next=9,c.default.awrap(ts(r,o));case 9:r.$h=r.$h.remove(u),r.kh.delete(t),ds(r),l.next=16;break;case 14:return l.next=16,c.default.awrap(Ju(r.ju,t,!1).then(function(){return cs(r,t,n)}).catch(ra));case 16:case"end":return l.stop()}},null,null,null,Promise)}function is(e,t){var n,r,i;return c.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return n=G(e),r=t.batch.batchId,u.prev=1,u.next=4,c.default.awrap(Qu(n.ju,t));case 4:return i=u.sent,os(n,r,null),ss(n,r),n.Sh.ki(r,"acknowledged"),u.next=10,c.default.awrap(vs(n,i));case 10:u.next=16;break;case 12:return u.prev=12,u.t0=u.catch(1),u.next=16,c.default.awrap(ra(u.t0));case 16:case"end":return u.stop()}},null,null,[[1,12]],Promise)}function us(e,t,n){var r,i;return c.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return r=G(e),u.prev=1,u.next=4,c.default.awrap((function(e,t){var n=G(e);return n.persistence.runTransaction("Reject batch","readwrite-primary",function(e){var r;return n.Sr.Oo(e,t).next(function(t){return q(null!==t),r=t.keys(),n.Sr.Wo(e,t)}).next(function(){return n.Sr.zo(e)}).next(function(){return n.Cc.kr(e,r)})})})(r.ju,t));case 4:return i=u.sent,os(r,t,n),ss(r,t),r.Sh.ki(t,"rejected",n),u.next=10,c.default.awrap(vs(r,i));case 10:u.next=16;break;case 12:return u.prev=12,u.t0=u.catch(1),u.next=16,c.default.awrap(ra(u.t0));case 16:case"end":return u.stop()}},null,null,[[1,12]],Promise)}function as(e,t){var n,r,i,u;return c.default.async(function(a){for(;;)switch(a.prev=a.next){case 0:return Ta((n=G(e)).ph)||U("SyncEngine","The network is disabled. The task returned by 'awaitPendingWrites()' will not complete until the network is enabled."),a.prev=2,a.next=5,c.default.awrap((function(e){var t=G(n.ju);return t.persistence.runTransaction("Get highest unacknowledged batch id","readonly",function(e){return t.Sr.qo(e)})})());case 5:if(-1!==(r=a.sent)){a.next=8;break}return a.abrupt("return",void t.resolve());case 8:(i=n.Lh.get(r)||[]).push(t),n.Lh.set(r,i),a.next=16;break;case 12:a.prev=12,a.t0=a.catch(2),u=ai(a.t0,"Initialization of waitForPendingWrites() operation failed"),t.reject(u);case 16:case"end":return a.stop()}},null,null,[[2,12]],Promise)}function ss(e,t){(e.Lh.get(t)||[]).forEach(function(e){e.resolve()}),e.Lh.delete(t)}function os(e,t,n){var r=G(e),i=r.Oh[r.currentUser.ti()];if(i){var u=i.get(t);u&&(n?u.reject(n):u.resolve(),i=i.remove(t)),r.Oh[r.currentUser.ti()]=i}}function cs(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e.Sh.Bi(t);for(var r,i=_(e.Fh.get(t));!(r=i()).done;){var u=r.value;e.Nh.delete(u),n&&e.Ch.Wh(u,n)}e.Fh.delete(t),e.Uh&&e.Mh.Uc(t).forEach(function(t){e.Mh.Ho(t)||ls(e,t)})}function ls(e,t){var n=e.$h.get(t);null!==n&&(ba(e.ph,n),e.$h=e.$h.remove(t),e.kh.delete(n),ds(e))}function fs(e,t,n){for(var r,i=_(n);!(r=i()).done;){var u=r.value;u instanceof Wa?(e.Mh.Da(u.key,t),hs(e,u)):u instanceof Ka?(U("SyncEngine","Document no longer in limbo: "+u.key),e.Mh.Na(u.key,t),e.Mh.Ho(u.key)||ls(e,u.key)):M()}}function hs(e,t){var n=t.key;e.$h.get(n)||(U("SyncEngine","New document in limbo: "+n),e.xh.push(n),ds(e))}function ds(e){for(;e.xh.length>0&&e.$h.size0)}},{key:"Hh",value:function(e,t){return V()<=I.LogLevel.DEBUG&&U("IndexFreeQueryEngine","Using full collection scan to execute query:",xr(t)),this.zh.Lr(e,t,Se.min())}}]),e})(),Ns=(function(){function e(t,n){(0,y.default)(this,e),this.Dr=t,this.No=n,this.Sr=[],this.Jh=1,this.Xh=new He(ua.kc)}return(0,d.default)(e,[{key:"$o",value:function(e){return Kr.resolve(0===this.Sr.length)}},{key:"ko",value:function(e,t,n,r){var i=this.Jh;this.Jh++,this.Sr.length>0&&this.Sr[this.Sr.length-1];var u=new Ai(i,t,n,r);this.Sr.push(u);for(var a,s=_(r);!(a=s()).done;){var o=a.value;this.Xh=this.Xh.add(new ua(o.key,i)),this.Dr.Mo(e,o.key.path.h())}return Kr.resolve(u)}},{key:"Oo",value:function(e,t){return Kr.resolve(this.Zh(t))}},{key:"Bo",value:function(e,t){var n=t+1,r=this.tl(n),i=r<0?0:r;return Kr.resolve(this.Sr.length>i?this.Sr[i]:null)}},{key:"qo",value:function(){return Kr.resolve(0===this.Sr.length?-1:this.Jh-1)}},{key:"Uo",value:function(e){return Kr.resolve(this.Sr.slice())}},{key:"Nr",value:function(e,t){var n=this,r=new ua(t,0),i=new ua(t,Number.POSITIVE_INFINITY),u=[];return this.Xh.Ft([r,i],function(e){var t=n.Zh(e.jc);u.push(t)}),Kr.resolve(u)}},{key:"Or",value:function(e,t){var n=this,r=new He(ge);return t.forEach(function(e){var t=new ua(e,0),i=new ua(e,Number.POSITIVE_INFINITY);n.Xh.Ft([t,i],function(e){r=r.add(e.jc)})}),Kr.resolve(this.el(r))}},{key:"Wr",value:function(e,t){var n=t.path,r=n.length+1,i=n;Y.F(i)||(i=i.child(""));var u=new ua(new Y(i),0),a=new He(ge);return this.Xh.xt(function(e){var t=e.key.path;return!!n.T(t)&&(t.length===r&&(a=a.add(e.jc)),!0)},u),Kr.resolve(this.el(a))}},{key:"el",value:function(e){var t=this,n=[];return e.forEach(function(e){var r=t.Zh(e);null!==r&&n.push(r)}),n}},{key:"Wo",value:function(e,t){var n=this;q(0===this.nl(t.batchId,"removed")),this.Sr.shift();var r=this.Xh;return Kr.forEach(t.mutations,function(i){var u=new ua(i.key,t.batchId);return r=r.delete(u),n.No.Go(e,i.key)}).next(function(){n.Xh=r})}},{key:"Ko",value:function(e){}},{key:"Ho",value:function(e,t){var n=new ua(t,0),r=this.Xh.$t(n);return Kr.resolve(t.isEqual(r&&r.key))}},{key:"zo",value:function(e){return this.Sr.length,Kr.resolve()}},{key:"nl",value:function(e,t){return this.tl(e)}},{key:"tl",value:function(e){return 0===this.Sr.length?0:e-this.Sr[0].batchId}},{key:"Zh",value:function(e){var t=this.tl(e);return t<0||t>=this.Sr.length?null:this.Sr[t]}}]),e})(),Ss=(function(){function e(t,n){(0,y.default)(this,e),this.Dr=t,this.sl=n,this.docs=new We(Y.i),this.size=0}return(0,d.default)(e,[{key:"Er",value:function(e,t,n){var r=t.key,i=this.docs.get(r),u=i?i.size:0,a=this.sl(t);return this.docs=this.docs.ot(r,{ta:t,size:a,readTime:n}),this.size+=a-u,this.Dr.Mo(e,r.path.h())}},{key:"Ar",value:function(e){var t=this.docs.get(e);t&&(this.docs=this.docs.remove(e),this.size-=t.size)}},{key:"Rr",value:function(e,t){var n=this.docs.get(t);return Kr.resolve(n?n.ta:null)}},{key:"getEntries",value:function(e,t){var n=this,r=Je();return t.forEach(function(e){var t=n.docs.get(e);r=r.ot(e,t?t.ta:null)}),Kr.resolve(r)}},{key:"Lr",value:function(e,t,n){for(var r=et(),i=new Y(t.path.child("")),u=this.docs.ft(i);u.At();){var a=u.It(),s=a.key,o=a.value,c=o.ta,l=o.readTime;if(!t.path.T(s.path))break;l.L(n)<=0||c instanceof ar&&_r(t,c)&&(r=r.ot(c.key,c))}return Kr.resolve(r)}},{key:"il",value:function(e,t){return Kr.forEach(this.docs,function(e){return t(e)})}},{key:"ra",value:function(e){return new Ds(this)}},{key:"aa",value:function(e){return Kr.resolve(this.size)}}]),e})(),Ds=(function(e){(0,p.default)(n,e);var t=N(n);function n(e){var r;return(0,y.default)(this,n),(r=t.call(this)).ca=e,r}return(0,d.default)(n,[{key:"yr",value:function(e){var t=this,n=[];return this.wr.forEach(function(r,i){i?n.push(t.ca.Er(e,i,t.readTime)):t.ca.Ar(r)}),Kr.$n(n)}},{key:"gr",value:function(e,t){return this.ca.Rr(e,t)}},{key:"Pr",value:function(e,t){return this.ca.getEntries(e,t)}}]),n})(Si),Ls=(function(){function e(t){(0,y.default)(this,e),this.persistence=t,this.rl=new Ae(function(e){return Ue(e)},Oe),this.lastRemoteSnapshotVersion=Se.min(),this.highestTargetId=0,this.ol=0,this.al=new ia,this.targetCount=0,this.cl=Ru.fa()}return(0,d.default)(e,[{key:"Ce",value:function(e,t){return this.rl.forEach(function(e,n){return t(n)}),Kr.resolve()}},{key:"Ea",value:function(e){return Kr.resolve(this.lastRemoteSnapshotVersion)}},{key:"Ia",value:function(e){return Kr.resolve(this.ol)}},{key:"wa",value:function(e){return this.highestTargetId=this.cl.next(),Kr.resolve(this.highestTargetId)}},{key:"Aa",value:function(e,t,n){return n&&(this.lastRemoteSnapshotVersion=n),t>this.ol&&(this.ol=t),Kr.resolve()}},{key:"ga",value:function(e){this.rl.set(e.target,e);var t=e.targetId;t>this.highestTargetId&&(this.cl=new Ru(t),this.highestTargetId=t),e.sequenceNumber>this.ol&&(this.ol=e.sequenceNumber)}},{key:"Ra",value:function(e,t){return this.ga(t),this.targetCount+=1,Kr.resolve()}},{key:"ya",value:function(e,t){return this.ga(t),Kr.resolve()}},{key:"Va",value:function(e,t){return this.rl.delete(t.target),this.al.Uc(t.targetId),this.targetCount-=1,Kr.resolve()}},{key:"po",value:function(e,t,n){var r=this,i=0,u=[];return this.rl.forEach(function(a,s){s.sequenceNumber<=t&&null===n.get(s.targetId)&&(r.rl.delete(a),u.push(r.pa(e,s.targetId)),i++)}),Kr.$n(u).next(function(){return i})}},{key:"ba",value:function(e){return Kr.resolve(this.targetCount)}},{key:"va",value:function(e,t){var n=this.rl.get(t)||null;return Kr.resolve(n)}},{key:"Sa",value:function(e,t,n){return this.al.Lc(t,n),Kr.resolve()}},{key:"Ca",value:function(e,t,n){this.al.qc(t,n);var r=this.persistence.No,i=[];return r&&t.forEach(function(t){i.push(r.Go(e,t))}),Kr.$n(i)}},{key:"pa",value:function(e,t){return this.al.Uc(t),Kr.resolve()}},{key:"Fa",value:function(e,t){var n=this.al.Wc(t);return Kr.resolve(n)}},{key:"Ho",value:function(e,t){return Kr.resolve(this.al.Ho(t))}}]),e})(),Ps=(function(){function e(t){var n=this;(0,y.default)(this,e),this.ul={},this.Ma=new pi(0),this.Oa=!1,this.Oa=!0,this.No=t(this),this.Ka=new Ls(this),this.Dr=new hu,this.vr=(function(e,t){return new Ss(e,function(e){return n.No.hl(e)})})(this.Dr)}return(0,d.default)(e,[{key:"start",value:function(){return Promise.resolve()}},{key:"Di",value:function(){return this.Oa=!1,Promise.resolve()}},{key:"Za",value:function(){}},{key:"tc",value:function(){}},{key:"Ic",value:function(){return this.Dr}},{key:"mc",value:function(e){var t=this.ul[e.ti()];return t||(t=new Ns(this.Dr,this.No),this.ul[e.ti()]=t),t}},{key:"Tc",value:function(){return this.Ka}},{key:"Ec",value:function(){return this.vr}},{key:"runTransaction",value:function(e,t,n){var r=this;U("MemoryPersistence","Starting transaction:",e);var i=new Rs(this.Ma.next());return this.No.ll(),n(i).next(function(e){return r.No._l(i).next(function(){return e})}).Fn().then(function(e){return i.br(),e})}},{key:"fl",value:function(e,t){return Kr.kn(Object.values(this.ul).map(function(n){return function(){return n.Ho(e,t)}}))}},{key:"Ei",get:function(){return this.Oa}}]),e})(),Rs=(function(e){(0,p.default)(n,e);var t=N(n);function n(e){var r;return(0,y.default)(this,n),(r=t.call(this)).xa=e,r}return n})(Li),Vs=(function(){function e(t){(0,y.default)(this,e),this.persistence=t,this.dl=new ia,this.wl=null}return(0,d.default)(e,[{key:"Da",value:function(e,t,n){return this.dl.Da(n,t),this.Tl.delete(n.toString()),Kr.resolve()}},{key:"Na",value:function(e,t,n){return this.dl.Na(n,t),this.Tl.add(n.toString()),Kr.resolve()}},{key:"Go",value:function(e,t){return this.Tl.add(t.toString()),Kr.resolve()}},{key:"removeTarget",value:function(e,t){var n=this;this.dl.Uc(t.targetId).forEach(function(e){return n.Tl.add(e.toString())});var r=this.persistence.Tc();return r.Fa(e,t.targetId).next(function(e){e.forEach(function(e){return n.Tl.add(e.toString())})}).next(function(){return r.Va(e,t)})}},{key:"ll",value:function(){this.wl=new Set}},{key:"_l",value:function(e){var t=this,n=this.persistence.Ec().ra();return Kr.forEach(this.Tl,function(r){var i=Y.D(r);return t.El(e,i).next(function(e){e||n.Ar(i)})}).next(function(){return t.wl=null,n.apply(e)})}},{key:"yc",value:function(e,t){var n=this;return this.El(e,t).next(function(e){e?n.Tl.delete(t.toString()):n.Tl.add(t.toString())})}},{key:"hl",value:function(e){return 0}},{key:"El",value:function(e,t){var n=this;return Kr.kn([function(){return Kr.resolve(n.dl.Ho(t))},function(){return n.persistence.Tc().Ho(e,t)},function(){return n.persistence.fl(e,t)}])}},{key:"Tl",get:function(){if(this.wl)return this.wl;throw M()}}],[{key:"ml",value:function(t){return new e(t)}}]),e})(),Us=(function(){function e(t){(0,y.default)(this,e),this.Il=t.Il,this.Al=t.Al}return(0,d.default)(e,[{key:"gu",value:function(e){this.Rl=e}},{key:"Tu",value:function(e){this.gl=e}},{key:"onMessage",value:function(e){this.Pl=e}},{key:"close",value:function(){this.Al()}},{key:"send",value:function(e){this.Il(e)}},{key:"yl",value:function(){this.Rl()}},{key:"Vl",value:function(e){this.gl(e)}},{key:"pl",value:function(e){this.Pl(e)}}]),e})(),Cs={BatchGetDocuments:"batchGet",Commit:"commit",RunQuery:"runQuery"},Os=(function(e){(0,p.default)(n,e);var t=N(n);function n(e){var r;return(0,y.default)(this,n),(r=t.call(this,e)).forceLongPolling=e.forceLongPolling,r.W=e.W,r}return(0,d.default)(n,[{key:"Nl",value:function(e,t,n,r){return new Promise(function(i,u){var a=new E.XhrIo;a.listenOnce(E.EventType.COMPLETE,function(){try{switch(a.getLastErrorCode()){case E.ErrorCode.NO_ERROR:var t=a.getResponseJson();U("Connection","XHR received:",JSON.stringify(t)),i(t);break;case E.ErrorCode.TIMEOUT:U("Connection",'RPC "'+e+'" timed out'),u(new P(L.DEADLINE_EXCEEDED,"Request time out"));break;case E.ErrorCode.HTTP_ERROR:var n=a.getStatus();if(U("Connection",'RPC "'+e+'" failed with status:',n,"response text:",a.getResponseText()),n>0){var r=a.getResponseJson().error;if(r&&r.status&&r.message){var s=(o=r.status.toLowerCase().replace("_","-"),Object.values(L).indexOf(o)>=0?o:L.UNKNOWN);u(new P(s,r.message))}else u(new P(L.UNKNOWN,"Server responded with status "+a.getStatus()))}else u(new P(L.UNAVAILABLE,"Connection failed."));break;default:M()}}finally{U("Connection",'RPC "'+e+'" completed.')}var o});var s=JSON.stringify(r);a.send(t,"POST",s,n,15)})}},{key:"Pu",value:function(e,t){var n=[this.vl,"/","google.firestore.v1.Firestore","/",e,"/channel"],r=(0,E.createWebChannelTransport)(),i={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:"projects/"+this.U.projectId+"/databases/"+this.U.database},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.W};this.Cl(i.initMessageHeaders,t),(0,b.isMobileCordova)()||(0,b.isReactNative)()||(0,b.isElectron)()||(0,b.isIE)()||(0,b.isUWP)()||(0,b.isBrowserExtension)()||(i.httpHeadersOverwriteParam="$httpHeaders");var u=n.join("");U("Connection","Creating WebChannel: "+u,i);var a=r.createWebChannel(u,i),s=!1,o=!1,c=new Us({Il:function(e){o?U("Connection","Not sending because WebChannel is closed:",e):(s||(U("Connection","Opening WebChannel transport."),a.open(),s=!0),U("Connection","WebChannel sending:",e),a.send(e))},Al:function(){return a.close()}}),l=function(e,t){a.listen(e,function(e){try{t(e)}catch(e){setTimeout(function(){throw e},0)}})};return l(E.WebChannel.EventType.OPEN,function(){o||U("Connection","WebChannel transport opened.")}),l(E.WebChannel.EventType.CLOSE,function(){o||(o=!0,U("Connection","WebChannel transport closed"),c.Vl())}),l(E.WebChannel.EventType.ERROR,function(e){o||(o=!0,O("Connection","WebChannel transport errored:",e),c.Vl(new P(L.UNAVAILABLE,"The operation could not be completed")))}),l(E.WebChannel.EventType.MESSAGE,function(e){var t;if(!o){var n=e.data[0];q(!!n);var r=n,i=r.error||(null===(t=r[0])||void 0===t?void 0:t.error);if(i){U("Connection","WebChannel received error:",i);var u=i.status,s=(function(e){var t=Me[u];if(void 0!==t)return Be(t)})(),l=i.message;void 0===s&&(s=L.INTERNAL,l="Unknown error status: "+u+" with message "+i.message),o=!0,c.Vl(new P(s,l)),a.close()}else U("Connection","WebChannel received:",n),c.pl(n)}}),setTimeout(function(){c.yl()},0),c}}]),n})((function(){function e(t){(0,y.default)(this,e),this.bl=t,this.U=t.U;var n=t.ssl?"https":"http";this.vl=n+"://"+t.host,this.Sl="projects/"+this.U.projectId+"/databases/"+this.U.database+"/documents"}return(0,d.default)(e,[{key:"$u",value:function(e,t,n,r){var i=this.Dl(e,t);U("RestConnection","Sending: ",i,n);var u={};return this.Cl(u,r),this.Nl(e,i,u,n).then(function(e){return U("RestConnection","Received: ",e),e},function(t){throw O("RestConnection",e+" failed with error: ",t,"url: ",i,"request:",n),t})}},{key:"ku",value:function(e,t,n,r){return this.$u(e,t,n,r)}},{key:"Cl",value:function(e,t){if(e["X-Goog-Api-Client"]="gl-js/ fire/7.24.0",e["Content-Type"]="text/plain",t)for(var n in t.Kc)t.Kc.hasOwnProperty(n)&&(e[n]=t.Kc[n])}},{key:"Dl",value:function(e,t){var n=Cs[e];return this.vl+"/v1/"+t+":"+n}}]),e})()),Fs=(function(){function e(){var t=this;(0,y.default)(this,e),this.Fl=function(){return t.xl()},this.$l=function(){return t.kl()},this.Ml=[],this.Ol()}return(0,d.default)(e,[{key:"Zu",value:function(e){this.Ml.push(e)}},{key:"Di",value:function(){window.removeEventListener("online",this.Fl),window.removeEventListener("offline",this.$l)}},{key:"Ol",value:function(){window.addEventListener("online",this.Fl),window.addEventListener("offline",this.$l)}},{key:"xl",value:function(){U("ConnectivityMonitor","Network connectivity changed: AVAILABLE");for(var e,t=_(this.Ml);!(e=t()).done;){(0,e.value)(0)}}},{key:"kl",value:function(){U("ConnectivityMonitor","Network connectivity changed: UNAVAILABLE");for(var e,t=_(this.Ml);!(e=t()).done;){(0,e.value)(1)}}}],[{key:"Ln",value:function(){return"undefined"!=typeof window&&void 0!==window.addEventListener&&void 0!==window.removeEventListener}}]),e})(),Ms=(function(){function e(){(0,y.default)(this,e)}return(0,d.default)(e,[{key:"Zu",value:function(e){}},{key:"Di",value:function(){}}]),e})();function qs(e){return new qt(e,!0)}var Gs="You are using the memory-only build of Firestore. Persistence support is only available via the @firebase/firestore bundle or the firebase-firestore.js build.",js=(function(){function e(){(0,y.default)(this,e)}return(0,d.default)(e,[{key:"initialize",value:function(e){return c.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return this.Sh=this.Ll(e),this.persistence=this.Bl(e),t.next=4,c.default.awrap(this.persistence.start());case 4:this.ql=this.Ul(e),this.ju=this.Ql(e);case 6:case"end":return t.stop()}},null,this,null,Promise)}},{key:"Ul",value:function(e){return null}},{key:"Ql",value:function(e){return t=this.persistence,n=new As,r=e.Wl,new Ku(t,n,r);var t,n,r}},{key:"Bl",value:function(e){if(e.persistenceSettings.jl)throw new P(L.FAILED_PRECONDITION,Gs);return new Ps(Vs.ml)}},{key:"Ll",value:function(e){return new Ti}},{key:"terminate",value:function(){return c.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return this.ql&&this.ql.stop(),e.next=3,c.default.awrap(this.Sh.Di());case 3:return e.next=5,c.default.awrap(this.persistence.Di());case 5:case"end":return e.stop()}},null,this,null,Promise)}},{key:"clearPersistence",value:function(e,t){throw new P(L.FAILED_PRECONDITION,Gs)}}]),e})(),zs=(function(e){(0,p.default)(n,e);var t=N(n);function n(){return(0,y.default)(this,n),t.apply(this,arguments)}return(0,d.default)(n,[{key:"initialize",value:function(e){var t,r=this;return c.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,c.default.awrap((0,h.default)((0,g.default)(n.prototype),"initialize",this).call(this,e));case 2:if(t=this.Kl.fi,i.t0=this.Sh instanceof _i,!i.t0){i.next=8;break}return this.Sh.fi={er:gs.bind(null,t),nr:Es.bind(null,t),sr:xs.bind(null,t),pi:Is.bind(null,t)},i.next=8,c.default.awrap(this.Sh.start());case 8:return i.next=10,c.default.awrap(this.persistence.Xa(function(e){return c.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.default.awrap(ks(r.Kl.fi,e));case 2:r.ql&&(e&&!r.ql.Ei?r.ql.start(r.ju):e||r.ql.stop());case 3:case"end":return t.stop()}},null,null,null,Promise)}));case 10:case"end":return i.stop()}},null,this,null,Promise)}},{key:"Ll",value:function(e){if(e.persistenceSettings.jl&&e.persistenceSettings.synchronizeTabs){var t=ni();if(!_i.Ln(t))throw new P(L.UNIMPLEMENTED,"IndexedDB persistence is only available on platforms that support LocalStorage.");var n=Wu(e.bl.U,e.bl.persistenceKey);return new _i(t,e.cs,n,e.clientId,e.Wl)}return new Ti}}]),n})((function(e){(0,p.default)(n,e);var t=N(n);function n(e){var r;return(0,y.default)(this,n),(r=t.call(this)).Kl=e,r}return(0,d.default)(n,[{key:"initialize",value:function(e){return c.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.default.awrap((0,h.default)((0,g.default)(n.prototype),"initialize",this).call(this,e));case 2:return t.next=4,c.default.awrap(na(this.ju));case 4:return t.next=6,c.default.awrap(this.Kl.initialize(this,e));case 6:return t.next=8,c.default.awrap(Ts(this.Kl.fi));case 8:return t.next=10,c.default.awrap(Ra(this.Kl.ph));case 10:case"end":return t.stop()}},null,this,null,Promise)}},{key:"Ul",value:function(e){var t=this.persistence.No.wo;return new Fi(t,e.cs)}},{key:"Bl",value:function(e){var t=Wu(e.bl.U,e.bl.persistenceKey),n=qs(e.bl.U);return new qu(e.persistenceSettings.synchronizeTabs,t,e.clientId,Oi.ao(e.persistenceSettings.cacheSizeBytes),e.cs,ni(),ri(),n,this.Sh,e.persistenceSettings.ka)}},{key:"Ll",value:function(e){return new Ti}},{key:"clearPersistence",value:function(e,t){return(function(e){var t;return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(Qr.Ln()){n.next=2;break}return n.abrupt("return",Promise.resolve());case 2:return t=e+"main",n.next=5,c.default.awrap(Qr.delete(t));case 5:case"end":return n.stop()}},null,null,null,Promise)})(Wu(e,t))}}]),n})(js)),Bs=(function(){function e(){(0,y.default)(this,e)}return(0,d.default)(e,[{key:"initialize",value:function(e,t){var n=this;return c.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:if(r.t0=this.ju,r.t0){r.next=12;break}return this.ju=e.ju,this.Sh=e.Sh,this.Ku=this.Gl(t),this.ph=this.zl(t),this.bh=this.Hl(t),this.fi=this.Yl(t),this.Sh.di=function(e){return ns(n.fi,e,1)},this.ph.Gu.Jl=ys.bind(null,this.fi),r.next=12,c.default.awrap(ja(this.ph,this.fi.Uh));case 12:case"end":return r.stop()}},null,this,null,Promise)}},{key:"Hl",value:function(e){return new oi}},{key:"Gl",value:function(e){var t,n=qs(e.bl.U),r=(t=e.bl,new Os(t));return(function(e,t,n){return new va(e,t,n)})(e.credentials,r,n)}},{key:"zl",value:function(e){var t,n,r,i,u,a=this;return t=this.ju,n=this.Ku,r=e.cs,i=function(e){return ns(a.fi,e,0)},u=Fs.Ln()?new Fs:new Ms,new pa(t,n,r,i,u)}},{key:"Yl",value:function(e){return(function(e,t,n,r,i,u,a){var s=new $a(e,t,n,r,i,u);return a&&(s.qh=!0),s})(this.ju,this.ph,this.bh,this.Sh,e.Wl,e.Dh,!e.persistenceSettings.jl||!e.persistenceSettings.synchronizeTabs)}},{key:"terminate",value:function(){return ka(this.ph)}}]),e})(),Ws=(function(){function e(t){(0,y.default)(this,e),this.observer=t,this.muted=!1}return(0,d.default)(e,[{key:"next",value:function(e){this.observer.next&&this.Xl(this.observer.next,e)}},{key:"error",value:function(e){this.observer.error?this.Xl(this.observer.error,e):console.error("Uncaught Error in snapshot listener:",e)}},{key:"Zl",value:function(){this.muted=!0}},{key:"Xl",value:function(e,t){var n=this;this.muted||setTimeout(function(){n.muted||e(t)},0)}}]),e})(),Ks=function e(t){(0,y.default)(this,e),(function(e,t,n,r){if(!(t instanceof Array)||t.length<1)throw new P(L.INVALID_ARGUMENT,"Function FieldPath() requires its fieldNames argument to be an array with at least "+ye(1,"element")+".")})(0,t);for(var n=0;n90)throw new P(L.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+t);if(!isFinite(n)||n<-180||n>180)throw new P(L.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+n);this.u_=t,this.h_=n}return(0,d.default)(e,[{key:"isEqual",value:function(e){return this.u_===e.u_&&this.h_===e.h_}},{key:"toJSON",value:function(){return{latitude:this.u_,longitude:this.h_}}},{key:"Y",value:function(e){return ge(this.u_,e.u_)||ge(this.h_,e.h_)}},{key:"latitude",get:function(){return this.u_}},{key:"longitude",get:function(){return this.h_}}]),e})(),ro=function e(t){(0,y.default)(this,e),this.l_=t},io=/^__.*__$/,uo=function e(t,n,r){(0,y.default)(this,e),this.__=t,this.f_=n,this.d_=r},ao=(function(){function e(t,n,r){(0,y.default)(this,e),this.data=t,this.We=n,this.fieldTransforms=r}return(0,d.default)(e,[{key:"w_",value:function(e,t){var n=[];return null!==this.We?n.push(new Yn(e,this.data,this.We,t)):n.push(new Hn(e,this.data,t)),this.fieldTransforms.length>0&&n.push(new Xn(e,this.fieldTransforms)),n}}]),e})(),so=(function(){function e(t,n,r){(0,y.default)(this,e),this.data=t,this.We=n,this.fieldTransforms=r}return(0,d.default)(e,[{key:"w_",value:function(e,t){var n=[new Yn(e,this.data,this.We,t)];return this.fieldTransforms.length>0&&n.push(new Xn(e,this.fieldTransforms)),n}}]),e})();function oo(e){switch(e){case 0:case 2:case 1:return!0;case 3:case 4:return!1;default:throw M()}}var co=(function(){function e(t,n,r,i,u,a){(0,y.default)(this,e),this.settings=t,this.U=n,this.serializer=r,this.ignoreUndefinedProperties=i,void 0===u&&this.m_(),this.fieldTransforms=u||[],this.We=a||[]}return(0,d.default)(e,[{key:"T_",value:function(t){return new e((0,l.default)((0,l.default)({},this.settings),t),this.U,this.serializer,this.ignoreUndefinedProperties,this.fieldTransforms,this.We)}},{key:"E_",value:function(e){var t,n=null===(t=this.path)||void 0===t?void 0:t.child(e),r=this.T_({path:n,o_:!1});return r.I_(e),r}},{key:"A_",value:function(e){var t,n=null===(t=this.path)||void 0===t?void 0:t.child(e),r=this.T_({path:n,o_:!1});return r.m_(),r}},{key:"R_",value:function(e){return this.T_({path:void 0,o_:!0})}},{key:"i_",value:function(e){return Io(e,this.settings.methodName,this.settings.g_||!1,this.path,this.settings.r_)}},{key:"contains",value:function(e){return void 0!==this.We.find(function(t){return e.T(t)})||void 0!==this.fieldTransforms.find(function(t){return e.T(t.field)})}},{key:"m_",value:function(){if(this.path)for(var e=0;e3&&void 0!==arguments[3]&&arguments[3];return new co({s_:e,methodName:t,r_:n,path:H.P(),o_:!1,g_:r},this.U,this.serializer,this.ignoreUndefinedProperties)}}]),e})();function fo(e,t,n,r,i){var u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=e.P_(u.merge||u.mergeFields?2:0,t,n,i);ko("Data must be an object, but it was:",a,r);var s,o,c=mo(r,a);if(u.merge)s=new Cn(a.We),o=a.fieldTransforms;else if(u.mergeFields){for(var l,f=[],h=_(u.mergeFields);!(l=h()).done;){var d=l.value,v=void 0;if(d instanceof Ks)v=d.t_;else{if("string"!=typeof d)throw M();v=bo(t,d,n)}if(!a.contains(v))throw new P(L.INVALID_ARGUMENT,"Field '"+v+"' is specified in your field mask but missing from your input data.");Eo(f,v)||f.push(v)}s=new Cn(f),o=a.fieldTransforms.filter(function(e){return s.Ye(e.field)})}else s=null,o=a.fieldTransforms;return new ao(new nr(c),s,o)}function ho(e,t,n,r){var i=e.P_(1,t,n);ko("Data must be an object, but it was:",i,r);var u=[],a=new rr;z(r,function(e,r){var s=bo(t,e,n),o=i.A_(s);if(r instanceof $s||r instanceof ro&&r.l_ instanceof $s)u.push(s);else{var c=po(r,o);null!=c&&(u.push(s),a.set(s,c))}});var s=new Cn(u);return new so(a.Xe(),s,i.fieldTransforms)}function vo(e,t,n,r,i,u){var a=e.P_(1,t,n),s=[wo(t,r,n)],o=[i];if(u.length%2!=0)throw new P(L.INVALID_ARGUMENT,"Function "+t+"() needs to be called with an even number of arguments that alternate between field names and values.");for(var c=0;c=0;--h)if(!Eo(l,s[h])){var d=s[h],v=o[h],y=a.A_(d);if(v instanceof $s||v instanceof ro&&v.l_ instanceof $s)l.push(d);else{var p=po(v,y);null!=p&&(l.push(d),f.set(d,p))}}var m=new Cn(l);return new so(f.Xe(),m,a.fieldTransforms)}function yo(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return po(n,e.P_(r?4:3,t))}function po(e,t){if(e instanceof ro&&(e=e.l_),go(e))return ko("Unsupported field value:",t,e),mo(e,t);if(e instanceof Ys)return(function(e,t){if(!oo(t.s_))throw t.i_(e.e_+"() can only be used with update() and set()");if(!t.path)throw t.i_(e.e_+"() is not currently supported inside arrays");var n=e.n_(t);n&&t.fieldTransforms.push(n)})(e,t),null;if(t.path&&t.We.push(t.path),e instanceof Array){if(t.settings.o_&&4!==t.s_)throw t.i_("Nested arrays are not supported");return(function(e,t){for(var n,r=[],i=0,u=_(e);!(n=u()).done;){var a=po(n.value,t.R_(i));null==a&&(a={nullValue:"NULL_VALUE"}),r.push(a),i++}return{arrayValue:{values:r}}})(e,t)}return(function(e,t){if(null===e)return{nullValue:"NULL_VALUE"};if("number"==typeof e)return zt(t.serializer,e);if("boolean"==typeof e)return{booleanValue:e};if("string"==typeof e)return{stringValue:e};if(e instanceof Date){var n=Ne.fromDate(e);return{timestampValue:Bt(t.serializer,n)}}if(e instanceof Ne){var r=new Ne(e.seconds,1e3*Math.floor(e.nanoseconds/1e3));return{timestampValue:Bt(t.serializer,r)}}if(e instanceof no)return{geoPointValue:{latitude:e.latitude,longitude:e.longitude}};if(e instanceof Ie)return{bytesValue:Wt(t.serializer,e.q)};if(e instanceof uo){var i=t.U,u=e.__;if(!u.isEqual(i))throw t.i_("Document reference is for database "+u.projectId+"/"+u.database+" but should be for database "+i.projectId+"/"+i.database);return{referenceValue:Ht(e.__||t.U,e.f_.path)}}if(void 0===e&&t.ignoreUndefinedProperties)return null;throw t.i_("Unsupported field value: "+ce(e))})(e,t)}function mo(e,t){var n={};return B(e)?t.path&&t.path.length>0&&t.We.push(t.path):z(e,function(e,r){var i=po(r,t.E_(e));null!=i&&(n[e]=i)}),{mapValue:{fields:n}}}function go(e){return!("object"!=typeof e||null===e||e instanceof Array||e instanceof Date||e instanceof Ne||e instanceof no||e instanceof Ie||e instanceof uo||e instanceof Ys)}function ko(e,t,n){if(!go(n)||!oe(n)){var r=ce(n);throw"an object"===r?t.i_(e+" a custom object"):t.i_(e+" "+r)}}function wo(e,t,n){if(t instanceof Ks)return t.t_;if("string"==typeof t)return bo(e,t);throw Io("Field path arguments must be of type string or FieldPath.",e,!1,void 0,n)}function bo(e,t,n){try{return(function(e){if(e.search(Hs)>=0)throw new P(L.INVALID_ARGUMENT,"Invalid field path ("+e+"). Paths must not contain '~', '*', '/', '[', or ']'");try{return(0,o.default)(Qs,(0,v.default)(e.split(".")))}catch(t){throw new P(L.INVALID_ARGUMENT,"Invalid field path ("+e+"). Paths must not be empty, begin with '.', end with '.', or contain '..'")}})(t).t_}catch(t){throw Io((r=t)instanceof Error?r.message:r.toString(),e,!1,void 0,n)}var r}function Io(e,t,n,r,i){var u=r&&!r.m(),a=void 0!==i,s="Function "+t+"() called with invalid data";n&&(s+=" (via `toFirestore()`)"),s+=". ";var o="";return(u||a)&&(o+=" (found",u&&(o+=" in field "+r),a&&(o+=" in document "+i),o+=")"),new P(L.INVALID_ARGUMENT,s+e+o)}function Eo(e,t){return e.some(function(e){return e.isEqual(t)})}var xo=(function(){function e(t){(0,y.default)(this,e),this.Ku=t,this.y_=new Map,this.mutations=[],this.V_=!1,this.p_=null,this.b_=new Set}return(0,d.default)(e,[{key:"v_",value:function(e){var t,n=this;return c.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:if(this.S_(),!(this.mutations.length>0)){r.next=2;break}throw new P(L.INVALID_ARGUMENT,"Firestore transactions require all reads to be executed before all writes.");case 2:return r.next=4,c.default.awrap((function(e,t){var n,r,i,u,a,s;return c.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return n=G(e),r=en(n.serializer)+"/documents",i={documents:t.map(function(e){return $t(n.serializer,e)})},o.next=5,c.default.awrap(n.ku("BatchGetDocuments",r,i));case 5:return u=o.sent,a=new Map,u.forEach(function(e){var t=rn(n.serializer,e);a.set(t.key.toString(),t)}),s=[],o.abrupt("return",(t.forEach(function(e){var t=a.get(e.toString());q(!!t),s.push(t)}),s));case 10:case"end":return o.stop()}},null,null,null,Promise)})(this.Ku,e));case 4:return t=r.sent,r.abrupt("return",(t.forEach(function(e){e instanceof sr||e instanceof ar?n.D_(e):M()}),t));case 6:case"end":return r.stop()}},null,this,null,Promise)}},{key:"set",value:function(e,t){this.write(t.w_(e,this.Ge(e))),this.b_.add(e.toString())}},{key:"update",value:function(e,t){try{this.write(t.w_(e,this.C_(e)))}catch(e){this.p_=e}this.b_.add(e.toString())}},{key:"delete",value:function(e){this.write([new er(e,this.Ge(e))]),this.b_.add(e.toString())}},{key:"commit",value:function(){var e,t=this;return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(this.S_(),!this.p_){n.next=2;break}throw this.p_;case 2:return e=this.y_,this.mutations.forEach(function(t){e.delete(t.key.toString())}),e.forEach(function(e,n){var r=Y.D(n);t.mutations.push(new tr(r,t.Ge(r)))}),n.next=7,c.default.awrap((function(e,t){var n,r,i;return c.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return n=G(e),r=en(n.serializer)+"/documents",i={writes:t.map(function(e){return an(n.serializer,e)})},u.next=3,c.default.awrap(n.$u("Commit",r,i));case 3:case"end":return u.stop()}},null,null,null,Promise)})(this.Ku,this.mutations));case 7:this.V_=!0;case 8:case"end":return n.stop()}},null,this,null,Promise)}},{key:"D_",value:function(e){var t;if(e instanceof ar)t=e.version;else{if(!(e instanceof sr))throw M();t=Se.min()}var n=this.y_.get(e.key.toString());if(n){if(!t.isEqual(n))throw new P(L.ABORTED,"Document version changed between two reads.")}else this.y_.set(e.key.toString(),t)}},{key:"Ge",value:function(e){var t=this.y_.get(e.toString());return!this.b_.has(e.toString())&&t?qn.updateTime(t):qn.ze()}},{key:"C_",value:function(e){var t=this.y_.get(e.toString());if(!this.b_.has(e.toString())&&t){if(t.isEqual(Se.min()))throw new P(L.INVALID_ARGUMENT,"Can't update a document that doesn't exist.");return qn.updateTime(t)}return qn.exists(!0)}},{key:"write",value:function(e){this.S_(),this.mutations=this.mutations.concat(e)}},{key:"S_",value:function(){}}]),e})(),_o=(function(){function e(t,n,r,i){(0,y.default)(this,e),this.cs=t,this.Ku=n,this.updateFunction=r,this.ls=i,this.N_=5,this.ys=new Wr(this.cs,"transaction_retry")}return(0,d.default)(e,[{key:"run",value:function(){this.F_()}},{key:"F_",value:function(){var e=this;this.ys.gn(function(){var t,n;return c.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:t=new xo(e.Ku),(n=e.x_(t))&&n.then(function(n){e.cs.ws(function(){return t.commit().then(function(){e.ls.resolve(n)}).catch(function(t){e.k_(t)})})}).catch(function(t){e.k_(t)});case 2:case"end":return r.stop()}},null,null,null,Promise)})}},{key:"x_",value:function(e){try{var t=this.updateFunction(e);return!De(t)&&t.catch&&t.then?t:(this.ls.reject(Error("Transaction callback must return a Promise")),null)}catch(e){return this.ls.reject(e),null}}},{key:"k_",value:function(e){var t=this;this.N_>0&&this.M_(e)?(this.N_-=1,this.cs.ws(function(){return t.F_(),Promise.resolve()})):this.ls.reject(e)}},{key:"M_",value:function(e){if("FirebaseError"===e.name){var t=e.code;return"aborted"===t||"failed-precondition"===t||!ze(t)}return!1}}]),e})(),To=(function(){function e(t,n){(0,y.default)(this,e),this.credentials=t,this.cs=n,this.clientId=me.k(),this.O_=new Br}return(0,d.default)(e,[{key:"start",value:function(e,t,n,r){var i=this;this.L_(),this.bl=e;var u=new Br,a=!1;return this.credentials.Hc(function(e){if(!a)return a=!0,U("FirestoreClient","Initializing. user=",e.uid),i.B_(t,n,r,e,u).then(i.O_.resolve,i.O_.reject);i.cs.Cs(function(){return(function(e,t){var n,r;return c.default.async(function(i){for(;;)switch(i.prev=i.next){case 0:return(n=G(e)).cs.xs(),U("RemoteStore","RemoteStore received new credentials"),r=Ta(n),n.Yu.add(3),i.next=6,c.default.awrap(ga(n));case 6:return r&&n.th.set("Unknown"),i.next=9,c.default.awrap(n.Gu.Jl(t));case 9:return n.Yu.delete(3),i.next=12,c.default.awrap(ma(n));case 12:case"end":return i.stop()}},null,null,null,Promise)})(i.ph,e)})}),this.cs.ws(function(){return i.O_.promise}),u.promise}},{key:"enableNetwork",value:function(){var e=this;return this.L_(),this.cs.enqueue(function(){return e.persistence.tc(!0),(t=G(e.ph)).Yu.delete(0),ma(t);var t})}},{key:"B_",value:function(e,t,n,r,i){var u,a=this;return c.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,u={cs:this.cs,bl:this.bl,clientId:this.clientId,credentials:this.credentials,Wl:r,Dh:100,persistenceSettings:n},s.next=4,c.default.awrap(e.initialize(u));case 4:return s.next=6,c.default.awrap(t.initialize(e,u));case 6:this.persistence=e.persistence,this.Sh=e.Sh,this.ju=e.ju,this.ql=e.ql,this.Ku=t.Ku,this.ph=t.ph,this.fi=t.fi,this.q_=t.bh,this.q_.Us=Xa.bind(null,this.fi),this.q_.js=Za.bind(null,this.fi),this.persistence.Za(function(){return c.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c.default.awrap(a.terminate());case 2:case"end":return e.stop()}},null,null,null,Promise)}),i.resolve(),s.next=25;break;case 20:if(s.prev=20,s.t0=s.catch(0),i.reject(s.t0),this.U_(s.t0)){s.next=24;break}throw s.t0;case 24:return s.abrupt("return",(console.warn("Error enabling offline persistence. Falling back to persistence disabled: "+s.t0),this.B_(new js,new Bs,{jl:!1},r,i)));case 25:case"end":return s.stop()}},null,this,[[0,20]],Promise)}},{key:"U_",value:function(e){return"FirebaseError"===e.name?e.code===L.FAILED_PRECONDITION||e.code===L.UNIMPLEMENTED:!("undefined"!=typeof DOMException&&e instanceof DOMException)||22===e.code||20===e.code||11===e.code}},{key:"L_",value:function(){if(this.cs.ps)throw new P(L.FAILED_PRECONDITION,"The client has already been terminated.")}},{key:"disableNetwork",value:function(){var e=this;return this.L_(),this.cs.enqueue(function(){return e.persistence.tc(!1),t=e.ph,c.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return(n=G(t)).Yu.add(0),e.next=4,c.default.awrap(ga(n));case 4:n.th.set("Offline");case 5:case"end":return e.stop()}},null,null,null,Promise);var t,n})}},{key:"terminate",value:function(){var e=this;this.cs.Ds();var t=new Br;return this.cs.bs(function(){var n;return c.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,e.ql&&e.ql.stop(),r.next=4,c.default.awrap(ka(e.ph));case 4:return r.next=6,c.default.awrap(e.Sh.Di());case 6:return r.next=8,c.default.awrap(e.persistence.Di());case 8:e.credentials.Yc(),t.resolve(),r.next=16;break;case 12:r.prev=12,r.t0=r.catch(0),n=ai(r.t0,"Failed to shutdown persistence"),t.reject(n);case 16:case"end":return r.stop()}},null,null,[[0,12]],Promise)}),t.promise}},{key:"waitForPendingWrites",value:function(){var e=this;this.L_();var t=new Br;return this.cs.ws(function(){return as(e.fi,t)}),t.promise}},{key:"listen",value:function(e,t,n){var r=this;this.L_();var i=new Ws(n),u=new vi(e,i,t);return this.cs.ws(function(){return ci(r.q_,u)}),function(){i.Zl(),r.cs.ws(function(){return li(r.q_,u)})}}},{key:"Q_",value:function(e){var t,n=this;return c.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return this.L_(),r.next=3,c.default.awrap(this.O_.promise);case 3:return t=new Br,r.abrupt("return",(this.cs.ws(function(){return(function(e,t,n){var r,i;return c.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,c.default.awrap((function(e,t){var n=G(e);return n.persistence.runTransaction("read document","readonly",function(e){return n.Cc.Cr(e,t)})})(e,t));case 3:(r=u.sent)instanceof ar?n.resolve(r):r instanceof sr?n.resolve(null):n.reject(new P(L.UNAVAILABLE,"Failed to get document from cache. (However, this document may exist on the server. Run again without setting 'source' in the GetOptions to attempt to retrieve the document from the server.)")),u.next=11;break;case 7:u.prev=7,u.t0=u.catch(0),i=ai(u.t0,"Failed to get document '"+t+" from cache"),n.reject(i);case 11:case"end":return u.stop()}},null,null,[[0,7]],Promise)})(n.ju,e,t)}),t.promise));case 5:case"end":return r.stop()}},null,this,null,Promise)}},{key:"W_",value:function(e){var t,n,r=this,i=arguments;return c.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return t=i.length>1&&void 0!==i[1]?i[1]:{},this.L_(),u.next=4,c.default.awrap(this.O_.promise);case 4:return n=new Br,u.abrupt("return",(this.cs.ws(function(){return(function(e,t,n,r,i){var u=new Ws({next:function(u){t.ws(function(){return li(e,a)});var s=u.docs.has(n);!s&&u.fromCache?i.reject(new P(L.UNAVAILABLE,"Failed to get document because the client is offline.")):s&&u.fromCache&&r&&"server"===r.source?i.reject(new P(L.UNAVAILABLE,'Failed to get document from server. (However, this document does exist in the local cache. Run again without setting source to "server" to retrieve the cached document.)')):i.resolve(u)},error:function(e){return i.reject(e)}}),a=new vi(fr(n.path),u,{includeMetadataChanges:!0,Xs:!0});return ci(e,a)})(r.q_,r.cs,e,t,n)}),n.promise));case 6:case"end":return u.stop()}},null,this,null,Promise)}},{key:"j_",value:function(e){var t,n=this;return c.default.async(function(r){for(;;)switch(r.prev=r.next){case 0:return this.L_(),r.next=3,c.default.awrap(this.O_.promise);case 3:return t=new Br,r.abrupt("return",(this.cs.ws(function(){return(function(e,t,n){var r,i,u,a,s;return c.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,c.default.awrap(Zu(e,t,!0));case 3:r=o.sent,i=new Qa(t,r.Fc),u=i.wh(r.documents),a=i.yr(u,!1),n.resolve(a.snapshot),o.next=14;break;case 10:o.prev=10,o.t0=o.catch(0),s=ai(o.t0,"Failed to execute query '"+t+" against cache"),n.reject(s);case 14:case"end":return o.stop()}},null,null,[[0,10]],Promise)})(n.ju,e,t)}),t.promise));case 5:case"end":return r.stop()}},null,this,null,Promise)}},{key:"K_",value:function(e){var t,n,r=this,i=arguments;return c.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return t=i.length>1&&void 0!==i[1]?i[1]:{},this.L_(),u.next=4,c.default.awrap(this.O_.promise);case 4:return n=new Br,u.abrupt("return",(this.cs.ws(function(){return(function(e,t,n,r,i){var u=new Ws({next:function(n){t.ws(function(){return li(e,a)}),n.fromCache&&"server"===r.source?i.reject(new P(L.UNAVAILABLE,'Failed to get documents from server. (However, these documents may exist in the local cache. Run again without setting source to "server" to retrieve the cached documents.)')):i.resolve(n)},error:function(e){return i.reject(e)}}),a=new vi(n,u,{includeMetadataChanges:!0,Xs:!0});return ci(e,a)})(r.q_,r.cs,e,t,n)}),n.promise));case 6:case"end":return u.stop()}},null,this,null,Promise)}},{key:"write",value:function(e){var t=this;this.L_();var n=new Br;return this.cs.ws(function(){return es(t.fi,e,n)}),n.promise}},{key:"U",value:function(){return this.bl.U}},{key:"G_",value:function(e){var t=this;this.L_();var n=new Ws(e);return this.cs.ws(function(){return c.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(function(e,t){G(e).qs.add(t),t.next()})(t.q_,n));case 1:case"end":return e.stop()}},null,null,null,Promise)}),function(){n.Zl(),t.cs.ws(function(){return c.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(function(e,t){G(e).qs.delete(t)})(t.q_,n));case 1:case"end":return e.stop()}},null,null,null,Promise)})}}},{key:"transaction",value:function(e){var t=this;this.L_();var n=new Br;return this.cs.ws(function(){return new _o(t.cs,t.Ku,e,n).run(),Promise.resolve()}),n.promise}},{key:"z_",get:function(){return this.cs.ps}}]),e})();function Ao(e){return(function(e,t){if("object"!=typeof e||null===e)return!1;for(var n,r=e,i=_(["next","error","complete"]);!(n=i()).done;){var u=n.value;if(u in r&&"function"==typeof r[u])return!0}return!1})(e)}var No=(function(){function e(t,n,r,i,u){(0,y.default)(this,e),this.U=t,this.timestampsInSnapshots=n,this.H_=r,this.Y_=i,this.J_=u}return(0,d.default)(e,[{key:"X_",value:function(e){switch(It(e)){case 0:return null;case 1:return e.booleanValue;case 2:return Dt(e.integerValue||e.doubleValue);case 3:return this.Z_(e.timestampValue);case 4:return this.tf(e);case 5:return e.stringValue;case 6:return this.J_(Lt(e.bytesValue));case 7:return this.ef(e.referenceValue);case 8:return this.nf(e.geoPointValue);case 9:return this.sf(e.arrayValue);case 10:return this.if(e.mapValue);default:throw M()}}},{key:"if",value:function(e){var t=this,n={};return z(e.fields||{},function(e,r){n[e]=t.X_(r)}),n}},{key:"nf",value:function(e){return new no(Dt(e.latitude),Dt(e.longitude))}},{key:"sf",value:function(e){var t=this;return(e.values||[]).map(function(e){return t.X_(e)})}},{key:"tf",value:function(e){switch(this.H_){case"previous":var t=kt(e);return null==t?null:this.X_(t);case"estimate":return this.Z_(wt(e));default:return null}}},{key:"Z_",value:function(e){var t=St(e),n=new Ne(t.seconds,t.nanos);return this.timestampsInSnapshots?n:n.toDate()}},{key:"ef",value:function(e){var t=K.g(e);q(En(t));var n=new Te(t.get(1),t.get(3)),r=new Y(t.u(5));return n.isEqual(this.U)||C("Document "+r+" contains a document reference within a different database ("+n.projectId+"/"+n.database+") which is not supported. It will be treated as a reference in the current database ("+this.U.projectId+"/"+this.U.database+") instead."),this.Y_(r)}}]),e})(),So=Oi.ho,Do=(function(){function e(t){var n,r,i,u,a;if((0,y.default)(this,e),void 0===t.host){if(void 0!==t.ssl)throw new P(L.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else ne("settings","non-empty string","host",t.host),this.host=t.host,re("settings","boolean","ssl",t.ssl),this.ssl=null===(n=t.ssl)||void 0===n||n;if(fe("settings",t,["host","ssl","credentials","timestampsInSnapshots","cacheSizeBytes","experimentalForceLongPolling","experimentalAutoDetectLongPolling","ignoreUndefinedProperties"]),re("settings","object","credentials",t.credentials),this.credentials=t.credentials,re("settings","boolean","timestampsInSnapshots",t.timestampsInSnapshots),re("settings","boolean","ignoreUndefinedProperties",t.ignoreUndefinedProperties),!0===t.timestampsInSnapshots?C("The setting 'timestampsInSnapshots: true' is no longer required and should be removed."):!1===t.timestampsInSnapshots&&C("Support for 'timestampsInSnapshots: false' will be removed soon. You must update your code to handle Timestamp objects."),this.timestampsInSnapshots=null===(r=t.timestampsInSnapshots)||void 0===r||r,this.ignoreUndefinedProperties=null!==(i=t.ignoreUndefinedProperties)&&void 0!==i&&i,re("settings","number","cacheSizeBytes",t.cacheSizeBytes),void 0===t.cacheSizeBytes)this.cacheSizeBytes=Oi._o;else{if(t.cacheSizeBytes!==So&&t.cacheSizeBytes2&&void 0!==arguments[2]?arguments[2]:new js,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new Bs;if((0,y.default)(this,e),this.rf=i,this.af=u,this.cf=null,this.uf=new ui,this.INTERNAL={delete:function(){return c.default.async(function(e){for(;;)switch(e.prev=e.next){case 0:return r.hf(),e.next=3,c.default.awrap(r.lf.terminate());case 3:case"end":return e.stop()}},null,null,null,Promise)}},"object"==typeof t.options){var a=t;this.cf=a,this.__=e._f(a),this.ff=a.name,this.df=new oa(n)}else{var s=t;if(!s.projectId)throw new P(L.INVALID_ARGUMENT,"Must provide projectId");this.__=new Te(s.projectId,s.database),this.ff="[DEFAULT]",this.df=new sa}this.wf=new Do({})}return(0,d.default)(e,[{key:"settings",value:function(e){X("Firestore.settings",arguments,1),ee("Firestore.settings","object",1,e),e.merge&&delete(e=(0,l.default)((0,l.default)({},this.wf),e)).merge;var t=new Do(e);if(this.lf&&!this.wf.isEqual(t))throw new P(L.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only call settings() before calling any other methods on a Firestore object.");this.wf=t,void 0!==t.credentials&&(this.df=(function(e){if(!e)return new sa;switch(e.type){case"gapi":var t=e.client;return q(!("object"!=typeof t||null===t||!t.auth||!t.auth.getAuthHeaderValueForFirstParty)),new la(t,e.sessionIndex||"0");case"provider":return e.client;default:throw new P(L.INVALID_ARGUMENT,"makeCredentialsProvider failed due to invalid credential type")}})(t.credentials))}},{key:"enableNetwork",value:function(){return this.hf(),this.lf.enableNetwork()}},{key:"disableNetwork",value:function(){return this.hf(),this.lf.disableNetwork()}},{key:"enablePersistence",value:function(e){var t,n;if(this.lf)throw new P(L.FAILED_PRECONDITION,"Firestore has already been started and persistence can no longer be enabled. You can only call enablePersistence() before calling any other methods on a Firestore object.");var r=!1,i=!1;if(e&&(void 0!==e.experimentalTabSynchronization&&C("The 'experimentalTabSynchronization' setting will be removed. Use 'synchronizeTabs' instead."),r=null!==(n=null!==(t=e.synchronizeTabs)&&void 0!==t?t:e.experimentalTabSynchronization)&&void 0!==n&&n,i=!!e.experimentalForceOwningTab&&e.experimentalForceOwningTab,r&&i))throw new P(L.INVALID_ARGUMENT,"The 'experimentalForceOwningTab' setting cannot be used with 'synchronizeTabs'.");return this.Ef(this.rf,this.af,{jl:!0,cacheSizeBytes:this.wf.cacheSizeBytes,synchronizeTabs:r,ka:i})}},{key:"clearPersistence",value:function(){var e,t=this;return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:if(void 0===this.lf||this.lf.z_){n.next=2;break}throw new P(L.FAILED_PRECONDITION,"Persistence can only be cleared before a Firestore instance is initialized or after it is terminated.");case 2:return e=new Br,n.abrupt("return",(this.uf.bs(function(){return c.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,c.default.awrap(t.rf.clearPersistence(t.__,t.ff));case 3:e.resolve(),n.next=9;break;case 6:n.prev=6,n.t0=n.catch(0),e.reject(n.t0);case 9:case"end":return n.stop()}},null,null,[[0,6]],Promise)}),e.promise));case 4:case"end":return n.stop()}},null,this,null,Promise)}},{key:"terminate",value:function(){return this.app._removeServiceInstance("firestore"),this.INTERNAL.delete()}},{key:"waitForPendingWrites",value:function(){return this.hf(),this.lf.waitForPendingWrites()}},{key:"onSnapshotsInSync",value:function(e){if(this.hf(),Ao(e))return this.lf.G_(e);ee("Firestore.onSnapshotsInSync","function",1,e);var t={next:e};return this.lf.G_(t)}},{key:"hf",value:function(){return this.lf||this.Ef(new js,new Bs,{jl:!1}),this.lf}},{key:"Af",value:function(){return new _e(this.__,this.ff,this.wf.host,this.wf.ssl,this.wf.experimentalForceLongPolling,this.wf.experimentalAutoDetectLongPolling)}},{key:"Ef",value:function(e,t,n){var r=this.Af();return this.lf=new To(this.df,this.uf),this.lf.start(r,e,t,n)}},{key:"collection",value:function(e){return X("Firestore.collection",arguments,1),ee("Firestore.collection","non-empty string",1,e),this.hf(),new Ko(K.g(e),this,null)}},{key:"doc",value:function(e){return X("Firestore.doc",arguments,1),ee("Firestore.doc","non-empty string",1,e),this.hf(),Vo.Rf(K.g(e),this,null)}},{key:"collectionGroup",value:function(e){if(X("Firestore.collectionGroup",arguments,1),ee("Firestore.collectionGroup","non-empty string",1,e),e.indexOf("/")>=0)throw new P(L.INVALID_ARGUMENT,"Invalid collection ID '"+e+"' passed to function Firestore.collectionGroup(). Collection IDs must not contain '/'.");return this.hf(),new Bo((function(e){return new cr(K.P(),e)})(e),this,null)}},{key:"runTransaction",value:function(e){var t=this;return X("Firestore.runTransaction",arguments,1),ee("Firestore.runTransaction","function",1,e),this.hf().transaction(function(n){return e(new Po(t,n))})}},{key:"batch",value:function(){return this.hf(),new Ro(this)}},{key:"gf",value:function(){return this.wf.timestampsInSnapshots}},{key:"Pf",value:function(){return this.wf}},{key:"mf",get:function(){return this.Tf||(this.Tf=new lo(this.__,this.wf.ignoreUndefinedProperties)),this.Tf}},{key:"If",get:function(){return this.hf(),this.lf.z_}},{key:"app",get:function(){if(!this.cf)throw new P(L.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this.cf}}],[{key:"_f",value:function(e){if(t=e.options,n="projectId",!Object.prototype.hasOwnProperty.call(t,n))throw new P(L.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');var t,n,r=e.options.projectId;if(!r||"string"!=typeof r)throw new P(L.INVALID_ARGUMENT,"projectId must be a string in FirebaseApp.options");return new Te(r)}},{key:"setLogLevel",value:function(e){var t;X("Firestore.setLogLevel",arguments,1),ae("setLogLevel",["debug","error","silent","warn","info","verbose"],1,e),t=e,R.setLogLevel(t)}},{key:"logLevel",get:function(){switch(V()){case I.LogLevel.DEBUG:return"debug";case I.LogLevel.ERROR:return"error";case I.LogLevel.SILENT:return"silent";case I.LogLevel.WARN:return"warn";case I.LogLevel.INFO:return"info";case I.LogLevel.VERBOSE:return"verbose";default:return"error"}}}]),e})(),Po=(function(){function e(t,n){(0,y.default)(this,e),this.yf=t,this.Vf=n}return(0,d.default)(e,[{key:"get",value:function(e){var t=this;X("Transaction.get",arguments,1);var n=$o("Transaction.get",e,this.yf);return this.Vf.v_([n.f_]).then(function(e){if(!e||1!==e.length)return M();var r=e[0];if(r instanceof sr)return new Co(t.yf,n.f_,null,!1,!1,n.d_);if(r instanceof ar)return new Co(t.yf,n.f_,r,!1,!1,n.d_);throw M()})}},{key:"set",value:function(e,t,n){Z("Transaction.set",arguments,2,3);var r=$o("Transaction.set",e,this.yf);n=Qo("Transaction.set",n);var i=Jo(r.d_,t,n),u=fo(this.yf.mf,"Transaction.set",r.f_,i,null!==r.d_,n);return this.Vf.set(r.f_,u),this}},{key:"update",value:function(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),u=3;u3?r-3:0),u=3;u0?this.yf.hf().write(this.pf):Promise.resolve()}},{key:"vf",value:function(){if(this.bf)throw new P(L.FAILED_PRECONDITION,"A write batch can no longer be used after commit() has been called.")}}]),e})(),Vo=(function(e){(0,p.default)(n,e);var t=N(n);function n(e,r,i){var u;return(0,y.default)(this,n),(u=t.call(this,r.__,e,i)).f_=e,u.firestore=r,u.d_=i,u.lf=u.firestore.hf(),u}return(0,d.default)(n,[{key:"collection",value:function(e){if(X("DocumentReference.collection",arguments,1),ee("DocumentReference.collection","non-empty string",1,e),!e)throw new P(L.INVALID_ARGUMENT,"Must provide a non-empty collection name to collection()");var t=K.g(e);return new Ko(this.f_.path.child(t),this.firestore,null)}},{key:"isEqual",value:function(e){if(!(e instanceof n))throw he("isEqual","DocumentReference",1,e);return this.firestore===e.firestore&&this.f_.isEqual(e.f_)&&this.d_===e.d_}},{key:"set",value:function(e,t){Z("DocumentReference.set",arguments,1,2),t=Qo("DocumentReference.set",t);var n=Jo(this.d_,e,t),r=fo(this.firestore.mf,"DocumentReference.set",this.f_,n,null!==this.d_,t);return this.lf.write(r.w_(this.f_,qn.ze()))}},{key:"update",value:function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i, or >=) must be on the same field. But you have inequality filters on '"+n.toString()+"' and '"+t.field.toString()+"'");var r=vr(e);null!==r&&jo(e,t.field,r)}var i=(function(e,t){for(var n,r=_(e.filters);!(n=r()).done;){var i=n.value;if(t.indexOf(i.op)>=0)return i.op}return null})(e,(function(e){switch(t.op){case"!=":return["!=","not-in"];case"array-contains":return["array-contains","array-contains-any","not-in"];case"in":return["array-contains-any","in","not-in"];case"array-contains-any":return["array-contains","array-contains-any","in","not-in"];case"not-in":return["array-contains","array-contains-any","in","not-in","!="];default:return[]}})());if(null!==i)throw i===t.op?new P(L.INVALID_ARGUMENT,"Invalid query. You cannot use more than one '"+t.op.toString()+"' filter."):new P(L.INVALID_ARGUMENT,"Invalid query. You cannot use '"+t.op.toString()+"' filters with '"+i.toString()+"' filters.")})(e,h),h}function Mo(e,t,n){if(null!==e.startAt)throw new P(L.INVALID_ARGUMENT,"Invalid query. You must not call startAt() or startAfter() before calling orderBy().");if(null!==e.endAt)throw new P(L.INVALID_ARGUMENT,"Invalid query. You must not call endAt() or endBefore() before calling orderBy().");var r=new Gr(t,n);return(function(e,t){if(null===vr(e)){var n=yr(e);null!==n&&jo(e,n,t.field)}})(e,r),r}function qo(e,t,n){if("string"==typeof n){if(""===n)throw new P(L.INVALID_ARGUMENT,"Invalid query. When querying with FieldPath.documentId(), you must provide a valid document ID, but it was an empty string.");if(!pr(t)&&-1!==n.indexOf("/"))throw new P(L.INVALID_ARGUMENT,"Invalid query. When querying a collection by FieldPath.documentId(), you must provide a plain document ID, but '"+n+"' contains a '/' character.");var r=t.path.child(K.g(n));if(!Y.F(r))throw new P(L.INVALID_ARGUMENT,"Invalid query. When querying a collection group by FieldPath.documentId(), the value provided must result in a valid document path, but '"+r+"' is not because it has an odd number of segments ("+r.length+").");return Pt(e,new Y(r))}if(n instanceof uo)return Pt(e,n.f_);throw new P(L.INVALID_ARGUMENT,"Invalid query. When querying with FieldPath.documentId(), you must provide a valid string or a DocumentReference, but it was: "+ce(n)+".")}function Go(e,t){if(!Array.isArray(e)||0===e.length)throw new P(L.INVALID_ARGUMENT,"Invalid Query. A non-empty array is required for '"+t.toString()+"' filters.");if(e.length>10)throw new P(L.INVALID_ARGUMENT,"Invalid Query. '"+t.toString()+"' filters support a maximum of 10 elements in the value array.");if("in"===t||"array-contains-any"===t){if(e.indexOf(null)>=0)throw new P(L.INVALID_ARGUMENT,"Invalid Query. '"+t.toString()+"' filters cannot contain 'null' in the value array.");if(e.filter(function(e){return Number.isNaN(e)}).length>0)throw new P(L.INVALID_ARGUMENT,"Invalid Query. '"+t.toString()+"' filters cannot contain 'NaN' in the value array.")}}function jo(e,t,n){if(!n.isEqual(t))throw new P(L.INVALID_ARGUMENT,"Invalid query. You have a where filter with an inequality (<, <=, >, or >=) on field '"+t.toString()+"' and so you must also use '"+t.toString()+"' as your first orderBy(), but your first orderBy() is on field '"+n.toString()+"' instead.")}function zo(e){if(dr(e)&&0===e.on.length)throw new P(L.UNIMPLEMENTED,"limitToLast() queries require specifying at least one orderBy() clause")}var Bo=(function(){function e(t,n,r){(0,y.default)(this,e),this.Ff=t,this.firestore=n,this.d_=r}return(0,d.default)(e,[{key:"where",value:function(t,n,r){X("Query.where",arguments,3),le("Query.where",3,r);var i=ae("Query.where",["<","<=","==","!=",">=",">","array-contains","in","array-contains-any","not-in"],2,n),u=wo("Query.where",t),a=Fo(this.Ff,"Query.where",this.firestore.mf,this.firestore.__,u,i,r);return new e((function(e,t){var n=e.filters.concat([t]);return new cr(e.path,e.collectionGroup,e.on.slice(),n,e.limit,e.an,e.startAt,e.endAt)})(this.Ff,a),this.firestore,this.d_)}},{key:"orderBy",value:function(t,n){var r;if(Z("Query.orderBy",arguments,1,2),te("Query.orderBy","non-empty string",2,n),void 0===n||"asc"===n)r="asc";else{if("desc"!==n)throw new P(L.INVALID_ARGUMENT,"Function Query.orderBy() has unknown direction '"+n+"', expected 'asc' or 'desc'.");r="desc"}var i=wo("Query.orderBy",t),u=Mo(this.Ff,i,r);return new e((function(e,t){var n=e.on.concat([t]);return new cr(e.path,e.collectionGroup,n,e.filters.slice(),e.limit,e.an,e.startAt,e.endAt)})(this.Ff,u),this.firestore,this.d_)}},{key:"limit",value:function(t){return X("Query.limit",arguments,1),ee("Query.limit","number",1,t),de("Query.limit",1,t),new e(kr(this.Ff,t,"F"),this.firestore,this.d_)}},{key:"limitToLast",value:function(t){return X("Query.limitToLast",arguments,1),ee("Query.limitToLast","number",1,t),de("Query.limitToLast",1,t),new e(kr(this.Ff,t,"L"),this.firestore,this.d_)}},{key:"startAt",value:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1?n-1:0),i=1;i1?n-1:0),i=1;i1?n-1:0),i=1;ia.length)throw new P(L.INVALID_ARGUMENT,"Too many arguments provided to "+r+"(). The number of arguments must be less than or equal to the number of orderBy() clauses");for(var s=[],o=0;o>>0),A=0;function P(t,n,o){return t.call.apply(t.bind,arguments)}function R(t,n,o){if(!t)throw Error();if(2n?null:"string"==typeof t?t.charAt(n):t[n]}function B(t){return Array.prototype.concat.apply([],arguments)}function K(t){var n=t.length;if(0n?1:0}t:{var $=T.navigator;if($){var V=$.userAgent;if(V){z=V;break t}}z=""}function q(t,n,o){for(var s in t)n.call(o,t[s],s,t)}function Z(t){var n,o={};for(n in t)o[n]=t[n];return o}var Q="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function tt(t,n){for(var o,s,h=1;hparseFloat(ct)){et=String(pt);break t}}et=ct}var vt,yt={};function dt(t){return n=t,o=function(){for(var n=0,o=W(String(et)).split("."),s=W(String(t)).split("."),h=Math.max(o.length,s.length),u=0;0==n&&u=t.keyCode)&&(t.keyCode=-1)}catch(t){}};var Ot="closure_listenable_"+(1e6*Math.random()|0),Ct=0;function It(t,n,o,s,h){this.listener=t,this.proxy=null,this.src=n,this.type=o,this.capture=!!s,this.ea=h,this.key=++Ct,this.$=this.aa=!1}function jt(t){t.$=!0,t.listener=null,t.proxy=null,t.src=null,t.ea=null}function At(t){this.src=t,this.a={},this.b=0}function Pt(t,n){var o=n.type;if(o in t.a){var s,h=t.a[o],u=U(h,n);(s=0<=u)&&Array.prototype.splice.call(h,u,1),s&&(jt(n),0==t.a[o].length&&(delete t.a[o],t.b--))}}function Rt(t,n,o,s){for(var h=0;h>>0);function zt(t){return"function"==x(t)?t:(t[Yt]||(t[Yt]=function(n){return t.handleEvent(n)}),t[Yt])}function Wt(){X.call(this),this.c=new At(this),this.K=this,this.C=null}function Gt(t,n,o,s){if(!(n=t.c.a[String(n)]))return!0;n=n.concat();for(var h=!0,u=0;un.b&&(n.b++,t.next=n.a,n.a=t)}rn=!1}function sn(t,n){Wt.call(this),this.b=t||1,this.a=n||T,this.f=k(this.ab,this),this.g=_()}function hn(t){t.ca=!1,t.N&&(t.a.clearTimeout(t.N),t.N=null)}function un(t,n,o){if("function"==x(t))o&&(t=k(t,o));else{if(!t||"function"!=typeof t.handleEvent)throw Error("Invalid listener argument");t=k(t.handleEvent,t)}return 2147483647s.length)){var h=s[1];if(Array.isArray(h)&&!(1>h.length)){var u=h[0];if("noop"!=u&&"stop"!=u&&"close"!=u)for(var l=1;ln.length?Yn:(n=n.substr(s,o),t.F=s+o,n))}function $n(t){t.W=_()+t.T,Vn(t,t.T)}function Vn(t,n){if(null!=t.o)throw Error("WatchDog timer not null");t.o=Pn(k(t.Xa,t),n)}function qn(t){t.o&&(T.clearTimeout(t.o),t.o=null)}function Zn(t){0==t.g.A||t.v||Ti(t.g,t)}function Qn(t){qn(t);var n=t.G;n&&"function"==typeof n.la&&n.la(),t.G=null,hn(t.U),gn(t.K),t.a&&(n=t.a,t.a=null,n.abort(),n.la())}function te(t,n){try{var o=t.g;if(0!=o.A&&(o.a==t||De(o.b,t)))if(o.J=t.R,!t.C&&De(o.b,t)&&3==o.A){try{var s=o.ra.a.parse(n)}catch(t){s=null}if(Array.isArray(s)&&3==s.length){var h=s;if(0==h[0]){t:if(!o.j){if(o.a){if(!(o.a.u+3e3h[2]&&o.I&&0==o.o&&!o.m&&(o.m=Pn(k(o.Ua,o),6e3));if(1>=Xe(o.b)&&o.ga){try{o.ga()}catch(t){}o.ga=void 0}}else xi(o,11)}else if((t.C||o.a==t)&&Ei(o),!Y(n))for(n=s=o.ra.a.parse(n),s=0;sn||3==n&&!st&&!this.a.ba())){this.v||4!=n||7==o||Cn(8==o||0>=s?3:2),qn(this);var h=this.a.Z();this.R=h;var u=this.a.ba();if(this.b=200==h,wn(this.c,this.m,this.l,this.f,this.V,n,h),this.b){if(this.X&&!this.C){n:{if(this.a){var l,c=this.a;if((l=c.a?c.a.getResponseHeader("X-HTTP-Initial-Response"):null)&&!Y(l)){var f=l;break n}}f=null}if(!f){this.b=!1,this.h=3,jn(12),Qn(this),Zn(this);break t}En(this.c,this.f,f,"Initial handshake response via X-HTTP-Initial-Response"),this.C=!0,te(this,f)}this.J?(Gn(this,n,u),st&&this.b&&3==n&&(dn(this.K,this.U,"tick",this.Ya),this.U.start())):(En(this.c,this.f,u,null),te(this,u)),4==n&&Qn(this),this.b&&!this.v&&(4==n?Ti(this.g,this):(this.b=!1,$n(this)))}else 400==h&&0n)throw Error("Bad port number "+n);t.h=n}else t.h=null}function pe(t,n,o){n instanceof Oe?(t.b=n,Re(t.b,t.a)):(o||(n=be(n,Se)),t.b=new Oe(n,t.a))}function ve(t,n,o){t.b.set(n,o)}function ye(t){return ve(t,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^_()).toString(36)),t}function de(t,n,o,s){var h=new he(null,void 0);return t&&le(h,t),n&&ce(h,n),o&&fe(h,o),s&&(h.g=s),h}function ge(t,n){return t?n?decodeURI(t.replace(/%25/g,"%2525")):decodeURIComponent(t):""}function be(t,n,o){return"string"==typeof t?(t=encodeURI(t).replace(n,me),o&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function me(t){return"%"+((t=t.charCodeAt(0))>>4&15).toString(16)+(15&t).toString(16)}he.prototype.toString=function(){var t=[],n=this.f;n&&t.push(be(n,we,!0),":");var o=this.c;return(o||"file"==n)&&(t.push("//"),(n=this.j)&&t.push(be(n,we,!0),"@"),t.push(encodeURIComponent(String(o)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(o=this.h)&&t.push(":",String(o))),(o=this.g)&&(this.c&&"/"!=o.charAt(0)&&t.push("/"),t.push(be(o,"/"==o.charAt(0)?Te:Ee,!0))),(o=this.b.toString())&&t.push("?",o),(o=this.i)&&t.push("#",be(o,xe)),t.join("")};var we=/[#\/\?@]/g,Ee=/[#\?:]/g,Te=/[#\?]/g,Se=/[#\?@]/g,xe=/#/g;function Oe(t,n){this.b=this.a=null,this.c=t||null,this.f=!!n}function Ce(t){t.a||(t.a=new ie,t.b=0,t.c&&se(t.c,function(n,o){t.add(decodeURIComponent(n.replace(/\+/g," ")),o)}))}function Ie(t,n){Ce(t),n=Pe(t,n),oe(t.a.b,n)&&(t.c=null,t.b-=t.a.get(n).length,oe((t=t.a).b,n)&&(delete t.b[n],t.c--,t.a.length>2*t.c&&re(t)))}function je(t,n){return Ce(t),n=Pe(t,n),oe(t.a.b,n)}function Ae(t,n,o){Ie(t,n),0=t.f}function Xe(t){return t.b?1:t.a?t.a.size:0}function De(t,n){return t.b?t.b==n:!!t.a&&t.a.has(n)}function He(t,n){t.a?t.a.add(n):t.b=n}function Ue(t,n){t.b&&t.b==n?t.b=null:t.a&&t.a.has(n)&&t.a.delete(n)}function Ne(t){if(null!=t.b)return t.c.concat(t.b.s);if(null!=t.a&&0!==t.a.size){for(var n=t.c,s=(t=o(t.a.values())).next();!s.done;s=t.next())n=n.concat(s.value.s);return n}return K(t.c)}function Fe(){}function Be(){this.a=new Fe}function Ke(t,n,o){var s=o||"";try{ee(t,function(t,o){var h=t;C(t)&&(h=Jt(t)),n.push(s+o+"="+encodeURIComponent(h))})}catch(t){throw n.push(s+"type="+encodeURIComponent("_badmap")),t}}function Ye(t,n){var o=new bn;if(T.Image){var s=new Image;s.onload=M(ze,o,s,"TestLoadImage: loaded",!0,n),s.onerror=M(ze,o,s,"TestLoadImage: error",!1,n),s.onabort=M(ze,o,s,"TestLoadImage: abort",!1,n),s.ontimeout=M(ze,o,s,"TestLoadImage: timeout",!1,n),T.setTimeout(function(){s.ontimeout&&s.ontimeout()},1e4),s.src=t}else n(!1)}function ze(t,n,o,s,h){try{n.onload=null,n.onerror=null,n.onabort=null,n.ontimeout=null,h(s)}catch(t){}}Me.prototype.cancel=function(){if(this.c=Ne(this),this.b)this.b.cancel(),this.b=null;else if(this.a&&0!==this.a.size){for(var t=o(this.a.values()),n=t.next();!n.done;n=t.next())n.value.cancel();this.a.clear()}},Fe.prototype.stringify=function(t){return T.JSON.stringify(t,void 0)},Fe.prototype.parse=function(t){return T.JSON.parse(t,void 0)};var We=T.JSON.parse;function Ge(t){Wt.call(this),this.headers=new ie,this.I=t||null,this.b=!1,this.s=this.a=null,this.B="",this.h=0,this.f="",this.g=this.v=this.l=this.u=!1,this.o=0,this.m=null,this.J=Je,this.F=this.G=!1}L(Ge,Wt);var Je="",$e=/^https?$/i,Ve=["POST","PUT"];function qe(t){return"content-type"==t.toLowerCase()}function Ze(t,n){t.b=!1,t.a&&(t.g=!0,t.a.abort(),t.g=!1),t.f=n,t.h=5,Qe(t),ni(t)}function Qe(t){t.u||(t.u=!0,t.dispatchEvent("complete"),t.dispatchEvent("error"))}function ti(t){if(t.b&&void 0!==E&&(!t.s[1]||4!=ii(t)||2!=t.Z()))if(t.l&&4==ii(t))un(t.Ba,0,t);else if(t.dispatchEvent("readystatechange"),4==ii(t)){t.b=!1;try{var n,o=t.Z();t:switch(o){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var s=!0;break t;default:s=!1}if(!(n=s)){var h;if(h=0===o){var u=String(t.B).match(ae)[1]||null;if(!u&&T.self&&T.self.location){var l=T.self.location.protocol;u=l.substr(0,l.length-1)}h=!$e.test(u?u.toLowerCase():"")}n=h}if(n)t.dispatchEvent("complete"),t.dispatchEvent("success");else{t.h=6;try{var c=2=t.b.f-(t.h?1:0))&&(t.h?(t.g=n.s.concat(t.g),!0):!(1==t.A||2==t.A||t.u>=(t.La?0:t.Ma))&&(t.h=Pn(k(t.Da,t,n),Si(t,t.u)),t.u++,!0))}function vi(t,n){var o;o=n?n.f:t.U++;var s=ue(t.B);ve(s,"SID",t.K),ve(s,"RID",o),ve(s,"AID",t.T),yi(t,s),t.i&&t.l&&oi(s,t.i,t.l),o=new Fn(t,t.c,o,t.u+1),null===t.i&&(o.B=t.l),n&&(t.g=n.s.concat(t.g)),n=di(t,o,1e3),o.setTimeout(Math.round(.5*t.oa)+Math.round(.5*t.oa*Math.random())),He(t.b,o),zn(o,s,n)}function yi(t,n){t.f&&ee({},function(t,o){ve(n,o,t)})}function di(t,n,o){o=Math.min(t.g.length,o);var s=t.f?k(t.f.Ja,t.f,t):null;t:for(var h=t.g,u=-1;;){var l=["count="+o];-1==u?0(p-=u))u=Math.max(0,h[f].b-100),c=!1;else try{Ke(v,l,"req"+p+"_")}catch(t){s&&s(v)}}if(c){s=l.join("&");break t}}return t=t.g.splice(0,o),n.s=t,s}function gi(t){t.a||t.j||(t.W=1,en(t.Ca,t),t.o=0)}function bi(t){return!(t.a||t.j||3<=t.o)&&(t.W++,t.j=Pn(k(t.Ca,t),Si(t,t.o)),t.o++,!0)}function mi(t){null!=t.s&&(T.clearTimeout(t.s),t.s=null)}function wi(t){t.a=new Fn(t,t.c,"rpc",t.W),null===t.i&&(t.a.B=t.l),t.a.S=0;var n=ue(t.na);ve(n,"RID","rpc"),ve(n,"SID",t.K),ve(n,"CI",t.I?"0":"1"),ve(n,"AID",t.T),yi(t,n),ve(n,"TYPE","xmlhttp"),t.i&&t.l&&oi(n,t.i,t.l),t.F&&t.a.setTimeout(t.F);var o=t.a;t=t.ia,o.I=1,o.i=ye(ue(n)),o.j=null,o.J=!0,Wn(o,t)}function Ei(t){null!=t.m&&(T.clearTimeout(t.m),t.m=null)}function Ti(t,n){var o=null;if(t.a==n){Ei(t),mi(t),t.a=null;var s=2}else{if(!De(t.b,n))return;o=n.s,Ue(t.b,n),s=1}if(t.J=n.R,0!=t.A)if(n.b)if(1==s){o=n.j?n.j.length:0,n=_()-n.u;var h=t.u;(s=xn()).dispatchEvent(new An(s,o,n,h)),fi(t)}else gi(t);else if(3==(h=n.h)||0==h&&0=this.R)){var t=2*this.R;this.c.info("BP detection timer enabled: "+t),this.s=Pn(k(this.Va,this),t)}},t.Va=function(){this.s&&(this.s=null,this.c.info("BP detection timeout reached."),this.c.info("Buffering proxy detected and switch to long-polling!"),this.I=!1,this.G=!0,ui(this),wi(this))},t.Ua=function(){null!=this.m&&(this.m=null,ui(this),bi(this),jn(19))},t.$a=function(t){t?(this.c.info("Successfully pinged google.com"),jn(2)):(this.c.info("Failed to ping google.com"),jn(1))},(t=ji.prototype).va=function(){},t.ua=function(){},t.ta=function(){},t.sa=function(){},t.Ja=function(){},Ai.prototype.a=function(t,n){return new Pi(t,n)},L(Pi,Wt),(t=Pi.prototype).addEventListener=function(t,n,o,s){Pi.P.addEventListener.call(this,t,n,o,s)},t.removeEventListener=function(t,n,o,s){Pi.P.removeEventListener.call(this,t,n,o,s)},t.Qa=function(){this.a.f=this.f,this.h&&(this.a.C=!0);var t=this.a,n=this.l,o=this.b||void 0;jn(0),t.ha=n,t.Y=o||{},t.I=t.V,t.B=Ci(t,null,t.ha),fi(t)},t.close=function(){hi(this.a)},t.Ra=function(t){if("string"==typeof t){var n={};n.__data__=t,ci(this.a,n)}else this.g?((n={}).__data__=Jt(t),ci(this.a,n)):ci(this.a,t)},t.H=function(){this.a.f=null,delete this.f,hi(this.a),delete this.a,Pi.P.H.call(this)},L(Ri,Hn),L(ki,Un),L(Mi,ji),Mi.prototype.va=function(){this.a.dispatchEvent("a")},Mi.prototype.ua=function(t){this.a.dispatchEvent(new Ri(t))},Mi.prototype.ta=function(t){this.a.dispatchEvent(new ki(t))},Mi.prototype.sa=function(){this.a.dispatchEvent("b")},Ai.prototype.createWebChannel=Ai.prototype.a,Pi.prototype.send=Pi.prototype.Ra,Pi.prototype.open=Pi.prototype.Qa,Pi.prototype.close=Pi.prototype.close,Rn.NO_ERROR=0,Rn.TIMEOUT=8,Rn.HTTP_ERROR=6,kn.COMPLETE="complete",Ln.EventType=Dn,Dn.OPEN="a",Dn.CLOSE="b",Dn.ERROR="c",Dn.MESSAGE="d",Wt.prototype.listen=Wt.prototype.xa,Ge.prototype.listenOnce=Ge.prototype.ya,Ge.prototype.getLastError=Ge.prototype.Sa,Ge.prototype.getLastErrorCode=Ge.prototype.wa,Ge.prototype.getStatus=Ge.prototype.Z,Ge.prototype.getResponseJson=Ge.prototype.Pa,Ge.prototype.getResponseText=Ge.prototype.ba,Ge.prototype.send=Ge.prototype.da,m.exports.createWebChannelTransport=function(){return new Ai},m.exports.ErrorCode=Rn,m.exports.EventType=kn,m.exports.WebChannel=Ln,m.exports.XhrIo=Ge}).apply(void 0!==g?g:'undefined'!=typeof self?self:'undefined'!=typeof window?window:{})},1269,[]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=l(r(d[2])),n=l(r(d[3])),s=l(r(d[4])),f=l(r(d[5])),u=l(r(d[6])),c=l(r(d[7])),y=l(r(d[8])),_=t(r(d[9])),h=r(d[10]),E=r(d[11]),w=t(r(d[12])),p=l(r(d[13])),S=r(d[14]),T=l(r(d[15])),b=l(r(d[16])),x=r(d[17]),C=r(d[18]),v=t(r(d[19])),R=r(d[20]);function F(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var L=(function(t){(0,u.default)(k,t);var l,L,D=(l=k,L=F(),function(){var t,o=(0,y.default)(l);if(L){var n=(0,y.default)(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return(0,c.default)(this,t)});function k(t){var l;return(0,n.default)(this,k),(l=D.call(this,t)).booking_sync=function(){R.fb.ref('/customers/'+g.id+'/orders/'+l.state.data.id).on('value',function(t){t.val().status!=l.state.data.status&&l.get_order_details()})},l.get_order_details=function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return l.setState({isLoding:!0}),t.next=3,o.default.awrap((0,b.default)({method:'post',url:x.api_url+x.order_details,data:{id:l.state.data.id}}).then(function(t){return o.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:l.setState({isLoding:!1,data:t.data.result});case 1:case"end":return o.stop()}},null,null,null,Promise)}).catch(function(t){l.setState({isLoding:!1})}));case 3:case"end":return t.stop()}},null,null,null,Promise)},l.get_reasons=function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return l.setState({isLoding:!0}),t.next=3,o.default.awrap((0,b.default)({method:"get",url:x.api_url+x.cancelation_reasons}).then(function(t){return o.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:l.setState({isLoding:!1}),l.setState({reasons:t.data.result});case 2:case"end":return o.stop()}},null,null,null,Promise)}).catch(function(t){l.setState({isLoding:!1}),alert("Something went wrong")}));case 3:case"end":return t.stop()}},null,null,null,Promise)},l.cancel_order=function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return l.setState({isLoding:!0,isDialogVisible:!1}),t.next=3,o.default.awrap((0,b.default)({method:"post",url:x.api_url+x.cancel_order,data:{order_id:l.state.data.id}}).then(function(t){var n;return o.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:l.setState({isLoding:!1}),(n=l.state.data).status=t.data.result.id,n.label_name=t.data.result.label_name,l.setState({data:n});case 5:case"end":return o.stop()}},null,null,null,Promise)}).catch(function(t){l.setState({isLoding:!1}),alert("Something went wrong")}));case 3:case"end":return t.stop()}},null,null,null,Promise)},l.open_dialog=function(){l.setState({isDialogVisible:!0})},l.change_reason=function(t){l.setState({selected_reason:t})},l.handleBackButtonClick=function(){l.props.navigation.goBack(null)},l.handleBackButtonClick=l.handleBackButtonClick.bind((0,f.default)(l)),l.open_dialog=l.open_dialog.bind((0,f.default)(l)),l.state={data:l.props.route.params.data,isDialogVisible:!1,isLoding:!1,reasons:[],selected_reason:1},l.get_reasons(),l.booking_sync(),l}return(0,s.default)(k,[{key:"render",value:function(){var t=this;return _.default.createElement(E.Container,null,_.default.createElement(h.View,null,_.default.createElement(h.View,{style:B.od_style1},_.default.createElement(h.TouchableOpacity,{style:B.od_style2,onPress:this.handleBackButtonClick,activeOpacity:1},_.default.createElement(E.Icon,{onPress:this.handleBackButtonClick,style:B.od_style3,name:"arrow-back"})),_.default.createElement(h.View,{style:B.od_style4}),_.default.createElement(h.Text,{style:B.od_style5},"Bhuvi Store"))),_.default.createElement(E.Content,null,_.default.createElement(E.Row,null,_.default.createElement(E.Body,null,_.default.createElement(h.Text,{style:B.od_style6},"Order Id - ",this.state.data.order_id),_.default.createElement(h.Text,{style:B.od_style7},(0,T.default)(this.state.data.created_at).format('DD MMM-YYYY hh:mm')))),_.default.createElement(E.Row,{style:B.od_style8},_.default.createElement(E.Body,null,_.default.createElement(p.default,{percent:16.666*this.state.data.status,radius:60,borderWidth:3,color:w.theme_fg,shadowColor:"#e6e6e6",bgColor:"#FFFFFF"},_.default.createElement(h.View,{style:B.od_style9},_.default.createElement(h.Image,{style:B.od_style10,source:x.tablet}))),_.default.createElement(h.Text,{style:B.od_style11},this.state.data.label_name))),_.default.createElement(S.Divider,{style:B.od_style12}),_.default.createElement(E.Row,{style:B.od_style13},_.default.createElement(E.Left,null,_.default.createElement(h.Text,{style:B.od_style14},"Delivery Address"),_.default.createElement(h.Text,{style:B.od_style15},this.state.data.address))),_.default.createElement(E.Row,{style:B.od_style16},_.default.createElement(E.Left,null,_.default.createElement(h.Text,{style:B.od_style17},"Payment Mode"),_.default.createElement(h.Text,{style:B.od_style18},this.state.data.payment_name))),_.default.createElement(h.View,{style:B.od_style19}),_.default.createElement(S.Divider,{style:B.od_style20}),_.default.createElement(E.Row,{style:B.od_style21},_.default.createElement(E.Left,null,_.default.createElement(h.Text,{style:B.od_style22},"Your items"))),_.default.createElement(E.List,null,JSON.parse(this.state.data.items).map(function(t,l){return _.default.createElement(E.ListItem,null,_.default.createElement(E.Row,null,_.default.createElement(E.Col,{style:B.od_style23},_.default.createElement(h.Text,{style:B.od_style24},t.qty,"x")),_.default.createElement(E.Col,null,_.default.createElement(h.Text,{style:B.od_style25},t.product_name)),_.default.createElement(E.Col,{style:B.od_style26},_.default.createElement(h.Text,{style:B.od_style27},g.currency,t.price))))})),_.default.createElement(E.Row,{style:B.od_style28},_.default.createElement(E.Col,null,_.default.createElement(h.Text,{style:B.od_style29},"Subtotal")),_.default.createElement(E.Col,{style:B.od_style30},_.default.createElement(h.Text,{style:B.od_style31},g.currency,this.state.data.sub_total))),_.default.createElement(E.Row,{style:B.od_style32},_.default.createElement(E.Col,null,_.default.createElement(h.Text,{style:B.od_style33},"Discount")),_.default.createElement(E.Col,{style:B.od_style34},_.default.createElement(h.Text,{style:B.od_style35},g.currency,this.state.data.discount))),_.default.createElement(E.Row,{style:B.od_style36},_.default.createElement(E.Col,null,_.default.createElement(h.Text,{style:B.od_style37},"Delivery Charge")),_.default.createElement(E.Col,{style:B.od_style38},_.default.createElement(h.Text,{style:B.od_style39},g.currency,this.state.data.delivery_charge))),_.default.createElement(E.Row,{style:B.od_style40},_.default.createElement(E.Col,null,_.default.createElement(h.Text,{style:B.od_style41},"Tax")),_.default.createElement(E.Col,{style:B.od_style42},_.default.createElement(h.Text,{style:B.od_style43},g.currency,this.state.data.tax))),_.default.createElement(h.View,{style:B.od_style44}),_.default.createElement(S.Divider,{style:B.od_style45}),_.default.createElement(E.Row,{style:B.od_style46},_.default.createElement(E.Col,null,_.default.createElement(h.Text,{style:B.od_style47},"Total")),_.default.createElement(E.Col,{style:B.od_style48},_.default.createElement(h.Text,{style:B.od_style49},g.currency,this.state.data.total))),_.default.createElement(h.View,{style:B.od_style50}),_.default.createElement(C.Loader,{visible:this.state.isLoding})),this.state.data.status<=2&&_.default.createElement(E.Footer,{style:B.od_style51},_.default.createElement(h.View,{style:B.od_style52},_.default.createElement(S.Button,{title:"Cancel",onPress:this.open_dialog,buttonStyle:B.od_style53}))),_.default.createElement(v.default,{visible:this.state.isDialogVisible,width:"90%",animationDuration:100,dialogTitle:_.default.createElement(v.DialogTitle,{title:"Please select reason"}),dialogAnimation:new v.SlideAnimation({slideFrom:'bottom'}),footer:_.default.createElement(v.DialogFooter,null,_.default.createElement(v.DialogButton,{text:"CLOSE",textStyle:B.od_style54,onPress:function(){t.setState({isDialogVisible:!1})}}),_.default.createElement(v.DialogButton,{text:"OK",textStyle:B.od_style55,onPress:this.cancel_order.bind(this)})),onTouchOutside:function(){t.setState({isDialogVisible:!1})}},_.default.createElement(v.DialogContent,null,_.default.createElement(E.List,null,this.state.reasons.map(function(l,o){return _.default.createElement(E.ListItem,{onPress:t.change_reason.bind(t,l.id)},_.default.createElement(E.Col,null,_.default.createElement(h.Text,{style:B.od_style56},l.reason)),_.default.createElement(E.Col,{style:B.od_style57},_.default.createElement(E.Radio,{selectedColor:w.theme_fg,selected:t.state.selected_reason==l.id})))})))),_.default.createElement(C.Loader,{visible:this.state.isLoding}))}}]),k})(_.Component);e.default=L;var B=h.StyleSheet.create({od_style1:{alignItems:'flex-start',margin:10},od_style2:{width:100,justifyContent:'center'},od_style3:{color:w.theme_fg_two,fontSize:30},od_style4:{margin:5},od_style5:{fontSize:25,color:w.theme_fg_two,fontFamily:x.font_title},od_style6:{marginTop:10,fontSize:15,color:w.theme_fg_two,fontFamily:x.font_title},od_style7:{marginTop:5,fontSize:12,fontFamily:x.font_description},od_style8:{margin:20},od_style9:{height:60,width:60},od_style10:{flex:1,width:void 0,height:void 0},od_style11:{marginTop:10,fontSize:13,color:w.theme_fg,fontFamily:x.font_title},od_style12:{backgroundColor:w.theme_fg_two,width:'90%',alignSelf:'center'},od_style13:{marginLeft:20,marginRight:20,marginTop:10},od_style14:{marginTop:10,fontSize:13,color:w.theme_fg_two,fontFamily:x.font_title},od_style15:{marginTop:5,fontSize:13,fontFamily:x.font_description},od_style16:{marginLeft:20,marginRight:20,marginTop:10},od_style17:{marginTop:10,fontSize:13,color:w.theme_fg_two,fontFamily:x.font_title},od_style18:{marginTop:5,fontSize:13,fontFamily:x.font_description},od_style19:{marginTop:10},od_style20:{backgroundColor:w.theme_fg_two,width:'90%',alignSelf:'center'},od_style21:{marginLeft:20,marginRight:20,marginTop:10},od_style22:{marginTop:10,fontSize:13,color:w.theme_fg_two,fontFamily:x.font_title},od_style23:{width:40},od_style24:{fontSize:15,color:w.theme_fg,fontFamily:x.font_title},od_style25:{fontFamily:x.font_description},od_style26:{width:70},od_style27:{fontFamily:x.font_description},od_style28:{marginLeft:20,marginRight:20,marginTop:10},od_style29:{fontFamily:x.font_title},od_style30:{width:70},od_style31:{fontFamily:x.font_title},od_style32:{marginLeft:20,marginRight:20,marginTop:10},od_style33:{fontFamily:x.font_title},od_style34:{width:70},od_style35:{fontFamily:x.font_title},od_style36:{marginLeft:20,marginRight:20,marginTop:10},od_style37:{fontFamily:x.font_title},od_style38:{width:70},od_style39:{fontFamily:x.font_title},od_style40:{marginLeft:20,marginRight:20,marginTop:10},od_style41:{fontFamily:x.font_title},od_style42:{width:70},od_style43:{fontFamily:x.font_title},od_style44:{marginBottom:20},od_style45:{backgroundColor:w.theme_fg_two,width:'90%',alignSelf:'center'},od_style46:{marginLeft:20,marginRight:20,marginTop:10},od_style47:{fontFamily:x.font_title,color:w.theme_fg_two,fontSize:18},od_style48:{width:80},od_style49:{fontFamily:x.font_title,color:w.theme_fg_two,fontSize:18},od_style50:{margin:10},od_style51:{backgroundColor:w.theme_bg_three},od_style52:{width:'90%',justifyContent:'center'},od_style53:{backgroundColor:w.theme_bg,fontFamily:x.font_title},od_style54:{fontSize:16,color:w.theme_fg_two},od_style55:{fontSize:16,color:w.theme_fg_two},od_style56:{fontFamily:x.font_description},od_style57:{width:'15%',alignItems:'flex-end'},header:{justifyContent:"flex-start",height:"10%",backgroundColor:w.theme_bg,borderBottomLeftRadius:45,borderBottomRightRadius:45,shadowOffset:{width:0,height:15},shadowColor:w.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},header_card:{alignItems:"center",borderRadius:15,justifyContent:"center"},header_card_item:{borderTopLeftRadius:15,borderTopRightRadius:15,borderBottomLeftRadius:15,borderBottomRightRadius:15,shadowOffset:{width:0,height:15},shadowColor:w.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},icon:{color:w.theme_fg_two},header_body:{flex:3,justifyContent:'center'},title:{alignSelf:'center',color:w.theme_fg_two,alignSelf:'center',fontSize:16,fontFamily:x.font_title},delivery_date_label:{marginTop:10,fontSize:13,color:w.theme_fg_two,fontFamily:x.font_title},delivery_date:{marginTop:5,fontSize:13}})},1270,[9,1,101,26,27,40,37,39,36,56,2,984,819,1257,830,1255,941,415,829,1271,1258]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=l(r(d[2])),n=l(r(d[3])),s=l(r(d[4])),f=l(r(d[5])),c=l(r(d[6])),u=l(r(d[7])),y=t(r(d[8])),_=r(d[9]),h=r(d[10]),E=t(r(d[11])),w=(l(r(d[12])),r(d[13])),p=l(r(d[14])),T=l(r(d[15])),C=r(d[16]),x=(r(d[17]),t(r(d[18])));r(d[19]);function R(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var S=(function(t){(0,f.default)(v,t);var l,E,S=(l=v,E=R(),function(){var t,o=(0,u.default)(l);if(E){var n=(0,u.default)(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return(0,c.default)(this,t)});function v(t){var l;return(0,n.default)(this,v),(l=S.call(this,t)).payNow=function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:l.props.navigation.navigate("Payment",{data:l.state.data});case 1:case"end":return t.stop()}},null,null,null,Promise)},l.cancelNow=function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.default.awrap(T.default.patch(C.api_url1+"/order/update_orderStatus",{id:l.state.data._id,status:"cancelled"},{headers:{Authorization:"Bearer "+g.fcm_token}}).then(function(t){console.log(t),alert("Order Cancelled")}).then(l.props.navigation.navigate("MyOrders")));case 2:case"end":return t.stop()}},null,null,null,Promise)},l.handleBackButtonClick=function(){l.props.navigation.goBack(null)},l.state={data:l.props.route.params.data,products:l.props.route.params.data.product,TotalPrice:""},l}return(0,s.default)(v,[{key:"render",value:function(){var t=this;return y.default.createElement(h.Container,null,y.default.createElement(_.View,null,y.default.createElement(_.View,{style:b.od_style1},y.default.createElement(_.TouchableOpacity,{style:b.od_style2,onPress:this.handleBackButtonClick,activeOpacity:1},y.default.createElement(h.Icon,{onPress:this.handleBackButtonClick,style:b.od_style3,name:"arrow-back"})),y.default.createElement(_.View,{style:b.od_style4}),y.default.createElement(_.Text,{style:b.od_style5},this.state.data.vendor.userName))),y.default.createElement(h.Content,null,y.default.createElement(h.Row,null,y.default.createElement(h.Body,null,y.default.createElement(_.View,{style:{flexDirection:"row"}}),y.default.createElement(_.Text,{style:b.od_style6},"Order Id - ",this.state.data._id),y.default.createElement(_.Text,{style:b.od_style7},(0,p.default)(this.state.data.created_at).format("DD MMM-YYYY hh:mm")))),y.default.createElement(h.Row,{style:b.od_style8},y.default.createElement(h.Body,null,y.default.createElement(_.ImageBackground,{source:{uri:this.state.data.prescription},resizeMode:"cover",style:{flex:1,height:244,width:'100%'}}))),y.default.createElement(w.Divider,{style:b.od_style12}),y.default.createElement(h.Row,{style:b.od_style13},y.default.createElement(h.Left,null,y.default.createElement(_.Text,{style:b.od_style14},"Delivery Address -"),y.default.createElement(_.Text,{style:b.od_style15})),y.default.createElement(h.Right,null,y.default.createElement(_.Text,{style:b.od_style18}," ",this.state.data.vendor.address))),y.default.createElement(h.Row,{style:b.od_style16},y.default.createElement(h.Left,null,y.default.createElement(_.Text,{style:b.od_style17},"Payment Mode -")),y.default.createElement(h.Right,null,y.default.createElement(_.Text,{style:b.od_style18},this.state.data.paymentMode))),y.default.createElement(_.View,{style:b.od_style19}),y.default.createElement(w.Divider,{style:b.od_style20}),y.default.createElement(h.Row,{style:b.od_style21},y.default.createElement(h.Left,null,y.default.createElement(_.Text,{style:b.od_style22},"Your items:"))),y.default.createElement(h.List,null,this.state.products.map(function(t,l){return y.default.createElement(h.ListItem,null,y.default.createElement(h.Row,null,y.default.createElement(h.Col,{style:b.od_style23},y.default.createElement(_.Text,{style:b.od_style24},t.product.title)),y.default.createElement(h.Col,null,y.default.createElement(_.Text,{style:b.od_style25},t.product.description)),y.default.createElement(h.Col,{style:b.od_style26},y.default.createElement(_.Text,{style:b.od_style27},g.currency,t.product.price))))})),y.default.createElement(h.Row,{style:b.od_style28},y.default.createElement(h.Col,null,y.default.createElement(_.Text,{style:b.od_style29},"Subtotal -")),y.default.createElement(h.Col,{style:b.od_style30}),y.default.createElement(h.Right,null,y.default.createElement(_.Text,{style:b.od_style41},"-"))),y.default.createElement(h.Row,{style:b.od_style32},y.default.createElement(h.Col,null,y.default.createElement(_.Text,{style:b.od_style33},"Discount -")),y.default.createElement(h.Col,{style:b.od_style34}),y.default.createElement(h.Right,null,y.default.createElement(_.Text,{style:b.od_style41},"-"))),y.default.createElement(h.Row,{style:b.od_style36},y.default.createElement(h.Col,null,y.default.createElement(_.Text,{style:b.od_style37},"Delivery Charge -")),y.default.createElement(h.Col,{style:b.od_style38}),y.default.createElement(h.Right,null,y.default.createElement(_.Text,{style:b.od_style41},"-"))),y.default.createElement(h.Row,{style:b.od_style40},y.default.createElement(h.Col,null,y.default.createElement(_.Text,{style:b.od_style41},"Tax -")),y.default.createElement(h.Col,{style:b.od_style42}),y.default.createElement(h.Right,null,y.default.createElement(_.Text,{style:b.od_style41},"-"))),y.default.createElement(h.Row,{style:b.od_style40},y.default.createElement(h.Col,null,y.default.createElement(_.Text,{style:b.od_style41},"Total Amount -")),y.default.createElement(h.Right,null,y.default.createElement(_.Text,{style:b.od_style41},this.state.data.amount))),y.default.createElement(_.View,{style:b.od_style44}),y.default.createElement(w.Divider,{style:b.od_style45}),y.default.createElement(h.Row,{style:b.od_style46},y.default.createElement(h.Col,null),y.default.createElement(h.Col,{style:b.od_style48})),y.default.createElement(_.View,{style:b.od_style50})),"processing"==this.state.data.status||"new"==this.state.data.status?y.default.createElement(_.View,null,y.default.createElement(h.Footer,{style:b.od_style511},y.default.createElement(_.View,{style:{flexDirection:"row",justifyContent:"space-between"}},y.default.createElement(_.Text,{style:b.od_style47},"Total "),y.default.createElement(_.Text,{style:b.od_style47},this.state.data.amount))),"processing"==this.state.data.status&&0==this.state.data.payment?y.default.createElement(h.Footer,{style:b.od_style51},y.default.createElement(_.View,{style:b.od_style52},y.default.createElement(w.Button,{title:"Pay now",onPress:this.payNow,buttonStyle:b.od_style53}))):y.default.createElement(h.Footer,{style:b.od_style51},y.default.createElement(_.View,{style:b.od_style52},y.default.createElement(w.Button,{title:"Cancel",onPress:this.cancelNow,buttonStyle:b.od_style53})))):y.default.createElement(_.View,null,"paid"==this.state.data.status&&y.default.createElement(_.View,{style:{paddingHorizontal:23,height:42,alignContent:"center",alignItems:"center",justifyContent:"center",flexDirection:'row',marginVertical:12}},y.default.createElement(_.Text,{style:{fontSize:20}},"Status -"),y.default.createElement(_.View,{style:{backgroundColor:'white',padding:6,borderRadius:4,width:62,alignContent:"center",alignItems:"center",justifyContent:"center"}},y.default.createElement(_.Text,{style:{fontSize:20,color:'#4CAF50',fontWeight:'bold'}},"Paid"))),"cancelled"==this.state.data.status&&y.default.createElement(_.View,{style:{paddingHorizontal:23,height:42,alignContent:"center",alignItems:"center",justifyContent:"center",flexDirection:'row',marginVertical:12}},y.default.createElement(_.Text,{style:{fontSize:20}},"Status - "),y.default.createElement(_.View,{style:{backgroundColor:'white',padding:6,borderRadius:4,paddingHorizontal:6,alignContent:"center",alignItems:"center",justifyContent:"center"}},y.default.createElement(_.Text,{style:{fontSize:20,color:'#f44336'}},"Cancelled"))),"delivered"==this.state.data.status&&y.default.createElement(_.View,{style:{paddingHorizontal:23,height:42,alignContent:"center",alignItems:"center",justifyContent:"center",flexDirection:'row',marginVertical:12}},y.default.createElement(_.Text,{style:{fontSize:20}},"Status - "),y.default.createElement(_.View,{style:{backgroundColor:'white',padding:6,borderRadius:6,alignContent:"center",paddingHorizontal:6,alignItems:"center",justifyContent:"center"}},y.default.createElement(_.Text,{style:{fontSize:20,color:'#008CBA'}},"Delivered")))),y.default.createElement(x.default,{width:"90%",animationDuration:100,dialogTitle:y.default.createElement(x.DialogTitle,{title:"Please select reason"}),dialogAnimation:new x.SlideAnimation({slideFrom:"bottom"}),footer:y.default.createElement(x.DialogFooter,null,y.default.createElement(x.DialogButton,{text:"CLOSE",textStyle:b.od_style54,onPress:function(){t.setState({isDialogVisible:!1})}}),y.default.createElement(x.DialogButton,{text:"OK",textStyle:b.od_style55})),onTouchOutside:function(){}},y.default.createElement(x.DialogContent,null)))}}]),v})(y.Component);e.default=S;var b=_.StyleSheet.create({od_style1:{alignItems:"flex-start",margin:10},od_style2:{width:100,justifyContent:"center"},od_style3:{color:E.theme_fg_two,fontSize:30},od_style4:{margin:5},od_style5:{fontSize:25,color:E.theme_fg_two,fontFamily:C.font_title},od_style6:{marginTop:10,fontSize:15,color:E.theme_fg_two,fontFamily:C.font_title},od_style7:{marginTop:5,fontSize:12,fontFamily:C.font_description},od_style8:{margin:20},od_style9:{height:60,width:60},od_style10:{flex:1},od_style11:{marginTop:10,fontSize:13,color:E.theme_fg,fontFamily:C.font_title},od_style12:{backgroundColor:E.theme_fg_two,width:"90%",alignSelf:"center"},od_style13:{marginLeft:20,marginRight:20,marginTop:10},od_style14:{marginTop:10,fontSize:13,color:E.theme_fg_two,fontFamily:C.font_title},od_style15:{marginTop:5,fontSize:13,fontFamily:C.font_description},od_style16:{marginLeft:20,marginRight:20,marginTop:10},od_style17:{marginTop:10,fontSize:13,color:E.theme_fg_two,fontFamily:C.font_title},od_style18:{marginTop:5,fontSize:13,fontFamily:C.font_description},od_style19:{marginTop:10},od_style20:{backgroundColor:E.theme_fg_two,width:"90%",alignSelf:"center"},od_style21:{marginLeft:20,marginRight:20,marginTop:10},od_style22:{marginTop:10,fontSize:13,color:E.theme_fg_two,fontFamily:C.font_title},od_style23:{width:40},od_style24:{fontSize:15,color:E.theme_fg,fontFamily:C.font_title,width:121},od_style25:{fontFamily:C.font_description},od_style26:{width:70},od_style27:{fontFamily:C.font_description},od_style28:{marginLeft:20,marginRight:20,marginTop:10},od_style29:{fontFamily:C.font_title},od_style30:{width:70},od_style31:{fontFamily:C.font_title},od_style32:{marginLeft:20,marginRight:20,marginTop:10},od_style33:{fontFamily:C.font_title},od_style34:{width:70},od_style35:{fontFamily:C.font_title},od_style36:{marginLeft:20,marginRight:20,marginTop:10},od_style37:{fontFamily:C.font_title},od_style38:{width:70},od_style39:{fontFamily:C.font_title},od_style40:{marginLeft:20,marginRight:20,marginTop:10},od_style41:{fontFamily:C.font_title},od_style42:{width:70},od_style43:{fontFamily:C.font_title},od_style44:{marginBottom:20},od_style45:{backgroundColor:E.theme_fg_two,width:"90%",alignSelf:"center"},od_style46:{marginLeft:20,marginRight:20,marginTop:10},od_style47:{fontFamily:C.font_title,color:E.theme_fg_two,fontSize:18},od_style48:{width:80},od_style49:{fontFamily:C.font_title,color:E.theme_fg_two,fontSize:18},od_style50:{margin:10},od_style51:{backgroundColor:E.theme_bg_three},od_style511:{backgroundColor:E.theme_bg_three,marginVertical:-12,paddingVertical:12},od_style52:{width:"90%",justifyContent:"center"},od_style53:{backgroundColor:E.theme_bg,fontFamily:C.font_title},od_style54:{fontSize:16,color:E.theme_fg_two},od_style55:{fontSize:16,color:E.theme_fg_two},od_style56:{fontFamily:C.font_description},od_style57:{width:"15%",alignItems:"flex-end"},header:{justifyContent:"flex-start",height:"10%",backgroundColor:E.theme_bg,borderBottomLeftRadius:45,borderBottomRightRadius:45,shadowOffset:{width:0,height:15},shadowColor:E.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},header_card:{alignItems:"center",borderRadius:15,justifyContent:"center"},header_card_item:{borderTopLeftRadius:15,borderTopRightRadius:15,borderBottomLeftRadius:15,borderBottomRightRadius:15,shadowOffset:{width:0,height:15},shadowColor:E.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},icon:{color:E.theme_fg_two},header_body:{flex:3,justifyContent:"center"},title:{alignSelf:"center",color:E.theme_fg_two,alignSelf:"center",fontSize:16,fontFamily:C.font_title},delivery_date_label:{marginTop:10,fontSize:13,color:E.theme_fg_two,fontFamily:C.font_title},delivery_date:{marginTop:5,fontSize:13}})},1270,[9,1,101,26,27,37,39,36,56,2,984,819,1257,830,1255,941,415,829,1271,1258]);
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.OverlayProps=e.DialogContentProps=e.DialogTitleProps=e.DialogButtonProps=e.DialogFooterActionList=e.DialogFooterProps=e.DialogProps=e.SlideAnimation=e.ScaleAnimation=e.FadeAnimation=e.Animation=e.DialogFooter=e.DialogTitle=e.DialogContent=e.DialogButton=e.Overlay=e.Dialog=void 0;var o=r(d[0]),t=c(r(d[1])),l=c(r(d[2])),n=c(r(d[3])),D=c(r(d[4])),u=c(r(d[5])),s=c(r(d[6])),p=c(r(d[7])),P=c(r(d[8])),f=c(r(d[9])),A=c(r(d[10])),F=c(r(d[11]));function c(o){return o&&o.__esModule?o:{default:o}}e.Dialog=p.default,e.Overlay=l.default,e.DialogButton=u.default,e.DialogContent=s.default,e.DialogTitle=n.default,e.DialogFooter=D.default,e.Animation=P.default,e.FadeAnimation=f.default,e.ScaleAnimation=A.default,e.SlideAnimation=F.default,e.DialogProps=o.DialogProps,e.DialogFooterProps=o.DialogFooterProps,e.DialogFooterActionList=o.DialogFooterActionList,e.DialogButtonProps=o.DialogButtonProps,e.DialogTitleProps=o.DialogTitleProps,e.DialogContentProps=o.DialogContentProps,e.OverlayProps=o.OverlayProps,e.default=t.default},1271,[1272,1275,1279,1282,1283,1273,1284,1278,1280,1281,1285,1286]);
__d(function(g,r,i,a,m,e,d){r(d[0]);var o,n=r(d[1]);(o=n)&&o.__esModule;var t={visible:r(d[2]).bool.isRequired,children:function(o,n,t){if(!Object.prototype.hasOwnProperty.call(o,n))throw new Error('Prop `'+n+'` has type \'any\' or \'mixed\', but was not provided to `'+t+'`. Pass undefined or any other value.')},width:r(d[2]).number,height:r(d[2]).number,rounded:r(d[2]).bool,hasOverlay:r(d[2]).bool,overlayPointerEvents:r(d[2]).oneOf(['auto','none']),overlayBackgroundColor:r(d[2]).string,overlayOpacity:r(d[2]).number,dialogTitle:'function'==typeof Element?r(d[2]).instanceOf(Element):r(d[2]).any,dialogAnimation:r(d[2]).object,dialogStyle:r(d[2]).any,containerStyle:r(d[2]).any,animationDuration:r(d[2]).number,onTouchOutside:r(d[2]).func,onHardwareBackPress:r(d[2]).func,onShow:r(d[2]).func,onDismiss:r(d[2]).func,footer:'function'==typeof Node?r(d[2]).instanceOf(Node):r(d[2]).any,useNativeDriver:r(d[2]).bool};void 0!==e&&Object.defineProperty(e,'babelPluginFlowReactPropTypes_proptype_DialogProps',{value:t,configurable:!0,enumerable:!0});var l=r(d[2]).arrayOf('function'==typeof Element?r(d[2]).instanceOf(Element):r(d[2]).any);void 0!==e&&Object.defineProperty(e,'babelPluginFlowReactPropTypes_proptype_DialogFooterActionList',{value:l,configurable:!0,enumerable:!0});var u={children:r(d[2]).arrayOf('function'==typeof Element?r(d[2]).instanceOf(Element):r(d[2]).any).isRequired,style:r(d[2]).any,bordered:r(d[2]).bool};void 0!==e&&Object.defineProperty(e,'babelPluginFlowReactPropTypes_proptype_DialogFooterProps',{value:u,configurable:!0,enumerable:!0});var p={text:r(d[2]).string.isRequired,onPress:r(d[2]).func.isRequired,align:r(d[2]).string,style:r(d[2]).any,textStyle:r(d[2]).any,disabled:r(d[2]).bool,activeOpacity:r(d[2]).number,bordered:r(d[2]).bool};void 0!==e&&Object.defineProperty(e,'babelPluginFlowReactPropTypes_proptype_DialogButtonProps',{value:p,configurable:!0,enumerable:!0});var y={title:function(o,n,t){if(!Object.prototype.hasOwnProperty.call(o,n))throw new Error('Prop `'+n+'` has type \'any\' or \'mixed\', but was not provided to `'+t+'`. Pass undefined or any other value.')},style:r(d[2]).any,textStyle:r(d[2]).any,align:r(d[2]).string,hasTitleBar:r(d[2]).bool};void 0!==e&&Object.defineProperty(e,'babelPluginFlowReactPropTypes_proptype_DialogTitleProps',{value:y,configurable:!0,enumerable:!0});var s={children:function(o,n,t){if(!Object.prototype.hasOwnProperty.call(o,n))throw new Error('Prop `'+n+'` has type \'any\' or \'mixed\', but was not provided to `'+t+'`. Pass undefined or any other value.')},style:r(d[2]).any};void 0!==e&&Object.defineProperty(e,'babelPluginFlowReactPropTypes_proptype_DialogContentProps',{value:s,configurable:!0,enumerable:!0});var b={visible:r(d[2]).bool.isRequired,opacity:r(d[2]).number.isRequired,onPress:r(d[2]).func,backgroundColor:r(d[2]).string,animationDuration:r(d[2]).number,pointerEvents:r(d[2]).string,useNativeDriver:r(d[2]).bool};void 0!==e&&Object.defineProperty(e,'babelPluginFlowReactPropTypes_proptype_OverlayProps',{value:b,configurable:!0,enumerable:!0})},1272,[56,1273,68]);
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0});var t,l='src/components/DialogButton.js',o=r(d[0]),n=(t=o)&&t.__esModule?t:{default:t},s=r(d[1]),u=r(d[2]);var c=r(d[3]).babelPluginFlowReactPropTypes_proptype_DialogButtonProps||r(d[4]).any,f='android'===s.Platform.OS,y=s.StyleSheet.create({button:{flex:1,width:'100%',justifyContent:'center',alignItems:'center',paddingTop:16,paddingBottom:16},border:{borderLeftColor:'#CCD0D5',borderLeftWidth:1/s.PixelRatio.get()},text:{fontWeight:f?'400':'500',fontFamily:f?'sans-serif-medium':'System',fontSize:f?19:16,color:'#044DE0'},disable:{color:'#C5C6C5'}});function b(t){var o=t.text,c=t.activeOpacity,f=t.align,b=t.onPress,p=t.style,_=t.textStyle,P=t.disabled,x=t.bordered,C={alignSelf:u.Positions[f]},S=P?y.disable:null,h=x?y.border:null;return n.default.createElement(s.TouchableHighlight,{underlayColor:'#F1F2F2',onPress:b,disabled:P,activeOpacity:c,style:[y.button,C,h,p],__source:{fileName:l,lineNumber:49}},n.default.createElement(s.Text,{style:[y.text,S,_],__source:{fileName:l,lineNumber:56}},o))}b.propTypes=c===r(d[4]).any?{}:c,b.defaultProps={activeOpacity:.6,disabled:!1,bordered:!1,align:'center',style:null,textStyle:null},e.default=b},1273,[56,2,1274,1272,68]);
@@ -1301,110 +1301,110 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=r(d[4]),s=r(d[5]),c=r(d[6]),f=(function(){function t(){(0,u.default)(this,t)}return(0,l.default)(t,null,[{key:"open",value:function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return(0,c.toMilliseconds)(t,'value','minimumDate','maximumDate'),t.display=t.display||o.DISPLAY_DEFAULT,n.abrupt("return",s.NativeModules.RNDatePickerAndroid.open(t));case 3:case"end":return n.stop()}},null,null,null,Promise)}}]),t})();e.default=f,f.dateSetAction=o.DATE_SET_ACTION,f.dismissedAction=o.DISMISS_ACTION},1295,[1,101,26,27,1293,2,1296]);
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.toMilliseconds=function(t){for(var o=arguments.length,n=new Array(o>1?o-1:0),c=1;c0&&void 0!==arguments[0]&&arguments[0];var t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};arguments.length>4&&arguments[4];if(!s.default.isFileURI(n))throw"could not fetch file from an invalid URI : "+n;n=s.default.unwrapFileURI(n);var u,c,f=null,h=-1,p='',b=null;switch(t.toLowerCase()){case'post':case'put':break;default:f=l.default.stat(n).then(function(t){return h=t.size,l.default.readStream(n,o.encoding||'utf8',Math.floor(o.bufferSize)||409600,Math.floor(o.interval)||100)}).then(function(t){return new Promise(function(n,s){t.open(),b={state:"2",headers:{source:'system-fs'},status:200,respType:'text',rnfbEncode:o.encoding||'utf8'},c(b),t.onData(function(t){u&&u(0,h,t),o.noCache||(p+=t)}),t.onError(function(t){s(t)}),t.onEnd(function(){n(new I(null,b,p))})})})}return f.progress=function(t){return u=t,f},f.stateChange=function(t){return c=t,f},f.uploadProgress=function(t){return t,f},f}function E(){for(var t,n,o,l,c=(0,u.default)(),f=this||{},p={},b=arguments.length,v=new Array(b),y=0;y3&&void 0!==arguments[3]?arguments[3]:10;return Promise.resolve(new s.default(n,t,o,u))},mv:function(n,t){return new Promise(function(o,u){c.mv(n,t,function(n,t){n?u(new Error(n)):o(t)})})},cp:function(n,t){return new Promise(function(o,u){c.cp(n,t,function(n,t){n?u(new Error(n)):o(t)})})},writeStream:function(n,t,o){if(!n)throw Error('RNFetchBlob could not open file stream with empty `path`');return t=t||'utf8',o=o||!1,new Promise(function(s,f){c.writeStream(n,t||'base64',o||!1,function(n,o){n?f(new Error(n)):s(new u.default(o,t))})})},writeFile:function(n,t,o){return o=o||'utf8','string'!=typeof n?Promise.reject('Invalid argument "path" '):'ascii'===o.toLocaleLowerCase()?Array.isArray(t)?c.writeFileArray(n,t,!1):Promise.reject(new Error("Expected \"data\" is an Array when encoding is \"ascii\", however got "+typeof t)):'string'!=typeof t?Promise.reject(new Error("Expected \"data\" is a String when encoding is \"utf8\" or \"base64\", however got "+typeof t)):c.writeFile(n,o,t,!1)},appendFile:function(n,t,o){return o=o||'utf8','string'!=typeof n?Promise.reject('Invalid argument "path" '):'ascii'===o.toLocaleLowerCase()?Array.isArray(t)?c.writeFileArray(n,t,!0):Promise.reject(new Error("Expected \"data\" is an Array when encoding is \"ascii\", however got "+typeof t)):'string'!=typeof t?Promise.reject(new Error("Expected \"data\" is a String when encoding is \"utf8\" or \"base64\", however got "+typeof t)):c.writeFile(n,o,t,!0)},pathForAppGroup:function(n){return c.pathForAppGroup(n)},readFile:function(n,t,o){return'string'!=typeof n?Promise.reject(new Error('Invalid argument "path" ')):c.readFile(n,t)},exists:function(n){return new Promise(function(t,o){try{c.exists(n,function(n){t(n)})}catch(n){o(new Error(n))}})},createFile:function(n,t,o){return o=o||'utf8',new Promise(function(u,s){var f=function(n){n?s(new Error(n)):u()};'ascii'===o.toLowerCase()?Array.isArray(t)?c.createFileASCII(n,t,f):s(new Error('`data` of ASCII file must be an array contains numbers')):c.createFile(n,t,o,f)})},isDir:function(n){return new Promise(function(t,o){try{c.exists(n,function(n,o){t(o)})}catch(n){o(new Error(n))}})},stat:l,lstat:function(n){return new Promise(function(t,o){c.lstat(n,function(n,u){n?o(new Error(n)):t(u)})})},scanFile:function(n){return new Promise(function(t,o){c.scanFile(n,function(n){n?o(new Error(n)):t()})})},dirs:f,slice:function(n,t,o,u){var s=Promise.resolve(),f=0;function w(n,t){return n<0?Math.max(0,t+n):n||0===n?n:t}return(o<0||u<0||!o||!u)&&(s=s.then(function(){return l(n)}).then(function(n){return f=Math.floor(n.size),o=w(o||0,f),u=w(u,f),Promise.resolve()})),s.then(function(){return c.slice(n,t,o,u)})},asset:function(n){return'ios'===t.Platform.OS&&/^assets-library\:\/\//.test(n)?n:'bundle-assets://'+n},df:function(){return new Promise(function(n,t){c.df(function(o,u){o?t(o):n(u)})})}};e.default=w},1303,[1,2,1304,1305,1306,1308]);
-__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),u=n(r(d[2])),o=r(d[3]),s=o.NativeModules.RNFetchBlob,l=(o.DeviceEventEmitter,{}),f=(function(){function n(u,o){(0,t.default)(this,n),this.name=u,l[u]||(Array.isArray(o)?l[u]=o:l[u]=[])}return(0,u.default)(n,null,[{key:"getSession",value:function(n){return l[n]}},{key:"setSession",value:function(n,t){l[n]=t}},{key:"removeSession",value:function(n){delete l[n]}}]),(0,u.default)(n,[{key:"add",value:function(n){return l[this.name].push(n),this}},{key:"remove",value:function(n){var t=l[this.name];for(var u in t)if(t[u]===n){l[this.name].splice(u,1);break}return this}},{key:"list",value:function(){return l[this.name]}},{key:"dispose",value:function(){var n=this;return new Promise(function(t,u){s.removeSession(l[n.name],function(o){o?u(o):(delete l[n.name],t())})})}}]),n})();e.default=f},1304,[1,26,27,2]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),c=r(d[3]),o=c.NativeModules.RNFetchBlob,s=(c.DeviceEventEmitter,(function(){function t(u,c,o){(0,n.default)(this,t),this.id=u,this.encoding=c,this.append=o}return(0,u.default)(t,[{key:"write",value:function(t){var n=this;return new Promise(function(u,c){try{var s='ascii'===n.encoding?'writeArrayChunk':'writeChunk';if('ascii'===n.encoding.toLocaleLowerCase()&&!Array.isArray(t))return void c('ascii input data must be an Array');o[s](n.id,t,function(t){t?c(t):u()})}catch(t){c(t)}})}},{key:"close",value:function(){var t=this;return new Promise(function(n,u){try{o.closeStream(t.id,function(){n()})}catch(t){u(t)}})}}]),t})());e.default=s},1305,[1,26,27,2]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),s=r(d[3]),h=t(r(d[4])),f=s.NativeModules.RNFetchBlob,u=s.DeviceEventEmitter,c=(function(){function t(o,s,f,c){var l=this;if((0,n.default)(this,t),this.tick=10,!o)throw Error('RNFetchBlob could not open file stream with empty `path`');this.encoding=s||'utf8',this.bufferSize=f,this.path=o,this.closed=!1,this.tick=c,this._onData=function(){},this._onEnd=function(){},this._onError=function(){},this.streamId='RNFBRS'+(0,h.default)();var v=u.addListener(this.streamId,function(t){var n=t.event,o=t.detail;if(l._onData&&'data'===n)l._onData(o);else{if(l._onEnd&&'end'===n)l._onEnd(o);else{if(!l._onError)throw new Error(o);l._onError(o)}'error'!==n&&'end'!==n||(v.remove(),l.closed=!0)}})}return(0,o.default)(t,[{key:"open",value:function(){if(this.closed)throw new Error('Stream closed');f.readStream(this.path,this.encoding,this.bufferSize||10240,this.tick||-1,this.streamId)}},{key:"onData",value:function(t){this._onData=t}},{key:"onError",value:function(t){this._onError=t}},{key:"onEnd",value:function(t){this._onEnd=t}}]),t})();e.default=c},1306,[1,26,27,2,1307]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}},1307,[]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),l=r(d[2]);l.NativeModules.RNFetchBlob,l.DeviceEventEmitter;e.default=function t(){(0,u.default)(this,t)}},1308,[1,26,2]);
-__d(function(g,r,i,a,m,e,d){!(function(t){var n='object'==typeof e&&e,o='object'==typeof m&&m&&m.exports==n&&m,c='object'==typeof g&&g;c.global!==c&&c.window!==c||(t=c);var h=function(t){this.message=t};(h.prototype=new Error).name='InvalidCharacterError';var f=function(t){throw new h(t)},s='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',A=/[\t\n\f\r ]/g,l={encode:function(t){t=String(t),/[^\0-\xFF]/.test(t)&&f("The string to be encoded contains characters outside of the Latin1 range.");for(var n,o,c,h,A=t.length%3,l='',p=-1,u=t.length-A;++p>18&63)+s.charAt(h>>12&63)+s.charAt(h>>6&63)+s.charAt(63&h);return 2==A?(n=t.charCodeAt(p)<<8,o=t.charCodeAt(++p),l+=s.charAt((h=n+o)>>10)+s.charAt(h>>4&63)+s.charAt(h<<2&63)+'='):1==A&&(h=t.charCodeAt(p),l+=s.charAt(h>>2)+s.charAt(h<<4&63)+'=='),l},decode:function(t){var n=(t=String(t).replace(A,'')).length;n%4==0&&(n=(t=t.replace(/==?$/,'')).length),(n%4==1||/[^+a-zA-Z0-9/]/.test(t))&&f('Invalid character: the string to be decoded is not correctly encoded.');for(var o,c,h=0,l='',p=-1;++p>(-2*h&6)));return l},version:'0.1.0'};if('function'==typeof define&&'object'==typeof define.amd&&define.amd)define(function(){return l});else if(n&&!n.nodeType)if(o)o.exports=l;else for(var p in l)l.hasOwnProperty(p)&&(n[p]=l[p]);else t.base64=l})(this)},1309,[]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),o=t(r(d[4])),v=t(r(d[5])),n=t(r(d[6])),s=t(r(d[7])),_={Blob:l.default,File:u.default,XMLHttpRequest:f.default,ProgressEvent:o.default,Event:v.default,FileReader:n.default,Fetch:s.default};e.default=_},1310,[1,1311,1314,1315,1317,1318,1319,1320]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),l=t(r(d[3])),f=t(r(d[4])),u=t(r(d[5])),s=t(r(d[6])),c=t(r(d[7])),h=t(r(d[8])),b=t(r(d[9])),v=t(r(d[10])),y=t(r(d[11]));function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var p=new v.default('Blob'),B=h.default.dirs.DocumentDir+'/RNFetchBlob-blobs/';p.disable();var k=(function(t){(0,f.default)(y,t);var n,b,v=(n=y,b=_(),function(){var t,o=(0,s.default)(n);if(b){var l=(0,s.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,u.default)(this,t)});function y(t,n,l){var f;(0,o.default)(this,y),(f=v.call(this)).isRNFetchBlobPolyfill=!0,f.multipartBoundary=null,f._ref=null,f._blobCreated=!1,f._onCreated=[],f._closed=!1,n=n||{},f.cacheName=F(),f.isRNFetchBlobPolyfill=!0,f.isDerived=l,f.type=n.type||'text/plain',p.verbose('Blob constructor called','mime',f.type,'type',typeof t,'length',t?t.length:0),f._ref=B+f.cacheName;var s=null;if(t||(t=''),t.isRNFetchBlobPolyfill){p.verbose('create Blob cache file from Blob object');f._ref=String(t.getRNFetchBlobRef());var c=f._ref;s=h.default.exists(c).then(function(n){if(n)return h.default.writeFile(c,t,'uri').then(function(t){return Promise.resolve(t)}).catch(function(t){throw"RNFetchBlob Blob file creation error, "+t});throw"could not create Blob from path "+c+", file not exists"})}else if(t instanceof FormData){p.verbose('create Blob cache file from FormData',t);var b="RNFetchBlob-"+f.cacheName+"-"+Date.now();f.multipartBoundary=b;var _=t.getParts(),k=[];if(_){for(var R in _){k.push('\r\n--'+b+'\r\n');var P=_[R];for(var C in P.headers)k.push(C+': '+P.headers[C]+'\r\n');k.push('\r\n'),P.isRNFetchBlobPolyfill?k.push(P):k.push(P.string)}p.verbose('FormData array',k),k.push('\r\n--'+b+'--\r\n'),s=w(f._ref,k)}else s=h.default.writeFile(f._ref,'','utf8')}else if('string'==typeof t&&t.startsWith('RNFetchBlob-file://')){p.verbose('create Blob cache file from file path',t),f._isReference=!0,f._ref=String(t).replace('RNFetchBlob-file://','');var N=f._ref;if(l)return(0,u.default)(f);s=h.default.stat(N).then(function(t){return Promise.resolve(t.size)})}else if('string'==typeof t){var D='utf8',x=String(f.type);/(application\/octet|\;base64)/i.test(x)?D='base64':t=t.toString(),f.type=String(f.type).replace(/;base64/gi,''),p.verbose('create Blob cache file from string','encode',D),s=h.default.writeFile(f._ref,t,D).then(function(t){return Promise.resolve(t)})}else Array.isArray(t)?(p.verbose('create Blob cache file from mixed array',t),s=w(f._ref,t)):(t=t.toString(),s=h.default.writeFile(f._ref,t,'utf8').then(function(t){return Promise.resolve(t)}));return s&&s.then(function(t){f.size=t,f._invokeOnCreateEvent()}).catch(function(t){p.error('RNFetchBlob could not create Blob : '+f._ref,t)}),f}return(0,l.default)(y,[{key:"blobPath",get:function(){return this._ref}}],[{key:"clearCache",value:function(){return h.default.unlink(B).then(function(){return h.default.mkdir(B)})}},{key:"build",value:function(t,n){return new Promise(function(o,l){new y(t,n).onCreated(o)})}},{key:"setLog",value:function(t){-1===t?p.disable():p.level(t)}}]),(0,l.default)(y,[{key:"onCreated",value:function(t){return p.verbose('#register blob onCreated',this._blobCreated),this._blobCreated?t(this):this._onCreated.push(t),this}},{key:"markAsDerived",value:function(){this._isDerived=!0}},{key:"getRNFetchBlobRef",value:function(){return this._ref}},{key:"slice",value:function(t,n){var o=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'';if(this._closed)throw'Blob has been released.';p.verbose('slice called',t,n,l);var f=B+F();p.debug('fs.slice new blob will at',f);var u=new y(c.default.wrap(f),{type:l},!0);return h.default.exists(B).then(function(t){return t?Promise.resolve():h.default.mkdir(B)}).then(function(){return h.default.slice(o._ref,f,t,n)}).then(function(t){p.debug('fs.slice done',t),u._invokeOnCreateEvent(),!0}).catch(function(t){console.warn('Blob.slice failed:',t),!0}),p.debug('slice returning new Blob'),u}},{key:"readBlob",value:function(t){if(this._closed)throw'Blob has been released.';return h.default.readFile(this._ref,t||'utf8')}},{key:"close",value:function(){return this._closed?Promise.reject('Blob has been released.'):(this._closed=!0,h.default.unlink(this._ref).catch(function(t){console.warn(t)}))}},{key:"safeClose",value:function(){return this._closed?Promise.reject('Blob has been released.'):(this._closed=!0,this._isReference?Promise.resolve():h.default.unlink(this._ref).catch(function(t){console.warn(t)}))}},{key:"_invokeOnCreateEvent",value:function(){p.verbose('invoke create event',this._onCreated),this._blobCreated=!0;var t=this._onCreated;for(var n in t)'function'==typeof t[n]&&t[n](this);delete this._onCreated}},{key:"isDerived",get:function(){return this._isDerived||!1}}]),y})(y.default);function F(){return'blob-'+(0,b.default)()}function w(t,o){var l=h.default.writeFile(t,''),f=[],u=0;for(var s in o){var c=o[s];c&&(c.isRNFetchBlobPolyfill?f.push([t,c._ref,'uri']):'string'==typeof c?f.push([t,c,'utf8']):Array.isArray(c)&&f.push([t,c,'ascii']))}var b=function(t){l=l.then(function(o){return o&&(u+=o),p.verbose('mixed blob write',f[t],o),h.default.appendFile.apply(h.default,(0,n.default)(this))}.bind(f[t]))};for(var v in f)b(v);return l.then(function(){return Promise.resolve(u)})}e.default=k},1311,[1,22,26,27,37,39,36,1300,1303,1307,1312,1313]);
-__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(r(d[1])),t=n(r(d[2])),o=(function(){function n(t){(0,l.default)(this,n),this._isEnable=!0,this._level=0,this._name=t}return(0,t.default)(n,[{key:"level",value:function(n){this._isEnable=!0,this._level=n}},{key:"enable",value:function(){this._isEnable=!0}},{key:"disable",value:function(){this._isEnable=!1}},{key:"verbose",value:function(){for(var n,l=arguments.length,t=new Array(l),o=0;o2&&(n=console).log.apply(n,[this._name,'verbose:'].concat(t))}},{key:"debug",value:function(){for(var n,l=arguments.length,t=new Array(l),o=0;o1&&(n=console).log.apply(n,[this._name,'debug:'].concat(t))}},{key:"info",value:function(){for(var n,l=arguments.length,t=new Array(l),o=0;o0&&(n=console).log.apply(n,[this._name,'info:'].concat(t))}},{key:"error",value:function(){for(var n,l=arguments.length,t=new Array(l),o=0;o-1&&(n=console).warn.apply(n,[this._name,'error:'].concat(t))}}]),n})();e.default=o},1312,[1,26,27]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),s=t(r(d[2])),l=new(t(r(d[3])).default)('EventTarget');l.disable();var v=(function(){function t(){(0,n.default)(this,t),l.info('constructor called'),this.listeners={}}return(0,s.default)(t,[{key:"addEventListener",value:function(t,n){l.info('add event listener',t,n),t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push(n)}},{key:"removeEventListener",value:function(t,n){if(l.info('remove event listener',t,n),t in this.listeners){var s=this.listeners[t];for(var v in s)if(n===s[v])return s.splice(v,1),this.removeEventListener(t,n)}}},{key:"dispatchEvent",value:function(t,n){if(l.info('dispatch event',n),t in this.listeners){var s=this.listeners[t];for(var v in s)s[v].call(this,n)}}},{key:"clearEventListeners",value:function(){for(var t in this.listeners)delete this.listeners[t]}}]),t})();e.default=v},1313,[1,26,27,1312]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),o=t(r(d[5]));t(r(d[6]));function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var s=(function(t){(0,f.default)(h,t);var s,v,y=(s=h,v=l(),function(){var t,n=(0,o.default)(s);if(v){var u=(0,o.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function h(t,u){var f;return(0,n.default)(this,h),(f=y.call(this,t,u)).name='',f}return(0,u.default)(h,null,[{key:"build",value:function(t,n,u){return new Promise(function(f,c){new h(n,u).onCreated(function(n){n.name=t,f(n)})})}}]),h})(t(r(d[7])).default);e.default=s},1314,[1,26,27,37,39,36,1303,1311]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=t(r(d[1])),n=t(r(d[2])),o=t(r(d[3])),u=t(r(d[4])),p=t(r(d[5])),c=t(r(d[6])),h=t(r(d[7])),_=t(r(d[8])),f=t(r(d[9])),l=t(r(d[10])),y=t(r(d[11])),v=t(r(d[12]));function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var E=new f.default('XMLHttpRequest');E.disable();var R=0,k=(function(t){(0,u.default)(S,t);var f,k,T=(f=S,k=b(),function(){var t,s=(0,c.default)(f);if(k){var n=(0,c.default)(this).constructor;t=Reflect.construct(s,arguments,n)}else t=s.apply(this,arguments);return(0,p.default)(this,t)});function S(){var t;return(0,s.default)(this,S),E.verbose('XMLHttpRequest constructor called'),(t=T.call(this)).upload=new _.default,t._readyState=R,t._uriType='net',t._response='',t._responseText='',t._responseHeaders={},t._responseType='',t._responseURL='',t._responseXML='',t._status=0,t._statusText='',t._timeout=6e4,t._sendFlag=!1,t._uploadStarted=!1,t._increment=!1,t._config={},t._headers={'Content-Type':'text/plain'},t._cleanUp=null,t._headerReceived=function(s){E.debug('header received ',t._task.taskId,s),t.responseURL=t._url,"2"===s.state&&s.taskId===t._task.taskId&&(t._responseHeaders=s.headers,t._statusText=s.status,t._status=Math.floor(s.status),t._dispatchReadStateChange(S.HEADERS_RECEIVED))},t._uploadProgressEvent=function(s,n){t._uploadStarted||(t.upload.dispatchEvent('loadstart'),t._uploadStarted=!0),s>=n&&t.upload.dispatchEvent('load'),t.upload.dispatchEvent('progress',new y.default(!0,s,n))},t._progressEvent=function(s,n,o){E.verbose(t.readyState),t._readyState===S.HEADERS_RECEIVED&&t._dispatchReadStateChange(S.LOADING);var u=!1;n&&n>=0&&(u=!0);var p=new y.default(u,s,n);t._increment&&(t._responseText+=o),t.dispatchEvent('progress',p)},t._onError=function(s){var n=Math.floor(t.status);n>=100&&408!==n||(E.debug('XMLHttpRequest error',s),t._statusText=s,t._status=String(s).match(/\d+/),t._status=t._status?Math.floor(t.status):404,t._dispatchReadStateChange(S.DONE),(s&&String(s.message).match(/(timed\sout|timedout)/)||408==t._status)&&t.dispatchEvent('timeout'),t.dispatchEvent('loadend'),t.dispatchEvent('error',{type:'error',detail:s}),t.clearEventListeners())},t._onDone=function(s){E.debug('XMLHttpRequest done',t._url,s,(0,n.default)(t)),t._statusText=t._status;var o=function(){E.debug('request done state = 4'),t.dispatchEvent('load'),t.dispatchEvent('loadend'),t._dispatchReadStateChange(S.DONE),t.clearEventListeners()};if(s){var u=s.respInfo||{};switch(E.debug(t._url,u,u.respType),t._responseType){case'blob':s.blob().then(function(n){t._responseText=s.text(),t._response=n,o()});break;case'arraybuffer':break;case'json':t._response=s.json(),t._responseText=s.text();break;default:t._responseText=s.text(),t._response=t.responseText,o()}}},t}return(0,o.default)(S,[{key:"UNSENT",get:function(){return R}},{key:"OPENED",get:function(){return 1}},{key:"HEADERS_RECEIVED",get:function(){return 2}},{key:"LOADING",get:function(){return 3}},{key:"DONE",get:function(){return 4}}],[{key:"setLog",value:function(t){-1===t?E.disable():E.level(t)}},{key:"addBinaryContentType",value:function(t){for(var s in S.binaryContentTypes)if(new RegExp(t,'i').test(S.binaryContentTypes[s]))return;S.binaryContentTypes.push(t)}},{key:"removeBinaryContentType",value:function(t){for(var s in S.binaryContentTypes)if(new RegExp(substr,'i').test(S.binaryContentTypes[s]))return void S.binaryContentTypes.splice(s,1)}},{key:"UNSENT",get:function(){return R}},{key:"OPENED",get:function(){return 1}},{key:"HEADERS_RECEIVED",get:function(){return 2}},{key:"LOADING",get:function(){return 3}},{key:"DONE",get:function(){return 4}}]),(0,o.default)(S,[{key:"open",value:function(t,s,n,o,u){E.verbose('XMLHttpRequest open ',t,s,n,o,u),this._method=t,this._url=s,this._headers={},this._increment=v.default.isJSONStreamURI(this._url),this._url=this._url.replace(/^JSONStream\:\/\//,''),this._dispatchReadStateChange(S.OPENED)}},{key:"send",value:function(t){var s=this;if(this._body=t,this._readyState!==S.OPENED)throw'InvalidStateError : XMLHttpRequest is not opened yet.';var n=Promise.resolve();this._sendFlag=!0,E.verbose('XMLHttpRequest send ',t);var o=this._method,u=this._url,p=this._headers;E.verbose('sending request with args',o,u,p,t),E.verbose(typeof t,t instanceof FormData),t instanceof l.default?(E.debug('sending blob body',t._blobCreated),n=new Promise(function(n,o){t.onCreated(function(o){o.isDerived&&(s._cleanUp=function(){o.close()}),E.debug('body created send request'),t=h.default.wrap(o.getRNFetchBlobRef()),n()})})):'object'==typeof t?(t=JSON.stringify(t),n=Promise.resolve()):(t=t?t.toString():t,n=Promise.resolve()),n.then(function(){for(var n in E.debug('send request invoke',t),p)p[n]=p[n].toString();s._task=h.default.config({auto:!0,timeout:s._timeout,increment:s._increment,binaryContentTypes:S.binaryContentTypes}).fetch(o,u,p,t),s._task.stateChange(s._headerReceived).uploadProgress(s._uploadProgressEvent).progress(s._progressEvent).catch(s._onError).then(s._onDone)})}},{key:"overrideMimeType",value:function(t){E.verbose('XMLHttpRequest overrideMimeType',t),this._headers['Content-Type']=t}},{key:"setRequestHeader",value:function(t,s){if(E.verbose('XMLHttpRequest set header',t,s),1!==this._readyState||this._sendFlag)throw"InvalidStateError : Calling setRequestHeader in wrong state "+this._readyState;if('string'!=typeof t||/[^\u0000-\u00ff]/.test(t))throw'TypeError : header field name should be a string';var n=[/[\(\)\>\<\@\,\:\\\/\[\]\?\=\}\{\s\ \u007f\;\t\0\v\r]/,/tt/];for(var o in n)if(n[o].test(t)||'string'!=typeof t)throw"SyntaxError : Invalid header field name "+t;this._headers[t]=s}},{key:"abort",value:function(){var t=this;E.verbose('XMLHttpRequest abort '),this._task&&this._task.cancel(function(s){var n={timeStamp:Date.now()};t.onabort&&t.onabort(),s?(n.detail=s,n.type='error',t.dispatchEvent('error',n)):(n.type='abort',t.dispatchEvent('abort',n))})}},{key:"getResponseHeader",value:function(t){return E.verbose('XMLHttpRequest get header',t,this._responseHeaders),this._responseHeaders&&(this._responseHeaders[t]||this._responseHeaders[t.toLowerCase()])||null}},{key:"getAllResponseHeaders",value:function(){if(E.verbose('XMLHttpRequest get all headers',this._responseHeaders),!this._responseHeaders)return'';var t='',s=this.responseHeaders;for(var n in s)t+=n+": "+s[n]+String.fromCharCode(13,10);return t.substr(0,t.length-2)}},{key:"_dispatchReadStateChange",value:function(t){this._readyState=t,'function'==typeof this._onreadystatechange&&this._onreadystatechange()}},{key:"onreadystatechange",set:function(t){E.verbose('XMLHttpRequest set onreadystatechange',t),this._onreadystatechange=t},get:function(){return this._onreadystatechange}},{key:"readyState",get:function(){return E.verbose('get readyState',this._readyState),this._readyState}},{key:"status",get:function(){return E.verbose('get status',this._status),this._status}},{key:"statusText",get:function(){return E.verbose('get statusText',this._statusText),this._statusText}},{key:"response",get:function(){return E.verbose('get response',this._response),this._response}},{key:"responseText",get:function(){return E.verbose('get responseText',this._responseText),this._responseText}},{key:"responseURL",get:function(){return E.verbose('get responseURL',this._responseURL),this._responseURL}},{key:"responseHeaders",get:function(){return E.verbose('get responseHeaders',this._responseHeaders),this._responseHeaders}},{key:"timeout",set:function(t){this._timeout=1e3*t,E.verbose('set timeout',this._timeout)},get:function(){return E.verbose('get timeout',this._timeout),this._timeout}},{key:"responseType",set:function(t){E.verbose('set response type',this._responseType),this._responseType=t},get:function(){return E.verbose('get response type',this._responseType),this._responseType}}],[{key:"isRNFBPolyfill",get:function(){return!0}}]),S})(_.default);e.default=k,k.binaryContentTypes=['image/','video/','audio/']},1315,[1,26,40,27,37,39,36,1300,1316,1312,1311,1317,1301]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=t(r(d[2])),s=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),f=t(r(d[6])),l=t(r(d[7]));function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var _=new(t(r(d[8])).default)('XMLHttpRequestEventTarget');_.disable();var p=(function(t){(0,u.default)(y,t);var l,p,b=(l=y,p=h(),function(){var t,o=(0,f.default)(l);if(p){var n=(0,f.default)(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return(0,c.default)(this,t)});function y(){var t;return(0,o.default)(this,y),(t=b.call(this))._onabort=function(){},t._onerror=function(){},t._onload=function(){},t._onloadstart=function(){},t._onprogress=function(){},t._ontimeout=function(){},t._onloadend=function(){},_.info('constructor called'),t}return(0,n.default)(y,[{key:"dispatchEvent",value:function(t,o){switch(_.debug('dispatch event',t,o),(0,s.default)((0,f.default)(y.prototype),"dispatchEvent",this).call(this,t,o),t){case'abort':this._onabort(o);break;case'error':this._onerror(o);break;case'load':this._onload(o);break;case'loadstart':this._onloadstart(o);break;case'loadend':this._onloadend(o);break;case'progress':this._onprogress(o);break;case'timeout':this._ontimeout(o)}}},{key:"onabort",set:function(t){_.info('set onabort'),this._onabort=t},get:function(){return this._onabort}},{key:"onerror",set:function(t){_.info('set onerror'),this._onerror=t},get:function(){return this._onerror}},{key:"onload",set:function(t){_.info('set onload',t),this._onload=t},get:function(){return this._onload}},{key:"onloadstart",set:function(t){_.info('set onloadstart'),this._onloadstart=t},get:function(){return this._onloadstart}},{key:"onprogress",set:function(t){_.info('set onprogress'),this._onprogress=t},get:function(){return this._onprogress}},{key:"ontimeout",set:function(t){_.info('set ontimeout'),this._ontimeout=t},get:function(){return this._ontimeout}},{key:"onloadend",set:function(t){_.info('set onloadend'),this._onloadend=t},get:function(){return this._onloadend}}]),y})(l.default);e.default=p},1316,[1,26,27,34,37,39,36,1313,1312]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5]));function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var s=(function(t){(0,l.default)(p,t);var s,h,_=(s=p,h=c(),function(){var t,n=(0,f.default)(s);if(h){var u=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,o.default)(this,t)});function p(t,u,l){var o;return(0,n.default)(this,p),(o=_.call(this))._lengthComputable=!1,o._loaded=-1,o._total=-1,o._lengthComputable=t,o._loaded=u,o._total=l,o}return(0,u.default)(p,[{key:"lengthComputable",get:function(){return this._lengthComputable}},{key:"loaded",get:function(){return this._loaded}},{key:"total",get:function(){return this._total}}]),p})(t(r(d[6])).default);e.default=s},1317,[1,26,27,37,39,36,1318]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1]));e.default=function t(){(0,u.default)(this,t)}},1318,[1,26]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),o=t(r(d[4])),l=t(r(d[5])),c=t(r(d[6])),s=(t(r(d[7])),t(r(d[8])),t(r(d[9]))),y=(t(r(d[10])),t(r(d[11])));t(r(d[12]));function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var h=new y.default('FileReader');h.level(3);var p=(function(t){(0,o.default)(k,t);var s,y,p=(s=k,y=v(),function(){var t,n=(0,c.default)(s);if(y){var u=(0,c.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,l.default)(this,t)});function k(){var t;return(0,n.default)(this,k),(t=p.call(this))._readState=0,h.verbose('file reader const'),t._result=null,t}return(0,f.default)(k,[{key:"isRNFBPolyFill",get:function(){return!0}}],[{key:"EMPTY",get:function(){return 0}},{key:"LOADING",get:function(){return 1}},{key:"DONE",get:function(){return 2}}]),(0,f.default)(k,[{key:"abort",value:function(){h.verbose('abort')}},{key:"readAsArrayBuffer",value:function(t){h.verbose('readAsArrayBuffer',t)}},{key:"readAsBinaryString",value:function(t){h.verbose('readAsBinaryString',t)}},{key:"readAsText",value:function(t,n){h.verbose('readAsText',t,n)}},{key:"readAsDataURL",value:function(t){h.verbose('readAsDataURL',t)}},{key:"dispatchEvent",value:function(t,n){h.verbose('dispatch event',t,n),(0,u.default)((0,c.default)(k.prototype),"dispatchEvent",this).call(this,t,n),'function'==typeof this["on"+t]&&this["on"+t](n)}},{key:"readyState",get:function(){return this._readyState}},{key:"result",get:function(){return this._result}}]),k})(s.default);e.default=p},1319,[1,26,34,27,37,39,36,1300,1317,1313,1311,1312,1303]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=t(r(d[1])),n=t(r(d[2])),o=t(r(d[3])),f=t(r(d[4])),u=t(r(d[5])),l=(t(r(d[6])),t(r(d[7])),t(r(d[8]))),h=new u.default('FetchPolyfill');h.disable();e.default=function t(s){(0,o.default)(this,t),(0,n.default)(this,new c(s))};var c=function t(s){(0,o.default)(this,t),this.build=function(){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.body,u=Promise.resolve(),c=null;n.headers=n.headers||{};var p,v,y,R=n['Content-Type']||n['content-type'],P=n.headers['Content-Type']||n.headers['content-type'];n.headers['Content-Type']=R||P,n.headers['content-type']=R||P,n.method=n.method||'GET',o&&(o instanceof FormData?(h.verbose('convert FormData to blob body'),u=l.default.build(o).then(function(t){return c=t,n.headers['Content-Type']='multipart/form-data;boundary='+t.multipartBoundary,Promise.resolve(f.default.wrap(t._ref))})):u=o.isRNFetchBlobPolyfill?Promise.resolve(f.default.wrap(o.blobPath)):'object'!=typeof o&&'application/json'!==n.headers['Content-Type']?Promise.resolve(JSON.stringify(o)):'string'!=typeof o?Promise.resolve(o.toString()):Promise.resolve(o));var w=u.then(function(o){var u=f.default.config(s).fetch(n.method,t,n.headers,o);return p&&u.progress(p),v&&u.uploadProgress(v),y&&u.cancel(),u.then(function(t){return h.verbose('response',t),null!==c&&c instanceof l.default&&c.close(),Promise.resolve(new b(t))})});return w.progress=function(t){p=t},w.uploadProgress=function(t){v=t},w.cancel=function(){y=!0,task.cancel&&task.cancel()},w}}},b=(function(){function t(s){(0,o.default)(this,t);var n=s.info();this.headers=n.headers,this.ok=n.status>=200&&n.status<=299,this.status=n.status,this.type='basic',this.bodyUsed=!1,this.resp=s,this.rnfbRespInfo=n,this.rnfbResp=s}return(0,s.default)(t,[{key:"rawResp",value:function(){return Promise.resolve(this.rnfbResp)}},{key:"arrayBuffer",value:function(){return h.verbose('to arrayBuffer',this.rnfbRespInfo),this.bodyUsed=!0,p(this.rnfbResp,this.rnfbRespInfo)}},{key:"text",value:function(){return h.verbose('to text',this.rnfbResp,this.rnfbRespInfo),this.bodyUsed=!0,v(this.rnfbResp,this.rnfbRespInfo)}},{key:"json",value:function(){return h.verbose('to json',this.rnfbResp,this.rnfbRespInfo),this.bodyUsed=!0,R(this.rnfbResp,this.rnfbRespInfo)}},{key:"blob",value:function(){return h.verbose('to blob',this.rnfbResp,this.rnfbRespInfo),this.bodyUsed=!0,y(this.rnfbResp,this.rnfbRespInfo)}}]),t})();function p(t,s){switch(s.rnfbEncode){case'path':return t.readFile('ascii');default:var n=[],o=t.text();for(var f in o)n[f]=o.charCodeAt(f);return Promise.resolve(n)}}function v(t,s){switch(s.rnfbEncode){case'base64':return Promise.resolve(t.text());case'path':return t.text();default:return Promise.resolve(t.text())}}function y(t,s){return h.verbose('readBlob',t,s),t.blob()}function R(t,s){switch(h.verbose('readJSON',t,s),s.rnfbEncode){case'base64':return Promise.resolve(t.json());case'path':return t.json();default:return Promise.resolve(t.json())}}},1320,[1,27,13,26,1300,1312,1303,1321,1311]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return n=n.replace(/\\u([\d\w]{4})/gi,function(n,t){return String.fromCharCode(parseInt(t,16))}),unescape(n)}},1321,[]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=t.NativeModules.RNFetchBlob;var o={actionViewIntent:function(o){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'text/plain';return'android'===t.Platform.OS?n.actionViewIntent(o,l):Promise.reject('RNFetchBlob.android.actionViewIntent only supports Android.')},getContentIntent:function(o){return'android'===t.Platform.OS?n.getContentIntent(o):Promise.reject('RNFetchBlob.android.getContentIntent only supports Android.')},addCompleteDownload:function(o){return'android'===t.Platform.OS?n.addCompleteDownload(o):Promise.reject('RNFetchBlob.android.addCompleteDownload only supports Android.')}};e.default=o},1322,[2]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0]),t=o.NativeModules.RNFetchBlob;var u={openDocument:function(u,n){return'ios'===o.Platform.OS?t.openDocument('file://'+u,n):Promise.reject('RNFetchBlob.previewDocument only supports IOS.')},previewDocument:function(u,n){return'ios'===o.Platform.OS?t.previewDocument('file://'+u,n):Promise.reject('RNFetchBlob.openDocument only supports IOS.')},excludeFromBackupKey:function(o){return t.excludeFromBackupKey('file://'+path)}};e.default=u},1323,[2]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),n=t(r(d[4])),s=function(t){if(window.location='',window.XMLHttpRequest.isRNFBPolyfill||(window.XMLHttpRequest=u.default,console.warn('Use JSONStream will automatically replace window.XMLHttpRequest with RNFetchBlob.polyfill.XMLHttpRequest. You are seeing this warning because you did not replace it maually.')),'string'==typeof t)t=n.default.isFileURI(t)?{url:'JSONStream://'+t,headers:{noCache:!0}}:'JSONStream://'+t;else if('object'==typeof t){var s=t.headers||{};n.default.isFileURI(t.url)&&(s.noCache=!0),t=(0,l.default)(t,{url:'JSONStream://'+t.url,headers:s})}return(0,o.default)(t)};e.default=s},1324,[1,13,1325,1315,1301]);
-__d(function(g,r,i,a,m,e,d){!(function(n,t,u,o,f,c){function s(n,t){return function(){return n.call(this,t.apply(this,arguments))}}function l(n){return function(t){return t[n]}}function h(n,t){return t.apply(c,n)}function p(n){var t=n.length-1,o=u.prototype.slice;if(0==t)return function(){return n.call(this,o.call(arguments))};if(1==t)return function(){return n.call(this,arguments[0],o.call(arguments,1))};var f=u(n.length);return function(){for(var u=0;t>u;u++)f[u]=arguments[u];return f[t]=o.call(arguments,t),n.apply(this,f)}}function v(n,t){return function(u){return n(u)&&t(u)}}function b(){}function w(){return!0}function y(n,t){return t&&t.constructor===n}function x(n){return n!==c}function I(n,u){return u instanceof t&&M(function(n){return n in u},n)}function L(n,t){return[n,t]}function k(n){return T(n.reduce((t=L,function(n,u){return t(u,n)}),Z));var t}function C(n){return E(function(n,t){return n.unshift(t),n},[],n)}function O(n,t){return t?L(n(nn(t)),O(n,tn(t))):Z}function E(n,t,u){return u?n(E(n,t,tn(u)),nn(u)):t}function j(n,t,u){return(function n(u,o){return u?t(nn(u))?(o(nn(u)),tn(u)):L(nn(u),n(tn(u),o)):Z})(n,u||b)}function M(n,t){return!t||n(nn(t))&&M(n,tn(t))}function R(n,t){n&&(nn(n).apply(null,t),R(tn(n),t))}function T(n){return(function n(t,u){return t?n(tn(t),L(nn(t),u)):u})(n,Z)}function A(n,t){return t&&(n(nn(t))?nn(t):A(n,tn(t)))}function q(n){"use strict";function t(n){F&&(p(F),v(),F=""),f=o(n+"\nLn: "+en+"\nCol: "+tn+"\nChr: "+s),b(z(c,c,f))}function u(n){return"\r"==n||"\n"==n||" "==n||"\t"==n}var f,s,l,h=n(xn).emit,p=n(In).emit,v=n(Ln).emit,b=n(pn).emit,w=65536,y=/[\\"\n]/g,x=0,I=x++,L=x++,k=x++,C=x++,O=x++,E=x++,j=x++,M=x++,R=x++,T=x++,A=x++,q=x++,H=x++,S=x++,B=x++,N=x++,_=x++,X=x++,U=x++,W=x++,$=x,D=w,F="",G="",J=!1,K=!1,P=I,Q=[],V=null,Y=0,Z=0,nn=0,tn=0,en=1;n(gn).on(function(n){if(!f){if(K)return t("Cannot write after close");var o=0;for(s=n[0];s&&(l=s,s=n[o++]);)switch(nn++,"\n"==s?(en++,tn=0):tn++,P){case I:if("{"===s)P=k;else if("["===s)P=O;else if(!u(s))return t("Non-whitespace before {[.");continue;case M:case k:if(u(s))continue;if(P===M)Q.push(R);else{if("}"===s){p({}),v(),P=Q.pop()||L;continue}Q.push(C)}if('"'!==s)return t('Malformed object key should start with " ');P=j;continue;case R:case C:if(u(s))continue;if(":"===s)P===C?(Q.push(C),F&&(p({}),h(F),F=""),Z++):F&&(h(F),F=""),P=L;else if("}"===s)F&&(p(F),v(),F=""),v(),Z--,P=Q.pop()||L;else{if(","!==s)return t("Bad object");P===C&&Q.push(C),F&&(p(F),v(),F=""),P=M}continue;case O:case L:if(u(s))continue;if(P===O){if(p([]),Z++,P=L,"]"===s){v(),Z--,P=Q.pop()||L;continue}Q.push(E)}if('"'===s)P=j;else if("{"===s)P=k;else if("["===s)P=O;else if("t"===s)P=T;else if("f"===s)P=H;else if("n"===s)P=_;else if("-"===s)G+=s;else if("0"===s)G+=s,P=$;else{if(-1==="123456789".indexOf(s))return t("Bad value");G+=s,P=$}continue;case E:if(","===s)Q.push(E),F&&(p(F),v(),F=""),P=L;else{if("]"!==s){if(u(s))continue;return t("Bad array")}F&&(p(F),v(),F=""),v(),Z--,P=Q.pop()||L}continue;case j:var c=o-1;n:for(;;){for(;Y>0;)if(V+=s,s=n.charAt(o++),4===Y?(F+=String.fromCharCode(parseInt(V,16)),Y=0,c=o-1):Y++,!s)break n;if('"'===s&&!J){P=Q.pop()||L,(F+=n.substring(c,o-1))||(p(""),v());break}if(!("\\"!==s||J||(J=!0,F+=n.substring(c,o-1),s=n.charAt(o++))))break;if(J){if(J=!1,"n"===s?F+="\n":"r"===s?F+="\r":"t"===s?F+="\t":"f"===s?F+="\f":"b"===s?F+="\b":"u"===s?(Y=1,V=""):F+=s,s=n.charAt(o++),c=o-1,s)continue;break}y.lastIndex=o;var b=y.exec(n);if(!b){o=n.length+1,F+=n.substring(c,o-1);break}if(o=b.index+1,!(s=n.charAt(b.index))){F+=n.substring(c,o-1);break}}continue;case T:if(!s)continue;if("r"!==s)return t("Invalid true started with t"+s);P=A;continue;case A:if(!s)continue;if("u"!==s)return t("Invalid true started with tr"+s);P=q;continue;case q:if(!s)continue;if("e"!==s)return t("Invalid true started with tru"+s);p(!0),v(),P=Q.pop()||L;continue;case H:if(!s)continue;if("a"!==s)return t("Invalid false started with f"+s);P=S;continue;case S:if(!s)continue;if("l"!==s)return t("Invalid false started with fa"+s);P=B;continue;case B:if(!s)continue;if("s"!==s)return t("Invalid false started with fal"+s);P=N;continue;case N:if(!s)continue;if("e"!==s)return t("Invalid false started with fals"+s);p(!1),v(),P=Q.pop()||L;continue;case _:if(!s)continue;if("u"!==s)return t("Invalid null started with n"+s);P=X;continue;case X:if(!s)continue;if("l"!==s)return t("Invalid null started with nu"+s);P=U;continue;case U:if(!s)continue;if("l"!==s)return t("Invalid null started with nul"+s);p(null),v(),P=Q.pop()||L;continue;case W:if("."!==s)return t("Leading zero not followed by .");G+=s,P=$;continue;case $:if(-1!=="0123456789".indexOf(s))G+=s;else if("."===s){if(-1!==G.indexOf("."))return t("Invalid number has two dots");G+=s}else if("e"===s||"E"===s){if(-1!==G.indexOf("e")||-1!==G.indexOf("E"))return t("Invalid number has two exponential");G+=s}else if("+"===s||"-"===s){if("e"!==l&&"E"!==l)return t("Invalid symbol in number");G+=s}else G&&(p(parseFloat(G)),v(),G=""),o--,P=Q.pop()||L;continue;default:return t("Unknown state: "+P)}nn>=D&&(x=0,F.length>w&&(t("Max buffer length exceeded: textNode"),x=Math.max(x,F.length)),G.length>w&&(t("Max buffer length exceeded: numberNode"),x=Math.max(x,G.length)),D=w-x+nn)}var x}),n(wn).on(function(){return P==I?(p({}),v(),void(K=!0)):((P!==L||0!==Z)&&t("Unexpected end"),F&&(p(F),v(),F=""),void(K=!0))})}function H(n,t){"use strict";function u(n){return function(t){o=n(o,t)}}var o,f={};for(var c in t)n(c).on(u(t[c]),f);n(dn).on(function(n){var t=nn(o),u=un(t),f=tn(o);f&&(on(nn(f))[u]=n)}),n(hn).on(function(){var n=nn(o),t=un(n),u=tn(o);u&&delete on(nn(u))[t]}),n(yn).on(function(){for(var u in t)n(u).un(f)})}function S(n){var t={};return n&&n.split("\r\n").forEach(function(n){var u=n.indexOf(": ");t[n.substring(0,u)]=n.substring(u+2)}),t}function B(n,t){function u(t){return t.port||{"http:":80,"https:":443}[t.protocol||n.protocol]}return!!(t.protocol&&t.protocol!=n.protocol||t.host&&t.host!=n.host||t.host&&u(t)!=u(n))}function N(n){var t=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(n)||[];return{protocol:t[1]||"",host:t[2]||"",port:t[3]||""}}function _(t,u,o,f,s,l,h){"use strict";function p(){var n=u.responseText,t=n.substr(w);t&&v(t),w=V(n)}var v=t(gn).emit,b=t(pn).emit,w=0,y=!0;t(yn).on(function(){u.onreadystatechange=null,u.abort()}),"onprogress"in u&&(u.onprogress=p),u.onreadystatechange=function(){function n(){try{y&&t(bn).emit(u.status,S(u.getAllResponseHeaders())),y=!1}catch(n){}}switch(u.readyState){case 2:case 3:return n();case 4:n(),2==String(u.status)[0]?(p(),t(wn).emit()):b(z(u.status,u.responseText))}};try{for(var x in u.open(o,f,!0),l)u.setRequestHeader(x,l[x]);B(n.location,N(f))||u.setRequestHeader("X-Requested-With","XMLHttpRequest"),u.withCredentials=h,u.send(s)}catch(t){n.setTimeout(P(b,z(c,c,t)),0)}}function X(n,t){return{key:n,node:t}}function U(n){function t(n,t){var o=on(nn(n));return y(u,o)?f(n,V(o),t):n}function o(n,t,u){on(nn(n))[t]=u}function f(n,t,u){n&&o(n,t,u);var f=L(X(t,u),n);return c(f),f}var c=n(sn).emit,s=n(ln).emit,l=n(mn).emit,h=n(vn).emit,p={};return p[In]=function(n,u){if(!n)return l(u),f(n,fn,u);var c=t(n,u),s=tn(c),h=un(nn(c));return o(s,h,u),L(X(h,u),s)},p[Ln]=function(n){return s(n),tn(n)||h(on(nn(n)))},p[xn]=f,p}function W(n,t,u){function o(n){return function(t){return t.id==n}}var f,c;return{on:function(u,o){var s={listener:u,id:o||u};return t&&t.emit(n,u,s.id),f=L(s,f),c=L(u,c),this},emit:function(){R(c,arguments)},un:function(t){var s;f=j(f,o(t),function(n){s=n}),s&&(c=j(c,function(n){return n==s.listener}),u&&u.emit(n,s.listener,s.id))},listeners:function(){return c},hasListener:function(n){return x(A(n?o(n):w,f))}}}function $(){function n(n){return u[n]=W(n,o,f)}function t(t){return u[t]||n(t)}var u={},o=n("newListener"),f=n("removeListener");return["emit","on","un"].forEach(function(n){t[n]=p(function(u,o){h(o,t(u)[n])})}),t}function z(n,t,u){try{var o=f.parse(t)}catch(n){}return{statusCode:n,body:t,jsonBody:o,thrown:u}}function D(n,t){function u(n,t,u){var o=T(u);n(t,C(tn(O(un,o))),C(O(on,o)))}function o(t,o,f){var c=n(t).emit;o.on(function(n){var t=f(n);!1!==t&&u(c,on(t),n)},t),n("removeListener").on(function(u){u==t&&(n(u).listeners()||o.un(t))})}var f={node:n(ln),path:n(sn)};n("newListener").on(function(n){var u=/(node|path):(.*)/.exec(n);if(u){var c=f[u[1]];c.hasListener(n)||o(n,c,t(u[2]))}})}function F(n,t){function u(n,t,u){u=u||t;var f=o(t);return n.on(function(){var t=!1;w.forget=function(){t=!0},h(arguments,f),delete w.forget,t&&n.un(u)},u),w}function o(t){return function(){try{return t.apply(w,arguments)}catch(t){n(pn).emit(z(c,c,t))}}}function f(t,u){return n(t+":"+u)}function s(n,t,o){var c,s;c="node"==n?(s=o,function(){var n=s.apply(this,arguments);x(n)&&(n==K.drop?L():k(n))}):o,u(f(n,t),c,o)}function l(n,t){for(var u in t)s(n,u,t[u])}function v(n,t,u){return Y(t)?s(n,t,u):l(n,t),w}var w,y=/^(node|path):./,I=n(vn),L=n(hn).emit,k=n(dn).emit,C=p(function(t,o){if(w[t])h(o,w[t]);else{var f=n(t),c=o[0];y.test(t)?u(f,c):f.on(c)}return w});return n(mn).on(function(n){var t;w.root=(t=n,function(){return t})}),n(bn).on(function(n,t){w.header=function(n){return n?t[n]:t}}),w={on:C,addListener:C,removeListener:function(t,u,o){if("done"==t)I.un(u);else if("node"==t||"path"==t)n.un(t+":"+u,o);else{var f=u;n(t).un(f)}return w},emit:n.emit,node:P(v,"node"),path:P(v,"path"),done:P(u,I),start:P(function(t,u){return n(t).on(o(u),u),w},bn),fail:n(pn).on,abort:n(yn).emit,header:b,root:b,source:t}}function G(n,t,u,o,f){var c=$();return t&&_(c,new XMLHttpRequest,n,t,u,o,f),q(c),H(c,U(c)),D(c,cn),F(c,t)}function J(n,t,u,o,c,s,l){return c=c?f.parse(f.stringify(c)):{},o?Y(o)||(o=f.stringify(o),c["Content-Type"]=c["Content-Type"]||"application/json"):o=null,n(u||"GET",(function(n,t){return!1===t&&(n+=-1==n.indexOf("?")?"?":"&",n+="_="+(new Date).getTime()),n})(t,l),o,c,s||!1)}function K(n){var t=en("resume","pause","pipe"),u=P(I,t);return n?u(n)||Y(n)?J(G,n):J(G,n.url,n.method,n.body,n.headers,n.withCredentials,n.cached):G()}var P=p(function(n,t){var u=t.length;return p(function(o){for(var f=0;f0&&T.push(y.default.createElement(h.View,{style:[D.buttonSeparator,f]})),T.push(t)):k.push(t))}),y.default.createElement(b.default,(0,o.default)({backdropOpacity:.3,style:D.modal,isVisible:j,animationIn:"ios"===h.Platform.OS?v:"zoomIn",animationOut:"fadeOut"},x),y.default.createElement(h.KeyboardAvoidingView,{behavior:"ios"===h.Platform.OS?"padding":void 0,style:D.container},y.default.createElement(h.View,{style:[D.content,p]},"ios"===h.Platform.OS&&l,"ios"===h.Platform.OS&&!l&&y.default.createElement(h.View,{style:[D.blur,E]}),y.default.createElement(h.View,{style:[D.header,O]},R,I),k,Boolean(T.length)&&y.default.createElement(h.View,{style:[D.footer,w]},T.map(function(t,o){return y.default.cloneElement(t,{key:"dialog-button-"+o})})))))}}]),O})(y.default.PureComponent);e.default=w,w.propTypes={blurComponentIOS:p.default.node,buttonSeparatorStyle:p.default.object,children:p.default.node.isRequired,contentStyle:p.default.object,footerStyle:p.default.object,headerStyle:p.default.object,blurStyle:p.default.object,visible:p.default.bool},w.defaultProps={visible:!1};var D=h.StyleSheet.create({modal:{flex:1,marginLeft:0,marginRight:0,marginTop:0,marginBottom:0},container:{justifyContent:"center",alignItems:"center"},blur:{position:"absolute",backgroundColor:"rgb(255,255,255)",top:0,left:0,bottom:0,right:0},content:h.Platform.select({ios:{width:270,flexDirection:"column",borderRadius:13,overflow:"hidden"},android:{flexDirection:"column",borderRadius:3,padding:16,margin:16,backgroundColor:"white",overflow:"hidden",elevation:4,minWidth:300},web:{flexDirection:"column",borderRadius:3,padding:16,margin:16,backgroundColor:"white",overflow:"hidden",elevation:4,minWidth:300}}),header:h.Platform.select({ios:{margin:18},android:{margin:12},web:{margin:12}}),footer:h.Platform.select({ios:{flexDirection:"row",justifyContent:"space-between",borderTopColor:"#A9ADAE",borderTopWidth:h.StyleSheet.hairlineWidth,height:46},android:{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",marginTop:4},web:{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",marginTop:4}}),buttonSeparator:{height:"100%",backgroundColor:"#A9ADAE",width:h.StyleSheet.hairlineWidth}})},1329,[1,13,54,26,27,37,39,36,68,56,2,1330]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.ReactNativeModal=e.default=void 0;var o=n(r(d[2])),s=n(r(d[3])),p=n(r(d[4])),l=n(r(d[5])),c=n(r(d[6])),u=n(r(d[7])),f=n(r(d[8])),h=n(r(d[9])),b=t(r(d[10])),w=r(d[11]),v=n(r(d[12])),O=t(r(d[13])),S=r(d[14]),y=n(r(d[15]));function T(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function k(t){for(var n=1;n=4||Math.abs(o.dy)>=4;return s&&n.props.onSwipeStart&&n.props.onSwipeStart(),s}},onStartShouldSetPanResponder:function(){return!(n.props.scrollTo&&n.props.scrollOffset>0)&&(n.props.onSwipeStart&&n.props.onSwipeStart(),!0)},onPanResponderMove:function(o,s){var p=n.props.deviceWidth||n.state.deviceWidth,l=1-n.getAccDistancePerDirection(s)/p;if(n.isSwipeDirectionAllowed(s))n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity*l}),t(o,s),n.props.onSwipeMove&&n.props.onSwipeMove(l);else if(n.props.scrollTo){var c=-s.dy;c>n.props.scrollOffsetMax&&(c-=(c-n.props.scrollOffsetMax)/2),n.props.scrollTo({y:c,animated:!1})}},onPanResponderRelease:function(t,o){if(n.getAccDistancePerDirection(o)>n.props.swipeThreshold){if(n.props.onSwipeComplete)return n.inSwipeClosingState=!0,void n.props.onSwipeComplete();if(n.props.onSwipe)return n.inSwipeClosingState=!0,void n.props.onSwipe()}n.props.onSwipeCancel&&n.props.onSwipeCancel(),n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity},n.props.backdropTransitionInTiming),w.Animated.spring(n.state.pan,{toValue:{x:0,y:0},bounciness:0}).start(),n.props.scrollOffset>n.props.scrollOffsetMax&&n.props.scrollTo({y:n.props.scrollOffsetMax,animated:!0})}})},n.getAccDistancePerDirection=function(t){switch(n.props.swipeDirection){case"up":return-t.dy;case"down":return t.dy;case"right":return t.dx;case"left":return-t.dx;default:return 0}},n.isSwipeDirectionAllowed=function(t){var o=t.dy,s=t.dx,p=o>0,l=o<0,c=s<0,u=s>0;return!("up"!==n.props.swipeDirection||!l)||(!("down"!==n.props.swipeDirection||!p)||(!("right"!==n.props.swipeDirection||!u)||!("left"!==n.props.swipeDirection||!c)))},n.handleDimensionsUpdate=function(t){if(!n.props.deviceHeight&&!n.props.deviceWidth){var o=w.Dimensions.get("window").width,s=w.Dimensions.get("window").height;o===n.state.deviceWidth&&s===n.state.deviceHeight||n.setState({deviceWidth:o,deviceHeight:s})}},n.open=function(){n.isTransitioning||(n.isTransitioning=!0,n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity},n.props.backdropTransitionInTiming),n.state.isSwipeable&&n.state.pan.setValue({x:0,y:0}),n.contentRef&&(n.props.onModalWillShow&&n.props.onModalWillShow(),n.contentRef[n.animationIn](n.props.animationInTiming).then(function(){n.isTransitioning=!1,n.props.isVisible?n.props.onModalShow():n.close()})))},n.close=function(){if(!n.isTransitioning){n.isTransitioning=!0,n.backdropRef&&n.backdropRef.transitionTo({opacity:0},n.props.backdropTransitionOutTiming);var t=n.animationOut;n.inSwipeClosingState&&(n.inSwipeClosingState=!1,"up"===n.props.swipeDirection?t="slideOutUp":"down"===n.props.swipeDirection?t="slideOutDown":"right"===n.props.swipeDirection?t="slideOutRight":"left"===n.props.swipeDirection&&(t="slideOutLeft")),n.contentRef&&(n.props.onModalWillHide&&n.props.onModalWillHide(),n.contentRef[t](n.props.animationOutTiming).then(function(){n.isTransitioning=!1,n.props.isVisible?n.open():(n.setState({showContent:!1},function(){n.setState({isVisible:!1})}),n.props.onModalHide())}))}};var o=(0,S.buildAnimations)(t),s=o.animationIn,p=o.animationOut;return n.animationIn=s,n.animationOut=p,n.state.isSwipeable&&(n.state=k(k({},n.state),{},{pan:new w.Animated.ValueXY}),n.buildPanResponder()),n.props.isVisible&&(n.state=k(k({},n.state),{},{isVisible:!0,showContent:!0})),n}return(0,c.default)(T,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){if(!this.state.isVisible&&t.isVisible&&this.setState({isVisible:!0,showContent:!0}),this.props.animationIn!==t.animationIn||this.props.animationOut!==t.animationOut){var n=(0,S.buildAnimations)(t),o=n.animationIn,s=n.animationOut;this.animationIn=o,this.animationOut=s}this.props.backdropOpacity!==t.backdropOpacity&&this.backdropRef&&this.backdropRef.transitionTo({opacity:t.backdropOpacity},this.props.backdropTransitionInTiming)}},{key:"componentDidMount",value:function(){this.props.onSwipe&&console.warn('`` is deprecated. Use `` instead.'),this.state.isVisible&&this.open(),w.DeviceEventEmitter.addListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentWillUnmount",value:function(){w.DeviceEventEmitter.removeListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentDidUpdate",value:function(t,n){this.props.isVisible&&!t.isVisible?this.open():!this.props.isVisible&&t.isVisible&&this.close()}},{key:"render",value:function(){var t=this,n=this.props,p=(n.animationIn,n.animationInTiming,n.animationOut,n.animationOutTiming,n.avoidKeyboard),l=n.hasBackdrop,c=n.backdropColor,u=(n.backdropOpacity,n.backdropTransitionInTiming,n.backdropTransitionOutTiming,n.children),f=n.deviceHeight,h=n.deviceWidth,v=(n.isVisible,n.onModalShow,n.onBackdropPress),S=n.onBackButtonPress,T=n.useNativeDriver,D=(n.propagateSwipe,n.style),M=(0,s.default)(n,["animationIn","animationInTiming","animationOut","animationOutTiming","avoidKeyboard","hasBackdrop","backdropColor","backdropOpacity","backdropTransitionInTiming","backdropTransitionOutTiming","children","deviceHeight","deviceWidth","isVisible","onModalShow","onBackdropPress","onBackButtonPress","useNativeDriver","propagateSwipe","style"]),R=h||this.state.deviceWidth,P=f||this.state.deviceHeight,C=[{margin:.05*R,transform:[{translateY:0}]},y.default.content,D],V={},W={};this.state.isSwipeable&&(V=k({},this.panResponder.panHandlers),W=T?{transform:this.state.pan.getTranslateTransform()}:this.state.pan.getLayout());var I=this.props.hideModalContentWhileAnimating&&this.props.useNativeDriver&&!this.state.showContent?b.default.createElement(O.View,null):u,x=b.default.createElement(O.View,(0,o.default)({},V,{ref:function(n){return t.contentRef=n},style:[W,C],pointerEvents:"box-none",useNativeDriver:T},M),I);return b.default.createElement(w.Modal,(0,o.default)({transparent:!0,animationType:"none",visible:this.state.isVisible,onRequestClose:S},M),l&&b.default.createElement(w.TouchableWithoutFeedback,{onPress:v},b.default.createElement(O.View,{ref:function(n){return t.backdropRef=n},useNativeDriver:!0,style:[y.default.backdrop,{backgroundColor:this.state.showContent?c:"transparent",width:R,height:P}]})),p&&b.default.createElement(w.KeyboardAvoidingView,{behavior:"ios"===w.Platform.OS?"padding":null,pointerEvents:"box-none",style:C.concat([{margin:0}])},x),!p&&x)}}]),T})(b.Component);e.ReactNativeModal=M,M.propTypes={animationIn:v.default.oneOfType([v.default.string,v.default.object]),animationInTiming:v.default.number,animationOut:v.default.oneOfType([v.default.string,v.default.object]),animationOutTiming:v.default.number,avoidKeyboard:v.default.bool,hasBackdrop:v.default.bool,backdropColor:v.default.string,backdropOpacity:v.default.number,backdropTransitionInTiming:v.default.number,backdropTransitionOutTiming:v.default.number,children:v.default.node.isRequired,deviceHeight:v.default.number,deviceWidth:v.default.number,isVisible:v.default.bool.isRequired,hideModalContentWhileAnimating:v.default.bool,propagateSwipe:v.default.bool,onModalShow:v.default.func,onModalWillShow:v.default.func,onModalHide:v.default.func,onModalWillHide:v.default.func,onBackButtonPress:v.default.func,onBackdropPress:v.default.func,onSwipeStart:v.default.func,onSwipeMove:v.default.func,onSwipeComplete:v.default.func,onSwipeCancel:v.default.func,swipeThreshold:v.default.number,swipeDirection:v.default.oneOf(["up","down","left","right"]),useNativeDriver:v.default.bool,style:v.default.any,scrollTo:v.default.func,scrollOffset:v.default.number,scrollOffsetMax:v.default.number,supportedOrientations:v.default.arrayOf(v.default.oneOf(["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"]))},M.defaultProps={animationIn:"slideInUp",animationInTiming:300,animationOut:"slideOutDown",animationOutTiming:300,avoidKeyboard:!1,hasBackdrop:!0,backdropColor:"black",backdropOpacity:.7,backdropTransitionInTiming:300,backdropTransitionOutTiming:300,onModalShow:function(){return null},onModalWillShow:function(){return null},deviceHeight:null,deviceWidth:null,onModalHide:function(){return null},onModalWillHide:function(){return null},isVisible:!1,hideModalContentWhileAnimating:!1,propagateSwipe:v.default.false,onBackdropPress:function(){return null},onBackButtonPress:function(){return null},swipeThreshold:100,useNativeDriver:!1,scrollTo:null,scrollOffset:0,scrollOffsetMax:0,supportedOrientations:["portrait","landscape"]};var R=M;e.default=R},1330,[9,1,13,54,48,26,27,37,39,36,56,2,68,1190,1331,1332]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.buildAnimations=e.initializeAnimations=void 0;var o=n(r(d[2])),s=r(d[3]),l=t(r(d[4])),u=s.Dimensions.get("window"),f=u.height,c=u.width;e.initializeAnimations=function(){var t=function(t,n,s){return{from:(0,o.default)({},t,n),to:(0,o.default)({},t,s)}},n={slideInDown:t("translateY",-f,0),slideInUp:t("translateY",f,0),slideInLeft:t("translateX",-c,0),slideInRight:t("translateX",c,0),slideOutDown:t("translateY",0,f),slideOutUp:t("translateY",0,-f),slideOutLeft:t("translateX",0,-c),slideOutRight:t("translateX",0,c)};l.initializeRegistryWithDefinitions(n)};e.buildAnimations=function(t){var n=t.animationIn,o=t.animationOut,s=n,l=o;if(O(n)){var u=JSON.stringify(n);v(u,n),s=u}if(O(o)){var f=JSON.stringify(o);v(f,o),l=f}return{animationIn:s,animationOut:l}};var v=function(t,n){l.registerAnimation(t,l.createAnimation(n))},O=function(t){return null!==t&&"object"==typeof t}},1331,[9,1,48,2,1190]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).StyleSheet.create({backdrop:{position:"absolute",top:0,bottom:0,left:0,right:0,opacity:0,backgroundColor:"black"},content:{flex:1,justifyContent:"center"}});e.default=t},1332,[2]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),p=t(r(d[7])),s=t(r(d[8])),y=t(r(d[9])),O=t(r(d[10])),b=r(d[11]);function h(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function v(t){for(var o=1;o0&&new Promise(function(t){return setTimeout(t,0)}).then(function(){t.scrollToIndex({index:o,animated:!1})}))},n.onNextImage=function(t){var s=n.state.imageIndex,l=(t.nativeEvent.contentOffset||{x:0}).x,o=Math.round(l/n.state.screenDimensions.screenWidth);if(n.isScrolling=Math.ceil(l)%n.state.screenDimensions.screenWidth>10,s!==o&&o>=0){var u=n.getInitialScale(o),c=n.getInitialTranslate(o);n.setState({imageIndex:o,imageScale:u,imageTranslate:c}),n.imageScaleValue.setValue(u),n.imageTranslateValue.setValue(c),'function'==typeof n.props.onImageChange&&n.props.onImageChange(o)}},n.onMomentumScrollBegin=function(){n.isScrolling=!0,n.glideAlwaysTimer&&clearTimeout(n.glideAlwaysTimer)},n.onMomentumScrollEnd=function(){n.isScrolling=!1},n.getItemLayout=function(t,s){var l=n.state.screenDimensions.screenWidth;return{length:l,offset:l*s,index:s}},n.getControls=function(){var t=n.props.controls,s=t.close,l=t.prev,o=t.next,u={close:x.Close,prev:void 0,next:void 0};return null===s&&(u.close=null),s&&(u.close=!0===s?x.Close:s),l&&(u.prev=!0===l?x.Prev:l),o&&(u.next=!0===o?x.Next:o),u},n.setSizeForImages=function(t){return 0===t.length?[]:n.state.images.map(function(n,s){var l=t.find(function(t){return t.index===s});return l&&(n.width=l.width,n.height=l.height),n})},n.scrollToNext=function(){n.listRef&&'function'==typeof n.listRef.scrollToIndex&&n.listRef.scrollToIndex({index:n.state.imageIndex+1,animated:!0})},n.scrollToPrev=function(){n.listRef&&'function'==typeof n.listRef.scrollToIndex&&n.listRef.scrollToIndex({index:n.state.imageIndex-1,animated:!0})},n.listKeyExtractor=function(t){return n.state.images.indexOf(t).toString()},n.close=function(){n.setState({isVisible:!1}),'function'==typeof n.props.onClose&&n.props.onClose()},n.renderImage=function(t){var s=t.item,o=t.index,u=s.loaded&&s.width&&s.height;return p.default.createElement(v.View,{style:E.imageContainer,onStartShouldSetResponder:function(){return!0}},p.default.createElement(v.Animated.Image,(0,l.default)({resizeMode:"cover",source:s.source,style:n.getImageStyle(s,o),onLoad:function(){return n.onImageLoaded(o)}},n.panResponder.panHandlers)),!u&&p.default.createElement(v.ActivityIndicator,{style:E.loading}))};var s=w();n.imageInitialParams=t.images.map(function(t){return(0,y.getInitialParams)(t,s)}),n.state={images:t.images,isVisible:t.isVisible,imageIndex:t.imageIndex,imageScale:1,imageTranslate:{x:0,y:0},scrollEnabled:!0,panelsVisible:!0,isFlatListRerendered:!1,screenDimensions:s},n.glideAlwaysTimer=null,n.listRef=null,n.isScrolling=!1,n.footerHeight=0,n.initialTouches=[],n.currentTouchesNum=0,n.doubleTapTimer=null,n.modalAnimation=new v.Animated.Value(0),n.modalBackgroundOpacity=new v.Animated.Value(0),n.headerTranslateValue=new v.Animated.ValueXY,n.footerTranslateValue=new v.Animated.ValueXY,n.imageScaleValue=new v.Animated.Value(n.getInitialScale());var u=n.getInitialTranslate(),c=u.x,h=u.y;n.imageTranslateValue=new v.Animated.ValueXY({x:c,y:h}),n.panResponder=(0,y.generatePanHandlers)(function(t){return n.onGestureStart(t.nativeEvent)},function(t,s){return n.onGestureMove(t.nativeEvent,s)},function(t,s){return n.onGestureRelease(t.nativeEvent,s)});var f=(0,y.getImagesWithoutSize)((0,y.addIndexesToImages)(t.images));return f.length&&Promise.all((0,y.fetchImageSize)(f)).then(n.setSizeForImages),n}return(0,u.default)(A,[{key:"componentDidMount",value:function(){E=(0,T.default)(this.state.screenDimensions),v.Dimensions.addEventListener('change',this.onChangeDimension)}},{key:"componentDidUpdate",value:function(){var t=this,n=this.state,s=n.images,l=n.imageIndex,o=n.isVisible;if(void 0!==this.props.isVisible&&this.props.isVisible!==o){if(this.onNextImagesReceived(this.props.images,this.props.imageIndex),s!==this.props.images||l!==this.props.imageIndex){var u=(0,y.getImagesWithoutSize)((0,y.addIndexesToImages)(this.props.images));u.length&&Promise.all((0,y.fetchImageSize)(u)).then(function(n){return t.onNextImagesReceived(t.setSizeForImages(n),t.props.imageIndex)})}this.setState({isVisible:this.props.isVisible,isFlatListRerendered:!1}),this.modalBackgroundOpacity.setValue(0),this.props.isVisible&&v.Animated.timing(this.modalAnimation,{duration:400,toValue:1}).start()}}},{key:"componentWillUnmount",value:function(){v.Dimensions.removeEventListener('change',this.onChangeDimension),this.glideAlwaysTimer&&clearTimeout(this.glideAlwaysTimer)}},{key:"onNextImagesReceived",value:function(t){var n=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.imageInitialParams=t.map(function(t){return(0,y.getInitialParams)(t,n.state.screenDimensions)});var l=this.imageInitialParams[s]||{scale:1,translate:{}},o=l.scale,u=l.translate;this.setState({images:t,imageIndex:s,imageScale:o,imageTranslate:u,isFlatListRerendered:!1}),this.imageScaleValue.setValue(o),this.imageTranslateValue.setValue(u)}},{key:"onGestureStart",value:function(t){this.initialTouches=t.touches,this.currentTouchesNum=t.touches.length}},{key:"onGestureMove",value:function(t,n){if(!this.isScrolling||!this.state.scrollEnabled){1===this.currentTouchesNum&&2===t.touches.length&&(this.initialTouches=t.touches);var s=this.props,l=s.isSwipeCloseEnabled,o=s.isPinchZoomEnabled,u=this.state,c=u.images,h=u.imageIndex,f=u.imageScale,p=u.imageTranslate,v=u.screenDimensions.screenHeight,T=t.touches,x=p.x,I=p.y,S=n.dx,V=n.dy,b=this.getInitialScale(),w=c[h].height;if(f!==b&&this.imageTranslateValue.x.setValue(x+S),f*w>v&&this.imageTranslateValue.y.setValue(I+V),l&&(0,y.scalesAreEqual)(f,b)&&w*b1?1:E)}var A=(0,y.getDistance)(T),R=(0,y.getDistance)(this.initialTouches),P=Math.abs(V)<15;if(this.setState({scrollEnabled:P}),R&&o&&!(T.length<2)){var D=(0,y.getScale)(A,R)*f;D5&&(D=5),this.imageScaleValue.setValue(D),this.currentTouchesNum=t.touches.length}}}},{key:"onGestureRelease",value:function(t,n){var s=this;if(this.glideAlwaysTimer&&clearTimeout(this.glideAlwaysTimer),this.props.glideAlways&&'android'===v.Platform.OS&&(this.glideAlwaysTimer=setTimeout(function(){s.glideAlwaysTimer=null,s.listRef&&s.listRef.scrollToIndex&&s.listRef.scrollToIndex({index:s.state.imageIndex,animated:!0})},this.props.glideAlwaysDelay)),!this.isScrolling){var l=this.state.imageScale,o=this.props,u=o.isSwipeCloseEnabled,c=o.isTapZoomEnabled,h=this.imageScaleValue._value,f=this.modalBackgroundOpacity._value,p=n.dx,T=n.dy,x=n.vy,I=this.getInitialScale(),S=this.getInitialTranslate();t&&!p&&!T&&(0,y.scalesAreEqual)(l,h)&&(c&&this.doubleTapTimer?(clearTimeout(this.doubleTapTimer),this.doubleTapTimer=null,h=(0,y.scalesAreEqual)(I,h)?3*h:I,v.Animated.timing(this.imageScaleValue,{toValue:h,duration:300}).start(),this.togglePanels(h===I)):this.doubleTapTimer=setTimeout(function(){s.togglePanels(),s.doubleTapTimer=null},200));var V=this.calculateNextTranslate(p,T,h),b=V.x,w=V.y,E=h===this.getInitialScale()&&b===S.x&&w===S.y;v.Animated.parallel([f>0?v.Animated.timing(this.modalBackgroundOpacity,{toValue:0,duration:100}):null,v.Animated.timing(this.imageTranslateValue.x,{toValue:b,duration:100}),v.Animated.timing(this.imageTranslateValue.y,{toValue:w,duration:100})].filter(Boolean)).start(),u&&h===I&&Math.abs(x)>=1.1&&v.Animated.timing(this.imageTranslateValue.y,{toValue:w+400*x,duration:150}).start(this.close),this.setState({imageScale:h,imageTranslate:{x:b,y:w},scrollEnabled:E})}}},{key:"onImageLoaded",value:function(t){var n=this.state.images;n[t]=S(S({},n[t]),{},{loaded:!0}),this.setState({images:n})}},{key:"getInitialScale",value:function(t){var n=void 0!==t?t:this.state.imageIndex,s=this.imageInitialParams[n];return s?s.scale:1}},{key:"getInitialTranslate",value:function(t){var n=void 0!==t?t:this.state.imageIndex,s=this.imageInitialParams[n];return s?s.translate:{x:0,y:0}}},{key:"getImageStyle",value:function(t,n){var s=this.state,l=s.imageIndex,o=s.screenDimensions,u=t.width,c=t.height;if(!u||!c)return{opacity:0};var h=(0,y.calculateInitialTranslate)(u,c+1,o),f=h.x,p=h.y,T=new v.Animated.ValueXY({x:f,y:p}),x=n===l?this.imageTranslateValue.getTranslateTransform():T.getTranslateTransform(),I=n===l?this.imageScaleValue:this.getInitialScale(n);return x.push({scale:I}),{width:u,height:c,transform:x}}},{key:"calculateNextTranslate",value:function(t,n,s){var l=this.state,o=l.images,u=l.imageIndex,c=l.imageTranslate,h=l.screenDimensions,f=c.x,p=c.y,v=h.screenWidth,y=h.screenHeight,T=o[u],x=T.width,I=T.height,S=this.getInitialScale(),V=function(l){var o='x'===l?x:I,u='x'===l?v:y,c=(s*o-o)/2,h=u-o-c,T='x'===l?f+t:p+n;return u>s*o?T=x>=I?(u-o)/2:u/2-o*(s/S)/2:(T>c&&(T=c),T0&&v.Animated.timing(this.footerTranslateValue.y,{toValue:n?0:this.footerHeight,duration:200,useNativeDriver:!0}).start()}},{key:"render",value:function(){var t=this,n=this.props,s=n.animationType,l=n.renderFooter,o=n.backgroundColor,u=this.state,c=u.images,h=u.imageIndex,f=u.imageScale,T=u.isVisible,x=u.scrollEnabled,I=this.getControls(),S=I.close,V=I.prev,w=I.next,A=this.getInitialScale(),R=this.headerTranslateValue.getTranslateTransform(),P=this.footerTranslateValue.getTranslateTransform(),D=(o&&(0,y.isHex)(o)?(0,y.hexToRgb)(o):b).join(','),O=this.modalBackgroundOpacity.interpolate({inputRange:[0,1],outputRange:["rgba("+D+", 0.9)","rgba("+D+", 0.2)"]}),k=f===A&&h>0,C=f===A&&h0&&void 0!==arguments[0]?arguments[0]:[]).reduce(function(n,t){if(t.source&&t.source.uri&&(!t.width||!t.height)){var o=new Promise(function(n,o){u.Image.getSize(t.source.uri,function(o,u){return n({width:o,height:u,index:t.index})},o)});n.push(o)}return n},[])},e.scalesAreEqual=e.getImagesWithoutSize=e.addIndexesToImages=e.hexToRgb=e.isHex=e.getInitialParams=e.calculateInitialTranslate=e.calculateInitialScale=e.getDistance=e.getScale=e.generatePanHandlers=void 0;var t=n(r(d[1])),o=n(r(d[2])),u=r(d[3]);function c(n,t){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);t&&(u=u.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),o.push.apply(o,u)}return o}function s(n){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0,u=o.screenWidth,c=o.screenHeight;return n>u||t>c?c/u>t/n?u/n:c/t:1};e.calculateInitialScale=l;var f=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0,u=o.screenWidth,c=o.screenHeight,s=function(o){var s='x'===o?n:t,l='x'===o?u:c;return n>=t?(l-s)/2:l/2-s/2};return{x:s('x'),y:s('y')}};e.calculateInitialTranslate=f;e.getInitialParams=function(n,t){var o=n.width,u=n.height;return{scale:l(o,u,t),translate:f(o,u,t)}};var h=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,p=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;e.isHex=function(n){return p.test(n)||h.test(n)};e.hexToRgb=function(n){var t=n.replace(h,function(n,t,o,u){return""+t+t+o+o+u+u}),u=[].concat(p.exec(t)),c=(0,o.default)(u,4),s=c[0],l=c[1],f=c[2],v=c[3];return s?[parseInt(l,16),parseInt(f,16),parseInt(v,16)]:[]};e.addIndexesToImages=function(n){return n.map(function(n,t){return s(s({},n),{},{index:t})})};e.getImagesWithoutSize=function(n){return n.filter(function(n){var t=n.width,o=n.height;return!t||!o})};e.scalesAreEqual=function(n,t){return Math.abs(n-t)<.01}},1348,[1,48,14,2]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var h=n.screenWidth,l=n.screenHeight;return t.StyleSheet.create({underlay:{position:'absolute',top:0,left:0,right:0,bottom:0},container:{width:h,height:l},header:{position:'absolute',top:0,left:0,zIndex:100,height:o,width:h},imageContainer:{width:h,height:l,overflow:'hidden'},loading:{position:'absolute',top:l/2-20,alignSelf:'center'},footer:{position:'absolute',bottom:0,left:0,right:0,zIndex:100}})};var t=r(d[0]),o=60},1349,[2]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Close",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Prev",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Next",{enumerable:!0,get:function(){return f.default}});var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3]))},1350,[1,1351,1352,1353]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=r(d[2]),l={top:15,left:15,right:15,bottom:15},c=n.StyleSheet.create({closeButton:{alignSelf:'flex-end',height:24,width:24,borderRadius:12,backgroundColor:'rgba(0,0,0,0.2)',alignItems:'center',justifyContent:'center',marginTop:25,marginRight:15},closeButton__text:{backgroundColor:'transparent',fontSize:25,lineHeight:25,color:'#FFF',textAlign:'center'}});e.default=function(t){var u=t.onPress;return o.default.createElement(n.TouchableOpacity,{hitSlop:l,style:c.closeButton,onPress:u},o.default.createElement(n.Text,{style:c.closeButton__text},"\xd7"))}},1351,[1,56,2]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=r(d[2]),l={top:15,left:15,right:15,bottom:15},u=n.StyleSheet.create({prevButton:{position:'absolute',zIndex:100,left:10,top:'50%',height:32,width:32,borderRadius:16,backgroundColor:'rgba(0,0,0,0.3)',alignItems:'center',justifyContent:'center'},prevButton__text:{backgroundColor:'transparent',fontSize:25,lineHeight:25,color:'#FFF',textAlign:'center'}});e.default=function(t){var c=t.onPress;return o.default.createElement(n.TouchableOpacity,{hitSlop:l,style:u.prevButton,onPress:c},o.default.createElement(n.Text,{style:u.prevButton__text},"\u2039"))}},1352,[1,56,2]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=r(d[2]),l={top:15,left:15,right:15,bottom:15},u=o.StyleSheet.create({nextButton:{position:'absolute',zIndex:100,right:10,top:'50%',height:32,width:32,borderRadius:16,backgroundColor:'rgba(0,0,0,0.3)',alignItems:'center',justifyContent:'center'},nextButton__text:{backgroundColor:'transparent',fontSize:25,lineHeight:25,color:'#FFF',textAlign:'center'}});e.default=function(t){var c=t.onPress;return n.default.createElement(o.TouchableOpacity,{hitSlop:l,style:u.nextButton,onPress:c},n.default.createElement(o.Text,{style:u.nextButton__text},"\u203a"))}},1353,[1,56,2]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),s=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=s(r(d[2])),o=s(r(d[3])),l=s(r(d[4])),c=s(r(d[5])),u=s(r(d[6])),f=s(r(d[7])),p=s(r(d[8])),h=t(r(d[9])),y=r(d[10]),_=r(d[11]),v=r(d[12]),w=t(r(d[13])),S=r(d[14]),x=s(r(d[15])),k=r(d[16]),E=s(r(d[17])),b=r(d[18]),A=(r(d[19]),t(r(d[20]))),P=s(r(d[21]));function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var C=(function(t){(0,u.default)(A,t);var s,k,b=(s=A,k=L(),function(){var t,n=(0,p.default)(s);if(k){var o=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,f.default)(this,t)});function A(t){var s;return(0,o.default)(this,A),(s=b.call(this,t)).add_address=function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s.setState({isLoding:!0}),y.Keyboard.dismiss(),t.next=4,n.default.awrap(s.checkValidate());case 4:if(!s.state.validation){t.next=8;break}return s.props.serviceActionPending(),t.next=8,n.default.awrap((0,E.default)({method:'post',url:S.api_url+S.address,data:{customer_id:g.id,pin_code:s.state.pin_code,address:s.state.address.toString(),door_no:s.state.door_no,latitude:s.state.latitude,longitude:s.state.longitude}}).then(function(t){return n.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return s.setState({isLoding:!1}),o.next=3,n.default.awrap(s.props.serviceActionSuccess(t.data));case 3:if(1!=t.data.status){o.next=8;break}return o.next=6,n.default.awrap(s.redirect(t.data));case 6:o.next=9;break;case 8:alert(t.data.message);case 9:case"end":return o.stop()}},null,null,null,Promise)}).catch(function(t){s.setState({isLoding:!1}),s.showSnackbar("Sorry something went wrong!"),s.props.serviceActionError(t)}));case 8:case"end":return t.stop()}},null,null,null,Promise)},s.redirect=function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:1==t.status?s.handleBackButtonClick():alert(t.message);case 1:case"end":return n.stop()}},null,null,null,Promise)},s.handleBackButtonClick=function(){s.props.navigation.goBack(null)},s.edit_address=function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s.setState({isLoding:!0}),s.props.editServiceActionPending(),t.next=4,n.default.awrap((0,E.default)({method:'get',url:S.api_url+S.address+'/'+s.state.address_id+'/edit'}).then(function(t){return n.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return s.setState({isLoding:!1}),o.next=3,n.default.awrap(s.props.editServiceActionSuccess(t.data));case 3:return o.next=5,n.default.awrap(s.setState({open_map:1}));case 5:return o.next=7,n.default.awrap(s.setLocation());case 7:case"end":return o.stop()}},null,null,null,Promise)}).catch(function(t){s.setState({isLoding:!1}),s.showSnackbar("Sorry something went wrong!"),s.props.editServiceActionError(t)}));case 4:case"end":return t.stop()}},null,null,null,Promise)},s.update_address=function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s.setState({isLoding:!0}),y.Keyboard.dismiss(),t.next=4,n.default.awrap(s.checkValidate());case 4:if(!s.state.validation){t.next=8;break}return s.props.updateServiceActionPending(),t.next=8,n.default.awrap((0,E.default)({method:'patch',url:S.api_url+S.address+'/'+s.state.address_id,data:{customer_id:g.id,pin_code:s.state.pin_code,address:s.state.address.toString(),door_no:s.state.door_no,latitude:s.state.latitude,longitude:s.state.longitude}}).then(function(t){return n.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return s.setState({isLoding:!1}),o.next=3,n.default.awrap(s.props.updateServiceActionSuccess(t.data));case 3:if(1!=t.data.status){o.next=8;break}return o.next=6,n.default.awrap(s.redirect(t.data));case 6:o.next=9;break;case 8:alert(t.data.message);case 9:case"end":return o.stop()}},null,null,null,Promise)}).catch(function(t){s.setState({isLoding:!1}),alert(JSON.stringify(t)),s.showSnackbar("Sorry something went wrong!"),s.props.updateServiceActionError(t)}));case 8:case"end":return t.stop()}},null,null,null,Promise)},s.onRegionChange=function(t){return n.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:s.setState({address:'Please wait...'}),fetch('https://maps.googleapis.com/maps/api/geocode/json?address='+t.latitude+','+t.longitude+'&key='+S.GOOGLE_KEY).then(function(t){return t.json()}).then(function(o){var l,c;return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:void 0!=o.results[0].formatted_address?(l=o.results[0].address_components,c=l[l.length-1].long_name,s.setState({pin_code:c,address:o.results[0].formatted_address,latitude:t.latitude,longitude:t.longitude})):s.setState({address:'Sorry something went wrong'});case 1:case"end":return n.stop()}},null,null,null,Promise)});case 2:case"end":return o.stop()}},null,null,null,Promise)},s.search=function(){s.props.navigation.navigate('LocationSearch')},s.handleBackButtonClick=s.handleBackButtonClick.bind((0,c.default)(s)),s.state={address:'Please select your location...',door_no:'',mapRegion:null,validation:!0,address_id:s.props.route.params.id,open_map:0,pin_code:'',isLoding:!1},s.mapRef=null,s}return(0,l.default)(A,[{key:"checkValidate",value:function(){return''==this.state.door_no?(this.state.validation=!1,this.showSnackbar("Please enter door number"),!0):'Please select your location...'==this.state.address?(this.state.validation=!1,this.showSnackbar("Please select your location in map"),!0):''==this.state.pin_code?(this.state.validation=!1,this.showSnackbar("Sorry something went wrong"),!0):void(this.state.validation=!0)}},{key:"showSnackbar",value:function(t){x.default.show({title:t,duration:x.default.LENGTH_SHORT})}},{key:"set_location",value:function(){void 0!=this.props.address&&this.mapRef.animateToCoordinate({latitude:this.props.lat,longitude:this.props.lng},1e3)}},{key:"componentWillUnmount",value:function(){this._unsubscribe()}},{key:"componentDidMount",value:function(){var t=this;return n.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if("ios"!==y.Platform.OS){s.next=5;break}return s.next=3,n.default.awrap(this.findType());case 3:s.next=7;break;case 5:return s.next=7,n.default.awrap(this.requestCameraPermission());case 7:this._unsubscribe=this.props.navigation.addListener("focus",function(){t.set_location()});case 8:case"end":return s.stop()}},null,this,null,Promise)}},{key:"requestCameraPermission",value:function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,n.default.awrap(y.PermissionsAndroid.request(y.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,{title:'Location Access Required',message:S.app_name+' needs to Access your location for tracking'}));case 3:if(t.sent!==y.PermissionsAndroid.RESULTS.GRANTED){t.next=9;break}return t.next=7,n.default.awrap(this.findType());case 7:t.next=11;break;case 9:return t.next=11,n.default.awrap(this.handleBackButtonClick());case 11:t.next=17;break;case 13:return t.prev=13,t.t0=t.catch(0),t.next=17,n.default.awrap(this.handleBackButtonClick());case 17:case"end":return t.stop()}},null,this,[[0,13]],Promise)}},{key:"findType",value:function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(0!=this.state.address_id){t.next=5;break}return t.next=3,n.default.awrap(this.getInitialLocation());case 3:t.next=7;break;case 5:return t.next=7,n.default.awrap(this.edit_address());case 7:case"end":return t.stop()}},null,this,null,Promise)}},{key:"setLocation",value:function(){var t={latitude:parseFloat(this.props.data.latitude),longitude:parseFloat(this.props.data.longitude),latitudeDelta:S.LATITUDE_DELTA,longitudeDelta:S.LONGITUDE_DELTA};this.setState({pin_code:this.props.data.pin_code,address:this.props.data.address,door_no:this.props.data.door_no,mapRegion:t})}},{key:"getInitialLocation",value:function(){var t=this;return n.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,n.default.awrap(P.default.getCurrentPosition(function(s){var o;return n.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return t.setState({latitude:s.coords.latitude,longitude:s.coords.longitude}),l.next=3,n.default.awrap(s.coords.latitude);case 3:return l.t0=l.sent,l.next=6,n.default.awrap(s.coords.longitude);case 6:l.t1=l.sent,l.t2=S.LATITUDE_DELTA,l.t3=S.LONGITUDE_DELTA,o={latitude:l.t0,longitude:l.t1,latitudeDelta:l.t2,longitudeDelta:l.t3},t.setState({mapRegion:o,open_map:1});case 11:case"end":return l.stop()}},null,null,null,Promise)},function(t){return console.log(t)},{enableHighAccuracy:!1,timeout:1e4}));case 2:case"end":return s.stop()}},null,null,null,Promise)}},{key:"render",value:function(){var t=this;this.props.isLoding;return h.default.createElement(_.Container,{keyboardShouldPersistTaps:"always",style:R.address_style1},h.default.createElement(y.View,null,h.default.createElement(y.View,{style:R.address_style2},h.default.createElement(y.TouchableOpacity,{style:R.address_style3,onPress:this.handleBackButtonClick,activeOpacity:1},h.default.createElement(_.Icon,{onPress:this.handleBackButtonClick,style:R.address_style4,name:"arrow-back"})),h.default.createElement(y.View,{style:R.address_style5}),h.default.createElement(y.Text,{style:R.address_style6},"Address"))),1==this.state.open_map&&h.default.createElement(_.Content,{keyboardShouldPersistTaps:"always"},h.default.createElement(y.View,{style:R.address_style7},h.default.createElement(w.default,{provider:w.PROVIDER_GOOGLE,ref:function(s){t.mapRef=s},style:R.address_style8,initialRegion:this.state.mapRegion,onRegionChangeComplete:function(s){t.onRegionChange(s)}}),h.default.createElement(y.View,{style:R.address_style9},h.default.createElement(y.View,{style:R.address_style10},h.default.createElement(y.Image,{style:R.address_style11,source:S.pin})))),h.default.createElement(y.View,{style:R.address_style12},h.default.createElement(y.View,{style:R.address_style13},h.default.createElement(_.Left,null,h.default.createElement(y.Text,{style:R.address_style14},"Door no / Landmark"))),h.default.createElement(y.View,{style:R.address_style15},h.default.createElement(y.TextInput,{style:R.address_style16,onChangeText:function(s){return t.setState({door_no:s})},value:this.state.door_no})),h.default.createElement(y.View,{style:R.address_style17}),h.default.createElement(y.View,{style:R.address_style18},h.default.createElement(_.Left,null,h.default.createElement(y.Text,{style:R.address_style19},"Address"))),h.default.createElement(y.View,{style:R.address_style20},h.default.createElement(_.Left,null,h.default.createElement(y.Text,{style:R.address_style21},this.state.address))))),1==this.state.open_map&&h.default.createElement(_.Footer,{style:R.address_style22},h.default.createElement(y.View,{style:R.address_style23},h.default.createElement(v.Button,{title:"DONE",onPress:0!=this.state.address_id?this.update_address:this.add_address,buttonStyle:R.address_style24,titleStyle:R.address_style25}))))}}]),A})(h.Component);var T=(0,b.connect)(function(t){return{isLoding:t.address.isLoding,message:t.address.isLoding,status:t.address.isLoding,address:t.address.address,lat:t.address.lat,lng:t.address.lng,data:t.address.data}},function(t){return{serviceActionPending:function(){return t((0,k.serviceActionPending)())},serviceActionError:function(s){return t((0,k.serviceActionError)(s))},serviceActionSuccess:function(s){return t((0,k.serviceActionSuccess)(s))},editServiceActionPending:function(){return t((0,k.editServiceActionPending)())},editServiceActionError:function(s){return t((0,k.editServiceActionError)(s))},editServiceActionSuccess:function(s){return t((0,k.editServiceActionSuccess)(s))},updateServiceActionPending:function(){return t((0,k.updateServiceActionPending)())},updateServiceActionError:function(s){return t((0,k.updateServiceActionError)(s))},updateServiceActionSuccess:function(s){return t((0,k.updateServiceActionSuccess)(s))}}})(C);e.default=T;var R=y.StyleSheet.create({address_style1:{backgroundColor:A.theme_bg_three},address_style2:{alignItems:'flex-start',margin:10},address_style3:{width:100,justifyContent:'center'},address_style4:{color:A.theme_fg_two,fontSize:30},address_style5:{margin:5},address_style6:{fontSize:25,color:A.theme_fg_two,fontFamily:S.font_title},address_style7:{alignItems:'center',justifyContent:'center'},address_style8:{width:'100%',height:S.height_50},address_style9:{position:'absolute'},address_style10:{height:30,width:25,top:-15},address_style11:{flex:1,width:void 0,height:void 0},address_style12:{width:'100%',padding:20,backgroundColor:A.theme_bg_three,marginBottom:10},address_style13:{flexDirection:'row'},address_style14:{fontSize:15,fontFamily:S.font_title,color:A.theme_fg_two},address_style15:{width:'100%',marginTop:5},address_style16:{borderColor:A.theme_fg,borderBottomWidth:1,padding:10,borderRadius:5,height:40,fontFamily:S.font_description},address_style17:{marginTop:20},address_style18:{flexDirection:'row'},address_style19:{fontSize:15,fontFamily:S.font_title,color:A.theme_fg_two},address_style20:{flexDirection:'row'},address_style21:{fontSize:15,marginTop:5,fontFamily:S.font_description},address_style22:{backgroundColor:A.theme_bg_three},address_style23:{width:'90%',justifyContent:'center'},address_style24:{backgroundColor:A.theme_bg,fontFamily:S.font_title},address_style25:{color:A.theme_bg_three,fontFamily:S.font_description}})},1354,[9,1,101,26,27,40,37,39,36,56,2,984,830,1355,415,1288,1181,941,472,829,819,1372]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Animated",{enumerable:!0,get:function(){return u.Animated}}),Object.defineProperty(e,"MAP_TYPES",{enumerable:!0,get:function(){return u.MAP_TYPES}}),Object.defineProperty(e,"ProviderPropType",{enumerable:!0,get:function(){return u.ProviderPropType}}),Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Overlay",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Heatmap",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"UrlTile",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"WMSTile",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"LocalTile",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"Callout",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"CalloutSubview",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"AnimatedRegion",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"Geojson",{enumerable:!0,get:function(){return E.default}}),e.default=e.OverlayAnimated=e.MarkerAnimated=e.PROVIDER_DEFAULT=e.PROVIDER_GOOGLE=void 0;var u=n(r(d[2])),f=t(r(d[3])),l=t(r(d[4])),o=t(r(d[5])),c=t(r(d[6])),b=t(r(d[7])),P=t(r(d[8])),O=t(r(d[9])),y=t(r(d[10])),p=t(r(d[11])),j=t(r(d[12])),v=t(r(d[13])),A=t(r(d[14])),E=t(r(d[15])),R=u.default.PROVIDER_GOOGLE;e.PROVIDER_GOOGLE=R;var _=u.default.PROVIDER_DEFAULT;e.PROVIDER_DEFAULT=_;var T=f.default.Animated;e.MarkerAnimated=T;var D=l.default.Animated;e.OverlayAnimated=D;var G=u.default;e.default=G},1355,[1,9,1356,1357,1365,1360,1369,1361,1362,1366,1367,1368,1363,1364,1370,1371]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ProviderPropType=e.Animated=e.MAP_TYPES=void 0;var o=n(r(d[2])),u=n(r(d[3])),l=n(r(d[4])),s=n(r(d[5])),f=n(r(d[6])),p=n(r(d[7])),c=n(r(d[8])),h=n(r(d[9])),v=n(r(d[10])),y=n(r(d[11])),M=n(r(d[12])),C=n(r(d[13])),P=r(d[14]),b=n(r(d[15])),R=n(r(d[16])),_=n(r(d[17])),k=n(r(d[18])),S=n(r(d[19])),O=n(r(d[20])),T=n(r(d[21])),w=n(r(d[22])),A=n(r(d[23])),D=n(r(d[24])),E=n(r(d[25])),N=n(r(d[26])),I=n(r(d[27])),L=r(d[28]),j=t(r(d[29]));function q(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function B(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function x(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{},o=n.edgePadding,u=void 0===o?{top:0,right:0,bottom:0,left:0}:o,l=n.animated,s=void 0===l||l;this._runCommand('fitToSuppliedMarkers',[t,u,s])}},{key:"fitToCoordinates",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.edgePadding,u=void 0===o?{top:0,right:0,bottom:0,left:0}:o,l=n.animated,s=void 0===l||l;this._runCommand('fitToCoordinates',[t,u,s])}},{key:"getMapBoundaries",value:function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if('android'!==P.Platform.OS){t.next=6;break}return t.next=3,l.default.awrap(P.NativeModules.AirMapModule.getMapBoundaries(this._getHandle()));case 3:return t.abrupt("return",t.sent);case 6:if('ios'!==P.Platform.OS){t.next=10;break}return t.next=9,l.default.awrap(this._runCommand('getMapBoundaries',[]));case 9:return t.abrupt("return",t.sent);case 10:return t.abrupt("return",Promise.reject('getMapBoundaries not supported on this platform'));case 11:case"end":return t.stop()}},null,this,null,Promise)}},{key:"setMapBoundaries",value:function(t,n){this._runCommand('setMapBoundaries',[t,n])}},{key:"setIndoorActiveLevelIndex",value:function(t){this._runCommand('setIndoorActiveLevelIndex',[t])}},{key:"takeSnapshot",value:function(t){var n=this;if('ios'!==P.Platform.OS||4!==arguments.length){var o={width:t.width||0,height:t.height||0,region:t.region||{},format:t.format||'png',quality:t.quality||1,result:t.result||'file'};if('png'!==o.format&&'jpg'!==o.format)throw new Error('Invalid format specified');if('file'!==o.result&&'base64'!==o.result)throw new Error('Invalid result specified');return'android'===P.Platform.OS?P.NativeModules.AirMapModule.takeSnapshot(this._getHandle(),o):'ios'===P.Platform.OS?new Promise(function(t,u){n._runCommand('takeSnapshot',[o.width,o.height,o.region,o.format,o.quality,o.result,function(n,o){n?u(n):t(o)}])}):Promise.reject('takeSnapshot not supported on this platform')}console.warn('Old takeSnapshot API has been deprecated; will be removed in the near future');var u=arguments[0],l=arguments[1],s=arguments[2],f=arguments[3];this._runCommand('takeSnapshot',[u||0,l||0,s||{},'png',1,'legacy',f])}},{key:"pointForCoordinate",value:function(t){return'android'===P.Platform.OS?P.NativeModules.AirMapModule.pointForCoordinate(this._getHandle(),t):'ios'===P.Platform.OS?this._runCommand('pointForCoordinate',[t]):Promise.reject('pointForCoordinate not supported on this platform')}},{key:"coordinateForPoint",value:function(t){return'android'===P.Platform.OS?P.NativeModules.AirMapModule.coordinateForPoint(this._getHandle(),t):'ios'===P.Platform.OS?this._runCommand('coordinateForPoint',[t]):Promise.reject('coordinateForPoint not supported on this platform')}},{key:"getMarkersFrames",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return'ios'===P.Platform.OS?this._runCommand('getMarkersFrames',[t]):Promise.reject('getMarkersFrames not supported on this platform')}},{key:"boundingBoxForRegion",value:function(t){return{northEast:{latitude:t.latitude+t.latitudeDelta/2,longitude:t.longitude+t.longitudeDelta/2},southWest:{latitude:t.latitude-t.latitudeDelta/2,longitude:t.longitude-t.longitudeDelta/2}}}},{key:"_uiManagerCommand",value:function(t){var n=P.NativeModules.UIManager,o=(0,L.getAirMapName)(this.props.provider);return n.getViewManagerConfig?n.getViewManagerConfig(o).Commands[t]:n[o].Commands[t]}},{key:"_mapManagerCommand",value:function(t){if('UI'===(0,L.getAirMapName)(this.props.provider)){var n=P.NativeModules.UIManager;return n.getViewManagerConfig?n.getViewManagerConfig(t):n[t]}return P.NativeModules[(0,L.getAirMapName)(this.props.provider)+"Manager"][t]}},{key:"_getHandle",value:function(){return(0,P.findNodeHandle)(this.map)}},{key:"_runCommand",value:function(t,n){switch(P.Platform.OS){case'android':return P.NativeModules.UIManager.dispatchViewManagerCommand(this._getHandle(),this._uiManagerCommand(t),n);case'ios':return this._mapManagerCommand(t).apply(void 0,[this._getHandle()].concat((0,u.default)(n)));default:return Promise.reject("Invalid platform was passed: "+P.Platform.OS)}}},{key:"render",value:function(){var t,n=this;if(this.state.isReady?(t=x({region:null,initialRegion:null,onMarkerPress:this._onMarkerPress,onChange:this._onChange,onMapReady:this._onMapReady,onLayout:this._onLayout},this.props),'ios'===P.Platform.OS&&t.provider===j.PROVIDER_DEFAULT&&F.includes(t.mapType)&&(t.mapType=U.standard),t.handlePanDrag=!!t.onPanDrag):t={style:this.props.style,region:null,initialRegion:null,onMarkerPress:this._onMarkerPress,onChange:this._onChange,onMapReady:this._onMapReady,onLayout:this._onLayout},'android'===P.Platform.OS&&this.props.liteMode)return C.default.createElement(W,(0,o.default)({ref:function(t){n.map=t}},t));var u=Z(this.props.provider);return C.default.createElement(u,(0,o.default)({ref:function(t){n.map=t}},t))}}]),b})(C.default.Component);G.propTypes=z,G.viewConfig={uiViewClassName:'AIRMap',validAttributes:{region:!0}},G.childContextTypes=L.contextTypes,G.MAP_TYPES=U;var Y=function(t){return(0,P.requireNativeComponent)(t,G,{nativeOnly:{onChange:!0,onMapReady:!0,onKmlReady:!0,handlePanDrag:!0}})},K={default:Y('AIRMap')};'android'===P.Platform.OS?K.google=K.default:K.google=L.googleMapIsInstalled?Y('AIRGoogleMap'):(0,L.createNotSupportedComponent)('react-native-maps: AirGoogleMaps dir must be added to your xCode project to support GoogleMaps on iOS.');var W,Z=function(t){return K[t||'default']};W=P.NativeModules.UIManager.getViewManagerConfig?P.NativeModules.UIManager.getViewManagerConfig('AIRMapLite')&&(0,P.requireNativeComponent)('AIRMapLite',G,{nativeOnly:{onChange:!0,onMapReady:!0,handlePanDrag:!0}}):P.NativeModules.UIManager.AIRMapLite&&(0,P.requireNativeComponent)('AIRMapLite',G,{nativeOnly:{onChange:!0,onMapReady:!0,handlePanDrag:!0}});var J=P.Animated.createAnimatedComponent(G);e.Animated=J;var Q=M.default.oneOf(Object.values(j));e.ProviderPropType=Q,G.Marker=b.default,G.Polyline=R.default,G.Polygon=_.default,G.Circle=k.default,G.UrlTile=w.default,G.MapWMSTile=A.default,G.LocalTile=D.default,G.Heatmap=E.default,G.Overlay=T.default,G.Callout=S.default,G.CalloutSubview=O.default,(0,o.default)(G,j),G.ProviderPropType=Q,G.Animated=J,G.AnimatedRegion=N.default,G.Geojson=I.default;var X=G;e.default=X},1356,[9,1,13,22,101,26,27,40,37,39,36,48,68,56,2,1357,1360,1361,1362,1363,1364,1365,1366,1367,1368,1369,1370,1371,1358,1359]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(r(d[2])),u=o(r(d[3])),l=o(r(d[4])),s=o(r(d[5])),f=o(r(d[6])),c=o(r(d[7])),p=o(r(d[8])),h=o(r(d[9])),y=o(r(d[10])),b=o(r(d[11])),v=o(r(d[12])),C=r(d[13]),P=t(r(d[14]));function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function w(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);o&&(u=u.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,u)}return n}function O(t){for(var o=1;oMapMarker',validAttributes:{coordinate:!0}};var _=C.StyleSheet.create({marker:{position:'absolute',backgroundColor:'transparent'}});M.Animated=C.Animated.createAnimatedComponent(M);var D=(0,P.default)(M,{componentType:'Marker',providers:{google:{ios:P.SUPPORTED,android:P.USES_DEFAULT_IMPLEMENTATION}}});e.default=D},1357,[9,1,13,22,26,27,40,37,39,36,48,68,56,2,1358]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getAirMapName=O,e.default=function(t,n){var O=n.componentType,c=n.providers,v={},_=function(){return(0,o.requireNativeComponent)(P(null,O),t)};return t.contextTypes=R,t.prototype.getAirComponent=function(){var n=this.context.provider||E.PROVIDER_DEFAULT;if(v[n])return v[n];if(n===E.PROVIDER_DEFAULT)return v[E.PROVIDER_DEFAULT]=_(),v[E.PROVIDER_DEFAULT];var R=c[n][o.Platform.OS],D=P(n,O);return R===u?v[n]=T("react-native-maps: "+D+" is not supported on "+o.Platform.OS):R===p?(n!==E.PROVIDER_GOOGLE||'ios'===o.Platform.OS&&I)&&(v[n]=(0,o.requireNativeComponent)(D,t)):(v[E.PROVIDER_DEFAULT]||(v[E.PROVIDER_DEFAULT]=_()),v[n]=v[E.PROVIDER_DEFAULT]),v[n]},t.prototype.getUIManagerCommand=function(t){return D(P(this.context.provider,O)).Commands[t]},t.prototype.getMapManagerCommand=function(t){var n=P(this.context.provider,O)+"Manager";return o.NativeModules[n][t]},t},e.googleMapIsInstalled=e.createNotSupportedComponent=e.contextTypes=e.NOT_SUPPORTED=e.USES_DEFAULT_IMPLEMENTATION=e.SUPPORTED=void 0;var n=t(r(d[1])),o=r(d[2]),E=r(d[3]),p='SUPPORTED';e.SUPPORTED=p;e.USES_DEFAULT_IMPLEMENTATION='USES_DEFAULT_IMPLEMENTATION';var u='NOT_SUPPORTED';function O(t){return'android'===o.Platform.OS?'AIRMap':t===E.PROVIDER_GOOGLE?'AIRGoogleMap':'AIRMap'}function P(t,n){return""+O(t)+n}e.NOT_SUPPORTED=u;var R={provider:n.default.string};e.contextTypes=R;var T=function(t){return function(){return console.error(t),null}};function D(t){var n=o.NativeModules.UIManager;return n.getViewManagerConfig?n.getViewManagerConfig(t):n[t]}e.createNotSupportedComponent=T;var I=!!D(O(E.PROVIDER_GOOGLE));e.googleMapIsInstalled=I},1358,[1,68,2,1359]);
-__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PROVIDER_GOOGLE=e.PROVIDER_DEFAULT=void 0;e.PROVIDER_DEFAULT=null;e.PROVIDER_GOOGLE='google'},1359,[]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(r(d[2])),u=o(r(d[3])),l=o(r(d[4])),f=o(r(d[5])),c=o(r(d[6])),s=o(r(d[7])),p=o(r(d[8])),y=o(r(d[9])),b=o(r(d[10])),O=r(d[11]),P=t(r(d[12]));function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function v(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);o&&(u=u.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,u)}return n}function j(t){for(var o=1;oMapOverlay',validAttributes:{image:!0}},w.defaultProps={opacity:1};var A=h.StyleSheet.create({overlay:{position:'absolute',backgroundColor:'transparent'}});w.Animated=h.Animated.createAnimatedComponent(w);var S=(0,O.default)(w,{componentType:'Overlay',providers:{google:{ios:O.SUPPORTED,android:O.USES_DEFAULT_IMPLEMENTATION}}});e.default=S},1365,[9,1,13,26,27,37,39,36,48,56,68,2,1358]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),u=n(r(d[3])),f=n(r(d[4])),c=n(r(d[5])),l=n(r(d[6])),p=n(r(d[7])),s=n(r(d[8])),y=n(r(d[9])),b=r(d[10]),O=t(r(d[11]));function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function h(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function P(t){for(var n=1;n1&&(n.holes=t.slice(1))):n.coordinates=t,n},s=function(t){return{latitude:t[1],longitude:t[0]}},P=function(t){return t.map(s)},O=function(t){var o=t.geometry;return'Point'===o.type?[s(o.coordinates)]:'MultiPoint'===o.type?o.coordinates.map(s):'LineString'===o.type?[P(o.coordinates)]:'MultiLineString'===o.type?o.coordinates.map(P):'Polygon'===o.type?o.coordinates.map(P):'MultiPolygon'===o.type?o.coordinates.map(function(t){return t.map(P)}):[]},v=function(t){var o=y(t.geojson.features);return n.default.createElement(n.default.Fragment,null,o.map(function(o,c){return'point'===o.type?n.default.createElement(u.default.Marker,{key:c,coordinate:o.coordinates,pinColor:t.color}):'polygon'===o.type?n.default.createElement(u.default.Polygon,{key:c,coordinates:o.coordinates,holes:o.holes,strokeColor:t.strokeColor,fillColor:t.fillColor,strokeWidth:t.strokeWidth}):'polyline'===o.type?n.default.createElement(u.default.Polyline,{key:c,coordinates:o.coordinates,strokeColor:t.strokeColor,strokeWidth:t.strokeWidth}):void 0}))};e.default=v},1371,[1,48,56,1356]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0])(r(d[1]));m.exports=t.default},1372,[1,1373]);
-__d(function(g,r,i,a,m,e,d){var o=r(d[0]),t=o(r(d[1])),n=r(d[2]),s=o(r(d[3])),c=r(d[4]),u=[],l=!1,v={setRNConfiguration:function(o){n.RNCGeolocation.setConfiguration&&n.RNCGeolocation.setConfiguration(o)},requestAuthorization:function(){n.RNCGeolocation.requestAuthorization()},getCurrentPosition:function(o,u,l){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:(0,s.default)('function'==typeof o,'Must provide a valid geo_success callback.'),n.RNCGeolocation.getCurrentPosition(l||{},o,u||c.logError);case 2:case"end":return t.stop()}},null,null,null,Promise)},watchPosition:function(o,t,s){l||(n.RNCGeolocation.startObserving(s||{}),l=!0);var c=u.length;return u.push([n.GeolocationEventEmitter.addListener('geolocationDidChange',o),t?n.GeolocationEventEmitter.addListener('geolocationError',t):null]),c},clearWatch:function(o){var t=u[o];if(t){t[0].remove();var n=t[1];n&&n.remove(),u[o]=void 0;for(var s=!0,c=0;c1&&t.props.data.map(function(n,o){return t.props.dotClickEnabled?S.createElement(x.TouchableOpacity,{key:o,style:[I.dot,t._rtlSafeIndex(o)===t.state.activeIndex?t.props.activeDotStyle:t.props.dotStyle],onPress:function(){return t.goToSlide(o,!0)}}):S.createElement(x.View,{key:o,style:[I.dot,t._rtlSafeIndex(o)===t.state.activeIndex?t.props.activeDotStyle:t.props.dotStyle]})})),s,o))},t._onMomentumScrollEnd=function(n){var o=n.nativeEvent.contentOffset.x,s=t._rtlSafeIndex(Math.round(o/t.state.width));if(s!==t.state.activeIndex){var l=t.state.activeIndex;t.setState({activeIndex:s}),t.props.onSlideChange&&t.props.onSlideChange(s,l)}},t._onLayout=function(n){var o=n.nativeEvent.layout,s=o.width,l=o.height;if(s!==t.state.width||l!==t.state.height){t.setState({width:s,height:l});setTimeout(function(){var n;null==(n=t.flatList)||n.scrollToOffset({offset:t._rtlSafeIndex(t.state.activeIndex)*s,animated:!1})},0)}},t}return l(w,[{key:"render",value:function(){var o=this,s=this.props,l=s.renderPagination,u=(s.activeDotStyle,s.dotStyle,s.skipLabel,s.doneLabel,s.nextLabel,s.prevLabel,s.renderItem,s.data),c=s.extraData,p=n(s,["renderPagination","activeDotStyle","dotStyle","skipLabel","doneLabel","nextLabel","prevLabel","renderItem","data","extraData"]),f=B.default(c,this.state.width);return S.createElement(x.View,{style:I.flexOne},S.createElement(x.FlatList,t({ref:function(t){return o.flatList=t},data:this.props.data,horizontal:!0,pagingEnabled:!0,showsHorizontalScrollIndicator:!1,bounces:!1,style:I.flatList,renderItem:this._renderItem,onMomentumScrollEnd:this._onMomentumScrollEnd,extraData:f,onLayout:this._onLayout,initialNumToRender:u.length},p)),l?l(this.state.activeIndex):this._renderPagination())}}]),w})(S.Component);e.default=w,w.defaultProps={activeDotStyle:{backgroundColor:'rgba(255, 255, 255, .9)'},dotStyle:{backgroundColor:'rgba(0, 0, 0, .2)'},dotClickEnabled:!0,skipLabel:'Skip',doneLabel:'Done',nextLabel:'Next',prevLabel:'Back',showDoneButton:!0,showNextButton:!0,showPrevButton:!1,showSkipButton:!1,bottomButton:!1};var I=x.StyleSheet.create({flexOne:{flex:1},flatList:{flex:1,flexDirection:_?'row-reverse':'row'},paginationContainer:{position:'absolute',bottom:16,left:16,right:16,justifyContent:'center'},paginationDots:{height:16,margin:16,flexDirection:_?'row-reverse':'row',justifyContent:'center',alignItems:'center'},dot:{width:10,height:10,borderRadius:5,marginHorizontal:4},leftButtonContainer:{position:'absolute',left:0},rightButtonContainer:{position:'absolute',right:0},bottomButton:{flex:1,backgroundColor:'rgba(0, 0, 0, .3)',alignItems:'center',justifyContent:'center'},transparentBottomButton:{flex:1,alignItems:'center',justifyContent:'center'},buttonText:{color:'white',fontSize:18,padding:12}})},1388,[13,54,48,26,27,37,39,36,56,2,1389]);
-__d(function(g,r,i,a,m,e,d){"use strict";function n(n,t){for(var u=0;u0&&void 0!==arguments[0]&&arguments[0];var t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};arguments.length>4&&arguments[4];if(!s.default.isFileURI(n))throw"could not fetch file from an invalid URI : "+n;n=s.default.unwrapFileURI(n);var u,c,f=null,h=-1,p='',b=null;switch(t.toLowerCase()){case'post':case'put':break;default:f=l.default.stat(n).then(function(t){return h=t.size,l.default.readStream(n,o.encoding||'utf8',Math.floor(o.bufferSize)||409600,Math.floor(o.interval)||100)}).then(function(t){return new Promise(function(n,s){t.open(),b={state:"2",headers:{source:'system-fs'},status:200,respType:'text',rnfbEncode:o.encoding||'utf8'},c(b),t.onData(function(t){u&&u(0,h,t),o.noCache||(p+=t)}),t.onError(function(t){s(t)}),t.onEnd(function(){n(new I(null,b,p))})})})}return f.progress=function(t){return u=t,f},f.stateChange=function(t){return c=t,f},f.uploadProgress=function(t){return t,f},f}function E(){for(var t,n,o,l,c=(0,u.default)(),f=this||{},p={},b=arguments.length,v=new Array(b),y=0;y3&&void 0!==arguments[3]?arguments[3]:10;return Promise.resolve(new s.default(n,t,o,u))},mv:function(n,t){return new Promise(function(o,u){c.mv(n,t,function(n,t){n?u(new Error(n)):o(t)})})},cp:function(n,t){return new Promise(function(o,u){c.cp(n,t,function(n,t){n?u(new Error(n)):o(t)})})},writeStream:function(n,t,o){if(!n)throw Error('RNFetchBlob could not open file stream with empty `path`');return t=t||'utf8',o=o||!1,new Promise(function(s,f){c.writeStream(n,t||'base64',o||!1,function(n,o){n?f(new Error(n)):s(new u.default(o,t))})})},writeFile:function(n,t,o){return o=o||'utf8','string'!=typeof n?Promise.reject('Invalid argument "path" '):'ascii'===o.toLocaleLowerCase()?Array.isArray(t)?c.writeFileArray(n,t,!1):Promise.reject(new Error("Expected \"data\" is an Array when encoding is \"ascii\", however got "+typeof t)):'string'!=typeof t?Promise.reject(new Error("Expected \"data\" is a String when encoding is \"utf8\" or \"base64\", however got "+typeof t)):c.writeFile(n,o,t,!1)},appendFile:function(n,t,o){return o=o||'utf8','string'!=typeof n?Promise.reject('Invalid argument "path" '):'ascii'===o.toLocaleLowerCase()?Array.isArray(t)?c.writeFileArray(n,t,!0):Promise.reject(new Error("Expected \"data\" is an Array when encoding is \"ascii\", however got "+typeof t)):'string'!=typeof t?Promise.reject(new Error("Expected \"data\" is a String when encoding is \"utf8\" or \"base64\", however got "+typeof t)):c.writeFile(n,o,t,!0)},pathForAppGroup:function(n){return c.pathForAppGroup(n)},readFile:function(n,t,o){return'string'!=typeof n?Promise.reject(new Error('Invalid argument "path" ')):c.readFile(n,t)},exists:function(n){return new Promise(function(t,o){try{c.exists(n,function(n){t(n)})}catch(n){o(new Error(n))}})},createFile:function(n,t,o){return o=o||'utf8',new Promise(function(u,s){var f=function(n){n?s(new Error(n)):u()};'ascii'===o.toLowerCase()?Array.isArray(t)?c.createFileASCII(n,t,f):s(new Error('`data` of ASCII file must be an array contains numbers')):c.createFile(n,t,o,f)})},isDir:function(n){return new Promise(function(t,o){try{c.exists(n,function(n,o){t(o)})}catch(n){o(new Error(n))}})},stat:l,lstat:function(n){return new Promise(function(t,o){c.lstat(n,function(n,u){n?o(new Error(n)):t(u)})})},scanFile:function(n){return new Promise(function(t,o){c.scanFile(n,function(n){n?o(new Error(n)):t()})})},dirs:f,slice:function(n,t,o,u){var s=Promise.resolve(),f=0;function w(n,t){return n<0?Math.max(0,t+n):n||0===n?n:t}return(o<0||u<0||!o||!u)&&(s=s.then(function(){return l(n)}).then(function(n){return f=Math.floor(n.size),o=w(o||0,f),u=w(u,f),Promise.resolve()})),s.then(function(){return c.slice(n,t,o,u)})},asset:function(n){return'ios'===t.Platform.OS&&/^assets-library\:\/\//.test(n)?n:'bundle-assets://'+n},df:function(){return new Promise(function(n,t){c.df(function(o,u){o?t(o):n(u)})})}};e.default=w},1306,[1,2,1307,1308,1309,1311]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(r(d[1])),u=n(r(d[2])),o=r(d[3]),s=o.NativeModules.RNFetchBlob,l=(o.DeviceEventEmitter,{}),f=(function(){function n(u,o){(0,t.default)(this,n),this.name=u,l[u]||(Array.isArray(o)?l[u]=o:l[u]=[])}return(0,u.default)(n,null,[{key:"getSession",value:function(n){return l[n]}},{key:"setSession",value:function(n,t){l[n]=t}},{key:"removeSession",value:function(n){delete l[n]}}]),(0,u.default)(n,[{key:"add",value:function(n){return l[this.name].push(n),this}},{key:"remove",value:function(n){var t=l[this.name];for(var u in t)if(t[u]===n){l[this.name].splice(u,1);break}return this}},{key:"list",value:function(){return l[this.name]}},{key:"dispose",value:function(){var n=this;return new Promise(function(t,u){s.removeSession(l[n.name],function(o){o?u(o):(delete l[n.name],t())})})}}]),n})();e.default=f},1307,[1,26,27,2]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),c=r(d[3]),o=c.NativeModules.RNFetchBlob,s=(c.DeviceEventEmitter,(function(){function t(u,c,o){(0,n.default)(this,t),this.id=u,this.encoding=c,this.append=o}return(0,u.default)(t,[{key:"write",value:function(t){var n=this;return new Promise(function(u,c){try{var s='ascii'===n.encoding?'writeArrayChunk':'writeChunk';if('ascii'===n.encoding.toLocaleLowerCase()&&!Array.isArray(t))return void c('ascii input data must be an Array');o[s](n.id,t,function(t){t?c(t):u()})}catch(t){c(t)}})}},{key:"close",value:function(){var t=this;return new Promise(function(n,u){try{o.closeStream(t.id,function(){n()})}catch(t){u(t)}})}}]),t})());e.default=s},1308,[1,26,27,2]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),s=r(d[3]),h=t(r(d[4])),f=s.NativeModules.RNFetchBlob,u=s.DeviceEventEmitter,c=(function(){function t(o,s,f,c){var l=this;if((0,n.default)(this,t),this.tick=10,!o)throw Error('RNFetchBlob could not open file stream with empty `path`');this.encoding=s||'utf8',this.bufferSize=f,this.path=o,this.closed=!1,this.tick=c,this._onData=function(){},this._onEnd=function(){},this._onError=function(){},this.streamId='RNFBRS'+(0,h.default)();var v=u.addListener(this.streamId,function(t){var n=t.event,o=t.detail;if(l._onData&&'data'===n)l._onData(o);else{if(l._onEnd&&'end'===n)l._onEnd(o);else{if(!l._onError)throw new Error(o);l._onError(o)}'error'!==n&&'end'!==n||(v.remove(),l.closed=!0)}})}return(0,o.default)(t,[{key:"open",value:function(){if(this.closed)throw new Error('Stream closed');f.readStream(this.path,this.encoding,this.bufferSize||10240,this.tick||-1,this.streamId)}},{key:"onData",value:function(t){this._onData=t}},{key:"onError",value:function(t){this._onError=t}},{key:"onEnd",value:function(t){this._onEnd=t}}]),t})();e.default=c},1309,[1,26,27,2,1310]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}},1310,[]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1])),l=r(d[2]);l.NativeModules.RNFetchBlob,l.DeviceEventEmitter;e.default=function t(){(0,u.default)(this,t)}},1311,[1,26,2]);
+__d(function(g,r,i,a,m,e,d){!(function(t){var n='object'==typeof e&&e,o='object'==typeof m&&m&&m.exports==n&&m,c='object'==typeof g&&g;c.global!==c&&c.window!==c||(t=c);var h=function(t){this.message=t};(h.prototype=new Error).name='InvalidCharacterError';var f=function(t){throw new h(t)},s='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',A=/[\t\n\f\r ]/g,l={encode:function(t){t=String(t),/[^\0-\xFF]/.test(t)&&f("The string to be encoded contains characters outside of the Latin1 range.");for(var n,o,c,h,A=t.length%3,l='',p=-1,u=t.length-A;++p>18&63)+s.charAt(h>>12&63)+s.charAt(h>>6&63)+s.charAt(63&h);return 2==A?(n=t.charCodeAt(p)<<8,o=t.charCodeAt(++p),l+=s.charAt((h=n+o)>>10)+s.charAt(h>>4&63)+s.charAt(h<<2&63)+'='):1==A&&(h=t.charCodeAt(p),l+=s.charAt(h>>2)+s.charAt(h<<4&63)+'=='),l},decode:function(t){var n=(t=String(t).replace(A,'')).length;n%4==0&&(n=(t=t.replace(/==?$/,'')).length),(n%4==1||/[^+a-zA-Z0-9/]/.test(t))&&f('Invalid character: the string to be decoded is not correctly encoded.');for(var o,c,h=0,l='',p=-1;++p>(-2*h&6)));return l},version:'0.1.0'};if('function'==typeof define&&'object'==typeof define.amd&&define.amd)define(function(){return l});else if(n&&!n.nodeType)if(o)o.exports=l;else for(var p in l)l.hasOwnProperty(p)&&(n[p]=l[p]);else t.base64=l})(this)},1312,[]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),o=t(r(d[4])),v=t(r(d[5])),n=t(r(d[6])),s=t(r(d[7])),_={Blob:l.default,File:u.default,XMLHttpRequest:f.default,ProgressEvent:o.default,Event:v.default,FileReader:n.default,Fetch:s.default};e.default=_},1313,[1,1314,1317,1318,1320,1321,1322,1323]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),l=t(r(d[3])),f=t(r(d[4])),u=t(r(d[5])),s=t(r(d[6])),c=t(r(d[7])),h=t(r(d[8])),b=t(r(d[9])),v=t(r(d[10])),y=t(r(d[11]));function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var p=new v.default('Blob'),B=h.default.dirs.DocumentDir+'/RNFetchBlob-blobs/';p.disable();var k=(function(t){(0,f.default)(y,t);var n,b,v=(n=y,b=_(),function(){var t,o=(0,s.default)(n);if(b){var l=(0,s.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,u.default)(this,t)});function y(t,n,l){var f;(0,o.default)(this,y),(f=v.call(this)).isRNFetchBlobPolyfill=!0,f.multipartBoundary=null,f._ref=null,f._blobCreated=!1,f._onCreated=[],f._closed=!1,n=n||{},f.cacheName=F(),f.isRNFetchBlobPolyfill=!0,f.isDerived=l,f.type=n.type||'text/plain',p.verbose('Blob constructor called','mime',f.type,'type',typeof t,'length',t?t.length:0),f._ref=B+f.cacheName;var s=null;if(t||(t=''),t.isRNFetchBlobPolyfill){p.verbose('create Blob cache file from Blob object');f._ref=String(t.getRNFetchBlobRef());var c=f._ref;s=h.default.exists(c).then(function(n){if(n)return h.default.writeFile(c,t,'uri').then(function(t){return Promise.resolve(t)}).catch(function(t){throw"RNFetchBlob Blob file creation error, "+t});throw"could not create Blob from path "+c+", file not exists"})}else if(t instanceof FormData){p.verbose('create Blob cache file from FormData',t);var b="RNFetchBlob-"+f.cacheName+"-"+Date.now();f.multipartBoundary=b;var _=t.getParts(),k=[];if(_){for(var R in _){k.push('\r\n--'+b+'\r\n');var P=_[R];for(var C in P.headers)k.push(C+': '+P.headers[C]+'\r\n');k.push('\r\n'),P.isRNFetchBlobPolyfill?k.push(P):k.push(P.string)}p.verbose('FormData array',k),k.push('\r\n--'+b+'--\r\n'),s=w(f._ref,k)}else s=h.default.writeFile(f._ref,'','utf8')}else if('string'==typeof t&&t.startsWith('RNFetchBlob-file://')){p.verbose('create Blob cache file from file path',t),f._isReference=!0,f._ref=String(t).replace('RNFetchBlob-file://','');var N=f._ref;if(l)return(0,u.default)(f);s=h.default.stat(N).then(function(t){return Promise.resolve(t.size)})}else if('string'==typeof t){var D='utf8',x=String(f.type);/(application\/octet|\;base64)/i.test(x)?D='base64':t=t.toString(),f.type=String(f.type).replace(/;base64/gi,''),p.verbose('create Blob cache file from string','encode',D),s=h.default.writeFile(f._ref,t,D).then(function(t){return Promise.resolve(t)})}else Array.isArray(t)?(p.verbose('create Blob cache file from mixed array',t),s=w(f._ref,t)):(t=t.toString(),s=h.default.writeFile(f._ref,t,'utf8').then(function(t){return Promise.resolve(t)}));return s&&s.then(function(t){f.size=t,f._invokeOnCreateEvent()}).catch(function(t){p.error('RNFetchBlob could not create Blob : '+f._ref,t)}),f}return(0,l.default)(y,[{key:"blobPath",get:function(){return this._ref}}],[{key:"clearCache",value:function(){return h.default.unlink(B).then(function(){return h.default.mkdir(B)})}},{key:"build",value:function(t,n){return new Promise(function(o,l){new y(t,n).onCreated(o)})}},{key:"setLog",value:function(t){-1===t?p.disable():p.level(t)}}]),(0,l.default)(y,[{key:"onCreated",value:function(t){return p.verbose('#register blob onCreated',this._blobCreated),this._blobCreated?t(this):this._onCreated.push(t),this}},{key:"markAsDerived",value:function(){this._isDerived=!0}},{key:"getRNFetchBlobRef",value:function(){return this._ref}},{key:"slice",value:function(t,n){var o=this,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:'';if(this._closed)throw'Blob has been released.';p.verbose('slice called',t,n,l);var f=B+F();p.debug('fs.slice new blob will at',f);var u=new y(c.default.wrap(f),{type:l},!0);return h.default.exists(B).then(function(t){return t?Promise.resolve():h.default.mkdir(B)}).then(function(){return h.default.slice(o._ref,f,t,n)}).then(function(t){p.debug('fs.slice done',t),u._invokeOnCreateEvent(),!0}).catch(function(t){console.warn('Blob.slice failed:',t),!0}),p.debug('slice returning new Blob'),u}},{key:"readBlob",value:function(t){if(this._closed)throw'Blob has been released.';return h.default.readFile(this._ref,t||'utf8')}},{key:"close",value:function(){return this._closed?Promise.reject('Blob has been released.'):(this._closed=!0,h.default.unlink(this._ref).catch(function(t){console.warn(t)}))}},{key:"safeClose",value:function(){return this._closed?Promise.reject('Blob has been released.'):(this._closed=!0,this._isReference?Promise.resolve():h.default.unlink(this._ref).catch(function(t){console.warn(t)}))}},{key:"_invokeOnCreateEvent",value:function(){p.verbose('invoke create event',this._onCreated),this._blobCreated=!0;var t=this._onCreated;for(var n in t)'function'==typeof t[n]&&t[n](this);delete this._onCreated}},{key:"isDerived",get:function(){return this._isDerived||!1}}]),y})(y.default);function F(){return'blob-'+(0,b.default)()}function w(t,o){var l=h.default.writeFile(t,''),f=[],u=0;for(var s in o){var c=o[s];c&&(c.isRNFetchBlobPolyfill?f.push([t,c._ref,'uri']):'string'==typeof c?f.push([t,c,'utf8']):Array.isArray(c)&&f.push([t,c,'ascii']))}var b=function(t){l=l.then(function(o){return o&&(u+=o),p.verbose('mixed blob write',f[t],o),h.default.appendFile.apply(h.default,(0,n.default)(this))}.bind(f[t]))};for(var v in f)b(v);return l.then(function(){return Promise.resolve(u)})}e.default=k},1314,[1,22,26,27,37,39,36,1303,1306,1310,1315,1316]);
+__d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(r(d[1])),t=n(r(d[2])),o=(function(){function n(t){(0,l.default)(this,n),this._isEnable=!0,this._level=0,this._name=t}return(0,t.default)(n,[{key:"level",value:function(n){this._isEnable=!0,this._level=n}},{key:"enable",value:function(){this._isEnable=!0}},{key:"disable",value:function(){this._isEnable=!1}},{key:"verbose",value:function(){for(var n,l=arguments.length,t=new Array(l),o=0;o2&&(n=console).log.apply(n,[this._name,'verbose:'].concat(t))}},{key:"debug",value:function(){for(var n,l=arguments.length,t=new Array(l),o=0;o1&&(n=console).log.apply(n,[this._name,'debug:'].concat(t))}},{key:"info",value:function(){for(var n,l=arguments.length,t=new Array(l),o=0;o0&&(n=console).log.apply(n,[this._name,'info:'].concat(t))}},{key:"error",value:function(){for(var n,l=arguments.length,t=new Array(l),o=0;o-1&&(n=console).warn.apply(n,[this._name,'error:'].concat(t))}}]),n})();e.default=o},1315,[1,26,27]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),s=t(r(d[2])),l=new(t(r(d[3])).default)('EventTarget');l.disable();var v=(function(){function t(){(0,n.default)(this,t),l.info('constructor called'),this.listeners={}}return(0,s.default)(t,[{key:"addEventListener",value:function(t,n){l.info('add event listener',t,n),t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push(n)}},{key:"removeEventListener",value:function(t,n){if(l.info('remove event listener',t,n),t in this.listeners){var s=this.listeners[t];for(var v in s)if(n===s[v])return s.splice(v,1),this.removeEventListener(t,n)}}},{key:"dispatchEvent",value:function(t,n){if(l.info('dispatch event',n),t in this.listeners){var s=this.listeners[t];for(var v in s)s[v].call(this,n)}}},{key:"clearEventListeners",value:function(){for(var t in this.listeners)delete this.listeners[t]}}]),t})();e.default=v},1316,[1,26,27,1315]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),c=t(r(d[4])),o=t(r(d[5]));t(r(d[6]));function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var s=(function(t){(0,f.default)(h,t);var s,v,y=(s=h,v=l(),function(){var t,n=(0,o.default)(s);if(v){var u=(0,o.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function h(t,u){var f;return(0,n.default)(this,h),(f=y.call(this,t,u)).name='',f}return(0,u.default)(h,null,[{key:"build",value:function(t,n,u){return new Promise(function(f,c){new h(n,u).onCreated(function(n){n.name=t,f(n)})})}}]),h})(t(r(d[7])).default);e.default=s},1317,[1,26,27,37,39,36,1306,1314]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=t(r(d[1])),n=t(r(d[2])),o=t(r(d[3])),u=t(r(d[4])),p=t(r(d[5])),c=t(r(d[6])),h=t(r(d[7])),_=t(r(d[8])),f=t(r(d[9])),l=t(r(d[10])),y=t(r(d[11])),v=t(r(d[12]));function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var E=new f.default('XMLHttpRequest');E.disable();var R=0,k=(function(t){(0,u.default)(S,t);var f,k,T=(f=S,k=b(),function(){var t,s=(0,c.default)(f);if(k){var n=(0,c.default)(this).constructor;t=Reflect.construct(s,arguments,n)}else t=s.apply(this,arguments);return(0,p.default)(this,t)});function S(){var t;return(0,s.default)(this,S),E.verbose('XMLHttpRequest constructor called'),(t=T.call(this)).upload=new _.default,t._readyState=R,t._uriType='net',t._response='',t._responseText='',t._responseHeaders={},t._responseType='',t._responseURL='',t._responseXML='',t._status=0,t._statusText='',t._timeout=6e4,t._sendFlag=!1,t._uploadStarted=!1,t._increment=!1,t._config={},t._headers={'Content-Type':'text/plain'},t._cleanUp=null,t._headerReceived=function(s){E.debug('header received ',t._task.taskId,s),t.responseURL=t._url,"2"===s.state&&s.taskId===t._task.taskId&&(t._responseHeaders=s.headers,t._statusText=s.status,t._status=Math.floor(s.status),t._dispatchReadStateChange(S.HEADERS_RECEIVED))},t._uploadProgressEvent=function(s,n){t._uploadStarted||(t.upload.dispatchEvent('loadstart'),t._uploadStarted=!0),s>=n&&t.upload.dispatchEvent('load'),t.upload.dispatchEvent('progress',new y.default(!0,s,n))},t._progressEvent=function(s,n,o){E.verbose(t.readyState),t._readyState===S.HEADERS_RECEIVED&&t._dispatchReadStateChange(S.LOADING);var u=!1;n&&n>=0&&(u=!0);var p=new y.default(u,s,n);t._increment&&(t._responseText+=o),t.dispatchEvent('progress',p)},t._onError=function(s){var n=Math.floor(t.status);n>=100&&408!==n||(E.debug('XMLHttpRequest error',s),t._statusText=s,t._status=String(s).match(/\d+/),t._status=t._status?Math.floor(t.status):404,t._dispatchReadStateChange(S.DONE),(s&&String(s.message).match(/(timed\sout|timedout)/)||408==t._status)&&t.dispatchEvent('timeout'),t.dispatchEvent('loadend'),t.dispatchEvent('error',{type:'error',detail:s}),t.clearEventListeners())},t._onDone=function(s){E.debug('XMLHttpRequest done',t._url,s,(0,n.default)(t)),t._statusText=t._status;var o=function(){E.debug('request done state = 4'),t.dispatchEvent('load'),t.dispatchEvent('loadend'),t._dispatchReadStateChange(S.DONE),t.clearEventListeners()};if(s){var u=s.respInfo||{};switch(E.debug(t._url,u,u.respType),t._responseType){case'blob':s.blob().then(function(n){t._responseText=s.text(),t._response=n,o()});break;case'arraybuffer':break;case'json':t._response=s.json(),t._responseText=s.text();break;default:t._responseText=s.text(),t._response=t.responseText,o()}}},t}return(0,o.default)(S,[{key:"UNSENT",get:function(){return R}},{key:"OPENED",get:function(){return 1}},{key:"HEADERS_RECEIVED",get:function(){return 2}},{key:"LOADING",get:function(){return 3}},{key:"DONE",get:function(){return 4}}],[{key:"setLog",value:function(t){-1===t?E.disable():E.level(t)}},{key:"addBinaryContentType",value:function(t){for(var s in S.binaryContentTypes)if(new RegExp(t,'i').test(S.binaryContentTypes[s]))return;S.binaryContentTypes.push(t)}},{key:"removeBinaryContentType",value:function(t){for(var s in S.binaryContentTypes)if(new RegExp(substr,'i').test(S.binaryContentTypes[s]))return void S.binaryContentTypes.splice(s,1)}},{key:"UNSENT",get:function(){return R}},{key:"OPENED",get:function(){return 1}},{key:"HEADERS_RECEIVED",get:function(){return 2}},{key:"LOADING",get:function(){return 3}},{key:"DONE",get:function(){return 4}}]),(0,o.default)(S,[{key:"open",value:function(t,s,n,o,u){E.verbose('XMLHttpRequest open ',t,s,n,o,u),this._method=t,this._url=s,this._headers={},this._increment=v.default.isJSONStreamURI(this._url),this._url=this._url.replace(/^JSONStream\:\/\//,''),this._dispatchReadStateChange(S.OPENED)}},{key:"send",value:function(t){var s=this;if(this._body=t,this._readyState!==S.OPENED)throw'InvalidStateError : XMLHttpRequest is not opened yet.';var n=Promise.resolve();this._sendFlag=!0,E.verbose('XMLHttpRequest send ',t);var o=this._method,u=this._url,p=this._headers;E.verbose('sending request with args',o,u,p,t),E.verbose(typeof t,t instanceof FormData),t instanceof l.default?(E.debug('sending blob body',t._blobCreated),n=new Promise(function(n,o){t.onCreated(function(o){o.isDerived&&(s._cleanUp=function(){o.close()}),E.debug('body created send request'),t=h.default.wrap(o.getRNFetchBlobRef()),n()})})):'object'==typeof t?(t=JSON.stringify(t),n=Promise.resolve()):(t=t?t.toString():t,n=Promise.resolve()),n.then(function(){for(var n in E.debug('send request invoke',t),p)p[n]=p[n].toString();s._task=h.default.config({auto:!0,timeout:s._timeout,increment:s._increment,binaryContentTypes:S.binaryContentTypes}).fetch(o,u,p,t),s._task.stateChange(s._headerReceived).uploadProgress(s._uploadProgressEvent).progress(s._progressEvent).catch(s._onError).then(s._onDone)})}},{key:"overrideMimeType",value:function(t){E.verbose('XMLHttpRequest overrideMimeType',t),this._headers['Content-Type']=t}},{key:"setRequestHeader",value:function(t,s){if(E.verbose('XMLHttpRequest set header',t,s),1!==this._readyState||this._sendFlag)throw"InvalidStateError : Calling setRequestHeader in wrong state "+this._readyState;if('string'!=typeof t||/[^\u0000-\u00ff]/.test(t))throw'TypeError : header field name should be a string';var n=[/[\(\)\>\<\@\,\:\\\/\[\]\?\=\}\{\s\ \u007f\;\t\0\v\r]/,/tt/];for(var o in n)if(n[o].test(t)||'string'!=typeof t)throw"SyntaxError : Invalid header field name "+t;this._headers[t]=s}},{key:"abort",value:function(){var t=this;E.verbose('XMLHttpRequest abort '),this._task&&this._task.cancel(function(s){var n={timeStamp:Date.now()};t.onabort&&t.onabort(),s?(n.detail=s,n.type='error',t.dispatchEvent('error',n)):(n.type='abort',t.dispatchEvent('abort',n))})}},{key:"getResponseHeader",value:function(t){return E.verbose('XMLHttpRequest get header',t,this._responseHeaders),this._responseHeaders&&(this._responseHeaders[t]||this._responseHeaders[t.toLowerCase()])||null}},{key:"getAllResponseHeaders",value:function(){if(E.verbose('XMLHttpRequest get all headers',this._responseHeaders),!this._responseHeaders)return'';var t='',s=this.responseHeaders;for(var n in s)t+=n+": "+s[n]+String.fromCharCode(13,10);return t.substr(0,t.length-2)}},{key:"_dispatchReadStateChange",value:function(t){this._readyState=t,'function'==typeof this._onreadystatechange&&this._onreadystatechange()}},{key:"onreadystatechange",set:function(t){E.verbose('XMLHttpRequest set onreadystatechange',t),this._onreadystatechange=t},get:function(){return this._onreadystatechange}},{key:"readyState",get:function(){return E.verbose('get readyState',this._readyState),this._readyState}},{key:"status",get:function(){return E.verbose('get status',this._status),this._status}},{key:"statusText",get:function(){return E.verbose('get statusText',this._statusText),this._statusText}},{key:"response",get:function(){return E.verbose('get response',this._response),this._response}},{key:"responseText",get:function(){return E.verbose('get responseText',this._responseText),this._responseText}},{key:"responseURL",get:function(){return E.verbose('get responseURL',this._responseURL),this._responseURL}},{key:"responseHeaders",get:function(){return E.verbose('get responseHeaders',this._responseHeaders),this._responseHeaders}},{key:"timeout",set:function(t){this._timeout=1e3*t,E.verbose('set timeout',this._timeout)},get:function(){return E.verbose('get timeout',this._timeout),this._timeout}},{key:"responseType",set:function(t){E.verbose('set response type',this._responseType),this._responseType=t},get:function(){return E.verbose('get response type',this._responseType),this._responseType}}],[{key:"isRNFBPolyfill",get:function(){return!0}}]),S})(_.default);e.default=k,k.binaryContentTypes=['image/','video/','audio/']},1318,[1,26,40,27,37,39,36,1303,1319,1315,1314,1320,1304]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=t(r(d[2])),s=t(r(d[3])),u=t(r(d[4])),c=t(r(d[5])),f=t(r(d[6])),l=t(r(d[7]));function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var _=new(t(r(d[8])).default)('XMLHttpRequestEventTarget');_.disable();var p=(function(t){(0,u.default)(y,t);var l,p,b=(l=y,p=h(),function(){var t,o=(0,f.default)(l);if(p){var n=(0,f.default)(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return(0,c.default)(this,t)});function y(){var t;return(0,o.default)(this,y),(t=b.call(this))._onabort=function(){},t._onerror=function(){},t._onload=function(){},t._onloadstart=function(){},t._onprogress=function(){},t._ontimeout=function(){},t._onloadend=function(){},_.info('constructor called'),t}return(0,n.default)(y,[{key:"dispatchEvent",value:function(t,o){switch(_.debug('dispatch event',t,o),(0,s.default)((0,f.default)(y.prototype),"dispatchEvent",this).call(this,t,o),t){case'abort':this._onabort(o);break;case'error':this._onerror(o);break;case'load':this._onload(o);break;case'loadstart':this._onloadstart(o);break;case'loadend':this._onloadend(o);break;case'progress':this._onprogress(o);break;case'timeout':this._ontimeout(o)}}},{key:"onabort",set:function(t){_.info('set onabort'),this._onabort=t},get:function(){return this._onabort}},{key:"onerror",set:function(t){_.info('set onerror'),this._onerror=t},get:function(){return this._onerror}},{key:"onload",set:function(t){_.info('set onload',t),this._onload=t},get:function(){return this._onload}},{key:"onloadstart",set:function(t){_.info('set onloadstart'),this._onloadstart=t},get:function(){return this._onloadstart}},{key:"onprogress",set:function(t){_.info('set onprogress'),this._onprogress=t},get:function(){return this._onprogress}},{key:"ontimeout",set:function(t){_.info('set ontimeout'),this._ontimeout=t},get:function(){return this._ontimeout}},{key:"onloadend",set:function(t){_.info('set onloadend'),this._onloadend=t},get:function(){return this._onloadend}}]),y})(l.default);e.default=p},1319,[1,26,27,34,37,39,36,1316,1315]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=t(r(d[4])),f=t(r(d[5]));function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var s=(function(t){(0,l.default)(p,t);var s,h,_=(s=p,h=c(),function(){var t,n=(0,f.default)(s);if(h){var u=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,o.default)(this,t)});function p(t,u,l){var o;return(0,n.default)(this,p),(o=_.call(this))._lengthComputable=!1,o._loaded=-1,o._total=-1,o._lengthComputable=t,o._loaded=u,o._total=l,o}return(0,u.default)(p,[{key:"lengthComputable",get:function(){return this._lengthComputable}},{key:"loaded",get:function(){return this._loaded}},{key:"total",get:function(){return this._total}}]),p})(t(r(d[6])).default);e.default=s},1320,[1,26,27,37,39,36,1321]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=t(r(d[1]));e.default=function t(){(0,u.default)(this,t)}},1321,[1,26]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3])),o=t(r(d[4])),l=t(r(d[5])),c=t(r(d[6])),s=(t(r(d[7])),t(r(d[8])),t(r(d[9]))),y=(t(r(d[10])),t(r(d[11])));t(r(d[12]));function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var h=new y.default('FileReader');h.level(3);var p=(function(t){(0,o.default)(k,t);var s,y,p=(s=k,y=v(),function(){var t,n=(0,c.default)(s);if(y){var u=(0,c.default)(this).constructor;t=Reflect.construct(n,arguments,u)}else t=n.apply(this,arguments);return(0,l.default)(this,t)});function k(){var t;return(0,n.default)(this,k),(t=p.call(this))._readState=0,h.verbose('file reader const'),t._result=null,t}return(0,f.default)(k,[{key:"isRNFBPolyFill",get:function(){return!0}}],[{key:"EMPTY",get:function(){return 0}},{key:"LOADING",get:function(){return 1}},{key:"DONE",get:function(){return 2}}]),(0,f.default)(k,[{key:"abort",value:function(){h.verbose('abort')}},{key:"readAsArrayBuffer",value:function(t){h.verbose('readAsArrayBuffer',t)}},{key:"readAsBinaryString",value:function(t){h.verbose('readAsBinaryString',t)}},{key:"readAsText",value:function(t,n){h.verbose('readAsText',t,n)}},{key:"readAsDataURL",value:function(t){h.verbose('readAsDataURL',t)}},{key:"dispatchEvent",value:function(t,n){h.verbose('dispatch event',t,n),(0,u.default)((0,c.default)(k.prototype),"dispatchEvent",this).call(this,t,n),'function'==typeof this["on"+t]&&this["on"+t](n)}},{key:"readyState",get:function(){return this._readyState}},{key:"result",get:function(){return this._result}}]),k})(s.default);e.default=p},1322,[1,26,34,27,37,39,36,1303,1320,1316,1314,1315,1306]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=t(r(d[1])),n=t(r(d[2])),o=t(r(d[3])),f=t(r(d[4])),u=t(r(d[5])),l=(t(r(d[6])),t(r(d[7])),t(r(d[8]))),h=new u.default('FetchPolyfill');h.disable();e.default=function t(s){(0,o.default)(this,t),(0,n.default)(this,new c(s))};var c=function t(s){(0,o.default)(this,t),this.build=function(){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.body,u=Promise.resolve(),c=null;n.headers=n.headers||{};var p,v,y,R=n['Content-Type']||n['content-type'],P=n.headers['Content-Type']||n.headers['content-type'];n.headers['Content-Type']=R||P,n.headers['content-type']=R||P,n.method=n.method||'GET',o&&(o instanceof FormData?(h.verbose('convert FormData to blob body'),u=l.default.build(o).then(function(t){return c=t,n.headers['Content-Type']='multipart/form-data;boundary='+t.multipartBoundary,Promise.resolve(f.default.wrap(t._ref))})):u=o.isRNFetchBlobPolyfill?Promise.resolve(f.default.wrap(o.blobPath)):'object'!=typeof o&&'application/json'!==n.headers['Content-Type']?Promise.resolve(JSON.stringify(o)):'string'!=typeof o?Promise.resolve(o.toString()):Promise.resolve(o));var w=u.then(function(o){var u=f.default.config(s).fetch(n.method,t,n.headers,o);return p&&u.progress(p),v&&u.uploadProgress(v),y&&u.cancel(),u.then(function(t){return h.verbose('response',t),null!==c&&c instanceof l.default&&c.close(),Promise.resolve(new b(t))})});return w.progress=function(t){p=t},w.uploadProgress=function(t){v=t},w.cancel=function(){y=!0,task.cancel&&task.cancel()},w}}},b=(function(){function t(s){(0,o.default)(this,t);var n=s.info();this.headers=n.headers,this.ok=n.status>=200&&n.status<=299,this.status=n.status,this.type='basic',this.bodyUsed=!1,this.resp=s,this.rnfbRespInfo=n,this.rnfbResp=s}return(0,s.default)(t,[{key:"rawResp",value:function(){return Promise.resolve(this.rnfbResp)}},{key:"arrayBuffer",value:function(){return h.verbose('to arrayBuffer',this.rnfbRespInfo),this.bodyUsed=!0,p(this.rnfbResp,this.rnfbRespInfo)}},{key:"text",value:function(){return h.verbose('to text',this.rnfbResp,this.rnfbRespInfo),this.bodyUsed=!0,v(this.rnfbResp,this.rnfbRespInfo)}},{key:"json",value:function(){return h.verbose('to json',this.rnfbResp,this.rnfbRespInfo),this.bodyUsed=!0,R(this.rnfbResp,this.rnfbRespInfo)}},{key:"blob",value:function(){return h.verbose('to blob',this.rnfbResp,this.rnfbRespInfo),this.bodyUsed=!0,y(this.rnfbResp,this.rnfbRespInfo)}}]),t})();function p(t,s){switch(s.rnfbEncode){case'path':return t.readFile('ascii');default:var n=[],o=t.text();for(var f in o)n[f]=o.charCodeAt(f);return Promise.resolve(n)}}function v(t,s){switch(s.rnfbEncode){case'base64':return Promise.resolve(t.text());case'path':return t.text();default:return Promise.resolve(t.text())}}function y(t,s){return h.verbose('readBlob',t,s),t.blob()}function R(t,s){switch(h.verbose('readJSON',t,s),s.rnfbEncode){case'base64':return Promise.resolve(t.json());case'path':return t.json();default:return Promise.resolve(t.json())}}},1323,[1,27,13,26,1303,1315,1306,1324,1314]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return n=n.replace(/\\u([\d\w]{4})/gi,function(n,t){return String.fromCharCode(parseInt(t,16))}),unescape(n)}},1324,[]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]),n=t.NativeModules.RNFetchBlob;var o={actionViewIntent:function(o){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'text/plain';return'android'===t.Platform.OS?n.actionViewIntent(o,l):Promise.reject('RNFetchBlob.android.actionViewIntent only supports Android.')},getContentIntent:function(o){return'android'===t.Platform.OS?n.getContentIntent(o):Promise.reject('RNFetchBlob.android.getContentIntent only supports Android.')},addCompleteDownload:function(o){return'android'===t.Platform.OS?n.addCompleteDownload(o):Promise.reject('RNFetchBlob.android.addCompleteDownload only supports Android.')}};e.default=o},1325,[2]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(d[0]),t=o.NativeModules.RNFetchBlob;var u={openDocument:function(u,n){return'ios'===o.Platform.OS?t.openDocument('file://'+u,n):Promise.reject('RNFetchBlob.previewDocument only supports IOS.')},previewDocument:function(u,n){return'ios'===o.Platform.OS?t.previewDocument('file://'+u,n):Promise.reject('RNFetchBlob.openDocument only supports IOS.')},excludeFromBackupKey:function(o){return t.excludeFromBackupKey('file://'+path)}};e.default=u},1326,[2]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=t(r(d[1])),o=t(r(d[2])),u=t(r(d[3])),n=t(r(d[4])),s=function(t){if(window.location='',window.XMLHttpRequest.isRNFBPolyfill||(window.XMLHttpRequest=u.default,console.warn('Use JSONStream will automatically replace window.XMLHttpRequest with RNFetchBlob.polyfill.XMLHttpRequest. You are seeing this warning because you did not replace it maually.')),'string'==typeof t)t=n.default.isFileURI(t)?{url:'JSONStream://'+t,headers:{noCache:!0}}:'JSONStream://'+t;else if('object'==typeof t){var s=t.headers||{};n.default.isFileURI(t.url)&&(s.noCache=!0),t=(0,l.default)(t,{url:'JSONStream://'+t.url,headers:s})}return(0,o.default)(t)};e.default=s},1327,[1,13,1328,1318,1304]);
+__d(function(g,r,i,a,m,e,d){!(function(n,t,u,o,f,c){function s(n,t){return function(){return n.call(this,t.apply(this,arguments))}}function l(n){return function(t){return t[n]}}function h(n,t){return t.apply(c,n)}function p(n){var t=n.length-1,o=u.prototype.slice;if(0==t)return function(){return n.call(this,o.call(arguments))};if(1==t)return function(){return n.call(this,arguments[0],o.call(arguments,1))};var f=u(n.length);return function(){for(var u=0;t>u;u++)f[u]=arguments[u];return f[t]=o.call(arguments,t),n.apply(this,f)}}function v(n,t){return function(u){return n(u)&&t(u)}}function b(){}function w(){return!0}function y(n,t){return t&&t.constructor===n}function x(n){return n!==c}function I(n,u){return u instanceof t&&M(function(n){return n in u},n)}function L(n,t){return[n,t]}function k(n){return T(n.reduce((t=L,function(n,u){return t(u,n)}),Z));var t}function C(n){return E(function(n,t){return n.unshift(t),n},[],n)}function O(n,t){return t?L(n(nn(t)),O(n,tn(t))):Z}function E(n,t,u){return u?n(E(n,t,tn(u)),nn(u)):t}function j(n,t,u){return(function n(u,o){return u?t(nn(u))?(o(nn(u)),tn(u)):L(nn(u),n(tn(u),o)):Z})(n,u||b)}function M(n,t){return!t||n(nn(t))&&M(n,tn(t))}function R(n,t){n&&(nn(n).apply(null,t),R(tn(n),t))}function T(n){return(function n(t,u){return t?n(tn(t),L(nn(t),u)):u})(n,Z)}function A(n,t){return t&&(n(nn(t))?nn(t):A(n,tn(t)))}function q(n){"use strict";function t(n){F&&(p(F),v(),F=""),f=o(n+"\nLn: "+en+"\nCol: "+tn+"\nChr: "+s),b(z(c,c,f))}function u(n){return"\r"==n||"\n"==n||" "==n||"\t"==n}var f,s,l,h=n(xn).emit,p=n(In).emit,v=n(Ln).emit,b=n(pn).emit,w=65536,y=/[\\"\n]/g,x=0,I=x++,L=x++,k=x++,C=x++,O=x++,E=x++,j=x++,M=x++,R=x++,T=x++,A=x++,q=x++,H=x++,S=x++,B=x++,N=x++,_=x++,X=x++,U=x++,W=x++,$=x,D=w,F="",G="",J=!1,K=!1,P=I,Q=[],V=null,Y=0,Z=0,nn=0,tn=0,en=1;n(gn).on(function(n){if(!f){if(K)return t("Cannot write after close");var o=0;for(s=n[0];s&&(l=s,s=n[o++]);)switch(nn++,"\n"==s?(en++,tn=0):tn++,P){case I:if("{"===s)P=k;else if("["===s)P=O;else if(!u(s))return t("Non-whitespace before {[.");continue;case M:case k:if(u(s))continue;if(P===M)Q.push(R);else{if("}"===s){p({}),v(),P=Q.pop()||L;continue}Q.push(C)}if('"'!==s)return t('Malformed object key should start with " ');P=j;continue;case R:case C:if(u(s))continue;if(":"===s)P===C?(Q.push(C),F&&(p({}),h(F),F=""),Z++):F&&(h(F),F=""),P=L;else if("}"===s)F&&(p(F),v(),F=""),v(),Z--,P=Q.pop()||L;else{if(","!==s)return t("Bad object");P===C&&Q.push(C),F&&(p(F),v(),F=""),P=M}continue;case O:case L:if(u(s))continue;if(P===O){if(p([]),Z++,P=L,"]"===s){v(),Z--,P=Q.pop()||L;continue}Q.push(E)}if('"'===s)P=j;else if("{"===s)P=k;else if("["===s)P=O;else if("t"===s)P=T;else if("f"===s)P=H;else if("n"===s)P=_;else if("-"===s)G+=s;else if("0"===s)G+=s,P=$;else{if(-1==="123456789".indexOf(s))return t("Bad value");G+=s,P=$}continue;case E:if(","===s)Q.push(E),F&&(p(F),v(),F=""),P=L;else{if("]"!==s){if(u(s))continue;return t("Bad array")}F&&(p(F),v(),F=""),v(),Z--,P=Q.pop()||L}continue;case j:var c=o-1;n:for(;;){for(;Y>0;)if(V+=s,s=n.charAt(o++),4===Y?(F+=String.fromCharCode(parseInt(V,16)),Y=0,c=o-1):Y++,!s)break n;if('"'===s&&!J){P=Q.pop()||L,(F+=n.substring(c,o-1))||(p(""),v());break}if(!("\\"!==s||J||(J=!0,F+=n.substring(c,o-1),s=n.charAt(o++))))break;if(J){if(J=!1,"n"===s?F+="\n":"r"===s?F+="\r":"t"===s?F+="\t":"f"===s?F+="\f":"b"===s?F+="\b":"u"===s?(Y=1,V=""):F+=s,s=n.charAt(o++),c=o-1,s)continue;break}y.lastIndex=o;var b=y.exec(n);if(!b){o=n.length+1,F+=n.substring(c,o-1);break}if(o=b.index+1,!(s=n.charAt(b.index))){F+=n.substring(c,o-1);break}}continue;case T:if(!s)continue;if("r"!==s)return t("Invalid true started with t"+s);P=A;continue;case A:if(!s)continue;if("u"!==s)return t("Invalid true started with tr"+s);P=q;continue;case q:if(!s)continue;if("e"!==s)return t("Invalid true started with tru"+s);p(!0),v(),P=Q.pop()||L;continue;case H:if(!s)continue;if("a"!==s)return t("Invalid false started with f"+s);P=S;continue;case S:if(!s)continue;if("l"!==s)return t("Invalid false started with fa"+s);P=B;continue;case B:if(!s)continue;if("s"!==s)return t("Invalid false started with fal"+s);P=N;continue;case N:if(!s)continue;if("e"!==s)return t("Invalid false started with fals"+s);p(!1),v(),P=Q.pop()||L;continue;case _:if(!s)continue;if("u"!==s)return t("Invalid null started with n"+s);P=X;continue;case X:if(!s)continue;if("l"!==s)return t("Invalid null started with nu"+s);P=U;continue;case U:if(!s)continue;if("l"!==s)return t("Invalid null started with nul"+s);p(null),v(),P=Q.pop()||L;continue;case W:if("."!==s)return t("Leading zero not followed by .");G+=s,P=$;continue;case $:if(-1!=="0123456789".indexOf(s))G+=s;else if("."===s){if(-1!==G.indexOf("."))return t("Invalid number has two dots");G+=s}else if("e"===s||"E"===s){if(-1!==G.indexOf("e")||-1!==G.indexOf("E"))return t("Invalid number has two exponential");G+=s}else if("+"===s||"-"===s){if("e"!==l&&"E"!==l)return t("Invalid symbol in number");G+=s}else G&&(p(parseFloat(G)),v(),G=""),o--,P=Q.pop()||L;continue;default:return t("Unknown state: "+P)}nn>=D&&(x=0,F.length>w&&(t("Max buffer length exceeded: textNode"),x=Math.max(x,F.length)),G.length>w&&(t("Max buffer length exceeded: numberNode"),x=Math.max(x,G.length)),D=w-x+nn)}var x}),n(wn).on(function(){return P==I?(p({}),v(),void(K=!0)):((P!==L||0!==Z)&&t("Unexpected end"),F&&(p(F),v(),F=""),void(K=!0))})}function H(n,t){"use strict";function u(n){return function(t){o=n(o,t)}}var o,f={};for(var c in t)n(c).on(u(t[c]),f);n(dn).on(function(n){var t=nn(o),u=un(t),f=tn(o);f&&(on(nn(f))[u]=n)}),n(hn).on(function(){var n=nn(o),t=un(n),u=tn(o);u&&delete on(nn(u))[t]}),n(yn).on(function(){for(var u in t)n(u).un(f)})}function S(n){var t={};return n&&n.split("\r\n").forEach(function(n){var u=n.indexOf(": ");t[n.substring(0,u)]=n.substring(u+2)}),t}function B(n,t){function u(t){return t.port||{"http:":80,"https:":443}[t.protocol||n.protocol]}return!!(t.protocol&&t.protocol!=n.protocol||t.host&&t.host!=n.host||t.host&&u(t)!=u(n))}function N(n){var t=/(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(n)||[];return{protocol:t[1]||"",host:t[2]||"",port:t[3]||""}}function _(t,u,o,f,s,l,h){"use strict";function p(){var n=u.responseText,t=n.substr(w);t&&v(t),w=V(n)}var v=t(gn).emit,b=t(pn).emit,w=0,y=!0;t(yn).on(function(){u.onreadystatechange=null,u.abort()}),"onprogress"in u&&(u.onprogress=p),u.onreadystatechange=function(){function n(){try{y&&t(bn).emit(u.status,S(u.getAllResponseHeaders())),y=!1}catch(n){}}switch(u.readyState){case 2:case 3:return n();case 4:n(),2==String(u.status)[0]?(p(),t(wn).emit()):b(z(u.status,u.responseText))}};try{for(var x in u.open(o,f,!0),l)u.setRequestHeader(x,l[x]);B(n.location,N(f))||u.setRequestHeader("X-Requested-With","XMLHttpRequest"),u.withCredentials=h,u.send(s)}catch(t){n.setTimeout(P(b,z(c,c,t)),0)}}function X(n,t){return{key:n,node:t}}function U(n){function t(n,t){var o=on(nn(n));return y(u,o)?f(n,V(o),t):n}function o(n,t,u){on(nn(n))[t]=u}function f(n,t,u){n&&o(n,t,u);var f=L(X(t,u),n);return c(f),f}var c=n(sn).emit,s=n(ln).emit,l=n(mn).emit,h=n(vn).emit,p={};return p[In]=function(n,u){if(!n)return l(u),f(n,fn,u);var c=t(n,u),s=tn(c),h=un(nn(c));return o(s,h,u),L(X(h,u),s)},p[Ln]=function(n){return s(n),tn(n)||h(on(nn(n)))},p[xn]=f,p}function W(n,t,u){function o(n){return function(t){return t.id==n}}var f,c;return{on:function(u,o){var s={listener:u,id:o||u};return t&&t.emit(n,u,s.id),f=L(s,f),c=L(u,c),this},emit:function(){R(c,arguments)},un:function(t){var s;f=j(f,o(t),function(n){s=n}),s&&(c=j(c,function(n){return n==s.listener}),u&&u.emit(n,s.listener,s.id))},listeners:function(){return c},hasListener:function(n){return x(A(n?o(n):w,f))}}}function $(){function n(n){return u[n]=W(n,o,f)}function t(t){return u[t]||n(t)}var u={},o=n("newListener"),f=n("removeListener");return["emit","on","un"].forEach(function(n){t[n]=p(function(u,o){h(o,t(u)[n])})}),t}function z(n,t,u){try{var o=f.parse(t)}catch(n){}return{statusCode:n,body:t,jsonBody:o,thrown:u}}function D(n,t){function u(n,t,u){var o=T(u);n(t,C(tn(O(un,o))),C(O(on,o)))}function o(t,o,f){var c=n(t).emit;o.on(function(n){var t=f(n);!1!==t&&u(c,on(t),n)},t),n("removeListener").on(function(u){u==t&&(n(u).listeners()||o.un(t))})}var f={node:n(ln),path:n(sn)};n("newListener").on(function(n){var u=/(node|path):(.*)/.exec(n);if(u){var c=f[u[1]];c.hasListener(n)||o(n,c,t(u[2]))}})}function F(n,t){function u(n,t,u){u=u||t;var f=o(t);return n.on(function(){var t=!1;w.forget=function(){t=!0},h(arguments,f),delete w.forget,t&&n.un(u)},u),w}function o(t){return function(){try{return t.apply(w,arguments)}catch(t){n(pn).emit(z(c,c,t))}}}function f(t,u){return n(t+":"+u)}function s(n,t,o){var c,s;c="node"==n?(s=o,function(){var n=s.apply(this,arguments);x(n)&&(n==K.drop?L():k(n))}):o,u(f(n,t),c,o)}function l(n,t){for(var u in t)s(n,u,t[u])}function v(n,t,u){return Y(t)?s(n,t,u):l(n,t),w}var w,y=/^(node|path):./,I=n(vn),L=n(hn).emit,k=n(dn).emit,C=p(function(t,o){if(w[t])h(o,w[t]);else{var f=n(t),c=o[0];y.test(t)?u(f,c):f.on(c)}return w});return n(mn).on(function(n){var t;w.root=(t=n,function(){return t})}),n(bn).on(function(n,t){w.header=function(n){return n?t[n]:t}}),w={on:C,addListener:C,removeListener:function(t,u,o){if("done"==t)I.un(u);else if("node"==t||"path"==t)n.un(t+":"+u,o);else{var f=u;n(t).un(f)}return w},emit:n.emit,node:P(v,"node"),path:P(v,"path"),done:P(u,I),start:P(function(t,u){return n(t).on(o(u),u),w},bn),fail:n(pn).on,abort:n(yn).emit,header:b,root:b,source:t}}function G(n,t,u,o,f){var c=$();return t&&_(c,new XMLHttpRequest,n,t,u,o,f),q(c),H(c,U(c)),D(c,cn),F(c,t)}function J(n,t,u,o,c,s,l){return c=c?f.parse(f.stringify(c)):{},o?Y(o)||(o=f.stringify(o),c["Content-Type"]=c["Content-Type"]||"application/json"):o=null,n(u||"GET",(function(n,t){return!1===t&&(n+=-1==n.indexOf("?")?"?":"&",n+="_="+(new Date).getTime()),n})(t,l),o,c,s||!1)}function K(n){var t=en("resume","pause","pipe"),u=P(I,t);return n?u(n)||Y(n)?J(G,n):J(G,n.url,n.method,n.body,n.headers,n.withCredentials,n.cached):G()}var P=p(function(n,t){var u=t.length;return p(function(o){for(var f=0;f0&&T.push(y.default.createElement(h.View,{style:[D.buttonSeparator,f]})),T.push(t)):k.push(t))}),y.default.createElement(b.default,(0,o.default)({backdropOpacity:.3,style:D.modal,isVisible:j,animationIn:"ios"===h.Platform.OS?v:"zoomIn",animationOut:"fadeOut"},x),y.default.createElement(h.KeyboardAvoidingView,{behavior:"ios"===h.Platform.OS?"padding":void 0,style:D.container},y.default.createElement(h.View,{style:[D.content,p]},"ios"===h.Platform.OS&&l,"ios"===h.Platform.OS&&!l&&y.default.createElement(h.View,{style:[D.blur,E]}),y.default.createElement(h.View,{style:[D.header,O]},R,I),k,Boolean(T.length)&&y.default.createElement(h.View,{style:[D.footer,w]},T.map(function(t,o){return y.default.cloneElement(t,{key:"dialog-button-"+o})})))))}}]),O})(y.default.PureComponent);e.default=w,w.propTypes={blurComponentIOS:p.default.node,buttonSeparatorStyle:p.default.object,children:p.default.node.isRequired,contentStyle:p.default.object,footerStyle:p.default.object,headerStyle:p.default.object,blurStyle:p.default.object,visible:p.default.bool},w.defaultProps={visible:!1};var D=h.StyleSheet.create({modal:{flex:1,marginLeft:0,marginRight:0,marginTop:0,marginBottom:0},container:{justifyContent:"center",alignItems:"center"},blur:{position:"absolute",backgroundColor:"rgb(255,255,255)",top:0,left:0,bottom:0,right:0},content:h.Platform.select({ios:{width:270,flexDirection:"column",borderRadius:13,overflow:"hidden"},android:{flexDirection:"column",borderRadius:3,padding:16,margin:16,backgroundColor:"white",overflow:"hidden",elevation:4,minWidth:300},web:{flexDirection:"column",borderRadius:3,padding:16,margin:16,backgroundColor:"white",overflow:"hidden",elevation:4,minWidth:300}}),header:h.Platform.select({ios:{margin:18},android:{margin:12},web:{margin:12}}),footer:h.Platform.select({ios:{flexDirection:"row",justifyContent:"space-between",borderTopColor:"#A9ADAE",borderTopWidth:h.StyleSheet.hairlineWidth,height:46},android:{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",marginTop:4},web:{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",marginTop:4}}),buttonSeparator:{height:"100%",backgroundColor:"#A9ADAE",width:h.StyleSheet.hairlineWidth}})},1337,[1,13,54,26,27,37,39,36,68,56,2,1338]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.ReactNativeModal=e.default=void 0;var o=n(r(d[2])),s=n(r(d[3])),p=n(r(d[4])),l=n(r(d[5])),c=n(r(d[6])),u=n(r(d[7])),f=n(r(d[8])),h=n(r(d[9])),b=t(r(d[10])),w=r(d[11]),v=n(r(d[12])),O=t(r(d[13])),S=r(d[14]),y=n(r(d[15]));function T(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);n&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,s)}return o}function k(t){for(var n=1;n=4||Math.abs(o.dy)>=4;return s&&n.props.onSwipeStart&&n.props.onSwipeStart(),s}},onStartShouldSetPanResponder:function(){return!(n.props.scrollTo&&n.props.scrollOffset>0)&&(n.props.onSwipeStart&&n.props.onSwipeStart(),!0)},onPanResponderMove:function(o,s){var p=n.props.deviceWidth||n.state.deviceWidth,l=1-n.getAccDistancePerDirection(s)/p;if(n.isSwipeDirectionAllowed(s))n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity*l}),t(o,s),n.props.onSwipeMove&&n.props.onSwipeMove(l);else if(n.props.scrollTo){var c=-s.dy;c>n.props.scrollOffsetMax&&(c-=(c-n.props.scrollOffsetMax)/2),n.props.scrollTo({y:c,animated:!1})}},onPanResponderRelease:function(t,o){if(n.getAccDistancePerDirection(o)>n.props.swipeThreshold){if(n.props.onSwipeComplete)return n.inSwipeClosingState=!0,void n.props.onSwipeComplete();if(n.props.onSwipe)return n.inSwipeClosingState=!0,void n.props.onSwipe()}n.props.onSwipeCancel&&n.props.onSwipeCancel(),n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity},n.props.backdropTransitionInTiming),w.Animated.spring(n.state.pan,{toValue:{x:0,y:0},bounciness:0}).start(),n.props.scrollOffset>n.props.scrollOffsetMax&&n.props.scrollTo({y:n.props.scrollOffsetMax,animated:!0})}})},n.getAccDistancePerDirection=function(t){switch(n.props.swipeDirection){case"up":return-t.dy;case"down":return t.dy;case"right":return t.dx;case"left":return-t.dx;default:return 0}},n.isSwipeDirectionAllowed=function(t){var o=t.dy,s=t.dx,p=o>0,l=o<0,c=s<0,u=s>0;return!("up"!==n.props.swipeDirection||!l)||(!("down"!==n.props.swipeDirection||!p)||(!("right"!==n.props.swipeDirection||!u)||!("left"!==n.props.swipeDirection||!c)))},n.handleDimensionsUpdate=function(t){if(!n.props.deviceHeight&&!n.props.deviceWidth){var o=w.Dimensions.get("window").width,s=w.Dimensions.get("window").height;o===n.state.deviceWidth&&s===n.state.deviceHeight||n.setState({deviceWidth:o,deviceHeight:s})}},n.open=function(){n.isTransitioning||(n.isTransitioning=!0,n.backdropRef&&n.backdropRef.transitionTo({opacity:n.props.backdropOpacity},n.props.backdropTransitionInTiming),n.state.isSwipeable&&n.state.pan.setValue({x:0,y:0}),n.contentRef&&(n.props.onModalWillShow&&n.props.onModalWillShow(),n.contentRef[n.animationIn](n.props.animationInTiming).then(function(){n.isTransitioning=!1,n.props.isVisible?n.props.onModalShow():n.close()})))},n.close=function(){if(!n.isTransitioning){n.isTransitioning=!0,n.backdropRef&&n.backdropRef.transitionTo({opacity:0},n.props.backdropTransitionOutTiming);var t=n.animationOut;n.inSwipeClosingState&&(n.inSwipeClosingState=!1,"up"===n.props.swipeDirection?t="slideOutUp":"down"===n.props.swipeDirection?t="slideOutDown":"right"===n.props.swipeDirection?t="slideOutRight":"left"===n.props.swipeDirection&&(t="slideOutLeft")),n.contentRef&&(n.props.onModalWillHide&&n.props.onModalWillHide(),n.contentRef[t](n.props.animationOutTiming).then(function(){n.isTransitioning=!1,n.props.isVisible?n.open():(n.setState({showContent:!1},function(){n.setState({isVisible:!1})}),n.props.onModalHide())}))}};var o=(0,S.buildAnimations)(t),s=o.animationIn,p=o.animationOut;return n.animationIn=s,n.animationOut=p,n.state.isSwipeable&&(n.state=k(k({},n.state),{},{pan:new w.Animated.ValueXY}),n.buildPanResponder()),n.props.isVisible&&(n.state=k(k({},n.state),{},{isVisible:!0,showContent:!0})),n}return(0,c.default)(T,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){if(!this.state.isVisible&&t.isVisible&&this.setState({isVisible:!0,showContent:!0}),this.props.animationIn!==t.animationIn||this.props.animationOut!==t.animationOut){var n=(0,S.buildAnimations)(t),o=n.animationIn,s=n.animationOut;this.animationIn=o,this.animationOut=s}this.props.backdropOpacity!==t.backdropOpacity&&this.backdropRef&&this.backdropRef.transitionTo({opacity:t.backdropOpacity},this.props.backdropTransitionInTiming)}},{key:"componentDidMount",value:function(){this.props.onSwipe&&console.warn('`` is deprecated. Use `` instead.'),this.state.isVisible&&this.open(),w.DeviceEventEmitter.addListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentWillUnmount",value:function(){w.DeviceEventEmitter.removeListener("didUpdateDimensions",this.handleDimensionsUpdate)}},{key:"componentDidUpdate",value:function(t,n){this.props.isVisible&&!t.isVisible?this.open():!this.props.isVisible&&t.isVisible&&this.close()}},{key:"render",value:function(){var t=this,n=this.props,p=(n.animationIn,n.animationInTiming,n.animationOut,n.animationOutTiming,n.avoidKeyboard),l=n.hasBackdrop,c=n.backdropColor,u=(n.backdropOpacity,n.backdropTransitionInTiming,n.backdropTransitionOutTiming,n.children),f=n.deviceHeight,h=n.deviceWidth,v=(n.isVisible,n.onModalShow,n.onBackdropPress),S=n.onBackButtonPress,T=n.useNativeDriver,D=(n.propagateSwipe,n.style),M=(0,s.default)(n,["animationIn","animationInTiming","animationOut","animationOutTiming","avoidKeyboard","hasBackdrop","backdropColor","backdropOpacity","backdropTransitionInTiming","backdropTransitionOutTiming","children","deviceHeight","deviceWidth","isVisible","onModalShow","onBackdropPress","onBackButtonPress","useNativeDriver","propagateSwipe","style"]),R=h||this.state.deviceWidth,P=f||this.state.deviceHeight,C=[{margin:.05*R,transform:[{translateY:0}]},y.default.content,D],V={},W={};this.state.isSwipeable&&(V=k({},this.panResponder.panHandlers),W=T?{transform:this.state.pan.getTranslateTransform()}:this.state.pan.getLayout());var I=this.props.hideModalContentWhileAnimating&&this.props.useNativeDriver&&!this.state.showContent?b.default.createElement(O.View,null):u,x=b.default.createElement(O.View,(0,o.default)({},V,{ref:function(n){return t.contentRef=n},style:[W,C],pointerEvents:"box-none",useNativeDriver:T},M),I);return b.default.createElement(w.Modal,(0,o.default)({transparent:!0,animationType:"none",visible:this.state.isVisible,onRequestClose:S},M),l&&b.default.createElement(w.TouchableWithoutFeedback,{onPress:v},b.default.createElement(O.View,{ref:function(n){return t.backdropRef=n},useNativeDriver:!0,style:[y.default.backdrop,{backgroundColor:this.state.showContent?c:"transparent",width:R,height:P}]})),p&&b.default.createElement(w.KeyboardAvoidingView,{behavior:"ios"===w.Platform.OS?"padding":null,pointerEvents:"box-none",style:C.concat([{margin:0}])},x),!p&&x)}}]),T})(b.Component);e.ReactNativeModal=M,M.propTypes={animationIn:v.default.oneOfType([v.default.string,v.default.object]),animationInTiming:v.default.number,animationOut:v.default.oneOfType([v.default.string,v.default.object]),animationOutTiming:v.default.number,avoidKeyboard:v.default.bool,hasBackdrop:v.default.bool,backdropColor:v.default.string,backdropOpacity:v.default.number,backdropTransitionInTiming:v.default.number,backdropTransitionOutTiming:v.default.number,children:v.default.node.isRequired,deviceHeight:v.default.number,deviceWidth:v.default.number,isVisible:v.default.bool.isRequired,hideModalContentWhileAnimating:v.default.bool,propagateSwipe:v.default.bool,onModalShow:v.default.func,onModalWillShow:v.default.func,onModalHide:v.default.func,onModalWillHide:v.default.func,onBackButtonPress:v.default.func,onBackdropPress:v.default.func,onSwipeStart:v.default.func,onSwipeMove:v.default.func,onSwipeComplete:v.default.func,onSwipeCancel:v.default.func,swipeThreshold:v.default.number,swipeDirection:v.default.oneOf(["up","down","left","right"]),useNativeDriver:v.default.bool,style:v.default.any,scrollTo:v.default.func,scrollOffset:v.default.number,scrollOffsetMax:v.default.number,supportedOrientations:v.default.arrayOf(v.default.oneOf(["portrait","portrait-upside-down","landscape","landscape-left","landscape-right"]))},M.defaultProps={animationIn:"slideInUp",animationInTiming:300,animationOut:"slideOutDown",animationOutTiming:300,avoidKeyboard:!1,hasBackdrop:!0,backdropColor:"black",backdropOpacity:.7,backdropTransitionInTiming:300,backdropTransitionOutTiming:300,onModalShow:function(){return null},onModalWillShow:function(){return null},deviceHeight:null,deviceWidth:null,onModalHide:function(){return null},onModalWillHide:function(){return null},isVisible:!1,hideModalContentWhileAnimating:!1,propagateSwipe:v.default.false,onBackdropPress:function(){return null},onBackButtonPress:function(){return null},swipeThreshold:100,useNativeDriver:!1,scrollTo:null,scrollOffset:0,scrollOffsetMax:0,supportedOrientations:["portrait","landscape"]};var R=M;e.default=R},1338,[9,1,13,54,48,26,27,37,39,36,56,2,68,1190,1339,1340]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.buildAnimations=e.initializeAnimations=void 0;var o=n(r(d[2])),s=r(d[3]),l=t(r(d[4])),u=s.Dimensions.get("window"),f=u.height,c=u.width;e.initializeAnimations=function(){var t=function(t,n,s){return{from:(0,o.default)({},t,n),to:(0,o.default)({},t,s)}},n={slideInDown:t("translateY",-f,0),slideInUp:t("translateY",f,0),slideInLeft:t("translateX",-c,0),slideInRight:t("translateX",c,0),slideOutDown:t("translateY",0,f),slideOutUp:t("translateY",0,-f),slideOutLeft:t("translateX",0,-c),slideOutRight:t("translateX",0,c)};l.initializeRegistryWithDefinitions(n)};e.buildAnimations=function(t){var n=t.animationIn,o=t.animationOut,s=n,l=o;if(O(n)){var u=JSON.stringify(n);v(u,n),s=u}if(O(o)){var f=JSON.stringify(o);v(f,o),l=f}return{animationIn:s,animationOut:l}};var v=function(t,n){l.registerAnimation(t,l.createAnimation(n))},O=function(t){return null!==t&&"object"==typeof t}},1339,[9,1,48,2,1190]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).StyleSheet.create({backdrop:{position:"absolute",top:0,bottom:0,left:0,right:0,opacity:0,backgroundColor:"black"},content:{flex:1,justifyContent:"center"}});e.default=t},1340,[2]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=t(r(d[2])),c=t(r(d[3])),l=t(r(d[4])),u=t(r(d[5])),f=t(r(d[6])),p=t(r(d[7])),s=t(r(d[8])),y=t(r(d[9])),O=t(r(d[10])),b=r(d[11]);function h(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);n&&(c=c.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,c)}return o}function v(t){for(var o=1;o0&&new Promise(function(t){return setTimeout(t,0)}).then(function(){t.scrollToIndex({index:o,animated:!1})}))},n.onNextImage=function(t){var s=n.state.imageIndex,l=(t.nativeEvent.contentOffset||{x:0}).x,o=Math.round(l/n.state.screenDimensions.screenWidth);if(n.isScrolling=Math.ceil(l)%n.state.screenDimensions.screenWidth>10,s!==o&&o>=0){var u=n.getInitialScale(o),c=n.getInitialTranslate(o);n.setState({imageIndex:o,imageScale:u,imageTranslate:c}),n.imageScaleValue.setValue(u),n.imageTranslateValue.setValue(c),'function'==typeof n.props.onImageChange&&n.props.onImageChange(o)}},n.onMomentumScrollBegin=function(){n.isScrolling=!0,n.glideAlwaysTimer&&clearTimeout(n.glideAlwaysTimer)},n.onMomentumScrollEnd=function(){n.isScrolling=!1},n.getItemLayout=function(t,s){var l=n.state.screenDimensions.screenWidth;return{length:l,offset:l*s,index:s}},n.getControls=function(){var t=n.props.controls,s=t.close,l=t.prev,o=t.next,u={close:x.Close,prev:void 0,next:void 0};return null===s&&(u.close=null),s&&(u.close=!0===s?x.Close:s),l&&(u.prev=!0===l?x.Prev:l),o&&(u.next=!0===o?x.Next:o),u},n.setSizeForImages=function(t){return 0===t.length?[]:n.state.images.map(function(n,s){var l=t.find(function(t){return t.index===s});return l&&(n.width=l.width,n.height=l.height),n})},n.scrollToNext=function(){n.listRef&&'function'==typeof n.listRef.scrollToIndex&&n.listRef.scrollToIndex({index:n.state.imageIndex+1,animated:!0})},n.scrollToPrev=function(){n.listRef&&'function'==typeof n.listRef.scrollToIndex&&n.listRef.scrollToIndex({index:n.state.imageIndex-1,animated:!0})},n.listKeyExtractor=function(t){return n.state.images.indexOf(t).toString()},n.close=function(){n.setState({isVisible:!1}),'function'==typeof n.props.onClose&&n.props.onClose()},n.renderImage=function(t){var s=t.item,o=t.index,u=s.loaded&&s.width&&s.height;return p.default.createElement(v.View,{style:E.imageContainer,onStartShouldSetResponder:function(){return!0}},p.default.createElement(v.Animated.Image,(0,l.default)({resizeMode:"cover",source:s.source,style:n.getImageStyle(s,o),onLoad:function(){return n.onImageLoaded(o)}},n.panResponder.panHandlers)),!u&&p.default.createElement(v.ActivityIndicator,{style:E.loading}))};var s=w();n.imageInitialParams=t.images.map(function(t){return(0,y.getInitialParams)(t,s)}),n.state={images:t.images,isVisible:t.isVisible,imageIndex:t.imageIndex,imageScale:1,imageTranslate:{x:0,y:0},scrollEnabled:!0,panelsVisible:!0,isFlatListRerendered:!1,screenDimensions:s},n.glideAlwaysTimer=null,n.listRef=null,n.isScrolling=!1,n.footerHeight=0,n.initialTouches=[],n.currentTouchesNum=0,n.doubleTapTimer=null,n.modalAnimation=new v.Animated.Value(0),n.modalBackgroundOpacity=new v.Animated.Value(0),n.headerTranslateValue=new v.Animated.ValueXY,n.footerTranslateValue=new v.Animated.ValueXY,n.imageScaleValue=new v.Animated.Value(n.getInitialScale());var u=n.getInitialTranslate(),c=u.x,h=u.y;n.imageTranslateValue=new v.Animated.ValueXY({x:c,y:h}),n.panResponder=(0,y.generatePanHandlers)(function(t){return n.onGestureStart(t.nativeEvent)},function(t,s){return n.onGestureMove(t.nativeEvent,s)},function(t,s){return n.onGestureRelease(t.nativeEvent,s)});var f=(0,y.getImagesWithoutSize)((0,y.addIndexesToImages)(t.images));return f.length&&Promise.all((0,y.fetchImageSize)(f)).then(n.setSizeForImages),n}return(0,u.default)(A,[{key:"componentDidMount",value:function(){E=(0,T.default)(this.state.screenDimensions),v.Dimensions.addEventListener('change',this.onChangeDimension)}},{key:"componentDidUpdate",value:function(){var t=this,n=this.state,s=n.images,l=n.imageIndex,o=n.isVisible;if(void 0!==this.props.isVisible&&this.props.isVisible!==o){if(this.onNextImagesReceived(this.props.images,this.props.imageIndex),s!==this.props.images||l!==this.props.imageIndex){var u=(0,y.getImagesWithoutSize)((0,y.addIndexesToImages)(this.props.images));u.length&&Promise.all((0,y.fetchImageSize)(u)).then(function(n){return t.onNextImagesReceived(t.setSizeForImages(n),t.props.imageIndex)})}this.setState({isVisible:this.props.isVisible,isFlatListRerendered:!1}),this.modalBackgroundOpacity.setValue(0),this.props.isVisible&&v.Animated.timing(this.modalAnimation,{duration:400,toValue:1}).start()}}},{key:"componentWillUnmount",value:function(){v.Dimensions.removeEventListener('change',this.onChangeDimension),this.glideAlwaysTimer&&clearTimeout(this.glideAlwaysTimer)}},{key:"onNextImagesReceived",value:function(t){var n=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.imageInitialParams=t.map(function(t){return(0,y.getInitialParams)(t,n.state.screenDimensions)});var l=this.imageInitialParams[s]||{scale:1,translate:{}},o=l.scale,u=l.translate;this.setState({images:t,imageIndex:s,imageScale:o,imageTranslate:u,isFlatListRerendered:!1}),this.imageScaleValue.setValue(o),this.imageTranslateValue.setValue(u)}},{key:"onGestureStart",value:function(t){this.initialTouches=t.touches,this.currentTouchesNum=t.touches.length}},{key:"onGestureMove",value:function(t,n){if(!this.isScrolling||!this.state.scrollEnabled){1===this.currentTouchesNum&&2===t.touches.length&&(this.initialTouches=t.touches);var s=this.props,l=s.isSwipeCloseEnabled,o=s.isPinchZoomEnabled,u=this.state,c=u.images,h=u.imageIndex,f=u.imageScale,p=u.imageTranslate,v=u.screenDimensions.screenHeight,T=t.touches,x=p.x,I=p.y,S=n.dx,V=n.dy,b=this.getInitialScale(),w=c[h].height;if(f!==b&&this.imageTranslateValue.x.setValue(x+S),f*w>v&&this.imageTranslateValue.y.setValue(I+V),l&&(0,y.scalesAreEqual)(f,b)&&w*b1?1:E)}var A=(0,y.getDistance)(T),R=(0,y.getDistance)(this.initialTouches),P=Math.abs(V)<15;if(this.setState({scrollEnabled:P}),R&&o&&!(T.length<2)){var D=(0,y.getScale)(A,R)*f;D5&&(D=5),this.imageScaleValue.setValue(D),this.currentTouchesNum=t.touches.length}}}},{key:"onGestureRelease",value:function(t,n){var s=this;if(this.glideAlwaysTimer&&clearTimeout(this.glideAlwaysTimer),this.props.glideAlways&&'android'===v.Platform.OS&&(this.glideAlwaysTimer=setTimeout(function(){s.glideAlwaysTimer=null,s.listRef&&s.listRef.scrollToIndex&&s.listRef.scrollToIndex({index:s.state.imageIndex,animated:!0})},this.props.glideAlwaysDelay)),!this.isScrolling){var l=this.state.imageScale,o=this.props,u=o.isSwipeCloseEnabled,c=o.isTapZoomEnabled,h=this.imageScaleValue._value,f=this.modalBackgroundOpacity._value,p=n.dx,T=n.dy,x=n.vy,I=this.getInitialScale(),S=this.getInitialTranslate();t&&!p&&!T&&(0,y.scalesAreEqual)(l,h)&&(c&&this.doubleTapTimer?(clearTimeout(this.doubleTapTimer),this.doubleTapTimer=null,h=(0,y.scalesAreEqual)(I,h)?3*h:I,v.Animated.timing(this.imageScaleValue,{toValue:h,duration:300}).start(),this.togglePanels(h===I)):this.doubleTapTimer=setTimeout(function(){s.togglePanels(),s.doubleTapTimer=null},200));var V=this.calculateNextTranslate(p,T,h),b=V.x,w=V.y,E=h===this.getInitialScale()&&b===S.x&&w===S.y;v.Animated.parallel([f>0?v.Animated.timing(this.modalBackgroundOpacity,{toValue:0,duration:100}):null,v.Animated.timing(this.imageTranslateValue.x,{toValue:b,duration:100}),v.Animated.timing(this.imageTranslateValue.y,{toValue:w,duration:100})].filter(Boolean)).start(),u&&h===I&&Math.abs(x)>=1.1&&v.Animated.timing(this.imageTranslateValue.y,{toValue:w+400*x,duration:150}).start(this.close),this.setState({imageScale:h,imageTranslate:{x:b,y:w},scrollEnabled:E})}}},{key:"onImageLoaded",value:function(t){var n=this.state.images;n[t]=S(S({},n[t]),{},{loaded:!0}),this.setState({images:n})}},{key:"getInitialScale",value:function(t){var n=void 0!==t?t:this.state.imageIndex,s=this.imageInitialParams[n];return s?s.scale:1}},{key:"getInitialTranslate",value:function(t){var n=void 0!==t?t:this.state.imageIndex,s=this.imageInitialParams[n];return s?s.translate:{x:0,y:0}}},{key:"getImageStyle",value:function(t,n){var s=this.state,l=s.imageIndex,o=s.screenDimensions,u=t.width,c=t.height;if(!u||!c)return{opacity:0};var h=(0,y.calculateInitialTranslate)(u,c+1,o),f=h.x,p=h.y,T=new v.Animated.ValueXY({x:f,y:p}),x=n===l?this.imageTranslateValue.getTranslateTransform():T.getTranslateTransform(),I=n===l?this.imageScaleValue:this.getInitialScale(n);return x.push({scale:I}),{width:u,height:c,transform:x}}},{key:"calculateNextTranslate",value:function(t,n,s){var l=this.state,o=l.images,u=l.imageIndex,c=l.imageTranslate,h=l.screenDimensions,f=c.x,p=c.y,v=h.screenWidth,y=h.screenHeight,T=o[u],x=T.width,I=T.height,S=this.getInitialScale(),V=function(l){var o='x'===l?x:I,u='x'===l?v:y,c=(s*o-o)/2,h=u-o-c,T='x'===l?f+t:p+n;return u>s*o?T=x>=I?(u-o)/2:u/2-o*(s/S)/2:(T>c&&(T=c),T0&&v.Animated.timing(this.footerTranslateValue.y,{toValue:n?0:this.footerHeight,duration:200,useNativeDriver:!0}).start()}},{key:"render",value:function(){var t=this,n=this.props,s=n.animationType,l=n.renderFooter,o=n.backgroundColor,u=this.state,c=u.images,h=u.imageIndex,f=u.imageScale,T=u.isVisible,x=u.scrollEnabled,I=this.getControls(),S=I.close,V=I.prev,w=I.next,A=this.getInitialScale(),R=this.headerTranslateValue.getTranslateTransform(),P=this.footerTranslateValue.getTranslateTransform(),D=(o&&(0,y.isHex)(o)?(0,y.hexToRgb)(o):b).join(','),O=this.modalBackgroundOpacity.interpolate({inputRange:[0,1],outputRange:["rgba("+D+", 0.9)","rgba("+D+", 0.2)"]}),k=f===A&&h>0,C=f===A&&h0&&void 0!==arguments[0]?arguments[0]:[]).reduce(function(n,t){if(t.source&&t.source.uri&&(!t.width||!t.height)){var o=new Promise(function(n,o){u.Image.getSize(t.source.uri,function(o,u){return n({width:o,height:u,index:t.index})},o)});n.push(o)}return n},[])},e.scalesAreEqual=e.getImagesWithoutSize=e.addIndexesToImages=e.hexToRgb=e.isHex=e.getInitialParams=e.calculateInitialTranslate=e.calculateInitialScale=e.getDistance=e.getScale=e.generatePanHandlers=void 0;var t=n(r(d[1])),o=n(r(d[2])),u=r(d[3]);function c(n,t){var o=Object.keys(n);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(n);t&&(u=u.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),o.push.apply(o,u)}return o}function s(n){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0,u=o.screenWidth,c=o.screenHeight;return n>u||t>c?c/u>t/n?u/n:c/t:1};e.calculateInitialScale=l;var f=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0,u=o.screenWidth,c=o.screenHeight,s=function(o){var s='x'===o?n:t,l='x'===o?u:c;return n>=t?(l-s)/2:l/2-s/2};return{x:s('x'),y:s('y')}};e.calculateInitialTranslate=f;e.getInitialParams=function(n,t){var o=n.width,u=n.height;return{scale:l(o,u,t),translate:f(o,u,t)}};var h=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,p=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;e.isHex=function(n){return p.test(n)||h.test(n)};e.hexToRgb=function(n){var t=n.replace(h,function(n,t,o,u){return""+t+t+o+o+u+u}),u=[].concat(p.exec(t)),c=(0,o.default)(u,4),s=c[0],l=c[1],f=c[2],v=c[3];return s?[parseInt(l,16),parseInt(f,16),parseInt(v,16)]:[]};e.addIndexesToImages=function(n){return n.map(function(n,t){return s(s({},n),{},{index:t})})};e.getImagesWithoutSize=function(n){return n.filter(function(n){var t=n.width,o=n.height;return!t||!o})};e.scalesAreEqual=function(n,t){return Math.abs(n-t)<.01}},1352,[1,48,14,2]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var h=n.screenWidth,l=n.screenHeight;return t.StyleSheet.create({underlay:{position:'absolute',top:0,left:0,right:0,bottom:0},container:{width:h,height:l},header:{position:'absolute',top:0,left:0,zIndex:100,height:o,width:h},imageContainer:{width:h,height:l,overflow:'hidden'},loading:{position:'absolute',top:l/2-20,alignSelf:'center'},footer:{position:'absolute',bottom:0,left:0,right:0,zIndex:100}})};var t=r(d[0]),o=60},1353,[2]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Close",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Prev",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"Next",{enumerable:!0,get:function(){return f.default}});var n=t(r(d[1])),u=t(r(d[2])),f=t(r(d[3]))},1354,[1,1355,1356,1357]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=r(d[2]),l={top:15,left:15,right:15,bottom:15},c=n.StyleSheet.create({closeButton:{alignSelf:'flex-end',height:24,width:24,borderRadius:12,backgroundColor:'rgba(0,0,0,0.2)',alignItems:'center',justifyContent:'center',marginTop:25,marginRight:15},closeButton__text:{backgroundColor:'transparent',fontSize:25,lineHeight:25,color:'#FFF',textAlign:'center'}});e.default=function(t){var u=t.onPress;return o.default.createElement(n.TouchableOpacity,{hitSlop:l,style:c.closeButton,onPress:u},o.default.createElement(n.Text,{style:c.closeButton__text},"\xd7"))}},1355,[1,56,2]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=r(d[2]),l={top:15,left:15,right:15,bottom:15},u=n.StyleSheet.create({prevButton:{position:'absolute',zIndex:100,left:10,top:'50%',height:32,width:32,borderRadius:16,backgroundColor:'rgba(0,0,0,0.3)',alignItems:'center',justifyContent:'center'},prevButton__text:{backgroundColor:'transparent',fontSize:25,lineHeight:25,color:'#FFF',textAlign:'center'}});e.default=function(t){var c=t.onPress;return o.default.createElement(n.TouchableOpacity,{hitSlop:l,style:u.prevButton,onPress:c},o.default.createElement(n.Text,{style:u.prevButton__text},"\u2039"))}},1356,[1,56,2]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(r(d[1])),o=r(d[2]),l={top:15,left:15,right:15,bottom:15},u=o.StyleSheet.create({nextButton:{position:'absolute',zIndex:100,right:10,top:'50%',height:32,width:32,borderRadius:16,backgroundColor:'rgba(0,0,0,0.3)',alignItems:'center',justifyContent:'center'},nextButton__text:{backgroundColor:'transparent',fontSize:25,lineHeight:25,color:'#FFF',textAlign:'center'}});e.default=function(t){var c=t.onPress;return n.default.createElement(o.TouchableOpacity,{hitSlop:l,style:u.nextButton,onPress:c},n.default.createElement(o.Text,{style:u.nextButton__text},"\u203a"))}},1357,[1,56,2]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),s=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=s(r(d[2])),o=s(r(d[3])),l=s(r(d[4])),c=s(r(d[5])),u=s(r(d[6])),f=s(r(d[7])),p=s(r(d[8])),h=t(r(d[9])),y=r(d[10]),_=r(d[11]),v=r(d[12]),w=t(r(d[13])),S=r(d[14]),x=s(r(d[15])),k=r(d[16]),E=s(r(d[17])),b=r(d[18]),A=(r(d[19]),t(r(d[20]))),P=s(r(d[21]));function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var C=(function(t){(0,u.default)(A,t);var s,k,b=(s=A,k=L(),function(){var t,n=(0,p.default)(s);if(k){var o=(0,p.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,f.default)(this,t)});function A(t){var s;return(0,o.default)(this,A),(s=b.call(this,t)).add_address=function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s.setState({isLoding:!0}),y.Keyboard.dismiss(),t.next=4,n.default.awrap(s.checkValidate());case 4:if(!s.state.validation){t.next=8;break}return s.props.serviceActionPending(),t.next=8,n.default.awrap((0,E.default)({method:'post',url:S.api_url+S.address,data:{customer_id:g.id,pin_code:s.state.pin_code,address:s.state.address.toString(),door_no:s.state.door_no,latitude:s.state.latitude,longitude:s.state.longitude}}).then(function(t){return n.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return s.setState({isLoding:!1}),o.next=3,n.default.awrap(s.props.serviceActionSuccess(t.data));case 3:if(1!=t.data.status){o.next=8;break}return o.next=6,n.default.awrap(s.redirect(t.data));case 6:o.next=9;break;case 8:alert(t.data.message);case 9:case"end":return o.stop()}},null,null,null,Promise)}).catch(function(t){s.setState({isLoding:!1}),s.showSnackbar("Sorry something went wrong!"),s.props.serviceActionError(t)}));case 8:case"end":return t.stop()}},null,null,null,Promise)},s.redirect=function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:1==t.status?s.handleBackButtonClick():alert(t.message);case 1:case"end":return n.stop()}},null,null,null,Promise)},s.handleBackButtonClick=function(){s.props.navigation.goBack(null)},s.edit_address=function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s.setState({isLoding:!0}),s.props.editServiceActionPending(),t.next=4,n.default.awrap((0,E.default)({method:'get',url:S.api_url+S.address+'/'+s.state.address_id+'/edit'}).then(function(t){return n.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return s.setState({isLoding:!1}),o.next=3,n.default.awrap(s.props.editServiceActionSuccess(t.data));case 3:return o.next=5,n.default.awrap(s.setState({open_map:1}));case 5:return o.next=7,n.default.awrap(s.setLocation());case 7:case"end":return o.stop()}},null,null,null,Promise)}).catch(function(t){s.setState({isLoding:!1}),s.showSnackbar("Sorry something went wrong!"),s.props.editServiceActionError(t)}));case 4:case"end":return t.stop()}},null,null,null,Promise)},s.update_address=function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return s.setState({isLoding:!0}),y.Keyboard.dismiss(),t.next=4,n.default.awrap(s.checkValidate());case 4:if(!s.state.validation){t.next=8;break}return s.props.updateServiceActionPending(),t.next=8,n.default.awrap((0,E.default)({method:'patch',url:S.api_url+S.address+'/'+s.state.address_id,data:{customer_id:g.id,pin_code:s.state.pin_code,address:s.state.address.toString(),door_no:s.state.door_no,latitude:s.state.latitude,longitude:s.state.longitude}}).then(function(t){return n.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return s.setState({isLoding:!1}),o.next=3,n.default.awrap(s.props.updateServiceActionSuccess(t.data));case 3:if(1!=t.data.status){o.next=8;break}return o.next=6,n.default.awrap(s.redirect(t.data));case 6:o.next=9;break;case 8:alert(t.data.message);case 9:case"end":return o.stop()}},null,null,null,Promise)}).catch(function(t){s.setState({isLoding:!1}),alert(JSON.stringify(t)),s.showSnackbar("Sorry something went wrong!"),s.props.updateServiceActionError(t)}));case 8:case"end":return t.stop()}},null,null,null,Promise)},s.onRegionChange=function(t){return n.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:fetch('https://maps.googleapis.com/maps/api/geocode/json?address='+t.latitude+','+t.longitude+'&key='+S.GOOGLE_KEY).then(function(t){return t.json()}).then(function(o){var l,c;return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:void 0!=o.results[0].formatted_address?(l=o.results[0].address_components,c=l[l.length-1].long_name,s.setState({pin_code:c,address:o.results[0].formatted_address,latitude:t.latitude,longitude:t.longitude})):s.setState({address:'Sorry something went wrong'});case 1:case"end":return n.stop()}},null,null,null,Promise)});case 1:case"end":return o.stop()}},null,null,null,Promise)},s.search=function(){s.props.navigation.navigate('LocationSearch')},s.handleBackButtonClick=s.handleBackButtonClick.bind((0,c.default)(s)),s.state={address:'Please select your location...',door_no:'',mapRegion:null,validation:!0,address_id:s.props.route.params.id,open_map:0,pin_code:'',isLoding:!1},s.mapRef=null,s}return(0,l.default)(A,[{key:"checkValidate",value:function(){return''==this.state.door_no?(this.state.validation=!1,this.showSnackbar("Please enter door number"),!0):'Please select your location...'==this.state.address?(this.state.validation=!1,this.showSnackbar("Please select your location in map"),!0):''==this.state.pin_code?(this.state.validation=!1,this.showSnackbar("Sorry something went wrong"),!0):void(this.state.validation=!0)}},{key:"showSnackbar",value:function(t){x.default.show({title:t,duration:x.default.LENGTH_SHORT})}},{key:"set_location",value:function(){void 0!=this.props.address&&this.mapRef.animateToCoordinate({latitude:this.props.lat,longitude:this.props.lng},1e3)}},{key:"componentWillUnmount",value:function(){this._unsubscribe()}},{key:"componentDidMount",value:function(){var t=this;return n.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if("ios"!==y.Platform.OS){s.next=5;break}return s.next=3,n.default.awrap(this.findType());case 3:s.next=7;break;case 5:return s.next=7,n.default.awrap(this.requestCameraPermission());case 7:this._unsubscribe=this.props.navigation.addListener("focus",function(){t.set_location()});case 8:case"end":return s.stop()}},null,this,null,Promise)}},{key:"requestCameraPermission",value:function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,n.default.awrap(y.PermissionsAndroid.request(y.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,{title:'Location Access Required',message:S.app_name+' needs to Access your location for tracking'}));case 3:if(t.sent!==y.PermissionsAndroid.RESULTS.GRANTED){t.next=9;break}return t.next=7,n.default.awrap(this.findType());case 7:t.next=11;break;case 9:return t.next=11,n.default.awrap(this.handleBackButtonClick());case 11:t.next=17;break;case 13:return t.prev=13,t.t0=t.catch(0),t.next=17,n.default.awrap(this.handleBackButtonClick());case 17:case"end":return t.stop()}},null,this,[[0,13]],Promise)}},{key:"findType",value:function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(0!=this.state.address_id){t.next=5;break}return t.next=3,n.default.awrap(this.getInitialLocation());case 3:t.next=7;break;case 5:return t.next=7,n.default.awrap(this.edit_address());case 7:case"end":return t.stop()}},null,this,null,Promise)}},{key:"setLocation",value:function(){var t={latitude:parseFloat(this.props.data.latitude),longitude:parseFloat(this.props.data.longitude),latitudeDelta:S.LATITUDE_DELTA,longitudeDelta:S.LONGITUDE_DELTA};this.setState({pin_code:this.props.data.pin_code,address:this.props.data.address,door_no:this.props.data.door_no,mapRegion:t})}},{key:"getInitialLocation",value:function(){var t=this;return n.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,n.default.awrap(P.default.getCurrentPosition(function(s){var o;return n.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return t.setState({latitude:s.coords.latitude,longitude:s.coords.longitude}),l.next=3,n.default.awrap(s.coords.latitude);case 3:return l.t0=l.sent,l.next=6,n.default.awrap(s.coords.longitude);case 6:l.t1=l.sent,l.t2=S.LATITUDE_DELTA,l.t3=S.LONGITUDE_DELTA,o={latitude:l.t0,longitude:l.t1,latitudeDelta:l.t2,longitudeDelta:l.t3},t.setState({mapRegion:o,open_map:1});case 11:case"end":return l.stop()}},null,null,null,Promise)},function(t){return console.log(t)},{enableHighAccuracy:!1,timeout:1e4}));case 2:case"end":return s.stop()}},null,null,null,Promise)}},{key:"render",value:function(){var t=this;this.props.isLoding;return h.default.createElement(_.Container,{keyboardShouldPersistTaps:"always",style:R.address_style1},h.default.createElement(y.View,null,h.default.createElement(y.View,{style:R.address_style2},h.default.createElement(y.TouchableOpacity,{style:R.address_style3,onPress:this.handleBackButtonClick,activeOpacity:1},h.default.createElement(_.Icon,{onPress:this.handleBackButtonClick,style:R.address_style4,name:"arrow-back"})),h.default.createElement(y.View,{style:R.address_style5}),h.default.createElement(y.Text,{style:R.address_style6},"Address"))),1==this.state.open_map&&h.default.createElement(_.Content,{keyboardShouldPersistTaps:"always"},h.default.createElement(y.View,{style:R.address_style7},h.default.createElement(w.default,{provider:w.PROVIDER_GOOGLE,ref:function(s){t.mapRef=s},style:R.address_style8,initialRegion:this.state.mapRegion,onRegionChangeComplete:function(s){t.onRegionChange(s)}}),h.default.createElement(y.View,{style:R.address_style9},h.default.createElement(y.View,{style:R.address_style10},h.default.createElement(y.Image,{style:R.address_style11,source:S.pin})))),h.default.createElement(y.View,{style:R.address_style12},h.default.createElement(y.View,{style:R.address_style13},h.default.createElement(_.Left,null,h.default.createElement(y.Text,{style:R.address_style14},"Door no / Landmark"))),h.default.createElement(y.View,{style:R.address_style15},h.default.createElement(y.TextInput,{style:R.address_style16,onChangeText:function(s){return t.setState({door_no:s})},value:this.state.door_no})),h.default.createElement(y.View,{style:R.address_style17}),h.default.createElement(y.View,{style:R.address_style18},h.default.createElement(_.Left,null,h.default.createElement(y.Text,{style:R.address_style19},"Address"))),h.default.createElement(y.View,{style:R.address_style20},h.default.createElement(_.Left,null,h.default.createElement(y.Text,{style:R.address_style21},this.state.address))))),1==this.state.open_map&&h.default.createElement(_.Footer,{style:R.address_style22},h.default.createElement(y.View,{style:R.address_style23},h.default.createElement(v.Button,{title:"DONE",onPress:0!=this.state.address_id?this.update_address:this.add_address,buttonStyle:R.address_style24,titleStyle:R.address_style25}))))}}]),A})(h.Component);var T=(0,b.connect)(function(t){return{isLoding:t.address.isLoding,message:t.address.isLoding,status:t.address.isLoding,address:t.address.address,lat:t.address.lat,lng:t.address.lng,data:t.address.data}},function(t){return{serviceActionPending:function(){return t((0,k.serviceActionPending)())},serviceActionError:function(s){return t((0,k.serviceActionError)(s))},serviceActionSuccess:function(s){return t((0,k.serviceActionSuccess)(s))},editServiceActionPending:function(){return t((0,k.editServiceActionPending)())},editServiceActionError:function(s){return t((0,k.editServiceActionError)(s))},editServiceActionSuccess:function(s){return t((0,k.editServiceActionSuccess)(s))},updateServiceActionPending:function(){return t((0,k.updateServiceActionPending)())},updateServiceActionError:function(s){return t((0,k.updateServiceActionError)(s))},updateServiceActionSuccess:function(s){return t((0,k.updateServiceActionSuccess)(s))}}})(C);e.default=T;var R=y.StyleSheet.create({address_style1:{backgroundColor:A.theme_bg_three},address_style2:{alignItems:'flex-start',margin:10},address_style3:{width:100,justifyContent:'center'},address_style4:{color:A.theme_fg_two,fontSize:30},address_style5:{margin:5},address_style6:{fontSize:25,color:A.theme_fg_two,fontFamily:S.font_title},address_style7:{alignItems:'center',justifyContent:'center'},address_style8:{width:'100%',height:S.height_50},address_style9:{position:'absolute'},address_style10:{height:30,width:25,top:-15},address_style11:{flex:1,width:void 0,height:void 0},address_style12:{width:'100%',padding:20,backgroundColor:A.theme_bg_three,marginBottom:10},address_style13:{flexDirection:'row'},address_style14:{fontSize:15,fontFamily:S.font_title,color:A.theme_fg_two},address_style15:{width:'100%',marginTop:5},address_style16:{borderColor:A.theme_fg,borderBottomWidth:1,padding:10,borderRadius:5,height:40,fontFamily:S.font_description},address_style17:{marginTop:20},address_style18:{flexDirection:'row'},address_style19:{fontSize:15,fontFamily:S.font_title,color:A.theme_fg_two},address_style20:{flexDirection:'row'},address_style21:{fontSize:15,marginTop:5,fontFamily:S.font_description},address_style22:{backgroundColor:A.theme_bg_three},address_style23:{width:'90%',justifyContent:'center'},address_style24:{backgroundColor:A.theme_bg,fontFamily:S.font_title},address_style25:{color:A.theme_bg_three,fontFamily:S.font_description}})},1358,[9,1,101,26,27,40,37,39,36,56,2,984,830,1359,415,1288,1181,941,472,829,819,1376]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Animated",{enumerable:!0,get:function(){return u.Animated}}),Object.defineProperty(e,"MAP_TYPES",{enumerable:!0,get:function(){return u.MAP_TYPES}}),Object.defineProperty(e,"ProviderPropType",{enumerable:!0,get:function(){return u.ProviderPropType}}),Object.defineProperty(e,"Marker",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Overlay",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"Polyline",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Heatmap",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"Polygon",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"Circle",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"UrlTile",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"WMSTile",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"LocalTile",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"Callout",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"CalloutSubview",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"AnimatedRegion",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"Geojson",{enumerable:!0,get:function(){return E.default}}),e.default=e.OverlayAnimated=e.MarkerAnimated=e.PROVIDER_DEFAULT=e.PROVIDER_GOOGLE=void 0;var u=n(r(d[2])),f=t(r(d[3])),l=t(r(d[4])),o=t(r(d[5])),c=t(r(d[6])),b=t(r(d[7])),P=t(r(d[8])),O=t(r(d[9])),y=t(r(d[10])),p=t(r(d[11])),j=t(r(d[12])),v=t(r(d[13])),A=t(r(d[14])),E=t(r(d[15])),R=u.default.PROVIDER_GOOGLE;e.PROVIDER_GOOGLE=R;var _=u.default.PROVIDER_DEFAULT;e.PROVIDER_DEFAULT=_;var T=f.default.Animated;e.MarkerAnimated=T;var D=l.default.Animated;e.OverlayAnimated=D;var G=u.default;e.default=G},1359,[1,9,1360,1361,1369,1364,1373,1365,1366,1370,1371,1372,1367,1368,1374,1375]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ProviderPropType=e.Animated=e.MAP_TYPES=void 0;var o=n(r(d[2])),u=n(r(d[3])),l=n(r(d[4])),s=n(r(d[5])),f=n(r(d[6])),p=n(r(d[7])),c=n(r(d[8])),h=n(r(d[9])),v=n(r(d[10])),y=n(r(d[11])),M=n(r(d[12])),C=n(r(d[13])),P=r(d[14]),b=n(r(d[15])),R=n(r(d[16])),_=n(r(d[17])),k=n(r(d[18])),S=n(r(d[19])),O=n(r(d[20])),T=n(r(d[21])),w=n(r(d[22])),A=n(r(d[23])),D=n(r(d[24])),E=n(r(d[25])),N=n(r(d[26])),I=n(r(d[27])),L=r(d[28]),j=t(r(d[29]));function q(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function B(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function x(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{},o=n.edgePadding,u=void 0===o?{top:0,right:0,bottom:0,left:0}:o,l=n.animated,s=void 0===l||l;this._runCommand('fitToSuppliedMarkers',[t,u,s])}},{key:"fitToCoordinates",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.edgePadding,u=void 0===o?{top:0,right:0,bottom:0,left:0}:o,l=n.animated,s=void 0===l||l;this._runCommand('fitToCoordinates',[t,u,s])}},{key:"getMapBoundaries",value:function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if('android'!==P.Platform.OS){t.next=6;break}return t.next=3,l.default.awrap(P.NativeModules.AirMapModule.getMapBoundaries(this._getHandle()));case 3:return t.abrupt("return",t.sent);case 6:if('ios'!==P.Platform.OS){t.next=10;break}return t.next=9,l.default.awrap(this._runCommand('getMapBoundaries',[]));case 9:return t.abrupt("return",t.sent);case 10:return t.abrupt("return",Promise.reject('getMapBoundaries not supported on this platform'));case 11:case"end":return t.stop()}},null,this,null,Promise)}},{key:"setMapBoundaries",value:function(t,n){this._runCommand('setMapBoundaries',[t,n])}},{key:"setIndoorActiveLevelIndex",value:function(t){this._runCommand('setIndoorActiveLevelIndex',[t])}},{key:"takeSnapshot",value:function(t){var n=this;if('ios'!==P.Platform.OS||4!==arguments.length){var o={width:t.width||0,height:t.height||0,region:t.region||{},format:t.format||'png',quality:t.quality||1,result:t.result||'file'};if('png'!==o.format&&'jpg'!==o.format)throw new Error('Invalid format specified');if('file'!==o.result&&'base64'!==o.result)throw new Error('Invalid result specified');return'android'===P.Platform.OS?P.NativeModules.AirMapModule.takeSnapshot(this._getHandle(),o):'ios'===P.Platform.OS?new Promise(function(t,u){n._runCommand('takeSnapshot',[o.width,o.height,o.region,o.format,o.quality,o.result,function(n,o){n?u(n):t(o)}])}):Promise.reject('takeSnapshot not supported on this platform')}console.warn('Old takeSnapshot API has been deprecated; will be removed in the near future');var u=arguments[0],l=arguments[1],s=arguments[2],f=arguments[3];this._runCommand('takeSnapshot',[u||0,l||0,s||{},'png',1,'legacy',f])}},{key:"pointForCoordinate",value:function(t){return'android'===P.Platform.OS?P.NativeModules.AirMapModule.pointForCoordinate(this._getHandle(),t):'ios'===P.Platform.OS?this._runCommand('pointForCoordinate',[t]):Promise.reject('pointForCoordinate not supported on this platform')}},{key:"coordinateForPoint",value:function(t){return'android'===P.Platform.OS?P.NativeModules.AirMapModule.coordinateForPoint(this._getHandle(),t):'ios'===P.Platform.OS?this._runCommand('coordinateForPoint',[t]):Promise.reject('coordinateForPoint not supported on this platform')}},{key:"getMarkersFrames",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return'ios'===P.Platform.OS?this._runCommand('getMarkersFrames',[t]):Promise.reject('getMarkersFrames not supported on this platform')}},{key:"boundingBoxForRegion",value:function(t){return{northEast:{latitude:t.latitude+t.latitudeDelta/2,longitude:t.longitude+t.longitudeDelta/2},southWest:{latitude:t.latitude-t.latitudeDelta/2,longitude:t.longitude-t.longitudeDelta/2}}}},{key:"_uiManagerCommand",value:function(t){var n=P.NativeModules.UIManager,o=(0,L.getAirMapName)(this.props.provider);return n.getViewManagerConfig?n.getViewManagerConfig(o).Commands[t]:n[o].Commands[t]}},{key:"_mapManagerCommand",value:function(t){if('UI'===(0,L.getAirMapName)(this.props.provider)){var n=P.NativeModules.UIManager;return n.getViewManagerConfig?n.getViewManagerConfig(t):n[t]}return P.NativeModules[(0,L.getAirMapName)(this.props.provider)+"Manager"][t]}},{key:"_getHandle",value:function(){return(0,P.findNodeHandle)(this.map)}},{key:"_runCommand",value:function(t,n){switch(P.Platform.OS){case'android':return P.NativeModules.UIManager.dispatchViewManagerCommand(this._getHandle(),this._uiManagerCommand(t),n);case'ios':return this._mapManagerCommand(t).apply(void 0,[this._getHandle()].concat((0,u.default)(n)));default:return Promise.reject("Invalid platform was passed: "+P.Platform.OS)}}},{key:"render",value:function(){var t,n=this;if(this.state.isReady?(t=x({region:null,initialRegion:null,onMarkerPress:this._onMarkerPress,onChange:this._onChange,onMapReady:this._onMapReady,onLayout:this._onLayout},this.props),'ios'===P.Platform.OS&&t.provider===j.PROVIDER_DEFAULT&&F.includes(t.mapType)&&(t.mapType=U.standard),t.handlePanDrag=!!t.onPanDrag):t={style:this.props.style,region:null,initialRegion:null,onMarkerPress:this._onMarkerPress,onChange:this._onChange,onMapReady:this._onMapReady,onLayout:this._onLayout},'android'===P.Platform.OS&&this.props.liteMode)return C.default.createElement(W,(0,o.default)({ref:function(t){n.map=t}},t));var u=Z(this.props.provider);return C.default.createElement(u,(0,o.default)({ref:function(t){n.map=t}},t))}}]),b})(C.default.Component);G.propTypes=z,G.viewConfig={uiViewClassName:'AIRMap',validAttributes:{region:!0}},G.childContextTypes=L.contextTypes,G.MAP_TYPES=U;var Y=function(t){return(0,P.requireNativeComponent)(t,G,{nativeOnly:{onChange:!0,onMapReady:!0,onKmlReady:!0,handlePanDrag:!0}})},K={default:Y('AIRMap')};'android'===P.Platform.OS?K.google=K.default:K.google=L.googleMapIsInstalled?Y('AIRGoogleMap'):(0,L.createNotSupportedComponent)('react-native-maps: AirGoogleMaps dir must be added to your xCode project to support GoogleMaps on iOS.');var W,Z=function(t){return K[t||'default']};W=P.NativeModules.UIManager.getViewManagerConfig?P.NativeModules.UIManager.getViewManagerConfig('AIRMapLite')&&(0,P.requireNativeComponent)('AIRMapLite',G,{nativeOnly:{onChange:!0,onMapReady:!0,handlePanDrag:!0}}):P.NativeModules.UIManager.AIRMapLite&&(0,P.requireNativeComponent)('AIRMapLite',G,{nativeOnly:{onChange:!0,onMapReady:!0,handlePanDrag:!0}});var J=P.Animated.createAnimatedComponent(G);e.Animated=J;var Q=M.default.oneOf(Object.values(j));e.ProviderPropType=Q,G.Marker=b.default,G.Polyline=R.default,G.Polygon=_.default,G.Circle=k.default,G.UrlTile=w.default,G.MapWMSTile=A.default,G.LocalTile=D.default,G.Heatmap=E.default,G.Overlay=T.default,G.Callout=S.default,G.CalloutSubview=O.default,(0,o.default)(G,j),G.ProviderPropType=Q,G.Animated=J,G.AnimatedRegion=N.default,G.Geojson=I.default;var X=G;e.default=X},1360,[9,1,13,22,101,26,27,40,37,39,36,48,68,56,2,1361,1364,1365,1366,1367,1368,1369,1370,1371,1372,1373,1374,1375,1362,1363]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(r(d[2])),u=o(r(d[3])),l=o(r(d[4])),s=o(r(d[5])),f=o(r(d[6])),c=o(r(d[7])),p=o(r(d[8])),h=o(r(d[9])),y=o(r(d[10])),b=o(r(d[11])),v=o(r(d[12])),C=r(d[13]),P=t(r(d[14]));function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function w(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);o&&(u=u.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,u)}return n}function O(t){for(var o=1;oMapMarker',validAttributes:{coordinate:!0}};var _=C.StyleSheet.create({marker:{position:'absolute',backgroundColor:'transparent'}});M.Animated=C.Animated.createAnimatedComponent(M);var D=(0,P.default)(M,{componentType:'Marker',providers:{google:{ios:P.SUPPORTED,android:P.USES_DEFAULT_IMPLEMENTATION}}});e.default=D},1361,[9,1,13,22,26,27,40,37,39,36,48,68,56,2,1362]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getAirMapName=O,e.default=function(t,n){var O=n.componentType,c=n.providers,v={},_=function(){return(0,o.requireNativeComponent)(P(null,O),t)};return t.contextTypes=R,t.prototype.getAirComponent=function(){var n=this.context.provider||E.PROVIDER_DEFAULT;if(v[n])return v[n];if(n===E.PROVIDER_DEFAULT)return v[E.PROVIDER_DEFAULT]=_(),v[E.PROVIDER_DEFAULT];var R=c[n][o.Platform.OS],D=P(n,O);return R===u?v[n]=T("react-native-maps: "+D+" is not supported on "+o.Platform.OS):R===p?(n!==E.PROVIDER_GOOGLE||'ios'===o.Platform.OS&&I)&&(v[n]=(0,o.requireNativeComponent)(D,t)):(v[E.PROVIDER_DEFAULT]||(v[E.PROVIDER_DEFAULT]=_()),v[n]=v[E.PROVIDER_DEFAULT]),v[n]},t.prototype.getUIManagerCommand=function(t){return D(P(this.context.provider,O)).Commands[t]},t.prototype.getMapManagerCommand=function(t){var n=P(this.context.provider,O)+"Manager";return o.NativeModules[n][t]},t},e.googleMapIsInstalled=e.createNotSupportedComponent=e.contextTypes=e.NOT_SUPPORTED=e.USES_DEFAULT_IMPLEMENTATION=e.SUPPORTED=void 0;var n=t(r(d[1])),o=r(d[2]),E=r(d[3]),p='SUPPORTED';e.SUPPORTED=p;e.USES_DEFAULT_IMPLEMENTATION='USES_DEFAULT_IMPLEMENTATION';var u='NOT_SUPPORTED';function O(t){return'android'===o.Platform.OS?'AIRMap':t===E.PROVIDER_GOOGLE?'AIRGoogleMap':'AIRMap'}function P(t,n){return""+O(t)+n}e.NOT_SUPPORTED=u;var R={provider:n.default.string};e.contextTypes=R;var T=function(t){return function(){return console.error(t),null}};function D(t){var n=o.NativeModules.UIManager;return n.getViewManagerConfig?n.getViewManagerConfig(t):n[t]}e.createNotSupportedComponent=T;var I=!!D(O(E.PROVIDER_GOOGLE));e.googleMapIsInstalled=I},1362,[1,68,2,1363]);
+__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.PROVIDER_GOOGLE=e.PROVIDER_DEFAULT=void 0;e.PROVIDER_DEFAULT=null;e.PROVIDER_GOOGLE='google'},1363,[]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(r(d[2])),u=o(r(d[3])),l=o(r(d[4])),f=o(r(d[5])),c=o(r(d[6])),s=o(r(d[7])),p=o(r(d[8])),y=o(r(d[9])),b=o(r(d[10])),O=r(d[11]),P=t(r(d[12]));function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function v(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);o&&(u=u.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,u)}return n}function j(t){for(var o=1;oMapOverlay',validAttributes:{image:!0}},w.defaultProps={opacity:1};var A=h.StyleSheet.create({overlay:{position:'absolute',backgroundColor:'transparent'}});w.Animated=h.Animated.createAnimatedComponent(w);var S=(0,O.default)(w,{componentType:'Overlay',providers:{google:{ios:O.SUPPORTED,android:O.USES_DEFAULT_IMPLEMENTATION}}});e.default=S},1369,[9,1,13,26,27,37,39,36,48,56,68,2,1362]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),u=n(r(d[3])),f=n(r(d[4])),c=n(r(d[5])),l=n(r(d[6])),p=n(r(d[7])),s=n(r(d[8])),y=n(r(d[9])),b=r(d[10]),O=t(r(d[11]));function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function h(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);n&&(u=u.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,u)}return o}function P(t){for(var n=1;n1&&(n.holes=t.slice(1))):n.coordinates=t,n},s=function(t){return{latitude:t[1],longitude:t[0]}},P=function(t){return t.map(s)},O=function(t){var o=t.geometry;return'Point'===o.type?[s(o.coordinates)]:'MultiPoint'===o.type?o.coordinates.map(s):'LineString'===o.type?[P(o.coordinates)]:'MultiLineString'===o.type?o.coordinates.map(P):'Polygon'===o.type?o.coordinates.map(P):'MultiPolygon'===o.type?o.coordinates.map(function(t){return t.map(P)}):[]},v=function(t){var o=y(t.geojson.features);return n.default.createElement(n.default.Fragment,null,o.map(function(o,c){return'point'===o.type?n.default.createElement(u.default.Marker,{key:c,coordinate:o.coordinates,pinColor:t.color}):'polygon'===o.type?n.default.createElement(u.default.Polygon,{key:c,coordinates:o.coordinates,holes:o.holes,strokeColor:t.strokeColor,fillColor:t.fillColor,strokeWidth:t.strokeWidth}):'polyline'===o.type?n.default.createElement(u.default.Polyline,{key:c,coordinates:o.coordinates,strokeColor:t.strokeColor,strokeWidth:t.strokeWidth}):void 0}))};e.default=v},1375,[1,48,56,1360]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0])(r(d[1]));m.exports=t.default},1376,[1,1377]);
+__d(function(g,r,i,a,m,e,d){var o=r(d[0]),t=o(r(d[1])),n=r(d[2]),s=o(r(d[3])),c=r(d[4]),u=[],l=!1,v={setRNConfiguration:function(o){n.RNCGeolocation.setConfiguration&&n.RNCGeolocation.setConfiguration(o)},requestAuthorization:function(){n.RNCGeolocation.requestAuthorization()},getCurrentPosition:function(o,u,l){return t.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:(0,s.default)('function'==typeof o,'Must provide a valid geo_success callback.'),n.RNCGeolocation.getCurrentPosition(l||{},o,u||c.logError);case 2:case"end":return t.stop()}},null,null,null,Promise)},watchPosition:function(o,t,s){l||(n.RNCGeolocation.startObserving(s||{}),l=!0);var c=u.length;return u.push([n.GeolocationEventEmitter.addListener('geolocationDidChange',o),t?n.GeolocationEventEmitter.addListener('geolocationError',t):null]),c},clearWatch:function(o){var t=u[o];if(t){t[0].remove();var n=t[1];n&&n.remove(),u[o]=void 0;for(var s=!0,c=0;c1&&t.props.data.map(function(n,o){return t.props.dotClickEnabled?S.createElement(x.TouchableOpacity,{key:o,style:[I.dot,t._rtlSafeIndex(o)===t.state.activeIndex?t.props.activeDotStyle:t.props.dotStyle],onPress:function(){return t.goToSlide(o,!0)}}):S.createElement(x.View,{key:o,style:[I.dot,t._rtlSafeIndex(o)===t.state.activeIndex?t.props.activeDotStyle:t.props.dotStyle]})})),s,o))},t._onMomentumScrollEnd=function(n){var o=n.nativeEvent.contentOffset.x,s=t._rtlSafeIndex(Math.round(o/t.state.width));if(s!==t.state.activeIndex){var l=t.state.activeIndex;t.setState({activeIndex:s}),t.props.onSlideChange&&t.props.onSlideChange(s,l)}},t._onLayout=function(n){var o=n.nativeEvent.layout,s=o.width,l=o.height;if(s!==t.state.width||l!==t.state.height){t.setState({width:s,height:l});setTimeout(function(){var n;null==(n=t.flatList)||n.scrollToOffset({offset:t._rtlSafeIndex(t.state.activeIndex)*s,animated:!1})},0)}},t}return l(w,[{key:"render",value:function(){var o=this,s=this.props,l=s.renderPagination,u=(s.activeDotStyle,s.dotStyle,s.skipLabel,s.doneLabel,s.nextLabel,s.prevLabel,s.renderItem,s.data),c=s.extraData,p=n(s,["renderPagination","activeDotStyle","dotStyle","skipLabel","doneLabel","nextLabel","prevLabel","renderItem","data","extraData"]),f=B.default(c,this.state.width);return S.createElement(x.View,{style:I.flexOne},S.createElement(x.FlatList,t({ref:function(t){return o.flatList=t},data:this.props.data,horizontal:!0,pagingEnabled:!0,showsHorizontalScrollIndicator:!1,bounces:!1,style:I.flatList,renderItem:this._renderItem,onMomentumScrollEnd:this._onMomentumScrollEnd,extraData:f,onLayout:this._onLayout,initialNumToRender:u.length},p)),l?l(this.state.activeIndex):this._renderPagination())}}]),w})(S.Component);e.default=w,w.defaultProps={activeDotStyle:{backgroundColor:'rgba(255, 255, 255, .9)'},dotStyle:{backgroundColor:'rgba(0, 0, 0, .2)'},dotClickEnabled:!0,skipLabel:'Skip',doneLabel:'Done',nextLabel:'Next',prevLabel:'Back',showDoneButton:!0,showNextButton:!0,showPrevButton:!1,showSkipButton:!1,bottomButton:!1};var I=x.StyleSheet.create({flexOne:{flex:1},flatList:{flex:1,flexDirection:_?'row-reverse':'row'},paginationContainer:{position:'absolute',bottom:16,left:16,right:16,justifyContent:'center'},paginationDots:{height:16,margin:16,flexDirection:_?'row-reverse':'row',justifyContent:'center',alignItems:'center'},dot:{width:10,height:10,borderRadius:5,marginHorizontal:4},leftButtonContainer:{position:'absolute',left:0},rightButtonContainer:{position:'absolute',right:0},bottomButton:{flex:1,backgroundColor:'rgba(0, 0, 0, .3)',alignItems:'center',justifyContent:'center'},transparentBottomButton:{flex:1,alignItems:'center',justifyContent:'center'},buttonText:{color:'white',fontSize:18,padding:12}})},1392,[13,54,48,26,27,37,39,36,56,2,1393]);
+__d(function(g,r,i,a,m,e,d){"use strict";function n(n,t){for(var u=0;u=t&&(n[u]='');this.setState({codeArr:n,currentIndex:t})}},{key:"_isMatchingCode",value:function(t,n){return arguments.length>2&&void 0!==arguments[2]&&arguments[2]?t.toLowerCase()==n.toLowerCase():t==n}},{key:"_getContainerStyle",value:function(t,n){switch(n){case'left':return{justifyContent:'flex-start',height:t};case'center':return{justifyContent:'center',height:t};case'right':return{justifyContent:'flex-end',height:t};default:return{justifyContent:'space-between',height:t}}}},{key:"_getInputSpaceStyle",value:function(t){switch(this.props.inputPosition){case'left':return{marginRight:t};case'center':return{marginRight:t/2,marginLeft:t/2};case'right':return{marginLeft:t};default:return{marginRight:0,marginLeft:0}}}},{key:"_getClassStyle",value:function(t,n){var o=this.props,u=o.cellBorderWidth,c=o.activeColor,s=o.inactiveColor,l=o.space,f=I(I({},this._getInputSpaceStyle(l)),{},{color:c});switch(t){case'clear':return v.default.merge(f,{borderWidth:0});case'border-box':return v.default.merge(f,{borderWidth:u,borderColor:n?c:s});case'border-circle':return v.default.merge(f,{borderWidth:u,borderRadius:50,borderColor:n?c:s});case'border-b':return v.default.merge(f,{borderBottomWidth:u,borderColor:n?c:s});case'border-b-t':return v.default.merge(f,{borderTopWidth:u,borderBottomWidth:u,borderColor:n?c:s});case'border-l-r':return v.default.merge(f,{borderLeftWidth:u,borderRightWidth:u,borderColor:n?c:s});default:return t}}},{key:"_onKeyPress",value:function(t){if('Backspace'===t.nativeEvent.key){var n=this.state.currentIndex,o=n>0?n-1:0;this._setFocus(o)}}},{key:"_onInputCode",value:function(t,n){var o=this.props,u=o.codeLength,c=o.onFulfill,s=o.compareWithCode,l=o.ignoreCase,f=v.default.clone(this.state.codeArr);if(f[n]=t,n==u-1){var p=f.join('');if(s){var h=this._isMatchingCode(p,s,l);c(h,p),!h&&this.clear()}else c(p);this._blur(this.state.currentIndex)}else this._setFocus(this.state.currentIndex+1);this.setState(function(t){return{codeArr:f,currentIndex:t.currentIndex+1}})}},{key:"render",value:function(){for(var t=this,n=this.props,u=n.codeLength,c=n.codeInputStyle,s=n.containerStyle,l=n.inputPosition,f=n.autoFocus,p=n.className,y=n.size,v=n.activeColor,C={width:y,height:y},I=[],_=function(n){var u=n;I.push(h.default.createElement(b.TextInput,(0,o.default)({key:u,ref:function(n){return t.codeInputRefs[u]=n},style:[w.codeInput,C,t._getClassStyle(p,t.state.currentIndex==u),c],underlineColorAndroid:"transparent",selectionColor:v,keyboardType:'name-phone-pad',returnKeyType:'done'},t.props,{autoFocus:f&&0==u,onFocus:function(){return t._onFocus(u)},value:t.state.codeArr[u]?t.state.codeArr[u].toString():'',onChangeText:function(n){return t._onInputCode(n,u)},onKeyPress:function(n){return t._onKeyPress(n)},maxLength:1})))},x=0;x0?l.maxLength:null,autoFocus:!0,onKeyPress:this.handleOnKeyPress,underlineColorAndroid:"transparent",placeholder:o,placeholderTextColor:u,onChangeText:this.handleOnChangeText,value:n})),f.default.createElement(h.View,{style:T.btn_container},f.default.createElement(h.TouchableOpacity,{style:T.touch_modal,onPress:this.handleOnCloseDialog},f.default.createElement(h.Text,{style:T.btn_modal_left},b)),f.default.createElement(h.View,{style:T.divider_btn}),f.default.createElement(h.TouchableOpacity,{style:T.touch_modal,onPress:this.handleSubmit},f.default.createElement(h.Text,{style:T.btn_modal_right},x)))))))}}]),O})(f.PureComponent),T=h.StyleSheet.create({container:y({flex:1,width:'100%',height:'100%',flexDirection:'column',justifyContent:'center',alignItems:'center'},h.Platform.select({android:{backgroundColor:'rgba(0,0,0,0.62)'}})),modal_container:y({marginLeft:30,marginRight:30},h.Platform.select({ios:{backgroundColor:'#E3E6E7',borderRadius:10,minWidth:300},android:{backgroundColor:'#fff',elevation:24,minWidth:280,borderRadius:5}})),modal_body:y({},h.Platform.select({ios:{padding:10},android:{padding:24}})),title_modal:y({fontWeight:'bold',fontSize:20},h.Platform.select({ios:{marginTop:10,textAlign:'center',marginBottom:5},android:{textAlign:'left'}})),message_modal:y({fontSize:16},h.Platform.select({ios:{textAlign:'center',marginBottom:10},android:{textAlign:'left',marginTop:20}})),input_container:y({textAlign:'left',fontSize:16,color:'rgba(0,0,0,0.54)'},h.Platform.select({ios:{backgroundColor:'white',borderRadius:5,paddingTop:5,borderWidth:1,borderColor:'#B0B0B0',paddingBottom:5,paddingLeft:10,marginBottom:15,marginTop:10},android:{marginTop:8,borderBottomWidth:2,borderColor:'#009688'}})),btn_container:y({flex:1,flexDirection:'row'},h.Platform.select({ios:{justifyContent:'center',borderTopWidth:1,borderColor:'#B0B0B0',maxHeight:48},android:{alignSelf:'flex-end',maxHeight:52,paddingTop:8,paddingBottom:8}})),divider_btn:y({},h.Platform.select({ios:{width:1,backgroundColor:'#B0B0B0'},android:{width:0}})),touch_modal:y({},h.Platform.select({ios:{flex:1},android:{paddingRight:8,minWidth:64,height:36}})),btn_modal_left:y({},h.Platform.select({fontWeight:'bold',ios:{fontSize:18,color:'#408AE2',textAlign:'center',borderRightWidth:5,borderColor:'#B0B0B0',padding:10,height:48,maxHeight:48},android:{textAlign:'right',color:'#009688',padding:8}})),btn_modal_right:y({},h.Platform.select({fontWeight:'bold',ios:{fontSize:18,color:'#408AE2',textAlign:'center',padding:10},android:{textAlign:'right',color:'#009688',padding:8}}))}),C=O;e.default=C},1413,[9,1,48,26,27,37,39,36,56,2]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(r(d[2])),s=n(r(d[3])),o=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),_=t(r(d[8])),y=r(d[9]),h=r(d[10]),p=(r(d[11]),n(r(d[12])),n(r(d[13])),r(d[14])),w=t(r(d[15])),v=(n(r(d[16])),n(r(d[17]))),S=n(r(d[18])),b=(r(d[19]),r(d[20])),x=r(d[21]),E=n(r(d[22]));function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R=(function(t){(0,u.default)(P,t);var n,w,R=(n=P,w=L(),function(){var t,l=(0,f.default)(n);if(w){var s=(0,f.default)(this).constructor;t=Reflect.construct(l,arguments,s)}else t=l.apply(this,arguments);return(0,c.default)(this,t)});function P(t){var n;return(0,s.default)(this,P),(n=R.call(this,t)).get_doctors=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:1==n.state.type?n.get_doctors_by_category():2==n.state.type?n.get_doctors_by_symptoms():3==n.state.type&&n.get_doctors_by_ratings();case 1:case"end":return t.stop()}},null,null,null,Promise)},n.get_symptom_doctors=function(t){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return n.setState({isLoding:!0}),t.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+get_symptom_doctors,data:{service_id:n.state.data.id}}).then(function(t){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:n.setState({isLoding:!1,api_status:1}),n.setState({result:t.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(t){n.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return t.stop()}},null,null,null,Promise)},n.doctorsList=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.default.awrap(v.default.get(p.api_url1+"/doctors/").then(function(t){return n.setState({doctors:t.data.data})}));case 2:case"end":return t.stop()}},null,null,null,Promise)},n.doctor_details=function(t){n.props.navigation.navigate('DoctorDetail',{data:t})},n.handleBackButtonClick=function(){n.props.navigation.goBack(null)},n.state={id:n.props.route.params.id,sub_id:n.props.route.params.sub_id,type:n.props.route.params.type,result:[],api_status:0,isLoding:!1,doctors:[]},n.doctorsList(),n}return(0,o.default)(P,[{key:"get_doctors_by_category",value:function(){var t=this;return l.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+p.get_doctor_by_specialists,data:{specialist:this.state.id,specialist_sub_category:this.state.sub_id}}).then(function(n){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1,api_status:1}),t.setState({result:n.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"get_doctors_by_symptoms",value:function(){var t=this;return l.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+p.get_doctor_by_services,data:{service_id:this.state.id}}).then(function(n){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1,api_status:1}),t.setState({result:n.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"get_doctors_by_ratings",value:function(){var t=this;return l.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+p.get_doctor_by_ratings}).then(function(n){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1,api_status:1}),t.setState({result:n.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"render",value:function(){var t=this;return _.default.createElement(h.Container,null,_.default.createElement(y.View,null,_.default.createElement(y.View,{style:C.list_style1},_.default.createElement(y.TouchableOpacity,{style:C.list_style2,onPress:this.handleBackButtonClick,activeOpacity:1},_.default.createElement(y.Image,{style:{width:20,height:20,backgroundColor:"white",marginVertical:12},source:S.default})),_.default.createElement(y.View,{style:C.list_style4}),_.default.createElement(y.Text,{style:C.list_style5},"Doctor List"))),_.default.createElement(h.Content,null,_.default.createElement(h.List,null),_.default.createElement(h.List,null,_.default.createElement(y.FlatList,{data:this.state.doctors,renderItem:function(n){var l=n.item;n.index;return _.default.createElement(h.ListItem,{avatar:!0,onPress:t.doctor_details.bind(t,l)},_.default.createElement(h.Col,{style:{width:75}},_.default.createElement(h.Thumbnail,{source:{uri:l.profilePicture}})),_.default.createElement(h.Col,null,_.default.createElement(y.Text,{style:C.list_style6},"Dr.",l.name),_.default.createElement(y.View,{style:C.list_style7}),_.default.createElement(y.Text,{style:C.list_style8},l.qualification," (",l.category.name,")"),_.default.createElement(y.View,{style:C.list_style9}),_.default.createElement(y.Text,{style:C.list_style10},l.experience," Years experience"),_.default.createElement(y.View,{style:C.list_style11}),parseInt(l.overall_rating)>0&&_.default.createElement(x.Rating,{ratingCount:5,startingValue:l.overall_rating,imageSize:12,readonly:!0})))},keyExtractor:function(t){return t.id}})),0==this.state.result.length&&1==this.state.api_status&&_.default.createElement(y.View,null,_.default.createElement(y.View,{style:C.list_style15},_.default.createElement(E.default,{source:p.doctor_list,autoPlay:!0,loop:!0})),_.default.createElement(y.Text,{style:C.list_style16},"Sorry, no doctor list found"))),_.default.createElement(b.Loader,{visible:this.state.isLoding}))}}]),P})(_.Component);e.default=R;var C=y.StyleSheet.create({list_style1:{alignItems:'flex-start',margin:10},list_style2:{width:100,justifyContent:'center'},list_style3:{color:w.theme_fg_two,fontSize:30},list_style4:{margin:5},list_style5:{fontSize:25,color:w.theme_fg_two,fontFamily:p.font_title},list_style6:{fontSize:14,fontFamily:p.font_title,color:w.theme_fg_two},list_style7:{margin:1},list_style8:{fontSize:12,color:w.grey,fontFamily:p.font_title},list_style9:{margin:1},list_style10:{fontSize:12,color:w.grey,fontFamily:p.font_title},list_style11:{margin:1},list_style12:{justifyContent:'center'},list_style13:{fontSize:18,fontFamily:p.font_title,color:w.theme_fg},list_style14:{margin:5},list_style15:{height:250,marginTop:'40%'},list_style16:{alignSelf:'center',fontFamily:p.font_title},header:{justifyContent:"flex-start",height:"10%",backgroundColor:w.theme_bg,borderBottomLeftRadius:45,borderBottomRightRadius:45,shadowOffset:{width:0,height:15},shadowColor:w.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},header_card:{alignItems:"center",borderRadius:15,justifyContent:"center"},header_card_item:{borderTopLeftRadius:15,borderTopRightRadius:15,borderBottomLeftRadius:15,borderBottomRightRadius:15,shadowOffset:{width:0,height:15},shadowColor:w.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},icon:{color:w.theme_fg_two},header_body:{flex:3,justifyContent:'center'},title:{alignSelf:'center',color:w.theme_fg_three,alignSelf:'center',fontSize:16,fontFamily:p.font_title},imagetwo:{alignSelf:'center',height:130,width:100,marginTop:10,marginLeft:40}})},1414,[9,1,101,26,27,37,39,36,56,2,984,830,1188,1249,415,819,860,941,1339,472,829,921,1143]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(r(d[2])),s=n(r(d[3])),o=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),_=t(r(d[8])),y=r(d[9]),h=r(d[10]),p=(r(d[11]),n(r(d[12])),n(r(d[13])),r(d[14])),w=t(r(d[15])),v=(n(r(d[16])),n(r(d[17]))),S=n(r(d[18])),b=(r(d[19]),r(d[20])),E=r(d[21]);n(r(d[22]));function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var L=(function(t){(0,u.default)(R,t);var n,w,L=(n=R,w=x(),function(){var t,l=(0,f.default)(n);if(w){var s=(0,f.default)(this).constructor;t=Reflect.construct(l,arguments,s)}else t=l.apply(this,arguments);return(0,c.default)(this,t)});function R(t){var n;return(0,s.default)(this,R),(n=L.call(this,t)).get_doctors=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:1==n.state.type?n.get_doctors_by_category():2==n.state.type?n.get_doctors_by_symptoms():3==n.state.type&&n.get_doctors_by_ratings();case 1:case"end":return t.stop()}},null,null,null,Promise)},n.get_symptom_doctors=function(t){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return n.setState({isLoding:!0}),t.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+get_symptom_doctors,data:{service_id:n.state.data.id}}).then(function(t){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:n.setState({isLoding:!1,api_status:1}),n.setState({result:t.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(t){n.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return t.stop()}},null,null,null,Promise)},n.doctorsList=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.default.awrap(v.default.get(p.api_url1+"/doctors/").then(function(t){return n.setState({doctors:t.data.data})}));case 2:case"end":return t.stop()}},null,null,null,Promise)},n.doctor_details=function(t){n.props.navigation.navigate('DoctorDetail',{data:t})},n.handleBackButtonClick=function(){n.props.navigation.goBack(null)},n.state={id:n.props.route.params.id,sub_id:n.props.route.params.sub_id,type:n.props.route.params.type,result:[],api_status:0,isLoding:!1,doctors:[]},n.doctorsList(),n}return(0,o.default)(R,[{key:"get_doctors_by_category",value:function(){var t=this;return l.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+p.get_doctor_by_specialists,data:{specialist:this.state.id,specialist_sub_category:this.state.sub_id}}).then(function(n){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1,api_status:1}),t.setState({result:n.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"get_doctors_by_symptoms",value:function(){var t=this;return l.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+p.get_doctor_by_services,data:{service_id:this.state.id}}).then(function(n){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1,api_status:1}),t.setState({result:n.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"get_doctors_by_ratings",value:function(){var t=this;return l.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+p.get_doctor_by_ratings}).then(function(n){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1,api_status:1}),t.setState({result:n.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"render",value:function(){var t=this;return _.default.createElement(h.Container,null,_.default.createElement(y.View,null,_.default.createElement(y.View,{style:C.list_style1},_.default.createElement(y.TouchableOpacity,{style:C.list_style2,onPress:this.handleBackButtonClick,activeOpacity:1},_.default.createElement(y.Image,{style:{width:20,height:20,backgroundColor:"white",marginVertical:12},source:S.default})),_.default.createElement(y.View,{style:C.list_style4}),_.default.createElement(y.Text,{style:C.list_style5},"Doctor List"))),_.default.createElement(h.Content,null,_.default.createElement(h.List,null),_.default.createElement(h.List,null,_.default.createElement(y.FlatList,{data:this.state.doctors,renderItem:function(n){var l=n.item;n.index;return _.default.createElement(h.ListItem,{avatar:!0,onPress:t.doctor_details.bind(t,l)},_.default.createElement(y.View,{style:{width:1e3,marginBottom:32}},_.default.createElement(h.Col,{style:{width:175}},_.default.createElement(h.Thumbnail,{source:{uri:l.profilePicture}})),_.default.createElement(h.Col,null,_.default.createElement(y.Text,{style:C.list_style6},"Dr.",l.name),_.default.createElement(y.View,{style:C.list_style7}),_.default.createElement(y.Text,{style:C.list_style8},l.qualification," (",l.category.name,")"),_.default.createElement(y.View,{style:C.list_style9}),_.default.createElement(y.Text,{style:C.list_style10},l.experience," Years experience"),_.default.createElement(y.View,{style:C.list_style11}),parseInt(l.overall_rating)>0&&_.default.createElement(E.Rating,{ratingCount:5,startingValue:l.overall_rating,imageSize:12,readonly:!0})),_.default.createElement(y.View,{style:{width:1070,backgroundColor:'black',height:.2,marginLeft:-22}})))},keyExtractor:function(t){return t.id}})),0==this.state.result.length&&1==this.state.api_status&&_.default.createElement(y.View,null,_.default.createElement(y.View,{style:C.list_style15}),_.default.createElement(y.Text,{style:C.list_style16},"Sorry, no doctor list found"))),_.default.createElement(b.Loader,{visible:this.state.isLoding}))}}]),R})(_.Component);e.default=L;var C=y.StyleSheet.create({list_style1:{alignItems:'flex-start',margin:10},list_style2:{width:100,justifyContent:'center'},list_style3:{color:w.theme_fg_two,fontSize:30},list_style4:{margin:5},list_style5:{fontSize:25,color:w.theme_fg_two,fontFamily:p.font_title},list_style6:{fontSize:14,fontFamily:p.font_title,color:w.theme_fg_two},list_style7:{margin:1},list_style8:{fontSize:12,color:w.grey,fontFamily:p.font_title},list_style9:{margin:1},list_style10:{fontSize:12,color:w.grey,fontFamily:p.font_title},list_style11:{margin:1},list_style12:{justifyContent:'center'},list_style13:{fontSize:18,fontFamily:p.font_title,color:w.theme_fg},list_style14:{margin:5},list_style15:{height:250,marginTop:'40%'},list_style16:{alignSelf:'center',fontFamily:p.font_title},header:{justifyContent:"flex-start",height:"10%",backgroundColor:w.theme_bg,borderBottomLeftRadius:45,borderBottomRightRadius:45,shadowOffset:{width:0,height:15},shadowColor:w.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},header_card:{alignItems:"center",borderRadius:15,justifyContent:"center"},header_card_item:{borderTopLeftRadius:15,borderTopRightRadius:15,borderBottomLeftRadius:15,borderBottomRightRadius:15,shadowOffset:{width:0,height:15},shadowColor:w.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},icon:{color:w.theme_fg_two},header_body:{flex:3,justifyContent:'center'},title:{alignSelf:'center',color:w.theme_fg_three,alignSelf:'center',fontSize:16,fontFamily:p.font_title},imagetwo:{alignSelf:'center',height:130,width:100,marginTop:10,marginLeft:40}})},1414,[9,1,101,26,27,37,39,36,56,2,984,830,1188,1249,415,819,860,941,1333,472,829,921,1143]);
__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=l(r(d[2])),n=l(r(d[3])),c=l(r(d[4])),s=l(r(d[5])),f=l(r(d[6])),y=t(r(d[7])),u=r(d[8]),_=r(d[9]),h=r(d[10]),p=(l(r(d[11])),l(r(d[12])),r(d[13])),w=t(r(d[14]));l(r(d[15])),l(r(d[16])),l(r(d[17])),r(d[18]),r(d[19]),r(d[20]);function E(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var v=(function(t){(0,c.default)(V,t);var l,v,b=(l=V,v=E(),function(){var t,o=(0,f.default)(l);if(v){var n=(0,f.default)(this).constructor;t=Reflect.construct(o,arguments,n)}else t=o.apply(this,arguments);return(0,s.default)(this,t)});function V(t){var l;return(0,o.default)(this,V),(l=b.call(this,t)).handleBackButtonClick=function(){l.props.navigation.goBack(null)},l.appoinment_details=function(t){1==t?l.props.navigation.navigate('CreateAppointment',{id:l.state.data._id,price_per_conversation:20,type:t}):l.props.navigation.navigate('CreateAppointment',{id:l.state.data._id,type:t})},l.state={data:l.props.route.params.data},l}return(0,n.default)(V,[{key:"render",value:function(){var t=this;return y.default.createElement(_.Container,null,y.default.createElement(u.View,null,y.default.createElement(u.View,{style:S.doc_style1},y.default.createElement(u.View,{style:S.doc_style2},y.default.createElement(u.View,{style:S.doc_style3},y.default.createElement(u.TouchableOpacity,{style:S.doc_style4,onPress:this.handleBackButtonClick,activeOpacity:1}),y.default.createElement(u.View,{style:S.doc_style6}),y.default.createElement(u.Text,{style:S.doc_style7},this.state.data.name),y.default.createElement(u.View,{style:S.doc_style8}),y.default.createElement(u.Text,{style:S.doc_style9},this.state.data.specialist," (",this.state.data.qualification,")"),y.default.createElement(u.View,{style:S.doc_style10}),y.default.createElement(u.Text,{style:S.doc_style11},this.state.data.experience," Years experience"),y.default.createElement(u.View,{style:S.doc_style12}))),y.default.createElement(u.View,{style:S.doc_style13},y.default.createElement(u.View,{style:S.doc_style14},y.default.createElement(_.Thumbnail,{large:!0,source:{uri:this.state.data.profilePicture}}))))),y.default.createElement(_.Content,{padder:!0},y.default.createElement(_.Row,null,y.default.createElement(_.Left,null,y.default.createElement(u.Text,{style:S.doc_style15},"About Doctor"),y.default.createElement(u.View,{style:S.doc_style16}),y.default.createElement(u.Text,{style:S.doc_style17},this.state.data.description))),y.default.createElement(u.View,{style:S.doc_style18}),y.default.createElement(_.Row,null,y.default.createElement(_.Left,null,y.default.createElement(u.Text,{style:S.doc_style19},"Providing Services"))),y.default.createElement(u.View,{style:S.doc_style20}),y.default.createElement(u.View,{style:S.doc_style21}),y.default.createElement(u.View,{style:{margin:10}}),y.default.createElement(u.View,{style:{borderTopLeftRadius:10,borderTopRightRadius:10,borderColor:'grey',borderWidth:1}},y.default.createElement(u.View,{style:{width:'100%',backgroundColor:w.theme_light,borderTopLeftRadius:10,borderTopRightRadius:10,padding:10}},y.default.createElement(u.Text,{style:{fontFamily:p.font_title,fontSize:15,color:w.theme_fg_two}},"Online consultation -")),y.default.createElement(u.View,{style:{width:'100%',padding:10}},y.default.createElement(u.Text,{style:{fontFamily:p.font_description,fontSize:13,color:w.grey}},"Doctor available with for online consultation, with chat and video call options. The persistent of doctor will be 10 min with negotiable fees."),y.default.createElement(u.Text,{style:{fontFamily:p.font_description,fontSize:13,color:w.grey}},"Consulting duration :",y.default.createElement(u.Text,{style:{fontWeight:'bold',color:w.theme_fg_two}},"20 min"))),y.default.createElement(h.Button,{title:"Book now",type:"outline",onPress:function(){return t.appoinment_details(1)}})),y.default.createElement(u.View,{style:{margin:10}}),y.default.createElement(u.View,{style:{margin:10}})))}}]),V})(y.Component);e.default=v;var S=u.StyleSheet.create({doc_style1:{flexDirection:'row'},doc_style2:{alignItems:'flex-start',justifyContent:'center',width:'60%'},doc_style3:{alignItems:'flex-start',margin:10},doc_style4:{width:100,justifyContent:'center'},doc_style5:{color:w.theme_fg_two,fontSize:30},doc_style6:{margin:5},doc_style7:{fontSize:25,color:w.theme_fg_two,fontFamily:p.font_title},doc_style8:{margin:3},doc_style9:{fontSize:14,color:w.grey,fontFamily:p.font_description},doc_style10:{margin:3},doc_style11:{fontSize:14,color:w.grey,fontFamily:p.font_description},doc_style12:{margin:3},doc_style13:{alignItems:'center',justifyContent:'center',width:'40%'},doc_style14:{alignItems:'flex-start',margin:20},doc_style15:{fontSize:16,color:w.theme_fg_two,fontFamily:p.font_title},doc_style16:{margin:5},doc_style17:{fontSize:14,color:w.grey,fontFamily:p.font_description},doc_style18:{margin:10},doc_style19:{fontSize:16,color:w.theme_fg_two,fontFamily:p.font_title},doc_style20:{margin:5},doc_style21:{borderRadius:10},doc_style22:{height:"100%",width:"50%",marginLeft:5},doc_style23:{flexDirection:'row',alignItems:'center'},doc_style24:{width:20,height:20},doc_style25:{fontSize:12,color:w.theme_fg_two,fontFamily:p.font_title,padding:10},doc_style26:{backgroundColor:'#1065cd'},doc_style27:{backgroundColor:'#1065cd',borderRadius:5,height:55,width:380,alignSelf:'center',fontFamily:p.font_title},doc_style28:{fontSize:16,color:'#FFFFFF',alignSelf:'center',fontFamily:p.font_title},title:{fontSize:18,fontFamily:p.font_title,color:w.theme_fg_three,marginTop:10,marginRight:30,alignSelf:'flex-start'},header:{marginRight:10,marginTop:10,alignSelf:'center'},imageone:{alignSelf:'center',height:200,width:360},imagetwo:{alignSelf:'center',height:90,width:90,borderRadius:100}})},1415,[9,1,26,27,37,39,36,56,2,984,830,1188,1249,415,819,860,1416,941,472,829,921]);
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(r(d[1])),n=t(r(d[2])),l=t(r(d[3])),s=r(d[4]);function c(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);o&&(l=l.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,l)}return n}function u(t){for(var n=1;nv-1&&(t=v-1);var o=T/(v-1)*t;J.setValue(M.stepIndicatorSize),K.setValue(M.stepIndicatorSize),Q.setValue(M.stepIndicatorSize/2),s.Animated.sequence([s.Animated.timing(G,{toValue:isNaN(o)?0:o,duration:200,useNativeDriver:!1}),s.Animated.parallel([s.Animated.timing(J,{toValue:M.currentStepIndicatorSize,duration:100,useNativeDriver:!1}),s.Animated.timing(Q,{toValue:M.currentStepIndicatorSize/2,duration:100,useNativeDriver:!1})])]).start()};return l.default.createElement(s.View,{style:[b.container,'vertical'===I?{flexDirection:'row',flex:1}:{flexDirection:'column'}]},0!==j&&l.default.createElement(l.default.Fragment,null,(Z=u(u({},Z={backgroundColor:M.separatorUnFinishedColor,position:'absolute'}),{},'vertical'===I?{left:(j-M.separatorStrokeWidth)/2,top:P/(2*v),bottom:P/(2*v),width:0===M.separatorStrokeUnfinishedWidth?M.separatorStrokeWidth:M.separatorStrokeUnfinishedWidth}:{top:(P-M.separatorStrokeWidth)/2,left:j/(2*v),right:j/(2*v),height:0===M.separatorStrokeUnfinishedWidth?M.separatorStrokeWidth:M.separatorStrokeUnfinishedWidth}),l.default.createElement(s.View,{onLayout:function(t){_('vertical'===I?t.nativeEvent.layout.height:t.nativeEvent.layout.width)},style:Z})),(Y=u(u({},Y={backgroundColor:M.separatorFinishedColor,position:'absolute'}),{},'vertical'===I?{left:(j-M.separatorStrokeWidth)/2,top:P/(2*v),bottom:P/(2*v),width:0===M.separatorStrokeFinishedWidth?M.separatorStrokeWidth:M.separatorStrokeFinishedWidth,height:G}:{top:(P-M.separatorStrokeWidth)/2,left:j/(2*v),right:j/(2*v),height:0===M.separatorStrokeFinishedWidth?M.separatorStrokeWidth:M.separatorStrokeFinishedWidth,width:G}),l.default.createElement(s.Animated.View,{style:Y}))),(function(){for(var t=[],o=function(o){t.push(l.default.createElement(s.TouchableWithoutFeedback,{key:o,onPress:function(){return X(o)}},l.default.createElement(s.View,{style:[b.stepContainer,'vertical'===I?{flexDirection:'column'}:{flexDirection:'row'}]},$(o))))},n=0;n12&&(s-=12,f="PM"),_=c+" "+(y=s+":"+u+" "+f),n.setState({start_time:_,delivery_date:c,deliveryDatePickerVisible:!1,delivery_time:y});case 10:case"end":return l.stop()}},null,null,null,Promise)},n.AppointmentList=function(){n.props.navigation.navigate("AppointmentDetail")},n.handleBackButtonClick=n.handleBackButtonClick.bind((0,s.default)(n)),n.state={description:"",title:"",deliveryDatePickerVisible:!1,delivery_date:"",delivery_time:"",start_time:"",doctor_id:n.props.route.params.id,type:n.props.route.params.type,price_per_conversation:n.props.route.params.price_per_conversation,isLoding:!1},n}return(0,c.default)(L,[{key:"render",value:function(){var t=this;return _.default.createElement(v.Container,null,_.default.createElement(p.View,null,_.default.createElement(p.View,{style:B.create_style1},_.default.createElement(p.TouchableOpacity,{style:B.create_style2,onPress:this.handleBackButtonClick,activeOpacity:1},_.default.createElement(p.Image,{style:{width:20,height:20,backgroundColor:"white",marginVertical:12},source:D.default})),_.default.createElement(p.View,{style:B.create_style4}),_.default.createElement(p.Text,{style:B.create_style5},"New Appointment"))),_.default.createElement(v.Content,{padder:!0},_.default.createElement(p.View,{style:B.create_style6}),_.default.createElement(C.Input,{inputStyle:B.create_style7,label:"Title",labelStyle:B.create_style8,placeholder:"I have viral fever last two days...",onChangeText:function(n){return t.setState({title:n})}}),_.default.createElement(p.View,{style:B.create_style9}),_.default.createElement(C.Input,{inputStyle:B.create_style10,label:"Description",labelStyle:B.create_style11,placeholder:"Write short description...",onChangeText:function(n){return t.setState({description:n})}}),_.default.createElement(p.View,{style:B.create_style12}),_.default.createElement(v.Row,null,_.default.createElement(v.Body,null,_.default.createElement(v.Button,{onPress:this.showDeliveryDatePicker,style:{width:100},transparent:!0},_.default.createElement(p.Image,{style:{width:40,height:40,backgroundColor:"white",marginVertical:12,marginLeft:19},source:P.default})),_.default.createElement(p.Text,{style:B.create_style14},"(Select your date & time)"),_.default.createElement(p.View,{style:B.create_style15}),_.default.createElement(p.Text,{style:B.create_style16},this.state.start_time),_.default.createElement(k.default,{isVisible:this.state.deliveryDatePickerVisible,onConfirm:this.handleDeliveryDatePicked,onCancel:this.hideDeliveryDatePicker,minimumDate:new Date,mode:"datetime"}))),_.default.createElement(b.Loader,{visible:this.state.isLoding})),_.default.createElement(v.Footer,{style:B.create_style17},_.default.createElement(p.TouchableOpacity,{activeOpacity:1,style:B.create_style18,onPress:this.check_validation},_.default.createElement(v.Row,null,_.default.createElement(v.Col,{style:B.create_style19},_.default.createElement(p.Text,{style:B.create_style20},"SUBMIT"))))))}}]),L})(_.Component);e.default=R;var B=p.StyleSheet.create({create_style1:{alignItems:"flex-start",margin:10},create_style2:{width:100,justifyContent:"center"},create_style3:{color:h.theme_fg_two,fontSize:30},create_style4:{margin:5},create_style5:{fontSize:25,color:h.theme_fg_two,fontFamily:w.font_title},create_style6:{margin:10},create_style7:{fontSize:14},create_style8:{fontFamily:w.font_title},create_style9:{margin:10},create_style10:{fontSize:14,height:80},create_style11:{fontFamily:w.font_title},create_style12:{margin:10},create_style13:{fontSize:50,color:h.theme_fg},create_style14:{fontSize:12,color:h.grey,fontFamily:w.font_description},create_style15:{margin:10},create_style16:{fontFamily:w.font_description},create_style17:{backgroundColor:"transparent"},create_style18:{width:"100%",backgroundColor:h.theme_bg},create_style19:{alignItems:"center",justifyContent:"center"},create_style20:{color:h.theme_fg_three,fontFamily:w.font_title,fontSize:18},header:{justifyContent:"flex-start",height:"10%",backgroundColor:h.theme_bg,borderBottomLeftRadius:45,borderBottomRightRadius:45,shadowOffset:{width:0,height:15},shadowColor:h.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},header_card:{alignItems:"center",borderRadius:15,justifyContent:"center"},header_card_item:{borderTopLeftRadius:15,borderTopRightRadius:15,borderBottomLeftRadius:15,borderBottomRightRadius:15,shadowOffset:{width:0,height:15},shadowColor:h.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},icon:{color:h.theme_fg_two},header_body:{flex:3,justifyContent:"center"},title:{alignSelf:"center",color:h.theme_fg_two,alignSelf:"center",fontSize:16,fontFamily:w.font_title},prescription_image:{width:100,height:70,alignSelf:"center",borderColor:h.theme_bg_three,borderWidth:1}})},1418,[9,1,101,26,27,40,37,39,36,56,819,2,1255,507,860,984,415,1419,829,1289,941,472,1385,830,1339,1420]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(r(d[2])),o=n(r(d[3])),c=n(r(d[4])),s=n(r(d[5])),u=n(r(d[6])),f=n(r(d[7])),y=n(r(d[8])),_=t(r(d[9])),h=t(r(d[10])),p=r(d[11]),v=(n(r(d[12])),r(d[13]),n(r(d[14])),r(d[15])),w=r(d[16]),b=(n(r(d[17])),r(d[18])),k=n(r(d[19])),S=n(r(d[20])),E=(r(d[21]),n(r(d[22]))),C=r(d[23]),D=n(r(d[24])),P=n(r(d[25]));function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R=(function(t){(0,u.default)(L,t);var n,R,V=(n=L,R=x(),function(){var t,l=(0,y.default)(n);if(R){var o=(0,y.default)(this).constructor;t=Reflect.construct(l,arguments,o)}else t=l.apply(this,arguments);return(0,f.default)(this,t)});function L(t){var n;return(0,o.default)(this,L),(n=V.call(this,t)).handleBackButtonClick=function(){n.props.navigation.goBack(null)},n.create_booking=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return n.setState({isLoding:!0}),t.next=3,l.default.awrap((0,S.default)({method:"post",url:w.api_url1+"/doctor_booking/",data:{doctor_id:n.state.doctor_id,start_time:n.state.start_time,title:n.state.title,description:n.state.description,appointmentMode:"online"}}).then(function(t){return l.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:if(n.setState({isLoding:!1}),0==t.data.status?alert(t.data.message):n.setState({title:"",description:"",start_time:""}),1!=t.data.status){o.next=5;break}return o.next=5,l.default.awrap(p.Alert.alert("Success","Your order has been successfully placed.",[{text:"OK",onPress:function(){return n.my_orders()}}],{cancelable:!1}));case 5:case"end":return o.stop()}},null,null,null,Promise)}).catch(function(t){alert("something went wrong"),n.setState({isLoding:!1})}));case 3:case"end":return t.stop()}},null,null,null,Promise)},n.check_timing=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return n.setState({isLoding:!0}),t.next=3,l.default.awrap((0,S.default)({method:"post",url:w.api_url+w.check_available_timing,data:{doctor_id:n.state.doctor_id,start_time:n.state.start_time,booking_type:n.state.type}}).then(function(t){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:n.setState({isLoding:!1}),0==t.data.status?alert(t.data.message):n.make_payment();case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(t){alert("something went wrong"),n.setState({isLoding:!1})}));case 3:case"end":return t.stop()}},null,null,null,Promise)},n.check_validation=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.default.awrap(S.default.post(w.api_url1+"/doctor_booking/",{doctor:n.state.doctor_id,description:n.state.description,title:n.state.title,appointmentTime:n.state.start_time,appointmentMode:"online"},{headers:{Authorization:"Bearer "+g.fcm_token}}));case 2:alert("Appointment fixed"),n.props.navigation.navigate("Home");case 4:case"end":return t.stop()}},null,null,null,Promise)},n.make_payment=function(){var t={currency:g.currency_short_code,key:g.razorpay_key,amount:100*n.state.price_per_conversation,name:g.application_name,prefill:{email:g.email,contact:g.phone_number,name:g.customer_name},theme:{color:h.theme_fg}};E.default.open(t).then(function(){n.create_booking()}).catch(function(t){alert("Your transaction declined")})},n.my_orders=function(){n.props.navigation.navigate("MyOrders")},n.showDeliveryDatePicker=function(){n.setState({deliveryDatePickerVisible:!0})},n.hideDeliveryDatePicker=function(){n.setState({deliveryDatePickerVisible:!1})},n.handleDeliveryDatePicked=function(t){var o,c,s,u,f,y,_;return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:o=new Date(t),c=o.getFullYear()+"-"+("0"+(o.getMonth()+1)).slice(-2)+"-"+o.getDate(),s=o.getHours(),(u=o.getMinutes())<10&&(u="0"+u),f="AM",s>12&&(s-=12,f="PM"),_=c+" "+(y=s+":"+u+" "+f),n.setState({start_time:_,delivery_date:c,deliveryDatePickerVisible:!1,delivery_time:y});case 10:case"end":return l.stop()}},null,null,null,Promise)},n.AppointmentList=function(){n.props.navigation.navigate("AppointmentDetail")},n.handleBackButtonClick=n.handleBackButtonClick.bind((0,s.default)(n)),n.state={description:"",title:"",deliveryDatePickerVisible:!1,delivery_date:"",delivery_time:"",start_time:"",doctor_id:n.props.route.params.id,type:n.props.route.params.type,price_per_conversation:n.props.route.params.price_per_conversation,isLoding:!1},n}return(0,c.default)(L,[{key:"render",value:function(){var t=this;return _.default.createElement(v.Container,null,_.default.createElement(p.View,null,_.default.createElement(p.View,{style:B.create_style1},_.default.createElement(p.TouchableOpacity,{style:B.create_style2,onPress:this.handleBackButtonClick,activeOpacity:1},_.default.createElement(p.Image,{style:{width:20,height:20,backgroundColor:"white",marginVertical:12},source:D.default})),_.default.createElement(p.View,{style:B.create_style4}),_.default.createElement(p.Text,{style:B.create_style5},"New Appointment"))),_.default.createElement(v.Content,{padder:!0},_.default.createElement(p.View,{style:B.create_style6}),_.default.createElement(C.Input,{inputStyle:B.create_style7,label:"Title",labelStyle:B.create_style8,placeholder:"I have viral fever last two days...",onChangeText:function(n){return t.setState({title:n})}}),_.default.createElement(p.View,{style:B.create_style9}),_.default.createElement(C.Input,{inputStyle:B.create_style10,label:"Description",labelStyle:B.create_style11,placeholder:"Write short description...",onChangeText:function(n){return t.setState({description:n})}}),_.default.createElement(p.View,{style:B.create_style12}),_.default.createElement(v.Row,null,_.default.createElement(v.Body,null,_.default.createElement(v.Button,{onPress:this.showDeliveryDatePicker,style:{width:100},transparent:!0},_.default.createElement(p.Image,{style:{width:40,height:40,backgroundColor:"white",marginVertical:12,marginLeft:19},source:P.default})),_.default.createElement(p.Text,{style:B.create_style14},"(Select your date & time)"),_.default.createElement(p.View,{style:B.create_style15}),_.default.createElement(p.Text,{style:B.create_style16},this.state.start_time),_.default.createElement(k.default,{isVisible:this.state.deliveryDatePickerVisible,onConfirm:this.handleDeliveryDatePicked,onCancel:this.hideDeliveryDatePicker,minimumDate:new Date,mode:"datetime"}))),_.default.createElement(b.Loader,{visible:this.state.isLoding})),_.default.createElement(v.Footer,{style:B.create_style17},_.default.createElement(p.TouchableOpacity,{activeOpacity:1,style:B.create_style18,onPress:this.check_validation},_.default.createElement(v.Row,null,_.default.createElement(v.Col,{style:B.create_style19},_.default.createElement(p.Text,{style:B.create_style20},"SUBMIT"))))))}}]),L})(_.Component);e.default=R;var B=p.StyleSheet.create({create_style1:{alignItems:"flex-start",margin:10},create_style2:{width:100,justifyContent:"center"},create_style3:{color:h.theme_fg_two,fontSize:30},create_style4:{margin:5},create_style5:{fontSize:25,color:h.theme_fg_two,fontFamily:w.font_title},create_style6:{margin:10},create_style7:{fontSize:14},create_style8:{fontFamily:w.font_title},create_style9:{margin:10},create_style10:{fontSize:14,height:80},create_style11:{fontFamily:w.font_title},create_style12:{margin:10},create_style13:{fontSize:50,color:h.theme_fg},create_style14:{fontSize:12,color:h.grey,fontFamily:w.font_description},create_style15:{margin:10},create_style16:{fontFamily:w.font_description},create_style17:{backgroundColor:"transparent"},create_style18:{width:"100%",backgroundColor:h.theme_bg},create_style19:{alignItems:"center",justifyContent:"center"},create_style20:{color:h.theme_fg_three,fontFamily:w.font_title,fontSize:18},header:{justifyContent:"flex-start",height:"10%",backgroundColor:h.theme_bg,borderBottomLeftRadius:45,borderBottomRightRadius:45,shadowOffset:{width:0,height:15},shadowColor:h.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},header_card:{alignItems:"center",borderRadius:15,justifyContent:"center"},header_card_item:{borderTopLeftRadius:15,borderTopRightRadius:15,borderBottomLeftRadius:15,borderBottomRightRadius:15,shadowOffset:{width:0,height:15},shadowColor:h.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},icon:{color:h.theme_fg_two},header_body:{flex:3,justifyContent:"center"},title:{alignSelf:"center",color:h.theme_fg_two,alignSelf:"center",fontSize:16,fontFamily:w.font_title},prescription_image:{width:100,height:70,alignSelf:"center",borderColor:h.theme_bg_three,borderWidth:1}})},1418,[9,1,101,26,27,40,37,39,36,56,819,2,1255,507,860,984,415,1419,829,1289,941,472,1389,830,1333,1420]);
__d(function(g,r,i,a,m,e,d){var t=r(d[0]).NativeModules,n=t.RNQBAuthModule,o=t.RNQBChatModule,s=t.RNQBCustomObjectsModule,u=t.RNQBFileModule,c=t.RNQBNotificationEventsModule,l=t.RNQBPushSubscriptionsModule,p=t.RNQBSettingsModule,I=t.RNQBUsersModule,f=t.RNQBWebRTCModule,E={createSession:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o={};return'string'==typeof t.token&&(o.token=t.token),'string'==typeof t.expirationDate?o.expirationDate=t.expirationDate:t.expirationDate instanceof Date&&(o.expirationDate=t.expirationDate.toISOString()),n.createSession(o)},getSession:function(){return n.getSession()},login:function(t){var o=t.login,s=t.password;return o&&s?n.login({login:""+o,password:""+s}):Promise.reject(new Error('Login and password required'))},logout:function(){return n.logout()}},T={addListener:o.addListener,removeListeners:o.removeListeners,connect:function(t){var n={},s=t.userId,u=t.password?""+t.password:'';if(s){var c=parseInt(s,10);isNaN(c)||(n.userId=c)}return n.password=u,o.connect(n)},disconnect:function(){return o.disconnect()},isConnected:function(){return o.isConnected()},createDialog:function(t){var n=t.occupantsIds,s=t.name,u=t.type,c={};if(Array.isArray(n)&&n.length){var l=n.map(function(t){var n=parseInt(t);return isNaN(n)?void 0:n}).filter(function(t){return t});c.occupantsIds=l}return s&&(c.name=""+s),u&&'number'==typeof u&&(c.type=u),o.createDialog(c)},updateDialog:function(t){return o.updateDialog(t)},deleteDialog:function(t){var n={};return t.dialogId&&(n.dialogId=""+t.dialogId),o.deleteDialog(n)},joinDialog:function(t){var n={};return t.dialogId&&(n.dialogId=""+t.dialogId),o.joinDialog(n)},leaveDialog:function(t){var n={};return t.dialogId&&(n.dialogId=""+t.dialogId),o.leaveDialog(n)},getOnlineUsers:function(t){var n={};return t.dialogId&&(n.dialogId=""+t.dialogId),o.getOnlineUsers(n)},getDialogs:function(t){var n=t.limit,s=t.skip,u={};return t.filter&&(u.filter=t.filter),t.sort&&(u.sort=t.sort),n&&parseInt(n,10)&&(u.limit=parseInt(n,10)),s&&parseInt(s,10)&&(u.skip=parseInt(s,10)),o.getDialogs(u)},getDialogsCount:function(){return o.getDialogsCount()},pingServer:function(){return o.pingServer()},pingUser:function(t){var n=t.userId;return n?isNaN(parseInt(n,10))?Promise.reject(new Error('User ID should be of type number')):o.pingUser({userId:parseInt(n,10)}):Promise.reject(new Error('User ID is required'))},getDialogMessages:function(t){var n=t.limit,s=t.skip,u=t.markAsRead,c={};return t.dialogId&&(c.dialogId=""+t.dialogId),t.filter&&(c.filter=t.filter),t.sort&&(c.sort=t.sort),'number'==typeof n&&(c.limit=n),'number'==typeof s&&(c.skip=s),'boolean'==typeof u&&(c.markAsRead=u),o.getDialogMessages(c)},sendMessage:function(t){var n=t.attachments,s=t.dateSent,u=t.markable||!0,c=t.saveToHistory,l={};return t.dialogId&&(l.dialogId=""+t.dialogId),t.body&&(l.body=""+t.body),n&&Array.isArray(n)&&(l.attachments=n),l.properties=t.properties,'boolean'==typeof u&&(l.markable=u),l.dateSent='number'==typeof s?s:Date.now(),'boolean'==typeof c&&(l.saveToHistory=c),o.sendMessage(l)},markMessageRead:function(t){return o.markMessageRead(t)},markMessageDelivered:function(t){return o.markMessageDelivered(t)},sendSystemMessage:function(t){var n=t.recipientId,s={};return isNaN(parseInt(n))||(s.recipientId=parseInt(n,10)),s.properties=t.properties,o.sendSystemMessage(s)},sendIsTyping:function(t){var n={};return t.dialogId&&(n.dialogId=""+t.dialogId),o.sendIsTyping(n)},sendStoppedTyping:function(t){var n={};return t.dialogId&&(n.dialogId=""+t.dialogId),o.sendStoppedTyping(n)},EVENT_TYPE:o.EVENT_TYPE,DIALOGS_FILTER:o.DIALOGS_FILTER,DIALOGS_SORT:o.DIALOGS_SORT,DIALOG_TYPE:o.DIALOG_TYPE,MESSAGES_FILTER:o.MESSAGES_FILTER,MESSAGES_SORT:o.MESSAGES_SORT},S={create:function(t){return c.create(t)},get:function(t){return c.get(t)},getById:function(t){return c.getById(t)},update:function(t){return c.update(t)},remove:function(t){return c.remove(t)},NOTIFICATION_EVENT_PERIOD:c.NOTIFICATION_EVENT_PERIOD,NOTIFICATION_EVENT_TYPE:c.NOTIFICATION_EVENT_TYPE,NOTIFICATION_TYPE:c.NOTIFICATION_TYPE,PUSH_TYPE:c.PUSH_TYPE},N={create:function(t){return s.create(t)},get:function(t){return s.get(t)},getByIds:function(t){return s.getByIds(t)},update:function(t){return s.update(t)},remove:function(t){var n={};return n.className=t.className,t.ids&&(Array.isArray(t.ids)?n.ids=t.ids.map(function(t){return""+t}):n.ids=[""+t.ids]),s.remove(n)},OBJECTS_SEARCH_OPERATOR:s.OBJECTS_SEARCH_OPERATOR,OBJECTS_UPDATE_OPERATOR:s.OBJECTS_UPDATE_OPERATOR,PERMISSIONS_LEVEL:s.PERMISSIONS_LEVEL,PULL_FILTER:s.PULL_FILTER},_={addListener:u.addListener,removeListeners:u.removeListeners,upload:function(t){var n={};return t.url&&(n.url=""+t.url),'boolean'==typeof t.public?n.public=t.public:n.public=!1,u.upload(n)},getInfo:function(t){return u.getInfo(t)},getPublicUrl:function(t){return u.getPublicUrl(t)},getPrivateURL:function(t){return u.getPrivateURL(t)},subscribeUploadProgress:function(t){return u.subscribeUploadProgress(t)},unsubscribeUploadProgress:function(t){return u.unsubscribeUploadProgress(t)},EVENT_TYPE:u.EVENT_TYPE},b={create:function(t){return l.create(t)},get:function(){return l.get()},remove:function(t){return l.remove(t)},PUSH_CHANNEL:l.PUSH_CHANNEL},R={init:function(t){var n=t.appId,o=t.authKey,s=t.authSecret,u=t.accountKey,c=t.apiEndpoint,l=t.chatEndpoint;return n&&o&&s&&u?p.init({appId:""+n,authKey:""+o,authSecret:""+s,accountKey:""+u,apiEndpoint:c?""+c:void 0,chatEndpoint:l?""+l:void 0}):Promise.reject(new Error('Required parameter missing'))},get:function(){return p.get()},initStreamManagement:function(t){var n=t.autoReconnect||!1,o=t.messageTimeout;return p.initStreamManagement({autoReconnect:n,messageTimeout:o})},enableCarbons:function(){return p.enableCarbons()},disableCarbons:function(){return p.disableCarbons()},enableAutoReconnect:function(t){var n={enable:Boolean(t.enable)};return p.enableAutoReconnect(n)}},v={create:function(t){if(!t)return Promise.reject(new Error('Required parameters missing'));var n={blobId:'number',customData:'string',email:'string',externalId:'number',facebookId:'number',fullName:'string',login:'string',password:'string',phone:'string',tags:'array',twitterId:'number',website:'string'},o={};for(var s in n)if(void 0!==t[s])if(typeof t[s]!==n[s]){if('string'===n[s]&&(o[s]=""+t[s]),'number'===n[s]){var u=parseInt(t[s],10);isNaN(u)||(o[s]=u)}'array'===n[s]&&Array.isArray(t[s])&&(o[s]=t[s])}else o[s]=t[s];return I.create(o)},update:function(t){return I.update(t)},getUsers:function(t){var n={};return t.filter&&(n.filter=t.filter),t.sort&&(n.sort=t.sort),isNaN(parseInt(t.page))||(n.page=parseInt(t.page,10)),isNaN(parseInt(t.perPage))||(n.perPage=parseInt(t.perPage,10)),I.getUsers(n)},USERS_FILTER:I.USERS_FILTER,USERS_SORT:I.USERS_SORT},O={addListener:f.addListener,removeListeners:f.removeListeners,init:function(){return f.init()},release:function(){return f.release()},call:function(t){return f.call(t)},accept:function(t){return f.accept(t)},reject:function(t){return f.reject(t)},hangUp:function(t){return f.hangUp(t)},enableAudio:function(t){return f.enableAudio(t)},enableVideo:function(t){return f.enableVideo(t)},getSession:function(t){return f.getSession(t)},switchAudioOutput:function(t){return f.switchAudioOutput(t)},switchCamera:function(t){return f.switchCamera(t)},AUDIO_OUTPUT:f.AUDIO_OUTPUT,RTC_SESSION_STATE:f.RTC_SESSION_STATE,RTC_SESSION_TYPE:f.RTC_SESSION_TYPE,RTC_PEER_CONNECTION_STATE:f.RTC_PEER_CONNECTION_STATE,EVENT_TYPE:f.EVENT_TYPE};m.exports.auth=E,m.exports.chat=T,m.exports.events=S,m.exports.content=_,m.exports.objects=N,m.exports.settings=R,m.exports.subscriptions=b,m.exports.users=v,m.exports.webrtc=O,m.exports={auth:E,chat:T,events:S,content:_,objects:N,settings:R,subscriptions:b,users:v,webrtc:O}},1419,[2]);
__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/src/assets/icons",width:512,height:512,scales:[1],hash:"e37bc25367684f53c94e4670b555538e",name:"time",type:"png"})},1420,[188]);
__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l(r(d[2])),y=l(r(d[3])),s=l(r(d[4])),o=l(r(d[5])),f=l(r(d[6])),c=l(r(d[7])),u=l(r(d[8])),_=t(r(d[9])),h=r(d[10]),E=r(d[11]),w=(r(d[12]),l(r(d[13]))),C=r(d[14]),p=t(r(d[15])),k=l(r(d[16])),S=r(d[17]),b=l(r(d[18])),v=l(r(d[19])),V=r(d[20]);function z(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var T=(function(t){(0,f.default)(R,t);var l,p,T=(l=R,p=z(),function(){var t,n=(0,u.default)(l);if(p){var y=(0,u.default)(this).constructor;t=Reflect.construct(n,arguments,y)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function R(t){var l;return(0,y.default)(this,R),(l=T.call(this,t)).booking_sync=function(){V.fb.ref('/customers/'+g.id+'/bookings/'+l.state.data.id).on('value',function(t){null!=t.val()&&t.val().status!=l.state.data.status&&l.get_booking_details()})},l.get_booking_details=function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.default.awrap((0,b.default)({method:'post',url:C.api_url+C.booking_details,data:{id:l.state.data.id}}).then(function(t){return n.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:l.setState({data:t.data.result});case 1:case"end":return n.stop()}},null,null,null,Promise)}).catch(function(t){alert('Sorry something went wrong')}));case 2:case"end":return t.stop()}},null,null,null,Promise)},l.chat=function(){l.props.navigation.navigate('Chat',{data:l.state.data})},l.video=function(){l.props.navigation.navigate('VideoCall',{booking_id:l.state.data.booking_id})},l.handleBackButtonClick=l.handleBackButtonClick.bind((0,o.default)(l)),l.state={isLoading:!1,data:l.props.route.params.data},l.booking_sync(),l}return(0,s.default)(R,[{key:"onStarRatingPress",value:function(t){this.setState({starCount:t})}},{key:"handleBackButtonClick",value:function(){return this.props.navigation.goBack(null),!0}},{key:"render",value:function(){return _.default.createElement(E.Container,null,_.default.createElement(E.Content,null,_.default.createElement(h.View,null,_.default.createElement(h.Image,{style:x.my_style1,source:C.doctorthree})),_.default.createElement(E.Row,{style:x.my_style2},_.default.createElement(E.Body,null,_.default.createElement(h.Image,{style:x.my_style3,source:{uri:C.img_url+this.state.data.profile_image}}))),_.default.createElement(w.default,null,_.default.createElement(h.View,{style:x.my_style4},_.default.createElement(h.Text,{style:x.my_style5},"Doctor Informations ",this.state.data.name),_.default.createElement(h.View,{style:x.my_style6}),_.default.createElement(h.View,{style:x.my_style7},_.default.createElement(E.Row,null,_.default.createElement(E.Col,{style:x.my_style8},_.default.createElement(k.default,{name:"user",size:20,color:"black",style:x.my_style9})),_.default.createElement(E.Col,{style:x.my_style10},_.default.createElement(h.Text,{style:x.my_style11},this.state.data.doctor.name)),_.default.createElement(h.View,{style:x.my_style12}),_.default.createElement(E.Col,{style:x.my_style13}),_.default.createElement(h.View,{style:x.my_style14}),_.default.createElement(E.Col,{style:x.my_style15},_.default.createElement(k.default,{name:"mobile",size:25,color:"black",style:x.my_style16})),_.default.createElement(E.Col,{style:x.my_style17},_.default.createElement(h.Text,{style:x.my_style18},this.state.data.doctor.number))),_.default.createElement(h.View,{style:x.my_style19}),_.default.createElement(E.Row,null,_.default.createElement(E.Col,{style:x.my_style20},_.default.createElement(k.default,{name:"envelope",size:15,color:"black",style:x.my_style21})),_.default.createElement(E.Col,{style:x.my_style22},_.default.createElement(h.Text,{style:x.my_style23},this.state.data.doctor.email)))))),_.default.createElement(h.View,{style:x.my_style24}),_.default.createElement(w.default,null,_.default.createElement(h.View,{style:x.my_style25},_.default.createElement(h.Text,{style:x.my_style26},this.state.data.title),_.default.createElement(h.View,{style:x.my_style27}),_.default.createElement(h.Text,{style:x.my_style28},this.state.data.description))),_.default.createElement(h.View,{style:x.my_style29}),_.default.createElement(w.default,null,_.default.createElement(h.View,{style:x.my_style30},_.default.createElement(h.Text,{style:x.my_style31},"Booking Information"),_.default.createElement(h.View,{style:x.my_style32}),_.default.createElement(h.View,{style:x.my_style33},_.default.createElement(E.Row,null,_.default.createElement(E.Col,{style:x.my_style34},_.default.createElement(k.default,{name:"clock-o",size:20,color:"black",style:x.my_style35})),_.default.createElement(E.Col,{style:x.my_style36},_.default.createElement(h.Text,{style:x.my_style37},"Appointment Time"),_.default.createElement(h.View,{style:x.my_style38}),_.default.createElement(h.Text,{style:x.my_style39},(0,v.default)(this.state.data.appointmentTime).format('hh:mm A'),"-",(0,v.default)(this.state.data.appointmentTime).format('DD MMM-YYYY'))),_.default.createElement(h.View,{style:x.my_style40}),_.default.createElement(E.Col,{style:x.my_style41},_.default.createElement(k.default,{name:"calendar",size:20,color:"black",style:x.my_style42})),_.default.createElement(E.Col,{style:x.my_style43},_.default.createElement(h.Text,{style:x.my_style44},"Booking Date"),_.default.createElement(h.View,{style:x.my_style45}),_.default.createElement(E.Row,null,_.default.createElement(E.Col,{style:x.my_style46},_.default.createElement(h.Text,{style:x.my_style47},(0,v.default)(this.state.data.start_time).format('DD MMM-YYYY')))))),_.default.createElement(h.View,{style:{margin:10}}),_.default.createElement(E.Row,null,_.default.createElement(E.Col,{style:x.my_style34},_.default.createElement(k.default,{name:"hospital-o",size:20,color:"black",style:x.my_style35})),_.default.createElement(E.Col,{style:x.my_style36},_.default.createElement(h.Text,{style:x.my_style37},"Booking Type"),_.default.createElement(h.View,{style:x.my_style38}),1==this.state.data.booking_type?_.default.createElement(h.Text,{style:x.my_style39},"Online consultation"):_.default.createElement(h.Text,{style:x.my_style39},"Direct appointment"))),_.default.createElement(h.View,{style:x.my_style48}),this.state.data.booking_id&&_.default.createElement(E.Row,null,_.default.createElement(E.Col,{style:x.my_style49},_.default.createElement(k.default,{name:"id-badge",size:20,color:"black",style:x.my_style50})),_.default.createElement(E.Col,{style:x.my_style51},_.default.createElement(h.Text,{style:x.my_style52},"Booking Id"),_.default.createElement(h.View,{style:x.my_style53}),_.default.createElement(h.Text,{style:x.my_style54},"#",this.state.data.booking_id)),_.default.createElement(h.View,{style:x.my_style55}),_.default.createElement(E.Col,{style:x.my_style56}),_.default.createElement(h.View,{style:x.my_style57}))),_.default.createElement(h.View,{style:x.my_style58}))),_.default.createElement(h.View,{style:x.my_style59}),2==this.state.data.booking_status&&1==this.state.data.booking_type&&_.default.createElement(w.default,null,_.default.createElement(h.View,{style:x.my_style60},_.default.createElement(h.Text,{style:x.my_style61},"Communicate"),_.default.createElement(h.View,{style:x.my_style62}),_.default.createElement(h.View,{style:x.my_style63},_.default.createElement(E.Row,null,_.default.createElement(E.Col,{style:x.my_style64},_.default.createElement(k.default,{name:"comments",size:40,color:"black",onPress:this.chat,style:x.my_style65}),_.default.createElement(h.Text,{style:x.my_style66},"Chat")),_.default.createElement(E.Col,{style:x.my_style67},_.default.createElement(k.default,{name:"video-camera",size:40,color:"black",onPress:this.video,style:x.my_style68}),_.default.createElement(h.Text,{style:x.my_style69},"Video")))))),_.default.createElement(S.Loader,{visible:this.state.isLoading})))}}]),R})(_.Component);e.default=T;var x=h.StyleSheet.create({my_style1:{alignSelf:'center',height:200,width:'100%'},my_style2:{marginTop:-45},my_style3:{alignSelf:'center',height:90,width:90,borderRadius:45},my_style4:{backgroundColor:p.theme_fg_three,width:"100%",padding:10},my_style5:{fontSize:14,color:p.theme_fg,fontFamily:C.font_title},my_style6:{margin:5},my_style7:{padding:5},my_style8:{height:"100%",width:"10%",alignSelf:'center'},my_style9:{color:p.theme_fg},my_style10:{height:"100%",width:"35%",justifyContent:'center',marginLeft:5},my_style11:{fontSize:12,color:'#C4C3C3',fontFamily:C.font_description},my_style12:{margin:2},my_style13:{height:"100%",width:"5%",alignSelf:'center'},my_style14:{margin:5},my_style15:{height:"100%",width:"10%",alignSelf:'center'},my_style16:{color:p.theme_fg},my_style17:{height:"100%",width:"90%",justifyContent:'center',marginLeft:5},my_style18:{fontSize:12,color:'#C4C3C3',fontFamily:C.font_description},my_style19:{margin:5},my_style20:{height:"100%",width:"10%",alignSelf:'center'},my_style21:{color:p.theme_fg},my_style22:{height:"100%",width:"90%",justifyContent:'center',marginLeft:5},my_style23:{fontSize:12,color:'#C4C3C3',fontFamily:C.font_description},my_style24:{margin:2},my_style25:{backgroundColor:p.theme_fg_three,width:"100%",padding:10},my_style26:{fontSize:14,color:p.theme_fg,fontFamily:C.font_title},my_style27:{margin:5},my_style28:{fontSize:12,paddingRight:20,color:'#C4C3C3',fontFamily:C.font_description},my_style29:{margin:2},my_style30:{backgroundColor:p.theme_fg_three,width:"100%",padding:10},my_style31:{fontSize:14,color:p.theme_fg,fontFamily:C.font_title},my_style32:{margin:5},my_style33:{padding:5},my_style34:{height:"100%",width:"10%",alignSelf:'center'},my_style35:{color:p.theme_fg},my_style36:{height:"100%",width:"45%",alignSelf:'center',marginLeft:5},my_style37:{fontSize:12,color:'#C4C3C3',fontFamily:C.font_title},my_style38:{margin:2},my_style39:{fontSize:14,color:p.theme_fg_five,fontFamily:C.font_description},my_style40:{margin:5},my_style41:{height:"100%",width:"10%",alignSelf:'center'},my_style42:{color:p.theme_fg},my_style43:{height:"100%",width:"35%",alignSelf:'center',marginLeft:5},my_style44:{fontSize:12,color:'#C4C3C3',fontFamily:C.font_title},my_style45:{margin:2},my_style46:{height:"100%",width:"70%",alignSelf:'center'},my_style47:{fontSize:14,color:p.theme_fg_five,fontFamily:C.font_description},my_style48:{margin:10},my_style49:{height:"100%",width:"10%",alignSelf:'center'},my_style50:{color:p.theme_fg},my_style51:{height:"100%",width:"35%",alignSelf:'center',marginLeft:5},my_style52:{fontSize:12,color:'#C4C3C3',fontFamily:C.font_title},my_style53:{margin:2},my_style54:{fontSize:14,color:p.theme_fg_five,fontFamily:C.font_description},my_style55:{margin:2},my_style56:{height:"100%",width:"5%",alignSelf:'center'},my_style57:{margin:5},my_style58:{margin:5},my_style59:{margin:2},my_style60:{backgroundColor:p.theme_fg_three,width:"100%",padding:10},my_style61:{fontSize:14,color:p.theme_fg,fontFamily:C.font_title},my_style62:{margin:5},my_style63:{padding:5},my_style64:{alignItems:'center',justifyContent:'center'},my_style65:{color:p.theme_fg},my_style66:{fontSize:12,color:p.theme_fg_two,fontFamily:C.font_title},my_style67:{alignItems:'center',justifyContent:'center'},my_style68:{color:p.theme_fg},my_style69:{fontSize:12,color:p.theme_fg_two,fontFamily:C.font_title},title:{fontSize:18,color:'#1065cd',marginTop:10,marginRight:30,fontFamily:C.font_title},header:{marginRight:10,marginTop:10,alignSelf:'center'},imagethree:{alignSelf:'center',height:40,width:40,borderRadius:100}})},1421,[9,1,101,26,27,40,37,39,36,56,2,984,830,1249,415,819,860,829,941,1255,1258]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(d[2])),c=n(r(d[3])),u=n(r(d[4])),l=n(r(d[5])),s=n(r(d[6])),f=n(r(d[7])),h=n(r(d[8])),p=n(r(d[9])),_=t(r(d[10])),y=r(d[11]),v=(r(d[12]),t(r(d[13]))),k=r(d[14]),b=r(d[15]),S=r(d[16]),C=n(r(d[17])),x=n(r(d[18])),B=n(r(d[19])),w=r(d[20]),L=n(r(d[21]));function P(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var T={title:"Select a photo",takePhotoButtonTitle:"Take a photo",chooseFromLibraryButtonTitle:"Choose from gallery"},E=(function(t){(0,f.default)(A,t);var n,v,E=(n=A,v=P(),function(){var t,o=(0,p.default)(n);if(v){var c=(0,p.default)(this).constructor;t=Reflect.construct(o,arguments,c)}else t=o.apply(this,arguments);return(0,h.default)(this,t)});function A(t){var n;return(0,u.default)(this,A),(n=E.call(this,t)).refOn=function(t){b.fb.ref('/chat/'+n.state.data.booking_id).limitToLast(20).on('child_added',function(o){return t(n.parse(o))})},n.parse=function(t){var n=t.val(),o=n.text,c=n.user,u=n.image;return{_id:t.key,text:o,user:c,image:u}},n.onSend=function(t){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Array.isArray(t)||(t=[t]);var s=t.map(function(t){return G(G({},t),{},{user:n.props.user,createdAt:new Date,_id:n.props.messageIdGenerator&&n.props.messageIdGenerator()})});!0===o&&(n.setIsTypingDisabled(!0),n.resetInputToolbar()),n.props.onSend&&n.props.onSend(s),!0===o&&setTimeout(function(){!0===n.getIsMounted()&&n.setIsTypingDisabled(!1)},100)},n.onInputSizeChanged=function(t){var o=Math.max(n.props.minComposerHeight,Math.min(n.props.maxComposerHeight,t.height)),s=n.getMessagesContainerHeightWithKeyboard(o);n.setState({composerHeight:o,messagesContainerHeight:s})},n.onInputTextChanged=function(t){n.getIsTypingDisabled()||(n.props.onInputTextChanged&&n.props.onInputTextChanged(t),void 0===n.props.text&&n.setState({text:t}))},n.onInitialLayoutViewLayout=function(t){var o=t.nativeEvent.layout;if(!(o.height<=0)){n.notifyInputTextReset(),n.setMaxHeight(o.height);var s=n.props.minComposerHeight,u=n.getMessagesContainerHeightWithKeyboard(s),l=n.props.initialText||'';n.setState({isInitialized:!0,text:n.getTextFromProp(l),composerHeight:s,messagesContainerHeight:u})}},n.onMainViewLayout=function(t){var o=t.nativeEvent.layout;n.getMaxHeight()===o.height&&!0!==n.getIsFirstLayout()||(n.setMaxHeight(o.height),n.setState({messagesContainerHeight:n._keyboardHeight>0?n.getMessagesContainerHeightWithKeyboard():n.getBasicMessagesContainerHeight()})),!0===n.getIsFirstLayout()&&n.setIsFirstLayout(!1)},n.invertibleScrollViewProps={inverted:n.props.inverted,keyboardShouldPersistTaps:n.props.keyboardShouldPersistTaps,onKeyboardWillShow:n.onKeyboardWillShow,onKeyboardWillHide:n.onKeyboardWillHide,onKeyboardDidShow:n.onKeyboardDidShow,onKeyboardDidHide:n.onKeyboardDidHide},n}return(0,f.default)(H,[{key:"getChildContext",value:function(){var t=this;return{actionSheet:this.props.actionSheet||function(){return t._actionSheetRef.getContext()},getLocale:this.getLocale}}},{key:"componentDidMount",value:function(){var t=this.props,n=t.messages,o=t.text;this.setIsMounted(!0),this.initLocale(),this.setMessages(n||[]),this.setTextFromProp(o)}},{key:"componentWillUnmount",value:function(){this.setIsMounted(!1)}},{key:"componentDidUpdate",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=this.props,s=o.messages,u=o.text,l=o.inverted;this.props!==n&&this.setMessages(s||[]),!1===l&&s&&n.messages&&s.length!==n.messages.length&&setTimeout(function(){return t.scrollToBottom(!1)},200),u!==n.text&&this.setTextFromProp(u)}},{key:"initLocale",value:function(){null===this.props.locale?this.setLocale('en'):this.setLocale(this.props.locale||'en')}},{key:"setLocale",value:function(t){this._locale=t}},{key:"setTextFromProp",value:function(t){void 0!==t&&t!==this.state.text&&this.setState({text:t})}},{key:"getTextFromProp",value:function(t){return void 0===this.props.text?t:this.props.text}},{key:"setMessages",value:function(t){this.setState({messages:t})}},{key:"getMessages",value:function(){return this.state.messages}},{key:"setMaxHeight",value:function(t){this._maxHeight=t}},{key:"getMaxHeight",value:function(){return this._maxHeight}},{key:"setKeyboardHeight",value:function(t){this._keyboardHeight=t}},{key:"getKeyboardHeight",value:function(){return'android'!==v.Platform.OS||this.props.forceGetKeyboardHeight?this._keyboardHeight:0}},{key:"setBottomOffset",value:function(t){this._bottomOffset=t}},{key:"getBottomOffset",value:function(){return this._bottomOffset}},{key:"setIsFirstLayout",value:function(t){this._isFirstLayout=t}},{key:"getIsFirstLayout",value:function(){return this._isFirstLayout}},{key:"setIsTypingDisabled",value:function(t){this.setState({typingDisabled:t})}},{key:"getIsTypingDisabled",value:function(){return this.state.typingDisabled}},{key:"setIsMounted",value:function(t){this._isMounted=t}},{key:"getIsMounted",value:function(){return this._isMounted}},{key:"getMinInputToolbarHeight",value:function(){return this.props.renderAccessory?2*this.props.minInputToolbarHeight:this.props.minInputToolbarHeight}},{key:"calculateInputToolbarHeight",value:function(t){return t+(this.getMinInputToolbarHeight()-this.props.minComposerHeight)}},{key:"getBasicMessagesContainerHeight",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.composerHeight;return this.getMaxHeight()-this.calculateInputToolbarHeight(t)}},{key:"getMessagesContainerHeightWithKeyboard",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.composerHeight;return this.getBasicMessagesContainerHeight(t)-this.getKeyboardHeight()+this.getBottomOffset()}},{key:"scrollToBottom",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._messageContainerRef&&this._messageContainerRef.current&&(this.props.inverted?this._messageContainerRef.current.scrollToOffset({offset:0,animated:t}):this._messageContainerRef.current.scrollToEnd({animated:t}))}},{key:"renderMessages",value:function(){var t=this.props,n=t.messagesContainerStyle,u=(0,s.default)(t,["messagesContainerStyle"]),l=b.default.createElement(v.View,{style:[{height:this.state.messagesContainerHeight},n]},b.default.createElement(E.default,(0,o.default)({},u,{invertibleScrollViewProps:this.invertibleScrollViewProps,messages:this.getMessages(),forwardRef:this._messageContainerRef,isTyping:this.props.isTyping})),this.renderChatFooter());return this.props.isKeyboardInternallyHandled?b.default.createElement(v.KeyboardAvoidingView,{enabled:!0},l):l}},{key:"resetInputToolbar",value:function(){this.textInput&&this.textInput.clear(),this.notifyInputTextReset();var t=this.props.minComposerHeight,n=this.getMessagesContainerHeightWithKeyboard(t);this.setState({text:this.getTextFromProp(''),composerHeight:t,messagesContainerHeight:n})}},{key:"focusTextInput",value:function(){this.textInput&&this.textInput.focus()}},{key:"notifyInputTextReset",value:function(){this.props.onInputTextChanged&&this.props.onInputTextChanged('')}},{key:"renderInputToolbar",value:function(){var t=this,n=G(G({},this.props),{},{text:this.getTextFromProp(this.state.text),composerHeight:Math.max(this.props.minComposerHeight,this.state.composerHeight),onSend:this.onSend,onInputSizeChanged:this.onInputSizeChanged,onTextChanged:this.onInputTextChanged,textInputProps:G(G({},this.props.textInputProps),{},{ref:function(n){return t.textInput=n},maxLength:this.getIsTypingDisabled()?0:this.props.maxInputLength})});return this.props.renderInputToolbar?this.props.renderInputToolbar(n):b.default.createElement(j.default,n)}},{key:"renderChatFooter",value:function(){return this.props.renderChatFooter?this.props.renderChatFooter():null}},{key:"renderLoading",value:function(){return this.props.renderLoading?this.props.renderLoading():null}},{key:"render",value:function(){var t=this;if(!0===this.state.isInitialized){var n=this.props.wrapInSafeArea?v.SafeAreaView:v.View;return b.default.createElement(n,{style:N.safeArea},b.default.createElement(I.ActionSheetProvider,{ref:function(n){return t._actionSheetRef=n}},b.default.createElement(v.View,{style:N.container,onLayout:this.onMainViewLayout},this.renderMessages(),this.renderInputToolbar())))}return b.default.createElement(v.View,{style:N.container,onLayout:this.onInitialLayoutViewLayout},this.renderLoading())}}],[{key:"append",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Array.isArray(n)||(n=[n]),o?n.concat(t):t.concat(n)}},{key:"prepend",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return Array.isArray(n)||(n=[n]),o?t.concat(n):n.concat(t)}}]),H})(b.default.Component);e.GiftedChat=z,z.childContextTypes={actionSheet:y.default.func,getLocale:y.default.func},z.defaultProps={messages:[],messagesContainerStyle:void 0,text:void 0,placeholder:V.DEFAULT_PLACEHOLDER,disableComposer:!1,messageIdGenerator:function(){return H.default.v4()},user:{},onSend:function(){},locale:null,timeFormat:V.TIME_FORMAT,dateFormat:V.DATE_FORMAT,loadEarlier:!1,onLoadEarlier:function(){},isLoadingEarlier:!1,renderLoading:null,renderLoadEarlier:null,renderAvatar:void 0,showUserAvatar:!1,actionSheet:null,onPressAvatar:null,onLongPressAvatar:null,renderUsernameOnMessage:!1,renderAvatarOnTop:!1,renderBubble:null,renderSystemMessage:null,onLongPress:null,renderMessage:null,renderMessageText:null,renderMessageImage:null,imageProps:{},videoProps:{},audioProps:{},lightboxProps:{},textInputProps:{},listViewProps:{},renderCustomView:null,isCustomViewBottom:!1,renderDay:null,renderTime:null,renderFooter:null,renderChatEmpty:null,renderChatFooter:null,renderInputToolbar:null,renderComposer:null,renderActions:null,renderSend:null,renderAccessory:null,isKeyboardInternallyHandled:!0,onPressActionButton:null,bottomOffset:0,minInputToolbarHeight:44,keyboardShouldPersistTaps:v.Platform.select({ios:'never',android:'always',default:'never'}),onInputTextChanged:null,maxInputLength:null,forceGetKeyboardHeight:!1,inverted:!0,extraData:null,minComposerHeight:V.MIN_COMPOSER_HEIGHT,maxComposerHeight:V.MAX_COMPOSER_HEIGHT,wrapInSafeArea:!0},z.propTypes={messages:y.default.arrayOf(y.default.object),messagesContainerStyle:P.StylePropType,text:y.default.string,initialText:y.default.string,placeholder:y.default.string,disableComposer:y.default.bool,messageIdGenerator:y.default.func,user:y.default.object,onSend:y.default.func,locale:y.default.string,timeFormat:y.default.string,dateFormat:y.default.string,isKeyboardInternallyHandled:y.default.bool,loadEarlier:y.default.bool,onLoadEarlier:y.default.func,isLoadingEarlier:y.default.bool,renderLoading:y.default.func,renderLoadEarlier:y.default.func,renderAvatar:y.default.func,showUserAvatar:y.default.bool,actionSheet:y.default.func,onPressAvatar:y.default.func,onLongPressAvatar:y.default.func,renderUsernameOnMessage:y.default.bool,renderAvatarOnTop:y.default.bool,isCustomViewBottom:y.default.bool,renderBubble:y.default.func,renderSystemMessage:y.default.func,onLongPress:y.default.func,renderMessage:y.default.func,renderMessageText:y.default.func,renderMessageImage:y.default.func,imageProps:y.default.object,videoProps:y.default.object,audioProps:y.default.object,lightboxProps:y.default.object,renderCustomView:y.default.func,renderDay:y.default.func,renderTime:y.default.func,renderFooter:y.default.func,renderChatEmpty:y.default.func,renderChatFooter:y.default.func,renderInputToolbar:y.default.func,renderComposer:y.default.func,renderActions:y.default.func,renderSend:y.default.func,renderAccessory:y.default.func,onPressActionButton:y.default.func,bottomOffset:y.default.number,minInputToolbarHeight:y.default.number,listViewProps:y.default.object,keyboardShouldPersistTaps:y.default.oneOf(['always','never','handled']),onInputTextChanged:y.default.func,maxInputLength:y.default.number,forceGetKeyboardHeight:y.default.bool,inverted:y.default.bool,textInputProps:y.default.object,extraData:y.default.object,minComposerHeight:y.default.number,maxComposerHeight:y.default.number,alignTop:y.default.bool,wrapInSafeArea:y.default.bool};var N=v.StyleSheet.create({container:{flex:1},safeArea:{flex:1}})},1424,[9,1,13,54,48,26,27,37,39,36,68,56,2,1425,1434,501,1439,1440,1441,1442,1444,1446,1459,1452,1448,1460,1461,1462,1464,1465,1466,1463,1457,1445,1458]);
__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var n={ActionSheetProvider:!0,connectActionSheet:!0,useActionSheet:!0};Object.defineProperty(e,"ActionSheetProvider",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"connectActionSheet",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"useActionSheet",{enumerable:!0,get:function(){return u.useActionSheet}});var o=t(r(d[1])),c=t(r(d[2])),u=r(d[3]),f=r(d[4]);Object.keys(f).forEach(function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}}))})},1425,[1,1426,1431,1430,1433]);
@@ -1477,17 +1477,21 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).StyleSheet.create({container:{position:"absolute"}});e.default=t},1471,[2]);
__d(function(g,r,i,a,m,e,d){},1472,[]);
__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.useUpdateLayoutEffect=function(u){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],f=(0,t.useRef)(!0);(0,t.useLayoutEffect)(function(){f.current?f.current=!1:u()},n)};var t=r(d[0])},1473,[56]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(r(d[2])),o=n(r(d[3])),s=n(r(d[4])),c=n(r(d[5])),u=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),_=n(r(d[9])),y=t(r(d[10])),h=r(d[11]),b=r(d[12]),w=r(d[13]),v=(n(r(d[14])),t(r(d[15]))),S=r(d[16]),x=n(r(d[17])),E=(r(d[18]),r(d[19]),r(d[20]),t(r(d[21]))),P=r(d[22]),k=n(r(d[23]));function O(t,n){var l=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),l.push.apply(l,o)}return l}function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var C=(function(t){(0,f.default)(O,t);var n,l,v=(n=O,l=L(),function(){var t,o=(0,_.default)(n);if(l){var s=(0,_.default)(this).constructor;t=Reflect.construct(o,arguments,s)}else t=o.apply(this,arguments);return(0,p.default)(this,t)});function O(t){var n;return(0,s.default)(this,O),(n=v.call(this,t)).handleBackButtonClick=function(){n.props.navigation.goBack(null)},n.change_active_category=function(t){return o.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,o.default.awrap(n.setState({active_category:t}));case 2:return l.next=4,o.default.awrap(n.get_sub_categories());case 4:case"end":return l.stop()}},null,null,null,Promise)},n.change_active_sub_category=function(t){return o.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,o.default.awrap(n.setState({active_sub_category:t}));case 2:case"end":return l.stop()}},null,null,null,Promise)},n.handleBackButtonClick=n.handleBackButtonClick.bind((0,u.default)(n)),n.state={categories:n.props.route.params.categories,active_category:n.props.route.params.categories[0].id,sub_categories:[],active_sub_category:0,isLoding:!1,lat:0,lng:0,clinics:[],doctor_id:0,appointment_fee:0},n.get_sub_categories(),n.requestCameraPermission(),n.get_clinics(),n}return(0,c.default)(O,[{key:"get_sub_categories",value:function(){var t=this;return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,o.default.awrap((0,x.default)({method:"post",url:w.api_url+w.doctor_sub_category,data:{category_id:this.state.active_category}}).then(function(n){return o.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,o.default.awrap(t.setState({isLoding:!1}));case 2:return l.next=4,o.default.awrap(t.setState({sub_categories:n.data.result}));case 4:if(!(n.data.result.length>0)){l.next=7;break}return l.next=7,o.default.awrap(t.setState({active_sub_category:n.data.result[0].id}));case 7:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"requestCameraPermission",value:function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o.default.awrap(h.PermissionsAndroid.request(h.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,{title:'location access required',message:'Wecare needs to access your location for tracking.'}));case 3:if(t.sent!==h.PermissionsAndroid.RESULTS.GRANTED){t.next=9;break}return t.next=7,o.default.awrap(this.getInitialLocation());case 7:t.next=10;break;case 9:alert('Sorry can not fetch your location');case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(0),alert('Sorry can not fetch your location');case 15:case"end":return t.stop()}},null,this,[[0,12]],Promise)}},{key:"getInitialLocation",value:function(){var t=this;return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,o.default.awrap(k.default.getCurrentPosition(function(n){var l;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return t.setState({latitude:n.coords.latitude,longitude:n.coords.longitude}),s.next=3,o.default.awrap(n.coords.latitude);case 3:return s.t0=s.sent,s.next=6,o.default.awrap(n.coords.longitude);case 6:return s.t1=s.sent,s.t2=w.LATITUDE_DELTA,s.t3=w.LONGITUDE_DELTA,l={latitude:s.t0,longitude:s.t1,latitudeDelta:s.t2,longitudeDelta:s.t3},s.next=12,o.default.awrap(t.setState({mapRegion:l,lat:n.coords.latitude,lng:n.coords.longitude}));case 12:case"end":return s.stop()}},null,null,null,Promise)},function(n){return t.getInitialLocation()},{enableHighAccuracy:!1,timeout:1e4}));case 2:case"end":return n.stop()}},null,null,null,Promise)}},{key:"get_clinics",value:function(){var t=this;return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,o.default.awrap((0,x.default)({method:"post",url:w.api_url+w.get_clinics}).then(function(n){return o.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1}),t.setState({clinics:n.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"get_nearest_doctor",value:function(){var t=this;return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,o.default.awrap((0,x.default)({method:"post",url:w.api_url+w.get_nearest_doctor,data:{specialist:this.state.active_category,specialist_sub_category:this.state.active_sub_category,lat:this.state.lat,lng:this.state.lng}}).then(function(n){return o.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1}),1==n.data.status?t.setState({doctor_id:n.data.result.doctor_id,appointment_fee:n.data.result.appointment_fee}):alert(n.data.message);case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"appoinment_details",value:function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.default.awrap(this.get_nearest_doctor());case 2:this.state.doctor_id&&this.props.navigation.navigate('CreateAppointment',{id:this.state.doctor_id,price_per_conversation:this.state.appointment_fee,type:2});case 3:case"end":return t.stop()}},null,this,null,Promise)}},{key:"render",value:function(){var t=this;return y.default.createElement(b.View,{style:D.map_style1},y.default.createElement(E.default,{provider:E.PROVIDER_GOOGLE,showsUserLocation:!0,style:D.map,showsMyLocationButton:!0,region:this.state.mapRegion},y.default.createElement(E.default.Marker,{key:1,coordinate:{latitude:37.78825,longitude:-122.4324},title:"Mercy hospital",description:"Dr.APJ abdul kalam"},y.default.createElement(h.Image,{style:D.map_style3,source:r(d[24])})),this.state.clinics.map(function(t,n){return y.default.createElement(E.default.Marker,{key:1,coordinate:{latitude:parseFloat(t.clinic_lat),longitude:parseFloat(t.clinic_lng)},title:"Mercy hospital",description:"Dr.APJ abdul kalam"},y.default.createElement(h.Image,{style:D.map_style4,source:r(d[24])}))})),y.default.createElement(b.View,{style:D.map_style5},y.default.createElement(b.Icon,{onPress:function(){return t.handleBackButtonClick()},style:D.drawer_icon,name:"arrow-back"})),y.default.createElement(b.View,{style:D.map_style6},y.default.createElement(h.Text,{style:D.map_style7},"Find your best doctor"),y.default.createElement(h.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1},y.default.createElement(b.View,{style:D.map_style8},this.state.categories.map(function(n,l){return y.default.createElement(b.Card,{style:D.map_style9},y.default.createElement(h.TouchableOpacity,{onPress:function(){return t.change_active_category(n.id)},style:D.map_style10},y.default.createElement(b.Thumbnail,{small:!0,source:{uri:w.img_url+n.category_image}}),t.state.active_category==n.id?y.default.createElement(h.Text,{style:D.map_style11},n.category_name):y.default.createElement(h.Text,{style:D.map_style12},n.category_name)))}))),y.default.createElement(b.View,{style:D.map_style13}),y.default.createElement(h.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1},y.default.createElement(b.View,{style:D.map_style14},this.state.sub_categories.map(function(n,l){return y.default.createElement(b.View,null,t.state.active_sub_category==n.id?y.default.createElement(h.TouchableOpacity,{onPress:function(){return t.change_active_sub_category(n.id)},style:D.map_style15},y.default.createElement(h.Text,{style:D.map_style16},n.sub_category_name)):y.default.createElement(h.TouchableOpacity,{onPress:function(){return t.change_active_sub_category(n.id)},style:D.map_style17},y.default.createElement(h.Text,{style:D.map_style18},n.sub_category_name)))}))),y.default.createElement(b.View,{style:D.map_style19}),y.default.createElement(P.Button,{buttonStyle:D.map_style20,titleStyle:D.map_style21,onPress:function(){return t.appoinment_details()},title:"Book an appointment now"})),y.default.createElement(S.Loader,{visible:this.state.isLoding}))}}]),O})(y.Component);e.default=C;var D=h.StyleSheet.create({map_style1:{height:'100%',width:'100%'},map_style2:(function(t){for(var n=1;n0)){l.next=7;break}return l.next=7,o.default.awrap(t.setState({active_sub_category:n.data.result[0].id}));case 7:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"requestCameraPermission",value:function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,o.default.awrap(h.PermissionsAndroid.request(h.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,{title:'location access required',message:'Wecare needs to access your location for tracking.'}));case 3:if(t.sent!==h.PermissionsAndroid.RESULTS.GRANTED){t.next=9;break}return t.next=7,o.default.awrap(this.getInitialLocation());case 7:t.next=10;break;case 9:alert('Sorry can not fetch your location');case 10:t.next=15;break;case 12:t.prev=12,t.t0=t.catch(0),alert('Sorry can not fetch your location');case 15:case"end":return t.stop()}},null,this,[[0,12]],Promise)}},{key:"getInitialLocation",value:function(){var t=this;return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,o.default.awrap(k.default.getCurrentPosition(function(n){var l;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return t.setState({latitude:n.coords.latitude,longitude:n.coords.longitude}),s.next=3,o.default.awrap(n.coords.latitude);case 3:return s.t0=s.sent,s.next=6,o.default.awrap(n.coords.longitude);case 6:return s.t1=s.sent,s.t2=w.LATITUDE_DELTA,s.t3=w.LONGITUDE_DELTA,l={latitude:s.t0,longitude:s.t1,latitudeDelta:s.t2,longitudeDelta:s.t3},s.next=12,o.default.awrap(t.setState({mapRegion:l,lat:n.coords.latitude,lng:n.coords.longitude}));case 12:case"end":return s.stop()}},null,null,null,Promise)},function(n){return t.getInitialLocation()},{enableHighAccuracy:!1,timeout:1e4}));case 2:case"end":return n.stop()}},null,null,null,Promise)}},{key:"get_clinics",value:function(){var t=this;return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,o.default.awrap((0,x.default)({method:"post",url:w.api_url+w.get_clinics}).then(function(n){return o.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1}),t.setState({clinics:n.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"get_nearest_doctor",value:function(){var t=this;return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,o.default.awrap((0,x.default)({method:"post",url:w.api_url+w.get_nearest_doctor,data:{specialist:this.state.active_category,specialist_sub_category:this.state.active_sub_category,lat:this.state.lat,lng:this.state.lng}}).then(function(n){return o.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1}),1==n.data.status?t.setState({doctor_id:n.data.result.doctor_id,appointment_fee:n.data.result.appointment_fee}):alert(n.data.message);case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert('Something went wrong')}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"appoinment_details",value:function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.default.awrap(this.get_nearest_doctor());case 2:this.state.doctor_id&&this.props.navigation.navigate('CreateAppointment',{id:this.state.doctor_id,price_per_conversation:this.state.appointment_fee,type:2});case 3:case"end":return t.stop()}},null,this,null,Promise)}},{key:"render",value:function(){var t=this;return y.default.createElement(b.View,{style:D.map_style1},y.default.createElement(E.default,{provider:E.PROVIDER_GOOGLE,showsUserLocation:!0,style:D.map,showsMyLocationButton:!0,region:this.state.mapRegion},y.default.createElement(E.default.Marker,{key:1,coordinate:{latitude:37.78825,longitude:-122.4324},title:"Mercy hospital",description:"Dr.APJ abdul kalam"},y.default.createElement(h.Image,{style:D.map_style3,source:r(d[24])})),this.state.clinics.map(function(t,n){return y.default.createElement(E.default.Marker,{key:1,coordinate:{latitude:parseFloat(t.clinic_lat),longitude:parseFloat(t.clinic_lng)},title:"Mercy hospital",description:"Dr.APJ abdul kalam"},y.default.createElement(h.Image,{style:D.map_style4,source:r(d[24])}))})),y.default.createElement(b.View,{style:D.map_style5},y.default.createElement(b.Icon,{onPress:function(){return t.handleBackButtonClick()},style:D.drawer_icon,name:"arrow-back"})),y.default.createElement(b.View,{style:D.map_style6},y.default.createElement(h.Text,{style:D.map_style7},"Find your best doctor"),y.default.createElement(h.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1},y.default.createElement(b.View,{style:D.map_style8},this.state.categories.map(function(n,l){return y.default.createElement(b.Card,{style:D.map_style9},y.default.createElement(h.TouchableOpacity,{onPress:function(){return t.change_active_category(n.id)},style:D.map_style10},y.default.createElement(b.Thumbnail,{small:!0,source:{uri:w.img_url+n.category_image}}),t.state.active_category==n.id?y.default.createElement(h.Text,{style:D.map_style11},n.category_name):y.default.createElement(h.Text,{style:D.map_style12},n.category_name)))}))),y.default.createElement(b.View,{style:D.map_style13}),y.default.createElement(h.ScrollView,{horizontal:!0,showsHorizontalScrollIndicator:!1},y.default.createElement(b.View,{style:D.map_style14},this.state.sub_categories.map(function(n,l){return y.default.createElement(b.View,null,t.state.active_sub_category==n.id?y.default.createElement(h.TouchableOpacity,{onPress:function(){return t.change_active_sub_category(n.id)},style:D.map_style15},y.default.createElement(h.Text,{style:D.map_style16},n.sub_category_name)):y.default.createElement(h.TouchableOpacity,{onPress:function(){return t.change_active_sub_category(n.id)},style:D.map_style17},y.default.createElement(h.Text,{style:D.map_style18},n.sub_category_name)))}))),y.default.createElement(b.View,{style:D.map_style19}),y.default.createElement(P.Button,{buttonStyle:D.map_style20,titleStyle:D.map_style21,onPress:function(){return t.appoinment_details()},title:"Book an appointment now"})),y.default.createElement(S.Loader,{visible:this.state.isLoding}))}}]),O})(y.Component);e.default=C;var D=h.StyleSheet.create({map_style1:{height:'100%',width:'100%'},map_style2:(function(t){for(var n=1;n0&&_.default.createElement(E.Rating,{ratingCount:5,startingValue:l.overall_rating,imageSize:12,readonly:!0}))))},keyExtractor:function(t){return t.id}})),0==this.state.result.length&&1==this.state.api_status&&_.default.createElement(y.View,null,_.default.createElement(y.View,{style:C.list_style15},_.default.createElement(x.default,{source:p.doctor_list,autoPlay:!0,loop:!0})),_.default.createElement(y.Text,{style:C.list_style16},"Sorry, no doctor list found"))),_.default.createElement(b.Loader,{visible:this.state.isLoding}))}}]),P})(_.Component);e.default=R;var C=y.StyleSheet.create({list_style1:{alignItems:"flex-start",margin:10},list_style2:{width:100,justifyContent:"center"},list_style3:{color:w.theme_fg_two,fontSize:30},list_style4:{margin:5},list_style5:{fontSize:25,color:w.theme_fg_two,fontFamily:p.font_title},list_style6:{fontSize:14,fontFamily:p.font_title,color:w.theme_fg_two},list_style7:{margin:1},list_style8:{fontSize:12,color:w.grey,fontFamily:p.font_title},list_style9:{margin:1},list_style10:{fontSize:12,color:w.grey,fontFamily:p.font_title},list_style11:{margin:1},list_style12:{justifyContent:"center"},list_style13:{fontSize:18,fontFamily:p.font_title,color:w.theme_fg},list_style14:{margin:5},list_style15:{height:250,marginTop:"40%"},list_style16:{alignSelf:"center",fontFamily:p.font_title},header:{justifyContent:"flex-start",height:"10%",backgroundColor:w.theme_bg,borderBottomLeftRadius:45,borderBottomRightRadius:45,shadowOffset:{width:0,height:15},shadowColor:w.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},header_card:{alignItems:"center",borderRadius:15,justifyContent:"center"},header_card_item:{borderTopLeftRadius:15,borderTopRightRadius:15,borderBottomLeftRadius:15,borderBottomRightRadius:15,shadowOffset:{width:0,height:15},shadowColor:w.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},icon:{color:w.theme_fg_two},header_body:{flex:3,justifyContent:"center"},title:{alignSelf:"center",color:w.theme_fg_three,alignSelf:"center",fontSize:16,fontFamily:p.font_title},imagetwo:{alignSelf:"center",height:130,width:100,marginTop:10,marginLeft:40}})},1481,[9,1,101,26,27,37,39,36,56,2,984,830,1188,1249,415,819,860,941,1339,472,829,921,1143]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.PharmacyDetail=void 0;var n=l(r(d[2])),o=l(r(d[3])),s=l(r(d[4])),y=l(r(d[5])),c=l(r(d[6])),f=l(r(d[7])),u=t(r(d[8])),_=r(d[9]),h=r(d[10]),p=r(d[11]),C=l(r(d[12])),w=r(d[13]),S=t(r(d[14])),v=l(r(d[15])),E=(r(d[16]),l(r(d[17]))),k=(l(r(d[18])),l(r(d[19])));l(r(d[20])),r(d[21]);function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var x=(function(t){(0,y.default)(P,t);var l,x,F=(l=P,x=b(),function(){var t,n=(0,f.default)(l);if(x){var o=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function P(t){var l;return(0,o.default)(this,P),(l=F.call(this,t)).handlePickerCamera=function(){var t;return n.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:t=new FormData,k.default.launchCamera({},function(o){return n.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(console.log('Response = ',o),!o.didCancel){s.next=5;break}console.log('User cancelled image picker'),s.next=19;break;case 5:if(!o.error){s.next=9;break}console.log('ImagePicker Error: ',o.error),s.next=19;break;case 9:if(!o.customButton){s.next=13;break}console.log('User tapped custom button: ',o.customButton),s.next=19;break;case 13:return console.log(o),l.setState({Image:o.uri}),t.append('vendor',l.state._id),t.append('prescription',l.state.Image),s.next=19,n.default.awrap(E.default.post(w.api_url1+"/order/add_order",t,{headers:{Authorization:"Bearer "+g.fcm_token}}).then(function(t){console.log(t)}).then(alert('success')).then(l.props.navigation.navigate('MyOrders')));case 19:case"end":return s.stop()}},null,null,null,Promise)});case 2:case"end":return o.stop()}},null,null,null,Promise)},l.move_prescription=function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:l.props.navigation.navigate('PrescriptionUpload');case 1:case"end":return t.stop()}},null,null,null,Promise)},l.handlePicker=function(){var t=new FormData;console.log('edit'),k.default.launchImageLibrary({},function(o){return n.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(console.log('Response = ',o),!o.didCancel){s.next=5;break}console.log('User cancelled image picker'),s.next=19;break;case 5:if(!o.error){s.next=9;break}console.log('ImagePicker Error: ',o.error),s.next=19;break;case 9:if(!o.customButton){s.next=13;break}console.log('User tapped custom button: ',o.customButton),s.next=19;break;case 13:return l.setState({Image:o.uri}),l.setState({ImageData:{name:o.fileName,type:o.type,uri:o.uri}}),t.append('vendor',l.state._id),t.append('prescription',l.state.ImageData),s.next=19,n.default.awrap(E.default.post(w.api_url1+"/order/add_order",t,{headers:{Authorization:"Bearer "+g.fcm_token}}).then(function(t){console.log(t)}).then(alert('success')).then(l.props.navigation.navigate('MyOrders')));case 19:case"end":return s.stop()}},null,null,null,Promise)})},l.state={vendor:l.props.route.params.vendor,isLoding:!1,Pressed:'',_id:l.props.route.params.vendor._id,Image:'',ImageData:""},l}return(0,s.default)(P,[{key:"render",value:function(){return u.default.createElement(h.Container,null,u.default.createElement(h.Content,null,u.default.createElement(_.View,null,u.default.createElement(_.Image,{style:z.my_style1,source:{uri:this.state.vendor.storeImage}})),u.default.createElement(h.Row,{style:z.my_style2},u.default.createElement(h.Body,null)),u.default.createElement(C.default,null,u.default.createElement(_.View,{style:z.my_style4},u.default.createElement(_.Text,{style:z.my_style5},"Pharmacy Informations"),u.default.createElement(_.View,{style:z.my_style6}),u.default.createElement(_.View,{style:z.my_style7},u.default.createElement(h.Row,null,u.default.createElement(h.Col,{style:z.my_style8},u.default.createElement(v.default,{name:"user",size:20,color:"black",style:z.my_style9})),u.default.createElement(h.Col,{style:z.my_style10},u.default.createElement(_.Text,{style:z.my_style11},this.state.vendor.storeName)),u.default.createElement(_.View,{style:z.my_style12}),u.default.createElement(h.Col,{style:z.my_style13}),u.default.createElement(_.View,{style:z.my_style14}),u.default.createElement(h.Col,{style:z.my_style15},u.default.createElement(v.default,{name:"mobile",size:25,color:"black",style:z.my_style16})),u.default.createElement(h.Col,{style:z.my_style17},u.default.createElement(_.Text,{style:z.my_style18},this.state.vendor.number))),u.default.createElement(_.View,{style:z.my_style19}),u.default.createElement(h.Row,null,u.default.createElement(h.Col,{style:z.my_style20},u.default.createElement(v.default,{name:"envelope",size:15,color:"black",style:z.my_style21})),u.default.createElement(h.Col,{style:z.my_style22},u.default.createElement(_.Text,{style:z.my_style23},this.state.vendor.email)))))),u.default.createElement(_.View,{style:{paddingHorizontal:10}},u.default.createElement(_.Text,{style:{fontSize:20,color:S.theme_fg,fontFamily:w.font_title,marginVertical:10}},"Upload your prescription"),u.default.createElement(p.Button,{onPress:this.handlePicker,buttonStyle:z.cat_style16,title:"Upload Via gallery",titleStyle:z.cat_style17}),u.default.createElement(_.View,{style:{height:10}}),u.default.createElement(p.Button,{onPress:this.handlePickerCamera,buttonStyle:z.cat_style16,title:"Upload Via Camera",titleStyle:z.cat_style17})),u.default.createElement(_.View,{style:{marginBottom:10}})))}}]),P})(u.Component);e.PharmacyDetail=x;var z=_.StyleSheet.create({my_style1:{alignSelf:"center",height:400,width:"100%"},my_style2:{marginTop:-45},my_style3:{alignSelf:"center",height:90,width:90,borderRadius:45},my_style4:{backgroundColor:S.theme_fg_three,width:"100%",padding:10},my_style5:{fontSize:14,color:S.theme_fg,fontFamily:w.font_title},my_style6:{margin:5},my_style7:{padding:5},my_style8:{height:"100%",width:"10%",alignSelf:"center"},my_style9:{color:S.theme_fg},my_style10:{height:"100%",width:"35%",justifyContent:"center",marginLeft:5},my_style11:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_description},my_style12:{margin:2},my_style13:{height:"100%",width:"5%",alignSelf:"center"},my_style14:{margin:5},my_style15:{height:"100%",width:"10%",alignSelf:"center"},my_style16:{color:S.theme_fg},my_style17:{height:"100%",width:"90%",justifyContent:"center",marginLeft:5},my_style18:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_description},my_style19:{margin:5},my_style20:{height:"100%",width:"10%",alignSelf:"center"},my_style21:{color:S.theme_fg},my_style22:{height:"100%",width:"90%",justifyContent:"center",marginLeft:5},my_style23:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_description},my_style24:{margin:2},my_style25:{backgroundColor:S.theme_fg_three,width:"100%",padding:10},my_style26:{fontSize:14,color:S.theme_fg,fontFamily:w.font_title},my_style27:{margin:5},my_style28:{fontSize:12,paddingRight:20,color:"#C4C3C3",fontFamily:w.font_description},my_style29:{margin:2},my_style30:{backgroundColor:S.theme_fg_three,width:"100%",padding:10},my_style31:{fontSize:14,color:S.theme_fg,fontFamily:w.font_title},my_style32:{margin:5},my_style33:{padding:5},my_style34:{height:"100%",width:"10%",alignSelf:"center"},my_style35:{color:S.theme_fg},my_style36:{height:"100%",width:"45%",alignSelf:"center",marginLeft:5},my_style37:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_title},my_style38:{margin:2},my_style39:{fontSize:14,color:S.theme_fg_five,fontFamily:w.font_description},my_style40:{margin:5},my_style41:{height:"100%",width:"10%",alignSelf:"center"},my_style42:{color:S.theme_fg},my_style43:{height:"100%",width:"35%",alignSelf:"center",marginLeft:5},my_style44:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_title},my_style45:{margin:2},my_style46:{height:"100%",width:"70%",alignSelf:"center"},my_style47:{fontSize:14,color:S.theme_fg_five,fontFamily:w.font_description},my_style48:{margin:10},my_style49:{height:"100%",width:"10%",alignSelf:"center"},my_style50:{color:S.theme_fg},my_style51:{height:"100%",width:"35%",alignSelf:"center",marginLeft:5},my_style52:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_title},my_style53:{margin:2},my_style54:{fontSize:14,color:S.theme_fg_five,fontFamily:w.font_description},my_style55:{margin:2},my_style56:{height:"100%",width:"5%",alignSelf:"center"},my_style57:{margin:5},my_style58:{margin:5},my_style59:{margin:2},my_style60:{backgroundColor:S.theme_fg_three,width:"100%",padding:10},my_style61:{fontSize:14,color:S.theme_fg,fontFamily:w.font_title},my_style62:{margin:5},my_style63:{padding:5},my_style64:{alignItems:"center",justifyContent:"center"},my_style65:{color:S.theme_fg},my_style66:{fontSize:12,color:S.theme_fg_two,fontFamily:w.font_title},my_style67:{alignItems:"center",justifyContent:"center"},my_style68:{color:S.theme_fg},my_style69:{fontSize:12,color:S.theme_fg_two,fontFamily:w.font_title},title:{fontSize:18,color:"#1065cd",marginTop:10,marginRight:30,fontFamily:w.font_title},header:{marginRight:10,marginTop:10,alignSelf:"center"},imagethree:{alignSelf:"center",height:40,width:40,borderRadius:100}}),F=x;e.default=F},1482,[9,1,101,26,27,37,39,36,56,2,984,830,1249,415,819,860,829,941,651,1341,1255,1258]);
-__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.PrescriptionUpload=void 0;var o=n(r(d[2])),l=n(r(d[3])),c=n(r(d[4])),u=n(r(d[5])),s=n(r(d[6])),f=n(r(d[7])),p=t(r(d[8])),h=r(d[9]),P=t(r(d[10]));function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var y=(function(t){(0,u.default)(k,t);var n,y,I=(n=k,y=v(),function(){var t,o=(0,f.default)(n);if(y){var l=(0,f.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,s.default)(this,t)});function k(t){var n;return(0,l.default)(this,k),(n=I.call(this,t)).PrescriptionPost=function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.default.awrap(axios.post(api_url1+"/order/add_order",{Image:Image},{headers:{Authorization:"Bearer "+n.state.vendor._id}}).then(function(t){n.setState({PharmacyData:t.data.data})}));case 2:case"end":return t.stop()}},null,null,null,Promise)},n.handlePicker=function(){P.default.launchImageLibrary({},function(t){console.log('Response = ',t),t.didCancel?console.log('User cancelled image picker'):t.error?console.log('ImagePicker Error: ',t.error):t.customButton?console.log('User tapped custom button: ',t.customButton):n.setState({Image:t.uri})})},n.handlePickerCamera=function(){P.default.launchCamera({},function(t){console.log('Response = ',t),t.didCancel?console.log('User cancelled image picker'):t.error?console.log('ImagePicker Error: ',t.error):t.customButton?console.log('User tapped custom button: ',t.customButton):n.setState({Image:t.uri})})},n.state={Image:''},n}return(0,c.default)(k,[{key:"render",value:function(){return p.default.createElement(h.View,{style:{paddingHorizontal:10}},p.default.createElement(h.Text,null," ",this.state.Image,"textInComponent "),p.default.createElement(h.Button,{onPress:this.handlePickerCamera,title:"Upload Via Camera"}),p.default.createElement(h.Button,{onPress:this.handlePicker,title:"Upload Via gallery"}))}}]),k})(p.Component);e.PrescriptionUpload=y;var I=y;e.default=I},1483,[9,1,101,26,27,37,39,36,56,2,1341]);
-__d(function(e,a,d,h,i,s,t){i.exports={name:"desihealth",displayName:"desihealth"}},1484,[]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(r(d[2])),s=n(r(d[3])),o=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),_=t(r(d[8])),y=r(d[9]),h=r(d[10]),p=(r(d[11]),n(r(d[12])),n(r(d[13])),r(d[14])),w=t(r(d[15])),v=(n(r(d[16])),n(r(d[17]))),S=n(r(d[18])),b=(r(d[19]),r(d[20])),E=r(d[21]),x=n(r(d[22]));function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var R=(function(t){(0,u.default)(P,t);var n,w,R=(n=P,w=L(),function(){var t,l=(0,f.default)(n);if(w){var s=(0,f.default)(this).constructor;t=Reflect.construct(l,arguments,s)}else t=l.apply(this,arguments);return(0,c.default)(this,t)});function P(t){var n;return(0,s.default)(this,P),(n=R.call(this,t)).get_doctors=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:1==n.state.type?n.get_doctors_by_category():2==n.state.type?n.get_doctors_by_symptoms():3==n.state.type&&n.get_doctors_by_ratings();case 1:case"end":return t.stop()}},null,null,null,Promise)},n.get_symptom_doctors=function(t){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return n.setState({isLoding:!0}),t.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+get_symptom_doctors,data:{service_id:n.state.data.id}}).then(function(t){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:n.setState({isLoding:!1,api_status:1}),n.setState({result:t.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(t){n.setState({isLoding:!1}),alert("Something went wrong")}));case 3:case"end":return t.stop()}},null,null,null,Promise)},n.doctorsList=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.default.awrap(v.default.get("https://desi-health-api.herokuapp.com/api/doctors").then(function(t){return n.setState({doctors:t.data.data})}));case 2:case"end":return t.stop()}},null,null,null,Promise)},n.doctor_details=function(t){n.props.navigation.navigate("DoctorDetail",{data:t})},n.handleBackButtonClick=function(){n.props.navigation.goBack(null)},n.state={result:[],api_status:0,isLoding:!1,doctors:[],name:n.props.route.params.name},n.doctorsList(),n}return(0,o.default)(P,[{key:"get_doctors_by_category",value:function(){var t=this;return l.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+p.get_doctor_by_specialists,data:{specialist:this.state.id,specialist_sub_category:this.state.sub_id}}).then(function(n){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1,api_status:1}),t.setState({result:n.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert("Something went wrong")}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"get_doctors_by_symptoms",value:function(){var t=this;return l.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+p.get_doctor_by_services,data:{service_id:this.state.id}}).then(function(n){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1,api_status:1}),t.setState({result:n.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert("Something went wrong")}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"get_doctors_by_ratings",value:function(){var t=this;return l.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return this.setState({isLoding:!0}),n.next=3,l.default.awrap((0,v.default)({method:"post",url:p.api_url+p.get_doctor_by_ratings}).then(function(n){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:t.setState({isLoding:!1,api_status:1}),t.setState({result:n.data.result});case 2:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(n){t.setState({isLoding:!1}),alert("Something went wrong")}));case 3:case"end":return n.stop()}},null,this,null,Promise)}},{key:"render",value:function(){var t=this;return _.default.createElement(h.Container,null,_.default.createElement(y.View,null,_.default.createElement(y.View,{style:C.list_style1},_.default.createElement(y.TouchableOpacity,{style:C.list_style2,onPress:this.handleBackButtonClick,activeOpacity:1},_.default.createElement(y.Image,{style:{width:20,height:20,backgroundColor:"white",marginVertical:12},source:S.default})),_.default.createElement(y.View,{style:C.list_style4}),_.default.createElement(y.Text,{style:C.list_style5},this.state.name))),_.default.createElement(h.Content,null,_.default.createElement(h.List,null),_.default.createElement(h.List,null,_.default.createElement(y.FlatList,{data:this.state.doctors,renderItem:function(n){var l=n.item;n.index;return _.default.createElement(h.ListItem,{avatar:!0,onPress:t.doctor_details.bind(t,l)},t.state.name==l.symptoms[0].name&&_.default.createElement(_.default.Fragment,null,_.default.createElement(h.Col,{style:{width:75}},_.default.createElement(h.Thumbnail,{source:{uri:l.profilePicture}})),_.default.createElement(h.Col,null,_.default.createElement(y.Text,{style:C.list_style6},"Dr.",l.name),_.default.createElement(y.View,{style:C.list_style7}),_.default.createElement(y.Text,{style:C.list_style8},l.qualification," (",l.category.name,")"),_.default.createElement(y.View,{style:C.list_style9}),_.default.createElement(y.Text,{style:C.list_style10},l.experience," Years experience"),_.default.createElement(y.View,{style:C.list_style11}),parseInt(l.overall_rating)>0&&_.default.createElement(E.Rating,{ratingCount:5,startingValue:l.overall_rating,imageSize:12,readonly:!0}))))},keyExtractor:function(t){return t.id}})),0==this.state.result.length&&1==this.state.api_status&&_.default.createElement(y.View,null,_.default.createElement(y.View,{style:C.list_style15},_.default.createElement(x.default,{source:p.doctor_list,autoPlay:!0,loop:!0})),_.default.createElement(y.Text,{style:C.list_style16},"Sorry, no doctor list found"))),_.default.createElement(b.Loader,{visible:this.state.isLoding}))}}]),P})(_.Component);e.default=R;var C=y.StyleSheet.create({list_style1:{alignItems:"flex-start",margin:10},list_style2:{width:100,justifyContent:"center"},list_style3:{color:w.theme_fg_two,fontSize:30},list_style4:{margin:5},list_style5:{fontSize:25,color:w.theme_fg_two,fontFamily:p.font_title},list_style6:{fontSize:14,fontFamily:p.font_title,color:w.theme_fg_two},list_style7:{margin:1},list_style8:{fontSize:12,color:w.grey,fontFamily:p.font_title},list_style9:{margin:1},list_style10:{fontSize:12,color:w.grey,fontFamily:p.font_title},list_style11:{margin:1},list_style12:{justifyContent:"center"},list_style13:{fontSize:18,fontFamily:p.font_title,color:w.theme_fg},list_style14:{margin:5},list_style15:{height:250,marginTop:"40%"},list_style16:{alignSelf:"center",fontFamily:p.font_title},header:{justifyContent:"flex-start",height:"10%",backgroundColor:w.theme_bg,borderBottomLeftRadius:45,borderBottomRightRadius:45,shadowOffset:{width:0,height:15},shadowColor:w.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},header_card:{alignItems:"center",borderRadius:15,justifyContent:"center"},header_card_item:{borderTopLeftRadius:15,borderTopRightRadius:15,borderBottomLeftRadius:15,borderBottomRightRadius:15,shadowOffset:{width:0,height:15},shadowColor:w.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},icon:{color:w.theme_fg_two},header_body:{flex:3,justifyContent:"center"},title:{alignSelf:"center",color:w.theme_fg_three,alignSelf:"center",fontSize:16,fontFamily:p.font_title},imagetwo:{alignSelf:"center",height:130,width:100,marginTop:10,marginLeft:40}})},1481,[9,1,101,26,27,37,39,36,56,2,984,830,1188,1249,415,819,860,941,1333,472,829,921,1143]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.PharmacyDetail=void 0;var n=l(r(d[2])),o=l(r(d[3])),s=l(r(d[4])),y=l(r(d[5])),c=l(r(d[6])),f=l(r(d[7])),u=t(r(d[8])),_=r(d[9]),h=r(d[10]),p=r(d[11]),C=l(r(d[12])),w=r(d[13]),S=t(r(d[14])),v=l(r(d[15])),E=(r(d[16]),l(r(d[17]))),k=(l(r(d[18])),l(r(d[19])));l(r(d[20])),r(d[21]);function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var x=(function(t){(0,y.default)(P,t);var l,x,F=(l=P,x=b(),function(){var t,n=(0,f.default)(l);if(x){var o=(0,f.default)(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return(0,c.default)(this,t)});function P(t){var l;return(0,o.default)(this,P),(l=F.call(this,t)).handlePickerCamera=function(){var t;return n.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:t=new FormData,k.default.launchCamera({},function(o){return n.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(console.log('Response = ',o),!o.didCancel){s.next=5;break}console.log('User cancelled image picker'),s.next=19;break;case 5:if(!o.error){s.next=9;break}console.log('ImagePicker Error: ',o.error),s.next=19;break;case 9:if(!o.customButton){s.next=13;break}console.log('User tapped custom button: ',o.customButton),s.next=19;break;case 13:return l.setState({Image:o.uri}),l.setState({ImageData:{name:o.fileName,type:o.type,uri:o.uri}}),t.append('vendor',l.state._id),t.append('prescription',l.state.ImageData),s.next=19,n.default.awrap(E.default.post(w.api_url1+"/order/add_order",t,{headers:{Authorization:"Bearer "+g.fcm_token}}).then(function(t){console.log(t)}).then(alert('success')).then(l.props.navigation.navigate('MyOrders')));case 19:case"end":return s.stop()}},null,null,null,Promise)});case 2:case"end":return o.stop()}},null,null,null,Promise)},l.move_prescription=function(){return n.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:l.props.navigation.navigate('PrescriptionUpload');case 1:case"end":return t.stop()}},null,null,null,Promise)},l.handlePicker=function(){var t=new FormData;console.log('edit'),k.default.launchImageLibrary({},function(o){return n.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:if(console.log('Response = ',o),!o.didCancel){s.next=5;break}console.log('User cancelled image picker'),s.next=19;break;case 5:if(!o.error){s.next=9;break}console.log('ImagePicker Error: ',o.error),s.next=19;break;case 9:if(!o.customButton){s.next=13;break}console.log('User tapped custom button: ',o.customButton),s.next=19;break;case 13:return l.setState({Image:o.uri}),l.setState({ImageData:{name:o.fileName,type:o.type,uri:o.uri}}),t.append('vendor',l.state._id),t.append('prescription',l.state.ImageData),s.next=19,n.default.awrap(E.default.post(w.api_url1+"/order/add_order",t,{headers:{Authorization:"Bearer "+g.fcm_token}}).then(function(t){console.log(t)}).then(alert('success')).then(l.props.navigation.navigate('MyOrders')));case 19:case"end":return s.stop()}},null,null,null,Promise)})},l.state={vendor:l.props.route.params.vendor,isLoding:!1,Pressed:'',_id:l.props.route.params.vendor._id,Image:'',ImageData:""},l}return(0,s.default)(P,[{key:"render",value:function(){return u.default.createElement(h.Container,null,u.default.createElement(h.Content,null,u.default.createElement(_.View,null,u.default.createElement(_.Image,{style:z.my_style1,source:{uri:this.state.vendor.storeImage}})),u.default.createElement(h.Row,{style:z.my_style2},u.default.createElement(h.Body,null)),u.default.createElement(C.default,null,u.default.createElement(_.View,{style:z.my_style4},u.default.createElement(_.Text,{style:z.my_style5},"Pharmacy Informations"),u.default.createElement(_.View,{style:z.my_style6}),u.default.createElement(_.View,{style:z.my_style7},u.default.createElement(h.Row,null,u.default.createElement(h.Col,{style:z.my_style8},u.default.createElement(v.default,{name:"user",size:20,color:"black",style:z.my_style9})),u.default.createElement(h.Col,{style:z.my_style10},u.default.createElement(_.Text,{style:z.my_style11},this.state.vendor.storeName)),u.default.createElement(_.View,{style:z.my_style12}),u.default.createElement(h.Col,{style:z.my_style13}),u.default.createElement(_.View,{style:z.my_style14}),u.default.createElement(h.Col,{style:z.my_style15},u.default.createElement(v.default,{name:"mobile",size:25,color:"black",style:z.my_style16})),u.default.createElement(h.Col,{style:z.my_style17},u.default.createElement(_.Text,{style:z.my_style18},this.state.vendor.number))),u.default.createElement(_.View,{style:z.my_style19}),u.default.createElement(h.Row,null,u.default.createElement(h.Col,{style:z.my_style20},u.default.createElement(v.default,{name:"envelope",size:15,color:"black",style:z.my_style21})),u.default.createElement(h.Col,{style:z.my_style22},u.default.createElement(_.Text,{style:z.my_style23},this.state.vendor.email)))))),u.default.createElement(_.View,{style:{paddingHorizontal:10}},u.default.createElement(_.Text,{style:{fontSize:20,color:S.theme_fg,fontFamily:w.font_title,marginVertical:10}},"Upload your prescription"),u.default.createElement(p.Button,{onPress:this.handlePicker,buttonStyle:z.cat_style16,title:"Upload Via gallery",titleStyle:z.cat_style17}),u.default.createElement(_.View,{style:{height:10}}),u.default.createElement(p.Button,{onPress:this.handlePickerCamera,buttonStyle:z.cat_style16,title:"Upload Via Camera",titleStyle:z.cat_style17})),u.default.createElement(_.View,{style:{marginBottom:10}})))}}]),P})(u.Component);e.PharmacyDetail=x;var z=_.StyleSheet.create({my_style1:{alignSelf:"center",height:400,width:"100%"},my_style2:{marginTop:-45},my_style3:{alignSelf:"center",height:90,width:90,borderRadius:45},my_style4:{backgroundColor:S.theme_fg_three,width:"100%",padding:10},my_style5:{fontSize:14,color:S.theme_fg,fontFamily:w.font_title},my_style6:{margin:5},my_style7:{padding:5},my_style8:{height:"100%",width:"10%",alignSelf:"center"},my_style9:{color:S.theme_fg},my_style10:{height:"100%",width:"35%",justifyContent:"center",marginLeft:5},my_style11:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_description},my_style12:{margin:2},my_style13:{height:"100%",width:"5%",alignSelf:"center"},my_style14:{margin:5},my_style15:{height:"100%",width:"10%",alignSelf:"center"},my_style16:{color:S.theme_fg},my_style17:{height:"100%",width:"90%",justifyContent:"center",marginLeft:5},my_style18:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_description},my_style19:{margin:5},my_style20:{height:"100%",width:"10%",alignSelf:"center"},my_style21:{color:S.theme_fg},my_style22:{height:"100%",width:"90%",justifyContent:"center",marginLeft:5},my_style23:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_description},my_style24:{margin:2},my_style25:{backgroundColor:S.theme_fg_three,width:"100%",padding:10},my_style26:{fontSize:14,color:S.theme_fg,fontFamily:w.font_title},my_style27:{margin:5},my_style28:{fontSize:12,paddingRight:20,color:"#C4C3C3",fontFamily:w.font_description},my_style29:{margin:2},my_style30:{backgroundColor:S.theme_fg_three,width:"100%",padding:10},my_style31:{fontSize:14,color:S.theme_fg,fontFamily:w.font_title},my_style32:{margin:5},my_style33:{padding:5},my_style34:{height:"100%",width:"10%",alignSelf:"center"},my_style35:{color:S.theme_fg},my_style36:{height:"100%",width:"45%",alignSelf:"center",marginLeft:5},my_style37:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_title},my_style38:{margin:2},my_style39:{fontSize:14,color:S.theme_fg_five,fontFamily:w.font_description},my_style40:{margin:5},my_style41:{height:"100%",width:"10%",alignSelf:"center"},my_style42:{color:S.theme_fg},my_style43:{height:"100%",width:"35%",alignSelf:"center",marginLeft:5},my_style44:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_title},my_style45:{margin:2},my_style46:{height:"100%",width:"70%",alignSelf:"center"},my_style47:{fontSize:14,color:S.theme_fg_five,fontFamily:w.font_description},my_style48:{margin:10},my_style49:{height:"100%",width:"10%",alignSelf:"center"},my_style50:{color:S.theme_fg},my_style51:{height:"100%",width:"35%",alignSelf:"center",marginLeft:5},my_style52:{fontSize:12,color:"#C4C3C3",fontFamily:w.font_title},my_style53:{margin:2},my_style54:{fontSize:14,color:S.theme_fg_five,fontFamily:w.font_description},my_style55:{margin:2},my_style56:{height:"100%",width:"5%",alignSelf:"center"},my_style57:{margin:5},my_style58:{margin:5},my_style59:{margin:2},my_style60:{backgroundColor:S.theme_fg_three,width:"100%",padding:10},my_style61:{fontSize:14,color:S.theme_fg,fontFamily:w.font_title},my_style62:{margin:5},my_style63:{padding:5},my_style64:{alignItems:"center",justifyContent:"center"},my_style65:{color:S.theme_fg},my_style66:{fontSize:12,color:S.theme_fg_two,fontFamily:w.font_title},my_style67:{alignItems:"center",justifyContent:"center"},my_style68:{color:S.theme_fg},my_style69:{fontSize:12,color:S.theme_fg_two,fontFamily:w.font_title},title:{fontSize:18,color:"#1065cd",marginTop:10,marginRight:30,fontFamily:w.font_title},header:{marginRight:10,marginTop:10,alignSelf:"center"},imagethree:{alignSelf:"center",height:40,width:40,borderRadius:100}}),F=x;e.default=F},1482,[9,1,101,26,27,37,39,36,56,2,984,830,1249,415,819,860,829,941,651,1300,1255,1258]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.PrescriptionUpload=void 0;var o=n(r(d[2])),l=n(r(d[3])),c=n(r(d[4])),u=n(r(d[5])),s=n(r(d[6])),f=n(r(d[7])),p=t(r(d[8])),h=r(d[9]),P=t(r(d[10]));function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var y=(function(t){(0,u.default)(k,t);var n,y,I=(n=k,y=v(),function(){var t,o=(0,f.default)(n);if(y){var l=(0,f.default)(this).constructor;t=Reflect.construct(o,arguments,l)}else t=o.apply(this,arguments);return(0,s.default)(this,t)});function k(t){var n;return(0,l.default)(this,k),(n=I.call(this,t)).PrescriptionPost=function(){return o.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.default.awrap(axios.post(api_url1+"/order/add_order",{Image:Image},{headers:{Authorization:"Bearer "+n.state.vendor._id}}).then(function(t){n.setState({PharmacyData:t.data.data})}));case 2:case"end":return t.stop()}},null,null,null,Promise)},n.handlePicker=function(){P.default.launchImageLibrary({},function(t){console.log('Response = ',t),t.didCancel?console.log('User cancelled image picker'):t.error?console.log('ImagePicker Error: ',t.error):t.customButton?console.log('User tapped custom button: ',t.customButton):n.setState({Image:t.uri})})},n.handlePickerCamera=function(){P.default.launchCamera({},function(t){console.log('Response = ',t),t.didCancel?console.log('User cancelled image picker'):t.error?console.log('ImagePicker Error: ',t.error):t.customButton?console.log('User tapped custom button: ',t.customButton):n.setState({Image:t.uri})})},n.state={Image:''},n}return(0,c.default)(k,[{key:"render",value:function(){return p.default.createElement(h.View,{style:{paddingHorizontal:10}},p.default.createElement(h.Text,null," ",this.state.Image,"textInComponent "),p.default.createElement(h.Button,{onPress:this.handlePickerCamera,title:"Upload Via Camera"}),p.default.createElement(h.Button,{onPress:this.handlePicker,title:"Upload Via gallery"}))}}]),k})(p.Component);e.PrescriptionUpload=y;var I=y;e.default=I},1483,[9,1,101,26,27,37,39,36,56,2,1300]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(r(d[2])),u=n(r(d[3])),o=n(r(d[4])),c=n(r(d[5])),f=n(r(d[6])),s=t(r(d[7])),y=r(d[8]),h=n(r(d[9]));function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var w=(function(t){(0,o.default)(V,t);var n,w,E=(n=V,w=p(),function(){var t,l=(0,f.default)(n);if(w){var u=(0,f.default)(this).constructor;t=Reflect.construct(l,arguments,u)}else t=l.apply(this,arguments);return(0,c.default)(this,t)});function V(){return(0,l.default)(this,V),E.apply(this,arguments)}return(0,u.default)(V,[{key:"render",value:function(){var t=this;return s.default.createElement(y.View,{style:{padding:12}},s.default.createElement(y.View,{style:{justifyContent:"center",alignContent:"center",alignItems:"center",marginTop:42}},s.default.createElement(y.Text,{style:{color:"green",alignContent:"center",fontSize:23}},"Payment Successfull"),s.default.createElement(y.Image,{style:{width:50,height:50,marginVertical:12},source:h.default})),s.default.createElement(y.View,{style:{height:62,width:21}}),s.default.createElement(y.View,{style:{justifyContent:"space-between",flexDirection:"row",paddingHorizontal:20,marginVertical:6}},s.default.createElement(y.Text,null,"Order Id "),s.default.createElement(y.Text,null,this.state.data._id)),s.default.createElement(y.View,{style:{justifyContent:"space-between",flexDirection:"row",paddingHorizontal:20,marginVertical:6}},s.default.createElement(y.Text,null,"Order Value "),s.default.createElement(y.Text,null,this.state.data.amount)),s.default.createElement(y.View,{style:{justifyContent:"space-between",flexDirection:"row",paddingHorizontal:20,marginVertical:6}},s.default.createElement(y.Text,null,"Payment Mode "),s.default.createElement(y.Text,null,this.state.data.paymentMode)),s.default.createElement(y.View,{style:{justifyContent:"space-between",flexDirection:"row",paddingHorizontal:20,marginVertical:6}},s.default.createElement(y.Text,{style:{fontWeight:'bold',fontSize:18}},"Amount Paid "),s.default.createElement(y.Text,{style:{fontWeight:'bold',fontSize:18}},this.state.data.amount)),s.default.createElement(y.View,{style:{marginTop:112,flexDirection:'row',justifyContent:'center'}},s.default.createElement(y.View,{style:{width:123}},s.default.createElement(y.Button,{title:"Home",style:{height:12},height:33,onPress:function(){return t.props.navigation.navigate('Home')}})),s.default.createElement(y.View,{style:{height:22,width:21}}),s.default.createElement(y.View,{style:{width:123}},s.default.createElement(y.Button,{title:"Order",onPress:function(){return t.props.navigation.navigate('MyOrders')}}))))}}]),V})(s.Component);e.default=w},1484,[9,1,26,27,37,39,36,56,2,1485]);
+__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/src/assets/icons",width:715,height:715,scales:[1],hash:"cd337fc93a964e7ad61d74c980ef07e8",name:"Tick",type:"jpg"})},1485,[188]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n(r(d[2])),f=n(r(d[3])),c=n(r(d[4])),l=n(r(d[5])),o=n(r(d[6])),s=t(r(d[7])),p=r(d[8]);function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var h=(function(t){(0,c.default)(R,t);var n,h,y=(n=R,h=v(),function(){var t,u=(0,o.default)(n);if(h){var f=(0,o.default)(this).constructor;t=Reflect.construct(u,arguments,f)}else t=u.apply(this,arguments);return(0,l.default)(this,t)});function R(t){var n;return(0,u.default)(this,R),(n=y.call(this,t)).state={data:n.props.route.params.data},n}return(0,f.default)(R,[{key:"render",value:function(){return s.default.createElement(p.View,null,s.default.createElement(p.Text,null,"Amount - ",this.state.data," "))}}]),R})(s.Component);e.default=h},1486,[9,1,26,27,37,39,36,56,2]);
+__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=n(r(d[2])),o=n(r(d[3])),s=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),h=n(r(d[8])),y=n(r(d[9])),_=t(r(d[10])),p=r(d[11]),w=r(d[12]),b=r(d[13]),v=n(r(d[14])),S=r(d[15]),x=r(d[16]),k=t(r(d[17])),E=n(r(d[18])),C=r(d[19]),B=r(d[20]),T=n(r(d[21])),I=r(d[22]),P=(n(r(d[23])),n(r(d[24]))),R=(n(r(d[25])),n(r(d[26])),n(r(d[27])));function V(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}var L=(function(t){(0,c.default)(B,t);var n,k,C=(n=B,k=V(),function(){var t,l=(0,h.default)(n);if(k){var o=(0,h.default)(this).constructor;t=Reflect.construct(l,arguments,o)}else t=l.apply(this,arguments);return(0,f.default)(this,t)});function B(t){var n;return(0,o.default)(this,B),(n=C.call(this,t)).login=function(){n.props.navigation.navigate("Login")},n.home=function(){n.props.navigation.dispatch(w.CommonActions.reset({index:0,routes:[{name:"Home"}]}))},n.handleUserNavigation=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:y.default.getCurrentPosition(function(t){n.setState({latitude:t.coords.latitude,longitude:t.coords.longitude,coords:t.coords}),console.log(t)});case 1:case"end":return t.stop()}},null,null,null,Promise)},n.register=function(){var t;return l.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:return n.handleUserNavigation(),t=Country.getAllCountries(),console.log(t[0].name),o.next=5,l.default.awrap(E.default.post(S.api_url1+"/clients/address/add",{addressLine1:n.state.customer_name,addressLine2:'',pincode:n.state.pincode,city:n.state.city,state:n.state.State,country:n.state.country,latitude:n.state.latitude,longitude:n.state.longitude},{headers:{Authorization:"Bearer "+g.fcm_token}}).then(function(t){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:console.log(t),alert("Address Added"),n.props.navigation.navigate("AddressList");case 3:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(t){console.log(t)}));case 5:case"end":return o.stop()}},null,null,null,Promise)},n.get_blood_list=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.default.awrap((0,E.default)({method:"get",url:S.api_url+S.get_blood_list}).then(function(t){return l.default.async(function(l){for(;;)switch(l.prev=l.next){case 0:n.setState({blood_group_list:t.data.result});case 1:case"end":return l.stop()}},null,null,null,Promise)}).catch(function(t){alert("Sorry, something went wrong!")}));case 2:case"end":return t.stop()}},null,null,null,Promise)},n.saveData=function(){return l.default.async(function(t){for(;;)switch(t.prev=t.next){case 0:if(1!=n.props.status){t.next=30;break}return t.prev=1,t.next=4,l.default.awrap(T.default.setItem("user_id",n.props.data.id.toString()));case 4:return t.next=6,l.default.awrap(T.default.setItem("username",n.props.data.customer_name.toString()));case 6:return t.next=8,l.default.awrap(T.default.setItem("number",n.props.data.phone_number.toString()));case 8:return t.next=10,l.default.awrap(T.default.setItem("email",n.props.data.email.toString()));case 10:return t.next=12,l.default.awrap(n.props.data.id);case 12:return g.id=t.sent,t.next=15,l.default.awrap(n.props.data.customer_name);case 15:return g.username=t.sent,t.next=18,l.default.awrap(n.props.data.phone_number);case 18:return g.number=t.sent,t.next=21,l.default.awrap(n.props.data.email);case 21:return g.email=t.sent,t.next=24,l.default.awrap(n.home());case 24:t.next=28;break;case 26:t.prev=26,t.t0=t.catch(1);case 28:t.next=31;break;case 30:alert(n.props.message);case 31:case"end":return t.stop()}},null,null,[[1,26]],Promise)},n.select_blood_group=function(t){n.setState({blood_group:t})},n.handleBackButtonClick=n.handleBackButtonClick.bind((0,u.default)(n)),n.state={customer_name:"",phone_number:"",email:"",password:"",blood_group:"",validation:!0,blood_group_list:[],fcm_token:g.fcm_token,country:"",region:"",latitude:"",longitude:"",coords:"",pincode:'',city:'',State:''},n.handleUserNavigation(),n}return(0,s.default)(B,[{key:"componentWillMount",value:function(){p.BackHandler.addEventListener("hardwareBackPress",this.handleBackButtonClick)}},{key:"componentWillUnmount",value:function(){p.BackHandler.removeEventListener("hardwareBackPress",this.handleBackButtonClick)}},{key:"handleBackButtonClick",value:function(){return this.props.navigation.navigate("AddressList"),!0}},{key:"checkValidate",value:function(){return""==this.state.email||""==this.state.phone_number||""==this.state.password||""==this.state.customer_name?(this.state.validation=!1,this.showSnackbar("Please fill all the fields."),!0):(this.state.validation=!0,!0)}},{key:"showSnackbar",value:function(t){v.default.show({title:t,duration:v.default.LENGTH_SHORT})}},{key:"render",value:function(){var t=this,n=this.props,l=n.isLoding;n.error,n.data,n.message,n.status,this.state.blood_group_list.map(function(t,n){return _.default.createElement(p.Picker.Item,{key:n,value:t.blood_group,label:t.blood_group})});return _.default.createElement(p.View,{style:F.container},_.default.createElement(p.View,null,_.default.createElement(x.StatusBar,null)),_.default.createElement(x.Loader,{visible:l}),_.default.createElement(p.View,null,_.default.createElement(p.View,null),_.default.createElement(p.View,{style:F.reg_style1},_.default.createElement(p.TouchableOpacity,{style:F.reg_style2,onPress:this.handleBackButtonClick,activeOpacity:1},_.default.createElement(p.Image,{style:{width:20,height:20,backgroundColor:"white",marginVertical:6,marginLeft:2},source:R.default})),_.default.createElement(p.View,{style:F.reg_style4}),_.default.createElement(p.Text,{style:F.reg_style5},"Enter Your location"))),_.default.createElement(p.ScrollView,{keyboardShouldPersistTaps:"always"},_.default.createElement(p.View,{style:F.reg_style6},_.default.createElement(p.View,{style:F.reg_style10}),_.default.createElement(p.View,{style:F.reg_style11},_.default.createElement(I.Input,{inputStyle:F.reg_style12,label:"Address line 1",labelStyle:F.reg_style13,placeholder:"Your home Address",leftIcon:_.default.createElement(p.Image,{style:{width:22,height:22},source:P.default}),onChangeText:function(n){return t.setState({customer_name:n})}})),_.default.createElement(p.View,{style:F.reg_style15},_.default.createElement(I.Input,{inputStyle:F.reg_style16,label:"Pincode",labelStyle:F.reg_style17,placeholder:"+",keyboardType:"phone-pad",onChangeText:function(n){return t.setState({phone_number:n})}})),_.default.createElement(p.View,{style:F.reg_style19},_.default.createElement(I.Input,{inputStyle:F.reg_style20,label:"City",labelStyle:F.reg_style21,placeholder:"eg:Delhi",keyboardType:"email-address",onChangeText:function(n){return t.setState({email:n})}})),_.default.createElement(p.Text,null),_.default.createElement(p.View,{style:F.reg_style23},_.default.createElement(I.Input,{inputStyle:F.reg_style24,placeholder:"eg. Mahahrashtra",label:"State",labelStyle:F.reg_style25,onChangeText:function(n){return t.setState({password:n})}})),_.default.createElement(p.View,{style:F.reg_style11},_.default.createElement(I.Input,{inputStyle:F.reg_style12,label:"Country",labelStyle:F.reg_style13,placeholder:"Your home Address",onChangeText:function(n){return t.setState({country:n})}})),_.default.createElement(p.Text,{style:F.reg_style13},"Your location : ",this.state.latitude," , ",this.state.longitude),_.default.createElement(p.Text,{style:F.reg_style13},"Accuracy:(",this.state.coords.accuracy,")"),_.default.createElement(p.View,{style:F.reg_style30}),_.default.createElement(p.View,{style:F.reg_style31},_.default.createElement(b.Button,{block:!0,style:F.reg_style32,onPress:this.register},_.default.createElement(p.Text,{style:F.reg_style33},"SUBMIT"))),_.default.createElement(p.View,{style:{height:34}}))))}}]),B})(_.Component);var A=(0,C.connect)(function(t){return{isLoding:t.register.isLoding,error:t.register.error,data:t.register.data,message:t.register.message,status:t.register.status}},function(t){return{serviceActionPending:function(){return t((0,B.serviceActionPending)())},serviceActionError:function(n){return t((0,B.serviceActionError)(n))},serviceActionSuccess:function(n){return t((0,B.serviceActionSuccess)(n))}}})(L);e.default=A;var F=p.StyleSheet.create({reg_style1:{alignItems:"flex-start",margin:10},reg_style2:{width:100,justifyContent:"center"},reg_style3:{color:k.theme_fg_two,fontSize:30},reg_style4:{margin:5},reg_style5:{fontSize:25,color:k.theme_fg_two,fontFamily:S.font_title},reg_style6:{justifyContent:"center",alignItems:"center"},reg_style7:{marginTop:"10%"},reg_style8:{height:120,width:120},reg_style9:{flex:1,width:void 0,height:void 0},reg_style10:{marginTop:"10%"},reg_style11:{width:"80%",alignSelf:"center"},reg_style12:{fontSize:14,fontFamily:S.font_description},reg_style13:{fontFamily:S.font_title},reg_style14:{color:k.theme_bg},reg_style15:{width:"80%",alignSelf:"center"},reg_style16:{fontSize:14,fontFamily:S.font_description},reg_style17:{fontFamily:S.font_title},reg_style18:{color:k.theme_bg},reg_style19:{width:"80%",alignSelf:"center"},reg_style20:{fontSize:14,fontFamily:S.font_description},reg_style21:{fontFamily:S.font_title},reg_style22:{color:k.theme_bg},reg_style23:{width:"80%",alignSelf:"center"},reg_style24:{fontSize:14,fontFamily:S.font_description},reg_style25:{fontFamily:S.font_title},reg_style26:{color:k.theme_bg},reg_style27:{width:"80%",alignSelf:"center"},reg_style28:{color:"grey",fontWeight:"bold",fontSize:15,marginLeft:"3%",fontFamily:S.font_description},reg_style29:{height:50,width:"100%"},reg_style30:{marginTop:"5%"},reg_style31:{width:"80%",alignSelf:"center"},reg_style32:{backgroundColor:k.theme_bg,borderRadius:5,height:40},reg_style33:{color:k.theme_fg_three,fontFamily:S.font_title,letterSpacing:.5},reg_style34:{marginTop:"5%",justifyContent:"flex-end",alignItems:"center",position:"relative",bottom:0},reg_style35:{fontSize:15,color:k.theme_bg_two,marginTop:"8%",fontFamily:S.font_description,marginBottom:20},reg_style36:{color:k.theme_fg},container:{flex:1,flexDirection:"column"},header:{justifyContent:"flex-start",height:"10%",backgroundColor:k.theme_bg,borderBottomLeftRadius:45,borderBottomRightRadius:45,shadowOffset:{width:0,height:15},shadowColor:k.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},header_card:{alignItems:"center",borderRadius:15,justifyContent:"center"},header_card_item:{borderTopLeftRadius:15,borderTopRightRadius:15,borderBottomLeftRadius:15,borderBottomRightRadius:15,shadowOffset:{width:0,height:15},shadowColor:k.theme_bg,shadowOpacity:.1,shadowRadius:8,elevation:10},text_field:{height:40,borderBottomColor:k.theme_bg,borderBottomWidth:1.5,padding:5},forgot_password_container:{width:"95%",alignItems:"flex-end"},forgot_text:{fontSize:15,color:k.theme_fg_four},forgot_password_container:{width:"80%",alignItems:"flex-end"},forgot_text:{fontSize:15,color:k.theme_fg_four},back_icon:{color:k.theme_bg_three,marginLeft:15}})},1487,[9,1,101,26,27,40,37,39,36,1376,56,2,507,984,1288,415,829,819,941,472,1395,938,830,1329,1330,1331,1332,1333]);
+__d(function(e,a,d,h,i,s,t){i.exports={name:"desihealth",displayName:"desihealth"}},1488,[]);
__r(88);
__r(0);
//# sourceMappingURL=index.android.bundle.map
\ No newline at end of file
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/androidx/appcompat/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/androidx/appcompat/R.java
index 1d6d12d2..228114de 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/androidx/appcompat/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/androidx/appcompat/R.java
@@ -644,8 +644,8 @@ public final class R {
public static final int notification_template_icon_low_bg = 0x7f0700b3;
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/RNFetchBlob/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/RNFetchBlob/R.java
index 89d7e45b..420b1326 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/RNFetchBlob/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/RNFetchBlob/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/afrihost/firebase/notifications/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/afrihost/firebase/notifications/R.java
index 4c5d646a..521c9561 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/afrihost/firebase/notifications/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/afrihost/firebase/notifications/R.java
@@ -694,8 +694,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/android/react/lottie/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/android/react/lottie/R.java
index da93b321..b2884180 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/android/react/lottie/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/android/react/lottie/R.java
@@ -669,8 +669,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/android/react/maps/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/android/react/maps/R.java
index ee02f2e8..76628055 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/android/react/maps/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/android/react/maps/R.java
@@ -717,8 +717,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/lottie/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/lottie/R.java
index d55e6d8f..0dc8411d 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/lottie/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/airbnb/lottie/R.java
@@ -629,8 +629,8 @@ public final class R {
public static final int notification_template_icon_low_bg = 0x7f0700b3;
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/ashideas/rnrangeslider/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/ashideas/rnrangeslider/R.java
index cc1198d9..8e72f4ac 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/ashideas/rnrangeslider/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/ashideas/rnrangeslider/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/azendoo/reactnativesnackbar/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/azendoo/reactnativesnackbar/R.java
index 1bcebfb9..e15ff1d0 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/azendoo/reactnativesnackbar/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/azendoo/reactnativesnackbar/R.java
@@ -1030,8 +1030,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/desihealth/customer/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/desihealth/customer/R.java
index 5e4828d5..a9f92c7d 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/desihealth/customer/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/desihealth/customer/R.java
@@ -6910,57 +6910,58 @@ public final class R {
public static final int src_assets_icons_more=0x7f0700c7;
public static final int src_assets_icons_pass=0x7f0700c8;
public static final int src_assets_icons_person=0x7f0700c9;
- public static final int src_assets_icons_time=0x7f0700ca;
- public static final int src_assets_img_acidity=0x7f0700cb;
- public static final int src_assets_img_anxiety=0x7f0700cc;
- public static final int src_assets_img_back_pain=0x7f0700cd;
- public static final int src_assets_img_banner1=0x7f0700ce;
- public static final int src_assets_img_banner2=0x7f0700cf;
- public static final int src_assets_img_banner3=0x7f0700d0;
- public static final int src_assets_img_blood_pressure=0x7f0700d1;
- public static final int src_assets_img_cardiologist=0x7f0700d2;
- public static final int src_assets_img_constipation=0x7f0700d3;
- public static final int src_assets_img_cough=0x7f0700d4;
- public static final int src_assets_img_covid=0x7f0700d5;
- public static final int src_assets_img_dentist=0x7f0700d6;
- public static final int src_assets_img_depression=0x7f0700d7;
- public static final int src_assets_img_diabetes=0x7f0700d8;
- public static final int src_assets_img_doc=0x7f0700d9;
- public static final int src_assets_img_doctor=0x7f0700da;
- public static final int src_assets_img_doctor_image=0x7f0700db;
- public static final int src_assets_img_doctor_one=0x7f0700dc;
- public static final int src_assets_img_doctorthree=0x7f0700dd;
- public static final int src_assets_img_fever=0x7f0700de;
- public static final int src_assets_img_forgot=0x7f0700df;
- public static final int src_assets_img_hairfall=0x7f0700e0;
- public static final int src_assets_img_headache=0x7f0700e1;
- public static final int src_assets_img_heart=0x7f0700e2;
- public static final int src_assets_img_hospital_pin=0x7f0700e3;
- public static final int src_assets_img_infections=0x7f0700e4;
- public static final int src_assets_img_list=0x7f0700e5;
- public static final int src_assets_img_loading=0x7f0700e6;
- public static final int src_assets_img_location=0x7f0700e7;
- public static final int src_assets_img_location_icon=0x7f0700e8;
- public static final int src_assets_img_location_pin=0x7f0700e9;
- public static final int src_assets_img_logo=0x7f0700ea;
- public static final int src_assets_img_logo_with_name=0x7f0700eb;
- public static final int src_assets_img_order=0x7f0700ec;
- public static final int src_assets_img_orthopedics=0x7f0700ed;
- public static final int src_assets_img_otp=0x7f0700ee;
- public static final int src_assets_img_reset_password=0x7f0700ef;
- public static final int src_assets_img_safety=0x7f0700f0;
- public static final int src_assets_img_splash=0x7f0700f1;
- public static final int src_assets_img_stomach_ache=0x7f0700f2;
- public static final int src_assets_img_surgery=0x7f0700f3;
- public static final int src_assets_img_tablet=0x7f0700f4;
- public static final int src_assets_img_tablet_house=0x7f0700f5;
- public static final int src_assets_img_throat_pain=0x7f0700f6;
- public static final int src_assets_img_trust=0x7f0700f7;
- public static final int src_assets_img_wallet=0x7f0700f8;
- public static final int src_assets_img_weight_loss=0x7f0700f9;
- public static final int test_custom_background=0x7f0700fa;
- public static final int tooltip_frame_dark=0x7f0700fb;
- public static final int tooltip_frame_light=0x7f0700fc;
+ public static final int src_assets_icons_tick=0x7f0700ca;
+ public static final int src_assets_icons_time=0x7f0700cb;
+ public static final int src_assets_img_acidity=0x7f0700cc;
+ public static final int src_assets_img_anxiety=0x7f0700cd;
+ public static final int src_assets_img_back_pain=0x7f0700ce;
+ public static final int src_assets_img_banner1=0x7f0700cf;
+ public static final int src_assets_img_banner2=0x7f0700d0;
+ public static final int src_assets_img_banner3=0x7f0700d1;
+ public static final int src_assets_img_blood_pressure=0x7f0700d2;
+ public static final int src_assets_img_cardiologist=0x7f0700d3;
+ public static final int src_assets_img_constipation=0x7f0700d4;
+ public static final int src_assets_img_cough=0x7f0700d5;
+ public static final int src_assets_img_covid=0x7f0700d6;
+ public static final int src_assets_img_dentist=0x7f0700d7;
+ public static final int src_assets_img_depression=0x7f0700d8;
+ public static final int src_assets_img_diabetes=0x7f0700d9;
+ public static final int src_assets_img_doc=0x7f0700da;
+ public static final int src_assets_img_doctor=0x7f0700db;
+ public static final int src_assets_img_doctor_image=0x7f0700dc;
+ public static final int src_assets_img_doctor_one=0x7f0700dd;
+ public static final int src_assets_img_doctorthree=0x7f0700de;
+ public static final int src_assets_img_fever=0x7f0700df;
+ public static final int src_assets_img_forgot=0x7f0700e0;
+ public static final int src_assets_img_hairfall=0x7f0700e1;
+ public static final int src_assets_img_headache=0x7f0700e2;
+ public static final int src_assets_img_heart=0x7f0700e3;
+ public static final int src_assets_img_hospital_pin=0x7f0700e4;
+ public static final int src_assets_img_infections=0x7f0700e5;
+ public static final int src_assets_img_list=0x7f0700e6;
+ public static final int src_assets_img_loading=0x7f0700e7;
+ public static final int src_assets_img_location=0x7f0700e8;
+ public static final int src_assets_img_location_icon=0x7f0700e9;
+ public static final int src_assets_img_location_pin=0x7f0700ea;
+ public static final int src_assets_img_logo=0x7f0700eb;
+ public static final int src_assets_img_logo_with_name=0x7f0700ec;
+ public static final int src_assets_img_order=0x7f0700ed;
+ public static final int src_assets_img_orthopedics=0x7f0700ee;
+ public static final int src_assets_img_otp=0x7f0700ef;
+ public static final int src_assets_img_reset_password=0x7f0700f0;
+ public static final int src_assets_img_safety=0x7f0700f1;
+ public static final int src_assets_img_splash=0x7f0700f2;
+ public static final int src_assets_img_stomach_ache=0x7f0700f3;
+ public static final int src_assets_img_surgery=0x7f0700f4;
+ public static final int src_assets_img_tablet=0x7f0700f5;
+ public static final int src_assets_img_tablet_house=0x7f0700f6;
+ public static final int src_assets_img_throat_pain=0x7f0700f7;
+ public static final int src_assets_img_trust=0x7f0700f8;
+ public static final int src_assets_img_wallet=0x7f0700f9;
+ public static final int src_assets_img_weight_loss=0x7f0700fa;
+ public static final int test_custom_background=0x7f0700fb;
+ public static final int tooltip_frame_dark=0x7f0700fc;
+ public static final int tooltip_frame_light=0x7f0700fd;
}
public static final class id {
public static final int ALT=0x7f080000;
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/facebook/react/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/facebook/react/R.java
index 9458af43..a29aa588 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/facebook/react/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/facebook/react/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/google/android/material/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/google/android/material/R.java
index f50078bc..fa189f61 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/google/android/material/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/google/android/material/R.java
@@ -1351,9 +1351,9 @@ public final class R {
public static final int notification_template_icon_low_bg = 0x7f0700b3;
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
- public static final int test_custom_background = 0x7f0700fa;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int test_custom_background = 0x7f0700fb;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/heanoria/library/reactnative/locationenabler/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/heanoria/library/reactnative/locationenabler/R.java
index 58b80de1..df41546d 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/heanoria/library/reactnative/locationenabler/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/heanoria/library/reactnative/locationenabler/R.java
@@ -696,8 +696,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/hoxfon/react/RNTwilioVoice/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/hoxfon/react/RNTwilioVoice/R.java
index 12657539..9e80fae0 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/hoxfon/react/RNTwilioVoice/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/hoxfon/react/RNTwilioVoice/R.java
@@ -700,8 +700,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/imagepicker/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/imagepicker/R.java
index adbd018f..4dcd9902 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/imagepicker/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/imagepicker/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/kishanjvaghela/cardview/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/kishanjvaghela/cardview/R.java
index 7d0987bf..d148e3bc 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/kishanjvaghela/cardview/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/kishanjvaghela/cardview/R.java
@@ -672,8 +672,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/oblador/vectoricons/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/oblador/vectoricons/R.java
index 43874239..0d78db24 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/oblador/vectoricons/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/oblador/vectoricons/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/quickblox/reactnative/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/quickblox/reactnative/R.java
index 19458d6f..ecbde227 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/quickblox/reactnative/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/quickblox/reactnative/R.java
@@ -702,8 +702,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/razorpay/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/razorpay/R.java
index d5b32a02..47850feb 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/razorpay/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/razorpay/R.java
@@ -598,8 +598,8 @@ public final class R {
public static final int rzp_poweredby = 0x7f0700bd;
public static final int rzp_secured_by_bg = 0x7f0700be;
public static final int rzp_white_border_black_bg = 0x7f0700bf;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/razorpay/rn/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/razorpay/rn/R.java
index f28ed7ca..4fa00551 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/razorpay/rn/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/razorpay/rn/R.java
@@ -664,8 +664,8 @@ public final class R {
public static final int rzp_poweredby = 0x7f0700bd;
public static final int rzp_secured_by_bg = 0x7f0700be;
public static final int rzp_white_border_black_bg = 0x7f0700bf;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactcommunity/rndatetimepicker/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactcommunity/rndatetimepicker/R.java
index 6d70d3da..2b684fb5 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactcommunity/rndatetimepicker/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactcommunity/rndatetimepicker/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/asyncstorage/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/asyncstorage/R.java
index ce6e634a..998704c8 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/asyncstorage/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/asyncstorage/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/geolocation/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/geolocation/R.java
index 3d58c054..75bcb0e2 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/geolocation/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/geolocation/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/rnpermissions/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/rnpermissions/R.java
index 78c6f6d2..1e6b0708 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/rnpermissions/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/reactnativecommunity/rnpermissions/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/gesturehandler/react/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/gesturehandler/react/R.java
index a6dba47e..14bf4f4d 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/gesturehandler/react/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/gesturehandler/react/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/reanimated/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/reanimated/R.java
index 1ba83697..de335262 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/reanimated/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/reanimated/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/rnscreens/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/rnscreens/R.java
index 60e9ba44..9b2fabd0 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/rnscreens/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/swmansion/rnscreens/R.java
@@ -1398,9 +1398,9 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int test_custom_background = 0x7f0700fa;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int test_custom_background = 0x7f0700fb;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/th3rdwave/safeareacontext/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/th3rdwave/safeareacontext/R.java
index 45fd856e..af1739e8 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/th3rdwave/safeareacontext/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/th3rdwave/safeareacontext/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/twiliorn/library/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/twiliorn/library/R.java
index bfc6c0cc..95773ad7 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/twiliorn/library/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/com/twiliorn/library/R.java
@@ -656,8 +656,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/org/reactnative/maskedview/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/org/reactnative/maskedview/R.java
index 68504e44..220c245b 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/org/reactnative/maskedview/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/org/reactnative/maskedview/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/not_namespaced_r_class_sources/release/r/org/umhan35/R.java b/android/app/build/generated/not_namespaced_r_class_sources/release/r/org/umhan35/R.java
index d95ec9e1..89565a45 100644
--- a/android/app/build/generated/not_namespaced_r_class_sources/release/r/org/umhan35/R.java
+++ b/android/app/build/generated/not_namespaced_r_class_sources/release/r/org/umhan35/R.java
@@ -653,8 +653,8 @@ public final class R {
public static final int notification_tile_bg = 0x7f0700b4;
public static final int notify_panel_notification_icon_bg = 0x7f0700b5;
public static final int redbox_top_border_background = 0x7f0700b6;
- public static final int tooltip_frame_dark = 0x7f0700fb;
- public static final int tooltip_frame_light = 0x7f0700fc;
+ public static final int tooltip_frame_dark = 0x7f0700fc;
+ public static final int tooltip_frame_light = 0x7f0700fd;
}
public static final class id {
private id() {}
diff --git a/android/app/build/generated/res/react/release/drawable-mdpi/src_assets_icons_tick.jpg b/android/app/build/generated/res/react/release/drawable-mdpi/src_assets_icons_tick.jpg
new file mode 100644
index 00000000..118fe456
Binary files /dev/null and b/android/app/build/generated/res/react/release/drawable-mdpi/src_assets_icons_tick.jpg differ
diff --git a/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map b/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map
index b000aa50..4c24b769 100644
--- a/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map
+++ b/android/app/build/generated/sourcemaps/react/release/index.android.bundle.map
@@ -1 +1 @@
-{"version":3,"sources":["__prelude__","D:\\downlooad\\desihealth_customer (1)\\node_modules\\metro\\src\\lib\\polyfills\\require.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\polyfills\\console.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\polyfills\\error-guard.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\polyfills\\Object.es7.js","D:\\downlooad\\desihealth_customer (1)\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\interopRequireDefault.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\invariant\\browser.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\warnOnce.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\fbjs\\lib\\warning.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\fbjs\\lib\\emptyFunction.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\AccessibilityInfo\\AccessibilityInfo.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\AccessibilityInfo\\NativeAccessibilityInfo.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\interopRequireWildcard.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\typeof.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\TurboModule\\TurboModuleRegistry.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\BatchedBridge\\NativeModules.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\extends.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\slicedToArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\arrayWithHoles.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\iterableToArrayLimit.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\unsupportedIterableToArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\arrayLikeToArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\nonIterableRest.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\BatchedBridge\\BatchedBridge.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\BatchedBridge\\MessageQueue.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\toConsumableArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\arrayWithoutHoles.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\iterableToArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\nonIterableSpread.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\classCallCheck.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\createClass.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\vendor\\core\\ErrorUtils.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Performance\\Systrace.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\deepFreezeAndThrowOnMutationInDev.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\stringifySafe.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\defineLazyObjectProperty.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\EventEmitter\\RCTDeviceEventEmitter.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\get.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\superPropBase.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\getPrototypeOf.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\inherits.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\setPrototypeOf.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\possibleConstructorReturn.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\assertThisInitialized.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\vendor\\emitter\\EventEmitter.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\vendor\\emitter\\EmitterSubscription.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\vendor\\emitter\\EventSubscription.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\vendor\\emitter\\EventSubscriptionVendor.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\UIManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\DummyUIManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\PaperUIManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\defineProperty.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\NativeUIManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\Platform.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\NativePlatformConstantsAndroid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\UIManagerProperties.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ActivityIndicator\\ActivityIndicator.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\objectWithoutProperties.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\objectWithoutPropertiesLoose.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react\\cjs\\react.production.min.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\object-assign\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\StyleSheet\\StyleSheet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\PixelRatio.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\Dimensions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\NativeDeviceInfo.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\View\\ReactNativeStyleAttributes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedImageStylePropTypes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedColorPropType.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\StyleSheet\\normalizeColor.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedLayoutPropTypes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\prop-types\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\prop-types\\factoryWithThrowingShims.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\prop-types\\lib\\ReactPropTypesSecret.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedShadowPropTypesIOS.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedTransformPropTypes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\deprecatedPropType.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedTextStylePropTypes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedViewStylePropTypes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\StyleSheet\\processColor.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\StyleSheet\\processTransform.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\MatrixMath.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\differ\\sizesDiffer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\StyleSheet\\StyleSheetValidation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\StyleSheet\\flattenStyle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\View\\View.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\View\\ViewNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\codegenNativeCommands.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Renderer\\shims\\ReactNative.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Renderer\\implementations\\ReactNativeRenderer-prod.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactPrivate\\ReactNativePrivateInitializeCore.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\InitializeCore.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\setUpGlobals.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\setUpSystrace.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\setUpErrorHandling.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\ExceptionsManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\wrapNativeSuper.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\isNativeFunction.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\construct.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\helpers\\isNativeReflectConstruct.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\LogBox\\Data\\LogBoxData.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\LogBox\\Data\\LogBoxLog.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\LogBox\\Data\\LogBoxSymbolication.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\Devtools\\symbolicateStackTrace.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@babel\\runtime\\regenerator\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\regenerator-runtime\\runtime.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\NativeModules\\specs\\NativeSourceCode.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\Devtools\\getDevServer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Network\\fetch.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\whatwg-fetch\\dist\\fetch.umd.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\LogBox\\Data\\parseLogBoxLog.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\UTFSequence.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\Devtools\\parseErrorStack.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\Devtools\\parseHermesStack.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\stacktrace-parser\\dist\\stack-trace-parser.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\NativeModules\\specs\\NativeLogBox.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\NativeExceptionsManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\polyfillPromise.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\PolyfillFunctions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Promise.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\promise\\setimmediate\\es6-extensions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\promise\\setimmediate\\core.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\promise\\setimmediate\\done.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\promise\\setimmediate\\finally.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\setUpRegeneratorRuntime.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\setUpTimers.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\Timers\\JSTimers.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\Timers\\NativeTiming.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\fbjs\\lib\\performanceNow.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\fbjs\\lib\\performance.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\fbjs\\lib\\ExecutionEnvironment.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\setUpXHR.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Network\\XMLHttpRequest.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Blob\\BlobManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Blob\\NativeBlobModule.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Blob\\Blob.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Blob\\BlobRegistry.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\event-target-shim\\dist\\event-target-shim.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Network\\RCTNetworking.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Network\\NativeNetworkingAndroid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\EventEmitter\\NativeEventEmitter.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Network\\convertRequestBody.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\binaryToBase64.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\base64-js\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Network\\FormData.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\WebSocket\\WebSocket.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\WebSocket\\NativeWebSocketModule.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\WebSocket\\WebSocketEvent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Blob\\File.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Blob\\FileReader.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Blob\\NativeFileReaderModule.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Blob\\URL.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\abort-controller\\dist\\abort-controller.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\setUpAlert.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Alert\\Alert.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\NativeModules\\specs\\NativeDialogManagerAndroid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Alert\\RCTAlertManager.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\setUpNavigator.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\setUpBatchedBridge.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\HeapCapture\\HeapCapture.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\HeapCapture\\NativeHeapCapture.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Performance\\SamplingProfiler.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Performance\\NativeJSCSamplingProfiler.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\RCTLog.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\EventEmitter\\RCTNativeAppEventEmitter.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\GlobalPerformanceLogger.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\createPerformanceLogger.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\infoLog.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\JSDevSupportModule.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\NativeJSDevSupport.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\HMRClientProdShim.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\setUpSegmentFetcher.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\SegmentFetcher\\NativeSegmentFetcher.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactPrivate\\ReactNativePrivateInterface.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\EventEmitter\\RCTEventEmitter.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Renderer\\shims\\ReactNativeViewConfigRegistry.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\TextInput\\TextInputState.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\differ\\deepDiffer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\ReactFiberErrorDialog.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\scheduler\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\scheduler\\cjs\\scheduler.production.min.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\View\\ReactNativeViewViewConfigAndroid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\registerGeneratedViewConfig.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\verifyComponentAttributeEquivalence.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\View\\ReactNativeViewViewConfig.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\differ\\insetsDiffer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\differ\\matricesDiffer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\getNativeComponentAttributes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\differ\\pointsDiffer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\StyleSheet\\processColorArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Image\\resolveAssetSource.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Image\\AssetRegistry.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Image\\AssetSourceResolver.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Image\\assetPathUtils.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\requireNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Renderer\\shims\\createReactNativeComponentClass.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ProgressBarAndroid\\ProgressBarAndroid.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ProgressBarAndroid\\ProgressBarAndroidNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\codegenNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Button.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Text\\Text.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedTextPropTypes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedEdgeInsetsPropType.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedStyleSheetPropType.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\deprecatedCreateStrictShapeTypeChecker.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\View\\ReactNativeViewAttributes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Text\\TextAncestor.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Touchable\\Touchable.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Touchable\\BoundingDimensions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Touchable\\PooledClass.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Touchable\\Position.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\AppleTV\\TVEventHandler.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\AppleTV\\NativeTVNavigationEventEmitter.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Sound\\SoundManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Sound\\NativeSoundManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\fbjs\\lib\\keyMirror.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\fbjs\\lib\\invariant.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\nullthrows\\nullthrows.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Touchable\\TouchableNativeFeedback.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Pressability\\Pressability.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Pressability\\HoverState.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Pressability\\PressabilityDebug.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Touchable\\TVTouchable.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Touchable\\TouchableOpacity.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\Animated.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\AnimatedMock.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\AnimatedEvent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedValue.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedInterpolation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedNode.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\NativeAnimatedHelper.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\NativeAnimatedModule.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedWithChildren.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Interaction\\InteractionManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Interaction\\TaskQueue.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\AnimatedImplementation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedAddition.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedDiffClamp.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedDivision.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedModulo.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedMultiplication.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedProps.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedStyle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedTransform.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedSubtraction.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedTracking.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\nodes\\AnimatedValueXY.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\animations\\DecayAnimation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\animations\\Animation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\animations\\SpringAnimation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\SpringConfig.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\animations\\TimingAnimation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\Easing.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\bezier.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\createAnimatedComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\setAndForwardRef.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\components\\AnimatedFlatList.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Lists\\FlatList.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ScrollView\\ScrollView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ScrollView\\ScrollViewNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ScrollView\\ScrollViewViewConfig.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ScrollView\\ScrollContentViewNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ScrollView\\AndroidHorizontalScrollViewNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ScrollView\\AndroidHorizontalScrollContentViewNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ScrollResponder.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ScrollView\\ScrollViewCommands.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Interaction\\FrameRateLogger.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Interaction\\NativeFrameRateLogger.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Keyboard\\Keyboard.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Keyboard\\NativeKeyboardObserver.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\LayoutAnimation\\LayoutAnimation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\dismissKeyboard.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ScrollView\\ScrollViewStickyHeader.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ScrollView\\processDecelerationRate.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\StyleSheet\\splitLayoutProps.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Lists\\VirtualizedList.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Interaction\\Batchinator.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Lists\\FillRateHelper.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\RefreshControl\\RefreshControl.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\RefreshControl\\AndroidSwipeRefreshLayoutNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\RefreshControl\\PullToRefreshViewNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Lists\\ViewabilityHelper.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Lists\\VirtualizeUtils.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\components\\AnimatedImage.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Image\\Image.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Image\\NativeImageLoaderAndroid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedViewPropTypes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedViewAccessibility.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Image\\ImageViewNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Image\\TextInlineImageNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\components\\AnimatedScrollView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\components\\AnimatedSectionList.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Lists\\SectionList.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Lists\\VirtualizedSectionList.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\components\\AnimatedText.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Animated\\src\\components\\AnimatedView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\CheckBox\\CheckBox.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\CheckBox\\AndroidCheckBoxNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\DatePicker\\DatePickerIOS.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\DrawerAndroid\\DrawerLayoutAndroid.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\DrawerAndroid\\AndroidDrawerLayoutNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\StatusBar\\StatusBar.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\StatusBar\\NativeStatusBarManagerAndroid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\StatusBar\\NativeStatusBarManagerIOS.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Image\\ImageBackground.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\TextInput\\InputAccessoryView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\TextInput\\RCTInputAccessoryViewNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Keyboard\\KeyboardAvoidingView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\MaskedView\\MaskedViewIOS.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\UnimplementedViews\\UnimplementedView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Modal\\Modal.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Modal\\NativeModalManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Modal\\RCTModalHostViewNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\AppContainer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\RootTagContext.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\I18nManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\NativeI18nManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Picker\\Picker.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Picker\\PickerAndroid.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Picker\\AndroidDropdownPickerNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Picker\\AndroidDialogPickerNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Picker\\PickerIOS.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ProgressViewIOS\\ProgressViewIOS.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\SafeAreaView\\SafeAreaView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\SegmentedControlIOS\\SegmentedControlIOS.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Slider\\Slider.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Slider\\SliderNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Switch\\Switch.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Switch\\AndroidSwitchNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Switch\\SwitchNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\TextInput\\TextInput.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedTextInputPropTypes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Touchable\\TouchableWithoutFeedback.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\TextInput\\AndroidTextInputNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Touchable\\TouchableHighlight.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ActionSheetIOS\\ActionSheetIOS.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ActionSheetIOS\\NativeActionSheetManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\Appearance.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\NativeAppearance.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\DebugEnvironment.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\AppRegistry.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\NativeHeadlessJsTaskSupport.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\HeadlessJsTaskError.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\BugReporting\\BugReporting.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\BugReporting\\NativeBugReporting.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\NativeModules\\specs\\NativeRedBox.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\BugReporting\\dumpReactTree.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\SceneTracker.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\ReactNative\\renderApplication.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\PerformanceLoggerContext.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\BackHandler.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\NativeModules\\specs\\NativeDeviceEventManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Renderer\\shims\\ReactFabric.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Renderer\\implementations\\ReactFabric-prod.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\AppState\\AppState.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\AppState\\NativeAppState.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\logError.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Storage\\AsyncStorage.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Storage\\NativeAsyncStorage.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Clipboard\\Clipboard.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\Clipboard\\NativeClipboard.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\DatePickerAndroid\\DatePickerAndroid.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\DatePickerAndroid\\NativeDatePickerAndroid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\DeviceInfo.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\DevSettings.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\NativeModules\\specs\\NativeDevSettings.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Image\\ImagePickerIOS.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Image\\NativeImagePickerIOS.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Linking\\Linking.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Linking\\NativeLinking.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Interaction\\PanResponder.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Interaction\\TouchHistoryMath.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\PermissionsAndroid\\PermissionsAndroid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\PermissionsAndroid\\NativePermissionsAndroid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\PushNotificationIOS\\PushNotificationIOS.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\PushNotificationIOS\\NativePushNotificationManagerIOS.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Settings\\Settings.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Share\\Share.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Share\\NativeShareModule.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\StatusBar\\StatusBarIOS.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ToastAndroid\\ToastAndroid.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Components\\ToastAndroid\\NativeToastAndroid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\useColorScheme.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\use-subscription\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\use-subscription\\cjs\\use-subscription.production.min.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Utilities\\useWindowDimensions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Vibration\\Vibration.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Vibration\\NativeVibration.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\YellowBox\\YellowBox.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\YellowBox\\Data\\YellowBoxWarning.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\YellowBox\\Data\\YellowBoxCategory.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\YellowBox\\Data\\YellowBoxSymbolication.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\DeprecatedPropTypes\\DeprecatedPointPropType.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\redux\\lib\\redux.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\redux\\node_modules\\symbol-observable\\lib\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\redux\\node_modules\\symbol-observable\\lib\\ponyfill.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\SplashReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\ActionTypes.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\HomeReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\VendorReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\ProductReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\FaqReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\CategoryReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\SubCategoryReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\PrivacyReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\RegisterReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\LoginReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\AddressReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\AddressListReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\PaymentReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\PrescriptionReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\CreatePrescriptionReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\ViewPrescriptionReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\CartReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\MyOrdersReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\PromoReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\ProfileReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\config\\Constants.js","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\logo_with_name.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\splash.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\logo.jpg","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\heart.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\forgot.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\otp.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\reset_password.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\loading.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\location_pin.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\tablet.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\list.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\banner1.jpeg","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\banner2.jpeg","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\banner3.jpeg","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\safety.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\order.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\trust.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\wallet.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\doctor.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\location_icon.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\dentist.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\cardiologist.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\orthopedics.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\surgery.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\tablet_house.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\doctor_one.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\doc.jpg","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\covid.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\headache.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\fever.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\diabetes.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\throat_pain.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\back_pain.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\cough.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\acidity.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\infections.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\weight_loss.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\constipation.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\depression.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\hairfall.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\anxiety.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\stomach_ache.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\blood_pressure.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\location.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\doctor_image.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\doctorthree.jpg","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\json\\noservice_lottie.json","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\json\\no_data_lottie.json","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\json\\no_appointment.json","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\json\\no_orders.json","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\json\\no_prescription.json","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\json\\no_address.json","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\json\\no_wallet.json","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\json\\doctor_list.json","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\ForgotReducer.js","D:\\downlooad\\desihealth_customer (1)\\src\\reducers\\ResetReducer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\components\\Provider.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\components\\Context.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\utils\\Subscription.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\utils\\batch.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\components\\connectAdvanced.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\node_modules\\hoist-non-react-statics\\dist\\hoist-non-react-statics.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-is\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-is\\cjs\\react-is.production.min.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\utils\\useIsomorphicLayoutEffect.native.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\connect\\connect.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\utils\\shallowEqual.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\connect\\mapDispatchToProps.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\connect\\wrapMapToProps.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\utils\\verifyPlainObject.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\utils\\isPlainObject.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\utils\\warning.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\connect\\mapStateToProps.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\connect\\mergeProps.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\connect\\selectorFactory.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\connect\\verifySubselectors.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\hooks\\useDispatch.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\hooks\\useStore.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\hooks\\useReduxContext.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\hooks\\useSelector.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-redux\\lib\\utils\\reactBatchedUpdates.native.js","D:\\downlooad\\desihealth_customer (1)\\App.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\index.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\TransitionConfigs\\CardStyleInterpolators.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-iphone-x-helper\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\utils\\conditional.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\TransitionConfigs\\HeaderStyleInterpolators.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\TransitionConfigs\\TransitionSpecs.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\TransitionConfigs\\TransitionPresets.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\navigators\\createStackNavigator.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\index.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\index.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\routers\\src\\index.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\routers\\src\\CommonActions.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\routers\\src\\BaseRouter.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\nanoid\\non-secure\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\routers\\src\\StackRouter.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\routers\\src\\TabRouter.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\routers\\src\\DrawerRouter.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\routers\\src\\types.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\BaseNavigationContainer.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\EnsureSingleNavigator.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\NavigationBuilderContext.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useScheduleUpdate.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useFocusedListeners.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useDevTools.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useStateGetters.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useOptionsGetters.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useEventEmitter.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useSyncState.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\isSerializable.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\createNavigatorFactory.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\Screen.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\NavigationHelpersContext.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\NavigationContext.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\NavigationRouteContext.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useNavigationBuilder.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useRegisterNavigator.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useDescriptors.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\SceneView.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\StaticContainer.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useNavigationCache.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useNavigationHelpers.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\types.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useOnAction.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useFocusEvents.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useOnRouteFocus.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useChildActionListeners.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useFocusedListenersChildrenAdapter.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useOnGetState.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useNavigation.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useRoute.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useFocusEffect.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useIsFocused.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\useNavigationState.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\getStateFromPath.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\node_modules\\escape-string-regexp\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\query-string\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\strict-uri-encode\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\decode-uri-component\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\split-on-first\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\getPathFromState.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\core\\src\\getActionFromState.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\NavigationContainer.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\theming\\ThemeProvider.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\theming\\ThemeContext.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\theming\\DefaultTheme.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\LinkingContext.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\useThenable.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\useLinking.native.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\useBackButton.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\useScrollToTop.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\theming\\DarkTheme.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\theming\\useTheme.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\Link.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\useLinkProps.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\useLinkTo.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\native\\src\\useLinkBuilder.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Stack\\StackView.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-safe-area-context\\src\\index.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-safe-area-context\\src\\SafeAreaContext.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-safe-area-context\\src\\NativeSafeAreaView.native.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-safe-area-context\\src\\SafeAreaView.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-safe-area-context\\src\\InitialWindow.native.ts","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-safe-area-context\\src\\SafeArea.types.ts","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\GestureHandler.native.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\Swipeable.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\GestureHandler.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\createNativeWrapper.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\NativeViewGestureHandler.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\createHandler.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\fbjs\\lib\\areEqual.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\RNGestureHandlerModule.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\State.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\GestureHandlerPropTypes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\Directions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\gestureHandlerRootHOC.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\node_modules\\hoist-non-react-statics\\dist\\hoist-non-react-statics.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\GestureHandlerRootView.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\GestureButtons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\GestureHandlerButton.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\GestureComponents.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\Gestures.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\PlatformConstants.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\DrawerLayout.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\touchables\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\touchables\\TouchableNativeFeedback.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\touchables\\GenericTouchable.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\touchables\\TouchableWithoutFeedback.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\touchables\\TouchableOpacity.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gesture-handler\\touchables\\TouchableHighlight.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\utils\\GestureHandlerRefContext.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Stack\\CardStack.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Screens.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-screens\\src\\screens.native.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\Libraries\\Core\\ReactNativeVersion.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Header\\HeaderSegment.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Header\\HeaderBackButton.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\MaskedView.native.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\masked-view\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\masked-view\\js\\MaskedView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\TouchableItem.native.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\BorderlessButton.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\assets\\back-icon.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\assets\\back-icon-mask.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Header\\HeaderBackground.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\utils\\memoize.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Stack\\CardContainer.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Stack\\Card.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\color\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\color-string\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\color-name\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\simple-swizzle\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\simple-swizzle\\node_modules\\is-arrayish\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\color\\node_modules\\color-convert\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\color\\node_modules\\color-convert\\conversions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\color\\node_modules\\color-name\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\color\\node_modules\\color-convert\\route.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Stack\\CardSheet.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\utils\\CardAnimationContext.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\utils\\getDistanceForDirection.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\utils\\getInvertedMultiplier.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\utils\\HeaderHeightContext.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\KeyboardManager.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Header\\HeaderContainer.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Header\\Header.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\Header\\HeaderTitle.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\utils\\debounce.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\views\\SafeAreaProviderCompat.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\utils\\useCardAnimation.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\utils\\useHeaderHeight.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\stack\\src\\utils\\useGestureHandlerRef.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-navigation-transitions\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\Ionicons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\lib\\create-icon-set.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\lib\\react-native.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\lib\\ensure-native-module-available.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\lib\\create-icon-source-cache.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\lib\\icon-button.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isString.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseGetTag.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_Symbol.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_root.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_freeGlobal.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_getRawTag.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_objectToString.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isObjectLike.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\omit.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_arrayMap.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseClone.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_Stack.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_ListCache.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_listCacheClear.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_listCacheDelete.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_assocIndexOf.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\eq.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_listCacheGet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_listCacheHas.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_listCacheSet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_stackClear.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_stackDelete.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_stackGet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_stackHas.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_stackSet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_Map.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_getNative.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseIsNative.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isFunction.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isObject.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_isMasked.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_coreJsData.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_toSource.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_getValue.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_MapCache.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_mapCacheClear.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_Hash.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_hashClear.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_nativeCreate.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_hashDelete.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_hashGet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_hashHas.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_hashSet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_mapCacheDelete.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_getMapData.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_isKeyable.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_mapCacheGet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_mapCacheHas.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_mapCacheSet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_arrayEach.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_assignValue.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseAssignValue.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_defineProperty.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseAssign.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_copyObject.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\keys.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_arrayLikeKeys.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseTimes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isArguments.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseIsArguments.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isBuffer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\stubFalse.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_isIndex.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isTypedArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseIsTypedArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isLength.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseUnary.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_nodeUtil.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseKeys.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_isPrototype.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_nativeKeys.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_overArg.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isArrayLike.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseAssignIn.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\keysIn.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseKeysIn.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_nativeKeysIn.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_cloneBuffer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_copyArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_copySymbols.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_getSymbols.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_arrayFilter.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\stubArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_copySymbolsIn.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_getSymbolsIn.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_arrayPush.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_getPrototype.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_getAllKeys.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseGetAllKeys.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_getAllKeysIn.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_getTag.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_DataView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_Promise.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_Set.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_WeakMap.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_initCloneArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_initCloneByTag.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_cloneArrayBuffer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_Uint8Array.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_cloneDataView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_cloneRegExp.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_cloneSymbol.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_cloneTypedArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_initCloneObject.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseCreate.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isMap.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseIsMap.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isSet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseIsSet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseUnset.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_castPath.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_isKey.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isSymbol.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_stringToPath.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_memoizeCapped.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\memoize.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\toString.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseToString.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\last.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_parent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseGet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_toKey.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseSlice.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_customOmitClone.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isPlainObject.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_flatRest.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\flatten.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseFlatten.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_isFlattenable.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_overRest.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_apply.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_setToString.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseSetToString.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\constant.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\identity.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_shortOut.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\pick.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_basePick.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_basePickBy.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseSet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\hasIn.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseHasIn.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_hasPath.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\lib\\tab-bar-item-ios.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\isEqual.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseIsEqual.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_baseIsEqualDeep.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_equalArrays.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_SetCache.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_setCacheAdd.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_setCacheHas.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_arraySome.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_cacheHas.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_equalByTag.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_mapToArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_setToArray.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_equalObjects.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\lib\\toolbar-android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\toolbar-android\\js\\ToolbarAndroid.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\toolbar-android\\js\\ToolbarAndroidNativeComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\Ionicons.json","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\css\\Colors.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\bottom-tabs\\src\\index.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\bottom-tabs\\src\\navigators\\createBottomTabNavigator.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\bottom-tabs\\src\\views\\BottomTabView.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\bottom-tabs\\src\\views\\SafeAreaProviderCompat.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\bottom-tabs\\src\\views\\ResourceSavingScene.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\bottom-tabs\\src\\views\\BottomTabBar.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\bottom-tabs\\src\\views\\BottomTabItem.tsx","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-navigation\\bottom-tabs\\src\\views\\TabBarIcon.tsx","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Splash.js","D:\\downlooad\\desihealth_customer (1)\\src\\components\\GeneralComponents.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\buttons\\Button.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\config\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-status-bar-height\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\config\\BackgroundImage.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\config\\colors.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\config\\fonts.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\config\\ThemeProvider.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\node_modules\\deepmerge\\dist\\cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\config\\colorsDark.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\config\\withTheme.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\node_modules\\hoist-non-react-statics\\dist\\hoist-non-react-statics.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\config\\theme.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\helpers\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\helpers\\renderNode.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\helpers\\getIconType.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\Zocial.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\Zocial.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\Octicons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\Octicons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\MaterialIcons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\MaterialIcons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\MaterialCommunityIcons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\MaterialCommunityIcons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\Foundation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\Foundation.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\EvilIcons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\EvilIcons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\Entypo.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\Entypo.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\FontAwesome.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\FontAwesome.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\FontAwesome5.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\lib\\create-icon-set-from-fontawesome5.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\lib\\create-multi-style-icon-set.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\FontAwesome5Free.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\FontAwesome5Free_meta.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\SimpleLineIcons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\SimpleLineIcons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\Feather.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\Feather.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\AntDesign.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\AntDesign.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\Fontisto.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-vector-icons\\glyphmaps\\Fontisto.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\helpers\\normalizeText.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\helpers\\nodeType.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\helpers\\types.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\icons\\Icon.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\helpers\\getIconStyle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\input\\Input.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\list\\ListItem.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\avatar\\Avatar.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash.isequal\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\image\\Image.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\avatar\\Accessory.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\badge\\Badge.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\text\\Text.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\list\\ListItemContent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\list\\ListItemChevron.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\list\\ListItemInput.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\list\\ListItemCheckBox.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\checkbox\\CheckBox.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\checkbox\\CheckBoxIcon.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\list\\ListItemButtonGroup.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\buttons\\ButtonGroup.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\list\\ListItemTitle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\list\\ListItemSubtitle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\social\\SocialIcon.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\overlay\\Overlay.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\searchbar\\SearchBar.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\searchbar\\SearchBar-ios.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\searchbar\\SearchBar-android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\searchbar\\SearchBar-default.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\badge\\withBadge.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\divider\\Divider.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\slider\\Slider.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\card\\Card.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\card\\CardTitle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\card\\CardDivider.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\card\\CardImage.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\card\\CardFeaturedTitle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\card\\CardFeaturedSubtitle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\tile\\Tile.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\tile\\FeaturedTile.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\header\\Header.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\pricing\\PricingCard.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\tooltip\\Tooltip.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\tooltip\\Triangle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\tooltip\\getTooltipCoordinate.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-elements\\src\\bottomSheet\\BottomSheet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ratings\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ratings\\src\\SwipeRating.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\times.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\_castFunction.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\toInteger.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\toFinite.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\toNumber.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ratings\\src\\images\\star.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ratings\\src\\images\\heart.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ratings\\src\\images\\rocket.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ratings\\src\\images\\bell.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ratings\\src\\TapRating.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash\\lodash.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ratings\\src\\components\\Star.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ratings\\src\\images\\airbnb-star.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ratings\\src\\images\\airbnb-star-selected.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-loading-spinner-overlay\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\async-storage\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\async-storage\\src\\AsyncStorage.native.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\async-storage\\src\\hooks.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\axios.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\utils.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\helpers\\bind.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\core\\Axios.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\helpers\\buildURL.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\core\\InterceptorManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\core\\dispatchRequest.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\core\\transformData.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\cancel\\isCancel.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\defaults.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\helpers\\normalizeHeaderName.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\adapters\\xhr.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\core\\settle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\core\\createError.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\core\\enhanceError.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\core\\buildFullPath.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\helpers\\isAbsoluteURL.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\helpers\\combineURLs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\helpers\\parseHeaders.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\helpers\\isURLSameOrigin.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\helpers\\cookies.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\core\\mergeConfig.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\cancel\\Cancel.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\cancel\\CancelToken.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\axios\\lib\\helpers\\spread.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\SplashActions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-firebase-push-notifications\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-firebase-push-notifications\\src\\notifications\\Notification.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-firebase-push-notifications\\src\\notifications\\AndroidNotification.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-firebase-push-notifications\\src\\notifications\\AndroidAction.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-firebase-push-notifications\\src\\notifications\\AndroidRemoteInput.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-firebase-push-notifications\\src\\notifications\\types.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-firebase-push-notifications\\src\\notifications\\IOSNotification.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-firebase-push-notifications\\src\\notifications\\AndroidNotifications.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-firebase-push-notifications\\src\\notifications\\AndroidChannel.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-firebase-push-notifications\\src\\notifications\\AndroidChannelGroup.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-firebase-push-notifications\\src\\notifications\\IOSNotifications.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Home.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\HomeActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\ProductActions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-image-slider-show\\Slideshow.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native\\package.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\src\\connectStyle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\hoist-non-react-statics\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\src\\StyleNormalizer\\normalizeStyle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\src\\StyleNormalizer\\StyleNormalizer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\src\\StyleNormalizer\\ShorthandsNormalizerFactory.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\src\\Theme.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\src\\resolveIncludes.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\src\\mergeComponentAndThemeStyles.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\src\\resolveComponentStyle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\src\\customMerge.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\src\\StyleProvider.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base-shoutem-theme\\src\\addons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-easy-grid\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-easy-grid\\Components\\Row.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-easy-grid\\Utils\\computeProps.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-easy-grid\\Components\\Grid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-easy-grid\\Components\\Col.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\init.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Body.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Left.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Right.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Header.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\variables\\platform.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\variables\\commonColor.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Switch.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Thumbnail.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Container.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Content.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Button.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Title.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Subtitle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\InputGroup.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Badge.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\CheckBox.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Card.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Radio.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\H3.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\H2.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\H1.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Footer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\FooterTab.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Fab.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Item.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Label.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Textarea.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Text.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Toast.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Tab.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\TabBar.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\TabContainer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\View.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\TabHeading.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Icon.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Input.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\SwipeRow.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Segment.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Spinner.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\CardItem.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\ListItem.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Picker.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Form.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\theme\\components\\Separator.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Drawer\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-drawer\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-drawer\\tweener.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\tween-functions\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\SwipeRow.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\utils\\mapPropsToStyleNames.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Left.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Right.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Body.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\ListItem.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Text.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\View.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Button.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\utils\\computeProps.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\DatePicker.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\TabHeading.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\TabContainer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\IconNB.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Icon\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Icon\\NBIcons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Header.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\utils\\getStyle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\InputGroup.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Input.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Base\\NativeBaseComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Title.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Fab.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Badge.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Checkbox.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Radio.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Thumbnail.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Card.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\CardItem.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\H1.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\H2.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\H3.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Spinner.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Switch.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Container.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\utils\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\utils\\interactionManager.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Root.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\ToastContainer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Toast.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Actionsheet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Content.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-keyboard-aware-scroll-view\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-keyboard-aware-scroll-view\\lib\\KeyboardAwareHOC.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-keyboard-aware-scroll-view\\lib\\KeyboardAwareScrollView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-keyboard-aware-scroll-view\\lib\\KeyboardAwareFlatList.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-keyboard-aware-scroll-view\\lib\\KeyboardAwareSectionList.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Footer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\FooterTab.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Form.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Picker.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\create-react-class\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\create-react-class\\factory.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\create-react-class\\node_modules\\fbjs\\lib\\emptyObject.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\create-react-class\\node_modules\\fbjs\\lib\\invariant.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\List.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Separator.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\DeckSwiper.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\clamp\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Item.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Label.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Segment.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Textarea.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Tab.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Tabs\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-timer-mixin\\TimerMixin.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Tabs\\SceneComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Tabs\\StaticContainer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Tabs\\DefaultTabBar.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Tabs\\Button.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Tabs\\ScrollableTabBar.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Subtitle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\basic\\Accordion.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\native-base\\dist\\src\\vue-native.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-search-bar\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-search-bar\\src\\SearchBar.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-material-menu\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-material-menu\\src\\MenuDivider.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-material-menu\\src\\MenuItem.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-material-menu\\src\\Menu.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-raw-bottom-sheet\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-raw-bottom-sheet\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-raw-bottom-sheet\\src\\style.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\rn-range-slider\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-check-box\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-check-box\\img\\ic_indeterminate_check_box.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-check-box\\img\\ic_check_box.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-check-box\\img\\ic_check_box_outline_blank.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-android-location-enabler\\index.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Pharmacy.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lottie-react-native\\lib\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lottie-react-native\\lib\\LottieView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-safe-modules\\lib\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-safe-modules\\lib\\SafeModule.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-safe-modules\\lib\\NativeSafeModule.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\dedent\\dist\\dedent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-safe-modules\\lib\\SafeComponent.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-safe-modules\\lib\\NativeSafeComponent.js","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\json\\Pharmacy.json","D:\\downlooad\\desihealth_customer (1)\\src\\views\\EditProduct.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ui-stepper\\UIStepper.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ui-stepper\\assets\\decrement.png","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-ui-stepper\\assets\\increment.png","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\CartActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Call.js","D:\\downlooad\\desihealth_customer (1)\\src\\config\\Accordian.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-twilio-programmable-voice\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-permissions\\lib\\commonjs\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-permissions\\lib\\commonjs\\constants.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-permissions\\lib\\commonjs\\module.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-permissions\\lib\\commonjs\\utils.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-permissions\\lib\\commonjs\\types.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\VideoCall.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-twilio-video-webrtc\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-twilio-video-webrtc\\src\\TwilioVideoLocalView.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-twilio-video-webrtc\\src\\TwilioVideoParticipantView.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-twilio-video-webrtc\\src\\TwilioVideo.android.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\VendorDetails.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\VendorActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\LocationSearch.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-google-places-autocomplete\\GooglePlacesAutocomplete.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\lodash.debounce\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-google-places-autocomplete\\node_modules\\qs\\lib\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-google-places-autocomplete\\node_modules\\qs\\lib\\stringify.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-google-places-autocomplete\\node_modules\\qs\\lib\\utils.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-google-places-autocomplete\\node_modules\\qs\\lib\\formats.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-google-places-autocomplete\\node_modules\\qs\\lib\\parse.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-google-places-autocomplete\\images\\powered_by_google_on_white.png","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\AddressActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\SubCategory.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\SubCategoryActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Product.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Category.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\CategoryActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\DoctorSubCategories.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\StarRating.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\createAnimatableComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\wrapStyleTransforms.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\getStyleValues.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\flattenStyle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\getDefaultStyleValue.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\createAnimation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\registry.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\easing.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\attention-seekers.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\bouncing-entrances.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\bouncing-exits.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\fading-entrances.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\fading-exits.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\flippers.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\lightspeed.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\sliding-entrances.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\sliding-exits.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\zooming-entrances.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-animatable\\definitions\\zooming-exits.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\StarButton.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\dist\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\dist\\lib\\create-icon-set.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\dist\\lib\\react-native.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\dist\\lib\\icon-button.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\dist\\lib\\tab-bar-item-ios.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\dist\\lib\\toolbar-android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\dist\\lib\\create-icon-set-from-fontello.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\dist\\lib\\create-icon-set-from-icomoon.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-button\\Button.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-button\\coalesceNonElementChildren.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\Entypo.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\lib\\create-icon-set.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\lib\\react-native.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\lib\\icon-button.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\lib\\tab-bar-item-ios.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\lib\\toolbar-android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\glyphmaps\\Entypo.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\EvilIcons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\glyphmaps\\EvilIcons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\Feather.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\glyphmaps\\Feather.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\FontAwesome.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\glyphmaps\\FontAwesome.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\Foundation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\glyphmaps\\Foundation.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\Ionicons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\glyphmaps\\Ionicons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\MaterialIcons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\glyphmaps\\MaterialIcons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\MaterialCommunityIcons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\glyphmaps\\MaterialCommunityIcons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\Octicons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\glyphmaps\\Octicons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\Zocial.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\glyphmaps\\Zocial.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\SimpleLineIcons.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-star-rating\\node_modules\\react-native-vector-icons\\glyphmaps\\SimpleLineIcons.json","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-cardview\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-cardview\\libs\\CardView.android.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\ProductDetails.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Promo.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\PromoActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\MyOrders.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\moment\\moment.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\MyOrdersActions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-progress-circle\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\src\\config\\firebaseConfig.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\firebase\\dist\\index.rn.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@firebase\\app\\dist\\index.rn.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\tslib\\tslib.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@firebase\\util\\dist\\index.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@firebase\\component\\dist\\index.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@firebase\\logger\\dist\\index.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@firebase\\auth\\dist\\auth.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@firebase\\database\\dist\\index.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@firebase\\storage\\dist\\index.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@firebase\\firestore\\dist\\index.rn.esm2017.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@firebase\\webchannel-wrapper\\dist\\index.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\OrderDetails.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\type.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\components\\DialogButton.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\constants\\Constants.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\PopupDialog.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-root-siblings\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\static-container\\StaticContainer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\components\\Dialog.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\components\\Overlay.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\animations\\Animation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\animations\\FadeAnimation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\components\\DialogTitle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\components\\DialogFooter.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\components\\DialogContent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\animations\\ScaleAnimation.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-popup-dialog\\dist\\animations\\SlideAnimation.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Cart.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-snackbar\\lib\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-modal-datetime-picker\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-modal-datetime-picker\\src\\DateTimePickerModal.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\datetimepicker\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\datetimepicker\\src\\datetimepicker.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\datetimepicker\\src\\constants.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\datetimepicker\\src\\picker.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\datetimepicker\\src\\datepicker.android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\datetimepicker\\src\\utils.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\datetimepicker\\src\\timepicker.android.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Profile.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\ProfileActions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\utils\\uri.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\class\\StatefulPromise.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\fs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\class\\RNFetchBlobSession.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\class\\RNFetchBlobWriteStream.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\class\\RNFetchBlobReadStream.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\utils\\uuid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\class\\RNFetchBlobFile.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\base-64\\base64.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\polyfill\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\polyfill\\Blob.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\utils\\log.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\polyfill\\EventTarget.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\polyfill\\File.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\polyfill\\XMLHttpRequest.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\polyfill\\XMLHttpRequestEventTarget.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\polyfill\\ProgressEvent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\polyfill\\Event.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\polyfill\\FileReader.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\polyfill\\Fetch.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\utils\\unicode.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\android.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\ios.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\json-stream.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-fetch-blob\\lib\\oboe-browser.min.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\More.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-dialog\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-dialog\\src\\Button.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-dialog\\src\\Container.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-modal\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-modal\\src\\utils.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-modal\\src\\index.style.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-dialog\\src\\Description.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-dialog\\src\\Input.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-dialog\\src\\Switch.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-dialog\\src\\Title.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Prescription.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\PrescriptionActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\icons\\back1.png","D:\\downlooad\\desihealth_customer (1)\\src\\views\\AddPrescription.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-image-picker\\src\\index.ts","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-image-picker\\src\\internal\\nativeInterface.ts","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-image-picker\\src\\internal\\types.ts","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\CreatePrescriptionActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\ViewPrescription.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\ViewPrescriptionActions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-image-view\\src\\ImageView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-image-view\\src\\utils.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-image-view\\src\\styles.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-image-view\\src\\controls\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-image-view\\src\\controls\\Close.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-image-view\\src\\controls\\Prev.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-image-view\\src\\controls\\Next.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Address.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapView.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapMarker.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\decorateMapComponent.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\ProviderConstants.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapPolyline.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapPolygon.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapCircle.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapCallout.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapCalloutSubview.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapOverlay.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapUrlTile.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapWMSTile.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapLocalTile.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\MapHeatmap.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\AnimatedRegion.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-maps\\lib\\components\\Geojson.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\geolocation\\js\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\geolocation\\js\\implementation.native.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\geolocation\\js\\nativeInterface.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@react-native-community\\geolocation\\js\\utils.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\AddressList.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\AddressListActions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-simple-dialogs\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-simple-dialogs\\src\\Dialog.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-simple-dialogs\\src\\ProgressDialog.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-simple-dialogs\\src\\ConfirmDialog.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-simple-dialogs\\src\\TouchableEffect.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Payment.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\PaymentActions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-razorpay\\RazorpayCheckout.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Login.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\LoginActions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-app-intro-slider\\dist\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-app-intro-slider\\dist\\merge-extradata.js","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\icons\\person.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\icons\\pass.png","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Register.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\RegisterActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\icons\\call.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\icons\\email.png","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Faq.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\FaqActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\FaqDetails.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\PrivacyPolicy.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\PrivacyActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Forgot.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\ForgotActions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-confirmation-code-input\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-confirmation-code-input\\components\\ConfirmationCodeInput.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Otp.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Rating.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Reset.js","D:\\downlooad\\desihealth_customer (1)\\src\\actions\\ResetActions.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\ContactUs.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Logout.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Search.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Wallet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-dialog-input\\index.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\DoctorList.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\DoctorDetail.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-step-indicator\\src\\index.tsx","D:\\downlooad\\desihealth_customer (1)\\src\\views\\AppointmentDetail.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\CreateAppointment.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\quickblox-react-native-sdk\\index.js","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\icons\\time.png","D:\\downlooad\\desihealth_customer (1)\\src\\views\\MyBookingDetails.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\Chat.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\GiftedChat.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@expo\\react-native-action-sheet\\lib\\module\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@expo\\react-native-action-sheet\\lib\\module\\ActionSheetProvider.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@expo\\react-native-action-sheet\\lib\\module\\ActionSheet\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@expo\\react-native-action-sheet\\lib\\module\\ActionSheet\\ActionGroup.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@expo\\react-native-action-sheet\\lib\\module\\ActionSheet\\TouchableNativeFeedbackSafe.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@expo\\react-native-action-sheet\\lib\\module\\context.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@expo\\react-native-action-sheet\\lib\\module\\connectActionSheet.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@expo\\react-native-action-sheet\\node_modules\\hoist-non-react-statics\\dist\\hoist-non-react-statics.cjs.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\@expo\\react-native-action-sheet\\lib\\module\\types.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\uuid\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\uuid\\v1.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\uuid\\lib\\rng-browser.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\uuid\\lib\\bytesToUuid.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\uuid\\v4.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\dayjs\\dayjs.min.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\dayjs\\plugin\\localizedFormat.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\utils.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\Actions.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\Color.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\Avatar.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\GiftedAvatar.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\Bubble.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\QuickReplies.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\MessageText.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-parsed-text\\src\\ParsedText.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-parsed-text\\src\\lib\\TextExtraction.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-communications\\AKCommunications.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\MessageImage.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-lightbox\\Lightbox.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-lightbox\\LightboxOverlay.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\MessageVideo.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\MessageAudio.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\Time.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\Constant.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\SystemMessage.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\Composer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\Day.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\InputToolbar.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\Send.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\LoadEarlier.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\Message.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\MessageContainer.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\TypingIndicator.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-typing-animation\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-typing-animation\\src\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-typing-animation\\src\\Dot\\index.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-typing-animation\\src\\Dot\\styles.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-typing-animation\\src\\styles.js","D:\\downlooad\\desihealth_customer (1)\\node_modules\\react-native-gifted-chat\\lib\\hooks\\useUpdateLayoutEffect.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\DoctorMap.js","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\img\\hospital_pin.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\icons\\home.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\icons\\more.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\icons\\file.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\icons\\list.png","D:\\downlooad\\desihealth_customer (1)\\src\\assets\\icons\\bag.png","D:\\downlooad\\desihealth_customer (1)\\src\\views\\DoctorSymptoms.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\PharmacyDetail.js","D:\\downlooad\\desihealth_customer (1)\\src\\views\\PrescriptionUpload.js","D:\\downlooad\\desihealth_customer (1)\\app.json"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{};process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n *\n * @format\n */\n\"use strict\";\n/* eslint-disable no-bitwise */\n\nglobal.__r = metroRequire;\nglobal.__d = define;\nglobal.__c = clear;\nglobal.__registerSegment = registerSegment;\nvar modules = clear(); // Don't use a Symbol here, it would pull in an extra polyfill with all sorts of\n// additional stuff (e.g. Array.from).\n\nconst EMPTY = {};\nconst _ref = {},\n hasOwnProperty = _ref.hasOwnProperty;\n\nif (__DEV__) {\n global.$RefreshReg$ = () => {};\n\n global.$RefreshSig$ = () => type => type;\n}\n\nfunction clear() {\n modules = Object.create(null); // We return modules here so that we can assign an initial value to modules\n // when defining it. Otherwise, we would have to do \"let modules = null\",\n // which will force us to add \"nullthrows\" everywhere.\n\n return modules;\n}\n\nif (__DEV__) {\n var verboseNamesToModuleIds = Object.create(null);\n var initializingModuleIds = [];\n}\n\nfunction define(factory, moduleId, dependencyMap) {\n if (modules[moduleId] != null) {\n if (__DEV__) {\n // (We take `inverseDependencies` from `arguments` to avoid an unused\n // named parameter in `define` in production.\n const inverseDependencies = arguments[4]; // If the module has already been defined and the define method has been\n // called with inverseDependencies, we can hot reload it.\n\n if (inverseDependencies) {\n global.__accept(moduleId, factory, dependencyMap, inverseDependencies);\n }\n } // prevent repeated calls to `global.nativeRequire` to overwrite modules\n // that are already loaded\n\n return;\n }\n\n const mod = {\n dependencyMap,\n factory,\n hasError: false,\n importedAll: EMPTY,\n importedDefault: EMPTY,\n isInitialized: false,\n publicModule: {\n exports: {}\n }\n };\n modules[moduleId] = mod;\n\n if (__DEV__) {\n // HMR\n mod.hot = createHotReloadingObject(); // DEBUGGABLE MODULES NAMES\n // we take `verboseName` from `arguments` to avoid an unused named parameter\n // in `define` in production.\n\n const verboseName = arguments[3];\n\n if (verboseName) {\n mod.verboseName = verboseName;\n verboseNamesToModuleIds[verboseName] = moduleId;\n }\n }\n}\n\nfunction metroRequire(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n\n if (moduleId == null) {\n throw new Error(`Unknown named module: \"${verboseName}\"`);\n } else {\n console.warn(\n `Requiring module \"${verboseName}\" by name is only supported for ` +\n \"debugging purposes and will BREAK IN PRODUCTION!\"\n );\n }\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (__DEV__) {\n const initializingIndex = initializingModuleIds.indexOf(\n moduleIdReallyIsNumber\n );\n\n if (initializingIndex !== -1) {\n const cycle = initializingModuleIds\n .slice(initializingIndex)\n .map(id => (modules[id] ? modules[id].verboseName : \"[unknown]\")); // We want to show A -> B -> A:\n\n cycle.push(cycle[0]);\n console.warn(\n `Require cycle: ${cycle.join(\" -> \")}\\n\\n` +\n \"Require cycles are allowed, but can result in uninitialized values. \" +\n \"Consider refactoring to remove the need for a cycle.\"\n );\n }\n }\n\n const module = modules[moduleIdReallyIsNumber];\n return module && module.isInitialized\n ? module.publicModule.exports\n : guardedLoadModule(moduleIdReallyIsNumber, module);\n}\n\nfunction metroImportDefault(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedDefault !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedDefault;\n }\n\n const exports = metroRequire(moduleIdReallyIsNumber);\n const importedDefault =\n exports && exports.__esModule ? exports.default : exports; // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n\n return (modules[moduleIdReallyIsNumber].importedDefault = importedDefault);\n}\n\nmetroRequire.importDefault = metroImportDefault;\n\nfunction metroImportAll(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n } //$FlowFixMe: at this point we know that moduleId is a number\n\n const moduleIdReallyIsNumber = moduleId;\n\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedAll !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedAll;\n }\n\n const exports = metroRequire(moduleIdReallyIsNumber);\n let importedAll;\n\n if (exports && exports.__esModule) {\n importedAll = exports;\n } else {\n importedAll = {}; // Refrain from using Object.assign, it has to work in ES3 environments.\n\n if (exports) {\n for (const key in exports) {\n if (hasOwnProperty.call(exports, key)) {\n importedAll[key] = exports[key];\n }\n }\n }\n\n importedAll.default = exports;\n } // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n\n return (modules[moduleIdReallyIsNumber].importedAll = importedAll);\n}\n\nmetroRequire.importAll = metroImportAll;\nlet inGuard = false;\n\nfunction guardedLoadModule(moduleId, module) {\n if (!inGuard && global.ErrorUtils) {\n inGuard = true;\n let returnValue;\n\n try {\n returnValue = loadModuleImplementation(moduleId, module);\n } catch (e) {\n // TODO: (moti) T48204692 Type this use of ErrorUtils.\n global.ErrorUtils.reportFatalError(e);\n }\n\n inGuard = false;\n return returnValue;\n } else {\n return loadModuleImplementation(moduleId, module);\n }\n}\n\nconst ID_MASK_SHIFT = 16;\nconst LOCAL_ID_MASK = ~0 >>> ID_MASK_SHIFT;\n\nfunction unpackModuleId(moduleId) {\n const segmentId = moduleId >>> ID_MASK_SHIFT;\n const localId = moduleId & LOCAL_ID_MASK;\n return {\n segmentId,\n localId\n };\n}\n\nmetroRequire.unpackModuleId = unpackModuleId;\n\nfunction packModuleId(value) {\n return (value.segmentId << ID_MASK_SHIFT) + value.localId;\n}\n\nmetroRequire.packModuleId = packModuleId;\nconst moduleDefinersBySegmentID = [];\n\nfunction registerSegment(segmentID, moduleDefiner) {\n moduleDefinersBySegmentID[segmentID] = moduleDefiner;\n}\n\nfunction loadModuleImplementation(moduleId, module) {\n if (!module && moduleDefinersBySegmentID.length > 0) {\n const _unpackModuleId = unpackModuleId(moduleId),\n segmentId = _unpackModuleId.segmentId,\n localId = _unpackModuleId.localId;\n\n const definer = moduleDefinersBySegmentID[segmentId];\n\n if (definer != null) {\n definer(localId);\n module = modules[moduleId];\n }\n }\n\n const nativeRequire = global.nativeRequire;\n\n if (!module && nativeRequire) {\n const _unpackModuleId2 = unpackModuleId(moduleId),\n segmentId = _unpackModuleId2.segmentId,\n localId = _unpackModuleId2.localId;\n\n nativeRequire(localId, segmentId);\n module = modules[moduleId];\n }\n\n if (!module) {\n throw unknownModuleError(moduleId);\n }\n\n if (module.hasError) {\n throw moduleThrewError(moduleId, module.error);\n } // `metroRequire` calls into the require polyfill itself are not analyzed and\n // replaced so that they use numeric module IDs.\n // The systrace module will expose itself on the metroRequire function so that\n // it can be used here.\n // TODO(t9759686) Scan polyfills for dependencies, too\n\n if (__DEV__) {\n var Systrace = metroRequire.Systrace,\n Refresh = metroRequire.Refresh;\n } // We must optimistically mark module as initialized before running the\n // factory to keep any require cycles inside the factory from causing an\n // infinite require loop.\n\n module.isInitialized = true;\n const _module = module,\n factory = _module.factory,\n dependencyMap = _module.dependencyMap;\n\n if (__DEV__) {\n initializingModuleIds.push(moduleId);\n }\n\n try {\n if (__DEV__) {\n // $FlowFixMe: we know that __DEV__ is const and `Systrace` exists\n Systrace.beginEvent(\"JS_require_\" + (module.verboseName || moduleId));\n }\n\n const moduleObject = module.publicModule;\n\n if (__DEV__) {\n moduleObject.hot = module.hot;\n var prevRefreshReg = global.$RefreshReg$;\n var prevRefreshSig = global.$RefreshSig$;\n\n if (Refresh != null) {\n const RefreshRuntime = Refresh;\n\n global.$RefreshReg$ = (type, id) => {\n RefreshRuntime.register(type, moduleId + \" \" + id);\n };\n\n global.$RefreshSig$ =\n RefreshRuntime.createSignatureFunctionForTransform;\n }\n }\n\n moduleObject.id = moduleId; // keep args in sync with with defineModuleCode in\n // metro/src/Resolver/index.js\n // and metro/src/ModuleGraph/worker.js\n\n factory(\n global,\n metroRequire,\n metroImportDefault,\n metroImportAll,\n moduleObject,\n moduleObject.exports,\n dependencyMap\n ); // avoid removing factory in DEV mode as it breaks HMR\n\n if (!__DEV__) {\n // $FlowFixMe: This is only sound because we never access `factory` again\n module.factory = undefined;\n module.dependencyMap = undefined;\n }\n\n if (__DEV__) {\n // $FlowFixMe: we know that __DEV__ is const and `Systrace` exists\n Systrace.endEvent();\n\n if (Refresh != null) {\n registerExportsForReactRefresh(Refresh, moduleObject.exports, moduleId);\n }\n }\n\n return moduleObject.exports;\n } catch (e) {\n module.hasError = true;\n module.error = e;\n module.isInitialized = false;\n module.publicModule.exports = undefined;\n throw e;\n } finally {\n if (__DEV__) {\n if (initializingModuleIds.pop() !== moduleId) {\n throw new Error(\n \"initializingModuleIds is corrupt; something is terribly wrong\"\n );\n }\n\n global.$RefreshReg$ = prevRefreshReg;\n global.$RefreshSig$ = prevRefreshSig;\n }\n }\n}\n\nfunction unknownModuleError(id) {\n let message = 'Requiring unknown module \"' + id + '\".';\n\n if (__DEV__) {\n message +=\n \" If you are sure the module exists, try restarting Metro. \" +\n \"You may also want to run `yarn` or `npm install`.\";\n }\n\n return Error(message);\n}\n\nfunction moduleThrewError(id, error) {\n const displayName = (__DEV__ && modules[id] && modules[id].verboseName) || id;\n return Error(\n 'Requiring module \"' + displayName + '\", which threw an exception: ' + error\n );\n}\n\nif (__DEV__) {\n metroRequire.Systrace = {\n beginEvent: () => {},\n endEvent: () => {}\n };\n\n metroRequire.getModules = () => {\n return modules;\n }; // HOT MODULE RELOADING\n\n var createHotReloadingObject = function() {\n const hot = {\n _acceptCallback: null,\n _disposeCallback: null,\n _didAccept: false,\n accept: callback => {\n hot._didAccept = true;\n hot._acceptCallback = callback;\n },\n dispose: callback => {\n hot._disposeCallback = callback;\n }\n };\n return hot;\n };\n\n let reactRefreshTimeout = null;\n\n const metroHotUpdateModule = function(\n id,\n factory,\n dependencyMap,\n inverseDependencies\n ) {\n const mod = modules[id];\n\n if (!mod) {\n if (factory) {\n // New modules are going to be handled by the define() method.\n return;\n }\n\n throw unknownModuleError(id);\n }\n\n if (!mod.hasError && !mod.isInitialized) {\n // The module hasn't actually been executed yet,\n // so we can always safely replace it.\n mod.factory = factory;\n mod.dependencyMap = dependencyMap;\n return;\n }\n\n const Refresh = metroRequire.Refresh;\n const refreshBoundaryIDs = new Set(); // In this loop, we will traverse the dependency tree upwards from the\n // changed module. Updates \"bubble\" up to the closest accepted parent.\n //\n // If we reach the module root and nothing along the way accepted the update,\n // we know hot reload is going to fail. In that case we return false.\n //\n // The main purpose of this loop is to figure out whether it's safe to apply\n // a hot update. It is only safe when the update was accepted somewhere\n // along the way upwards for each of its parent dependency module chains.\n //\n // We perform a topological sort because we may discover the same\n // module more than once in the list of things to re-execute, and\n // we want to execute modules before modules that depend on them.\n //\n // If we didn't have this check, we'd risk re-evaluating modules that\n // have side effects and lead to confusing and meaningless crashes.\n\n let didBailOut = false;\n const updatedModuleIDs = topologicalSort(\n [id], // Start with the changed module and go upwards\n pendingID => {\n const pendingModule = modules[pendingID];\n\n if (pendingModule == null) {\n // Nothing to do.\n return [];\n }\n\n const pendingHot = pendingModule.hot;\n\n if (pendingHot == null) {\n throw new Error(\n \"[Refresh] Expected module.hot to always exist in DEV.\"\n );\n } // A module can be accepted manually from within itself.\n\n let canAccept = pendingHot._didAccept;\n\n if (!canAccept && Refresh != null) {\n // Or React Refresh may mark it accepted based on exports.\n const isBoundary = isReactRefreshBoundary(\n Refresh,\n pendingModule.publicModule.exports\n );\n\n if (isBoundary) {\n canAccept = true;\n refreshBoundaryIDs.add(pendingID);\n }\n }\n\n if (canAccept) {\n // Don't look at parents.\n return [];\n } // If we bubble through the roof, there is no way to do a hot update.\n // Bail out altogether. This is the failure case.\n\n const parentIDs = inverseDependencies[pendingID];\n\n if (parentIDs.length === 0) {\n // Reload the app because the hot reload can't succeed.\n // This should work both on web and React Native.\n performFullRefresh(\"No root boundary\", {\n source: mod,\n failed: pendingModule\n });\n didBailOut = true;\n return [];\n } // This module can't handle the update but maybe all its parents can?\n // Put them all in the queue to run the same set of checks.\n\n return parentIDs;\n },\n () => didBailOut // Should we stop?\n ).reverse();\n\n if (didBailOut) {\n return;\n } // If we reached here, it is likely that hot reload will be successful.\n // Run the actual factories.\n\n const seenModuleIDs = new Set();\n\n for (let i = 0; i < updatedModuleIDs.length; i++) {\n // Don't process twice if we have a cycle.\n const updatedID = updatedModuleIDs[i];\n\n if (seenModuleIDs.has(updatedID)) {\n continue;\n }\n\n seenModuleIDs.add(updatedID);\n const updatedMod = modules[updatedID];\n\n if (updatedMod == null) {\n throw new Error(\"[Refresh] Expected to find the updated module.\");\n }\n\n const prevExports = updatedMod.publicModule.exports;\n const didError = runUpdatedModule(\n updatedID,\n updatedID === id ? factory : undefined,\n updatedID === id ? dependencyMap : undefined\n );\n const nextExports = updatedMod.publicModule.exports;\n\n if (didError) {\n // The user was shown a redbox about module initialization.\n // There's nothing for us to do here until it's fixed.\n return;\n }\n\n if (refreshBoundaryIDs.has(updatedID)) {\n // Since we just executed the code for it, it's possible\n // that the new exports make it ineligible for being a boundary.\n const isNoLongerABoundary = !isReactRefreshBoundary(\n Refresh,\n nextExports\n ); // It can also become ineligible if its exports are incompatible\n // with the previous exports.\n // For example, if you add/remove/change exports, we'll want\n // to re-execute the importing modules, and force those components\n // to re-render. Similarly, if you convert a class component\n // to a function, we want to invalidate the boundary.\n\n const didInvalidate = shouldInvalidateReactRefreshBoundary(\n Refresh,\n prevExports,\n nextExports\n );\n\n if (isNoLongerABoundary || didInvalidate) {\n // We'll be conservative. The only case in which we won't do a full\n // reload is if all parent modules are also refresh boundaries.\n // In that case we'll add them to the current queue.\n const parentIDs = inverseDependencies[updatedID];\n\n if (parentIDs.length === 0) {\n // Looks like we bubbled to the root. Can't recover from that.\n performFullRefresh(\n isNoLongerABoundary\n ? \"No longer a boundary\"\n : \"Invalidated boundary\",\n {\n source: mod,\n failed: updatedMod\n }\n );\n return;\n } // Schedule all parent refresh boundaries to re-run in this loop.\n\n for (let j = 0; j < parentIDs.length; j++) {\n const parentID = parentIDs[j];\n const parentMod = modules[parentID];\n\n if (parentMod == null) {\n throw new Error(\"[Refresh] Expected to find parent module.\");\n }\n\n const canAcceptParent = isReactRefreshBoundary(\n Refresh,\n parentMod.publicModule.exports\n );\n\n if (canAcceptParent) {\n // All parents will have to re-run too.\n refreshBoundaryIDs.add(parentID);\n updatedModuleIDs.push(parentID);\n } else {\n performFullRefresh(\"Invalidated boundary\", {\n source: mod,\n failed: parentMod\n });\n return;\n }\n }\n }\n }\n }\n\n if (Refresh != null) {\n // Debounce a little in case there are multiple updates queued up.\n // This is also useful because __accept may be called multiple times.\n if (reactRefreshTimeout == null) {\n reactRefreshTimeout = setTimeout(() => {\n reactRefreshTimeout = null; // Update React components.\n\n Refresh.performReactRefresh();\n }, 30);\n }\n }\n };\n\n const topologicalSort = function(roots, getEdges, earlyStop) {\n const result = [];\n const visited = new Set();\n\n function traverseDependentNodes(node) {\n visited.add(node);\n const dependentNodes = getEdges(node);\n\n if (earlyStop(node)) {\n return;\n }\n\n dependentNodes.forEach(dependent => {\n if (visited.has(dependent)) {\n return;\n }\n\n traverseDependentNodes(dependent);\n });\n result.push(node);\n }\n\n roots.forEach(root => {\n if (!visited.has(root)) {\n traverseDependentNodes(root);\n }\n });\n return result;\n };\n\n const runUpdatedModule = function(id, factory, dependencyMap) {\n const mod = modules[id];\n\n if (mod == null) {\n throw new Error(\"[Refresh] Expected to find the module.\");\n }\n\n const hot = mod.hot;\n\n if (!hot) {\n throw new Error(\"[Refresh] Expected module.hot to always exist in DEV.\");\n }\n\n if (hot._disposeCallback) {\n try {\n hot._disposeCallback();\n } catch (error) {\n console.error(\n `Error while calling dispose handler for module ${id}: `,\n error\n );\n }\n }\n\n if (factory) {\n mod.factory = factory;\n }\n\n if (dependencyMap) {\n mod.dependencyMap = dependencyMap;\n }\n\n mod.hasError = false;\n mod.error = undefined;\n mod.importedAll = EMPTY;\n mod.importedDefault = EMPTY;\n mod.isInitialized = false;\n const prevExports = mod.publicModule.exports;\n mod.publicModule.exports = {};\n hot._didAccept = false;\n hot._acceptCallback = null;\n hot._disposeCallback = null;\n metroRequire(id);\n\n if (mod.hasError) {\n // This error has already been reported via a redbox.\n // We know it's likely a typo or some mistake that was just introduced.\n // Our goal now is to keep the rest of the application working so that by\n // the time user fixes the error, the app isn't completely destroyed\n // underneath the redbox. So we'll revert the module object to the last\n // successful export and stop propagating this update.\n mod.hasError = false;\n mod.isInitialized = true;\n mod.error = null;\n mod.publicModule.exports = prevExports; // We errored. Stop the update.\n\n return true;\n }\n\n if (hot._acceptCallback) {\n try {\n hot._acceptCallback();\n } catch (error) {\n console.error(\n `Error while calling accept handler for module ${id}: `,\n error\n );\n }\n } // No error.\n\n return false;\n };\n\n const performFullRefresh = (reason, modules) => {\n /* global window */\n if (\n typeof window !== \"undefined\" &&\n window.location != null &&\n typeof window.location.reload === \"function\"\n ) {\n window.location.reload();\n } else {\n // This is attached in setUpDeveloperTools.\n const Refresh = metroRequire.Refresh;\n\n if (Refresh != null) {\n var _ref2, _modules$source, _ref3, _modules$failed;\n\n const sourceName =\n (_ref2 =\n (_modules$source = modules.source) === null ||\n _modules$source === void 0\n ? void 0\n : _modules$source.verboseName) !== null && _ref2 !== void 0\n ? _ref2\n : \"unknown\";\n const failedName =\n (_ref3 =\n (_modules$failed = modules.failed) === null ||\n _modules$failed === void 0\n ? void 0\n : _modules$failed.verboseName) !== null && _ref3 !== void 0\n ? _ref3\n : \"unknown\";\n Refresh.performFullRefresh(\n `Fast Refresh - ${reason} <${sourceName}> <${failedName}>`\n );\n } else {\n console.warn(\"Could not reload the application after an edit.\");\n }\n }\n }; // Modules that only export components become React Refresh boundaries.\n\n var isReactRefreshBoundary = function(Refresh, moduleExports) {\n if (Refresh.isLikelyComponentType(moduleExports)) {\n return true;\n }\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n return false;\n }\n\n let hasExports = false;\n let areAllExportsComponents = true;\n\n for (const key in moduleExports) {\n hasExports = true;\n\n if (key === \"__esModule\") {\n continue;\n }\n\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n return false;\n }\n\n const exportValue = moduleExports[key];\n\n if (!Refresh.isLikelyComponentType(exportValue)) {\n areAllExportsComponents = false;\n }\n }\n\n return hasExports && areAllExportsComponents;\n };\n\n var shouldInvalidateReactRefreshBoundary = (\n Refresh,\n prevExports,\n nextExports\n ) => {\n const prevSignature = getRefreshBoundarySignature(Refresh, prevExports);\n const nextSignature = getRefreshBoundarySignature(Refresh, nextExports);\n\n if (prevSignature.length !== nextSignature.length) {\n return true;\n }\n\n for (let i = 0; i < nextSignature.length; i++) {\n if (prevSignature[i] !== nextSignature[i]) {\n return true;\n }\n }\n\n return false;\n }; // When this signature changes, it's unsafe to stop at this refresh boundary.\n\n var getRefreshBoundarySignature = (Refresh, moduleExports) => {\n const signature = [];\n signature.push(Refresh.getFamilyByType(moduleExports));\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return signature;\n }\n\n for (const key in moduleExports) {\n if (key === \"__esModule\") {\n continue;\n }\n\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n continue;\n }\n\n const exportValue = moduleExports[key];\n signature.push(key);\n signature.push(Refresh.getFamilyByType(exportValue));\n }\n\n return signature;\n };\n\n var registerExportsForReactRefresh = (Refresh, moduleExports, moduleID) => {\n Refresh.register(moduleExports, moduleID + \" %exports%\");\n\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return;\n }\n\n for (const key in moduleExports) {\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n continue;\n }\n\n const exportValue = moduleExports[key];\n const typeID = moduleID + \" %exports% \" + key;\n Refresh.register(exportValue, typeID);\n }\n };\n\n global.__accept = metroHotUpdateModule;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n * @nolint\n * @format\n */\n\n/* eslint-disable no-shadow, eqeqeq, curly, no-unused-vars, no-void, no-control-regex */\n\n/**\n * This pipes all of our console logging functions to native logging so that\n * JavaScript errors in required modules show up in Xcode via NSLog.\n */\nconst inspect = (function() {\n // Copyright Joyent, Inc. and other Node contributors.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a\n // copy of this software and associated documentation files (the\n // \"Software\"), to deal in the Software without restriction, including\n // without limitation the rights to use, copy, modify, merge, publish,\n // distribute, sublicense, and/or sell copies of the Software, and to permit\n // persons to whom the Software is furnished to do so, subject to the\n // following conditions:\n //\n // The above copyright notice and this permission notice shall be included\n // in all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n //\n // https://github.com/joyent/node/blob/master/lib/util.js\n\n function inspect(obj, opts) {\n var ctx = {\n seen: [],\n formatValueCalls: 0,\n stylize: stylizeNoColor,\n };\n return formatValue(ctx, obj, opts.depth);\n }\n\n function stylizeNoColor(str, styleType) {\n return str;\n }\n\n function arrayToHash(array) {\n var hash = {};\n\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n\n return hash;\n }\n\n function formatValue(ctx, value, recurseTimes) {\n ctx.formatValueCalls++;\n if (ctx.formatValueCalls > 200) {\n return `[TOO BIG formatValueCalls ${\n ctx.formatValueCalls\n } exceeded limit of 200]`;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (\n isError(value) &&\n (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)\n ) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '',\n array = false,\n braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n key,\n array,\n );\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n }\n\n function formatPrimitive(ctx, value) {\n if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple =\n \"'\" +\n JSON.stringify(value)\n .replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') +\n \"'\";\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value)) return ctx.stylize('' + value, 'number');\n if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value)) return ctx.stylize('null', 'null');\n }\n\n function formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n }\n\n function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(\n formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n String(i),\n true,\n ),\n );\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(\n formatProperty(ctx, value, recurseTimes, visibleKeys, key, true),\n );\n }\n });\n return output;\n }\n\n function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || {value: value[key]};\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n')\n .substr(2);\n } else {\n str =\n '\\n' +\n str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n }\n\n function reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function(prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0) numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return (\n braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1]\n );\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n }\n\n // NOTE: These type checking functions intentionally don't use `instanceof`\n // because it is fragile and can be easily faked with `Object.create()`.\n function isArray(ar) {\n return Array.isArray(ar);\n }\n\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n\n function isNull(arg) {\n return arg === null;\n }\n\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n\n function isString(arg) {\n return typeof arg === 'string';\n }\n\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n\n function isUndefined(arg) {\n return arg === void 0;\n }\n\n function isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n }\n\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n\n function isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n }\n\n function isError(e) {\n return (\n isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error)\n );\n }\n\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n\n function hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n }\n\n return inspect;\n})();\n\nconst OBJECT_COLUMN_NAME = '(index)';\nconst LOG_LEVELS = {\n trace: 0,\n info: 1,\n warn: 2,\n error: 3,\n};\nconst INSPECTOR_LEVELS = [];\nINSPECTOR_LEVELS[LOG_LEVELS.trace] = 'debug';\nINSPECTOR_LEVELS[LOG_LEVELS.info] = 'log';\nINSPECTOR_LEVELS[LOG_LEVELS.warn] = 'warning';\nINSPECTOR_LEVELS[LOG_LEVELS.error] = 'error';\n\n// Strip the inner function in getNativeLogFunction(), if in dev also\n// strip method printing to originalConsole.\nconst INSPECTOR_FRAMES_TO_SKIP = __DEV__ ? 2 : 1;\n\nfunction getNativeLogFunction(level) {\n return function() {\n let str;\n if (arguments.length === 1 && typeof arguments[0] === 'string') {\n str = arguments[0];\n } else {\n str = Array.prototype.map\n .call(arguments, function(arg) {\n return inspect(arg, {depth: 10});\n })\n .join(', ');\n }\n\n // TRICKY\n // If more than one argument is provided, the code above collapses them all\n // into a single formatted string. This transform wraps string arguments in\n // single quotes (e.g. \"foo\" -> \"'foo'\") which then breaks the \"Warning:\"\n // check below. So it's important that we look at the first argument, rather\n // than the formatted argument string.\n const firstArg = arguments[0];\n\n let logLevel = level;\n if (\n typeof firstArg === 'string' &&\n firstArg.slice(0, 9) === 'Warning: ' &&\n logLevel >= LOG_LEVELS.error\n ) {\n // React warnings use console.error so that a stack trace is shown,\n // but we don't (currently) want these to show a redbox\n // (Note: Logic duplicated in ExceptionsManager.js.)\n logLevel = LOG_LEVELS.warn;\n }\n if (global.__inspectorLog) {\n global.__inspectorLog(\n INSPECTOR_LEVELS[logLevel],\n str,\n [].slice.call(arguments),\n INSPECTOR_FRAMES_TO_SKIP,\n );\n }\n if (groupStack.length) {\n str = groupFormat('', str);\n }\n global.nativeLoggingHook(str, logLevel);\n };\n}\n\nfunction repeat(element, n) {\n return Array.apply(null, Array(n)).map(function() {\n return element;\n });\n}\n\nfunction consoleTablePolyfill(rows) {\n // convert object -> array\n if (!Array.isArray(rows)) {\n var data = rows;\n rows = [];\n for (var key in data) {\n if (data.hasOwnProperty(key)) {\n var row = data[key];\n row[OBJECT_COLUMN_NAME] = key;\n rows.push(row);\n }\n }\n }\n if (rows.length === 0) {\n global.nativeLoggingHook('', LOG_LEVELS.info);\n return;\n }\n\n var columns = Object.keys(rows[0]).sort();\n var stringRows = [];\n var columnWidths = [];\n\n // Convert each cell to a string. Also\n // figure out max cell width for each column\n columns.forEach(function(k, i) {\n columnWidths[i] = k.length;\n for (var j = 0; j < rows.length; j++) {\n var cellStr = (rows[j][k] || '?').toString();\n stringRows[j] = stringRows[j] || [];\n stringRows[j][i] = cellStr;\n columnWidths[i] = Math.max(columnWidths[i], cellStr.length);\n }\n });\n\n // Join all elements in the row into a single string with | separators\n // (appends extra spaces to each cell to make separators | aligned)\n function joinRow(row, space) {\n var cells = row.map(function(cell, i) {\n var extraSpaces = repeat(' ', columnWidths[i] - cell.length).join('');\n return cell + extraSpaces;\n });\n space = space || ' ';\n return cells.join(space + '|' + space);\n }\n\n var separators = columnWidths.map(function(columnWidth) {\n return repeat('-', columnWidth).join('');\n });\n var separatorRow = joinRow(separators, '-');\n var header = joinRow(columns);\n var table = [header, separatorRow];\n\n for (var i = 0; i < rows.length; i++) {\n table.push(joinRow(stringRows[i]));\n }\n\n // Notice extra empty line at the beginning.\n // Native logging hook adds \"RCTLog >\" at the front of every\n // logged string, which would shift the header and screw up\n // the table\n global.nativeLoggingHook('\\n' + table.join('\\n'), LOG_LEVELS.info);\n}\n\nconst GROUP_PAD = '\\u2502'; // Box light vertical\nconst GROUP_OPEN = '\\u2510'; // Box light down+left\nconst GROUP_CLOSE = '\\u2518'; // Box light up+left\n\nconst groupStack = [];\n\nfunction groupFormat(prefix, msg) {\n // Insert group formatting before the console message\n return groupStack.join('') + prefix + ' ' + (msg || '');\n}\n\nfunction consoleGroupPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_OPEN, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupCollapsedPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupEndPolyfill() {\n groupStack.pop();\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE), LOG_LEVELS.info);\n}\n\nfunction consoleAssertPolyfill(expression, label) {\n if (!expression) {\n global.nativeLoggingHook('Assertion failed: ' + label, LOG_LEVELS.error);\n }\n}\n\nif (global.nativeLoggingHook) {\n const originalConsole = global.console;\n // Preserve the original `console` as `originalConsole`\n if (__DEV__ && originalConsole) {\n const descriptor = Object.getOwnPropertyDescriptor(global, 'console');\n if (descriptor) {\n Object.defineProperty(global, 'originalConsole', descriptor);\n }\n }\n\n global.console = {\n error: getNativeLogFunction(LOG_LEVELS.error),\n info: getNativeLogFunction(LOG_LEVELS.info),\n log: getNativeLogFunction(LOG_LEVELS.info),\n warn: getNativeLogFunction(LOG_LEVELS.warn),\n trace: getNativeLogFunction(LOG_LEVELS.trace),\n debug: getNativeLogFunction(LOG_LEVELS.trace),\n table: consoleTablePolyfill,\n group: consoleGroupPolyfill,\n groupEnd: consoleGroupEndPolyfill,\n groupCollapsed: consoleGroupCollapsedPolyfill,\n assert: consoleAssertPolyfill,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n\n // If available, also call the original `console` method since that is\n // sometimes useful. Ex: on OS X, this will let you see rich output in\n // the Safari Web Inspector console.\n if (__DEV__ && originalConsole) {\n Object.keys(console).forEach(methodName => {\n const reactNativeMethod = console[methodName];\n if (originalConsole[methodName]) {\n console[methodName] = function() {\n // TODO(T43930203): remove this special case once originalConsole.assert properly checks\n // the condition\n if (methodName === 'assert') {\n if (!arguments[0]) {\n originalConsole.assert(...arguments);\n }\n } else {\n originalConsole[methodName](...arguments);\n }\n reactNativeMethod.apply(console, arguments);\n };\n }\n });\n\n // The following methods are not supported by this polyfill but\n // we still should pass them to original console if they are\n // supported by it.\n ['clear', 'dir', 'dirxml', 'profile', 'profileEnd'].forEach(methodName => {\n if (typeof originalConsole[methodName] === 'function') {\n console[methodName] = function() {\n originalConsole[methodName](...arguments);\n };\n }\n });\n }\n} else if (!global.console) {\n function stub() {}\n const log = global.print || stub;\n\n global.console = {\n debug: log,\n error: log,\n info: log,\n log: log,\n trace: log,\n warn: log,\n assert(expression, label) {\n if (!expression) {\n log('Assertion failed: ' + label);\n }\n },\n clear: stub,\n dir: stub,\n dirxml: stub,\n group: stub,\n groupCollapsed: stub,\n groupEnd: stub,\n profile: stub,\n profileEnd: stub,\n table: stub,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @polyfill\n */\n\nlet _inGuard = 0;\n\ntype ErrorHandler = (error: mixed, isFatal: boolean) => void;\ntype Fn = (...Args) => Return;\n\n/**\n * This is the error handler that is called when we encounter an exception\n * when loading a module. This will report any errors encountered before\n * ExceptionsManager is configured.\n */\nlet _globalHandler: ErrorHandler = function onError(\n e: mixed,\n isFatal: boolean,\n) {\n throw e;\n};\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n */\nconst ErrorUtils = {\n setGlobalHandler(fun: ErrorHandler): void {\n _globalHandler = fun;\n },\n getGlobalHandler(): ErrorHandler {\n return _globalHandler;\n },\n reportError(error: mixed): void {\n _globalHandler && _globalHandler(error, false);\n },\n reportFatalError(error: mixed): void {\n // NOTE: This has an untyped call site in Metro.\n _globalHandler && _globalHandler(error, true);\n },\n applyWithGuard, TOut>(\n fun: Fn,\n context?: ?mixed,\n args?: ?TArgs,\n // Unused, but some code synced from www sets it to null.\n unused_onError?: null,\n // Some callers pass a name here, which we ignore.\n unused_name?: ?string,\n ): ?TOut {\n try {\n _inGuard++;\n // $FlowFixMe: TODO T48204745 (1) apply(context, null) is fine. (2) array -> rest array should work\n return fun.apply(context, args);\n } catch (e) {\n ErrorUtils.reportError(e);\n } finally {\n _inGuard--;\n }\n return null;\n },\n applyWithGuardIfNeeded, TOut>(\n fun: Fn,\n context?: ?mixed,\n args?: ?TArgs,\n ): ?TOut {\n if (ErrorUtils.inGuard()) {\n // $FlowFixMe: TODO T48204745 (1) apply(context, null) is fine. (2) array -> rest array should work\n return fun.apply(context, args);\n } else {\n ErrorUtils.applyWithGuard(fun, context, args);\n }\n return null;\n },\n inGuard(): boolean {\n return !!_inGuard;\n },\n guard, TOut>(\n fun: Fn,\n name?: ?string,\n context?: ?mixed,\n ): ?(...TArgs) => ?TOut {\n // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types\n // should be sufficient.\n if (typeof fun !== 'function') {\n console.warn('A function must be passed to ErrorUtils.guard, got ', fun);\n return null;\n }\n const guardName = name ?? fun.name ?? '';\n function guarded(...args: TArgs): ?TOut {\n return ErrorUtils.applyWithGuard(\n fun,\n context ?? this,\n args,\n null,\n guardName,\n );\n }\n\n return guarded;\n },\n};\n\nglobal.ErrorUtils = ErrorUtils;\n\nexport type ErrorUtilsT = typeof ErrorUtils;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @polyfill\n * @nolint\n */\n\n(function() {\n 'use strict';\n\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries\n */\n if (typeof Object.entries !== 'function') {\n Object.entries = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.entries called on non-object');\n }\n\n const entries = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n entries.push([key, object[key]]);\n }\n }\n return entries;\n };\n }\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values\n */\n if (typeof Object.values !== 'function') {\n Object.values = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.values called on non-object');\n }\n\n const values = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n values.push(object[key]);\n }\n }\n return values;\n };\n }\n})();\n","/**\n * @format\n */\n\nimport {AppRegistry} from 'react-native';\nimport React from 'react';\nimport allReducers from './src/reducers/index.js';\nimport { createStore } from 'redux';\nimport { Provider } from 'react-redux';\nimport App from './App';\nimport {name as appName} from './app.json';\n\nconst store = createStore(allReducers);\n\nconst ReduxApp = () => (\n \n \n \n )\nconsole.disableYellowBox = true; \nAppRegistry.registerComponent(appName, () => ReduxApp);\n","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport typeof AccessibilityInfo from './Libraries/Components/AccessibilityInfo/AccessibilityInfo';\nimport typeof ActivityIndicator from './Libraries/Components/ActivityIndicator/ActivityIndicator';\nimport typeof Button from './Libraries/Components/Button';\nimport typeof CheckBox from './Libraries/Components/CheckBox/CheckBox';\nimport typeof DatePickerIOS from './Libraries/Components/DatePicker/DatePickerIOS';\nimport typeof DrawerLayoutAndroid from './Libraries/Components/DrawerAndroid/DrawerLayoutAndroid';\nimport typeof FlatList from './Libraries/Lists/FlatList';\nimport typeof Image from './Libraries/Image/Image';\nimport typeof ImageBackground from './Libraries/Image/ImageBackground';\nimport typeof InputAccessoryView from './Libraries/Components/TextInput/InputAccessoryView';\nimport typeof KeyboardAvoidingView from './Libraries/Components/Keyboard/KeyboardAvoidingView';\nimport typeof MaskedViewIOS from './Libraries/Components/MaskedView/MaskedViewIOS';\nimport typeof Modal from './Libraries/Modal/Modal';\nimport typeof Picker from './Libraries/Components/Picker/Picker';\nimport typeof PickerIOS from './Libraries/Components/Picker/PickerIOS';\nimport typeof ProgressBarAndroid from './Libraries/Components/ProgressBarAndroid/ProgressBarAndroid';\nimport typeof ProgressViewIOS from './Libraries/Components/ProgressViewIOS/ProgressViewIOS';\nimport typeof SafeAreaView from './Libraries/Components/SafeAreaView/SafeAreaView';\nimport typeof ScrollView from './Libraries/Components/ScrollView/ScrollView';\nimport typeof SectionList from './Libraries/Lists/SectionList';\nimport typeof SegmentedControlIOS from './Libraries/Components/SegmentedControlIOS/SegmentedControlIOS';\nimport typeof Slider from './Libraries/Components/Slider/Slider';\nimport typeof Switch from './Libraries/Components/Switch/Switch';\nimport typeof RefreshControl from './Libraries/Components/RefreshControl/RefreshControl';\nimport typeof StatusBar from './Libraries/Components/StatusBar/StatusBar';\nimport typeof Text from './Libraries/Text/Text';\nimport typeof TextInput from './Libraries/Components/TextInput/TextInput';\nimport typeof Touchable from './Libraries/Components/Touchable/Touchable';\nimport typeof TouchableHighlight from './Libraries/Components/Touchable/TouchableHighlight';\nimport typeof TouchableNativeFeedback from './Libraries/Components/Touchable/TouchableNativeFeedback';\nimport typeof TouchableOpacity from './Libraries/Components/Touchable/TouchableOpacity';\nimport typeof TouchableWithoutFeedback from './Libraries/Components/Touchable/TouchableWithoutFeedback';\nimport typeof View from './Libraries/Components/View/View';\nimport typeof VirtualizedList from './Libraries/Lists/VirtualizedList';\nimport typeof VirtualizedSectionList from './Libraries/Lists/VirtualizedSectionList';\nimport typeof ActionSheetIOS from './Libraries/ActionSheetIOS/ActionSheetIOS';\nimport typeof Alert from './Libraries/Alert/Alert';\nimport typeof Animated from './Libraries/Animated/src/Animated';\nimport typeof Appearance from './Libraries/Utilities/Appearance';\nimport typeof AppRegistry from './Libraries/ReactNative/AppRegistry';\nimport typeof AppState from './Libraries/AppState/AppState';\nimport typeof AsyncStorage from './Libraries/Storage/AsyncStorage';\nimport typeof BackHandler from './Libraries/Utilities/BackHandler';\nimport typeof Clipboard from './Libraries/Components/Clipboard/Clipboard';\nimport typeof DatePickerAndroid from './Libraries/Components/DatePickerAndroid/DatePickerAndroid';\nimport typeof DeviceInfo from './Libraries/Utilities/DeviceInfo';\nimport typeof DevSettings from './Libraries/Utilities/DevSettings';\nimport typeof Dimensions from './Libraries/Utilities/Dimensions';\nimport typeof Easing from './Libraries/Animated/src/Easing';\nimport typeof ReactNative from './Libraries/Renderer/shims/ReactNative';\nimport typeof I18nManager from './Libraries/ReactNative/I18nManager';\nimport typeof ImagePickerIOS from './Libraries/Image/ImagePickerIOS';\nimport typeof InteractionManager from './Libraries/Interaction/InteractionManager';\nimport typeof Keyboard from './Libraries/Components/Keyboard/Keyboard';\nimport typeof LayoutAnimation from './Libraries/LayoutAnimation/LayoutAnimation';\nimport typeof Linking from './Libraries/Linking/Linking';\nimport typeof NativeDialogManagerAndroid from './Libraries/NativeModules/specs/NativeDialogManagerAndroid';\nimport typeof NativeEventEmitter from './Libraries/EventEmitter/NativeEventEmitter';\nimport typeof Networking from './Libraries/Network/RCTNetworking';\nimport typeof PanResponder from './Libraries/Interaction/PanResponder';\nimport typeof PermissionsAndroid from './Libraries/PermissionsAndroid/PermissionsAndroid';\nimport typeof PixelRatio from './Libraries/Utilities/PixelRatio';\nimport typeof PushNotificationIOS from './Libraries/PushNotificationIOS/PushNotificationIOS';\nimport typeof Settings from './Libraries/Settings/Settings';\nimport typeof Share from './Libraries/Share/Share';\nimport typeof StatusBarIOS from './Libraries/Components/StatusBar/StatusBarIOS';\nimport typeof StyleSheet from './Libraries/StyleSheet/StyleSheet';\nimport typeof Systrace from './Libraries/Performance/Systrace';\nimport typeof ToastAndroid from './Libraries/Components/ToastAndroid/ToastAndroid';\nimport typeof * as TurboModuleRegistry from './Libraries/TurboModule/TurboModuleRegistry';\nimport typeof TVEventHandler from './Libraries/Components/AppleTV/TVEventHandler';\nimport typeof UIManager from './Libraries/ReactNative/UIManager';\nimport typeof useColorScheme from './Libraries/Utilities/useColorScheme';\nimport typeof useWindowDimensions from './Libraries/Utilities/useWindowDimensions';\nimport typeof UTFSequence from './Libraries/UTFSequence';\nimport typeof Vibration from './Libraries/Vibration/Vibration';\nimport typeof YellowBox from './Libraries/YellowBox/YellowBox';\nimport typeof RCTDeviceEventEmitter from './Libraries/EventEmitter/RCTDeviceEventEmitter';\nimport typeof RCTNativeAppEventEmitter from './Libraries/EventEmitter/RCTNativeAppEventEmitter';\nimport typeof NativeModules from './Libraries/BatchedBridge/NativeModules';\nimport typeof Platform from './Libraries/Utilities/Platform';\nimport typeof processColor from './Libraries/StyleSheet/processColor';\nimport typeof RootTagContext from './Libraries/ReactNative/RootTagContext';\nimport typeof DeprecatedColorPropType from './Libraries/DeprecatedPropTypes/DeprecatedColorPropType';\nimport typeof DeprecatedEdgeInsetsPropType from './Libraries/DeprecatedPropTypes/DeprecatedEdgeInsetsPropType';\nimport typeof DeprecatedPointPropType from './Libraries/DeprecatedPropTypes/DeprecatedPointPropType';\nimport typeof DeprecatedViewPropTypes from './Libraries/DeprecatedPropTypes/DeprecatedViewPropTypes';\n\nimport type {HostComponent as _HostComponentInternal} from './Libraries/Renderer/shims/ReactNativeTypes';\n\nexport type HostComponent = _HostComponentInternal;\n\nconst invariant = require('invariant');\nconst warnOnce = require('./Libraries/Utilities/warnOnce');\n\nmodule.exports = {\n // Components\n get AccessibilityInfo(): AccessibilityInfo {\n return require('./Libraries/Components/AccessibilityInfo/AccessibilityInfo');\n },\n get ActivityIndicator(): ActivityIndicator {\n return require('./Libraries/Components/ActivityIndicator/ActivityIndicator');\n },\n get Button(): Button {\n return require('./Libraries/Components/Button');\n },\n get CheckBox(): CheckBox {\n warnOnce(\n 'checkBox-moved',\n 'CheckBox has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/checkbox' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-checkbox',\n );\n return require('./Libraries/Components/CheckBox/CheckBox');\n },\n get DatePickerIOS(): DatePickerIOS {\n warnOnce(\n 'DatePickerIOS-merged',\n 'DatePickerIOS has been merged with DatePickerAndroid and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/datetimepicker',\n );\n return require('./Libraries/Components/DatePicker/DatePickerIOS');\n },\n get DrawerLayoutAndroid(): DrawerLayoutAndroid {\n return require('./Libraries/Components/DrawerAndroid/DrawerLayoutAndroid');\n },\n get FlatList(): FlatList {\n return require('./Libraries/Lists/FlatList');\n },\n get Image(): Image {\n return require('./Libraries/Image/Image');\n },\n get ImageBackground(): ImageBackground {\n return require('./Libraries/Image/ImageBackground');\n },\n get InputAccessoryView(): InputAccessoryView {\n return require('./Libraries/Components/TextInput/InputAccessoryView');\n },\n get KeyboardAvoidingView(): KeyboardAvoidingView {\n return require('./Libraries/Components/Keyboard/KeyboardAvoidingView');\n },\n get MaskedViewIOS(): MaskedViewIOS {\n warnOnce(\n 'maskedviewios-moved',\n 'MaskedViewIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/masked-view' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-masked-view',\n );\n return require('./Libraries/Components/MaskedView/MaskedViewIOS');\n },\n get Modal(): Modal {\n return require('./Libraries/Modal/Modal');\n },\n get Picker(): Picker {\n warnOnce(\n 'picker-moved',\n 'Picker has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/picker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-picker',\n );\n return require('./Libraries/Components/Picker/Picker');\n },\n get PickerIOS(): PickerIOS {\n warnOnce(\n 'pickerios-moved',\n 'PickerIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/picker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-picker',\n );\n return require('./Libraries/Components/Picker/PickerIOS');\n },\n get ProgressBarAndroid(): ProgressBarAndroid {\n warnOnce(\n 'progress-bar-android-moved',\n 'ProgressBarAndroid has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/progress-bar-android' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/progress-bar-android',\n );\n return require('./Libraries/Components/ProgressBarAndroid/ProgressBarAndroid');\n },\n get ProgressViewIOS(): ProgressViewIOS {\n warnOnce(\n 'progress-view-ios-moved',\n 'ProgressViewIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/progress-view' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/progress-view',\n );\n return require('./Libraries/Components/ProgressViewIOS/ProgressViewIOS');\n },\n get SafeAreaView(): SafeAreaView {\n return require('./Libraries/Components/SafeAreaView/SafeAreaView');\n },\n get ScrollView(): ScrollView {\n return require('./Libraries/Components/ScrollView/ScrollView');\n },\n get SectionList(): SectionList {\n return require('./Libraries/Lists/SectionList');\n },\n get SegmentedControlIOS(): SegmentedControlIOS {\n warnOnce(\n 'segmented-control-ios-moved',\n 'SegmentedControlIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/segmented-control' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/segmented-control',\n );\n return require('./Libraries/Components/SegmentedControlIOS/SegmentedControlIOS');\n },\n get Slider(): Slider {\n warnOnce(\n 'slider-moved',\n 'Slider has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/slider' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-slider',\n );\n return require('./Libraries/Components/Slider/Slider');\n },\n get Switch(): Switch {\n return require('./Libraries/Components/Switch/Switch');\n },\n get RefreshControl(): RefreshControl {\n return require('./Libraries/Components/RefreshControl/RefreshControl');\n },\n get StatusBar(): StatusBar {\n return require('./Libraries/Components/StatusBar/StatusBar');\n },\n get Text(): Text {\n return require('./Libraries/Text/Text');\n },\n get TextInput(): TextInput {\n return require('./Libraries/Components/TextInput/TextInput');\n },\n get Touchable(): Touchable {\n return require('./Libraries/Components/Touchable/Touchable');\n },\n get TouchableHighlight(): TouchableHighlight {\n return require('./Libraries/Components/Touchable/TouchableHighlight');\n },\n get TouchableNativeFeedback(): TouchableNativeFeedback {\n return require('./Libraries/Components/Touchable/TouchableNativeFeedback');\n },\n get TouchableOpacity(): TouchableOpacity {\n return require('./Libraries/Components/Touchable/TouchableOpacity');\n },\n get TouchableWithoutFeedback(): TouchableWithoutFeedback {\n return require('./Libraries/Components/Touchable/TouchableWithoutFeedback');\n },\n get View(): View {\n return require('./Libraries/Components/View/View');\n },\n get VirtualizedList(): VirtualizedList {\n return require('./Libraries/Lists/VirtualizedList');\n },\n get VirtualizedSectionList(): VirtualizedSectionList {\n return require('./Libraries/Lists/VirtualizedSectionList');\n },\n\n // APIs\n get ActionSheetIOS(): ActionSheetIOS {\n return require('./Libraries/ActionSheetIOS/ActionSheetIOS');\n },\n get Alert(): Alert {\n return require('./Libraries/Alert/Alert');\n },\n get Animated(): Animated {\n return require('./Libraries/Animated/src/Animated');\n },\n get Appearance(): Appearance {\n return require('./Libraries/Utilities/Appearance');\n },\n get AppRegistry(): AppRegistry {\n return require('./Libraries/ReactNative/AppRegistry');\n },\n get AppState(): AppState {\n return require('./Libraries/AppState/AppState');\n },\n get AsyncStorage(): AsyncStorage {\n warnOnce(\n 'async-storage-moved',\n 'AsyncStorage has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/async-storage' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/async-storage',\n );\n return require('./Libraries/Storage/AsyncStorage');\n },\n get BackHandler(): BackHandler {\n return require('./Libraries/Utilities/BackHandler');\n },\n get Clipboard(): Clipboard {\n warnOnce(\n 'clipboard-moved',\n 'Clipboard has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/clipboard' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/clipboard',\n );\n return require('./Libraries/Components/Clipboard/Clipboard');\n },\n get DatePickerAndroid(): DatePickerAndroid {\n warnOnce(\n 'DatePickerAndroid-merged',\n 'DatePickerAndroid has been merged with DatePickerIOS and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/datetimepicker',\n );\n return require('./Libraries/Components/DatePickerAndroid/DatePickerAndroid');\n },\n get DeviceInfo(): DeviceInfo {\n return require('./Libraries/Utilities/DeviceInfo');\n },\n get DevSettings(): DevSettings {\n return require('./Libraries/Utilities/DevSettings');\n },\n get Dimensions(): Dimensions {\n return require('./Libraries/Utilities/Dimensions');\n },\n get Easing(): Easing {\n return require('./Libraries/Animated/src/Easing');\n },\n get findNodeHandle(): $PropertyType {\n return require('./Libraries/Renderer/shims/ReactNative').findNodeHandle;\n },\n get I18nManager(): I18nManager {\n return require('./Libraries/ReactNative/I18nManager');\n },\n get ImagePickerIOS(): ImagePickerIOS {\n warnOnce(\n 'imagePickerIOS-moved',\n 'ImagePickerIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"Please upgrade to use either '@react-native-community/react-native-image-picker' or 'expo-image-picker'. \" +\n \"If you cannot upgrade to a different library, please install the deprecated '@react-native-community/image-picker-ios' package. \" +\n 'See https://github.com/react-native-community/react-native-image-picker-ios',\n );\n return require('./Libraries/Image/ImagePickerIOS');\n },\n get InteractionManager(): InteractionManager {\n return require('./Libraries/Interaction/InteractionManager');\n },\n get Keyboard(): Keyboard {\n return require('./Libraries/Components/Keyboard/Keyboard');\n },\n get LayoutAnimation(): LayoutAnimation {\n return require('./Libraries/LayoutAnimation/LayoutAnimation');\n },\n get Linking(): Linking {\n return require('./Libraries/Linking/Linking');\n },\n get NativeDialogManagerAndroid(): NativeDialogManagerAndroid {\n return require('./Libraries/NativeModules/specs/NativeDialogManagerAndroid')\n .default;\n },\n get NativeEventEmitter(): NativeEventEmitter {\n return require('./Libraries/EventEmitter/NativeEventEmitter');\n },\n get Networking(): Networking {\n return require('./Libraries/Network/RCTNetworking');\n },\n get PanResponder(): PanResponder {\n return require('./Libraries/Interaction/PanResponder');\n },\n get PermissionsAndroid(): PermissionsAndroid {\n return require('./Libraries/PermissionsAndroid/PermissionsAndroid');\n },\n get PixelRatio(): PixelRatio {\n return require('./Libraries/Utilities/PixelRatio');\n },\n get PushNotificationIOS(): PushNotificationIOS {\n warnOnce(\n 'pushNotificationIOS-moved',\n 'PushNotificationIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/push-notification-ios',\n );\n return require('./Libraries/PushNotificationIOS/PushNotificationIOS');\n },\n get Settings(): Settings {\n return require('./Libraries/Settings/Settings');\n },\n get Share(): Share {\n return require('./Libraries/Share/Share');\n },\n get StatusBarIOS(): StatusBarIOS {\n warnOnce(\n 'StatusBarIOS-merged',\n 'StatusBarIOS has been merged with StatusBar and will be removed in a future release. Use StatusBar for mutating the status bar',\n );\n return require('./Libraries/Components/StatusBar/StatusBarIOS');\n },\n get StyleSheet(): StyleSheet {\n return require('./Libraries/StyleSheet/StyleSheet');\n },\n get Systrace(): Systrace {\n return require('./Libraries/Performance/Systrace');\n },\n get ToastAndroid(): ToastAndroid {\n return require('./Libraries/Components/ToastAndroid/ToastAndroid');\n },\n get TurboModuleRegistry(): TurboModuleRegistry {\n return require('./Libraries/TurboModule/TurboModuleRegistry');\n },\n get TVEventHandler(): TVEventHandler {\n return require('./Libraries/Components/AppleTV/TVEventHandler');\n },\n get UIManager(): UIManager {\n return require('./Libraries/ReactNative/UIManager');\n },\n get unstable_batchedUpdates(): $PropertyType<\n ReactNative,\n 'unstable_batchedUpdates',\n > {\n return require('./Libraries/Renderer/shims/ReactNative')\n .unstable_batchedUpdates;\n },\n get useColorScheme(): useColorScheme {\n return require('./Libraries/Utilities/useColorScheme').default;\n },\n get useWindowDimensions(): useWindowDimensions {\n return require('./Libraries/Utilities/useWindowDimensions').default;\n },\n get UTFSequence(): UTFSequence {\n return require('./Libraries/UTFSequence');\n },\n get Vibration(): Vibration {\n return require('./Libraries/Vibration/Vibration');\n },\n get YellowBox(): YellowBox {\n return require('./Libraries/YellowBox/YellowBox');\n },\n\n // Plugins\n get DeviceEventEmitter(): RCTDeviceEventEmitter {\n return require('./Libraries/EventEmitter/RCTDeviceEventEmitter');\n },\n get NativeAppEventEmitter(): RCTNativeAppEventEmitter {\n return require('./Libraries/EventEmitter/RCTNativeAppEventEmitter');\n },\n get NativeModules(): NativeModules {\n return require('./Libraries/BatchedBridge/NativeModules');\n },\n get Platform(): Platform {\n return require('./Libraries/Utilities/Platform');\n },\n get processColor(): processColor {\n return require('./Libraries/StyleSheet/processColor');\n },\n get requireNativeComponent(): (\n uiViewClassName: string,\n ) => HostComponent {\n return require('./Libraries/ReactNative/requireNativeComponent');\n },\n get unstable_RootTagContext(): RootTagContext {\n return require('./Libraries/ReactNative/RootTagContext');\n },\n get unstable_enableLogBox(): () => void {\n return require('./Libraries/YellowBox/YellowBox').__unstable_enableLogBox;\n },\n\n // Prop Types\n get ColorPropType(): DeprecatedColorPropType {\n return require('./Libraries/DeprecatedPropTypes/DeprecatedColorPropType');\n },\n get EdgeInsetsPropType(): DeprecatedEdgeInsetsPropType {\n return require('./Libraries/DeprecatedPropTypes/DeprecatedEdgeInsetsPropType');\n },\n get PointPropType(): DeprecatedPointPropType {\n return require('./Libraries/DeprecatedPropTypes/DeprecatedPointPropType');\n },\n get ViewPropTypes(): DeprecatedViewPropTypes {\n return require('./Libraries/DeprecatedPropTypes/DeprecatedViewPropTypes');\n },\n};\n\nif (__DEV__) {\n // $FlowFixMe This is intentional: Flow will error when attempting to access ART.\n Object.defineProperty(module.exports, 'ART', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ART has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/art' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/art',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access ListView.\n Object.defineProperty(module.exports, 'ListView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ListView has been removed from React Native. ' +\n 'See https://fb.me/nolistview for more information or use ' +\n '`deprecated-react-native-listview`.',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access SwipeableListView.\n Object.defineProperty(module.exports, 'SwipeableListView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'SwipeableListView has been removed from React Native. ' +\n 'See https://fb.me/nolistview for more information or use ' +\n '`deprecated-react-native-swipeable-listview`.',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access WebView.\n Object.defineProperty(module.exports, 'WebView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'WebView has been removed from React Native. ' +\n \"It can now be installed and imported from 'react-native-webview' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-webview',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access NetInfo.\n Object.defineProperty(module.exports, 'NetInfo', {\n configurable: true,\n get() {\n invariant(\n false,\n 'NetInfo has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/netinfo' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-netinfo',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access CameraRoll.\n Object.defineProperty(module.exports, 'CameraRoll', {\n configurable: true,\n get() {\n invariant(\n false,\n 'CameraRoll has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/cameraroll' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-cameraroll',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access ImageStore.\n Object.defineProperty(module.exports, 'ImageStore', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ImageStore has been removed from React Native. ' +\n 'To get a base64-encoded string from a local image use either of the following third-party libraries:' +\n \"* expo-file-system: `readAsStringAsync(filepath, 'base64')`\" +\n \"* react-native-fs: `readFile(filepath, 'base64')`\",\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access ImageEditor.\n Object.defineProperty(module.exports, 'ImageEditor', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ImageEditor has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/image-editor' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-image-editor',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access TimePickerAndroid.\n Object.defineProperty(module.exports, 'TimePickerAndroid', {\n configurable: true,\n get() {\n invariant(\n false,\n 'TimePickerAndroid has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/datetimepicker',\n );\n },\n });\n\n // $FlowFixMe This is intentional: Flow will error when attempting to access ViewPagerAndroid.\n Object.defineProperty(module.exports, 'ViewPagerAndroid', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ViewPagerAndroid has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/viewpager' instead of 'react-native'. \" +\n 'See https://github.com/react-native-community/react-native-viewpager',\n );\n },\n });\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst warning = require('fbjs/lib/warning');\n\nconst warnedKeys: {[string]: boolean, ...} = {};\n\n/**\n * A simple function that prints a warning message once per session.\n *\n * @param {string} key - The key used to ensure the message is printed once.\n * This should be unique to the callsite.\n * @param {string} message - The message to print\n */\nfunction warnOnce(key: string, message: string) {\n if (warnedKeys[key]) {\n return;\n }\n\n warning(false, message);\n\n warnedKeys[key] = true;\n}\n\nmodule.exports = warnOnce;\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n'use strict';\n\nvar emptyFunction = require(\"./emptyFunction\");\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\n\nfunction printWarning(format) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n}\n\nvar warning = process.env.NODE_ENV !== \"production\" ? function (condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(void 0, [format].concat(args));\n }\n} : emptyFunction;\nmodule.exports = warning;","\"use strict\";\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\n\n\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\n\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\n\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst RCTDeviceEventEmitter = require('../../EventEmitter/RCTDeviceEventEmitter');\nconst UIManager = require('../../ReactNative/UIManager');\n\nimport NativeAccessibilityInfo from './NativeAccessibilityInfo';\n\nconst REDUCE_MOTION_EVENT = 'reduceMotionDidChange';\nconst TOUCH_EXPLORATION_EVENT = 'touchExplorationDidChange';\n\ntype ChangeEventName = $Keys<{\n change: string,\n reduceMotionChanged: string,\n screenReaderChanged: string,\n ...\n}>;\n\nconst _subscriptions = new Map();\n\n/**\n * Sometimes it's useful to know whether or not the device has a screen reader\n * that is currently active. The `AccessibilityInfo` API is designed for this\n * purpose. You can use it to query the current state of the screen reader as\n * well as to register to be notified when the state of the screen reader\n * changes.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html\n */\n\nconst AccessibilityInfo = {\n /**\n * iOS only\n */\n isBoldTextEnabled: function(): Promise {\n return Promise.resolve(false);\n },\n\n /**\n * iOS only\n */\n isGrayscaleEnabled: function(): Promise {\n return Promise.resolve(false);\n },\n\n /**\n * iOS only\n */\n isInvertColorsEnabled: function(): Promise {\n return Promise.resolve(false);\n },\n\n isReduceMotionEnabled: function(): Promise {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityInfo) {\n NativeAccessibilityInfo.isReduceMotionEnabled(resolve);\n } else {\n reject(false);\n }\n });\n },\n\n /**\n * iOS only\n */\n isReduceTransparencyEnabled: function(): Promise {\n return Promise.resolve(false);\n },\n\n isScreenReaderEnabled: function(): Promise {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityInfo) {\n NativeAccessibilityInfo.isTouchExplorationEnabled(resolve);\n } else {\n reject(false);\n }\n });\n },\n\n /**\n * Deprecated\n *\n * Same as `isScreenReaderEnabled`\n */\n get fetch(): () => Promise {\n console.warn(\n 'AccessibilityInfo.fetch is deprecated, call Accessibility.isScreenReaderEnabled instead',\n );\n return this.isScreenReaderEnabled;\n },\n\n addEventListener: function(\n eventName: ChangeEventName,\n handler: Function,\n ): void {\n let listener;\n\n if (eventName === 'change' || eventName === 'screenReaderChanged') {\n listener = RCTDeviceEventEmitter.addListener(\n TOUCH_EXPLORATION_EVENT,\n enabled => {\n handler(enabled);\n },\n );\n } else if (eventName === 'reduceMotionChanged') {\n listener = RCTDeviceEventEmitter.addListener(\n REDUCE_MOTION_EVENT,\n enabled => {\n handler(enabled);\n },\n );\n }\n\n _subscriptions.set(handler, listener);\n },\n\n removeEventListener: function(\n eventName: ChangeEventName,\n handler: Function,\n ): void {\n const listener = _subscriptions.get(handler);\n if (!listener) {\n return;\n }\n listener.remove();\n _subscriptions.delete(handler);\n },\n\n /**\n * Set accessibility focus to a react component.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#setaccessibilityfocus\n */\n setAccessibilityFocus: function(reactTag: number): void {\n UIManager.sendAccessibilityEvent(\n reactTag,\n UIManager.getConstants().AccessibilityEventTypes.typeViewFocused,\n );\n },\n\n /**\n * Post a string to be announced by the screen reader.\n *\n * See http://facebook.github.io/react-native/docs/accessibilityinfo.html#announceforaccessibility\n */\n announceForAccessibility: function(announcement: string): void {\n if (NativeAccessibilityInfo) {\n NativeAccessibilityInfo.announceForAccessibility(announcement);\n }\n },\n};\n\nmodule.exports = AccessibilityInfo;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +isReduceMotionEnabled: (\n onSuccess: (isReduceMotionEnabled: boolean) => void,\n ) => void;\n +isTouchExplorationEnabled: (\n onSuccess: (isScreenReaderEnabled: boolean) => void,\n ) => void;\n +setAccessibilityFocus: (reactTag: number) => void;\n +announceForAccessibility: (announcement: string) => void;\n}\n\nexport default (TurboModuleRegistry.get('AccessibilityInfo'): ?Spec);\n","var _typeof = require(\"../helpers/typeof\");\n\nfunction _getRequireWildcardCache() {\n if (typeof WeakMap !== \"function\") return null;\n var cache = new WeakMap();\n\n _getRequireWildcardCache = function _getRequireWildcardCache() {\n return cache;\n };\n\n return cache;\n}\n\nfunction _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n }\n\n if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") {\n return {\n \"default\": obj\n };\n }\n\n var cache = _getRequireWildcardCache();\n\n if (cache && cache.has(obj)) {\n return cache.get(obj);\n }\n\n var newObj = {};\n var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n\n if (desc && (desc.get || desc.set)) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n\n newObj[\"default\"] = obj;\n\n if (cache) {\n cache.set(obj, newObj);\n }\n\n return newObj;\n}\n\nmodule.exports = _interopRequireWildcard;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst NativeModules = require('../BatchedBridge/NativeModules');\nimport type {TurboModule} from './RCTExport';\nimport invariant from 'invariant';\n\nconst turboModuleProxy = global.__turboModuleProxy;\n\nexport function get(name: string): ?T {\n // Bridgeless mode requires TurboModules\n if (!global.RN$Bridgeless) {\n // Backward compatibility layer during migration.\n const legacyModule = NativeModules[name];\n if (legacyModule != null) {\n return ((legacyModule: any): T);\n }\n }\n\n if (turboModuleProxy != null) {\n const module: ?T = turboModuleProxy(name);\n return module;\n }\n\n return null;\n}\n\nexport function getEnforcing(name: string): T {\n const module = get(name);\n invariant(\n module != null,\n `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` +\n 'Verify that a module by this name is registered in the native binary.',\n );\n return module;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst BatchedBridge = require('./BatchedBridge');\n\nconst invariant = require('invariant');\n\nimport type {ExtendedError} from '../Core/Devtools/parseErrorStack';\n\nexport type ModuleConfig = [\n string /* name */,\n ?Object /* constants */,\n ?$ReadOnlyArray /* functions */,\n ?$ReadOnlyArray /* promise method IDs */,\n ?$ReadOnlyArray /* sync method IDs */,\n];\n\nexport type MethodType = 'async' | 'promise' | 'sync';\n\nfunction genModule(\n config: ?ModuleConfig,\n moduleID: number,\n): ?{\n name: string,\n module?: Object,\n ...\n} {\n if (!config) {\n return null;\n }\n\n const [moduleName, constants, methods, promiseMethods, syncMethods] = config;\n invariant(\n !moduleName.startsWith('RCT') && !moduleName.startsWith('RK'),\n \"Module name prefixes should've been stripped by the native side \" +\n \"but wasn't for \" +\n moduleName,\n );\n\n if (!constants && !methods) {\n // Module contents will be filled in lazily later\n return {name: moduleName};\n }\n\n const module = {};\n methods &&\n methods.forEach((methodName, methodID) => {\n const isPromise =\n promiseMethods && arrayContains(promiseMethods, methodID);\n const isSync = syncMethods && arrayContains(syncMethods, methodID);\n invariant(\n !isPromise || !isSync,\n 'Cannot have a method that is both async and a sync hook',\n );\n const methodType = isPromise ? 'promise' : isSync ? 'sync' : 'async';\n module[methodName] = genMethod(moduleID, methodID, methodType);\n });\n\n Object.assign(module, constants);\n\n if (module.getConstants == null) {\n module.getConstants = () => constants || Object.freeze({});\n } else {\n console.warn(\n `Unable to define method 'getConstants()' on NativeModule '${moduleName}'. NativeModule '${moduleName}' already has a constant or method called 'getConstants'. Please remove it.`,\n );\n }\n\n if (__DEV__) {\n BatchedBridge.createDebugLookup(moduleID, moduleName, methods);\n }\n\n return {name: moduleName, module};\n}\n\n// export this method as a global so we can call it from native\nglobal.__fbGenNativeModule = genModule;\n\nfunction loadModule(name: string, moduleID: number): ?Object {\n invariant(\n global.nativeRequireModuleConfig,\n \"Can't lazily create module without nativeRequireModuleConfig\",\n );\n const config = global.nativeRequireModuleConfig(name);\n const info = genModule(config, moduleID);\n return info && info.module;\n}\n\nfunction genMethod(moduleID: number, methodID: number, type: MethodType) {\n let fn = null;\n if (type === 'promise') {\n fn = function promiseMethodWrapper(...args: Array) {\n // In case we reject, capture a useful stack trace here.\n const enqueueingFrameError: ExtendedError = new Error();\n return new Promise((resolve, reject) => {\n BatchedBridge.enqueueNativeCall(\n moduleID,\n methodID,\n args,\n data => resolve(data),\n errorData =>\n reject(updateErrorWithErrorData(errorData, enqueueingFrameError)),\n );\n });\n };\n } else {\n fn = function nonPromiseMethodWrapper(...args: Array) {\n const lastArg = args.length > 0 ? args[args.length - 1] : null;\n const secondLastArg = args.length > 1 ? args[args.length - 2] : null;\n const hasSuccessCallback = typeof lastArg === 'function';\n const hasErrorCallback = typeof secondLastArg === 'function';\n hasErrorCallback &&\n invariant(\n hasSuccessCallback,\n 'Cannot have a non-function arg after a function arg.',\n );\n const onSuccess = hasSuccessCallback ? lastArg : null;\n const onFail = hasErrorCallback ? secondLastArg : null;\n const callbackCount = hasSuccessCallback + hasErrorCallback;\n args = args.slice(0, args.length - callbackCount);\n if (type === 'sync') {\n return BatchedBridge.callNativeSyncHook(\n moduleID,\n methodID,\n args,\n onFail,\n onSuccess,\n );\n } else {\n BatchedBridge.enqueueNativeCall(\n moduleID,\n methodID,\n args,\n onFail,\n onSuccess,\n );\n }\n };\n }\n fn.type = type;\n return fn;\n}\n\nfunction arrayContains(array: $ReadOnlyArray, value: T): boolean {\n return array.indexOf(value) !== -1;\n}\n\nfunction updateErrorWithErrorData(\n errorData: {message: string, ...},\n error: ExtendedError,\n): ExtendedError {\n return Object.assign(error, errorData || {});\n}\n\nlet NativeModules: {[moduleName: string]: Object, ...} = {};\nif (global.nativeModuleProxy) {\n NativeModules = global.nativeModuleProxy;\n} else if (!global.nativeExtensions) {\n const bridgeConfig = global.__fbBatchedBridgeConfig;\n invariant(\n bridgeConfig,\n '__fbBatchedBridgeConfig is not set, cannot invoke native modules',\n );\n\n const defineLazyObjectProperty = require('../Utilities/defineLazyObjectProperty');\n (bridgeConfig.remoteModuleConfig || []).forEach(\n (config: ModuleConfig, moduleID: number) => {\n // Initially this config will only contain the module name when running in JSC. The actual\n // configuration of the module will be lazily loaded.\n const info = genModule(config, moduleID);\n if (!info) {\n return;\n }\n\n if (info.module) {\n NativeModules[info.name] = info.module;\n }\n // If there's no module config, define a lazy getter\n else {\n defineLazyObjectProperty(NativeModules, info.name, {\n get: () => loadModule(info.name, moduleID),\n });\n }\n },\n );\n}\n\nmodule.exports = NativeModules;\n","function _extends() {\n module.exports = _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;","var arrayWithHoles = require(\"./arrayWithHoles\");\n\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray\");\n\nvar nonIterableRest = require(\"./nonIterableRest\");\n\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n\nmodule.exports = _slicedToArray;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles;","function _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nmodule.exports = _iterableToArrayLimit;","var arrayLikeToArray = require(\"./arrayLikeToArray\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray;","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst MessageQueue = require('./MessageQueue');\n\nconst BatchedBridge: MessageQueue = new MessageQueue();\n\n// Wire up the batched bridge on the global object so that we can call into it.\n// Ideally, this would be the inverse relationship. I.e. the native environment\n// provides this global directly with its script embedded. Then this module\n// would export it. A possible fix would be to trim the dependencies in\n// MessageQueue to its minimal features and embed that in the native runtime.\n\nObject.defineProperty(global, '__fbBatchedBridge', {\n configurable: true,\n value: BatchedBridge,\n});\n\nmodule.exports = BatchedBridge;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst ErrorUtils = require('../vendor/core/ErrorUtils');\nconst Systrace = require('../Performance/Systrace');\n\nconst deepFreezeAndThrowOnMutationInDev = require('../Utilities/deepFreezeAndThrowOnMutationInDev');\nconst invariant = require('invariant');\nconst stringifySafe = require('../Utilities/stringifySafe');\nconst warnOnce = require('../Utilities/warnOnce');\n\nexport type SpyData = {\n type: number,\n module: ?string,\n method: string | number,\n args: any[],\n ...\n};\n\nconst TO_JS = 0;\nconst TO_NATIVE = 1;\n\nconst MODULE_IDS = 0;\nconst METHOD_IDS = 1;\nconst PARAMS = 2;\nconst MIN_TIME_BETWEEN_FLUSHES_MS = 5;\n\n// eslint-disable-next-line no-bitwise\nconst TRACE_TAG_REACT_APPS = 1 << 17;\n\nconst DEBUG_INFO_LIMIT = 32;\n\nclass MessageQueue {\n _lazyCallableModules: {[key: string]: (void) => Object, ...};\n _queue: [number[], number[], any[], number];\n _successCallbacks: Map;\n _failureCallbacks: Map;\n _callID: number;\n _lastFlush: number;\n _eventLoopStartTime: number;\n _immediatesCallback: ?() => void;\n\n _debugInfo: {[number]: [number, number], ...};\n _remoteModuleTable: {[number]: string, ...};\n _remoteMethodTable: {[number]: $ReadOnlyArray, ...};\n\n __spy: ?(data: SpyData) => void;\n\n constructor() {\n this._lazyCallableModules = {};\n this._queue = [[], [], [], 0];\n this._successCallbacks = new Map();\n this._failureCallbacks = new Map();\n this._callID = 0;\n this._lastFlush = 0;\n this._eventLoopStartTime = Date.now();\n this._immediatesCallback = null;\n\n if (__DEV__) {\n this._debugInfo = {};\n this._remoteModuleTable = {};\n this._remoteMethodTable = {};\n }\n\n (this: any).callFunctionReturnFlushedQueue = this.callFunctionReturnFlushedQueue.bind(\n this,\n );\n (this: any).callFunctionReturnResultAndFlushedQueue = this.callFunctionReturnResultAndFlushedQueue.bind(\n this,\n );\n (this: any).flushedQueue = this.flushedQueue.bind(this);\n (this: any).invokeCallbackAndReturnFlushedQueue = this.invokeCallbackAndReturnFlushedQueue.bind(\n this,\n );\n }\n\n /**\n * Public APIs\n */\n\n static spy(spyOrToggle: boolean | ((data: SpyData) => void)) {\n if (spyOrToggle === true) {\n MessageQueue.prototype.__spy = info => {\n console.log(\n `${info.type === TO_JS ? 'N->JS' : 'JS->N'} : ` +\n `${info.module ? info.module + '.' : ''}${info.method}` +\n `(${JSON.stringify(info.args)})`,\n );\n };\n } else if (spyOrToggle === false) {\n MessageQueue.prototype.__spy = null;\n } else {\n MessageQueue.prototype.__spy = spyOrToggle;\n }\n }\n\n callFunctionReturnFlushedQueue(\n module: string,\n method: string,\n args: any[],\n ): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__callFunction(module, method, args);\n });\n\n return this.flushedQueue();\n }\n\n callFunctionReturnResultAndFlushedQueue(\n module: string,\n method: string,\n args: any[],\n ): $TEMPORARY$array[Array, Array, Array, number]> {\n let result;\n this.__guard(() => {\n result = this.__callFunction(module, method, args);\n });\n\n return [result, this.flushedQueue()];\n }\n\n invokeCallbackAndReturnFlushedQueue(\n cbID: number,\n args: any[],\n ): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__invokeCallback(cbID, args);\n });\n\n return this.flushedQueue();\n }\n\n flushedQueue(): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__callImmediates();\n });\n\n const queue = this._queue;\n this._queue = [[], [], [], this._callID];\n return queue[0].length ? queue : null;\n }\n\n getEventLoopRunningTime(): number {\n return Date.now() - this._eventLoopStartTime;\n }\n\n registerCallableModule(name: string, module: Object) {\n this._lazyCallableModules[name] = () => module;\n }\n\n registerLazyCallableModule(name: string, factory: void => Object) {\n let module: Object;\n let getValue: ?(void) => Object = factory;\n this._lazyCallableModules[name] = () => {\n if (getValue) {\n module = getValue();\n getValue = null;\n }\n return module;\n };\n }\n\n getCallableModule(name: string): any | null {\n const getValue = this._lazyCallableModules[name];\n return getValue ? getValue() : null;\n }\n\n callNativeSyncHook(\n moduleID: number,\n methodID: number,\n params: any[],\n onFail: ?Function,\n onSucc: ?Function,\n ): any {\n if (__DEV__) {\n invariant(\n global.nativeCallSyncHook,\n 'Calling synchronous methods on native ' +\n 'modules is not supported in Chrome.\\n\\n Consider providing alternative ' +\n 'methods to expose this method in debug mode, e.g. by exposing constants ' +\n 'ahead-of-time.',\n );\n }\n this.processCallbacks(moduleID, methodID, params, onFail, onSucc);\n return global.nativeCallSyncHook(moduleID, methodID, params);\n }\n\n processCallbacks(\n moduleID: number,\n methodID: number,\n params: any[],\n onFail: ?Function,\n onSucc: ?Function,\n ) {\n if (onFail || onSucc) {\n if (__DEV__) {\n this._debugInfo[this._callID] = [moduleID, methodID];\n if (this._callID > DEBUG_INFO_LIMIT) {\n delete this._debugInfo[this._callID - DEBUG_INFO_LIMIT];\n }\n if (this._successCallbacks.size > 500) {\n const info = {};\n this._successCallbacks.forEach((_, callID) => {\n const debug = this._debugInfo[callID];\n const module = debug && this._remoteModuleTable[debug[0]];\n const method = debug && this._remoteMethodTable[debug[0]][debug[1]];\n info[callID] = {module, method};\n });\n warnOnce(\n 'excessive-number-of-pending-callbacks',\n `Please report: Excessive number of pending callbacks: ${\n this._successCallbacks.size\n }. Some pending callbacks that might have leaked by never being called from native code: ${stringifySafe(\n info,\n )}`,\n );\n }\n }\n // Encode callIDs into pairs of callback identifiers by shifting left and using the rightmost bit\n // to indicate fail (0) or success (1)\n // eslint-disable-next-line no-bitwise\n onFail && params.push(this._callID << 1);\n // eslint-disable-next-line no-bitwise\n onSucc && params.push((this._callID << 1) | 1);\n this._successCallbacks.set(this._callID, onSucc);\n this._failureCallbacks.set(this._callID, onFail);\n }\n if (__DEV__) {\n global.nativeTraceBeginAsyncFlow &&\n global.nativeTraceBeginAsyncFlow(\n TRACE_TAG_REACT_APPS,\n 'native',\n this._callID,\n );\n }\n this._callID++;\n }\n\n enqueueNativeCall(\n moduleID: number,\n methodID: number,\n params: any[],\n onFail: ?Function,\n onSucc: ?Function,\n ) {\n this.processCallbacks(moduleID, methodID, params, onFail, onSucc);\n\n this._queue[MODULE_IDS].push(moduleID);\n this._queue[METHOD_IDS].push(methodID);\n\n if (__DEV__) {\n // Validate that parameters passed over the bridge are\n // folly-convertible. As a special case, if a prop value is a\n // function it is permitted here, and special-cased in the\n // conversion.\n const isValidArgument = val => {\n const t = typeof val;\n if (\n t === 'undefined' ||\n t === 'null' ||\n t === 'boolean' ||\n t === 'string'\n ) {\n return true;\n }\n if (t === 'number') {\n return isFinite(val);\n }\n if (t === 'function' || t !== 'object') {\n return false;\n }\n if (Array.isArray(val)) {\n return val.every(isValidArgument);\n }\n for (const k in val) {\n if (typeof val[k] !== 'function' && !isValidArgument(val[k])) {\n return false;\n }\n }\n return true;\n };\n\n // Replacement allows normally non-JSON-convertible values to be\n // seen. There is ambiguity with string values, but in context,\n // it should at least be a strong hint.\n const replacer = (key, val) => {\n const t = typeof val;\n if (t === 'function') {\n return '<>';\n } else if (t === 'number' && !isFinite(val)) {\n return '<<' + val.toString() + '>>';\n } else {\n return val;\n }\n };\n\n // Note that JSON.stringify\n invariant(\n isValidArgument(params),\n '%s is not usable as a native method argument',\n JSON.stringify(params, replacer),\n );\n\n // The params object should not be mutated after being queued\n deepFreezeAndThrowOnMutationInDev((params: any));\n }\n this._queue[PARAMS].push(params);\n\n const now = Date.now();\n if (\n global.nativeFlushQueueImmediate &&\n now - this._lastFlush >= MIN_TIME_BETWEEN_FLUSHES_MS\n ) {\n const queue = this._queue;\n this._queue = [[], [], [], this._callID];\n this._lastFlush = now;\n global.nativeFlushQueueImmediate(queue);\n }\n Systrace.counterEvent('pending_js_to_native_queue', this._queue[0].length);\n if (__DEV__ && this.__spy && isFinite(moduleID)) {\n this.__spy({\n type: TO_NATIVE,\n module: this._remoteModuleTable[moduleID],\n method: this._remoteMethodTable[moduleID][methodID],\n args: params,\n });\n } else if (this.__spy) {\n this.__spy({\n type: TO_NATIVE,\n module: moduleID + '',\n method: methodID,\n args: params,\n });\n }\n }\n\n createDebugLookup(\n moduleID: number,\n name: string,\n methods: ?$ReadOnlyArray,\n ) {\n if (__DEV__) {\n this._remoteModuleTable[moduleID] = name;\n this._remoteMethodTable[moduleID] = methods || [];\n }\n }\n\n // For JSTimers to register its callback. Otherwise a circular dependency\n // between modules is introduced. Note that only one callback may be\n // registered at a time.\n setImmediatesCallback(fn: () => void) {\n this._immediatesCallback = fn;\n }\n\n /**\n * Private methods\n */\n\n __guard(fn: () => void) {\n if (this.__shouldPauseOnThrow()) {\n fn();\n } else {\n try {\n fn();\n } catch (error) {\n ErrorUtils.reportFatalError(error);\n }\n }\n }\n\n // MessageQueue installs a global handler to catch all exceptions where JS users can register their own behavior\n // This handler makes all exceptions to be propagated from inside MessageQueue rather than by the VM at their origin\n // This makes stacktraces to be placed at MessageQueue rather than at where they were launched\n // The parameter DebuggerInternal.shouldPauseOnThrow is used to check before catching all exceptions and\n // can be configured by the VM or any Inspector\n __shouldPauseOnThrow(): boolean {\n return (\n // $FlowFixMe\n typeof DebuggerInternal !== 'undefined' &&\n DebuggerInternal.shouldPauseOnThrow === true // eslint-disable-line no-undef\n );\n }\n\n __callImmediates() {\n Systrace.beginEvent('JSTimers.callImmediates()');\n if (this._immediatesCallback != null) {\n this._immediatesCallback();\n }\n Systrace.endEvent();\n }\n\n __callFunction(module: string, method: string, args: any[]): any {\n this._lastFlush = Date.now();\n this._eventLoopStartTime = this._lastFlush;\n if (__DEV__ || this.__spy) {\n Systrace.beginEvent(`${module}.${method}(${stringifySafe(args)})`);\n } else {\n Systrace.beginEvent(`${module}.${method}(...)`);\n }\n if (this.__spy) {\n this.__spy({type: TO_JS, module, method, args});\n }\n const moduleMethods = this.getCallableModule(module);\n invariant(\n !!moduleMethods,\n 'Module %s is not a registered callable module (calling %s)',\n module,\n method,\n );\n invariant(\n !!moduleMethods[method],\n 'Method %s does not exist on module %s',\n method,\n module,\n );\n const result = moduleMethods[method].apply(moduleMethods, args);\n Systrace.endEvent();\n return result;\n }\n\n __invokeCallback(cbID: number, args: any[]) {\n this._lastFlush = Date.now();\n this._eventLoopStartTime = this._lastFlush;\n\n // The rightmost bit of cbID indicates fail (0) or success (1), the other bits are the callID shifted left.\n // eslint-disable-next-line no-bitwise\n const callID = cbID >>> 1;\n // eslint-disable-next-line no-bitwise\n const isSuccess = cbID & 1;\n const callback = isSuccess\n ? this._successCallbacks.get(callID)\n : this._failureCallbacks.get(callID);\n\n if (__DEV__) {\n const debug = this._debugInfo[callID];\n const module = debug && this._remoteModuleTable[debug[0]];\n const method = debug && this._remoteMethodTable[debug[0]][debug[1]];\n invariant(\n callback,\n `No callback found with cbID ${cbID} and callID ${callID} for ` +\n (method\n ? ` ${module}.${method} - most likely the callback was already invoked`\n : `module ${module || ''}`) +\n `. Args: '${stringifySafe(args)}'`,\n );\n const profileName = debug\n ? ''\n : cbID;\n if (callback && this.__spy) {\n this.__spy({type: TO_JS, module: null, method: profileName, args});\n }\n Systrace.beginEvent(\n `MessageQueue.invokeCallback(${profileName}, ${stringifySafe(args)})`,\n );\n }\n\n if (!callback) {\n return;\n }\n\n this._successCallbacks.delete(callID);\n this._failureCallbacks.delete(callID);\n callback(...args);\n\n if (__DEV__) {\n Systrace.endEvent();\n }\n }\n}\n\nmodule.exports = MessageQueue;\n","var arrayWithoutHoles = require(\"./arrayWithoutHoles\");\n\nvar iterableToArray = require(\"./iterableToArray\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray\");\n\nvar nonIterableSpread = require(\"./nonIterableSpread\");\n\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\n\nmodule.exports = _toConsumableArray;","var arrayLikeToArray = require(\"./arrayLikeToArray\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\n\nmodule.exports = _arrayWithoutHoles;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n}\n\nmodule.exports = _iterableToArray;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableSpread;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nmodule.exports = _classCallCheck;","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nmodule.exports = _createClass;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport type {ErrorUtilsT} from '../../polyfills/error-guard.js';\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n *\n * However, we still want to treat ErrorUtils as a module so that other modules\n * that use it aren't just using a global variable, so simply export the global\n * variable here. ErrorUtils is originally defined in a file named error-guard.js.\n */\nmodule.exports = (global.ErrorUtils: ErrorUtilsT);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nconst TRACE_TAG_REACT_APPS = 1 << 17; // eslint-disable-line no-bitwise\nconst TRACE_TAG_JS_VM_CALLS = 1 << 27; // eslint-disable-line no-bitwise\n\nlet _enabled = false;\nlet _asyncCookie = 0;\nconst _markStack = [];\nlet _markStackIndex = -1;\nlet _canInstallReactHook = false;\n\n// Implements a subset of User Timing API necessary for React measurements.\n// https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API\nconst REACT_MARKER = '\\u269B';\nconst userTimingPolyfill = __DEV__\n ? {\n mark(markName: string) {\n if (_enabled) {\n _markStackIndex++;\n _markStack[_markStackIndex] = markName;\n let systraceLabel = markName;\n // Since perf measurements are a shared namespace in User Timing API,\n // we prefix all React results with a React emoji.\n if (markName[0] === REACT_MARKER) {\n // This is coming from React.\n // Removing component IDs keeps trace colors stable.\n const indexOfId = markName.lastIndexOf(' (#');\n const cutoffIndex = indexOfId !== -1 ? indexOfId : markName.length;\n // Also cut off the emoji because it breaks Systrace\n systraceLabel = markName.slice(2, cutoffIndex);\n }\n Systrace.beginEvent(systraceLabel);\n }\n },\n measure(measureName: string, startMark: ?string, endMark: ?string) {\n if (_enabled) {\n invariant(\n typeof measureName === 'string' &&\n typeof startMark === 'string' &&\n typeof endMark === 'undefined',\n 'Only performance.measure(string, string) overload is supported.',\n );\n const topMark = _markStack[_markStackIndex];\n invariant(\n startMark === topMark,\n 'There was a mismatching performance.measure() call. ' +\n 'Expected \"%s\" but got \"%s.\"',\n topMark,\n startMark,\n );\n _markStackIndex--;\n // We can't use more descriptive measureName because Systrace doesn't\n // let us edit labels post factum.\n Systrace.endEvent();\n }\n },\n clearMarks(markName: string) {\n if (_enabled) {\n if (_markStackIndex === -1) {\n return;\n }\n if (markName === _markStack[_markStackIndex]) {\n // React uses this for \"cancelling\" started measurements.\n // Systrace doesn't support deleting measurements, so we just stop them.\n if (userTimingPolyfill != null) {\n userTimingPolyfill.measure(markName, markName);\n }\n }\n }\n },\n clearMeasures() {\n // React calls this to avoid memory leaks in browsers, but we don't keep\n // measurements anyway.\n },\n }\n : null;\n\nconst Systrace = {\n installReactHook() {\n if (_enabled) {\n if (__DEV__) {\n global.performance = userTimingPolyfill;\n }\n }\n _canInstallReactHook = true;\n },\n\n setEnabled(enabled: boolean) {\n if (_enabled !== enabled) {\n if (__DEV__) {\n if (enabled) {\n global.nativeTraceBeginLegacy &&\n global.nativeTraceBeginLegacy(TRACE_TAG_JS_VM_CALLS);\n } else {\n global.nativeTraceEndLegacy &&\n global.nativeTraceEndLegacy(TRACE_TAG_JS_VM_CALLS);\n }\n if (_canInstallReactHook) {\n if (enabled && global.performance === undefined) {\n global.performance = userTimingPolyfill;\n }\n }\n }\n _enabled = enabled;\n }\n },\n\n isEnabled(): boolean {\n return _enabled;\n },\n\n /**\n * beginEvent/endEvent for starting and then ending a profile within the same call stack frame\n **/\n beginEvent(profileName?: any, args?: any) {\n if (_enabled) {\n profileName =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceBeginSection(TRACE_TAG_REACT_APPS, profileName, args);\n }\n },\n\n endEvent() {\n if (_enabled) {\n global.nativeTraceEndSection(TRACE_TAG_REACT_APPS);\n }\n },\n\n /**\n * beginAsyncEvent/endAsyncEvent for starting and then ending a profile where the end can either\n * occur on another thread or out of the current stack frame, eg await\n * the returned cookie variable should be used as input into the endAsyncEvent call to end the profile\n **/\n beginAsyncEvent(profileName?: any): any {\n const cookie = _asyncCookie;\n if (_enabled) {\n _asyncCookie++;\n profileName =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceBeginAsyncSection(\n TRACE_TAG_REACT_APPS,\n profileName,\n cookie,\n );\n }\n return cookie;\n },\n\n endAsyncEvent(profileName?: any, cookie?: any) {\n if (_enabled) {\n profileName =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceEndAsyncSection(\n TRACE_TAG_REACT_APPS,\n profileName,\n cookie,\n );\n }\n },\n\n /**\n * counterEvent registers the value to the profileName on the systrace timeline\n **/\n counterEvent(profileName?: any, value?: any) {\n if (_enabled) {\n profileName =\n typeof profileName === 'function' ? profileName() : profileName;\n global.nativeTraceCounter &&\n global.nativeTraceCounter(TRACE_TAG_REACT_APPS, profileName, value);\n }\n },\n};\n\nif (__DEV__) {\n // This is needed, because require callis in polyfills are not processed as\n // other files. Therefore, calls to `require('moduleId')` are not replaced\n // with numeric IDs\n // TODO(davidaurelio) Scan polyfills for dependencies, too (t9759686)\n (require: any).Systrace = Systrace;\n}\n\nmodule.exports = Systrace;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\n/**\n * If your application is accepting different values for the same field over\n * time and is doing a diff on them, you can either (1) create a copy or\n * (2) ensure that those values are not mutated behind two passes.\n * This function helps you with (2) by freezing the object and throwing if\n * the user subsequently modifies the value.\n *\n * There are two caveats with this function:\n * - If the call site is not in strict mode, it will only throw when\n * mutating existing fields, adding a new one\n * will unfortunately fail silently :(\n * - If the object is already frozen or sealed, it will not continue the\n * deep traversal and will leave leaf nodes unfrozen.\n *\n * Freezing the object and adding the throw mechanism is expensive and will\n * only be used in DEV.\n */\nfunction deepFreezeAndThrowOnMutationInDev(object: T): T {\n if (__DEV__) {\n if (\n typeof object !== 'object' ||\n object === null ||\n Object.isFrozen(object) ||\n Object.isSealed(object)\n ) {\n return object;\n }\n\n const keys = Object.keys(object);\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (hasOwnProperty.call(object, key)) {\n Object.defineProperty(object, key, {\n get: identity.bind(null, object[key]),\n });\n Object.defineProperty(object, key, {\n set: throwOnImmutableMutation.bind(null, key),\n });\n }\n }\n\n Object.freeze(object);\n Object.seal(object);\n\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (hasOwnProperty.call(object, key)) {\n deepFreezeAndThrowOnMutationInDev(object[key]);\n }\n }\n }\n return object;\n}\n\nfunction throwOnImmutableMutation(key, value) {\n throw Error(\n 'You attempted to set the key `' +\n key +\n '` with the value `' +\n JSON.stringify(value) +\n '` on an object that is meant to be immutable ' +\n 'and has been frozen.',\n );\n}\n\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = deepFreezeAndThrowOnMutationInDev;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\n/**\n * Tries to stringify with JSON.stringify and toString, but catches exceptions\n * (e.g. from circular objects) and always returns a string and never throws.\n */\nfunction stringifySafe(arg: any): string {\n let ret;\n const type = typeof arg;\n if (arg === undefined) {\n ret = 'undefined';\n } else if (arg === null) {\n ret = 'null';\n } else if (type === 'string') {\n ret = '\"' + arg + '\"';\n } else if (type === 'function') {\n try {\n ret = arg.toString();\n } catch (e) {\n ret = '[function unknown]';\n }\n } else if (arg instanceof Error) {\n ret = arg.name + ': ' + arg.message;\n } else {\n // Perform a try catch, just in case the object has a circular\n // reference or stringify throws for some other reason.\n try {\n ret = JSON.stringify(arg);\n } catch (e) {\n if (typeof arg.toString === 'function') {\n try {\n ret = arg.toString();\n } catch (E) {}\n }\n }\n }\n return ret || '[\"' + type + '\" failed to stringify]';\n}\n\nmodule.exports = stringifySafe;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\n/**\n * Defines a lazily evaluated property on the supplied `object`.\n */\nfunction defineLazyObjectProperty(\n object: Object,\n name: string,\n descriptor: {\n get: () => T,\n enumerable?: boolean,\n writable?: boolean,\n ...\n },\n): void {\n const {get} = descriptor;\n const enumerable = descriptor.enumerable !== false;\n const writable = descriptor.writable !== false;\n\n let value;\n let valueSet = false;\n function getValue(): T {\n // WORKAROUND: A weird infinite loop occurs where calling `getValue` calls\n // `setValue` which calls `Object.defineProperty` which somehow triggers\n // `getValue` again. Adding `valueSet` breaks this loop.\n if (!valueSet) {\n // Calling `get()` here can trigger an infinite loop if it fails to\n // remove the getter on the property, which can happen when executing\n // JS in a V8 context. `valueSet = true` will break this loop, and\n // sets the value of the property to undefined, until the code in `get()`\n // finishes, at which point the property is set to the correct value.\n valueSet = true;\n setValue(get());\n }\n return value;\n }\n function setValue(newValue: T): void {\n value = newValue;\n valueSet = true;\n Object.defineProperty(object, name, {\n value: newValue,\n configurable: true,\n enumerable,\n writable,\n });\n }\n\n Object.defineProperty(object, name, {\n get: getValue,\n set: setValue,\n configurable: true,\n enumerable,\n });\n}\n\nmodule.exports = defineLazyObjectProperty;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst EventEmitter = require('../vendor/emitter/EventEmitter');\nconst EventSubscriptionVendor = require('../vendor/emitter/EventSubscriptionVendor');\n\nimport type EmitterSubscription from '../vendor/emitter/EmitterSubscription';\n\nfunction checkNativeEventModule(eventType: ?string) {\n if (eventType) {\n if (eventType.lastIndexOf('statusBar', 0) === 0) {\n throw new Error(\n '`' +\n eventType +\n '` event should be registered via the StatusBarIOS module',\n );\n }\n if (eventType.lastIndexOf('keyboard', 0) === 0) {\n throw new Error(\n '`' +\n eventType +\n '` event should be registered via the Keyboard module',\n );\n }\n if (eventType === 'appStateDidChange' || eventType === 'memoryWarning') {\n throw new Error(\n '`' +\n eventType +\n '` event should be registered via the AppState module',\n );\n }\n }\n}\n\n/**\n * Deprecated - subclass NativeEventEmitter to create granular event modules instead of\n * adding all event listeners directly to RCTDeviceEventEmitter.\n */\nclass RCTDeviceEventEmitter extends EventEmitter {\n sharedSubscriber: EventSubscriptionVendor;\n\n constructor() {\n const sharedSubscriber = new EventSubscriptionVendor();\n super(sharedSubscriber);\n this.sharedSubscriber = sharedSubscriber;\n }\n\n addListener(\n eventType: string,\n listener: Function,\n context: ?Object,\n ): EmitterSubscription {\n if (__DEV__) {\n checkNativeEventModule(eventType);\n }\n return super.addListener(eventType, listener, context);\n }\n\n removeAllListeners(eventType: ?string) {\n if (__DEV__) {\n checkNativeEventModule(eventType);\n }\n super.removeAllListeners(eventType);\n }\n\n removeSubscription(subscription: EmitterSubscription) {\n if (subscription.emitter !== this) {\n subscription.emitter.removeSubscription(subscription);\n } else {\n super.removeSubscription(subscription);\n }\n }\n}\n\nmodule.exports = (new RCTDeviceEventEmitter(): RCTDeviceEventEmitter);\n","var superPropBase = require(\"./superPropBase\");\n\nfunction _get(target, property, receiver) {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n module.exports = _get = Reflect.get;\n } else {\n module.exports = _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n\n if (desc.get) {\n return desc.get.call(receiver);\n }\n\n return desc.value;\n };\n }\n\n return _get(target, property, receiver || target);\n}\n\nmodule.exports = _get;","var getPrototypeOf = require(\"./getPrototypeOf\");\n\nfunction _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n\n return object;\n}\n\nmodule.exports = _superPropBase;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nmodule.exports = _getPrototypeOf;","var setPrototypeOf = require(\"./setPrototypeOf\");\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inherits;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf;","var _typeof = require(\"../helpers/typeof\");\n\nvar assertThisInitialized = require(\"./assertThisInitialized\");\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return assertThisInitialized(self);\n}\n\nmodule.exports = _possibleConstructorReturn;","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nmodule.exports = _assertThisInitialized;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @noflow\n * @typecheck\n */\n\n'use strict';\n\nconst EmitterSubscription = require('./EmitterSubscription');\nconst EventSubscriptionVendor = require('./EventSubscriptionVendor');\n\nconst invariant = require('invariant');\n\nconst sparseFilterPredicate = () => true;\n\n/**\n * @class EventEmitter\n * @description\n * An EventEmitter is responsible for managing a set of listeners and publishing\n * events to them when it is told that such events happened. In addition to the\n * data for the given event it also sends a event control object which allows\n * the listeners/handlers to prevent the default behavior of the given event.\n *\n * The emitter is designed to be generic enough to support all the different\n * contexts in which one might want to emit events. It is a simple multicast\n * mechanism on top of which extra functionality can be composed. For example, a\n * more advanced emitter may use an EventHolder and EventFactory.\n */\nclass EventEmitter {\n _subscriber: EventSubscriptionVendor;\n _currentSubscription: ?EmitterSubscription;\n\n /**\n * @constructor\n *\n * @param {EventSubscriptionVendor} subscriber - Optional subscriber instance\n * to use. If omitted, a new subscriber will be created for the emitter.\n */\n constructor(subscriber: ?EventSubscriptionVendor) {\n this._subscriber = subscriber || new EventSubscriptionVendor();\n }\n\n /**\n * Adds a listener to be invoked when events of the specified type are\n * emitted. An optional calling context may be provided. The data arguments\n * emitted will be passed to the listener function.\n *\n * TODO: Annotate the listener arg's type. This is tricky because listeners\n * can be invoked with varargs.\n *\n * @param {string} eventType - Name of the event to listen to\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n */\n addListener(\n eventType: string,\n listener: Function,\n context: ?Object,\n ): EmitterSubscription {\n return (this._subscriber.addSubscription(\n eventType,\n new EmitterSubscription(this, this._subscriber, listener, context),\n ): any);\n }\n\n /**\n * Similar to addListener, except that the listener is removed after it is\n * invoked once.\n *\n * @param {string} eventType - Name of the event to listen to\n * @param {function} listener - Function to invoke only once when the\n * specified event is emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n */\n once(\n eventType: string,\n listener: Function,\n context: ?Object,\n ): EmitterSubscription {\n return this.addListener(eventType, (...args) => {\n this.removeCurrentListener();\n listener.apply(context, args);\n });\n }\n\n /**\n * Removes all of the registered listeners, including those registered as\n * listener maps.\n *\n * @param {?string} eventType - Optional name of the event whose registered\n * listeners to remove\n */\n removeAllListeners(eventType: ?string) {\n this._subscriber.removeAllSubscriptions(eventType);\n }\n\n /**\n * Provides an API that can be called during an eventing cycle to remove the\n * last listener that was invoked. This allows a developer to provide an event\n * object that can remove the listener (or listener map) during the\n * invocation.\n *\n * If it is called when not inside of an emitting cycle it will throw.\n *\n * @throws {Error} When called not during an eventing cycle\n *\n * @example\n * var subscription = emitter.addListenerMap({\n * someEvent: function(data, event) {\n * console.log(data);\n * emitter.removeCurrentListener();\n * }\n * });\n *\n * emitter.emit('someEvent', 'abc'); // logs 'abc'\n * emitter.emit('someEvent', 'def'); // does not log anything\n */\n removeCurrentListener() {\n invariant(\n !!this._currentSubscription,\n 'Not in an emitting cycle; there is no current subscription',\n );\n this.removeSubscription(this._currentSubscription);\n }\n\n /**\n * Removes a specific subscription. Called by the `remove()` method of the\n * subscription itself to ensure any necessary cleanup is performed.\n */\n removeSubscription(subscription: EmitterSubscription) {\n invariant(\n subscription.emitter === this,\n 'Subscription does not belong to this emitter.',\n );\n this._subscriber.removeSubscription(subscription);\n }\n\n /**\n * Returns an array of listeners that are currently registered for the given\n * event.\n *\n * @param {string} eventType - Name of the event to query\n * @returns {array}\n */\n listeners(eventType: string): [EmitterSubscription] {\n const subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n return subscriptions\n ? subscriptions\n // We filter out missing entries because the array is sparse.\n // \"callbackfn is called only for elements of the array which actually\n // exist; it is not called for missing elements of the array.\"\n // https://www.ecma-international.org/ecma-262/9.0/index.html#sec-array.prototype.filter\n .filter(sparseFilterPredicate)\n .map(subscription => subscription.listener)\n : [];\n }\n\n /**\n * Emits an event of the given type with the given data. All handlers of that\n * particular type will be notified.\n *\n * @param {string} eventType - Name of the event to emit\n * @param {...*} Arbitrary arguments to be passed to each registered listener\n *\n * @example\n * emitter.addListener('someEvent', function(message) {\n * console.log(message);\n * });\n *\n * emitter.emit('someEvent', 'abc'); // logs 'abc'\n */\n emit(eventType: string) {\n const subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n if (subscriptions) {\n for (let i = 0, l = subscriptions.length; i < l; i++) {\n const subscription = subscriptions[i];\n\n // The subscription may have been removed during this event loop.\n if (subscription && subscription.listener) {\n this._currentSubscription = subscription;\n subscription.listener.apply(\n subscription.context,\n Array.prototype.slice.call(arguments, 1),\n );\n }\n }\n this._currentSubscription = null;\n }\n }\n\n /**\n * Removes the given listener for event of specific type.\n *\n * @param {string} eventType - Name of the event to emit\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n *\n * @example\n * emitter.removeListener('someEvent', function(message) {\n * console.log(message);\n * }); // removes the listener if already registered\n *\n */\n removeListener(eventType: String, listener) {\n const subscriptions = this._subscriber.getSubscriptionsForType(eventType);\n if (subscriptions) {\n for (let i = 0, l = subscriptions.length; i < l; i++) {\n const subscription = subscriptions[i];\n\n // The subscription may have been removed during this event loop.\n // its listener matches the listener in method parameters\n if (subscription && subscription.listener === listener) {\n subscription.remove();\n }\n }\n }\n }\n}\n\nmodule.exports = EventEmitter;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst EventSubscription = require('./EventSubscription');\n\nimport type EventEmitter from './EventEmitter';\nimport type EventSubscriptionVendor from './EventSubscriptionVendor';\n\n/**\n * EmitterSubscription represents a subscription with listener and context data.\n */\nclass EmitterSubscription extends EventSubscription {\n emitter: EventEmitter;\n listener: Function;\n context: ?Object;\n\n /**\n * @param {EventEmitter} emitter - The event emitter that registered this\n * subscription\n * @param {EventSubscriptionVendor} subscriber - The subscriber that controls\n * this subscription\n * @param {function} listener - Function to invoke when the specified event is\n * emitted\n * @param {*} context - Optional context object to use when invoking the\n * listener\n */\n constructor(\n emitter: EventEmitter,\n subscriber: EventSubscriptionVendor,\n listener: Function,\n context: ?Object,\n ) {\n super(subscriber);\n this.emitter = emitter;\n this.listener = listener;\n this.context = context;\n }\n\n /**\n * Removes this subscription from the emitter that registered it.\n * Note: we're overriding the `remove()` method of EventSubscription here\n * but deliberately not calling `super.remove()` as the responsibility\n * for removing the subscription lies with the EventEmitter.\n */\n remove() {\n this.emitter.removeSubscription(this);\n }\n}\n\nmodule.exports = EmitterSubscription;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type EventSubscriptionVendor from './EventSubscriptionVendor';\n\n/**\n * EventSubscription represents a subscription to a particular event. It can\n * remove its own subscription.\n */\nclass EventSubscription {\n eventType: string;\n key: number;\n subscriber: EventSubscriptionVendor;\n\n /**\n * @param {EventSubscriptionVendor} subscriber the subscriber that controls\n * this subscription.\n */\n constructor(subscriber: EventSubscriptionVendor) {\n this.subscriber = subscriber;\n }\n\n /**\n * Removes this subscription from the subscriber that controls it.\n */\n remove() {\n this.subscriber.removeSubscription(this);\n }\n}\n\nmodule.exports = EventSubscription;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nimport type EventSubscription from './EventSubscription';\n\n/**\n * EventSubscriptionVendor stores a set of EventSubscriptions that are\n * subscribed to a particular event type.\n */\nclass EventSubscriptionVendor {\n _subscriptionsForType: Object;\n _currentSubscription: ?EventSubscription;\n\n constructor() {\n this._subscriptionsForType = {};\n this._currentSubscription = null;\n }\n\n /**\n * Adds a subscription keyed by an event type.\n *\n * @param {string} eventType\n * @param {EventSubscription} subscription\n */\n addSubscription(\n eventType: string,\n subscription: EventSubscription,\n ): EventSubscription {\n invariant(\n subscription.subscriber === this,\n 'The subscriber of the subscription is incorrectly set.',\n );\n if (!this._subscriptionsForType[eventType]) {\n this._subscriptionsForType[eventType] = [];\n }\n const key = this._subscriptionsForType[eventType].length;\n this._subscriptionsForType[eventType].push(subscription);\n subscription.eventType = eventType;\n subscription.key = key;\n return subscription;\n }\n\n /**\n * Removes a bulk set of the subscriptions.\n *\n * @param {?string} eventType - Optional name of the event type whose\n * registered supscriptions to remove, if null remove all subscriptions.\n */\n removeAllSubscriptions(eventType: ?string) {\n if (eventType === undefined) {\n this._subscriptionsForType = {};\n } else {\n delete this._subscriptionsForType[eventType];\n }\n }\n\n /**\n * Removes a specific subscription. Instead of calling this function, call\n * `subscription.remove()` directly.\n *\n * @param {object} subscription\n */\n removeSubscription(subscription: Object) {\n const eventType = subscription.eventType;\n const key = subscription.key;\n\n const subscriptionsForType = this._subscriptionsForType[eventType];\n if (subscriptionsForType) {\n delete subscriptionsForType[key];\n }\n }\n\n /**\n * Returns the array of subscriptions that are currently registered for the\n * given event type.\n *\n * Note: This array can be potentially sparse as subscriptions are deleted\n * from it when they are removed.\n *\n * TODO: This returns a nullable array. wat?\n *\n * @param {string} eventType\n * @returns {?array}\n */\n getSubscriptionsForType(eventType: string): ?[EventSubscription] {\n return this._subscriptionsForType[eventType];\n }\n}\n\nmodule.exports = EventSubscriptionVendor;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {Spec} from './NativeUIManager';\n\ninterface UIManagerJSInterface extends Spec {\n +getViewManagerConfig: (viewManagerName: string) => Object;\n +createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: number,\n props: Object,\n ) => void;\n +updateView: (reactTag: number, viewName: string, props: Object) => void;\n +manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ) => void;\n}\n\nconst UIManager: UIManagerJSInterface =\n global.RN$Bridgeless === true\n ? require('./DummyUIManager') // No UIManager in bridgeless mode\n : require('./PaperUIManager');\n\nmodule.exports = UIManager;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nmodule.exports = {\n getViewManagerConfig: (viewManagerName: string): null => {\n console.warn(\n 'Attempting to get config for view manager: ' + viewManagerName,\n );\n return null;\n },\n getConstants: (): {...} => ({}),\n getConstantsForViewManager: (viewManagerName: string) => {},\n getDefaultEventTypes: (): Array<$FlowFixMe> => [],\n playTouchSound: () => {},\n lazilyLoadView: (name: string) => {},\n createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: number,\n props: Object,\n ) => {},\n updateView: (reactTag: number, viewName: string, props: Object) => {},\n focus: (reactTag: ?number) => {},\n blur: (reactTag: ?number) => {},\n findSubviewIn: (\n reactTag: ?number,\n point: Array,\n callback: (\n nativeViewTag: number,\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => {},\n dispatchViewManagerCommand: (\n reactTag: ?number,\n commandID: number,\n commandArgs: ?Array,\n ) => {},\n measure: (\n reactTag: ?number,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n pageX: number,\n pageY: number,\n ) => void,\n ) => {},\n measureInWindow: (\n reactTag: ?number,\n callback: (x: number, y: number, width: number, height: number) => void,\n ) => {},\n viewIsDescendantOf: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n callback: (result: Array) => void,\n ) => {},\n measureLayout: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => {},\n measureLayoutRelativeToParent: (\n reactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => {},\n setJSResponder: (reactTag: ?number, blockNativeResponder: boolean) => {},\n clearJSResponder: () => {},\n configureNextLayoutAnimation: (\n config: Object,\n callback: () => void,\n errorCallback: (error: Object) => void,\n ) => {},\n removeSubviewsFromContainerWithID: (containerID: number) => {},\n replaceExistingNonRootView: (reactTag: ?number, newReactTag: ?number) => {},\n setChildren: (containerTag: ?number, reactTags: Array) => {},\n manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ) => {},\n\n // Android only\n setLayoutAnimationEnabledExperimental: (enabled: boolean) => {},\n sendAccessibilityEvent: (reactTag: ?number, eventType: number) => {},\n showPopupMenu: (\n reactTag: ?number,\n items: Array,\n error: (error: Object) => void,\n success: (event: string, selected?: number) => void,\n ) => {},\n dismissPopupMenu: () => {},\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst NativeModules = require('../BatchedBridge/NativeModules');\nconst Platform = require('../Utilities/Platform');\nconst UIManagerProperties = require('./UIManagerProperties');\n\nconst defineLazyObjectProperty = require('../Utilities/defineLazyObjectProperty');\n\nimport NativeUIManager from './NativeUIManager';\n\nconst viewManagerConfigs = {};\n\nconst triedLoadingConfig = new Set();\n\nlet NativeUIManagerConstants = {};\nlet isNativeUIManagerConstantsSet = false;\nfunction getConstants(): Object {\n if (!isNativeUIManagerConstantsSet) {\n NativeUIManagerConstants = NativeUIManager.getConstants();\n isNativeUIManagerConstantsSet = true;\n }\n return NativeUIManagerConstants;\n}\n\nconst UIManagerJS = {\n /* $FlowFixMe(>=0.111.0 site=react_native_fb) This comment suppresses an\n * error found when Flow v0.111 was deployed. To see the error, delete this\n * comment and run Flow. */\n ...NativeUIManager,\n getConstants(): Object {\n return getConstants();\n },\n getViewManagerConfig: function(viewManagerName: string): any {\n if (\n viewManagerConfigs[viewManagerName] === undefined &&\n NativeUIManager.getConstantsForViewManager\n ) {\n try {\n viewManagerConfigs[\n viewManagerName\n ] = NativeUIManager.getConstantsForViewManager(viewManagerName);\n } catch (e) {\n viewManagerConfigs[viewManagerName] = null;\n }\n }\n\n const config = viewManagerConfigs[viewManagerName];\n if (config) {\n return config;\n }\n\n // If we're in the Chrome Debugger, let's not even try calling the sync\n // method.\n if (!global.nativeCallSyncHook) {\n return config;\n }\n\n if (\n NativeUIManager.lazilyLoadView &&\n !triedLoadingConfig.has(viewManagerName)\n ) {\n const result = NativeUIManager.lazilyLoadView(viewManagerName);\n triedLoadingConfig.add(viewManagerName);\n if (result.viewConfig) {\n getConstants()[viewManagerName] = result.viewConfig;\n lazifyViewManagerConfig(viewManagerName);\n }\n }\n\n return viewManagerConfigs[viewManagerName];\n },\n};\n\n// TODO (T45220498): Remove this.\n// 3rd party libs may be calling `NativeModules.UIManager.getViewManagerConfig()`\n// instead of `UIManager.getViewManagerConfig()` off UIManager.js.\n// This is a workaround for now.\n// $FlowFixMe\nNativeUIManager.getViewManagerConfig = UIManagerJS.getViewManagerConfig;\n\nfunction lazifyViewManagerConfig(viewName) {\n const viewConfig = getConstants()[viewName];\n viewManagerConfigs[viewName] = viewConfig;\n if (viewConfig.Manager) {\n defineLazyObjectProperty(viewConfig, 'Constants', {\n get: () => {\n const viewManager = NativeModules[viewConfig.Manager];\n const constants = {};\n viewManager &&\n Object.keys(viewManager).forEach(key => {\n const value = viewManager[key];\n if (typeof value !== 'function') {\n constants[key] = value;\n }\n });\n return constants;\n },\n });\n defineLazyObjectProperty(viewConfig, 'Commands', {\n get: () => {\n const viewManager = NativeModules[viewConfig.Manager];\n const commands = {};\n let index = 0;\n viewManager &&\n Object.keys(viewManager).forEach(key => {\n const value = viewManager[key];\n if (typeof value === 'function') {\n commands[key] = index++;\n }\n });\n return commands;\n },\n });\n }\n}\n\n/**\n * Copies the ViewManager constants and commands into UIManager. This is\n * only needed for iOS, which puts the constants in the ViewManager\n * namespace instead of UIManager, unlike Android.\n */\nif (Platform.OS === 'ios') {\n Object.keys(getConstants()).forEach(viewName => {\n lazifyViewManagerConfig(viewName);\n });\n} else if (getConstants().ViewManagerNames) {\n NativeUIManager.getConstants().ViewManagerNames.forEach(viewManagerName => {\n defineLazyObjectProperty(NativeUIManager, viewManagerName, {\n get: () => NativeUIManager.getConstantsForViewManager(viewManagerName),\n });\n });\n}\n\nif (!global.nativeCallSyncHook) {\n Object.keys(getConstants()).forEach(viewManagerName => {\n if (!UIManagerProperties.includes(viewManagerName)) {\n if (!viewManagerConfigs[viewManagerName]) {\n viewManagerConfigs[viewManagerName] = getConstants()[viewManagerName];\n }\n defineLazyObjectProperty(NativeUIManager, viewManagerName, {\n get: () => {\n console.warn(\n `Accessing view manager configs directly off UIManager via UIManager['${viewManagerName}'] ` +\n `is no longer supported. Use UIManager.getViewManagerConfig('${viewManagerName}') instead.`,\n );\n\n return UIManagerJS.getViewManagerConfig(viewManagerName);\n },\n });\n }\n });\n}\n\nmodule.exports = UIManagerJS;\n","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => Object;\n +getConstantsForViewManager: (viewManagerName: string) => Object;\n +getDefaultEventTypes: () => Array;\n +playTouchSound: () => void;\n +lazilyLoadView: (name: string) => Object; // revisit return\n +createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: number,\n props: Object,\n ) => void;\n +updateView: (reactTag: number, viewName: string, props: Object) => void;\n +focus: (reactTag: ?number) => void;\n +blur: (reactTag: ?number) => void;\n +findSubviewIn: (\n reactTag: ?number,\n point: Array,\n callback: (\n nativeViewTag: number,\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +dispatchViewManagerCommand: (\n reactTag: ?number,\n commandID: number,\n commandArgs: ?Array,\n ) => void;\n +measure: (\n reactTag: ?number,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n pageX: number,\n pageY: number,\n ) => void,\n ) => void;\n +measureInWindow: (\n reactTag: ?number,\n callback: (x: number, y: number, width: number, height: number) => void,\n ) => void;\n +viewIsDescendantOf: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n callback: (result: Array) => void,\n ) => void;\n +measureLayout: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +measureLayoutRelativeToParent: (\n reactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +setJSResponder: (reactTag: ?number, blockNativeResponder: boolean) => void;\n +clearJSResponder: () => void;\n +configureNextLayoutAnimation: (\n config: Object,\n callback: () => void, // check what is returned here\n errorCallback: (error: Object) => void,\n ) => void;\n +removeSubviewsFromContainerWithID: (containerID: number) => void;\n +replaceExistingNonRootView: (\n reactTag: ?number,\n newReactTag: ?number,\n ) => void;\n +setChildren: (containerTag: ?number, reactTags: Array) => void;\n +manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ) => void;\n\n // Android only\n +setLayoutAnimationEnabledExperimental: (enabled: boolean) => void;\n +sendAccessibilityEvent: (reactTag: ?number, eventType: number) => void;\n +showPopupMenu: (\n reactTag: ?number,\n items: Array,\n error: (error: Object) => void,\n success: (event: string, selected?: number) => void,\n ) => void;\n +dismissPopupMenu: () => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('UIManager'): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport NativePlatformConstantsAndroid from './NativePlatformConstantsAndroid';\n\nexport type PlatformSelectSpec = {\n android?: A,\n native?: N,\n default?: D,\n ...\n};\n\nconst Platform = {\n __constants: null,\n OS: 'android',\n get Version(): number {\n return this.constants.Version;\n },\n get constants(): {|\n isTesting: boolean,\n reactNativeVersion: {|\n major: number,\n minor: number,\n patch: number,\n prerelease: ?number,\n |},\n Version: number,\n Release: string,\n Serial: string,\n Fingerprint: string,\n Model: string,\n ServerHost: string,\n uiMode: string,\n |} {\n if (this.__constants == null) {\n this.__constants = NativePlatformConstantsAndroid.getConstants();\n }\n return this.__constants;\n },\n get isTesting(): boolean {\n if (__DEV__) {\n return this.constants.isTesting;\n }\n return false;\n },\n get isTV(): boolean {\n return this.constants.uiMode === 'tv';\n },\n select: (spec: PlatformSelectSpec): A | N | D =>\n 'android' in spec\n ? spec.android\n : 'native' in spec\n ? spec.native\n : spec.default,\n};\n\nmodule.exports = Platform;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n isTesting: boolean,\n reactNativeVersion: {|\n major: number,\n minor: number,\n patch: number,\n prerelease: ?number,\n |},\n Version: number,\n Release: string,\n Serial: string,\n Fingerprint: string,\n Model: string,\n ServerHost: string,\n uiMode: string,\n |};\n +getAndroidID: () => string;\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'PlatformConstants',\n): Spec);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\n/**\n * The list of non-ViewManager related UIManager properties.\n *\n * In an effort to improve startup performance by lazily loading view managers,\n * the interface to access view managers will change from\n * UIManager['viewManagerName'] to UIManager.getViewManagerConfig('viewManagerName').\n * By using a function call instead of a property access, the UIManager will\n * be able to initialize and load the required view manager from native\n * synchronously. All of React Native's core components have been updated to\n * use getViewManagerConfig(). For the next few releases, any usage of\n * UIManager['viewManagerName'] will result in a warning. Because React Native\n * does not support Proxy objects, a view manager access is implied if any of\n * UIManager's properties that are not one of the properties below is being\n * accessed. Once UIManager property accesses for view managers has been fully\n * deprecated, this file will also be removed.\n */\nmodule.exports = [\n 'clearJSResponder',\n 'configureNextLayoutAnimation',\n 'createView',\n 'dismissPopupMenu',\n 'dispatchViewManagerCommand',\n 'findSubviewIn',\n 'getConstantsForViewManager',\n 'getDefaultEventTypes',\n 'manageChildren',\n 'measure',\n 'measureInWindow',\n 'measureLayout',\n 'measureLayoutRelativeToParent',\n 'playTouchSound',\n 'removeRootView',\n 'removeSubviewsFromContainerWithID',\n 'replaceExistingNonRootView',\n 'sendAccessibilityEvent',\n 'setChildren',\n 'setJSResponder',\n 'setLayoutAnimationEnabledExperimental',\n 'showPopupMenu',\n 'updateView',\n 'viewIsDescendantOf',\n 'PopupMenu',\n 'LazyViewManagersEnabled',\n 'ViewManagerNames',\n 'StyleConstants',\n 'AccessibilityEventTypes',\n 'UIView',\n 'getViewManagerConfig',\n 'blur',\n 'focus',\n 'genericBubblingEventTypes',\n 'genericDirectEventTypes',\n 'lazilyLoadView',\n];\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\nconst StyleSheet = require('../../StyleSheet/StyleSheet');\nconst View = require('../View/View');\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nconst PlatformActivityIndicator =\n Platform.OS === 'android'\n ? require('../ProgressBarAndroid/ProgressBarAndroid')\n : require('./ActivityIndicatorViewNativeComponent').default;\n\nconst GRAY = '#999999';\n\ntype IndicatorSize = number | 'small' | 'large';\n\ntype IOSProps = $ReadOnly<{|\n /**\n * Whether the indicator should hide when not animating (true by default).\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#hideswhenstopped\n */\n hidesWhenStopped?: ?boolean,\n|}>;\ntype Props = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n\n /**\n * Whether to show the indicator (true, the default) or hide it (false).\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#animating\n */\n animating?: ?boolean,\n\n /**\n * The foreground color of the spinner (default is gray).\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#color\n */\n color?: ?string,\n\n /**\n * Size of the indicator (default is 'small').\n * Passing a number to the size prop is only supported on Android.\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html#size\n */\n size?: ?IndicatorSize,\n|}>;\n\n/**\n * Displays a circular loading indicator.\n *\n * See http://facebook.github.io/react-native/docs/activityindicator.html\n */\nconst ActivityIndicator = (props: Props, forwardedRef?: any) => {\n const {onLayout, style, size, ...restProps} = props;\n let sizeStyle;\n let sizeProp;\n\n switch (size) {\n case 'small':\n sizeStyle = styles.sizeSmall;\n sizeProp = 'small';\n break;\n case 'large':\n sizeStyle = styles.sizeLarge;\n sizeProp = 'large';\n break;\n default:\n sizeStyle = {height: props.size, width: props.size};\n break;\n }\n\n const nativeProps = {\n ...restProps,\n ref: forwardedRef,\n style: sizeStyle,\n size: sizeProp,\n };\n\n const androidProps = {\n styleAttr: 'Normal',\n indeterminate: true,\n };\n\n return (\n \n {Platform.OS === 'android' ? (\n // $FlowFixMe Flow doesn't know when this is the android component\n \n ) : (\n /* $FlowFixMe(>=0.106.0 site=react_native_android_fb) This comment\n * suppresses an error found when Flow v0.106 was deployed. To see the\n * error, delete this comment and run Flow. */\n \n )}\n \n );\n};\n\nconst ActivityIndicatorWithRef: React.AbstractComponent<\n Props,\n HostComponent,\n> = React.forwardRef(ActivityIndicator);\nActivityIndicatorWithRef.displayName = 'ActivityIndicator';\n\n/* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an error\n * found when Flow v0.89 was deployed. To see the error, delete this comment\n * and run Flow. */\nActivityIndicatorWithRef.defaultProps = {\n animating: true,\n color: Platform.OS === 'ios' ? GRAY : null,\n hidesWhenStopped: true,\n size: 'small',\n};\n\nconst styles = StyleSheet.create({\n container: {\n alignItems: 'center',\n justifyContent: 'center',\n },\n sizeSmall: {\n width: 20,\n height: 20,\n },\n sizeLarge: {\n width: 36,\n height: 36,\n },\n});\n\nmodule.exports = ActivityIndicatorWithRef;\n","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose;","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/** @license React v16.11.0\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var h=require(\"object-assign\"),n=\"function\"===typeof Symbol&&Symbol.for,p=n?Symbol.for(\"react.element\"):60103,q=n?Symbol.for(\"react.portal\"):60106,r=n?Symbol.for(\"react.fragment\"):60107,t=n?Symbol.for(\"react.strict_mode\"):60108,u=n?Symbol.for(\"react.profiler\"):60114,v=n?Symbol.for(\"react.provider\"):60109,w=n?Symbol.for(\"react.context\"):60110,x=n?Symbol.for(\"react.forward_ref\"):60112,y=n?Symbol.for(\"react.suspense\"):60113;n&&Symbol.for(\"react.suspense_list\");\nvar z=n?Symbol.for(\"react.memo\"):60115,aa=n?Symbol.for(\"react.lazy\"):60116;n&&Symbol.for(\"react.fundamental\");n&&Symbol.for(\"react.responder\");n&&Symbol.for(\"react.scope\");var A=\"function\"===typeof Symbol&&Symbol.iterator;\nfunction B(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cP.length&&P.push(a)}\nfunction S(a,b,c,e){var d=typeof a;if(\"undefined\"===d||\"boolean\"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case \"string\":case \"number\":g=!0;break;case \"object\":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,\"\"===b?\".\"+T(a,0):b),1;g=0;b=\"\"===b?\".\":b+\":\";if(Array.isArray(a))for(var l=0;l's `style` prop. This ensures call sites of the component\n * can't pass styles that View doesn't support such as `fontSize`.`\n *\n * type Props = {style: ViewStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type ViewStyleProp = ____ViewStyleProp_Internal;\n\n/**\n * This type should be used as the type for a prop that is passed through\n * to a 's `style` prop. This ensures call sites of the component\n * can't pass styles that Text doesn't support such as `resizeMode`.`\n *\n * type Props = {style: TextStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type TextStyleProp = ____TextStyleProp_Internal;\n\n/**\n * This type should be used as the type for a prop that is passed through\n * to an 's `style` prop. This ensures call sites of the component\n * can't pass styles that Image doesn't support such as `fontSize`.`\n *\n * type Props = {style: ImageStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type ImageStyleProp = ____ImageStyleProp_Internal;\n\n/**\n * WARNING: You probably shouldn't be using this type. This type\n * is similar to the ones above except it allows styles that are accepted\n * by all of View, Text, or Image. It is therefore very unsafe to pass this\n * through to an underlying component. Using this is almost always a mistake\n * and using one of the other more restrictive types is likely the right choice.\n */\nexport type DangerouslyImpreciseStyleProp = ____DangerouslyImpreciseStyleProp_Internal;\n\n/**\n * Utility type for getting the values for specific style keys.\n *\n * The following is bad because position is more restrictive than 'string':\n * ```\n * type Props = {position: string};\n * ```\n *\n * You should use the following instead:\n *\n * ```\n * type Props = {position: TypeForStyleKey<'position'>};\n * ```\n *\n * This will correctly give you the type 'absolute' | 'relative'\n */\nexport type TypeForStyleKey<\n +key: $Keys<____DangerouslyImpreciseStyle_Internal>,\n> = $ElementType<____DangerouslyImpreciseStyle_Internal, key>;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for View.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using ViewStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to a View that can't be precomputed with\n * StyleSheet.create.\n */\nexport type ViewStyle = ____ViewStyle_Internal;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for Text.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using TextStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to a Text that can't be precomputed with\n * StyleSheet.create.\n */\nexport type TextStyle = ____TextStyle_Internal;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for Image.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using ImageStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to an Image that can't be precomputed with\n * StyleSheet.create.\n */\nexport type ImageStyle = ____ImageStyle_Internal;\n\n/**\n * WARNING: You probably shouldn't be using this type. This type is an object\n * with all possible style keys and their values. Note that this isn't\n * a safe way to type a style prop for a component as results from\n * StyleSheet.create return an internal identifier, not an object of styles.\n *\n * If you want to type the style prop of a function, consider using\n * ViewStyleProp, TextStyleProp, or ImageStyleProp.\n *\n * This should only be used by very core utilities that operate on an object\n * containing any possible style value.\n */\nexport type DangerouslyImpreciseStyle = ____DangerouslyImpreciseStyle_Internal;\n\nlet hairlineWidth: number = PixelRatio.roundToNearestPixel(0.4);\nif (hairlineWidth === 0) {\n hairlineWidth = 1 / PixelRatio.get();\n}\n\nconst absoluteFill = {\n position: 'absolute',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n};\nif (__DEV__) {\n Object.freeze(absoluteFill);\n}\n\n/**\n * A StyleSheet is an abstraction similar to CSS StyleSheets\n *\n * Create a new StyleSheet:\n *\n * ```\n * const styles = StyleSheet.create({\n * container: {\n * borderRadius: 4,\n * borderWidth: 0.5,\n * borderColor: '#d6d7da',\n * },\n * title: {\n * fontSize: 19,\n * fontWeight: 'bold',\n * },\n * activeTitle: {\n * color: 'red',\n * },\n * });\n * ```\n *\n * Use a StyleSheet:\n *\n * ```\n * \n * \n * \n * ```\n *\n * Code quality:\n *\n * - By moving styles away from the render function, you're making the code\n * easier to understand.\n * - Naming the styles is a good way to add meaning to the low level components\n * in the render function.\n *\n * Performance:\n *\n * - Making a stylesheet from a style object makes it possible to refer to it\n * by ID instead of creating a new style object every time.\n * - It also allows to send the style only once through the bridge. All\n * subsequent uses are going to refer an id (not implemented yet).\n */\nmodule.exports = {\n /**\n * This is defined as the width of a thin line on the platform. It can be\n * used as the thickness of a border or division between two elements.\n * Example:\n * ```\n * {\n * borderBottomColor: '#bbb',\n * borderBottomWidth: StyleSheet.hairlineWidth\n * }\n * ```\n *\n * This constant will always be a round number of pixels (so a line defined\n * by it look crisp) and will try to match the standard width of a thin line\n * on the underlying platform. However, you should not rely on it being a\n * constant size, because on different platforms and screen densities its\n * value may be calculated differently.\n *\n * A line with hairline width may not be visible if your simulator is downscaled.\n */\n hairlineWidth,\n\n /**\n * A very common pattern is to create overlays with position absolute and zero positioning,\n * so `absoluteFill` can be used for convenience and to reduce duplication of these repeated\n * styles.\n */\n absoluteFill: (absoluteFill: any), // TODO: This should be updated after we fix downstream Flow sites.\n\n /**\n * Sometimes you may want `absoluteFill` but with a couple tweaks - `absoluteFillObject` can be\n * used to create a customized entry in a `StyleSheet`, e.g.:\n *\n * const styles = StyleSheet.create({\n * wrapper: {\n * ...StyleSheet.absoluteFillObject,\n * top: 10,\n * backgroundColor: 'transparent',\n * },\n * });\n */\n absoluteFillObject: absoluteFill,\n\n /**\n * Combines two styles such that `style2` will override any styles in `style1`.\n * If either style is falsy, the other one is returned without allocating an\n * array, saving allocations and maintaining reference equality for\n * PureComponent checks.\n */\n compose(\n style1: ?T,\n style2: ?T,\n ): ?T | $ReadOnlyArray {\n if (style1 != null && style2 != null) {\n return ([style1, style2]: $ReadOnlyArray);\n } else {\n return style1 != null ? style1 : style2;\n }\n },\n\n /**\n * Flattens an array of style objects, into one aggregated style object.\n * Alternatively, this method can be used to lookup IDs, returned by\n * StyleSheet.register.\n *\n * > **NOTE**: Exercise caution as abusing this can tax you in terms of\n * > optimizations.\n * >\n * > IDs enable optimizations through the bridge and memory in general. Referring\n * > to style objects directly will deprive you of these optimizations.\n *\n * Example:\n * ```\n * const styles = StyleSheet.create({\n * listItem: {\n * flex: 1,\n * fontSize: 16,\n * color: 'white'\n * },\n * selectedListItem: {\n * color: 'green'\n * }\n * });\n *\n * StyleSheet.flatten([styles.listItem, styles.selectedListItem])\n * // returns { flex: 1, fontSize: 16, color: 'green' }\n * ```\n * Alternative use:\n * ```\n * StyleSheet.flatten(styles.listItem);\n * // return { flex: 1, fontSize: 16, color: 'white' }\n * // Simply styles.listItem would return its ID (number)\n * ```\n * This method internally uses `StyleSheetRegistry.getStyleByID(style)`\n * to resolve style objects represented by IDs. Thus, an array of style\n * objects (instances of StyleSheet.create), are individually resolved to,\n * their respective objects, merged as one and then returned. This also explains\n * the alternative use.\n */\n flatten,\n\n /**\n * WARNING: EXPERIMENTAL. Breaking changes will probably happen a lot and will\n * not be reliably announced. The whole thing might be deleted, who knows? Use\n * at your own risk.\n *\n * Sets a function to use to pre-process a style property value. This is used\n * internally to process color and transform values. You should not use this\n * unless you really know what you are doing and have exhausted other options.\n */\n setStyleAttributePreprocessor(\n property: string,\n process: (nextProp: mixed) => mixed,\n ) {\n let value;\n\n if (ReactNativeStyleAttributes[property] === true) {\n value = {};\n } else if (typeof ReactNativeStyleAttributes[property] === 'object') {\n value = ReactNativeStyleAttributes[property];\n } else {\n console.error(`${property} is not a valid style attribute`);\n return;\n }\n\n if (__DEV__ && typeof value.process === 'function') {\n console.warn(`Overwriting ${property} style attribute preprocessor`);\n }\n\n ReactNativeStyleAttributes[property] = {...value, process};\n },\n\n /**\n * Creates a StyleSheet style reference from the given object.\n */\n create<+S: ____Styles_Internal>(obj: S): $ObjMap any> {\n // TODO: This should return S as the return type. But first,\n // we need to codemod all the callsites that are typing this\n // return value as a number (even though it was opaque).\n if (__DEV__) {\n for (const key in obj) {\n StyleSheetValidation.validateStyle(key, obj);\n if (obj[key]) {\n Object.freeze(obj[key]);\n }\n }\n }\n return obj;\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst Dimensions = require('./Dimensions');\n\n/**\n * PixelRatio class gives access to the device pixel density.\n *\n * ## Fetching a correctly sized image\n *\n * You should get a higher resolution image if you are on a high pixel density\n * device. A good rule of thumb is to multiply the size of the image you display\n * by the pixel ratio.\n *\n * ```\n * var image = getImage({\n * width: PixelRatio.getPixelSizeForLayoutSize(200),\n * height: PixelRatio.getPixelSizeForLayoutSize(100),\n * });\n * \n * ```\n *\n * ## Pixel grid snapping\n *\n * In iOS, you can specify positions and dimensions for elements with arbitrary\n * precision, for example 29.674825. But, ultimately the physical display only\n * have a fixed number of pixels, for example 640×960 for iPhone 4 or 750×1334\n * for iPhone 6. iOS tries to be as faithful as possible to the user value by\n * spreading one original pixel into multiple ones to trick the eye. The\n * downside of this technique is that it makes the resulting element look\n * blurry.\n *\n * In practice, we found out that developers do not want this feature and they\n * have to work around it by doing manual rounding in order to avoid having\n * blurry elements. In React Native, we are rounding all the pixels\n * automatically.\n *\n * We have to be careful when to do this rounding. You never want to work with\n * rounded and unrounded values at the same time as you're going to accumulate\n * rounding errors. Having even one rounding error is deadly because a one\n * pixel border may vanish or be twice as big.\n *\n * In React Native, everything in JavaScript and within the layout engine works\n * with arbitrary precision numbers. It's only when we set the position and\n * dimensions of the native element on the main thread that we round. Also,\n * rounding is done relative to the root rather than the parent, again to avoid\n * accumulating rounding errors.\n *\n */\nclass PixelRatio {\n /**\n * Returns the device pixel density. Some examples:\n *\n * - PixelRatio.get() === 1\n * - mdpi Android devices (160 dpi)\n * - PixelRatio.get() === 1.5\n * - hdpi Android devices (240 dpi)\n * - PixelRatio.get() === 2\n * - iPhone 4, 4S\n * - iPhone 5, 5c, 5s\n * - iPhone 6\n * - iPhone 7\n * - iPhone 8\n * - iPhone SE\n * - xhdpi Android devices (320 dpi)\n * - PixelRatio.get() === 3\n * - iPhone 6 Plus\n * - iPhone 7 Plus\n * - iPhone 8 Plus\n * - iPhone X\n * - xxhdpi Android devices (480 dpi)\n * - PixelRatio.get() === 3.5\n * - Nexus 6\n */\n static get(): number {\n return Dimensions.get('window').scale;\n }\n\n /**\n * Returns the scaling factor for font sizes. This is the ratio that is used to calculate the\n * absolute font size, so any elements that heavily depend on that should use this to do\n * calculations.\n *\n * If a font scale is not set, this returns the device pixel ratio.\n *\n * Currently this is only implemented on Android and reflects the user preference set in\n * Settings > Display > Font size, on iOS it will always return the default pixel ratio.\n * @platform android\n */\n static getFontScale(): number {\n return Dimensions.get('window').fontScale || PixelRatio.get();\n }\n\n /**\n * Converts a layout size (dp) to pixel size (px).\n *\n * Guaranteed to return an integer number.\n */\n static getPixelSizeForLayoutSize(layoutSize: number): number {\n return Math.round(layoutSize * PixelRatio.get());\n }\n\n /**\n * Rounds a layout size (dp) to the nearest layout size that corresponds to\n * an integer number of pixels. For example, on a device with a PixelRatio\n * of 3, `PixelRatio.roundToNearestPixel(8.4) = 8.33`, which corresponds to\n * exactly (8.33 * 3) = 25 pixels.\n */\n static roundToNearestPixel(layoutSize: number): number {\n const ratio = PixelRatio.get();\n return Math.round(layoutSize * ratio) / ratio;\n }\n\n // No-op for iOS, but used on the web. Should not be documented.\n static startDetecting() {}\n}\n\nmodule.exports = PixelRatio;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport EventEmitter from '../vendor/emitter/EventEmitter';\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport NativeDeviceInfo, {\n type DisplayMetrics,\n type DimensionsPayload,\n} from './NativeDeviceInfo';\nimport invariant from 'invariant';\n\ntype DimensionsValue = {\n window?: DisplayMetrics,\n screen?: DisplayMetrics,\n ...\n};\n\nconst eventEmitter = new EventEmitter();\nlet dimensionsInitialized = false;\nlet dimensions: DimensionsValue;\n\nclass Dimensions {\n /**\n * NOTE: `useWindowDimensions` is the preffered API for React components.\n *\n * Initial dimensions are set before `runApplication` is called so they should\n * be available before any other require's are run, but may be updated later.\n *\n * Note: Although dimensions are available immediately, they may change (e.g\n * due to device rotation) so any rendering logic or styles that depend on\n * these constants should try to call this function on every render, rather\n * than caching the value (for example, using inline styles rather than\n * setting a value in a `StyleSheet`).\n *\n * Example: `const {height, width} = Dimensions.get('window');`\n *\n * @param {string} dim Name of dimension as defined when calling `set`.\n * @returns {Object?} Value for the dimension.\n */\n static get(dim: string): Object {\n invariant(dimensions[dim], 'No dimension set for key ' + dim);\n return dimensions[dim];\n }\n\n /**\n * This should only be called from native code by sending the\n * didUpdateDimensions event.\n *\n * @param {object} dims Simple string-keyed object of dimensions to set\n */\n static set(dims: $ReadOnly<{[key: string]: any, ...}>): void {\n // We calculate the window dimensions in JS so that we don't encounter loss of\n // precision in transferring the dimensions (which could be non-integers) over\n // the bridge.\n let {screen, window} = dims;\n const {windowPhysicalPixels} = dims;\n if (windowPhysicalPixels) {\n window = {\n width: windowPhysicalPixels.width / windowPhysicalPixels.scale,\n height: windowPhysicalPixels.height / windowPhysicalPixels.scale,\n scale: windowPhysicalPixels.scale,\n fontScale: windowPhysicalPixels.fontScale,\n };\n }\n const {screenPhysicalPixels} = dims;\n if (screenPhysicalPixels) {\n screen = {\n width: screenPhysicalPixels.width / screenPhysicalPixels.scale,\n height: screenPhysicalPixels.height / screenPhysicalPixels.scale,\n scale: screenPhysicalPixels.scale,\n fontScale: screenPhysicalPixels.fontScale,\n };\n } else if (screen == null) {\n screen = window;\n }\n\n dimensions = {window, screen};\n if (dimensionsInitialized) {\n // Don't fire 'change' the first time the dimensions are set.\n eventEmitter.emit('change', dimensions);\n } else {\n dimensionsInitialized = true;\n }\n }\n\n /**\n * Add an event handler. Supported events:\n *\n * - `change`: Fires when a property within the `Dimensions` object changes. The argument\n * to the event handler is an object with `window` and `screen` properties whose values\n * are the same as the return values of `Dimensions.get('window')` and\n * `Dimensions.get('screen')`, respectively.\n */\n static addEventListener(type: 'change', handler: Function) {\n invariant(\n type === 'change',\n 'Trying to subscribe to unknown event: \"%s\"',\n type,\n );\n eventEmitter.addListener(type, handler);\n }\n\n /**\n * Remove an event handler.\n */\n static removeEventListener(type: 'change', handler: Function) {\n invariant(\n type === 'change',\n 'Trying to remove listener for unknown event: \"%s\"',\n type,\n );\n eventEmitter.removeListener(type, handler);\n }\n}\n\nlet initialDims: ?$ReadOnly<{[key: string]: any, ...}> =\n global.nativeExtensions &&\n global.nativeExtensions.DeviceInfo &&\n global.nativeExtensions.DeviceInfo.Dimensions;\nif (!initialDims) {\n // Subscribe before calling getConstants to make sure we don't miss any updates in between.\n RCTDeviceEventEmitter.addListener(\n 'didUpdateDimensions',\n (update: DimensionsPayload) => {\n Dimensions.set(update);\n },\n );\n // Can't use NativeDeviceInfo in ComponentScript because it does not support NativeModules,\n // but has nativeExtensions instead.\n initialDims = NativeDeviceInfo.getConstants().Dimensions;\n}\n\nDimensions.set(initialDims);\n\nmodule.exports = Dimensions;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\ntype DisplayMetricsAndroid = {|\n width: number,\n height: number,\n scale: number,\n fontScale: number,\n densityDpi: number,\n|};\n\nexport type DisplayMetrics = {|\n width: number,\n height: number,\n scale: number,\n fontScale: number,\n|};\n\nexport type DimensionsPayload = {|\n window?: DisplayMetrics,\n screen?: DisplayMetrics,\n windowPhysicalPixels?: DisplayMetricsAndroid,\n screenPhysicalPixels?: DisplayMetricsAndroid,\n|};\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n +Dimensions: DimensionsPayload,\n +isIPhoneX_deprecated?: boolean,\n |};\n}\n\nconst NativeModule: Spec = TurboModuleRegistry.getEnforcing('DeviceInfo');\n\nconst NativeDeviceInfo = NativeModule;\n\nexport default NativeDeviceInfo;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format strict-local\n * @flow\n */\n\n'use strict';\n\nconst DeprecatedImageStylePropTypes = require('../../DeprecatedPropTypes/DeprecatedImageStylePropTypes');\nconst DeprecatedTextStylePropTypes = require('../../DeprecatedPropTypes/DeprecatedTextStylePropTypes');\nconst DeprecatedViewStylePropTypes = require('../../DeprecatedPropTypes/DeprecatedViewStylePropTypes');\n\nconst processColor = require('../../StyleSheet/processColor');\nconst processTransform = require('../../StyleSheet/processTransform');\nconst sizesDiffer = require('../../Utilities/differ/sizesDiffer');\n\ntype ReturnBoolType = (V) => true;\ntype BoolifiedDeprecatedViewStylePropTypes = $ObjMap<\n typeof DeprecatedViewStylePropTypes,\n ReturnBoolType,\n>;\ntype BoolifiedDeprecatedTextStylePropTypes = $ObjMapi<\n typeof DeprecatedTextStylePropTypes,\n ReturnBoolType,\n>;\ntype BoolifiedDeprecatedImageStylePropTypes = $ObjMapi<\n typeof DeprecatedImageStylePropTypes,\n ReturnBoolType,\n>;\n\ntype StyleAttributesType = {\n ...BoolifiedDeprecatedViewStylePropTypes,\n ...BoolifiedDeprecatedTextStylePropTypes,\n ...BoolifiedDeprecatedImageStylePropTypes,\n transform: $ReadOnly<{|process: typeof processTransform|}> | true,\n shadowOffset: $ReadOnly<{|diff: typeof sizesDiffer|}> | true,\n backgroundColor: typeof colorAttributes | true,\n borderBottomColor: typeof colorAttributes | true,\n borderColor: typeof colorAttributes | true,\n borderLeftColor: typeof colorAttributes | true,\n borderRightColor: typeof colorAttributes | true,\n borderTopColor: typeof colorAttributes | true,\n borderStartColor: typeof colorAttributes | true,\n borderEndColor: typeof colorAttributes | true,\n color: typeof colorAttributes | true,\n shadowColor: typeof colorAttributes | true,\n textDecorationColor: typeof colorAttributes | true,\n tintColor: typeof colorAttributes | true,\n textShadowColor: typeof colorAttributes | true,\n overlayColor: typeof colorAttributes | true,\n ...\n};\n\nconst ReactNativeStyleAttributes: StyleAttributesType = {};\n\nfor (const attributeName of Object.keys({\n ...DeprecatedViewStylePropTypes,\n ...DeprecatedTextStylePropTypes,\n ...DeprecatedImageStylePropTypes,\n})) {\n ReactNativeStyleAttributes[attributeName] = true;\n}\n\nReactNativeStyleAttributes.transform = {process: processTransform};\nReactNativeStyleAttributes.shadowOffset = {diff: sizesDiffer};\n\nconst colorAttributes = {process: processColor};\nReactNativeStyleAttributes.backgroundColor = colorAttributes;\nReactNativeStyleAttributes.borderBottomColor = colorAttributes;\nReactNativeStyleAttributes.borderColor = colorAttributes;\nReactNativeStyleAttributes.borderLeftColor = colorAttributes;\nReactNativeStyleAttributes.borderRightColor = colorAttributes;\nReactNativeStyleAttributes.borderTopColor = colorAttributes;\nReactNativeStyleAttributes.borderStartColor = colorAttributes;\nReactNativeStyleAttributes.borderEndColor = colorAttributes;\nReactNativeStyleAttributes.color = colorAttributes;\nReactNativeStyleAttributes.shadowColor = colorAttributes;\nReactNativeStyleAttributes.textDecorationColor = colorAttributes;\nReactNativeStyleAttributes.tintColor = colorAttributes;\nReactNativeStyleAttributes.textShadowColor = colorAttributes;\nReactNativeStyleAttributes.overlayColor = colorAttributes;\n\nmodule.exports = ReactNativeStyleAttributes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedLayoutPropTypes = require('./DeprecatedLayoutPropTypes');\nconst DeprecatedShadowPropTypesIOS = require('./DeprecatedShadowPropTypesIOS');\nconst DeprecatedTransformPropTypes = require('./DeprecatedTransformPropTypes');\nconst ReactPropTypes = require('prop-types');\n\nconst ImageStylePropTypes = {\n ...DeprecatedLayoutPropTypes,\n ...DeprecatedShadowPropTypesIOS,\n ...DeprecatedTransformPropTypes,\n resizeMode: (ReactPropTypes.oneOf([\n 'center',\n 'contain',\n 'cover',\n 'repeat',\n 'stretch',\n ]): React$PropType$Primitive<\n 'center' | 'contain' | 'cover' | 'repeat' | 'stretch',\n >),\n backfaceVisibility: (ReactPropTypes.oneOf([\n 'visible',\n 'hidden',\n ]): React$PropType$Primitive<'visible' | 'hidden'>),\n backgroundColor: DeprecatedColorPropType,\n borderColor: DeprecatedColorPropType,\n borderWidth: ReactPropTypes.number,\n borderRadius: ReactPropTypes.number,\n overflow: (ReactPropTypes.oneOf([\n 'visible',\n 'hidden',\n ]): React$PropType$Primitive<'visible' | 'hidden'>),\n\n /**\n * Changes the color of all the non-transparent pixels to the tintColor.\n */\n tintColor: DeprecatedColorPropType,\n opacity: ReactPropTypes.number,\n /**\n * When the image has rounded corners, specifying an overlayColor will\n * cause the remaining space in the corners to be filled with a solid color.\n * This is useful in cases which are not supported by the Android\n * implementation of rounded corners:\n * - Certain resize modes, such as 'contain'\n * - Animated GIFs\n *\n * A typical way to use this prop is with images displayed on a solid\n * background and setting the `overlayColor` to the same color\n * as the background.\n *\n * For details of how this works under the hood, see\n * http://frescolib.org/docs/rounded-corners-and-circles.html\n *\n * @platform android\n */\n overlayColor: ReactPropTypes.string,\n\n // Android-Specific styles\n borderTopLeftRadius: ReactPropTypes.number,\n borderTopRightRadius: ReactPropTypes.number,\n borderBottomLeftRadius: ReactPropTypes.number,\n borderBottomRightRadius: ReactPropTypes.number,\n};\n\nmodule.exports = ImageStylePropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst normalizeColor = require('../StyleSheet/normalizeColor');\n\nconst colorPropType = function(\n isRequired,\n props,\n propName,\n componentName,\n location,\n propFullName,\n) {\n const color = props[propName];\n if (color === undefined || color === null) {\n if (isRequired) {\n return new Error(\n 'Required ' +\n location +\n ' `' +\n (propFullName || propName) +\n '` was not specified in `' +\n componentName +\n '`.',\n );\n }\n return;\n }\n\n if (typeof color === 'number') {\n // Developers should not use a number, but we are using the prop type\n // both for user provided colors and for transformed ones. This isn't ideal\n // and should be fixed but will do for now...\n return;\n }\n\n if (normalizeColor(color) === null) {\n return new Error(\n 'Invalid ' +\n location +\n ' `' +\n (propFullName || propName) +\n '` supplied to `' +\n componentName +\n '`: ' +\n color +\n '\\n' +\n `Valid color formats are\n - '#f0f' (#rgb)\n - '#f0fc' (#rgba)\n - '#ff00ff' (#rrggbb)\n - '#ff00ff00' (#rrggbbaa)\n - 'rgb(255, 255, 255)'\n - 'rgba(255, 255, 255, 1.0)'\n - 'hsl(360, 100%, 100%)'\n - 'hsla(360, 100%, 100%, 1.0)'\n - 'transparent'\n - 'red'\n - 0xff00ff00 (0xrrggbbaa)\n`,\n );\n }\n};\n\nconst ColorPropType = colorPropType.bind(null, false /* isRequired */);\nColorPropType.isRequired = colorPropType.bind(null, true /* isRequired */);\n\nmodule.exports = ColorPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n/* eslint no-bitwise: 0 */\n\n'use strict';\n\nfunction normalizeColor(color: string | number): ?number {\n const matchers = getMatchers();\n let match;\n\n if (typeof color === 'number') {\n if (color >>> 0 === color && color >= 0 && color <= 0xffffffff) {\n return color;\n }\n return null;\n }\n\n // Ordered based on occurrences on Facebook codebase\n if ((match = matchers.hex6.exec(color))) {\n return parseInt(match[1] + 'ff', 16) >>> 0;\n }\n\n if (names.hasOwnProperty(color)) {\n return names[color];\n }\n\n if ((match = matchers.rgb.exec(color))) {\n return (\n // b\n ((parse255(match[1]) << 24) | // r\n (parse255(match[2]) << 16) | // g\n (parse255(match[3]) << 8) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers.rgba.exec(color))) {\n return (\n // b\n ((parse255(match[1]) << 24) | // r\n (parse255(match[2]) << 16) | // g\n (parse255(match[3]) << 8) |\n parse1(match[4])) >>> // a\n 0\n );\n }\n\n if ((match = matchers.hex3.exec(color))) {\n return (\n parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n 'ff', // a\n 16,\n ) >>> 0\n );\n }\n\n // https://drafts.csswg.org/css-color-4/#hex-notation\n if ((match = matchers.hex8.exec(color))) {\n return parseInt(match[1], 16) >>> 0;\n }\n\n if ((match = matchers.hex4.exec(color))) {\n return (\n parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n match[4] +\n match[4], // a\n 16,\n ) >>> 0\n );\n }\n\n if ((match = matchers.hsl.exec(color))) {\n return (\n (hslToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // s\n parsePercentage(match[3]), // l\n ) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers.hsla.exec(color))) {\n return (\n (hslToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // s\n parsePercentage(match[3]), // l\n ) |\n parse1(match[4])) >>> // a\n 0\n );\n }\n\n return null;\n}\n\nfunction hue2rgb(p: number, q: number, t: number): number {\n if (t < 0) {\n t += 1;\n }\n if (t > 1) {\n t -= 1;\n }\n if (t < 1 / 6) {\n return p + (q - p) * 6 * t;\n }\n if (t < 1 / 2) {\n return q;\n }\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n return p;\n}\n\nfunction hslToRgb(h: number, s: number, l: number): number {\n const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n const p = 2 * l - q;\n const r = hue2rgb(p, q, h + 1 / 3);\n const g = hue2rgb(p, q, h);\n const b = hue2rgb(p, q, h - 1 / 3);\n\n return (\n (Math.round(r * 255) << 24) |\n (Math.round(g * 255) << 16) |\n (Math.round(b * 255) << 8)\n );\n}\n\n// var INTEGER = '[-+]?\\\\d+';\nconst NUMBER = '[-+]?\\\\d*\\\\.?\\\\d+';\nconst PERCENTAGE = NUMBER + '%';\n\nfunction call(...args) {\n return '\\\\(\\\\s*(' + args.join(')\\\\s*,\\\\s*(') + ')\\\\s*\\\\)';\n}\n\nlet cachedMatchers;\n\nfunction getMatchers() {\n if (cachedMatchers === undefined) {\n cachedMatchers = {\n rgb: new RegExp('rgb' + call(NUMBER, NUMBER, NUMBER)),\n rgba: new RegExp('rgba' + call(NUMBER, NUMBER, NUMBER, NUMBER)),\n hsl: new RegExp('hsl' + call(NUMBER, PERCENTAGE, PERCENTAGE)),\n hsla: new RegExp('hsla' + call(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER)),\n hex3: /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex4: /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex6: /^#([0-9a-fA-F]{6})$/,\n hex8: /^#([0-9a-fA-F]{8})$/,\n };\n }\n return cachedMatchers;\n}\n\nfunction parse255(str: string): number {\n const int = parseInt(str, 10);\n if (int < 0) {\n return 0;\n }\n if (int > 255) {\n return 255;\n }\n return int;\n}\n\nfunction parse360(str: string): number {\n const int = parseFloat(str);\n return (((int % 360) + 360) % 360) / 360;\n}\n\nfunction parse1(str: string): number {\n const num = parseFloat(str);\n if (num < 0) {\n return 0;\n }\n if (num > 1) {\n return 255;\n }\n return Math.round(num * 255);\n}\n\nfunction parsePercentage(str: string): number {\n // parseFloat conveniently ignores the final %\n const int = parseFloat(str);\n if (int < 0) {\n return 0;\n }\n if (int > 100) {\n return 1;\n }\n return int / 100;\n}\n\nconst names = {\n transparent: 0x00000000,\n\n // http://www.w3.org/TR/css3-color/#svg-color\n aliceblue: 0xf0f8ffff,\n antiquewhite: 0xfaebd7ff,\n aqua: 0x00ffffff,\n aquamarine: 0x7fffd4ff,\n azure: 0xf0ffffff,\n beige: 0xf5f5dcff,\n bisque: 0xffe4c4ff,\n black: 0x000000ff,\n blanchedalmond: 0xffebcdff,\n blue: 0x0000ffff,\n blueviolet: 0x8a2be2ff,\n brown: 0xa52a2aff,\n burlywood: 0xdeb887ff,\n burntsienna: 0xea7e5dff,\n cadetblue: 0x5f9ea0ff,\n chartreuse: 0x7fff00ff,\n chocolate: 0xd2691eff,\n coral: 0xff7f50ff,\n cornflowerblue: 0x6495edff,\n cornsilk: 0xfff8dcff,\n crimson: 0xdc143cff,\n cyan: 0x00ffffff,\n darkblue: 0x00008bff,\n darkcyan: 0x008b8bff,\n darkgoldenrod: 0xb8860bff,\n darkgray: 0xa9a9a9ff,\n darkgreen: 0x006400ff,\n darkgrey: 0xa9a9a9ff,\n darkkhaki: 0xbdb76bff,\n darkmagenta: 0x8b008bff,\n darkolivegreen: 0x556b2fff,\n darkorange: 0xff8c00ff,\n darkorchid: 0x9932ccff,\n darkred: 0x8b0000ff,\n darksalmon: 0xe9967aff,\n darkseagreen: 0x8fbc8fff,\n darkslateblue: 0x483d8bff,\n darkslategray: 0x2f4f4fff,\n darkslategrey: 0x2f4f4fff,\n darkturquoise: 0x00ced1ff,\n darkviolet: 0x9400d3ff,\n deeppink: 0xff1493ff,\n deepskyblue: 0x00bfffff,\n dimgray: 0x696969ff,\n dimgrey: 0x696969ff,\n dodgerblue: 0x1e90ffff,\n firebrick: 0xb22222ff,\n floralwhite: 0xfffaf0ff,\n forestgreen: 0x228b22ff,\n fuchsia: 0xff00ffff,\n gainsboro: 0xdcdcdcff,\n ghostwhite: 0xf8f8ffff,\n gold: 0xffd700ff,\n goldenrod: 0xdaa520ff,\n gray: 0x808080ff,\n green: 0x008000ff,\n greenyellow: 0xadff2fff,\n grey: 0x808080ff,\n honeydew: 0xf0fff0ff,\n hotpink: 0xff69b4ff,\n indianred: 0xcd5c5cff,\n indigo: 0x4b0082ff,\n ivory: 0xfffff0ff,\n khaki: 0xf0e68cff,\n lavender: 0xe6e6faff,\n lavenderblush: 0xfff0f5ff,\n lawngreen: 0x7cfc00ff,\n lemonchiffon: 0xfffacdff,\n lightblue: 0xadd8e6ff,\n lightcoral: 0xf08080ff,\n lightcyan: 0xe0ffffff,\n lightgoldenrodyellow: 0xfafad2ff,\n lightgray: 0xd3d3d3ff,\n lightgreen: 0x90ee90ff,\n lightgrey: 0xd3d3d3ff,\n lightpink: 0xffb6c1ff,\n lightsalmon: 0xffa07aff,\n lightseagreen: 0x20b2aaff,\n lightskyblue: 0x87cefaff,\n lightslategray: 0x778899ff,\n lightslategrey: 0x778899ff,\n lightsteelblue: 0xb0c4deff,\n lightyellow: 0xffffe0ff,\n lime: 0x00ff00ff,\n limegreen: 0x32cd32ff,\n linen: 0xfaf0e6ff,\n magenta: 0xff00ffff,\n maroon: 0x800000ff,\n mediumaquamarine: 0x66cdaaff,\n mediumblue: 0x0000cdff,\n mediumorchid: 0xba55d3ff,\n mediumpurple: 0x9370dbff,\n mediumseagreen: 0x3cb371ff,\n mediumslateblue: 0x7b68eeff,\n mediumspringgreen: 0x00fa9aff,\n mediumturquoise: 0x48d1ccff,\n mediumvioletred: 0xc71585ff,\n midnightblue: 0x191970ff,\n mintcream: 0xf5fffaff,\n mistyrose: 0xffe4e1ff,\n moccasin: 0xffe4b5ff,\n navajowhite: 0xffdeadff,\n navy: 0x000080ff,\n oldlace: 0xfdf5e6ff,\n olive: 0x808000ff,\n olivedrab: 0x6b8e23ff,\n orange: 0xffa500ff,\n orangered: 0xff4500ff,\n orchid: 0xda70d6ff,\n palegoldenrod: 0xeee8aaff,\n palegreen: 0x98fb98ff,\n paleturquoise: 0xafeeeeff,\n palevioletred: 0xdb7093ff,\n papayawhip: 0xffefd5ff,\n peachpuff: 0xffdab9ff,\n peru: 0xcd853fff,\n pink: 0xffc0cbff,\n plum: 0xdda0ddff,\n powderblue: 0xb0e0e6ff,\n purple: 0x800080ff,\n rebeccapurple: 0x663399ff,\n red: 0xff0000ff,\n rosybrown: 0xbc8f8fff,\n royalblue: 0x4169e1ff,\n saddlebrown: 0x8b4513ff,\n salmon: 0xfa8072ff,\n sandybrown: 0xf4a460ff,\n seagreen: 0x2e8b57ff,\n seashell: 0xfff5eeff,\n sienna: 0xa0522dff,\n silver: 0xc0c0c0ff,\n skyblue: 0x87ceebff,\n slateblue: 0x6a5acdff,\n slategray: 0x708090ff,\n slategrey: 0x708090ff,\n snow: 0xfffafaff,\n springgreen: 0x00ff7fff,\n steelblue: 0x4682b4ff,\n tan: 0xd2b48cff,\n teal: 0x008080ff,\n thistle: 0xd8bfd8ff,\n tomato: 0xff6347ff,\n turquoise: 0x40e0d0ff,\n violet: 0xee82eeff,\n wheat: 0xf5deb3ff,\n white: 0xffffffff,\n whitesmoke: 0xf5f5f5ff,\n yellow: 0xffff00ff,\n yellowgreen: 0x9acd32ff,\n};\n\nmodule.exports = normalizeColor;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst ReactPropTypes = require('prop-types');\n\nconst LayoutPropTypes = {\n display: (ReactPropTypes.oneOf(['none', 'flex']): React$PropType$Primitive<\n 'none' | 'flex',\n >),\n width: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n height: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n start: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n end: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n top: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n left: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n right: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n bottom: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n minWidth: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n maxWidth: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n minHeight: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n maxHeight: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n margin: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginVertical: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginHorizontal: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginTop: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginBottom: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginLeft: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginRight: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginStart: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n marginEnd: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n padding: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingVertical: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingHorizontal: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingTop: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingBottom: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive),\n paddingLeft: (ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]): React$PropType$Primitive