{"version":3,"sources":["webpack:///./node_modules/vuex-class/lib/bindings.js","webpack:///./node_modules/vuex-class/lib/index.js","webpack:///./src/views/LiftSignInPage.vue?d472","webpack:///./src/views/LiftSignInPage.vue?98a4","webpack:///./src/views/LiftSignInPage.vue?2a99","webpack:///./src/views/LiftSignInPage.vue"],"names":["State","createBindingHelper","Getter","Action","Mutation","namespace","helper","createNamespacedHelper","namespacedHelper","a","b","key","proto","type","options","merge","console","warn","bindTo","mapFn","makeDecorator","map","componentOptions","_a","mapObject","undefined","extractNamespace","n","length","res","forEach","obj","Object","keys","render","_vm","this","_h","$createElement","_c","_self","attrs","authStatus","_v","staticStyle","name","staticRenderFns","LiftSignInPage","$route","query","code","sendLiftOauthCode","then","response","$router","push","error","component"],"mappings":"4IAEWA,EAAQC,EAAoB,WAAY,QACxCC,EAASD,EAAoB,WAAY,QACzCE,EAASF,EAAoB,UAAW,QACxCG,EAAWH,EAAoB,UAAW,QAC9C,SAAS,EAAUI,EAAWC,GACjC,SAASC,EAAuBD,GAC5B,SAASE,EAAiBC,EAAGC,GACzB,GAAiB,kBAANA,EAAgB,CACvB,IAAIC,EAAMD,EACNE,EAAQH,EACZ,OAAOH,EAAOK,EAAK,CAAEN,UAAWA,GAAzBC,CAAsCM,EAAOD,GAExD,IAAIE,EAAOJ,EACPK,EAAUC,EAAML,GAAK,GAAI,CAAEL,UAAWA,IAC1C,OAAOC,EAAOO,EAAMC,GAExB,OAAON,EAEX,OAAIF,GACAU,QAAQC,KAAK,oHACNV,EAAuBD,IAE3B,CACHN,MAAOO,EAAuBP,GAC9BE,OAAQK,EAAuBL,GAC/BE,SAAUG,EAAuBH,GACjCD,OAAQI,EAAuBJ,IAGvC,SAASF,EAAoBiB,EAAQC,GACjC,SAASC,EAAcC,EAAKhB,GACxB,OAAO,8BAAgB,SAAUiB,EAAkBX,GAC1CW,EAAiBJ,KAClBI,EAAiBJ,GAAU,IAE/B,IAIIK,EAJAC,GAAaD,EAAK,GAAIA,EAAGZ,GA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J,EAAIQ,GAAG,iBAAiB,IAAI,GAAGJ,EAAG,UAAU,CAACE,MAAM,CAAC,KAAO,UAAU,MAA2B,YAAnBN,EAAIO,aAA2B,CAACP,EAAIQ,GAAG,kEAAkE,IAAI,IAAI,IACnxBG,EAAkB,G,itCCiCtB,IAAqBC,EAArB,gD,qCACS,EAAAL,WAAa,UADtB,yDAMuB,WACfN,KAAKY,OAAOC,MAAMC,KACpBd,KAAKe,kBAAkBf,KAAKY,OAAOC,MAAMC,KAAO,IAAIE,MAClD,SAACC,GACC,EAAKX,WAAa,UAClB,EAAKY,QAAQC,KAAKF,MAEpB,SAACG,GACC,EAAKd,WAAa,WAItBN,KAAKM,WAAa,YAlBxB,GAA4C,QAI1C,yBADC,Q,wCAHkBK,EAAc,yBADlC,QACoBA,GAAA,QClCuU,I,YCOxVU,EAAY,eACd,EACAvB,EACAY,GACA,EACA,KACA,KACA,MAIa,aAAAW,E","file":"js/lift-sign-in.03ab7ef4.js","sourcesContent":["import { createDecorator } from 'vue-class-component';\nimport { mapState, mapGetters, mapActions, mapMutations } from 'vuex';\nexport var State = createBindingHelper('computed', mapState);\nexport var Getter = createBindingHelper('computed', mapGetters);\nexport var Action = createBindingHelper('methods', mapActions);\nexport var Mutation = createBindingHelper('methods', mapMutations);\nexport function namespace(namespace, helper) {\n function createNamespacedHelper(helper) {\n function namespacedHelper(a, b) {\n if (typeof b === 'string') {\n var key = b;\n var proto = a;\n return helper(key, { namespace: namespace })(proto, key);\n }\n var type = a;\n var options = merge(b || {}, { namespace: namespace });\n return helper(type, options);\n }\n return namespacedHelper;\n }\n if (helper) {\n console.warn('[vuex-class] passing the 2nd argument to `namespace` function is deprecated. pass only namespace string instead.');\n return createNamespacedHelper(helper);\n }\n return {\n State: createNamespacedHelper(State),\n Getter: createNamespacedHelper(Getter),\n Mutation: createNamespacedHelper(Mutation),\n Action: createNamespacedHelper(Action)\n };\n}\nfunction createBindingHelper(bindTo, mapFn) {\n function makeDecorator(map, namespace) {\n return createDecorator(function (componentOptions, key) {\n if (!componentOptions[bindTo]) {\n componentOptions[bindTo] = {};\n }\n var mapObject = (_a = {}, _a[key] = map, _a);\n componentOptions[bindTo][key] = namespace !== undefined\n ? mapFn(namespace, mapObject)[key]\n : mapFn(mapObject)[key];\n var _a;\n });\n }\n function helper(a, b) {\n if (typeof b === 'string') {\n var key = b;\n var proto = a;\n return makeDecorator(key, undefined)(proto, key);\n }\n var namespace = extractNamespace(b);\n var type = a;\n return makeDecorator(type, namespace);\n }\n return helper;\n}\nfunction extractNamespace(options) {\n var n = options && options.namespace;\n if (typeof n !== 'string') {\n return undefined;\n }\n if (n[n.length - 1] !== '/') {\n return n + '/';\n }\n return n;\n}\nfunction merge(a, b) {\n var res = {};\n [a, b].forEach(function (obj) {\n Object.keys(obj).forEach(function (key) {\n res[key] = obj[key];\n });\n });\n return res;\n}\n","export { State, Getter, Action, Mutation, namespace } from './bindings';\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fill-height\":\"\",\"container--fluid\":\"\"}},[_c('v-row',{attrs:{\"align-center\":\"\",\"justify-center\":\"\"}},[_c('v-col',{attrs:{\"sm\":\"12\"}},[_c('v-alert',{attrs:{\"type\":\"error\",\"value\":_vm.authStatus === 'error'}},[_vm._v(\"\\n An error occurred with LIFT authentication. Please try again, or\\n contact support.\\n \"),_c('v-btn',{staticStyle:{\"top\":\"7px\"},attrs:{\"color\":\"white\",\"absolute\":\"\",\"small\":\"\",\"fab\":\"\",\"float-right\":\"\",\"to\":{ name: 'login' }}},[_c('v-icon',[_vm._v(\"arrow_back\")])],1)],1),_c('v-alert',{attrs:{\"type\":\"success\",\"value\":_vm.authStatus === 'success'}},[_vm._v(\"\\n Authentication successful. Redirecting...\\n \")])],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\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Watch } from 'vue-property-decorator'\nimport { Action, Getter } from 'vuex-class'\nimport Auth from '@/libs/firebase/auth'\n\n@Component\nexport default class LiftSignInPage extends Vue {\n public authStatus = 'pending'\n\n @Action\n public sendLiftOauthCode!: (code: string) => Promise\n\n protected beforeMount() {\n if (this.$route.query.code) {\n this.sendLiftOauthCode(this.$route.query.code + '').then(\n (response) => {\n this.authStatus = 'success'\n this.$router.push(response)\n },\n (error) => {\n this.authStatus = 'error'\n },\n )\n } else {\n this.authStatus = 'error'\n }\n }\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/babel-loader/lib/index.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!./LiftSignInPage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/babel-loader/lib/index.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!./LiftSignInPage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./LiftSignInPage.vue?vue&type=template&id=6a5eea33&\"\nimport script from \"./LiftSignInPage.vue?vue&type=script&lang=ts&\"\nexport * from \"./LiftSignInPage.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"],"sourceRoot":""}