{"version":3,"sources":["webpack:///./src/views/company/CompanyPage.vue?c298","webpack:///./src/views/company/CompanyPage.vue","webpack:///./src/views/company/CompanyPage.vue?222a","webpack:///./src/views/company/CompanyPage.vue?1533","webpack:///./src/views/company/index.ts","webpack:///../../../src/components/VGrid/grid.ts","webpack:///../../../src/components/VGrid/VContainer.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","VContainer","staticClass","attrs","staticRenderFns","CompanyPage","path","$route","startsWith","companyActive","isEmployee","$router","replace","Vue","__decorate","Getter","Watch","immediate","Component","component","VGrid","name","extend","functional","props","id","String","tag","type","default","h","data","children","trim","classes","Object","keys","filter","key","value","length","join","domProps","Grid","fluid","Boolean","mergeData","class","Array","concat"],"mappings":"0JAEIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAGE,EAAA,KAAW,CAACC,YAAY,QAAQC,MAAM,CAAC,GAAK,YAAY,CAACJ,EAAG,gBAAgB,IAC3KK,EAAkB,G,gICSDC,EAAW,2HAa7B,OAb6B,4CAO9B,WACE,IAAQC,EAASV,KAAKW,OAAdD,KAGJA,EAAKE,WAAW,aAAeZ,KAAKa,gBAAkBb,KAAKc,YAChD,aAATJ,GAAqBV,KAAKe,QAAQC,QAAQ,gBACjD,EAb6B,CAASC,cACXC,gBAA3BC,eAAO,qBAAmB,oCACAD,gBAA1BC,eAAO,oBAAkB,8BACID,gBAA7BC,eAAO,uBAAqB,iCACGD,gBAA/BC,eAAO,yBAAuB,8BAG/BD,gBADCE,eAAM,SAAU,CAAEC,WAAW,KAAO,iCANlBZ,EAAW,gBAD/Ba,QACoBb,WCZmY,I,YCOpZc,EAAY,eACd,EACAzB,EACAU,GACA,EACA,KACA,KACA,MAIa,aAAAe,E,sEClBf,uBACed,2B,4ICED,SAAUe,EAAOC,GAE7B,OAAOR,aAAIS,OAAO,CAChBD,KAAM,KAAF,OAAOA,GAEXE,YAAY,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ACRM,EAAKW,SAAWX,EAAKW,UAAY,GACjCX,EAAKW,SAASjB,GAAKD,EAAMC,IAGpBK,EACLN,EAAMG,IACNmB,eAAUf,EAAM,CACd7B,YAAa,YACb6C,MAAOC,MAAW,CAChB,mBAAoBxB,EAAMoB,QACzBK,OAAOf,GAAW,MAEvBF","file":"assets/js/chunk-3fe6888f.eb37e72b.js","sourcesContent":["import { VContainer } from 'vuetify/lib/components/VGrid';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(VContainer,{staticClass:\"py-12\",attrs:{\"id\":\"company\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport { Getter } from \"vuex-class\";\r\nimport { Component, Watch } from \"vue-property-decorator\";\r\n\r\n@Component\r\nexport default class CompanyPage extends Vue {\r\n @Getter(\"company/isActive\") companyActive!: boolean;\r\n @Getter(\"company/isOwner\") isOwner!: boolean;\r\n @Getter(\"company/isEmployee\") isEmployee!: boolean;\r\n @Getter(\"profile/getUserEmail\") myEmail!: string;\r\n\r\n @Watch(\"$route\", { immediate: true })\r\n routeChanged() {\r\n const { path } = this.$route;\r\n //not owner of company; can't go to anything else but \"/\"\r\n //if (path.startsWith(\"/company\") && this.companyActive && !this.isOwner)\r\n if (path.startsWith(\"/company\") && this.companyActive && !this.isEmployee)\r\n if (path !== \"/company\") this.$router.replace(\"/company\");\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CompanyPage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CompanyPage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CompanyPage.vue?vue&type=template&id=3f9b85d9&\"\nimport script from \"./CompanyPage.vue?vue&type=script&lang=ts&\"\nexport * from \"./CompanyPage.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","import CompanyPage from \"./CompanyPage.vue\";\r\nexport default CompanyPage;\r\n","// Types\nimport Vue, { VNode } from 'vue'\n\nexport default function VGrid (name: string) {\n /* @vue/component */\n return Vue.extend({\n name: `v-${name}`,\n\n functional: true,\n\n props: {\n id: String,\n tag: {\n type: String,\n default: 'div',\n },\n },\n\n render (h, { props, data, children }): VNode {\n data.staticClass = (`${name} ${data.staticClass || ''}`).trim()\n\n const { attrs } = data\n if (attrs) {\n // reset attrs to extract utility clases like pa-3\n data.attrs = {}\n const classes = Object.keys(attrs).filter(key => {\n // TODO: Remove once resolved\n // https://github.com/vuejs/vue/issues/7841\n if (key === 'slot') return false\n\n const value = attrs[key]\n\n // add back data attributes like data-test=\"foo\" but do not\n // add them as classes\n if (key.startsWith('data-')) {\n data.attrs![key] = value\n return false\n }\n\n return value || typeof value === 'string'\n })\n\n if (classes.length) data.staticClass += ` ${classes.join(' ')}`\n }\n\n if (props.id) {\n data.domProps = data.domProps || {}\n data.domProps.id = props.id\n }\n\n return h(props.tag, data, children)\n },\n })\n}\n","import './_grid.sass'\nimport './VGrid.sass'\n\nimport Grid from './grid'\n\nimport mergeData from '../../util/mergeData'\n\n/* @vue/component */\nexport default Grid('container').extend({\n name: 'v-container',\n functional: true,\n props: {\n id: String,\n tag: {\n type: String,\n default: 'div',\n },\n fluid: {\n type: Boolean,\n default: false,\n },\n },\n render (h, { props, data, children }) {\n let classes\n const { attrs } = data\n if (attrs) {\n // reset attrs to extract utility clases like pa-3\n data.attrs = {}\n classes = Object.keys(attrs).filter(key => {\n // TODO: Remove once resolved\n // https://github.com/vuejs/vue/issues/7841\n if (key === 'slot') return false\n\n const value = attrs[key]\n\n // add back data attributes like data-test=\"foo\" but do not\n // add them as classes\n if (key.startsWith('data-')) {\n data.attrs![key] = value\n return false\n }\n\n return value || typeof value === 'string'\n })\n }\n\n if (props.id) {\n data.domProps = data.domProps || {}\n data.domProps.id = props.id\n }\n\n return h(\n props.tag,\n mergeData(data, {\n staticClass: 'container',\n class: Array({\n 'container--fluid': props.fluid,\n }).concat(classes || []),\n }),\n children\n )\n },\n})\n"],"sourceRoot":""}