{"version":3,"sources":["webpack:///../../../src/components/VToolbar/index.ts","webpack:///./src/common/components/CForm.vue?f82c","webpack:///./src/common/components/CForm.vue","webpack:///./src/common/components/CForm.vue?8ca1","webpack:///./src/common/components/CForm.vue?393b","webpack:///./src/common/validators/rules.ts","webpack:///./src/components/login/Login.vue?b7ae","webpack:///./src/components/login/LoginFacebook.vue?7db8","webpack:///./src/components/login/LoginFacebook.vue","webpack:///./src/components/login/LoginFacebook.vue?ee57","webpack:///./src/components/login/LoginFacebook.vue?7453","webpack:///./src/components/login/LoginGoogle.vue?d9f9","webpack:///./src/components/login/LoginGoogle.vue","webpack:///./src/components/login/LoginGoogle.vue?47f4","webpack:///./src/components/login/LoginGoogle.vue?eeea","webpack:///./src/components/login/LoginEmailDialog.vue?d00d","webpack:///./src/components/login/LoginEmailDialog.vue","webpack:///./src/components/login/LoginEmailDialog.vue?e9f8","webpack:///./src/components/login/LoginEmailDialog.vue?7ddc","webpack:///./src/components/login/Login.vue","webpack:///./src/components/login/Login.vue?d1eb","webpack:///./src/components/login/Login.vue?5d26","webpack:///./node_modules/vue-google-login/dist/vue-google-login.min.js"],"names":["VToolbarTitle","VToolbarItems","render","_vm","this","_h","$createElement","_c","_self","attrs","loading","ref","on","$event","preventDefault","submit","close","_v","_e","_t","staticRenderFns","validate","$refs","form","reset","resetValidation","type","Boolean","String","default","CForm","components","VProgressLinear","VForm","VDivider","component","VBtn","VCard","VCardText","VIcon","VSpacer","VToolbar","required","v","Array","isArray","length","toString","trim","maxLength","email","test","requiredIf","other","message","staticClass","emailRequired","processing","loggedIn","loginFailed","redirect","disabled","logIn","profileStore","created","initFacebook","window","FB","login","response","authResponse","$emit","verify","token","accessToken","then","res","Promise","resolve","fbAsyncInit","init","appId","xfbml","version","cookie","AppEvents","logPageView","d","s","id","fjs","getElementsByTagName","getElementById","js","createElement","src","parentNode","insertBefore","document","LoginFacebook","class","getClass","params","onSuccess","onFailure","client_id","googleUser","getAuthResponse","id_token","err","LoginGoogle","GoogleLogin","model","value","callback","$$v","dialog","expression","save","scopedSlots","_u","key","fn","proxy","validators","open","setEmail","LoginEmailDialog","VAlert","VCol","VDialog","VRow","VTextField","emailSupplied","loggedInFailed","$appInsights","trackException","exception","$route","query","returnuri","$router","push","path","name","Login","VCardTitle","VImg","t","e","exports","n","i","onGapiLoad","gapi","load","auth2","Object","assign","o","reject","r","all","setAttribute","head","appendChild","signIn","signOut","isSignedIn","currentUser","grantOfflineAccess","u","c","a","l","options","_compiled","functional","_scopeId","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","call","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","f","h","beforeCreate","concat","renderParams","logoutButton","click","handleClick","props","onCurrentUser","Function","methods","catch","mounted","signin2","console","log","install","GoogleAuth","LoaderPlugin","defineProperty"],"mappings":"wGAAA,gGAMMA,EAAgB,eAAtB,oBACMC,EAAgB,eAAtB,oBAUI,Q,oCCjBJ,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACE,MAAM,CAAC,QAAUN,EAAIO,UAAU,CAACH,EAAG,SAAS,CAACI,IAAI,OAAOC,GAAG,CAAC,OAAS,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBX,EAAIY,OAAOF,MAAW,CAACN,EAAG,YAAY,CAACE,MAAM,CAAC,KAAO,GAAG,KAAO,GAAG,MAAQ,YAAY,CAAEN,EAAc,WAAEI,EAAG,QAAQ,CAACE,MAAM,CAAC,KAAO,GAAG,KAAO,IAAIG,GAAG,CAAC,MAAQT,EAAIa,QAAQ,CAACT,EAAG,SAAS,CAACJ,EAAIc,GAAG,gBAAgB,GAAGd,EAAIe,KAAKX,EAAG,kBAAkB,CAACJ,EAAIgB,GAAG,WAAW,GAAGZ,EAAG,YAAYA,EAAG,kBAAkB,CAACJ,EAAIgB,GAAG,UAAU,CAACZ,EAAG,QAAQ,CAACE,M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OAAM,SAAUrD,GAAG,OAAOD,EAAE5C,UAAU6C,QAAQsD,QAAQ,WAAW,IAAIvD,EAAEhJ,KAAK6J,EAAEN,KAAKvJ,KAAKkG,QAAQ3B,MAAK,WAAYyE,EAAE8C,eAAc,IAAK9C,EAAE+C,cAAcjI,OAAOwF,KAAKkD,QAAQ1M,OAAOkJ,EAAE3D,GAAG2D,EAAE8C,cAAcjC,EAAEO,cAAcpB,EAAEmD,cAActC,EAAEQ,kBAAkBiC,OAAM,SAAUtD,GAAGyD,QAAQC,IAAI1D,aAAQ,GAAO,OAAG,OAAO,OAAO,GAAQwB,EAAE,CAACmC,QAAQ,SAAS3D,EAAEC,GAAGD,EAAE4D,WAAW/C,EAAEN,KAAKN,KAAKD,EAAErC,YAAY4D,EAAEvB,EAAE6D,aAAarC,EAAExB,EAAEvH,QAAQ8I,EAAEd,OAAOqD,eAAe9D,EAAE,aAAa,CAACnC,OAAM","file":"js/auth.9ae417e2.js","sourcesContent":["// Components\nimport VToolbar from './VToolbar'\n\n// Utilities\nimport { createSimpleFunctional } from '../../util/helpers'\n\nconst VToolbarTitle = createSimpleFunctional('v-toolbar__title')\nconst VToolbarItems = createSimpleFunctional('v-toolbar__items')\n\nexport {\n VToolbar,\n VToolbarItems,\n VToolbarTitle,\n}\n\nexport default {\n $_vuetify_subcomponents: {\n VToolbar,\n VToolbarItems,\n VToolbarTitle,\n },\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{attrs:{\"loading\":_vm.loading}},[_c('v-form',{ref:\"form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.submit($event)}}},[_c('v-toolbar',{attrs:{\"flat\":\"\",\"dark\":\"\",\"color\":\"primary\"}},[(_vm.allowClose)?_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":_vm.close}},[_c('v-icon',[_vm._v(\"mdi-close\")])],1):_vm._e(),_c('v-toolbar-title',[_vm._t(\"header\")],2),_c('v-spacer'),_c('v-toolbar-items',[_vm._t(\"actions\",[_c('v-btn',{attrs:{\"dark\":\"\",\"text\":\"\",\"type\":\"submit\"}},[_vm._v(\"Save\")])])],2)],1),_c('v-divider'),_c('v-card-text',[_vm._t(\"default\")],2)],1)],1)}\nvar staticRenderFns = []\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\nimport { Component, Vue, Emit, Prop } from \"vue-property-decorator\";\nimport { VProgressLinear, VForm, VDivider } from \"vuetify/lib\";\n\n@Component({ components: { VProgressLinear, VForm, VDivider } })\nexport default class CForm extends Vue {\n @Prop({ type: Boolean }) loading!: boolean | false;\n @Prop({ type: String }) title!: string;\n @Prop({ type: Boolean, default: true }) allowClose!: boolean;\n\n validate() {\n return (this.$refs.form as any).validate();\n }\n\n reset() {\n return (this.$refs.form as any).reset();\n }\n\n resetValidation() {\n return (this.$refs.form as any).resetValidation();\n }\n\n @Emit()\n close() {\n return;\n }\n\n @Emit()\n submit() {\n return true;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CForm.vue?vue&type=template&id=71560bd6&\"\nimport script from \"./CForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./CForm.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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarItems } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VBtn,VCard,VCardText,VDivider,VForm,VIcon,VSpacer,VToolbar,VToolbarItems,VToolbarTitle})\n","export const required = () => (v: any) => (Array.isArray(v) ? v.length > 0 : v && !!v.toString().trim()) || \"Required\";\nexport const dateAfter = (otherDate: Date, message: string) => (v: any) =>\n (otherDate && new Date(v) > new Date(otherDate)) || message;\nexport const dateBefore = (otherDate: Date, message: string) => (v: any) =>\n (otherDate && new Date(v) < new Date(otherDate)) || message;\nexport const maxLength = (length: number) => (v: string) =>\n typeof v !== \"string\" || (v || \"\").length <= length || `Max length of ${length}`;\nexport const minLength = (length: number) => (v: string) => (v && v.length >= length) || `Min length of ${length}`;\n\n// Regex - @.\n// Dot or comma or whitespace should NOT be the last character\n// Shouldn't be surrounded by angular brackets\nexport const email = () => (v: any) => !v || /^[^<]\\S+@\\S+\\.\\S+[^.^,^>]$/.test(v.trim()) || \"Must be a valid email\";\n\nexport const multiEmail = (maxEmails?: number) => (v: string) => {\n const emails = (v || \"\").split(\",\").map((p) => p.trim());\n\n if (maxEmails && emails.length > maxEmails) {\n return `Only ${maxEmails} emails are allowed`;\n }\n\n return emails.every((v) => !v || email()(v) === true) || \"Must be comma separated list of valid emails\";\n};\nexport const numeric = () => (v: string) => /\\d+/.test(v) || \"Must include numbers (0-9)\";\nexport const alphaLower = () => (v: string) => /[a-z]/.test(v) || \"Must include lowercase letter (a-z)\";\nexport const alphaUpper = () => (v: string) => /[A-Z]/.test(v) || \"Must include uppercase letter (A-Z)\";\nexport const equal = (other: string, message: string) => (v: string) => other === v || message;\nexport const requiredIf = (other: boolean, message?: string) => (v: any) =>\n !other || (Array.isArray(v) ? v.length > 0 : !!v) || message || \"Required\";\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{staticClass:\"mx-auto my-12 pt-4\",attrs:{\"width\":\"400\"}},[_c('v-img',{attrs:{\"height\":\"250\",\"contain\":\"\",\"src\":require(\"../../assets/logo.svg\")}}),_c('v-card-title',[_vm._v(\"Log into OCBC\")]),_c('v-card-text',[(_vm.loginFailed)?_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\"}},[_vm._v(\"Login Failure\")]):_vm._e(),(!_vm.emailRequired)?_c('v-row',[_c('v-col',[_c('login-google',{attrs:{\"disabled\":_vm.processing},on:{\"logged-in\":_vm.loggedIn,\"processing\":function($event){_vm.processing = true},\"login-failed\":_vm.loginFailed}})],1)],1):_vm._e(),(_vm.processing)?_c('v-progress-linear',{attrs:{\"indeterminate\":\"\"}}):_vm._e(),_c('login-email-dialog',{ref:\"dialog\",on:{\"complete\":_vm.redirect}})],1)],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('v-btn',{attrs:{\"color\":\"primary\",\"block\":\"\",\"disabled\":_vm.disabled},on:{\"click\":_vm.logIn}},[_vm._v(\"Login with Facebook\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport { getModule } from \"vuex-module-decorators\";\nimport { ProfileModule } from \"@/store/profile-module\";\nconst profileStore = getModule(ProfileModule);\n\n@Component({ components: {} })\nexport default class LoginFacebook extends Vue {\n @Prop({ type: Boolean }) disabled!: boolean;\n\n async created() {\n await this.initFacebook();\n }\n\n logIn() {\n (window as any).FB.login((response: any) => {\n if (response.authResponse) {\n this.$emit(\"processing\");\n profileStore\n .verify({ token: response.authResponse.accessToken, type: 1 })\n .then((res) => this.$emit(\"logged-in\", res.data));\n }\n });\n }\n\n async initFacebook() {\n return new Promise((resolve) => {\n (window as any).fbAsyncInit = function() {\n (window as any).FB.init({\n appId: process.env.VUE_APP_FACEBOOK,\n xfbml: false,\n version: \"v18.0\",\n cookie: true,\n });\n (window as any).FB.AppEvents.logPageView();\n resolve(\"SDK Loaded!\");\n };\n (function(d, s, id) {\n const fjs: any = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) {\n return;\n }\n const js: any = d.createElement(s);\n js.id = id;\n js.src = \"//connect.facebook.net/en_US/sdk.js\";\n fjs.parentNode.insertBefore(js, fjs);\n })(document, \"script\", \"facebook-jssdk\");\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginFacebook.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginFacebook.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LoginFacebook.vue?vue&type=template&id=08476820&\"\nimport script from \"./LoginFacebook.vue?vue&type=script&lang=ts&\"\nexport * from \"./LoginFacebook.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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\ninstallComponents(component, {VBtn})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('GoogleLogin',{class:_vm.getClass,attrs:{\"disabled\":_vm.disabled,\"params\":_vm.params,\"onSuccess\":_vm.onSuccess,\"onFailure\":_vm.onFailure}},[_vm._v(\" Login with Google\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Vue, Prop, Emit } from \"vue-property-decorator\";\nimport { getModule } from \"vuex-module-decorators\";\nimport { GoogleLogin } from \"vue-google-login\";\nimport { ProfileModule } from \"@/store/profile-module\";\nconst profileStore = getModule(ProfileModule);\n\n@Component({ components: { GoogleLogin } })\nexport default class LoginGoogle extends Vue {\n @Prop({ type: Boolean }) disabled!: boolean;\n\n params = {\n client_id: process.env.VUE_APP_GOOGLE,\n };\n\n get getClass() {\n return this.disabled\n ? \"v-btn v-btn--block v-btn--disabled v-btn--has-bg theme--light v-size--default\"\n : \"v-btn v-btn--block v-btn--contained theme--light v-size--default primary\";\n }\n\n @Emit(\"logged-in\")\n onSuccess(googleUser: any) {\n this.$emit(\"processing\");\n return profileStore.verify({ token: googleUser.getAuthResponse().id_token, type: 2 }).then((res) => res.data);\n }\n\n @Emit(\"login-failed\")\n onFailure(err: any) {\n return err;\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginGoogle.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginGoogle.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LoginGoogle.vue?vue&type=template&id=24540918&\"\nimport script from \"./LoginGoogle.vue?vue&type=script&lang=ts&\"\nexport * from \"./LoginGoogle.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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"400px\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('c-form',{ref:\"form\",attrs:{\"allow-close\":false},on:{\"submit\":_vm.save},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_vm._v(\" Complete Registration \")]},proxy:true}])},[_c('v-alert',{attrs:{\"type\":\"success\",\"outlined\":\"\",\"text\":\"\"}},[_vm._v(\" We require your email address to complete registration. \")]),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Email\",\"rules\":[_vm.validators.required(), _vm.validators.email()]},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}})],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport { getModule } from \"vuex-module-decorators\";\nimport { ProfileModule } from \"@/store/profile-module\";\nimport { required, email } from \"@/common/validators/rules\";\nimport CForm from \"@/common/components/CForm.vue\";\n\nconst profileStore = getModule(ProfileModule);\n@Component({ components: { CForm } })\nexport default class LoginEmailDialog extends Vue {\n validators = { required, email };\n dialog = false;\n email = \"\";\n\n open() {\n this.dialog = true;\n }\n\n save() {\n if (!(this.$refs.form as any).validate()) {\n return;\n }\n\n profileStore.setEmail(this.email).then(() => this.$emit(\"complete\"));\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginEmailDialog.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LoginEmailDialog.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LoginEmailDialog.vue?vue&type=template&id=9b2cade0&\"\nimport script from \"./LoginEmailDialog.vue?vue&type=script&lang=ts&\"\nexport * from \"./LoginEmailDialog.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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VAlert,VCol,VDialog,VRow,VTextField})\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\nimport { Component, Vue } from \"vue-property-decorator\";\nimport LoginFacebook from \"./LoginFacebook.vue\";\nimport LoginGoogle from \"./LoginGoogle.vue\";\nimport LoginEmailDialog from \"./LoginEmailDialog.vue\";\n\n@Component({ components: { LoginEmailDialog, LoginFacebook, LoginGoogle } })\nexport default class Login extends Vue {\n emailRequired = false;\n loginFailed = false;\n processing = false;\n\n loggedIn(emailSupplied: boolean) {\n this.loginFailed = false;\n this.processing = false;\n if (!emailSupplied) {\n (this.$refs.dialog as any).open();\n } else {\n this.redirect();\n }\n }\n\n loggedInFailed(err: any) {\n this.loginFailed = true;\n this.processing = false;\n (this as any).$appInsights.trackException({ exception: err });\n }\n\n redirect() {\n // redirect to home or to the redirect url.\n if (this.$route.query.returnuri) {\n this.$router.push({ path: this.$route.query.returnuri.toString() });\n } else {\n this.$router.push({ name: \"home\" });\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../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=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../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=ts&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=6244224c&\"\nimport script from \"./Login.vue?vue&type=script&lang=ts&\"\nexport * from \"./Login.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 null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VProgressLinear } from 'vuetify/lib/components/VProgressLinear';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAlert,VCard,VCardText,VCardTitle,VCol,VImg,VProgressLinear,VRow})\n","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self)[\"vue-google-login\"]={})}(this,(function(t){\"use strict\";var e,n,i=function(t){return e?Promise.resolve(e):(n||(n=function(t){return new Promise((function(n,i){window.onGapiLoad=function(){window.gapi.load(\"auth2\",(function(){try{e=window.gapi.auth2.init(Object.assign({},t))}catch(t){i({err:\"client_id missing or is incorrect, or if you added extra params maybe they are written incorrectly, did you add it to the component or plugin?\"})}n(e)}))}}))}(t)),n)},o=function(t,e){if(t)return t[e]();return Promise.reject({err:\"Script not loaded correctly, did you added the plugin or the client_id to the component?\"})},r={load:function(t){return Promise.all([i(t),new Promise((function(t,e){if(!document.getElementById(\"auth2_script_id\")){var n=document.createElement(\"script\");n.setAttribute(\"src\",\"https://apis.google.com/js/platform.js?onload=onGapiLoad\"),n.setAttribute(\"async\",!0),n.setAttribute(\"defer\",\"defer\"),n.setAttribute(\"id\",\"auth2_script_id\"),document.head.appendChild(n)}t()}))]).then((function(t){return t[0]}))},signIn:function(){return o(e,\"signIn\")},signOut:function(){return o(e,\"signOut\")},isSignedIn:function(){return o(e.isSignedIn,\"get\")},currentUser:function(){return o(e.currentUser,\"get\")},grantOfflineAccess:function(){return o(e,\"grantOfflineAccess\")}},s=0;var u=function(t,e,n,i,o,r,s,u,c,d){\"boolean\"!=typeof s&&(c=u,u=s,s=!1);var a,l=\"function\"==typeof n?n.options:n;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),i&&(l._scopeId=i),r?(a=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||\"undefined\"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(r)},l._ssrRegister=a):e&&(a=s?function(){e.call(this,d(this.$root.$options.shadowRoot))}:function(t){e.call(this,u(t))}),a)if(l.functional){var f=l.render;l.render=function(t,e){return a.call(e),f(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,a):[a]}return n}({render:function(){var t=this.$createElement,e=this._self._c||t;return this.renderParams&&!this.logoutButton?e(\"div\",{attrs:{id:this.id},on:{click:this.handleClick}}):e(\"button\",{attrs:{id:this.id},on:{click:this.handleClick}},[this._t(\"default\")],2)},staticRenderFns:[]},void 0,{name:\"GoogleLogin\",props:{params:{type:Object,required:!0},onCurrentUser:{type:Function,default:function(){}},onSuccess:{type:Function,default:function(){}},onFailure:{type:Function,default:function(){}},logoutButton:{type:Boolean,default:!1},renderParams:{type:Object,required:!1}},beforeCreate:function(){this.id=\"google-signin-btn-\".concat(s++)},methods:{handleClick:function(){var t=this,e=this.logoutButton?\"signOut\":\"signIn\";r[e]().then((function(e){return t.onSuccess(e)})).catch((function(e){return t.onFailure(e)}))}},mounted:function(){var t=this;r.load(this.params).then((function(){t.renderParams&&!1===t.logoutButton&&window.gapi.signin2.render(t.id,t.renderParams),r.isSignedIn()&&t.onCurrentUser(r.currentUser())})).catch((function(t){console.log(t)}))}},void 0,!1,void 0,void 0,void 0),c={install:function(t,e){t.GoogleAuth=r.load(e)}};t.GoogleLogin=u,t.LoaderPlugin=c,t.default=u,Object.defineProperty(t,\"__esModule\",{value:!0})}));\n//# sourceMappingURL=vue-google-login.min.js.map\n"],"sourceRoot":""}