exports.ids = [3];
exports.modules = {

/***/ 175:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VBtn/VBtn.js
var VBtn = __webpack_require__(101);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VCard/VCard.js
var VCard = __webpack_require__(97);

// EXTERNAL MODULE: ./node_modules/vuetify/lib/components/VImg/VImg.js + 2 modules
var VImg = __webpack_require__(100);

// CONCATENATED MODULE: ./node_modules/vuetify-loader/lib/loader.js??ref--4!./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--7!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/ApiBanner.vue?vue&type=template&id=6b74b885




var ApiBannervue_type_template_id_6b74b885_render = function render() {
  var _vm$banners, _vm$banners2, _vm$banners3, _vm$banners4;
  var _vm = this,
    _c = _vm._self._c;
  return _c('div', [_c(VCard["a" /* default */], {
    attrs: {
      "tile": "",
      "elevation": "0"
    }
  }, [_c(VImg["a" /* default */], {
    attrs: {
      "src": 'https://newshop.testshop1.bimmer-tech.net' + ((_vm$banners = _vm.banners) === null || _vm$banners === void 0 ? void 0 : _vm$banners.image)
    }
  }, [_c('div', {
    staticClass: "bannerText",
    domProps: {
      "innerHTML": _vm._s((_vm$banners2 = _vm.banners) === null || _vm$banners2 === void 0 ? void 0 : _vm$banners2.text)
    }
  }), _vm._v(" "), _c('div', {
    staticClass: "text-center mt-16"
  }, [_c(VBtn["a" /* default */], {
    attrs: {
      "color": (_vm$banners3 = _vm.banners) === null || _vm$banners3 === void 0 ? void 0 : _vm$banners3.btncolour
    }
  }, [_vm._v(_vm._s((_vm$banners4 = _vm.banners) === null || _vm$banners4 === void 0 ? void 0 : _vm$banners4.btntxt))])], 1)])], 1)], 1);
};
var staticRenderFns = [];

// CONCATENATED MODULE: ./components/ApiBanner.vue?vue&type=template&id=6b74b885

// EXTERNAL MODULE: external "vuex"
var external_vuex_ = __webpack_require__(9);

// CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/ApiBanner.vue?vue&type=script&lang=js

/* harmony default export */ var ApiBannervue_type_script_lang_js = ({
  data: () => ({
    banners: []
  }),
  methods: {
    ...Object(external_vuex_["mapActions"])(["get_banner"]),
    getBanner() {
      this.randomNumber = Math.floor(Math.random() * 3);
      this.get_banner().then(response => {
        this.banners = response.data[this.randomNumber];
      }).catch(error => {
        console.log("error");
      });
    }
  },
  mounted() {
    this.getBanner();
  }
});
// CONCATENATED MODULE: ./components/ApiBanner.vue?vue&type=script&lang=js
 /* harmony default export */ var components_ApiBannervue_type_script_lang_js = (ApiBannervue_type_script_lang_js); 
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(21);

// CONCATENATED MODULE: ./components/ApiBanner.vue



function injectStyles (context) {
  
  var style0 = __webpack_require__(279)
if (style0.__inject__) style0.__inject__(context)

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_ApiBannervue_type_script_lang_js,
  ApiBannervue_type_template_id_6b74b885_render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "11665a56"
  
)

/* harmony default export */ var ApiBanner = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 205:
/***/ (function(module, exports) {

// Exports
module.exports = {

};


/***/ }),

/***/ 279:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ApiBanner_vue_vue_type_style_index_0_id_6b74b885_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(205);
/* harmony import */ var _node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ApiBanner_vue_vue_type_style_index_0_id_6b74b885_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ApiBanner_vue_vue_type_style_index_0_id_6b74b885_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ApiBanner_vue_vue_type_style_index_0_id_6b74b885_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_0_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ApiBanner_vue_vue_type_style_index_0_id_6b74b885_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ })

};;
//# sourceMappingURL=api-banner.js.map