webpackJsonp([2],{

/***/ "./src/main.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__("./node_modules/_vue@2.5.21@vue/dist/vue.esm.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__store__ = __webpack_require__("./src/store/index.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__router__ = __webpack_require__("./src/router.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_vue_snotify__ = __webpack_require__("./node_modules/_vue-snotify@3.2.1@vue-snotify/vue-snotify.esm.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_bootstrap_vue_es_directives_tooltip_tooltip__ = __webpack_require__("./node_modules/_bootstrap-vue@2.0.0-rc.16@bootstrap-vue/es/directives/tooltip/tooltip.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_bootstrap_vue_es_directives_tooltip_tooltip___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_bootstrap_vue_es_directives_tooltip_tooltip__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__sass_iconfont_scss__ = __webpack_require__("./src/sass/iconfont.scss");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__sass_iconfont_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__sass_iconfont_scss__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__sass_main_scss__ = __webpack_require__("./src/sass/main.scss");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__sass_main_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__sass_main_scss__);



// https://artemsky.github.io/vue-snotify/


// const navbarComponent = () => import('./components/navbar').then(({ NavbarComponent }) => NavbarComponent)
// const navbarComponent = () => import(/* webpackChunkName: 'navbar' */'./components/navbar').then(({ NavbarComponent }) => NavbarComponent)


__WEBPACK_IMPORTED_MODULE_0_vue__["default"].directive('b-tooltip', __WEBPACK_IMPORTED_MODULE_4_bootstrap_vue_es_directives_tooltip_tooltip___default.a);
var options = {
    toast: {
        position: __WEBPACK_IMPORTED_MODULE_3_vue_snotify__["a" /* SnotifyPosition */].rightBottom,
        bodyMaxLength: 20,
        titleMaxLength: 8,
        timeout: 1000,
        showProgressBar: false,
        closeOnClick: true,
        pauseOnHover: true,
        backdrop: -1,
    },
};
__WEBPACK_IMPORTED_MODULE_0_vue__["default"].use(__WEBPACK_IMPORTED_MODULE_3_vue_snotify__["b" /* default */], options);
// tslint:disable-next-line:no-unused-expression
new __WEBPACK_IMPORTED_MODULE_0_vue__["default"]({
    el: '#app-main',
    store: __WEBPACK_IMPORTED_MODULE_1__store__["a" /* default */],
    router: Object(__WEBPACK_IMPORTED_MODULE_2__router__["a" /* createRouter */])(),
    components: {},
});


/***/ }),

/***/ "./src/router.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* unused harmony export createRoutes */
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return createRouter; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__("./node_modules/_vue@2.5.21@vue/dist/vue.esm.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_router__ = __webpack_require__("./node_modules/_vue-router@3.0.2@vue-router/dist/vue-router.esm.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__util_hot_reload__ = __webpack_require__("./src/util/hot-reload.ts");



var homeComponent = function () { return __webpack_require__.e/* import() */(0).then(__webpack_require__.bind(null, "./src/views/home/index.ts")).then(function (_a) {
    var HomeComponent = _a.HomeComponent;
    return HomeComponent;
}); };
if (false) {
    var homeModuleId_1 = './views/home';
    // first arguments for `module.hot.accept` and `require` methods have to be static strings
    // see https://github.com/webpack/webpack/issues/5668
    makeHot(homeModuleId_1, homeComponent, module.hot.accept('./views/home', function () { return reload(homeModuleId_1, require('./views/home').HomeComponent); }));
}
__WEBPACK_IMPORTED_MODULE_0_vue__["default"].use(__WEBPACK_IMPORTED_MODULE_1_vue_router__["a" /* default */]);
var createRoutes = function () { return [
    {
        path: '/',
        component: homeComponent,
    },
]; };
var createRouter = function () { return new __WEBPACK_IMPORTED_MODULE_1_vue_router__["a" /* default */]({ mode: 'history', routes: createRoutes() }); };


/***/ }),

/***/ "./src/sass/iconfont.scss":
/***/ (function(module, exports) {

// removed by extract-text-webpack-plugin

/***/ }),

/***/ "./src/sass/main.scss":
/***/ (function(module, exports) {

// removed by extract-text-webpack-plugin

/***/ }),

/***/ "./src/store/actions.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// const addToCart: Action<State, any> = (context: { commit: Commit }, product: Product) => {
//   if (product.inventory > 0) {
//     const payload: AddToCartPayload = {
//       id: product.id,
//     }
//     context.commit(types.ADD_TO_CART, payload)
//   }
// }
var actions = {};
/* harmony default export */ __webpack_exports__["a"] = (actions);


/***/ }),

/***/ "./src/store/getters.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// const cartProducts: Getter<State, any> = (state: State) => {
//   return state.cart.added.map((shape) => {
//     const product = state.products.all.find((p) => p.id === shape.id)
//     if (product) {
//       const cartProduct: CartProduct = {
//         title: product.title,
//         price: product.price,
//         quantity: shape.quantity,
//       }
//       return cartProduct
//     }
//   })
// }
var getterTree = {};
/* harmony default export */ __webpack_exports__["a"] = (getterTree);


/***/ }),

/***/ "./src/store/index.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__("./node_modules/_vue@2.5.21@vue/dist/vue.esm.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vuex__ = __webpack_require__("./node_modules/_vuex@3.1.0@vuex/dist/vuex.esm.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__actions__ = __webpack_require__("./src/store/actions.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__getters__ = __webpack_require__("./src/store/getters.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__mutations__ = __webpack_require__("./src/store/mutations.ts");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__modules_home__ = __webpack_require__("./src/store/modules/home.ts");






__WEBPACK_IMPORTED_MODULE_0_vue__["default"].use(__WEBPACK_IMPORTED_MODULE_1_vuex__["a" /* default */]);
var debug = "production" !== 'production';
var state = {};
var store = new __WEBPACK_IMPORTED_MODULE_1_vuex__["a" /* default */].Store({
    modules: {
        home: __WEBPACK_IMPORTED_MODULE_5__modules_home__["a" /* default */]
    },
    state: state,
    actions: __WEBPACK_IMPORTED_MODULE_2__actions__["a" /* default */],
    getters: __WEBPACK_IMPORTED_MODULE_3__getters__["a" /* default */],
    mutations: __WEBPACK_IMPORTED_MODULE_4__mutations__["a" /* default */],
    strict: debug
});
if (false) {
    module.hot.accept(['./modules/home'], function () {
        var homeModule = require('./modules/home').default;
        store.hotUpdate({
            modules: {
                homeModule: homeModule
            }
        });
    });
}
/* harmony default export */ __webpack_exports__["a"] = (store);


/***/ }),

/***/ "./src/store/modules/home.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
var state = {
    connectUrl: '',
    version: '-',
};
var getters = {};
var actions = {};
var mutations = {};
/* harmony default export */ __webpack_exports__["a"] = ({
    namespaced: true,
    state: state,
    getters: getters,
    actions: actions,
    mutations: mutations,
});


/***/ }),

/***/ "./src/store/mutations.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
var mutations = {};
/* harmony default export */ __webpack_exports__["a"] = (mutations);


/***/ }),

/***/ "./src/util/hot-reload.ts":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* unused harmony export makeHot */
/* unused harmony export reload */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__("./node_modules/_vue@2.5.21@vue/dist/vue.esm.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_hot_reload_api__ = __webpack_require__("./node_modules/_vue-hot-reload-api@2.2.4@vue-hot-reload-api/dist/index.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue_hot_reload_api___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_vue_hot_reload_api__);
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
    return new (P || (P = Promise))(function (resolve, reject) {
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
        function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
        step((generator = generator.apply(thisArg, _arguments || [])).next());
    });
};
var __generator = (this && this.__generator) || function (thisArg, body) {
    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    function verb(n) { return function (v) { return step([n, v]); }; }
    function step(op) {
        if (f) throw new TypeError("Generator is already executing.");
        while (_) try {
            if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t;
            if (y = 0, t) op = [0, t.value];
            switch (op[0]) {
                case 0: case 1: t = op; break;
                case 4: _.label++; return { value: op[1], done: false };
                case 5: _.label++; y = op[1]; op = [0]; continue;
                case 7: op = _.ops.pop(); _.trys.pop(); continue;
                default:
                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
                    if (t[2]) _.ops.pop();
                    _.trys.pop(); continue;
            }
            op = body.call(thisArg, _);
        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
    }
};


function makeHot(id, componentLoader, acceptFunc) {
    return __awaiter(this, void 0, void 0, function () {
        var loadedComponent;
        return __generator(this, function (_a) {
            switch (_a.label) {
                case 0:
                    if (true) return [3 /*break*/, 2];
                    __WEBPACK_IMPORTED_MODULE_1_vue_hot_reload_api__["install"](__WEBPACK_IMPORTED_MODULE_0_vue__["default"]);
                    if (!__WEBPACK_IMPORTED_MODULE_1_vue_hot_reload_api__["compatible"]) {
                        throw new Error('vue-hot-reload-api is not compatible with the version of Vue you are using.');
                    }
                    return [4 /*yield*/, componentLoader()];
                case 1:
                    loadedComponent = _a.sent();
                    __WEBPACK_IMPORTED_MODULE_1_vue_hot_reload_api__["createRecord"](id, loadedComponent);
                    _a.label = 2;
                case 2: return [2 /*return*/];
            }
        });
    });
}
function reload(id, component) {
    __WEBPACK_IMPORTED_MODULE_1_vue_hot_reload_api__["reload"](id, component);
}


/***/ })

},["./src/main.ts"]);
//# sourceMappingURL=main.9a4a8ca61d9649d3f09f.js.map