{"version":3,"sources":["webpack:///./src/auth/Login.vue?774f","webpack:///./src/auth/Login.vue","webpack:///src/auth/Login.vue","webpack:///./src/auth/Login.vue?7e88","webpack:///./src/auth/Login.vue?283f"],"names":["attrs","staticClass","_c","oauthLoading","on","_vm","showEmailLogin","scopedSlots","invalid","validated","model","callback","expression","toggleCodeEntry","key","_e","staticRenderFns","render","extend","email","required","message","components","ValidationProvider","ValidationObserver","data","verificationCode","codeSent","haveCode","resendCountdown","resendInterval","computed","mapFields","resendDisabled","methods","mapActions","clearInterval","sendVerificationCode","startResendCountdown","error","verifyCodeAndLogin","code","setInterval","beforeDestroy","component"],"mappings":"kHAAA,W,2JCAuOA,EAAM,W,IAAC,EAAK,K,EAA8B,EAAM,S,OAAe,SAAG,YAAW,mBAAEC,UAAW,CAAc,YAAS,cAAwBA,SAAW,CAAuB,YAAS,wBAA+MD,GAAK,MAAC,C,YAAQ,aAAI,OAAIE,IAAG,6BAASF,IAAM,qBAAW,QAAU,C,YAAS,c,CAAU,mBAAcG,SAAY,YAAC,uBAACC,CAAE,EAAC,8L,MAAC,CAAsB,YAAiBH,UAAW,CAAeD,MAAM,CAAC,KAAO,GAAE,SAAIK,MAAO,UAA2BJ,QAAY,gBAAyEA,IAAqBC,MAAG,EAAQ,a,CAAQ,SAAO,CAAI,0BAAE,MAAK,CAAOD,UAAyED,GAAK,GAAC,0B,YAAQ,eAAI,sDAAE,YAAY,QAAEA,GAAK,OAAC,C,MAAC,CAAW,KAAO,OAAYI,CAAE,EAAC,O,YAAS,e,GAAiBC,GAAIC,cAAiB,EAACD,OAAIC,UAAc,C,MAAA,CAAC,YAAiBL,UAAW,CAAeD,MAAM,CAAC,MAAO,GAAE,iBAA6CC,IAA4BI,MAAO,YAAiJE,kBAAoB,oB,GAA6BC,OAAO,C,YAAEC,c,MAAY,C,KAAC,K,MAAyD,uBAAO,U,YAAI,e,GAAE,GAAEP,0BAAwB,yF,YAAO,O,2BAAuB,Q,EAAkB,U,UAAwC,GAAC,O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,KAASC,0D,6PCwHTC,eAAA,QAAAC,QACAD,eAAA,eACAE,OACAC,QAAA,2BAGe,OACfC,WAAA,CACAC,0BACAC,2BAEAC,OACA,OACAN,MAAA,GACAO,iBAAA,GACApB,gBAAA,EACAqB,UAAA,EACAC,UAAA,EACAC,gBAAA,EACAC,eAAA,OAGAC,SAAA,IACAC,eAAA,mCACAC,iBACA,YAAAJ,gBAAA,IAGAK,QAAA,IACAC,eAAA,mEACAtB,kBACA,KAAAe,UAAA,KAAAA,SACA,KAAAA,WACA,KAAAD,UAAA,EACA,KAAAG,iBACAM,cAAA,KAAAN,gBACA,KAAAD,gBAAA,KAIA,mCACA,UACA,KAAAQ,qBAAA,KAAAlB,OACA,KAAAQ,UAAA,EACA,KAAAC,UAAA,EACA,KAAAU,uBACA,MAAAC,MAIA,yBACA,UACA,KAAAC,mBAAA,CACArB,MAAA,KAAAA,MACAsB,KAAA,KAAAf,mBAGA,MAAAa,MAIA,yBACA,SAAAN,eAEA,UACA,KAAAI,qBAAA,KAAAlB,OACA,KAAAmB,uBACA,MAAAC,MAIAD,uBACA,KAAAT,gBAAA,GACA,KAAAC,eAAAY,YAAA,KACA,KAAAb,gBAAA,EACA,KAAAA,kBAEAO,cAAA,KAAAN,iBAEA,OAGAa,gBACA,KAAAb,gBACAM,cAAA,KAAAN,kBChN8U,I,wBCQ1Uc,EAAY,eACd,EACA,EACA5B,GACA,EACA,KACA,WACA,MAIa,aAAA4B,E","file":"static/js/chunk-50b02cb0.0720cd37.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=style&index=0&id=0c8e47ed&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"login-container\"},[_c('v-card',{staticClass:\"login-card\"},[_c('div',{staticClass:\"logo-image-container\"},[_c('img',{staticClass:\"logo-image\",attrs:{\"src\":\"/static/unstruct-robot.png\",\"alt\":\"UnStruct Logo\"}})]),_c('div',{staticClass:\"bold-title\"},[_vm._v(\"UnStruct\")]),_c('div',{staticClass:\"logo-text-subheader\"},[_vm._v(\" Turn any question into an instant podcast. Questions become knowledge shots - bite-sized 5-10 minute insights. Zero effort. Pure knowledge. \")]),_c('v-card-text',[_c('v-container',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-btn',{attrs:{\"dark\":\"\",\"block\":\"\",\"color\":\"primary\",\"loading\":_vm.oauthLoading},on:{\"click\":_vm.oauthLogin}},[_c('v-icon',{staticClass:\"black--text\",attrs:{\"left\":\"\"}},[_vm._v(\"mdi-google\")]),_c('span',{staticClass:\"black--text\"},[_vm._v(\"Continue with Google\")])],1)],1)],1),_c('v-row',{staticClass:\"mt-4\"},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"text-center\"},[_vm._v(\"or\")])])],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){_vm.showEmailLogin = !_vm.showEmailLogin}}},[_c('v-icon',{staticClass:\"black--text\",attrs:{\"left\":\"\"}},[_vm._v(\"mdi-email-outline\")]),_c('span',{staticClass:\"black--text\"},[_vm._v(\"Continue with Email\")])],1)],1)],1)],1)],1),_c('v-expand-transition',[(_vm.showEmailLogin)?_c('div',[_c('v-card-text',[_c('ValidationObserver',{scopedSlots:_vm._u([{key:\"default\",fn:function({ invalid, validated }){return [_c('v-container',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('ValidationProvider',{attrs:{\"name\":\"Email\",\"rules\":\"required|email\",\"immediate\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, valid }){return _c('v-text-field',{attrs:{\"label\":\"Email\",\"error-messages\":errors,\"success\":valid},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}})}}],null,true)})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-btn',{attrs:{\"text\":\"\",\"block\":\"\",\"color\":\"success\"},on:{\"click\":_vm.toggleCodeEntry}},[_vm._v(\" \"+_vm._s(_vm.haveCode ? \"Request new code\" : \"I already have a code\")+\" \")])],1)],1),(!_vm.haveCode && !_vm.codeSent)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"text\":\"\",\"color\":\"success\",\"loading\":_vm.loading,\"disabled\":invalid || !validated},on:{\"click\":_vm.handleSendVerificationCode}},[_vm._v(\" Send Verification Code \")])],1)],1):_vm._e(),(_vm.haveCode || _vm.codeSent)?_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('ValidationProvider',{attrs:{\"name\":\"Verification Code\",\"rules\":\"required\",\"immediate\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors, valid }){return _c('v-text-field',{attrs:{\"label\":\"Verification Code\",\"error-messages\":errors,\"success\":valid},model:{value:(_vm.verificationCode),callback:function ($$v) {_vm.verificationCode=$$v},expression:\"verificationCode\"}})}}],null,true)})],1),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-btn',{attrs:{\"text\":\"\",\"block\":\"\",\"color\":\"success\",\"loading\":_vm.loading,\"disabled\":invalid || !validated},on:{\"click\":_vm.handleVerifyCode}},[_vm._v(\" Verify and Login \")])],1),(!_vm.haveCode)?_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"text\":\"\",\"color\":\"success\",\"disabled\":_vm.resendDisabled},on:{\"click\":_vm.handleResendCode}},[_vm._v(\" Resend Code \"+_vm._s(_vm.resendCountdown > 0 ? `(${_vm.resendCountdown}s)` : '')+\" \")])],1):_vm._e()],1):_vm._e()],1)]}}],null,false,2948812738)})],1)],1):_vm._e()]),_c('v-card-actions',{staticClass:\"button-container\"},[_c('v-row',[_c('v-col',{staticClass:\"text-center\",attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"caption\"},[_vm._v(\" By signing in, you agree to our \"),_c('a',{attrs:{\"href\":\"https://ecsp.unstruct.ai/default/legal/terms-of-service\",\"target\":\"_blank\"}},[_vm._v(\"Terms of Service\")]),_vm._v(\" and \"),_c('a',{attrs:{\"href\":\"https://ecsp.unstruct.ai/default/legal/privacy-policy\",\"target\":\"_blank\"}},[_vm._v(\"Privacy Policy\")])])])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-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--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-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=0c8e47ed&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=0c8e47ed&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 \"0c8e47ed\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}