{"version":3,"sources":["webpack:///./src/views/Login.vue?8d99","webpack:///./src/assets/FinalLogo.png","webpack:///./src/views/Login.vue?4f7d","webpack:///src/views/Login.vue","webpack:///./src/views/Login.vue?1c03","webpack:///./src/views/Login.vue","webpack:///./src/api/user.js"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","_v","on","$event","preventDefault","authenticate","apply","arguments","invalid","directives","name","rawName","value","expression","domProps","target","composing","email","showPassword","Array","isArray","password","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","_q","staticRenderFns","data","methods","login","then","resp","console","log","$store","commit","jwt","$router","push","catch","err","mounted","initFormlessFloatingLabels","component","api","post","profile","get","updateProfile","resetPassword"],"mappings":"2IAAA,W,uBCAAA,EAAOC,QAAU,IAA0B,8B,yCCA3C,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,qEAAqE,CAACF,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,OAAOC,YAAY,CAAC,KAAO,OAAO,OAAS,QAAQ,MAAQ,QAAQ,gBAAgB,SAASC,MAAM,CAAC,IAAM,EAAQ,WAA8BJ,EAAG,KAAK,CAACE,YAAY,yBAAyBC,YAAY,CAAC,MAAQ,YAAY,CAACP,EAAIS,GAAG,sBAAsBL,EAAG,OAAO,CAACE,YAAY,4DAA4DC,YAAY,CAAC,WAAa,kBAAkB,MAAQ,SAASG,GAAG,CAAC,OAAS,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBZ,EAAIa,aAAaC,MAAM,KAAMC,cAAc,CAACX,EAAG,UAAU,CAACE,YAAY,eAAeE,MAAM,CAAC,KAAOR,EAAIgB,QAAQ,QAAU,YAAY,CAAChB,EAAIS,GAAG,+EAA+EL,EAAG,MAAM,CAACE,YAAY,mDAAmD,CAACF,EAAG,kBAAkB,CAACE,YAAY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AAhB,MAAA,KAAAA,MAAAI,SAAA,KAAAA,WACAc,eAAAF,GAAAG,KAAAC,IACAC,QAAAC,IAAA,uBACAD,QAAAC,IAAAF,GACA,KAAAG,OAAAC,OAAA,gBAAAC,IAAAL,EAAAJ,OACA,KAAAU,QAAAC,KAAA,WACAC,MAAAC,IACAR,QAAAC,IAAAO,GACA,KAAAtC,SAAA,MAIAuC,UACA,KAAAC,+BC/G8U,I,wBCQ1UC,EAAY,eACd,EACA1D,EACAyC,GACA,EACA,KACA,WACA,MAIa,aAAAiB,E,2CCnBf,wJAEA,MAAMd,EAASF,GAASiB,OAAIC,KAAK,SAAUlB,GAErCmB,EAAUA,IAAMF,OAAIG,IAAI,YAExBC,EAAiBrB,GAASiB,OAAIC,KAAK,iBAAkBlB,GAErDsB,EAAiBtB,GAASiB,OAAIC,KAAK,iBAAkBlB","file":"js/chunk-0b08aa72.6a40693f.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=style&index=0&id=b7c79584&prod&scoped=true&lang=css\"","module.exports = __webpack_public_path__ + \"img/FinalLogo.15e0675d.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"Login d-flex justify-content-center align-items-center min-vh-100\"},[_c('div',[_c('img',{staticClass:\"hero\",staticStyle:{\"flex\":\"none\",\"height\":\"250px\",\"width\":\"250px\",\"margin-bottom\":\"-60px\"},attrs:{\"src\":require(\"../assets/FinalLogo.png\")}}),_c('h2',{staticClass:\"mb-3 px-1 py-1 mx-auto\",staticStyle:{\"color\":\"#2596be\"}},[_vm._v(\"SOONFORWARD DEMO\")]),_c('form',{staticClass:\"text-gray-100 mx-auto mb-5 px-5 py-3 rounded-lg shadow-lg\",staticStyle:{\"background\":\"var(--bg-color)\",\"width\":\"400px\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.authenticate.apply(null, arguments)}}},[_c('b-alert',{staticClass:\"text-xs mb-4\",attrs:{\"show\":_vm.invalid,\"variant\":\"warning\"}},[_vm._v(\" There was an error with either the email or password. Please try again. \")]),_c('div',{staticClass:\"floating-label-container position-relative mt-2\"},[_c('b-icon-envelope',{staticClass:\"text-gray-600 position-absolute\",staticStyle:{\"left\":\"0\",\"top\":\"35%\"}}),_c('label',{staticClass:\"col-form-label floating-label text-left\",attrs:{\"for\":\"email\"}},[_vm._v(\" Email \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"form-control text-center pb-0\",attrs:{\"id\":\"email\",\"required\":\"\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.email=$event.target.value}}})],1),_c('div',{staticClass:\"floating-label-container position-relative\"},[_c('b-icon-key',{staticClass:\"text-gray-600 position-absolute\",staticStyle:{\"left\":\"0\",\"top\":\"35%\"}}),_c('label',{staticClass:\"col-form-label floating-label text-left\",attrs:{\"for\":\"password\"}},[_vm._v(\" Password \")]),((_vm.showPassword ? 'text' : 'password')==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-control text-center pb-0\",attrs:{\"id\":\"password\",\"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 text-center pb-0\",attrs:{\"id\":\"password\",\"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 text-center pb-0\",attrs:{\"id\":\"password\",\"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('b-button',{staticClass:\"text-gray-500 text-xs position-absolute border-0 py-0 px-1\",staticStyle:{\"right\":\"0\",\"top\":\"35%\",\"background\":\"var(--bg-color)\"},attrs:{\"type\":\"button\",\"variant\":\"light\"},on:{\"click\":function($event){_vm.showPassword = !_vm.showPassword}}},[_c('b-icon',{attrs:{\"icon\":_vm.showPassword ? 'eye' : 'eye-slash'}})],1)],1),_c('b-button',{staticClass:\"mt-4 mr-1 text-sm rounded-pill login-button\",attrs:{\"type\":\"submit\"}},[_vm._v(\" Login \")])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./Login.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!./Login.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=b7c79584&scoped=true\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\nimport style0 from \"./Login.vue?vue&type=style&index=0&id=b7c79584&prod&scoped=true&lang=css\"\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 \"b7c79584\",\n null\n \n)\n\nexport default component.exports","import api from './index';\n\nconst login = (data) => api.post('/login', data);\n\nconst profile = () => api.get('/profile');\n\nconst updateProfile = (data) => api.post('/updateProfile', data);\n\nconst resetPassword = (data) => api.post('/resetPassword', data);\n\nexport {\n login, profile, updateProfile, resetPassword,\n};\n"],"sourceRoot":""}