{"version":3,"sources":["webpack:///./src/assets/bg/bg_6.webp","webpack:///./src/assets/bg/bg_7.webp","webpack:///./src/assets/verji/picto_3.svg","webpack:///./src/assets/bg/bg_2.webp","webpack:///./src/assets/bg/bg_5.webp","webpack:///./src/assets/bg sync ^\\.\\/.*$","webpack:///../../../src/components/VCard/index.ts","webpack:///./src/views/Home.vue?23eb","webpack:///./src/views/Home.vue","webpack:///./src/views/Home.vue?88c7","webpack:///./src/views/Home.vue?6b48","webpack:///./src/views/Home.vue?86b4","webpack:///./src/assets/bg/bg_1.webp","webpack:///./src/assets/bg/bg_8.webp","webpack:///../../../src/components/VHover/VHover.ts","webpack:///./src/assets/bg/bg_4.webp","webpack:///./src/assets/bg/bg_3.webp"],"names":["module","exports","map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","VCardActions","createSimpleFunctional","VCardSubtitle","VCardText","VCardTitle","VCard","attrs","_l","_c","directives","value","item","moduleName","expression","flex","scopedSlots","_vm","key","hover","staticClass","$event","domProps","staticRenderFns","render","Vue","extend","name","methods","bgImage","require","firstPermittedRoute","path","subItems","length","itm","find","subItem","isPermitted","route","this","$router","push","computed","modules","$vStore","state","nav","items","newModules","i","RouteTypes","None","hasContext","hasCtx","context","selectedCustomer","shouldShow","$route","component","mixins","Delayable","Toggleable","props","disabled","type","Boolean","default","undefined","onMouseEnter","runDelay","onMouseLeave","$scopedSlots","consoleWarn","element","isActive","Array","isArray","tag","data","_g","mouseenter","mouseleave"],"mappings":"qGAAAA,EAAOC,QAAU,IAA0B,0B,uBCA3CD,EAAOC,QAAU,IAA0B,0B,qBCA3CD,EAAOC,QAAU,IAA0B,4B,8CCA3CD,EAAOC,QAAU,IAA0B,0B,uBCA3CD,EAAOC,QAAU,IAA0B,0B,uBCA3C,IAAIC,EAAM,CACT,cAAe,OACf,cAAe,OACf,cAAe,OACf,cAAe,OACf,cAAe,OACf,cAAe,OACf,cAAe,OACf,cAAe,QAIhB,SAASC,EAAeC,G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L,QAAQ,CAAEhD,MAAOqB,KAAKmC,YAGhDC,MAAMC,QAAQH,IAA+B,IAAnBA,EAAQxC,SACpCwC,EAAUA,EAAQ,IAGfA,IAAWE,MAAMC,QAAQH,IAAaA,EAAQI,KAM9CtC,KAAKwB,WACRU,EAAQK,KAAOL,EAAQK,MAAQ,GAC/BvC,KAAKwC,GAAGN,EAAQK,KAAM,CACpBE,WAAYzC,KAAK6B,aACjBa,WAAY1C,KAAK+B,gBAIdG,IAbLD,eAAY,+CAAgDjC,MAErDkC,O,qBC3DbxF,EAAOC,QAAU,IAA0B,0B,qBCA3CD,EAAOC,QAAU,IAA0B","file":"js/chunk-6166710a.ad975df8.js","sourcesContent":["module.exports = __webpack_public_path__ + \"img/bg_6.2c220bf4.webp\";","module.exports = __webpack_public_path__ + \"img/bg_7.0777a333.webp\";","module.exports = __webpack_public_path__ + \"img/picto_3.503a1a0b.svg\";","module.exports = __webpack_public_path__ + \"img/bg_2.5976b124.webp\";","module.exports = __webpack_public_path__ + \"img/bg_5.99beecf1.webp\";","var map = {\n\t\"./bg_1.webp\": \"bcba\",\n\t\"./bg_2.webp\": \"5b53\",\n\t\"./bg_3.webp\": \"f17f\",\n\t\"./bg_4.webp\": \"e712\",\n\t\"./bg_5.webp\": \"6b3d\",\n\t\"./bg_6.webp\": \"0c38\",\n\t\"./bg_7.webp\": \"18b6\",\n\t\"./bg_8.webp\": \"c88f\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"76b8\";","import VCard from './VCard'\nimport { createSimpleFunctional } from '../../util/helpers'\n\nconst VCardActions = createSimpleFunctional('v-card__actions')\nconst VCardSubtitle = createSimpleFunctional('v-card__subtitle')\nconst VCardText = createSimpleFunctional('v-card__text')\nconst VCardTitle = createSimpleFunctional('v-card__title')\n\nexport {\n VCard,\n VCardActions,\n VCardSubtitle,\n VCardText,\n VCardTitle,\n}\n\nexport default {\n $_vuetify_subcomponents: {\n VCard,\n VCardActions,\n VCardSubtitle,\n VCardText,\n VCardTitle,\n },\n}\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&id=968054e0&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('PageHeader',{attrs:{\"msg\":\"HOME\"}}),(_vm.$vStore.state.nav.modules)?_c('v-container',{attrs:{\"fluid\":\"\"}},[_c('v-row',_vm._l((_vm.modules),function(item,ik){return _c('v-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(item.moduleName !== 'Home'),expression:\"item.moduleName !== 'Home'\"}],key:ik,attrs:{\"cols\":\"12\",\"md\":item.flex}},[_c('v-hover',{scopedSlots:_vm._u([{key:\"default\",fn:function({ hover }){return [_c('v-card',{staticClass:\"mx-auto mb-5 text-center hov pa-12\",class:{ 'on-hover': hover },attrs:{\"elevation\":\"2\",\"rounded\":\"0\"},on:{\"click\":function($event){$event.preventDefault();return _vm.$router.push({ path: item.route })}}},[(item.moduleName !== 'Home')?_c('v-img',{staticClass:\"bg-image\",attrs:{\"src\":_vm.bgImage(item.bgImage),\"gradient\":\"to top right, rgba(0,0,0,0.8), rgba(255,255, 255,0.5)\"}}):_vm._e(),_c('v-img',{staticClass:\"mt-5\",attrs:{\"height\":\"50\",\"contain\":\"\",\"src\":require(\"@/assets/verji/picto_3.svg\")}}),_c('v-card-title',{staticClass:\"justify-center white--text standout font-weight-bold\",domProps:{\"textContent\":_vm._s(item.name)}}),_c('v-card-subtitle',{staticClass:\"white--text standout\",domProps:{\"textContent\":_vm._s(item.description)}})],1)]}}],null,true)})],1)}),1)],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { UnionItemDefinition } from \"@/types/responses\"\nimport { RouteTypes } from \"@/types/enums\"\n\nimport Vue from \"vue\"\nexport default Vue.extend({\n\tname: \"Home\",\n\tmethods: {\n\t\tbgImage(bgImage: string): void {\n\t\t\treturn require(`@/assets/bg/${bgImage}`)\n\t\t},\n\t\tfirstPermittedRoute(item: UnionItemDefinition): void {\n\t\t\tlet path = \"/\"\n\t\t\tif (item.subItems.length > 0) {\n\t\t\t\tconst itm = item.subItems.find((subItem) => {\n\t\t\t\t\treturn subItem.isPermitted\n\t\t\t\t})\n\t\t\t\tif (itm) {\n\t\t\t\t\tpath = itm.route\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tpath = item.route\n\t\t\t}\n\t\t\tthis.$router.push({ path: path })\n\t\t},\n\t},\n\tcomputed: {\n\t\tmodules(): Array {\n\t\t\tconst modules: UnionItemDefinition[] | null = this.$vStore.state!.nav!.modules!.items;\n\t\t\tconst newModules: UnionItemDefinition[] = []\n\t\t\tif(modules){\n\t\t\t\tfor(let i = 0; modules.length > i; i++){\n\t\t\t\t\tif(modules[i].route != RouteTypes.None) newModules.push(modules[i])\n\t\t\t\t}\n\t\t\t\treturn newModules;\n\t\t\t}\n\t\t\treturn []\n\t\t},\n\t\thasContext(): boolean {\n\t\t\tconst hasCtx = this.$vStore.state.context.selectedCustomer !== null\n\n\t\t\tconst shouldShow = this.$route.path !== \"/context\" && this.$route.path !== \"/profile\"\n\n\t\t\treturn hasCtx && shouldShow\n\t\t},\n\t}\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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.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--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=968054e0&scoped=true\"\nimport script from \"./Home.vue?vue&type=script&lang=ts\"\nexport * from \"./Home.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=968054e0&prod&lang=scss&scoped=true\"\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 \"968054e0\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/bg_1.383e7474.webp\";","module.exports = __webpack_public_path__ + \"img/bg_8.53842731.webp\";","// Mixins\nimport Delayable from '../../mixins/delayable'\nimport Toggleable from '../../mixins/toggleable'\n\n// Utilities\nimport mixins from '../../util/mixins'\nimport { consoleWarn } from '../../util/console'\n\n// Types\nimport { VNode, ScopedSlotChildren } from 'vue/types/vnode'\n\nexport default mixins(\n Delayable,\n Toggleable\n /* @vue/component */\n).extend({\n name: 'v-hover',\n\n props: {\n disabled: {\n type: Boolean,\n default: false,\n },\n value: {\n type: Boolean,\n default: undefined,\n },\n },\n\n methods: {\n onMouseEnter () {\n this.runDelay('open')\n },\n onMouseLeave () {\n this.runDelay('close')\n },\n },\n\n render (): VNode {\n if (!this.$scopedSlots.default && this.value === undefined) {\n consoleWarn('v-hover is missing a default scopedSlot or bound value', this)\n\n return null as any\n }\n\n let element: VNode | ScopedSlotChildren\n\n /* istanbul ignore else */\n if (this.$scopedSlots.default) {\n element = this.$scopedSlots.default({ hover: this.isActive })\n }\n\n if (Array.isArray(element) && element.length === 1) {\n element = element[0]\n }\n\n if (!element || Array.isArray(element) || !element.tag) {\n consoleWarn('v-hover should only contain a single element', this)\n\n return element as any\n }\n\n if (!this.disabled) {\n element.data = element.data || {}\n this._g(element.data, {\n mouseenter: this.onMouseEnter,\n mouseleave: this.onMouseLeave,\n })\n }\n\n return element\n },\n})\n","module.exports = __webpack_public_path__ + \"img/bg_4.5a6a7081.webp\";","module.exports = __webpack_public_path__ + \"img/bg_3.7b38d458.webp\";"],"sourceRoot":""}