{"version":3,"sources":["webpack:///./src/services/business.http.js","webpack:///./src/services/teams.http.js","webpack:///./src/composables/validation.js","webpack:///./src/assets/bvnOtpVerified.svg","webpack:///./src/components/contents/AuthV2/Otp.scss?e0ed","webpack:///./src/views/AuthV2/UserInfo/VerifyPhoneByOtp.vue","webpack:///./src/components/contents/AuthV2/UserInfo/VerifyPhoneByOtp/VerifyPhoneByOtp.vue","webpack:///./src/composables/useUpdateLocalStorage.js","webpack:///./src/components/contents/AuthV2/UserInfo/VerifyPhoneByOtp/VerifyPhoneByOtp.vue?c515","webpack:///./src/views/AuthV2/UserInfo/VerifyPhoneByOtp.vue?d959","webpack:///./src/components/base/OTPInput/index.vue?ec92","webpack:///./src/components/contents/AuthV2/Otp.vue","webpack:///./src/components/reusables/Countdown.vue","webpack:///./src/components/reusables/Countdown.vue?208c","webpack:///./src/components/contents/AuthV2/Otp.vue?c030","webpack:///./src/components/base/OTPInput/index.vue","webpack:///./src/components/base/OTPInput/index.vue?a016","webpack:///./src/components/contents/AuthV2/UserInfo/VerifyPhoneByOtp/VerifyPhoneByOtp.scss?b90b"],"names":["Business","constructor","api","this","http","walletReservedAccount","get","getUserBusinesses","email","params","verifyBvn","payload","post","confirmBvnOtp","otp","fetchBusinessDetails","toggleSelfDelivery","patch","fetchShippingAddresses","page","limit","deleteShippingAddress","addressId","delete","deactivateShippingAddress","createShippingAddress","updateShippingAddress","put","updateBusinessUserEmail","oldEmail","newEmail","updateBusinessUserPhone","oldPhoneNumber","newPhoneNumber","eams","api2","http2","defaults","headers","common","localStorage","getItem","fetchPermissions","businessId","fetchRoles","fetchRole","roleId","storeRole","updateRole","deleteRole","data","fetchTeamMembers","fetchTeamMember","memberId","storeTeamMember","updateTeamMember","deleteMember","required","val","errMsg","digitLength","length","field","trim","validEmail","pattern","test","validPhoneDigits","text","re","equalsTo","match","module","exports","_createBlock","_component_UserInfoVerifyPhoneByOtp","class","style","_createElementBlock","_normalizeClass","_ctx","$q","screen","xs","_createVNode","_component_q_card","flat","_component_Header","step1Active","_createElementVNode","_hoisted_1","_hoisted_2","$data","phoneOtpVerified","_hoisted_3","alt","src","_imports_0","_hoisted_4","_component_AppButton","label","onClick","_cache","$event","$options","continueBtn","loading","processingOtp","_hoisted_5","_component_Otp","onOtp","confirmPhoneOtp","resendLoading","onSendOtp","sendOtp","initialTime","currentTime","onUpdateTime","updateTime","onCountdownEnded","message","_withCtx","_hoisted_6","_toDisplayString","userMobile","editPhoneModal","_component_AppModal","title","show","onClosecard","headerStyle","padding","width","height","_hoisted_7","_hoisted_8","_component_AppInput","placeholder","newPhone","digit","mask","unmasked-value","country-code","countryCode","phone","rules","lazy-rules","processPhoneEdit","disabled","editPhoneLoading","useUpdateLocalStorage","userKey","businessDataKey","businessKey","userData","businessData","business","phoneNumber","setItem","JSON","stringify","components","Header","AppInput","AppButton","AppModal","Otp","mixins","authMixin","authRulesMixin","businessService","authv2Service","authService","teamService","complianceService","onboardingService","verifyCode","updatePhoneLoading","phoneOtpLoading","form","userPhone","provider","name","customerReference","computed","sizes","parse","mounted","getLivelinessProvider","initializeCountdown","methods","e","verifyOtp","phoneToken","loginResponse","authenticateWithJwt","keysObj","setAuth","$mixpanel","track","platform","time","Date","setVuexLoginDetails","showMessage","$router","push","err","_err$response","response","error","processOtpVerification","updatePhoneOnStore","savedTime","remainingTime","savedAt","elapsedTime","Math","floor","now","max","startCountdown","removeItem","newTime","getCode","_error$response","_error$response2","status","newPhoneObj","oldPhone","businessOwnerData","result","msg","_err$response2","created","AuthService","$api1","$api2","AuthV2Service","BusinessService","ComplianceService","TeamService","OnboardingService","__exports__","QCard","UserInfoVerifyPhoneByOtp","render","_renderSlot","$slots","undefined","_component_OtpInput","onOtpData","getOtpData","_withModifiers","requestNewOtp","force","$props","_component_q_spinner","key","_component_Countdown","$emit","disable","minutes","seconds","props","type","Number","default","emits","timer","timeLeft","String","padStart","startTimer","beforeUnmount","clearInterval","setInterval","watch","OtpInput","Countdown","Boolean","verifyLoading","verificationType","verificationCode","verifyBvnByOtp","QSpinner","_Fragment","_renderList","n","ref","outlined","errorMessage","maxlength","onfocus","readonly","verifyAccount","pointer","clearError","Object","values","toString","replace","clearInput","i","$refs","focus"],"mappings":"kHAAA,kCAAe,MAAMA,EAInBC,YAAYC,GACVC,KAAKC,KAAOF,EAGdG,wBACE,OAAOF,KAAKC,KAAKE,IAAI,yCAEvBC,kBAAkBC,GAChB,OAAOL,KAAKC,KAAKE,IAAI,wCAAyC,CAC5DG,OAAQ,CACND,WAKNE,UAAUC,GACR,OAAOR,KAAKC,KAAKQ,KAAK,0BAA2BD,GAGnDE,cAAcC,GACZ,OAAOX,KAAKC,KAAKQ,KAAK,8BAA+B,CAAEE,QAGzDC,uBACE,OAAOZ,KAAKC,KAAKE,IAAI,wBAGvBU,qBACE,OAAOb,KAAKC,KAAKa,MAAM,6CAGzBC,uBAAuBC,EAAO,EAAGC,EAAQ,GACvC,OAAOjB,KAAKC,KAAKE,IACf,uCAAuCa,WAAcC,KAIzDC,sBAAsBC,GACpB,OAAOnB,KAAKC,KAAKmB,OAAO,kCAAkCD,GAG5DE,0BAA0BF,GACxB,OAAOnB,KAAKC,KAAKQ,KACf,kCAAkCU,kBAItCG,sBAAsBd,GACpB,OAAOR,KAAKC,KAAKQ,KAAK,kCAAmCD,GAG3De,sBAAsBJ,EAAWX,GAC/B,OAAOR,KAAKC,KAAKuB,IACf,mCAAmCL,EACnCX,GAIJiB,yBAAwB,SAAEC,EAAQ,SAAEC,IAClC,OAAO3B,KAAKC,KAAKuB,IAAI,qCAAsC,CACzDE,WACAC,aAIJC,yBAAwB,eAAEC,EAAc,eAAEC,IACxC,OAAO9B,KAAKC,KAAKuB,IAAI,qCAAsC,CACzDK,iBACAC,sB,oCCxEN,kCAAe,MAAMC,EAIjBjC,YAAYC,EAAKiC,GACbhC,KAAKC,KAAOF,EACZC,KAAKiC,MAAQD,EAEbhC,KAAKC,KAAKiC,SAASC,QAAQC,OAAO,iBAAmBC,aAAaC,QAAQ,SAC1E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AASG,GAAQ,CAAC,YAAY,qBAE1E,U,gFCTf","file":"js/chunk-603a27b9.9fa485b9.js","sourcesContent":["export default class Business {\n /**\n * @constructor\n */\n constructor(api) {\n this.http = api;\n }\n\n walletReservedAccount() {\n return this.http.get(\"/v1/business/reserved-account-details\");\n }\n getUserBusinesses(email) {\n return this.http.get(\"/v1/business/business-user/businesses\", {\n params: {\n email,\n },\n });\n }\n\n verifyBvn(payload) {\n return this.http.post(\"/v1/business/verify/bvn\", payload);\n }\n\n confirmBvnOtp(otp) {\n return this.http.post(\"/v1/business/verify/bvn/otp\", { otp });\n }\n\n fetchBusinessDetails() {\n return this.http.get(\"/v1/business/details\");\n }\n\n toggleSelfDelivery() {\n return this.http.patch(\"v1/business/settings/toggle-self-delivery\");\n }\n\n fetchShippingAddresses(page = 1, limit = 5) {\n return this.http.get(\n `v1/business/shipping-addresses?page=${page}&limit=${limit}`\n );\n }\n\n deleteShippingAddress(addressId) {\n return this.http.delete(`v1/business/shipping-addresses/${addressId}`);\n }\n\n deactivateShippingAddress(addressId) {\n return this.http.post(\n `v1/business/shipping-addresses/${addressId}/toggle-state`\n );\n }\n\n createShippingAddress(payload) {\n return this.http.post(\"/v1/business/shipping-addresses\", payload);\n }\n\n updateShippingAddress(addressId, payload) {\n return this.http.put(\n `/v1/business/shipping-addresses/${addressId}`,\n payload\n );\n }\n\n updateBusinessUserEmail({ oldEmail, newEmail }) {\n return this.http.put(\"/v1/business/business-email/update\", {\n oldEmail,\n newEmail,\n });\n }\n\n updateBusinessUserPhone({ oldPhoneNumber, newPhoneNumber }) {\n return this.http.put(\"/v1/business/business-phone/update\", {\n oldPhoneNumber,\n newPhoneNumber,\n });\n }\n}\n","export default class eams {\n /**\n * @constructor\n */\n constructor(api, api2) {\n this.http = api;\n this.http2 = api2\n\n this.http.defaults.headers.common[\"Authorization\"] = localStorage.getItem('token');\n this.http2.defaults.headers.common[\"Authorization\"] = localStorage.getItem('token');\n }\n\n fetchPermissions(businessId) {\n return this.http2.get(`/v1/business/teams/permissions?businessId=${businessId}`);\n }\n \n fetchRoles(businessId) {\n return this.http2.get(`/v1/business/teams/roles?businessId=${businessId}`);\n }\n \n fetchRole(businessId, roleId) {\n return this.http2.get(`/v1/business/teams/roles/${roleId}?businessId=${businessId}`);\n }\n \n storeRole(payload) {\n return this.http2.post(`/v1/business/teams/roles`, payload);\n }\n\n updateRole(roleId, payload) {\n return this.http2.put(`/v1/business/teams/roles/${roleId}`, payload);\n }\n\n deleteRole(roleId, payload) {\n return this.http2.delete(`/v1/business/teams/roles/${roleId}`, { data : payload});\n }\n\n\n fetchTeamMembers(params) {\n return this.http2.get(`/v1/business/teams/members`, {\n params\n });\n }\n \n fetchTeamMember(businessId, memberId) {\n return this.http2.get(`/v1/business/teams/members/${memberId}?businessId=${businessId}`);\n }\n\n storeTeamMember(payload) {\n return this.http2.post(`/v1/business/teams/members`, payload);\n }\n\n updateTeamMember(memberId, payload) {\n return this.http2.put(`/v1/business/teams/members/${memberId}`, payload);\n }\n\n deleteMember(memberId, payload) {\n return this.http2.delete(`/v1/business/teams/members/${memberId}`, { data: payload });\n }\n\n}\n","export const required = (val, errMsg = \"Required\") => {\n return !!val || errMsg\n}\n\nexport const digitLength = (val, length, field) => {\n const errMsg = `${field} must be ${length} digits.`;\n return val.trim().length === length || errMsg;\n}\n\nexport const validEmail = (email, errMsg = \"Please enter a valid email\") => {\n var pattern =\n // eslint-disable-next-line\n /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return pattern.test(email) || errMsg;\n}\n\n/**\n * Validate phone numbers with or without country code\n*/\n\nexport const validPhoneDigits = (text, errMsg = \"Enter a valid phone number\") => {\n // eslint-disable-next-line\n const re = /^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$/im;\n // const re = /^([0|\\+[0-9]{1,5})?([7-9][0-9]{9})$/\n\n return re.test(text) || errMsg;\n}\n\nexport const minLength = (val, minLength, errMsg) => {\n errMsg = errMsg || `Please enter minimum of ${minLength} characters`;\n return val.trim().length >= minLength || errMsg;\n}\nexport const maxLength = (val, maxLength, errMsg) => {\n errMsg = errMsg || `Please enter maximum of ${maxLength} characters`;\n return val.trim().length >= maxLength || errMsg;\n}\n\nexport const equalsTo = (val, match, errMsg = \"Passwords do not match\") => {\n return val === match || errMsg;\n}\n\nexport const validName = (name, errMsg = \"Please enter a valid name\") => {\n const minNameLength = 3;\n if (name.length < minNameLength) {\n return errMsg;\n }\n const re = /^[a-zA-Z-'. ]+$/;\n return re.test(name) || errMsg;\n}\n\nexport const validStoreName = (url, errMsg = \"Enter a valid store name\") => {\n const re = /^[a-z0-9]+$/gi;\n return re.test(url) || errMsg;\n}\n\nexport const validAlphabets = (name, errMsg = \"Enter only alphabets\") => {\n const re = /[^a-z\\s]/gi;\n return !re.test(name) || errMsg;\n}\nexport const validPhoneNumber = (text, errMsg = \"Enter a valid phone number\") => {\n // eslint-disable-next-line\n const re = /^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,8}$/im;\n return re.test(text)\n ? re.test(text).length !== 10\n ? errMsg\n : re.test(text)\n : errMsg;\n}\n\nexport const validPassword = (val, errMsg) => {\n const minLength = 8;\n if (val.trim().length < minLength) {\n return errMsg || \"Password must contain minimum of 8 characters\";\n }\n if (!/\\d/.test(val)) {\n return errMsg || \"Password must contain at least one digit\";\n }\n const uppercaseReg = /(?=.*[A-Z])/;\n if (!uppercaseReg.test(val)) {\n return errMsg || \"Password must contain an uppercase letter\";\n }\n return true;\n}\nexport const validNumber = (name, errMsg = \"Enter only numbers\") => {\n const re = /^[0-9]+$/;\n return re.test(name) || errMsg;\n}\nexport const validDate = (name, errMsg = \"Enter only numbers\") => {\n const re = /^(0[1-9]|1[0-2])\\/?([0-9]{4}|[0-9]{2})$/;\n console.log(name, re.test(name));\n return re.test(name) || errMsg;\n}\nexport const validCardNumber = (name, errMsg = \"Enter only numbers\") => {\n const re = /^(?=.*\\d)[\\d ]+$/;\n return re.test(name) || errMsg;\n}\nexport const minIntegerValue = (val, min, errMsg) => {\n errMsg = errMsg || `Please enter minimum of ${min}`;\n return +val >= min || errMsg;\n}\n /**\n * validAmount is separated from validNumber\n * to optionally handle comma separators or other amount specifics\n */\nexport const validAmount = (val, errMsg = \"Invalid amount entered\") => {\n return !Number.isNaN(+val) || errMsg;\n}\n","module.exports = __webpack_public_path__ + \"img/bvnOtpVerified.b85ded05.svg\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./Otp.scss?vue&type=style&index=0&id=5fb22e72&lang=scss&scoped=true\"","\n\n\n","\n\n\n\n\n","export function useUpdateLocalStorage(userKey = '', businessDataKey = '', businessKey = '' , userData, businessData , business, phoneNumber = '') {\n\n userData.userMobile = phoneNumber;\n businessData.phoneNumber = userData.userMobile\n business.phoneNumber = userData.userMobile\n\n return {\n userData: localStorage.setItem(userKey, JSON.stringify(userData)),\n businessData: localStorage.setItem(businessDataKey, JSON.stringify(businessData)),\n business: localStorage.setItem(businessKey, JSON.stringify(business)),\n }\n\n}","import { render } from \"./VerifyPhoneByOtp.vue?vue&type=template&id=c97be97c&scoped=true\"\nimport script from \"./VerifyPhoneByOtp.vue?vue&type=script&lang=js\"\nexport * from \"./VerifyPhoneByOtp.vue?vue&type=script&lang=js\"\n\nimport \"./VerifyPhoneByOtp.scss?vue&type=style&index=0&id=c97be97c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c97be97c\"]])\n\nexport default __exports__\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport qInstall from \"../../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QCard});\n","import { render } from \"./VerifyPhoneByOtp.vue?vue&type=template&id=16c70c6e\"\nimport script from \"./VerifyPhoneByOtp.vue?vue&type=script&lang=js\"\nexport * from \"./VerifyPhoneByOtp.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./index.vue?vue&type=style&index=0&id=7d22bbc4&lang=scss&scoped=true\"","\n\n\n\n\n","\n\n","import { render } from \"./Countdown.vue?vue&type=template&id=1e5087dd\"\nimport script from \"./Countdown.vue?vue&type=script&lang=js\"\nexport * from \"./Countdown.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./Otp.vue?vue&type=template&id=5fb22e72&scoped=true\"\nimport script from \"./Otp.vue?vue&type=script&lang=js\"\nexport * from \"./Otp.vue?vue&type=script&lang=js\"\n\nimport \"./Otp.scss?vue&type=style&index=0&id=5fb22e72&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5fb22e72\"]])\n\nexport default __exports__\nimport QSpinner from 'quasar/src/components/spinner/QSpinner.js';\nimport qInstall from \"../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QSpinner});\n","\n\n\n\n\n","import { render } from \"./index.vue?vue&type=template&id=7d22bbc4&scoped=true\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\n\nimport \"./index.vue?vue&type=style&index=0&id=7d22bbc4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7d22bbc4\"]])\n\nexport default __exports__","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!./VerifyPhoneByOtp.scss?vue&type=style&index=0&id=c97be97c&lang=scss&scoped=true\""],"sourceRoot":""}