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

/***/ 208:
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__(228);
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add CSS to SSR context
var add = __webpack_require__(5).default
module.exports.__inject__ = function (context) {
  add("d85ac166", content, true, context)
};

/***/ }),

/***/ 225:
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__.p + "img/vindigo.917eaa1.svg";

/***/ }),

/***/ 226:
/***/ (function(module, exports, __webpack_require__) {

module.exports = __webpack_require__.p + "img/home.63cdf6f.svg";

/***/ }),

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

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


/***/ }),

/***/ 228:
/***/ (function(module, exports, __webpack_require__) {

// Imports
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(4);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
// Module
___CSS_LOADER_EXPORT___.push([module.i, ".sidebar{transition-property:width,height,min-width,max-width,min-height,max-height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;z-index:12;width:3.5rem;flex-shrink:0}.sidebar__contents{transition-property:box-shadow,text-shadow;transition-property:width,height,min-width,max-width,min-height,max-height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;height:100%;position:fixed;overflow-x:hidden;background-color:var(--color-misc-1);width:3.5rem;z-index:900;top:0}.sidebar--expanded .sidebar__contents{box-shadow:0 0 1.25rem rgba(43,43,43,.45);width:14rem}.sidebar__highlight{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;position:absolute;height:3.5rem;width:.25rem;z-index:10;left:0}.sidebar__container{height:100%;display:flex;flex-direction:column}.sidebar__item{transition-property:background-color,border-color,color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;display:flex;align-items:center;cursor:pointer;color:#fff}.sidebar__item img{width:2rem;height:2rem}.sidebar__item:hover{background-color:rgba(0,0,0,.25)}.sidebar__icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;height:3.5rem;width:3.5rem}.sidebar__title{font-size:1rem;line-height:1.5rem;padding-left:.5rem;padding-right:.5rem;white-space:nowrap;flex-shrink:0;flex:1}.sidebar__title img{margin-left:-.25rem;width:7.5rem;display:block}.sidebar__arrow{padding-right:1rem}.sidebar__expander .w-icon{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sidebar--expanded .sidebar__expander .w-icon{transform:rotate(180deg)}", ""]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___;


/***/ }),

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

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

// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/project/Sidebar.vue?vue&type=template&id=258f8d52&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:"sidebar",class:_vm.computeClass,on:{"mouseover":function($event){_vm.expanded = true},"mouseleave":function($event){_vm.expanded = false}}},[_vm._ssrNode("<div class=\"sidebar__contents\">","</div>",[_vm._ssrNode(((_vm.value >= 0)?("<div class=\"sidebar__highlight\""+(_vm._ssrStyle(null,_vm.highlightStyle, null))+"></div>"):"<!---->")+" "),_vm._ssrNode("<ol class=\"sidebar__container\">","</ol>",[_vm._l((_vm.listItems),function(item,index){return _c('nuxt-link',{key:index,staticClass:"sidebar__item",attrs:{"to":item.href,"title":_vm.$t(item.name)},nativeOn:{"click":function($event){return _vm.emitIndicator($event, index)}}},[_c('div',{staticClass:"sidebar__icon"},[_c('img',{attrs:{"src":item.icon}})]),_vm._v(" "),_c('div',{staticClass:"sidebar__title"},[(item.image)?_c('img',{attrs:{"src":item.image}}):[_vm._v("\n\t\t\t\t\t\t"+_vm._s(_vm.$t(item.name))+"\n\t\t\t\t\t")]],2),_vm._v(" "),(!item.image)?_c('w-icon',{staticClass:"sidebar__arrow"},[_vm._v("\n\t\t\t\t\tmdi mdi-chevron-right\n\t\t\t\t")]):_vm._e()],1)}),_vm._ssrNode(" "),_c('VindiSpacer'),_vm._ssrNode(" "),_vm._ssrNode("<li class=\"sidebar__item sidebar__expander\">","</li>",[_vm._ssrNode("<div class=\"sidebar__icon\">","</div>",[_c('w-icon',[_vm._v("\n\t\t\t\t\t\tmdi mdi-chevron-right\n\t\t\t\t\t")])],1),_vm._ssrNode(" <div class=\"sidebar__title\"><div>\n\t\t\t\t\t\tCollapse Sidebar\n\t\t\t\t\t</div> <small>\n\t\t\t\t\t\tDisable auto reveal\n\t\t\t\t\t</small></div>")],2)],2)],2)])}
var staticRenderFns = []


// CONCATENATED MODULE: ./components/project/Sidebar.vue?vue&type=template&id=258f8d52&

// EXTERNAL MODULE: external "vue"
var external_vue_ = __webpack_require__(0);
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);

// CONCATENATED MODULE: D:/Projects/vindigo/node_modules/babel-loader/lib??ref--13-0!D:/Projects/vindigo/node_modules/ts-loader??ref--13-1!D:/Projects/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Projects/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/project/Sidebar.vue?vue&type=script&lang=ts&

/* harmony default export */ var Sidebarvue_type_script_lang_ts_ = (external_vue_default.a.extend({
  name: 'Sidebar',
  props: {
    project: {
      type: Object,
      required: true
    },
    getPath: {
      type: Function,
      required: true
    },
    value: {
      type: Number,
      required: true
    }
  },
  data: () => ({
    listItems: [],
    expanded: false
  }),
  computed: {
    computeClass() {
      return {
        'sidebar--expanded': this.expanded && this.canExpandSidebar
      };
    },

    renderTooltips() {
      return false;
    },

    highlightStyle() {
      const index = this.value;
      return index !== undefined ? {
        top: (index + 1) * 56 + 'px',
        backgroundColor: this.project.accentColor
      } : {
        display: 'none'
      };
    },

    canExpandSidebar() {
      return this.$store.state.expandSidebar;
    }

  },

  created() {
    const views = this.$registries.projectViews.toItems(); // initializing list items

    this.listItems = views.map(item => ({
      name: item.content.name,
      icon: item.content.icon,
      href: this.getPath(item.id)
    })); // Prepend the home button

    this.listItems.unshift({
      name: 'VIEW_HOME',
      image: __webpack_require__(225),
      icon: __webpack_require__(226),
      href: '/'
    });
  },

  methods: {
    toggleSidebarExpansion() {
      this.$store.commit('setExpandSidebar', !this.canExpandSidebar);
    },

    emitIndicator(e, index) {
      if (!e.ctrlKey) {
        this.$emit('input', index - 1);
      }
    }

  }
}));
// CONCATENATED MODULE: ./components/project/Sidebar.vue?vue&type=script&lang=ts&
 /* harmony default export */ var project_Sidebarvue_type_script_lang_ts_ = (Sidebarvue_type_script_lang_ts_); 
// EXTERNAL MODULE: D:/Projects/vindigo/node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(2);

// CONCATENATED MODULE: ./components/project/Sidebar.vue



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

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  project_Sidebarvue_type_script_lang_ts_,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "49b5e947"
  
)

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

/* nuxt-component-imports */
installComponents(component, {VindiSpacer: __webpack_require__(11).default})


/***/ })

};;
//# sourceMappingURL=project-sidebar.js.map