diff --git a/android/app/src/main/assets/index.android.bundle b/android/app/src/main/assets/index.android.bundle index 3d4d20be..d0408ed5 100644 --- a/android/app/src/main/assets/index.android.bundle +++ b/android/app/src/main/assets/index.android.bundle @@ -3,7 +3,7 @@ var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date. !(function(n){var e=(function(){function n(n,e){return n}function e(n){var e={};return n.forEach(function(n,r){e[n]=!0}),e}function r(n,r,u){if(n.formatValueCalls++,n.formatValueCalls>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 p=r.name?': '+r.name:'';return n.stylize('[Function'+p+']','special')}if(g(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 g(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?g(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 a(n,r,u,s,e,j)}),n.seen.pop(),l(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=[],l=0,u=e.length;l-1&&(u=a?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(l)){if(a&&i.match(/^\d+$/))return u;(l=JSON.stringify(''+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(l=l.substr(1,l.length-2),l=n.stylize(l,'name')):(l=l.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),l=n.stylize(l,'string'))}return l+': '+u}function l(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 g(n){return p(n)&&'[object RegExp]'===h(n)}function p(n){return'object'==typeof n&&null!==n}function y(n){return p(n)&&'[object Date]'===h(n)}function d(n){return p(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 a(r){return function(){var a;a=1===arguments.length&&'string'==typeof arguments[0]?arguments[0]:Array.prototype.map.call(arguments,function(n){return e(n,{depth:10})}).join(', ');var l=r;'Warning: '===a.slice(0,9)&&l>=t.error&&(l=t.warn),n.__inspectorLog&&n.__inspectorLog(o[l],a,[].slice.call(arguments),i),s.length&&(a=g('',a)),n.nativeLoggingHook(a,l)}}function l(n,e){return Array.apply(null,Array(e)).map(function(){return n})}var u="\u2502",f="\u2510",c="\u2518",s=[];function g(n,e){return s.join('')+n+' '+(e||'')}if(n.nativeLoggingHook){n.console;n.console={error:a(t.error),info:a(t.info),log:a(t.info),warn:a(t.warn),trace:a(t.trace),debug:a(t.trace),table:function(e){if(!Array.isArray(e)){var o=e;for(var i in e=[],o)if(o.hasOwnProperty(i)){var a=o[i];a[r]=i,e.push(a)}}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;e0:b,R=t.overshootRight,y=void 0===R?_>0:R,E=v.Animated.add(h,p.interpolate({inputRange:[0,s],outputRange:[0,1]})).interpolate({inputRange:[-_-(y?1:l),-_,f,f+(A?1:l)],outputRange:[-_-(y||l>1?1:0),-_,f,f+(A||l>1?1:0)]});o._transX=E,o._showLeftAction=f>0?E.interpolate({inputRange:[-1,0,f],outputRange:[0,0,1]}):new v.Animated.Value(0),o._leftActionTranslate=o._showLeftAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'}),o._showRightAction=_>0?E.interpolate({inputRange:[-_,0,1],outputRange:[1,0,0]}):new v.Animated.Value(0),o._rightActionTranslate=o._showRightAction.interpolate({inputRange:[0,Number.MIN_VALUE],outputRange:[-1e4,0],extrapolate:'clamp'})},o._onTapHandlerStateChange=function(t){t.nativeEvent.oldState===w.State.ACTIVE&&o.close()},o._onHandlerStateChange=function(t){var n=t.nativeEvent;n.oldState===w.State.ACTIVE&&o._handleRelease(n)},o._handleRelease=function(t){var n=t.velocityX,s=t.translationX,l=o.state,p=l.leftWidth,h=void 0===p?0:p,u=l.rowWidth,f=void 0===u?0:u,c=l.rowState,v=o.state.rightOffset,w=f-(void 0===v?f:v),O=o.props,S=O.friction,b=O.leftThreshold,A=void 0===b?h/2:b,R=O.rightThreshold,y=void 0===R?w/2:R,E=o._currentOffset()+s/S,W=(s+_*n)/S,L=0;0===c?W>A?L=h:W<-y&&(L=-w):1===c?W>-A&&(L=h):W0&&o.props.onSwipeableLeftOpen?o.props.onSwipeableLeftOpen():n<0&&o.props.onSwipeableRightOpen&&o.props.onSwipeableRightOpen(),0===n?o.props.onSwipeableClose&&o.props.onSwipeableClose():o.props.onSwipeableOpen&&o.props.onSwipeableOpen())}),n>0&&o.props.onSwipeableLeftWillOpen?o.props.onSwipeableLeftWillOpen():n<0&&o.props.onSwipeableRightWillOpen&&o.props.onSwipeableRightWillOpen(),0===n?o.props.onSwipeableWillClose&&o.props.onSwipeableWillClose():o.props.onSwipeableWillOpen&&o.props.onSwipeableWillOpen()},o._onRowLayout=function(t){var n=t.nativeEvent;o.setState({rowWidth:n.layout.width})},o._currentOffset=function(){var t=o.state,n=t.leftWidth,s=void 0===n?0:n,l=t.rowWidth,p=void 0===l?0:l,h=t.rowState,u=o.state.rightOffset;return 1===h?s:-1===h?-(p-(void 0===u?p:u)):0},o.close=function(){o._animateRow(o._currentOffset(),0)},o.openLeft=function(){var t=o.state.leftWidth,n=void 0===t?0:t;o._animateRow(o._currentOffset(),n)},o.openRight=function(){var t=o.state.rowWidth,n=void 0===t?0:t,s=o.state.rightOffset,l=n-(void 0===s?n:s);o._animateRow(o._currentOffset(),-l)};var s=new v.Animated.Value(0);return o.state={dragX:s,rowTranslation:new v.Animated.Value(0),rowState:0,leftWidth:void 0,rightOffset:void 0,rowWidth:void 0},o._updateAnimatedEvent(t,o.state),o._onGestureEvent=v.Animated.event([{nativeEvent:{translationX:s}}],{useNativeDriver:t.useNativeAnimations}),o}return(0,f.default)(n,t),(0,p.default)(n,[{key:"UNSAFE_componentWillUpdate",value:function(t,n){this.props.friction===t.friction&&this.props.overshootLeft===t.overshootLeft&&this.props.overshootRight===t.overshootRight&&this.props.overshootFriction===t.overshootFriction&&this.state.leftWidth===n.leftWidth&&this.state.rightOffset===n.rightOffset&&this.state.rowWidth===n.rowWidth||this._updateAnimatedEvent(t,n)}},{key:"render",value:function(){var t=this,n=this.state.rowState,s=this.props,l=s.children,p=s.renderLeftActions,h=s.renderRightActions,u=p&&c.default.createElement(v.Animated.View,{style:[A.leftActions,{transform:[{translateX:this._leftActionTranslate}]}]},p(this._showLeftAction,this._transX),c.default.createElement(v.View,{onLayout:function(n){var o=n.nativeEvent;return t.setState({leftWidth:o.layout.x})}})),f=h&&c.default.createElement(v.Animated.View,{style:[A.rightActions,{transform:[{translateX:this._rightActionTranslate}]}]},h(this._showRightAction,this._transX),c.default.createElement(v.View,{onLayout:function(n){var o=n.nativeEvent;return t.setState({rightOffset:o.layout.x})}}));return c.default.createElement(w.PanGestureHandler,(0,o.default)({activeOffsetX:[-10,10]},this.props,{onGestureEvent:this._onGestureEvent,onHandlerStateChange:this._onHandlerStateChange}),c.default.createElement(v.Animated.View,{onLayout:this._onRowLayout,style:[A.container,this.props.containerStyle]},u,f,c.default.createElement(w.TapGestureHandler,{enabled:0!==n,onHandlerStateChange:this._onTapHandlerStateChange},c.default.createElement(v.Animated.View,{pointerEvents:0===n?'auto':'box-only',style:[{transform:[{translateX:this._transX}]},this.props.childrenContainerStyle]},l))))}}]),n})(c.Component);e.default=b,b.defaultProps={friction:1,overshootFriction:1,useNativeAnimations:!0};var A=v.StyleSheet.create({container:{overflow:'hidden'},leftActions:S({},v.StyleSheet.absoluteFillObject,{flexDirection:v.I18nManager.isRTL?'row-reverse':'row'}),rightActions:S({},v.StyleSheet.absoluteFillObject,{flexDirection:v.I18nManager.isRTL?'row':'row-reverse'})})},3,[4,1,6,7,8,9,10,12,13,15,18,380]); @@ -407,7 +407,7 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]),s=r(d[1]);Object.defineProperty(e,"__e __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 f=t(r(d[1])),u=t(r(d[2])),l=t(r(d[3])),o=u.default.forwardRef(function(t,o){return u.default.createElement(l.default,(0,f.default)({ref:o},t))});o.defaultProps=l.default.defaultProps,o.propTypes=l.default.publicPropTypes;var p=o;e.default=p},401,[1,6,15,400]); __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])),u=n(r(d[4])),c=n(r(d[5])),p=n(r(d[6])),f=n(r(d[7])),s=n(r(d[8])),y=n(r(d[9])),O=r(d[10]),h=t(r(d[11])),v=t(r(d[12])),E=n(r(d[13]));function b(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 T(t){for(var n=1;n3&&void 0!==arguments[3]&&arguments[3],l=o.indexOf(n,t),s=f?n.index:l,c=o.replaceAtIndex(n,l,u);return c.index=s,c},replaceAtIndex:function(n,o,f){if((0,u.default)(!!n.routes[o],'invalid index %s for replacing route %s',o,f.key),n.routes[o]===f&&o===n.index)return n;var l=n.routes.slice();return l[o]=f,(0,t.default)({},n,{index:o,routes:l})},reset:function(n,o,f){(0,u.default)(o.length&&Array.isArray(o),'invalid routes to replace');var l=void 0===f?o.length-1:f;if(n.routes.length===o.length&&n.index===l){if(n.routes.every(function(n,t){return o[t]===n}))return n}return(0,u.default)(!!o[l],'invalid index %s to reset',l),(0,t.default)({},n,{index:l,routes:o})}},f=o;e.default=f},407,[1,408,409]); @@ -739,7 +739,7 @@ __d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]);m.exports=(function(){"use s __d(function(g,r,i,a,m,e,d){var t=r(d[0]),o=r(d[1]);function n(t,o,n){this.db=t,this.query=o||{},n&&(this.execFn=n)}n.prototype.limit=function(t){return this._limit=t,this},n.prototype.skip=function(t){return this._skip=t,this},n.prototype.sort=function(t){return this._sort=t,this},n.prototype.projection=function(t){return this._projection=t,this},n.prototype.project=function(n){var s,c,u,h=[],p=this;return void 0===this._projection||0===Object.keys(this._projection).length?n:(s=0!==this._projection._id,this._projection=o.omit(this._projection,'_id'),(u=Object.keys(this._projection)).forEach(function(t){if(void 0!==c&&p._projection[t]!==c)throw new Error("Can't both keep and omit fields except for _id");c=p._projection[t]}),n.forEach(function(o){var n;1===c?(n={$set:{}},u.forEach(function(s){n.$set[s]=t.getDotValue(o,s),void 0===n.$set[s]&&delete n.$set[s]}),n=t.modify({},n)):(n={$unset:{}},u.forEach(function(t){n.$unset[t]=!0}),n=t.modify(o,n)),s?n._id=o._id:delete n._id,h.push(n)}),h)},n.prototype._exec=function(o){var n,s,c,u=[],h=0,p=0,f=this,_=null;function l(t,n){return f.execFn?f.execFn(t,n,o):o(t,n)}this.db.getCandidates(this.query,function(o,y){if(o)return l(o);try{for(n=0;np)p+=1;else if(u.push(y[n]),h+=1,f._limit&&f._limit<=h)break}catch(o){return l(o)}if(f._sort){s=Object.keys(f._sort);var j=[];for(n=0;n0&&this._events[h].length>l&&(this._events[h].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[h].length),'function'==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!s(n))throw TypeError('listener must be a function');var o=!1;function h(){this.removeListener(t,h),o||(o=!0,n.apply(this,arguments))}return h.listener=n,this.on(t,h),this},t.prototype.removeListener=function(t,o){var h,v,l,u;if(!s(o))throw TypeError('listener must be a function');if(!this._events||!this._events[t])return this;if(l=(h=this._events[t]).length,v=-1,h===o||s(h.listener)&&h.listener===o)delete this._events[t],this._events.removeListener&&this.emit('removeListener',t,o);else if(n(h)){for(u=l;u-- >0;)if(h[u]===o||h[u].listener&&h[u].listener===o){v=u;break}if(v<0)return this;1===h.length?(h.length=0,delete this._events[t]):h.splice(v,1),this._events.removeListener&&this.emit('removeListener',t,o)}return this},t.prototype.removeAllListeners=function(t){var n,o;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)'removeListener'!==n&&this.removeAllListeners(n);return this.removeAllListeners('removeListener'),this._events={},this}if(s(o=this._events[t]))this.removeListener(t,o);else if(o)for(;o.length;)this.removeListener(t,o[o.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?s(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.prototype.listenerCount=function(t){if(this._events){var n=this._events[t];if(s(n))return 1;if(n)return n.length}return 0},t.listenerCount=function(t,s){return t.listenerCount(s)}},735,[]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.MARKER_URL=e.videoUrl=e.configActionUrl=e.demandeActionUrl=e.locationActionUrl=e.networkActionUrl=e.memberActionUrl=e.adhesionUrl=e.baseUrl=e.isDebugMode=void 0;e.isDebugMode=!1;e.baseUrl="https://ilink-app.com/mobilebackend";e.adhesionUrl="https://ilink-app.com/mobilebackend/interacted/LoginAction.php";e.memberActionUrl="https://ilink-app.com/mobilebackend/interacted/MembersAction.php";e.networkActionUrl="https://ilink-app.com/mobilebackend/interacted/NetworkAction.php";e.locationActionUrl="https://ilink-app.com/mobilebackend/interacted/LocationAction.php";e.demandeActionUrl="https://ilink-app.com/mobilebackend/interacted/DemandeAction.php";e.configActionUrl="https://ilink-app.com/mobilebackend/interacted/ConfigAction.php";e.videoUrl="https://www.youtube.com/watch?v=wwGPDPsSLWY";e.MARKER_URL="https://ilink-app.com/mobilebackend/interacted/LocationAction.php"},736,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.authKeyData=e.MARKER_URL=e.videoUrl=e.authKeyUrl=e.walletActionUrl=e.configActionUrl=e.demandeActionUrl=e.locationActionUrl=e.networkActionUrl=e.memberActionUrl=e.adhesionUrl=e.testBaseUrl=e.baseUrl=e.isDebugMode=void 0;e.isDebugMode=!1;e.baseUrl="https://ilink-app.com/mobilebackend";e.testBaseUrl="https://test.ilink-app.com";e.adhesionUrl="https://ilink-app.com/mobilebackend/interacted/LoginAction.php";e.memberActionUrl="https://ilink-app.com/mobilebackend/interacted/MembersAction.php";e.networkActionUrl="https://ilink-app.com/mobilebackend/interacted/NetworkAction.php";e.locationActionUrl="https://ilink-app.com/mobilebackend/interacted/LocationAction.php";e.demandeActionUrl="https://ilink-app.com/mobilebackend/interacted/DemandeAction.php";e.configActionUrl="https://ilink-app.com/mobilebackend/interacted/ConfigAction.php";e.walletActionUrl="https://test.ilink-app.com/walletService/wallets";e.authKeyUrl="https://test.ilink-app.com/oauth/token";e.videoUrl="https://www.youtube.com/watch?v=wwGPDPsSLWY";e.MARKER_URL="https://ilink-app.com/mobilebackend/interacted/LocationAction.php";e.authKeyData={grant_type:"password",client_id:"2",client_secret:"rrbvxACJPBOG4cqjDNlstSljlmjydLon3P55JMav"}},736,[]); __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])),s=t(r(d[3])),c=r(d[4]),o=r(d[5]),l=(function(){function t(){(0,u.default)(this,t),this.setCurrentPas=function(t){return n.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,n.default.awrap(o.AsyncStorage.setItem('@config:pasObject',JSON.stringify(t.pas)));case 3:u.next=8;break;case 5:u.prev=5,u.t0=u.catch(0),console.warn(u.t0);case 8:c.db.update({"configuration.pas":{$exists:!0}},{configuration:{pas:t.pas}},{upsert:!0},function(t,n,u){console.log([t,n,u])});case 9:case"end":return u.stop()}},null,null,[[0,5]],Promise)},this._getPasData=function(){return new Promise(function(t,u){var s;return n.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,c.next=3,n.default.awrap(o.AsyncStorage.getItem('@config:pasObject'));case 3:s=c.sent,t(JSON.parse(s)),c.next=10;break;case 7:c.prev=7,c.t0=c.catch(0),u(c.t0);case 10:case"end":return c.stop()}},null,null,[[0,7]],Promise)})},this._storeData=function(t){return n.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,n.default.awrap(o.AsyncStorage.setItem('@config:lang',t.value));case 3:u.next=8;break;case 5:u.prev=5,u.t0=u.catch(0),console.warn(u.t0);case 8:case"end":return u.stop()}},null,null,[[0,5]],Promise)},this._getData=function(){return new Promise(function(t,u){var s;return n.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,c.next=3,n.default.awrap(o.AsyncStorage.getItem('@config:lang'));case 3:s=c.sent,t(s),c.next=10;break;case 7:c.prev=7,c.t0=c.catch(0),u(c.t0);case 10:case"end":return c.stop()}},null,null,[[0,7]],Promise)})}}return(0,s.default)(t,[{key:"getCurrentLangue",value:function(){var t;return n.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,n.default.awrap(_getData());case 2:(t=u.sent)?resolve(t):reject(t);case 4:case"end":return u.stop()}},null,null,null,Promise)}},{key:"getCurrentPasValue",value:function(){var t;return n.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,n.default.awrap(this._getPasData());case 2:if(!(t=u.sent)){u.next=7;break}return u.abrupt("return",t.valeur_int);case 7:return u.abrupt("return",t);case 8:case"end":return u.stop()}},null,this,null,Promise)}},{key:"getCurrentPubValue",value:function(){var t;return n.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,n.default.awrap(this._getPubData());case 2:if(t=u.sent,console.warn(t),!t){u.next=8;break}return u.abrupt("return",t.valeur_bool);case 8:return u.abrupt("return",t);case 9:case"end":return u.stop()}},null,this,null,Promise)}},{key:"setPubActive",value:function(t){return n.default.async(function(u){for(;;)switch(u.prev=u.next){case 0:if(u.prev=0,!t.pub){u.next=5;break}return u.next=4,n.default.awrap(o.AsyncStorage.setItem('pubObject',JSON.stringify(t.pub)));case 4:c.db.update({"configuration.pub":{$exists:!0}},{configuration:{pub:t.pub}},{upsert:!0},function(t,n,u){console.log([t,n,u])});case 5:u.next=10;break;case 7:u.prev=7,u.t0=u.catch(0),console.warn(u.t0);case 10:case"end":return u.stop()}},null,null,[[0,7]],Promise)}},{key:"_getPubData",value:function(){return new Promise(function(t,u){var s;return n.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,c.next=3,n.default.awrap(o.AsyncStorage.getItem('pubObject'));case 3:s=c.sent,t(JSON.parse(s)),c.next=10;break;case 7:c.prev=7,c.t0=c.catch(0),u(c.t0);case 10:case"end":return c.stop()}},null,null,[[0,7]],Promise)})}},{key:"setCurrentLangue",value:function(t){this._storeData(t),c.db.update({"configuration.lang":{$exists:!0}},{configuration:{lang:t}},{upsert:!0},function(t,n,u){console.log([t,n,u])})}}]),t})();e.default=l},737,[1,273,8,9,714,18]); __d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),o={};o.DBEvents=new t,o.create_db=function(t){var u=this;u.db_name=t,u.get=function(t,o){n.table(u.db_name).then(function(n){var u=n.where(t).find();o&&o(u)})},u.get_id=function(t,o){n.table(u.db_name).then(function(n){var u=n.get(t);o&&o(u)})},u.get_all=function(t){n.table(u.db_name).then(function(n){var o=n.databaseData[u.db_name];t&&t(o)})},u.add=function(t,f){n.table(u.db_name).then(function(n){n.add(t,function(n){f&&f(n),o.DBEvents.emit("all")})})},u.add_all=function(n,t){if(n.length<=0)return null;var o=[];!(function n(f){if(0==f.length&&t)return t(o);var c=f.pop();u.add(c,function(t){n(f),o.push(t)})})(n)},u.remove=function(t,o){n.table(u.db_name).then(function(n){n.where(t).remove(function(n){o&&o(n)})})},u.remove_id=function(t,f){n.table(u.db_name).then(function(n){n.removeById(t,function(n){f&&f(n),o.DBEvents.emit("all")})})},u.erase_db=function(t){n.table(u.db_name).then(function(n){n.remove(function(n){t&&t(n),o.DBEvents.emit("all")})})},u.update=function(t,f,c){n.table(u.db_name).then(function(n){n.where(t).update(f,function(n){c&&c(n),o.DBEvents.emit("all")})})},u.update_id=function(t,f,c){n.table(u.db_name).then(function(n){n.updateById(t,f,function(n){c&&c(n),o.DBEvents.emit("all")})})},u.remove_id=function(t,f){n.table(u.db_name).then(function(n){n.removeById(t,function(n){f&&f(n),o.DBEvents.emit("all")})})}},m.exports=o},738,[739,742]); __d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]).Promise,n=t.AsyncStorage,h={},o=function(t,s){return this.tableName=t,this.databaseData=s,this._where=null,this._limit=100,this._offset=0,this};h.createDataBase=function(){return new s(function(t,s){n.setItem("db_store",JSON.stringify({}),function(n){n?s(n):t()})})},h.saveTable=function(t,h){var o=this;return new s(function(s,f){o.getItem("db_store").then(function(o){o[t]=h||{totalrows:0,autoinc:1,rows:{}},n.setItem("db_store",JSON.stringify(o),function(t){t?f(t):s(o)})})})},h.table=function(t){var n=this;return new s(function(s,h){return n.getItem("db_store").then(function(h){if(h)if(h[t]){var f=new o(t,h||{});s(f)}else n.saveTable(t).then(function(n){var h=new o(t,n||{});s(h)});else n.createDataBase().then(function(){n.saveTable(t).then(function(n){var h=new o(t,n||{});s(h)})})})})},h.getItem=function(t){return new s(function(s,h){n.getItem(t,function(t,n){t?h(t):s(JSON.parse(n))})})},o.prototype.where=function(t){return this._where=t||null,this},o.prototype.limit=function(t){return this._limit=t||100,this},o.prototype.offset=function(t){return this._offset=t||0,this},o.prototype.init=function(){return this.where(),this.limit(),this.offset(),this},o.prototype.update=function(t,s){var n=[],o=this.databaseData[this.tableName].rows,f=!1;if(this._where&&(f=!0),f){for(var u in o){var l=!0;for(var b in this._where)o[u][b]!=this._where[b]&&(l=!1);if(l)for(var c in n.push(this.databaseData[this.tableName].rows[u]._id),t)this.databaseData[this.tableName].rows[u][c]=t[c]}h.saveTable(this.tableName,this.databaseData[this.tableName]).then(function(t){s&&s(t)},function(t){s&&s(t)}),this.init()}else s&&s(null)},o.prototype.updateById=function(t,s,n){return this.where({_id:t}),this.update(s,n)},o.prototype.remove=function(t){var s=[],n=this.databaseData[this.tableName].rows,o=[],f=!1;this._where&&(f=!0);var u=0;if(f)for(var l in n){var b=!0;for(var c in this._where)n[l][c]!=this._where[c]&&(b=!1);b&&(u+=1,o.push(this.databaseData[this.tableName].rows[l]._id),delete this.databaseData[this.tableName].rows[l],this.databaseData[this.tableName].totalrows--)}else for(var l in u=0,n)u+=1,o.push(this.databaseData[this.tableName].rows[l]._id),delete this.databaseData[this.tableName].rows[l],this.databaseData[this.tableName].totalrows--;this.init(),u===o.length&&t?h.saveTable(this.tableName,this.databaseData[this.tableName]).then(function(s){t&&t({results:s,deleted_ids:o})},function(n){(s.push(n),t)&&t({error:n,deleted_ids:o})}):t&&0===o.length&&t(null)},o.prototype.removeById=function(t,s){return this.where({_id:t}),this.remove(s)},o.prototype.add=function(t,s){var n=this.databaseData[this.tableName].autoinc;t._id=n,this.databaseData[this.tableName].rows[n]=t,this.databaseData[this.tableName].autoinc+=1,this.databaseData[this.tableName].totalrows+=1,h.saveTable(this.tableName,this.databaseData[this.tableName]).then(function(n){s&&s(t)},function(t){s&&s(t)}),this.init()},o.prototype.get=function(t){return this.where({_id:t}),this.find(1)},o.prototype.find=function(){var t=[],s=this.databaseData[this.tableName].rows,n=!1;if(this._where&&(n=!0),n)for(var h in s){var o=!1;for(var f in this._where){if(s[h][f]!=this._where[f]){o=!1;break}o=!0}o&&t.push(s[h])}else for(var h in s)t.push(s[h]);return'number'==typeof this._limit?t.slice(this._offset,this._limit+this._offset):(this.init(),t)},m.exports=h},739,[18,740]); @@ -812,9 +812,9 @@ __d(function(g,r,i,a,m,e,d){var n=r(d[0]);Object.defineProperty(e,"__esModule",{ __d(function(r,a,c,n,d,e,i){d.exports={primary:"#6784B1",primaryDark:"#637EA5",containerBackground:"#EEEEEE",primaryDarkAdvanced:"#637B9E",cardBackground:"#ffffff",accent:"#D86F22",accentLight:"#e27833",purpleLight:"#9b59b6",primaryLight:"#3498db",reddeconnect:"#ba000d"}},806,[]); __d(function(e,t,i,o,r,s,a){r.exports={discover:"ILink",stackRoot:"stackcenter",historiques:"Historique",options:"menu",drawer:"drawer",credrequester:"creditrequest",login:"Login",first:"Home",typeaccountcreate:"typeaccountcreate",simpleusercreate:"simpleusercreate",splashscreen:"spashscreen",useraccount:"useraccount",configurations:"configuration",notification:"notification",modalhistoryfilter:"filterhistory",superviseurgroup:"superviseurgroup",historyItemDetails:"historyItemDetails",forgotpass:"forgottenpass",confirmcode:"confirmcode",creationstep2:"step2",help:"help",modaloading:"modaloading",activateaccount:"activateaccout",addNetwork:"addNetwork",notificationView:"notificationview",generateNetwork:"generateNetwork",helpmenu:"helpMenu",updateinfo:"updateinformation",intersticielAds:"intersticielAds"}},807,[]); __d(function(g,r,i,a,m,e,d){var f=r(d[0])(r(d[1])),l=r(d[2]),n=r(d[3]),t=r(d[4]),s=r(d[5]);f.default.fallbacks=!0,f.default.translations={en:l,fr:t,ar:n,zh:s}},808,[1,712,809,810,811,812]); -__d(function(e,o,t,E,n,r,a){n.exports={WELCOME:"Welcome to iLink World !",WAITING_LONG:"Waiting for a moment",HELP:"Help",SIMPLE_USER:"Simple User",ABOUT:"About us",ACTION_TREAT_DEMAND:"Treat demand",ABOUT_TEXT:"iLink is an application that will facilitate your financial transactions near your location, and give you multiservice points near you.",GEOLOCATED_USER:"Geo located user",SUPERVISOR:"Supervisor",AGENT:"Agent",USER:"User",HYPERVISOR:"Hypervisor",OPEN:"Open",POSITION:"My position",TAKE_MY_PLACE:"Take my position",MAP:"The map",BSR:"Good evening",ACCOUNT_CREATED_SUCCESS:"Account created successfully.\nYou will receive in a few minutes an email and an SMS with your informations.\nWe will redirect you to the login page",OR_BIG:"OR",FOR_NUMB:"For the ",FILTER_DATE:"Filter date",SUBTITLE_ACTIVE_ACCOUNT:"Activate your account using the code that was sent on your email or phone number",ASK_FOR_CREDIT:"Apply for credit",ASK_CREDIT:"Credit applications",ASK_SUPERIOR_CREDIT:"Request credit from your manager",ASK_FOR_SUPERVISOR:"Requests from supervisors",ASK_HYPERVISOR:"Become a hypervisor",ASK_FOR_HYPERVISOR:"Ask to become a hypervisor",ASK_SUPERVISOR:"Become a Supervisor",ASK_FOR_SUPERVISOR1:"Ask to become a supervisor",CREDIT_ASK_FROM_MEMBERS:"Credit requests from your members",ASK_MEMBERS:"Membership applications",MY_ACCOUNT:"My account",WALLET:"Wallet",DEPOSIT:"Deposit",WITHDRAWAL:"Wirthdrawal",COMMISSION_ACCOUNT_TITLE:"Commission account",PRINCIPAL_ACCOUNT_TITLE:"Principal account",TRANSFER_TO_PRINCIPAL_ACCOUNT:"Transfer commissions",PRINCIPAL:"Principal",ENTER_YOUR_CARD_ID:"Please enter your bank card ID",SELECT_YOUR_WALLET:"Selec your wallet",THE_ACCOUNT:"Account ",NO_GEO_POINT_CODE:"You have no free geolocated point",NO_DEMAND_ADHESION:"You have no membership request",ACTIVATED:"has been activated",CREDIT_MANAGE:"Credit Management",GROUP_MANAGE:"Group Management",NOTIFICATIONS:"Notification",NO_NOTIFICATION:"You haven't any notification",CONFIGURATIONS:"Configuration",LOGOUT:"Sign Out",HINT_HOME_SEARCH:" Find a place, neighborhood or city ",MY_NETWORK:"My network",MY_GROUP:"My group",CHANGE_MAP:"Change map",CHANGE_NETWORK:"Change network",PRINT_ALL:"Show all",PRINT_MY_NETWORK:"View my network",MY_GROUP_MAP:"Map of my group",GROUP_MEMBERS:"The group members",NAME:"Last name(s)",FIRSTNAME:"First name(s) ",ADMIN:"Administrator",SUPER_ADMIN:"Super administrator",GEOLOCATED:"Geo located agent",DELETE_GEOLOCATED_USER:"Delete",ADDRESS:"Address",CREDIT:"Credit",NEXT:"Next",SPONSOR_CODE:"Sponsor Code",SOLDE_UNVAIBLE:"solde unavailable",TEXT_BIG_CREATE_AGENT_1:"Register as Agent",EMAIL:"Email",COUNTRY:"Country",LOADING_INFO:"Loading information...",LOADING_DESCRIPTION_COUNTRY:"Wait a moment ! we collect information about your country...",NETWORK:"Network",PHONE:"Phone",PHONE_NUMBER:"Phone",CHOICE_NETWORK:"Choose a network",COUNTRY_CHOICE:"Choose a country",LAST_STEP:"Last step",ACTIVE_ACCOUNT:"Activate the account !",LAST_STEP_TEXT:"Activate your account using the verification code that was sent to you on your e-mail address and on your phone number",NETWORK_CHOICE:"Choix du r\xe9seau",CHOICE_NETWORK_TEXT:"Define a network to display",NO_NETWORK_CORRESPONDING:"This network has no points",MENU_FILTER:"Distance Filter Menu",MY_DEMAND:"My requests",TEXT_FILTER_DISTANCE:"Set the distance to search (in km)",WAIT_LOADING_POSITION:"We need the position of your workplace",CONNEXION_SUCCESSFUL:"Connection successful!",UNABLE_TO_CONNECT:"The phone number and password are incorrect",TITLE_CHOICE_TYPE_ACCOUNT:"Choose the type of account you want to create",ALREADY_HAVE_AN_ACCOUNT:"Do you already have an account?",AGENT_ACCOUNT:"Agent Account",UNABLE_TO_CONNECT_TITLE:"Unable to connect",DISTANCE_ARROUND:"Around you",UNABLE_TO_CREATE_ACCOUNT:"Can not create an account",TO_YOU:"of you",TREAT_DEMAND:"Already treated",PHONE_NUMBER_ADMIN:"Transaction number",FAILED_TEXT_CONTACT_ADMIN:"Unable to create an account please contact administrators",HYPERVISOR_MUST_VALIDATE_SUPERVISOR:"Your validation code will be sent to you once your Hypervisor validates it",ACCOUNT_SUCCESSFULL_CREATED:"The account was successfully created.\nYou will receive in a few minutes an email and an SMS with your information.\nWe will redirect you to the login page",langue:{french:"French",english:"English"},ERROR_FILTER:"Error occurred during the filter",ERROR_FILTER_TEXT:"Problem encountered while filtering.",YOUR_THERE:"You are here",FILTER:"Filter",QUIT:"Quit",QUIT_:"Quit",APP_FULLNAME:"Ilink World",GUIDE_TITLE:"Welcome to the Guide of",GUIDE_USER_SIMPLE:"Guide for a user",GUIDE_AGENT:"Guide for an agent",REPOSITIONNING:"Repositioning",WRONG_PHONE_NUMBER:"Incorrect number!",WRONG_PASSWORD:"Incorrect password!",NETWORK_LOST:"Connection lost!",SHOW:"Show",CALL:"Call",FORGOTTEN_PASSWORD:"Forgot your password?",CONNECT_USER:"Connect",PASSWORD:"Password",CONFIRM_PASSWORD:"Confirm the password",PASSWORD_MODIFY:"Change your password",OLD_PASSWORD:"Old password",NEW_PASSWORD:"New password",CONFIRM_NEW_PASSWORD:"Confirm new password",AMOUNT:"Amount",STATUS:"Status",CANCEL:"Exit",TEXT_GUIDE_USER_1:"You have just connected.\n Your location is marked in the center of the map with the indication \"You are here\" ",TEXT_GUIDE_USER_3:"Clicking the '+' button will open the options menu",TEXT_GUIDE_USER_4:"Click on a marker to get the information on a point",TEXT_GUIDE_USER_2:"Click on the menu button at the top right to discover the menu and the disconnection option",TEXT_GUIDE_USER_5:"Click on the 'Filter' option to filter your points according to their distance from you",TEXT_GUIDE_USER_6:"Click on the 'Change network' option to display the points of other networks",TEXT_GUIDE_USER_7:"Click on the option 'Itinerary' to display the path to this point",TEXT_GUIDE_USER_10:"Consult the list of members of your group",TEXT_GUIDE_USER_11:"Click on the profile option to have information link to your account",CATEGORY:"Category",WAY:"Travel",ADD_NETWORK:"Add a network",POINT_NUMBER:"Number of points",SUPERIOR_CODE:"Sponsor code",ADD_SUCCES:"Add Successful",ADD_SUCCESS_TEXT:"The number has been added to the network successfully",MEMBER_CODE:"Member Code",MEMBER_INFO:"Member Information",DEMAND_INFO:"Information on the request",ACCOUNT_NOT_ACTIVE:"Your account is not activated",ENTER_VALIDATION_CODE:"Enter the validation code that was sent to you.",ENTER_VALIDATION_CODE1:"Enter the validation code.",SUPERVISOR_NUMBER:"Number of supervisors",GEOLOCATED_NUMBER:"Number of points per supervisor",ACTIVATE_ACCOUNT:"Activate account",SEND:"Send!",CHANGE_INFORMATION:"Change my information",VALIDATE:"Validate",CONNECT:"Connection",TEXT_BIG_CREATE_1:"Register as a User",TEXT_SUBTITLE_CREATE_1:"Fill in your personal information",USER_ACCOUNT:"User Account",USER_CONNECT:"User Login",GIVE_CONNECT_INFO:"Enter your login information",CREATE_ACCOUNT:"create an account",CHOOSE_LANGUAGE:"Choose the language",MODIFY_PASSWORD:"Forgotten password",CONTACT:"Contact",UPDATE:"... update",FAQ:"FAQ",UPDATE_POSITION_TEXT:"Update my position",YOU_ARE:"Are you?",GIVE_ID_FOR_RECOVERY:"Enter your username, we will send you a new password.",SELECT_ACCOUNT_TYPE:"Select an account type!",BRAVO:"Bravo!",HELP_CONGRAT_MESSAGE:"You now know how to use iLink",REPLAY_HELP:"Review the tutorial",BACK_TO_HELP_HOME:"Return to Help",USE_APP:"Use the application",HIDE_AT_STARTUP:"Hide at next start?",PATH_YOU_ARE:"You are in",PATH_TO_POINT:"From the point you clicked.",PATH_YOU_WILL:"You will be there",PRECISE_SEARCH:"Refine your search",SEARCH_DISTANCE:"Distance",SEARCH_5:"5 km",SEARCH_15:"15 km",SEARCH_20:"20 km",SEARCH_25:"25 km",SEARCH:"Search",SEE_VIDEO:"Watch the video",SEE_TUTO:"See the tutorial",SELECT_NETWORK:"Select your",DELETE:"Delete",FREE:"Available",SAVED:"Registered",ACCOUNT_INFO:"My Account Information",REGISTER_YOURSELF:"Register",REGISTRATION:"Registration",CHANGE_LANG_LABEL:"Change language",GIVE_PERSONNAL_INFO:"Fill in your personal information",YOUR_GEOLOCATION:"Your location",HISTORY_REQUEST:"Request History",ASK_REQUEST_HISTORY:"Request a history",GIVE_HISTORY_INFO:"Information about your history",HISTORY_TYPE:"Type",HISTORY_TYPE_ASK:"Requests",REQUEST_RECEIVE:"Requests received",MY_DEMANDE:"My requests",PHONE_TRANSACTION:"Transaction number",DEMAND_TEXT_FIRST_PART:"made a request for",REQUEST_SEND:"Request Sent",DEMAND_RECEIVE:"Requests received",TO_:"credit to",DEMAND_SEND_SUCCESFUL:"Your request has been sent successfully!",SAVE_HISTORY:"Save history",MAKE_REQUEST:"Make a request",DATE_WRONG:"The end date can not be earlier than the start date",LOADING_DOTS:"Loading...",LOADING_PROGRESS:"Loading",EMPTY_LIST_REQUEST:"No request",MEMBER_LIST:"List of members",FREE_CODE_LIST:"List of available codes",NO_ITEM_REQUEST:"No item matches,",MEMBERSHIP_REQUEST:"Membership applications",HISTORY_TYPE_REQUEST:"Queries",TREAT:"Processed",EXIT_TITLE:"Close iLink World!",EXIT_DESC:"Do you really want to close iLink World?",NO_TREAT:"Unprocessed",EXIT:"Close",PERIOD:"Period",DISCONNEXION:"Logout",DISCONNEXION_TEXT:"Are you sure you want to disconnect? This action will erase all your temporary data.",HISTORY_START:"Start",YES:"Yes",NO:"No",CONNEXION_LOST_CHECK:"Lost connection, please check your connection!",ACCOUNT_ACTIVATE_TEXT:"Your account has been activated successfully!",HISTORY_END:"End",DONT_VALIDATE_ACCOUNT:"Account not validated",CONNEXION_SUCCESSFULL_TEXT:"Successful login Welcome to iLink World!",UNVALIDATE_ACCOUNT_TEXT:"Your hypervisor has not yet verified your account",TEXT_NEED_POSITION:"Please update your location!",TITLE_NEED_POSITION:"Your location needs to be updated",POSITION_UPDATE_SUCCESS_TEXT:"Your location has been updated successfully!",UPDATE_SUCCESS:"Successful update!",TITLE_UPDATE_POSITION_FAILED:"Unable to update your location",TEXT_UPDATE_POSITION_FAILED_1:"Unable to retrieve your member code",TEXT_UPDATE_POSITION_FAILED_2:"Unable to retrieve your location",TITLE_ERROR_SURVENU:"An error has occurred!",TITLE_PROBLE_COME:"A problem has been encountered",TITLE_SUPPRESS_CONFIRM:"Confirm deletion",TEXT_SUPPRESS_CONFIRM:"Do you really want to delete this user ?",TEXT_ERROR_START_APPLICATION:"An error occurred while starting iLink World, please restart iLink World",TEXT_UNABLE_TO_GET_YOUR_POSITION:"Unable to retrieve your location, please make sure your GPS is enabled and restart iLink World",RESTART:"REPEAT",TEXT_UNABLE_TO_GET_COUNTRY_INFO:"Unable to retrieve information from your country, check your internet connection, click \" Ok \"to try again,",TITLE_UNABLE_TO_AUTORISE:"Failed to Authorize",MISSING_AUTORISATION_LOCATION:"iLink World is not authorized to access your location, please allow iLink World to access your location and restart iLink World",TEXT_FORGOTTEN_PASSWORD:"Enter your username, we will send you a new password",TEXT_NETWORK_UNABLE:"Network not available, want to try again?",LOADING_TEXT_MARKERS:"More points",LOADING_TEXT_MARKERS_2:"around,",UNABLE_GET_INFORMATION:"Problem of retrieval of information",UNABLE_GET_INFORMATION_TEXT:"Make sure your GPS is turned on and put in high precision mode and restart iLink World",TITLE_HELP_SOON:"Help not available!",HELP_SOON:"A tutorial helping you in understanding the features of the application will soon be available."}},809,[]); +__d(function(e,o,t,E,n,r,a){n.exports={WELCOME:"Welcome to iLink World !",WAITING_LONG:"Waiting for a moment",HELP:"Help",SIMPLE_USER:"Simple User",ABOUT:"About us",ACTION_TREAT_DEMAND:"Treat demand",ABOUT_TEXT:"iLink is an application that will facilitate your financial transactions near your location, and give you multiservice points near you.",GEOLOCATED_USER:"Geo located user",SUPERVISOR:"Supervisor",AGENT:"Agent",USER:"User",HYPERVISOR:"Hypervisor",OPEN:"Open",POSITION:"My position",TAKE_MY_PLACE:"Take my position",MAP:"The map",BSR:"Good evening",ACCOUNT_CREATED_SUCCESS:"Account created successfully.\nYou will receive in a few minutes an email and an SMS with your informations.\nWe will redirect you to the login page",OR_BIG:"OR",FOR_NUMB:"For the ",FILTER_DATE:"Filter date",SUBTITLE_ACTIVE_ACCOUNT:"Activate your account using the code that was sent on your email or phone number",ASK_FOR_CREDIT:"Apply for credit",ASK_CREDIT:"Credit applications",ASK_SUPERIOR_CREDIT:"Request credit from your manager",ASK_FOR_SUPERVISOR:"Requests from supervisors",ASK_HYPERVISOR:"Become a hypervisor",ASK_FOR_HYPERVISOR:"Ask to become a hypervisor",ASK_SUPERVISOR:"Become a Supervisor",ASK_FOR_SUPERVISOR1:"Ask to become a supervisor",CREDIT_ASK_FROM_MEMBERS:"Credit requests from your members",ASK_MEMBERS:"Membership applications",MY_ACCOUNT:"My account",WALLET:"Wallet",DEPOSIT:"Deposit",WITHDRAWAL:"Wirthdrawal",COMMISSION_ACCOUNT_TITLE:"Commission account",PRINCIPAL_ACCOUNT_TITLE:"Principal account",NO_WALLET_ACTIVED:"PNo wallet is activated for your account",TRANSFER_TO_PRINCIPAL_ACCOUNT:"Transfer commissions",PRINCIPAL:"Principal",ENTER_YOUR_CARD_ID:"Please enter your bank card ID",SELECT_YOUR_WALLET:"Selec your wallet",TRANSACTIONS:"Transactions",THE_ACCOUNT:"Account ",NO_GEO_POINT_CODE:"You have no free geolocated point",NO_DEMAND_ADHESION:"You have no membership request",ACTIVATED:"has been activated",CREDIT_MANAGE:"Credit Management",GROUP_MANAGE:"Group Management",NOTIFICATIONS:"Notification",NO_NOTIFICATION:"You haven't any notification",CONFIGURATIONS:"Configuration",LOGOUT:"Sign Out",HINT_HOME_SEARCH:" Find a place, neighborhood or city ",MY_NETWORK:"My network",MY_GROUP:"My group",CHANGE_MAP:"Change map",CHANGE_NETWORK:"Change network",PRINT_ALL:"Show all",PRINT_MY_NETWORK:"View my network",MY_GROUP_MAP:"Map of my group",GROUP_MEMBERS:"The group members",NAME:"Last name(s)",FIRSTNAME:"First name(s) ",ADMIN:"Administrator",SUPER_ADMIN:"Super administrator",GEOLOCATED:"Geo located agent",DELETE_GEOLOCATED_USER:"Delete",ADDRESS:"Address",CREDIT:"Credit",NEXT:"Next",SPONSOR_CODE:"Sponsor Code",SOLDE_UNVAIBLE:"solde unavailable",TEXT_BIG_CREATE_AGENT_1:"Register as Agent",EMAIL:"Email",COUNTRY:"Country",LOADING_INFO:"Loading information...",LOADING_DESCRIPTION_COUNTRY:"Wait a moment ! we collect information about your country...",NETWORK:"Network",PHONE:"Phone",PHONE_NUMBER:"Phone",CHOICE_NETWORK:"Choose a network",COUNTRY_CHOICE:"Choose a country",LAST_STEP:"Last step",ACTIVE_ACCOUNT:"Activate the account !",LAST_STEP_TEXT:"Activate your account using the verification code that was sent to you on your e-mail address and on your phone number",NETWORK_CHOICE:"Choix du r\xe9seau",CHOICE_NETWORK_TEXT:"Define a network to display",NO_NETWORK_CORRESPONDING:"This network has no points",MENU_FILTER:"Distance Filter Menu",MY_DEMAND:"My requests",TEXT_FILTER_DISTANCE:"Set the distance to search (in km)",WAIT_LOADING_POSITION:"We need the position of your workplace",CONNEXION_SUCCESSFUL:"Connection successful!",UNABLE_TO_CONNECT:"The phone number and password are incorrect",TITLE_CHOICE_TYPE_ACCOUNT:"Choose the type of account you want to create",ALREADY_HAVE_AN_ACCOUNT:"Do you already have an account?",AGENT_ACCOUNT:"Agent Account",UNABLE_TO_CONNECT_TITLE:"Unable to connect",DISTANCE_ARROUND:"Around you",UNABLE_TO_CREATE_ACCOUNT:"Can not create an account",TO_YOU:"of you",TREAT_DEMAND:"Already treated",PHONE_NUMBER_ADMIN:"Transaction number",FAILED_TEXT_CONTACT_ADMIN:"Unable to create an account please contact administrators",HYPERVISOR_MUST_VALIDATE_SUPERVISOR:"Your validation code will be sent to you once your Hypervisor validates it",ACCOUNT_SUCCESSFULL_CREATED:"The account was successfully created.\nYou will receive in a few minutes an email and an SMS with your information.\nWe will redirect you to the login page",langue:{french:"French",english:"English"},ERROR_FILTER:"Error occurred during the filter",ERROR_FILTER_TEXT:"Problem encountered while filtering.",YOUR_THERE:"You are here",FILTER:"Filter",QUIT:"Quit",QUIT_:"Quit",APP_FULLNAME:"Ilink World",GUIDE_TITLE:"Welcome to the Guide of",GUIDE_USER_SIMPLE:"Guide for a user",GUIDE_AGENT:"Guide for an agent",REPOSITIONNING:"Repositioning",WRONG_PHONE_NUMBER:"Incorrect number!",WRONG_PASSWORD:"Incorrect password!",NETWORK_LOST:"Connection lost!",SHOW:"Show",CALL:"Call",FORGOTTEN_PASSWORD:"Forgot your password?",CONNECT_USER:"Connect",PASSWORD:"Password",CONFIRM_PASSWORD:"Confirm the password",PASSWORD_MODIFY:"Change your password",OLD_PASSWORD:"Old password",NEW_PASSWORD:"New password",CONFIRM_NEW_PASSWORD:"Confirm new password",AMOUNT:"Amount",STATUS:"Status",CANCEL:"Exit",TEXT_GUIDE_USER_1:"You have just connected.\n Your location is marked in the center of the map with the indication \"You are here\" ",TEXT_GUIDE_USER_3:"Clicking the '+' button will open the options menu",TEXT_GUIDE_USER_4:"Click on a marker to get the information on a point",TEXT_GUIDE_USER_2:"Click on the menu button at the top right to discover the menu and the disconnection option",TEXT_GUIDE_USER_5:"Click on the 'Filter' option to filter your points according to their distance from you",TEXT_GUIDE_USER_6:"Click on the 'Change network' option to display the points of other networks",TEXT_GUIDE_USER_7:"Click on the option 'Itinerary' to display the path to this point",TEXT_GUIDE_USER_10:"Consult the list of members of your group",TEXT_GUIDE_USER_11:"Click on the profile option to have information link to your account",CATEGORY:"Category",WAY:"Travel",ADD_NETWORK:"Add a network",POINT_NUMBER:"Number of points",SUPERIOR_CODE:"Sponsor code",ADD_SUCCES:"Add Successful",ADD_SUCCESS_TEXT:"The number has been added to the network successfully",MEMBER_CODE:"Member Code",MEMBER_INFO:"Member Information",DEMAND_INFO:"Information on the request",ACCOUNT_NOT_ACTIVE:"Your account is not activated",ENTER_VALIDATION_CODE:"Enter the validation code that was sent to you.",ENTER_VALIDATION_CODE1:"Enter the validation code.",SUPERVISOR_NUMBER:"Number of supervisors",GEOLOCATED_NUMBER:"Number of points per supervisor",ACTIVATE_ACCOUNT:"Activate account",SEND:"Send!",CHANGE_INFORMATION:"Change my information",VALIDATE:"Validate",CONNECT:"Connection",TEXT_BIG_CREATE_1:"Register as a User",TEXT_SUBTITLE_CREATE_1:"Fill in your personal information",USER_ACCOUNT:"User Account",USER_CONNECT:"User Login",GIVE_CONNECT_INFO:"Enter your login information",CREATE_ACCOUNT:"create an account",CHOOSE_LANGUAGE:"Choose the language",MODIFY_PASSWORD:"Forgotten password",CONTACT:"Contact",UPDATE:"... update",FAQ:"FAQ",UPDATE_POSITION_TEXT:"Update my position",YOU_ARE:"Are you?",GIVE_ID_FOR_RECOVERY:"Enter your username, we will send you a new password.",SELECT_ACCOUNT_TYPE:"Select an account type!",BRAVO:"Bravo!",HELP_CONGRAT_MESSAGE:"You now know how to use iLink",REPLAY_HELP:"Review the tutorial",BACK_TO_HELP_HOME:"Return to Help",USE_APP:"Use the application",HIDE_AT_STARTUP:"Hide at next start?",PATH_YOU_ARE:"You are in",PATH_TO_POINT:"From the point you clicked.",PATH_YOU_WILL:"You will be there",PRECISE_SEARCH:"Refine your search",SEARCH_DISTANCE:"Distance",SEARCH_5:"5 km",SEARCH_15:"15 km",SEARCH_20:"20 km",SEARCH_25:"25 km",SEARCH:"Search",SEE_VIDEO:"Watch the video",SEE_TUTO:"See the tutorial",SELECT_NETWORK:"Select your",DELETE:"Delete",FREE:"Available",SAVED:"Registered",ACCOUNT_INFO:"My Account Information",REGISTER_YOURSELF:"Register",REGISTRATION:"Registration",CHANGE_LANG_LABEL:"Change language",GIVE_PERSONNAL_INFO:"Fill in your personal information",YOUR_GEOLOCATION:"Your location",HISTORY_REQUEST:"Request History",ASK_REQUEST_HISTORY:"Request a history",GIVE_HISTORY_INFO:"Information about your history",HISTORY_TYPE:"Type",HISTORY_TYPE_ASK:"Requests",REQUEST_RECEIVE:"Requests received",MY_DEMANDE:"My requests",PHONE_TRANSACTION:"Transaction number",DEMAND_TEXT_FIRST_PART:"made a request for",REQUEST_SEND:"Request Sent",DEMAND_RECEIVE:"Requests received",TO_:"credit to",DEMAND_SEND_SUCCESFUL:"Your request has been sent successfully!",SAVE_HISTORY:"Save history",MAKE_REQUEST:"Make a request",DATE_WRONG:"The end date can not be earlier than the start date",LOADING_DOTS:"Loading...",LOADING_PROGRESS:"Loading",EMPTY_LIST_REQUEST:"No request",MEMBER_LIST:"List of members",FREE_CODE_LIST:"List of available codes",NO_ITEM_REQUEST:"No item matches,",MEMBERSHIP_REQUEST:"Membership applications",HISTORY_TYPE_REQUEST:"Queries",TREAT:"Processed",EXIT_TITLE:"Close iLink World!",EXIT_DESC:"Do you really want to close iLink World?",NO_TREAT:"Unprocessed",EXIT:"Close",PERIOD:"Period",DISCONNEXION:"Logout",DISCONNEXION_TEXT:"Are you sure you want to disconnect? This action will erase all your temporary data.",HISTORY_START:"Start",YES:"Yes",NO:"No",CONNEXION_LOST_CHECK:"Lost connection, please check your connection!",ACCOUNT_ACTIVATE_TEXT:"Your account has been activated successfully!",HISTORY_END:"End",DONT_VALIDATE_ACCOUNT:"Account not validated",CONNEXION_SUCCESSFULL_TEXT:"Successful login Welcome to iLink World!",UNVALIDATE_ACCOUNT_TEXT:"Your hypervisor has not yet verified your account",TEXT_NEED_POSITION:"Please update your location!",TITLE_NEED_POSITION:"Your location needs to be updated",POSITION_UPDATE_SUCCESS_TEXT:"Your location has been updated successfully!",UPDATE_SUCCESS:"Successful update!",TITLE_UPDATE_POSITION_FAILED:"Unable to update your location",TEXT_UPDATE_POSITION_FAILED_1:"Unable to retrieve your member code",TEXT_UPDATE_POSITION_FAILED_2:"Unable to retrieve your location",TITLE_ERROR_SURVENU:"An error has occurred!",TITLE_PROBLE_COME:"A problem has been encountered",TITLE_SUPPRESS_CONFIRM:"Confirm deletion",TEXT_SUPPRESS_CONFIRM:"Do you really want to delete this user ?",TEXT_ERROR_START_APPLICATION:"An error occurred while starting iLink World, please restart iLink World",TEXT_UNABLE_TO_GET_YOUR_POSITION:"Unable to retrieve your location, please make sure your GPS is enabled and restart iLink World",RESTART:"REPEAT",TEXT_UNABLE_TO_GET_COUNTRY_INFO:"Unable to retrieve information from your country, check your internet connection, click \" Ok \"to try again,",TITLE_UNABLE_TO_AUTORISE:"Failed to Authorize",MISSING_AUTORISATION_LOCATION:"iLink World is not authorized to access your location, please allow iLink World to access your location and restart iLink World",TEXT_FORGOTTEN_PASSWORD:"Enter your username, we will send you a new password",TEXT_NETWORK_UNABLE:"Network not available, want to try again?",LOADING_TEXT_MARKERS:"More points",LOADING_TEXT_MARKERS_2:"around,",UNABLE_GET_INFORMATION:"Problem of retrieval of information",UNABLE_GET_INFORMATION_TEXT:"Make sure your GPS is turned on and put in high precision mode and restart iLink World",TITLE_HELP_SOON:"Help not available!",HELP_SOON:"A tutorial helping you in understanding the features of the application will soon be available."}},809,[]); __d(function(E,_,T,O,R,A,N){R.exports={WELCOME:"\u0645\u0631\u062d\u0628\u064b\u0627 \u0628\u0643\u0645 \u0641\u064a iLink World!",HELP:"\u0645\u0633\u0627\u0639\u062f\u0629",SIMPLE_USER:"\u0645\u0633\u062a\u062e\u062f\u0645 \u0628\u0633\u064a\u0637",GEOLOCATED_USER:"\u0627\u0644\u0645\u0648\u0642\u0639 \u0627\u0644\u062c\u063a\u0631\u0627\u0641\u064a \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645",SUPERVISOR:"\u0645\u0634\u0631\u0641",AGENT:"\u0648\u0643\u064a\u0644",USER:"User",HYPERVISOR:"\u0647\u0628\u0631\u0641\u064a\u0633\u0631",OPEN:"\u0627\u0641\u062a\u062d",POSITION:"\u0645\u0648\u0642\u0639\u064a",TAKE_MY_PLACE:"\u062e\u0630 \u0645\u0648\u0642\u0641\u064a",MAP:"\u0627\u0644\u062e\u0631\u064a\u0637\u0629",BSR:"\u0645\u0633\u0627\u0621 \u0627\u0644\u062e\u064a\u0631",OR_BIG:"\u0623\u0648",FOR_NUMB:"\u0644",SUBTITLE_ACTIVE_ACCOUNT:"\u0642\u0645 \u0628\u062a\u0646\u0634\u064a\u0637 \u062d\u0633\u0627\u0628\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0631\u0645\u0632 \u0627\u0644\u0630\u064a \u062a\u0645 \u0625\u0631\u0633\u0627\u0644\u0647 \u0625\u0644\u0649 \u0628\u0631\u064a\u062f\u0643 \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0623\u0648 \u0631\u0642\u0645 \u0647\u0627\u062a\u0641\u0643",ASK_FOR_CREDIT:"\u0627\u0644\u062a\u0642\u062f\u0645 \u0628\u0637\u0644\u0628 \u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0627\u0626\u062a\u0645\u0627\u0646",ASK_CREDIT:"\u0637\u0644\u0628\u0627\u062a \u0627\u0644\u0627\u0626\u062a\u0645\u0627\u0646",ASK_SUPERIOR_CREDIT:"\u0637\u0644\u0628 \u0631\u0635\u064a\u062f \u0645\u0646 \u0645\u062f\u064a\u0631\u0643",ASK_FOR_SUPERVISOR:"\u0637\u0644\u0628\u0627\u062a \u0627\u0644\u0645\u0634\u0631\u0641\u064a\u0646",ASK_HYPERVISOR:"\u0643\u0646 \u0645\u0634\u0631\u0641\u064b\u0627 \u0643\u0628\u064a\u0631\u064b\u0627",ASK_FOR_HYPERVISOR:"\u0627\u0637\u0644\u0628 \u0623\u0646 \u062a\u0635\u0628\u062d \u0645\u0634\u0631\u0641\u064b\u0627 \u0643\u0628\u064a\u0631\u064b\u0627",ASK_SUPERVISOR:"\u0643\u0646 \u0645\u0634\u0631\u0641\u064b\u0627",ASK_FOR_SUPERVISOR1:"\u0627\u0633\u0623\u0644 \u0644\u062a\u0635\u0628\u062d \u0645\u0634\u0631\u0641\u064b\u0627",CREDIT_ASK_FROM_MEMBERS:"\u0637\u0644\u0628\u0627\u062a \u0627\u0626\u062a\u0645\u0627\u0646 \u0645\u0646 \u0627\u0644\u0623\u0639\u0636\u0627\u0621",ASK_MEMBERS:"\u0637\u0644\u0628\u0627\u062a \u0627\u0644\u0639\u0636\u0648\u064a\u0629",MY_ACCOUNT:"\u062d\u0633\u0627\u0628\u064a",THE_ACCOUNT:"\u0627\u0644\u062d\u0633\u0627\u0628",NO_GEO_POINT_CODE:"\u0644\u064a\u0633 \u0644\u062f\u064a\u0643 \u0646\u0642\u0637\u0629 \u062a\u062d\u062f\u064a\u062f \u062c\u063a\u0631\u0627\u0641\u064a \u0645\u062c\u0627\u0646\u064a\u0629",NO_DEMAND_ADHESION:"\u0644\u064a\u0633 \u0644\u062f\u064a\u0643 \u0637\u0644\u0628 \u0639\u0636\u0648\u064a\u0629",ACTIVATED:"\u062a\u0645 \u062a\u0641\u0639\u064a\u0644\u0647",CREDIT_MANAGE:"\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0627\u0626\u062a\u0645\u0627\u0646",GROUP_MANAGE:"\u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629",NOTIFICATIONS:"\u0627\u0644\u0625\u062e\u0637\u0627\u0631",CONFIGURATIONS:"\u062a\u0643\u0648\u064a\u0646",LOGOUT:"\u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062e\u0631\u0648\u062c",HINT_HOME_SEARCH:"\u0627\u0628\u062d\u062b \u0639\u0646 \u0645\u0643\u0627\u0646 \u0623\u0648 \u062d\u064a \u0623\u0648 \u0645\u062f\u064a\u0646\u0629",MY_NETWORK:"\u0634\u0628\u0643\u062a\u064a",MY_GROUP:"\u0645\u062c\u0645\u0648\u0639\u062a\u064a",CHANGE_MAP:"\u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u062e\u0631\u064a\u0637\u0629",CHANGE_NETWORK:"\u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u0634\u0628\u0643\u0629",PRINT_ALL:"\u0625\u0638\u0647\u0627\u0631 \u0627\u0644\u0643\u0644",PRINT_MY_NETWORK:"\u0639\u0631\u0636 \u0634\u0628\u0643\u062a\u064a",MY_GROUP_MAP:"\u062e\u0631\u064a\u0637\u0629 \u0645\u062c\u0645\u0648\u0639\u062a\u064a",GROUP_MEMBERS:"\u0623\u0639\u0636\u0627\u0621 \u0627\u0644\u0645\u062c\u0645\u0648\u0639\u0629",NAME:"\u0627\u0633\u0645 \u0627\u0644\u0639\u0627\u0626\u0644\u0629 (\u0627\u0644\u0623\u0633\u0645\u0627\u0621)",FIRSTNAME:"\u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0623\u0648\u0644 (\u0627\u0644\u0623\u0633\u0645\u0627\u0621)",ADMIN:"\u0627\u0644\u0645\u0633\u0624\u0648\u0644",SUPER_ADMIN:"\u0645\u0634\u0631\u0641 \u0633\u0648\u0628\u0631",GEOLOCATED:"\u0627\u0644\u0648\u0643\u064a\u0644 \u0627\u0644\u062c\u063a\u0631\u0627\u0641\u064a \u0627\u0644\u0645\u062d\u062f\u062f",DELETE_GEOLOCATED_USER:"\u062d\u0630\u0641",ADDRESS:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",CREDIT:"\u0627\u0644\u0627\u0626\u062a\u0645\u0627\u0646",NEXT:"\u0627\u0644\u062a\u0627\u0644\u064a",SPONSOR_CODE:"\u0631\u0645\u0632 \u0627\u0644\u0631\u0627\u0639\u064a",TEXT_BIG_CREATE_AGENT_1:"\u0633\u062c\u0644 \u0643\u0639\u0627\u0645\u0644",EMAIL:"\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a",COUNTRY:"\u0627\u0644\u0628\u0644\u062f",LOADING_INFO:"\u062c\u0627\u0631\u064d \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a ...",LOADING_DESCRIPTION_COUNTRY:"\u0627\u0646\u062a\u0638\u0631 \u0644\u062d\u0638\u0629! \u0646\u062d\u0646 \u0646\u062c\u0645\u0639 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0639\u0646 \u0628\u0644\u062f\u0643 ...",NETWORK:"\u0627\u0644\u0634\u0628\u0643\u0629",PHONE:"\u0627\u0644\u0647\u0627\u062a\u0641",PHONE_NUMBER:"\u0627\u0644\u0647\u0627\u062a\u0641",CHOICE_NETWORK:"\u0627\u062e\u062a\u0631 \u0634\u0628\u0643\u0629",COUNTRY_CHOICE:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0628\u0644\u062f",LAST_STEP:"\u0627\u0644\u062e\u0637\u0648\u0629 \u0627\u0644\u0623\u062e\u064a\u0631\u0629",ACTIVE_ACCOUNT:"\u062a\u0646\u0634\u064a\u0637 \u0627\u0644\u062d\u0633\u0627\u0628!",LAST_STEP_TEXT:"\u0642\u0645 \u0628\u062a\u0646\u0634\u064a\u0637 \u062d\u0633\u0627\u0628\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0631\u0645\u0632 \u0627\u0644\u062a\u062d\u0642\u0642 \u0648\u0639\u0646\u0648\u0627\u0646 \u0628\u0631\u064a\u062f\u0643 \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0648\u0631\u0642\u0645 \u0647\u0627\u062a\u0641\u0643",NETWORK_CHOICE:"\u0627\u062e\u062a\u064a\u0627\u0631 \u0627\u0644\u0634\u0628\u0643\u0629",CHOICE_NETWORK_TEXT:"\u062a\u062d\u062f\u064a\u062f \u0634\u0628\u0643\u0629 \u0644\u0639\u0631\u0636\u0647\u0627",NO_NETWORK_CORRESPONDING:"\u0647\u0630\u0647 \u0627\u0644\u0634\u0628\u0643\u0629 \u0644\u0627 \u062a\u062d\u062a\u0648\u064a \u0639\u0644\u0649 \u0646\u0642\u0627\u0637",MENU_FILTER:"\u0642\u0627\u0626\u0645\u0629 \u0645\u0631\u0634\u062d \u0627\u0644\u0645\u0633\u0627\u0641\u0629",TEXT_FILTER_DISTANCE:"\u0627\u0636\u0628\u0637 \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0644\u0644\u0628\u062d\u062b (\u0628\u0627\u0644\u0643\u064a\u0644\u0648\u0645\u062a\u0631\u0627\u062a)",WAIT_LOADING_POSITION:"\u0646\u062d\u0646 \u0628\u062d\u0627\u062c\u0629 \u0625\u0644\u0649 \u0645\u0648\u0636\u0639 \u0645\u0643\u0627\u0646 \u0639\u0645\u0644\u0643",CONNECTION_SUCCESSFUL:"\u0627\u062a\u0635\u0627\u0644 \u0646\u0627\u062c\u062d!",UNABLE_TO_CONNECT:"\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641 \u0648\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u063a\u064a\u0631 \u0635\u062d\u064a\u062d\u064a\u0646",TITLE_CHOICE_TYPE_ACCOUNT:"\u0627\u062e\u062a\u0631 \u0646\u0648\u0639 \u0627\u0644\u062d\u0633\u0627\u0628 \u0627\u0644\u0630\u064a \u062a\u0631\u064a\u062f \u0625\u0646\u0634\u0627\u0621\u0647",ALREADY_HAVE_AN_ACCOUNT:"\u0647\u0644 \u0644\u062f\u064a\u0643 \u062d\u0633\u0627\u0628 \u0628\u0627\u0644\u0641\u0639\u0644\u061f",AGENT_ACCOUNT:"\u062d\u0633\u0627\u0628 \u0627\u0644\u0648\u0643\u064a\u0644",UNABLE_TO_CONNECT_TITLE:"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u0627\u0644\u0627\u062a\u0635\u0627\u0644",DISTANCE_ARROUND:"\u0645\u0646 \u062d\u0648\u0644\u0643",UNABLE_TO_CREATE_ACCOUNT:"\u0644\u0627 \u064a\u0645\u0643\u0646 \u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628",TO_YOU:"\u0645\u0646\u0643\u0645",PHONE_NUMBER_ADMIN:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0639\u0627\u0645\u0644\u0629",FAILED_TEXT_CONTACT_ADMIN:"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628 \u060c \u064a\u0631\u062c\u0649 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0627\u0644\u0645\u0633\u0624\u0648\u0644\u064a\u0646",HYPERVISOR_MUST_VALIDATE_SUPERVISOR:"\u0633\u064a\u0643\u0648\u0646 \u0631\u0645\u0632\u0643 \u0627\u0644\u0635\u062d\u064a\u062d \u0647\u0648 \u0623\u0646 \u0645\u0634\u0631\u0641\u0643 \u064a\u0642\u0648\u0645 \u0628\u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0635\u062d\u062a\u0647",ACCOUNT_SUCCESSFULL_CREATED:"\u062a\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062d\u0633\u0627\u0628 \u0628\u0646\u062c\u0627\u062d. \u0633\u062a\u062a\u0644\u0642\u0649 \u0628\u0636\u0639 \u062f\u0642\u0627\u0626\u0642 \u0625\u0644\u0649 \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0648\u0627\u0644\u0631\u0633\u0627\u0626\u0644 \u0627\u0644\u0646\u0635\u064a\u0629 \u0627\u0644\u0642\u0635\u064a\u0631\u0629 \u0645\u0639 \u0645\u0639\u0644\u0648\u0645\u0627\u062a\u0643.",langue:{french:"\u0627\u0644\u0641\u0631\u0646\u0633\u064a\u0629",english:"\u0627\u0644\u0625\u0646\u062c\u0644\u064a\u0632\u064a\u0629"},ERROR_FILTER:"\u062d\u062f\u062b \u062e\u0637\u0623 \u0623\u062b\u0646\u0627\u0621 \u0627\u0644\u062a\u0635\u0641\u064a\u0629",ERROR_FILTER_TEXT:"\u062d\u062f\u062b\u062a \u0645\u0634\u0643\u0644\u0629 \u0623\u062b\u0646\u0627\u0621 \u0627\u0644\u062a\u0635\u0641\u064a\u0629.",YOUR_THERE:"\u0623\u0646\u062a \u0647\u0646\u0627","\u0645\u0631\u0634\u062d":"\u062a\u0635\u0641\u064a\u0629",APP_FULLNAME:"Ilink World",GUIDE_TITLE:"\u0645\u0631\u062d\u0628\u064b\u0627 \u0628\u0643 \u0641\u064a \u062f\u0644\u064a\u0644",GUIDE_USER_SIMPLE:"\u062f\u0644\u064a\u0644 \u0645\u0633\u062a\u062e\u062f\u0645",GUIDE_AGENT:"\u062f\u0644\u064a\u0644 \u0648\u0643\u064a\u0644","\u0625\u0639\u0627\u062f\u0629 \u062a\u062d\u062f\u064a\u062f \u0645\u0648\u0636\u0639":"\u0625\u0639\u0627\u062f\u0629 \u062a\u062d\u062f\u064a\u062f \u0645\u0648\u0636\u0639",WRONG_PHONE_NUMBER:"\u0627\u0644\u0631\u0642\u0645 \u063a\u064a\u0631 \u0635\u062d\u064a\u062d!",WRONG_PASSWORD:"\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u063a\u064a\u0631 \u0635\u062d\u064a\u062d\u0629!",NETWORK_LOST:"\u0641\u0642\u062f \u0627\u0644\u0627\u062a\u0635\u0627\u0644!",SHOW:"\u0639\u0631\u0636",CALL:"Call",FORGOTTEN_PASSWORD:"\u0647\u0644 \u0646\u0633\u064a\u062a \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631\u061f",CONNECT_USER:"\u0627\u0644\u0627\u062a\u0635\u0627\u0644",PASSWORD:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",CONFIRM_PASSWORD:"\u062a\u0623\u0643\u064a\u062f \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",PASSWORD_MODIFY:"\u062a\u063a\u064a\u064a\u0631 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",OLD_PASSWORD:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0627\u0644\u0642\u062f\u064a\u0645\u0629",NEW_PASSWORD:"\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u062c\u062f\u064a\u062f\u0629",CONFIRM_NEW_PASSWORD:"\u062a\u0623\u0643\u064a\u062f \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0627\u0644\u062c\u062f\u064a\u062f\u0629",AMOUNT:"\u0627\u0644\u0645\u0628\u0644\u063a",STATUS:"\u0627\u0644\u062d\u0627\u0644\u0629",CANCEL:"\u062e\u0631\u0648\u062c",TEXT_GUIDE_USER_1:"\u0644\u0642\u062f \u0642\u0645\u062a \u0644\u0644\u062a\u0648 \u0628\u0627\u0644\u0627\u062a\u0635\u0627\u0644. \n \u062a\u0645 \u0648\u0636\u0639 \u0639\u0644\u0627\u0645\u0629 \u0639\u0644\u0649 \u0645\u0648\u0642\u0639\u0643 \u0641\u064a \u0648\u0633\u0637 \u0627\u0644\u062e\u0631\u064a\u0637\u0629 \u0645\u0639 \u0627\u0644\u0625\u0634\u0627\u0631\u0629 \" \u0623\u0646\u062a \u0647\u0646\u0627 \"",TEXT_GUIDE_USER_3:"\u0633\u064a\u0624\u062f\u064a \u0627\u0644\u0646\u0642\u0631 \u0641\u0648\u0642 \u0632\u0631 \u0639\u0644\u0627\u0645\u0629 \u0632\u0627\u0626\u062f \u0625\u0644\u0649 \u0641\u062a\u062d \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u062e\u064a\u0627\u0631\u0627\u062a",TEXT_GUIDE_USER_4:"\u0627\u0646\u0642\u0631 \u0639\u0644\u0649 \u0639\u0644\u0627\u0645\u0629 \u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u062d\u0648\u0644 \u0646\u0642\u0637\u0629",TEXT_GUIDE_USER_2:"\u0627\u0646\u0642\u0631 \u0639\u0644\u0649 \u0632\u0631 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0641\u064a \u0627\u0644\u062c\u0632\u0621 \u0627\u0644\u0639\u0644\u0648\u064a \u0627\u0644\u0623\u064a\u0645\u0646 \u0644\u0627\u0643\u062a\u0634\u0627\u0641 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0648\u062e\u064a\u0627\u0631 \u0642\u0637\u0639 \u0627\u0644\u0627\u062a\u0635\u0627\u0644",TEXT_GUIDE_USER_5:"\u0627\u0646\u0642\u0631 \u0639\u0644\u0649 \u062e\u064a\u0627\u0631 \u0627\u0644\u062a\u0635\u0641\u064a\u0629 \u0644\u062a\u0635\u0641\u064a\u0629 \u0627\u0644\u0646\u0642\u0627\u0637 \u0648\u0641\u0642\u064b\u0627 \u0644\u0645\u0633\u0627\u0641\u0629 \u0627\u0644\u0645\u0633\u0627\u0641\u0629 \u0645\u0646\u0643",TEXT_GUIDE_USER_6:"\u0627\u0646\u0642\u0631 \u0641\u0648\u0642 \u062e\u064a\u0627\u0631 \u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u0634\u0628\u0643\u0629 \u0644\u0639\u0631\u0636 \u0646\u0642\u0627\u0637 \u0627\u0644\u0634\u0628\u0643\u0627\u062a \u0627\u0644\u0623\u062e\u0631\u0649",TEXT_GUIDE_USER_7:"\u0627\u0646\u0642\u0631 \u0639\u0644\u0649 \u062e\u064a\u0627\u0631 \u062e\u0637 \u0633\u064a\u0631 \u0627\u0644\u0631\u062d\u0644\u0629 \u0644\u0639\u0631\u0636 \u0627\u0644\u0645\u0633\u0627\u0631 \u0625\u0644\u0649 \u0647\u0630\u0647 \u0627\u0644\u0646\u0642\u0637\u0629",TEXT_GUIDE_USER_10:"\u0631\u0627\u062c\u0639 \u0642\u0627\u0626\u0645\u0629 \u0623\u0639\u0636\u0627\u0621 \u0645\u062c\u0645\u0648\u0639\u062a\u0643",TEXT_GUIDE_USER_11:"\u0627\u0646\u0642\u0631 \u0641\u0648\u0642 \u062e\u064a\u0627\u0631 \u0645\u0644\u0641 \u0627\u0644\u062a\u0639\u0631\u064a\u0641 \u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0631\u0627\u0628\u0637 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0625\u0644\u0649 \u062d\u0633\u0627\u0628\u0643",CATEGORY:"\u0627\u0644\u0641\u0626\u0629",WAY:"\u0627\u0644\u0633\u0641\u0631",ADD_NETWORK:"\u0625\u0636\u0627\u0641\u0629 \u0634\u0628\u0643\u0629",POINT_NUMBER:"\u0639\u062f\u062f \u0627\u0644\u0646\u0642\u0627\u0637",SUPERIOR_CODE:"\u0631\u0645\u0632 \u0627\u0644\u0631\u0627\u0639\u064a",ADD_SUCCES:"\u0625\u0636\u0627\u0641\u0629 \u0646\u0627\u062c\u062d",ADD_SUCCESS_TEXT:"\u062a\u0645\u062a \u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0631\u0642\u0645 \u0625\u0644\u0649 \u0627\u0644\u0634\u0628\u0643\u0629 \u0628\u0646\u062c\u0627\u062d",MEMBER_CODE:"\u0631\u0645\u0632 \u0627\u0644\u0639\u0636\u0648",MEMBER_INFO:"\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u0623\u0639\u0636\u0627\u0621",DEMAND_INFO:"\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0628\u0646\u0627\u0621 \u0639\u0644\u0649 \u0627\u0644\u0637\u0644\u0628",ACCOUNT_NOT_ACTIVE:"\u062d\u0633\u0627\u0628\u0643 \u063a\u064a\u0631 \u0646\u0634\u0637",ENTER_VALIDATION_CODE:"\u0623\u062f\u062e\u0644 \u0631\u0645\u0632 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0627\u0644\u0635\u062d\u0629 \u0627\u0644\u0630\u064a \u062a\u0645 \u0625\u0631\u0633\u0627\u0644\u0647 \u0625\u0644\u064a\u0643.",ENTER_VALIDATION_CODE1:"\u0623\u062f\u062e\u0644 \u0631\u0645\u0632 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0627\u0644\u0635\u062d\u0629.",SUPERVISOR_NUMBER:"\u0639\u062f\u062f \u0627\u0644\u0645\u0634\u0631\u0641\u064a\u0646",GEOLOCATED_NUMBER:"\u0639\u062f\u062f \u0627\u0644\u0646\u0642\u0627\u0637 \u0644\u0643\u0644 \u0645\u0634\u0631\u0641",ACTIVATE_ACCOUNT:"\u062a\u0646\u0634\u064a\u0637 \u0627\u0644\u062d\u0633\u0627\u0628",SEND:"\u0625\u0631\u0633\u0627\u0644 !",CHANGE_INFORMATION:"\u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u064a",VALIDATE:"\u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0635\u062d\u0629",CONNECT:"\u0635\u0644\u0629",TEXT_BIG_CREATE_1:"\u0633\u062c\u0644 \u0643\u0645\u0633\u062a\u062e\u062f\u0645",TEXT_SUBTITLE_CREATE_1:"\u0627\u0645\u0644\u0623 \u0645\u0639\u0644\u0648\u0645\u0627\u062a\u0643 \u0627\u0644\u0634\u062e\u0635\u064a\u0629",USER_ACCOUNT:"\u062d\u0633\u0627\u0628 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645",USER_CONNECT:"\u062a\u0633\u062c\u064a\u0644 \u062f\u062e\u0648\u0644 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645",GIVE_CONNECT_INFO:"\u0623\u062f\u062e\u0644 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0643",CREATE_ACCOUNT:"\u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628",CHOOSE_LANGUAGE:"\u0627\u062e\u062a\u0631 \u0627\u0644\u0644\u063a\u0629",MODIFY_PASSWORD:"\u0646\u0633\u064a\u062a \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",CONTACT:"\u0627\u062a\u0635\u0627\u0644",UPDATE:"... \u062a\u062d\u062f\u064a\u062b",FAQ:"\u0627\u0644\u062a\u0639\u0644\u064a\u0645\u0627\u062a",UPDATE_POSITION_TEXT:"\u062a\u062d\u062f\u064a\u062b \u0645\u0648\u0642\u0639\u064a",YOU_ARE:"\u0623\u0646\u062a \u0623\u0646\u062a\u061f",GIVE_ID_FOR_RECOVERY:"\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 , \u0648\u0633\u0648\u0641 \u0646\u0631\u0633\u0644 \u0644\u0643 \u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u062c\u062f\u064a\u062f\u0629.",SELECT_ACCOUNT_TYPE:"\u062d\u062f\u062f \u0646\u0648\u0639 \u0627\u0644\u062d\u0633\u0627\u0628!",BRAVO:"\u0623\u062d\u0633\u0646\u062a !",HELP_CONGRAT_MESSAGE:"\u0623\u0646\u062a \u062a\u0639\u0631\u0641 \u0627\u0644\u0622\u0646 \u0643\u064a\u0641\u064a\u0629 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 iLink",REPLAY_HELP:"\u0645\u0631\u0627\u062c\u0639\u0629 \u0627\u0644\u0628\u0631\u0646\u0627\u0645\u062c \u0627\u0644\u062a\u0639\u0644\u064a\u0645\u064a",BACK_TO_HELP_HOME:"\u0627\u0644\u0631\u062c\u0648\u0639 \u0625\u0644\u0649 \u0627\u0644\u0645\u0633\u0627\u0639\u062f\u0629",USE_APP:"\u0627\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u062a\u0637\u0628\u064a\u0642",HIDE_AT_STARTUP:"\u0625\u062e\u0641\u0627\u0621 \u0641\u064a \u0627\u0644\u0628\u062f\u0627\u064a\u0629 \u0627\u0644\u0642\u0627\u062f\u0645\u0629\u061f",PATH_YOU_ARE:"\u0623\u0646\u062a \u0641\u064a",PATH_TO_POINT:"\u0645\u0646 \u0627\u0644\u0646\u0642\u0637\u0629 \u0627\u0644\u062a\u064a \u0642\u0645\u062a \u0628\u0627\u0644\u0646\u0642\u0631 \u0641\u0648\u0642\u0647\u0627.",PATH_YOU_WILL:"\u0623\u0646\u062a \u0633\u062a\u0643\u0648\u0646 \u0647\u0646\u0627\u0643",PRECISE_SEARCH:"\u062a\u062d\u0633\u064a\u0646 \u0628\u062d\u062b\u0643",SEARCH_DISTANCE:"\u0627\u0644\u0645\u0633\u0627\u0641\u0629",SEARCH_5:"5 \u0643\u0645",SEARCH_15:"15 \u0643\u0645",SEARCH_20:"20 \u0643\u0645",SEARCH_25:"25 \u0643\u0645",SEARCH:"\u0628\u062d\u062b",DELETE:"\u062d\u0630\u0641",FREE:"\u0645\u062a\u0627\u062d",SAVED:"\u0645\u0633\u062c\u0644",ACCOUNT_INFO:"\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u062d\u0633\u0627\u0628\u064a",REGISTER_YOURSELF:"Register","\u0627\u0644\u062a\u0633\u062c\u064a\u0644":"\u0627\u0644\u062a\u0633\u062c\u064a\u0644",CHANGE_LANG_LABEL:"\u062a\u063a\u064a\u064a\u0631 \u0627\u0644\u0644\u063a\u0629",GIVE_PERSONNAL_INFO:"\u0627\u0645\u0644\u0623 \u0645\u0639\u0644\u0648\u0645\u0627\u062a\u0643 \u0627\u0644\u0634\u062e\u0635\u064a\u0629",YOUR_GEOLOCATION:"\u0645\u0648\u0642\u0639\u0643",HISTORY_REQUEST:"\u0633\u062c\u0644 \u0627\u0644\u0637\u0644\u0628\u0627\u062a",ASK_REQUEST_HISTORY:"\u0637\u0644\u0628 \u0633\u062c\u0644",GIVE_HISTORY_INFO:"\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u062d\u0648\u0644 \u062a\u0627\u0631\u064a\u062e\u0643",HISTORY_TYPE:"\u0627\u0644\u0646\u0648\u0639",HISTORY_TYPE_ASK:"\u0627\u0644\u0637\u0644\u0628\u0627\u062a",REQUEST_RECEIVE:"\u0627\u0644\u0637\u0644\u0628\u0627\u062a \u0627\u0644\u0645\u0633\u062a\u0644\u0645\u0629",MY_DEMANDE:"\u0637\u0644\u0628\u0627\u062a\u064a",PHONE_TRANSACTION:"\u0631\u0642\u0645 \u0627\u0644\u0645\u0639\u0627\u0645\u0644\u0629",DEMAND_TEXT_FIRST_PART:"\u0642\u062f\u0645 \u0637\u0644\u0628\u064b\u0627",REQUEST_SEND:"\u062a\u0645 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0637\u0644\u0628",TO_:"\u0627\u0626\u062a\u0645\u0627\u0646 \u0639\u0644\u0649",DEMAND_SEND_SUCCESFUL:"\u062a\u0645 \u0625\u0631\u0633\u0627\u0644 \u0637\u0644\u0628\u0643 \u0628\u0646\u062c\u0627\u062d!",SAVE_HISTORY:"\u062d\u0641\u0638 \u0627\u0644\u0633\u062c\u0644",MAKE_REQUEST:"\u062a\u0642\u062f\u064a\u0645 \u0637\u0644\u0628",DATE_WRONG:"\u0644\u0627 \u064a\u0645\u0643\u0646 \u0623\u0646 \u064a\u0643\u0648\u0646 \u062a\u0627\u0631\u064a\u062e \u0627\u0644\u0627\u0646\u062a\u0647\u0627\u0621 \u0623\u0642\u062f\u0645 \u0645\u0646 \u062a\u0627\u0631\u064a\u062e \u0627\u0644\u0628\u062f\u0621",LOADING_DOTS:"\u0627\u0644\u062a\u062d\u0645\u064a\u0644\u0627\u062a ...",EMPTY_LIST_REQUEST:"\u0644\u0627 \u064a\u0648\u062c\u062f \u0637\u0644\u0628",MEMBER_LIST:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0623\u0639\u0636\u0627\u0621",FREE_CODE_LIST:"\u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0631\u0645\u0648\u0632 \u0627\u0644\u0645\u062a\u0627\u062d\u0629",NO_ITEM_REQUEST:"\u0644\u0627 \u062a\u0648\u062c\u062f \u0639\u0646\u0627\u0635\u0631 \u0645\u0637\u0627\u0628\u0642\u0629 ,",MEMBERSHIP_REQUEST:"\u0637\u0644\u0628\u0627\u062a \u0627\u0644\u0639\u0636\u0648\u064a\u0629",HISTORY_TYPE_REQUEST:"\u0627\u0633\u062a\u0639\u0644\u0627\u0645\u0627\u062a",TREAT:"\u0645\u0639\u0627\u0647\u062f\u0629",EXIT_TITLE:"\u0623\u063a\u0644\u0642 iLink World!",EXIT_DESC:"\u0647\u0644 \u062a\u0631\u064a\u062f \u062d\u0642\u064b\u0627 \u0625\u063a\u0644\u0627\u0642 iLink World\u061f",NO_TREAT:"\u063a\u064a\u0631 \u0645\u0639\u0627\u0644\u062c",EXIT:"\u0623\u063a\u0644\u0642",PERIOD:"\u0641\u062a\u0631\u0629",Disconnection:"\u0627\u0644\u062e\u0631\u0648\u062c",DISCONNEXION_TEXT:"\u0647\u0644 \u062a\u0631\u064a\u062f \u0628\u0627\u0644\u062a\u0623\u0643\u064a\u062f \u0642\u0637\u0639 \u0627\u0644\u0627\u062a\u0635\u0627\u0644\u061f \u0633\u064a\u0624\u062f\u064a \u0647\u0630\u0627 \u0627\u0644\u0625\u062c\u0631\u0627\u0621 \u0625\u0644\u0649 \u0645\u0633\u062d \u062c\u0645\u064a\u0639 \u0628\u064a\u0627\u0646\u0627\u062a\u0643 \u0627\u0644\u0645\u0624\u0642\u062a\u0629.",HISTORY_START:"\u0627\u0628\u062f\u0623",YES:"\u0646\u0639\u0645 \u0641\u0639\u0644\u0627",NO:"\u0644\u0627",CONNECTION_LOST_CHECK:"\u0641\u0642\u062f\u062a \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u060c \u064a\u0631\u062c\u0649 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0627\u062a\u0635\u0627\u0644\u0643!",ACCOUNT_ACTIVATE_TEXT:"\u062a\u0645 \u062a\u0646\u0634\u064a\u0637 \u062d\u0633\u0627\u0628\u0643 \u0628\u0646\u062c\u0627\u062d!",HISTORY_END:"\u0627\u0644\u0646\u0647\u0627\u064a\u0629",DONT_VALIDATE_ACCOUNT:"\u0627\u0644\u062d\u0633\u0627\u0628 \u0644\u0645 \u064a\u062a\u0645 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646\u0647",CONNECTION_SUCCESSFULL_TEXT:"\u062a\u0633\u062c\u064a\u0644 \u062f\u062e\u0648\u0644 \u0646\u0627\u062c\u062d \u0645\u0631\u062d\u0628\u064b\u0627 \u0628\u0643 \u0641\u064a iLink World!",UNVALIDATE_ACCOUNT_TEXT:"\u0644\u0645 \u064a\u062f\u0642\u0642 \u0628\u0631\u0646\u0627\u0645\u062c Hypervisor \u0641\u064a \u062d\u0633\u0627\u0628\u0643 \u0628\u0639\u062f",TEXT_NEED_POSITION:"\u0627\u0644\u0631\u062c\u0627\u0621 \u062a\u062d\u062f\u064a\u062b \u0645\u0648\u0642\u0639\u0643!",TITLE_NEED_POSITION:"\u064a\u0644\u0632\u0645 \u062a\u062d\u062f\u064a\u062b \u0645\u0648\u0642\u0639\u0643",POSITION_UPDATE_SUCCESS_TEXT:"\u062a\u0645 \u062a\u062d\u062f\u064a\u062b \u0645\u0648\u0642\u0639\u0643 \u0628\u0646\u062c\u0627\u062d!",UPDATE_SUCCESS:"\u062a\u062d\u062f\u064a\u062b \u0646\u0627\u062c\u062d!",TITLE_UPDATE_POSITION_FAILED:"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u062a\u062d\u062f\u064a\u062b \u0645\u0648\u0642\u0639\u0643",TEXT_UPDATE_POSITION_FAILED_1:"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u0627\u0633\u062a\u0631\u062f\u0627\u062f \u0631\u0645\u0632 \u0627\u0644\u0639\u0636\u0648 \u0627\u0644\u062e\u0627\u0635 \u0628\u0643",TEXT_UPDATE_POSITION_FAILED_2:"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u0627\u0633\u062a\u0639\u0627\u062f\u0629 \u0645\u0648\u0642\u0639\u0643",TITLE_ERROR_SURVENU:"\u0644\u0642\u062f \u062d\u062f\u062b \u062e\u0637\u0623!",TITLE_PROBLE_COME:"\u062d\u062f\u062b\u062a \u0645\u0634\u0643\u0644\u0629",TEXT_ERROR_START_APPLICATION:"\u062d\u062f\u062b \u062e\u0637\u0623 \u0623\u062b\u0646\u0627\u0621 \u0628\u062f\u0621 iLink World \u060c \u064a\u0631\u062c\u0649 \u0625\u0639\u0627\u062f\u0629 \u062a\u0634\u063a\u064a\u0644 iLink World",TEXT_UNABLE_TO_GET_YOUR_POSITION:"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u0627\u0633\u062a\u0639\u0627\u062f\u0629 \u0645\u0648\u0642\u0639\u0643 \u060c \u064a\u0631\u062c\u0649 \u0627\u0644\u062a\u0623\u0643\u062f \u0645\u0646 \u062a\u0645\u0643\u064a\u0646 GPS \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0648\u0625\u0639\u0627\u062f\u0629 \u062a\u0634\u063a\u064a\u0644 iLink World",RESTART:"\u0643\u0631\u0631",TEXT_UNABLE_TO_GET_COUNTRY_INFO:"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u0627\u0633\u062a\u0631\u062f\u0627\u062f \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0645\u0646 \u0628\u0644\u062f\u0643. \u062a\u062d\u0642\u0642 \u0645\u0646 \u0627\u062a\u0635\u0627\u0644\u0643 \u0628\u0627\u0644\u0625\u0646\u062a\u0631\u0646\u062a. \u0627\u0646\u0642\u0631 \u0641\u0648\u0642 \u0645\u0648\u0627\u0641\u0642 \u0644\u0644\u0645\u062d\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649.",TITLE_UNABLE_TO_AUTORISE:"\u0641\u0634\u0644 \u0627\u0644\u062a\u0641\u0648\u064a\u0636",MISSING_AUTORISATION_LOCATION:"iLink World \u063a\u064a\u0631 \u0645\u062e\u0648\u0644 \u0644\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0645\u0648\u0642\u0639\u0643 \u060c \u064a\u0631\u062c\u0649 \u0627\u0644\u0633\u0645\u0627\u062d \u0644\u0640 iLink World \u0628\u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0645\u0648\u0642\u0639\u0643 \u0648\u0625\u0639\u0627\u062f\u0629 \u062a\u0634\u063a\u064a\u0644 iLink World",TEXT_FORGOTTEN_PASSWORD:"\u0623\u062f\u062e\u0644 \u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u060c \u0648\u0633\u0646\u0631\u0633\u0644 \u0644\u0643 \u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u062c\u062f\u064a\u062f\u0629",TEXT_NETWORK_UNABLE:"\u0627\u0644\u0634\u0628\u0643\u0629 \u063a\u064a\u0631 \u0645\u062a\u0648\u0641\u0631\u0629 \u060c \u0647\u0644 \u062a\u0631\u064a\u062f \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649\u061f",LOADING_TEXT_MARKERS:"\u0627\u0644\u0645\u0632\u064a\u062f \u0645\u0646 \u0627\u0644\u0646\u0642\u0627\u0637",LOADING_TEXT_MARKERS_2:"around\u060c",UNABLE_GET_INFORMATION:"\u0645\u0634\u0643\u0644\u0629 \u0627\u0633\u062a\u0631\u062c\u0627\u0639 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a",UNABLE_GET_INFORMATION_TEXT:"\u062a\u0623\u0643\u062f \u0645\u0646 \u062a\u0634\u063a\u064a\u0644 GPS \u0648\u0648\u0636\u0639\u0647 \u0641\u064a \u0648\u0636\u0639 \u0627\u0644\u062f\u0642\u0629 \u0627\u0644\u0639\u0627\u0644\u064a\u0629 \u0648\u0625\u0639\u0627\u062f\u0629 \u062a\u0634\u063a\u064a\u0644 iLink World",ACCOUNT_CREATED_SUCCESS:"\u062a\u0645 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062d\u0633\u0627\u0628 \u0628\u0646\u062c\u0627\u062d. \u0633\u0648\u0641 \u062a\u062a\u0644\u0642\u0649 \u0641\u064a \u0628\u0636\u0639 \u062f\u0642\u0627\u0626\u0642 \u0631\u0633\u0627\u0644\u0629 \u0628\u0631\u064a\u062f \u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0648\u0631\u0633\u0627\u0644\u0629 \u0646\u0635\u064a\u0629 \u062a\u062d\u062a\u0648\u064a \u0639\u0644\u0649 \u0645\u0639\u0644\u0648\u0645\u0627\u062a\u0643. \u0633\u0646\u0642\u0648\u0645 \u0628\u0625\u0639\u0627\u062f\u0629 \u062a\u0648\u062c\u064a\u0647\u0643 \u0625\u0644\u0649 \u0635\u0641\u062d\u0629 \u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644",TITLE_HELP_SOON:"\u0645\u0633\u0627\u0639\u062f\u0629 \u063a\u064a\u0631 \u0645\u062a\u0648\u0641\u0631\u0629!",HELP_SOON:"\u0633\u064a\u0643\u0648\u0646 \u0647\u0646\u0627\u0643 \u0628\u0631\u0646\u0627\u0645\u062c \u062a\u0639\u0644\u064a\u0645\u064a \u064a\u0633\u0627\u0639\u062f\u0643 \u0641\u064a \u0641\u0647\u0645 \u0645\u064a\u0632\u0627\u062a \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u0642\u0631\u064a\u0628\u064b\u0627."}},810,[]); -__d(function(e,r,o,i,n,E,s){n.exports={WELCOME:"Bienvenue sur iLink World !",WAITING_LONG:"Veuillez patienter un instant",HELP:"Aide",SIMPLE_USER:"Utilisateur simple",ABOUT:"A Propos",ACTION_TREAT_DEMAND:"Traiter la demande",ABOUT_TEXT:"iLink est une application qui facilitera vos transactions financi\xe8res pr\xe8s de votre position, et vous donne les points multiservices pr\xeat de chez vous.",GEOLOCATED_USER:"Utilisateur g\xe9o-localis\xe9",SUPERVISOR:"Superviseur",AGENT:"Agent",USER:"Utilisateur",HYPERVISOR:"Hyperviseur",OPEN:"Ouvert",POSITION:"Ma position",TAKE_MY_PLACE:"Prendre ma position",MAP:"La carte",BSR:"Bonsoir",ACCOUNT_CREATED_SUCCESS:"Le compte a \xe9t\xe9 cr\xe9e avec succ\xe8s.\nVous recevrez dans quelques minutes un email et un sms avec vos informations.\nNous allons vous rediriger vers la page de connexion",OR_BIG:"OU",FOR_NUMB:"Pour le ",FILTER_DATE:"Filtre de date",SUBTITLE_ACTIVE_ACCOUNT:"Activez votre compte \xe0 l'aide du code qui a \xe9t\xe9 envoy\xe9 sur votre mail ou votre num\xe9ro de t\xe9l\xe9phone",ASK_FOR_CREDIT:"Demander du cr\xe9dit",ASK_CREDIT:"Demandes de cr\xe9dit",ASK_SUPERIOR_CREDIT:"Demander du cr\xe9dit \xe0 votre sup\xe9rieur",ASK_FOR_SUPERVISOR:"Demandes de superviseurs",ASK_HYPERVISOR:"Devenir Hyperviseur",ASK_FOR_HYPERVISOR:"Demander \xe0 devenir hyperviseur",ASK_SUPERVISOR:"Devenir Superviseur",ASK_FOR_SUPERVISOR1:"Demander \xe0 devenir superviseur",CREDIT_ASK_FROM_MEMBERS:"Demandes de cr\xe9dit de vos membres",ASK_MEMBERS:"Demandes d'adh\xe9sion",MY_ACCOUNT:"Mon compte",WALLET:"Wallet",DEPOSIT:"D\xe9p\xf4t",WITHDRAWAL:"Retrait",COMMISSION_ACCOUNT_TITLE:"Cpt. commission",PRINCIPAL_ACCOUNT_TITLE:"Cpt. principal",TRANSFER_TO_PRINCIPAL_ACCOUNT:"Transf\xe9rer les commissions",PRINCIPAL:"Principal",ENTER_YOUR_CARD_ID:"Entrer vos identifiants bancaires",THE_ACCOUNT:"Le compte ",NO_GEO_POINT_CODE:"Vous n'avez aucun point geolocalis\xe9 libre",NO_DEMAND_ADHESION:"Vous n'avez aucune demande d'adhesion",ACTIVATED:"a \xe9t\xe9 activ\xe9",CREDIT_MANAGE:"Gestion de credit",GROUP_MANAGE:"Gestion du groupe",NOTIFICATIONS:"Notification",NO_NOTIFICATION:"Vous n'avez aucune notification",CONFIGURATIONS:"Configuration",LOGOUT:"D\xe9connexion",HINT_HOME_SEARCH:" Chercher un lieu, quartier ou ville ",MY_NETWORK:"Mon R\xe9seau",MY_GROUP:"Mon groupe",CHANGE_MAP:"Changer de carte",CHANGE_NETWORK:"Changer de reseau",PRINT_ALL:"Tout Afficher",PRINT_MY_NETWORK:"Afficher mon reseau",MY_GROUP_MAP:"Carte de mon groupe",GROUP_MEMBERS:"Les membres du groupe",NAME:"Nom (s)",FIRSTNAME:"Pr\xe9nom (s) ",ADMIN:"Administrateur",SUPER_ADMIN:"Super administrateur",GEOLOCATED:"Agent g\xe9o-localis\xe9",DELETE_GEOLOCATED_USER:"Supprimer",ADDRESS:"Adresse",CREDIT:"Cr\xe9dit",NEXT:"Suivant",SPONSOR_CODE:"Code parrain",SOLDE_UNVAIBLE:"solde non disponible",TEXT_BIG_CREATE_AGENT_1:"Inscrivez-vous en comme Agent",EMAIL:"Email",COUNTRY:"Pays",LOADING_INFO:"Chargement des informations...",LOADING_DESCRIPTION_COUNTRY:"Patientez un instant ! nous r\xe9cuperons les informations sur votre pays...",NETWORK:"R\xe9seau",PHONE:"T\xe9lephone",PHONE_NUMBER:"Num\xe9ro de t\xe9l\xe9phone",CHOICE_NETWORK:"Choisissez un r\xe9seau",COUNTRY_CHOICE:"Choisissez un pays",LAST_STEP:"Derniere \xe9tape",ACTIVE_ACCOUNT:"Activez le compte !",LAST_STEP_TEXT:"Activez votre compte \xe0 l'aide du code de validation qui vous a \xe9t\xe9 envoy\xe9 sur votre adresse e-mail et sur votre numero de t\xe9l\xe9phone",NETWORK_CHOICE:"Choix du r\xe9seau",CHOICE_NETWORK_TEXT:"Definir un r\xe9seau \xe0 afficher",NO_NETWORK_CORRESPONDING:"Ce r\xe9seau n'a aucun point",MENU_FILTER:" Menu Filtre de distance",MY_DEMAND:"Mes demandes",TEXT_FILTER_DISTANCE:"Definir la distance \xe0 chercher (en km ) ",WAIT_LOADING_POSITION:"Nous avons besoin de la position de votre lieu de travail",CONNEXION_SUCCESSFUL:"Connexion r\xe9ussie !",UNABLE_TO_CONNECT:"Le num\xe9ro de t\xe9l\xe9phone et le mot de passe sont incorrects",TITLE_CHOICE_TYPE_ACCOUNT:"Choisissez le type de compte que vous souhaitez cr\xe9er",ALREADY_HAVE_AN_ACCOUNT:"Avez-vous d\xe9j\xe0 un compte ?",AGENT_ACCOUNT:"Compte Agent",UNABLE_TO_CONNECT_TITLE:"Impossible de se connecter",DISTANCE_ARROUND:"Autour de vous",UNABLE_TO_CREATE_ACCOUNT:"Impossible de cr\xe9er un compte ",TO_YOU:" de vous",TREAT_DEMAND:"D\xe9j\xe0 trait\xe9",PHONE_NUMBER_ADMIN:"Num\xe9ro de transaction",FAILED_TEXT_CONTACT_ADMIN:"Impossible de cr\xe9er un compte veuillez contacter les administrateurs",HYPERVISOR_MUST_VALIDATE_SUPERVISOR:"Votre code de validation vous sera envoy\xe9 une fois que votre Hyperviseur l'aura valid\xe9",ACCOUNT_SUCCESSFULL_CREATED:"Le compte a \xe9t\xe9 cr\xe9e avec succ\xe8s.\nVous recevrez dans quelques minutes un email et un sms avec vos informations.\nNous allons vous rediriger vers la page de connexion",langue:{french:"Francais",english:"Anglais"},ERROR_FILTER:"Erreur survenue lors du filtre",ERROR_FILTER_TEXT:"Probleme rencontr\xe9 lors du filtrage.",YOUR_THERE:"Vous \xeates ici",FILTER:"Filtrer",QUIT:"Quitter",QUIT_:"Quitter",APP_FULLNAME:"Ilink World",GUIDE_TITLE:"Bienvenue dans le Guide de",GUIDE_USER_SIMPLE:"Guide pour un utilisateur",GUIDE_AGENT:"Guide pour un agent",REPOSITIONNING:"Repositionner",WRONG_PHONE_NUMBER:"Num\xe9ro incorrect !",WRONG_PASSWORD:"Mot de passe incorrect !",NETWORK_LOST:"Connexion perdue !",SHOW:"Afficher",CALL:"Appeler",FORGOTTEN_PASSWORD:"Mots de passe oubli\xe9 ?",CONNECT_USER:"Se connecter",PASSWORD:"Mot de passe",CONFIRM_PASSWORD:"Confirmez le mot de passe",PASSWORD_MODIFY:"Modifiez votre mot de passe",OLD_PASSWORD:"Ancien mot de passe",NEW_PASSWORD:"Nouveau mot de passe",CONFIRM_NEW_PASSWORD:"Confirmerzle nouveau mot de passe",AMOUNT:"Montant",STATUS:"Statut",CANCEL:"Quitter",TEXT_GUIDE_USER_1:"Vous venez de vous Connecter.\n Votre localisation est marqu\xe9e au centre de la carte avec l'indication \"Vous \xeates ici\" ",TEXT_GUIDE_USER_3:"En cliquant sur le bouton '+' vous ouvrirez le menu d'options",TEXT_GUIDE_USER_4:"Cliquez sur un marqueur pour avoir les informations sur un point",TEXT_GUIDE_USER_2:"Cliquez sur le bouton de menu en haut \xe0 droite pour decouvrir le menu et l'option de d\xe9connexion",TEXT_GUIDE_USER_5:"Cliquez sur l'option 'Filtrer' pour filtrer vos points en fonction de leur distance par rapport \xe0 vous",TEXT_GUIDE_USER_6:"Cliquez sur l'option 'Changer de reseau ' pour afficher les points d'autres reseaux",TEXT_GUIDE_USER_7:"Cliquez sur l'option ' Itineraire' pour afficher le chemin \xe0 suivre pour ce rendre vers le point",TEXT_GUIDE_USER_10:"Consultez la liste des membre de votre groupe",TEXT_GUIDE_USER_11:"Cliquez sur l'option de profil pour avoir des informations lier \xe0 votre compte",CATEGORY:"Cat\xe9gorie",WAY:"Itin\xe9raire",ADD_NETWORK:"Ajouter un r\xe9seau",POINT_NUMBER:"Nombres de points",SUPERIOR_CODE:"Code parrain",ADD_SUCCES:"Ajout reussi",ADD_SUCCESS_TEXT:"Le num\xe9ro a \xe9t\xe9 ajout\xe9 au reseau avec succ\xe8s ",MEMBER_CODE:"Code membre",MEMBER_INFO:"Information du membre",DEMAND_INFO:"Information sur la demande",ACCOUNT_NOT_ACTIVE:"Votre compte n'est pas activ\xe9",ENTER_VALIDATION_CODE:"Saisissez le code de validation qui vous a \xe9t\xe9 envoy\xe9.",ENTER_VALIDATION_CODE1:"Saisissez le code de validation.",SUPERVISOR_NUMBER:"Nombre de superviseurs",GEOLOCATED_NUMBER:"Nombre de points par superviseur",ACTIVATE_ACCOUNT:"Activer le compte",SEND:"Envoyer !",CHANGE_INFORMATION:"Modifier mes informations",VALIDATE:"Valider",SELECT_YOUR_WALLET:"Selectionner un wallet",CONNECT:"Connexion",TEXT_BIG_CREATE_1:"Inscrivez vous en tant qu'Utilisateur",TEXT_SUBTITLE_CREATE_1:"Renseignez vos informations personnelles",USER_ACCOUNT:"Compte Utilisateur",USER_CONNECT:"Connexion utilisateur",GIVE_CONNECT_INFO:"Entrez vos informations de connexion",CREATE_ACCOUNT:"cr\xe9er un compte",CHOOSE_LANGUAGE:"Choisir la langue",MODIFY_PASSWORD:"Mot de passe oubli\xe9",CONTACT:"Contact",UPDATE:"... mise \xe0 jour",FAQ:"FAQ",UPDATE_POSITION_TEXT:"Mettre \xe0 jour ma position",YOU_ARE:"Vous \xeates ?",GIVE_ID_FOR_RECOVERY:"Saisissez votre identifiant, nous vous enverrons un nouveau mot de passe.",SELECT_ACCOUNT_TYPE:"S\xe9lectionnez un type de compte !",BRAVO:"Bravo !",HELP_CONGRAT_MESSAGE:"Vous savez maintenant comment utiliser iLink",REPLAY_HELP:"Revoir le didacticiel",BACK_TO_HELP_HOME:"Revenir \xe0 l'aide",USE_APP:"Utiliser l'application",HIDE_AT_STARTUP:"Masquer au prochain d\xe9marrage ?",PATH_YOU_ARE:"Vous \xeates \xe0 ",PATH_TO_POINT:" du point que vous avez cliqu\xe9.",PATH_YOU_WILL:"Vous y serez en ",PRECISE_SEARCH:"Affinez votre recherche",SEARCH_DISTANCE:"Distance",SEARCH_5:"5 km",SEARCH_15:"15 km",SEARCH_20:"20 km",SEARCH_25:"25 km",SEARCH:"Rechercher",SEE_VIDEO:"Voir la vid\xe9o",SEE_TUTO:"Voir le tutoriel",SELECT_NETWORK:"S\xe9lectionner votre r\xe9seau",DELETE:"Supprimer",FREE:"disponibles",SAVED:"enregistr\xe9s",ACCOUNT_INFO:" Information sur mon compte",REGISTER_YOURSELF:"Enregistrez-vous",REGISTRATION:"Inscription",CHANGE_LANG_LABEL:"Changer la langue",GIVE_PERSONNAL_INFO:"Renseignez vos information personnelles",YOUR_GEOLOCATION:"Votre localisation",HISTORY_REQUEST:"Historique des demandes",ASK_REQUEST_HISTORY:"Demander un historique",GIVE_HISTORY_INFO:"Informations sur votre historique",HISTORY_TYPE:"Type",HISTORY_TYPE_ASK:"Demandes",DEMANDE_RECEIVE:"Demandes re\xe7ues",MY_DEMANDE:"Mes demandes",PHONE_TRANSACTION:"Num\xe9ro de transaction",DEMAND_TEXT_FIRST_PART:"a effectu\xe9 une demande de ",DEMANDE_SEND:" Demande Envoy\xe9e",DEMAND_RECEIVE:"Demandes re\xe7ues",TO_:" cr\xe9dit aupr\xe8s de ",DEMAND_SEND_SUCCESFUL:"Votre demande a \xe9t\xe9 envoy\xe9e avec succ\xe8s !",SAVE_HISTORY:"Enregistrer l'historique",MAKE_REQUEST:"Faire une demande",DATE_WRONG:"La date de fin ne peut \xeatre ant\xe9rieure \xe0 la date de d\xe9but",LOADING_DOTS:"Chargement...",LOADING_PROGRESS:"Chargement en cours",EMPTY_LIST_REQUEST:"Aucune demande",MEMBER_LIST:"Liste des membres",FREE_CODE_LIST:"Liste des codes disponibles",NO_ITEM_REQUEST:"Aucun \xe9l\xe9ment ne correspond",MEMBERSHIP_REQUEST:"Demandes d'adh\xe9sion",HISTORY_TYPE_REQUEST:"Requ\xeates",TREAT:"Trait\xe9",EXIT_TITLE:"Fermer iLink World !",EXIT_DESC:"Voulez-vous vraiment fermer iLink World ?",NO_TREAT:"Non trait\xe9",EXIT:"Fermer",PERIOD:"P\xe9riode",DISCONNEXION:"D\xe9connexion",DISCONNEXION_TEXT:"Voulez-vous vraiment vous deconnecter ? Cette action effacera toutes vos donn\xe9es temporaires.",HISTORY_START:"D\xe9but",YES:"Oui",NO:"Non",CONNEXION_LOST_CHECK:"Connexion perdue. Veuillez v\xe9rifier votre connexion !",ACCOUNT_ACTIVATE_TEXT:"Votre compte a \xe9t\xe9 activ\xe9 avec succ\xe8s !",HISTORY_END:"Fin",DONT_VALIDATE_ACCOUNT:"Compte non valid\xe9",CONNEXION_SUCCESSFULL_TEXT:"Connexion r\xe9ussie. Bienvenue dans iLink World ! ",UNVALIDATE_ACCOUNT_TEXT:"Votre hyperviseur n'a pas encore valid\xe9 votre compte",TEXT_NEED_POSITION:"Veuillez mettre \xe0 jour votre position !",TITLE_NEED_POSITION:"Votre position doit \xeatre mise \xe0 jour",POSITION_UPDATE_SUCCESS_TEXT:"Votre position a \xe9t\xe9 mise \xe0 jour avec succ\xe8s !",UPDATE_SUCCESS:"Mise \xe0 jour reussie !",TITLE_UPDATE_POSITION_FAILED:"Impossible de mettre \xe0 jour votre position",TEXT_UPDATE_POSITION_FAILED_1:"Impossible de recuperer votre code membre",TEXT_UPDATE_POSITION_FAILED_2:"Impossible de recuperer votre position",TITLE_ERROR_SURVENU:"Une erreur est survenue !",TITLE_PROBLE_COME:"Un probl\xe8me a \xe9t\xe9 rencontr\xe9",TITLE_SUPPRESS_CONFIRM:"Confirmation de suppression",TEXT_SUPPRESS_CONFIRM:"Voulez vous vraiment supprimer cet utilisateur ?",TEXT_ERROR_START_APPLICATION:"Une erreur est survenue au d\xe9marrage de iLink World. Veuillez relancer iLink World",TEXT_UNABLE_TO_GET_YOUR_POSITION:"Impossible de recup\xe9rez votre position. Veuillez verifier que votre GPS est activ\xe9 et relancez iLink World",RESTART:"RECOMMENCER",TEXT_UNABLE_TO_GET_COUNTRY_INFO:"Impossible de recup\xe9rer les informations de votre pays. Verifiez votre connexion internet ! cliquez sur \"Ok\" pour reessayer",TITLE_UNABLE_TO_AUTORISE:"Echec de l'autorisation",MISSING_AUTORISATION_LOCATION:"iLink World n'est pas autoris\xe9 \xe0 acceder \xe0 votre position. Veuillez autoriser iLink World \xe0 acc\xe9der \xe0 votre localisation et relancez iLink World",TEXT_FORGOTTEN_PASSWORD:"Saisissez votre identifiant,nous vous enverrons un nouveau mot de passe\n",TEXT_NETWORK_UNABLE:"R\xe9seau non disponible, voulez vous r\xe9essayer ?",LOADING_TEXT_MARKERS:"Suite des points ",LOADING_TEXT_MARKERS_2:"autour",UNABLE_GET_INFORMATION:"Probl\xe8me de r\xe9cuperation des Informations",UNABLE_GET_INFORMATION_TEXT:"V\xe9rifiez que votre GPS est activ\xe9 et mis en mode haute precision et relancez iLink World",TITLE_HELP_SOON:"Aide non disponible !",HELP_SOON:"Un tutoriel vous aidant dans la compr\xe9hension des fonctionnalit\xe9s de l'application vous sera bient\xf4t mis \xe0 disposition."}},811,[]); +__d(function(e,o,r,i,n,E,s){n.exports={WELCOME:"Bienvenue sur iLink World !",WAITING_LONG:"Veuillez patienter un instant",HELP:"Aide",SIMPLE_USER:"Utilisateur simple",ABOUT:"A Propos",ACTION_TREAT_DEMAND:"Traiter la demande",ABOUT_TEXT:"iLink est une application qui facilitera vos transactions financi\xe8res pr\xe8s de votre position, et vous donne les points multiservices pr\xeat de chez vous.",GEOLOCATED_USER:"Utilisateur g\xe9o-localis\xe9",SUPERVISOR:"Superviseur",AGENT:"Agent",USER:"Utilisateur",HYPERVISOR:"Hyperviseur",OPEN:"Ouvert",POSITION:"Ma position",TAKE_MY_PLACE:"Prendre ma position",MAP:"La carte",BSR:"Bonsoir",ACCOUNT_CREATED_SUCCESS:"Le compte a \xe9t\xe9 cr\xe9e avec succ\xe8s.\nVous recevrez dans quelques minutes un email et un sms avec vos informations.\nNous allons vous rediriger vers la page de connexion",OR_BIG:"OU",FOR_NUMB:"Pour le ",FILTER_DATE:"Filtre de date",SUBTITLE_ACTIVE_ACCOUNT:"Activez votre compte \xe0 l'aide du code qui a \xe9t\xe9 envoy\xe9 sur votre mail ou votre num\xe9ro de t\xe9l\xe9phone",ASK_FOR_CREDIT:"Demander du cr\xe9dit",ASK_CREDIT:"Demandes de cr\xe9dit",ASK_SUPERIOR_CREDIT:"Demander du cr\xe9dit \xe0 votre sup\xe9rieur",ASK_FOR_SUPERVISOR:"Demandes de superviseurs",ASK_HYPERVISOR:"Devenir Hyperviseur",ASK_FOR_HYPERVISOR:"Demander \xe0 devenir hyperviseur",ASK_SUPERVISOR:"Devenir Superviseur",ASK_FOR_SUPERVISOR1:"Demander \xe0 devenir superviseur",CREDIT_ASK_FROM_MEMBERS:"Demandes de cr\xe9dit de vos membres",ASK_MEMBERS:"Demandes d'adh\xe9sion",MY_ACCOUNT:"Mon compte",WALLET:"Wallet",DEPOSIT:"D\xe9p\xf4t",WITHDRAWAL:"Retrait",COMMISSION_ACCOUNT_TITLE:"Cpt. commission",PRINCIPAL_ACCOUNT_TITLE:"Cpt. principal",TRANSACTIONS:"Transactions",NO_WALLET_ACTIVED:"Aucun wallet n'est activ\xe9 pour votre compte",TRANSFER_TO_PRINCIPAL_ACCOUNT:"Transf\xe9rer les commissions",PRINCIPAL:"Principal",ENTER_YOUR_CARD_ID:"Entrer vos identifiants bancaires",THE_ACCOUNT:"Le compte ",NO_GEO_POINT_CODE:"Vous n'avez aucun point geolocalis\xe9 libre",NO_DEMAND_ADHESION:"Vous n'avez aucune demande d'adhesion",ACTIVATED:"a \xe9t\xe9 activ\xe9",CREDIT_MANAGE:"Gestion de credit",GROUP_MANAGE:"Gestion du groupe",NOTIFICATIONS:"Notification",NO_NOTIFICATION:"Vous n'avez aucune notification",CONFIGURATIONS:"Configuration",LOGOUT:"D\xe9connexion",HINT_HOME_SEARCH:" Chercher un lieu, quartier ou ville ",MY_NETWORK:"Mon R\xe9seau",MY_GROUP:"Mon groupe",CHANGE_MAP:"Changer de carte",CHANGE_NETWORK:"Changer de reseau",PRINT_ALL:"Tout Afficher",PRINT_MY_NETWORK:"Afficher mon reseau",MY_GROUP_MAP:"Carte de mon groupe",GROUP_MEMBERS:"Les membres du groupe",NAME:"Nom (s)",FIRSTNAME:"Pr\xe9nom (s) ",ADMIN:"Administrateur",SUPER_ADMIN:"Super administrateur",GEOLOCATED:"Agent g\xe9o-localis\xe9",DELETE_GEOLOCATED_USER:"Supprimer",ADDRESS:"Adresse",CREDIT:"Cr\xe9dit",NEXT:"Suivant",SPONSOR_CODE:"Code parrain",SOLDE_UNVAIBLE:"solde non disponible",TEXT_BIG_CREATE_AGENT_1:"Inscrivez-vous en comme Agent",EMAIL:"Email",COUNTRY:"Pays",LOADING_INFO:"Chargement des informations...",LOADING_DESCRIPTION_COUNTRY:"Patientez un instant ! nous r\xe9cuperons les informations sur votre pays...",NETWORK:"R\xe9seau",PHONE:"T\xe9lephone",PHONE_NUMBER:"Num\xe9ro de t\xe9l\xe9phone",CHOICE_NETWORK:"Choisissez un r\xe9seau",COUNTRY_CHOICE:"Choisissez un pays",LAST_STEP:"Derniere \xe9tape",ACTIVE_ACCOUNT:"Activez le compte !",LAST_STEP_TEXT:"Activez votre compte \xe0 l'aide du code de validation qui vous a \xe9t\xe9 envoy\xe9 sur votre adresse e-mail et sur votre numero de t\xe9l\xe9phone",NETWORK_CHOICE:"Choix du r\xe9seau",CHOICE_NETWORK_TEXT:"Definir un r\xe9seau \xe0 afficher",NO_NETWORK_CORRESPONDING:"Ce r\xe9seau n'a aucun point",MENU_FILTER:" Menu Filtre de distance",MY_DEMAND:"Mes demandes",TEXT_FILTER_DISTANCE:"Definir la distance \xe0 chercher (en km ) ",WAIT_LOADING_POSITION:"Nous avons besoin de la position de votre lieu de travail",CONNEXION_SUCCESSFUL:"Connexion r\xe9ussie !",UNABLE_TO_CONNECT:"Le num\xe9ro de t\xe9l\xe9phone et le mot de passe sont incorrects",TITLE_CHOICE_TYPE_ACCOUNT:"Choisissez le type de compte que vous souhaitez cr\xe9er",ALREADY_HAVE_AN_ACCOUNT:"Avez-vous d\xe9j\xe0 un compte ?",AGENT_ACCOUNT:"Compte Agent",UNABLE_TO_CONNECT_TITLE:"Impossible de se connecter",DISTANCE_ARROUND:"Autour de vous",UNABLE_TO_CREATE_ACCOUNT:"Impossible de cr\xe9er un compte ",TO_YOU:" de vous",TREAT_DEMAND:"D\xe9j\xe0 trait\xe9",PHONE_NUMBER_ADMIN:"Num\xe9ro de transaction",FAILED_TEXT_CONTACT_ADMIN:"Impossible de cr\xe9er un compte veuillez contacter les administrateurs",HYPERVISOR_MUST_VALIDATE_SUPERVISOR:"Votre code de validation vous sera envoy\xe9 une fois que votre Hyperviseur l'aura valid\xe9",ACCOUNT_SUCCESSFULL_CREATED:"Le compte a \xe9t\xe9 cr\xe9e avec succ\xe8s.\nVous recevrez dans quelques minutes un email et un sms avec vos informations.\nNous allons vous rediriger vers la page de connexion",langue:{french:"Francais",english:"Anglais"},ERROR_FILTER:"Erreur survenue lors du filtre",ERROR_FILTER_TEXT:"Probleme rencontr\xe9 lors du filtrage.",YOUR_THERE:"Vous \xeates ici",FILTER:"Filtrer",QUIT:"Quitter",QUIT_:"Quitter",APP_FULLNAME:"Ilink World",GUIDE_TITLE:"Bienvenue dans le Guide de",GUIDE_USER_SIMPLE:"Guide pour un utilisateur",GUIDE_AGENT:"Guide pour un agent",REPOSITIONNING:"Repositionner",WRONG_PHONE_NUMBER:"Num\xe9ro incorrect !",WRONG_PASSWORD:"Mot de passe incorrect !",NETWORK_LOST:"Connexion perdue !",SHOW:"Afficher",CALL:"Appeler",FORGOTTEN_PASSWORD:"Mots de passe oubli\xe9 ?",CONNECT_USER:"Se connecter",PASSWORD:"Mot de passe",CONFIRM_PASSWORD:"Confirmez le mot de passe",PASSWORD_MODIFY:"Modifiez votre mot de passe",OLD_PASSWORD:"Ancien mot de passe",NEW_PASSWORD:"Nouveau mot de passe",CONFIRM_NEW_PASSWORD:"Confirmerzle nouveau mot de passe",AMOUNT:"Montant",STATUS:"Statut",CANCEL:"Quitter",TEXT_GUIDE_USER_1:"Vous venez de vous Connecter.\n Votre localisation est marqu\xe9e au centre de la carte avec l'indication \"Vous \xeates ici\" ",TEXT_GUIDE_USER_3:"En cliquant sur le bouton '+' vous ouvrirez le menu d'options",TEXT_GUIDE_USER_4:"Cliquez sur un marqueur pour avoir les informations sur un point",TEXT_GUIDE_USER_2:"Cliquez sur le bouton de menu en haut \xe0 droite pour decouvrir le menu et l'option de d\xe9connexion",TEXT_GUIDE_USER_5:"Cliquez sur l'option 'Filtrer' pour filtrer vos points en fonction de leur distance par rapport \xe0 vous",TEXT_GUIDE_USER_6:"Cliquez sur l'option 'Changer de reseau ' pour afficher les points d'autres reseaux",TEXT_GUIDE_USER_7:"Cliquez sur l'option ' Itineraire' pour afficher le chemin \xe0 suivre pour ce rendre vers le point",TEXT_GUIDE_USER_10:"Consultez la liste des membre de votre groupe",TEXT_GUIDE_USER_11:"Cliquez sur l'option de profil pour avoir des informations lier \xe0 votre compte",CATEGORY:"Cat\xe9gorie",WAY:"Itin\xe9raire",ADD_NETWORK:"Ajouter un r\xe9seau",POINT_NUMBER:"Nombres de points",SUPERIOR_CODE:"Code parrain",ADD_SUCCES:"Ajout reussi",ADD_SUCCESS_TEXT:"Le num\xe9ro a \xe9t\xe9 ajout\xe9 au reseau avec succ\xe8s ",MEMBER_CODE:"Code membre",MEMBER_INFO:"Information du membre",DEMAND_INFO:"Information sur la demande",ACCOUNT_NOT_ACTIVE:"Votre compte n'est pas activ\xe9",ENTER_VALIDATION_CODE:"Saisissez le code de validation qui vous a \xe9t\xe9 envoy\xe9.",ENTER_VALIDATION_CODE1:"Saisissez le code de validation.",SUPERVISOR_NUMBER:"Nombre de superviseurs",GEOLOCATED_NUMBER:"Nombre de points par superviseur",ACTIVATE_ACCOUNT:"Activer le compte",SEND:"Envoyer !",CHANGE_INFORMATION:"Modifier mes informations",VALIDATE:"Valider",SELECT_YOUR_WALLET:"Selectionner un wallet",CONNECT:"Connexion",TEXT_BIG_CREATE_1:"Inscrivez vous en tant qu'Utilisateur",TEXT_SUBTITLE_CREATE_1:"Renseignez vos informations personnelles",USER_ACCOUNT:"Compte Utilisateur",USER_CONNECT:"Connexion utilisateur",GIVE_CONNECT_INFO:"Entrez vos informations de connexion",CREATE_ACCOUNT:"cr\xe9er un compte",CHOOSE_LANGUAGE:"Choisir la langue",MODIFY_PASSWORD:"Mot de passe oubli\xe9",CONTACT:"Contact",UPDATE:"... mise \xe0 jour",FAQ:"FAQ",UPDATE_POSITION_TEXT:"Mettre \xe0 jour ma position",YOU_ARE:"Vous \xeates ?",GIVE_ID_FOR_RECOVERY:"Saisissez votre identifiant, nous vous enverrons un nouveau mot de passe.",SELECT_ACCOUNT_TYPE:"S\xe9lectionnez un type de compte !",BRAVO:"Bravo !",HELP_CONGRAT_MESSAGE:"Vous savez maintenant comment utiliser iLink",REPLAY_HELP:"Revoir le didacticiel",BACK_TO_HELP_HOME:"Revenir \xe0 l'aide",USE_APP:"Utiliser l'application",HIDE_AT_STARTUP:"Masquer au prochain d\xe9marrage ?",PATH_YOU_ARE:"Vous \xeates \xe0 ",PATH_TO_POINT:" du point que vous avez cliqu\xe9.",PATH_YOU_WILL:"Vous y serez en ",PRECISE_SEARCH:"Affinez votre recherche",SEARCH_DISTANCE:"Distance",SEARCH_5:"5 km",SEARCH_15:"15 km",SEARCH_20:"20 km",SEARCH_25:"25 km",SEARCH:"Rechercher",SEE_VIDEO:"Voir la vid\xe9o",SEE_TUTO:"Voir le tutoriel",SELECT_NETWORK:"S\xe9lectionner votre r\xe9seau",DELETE:"Supprimer",FREE:"disponibles",SAVED:"enregistr\xe9s",ACCOUNT_INFO:" Information sur mon compte",REGISTER_YOURSELF:"Enregistrez-vous",REGISTRATION:"Inscription",CHANGE_LANG_LABEL:"Changer la langue",GIVE_PERSONNAL_INFO:"Renseignez vos information personnelles",YOUR_GEOLOCATION:"Votre localisation",HISTORY_REQUEST:"Historique des demandes",ASK_REQUEST_HISTORY:"Demander un historique",GIVE_HISTORY_INFO:"Informations sur votre historique",HISTORY_TYPE:"Type",HISTORY_TYPE_ASK:"Demandes",DEMANDE_RECEIVE:"Demandes re\xe7ues",MY_DEMANDE:"Mes demandes",PHONE_TRANSACTION:"Num\xe9ro de transaction",DEMAND_TEXT_FIRST_PART:"a effectu\xe9 une demande de ",DEMANDE_SEND:" Demande Envoy\xe9e",DEMAND_RECEIVE:"Demandes re\xe7ues",TO_:" cr\xe9dit aupr\xe8s de ",DEMAND_SEND_SUCCESFUL:"Votre demande a \xe9t\xe9 envoy\xe9e avec succ\xe8s !",SAVE_HISTORY:"Enregistrer l'historique",MAKE_REQUEST:"Faire une demande",DATE_WRONG:"La date de fin ne peut \xeatre ant\xe9rieure \xe0 la date de d\xe9but",LOADING_DOTS:"Chargement...",LOADING_PROGRESS:"Chargement en cours",EMPTY_LIST_REQUEST:"Aucune demande",MEMBER_LIST:"Liste des membres",FREE_CODE_LIST:"Liste des codes disponibles",NO_ITEM_REQUEST:"Aucun \xe9l\xe9ment ne correspond",MEMBERSHIP_REQUEST:"Demandes d'adh\xe9sion",HISTORY_TYPE_REQUEST:"Requ\xeates",TREAT:"Trait\xe9",EXIT_TITLE:"Fermer iLink World !",EXIT_DESC:"Voulez-vous vraiment fermer iLink World ?",NO_TREAT:"Non trait\xe9",EXIT:"Fermer",PERIOD:"P\xe9riode",DISCONNEXION:"D\xe9connexion",DISCONNEXION_TEXT:"Voulez-vous vraiment vous deconnecter ? Cette action effacera toutes vos donn\xe9es temporaires.",HISTORY_START:"D\xe9but",YES:"Oui",NO:"Non",CONNEXION_LOST_CHECK:"Connexion perdue. Veuillez v\xe9rifier votre connexion !",ACCOUNT_ACTIVATE_TEXT:"Votre compte a \xe9t\xe9 activ\xe9 avec succ\xe8s !",HISTORY_END:"Fin",DONT_VALIDATE_ACCOUNT:"Compte non valid\xe9",CONNEXION_SUCCESSFULL_TEXT:"Connexion r\xe9ussie. Bienvenue dans iLink World ! ",UNVALIDATE_ACCOUNT_TEXT:"Votre hyperviseur n'a pas encore valid\xe9 votre compte",TEXT_NEED_POSITION:"Veuillez mettre \xe0 jour votre position !",TITLE_NEED_POSITION:"Votre position doit \xeatre mise \xe0 jour",POSITION_UPDATE_SUCCESS_TEXT:"Votre position a \xe9t\xe9 mise \xe0 jour avec succ\xe8s !",UPDATE_SUCCESS:"Mise \xe0 jour reussie !",TITLE_UPDATE_POSITION_FAILED:"Impossible de mettre \xe0 jour votre position",TEXT_UPDATE_POSITION_FAILED_1:"Impossible de recuperer votre code membre",TEXT_UPDATE_POSITION_FAILED_2:"Impossible de recuperer votre position",TITLE_ERROR_SURVENU:"Une erreur est survenue !",TITLE_PROBLE_COME:"Un probl\xe8me a \xe9t\xe9 rencontr\xe9",TITLE_SUPPRESS_CONFIRM:"Confirmation de suppression",TEXT_SUPPRESS_CONFIRM:"Voulez vous vraiment supprimer cet utilisateur ?",TEXT_ERROR_START_APPLICATION:"Une erreur est survenue au d\xe9marrage de iLink World. Veuillez relancer iLink World",TEXT_UNABLE_TO_GET_YOUR_POSITION:"Impossible de recup\xe9rez votre position. Veuillez verifier que votre GPS est activ\xe9 et relancez iLink World",RESTART:"RECOMMENCER",TEXT_UNABLE_TO_GET_COUNTRY_INFO:"Impossible de recup\xe9rer les informations de votre pays. Verifiez votre connexion internet ! cliquez sur \"Ok\" pour reessayer",TITLE_UNABLE_TO_AUTORISE:"Echec de l'autorisation",MISSING_AUTORISATION_LOCATION:"iLink World n'est pas autoris\xe9 \xe0 acceder \xe0 votre position. Veuillez autoriser iLink World \xe0 acc\xe9der \xe0 votre localisation et relancez iLink World",TEXT_FORGOTTEN_PASSWORD:"Saisissez votre identifiant,nous vous enverrons un nouveau mot de passe\n",TEXT_NETWORK_UNABLE:"R\xe9seau non disponible, voulez vous r\xe9essayer ?",LOADING_TEXT_MARKERS:"Suite des points ",LOADING_TEXT_MARKERS_2:"autour",UNABLE_GET_INFORMATION:"Probl\xe8me de r\xe9cuperation des Informations",UNABLE_GET_INFORMATION_TEXT:"V\xe9rifiez que votre GPS est activ\xe9 et mis en mode haute precision et relancez iLink World",TITLE_HELP_SOON:"Aide non disponible !",HELP_SOON:"Un tutoriel vous aidant dans la compr\xe9hension des fonctionnalit\xe9s de l'application vous sera bient\xf4t mis \xe0 disposition."}},811,[]); __d(function(E,R,_,O,S,A,T){S.exports={WELCOME:"\u6b22\u8fce\u6765\u5230iLink",HELP:"\u5e2e\u52a9\u4f7f\u7528",SIMPLE_USER:"\u7b80\u5355\u7684\u7528\u6237",GEOLOCATED_USER:"\u5730\u7406\u4f4d\u7f6e\u5b9a\u4f4d\u7684\u7528\u6237",SUPERVISOR:"\u76d1",HYPERVISOR:"\u7ba1\u7406\u7a0b\u5e8f",OPEN:"\u5f00\u653e",POSITION:"\u6211\u7684\u4f4d\u7f6e",ASK_FOR_CREDIT:"\u8981\u6c42\u4fe1\u7528",ASK_CREDIT:"\u4fe1\u8d37\u7533\u8bf7",ASK_SUPERIOR_CREDIT:"\u8bf7\u6c42\u60a8\u7684\u7ecf\u7406\u4fe1\u7528",ASK_FOR_SUPERVISOR:"\u4e3b\u7ba1\u7684\u8981\u6c42",ASK_HYPERVISOR:"\u6210\u4e3a\u7ba1\u7406\u7a0b\u5e8f",ASK_FOR_HYPERVISOR:"\u8981\u6c42\u6210\u4e3a\u7ba1\u7406\u7a0b\u5e8f",ASK_SUPERVISOR:"\u6210\u4e3a\u4e3b\u7ba1",ASK_FOR_SUPERVISOR1:"\u8981\u6c42\u6210\u4e3a\u4e00\u540d\u4e3b\u7ba1",CREDIT_ASK_FROM_MEMBERS:"\u6765\u81ea\u60a8\u7684\u4f1a\u5458\u7684\u4fe1\u7528\u7533\u8bf7",ASK_MEMBERS:"\u4f1a\u5458\u7533\u8bf7",MY_ACCOUNT:"\u6211\u7684\u5e10\u6237",LOGOUT:"\u6ce8\u9500",MY_GROUP_MAP:"\u6211\u7684\u5c0f\u7ec4\u5730\u56fe",GROUP_MEMBERS:"\u5c0f\u7ec4\u6210\u5458",NAME:"\u540d",FIRSTNAME:"\u540d\u5b57",ADDRESS:"\u5730\u5740",CREDIT:"\u4fe1\u7528",EMAIL:"\u7535\u5b50\u90ae\u4ef6",COUNTRY:"\u56fd\u5bb6",NETWORK:"\u7f51\u7edc",PHONE:"\u7535\u8bdd",PASSWORD:"\u5bc6\u7801",CONFIRM_PASSWORD:"\u786e\u8ba4\u5bc6\u7801",PASSWORD_MODIFY:"\u66f4\u6539\u60a8\u7684\u5bc6\u7801",OLD_PASSWORD:"\u65e7\u5bc6\u7801",NEW_PASSWORD:"\u65b0\u5bc6\u7801",CONFIRM_NEW_PASSWORD:"\u786e\u8ba4\u65b0\u5bc6\u7801",AMOUNT:"\u91cf",STATUS:"\u72b6\u6001",CATEGORY:"\u7c7b\u522b",POINT_NUMBER:"\u70b9\u6570",SUPERIOR_CODE:"\u8d5e\u52a9\u5546\u4ee3\u7801",MEMBER_CODE:"\u4f1a\u5458\u4ee3\u7801",ACCOUNT_NOT_ACTIVE:"\u60a8\u7684\u5e10\u6237\u672a\u88ab\u6fc0\u6d3b",ENTER_VALIDATION_CODE:"\u8f93\u5165\u53d1\u9001\u7ed9\u60a8\u7684\u9a8c\u8bc1\u7801\u3002",ENTER_VALIDATION_CODE1:"\u8f93\u5165\u9a8c\u8bc1\u7801\u3002",SUPERVISOR_NUMBER:"\u4e3b\u7ba1\u4eba\u6570",GEOLOCATED_NUMBER:"\u6bcf\u4e2a\u4e3b\u7ba1\u7684\u70b9\u6570",ACTIVATE_ACCOUNT:"\u6fc0\u6d3b\u5e10\u6237",SEND:"\u9001\uff01",VALIDATE:"\u9a8c\u8bc1",CONNECT:"\u767b\u5f55",USER_CONNECT:"\u7528\u6237\u767b\u5f55",GIVE_CONNECT_INFO:"\u8f93\u5165\u60a8\u7684\u767b\u5f55\u4fe1\u606f",CREATE_ACCOUNT:"\u6216\u8005\u521b\u5efa\u4e00\u4e2a\u5e10\u6237",MODIFY_PASSWORD:"\u5fd8\u8bb0\u5bc6\u7801",CONTACT:"\u63a5\u89e6",UPDATE:"... \u66f4\u65b0",FAQ:"\u5e38\u95ee\u95ee\u9898",YOU_ARE:"\u4f60\u662f\uff1f",GIVE_ID_FOR_RECOVERY:"\u8f93\u5165\u60a8\u7684\u7528\u6237\u540d\uff0c\u6211\u4eec\u4f1a\u5411\u60a8\u53d1\u9001\u4e00\u4e2a\u65b0\u5bc6\u7801\u3002",SELECT_ACCOUNT_TYPE:"\u9009\u62e9\u4e00\u4e2a\u5e10\u6237\u7c7b\u578b\uff01",BRAVO:"\u606d\u559c\uff01",HELP_CONGRAT_MESSAGE:"\u60a8\u73b0\u5728\u77e5\u9053\u5982\u4f55\u4f7f\u7528iLink",REPLAY_HELP:"\u67e5\u770b\u6559\u7a0b",BACK_TO_HELP_HOME:"\u8fd4\u56de\u5e2e\u52a9",USE_APP:"\u4f7f\u7528\u8be5\u5e94\u7528\u7a0b\u5e8f",HIDE_AT_STARTUP:"\u5728\u4e0b\u6b21\u5f00\u59cb\u65f6\u9690\u85cf\uff1f",PATH_YOU_ARE:"\u4f60\u5728 ",PATH_TO_POINT:" \u4ece\u4f60\u70b9\u51fb\u7684\u70b9\u3002",PATH_YOU_WILL:"\u4f60\u4f1a\u5728\u90a3\u91cc ",PRECISE_SEARCH:"\u4f18\u5316\u60a8\u7684\u641c\u7d22",SEARCH_DISTANCE:"\u8ddd\u79bb",SEARCH_5:"5\u516c\u91cc",SEARCH_15:"15\u516c\u91cc",SEARCH_20:"20\u516c\u91cc",SEARCH_25:"25\u516c\u91cc",SEARCH:"\u641c\u7d22",DELETE:"\u6e05\u9664",REGISTER_YOURSELF:"\u6ce8\u518c",REGISTRATION:"\u6ce8\u518c",GIVE_PERSONNAL_INFO:"\u586b\u5199\u60a8\u7684\u4e2a\u200b\u200b\u4eba\u4fe1\u606f",YOUR_GEOLOCATION:"\u4f60\u7684\u4f4d\u7f6e",REQUEST_HISTORY:"\u8acb\u6c42\u6b77\u53f2\u8a18\u9304",ASK_REQUEST_HISTORY:"\u7d22\u53d6\u6b77\u53f2\u8a18\u9304",GIVE_HISTORY_INFO:"\u6709\u95dc\u60a8\u7684\u6b77\u53f2\u7684\u4fe1\u606f",HISTORY_TYPE:"\u985e\u578b",HISTORY_TYPE_ASK:"\u8acb\u6c42",HISTORY_TYPE_REQUEST:"\u67e5\u8a62",HISTORY_START:"\u958b\u59cb",HISTORY_END:"\u7d50\u675f"}},812,[]); __d(function(e,a,d,o,c,n,i){c.exports=[{name:"Afghanistan",dial_code:"+93",code:"AF"},{name:"\xc5land Islands",dial_code:"+358",code:"AX"},{name:"Albania",dial_code:"+355",code:"AL"},{name:"Algeria",dial_code:"+213",code:"DZ"},{name:"American Samoa",dial_code:"+1684",code:"AS"},{name:"Andorra",dial_code:"+376",code:"AD"},{name:"Angola",dial_code:"+244",code:"AO"},{name:"Anguilla",dial_code:"+1264",code:"AI"},{name:"Antarctica",dial_code:"+672",code:"AQ"},{name:"Antigua and Barbuda",dial_code:"+1268",code:"AG"},{name:"Argentina",dial_code:"+54",code:"AR"},{name:"Armenia",dial_code:"+374",code:"AM"},{name:"Aruba",dial_code:"+297",code:"AW"},{name:"Australia",dial_code:"+61",code:"AU"},{name:"Austria",dial_code:"+43",code:"AT"},{name:"Azerbaijan",dial_code:"+994",code:"AZ"},{name:"Bahamas",dial_code:"+1242",code:"BS"},{name:"Bahrain",dial_code:"+973",code:"BH"},{name:"Bangladesh",dial_code:"+880",code:"BD"},{name:"Barbados",dial_code:"+1246",code:"BB"},{name:"Belarus",dial_code:"+375",code:"BY"},{name:"Belgium",dial_code:"+32",code:"BE"},{name:"Belize",dial_code:"+501",code:"BZ"},{name:"Benin",dial_code:"+229",code:"BJ"},{name:"Bermuda",dial_code:"+1441",code:"BM"},{name:"Bhutan",dial_code:"+975",code:"BT"},{name:"Bolivia, Plurinational State of bolivia",dial_code:"+591",code:"BO"},{name:"Bosnia and Herzegovina",dial_code:"+387",code:"BA"},{name:"Botswana",dial_code:"+267",code:"BW"},{name:"Bouvet Island",dial_code:"+47",code:"BV"},{name:"Brazil",dial_code:"+55",code:"BR"},{name:"British Indian Ocean Territory",dial_code:"+246",code:"IO"},{name:"Brunei Darussalam",dial_code:"+673",code:"BN"},{name:"Bulgaria",dial_code:"+359",code:"BG"},{name:"Burkina Faso",dial_code:"+226",code:"BF"},{name:"Burundi",dial_code:"+257",code:"BI"},{name:"Cambodia",dial_code:"+855",code:"KH"},{name:"Cameroon",dial_code:"+237",code:"CM"},{name:"Canada",dial_code:"+1",code:"CA"},{name:"Cape Verde",dial_code:"+238",code:"CV"},{name:"Cayman Islands",dial_code:"+ 345",code:"KY"},{name:"Central African Republic",dial_code:"+236",code:"CF"},{name:"Chad",dial_code:"+235",code:"TD"},{name:"Chile",dial_code:"+56",code:"CL"},{name:"China",dial_code:"+86",code:"CN"},{name:"Christmas Island",dial_code:"+61",code:"CX"},{name:"Cocos (Keeling) Islands",dial_code:"+61",code:"CC"},{name:"Colombia",dial_code:"+57",code:"CO"},{name:"Comoros",dial_code:"+269",code:"KM"},{name:"Congo",dial_code:"+242",code:"CG"},{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",code:"CD"},{name:"Cook Islands",dial_code:"+682",code:"CK"},{name:"Costa Rica",dial_code:"+506",code:"CR"},{name:"Cote d'Ivoire",dial_code:"+225",code:"CI"},{name:"Croatia",dial_code:"+385",code:"HR"},{name:"Cuba",dial_code:"+53",code:"CU"},{name:"Cyprus",dial_code:"+357",code:"CY"},{name:"Czech Republic",dial_code:"+420",code:"CZ"},{name:"Denmark",dial_code:"+45",code:"DK"},{name:"Djibouti",dial_code:"+253",code:"DJ"},{name:"Dominica",dial_code:"+1767",code:"DM"},{name:"Dominican Republic",dial_code:"+1849",code:"DO"},{name:"Ecuador",dial_code:"+593",code:"EC"},{name:"Egypt",dial_code:"+20",code:"EG"},{name:"El Salvador",dial_code:"+503",code:"SV"},{name:"Equatorial Guinea",dial_code:"+240",code:"GQ"},{name:"Eritrea",dial_code:"+291",code:"ER"},{name:"Estonia",dial_code:"+372",code:"EE"},{name:"Ethiopia",dial_code:"+251",code:"ET"},{name:"Falkland Islands (Malvinas)",dial_code:"+500",code:"FK"},{name:"Faroe Islands",dial_code:"+298",code:"FO"},{name:"Fiji",dial_code:"+679",code:"FJ"},{name:"Finland",dial_code:"+358",code:"FI"},{name:"France",dial_code:"+33",code:"FR"},{name:"French Guiana",dial_code:"+594",code:"GF"},{name:"French Polynesia",dial_code:"+689",code:"PF"},{name:"French Southern Territories",dial_code:"+262",code:"TF"},{name:"Gabon",dial_code:"+241",code:"GA"},{name:"Gambia",dial_code:"+220",code:"GM"},{name:"Georgia",dial_code:"+995",code:"GE"},{name:"Germany",dial_code:"+49",code:"DE"},{name:"Ghana",dial_code:"+233",code:"GH"},{name:"Gibraltar",dial_code:"+350",code:"GI"},{name:"Greece",dial_code:"+30",code:"GR"},{name:"Greenland",dial_code:"+299",code:"GL"},{name:"Grenada",dial_code:"+1473",code:"GD"},{name:"Guadeloupe",dial_code:"+590",code:"GP"},{name:"Guam",dial_code:"+1671",code:"GU"},{name:"Guatemala",dial_code:"+502",code:"GT"},{name:"Guernsey",dial_code:"+44",code:"GG"},{name:"Guinea",dial_code:"+224",code:"GN"},{name:"Guinea-Bissau",dial_code:"+245",code:"GW"},{name:"Guyana",dial_code:"+592",code:"GY"},{name:"Haiti",dial_code:"+509",code:"HT"},{name:"Heard Island and Mcdonald Islands",dial_code:"+0",code:"HM"},{name:"Holy See (Vatican City State)",dial_code:"+379",code:"VA"},{name:"Honduras",dial_code:"+504",code:"HN"},{name:"Hong Kong",dial_code:"+852",code:"HK"},{name:"Hungary",dial_code:"+36",code:"HU"},{name:"Iceland",dial_code:"+354",code:"IS"},{name:"India",dial_code:"+91",code:"IN"},{name:"Indonesia",dial_code:"+62",code:"ID"},{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",code:"IR"},{name:"Iraq",dial_code:"+964",code:"IQ"},{name:"Ireland",dial_code:"+353",code:"IE"},{name:"Isle of Man",dial_code:"+44",code:"IM"},{name:"Israel",dial_code:"+972",code:"IL"},{name:"Italy",dial_code:"+39",code:"IT"},{name:"Jamaica",dial_code:"+1876",code:"JM"},{name:"Japan",dial_code:"+81",code:"JP"},{name:"Jersey",dial_code:"+44",code:"JE"},{name:"Jordan",dial_code:"+962",code:"JO"},{name:"Kazakhstan",dial_code:"+7",code:"KZ"},{name:"Kenya",dial_code:"+254",code:"KE"},{name:"Kiribati",dial_code:"+686",code:"KI"},{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",code:"KP"},{name:"Korea, Republic of South Korea",dial_code:"+82",code:"KR"},{name:"Kosovo",dial_code:"+383",code:"XK"},{name:"Kuwait",dial_code:"+965",code:"KW"},{name:"Kyrgyzstan",dial_code:"+996",code:"KG"},{name:"Laos",dial_code:"+856",code:"LA"},{name:"Latvia",dial_code:"+371",code:"LV"},{name:"Lebanon",dial_code:"+961",code:"LB"},{name:"Lesotho",dial_code:"+266",code:"LS"},{name:"Liberia",dial_code:"+231",code:"LR"},{name:"Libyan Arab Jamahiriya",dial_code:"+218",code:"LY"},{name:"Liechtenstein",dial_code:"+423",code:"LI"},{name:"Lithuania",dial_code:"+370",code:"LT"},{name:"Luxembourg",dial_code:"+352",code:"LU"},{name:"Macao",dial_code:"+853",code:"MO"},{name:"Macedonia",dial_code:"+389",code:"MK"},{name:"Madagascar",dial_code:"+261",code:"MG"},{name:"Malawi",dial_code:"+265",code:"MW"},{name:"Malaysia",dial_code:"+60",code:"MY"},{name:"Maldives",dial_code:"+960",code:"MV"},{name:"Mali",dial_code:"+223",code:"ML"},{name:"Malta",dial_code:"+356",code:"MT"},{name:"Marshall Islands",dial_code:"+692",code:"MH"},{name:"Martinique",dial_code:"+596",code:"MQ"},{name:"Mauritania",dial_code:"+222",code:"MR"},{name:"Mauritius",dial_code:"+230",code:"MU"},{name:"Mayotte",dial_code:"+262",code:"YT"},{name:"Mexico",dial_code:"+52",code:"MX"},{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",code:"FM"},{name:"Moldova",dial_code:"+373",code:"MD"},{name:"Monaco",dial_code:"+377",code:"MC"},{name:"Mongolia",dial_code:"+976",code:"MN"},{name:"Montenegro",dial_code:"+382",code:"ME"},{name:"Montserrat",dial_code:"+1664",code:"MS"},{name:"Morocco",dial_code:"+212",code:"MA"},{name:"Mozambique",dial_code:"+258",code:"MZ"},{name:"Myanmar",dial_code:"+95",code:"MM"},{name:"Namibia",dial_code:"+264",code:"NA"},{name:"Nauru",dial_code:"+674",code:"NR"},{name:"Nepal",dial_code:"+977",code:"NP"},{name:"Netherlands",dial_code:"+31",code:"NL"},{name:"Netherlands Antilles",dial_code:"+599",code:"AN"},{name:"New Caledonia",dial_code:"+687",code:"NC"},{name:"New Zealand",dial_code:"+64",code:"NZ"},{name:"Nicaragua",dial_code:"+505",code:"NI"},{name:"Niger",dial_code:"+227",code:"NE"},{name:"Nigeria",dial_code:"+234",code:"NG"},{name:"Niue",dial_code:"+683",code:"NU"},{name:"Norfolk Island",dial_code:"+672",code:"NF"},{name:"Northern Mariana Islands",dial_code:"+1670",code:"MP"},{name:"Norway",dial_code:"+47",code:"NO"},{name:"Oman",dial_code:"+968",code:"OM"},{name:"Pakistan",dial_code:"+92",code:"PK"},{name:"Palau",dial_code:"+680",code:"PW"},{name:"Palestinian Territory, Occupied",dial_code:"+970",code:"PS"},{name:"Panama",dial_code:"+507",code:"PA"},{name:"Papua New Guinea",dial_code:"+675",code:"PG"},{name:"Paraguay",dial_code:"+595",code:"PY"},{name:"Peru",dial_code:"+51",code:"PE"},{name:"Philippines",dial_code:"+63",code:"PH"},{name:"Pitcairn",dial_code:"+64",code:"PN"},{name:"Poland",dial_code:"+48",code:"PL"},{name:"Portugal",dial_code:"+351",code:"PT"},{name:"Puerto Rico",dial_code:"+1939",code:"PR"},{name:"Qatar",dial_code:"+974",code:"QA"},{name:"Romania",dial_code:"+40",code:"RO"},{name:"Russia",dial_code:"+7",code:"RU"},{name:"Rwanda",dial_code:"+250",code:"RW"},{name:"Reunion",dial_code:"+262",code:"RE"},{name:"Saint Barthelemy",dial_code:"+590",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",code:"SH"},{name:"Saint Kitts and Nevis",dial_code:"+1869",code:"KN"},{name:"Saint Lucia",dial_code:"+1758",code:"LC"},{name:"Saint Martin",dial_code:"+590",code:"MF"},{name:"Saint Pierre and Miquelon",dial_code:"+508",code:"PM"},{name:"Saint Vincent and the Grenadines",dial_code:"+1784",code:"VC"},{name:"Samoa",dial_code:"+685",code:"WS"},{name:"San Marino",dial_code:"+378",code:"SM"},{name:"Sao Tome and Principe",dial_code:"+239",code:"ST"},{name:"Saudi Arabia",dial_code:"+966",code:"SA"},{name:"Senegal",dial_code:"+221",code:"SN"},{name:"Serbia",dial_code:"+381",code:"RS"},{name:"Seychelles",dial_code:"+248",code:"SC"},{name:"Sierra Leone",dial_code:"+232",code:"SL"},{name:"Singapore",dial_code:"+65",code:"SG"},{name:"Slovakia",dial_code:"+421",code:"SK"},{name:"Slovenia",dial_code:"+386",code:"SI"},{name:"Solomon Islands",dial_code:"+677",code:"SB"},{name:"Somalia",dial_code:"+252",code:"SO"},{name:"South Africa",dial_code:"+27",code:"ZA"},{name:"South Sudan",dial_code:"+211",code:"SS"},{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",code:"GS"},{name:"Spain",dial_code:"+34",code:"ES"},{name:"Sri Lanka",dial_code:"+94",code:"LK"},{name:"Sudan",dial_code:"+249",code:"SD"},{name:"Suriname",dial_code:"+597",code:"SR"},{name:"Svalbard and Jan Mayen",dial_code:"+47",code:"SJ"},{name:"Swaziland",dial_code:"+268",code:"SZ"},{name:"Sweden",dial_code:"+46",code:"SE"},{name:"Switzerland",dial_code:"+41",code:"CH"},{name:"Syrian Arab Republic",dial_code:"+963",code:"SY"},{name:"Taiwan",dial_code:"+886",code:"TW"},{name:"Tajikistan",dial_code:"+992",code:"TJ"},{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",code:"TZ"},{name:"Thailand",dial_code:"+66",code:"TH"},{name:"Timor-Leste",dial_code:"+670",code:"TL"},{name:"Togo",dial_code:"+228",code:"TG"},{name:"Tokelau",dial_code:"+690",code:"TK"},{name:"Tonga",dial_code:"+676",code:"TO"},{name:"Trinidad and Tobago",dial_code:"+1868",code:"TT"},{name:"Tunisia",dial_code:"+216",code:"TN"},{name:"Turkey",dial_code:"+90",code:"TR"},{name:"Turkmenistan",dial_code:"+993",code:"TM"},{name:"Turks and Caicos Islands",dial_code:"+1649",code:"TC"},{name:"Tuvalu",dial_code:"+688",code:"TV"},{name:"Uganda",dial_code:"+256",code:"UG"},{name:"Ukraine",dial_code:"+380",code:"UA"},{name:"United Arab Emirates",dial_code:"+971",code:"AE"},{name:"United Kingdom",dial_code:"+44",code:"GB"},{name:"United States",dial_code:"+1",code:"US"},{name:"Uruguay",dial_code:"+598",code:"UY"},{name:"Uzbekistan",dial_code:"+998",code:"UZ"},{name:"Vanuatu",dial_code:"+678",code:"VU"},{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",code:"VE"},{name:"Vietnam",dial_code:"+84",code:"VN"},{name:"Virgin Islands, British",dial_code:"+1284",code:"VG"},{name:"Virgin Islands, U.S.",dial_code:"+1340",code:"VI"},{name:"Wallis and Futuna",dial_code:"+681",code:"WF"},{name:"Yemen",dial_code:"+967",code:"YE"},{name:"Zambia",dial_code:"+260",code:"ZM"},{name:"Zimbabwe",dial_code:"+263",code:"ZW"}]},813,[]); __d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/datas/img",width:464,height:131,scales:[1],hash:"cd059f3761a85df25dd81343dcb711ed",name:"icon3",type:"png"})},814,[175]); @@ -1153,9 +1153,9 @@ __d(function(g,r,i,a,m,e,d){var t,n;t=this,n=function(t){'use strict';return t.d __d(function(g,r,i,a,m,e,d){var t,n;t=this,n=function(t){'use strict';return t.defineLocale('en-il',{months:'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),monthsShort:'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),weekdays:'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),weekdaysShort:'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),weekdaysMin:'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),longDateFormat:{LT:'HH:mm',LTS:'HH:mm:ss',L:'DD/MM/YYYY',LL:'D MMMM YYYY',LLL:'D MMMM YYYY HH:mm',LLLL:'dddd, D MMMM YYYY HH:mm'},calendar:{sameDay:'[Today at] LT',nextDay:'[Tomorrow at] LT',nextWeek:'dddd [at] LT',lastDay:'[Yesterday at] LT',lastWeek:'[Last] dddd [at] LT',sameElse:'L'},relativeTime:{future:'in %s',past:'%s ago',s:'a few seconds',m:'a minute',mm:'%d minutes',h:'an hour',hh:'%d hours',d:'a day',dd:'%d days',M:'a month',MM:'%d months',y:'a year',yy:'%d years'},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var n=t%10;return t+(1==~~(t%100/10)?'th':1===n?'st':2===n?'nd':3===n?'rd':'th')}})},'object'==typeof e&&void 0!==m&&'function'==typeof r?n(r(d[0])):'function'==typeof define&&define.amd?define(['../moment'],n):n(t.moment)},1147,[1024]); __d(function(g,r,i,a,m,e,d){var t,n;t=this,n=function(t){'use strict';return t.defineLocale('en-nz',{months:'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),monthsShort:'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),weekdays:'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),weekdaysShort:'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),weekdaysMin:'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),longDateFormat:{LT:'h:mm A',LTS:'h:mm:ss A',L:'DD/MM/YYYY',LL:'D MMMM YYYY',LLL:'D MMMM YYYY h:mm A',LLLL:'dddd, D MMMM YYYY h:mm A'},calendar:{sameDay:'[Today at] LT',nextDay:'[Tomorrow at] LT',nextWeek:'dddd [at] LT',lastDay:'[Yesterday at] LT',lastWeek:'[Last] dddd [at] LT',sameElse:'L'},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',M:'a month',MM:'%d months',y:'a year',yy:'%d years'},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var n=t%10;return t+(1==~~(t%100/10)?'th':1===n?'st':2===n?'nd':3===n?'rd':'th')},week:{dow:1,doy:4}})},'object'==typeof e&&void 0!==m&&'function'==typeof r?n(r(d[0])):'function'==typeof define&&define.amd?define(['../moment'],n):n(t.moment)},1148,[1024]); __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.sendDemandeSpecificque=e.sendDemande=e.updateCreditDemand=e.loadMyDemandeCredit=e.loadDemandeCredit=void 0;var o=n(r(d[2])),c=(t(r(d[3])),n(r(d[4]))),s=r(d[5]),u=r(d[6]);r(d[7]).DBEvents,r(d[8]);e.loadDemandeCredit=function(){var t,n,l,p;return o.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,o.default.awrap((0,u.readUser)());case 2:return t=f.sent,n={tag:"credit_demands",id:t.code_membre,lang:c.default.currentLocale(),test:s.isDebugMode},f.next=6,o.default.awrap(fetch(s.demandeActionUrl,{method:'POST',headers:{Accept:'application/json','Content-Type':'application/json'},body:JSON.stringify(n)}));case 6:return l=f.sent,f.prev=7,console.log(l),f.next=11,o.default.awrap(l.json());case 11:return p=f.sent,console.log(p),f.abrupt("return",p);case 16:return f.prev=16,f.t0=f.catch(7),console.log(l.text()),f.abrupt("return",[]);case 20:case"end":return f.stop()}},null,null,[[7,16]],Promise)};e.loadMyDemandeCredit=function(){var t,n,l,p;return o.default.async(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,o.default.awrap((0,u.readUser)());case 2:return t=f.sent,n={tag:"credit_demands_of_agent",id:t.agentId,lang:c.default.currentLocale(),test:s.isDebugMode},console.log(n),f.next=7,o.default.awrap(fetch(s.demandeActionUrl,{method:'POST',headers:{Accept:'application/json','Content-Type':'application/json'},body:JSON.stringify(n)}));case 7:return l=f.sent,f.prev=8,console.log(l,"my demande"),f.next=12,o.default.awrap(l.json());case 12:return p=f.sent,console.log(p),f.abrupt("return",p);case 17:return f.prev=17,f.t0=f.catch(8),f.abrupt("return",[]);case 20:case"end":return f.stop()}},null,null,[[8,17]],Promise)};e.updateCreditDemand=function(t,n){var o={tag:"update_ask_credit",phone:t,id:n,lang:c.default.currentLocale(),test:s.isDebugMode};return fetch(s.demandeActionUrl,{method:"POST",headers:{Accept:'application/json','Content-Type':'application/json'},body:JSON.stringify(o)}).then(function(t){return t.json()}).then(function(t){return t}).catch(function(t){console.warn(t)})};e.sendDemande=function(t){var n,l,p,f,h;return o.default.async(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,o.default.awrap((0,u.readUser)());case 2:if(void 0===(n=b.sent)||void 0===n.code_parrain||void 0===n.code_membre||n.code_membre===n.code_parrain){b.next=24;break}return l={tag:"ask_credit",phone:n.phone,code:n.code,lang:c.default.currentLocale(),test:s.isDebugMode,montant:t},b.next=7,o.default.awrap(fetch(s.demandeActionUrl,{method:'POST',headers:{Accept:'application/json','Content-Type':'application/json'},body:JSON.stringify(l)}));case 7:return p=b.sent,f="",b.prev=9,b.next=12,o.default.awrap(p.text());case 12:return f=b.sent,h=JSON.parse(f),b.abrupt("return",h);case 17:return b.prev=17,b.t0=b.catch(9),console.log(p),console.log("error",f),b.abrupt("return",[]);case 22:b.next=25;break;case 24:return b.abrupt("return",-1);case 25:case"end":return b.stop()}},null,null,[[9,17]],Promise)};e.sendDemandeSpecificque=function(t,n,u){var l,p,f;return o.default.async(function(h){for(;;)switch(h.prev=h.next){case 0:return l={tag:"ask_credit",phone:n,test:s.isDebugMode,code:u,montant:t,lang:c.default.currentLocale()},h.next=3,o.default.awrap(fetch(s.demandeActionUrl,{method:'POST',headers:{Accept:'application/json','Content-Type':'application/json'},body:JSON.stringify(l)}));case 3:return p=h.sent,h.prev=4,h.next=7,o.default.awrap(p.json());case 7:return f=h.sent,console.log(f),h.abrupt("return",f);case 12:return h.prev=12,h.t0=h.catch(4),console.log(p),console.warn(h.t0),h.abrupt("return",[]);case 17:case"end":return h.stop()}},null,null,[[4,12]],Promise)}},1149,[4,1,273,15,712,736,711,738,714]); -__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])),c=n(r(d[4])),l=n(r(d[5])),s=n(r(d[6])),f=n(r(d[7])),v=t(r(d[8])),h=r(d[9]),p=(n(r(d[10])),n(r(d[11]))),k=r(d[12]),y=(n(r(d[13])),r(d[14]),r(d[15])),I=r(d[16]),N=n(r(d[17])),A=n(r(d[18])),T=r(d[19]),E=r(d[20]),O=n(r(d[21])),S=(t(r(d[22])),n(r(d[23]))),C=r(d[24]);r(d[14]);r(d[25]);r(d[26]).DBEvents;var b=r(d[15]),U=(function(t){function n(t){var u;return(0,o.default)(this,n),(u=(0,c.default)(this,(0,l.default)(n).call(this,t)))._renderItem=function(t){if("creditrequest"===t||'historyItemDetails'===t||'filter'===t||'networks'===t)return null;u.state.currentId===t.id&&b.accent;return v.default.createElement(h.TouchableOpacity,{onPress:function(){u.props.navigation.toggleDrawer(),u.setState({currentId:t.id}),u.props.navigation.navigate(t)}},v.default.createElement(h.View,{style:w.content},v.default.createElement(p.default,{name:u.getIcon(t),size:32}),v.default.createElement(h.Text,{style:{marginLeft:20,fontSize:16}},u.getNameItems(t))))},u._onPress=function(t){u.setState({currentId:t.id});var n=u.state.menu.filter(function(t){return t.active})[0];n.active=!1,t.active=!0;var o=[];u.state.menu.forEach(function(u){u.id===n.id?o.push(n):u.id===t.id?o.push(t):o.push(u)}),u.setState({menu:o})},u.state=u.initState(),T.IlinkEmitter.on("menuLink",u.onMenuNavigationEvent.bind((0,s.default)(u))),T.IlinkEmitter.on("userconnect",u.onUserConnect.bind((0,s.default)(u))),T.IlinkEmitter.on("userdisconnect",u.hideSideMenu.bind((0,s.default)(u))),T.IlinkEmitter.on("langueChange",u.updateLangue.bind((0,s.default)(u))),u.configuration=new S.default,u}return(0,f.default)(n,t),(0,u.default)(n,[{key:"retrieveAndroidInformation",value:function(){var t=this;return this.configuration._getData().then(function(n){if(n)N.default.locale=n,(0,I.readUser)().then(function(n){setTimeout(function(){t.updateUser(n)},3e3)});else{var o=O.default.getDeviceLocale();N.default.locale=o.toLowerCase(),(0,I.readUser)().then(function(n){setTimeout(function(){t.updateUser(n)},3e3)}).catch(function(n){t.props.navigation.navigate("Auth")})}}).catch(function(n){var o=O.default.getDeviceLocale();N.default.locale=o.toLowerCase(),(0,I.readUser)().then(function(n){setTimeout(function(){t.updateUser(n)},3e3)}).catch(function(n){t.props.navigation.navigate("Auth")})}),""}},{key:"componentDidMount",value:function(){var t=this.props.navigation.router.childRouters.sta.childRouters;this.setState({items:t}),this.retrieveAndroidInformation()}},{key:"updateLangue",value:function(){this.setState({lang:"change"}),this.forceUpdate()}},{key:"componentWillUnmount",value:function(){}},{key:"onMenuNavigationEvent",value:function(t){}},{key:"onUserConnect",value:function(){var t=this;(0,I.readUser)().then(function(n){null!==n&&void 0!==n&&t.updateUser(n)})}},{key:"onNavigatorEvent",value:function(t){}},{key:"hideSideMenu",value:function(){}},{key:"initState",value:function(){return{user:null,menu:[],currentId:0}}},{key:"getGeolocatedUserMenu",value:function(){return[{title:N.default.t('MAP'),id:0,key:0,icon:'md-map',active:!0},{title:N.default.t('MY_ACCOUNT'),id:1,key:1,icon:'md-person',active:!1},{title:N.default.t('WALLET'),id:6,key:6,icon:'md-wallet-outline',active:!1},{title:N.default.t('CREDIT_MANAGE'),id:2,key:2,icon:'md-card',active:!1},{title:N.default.t('ADD_NETWORK'),id:11,key:11,icon:'md-people',active:!1},{title:N.default.t('CHANGE_INFORMATION'),id:13,key:13,icon:'md-person',active:!1},{title:N.default.t('NOTIFICATIONS'),id:3,key:3,icon:'md-notifications',active:!1},{title:N.default.t('CONFIGURATIONS'),id:4,icon:'md-settings',active:!1}]}},{key:"getSuperUserMenu",value:function(){return[{title:N.default.t('MAP'),id:0,key:0,icon:'md-map',active:!0},{title:N.default.t('MY_ACCOUNT'),id:1,key:1,icon:'md-person',active:!1},{title:N.default.t('WALLET'),id:6,key:6,icon:'md-wallet-outline',active:!1},{title:N.default.t('CREDIT_MANAGE'),id:2,key:2,icon:'md-card',active:!1},{title:N.default.t('GROUP_MANAGE'),id:5,key:5,icon:'md-people',active:!1},{title:N.default.t('NOTIFICATIONS'),id:3,key:3,icon:'md-notifications',active:!1},{title:N.default.t('CONFIGURATIONS'),id:4,icon:'md-settings',active:!1}]}},{key:"getHyperUsermenu",value:function(){return[{title:N.default.t('MAP'),id:0,key:0,icon:'md-map',active:!0},{title:N.default.t('MY_ACCOUNT'),id:1,key:1,icon:'md-person',active:!1},{title:N.default.t('WALLET'),id:6,key:6,icon:'md-wallet-outline',active:!1},{title:N.default.t('CREDIT_MANAGE'),id:2,key:2,icon:'md-card',active:!1},{title:N.default.t('GROUP_MANAGE'),id:5,key:5,icon:'md-people',active:!1},{title:N.default.t('NOTIFICATIONS'),id:3,key:3,icon:'md-notifications',active:!1},{title:N.default.t('CONFIGURATIONS'),id:4,icon:'md-settings',active:!1}]}},{key:"updateUser",value:function(t){var n=[];if(void 0!==t)if(void 0!==t.category)switch(t.category){case"geolocated":n=this.getGeolocatedUserMenu();break;case"super":n=this.getSuperUserMenu();break;case"hyper":n=this.getHyperUsermenu()}else n=this.getUserMenu();this.setState({user:t,menu:n})}},{key:"getUserMenu",value:function(){return[{title:N.default.t('MAP'),id:0,key:0,icon:'md-map',active:!0},{title:N.default.t('MY_ACCOUNT'),id:1,key:1,icon:'md-person',active:!1},{title:N.default.t('NOTIFICATIONS'),id:3,key:3,icon:'md-notifications',active:!1},{title:N.default.t('CONFIGURATIONS'),id:4,icon:'md-settings',active:!1}]}},{key:"getNameItems",value:function(t){var n=t;switch(t){case"home":n=N.default.t('MAP');break;case'useraccount':n=N.default.t('MY_ACCOUNT');break;case'walletSelect':n=N.default.t('WALLET');break;case'Historique':n=N.default.t('CREDIT_MANAGE');break;case"superviseurgroup":n=N.default.t('GROUP_MANAGE');break;case"updateinformation":n=N.default.t("CHANGE_INFORMATION");break;case'notificationview':n=N.default.t('NOTIFICATIONS');break;case'configuration':n=N.default.t('CONFIGURATIONS');break;case'addNetwork':n=N.default.t('ADD_NETWORK');break;case'about':n=N.default.t('ABOUT')}return n}},{key:"getIcon",value:function(t){var n="md-map";switch(t){case"home":n="md-map";break;case'useraccount':n="md-person";break;case'walletSelect':n="md-wallet";break;case'Historique':n="md-card";break;case"superviseurgroup":n="md-people";break;case'notificationview':n="md-notifications";break;case"updateinformation":n="md-people";break;case'configuration':n='md-settings';break;case'addNetwork':n="md-people";break;case'about':n='md-contacts'}return n}},{key:"render",value:function(){var t=this,n=this.state.user?this.state.user.firstname:"",o=this.state.user?this.state.user.lastname:"";return this.state.lang||"change"===this.state.lang?(setTimeout(function(){return t.setState({lang:""})},500),v.default.createElement(h.View,null)):v.default.createElement(h.View,{style:M.container},v.default.createElement(h.View,{style:M.headercontent},v.default.createElement(h.Text,{style:M.headerTitle},n),v.default.createElement(h.Text,{style:M.headerTitle},o),v.default.createElement(h.Text,{style:M.headerPhone},this.state.user?""+this.state.user.phone:"")),v.default.createElement(C.ScrollView,{style:{flex:1,height:(0,k.responsiveHeight)(40)}},v.default.createElement(E.SafeAreaView,{forceInset:{top:'always',horizontal:'never'}},this.state.items&&Object.keys(this.state.items).map(function(n,o){return t._renderItem(n)}))),v.default.createElement(A.default,{textStyle:M.btntext,style:M.btnDeconnect,onPress:function(){return t.userDeconnect()}},N.default.t('DISCONNEXION')))}},{key:"userDeconnect",value:function(){var t=this;h.Alert.alert(N.default.t('DISCONNEXION'),N.default.t('DISCONNEXION_TEXT'),[{},{text:N.default.t('NO'),onPress:function(){return console.log('Cancel Pressed')},style:'cancel'},{text:N.default.t('YES'),onPress:function(){(0,I.disconnect)().then(function(){T.IlinkEmitter.emit("userdisconnect"),t.props.navigation.navigate("Auth")})}}],{cancelable:!1})}},{key:"watchUser",value:function(){var t=this;(0,I.readUser)().then(function(n){n.id!==t.state.user.id&&null!==n&&void 0!==n&&t.updateUser(n)})}}]),n})(v.Component);e.default=U,U.navigatorStyle={statusBarColor:y.primaryDarkAdvanced};var w=h.StyleSheet.create({content:{width:(0,k.responsiveWidth)(100),height:50,paddingLeft:20,flexDirection:'row',alignItems:'center'},itemText:{color:'#000000',marginLeft:20,fontSize:(0,k.responsiveFontSize)(2)}}),M=h.StyleSheet.create({container:{flex:1,backgroundColor:"white"},btnDeconnect:{borderColor:"transparent",marginLeft:20,marginRight:20,backgroundColor:b.accent},btntext:{color:"white",fontSize:17,fontWeight:"bold"},headerTitle:{fontSize:14,marginBottom:5,color:"white",fontWeight:'bold'},headerPhone:{fontSize:12,marginBottom:20,color:"white",justifyContent:'flex-end'},listMenu:{paddingTop:15},headercontent:{height:(0,k.responsiveHeight)(30),backgroundColor:y.primary,justifyContent:'flex-end',alignItems:'flex-start',paddingLeft:20},backgroundd_drawer:{backgroundColor:'#000'},listbackground:{},actionButtonIcon:{fontSize:20,height:22,color:'white'},welcome:{fontSize:20,textAlign:'center',margin:10},instructions:{textAlign:'center',color:'#333333',marginBottom:5}})},1150,[4,1,8,9,10,12,11,13,15,18,524,871,527,1151,807,806,711,712,709,766,405,930,404,737,2,808,738]); +__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])),c=n(r(d[4])),l=n(r(d[5])),s=n(r(d[6])),f=n(r(d[7])),v=t(r(d[8])),h=r(d[9]),p=(n(r(d[10])),n(r(d[11]))),k=r(d[12]),y=(n(r(d[13])),r(d[14]),r(d[15])),I=r(d[16]),N=n(r(d[17])),A=n(r(d[18])),T=r(d[19]),E=r(d[20]),O=n(r(d[21])),S=(t(r(d[22])),n(r(d[23]))),C=r(d[24]);r(d[14]);r(d[25]);r(d[26]).DBEvents;var b=r(d[15]),U=(function(t){function n(t){var u;return(0,o.default)(this,n),(u=(0,c.default)(this,(0,l.default)(n).call(this,t)))._renderItem=function(t){if("creditrequest"===t||'historyItemDetails'===t||'filter'===t||'networks'===t||'walletDetail'===t)return null;u.state.currentId===t.id&&b.accent;return v.default.createElement(h.TouchableOpacity,{onPress:function(){u.props.navigation.toggleDrawer(),u.setState({currentId:t.id}),u.props.navigation.navigate(t)}},v.default.createElement(h.View,{style:w.content},v.default.createElement(p.default,{name:u.getIcon(t),size:32}),v.default.createElement(h.Text,{style:{marginLeft:20,fontSize:16}},u.getNameItems(t))))},u._onPress=function(t){u.setState({currentId:t.id});var n=u.state.menu.filter(function(t){return t.active})[0];n.active=!1,t.active=!0;var o=[];u.state.menu.forEach(function(u){u.id===n.id?o.push(n):u.id===t.id?o.push(t):o.push(u)}),u.setState({menu:o})},u.state=u.initState(),T.IlinkEmitter.on("menuLink",u.onMenuNavigationEvent.bind((0,s.default)(u))),T.IlinkEmitter.on("userconnect",u.onUserConnect.bind((0,s.default)(u))),T.IlinkEmitter.on("userdisconnect",u.hideSideMenu.bind((0,s.default)(u))),T.IlinkEmitter.on("langueChange",u.updateLangue.bind((0,s.default)(u))),u.configuration=new S.default,u}return(0,f.default)(n,t),(0,u.default)(n,[{key:"retrieveAndroidInformation",value:function(){var t=this;return this.configuration._getData().then(function(n){if(n)N.default.locale=n,(0,I.readUser)().then(function(n){setTimeout(function(){t.updateUser(n)},3e3)});else{var o=O.default.getDeviceLocale();N.default.locale=o.toLowerCase(),(0,I.readUser)().then(function(n){setTimeout(function(){t.updateUser(n)},3e3)}).catch(function(n){t.props.navigation.navigate("Auth")})}}).catch(function(n){var o=O.default.getDeviceLocale();N.default.locale=o.toLowerCase(),(0,I.readUser)().then(function(n){setTimeout(function(){t.updateUser(n)},3e3)}).catch(function(n){t.props.navigation.navigate("Auth")})}),""}},{key:"componentDidMount",value:function(){var t=this.props.navigation.router.childRouters.sta.childRouters;this.setState({items:t}),this.retrieveAndroidInformation()}},{key:"updateLangue",value:function(){this.setState({lang:"change"}),this.forceUpdate()}},{key:"componentWillUnmount",value:function(){}},{key:"onMenuNavigationEvent",value:function(t){}},{key:"onUserConnect",value:function(){var t=this;(0,I.readUser)().then(function(n){null!==n&&void 0!==n&&t.updateUser(n)})}},{key:"onNavigatorEvent",value:function(t){}},{key:"hideSideMenu",value:function(){}},{key:"initState",value:function(){return{user:null,menu:[],currentId:0}}},{key:"getGeolocatedUserMenu",value:function(){return[{title:N.default.t('MAP'),id:0,key:0,icon:'md-map',active:!0},{title:N.default.t('MY_ACCOUNT'),id:1,key:1,icon:'md-person',active:!1},{title:N.default.t('WALLET'),id:6,key:6,icon:'md-wallet-outline',active:!1},{title:N.default.t('CREDIT_MANAGE'),id:2,key:2,icon:'md-card',active:!1},{title:N.default.t('ADD_NETWORK'),id:11,key:11,icon:'md-people',active:!1},{title:N.default.t('CHANGE_INFORMATION'),id:13,key:13,icon:'md-person',active:!1},{title:N.default.t('NOTIFICATIONS'),id:3,key:3,icon:'md-notifications',active:!1},{title:N.default.t('CONFIGURATIONS'),id:4,icon:'md-settings',active:!1}]}},{key:"getSuperUserMenu",value:function(){return[{title:N.default.t('MAP'),id:0,key:0,icon:'md-map',active:!0},{title:N.default.t('MY_ACCOUNT'),id:1,key:1,icon:'md-person',active:!1},{title:N.default.t('WALLET'),id:6,key:6,icon:'md-wallet-outline',active:!1},{title:N.default.t('CREDIT_MANAGE'),id:2,key:2,icon:'md-card',active:!1},{title:N.default.t('GROUP_MANAGE'),id:5,key:5,icon:'md-people',active:!1},{title:N.default.t('NOTIFICATIONS'),id:3,key:3,icon:'md-notifications',active:!1},{title:N.default.t('CONFIGURATIONS'),id:4,icon:'md-settings',active:!1}]}},{key:"getHyperUsermenu",value:function(){return[{title:N.default.t('MAP'),id:0,key:0,icon:'md-map',active:!0},{title:N.default.t('MY_ACCOUNT'),id:1,key:1,icon:'md-person',active:!1},{title:N.default.t('WALLET'),id:6,key:6,icon:'md-wallet-outline',active:!1},{title:N.default.t('CREDIT_MANAGE'),id:2,key:2,icon:'md-card',active:!1},{title:N.default.t('GROUP_MANAGE'),id:5,key:5,icon:'md-people',active:!1},{title:N.default.t('NOTIFICATIONS'),id:3,key:3,icon:'md-notifications',active:!1},{title:N.default.t('CONFIGURATIONS'),id:4,icon:'md-settings',active:!1}]}},{key:"updateUser",value:function(t){var n=[];if(void 0!==t)if(void 0!==t.category)switch(t.category){case"geolocated":n=this.getGeolocatedUserMenu();break;case"super":n=this.getSuperUserMenu();break;case"hyper":n=this.getHyperUsermenu()}else n=this.getUserMenu();this.setState({user:t,menu:n})}},{key:"getUserMenu",value:function(){return[{title:N.default.t('MAP'),id:0,key:0,icon:'md-map',active:!0},{title:N.default.t('MY_ACCOUNT'),id:1,key:1,icon:'md-person',active:!1},{title:N.default.t('NOTIFICATIONS'),id:3,key:3,icon:'md-notifications',active:!1},{title:N.default.t('CONFIGURATIONS'),id:4,icon:'md-settings',active:!1}]}},{key:"getNameItems",value:function(t){var n=t;switch(t){case"home":n=N.default.t('MAP');break;case'useraccount':n=N.default.t('MY_ACCOUNT');break;case'walletSelect':n=N.default.t('WALLET');break;case'Historique':n=N.default.t('CREDIT_MANAGE');break;case"superviseurgroup":n=N.default.t('GROUP_MANAGE');break;case"updateinformation":n=N.default.t("CHANGE_INFORMATION");break;case'notificationview':n=N.default.t('NOTIFICATIONS');break;case'configuration':n=N.default.t('CONFIGURATIONS');break;case'addNetwork':n=N.default.t('ADD_NETWORK');break;case'about':n=N.default.t('ABOUT')}return n}},{key:"getIcon",value:function(t){var n="md-map";switch(t){case"home":n="md-map";break;case'useraccount':n="md-person";break;case'walletSelect':n="md-wallet";break;case'Historique':n="md-card";break;case"superviseurgroup":n="md-people";break;case'notificationview':n="md-notifications";break;case"updateinformation":n="md-people";break;case'configuration':n='md-settings';break;case'addNetwork':n="md-people";break;case'about':n='md-contacts'}return n}},{key:"render",value:function(){var t=this,n=this.state.user?this.state.user.firstname:"",o=this.state.user?this.state.user.lastname:"";return this.state.lang||"change"===this.state.lang?(setTimeout(function(){return t.setState({lang:""})},500),v.default.createElement(h.View,null)):v.default.createElement(h.View,{style:M.container},v.default.createElement(h.View,{style:M.headercontent},v.default.createElement(h.Text,{style:M.headerTitle},n),v.default.createElement(h.Text,{style:M.headerTitle},o),v.default.createElement(h.Text,{style:M.headerPhone},this.state.user?""+this.state.user.phone:"")),v.default.createElement(C.ScrollView,{style:{flex:1,height:(0,k.responsiveHeight)(40)}},v.default.createElement(E.SafeAreaView,{forceInset:{top:'always',horizontal:'never'}},this.state.items&&Object.keys(this.state.items).map(function(n,o){return t._renderItem(n)}))),v.default.createElement(A.default,{textStyle:M.btntext,style:M.btnDeconnect,onPress:function(){return t.userDeconnect()}},N.default.t('DISCONNEXION')))}},{key:"userDeconnect",value:function(){var t=this;h.Alert.alert(N.default.t('DISCONNEXION'),N.default.t('DISCONNEXION_TEXT'),[{},{text:N.default.t('NO'),onPress:function(){return console.log('Cancel Pressed')},style:'cancel'},{text:N.default.t('YES'),onPress:function(){(0,I.disconnect)().then(function(){T.IlinkEmitter.emit("userdisconnect"),t.props.navigation.navigate("Auth")})}}],{cancelable:!1})}},{key:"watchUser",value:function(){var t=this;(0,I.readUser)().then(function(n){n.id!==t.state.user.id&&null!==n&&void 0!==n&&t.updateUser(n)})}}]),n})(v.Component);e.default=U,U.navigatorStyle={statusBarColor:y.primaryDarkAdvanced};var w=h.StyleSheet.create({content:{width:(0,k.responsiveWidth)(100),height:50,paddingLeft:20,flexDirection:'row',alignItems:'center'},itemText:{color:'#000000',marginLeft:20,fontSize:(0,k.responsiveFontSize)(2)}}),M=h.StyleSheet.create({container:{flex:1,backgroundColor:"white"},btnDeconnect:{borderColor:"transparent",marginLeft:20,marginRight:20,backgroundColor:b.accent},btntext:{color:"white",fontSize:17,fontWeight:"bold"},headerTitle:{fontSize:14,marginBottom:5,color:"white",fontWeight:'bold'},headerPhone:{fontSize:12,marginBottom:20,color:"white",justifyContent:'flex-end'},listMenu:{paddingTop:15},headercontent:{height:(0,k.responsiveHeight)(30),backgroundColor:y.primary,justifyContent:'flex-end',alignItems:'flex-start',paddingLeft:20},backgroundd_drawer:{backgroundColor:'#000'},listbackground:{},actionButtonIcon:{fontSize:20,height:22,color:'white'},welcome:{fontSize:20,textAlign:'center',margin:10},instructions:{textAlign:'center',color:'#333333',marginBottom:5}})},1150,[4,1,8,9,10,12,11,13,15,18,524,871,527,1151,807,806,711,712,709,766,405,930,404,737,2,808,738]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]),u=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.HeaderMenu=void 0;var n=u(r(d[2])),l=u(r(d[3])),f=u(r(d[4])),o=u(r(d[5])),c=u(r(d[6])),v=t(r(d[7])),p=r(d[8]),s=(u(r(d[9])),(function(t){function u(){return(0,n.default)(this,u),(0,f.default)(this,(0,o.default)(u).apply(this,arguments))}return(0,c.default)(u,t),(0,l.default)(u,[{key:"render",value:function(){return v.default.createElement(p.View,null,v.default.createElement(p.Text,null,"Freud"))}}]),u})(v.PureComponent));e.HeaderMenu=s},1151,[4,1,8,9,10,12,13,15,18,68]); -__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])),l=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])),p=t(r(d[9])),y=r(d[10]),k=n(r(d[11])),w=n(r(d[12])),v=r(d[13]),E=r(d[14]),b=r(d[15]),S=r(d[16]),C=r(d[17]),T=n(r(d[18])),P=n(r(d[19])),x=n(r(d[20])),R=n(r(d[21])),N=(r(d[22]),n(r(d[23]))),_=r(d[24]),I=r(d[25]),M=n(r(d[26])),A=n(r(d[27])),L=n(r(d[28])),D=n(r(d[29])),O=n(r(d[30])),B=n(r(d[31])),V=r(d[32]),z=n(r(d[33])),F=n(r(d[34])),U=r(d[35]),H=r(d[36]);r(d[37]);var W={enableHighAccuracy:!0,timeout:2e4,maximumAge:500,useSignificantChanges:!1,distanceFilter:0},j=[{label:"mon Reseau",value:0},{label:"Tout",value:1}],G=r(d[38]),K=r(d[39]),Y=y.Dimensions.get('window'),X=(Y.width,Y.height,(0,E.responsiveHeight)(30)>270?270:(0,E.responsiveHeight)(30)),q=(function(t){function n(t){var f;return(0,l.default)(this,n),(f=(0,s.default)(this,(0,u.default)(n).call(this,t,!0)))._draggedValue=new y.Animated.Value(0),f.renderIcon=function(t){return function(n){n.isActive;return p.default.createElement(L.default,{size:24,color:"white",name:t})}},f.openDrawer=function(){f.props.navigation.openDrawer()},f._retrieveData=function(){var t,n,l;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,o.default.awrap(y.AsyncStorage.getItem('position'));case 3:null!==(t=s.sent)&&((n=JSON.parse(t)).longitudeDelta=.04,n.latitudeDelta=.01,l=JSON.parse(t),f.setState({region:n,oldPosition:l})),s.next=10;break;case 7:s.prev=7,s.t0=s.catch(0),console.warn(s.t0);case 10:case"end":return s.stop()}},null,null,[[0,7]],Promise)},f._storeData=function(t){return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,o.default.awrap(y.AsyncStorage.setItem('position',JSON.stringify(t)));case 3:n.next=8;break;case 5:n.prev=5,n.t0=n.catch(0),console.warn(n.t0);case 8:case"end":return n.stop()}},null,null,[[0,5]],Promise)},f.backPressed=function(){return y.Alert.alert(R.default.t('EXIT_TITLE'),R.default.t('EXIT_DESC'),[{text:R.default.t('NO'),onPress:function(){return console.log('Cancel Pressed')},style:'cancel'},{text:R.default.t("YES"),onPress:function(){return y.BackHandler.exitApp()}}],{cancelable:!1}),!0},f.onMapReady=function(){(0,C.readUser)().then(function(t){if(t){f.setState({user:t}),f.setState({network:t.network});var n={latitude:parseFloat(t.latitude),longitude:parseFloat(t.longitude)};f.setState({myPosition:n}),f.refocusMap(!1),t.category?(f.setState({loadingDialog:!1}),"geolocated"!==t.category?f.showMyMembers():n.latitude<=0&&n.longitude<=0&&f.props.navigation.push(K.updateinfo)):'android'===y.Platform.OS?f.requestCameraPermission():(f.getPosition(),f.watchLocation())}}).catch(function(t){console.log("ERROR LOADING USER",t.message)})},f.renderRow=function(t){return p.default.createElement(y.TouchableOpacity,{key:t,onPress:function(){return f.onRowPress(t)}},p.default.createElement(y.View,{style:Z.rowContainer},p.default.createElement(y.View,{style:Z.iconContainer},p.default.createElement(L.default,{name:f.state.filternetworkTemp&&t.name===f.state.filternetworkTemp.name?'radio-button-checked':'radio-button-unchecked',color:f.state.filternetworkTemp&&t.name===f.state.filternetworkTemp.name?G.accent:f.props.colorAccent,size:24})),p.default.createElement(y.Text,{style:b.material.subheading},t.name)))},f.state=f.geInitialState(),f.mounted=!1,f.filterOptions=[{value:5,label:"5 km"},{value:15,label:"15 km"},{value:20,label:"20 km"},{value:25,label:"25 km"}],L.default.getImageSource('md-car',24,'white').then(function(t){f.setState({caricon:t})}),f._renderFavoriteIcon=f._renderFavoriteIcon.bind((0,c.default)(f)),f.makeMarkerInformation=f.makeMarkerInformation.bind((0,c.default)(f)),f}return(0,h.default)(n,t),(0,f.default)(n,[{key:"onLoadMore",value:function(){var t=this,n=this.state,l=n.user;n.prevRegion,n.boundarie;void 0!==l.category&&null!==l.category||(this.promiseRegion&&this.promiseRegion.done(),this.promiseRegion=new Promise(function(n,s){var u,c,f,h,p;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return t.setState({isNeedLoadMore:!1,isLoadingMap:!0}),s.next=3,o.default.awrap(t.mapRef.getCamera());case 3:if(u=s.sent,u.zoom-10,c=[],t.setState({isLoadingMap:!0}),void 0!==t.state.filternetworkTemp&&(f=t.state.filternetworkTemp.id,c=t.state.networks.filter(function(t){return t.id===f})),!(c.length>0)){s.next=24;break}return c[0],h={longitude:l.longitude,latitude:l.latitude},s.prev=11,s.next=14,o.default.awrap(t.loadingMarkers(t.state.myPosition,t.state.filternetwork,t.state.value));case 14:p=s.sent,t.treatNewData(h,p,!1),s.next=22;break;case 18:s.prev=18,s.t0=s.catch(11),console.debug(s.t0.message),t.setState({isNeedLoadMore:!1,isLoadingMap:!1});case 22:s.next=25;break;case 24:t.setState({isNeedLoadMore:!0,isLoadingMap:!1});case 25:t.map&&t.map.focusToUser(),n();case 27:case"end":return s.stop()}},null,null,[[11,18]],Promise)}))}},{key:"onslidingEvent",value:function(t){this.setState({maxHeightSliding:t.nativeEvent.layout.height})}},{key:"componentDidMount",value:function(){var t=this;this.mounted=!0,this.configuration=new N.default;var n=this.props.navigation;this.markerManager=new F.default,this.configuration.getCurrentPubValue().then(function(n){try{var o=parseInt(n);t.setState({isPubShow:o})}catch(t){}}),this.focusListener=n.addListener("didFocus",function(){t.configuration.getCurrentPasValue().then(function(n){try{t.setState({pas:parseInt(n)})}catch(t){}}),t.componentDidAppear()}),this.blurListener=n.addListener("didBlur",function(n){t.componentDidDisappear()}),this._retrieveData(),this.props.coordinate}},{key:"requestCameraPermission",value:function(){var t=this;return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,o.default.awrap(y.PermissionsAndroid.request(y.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,{title:'Cool Photo App Camera Permission',message:"Cool Photo App needs access to your camera so you can take awesome pictures."}));case 3:n.sent===y.PermissionsAndroid.RESULTS.GRANTED?((0,C.readUser)().then(function(n){if(console.log("MAP READY"),n)if(void 0!==n.category&&null!==n.category){var o={latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude)},l={latitude:o.latitude,longitude:o.longitude,latitudeDelta:.03,longitudeDelta:.01};t.setState({myPosition:o}),t.mapRef.animateToCoordinate({latitude:o.latitude,longitude:o.longitude},1e3),t.mapRef.animateToRegion(l,1e3),t.setState({isLoading:!1,isLoadingMap:!1,loadingDialog:!1}),"geolocated"!==n.category?t.showMyMembers():o.latitude<=0&&o.longitude<=0&&t.props.navigation.push(K.updateinfo)}else t.getPosition(),t.watchLocation()}),console.log("Camera permission granted")):console.log("Camera permission denied"),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),console.log(n.t0);case 10:case"end":return n.stop()}},null,null,[[0,7]],Promise)}},{key:"watchLocation",value:function(){var t=this;this.watchID=D.default.watchPosition(function(n){var o=t.state.myPosition,l=n.coords;t.state.oldPosition;o&&l.longitude===o.longitude&&l.latitude===o.latitude||(0!==l.longitude&&0!==l.latitude&&t._storeData(l),((0,P.default)(t.state.region,{})||(0,P.default)(t.state.region,void 0)||(0,P.default)(t.state.region,null))&&(t.state.myPosition.longitude||t.state.myPosition.latitude||null!==t.mapRef&&void 0!==t.mapRef&&(t.mapRef.animateToRegion({latitude:l.latitude,longitude:l.longitude,latitudeDelta:.03,longitudeDelta:.01},1e3),t.mapRef.animateCamera({center:t.myPosition,pitch:0,heading:0,altitude:0,zoom:12},1e3))),t.setState({region:{latitude:l.latitude,longitude:l.longitude,latitudeDelta:.003,longitudeDelta:.004}}),t.setState({myPosition:l}),t.map&&t.map.focusToUser())},function(t){return console.log("wat s",t)},W)}},{key:"getNetworks",value:function(t){var n=this;if(t)(0,C.getCountryNetwork)(t).then(function(o){n.reseaux=[];var l=o;for(var s in l)n.reseaux.push(l[s]);n.setState({networks:n.reseaux});var u=n.reseaux.filter(function(t){return t.name.includes(n.state.network)});void 0!==n.state.user.category&&null!==n.state.user.category||(console.log(n.state.user),u.length>0&&t?(n.setState({filternetwork:u[0],myNetwork:u[0],filternetworkTemp:u[0]}),n.retrieveAllPoint(t)):(console.log("on getnetworks",o),n.state.user&&(n.state.user.category||y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){null!==t&&void 0!==t?n.getNetworks(t):n.requestCameraPermission()}}],{cancelable:!1}))))},function(o){console.log("error getnetwork"+e.message),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){null!==t&&void 0!==t?n.getNetworks(t):n.requestCameraPermission()}}],{cancelable:!1})});else{console.log("get network missing pays");y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){n.requestCameraPermission()}}],{cancelable:!1})}}},{key:"getPosition",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;console.log("on get position"),D.default.getCurrentPosition(function(o){var l=t.state.myPosition,s=o.coords;t.state.oldPosition;if(!(0,P.default)(s,l)&&0!==s.longitude&&0!==s.latitude||l){t.map&&t.map.focusToUser(),(0,S.getPositionInformation)(s).then(function(o){if(o)if(void 0!==o.results){if(o.results.length>0){var l=o.results[0],s=l.address_components,u=l.formatted_address,c=l.place_id;t.setState({address:s,textadress:u,place:c});for(var f,h,p=o.results,k=0;k=v.length)break;S=v[b++]}else{if((b=v.next()).done)break;S=b.value}var C=S;C.code===f&&(t.setState({indicatif:C.dial_code}),t.getNetworks(C.dial_code))}}}else console.log("on else result null "),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){t.getPosition(n)}}],{cancelable:!1});else y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){t.getPosition(n)}}],{cancelable:!1})});var u={latitude:s.latitude,longitude:s.longitude,latitudeDelta:.03,longitudeDelta:.01};t.setState({myPosition:s,region:u}),t.mapRef&&!t.state.myPositionIsAnimated&&(t.mapRef.animateCamera({center:s,pitch:0,heading:0,altitude:5,zoom:12},1e3),t.setState({myPositionIsAnimated:!0}))}else console.warn("errror")},function(n){switch(console.warn(n.message),n.code){case 3:t.state.oldPosition&&t.treatPosition(t.state.oldPosition);break;default:console.log("onjjj",n.message)}},W)}},{key:"componentDidDisappear",value:function(){y.BackHandler.removeEventListener('hardwareBackPress',this.backPressed)}},{key:"componentDidAppear",value:function(){var t=this;y.BackHandler.addEventListener('hardwareBackPress',this.backPressed),(0,C.readUser)().then(function(n){if(n&&n.category){t.setState({user:n}),t.setState({network:n.network});var o={latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude)};t.setState({myPosition:o}),t.refocusMap(!0)}})}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.blurListener.remove(),this.focusListener.remove(),this.watchID&&D.default.clearWatch(this.watchID)}}]),(0,f.default)(n,[{key:"makeCardSearch",value:function(){var t=this;if(!this.state.isPubShow)return p.default.createElement(y.View,{style:Z.topBar},p.default.createElement(V.Surface,{style:{elevation:4,borderRadius:10}},p.default.createElement(y.View,{style:{flexDirection:'row',alignSelf:'center',justifyContent:'center',flex:1,borderRadius:10,margin:10,alignItems:'center',height:48}},p.default.createElement(y.TouchableOpacity,{onPress:function(){return t.openDrawer()}},p.default.createElement(y.Text,{style:Z.hambuger},"Menu")),p.default.createElement(y.View,{style:{flex:1}}),p.default.createElement(y.Text,{style:{backgroundColor:this.state.myNetwork.id===this.state.filternetwork.id?G.primary:G.accent,padding:5,color:"white",marginRight:10,fontSize:10,borderRadius:12}},this.state.filternetwork.name?this.state.filternetwork.name:this.state.network),this.renderSupplementInformation()),this.showLoadingMapView()))}},{key:"renderSupplementInformation",value:function(){var t=this;return this.state.user&&"geolocated"===this.state.user.category?p.default.createElement(y.View,null):p.default.createElement(y.View,{style:{flexDirection:"row"}},p.default.createElement(y.View,{style:{backgroundColor:"#FFFFFFA0",justifyContent:'center',alignItems:'center',alignSelf:'center'}},p.default.createElement(y.Text,null,this.state.markers.length+" "+(0===this.state.currentNetworkSize?"":"/"+this.state.currentNetworkSize)," ")),p.default.createElement(y.TouchableOpacity,{onPress:function(){t.setState({page:t.state.page+1}),t.onLoadMore()},style:{borderRadius:12,height:32,width:32,backgroundColor:"white",borderColor:"transparent"}},p.default.createElement(L.default,{name:this.state.markers.length>=this.state.currentNetworkSize?"close":"refresh",size:32,color:this.state.markers.length>=this.state.currentNetworkSize?"red":"grey"})))}},{key:"_renderMarker2",value:function(){var t=this,n=this.state,o=n.currentMarker,l=n.myPosition,s=o,u={latitude:parseFloat(o.latitude),longitude:parseFloat(o.longitude)},c=H.getDistance(l,u),f=(c>900?c/1e3+" Km":c+"m")+R.default.t('TO_YOU'),h=null===s.lastname?s.adresse:s.lastname;return p.default.createElement(y.View,{style:{flex:1,backgroundColor:"white"}},p.default.createElement(y.View,{style:{flexDirection:"row",justifyContent:"flex-end",alignItems:'center',backgroundColor:"white"}},p.default.createElement(y.Text,{style:Q.title},h),p.default.createElement(L.default.Button,{name:"close",size:24,color:"red",backgroundColor:"transparent",onPress:function(){t.toggleSlidingUp(!1)}})),p.default.createElement(y.Text,{style:Q.subtitle2},s.adresse),p.default.createElement(y.View,{style:{flexDirection:"row",alignItems:"center"}},p.default.createElement(y.Text,{style:Q.reseau},s.network),p.default.createElement(y.Text,{style:Q.solde},R.default.t('SOLDE_UNVAIBLE'))),p.default.createElement(y.Text,{style:Q.reseau},f),p.default.createElement(y.View,{style:{flexDirection:'row',marginTop:(0,E.responsiveHeight)(3),marginLeft:10}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(30),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return t.callItem(s)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:G.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))))}},{key:"_renderItemMarkerdetails",value:function(t){var n=this,o=t;if(void 0!==o&&null!==o){var l=this.state,s=l.currentMarker,u=l.myPosition,c={latitude:parseFloat(s.latitude),longitude:parseFloat(s.longitude)},f=H.getDistance(u,c),h=(f>900?f/1e3+" Km":f+"m")+R.default.t('TO_YOU'),k=null===o.lastname?o.adresse:o.lastname;return p.default.createElement(v.CardView,{style:Q.container,cardElevation:2,cardMaxElevation:2,cornerRadius:5},p.default.createElement(y.View,{style:{flexDirection:"row",justifyContent:"flex-end",alignItems:'center'}},p.default.createElement(y.Text,{style:Q.title},k),p.default.createElement(L.default.Button,{name:"close",size:24,color:"red",backgroundColor:"transparent",onPress:function(){n.toggleSlidingUp(!1)}})),p.default.createElement(y.Text,{style:Q.subtitle2},o.adresse),p.default.createElement(y.View,{style:{flexDirection:"row",alignItems:"center"}},p.default.createElement(y.Text,{style:Q.reseau},o.network),p.default.createElement(y.Text,{style:Q.solde},R.default.t('SOLDE_UNVAIBLE'))),p.default.createElement(y.Text,{style:Q.reseau},h),p.default.createElement(y.View,{style:{flexDirection:'row',marginTop:(0,E.responsiveHeight)(3),marginLeft:10}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(30),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return n.callItem(o)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:G.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))))}}},{key:"renderCurrentMarker",value:function(t){var n=this;if(t)return p.default.createElement(y.View,null,p.default.createElement(y.View,{style:{flexDirection:"row",justifyContent:"flex-end",alignItems:'center'}},p.default.createElement(y.Text,{style:Q.title},name),p.default.createElement(L.default.Button,{name:"close",size:24,color:"red",backgroundColor:"transparent",on:!0,dPress:function(){n.toggleSlidingUp(!1)}})),p.default.createElement(y.Text,{style:Q.title},t.adresse),p.default.createElement(y.View,{style:{flexDirection:"row"}},p.default.createElement(y.Text,{style:Q.reseau},t.network),p.default.createElement(y.Text,{style:Q.solde},R.default.t('SOLDE_UNVAIBLE'))),p.default.createElement(y.Text,{style:Q.reseau},distanceTxt),p.default.createElement(y.View,{style:{flexDirection:'row',marginTop:(0,E.responsiveHeight)(3),marginLeft:10}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(30),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return n.callItem(t)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:G.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))))}},{key:"callItem",value:function(t){var n={number:t.phone,prompt:!1};(0,A.default)(n).catch(function(t){return console.log(t)})}},{key:"makeMarkerInformation",value:function(){var t=this.state,n=t.currentMarker;t.myPosition;return void 0!==n&&null!==n?this._renderItemMarkerdetails(n):p.default.createElement(y.Text,null,"Impossible de'afficher l'element")}},{key:"makeActionButon",value:function(){var t=this.state.user;if(t)switch(t.category){case"super":return this.getSuperActionButton();case"geolocated":return this.geoLocatedAction();case"hyper":return this.getHypervisorActionButton();default:return this.getSimpleActionButton()}}},{key:"getSuperActionButton",value:function(){var t=this;return p.default.createElement(w.default,{buttonColor:G.accent},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("MY_GROUP"),onPress:function(){return t.showMyMembers()},size:48},p.default.createElement(L.default,{name:"group-work",style:Z.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap(!1)},size:48},p.default.createElement(L.default,{name:"person-pin",style:Z.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:G.primary,title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"layers",style:Z.actionButtonIcon})))}},{key:"getSimpleActionButton",value:function(){var t=this;return p.default.createElement(w.default,{ref:function(n){return t.actionButton=n}},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("FILTER"),onPress:function(){return t.showFilterDialog()},size:48},p.default.createElement(L.default,{name:"filter-list",style:Z.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap(!1)},size:48},p.default.createElement(L.default,{name:"person-pin",style:Z.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#9b59b6",title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"layers",style:Z.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("PRINT_MY_NETWORK"),size:48,onPress:function(){t.showMynetworkMap()}},p.default.createElement(L.default,{name:"group-work",style:Z.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("CHANGE_NETWORK"),size:48,onPress:function(){t.showNewDialogNetwork()}},p.default.createElement(L.default,{name:"rss-feed",style:Z.actionButtonIcon})))}},{key:"toggleSlidingUp",value:function(t){var n=this;t&&this.bottomSheetRef?(this.bottomSheetRef.snapTo(1),this.setState({showcurentMarker:t})):t||this.bottomSheetRef.snapTo(0);var o=t?X:0,l=t?0:X;this.setState({panelVisible:t}),!t&&this.state.needRoad&&this.setState({needRoad:!1}),this.state.animation.setValue(o),y.Animated.timing(this.state.animation,{toValue:l,duration:200}).start(function(o){!t&&n.map&&n.map.focusToUser()})}},{key:"makeSlidingUp",value:function(){var t=this;return p.default.createElement(z.default,{ref:function(n){t.bottomSheetRef=n},snapPoints:[0,"30%"],renderHeader:function(){return t.markerView()}})}},{key:"_renderFavoriteIcon",value:function(){var t=this,n=this.props.draggableRange,o=n.top,l=n.bottom,s=[{scale:this._draggedValue.interpolate({inputRange:[l,o],outputRange:[1,0],extrapolate:'clamp'})}];return p.default.createElement(y.TouchableNativeFeedback,{onPress:function(){t.setState({needRoad:!0})}},p.default.createElement(y.Animated.View,{style:[Z.favoriteIcon,{transform:s}]},p.default.createElement(L.default,{name:"car",size:24,color:"white",style:{alignSelf:'center'}})))}},{key:"geInitialState",value:function(){return{region:{latitude:0,longitude:0,latitudeDelta:.015,longitudeDelta:.0121},pas:100,prevRegion:{latitude:0,longitude:0},isPubShow:!0,loadingDialog:!0,textreach:"",currentNetworkSize:0,markersearchfilter:[],animation:new y.Animated.Value(0),myPosition:null,currentMarker:null,filterNetworkOption:j[1],needRoad:!1,initialAnim:!1,filternetwork:{},destinationPosition:{},panelVisible:!1,markers:[],isNeedLoadMore:!1,isLoadingMap:!1,value:5,page:0,valuePosition:0,markerfilter:null,allpoint:[],typeMap:'standard',indexTypeMap:0,user:null,snack_visible:!1,snack_text_message:"",networks:[],dialogSliderVisible:!1,showProgress:!1,myNetwork:{},dialogNetworkVisible:!1,myPositionMarkerText:R.default.t("YOUR_THERE")}}},{key:"onMarkerPress",value:function(t){console.warn(t),this.setState({currentMarker:t}),this.toggleSlidingUp(!0)}},{key:"onMapTypeChange",value:function(){var t={index:this.state.indexTypeMap,text:this.state.typeMap};switch(t.index=t.index+1,t.index=t.index%3,t.index){default:t.text='standard';break;case 1:t.text='hybrid';break;case 2:t.text="terrain"}this.setState({indexTypeMap:t.index,typeMap:t.text})}},{key:"showInterticiel",value:function(){var t=this;if(this.state.isPubShow)return p.default.createElement(O.default,{closeIntersticiel:function(){return t.setState({isPubShow:!1})},navigation:this.props.navigation})}},{key:"renderBottomHome",value:function(){var t=this;return p.default.createElement(y.View,{style:{flex:1,backgroundColor:"lightblue"}},p.default.createElement(k.default,{ref:function(n){t.map=n,null!=n&&(t.mapRef=n.getMapRef())},typeMap:this.state.typeMap,onMarkerClick:function(n){return t.onMarkerPress(n)},network:this.state.filternetwork,initialRegion:this.state.region,markers:this.state.markers,selectedMarker:this.state.currentMarker,myNetwork:this.state.myNetwork,lang:this.state.lang,myPosition:this.state.myPosition,onMapReady:function(){(0,C.readUser)().then(function(n){n&&(t.setState({user:n}),t.setState({network:n.network}),n.category?(t.setState({loadingDialog:!1}),"geolocated"!==n.category?t.showMyMembers():myPosition.latitude<=0&&myPosition.longitude<=0&&t.props.navigation.push(K.updateinfo)):'android'===y.Platform.OS?t.requestCameraPermission():t.watchLocation())})},needRoad:this.state.needRoad,onNeedRoadReady:function(n){t.setState({showProgress:!1})},onNeedRoadError:function(n){t.setState({showProgress:!1}),y.Alert.alert(R.default.t("PROBLEM_OCCUR"),R.default.t("PROBLEM_OCCUR_DIRECTION"),[{text:"Ok",onPress:function(){}}])}}),this.makeCardSearch(),p.default.createElement(z.default,{ref:function(n){t.bottomSheetRef=n},snapPoints:[60,"30%","100%"],renderHeader:function(){return t.renderHeader()}}))}},{key:"renderInner",value:function(){return p.default.createElement(y.View,{style:{flex:1,backgroundColor:"green"}},p.default.createElement(y.Text,null,"Freud junior"))}},{key:"markerView",value:function(){if(this.state.currentMarker)return this._renderMarker2()}},{key:"renderHeader",value:function(){var t=this;return p.default.createElement(p.default.Fragment,null,p.default.createElement(y.View,{style:{position:"absolute",width:32,height:this.state.currentMarker?200:100,bottom:80,right:0,justifyContent:'center'}},p.default.createElement(w.default,{size:32,style:{marginRight:15},buttonColor:"white"}),p.default.createElement(w.default,{size:42,renderIcon:function(){return p.default.createElement(L.default,{name:"group-work",style:Z.actionButtonIcon})},style:{marginTop:40,marginRight:20},buttonColor:G.primary})),p.default.createElement(y.View,{style:{flex:1,backgroundColor:"white"}},this.markerView(),this.renderFilterMarker(),p.default.createElement(y.View,{style:{flexDirection:'row',height:60,justifyContent:'space-evenly',alignItems:'flex-end'}},p.default.createElement(y.View,{style:{flexDirection:'row',flex:1,marginBottom:10,justifyContent:'space-around',alignItems:'flex-end'}},p.default.createElement(V.FAB,{small:!0,icon:this.state.showFilterDistance?"close":"filter",color:G.primary,style:{backgroundColor:"white"},onPress:function(){t.state.showFilterDistance?(t.bottomSheetRef.snapTo(0),t.setState({showFilterDistance:!1})):(t.bottomSheetRef.snapTo(2),t.setState({showFilterDistance:!0}))}}),p.default.createElement(V.FAB,{small:!0,icon:"add",color:"white",style:{backgroundColor:G.primary},onPress:function(){t.bottomSheetRef.snapTo(2),t.setState({showdialogNetworkVisible:!0})}})),this.makeMarkerButton())))}},{key:"renderFilterMarker",value:function(){var t=this;if(this.state.showFilterDistance)return p.default.createElement(y.View,{style:{height:(0,E.responsiveHeight)(80),justifyContent:'center',backgroundColor:'white',margin:20}},p.default.createElement(y.View,{style:{height:(0,E.responsiveHeight)(30),justifyContent:'center'}},p.default.createElement(y.Text,null,R.default.t('TEXT_FILTER_DISTANCE')," "),p.default.createElement(M.default,{items:this.filterOptions,defaultItem:this.state.valuePosition,labelPosition:"bottom",onSlidingComplete:function(n){return t.slidingComplete(n)}}),p.default.createElement(y.Text,null,p.default.createElement(y.Text,{style:{fontWeight:"bold"}},void 0===this.state.value?0:this.state.value)," km ",R.default.t("DISTANCE_ARROUND"))),p.default.createElement(y.View,{style:{flexDirection:"row",flex:1}},p.default.createElement(x.default,{style:{flex:1}}),p.default.createElement(x.default,{style:{flex:1}})))}},{key:"makeMarkerButton",value:function(){var t=this;return this.state.currentMarker?p.default.createElement(y.View,{style:{flex:2,flexDirection:'row',justifyContent:'flex-end',marginEnd:20}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(26),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return t.callItem(marker)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:G.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))):p.default.createElement(y.View,{style:{flex:2,flexDirection:'row',justifyContent:'flex-end',marginEnd:20}})}},{key:"renderOldHome",value:function(){var t=this;return p.default.createElement(y.View,{style:Z.container},p.default.createElement(y.StatusBar,{backgroundColor:"#00000030",barStyle:"light-content",translucent:!0}),this.state.loadingDialog?p.default.createElement(y.View,{style:{position:"absolute",zIndex:1,backgroundColor:"#00000050",width:this.state.loadingDialog?(0,E.responsiveWidth)(100):0,height:this.state.loadingDialog?(0,E.responsiveHeight)(100):0,flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(y.Text,{style:{fontSize:20,color:'white',fontWeight:'bold'}},R.default.t("LOADING_DOTS"))):null,p.default.createElement(k.default,{ref:function(n){t.map=n,null!=n&&(t.mapRef=n.getMapRef())},typeMap:this.state.typeMap,onMarkerClick:function(n){return t.onMarkerPress(n)},network:this.state.filternetwork,initialRegion:this.state.region,markers:this.state.markers,selectedMarker:this.state.currentMarker,myNetwork:this.state.myNetwork,lang:this.state.lang,myPosition:this.state.myPosition,onMapReady:'android'===y.Platform.OS?this.onMapReady:null,onLayout:'ios'===y.Platform.OS?this.onMapReady:null,needRoad:this.state.needRoad,onNeedRoadReady:function(n){t.setState({showProgress:!1})},onNeedRoadError:function(n){t.setState({showProgress:!1}),y.Alert.alert(R.default.t("PROBLEM_OCCUR"),R.default.t("PROBLEM_OCCUR_DIRECTION"),[{text:"Ok",onPress:function(){}}])}}),this.makeCardSearch(),this.makeSlidingUp(),this.makeDialogLoader(),this.makeDistanceDialog(),this.makeNetworkChangeDialog(),p.default.createElement(B.default,{visible:this.state.snack_visible,textMessage:this.state.snack_text_message,autoHidingTime:5e3}),this.makeActionButon())}},{key:"renderTutoOldHome",value:function(){return p.default.createElement(y.View,{style:{flex:1}},p.default.createElement(CopilotStep,{text:"This is a hello world example!",order:1,name:"hello"},this.makeCardSearch()))}},{key:"render",value:function(){return this.renderOldHome()}},{key:"renderCurrentMarker",value:function(){if(this.state.currentMarker)return p.default.createElement(y.View,{style:{height:200,backgroundColor:'#fff'}},this.makeMarkerInformation())}},{key:"makeDialogLoader",value:function(){return p.default.createElement(I.ProgressDialog,{visible:this.state.showProgress,title:R.default.t("LOADING_PROGRESS"),message:R.default.t("WAITING_LONG"),animationType:"slide",activityIndicatorSize:"large",activityIndicatorColor:"blue"})}},{key:"showMynetworkMap",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=null===n?this.state.user:n,l=this.state.myNetwork;return this.setState({filternetwork:l,page:0,filternetworkTemp:l,loadingDialog:!0}),new Promise(function(){void 0!==l?t.loadingMarkers(t.state.myPosition,l,t.state.value).then(function(n){var l=n||[];if(t.setState({loadingDialog:!1}),void 0!==o.category&&null!==o.category){var s=l.filter(function(t){return t.code_parrain===o.code_membre});t.treatNewData(t.state.myPosition,s,!0)}else t.treatNewData(t.state.myPosition,l,!0)}).catch(function(n){t.setState({loadingDialog:!1}),console.log("error j"),console.log(n)}):(t.setState({loadingDialog:!1}),console.log("error no net"))})}},{key:"showMyMembers",value:function(){var t=this,n=this.state.user.code_membre;void 0!==n?(0,S.loadGroupeAgent)(n).then(function(n){if(1===n.success)return t.setState({markers:n.datas})}):console.log("error")}},{key:"slidingComplete",value:function(t){this.setState({value:this.filterOptions[t].value,valuePosition:t})}},{key:"makeDistanceDialog",value:function(){var t=this;return p.default.createElement(_.MaterialDialog,{visible:this.state.dialogSliderVisible,title:R.default.t('MENU_FILTER'),onOk:function(){t.setState({dialogSliderVisible:!1,showProgress:!0}),setTimeout(function(){return t.filterPoint()},300)},cancelLabel:R.default.t("QUIT_"),okLabel:R.default.t('FILTER'),onCancel:function(){t.setState({dialogSliderVisible:!1})},onTouchOutside:function(){return t.setState({dialogSliderVisible:!1})}},p.default.createElement(y.Text,null,R.default.t('TEXT_FILTER_DISTANCE')," "),p.default.createElement(M.default,{items:this.filterOptions,defaultItem:this.state.valuePosition,labelPosition:"bottom",onSlidingComplete:function(n){return t.slidingComplete(n)}}),p.default.createElement(y.Text,null,p.default.createElement(y.Text,{style:{fontWeight:"bold"}},void 0===this.state.value?0:this.state.value)," km ",R.default.t("DISTANCE_ARROUND")))}},{key:"showFilterDialog",value:function(){this.setState({dialogSliderVisible:!0})}},{key:"filterPoint",value:function(){var t,n,l,s,u,c=this;return o.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:t=this.state,n=t.value,l=t.myPosition,t.user,s=t.filternetwork,void 0!==n?(this.setState({page:0}),1e3*n,u=this.state.networks.filter(function(t){return t.id===s.id}),u[0],this.loadingMarkers(l,s,n).then(function(t){c.treatNewData(c.state.prevRegion,t,!0)}).catch(function(t){c.setState({showProgress:!1}),y.Alert.alert(R.default.t("ERROR_FILTER"),R.default.t("ERROR_FILTER_TEXT"),[{text:R.default.t("CANCEL")},{text:R.default.t("RESTART"),onPress:function(){c.filterPoint()}}])})):(this.setState({showProgress:!1}),this.setState({snack_visible:!0,snack_text_message:"impossible de filtrer les \xe9lements"}),setTimeout(function(){c.setState({snack_visible:!1})},5e3));case 2:case"end":return o.stop()}},null,this,null,Promise)}},{key:"userChangeMarker",value:function(t){var n=this.state.markers[t];if(null!==this.mapRef&&void 0!==this.mapRef){var o={latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude),latitudeDelta:.03,longitudeDelta:.01};this.mapRef.animateToCoordinate({latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude)},1e3),this.mapRef.animateToRegion(o,1e3),console.log(n)}}},{key:"geoLocatedAction",value:function(){var t=this;return p.default.createElement(w.default,{buttonColor:G.accent},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap()},size:48},p.default.createElement(L.default,{name:"person-pin",style:Z.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:G.primary,title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"layers",style:Z.actionButtonIcon})))}},{key:"makeNetworkChangeDialog",value:function(){var t=this;return p.default.createElement(_.MaterialDialog,{title:R.default.t("CHOICE_NETWORK"),visible:this.state.dialogNetworkVisible,subtitle:R.default.t("CHOICE_NETWORK_TEXT"),onCancel:function(){return t.setState({dialogNetworkVisible:!1})},onOk:function(n){t.setState({dialogNetworkVisible:!1,page:0}),t.setState({showProgress:!0,filternetwork:t.state.filternetworkTemp}),setTimeout(function(){return t.showFilterNetwork()},500)}},p.default.createElement(y.FlatList,{style:{height:(0,E.responsiveHeight)(40)},data:this.state.networks,renderItem:function(n){var o=n.item;return t.renderRow(o)}}))}},{key:"onRowPress",value:function(t){this.setState({filternetworkTemp:t})}},{key:"showNewDialogNetwork",value:function(){this.setState({dialogNetworkVisible:!0})}},{key:"showFilterNetwork",value:function(){var t,n,l,s=this;return o.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:t=this.state,n=t.myPosition,t.user,void 0!==(l=t.filternetwork)?(this.setState({showProgress:!0}),this.loadingMarkers(this.state.myPosition,l,this.state.value,0).then(function(t){s.setState({showProgress:!1}),s.treatNewData(n,t,!0)}).catch(function(t){s.setState({snack_visible:!0,snack_text_message:"Probleme de connexion"}),console.log(t)})):console.log("error no net");case 2:case"end":return o.stop()}},null,this,null,Promise)}},{key:"showBtnItineraire",value:function(){var t=this;return p.default.createElement(x.default,{style:{backgroundColor:G.primary,width:(0,E.responsiveWidth)(30),height:36,borderRadius:100,marginLeft:5,borderColor:"transparent",justifyContent:'center'},onPress:function(){t.setState({needRoad:!0,showProgress:!0})}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"near-me",size:16,color:"white",style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'white',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("WAY"))))}},{key:"showBtnClose",value:function(){var t=this;return p.default.createElement(x.default,{style:{backgroundColor:G.reddeconnect,height:36,width:(0,E.responsiveWidth)(30),borderRadius:100,borderColor:"transparent",justifyContent:'center'},onPress:function(){t.setState({needRoad:!1,showProgress:!1})}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"close",size:16,color:"white",style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'white',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CANCEL"))))}},{key:"getHypervisorActionButton",value:function(){var t=this;return p.default.createElement(w.default,{buttonColor:G.accent},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap(!1)},size:48},p.default.createElement(L.default,{name:"person-pin",style:Z.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:G.primary,title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"map",style:Z.actionButtonIcon})))}},{key:"moveToMarker",value:function(t){this.mapRef.animateToCoordinate({latitude:parseFloat(t.latitude),longitude:parseFloat(t.longitude)},1e3),this.setState({textreach:t.lastname,texta:!0}),this.setState({markersearchfilter:[]}),this.onMarkerPress(t)}},{key:"refocusMap",value:function(){!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?this.mapRef&&void 0!==this.state.myPosition&&this.mapRef.animateCamera({center:{latitude:this.state.myPosition.latitude,longitude:this.state.myPosition.longitude},pitch:0,heading:0},1e3):this.mapRef&&void 0!==this.state.myPosition&&this.mapRef.animateCamera({center:{latitude:this.state.myPosition.latitude,longitude:this.state.myPosition.longitude},pitch:0,heading:0,altitude:5,zoom:12},1e3),this.map&&this.map.focusToUser()}},{key:"renderCardSeashItem",value:function(t){var n=this;return p.default.createElement(y.TouchableOpacity,{key:t.id,style:{margin:5},onPress:function(){n.moveToMarker(t)}},p.default.createElement(y.Text,{style:{flex:1,fontSize:14,color:"#000"}},null===t.firstname?t.adresse:t.firstname),p.default.createElement(y.Text,{style:{flex:1,fontSize:12}},t.lastname),p.default.createElement(y.Text,{style:{flex:1,fontSize:13,alignSelf:'flex-end',color:G.accent}},t.network))}},{key:"retrieveAllPoint",value:function(t){var n=this;(0,S.getMakersFrom)(t).then(function(o){new Promise(function(t,l){try{var s=o.datas;n.setState({allpoint:s,loadingDialog:!1}),t(s)}catch(t){console.warn(t.message),l(new Error(t.message))}}).then(function(t){n.onLoadMore()}).catch(function(o){n.setState({loadingDialog:!1}),console.log("on get marker"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){n.setState({loadingDialog:!0}),null!==t&&void 0!==t?n.retrieveAllPoint(t):n.requestCameraPermission()}}],{cancelable:!1})})}).catch(function(o){console.log("on retreive>getmarkers",o.message),n.setState({loadingDialog:!1}),n.state.allpoint.length<=0&&(console.log("no point"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){n.state.allpoint.length<=0&&(n.setState({loadingDialog:!0}),null!==t&&void 0!==t?n.retrieveAllPoint(t):n.requestCameraPermission())}}],{cancelable:!1}))})}},{key:"showLoadMoreView",value:function(){var t=this;if(this.state.isNeedLoadMore)return p.default.createElement(y.View,{style:{flex:1,flexDirection:'row',width:(0,E.responsiveWidth)(90)}},p.default.createElement(x.default,{onPress:function(){t.setState({page:t.state.page+1}),t.onLoadMore()},style:{borderRadius:48,height:48,width:48,backgroundColor:"white",borderColor:"transparent",alignItems:"center",justifyContent:"center"}},p.default.createElement(L.default,{name:"refresh",size:32})),p.default.createElement(y.View,{style:{backgroundColor:"#FFFFFFA0",width:(0,E.responsiveWidth)(20),height:30,borderRadius:12,justifyContent:'center',alignItems:'center',alignSelf:'center'}},p.default.createElement(y.Text,null,(this.state.markers.length,this.state.markers.length)," / ",this.state.currentNetworkSize," ")))}},{key:"showLoadingMapView",value:function(){if(this.state.isLoadingMap)return p.default.createElement(y.View,{style:{flexDirection:'row',margin:10,width:(0,E.responsiveWidth)(95),backgroundColor:'white',justifyContent:"center",alignSelf:"center"}},p.default.createElement(y.Text,{style:{fontSize:12,alignSelf:'center'}},R.default.t("LOADING_TEXT_MARKERS")+" "+this.state.value+" km "+R.default.t("DISTANCE_ARROUND")),p.default.createElement(y.ProgressBarAndroid,{style:{alignSelf:'center'}}))}},{key:"loadingMarkers",value:function(t,n,o){var l=this,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return new Promise(function(u,c){var f=l.state.allpoint,h=void 0!==s?s:l.state.page,p=f.filter(function(l,s){var u={longitude:parseFloat(l.longitude),latitude:parseFloat(l.latitude)};return H.getDistance(t,u)<=1e3*o&&l.network===n.name}).slice(0,(h+1)*l.state.pas);try{var y=f.filter(function(l,s){var u={longitude:parseFloat(l.longitude),latitude:parseFloat(l.latitude)};return H.getDistance(t,u)<=1e3*o&&l.network===n.name});l.setState({currentNetworkSize:y.length,currentNetworkMarkers:y})}catch(t){console.debug("after "+t.message)}console.debug("data:",p,"value"+1e3*o),u(p)})}},{key:"treatNewData",value:function(t,n){var o=this,l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.setState({isLoadingMap:!1});var s=n;if(n.length>0){var u=s;l&&this.setState({showProgress:!1}),u.length>0&&this.setState({markers:u,prevRegion:t}),s.length0){var o=n.results[0],l=o.address_components,u=o.formatted_address,c=o.place_id;s.setState({address:l,textadress:u,place:c});for(var f,h,p=n.results,k=0;k=v.length)break;S=v[b++]}else{if((b=v.next()).done)break;S=b.value}var C=S;C.code===f&&(s.setState({indicatif:C.dial_code}),s.getNetworks(C.dial_code))}}}else console.log("on treat 1"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){s.treatPosition(t)}}],{cancelable:!1});else console.log("on treat 2"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){s.treatPosition(t)}}],{cancelable:!1})}).catch(function(n){console.log("on treat 3"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){s.treatPosition(t)}}],{cancelable:!1})}),l={latitude:t.latitude,longitude:t.longitude,latitudeDelta:.03,longitudeDelta:.01},this.setState({myPosition:t,region:l}),this.mapRef&&!this.state.myPositionIsAnimated&&(this.mapRef.animateCamera({center:t,pitch:0,heading:0,altitude:5,zoom:13},1e3),this.setState({myPositionIsAnimated:!0})));case 3:case"end":return o.stop()}},null,this,null,Promise)}}]),n})(T.default);q.navigationOptions=function(t){return{headerMode:"none",headerStyle:{display:'none'},header:null,drawerLabel:t.navigation.getParam("name",R.default.t('MAP')),drawerIcon:function(t){var n=t.tintColor;return p.default.createElement(L.default,{name:'map',size:24,color:n})}}},q.defaultProps={draggableRange:{top:(0,E.responsiveHeight)(30),bottom:0},panel:null};var J=q;e.default=J;var Q=y.StyleSheet.create({solde:{backgroundColor:G.accent,color:"white",marginLeft:10,padding:5,fontSize:9,borderRadius:100},title:{color:'black',marginLeft:10,flex:1,fontSize:11,fontWeight:'bold'},subtitle2:{color:'black',marginLeft:10,flex:1,fontSize:10,fontWeight:'bold'},subtitle:{color:'black',marginLeft:9,fontSize:9},otherInformation:{marginLeft:13,fontSize:9},reseau:{marginLeft:10,fontWeight:'bold',color:G.accent,fontSize:10},container:{flex:1,width:(0,E.responsiveWidth)(95),alignSelf:"center",paddingTop:(0,E.responsiveHeight)(1),marginBottom:(0,E.responsiveHeight)(1),backgroundColor:"white",justifyContent:'flex-start'}}),Z=y.StyleSheet.create({container:{flex:1,backgroundColor:'#FFF'},panelContainer:{position:'absolute',top:0,bottom:0,left:0,right:0},panel:{height:600,padding:20,backgroundColor:'#f7f5eee8'},header:{backgroundColor:'#f7f5eee8',shadowColor:'#000000',paddingTop:20,borderTopLeftRadius:20,borderTopRightRadius:20},panelHandle:{width:40,height:8,borderRadius:4,backgroundColor:'#00000040',marginBottom:10},panelTitle:{fontSize:27,height:35},panelSubtitle:{fontSize:14,color:'gray',height:30,marginBottom:10},panelButton:{padding:20,borderRadius:10,backgroundColor:'#318bfb',alignItems:'center',marginVertical:10},panelButtonTitle:{fontSize:17,fontWeight:'bold',color:'white'},fab:{position:'absolute',margin:16,right:0,bottom:0},networkname:{backgroundColor:G.primary,padding:5,color:"white",marginRight:10,fontSize:10,borderRadius:12},myClusterTextStyle:{color:"white"},myClusterStyle:{backgroundColor:G.accent,height:32,justifyContent:'center',alignItems:'center',width:32,borderRadius:16},rowContainer:{height:52,flex:1,flexDirection:'row',justifyContent:'flex-start',alignItems:'center'},iconContainer:{marginRight:16},mapmarker:{width:52,height:52},slidingup:{backgroundColor:"transparent",position:"absolute",height:X,bottom:0,left:(0,E.responsiveWidth)(2.5),width:(0,E.responsiveWidth)(95),zIndex:1},panelHeader:{height:120,backgroundColor:'#b197fc',alignItems:'center',justifyContent:'center'},favoriteIcon:{left:(0,E.responsiveWidth)(75),backgroundColor:G.primary,width:64,justifyContent:'center',alignContent:'center',bottom:-64,position:'absolute',height:64,padding:8,zIndex:1,borderRadius:32},hambuger:{color:G.primary,borderColor:G.primary,borderWidth:1,alignSelf:'center',padding:5},topBar:{position:'absolute',alignSelf:'center',justifyContent:'center',borderRadius:10,alignItems:'center',marginTop:(0,E.responsiveHeight)(4),width:(0,E.responsiveWidth)(90)},searchInput:{flex:1,fontSize:14},search:{width:(0,E.responsiveWidth)(70),height:(0,E.responsiveHeight)(10),backgroundColor:'#00000000'},map:{width:(0,E.responsiveWidth)(100),height:(0,E.responsiveHeight)(100)},backgroundd_drawer:{backgroundColor:'#000'},cardsearch:{width:(0,E.responsiveWidth)(90),height:(0,E.responsiveHeight)(10),position:'absolute',alignSelf:'center',marginTop:5},actionButtonIcon:{fontSize:20,height:22,color:'white'},welcome:{fontSize:20,textAlign:'center',margin:10},instructions:{textAlign:'center',color:'#333333',marginBottom:5}})},1152,[4,1,273,8,10,12,11,9,13,15,18,1153,524,528,527,771,764,711,815,681,709,712,766,737,768,1373,1378,1379,827,804,826,1380,1029,1384,1444,813,1471,808,806,807]); +__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])),l=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])),p=t(r(d[9])),y=r(d[10]),k=n(r(d[11])),w=n(r(d[12])),v=r(d[13]),E=r(d[14]),b=r(d[15]),S=r(d[16]),T=r(d[17]),C=n(r(d[18])),P=n(r(d[19])),x=n(r(d[20])),R=n(r(d[21])),N=(r(d[22]),n(r(d[23]))),_=r(d[24]),I=r(d[25]),A=n(r(d[26])),M=n(r(d[27])),L=n(r(d[28])),D=n(r(d[29])),O=n(r(d[30])),B=n(r(d[31])),V=r(d[32]),z=n(r(d[33])),F=n(r(d[34])),U=r(d[35]),H=n(r(d[36])),W=r(d[37]),j=n(r(d[38])),K=r(d[39]),G=r(d[40]);r(d[41]);var X={enableHighAccuracy:!0,timeout:2e4,maximumAge:500,useSignificantChanges:!1,distanceFilter:0},Y=[{label:"mon Reseau",value:0},{label:"Tout",value:1}],q=r(d[42]),J=r(d[43]),Q=y.Dimensions.get('window'),Z=(Q.width,Q.height,(0,E.responsiveHeight)(30)>270?270:(0,E.responsiveHeight)(30)),$=(function(t){function n(t){var f;return(0,l.default)(this,n),(f=(0,s.default)(this,(0,u.default)(n).call(this,t,!0)))._draggedValue=new y.Animated.Value(0),f.renderIcon=function(t){return function(n){n.isActive;return p.default.createElement(L.default,{size:24,color:"white",name:t})}},f.openDrawer=function(){f.props.navigation.openDrawer()},f._retrieveData=function(){var t,n,l;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,o.default.awrap(y.AsyncStorage.getItem('position'));case 3:null!==(t=s.sent)&&((n=JSON.parse(t)).longitudeDelta=.04,n.latitudeDelta=.01,l=JSON.parse(t),f.setState({region:n,oldPosition:l})),s.next=10;break;case 7:s.prev=7,s.t0=s.catch(0),console.warn(s.t0);case 10:case"end":return s.stop()}},null,null,[[0,7]],Promise)},f._storeData=function(t){return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,o.default.awrap(y.AsyncStorage.setItem('position',JSON.stringify(t)));case 3:n.next=8;break;case 5:n.prev=5,n.t0=n.catch(0),console.warn(n.t0);case 8:case"end":return n.stop()}},null,null,[[0,5]],Promise)},f.backPressed=function(){return y.Alert.alert(R.default.t('EXIT_TITLE'),R.default.t('EXIT_DESC'),[{text:R.default.t('NO'),onPress:function(){return console.log('Cancel Pressed')},style:'cancel'},{text:R.default.t("YES"),onPress:function(){return y.BackHandler.exitApp()}}],{cancelable:!1}),!0},f.onMapReady=function(){(0,T.readUser)().then(function(t){if(t){f.setState({user:t}),f.setState({network:t.network});var n={latitude:parseFloat(t.latitude),longitude:parseFloat(t.longitude)};f.setState({myPosition:n}),f.refocusMap(!1),t.category?(f.setState({loadingDialog:!1}),"geolocated"!==t.category?f.showMyMembers():n.latitude<=0&&n.longitude<=0&&f.props.navigation.push(J.updateinfo)):'android'===y.Platform.OS?f.requestCameraPermission():(f.getPosition(),f.watchLocation())}}).catch(function(t){console.log("ERROR LOADING USER",t.message)})},f.renderRow=function(t){return p.default.createElement(y.TouchableOpacity,{key:t,onPress:function(){return f.onRowPress(t)}},p.default.createElement(y.View,{style:ae.rowContainer},p.default.createElement(y.View,{style:ae.iconContainer},p.default.createElement(L.default,{name:f.state.filternetworkTemp&&t.name===f.state.filternetworkTemp.name?'radio-button-checked':'radio-button-unchecked',color:f.state.filternetworkTemp&&t.name===f.state.filternetworkTemp.name?q.accent:f.props.colorAccent,size:24})),p.default.createElement(y.Text,{style:b.material.subheading},t.name)))},f.state=f.geInitialState(),f.mounted=!1,f.filterOptions=[{value:5,label:"5 km"},{value:15,label:"15 km"},{value:20,label:"20 km"},{value:25,label:"25 km"}],L.default.getImageSource('md-car',24,'white').then(function(t){f.setState({caricon:t})}),f._renderFavoriteIcon=f._renderFavoriteIcon.bind((0,c.default)(f)),f.makeMarkerInformation=f.makeMarkerInformation.bind((0,c.default)(f)),f}return(0,h.default)(n,t),(0,f.default)(n,[{key:"onLoadMore",value:function(){var t=this,n=this.state,l=n.user;n.prevRegion,n.boundarie;void 0!==l.category&&null!==l.category||(this.promiseRegion&&this.promiseRegion.done(),this.promiseRegion=new Promise(function(n,s){var u,c,f,h,p;return o.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return t.setState({isNeedLoadMore:!1,isLoadingMap:!0}),s.next=3,o.default.awrap(t.mapRef.getCamera());case 3:if(u=s.sent,u.zoom-10,c=[],t.setState({isLoadingMap:!0}),void 0!==t.state.filternetworkTemp&&(f=t.state.filternetworkTemp.id,c=t.state.networks.filter(function(t){return t.id===f})),!(c.length>0)){s.next=23;break}return c[0],h={longitude:l.longitude,latitude:l.latitude},s.prev=11,s.next=14,o.default.awrap(t.loadingMarkers(t.state.myPosition,t.state.filternetwork,t.state.value));case 14:p=s.sent,t.treatNewData(h,p,!1),s.next=21;break;case 18:s.prev=18,s.t0=s.catch(11),t.setState({isNeedLoadMore:!1,isLoadingMap:!1});case 21:s.next=24;break;case 23:t.setState({isNeedLoadMore:!0,isLoadingMap:!1});case 24:t.map&&t.map.focusToUser(),n();case 26:case"end":return s.stop()}},null,null,[[11,18]],Promise)}))}},{key:"onslidingEvent",value:function(t){this.setState({maxHeightSliding:t.nativeEvent.layout.height})}},{key:"componentDidMount",value:function(){var t=this;(0,T.readUser)().then(function(n){n&&void 0!==n&&void 0!==n.phone&&t.props.getAuthApiKey(n.phone)}),this.mounted=!0,this.configuration=new N.default;var n=this.props.navigation;this.markerManager=new F.default,this.configuration.getCurrentPubValue().then(function(n){try{var o=parseInt(n);t.setState({isPubShow:o})}catch(t){}}),this.focusListener=n.addListener("didFocus",function(){t.configuration.getCurrentPasValue().then(function(n){try{t.setState({pas:parseInt(n)})}catch(t){}}),t.componentDidAppear()}),this.blurListener=n.addListener("didBlur",function(n){t.componentDidDisappear()}),this._retrieveData(),this.props.coordinate}},{key:"requestCameraPermission",value:function(){var t=this;return o.default.async(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,o.default.awrap(y.PermissionsAndroid.request(y.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,{title:'Cool Photo App Camera Permission',message:"Cool Photo App needs access to your camera so you can take awesome pictures."}));case 3:n.sent===y.PermissionsAndroid.RESULTS.GRANTED&&(0,T.readUser)().then(function(n){if(n)if(void 0!==n.category&&null!==n.category){var o={latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude)},l={latitude:o.latitude,longitude:o.longitude,latitudeDelta:.03,longitudeDelta:.01};t.setState({myPosition:o}),t.mapRef.animateToCoordinate({latitude:o.latitude,longitude:o.longitude},1e3),t.mapRef.animateToRegion(l,1e3),t.setState({isLoading:!1,isLoadingMap:!1,loadingDialog:!1}),"geolocated"!==n.category?t.showMyMembers():o.latitude<=0&&o.longitude<=0&&t.props.navigation.push(J.updateinfo)}else t.getPosition(),t.watchLocation()}),n.next=10;break;case 7:n.prev=7,n.t0=n.catch(0),console.log(n.t0);case 10:case"end":return n.stop()}},null,null,[[0,7]],Promise)}},{key:"watchLocation",value:function(){var t=this;this.watchID=D.default.watchPosition(function(n){var o=t.state.myPosition,l=n.coords;t.state.oldPosition;o&&l.longitude===o.longitude&&l.latitude===o.latitude||(0!==l.longitude&&0!==l.latitude&&t._storeData(l),((0,P.default)(t.state.region,{})||(0,P.default)(t.state.region,void 0)||(0,P.default)(t.state.region,null))&&(t.state.myPosition.longitude||t.state.myPosition.latitude||null!==t.mapRef&&void 0!==t.mapRef&&(t.mapRef.animateToRegion({latitude:l.latitude,longitude:l.longitude,latitudeDelta:.03,longitudeDelta:.01},1e3),t.mapRef.animateCamera({center:t.myPosition,pitch:0,heading:0,altitude:0,zoom:12},1e3))),t.setState({region:{latitude:l.latitude,longitude:l.longitude,latitudeDelta:.003,longitudeDelta:.004}}),t.setState({myPosition:l}),t.map&&t.map.focusToUser())},function(t){return console.log("wat s",t)},X)}},{key:"getNetworks",value:function(t){var n=this;if(t)(0,T.getCountryNetwork)(t).then(function(o){n.reseaux=[];var l=o;for(var s in l)n.reseaux.push(l[s]);n.setState({networks:n.reseaux});var u=n.reseaux.filter(function(t){return t.name.includes(n.state.network)});void 0!==n.state.user.category&&null!==n.state.user.category||(u.length>0&&t?(n.setState({filternetwork:u[0],myNetwork:u[0],filternetworkTemp:u[0]}),n.retrieveAllPoint(t)):n.state.user&&(n.state.user.category||y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){null!==t&&void 0!==t?n.getNetworks(t):n.requestCameraPermission()}}],{cancelable:!1})))},function(o){y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){null!==t&&void 0!==t?n.getNetworks(t):n.requestCameraPermission()}}],{cancelable:!1})});else{console.log("get network missing pays");y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){n.requestCameraPermission()}}],{cancelable:!1})}}},{key:"getPosition",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;console.log("on get position"),D.default.getCurrentPosition(function(o){var l=t.state.myPosition,s=o.coords;t.state.oldPosition;if(!(0,P.default)(s,l)&&0!==s.longitude&&0!==s.latitude||l){t.map&&t.map.focusToUser(),(0,S.getPositionInformation)(s).then(function(o){if(o)if(void 0!==o.results){if(o.results.length>0){var l=o.results[0],s=l.address_components,u=l.formatted_address,c=l.place_id;t.setState({address:s,textadress:u,place:c});for(var f,h,p=o.results,k=0;k=v.length)break;S=v[b++]}else{if((b=v.next()).done)break;S=b.value}var T=S;T.code===f&&(t.setState({indicatif:T.dial_code}),t.getNetworks(T.dial_code))}}}else console.log("on else result null "),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){t.getPosition(n)}}],{cancelable:!1});else y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){t.getPosition(n)}}],{cancelable:!1})});var u={latitude:s.latitude,longitude:s.longitude,latitudeDelta:.03,longitudeDelta:.01};t.setState({myPosition:s,region:u}),t.mapRef&&!t.state.myPositionIsAnimated&&(t.mapRef.animateCamera({center:s,pitch:0,heading:0,altitude:5,zoom:12},1e3),t.setState({myPositionIsAnimated:!0}))}else console.warn("errror")},function(n){switch(console.warn(n.message),n.code){case 3:t.state.oldPosition&&t.treatPosition(t.state.oldPosition);break;default:console.log("onjjj",n.message)}},X)}},{key:"componentDidDisappear",value:function(){y.BackHandler.removeEventListener('hardwareBackPress',this.backPressed)}},{key:"componentDidAppear",value:function(){var t=this;y.BackHandler.addEventListener('hardwareBackPress',this.backPressed),(0,T.readUser)().then(function(n){if(n&&n.category){t.setState({user:n}),t.setState({network:n.network});var o={latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude)};t.setState({myPosition:o}),t.refocusMap(!0)}})}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.blurListener.remove(),this.focusListener.remove(),this.watchID&&D.default.clearWatch(this.watchID)}}]),(0,f.default)(n,[{key:"makeCardSearch",value:function(){var t=this;if(!this.state.isPubShow)return p.default.createElement(y.View,{style:ae.topBar},p.default.createElement(V.Surface,{style:{elevation:4,borderRadius:10}},p.default.createElement(y.View,{style:{flexDirection:'row',alignSelf:'center',justifyContent:'center',flex:1,borderRadius:10,margin:10,alignItems:'center',height:48}},p.default.createElement(y.TouchableOpacity,{onPress:function(){return t.openDrawer()}},p.default.createElement(y.Text,{style:ae.hambuger},"Menu")),p.default.createElement(y.View,{style:{flex:1}}),p.default.createElement(y.Text,{style:{backgroundColor:this.state.myNetwork.id===this.state.filternetwork.id?q.primary:q.accent,padding:5,color:"white",marginRight:10,fontSize:10,borderRadius:12}},this.state.filternetwork.name?this.state.filternetwork.name:this.state.network),this.renderSupplementInformation()),this.showLoadingMapView()))}},{key:"renderSupplementInformation",value:function(){var t=this;return this.state.user&&"geolocated"===this.state.user.category?p.default.createElement(y.View,null):p.default.createElement(y.View,{style:{flexDirection:"row"}},p.default.createElement(y.View,{style:{backgroundColor:"#FFFFFFA0",justifyContent:'center',alignItems:'center',alignSelf:'center'}},p.default.createElement(y.Text,null,this.state.markers.length+" "+(0===this.state.currentNetworkSize?"":"/"+this.state.currentNetworkSize)," ")),p.default.createElement(y.TouchableOpacity,{onPress:function(){t.setState({page:t.state.page+1}),t.onLoadMore()},style:{borderRadius:12,height:32,width:32,backgroundColor:"white",borderColor:"transparent"}},p.default.createElement(L.default,{name:this.state.markers.length>=this.state.currentNetworkSize?"close":"refresh",size:32,color:this.state.markers.length>=this.state.currentNetworkSize?"red":"grey"})))}},{key:"_renderMarker2",value:function(){var t=this,n=this.state,o=n.currentMarker,l=n.myPosition,s=o,u={latitude:parseFloat(o.latitude),longitude:parseFloat(o.longitude)},c=G.getDistance(l,u),f=(c>900?c/1e3+" Km":c+"m")+R.default.t('TO_YOU'),h=null===s.lastname?s.adresse:s.lastname;return p.default.createElement(y.View,{style:{flex:1,backgroundColor:"white"}},p.default.createElement(y.View,{style:{flexDirection:"row",justifyContent:"flex-end",alignItems:'center',backgroundColor:"white"}},p.default.createElement(y.Text,{style:te.title},h),p.default.createElement(L.default.Button,{name:"close",size:24,color:"red",backgroundColor:"transparent",onPress:function(){t.toggleSlidingUp(!1)}})),p.default.createElement(y.Text,{style:te.subtitle2},s.adresse),p.default.createElement(y.View,{style:{flexDirection:"row",alignItems:"center"}},p.default.createElement(y.Text,{style:te.reseau},s.network),p.default.createElement(y.Text,{style:te.solde},R.default.t('SOLDE_UNVAIBLE'))),p.default.createElement(y.Text,{style:te.reseau},f),p.default.createElement(y.View,{style:{flexDirection:'row',marginTop:(0,E.responsiveHeight)(3),marginLeft:10}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(30),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return t.callItem(s)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:q.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))))}},{key:"_renderItemMarkerdetails",value:function(t){var n=this,o=t;if(void 0!==o&&null!==o){var l=this.state,s=l.currentMarker,u=l.myPosition,c={latitude:parseFloat(s.latitude),longitude:parseFloat(s.longitude)},f=G.getDistance(u,c),h=(f>900?f/1e3+" Km":f+"m")+R.default.t('TO_YOU'),k=null===o.lastname?o.adresse:o.lastname;return p.default.createElement(v.CardView,{style:te.container,cardElevation:2,cardMaxElevation:2,cornerRadius:5},p.default.createElement(y.View,{style:{flexDirection:"row",justifyContent:"flex-end",alignItems:'center'}},p.default.createElement(y.Text,{style:te.title},k),p.default.createElement(L.default.Button,{name:"close",size:24,color:"red",backgroundColor:"transparent",onPress:function(){n.toggleSlidingUp(!1)}})),p.default.createElement(y.Text,{style:te.subtitle2},o.adresse),p.default.createElement(y.View,{style:{flexDirection:"row",alignItems:"center"}},p.default.createElement(y.Text,{style:te.reseau},o.network),p.default.createElement(y.Text,{style:te.solde},R.default.t('SOLDE_UNVAIBLE'))),p.default.createElement(y.Text,{style:te.reseau},h),p.default.createElement(y.View,{style:{flexDirection:'row',marginTop:(0,E.responsiveHeight)(3),marginLeft:10}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(30),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return n.callItem(o)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:q.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))))}}},{key:"renderCurrentMarker",value:function(t){var n=this;if(t)return p.default.createElement(y.View,null,p.default.createElement(y.View,{style:{flexDirection:"row",justifyContent:"flex-end",alignItems:'center'}},p.default.createElement(y.Text,{style:te.title},name),p.default.createElement(L.default.Button,{name:"close",size:24,color:"red",backgroundColor:"transparent",on:!0,dPress:function(){n.toggleSlidingUp(!1)}})),p.default.createElement(y.Text,{style:te.title},t.adresse),p.default.createElement(y.View,{style:{flexDirection:"row"}},p.default.createElement(y.Text,{style:te.reseau},t.network),p.default.createElement(y.Text,{style:te.solde},R.default.t('SOLDE_UNVAIBLE'))),p.default.createElement(y.Text,{style:te.reseau},distanceTxt),p.default.createElement(y.View,{style:{flexDirection:'row',marginTop:(0,E.responsiveHeight)(3),marginLeft:10}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(30),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return n.callItem(t)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:q.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))))}},{key:"callItem",value:function(t){var n={number:t.phone,prompt:!1};(0,M.default)(n).catch(function(t){return console.log(t)})}},{key:"makeMarkerInformation",value:function(){var t=this.state,n=t.currentMarker;t.myPosition;return void 0!==n&&null!==n?this._renderItemMarkerdetails(n):p.default.createElement(y.Text,null,"Impossible de'afficher l'element")}},{key:"makeActionButon",value:function(){var t=this.state.user;if(t)switch(t.category){case"super":return this.getSuperActionButton();case"geolocated":return this.geoLocatedAction();case"hyper":return this.getHypervisorActionButton();default:return this.getSimpleActionButton()}}},{key:"getSuperActionButton",value:function(){var t=this;return p.default.createElement(w.default,{buttonColor:q.accent},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("MY_GROUP"),onPress:function(){return t.showMyMembers()},size:48},p.default.createElement(L.default,{name:"group-work",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap(!1)},size:48},p.default.createElement(L.default,{name:"person-pin",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:q.primary,title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"layers",style:ae.actionButtonIcon})))}},{key:"getSimpleActionButton",value:function(){var t=this;return p.default.createElement(w.default,{ref:function(n){return t.actionButton=n}},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("FILTER"),onPress:function(){return t.showFilterDialog()},size:48},p.default.createElement(L.default,{name:"filter-list",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap(!1)},size:48},p.default.createElement(L.default,{name:"person-pin",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#9b59b6",title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"layers",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("PRINT_MY_NETWORK"),size:48,onPress:function(){t.showMynetworkMap()}},p.default.createElement(L.default,{name:"group-work",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("CHANGE_NETWORK"),size:48,onPress:function(){t.showNewDialogNetwork()}},p.default.createElement(L.default,{name:"rss-feed",style:ae.actionButtonIcon})))}},{key:"toggleSlidingUp",value:function(t){var n=this;t&&this.bottomSheetRef?(this.bottomSheetRef.snapTo(1),this.setState({showcurentMarker:t})):t||this.bottomSheetRef.snapTo(0);var o=t?Z:0,l=t?0:Z;this.setState({panelVisible:t}),!t&&this.state.needRoad&&this.setState({needRoad:!1}),this.state.animation.setValue(o),y.Animated.timing(this.state.animation,{toValue:l,duration:200}).start(function(o){!t&&n.map&&n.map.focusToUser()})}},{key:"makeSlidingUp",value:function(){var t=this;return p.default.createElement(z.default,{ref:function(n){t.bottomSheetRef=n},snapPoints:[0,"30%"],renderHeader:function(){return t.markerView()}})}},{key:"_renderFavoriteIcon",value:function(){var t=this,n=this.props.draggableRange,o=n.top,l=n.bottom,s=[{scale:this._draggedValue.interpolate({inputRange:[l,o],outputRange:[1,0],extrapolate:'clamp'})}];return p.default.createElement(y.TouchableNativeFeedback,{onPress:function(){t.setState({needRoad:!0})}},p.default.createElement(y.Animated.View,{style:[ae.favoriteIcon,{transform:s}]},p.default.createElement(L.default,{name:"car",size:24,color:"white",style:{alignSelf:'center'}})))}},{key:"geInitialState",value:function(){return{region:{latitude:0,longitude:0,latitudeDelta:.015,longitudeDelta:.0121},pas:100,prevRegion:{latitude:0,longitude:0},isPubShow:!0,loadingDialog:!0,textreach:"",currentNetworkSize:0,markersearchfilter:[],animation:new y.Animated.Value(0),myPosition:null,currentMarker:null,filterNetworkOption:Y[1],needRoad:!1,initialAnim:!1,filternetwork:{},destinationPosition:{},panelVisible:!1,markers:[],isNeedLoadMore:!1,isLoadingMap:!1,value:5,page:0,valuePosition:0,markerfilter:null,allpoint:[],typeMap:'standard',indexTypeMap:0,user:null,snack_visible:!1,snack_text_message:"",networks:[],dialogSliderVisible:!1,showProgress:!1,myNetwork:{},dialogNetworkVisible:!1,myPositionMarkerText:R.default.t("YOUR_THERE")}}},{key:"onMarkerPress",value:function(t){console.warn(t),this.setState({currentMarker:t}),this.toggleSlidingUp(!0)}},{key:"onMapTypeChange",value:function(){var t={index:this.state.indexTypeMap,text:this.state.typeMap};switch(t.index=t.index+1,t.index=t.index%3,t.index){default:t.text='standard';break;case 1:t.text='hybrid';break;case 2:t.text="terrain"}this.setState({indexTypeMap:t.index,typeMap:t.text})}},{key:"showInterticiel",value:function(){var t=this;if(this.state.isPubShow)return p.default.createElement(O.default,{closeIntersticiel:function(){return t.setState({isPubShow:!1})},navigation:this.props.navigation})}},{key:"renderBottomHome",value:function(){var t=this;return p.default.createElement(y.View,{style:{flex:1,backgroundColor:"lightblue"}},p.default.createElement(k.default,{ref:function(n){t.map=n,null!=n&&(t.mapRef=n.getMapRef())},typeMap:this.state.typeMap,onMarkerClick:function(n){return t.onMarkerPress(n)},network:this.state.filternetwork,initialRegion:this.state.region,markers:this.state.markers,selectedMarker:this.state.currentMarker,myNetwork:this.state.myNetwork,lang:this.state.lang,myPosition:this.state.myPosition,onMapReady:function(){(0,T.readUser)().then(function(n){n&&(t.setState({user:n}),t.setState({network:n.network}),n.category?(t.setState({loadingDialog:!1}),"geolocated"!==n.category?t.showMyMembers():myPosition.latitude<=0&&myPosition.longitude<=0&&t.props.navigation.push(J.updateinfo)):'android'===y.Platform.OS?t.requestCameraPermission():t.watchLocation())})},needRoad:this.state.needRoad,onNeedRoadReady:function(n){t.setState({showProgress:!1})},onNeedRoadError:function(n){t.setState({showProgress:!1}),y.Alert.alert(R.default.t("PROBLEM_OCCUR"),R.default.t("PROBLEM_OCCUR_DIRECTION"),[{text:"Ok",onPress:function(){}}])}}),this.makeCardSearch(),p.default.createElement(z.default,{ref:function(n){t.bottomSheetRef=n},snapPoints:[60,"30%","100%"],renderHeader:function(){return t.renderHeader()}}))}},{key:"renderInner",value:function(){return p.default.createElement(y.View,{style:{flex:1,backgroundColor:"green"}},p.default.createElement(y.Text,null,"Freud junior"))}},{key:"markerView",value:function(){if(this.state.currentMarker)return this._renderMarker2()}},{key:"renderHeader",value:function(){var t=this;return p.default.createElement(p.default.Fragment,null,p.default.createElement(y.View,{style:{position:"absolute",width:32,height:this.state.currentMarker?200:100,bottom:80,right:0,justifyContent:'center'}},p.default.createElement(w.default,{size:32,style:{marginRight:15},buttonColor:"white"}),p.default.createElement(w.default,{size:42,renderIcon:function(){return p.default.createElement(L.default,{name:"group-work",style:ae.actionButtonIcon})},style:{marginTop:40,marginRight:20},buttonColor:q.primary})),p.default.createElement(y.View,{style:{flex:1,backgroundColor:"white"}},this.markerView(),this.renderFilterMarker(),p.default.createElement(y.View,{style:{flexDirection:'row',height:60,justifyContent:'space-evenly',alignItems:'flex-end'}},p.default.createElement(y.View,{style:{flexDirection:'row',flex:1,marginBottom:10,justifyContent:'space-around',alignItems:'flex-end'}},p.default.createElement(V.FAB,{small:!0,icon:this.state.showFilterDistance?"close":"filter",color:q.primary,style:{backgroundColor:"white"},onPress:function(){t.state.showFilterDistance?(t.bottomSheetRef.snapTo(0),t.setState({showFilterDistance:!1})):(t.bottomSheetRef.snapTo(2),t.setState({showFilterDistance:!0}))}}),p.default.createElement(V.FAB,{small:!0,icon:"add",color:"white",style:{backgroundColor:q.primary},onPress:function(){t.bottomSheetRef.snapTo(2),t.setState({showdialogNetworkVisible:!0})}})),this.makeMarkerButton())))}},{key:"renderFilterMarker",value:function(){var t=this;if(this.state.showFilterDistance)return p.default.createElement(y.View,{style:{height:(0,E.responsiveHeight)(80),justifyContent:'center',backgroundColor:'white',margin:20}},p.default.createElement(y.View,{style:{height:(0,E.responsiveHeight)(30),justifyContent:'center'}},p.default.createElement(y.Text,null,R.default.t('TEXT_FILTER_DISTANCE')," "),p.default.createElement(A.default,{items:this.filterOptions,defaultItem:this.state.valuePosition,labelPosition:"bottom",onSlidingComplete:function(n){return t.slidingComplete(n)}}),p.default.createElement(y.Text,null,p.default.createElement(y.Text,{style:{fontWeight:"bold"}},void 0===this.state.value?0:this.state.value)," km ",R.default.t("DISTANCE_ARROUND"))),p.default.createElement(y.View,{style:{flexDirection:"row",flex:1}},p.default.createElement(x.default,{style:{flex:1}}),p.default.createElement(x.default,{style:{flex:1}})))}},{key:"makeMarkerButton",value:function(){var t=this;return this.state.currentMarker?p.default.createElement(y.View,{style:{flex:2,flexDirection:'row',justifyContent:'flex-end',marginEnd:20}},this.state.needRoad?this.showBtnClose():this.showBtnItineraire(),p.default.createElement(x.default,{style:{backgroundColor:"white",width:(0,E.responsiveWidth)(26),height:36,marginLeft:5,borderRadius:100,borderColor:"#9e9e9e",justifyContent:'center'},onPress:function(){return t.callItem(marker)}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"phone",size:16,color:q.primary,style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'#9e9e9e',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CALL"))))):p.default.createElement(y.View,{style:{flex:2,flexDirection:'row',justifyContent:'flex-end',marginEnd:20}})}},{key:"renderOldHome",value:function(){var t=this;return p.default.createElement(y.View,{style:ae.container},p.default.createElement(y.StatusBar,{backgroundColor:"#00000030",barStyle:"light-content",translucent:!0}),this.state.loadingDialog?p.default.createElement(y.View,{style:{position:"absolute",zIndex:1,backgroundColor:"#00000050",width:this.state.loadingDialog?(0,E.responsiveWidth)(100):0,height:this.state.loadingDialog?(0,E.responsiveHeight)(100):0,flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(y.Text,{style:{fontSize:20,color:'white',fontWeight:'bold'}},R.default.t("LOADING_DOTS"))):null,p.default.createElement(k.default,{ref:function(n){t.map=n,null!=n&&(t.mapRef=n.getMapRef())},typeMap:this.state.typeMap,onMarkerClick:function(n){return t.onMarkerPress(n)},network:this.state.filternetwork,initialRegion:this.state.region,markers:this.state.markers,selectedMarker:this.state.currentMarker,myNetwork:this.state.myNetwork,lang:this.state.lang,myPosition:this.state.myPosition,onMapReady:'android'===y.Platform.OS?this.onMapReady:null,onLayout:'ios'===y.Platform.OS?this.onMapReady:null,needRoad:this.state.needRoad,onNeedRoadReady:function(n){t.setState({showProgress:!1})},onNeedRoadError:function(n){t.setState({showProgress:!1}),y.Alert.alert(R.default.t("PROBLEM_OCCUR"),R.default.t("PROBLEM_OCCUR_DIRECTION"),[{text:"Ok",onPress:function(){}}])}}),this.makeCardSearch(),this.makeSlidingUp(),this.makeDialogLoader(),this.makeDistanceDialog(),this.makeNetworkChangeDialog(),p.default.createElement(B.default,{visible:this.state.snack_visible,textMessage:this.state.snack_text_message,autoHidingTime:5e3}),this.makeActionButon())}},{key:"renderTutoOldHome",value:function(){return p.default.createElement(y.View,{style:{flex:1}},p.default.createElement(CopilotStep,{text:"This is a hello world example!",order:1,name:"hello"},this.makeCardSearch()))}},{key:"render",value:function(){return this.renderOldHome()}},{key:"renderCurrentMarker",value:function(){if(this.state.currentMarker)return p.default.createElement(y.View,{style:{height:200,backgroundColor:'#fff'}},this.makeMarkerInformation())}},{key:"makeDialogLoader",value:function(){return p.default.createElement(I.ProgressDialog,{visible:this.state.showProgress,title:R.default.t("LOADING_PROGRESS"),message:R.default.t("WAITING_LONG"),animationType:"slide",activityIndicatorSize:"large",activityIndicatorColor:"blue"})}},{key:"showMynetworkMap",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=null===n?this.state.user:n,l=this.state.myNetwork;return this.setState({filternetwork:l,page:0,filternetworkTemp:l,loadingDialog:!0}),new Promise(function(){void 0!==l?t.loadingMarkers(t.state.myPosition,l,t.state.value).then(function(n){var l=n||[];if(t.setState({loadingDialog:!1}),void 0!==o.category&&null!==o.category){var s=l.filter(function(t){return t.code_parrain===o.code_membre});t.treatNewData(t.state.myPosition,s,!0)}else t.treatNewData(t.state.myPosition,l,!0)}).catch(function(n){t.setState({loadingDialog:!1}),console.log("error j"),console.log(n)}):(t.setState({loadingDialog:!1}),console.log("error no net"))})}},{key:"showMyMembers",value:function(){var t=this,n=this.state.user.code_membre;void 0!==n?(0,S.loadGroupeAgent)(n).then(function(n){if(1===n.success)return t.setState({markers:n.datas})}):console.log("error")}},{key:"slidingComplete",value:function(t){this.setState({value:this.filterOptions[t].value,valuePosition:t})}},{key:"makeDistanceDialog",value:function(){var t=this;return p.default.createElement(_.MaterialDialog,{visible:this.state.dialogSliderVisible,title:R.default.t('MENU_FILTER'),onOk:function(){t.setState({dialogSliderVisible:!1,showProgress:!0}),setTimeout(function(){return t.filterPoint()},300)},cancelLabel:R.default.t("QUIT_"),okLabel:R.default.t('FILTER'),onCancel:function(){t.setState({dialogSliderVisible:!1})},onTouchOutside:function(){return t.setState({dialogSliderVisible:!1})}},p.default.createElement(y.Text,null,R.default.t('TEXT_FILTER_DISTANCE')," "),p.default.createElement(A.default,{items:this.filterOptions,defaultItem:this.state.valuePosition,labelPosition:"bottom",onSlidingComplete:function(n){return t.slidingComplete(n)}}),p.default.createElement(y.Text,null,p.default.createElement(y.Text,{style:{fontWeight:"bold"}},void 0===this.state.value?0:this.state.value)," km ",R.default.t("DISTANCE_ARROUND")))}},{key:"showFilterDialog",value:function(){this.setState({dialogSliderVisible:!0})}},{key:"filterPoint",value:function(){var t,n,l,s,u,c=this;return o.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:t=this.state,n=t.value,l=t.myPosition,t.user,s=t.filternetwork,void 0!==n?(this.setState({page:0}),1e3*n,u=this.state.networks.filter(function(t){return t.id===s.id}),u[0],this.loadingMarkers(l,s,n).then(function(t){c.treatNewData(c.state.prevRegion,t,!0)}).catch(function(t){c.setState({showProgress:!1}),y.Alert.alert(R.default.t("ERROR_FILTER"),R.default.t("ERROR_FILTER_TEXT"),[{text:R.default.t("CANCEL")},{text:R.default.t("RESTART"),onPress:function(){c.filterPoint()}}])})):(this.setState({showProgress:!1}),this.setState({snack_visible:!0,snack_text_message:"impossible de filtrer les \xe9lements"}),setTimeout(function(){c.setState({snack_visible:!1})},5e3));case 2:case"end":return o.stop()}},null,this,null,Promise)}},{key:"userChangeMarker",value:function(t){var n=this.state.markers[t];if(null!==this.mapRef&&void 0!==this.mapRef){var o={latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude),latitudeDelta:.03,longitudeDelta:.01};this.mapRef.animateToCoordinate({latitude:parseFloat(n.latitude),longitude:parseFloat(n.longitude)},1e3),this.mapRef.animateToRegion(o,1e3),console.log(n)}}},{key:"geoLocatedAction",value:function(){var t=this;return p.default.createElement(w.default,{buttonColor:q.accent},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap()},size:48},p.default.createElement(L.default,{name:"person-pin",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:q.primary,title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"layers",style:ae.actionButtonIcon})))}},{key:"makeNetworkChangeDialog",value:function(){var t=this;return p.default.createElement(_.MaterialDialog,{title:R.default.t("CHOICE_NETWORK"),visible:this.state.dialogNetworkVisible,subtitle:R.default.t("CHOICE_NETWORK_TEXT"),onCancel:function(){return t.setState({dialogNetworkVisible:!1})},onOk:function(n){t.setState({dialogNetworkVisible:!1,page:0}),t.setState({showProgress:!0,filternetwork:t.state.filternetworkTemp}),setTimeout(function(){return t.showFilterNetwork()},500)}},p.default.createElement(y.FlatList,{style:{height:(0,E.responsiveHeight)(40)},data:this.state.networks,renderItem:function(n){var o=n.item;return t.renderRow(o)}}))}},{key:"onRowPress",value:function(t){this.setState({filternetworkTemp:t})}},{key:"showNewDialogNetwork",value:function(){this.setState({dialogNetworkVisible:!0})}},{key:"showFilterNetwork",value:function(){var t,n,l,s=this;return o.default.async(function(o){for(;;)switch(o.prev=o.next){case 0:t=this.state,n=t.myPosition,t.user,void 0!==(l=t.filternetwork)?(this.setState({showProgress:!0}),this.loadingMarkers(this.state.myPosition,l,this.state.value,0).then(function(t){s.setState({showProgress:!1}),s.treatNewData(n,t,!0)}).catch(function(t){s.setState({snack_visible:!0,snack_text_message:"Probleme de connexion"}),console.log(t)})):console.log("error no net");case 2:case"end":return o.stop()}},null,this,null,Promise)}},{key:"showBtnItineraire",value:function(){var t=this;return p.default.createElement(x.default,{style:{backgroundColor:q.primary,width:(0,E.responsiveWidth)(30),height:36,borderRadius:100,marginLeft:5,borderColor:"transparent",justifyContent:'center'},onPress:function(){t.setState({needRoad:!0,showProgress:!0})}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"near-me",size:16,color:"white",style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'white',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("WAY"))))}},{key:"showBtnClose",value:function(){var t=this;return p.default.createElement(x.default,{style:{backgroundColor:q.reddeconnect,height:36,width:(0,E.responsiveWidth)(30),borderRadius:100,borderColor:"transparent",justifyContent:'center'},onPress:function(){t.setState({needRoad:!1,showProgress:!1})}},p.default.createElement(y.View,{style:{flexDirection:'row'}},p.default.createElement(L.default,{name:"close",size:16,color:"white",style:{alignSelf:'center'}}),p.default.createElement(y.Text,{style:{fontSize:15,color:'white',marginLeft:(0,E.responsiveWidth)(2)}},R.default.t("CANCEL"))))}},{key:"getHypervisorActionButton",value:function(){var t=this;return p.default.createElement(w.default,{buttonColor:q.accent},p.default.createElement(w.default.Item,{buttonColor:"#3498db",title:R.default.t("REPOSITIONNING"),onPress:function(){return t.refocusMap(!1)},size:48},p.default.createElement(L.default,{name:"person-pin",style:ae.actionButtonIcon})),p.default.createElement(w.default.Item,{buttonColor:q.primary,title:R.default.t("CHANGE_MAP"),onPress:function(){t.onMapTypeChange()},size:48},p.default.createElement(L.default,{name:"map",style:ae.actionButtonIcon})))}},{key:"moveToMarker",value:function(t){this.mapRef.animateToCoordinate({latitude:parseFloat(t.latitude),longitude:parseFloat(t.longitude)},1e3),this.setState({textreach:t.lastname,texta:!0}),this.setState({markersearchfilter:[]}),this.onMarkerPress(t)}},{key:"refocusMap",value:function(){!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?this.mapRef&&void 0!==this.state.myPosition&&this.mapRef.animateCamera({center:{latitude:this.state.myPosition.latitude,longitude:this.state.myPosition.longitude},pitch:0,heading:0},1e3):this.mapRef&&void 0!==this.state.myPosition&&this.mapRef.animateCamera({center:{latitude:this.state.myPosition.latitude,longitude:this.state.myPosition.longitude},pitch:0,heading:0,altitude:5,zoom:12},1e3),this.map&&this.map.focusToUser()}},{key:"renderCardSeashItem",value:function(t){var n=this;return p.default.createElement(y.TouchableOpacity,{key:t.id,style:{margin:5},onPress:function(){n.moveToMarker(t)}},p.default.createElement(y.Text,{style:{flex:1,fontSize:14,color:"#000"}},null===t.firstname?t.adresse:t.firstname),p.default.createElement(y.Text,{style:{flex:1,fontSize:12}},t.lastname),p.default.createElement(y.Text,{style:{flex:1,fontSize:13,alignSelf:'flex-end',color:q.accent}},t.network))}},{key:"retrieveAllPoint",value:function(t){var n=this;(0,S.getMakersFrom)(t).then(function(o){new Promise(function(t,l){try{var s=o.datas;n.setState({allpoint:s,loadingDialog:!1}),t(s)}catch(t){console.warn(t.message),l(new Error(t.message))}}).then(function(t){n.onLoadMore()}).catch(function(o){n.setState({loadingDialog:!1}),console.log("on get marker"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){n.setState({loadingDialog:!0}),null!==t&&void 0!==t?n.retrieveAllPoint(t):n.requestCameraPermission()}}],{cancelable:!1})})}).catch(function(o){console.log("on retreive>getmarkers",o.message),n.setState({loadingDialog:!1}),n.state.allpoint.length<=0&&(console.log("no point"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){n.state.allpoint.length<=0&&(n.setState({loadingDialog:!0}),null!==t&&void 0!==t?n.retrieveAllPoint(t):n.requestCameraPermission())}}],{cancelable:!1}))})}},{key:"showLoadMoreView",value:function(){var t=this;if(this.state.isNeedLoadMore)return p.default.createElement(y.View,{style:{flex:1,flexDirection:'row',width:(0,E.responsiveWidth)(90)}},p.default.createElement(x.default,{onPress:function(){t.setState({page:t.state.page+1}),t.onLoadMore()},style:{borderRadius:48,height:48,width:48,backgroundColor:"white",borderColor:"transparent",alignItems:"center",justifyContent:"center"}},p.default.createElement(L.default,{name:"refresh",size:32})),p.default.createElement(y.View,{style:{backgroundColor:"#FFFFFFA0",width:(0,E.responsiveWidth)(20),height:30,borderRadius:12,justifyContent:'center',alignItems:'center',alignSelf:'center'}},p.default.createElement(y.Text,null,(this.state.markers.length,this.state.markers.length)," / ",this.state.currentNetworkSize," ")))}},{key:"showLoadingMapView",value:function(){if(this.state.isLoadingMap)return p.default.createElement(y.View,{style:{flexDirection:'row',margin:10,width:(0,E.responsiveWidth)(95),backgroundColor:'white',justifyContent:"center",alignSelf:"center"}},p.default.createElement(y.Text,{style:{fontSize:12,alignSelf:'center'}},R.default.t("LOADING_TEXT_MARKERS")+" "+this.state.value+" km "+R.default.t("DISTANCE_ARROUND")),p.default.createElement(y.ProgressBarAndroid,{style:{alignSelf:'center'}}))}},{key:"loadingMarkers",value:function(t,n,o){var l=this,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return new Promise(function(u,c){var f=l.state.allpoint,h=void 0!==s?s:l.state.page,p=f.filter(function(l,s){var u={longitude:parseFloat(l.longitude),latitude:parseFloat(l.latitude)};return G.getDistance(t,u)<=1e3*o&&l.network===n.name}).slice(0,(h+1)*l.state.pas);try{var y=f.filter(function(l,s){var u={longitude:parseFloat(l.longitude),latitude:parseFloat(l.latitude)};return G.getDistance(t,u)<=1e3*o&&l.network===n.name});l.setState({currentNetworkSize:y.length,currentNetworkMarkers:y})}catch(t){console.debug("after "+t.message)}console.debug("data:",p,"value"+1e3*o),u(p)})}},{key:"treatNewData",value:function(t,n){var o=this,l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.setState({isLoadingMap:!1});var s=n;if(n.length>0){var u=s;l&&this.setState({showProgress:!1}),u.length>0&&this.setState({markers:u,prevRegion:t}),s.length0){var o=n.results[0],l=o.address_components,u=o.formatted_address,c=o.place_id;s.setState({address:l,textadress:u,place:c});for(var f,h,p=n.results,k=0;k=v.length)break;S=v[b++]}else{if((b=v.next()).done)break;S=b.value}var T=S;T.code===f&&(s.setState({indicatif:T.dial_code}),s.getNetworks(T.dial_code))}}}else console.log("on treat 1"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){s.treatPosition(t)}}],{cancelable:!1});else console.log("on treat 2"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){s.treatPosition(t)}}],{cancelable:!1})}).catch(function(n){console.log("on treat 3"),y.Alert.alert(R.default.t("UNABLE_TO_CONNECT_TITLE"),R.default.t('TEXT_NETWORK_UNABLE'),[{text:R.default.t("NO"),onPress:function(){y.BackHandler.exitApp()}},{text:R.default.t("YES"),onPress:function(){s.treatPosition(t)}}],{cancelable:!1})}),l={latitude:t.latitude,longitude:t.longitude,latitudeDelta:.03,longitudeDelta:.01},this.setState({myPosition:t,region:l}),this.mapRef&&!this.state.myPositionIsAnimated&&(this.mapRef.animateCamera({center:t,pitch:0,heading:0,altitude:5,zoom:13},1e3),this.setState({myPositionIsAnimated:!0})));case 3:case"end":return o.stop()}},null,this,null,Promise)}}]),n})(C.default);$.navigationOptions=function(t){return{headerMode:"none",headerStyle:{display:'none'},header:null,drawerLabel:t.navigation.getParam("name",R.default.t('MAP')),drawerIcon:function(t){var n=t.tintColor;return p.default.createElement(L.default,{name:'map',size:24,color:n})}}},$.defaultProps={draggableRange:{top:(0,E.responsiveHeight)(30),bottom:0},panel:null};var ee=(0,W.connect)(function(t){return{loading:t.authKeyReducer.loading,authKey:t.authKeyReducer.authKey,error:t.authKeyReducer.error}},function(t){return(0,U.bindActionCreators)({getAuthApiKey:H.default,getWalletActivated:j.default},t)})($);e.default=ee;var te=y.StyleSheet.create({solde:{backgroundColor:q.accent,color:"white",marginLeft:10,padding:5,fontSize:9,borderRadius:100},title:{color:'black',marginLeft:10,flex:1,fontSize:11,fontWeight:'bold'},subtitle2:{color:'black',marginLeft:10,flex:1,fontSize:10,fontWeight:'bold'},subtitle:{color:'black',marginLeft:9,fontSize:9},otherInformation:{marginLeft:13,fontSize:9},reseau:{marginLeft:10,fontWeight:'bold',color:q.accent,fontSize:10},container:{flex:1,width:(0,E.responsiveWidth)(95),alignSelf:"center",paddingTop:(0,E.responsiveHeight)(1),marginBottom:(0,E.responsiveHeight)(1),backgroundColor:"white",justifyContent:'flex-start'}}),ae=y.StyleSheet.create({container:{flex:1,backgroundColor:'#FFF'},panelContainer:{position:'absolute',top:0,bottom:0,left:0,right:0},panel:{height:600,padding:20,backgroundColor:'#f7f5eee8'},header:{backgroundColor:'#f7f5eee8',shadowColor:'#000000',paddingTop:20,borderTopLeftRadius:20,borderTopRightRadius:20},panelHandle:{width:40,height:8,borderRadius:4,backgroundColor:'#00000040',marginBottom:10},panelTitle:{fontSize:27,height:35},panelSubtitle:{fontSize:14,color:'gray',height:30,marginBottom:10},panelButton:{padding:20,borderRadius:10,backgroundColor:'#318bfb',alignItems:'center',marginVertical:10},panelButtonTitle:{fontSize:17,fontWeight:'bold',color:'white'},fab:{position:'absolute',margin:16,right:0,bottom:0},networkname:{backgroundColor:q.primary,padding:5,color:"white",marginRight:10,fontSize:10,borderRadius:12},myClusterTextStyle:{color:"white"},myClusterStyle:{backgroundColor:q.accent,height:32,justifyContent:'center',alignItems:'center',width:32,borderRadius:16},rowContainer:{height:52,flex:1,flexDirection:'row',justifyContent:'flex-start',alignItems:'center'},iconContainer:{marginRight:16},mapmarker:{width:52,height:52},slidingup:{backgroundColor:"transparent",position:"absolute",height:Z,bottom:0,left:(0,E.responsiveWidth)(2.5),width:(0,E.responsiveWidth)(95),zIndex:1},panelHeader:{height:120,backgroundColor:'#b197fc',alignItems:'center',justifyContent:'center'},favoriteIcon:{left:(0,E.responsiveWidth)(75),backgroundColor:q.primary,width:64,justifyContent:'center',alignContent:'center',bottom:-64,position:'absolute',height:64,padding:8,zIndex:1,borderRadius:32},hambuger:{color:q.primary,borderColor:q.primary,borderWidth:1,alignSelf:'center',padding:5},topBar:{position:'absolute',alignSelf:'center',justifyContent:'center',borderRadius:10,alignItems:'center',marginTop:(0,E.responsiveHeight)(4),width:(0,E.responsiveWidth)(90)},searchInput:{flex:1,fontSize:14},search:{width:(0,E.responsiveWidth)(70),height:(0,E.responsiveHeight)(10),backgroundColor:'#00000000'},map:{width:(0,E.responsiveWidth)(100),height:(0,E.responsiveHeight)(100)},backgroundd_drawer:{backgroundColor:'#000'},cardsearch:{width:(0,E.responsiveWidth)(90),height:(0,E.responsiveHeight)(10),position:'absolute',alignSelf:'center',marginTop:5},actionButtonIcon:{fontSize:20,height:22,color:'white'},welcome:{fontSize:20,textAlign:'center',margin:10},instructions:{textAlign:'center',color:'#333333',marginBottom:5}})},1152,[4,1,273,8,10,12,11,9,13,15,18,1153,524,528,527,771,764,711,815,681,709,712,766,737,768,1373,1378,1379,827,804,826,1380,1029,1384,1444,1472,1475,1504,1537,813,1471,808,806,807]); __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])),u=o(r(d[4])),l=o(r(d[5])),c=o(r(d[6])),f=o(r(d[7])),p=t(r(d[8])),h=t(r(d[9])),k=o(r(d[10])),y=r(d[11]),v=r(d[12]),R=o(r(d[13])),b=o(r(d[14])),C=o(r(d[15])),w=(r(d[16]),r(d[17])),M=(o(r(d[18])),r(d[19])),S=(r(d[20]),r(d[21]),(function(t){function o(t){var s;return(0,n.default)(this,o),(s=(0,u.default)(this,(0,l.default)(o).call(this,t))).mapRef=function(t){s.mapview=t},s.getMapRef=function(){return s.mapview},s.state={markers:[],roadReady:!1,isNeedUserFocus:!1,positionMarkerText:b.default.t("YOUR_THERE")},w.IlinkEmitter.on("langueChange",s.updateLangue.bind((0,c.default)(s))),s}return(0,f.default)(o,t),(0,s.default)(o,[{key:"getPositionMarkerText",value:function(){var t=null;switch(b.default.currentLocale()){case"fr":t="Vous \xeates ici";break;case"en":t="Your are here";break;default:t=b.default.t("YOUR_THERE")}return t}},{key:"updateLangue",value:function(){this.setState({positionMarkerText:this.getPositionMarkerText()})}},{key:"componentDidUpdate",value:function(t,o){o.positionMarkerText!==this.state.positionMarkerText&&this.forceUpdate()}},{key:"componentWillReceiveProps",value:function(t,o){var n=this.state.markers,s=t.markers;n.length<=0?this.setState({markers:s}):n.length!==s&&this.setState({markers:s}),this.setState({isNeedUserFocus:t.isNeedUserFocus})}},{key:"render",value:function(){var t=this,o=this.props,n=(o.markers,o.initialRegion),s=(o.myPosition,o.myNetwork),u=o.typeMap,l=o.selectedMarker;return null!==n&&null!==s?p.default.createElement(y.View,{style:N.container},p.default.createElement(h.default,{style:{flex:1},initialRegion:n,mapType:u,ref:function(o){return t.mapview=o},onMapReady:this.props.onMapReady,onLayout:this.props.onLayout,onRegionChangeComplete:function(o){t.onRegionChangeOver(o)}},this.state.markers.map(function(o,n){return p.default.createElement(R.default,{isUser:!1,title:o.lastname,isSelected:l&&l.id===o.id,data:o,onPress:function(o,n){return t.props.onMarkerClick(o,n)},network:s})}),this.renderMyPosition(),this.makeDirection())):p.default.createElement(y.View,null)}},{key:"focusToUser",value:function(){this.setState({isNeedUserFocus:!0})}},{key:"closeUserFocus",value:function(){this.setState({isNeedUserFocus:!1})}},{key:"onRegionChangeOver",value:function(t){}},{key:"makeDirection",value:function(){var t=this,o=this.props,n=o.myPosition,s=o.selectedMarker,u=o.needRoad;if(null!==n&&null!==s&&void 0!==s&&void 0!==n&&u)return setTimeout(function(){t.state.roadReady||(t.setState({roadReady:!0}),t.props.onNeedRoadError())},1e4),p.default.createElement(C.default,{origin:n,destination:s,apikey:"AIzaSyAYOEp-Pckvc3TwOIulCICokKgmp14rGHI",strokeWidth:3,onReady:function(o){t.setState({roadReady:!0}),t.props.onNeedRoadReady(o)},onError:function(){t.setState({roadReady:!0}),t.props.onNeedRoadError()},strokeColor:M.primary})}},{key:"renderMyPosition",value:function(){var t=this.props,o=t.myPosition;t.myNetwork;if(null!=o)return p.default.createElement(R.default,{isUser:!0,lang:this.props.lang,isNeedFocus:this.state.isNeedUserFocus,title:this.state.positionMarkerText,data:{longitude:o.longitude,latitude:o.latitude}})}}]),o})(p.Component));S.propTypes={markers:k.default.array,map:k.default.object,network:k.default.object,myNetwork:k.default.object,selectedMarker:k.default.object,myPosition:k.default.object,onMarkerClick:k.default.func,initialRegion:k.default.object,typeMap:k.default.string,needRoad:k.default.bool,isNeedUserFocus:k.default.bool,onNeedRoadReady:k.default.func,onNeedRoadError:k.default.func,onMapReady:k.default.func,onLayout:k.default.func},S.defaultProps={isNeedUserFocus:!1};var x=S;e.default=x;var N=y.StyleSheet.create({container:{flex:1,backgroundColor:'#FFF'},myClusterTextStyle:{color:"white"},myClusterStyle:{backgroundColor:M.accent,height:32,justifyContent:'center',alignItems:'center',width:32,borderRadius:16},rowContainer:{height:52,flex:1,flexDirection:'row',justifyContent:'flex-start',alignItems:'center'},iconContainer:{marginRight:16},mapmarker:{width:52,height:52},slidingup:{backgroundColor:"transparent",position:"absolute",height:300,bottom:0,right:35,zIndex:1},panel:{flex:1,backgroundColor:'white',position:'relative'},panelHeader:{height:120,backgroundColor:'#b197fc',alignItems:'center',justifyContent:'center'},favoriteIcon:{left:(0,v.responsiveWidth)(75),backgroundColor:M.primary,width:64,justifyContent:'center',alignContent:'center',bottom:-64,position:'absolute',height:64,padding:8,zIndex:1,borderRadius:32},hambuger:{},topBar:{position:'absolute',alignSelf:'center',justifyContent:'center',alignItems:'center',marginTop:(0,v.responsiveHeight)(4),width:(0,v.responsiveWidth)(95)},searchInput:{width:(0,v.responsiveWidth)(70),fontSize:14},search:{width:(0,v.responsiveWidth)(70),height:(0,v.responsiveHeight)(10),backgroundColor:'#00000000'},map:{width:(0,v.responsiveWidth)(100),height:(0,v.responsiveHeight)(100)},backgroundd_drawer:{backgroundColor:'#000'},cardsearch:{width:(0,v.responsiveWidth)(90),height:(0,v.responsiveHeight)(10),position:'absolute',alignSelf:'center',marginTop:5},actionButtonIcon:{fontSize:20,height:22,color:'white'},welcome:{fontSize:20,textAlign:'center',margin:10},instructions:{textAlign:'center',color:'#333333',marginBottom:5}})},1153,[4,1,8,9,10,12,11,13,15,950,68,18,527,1154,712,1158,1160,766,930,806,1156,1157]); __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])),l=n(r(d[3])),s=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),p=t(r(d[7])),f=t(r(d[8])),h=(n(r(d[9])),r(d[10])),v=r(d[11]),k=r(d[12]),y=r(d[13]),w=(function(t){function n(t){var l;(0,o.default)(this,n),(l=(0,s.default)(this,(0,u.default)(n).call(this,t))).handleViewRef=function(t){return l.view=t};var c=l.props.data;return l.state={animation:new h.Animated.Value(0),subanimation:new h.Animated.Value(0),coordinate:{longitude:parseFloat(c.longitude),latitude:parseFloat(c.latitude)}},l}return(0,c.default)(n,t),(0,l.default)(n,[{key:"componentWillReceiveProps",value:function(t){var n=parseFloat(this.props.data.longitude),o=parseFloat(this.props.data.latitude),l={longitude:parseFloat(t.data.longitude),latitude:parseFloat(t.data.latitude)};n===l.longitude&&o===l.latitude||'android'===h.Platform.OS&&this.markerRef&&this.markerRef._component.animateMarkerToCoordinate(l,500)}},{key:"startAnimation",value:function(){this.state.animation.setValue(0),h.Animated.timing(this.state.animation,{toValue:1,duration:500,easing:h.Easing.linear(),useNativeDriver:!0}).start()}},{key:"render",value:function(){var t=this,n=this.props,o=n.data;n.network,n.isSelected;return o.longitude&&o.latitude?p.default.createElement(f.Marker.Animated,{coordinate:this.state.coordinate.longitude?this.state.coordinate:{longitude:o.longitude,latitude:o.latitude},id:o.id,title:this.props.title,ref:function(n){t.markerRef=n},onPress:function(n){t.props.isUser||t.props.onPress(o)},image:this.getImage(o)}):p.default.createElement(h.View,null)}},{key:"error",value:function(t){console.log("on error render image"),console.log(t)}},{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(t,n,o){this.props.isUser&&this.markerRef&&this.props.isNeedFocus&&this.markerRef._component.showCallout()}},{key:"getImage",value:function(t){var n=this.props,o=n.isUser,l=n.network;return o?v:l&&t.network===l.name?k:y}},{key:"getIcon",value:function(t){var n=this.props.isSelected;return n?p.default.createElement(h.Animated.View,{style:{width:32,height:32,justifyContent:'center',alignItems:'center',borderRadius:16,backgroundColor:n?"#81D4FAA0":"transparent",transform:[{scaleX:this.animatedValue.interpolate({inputRange:[0,1],outputRange:[1,32]})},{scaleY:this.animatedValue.interpolate({inputRange:[0,1],outputRange:[1,32]})}]}},p.default.createElement(h.Image,{style:{alignSelf:'center'},source:this.getImage(t)})):p.default.createElement(h.Image,{style:{alignSelf:'center'},source:this.getImage(t)})}},{key:"startLoopSelectedAnimation",value:function(){this.state.animation.setValue(0),h.Animated.loop(h.Animated.timing(this.state.subanimation,{toValue:1,duration:1e3,easing:h.Easing.linear(),useNativeDriver:!0}),{iteration:-1}).start()}}]),n})(p.PureComponent),R=(h.StyleSheet.create({container:{flex:1,width:52,height:52},ring:{}}),w);e.default=R},1154,[4,1,8,9,10,12,13,15,950,68,18,1155,1156,1157]); __d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/datas/img/png",width:24,height:24,scales:[1],hash:"d06bce4cbcb1e05fdef054d57b75acb3",name:"user_place",type:"png"})},1155,[175]); @@ -1475,109 +1475,198 @@ __d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=Object.getOwnPropertyDe __d(function(g,r,i,a,m,e,d){'use strict';var t=Array.prototype,n={};Object.defineProperty(n,"function"==typeof Symbol?Symbol.iterator:"@@iterator",{value:function(){return this}}),['toString','toLocaleString','concat','join','slice','lastIndexOf','every','some','forEach','find','findIndex','map','filter','reduce','reduceRight'].forEach(function(n){var o=t[n];o&&(e[n]={value:o,configurable:!0,writable:!0})}),['entries','keys','values'].forEach(function(t){e[t]={value:function(){var o=this.snapshot(),u=0;return Object.create(n,{next:{value:function(){if(!o||u>=o.length)return o=null,{done:!0,value:void 0};var n;switch(t){case'entries':n=[u,o[u]];break;case'keys':n=u;break;default:n=o[u]}return u++,{done:!1,value:n}}}})},configurable:!0,writable:!0}}),e["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=e.values},1469,[]); __d(function(e,s,n,i,t,r,a){t.exports={name:"realm",description:"Realm is a mobile database: an alternative to SQLite and key-value stores",version:"3.6.5",license:"See the actual license in the file LICENSE",homepage:"https://realm.io",keywords:["database","db","react","react-native","persistence","localstorage","sqlite","asyncstorage","rocksdb","leveldb","realm"],author:{name:"Realm",email:"help@realm.io",url:"https://realm.io"},repository:{type:"git",url:"https://github.com/realm/realm-js.git"},bugs:{url:"https://github.com/realm/realm-js/issues"},typings:"./lib/index.d.ts",main:"lib/index.js",files:["android","lib","react-native","scripts","src","vendor","binding.gyp","realm.gypi","target_defaults.gypi","dependencies.list","react-native.config.js","RealmJS.podspec"],scripts:{"get-version":"node -p process.env.npm_package_version","set-version":"scripts/set-version.sh",lint:"eslint",test:"scripts/test.sh",package:"npm ci --build-from-source=realm && node-pre-gyp package",install:"node-pre-gyp install --fallback-to-build",rebuild:"npm run isWin -s && SET REALMJS_USE_DEBUG_CORE=1 & npm run rebuild-changes || REALMJS_USE_DEBUG_CORE=1 && npm run rebuild-changes",build:"npm run isWin -s && SET REALMJS_USE_DEBUG_CORE=1 & npm run build-changes || REALMJS_USE_DEBUG_CORE=1 && npm run build-changes","build-changes":"node-pre-gyp build --debug","rebuild-changes":"node-pre-gyp rebuild --debug && cd tests && npm install",prepublish:"echo prepublishing && node scripts/prepublish.js",eslint:"npm install && npm run lint .","license-check":"npm install && license-checker --exclude \"MIT,ISC,BSD,Apache-2.0,BSD-2-Clause,BSD-3-Clause,WTFPL,Unlicense,(MIT AND CC-BY-3.0)\" | node scripts/handle-license-check.js","jsdoc:clean":"rimraf ./docs/output",jsdoc:"npm install && npm run jsdoc:clean && jsdoc -u docs/tutorials -p package.json -c docs/conf.json","start-ros":"./scripts/download-object-server.sh && node ./scripts/test-ros-server.js","prenode-tests":"npm install --build-from-source=realm && cd tests && npm install","node-tests":"cd tests && npm run test && cd ..","test-runner:ava":"cd tests/test-runners/ava && npm install --build-from-source=realm && npm test","test-runner:mocha":"cd tests/test-runners/mocha && npm install --build-from-source=realm && npm test","test-runner:jest":"cd tests/test-runners/jest && npm install --build-from-source=realm && npm test","test-runners":"npm run test-runner:ava && npm run test-runner:mocha && npm run test-runner:jest",isWin:"node -p \"if (process.platform == 'win32') { process.exit(0); } else { process.exit(-1); }\"","prealias:win:apply":"git config alias.apply-win-symlink-aliases \"!f() { $(scripts/git-win-symlink-aliases); }; f\"","alias:win:apply":"git apply-win-symlink-aliases","postalias:win:apply":"git config --unset alias.apply-win-symlink-aliases","alias:win:revert":"git config alias.rm-symlink \"\" && git config alias.rm-symlinks \"\" && git config alias.checkout-symlinks \"\"","win-fix-symlinks":"npm run isWin -s && npm run alias:win:apply && git checkout-symlinks && git rm-symlinks || echo . ","win-revert-symlinks":"npm run isWin -s && npm run alias:win:apply && git checkout-symlinks && npm run alias:win:revert || echo .","prereact-tests-android":"npm run isWin -s && npm run win-fix-symlinks || echo . ","react-tests-android":"node scripts/react-tests-android.js || npm run postreact-tests-android","postreact-tests-android":"npm run win-revert-symlinks","check-environment":"node scripts/check-environment.js"},dependencies:{"command-line-args":"^4.0.6",decompress:"^4.2.0",deepmerge:"2.1.0","deprecated-react-native-listview":"0.0.6","fs-extra":"^4.0.3","https-proxy-agent":"^2.2.4",ini:"^1.3.5",nan:"^2.12.1","node-fetch":"^1.7.3","node-machine-id":"^1.1.10","node-pre-gyp":"^0.13.0",progress:"^2.0.3","prop-types":"^15.6.2",request:"^2.88.0","stream-counter":"^1.0.0","sync-request":"^3.0.1","url-parse":"^1.4.4"},devDependencies:{"@types/node":"^4.9.1","babel-eslint":"^8.2.6",eslint:"^5.12.1","eslint-plugin-flowtype":"^3.4.2","eslint-plugin-jasmine":"^2.10.1","eslint-plugin-react":"^7.12.4","eslint-plugin-react-native":"^3.6.0","eslint-visitor-keys":"^1.0.0",jasmine:"^3.4.0","jasmine-console-reporter":"^3.1.0","jasmine-xml-reporter":"^1.2.1",jsdoc:"^3.6.3","license-checker":"^8.0.3",mockery:"^2.0.0","node-gyp":"^5.0.3",rimraf:"^2.6.3",semver:"^5.6.0",shelljs:"^0.7.7",shx:"^0.2.2"},engines:{node:">=8"},binary:{module_name:"realm",module_path:"./compiled/{node_abi}_{platform}_{arch}/",host:"https://static.realm.io",remote_path:"./node-pre-gyp/{version}/"}}},1470,[]); __d(function(g,r,i,a,m,e,d){var t,n;t="undefined"!=typeof self?self:this,n=function(){return(function(t){var n={};function o(u){if(n[u])return n[u].exports;var c=n[u]={i:u,l:!1,exports:{}};return t[u].call(c.exports,c,c.exports,o),c.l=!0,c.exports}return o.m=t,o.c=n,o.d=function(t,n,u){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:u})},o.r=function(t){"undefined"!=typeof Symbol&&("function"==typeof Symbol?Symbol.toStringTag:"@@toStringTag")&&Object.defineProperty(t,"function"==typeof Symbol?Symbol.toStringTag:"@@toStringTag",{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,n){if(1&n&&(t=o(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var u=Object.create(null);if(o.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var c in t)o.d(u,c,function(n){return t[n]}.bind(null,c));return u},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="",o(o.s=0)})([function(t,n,o){"use strict";o.r(n);var u=/^([0-9]{1,3})\xb0\s*([0-9]{1,3}(?:\.(?:[0-9]{1,}))?)['\u2032]\s*(([0-9]{1,3}(\.([0-9]{1,}))?)["\u2033]\s*)?([NEOSW]?)$/,c=["lng","lon","longitude",0],f=["lat","latitude",1],s=["alt","altitude","elevation","elev",2],l={m:1,km:.001,cm:100,mm:1e3,mi:.0006213711922373339,sm:.0005398938352762313,ft:3.2808398950131235,in:39.37007874015748,yd:1.0936132983377078},h={m2:1,km2:1e-6,ha:1e-4,a:.01,ft2:10.763911,yd2:1.19599,in2:1550.0031};h.sqm=h.m2,h.sqkm=h.km2,h.sqft=h.ft2,h.sqyd=h.yd2,h.sqin=h.in2;var p=function(t,n){return n.reduce(function(n,o){if(null==t)throw new Error("'".concat(t,"' is no valid coordinate."));return Object.prototype.hasOwnProperty.call(t,o)&&void 0!==o&&void 0===n?(n=o,o):n},void 0)},v=function(t){var n=t.toString().trim();return!isNaN(parseFloat(n))&&parseFloat(n)===Number(n)},y=function(t){return u.test(t.toString().trim())},b=function(t){var n=new RegExp(u).exec(t);if(null==n)throw new Error("Given value is not in sexagesimal format");var o=Number(n[2])/60||0,c=Number(n[4])/3600||0,f=parseFloat(n[1])+o+c;return["S","W"].includes(n[7])?-f:f};function M(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 S(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{longitude:c,latitude:f,altitude:s},o=p(t,n.longitude),u=p(t,n.latitude),l=p(t,n.altitude);return S({latitude:u,longitude:o},l?{altitude:l}:{})},N=function t(n){return v(n)?!(parseFloat(n)>90||n<-90):!!y(n)&&t(b(n))},j=function t(n){return v(n)?!(parseFloat(n)>180||n<-180):!!y(n)&&t(b(n))},w=function(t){var n=P(t),o=n.latitude,u=n.longitude;if(Array.isArray(t)&&t.length>=2)return j(t[0])&&N(t[1]);if(void 0===o||void 0===u)return!1;var c=t[u],f=t[o];return void 0!==f&&void 0!==c&&!1!==N(f)&&!1!==j(c)};function E(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,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}var L=function t(n){if(v(n))return Number(n);if(y(n))return b(n);if(w(n)){var o=P(n);return Array.isArray(n)?n.map(function(n,o){return[0,1].includes(o)?t(n):n}):(function(t){for(var n=1;n3&&void 0!==arguments[3]?arguments[3]:6371e3,c=W(t),f=D(t),s=n/u,l=I(o),h=I(c),p=I(f),v=Math.asin(Math.sin(h)*Math.cos(s)+Math.cos(h)*Math.sin(s)*Math.cos(l)),y=p+Math.atan2(Math.sin(l)*Math.sin(s)*Math.cos(h),Math.cos(s)-Math.sin(h)*Math.sin(v)),b=A(y);return(b<-180||b>180)&&(y=(y+3*Math.PI)%(2*Math.PI)-Math.PI,b=A(y)),{latitude:A(v),longitude:b}},k=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"m",o=h[n];if(o)return t*o;throw new Error("Invalid unit used for area conversion.")},C=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"m",o=l[n];if(o)return t*o;throw new Error("Invalid unit used for distance conversion.")},_=function(t){switch(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"kmh"){case"kmh":return 3600*t*l.km;case"mph":return 3600*t*l.mi;default:return t}};function q(t,n){return(function(t){if(Array.isArray(t))return t})(t)||(function(t,n){if(("function"==typeof Symbol?Symbol.iterator:"@@iterator")in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var o=[],u=!0,c=!1,f=void 0;try{for(var s,l=t["function"==typeof Symbol?Symbol.iterator:"@@iterator"]();!(u=(s=l.next()).done)&&(o.push(s.value),!n||o.length!==n);u=!0);}catch(t){c=!0,f=t}finally{try{u||null==l.return||l.return()}finally{if(c)throw f}}return o}})(t,n)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")})()}var T=function(t){var n=Math.pow(10,12);return Math.round(t*n)/n},B=function(t){var n=q(t.toString().split("."),2),o=n[0],u=n[1],c=Math.abs(Number(o)),f=T(60*Number("0."+(u||0))),s=Math.floor(f),l=T(60*(f%s||0));return c+"\xb0 "+Number(s.toFixed(6)).toString().split(".").map(function(t,n){return 0===n?t.padStart(2,"0"):t}).join(".")+"' "+Number(l.toFixed(4)).toString().split(".").map(function(t,n){return 0===n?t.padStart(2,"0"):t}).join(".")+'"'},R=function(t){return t>1?1:t<-1?-1:t},$=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;o=void 0===o||isNaN(o)?1:o;var u=W(t),c=D(t),f=W(n),s=D(n),l=6378137*Math.acos(R(Math.sin(I(f))*Math.sin(I(u))+Math.cos(I(f))*Math.cos(I(u))*Math.cos(I(c)-I(s))));return Math.round(l/o)*o},X=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$;return o="function"==typeof o?o:$,n.slice().sort(function(n,u){return o(t,n)-o(t,u)})},Y=function(t,n){return X(t,n)[0]},Z=function(t){var n=0;if(t.length>2){for(var o,u,c,f=0;fb&&vM&&(u-=2*Math.PI)}else p=Math.max(p,b),v=Math.min(v,y),o=S,u=M;return[{latitude:A(p),longitude:A(o)},{latitude:A(v),longitude:A(u)}]},K=function(t){if(!1===Array.isArray(t)||0===t.length)return!1;var n=t.length,o=t.reduce(function(t,n){var o=I(W(n)),u=I(D(n));return{X:t.X+Math.cos(o)*Math.cos(u),Y:t.Y+Math.cos(o)*Math.sin(u),Z:t.Z+Math.sin(o)}},{X:0,Y:0,Z:0}),u=o.X/n,c=o.Y/n,f=o.Z/n;return{longitude:A(Math.atan2(c,u)),latitude:A(Math.atan2(f,Math.sqrt(u*u+c*c)))}},z=function(t){var n=V(t),o=n.minLat+(n.maxLat-n.minLat)/2,u=n.minLng+(n.maxLng-n.minLng)/2;return{latitude:parseFloat(o.toFixed(6)),longitude:parseFloat(u.toFixed(6))}},H=function(t,n){var o=I(D(n))-I(D(t)),u=Math.log(Math.tan(I(W(n))/2+Math.PI/4)/Math.tan(I(W(t))/2+Math.PI/4));return Math.abs(o)>Math.PI&&(o=o>0?-1*(2*Math.PI-o):2*Math.PI+o),(A(Math.atan2(o,u))+360)%360},J=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:H,u="function"==typeof o?o(t,n):H(t,n);if(isNaN(u))throw new Error("Could not calculate bearing for given points. Check your bearing function");switch(Math.round(u/22.5)){case 1:return"NNE";case 2:return"NE";case 3:return"ENE";case 4:return"E";case 5:return"ESE";case 6:return"SE";case 7:return"SSE";case 8:return"S";case 9:return"SSW";case 10:return"SW";case 11:return"WSW";case 12:return"W";case 13:return"WNW";case 14:return"NW";case 15:return"NNW";default:return"N"}},Q=function(t,n,o){var u=$(n,t),c=$(t,o),f=$(n,o),s=Math.acos((u*u+f*f-c*c)/(2*u*f)),l=Math.acos((c*c+f*f-u*u)/(2*c*f));return s>Math.PI/2?u:l>Math.PI/2?c:Math.sin(s)*u},U=function(t,n){var o=W(n),u=D(n),c=W(t),f=D(t);return(A(Math.atan2(Math.sin(I(u)-I(f))*Math.cos(I(o)),Math.cos(I(c))*Math.sin(I(o))-Math.sin(I(c))*Math.cos(I(o))*Math.cos(I(u)-I(f))))+360)%360};function tt(t){return(tt="function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.iterator:"@@iterator")?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==("function"==typeof Symbol?Symbol.prototype:"@@prototype")?"symbol":typeof t})(t)}var nt=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$;return t.reduce(function(t,o){return"object"===tt(t)&&null!==t.last&&(t.distance+=n(o,t.last)),t.last=o,t},{last:null,distance:0}).distance},rt=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;o=void 0===o||isNaN(o)?1:o;var u,c,f,s,l,h,p,v=W(t),y=D(t),b=W(n),M=D(n),S=.0033528106647474805,O=I(M-y),P=Math.atan(.9966471893352525*Math.tan(I(parseFloat(v)))),N=Math.atan(.9966471893352525*Math.tan(I(parseFloat(b)))),j=Math.sin(P),w=Math.cos(P),E=Math.sin(N),x=Math.cos(N),L=O,A=100;do{var F=Math.sin(L),k=Math.cos(L);if(0===(h=Math.sqrt(x*F*(x*F)+(w*E-j*x*k)*(w*E-j*x*k))))return 0;u=j*E+w*x*k,c=Math.atan2(h,u),l=u-2*j*E/(s=1-(f=w*x*F/h)*f),isNaN(l)&&(l=0);var C=.00020955066654671753*s*(4+S*(4-3*s));p=L,L=O+(1-C)*S*f*(c+C*h*(l+C*u*(2*l*l-1)))}while(Math.abs(L-p)>1e-12&&--A>0);if(0===A)return NaN;var _=272331606109.84375*s/40408299984659.16,q=_/1024*(256+_*(_*(74-47*_)-128)),T=6356752.314245*(1+_/16384*(4096+_*(_*(320-175*_)-768)))*(c-q*h*(l+q/4*(u*(2*l*l-1)-q/6*l*(4*h*h-3)*(4*l*l-3))));return Math.round(T/o)*o},et=function(t){return/^NNE|NE|NNW|N$/.test(t)?"N":/^ENE|E|ESE|SE$/.test(t)?"E":/^SSE|S|SSW|SW$/.test(t)?"S":/^WSW|W|WNW|NW$/.test(t)?"W":void 0},ot=function(t,n){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:$)(t,n)/(Number(n.time)-Number(t.time))*1e3},it=function(t,n,o){return $(n,t)+$(t,o)===$(n,o)},at=function(t,n){for(var o=!1,u=n.length,c=-1,f=u-1;++c0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.demands,renderItem:function(n){var l=n.item;return t._renderAddhesionItem(l)},refreshControl:h.default.createElement(E.RefreshControl,{refreshing:this.state.isRefreshing,colors:[x.theme.primary,x.theme.purpleLight,x.theme.reddeconnect,x.theme.accentLight],onRefresh:function(){t.setState({isRefreshing:!0}),(0,b.listAllMembers)().then(function(n){console.log("from refresh",n),null!==n&&n.datas&&t.setState({listmembers:n,isLoading:!1,isRefreshing:!1})})}}),ListEmptyComponent:function(){return h.default.createElement(E.View,{style:{flex:1}},h.default.createElement(E.View,{style:{justifyContent:"center",alignItems:'center',marginTop:100}},h.default.createElement(I.default,{style:R.lottie,source:r(d[34]),autoPlay:!0,loop:!0}),h.default.createElement(E.Text,{style:R.text},v.default.t('NO_MEMBERS'))))}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,v.default.t('NO_DEMAND_ADHESION')))}},{key:"_renderLoadingDemandItems",value:function(){var t=this;return this.state.freeCodes.length>0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.freeCodes,renderItem:function(n){var l=n.item;return t._renderAddhesionItem(l)}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,v.default.t('NO_GEO_POINT_CODE')))}},{key:"_renderAddhesionItem",value:function(t){var n=this;return h.default.createElement(S.Card,{style:{flex:1,height:(0,C.responsiveHeight)(30),backgroundColor:"white",marginBottom:10}},h.default.createElement(S.CardContent,{style:{height:(0,C.responsiveHeight)(20),flex:1,justifyContent:'space-evenly'}},h.default.createElement(E.View,null,h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},v.default.t('NAME')," :")," ",t.lastname),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},v.default.t('PHONE_NUMBER')," :")," ",t.phone),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},v.default.t('EMAIL')," :")," ",t.email),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},v.default.t('NETWORK')," :")," ",t.network))),h.default.createElement(S.CardAction,{separator:!0,inColumn:!1},h.default.createElement(S.CardButton,{title:v.default.t('ACTIVE_USER'),onPress:function(){(0,p.acceptDemandAdhesion)(t).then(function(l){E.Alert.alert(v.default.t('ACTIVATE_ACCOUNT'),v.default.t('THE_ACCOUNT')+' '+t.lastname+" "+v.default.t('ACTIVATED'),[{text:"Ok"}]);var o=n.state.demands;o.splice(o.indexOf(t),1),n.setState({demands:o})})},color:"green"}),h.default.createElement(S.CardButton,{title:v.default.t('DELETE_GEOLOCATED_USER'),color:"red",onPress:function(){}})))}},{key:"_renderListCodeUnused",value:function(){var t=this;return this.state.freeCodes.length>0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.freeCodes,renderItem:function(n){var l=n.item;return t._renderFreeCodeItem(l)}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,v.default.t('NO_GEO_POINT_CODE')))}},{key:"_renderFreeCodeItem",value:function(t){return console.log(t),h.default.createElement(E.View,{style:{flex:1,height:(0,C.responsiveHeight)(30),backgroundColor:"white",marginBottom:10}},h.default.createElement(E.View,{style:{height:(0,C.responsiveHeight)(20),flex:1,justifyContent:'space-evenly'}},h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"Contact :")," ",t.phone),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"code Membre :")," ",t.code_membre),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"code Validation :")," ",t.validation_code)))}}],[{key:"initState",value:function(){return{enabledListMembers:!0,listmembers:[],usersicon:null,isLoadingDemand:!0,charticon:null,isRefreshing:!1,user:{},freeCodes:[],isLoading:!0}}}]),n})(y.default);e.default=A,A.navigatorStyle={tabBarHidden:!1,topTabTextColor:'#ffffff',topTabsHeight:70,topTabTextFontFamily:'BioRhyme-Bold',selectedTopTabTextColor:'#ff505c',statusBarColor:x.theme.primaryDark,navBarBackgroundColor:x.theme.primary,navBarTextColor:'white',navBarButtonColor:'white',topTabIconColor:'#ffffff',selectedTopTabIconColor:'#ff505c',selectedTopTabIndicatorHeight:2*E.PixelRatio.get(),selectedTopTabIndicatorColor:'#ff505c'},A.navigationOptions=function(t){var n=t.navigation;return{title:v.default.t("GROUP_MANAGE"),drawerLabel:n.getParam("name",v.default.t('GROUP_MANAGE')),drawerIcon:function(t){t.tintColor;return h.default.createElement(_.default,{name:'people',size:24})}}};var R=E.StyleSheet.create({container:{flex:1,backgroundColor:'white'},fromNow:{color:x.theme.accentLight},callIcon:{marginRight:5},phone:{textAlign:'center',color:"white"},balanceMember:{marginLeft:7,fontSize:18,fontWeight:"bold",color:x.theme.primary},balanceIcon:{},name:{color:'black',fontSize:20,margin:20,fontWeight:'bold'},surname:{fontSize:17,marginLeft:20},text:{fontSize:17,fontWeight:'bold'},lottie:{width:248,height:248}})},1473,[4,1,8,10,12,11,9,13,15,18,815,527,1474,1001,711,827,1475,815,712,832,937,1008,1142,1143,1144,1145,1146,1147,1148,840,766,808,807,1134,1479]); -__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.listAllMembers=void 0;var l=n(r(d[2])),o=(t(r(d[3])),r(d[4])),s=n(r(d[5])),c=r(d[6]);r(d[7]).DBEvents,r(d[8]);e.listAllMembers=function(){var t,n,u,p,b,f;return l.default.async(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,l.default.awrap((0,o.readUser)());case 2:if(null===(t=v.sent)){v.next=23;break}return n=s.default.currentLocale(),u={tag:"member",id:t.member_code,la:n,test:c.isDebugMode,codeparrain:t.code_membre,type:'all_geolocated'},v.next=8,l.default.awrap(fetch(c.memberActionUrl,{method:'POST',headers:{Accept:'application/json','Content-Type':'application/json'},body:JSON.stringify(u)}));case 8:return p=v.sent,b="",v.prev=10,v.next=13,l.default.awrap(p.text());case 13:return b=v.sent,v.abrupt("return",JSON.parse(b));case 17:return v.prev=17,v.t0=v.catch(10),console.log(v.t0),console.log("error when liste member",b),f={error:-3,content:v.t0,text:b},v.abrupt("return",f);case 23:return v.abrupt("return",null);case 24:case"end":return v.stop()}},null,null,[[10,17]],Promise)}},1474,[4,1,273,15,711,712,736,738,714]); -__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(t){for(var n=1;nt.props.sensitivity&&Math.abs(o.dy)<=t.props.sensitivity},onPanResponderGrant:this._handlePanResponderGrant,onPanResponderMove:this._handlePanResponderMove,onPanResponderRelease:this._handlePanResponderEnd,onPanResponderTerminate:this._handlePanResponderEnd,onShouldBlockNativeResponder:function(t,n){return!1},onPanResponderTerminationRequest:function(){return!1}})},componentWillReceiveProps:function(t){t.close&&this._close(),t.openRight&&this._openRight(),t.openLeft&&this._openLeft()},_handlePanResponderGrant:function(t,n){var o=this;this.props.disabled||(this.state.openedLeft||this.state.openedRight?this._callOnClose():this._callOnOpen(),this.refs.swipeoutContent.measure(function(t,n,s,h){var p=o.props.buttonWidth||s/5;o.setState({btnWidth:p,btnsLeftWidth:o.props.left?p*o.props.left.length:0,btnsRightWidth:o.props.right?p*o.props.right.length:0,swiping:!0,timeStart:(new Date).getTime()})}))},_handlePanResponderMove:function(t,n){if(!this.props.disabled){var o=n.dx,s=n.dy,h=this.state.btnsLeftWidth,p=this.state.btnsRightWidth;if(this.state.openedRight)o=n.dx-p;else if(this.state.openedLeft)o=n.dx+h;var l=Math.abs(o)>Math.abs(s);this.props.scroll&&(l?this.props.scroll(!1):this.props.scroll(!0)),this.state.swiping&&(o<0&&this.props.right?this.setState({contentPos:Math.min(o,0)}):o>0&&this.props.left&&this.setState({contentPos:Math.max(o,0)}))}},_handlePanResponderEnd:function(t,n){if(!this.props.disabled){var o=n.dx,s=this.state.contentPos,h=this.state.contentWidth,p=this.state.btnsLeftWidth,l=this.state.btnsRightWidth,u=.33*h,f=o>u||o>p/2,c=o<-u||o<-l/2;if(this.state.openedRight)c=o-u<-u;if(this.state.openedLeft)f=o+u>u;if((new Date).getTime()-this.state.timeStart<200)c=o<-u/10&&!this.state.openedLeft,f=o>u/10&&!this.state.openedRight;this.state.swiping&&(c&&s<0&&o<0?this._open(-l,'right'):f&&s>0&&o>0?this._open(p,'left'):this._close()),this.props.scroll&&this.props.scroll(!0)}},_tweenContent:function(t,o){this.tweenState(t,{easing:n.default.easingTypes.easeInOutQuad,duration:0===o?1.5*this.state.tweenDuration:this.state.tweenDuration,endValue:o})},_rubberBandEasing:function(t,n){return t<0&&t0&&t>n?n+Math.pow(t-n,.85):t},_autoClose:function(t){this.state.autoClose&&this._close();var n=t.onPress;n&&n()},_open:function(t,n){var o='left'===n,s=this.props,h=s.sectionID,p=s.rowID,l=s.onOpen;l&&l(h,p,n),this._tweenContent('contentPos',t),this.setState({contentPos:t,openedLeft:o,openedRight:!o,swiping:!1})},_close:function(){var t=this.props,n=t.sectionID,o=t.rowID,s=t.onClose;s&&(this.state.openedLeft||this.state.openedRight)&&s(n,o,this.state.openedRight?'right':'left');this._tweenContent('contentPos',0),this._callOnClose(),this.setState({openedRight:!1,openedLeft:!1,swiping:!1})},_callOnClose:function(){this.props.onClose&&this.props.onClose(this.props.sectionID,this.props.rowID)},_callOnOpen:function(){this.props.onOpen&&this.props.onOpen(this.props.sectionID,this.props.rowID)},_openRight:function(){var t=this;this.refs.swipeoutContent.measure(function(n,o,s,h){var p=t.props.buttonWidth||s/5;t.setState({btnWidth:p,btnsRightWidth:t.props.right?p*t.props.right.length:0},function(){t._tweenContent('contentPos',-t.state.btnsRightWidth),t._callOnOpen(),t.setState({contentPos:-t.state.btnsRightWidth,openedLeft:!1,openedRight:!0,swiping:!1})})})},_openLeft:function(){var t=this;this.refs.swipeoutContent.measure(function(n,o,s,h){var p=t.props.buttonWidth||s/5;t.setState({btnWidth:p,btnsLeftWidth:t.props.left?p*t.props.left.length:0},function(){t._tweenContent('contentPos',t.state.btnsLeftWidth),t._callOnOpen(),t.setState({contentPos:t.state.btnsLeftWidth,openedLeft:!0,openedRight:!1,swiping:!1})})})},render:function(){var n=this.state.contentWidth,o=this.getTweeningValue('contentPos'),p=[s.default.swipeout,this.props.style];this.props.backgroundColor&&p.push([{backgroundColor:this.props.backgroundColor}]);var l=-this.state.btnsRightWidth;if(o>0)l=this.state.btnsLeftWidth;var f={left:{left:0,overflow:'hidden',width:Math.min(l*(o/l),l)}},c={right:{left:Math.abs(n+Math.max(l,o)),right:0}},b={content:{transform:[{translateX:this._rubberBandEasing(o,l)}]}},w=[s.default.swipeoutContent];w.push(b.content);var y=[s.default.swipeoutBtns];y.push(c.right);var _=[s.default.swipeoutBtns];_.push(f.left);var R=o<0,v=o>0;return h.default.createElement(u.View,{style:p},h.default.createElement(u.View,t({ref:'swipeoutContent',style:w,onLayout:this._onLayout},this._panResponder.panHandlers),this.props.children),this._renderButtons(this.props.right,R,y),this._renderButtons(this.props.left,v,_))},_onLayout:function(t){var n=t.nativeEvent.layout,o=n.width,s=n.height;this.setState({contentWidth:o,contentHeight:s})},_renderButtons:function(t,n,o){return t&&n?h.default.createElement(u.View,{style:o},t.map(this._renderButton)):h.default.createElement(u.View,null)},_renderButton:function(t,n){var o=this;return h.default.createElement(c,{backgroundColor:t.backgroundColor,color:t.color,component:t.component,disabled:t.disabled,height:this.state.contentHeight,key:n,onPress:function(){return o._autoClose(t)},text:t.text,type:t.type,underlayColor:t.underlayColor,width:this.state.btnWidth})}});b.NativeButton=o.default,b.SwipeoutButton=c,e.default=b},1475,[1476,1477,1478,15,68,212,18]); -__d(function(g,r,i,a,m,e,d){var n,t;n=this,t=function(){return(function(n){function t(o){if(u[o])return u[o].exports;var c=u[o]={exports:{},id:o,loaded:!1};return n[o].call(c.exports,c,c.exports,t),c.loaded=!0,c.exports}var u={};return t.m=n,t.c=u,t.p="",t(0)})({0:function(n,t,u){n.exports=u(90)},1:function(n,t){function u(){v=!1,f.length?h=f.concat(h):p=-1,h.length&&o()}function o(){if(!v){var n=setTimeout(u);v=!0;for(var t=h.length;t;){for(f=h,h=[];++p1)for(var u=1;uv.duration?v.duration:Math.max(0,s-h);u+=(0===v.duration?v.endValue:v.easing(p,v.beginValue,v.endValue,v.duration))-v.endValue}}return u},_rafCb:function(){var n=this.state;if(0!==n.tweenQueue.length){for(var t=Date.now(),u=[],o=0;on?c*Math.pow(2,10*(n-=1))*Math.sin((n*o-f)*(2*Math.PI)/s)*-.5+t:c*Math.pow(2,-10*(n-=1))*Math.sin((n*o-f)*(2*Math.PI)/s)*.5+l+t)},easeInBack:function(n,t,u,o,c){return void 0===c&&(c=1.70158),(u-t)*(n/=o)*n*((c+1)*n-c)+t},easeOutBack:function(n,t,u,o,c){return void 0===c&&(c=1.70158),(u-t)*((n=n/o-1)*n*((c+1)*n+c)+1)+t},easeInOutBack:function(n,t,u,o,c){var s=u-t;return void 0===c&&(c=1.70158),(n/=o/2)<1?s/2*(n*n*((1+(c*=1.525))*n-c))+t:s/2*((n-=2)*n*((1+(c*=1.525))*n+c)+2)+t},easeInBounce:function(n,t,o,c){var s=o-t;return s-u.easeOutBounce(c-n,0,s,c)+t},easeOutBounce:function(n,t,u,o){var c=u-t;return(n/=o)<.36363636363636365?c*(7.5625*n*n)+t:.7272727272727273>n?c*(7.5625*(n-=.5454545454545454)*n+.75)+t:.9090909090909091>n?c*(7.5625*(n-=.8181818181818182)*n+.9375)+t:c*(7.5625*(n-=.9545454545454546)*n+.984375)+t},easeInOutBounce:function(n,t,o,c){var s=o-t;return c/2>n?.5*u.easeInBounce(2*n,0,s,c)+t:.5*u.easeOutBounce(2*n-c,0,s,c)+.5*s+t}};n.exports=u}})},"object"==typeof e&&"object"==typeof m?m.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof e?e.tweenState=t():n.tweenState=t()},1476,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var s=Object.assign||function(t){for(var s=1;s1e6)&&(n=!1),this.setState({visibleError:!n}),n){this.setState({isSending:!0});var l="",o="";(0,T.sendDemandeSpecificque)(this.state.montant,this.state.user.phoneTransaction,this.state.user.code_membre).then(function(n){void 0!==n.success&&1===n.success?(l=D.default.t('DEMAND_SEND'),o=D.default.t('DEMAND_SEND_SUCCESFUL')):(l="Erreur survenu lors de l'envoie ",o="Une erreur est survenu lors de l'envoie de la demande"),p.Alert.alert(l,o,[{text:'Ok',onPress:function(){t.setState({montant:""})}}]),setTimeout(function(){t.setState({isSending:!1})},800)}).catch(function(t){l="Erreur survenu lors de l'envoie ",o="Une erreur est survenu lors de l'envoie de la demande",p.Alert.alert(l,o,[{text:'Ok'}])})}else this.montantView.shake(800),setTimeout(function(){t.setState({visibleError:!1})},3e3)}},{key:"render",value:function(){var t=this.state.user;return h.default.createElement(p.View,{style:{flex:1,alignItems:'center',backgroundColor:"lightgrey",paddingTop:(0,v.responsiveHeight)(10)}},h.default.createElement(p.StatusBar,{translucent:!1}),t?"geolocated"===t.category?this.multiNetwork():this.simpleAgent():h.default.createElement(p.ProgressBarAndroid,null))}},{key:"simpleAgent",value:function(){var t=this;return h.default.createElement(p.View,{style:{height:200}},h.default.createElement(A.Card,{style:{width:(0,v.responsiveWidth)(96),paddingTop:20}},h.default.createElement(A.CardContent,null,h.default.createElement(p.View,null,h.default.createElement(w.View,{ref:this.handleMontantRef},h.default.createElement(x.TextInput,{label:D.default.t('AMOUNT'),keyboardType:"numeric",style:I.selfitem,ref:function(n){t.refInp=n},mode:"outlined",inputStyle:I.style,onChangeText:function(n){try{var l=parseInt(n);t.setState({montant:l,isDisabled:isNaN(l)})}catch(t){}},value:this.state.montant}),h.default.createElement(x.HelperText,{type:"error",visible:this.state.visibleError},D.default.t('INVALID_MONTANT'))))),h.default.createElement(A.CardAction,{separator:!0,inColumn:!1},h.default.createElement(A.CardButton,{onPress:function(){t.onUserCancel()},title:D.default.t('CANCEL'),color:"crimson"}),h.default.createElement(A.CardButton,{onPress:function(){t.onUserSend()},title:D.default.t('SEND'),color:"steelblue"}))))}},{key:"multiNetwork",value:function(){var t=this;return h.default.createElement(p.View,{style:{height:250,justifyContent:'center'}},h.default.createElement(A.Card,{style:{width:(0,v.responsiveWidth)(96),justifyContent:'center'}},h.default.createElement(A.CardContent,null,h.default.createElement(p.View,{style:{flex:1}},h.default.createElement(p.View,{style:{flexDirection:'row'}},h.default.createElement(p.Picker,{selectedValue:this.state.currentNetwork,prompt:D.default.t("SELECT_NETWORK"),style:{height:50,flex:1,marginLeft:20},itemStyle:U.subtitle,onValueChange:function(n,l){return t.setState({currentNetwork:n})}},this.state.networks.map(function(t,n){return h.default.createElement(p.Picker.Item,{label:t.nt?D.default.t("SELECT_NETWORK"):D.default.t("FOR_NUMB")+t.phone+" ("+t.name+")",value:t})}))),h.default.createElement(w.View,{ref:this.handleMontantRef},h.default.createElement(x.TextInput,{label:D.default.t('AMOUNT'),keyboardType:"numeric",style:I.selfitem,ref:function(n){t.refInp=n},mode:"outlined",inputStyle:I.style,onChangeText:function(n){try{var l=parseInt(n);t.setState({montant:l,isDisabled:isNaN(l)})}catch(t){}},value:this.state.montant}),h.default.createElement(x.HelperText,{type:"error",visible:this.state.visibleError},D.default.t('INVALID_MONTANT'))))),h.default.createElement(A.CardAction,{separator:!0,inColumn:!1},h.default.createElement(A.CardButton,{onPress:function(){t.onUserCancel()},title:D.default.t('CANCEL'),color:"crimson"}),h.default.createElement(A.CardButton,{onPress:function(){var n=t.state,l=n.currentNetwork,o=n.montant;void 0!==l&&void 0===l.nt&&t.onNetworkSend(l.phone,l.code_membre,o)},title:D.default.t('SEND'),color:"steelblue"}))))}},{key:"renderSingleNetwork",value:function(t){var n=this,l=t.item;console.log(t);var o=null,s=null,u=0;return h.default.createElement(p.View,{style:U.container2},h.default.createElement(E.default,{style:U.cardInput2},h.default.createElement(p.View,null,h.default.createElement(p.Text,{style:U.title},D.default.t('ASK_CREDIT')),h.default.createElement(p.Text,{style:U.subtitle},D.default.t("FOR_NUMB")," ",l.phone," (",l.name,")"),h.default.createElement(w.View,{ref:this.handleMontantRef},h.default.createElement(S.Sae,{label:D.default.t('AMOUNT'),iconClass:y.default,iconName:'dollar',iconColor:C.primary,ref:function(t){o=t,n.setState({refIn:o})},inputStyle:I.style,value:this.state.montant,keyboardType:"numeric",onChangeText:function(t){if(t.length>0)try{u=parseFloat(t),n.setStat({montant:u}),s&&(s.setState({isDisabled:u>0}),s.isDisabled=u>0)}catch(t){}},style:I.selfitem,labelStyle:I.label,autoCapitalize:'none',autoCorrect:!1}))),h.default.createElement(p.View,{style:U.btnContainer},h.default.createElement(b.default,{style:U.button_1,textStyle:U.button_1_text,onPress:function(){return n.onUserCancel()}},D.default.t('CANCEL')),h.default.createElement(b.default,{ref:function(t){s=t},style:U.button_2,textStyle:U.button_2_text,onPress:function(){n.onNetworkSend(l.phone,l.code_membre,o.state.value,o,s)}},D.default.t('SEND')))))}},{key:"onNetworkSend",value:function(t,n,l){var o=this,s=!0,u=parseFloat(l);(null===u||!(0,N.isNumber)(u)||u>1e6)&&(s=!1),this.setState({visibleError:!s}),s?(0,T.sendDemandeSpecificque)(u,t,n).then(function(t){var n="",l="";void 0!==t.success&&1===t.success?(n=D.default.t("DEMAND_SEND"),l=D.default.t('DEMAND_SEND_SUCCESFUL')):(n="Erreur survenu lors de l'envoie ",l="Une erreur est survenu lors de l'envoie de la demande"),p.Alert.alert(n,l,[{text:"Ok",onPress:function(){o.setState({montant:""})}}])}):(this.montantView.shake(800),setTimeout(function(){o.setState({visibleError:!1})},3e3))}},{key:"updateState",value:function(){var t,n,o;return l.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,l.default.awrap((0,k.readUser)());case 2:if("geolocated"!==(t=s.sent).category){s.next=9;break}return s.next=6,l.default.awrap((0,_.getAgentNetworksList)(t.agentId));case 6:n=s.sent,console.log(n),1===n.success&&(o=[this.state.currentNetwork],n.networks.forEach(function(t){o.push(t)}),this.setState({networks:o}));case 9:this.setState({user:t});case 10:case"end":return s.stop()}},null,this,null,Promise)}}]),n})(h.Component));e.default=V,V.navigatorStyle={navBarHidden:!0},V.navigationOptions={drawerLabel:function(){return null},headerTitle:D.default.t('ASK_CREDIT'),title:D.default.t('ASK_CREDIT')};var I=p.StyleSheet.create({selfitem:{width:(0,v.responsiveWidth)(70),alignSelf:'center',marginBottom:20},label:{color:C.primary},style:{color:'black'}}),U=p.StyleSheet.create({title:{backgroundColor:C.primary,color:'white',paddingLeft:20,paddingTop:10,fontWeight:'bold',fontSize:(0,v.responsiveFontSize)(3),height:(0,v.responsiveHeight)(10)},subtitle:{color:'black',paddingLeft:20,paddingTop:10,marginBottom:(0,v.responsiveHeight)(3),fontWeight:'bold',fontSize:(0,v.responsiveFontSize)(2)},container:{flex:1,backgroundColor:'#EEE',justifyContent:'space-between'},container2:{flex:1,height:(0,v.responsiveHeight)(20),backgroundColor:'#EEE'},btnContainer:{flexDirection:'row',paddingRight:5,paddingLeft:5,paddingTop:5,marginBottom:-2.5},button_1:{flex:1,borderColor:'transparent'},button_2:{flex:1,borderColor:'transparent',backgroundColor:C.primary,borderRadius:0},button_1_text:{color:C.primary,fontWeight:'bold'},button_2_text:{color:'white',fontWeight:'bold'},cardInput:{marginLeft:10,marginRight:10,marginTop:(0,v.responsiveHeight)(5),width:(0,v.responsiveWidth)(98),alignSelf:'center',justifyContent:'space-between',height:(0,v.responsiveHeight)(40)},cardInput2:{marginLeft:10,marginRight:10,marginTop:(0,v.responsiveHeight)(1),width:(0,v.responsiveWidth)(98),height:(0,v.responsiveHeight)(50),alignSelf:'center',justifyContent:'space-between'}})},1480,[4,1,273,8,9,10,12,13,15,18,524,950,527,528,696,531,709,806,743,719,711,1149,1149,1001,1029,712,1008,807]); -__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])),l=n(r(d[3])),u=n(r(d[4])),s=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),h=n(r(d[8])),p=t(r(d[9])),v=r(d[10]),b=r(d[11]),y=(t(r(d[12])),n(r(d[13]))),S=n(r(d[14])),C=r(d[15]),k=r(d[16]),w=(t(r(d[17])),n(r(d[18]))),x=r(d[19]),E=r(d[20]);r(d[21]);r(d[22]);var T=(function(t){function n(t){var o;return(0,l.default)(this,n),(o=(0,u.default)(this,(0,s.default)(n).call(this,t))).state=o.generateState(),x.IlinkEmitter.on("langueChange",o.updateLangue.bind((0,c.default)(o))),o}return(0,h.default)(n,t),(0,f.default)(n,[{key:"updateLangue",value:function(){this.props.navigation.setParams({name:y.default.t('CHANGE_INFORMATION')}),this.forceUpdate()}}],[{key:"options",value:function(t){return{topBar:{title:{text:""},backButton:{visible:!0,color:"white"},buttonsRight:[],buttonColor:"white",background:{color:E.primaryDark}}}}}]),(0,f.default)(n,[{key:"generateState",value:function(){return{isLoading:!1,notifi:!1}}},{key:"render",value:function(){var t=this;return p.default.createElement(v.View,{style:A.container},p.default.createElement(v.StatusBar,{backgroundColor:"#00000030",barStyle:"light-content",translucent:!0}),p.default.createElement(v.ScrollView,{style:{flex:1,paddingTop:30}},p.default.createElement(v.View,{style:A.appContainer},p.default.createElement(v.Image,{source:r(d[23]),style:{width:(0,k.responsiveWidth)(90),resizeMode:"contain"}})),p.default.createElement(v.Text,{style:A.title},y.default.t('ADD_NETWORK')),p.default.createElement(b.Fumi,{iconClass:S.default,iconName:"code",labelStyle:A.labelInput,inputStyle:{color:'black'},value:this.state.validateCode,label:y.default.t('SPONSOR_CODE'),onChangeText:function(n){return t.setState({validateCode:n})},style:A.input}),p.default.createElement(b.Fumi,{label:y.default.t('PHONE'),iconClass:S.default,iconName:'phone',iconColor:'white',style:A.input,autoCapitalize:'none',keyboardType:"phone-pad",autoCorrect:!1,value:this.state.enterPhone,inputStyle:{color:'black'},ref:function(n){t.numberRef=n},onChangeText:function(n){return t.setState({enterPhone:n})},labelStyle:A.labelInput}),p.default.createElement(w.default,{style:A.btnStyle,textStyle:A.btnTextStyle,isLoading:this.state.isLoading,onPress:function(){return t.validateNetwork()}},y.default.t('VALIDATE'))))}},{key:"validateNetwork",value:function(){var t,n,l,u,s=this;return o.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(t=this.state,n=t.validateCode,t.isLoading,l=t.enterPhone,void 0===n||null===n||null===l){c.next=8;break}return this.setState({isLoading:!0}),c.next=5,o.default.awrap((0,C.AssignAgentGeo)(n,l));case 5:u=c.sent,this.setState({isLoading:!1}),u&&(void 0!==u.success?v.Alert.alert(y.default.t('ADD_SUCCES'),y.default.t('ADD_SUCCESS_TEXT'),[{text:'OK',onPress:function(){s.setState({validateCode:"",enterPhone:""})}}]):u.error?(u.error,v.Alert.alert("Une erreur est survenu",u.error_msg,[{text:"Ok",onPress:function(){}}])):u.error&&(u.error,v.Alert.alert("Une erreur est survenu","Verifier que les champs sont bien rempli",[{text:"Ok",onPress:function(){}}])));case 8:case"end":return c.stop()}},null,this,null,Promise)}}]),n})(p.Component);e.default=T,T.navigatorStyle={navBarBackgroundColor:E.primaryDark,navBarTextColor:'white',navBarButtonColor:'white',drawUnderStatusBar:!1,statusBarColor:E.primaryDarkAdvanced,statusBarTextColorScheme:'light'},T.navigationOptions=function(t){return{drawerLabel:t.navigation.getParam("name",y.default.t('ADD_NETWORK')),drawerIcon:function(t){t.tintColor;return p.default.createElement(S.default,{name:'user',size:24})}}};var A=v.StyleSheet.create({btnHelpText:{color:'white',fontWeight:'bold'},btnHelp:{width:(0,k.responsiveWidth)(10),marginTop:(0,k.responsiveHeight)(10),alignSelf:'flex-end',marginRight:20,borderColor:'transparent',backgroundColor:E.primaryDark},btnTextStyle:{color:"white",fontWeight:'bold'},btnStyle:{alignSelf:'center',width:(0,k.responsiveWidth)(95),marginTop:20,borderColor:'transparent',backgroundColor:E.primaryDarkAdvanced,height:(0,k.responsiveHeight)(8)},appContainer:{flexDirection:'row',justifyContent:'center',alignItems:'center'},container:{alignItems:'center',justifyContent:'center',alignSelf:'center',flex:1,width:(0,k.responsiveWidth)(100),height:(0,k.responsiveHeight)(100),backgroundColor:E.primary},input:{height:(0,k.responsiveHeight)(10),width:(0,k.responsiveWidth)(90),borderRadius:10,marginTop:20,color:"black"},logo:{width:128,height:128},nameApp:{fontSize:27,fontWeight:'bold',color:'white'},title:{fontSize:22,fontWeight:'bold',margin:10,color:'white'},subtitle:{fontSize:20,margin:10,color:'white'}})},1481,[4,1,273,8,10,12,11,9,13,15,18,696,743,712,1002,711,527,950,709,766,806,808,807,814]); -__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=t(r(d[7])),h=r(d[8]),y=n(r(d[9])),S=n(r(d[10])),p=r(d[11]),E=r(d[12]),v=(r(d[13]),r(d[14])),b=(n(r(d[15])),n(r(d[16])),n(r(d[17]))),D=r(d[18]),T=n(r(d[19]));r(d[20]),r(d[21]);n(r(d[22]));var k=r(d[23]),L=r(d[24]),_=n(r(d[25])),C=(r(d[26]),r(d[27]),r(d[28]),n(r(d[29]))),x=r(d[30]),M=r(d[13]),I=r(d[23]);r(d[31]);var w=(function(t){function n(t){var o;return(0,l.default)(this,n),(o=(0,s.default)(this,(0,u.default)(n).call(this,t,!0)))._populateIcons=function(){return new Promise(function(t,n){Promise.all([S.default.getImageSource('sort',30),S.default.getImageSource('layer-group',30)]).then(function(n){n[0],n[1],t(!0)}).catch(function(t){console.log(t),n(t)}).done()})},o._openMenu=function(){return o.setState({visibleMenu:!0})},o._closeMenu=function(){return o.setState({visibleMenu:!1})},o._showDateTimePicker=function(t){1===t?o.setState({isDateTimePickerVisible:!0}):o.setState({isDateEndTimePickerVisible:!0})},o._showDateEndPicker=function(){return o.setState({isDateEndTimePickerVisible:!0})},o._hideDateTimePicker=function(){return o.setState({isDateTimePickerVisible:!1,isDateEndTimePickerVisible:!1})},o.state=o.initState(),(0,D.readUser)().then(function(t){o.setState({user:t})}),o._populateIcons().then(function(){}),o.navigation=o.props.navigation,o}return(0,c.default)(n,t),(0,o.default)(n,[{key:"navigationButtonPressed",value:function(t){var n=t.buttonId;'id'===n?this.showFilter():'sectionned'===n&&this.setState({isSectionned:!this.state.isSectionned})}},{key:"showFilter",value:function(){}},{key:"initState",value:function(){return{user:{},listdata:[],listdataSend:[],conserve:[],count:0,translateAnim:new h.Animated.Value(0),visibleMenu:!1,appState:h.AppState.currentState,filter:!1,sortIcons:null,panelVisible:!1,filder_disable:!0,datestartformated:'La date de debut',dateendformated:'La date de fin',datestart:null,dateend:null,isLoaded:!1,isSectionned:!1,isDateTimePickerVisible:!1,isDateEndTimePickerVisible:!1}}},{key:"updateList",value:function(t){if(!this.state.filter){var n=t.reverse();this.setState({listdata:n,conserve:n,isLoaded:!0})}}},{key:"updateMyList",value:function(t){if(!this.state.filter){var n=t.reverse();this.setState({listdataSend:n,conserve:n,isLoaded:!0})}}},{key:"componentDidMount",value:function(){var t=this,n=this.navigation.state.routeName;this.setState({position:"myDemand"===n?0:1}),this.refreshData(),this.animateSlidingUp(!1),this.props.navigation.addListener("didFocus",function(){t.refreshData(!1),console.warn("loading")})}},{key:"componentWillUnmount",value:function(){clearInterval(this.intervaller)}},{key:"renderList",value:function(t){var n=this;if(this.state.isLoaded&&t instanceof Array){var l=t;return null!==l?l.length>0?f.default.createElement(E.HistoryListItem,{list:t,refreshing:function(){n.refreshData()},isRefreshing:this.state.isRefreshing,navigator:this.props.navigation,style:P.listbackground}):this.state.filter?f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST'))):0===l.length?f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST'))):f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS'))):f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('EMPTY_LIST_REQUEST')," "))}if(0===t.length)return f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST')))}},{key:"renderOptionsMenu",value:function(){var t=this;return f.default.createElement(h.View,{style:{position:"absolute",zIndex:100,paddingTop:50,right:10,flexDirection:'row',visible:this.state.visibleMenu,justifyContent:'center'}},f.default.createElement(x.Menu,{visible:this.state.visibleMenu,onDismiss:this._closeMenu,anchor:f.default.createElement(b.default,{onPress:this._openMenu},"Show menu")},f.default.createElement(x.Menu.Item,{onPress:function(){t.setState({isSectionned:!t.state.isSectionned}),t._closeMenu()},title:"Section"}),f.default.createElement(x.Divider,null),f.default.createElement(x.Menu.Item,{onPress:function(){t.animateSlidingUp(!t.state.isSliding),t._closeMenu()},title:_.default.t("FILTER_DATE")})))}},{key:"animateSlidingUp",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=(0,p.responsiveHeight)(100),l=t?n:0,o=t?0:n;this.setState({isSliding:t}),this.state.translateAnim.setValue(l),h.Animated.timing(this.state.translateAnim,{toValue:o,duration:500,useNativeDriver:!0}).start()}},{key:"render",value:function(){var t=this;return f.default.createElement(x.Provider,null,f.default.createElement(h.View,{style:{flex:1}},f.default.createElement(h.StatusBar,{backgroundColor:I.primaryDark,barStyle:"light-content",translucent:!1}),this.renderSliding(),f.default.createElement(x.Appbar.Header,{dark:!0,style:{backgroundColor:I.primary}},f.default.createElement(x.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),f.default.createElement(x.Appbar.Content,{title:_.default.t('CREDIT_MANAGE'),subtitle:0===this.state.position?_.default.t('MY_DEMAND'):_.default.t('DEMAND_RECEIVE')}),f.default.createElement(x.Appbar.Action,{icon:"refresh",onPress:function(){t.refreshData()}}),f.default.createElement(x.Appbar.Action,{icon:"more-vert",onPress:function(){t._openMenu(),t.renderSliding()}})),this.renderOptionsMenu(),0===this.state.position?this._renderListDemandsSend():this._renderListDemandReceive()))}},{key:"renderSliding",value:function(){return f.default.createElement(h.Animated.View,{style:[P.slidingup,{translateY:this.state.translateAnim}]},f.default.createElement(T.default,{onChange:function(t){return console.log(t)},minDate:"2018-04-20",startDate:"2018-04-30",endDate:"2018-05-05",theme:{activeDayColor:{},monthTitleTextStyle:{color:'#6d95da',fontWeight:'300',fontSize:16},emptyMonthContainerStyle:{},emptyMonthTextStyle:{fontWeight:'200'},weekColumnsContainerStyle:{},weekColumnStyle:{paddingVertical:10},weekColumnTextStyle:{color:'#b6c1cd',fontSize:13},nonTouchableDayContainerStyle:{},nonTouchableDayTextStyle:{},startDateContainerStyle:{},endDateContainerStyle:{},dayContainerStyle:{},dayTextStyle:{color:'#2d4150',fontWeight:'200',fontSize:15},dayOutOfRangeContainerStyle:{},dayOutOfRangeTextStyle:{},todayContainerStyle:{},todayTextStyle:{color:'#6d95da'},activeDayContainerStyle:{backgroundColor:'#6d95da'},activeDayTextStyle:{color:'white'},nonTouchableLastMonthDayTextStyle:{}},style:{height:(0,p.responsiveHeight)(60)}}),f.default.createElement(h.View,{style:{flexDirection:'row'}},f.default.createElement(b.default,null,_.default.t('QUIT')),f.default.createElement(b.default,null,_.default.t('FILTER'))))}},{key:"renderSectionnedList",value:function(t){if(this.state.isLoaded){return null!==t?t.length>0?f.default.createElement(E.HistoryItemSectionned,{list:t,navigator:this.props.navigator,style:P.listbackground}):this.state.filter?f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEMS_REQUEST'))):f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS'))):f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('EMPTY_LIST_REQUEST')))}}},{key:"renderLoading",value:function(){return f.default.createElement(h.View,null,f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS')))}},{key:"showSlidingUpPanel",value:function(){}},{key:"printOptions",value:function(){var t=this;return"hyper"===this.state.user.category?f.default.createElement(y.default,{buttonColor:k.accent},f.default.createElement(y.default.Item,{buttonColor:k.purpleLight,title:_.default.t('SAVE_HISTORY'),onPress:function(){}},f.default.createElement(S.default,{name:"save",style:P.actionButtonIcon}))):f.default.createElement(y.default,{buttonColor:k.accent},f.default.createElement(y.default.Item,{buttonColor:k.primary,title:_.default.t('MAKE_REQUEST'),onPress:function(){t.props.navigation.navigate(M.credrequester)}},f.default.createElement(S.default,{name:"edit",style:P.actionButtonIcon})),f.default.createElement(y.default.Item,{buttonColor:k.purpleLight,title:_.default.t('SAVE_HISTORY'),onPress:function(){}},f.default.createElement(S.default,{name:"save",style:P.actionButtonIcon})))}},{key:"_renderListDemandsSend",value:function(){return f.default.createElement(h.View,{style:P.container},this.state.isLoaded?this.state.isSectionned?this.renderSectionnedList(this.state.listdataSend):this.renderList(this.state.listdataSend):this.renderLoading(),this.printOptions(),this.showSlidingUpPanel())}},{key:"_renderListDemandReceive",value:function(){return f.default.createElement(h.View,{style:P.container},this.state.isLoaded?this.state.isSectionned?this.renderSectionnedList(this.state.listdata):this.renderList(this.state.listdata):this.renderLoading(),this.printOptions(),this.showSlidingUpPanel())}},{key:"_renderTabGeolocated",value:function(){var t=[{text:_.default.t('DEMAND_SEND')}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.responsiveHeight)(8)},tabs:t})}},{key:"_renderTabHyper",value:function(){var t=[{text:_.default.t('DEMAND_RECEIVE')}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.responsiveHeight)(8)},tabs:t})}},{key:"_renderTabs",value:function(){var t=[{text:_.default.t('MY_DEMAND'),iconSource:this.state.usersicon},{text:_.default.t('DEMAND_RECEIVE'),iconSource:this.state.charticon}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.responsiveHeight)(8)},tabs:t})}},{key:"refreshData",value:function(){var t=this;(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.setState({isRefreshing:!0}),(0,v.loadDemandeCredit)().then(function(n){void 0!==n.success&&(t.setState({listdata:[]}),t.updateList(n.demands),0!==t.state.position&&t.props.navigation.setParams({count:n.demands.length}),t.setState({isRefreshing:!1}))}).catch(function(t){console.warn(t)}),(0,v.loadMyDemandeCredit)().then(function(n){void 0!==n.success&&(t.setState({listdataSend:[]}),t.setState({isRefreshing:!1}),0===t.state.position&&t.props.navigation.setParams({count:n.demands.length}),t.updateMyList(n.demands))}).catch(function(t){console.warn(t)})}}]),n})(f.default.Component);w.navigatorStyle={navBarBackgroundColor:k.primary,statusBarColor:k.primaryDark,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF',contextualMenuStatusBarColor:I.accent,contextualMenuBackgroundColor:I.accentLight,contextualMenuButtonsColor:'#ffffff'},w.navigationOptions=function(t){var n=t.navigation,l=n.state.routeName;return{tabBarLabel:"myDemand"===l?_.default.t('MY_DEMAND'):_.default.t('DEMAND_RECEIVE'),tabBarIcon:function(t){var o=t.focused,s=(t.horizontal,t.tintColor);return f.default.createElement(C.default,{badgeCount:n.getParam("count",0),size:20,name:"myDemand"===l?"mail":"inbox",color:o?s:"grey"})},drawerLabel:_.default.t('CREDIT_MANAGE'),drawerIcon:function(t){t.tintColor;return f.default.createElement(S.default,{name:'credit-card',size:24})}}};var A=w;e.default=A;h.StyleSheet.create({titleHeader:{fontSize:20,fontWeight:'bold',color:'black',flex:1},datetitle:{fontSize:17,color:'black',marginLeft:(0,p.responsiveWidth)(2)},datetext:{fontSize:16,marginLeft:(0,p.responsiveWidth)(5)},content:{flex:2},btnContainer:{flexDirection:'row',width:(0,p.responsiveWidth)(100),alignSelf:'flex-end',flex:2},btn:{flex:1,borderColor:'transparent',borderRadius:0},btntext:{fontWeight:'bold',color:k.accent},container:{flex:1,justifyContent:'space-evenly'}});var P=h.StyleSheet.create({slidingup:{position:"absolute",height:(0,p.responsiveHeight)(84),bottom:0,backgroundColor:'white',width:(0,p.responsiveWidth)(100),zIndex:1e3},root:{flex:1},container:{flex:1,backgroundColor:'white',justifyContent:'center',alignItems:'center'},emptylist:{flex:1,justifyContent:'center',alignItems:'center'},backgroundd_drawer:{backgroundColor:'#000'},listbackground:{},actionButtonIcon:{fontSize:20,height:22,color:'white'},welcome:{fontSize:20,textAlign:'center',margin:10},instructions:{textAlign:'center',color:'#333333',marginBottom:5},dateText:{marginTop:20,marginLeft:(0,p.responsiveWidth)(13),marginBottom:20,fontSize:17},titlecontent:{fontSize:17,marginLeft:(0,p.responsiveWidth)(10),color:'black'},content:{flex:8},title:{fontSize:20,marginLeft:20,marginTop:20,color:'black',fontWeight:'bold'}})},1482,[4,1,8,9,10,12,13,15,18,524,827,527,1140,807,1149,1002,815,709,711,1023,1024,1142,1134,806,937,712,768,840,405,1483,1029,808]); -__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])),u=n(r(d[4])),f=n(r(d[5])),s=n(r(d[6])),c=t(r(d[7])),h=r(d[8]),p=n(r(d[9])),y=(function(t){function n(){return(0,l.default)(this,n),(0,u.default)(this,(0,f.default)(n).apply(this,arguments))}return(0,s.default)(n,t),(0,o.default)(n,[{key:"render",value:function(){var t=this.props,n=t.name,l=t.badgeCount,o=t.color,u=t.size;return c.default.createElement(h.View,{style:{width:3*u/2,height:3*u/2,margin:5}},c.default.createElement(p.default,{name:n,size:u,color:o}),l>0&&c.default.createElement(h.View,{style:{position:'absolute',right:-6,top:-3,backgroundColor:'red',borderRadius:4*u/5,width:3*u/5,height:3*u/5,justifyContent:'center',alignItems:'center'}},c.default.createElement(h.Text,{style:{color:'white',fontSize:10,fontWeight:'bold'}},l)))}}]),n})(c.default.Component);e.default=y},1483,[4,1,8,9,10,12,13,15,18,827]); -__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])),u=l(r(d[3])),o=l(r(d[4])),f=l(r(d[5])),s=l(r(d[6])),v=t(r(d[7])),c=r(d[8]),h=l(r(d[9])),b=l(r(d[10])),p=(r(d[11]),r(d[12]),r(d[13])),k=(function(t){function l(t){var u;return(0,n.default)(this,l),(u=(0,o.default)(this,(0,f.default)(l).call(this,t))).state={valuePosition:0},u.mounted=!1,u.filterOptions=[{value:5,label:"5 km"},{value:15,label:"15 km"},{value:20,label:"20 km"},{value:25,label:"25 km"}],u}return(0,s.default)(l,t),(0,u.default)(l,[{key:"geInitialState",value:function(){return{valuePosition:0}}},{key:"render",value:function(){var t=this;return v.default.createElement(c.View,{style:{flex:1}},v.default.createElement(p,{items:this.filterOptions,defaultItem:this.state.valuePosition,labelPosition:"bottom",onSlidingComplete:function(l){return t.slidingComplete(l)}}),v.default.createElement(c.Text,null,v.default.createElement(c.Text,{style:{fontWeight:"bold"}},void 0===this.state.value?0:this.state.value)," km ",b.default.t("DISTANCE_ARROUND")))}},{key:"slidingComplete",value:function(t){this.setState({value:this.filterOptions[t].value,valuePosition:t})}}]),l})(v.Component);e.default=k,k.navigationOptions=function(t){var l=t.navigation;return{drawerLabel:function(){return null},title:"Filtre",tabBarIcon:function(t){t.focused,t.horizontal;var n=t.tintColor;return v.default.createElement(h.default,{badgeCount:l.getParam("count",0),size:24,name:"filter-list",color:n})}}}},1484,[4,1,8,9,10,12,13,15,18,827,712,1029,806,1378]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createMaterialBottomTabNavigator",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))},1485,[1,1486]); -__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])),c=o(r(d[4])),s=o(r(d[5])),u=o(r(d[6])),v=o(r(d[7])),p=o(r(d[8])),f=t(r(d[9])),C=r(d[10]),h=r(d[11]),b=r(d[12]),y=(function(t){function o(){var t,n;(0,c.default)(this,o);for(var l=arguments.length,s=new Array(l),p=0;p"))),b.default.createElement(h.View,{style:R.contentLeftItem},b.default.createElement(I.default,{numberOfLines:1,caption1:!0},y.default.t('PRINCIPAL_ACCOUNT_TITLE')),b.default.createElement(I.default,{numberOfLines:1,adjustsFontSizeToFit:!0,body1:!0,semibold:!0},"1000 000F"))),b.default.createElement(E.TabView,{lazy:!0,navigationState:{index:l,routes:n},renderScene:(0,E.SceneMap)({depot:A,retrait:V}),onIndexChange:this.handleIndexChange,renderTabBar:this.renderTabBar})))}}],[{key:"options",value:function(t){return{topBar:{drawBehind:!1,visible:!0,animate:!0,buttonColor:'white',background:{color:'white'},rightButtons:[]},backButton:{visible:!0,color:"white"},buttonColor:"white",background:{color:S.Color.primaryDarkColor},statusBar:{drawBehind:!1,visible:!0}}}}]),l})(b.Component);e.default=O,O.navigationOptions=function(t){t.navigation;return{headerTitle:y.default.t('WALLET'),headerStyle:{backgroundColor:S.Color.primaryColor,paddingTop:10},headerTitleStyle:{color:"white"}}};var R=h.StyleSheet.create({container:{flex:1,backgroundColor:S.Color.containerBackgroundColor},indicator:{height:2},tab:{width:w.getWidthDevice()/2},tabbar:{height:40},containField:{margin:20,marginTop:90,flexDirection:"row",height:140,borderRadius:10},contentLeftItem:{flex:1,paddingTop:40,paddingLeft:10,paddingRight:10,alignItems:"center"},tagFollow:{width:150,margin:10},profileItem:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingBottom:20,paddingTop:20},checkDefault:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottomWidth:1,paddingVertical:15,marginTop:10}})},1487,[4,1,6,8,9,10,12,11,13,15,18,869,712,1488,1499,1500,1501,1503,1504,1506,405,766,1508,807,808]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"TabBar",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"TabView",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"TabBarIndicator",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"SceneMap",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"ScrollPager",{enumerable:!0,get:function(){return o.default}});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]))},1488,[1,1489,1494,1493,1497,1498]); -__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])),l=n(r(d[3])),u=n(r(d[4])),s=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),h=t(r(d[8])),b=r(d[9]),y=n(r(d[10])),p=n(r(d[11])),v=n(r(d[12])),w=n(r(d[13]));function S(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function T(t){for(var n=1;n1){var o=n.map(function(t,n){return n});return b.default.interpolate(t,{inputRange:o,outputRange:o.map(function(t){return t===l?1:0})})}return 1})),w((0,s.default)(o),"getInactiveOpacity",(0,h.default)(function(t,n,l){if(n.length>1){var o=n.map(function(t,n){return n});return b.default.interpolate(t,{inputRange:o,outputRange:o.map(function(t){return t===l?0:1})})}return 0})),o}return(0,f.default)(n,t),(0,o.default)(n,[{key:"render",value:function(){var t=this.props,n=t.route,l=t.position,o=t.navigationState,u=t.renderLabel,c=t.renderIcon,s=t.renderBadge,f=t.getLabelText,h=t.getTestID,w=t.getAccessibilityLabel,E=t.getAccessible,O=t.activeColor,C=void 0===O?"rgba(255, 255, 255, 1)":O,L=t.inactiveColor,V=void 0===L?"rgba(255, 255, 255, 0.7)":L,I=t.pressColor,P=t.pressOpacity,x=t.labelStyle,T=t.style,A=t.onLayout,R=t.onPress,_=t.onLongPress,j=o.routes.indexOf(n),k=o.index===j,D=this.getActiveOpacity(l,o.routes,j),F=this.getInactiveOpacity(l,o.routes,j),B=null,H=null;if(c){var M=c({route:n,focused:!0,color:C}),q=c({route:n,focused:!1,color:V});null!=q&&null!=M&&(B=y.createElement(p.View,{style:S.icon},y.createElement(b.default.View,{style:{opacity:F}},q),y.createElement(b.default.View,{style:[p.StyleSheet.absoluteFill,{opacity:D}]},M)))}var z=void 0!==u?u:function(t){var n=t.route,l=t.color,o=f({route:n});return'string'==typeof o?y.createElement(b.default.Text,{style:[S.label,B?{marginTop:0}:null,{color:l},x]},o):o};if(z){var G=z({route:n,focused:!0,color:C}),J=z({route:n,focused:!1,color:V});H=y.createElement(p.View,null,y.createElement(b.default.View,{style:{opacity:F}},J),y.createElement(b.default.View,{style:[p.StyleSheet.absoluteFill,{opacity:D}]},G))}var K=p.StyleSheet.flatten(T),N=void 0!==(null===K||void 0===K?void 0:K.width)?null:{flex:1},Q={route:n},U=w(Q);U=void 0!==U?U:f(Q);var W=s?s(Q):null;return y.createElement(v.default,{borderless:!0,testID:h(Q),accessible:E(Q),accessibilityLabel:U,accessibilityTraits:k?['button','selected']:'button',accessibilityComponentType:"button",accessibilityRole:"tab",accessibilityStates:k?['selected']:[],pressColor:I,pressOpacity:P,delayPressIn:0,onLayout:A,onPress:R,onLongPress:_,style:N},y.createElement(p.View,{pointerEvents:"none",style:[S.item,K]},B,H,null!=W?y.createElement(p.View,{style:S.badge},W):null))}}]),n})(y.Component);e.default=E;var S=p.StyleSheet.create({label:{margin:4,backgroundColor:'transparent'},icon:{margin:2},item:{flex:1,alignItems:'center',justifyContent:'center',padding:10,minHeight:48},badge:{position:'absolute',top:0,right:0}})},1490,[4,1,8,9,10,12,11,13,15,18,1491,1385,1492]); -__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])),u=n(r(d[4])),c=n(r(d[5])),s=n(r(d[6])),f=t(r(d[7])),p=r(d[8]);function b(){return(b=Object.assign||function(t){for(var n=1;n=0||Object.prototype.propertyIsEnumerable.call(t,l)&&(u[l]=t[l])}return u}function O(t,n){if(null==t)return{};var l,o,u={},c=Object.keys(t);for(o=0;o=0||(u[l]=t[l]);return u}var v,h,j,P=(function(t){function n(){return(0,l.default)(this,n),(0,u.default)(this,(0,c.default)(n).apply(this,arguments))}return(0,s.default)(n,t),(0,o.default)(n,[{key:"render",value:function(){var t=this.props,n=t.style,l=t.pressOpacity,o=t.pressColor,u=t.borderless,c=t.children,s=y(t,["style","pressOpacity","pressColor","borderless","children"]);return'android'===p.Platform.OS&&p.Platform.Version>=21?f.createElement(p.TouchableNativeFeedback,b({},s,{background:p.TouchableNativeFeedback.Ripple(o,u)}),f.createElement(p.View,{style:n},f.Children.only(c))):f.createElement(p.TouchableOpacity,b({},s,{style:n,activeOpacity:l}),c)}}]),n})(f.Component);e.default=P,j={pressColor:'rgba(255, 255, 255, .4)'},(h="defaultProps")in(v=P)?Object.defineProperty(v,h,{value:j,enumerable:!0,configurable:!0,writable:!0}):v[h]=j},1491,[4,1,8,9,10,12,13,15,18]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var t,f;return function(){for(var l=!1,o=arguments.length,u=new Array(o),v=0;v1?this.getTranslateX(n,p,u):0,v='auto'===l?p.length>1?this.getWidth(n,p,u):u(0):l;return h.createElement(y.default.View,{style:[T.indicator,{width:v},c.width?{transform:[{translateX:s}]}:{left:"".concat(100/p.length*o.index,"%")},'auto'===l?{opacity:this.opacity}:null,f]})}}]),n})(h.Component);e.default=R;var T=v.StyleSheet.create({indicator:{backgroundColor:'#ffeb3b',position:'absolute',left:0,bottom:0,right:0,height:2}})},1493,[4,1,33,8,9,10,12,11,13,15,18,1385,1492]); -__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])),l=n(r(d[3])),u=n(r(d[4])),s=n(r(d[5])),p=n(r(d[6])),c=n(r(d[7])),f=t(r(d[8])),y=r(d[9]),v=r(d[10]),h=n(r(d[11])),b=n(r(d[12])),w=n(r(d[13])),P=n(r(d[14]));function S(){return(S=Object.assign||function(t){for(var n=1;nl.props.lazyPreloadDistance}),v((0,h.default)(l),"handleEnter",function(t){t===l.props.index&&l.state.loading&&l.setState({loading:!1})}),l}return(0,p.default)(n,t),(0,l.default)(n,[{key:"componentDidMount",value:function(){var t=this;this.props.lazy?this.props.addListener('enter',this.handleEnter):this.state.loading&&setTimeout(function(){return t.setState({loading:!1})},0)}},{key:"componentDidUpdate",value:function(t,n){this.props.lazy===t.lazy&&this.state.loading===n.loading||(this.props.lazy&&this.state.loading?this.props.addListener('enter',this.handleEnter):this.props.removeListener('enter',this.handleEnter))}},{key:"componentWillUnmount",value:function(){this.props.removeListener('enter',this.handleEnter)}},{key:"render",value:function(){var t=this.props,n=t.navigationState,o=t.index,l=t.layout,s=t.style,u=this.state.loading,h=n.index===o;return c.createElement(f.View,{accessibilityElementsHidden:!h,importantForAccessibility:h?'auto':'no-hide-descendants',style:[b.route,l.width?{width:l.width}:h?f.StyleSheet.absoluteFill:null,s]},h||l.width?this.props.children({loading:u}):null)}}],[{key:"getDerivedStateFromProps",value:function(t,n){return n.loading&&Math.abs(t.navigationState.index-t.index)<=t.lazyPreloadDistance?{loading:!1}:null}}]),n})(c.Component);e.default=y;var b=f.StyleSheet.create({route:{flex:1,overflow:'hidden'}})},1495,[4,1,8,9,10,12,11,13,15,18]); -__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 s=n(r(d[2])),o=n(r(d[3])),l=n(r(d[4])),u=n(r(d[5])),p=n(r(d[6])),f=n(r(d[7])),c=n(r(d[8])),h=n(r(d[9])),v=t(r(d[10])),w=r(d[11]),x=r(d[12]),y=t(r(d[13])),S=n(r(d[14]));function I(){return(I=Object.assign||function(t){for(var n=1;n-1&&u.enterListeners.splice(s,1)}}),V((0,c.default)(u),"handleEnteredIndexChange",function(t){var n=(0,s.default)(t,1)[0],o=Math.max(0,Math.min(n,u.props.navigationState.routes.length-1));u.enterListeners.forEach(function(t){return t(o)})}),V((0,c.default)(u),"transitionTo",function(t){var n=new E(0),s=new E(0),o={position:u.progress,time:new E(0),finished:new E(ae)};return L([G(D(u.clock),se,[J(n,N(t,u.layoutWidth,le)),J(s,0),J(o.time,0),J(o.finished,ae),J(u.index,t)]),G(u.isSwipeGesture,[G(z(D(u.clock)),w.I18nManager.isRTL?J(u.initialVelocityForSpring,N(-1,u.velocityX,u.springVelocityScale)):J(u.initialVelocityForSpring,N(u.velocityX,u.springVelocityScale))),Q(u.clock,T({},o,{velocity:u.initialVelocityForSpring}),T({},pe,{},u.springConfig,{toValue:n}))],te(u.clock,T({},o,{frameTime:s}),T({},ce,{},u.timingConfig,{toValue:n}))),G(z(D(u.clock)),Z(u.clock)),G(o.finished,[J(u.isSwipeGesture,ae),J(u.gestureX,0),J(u.velocityX,0),$(u.clock)])])}),V((0,c.default)(u),"handleGestureEvent",W([{nativeEvent:{translationX:u.gestureX,velocityX:u.velocityX,state:u.gestureState}}])),V((0,c.default)(u),"extrapolatedPosition",P(u.gestureX,N(u.velocityX,u.swipeVelocityImpact))),V((0,c.default)(u),"toggleEnabled",function(){u.state.enabled&&u.setState({enabled:!1},function(){u.setState({enabled:!0})})}),V((0,c.default)(u),"maybeCancel",L([G(H(u.gesturesEnabled,O(H(F(u.index,ee(u.routesLength,1)),_(u.gestureX,0)),H(F(u.index,0),U(u.gestureX,0)))),J(u.gesturesEnabled,0))])),V((0,c.default)(u),"translateX",L([X(u.gesturesEnabled,G(z(u.gesturesEnabled),j([u.gesturesEnabled],u.toggleEnabled))),X(u.index,j([u.index],function(t){var n=(0,s.default)(t,1)[0];u.currentIndexValue=n,n!==u.props.navigationState.index&&(u.props.onIndexChange(n),u.pendingIndexValue=n,u.forceUpdate())})),X(u.position,G(w.I18nManager.isRTL?_(u.gestureX,0):U(u.gestureX,0),G(Y(A(u.position),u.lastEnteredIndex),[J(u.lastEnteredIndex,A(u.position)),j([A(u.position)],u.handleEnteredIndexChange)]),G(Y(R(u.position),u.lastEnteredIndex),[J(u.lastEnteredIndex,R(u.position)),j([R(u.position)],u.handleEnteredIndexChange)]))),X(u.isSwiping,[G(z(u.isSwiping),J(u.gesturesEnabled,1)),j([u.isSwiping,u.indexAtSwipeEnd,u.index],function(t){var n=(0,s.default)(t,3),o=n[0],l=n[1],p=n[2],f=u.props,c=f.keyboardDismissMode,h=f.onSwipeStart,v=f.onSwipeEnd;if(o===ie)if(null===h||void 0===h||h(),u.interactionHandle=w.InteractionManager.createInteractionHandle(),'auto'===c){var x=w.TextInput.State.currentlyFocusedField();w.TextInput.State.blurTextInput(x),u.previouslyFocusedTextInput=x}else'on-drag'===c&&w.Keyboard.dismiss();else if(null===v||void 0===v||v(),null!==u.interactionHandle&&w.InteractionManager.clearInteractionHandle(u.interactionHandle),'auto'===c){if(l===p){var y=u.previouslyFocusedTextInput;y&&w.TextInput.State.focusTextInput(y)}u.previouslyFocusedTextInput=null}})]),X(u.nextIndex,G(Y(u.nextIndex,re),[G(D(u.clock),$(u.clock)),J(u.gestureX,0),J(u.index,u.nextIndex),J(u.nextIndex,re)])),G(F(u.gestureState,x.State.ACTIVE),[u.maybeCancel,G(u.isSwiping,se,[J(u.isSwiping,ie),J(u.isSwipeGesture,ie),J(u.offsetX,u.progress)]),J(u.progress,w.I18nManager.isRTL?ee(u.offsetX,u.gestureX):P(u.offsetX,u.gestureX)),$(u.clock)],[J(u.isSwiping,ae),J(u.indexAtSwipeEnd,u.index),u.transitionTo(G(H(U(k(u.gestureX),de),U(k(u.extrapolatedPosition),M(u.layoutWidth,2))),B(K(q(0,ee(u.index,G(U(u.extrapolatedPosition,0),w.I18nManager.isRTL?le:oe,w.I18nManager.isRTL?oe:le))),ee(u.routesLength,1))),u.index))]),u.progress])),V((0,c.default)(u),"getTranslateX",(0,S.default)(function(t,n,s){return N(K(q(N(t,ee(n,1),le),s),0),w.I18nManager.isRTL?-1:1)})),u}return(0,h.default)(n,t),(0,u.default)(n,[{key:"componentDidMount",value:function(){this.context&&this.context.addGestureHandlerRef&&this.context.addGestureHandlerRef(this.gestureHandlerRef)}},{key:"componentDidUpdate",value:function(t){var n=this.props,s=n.navigationState,o=n.layout,l=n.swipeVelocityImpact,u=n.springVelocityScale,p=n.springConfig,f=n.timingConfig,c=s.index,h=s.routes;(c!==t.navigationState.index&&c!==this.currentIndexValue||'number'==typeof this.pendingIndexValue&&c!==this.pendingIndexValue)&&this.jumpToIndex(c),this.pendingIndexValue=void 0,t.navigationState.routes.length!==h.length&&this.routesLength.setValue(h.length),t.layout.width!==o.width&&(this.progress.setValue(-c*o.width),this.layoutWidth.setValue(o.width)),t.swipeVelocityImpact!==l&&this.swipeVelocityImpact.setValue(void 0!==l?l:ue),t.springVelocityScale!==u&&this.springVelocityScale.setValue(void 0!==u?u:fe),t.springConfig!==p&&(this.springConfig.damping.setValue(void 0!==p.damping?p.damping:pe.damping),this.springConfig.mass.setValue(void 0!==p.mass?p.mass:pe.mass),this.springConfig.stiffness.setValue(void 0!==p.stiffness?p.stiffness:pe.stiffness),this.springConfig.restSpeedThreshold.setValue(void 0!==p.restSpeedThreshold?p.restSpeedThreshold:pe.restSpeedThreshold),this.springConfig.restDisplacementThreshold.setValue(void 0!==p.restDisplacementThreshold?p.restDisplacementThreshold:pe.restDisplacementThreshold)),t.timingConfig!==f&&this.timingConfig.duration.setValue(void 0!==f.duration?f.duration:ce.duration)}},{key:"componentWillUnmount",value:function(){null!==this.interactionHandle&&w.InteractionManager.clearInteractionHandle(this.interactionHandle)}},{key:"render",value:function(){var t=this,n=this.props,s=n.layout,o=n.navigationState,l=n.swipeEnabled,u=n.children,p=n.removeClippedSubviews,f=n.gestureHandlerProps,c=this.getTranslateX(this.layoutWidth,this.routesLength,this.translateX);return u({position:this.position,addListener:this.addListener,removeListener:this.removeListener,jumpTo:this.jumpTo,render:function(n){return v.createElement(x.PanGestureHandler,I({ref:t.gestureHandlerRef,simultaneousHandlers:t.state.childPanGestureHandlerRefs,waitFor:t.state.childPanGestureHandlerRefs,enabled:0!==s.width&&l&&t.state.enabled,onGestureEvent:t.handleGestureEvent,onHandlerStateChange:t.handleGestureEvent,activeOffsetX:[-20,de],failOffsetY:[-20,de]},f),v.createElement(y.default.View,{removeClippedSubviews:p,style:[he.container,s.width?{width:s.width*o.routes.length,transform:[{translateX:c}]}:null]},v.createElement(ne.Provider,{value:t.providerVal},n)))}})}}]),n})(v.Component);e.default=ge,V(ge,"defaultProps",{swipeVelocityImpact:ue,springVelocityScale:fe}),V(ge,"contextType",ne);var he=w.StyleSheet.create({container:{flex:1,flexDirection:'row'}})},1496,[4,1,27,33,8,9,10,12,11,13,15,18,2,1385,1492]); -__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=function(t){return function(n){var o=n.route,u=n.jumpTo,l=n.position;return p.createElement(v,{key:o.key,component:t[o.key],route:o,jumpTo:u,position:l})}};var o=n(r(d[2])),u=n(r(d[3])),l=n(r(d[4])),f=n(r(d[5])),c=n(r(d[6])),p=t(r(d[7]));function y(t,n){if(null==t)return{};var o,u,l=s(t,n);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(t);for(u=0;u=0||Object.prototype.propertyIsEnumerable.call(t,o)&&(l[o]=t[o])}return l}function s(t,n){if(null==t)return{};var o,u,l={},f=Object.keys(t);for(u=0;u=0||(l[o]=t[o]);return l}var v=(function(t){function n(){return(0,o.default)(this,n),(0,l.default)(this,(0,f.default)(n).apply(this,arguments))}return(0,c.default)(n,t),(0,u.default)(n,[{key:"render",value:function(){var t=this.props,n=t.component,o=y(t,["component"]);return p.createElement(n,o)}}]),n})(p.PureComponent)},1497,[4,1,8,9,10,12,13,15]); -__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])),l=n(r(d[3])),s=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),h=t(r(d[9])),v=r(d[10]),y=n(r(d[11]));function w(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}var S=y.default.event,x=y.default.divide,b=y.default.onChange,T=y.default.cond,E=y.default.eq,I=y.default.round,L=y.default.call,H=y.default.Value,P=(function(t){function n(){var t,o;(0,l.default)(this,n);for(var s=arguments.length,p=new Array(s),b=0;b1&&void 0!==arguments[1])||arguments[1];o.scrollViewRef.current&&o.scrollViewRef.current.getNode().scrollTo({x:t,animated:n})}),w((0,f.default)(o),"enterListeners",[]),w((0,f.default)(o),"addListener",function(t,n){switch(t){case'enter':o.enterListeners.push(n)}}),w((0,f.default)(o),"removeListener",function(t,n){switch(t){case'enter':var l=o.enterListeners.indexOf(n);l>-1&&o.enterListeners.splice(l,1)}}),w((0,f.default)(o),"position",new y.default.Value(o.props.navigationState.index*o.props.layout.width)),w((0,f.default)(o),"onScroll",S([{nativeEvent:{contentOffset:{x:o.position}}}])),w((0,f.default)(o),"layoutWidthNode",new H(o.props.layout.width)),w((0,f.default)(o),"relativePosition",x(o.position,o.layoutWidthNode)),o}return(0,p.default)(n,t),(0,s.default)(n,[{key:"componentDidMount",value:function(){this.props.layout.width&&this.scrollTo(this.props.navigationState.index*this.props.layout.width,!1)}},{key:"componentDidUpdate",value:function(t){var n=this.props.navigationState.index*this.props.layout.width;t.navigationState.routes.length!==this.props.navigationState.routes.length||t.layout.width!==this.props.layout.width?this.scrollTo(n,!1):t.navigationState.index!==this.props.navigationState.index&&this.scrollTo(n),t.layout.width!==this.props.layout.width&&this.layoutWidthNode.setValue(this.props.layout.width)}},{key:"componentWillUnmount",value:function(){null!==this.interactionHandle&&v.InteractionManager.clearInteractionHandle(this.interactionHandle)}},{key:"render",value:function(){var t=this,n=this.props,l=n.children,s=n.layout,u=n.onSwipeStart,c=n.onSwipeEnd,f=n.overscroll,p=n.onIndexChange,w=n.navigationState,S=function(){null===u||void 0===u||u(),t.interactionHandle=v.InteractionManager.createInteractionHandle()},x=function(){null===c||void 0===c||c(),null!==t.interactionHandle&&v.InteractionManager.clearInteractionHandle(t.interactionHandle)};return l({position:this.relativePosition,addListener:this.addListener,removeListener:this.removeListener,jumpTo:this.jumpTo,render:function(n){return h.createElement(y.default.ScrollView,{pagingEnabled:!0,directionalLockEnabled:!0,keyboardDismissMode:"on-drag",keyboardShouldPersistTaps:"always",overScrollMode:"never",scrollToOverflowEnabled:!0,scrollEnabled:t.props.swipeEnabled,automaticallyAdjustContentInsets:!1,bounces:f,scrollsToTop:!1,showsHorizontalScrollIndicator:!1,scrollEventThrottle:1,onScroll:t.onScroll,onScrollBeginDrag:S,onScrollEndDrag:x,onMomentumScrollEnd:t.onScroll,contentOffset:t.initialOffset,style:k.container,contentContainerStyle:s.width?{flexDirection:'row',width:s.width*w.routes.length,flex:1}:null,ref:t.scrollViewRef},n,h.createElement(y.default.Code,{exec:b(t.relativePosition,T(E(I(t.relativePosition),t.relativePosition),[L([t.relativePosition],function(t){var n=(0,o.default)(t,1)[0];return p(n)})]))}))}})}}]),n})(h.Component);e.default=P,w(P,"defaultProps",{bounces:!0});var k=v.StyleSheet.create({container:{flex:1}})},1498,[4,1,27,8,9,10,12,11,13,15,18,1385]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.scrollEnabled=e.getHeightDevice=e.getWidthDevice=e.heightTabView=e.heightHeader=e.scaleWithPixel=e.enableExperimental=void 0;var t=r(d[0]),n=t.PixelRatio.get()/2;e.enableExperimental=function(){'android'===t.Platform.OS&&t.UIManager.setLayoutAnimationEnabledExperimental(!0),t.LayoutAnimation.configureNext(t.LayoutAnimation.Presets.easeInEaseOut)};e.scaleWithPixel=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.2;return t*(n>o?o:n)};var o=function(){var n=t.Dimensions.get('window').width,o=t.Dimensions.get('window').height,s=n>o;if('android'===t.Platform.OS)return 45;if(t.Platform.isPad)return 65;switch(o){case 375:case 414:case 812:case 896:return s?45:88;default:return s?45:65}};e.heightHeader=o;e.heightTabView=function(){var n=t.Dimensions.get('window').height,s=n-o();switch(n){case 375:case 414:case 812:case 896:s-=30}return s};e.getWidthDevice=function(){return t.Dimensions.get('window').width};e.getHeightDevice=function(){return t.Dimensions.get('window').height};e.scrollEnabled=function(n,s){return s>t.Dimensions.get('window').height-o()}},1499,[18]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Images=void 0;var o={userAvatar:r(d[0])};e.Images=o},1500,[1018]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var l=t(r(d[1])),o=t(r(d[2])),n=r(d[3]),h=t(r(d[4])),f=r(d[5]);function u(t){var h=t.header,u=t.title1,y=t.title2,b=t.title3,p=t.headline,c=t.body1,s=t.body2,S=t.callout,W=t.subhead,T=t.footnote,v=t.caption1,F=t.caption2,L=t.overline,O=t.thin,k=t.ultraLight,x=t.light,_=t.regular,A=t.medium,j=t.semibold,P=t.bold,E=t.heavy,M=t.black,q=t.numberOfLines,w=(t.textAlign,t.style),z=t.children;return o.default.createElement(n.Text,(0,l.default)({style:n.StyleSheet.flatten([h&&f.Typography.header,u&&f.Typography.title1,y&&f.Typography.title2,b&&f.Typography.title3,p&&f.Typography.headline,c&&f.Typography.body1,s&&f.Typography.body2,S&&f.Typography.callout,W&&f.Typography.subhead,T&&f.Typography.footnote,v&&f.Typography.caption1,F&&f.Typography.caption2,L&&f.Typography.overline,O&&n.StyleSheet.flatten({fontWeight:f.FontWeight.thin}),k&&n.StyleSheet.flatten({fontWeight:f.FontWeight.ultraLight}),x&&n.StyleSheet.flatten({fontWeight:f.FontWeight.light}),_&&n.StyleSheet.flatten({fontWeight:f.FontWeight.regular}),A&&n.StyleSheet.flatten({fontWeight:f.FontWeight.medium}),j&&n.StyleSheet.flatten({fontWeight:f.FontWeight.semibold}),P&&n.StyleSheet.flatten({fontWeight:f.FontWeight.bold}),E&&n.StyleSheet.flatten({fontWeight:f.FontWeight.heavy}),M&&n.StyleSheet.flatten({fontWeight:f.FontWeight.black}),w&&w])},t,{numberOfLines:q}),z)}u.propTypes={header:h.default.bool,title1:h.default.bool,title2:h.default.bool,title3:h.default.bool,headline:h.default.bool,body1:h.default.bool,body2:h.default.bool,callout:h.default.bool,subhead:h.default.bool,footnote:h.default.bool,caption1:h.default.bool,caption2:h.default.bool,overline:h.default.bool,thin:h.default.bool,ultraLight:h.default.bool,light:h.default.bool,regular:h.default.bool,medium:h.default.bool,semibold:h.default.bool,bold:h.default.bool,heavy:h.default.bool,black:h.default.bool,numberOfLines:h.default.number,textAlign:h.default.string,style:h.default.oneOfType([h.default.object,h.default.array]),children:h.default.node},u.defaultProps={header:!1,title1:!1,title2:!1,title3:!1,headline:!1,body1:!1,body2:!1,callout:!1,subhead:!1,footnote:!1,caption1:!1,caption2:!1,overline:!1,thin:!1,ultraLight:!1,light:!1,regular:!1,medium:!1,semibold:!1,bold:!1,heavy:!1,black:!1,numberOfLines:10,textAlign:'left',style:{},children:''}},1501,[1,6,15,18,68,1502]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Typography=e.FontWeight=void 0;var t=r(d[0]),o={thin:"100",ultraLight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",heavy:"800",black:"900"};e.FontWeight=o;var n=t.StyleSheet.create({header:{fontSize:34,fontWeight:o.regular},title1:{fontSize:28,fontWeight:o.regular},title2:{fontSize:22,fontWeight:o.regular},title3:{fontSize:20,fontWeight:o.regular},headline:{fontSize:17,fontWeight:o.regular},body1:{fontSize:17,fontWeight:o.regular},body2:{fontSize:14,fontWeight:o.regular},callout:{fontSize:17,fontWeight:o.regular},subhead:{fontSize:15,fontWeight:o.regular},footnote:{fontSize:13,fontWeight:o.regular},caption1:{fontSize:12,fontWeight:o.regular},caption2:{fontSize:11,fontWeight:o.regular},overline:{fontSize:10,fontWeight:o.regular}});e.Typography=n},1502,[18]); -__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=C;var o=l(r(d[1])),t=l(r(d[2])),u=l(r(d[3])),n=r(d[4]),f=r(d[5]),c=l(r(d[6])),y=l(r(d[7])),s=l(r(d[8]));function C(l){var c=l.style,C=l.styleCustomText,p=l.icon,b=l.outline,h=l.full,v=l.round,O=l.loading,T=l.children,S=(0,t.default)(l,["style","styleCustomText","icon","outline","full","round","loading","children"]);return u.default.createElement(n.TouchableOpacity,(0,o.default)({},S,{style:n.StyleSheet.flatten([[s.default.default,{backgroundColor:f.Color.primaryColor}],b&&[s.default.outline,{backgroundColor:f.Color.cardBackgroundColor,borderColor:f.Color.primaryColor}],h&&s.default.full,v&&s.default.round,c]),activeOpacity:.9}),p||null,u.default.createElement(y.default,{style:n.StyleSheet.flatten([s.default.textDefault,b&&{color:f.Color.primaryColor},C]),numberOfLines:1},T||"CustomButton"),O?u.default.createElement(n.ActivityIndicator,{size:"small",color:b?f.Color.primaryColor:f.Color.whiteColor,style:{paddingLeft:5}}):null)}C.propTypes={style:c.default.oneOfType([c.default.object,c.default.array]),icon:c.default.node,outline:c.default.bool,full:c.default.bool,round:c.default.bool,loading:c.default.bool},C.defaultProps={style:{},icon:null,outline:!1,full:!1,round:!1,loading:!1}},1503,[1,6,57,15,18,1504,68,1501,1505]); -__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Color=void 0;e.Color={primaryColor:"#6784B1",primaryLightColor:"#7698CC",primaryDarkColor:"#637EA5",containerBackgroundColor:"#EEEEEE",primaryDarkAdvancedColor:"#637B9E",cardBackgroundColor:"#ffffff",accentColor:"#D86F22",accentLightColor:"#e27833",purpleLightColor:"#9b59b6",reddeconnectColor:"#ba000d",grayColor:'#9B9B9B',dividerColor:'#BDBDBD',whiteColor:'#FFFFFF',fieldColor:'#F5F5F5',yellowColor:'#FDC60A',navyBlue:'#3C5A99',kashmir:'#5D6D7E',orangeColor:'#E5634D',blueColor:'#5DADE2',pinkColor:'#A569BD',greenColor:'#58D68D',yellowColor:'#FDC60A',textColor:'#212121',borderColor:'#c7c7cc'}},1504,[]); -__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]),c=r(d[3]),l=r(d[4]);function u(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}var f=n.StyleSheet.create({default:{height:56,borderRadius:8,flexDirection:"row",justifyContent:"center",alignItems:"center",paddingHorizontal:20},textDefault:(function(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:"number";t.setState({focused:o})},t._displayedFields=function(){var o=t.props,u=o.requiresName,n=o.requiresCVC,s=o.requiresPostalCode;return(0,y.default)(["number","expiry",n?"cvc":null,u?"name":null,s?"postalCode":null])},t._focusPreviousField=function(o){var u=t._displayedFields(),n=u.indexOf(o),s=u[n-1];s&&t.focus(s)},t._focusNextField=function(o){if("name"!==o){var u=t._displayedFields(),n=u.indexOf(o),s=u[n+1];s&&t.focus(s)}},t._change=function(o,u){t.setValues((0,n.default)({},o,u))},t._onFocus=function(o){t.focus(o),t.props.onFocus(o)},t.state={focused:"",values:{},status:{}},t}return(0,p.default)(b,o),(0,l.default)(b,[{key:"render",value:function(){return v.default.createElement(t,(0,u.default)({},this.props,this.state,{onFocus:this._onFocus,onChange:this._change,onBecomeEmpty:this._focusPreviousField,onBecomeValid:this._focusNextField}))}}]),b})(v.Component);return o.propTypes={autoFocus:b.default.bool,onChange:b.default.func.isRequired,onFocus:b.default.func,requiresName:b.default.bool,requiresCVC:b.default.bool,requiresPostalCode:b.default.bool,validatePostalCode:b.default.func},o.defaultProps={autoFocus:!1,onChange:function(){},onFocus:function(){},requiresName:!1,requiresCVC:!0,requiresPostalCode:!1,validatePostalCode:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.match(/^\d{6}$/)?"valid":t.length>6?"invalid":"incomplete"}},o},e.InjectedProps=void 0;var u=o(r(d[2])),n=o(r(d[3])),s=o(r(d[4])),l=o(r(d[5])),c=o(r(d[6])),f=o(r(d[7])),p=o(r(d[8])),v=t(r(d[9])),b=o(r(d[10])),h=o(r(d[11])),C=o(r(d[12])),y=o(r(d[13]));function P(t,o){var u=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),u.push.apply(u,n)}return u}function O(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return t.substr(0,n)},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,o=[0].concat(n).concat([t.length]);return o.map(function(n,u){if(0===u)return"";var s=o[u-1];return t.substr(s,n-s)}).filter(function(t){return""!==t}).join(" ")},v={gaps:[4,8,12],lengths:[16],code:{size:3}};e.default=function t(h){var p=this;(0,o.default)(this,t),this.formatValues=function(t){var n=u.default.number(t.number).card||v;return(0,l.default)({type:n.type,number:p._formatNumber(t.number,n),expiry:p._formatExpiry(t.expiry),cvc:p._formatCVC(t.cvc,n),name:(0,s.removeLeadingSpaces)(t.name),postalCode:(0,s.removeNonNumber)(t.postalCode)},p._displayedFields)},this._formatNumber=function(t,n){var o=(0,s.removeNonNumber)(t),u=n.lengths[n.lengths.length-1],l=c(o,u);return f(l,n.gaps)},this._formatExpiry=function(t){var n=c((0,s.removeNonNumber)(t),4);return n.match(/^[2-9]$/)?"0"+n:n.length>2?n.substr(0,2)+"/"+n.substr(2,n.length):n},this._formatCVC=function(t,n){var o=n.code.size;return c((0,s.removeNonNumber)(t),o)},this._displayedFields=[].concat((0,n.default)(h),["type"])}},1511,[1,33,8,1512,1548,1549]); -__d(function(g,r,i,a,m,e,d){'use strict';m.exports={number:r(d[0]),expirationDate:r(d[1]),expirationMonth:r(d[2]),expirationYear:r(d[3]),cvv:r(d[4]),postalCode:r(d[5])}},1512,[1513,1542,1545,1544,1546,1547]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),l=r(d[2]),u=r(d[3]),h=r(d[4]);function s(n,l,u){return t({},{card:n,isPotentiallyValid:l,isValid:u})}m.exports=function(t){var f,o,c,p,y;if(h(t)&&(t=String(t)),!n(t))return s(null,!1,!1);if(t=t.replace(/\-|\s/g,''),!/^\d*$/.test(t))return s(null,!1,!1);if(0===(f=u(t)).length)return s(null,!1,!1);if(1!==f.length)return s(null,!0,!1);for(c='unionpay'===(o=f[0]).type||l(t),y=Math.max.apply(null,o.lengths),p=0;p-1&&t%1==0&&t<=n}},1526,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),o=r(d[2]),p=r(d[3]),c=r(d[4]),h=Object.prototype.hasOwnProperty;m.exports=function(l){for(var u=c(l),f=u.length,s=f&&l.length,v=!!s&&p(s)&&(n(l)||t(l)),y=-1,O=[];++y-1&&u%1==0&&u0;++y2?u[c-2]:void 0,p=c>2?u[2]:void 0,y=c>1?u[c-1]:void 0;for('function'==typeof l?(l=n(l,y,5),c-=2):c-=(l='function'==typeof y?y:void 0)?1:0,p&&o(u[0],u[1],p)&&(l=c<3?void 0:l,c=1);++v=0;)n=parseInt(t.charAt(s),10),o&&(n*=2)>9&&(n=n%10+1),o=!o,c+=n,s--;return c%10==0}},1539,[]); -__d(function(g,r,i,a,m,e,d){'use strict';var t={},n=["visa","master-card","american-express","diners-club","discover","jcb","unionpay","maestro"];function s(t){var n,s,c;return t?(n=t.prefixPattern.source,s=t.exactPattern.source,(c=JSON.parse(JSON.stringify(t))).prefixPattern=n,c.exactPattern=s,c):null}function c(c){var p,o,x,y=[],P=[];if(!('string'==typeof c||c instanceof String))return[];for(x=0;x5?2:1,'1'===n[0]&&(u=n.substr(1),t(u).isPotentiallyValid||(o=2)),{month:l=n.substr(0,o),year:n.substr(l.length)})}},1543,[1544,1529]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=19;function s(t,n,s){return{isValid:t,isPotentiallyValid:n,isCurrentYear:s||!1}}m.exports=function(l){var u,c,o,f,p;return t(l)?''===l.replace(/\s/g,'')?s(!1,!0):/^\d*$/.test(l)?(c=l.length)<2?s(!1,!0):(u=(new Date).getFullYear(),3===c?s(!1,l.slice(0,2)===String(u).slice(0,2)):c>4?s(!1,!1):(l=parseInt(l,10),o=Number(String(u).substr(2,2)),2===c?(p=o===l,f=l>=o&&l<=o+n):4===c&&(p=u===l,f=l>=u&&l<=u+n),s(f,f,p))):s(!1,!1):s(!1,!1)}},1544,[1514]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);function n(t,n,s){return{isValid:t,isPotentiallyValid:n,isValidForThisYear:s||!1}}m.exports=function(s){var o,l,u=(new Date).getMonth()+1;return t(s)?''===s.replace(/\s/g,'')||'0'===s?n(!1,!0):/^\d*$/.test(s)?(o=parseInt(s,10),isNaN(s)?n(!1,!1):n(l=o>0&&o<13,l,l&&o>=u)):n(!1,!1):n(!1,!1)}},1545,[1514]); -__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=3;function l(n,t){for(var l=0;ll?n[u]:l;return l}function o(n,t){return{isValid:n,isPotentiallyValid:t}}m.exports=function(f,c){return c=(c=c||t)instanceof Array?c:[c],n(f)&&/^\d*$/.test(f)?l(c,f.length)?o(!0,!0):f.lengthu(c)?o(!1,!1):o(!0,!0):o(!1,!1)}},1546,[1514]); -__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=3;function u(t,n){return{isValid:t,isPotentiallyValid:n}}m.exports=function(l){return t(l)?l.length0&&void 0!==arguments[0]?arguments[0]:"").replace(/[^\d]/g,"")};e.removeLeadingSpaces=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/^\s+/g,"")}},1548,[]); -__d(function(g,r,i,a,m,e,d){var t=9007199254740991,n='[object Arguments]',o='[object Function]',c='[object GeneratorFunction]',u='[object Symbol]',l='object'==typeof g&&g&&g.Object===Object&&g,f='object'==typeof self&&self&&self.Object===Object&&self,b=l||f||Function('return this')();function s(t,n,o){switch(o.length){case 0:return t.call(n);case 1:return t.call(n,o[0]);case 2:return t.call(n,o[0],o[1]);case 3:return t.call(n,o[0],o[1],o[2])}return t.apply(n,o)}function y(t,n){for(var o=-1,c=t?t.length:0,u=Array(c);++o0&&o(b)?n>1?w(b,n-1,o,c,u):p(u,b):c||(u[u.length]=b)}return u}function x(t,n){return C(t=Object(t),n,function(n,o){return o in t})}function C(t,n,o){for(var c=-1,u=n.length,l={};++c-1&&n%1==0&&n<=t}function z(t){var n=typeof t;return!!t&&('object'==n||'function'==n)}function B(t){return!!t&&'object'==typeof t}function D(t){return'symbol'==typeof t||B(t)&&j.call(t)==u}var H,J,K=(H=function(t,n){return null==t?{}:x(t,y(w(n,1),E))},J=F(void 0===J?H.length-1:J,0),function(){for(var t=arguments,n=-1,o=F(t.length-J,0),c=Array(o);++n-1&&t%1==0&&t-1&&t%1==0&&t<=n}function I(n){var t=typeof n;return!!n&&('object'==t||'function'==t)}function P(n){return!!n&&'object'==typeof n}function $(n){return w(n)?O(n):F(n)}m.exports=function(n){return n?p(n,$(n)):[]}},1551,[]); -__d(function(g,r,i,a,m,e,d){var t='Expected a function',n='__lodash_hash_undefined__',o=1,u=2,c=9007199254740991,f='[object Arguments]',l='[object Array]',s='[object Boolean]',p='[object Date]',_='[object Error]',v='[object Function]',h='[object GeneratorFunction]',y='[object Map]',b='[object Number]',j='[object Object]',w='[object RegExp]',O='[object Set]',A='[object String]',k='[object Symbol]',S='[object ArrayBuffer]',$='[object DataView]',E=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x=/^\w*$/,F=/^\./,M=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P=/\\(\\)?/g,I=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,U={};U['[object Float32Array]']=U['[object Float64Array]']=U['[object Int8Array]']=U['[object Int16Array]']=U['[object Int32Array]']=U['[object Uint8Array]']=U['[object Uint8ClampedArray]']=U['[object Uint16Array]']=U['[object Uint32Array]']=!0,U[f]=U[l]=U[S]=U[s]=U[$]=U[p]=U[_]=U[v]=U[y]=U[b]=U[j]=U[w]=U[O]=U[A]=U["[object WeakMap]"]=!1;var z='object'==typeof g&&g&&g.Object===Object&&g,C='object'==typeof self&&self&&self.Object===Object&&self,L=z||C||Function('return this')(),W='object'==typeof e&&e&&!e.nodeType&&e,B=W&&'object'==typeof m&&m&&!m.nodeType&&m,D=B&&B.exports===W&&z.process,R=(function(){try{return D&&D.binding('util')}catch(t){}})(),V=R&&R.isTypedArray;function G(t,n){for(var o=-1,u=t?t.length:0;++o-1},xt.prototype.set=function(t,n){var o=this.__data__,u=Tt(o,t);return u<0?o.push([t,n]):o[u][1]=n,this},Ft.prototype.clear=function(){this.__data__={hash:new Et,map:new(ht||xt),string:new Et}},Ft.prototype.delete=function(t){return tr(this,t).delete(t)},Ft.prototype.get=function(t){return tr(this,t).get(t)},Ft.prototype.has=function(t){return tr(this,t).has(t)},Ft.prototype.set=function(t,n){return tr(this,t).set(t,n),this},Mt.prototype.add=Mt.prototype.push=function(t){return this.__data__.set(t,n),this},Mt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.clear=function(){this.__data__=new xt},Pt.prototype.delete=function(t){return this.__data__.delete(t)},Pt.prototype.get=function(t){return this.__data__.get(t)},Pt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.set=function(t,n){var o=this.__data__;if(o instanceof xt){var u=o.__data__;if(!ht||u.length<199)return u.push([t,n]),this;o=this.__data__=new Ft(u)}return o.set(t,n),this};var Ut,zt,Ct=(Ut=function(t,n){return t&&Wt(t,n,$r)},function(t,n){if(null==t)return t;if(!br(t))return Ut(t,n);for(var o=t.length,u=zt?o:-1,c=Object(t);(zt?u--:++u_))return!1;var h=s.get(t);if(h&&s.get(n))return h==n;var y=-1,b=!0,j=l&o?new Mt:void 0;for(s.set(t,n),s.set(n,t);++y<_;){var w=t[y],O=n[y];if(f)var A=p?f(O,w,y,n,t,s):f(w,O,y,t,n,s);if(void 0!==A){if(A)continue;b=!1;break}if(j){if(!N(n,function(t,n){if(!j.has(n)&&(w===t||c(w,t,f,l,s)))return j.add(n)})){b=!1;break}}else if(w!==O&&!c(w,O,f,l,s)){b=!1;break}}return s.delete(t),s.delete(n),b}function Yt(t,n,c,f,l,v,h){switch(c){case $:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case S:return!(t.byteLength!=n.byteLength||!f(new lt(t),new lt(n)));case s:case p:case b:return vr(+t,+n);case _:return t.name==n.name&&t.message==n.message;case w:case A:return t==n+'';case y:var j=K;case O:var E=v&u;if(j||(j=Q),t.size!=n.size&&!E)return!1;var x=h.get(t);if(x)return x==n;v|=o,h.set(t,n);var F=Xt(j(t),j(n),f,l,v,h);return h.delete(t),F;case k:if(St)return St.call(t)==St.call(n)}return!1}function Zt(t,n,o,c,f,l){var s=f&u,p=$r(t),_=p.length;if(_!=$r(n).length&&!s)return!1;for(var v=_;v--;){var h=p[v];if(!(s?h in n:it.call(n,h)))return!1}var y=l.get(t);if(y&&l.get(n))return y==n;var b=!0;l.set(t,n),l.set(n,t);for(var j=s;++v<_;){var w=t[h=p[v]],O=n[h];if(c)var A=s?c(O,w,h,n,t,l):c(w,O,h,t,n,l);if(!(void 0===A?w===O||o(w,O,c,f,l):A)){b=!1;break}j||(j='constructor'==h)}if(b&&!j){var k=t.constructor,S=n.constructor;k!=S&&'constructor'in t&&'constructor'in n&&!('function'==typeof k&&k instanceof k&&'function'==typeof S&&S instanceof S)&&(b=!1)}return l.delete(t),l.delete(n),b}function tr(t,n){var o,u,c=t.__data__;return('string'==(u=typeof(o=n))||'number'==u||'symbol'==u||'boolean'==u?'__proto__'!==o:null===o)?c['string'==typeof n?'string':'hash']:c.map}function rr(t){for(var n=$r(t),o=n.length;o--;){var u=n[o],c=t[u];n[o]=[u,c,cr(c)]}return n}function nr(t,n){var o=H(t,n);return Nt(o)?o:void 0}var er=function(t){return at.call(t)};function or(t,n,o){for(var u,c=-1,f=(n=ar(n,t)?[n]:Qt(n)).length;++c-1&&t%1==0&&t-1&&t%1==0&&t<=c}function wr(t){var n=typeof t;return!!t&&('object'==n||'function'==n)}function mr(t){return!!t&&'object'==typeof t}function Or(t){return'symbol'==typeof t||mr(t)&&at.call(t)==k}var Ar=V?(function(t){return function(n){return t(n)}})(V):function(t){return mr(t)&&jr(t.length)&&!!U[at.call(t)]};function kr(t,n,o){var u=null==t?void 0:Bt(t,n);return void 0===u?o:u}function Sr(t,n){return null!=t&&or(t,n,Dt)}function $r(t){return br(t)?It(t):qt(t)}function Er(t){return t}m.exports=function(t,n,o){var u,c,f,l,s,p=yr(t)?G:Lt;return o&&ir(t,n,o)&&(n=void 0),p(t,'function'==typeof(f=n)?f:null==f?Er:'object'==typeof f?yr(f)?Ht(f[0],f[1]):1==(c=rr(u=f)).length&&c[0][2]?fr(c[0][0],c[0][1]):function(t){return t===u||Gt(t,u,c)}:ar(s=f)?(l=sr(s),function(t){return null==t?void 0:t[l]}):Jt(s))}},1552,[]); -__d(function(g,r,i,a,m,e,d){m.exports=function(n){for(var t=-1,o=n?n.length:0,f=0,u=[];++t0&&{height:this.state.height},this.state.width>0&&{width:this.state.width}],flipHorizontal:this.props.flipHorizontal,flipVertical:this.props.flipVertical,perspective:this.props.perspective,onLayout:function(s){var p=s.nativeEvent.layout,o=(p.x,p.y,p.width),n=p.height,h=(0,l.default)(t.state.back,{width:o,height:n});t.setState({back:h}),t.state.mesured&&(t.props.alignHeight&&t.setState({height:Math.max(t.state.face.height,t.state.back.height)}),t.props.alignWidth&&t.setState({width:Math.max(t.state.face.width,t.state.back.width)}))}},s[1]):f.default.createElement(w,{style:[this.state.height>0&&{height:this.state.height},this.state.width>0&&{width:this.state.width}],onLayout:function(s){var p=s.nativeEvent.layout,o=(p.x,p.y,p.width),n=p.height,h=(0,l.default)(t.state.face,{width:o,height:n});t.setState({face:h}),t.state.mesured&&(t.props.alignHeight&&t.setState({height:Math.max(t.state.face.height,t.state.back.height)}),t.props.alignWidth&&t.setState({width:Math.max(t.state.face.width,t.state.back.width)}))}},s[0]),this.props.clickable){var n=0;return((this.props.alignHeight||this.props.alignWidth)&&this.state.mesured||!this.props.alignHeight&&!this.props.alignWidth)&&(n=1),f.default.createElement(v.TouchableOpacity,{style:{flex:1},testID:this.props.testID,activeOpacity:1,onPress:function(){t._toggleCard()}},f.default.createElement(v.Animated.View,(0,l.default)({},this.props,{style:[y.default.flipCard,{transform:p,opacity:n},this.props.style]}),o))}return f.default.createElement(v.Animated.View,(0,l.default)({},this.props,{style:[y.default.flipCard,{transform:p},this.props.style]}),o)}}]),s})(f.Component);e.default=b,b.propTypes={style:v.ViewPropTypes.style},b.propTypes={flip:c.default.bool,friction:c.default.number,perspective:c.default.number,flipHorizontal:c.default.bool,flipVertical:c.default.bool,clickable:c.default.bool,onFlipEnd:c.default.func,onFlipStart:c.default.func,alignHeight:c.default.bool,alignWidth:c.default.bool,useNativeDriver:c.default.bool,children:function(t,s,l){var p=t[s];if(2!==f.default.Children.count(p))return new Error('`'+l+"` should contain exactly two children. The first child represents the front of the card. The second child represents the back of the card.")}},b.defaultProps={flip:!1,friction:6,perspective:1e3,flipHorizontal:!1,flipVertical:!0,clickable:!0,onFlipEnd:function(){},onFlipStart:function(){},alignHeight:!1,alignWidth:!1,useNativeDriver:!0};var w=(function(t){function s(){return(0,p.default)(this,s),(0,n.default)(this,(0,h.default)(s).apply(this,arguments))}return(0,u.default)(s,t),(0,o.default)(s,[{key:"render",value:function(){return f.default.createElement(v.View,{style:[y.default.face,this.props.style],onLayout:this.props.onLayout},this.props.children)}}]),s})(f.Component);e.Face=w,w.propTypes={children:function(t,s,l){}};var k=(function(t){function s(){return(0,p.default)(this,s),(0,n.default)(this,(0,h.default)(s).apply(this,arguments))}return(0,u.default)(s,t),(0,o.default)(s,[{key:"render",value:function(){var t=[];return this.props.flipHorizontal&&(t.push({scaleX:-1}),"android"===v.Platform.OS&&t.push({perspective:this.props.perspective})),this.props.flipVertical&&(t.push({scaleY:-1}),"android"===v.Platform.OS&&t.push({perspective:this.props.perspective})),f.default.createElement(v.View,{style:[y.default.back,this.props.style,{transform:t}],onLayout:this.props.onLayout},this.props.children)}}]),s})(f.Component);e.Back=k,k.defaultProps={flipHorizontal:!1,flipVertical:!0,perspective:1e3},k.propTypes={flipHorizontal:c.default.bool,flipVertical:c.default.bool,perspective:c.default.number,children:function(t,s,l){}}},1567,[4,1,6,8,9,10,12,13,15,68,18,1568]); -__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).StyleSheet.create({flipCard:{flex:1},face:{flex:1},back:{flex:1}});e.default=t},1568,[18]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-credit-card-input/images",width:456,height:292,scales:[1],hash:"51f117706ff4cfc614abbc45a67afc4f",name:"card-front",type:"png"})},1569,[175]); -__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-credit-card-input/images",width:456,height:292,scales:[1],hash:"45c1d3c823f2e173bcd56271ce49848e",name:"card-back",type:"png"})},1570,[175]); -__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])),p=l(r(d[5])),s=l(r(d[6])),c=l(r(d[7])),f=t(r(d[8])),y=l(r(d[9])),v=r(d[10]),h=v.StyleSheet.create({baseInputStyle:{color:"black"}}),C=(function(t){function l(){var t,o;(0,n.default)(this,l);for(var u=arguments.length,c=new Array(u),f=0;f":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial"}'),o=JSON.parse('{"vi":{"\u0110":"D","\u0111":"d"}}');function t(t,u){if('string'!=typeof t)throw new Error('slugify: string argument expected');var s=o[(u='string'==typeof u?{replacement:u}:u||{}).locale]||{},c=u.replacement||'-',l=t.split('').reduce(function(o,t){return o+(s[t]||n[t]||t)},'').replace(u.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,'').trim().replace(new RegExp('[\\s'+c+']+','g'),c);return u.lower&&(l=l.toLowerCase()),u.strict&&(l=l.replace(new RegExp('[^a-zA-Z0-9'+c+']','g'),'')),l}return t.extend=function(o){for(var t in o)n[t]=o[t]},t},'object'==typeof e?(m.exports=o(),m.exports.default=o()):'function'==typeof define&&define.amd?define(o):n.slugify=o()},1574,[]); -__d(function(i,n,d,o,a,e,l){a.exports={name:"iLinkWorld",displayName:"iLinkWorld"}},1575,[]); +__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,'__esModule',{value:!0});var t,n=(t=r(d[0]))&&'object'==typeof t&&'default'in t?t.default:t,o=function(){return Math.random().toString(36).substring(7).split('').join('.')},u={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function c(t){if('object'!=typeof t||null===t)return!1;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}function f(t,n){var o=n&&n.type;return"Given "+(o&&"action \""+String(o)+"\""||'an action')+", reducer \""+t+"\" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined."}function s(t){Object.keys(t).forEach(function(n){var o=t[n];if(void 0===o(void 0,{type:u.INIT}))throw new Error("Reducer \""+n+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===o(void 0,{type:u.PROBE_UNKNOWN_ACTION()}))throw new Error("Reducer \""+n+"\" returned undefined when probed with a random type. Don't try to handle "+u.INIT+" or other actions in \"redux/*\" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function l(t,n){return function(){return n(t.apply(this,arguments))}}function p(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}function h(t,n){var o=Object.keys(t);return Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t)),n&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o}function y(t){for(var n=1;n=200&&t<300}};f.headers={common:{Accept:'application/json, text/plain, */*'}},t.forEach(['delete','get','head'],function(t){f.headers[t]={}}),t.forEach(['post','put','patch'],function(n){f.headers[n]=t.merge(o)}),m.exports=f},1486,[1478,1487,1488,1488]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(o,n){t.forEach(o,function(t,c){c!==n&&c.toUpperCase()===n.toUpperCase()&&(o[n]=t,delete o[c])})}},1487,[1478]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),s=r(d[2]),n=r(d[3]),u=r(d[4]),l=r(d[5]),p=r(d[6]);m.exports=function(f){return new Promise(function(c,h){var v=f.data,T=f.headers;t.isFormData(v)&&delete T['Content-Type'];var w=new XMLHttpRequest;if(f.auth){var y=f.auth.username||'',C=f.auth.password||'';T.Authorization='Basic '+btoa(y+':'+C)}var E=n(f.baseURL,f.url);if(w.open(f.method.toUpperCase(),s(E,f.params,f.paramsSerializer),!0),w.timeout=f.timeout,w.onreadystatechange=function(){if(w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf('file:'))){var t='getAllResponseHeaders'in w?u(w.getAllResponseHeaders()):null,s={data:f.responseType&&'text'!==f.responseType?w.response:w.responseText,status:w.status,statusText:w.statusText,headers:t,config:f,request:w};o(c,h,s),w=null}},w.onabort=function(){w&&(h(p('Request aborted',f,'ECONNABORTED',w)),w=null)},w.onerror=function(){h(p('Network Error',f,null,w)),w=null},w.ontimeout=function(){var t='timeout of '+f.timeout+'ms exceeded';f.timeoutErrorMessage&&(t=f.timeoutErrorMessage),h(p(t,f,'ECONNABORTED',w)),w=null},t.isStandardBrowserEnv()){var R=r(d[7]),x=(f.withCredentials||l(E))&&f.xsrfCookieName?R.read(f.xsrfCookieName):void 0;x&&(T[f.xsrfHeaderName]=x)}if('setRequestHeader'in w&&t.forEach(T,function(t,o){void 0===v&&'content-type'===o.toLowerCase()?delete T[o]:w.setRequestHeader(o,t)}),t.isUndefined(f.withCredentials)||(w.withCredentials=!!f.withCredentials),f.responseType)try{w.responseType=f.responseType}catch(t){if('json'!==f.responseType)throw t}'function'==typeof f.onDownloadProgress&&w.addEventListener('progress',f.onDownloadProgress),'function'==typeof f.onUploadProgress&&w.upload&&w.upload.addEventListener('progress',f.onUploadProgress),f.cancelToken&&f.cancelToken.promise.then(function(t){w&&(w.abort(),h(t),w=null)}),void 0===v&&(v=null),w.send(v)})}},1488,[1478,1489,1481,1492,1495,1496,1490,1497]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(s,u,n){var c=n.config.validateStatus;!c||c(n.status)?s(n):u(t('Request failed with status code '+n.status,n.config,null,n.request,n))}},1489,[1490]); +__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);m.exports=function(t,o,u,c,s){var f=new Error(t);return n(f,o,u,c,s)}},1490,[1491]); +__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(s,t,n,o,c){return s.config=t,n&&(s.code=n),s.request=o,s.response=c,s.isAxiosError=!0,s.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},s}},1491,[]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);m.exports=function(u,c){return u&&!t(c)?n(u,c):c}},1492,[1493,1494]); +__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},1493,[]); +__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t,c){return c?t.replace(/\/+$/,'')+'/'+c.replace(/^\/+/,''):t}},1494,[]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=['age','authorization','content-length','content-type','etag','expires','from','host','if-modified-since','if-unmodified-since','last-modified','location','max-forwards','proxy-authorization','referer','retry-after','user-agent'];m.exports=function(n){var f,s,c,u={};return n?(t.forEach(n.split('\n'),function(n){if(c=n.indexOf(':'),f=t.trim(n.substr(0,c)).toLowerCase(),s=t.trim(n.substr(c+1)),f){if(u[f]&&o.indexOf(f)>=0)return;u[f]='set-cookie'===f?(u[f]?u[f]:[]).concat([s]):u[f]?u[f]+', '+s:s}}),u):u}},1495,[1478]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=t.isStandardBrowserEnv()?(function(){var o,n=/(msie|trident)/i.test(navigator.userAgent),h=document.createElement('a');function s(t){var o=t;return n&&(h.setAttribute('href',o),o=h.href),h.setAttribute('href',o),{href:h.href,protocol:h.protocol?h.protocol.replace(/:$/,''):'',host:h.host,search:h.search?h.search.replace(/^\?/,''):'',hash:h.hash?h.hash.replace(/^#/,''):'',hostname:h.hostname,port:h.port,pathname:'/'===h.pathname.charAt(0)?h.pathname:'/'+h.pathname}}return o=s(window.location.href),function(n){var h=t.isString(n)?s(n):n;return h.protocol===o.protocol&&h.host===o.host}})():function(){return!0}},1496,[1478]); +__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);m.exports=n.isStandardBrowserEnv()?{write:function(t,o,u,s,c,p){var h=[];h.push(t+'='+encodeURIComponent(o)),n.isNumber(u)&&h.push('expires='+new Date(u).toGMTString()),n.isString(s)&&h.push('path='+s),n.isString(c)&&h.push('domain='+c),!0===p&&h.push('secure'),document.cookie=h.join('; ')},read:function(n){var t=document.cookie.match(new RegExp('(^|;\\s*)('+n+')=([^;]*)'));return t?decodeURIComponent(t[3]):null},remove:function(n){this.write(n,'',Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1497,[1478]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(o,n){n=n||{};var s={},c=['url','method','params','data'],f=['headers','auth','proxy'],u=['baseURL','url','transformRequest','transformResponse','paramsSerializer','timeout','withCredentials','adapter','responseType','xsrfCookieName','xsrfHeaderName','onUploadProgress','onDownloadProgress','maxContentLength','validateStatus','maxRedirects','httpAgent','httpsAgent','cancelToken','socketPath'];t.forEach(c,function(t){void 0!==n[t]&&(s[t]=n[t])}),t.forEach(f,function(c){t.isObject(n[c])?s[c]=t.deepMerge(o[c],n[c]):void 0!==n[c]?s[c]=n[c]:t.isObject(o[c])?s[c]=t.deepMerge(o[c]):void 0!==o[c]&&(s[c]=o[c])}),t.forEach(u,function(t){void 0!==n[t]?s[t]=n[t]:void 0!==o[t]&&(s[t]=o[t])});var p=c.concat(f).concat(u),h=Object.keys(n).filter(function(t){return-1===p.indexOf(t)});return t.forEach(h,function(t){void 0!==n[t]?s[t]=n[t]:void 0!==o[t]&&(s[t]=o[t])}),s}},1498,[1478]); +__d(function(g,r,i,a,m,e,d){'use strict';function t(t){this.message=t}t.prototype.toString=function(){return'Cancel'+(this.message?': '+this.message:'')},t.prototype.__CANCEL__=!0,m.exports=t},1499,[]); +__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);function o(o){if('function'!=typeof o)throw new TypeError('executor must be a function.');var t;this.promise=new Promise(function(n){t=n});var s=this;o(function(o){s.reason||(s.reason=new n(o),t(s.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var n;return{token:new o(function(o){n=o}),cancel:n}},m.exports=o},1500,[1499]); +__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(n){return function(t){return n.apply(null,t)}}},1501,[]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.fetchAuthKeyError=e.fetchAuthKeySuccess=e.fetchAuthKeyPending=void 0;var t=r(d[0]);e.fetchAuthKeyPending=function(){return{type:t.AUTH_KEY_PENDING}};e.fetchAuthKeySuccess=function(u){return{type:t.AUTH_KEY_SUCCESS,result:u}};e.fetchAuthKeyError=function(u){return{type:t.AUTH_KEY_ERROR,result:u}}},1502,[1503]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.AUTH_KEY_ERROR=e.AUTH_KEY_SUCCESS=e.AUTH_KEY_PENDING=void 0;e.AUTH_KEY_PENDING='AUTH_KEY_PENDING';e.AUTH_KEY_SUCCESS='AUTH_KEY_SUCCESS';e.AUTH_KEY_ERROR='AUTH_KEY_ERROR'},1503,[]); +__d(function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]);e.__esModule=!0;var o=t(r(d[1]));e.Provider=o.default;var c=t(r(d[2]));e.connectAdvanced=c.default;var s=r(d[3]);e.ReactReduxContext=s.ReactReduxContext;var u=t(r(d[4]));e.connect=u.default;var l=r(d[5]);e.useDispatch=l.useDispatch,e.createDispatchHook=l.createDispatchHook;var v=r(d[6]);e.useSelector=v.useSelector,e.createSelectorHook=v.createSelectorHook;var n=r(d[7]);e.useStore=n.useStore,e.createStoreHook=n.createStoreHook;var h=r(d[8]),S=r(d[9]);e.batch=S.unstable_batchedUpdates;var k=t(r(d[10]));e.shallowEqual=k.default,(0,h.setBatch)(S.unstable_batchedUpdates)},1504,[1505,1506,1512,1509,1521,1532,1535,1533,1511,1536,1522]); +__d(function(g,r,i,a,m,e,d){m.exports=function(n){return n&&n.__esModule?n:{default:n}}},1505,[]); +__d(function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]),n=r(d[1]);e.__esModule=!0,e.default=void 0;var u=n(r(d[2])),o=(t(r(d[3])),r(d[4])),s=t(r(d[5]));var c=function(t){var n=t.store,c=t.context,f=t.children,l=(0,u.useMemo)(function(){var t=new s.default(n);return t.onStateChange=t.notifyNestedSubs,{store:n,subscription:t}},[n]),v=(0,u.useMemo)(function(){return n.getState()},[n]);(0,u.useEffect)(function(){var t=l.subscription;return t.trySubscribe(),v!==n.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}},[l,v]);var b=c||o.ReactReduxContext;return u.default.createElement(b.Provider,{value:l},f)};e.default=c},1506,[1505,1507,15,68,1509,1510]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);function n(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return n=function(){return t},t}m.exports=function(o){if(o&&o.__esModule)return o;if(null===o||"object"!==t(o)&&"function"!=typeof o)return{default:o};var u=n();if(u&&u.has(o))return u.get(o);var f={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in o)if(Object.prototype.hasOwnProperty.call(o,p)){var l=c?Object.getOwnPropertyDescriptor(o,p):null;l&&(l.get||l.set)?Object.defineProperty(f,p,l):f[p]=o[p]}return f.default=o,u&&u.set(o,f),f}},1507,[1508]); +__d(function(g,r,i,a,m,e,d){function o(t){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.iterator:"@@iterator")?m.exports=o=function(o){return typeof o}:m.exports=o=function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==("function"==typeof Symbol?Symbol.prototype:"@@prototype")?"symbol":typeof o},o(t)}m.exports=o},1508,[]); +__d(function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]);e.__esModule=!0,e.default=e.ReactReduxContext=void 0;var u=t(r(d[1])).default.createContext(null);e.ReactReduxContext=u;var l=u;e.default=l},1509,[1505,15]); +__d(function(g,r,i,a,m,e,d){"use strict";e.__esModule=!0,e.default=void 0;var n=r(d[0]),t={notify:function(){}};var s=(function(){function s(n,s){this.store=n,this.parentSub=s,this.unsubscribe=null,this.listeners=t,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var u=s.prototype;return u.addNestedSub=function(n){return this.trySubscribe(),this.listeners.subscribe(n)},u.notifyNestedSubs=function(){this.listeners.notify()},u.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},u.isSubscribed=function(){return Boolean(this.unsubscribe)},u.trySubscribe=function(){var t,s,u;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=(t=(0,n.getBatch)(),s=null,u=null,{clear:function(){s=null,u=null},notify:function(){t(function(){for(var n=s;n;)n.callback(),n=n.next})},get:function(){for(var n=[],t=s;t;)n.push(t),t=t.next;return n},subscribe:function(n){var t=!0,h=u={callback:n,next:null,prev:u};return h.prev?h.prev.next=h:s=h,function(){t&&null!==s&&(t=!1,h.next?h.next.prev=h.prev:u=h.prev,h.prev?h.prev.next=h.next:s=h.next)}}}))},u.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=t)},s})();e.default=s},1510,[1511]); +__d(function(g,r,i,a,m,e,d){"use strict";e.__esModule=!0,e.getBatch=e.setBatch=void 0;var t=function(t){t()};e.setBatch=function(n){return t=n};e.getBatch=function(){return t}},1511,[]); +__d(function(g,r,i,a,m,e,d){"use strict";var t=r(d[0]),n=r(d[1]);e.__esModule=!0,e.default=function(t,n){void 0===n&&(n={});var p=n,M=p.getDisplayName,b=void 0===M?function(t){return"ConnectAdvanced("+t+")"}:M,x=p.methodName,E=void 0===x?'connectAdvanced':x,B=p.renderCountProp,D=void 0===B?void 0:B,P=p.shouldHandleStateChanges,_=void 0===P||P,A=p.storeKey,H=void 0===A?'store':A,K=(p.withRef,p.forwardRef),W=void 0!==K&&K,T=p.context,U=void 0===T?v.ReactReduxContext:T,I=(0,o.default)(p,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),L=U;return function(n){var p=n.displayName||n.name||'Component',v=b(p),M=(0,u.default)({},I,{getDisplayName:b,methodName:E,renderCountProp:D,shouldHandleStateChanges:_,storeKey:H,displayName:v,wrappedComponentName:p,WrappedComponent:n}),x=I.pure;function B(n){return t(n.dispatch,M)}var P=x?c.useMemo:function(t){return t()};function A(t){var f=(0,c.useMemo)(function(){var n=t.forwardedRef,u=(0,o.default)(t,["forwardedRef"]);return[t.context,n,u]},[t]),p=f[0],v=f[1],M=f[2],b=(0,c.useMemo)(function(){return p&&p.Consumer&&(0,l.isContextConsumer)(c.default.createElement(p.Consumer,null))?p:L},[p,L]),x=(0,c.useContext)(b),E=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),D=(Boolean(x)&&Boolean(x.store),E?t.store:x.store),A=(0,c.useMemo)(function(){return B(D)},[D]),H=(0,c.useMemo)(function(){if(!_)return h;var t=new s.default(D,E?null:x.subscription),n=t.notifyNestedSubs.bind(t);return[t,n]},[D,E,x]),K=H[0],W=H[1],T=(0,c.useMemo)(function(){return E?x:(0,u.default)({},x,{subscription:K})},[E,x,K]),U=(0,c.useReducer)(y,C,S),I=U[0],O=I[0],j=U[1];if(O&&O.error)throw O.error;var k=(0,c.useRef)(),q=(0,c.useRef)(M),z=(0,c.useRef)(),F=(0,c.useRef)(!1),G=P(function(){return z.current&&M===q.current?z.current:A(D.getState(),M)},[D,O,M]);R(w,[q,k,F,M,G,z,W]),R(N,[_,D,K,A,q,k,F,z,W,j],[D,K,A]);var J=(0,c.useMemo)(function(){return c.default.createElement(n,(0,u.default)({},G,{ref:v}))},[v,n,G]),Q=(0,c.useMemo)(function(){return _?c.default.createElement(b.Provider,{value:T},J):J},[b,J,T]);return Q}var K=x?c.default.memo(A):A;if(K.WrappedComponent=n,K.displayName=v,W){var T=c.default.forwardRef(function(t,n){return c.default.createElement(K,(0,u.default)({},t,{forwardedRef:n}))});return T.displayName=v,T.WrappedComponent=n,(0,f.default)(T,n)}return(0,f.default)(K,n)}};var u=n(r(d[2])),o=n(r(d[3])),f=n(r(d[4])),c=t(r(d[5])),l=r(d[6]),s=n(r(d[7])),p=r(d[8]),v=r(d[9]),C=[],h=[null,null];function y(t,n){var u=t[1];return[n.payload,u+1]}function R(t,n,u){(0,p.useIsomorphicLayoutEffect)(function(){return t.apply(void 0,n)},u)}function w(t,n,u,o,f,c,l){t.current=o,n.current=f,u.current=!1,c.current&&(c.current=null,l())}function N(t,n,u,o,f,c,l,s,p,v){if(t){var C=!1,h=null,y=function(){if(!C){var t,u,y=n.getState();try{t=o(y,f.current)}catch(t){u=t,h=t}u||(h=null),t===c.current?l.current||p():(c.current=t,s.current=t,l.current=!0,v({type:'STORE_UPDATED',payload:{error:u}}))}};u.onStateChange=y,u.trySubscribe(),y();return function(){if(C=!0,u.tryUnsubscribe(),u.onStateChange=null,h)throw h}}}var S=function(){return[null,0]}},1512,[1507,1505,1513,1514,1515,15,1518,1510,1520,1509]); +__d(function(g,r,i,a,m,e,d){function t(){return m.exports=t=Object.assign||function(t){for(var n=1;n=0||(o[f]=n[f]);return o}},1514,[]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},p={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},y={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},n={};function s(p){return t.isMemo(p)?y:n[p.$$typeof]||o}n[t.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n[t.Memo]=y;var c=Object.defineProperty,f=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,O=Object.getPrototypeOf,P=Object.prototype;m.exports=function t(o,y,n){if('string'!=typeof y){if(P){var v=O(y);v&&v!==P&&t(o,v,n)}var b=f(y);l&&(b=b.concat(l(y)));for(var j=s(o),T=s(y),$=0;$=0;u--){var p=o[u](t);if(p)return p}return function(o,u){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+u.wrappedComponentName+".")}}function P(t,o){return t===o}function E(t){var E=void 0===t?{}:t,q=E.connectHOC,S=void 0===q?u.default:q,h=E.mapStateToPropsFactories,w=void 0===h?l.default:h,M=E.mapDispatchToPropsFactories,T=void 0===M?s.default:M,C=E.mergePropsFactories,y=void 0===C?c.default:C,D=E.selectorFactory,F=void 0===D?f.default:D;return function(t,u,s,l){void 0===l&&(l={});var c=l,f=c.pure,E=void 0===f||f,q=c.areStatesEqual,h=void 0===q?P:q,M=c.areOwnPropsEqual,C=void 0===M?p.default:M,D=c.areStatePropsEqual,O=void 0===D?p.default:D,_=c.areMergedPropsEqual,N=void 0===_?p.default:_,H=(0,n.default)(c,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),B=v(t,w,'mapStateToProps'),I=v(u,T,'mapDispatchToProps'),b=v(s,y,'mergeProps');return S(F,(0,o.default)({methodName:'connect',getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:B,initMapDispatchToProps:I,initMergeProps:b,pure:E,areStatesEqual:h,areOwnPropsEqual:C,areStatePropsEqual:O,areMergedPropsEqual:N},H))}}var q=E();e.default=q},1521,[1505,1513,1514,1512,1522,1523,1528,1529,1530]); +__d(function(g,r,i,a,m,e,d){"use strict";function t(t,n){return t===n?0!==t||0!==n||1/t==1/n:t!=t&&n!=n}e.__esModule=!0,e.default=function(n,u){if(t(n,u))return!0;if('object'!=typeof n||null===n||'object'!=typeof u||null===u)return!1;var o=Object.keys(n),f=Object.keys(u);if(o.length!==f.length)return!1;for(var l=0;l=0||Object.prototype.propertyIsEnumerable.call(t,o)&&(s[o]=t[o])}return s}function v(t,n){if(null==t)return{};var o,u,s={},f=Object.keys(t);for(u=0;u=0||(s[o]=t[o]);return s}var b=5e3},1542,[1543,1544,1545,1546,1547]); +__d(function(g,r,i,a,m,e,d){"use strict";e.__esModule=!0,e.DEFAULT_VERSION=e.REGISTER=e.PURGE=e.PERSIST=e.PAUSE=e.REHYDRATE=e.FLUSH=e.KEY_PREFIX=void 0;e.KEY_PREFIX='persist:';e.FLUSH='persist/FLUSH';e.REHYDRATE='persist/REHYDRATE';e.PAUSE='persist/PAUSE';e.PERSIST='persist/PERSIST';e.PURGE='persist/PURGE';e.REGISTER='persist/REGISTER';e.DEFAULT_VERSION=-1},1543,[]); +__d(function(g,r,i,a,m,e,d){"use strict";function t(o){return(t="function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.iterator:"@@iterator")?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==("function"==typeof Symbol?Symbol.prototype:"@@prototype")?"symbol":typeof t})(o)}function o(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}function n(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:l,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case n.REGISTER:return f({},t,{registry:[].concat(o(t.registry),[c.key])});case n.REHYDRATE:var u=t.registry.indexOf(c.key),s=o(t.registry);return s.splice(u,1),f({},t,{registry:s,bootstrapped:0===s.length});default:return t}}},1550,[1472,1543]); +__d(function(g,r,i,a,m,e,d){"use strict";e.__esModule=!0,e.default=function(n,s){(s||{}).debug;return function(s,o){if(!s)return Promise.resolve(void 0);var u=s._persist&&void 0!==s._persist.version?s._persist.version:t.DEFAULT_VERSION;if(u===o)return Promise.resolve(s);if(u>o)return Promise.resolve(s);var c=Object.keys(n).map(function(t){return parseInt(t)}).filter(function(t){return o>=t&&t>u}).sort(function(t,n){return t-n});try{var f=c.reduce(function(t,s){return n[s](t)},s);return Promise.resolve(f)}catch(t){return Promise.reject(t)}}};var t=r(d[0])},1551,[1543]); +__d(function(g,r,i,a,m,e,d){"use strict";e.__esModule=!0,e.default=function(n,t){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=u.whitelist||null,f=u.blacklist||null;function o(n){return!(!l||-1!==l.indexOf(n))||!(!f||-1===f.indexOf(n))}return{in:function(t,u,l){return!o(u)&&n?n(t,u,l):t},out:function(n,u,l){return!o(u)&&t?t(n,u,l):n}}}},1552,[]); +__d(function(g,r,i,a,m,e,d){'use strict';function t(t){return function(n){var u=n.dispatch,c=n.getState;return function(n){return function(f){return'function'==typeof f?f(u,c,t):n(f)}}}}e.__esModule=!0;var n=t();n.withExtraArgument=t,e.default=n},1553,[]); +__d(function(g,r,i,a,m,e,d){var t,n,o=r(d[0]);t=this,n=function(t){"use strict";function n(t,n){t.super_=n,t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}function c(t,n){Object.defineProperty(this,"kind",{value:t,enumerable:!0}),n&&n.length&&Object.defineProperty(this,"path",{value:n,enumerable:!0})}function l(t,n,o){l.super_.call(this,"E",t),Object.defineProperty(this,"lhs",{value:n,enumerable:!0}),Object.defineProperty(this,"rhs",{value:o,enumerable:!0})}function u(t,n){u.super_.call(this,"N",t),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function f(t,n){f.super_.call(this,"D",t),Object.defineProperty(this,"lhs",{value:n,enumerable:!0})}function s(t,n,o){s.super_.call(this,"A",t),Object.defineProperty(this,"index",{value:n,enumerable:!0}),Object.defineProperty(this,"item",{value:o,enumerable:!0})}function p(t,n,o){var c=t.slice((o||n)+1||t.length);return t.length=n<0?t.length+n:n,t.push.apply(t,c),t}function h(t){var n=void 0===t?"undefined":T(t);return"object"!==n?n:t===Math?"math":null===t?"null":Array.isArray(t)?"array":"[object Date]"===Object.prototype.toString.call(t)?"date":"function"==typeof t.toString&&/^\/.*\//.test(t.toString())?"regexp":"object"}function v(t,n,o,c,y,b,w){y=y||[],w=w||[];var x=y.slice(0);if(void 0!==b){if(c){if("function"==typeof c&&c(x,b))return;if("object"===(void 0===c?"undefined":T(c))){if(c.prefilter&&c.prefilter(x,b))return;if(c.normalize){var S=c.normalize(x,b,t,n);S&&(t=S[0],n=S[1])}}}x.push(b)}"regexp"===h(t)&&"regexp"===h(n)&&(t=t.toString(),n=n.toString());var j=void 0===t?"undefined":T(t),k=void 0===n?"undefined":T(n),E="undefined"!==j||w&&w[w.length-1].lhs&&w[w.length-1].lhs.hasOwnProperty(b),A="undefined"!==k||w&&w[w.length-1].rhs&&w[w.length-1].rhs.hasOwnProperty(b);if(!E&&A)o(new u(x,n));else if(!A&&E)o(new f(x,t));else if(h(t)!==h(n))o(new l(x,t,n));else if("date"===h(t)&&t-n!=0)o(new l(x,t,n));else if("object"===j&&null!==t&&null!==n)if(w.filter(function(n){return n.lhs===t}).length)t!==n&&o(new l(x,t,n));else{if(w.push({lhs:t,rhs:n}),Array.isArray(t)){var D;for(t.length,D=0;D=n.length?o(new s(x,D,new f(void 0,t[D]))):v(t[D],n[D],o,c,x,D,w);for(;D=0?(v(t[l],n[l],o,c,x,l,w),N=p(N,f)):v(t[l],void 0,o,c,x,l,w)}),N.forEach(function(t){v(void 0,n[t],o,c,x,t,w)})}w.length=w.length-1}else t!==n&&("number"===j&&isNaN(t)&&isNaN(n)||o(new l(x,t,n)))}function y(t,n,o,c){return c=c||[],v(t,n,function(t){t&&c.push(t)},o),c.length?c:void 0}function b(t,n,o){if(o.path&&o.path.length){var c,l=t[n],u=o.path.length-1;for(c=0;c0&&void 0!==arguments[0]?arguments[0]:{},n=o({},H,t),c=n.logger,l=n.stateTransformer,u=n.errorTransformer,f=n.predicate,s=n.logErrors,p=n.diffPredicate;if(void 0===c)return function(){return function(t){return function(n){return t(n)}}};if(t.getState&&t.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(t){return function(n){return t(n)}}};var h=[];return function(t){var c=t.getState;return function(t){return function(v){if("function"==typeof f&&!f(c,v))return t(v);var y={};h.push(y),y.started=L.now(),y.startedTime=new Date,y.prevState=l(c()),y.action=v;var b=void 0;if(s)try{b=t(v)}catch(t){y.error=u(t)}else b=t(v);y.took=L.now()-y.started,y.nextState=l(c());var w=n.diff&&"function"==typeof p?p(c,v):n.diff;if(A(h,o({},n,{diff:w})),h.length=0,y.error)throw y.error;return b}}}}var O,N,P=function(t,n){return new Array(n+1).join(t)},C=function(t,n){return P("0",n-t.toString().length)+t},F=function(t){return C(t.getHours(),2)+":"+C(t.getMinutes(),2)+":"+C(t.getSeconds(),2)+"."+C(t.getMilliseconds(),3)},L="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,T="function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.iterator:"@@iterator")?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==("function"==typeof Symbol?Symbol.prototype:"@@prototype")?"symbol":typeof t},_=function(t){if(Array.isArray(t)){for(var n=0,o=Array(t.length);n0&&void 0!==arguments[0]?arguments[0]:{},n=t.dispatch,o=t.getState;return"function"==typeof n||"function"==typeof o?D()({dispatch:n,getState:o}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};t.defaults=H,t.createLogger=D,t.logger=R,t.default=R,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof e&&void 0!==m?n(e):"function"==typeof define&&define.amd?define(["exports"],n):n(t.reduxLogger=t.reduxLogger||{})},1554,[6]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;r(d[1]);var u=t(r(d[2])),l=t(r(d[3])),o=r(d[4]),c={key:'root',storage:r(d[5]).AsyncStorage,whitelist:['authKeyReducer'],blacklist:[]},s=(0,o.persistCombineReducers)(c,{walletReducer:u.default,authKeyReducer:l.default});e.default=s},1555,[1,1472,1556,1557,1541,18]); +__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]);function l(t,n){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);n&&(l=l.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),o.push.apply(o,l)}return o}function u(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:c,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case o.WALLET_LIST_PENDING:return u({},t,{loading:!0});case o.WALLET_LIST_SUCCESS:return u({},t,{loading:!1,result:n.result.data,error:null});case o.WALLET_LIST_ERROR:return u({},t,{loading:!1,result:null,error:n.result});default:return t}}},1556,[1,7,1539]); +__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]),u=r(d[3]);function l(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 c(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:y,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case o.AUTH_KEY_PENDING:return c({},t,{loading:!0});case o.AUTH_KEY_SUCCESS:return c({},t,{loading:!1,authKey:n.result.data,error:null});case o.AUTH_KEY_ERROR:return c({},t,{loading:!1,error:n.result});case u.REHYDRATE:return c({},t,{loading:!1,authKey:void 0!==n.payload?n.payload.authKeyReducer.authKey:null,error:null});default:return t}}},1557,[1,7,1503,1541]); +__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])),c=n(r(d[5])),f=n(r(d[6])),u=n(r(d[7])),y=t(r(d[8])),h=r(d[9]),E=n(r(d[10])),x=n(r(d[11])),w=r(d[12]),p=n(r(d[13])),v=r(d[14]),T=r(d[15]),D=n(r(d[16])),C=r(d[17]),b=(n(r(d[18])),r(d[19]),r(d[20])),L='white',A=r(d[21]),_=(r(d[22]),(function(t){function n(t){var o;(0,s.default)(this,n),(o=(0,c.default)(this,(0,f.default)(n).call(this,t))).styles=h.StyleSheet.create({container:{flex:1},btnstyle:{},simpleuser:{marginLeft:(0,w.responsiveWidth)(2),fontSize:16,color:'#3E3E3E'},textbtnstyle:{color:"white",fontWeight:"bold",fontSize:18},cardcontainer1:{justifyContent:'space-evenly',flex:2,marginRight:3,marginLeft:3},cardcontainer:{justifyContent:'space-evenly',flex:3,margin:3}}),o.item=o.props.navigation.getParam("item",null);var u='';return'1'===o.item.status?(1,L='#AEAEAE',u=D.default.t('TREAT_DEMAND')):(L='green',2,u=D.default.t('ACTION_TREAT_DEMAND')),o.state={statut:u,user:null,networks:[],loadingTreat:!1,color:L},(0,T.readUser)().then(function(t){var n;return l.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return n=[],s.next=3,l.default.awrap((0,C.getAgentNetworksList)(t.agentId));case 3:n=s.sent,o.setState({user:t,networks:n.networks});case 5:case"end":return s.stop()}},null,null,null,Promise)}),o}return(0,u.default)(n,t),(0,o.default)(n,[{key:"render",value:function(){var t=b.tz(this.item.date_creation,'Etc/GMT+0').format();return t=b(t),y.default.createElement(h.View,{style:this.styles.container},y.default.createElement(E.default,{style:this.styles.cardcontainer1},y.default.createElement(h.Text,{style:{fontSize:17,fontWeight:'bold',color:'black',marginLeft:(0,w.responsiveWidth)(5)}},D.default.t('MEMBER_INFO')),y.default.createElement(h.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},y.default.createElement(p.default,{name:"md-call",size:28,color:A.accent,style:{marginLeft:20}}),y.default.createElement(h.Text,{style:this.styles.simpleuser},this.item.phone)),y.default.createElement(h.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},y.default.createElement(p.default,{name:"md-person",size:28,color:A.accent,style:{marginLeft:20}}),y.default.createElement(h.Text,{style:this.styles.simpleuser},this.item.code_membre))),y.default.createElement(E.default,{style:this.styles.cardcontainer},y.default.createElement(h.Text,{style:{fontSize:17,fontWeight:'bold',color:'black',marginLeft:(0,w.responsiveWidth)(5)}},D.default.t('DEMAND_INFO')),y.default.createElement(h.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},y.default.createElement(p.default,{name:"md-git-branch",size:28,color:A.accent,style:{marginLeft:20}}),y.default.createElement(h.Text,{style:this.styles.simpleuser},this.item.code_parrain)),y.default.createElement(h.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},y.default.createElement(p.default,{name:"md-code-working",size:28,color:A.accent,style:{marginLeft:20}}),y.default.createElement(h.Text,{style:this.styles.simpleuser},this.item.reseau)),y.default.createElement(h.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},y.default.createElement(p.default,{name:"md-wallet",size:28,color:A.accent,style:{marginLeft:20}}),y.default.createElement(h.Text,{style:this.styles.simpleuser},this.item.montant)),y.default.createElement(h.View,{style:{flexDirection:'row',justifyContent:'flex-start'}},y.default.createElement(p.default,{name:"md-calendar",size:28,color:A.accent,style:{marginLeft:20}}),y.default.createElement(h.Text,{style:this.styles.simpleuser},t.format(" Do MMMM YYYY \xe0 HH:mm"))),y.default.createElement(h.View,{style:{flexDirection:'row',alignSelf:'flex-end',marginRight:20,justifyContent:'flex-start'}},y.default.createElement(p.default,{name:"md-time",size:28,color:A.accent}),y.default.createElement(h.Text,{style:{marginLeft:(0,w.responsiveWidth)(2),fontSize:16,color:A.accent}},t.fromNow()))),this.state.user?this.renderBtn():null)}},{key:"onTreatDemand",value:function(){var t=this;"1"!==this.item&&(this.setState({loadingTreat:!0}),console.warn(this.item),(0,v.updateCreditDemand)(this.item.phone,this.item.id).then(function(n){t.setState({loadingTreat:!1}),console.log(n),1===n.success?t.setState({statut:D.default.t('TREAT_DEMAND'),color:"#AEAEAE"}):console.log(n)}))}},{key:"renderBtn",value:function(){var t=this,n=this.state.user;if(console.warn(this.item),n&&this.item.code_parrain===n.code_membre)return y.default.createElement(x.default,{style:{borderColor:'transparent',borderRadius:6,marginLeft:5,marginRight:5,backgroundColor:this.state.color},isLoading:this.state.loadingTreat,onPress:function(){t.onTreatDemand()},textStyle:this.styles.textbtnstyle},this.state.statut)}}]),n})(y.Component));e.default=_,_.navigatorStyle={navBarBackgroundColor:A.accentLight,statusBarColor:A.accent,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},_.navigationOptions=function(t){return{drawerLabel:function(){return null},title:"Transaction N\xb0"+t.navigation.getParam("item",{id:"-"}).id}}},1558,[4,1,273,8,9,10,12,13,15,18,528,709,527,871,1149,711,712,1001,1139,840,1134,806,807]); +__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=t(r(d[8])),E=r(d[9]),y=n(r(d[10])),C=r(d[11]),b=r(d[12]),T=r(d[13]),p=r(d[14]),_=n(r(d[15])),x=(n(r(d[16])),r(d[17])),v=n(r(d[18])),I=n(r(d[19])),L=r(d[20]),S=r(d[21]);r(d[22]),r(d[23]),r(d[24]),r(d[25]),r(d[26]),r(d[27]),r(d[28]);r(d[29]);var w=r(d[30]);r(d[31]);r(d[32]);var k=r(d[33]),A=(function(t){function n(t){var c;return(0,l.default)(this,n),(c=(0,o.default)(this,(0,s.default)(n).call(this,t,!0)))._populateIcons=function(){return new Promise(function(t,n){Promise.all([_.default.getImageSource('users',30),_.default.getImageSource('chart-pie',30)]).then(function(n){n[0],n[0],t(n)}).catch(function(t){console.log(t),n(t)}).done()})},c.state=n.initState(),(0,p.readUser)().then(function(t){c.setState({user:t}),(0,T.listFreeCodesSuperViseur)(t.code_membre).then(function(t){console.log("codes",t),void 0!=t.success&&c.setState({freeCodes:t.networks})})}),(0,b.listAllMembers)().then(function(t){console.log(t),null!==t&&c.setState({listmembers:t,isLoading:!1,isRefreshing:!1})}),c._populateIcons().then(function(t){c.setState({usersicon:t[0],charticon:t[1]})}),(0,p.listDemandAdhesion)().then(function(t){console.log(t);var n=[];t.forEach(function(t){var l=!1;n.forEach(function(n){n.code_membre===t.code_membre&&(l=!0)}),l||n.push(t)}),console.log('filtered',n),void 0!==t&&c.setState({demands:n,isLoadingDemand:!1})}),w.IlinkEmitter.on("langueChange",c.updateLangue.bind((0,u.default)(c))),c}return(0,f.default)(n,t),(0,c.default)(n,null,[{key:"options",value:function(t){return{topBar:{rightButtons:[]}}}}]),(0,c.default)(n,[{key:"updateLangue",value:function(){this.props.navigation.setParams({name:v.default.t('GROUP_MANAGE')}),this.forceUpdate()}},{key:"render",value:function(){return h.default.createElement(E.View,{style:{flex:1,marginBottom:10}},h.default.createElement(E.StatusBar,{backgroundColor:"#00000030",barStyle:"light-content",translucent:!1}),h.default.createElement(L.IndicatorViewPager,{style:{flex:1},indicator:'hyper'===this.state.user.category?this._renderTabIndicatorAdmin():this._renderTabIndicator()},this.state.isLoading?this._renderLoadingItems():this._renderListMembers(),this.state.isLoadingDemand?this._renderLoadingItems():'hyper'===this.state.user.category?this._renderListDemandAdhesion():this._renderListCodeUnused()))}},{key:"_renderTabIndicatorAdmin",value:function(){var t=[{text:v.default.t('MEMBER_LIST'),iconSource:this.state.usersicon},{text:v.default.t('MEMBERSHIP_REQUEST'),iconSource:this.state.charticon}];return h.default.createElement(L.PagerTabIndicator,{style:{height:(0,C.responsiveHeight)(8)},tabs:t})}},{key:"_renderTabIndicator",value:function(){var t=[{text:v.default.t('MEMBER_LIST'),iconSource:this.state.usersicon}];return h.default.createElement(L.PagerTabIndicator,{style:{height:(0,C.responsiveHeight)(8)},tabs:t})}},{key:"_renderListMembers",value:function(){var t=this;return h.default.createElement(E.View,null,h.default.createElement(E.FlatList,{style:{flex:1,backgroundColor:'#EEE'},data:this.state.listmembers instanceof Array?this.state.listmembers:this.state.listmembers.datas?this.state.listmembers.datas:[],ListEmptyComponent:function(){return h.default.createElement(E.View,{style:{flex:1}},h.default.createElement(E.View,{style:{justifyContent:"center",alignItems:'center',marginTop:100}},h.default.createElement(I.default,{style:R.lottie,source:r(d[34]),autoPlay:!0,loop:!0}),h.default.createElement(E.Text,{style:R.text},v.default.t('NO_MEMBERS'))))},refreshControl:h.default.createElement(E.RefreshControl,{refreshing:this.state.isRefreshing,colors:[x.theme.primary,x.theme.purpleLight,x.theme.reddeconnect,x.theme.accentLight],onRefresh:function(){t.setState({isRefreshing:!0}),(0,b.listAllMembers)().then(function(n){console.log("from refresh",n),null!==n&&n.datas&&t.setState({listmembers:n,isLoading:!1,isRefreshing:!1})})}}),renderItem:function(n){var l=n.item;return t.renderMembers(l)}}))}},{key:"_renderLoadingItems",value:function(){return h.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.ProgressBarAndroid,null))}},{key:"renderMembers",value:function(t){var n=this,l=k.tz(t.created_at,'Etc/GMT+0').format();return l=k(l).fromNow(),h.default.createElement(S.Card,null,h.default.createElement(S.CardTitle,{title:t.lastname,subtitle:t.adresse}),h.default.createElement(S.CardContent,null,h.default.createElement(E.View,{Style:{flex:1,flexDirection:'row'}},h.default.createElement(E.View,{Style:{flex:1}}),h.default.createElement(E.View,{style:{flexDirection:'row',backgroundColor:x.theme.primary,marginRight:10,width:150,justifyContent:'center',alignItems:'center',borderRadius:10}},h.default.createElement(_.default,{name:"phone",color:"white",size:24,style:R.callIcon}),h.default.createElement(E.Text,{style:R.phone},t.phone)))),h.default.createElement(S.CardAction,{separator:!0,inColumn:!1},h.default.createElement(S.CardButton,{onPress:function(){E.Alert.alert(v.default.t("TITLE_SUPPRESS_CONFIRM"),v.default.t("TEXT_SUPPRESS_CONFIRM"),[{text:v.default.t('NO'),onPress:function(){}},{text:v.default.t('YES'),onPress:function(){(0,p.deleteUser)(t).then(function(){n.setState({isLoading:!0}),(0,b.listAllMembers)().then(function(t){console.log(t),null!==t&&n.setState({listmembers:t,isLoading:!1,isRefreshing:!1})})})},style:'cancel'}])},title:v.default.t('DELETE_GEOLOCATED_USER'),color:"crimson"})))}},{key:"_renderListDemandAdhesion",value:function(){var t=this;if('hyper'===this.state.user.category)return this.state.demands.length>0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.demands,renderItem:function(n){var l=n.item;return t._renderAddhesionItem(l)},refreshControl:h.default.createElement(E.RefreshControl,{refreshing:this.state.isRefreshing,colors:[x.theme.primary,x.theme.purpleLight,x.theme.reddeconnect,x.theme.accentLight],onRefresh:function(){t.setState({isRefreshing:!0}),(0,b.listAllMembers)().then(function(n){console.log("from refresh",n),null!==n&&n.datas&&t.setState({listmembers:n,isLoading:!1,isRefreshing:!1})})}}),ListEmptyComponent:function(){return h.default.createElement(E.View,{style:{flex:1}},h.default.createElement(E.View,{style:{justifyContent:"center",alignItems:'center',marginTop:100}},h.default.createElement(I.default,{style:R.lottie,source:r(d[34]),autoPlay:!0,loop:!0}),h.default.createElement(E.Text,{style:R.text},v.default.t('NO_MEMBERS'))))}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,v.default.t('NO_DEMAND_ADHESION')))}},{key:"_renderLoadingDemandItems",value:function(){var t=this;return this.state.freeCodes.length>0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.freeCodes,renderItem:function(n){var l=n.item;return t._renderAddhesionItem(l)}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,v.default.t('NO_GEO_POINT_CODE')))}},{key:"_renderAddhesionItem",value:function(t){var n=this;return h.default.createElement(S.Card,{style:{flex:1,height:(0,C.responsiveHeight)(30),backgroundColor:"white",marginBottom:10}},h.default.createElement(S.CardContent,{style:{height:(0,C.responsiveHeight)(20),flex:1,justifyContent:'space-evenly'}},h.default.createElement(E.View,null,h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},v.default.t('NAME')," :")," ",t.lastname),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},v.default.t('PHONE_NUMBER')," :")," ",t.phone),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},v.default.t('EMAIL')," :")," ",t.email),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},v.default.t('NETWORK')," :")," ",t.network))),h.default.createElement(S.CardAction,{separator:!0,inColumn:!1},h.default.createElement(S.CardButton,{title:v.default.t('ACTIVE_USER'),onPress:function(){(0,p.acceptDemandAdhesion)(t).then(function(l){E.Alert.alert(v.default.t('ACTIVATE_ACCOUNT'),v.default.t('THE_ACCOUNT')+' '+t.lastname+" "+v.default.t('ACTIVATED'),[{text:"Ok"}]);var o=n.state.demands;o.splice(o.indexOf(t),1),n.setState({demands:o})})},color:"green"}),h.default.createElement(S.CardButton,{title:v.default.t('DELETE_GEOLOCATED_USER'),color:"red",onPress:function(){}})))}},{key:"_renderListCodeUnused",value:function(){var t=this;return this.state.freeCodes.length>0?h.default.createElement(E.View,{style:{backgroundColor:'#EEEEEE',flex:1}},h.default.createElement(E.FlatList,{data:this.state.freeCodes,renderItem:function(n){var l=n.item;return t._renderFreeCodeItem(l)}})):h.default.createElement(E.View,{style:{backgroundColor:'white',flex:1,justifyContent:'center',alignItems:'center'}},h.default.createElement(E.Text,null,v.default.t('NO_GEO_POINT_CODE')))}},{key:"_renderFreeCodeItem",value:function(t){return console.log(t),h.default.createElement(E.View,{style:{flex:1,height:(0,C.responsiveHeight)(30),backgroundColor:"white",marginBottom:10}},h.default.createElement(E.View,{style:{height:(0,C.responsiveHeight)(20),flex:1,justifyContent:'space-evenly'}},h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"Contact :")," ",t.phone),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"code Membre :")," ",t.code_membre),h.default.createElement(E.Text,{style:{marginLeft:10}},h.default.createElement(E.Text,{style:{color:"black"}},"code Validation :")," ",t.validation_code)))}}],[{key:"initState",value:function(){return{enabledListMembers:!0,listmembers:[],usersicon:null,isLoadingDemand:!0,charticon:null,isRefreshing:!1,user:{},freeCodes:[],isLoading:!0}}}]),n})(y.default);e.default=A,A.navigatorStyle={tabBarHidden:!1,topTabTextColor:'#ffffff',topTabsHeight:70,topTabTextFontFamily:'BioRhyme-Bold',selectedTopTabTextColor:'#ff505c',statusBarColor:x.theme.primaryDark,navBarBackgroundColor:x.theme.primary,navBarTextColor:'white',navBarButtonColor:'white',topTabIconColor:'#ffffff',selectedTopTabIconColor:'#ff505c',selectedTopTabIndicatorHeight:2*E.PixelRatio.get(),selectedTopTabIndicatorColor:'#ff505c'},A.navigationOptions=function(t){var n=t.navigation;return{title:v.default.t("GROUP_MANAGE"),drawerLabel:n.getParam("name",v.default.t('GROUP_MANAGE')),drawerIcon:function(t){t.tintColor;return h.default.createElement(_.default,{name:'people',size:24})}}};var R=E.StyleSheet.create({container:{flex:1,backgroundColor:'white'},fromNow:{color:x.theme.accentLight},callIcon:{marginRight:5},phone:{textAlign:'center',color:"white"},balanceMember:{marginLeft:7,fontSize:18,fontWeight:"bold",color:x.theme.primary},balanceIcon:{},name:{color:'black',fontSize:20,margin:20,fontWeight:'bold'},surname:{fontSize:17,marginLeft:20},text:{fontSize:17,fontWeight:'bold'},lottie:{width:248,height:248}})},1559,[4,1,8,10,12,11,9,13,15,18,815,527,1560,1001,711,827,1561,815,712,832,937,1008,1142,1143,1144,1145,1146,1147,1148,840,766,808,807,1134,1565]); +__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.listAllMembers=void 0;var l=n(r(d[2])),o=(t(r(d[3])),r(d[4])),s=n(r(d[5])),c=r(d[6]);r(d[7]).DBEvents,r(d[8]);e.listAllMembers=function(){var t,n,u,p,b,f;return l.default.async(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,l.default.awrap((0,o.readUser)());case 2:if(null===(t=v.sent)){v.next=23;break}return n=s.default.currentLocale(),u={tag:"member",id:t.member_code,la:n,test:c.isDebugMode,codeparrain:t.code_membre,type:'all_geolocated'},v.next=8,l.default.awrap(fetch(c.memberActionUrl,{method:'POST',headers:{Accept:'application/json','Content-Type':'application/json'},body:JSON.stringify(u)}));case 8:return p=v.sent,b="",v.prev=10,v.next=13,l.default.awrap(p.text());case 13:return b=v.sent,v.abrupt("return",JSON.parse(b));case 17:return v.prev=17,v.t0=v.catch(10),console.log(v.t0),console.log("error when liste member",b),f={error:-3,content:v.t0,text:b},v.abrupt("return",f);case 23:return v.abrupt("return",null);case 24:case"end":return v.stop()}},null,null,[[10,17]],Promise)}},1560,[4,1,273,15,711,712,736,738,714]); +__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(t){for(var n=1;nt.props.sensitivity&&Math.abs(o.dy)<=t.props.sensitivity},onPanResponderGrant:this._handlePanResponderGrant,onPanResponderMove:this._handlePanResponderMove,onPanResponderRelease:this._handlePanResponderEnd,onPanResponderTerminate:this._handlePanResponderEnd,onShouldBlockNativeResponder:function(t,n){return!1},onPanResponderTerminationRequest:function(){return!1}})},componentWillReceiveProps:function(t){t.close&&this._close(),t.openRight&&this._openRight(),t.openLeft&&this._openLeft()},_handlePanResponderGrant:function(t,n){var o=this;this.props.disabled||(this.state.openedLeft||this.state.openedRight?this._callOnClose():this._callOnOpen(),this.refs.swipeoutContent.measure(function(t,n,s,h){var p=o.props.buttonWidth||s/5;o.setState({btnWidth:p,btnsLeftWidth:o.props.left?p*o.props.left.length:0,btnsRightWidth:o.props.right?p*o.props.right.length:0,swiping:!0,timeStart:(new Date).getTime()})}))},_handlePanResponderMove:function(t,n){if(!this.props.disabled){var o=n.dx,s=n.dy,h=this.state.btnsLeftWidth,p=this.state.btnsRightWidth;if(this.state.openedRight)o=n.dx-p;else if(this.state.openedLeft)o=n.dx+h;var l=Math.abs(o)>Math.abs(s);this.props.scroll&&(l?this.props.scroll(!1):this.props.scroll(!0)),this.state.swiping&&(o<0&&this.props.right?this.setState({contentPos:Math.min(o,0)}):o>0&&this.props.left&&this.setState({contentPos:Math.max(o,0)}))}},_handlePanResponderEnd:function(t,n){if(!this.props.disabled){var o=n.dx,s=this.state.contentPos,h=this.state.contentWidth,p=this.state.btnsLeftWidth,l=this.state.btnsRightWidth,u=.33*h,f=o>u||o>p/2,c=o<-u||o<-l/2;if(this.state.openedRight)c=o-u<-u;if(this.state.openedLeft)f=o+u>u;if((new Date).getTime()-this.state.timeStart<200)c=o<-u/10&&!this.state.openedLeft,f=o>u/10&&!this.state.openedRight;this.state.swiping&&(c&&s<0&&o<0?this._open(-l,'right'):f&&s>0&&o>0?this._open(p,'left'):this._close()),this.props.scroll&&this.props.scroll(!0)}},_tweenContent:function(t,o){this.tweenState(t,{easing:n.default.easingTypes.easeInOutQuad,duration:0===o?1.5*this.state.tweenDuration:this.state.tweenDuration,endValue:o})},_rubberBandEasing:function(t,n){return t<0&&t0&&t>n?n+Math.pow(t-n,.85):t},_autoClose:function(t){this.state.autoClose&&this._close();var n=t.onPress;n&&n()},_open:function(t,n){var o='left'===n,s=this.props,h=s.sectionID,p=s.rowID,l=s.onOpen;l&&l(h,p,n),this._tweenContent('contentPos',t),this.setState({contentPos:t,openedLeft:o,openedRight:!o,swiping:!1})},_close:function(){var t=this.props,n=t.sectionID,o=t.rowID,s=t.onClose;s&&(this.state.openedLeft||this.state.openedRight)&&s(n,o,this.state.openedRight?'right':'left');this._tweenContent('contentPos',0),this._callOnClose(),this.setState({openedRight:!1,openedLeft:!1,swiping:!1})},_callOnClose:function(){this.props.onClose&&this.props.onClose(this.props.sectionID,this.props.rowID)},_callOnOpen:function(){this.props.onOpen&&this.props.onOpen(this.props.sectionID,this.props.rowID)},_openRight:function(){var t=this;this.refs.swipeoutContent.measure(function(n,o,s,h){var p=t.props.buttonWidth||s/5;t.setState({btnWidth:p,btnsRightWidth:t.props.right?p*t.props.right.length:0},function(){t._tweenContent('contentPos',-t.state.btnsRightWidth),t._callOnOpen(),t.setState({contentPos:-t.state.btnsRightWidth,openedLeft:!1,openedRight:!0,swiping:!1})})})},_openLeft:function(){var t=this;this.refs.swipeoutContent.measure(function(n,o,s,h){var p=t.props.buttonWidth||s/5;t.setState({btnWidth:p,btnsLeftWidth:t.props.left?p*t.props.left.length:0},function(){t._tweenContent('contentPos',t.state.btnsLeftWidth),t._callOnOpen(),t.setState({contentPos:t.state.btnsLeftWidth,openedLeft:!0,openedRight:!1,swiping:!1})})})},render:function(){var n=this.state.contentWidth,o=this.getTweeningValue('contentPos'),p=[s.default.swipeout,this.props.style];this.props.backgroundColor&&p.push([{backgroundColor:this.props.backgroundColor}]);var l=-this.state.btnsRightWidth;if(o>0)l=this.state.btnsLeftWidth;var f={left:{left:0,overflow:'hidden',width:Math.min(l*(o/l),l)}},c={right:{left:Math.abs(n+Math.max(l,o)),right:0}},b={content:{transform:[{translateX:this._rubberBandEasing(o,l)}]}},w=[s.default.swipeoutContent];w.push(b.content);var y=[s.default.swipeoutBtns];y.push(c.right);var _=[s.default.swipeoutBtns];_.push(f.left);var R=o<0,v=o>0;return h.default.createElement(u.View,{style:p},h.default.createElement(u.View,t({ref:'swipeoutContent',style:w,onLayout:this._onLayout},this._panResponder.panHandlers),this.props.children),this._renderButtons(this.props.right,R,y),this._renderButtons(this.props.left,v,_))},_onLayout:function(t){var n=t.nativeEvent.layout,o=n.width,s=n.height;this.setState({contentWidth:o,contentHeight:s})},_renderButtons:function(t,n,o){return t&&n?h.default.createElement(u.View,{style:o},t.map(this._renderButton)):h.default.createElement(u.View,null)},_renderButton:function(t,n){var o=this;return h.default.createElement(c,{backgroundColor:t.backgroundColor,color:t.color,component:t.component,disabled:t.disabled,height:this.state.contentHeight,key:n,onPress:function(){return o._autoClose(t)},text:t.text,type:t.type,underlayColor:t.underlayColor,width:this.state.btnWidth})}});b.NativeButton=o.default,b.SwipeoutButton=c,e.default=b},1561,[1562,1563,1564,15,68,212,18]); +__d(function(g,r,i,a,m,e,d){var n,t;n=this,t=function(){return(function(n){function t(o){if(u[o])return u[o].exports;var c=u[o]={exports:{},id:o,loaded:!1};return n[o].call(c.exports,c,c.exports,t),c.loaded=!0,c.exports}var u={};return t.m=n,t.c=u,t.p="",t(0)})({0:function(n,t,u){n.exports=u(90)},1:function(n,t){function u(){v=!1,f.length?h=f.concat(h):p=-1,h.length&&o()}function o(){if(!v){var n=setTimeout(u);v=!0;for(var t=h.length;t;){for(f=h,h=[];++p1)for(var u=1;uv.duration?v.duration:Math.max(0,s-h);u+=(0===v.duration?v.endValue:v.easing(p,v.beginValue,v.endValue,v.duration))-v.endValue}}return u},_rafCb:function(){var n=this.state;if(0!==n.tweenQueue.length){for(var t=Date.now(),u=[],o=0;on?c*Math.pow(2,10*(n-=1))*Math.sin((n*o-f)*(2*Math.PI)/s)*-.5+t:c*Math.pow(2,-10*(n-=1))*Math.sin((n*o-f)*(2*Math.PI)/s)*.5+l+t)},easeInBack:function(n,t,u,o,c){return void 0===c&&(c=1.70158),(u-t)*(n/=o)*n*((c+1)*n-c)+t},easeOutBack:function(n,t,u,o,c){return void 0===c&&(c=1.70158),(u-t)*((n=n/o-1)*n*((c+1)*n+c)+1)+t},easeInOutBack:function(n,t,u,o,c){var s=u-t;return void 0===c&&(c=1.70158),(n/=o/2)<1?s/2*(n*n*((1+(c*=1.525))*n-c))+t:s/2*((n-=2)*n*((1+(c*=1.525))*n+c)+2)+t},easeInBounce:function(n,t,o,c){var s=o-t;return s-u.easeOutBounce(c-n,0,s,c)+t},easeOutBounce:function(n,t,u,o){var c=u-t;return(n/=o)<.36363636363636365?c*(7.5625*n*n)+t:.7272727272727273>n?c*(7.5625*(n-=.5454545454545454)*n+.75)+t:.9090909090909091>n?c*(7.5625*(n-=.8181818181818182)*n+.9375)+t:c*(7.5625*(n-=.9545454545454546)*n+.984375)+t},easeInOutBounce:function(n,t,o,c){var s=o-t;return c/2>n?.5*u.easeInBounce(2*n,0,s,c)+t:.5*u.easeOutBounce(2*n-c,0,s,c)+.5*s+t}};n.exports=u}})},"object"==typeof e&&"object"==typeof m?m.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof e?e.tweenState=t():n.tweenState=t()},1562,[]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0});var s=Object.assign||function(t){for(var s=1;s1e6)&&(n=!1),this.setState({visibleError:!n}),n){this.setState({isSending:!0});var l="",o="";(0,T.sendDemandeSpecificque)(this.state.montant,this.state.user.phoneTransaction,this.state.user.code_membre).then(function(n){void 0!==n.success&&1===n.success?(l=D.default.t('DEMAND_SEND'),o=D.default.t('DEMAND_SEND_SUCCESFUL')):(l="Erreur survenu lors de l'envoie ",o="Une erreur est survenu lors de l'envoie de la demande"),p.Alert.alert(l,o,[{text:'Ok',onPress:function(){t.setState({montant:""})}}]),setTimeout(function(){t.setState({isSending:!1})},800)}).catch(function(t){l="Erreur survenu lors de l'envoie ",o="Une erreur est survenu lors de l'envoie de la demande",p.Alert.alert(l,o,[{text:'Ok'}])})}else this.montantView.shake(800),setTimeout(function(){t.setState({visibleError:!1})},3e3)}},{key:"render",value:function(){var t=this.state.user;return h.default.createElement(p.View,{style:{flex:1,alignItems:'center',backgroundColor:"lightgrey",paddingTop:(0,v.responsiveHeight)(10)}},h.default.createElement(p.StatusBar,{translucent:!1}),t?"geolocated"===t.category?this.multiNetwork():this.simpleAgent():h.default.createElement(p.ProgressBarAndroid,null))}},{key:"simpleAgent",value:function(){var t=this;return h.default.createElement(p.View,{style:{height:200}},h.default.createElement(A.Card,{style:{width:(0,v.responsiveWidth)(96),paddingTop:20}},h.default.createElement(A.CardContent,null,h.default.createElement(p.View,null,h.default.createElement(w.View,{ref:this.handleMontantRef},h.default.createElement(x.TextInput,{label:D.default.t('AMOUNT'),keyboardType:"numeric",style:I.selfitem,ref:function(n){t.refInp=n},mode:"outlined",inputStyle:I.style,onChangeText:function(n){try{var l=parseInt(n);t.setState({montant:l,isDisabled:isNaN(l)})}catch(t){}},value:this.state.montant}),h.default.createElement(x.HelperText,{type:"error",visible:this.state.visibleError},D.default.t('INVALID_MONTANT'))))),h.default.createElement(A.CardAction,{separator:!0,inColumn:!1},h.default.createElement(A.CardButton,{onPress:function(){t.onUserCancel()},title:D.default.t('CANCEL'),color:"crimson"}),h.default.createElement(A.CardButton,{onPress:function(){t.onUserSend()},title:D.default.t('SEND'),color:"steelblue"}))))}},{key:"multiNetwork",value:function(){var t=this;return h.default.createElement(p.View,{style:{height:250,justifyContent:'center'}},h.default.createElement(A.Card,{style:{width:(0,v.responsiveWidth)(96),justifyContent:'center'}},h.default.createElement(A.CardContent,null,h.default.createElement(p.View,{style:{flex:1}},h.default.createElement(p.View,{style:{flexDirection:'row'}},h.default.createElement(p.Picker,{selectedValue:this.state.currentNetwork,prompt:D.default.t("SELECT_NETWORK"),style:{height:50,flex:1,marginLeft:20},itemStyle:U.subtitle,onValueChange:function(n,l){return t.setState({currentNetwork:n})}},this.state.networks.map(function(t,n){return h.default.createElement(p.Picker.Item,{label:t.nt?D.default.t("SELECT_NETWORK"):D.default.t("FOR_NUMB")+t.phone+" ("+t.name+")",value:t})}))),h.default.createElement(w.View,{ref:this.handleMontantRef},h.default.createElement(x.TextInput,{label:D.default.t('AMOUNT'),keyboardType:"numeric",style:I.selfitem,ref:function(n){t.refInp=n},mode:"outlined",inputStyle:I.style,onChangeText:function(n){try{var l=parseInt(n);t.setState({montant:l,isDisabled:isNaN(l)})}catch(t){}},value:this.state.montant}),h.default.createElement(x.HelperText,{type:"error",visible:this.state.visibleError},D.default.t('INVALID_MONTANT'))))),h.default.createElement(A.CardAction,{separator:!0,inColumn:!1},h.default.createElement(A.CardButton,{onPress:function(){t.onUserCancel()},title:D.default.t('CANCEL'),color:"crimson"}),h.default.createElement(A.CardButton,{onPress:function(){var n=t.state,l=n.currentNetwork,o=n.montant;void 0!==l&&void 0===l.nt&&t.onNetworkSend(l.phone,l.code_membre,o)},title:D.default.t('SEND'),color:"steelblue"}))))}},{key:"renderSingleNetwork",value:function(t){var n=this,l=t.item;console.log(t);var o=null,s=null,u=0;return h.default.createElement(p.View,{style:U.container2},h.default.createElement(E.default,{style:U.cardInput2},h.default.createElement(p.View,null,h.default.createElement(p.Text,{style:U.title},D.default.t('ASK_CREDIT')),h.default.createElement(p.Text,{style:U.subtitle},D.default.t("FOR_NUMB")," ",l.phone," (",l.name,")"),h.default.createElement(w.View,{ref:this.handleMontantRef},h.default.createElement(S.Sae,{label:D.default.t('AMOUNT'),iconClass:y.default,iconName:'dollar',iconColor:C.primary,ref:function(t){o=t,n.setState({refIn:o})},inputStyle:I.style,value:this.state.montant,keyboardType:"numeric",onChangeText:function(t){if(t.length>0)try{u=parseFloat(t),n.setStat({montant:u}),s&&(s.setState({isDisabled:u>0}),s.isDisabled=u>0)}catch(t){}},style:I.selfitem,labelStyle:I.label,autoCapitalize:'none',autoCorrect:!1}))),h.default.createElement(p.View,{style:U.btnContainer},h.default.createElement(b.default,{style:U.button_1,textStyle:U.button_1_text,onPress:function(){return n.onUserCancel()}},D.default.t('CANCEL')),h.default.createElement(b.default,{ref:function(t){s=t},style:U.button_2,textStyle:U.button_2_text,onPress:function(){n.onNetworkSend(l.phone,l.code_membre,o.state.value,o,s)}},D.default.t('SEND')))))}},{key:"onNetworkSend",value:function(t,n,l){var o=this,s=!0,u=parseFloat(l);(null===u||!(0,N.isNumber)(u)||u>1e6)&&(s=!1),this.setState({visibleError:!s}),s?(0,T.sendDemandeSpecificque)(u,t,n).then(function(t){var n="",l="";void 0!==t.success&&1===t.success?(n=D.default.t("DEMAND_SEND"),l=D.default.t('DEMAND_SEND_SUCCESFUL')):(n="Erreur survenu lors de l'envoie ",l="Une erreur est survenu lors de l'envoie de la demande"),p.Alert.alert(n,l,[{text:"Ok",onPress:function(){o.setState({montant:""})}}])}):(this.montantView.shake(800),setTimeout(function(){o.setState({visibleError:!1})},3e3))}},{key:"updateState",value:function(){var t,n,o;return l.default.async(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,l.default.awrap((0,k.readUser)());case 2:if("geolocated"!==(t=s.sent).category){s.next=9;break}return s.next=6,l.default.awrap((0,_.getAgentNetworksList)(t.agentId));case 6:n=s.sent,console.log(n),1===n.success&&(o=[this.state.currentNetwork],n.networks.forEach(function(t){o.push(t)}),this.setState({networks:o}));case 9:this.setState({user:t});case 10:case"end":return s.stop()}},null,this,null,Promise)}}]),n})(h.Component));e.default=V,V.navigatorStyle={navBarHidden:!0},V.navigationOptions={drawerLabel:function(){return null},headerTitle:D.default.t('ASK_CREDIT'),title:D.default.t('ASK_CREDIT')};var I=p.StyleSheet.create({selfitem:{width:(0,v.responsiveWidth)(70),alignSelf:'center',marginBottom:20},label:{color:C.primary},style:{color:'black'}}),U=p.StyleSheet.create({title:{backgroundColor:C.primary,color:'white',paddingLeft:20,paddingTop:10,fontWeight:'bold',fontSize:(0,v.responsiveFontSize)(3),height:(0,v.responsiveHeight)(10)},subtitle:{color:'black',paddingLeft:20,paddingTop:10,marginBottom:(0,v.responsiveHeight)(3),fontWeight:'bold',fontSize:(0,v.responsiveFontSize)(2)},container:{flex:1,backgroundColor:'#EEE',justifyContent:'space-between'},container2:{flex:1,height:(0,v.responsiveHeight)(20),backgroundColor:'#EEE'},btnContainer:{flexDirection:'row',paddingRight:5,paddingLeft:5,paddingTop:5,marginBottom:-2.5},button_1:{flex:1,borderColor:'transparent'},button_2:{flex:1,borderColor:'transparent',backgroundColor:C.primary,borderRadius:0},button_1_text:{color:C.primary,fontWeight:'bold'},button_2_text:{color:'white',fontWeight:'bold'},cardInput:{marginLeft:10,marginRight:10,marginTop:(0,v.responsiveHeight)(5),width:(0,v.responsiveWidth)(98),alignSelf:'center',justifyContent:'space-between',height:(0,v.responsiveHeight)(40)},cardInput2:{marginLeft:10,marginRight:10,marginTop:(0,v.responsiveHeight)(1),width:(0,v.responsiveWidth)(98),height:(0,v.responsiveHeight)(50),alignSelf:'center',justifyContent:'space-between'}})},1566,[4,1,273,8,9,10,12,13,15,18,524,950,527,528,696,531,709,806,743,719,711,1149,1149,1001,1029,712,1008,807]); +__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])),l=n(r(d[3])),u=n(r(d[4])),s=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),h=n(r(d[8])),p=t(r(d[9])),v=r(d[10]),b=r(d[11]),y=(t(r(d[12])),n(r(d[13]))),S=n(r(d[14])),C=r(d[15]),k=r(d[16]),w=(t(r(d[17])),n(r(d[18]))),x=r(d[19]),E=r(d[20]);r(d[21]);r(d[22]);var T=(function(t){function n(t){var o;return(0,l.default)(this,n),(o=(0,u.default)(this,(0,s.default)(n).call(this,t))).state=o.generateState(),x.IlinkEmitter.on("langueChange",o.updateLangue.bind((0,c.default)(o))),o}return(0,h.default)(n,t),(0,f.default)(n,[{key:"updateLangue",value:function(){this.props.navigation.setParams({name:y.default.t('CHANGE_INFORMATION')}),this.forceUpdate()}}],[{key:"options",value:function(t){return{topBar:{title:{text:""},backButton:{visible:!0,color:"white"},buttonsRight:[],buttonColor:"white",background:{color:E.primaryDark}}}}}]),(0,f.default)(n,[{key:"generateState",value:function(){return{isLoading:!1,notifi:!1}}},{key:"render",value:function(){var t=this;return p.default.createElement(v.View,{style:A.container},p.default.createElement(v.StatusBar,{backgroundColor:"#00000030",barStyle:"light-content",translucent:!0}),p.default.createElement(v.ScrollView,{style:{flex:1,paddingTop:30}},p.default.createElement(v.View,{style:A.appContainer},p.default.createElement(v.Image,{source:r(d[23]),style:{width:(0,k.responsiveWidth)(90),resizeMode:"contain"}})),p.default.createElement(v.Text,{style:A.title},y.default.t('ADD_NETWORK')),p.default.createElement(b.Fumi,{iconClass:S.default,iconName:"code",labelStyle:A.labelInput,inputStyle:{color:'black'},value:this.state.validateCode,label:y.default.t('SPONSOR_CODE'),onChangeText:function(n){return t.setState({validateCode:n})},style:A.input}),p.default.createElement(b.Fumi,{label:y.default.t('PHONE'),iconClass:S.default,iconName:'phone',iconColor:'white',style:A.input,autoCapitalize:'none',keyboardType:"phone-pad",autoCorrect:!1,value:this.state.enterPhone,inputStyle:{color:'black'},ref:function(n){t.numberRef=n},onChangeText:function(n){return t.setState({enterPhone:n})},labelStyle:A.labelInput}),p.default.createElement(w.default,{style:A.btnStyle,textStyle:A.btnTextStyle,isLoading:this.state.isLoading,onPress:function(){return t.validateNetwork()}},y.default.t('VALIDATE'))))}},{key:"validateNetwork",value:function(){var t,n,l,u,s=this;return o.default.async(function(c){for(;;)switch(c.prev=c.next){case 0:if(t=this.state,n=t.validateCode,t.isLoading,l=t.enterPhone,void 0===n||null===n||null===l){c.next=8;break}return this.setState({isLoading:!0}),c.next=5,o.default.awrap((0,C.AssignAgentGeo)(n,l));case 5:u=c.sent,this.setState({isLoading:!1}),u&&(void 0!==u.success?v.Alert.alert(y.default.t('ADD_SUCCES'),y.default.t('ADD_SUCCESS_TEXT'),[{text:'OK',onPress:function(){s.setState({validateCode:"",enterPhone:""})}}]):u.error?(u.error,v.Alert.alert("Une erreur est survenu",u.error_msg,[{text:"Ok",onPress:function(){}}])):u.error&&(u.error,v.Alert.alert("Une erreur est survenu","Verifier que les champs sont bien rempli",[{text:"Ok",onPress:function(){}}])));case 8:case"end":return c.stop()}},null,this,null,Promise)}}]),n})(p.Component);e.default=T,T.navigatorStyle={navBarBackgroundColor:E.primaryDark,navBarTextColor:'white',navBarButtonColor:'white',drawUnderStatusBar:!1,statusBarColor:E.primaryDarkAdvanced,statusBarTextColorScheme:'light'},T.navigationOptions=function(t){return{drawerLabel:t.navigation.getParam("name",y.default.t('ADD_NETWORK')),drawerIcon:function(t){t.tintColor;return p.default.createElement(S.default,{name:'user',size:24})}}};var A=v.StyleSheet.create({btnHelpText:{color:'white',fontWeight:'bold'},btnHelp:{width:(0,k.responsiveWidth)(10),marginTop:(0,k.responsiveHeight)(10),alignSelf:'flex-end',marginRight:20,borderColor:'transparent',backgroundColor:E.primaryDark},btnTextStyle:{color:"white",fontWeight:'bold'},btnStyle:{alignSelf:'center',width:(0,k.responsiveWidth)(95),marginTop:20,borderColor:'transparent',backgroundColor:E.primaryDarkAdvanced,height:(0,k.responsiveHeight)(8)},appContainer:{flexDirection:'row',justifyContent:'center',alignItems:'center'},container:{alignItems:'center',justifyContent:'center',alignSelf:'center',flex:1,width:(0,k.responsiveWidth)(100),height:(0,k.responsiveHeight)(100),backgroundColor:E.primary},input:{height:(0,k.responsiveHeight)(10),width:(0,k.responsiveWidth)(90),borderRadius:10,marginTop:20,color:"black"},logo:{width:128,height:128},nameApp:{fontSize:27,fontWeight:'bold',color:'white'},title:{fontSize:22,fontWeight:'bold',margin:10,color:'white'},subtitle:{fontSize:20,margin:10,color:'white'}})},1567,[4,1,273,8,10,12,11,9,13,15,18,696,743,712,1002,711,527,950,709,766,806,808,807,814]); +__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=t(r(d[7])),h=r(d[8]),y=n(r(d[9])),S=n(r(d[10])),p=r(d[11]),E=r(d[12]),v=(r(d[13]),r(d[14])),b=(n(r(d[15])),n(r(d[16])),n(r(d[17]))),D=r(d[18]),T=n(r(d[19]));r(d[20]),r(d[21]);n(r(d[22]));var k=r(d[23]),L=r(d[24]),_=n(r(d[25])),C=(r(d[26]),r(d[27]),r(d[28]),n(r(d[29]))),x=r(d[30]),M=r(d[13]),I=r(d[23]);r(d[31]);var w=(function(t){function n(t){var o;return(0,l.default)(this,n),(o=(0,s.default)(this,(0,u.default)(n).call(this,t,!0)))._populateIcons=function(){return new Promise(function(t,n){Promise.all([S.default.getImageSource('sort',30),S.default.getImageSource('layer-group',30)]).then(function(n){n[0],n[1],t(!0)}).catch(function(t){console.log(t),n(t)}).done()})},o._openMenu=function(){return o.setState({visibleMenu:!0})},o._closeMenu=function(){return o.setState({visibleMenu:!1})},o._showDateTimePicker=function(t){1===t?o.setState({isDateTimePickerVisible:!0}):o.setState({isDateEndTimePickerVisible:!0})},o._showDateEndPicker=function(){return o.setState({isDateEndTimePickerVisible:!0})},o._hideDateTimePicker=function(){return o.setState({isDateTimePickerVisible:!1,isDateEndTimePickerVisible:!1})},o.state=o.initState(),(0,D.readUser)().then(function(t){o.setState({user:t})}),o._populateIcons().then(function(){}),o.navigation=o.props.navigation,o}return(0,c.default)(n,t),(0,o.default)(n,[{key:"navigationButtonPressed",value:function(t){var n=t.buttonId;'id'===n?this.showFilter():'sectionned'===n&&this.setState({isSectionned:!this.state.isSectionned})}},{key:"showFilter",value:function(){}},{key:"initState",value:function(){return{user:{},listdata:[],listdataSend:[],conserve:[],count:0,translateAnim:new h.Animated.Value(0),visibleMenu:!1,appState:h.AppState.currentState,filter:!1,sortIcons:null,panelVisible:!1,filder_disable:!0,datestartformated:'La date de debut',dateendformated:'La date de fin',datestart:null,dateend:null,isLoaded:!1,isSectionned:!1,isDateTimePickerVisible:!1,isDateEndTimePickerVisible:!1}}},{key:"updateList",value:function(t){if(!this.state.filter){var n=t.reverse();this.setState({listdata:n,conserve:n,isLoaded:!0})}}},{key:"updateMyList",value:function(t){if(!this.state.filter){var n=t.reverse();this.setState({listdataSend:n,conserve:n,isLoaded:!0})}}},{key:"componentDidMount",value:function(){var t=this,n=this.navigation.state.routeName;this.setState({position:"myDemand"===n?0:1}),this.refreshData(),this.animateSlidingUp(!1),this.props.navigation.addListener("didFocus",function(){t.refreshData(!1),console.warn("loading")})}},{key:"componentWillUnmount",value:function(){clearInterval(this.intervaller)}},{key:"renderList",value:function(t){var n=this;if(this.state.isLoaded&&t instanceof Array){var l=t;return null!==l?l.length>0?f.default.createElement(E.HistoryListItem,{list:t,refreshing:function(){n.refreshData()},isRefreshing:this.state.isRefreshing,navigator:this.props.navigation,style:P.listbackground}):this.state.filter?f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST'))):0===l.length?f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST'))):f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS'))):f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('EMPTY_LIST_REQUEST')," "))}if(0===t.length)return f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEM_REQUEST')))}},{key:"renderOptionsMenu",value:function(){var t=this;return f.default.createElement(h.View,{style:{position:"absolute",zIndex:100,paddingTop:50,right:10,flexDirection:'row',visible:this.state.visibleMenu,justifyContent:'center'}},f.default.createElement(x.Menu,{visible:this.state.visibleMenu,onDismiss:this._closeMenu,anchor:f.default.createElement(b.default,{onPress:this._openMenu},"Show menu")},f.default.createElement(x.Menu.Item,{onPress:function(){t.setState({isSectionned:!t.state.isSectionned}),t._closeMenu()},title:"Section"}),f.default.createElement(x.Divider,null),f.default.createElement(x.Menu.Item,{onPress:function(){t.animateSlidingUp(!t.state.isSliding),t._closeMenu()},title:_.default.t("FILTER_DATE")})))}},{key:"animateSlidingUp",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=(0,p.responsiveHeight)(100),l=t?n:0,o=t?0:n;this.setState({isSliding:t}),this.state.translateAnim.setValue(l),h.Animated.timing(this.state.translateAnim,{toValue:o,duration:500,useNativeDriver:!0}).start()}},{key:"render",value:function(){var t=this;return f.default.createElement(x.Provider,null,f.default.createElement(h.View,{style:{flex:1}},f.default.createElement(h.StatusBar,{backgroundColor:I.primaryDark,barStyle:"light-content",translucent:!1}),this.renderSliding(),f.default.createElement(x.Appbar.Header,{dark:!0,style:{backgroundColor:I.primary}},f.default.createElement(x.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),f.default.createElement(x.Appbar.Content,{title:_.default.t('CREDIT_MANAGE'),subtitle:0===this.state.position?_.default.t('MY_DEMAND'):_.default.t('DEMAND_RECEIVE')}),f.default.createElement(x.Appbar.Action,{icon:"refresh",onPress:function(){t.refreshData()}}),f.default.createElement(x.Appbar.Action,{icon:"more-vert",onPress:function(){t._openMenu(),t.renderSliding()}})),this.renderOptionsMenu(),0===this.state.position?this._renderListDemandsSend():this._renderListDemandReceive()))}},{key:"renderSliding",value:function(){return f.default.createElement(h.Animated.View,{style:[P.slidingup,{translateY:this.state.translateAnim}]},f.default.createElement(T.default,{onChange:function(t){return console.log(t)},minDate:"2018-04-20",startDate:"2018-04-30",endDate:"2018-05-05",theme:{activeDayColor:{},monthTitleTextStyle:{color:'#6d95da',fontWeight:'300',fontSize:16},emptyMonthContainerStyle:{},emptyMonthTextStyle:{fontWeight:'200'},weekColumnsContainerStyle:{},weekColumnStyle:{paddingVertical:10},weekColumnTextStyle:{color:'#b6c1cd',fontSize:13},nonTouchableDayContainerStyle:{},nonTouchableDayTextStyle:{},startDateContainerStyle:{},endDateContainerStyle:{},dayContainerStyle:{},dayTextStyle:{color:'#2d4150',fontWeight:'200',fontSize:15},dayOutOfRangeContainerStyle:{},dayOutOfRangeTextStyle:{},todayContainerStyle:{},todayTextStyle:{color:'#6d95da'},activeDayContainerStyle:{backgroundColor:'#6d95da'},activeDayTextStyle:{color:'white'},nonTouchableLastMonthDayTextStyle:{}},style:{height:(0,p.responsiveHeight)(60)}}),f.default.createElement(h.View,{style:{flexDirection:'row'}},f.default.createElement(b.default,null,_.default.t('QUIT')),f.default.createElement(b.default,null,_.default.t('FILTER'))))}},{key:"renderSectionnedList",value:function(t){if(this.state.isLoaded){return null!==t?t.length>0?f.default.createElement(E.HistoryItemSectionned,{list:t,navigator:this.props.navigator,style:P.listbackground}):this.state.filter?f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('NO_ITEMS_REQUEST'))):f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS'))):f.default.createElement(h.View,{style:P.emptyListe},f.default.createElement(h.Text,null,_.default.t('EMPTY_LIST_REQUEST')))}}},{key:"renderLoading",value:function(){return f.default.createElement(h.View,null,f.default.createElement(h.ProgressBarAndroid,null),f.default.createElement(h.Text,null,_.default.t('LOADING_DOTS')))}},{key:"showSlidingUpPanel",value:function(){}},{key:"printOptions",value:function(){var t=this;return"hyper"===this.state.user.category?f.default.createElement(y.default,{buttonColor:k.accent},f.default.createElement(y.default.Item,{buttonColor:k.purpleLight,title:_.default.t('SAVE_HISTORY'),onPress:function(){}},f.default.createElement(S.default,{name:"save",style:P.actionButtonIcon}))):f.default.createElement(y.default,{buttonColor:k.accent},f.default.createElement(y.default.Item,{buttonColor:k.primary,title:_.default.t('MAKE_REQUEST'),onPress:function(){t.props.navigation.navigate(M.credrequester)}},f.default.createElement(S.default,{name:"edit",style:P.actionButtonIcon})),f.default.createElement(y.default.Item,{buttonColor:k.purpleLight,title:_.default.t('SAVE_HISTORY'),onPress:function(){}},f.default.createElement(S.default,{name:"save",style:P.actionButtonIcon})))}},{key:"_renderListDemandsSend",value:function(){return f.default.createElement(h.View,{style:P.container},this.state.isLoaded?this.state.isSectionned?this.renderSectionnedList(this.state.listdataSend):this.renderList(this.state.listdataSend):this.renderLoading(),this.printOptions(),this.showSlidingUpPanel())}},{key:"_renderListDemandReceive",value:function(){return f.default.createElement(h.View,{style:P.container},this.state.isLoaded?this.state.isSectionned?this.renderSectionnedList(this.state.listdata):this.renderList(this.state.listdata):this.renderLoading(),this.printOptions(),this.showSlidingUpPanel())}},{key:"_renderTabGeolocated",value:function(){var t=[{text:_.default.t('DEMAND_SEND')}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.responsiveHeight)(8)},tabs:t})}},{key:"_renderTabHyper",value:function(){var t=[{text:_.default.t('DEMAND_RECEIVE')}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.responsiveHeight)(8)},tabs:t})}},{key:"_renderTabs",value:function(){var t=[{text:_.default.t('MY_DEMAND'),iconSource:this.state.usersicon},{text:_.default.t('DEMAND_RECEIVE'),iconSource:this.state.charticon}];return f.default.createElement(L.PagerTabIndicator,{style:{height:(0,p.responsiveHeight)(8)},tabs:t})}},{key:"refreshData",value:function(){var t=this;(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.setState({isRefreshing:!0}),(0,v.loadDemandeCredit)().then(function(n){void 0!==n.success&&(t.setState({listdata:[]}),t.updateList(n.demands),0!==t.state.position&&t.props.navigation.setParams({count:n.demands.length}),t.setState({isRefreshing:!1}))}).catch(function(t){console.warn(t)}),(0,v.loadMyDemandeCredit)().then(function(n){void 0!==n.success&&(t.setState({listdataSend:[]}),t.setState({isRefreshing:!1}),0===t.state.position&&t.props.navigation.setParams({count:n.demands.length}),t.updateMyList(n.demands))}).catch(function(t){console.warn(t)})}}]),n})(f.default.Component);w.navigatorStyle={navBarBackgroundColor:k.primary,statusBarColor:k.primaryDark,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF',contextualMenuStatusBarColor:I.accent,contextualMenuBackgroundColor:I.accentLight,contextualMenuButtonsColor:'#ffffff'},w.navigationOptions=function(t){var n=t.navigation,l=n.state.routeName;return{tabBarLabel:"myDemand"===l?_.default.t('MY_DEMAND'):_.default.t('DEMAND_RECEIVE'),tabBarIcon:function(t){var o=t.focused,s=(t.horizontal,t.tintColor);return f.default.createElement(C.default,{badgeCount:n.getParam("count",0),size:20,name:"myDemand"===l?"mail":"inbox",color:o?s:"grey"})},drawerLabel:_.default.t('CREDIT_MANAGE'),drawerIcon:function(t){t.tintColor;return f.default.createElement(S.default,{name:'credit-card',size:24})}}};var A=w;e.default=A;h.StyleSheet.create({titleHeader:{fontSize:20,fontWeight:'bold',color:'black',flex:1},datetitle:{fontSize:17,color:'black',marginLeft:(0,p.responsiveWidth)(2)},datetext:{fontSize:16,marginLeft:(0,p.responsiveWidth)(5)},content:{flex:2},btnContainer:{flexDirection:'row',width:(0,p.responsiveWidth)(100),alignSelf:'flex-end',flex:2},btn:{flex:1,borderColor:'transparent',borderRadius:0},btntext:{fontWeight:'bold',color:k.accent},container:{flex:1,justifyContent:'space-evenly'}});var P=h.StyleSheet.create({slidingup:{position:"absolute",height:(0,p.responsiveHeight)(84),bottom:0,backgroundColor:'white',width:(0,p.responsiveWidth)(100),zIndex:1e3},root:{flex:1},container:{flex:1,backgroundColor:'white',justifyContent:'center',alignItems:'center'},emptylist:{flex:1,justifyContent:'center',alignItems:'center'},backgroundd_drawer:{backgroundColor:'#000'},listbackground:{},actionButtonIcon:{fontSize:20,height:22,color:'white'},welcome:{fontSize:20,textAlign:'center',margin:10},instructions:{textAlign:'center',color:'#333333',marginBottom:5},dateText:{marginTop:20,marginLeft:(0,p.responsiveWidth)(13),marginBottom:20,fontSize:17},titlecontent:{fontSize:17,marginLeft:(0,p.responsiveWidth)(10),color:'black'},content:{flex:8},title:{fontSize:20,marginLeft:20,marginTop:20,color:'black',fontWeight:'bold'}})},1568,[4,1,8,9,10,12,13,15,18,524,827,527,1140,807,1149,1002,815,709,711,1023,1024,1142,1134,806,937,712,768,840,405,1569,1029,808]); +__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])),u=n(r(d[4])),f=n(r(d[5])),s=n(r(d[6])),c=t(r(d[7])),h=r(d[8]),p=n(r(d[9])),y=(function(t){function n(){return(0,l.default)(this,n),(0,u.default)(this,(0,f.default)(n).apply(this,arguments))}return(0,s.default)(n,t),(0,o.default)(n,[{key:"render",value:function(){var t=this.props,n=t.name,l=t.badgeCount,o=t.color,u=t.size;return c.default.createElement(h.View,{style:{width:3*u/2,height:3*u/2,margin:5}},c.default.createElement(p.default,{name:n,size:u,color:o}),l>0&&c.default.createElement(h.View,{style:{position:'absolute',right:-6,top:-3,backgroundColor:'red',borderRadius:4*u/5,width:3*u/5,height:3*u/5,justifyContent:'center',alignItems:'center'}},c.default.createElement(h.Text,{style:{color:'white',fontSize:10,fontWeight:'bold'}},l)))}}]),n})(c.default.Component);e.default=y},1569,[4,1,8,9,10,12,13,15,18,827]); +__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])),u=l(r(d[3])),o=l(r(d[4])),f=l(r(d[5])),s=l(r(d[6])),v=t(r(d[7])),c=r(d[8]),h=l(r(d[9])),b=l(r(d[10])),p=(r(d[11]),r(d[12]),r(d[13])),k=(function(t){function l(t){var u;return(0,n.default)(this,l),(u=(0,o.default)(this,(0,f.default)(l).call(this,t))).state={valuePosition:0},u.mounted=!1,u.filterOptions=[{value:5,label:"5 km"},{value:15,label:"15 km"},{value:20,label:"20 km"},{value:25,label:"25 km"}],u}return(0,s.default)(l,t),(0,u.default)(l,[{key:"geInitialState",value:function(){return{valuePosition:0}}},{key:"render",value:function(){var t=this;return v.default.createElement(c.View,{style:{flex:1}},v.default.createElement(p,{items:this.filterOptions,defaultItem:this.state.valuePosition,labelPosition:"bottom",onSlidingComplete:function(l){return t.slidingComplete(l)}}),v.default.createElement(c.Text,null,v.default.createElement(c.Text,{style:{fontWeight:"bold"}},void 0===this.state.value?0:this.state.value)," km ",b.default.t("DISTANCE_ARROUND")))}},{key:"slidingComplete",value:function(t){this.setState({value:this.filterOptions[t].value,valuePosition:t})}}]),l})(v.Component);e.default=k,k.navigationOptions=function(t){var l=t.navigation;return{drawerLabel:function(){return null},title:"Filtre",tabBarIcon:function(t){t.focused,t.horizontal;var n=t.tintColor;return v.default.createElement(h.default,{badgeCount:l.getParam("count",0),size:24,name:"filter-list",color:n})}}}},1570,[4,1,8,9,10,12,13,15,18,827,712,1029,806,1378]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createMaterialBottomTabNavigator",{enumerable:!0,get:function(){return n.default}});var n=t(r(d[1]))},1571,[1,1572]); +__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])),c=o(r(d[4])),s=o(r(d[5])),u=o(r(d[6])),v=o(r(d[7])),p=o(r(d[8])),f=t(r(d[9])),C=r(d[10]),h=r(d[11]),b=r(d[12]),y=(function(t){function o(){var t,n;(0,c.default)(this,o);for(var l=arguments.length,s=new Array(l),p=0;p1){var o=n.map(function(t,n){return n});return b.default.interpolate(t,{inputRange:o,outputRange:o.map(function(t){return t===l?1:0})})}return 1})),w((0,s.default)(o),"getInactiveOpacity",(0,h.default)(function(t,n,l){if(n.length>1){var o=n.map(function(t,n){return n});return b.default.interpolate(t,{inputRange:o,outputRange:o.map(function(t){return t===l?0:1})})}return 0})),o}return(0,f.default)(n,t),(0,o.default)(n,[{key:"render",value:function(){var t=this.props,n=t.route,l=t.position,o=t.navigationState,u=t.renderLabel,c=t.renderIcon,s=t.renderBadge,f=t.getLabelText,h=t.getTestID,w=t.getAccessibilityLabel,E=t.getAccessible,O=t.activeColor,C=void 0===O?"rgba(255, 255, 255, 1)":O,L=t.inactiveColor,V=void 0===L?"rgba(255, 255, 255, 0.7)":L,I=t.pressColor,P=t.pressOpacity,x=t.labelStyle,T=t.style,A=t.onLayout,R=t.onPress,_=t.onLongPress,j=o.routes.indexOf(n),k=o.index===j,D=this.getActiveOpacity(l,o.routes,j),F=this.getInactiveOpacity(l,o.routes,j),B=null,H=null;if(c){var M=c({route:n,focused:!0,color:C}),q=c({route:n,focused:!1,color:V});null!=q&&null!=M&&(B=y.createElement(p.View,{style:S.icon},y.createElement(b.default.View,{style:{opacity:F}},q),y.createElement(b.default.View,{style:[p.StyleSheet.absoluteFill,{opacity:D}]},M)))}var z=void 0!==u?u:function(t){var n=t.route,l=t.color,o=f({route:n});return'string'==typeof o?y.createElement(b.default.Text,{style:[S.label,B?{marginTop:0}:null,{color:l},x]},o):o};if(z){var G=z({route:n,focused:!0,color:C}),J=z({route:n,focused:!1,color:V});H=y.createElement(p.View,null,y.createElement(b.default.View,{style:{opacity:F}},J),y.createElement(b.default.View,{style:[p.StyleSheet.absoluteFill,{opacity:D}]},G))}var K=p.StyleSheet.flatten(T),N=void 0!==(null===K||void 0===K?void 0:K.width)?null:{flex:1},Q={route:n},U=w(Q);U=void 0!==U?U:f(Q);var W=s?s(Q):null;return y.createElement(v.default,{borderless:!0,testID:h(Q),accessible:E(Q),accessibilityLabel:U,accessibilityTraits:k?['button','selected']:'button',accessibilityComponentType:"button",accessibilityRole:"tab",accessibilityStates:k?['selected']:[],pressColor:I,pressOpacity:P,delayPressIn:0,onLayout:A,onPress:R,onLongPress:_,style:N},y.createElement(p.View,{pointerEvents:"none",style:[S.item,K]},B,H,null!=W?y.createElement(p.View,{style:S.badge},W):null))}}]),n})(y.Component);e.default=E;var S=p.StyleSheet.create({label:{margin:4,backgroundColor:'transparent'},icon:{margin:2},item:{flex:1,alignItems:'center',justifyContent:'center',padding:10,minHeight:48},badge:{position:'absolute',top:0,right:0}})},1576,[4,1,8,9,10,12,11,13,15,18,1577,1385,1578]); +__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])),u=n(r(d[4])),c=n(r(d[5])),s=n(r(d[6])),f=t(r(d[7])),p=r(d[8]);function b(){return(b=Object.assign||function(t){for(var n=1;n=0||Object.prototype.propertyIsEnumerable.call(t,l)&&(u[l]=t[l])}return u}function O(t,n){if(null==t)return{};var l,o,u={},c=Object.keys(t);for(o=0;o=0||(u[l]=t[l]);return u}var v,h,j,P=(function(t){function n(){return(0,l.default)(this,n),(0,u.default)(this,(0,c.default)(n).apply(this,arguments))}return(0,s.default)(n,t),(0,o.default)(n,[{key:"render",value:function(){var t=this.props,n=t.style,l=t.pressOpacity,o=t.pressColor,u=t.borderless,c=t.children,s=y(t,["style","pressOpacity","pressColor","borderless","children"]);return'android'===p.Platform.OS&&p.Platform.Version>=21?f.createElement(p.TouchableNativeFeedback,b({},s,{background:p.TouchableNativeFeedback.Ripple(o,u)}),f.createElement(p.View,{style:n},f.Children.only(c))):f.createElement(p.TouchableOpacity,b({},s,{style:n,activeOpacity:l}),c)}}]),n})(f.Component);e.default=P,j={pressColor:'rgba(255, 255, 255, .4)'},(h="defaultProps")in(v=P)?Object.defineProperty(v,h,{value:j,enumerable:!0,configurable:!0,writable:!0}):v[h]=j},1577,[4,1,8,9,10,12,13,15,18]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var t,f;return function(){for(var l=!1,o=arguments.length,u=new Array(o),v=0;v1?this.getTranslateX(n,p,u):0,v='auto'===l?p.length>1?this.getWidth(n,p,u):u(0):l;return h.createElement(y.default.View,{style:[T.indicator,{width:v},c.width?{transform:[{translateX:s}]}:{left:"".concat(100/p.length*o.index,"%")},'auto'===l?{opacity:this.opacity}:null,f]})}}]),n})(h.Component);e.default=R;var T=v.StyleSheet.create({indicator:{backgroundColor:'#ffeb3b',position:'absolute',left:0,bottom:0,right:0,height:2}})},1579,[4,1,33,8,9,10,12,11,13,15,18,1385,1578]); +__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])),l=n(r(d[3])),u=n(r(d[4])),s=n(r(d[5])),p=n(r(d[6])),c=n(r(d[7])),f=t(r(d[8])),y=r(d[9]),v=r(d[10]),h=n(r(d[11])),b=n(r(d[12])),w=n(r(d[13])),P=n(r(d[14]));function S(){return(S=Object.assign||function(t){for(var n=1;nl.props.lazyPreloadDistance}),v((0,h.default)(l),"handleEnter",function(t){t===l.props.index&&l.state.loading&&l.setState({loading:!1})}),l}return(0,p.default)(n,t),(0,l.default)(n,[{key:"componentDidMount",value:function(){var t=this;this.props.lazy?this.props.addListener('enter',this.handleEnter):this.state.loading&&setTimeout(function(){return t.setState({loading:!1})},0)}},{key:"componentDidUpdate",value:function(t,n){this.props.lazy===t.lazy&&this.state.loading===n.loading||(this.props.lazy&&this.state.loading?this.props.addListener('enter',this.handleEnter):this.props.removeListener('enter',this.handleEnter))}},{key:"componentWillUnmount",value:function(){this.props.removeListener('enter',this.handleEnter)}},{key:"render",value:function(){var t=this.props,n=t.navigationState,o=t.index,l=t.layout,s=t.style,u=this.state.loading,h=n.index===o;return c.createElement(f.View,{accessibilityElementsHidden:!h,importantForAccessibility:h?'auto':'no-hide-descendants',style:[b.route,l.width?{width:l.width}:h?f.StyleSheet.absoluteFill:null,s]},h||l.width?this.props.children({loading:u}):null)}}],[{key:"getDerivedStateFromProps",value:function(t,n){return n.loading&&Math.abs(t.navigationState.index-t.index)<=t.lazyPreloadDistance?{loading:!1}:null}}]),n})(c.Component);e.default=y;var b=f.StyleSheet.create({route:{flex:1,overflow:'hidden'}})},1581,[4,1,8,9,10,12,11,13,15,18]); +__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 s=n(r(d[2])),o=n(r(d[3])),l=n(r(d[4])),u=n(r(d[5])),p=n(r(d[6])),f=n(r(d[7])),c=n(r(d[8])),h=n(r(d[9])),v=t(r(d[10])),w=r(d[11]),x=r(d[12]),y=t(r(d[13])),S=n(r(d[14]));function I(){return(I=Object.assign||function(t){for(var n=1;n-1&&u.enterListeners.splice(s,1)}}),V((0,c.default)(u),"handleEnteredIndexChange",function(t){var n=(0,s.default)(t,1)[0],o=Math.max(0,Math.min(n,u.props.navigationState.routes.length-1));u.enterListeners.forEach(function(t){return t(o)})}),V((0,c.default)(u),"transitionTo",function(t){var n=new E(0),s=new E(0),o={position:u.progress,time:new E(0),finished:new E(ae)};return L([G(D(u.clock),se,[J(n,N(t,u.layoutWidth,le)),J(s,0),J(o.time,0),J(o.finished,ae),J(u.index,t)]),G(u.isSwipeGesture,[G(z(D(u.clock)),w.I18nManager.isRTL?J(u.initialVelocityForSpring,N(-1,u.velocityX,u.springVelocityScale)):J(u.initialVelocityForSpring,N(u.velocityX,u.springVelocityScale))),Q(u.clock,T({},o,{velocity:u.initialVelocityForSpring}),T({},pe,{},u.springConfig,{toValue:n}))],te(u.clock,T({},o,{frameTime:s}),T({},ce,{},u.timingConfig,{toValue:n}))),G(z(D(u.clock)),Z(u.clock)),G(o.finished,[J(u.isSwipeGesture,ae),J(u.gestureX,0),J(u.velocityX,0),$(u.clock)])])}),V((0,c.default)(u),"handleGestureEvent",W([{nativeEvent:{translationX:u.gestureX,velocityX:u.velocityX,state:u.gestureState}}])),V((0,c.default)(u),"extrapolatedPosition",P(u.gestureX,N(u.velocityX,u.swipeVelocityImpact))),V((0,c.default)(u),"toggleEnabled",function(){u.state.enabled&&u.setState({enabled:!1},function(){u.setState({enabled:!0})})}),V((0,c.default)(u),"maybeCancel",L([G(H(u.gesturesEnabled,O(H(F(u.index,ee(u.routesLength,1)),_(u.gestureX,0)),H(F(u.index,0),U(u.gestureX,0)))),J(u.gesturesEnabled,0))])),V((0,c.default)(u),"translateX",L([X(u.gesturesEnabled,G(z(u.gesturesEnabled),j([u.gesturesEnabled],u.toggleEnabled))),X(u.index,j([u.index],function(t){var n=(0,s.default)(t,1)[0];u.currentIndexValue=n,n!==u.props.navigationState.index&&(u.props.onIndexChange(n),u.pendingIndexValue=n,u.forceUpdate())})),X(u.position,G(w.I18nManager.isRTL?_(u.gestureX,0):U(u.gestureX,0),G(Y(A(u.position),u.lastEnteredIndex),[J(u.lastEnteredIndex,A(u.position)),j([A(u.position)],u.handleEnteredIndexChange)]),G(Y(R(u.position),u.lastEnteredIndex),[J(u.lastEnteredIndex,R(u.position)),j([R(u.position)],u.handleEnteredIndexChange)]))),X(u.isSwiping,[G(z(u.isSwiping),J(u.gesturesEnabled,1)),j([u.isSwiping,u.indexAtSwipeEnd,u.index],function(t){var n=(0,s.default)(t,3),o=n[0],l=n[1],p=n[2],f=u.props,c=f.keyboardDismissMode,h=f.onSwipeStart,v=f.onSwipeEnd;if(o===ie)if(null===h||void 0===h||h(),u.interactionHandle=w.InteractionManager.createInteractionHandle(),'auto'===c){var x=w.TextInput.State.currentlyFocusedField();w.TextInput.State.blurTextInput(x),u.previouslyFocusedTextInput=x}else'on-drag'===c&&w.Keyboard.dismiss();else if(null===v||void 0===v||v(),null!==u.interactionHandle&&w.InteractionManager.clearInteractionHandle(u.interactionHandle),'auto'===c){if(l===p){var y=u.previouslyFocusedTextInput;y&&w.TextInput.State.focusTextInput(y)}u.previouslyFocusedTextInput=null}})]),X(u.nextIndex,G(Y(u.nextIndex,re),[G(D(u.clock),$(u.clock)),J(u.gestureX,0),J(u.index,u.nextIndex),J(u.nextIndex,re)])),G(F(u.gestureState,x.State.ACTIVE),[u.maybeCancel,G(u.isSwiping,se,[J(u.isSwiping,ie),J(u.isSwipeGesture,ie),J(u.offsetX,u.progress)]),J(u.progress,w.I18nManager.isRTL?ee(u.offsetX,u.gestureX):P(u.offsetX,u.gestureX)),$(u.clock)],[J(u.isSwiping,ae),J(u.indexAtSwipeEnd,u.index),u.transitionTo(G(H(U(k(u.gestureX),de),U(k(u.extrapolatedPosition),M(u.layoutWidth,2))),B(K(q(0,ee(u.index,G(U(u.extrapolatedPosition,0),w.I18nManager.isRTL?le:oe,w.I18nManager.isRTL?oe:le))),ee(u.routesLength,1))),u.index))]),u.progress])),V((0,c.default)(u),"getTranslateX",(0,S.default)(function(t,n,s){return N(K(q(N(t,ee(n,1),le),s),0),w.I18nManager.isRTL?-1:1)})),u}return(0,h.default)(n,t),(0,u.default)(n,[{key:"componentDidMount",value:function(){this.context&&this.context.addGestureHandlerRef&&this.context.addGestureHandlerRef(this.gestureHandlerRef)}},{key:"componentDidUpdate",value:function(t){var n=this.props,s=n.navigationState,o=n.layout,l=n.swipeVelocityImpact,u=n.springVelocityScale,p=n.springConfig,f=n.timingConfig,c=s.index,h=s.routes;(c!==t.navigationState.index&&c!==this.currentIndexValue||'number'==typeof this.pendingIndexValue&&c!==this.pendingIndexValue)&&this.jumpToIndex(c),this.pendingIndexValue=void 0,t.navigationState.routes.length!==h.length&&this.routesLength.setValue(h.length),t.layout.width!==o.width&&(this.progress.setValue(-c*o.width),this.layoutWidth.setValue(o.width)),t.swipeVelocityImpact!==l&&this.swipeVelocityImpact.setValue(void 0!==l?l:ue),t.springVelocityScale!==u&&this.springVelocityScale.setValue(void 0!==u?u:fe),t.springConfig!==p&&(this.springConfig.damping.setValue(void 0!==p.damping?p.damping:pe.damping),this.springConfig.mass.setValue(void 0!==p.mass?p.mass:pe.mass),this.springConfig.stiffness.setValue(void 0!==p.stiffness?p.stiffness:pe.stiffness),this.springConfig.restSpeedThreshold.setValue(void 0!==p.restSpeedThreshold?p.restSpeedThreshold:pe.restSpeedThreshold),this.springConfig.restDisplacementThreshold.setValue(void 0!==p.restDisplacementThreshold?p.restDisplacementThreshold:pe.restDisplacementThreshold)),t.timingConfig!==f&&this.timingConfig.duration.setValue(void 0!==f.duration?f.duration:ce.duration)}},{key:"componentWillUnmount",value:function(){null!==this.interactionHandle&&w.InteractionManager.clearInteractionHandle(this.interactionHandle)}},{key:"render",value:function(){var t=this,n=this.props,s=n.layout,o=n.navigationState,l=n.swipeEnabled,u=n.children,p=n.removeClippedSubviews,f=n.gestureHandlerProps,c=this.getTranslateX(this.layoutWidth,this.routesLength,this.translateX);return u({position:this.position,addListener:this.addListener,removeListener:this.removeListener,jumpTo:this.jumpTo,render:function(n){return v.createElement(x.PanGestureHandler,I({ref:t.gestureHandlerRef,simultaneousHandlers:t.state.childPanGestureHandlerRefs,waitFor:t.state.childPanGestureHandlerRefs,enabled:0!==s.width&&l&&t.state.enabled,onGestureEvent:t.handleGestureEvent,onHandlerStateChange:t.handleGestureEvent,activeOffsetX:[-20,de],failOffsetY:[-20,de]},f),v.createElement(y.default.View,{removeClippedSubviews:p,style:[he.container,s.width?{width:s.width*o.routes.length,transform:[{translateX:c}]}:null]},v.createElement(ne.Provider,{value:t.providerVal},n)))}})}}]),n})(v.Component);e.default=ge,V(ge,"defaultProps",{swipeVelocityImpact:ue,springVelocityScale:fe}),V(ge,"contextType",ne);var he=w.StyleSheet.create({container:{flex:1,flexDirection:'row'}})},1582,[4,1,27,33,8,9,10,12,11,13,15,18,2,1385,1578]); +__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=function(t){return function(n){var o=n.route,u=n.jumpTo,l=n.position;return p.createElement(v,{key:o.key,component:t[o.key],route:o,jumpTo:u,position:l})}};var o=n(r(d[2])),u=n(r(d[3])),l=n(r(d[4])),f=n(r(d[5])),c=n(r(d[6])),p=t(r(d[7]));function y(t,n){if(null==t)return{};var o,u,l=s(t,n);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(t);for(u=0;u=0||Object.prototype.propertyIsEnumerable.call(t,o)&&(l[o]=t[o])}return l}function s(t,n){if(null==t)return{};var o,u,l={},f=Object.keys(t);for(u=0;u=0||(l[o]=t[o]);return l}var v=(function(t){function n(){return(0,o.default)(this,n),(0,l.default)(this,(0,f.default)(n).apply(this,arguments))}return(0,c.default)(n,t),(0,u.default)(n,[{key:"render",value:function(){var t=this.props,n=t.component,o=y(t,["component"]);return p.createElement(n,o)}}]),n})(p.PureComponent)},1583,[4,1,8,9,10,12,13,15]); +__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])),l=n(r(d[3])),s=n(r(d[4])),u=n(r(d[5])),c=n(r(d[6])),f=n(r(d[7])),p=n(r(d[8])),h=t(r(d[9])),v=r(d[10]),y=n(r(d[11]));function w(t,n,o){return n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}var S=y.default.event,x=y.default.divide,b=y.default.onChange,T=y.default.cond,E=y.default.eq,I=y.default.round,L=y.default.call,H=y.default.Value,P=(function(t){function n(){var t,o;(0,l.default)(this,n);for(var s=arguments.length,p=new Array(s),b=0;b1&&void 0!==arguments[1])||arguments[1];o.scrollViewRef.current&&o.scrollViewRef.current.getNode().scrollTo({x:t,animated:n})}),w((0,f.default)(o),"enterListeners",[]),w((0,f.default)(o),"addListener",function(t,n){switch(t){case'enter':o.enterListeners.push(n)}}),w((0,f.default)(o),"removeListener",function(t,n){switch(t){case'enter':var l=o.enterListeners.indexOf(n);l>-1&&o.enterListeners.splice(l,1)}}),w((0,f.default)(o),"position",new y.default.Value(o.props.navigationState.index*o.props.layout.width)),w((0,f.default)(o),"onScroll",S([{nativeEvent:{contentOffset:{x:o.position}}}])),w((0,f.default)(o),"layoutWidthNode",new H(o.props.layout.width)),w((0,f.default)(o),"relativePosition",x(o.position,o.layoutWidthNode)),o}return(0,p.default)(n,t),(0,s.default)(n,[{key:"componentDidMount",value:function(){this.props.layout.width&&this.scrollTo(this.props.navigationState.index*this.props.layout.width,!1)}},{key:"componentDidUpdate",value:function(t){var n=this.props.navigationState.index*this.props.layout.width;t.navigationState.routes.length!==this.props.navigationState.routes.length||t.layout.width!==this.props.layout.width?this.scrollTo(n,!1):t.navigationState.index!==this.props.navigationState.index&&this.scrollTo(n),t.layout.width!==this.props.layout.width&&this.layoutWidthNode.setValue(this.props.layout.width)}},{key:"componentWillUnmount",value:function(){null!==this.interactionHandle&&v.InteractionManager.clearInteractionHandle(this.interactionHandle)}},{key:"render",value:function(){var t=this,n=this.props,l=n.children,s=n.layout,u=n.onSwipeStart,c=n.onSwipeEnd,f=n.overscroll,p=n.onIndexChange,w=n.navigationState,S=function(){null===u||void 0===u||u(),t.interactionHandle=v.InteractionManager.createInteractionHandle()},x=function(){null===c||void 0===c||c(),null!==t.interactionHandle&&v.InteractionManager.clearInteractionHandle(t.interactionHandle)};return l({position:this.relativePosition,addListener:this.addListener,removeListener:this.removeListener,jumpTo:this.jumpTo,render:function(n){return h.createElement(y.default.ScrollView,{pagingEnabled:!0,directionalLockEnabled:!0,keyboardDismissMode:"on-drag",keyboardShouldPersistTaps:"always",overScrollMode:"never",scrollToOverflowEnabled:!0,scrollEnabled:t.props.swipeEnabled,automaticallyAdjustContentInsets:!1,bounces:f,scrollsToTop:!1,showsHorizontalScrollIndicator:!1,scrollEventThrottle:1,onScroll:t.onScroll,onScrollBeginDrag:S,onScrollEndDrag:x,onMomentumScrollEnd:t.onScroll,contentOffset:t.initialOffset,style:k.container,contentContainerStyle:s.width?{flexDirection:'row',width:s.width*w.routes.length,flex:1}:null,ref:t.scrollViewRef},n,h.createElement(y.default.Code,{exec:b(t.relativePosition,T(E(I(t.relativePosition),t.relativePosition),[L([t.relativePosition],function(t){var n=(0,o.default)(t,1)[0];return p(n)})]))}))}})}}]),n})(h.Component);e.default=P,w(P,"defaultProps",{bounces:!0});var k=v.StyleSheet.create({container:{flex:1}})},1584,[4,1,27,8,9,10,12,11,13,15,18,1385]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.scrollEnabled=e.getHeightDevice=e.getWidthDevice=e.heightTabView=e.heightHeader=e.scaleWithPixel=e.enableExperimental=void 0;var t=r(d[0]),n=t.PixelRatio.get()/2;e.enableExperimental=function(){'android'===t.Platform.OS&&t.UIManager.setLayoutAnimationEnabledExperimental(!0),t.LayoutAnimation.configureNext(t.LayoutAnimation.Presets.easeInEaseOut)};e.scaleWithPixel=function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.2;return t*(n>o?o:n)};var o=function(){var n=t.Dimensions.get('window').width,o=t.Dimensions.get('window').height,s=n>o;if('android'===t.Platform.OS)return 45;if(t.Platform.isPad)return 65;switch(o){case 375:case 414:case 812:case 896:return s?45:88;default:return s?45:65}};e.heightHeader=o;e.heightTabView=function(){var n=t.Dimensions.get('window').height,s=n-o();switch(n){case 375:case 414:case 812:case 896:s-=30}return s};e.getWidthDevice=function(){return t.Dimensions.get('window').width};e.getHeightDevice=function(){return t.Dimensions.get('window').height};e.scrollEnabled=function(n,s){return s>t.Dimensions.get('window').height-o()}},1585,[18]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Images=void 0;var o={userAvatar:r(d[0]),bgprimarycolor:r(d[1]),logo:r(d[2]),room6:r(d[3])};e.Images=o},1586,[1018,1587,1137,1588]); +__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/datas/img",width:1920,height:1280,scales:[1],hash:"e6ade7cb50f92b48c551a0e51bbb5cff",name:"bgprimarycolor",type:"png"})},1587,[175]); +__d(function(a,e,s,t,r,h,i){r.exports=e(i[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/datas/img",width:1920,height:1280,scales:[1],hash:"8a6b70645b2552a2a8ff53ee313a20a0",name:"room-6",type:"jpg"})},1588,[175]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=y;var l=t(r(d[1])),o=t(r(d[2])),n=r(d[3]),h=t(r(d[4])),f=r(d[5]),u=t(r(d[6]));function y(t){var h=t.header,y=t.title1,b=t.title2,p=t.title3,c=t.headline,s=t.body1,S=t.body2,W=t.callout,T=t.subhead,v=t.footnote,F=t.caption1,L=t.caption2,O=t.overline,k=t.thin,_=t.ultraLight,x=t.light,A=t.regular,j=t.medium,P=t.semibold,E=t.bold,M=t.heavy,q=t.black,w=t.numberOfLines,z=(t.textAlign,t.style),B=t.children;return o.default.createElement(u.default,(0,l.default)({style:n.StyleSheet.flatten([h&&f.Typography.header,y&&f.Typography.title1,b&&f.Typography.title2,p&&f.Typography.title3,c&&f.Typography.headline,s&&f.Typography.body1,S&&f.Typography.body2,W&&f.Typography.callout,T&&f.Typography.subhead,v&&f.Typography.footnote,F&&f.Typography.caption1,L&&f.Typography.caption2,O&&f.Typography.overline,k&&n.StyleSheet.flatten({fontWeight:f.FontWeight.thin}),_&&n.StyleSheet.flatten({fontWeight:f.FontWeight.ultraLight}),x&&n.StyleSheet.flatten({fontWeight:f.FontWeight.light}),A&&n.StyleSheet.flatten({fontWeight:f.FontWeight.regular}),j&&n.StyleSheet.flatten({fontWeight:f.FontWeight.medium}),P&&n.StyleSheet.flatten({fontWeight:f.FontWeight.semibold}),E&&n.StyleSheet.flatten({fontWeight:f.FontWeight.bold}),M&&n.StyleSheet.flatten({fontWeight:f.FontWeight.heavy}),q&&n.StyleSheet.flatten({fontWeight:f.FontWeight.black}),z&&z])},t,{numberOfLines:w}),B)}y.propTypes={header:h.default.bool,title1:h.default.bool,title2:h.default.bool,title3:h.default.bool,headline:h.default.bool,body1:h.default.bool,body2:h.default.bool,callout:h.default.bool,subhead:h.default.bool,footnote:h.default.bool,caption1:h.default.bool,caption2:h.default.bool,overline:h.default.bool,thin:h.default.bool,ultraLight:h.default.bool,light:h.default.bool,regular:h.default.bool,medium:h.default.bool,semibold:h.default.bool,bold:h.default.bool,heavy:h.default.bool,black:h.default.bool,numberOfLines:h.default.number,textAlign:h.default.string,style:h.default.oneOfType([h.default.object,h.default.array]),children:h.default.node},y.defaultProps={header:!1,title1:!1,title2:!1,title3:!1,headline:!1,body1:!1,body2:!1,callout:!1,subhead:!1,footnote:!1,caption1:!1,caption2:!1,overline:!1,thin:!1,ultraLight:!1,light:!1,regular:!1,medium:!1,semibold:!1,bold:!1,heavy:!1,black:!1,numberOfLines:10,textAlign:'left',style:{},children:''}},1589,[1,6,15,18,68,1590,1591]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Typography=e.FontWeight=void 0;var t=r(d[0]),o={thin:"100",ultraLight:"200",light:"300",regular:"400",medium:"500",semibold:"600",bold:"700",heavy:"800",black:"900"};e.FontWeight=o;var n=t.StyleSheet.create({header:{fontSize:34,fontWeight:o.regular},title1:{fontSize:28,fontWeight:o.regular},title2:{fontSize:22,fontWeight:o.regular},title3:{fontSize:20,fontWeight:o.regular},headline:{fontSize:17,fontWeight:o.regular},body1:{fontSize:17,fontWeight:o.regular},body2:{fontSize:14,fontWeight:o.regular},callout:{fontSize:17,fontWeight:o.regular},subhead:{fontSize:15,fontWeight:o.regular},footnote:{fontSize:13,fontWeight:o.regular},caption1:{fontSize:12,fontWeight:o.regular},caption2:{fontSize:11,fontWeight:o.regular},overline:{fontSize:10,fontWeight:o.regular}});e.Typography=n},1590,[18]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var o=l(r(d[1])),t=l(r(d[2])),u=l(r(d[3])),n=r(d[4]),c=l(r(d[5])),f=l(r(d[6])),y=l(r(d[7])),C=r(d[8]);function p(l){var c=l.style,p=l.textStyle,b=l.icon,s=l.primary,S=l.primaryIcon,h=l.outline,x=l.outlineIcon,I=l.outlineSecondary,k=l.outlineSecondaryIcon,O=l.small,L=l.light,v=l.gray,T=l.chip,P=l.status,_=l.rate,j=l.rateSmall,E=l.sale,R=l.children,B=(0,t.default)(l,["style","textStyle","icon","primary","primaryIcon","outline","outlineIcon","outlineSecondary","outlineSecondaryIcon","small","light","gray","chip","status","rate","rateSmall","sale","children"]);return u.default.createElement(n.TouchableOpacity,(0,o.default)({},B,{style:n.StyleSheet.flatten([y.default.default,s&&[y.default.primary,{backgroundColor:C.Color.primaryColor}],S&&y.default.primary,h&&[y.default.outline,{borderColor:C.Color.primary,backgroundColor:C.Color.cardBackgroundColor}],x&&y.default.outline,I&&y.default.outlineSecondary,k&&[y.default.outlineSecondary,{borderColor:C.Color.accentColor}],O&&[y.default.small,{backgroundColor:C.Color.primaryColor}],L&&[y.default.light,{backgroundColor:C.Color.primaryColor}],v&&y.default.gray,T&&[y.default.chip,{backgroundColor:C.Color.card,borderColor:C.Color.accentColor}],P&&[y.default.status,{backgroundColor:C.Color.primaryColor}],_&&[y.default.rate,{backgroundColor:C.Color.primaryLightColor}],j&&[y.default.rateSmall,{backgroundColor:C.Color.primaryLightColor}],E&&[y.default.sale,{backgroundColor:C.Color.primaryLightColor}],c]),activeOpacity:.9}),b||null,u.default.createElement(f.default,{style:n.StyleSheet.flatten([s&&y.default.textPrimary,S&&y.default.textPrimary,h&&[y.default.textOutline,{color:C.Color.primaryColor}],x&&[y.default.textOutline,{color:C.Color.primaryColor}],I&&[y.default.textOutlineSecondary,{color:C.Color.accentColor}],k&&[y.default.textOutlineSecondary,{color:C.Color.accentColor}],O&&y.default.textSmall,L&&[y.default.textLight,{color:C.Color.primaryLightColor}],v&&y.default.textGray,T&&[y.default.textChip,{color:C.Color.accentColor}],P&&y.default.textStatus,_&&y.default.textRate,j&&y.default.textRateSmall,E&&y.default.textSale,p]),numberOfLines:1},R||'Tag'))}p.propTypes={style:c.default.oneOfType([c.default.object,c.default.array]),textStyle:c.default.oneOfType([c.default.object,c.default.array]),icon:c.default.node,primary:c.default.bool,primaryIcon:c.default.bool,outline:c.default.bool,outlineIcon:c.default.bool,outlineSecondary:c.default.bool,outlineSecondaryIcon:c.default.bool,small:c.default.bool,light:c.default.bool,gray:c.default.bool,chip:c.default.bool,rate:c.default.bool,rateSmall:c.default.bool,status:c.default.bool,sale:c.default.bool},p.defaultProps={style:{},textStyle:{},icon:null,primary:!1,primaryIcon:!1,outline:!1,outlineIcon:!1,outlineSecondary:!1,outlineSecondaryIcon:!1,small:!1,light:!1,gray:!1,chip:!1,status:!1,rate:!1,rateSmall:!1,sale:!1}},1591,[1,6,57,15,18,68,1589,1592,1593]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;t(r(d[1]));var o=r(d[2]),n=r(d[3]),l=r(d[4]),c=o.StyleSheet.create({default:{flexDirection:'row'},primary:{paddingVertical:5,paddingHorizontal:10,borderRadius:17,alignItems:'center',justifyContent:'center'},textPrimary:o.StyleSheet.flatten([n.Typography.caption1,{color:l.Color.whiteColor}]),outline:{paddingVertical:5,paddingHorizontal:10,borderRadius:16,borderWidth:1,alignItems:'center',justifyContent:'center'},textOutline:n.Typography.caption1,outlineSecondary:{paddingVertical:5,paddingHorizontal:10,borderRadius:17,backgroundColor:l.Color.whiteColor,alignItems:'center',justifyContent:'center'},textOutlineSecondary:n.Typography.caption1,small:{paddingHorizontal:5,borderRadius:5,alignItems:'center',justifyContent:'center'},textSmall:o.StyleSheet.flatten([n.Typography.caption2,{color:l.Color.whiteColor}]),light:{padding:5,borderRadius:5,alignItems:'center',justifyContent:'center'},textLight:n.Typography.caption2,gray:{padding:5,backgroundColor:l.Color.fieldColor,borderColor:l.Color.fieldColor,alignItems:'center',justifyContent:'center'},textGray:o.StyleSheet.flatten([n.Typography.caption2]),chip:{paddingVertical:4,paddingHorizontal:6,borderRadius:16,alignItems:'center',justifyContent:'center',borderWidth:.5},textChip:n.Typography.overline,status:{paddingVertical:3,paddingHorizontal:5,borderRadius:5,alignItems:'center',justifyContent:'center'},textStatus:o.StyleSheet.flatten([n.Typography.caption2,{color:l.Color.whiteColor,fontWeight:n.FontWeight.bold}]),rate:{paddingVertical:5,paddingHorizontal:10,borderTopLeftRadius:5,borderBottomLeftRadius:5,borderBottomRightRadius:5,alignItems:'center',justifyContent:'center'},textRate:o.StyleSheet.flatten([n.Typography.headline,{color:l.Color.whiteColor,fontWeight:n.FontWeight.bold}]),rateSmall:{borderRadius:3,paddingHorizontal:5,alignItems:'center',justifyContent:'center'},textRateSmall:o.StyleSheet.flatten([n.Typography.caption2,{color:l.Color.whiteColor,fontWeight:n.FontWeight.bold}]),sale:{width:50,height:50,borderRadius:25,alignItems:'center',justifyContent:'center'},textSale:o.StyleSheet.flatten([n.Typography.headline,{color:l.Color.whiteColor,fontWeight:n.FontWeight.bold}])});e.default=c},1592,[1,15,18,1590,1593]); +__d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.Color=void 0;e.Color={primaryColor:"#6784B1",primaryLightColor:"#7698CC",primaryDarkColor:"#637EA5",containerBackgroundColor:"#EEEEEE",primaryDarkAdvancedColor:"#637B9E",cardBackgroundColor:"#ffffff",accentColor:"#D86F22",accentLightColor:"#e27833",purpleLightColor:"#9b59b6",reddeconnectColor:"#ba000d",grayColor:'#9B9B9B',dividerColor:'#BDBDBD',whiteColor:'#FFFFFF',fieldColor:'#F5F5F5',yellowColor:'#FDC60A',navyBlue:'#3C5A99',kashmir:'#5D6D7E',orangeColor:'#E5634D',blueColor:'#5DADE2',pinkColor:'#A569BD',greenColor:'#58D68D',yellowColor:'#FDC60A',textColor:'#212121',borderColor:'#c7c7cc'}},1593,[]); +__d(function(g,r,i,a,m,e,d){var l=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=C;var o=l(r(d[1])),t=l(r(d[2])),u=l(r(d[3])),n=r(d[4]),f=r(d[5]),c=l(r(d[6])),y=l(r(d[7])),s=l(r(d[8]));function C(l){var c=l.style,C=l.styleCustomText,p=l.icon,b=l.outline,h=l.full,v=l.round,O=l.loading,T=l.children,S=(0,t.default)(l,["style","styleCustomText","icon","outline","full","round","loading","children"]);return u.default.createElement(n.TouchableOpacity,(0,o.default)({},S,{style:n.StyleSheet.flatten([[s.default.default,{backgroundColor:f.Color.primaryColor}],b&&[s.default.outline,{backgroundColor:f.Color.cardBackgroundColor,borderColor:f.Color.primaryColor}],h&&s.default.full,v&&s.default.round,c]),activeOpacity:.9}),p||null,u.default.createElement(y.default,{style:n.StyleSheet.flatten([s.default.textDefault,b&&{color:f.Color.primaryColor},C]),numberOfLines:1},T||"CustomButton"),O?u.default.createElement(n.ActivityIndicator,{size:"small",color:b?f.Color.primaryColor:f.Color.whiteColor,style:{paddingLeft:5}}):null)}C.propTypes={style:c.default.oneOfType([c.default.object,c.default.array]),icon:c.default.node,outline:c.default.bool,full:c.default.bool,round:c.default.bool,loading:c.default.bool},C.defaultProps={style:{},icon:null,outline:!1,full:!1,round:!1,loading:!1}},1594,[1,6,57,15,18,1593,68,1589,1595]); +__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]),c=r(d[3]),l=r(d[4]);function u(t,o){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);o&&(c=c.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,c)}return n}var f=n.StyleSheet.create({default:{height:56,borderRadius:8,flexDirection:"row",justifyContent:"center",alignItems:"center",paddingHorizontal:20},textDefault:(function(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:"number";t.setState({focused:o})},t._displayedFields=function(){var o=t.props,u=o.requiresName,n=o.requiresCVC,s=o.requiresPostalCode;return(0,y.default)(["number","expiry",n?"cvc":null,u?"name":null,s?"postalCode":null])},t._focusPreviousField=function(o){var u=t._displayedFields(),n=u.indexOf(o),s=u[n-1];s&&t.focus(s)},t._focusNextField=function(o){if("name"!==o){var u=t._displayedFields(),n=u.indexOf(o),s=u[n+1];s&&t.focus(s)}},t._change=function(o,u){t.setValues((0,n.default)({},o,u))},t._onFocus=function(o){t.focus(o),t.props.onFocus(o)},t.state={focused:"",values:{},status:{}},t}return(0,p.default)(b,o),(0,l.default)(b,[{key:"render",value:function(){return v.default.createElement(t,(0,u.default)({},this.props,this.state,{onFocus:this._onFocus,onChange:this._change,onBecomeEmpty:this._focusPreviousField,onBecomeValid:this._focusNextField}))}}]),b})(v.Component);return o.propTypes={autoFocus:b.default.bool,onChange:b.default.func.isRequired,onFocus:b.default.func,requiresName:b.default.bool,requiresCVC:b.default.bool,requiresPostalCode:b.default.bool,validatePostalCode:b.default.func},o.defaultProps={autoFocus:!1,onChange:function(){},onFocus:function(){},requiresName:!1,requiresCVC:!0,requiresPostalCode:!1,validatePostalCode:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.match(/^\d{6}$/)?"valid":t.length>6?"invalid":"incomplete"}},o},e.InjectedProps=void 0;var u=o(r(d[2])),n=o(r(d[3])),s=o(r(d[4])),l=o(r(d[5])),c=o(r(d[6])),f=o(r(d[7])),p=o(r(d[8])),v=t(r(d[9])),b=o(r(d[10])),h=o(r(d[11])),C=o(r(d[12])),y=o(r(d[13]));function P(t,o){var u=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),u.push.apply(u,n)}return u}function O(t){for(var o=1;o0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return t.substr(0,n)},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,o=[0].concat(n).concat([t.length]);return o.map(function(n,u){if(0===u)return"";var s=o[u-1];return t.substr(s,n-s)}).filter(function(t){return""!==t}).join(" ")},v={gaps:[4,8,12],lengths:[16],code:{size:3}};e.default=function t(h){var p=this;(0,o.default)(this,t),this.formatValues=function(t){var n=u.default.number(t.number).card||v;return(0,l.default)({type:n.type,number:p._formatNumber(t.number,n),expiry:p._formatExpiry(t.expiry),cvc:p._formatCVC(t.cvc,n),name:(0,s.removeLeadingSpaces)(t.name),postalCode:(0,s.removeNonNumber)(t.postalCode)},p._displayedFields)},this._formatNumber=function(t,n){var o=(0,s.removeNonNumber)(t),u=n.lengths[n.lengths.length-1],l=c(o,u);return f(l,n.gaps)},this._formatExpiry=function(t){var n=c((0,s.removeNonNumber)(t),4);return n.match(/^[2-9]$/)?"0"+n:n.length>2?n.substr(0,2)+"/"+n.substr(2,n.length):n},this._formatCVC=function(t,n){var o=n.code.size;return c((0,s.removeNonNumber)(t),o)},this._displayedFields=[].concat((0,n.default)(h),["type"])}},1599,[1,33,8,1600,1636,1637]); +__d(function(g,r,i,a,m,e,d){'use strict';m.exports={number:r(d[0]),expirationDate:r(d[1]),expirationMonth:r(d[2]),expirationYear:r(d[3]),cvv:r(d[4]),postalCode:r(d[5])}},1600,[1601,1630,1633,1632,1634,1635]); +__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),l=r(d[2]),u=r(d[3]),h=r(d[4]);function s(n,l,u){return t({},{card:n,isPotentiallyValid:l,isValid:u})}m.exports=function(t){var f,o,c,p,y;if(h(t)&&(t=String(t)),!n(t))return s(null,!1,!1);if(t=t.replace(/\-|\s/g,''),!/^\d*$/.test(t))return s(null,!1,!1);if(0===(f=u(t)).length)return s(null,!1,!1);if(1!==f.length)return s(null,!0,!1);for(c='unionpay'===(o=f[0]).type||l(t),y=Math.max.apply(null,o.lengths),p=0;p-1&&t%1==0&&t<=n}},1614,[]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),n=r(d[1]),o=r(d[2]),p=r(d[3]),c=r(d[4]),h=Object.prototype.hasOwnProperty;m.exports=function(l){for(var u=c(l),f=u.length,s=f&&l.length,v=!!s&&p(s)&&(n(l)||t(l)),y=-1,O=[];++y-1&&u%1==0&&u0;++y2?u[c-2]:void 0,p=c>2?u[2]:void 0,y=c>1?u[c-1]:void 0;for('function'==typeof l?(l=n(l,y,5),c-=2):c-=(l='function'==typeof y?y:void 0)?1:0,p&&o(u[0],u[1],p)&&(l=c<3?void 0:l,c=1);++v=0;)n=parseInt(t.charAt(s),10),o&&(n*=2)>9&&(n=n%10+1),o=!o,c+=n,s--;return c%10==0}},1627,[]); +__d(function(g,r,i,a,m,e,d){'use strict';var t={},n=["visa","master-card","american-express","diners-club","discover","jcb","unionpay","maestro"];function s(t){var n,s,c;return t?(n=t.prefixPattern.source,s=t.exactPattern.source,(c=JSON.parse(JSON.stringify(t))).prefixPattern=n,c.exactPattern=s,c):null}function c(c){var p,o,x,y=[],P=[];if(!('string'==typeof c||c instanceof String))return[];for(x=0;x5?2:1,'1'===n[0]&&(u=n.substr(1),t(u).isPotentiallyValid||(o=2)),{month:l=n.substr(0,o),year:n.substr(l.length)})}},1631,[1632,1617]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=19;function s(t,n,s){return{isValid:t,isPotentiallyValid:n,isCurrentYear:s||!1}}m.exports=function(l){var u,c,o,f,p;return t(l)?''===l.replace(/\s/g,'')?s(!1,!0):/^\d*$/.test(l)?(c=l.length)<2?s(!1,!0):(u=(new Date).getFullYear(),3===c?s(!1,l.slice(0,2)===String(u).slice(0,2)):c>4?s(!1,!1):(l=parseInt(l,10),o=Number(String(u).substr(2,2)),2===c?(p=o===l,f=l>=o&&l<=o+n):4===c&&(p=u===l,f=l>=u&&l<=u+n),s(f,f,p))):s(!1,!1):s(!1,!1)}},1632,[1602]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);function n(t,n,s){return{isValid:t,isPotentiallyValid:n,isValidForThisYear:s||!1}}m.exports=function(s){var o,l,u=(new Date).getMonth()+1;return t(s)?''===s.replace(/\s/g,'')||'0'===s?n(!1,!0):/^\d*$/.test(s)?(o=parseInt(s,10),isNaN(s)?n(!1,!1):n(l=o>0&&o<13,l,l&&o>=u)):n(!1,!1):n(!1,!1)}},1633,[1602]); +__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=3;function l(n,t){for(var l=0;ll?n[u]:l;return l}function o(n,t){return{isValid:n,isPotentiallyValid:t}}m.exports=function(f,c){return c=(c=c||t)instanceof Array?c:[c],n(f)&&/^\d*$/.test(f)?l(c,f.length)?o(!0,!0):f.lengthu(c)?o(!1,!1):o(!0,!0):o(!1,!1)}},1634,[1602]); +__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=3;function u(t,n){return{isValid:t,isPotentiallyValid:n}}m.exports=function(l){return t(l)?l.length0&&void 0!==arguments[0]?arguments[0]:"").replace(/[^\d]/g,"")};e.removeLeadingSpaces=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/^\s+/g,"")}},1636,[]); +__d(function(g,r,i,a,m,e,d){var t=9007199254740991,n='[object Arguments]',o='[object Function]',c='[object GeneratorFunction]',u='[object Symbol]',l='object'==typeof g&&g&&g.Object===Object&&g,f='object'==typeof self&&self&&self.Object===Object&&self,b=l||f||Function('return this')();function s(t,n,o){switch(o.length){case 0:return t.call(n);case 1:return t.call(n,o[0]);case 2:return t.call(n,o[0],o[1]);case 3:return t.call(n,o[0],o[1],o[2])}return t.apply(n,o)}function y(t,n){for(var o=-1,c=t?t.length:0,u=Array(c);++o0&&o(b)?n>1?w(b,n-1,o,c,u):p(u,b):c||(u[u.length]=b)}return u}function x(t,n){return C(t=Object(t),n,function(n,o){return o in t})}function C(t,n,o){for(var c=-1,u=n.length,l={};++c-1&&n%1==0&&n<=t}function z(t){var n=typeof t;return!!t&&('object'==n||'function'==n)}function B(t){return!!t&&'object'==typeof t}function D(t){return'symbol'==typeof t||B(t)&&j.call(t)==u}var H,J,K=(H=function(t,n){return null==t?{}:x(t,y(w(n,1),E))},J=F(void 0===J?H.length-1:J,0),function(){for(var t=arguments,n=-1,o=F(t.length-J,0),c=Array(o);++n-1&&t%1==0&&t-1&&t%1==0&&t<=n}function I(n){var t=typeof n;return!!n&&('object'==t||'function'==t)}function P(n){return!!n&&'object'==typeof n}function $(n){return w(n)?O(n):F(n)}m.exports=function(n){return n?p(n,$(n)):[]}},1639,[]); +__d(function(g,r,i,a,m,e,d){var t='Expected a function',n='__lodash_hash_undefined__',o=1,u=2,c=9007199254740991,f='[object Arguments]',l='[object Array]',s='[object Boolean]',p='[object Date]',_='[object Error]',v='[object Function]',h='[object GeneratorFunction]',y='[object Map]',b='[object Number]',j='[object Object]',w='[object RegExp]',O='[object Set]',A='[object String]',k='[object Symbol]',S='[object ArrayBuffer]',$='[object DataView]',E=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x=/^\w*$/,F=/^\./,M=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,P=/\\(\\)?/g,I=/^\[object .+?Constructor\]$/,T=/^(?:0|[1-9]\d*)$/,U={};U['[object Float32Array]']=U['[object Float64Array]']=U['[object Int8Array]']=U['[object Int16Array]']=U['[object Int32Array]']=U['[object Uint8Array]']=U['[object Uint8ClampedArray]']=U['[object Uint16Array]']=U['[object Uint32Array]']=!0,U[f]=U[l]=U[S]=U[s]=U[$]=U[p]=U[_]=U[v]=U[y]=U[b]=U[j]=U[w]=U[O]=U[A]=U["[object WeakMap]"]=!1;var z='object'==typeof g&&g&&g.Object===Object&&g,C='object'==typeof self&&self&&self.Object===Object&&self,L=z||C||Function('return this')(),W='object'==typeof e&&e&&!e.nodeType&&e,B=W&&'object'==typeof m&&m&&!m.nodeType&&m,D=B&&B.exports===W&&z.process,R=(function(){try{return D&&D.binding('util')}catch(t){}})(),V=R&&R.isTypedArray;function G(t,n){for(var o=-1,u=t?t.length:0;++o-1},xt.prototype.set=function(t,n){var o=this.__data__,u=Tt(o,t);return u<0?o.push([t,n]):o[u][1]=n,this},Ft.prototype.clear=function(){this.__data__={hash:new Et,map:new(ht||xt),string:new Et}},Ft.prototype.delete=function(t){return tr(this,t).delete(t)},Ft.prototype.get=function(t){return tr(this,t).get(t)},Ft.prototype.has=function(t){return tr(this,t).has(t)},Ft.prototype.set=function(t,n){return tr(this,t).set(t,n),this},Mt.prototype.add=Mt.prototype.push=function(t){return this.__data__.set(t,n),this},Mt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.clear=function(){this.__data__=new xt},Pt.prototype.delete=function(t){return this.__data__.delete(t)},Pt.prototype.get=function(t){return this.__data__.get(t)},Pt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.set=function(t,n){var o=this.__data__;if(o instanceof xt){var u=o.__data__;if(!ht||u.length<199)return u.push([t,n]),this;o=this.__data__=new Ft(u)}return o.set(t,n),this};var Ut,zt,Ct=(Ut=function(t,n){return t&&Wt(t,n,$r)},function(t,n){if(null==t)return t;if(!br(t))return Ut(t,n);for(var o=t.length,u=zt?o:-1,c=Object(t);(zt?u--:++u_))return!1;var h=s.get(t);if(h&&s.get(n))return h==n;var y=-1,b=!0,j=l&o?new Mt:void 0;for(s.set(t,n),s.set(n,t);++y<_;){var w=t[y],O=n[y];if(f)var A=p?f(O,w,y,n,t,s):f(w,O,y,t,n,s);if(void 0!==A){if(A)continue;b=!1;break}if(j){if(!N(n,function(t,n){if(!j.has(n)&&(w===t||c(w,t,f,l,s)))return j.add(n)})){b=!1;break}}else if(w!==O&&!c(w,O,f,l,s)){b=!1;break}}return s.delete(t),s.delete(n),b}function Yt(t,n,c,f,l,v,h){switch(c){case $:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case S:return!(t.byteLength!=n.byteLength||!f(new lt(t),new lt(n)));case s:case p:case b:return vr(+t,+n);case _:return t.name==n.name&&t.message==n.message;case w:case A:return t==n+'';case y:var j=K;case O:var E=v&u;if(j||(j=Q),t.size!=n.size&&!E)return!1;var x=h.get(t);if(x)return x==n;v|=o,h.set(t,n);var F=Xt(j(t),j(n),f,l,v,h);return h.delete(t),F;case k:if(St)return St.call(t)==St.call(n)}return!1}function Zt(t,n,o,c,f,l){var s=f&u,p=$r(t),_=p.length;if(_!=$r(n).length&&!s)return!1;for(var v=_;v--;){var h=p[v];if(!(s?h in n:it.call(n,h)))return!1}var y=l.get(t);if(y&&l.get(n))return y==n;var b=!0;l.set(t,n),l.set(n,t);for(var j=s;++v<_;){var w=t[h=p[v]],O=n[h];if(c)var A=s?c(O,w,h,n,t,l):c(w,O,h,t,n,l);if(!(void 0===A?w===O||o(w,O,c,f,l):A)){b=!1;break}j||(j='constructor'==h)}if(b&&!j){var k=t.constructor,S=n.constructor;k!=S&&'constructor'in t&&'constructor'in n&&!('function'==typeof k&&k instanceof k&&'function'==typeof S&&S instanceof S)&&(b=!1)}return l.delete(t),l.delete(n),b}function tr(t,n){var o,u,c=t.__data__;return('string'==(u=typeof(o=n))||'number'==u||'symbol'==u||'boolean'==u?'__proto__'!==o:null===o)?c['string'==typeof n?'string':'hash']:c.map}function rr(t){for(var n=$r(t),o=n.length;o--;){var u=n[o],c=t[u];n[o]=[u,c,cr(c)]}return n}function nr(t,n){var o=H(t,n);return Nt(o)?o:void 0}var er=function(t){return at.call(t)};function or(t,n,o){for(var u,c=-1,f=(n=ar(n,t)?[n]:Qt(n)).length;++c-1&&t%1==0&&t-1&&t%1==0&&t<=c}function wr(t){var n=typeof t;return!!t&&('object'==n||'function'==n)}function mr(t){return!!t&&'object'==typeof t}function Or(t){return'symbol'==typeof t||mr(t)&&at.call(t)==k}var Ar=V?(function(t){return function(n){return t(n)}})(V):function(t){return mr(t)&&jr(t.length)&&!!U[at.call(t)]};function kr(t,n,o){var u=null==t?void 0:Bt(t,n);return void 0===u?o:u}function Sr(t,n){return null!=t&&or(t,n,Dt)}function $r(t){return br(t)?It(t):qt(t)}function Er(t){return t}m.exports=function(t,n,o){var u,c,f,l,s,p=yr(t)?G:Lt;return o&&ir(t,n,o)&&(n=void 0),p(t,'function'==typeof(f=n)?f:null==f?Er:'object'==typeof f?yr(f)?Ht(f[0],f[1]):1==(c=rr(u=f)).length&&c[0][2]?fr(c[0][0],c[0][1]):function(t){return t===u||Gt(t,u,c)}:ar(s=f)?(l=sr(s),function(t){return null==t?void 0:t[l]}):Jt(s))}},1640,[]); +__d(function(g,r,i,a,m,e,d){m.exports=function(n){for(var t=-1,o=n?n.length:0,f=0,u=[];++t0&&{height:this.state.height},this.state.width>0&&{width:this.state.width}],flipHorizontal:this.props.flipHorizontal,flipVertical:this.props.flipVertical,perspective:this.props.perspective,onLayout:function(s){var p=s.nativeEvent.layout,o=(p.x,p.y,p.width),n=p.height,h=(0,l.default)(t.state.back,{width:o,height:n});t.setState({back:h}),t.state.mesured&&(t.props.alignHeight&&t.setState({height:Math.max(t.state.face.height,t.state.back.height)}),t.props.alignWidth&&t.setState({width:Math.max(t.state.face.width,t.state.back.width)}))}},s[1]):f.default.createElement(w,{style:[this.state.height>0&&{height:this.state.height},this.state.width>0&&{width:this.state.width}],onLayout:function(s){var p=s.nativeEvent.layout,o=(p.x,p.y,p.width),n=p.height,h=(0,l.default)(t.state.face,{width:o,height:n});t.setState({face:h}),t.state.mesured&&(t.props.alignHeight&&t.setState({height:Math.max(t.state.face.height,t.state.back.height)}),t.props.alignWidth&&t.setState({width:Math.max(t.state.face.width,t.state.back.width)}))}},s[0]),this.props.clickable){var n=0;return((this.props.alignHeight||this.props.alignWidth)&&this.state.mesured||!this.props.alignHeight&&!this.props.alignWidth)&&(n=1),f.default.createElement(v.TouchableOpacity,{style:{flex:1},testID:this.props.testID,activeOpacity:1,onPress:function(){t._toggleCard()}},f.default.createElement(v.Animated.View,(0,l.default)({},this.props,{style:[y.default.flipCard,{transform:p,opacity:n},this.props.style]}),o))}return f.default.createElement(v.Animated.View,(0,l.default)({},this.props,{style:[y.default.flipCard,{transform:p},this.props.style]}),o)}}]),s})(f.Component);e.default=b,b.propTypes={style:v.ViewPropTypes.style},b.propTypes={flip:c.default.bool,friction:c.default.number,perspective:c.default.number,flipHorizontal:c.default.bool,flipVertical:c.default.bool,clickable:c.default.bool,onFlipEnd:c.default.func,onFlipStart:c.default.func,alignHeight:c.default.bool,alignWidth:c.default.bool,useNativeDriver:c.default.bool,children:function(t,s,l){var p=t[s];if(2!==f.default.Children.count(p))return new Error('`'+l+"` should contain exactly two children. The first child represents the front of the card. The second child represents the back of the card.")}},b.defaultProps={flip:!1,friction:6,perspective:1e3,flipHorizontal:!1,flipVertical:!0,clickable:!0,onFlipEnd:function(){},onFlipStart:function(){},alignHeight:!1,alignWidth:!1,useNativeDriver:!0};var w=(function(t){function s(){return(0,p.default)(this,s),(0,n.default)(this,(0,h.default)(s).apply(this,arguments))}return(0,u.default)(s,t),(0,o.default)(s,[{key:"render",value:function(){return f.default.createElement(v.View,{style:[y.default.face,this.props.style],onLayout:this.props.onLayout},this.props.children)}}]),s})(f.Component);e.Face=w,w.propTypes={children:function(t,s,l){}};var k=(function(t){function s(){return(0,p.default)(this,s),(0,n.default)(this,(0,h.default)(s).apply(this,arguments))}return(0,u.default)(s,t),(0,o.default)(s,[{key:"render",value:function(){var t=[];return this.props.flipHorizontal&&(t.push({scaleX:-1}),"android"===v.Platform.OS&&t.push({perspective:this.props.perspective})),this.props.flipVertical&&(t.push({scaleY:-1}),"android"===v.Platform.OS&&t.push({perspective:this.props.perspective})),f.default.createElement(v.View,{style:[y.default.back,this.props.style,{transform:t}],onLayout:this.props.onLayout},this.props.children)}}]),s})(f.Component);e.Back=k,k.defaultProps={flipHorizontal:!1,flipVertical:!0,perspective:1e3},k.propTypes={flipHorizontal:c.default.bool,flipVertical:c.default.bool,perspective:c.default.number,children:function(t,s,l){}}},1655,[4,1,6,8,9,10,12,13,15,68,18,1656]); +__d(function(g,r,i,a,m,e,d){'use strict';Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(d[0]).StyleSheet.create({flipCard:{flex:1},face:{flex:1},back:{flex:1}});e.default=t},1656,[18]); +__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-credit-card-input/images",width:456,height:292,scales:[1],hash:"51f117706ff4cfc614abbc45a67afc4f",name:"card-front",type:"png"})},1657,[175]); +__d(function(g,r,i,a,m,e,d){m.exports=r(d[0]).registerAsset({__packager_asset:!0,httpServerLocation:"/assets/node_modules/react-native-credit-card-input/images",width:456,height:292,scales:[1],hash:"45c1d3c823f2e173bcd56271ce49848e",name:"card-back",type:"png"})},1658,[175]); +__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])),p=l(r(d[5])),s=l(r(d[6])),c=l(r(d[7])),f=t(r(d[8])),y=l(r(d[9])),v=r(d[10]),h=v.StyleSheet.create({baseInputStyle:{color:"black"}}),C=(function(t){function l(){var t,o;(0,n.default)(this,l);for(var u=arguments.length,c=new Array(u),f=0;f0?p.default.createElement(y.ScrollView,{style:{flex:1,padding:20,marginTop:20}},n.response.map(function(t,n){return o.renderWalletItem(t)})):p.default.createElement(y.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(C.default,{body1:!0},h.default.t('NO_WALLET_ACTIVED'))):void 0},S.extend({'+':'plus'}),b.IlinkEmitter.on("langueChange",o.updateLangue.bind((0,s.default)(o))),o.state={result:null,isDataLoaded:!1},o}return(0,f.default)(n,t),(0,o.default)(n,[{key:"componentDidUpdate",value:function(){var t=D.store.getState().walletReducer;null===t||this.state.isDataLoaded||this.setState({result:t.result,isDataLoaded:!0})}},{key:"componentDidMount",value:function(){var t=this;(0,k.readUser)().then(function(n){n&&void 0!==n&&void 0!==n.phone&&t.props.getWalletActivated(n.agentId)})}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:h.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){var t=this,n=this.props;n.result,n.error;return p.default.createElement(L.Provider,null,p.default.createElement(y.View,{style:{flex:1}},p.default.createElement(y.StatusBar,{backgroundColor:v.Color.primaryDarkColor,barStyle:"light-content",translucent:!1}),p.default.createElement(L.Appbar.Header,{dark:!0,style:{backgroundColor:v.Color.primaryColor}},p.default.createElement(L.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),p.default.createElement(L.Appbar.Content,{title:h.default.t('WALLET'),subtitle:h.default.t('SELECT_YOUR_WALLET')})),this.props.loading?this.renderLoader():this.renderWalletList()))}}]),n})(p.Component);x.navigationOptions=function(t){t.navigation;return{header:null,headerMode:'none',headerTitle:null,activeColor:'#f0edf6',inactiveColor:'#3e2465',barStyle:{backgroundColor:'#694fad'},drawerLabel:h.default.t('CREDIT_MANAGE'),drawerIcon:function(t){t.tintColor;return p.default.createElement(E.default,{name:'credit-card',size:24})}}};var O=(0,I.connect)(function(t){return{loading:t.walletReducer.loading,result:t.walletReducer.result,error:t.walletReducer.error}},function(t){return(0,T.bindActionCreators)({getWalletActivated:A.default},t)})(x);e.default=O;var W=y.StyleSheet.create({container:{flex:1,backgroundColor:v.Color.containerBackgroundColor},paymentItem:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottomWidth:1,paddingVertical:5,width:"100%",marginBottom:15},iconContent:{width:60,marginRight:10,alignItems:"center"}})},1661,[4,1,8,9,10,12,11,13,15,18,869,712,1585,1586,1589,1593,736,766,1029,1537,1504,711,1472,1540,807,1662]); +__d(function(g,r,i,a,m,e,d){var n,o;n=this,o=function(){var n=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial"}'),o=JSON.parse('{"vi":{"\u0110":"D","\u0111":"d"}}');function t(t,u){if('string'!=typeof t)throw new Error('slugify: string argument expected');var s=o[(u='string'==typeof u?{replacement:u}:u||{}).locale]||{},c=u.replacement||'-',l=t.split('').reduce(function(o,t){return o+(s[t]||n[t]||t)},'').replace(u.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,'').trim().replace(new RegExp('[\\s'+c+']+','g'),c);return u.lower&&(l=l.toLowerCase()),u.strict&&(l=l.replace(new RegExp('[^a-zA-Z0-9'+c+']','g'),'')),l}return t.extend=function(o){for(var t in o)n[t]=o[t]},t},'object'==typeof e?(m.exports=o(),m.exports.default=o()):'function'==typeof define&&define.amd?define(o):n.slugify=o()},1662,[]); +__d(function(g,r,i,a,m,e,d){"use strict";e.__esModule=!0,e.PersistGate=void 0;var t=(function(t){if(t&&t.__esModule)return t;var o={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var s=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};s.get||s.set?Object.defineProperty(o,n,s):o[n]=t[n]}return o.default=t,o})(r(d[0]));function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.iterator:"@@iterator")?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==("function"==typeof Symbol?Symbol.prototype:"@@prototype")?"symbol":typeof t})(t)}function n(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function s(t,o){for(var n=0;n ({ export const fetchAuthKeyError = (error) => ({ type: AUTH_KEY_ERROR, result: error -}); \ No newline at end of file +}); \ No newline at end of file diff --git a/redux/reducers/AuthKeyReducer.js b/redux/reducers/AuthKeyReducer.js index 8eb683bb..fdaa07d4 100644 --- a/redux/reducers/AuthKeyReducer.js +++ b/redux/reducers/AuthKeyReducer.js @@ -28,7 +28,7 @@ export default (state = initialState, action) => { case REHYDRATE: return { ...state, loading: false, - authKey: action.payload.authKeyReducer.authKey, + authKey: typeof action.payload !== 'undefined' ? action.payload.authKeyReducer.authKey : null, error: null } diff --git a/screens/ads/BannerAds.js b/screens/ads/BannerAds.js index e48608ab..9222877f 100644 --- a/screens/ads/BannerAds.js +++ b/screens/ads/BannerAds.js @@ -1,78 +1,77 @@ -import React,{Component} from 'react'; +import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { - Platform, StyleSheet, Text, - TouchableWithoutFeedback, View, TextInput, - WebView, - Animated, Dimensions, Image, PermissionsAndroid, - StatusBar, TouchableNativeFeedback, TouchableOpacity,BackHandler,Alert,ProgressBarAndroid - , NativeModules, Picker, FlatList + Platform, StyleSheet, Text, + TouchableWithoutFeedback, View, TextInput, + WebView, + Animated, Dimensions, Image, PermissionsAndroid, + StatusBar, TouchableNativeFeedback, TouchableOpacity, BackHandler, Alert, ProgressBarAndroid + , NativeModules, Picker, FlatList } from 'react-native'; import CardView from "react-native-cardview" -import {responsiveHeight,responsiveWidth} from "react-native-responsive-dimensions" +import { responsiveHeight, responsiveWidth } from "react-native-responsive-dimensions" import BaseScreen from "../BaseScreen"; import Icon from "react-native-vector-icons/MaterialIcons"; import Button from "apsl-react-native-button" -type Props = {}; -const route=require("./../../route.json") +const route = require("./../../route.json") const BannerAds = (props) => { - const { children, hide, style } = props; - if (hide) { - return null; - } - return ( - - - - { - this.hide=true - }} - style={{borderRadius:0}} - >Fermer - - - - ); + const { children, hide, style } = props; + if (hide) { + return null; + } + return ( + + + + { + this.hide = true + }} + style={{ borderRadius: 0 }} + >Fermer + + + + ); } BannerAds.propTypes = { - children: PropTypes.oneOfType([ - PropTypes.string, - PropTypes.element, - PropTypes.number, - PropTypes.arrayOf(PropTypes.oneOfType([ - PropTypes.string, - PropTypes.number, - PropTypes.element, - ])), - ]).isRequired, - hide: PropTypes.bool, + children: PropTypes.oneOfType([ + PropTypes.string, + PropTypes.element, + PropTypes.number, + PropTypes.arrayOf(PropTypes.oneOfType([ + PropTypes.string, + PropTypes.number, + PropTypes.element, + ])), + ]).isRequired, + hide: PropTypes.bool, }; -const styles=StyleSheet.create({ - container:{ - flex:1, +const styles = StyleSheet.create({ + container: { + flex: 1, - width:responsiveWidth(100), - height:responsiveHeight(15), + width: responsiveWidth(100), + height: responsiveHeight(15), - justifyContent:'center', - backgroundColor:"white" - }, - parent:{ - width:responsiveWidth(100), - height:responsiveHeight(15), - justifyContent:'center', - alignItems:'center', - backgroundColor:"#000000AE" - } + justifyContent: 'center', + backgroundColor: "white" + }, + parent: { + width: responsiveWidth(100), + height: responsiveHeight(15), + justifyContent: 'center', + alignItems: 'center', + backgroundColor: "#000000AE" + } }) -export default BannerAds \ No newline at end of file +export default BannerAds \ No newline at end of file diff --git a/screens/home/Home.js b/screens/home/Home.js index ded0c626..ee570163 100644 --- a/screens/home/Home.js +++ b/screens/home/Home.js @@ -48,6 +48,8 @@ import MarkerManager from './../../webservice/persistences/MarkerManager' import { bindActionCreators } from 'redux'; import getAuthApiKey from '../../webservice/AuthKeyApi'; import { connect } from 'react-redux'; +import getWalletActivated from '../../webservice/WalletApi'; + const slideHeight = responsiveHeight(30) > 270 ? 270 : responsiveHeight(30) //var Fabric = require('react-native-fabric'); @@ -167,11 +169,19 @@ class Home extends BaseScreen { }); }); */ + readUser().then((user) => { + if (user) { + if (user !== undefined) { + if (user.phone !== undefined) + this.props.getAuthApiKey(user.phone); + //this.props.getWalletActivated(user.agentId); + } + } + }); this.mounted = true; this.configuration = new Configuration() const { navigation } = this.props; this.markerManager = new MarkerManager() - this.props.getAuthApiKey(); this.configuration.getCurrentPubValue().then((value) => { try { const val = parseInt(value) @@ -2170,7 +2180,8 @@ const mapStateToProps = state => ({ }); const mapDispatchToProps = dispatch => bindActionCreators({ - getAuthApiKey + getAuthApiKey, + getWalletActivated }, dispatch); export default connect(mapStateToProps, mapDispatchToProps)(Home); diff --git a/screens/optionMenu/OptionsMenu.js b/screens/optionMenu/OptionsMenu.js index e233776c..175ecf82 100644 --- a/screens/optionMenu/OptionsMenu.js +++ b/screens/optionMenu/OptionsMenu.js @@ -43,8 +43,16 @@ export default class OptionsMenu extends Component { IlinkEmitter.on("userdisconnect", this.hideSideMenu.bind(this)) IlinkEmitter.on("langueChange", this.updateLangue.bind(this)) this.configuration = new Configuration(); + readUser().then((user) => { + if (user.id !== this.state.user.id) { + if (user !== null && user !== undefined) { + this.setState({ user }); + } + } + }); } + retrieveAndroidInformation() { this.configuration._getData().then((lang) => { if (lang) { @@ -209,17 +217,42 @@ export default class OptionsMenu extends Component { , { title: I18n.t('MY_ACCOUNT'), id: 1, key: 1, icon: 'md-person', active: false } , { title: I18n.t('NOTIFICATIONS'), id: 3, key: 3, icon: 'md-notifications', active: false } , { title: I18n.t('CONFIGURATIONS'), id: 4, icon: 'md-settings', active: false }] + } + redirectToScreen = (item) => { + console.log("Item Menu Click", item); + + switch (this.state.user.category) { + case "super": + if (item === "walletSelect") + item = "walletDetail"; + this.props.navigation.navigate(item, { agentId: this.state.user.agentId }); + + break; + case "hyper": + if (item === "walletSelect") + item = "walletDetail"; + this.props.navigation.navigate(item, { agentId: this.state.user.agentId }); + + break; + + default: + this.props.navigation.navigate(item); + break; + } + + } _renderItem = (item) => { if (item === "creditrequest" || item === 'historyItemDetails' || item === 'filter' || item === 'networks' || item === 'walletDetail') { return null } else { const color = this.state.currentId === item.id ? theme.accent : "grey" + //console.log("ITEM OPTION MENU", item); return ( { this.props.navigation.toggleDrawer(); - this.setState({ currentId: item.id }) - this.props.navigation.navigate(item) + this.setState({ currentId: item.id }); + this.redirectToScreen(item); }} > ( @@ -21,9 +33,9 @@ const FirstRoute = () => ( - + {I18n.t('ENTER_YOUR_CARD_ID')} - + @@ -45,7 +57,7 @@ const SecondRoute = () => ( ); -export default class WalletDetail extends Component { +class WalletDetail extends Component { constructor(props) { super(props); @@ -54,13 +66,24 @@ export default class WalletDetail extends Component { routes: [ { key: 'depot', title: I18n.t('DEPOSIT') }, { key: 'retrait', title: I18n.t('WITHDRAWAL') } - ] + ], + heightHeader: Utils.heightHeader(), }; + + slugify.extend({ '+': 'plus' }); + this.scrollY = new Animated.Value(0); + this.deltaY = new Animated.Value(0); + + this.heightImageBanner = Utils.scaleWithPixel(250, 1); + this.marginTopBanner = this.heightImageBanner - this.state.heightHeader - 40; + IlinkEmitter.on("langueChange", this.updateLangue.bind(this)); } + + static options(passProps) { return { topBar: { @@ -101,6 +124,22 @@ export default class WalletDetail extends Component { } }; + componentDidMount() { + if (this.props.navigation.state.params.hasOwnProperty('agentId')) { + let agentId = this.props.navigation.state.params.agentId; + this.props.getWalletActivated(agentId); + } + } + + getWalletIcon = (wallet) => { + return `${baseUrl}/datas/img/network/${slugify(wallet.network, { lower: true })}-logo.png`; + + } + + getCreationDateToHumanFormat = (date) => { + let re = moment.tz(date, 'Etc/GMT+0').format(); + return moment(re).fromNow(); + } updateLangue() { this.props.navigation.setParams({ name: I18n.t('WALLET') }) this.forceUpdate() @@ -125,6 +164,7 @@ export default class WalletDetail extends Component { }); } + renderTabBar = props => ( - + { (route.key === 'depot') ? ( + )} @@ -159,20 +199,153 @@ export default class WalletDetail extends Component { /> ); + renderHeader = (wallet) => ( + + + {I18n.t('COUNTRY')} + {wallet.country} + - render() { - const { index, routes } = this.state; + + + + + {wallet.network} + + {I18n.t('TRANSFER_TO_PRINCIPAL_ACCOUNT')} + + + + + {I18n.t('CREATION_DATE')} + {this.getCreationDateToHumanFormat(wallet.created_date)} + + + ); + + renderLoader = () => { return ( - + + {Platform.OS === 'android' + ? + ( + <> + + {I18n.t('LOADING_DOTS')} - + + ) : + <> + + {I18n.t('LOADING_DOTS')} + + } + + ) + } + + renderAccountDetail = (wallet) => ( + + + + + + + + + {I18n.t('PRINCIPAL_ACCOUNT_TITLE')} + + {wallet.balance_princ} + + + + + + + + + + {I18n.t('COMMISSION_ACCOUNT_TITLE')} + + {wallet.balance_com} + + + + + ); + + renderDetailWallet = (wallet) => { + return ( + + + + - - - {I18n.t('COMMISSION_ACCOUNT_TITLE')} - 100 000F - + {this.renderHeader(wallet)} - - + - - Brice Zele - - {I18n.t('TRANSFER_TO_PRINCIPAL_ACCOUNT')} -> - + {this.renderAccountDetail(wallet)} + + + + {I18n.t('TRANSACTIONS')} + + + + + + + console.log('click')} + activeOpacity={0.9}> + + + + + + + + {I18n.t('DEPOSIT')} + + + + + + {I18n.t('DEPOSIT_DESCRIPTION')} + + + + + + + + + console.log('click')} + activeOpacity={0.9}> + + + + + + + {I18n.t('WITHDRAWAL')} + + + + + + {I18n.t('WITHDRAWAL_DESCRIPTION')} + + + + + + + + - - {I18n.t('PRINCIPAL_ACCOUNT_TITLE')} - 1000 000F - + + {/* */} - + - + + ) + } + + + render() { + const isHomeRootView = this.props.navigation.state.params.hasOwnProperty('agentId'); + //const { wallet } = this.props.navigation.state.params; + + console.log("WALLET DETAILS is From Root", isHomeRootView); + console.log("WALLET DETAILS PROPS", this.props); + return ( + !isHomeRootView ? + this.renderDetailWallet(this.props.navigation.state.params.wallet) + : + (this.props.loading ? + this.renderLoader() : + this.renderDetailWallet(this.props.result.response[0]) + ) ); } } + +const mapStateToProps = state => ({ + loading: state.walletReducer.loading, + result: state.walletReducer.result, + error: state.walletReducer.error +}); + +const mapDispatchToProps = dispatch => bindActionCreators({ + getWalletActivated +}, dispatch); + +export default connect(mapStateToProps, mapDispatchToProps)(WalletDetail); const styles = StyleSheet.create({ container: { flex: 1, @@ -257,9 +494,18 @@ const styles = StyleSheet.create({ tabbar: { height: 40 }, + imgBanner: { + width: '100%', + height: 250, + position: 'absolute', + }, containField: { - margin: 20, - marginTop: 90, + padding: 10, + marginBottom: 20, + borderWidth: 0.5, + shadowOffset: { width: 1.5, height: 1.5 }, + shadowOpacity: 1.0, + elevation: 5, flexDirection: "row", height: 140, borderRadius: 10 @@ -286,5 +532,55 @@ const styles = StyleSheet.create({ borderBottomWidth: 1, paddingVertical: 15, marginTop: 10 + }, + blockView: { + paddingVertical: 10, + borderBottomWidth: 0.5, + }, + circlePoint: { + width: 50, + height: 50, + borderRadius: 25, + marginRight: 5, + alignItems: 'center', + justifyContent: 'center', + }, + transactionContainer: { + flexDirection: 'row', + paddingTop: 20, + }, + containerTouch: { + flex: 1, + flexDirection: 'row', + alignItems: 'center', + shadowColor: Color.borderColor, + borderColor: Color.borderColor, + borderWidth: 0.5, + shadowOffset: { width: 1.5, height: 1.5 }, + shadowOpacity: 1.0, + elevation: 5, + borderRadius: 10, + backgroundColor: Color.cardBackgroundColor + }, + + contain: { + flexDirection: 'row', + justifyContent: 'space-between', + }, + imageBanner: { + marginTop: 15, + marginLeft: 5, + width: Utils.scaleWithPixel(30), + height: Utils.scaleWithPixel(30) + }, + content: { + height: Utils.scaleWithPixel(50), + paddingHorizontal: 10, + justifyContent: 'space-between', + alignItems: 'flex-start', + flex: 1, + }, + contentTitle: { + paddingTop: 5, } }) \ No newline at end of file diff --git a/screens/wallet/WalletSelect.js b/screens/wallet/WalletSelect.js index 43f361b9..ca65d72a 100644 --- a/screens/wallet/WalletSelect.js +++ b/screens/wallet/WalletSelect.js @@ -1,12 +1,11 @@ import React, { Component } from 'react'; -import { StyleSheet, View, Image, StatusBar, ScrollView, TouchableOpacity, ActivityIndicator, Platform, ProgressBarAndroid, Text } from 'react-native'; +import { StyleSheet, View, Image, StatusBar, Alert, ScrollView, TouchableOpacity, ActivityIndicator, Platform, ProgressBarAndroid, Text } from 'react-native'; import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; const route = require('./../../route.json'); let slugify = require('slugify'); import I18n from 'react-native-i18n' import * as Utils from '../../utils/DeviceUtils'; import { Images } from '../../config/Images'; -import CustomText from '../../components/CustomText'; import { Color } from '../../config/Color'; import { baseUrl } from '../../webservice/IlinkConstants'; import { IlinkEmitter } from "../../utils/events"; @@ -15,6 +14,7 @@ import getWalletActivated from '../../webservice/WalletApi'; import { connect } from 'react-redux'; import { readUser } from '../../webservice/AuthApi'; import { bindActionCreators } from 'redux'; +import { FontWeight, Typography } from '../../config/typography'; class WalletSelect extends Component { @@ -22,6 +22,10 @@ class WalletSelect extends Component { super(props); slugify.extend({ '+': 'plus' }); IlinkEmitter.on("langueChange", this.updateLangue.bind(this)); + this.state = { + result: null, + isDataLoaded: false + } } static navigationOptions = ({ navigation }) => ({ @@ -44,7 +48,10 @@ class WalletSelect extends Component { readUser().then((user) => { if (user) { - this.props.getWalletActivated(user.agentId); + if (user !== undefined) { + if (user.phone !== undefined) + this.props.getWalletActivated(user.agentId); + } } }); @@ -82,16 +89,16 @@ class WalletSelect extends Component { this.props.navigation.push('walletDetail')}> + onPress={() => this.props.navigation.push('walletDetail', { wallet: item })}> - {item.network} - + {item.network} + {I18n.t('COUNTRY')}: {item.country} - + @@ -104,26 +111,33 @@ class WalletSelect extends Component { if (error !== null) { return ( - {error} + {error} ) } - if (result !== null) - return ( - - { - result != null && ( - result.response.map((item, index) => ( - this.renderWalletItem(item) - )) + if (result !== null) { + if (result.response !== null) { + return ( + Array.isArray(result.response) && (result.response.length) > 0 ? + ( + { + result.response.map((item, ) => ( + this.renderWalletItem(item) + )) + } + ) : + ( + + {I18n.t('NO_WALLET_ACTIVED')} + ) - } - - ) + ) + } + } + } render() { - console.log("WALLET PROPS", this.props); return ( diff --git a/utils/i18n/en.json b/utils/i18n/en.json index 4d04d28f..fb562032 100644 --- a/utils/i18n/en.json +++ b/utils/i18n/en.json @@ -33,14 +33,19 @@ "ASK_MEMBERS": "Membership applications", "MY_ACCOUNT": "My account", "WALLET": "Wallet", + "DEPOSIT_DESCRIPTION": "Make a deposit", "DEPOSIT": "Deposit", - "WITHDRAWAL": "Wirthdrawal", + "WITHDRAWAL": "Withdrawal", + "WITHDRAWAL_DESCRIPTION": "Make a withdrawal", "COMMISSION_ACCOUNT_TITLE": "Commission account", + "CREATION_DATE": "Creation date", "PRINCIPAL_ACCOUNT_TITLE": "Principal account", + "NO_WALLET_ACTIVED": "PNo wallet is activated for your account", "TRANSFER_TO_PRINCIPAL_ACCOUNT": "Transfer commissions", "PRINCIPAL": "Principal", "ENTER_YOUR_CARD_ID": "Please enter your bank card ID", "SELECT_YOUR_WALLET": "Selec your wallet", + "TRANSACTIONS": "Transactions", "THE_ACCOUNT": "Account ", "NO_GEO_POINT_CODE": "You have no free geolocated point", "NO_DEMAND_ADHESION": "You have no membership request", diff --git a/utils/i18n/fr.json b/utils/i18n/fr.json index 41d24755..73660e77 100644 --- a/utils/i18n/fr.json +++ b/utils/i18n/fr.json @@ -34,11 +34,16 @@ "MY_ACCOUNT": "Mon compte", "WALLET": "Wallet", "DEPOSIT": "Dépôt", + "DEPOSIT_DESCRIPTION": "Effectuer un dépôt", "WITHDRAWAL": "Retrait", + "WITHDRAWAL_DESCRIPTION": "Effectuer un retrait", "COMMISSION_ACCOUNT_TITLE": "Cpt. commission", "PRINCIPAL_ACCOUNT_TITLE": "Cpt. principal", + "TRANSACTIONS": "Transactions", + "NO_WALLET_ACTIVED": "Aucun wallet n'est activé pour votre compte", "TRANSFER_TO_PRINCIPAL_ACCOUNT": "Transférer les commissions", "PRINCIPAL": "Principal", + "CREATION_DATE": "Date de création", "ENTER_YOUR_CARD_ID": "Entrer vos identifiants bancaires", "THE_ACCOUNT": "Le compte ", "NO_GEO_POINT_CODE": "Vous n'avez aucun point geolocalisé libre", diff --git a/webservice/AuthKeyApi.js b/webservice/AuthKeyApi.js index 7ac06fd1..8e5dd004 100644 --- a/webservice/AuthKeyApi.js +++ b/webservice/AuthKeyApi.js @@ -2,10 +2,14 @@ import axios from "axios"; import { authKeyUrl, authKeyData } from "./IlinkConstants"; import { fetchAuthKeySuccess, fetchAuthKeyPending, fetchAuthKeyError } from "../redux/actions/AuthKeyActions"; -const getAuthApiKey = (email) => { +const getAuthApiKey = (phone) => { + + const data = authKeyData; + authKeyData.username = phone; + authKeyData.password = ""; + return dispatch => { dispatch(fetchAuthKeyPending()); - axios.post(authKeyUrl, authKeyData) .then(response => { dispatch(fetchAuthKeySuccess(response)); diff --git a/webservice/FetchQuery.js b/webservice/FetchQuery.js deleted file mode 100644 index 964a3ade..00000000 --- a/webservice/FetchQuery.js +++ /dev/null @@ -1,15 +0,0 @@ -import { store } from "../redux/store"; -import axios from "axios"; - -const auth = store.getState().authKeyReducer; - -console.log("STORE", auth); - -const fetchQuery = axios.create({ - timeout: 10000, - /* headers: { - 'Authorization': auth !== null ? `${auth.authKey.token_type} ${auth.authKey.access_token}` : '' - } */ -}); - -export default fetchQuery; diff --git a/webservice/IlinkConstants.js b/webservice/IlinkConstants.js index 5b5abdf3..a59fc203 100644 --- a/webservice/IlinkConstants.js +++ b/webservice/IlinkConstants.js @@ -22,7 +22,7 @@ export const videoUrl = "https://www.youtube.com/watch?v=wwGPDPsSLWY"; export const MARKER_URL = baseUrl + "/interacted/LocationAction.php"; export const authKeyData = { - "grant_type": "client_credentials", - "client_id": "3", - "client_secret": "E3jAPczLLGvQu87ulQqKB5yM7BXXQUwpL68CPBXe" + "grant_type": "password", + "client_id": "2", + "client_secret": "rrbvxACJPBOG4cqjDNlstSljlmjydLon3P55JMav", }; diff --git a/webservice/WalletApi.js b/webservice/WalletApi.js index b5f52ef1..ee39a27f 100644 --- a/webservice/WalletApi.js +++ b/webservice/WalletApi.js @@ -1,7 +1,6 @@ import { walletActionUrl } from "./IlinkConstants"; import { fetchWalletListPending, fetchWalletListSuccess, fetchWalletListError } from "../redux/actions/WalletActions"; -import fetchQuery from "./FetchQuery"; import { store } from "../redux/store"; import axios from "axios"; @@ -10,8 +9,6 @@ const getWalletActivated = (userID) => { const auth = store.getState().authKeyReducer; const authKey = auth !== null ? `${auth.authKey.token_type} ${auth.authKey.access_token}` : ''; - console.log('AUTHKEY', authKey); - return dispatch => { dispatch(fetchWalletListPending()); @@ -23,11 +20,16 @@ const getWalletActivated = (userID) => { } }) .then(response => { - console.log(response); dispatch(fetchWalletListSuccess(response)); }) .catch(error => { dispatch(fetchWalletListError(error.message)); + if (error.response) + dispatch(fetchWalletListError(error.response)); + else if (error.request) + dispatch(fetchWalletListError(error.request)) + else + dispatch(fetchWalletListError(error.message)) }); } } diff --git a/yarn.lock b/yarn.lock index 073786b7..539e5a5f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -880,6 +880,11 @@ "@types/yargs" "^15.0.0" chalk "^3.0.0" +"@monterosa/react-native-parallax-scroll@^1.8.0": + version "1.8.0" + resolved "https://registry.yarnpkg.com/@monterosa/react-native-parallax-scroll/-/react-native-parallax-scroll-1.8.0.tgz#04339a772c02818b229582a8b903aca4f9106005" + integrity sha512-fFzJvMNN77d78haErRrZ/X64H0Vjz+5CvXSHBqxjlRQmhUB/R7BnqHwO3WFKGv2/Hv30LpL+0MSfHZeukglvDA== + "@react-native-community/async-storage@^1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@react-native-community/async-storage/-/async-storage-1.9.0.tgz#af26a8879bd2987970fbbe81a9623851d29a56f1"