From 7c73883e8480a7a9176b16c5f4d96b1d92d1a17a Mon Sep 17 00:00:00 2001 From: Brice Zele Date: Thu, 10 Feb 2022 11:26:14 +0100 Subject: [PATCH] correction bugs --- .../app/src/main/assets/index.android.bundle | 8 +++--- screens/wallet/WalletOptionSelect.js | 11 ++++++-- .../wallet/agent/ModifierFeuilleSoinScreen.js | 2 +- .../user/HistoriqueNanoSanteUserScreen.js | 16 +++++++++++ .../wallet/user/ValidateConsultationScreen.js | 28 +++++++++++++++---- 5 files changed, 52 insertions(+), 13 deletions(-) diff --git a/android/app/src/main/assets/index.android.bundle b/android/app/src/main/assets/index.android.bundle index d807939c..9bf50cfd 100644 --- a/android/app/src/main/assets/index.android.bundle +++ b/android/app/src/main/assets/index.android.bundle @@ -1778,7 +1778,7 @@ __d(function(g,r,i,a,m,e,d){Object.defineProperty(e,"__esModule",{value:!0}),e.f __d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=l(r(d[2])),n=l(r(d[3])),s=l(r(d[4])),c=l(r(d[5])),u=l(r(d[6])),f=l(r(d[7])),y=t(r(d[8])),p=r(d[9]),T=l(r(d[10])),h=l(r(d[11])),E=t(r(d[12])),w=l(r(d[13])),C=r(d[14]),x=l(r(d[15])),I=l(r(d[16])),b=r(d[17]),V=r(d[18]),D=r(d[19]),A=r(d[20]),R=r(d[21]),O=r(d[22]),v=r(d[23]),S=r(d[24]),_=l(r(d[25])),L=l(r(d[26])),N=r(d[27]);r(d[28]),r(d[29]),r(d[30]),r(d[31]),r(d[32]),r(d[33]),r(d[34]),r(d[35]);var B=r(d[36]),W=r(d[37]),U=r(d[38]),H=r(d[39]),k=l(r(d[40])),F=r(d[41]),P=r(d[42]),Y=r(d[43]),j=r(d[44]);r(d[45]);var z=(function(t){function l(t){var n;return(0,o.default)(this,l),(n=(0,s.default)(this,(0,c.default)(l).call(this,t))).getWalletDetail=function(){n.props.getWalletDetailActivated(n.props.navigation.state.params.userId,null),(0,H.readUser)().then(function(t){t&&void 0!==t&&(n.setState({user:t}),n.props.getUserIdentificationAction(t.phone),n.props.getWalletTransactionHistoryUser(t.id))})},n.getWalletIcon=function(t){return N.baseUrl+"/datas/img/network/"+j(t.network,{lower:!0})+"-logo.png"},n.getCreationDateToHumanFormat=function(t){var l=F.tz(t,F.tz.guess()).format();return F(l).fromNow()},n.handleIndexChange=function(t){return n.setState({index:t})},n.imageScale=function(){return n.scrollY.interpolate({inputRange:[0,100],outputRange:[1,.5],extrapolate:'clamp'})},n.imageTranslateY=function(){return n.scrollY.interpolate({inputRange:[0,100],outputRange:[-5,50],extrapolate:'clamp'})},n.bgHeaderTranslateY=function(){return n.scrollY.interpolate({inputRange:[0,150],outputRange:[-5,0],extrapolate:'clamp'})},n.refresh=function(){var t=n.props.navigation.state.params.userId;n.props.getWalletDetailActivated(t,null)},n.renderHeader=function(t){return y.default.createElement(p.View,{style:[G.containField,{backgroundColor:C.Color.cardBackgroundColor,zIndex:11,shadowColor:C.Color.borderColor,borderColor:C.Color.borderColor}]},y.default.createElement(p.View,{style:[G.contentLeftItem]},y.default.createElement(p.Text,{numberOfLines:1,style:[V.Typography.caption2,V.Typography.semibold]},h.default.t('COUNTRY')),y.default.createElement(p.Text,{numberOfLines:1,adjustsFontSizeToFit:!0,style:V.Typography.caption1},t.country)),y.default.createElement(p.View,{style:{flex:1,alignItems:'center',justifyContent:'flex-end'}},y.default.createElement(p.Animated.Image,{source:{uri:n.getWalletIcon(t)},style:{width:120,height:120,borderRadius:60,position:'absolute',alignSelf:'center',backgroundColor:C.Color.whiteColor,bottom:70,transform:[{scale:n.imageScale()},{translateY:n.imageTranslateY()}]}}),y.default.createElement(p.View,{style:{marginTop:1,flex:1,alignItems:'center',justifyContent:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.headline,V.Typography.semibold],numberOfLines:1},t.network),y.default.createElement(p.View,{style:{flexDirection:'row'}},y.default.createElement(I.default,{icon:y.default.createElement(T.default,{name:"link",size:20,color:C.Color.whiteColor,style:{marginLeft:-15}}),style:{paddingRight:10,width:120,borderTopRightRadius:0,borderBottomRightRadius:0,borderRightWidth:1,borderRightColor:C.Color.whiteColor},primary:!0,onPress:function(){n.props.navigation.push(Y.walletOptionSelect,{optionSelect:U.optionLinkAccountUserScreen,lottie:{source:r(d[46]),loop:!0},isIdentified:n.props.resultUserIdentification.response.isIdentified})}},"\xa0",h.default.t('LINK_CARD_REATTACH')),y.default.createElement(I.default,{icon:y.default.createElement(T.default,{name:"update",size:20,color:C.Color.whiteColor}),primary:!0,style:{width:110,borderTopLeftRadius:0,borderBottomLeftRadius:0},onPress:function(){n._scrollView.scrollToEnd()}},"\xa0\xa0",h.default.t('HISTORY'))))),y.default.createElement(p.View,{style:G.contentLeftItem},y.default.createElement(p.Text,{numberOfLines:1,style:[V.Typography.caption2,V.Typography.semibold]},h.default.t('CREATION_DATE')),y.default.createElement(p.Text,{numberOfLines:1,adjustsFontSizeToFit:!0,style:V.Typography.caption1},F(t.created_date).format('DD/MM/YYYY'))))},n.renderLoader=function(){return y.default.createElement(p.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===p.Platform.OS?y.default.createElement(y.default.Fragment,null,y.default.createElement(p.ProgressBarAndroid,null),y.default.createElement(p.Text,null,h.default.t('LOADING_DOTS'))):y.default.createElement(y.default.Fragment,null,y.default.createElement(p.ActivityIndicator,{size:"large",color:'#ccc'}),y.default.createElement(p.Text,null,h.default.t('LOADING_DOTS'))))},n.renderAccountDetail=function(t){return y.default.createElement(p.View,{style:{flexDirection:'row',flex:1,justifyContent:'space-between'}},y.default.createElement(p.View,{style:{flexDirection:'row',alignItems:'center'}},y.default.createElement(p.View,{style:[G.circlePoint,{backgroundColor:C.Color.primaryColor}]},y.default.createElement(w.default,{name:"md-wallet",size:28,color:C.Color.whiteColor})),y.default.createElement(p.View,null,y.default.createElement(p.Text,{style:(V.Typography.title3,C.Color.primaryColor,{marginBottom:3})},h.default.t('PRINCIPAL_ACCOUNT_TITLE')),y.default.createElement(p.Text,{style:[V.Typography.body2]},P(t.balance,' ')+" "+t.currency_code))),y.default.createElement(p.View,{style:{flexDirection:'row',alignItems:'center'}},y.default.createElement(p.View,{style:[G.circlePoint,{backgroundColor:C.Color.primaryColor}]},y.default.createElement(w.default,{name:"md-key",size:28,color:C.Color.whiteColor})),y.default.createElement(p.View,null,y.default.createElement(p.Text,{style:(V.Typography.title3,C.Color.primaryColor,{marginBottom:3})},h.default.t('NUMERO_COMPTE')),y.default.createElement(p.Text,{style:[V.Typography.body2]},t.user_code))))},n.renderDetailWallet=function(t){return(0,U.isEmptyObject)(t)?y.default.createElement(p.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},y.default.createElement(p.Text,{style:V.Typography.body1},h.default.t('NO_WALLET_ACTIVED'))):y.default.createElement(y.default.Fragment,null,n.state.triggerTransferCommission&&n.renderDialogTransferCommissionResponse(),y.default.createElement(p.View,{style:G.container},y.default.createElement(p.Animated.View,{style:{position:'absolute',width:"100%",zIndex:1,backgroundColor:C.Color.primaryColor,height:140-n.state.scrollHeaderY}}),y.default.createElement(p.ScrollView,{ref:function(t){return n._scrollView=t},style:{paddingHorizontal:20,position:'absolute',width:'100%',height:'100%',zIndex:2},scrollEventThrottle:8,onScroll:p.Animated.event([{nativeEvent:{contentOffset:{y:n.scrollY}}}],{listener:function(t){n.setState({scrollHeaderY:t.nativeEvent.contentOffset.y})}})},y.default.createElement(p.View,{style:{marginTop:80}},n.renderHeader(t),y.default.createElement(p.View,{style:[G.blockView,{borderBottomColor:C.Color.borderColor}]},n.renderAccountDetail(t),y.default.createElement(y.default.Fragment,null,y.default.createElement(p.View,{style:[G.checkDefault,{borderBottomColor:C.Color.borderColor}]},y.default.createElement(p.Text,{style:[V.Typography.title3,V.Typography.semibold]},h.default.t('TRANSACTIONS'))),y.default.createElement(p.View,{style:G.transactionContainer},y.default.createElement(p.View,{style:[G.containerTouch]},y.default.createElement(p.TouchableOpacity,{style:G.contain,onPress:function(){n.props.navigation.push(Y.walletOptionSelect,{optionSelect:U.optionDepotUserScreen,onGoBack:function(){return n.refresh()},lottie:{source:r(d[47]),loop:!1}})},activeOpacity:.9},y.default.createElement(T.default,{name:"arrow-bottom-right",color:C.Color.primaryColor,size:30,style:G.imageBanner}),y.default.createElement(p.View,{style:[G.content]},y.default.createElement(p.View,{style:G.contentTitle},y.default.createElement(p.Text,{style:[V.Typography.headline,V.Typography.semibold]},h.default.t('ENVOIE_ARGENT')))))),y.default.createElement(p.View,{style:[G.containerTouch]},y.default.createElement(p.TouchableOpacity,{style:G.contain,onPress:function(){n.props.navigation.push(Y.walletOptionSelect,{optionSelect:U.optionRetraitUserScreen,onGoBack:function(){return n.refresh()},lottie:{source:r(d[47]),loop:!0}})},activeOpacity:.9},y.default.createElement(T.default,{name:"arrow-top-left",color:C.Color.primaryColor,size:30,style:G.imageBanner}),y.default.createElement(p.View,{style:[G.content]},y.default.createElement(p.View,{style:G.contentTitle},y.default.createElement(p.Text,{style:[V.Typography.headline,V.Typography.semibold]},h.default.t('RETRAIT_ARGENT'))))))),y.default.createElement(p.View,{style:G.transactionContainer},y.default.createElement(p.View,{style:[G.containerTouch]},y.default.createElement(p.TouchableOpacity,{style:G.contain,onPress:function(){1===n.props.result.response.has_nano_credit?n.props.navigation.push(Y.walletOptionSelect,{optionSelect:U.optionNanoCreditScreen,wallet:t,lottie:{source:r(d[48]),loop:!0},isNanoCredit:!0}):(0,U.displayToast)(h.default.t('NANO_CREDIT_DISABLE'))},activeOpacity:.9},y.default.createElement(T.default,{name:"cash-multiple",color:C.Color.primaryColor,size:30,style:G.imageBanner}),y.default.createElement(p.View,{style:[G.content]},y.default.createElement(p.View,{style:[G.content]},y.default.createElement(p.View,{style:{paddingTop:5}},y.default.createElement(p.Text,{style:[V.Typography.headline,V.Typography.semibold]},h.default.t('NANO_CREDIT'))))))),y.default.createElement(p.View,{style:[G.containerTouch]},y.default.createElement(p.TouchableOpacity,{style:G.contain,onPress:function(){n.props.navigation.push(Y.walletOptionSelect,{optionSelect:U.optionNanoSanteUserScreen,wallet:t,lottie:{source:r(d[48]),loop:!0},isNanoSante:!0})},activeOpacity:.9},y.default.createElement(T.default,{name:"heart-multiple",color:C.Color.primaryColor,size:30,style:G.imageBanner}),y.default.createElement(p.View,{style:[G.content]},y.default.createElement(p.View,{style:{paddingTop:20}},y.default.createElement(p.Text,{style:[V.Typography.headline,V.Typography.semibold]},h.default.t('NANO_SANTE'))))))),y.default.createElement(p.View,{style:G.transactionContainer},y.default.createElement(p.View,{style:[G.containerTouch]},y.default.createElement(p.TouchableOpacity,{style:G.contain,onPress:function(){n.props.navigation.push(Y.walletOptionSelect,{optionSelect:U.optionPaiementFacture,onGoBack:function(){return n.refresh()},lottie:{source:r(d[49]),loop:!0}})},activeOpacity:.9},y.default.createElement(T.default,{name:"file-document",color:C.Color.primaryColor,size:30,style:G.imageBanner}),y.default.createElement(p.View,{style:[G.content]},y.default.createElement(p.View,{style:G.contentTitle},y.default.createElement(p.Text,{style:[V.Typography.headline,V.Typography.semibold]},h.default.t('PAIEMENT_FACTURE'))),y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{style:(V.Typography.overline,C.Color.grayColor,{paddingVertical:5}),numberOfLines:5}))))),y.default.createElement(p.View,{style:[G.containerTouch]},y.default.createElement(p.TouchableOpacity,{style:G.contain,onPress:function(){n.props.navigation.push(Y.walletOptionSelect,{optionSelect:U.optionIdentificationUserScreen,lottie:{source:r(d[50]),loop:!0},isIdentified:n.props.resultUserIdentification.response.isIdentified})},activeOpacity:.9},y.default.createElement(T.default,{name:"pencil-plus",color:C.Color.primaryColor,size:30,style:G.imageBanner}),y.default.createElement(p.View,{style:[G.content]},y.default.createElement(p.View,{style:{paddingTop:20}},y.default.createElement(p.Text,{style:[V.Typography.headline,V.Typography.semibold]},h.default.t('CREATION_IDENTIFICATION_CLIENT'))),y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{style:(V.Typography.overline,C.Color.grayColor,{paddingVertical:5}),numberOfLines:5}))))))),n.renderHistoryTransaction(t))))))},n.renderModalHistoryDetail=function(){n.state.historyItemDetail;return y.default.createElement(_.default.Container,{useNativeDriver:!0,visible:n.state.displayModalHistory},y.default.createElement(_.default.Title,null,h.default.t('HISTORY_DETAIL')),y.default.createElement(p.View,null,y.default.createElement(p.View,{style:[G.blockView,{borderBottomColor:C.Color.borderColor}]},y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{style:[G.body2]},h.default.t('OPERATION'))),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.operation))),y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{style:[G.body2]},h.default.t('TRANSACTION_ID'))),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.id_transaction))),y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{style:[G.body2]},"Date")),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.date))),y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{tyle:[V.Typography.body2]},h.default.t('INIT_COUNTRY'))),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.init_country))),y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{tyle:[V.Typography.body2]},h.default.t('AMOUNT'))),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.montant))),y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{tyle:[V.Typography.body2]},h.default.t('FEES_AND_TAXES'))),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.frais))),y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{tyle:[V.Typography.body2]},h.default.t('NET_AMOUNT'))),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.montant_net_init))),y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{tyle:[V.Typography.body2]},h.default.t('EMETTEUR'))),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.emetteur))),y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{tyle:[V.Typography.body2]},h.default.t('DESTINATAIRE'))),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.destinataire))),y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{tyle:[V.Typography.body2]},h.default.t('FINAL_COUNTRY'))),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.final_country))),y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{tyle:[V.Typography.body2]},h.default.t('NET_AMOUNT'))),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.montant_net_final))),y.default.createElement(p.View,{style:{flexDirection:'row',marginTop:10}},y.default.createElement(p.View,{style:{flex:1}},y.default.createElement(p.Text,{tyle:[V.Typography.body2]},h.default.t('ACTIVE_WALLET'))),y.default.createElement(p.View,{style:{flex:1,alignItems:'flex-end'}},y.default.createElement(p.Text,{style:[V.Typography.caption1,C.Color.grayColor]},n.state.historyItemDetail.reseau_payeur))))),y.default.createElement(_.default.Button,{bold:!0,label:h.default.t('OK'),onPress:function(){n.setState({displayModalHistory:!n.state.displayModalHistory})}}))},n.renderHistoryTransactionItem=function(t,l,o){return y.default.createElement(p.TouchableOpacity,{onPress:function(){n.setState({displayModalHistory:!0,historyItemDetail:t})},style:[G.contentService,{borderBottomColor:C.Color.primaryColor}]},Object.keys((0,x.default)(t,['id','id_transaction','type','frais','init_country','final_country','source','emetteur','montant_net_final','montant_net_init','reseau_payeur','operation'])).map(function(l,o){return y.default.createElement(p.View,{style:{alignItems:'center'},key:o},y.default.createElement(p.Text,{style:(V.Typography.overline,C.Color.grayColor,{marginTop:4})},(0,L.default)(l,'montant')?" "+(t[l].length>8?(0,U.cutString)(P(t[l],' '),6):P(t[l],' ')):(0,L.default)(l,'destinataire')?t[l].length>13?(0,U.cutString)(t[l],13):t[l]:(0,L.default)(l,'date')?(0,U.cutStringWithoutDot)(t[l],16):t[l]))}))},n.renderHistoryTransactionList=function(t){var l=n.props,o=l.resultTransaction,s=l.errorTransaction;return null!==s?void 0!==s.data?y.default.createElement(p.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},y.default.createElement(p.Text,{style:V.Typography.body1},s.data.error)):y.default.createElement(p.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},y.default.createElement(p.Text,{style:V.Typography.body1},s)):null!==o&&null!==o.response?Array.isArray(o.response)&&o.response.length>0?y.default.createElement(y.default.Fragment,null,y.default.createElement(p.View,{style:[G.contentService,{borderBottomColor:C.Color.primaryColor}]},(0,U.transactionHistoryIlinkLabel)().map(function(t,l){return y.default.createElement(p.View,{style:{alignItems:'center'},key:l},y.default.createElement(T.default,{name:t.icon,size:24,color:C.Color.primaryColor}),y.default.createElement(p.Text,{style:(V.Typography.overline,C.Color.grayColor,{marginTop:4})},h.default.t(t.label)))})),o.response.map(function(l,o){return n.renderHistoryTransactionItem(l,o,t)})):y.default.createElement(p.View,{style:{flex:1,justifyContent:'center',alignItems:'flex-start'}},y.default.createElement(p.Text,{style:V.Typography.body1},h.default.t('NO_WALLET_HISTORY'))):void 0},n.renderHistoryTransaction=function(t){return y.default.createElement(y.default.Fragment,null,n.props.loadingTransaction?y.default.createElement(p.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===p.Platform.OS?y.default.createElement(y.default.Fragment,null,y.default.createElement(p.ProgressBarAndroid,null),y.default.createElement(p.Text,null,h.default.t('LOADING_DOTS'))):y.default.createElement(y.default.Fragment,null,y.default.createElement(p.ActivityIndicator,{size:"large",color:'#ccc'}),y.default.createElement(p.Text,null,h.default.t('LOADING_DOTS')))):y.default.createElement(y.default.Fragment,null,y.default.createElement(p.View,{style:[G.checkDefault,{borderBottomColor:C.Color.borderColor}]},y.default.createElement(p.Text,{style:[V.Typography.title3,V.Typography.semibold]},h.default.t('TRANSACTION_HISTORY'))),n.renderHistoryTransactionList(t)))},n.state={index:0,heightHeader:E.heightHeader(),isModalConfirmVisible:!1,wallet:null,triggerTransferCommission:!1,loading:!1,isTriggerRefresh:!1,scrollHeaderY:0,user:null,displayModalHistory:!1,historyItemDetail:null,isIdentified:!1,isIdentifiedValidated:!1},j.extend({'+':'plus'}),n.scrollY=new p.Animated.Value(0),n.scrollHeaderY=new p.Animated.Value(0),n.deltaY=new p.Animated.Value(0),n.bgBannerY=new p.Animated.Value(0),n.heightImageBanner=E.scaleWithPixel(250,1),n.marginTopBanner=n.heightImageBanner-n.state.heightHeader-40,n.currentLocale=h.default.locale.includes("fr")?"fr":"en-gb",F.locale(n.currentLocale),b.IlinkEmitter.on("langueChange",n.updateLangue.bind((0,u.default)(n))),b.IlinkEmitter.on("refreshWallet",n.refresh),n.props.getWalletTransactionHistoryReset(),n.props.depositActionReset(),n.props.resetWalletListDetailReducer(),n.props.getUserIdentificationResetAction(),console.warn("Wallet User Props",n.props),n.getWalletDetail(),n.willFocus=n.props.navigation.addListener('willFocus',function(t){n.getWalletDetail()}),n}return(0,f.default)(l,t),(0,n.default)(l,[{key:"componentDidMount",value:function(){var t=this.props,l=t.result,o=t.resultUserIdentification;t.errorUserIdentification;if(null!==l&&void 0!==l.response){var n=l.response[0];console.log("WALLET RECUPERER",n),this.setState({wallet:n,isTriggerRefresh:!1})}null!==o&&(console.log("RESULT NUMBER DETAIL",o),void 0!==o.response&&this.setState({isIdentified:o.response.isIdentified,isIdentifiedValidated:o.response.isIdentifiedValidated}))}},{key:"shouldComponentUpdate",value:function(t,l){return this.state.triggerTransferCommission===l.triggerTransferCommission}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:h.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){return console.warn("Wallet Detail user Props",this.props),y.default.createElement(y.default.Fragment,null,this.state.displayModalHistory&&this.renderModalHistoryDetail(),y.default.createElement(p.StatusBar,{backgroundColor:C.Color.primaryDarkColor,barStyle:"light-content",translucent:!0}),this.props.loading||this.props.loadingUserIdentification?this.renderLoader():null!==this.props.result?Array.isArray(this.props.result.response)&&0===this.props.result.response.length?y.default.createElement(p.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},y.default.createElement(p.Text,{style:V.Typography.body1},h.default.t('NO_WALLET_ACTIVED'))):this.renderDetailWallet(this.props.result.response):null!==this.props.error&&null!==this.props.error.data&&y.default.createElement(p.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},y.default.createElement(k.default,{style:G.lottie,source:r(d[51]),autoPlay:!0,loop:!1}),y.default.createElement(p.Text,{style:V.Typography.body1},this.props.error.data.error)))}}]),l})(y.Component);z.navigatorStyle={navBarBackgroundColor:C.Color.primaryColor,statusBarColor:C.Color.primaryDarkColor,navBarTextColor:'#FFFFFF',navBarButtonColor:'#FFFFFF'},z.navigationOptions=function(){return{drawerLabel:function(){return null},headerTitle:h.default.t('WALLET'),headerTintColor:'white',headerStyle:{backgroundColor:C.Color.primaryColor,marginTop:23,color:'white'},headerTitleStyle:{color:"white"},title:h.default.t('WALLET')}};var M=(0,B.connect)(function(t){return{loading:t.walletDetailReducer.loading,result:t.walletDetailReducer.result,error:t.walletDetailReducer.error,loadingTransaction:t.walletHistoryReducer.loadingTransaction,resultTransaction:t.walletHistoryReducer.resultTransaction,errorTransaction:t.walletHistoryReducer.errorTransaction,loadingUserIdentification:t.getUserIdentificationReducer.loading,resultUserIdentification:t.getUserIdentificationReducer.result,errorUserIdentification:t.getUserIdentificationReducer.error}},function(t){return(0,W.bindActionCreators)({getWalletDetailActivated:A.getWalletDetailActivated,getWalletTransactionHistoryUser:O.getWalletTransactionHistoryUser,transferCommissionAction:S.transferCommissionAction,resetWalletListDetailReducer:A.resetWalletListDetailReducer,resetCommissionReducer:S.resetCommissionReducer,getWalletTransactionHistoryReset:O.getWalletTransactionHistoryReset,depositActionReset:R.depositActionReset,getUserIdentificationAction:v.getUserIdentificationAction,getUserIdentificationResetAction:v.getUserIdentificationResetAction},t)})(z);e.default=M;var G=p.StyleSheet.create({container:{flex:1,backgroundColor:C.Color.containerBackgroundColor},indicator:{height:2},tab:{width:E.getWidthDevice()/2},tabbar:{height:40},lottie:{width:248,height:248},imgBanner:{width:'100%',height:250,position:'absolute'},contentService:{paddingVertical:10,borderBottomWidth:.5,flexDirection:'row',flexWrap:'wrap',justifyContent:'space-between'},containField:{padding:10,marginBottom:20,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,flexDirection:"row",height:140,borderRadius:10},paymentItem:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottomWidth:1,paddingVertical:5,width:(0,D.responsiveWidth)(100),marginBottom:15},iconContent:{width:60,marginRight:10,alignItems:"center"},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:10,marginTop:5},blockView:{paddingVertical:10,borderBottomWidth:.5},circlePoint:{width:50,height:50,borderRadius:25,marginRight:5,alignItems:'center',justifyContent:'center'},transactionContainer:{flexDirection:'row',flex:1,paddingTop:10,paddingLeft:10,paddingRight:10},containerTouch:{flex:1,flexDirection:'row',alignItems:'center',marginRight:1,shadowColor:C.Color.borderColor,borderColor:C.Color.borderColor,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,borderRadius:10,backgroundColor:C.Color.cardBackgroundColor},contain:{flexDirection:'row',justifyContent:'space-between'},imageBanner:{marginTop:15,marginLeft:5,width:E.scaleWithPixel(30),height:E.scaleWithPixel(30)},content:{height:E.scaleWithPixel(60),paddingHorizontal:10,justifyContent:'space-between',alignItems:'flex-start',flex:1},contentTitle:{paddingTop:5}})},1772,[4,1,8,9,10,12,11,13,15,18,881,719,1020,883,1031,552,1655,772,1079,534,1622,1680,1682,1770,1683,1639,688,743,1045,1044,1037,1039,1041,1042,1043,1040,1046,1063,1658,718,845,1189,1660,814,1659,815,1773,1685,1684,1686,1687,1774]); __d(function(i,a,x,t,o,k,s){o.exports={v:"5.5.8",fr:60,ip:0,op:596,w:1047,h:777,nm:"00.03 - onboarding",ddd:0,assets:[{id:"comp_0",layers:[{ddd:0,ind:1,ty:3,nm:"\u25bd Group 9 Copy",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-90,ix:10},p:{a:0,k:[90,106.5,0],ix:2},a:{a:0,k:[102,79.5,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:353,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Fill 7",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[100.463,80.917,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-2.86,3.54],[-4.09,-2.39],[2.67,-3.77],[4.29,2.63]],o:[[-4.3,-2.62],[2.88,-3.55],[4.09,2.39],[-2.66,3.78],[0,0]],v:[[-5.155,6.563],[-7.435,-4.657],[4.875,-6.677],[7.755,4.393],[-5.155,6.563]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098000765,.458824008703,.988234996796,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 7",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:353,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Fill 5",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[103.599,80.259,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-2.41,2.82],[-2.1,2.75],[-12.11,-5.5],[-3.6,-1.52],[2.16,-3.24],[2.19,-2.93],[10.69,8.1],[2.86,2.3]],o:[[2.59,-2.73],[2.8,2.21],[10.04,7.29],[-1.81,3.05],[-1.97,3.3],[-3.69,-1.6],[-12.85,-6.26],[2.46,-2.58],[0,0]],v:[[-26.457,-10.558],[-18.957,-18.898],[-9.887,-19.908],[23.403,-.588],[26.453,7.752],[20.253,17.562],[9.813,19.912],[-25.537,-1.748],[-26.457,-10.558]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.652915000916,.857227981091,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 5",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:353,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fill 3",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[101.898,78.947,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-5.56,6.87],[-18.38,-7.29],[5.46,-7.75],[14.95,12.49]],o:[[6.55,-6.35],[13.93,11.14],[-4.38,8.06],[-19.63,-8.52],[0,0]],v:[[-33.395,-6.029],[-15.235,-25.889],[33.395,2.161],[18.635,25.891],[-33.395,-6.029]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098000765,.458824008703,.988234996796,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 3",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:353,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Fill 1",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[28.118,30.452,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-5.56,6.86],[-.18,-.14],[6.55,-6.35],[.2,.16]],o:[[6.56,-6.33],[.19,.15],[-5.55,6.87],[-.2,-.16],[0,0]],v:[[-9.372,9.659],[8.818,-10.151],[9.368,-9.711],[-8.782,10.149],[-9.372,9.659]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[0,.541000008583,.528999984264,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:353,st:0,bm:0}]},{id:"comp_1",layers:[{ddd:0,ind:1,ty:3,nm:"\u25bd Group 15 Copy 3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:15,ix:10},p:{a:0,k:[30,27,0],ix:2},a:{a:0,k:[24,21,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Fill 43",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[24.473,18.911,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[.19,-.23],[-.72,-1.18],[-1.45,-1.19],[-.83,1.01],[2.94,2.41],[1.36,.49],[.45,0]],o:[[-.44,0],[-.38,.46],[.75,1.23],[2.94,2.42],[.83,-1.01],[-1.45,-1.2],[-.66,-.24],[0,0]],v:[[-4.515,-4.843],[-5.475,-4.503],[-4.945,-1.913],[-1.485,1.907],[5.475,4.497],[1.585,-1.823],[-2.835,-4.483],[-4.515,-4.843]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,0],[2.12,1.75],[.79,1.3],[-.62,.75],[-1.67,-.61],[-1.52,-1.25],[1.31,-1.6],[.66,0]],o:[[-1.76,0],[-1.51,-1.24],[-.92,-1.52],[.61,-.75],[1.43,.52],[2.91,2.39],[-.36,.43],[0,0]],v:[[4.5,5.604],[-1.97,2.494],[-5.6,-1.516],[-6.06,-4.986],[-2.57,-5.196],[2.07,-2.416],[6.06,4.984],[4.5,5.604]],c:!1},ix:2},nm:"Trazado 2",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"mm",mm:1,nm:"Combinar trazados 1",mn:"ADBE Vector Filter - Merge",hd:!1},{ty:"fl",c:{a:0,k:[.650979995728,.858824014664,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 43",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Fill 41",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[24.655,19.079,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-1.33,1.61],[3.8,3.12],[1.33,-1.61],[-3.79,-3.12]],o:[[3.8,3.11],[1.33,-1.62],[-3.79,-3.11],[-1.33,1.62],[0,0]],v:[[-2.409,2.93],[6.871,5.65],[2.401,-2.93],[-6.869,-5.65],[-2.409,2.93]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[0,.588235020638,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 41",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fill 39",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[23.163,21.055,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-1.57,1.9],[-.03,.05],[3.7,3.05],[1.74,-1.53],[.08,-.09],[-3.8,-3.12]],o:[[3.79,3.11],[.03,-.04],[1.37,-1.95],[-3.61,-2.96],[-.09,.08],[-1.56,1.9],[0,0]],v:[[-2.911,3.468],[6.549,5.958],[7.339,4.958],[2.509,-3.132],[-6.391,-6.282],[-7.191,-5.332],[-2.911,3.468]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.000899999985,.471368998289,.800696015358,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 39",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0}]},{id:"comp_2",layers:[{ddd:0,ind:1,ty:3,nm:"\u25bd Group 8 Copy 3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[31.5,33,0],ix:2},a:{a:0,k:[31.5,33,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Fill 6",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[29.528,31.203,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[.51,.37],[0,0],[-.83,0],[0,.84],[1.09,.44],[0,1.28],[-1.35,.22],[0,0],[0,0],[0,0],[-.43,-.25],[0,0],[.94,0],[0,-.59],[-1.27,-.53],[0,-1.31],[1.51,-.25],[0,0]],o:[[0,0],[-.86,-.02],[0,0],[.53,.35],[1.04,0],[0,-.81],[-1.49,-.58],[0,-1.21],[0,0],[0,0],[0,0],[.88,.03],[0,0],[-.31,-.18],[-1.13,0],[0,.76],[1.51,.62],[0,1.16],[0,0],[0,0]],v:[[-.494,6.026],[-.494,4.546],[-2.744,3.896],[-2.394,2.916],[-.274,3.546],[1.466,2.106],[-.194,.356],[-2.614,-2.184],[-.394,-4.544],[-.394,-6.024],[.516,-6.024],[.516,-4.604],[2.426,-4.084],[2.056,-3.114],[.206,-3.614],[-1.354,-2.354],[.466,-.684],[2.746,2.006],[.426,4.496],[.426,6.026]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.439215987921,.764706015587,.992156982422,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 6",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Fill 4",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[30.817,32.203,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[4.77,0],[0,4.77],[-4.77,0],[0,-4.77]],o:[[0,4.77],[-4.77,0],[0,-4.77],[4.77,0],[0,0]],v:[[8.633,.003],[.003,8.633],[-8.637,.003],[.003,-8.637],[8.633,.003]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[0,.588235020638,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 4",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:4,ty:3,nm:"\u25bd Group 3",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[31.5,32.15,0],ix:2},a:{a:0,k:[31.5,31.5,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"\u25a8 Clip 3",parent:7,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-10.272,-10.272],[10.268,-10.272],[10.268,10.268],[-10.272,10.268]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Clip 2",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Fill 1",parent:4,tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[30.817,31.553,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[5.68,0],[0,5.68],[-5.67,0],[0,-5.67]],o:[[0,5.68],[-5.67,0],[0,-5.67],[5.68,0],[0,0]],v:[[10.277,-.002],[-.003,10.268],[-10.273,-.002],[-.003,-10.272],[10.277,-.002]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.438284009695,.763110995293,.990489006042,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:7,ty:3,nm:"Clip 2",parent:4,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[30.817,31.553,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0}]},{id:"comp_3",layers:[{ddd:0,ind:1,ty:0,nm:"plane",refId:"comp_4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[247.5,361,0],ix:2},a:{a:0,k:[247.5,361,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,w:495,h:722,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Fill 23",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-5,ix:10},p:{a:0,k:[267.053,303.83,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[-100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:240,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[16.32,2.672],[26.61,5.204],[-25.939,-13.44],[-6.443,3.09]],c:!0}]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:251,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[16.146,15.988],[26.416,.118],[-26.414,-15.992],[-4.447,.514]],c:!0}]},{t:263,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[16.146,15.988],[26.416,.118],[-26.414,-15.992],[-4.447,.514]],c:!0}]}],ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.285308986902,.551240026951,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 13",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:239,op:264,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Fill 24",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-5,ix:10},p:{a:0,k:[254.139,298.466,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[-100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:232,s:[{i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[5.382,-6.048],[36.28,-6.293],[-29.907,-6.53]],c:!0}]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:233,s:[{i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[8.976,-3.208],[34.13,-4.91],[-30.15,-7.393]],c:!0}]},{t:244,s:[{i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[30.544,13.834],[22.294,2.124],[-30.546,-13.836]],c:!0}]}],ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.545098039216,.850980392157,.737254901961,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 9",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:225,op:264,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fill 25",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-5,ix:10},p:{a:0,k:[249.305,298.889,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[-100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:225,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[34.832,19.195],[34.806,-6.362],[-32.023,-6.487],[-32.146,19.18]],c:!0}]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:247,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.176,13.834],[32.166,-2.116],[-32.164,-13.836],[-2.233,-.334]],c:!0}]},{t:272,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[29.176,13.834],[32.166,-2.116],[-32.164,-13.836],[-2.233,-.334]],c:!0}]}],ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.113725490196,.356862745098,.76862745098,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 5",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:225,op:264,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Fill 26",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-5,ix:10},p:{a:0,k:[235.807,293.036,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[-100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:232,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[28.272,9.541],[27.844,.35],[-33.591,-3.387],[-24.606,-.116]],c:!0}]},{t:242,s:[{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[36.474,11.5],[27.844,.35],[-36.476,-11.5],[-25.843,-8.147]],c:!0}]}],ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.545098039216,.850980392157,.737254901961,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:225,op:264,st:0,bm:0},{ddd:0,ind:9,ty:3,nm:"\u25bd hand",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-5,ix:10},p:{a:0,k:[244.637,349.5,0],ix:2},a:{a:0,k:[172.5,339,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:10,ty:3,nm:"\u25bd finger",parent:9,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[264.12,452.108,0],ix:2},a:{a:0,k:[78,225,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:11,ty:4,nm:"Fill 22",parent:10,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[78.09,224.998,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:148,s:[{i:[[0,0],[0,0],[2.28,17.78],[-4.1,38.13],[.99,1.31],[3.7,-30.89],[6.09,-13.27],[0,-13.3],[0,0]],o:[[0,0],[0,0],[-2.17,-16.87],[.22,-2.07],[-3.9,-5.14],[-3.7,30.89],[-6.09,13.27],[0,13.29],[0,0]],v:[[24.779,74.612],[16.219,32.622],[25.359,-6.208],[24.939,-65.448],[24.779,-71.968],[5.779,-46.668],[-18.821,5.402],[-13.351,43.812],[-25.661,73.882]],c:!0}]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:162,s:[{i:[[0,0],[0,0],[2.28,17.78],[3.647,33.758],[1.55,.542],[-6.192,-24.002],[6.09,-13.27],[0,-13.3],[0,0]],o:[[0,0],[0,0],[-2.17,-16.87],[-.224,-2.07],[-7.173,-2.508],[5.016,19.445],[-6.09,13.27],[0,13.29],[0,0]],v:[[24.779,74.612],[16.219,32.622],[25.359,-6.208],[6.543,-61.704],[2.037,-68.269],[-8.637,-34.88],[-18.821,5.402],[-13.351,43.812],[-25.661,73.882]],c:!0}]},{t:195,s:[{i:[[0,0],[0,0],[2.28,17.78],[-4.1,38.13],[.99,1.31],[3.7,-30.89],[6.09,-13.27],[0,-13.3],[0,0]],o:[[0,0],[0,0],[-2.17,-16.87],[.22,-2.07],[-3.9,-5.14],[-3.7,30.89],[-6.09,13.27],[0,13.29],[0,0]],v:[[24.779,74.612],[16.219,32.622],[25.359,-6.208],[24.939,-65.448],[24.779,-71.968],[5.779,-46.668],[-18.821,5.402],[-13.351,43.812],[-25.661,73.882]],c:!0}]}],ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098000765,.458824008703,.988234996796,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 22",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:12,ty:5,nm:"LINK",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-5,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:101,s:[262.517,508.611,0],to:[-2.667,-35,0],ti:[2.667,30.167,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:114,s:[246.517,298.611,0],to:[-2.667,-30.167,0],ti:[0,-3.333,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:130,s:[246.517,327.611,0],to:[0,3.333,0],ti:[0,1.5,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:147,s:[246.517,318.611,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:155,s:[246.517,318.611,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:160,s:[246.517,318.611,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:166,s:[246.517,318.611,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:206,s:[246.517,318.611,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:219,s:[246.517,318.611,0],to:[0,0,0],ti:[0,0,0]},{t:225,s:[246.517,318.611,0]}],ix:2},a:{a:0,k:[.741,-6.297,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:101,s:[7,7,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:114,s:[301,301,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:130,s:[301,301,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:147,s:[301,301,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:155,s:[301,301,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:160,s:[422,422,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:166,s:[301,301,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:206,s:[301,301,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:219,s:[342,342,100]},{t:225,s:[0,0,100]}],ix:6}},ao:0,t:{d:{k:[{s:{s:17.6399993896484,f:"HelveticaNeue-Medium",t:"LINK",j:2,tr:0,lh:21.1679992675781,ls:0,fc:[1,1,1]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:100,op:236,st:56,bm:0},{ddd:0,ind:13,ty:4,nm:"Bg",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:94,s:[262.517,508.611,0],to:[-2.667,-35,0],ti:[2.667,30.167,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:107,s:[246.517,298.611,0],to:[-2.667,-30.167,0],ti:[0,-3.333,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:123,s:[246.517,327.611,0],to:[0,3.333,0],ti:[0,1.5,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:140,s:[246.517,318.611,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:149,s:[246.517,318.611,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:157,s:[246.517,318.611,0],to:[0,0,0],ti:[0,0,0]},{t:165,s:[246.517,318.611,0]}],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:94,s:[7,7,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:107,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:123,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:140,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:149,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:157,s:[132,132,100]},{t:165,s:[100,100,100]}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ty:"rc",d:1,s:{a:0,k:[67,26],ix:2},p:{a:0,k:[0,0],ix:3},r:{a:0,k:4,ix:4},nm:"Trazado de rect\xe1ngulo 1",mn:"ADBE Vector Shape - Rect",hd:!1},{ty:"fl",c:{a:0,k:[.145098039216,.458823559331,.988235353956,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:-5,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Bg",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:94,op:235,st:50,bm:0},{ddd:0,ind:14,ty:5,nm:"$",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-6.683,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:50,s:[239,482,0],to:[-4.333,-94.333,0],ti:[4.833,27.833,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:61,s:[201,336,0],to:[-4.833,-27.833,0],ti:[-1.5,3.5,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:65,s:[210,315,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:105,s:[210,315,0],to:[-1.833,-16.167,0],ti:[1.833,16.167,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:122,s:[199,218,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:193,s:[199,218,0],to:[0,-4.5,0],ti:[-6.333,-18.833,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:201,s:[199,191,0],to:[6.333,18.833,0],ti:[-6.333,-23.333,0]},{t:212,s:[237,331,0]}],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:50,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:61,s:[128,128,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:65,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:105,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:122,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:193,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:201,s:[100,100,100]},{t:212,s:[30,30,100]}],ix:6}},ao:0,t:{d:{k:[{s:{s:130,f:"Helvetica",t:"$",j:0,tr:0,lh:156,ls:0,fc:[.161,.855,.596]},t:0}]},p:{},m:{g:1,a:{a:0,k:[0,0],ix:2}},a:[]},ip:50,op:234,st:50,bm:0},{ddd:0,ind:15,ty:3,nm:"\u25bd mobile",parent:9,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[174.36,234.308,0],ix:2},a:{a:0,k:[129,234,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:16,ty:4,nm:"Fill 16",parent:15,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[128.618,251.574,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[2.62,0],[0,0],[0,2.43],[0,0],[0,-3.09],[0,0],[-3.34,0],[0,0],[0,3.09],[0,0],[3.34,0]],o:[[0,0],[0,2.43],[0,0],[-2.63,0],[0,0],[-3.34,0],[0,0],[0,3.09],[0,0],[3.34,0],[0,0],[0,-3.09],[0,0]],v:[[33.349,-68.85],[15.749,-68.85],[10.999,-64.46],[-10.991,-64.46],[-15.741,-68.85],[-33.351,-68.85],[-39.401,-63.25],[-39.401,63.25],[-33.351,68.85],[33.349,68.85],[39.399,63.25],[39.399,-63.25],[33.349,-68.85]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 16",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:17,ty:3,nm:"\u25bd Group 15",parent:15,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[129,234,0],ix:2},a:{a:0,k:[129,234,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:18,ty:4,nm:"\u25a8 Clip 15",parent:20,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-42.664,-77.722],[42.666,-77.722],[42.666,77.718],[-42.664,77.718]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Clip 14",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:19,ty:4,nm:"Fill 13",parent:17,tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[128.618,250.563,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,4.8],[0,0],[-5.15,0],[0,0],[0,-4.8],[0,0],[5.15,0]],o:[[0,0],[-5.15,0],[0,0],[0,-4.8],[0,0],[5.15,0],[0,0],[0,4.8],[0,0]],v:[[33.346,72.45],[-33.344,72.45],[-42.664,63.76],[-42.664,-63.76],[-33.344,-72.45],[33.346,-72.45],[42.666,-63.76],[42.666,63.76],[33.346,72.45]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.139209002256,.312480002642,.604874014854,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 13",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:20,ty:3,nm:"Clip 14",parent:17,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[128.618,234.747,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:21,ty:4,nm:"Fill 11",parent:9,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[169.084,395.56,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[-6.64,-22.74],[0,0],[-.43,.06],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[.44,0],[-.98,-15.43],[0,0],[0,0]],v:[[11.71,-31.733],[-8.47,-20.083],[-37.49,-18.553],[-27.99,31.627],[34.98,31.737],[36.28,31.627],[34.54,4.487],[37.49,-27.813]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.10622599721,.395851999521,.884595990181,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 11",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:22,ty:4,nm:"Fill 9",parent:9,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[176.174,487.508,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[-6.34,-22.25],[-6.5,-5.66],[0,0],[0,0],[-4.79,1.76],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[3.7,12.95],[17.65,15.4],[0,0],[1.75,-1.29],[4.79,-1.76],[0,0],[0,0],[0,0],[0,0]],v:[[-39.853,-49.203],[-30.943,-2.013],[-15.773,28.647],[-2.363,61.737],[19.007,62.237],[38.667,61.737],[32.177,-26.163],[35.127,-58.463],[9.347,-62.383],[-10.833,-50.733]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098000765,.458824008703,.988234996796,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 9",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:23,ty:4,nm:"Fill 7",parent:9,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[58.869,343.405,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[1.57,-3.99],[-2.88,-3.91],[-8.48,18.92],[0,0]],o:[[0,0],[-4.11,1.23],[-1.76,4.53],[4.4,5.97],[8.49,-18.93],[0,0]],v:[[17.343,-17.838],[-3.227,-11.658],[-11.617,-2.998],[-16.587,15.782],[6.793,-2.488],[17.343,-17.838]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098000765,.458824008703,.988234996796,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 7",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:24,ty:4,nm:"Fill 5",parent:9,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[66.485,400.831,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[1.1,-4.14],[-2.87,-3.91],[-8.49,18.93],[0,0]],o:[[0,0],[-4.11,1.23],[0,0],[4.4,5.97],[8.48,-18.92],[0,0]],v:[[17.287,-17.839],[-3.293,-11.659],[-11.673,-2.999],[-16.653,15.781],[6.737,-2.499],[17.287,-17.839]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098000765,.458824008703,.988234996796,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 5",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:25,ty:4,nm:"Fill 3",parent:9,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[59.813,265.625,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[1.89,-8.45],[-17.1,9.87],[0,0]],o:[[0,0],[-1.47,6.59],[17.09,-9.87],[0,0]],v:[[10.323,-12.882],[-19.807,4.198],[6.953,7.998],[19.343,-12.882]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098000765,.458824008703,.988234996796,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 3",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:26,ty:4,nm:"Fill 1",parent:9,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[67.435,183.478,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[5.22,-5.22],[-9.9,-13.51],[0,0]],o:[[0,0],[-5.22,5.22],[9.9,13.5],[0,0]],v:[[3.289,-9.132],[-11.501,-15.872],[-1.931,11.958],[13.619,8.598]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.145098000765,.458824008703,.988234996796,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0}]},{id:"comp_4",layers:[{ddd:0,ind:1,ty:0,nm:"plane",refId:"comp_5",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:443,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:446,s:[31]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:450,s:[48]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:456,s:[21]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:460,s:[6]},{t:464,s:[6]}],ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:262,s:[239,307.5,0],to:[0,3.833,0],ti:[0,20.833,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:285,s:[239,330.5,0],to:[0,-20.833,0],ti:[0,21.5,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:302,s:[239,182.5,0],to:[0,-21.5,0],ti:[0,-.833,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:318,s:[239,201.5,0],to:[0,.833,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:334,s:[239,187.5,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:353,s:[239,201.5,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:372,s:[239,187.5,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:388,s:[239,201.5,0],to:[0,0,0],ti:[7.5,2.333,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:408,s:[239,187.5,0],to:[-7.5,-2.333,0],ti:[-23,6.667,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:426,s:[194,187.5,0],to:[23,-6.667,0],ti:[-30.5,6.667,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:430,s:[377,147.5,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:434,s:[377,147.5,0],to:[-2.667,0,0],ti:[2.667,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:438,s:[361,147.5,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:442,s:[361,147.5,0],to:[-45.333,18.833,0],ti:[45.584,-15.097,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:443,s:[89,260.5,0],to:[-129.333,42.833,0],ti:[-14,9.833,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:446,s:[89,242.5,0],to:[14,-9.833,0],ti:[-33.667,-2,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:450,s:[173,201.5,0],to:[33.667,2,0],ti:[-6.333,-8.833,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:456,s:[291,254.5,0],to:[6.333,8.833,0],ti:[7,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:460,s:[211,254.5,0],to:[-7,0,0],ti:[-6.333,0,0]},{t:464,s:[249,254.5,0]}],ix:2},a:{a:0,k:[144,73.5,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:262,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:285,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:302,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:319,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:334,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:354,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:372,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:389,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:408,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:426,s:[83.333,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:430,s:[37.5,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:434,s:[-15.278,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:438,s:[-1.25,30,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:442,s:[-1.25,30,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:443,s:[-1.25,30,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:446,s:[16.194,61.673,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:450,s:[50.861,95.456,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:456,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:460,s:[100,100,100]},{t:464,s:[100,100,100]}],ix:6}},ao:0,w:288,h:147,ip:262,op:2920,st:22,bm:0}]},{id:"comp_5",layers:[{ddd:0,ind:1,ty:3,nm:"\u25bd plane",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-5,ix:10},p:{a:0,k:[141,73.5,0],ix:2},a:{a:0,k:[109.5,49.5,0],ix:1},s:{a:0,k:[-100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Fill 13",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[79.241,48.463,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[16.146,15.988],[26.416,.118],[-26.414,-15.992]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.285308986902,.551240026951,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 13",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:3,ty:3,nm:"\u25bd Group 12",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[93,42.487,0],ix:2},a:{a:0,k:[93,42,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"\u25a8 Clip 15",parent:6,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-30.64,-13.918],[30.64,-13.918],[30.64,13.922],[-30.64,13.922]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Clip 11",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Fill 10",parent:3,tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[91.921,42.034,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-30.64,-13.918],[22.36,2.142],[30.64,13.922]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.545725983264,.850599999521,.736917951995,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 10",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:6,ty:3,nm:"Clip 11",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[91.921,42.034,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"Fill 9",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[91.639,41.994,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[30.544,13.834],[22.294,2.124],[-30.546,-13.836]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[0,.485448002815,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 9",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:8,ty:3,nm:"\u25bd Group 8",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[97.5,42.487,0],ix:2},a:{a:0,k:[97.5,42,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"\u25a8 Clip 15",parent:11,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-32.16,-13.918],[32.16,-13.918],[32.16,13.922],[-32.16,13.922]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Clip 7",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"Fill 6",parent:8,tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[96.479,42.034,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-32.16,-13.918],[32.16,-2.128],[29.17,13.922]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.114449998444,.357769984825,.768370983647,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 6",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:11,ty:3,nm:"Clip 7",parent:8,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[96.479,42.034,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:12,ty:4,nm:"Fill 5",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[96.491,41.994,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[29.176,13.834],[32.166,-2.116],[-32.164,-13.836]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[0,.485448002815,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 5",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:13,ty:3,nm:"\u25bd Group 4",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[109.5,34.987,0],ix:2},a:{a:0,k:[109.5,34.5,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:14,ty:4,nm:"\u25a8 Clip 15",parent:16,td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[-36.415,-11.444],[36.415,-11.444],[36.415,11.446],[-36.415,11.446]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Clip 3",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"fl",c:{a:0,k:[1,0,0,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:15,ty:4,nm:"Fill 2",parent:13,tt:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[109.244,34.611,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-36.415,-11.444],[27.795,.346],[36.415,11.446]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.545098006725,.850979983807,.737254977226,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 2",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:16,ty:3,nm:"Clip 3",parent:13,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[109.244,34.611,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:17,ty:4,nm:"Fill 1",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[109.428,34.987,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[36.474,11.5],[27.844,.35],[-36.476,-11.5]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[0,.485448002815,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Fill 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0}]},{id:"comp_6",layers:[{ddd:0,ind:1,ty:3,nm:"\u25bd lines1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[822,365.862,0],ix:2},a:{a:0,k:[93,42,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Line Copy 2",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[57,61.5,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[19,-7.5],[-19,7.5]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.145098000765,.458824008703,.988234996796,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2.178,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Trazo 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Line Copy 2",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Line Copy 3",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[163.5,54,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[7.5,-3],[-7.5,3]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.160784006119,.854902029037,.596077978611,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2.178,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Trazo 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Line Copy 3",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Line Copy",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[57,18,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[15,-6],[-15,6]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.160784006119,.854902029037,.596077978611,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2.178,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Trazo 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Line Copy",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:5,ty:3,nm:"\u25bd lines2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[259.5,622.362,0],ix:2},a:{a:0,k:[130.5,58.5,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Line Copy 2",parent:5,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[79.5,85.5,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[26.5,-10.5],[-26.5,10.5]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.145098000765,.458824008703,.988234996796,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2.178,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Trazo 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Line Copy 2",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"Line Copy 3",parent:5,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[229.5,76.5,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[10.5,-4.5],[-10.5,4.5]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.160784006119,.854902029037,.596077978611,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2.178,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Trazo 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Line Copy 3",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Line Copy",parent:5,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[81,25.5,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[21,-8.5],[-21,8.5]],c:!1},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.160784006119,.854902029037,.596077978611,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:2.178,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Trazo 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Line Copy",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:3600,st:0,bm:0}]}],fonts:{list:[{fName:"Helvetica",fFamily:"Helvetica",fStyle:"Regular",ascent:71.8994140625},{fName:"HelveticaNeue-Medium",fFamily:"Helvetica Neue",fStyle:"Medium",ascent:71.39892578125}]},layers:[{ddd:0,ind:1,ty:0,nm:"billete",refId:"comp_0",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:515,s:[100]},{t:524,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:456,s:[93.622]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:475,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:495,s:[-6]},{t:524,s:[-85]}],ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:456,s:[583.5,228.5,0],to:[128,-225,0],ti:[-16.311,-63.014,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:475,s:[852.5,256.5,0],to:[26.125,100.926,0],ti:[29.177,-76.41,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:495,s:[828.5,472.5,0],to:[-35.391,92.684,0],ti:[13.167,-24.167,0]},{t:524,s:[749.5,617.5,0]}],ix:2},a:{a:0,k:[87,108,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:456,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:475,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:495,s:[100,100,100]},{t:524,s:[100,100,100]}],ix:6}},ao:0,w:174,h:216,ip:456,op:575,st:456,bm:0},{ddd:0,ind:2,ty:0,nm:"billete",refId:"comp_0",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:500,s:[100]},{t:509,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:441,s:[93.622]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:460,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:480,s:[-78]},{t:509,s:[-121]}],ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:441,s:[431.5,228.5,0],to:[-140,-123,0],ti:[8.833,-44,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:460,s:[299.5,366.5,0],to:[-8.833,44,0],ti:[-10.823,-40.41,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:480,s:[378.5,492.5,0],to:[25.667,95.833,0],ti:[13.5,-20.833,0]},{t:509,s:[297.5,617.5,0]}],ix:2},a:{a:0,k:[87,108,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:441,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:460,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:480,s:[100,100,100]},{t:509,s:[100,100,100]}],ix:6}},ao:0,w:174,h:216,ip:441,op:560,st:441,bm:0},{ddd:0,ind:3,ty:0,nm:"moneda2",refId:"comp_1",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:471,s:[100]},{t:481,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:440,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:456,s:[168]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:471,s:[283]},{t:481,s:[359]}],ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:440,s:[596.5,214.5,0],to:[77,-158.833,0],ti:[-3,-114.167,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:456,s:[745.5,410.5,0],to:[2.022,76.93,0],ti:[12.167,-43.167,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:471,s:[719.5,567.5,0],to:[-12.167,43.167,0],ti:[7.833,-17,0]},{t:481,s:[672.5,669.5,0]}],ix:2},a:{a:0,k:[27,27,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:440,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:456,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:471,s:[100,100,100]},{t:481,s:[100,100,100]}],ix:6}},ao:0,w:54,h:54,ip:440,op:3572,st:-28,bm:0},{ddd:0,ind:4,ty:0,nm:"moneda2",refId:"comp_1",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:521,s:[100]},{t:531,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:490,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:506,s:[168]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:521,s:[283]},{t:531,s:[359]}],ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:490,s:[505.5,202.5,0],to:[-39,-70.833,0],ti:[-3,-114.167,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:506,s:[415.5,377.5,0],to:[2.022,76.93,0],ti:[-4,-57.333,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:521,s:[439.5,659.5,0],to:[4,57.333,0],ti:[0,-10.333,0]},{t:531,s:[439.5,721.5,0]}],ix:2},a:{a:0,k:[27,27,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:490,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:506,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:521,s:[100,100,100]},{t:531,s:[100,100,100]}],ix:6}},ao:0,w:54,h:54,ip:490,op:3622,st:22,bm:0},{ddd:0,ind:5,ty:0,nm:"moneda1",refId:"comp_2",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:490,s:[100]},{t:498,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:457,s:[58]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:475,s:[30.933]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:490,s:[10.759]},{t:498,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:457,s:[576.5,196.5,0],to:[102.048,-180.472,0],ti:[-37.01,-75.973,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:475,s:[760.033,179.235,0],to:[45.362,93.116,0],ti:[6.379,-68.863,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:490,s:[789.552,423.259,0],to:[-6.259,67.568,0],ti:[14.632,-14.74,0]},{t:498,s:[766.5,559.5,0]}],ix:2},a:{a:0,k:[31.5,33,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:457,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:475,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:490,s:[100,100,100]},{t:498,s:[100,100,100]}],ix:6}},ao:0,w:63,h:66,ip:449,op:3603,st:3,bm:0},{ddd:0,ind:6,ty:0,nm:"moneda1",refId:"comp_2",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:509,s:[100]},{t:517,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:476,s:[58]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:494,s:[30.933]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:509,s:[10.759]},{t:517,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:476,s:[481.5,196.5,0],to:[102.048,-180.472,0],ti:[-43.187,-72.639,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:494,s:[836.033,189.235,0],to:[55.362,93.116,0],ti:[6.379,-68.863,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:509,s:[891.552,423.259,0],to:[-6.259,67.568,0],ti:[14.632,-14.74,0]},{t:517,s:[869.5,559.5,0]}],ix:2},a:{a:0,k:[31.5,33,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:476,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:494,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:509,s:[100,100,100]},{t:517,s:[100,100,100]}],ix:6}},ao:0,w:63,h:66,ip:468,op:3622,st:22,bm:0},{ddd:0,ind:7,ty:0,nm:"moneda1",refId:"comp_2",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:488,s:[100]},{t:496,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:455,s:[58]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:473,s:[30.933]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:488,s:[10.759]},{t:496,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:455,s:[456.5,251.5,0],to:[-63.952,-84.472,0],ti:[42.376,-28.014,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:473,s:[329.033,173.235,0],to:[-90.963,60.134,0],ti:[-4.793,-50.578,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:488,s:[262.552,423.259,0],to:[8.206,86.593,0],ti:[14.632,-14.74,0]},{t:496,s:[286.5,633.5,0]}],ix:2},a:{a:0,k:[31.5,33,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:455,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:473,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:488,s:[100,100,100]},{t:496,s:[100,100,100]}],ix:6}},ao:0,w:63,h:66,ip:455,op:3609,st:9,bm:0},{ddd:0,ind:8,ty:0,nm:"moneda1",refId:"comp_2",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:501,s:[100]},{t:509,s:[0]}],ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:468,s:[58]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:486,s:[30.933]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:501,s:[10.759]},{t:509,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:468,s:[481.5,196.5,0],to:[-63.952,-84.472,0],ti:[39.542,-31.89,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:486,s:[247.033,201.235,0],to:[-86.963,70.134,0],ti:[6.379,-68.863,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:501,s:[129.552,423.259,0],to:[-6.259,67.568,0],ti:[14.632,-14.74,0]},{t:509,s:[119.5,559.5,0]}],ix:2},a:{a:0,k:[31.5,33,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:468,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:486,s:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:501,s:[100,100,100]},{t:509,s:[100,100,100]}],ix:6}},ao:0,w:63,h:66,ip:468,op:3622,st:22,bm:0},{ddd:0,ind:9,ty:3,nm:"\u25bd Group 2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[537,373.5,0],ix:2},a:{a:0,k:[408,358.5,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:540,st:0,bm:0},{ddd:0,ind:11,ty:0,nm:"hand",refId:"comp_3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:17,s:[-44]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:24,s:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:31,s:[0]},{t:39,s:[0]}],ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:17,s:[536.5,683.5,0],to:[-.167,-6.667,0],ti:[.167,4.5,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:24,s:[535.5,643.5,0],to:[-.167,-4.5,0],ti:[0,-1.5,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:31,s:[535.5,656.5,0],to:[0,1.5,0],ti:[0,.667,0]},{t:39,s:[535.5,652.5,0]}],ix:2},a:{a:0,k:[247.5,637,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:17,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:24,s:[107,107,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:31,s:[93,93,100]},{t:39,s:[100,100,100]}],ix:6}},ao:0,w:495,h:722,ip:15,op:3590,st:-10,bm:0},{ddd:0,ind:12,ty:0,nm:"lines",refId:"comp_6",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[523.5,388.5,0],ix:2},a:{a:0,k:[523.5,388.5,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,w:1047,h:777,ip:0,op:3600,st:0,bm:0},{ddd:0,ind:13,ty:3,nm:"\u25bd claud",parent:9,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-5,ix:10},p:{a:0,k:[436.128,449.486,0],ix:2},a:{a:0,k:[358.5,237,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,ip:0,op:596,st:0,bm:0},{ddd:0,ind:14,ty:4,nm:"claud",parent:13,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[359.448,454.059,0],to:[0,-42.333,0],ti:[0,34.333,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:14,s:[359.448,200.059,0],to:[0,-34.333,0],ti:[0,-6.167,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:24,s:[359.448,248.059,0],to:[0,6.167,0],ti:[0,1.833,0]},{t:32,s:[359.448,237.059,0]}],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:0,s:[0,0,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:14,s:[110,110,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:24,s:[93,93,100]},{t:32,s:[100,100,100]}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[16.6,9.66],[6.9,-30.19],[4.87,-15.29],[1.22,-18.91],[-70.97,-5.24],[-27.57,0],[2.43,16.91],[18.25,9.24],[-16.22,17.31]],o:[[0,0],[-16.6,-9.66],[-6.89,30.19],[-4.87,15.3],[-1.21,18.92],[70.97,5.23],[27.58,0],[-2.43,-16.91],[-18.25,-9.23],[16.22,-17.31]],v:[[23.686,-77.78],[-39.254,-62.4],[-94.204,-63.52],[-118.814,-8.22],[-79.914,34.46],[-35.944,75.99],[74.766,78],[118.976,34.93],[87.746,3.1],[76.686,-32.02]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.874638020992,.942860007286,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"claud",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:596,st:0,bm:0}],markers:[],chars:[{ch:"$",size:130,style:"Regular",w:55.62,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[5.566,-.26],[0,0],[-1.726,-1.237],[0,-4.069],[1.106,-1.953]],o:[[0,0],[4.069,1.107],[2.995,2.116],[0,2.572],[-2.116,3.809]],v:[[29.834,-5.078],[29.834,-30.762],[38.525,-27.246],[43.018,-17.969],[41.357,-11.182]],c:!0},ix:2},nm:"$",mn:"ADBE Vector Shape - Group",hd:!1},{ind:1,ty:"sh",ix:2,ks:{a:0,k:{i:[[0,3.223],[-1.822,2.441],[-4.3,.163],[0,0],[2.15,1.823]],o:[[0,-2.669],[1.822,-2.441],[0,0],[-3.644,-.716],[-2.15,-1.823]],v:[[13.281,-52.197],[16.013,-59.863],[25.195,-63.77],[25.195,-40.82],[16.505,-44.629]],c:!0},ix:2},nm:"$",mn:"ADBE Vector Shape - Group",hd:!1},{ind:2,ty:"sh",ix:3,ks:{a:0,k:{i:[[0,-4.948],[-3.369,-3.125],[-7.065,-1.334],[0,0],[2.032,3.679],[.262,4.46],[0,0],[-1.855,-3.288],[-9.473,-.619],[0,0],[0,0],[0,0],[-3.125,2.018],[0,8.659],[4.395,3.06],[7.552,2.116],[0,0],[-2.051,-3.288],[-.228,-2.473],[0,0],[3.467,3.361],[6.477,.455],[0,0],[0,0],[0,0],[3.629,-3.971]],o:[[0,5.534],[3.368,3.125],[0,0],[-5.509,-.455],[-1.147,-2.051],[0,0],[0,5.599],[3.385,6.087],[0,0],[0,0],[0,0],[5.891,-.652],[5.631,-3.645],[0,-5.989],[-2.702,-1.855],[0,0],[4.492,.163],[1.106,1.791],[0,0],[-.163,-5.519],[-3.467,-3.36],[0,0],[0,0],[0,0],[-6.543,.066],[-3.63,3.972]],v:[[4.492,-51.611],[9.545,-38.623],[25.195,-31.934],[25.195,-5.322],[13.882,-11.523],[11.768,-21.289],[3.125,-21.289],[5.908,-7.959],[25.195,2.1],[25.195,11.572],[29.834,11.572],[29.834,2.1],[43.359,-1.904],[51.807,-20.361],[45.215,-33.936],[29.834,-39.893],[29.834,-63.672],[39.648,-58.496],[41.65,-52.1],[50.195,-52.1],[44.751,-65.42],[29.834,-71.143],[29.834,-77.539],[25.195,-77.539],[25.195,-71.045],[9.937,-64.99]],c:!0},ix:2},nm:"$",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"$",np:6,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Helvetica"},{ch:"L",size:17.6399993896484,style:"Medium",w:57.4,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[7.6,0],[56.4,0],[56.4,-10.8],[20.1,-10.8],[20.1,-71.4],[7.6,-71.4]],c:!0},ix:2},nm:"L",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"L",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Helvetica Neue"},{ch:"I",size:17.6399993896484,style:"Medium",w:27.8,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[7.6,0],[20.1,0],[20.1,-71.4],[7.6,-71.4]],c:!0},ix:2},nm:"I",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"I",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Helvetica Neue"},{ch:"N",size:17.6399993896484,style:"Medium",w:72.2,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[7.1,0],[19,0],[19,-52.5],[19.3,-52.5],[51.8,0],[65,0],[65,-71.4],[53.1,-71.4],[53.1,-18.8],[52.9,-18.8],[20.3,-71.4],[7.1,-71.4]],c:!0},ix:2},nm:"N",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"N",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Helvetica Neue"},{ch:"K",size:17.6399993896484,style:"Medium",w:68.5,data:{shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[7.6,0],[20.1,0],[20.1,-24],[30.3,-34.1],[53.7,0],[69.3,0],[38.8,-42.9],[67.3,-71.4],[51.9,-71.4],[20.1,-38.9],[20.1,-71.4],[7.6,-71.4]],c:!0},ix:2},nm:"K",mn:"ADBE Vector Shape - Group",hd:!1}],nm:"K",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}]},fFamily:"Helvetica Neue"}]}},1773,[]); __d(function(i,a,x,k,r,t,p){r.exports={v:"5.4.3",fr:30,ip:0,op:60,w:2048,h:2048,nm:"wallet_subtract_open",ddd:0,assets:[{id:"comp_0",layers:[{ddd:0,ind:1,ty:3,nm:"ctrl",sr:1,ks:{o:{a:0,k:0,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[1024,1024,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:1,k:[{i:{x:[.58,.58,.58],y:[1,1,1]},o:{x:[.42,.42,.42],y:[0,0,0]},n:["0p58_1_0p42_0","0p58_1_0p42_0","0p58_1_0p42_0"],t:0,s:[0,0,100],e:[398.598,398.598,100]},{t:30}],ix:6}},ao:0,ip:0,op:31,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"sub",parent:3,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:180,ix:10},p:{a:0,k:[0,.69,0],ix:2},a:{a:0,k:[0,-23.814,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[256,-256],[-256,-256]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:1,k:[{i:{x:[.16],y:[1]},o:{x:[.84],y:[0]},n:["0p16_1_0p84_0"],t:0,s:[0],e:[100]},{t:30}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[.035294119269,.078431375325,.250980407,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:481,ix:5},lc:1,lj:1,ml:4,ml2:{a:0,k:4,ix:8},bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[42.745,9.302],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Rectangle 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:31,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"back",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[9.02,22.806],[.158,.391],[.447,1.057],[24.416,20.315],[.19,.157],[.656,.528],[.628,.493],[.217,.169],[46.245,0],[.034,0],[36.646,-45.343],[0,-47.682],[-110.457,0],[-35.832,53.944],[-.152,.232],[0,40.647]],o:[[-.155,-.392],[-.43,-1.066],[-12.561,-29.685],[-.19,-.158],[-.649,-.536],[-.622,-.5],[-.216,-.17],[-33.877,-26.385],[-.033,0],[-62.79,0],[-27.792,34.388],[0,110.586],[69.56,0],[.153,-.231],[20.787,-31.578],[0,-26.02]],v:[[186.02,-73.985],[185.543,-75.155],[184.237,-78.346],[127.747,-154.363],[127.18,-154.842],[125.214,-156.427],[123.349,-157.926],[122.695,-158.161],[0,-200],[-.1,-200],[-155.551,-125.885],[-200,-.167],[0,200],[166.647,110.464],[167.095,109.746],[200,-.292]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.768627464771,.796078443527,.823529422283,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:31,st:0,bm:0}]},{id:"comp_1",layers:[{ddd:0,ind:1,ty:3,nm:"scale",sr:1,ks:{o:{a:0,k:0,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[274.314,1665.438,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:1,k:[{i:{x:[.24,.24,.24],y:[1,1,1]},o:{x:[.76,.76,.76],y:[0,0,0]},n:["0p24_1_0p76_0","0p24_1_0p76_0","0p24_1_0p76_0"],t:0,s:[0,0,100],e:[400,400,100]},{t:59.859375}],ix:6}},ao:0,ip:0,op:61,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Layer 4",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[187.421,-160.36,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[17.67,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-17.672,0],[0,0],[0,17.67],[0,0],[0,36.967],[-36.969,0],[0,0]],o:[[0,0],[0,0],[0,0],[-37.708,0],[0,0],[0,0],[0,17.67],[0,0],[17.67,0],[0,0],[-36.969,0],[0,-36.969],[0,0],[0,-17.672]],v:[[155.292,-106.838],[133.871,-106.838],[133.83,-106.838],[-155.292,-106.838],[-187.421,-74.708],[-187.421,74.708],[-187.421,128.23],[-155.292,160.36],[155.292,160.36],[187.421,128.23],[187.421,93.724],[120.484,26.788],[187.421,-40.15],[187.421,-74.708]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.035294119269,.078431375325,.250980407,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:61,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Layer 6",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.24,y:1},o:{x:.76,y:0},n:"0p24_1_0p76_0",t:26.056,s:[187.421,-113.36,0],e:[187.421,-160.36,0],to:[0,-7.83333349227905,0],ti:[0,7.83333349227905,0]},{t:50}],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[2.577,15.136],[0,0],[0,0],[0,0]],o:[[-15.843,0],[0,0],[0,0],[-.064,.384],[0,0]],v:[[-155.292,-106.838],[-186.962,-133.598],[-186.962,-133.598],[-186.964,-133.588],[-187.421,-74.708]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.035294119269,.078431375325,.250980407,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:61,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Layer 5",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.24,y:1},o:{x:.76,y:0},n:"0p24_1_0p76_0",t:26,s:[160.855,-237.958,0],e:[160.855,-293.958,0],to:[0,-9.33333301544189,0],ti:[0,9.33333301544189,0]},{t:49.9443359375}],ix:2},a:{a:0,k:[-26.566,-133.599,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-15.843,0],[0,0],[0,0],[17.672,0],[0,0],[2.575,-15.138]],o:[[0,0],[0,0],[0,-17.672],[0,0],[-15.843,0],[2.577,15.136]],v:[[-155.292,-106.838],[133.83,-106.838],[133.83,-128.23],[101.7,-160.36],[-155.292,-160.36],[-186.962,-133.598]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.768627464771,.796078443527,.823529422283,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 4",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:61,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Layer 3",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.24,y:1},o:{x:.76,y:0},n:"0p24_1_0p76_0",t:21.057,s:[238.905,-133.572,0],e:[307.905,-133.572,0],to:[11.5,0,0],ti:[-11.5,0,0]},{t:45}],ix:2},a:{a:0,k:[120.484,26.787,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,-36.969],[-36.969,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,36.967],[0,0],[0,0],[0,0],[0,0],[-36.969,0]],v:[[120.484,26.788],[187.421,93.724],[187.421,92.014],[187.421,65.239],[187.421,-13.374],[187.421,-40.15]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.768627464771,.796078443527,.823529422283,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 2",np:1,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:61,st:0,bm:0}]}],layers:[{ddd:0,ind:1,ty:0,nm:"subtract_open",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[724,1274,0],ix:2},a:{a:0,k:[1024,1024,0],ix:1},s:{a:0,k:[56,56,100],ix:6}},ao:0,tm:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:30,s:[0],e:[.967]},{t:59,s:[.967],h:1}],ix:2},w:2048,h:2048,ip:30,op:61,st:30,bm:0},{ddd:0,ind:4,ty:0,nm:"wallet_open",refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[1076.705,921.048,0],ix:2},a:{a:0,k:[1024,1024,0],ix:1},s:{a:0,k:[93,93,100],ix:6}},ao:0,tm:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:0,s:[0],e:[1.967]},{t:59,s:[1.967],h:1}],ix:2},w:2048,h:2048,ip:0,op:61,st:0,bm:0}],markers:[]}},1774,[]); -__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=l(r(d[2])),n=l(r(d[3])),s=l(r(d[4])),c=l(r(d[5])),u=l(r(d[6])),f=l(r(d[7])),y=l(r(d[8])),p=t(r(d[9])),E=r(d[10]),T=r(d[11]),w=l(r(d[12])),h=l(r(d[13])),x=l(r(d[14])),C=l(r(d[15])),b=l(r(d[16])),I=t(r(d[17])),V=r(d[18]),_=r(d[19]),D=r(d[20]),A=r(d[21]),N=r(d[22]),R=l(r(d[23])),O=l(r(d[24])),S=r(d[25]),v=l(r(d[26])),U=r(d[27]),k=l(r(d[28])),B=l(r(d[29])),P=l(r(d[30])),H=l(r(d[31])),L=r(d[32]),M=r(d[33]),G=r(d[34]),W=r(d[35]),j=r(d[36]),F=r(d[37]),z=r(d[38]),Y=l(r(d[39])),q=l(r(d[40])),Q=r(d[41]);function X(t,l){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);l&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),o.push.apply(o,n)}return o}function K(t){for(var l=1;l20?0:5})},p.default.createElement(E.Text,{style:[S.Typography.headline,S.Typography.semibold]},h.default.t(t.title)))))),p.default.createElement(E.View,{style:{flex:1}})):p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.containerTouch]},p.default.createElement(E.TouchableOpacity,{style:$.contain,onPress:function(){R.default.isNil(o.state.isIdentified)?o.redirectToRoute(t):(console.log(t),R.default.isEqual(t.screen,'createIdentificationUser')?o.state.isIdentified?(0,U.displayToast)(h.default.t('ALREADY_IDENTIFIED')):o.redirectToRoute(t):R.default.isEqual(t.screen,'modifyIdentificationUser')?o.state.isIdentified?o.redirectToRoute(t):(0,U.displayToast)(h.default.t('NOT_YET_IDENTIFY')):o.redirectToRoute(t))},activeOpacity:.9},o.state.isNanoSanteAgent?p.default.createElement(q.default,{name:t.icon,color:V.Color.primaryColor,size:30,style:$.imageBanner}):p.default.createElement(w.default,{name:t.icon,color:V.Color.primaryColor,size:30,style:$.imageBanner}),p.default.createElement(E.View,{style:[$.content]},p.default.createElement(E.View,{style:($.contentTitle,{paddingTop:t.title.length>20?0:5})},p.default.createElement(E.Text,{style:[S.Typography.headline,S.Typography.semibold]},h.default.t(t.title))),p.default.createElement(E.View,{style:{flex:1}})))))},o.renderAccountDetail=function(t){return p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',justifyContent:'space-between'}},p.default.createElement(E.View,{style:{flexDirection:'row',alignItems:'center'}},p.default.createElement(E.View,{style:[$.circlePoint,{backgroundColor:V.Color.primaryColor}]},p.default.createElement(O.default,{name:"md-wallet",size:28,color:V.Color.whiteColor})),p.default.createElement(E.View,null,p.default.createElement(E.Text,{style:(S.Typography.title3,V.Color.primaryColor,{marginBottom:3})},h.default.t('CREDIT_ACCOUNT')),null!==o.state.user?p.default.createElement(E.Text,{style:[S.Typography.body2]},null!=o.props.result?(0,B.default)(o.props.result.response.balance_credit,' ')+" "+o.state.wallet.currency_code:(0,B.default)(o.state.user.balance_credit,' ')+" "+o.state.wallet.currency_code):null)),p.default.createElement(E.View,{style:{flexDirection:'row',alignItems:'center'}},p.default.createElement(E.View,{style:[$.circlePoint,{backgroundColor:V.Color.primaryColor}]},p.default.createElement(O.default,{name:"md-key",size:28,color:V.Color.whiteColor})),p.default.createElement(E.View,null,p.default.createElement(E.Text,{style:(S.Typography.title3,V.Color.primaryColor,{marginBottom:3})},h.default.t('SAVINGS_ACCOUNT')),null!==o.state.user?p.default.createElement(E.Text,{style:[S.Typography.body2]},null!=o.props.result?(0,B.default)(o.props.result.response.balance_epargne,' ')+" "+o.state.wallet.currency_code:(0,B.default)(o.state.user.balance_epargne,' ')+" "+o.state.wallet.currency_code):null)))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:30,marginBottom:10,flex:1,alignItems:'center',justifyContent:'center'}},p.default.createElement(P.default,{icon:p.default.createElement(w.default,{name:"update",size:20,color:V.Color.whiteColor,style:{marginLeft:-15}}),style:{paddingRight:10,width:120,borderRightWidth:1,borderRightColor:V.Color.whiteColor},primary:!0,onPress:function(){o._scrollView.scrollToEnd()}},h.default.t('HISTORY'))))},o.renderNanoSanteAccountDetail=function(t){return p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',justifyContent:'space-between'}},p.default.createElement(E.View,{style:{flexDirection:'row',alignItems:'center'}},p.default.createElement(E.View,{style:[$.circlePoint,{backgroundColor:V.Color.primaryColor}]},p.default.createElement(O.default,{name:"md-wallet",size:28,color:V.Color.whiteColor})),p.default.createElement(E.View,null,p.default.createElement(E.Text,{style:(S.Typography.title3,V.Color.primaryColor,{marginBottom:3})},h.default.t('CREDIT_ACCOUNT')),null!==o.state.user?p.default.createElement(E.Text,{style:[S.Typography.body2]},null!=o.props.result?(0,B.default)(o.props.result.response.balance_credit,' ')+" "+o.state.wallet.currency_code:(0,B.default)(o.state.user.balance_credit,' ')+" "+o.state.wallet.currency_code):null)),p.default.createElement(E.View,{style:{flexDirection:'row',alignItems:'center'}},p.default.createElement(E.View,{style:[$.circlePoint,{backgroundColor:V.Color.primaryColor}]},p.default.createElement(O.default,{name:"md-key",size:28,color:V.Color.whiteColor})),p.default.createElement(E.View,null,p.default.createElement(E.Text,{style:(S.Typography.title3,V.Color.primaryColor,{marginBottom:3})},h.default.t('SAVINGS_ACCOUNT')),null!==o.state.user?p.default.createElement(E.Text,{style:[S.Typography.body2]},null!=o.props.result?(0,B.default)(o.props.result.response.balance_epargne,' ')+" "+o.state.wallet.currency_code:(0,B.default)(o.state.user.balance_epargne,' ')+" "+o.state.wallet.currency_code):null)))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:30,marginBottom:10,flex:1,alignItems:'center',justifyContent:'center'}},p.default.createElement(P.default,{icon:p.default.createElement(w.default,{name:"credit-card",size:20,color:V.Color.whiteColor,style:{marginLeft:-15}}),style:{paddingRight:10,width:120,borderRightWidth:1,borderRightColor:V.Color.whiteColor},primary:!0,onPress:function(){}},h.default.t('ATTACH_ASSURANCE_CARD'))))},o.renderNanoSanteAgentAccountDetail=function(t){return p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]}),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:30,marginBottom:10,flex:1,alignItems:'center',justifyContent:'center'}},p.default.createElement(P.default,{icon:p.default.createElement(Y.default,{name:"money-check-alt",size:20,color:V.Color.whiteColor,style:{marginLeft:-15}}),style:{paddingRight:10,width:"70%",borderRightWidth:1,borderRightColor:V.Color.whiteColor},primary:!0,onPress:function(){}},' '+h.default.t('FACTURER_FEUILLES_SOINS'))))},o.renderHistoryTransactionList=function(){var t=o.props,l=t.resultHistory,n=t.errorHistory;return null!==n?void 0!==n.data?p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(E.Text,{style:S.Typography.body1},n.data.error)):p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(E.Text,{style:S.Typography.body1},n)):null!==l&&null!==l.response?Array.isArray(l.response)&&l.response.length>0?p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.contentService,{borderBottomColor:V.Color.primaryColor}]},(0,U.transactionHistoryIlinkLabel)().map(function(t,l){return p.default.createElement(E.View,{style:{alignItems:'center'},key:l},p.default.createElement(w.default,{name:t.icon,size:24,color:V.Color.primaryColor}),p.default.createElement(E.Text,{style:(S.Typography.overline,V.Color.grayColor,{marginTop:4})},h.default.t(t.label)))})),l.response.map(function(t,l){return o.renderHistoryTransactionItem(t,l)})):p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'flex-start'}},p.default.createElement(E.Text,{style:S.Typography.body1},h.default.t('NO_WALLET_HISTORY'))):void 0},o.renderHistoryTransactionItem=function(t,l){return p.default.createElement(E.TouchableOpacity,{onPress:function(){o.setState({displayModalHistory:!0,historyItemDetail:t})},style:[$.contentService,{borderBottomColor:V.Color.primaryColor}]},(0,C.default)(o.state.user.category)?Object.keys((0,b.default)(t,['id','type','montant_retire','id_epargne','type_historique','date_demande','date_fin','date_remboursement_prevu','date_validation','date_cassation','date_remboursement','id_demande','duree_mois','taxe','','date_fin','date_cassation','etat','id_user','id_network','user','partiellement_rembourse','user_phone','type_caution','interet','date_remboursement_prevu','date_remboursement','id_wallet_agent','retrait_cash','codeParrain','agent','montant_rembourse',''])).map(function(l,n){return p.default.createElement(E.View,{style:{alignItems:'center'},key:n},p.default.createElement(E.Text,{style:(S.Typography.overline,V.Color.grayColor,{marginTop:4})},(0,x.default)(l,'montant')?" "+(t[l].length>8?(0,U.cutString)((0,B.default)(t[l],' '),6):(0,B.default)(t[l],' '))+" "+o.state.wallet.currency_code:(0,x.default)(l,'date_creation')?(0,U.cutStringWithoutDot)(t[l],16):t[l]))}):Object.keys((0,b.default)(t,['id','retrait_cash','montant_retire','type_historique','type_caution','id_demande','montant_rembourse','partiellement_rembourse','duree_mois','etat','interet','taxe','date_validation','date_remboursement_prevu','date_remboursement','id_user','id_wallet_agent','id_network','user','user_phone','agent','codeParrain'])).map(function(l,n){return p.default.createElement(E.View,{style:{alignItems:'center'},key:n},p.default.createElement(E.Text,{style:(S.Typography.overline,V.Color.grayColor,{marginTop:4})},(0,x.default)(l,'montant')?" "+(t[l].length>8?(0,U.cutString)((0,B.default)(t[l],' '),6):(0,B.default)(t[l],' '))+" "+o.state.wallet.currency_code:(0,x.default)(l,'date_creation')?(0,U.cutStringWithoutDot)(t[l],16):t[l]))}))},o.renderModalHistoryDetail=function(){var t=o.state.historyItemDetail;return p.default.createElement(H.default.Container,{useNativeDriver:!0,visible:o.state.displayModalHistory},p.default.createElement(H.default.Title,null,h.default.t('HISTORY_DETAIL')),(0,C.default)(o.state.user.category)?(0,x.default)(t.type_historique,'N')?p.default.createElement(E.ScrollView,{persistentScrollbar:!0},p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},"Type")),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},h.default.t((0,U.displayTransactionType)(o.state.historyItemDetail.type_historique))))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('CAUTION_TYPE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.type_caution))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('ID_DEMAND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.id_demande))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('STATUS'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.etat))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('DEMAND_DURATION_IN_MONTH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.duree_mois))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant_rembourse+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT_PARTIALLY_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.partiellement_rembourse+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('TAXES'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.taxe+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('INTERET'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.interet+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('WITHDRAWAL_IN_CASH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},1==o.state.historyItemDetail.retrait_cash?h.default.t('YES'):h.default.t('NO')))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('CREATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_creation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('VALIDATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_validation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('DATE_REMBOURSEMENT_PREVU'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_remboursement_prevu))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('DATE_REMBOURSEMENT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_remboursement))))):p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},"Type")),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},h.default.t((0,U.displayTransactionType)(o.state.historyItemDetail.type_historique))))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('ID_SAVINGS'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.id_epargne))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('STATUS'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.etat))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('DEMAND_DURATION_IN_MONTH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.duree_mois))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},"Type")),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.type))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT_WITHDRAWAL'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant_retire+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('TAXES'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.taxe+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('INTERET'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.interet+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('CREATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_creation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('FINAL_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},(0,x.default)(o.state.historyItemDetail.type,'SIMPLE')?h.default.t('NON_APPLICABLE'):o.state.historyItemDetail.date_fin))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('CASSATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_cassation)))):p.default.createElement(E.ScrollView,{persistentScrollbar:!0},p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},"Type")),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},h.default.t((0,U.displayTransactionType)(o.state.historyItemDetail.type_historique))))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('ID_DEMAND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.id_demande))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('STATUS'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.etat))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('DEMAND_DURATION_IN_MONTH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.duree_mois))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant_rembourse+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT_PARTIALLY_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.partiellement_rembourse+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('TAXES'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.taxe+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('INTERET'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.interet+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('WITHDRAWAL_IN_CASH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},1==o.state.historyItemDetail.retrait_cash?h.default.t('YES'):h.default.t('NO')))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('CREATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_creation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('VALIDATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_validation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('DATE_REMBOURSEMENT_PREVU'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_remboursement_prevu))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('DATE_REMBOURSEMENT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_remboursement))))),p.default.createElement(H.default.Button,{bold:!0,label:h.default.t('OK'),onPress:function(){o.setState({displayModalHistory:!o.state.displayModalHistory})}}))},o.renderHistory=function(){return p.default.createElement(E.View,{style:{backgroundColor:V.Color.containerBackgroundColor,flex:1}},p.default.createElement(E.View,{style:[$.checkDefault,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.Text,{style:[S.Typography.title3,S.Typography.semibold]},h.default.t('TRANSACTION_HISTORY'))),o.props.loadingHistory?p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===E.Platform.OS?p.default.createElement(p.default.Fragment,null,p.default.createElement(E.ProgressBarAndroid,null),p.default.createElement(E.Text,null,h.default.t('LOADING_DOTS'))):p.default.createElement(p.default.Fragment,null,p.default.createElement(E.ActivityIndicator,{size:"large",color:'#ccc'}),p.default.createElement(E.Text,null,h.default.t('LOADING_DOTS')))):!(0,C.default)(o.state.user)&&o.renderHistoryTransactionList())},o.state={options:o.props.navigation.state.params.optionSelect.options,title:o.props.navigation.state.params.optionSelect.title,subTitle:o.props.navigation.state.params.optionSelect.subTitle,type:o.props.navigation.state.params.optionSelect.type,wallet:o.props.navigation.state.params.wallet,lottie:o.props.navigation.state.params.lottie,onGoBack:o.props.navigation.state.params.onGoBack,isIdentified:null!==z.store.getState().getUserIdentificationReducer.result&&z.store.getState().getUserIdentificationReducer.result.response.isIdentified,isNanoCredit:o.props.navigation.state.params.hasOwnProperty('isNanoCredit'),isNanoSante:o.props.navigation.state.params.hasOwnProperty('isNanoSante'),isNanoSanteAgent:o.props.navigation.state.params.hasOwnProperty('isNanoSanteAgent'),user:null,displayModalHistory:!1,historyItemDetail:null,isDataHasLoaded:!1},console.log("WALLET OPTION PROPS",o.props),_.IlinkEmitter.on("langueChange",o.updateLangue.bind((0,f.default)(o))),o.props.getNanoCreditAccountReset(),o.props.getNanoCreditUserHistoryReset(),(0,A.readUser)().then(function(t){t&&void 0!==t&&(void 0===t.category?(o.props.getNanoCreditAccountAction(t.id),o.props.getNanoCreditUserHistoryAction(t.id,!0)):'geolocated'===t.category&&o.props.getNanoCreditUserHistoryAction(o.state.wallet.id,!1),o.setState({user:t}))}),o.willFocus=o.props.navigation.addListener('willFocus',function(t){console.log("WIIL FOCUS CALL"),(0,A.readUser)().then(function(t){t&&void 0!==t&&(void 0===t.category?(o.props.getNanoCreditAccountAction(t.id),o.props.getNanoCreditUserHistoryAction(t.id,!0),o.props.getWalletDetailActivated(t.id,null),o.props.getUserIdentificationAction(t.phone),o.props.getWalletTransactionHistoryUser(t.id)):'geolocated'===t.category&&o.props.getNanoCreditUserHistoryAction(o.state.wallet.id,!1)),o.props.fetchGetSubscriptionListReset(),o.props.fetchGetUserByNameOrNumberReset(),o.props.fetchGetUserByIdQRCodeReset(),o.props.fetchGetProviderClassReset(),o.props.fetchGetConsultationReset(),o.props.fetchGetNetworkActsReset()})}),o}return(0,y.default)(l,t),(0,s.default)(l,[{key:"renderResultGetNanoCreditAccount",value:function(){var t=this.props.result;console.log("BEFORE",this.props),null!==t&&null!==t.response&&(this.setState({balance_credit:t.response.balance_credit,balance_epargne:t.response.balance_epargne,user:K({},this.state.user,{balance_credit:t.response.balance_credit,balance_epargne:t.response.balance_epargne}),isDataHasLoaded:!0}),console.log("AFTER",this.props))}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:h.default.t('WALLET')}),this.forceUpdate()}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:h.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;return!this.state.isDataHasLoaded&&this.renderResultGetNanoCreditAccount(),p.default.createElement(D.Provider,null,p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.StatusBar,{backgroundColor:V.Color.primaryDarkColor,barStyle:"light-content",translucent:!1}),p.default.createElement(D.Appbar.Header,{dark:!0,style:{backgroundColor:V.Color.primaryColor}},p.default.createElement(D.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),p.default.createElement(D.Appbar.Content,{title:h.default.t(this.state.title),subtitle:h.default.t(this.state.subTitle)})),p.default.createElement(E.ScrollView,{style:$.container,ref:function(l){return t._scrollView=l}},this.state.displayModalHistory&&this.renderModalHistoryDetail(),p.default.createElement(E.View,null,this.state.isNanoCredit?this.renderAccountDetail():this.state.isNanoSante?this.renderNanoSanteAccountDetail():this.state.isNanoSanteAgent?this.renderNanoSanteAgentAccountDetail():p.default.createElement(E.View,{style:{justifyContent:'center',alignItems:'center'}},p.default.createElement(v.default,{style:$.lottie,source:this.state.lottie.source,autoPlay:!0,loop:this.state.lottie.loop}))),this.state.isNanoSante?this.state.options.map(function(l){return p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.checkDefault,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.Text,{style:[S.Typography.title3,S.Typography.semibold]},h.default.t(l.title))),(0,k.default)(l.options,2).map(function(l,o){return p.default.createElement(E.View,{key:o,style:$.transactionContainer},1===l.length?l.map(function(l,o){return t.renderItem(l,!0,o)}):l.map(function(l,o){return t.renderItem(l,!1,o)}))}))}):p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.checkDefault,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.Text,{style:[S.Typography.title3,S.Typography.semibold]},h.default.t('OPERATIONS'))),(0,k.default)(this.state.options,2).map(function(l,o){return p.default.createElement(E.View,{key:o,style:$.transactionContainer},1===l.length?l.map(function(l,o){return t.renderItem(l,!0,o)}):l.map(function(l,o){return t.renderItem(l,!1,o)}))})))))}}]),l})(p.Component);J.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(w.default,{name:'credit-card',size:24})}}};var Z=(0,L.connect)(function(t){return{loading:t.getNanoCreditAccountUserReducer.loading,result:t.getNanoCreditAccountUserReducer.result,error:t.getNanoCreditAccountUserReducer.error,loadingHistory:t.getNanoCreditHistoryUserReducer.loading,resultHistory:t.getNanoCreditHistoryUserReducer.result,errorHistory:t.getNanoCreditHistoryUserReducer.error}},function(t){return(0,M.bindActionCreators)({getNanoCreditAccountAction:N.getNanoCreditAccountAction,getNanoCreditAccountReset:N.getNanoCreditAccountReset,getNanoCreditUserHistoryAction:N.getNanoCreditUserHistoryAction,getNanoCreditUserHistoryReset:N.getNanoCreditUserHistoryReset,fetchGetSubscriptionListReset:Q.fetchGetSubscriptionListReset,fetchGetUserByNameOrNumberReset:Q.fetchGetUserByNameOrNumberReset,fetchGetUserByIdQRCodeReset:Q.fetchGetUserByIdQRCodeReset,fetchGetProviderClassReset:Q.fetchGetProviderClassReset,fetchGetConsultationReset:Q.fetchGetConsultationReset,fetchGetNetworkActsReset:Q.fetchGetNetworkActsReset,getWalletDetailActivated:W.getWalletDetailActivated,getUserIdentificationAction:F.getUserIdentificationAction,getWalletTransactionHistoryUser:j.getWalletTransactionHistoryUser},t)})((0,T.connectActionSheet)(J));e.default=Z;var $=E.StyleSheet.create({container:{flex:1,backgroundColor:V.Color.containerBackgroundColor,paddingHorizontal:20},item:{paddingVertical:15,borderBottomWidth:1,flexDirection:"row",justifyContent:"space-between",alignItems:"center"},lottie:{width:540,height:240},circlePoint:{width:50,height:50,borderRadius:25,marginRight:5,alignItems:'center',justifyContent:'center'},checkDefault:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottomWidth:1,paddingVertical:10,marginTop:5},transactionContainer:{flexDirection:'row',paddingTop:10},containerTouch:{flex:1,flexDirection:'row',alignItems:'center',shadowColor:V.Color.borderColor,borderColor:V.Color.borderColor,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,borderRadius:10,backgroundColor:V.Color.cardBackgroundColor},contain:{flexDirection:'row',justifyContent:'space-between'},imageBanner:{marginTop:15,marginLeft:5,width:I.scaleWithPixel(30),height:I.scaleWithPixel(30)},content:{height:I.scaleWithPixel(65),paddingHorizontal:10,justifyContent:'space-between',alignItems:'flex-start',flex:1},contentTitle:{paddingTop:12},contentService:{paddingVertical:10,borderBottomWidth:.5,flexDirection:'row',flexWrap:'wrap',justifyContent:'space-between'},blockView:{paddingVertical:10,borderBottomWidth:.5},containField:{padding:10,marginBottom:20,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,flexDirection:"row",height:140,borderRadius:10},paymentItem:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottomWidth:1,paddingVertical:5,width:(0,G.responsiveWidth)(100),marginBottom:15},iconContent:{width:60,marginRight:10,alignItems:"center"},contentLeftItem:{flex:1,paddingTop:40,paddingLeft:10,paddingRight:10,alignItems:"center"},tagFollow:{width:150,margin:10}})},1775,[4,1,7,8,9,10,12,11,13,15,18,405,881,719,688,1625,552,1020,1031,772,1199,718,1776,938,883,1079,845,1658,1777,1660,1655,1639,1046,1063,534,1622,1682,1770,1107,1013,538,1779,814,1659]); +__d(function(g,r,i,a,m,e,d){var t=r(d[0]),l=r(d[1]);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=l(r(d[2])),n=l(r(d[3])),s=l(r(d[4])),c=l(r(d[5])),u=l(r(d[6])),f=l(r(d[7])),y=l(r(d[8])),p=t(r(d[9])),E=r(d[10]),T=r(d[11]),w=l(r(d[12])),h=l(r(d[13])),x=l(r(d[14])),C=l(r(d[15])),b=l(r(d[16])),I=t(r(d[17])),V=r(d[18]),D=r(d[19]),_=r(d[20]),A=r(d[21]),N=r(d[22]),R=l(r(d[23])),O=l(r(d[24])),S=r(d[25]),v=l(r(d[26])),U=r(d[27]),k=l(r(d[28])),B=l(r(d[29])),P=l(r(d[30])),H=l(r(d[31])),L=r(d[32]),G=r(d[33]),M=r(d[34]),W=r(d[35]),j=r(d[36]),F=r(d[37]),z=r(d[38]),Y=l(r(d[39])),q=l(r(d[40])),Q=r(d[41]);function X(t,l){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);l&&(n=n.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),o.push.apply(o,n)}return o}function K(t){for(var l=1;l20?0:5})},p.default.createElement(E.Text,{style:[S.Typography.headline,S.Typography.semibold]},h.default.t(t.title)))))),p.default.createElement(E.View,{style:{flex:1}})):p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.containerTouch]},p.default.createElement(E.TouchableOpacity,{style:$.contain,onPress:function(){R.default.isNil(o.state.isIdentified)?o.redirectToRoute(t):(console.log(t),R.default.isEqual(t.screen,'createIdentificationUser')?o.state.isIdentified?(0,U.displayToast)(h.default.t('ALREADY_IDENTIFIED')):o.redirectToRoute(t):R.default.isEqual(t.screen,'modifyIdentificationUser')?o.state.isIdentified?o.redirectToRoute(t):(0,U.displayToast)(h.default.t('NOT_YET_IDENTIFY')):o.redirectToRoute(t))},activeOpacity:.9},o.state.isNanoSanteAgent?p.default.createElement(q.default,{name:t.icon,color:V.Color.primaryColor,size:30,style:$.imageBanner}):p.default.createElement(w.default,{name:t.icon,color:V.Color.primaryColor,size:30,style:$.imageBanner}),p.default.createElement(E.View,{style:[$.content]},p.default.createElement(E.View,{style:($.contentTitle,{paddingTop:t.title.length>20?0:5})},p.default.createElement(E.Text,{style:[S.Typography.headline,S.Typography.semibold]},h.default.t(t.title))),p.default.createElement(E.View,{style:{flex:1}})))))},o.renderAccountDetail=function(t){return p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',justifyContent:'space-between'}},p.default.createElement(E.View,{style:{flexDirection:'row',alignItems:'center'}},p.default.createElement(E.View,{style:[$.circlePoint,{backgroundColor:V.Color.primaryColor}]},p.default.createElement(O.default,{name:"md-wallet",size:28,color:V.Color.whiteColor})),p.default.createElement(E.View,null,p.default.createElement(E.Text,{style:(S.Typography.title3,V.Color.primaryColor,{marginBottom:3})},h.default.t('CREDIT_ACCOUNT')),null!==o.state.user?p.default.createElement(E.Text,{style:[S.Typography.body2]},null!=o.props.result?(0,B.default)(o.props.result.response.balance_credit,' ')+" "+o.state.wallet.currency_code:(0,B.default)(o.state.user.balance_credit,' ')+" "+o.state.wallet.currency_code):null)),p.default.createElement(E.View,{style:{flexDirection:'row',alignItems:'center'}},p.default.createElement(E.View,{style:[$.circlePoint,{backgroundColor:V.Color.primaryColor}]},p.default.createElement(O.default,{name:"md-key",size:28,color:V.Color.whiteColor})),p.default.createElement(E.View,null,p.default.createElement(E.Text,{style:(S.Typography.title3,V.Color.primaryColor,{marginBottom:3})},h.default.t('SAVINGS_ACCOUNT')),null!==o.state.user?p.default.createElement(E.Text,{style:[S.Typography.body2]},null!=o.props.result?(0,B.default)(o.props.result.response.balance_epargne,' ')+" "+o.state.wallet.currency_code:(0,B.default)(o.state.user.balance_epargne,' ')+" "+o.state.wallet.currency_code):null)))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:30,marginBottom:10,flex:1,alignItems:'center',justifyContent:'center'}},p.default.createElement(P.default,{icon:p.default.createElement(w.default,{name:"update",size:20,color:V.Color.whiteColor,style:{marginLeft:-15}}),style:{paddingRight:10,width:120,borderRightWidth:1,borderRightColor:V.Color.whiteColor},primary:!0,onPress:function(){o._scrollView.scrollToEnd()}},h.default.t('HISTORY'))))},o.renderNanoSanteAccountDetail=function(t){return p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',justifyContent:'space-between'}},p.default.createElement(E.View,{style:{flexDirection:'row',alignItems:'center'}},p.default.createElement(E.View,{style:[$.circlePoint,{backgroundColor:V.Color.primaryColor}]},p.default.createElement(O.default,{name:"md-wallet",size:28,color:V.Color.whiteColor})),p.default.createElement(E.View,null,p.default.createElement(E.Text,{style:(S.Typography.title3,V.Color.primaryColor,{marginBottom:3})},h.default.t('CREDIT_ACCOUNT')),null!==o.state.user?p.default.createElement(E.Text,{style:[S.Typography.body2]},null!=o.props.result?(0,B.default)(o.props.result.response.balance_credit,' ')+" "+o.state.wallet.currency_code:(0,B.default)(o.state.user.balance_credit,' ')+" "+o.state.wallet.currency_code):null)),p.default.createElement(E.View,{style:{flexDirection:'row',alignItems:'center'}},p.default.createElement(E.View,{style:[$.circlePoint,{backgroundColor:V.Color.primaryColor}]},p.default.createElement(O.default,{name:"md-key",size:28,color:V.Color.whiteColor})),p.default.createElement(E.View,null,p.default.createElement(E.Text,{style:(S.Typography.title3,V.Color.primaryColor,{marginBottom:3})},h.default.t('SAVINGS_ACCOUNT')),null!==o.state.user?p.default.createElement(E.Text,{style:[S.Typography.body2]},null!=o.props.result?(0,B.default)(o.props.result.response.balance_epargne,' ')+" "+o.state.wallet.currency_code:(0,B.default)(o.state.user.balance_epargne,' ')+" "+o.state.wallet.currency_code):null)))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:30,marginBottom:10,flex:1,alignItems:'center',justifyContent:'center'}},p.default.createElement(P.default,{icon:p.default.createElement(w.default,{name:"credit-card",size:20,color:V.Color.whiteColor,style:{marginLeft:-15}}),style:{paddingRight:10,width:120,borderRightWidth:1,borderRightColor:V.Color.whiteColor},primary:!0,onPress:function(){}},h.default.t('ATTACH_ASSURANCE_CARD'))))},o.renderNanoSanteAgentAccountDetail=function(t){return p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]}),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:30,marginBottom:10,flex:1,alignItems:'center',justifyContent:'center'}},p.default.createElement(P.default,{icon:p.default.createElement(Y.default,{name:"money-check-alt",size:20,color:V.Color.whiteColor,style:{marginLeft:-15}}),style:{paddingRight:10,width:"70%",borderRightWidth:1,borderRightColor:V.Color.whiteColor},primary:!0,onPress:function(){}},' '+h.default.t('FACTURER_FEUILLES_SOINS'))))},o.renderHistoryTransactionList=function(){var t=o.props,l=t.resultHistory,n=t.errorHistory;return null!==n?void 0!==n.data?p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(E.Text,{style:S.Typography.body1},n.data.error)):p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},p.default.createElement(E.Text,{style:S.Typography.body1},n)):null!==l&&null!==l.response?Array.isArray(l.response)&&l.response.length>0?p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.contentService,{borderBottomColor:V.Color.primaryColor}]},(0,U.transactionHistoryIlinkLabel)().map(function(t,l){return p.default.createElement(E.View,{style:{alignItems:'center'},key:l},p.default.createElement(w.default,{name:t.icon,size:24,color:V.Color.primaryColor}),p.default.createElement(E.Text,{style:(S.Typography.overline,V.Color.grayColor,{marginTop:4})},h.default.t(t.label)))})),l.response.map(function(t,l){return o.renderHistoryTransactionItem(t,l)})):p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'flex-start'}},p.default.createElement(E.Text,{style:S.Typography.body1},h.default.t('NO_WALLET_HISTORY'))):void 0},o.renderHistoryTransactionItem=function(t,l){return p.default.createElement(E.TouchableOpacity,{onPress:function(){o.setState({displayModalHistory:!0,historyItemDetail:t})},style:[$.contentService,{borderBottomColor:V.Color.primaryColor}]},(0,C.default)(o.state.user.category)?Object.keys((0,b.default)(t,['id','type','montant_retire','id_epargne','type_historique','date_demande','date_fin','date_remboursement_prevu','date_validation','date_cassation','date_remboursement','id_demande','duree_mois','taxe','','date_fin','date_cassation','etat','id_user','id_network','user','partiellement_rembourse','user_phone','type_caution','interet','date_remboursement_prevu','date_remboursement','id_wallet_agent','retrait_cash','codeParrain','agent','montant_rembourse',''])).map(function(l,n){return p.default.createElement(E.View,{style:{alignItems:'center'},key:n},p.default.createElement(E.Text,{style:(S.Typography.overline,V.Color.grayColor,{marginTop:4})},(0,x.default)(l,'montant')?" "+(t[l].length>8?(0,U.cutString)((0,B.default)(t[l],' '),6):(0,B.default)(t[l],' '))+" "+o.state.wallet.currency_code:(0,x.default)(l,'date_creation')?(0,U.cutStringWithoutDot)(t[l],16):t[l]))}):Object.keys((0,b.default)(t,['id','retrait_cash','montant_retire','type_historique','type_caution','id_demande','montant_rembourse','partiellement_rembourse','duree_mois','etat','interet','taxe','date_validation','date_remboursement_prevu','date_remboursement','id_user','id_wallet_agent','id_network','user','user_phone','agent','codeParrain'])).map(function(l,n){return p.default.createElement(E.View,{style:{alignItems:'center'},key:n},p.default.createElement(E.Text,{style:(S.Typography.overline,V.Color.grayColor,{marginTop:4})},(0,x.default)(l,'montant')?" "+(t[l].length>8?(0,U.cutString)((0,B.default)(t[l],' '),6):(0,B.default)(t[l],' '))+" "+o.state.wallet.currency_code:(0,x.default)(l,'date_creation')?(0,U.cutStringWithoutDot)(t[l],16):t[l]))}))},o.renderModalHistoryDetail=function(){var t=o.state.historyItemDetail;return p.default.createElement(H.default.Container,{useNativeDriver:!0,visible:o.state.displayModalHistory},p.default.createElement(H.default.Title,null,h.default.t('HISTORY_DETAIL')),(0,C.default)(o.state.user.category)?(0,x.default)(t.type_historique,'N')?p.default.createElement(E.ScrollView,{persistentScrollbar:!0},p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},"Type")),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},h.default.t((0,U.displayTransactionType)(o.state.historyItemDetail.type_historique))))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('CAUTION_TYPE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.type_caution))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('ID_DEMAND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.id_demande))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('STATUS'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.etat))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('DEMAND_DURATION_IN_MONTH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.duree_mois))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant_rembourse+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT_PARTIALLY_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.partiellement_rembourse+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('TAXES'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.taxe+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('INTERET'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.interet+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('WITHDRAWAL_IN_CASH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},1==o.state.historyItemDetail.retrait_cash?h.default.t('YES'):h.default.t('NO')))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('CREATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_creation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('VALIDATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_validation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('DATE_REMBOURSEMENT_PREVU'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_remboursement_prevu))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('DATE_REMBOURSEMENT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_remboursement))))):p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},"Type")),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},h.default.t((0,U.displayTransactionType)(o.state.historyItemDetail.type_historique))))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('ID_SAVINGS'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.id_epargne))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('STATUS'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.etat))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('DEMAND_DURATION_IN_MONTH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.duree_mois))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},"Type")),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.type))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT_WITHDRAWAL'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant_retire+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('TAXES'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.taxe+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('INTERET'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.interet+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('CREATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_creation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('FINAL_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},(0,x.default)(o.state.historyItemDetail.type,'SIMPLE')?h.default.t('NON_APPLICABLE'):o.state.historyItemDetail.date_fin))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('CASSATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_cassation)))):p.default.createElement(E.ScrollView,{persistentScrollbar:!0},p.default.createElement(E.View,{style:[$.blockView,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},"Type")),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},h.default.t((0,U.displayTransactionType)(o.state.historyItemDetail.type_historique))))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('ID_DEMAND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.id_demande))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('STATUS'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.etat))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('DEMAND_DURATION_IN_MONTH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.duree_mois))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.montant_rembourse+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('AMOUNT_PARTIALLY_REFUND'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.partiellement_rembourse+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('TAXES'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.taxe+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('INTERET'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.interet+' '+o.state.wallet.currency_code))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('WITHDRAWAL_IN_CASH'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},1==o.state.historyItemDetail.retrait_cash?h.default.t('YES'):h.default.t('NO')))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{style:[$.body2]},h.default.t('CREATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_creation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('VALIDATION_DATE'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_validation))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('DATE_REMBOURSEMENT_PREVU'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_remboursement_prevu))),p.default.createElement(E.View,{style:{flexDirection:'row',marginTop:10}},p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.Text,{tyle:[S.Typography.body2]},h.default.t('DATE_REMBOURSEMENT'))),p.default.createElement(E.View,{style:{flex:1,alignItems:'flex-end'}},p.default.createElement(E.Text,{style:[S.Typography.caption1,V.Color.grayColor]},o.state.historyItemDetail.date_remboursement))))),p.default.createElement(H.default.Button,{bold:!0,label:h.default.t('OK'),onPress:function(){o.setState({displayModalHistory:!o.state.displayModalHistory})}}))},o.renderHistory=function(){return p.default.createElement(E.View,{style:{backgroundColor:V.Color.containerBackgroundColor,flex:1}},p.default.createElement(E.View,{style:[$.checkDefault,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.Text,{style:[S.Typography.title3,S.Typography.semibold]},h.default.t('TRANSACTION_HISTORY'))),o.props.loadingHistory?p.default.createElement(E.View,{style:{flex:1,justifyContent:'center',alignItems:'center'}},'android'===E.Platform.OS?p.default.createElement(p.default.Fragment,null,p.default.createElement(E.ProgressBarAndroid,null),p.default.createElement(E.Text,null,h.default.t('LOADING_DOTS'))):p.default.createElement(p.default.Fragment,null,p.default.createElement(E.ActivityIndicator,{size:"large",color:'#ccc'}),p.default.createElement(E.Text,null,h.default.t('LOADING_DOTS')))):!(0,C.default)(o.state.user)&&o.renderHistoryTransactionList())},o.state={options:o.props.navigation.state.params.optionSelect.options,title:o.props.navigation.state.params.optionSelect.title,subTitle:o.props.navigation.state.params.optionSelect.subTitle,type:o.props.navigation.state.params.optionSelect.type,wallet:o.props.navigation.state.params.wallet,lottie:o.props.navigation.state.params.lottie,onGoBack:o.props.navigation.state.params.onGoBack,isIdentified:null!==z.store.getState().getUserIdentificationReducer.result&&z.store.getState().getUserIdentificationReducer.result.response.isIdentified,isNanoCredit:o.props.navigation.state.params.hasOwnProperty('isNanoCredit'),isNanoSante:o.props.navigation.state.params.hasOwnProperty('isNanoSante'),isNanoSanteAgent:o.props.navigation.state.params.hasOwnProperty('isNanoSanteAgent'),user:null,displayModalHistory:!1,historyItemDetail:null,isDataHasLoaded:!1},console.log("WALLET OPTION PROPS",o.props),D.IlinkEmitter.on("langueChange",o.updateLangue.bind((0,f.default)(o))),o.props.getNanoCreditAccountReset(),o.props.getNanoCreditUserHistoryReset(),(0,A.readUser)().then(function(t){t&&void 0!==t&&(void 0===t.category?(o.props.getNanoCreditAccountAction(t.id),o.props.getNanoCreditUserHistoryAction(t.id,!0)):'geolocated'===t.category&&o.props.getNanoCreditUserHistoryAction(o.state.wallet.id,!1),o.setState({user:t}))}),o.willFocus=o.props.navigation.addListener('willFocus',function(t){console.log("WIIL FOCUS CALL"),(0,A.readUser)().then(function(t){t&&void 0!==t&&(void 0===t.category?(o.props.getNanoCreditAccountAction(t.id),o.props.getNanoCreditUserHistoryAction(t.id,!0),o.props.getWalletDetailActivated(t.id,null),o.props.getUserIdentificationAction(t.phone),o.props.getWalletTransactionHistoryUser(t.id)):'geolocated'===t.category&&o.props.getNanoCreditUserHistoryAction(o.state.wallet.id,!1)),o.props.fetchGetSubscriptionListReset(),o.props.fetchGetDrugAppareilReset(),o.props.fetchGetUserByNameOrNumberReset(),o.props.fetchGetUserByIdQRCodeReset(),o.props.fetchGetProviderClassReset(),o.props.fetchGetConsultationReset(),o.props.fetchGetNetworkActsReset()})}),o}return(0,y.default)(l,t),(0,s.default)(l,[{key:"renderResultGetNanoCreditAccount",value:function(){var t=this.props.result;console.log("BEFORE",this.props),null!==t&&null!==t.response&&(this.setState({balance_credit:t.response.balance_credit,balance_epargne:t.response.balance_epargne,user:K({},this.state.user,{balance_credit:t.response.balance_credit,balance_epargne:t.response.balance_epargne}),isDataHasLoaded:!0}),console.log("AFTER",this.props))}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:h.default.t('WALLET')}),this.forceUpdate()}},{key:"updateLangue",value:function(){this.props.navigation.setParams({name:h.default.t('WALLET')}),this.forceUpdate()}},{key:"render",value:function(){var t=this;return!this.state.isDataHasLoaded&&this.renderResultGetNanoCreditAccount(),p.default.createElement(_.Provider,null,p.default.createElement(E.View,{style:{flex:1}},p.default.createElement(E.StatusBar,{backgroundColor:V.Color.primaryDarkColor,barStyle:"light-content",translucent:!1}),p.default.createElement(_.Appbar.Header,{dark:!0,style:{backgroundColor:V.Color.primaryColor}},p.default.createElement(_.Appbar.BackAction,{onPress:function(){t.props.navigation.pop()}}),p.default.createElement(_.Appbar.Content,{title:h.default.t(this.state.title),subtitle:h.default.t(this.state.subTitle)})),p.default.createElement(E.ScrollView,{style:$.container,ref:function(l){return t._scrollView=l}},this.state.displayModalHistory&&this.renderModalHistoryDetail(),p.default.createElement(E.View,null,this.state.isNanoCredit?this.renderAccountDetail():this.state.isNanoSante?this.renderNanoSanteAccountDetail():this.state.isNanoSanteAgent?this.renderNanoSanteAgentAccountDetail():p.default.createElement(E.View,{style:{justifyContent:'center',alignItems:'center'}},p.default.createElement(v.default,{style:$.lottie,source:this.state.lottie.source,autoPlay:!0,loop:this.state.lottie.loop}))),this.state.isNanoSante?this.state.options.map(function(l){return p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.checkDefault,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.Text,{style:[S.Typography.title3,S.Typography.semibold]},h.default.t(l.title))),(0,k.default)(l.options,2).map(function(l,o){return p.default.createElement(E.View,{key:o,style:$.transactionContainer},1===l.length?l.map(function(l,o){return t.renderItem(l,!0,o)}):l.map(function(l,o){return t.renderItem(l,!1,o)}))}))}):p.default.createElement(p.default.Fragment,null,p.default.createElement(E.View,{style:[$.checkDefault,{borderBottomColor:V.Color.borderColor}]},p.default.createElement(E.Text,{style:[S.Typography.title3,S.Typography.semibold]},h.default.t('OPERATIONS'))),(0,k.default)(this.state.options,2).map(function(l,o){return p.default.createElement(E.View,{key:o,style:$.transactionContainer},1===l.length?l.map(function(l,o){return t.renderItem(l,!0,o)}):l.map(function(l,o){return t.renderItem(l,!1,o)}))})))))}}]),l})(p.Component);J.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(w.default,{name:'credit-card',size:24})}}};var Z=(0,L.connect)(function(t){return{loading:t.getNanoCreditAccountUserReducer.loading,result:t.getNanoCreditAccountUserReducer.result,error:t.getNanoCreditAccountUserReducer.error,loadingHistory:t.getNanoCreditHistoryUserReducer.loading,resultHistory:t.getNanoCreditHistoryUserReducer.result,errorHistory:t.getNanoCreditHistoryUserReducer.error}},function(t){return(0,G.bindActionCreators)({getNanoCreditAccountAction:N.getNanoCreditAccountAction,getNanoCreditAccountReset:N.getNanoCreditAccountReset,getNanoCreditUserHistoryAction:N.getNanoCreditUserHistoryAction,getNanoCreditUserHistoryReset:N.getNanoCreditUserHistoryReset,fetchGetSubscriptionListReset:Q.fetchGetSubscriptionListReset,fetchGetDrugAppareilReset:Q.fetchGetDrugAppareilReset,fetchGetUserByNameOrNumberReset:Q.fetchGetUserByNameOrNumberReset,fetchGetUserByIdQRCodeReset:Q.fetchGetUserByIdQRCodeReset,fetchGetProviderClassReset:Q.fetchGetProviderClassReset,fetchGetConsultationReset:Q.fetchGetConsultationReset,fetchGetNetworkActsReset:Q.fetchGetNetworkActsReset,getWalletDetailActivated:W.getWalletDetailActivated,getUserIdentificationAction:F.getUserIdentificationAction,getWalletTransactionHistoryUser:j.getWalletTransactionHistoryUser},t)})((0,T.connectActionSheet)(J));e.default=Z;var $=E.StyleSheet.create({container:{flex:1,backgroundColor:V.Color.containerBackgroundColor,paddingHorizontal:20},item:{paddingVertical:15,borderBottomWidth:1,flexDirection:"row",justifyContent:"space-between",alignItems:"center"},lottie:{width:540,height:240},circlePoint:{width:50,height:50,borderRadius:25,marginRight:5,alignItems:'center',justifyContent:'center'},checkDefault:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",borderBottomWidth:1,paddingVertical:10,marginTop:5},transactionContainer:{flexDirection:'row',paddingTop:10},containerTouch:{flex:1,flexDirection:'row',alignItems:'center',shadowColor:V.Color.borderColor,borderColor:V.Color.borderColor,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,borderRadius:10,backgroundColor:V.Color.cardBackgroundColor},contain:{flexDirection:'row',justifyContent:'space-between'},imageBanner:{marginTop:15,marginLeft:5,width:I.scaleWithPixel(30),height:I.scaleWithPixel(30)},content:{height:I.scaleWithPixel(65),paddingHorizontal:10,justifyContent:'space-between',alignItems:'flex-start',flex:1},contentTitle:{paddingTop:12},contentService:{paddingVertical:10,borderBottomWidth:.5,flexDirection:'row',flexWrap:'wrap',justifyContent:'space-between'},blockView:{paddingVertical:10,borderBottomWidth:.5},containField:{padding:10,marginBottom:20,borderWidth:.5,shadowOffset:{width:1.5,height:1.5},shadowOpacity:1,elevation:5,flexDirection:"row",height:140,borderRadius:10},paymentItem:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",borderBottomWidth:1,paddingVertical:5,width:(0,M.responsiveWidth)(100),marginBottom:15},iconContent:{width:60,marginRight:10,alignItems:"center"},contentLeftItem:{flex:1,paddingTop:40,paddingLeft:10,paddingRight:10,alignItems:"center"},tagFollow:{width:150,margin:10}})},1775,[4,1,7,8,9,10,12,11,13,15,18,405,881,719,688,1625,552,1020,1031,772,1199,718,1776,938,883,1079,845,1658,1777,1660,1655,1639,1046,1063,534,1622,1682,1770,1107,1013,538,1779,814,1659]); __d(function(g,r,i,a,m,e,d){var t=r(d[0]);Object.defineProperty(e,"__esModule",{value:!0}),e.getNanoCreditUserHistoryReset=e.getNanoCreditUserHistoryAction=e.getNanoCreditAccountReset=e.getNanoCreditAccountAction=e.casserEpargneUserReset=e.casserEpargneUserAction=e.epargnerArgentUserReset=e.epargnerArgentUserAction=e.refundCreditDemandUserReset=e.refundCreditDemandUserAction=e.getUserGroupDetailReset=e.getUserGroupDetailAction=e.getNanoCreditUniqueDemandsReset=e.getNanoCreditUniqueDemandsAction=e.getNanoCreditDemandsReset=e.getNanoCreditDemandsAction=void 0;var n=t(r(d[1])),o=t(r(d[2])),s=r(d[3]),c=r(d[4]),u=r(d[5]);e.getNanoCreditDemandsAction=function(t){var f=s.store.getState().authKeyReducer,h=null!==f?f.authKey.token_type+" "+f.authKey.access_token:'';return function(s){s((0,c.fetchGetDemandsGroupPending)()),(0,n.default)({url:u.getCreditDemand+"/all/"+t,method:'GET',headers:{Authorization:h,'X-Localization':o.default.currentLocale()}}).then(function(t){console.log(t),s((0,c.fetchGetDemandsGroupSuccess)(t))}).catch(function(t){t.response?s((0,c.fetchGetDemandsGroupError)(t.response)):t.request?s((0,c.fetchGetDemandsGroupError)(t.request)):s((0,c.fetchGetDemandsGroupError)(t.message))})}};e.getNanoCreditDemandsReset=function(){return function(t){t((0,c.fetchGetDemandsGroupReset)())}};e.getNanoCreditUniqueDemandsAction=function(t){var f=s.store.getState().authKeyReducer,h=null!==f&&null!==f.authKey?f.authKey.token_type+" "+f.authKey.access_token:'';return function(s){s((0,c.fetchGetUniqueDemandsGroupPending)()),(0,n.default)({url:u.getCreditDemand+"/"+t,method:'GET',headers:{Authorization:h,'X-Localization':o.default.currentLocale()}}).then(function(t){console.log(t),s((0,c.fetchGetUniqueDemandsGroupSuccess)(t))}).catch(function(t){t.response?s((0,c.fetchGetUniqueDemandsGroupError)(t.response)):t.request?s((0,c.fetchGetUniqueDemandsGroupError)(t.request)):s((0,c.fetchGetUniqueDemandsGroupError)(t.message))})}};e.getNanoCreditUniqueDemandsReset=function(){return function(t){t((0,c.fetchGetUniqueDemandsGroupReset)())}};e.getUserGroupDetailAction=function(t){var f=s.store.getState().authKeyReducer,h=null!==f?f.authKey.token_type+" "+f.authKey.access_token:'';return function(s){s((0,c.fetchGetUserGroupDetailPending)()),(0,n.default)({url:u.groupUrl+"/my/"+t,method:'GET',headers:{Authorization:h,'X-Localization':o.default.currentLocale()}}).then(function(t){console.log(t),s((0,c.fetchGetUserGroupDetailSuccess)(t))}).catch(function(t){t.response?s((0,c.fetchGetUserGroupDetailError)(t.response)):t.request?s((0,c.fetchGetUserGroupDetailError)(t.request)):s((0,c.fetchGetUserGroupDetailError)(t.message))})}};e.getUserGroupDetailReset=function(){return function(t){t((0,c.fetchGetUserGroupDetailReset)())}};e.refundCreditDemandUserAction=function(t){var f=s.store.getState().authKeyReducer,h=null!==f?f.authKey.token_type+" "+f.authKey.access_token:'';return function(s){s((0,c.fetchCautionCreditDemandUserPending)()),(0,n.default)({url:u.refundCreditDemandUrl,method:'POST',data:t,headers:{Authorization:h,'X-Localization':o.default.currentLocale()}}).then(function(t){console.log(t),s((0,c.fetchCautionCreditDemandUserSuccess)(t))}).catch(function(t){t.response?s((0,c.fetchCautionCreditDemandUserError)(t.response)):t.request?s((0,c.fetchCautionCreditDemandUserError)(t.request)):s((0,c.fetchCautionCreditDemandUserError)(t.message))})}};e.refundCreditDemandUserReset=function(){return function(t){t((0,c.fetchCautionCreditDemandUserReset)())}};e.epargnerArgentUserAction=function(t){var f=s.store.getState().authKeyReducer,h=null!==f?f.authKey.token_type+" "+f.authKey.access_token:'';return function(s){s((0,c.fetchEpargnerArgentUserPending)()),(0,n.default)({url:u.epargnerArgentUrl,method:'POST',data:t,headers:{Authorization:h,'X-Localization':o.default.currentLocale()}}).then(function(t){console.log(t),s((0,c.fetchEpargnerArgentUserSuccess)(t))}).catch(function(t){t.response?s((0,c.fetchEpargnerArgentUserError)(t.response)):t.request?s((0,c.fetchEpargnerArgentUserError)(t.request)):s((0,c.fetchEpargnerArgentUserError)(t.message))})}};e.epargnerArgentUserReset=function(){return function(t){t((0,c.fetchEpargnerArgentUserReset)())}};e.casserEpargneUserAction=function(t){var f=s.store.getState().authKeyReducer,h=null!==f?f.authKey.token_type+" "+f.authKey.access_token:'';return function(s){s((0,c.fetchCasserEpargneUserPending)()),(0,n.default)({url:u.casserEpargneUrl,method:'POST',data:t,headers:{Authorization:h,'X-Localization':o.default.currentLocale()}}).then(function(t){console.log(t),s((0,c.fetchCasserEpargneUserSuccess)(t))}).catch(function(t){t.response?s((0,c.fetchCasserEpargneUserError)(t.response)):t.request?s((0,c.fetchCasserEpargneUserError)(t.request)):s((0,c.fetchCasserEpargneUserError)(t.message))})}};e.casserEpargneUserReset=function(){return function(t){t((0,c.fetchCasserEpargneUserReset)())}};e.getNanoCreditAccountAction=function(t){var f=s.store.getState().authKeyReducer,h=null!==f?f.authKey.token_type+" "+f.authKey.access_token:'';return function(s){s((0,c.fetchGetNanoCreditUserAccountPending)()),(0,n.default)({url:u.getNanoCreditAccount+"/"+t,method:'GET',headers:{Authorization:h,'X-Localization':o.default.currentLocale()}}).then(function(t){console.log(t),s((0,c.fetchGetNanoCreditUserAccountSuccess)(t))}).catch(function(t){t.response?s((0,c.fetchGetNanoCreditUserAccountError)(t.response)):t.request?s((0,c.fetchGetNanoCreditUserAccountError)(t.request)):s((0,c.fetchGetNanoCreditUserAccountError)(t.message))})}};e.getNanoCreditAccountReset=function(){return function(t){t((0,c.fetchGetNanoCreditUserAccountReset)())}};e.getNanoCreditUserHistoryAction=function(t,f){var h=s.store.getState().authKeyReducer,l=null!==h?h.authKey.token_type+" "+h.authKey.access_token:'';return function(s){s((0,c.fetchGetNanoCreditUserHistoryPending)()),(0,n.default)({url:(f?u.getNanoCreditUserHistoryUrl:u.getNanoCreditAgentHistoryUrl)+"/"+t,method:'GET',headers:{Authorization:l,'X-Localization':o.default.currentLocale()}}).then(function(t){console.log(t),s((0,c.fetchGetNanoCreditUserHistorySuccess)(t))}).catch(function(t){t.response?s((0,c.fetchGetNanoCreditUserHistoryError)(t.response)):t.request?s((0,c.fetchGetNanoCreditUserHistoryError)(t.request)):s((0,c.fetchGetNanoCreditUserHistoryError)(t.message))})}};e.getNanoCreditUserHistoryReset=function(){return function(t){t((0,c.fetchGetNanoCreditUserHistoryReset)())}}},1776,[1,1081,719,1107,1188,743]); __d(function(g,r,i,a,m,e,d){var n=r(d[0]),t=r(d[1]),o=r(d[2]),u=Math.ceil,f=Math.max;m.exports=function(l,v,c){v=(c?t(l,v,c):void 0===v)?1:f(o(v),0);var h=null==l?0:l.length;if(!h||v<1)return[];for(var x=0,M=0,_=Array(u(h/v));x0?pt(!0):Bt.alertWithType('warn',C.default.t('EMPTY_LIST'),C.default.t('NO_ASSURE_MATCH_SEARCH'))),K.error&&c.Alert.alert(C.default.t("ERROR_LABLE"),U.getErrorMsg(K),[{text:C.default.t("OK"),onPress:function(){Nt((0,_.fetchGetUserByNameOrNumberReset)())}}],{cancelable:!1})},[K]),(0,u.useEffect)(function(){null!==Q.result&&He(!0),Q.error&&c.Alert.alert(C.default.t("ERROR_LABLE"),U.getErrorMsg(Q),[{text:C.default.t("OK"),onPress:function(){Nt((0,_.fetchGetConsultationReset)())}}],{cancelable:!1})},[Q]),(0,u.useEffect)(function(){null!==J.result&&c.Alert.alert(C.default.t("SUCCESS"),J.result.response,[{text:C.default.t("OK"),onPress:function(){Nt((0,_.fetchExecutionPrescriptionReset)()),Z.goBack()}}],{cancelable:!1}),J.error&&c.Alert.alert(C.default.t("ERROR_LABLE"),U.getErrorMsg(J),[{text:C.default.t("OK"),onPress:function(){Nt((0,_.fetchExecutionPrescriptionReset)())}}],{cancelable:!1})},[J]);var Pt=E.object().shape({numero_assure:E.string().required(C.default.t('THIS_FIELD_IS_REQUIRED')),password:E.string().required(C.default.t('THIS_FIELD_IS_REQUIRED')),practitioner_lastname:E.string().required(C.default.t('THIS_FIELD_IS_REQUIRED')),practitioner_firstname:E.string().required(C.default.t('THIS_FIELD_IS_REQUIRED'))}),At=E.object().shape({price:E.number().required(C.default.t('THIS_FIELD_IS_REQUIRED'))});console.log("consultaiton",Ke);var Lt,kt,Mt,Ut,Ft=(0,p.useFormik)({validationSchema:Pt,initialValues:{numero_assure:'',password:'',firstname_patient:'',lastname_patient:'',practitioner_firstname:'',practitioner_lastname:'',agrement_praticien:null==Ee?void 0:Ee.code_membre,pregnancy_start_at:null,pregnancy_end_at:null},onSubmit:function(t){z({health_care_sheet_id:Ke.id,network_agent_id:re.network_agent_id,password:t.password,practitioner_lastname:t.practitioner_lastname,practitioner_firstname:t.practitioner_firstname,practitioner_provider_class_id:t.practitioner_provider_class_id,prescriptions:Ke.prescriptions.filter(function(t){return t.checked}).map(function(t){return{id:t.id,unit_price:t.unit_price}}),exams:Ke.exams.filter(function(t){return t.checked}).map(function(t){return{id:t.id,unit_price:t.unit_price}})})}}),Gt=Ft.handleChange,jt=Ft.handleSubmit,zt=Ft.handleBlur,Ht=Ft.values,Yt=Ft.errors,Qt=Ft.touched,Kt=Ft.setFieldValue,Wt=Ft.setFieldTouched,qt=(Ft.isValid,function(){switch(console.log("currentStep",Ue),Ue){case 0:return console.log("values",Ht),Nt((0,_.fetchGetUserByNameOrNumberReset)()),''!==Ht.numero_assure&&null===K.result&&(n(re.id_network,ie?"&insured_id="+Ht.numero_assure:se?"&phone="+Ht.numero_assure:"&name="+Ht.numero_assure),console.log("errors",Yt)),!1;default:return!0}}),Xt=[{title:C.default.t('ASSURE'),content:u.default.createElement(c.View,null,u.default.createElement(x.default,{style:{marginTop:10},placeholder:ie?C.default.t('NUMERO_ASSURE'):se?C.default.t('PHONE_NUMBER'):C.default.t('NOM_ASSURE'),value:Ht.numero_assure,keyboardType:se?'numeric':'default',onChangeText:Gt('numero_assure'),onBlur:zt('numero_assure'),success:Qt.numero_assure&&!Yt.numero_assure,touched:Qt.numero_assure,error:Yt.numero_assure,icon:u.default.createElement(D.default,{style:{zIndex:10},name:ie?'lock':se?'phone':'user',size:20})}),u.default.createElement(c.View,{style:{flexDirection:'row',position:'absolute',top:22,right:50,justifyContent:'space-between',width:50}},u.default.createElement(v.default,{style:{paddingRight:5},name:"lock",size:20,color:y.Color.primaryColor,onPress:function(){ue(!0),fe(!1)}}),u.default.createElement(v.default,{style:{paddingRight:5},name:"phone",size:20,color:y.Color.primaryColor,onPress:function(){ue(!1),fe(!0)}}),u.default.createElement(v.default,{style:{paddingRight:5},name:"user",size:20,color:y.Color.primaryColor,onPress:function(){ue(!1),fe(!1)}}),u.default.createElement(v.default,{style:{paddingRight:5},name:"qrcode",size:20,color:y.Color.primaryColor,onPress:function(){le(!0)}})))},{title:C.default.t('PATIENT'),content:u.default.createElement(c.View,null,u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('NOM_CLIENT'),value:Ht.lastname_patient,onChangeText:Gt('lastname_patient'),onBlur:zt('lastname_patient'),success:Qt.lastname_patient&&!Yt.lastname_patient,touched:Qt.lastname_patient,editable:!1,error:Yt.lastname_patient}),u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('PRENOM_CLIENT'),value:Ht.firstname_patient,editable:!1,onChangeText:Gt('firstname_patient'),onBlur:zt('firstname_patient'),success:Qt.firstname_patient&&!Yt.firstname_patient,touched:Qt.firstname_patient,error:Yt.firstname_patient}),u.default.createElement(c.View,{style:{marginTop:10,flexDirection:'row',justifyContent:"space-between"}},u.default.createElement(N.default,{body2:!0},C.default.t('SITUATION')),u.default.createElement(c.View,{style:{width:(0,b.responsiveWidth)(60)}},u.default.createElement(B.default,{options:It,disabled:!0,value:Ot,initial:Ot,buttonColor:y.Color.accentColor,backgroundColor:y.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){}}))))},{title:C.default.t('PRATICIEN'),content:u.default.createElement(c.View,null,u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('CODE_AGREMENT'),value:Ht.agrement_praticien,editable:!1}),u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('NOM_PRATICIEN'),value:Ht.practitioner_lastname,onChangeText:Gt('practitioner_lastname'),onBlur:zt('practitioner_lastname'),success:Qt.practitioner_lastname&&!Yt.practitioner_lastname,touched:Qt.practitioner_lastname,error:Yt.practitioner_lastname}),u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('PRENOM_PRATICIEN'),value:Ht.practitioner_firstname,onChangeText:Gt('practitioner_firstname'),onBlur:zt('practitioner_firstname'),success:Qt.practitioner_firstname&&!Yt.practitioner_firstname,touched:Qt.practitioner_firstname,error:Yt.practitioner_firstname}),u.default.createElement(P.View,{ref:function(t){},style:{width:(0,b.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},u.default.createElement(A.Dropdown,{label:C.default.t('CLASSIFICATION'),data:null!==X.result?null==(l=X.result)?void 0:l.response:[],useNativeDriver:!0,onChangeText:function(t,l,n){Wt('practitioner_provider_class_id'),Kt('practitioner_provider_class_id',t.id),console.log("Value",t)},valueExtractor:function(t){return t},labelExtractor:function(t){return t.name}})),u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('PASSWORD'),value:Ht.password,onChangeText:Gt('password'),onBlur:zt('password'),success:Qt.password&&!Yt.password,touched:Qt.password,error:Yt.password,secureTextEntry:!0}),u.default.createElement(c.View,{style:{marginTop:25}},u.default.createElement(c.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'}},null!==Ke?!Ke.prescriptions.filter(function(t){return t.checked}).length>0?u.default.createElement(c.TouchableOpacity,{style:[q.iconNavigationButton,{borderRadius:5,width:100,height:30,flexDirection:"row",backgroundColor:y.Color.primaryColor,borderColor:y.Color.primaryColor}],onPress:function(t){Ke.prescriptions.filter(function(t){return t.checked}).length>0?(0,U.displayToast)("Vous avez deja renseigner les m\xe9dicaments"):ot(!0)}},u.default.createElement(N.default,{whiteColor:!0},C.default.t('EXAMEN')),u.default.createElement(v.default,{name:"file-medical",size:20,color:y.Color.whiteColor})):u.default.createElement(c.View,null):null,null!==Ke?!Ke.exams.filter(function(t){return t.checked}).length>0?u.default.createElement(c.TouchableOpacity,{style:[q.iconNavigationButton,{borderRadius:5,width:110,height:30,flexDirection:"row",backgroundColor:y.Color.primaryColor,borderColor:y.Color.primaryColor}],onPress:function(t){Ke.exams.filter(function(t){return t.checked}).length>0?(0,U.displayToast)("Vous avez deja renseigner les examens"):Ct(!0)}},u.default.createElement(N.default,{whiteColor:!0},C.default.t('MEDICAMENT')),u.default.createElement(G.default,{name:"drug-pack",size:20,color:y.Color.whiteColor})):u.default.createElement(c.View,null):null)))}];return u.default.createElement(h.ScreenComponent,null,u.default.createElement(S.default,{ref:function(t){return Bt=t}}),u.default.createElement(c.KeyboardAvoidingView,{behavior:'android'===c.Platform.OS?'height':'padding',style:{flex:1}},u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:q.contain},u.default.createElement(R.default,{steps:Xt,currentStepIndex:Ue+1}),u.default.createElement(c.View,{style:{flexDirection:'column',alignItems:'center'}},u.default.createElement(O.default,{ref:Oe,activeStep:0,steps:Xt,useNativeDriver:!0,nextStepAnimation:"slideLeft",prevStepAnimation:"slideRight",isFirstStep:function(t){return Be(t)},isLastStep:function(t){return Le(t)},onNext:function(){qt()},onPrev:function(){0===Ue&&Nt((0,_.fetchGetUserByNameOrNumberReset)())},currentStep:function(t){var l=t.currentStep,n=t.isLastStep,o=t.isFirstStep;Fe(l),Be(o),Le(n)}})),u.default.createElement(c.View,{style:q.iconNavigation},Ne?u.default.createElement(c.View,null):u.default.createElement(c.TouchableOpacity,{style:[q.iconNavigationButton,{backgroundColor:y.Color.primaryColor,borderColor:y.Color.primaryColor}],onPress:function(){return Oe.current.prev()}},u.default.createElement(v.default,{name:"arrow-left",size:20,color:y.Color.whiteColor})),2===Ue?u.default.createElement(w.default,{loading:J.loading,onPress:jt},C.default.t('SUBMIT_LABEL')):u.default.createElement(c.TouchableOpacity,{style:[q.iconNavigationButton,{backgroundColor:y.Color.primaryColor,borderColor:y.Color.primaryColor}],onPress:function(t){jt(t),qt()&&Oe.current.next()}},K.loading||W.loading||Q.loading?u.default.createElement(c.ActivityIndicator,{size:"small",color:"#fff"}):u.default.createElement(v.default,{name:"arrow-right",size:24,color:y.Color.whiteColor}))),nt&&u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:[q.containModal,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(L.default,{isVisible:nt,onSwipeComplete:function(){ot(!1)},swipeDirection:['down'],style:q.bottomModal},u.default.createElement(c.View,{style:[q.contentFilterBottom,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(c.View,{style:q.contentSwipeDown},u.default.createElement(c.View,{style:q.lineSwipeDown})),u.default.createElement(N.default,{body2:!0,style:{marginTop:10}},C.default.t('EXAMEN')),u.default.createElement(c.FlatList,{data:Ke.exams,extraData:Ke.exams,keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,u.default.createElement(c.TouchableOpacity,{style:[q.contentActionModalBottom,{borderBottomColor:y.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){Re(H({},l,{examen:!0})),We(H({},Ke,{exams:Ke.exams.map(function(t){return l.id===t.id?H({},t,{checked:!l.checked}):t})})),l.checked||ct(!0)}},u.default.createElement(N.default,{body2:!0,semibold:!0,numberOfLines:2},l.quantity+" "+l.description+" "+(l.unit_price?' - '+l.unit_price:'')+" \n "+l.act.name),l.checked&&u.default.createElement(v.default,{name:"check",size:14,color:y.Color.primaryColor}))}}),u.default.createElement(w.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return ot(!1)}},C.default.t('OK')))))),te&&u.default.createElement(f.default.Container,{contentStyle:{width:(0,b.responsiveWidth)(80)},useNativeDriver:!0,visible:te},u.default.createElement(f.default.Title,null,C.default.t('SCAN')),u.default.createElement(c.ScrollView,{style:[q.blockView,{borderBottomColor:y.Color.borderColor,maxHeight:300}]},u.default.createElement(N.default,null,C.default.t('BRING_YOUR_CAMERA_CLOSER_TO_SCAN_QR_CODE')),u.default.createElement(k.default,{onRead:function(t){le(!1),console.log("result",t.data)},flashMode:M.RNCamera.Constants.FlashMode.off})),u.default.createElement(f.default.Button,{bold:!0,label:C.default.t('CLOSE'),onPress:function(){le(!1)}})),mt&&u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:[q.containModal,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(L.default,{isVisible:mt,onSwipeComplete:function(){pt(!1)},swipeDirection:['down'],style:q.bottomModal},u.default.createElement(c.View,{style:[q.contentFilterBottom,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(c.View,{style:q.contentSwipeDown},u.default.createElement(c.View,{style:q.lineSwipeDown})),u.default.createElement(N.default,{body2:!0,style:{marginTop:10}},C.default.t('LIST_ASSURE')),u.default.createElement(c.FlatList,{data:null==(Mt=K.result)?void 0:Mt.response,extraData:null==(Ut=K.result)?void 0:Ut.response,ListEmptyComponent:u.default.createElement(N.default,{body2:!0},C.default.t('NO_ASSURE_MATCH_SEARCH')),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,u.default.createElement(c.View,{style:{paddingVertical:15,alignItems:'flex-start'}},u.default.createElement(c.TouchableOpacity,{style:[q.contentActionModalBottom,{borderBottomColor:y.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){'PAID'!==l.state?c.Alert.alert(C.default.t('ERROR_LABEL'),C.default.t('ASSURE_NON_EN_REGLE'),[{text:C.default.t('OK'),onPress:function(){}}]):(he(l),_e(null),vt(1),pt(!1),Kt('lastname_patient',l.user.lastname),Kt('firstname_patient',l.user.firstname),V(l.user.id,'TO_BILL','CONSULTATION'))}},u.default.createElement(N.default,{body2:!0,semibold:!0},(null!==l.user.firstname?l.user.firstname:'')+" "+(null!==l.user.lastname?l.user.lastname:''))),l.beneficiaries.map(function(t){return u.default.createElement(c.TouchableOpacity,{style:q.beneficiarySubSection,onPress:function(){he(l),_e(t),vt(0),pt(!1),Kt('lastname_patient',t.lastname),Kt('firstname_patient',t.firstname),V(l.user.id,'TO_BILL','CONSULTATION',"&beneficiary_id="+t.id)}},u.default.createElement(c.View,{style:{width:10}}),u.default.createElement(c.View,{style:{paddingHorizontal:10,alignItems:'flex-start'}},u.default.createElement(N.default,{subhead:!0,semibold:!0},(null!==t.firstname?t.firstname:'')+" "+(null!==t.lastname?t.lastname:'')+" ("+C.default.t('AYANT_DROITS')+")")))}))}}),u.default.createElement(w.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return pt(!1)}},C.default.t('OK')))))),gt&&u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:[q.containModal,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(L.default,{isVisible:gt,onSwipeComplete:function(){Ct(!1)},swipeDirection:['down'],style:q.bottomModal},u.default.createElement(c.View,{style:[q.contentFilterBottom,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(c.View,{style:q.contentSwipeDown},u.default.createElement(c.View,{style:q.lineSwipeDown})),u.default.createElement(N.default,{body2:!0,style:{marginTop:10}},C.default.t('MEDICAMENTS')),u.default.createElement(c.FlatList,{data:Ke.prescriptions,extraData:Ke.prescriptions,keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,u.default.createElement(c.TouchableOpacity,{style:[q.contentActionModalBottom,{borderBottomColor:y.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){Re(H({},l,{drugs:!0})),We(H({},Ke,{prescriptions:Ke.prescriptions.map(function(t){return l.id===t.id?H({},t,{checked:!l.checked}):t})})),l.checked||ct(!0)}},u.default.createElement(N.default,{body2:!0,semibold:!0,numberOfLines:2},l.quantity+" "+l.drug_or_device.name+" "+(l.unit_price?' - '+l.unit_price:'')+" \n "+l.dosage),l.checked&&u.default.createElement(v.default,{name:"check",size:14,color:y.Color.primaryColor}))}}),u.default.createElement(w.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return Ct(!1)}},C.default.t('OK')))))),ze&&u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:[q.containModal,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(L.default,{isVisible:ze,onSwipeComplete:function(){He(!1)},swipeDirection:['down'],style:q.bottomModal},u.default.createElement(c.View,{style:[q.contentFilterBottom,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(c.View,{style:q.contentSwipeDown},u.default.createElement(c.View,{style:q.lineSwipeDown})),u.default.createElement(N.default,{body2:!0,style:{marginTop:10}},C.default.t('LIST_CONSULTATION')),u.default.createElement(c.FlatList,{data:null==(Lt=Q.result)?void 0:Lt.response,extraData:null==(kt=Q.result)?void 0:kt.response,ListEmptyComponent:u.default.createElement(N.default,{body2:!0},C.default.t('NO_CONSULTATION')),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,u.default.createElement(c.TouchableOpacity,{style:[q.contentActionModalBottom,{borderBottomColor:y.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){lt(l),Ze(!0)}},u.default.createElement(N.default,{body2:!0,semibold:!0},l.type+" #"+l.health_care_sheet_id+" - "+Y(l.created_at).format('YYYY-MM-DD')))}}),u.default.createElement(w.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return He(!1)}},C.default.t('OK')))))),Je&&u.default.createElement(f.default.Container,{useNativeDriver:!0,visible:Je},u.default.createElement(f.default.Title,null,C.default.t('DETAIL')),u.default.createElement(c.ScrollView,{persistentScrollbar:!0},u.default.createElement(c.View,{style:[q.blockView,{borderBottomColor:y.Color.borderColor}]},u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},C.default.t('PATIENT'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},tt.patient_lastname+" "+tt.patient_firstname))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},"Situation")),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},tt.patient_situation.toLowerCase()))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},C.default.t('PRATICIEN'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},tt.practitioner_lastname+" "+tt.practitioner_firstname))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},C.default.t('CLASSE_PRESTATAIRE'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},(0,U.uppercaseFirstLetter)(tt.practitioner_provider_class.toLowerCase())))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},C.default.t('STATE'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},(0,U.uppercaseFirstLetter)(tt.state.toLowerCase())))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},"Type")),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},(0,U.uppercaseFirstLetter)(tt.type.toLowerCase())))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},C.default.t('CONDITION_PRISE_CHARGE'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},(0,U.uppercaseFirstLetter)(tt.care_condition.toLowerCase())))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},C.default.t('INSTITUTE_NAME'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},(0,U.uppercaseFirstLetter)(tt.institution_name.toLowerCase())))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},"Date")),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},Y(tt.created_at).format('YYYY-MM-DD')))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},C.default.t('PRESTATION'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},tt.performances.map(function(t){return u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},t.act.name+" \n "+t.amount+" \n")}))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},C.default.t('EXAMEN'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},tt.exams.map(function(t){return u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},t.description+" \n "+t.act.name+" \n")}))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(N.default,{style:[q.body2]},C.default.t('MEDICAMENT'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},tt.prescriptions.map(function(t){return u.default.createElement(N.default,{style:[j.Typography.caption1,y.Color.grayColor]},t.drug_or_device.name+" \n "+t.dosage+" \n")}))))),u.default.createElement(f.default.Button,{bold:!0,label:C.default.t('CANCEL_LABEL'),onPress:function(){Ze(!1)}}),u.default.createElement(f.default.Button,{bold:!0,label:C.default.t('OK'),onPress:function(){Ze(!1),pt(!1),He(!1),We(tt),Oe.current.next()}})),dt&&u.default.createElement(p.Formik,{validationSchema:At,initialValues:{price:''},onSubmit:function(t){console.log("Value",Ve),Ve.examen?We(H({},Ke,{exams:Ke.exams.map(function(l){return Ve.id===l.id?H({},l,{unit_price:t.price}):l})})):We(H({},Ke,{prescriptions:Ke.prescriptions.map(function(l){return Ve.id===l.id?H({},l,{unit_price:t.price}):l})})),ct(!1)}},function(t){var l=t.values,n=t.errors,o=t.touched,s=t.handleChange,f=(t.setFieldValue,t.setFieldTouched,t.handleBlur),p=t.handleSubmit;return t.isSubmitting,u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:[q.containModal,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(L.default,{isVisible:dt,onSwipeComplete:function(){ct(!1)},swipeDirection:['down'],style:q.bottomModal},u.default.createElement(c.View,{style:[q.contentFilterBottom,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(c.View,{style:q.contentSwipeDown},u.default.createElement(c.View,{style:q.lineSwipeDown})),u.default.createElement(N.default,{body2:!0,style:{marginTop:10}},C.default.t('AMOUNT_LABEL')),u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('AMOUNT_LABEL_DESCRIPTION'),value:l.price,onChangeText:s('price'),onBlur:f('price'),success:o.price&&!n.price,touched:o.price,error:n.price,keyboardType:"numeric"}),u.default.createElement(w.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:p},C.default.t('OK'))))))})))))});e.default=J},2200,[4,1,7,27,15,18,1046,1639,1827,1950,1031,719,2147,2162,534,1779,2164,718,2158,2180,2182,2186,2187,1013,538,2157,771,749,979,1823,2188,2194,1658,1107,1032,1079,1189]); -__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])),o=l(r(d[3])),u=l(r(d[4])),c=t(r(d[5])),s=r(d[6]),f=r(d[7]),p=l(r(d[8])),E=l(r(d[9])),_=r(d[10]),y=t(r(d[11])),C=r(d[12]),h=l(r(d[13])),w=r(d[14]),b=l(r(d[15])),S=r(d[16]),T=r(d[17]),I=l(r(d[18])),D=r(d[19]),x=l(r(d[20])),R=r(d[21]),v=l(r(d[22])),O=l(r(d[23])),V=l(r(d[24])),A=l(r(d[25])),N=l(r(d[26])),B=l(r(d[27])),M=t(r(d[28])),P=r(d[29]),k=l(r(d[30])),L=l(r(d[31])),U=r(d[32]),F=t(r(d[33])),Y=r(d[34]),q=r(d[35]),G=l(r(d[36])),H=r(d[37]),j=l(r(d[38])),Q=l(r(d[39]));function z(t,l){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);l&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,o)}return n}function K(t){for(var l=1;l0?ha(!0):Sl.alertWithType('warn',h.default.t('EMPTY_LIST'),h.default.t('NO_ASSURE_MATCH_SEARCH'))),ee.error&&s.Alert.alert(h.default.t("ERROR_LABLE"),F.getErrorMsg(ee),[{text:h.default.t("OK"),onPress:function(){bl((0,T.fetchGetUserByNameOrNumberReset)())}}],{cancelable:!1})},[ee]),(0,c.useEffect)(function(){null!==J.result&&Qt(!0),J.error&&s.Alert.alert(h.default.t("ERROR_LABLE"),F.getErrorMsg(J),[{text:h.default.t("OK"),onPress:function(){bl((0,T.fetchGetConsultationReset)())}}],{cancelable:!1})},[J]),(0,c.useEffect)(function(){null!==ie.result&&s.Alert.alert(h.default.t("SUCCESS"),ie.result.response,[{text:h.default.t("OK"),onPress:function(){bl((0,T.fetchModifyPrescriptionReset)()),ue.goBack()}}],{cancelable:!1}),ie.error&&s.Alert.alert(h.default.t("ERROR_LABLE"),F.getErrorMsg(ie),[{text:h.default.t("OK"),onPress:function(){bl((0,T.fetchModifyPrescriptionReset)())}}],{cancelable:!1})},[ie]);var Il=y.object().shape({numero_assure:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),password:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),practitioner_lastname:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),practitioner_firstname:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),Dl=y.object().shape({price:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),xl=y.object().shape({amount_prestation:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED')),code_acte:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED')),frais_deplacement:y.number(),date_prestation:y.date(),ticker_moderateur:y.number()}),Rl=y.object().shape({amount_prestation:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED')),date_prestation:y.date()}),vl=(y.object().shape({examen_name:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),code_acte:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED')),examen_quantite:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),y.object().shape({examen_name:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),examen_quantite:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED'))})),Ol=y.object().shape({drug_name:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),drug_quantity:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED')),drug_posologie:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),Vl=(y.object().shape({code:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),name:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),type:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),function(t,l){var n=l||new Date;ge('ios'===s.Platform.OS),he(W(n).format('YYYY-MM-DD')),Ql('accident_date',W(n).format('YYYY-MM-DD'))}),Al=function(t,l){var n=l||new Date;nt('ios'===s.Platform.OS),Qe(W(n).format('YYYY-MM-DD')),Ql('pregnancy_start_at',W(n).format('YYYY-MM-DD'))},Nl=function(t,l){var n=l||new Date;ut('ios'===s.Platform.OS),Xe(W(n).format('YYYY-MM-DD')),Ql('pregnancy_end_at',W(n).format('YYYY-MM-DD'))};console.log("consultaiton",Wt);var Bl,Ml,Pl,kl,Ll,Ul=(0,_.useFormik)({validationSchema:Il,initialValues:{numero_assure:'',password:'',firstname_patient:'',lastname_patient:'',practitioner_firstname:'',practitioner_lastname:'',agrement_praticien:null==Et?void 0:Et.code_membre,pregnancy_start_at:null,pregnancy_end_at:null,accident_date:null},onSubmit:function(t){X(Wt.id,{network_agent_id:De.network_agent_id,password:t.password,practitioner_lastname:t.practitioner_lastname,practitioner_firstname:t.practitioner_firstname,practitioner_provider_class_id:t.practitioner_provider_class_id,care_condition:t.care_condition,accident_date:t.accident_date,pregnancy_start_at:t.pregnancy_start_at,pregnancy_end_at:t.pregnancy_end_at,performances:Wt.performances,prescriptions:Wt.prescriptions,exams:Wt.exams})}}),Fl=Ul.handleChange,Yl=Ul.handleSubmit,ql=Ul.handleBlur,Gl=Ul.values,Hl=Ul.errors,jl=Ul.touched,Ql=Ul.setFieldValue,zl=Ul.setFieldTouched,Kl=(Ul.isValid,function(){switch(console.log("currentStep",Yt),Yt){case 0:return console.log("values",Gl),''!==Gl.numero_assure&&null===ee.result&&(bl((0,T.fetchGetUserByNameOrNumberReset)()),o(De.id_network,ve?"&insured_id="+Gl.numero_assure:Ne?"&phone="+Gl.numero_assure:"&name="+Gl.numero_assure),console.log("errors",Hl)),!1;default:return!0}}),Wl=[{title:h.default.t('ASSURE'),content:c.default.createElement(s.View,null,c.default.createElement(x.default,{style:{marginTop:10},placeholder:ve?h.default.t('NUMERO_ASSURE'):Ne?h.default.t('PHONE_NUMBER'):h.default.t('NOM_ASSURE'),value:Gl.numero_assure,keyboardType:Ne?'numeric':'default',onChangeText:Fl('numero_assure'),onBlur:ql('numero_assure'),success:jl.numero_assure&&!Hl.numero_assure,touched:jl.numero_assure,error:Hl.numero_assure,icon:c.default.createElement(A.default,{style:{zIndex:10},name:ve?'lock':Ne?'phone':'user',size:20})}),c.default.createElement(s.View,{style:{flexDirection:'row',position:'absolute',top:22,right:50,justifyContent:'space-between',width:50}},c.default.createElement(V.default,{style:{paddingRight:5},name:"lock",size:20,color:C.Color.primaryColor,onPress:function(){Oe(!0),Be(!1)}}),c.default.createElement(V.default,{style:{paddingRight:5},name:"phone",size:20,color:C.Color.primaryColor,onPress:function(){Oe(!1),Be(!0)}}),c.default.createElement(V.default,{style:{paddingRight:5},name:"user",size:20,color:C.Color.primaryColor,onPress:function(){Oe(!1),Be(!1)}}),c.default.createElement(V.default,{style:{paddingRight:5},name:"qrcode",size:20,color:C.Color.primaryColor,onPress:function(){fe(!0)}})))},{title:h.default.t('PATIENT'),content:c.default.createElement(s.View,null,c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('NOM_CLIENT'),value:Gl.lastname_patient,onChangeText:Fl('lastname_patient'),onBlur:ql('lastname_patient'),success:jl.lastname_patient&&!Hl.lastname_patient,touched:jl.lastname_patient,editable:!1,error:Hl.lastname_patient}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('PRENOM_CLIENT'),value:Gl.firstname_patient,editable:!1,onChangeText:Fl('firstname_patient'),onBlur:ql('firstname_patient'),success:jl.firstname_patient&&!Hl.firstname_patient,touched:jl.firstname_patient,error:Hl.firstname_patient}),c.default.createElement(s.View,{style:{marginTop:10,flexDirection:'row',justifyContent:"space-between"}},c.default.createElement(N.default,{body2:!0},h.default.t('SITUATION')),c.default.createElement(s.View,{style:{width:(0,S.responsiveWidth)(60)}},c.default.createElement(B.default,{options:nl,disabled:!0,value:il,initial:il,buttonColor:C.Color.accentColor,backgroundColor:C.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){}}))))},{title:h.default.t('PRATICIEN'),content:c.default.createElement(s.View,null,c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('CODE_AGREMENT'),value:Gl.agrement_praticien,editable:!1}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('NOM_PRATICIEN'),value:Gl.practitioner_lastname,onChangeText:Fl('practitioner_lastname'),onBlur:ql('practitioner_lastname'),success:jl.practitioner_lastname&&!Hl.practitioner_lastname,touched:jl.practitioner_lastname,error:Hl.practitioner_lastname}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('PRENOM_PRATICIEN'),value:Gl.practitioner_firstname,onChangeText:Fl('practitioner_firstname'),onBlur:ql('practitioner_firstname'),success:jl.practitioner_firstname&&!Hl.practitioner_firstname,touched:jl.practitioner_firstname,error:Hl.practitioner_firstname}),c.default.createElement(M.View,{ref:function(t){},style:{width:(0,S.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},c.default.createElement(P.Dropdown,{label:h.default.t('CLASSIFICATION'),value:null!==la?la.practitioner_provider_class:'',data:null!==ae.result?null==(l=ae.result)?void 0:l.response:[],useNativeDriver:!0,onChangeText:function(t,l,n){zl('practitioner_provider_class_id'),Ql('practitioner_provider_class_id',t.id),console.log("Value",t)},valueExtractor:function(t){return t},labelExtractor:function(t){return t.name}})),c.default.createElement(M.View,{ref:function(t){},style:{width:(0,S.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},c.default.createElement(P.Dropdown,{label:h.default.t('CONDITION_PRISE_CHARGE'),value:null!==la?la.care_condition:'',data:hl,useNativeDriver:!0,onChangeText:function(t,l,n){console.log("Value",t),ft(t),zl('care_condition'),Ql('care_condition',t)},valueExtractor:function(t){return t.value},labelExtractor:function(t){return t.label}})),c.default.createElement(s.View,{style:{marginTop:10,flexDirection:'row',justifyContent:"space-between"}},c.default.createElement(N.default,{body2:!0},h.default.t('ACCIDENT')),c.default.createElement(s.View,{style:{width:(0,S.responsiveWidth)(40)}},c.default.createElement(B.default,{options:cl,initial:null!==la&&null!==la.accident_date?0:1,buttonColor:C.Color.accentColor,backgroundColor:C.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){console.log(t),Te('YES'===t)}}))),Se&&c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('DATE_ACCIDENT'),value:null!==Ce?Ce:'',onChangeText:Fl('date_accident'),onBlur:ql('date_accident'),onFocus:function(){Keyboard.dismiss(),ge(!0)},success:jl.date_accident&&!Hl.date_accident,touched:jl.date_accident,error:Hl.date_accident}),c.default.createElement(s.View,{style:{marginTop:10,flexDirection:'row',justifyContent:"space-between"}},c.default.createElement(N.default,{body2:!0},h.default.t('GROSSESSE')),c.default.createElement(s.View,{style:$.contentSwitch},c.default.createElement(B.default,{options:fl,initial:null!==la&&null!==la.pregnancy_start_at?0:1,buttonColor:C.Color.accentColor,backgroundColor:C.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){et('YES'===t)}}))),$e&&c.default.createElement(c.default.Fragment,null,c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('DATE_DEBUT_GROSSESSE'),value:null!==je?je:'',onChangeText:Fl('date_debut_grossesse'),onBlur:ql('date_debut_grossesse'),onFocus:function(){Keyboard.dismiss(),nt(!0)},success:jl.date_debut_grossesse&&!Hl.date_debut_grossesse,touched:jl.date_debut_grossesse,error:Hl.date_debut_grossesse}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('DATE_FIN_GROSSESSE'),value:null!==We?We:'',onChangeText:Fl('date_fin_grossesse'),onBlur:ql('date_fin_grossesse'),onFocus:function(){Keyboard.dismiss(),ut(!0)},success:jl.date_fin_grossesse&&!Hl.date_fin_grossesse,touched:jl.date_fin_grossesse,error:Hl.date_fin_grossesse})),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('PASSWORD'),value:Gl.password,onChangeText:Fl('password'),onBlur:ql('password'),success:jl.password&&!Hl.password,touched:jl.password,error:Hl.password,secureTextEntry:!0}),c.default.createElement(s.View,{style:{marginTop:25}},c.default.createElement(s.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'}},c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{borderRadius:5,width:100,height:30,flexDirection:"row",backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor}],onPress:function(t){fa(!0)}},c.default.createElement(N.default,{whiteColor:!0},h.default.t('PRESTATION')),c.default.createElement(j.default,{name:"medical-bag",size:20,color:C.Color.whiteColor})),c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{borderRadius:5,width:100,height:30,flexDirection:"row",backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor}],onPress:function(t){ua(!0)}},c.default.createElement(N.default,{whiteColor:!0},h.default.t('EXAMEN')),c.default.createElement(V.default,{name:"file-medical",size:20,color:C.Color.whiteColor})),c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{borderRadius:5,width:110,height:30,flexDirection:"row",backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor}],onPress:function(t){Ta(!0),Dt(null)}},c.default.createElement(N.default,{whiteColor:!0},h.default.t('MEDICAMENT')),c.default.createElement(Q.default,{name:"drug-pack",size:20,color:C.Color.whiteColor})))))}];return c.default.createElement(w.ScreenComponent,null,c.default.createElement(I.default,{ref:function(t){return Sl=t}}),c.default.createElement(s.KeyboardAvoidingView,{behavior:'android'===s.Platform.OS?'height':'padding',style:{flex:1}},c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:$.contain},c.default.createElement(v.default,{steps:Wl,currentStepIndex:Yt+1}),c.default.createElement(s.View,{style:{flexDirection:'column',alignItems:'center'}},c.default.createElement(O.default,{ref:Vt,activeStep:0,steps:Wl,useNativeDriver:!0,nextStepAnimation:"slideLeft",prevStepAnimation:"slideRight",isFirstStep:function(t){return Mt(t)},isLastStep:function(t){return Lt(t)},onNext:function(){Kl()},onPrev:function(){0===Yt&&bl((0,T.fetchGetUserByNameOrNumberReset)())},currentStep:function(t){var l=t.currentStep,n=t.isLastStep,o=t.isFirstStep;qt(l),Mt(o),Lt(n)}})),c.default.createElement(s.View,{style:$.iconNavigation},Bt?c.default.createElement(s.View,null):c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor}],onPress:function(){return Vt.current.prev()}},c.default.createElement(V.default,{name:"arrow-left",size:20,color:C.Color.whiteColor})),2===Yt?c.default.createElement(b.default,{loading:oe.loading,onPress:Yl},h.default.t('SUBMIT_LABEL')):c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor}],onPress:function(t){Yl(t),Kl()&&Vt.current.next()}},ee.loading||te.loading||J.loading?c.default.createElement(s.ActivityIndicator,{size:"small",color:"#fff"}):c.default.createElement(V.default,{name:"arrow-right",size:24,color:C.Color.whiteColor}))),xa&&(Ll=null!==vt&&null===vt.drugs?E.default.parseInt(vt.amount):'',console.log("AMOUNT",Ll),c.default.createElement(_.Formik,{validationSchema:Rl,initialValues:{amount_prestation:''+vt!==null&&null===vt.drugs?vt.amount:'',frais_deplacement:null!==vt&&null===vt.drugs?vt.home_visit_fees:'',code_acte:null!==vt&&null===vt.drugs?vt.act:'',insurance_amount:''+vt!==null&&null===vt.drugs?vt.insurance_amount:'',moderator_ticket:''+vt!==null&&null===vt.drugs?vt.moderator_ticket:''},onSubmit:function(t){console.log("values",t),Xt(K({},Wt,{performances:Wt.performances.map(function(l){return vt.id===l.id?K({},l,{act_id:t.code_acte.id,act:t.code_acte,amount:t.amount_prestation,home_visit_fees:t.frais_deplacement,to_delete:!1}):l})})),Ra(!1)}},function(t){var l,n=t.values,o=t.errors,u=t.touched,f=t.handleChange,p=t.handleBlur,E=t.setFieldValue,_=t.setFieldTouched,y=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:xa,onSwipeComplete:function(){Ra(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('MODIFY_PRESTATION')),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('DATE'),value:null!==vt&&null===vt.drugs?W(vt.created_at).format('YYYY-MM-DD HH:mm'):''+W(ke).format('YYYY-MM-DD HH:mm'),editable:!1}),c.default.createElement(M.View,{ref:function(t){Tl=t},style:{width:(0,S.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},c.default.createElement(P.Dropdown,{label:h.default.t('CODE_ACTE'),data:null!==ne.result?null==(l=ne.result)?void 0:l.response:[],useNativeDriver:!0,value:"number"!=typeof n.code_acte&&n.code_acte.name,onChangeText:function(t,l,n){_('code_acte'),E('code_acte',t)},valueExtractor:function(t){return t},labelExtractor:function(t){return t.name}})),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('AMOUNT'),value:n.amount_prestation,onChangeText:function(t){E('amount_prestation',t),(0,T.fetchGetAmountConsultation)({network_id:De.id_network,amount:''+t,care_condition:st})},onBlur:p('amount_prestation'),success:u.amount_prestation&&!o.amount_prestation,touched:u.amount_prestation,error:o.amount_prestation}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('TICKET_MONDERATEUR'),editable:!1,value:null!==vt&&null===vt.drugs?n.moderator_ticket:null!==re.result?re.result.response.moderator_ticket:''}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('AMOUNT_PER_INSURANCE'),editable:!1,value:null!==vt&&null===vt.drugs?n.insurance_amount:null!==re.result?re.result.response.insurance_amount:''}),c.default.createElement(s.View,{style:{marginTop:10,width:"100%",flexDirection:'row',justifyContent:"space-between"}},c.default.createElement(N.default,{body2:!0},h.default.t('VISITE_DOMICILE')),c.default.createElement(s.View,{style:$.contentSwitch},c.default.createElement(B.default,{options:pl,initial:1,buttonColor:C.Color.accentColor,backgroundColor:C.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){yl('YES'===t)}}))),_l&&c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('FRAIS_DEPLACEMENT'),value:n.frais_deplacement,onChangeText:f('frais_deplacement'),onBlur:p('frais_deplacement'),success:u.frais_deplacement&&!o.frais_deplacement,touched:u.frais_deplacement,error:o.frais_deplacement}),c.default.createElement(b.default,{style:{marginTop:20,marginBottom:20},full:!0,onPress:function(){y(),console.log("Error",o)}},h.default.t('SUBMIT_LABEL'))))))})),sa&&c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:sa,onSwipeComplete:function(){fa(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('LIST_PRESTATION')),c.default.createElement(s.FlatList,{data:Wt.performances.filter(function(t){return!t.to_delete}),extraData:Wt.performances.filter(function(t){return!t.to_delete}),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,c.default.createElement(s.View,{style:[$.contentActionModalBottom,{borderBottomColor:C.Color.borderColor,width:"100%"}],key:l.id},c.default.createElement(N.default,{body2:!0,semibold:!0,numberOfLines:5},(0,F.cutString)(l.act.name,30)+"\n \n "+h.default.t('AMOUNT_LABEL')+": "+l.amount+" \n \n "+h.default.t('AMOUNT_PER_INSURANCE')+": "+l.insurance_amount+" \n \n "+h.default.t('TICKET_MONDERATEUR')+": "+l.moderator_ticket+" "+(null!==l.home_visit_fees?'| '+l.home_visit_fees:'')),c.default.createElement(s.View,{style:$.iconRight},c.default.createElement(s.TouchableOpacity,{onPress:function(){Ot(K({},l,{drugs:null})),Ra(!0)}},c.default.createElement(V.default,{name:"edit",size:24,color:C.Color.primaryColor})),c.default.createElement(s.TouchableOpacity,{onPress:function(){Xt(K({},Wt,{performances:Wt.performances.map(function(t){return l.id===t.id?K({},t,{to_delete:!0}):t})}))}},c.default.createElement(V.default,{name:"minus-circle",size:24,color:C.Color.grayColor}))))}}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return fa(!1)}},h.default.t('OK')))))),Va&&c.default.createElement(_.Formik,{validationSchema:xl,initialValues:{amount_prestation:'',frais_deplacement:'',code_acte:''},onSubmit:function(t){''===t.code_acte?Tl.shake(200):(Xa([{act_id:t.code_acte.id,act:t.code_acte,amount:t.amount_prestation,home_visit_fees:t.frais_deplacement}].concat((0,n.default)(Wa))),Aa(!1),F.displayToast(h.default.t('PRESTATION_SUCCESSFULLY_MODIFY')))}},function(t){var l,n=t.values,o=t.errors,u=t.touched,f=t.handleChange,p=t.handleBlur,E=t.setFieldValue,_=t.setFieldTouched,y=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Va,onSwipeComplete:function(){Aa(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('MODIFY_PRESTATION')),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('DATE'),value:''+W(ke).format('YYYY-MM-DD HH:mm'),editable:!1}),c.default.createElement(M.View,{ref:function(t){Tl=t},style:{width:(0,S.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},c.default.createElement(P.Dropdown,{label:h.default.t('CODE_ACTE'),data:null!==ne.result?null==(l=ne.result)?void 0:l.response:[],useNativeDriver:!0,onChangeText:function(t,l,n){_('code_acte'),E('code_acte',t)},valueExtractor:function(t){return t},labelExtractor:function(t){return t.name}})),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('AMOUNT'),value:n.amount_prestation,onChangeText:f('amount_prestation'),onBlur:p('amount_prestation'),success:u.amount_prestation&&!o.amount_prestation,touched:u.amount_prestation,error:o.amount_prestation,onKeyPress:function(){(0,T.fetchGetAmountConsultation)({network_id:De.id_network,amount:n.amount_prestation,care_condition:st})}}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('TICKET_MONDERATEUR'),editable:!1,value:null!==re.result?re.result.response.moderator_ticket:''}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('AMOUNT_PER_INSURANCE'),editable:!1,value:null!==re.result?re.result.response.insurance_amount:''}),c.default.createElement(s.View,{style:{marginTop:10,width:"100%",flexDirection:'row',justifyContent:"space-between"}},c.default.createElement(N.default,{body2:!0},h.default.t('VISITE_DOMICILE')),c.default.createElement(s.View,{style:$.contentSwitch},c.default.createElement(B.default,{options:pl,initial:1,buttonColor:C.Color.accentColor,backgroundColor:C.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){yl('YES'===t)}}))),_l&&c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('FRAIS_DEPLACEMENT'),value:n.frais_deplacement,onChangeText:f('frais_deplacement'),onBlur:p('frais_deplacement'),success:u.frais_deplacement&&!o.frais_deplacement,touched:u.frais_deplacement,error:o.frais_deplacement}),c.default.createElement(b.default,{style:{marginTop:20,marginBottom:20},full:!0,onPress:y},h.default.t('SUBMIT_LABEL'))))))}),Ma&&c.default.createElement(_.Formik,{validationSchema:Ol,initialValues:{drug_name:'',drug_posologie:'',drug_quantity:''},onSubmit:function(t){al([{drug_or_device_id:It.id,dosage:t.drug_posologie,quantity:t.drug_quantity}].concat((0,n.default)(tl))),Pa(!1),F.displayToast(h.default.t('PRESCRIPTIONS_SUCCESSFULLY_ADD'))}},function(t){var l=t.values,n=t.errors,o=t.touched,u=t.handleChange,f=t.handleBlur,p=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Ma,onSwipeComplete:function(){Pa(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('AJOUTER_MEDICAMENT')),c.default.createElement(s.View,{style:{flexDirection:'row'}},c.default.createElement(x.default,{style:{marginTop:10,width:"90%"},placeholder:h.default.t('NAME'),value:null!==It?It.name:l.drug_name,onChangeText:u('drug_name'),onBlur:f('drug_name'),success:o.drug_name&&!n.drug_name,touched:o.drug_name,error:n.drug_name,editable:null===It}),c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor,marginTop:10,width:40,height:40}],onPress:function(t){z(De.id_network,l.drug_name)}},le.loading?c.default.createElement(s.ActivityIndicator,{size:"small",color:"#fff"}):c.default.createElement(A.default,{name:"search",size:24,color:C.Color.whiteColor}))),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('POSOLOGIE'),value:l.drug_posologie,onChangeText:u('drug_posologie'),onBlur:f('drug_posologie'),success:o.drug_posologie&&!n.drug_posologie,touched:o.drug_posologie,error:n.drug_posologie}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('QUANTITE'),value:l.drug_quantity,onChangeText:u('drug_quantity'),onBlur:f('drug_quantity'),success:o.drug_quantity&&!n.drug_quantity,touched:o.drug_quantity,error:n.drug_quantity,keyboardType:"numeric"}),c.default.createElement(b.default,{style:{marginTop:20,marginBottom:20},full:!0,onPress:p},h.default.t('SUBMIT_LABEL'))))))}),Ua&&c.default.createElement(_.Formik,{validationSchema:Ol,initialValues:{drug_name:null!==vt&&vt.drugs?vt.drug_or_device.name:'',drug_posologie:null!==vt&&vt.drugs?vt.dosage:'',drug_quantity:null!==vt&&vt.drugs?vt.quantity:''},onSubmit:function(t){Xt(K({},Wt,{prescriptions:Wt.prescriptions.map(function(l){return vt.id===l.id?{id:l.id,drug_or_device_id:vt.drug_or_device.id,drug_or_device:vt.drug_or_device,dosage:t.drug_posologie,quantity:t.drug_quantity,unit_price:l.unit_price,to_delete:!1}:l})})),Fa(!1),F.displayToast(h.default.t('PRESCRIPTIONS_SUCCESSFULLY_MODIFY'))}},function(t){var l=t.values,n=t.errors,o=t.touched,u=t.handleChange,f=t.handleBlur,p=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Ua,onSwipeComplete:function(){Fa(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('MODIFIER_MEDICAMENT')),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('NAME'),value:l.drug_name,onChangeText:u('drug_name'),onBlur:f('drug_name'),success:o.drug_name&&!n.drug_name,touched:o.drug_name,error:n.drug_name,editable:null===It}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('POSOLOGIE'),value:l.drug_posologie,onChangeText:u('drug_posologie'),onBlur:f('drug_posologie'),success:o.drug_posologie&&!n.drug_posologie,touched:o.drug_posologie,error:n.drug_posologie}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('QUANTITE'),value:''+l.drug_quantity,onChangeText:u('drug_quantity'),onBlur:f('drug_quantity'),success:o.drug_quantity&&!n.drug_quantity,touched:o.drug_quantity,error:n.drug_quantity,keyboardType:"numeric"}),c.default.createElement(b.default,{style:{marginTop:20,marginBottom:20},full:!0,onPress:p},h.default.t('SUBMIT_LABEL'))))))}),Ga&&c.default.createElement(_.Formik,{validationSchema:vl,initialValues:{examen_name:null!==vt?vt.drugs?'':vt.description:'',examen_quantite:''+vt!==null?vt.drugs?'':vt.quantity:'',code_acte:''+vt!==null?vt.drugs?'':vt.act:''},onSubmit:function(t){Xt(K({},Wt,{exams:Wt.exams.map(function(l){return vt.id===l.id?K({},l,{id:l.id,act_id:t.code_acte.id,act:t.code_acte,description:t.examen_name,quantity:t.examen_quantite,unit_price:l.unit_price,to_delete:!1}):l})})),Ha(!1),F.displayToast(h.default.t('EXAMENS_SUCCESSFULLY_MODIFY'))}},function(t){var l,n=t.values,o=t.errors,u=t.touched,f=t.handleChange,p=t.setFieldValue,E=t.setFieldTouched,_=t.handleBlur,y=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Ga,onSwipeComplete:function(){Ha(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('MODIFIER_EXAMEN')),c.default.createElement(M.View,{ref:function(t){Tl=t},style:{width:(0,S.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},c.default.createElement(P.Dropdown,{label:h.default.t('CODE_ACTE'),data:null!==ne.result?null==(l=ne.result)?void 0:l.response:[],useNativeDriver:!0,value:"number"!=typeof n.code_acte&&n.code_acte.name,onChangeText:function(t,l,n){console.log("Value",t),E('code_acte'),p('code_acte',t)},valueExtractor:function(t){return t},labelExtractor:function(t){return t.name}})),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('NAME'),value:n.examen_name,onChangeText:f('examen_name'),onBlur:_('examen_name'),success:u.examen_name&&!o.examen_name,touched:u.examen_name,error:o.examen_name}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('QUANTITE'),value:''+n.examen_quantite,onChangeText:f('examen_quantite'),onBlur:_('examen_quantite'),success:u.examen_quantite&&!o.examen_quantite,touched:u.examen_quantite,error:o.examen_quantite,keyboardType:"numeric"}),c.default.createElement(b.default,{style:{marginTop:20,marginBottom:20},full:!0,loading:ie.loading,onPress:function(){console.log("errors",o),console.log("values",n),y()}},h.default.t('SUBMIT_LABEL'))))))}),Ye&&c.default.createElement(G.default,{timeZoneOffsetInMinutes:0,is24Hour:!0,value:new Date(ke),mode:"date",display:"spinner",onChange:(y.object().shape({code:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),name:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),type:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),function(t,l){var n=l||''+W(new Date).format('YYYY-MM-DD');qe('ios'===s.Platform.OS),Le(n)})}),Ee&&c.default.createElement(G.default,{timeZoneOffsetInMinutes:0,is24Hour:!0,value:new Date,mode:"date",display:"spinner",onChange:Vl}),lt&&c.default.createElement(G.default,{timeZoneOffsetInMinutes:0,is24Hour:!0,value:new Date,mode:"date",display:"spinner",onChange:Al}),it&&c.default.createElement(G.default,{timeZoneOffsetInMinutes:0,is24Hour:!0,value:new Date,mode:"date",display:"spinner",onChange:Nl}),ia&&c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:ia,onSwipeComplete:function(){ua(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('EXAMEN')),c.default.createElement(s.FlatList,{data:Wt.exams.filter(function(t){return!t.to_delete}),extraData:Wt.exams.filter(function(t){return!t.to_delete}),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,c.default.createElement(s.View,{style:[$.contentActionModalBottom,{borderBottomColor:C.Color.borderColor,width:"100%"}],key:l.id},c.default.createElement(N.default,{body2:!0,semibold:!0,numberOfLines:2},l.quantity+" "+l.description+" "+(l.unit_price?' - '+l.unit_price:'')+" \n "+l.act.name),c.default.createElement(s.View,{style:$.iconRight},c.default.createElement(s.TouchableOpacity,{onPress:function(){Ot(K({},l,{drugs:!1})),Ha(!0)}},c.default.createElement(V.default,{name:"edit",size:24,color:C.Color.primaryColor})),c.default.createElement(s.TouchableOpacity,{onPress:function(){Xt(K({},Wt,{exams:Wt.exams.map(function(t){return l.id===t.id?K({},t,{to_delete:!0}):t})}))}},c.default.createElement(V.default,{name:"minus-circle",size:24,color:C.Color.grayColor}))))}}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return ua(!1)}},h.default.t('OK')))))),se&&c.default.createElement(p.default.Container,{contentStyle:{width:(0,S.responsiveWidth)(80)},useNativeDriver:!0,visible:se},c.default.createElement(p.default.Title,null,h.default.t('SCAN')),c.default.createElement(s.ScrollView,{style:[$.blockView,{borderBottomColor:C.Color.borderColor,maxHeight:300}]},c.default.createElement(N.default,null,h.default.t('BRING_YOUR_CAMERA_CLOSER_TO_SCAN_QR_CODE')),c.default.createElement(L.default,{onRead:function(t){fe(!1),console.log("result",t.data)},flashMode:U.RNCamera.Constants.FlashMode.off})),c.default.createElement(p.default.Button,{bold:!0,label:h.default.t('CLOSE'),onPress:function(){fe(!1)}})),Ca&&c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Ca,onSwipeComplete:function(){ha(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('LIST_ASSURE')),c.default.createElement(s.FlatList,{data:null==(Pl=ee.result)?void 0:Pl.response,extraData:null==(kl=ee.result)?void 0:kl.response,ListEmptyComponent:c.default.createElement(N.default,{body2:!0},h.default.t('NO_ASSURE_MATCH_SEARCH')),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,c.default.createElement(s.View,{style:{paddingVertical:15,alignItems:'flex-start'}},c.default.createElement(s.TouchableOpacity,{style:[$.contentActionModalBottom,{borderBottomColor:C.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){'PAID'!==l.state?s.Alert.alert(h.default.t('ERROR_LABEL'),h.default.t('ASSURE_NON_EN_REGLE'),[{text:h.default.t('OK'),onPress:function(){}}]):(Ct(l),bt(null),ul(1),ha(!1),Ql('lastname_patient',l.user.lastname),Ql('firstname_patient',l.user.firstname),H(l.user.id,'UNTREATED','CONSULTATION',"&network_agent_id="+De.network_agent_id))}},c.default.createElement(N.default,{body2:!0,semibold:!0},(null!==l.user.firstname?l.user.firstname:'')+" "+(null!==l.user.lastname?l.user.lastname:''))),l.beneficiaries.map(function(t){return c.default.createElement(s.TouchableOpacity,{style:$.beneficiarySubSection,onPress:function(){Ct(l),bt(t),ul(0),ha(!1),Ql('lastname_patient',t.lastname),Ql('firstname_patient',t.firstname),H(l.user.id,'TO_BILL','CONSULTATION',"&beneficiary_id="+t.id)}},c.default.createElement(s.View,{style:{width:10}}),c.default.createElement(s.View,{style:{paddingHorizontal:10,alignItems:'flex-start'}},c.default.createElement(N.default,{subhead:!0,semibold:!0},(null!==t.firstname?t.firstname:'')+" "+(null!==t.lastname?t.lastname:'')+" ("+h.default.t('AYANT_DROITS')+")")))}))}}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return ha(!1)}},h.default.t('OK')))))),Sa&&c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Sa,onSwipeComplete:function(){Ta(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('MEDICAMENTS')),c.default.createElement(s.FlatList,{data:Wt.prescriptions.filter(function(t){return!t.to_delete}),extraData:Wt.prescriptions.filter(function(t){return!t.to_delete}),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,c.default.createElement(s.View,{style:[$.contentActionModalBottom,{borderBottomColor:C.Color.borderColor,width:"100%"}],key:l.id},c.default.createElement(N.default,{body2:!0,semibold:!0,numberOfLines:2},l.quantity+" "+l.drug_or_device.name+" "+(l.unit_price?' - '+l.unit_price:'')+" \n "+l.dosage),c.default.createElement(s.View,{style:$.iconRight},c.default.createElement(s.TouchableOpacity,{onPress:function(){Ot(K({},l,{drugs:!0})),Fa(!0)}},c.default.createElement(V.default,{name:"edit",size:24,color:C.Color.primaryColor})),c.default.createElement(s.TouchableOpacity,{onPress:function(){Xt(K({},Wt,{prescriptions:Wt.prescriptions.map(function(t){return l.id===t.id?K({},t,{to_delete:!0}):t})}))}},c.default.createElement(V.default,{name:"minus-circle",size:24,color:C.Color.grayColor}))))}}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return Ta(!1)}},h.default.t('OK')))))),jt&&c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:jt,onSwipeComplete:function(){Qt(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('LIST_CONSULTATION')),c.default.createElement(s.FlatList,{data:null==(Bl=J.result)?void 0:Bl.response,ListEmptyComponent:c.default.createElement(N.default,{body2:!0},h.default.t('NO_CONSULTATION')),extraData:null==(Ml=J.result)?void 0:Ml.response,keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,c.default.createElement(s.TouchableOpacity,{style:[$.contentActionModalBottom,{borderBottomColor:C.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){na(l),ea(!0)}},c.default.createElement(N.default,{body2:!0,semibold:!0},l.type+" #"+l.health_care_sheet_id+" - "+W(l.created_at).format('YYYY-MM-DD')))}}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return Qt(!1)}},h.default.t('OK')))))),$t&&c.default.createElement(p.default.Container,{useNativeDriver:!0,visible:$t},c.default.createElement(p.default.Title,null,h.default.t('DETAIL')),c.default.createElement(s.ScrollView,{persistentScrollbar:!0},c.default.createElement(s.View,{style:[$.blockView,{borderBottomColor:C.Color.borderColor}]},c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('PATIENT'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},la.patient_lastname+" "+la.patient_firstname))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},"Situation")),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},la.patient_situation.toLowerCase()))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('PRATICIEN'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},la.practitioner_lastname+" "+la.practitioner_firstname))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('CLASSE_PRESTATAIRE'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},(0,F.uppercaseFirstLetter)(la.practitioner_provider_class.toLowerCase())))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('STATE'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},(0,F.uppercaseFirstLetter)(la.state.toLowerCase())))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},"Type")),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},(0,F.uppercaseFirstLetter)(la.type.toLowerCase())))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('CONDITION_PRISE_CHARGE'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},(0,F.uppercaseFirstLetter)(la.care_condition.toLowerCase())))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('INSTITUTE_NAME'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},(0,F.uppercaseFirstLetter)(la.institution_name.toLowerCase())))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},"Date")),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},W(la.created_at).format('YYYY-MM-DD')))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('PRESTATION'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},la.performances.map(function(t){return c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},t.act.name+" \n "+t.amount+" \n")}))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('EXAMEN'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},la.exams.map(function(t){return c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},t.description+" \n "+t.act.name+" \n")}))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('MEDICAMENT'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},la.prescriptions.map(function(t){return c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},t.drug_or_device.name+" \n "+t.dosage+" \n")}))))),c.default.createElement(p.default.Button,{bold:!0,label:h.default.t('CANCEL_LABEL'),onPress:function(){ea(!1)}}),c.default.createElement(p.default.Button,{bold:!0,label:h.default.t('OK'),onPress:function(){ea(!1),ha(!1),Qt(!1),Xt(K({},la,{exams:la.exams.map(function(t){return K({},t,{to_delete:!1})}),performances:la.performances.map(function(t){return K({},t,{to_delete:!1})}),prescriptions:la.prescriptions.map(function(t){return K({},t,{to_delete:!1})})})),ft(la.care_condition),Ql('practitioner_firstname',la.practitioner_firstname),Ql('practitioner_lastname',la.practitioner_lastname),Ql('pregnancy_start_at',la.pregnancy_start_at),Ql('accident_date',la.accident_date),Te(null!==la.accident_date),et(null!==la.pregnancy_start_at),Vt.current.next()}})),Ea&&c.default.createElement(_.Formik,{validationSchema:Dl,initialValues:{price:''},onSubmit:function(t){console.log("Value",vt),vt.examen?Xt(K({},Wt,{exams:Wt.exams.map(function(l){return vt.id===l.id?K({},l,{unit_price:t.price}):l})})):Xt(K({},Wt,{prescriptions:Wt.prescriptions.map(function(l){return vt.id===l.id?K({},l,{unit_price:t.price}):l})})),ga(!1)}},function(t){var l=t.values,n=t.errors,o=t.touched,u=t.handleChange,f=(t.setFieldValue,t.setFieldTouched,t.handleBlur),p=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Ea,onSwipeComplete:function(){ga(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('AMOUNT_LABEL')),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('AMOUNT_LABEL_DESCRIPTION'),value:l.price,onChangeText:u('price'),onBlur:f('price'),success:o.price&&!n.price,touched:o.price,error:n.price,keyboardType:"numeric"}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:p},h.default.t('OK'))))))})))))});e.default=te},2201,[4,1,33,7,27,15,18,1046,1639,938,1827,1950,1031,719,2147,2162,534,1779,2164,718,2158,2182,2186,2187,1013,538,2157,771,749,979,1823,2188,2194,1658,1107,1079,1763,2180,881,1032,1189]); +__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])),o=l(r(d[3])),u=l(r(d[4])),c=t(r(d[5])),s=r(d[6]),f=r(d[7]),p=l(r(d[8])),E=l(r(d[9])),_=r(d[10]),y=t(r(d[11])),C=r(d[12]),h=l(r(d[13])),w=r(d[14]),b=l(r(d[15])),S=r(d[16]),T=r(d[17]),I=l(r(d[18])),D=r(d[19]),x=l(r(d[20])),R=r(d[21]),v=l(r(d[22])),O=l(r(d[23])),V=l(r(d[24])),A=l(r(d[25])),N=l(r(d[26])),B=l(r(d[27])),M=t(r(d[28])),P=r(d[29]),k=l(r(d[30])),L=l(r(d[31])),U=r(d[32]),F=t(r(d[33])),Y=r(d[34]),q=r(d[35]),G=l(r(d[36])),H=r(d[37]),j=l(r(d[38])),Q=l(r(d[39]));function z(t,l){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);l&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,o)}return n}function K(t){for(var l=1;l0?ha(!0):Sl.alertWithType('warn',h.default.t('EMPTY_LIST'),h.default.t('NO_ASSURE_MATCH_SEARCH'))),ee.error&&s.Alert.alert(h.default.t("ERROR_LABLE"),F.getErrorMsg(ee),[{text:h.default.t("OK"),onPress:function(){bl((0,T.fetchGetUserByNameOrNumberReset)())}}],{cancelable:!1})},[ee]),(0,c.useEffect)(function(){null!==J.result&&Qt(!0),J.error&&s.Alert.alert(h.default.t("ERROR_LABLE"),F.getErrorMsg(J),[{text:h.default.t("OK"),onPress:function(){bl((0,T.fetchGetConsultationReset)())}}],{cancelable:!1})},[J]),(0,c.useEffect)(function(){null!==ie.result&&s.Alert.alert(h.default.t("SUCCESS"),ie.result.response,[{text:h.default.t("OK"),onPress:function(){bl((0,T.fetchModifyPrescriptionReset)()),ue.goBack()}}],{cancelable:!1}),ie.error&&s.Alert.alert(h.default.t("ERROR_LABLE"),F.getErrorMsg(ie),[{text:h.default.t("OK"),onPress:function(){bl((0,T.fetchModifyPrescriptionReset)())}}],{cancelable:!1})},[ie]);var Il=y.object().shape({numero_assure:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),password:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),practitioner_lastname:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),practitioner_firstname:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),Dl=y.object().shape({price:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),xl=y.object().shape({amount_prestation:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED')),code_acte:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED')),frais_deplacement:y.number(),date_prestation:y.date(),ticker_moderateur:y.number()}),Rl=y.object().shape({amount_prestation:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED')),date_prestation:y.date()}),vl=(y.object().shape({examen_name:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),code_acte:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED')),examen_quantite:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),y.object().shape({examen_name:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),examen_quantite:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED'))})),Ol=y.object().shape({drug_name:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),drug_quantity:y.number().required(h.default.t('THIS_FIELD_IS_REQUIRED')),drug_posologie:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),Vl=(y.object().shape({code:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),name:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),type:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),function(t,l){var n=l||new Date;ge('ios'===s.Platform.OS),he(W(n).format('YYYY-MM-DD')),Ql('accident_date',W(n).format('YYYY-MM-DD'))}),Al=function(t,l){var n=l||new Date;nt('ios'===s.Platform.OS),Qe(W(n).format('YYYY-MM-DD')),Ql('pregnancy_start_at',W(n).format('YYYY-MM-DD'))},Nl=function(t,l){var n=l||new Date;ut('ios'===s.Platform.OS),Xe(W(n).format('YYYY-MM-DD')),Ql('pregnancy_end_at',W(n).format('YYYY-MM-DD'))};console.log("consultaiton",Wt);var Bl,Ml,Pl,kl,Ll,Ul=(0,_.useFormik)({validationSchema:Il,initialValues:{numero_assure:'',password:'',firstname_patient:'',lastname_patient:'',practitioner_firstname:'',practitioner_lastname:'',agrement_praticien:null==Et?void 0:Et.code_membre,pregnancy_start_at:null,pregnancy_end_at:null,accident_date:null},onSubmit:function(t){X(Wt.id,{network_agent_id:De.network_agent_id,password:t.password,practitioner_lastname:t.practitioner_lastname,practitioner_firstname:t.practitioner_firstname,practitioner_provider_class_id:t.practitioner_provider_class_id,care_condition:t.care_condition,accident_date:t.accident_date,pregnancy_start_at:t.pregnancy_start_at,pregnancy_end_at:t.pregnancy_end_at,performances:Wt.performances,prescriptions:Wt.prescriptions,exams:Wt.exams})}}),Fl=Ul.handleChange,Yl=Ul.handleSubmit,ql=Ul.handleBlur,Gl=Ul.values,Hl=Ul.errors,jl=Ul.touched,Ql=Ul.setFieldValue,zl=Ul.setFieldTouched,Kl=(Ul.isValid,function(){switch(console.log("currentStep",Yt),Yt){case 0:return console.log("values",Gl),''!==Gl.numero_assure&&null===ee.result&&(bl((0,T.fetchGetUserByNameOrNumberReset)()),o(De.id_network,ve?"&insured_id="+Gl.numero_assure:Ne?"&phone="+Gl.numero_assure:"&name="+Gl.numero_assure),console.log("errors",Hl)),!1;default:return!0}}),Wl=[{title:h.default.t('ASSURE'),content:c.default.createElement(s.View,null,c.default.createElement(x.default,{style:{marginTop:10},placeholder:ve?h.default.t('NUMERO_ASSURE'):Ne?h.default.t('PHONE_NUMBER'):h.default.t('NOM_ASSURE'),value:Gl.numero_assure,keyboardType:Ne?'numeric':'default',onChangeText:Fl('numero_assure'),onBlur:ql('numero_assure'),success:jl.numero_assure&&!Hl.numero_assure,touched:jl.numero_assure,error:Hl.numero_assure,icon:c.default.createElement(A.default,{style:{zIndex:10},name:ve?'lock':Ne?'phone':'user',size:20})}),c.default.createElement(s.View,{style:{flexDirection:'row',position:'absolute',top:22,right:50,justifyContent:'space-between',width:50}},c.default.createElement(V.default,{style:{paddingRight:5},name:"lock",size:20,color:C.Color.primaryColor,onPress:function(){Oe(!0),Be(!1)}}),c.default.createElement(V.default,{style:{paddingRight:5},name:"phone",size:20,color:C.Color.primaryColor,onPress:function(){Oe(!1),Be(!0)}}),c.default.createElement(V.default,{style:{paddingRight:5},name:"user",size:20,color:C.Color.primaryColor,onPress:function(){Oe(!1),Be(!1)}}),c.default.createElement(V.default,{style:{paddingRight:5},name:"qrcode",size:20,color:C.Color.primaryColor,onPress:function(){fe(!0)}})))},{title:h.default.t('PATIENT'),content:c.default.createElement(s.View,null,c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('NOM_CLIENT'),value:Gl.lastname_patient,onChangeText:Fl('lastname_patient'),onBlur:ql('lastname_patient'),success:jl.lastname_patient&&!Hl.lastname_patient,touched:jl.lastname_patient,editable:!1,error:Hl.lastname_patient}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('PRENOM_CLIENT'),value:Gl.firstname_patient,editable:!1,onChangeText:Fl('firstname_patient'),onBlur:ql('firstname_patient'),success:jl.firstname_patient&&!Hl.firstname_patient,touched:jl.firstname_patient,error:Hl.firstname_patient}),c.default.createElement(s.View,{style:{marginTop:10,flexDirection:'row',justifyContent:"space-between"}},c.default.createElement(N.default,{body2:!0},h.default.t('SITUATION')),c.default.createElement(s.View,{style:{width:(0,S.responsiveWidth)(60)}},c.default.createElement(B.default,{options:nl,disabled:!0,value:il,initial:il,buttonColor:C.Color.accentColor,backgroundColor:C.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){}}))))},{title:h.default.t('PRATICIEN'),content:c.default.createElement(s.View,null,c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('CODE_AGREMENT'),value:Gl.agrement_praticien,editable:!1}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('NOM_PRATICIEN'),value:Gl.practitioner_lastname,onChangeText:Fl('practitioner_lastname'),onBlur:ql('practitioner_lastname'),success:jl.practitioner_lastname&&!Hl.practitioner_lastname,touched:jl.practitioner_lastname,error:Hl.practitioner_lastname}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('PRENOM_PRATICIEN'),value:Gl.practitioner_firstname,onChangeText:Fl('practitioner_firstname'),onBlur:ql('practitioner_firstname'),success:jl.practitioner_firstname&&!Hl.practitioner_firstname,touched:jl.practitioner_firstname,error:Hl.practitioner_firstname}),c.default.createElement(M.View,{ref:function(t){},style:{width:(0,S.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},c.default.createElement(P.Dropdown,{label:h.default.t('CLASSIFICATION'),value:null!==la?la.practitioner_provider_class:'',data:null!==ae.result?null==(l=ae.result)?void 0:l.response:[],useNativeDriver:!0,onChangeText:function(t,l,n){zl('practitioner_provider_class_id'),Ql('practitioner_provider_class_id',t.id),console.log("Value",t)},valueExtractor:function(t){return t},labelExtractor:function(t){return t.name}})),c.default.createElement(M.View,{ref:function(t){},style:{width:(0,S.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},c.default.createElement(P.Dropdown,{label:h.default.t('CONDITION_PRISE_CHARGE'),value:null!==la?la.care_condition:'',data:hl,useNativeDriver:!0,onChangeText:function(t,l,n){console.log("Value",t),ft(t),zl('care_condition'),Ql('care_condition',t)},valueExtractor:function(t){return t.value},labelExtractor:function(t){return t.label}})),c.default.createElement(s.View,{style:{marginTop:10,flexDirection:'row',justifyContent:"space-between"}},c.default.createElement(N.default,{body2:!0},h.default.t('ACCIDENT')),c.default.createElement(s.View,{style:{width:(0,S.responsiveWidth)(40)}},c.default.createElement(B.default,{options:cl,initial:null!==la&&null!==la.accident_date?0:1,buttonColor:C.Color.accentColor,backgroundColor:C.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){console.log(t),Te('YES'===t)}}))),Se&&c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('DATE_ACCIDENT'),value:null!==Ce?Ce:'',onChangeText:Fl('date_accident'),onBlur:ql('date_accident'),onFocus:function(){Keyboard.dismiss(),ge(!0)},success:jl.date_accident&&!Hl.date_accident,touched:jl.date_accident,error:Hl.date_accident}),c.default.createElement(s.View,{style:{marginTop:10,flexDirection:'row',justifyContent:"space-between"}},c.default.createElement(N.default,{body2:!0},h.default.t('GROSSESSE')),c.default.createElement(s.View,{style:$.contentSwitch},c.default.createElement(B.default,{options:fl,initial:null!==la&&null!==la.pregnancy_start_at?0:1,buttonColor:C.Color.accentColor,backgroundColor:C.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){et('YES'===t)}}))),$e&&c.default.createElement(c.default.Fragment,null,c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('DATE_DEBUT_GROSSESSE'),value:null!==je?je:'',onChangeText:Fl('date_debut_grossesse'),onBlur:ql('date_debut_grossesse'),onFocus:function(){Keyboard.dismiss(),nt(!0)},success:jl.date_debut_grossesse&&!Hl.date_debut_grossesse,touched:jl.date_debut_grossesse,error:Hl.date_debut_grossesse}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('DATE_FIN_GROSSESSE'),value:null!==We?We:'',onChangeText:Fl('date_fin_grossesse'),onBlur:ql('date_fin_grossesse'),onFocus:function(){Keyboard.dismiss(),ut(!0)},success:jl.date_fin_grossesse&&!Hl.date_fin_grossesse,touched:jl.date_fin_grossesse,error:Hl.date_fin_grossesse})),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('PASSWORD'),value:Gl.password,onChangeText:Fl('password'),onBlur:ql('password'),success:jl.password&&!Hl.password,touched:jl.password,error:Hl.password,secureTextEntry:!0}),c.default.createElement(s.View,{style:{marginTop:25}},c.default.createElement(s.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'}},c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{borderRadius:5,width:100,height:30,flexDirection:"row",backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor}],onPress:function(t){fa(!0)}},c.default.createElement(N.default,{whiteColor:!0},h.default.t('PRESTATION')),c.default.createElement(j.default,{name:"medical-bag",size:20,color:C.Color.whiteColor})),c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{borderRadius:5,width:100,height:30,flexDirection:"row",backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor}],onPress:function(t){ua(!0)}},c.default.createElement(N.default,{whiteColor:!0},h.default.t('EXAMEN')),c.default.createElement(V.default,{name:"file-medical",size:20,color:C.Color.whiteColor})),c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{borderRadius:5,width:110,height:30,flexDirection:"row",backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor}],onPress:function(t){Ta(!0),Dt(null)}},c.default.createElement(N.default,{whiteColor:!0},h.default.t('MEDICAMENT')),c.default.createElement(Q.default,{name:"drug-pack",size:20,color:C.Color.whiteColor})))))}];return c.default.createElement(w.ScreenComponent,null,c.default.createElement(I.default,{ref:function(t){return Sl=t}}),c.default.createElement(s.KeyboardAvoidingView,{behavior:'android'===s.Platform.OS?'height':'padding',style:{flex:1}},c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:$.contain},c.default.createElement(v.default,{steps:Wl,currentStepIndex:Yt+1}),c.default.createElement(s.View,{style:{flexDirection:'column',alignItems:'center'}},c.default.createElement(O.default,{ref:Vt,activeStep:0,steps:Wl,useNativeDriver:!0,nextStepAnimation:"slideLeft",prevStepAnimation:"slideRight",isFirstStep:function(t){return Mt(t)},isLastStep:function(t){return Lt(t)},onNext:function(){Kl()},onPrev:function(){0===Yt&&bl((0,T.fetchGetUserByNameOrNumberReset)())},currentStep:function(t){var l=t.currentStep,n=t.isLastStep,o=t.isFirstStep;qt(l),Mt(o),Lt(n)}})),c.default.createElement(s.View,{style:$.iconNavigation},Bt?c.default.createElement(s.View,null):c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor}],onPress:function(){return Vt.current.prev()}},c.default.createElement(V.default,{name:"arrow-left",size:20,color:C.Color.whiteColor})),2===Yt?c.default.createElement(b.default,{loading:oe.loading,onPress:Yl},h.default.t('SUBMIT_LABEL')):c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor}],onPress:function(t){Yl(t),Kl()&&Vt.current.next()}},ee.loading||te.loading||J.loading?c.default.createElement(s.ActivityIndicator,{size:"small",color:"#fff"}):c.default.createElement(V.default,{name:"arrow-right",size:24,color:C.Color.whiteColor}))),xa&&(Ll=null!==vt&&null===vt.drugs?E.default.parseInt(vt.amount):'',console.log("AMOUNT",Ll),c.default.createElement(_.Formik,{validationSchema:Rl,initialValues:{amount_prestation:''+vt!==null&&null===vt.drugs?vt.amount:'',frais_deplacement:null!==vt&&null===vt.drugs?vt.home_visit_fees:'',code_acte:null!==vt&&null===vt.drugs?vt.act:'',insurance_amount:''+vt!==null&&null===vt.drugs?vt.insurance_amount:'',moderator_ticket:''+vt!==null&&null===vt.drugs?vt.moderator_ticket:''},onSubmit:function(t){console.log("values",t),Xt(K({},Wt,{performances:Wt.performances.map(function(l){return vt.id===l.id?K({},l,{act_id:t.code_acte.id,act:t.code_acte,amount:t.amount_prestation,home_visit_fees:t.frais_deplacement,to_delete:!1}):l})})),Ra(!1)}},function(t){var l,n=t.values,o=t.errors,u=t.touched,f=t.handleChange,p=t.handleBlur,E=t.setFieldValue,_=t.setFieldTouched,y=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:xa,onSwipeComplete:function(){Ra(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('MODIFY_PRESTATION')),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('DATE'),value:null!==vt&&null===vt.drugs?W(vt.created_at).format('YYYY-MM-DD HH:mm'):''+W(ke).format('YYYY-MM-DD HH:mm'),editable:!1}),c.default.createElement(M.View,{ref:function(t){Tl=t},style:{width:(0,S.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},c.default.createElement(P.Dropdown,{label:h.default.t('CODE_ACTE'),data:null!==ne.result?null==(l=ne.result)?void 0:l.response:[],useNativeDriver:!0,value:"number"!=typeof n.code_acte&&n.code_acte.name,onChangeText:function(t,l,n){_('code_acte'),E('code_acte',t)},valueExtractor:function(t){return t},labelExtractor:function(t){return t.name}})),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('AMOUNT'),value:n.amount_prestation,onChangeText:function(t){E('amount_prestation',t),(0,T.fetchGetAmountConsultation)({network_id:De.id_network,amount:''+t,care_condition:st})},onBlur:p('amount_prestation'),success:u.amount_prestation&&!o.amount_prestation,touched:u.amount_prestation,error:o.amount_prestation}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('TICKET_MONDERATEUR'),editable:!1,value:null!==vt&&null===vt.drugs?n.moderator_ticket:null!==re.result?re.result.response.moderator_ticket:''}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('AMOUNT_PER_INSURANCE'),editable:!1,value:null!==vt&&null===vt.drugs?n.insurance_amount:null!==re.result?re.result.response.insurance_amount:''}),c.default.createElement(s.View,{style:{marginTop:10,width:"100%",flexDirection:'row',justifyContent:"space-between"}},c.default.createElement(N.default,{body2:!0},h.default.t('VISITE_DOMICILE')),c.default.createElement(s.View,{style:$.contentSwitch},c.default.createElement(B.default,{options:pl,initial:1,buttonColor:C.Color.accentColor,backgroundColor:C.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){yl('YES'===t)}}))),_l&&c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('FRAIS_DEPLACEMENT'),value:n.frais_deplacement,onChangeText:f('frais_deplacement'),onBlur:p('frais_deplacement'),success:u.frais_deplacement&&!o.frais_deplacement,touched:u.frais_deplacement,error:o.frais_deplacement}),c.default.createElement(b.default,{style:{marginTop:20,marginBottom:20},full:!0,onPress:function(){y(),console.log("Error",o)}},h.default.t('SUBMIT_LABEL'))))))})),sa&&c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:sa,onSwipeComplete:function(){fa(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('LIST_PRESTATION')),c.default.createElement(s.FlatList,{data:Wt.performances.filter(function(t){return!t.to_delete}),extraData:Wt.performances.filter(function(t){return!t.to_delete}),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,c.default.createElement(s.View,{style:[$.contentActionModalBottom,{borderBottomColor:C.Color.borderColor,width:"100%"}],key:l.id},c.default.createElement(N.default,{body2:!0,semibold:!0,numberOfLines:5},(0,F.cutString)(l.act.name,30)+"\n \n "+h.default.t('AMOUNT_LABEL')+": "+l.amount+" \n \n "+h.default.t('AMOUNT_PER_INSURANCE')+": "+l.insurance_amount+" \n \n "+h.default.t('TICKET_MONDERATEUR')+": "+l.moderator_ticket+" "+(null!==l.home_visit_fees?'| '+l.home_visit_fees:'')),c.default.createElement(s.View,{style:$.iconRight},c.default.createElement(s.TouchableOpacity,{onPress:function(){Ot(K({},l,{drugs:null})),Ra(!0)}},c.default.createElement(V.default,{name:"edit",size:24,color:C.Color.primaryColor})),c.default.createElement(s.TouchableOpacity,{onPress:function(){Xt(K({},Wt,{performances:Wt.performances.map(function(t){return l.id===t.id?K({},t,{to_delete:!0}):t})}))}},c.default.createElement(V.default,{name:"minus-circle",size:24,color:C.Color.grayColor}))))}}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return fa(!1)}},h.default.t('OK')))))),Va&&c.default.createElement(_.Formik,{validationSchema:xl,initialValues:{amount_prestation:'',frais_deplacement:'',code_acte:''},onSubmit:function(t){''===t.code_acte?Tl.shake(200):(Xa([{act_id:t.code_acte.id,act:t.code_acte,amount:t.amount_prestation,home_visit_fees:t.frais_deplacement}].concat((0,n.default)(Wa))),Aa(!1),F.displayToast(h.default.t('PRESTATION_SUCCESSFULLY_MODIFY')))}},function(t){var l,n=t.values,o=t.errors,u=t.touched,f=t.handleChange,p=t.handleBlur,E=t.setFieldValue,_=t.setFieldTouched,y=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Va,onSwipeComplete:function(){Aa(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('MODIFY_PRESTATION')),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('DATE'),value:''+W(ke).format('YYYY-MM-DD HH:mm'),editable:!1}),c.default.createElement(M.View,{ref:function(t){Tl=t},style:{width:(0,S.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},c.default.createElement(P.Dropdown,{label:h.default.t('CODE_ACTE'),data:null!==ne.result?null==(l=ne.result)?void 0:l.response:[],useNativeDriver:!0,onChangeText:function(t,l,n){_('code_acte'),E('code_acte',t)},valueExtractor:function(t){return t},labelExtractor:function(t){return t.name}})),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('AMOUNT'),value:n.amount_prestation,onChangeText:f('amount_prestation'),onBlur:p('amount_prestation'),success:u.amount_prestation&&!o.amount_prestation,touched:u.amount_prestation,error:o.amount_prestation,onKeyPress:function(){(0,T.fetchGetAmountConsultation)({network_id:De.id_network,amount:n.amount_prestation,care_condition:st})}}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('TICKET_MONDERATEUR'),editable:!1,value:null!==re.result?re.result.response.moderator_ticket:''}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('AMOUNT_PER_INSURANCE'),editable:!1,value:null!==re.result?re.result.response.insurance_amount:''}),c.default.createElement(s.View,{style:{marginTop:10,width:"100%",flexDirection:'row',justifyContent:"space-between"}},c.default.createElement(N.default,{body2:!0},h.default.t('VISITE_DOMICILE')),c.default.createElement(s.View,{style:$.contentSwitch},c.default.createElement(B.default,{options:pl,initial:1,buttonColor:C.Color.accentColor,backgroundColor:C.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){yl('YES'===t)}}))),_l&&c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('FRAIS_DEPLACEMENT'),value:n.frais_deplacement,onChangeText:f('frais_deplacement'),onBlur:p('frais_deplacement'),success:u.frais_deplacement&&!o.frais_deplacement,touched:u.frais_deplacement,error:o.frais_deplacement}),c.default.createElement(b.default,{style:{marginTop:20,marginBottom:20},full:!0,onPress:y},h.default.t('SUBMIT_LABEL'))))))}),Ma&&c.default.createElement(_.Formik,{validationSchema:Ol,initialValues:{drug_name:'',drug_posologie:'',drug_quantity:''},onSubmit:function(t){al([{drug_or_device_id:It.id,dosage:t.drug_posologie,quantity:t.drug_quantity}].concat((0,n.default)(tl))),Pa(!1),F.displayToast(h.default.t('PRESCRIPTIONS_SUCCESSFULLY_ADD'))}},function(t){var l=t.values,n=t.errors,o=t.touched,u=t.handleChange,f=t.handleBlur,p=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Ma,onSwipeComplete:function(){Pa(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('AJOUTER_MEDICAMENT')),c.default.createElement(s.View,{style:{flexDirection:'row'}},c.default.createElement(x.default,{style:{marginTop:10,width:"90%"},placeholder:h.default.t('NAME'),value:null!==It?It.name:l.drug_name,onChangeText:u('drug_name'),onBlur:f('drug_name'),success:o.drug_name&&!n.drug_name,touched:o.drug_name,error:n.drug_name,editable:null===It}),c.default.createElement(s.TouchableOpacity,{style:[$.iconNavigationButton,{backgroundColor:C.Color.primaryColor,borderColor:C.Color.primaryColor,marginTop:10,width:40,height:40}],onPress:function(t){z(De.id_network,l.drug_name)}},le.loading?c.default.createElement(s.ActivityIndicator,{size:"small",color:"#fff"}):c.default.createElement(A.default,{name:"search",size:24,color:C.Color.whiteColor}))),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('POSOLOGIE'),value:l.drug_posologie,onChangeText:u('drug_posologie'),onBlur:f('drug_posologie'),success:o.drug_posologie&&!n.drug_posologie,touched:o.drug_posologie,error:n.drug_posologie}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('QUANTITE'),value:l.drug_quantity,onChangeText:u('drug_quantity'),onBlur:f('drug_quantity'),success:o.drug_quantity&&!n.drug_quantity,touched:o.drug_quantity,error:n.drug_quantity,keyboardType:"numeric"}),c.default.createElement(b.default,{style:{marginTop:20,marginBottom:20},full:!0,onPress:p},h.default.t('SUBMIT_LABEL'))))))}),Ua&&c.default.createElement(_.Formik,{validationSchema:Ol,initialValues:{drug_name:null!==vt&&vt.drugs?vt.drug_or_device.name:'',drug_posologie:null!==vt&&vt.drugs?vt.dosage:'',drug_quantity:null!==vt&&vt.drugs?vt.quantity:''},onSubmit:function(t){Xt(K({},Wt,{prescriptions:Wt.prescriptions.map(function(l){return vt.id===l.id?{id:l.id,drug_or_device_id:vt.drug_or_device.id,drug_or_device:vt.drug_or_device,dosage:t.drug_posologie,quantity:t.drug_quantity,unit_price:l.unit_price,to_delete:!1}:l})})),Fa(!1),F.displayToast(h.default.t('PRESCRIPTIONS_SUCCESSFULLY_MODIFY'))}},function(t){var l=t.values,n=t.errors,o=t.touched,u=t.handleChange,f=t.handleBlur,p=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Ua,onSwipeComplete:function(){Fa(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('MODIFIER_MEDICAMENT')),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('NAME'),value:l.drug_name,onChangeText:u('drug_name'),onBlur:f('drug_name'),success:o.drug_name&&!n.drug_name,touched:o.drug_name,error:n.drug_name,editable:null===It}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('POSOLOGIE'),value:l.drug_posologie,onChangeText:u('drug_posologie'),onBlur:f('drug_posologie'),success:o.drug_posologie&&!n.drug_posologie,touched:o.drug_posologie,error:n.drug_posologie}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('QUANTITE'),value:''+l.drug_quantity,onChangeText:u('drug_quantity'),onBlur:f('drug_quantity'),success:o.drug_quantity&&!n.drug_quantity,touched:o.drug_quantity,error:n.drug_quantity,keyboardType:"numeric"}),c.default.createElement(b.default,{style:{marginTop:20,marginBottom:20},full:!0,onPress:p},h.default.t('SUBMIT_LABEL'))))))}),Ga&&c.default.createElement(_.Formik,{validationSchema:vl,initialValues:{examen_name:null!==vt?vt.drugs?'':vt.description:'',examen_quantite:''+vt!==null?vt.drugs?'':vt.quantity:'',code_acte:''+vt!==null?vt.drugs?'':vt.act:''},onSubmit:function(t){Xt(K({},Wt,{exams:Wt.exams.map(function(l){return vt.id===l.id?K({},l,{id:l.id,act_id:t.code_acte.id,act:t.code_acte,description:t.examen_name,quantity:t.examen_quantite,unit_price:l.unit_price,to_delete:!1}):l})})),Ha(!1),F.displayToast(h.default.t('EXAMENS_SUCCESSFULLY_MODIFY'))}},function(t){var l,n=t.values,o=t.errors,u=t.touched,f=t.handleChange,p=t.setFieldValue,E=t.setFieldTouched,_=t.handleBlur,y=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Ga,onSwipeComplete:function(){Ha(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('MODIFIER_EXAMEN')),c.default.createElement(M.View,{ref:function(t){Tl=t},style:{width:(0,S.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},c.default.createElement(P.Dropdown,{label:h.default.t('CODE_ACTE'),data:null!==ne.result?null==(l=ne.result)?void 0:l.response:[],useNativeDriver:!0,value:"number"!=typeof n.code_acte&&n.code_acte.name,onChangeText:function(t,l,n){console.log("Value",t),E('code_acte'),p('code_acte',t)},valueExtractor:function(t){return t},labelExtractor:function(t){return t.name}})),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('NAME'),value:n.examen_name,onChangeText:f('examen_name'),onBlur:_('examen_name'),success:u.examen_name&&!o.examen_name,touched:u.examen_name,error:o.examen_name}),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('QUANTITE'),value:''+n.examen_quantite,onChangeText:f('examen_quantite'),onBlur:_('examen_quantite'),success:u.examen_quantite&&!o.examen_quantite,touched:u.examen_quantite,error:o.examen_quantite,keyboardType:"numeric"}),c.default.createElement(b.default,{style:{marginTop:20,marginBottom:20},full:!0,loading:ie.loading,onPress:function(){console.log("errors",o),console.log("values",n),y()}},h.default.t('SUBMIT_LABEL'))))))}),Ye&&c.default.createElement(G.default,{timeZoneOffsetInMinutes:0,is24Hour:!0,value:new Date(ke),mode:"date",display:"spinner",onChange:(y.object().shape({code:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),name:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED')),type:y.string().required(h.default.t('THIS_FIELD_IS_REQUIRED'))}),function(t,l){var n=l||''+W(new Date).format('YYYY-MM-DD');qe('ios'===s.Platform.OS),Le(n)})}),Ee&&c.default.createElement(G.default,{timeZoneOffsetInMinutes:0,is24Hour:!0,value:new Date,mode:"date",display:"spinner",onChange:Vl}),lt&&c.default.createElement(G.default,{timeZoneOffsetInMinutes:0,is24Hour:!0,value:new Date,mode:"date",display:"spinner",onChange:Al}),it&&c.default.createElement(G.default,{timeZoneOffsetInMinutes:0,is24Hour:!0,value:new Date,mode:"date",display:"spinner",onChange:Nl}),ia&&c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:ia,onSwipeComplete:function(){ua(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('EXAMEN')),c.default.createElement(s.FlatList,{data:Wt.exams.filter(function(t){return!t.to_delete}),extraData:Wt.exams.filter(function(t){return!t.to_delete}),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,c.default.createElement(s.View,{style:[$.contentActionModalBottom,{borderBottomColor:C.Color.borderColor,width:"100%"}],key:l.id},c.default.createElement(N.default,{body2:!0,semibold:!0,numberOfLines:2},l.quantity+" "+l.description+" "+(l.unit_price?' - '+l.unit_price:'')+" \n "+l.act.name),c.default.createElement(s.View,{style:$.iconRight},c.default.createElement(s.TouchableOpacity,{onPress:function(){Ot(K({},l,{drugs:!1})),Ha(!0)}},c.default.createElement(V.default,{name:"edit",size:24,color:C.Color.primaryColor})),c.default.createElement(s.TouchableOpacity,{onPress:function(){Xt(K({},Wt,{exams:Wt.exams.map(function(t){return l.id===t.id?K({},t,{to_delete:!0}):t})}))}},c.default.createElement(V.default,{name:"minus-circle",size:24,color:C.Color.grayColor}))))}}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return ua(!1)}},h.default.t('OK')))))),se&&c.default.createElement(p.default.Container,{contentStyle:{width:(0,S.responsiveWidth)(80)},useNativeDriver:!0,visible:se},c.default.createElement(p.default.Title,null,h.default.t('SCAN')),c.default.createElement(s.ScrollView,{style:[$.blockView,{borderBottomColor:C.Color.borderColor,maxHeight:300}]},c.default.createElement(N.default,null,h.default.t('BRING_YOUR_CAMERA_CLOSER_TO_SCAN_QR_CODE')),c.default.createElement(L.default,{onRead:function(t){fe(!1),console.log("result",t.data)},flashMode:U.RNCamera.Constants.FlashMode.off})),c.default.createElement(p.default.Button,{bold:!0,label:h.default.t('CLOSE'),onPress:function(){fe(!1)}})),Ca&&c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Ca,onSwipeComplete:function(){ha(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('LIST_ASSURE')),c.default.createElement(s.FlatList,{data:null==(Pl=ee.result)?void 0:Pl.response,extraData:null==(kl=ee.result)?void 0:kl.response,ListEmptyComponent:c.default.createElement(N.default,{body2:!0},h.default.t('NO_ASSURE_MATCH_SEARCH')),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,c.default.createElement(s.View,{style:{paddingVertical:15,alignItems:'flex-start'}},c.default.createElement(s.TouchableOpacity,{style:[$.contentActionModalBottom,{borderBottomColor:C.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){'PAID'!==l.state?s.Alert.alert(h.default.t('ERROR_LABEL'),h.default.t('ASSURE_NON_EN_REGLE'),[{text:h.default.t('OK'),onPress:function(){}}]):(Ct(l),bt(null),ul(1),ha(!1),Ql('lastname_patient',l.user.lastname),Ql('firstname_patient',l.user.firstname),H(l.user.id,'UNTREATED','CONSULTATION',"&network_agent_id="+De.network_agent_id))}},c.default.createElement(N.default,{body2:!0,semibold:!0},(null!==l.user.firstname?l.user.firstname:'')+" "+(null!==l.user.lastname?l.user.lastname:''))),l.beneficiaries.map(function(t){return c.default.createElement(s.TouchableOpacity,{style:$.beneficiarySubSection,onPress:function(){Ct(l),bt(t),ul(0),ha(!1),Ql('lastname_patient',t.lastname),Ql('firstname_patient',t.firstname),H(l.user.id,'UNTREATED','CONSULTATION',"&beneficiary_id="+t.id)}},c.default.createElement(s.View,{style:{width:10}}),c.default.createElement(s.View,{style:{paddingHorizontal:10,alignItems:'flex-start'}},c.default.createElement(N.default,{subhead:!0,semibold:!0},(null!==t.firstname?t.firstname:'')+" "+(null!==t.lastname?t.lastname:'')+" ("+h.default.t('AYANT_DROITS')+")")))}))}}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return ha(!1)}},h.default.t('OK')))))),Sa&&c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Sa,onSwipeComplete:function(){Ta(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('MEDICAMENTS')),c.default.createElement(s.FlatList,{data:Wt.prescriptions.filter(function(t){return!t.to_delete}),extraData:Wt.prescriptions.filter(function(t){return!t.to_delete}),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,c.default.createElement(s.View,{style:[$.contentActionModalBottom,{borderBottomColor:C.Color.borderColor,width:"100%"}],key:l.id},c.default.createElement(N.default,{body2:!0,semibold:!0,numberOfLines:2},l.quantity+" "+l.drug_or_device.name+" "+(l.unit_price?' - '+l.unit_price:'')+" \n "+l.dosage),c.default.createElement(s.View,{style:$.iconRight},c.default.createElement(s.TouchableOpacity,{onPress:function(){Ot(K({},l,{drugs:!0})),Fa(!0)}},c.default.createElement(V.default,{name:"edit",size:24,color:C.Color.primaryColor})),c.default.createElement(s.TouchableOpacity,{onPress:function(){Xt(K({},Wt,{prescriptions:Wt.prescriptions.map(function(t){return l.id===t.id?K({},t,{to_delete:!0}):t})}))}},c.default.createElement(V.default,{name:"minus-circle",size:24,color:C.Color.grayColor}))))}}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return Ta(!1)}},h.default.t('OK')))))),jt&&c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:jt,onSwipeComplete:function(){Qt(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('LIST_CONSULTATION')),c.default.createElement(s.FlatList,{data:null==(Bl=J.result)?void 0:Bl.response,ListEmptyComponent:c.default.createElement(N.default,{body2:!0},h.default.t('NO_CONSULTATION')),extraData:null==(Ml=J.result)?void 0:Ml.response,keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,c.default.createElement(s.TouchableOpacity,{style:[$.contentActionModalBottom,{borderBottomColor:C.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){na(l),ea(!0)}},c.default.createElement(N.default,{body2:!0,semibold:!0},l.type+" #"+l.health_care_sheet_id+" - "+W(l.created_at).format('YYYY-MM-DD')))}}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return Qt(!1)}},h.default.t('OK')))))),$t&&c.default.createElement(p.default.Container,{useNativeDriver:!0,visible:$t},c.default.createElement(p.default.Title,null,h.default.t('DETAIL')),c.default.createElement(s.ScrollView,{persistentScrollbar:!0},c.default.createElement(s.View,{style:[$.blockView,{borderBottomColor:C.Color.borderColor}]},c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('PATIENT'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},la.patient_lastname+" "+la.patient_firstname))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},"Situation")),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},la.patient_situation.toLowerCase()))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('PRATICIEN'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},la.practitioner_lastname+" "+la.practitioner_firstname))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('CLASSE_PRESTATAIRE'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},(0,F.uppercaseFirstLetter)(la.practitioner_provider_class.toLowerCase())))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('STATE'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},(0,F.uppercaseFirstLetter)(la.state.toLowerCase())))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},"Type")),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},(0,F.uppercaseFirstLetter)(la.type.toLowerCase())))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('CONDITION_PRISE_CHARGE'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},(0,F.uppercaseFirstLetter)(la.care_condition.toLowerCase())))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('INSTITUTE_NAME'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},(0,F.uppercaseFirstLetter)(la.institution_name.toLowerCase())))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},"Date")),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},W(la.created_at).format('YYYY-MM-DD')))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('PRESTATION'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},la.performances.map(function(t){return c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},t.act.name+" \n "+t.amount+" \n")}))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('EXAMEN'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},la.exams.map(function(t){return c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},t.description+" \n "+t.act.name+" \n")}))),c.default.createElement(s.View,{style:{flexDirection:'row',marginTop:10}},c.default.createElement(s.View,{style:{flex:1}},c.default.createElement(N.default,{style:[$.body2]},h.default.t('MEDICAMENT'))),c.default.createElement(s.View,{style:{flex:1,alignItems:'flex-end'}},la.prescriptions.map(function(t){return c.default.createElement(N.default,{style:[q.Typography.caption1,C.Color.grayColor]},t.drug_or_device.name+" \n "+t.dosage+" \n")}))))),c.default.createElement(p.default.Button,{bold:!0,label:h.default.t('CANCEL_LABEL'),onPress:function(){ea(!1)}}),c.default.createElement(p.default.Button,{bold:!0,label:h.default.t('OK'),onPress:function(){ea(!1),ha(!1),Qt(!1),Xt(K({},la,{exams:la.exams.map(function(t){return K({},t,{to_delete:!1})}),performances:la.performances.map(function(t){return K({},t,{to_delete:!1})}),prescriptions:la.prescriptions.map(function(t){return K({},t,{to_delete:!1})})})),ft(la.care_condition),Ql('practitioner_firstname',la.practitioner_firstname),Ql('practitioner_lastname',la.practitioner_lastname),Ql('pregnancy_start_at',la.pregnancy_start_at),Ql('accident_date',la.accident_date),Te(null!==la.accident_date),et(null!==la.pregnancy_start_at),Vt.current.next()}})),Ea&&c.default.createElement(_.Formik,{validationSchema:Dl,initialValues:{price:''},onSubmit:function(t){console.log("Value",vt),vt.examen?Xt(K({},Wt,{exams:Wt.exams.map(function(l){return vt.id===l.id?K({},l,{unit_price:t.price}):l})})):Xt(K({},Wt,{prescriptions:Wt.prescriptions.map(function(l){return vt.id===l.id?K({},l,{unit_price:t.price}):l})})),ga(!1)}},function(t){var l=t.values,n=t.errors,o=t.touched,u=t.handleChange,f=(t.setFieldValue,t.setFieldTouched,t.handleBlur),p=t.handleSubmit;return t.isSubmitting,c.default.createElement(s.ScrollView,{style:{flex:1}},c.default.createElement(s.View,{style:[$.containModal,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(k.default,{isVisible:Ea,onSwipeComplete:function(){ga(!1)},swipeDirection:['down'],style:$.bottomModal},c.default.createElement(s.View,{style:[$.contentFilterBottom,{backgroundColor:C.Color.containerBackgroundColor}]},c.default.createElement(s.View,{style:$.contentSwipeDown},c.default.createElement(s.View,{style:$.lineSwipeDown})),c.default.createElement(N.default,{body2:!0,style:{marginTop:10}},h.default.t('AMOUNT_LABEL')),c.default.createElement(x.default,{style:{marginTop:10},placeholder:h.default.t('AMOUNT_LABEL_DESCRIPTION'),value:l.price,onChangeText:u('price'),onBlur:f('price'),success:o.price&&!n.price,touched:o.price,error:n.price,keyboardType:"numeric"}),c.default.createElement(b.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:p},h.default.t('OK'))))))})))))});e.default=te},2201,[4,1,33,7,27,15,18,1046,1639,938,1827,1950,1031,719,2147,2162,534,1779,2164,718,2158,2182,2186,2187,1013,538,2157,771,749,979,1823,2188,2194,1658,1107,1079,1763,2180,881,1032,1189]); __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])),o=l(r(d[3])),u=t(r(d[4])),c=r(d[5]),s=r(d[6]),f=l(r(d[7])),p=r(d[8]),E=t(r(d[9])),y=r(d[10]),C=l(r(d[11])),w=r(d[12]),h=l(r(d[13])),b=r(d[14]),_=r(d[15]),S=l(r(d[16])),T=r(d[17]),x=l(r(d[18])),I=r(d[19]),R=r(d[20]),V=l(r(d[21])),v=l(r(d[22])),O=l(r(d[23])),P=l(r(d[24])),D=l(r(d[25])),N=l(r(d[26])),B=t(r(d[27])),A=r(d[28]),k=l(r(d[29])),L=l(r(d[30])),M=r(d[31]),U=t(r(d[32])),F=r(d[33]),G=l(r(d[34])),j=r(d[35]);function z(t,l){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);l&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),n.push.apply(n,o)}return n}function H(t){for(var l=1;l0?Et(!0):Bt.alertWithType('warn',C.default.t('EMPTY_LIST'),C.default.t('NO_ASSURE_MATCH_SEARCH'))),W.error&&c.Alert.alert(C.default.t("ERROR_LABLE"),U.getErrorMsg(W),[{text:C.default.t("OK"),onPress:function(){Nt((0,_.fetchGetUserByNameOrNumberReset)())}}],{cancelable:!1})},[W]),(0,u.useEffect)(function(){null!==K.result&&Ye(!0),K.error&&c.Alert.alert(C.default.t("ERROR_LABLE"),U.getErrorMsg(K),[{text:C.default.t("OK"),onPress:function(){Nt((0,_.fetchGetConsultationReset)())}}],{cancelable:!1})},[K]),(0,u.useEffect)(function(){null!==Q.result&&c.Alert.alert(C.default.t("SUCCESS"),Q.result.response,[{text:C.default.t("OK"),onPress:function(){Nt((0,_.fetchModifyPrescriptionReset)()),$.goBack()}}],{cancelable:!1}),Q.error&&c.Alert.alert(C.default.t("ERROR_LABLE"),U.getErrorMsg(Q),[{text:C.default.t("OK"),onPress:function(){Nt((0,_.fetchModifyPrescriptionReset)())}}],{cancelable:!1})},[Q]);var At=E.object().shape({numero_assure:E.string().required(C.default.t('THIS_FIELD_IS_REQUIRED')),password:E.string().required(C.default.t('THIS_FIELD_IS_REQUIRED')),practitioner_lastname:E.string().required(C.default.t('THIS_FIELD_IS_REQUIRED')),practitioner_firstname:E.string().required(C.default.t('THIS_FIELD_IS_REQUIRED'))}),kt=E.object().shape({price:E.number().required(C.default.t('THIS_FIELD_IS_REQUIRED'))});console.log("consultaiton",We);var Lt,Mt,Ut,Ft,Gt=(0,p.useFormik)({validationSchema:At,initialValues:{numero_assure:'',password:'',firstname_patient:'',lastname_patient:'',practitioner_firstname:'',practitioner_lastname:'',agrement_praticien:null==ye?void 0:ye.code_membre,pregnancy_start_at:null,pregnancy_end_at:null},onSubmit:function(t){z(We.id,{network_agent_id:ne.network_agent_id,password:t.password,practitioner_lastname:t.practitioner_lastname,practitioner_firstname:t.practitioner_firstname,practitioner_provider_class_id:t.practitioner_provider_class_id,performances:We.performances,prescriptions:We.prescriptions})}}),jt=Gt.handleChange,zt=Gt.handleSubmit,Ht=Gt.handleBlur,Yt=Gt.values,Qt=Gt.errors,Kt=Gt.touched,Wt=Gt.setFieldValue,qt=Gt.setFieldTouched,Xt=(Gt.isValid,function(){switch(console.log("currentStep",Fe),Fe){case 0:return console.log("values",Yt),''!==Yt.numero_assure&&null===W.result&&(Nt((0,_.fetchGetUserByNameOrNumberReset)()),n(ne.id_network,ue?"&insured_id="+Yt.numero_assure:fe?"&phone="+Yt.numero_assure:"&name="+Yt.numero_assure),console.log("errors",Qt)),!1;default:return!0}}),Jt=[{title:C.default.t('ASSURE'),content:u.default.createElement(c.View,null,u.default.createElement(x.default,{style:{marginTop:10},placeholder:ue?C.default.t('NUMERO_ASSURE'):fe?C.default.t('PHONE_NUMBER'):C.default.t('NOM_ASSURE'),value:Yt.numero_assure,keyboardType:fe?'numeric':'default',onChangeText:jt('numero_assure'),onBlur:Ht('numero_assure'),success:Kt.numero_assure&&!Qt.numero_assure,touched:Kt.numero_assure,error:Qt.numero_assure,icon:u.default.createElement(P.default,{style:{zIndex:10},name:ue?'lock':fe?'phone':'user',size:20})}),u.default.createElement(c.View,{style:{flexDirection:'row',position:'absolute',top:22,right:50,justifyContent:'space-between',width:50}},u.default.createElement(O.default,{style:{paddingRight:5},name:"lock",size:20,color:y.Color.primaryColor,onPress:function(){de(!0),me(!1)}}),u.default.createElement(O.default,{style:{paddingRight:5},name:"phone",size:20,color:y.Color.primaryColor,onPress:function(){de(!1),me(!0)}}),u.default.createElement(O.default,{style:{paddingRight:5},name:"user",size:20,color:y.Color.primaryColor,onPress:function(){de(!1),me(!1)}}),u.default.createElement(O.default,{style:{paddingRight:5},name:"qrcode",size:20,color:y.Color.primaryColor,onPress:function(){ae(!0)}})))},{title:C.default.t('PATIENT'),content:u.default.createElement(c.View,null,u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('NOM_CLIENT'),value:Yt.lastname_patient,onChangeText:jt('lastname_patient'),onBlur:Ht('lastname_patient'),success:Kt.lastname_patient&&!Qt.lastname_patient,touched:Kt.lastname_patient,editable:!1,error:Qt.lastname_patient}),u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('PRENOM_CLIENT'),value:Yt.firstname_patient,editable:!1,onChangeText:jt('firstname_patient'),onBlur:Ht('firstname_patient'),success:Kt.firstname_patient&&!Qt.firstname_patient,touched:Kt.firstname_patient,error:Qt.firstname_patient}),u.default.createElement(c.View,{style:{marginTop:10,flexDirection:'row',justifyContent:"space-between"}},u.default.createElement(D.default,{body2:!0},C.default.t('SITUATION')),u.default.createElement(c.View,{style:{width:(0,b.responsiveWidth)(60)}},u.default.createElement(N.default,{options:Rt,disabled:!0,value:Ot,initial:Ot,buttonColor:y.Color.accentColor,backgroundColor:y.Color.primaryDarkColor,textColor:"white",bold:!0,hasPadding:!0,height:32,onPress:function(t){}}))))},{title:C.default.t('PRATICIEN'),content:u.default.createElement(c.View,null,u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('CODE_AGREMENT'),value:Yt.agrement_praticien,editable:!1}),u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('NOM_PRATICIEN'),value:Yt.practitioner_lastname,onChangeText:jt('practitioner_lastname'),onBlur:Ht('practitioner_lastname'),success:Kt.practitioner_lastname&&!Qt.practitioner_lastname,touched:Kt.practitioner_lastname,error:Qt.practitioner_lastname}),u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('PRENOM_PRATICIEN'),value:Yt.practitioner_firstname,onChangeText:jt('practitioner_firstname'),onBlur:Ht('practitioner_firstname'),success:Kt.practitioner_firstname&&!Qt.practitioner_firstname,touched:Kt.practitioner_firstname,error:Qt.practitioner_firstname}),u.default.createElement(B.View,{ref:function(t){},style:{width:(0,b.responsiveWidth)(90),height:60,alignSelf:'center',borderRadius:10,paddingLeft:20,marginTop:10,paddingRight:20,backgroundColor:'white'}},u.default.createElement(A.Dropdown,{label:C.default.t('CLASSIFICATION'),value:null!==lt?lt.practitioner_provider_class:'',data:null!==J.result?null==(l=J.result)?void 0:l.response:[],useNativeDriver:!0,onChangeText:function(t,l,n){qt('practitioner_provider_class_id'),Wt('practitioner_provider_class_id',t.id),console.log("Value",t)},valueExtractor:function(t){return t},labelExtractor:function(t){return t.name}})),u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('PASSWORD'),value:Yt.password,onChangeText:jt('password'),onBlur:Ht('password'),success:Kt.password&&!Qt.password,touched:Kt.password,error:Qt.password,secureTextEntry:!0}),u.default.createElement(c.View,{style:{marginTop:25}},u.default.createElement(c.View,{style:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'}},null!==We?!We.prescriptions.length>0?u.default.createElement(c.TouchableOpacity,{style:[q.iconNavigationButton,{borderRadius:5,width:100,height:30,flexDirection:"row",backgroundColor:y.Color.primaryColor,borderColor:y.Color.primaryColor}],onPress:function(t){We.prescriptions.filter(function(t){return t.checked}).length>0?(0,U.displayToast)("Vous avez deja renseigner les m\xe9dicaments"):it(!0)}},u.default.createElement(D.default,{whiteColor:!0},C.default.t('EXAMEN')),u.default.createElement(O.default,{name:"file-medical",size:20,color:y.Color.whiteColor})):u.default.createElement(c.View,null):null,null!==We?!We.exams.length>0?u.default.createElement(c.TouchableOpacity,{style:[q.iconNavigationButton,{borderRadius:5,width:110,height:30,flexDirection:"row",backgroundColor:y.Color.primaryColor,borderColor:y.Color.primaryColor}],onPress:function(t){We.exams.filter(function(t){return t.checked}).length>0?(0,U.displayToast)("Vous avez deja renseigner les examens"):wt(!0)}},u.default.createElement(D.default,{whiteColor:!0},C.default.t('MEDICAMENT')),u.default.createElement(G.default,{name:"drug-pack",size:20,color:y.Color.whiteColor})):u.default.createElement(c.View,null):null)))}];return u.default.createElement(w.ScreenComponent,null,u.default.createElement(S.default,{ref:function(t){return Bt=t}}),u.default.createElement(c.KeyboardAvoidingView,{behavior:'android'===c.Platform.OS?'height':'padding',style:{flex:1}},u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:q.contain},u.default.createElement(V.default,{steps:Jt,currentStepIndex:Fe+1}),u.default.createElement(c.View,{style:{flexDirection:'column',alignItems:'center'}},u.default.createElement(v.default,{ref:Oe,activeStep:0,steps:Jt,useNativeDriver:!0,nextStepAnimation:"slideLeft",prevStepAnimation:"slideRight",isFirstStep:function(t){return Be(t)},isLastStep:function(t){return Le(t)},onNext:function(){Xt()},onPrev:function(){0===Fe&&Nt((0,_.fetchGetUserByNameOrNumberReset)())},currentStep:function(t){var l=t.currentStep,n=t.isLastStep,o=t.isFirstStep;Ge(l),Be(o),Le(n)}})),u.default.createElement(c.View,{style:q.iconNavigation},Ne?u.default.createElement(c.View,null):u.default.createElement(c.TouchableOpacity,{style:[q.iconNavigationButton,{backgroundColor:y.Color.primaryColor,borderColor:y.Color.primaryColor}],onPress:function(){return Oe.current.prev()}},u.default.createElement(O.default,{name:"arrow-left",size:20,color:y.Color.whiteColor})),2===Fe?u.default.createElement(h.default,{loading:Q.loading,onPress:zt},C.default.t('SUBMIT_LABEL')):u.default.createElement(c.TouchableOpacity,{style:[q.iconNavigationButton,{backgroundColor:y.Color.primaryColor,borderColor:y.Color.primaryColor}],onPress:function(t){zt(t),Xt()&&Oe.current.next()}},W.loading||X.loading||K.loading?u.default.createElement(c.ActivityIndicator,{size:"small",color:"#fff"}):u.default.createElement(O.default,{name:"arrow-right",size:24,color:y.Color.whiteColor}))),ot&&u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:[q.containModal,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(k.default,{isVisible:ot,onSwipeComplete:function(){it(!1)},swipeDirection:['down'],style:q.bottomModal},u.default.createElement(c.View,{style:[q.contentFilterBottom,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(c.View,{style:q.contentSwipeDown},u.default.createElement(c.View,{style:q.lineSwipeDown})),u.default.createElement(D.default,{body2:!0,style:{marginTop:10}},C.default.t('EXAMEN')),u.default.createElement(c.FlatList,{data:We.exams,extraData:We.exams,keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,u.default.createElement(c.TouchableOpacity,{style:[q.contentActionModalBottom,{borderBottomColor:y.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){ve(H({},l,{examen:!0})),qe(H({},We,{exams:We.exams.map(function(t){return l.id===t.id?H({},t,{checked:!l.checked}):t})})),l.checked||st(!0)}},u.default.createElement(D.default,{body2:!0,semibold:!0,numberOfLines:2},l.quantity+" "+l.description+" "+(l.unit_price?' - '+l.unit_price:'')+" \n "+l.act.name),l.checked&&u.default.createElement(O.default,{name:"check",size:14,color:y.Color.primaryColor}))}}),u.default.createElement(h.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return it(!1)}},C.default.t('OK')))))),le&&u.default.createElement(f.default.Container,{contentStyle:{width:(0,b.responsiveWidth)(80)},useNativeDriver:!0,visible:le},u.default.createElement(f.default.Title,null,C.default.t('SCAN')),u.default.createElement(c.ScrollView,{style:[q.blockView,{borderBottomColor:y.Color.borderColor,maxHeight:300}]},u.default.createElement(D.default,null,C.default.t('BRING_YOUR_CAMERA_CLOSER_TO_SCAN_QR_CODE')),u.default.createElement(L.default,{onRead:function(t){ae(!1),console.log("result",t.data)},flashMode:M.RNCamera.Constants.FlashMode.off})),u.default.createElement(f.default.Button,{bold:!0,label:C.default.t('CLOSE'),onPress:function(){ae(!1)}})),pt&&u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:[q.containModal,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(k.default,{isVisible:pt,onSwipeComplete:function(){Et(!1)},swipeDirection:['down'],style:q.bottomModal},u.default.createElement(c.View,{style:[q.contentFilterBottom,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(c.View,{style:q.contentSwipeDown},u.default.createElement(c.View,{style:q.lineSwipeDown})),u.default.createElement(D.default,{body2:!0,style:{marginTop:10}},C.default.t('LIST_ASSURE')),u.default.createElement(c.FlatList,{data:null==(Ut=W.result)?void 0:Ut.response,extraData:null==(Ft=W.result)?void 0:Ft.response,ListEmptyComponent:u.default.createElement(D.default,{body2:!0},C.default.t('NO_ASSURE_MATCH_SEARCH')),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,u.default.createElement(c.View,{style:{paddingVertical:15,alignItems:'flex-start'}},u.default.createElement(c.TouchableOpacity,{style:[q.contentActionModalBottom,{borderBottomColor:y.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){'PAID'!==l.state?c.Alert.alert(C.default.t('ERROR_LABEL'),C.default.t('ASSURE_NON_EN_REGLE'),[{text:C.default.t('OK'),onPress:function(){}}]):(he(l),Se(null),Pt(1),Et(!1),Wt('lastname_patient',l.user.lastname),Wt('firstname_patient',l.user.firstname),R(l.user.id,'UNTREATED','EXECUTION',"&network_agent_id="+ne.network_agent_id))}},u.default.createElement(D.default,{body2:!0,semibold:!0},(null!==l.user.firstname?l.user.firstname:'')+" "+(null!==l.user.lastname?l.user.lastname:''))),l.beneficiaries.map(function(t){return u.default.createElement(c.TouchableOpacity,{style:q.beneficiarySubSection,onPress:function(){he(l),Se(t),Pt(0),Et(!1),Wt('lastname_patient',t.lastname),Wt('firstname_patient',t.firstname),R(l.user.id,'UNTREATED','EXECUTION',"&beneficiary_id="+t.id+"&network_agent_id="+ne.network_agent_id)}},u.default.createElement(c.View,{style:{width:10}}),u.default.createElement(c.View,{style:{paddingHorizontal:10,alignItems:'flex-start'}},u.default.createElement(D.default,{subhead:!0,semibold:!0},(null!==t.firstname?t.firstname:'')+" "+(null!==t.lastname?t.lastname:'')+" ("+C.default.t('AYANT_DROITS')+")")))}))}}),u.default.createElement(h.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return Et(!1)}},C.default.t('OK')))))),Ct&&u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:[q.containModal,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(k.default,{isVisible:Ct,onSwipeComplete:function(){wt(!1)},swipeDirection:['down'],style:q.bottomModal},u.default.createElement(c.View,{style:[q.contentFilterBottom,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(c.View,{style:q.contentSwipeDown},u.default.createElement(c.View,{style:q.lineSwipeDown})),u.default.createElement(D.default,{body2:!0,style:{marginTop:10}},C.default.t('MEDICAMENTS')),u.default.createElement(c.FlatList,{data:We.prescriptions,extraData:We.prescriptions,keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,u.default.createElement(c.TouchableOpacity,{style:[q.contentActionModalBottom,{borderBottomColor:y.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){ve(H({},l,{drugs:!0})),qe(H({},We,{prescriptions:We.prescriptions.map(function(t){return l.id===t.id?H({},t,{checked:!l.checked}):t})})),l.checked||st(!0)}},u.default.createElement(D.default,{body2:!0,semibold:!0,numberOfLines:2},l.quantity+" "+l.drug_or_device.name+" "+(l.unit_price?' - '+l.unit_price:'')+" \n "+l.dosage),l.checked&&u.default.createElement(O.default,{name:"check",size:14,color:y.Color.primaryColor}))}}),u.default.createElement(h.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return wt(!1)}},C.default.t('OK')))))),He&&u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:[q.containModal,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(k.default,{isVisible:He,onSwipeComplete:function(){Ye(!1)},swipeDirection:['down'],style:q.bottomModal},u.default.createElement(c.View,{style:[q.contentFilterBottom,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(c.View,{style:q.contentSwipeDown},u.default.createElement(c.View,{style:q.lineSwipeDown})),u.default.createElement(D.default,{body2:!0,style:{marginTop:10}},C.default.t('LIST_EXECUTION')),u.default.createElement(c.FlatList,{data:null==(Lt=K.result)?void 0:Lt.response,extraData:null==(Mt=K.result)?void 0:Mt.response,ListEmptyComponent:u.default.createElement(D.default,{body2:!0},C.default.t('NO_EXECUTION')),keyExtractor:function(t,l){return l},renderItem:function(t){var l=t.item;return t.index,u.default.createElement(c.TouchableOpacity,{style:[q.contentActionModalBottom,{borderBottomColor:y.Color.borderColor,width:"100%"}],key:l.id,onPress:function(){at(l),$e(!0)}},u.default.createElement(D.default,{body2:!0,semibold:!0},l.type+" #"+l.health_care_sheet_id+" - "+Y(l.created_at).format('YYYY-MM-DD')))}}),u.default.createElement(h.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:function(){return Ye(!1)}},C.default.t('OK')))))),Ze&&u.default.createElement(f.default.Container,{useNativeDriver:!0,visible:Ze},u.default.createElement(f.default.Title,null,C.default.t('DETAIL')),u.default.createElement(c.ScrollView,{persistentScrollbar:!0},u.default.createElement(c.View,{style:[q.blockView,{borderBottomColor:y.Color.borderColor}]},u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},C.default.t('PATIENT'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},lt.patient_lastname+" "+lt.patient_firstname))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},"Situation")),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},lt.patient_situation.toLowerCase()))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},C.default.t('PRATICIEN'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},lt.practitioner_lastname+" "+lt.practitioner_firstname))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},C.default.t('CLASSE_PRESTATAIRE'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},(0,U.uppercaseFirstLetter)(lt.practitioner_provider_class.toLowerCase())))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},C.default.t('STATE'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},(0,U.uppercaseFirstLetter)(lt.state.toLowerCase())))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},"Type")),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},(0,U.uppercaseFirstLetter)(lt.type.toLowerCase())))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},C.default.t('CONDITION_PRISE_CHARGE'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},(0,U.uppercaseFirstLetter)(lt.care_condition.toLowerCase())))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},C.default.t('INSTITUTE_NAME'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},(0,U.uppercaseFirstLetter)(lt.institution_name.toLowerCase())))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},"Date")),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},Y(lt.created_at).format('YYYY-MM-DD')))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},C.default.t('PRESTATION'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},lt.performances.map(function(t){return u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},t.act.name+" \n "+t.amount+" \n")}))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},C.default.t('EXAMEN'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},lt.exams.map(function(t){return u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},t.description+" \n "+t.act.name+" \n")}))),u.default.createElement(c.View,{style:{flexDirection:'row',marginTop:10}},u.default.createElement(c.View,{style:{flex:1}},u.default.createElement(D.default,{style:[q.body2]},C.default.t('MEDICAMENT'))),u.default.createElement(c.View,{style:{flex:1,alignItems:'flex-end'}},lt.prescriptions.map(function(t){return u.default.createElement(D.default,{style:[j.Typography.caption1,y.Color.grayColor]},t.drug_or_device.name+" \n "+t.dosage+" \n")}))))),u.default.createElement(f.default.Button,{bold:!0,label:C.default.t('CANCEL_LABEL'),onPress:function(){$e(!1)}}),u.default.createElement(f.default.Button,{bold:!0,label:C.default.t('OK'),onPress:function(){$e(!1),Et(!1),Ye(!1),qe(lt),Wt('practitioner_firstname',lt.practitioner_firstname),Wt('practitioner_lastname',lt.practitioner_lastname),Oe.current.next()}})),ct&&u.default.createElement(p.Formik,{validationSchema:kt,initialValues:{price:Ve.unit_price},onSubmit:function(t){console.log("Value",Ve),Ve.examen?qe(H({},We,{exams:We.exams.map(function(l){return Ve.id===l.id?H({},l,{unit_price:t.price}):l})})):qe(H({},We,{prescriptions:We.prescriptions.map(function(l){return Ve.id===l.id?H({},l,{unit_price:t.price}):l})})),st(!1)}},function(t){var l=t.values,n=t.errors,o=t.touched,s=t.handleChange,f=(t.setFieldValue,t.setFieldTouched,t.handleBlur),p=t.handleSubmit;return t.isSubmitting,u.default.createElement(c.ScrollView,{style:{flex:1}},u.default.createElement(c.View,{style:[q.containModal,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(k.default,{isVisible:ct,onSwipeComplete:function(){st(!1)},swipeDirection:['down'],style:q.bottomModal},u.default.createElement(c.View,{style:[q.contentFilterBottom,{backgroundColor:y.Color.containerBackgroundColor}]},u.default.createElement(c.View,{style:q.contentSwipeDown},u.default.createElement(c.View,{style:q.lineSwipeDown})),u.default.createElement(D.default,{body2:!0,style:{marginTop:10}},C.default.t('AMOUNT_LABEL')),u.default.createElement(x.default,{style:{marginTop:10},placeholder:C.default.t('AMOUNT_LABEL_DESCRIPTION'),value:l.price,onChangeText:s('price'),onBlur:f('price'),success:o.price&&!n.price,touched:o.price,error:n.price,keyboardType:"numeric"}),u.default.createElement(h.default,{full:!0,style:{marginTop:10,marginBottom:20},onPress:p},C.default.t('OK'))))))})))))});e.default=J},2202,[4,1,7,27,15,18,1046,1639,1827,1950,1031,719,2147,2162,534,1779,2164,718,2158,2180,2182,2186,2187,1013,538,2157,771,749,979,1823,2188,2194,1658,1107,1032,1079,1189]); -__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])),o=t(r(d[3])),f=r(d[4]),u=l(r(d[5])),c=r(d[6]),s=r(d[7]),y=l(r(d[8])),E=r(d[9]),p=r(d[10]),w=l(r(d[11])),C=r(d[12]),x=r(d[13]),T=r(d[14]),V=l(r(d[15])),b=t(r(d[16])),_=l(r(d[17])),h=r(d[18]),I=l(r(d[19])),D=l(r(d[20])),S=l(r(d[21])),A=r(d[22]),R=f.Dimensions.get('window'),L=(R.width,R.height,(0,C.createStructuredSelector)({subscriptionList:x.selectSubscriptionList,activatePaySubscription:x.selectActivatePaySubscription,getConsultation:x.selectGetConsultation,acceptRefuseConsultation:x.selectAcceptRefuseConsultation})),O=(0,c.connect)(L,{fetchActivePaySubscription:p.fetchActivePaySubscription,fetchGetConsultation:p.fetchGetConsultation,fetchAcceptRejectConsultation:p.fetchAcceptRejectConsultation,fetchGetSubscription:p.fetchGetSubscription,fetchGetDemandeAutorisationSoin:p.fetchGetDemandeAutorisationSoin})(function(t){t.navigation;var l=t.fetchGetConsultation,C=t.fetchGetSubscription,x=t.fetchGetDemandeAutorisationSoin,R=(t.fetchAcceptRejectConsultation,t.acceptRefuseConsultation,t.getConsultation),L=(0,c.useDispatch)(),O=(0,o.useState)(null),P=(0,n.default)(O,2),v=P[0],B=P[1],M=(0,o.useState)(!1),U=(0,n.default)(M,2),G=U[0],Y=U[1],k=(0,o.useState)({}),F=(0,n.default)(k,2),W=F[0],j=F[1],z=(0,o.useState)(1),H=(0,n.default)(z,2),K=H[0],q=H[1],X=(0,o.useState)(y.default.t('SOINS')),J=(0,n.default)(X,2),Q=J[0],Z=J[1],$=(0,o.useState)(!1),ee=(0,n.default)($,2),te=ee[0],le=ee[1],ae=(0,o.useState)([]),re=(0,n.default)(ae,2),ne=re[0],oe=re[1];var ie,fe;ie=(0,o.useState)(0),(fe=(0,n.default)(ie,2))[0],fe[1];(0,o.useEffect)(function(){L((0,p.fetchGetConsultationReset)()),L((0,p.fetchAcceptRejectConsultationReset)()),(0,T.readUser)().then(function(t){B(t),console.log("User",t),l(t.id,'ALL','','&pagination=true&page=1')})},[]),(0,o.useEffect)(function(){null!==R.result&&(K bindActionCreators({ getNanoCreditUserHistoryReset, fetchGetSubscriptionListReset, + fetchGetDrugAppareilReset, fetchGetUserByNameOrNumberReset, fetchGetUserByIdQRCodeReset, fetchGetProviderClassReset, diff --git a/screens/wallet/agent/ModifierFeuilleSoinScreen.js b/screens/wallet/agent/ModifierFeuilleSoinScreen.js index f3632788..814dc6cb 100644 --- a/screens/wallet/agent/ModifierFeuilleSoinScreen.js +++ b/screens/wallet/agent/ModifierFeuilleSoinScreen.js @@ -2025,7 +2025,7 @@ const ModifierFeuilleSoinScreen = ({ 'firstname_patient', beneficiary.firstname, ); - fetchGetConsultation(item.user.id, 'TO_BILL', 'CONSULTATION', `&beneficiary_id=${beneficiary.id}`); + fetchGetConsultation(item.user.id, 'UNTREATED', 'CONSULTATION', `&beneficiary_id=${beneficiary.id}`); }}> diff --git a/screens/wallet/user/HistoriqueNanoSanteUserScreen.js b/screens/wallet/user/HistoriqueNanoSanteUserScreen.js index dcbadc8a..80bf51eb 100644 --- a/screens/wallet/user/HistoriqueNanoSanteUserScreen.js +++ b/screens/wallet/user/HistoriqueNanoSanteUserScreen.js @@ -405,6 +405,17 @@ const HistoriqueNanoSanteUserScreen = ({ : + + + + {I18n.t('NETWORK')} + + + {historyItemDetail.network.name} + + + {I18n.t('PATIENT')} @@ -664,6 +675,11 @@ const HistoriqueNanoSanteUserScreen = ({ item });*/ }}> + + + {`${I18n.t('NETWORK')}: ${item.network.name}`} + + { setUser(user); console.log("User", user); - fetchGetConsultation(user.id, 'UNTREATED', ''); + fetchGetConsultation(user.id, 'UNTREATED_ALL', ''); }); dispatch(fetchGetConsultationReset()); dispatch(fetchAcceptRejectConsultationReset()); @@ -105,8 +105,9 @@ const ValidateConsultationScreen = ({ { text: I18n.t("OK"), onPress: () => { dispatch(fetchAcceptRejectConsultationReset()); - fetchGetConsultation(user.id); setDisplayModalHistory(false); + if (user !== null) + fetchGetConsultation(user.id, 'UNTREATED_ALL', ''); } } @@ -114,7 +115,7 @@ const ValidateConsultationScreen = ({ {cancelable: false} ); if (user !== null) - fetchGetConsultation(user.id, 'UNTREATED'); + fetchGetConsultation(user.id, 'UNTREATED_ALL', ''); } if (acceptRefuseConsultation.error) { @@ -125,6 +126,9 @@ const ValidateConsultationScreen = ({ { text: I18n.t("OK"), onPress: () => { dispatch(fetchAcceptRejectConsultationReset()); + setDisplayModalHistory(false); + if (user !== null) + fetchGetConsultation(user.id, 'UNTREATED_ALL', ''); } } ], @@ -136,9 +140,6 @@ const ValidateConsultationScreen = ({ Utils.getErrorMsg(acceptRefuseConsultation), ); dispatch(fetchAcceptRejectConsultationReset());*/ - setDisplayModalHistory(false); - if (user !== null) - fetchGetConsultation(user.id, 'UNTREATED'); } }, [acceptRefuseConsultation]); @@ -168,6 +169,15 @@ const ValidateConsultationScreen = ({ + + + {I18n.t('NETWORK')} + + + {`${historyItemDetail.network.name}`} + + {I18n.t('PATIENT')} @@ -320,6 +330,12 @@ const ValidateConsultationScreen = ({ item });*/ }}> + + + {`${I18n.t('NETWORK')}: ${item.network.name}`} + + + {`${I18n.t('PATIENT')}: ${item.patient_lastname} ${item.patient_firstname}`}