{"version":3,"sources":["webpack:///./src/views/settings/subaccounts/components/Header.vue?b83e","webpack:///./src/assets/images/account-details/icons8-approval 1.svg","webpack:///./src/views/settings/subaccounts/components/Header.vue?627a","webpack:///src/views/settings/subaccounts/components/Header.vue","webpack:///./src/views/settings/subaccounts/components/Header.vue?7a03","webpack:///./src/views/settings/subaccounts/components/Header.vue"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","activeFundPrompt","on","$event","_v","_s","account","name","directives","rawName","value","expression","model","callback","$$v","accountFund","errors","first","addFund","clearFund","activeConfirmFundPrompt","fundSubaccount","activeSuccessPrompt","errorPopup","show","accountUrl","class","blocked","email","accountStatusText","showConfirmationPopup","responsePopupData","confirmationPopupBody","block","staticRenderFns","data","accountStatus","accountBalance","type","body","props","computed","methods","$validator","reset","window","axios","post","component"],"mappings":"yIAAA,W,uBCAAA,EAAOC,QAAU,IAA0B,sC,yCCA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACA,EAAG,WAAW,CAACE,YAAY,SAASC,MAAM,CAAC,OAASP,EAAIQ,iBAAiB,kBAAiB,GAAMC,GAAG,CAAC,gBAAgB,SAASC,GAAQV,EAAIQ,iBAAiBE,KAAU,CAACN,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,IAAI,CAACE,YAAY,sBAAsB,CAACN,EAAIW,GAAG,cAAcP,EAAG,IAAI,CAACE,YAAY,oBAAoB,CAACN,EAAIW,GAAG,mCAAmCP,EAAG,IAAI,CAACJ,EAAIW,GAAGX,EAAIY,GAAGZ,EAAIa,QAAQC,SAASd,EAAIW,GAAG,2CAA2CP,EAAG,QAAQ,CAACE,YAAY,gBAAgB,CAACN,EAAIW,GAAG,YAAYP,EAAG,IAAI,CAACE,YAAY,qBAAqB,CAACN,EAAIW,GAAG,0EAA0EP,EAAG,WAAW,CA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AAO,QAAUrC,EAAIwC,UAAU,IAC5kFC,EAAkB,G,gDCqJtB,GACEC,KADF,WAEI,MAAO,CACLC,cAAe,SACfrB,YAAa,GACbsB,eAAgB,IAChBpC,kBAAkB,EAClBmB,yBAAyB,EACzBE,qBAAqB,EACrBQ,uBAAuB,EACvBC,kBAAmB,CACjBP,MAAM,GAERD,WAAY,CACVe,KAAM,QACNd,MAAM,EACNe,KAAM,MAIZC,MAAO,CAAC,WACRC,SAAU,CACRT,sBADJ,WAEM,OAA6B,IAAzBtC,KAAKY,QAAQqB,QACR,kCAAf,+BAEe,oCAAf,gCAIIE,kBATJ,WAUM,OAA6B,IAAzBnC,KAAKY,QAAQqB,QACR,SAEA,WAIXF,WAjBJ,WAkBM,OAAO,OAAb,SAAa,CAAb,yCAIEiB,QAAS,CACP,QADJ,uKAEA,2BAFA,OAGA,kBACA,yBAEA,gCANA,wGAUI,eAVJ,uKAYA,gCAZA,SAcA,kDACA,sBADA,SAEA,CACA,0BAjBA,uBAoBA,wCApBA,OAqBA,iBACA,4BAtBA,qDA2BA,iBACA,gDACA,wBA7BA,kHAiCIvB,UAjCJ,WAkCMzB,KAAKiD,WAAWC,QAChBlD,KAAKqB,YAAc,IAGrBkB,MAtCJ,WAsCA,WAEMvC,KAAKoC,uBAAwB,EAE7Be,OAAOC,MAAMC,KAAK,aAAxB,wCACA,kBACQ,EAAR,uCAEQ,EAAR,0BACQ,EAAR,iCACQ,EAAR,yIACQ,EAAR,uCACA,kBAEQ,EAAR,0BACQ,EAAR,+BACQ,EAAR,qDChQ6X,I,wBCQzXC,EAAY,eACd,EACAxD,EACA0C,GACA,EACA,KACA,WACA,MAIa,aAAAc,E","file":"js/chunk-6e0826e8.b18e7978.js","sourcesContent":["export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=style&index=0&id=0c3479d4&lang=scss&scoped=true&\"","module.exports = __webpack_public_path__ + \"img/icons8-approval 1.fdafabd8.svg\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vx-card',[_c('vs-popup',{staticClass:\"prompt\",attrs:{\"active\":_vm.activeFundPrompt,\"buttons-hidden\":true},on:{\"update:active\":function($event){_vm.activeFundPrompt=$event}}},[_c('div',{staticClass:\"popup-parent\"},[_c('p',{staticClass:\"prompt-titles mb-3\"},[_vm._v(\"Add Fund\")]),_c('p',{staticClass:\"prompt-body mb-8\"},[_vm._v(\"\\n Add fund to\\n \"),_c('b',[_vm._v(_vm._s(_vm.account.name))]),_vm._v(\" using your available balance\\n \")]),_c('label',{staticClass:\"prompt-label\"},[_vm._v(\"Amount\")]),_c('p',{staticClass:\"prompt-hints mt-2\"},[_vm._v(\"\\n The amount must Equal to or less than your avaliable balance\")]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|decimal:4|min:1|max:230'),expression:\"'required|decimal:4|min:1|max:230'\"}],staticClass:\"w-full mt-2\",attrs:{\"placeholder\":\"Amount\",\"name\":\"Amount\",\"type\":\"text\"},model:{value:(_vm.accountFund),callback:function ($$v) {_vm.accountFund=$$v},expression:\"accountFund\"}}),_c('span',{staticClass:\"mt-3 mb-3 text-danger text-sm block\"},[_vm._v(_vm._s(_vm.errors.first('Amount')))]),_c('div',{staticClass:\"flex flex-wrap mt-10 md:justify-end\"},[_c('button',{staticClass:\"md:ml-5 md:order-last add-fund-button\",on:{\"click\":function () {\n _vm.addFund();\n _vm.activeFundPrompt=false;\n }}},[_vm._v(\"Fund\")]),_c('button',{staticClass:\"pop-up-cancel-button\",attrs:{\"type\":\"border\"},on:{\"click\":function () {\n _vm.clearFund();\n _vm.activeFundPrompt=false;\n }}},[_vm._v(\"Cancel\")])])],1)]),_c('vs-popup',{attrs:{\"active\":_vm.activeConfirmFundPrompt,\"buttons-hidden\":true},on:{\"update:active\":function($event){_vm.activeConfirmFundPrompt=$event}}},[_c('div',{staticClass:\"px-6 py-10 md:p-16\"},[_c('img',{staticClass:\"mr-5 float-left\",attrs:{\"height\":\"34\",\"width\":\"34\",\"src\":require(\"@/assets/images/account-details/Question.svg\")}}),_c('div',{staticClass:\"md:flex md:flex-col\"},[_c('p',{staticClass:\"prompt-titles mb-5\"},[_vm._v(\"Add Fund Confirmation\")]),_c('p',{staticClass:\"prompt-body\"},[_vm._v(\"\\n Are you sure you want to add\\n \"),_c('b',[_vm._v(_vm._s(_vm.accountFund)+\"$\")]),_vm._v(\" to\\n \"),_c('b',[_vm._v(_vm._s(_vm.account.name)+\"'s\")]),_vm._v(\"\\n balance?\\n \")])]),_c('div',{staticClass:\"flex flex-wrap mt-10 md:justify-end\"},[_c('vs-button',{staticClass:\"w-full mb-4 md:mb-0 md:w-1/3 md:ml-5 md:order-last primary-btns\",on:{\"click\":_vm.fundSubaccount}},[_vm._v(\"Yes\")]),_c('vs-button',{staticClass:\"w-full md:w-32 cancel-btns\",attrs:{\"type\":\"border\"},on:{\"click\":function () {\n _vm.activeConfirmFundPrompt=false;\n _vm.clearFund();\n }}},[_vm._v(\"No\")])],1)])]),_c('vs-popup',{attrs:{\"title\":\"Success\",\"active\":_vm.activeSuccessPrompt,\"buttons-hidden\":true},on:{\"cancel\":_vm.clearFund,\"update:active\":function($event){_vm.activeSuccessPrompt=$event}}},[_c('div',{staticClass:\"px-8 py-10 md:p-12 flex flex-col items-center\"},[_c('img',{staticClass:\"mb-10\",attrs:{\"width\":\"100px\",\"height\":\"100px\",\"src\":require(\"@/assets/images/account-details/icons8-approval 1.svg\")}}),_c('p',{staticClass:\"confirm-box-body mb-6\"},[_vm._v(\"\\n Money has been added to\\n \"),_c('b',[_vm._v(_vm._s(_vm.account.name)+\"'s\")]),_vm._v(\" balance.\\n \")]),_c('vs-button',{staticClass:\"primary-btns w-full md:w-56\",on:{\"click\":function($event){_vm.activeSuccessPrompt=false}}},[_vm._v(\"Ok\")])],1)]),_c('speakol-response-popup',{attrs:{\"responsePopupData\":_vm.errorPopup},on:{\"hide-response-popup\":function($event){_vm.errorPopup.show = false}}}),_c('div',{staticClass:\"flex flex-wrap\"},[_c('div',{staticClass:\"flex w-full justify-center md:justify-start items-center md:w-1/2\"},[_c('div',{staticClass:\"relative mr-8\"},[_c('vs-avatar',{attrs:{\"size\":\"80px\",\"src\":_vm.accountUrl}}),_c('div',{class:[_vm.account.blocked === 0 ? 'green-dot' : 'red-dot']})],1),_c('div',[_c('p',{staticClass:\"account-name mb-2\"},[_vm._v(_vm._s(_vm.account.name))]),_c('div',{staticClass:\"account-email mb-2\"},[_vm._v(_vm._s(_vm.account.email))]),_c('p',{staticClass:\"account-status\"},[_vm._v(\"\\n status:\\n \"),_c('span',{class:[_vm.account.blocked === 0 ? 'active-color' : 'blocked-color']},[_vm._v(_vm._s(_vm.accountStatusText))])])])]),_c('div',{staticClass:\"flex w-full flex-wrap md:flex-no-wrap md:justify-end mt-5 md:w-1/2\"},[_c('vs-button',{staticClass:\"w-full primary-btns md:mr-5 md:w-48\",attrs:{\"color\":\"primary\",\"icon-pack\":\"speakol\",\"icon\":\"speakol-plus\"},on:{\"click\":function($event){_vm.activeFundPrompt=true}}},[_vm._v(\"Add Fund\")]),_c('vs-button',{staticClass:\"w-full mt-5 md:mt-0 md:w-40 cancel-btns\",attrs:{\"text-color\":\"red\",\"icon-pack\":\"speakol\",\"icon\":\"speakol-block\",\"type\":\"border\"},on:{\"click\":function($event){_vm.showConfirmationPopup=true}}},[_vm._v(\"\\n \"+_vm._s(_vm.account.blocked === 1 ? 'Unblock' : 'Block')+\"\\n \")])],1)]),_c('speakol-response-popup',{attrs:{\"responsePopupData\":_vm.responsePopupData},on:{\"hide-response-popup\":function($event){_vm.responsePopupData.show = false}}}),_c('speakol-confirmation-popup',{attrs:{\"showConfirmationPopup\":_vm.showConfirmationPopup,\"title\":'Confirmation',\"body\":_vm.confirmationPopupBody},on:{\"hide-confirmation-popup\":function($event){_vm.showConfirmationPopup = false},\"confirm\":_vm.block}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Header.vue?vue&type=template&id=0c3479d4&scoped=true&\"\nimport script from \"./Header.vue?vue&type=script&lang=js&\"\nexport * from \"./Header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Header.vue?vue&type=style&index=0&id=0c3479d4&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0c3479d4\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}