{"version":3,"sources":["webpack:///./src/views/SignUp.vue?7d6f","webpack:///./src/components/Auth/SignUpForm.vue?751a","webpack:///./src/components/Auth/SignUpForm.vue","webpack:///./src/components/Auth/SignUpForm.vue?6fc8","webpack:///./src/components/Auth/SignUpForm.vue?544c","webpack:///./src/views/SignUp.vue","webpack:///./src/views/SignUp.vue?8fb2","webpack:///./src/views/SignUp.vue?97c6"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticRenderFns","signUpCompleted","_m","_v","_s","$t","attrs","staticStyle","directives","name","rawName","value","expression","class","invalidEmail","domProps","on","$event","target","composing","email","invalidPassword","showPassword","Array","isArray","password","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","_q","toggleShowPassword","invalidConfirmPassword","showConfirmPassword","confirmPassword","_e","canSignup","signup","goTo","error","path","$router","push","confirm","checkInvalidEmail","checkPassword","checkConfirmPassword","user","dispatchSignIn","then","r","component","components","SignUpForm","title","htmlAttrs","lang","$root","$i18n","locale","meta","content"],"mappings":"iHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,eAAe,IACzJG,EAAkB,G,wBCDlB,EAAS,WAAa,IAAIP,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,6BAA6B,CAAGN,EAAIQ,gBAAmvNJ,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,0CAA0C,CAACN,EAAIS,GAAG,GAAGL,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,KAAK,CAACE,YAAY,MAAM,CAACN,EAAIU,GAAGV,EAAIW,GAAGX,EAAIY,GAAG,iCAAiCR,EAAG,IAAI,CAACJ,EAAIU,GAAGV,EAAIW,GAAGX,EAAIY,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AArB,cAAoC,SAAf,EAAM,gBAnC1B,eAAU,CACTC,WAAY,CACVC,WAAA,GAEF,WACE,MAAO,CACLC,MAAO,GAAGjE,KAAKW,GAAG,oBAClBuD,UAAW,CACTC,KAAMnE,KAAKoE,MAAMC,MAAMC,QAEzBC,KAAM,CACJ,CACExD,KAAM,cACNyD,QAAS,GAAGxE,KAAKW,GAAG,2BAEtB,CACEI,KAAM,WACNyD,QAAS,GAAGxE,KAAKW,GAAG,qBAEtB,CACEI,KAAM,iBACNyD,QAAS,GAAGxE,KAAKW,GAAG,2BAEtB,CACEI,KAAM,gBACNyD,QAAS,GAAGxE,KAAKW,GAAG,qBAEtB,CACEI,KAAM,sBACNyD,QAAS,GAAGxE,KAAKW,GAAG,iCAMT,WC7C+T,ICOhV,EAAY,eACd,EACAb,EACAQ,GACA,EACA,KACA,WACA,MAIa,e","file":"js/SignUp.03d5418a.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"home text-center\"},[_c('SignUpForm')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container content-space-1\"},[(!_vm.signUpCompleted)?_c('div',{staticClass:\"flex-grow-1 mx-auto\",staticStyle:{\"max-width\":\"28rem\"}},[_c('div',{staticClass:\"text-center mb-5 mb-md-7\"},[_c('h1',{staticClass:\"h2\"},[_vm._v(_vm._s(_vm.$t('view.home.welcome')))]),_c('p',[_vm._v(_vm._s(_vm.$t('auth.registerFillForm')))])]),_c('div',[_c('div',{staticClass:\"mb-3\"},[_c('label',{staticClass:\"form-label\",attrs:{\"for\":\"signupSimpleSignupEmail\"}},[_vm._v(_vm._s(_vm.$t('auth.yourEmail')))]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"form-control form-control-lg\",class:{'is-invalid': _vm.invalidEmail},attrs:{\"type\":\"email\",\"name\":\"email\",\"id\":\"signupSimpleSignupEmail\",\"placeholder\":\"name@example.com\",\"aria-label\":\"name@example.com\",\"required\":\"\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.email=$event.target.value}}}),_c('span',{staticClass:\"invalid-feedback\"},[_vm._v(_vm._s(_vm.$t('auth.emailError')))])]),_c('div',{staticClass:\"mb-3\"},[_c('label',{staticClass:\"form-label\",attrs:{\"for\":\"signupSimpleSignupPassword\"}},[_vm._v(_vm._s(_vm.$t('auth.password')))]),_c('div',{staticClass:\"input-group input-group-merge\",class:{'is-invalid': _vm.invalidPassword}},[((_vm.showPassword ? 'text': 'password')==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-control form-control-lg\",class:{'is-invalid': _vm.invalidPassword},attrs:{\"name\":\"password\",\"id\":\"signupSimpleSignupPassword\",\"placeholder\":_vm.$t('auth.passwordLength'),\"autocomplete\":\"new-password\",\"aria-label\":_vm.$t('auth.passwordLength'),\"required\":\"\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.password)?_vm._i(_vm.password,null)>-1:(_vm.password)},on:{\"change\":function($event){var $$a=_vm.password,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.password=$$a.concat([$$v]))}else{$$i>-1&&(_vm.password=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.password=$$c}}}}):((_vm.showPassword ? 'text': 'password')==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-control form-control-lg\",class:{'is-invalid': _vm.invalidPassword},attrs:{\"name\":\"password\",\"id\":\"signupSimpleSignupPassword\",\"placeholder\":_vm.$t('auth.passwordLength'),\"autocomplete\":\"new-password\",\"aria-label\":_vm.$t('auth.passwordLength'),\"required\":\"\",\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.password,null)},on:{\"change\":function($event){_vm.password=null}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-control form-control-lg\",class:{'is-invalid': _vm.invalidPassword},attrs:{\"name\":\"password\",\"id\":\"signupSimpleSignupPassword\",\"placeholder\":_vm.$t('auth.passwordLength'),\"autocomplete\":\"new-password\",\"aria-label\":_vm.$t('auth.passwordLength'),\"required\":\"\",\"type\":_vm.showPassword ? 'text': 'password'},domProps:{\"value\":(_vm.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value}}}),_c('a',{staticClass:\"input-group-append input-group-text cursor-pointer\",on:{\"click\":function($event){return _vm.toggleShowPassword()}}},[_c('i',{class:{'bi-eye': _vm.showPassword, 'bi-eye-slash': !_vm.showPassword}})])]),_c('span',{staticClass:\"invalid-feedback\"},[_vm._v(_vm._s(_vm.$t('auth.passwordError')))])]),_c('div',{staticClass:\"mb-3\"},[_c('label',{staticClass:\"form-label\",attrs:{\"for\":\"signupSimpleSignupConfirmPassword\"}},[_vm._v(_vm._s(_vm.$t('auth.confirmPassword')))]),_c('div',{staticClass:\"input-group input-group-merge\",class:{'is-invalid': _vm.invalidConfirmPassword}},[((_vm.showConfirmPassword ? 'text': 'password')==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.confirmPassword),expression:\"confirmPassword\"}],staticClass:\"form-control form-control-lg\",class:{'is-invalid': _vm.invalidConfirmPassword},attrs:{\"name\":\"confirmPassword\",\"id\":\"signupSimpleSignupConfirmPassword\",\"autocomplete\":\"new-password\",\"placeholder\":_vm.$t('auth.passwordLength'),\"aria-label\":_vm.$t('auth.passwordLength'),\"required\":\"\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.confirmPassword)?_vm._i(_vm.confirmPassword,null)>-1:(_vm.confirmPassword)},on:{\"change\":function($event){var $$a=_vm.confirmPassword,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.confirmPassword=$$a.concat([$$v]))}else{$$i>-1&&(_vm.confirmPassword=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.confirmPassword=$$c}}}}):((_vm.showConfirmPassword ? 'text': 'password')==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.confirmPassword),expression:\"confirmPassword\"}],staticClass:\"form-control form-control-lg\",class:{'is-invalid': _vm.invalidConfirmPassword},attrs:{\"name\":\"confirmPassword\",\"id\":\"signupSimpleSignupConfirmPassword\",\"autocomplete\":\"new-password\",\"placeholder\":_vm.$t('auth.passwordLength'),\"aria-label\":_vm.$t('auth.passwordLength'),\"required\":\"\",\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.confirmPassword,null)},on:{\"change\":function($event){_vm.confirmPassword=null}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.confirmPassword),expression:\"confirmPassword\"}],staticClass:\"form-control form-control-lg\",class:{'is-invalid': _vm.invalidConfirmPassword},attrs:{\"name\":\"confirmPassword\",\"id\":\"signupSimpleSignupConfirmPassword\",\"autocomplete\":\"new-password\",\"placeholder\":_vm.$t('auth.passwordLength'),\"aria-label\":_vm.$t('auth.passwordLength'),\"required\":\"\",\"type\":_vm.showConfirmPassword ? 'text': 'password'},domProps:{\"value\":(_vm.confirmPassword)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.confirmPassword=$event.target.value}}}),_c('a',{staticClass:\"input-group-append input-group-text cursor-pointer\",on:{\"click\":function($event){return _vm.toggleShowPassword(true)}}},[_c('i',{class:{'bi-eye': _vm.showConfirmPassword, 'bi-eye-slash': !_vm.showConfirmPassword}})])]),_c('span',{staticClass:\"invalid-feedback\"},[_vm._v(_vm._s(_vm.$t('auth.passwordConfirmError')))])]),(_vm.error)?_c('div',{staticClass:\"alert alert-danger\"},[_vm._v(\" \"+_vm._s(_vm.$t('auth.signInError'))+\" \")]):_vm._e(),_c('div',{staticClass:\"d-grid mb-3\"},[_c('button',{staticClass:\"btn btn-primary btn-lg\",attrs:{\"type\":\"button\",\"disabled\":!_vm.canSignup},on:{\"click\":function($event){return _vm.signup()}}},[_vm._v(_vm._s(_vm.$t('auth.signUp')))])]),_c('div',{staticClass:\"text-center\"},[_c('p',[_vm._v(_vm._s(_vm.$t('auth.alreadyHaveAccount'))+\" \"),_c('a',{staticClass:\"link cursor-pointer\",on:{\"click\":function($event){return _vm.goTo('/Login')}}},[_vm._v(_vm._s(_vm.$t('auth.logInHere')))])])])])]):_c('div',[_c('div',{staticClass:\"w-md-75 w-lg-50 text-center mx-md-auto\"},[_vm._m(0),_c('div',{staticClass:\"mb-5\"},[_c('h1',{staticClass:\"h2\"},[_vm._v(_vm._s(_vm.$t('auth.signUpCompletedTitle')))]),_c('p',[_vm._v(_vm._s(_vm.$t('auth.signUpCompletedMsg')))])]),_c('router-link',{staticClass:\"btn btn-primary btn-transition rounded-pill px-6\",attrs:{\"to\":\"/Login\"}},[_vm._v(\" \"+_vm._s(_vm.$t('auth.logInNow'))+\" \")])],1)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mb-5\"},[_c('img',{staticClass:\"img-fluid\",staticStyle:{\"width\":\"15rem\"},attrs:{\"src\":require(\"../../assets/hi-five.png\"),\"alt\":\"Congratulations\"}})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport user from \"@/store/user\";\r\nimport InputValidator from \"@/helper/inputValidator\";\r\n\r\n@Component\r\nexport default class SignUpForm extends Vue {\r\n\r\n private email = \"\";\r\n private password = \"\";\r\n private confirmPassword = \"\";\r\n\r\n private error = false;\r\n private invalidEmail = false;\r\n private invalidPassword = false;\r\n private invalidConfirmPassword = false;\r\n\r\n private showPassword = false;\r\n private showConfirmPassword = false;\r\n\r\n private signUpCompleted = false;\r\n\r\n goTo(path: string): void {\r\n this.$router.push(path);\r\n }\r\n\r\n toggleShowPassword(confirm: boolean): void {\r\n if (confirm) {\r\n this.showConfirmPassword = !this.showConfirmPassword;\r\n } else {\r\n this.showPassword = !this.showPassword;\r\n }\r\n }\r\n\r\n signup(): void {\r\n this.invalidEmail = !InputValidator.checkInvalidEmail(this.email);\r\n this.invalidPassword = !InputValidator.checkPassword(this.password);\r\n this.invalidConfirmPassword = !InputValidator.checkConfirmPassword(this.password, this.confirmPassword);\r\n\r\n if (this.invalidEmail || this.invalidPassword || this.invalidConfirmPassword) {\r\n return;\r\n }\r\n\r\n user.dispatchSignIn({ email: this.email, password: this.password }).then((r: boolean) => {\r\n if (r) {\r\n this.signUpCompleted = true;\r\n } else {\r\n this.error = true;\r\n }\r\n });\r\n }\r\n\r\n get canSignup(): boolean {\r\n return !!this.email && !!this.password && !!this.confirmPassword;\r\n }\r\n\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??ref--13-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignUpForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??ref--13-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignUpForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SignUpForm.vue?vue&type=template&id=875fb6ea&scoped=true&\"\nimport script from \"./SignUpForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./SignUpForm.vue?vue&type=script&lang=ts&\"\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 \"875fb6ea\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport SignUpForm from '@/components/Auth/SignUpForm.vue';\r\n\r\n@Component({\r\n components: {\r\n SignUpForm,\r\n },\r\n metaInfo() {\r\n return {\r\n title: `${this.$t('meta.signUpTitle')}`,\r\n htmlAttrs: {\r\n lang: this.$root.$i18n.locale\r\n },\r\n meta: [\r\n {\r\n name: 'description',\r\n content: `${this.$t('meta.signUpDescription')}`\r\n },\r\n {\r\n name: 'og:title',\r\n content: `${this.$t('meta.signUpTitle')}`\r\n },\r\n {\r\n name: 'og:description',\r\n content: `${this.$t('meta.signUpDescription')}`\r\n },\r\n {\r\n name: 'twitter:title',\r\n content: `${this.$t('meta.signUpTitle')}`\r\n },\r\n {\r\n name: 'twitter:description',\r\n content: `${this.$t('meta.signUpDescription')}`\r\n }\r\n ]\r\n }\r\n }\r\n})\r\nexport default class SignUp extends Vue {\r\n\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignUp.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/ts-loader/index.js??ref--13-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignUp.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SignUp.vue?vue&type=template&id=378706d0&scoped=true&\"\nimport script from \"./SignUp.vue?vue&type=script&lang=ts&\"\nexport * from \"./SignUp.vue?vue&type=script&lang=ts&\"\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 \"378706d0\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}