(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{482:function(t,e,n){var content=n(507);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(13).default)("d85ac166",content,!0,{sourceMap:!1})},504:function(t,e,n){t.exports=n.p+"img/vindigo.917eaa1.svg"},505:function(t,e,n){t.exports=n.p+"img/home.63cdf6f.svg"},506:function(t,e,n){"use strict";n(482)},507:function(t,e,n){var r=n(12)(!1);r.push([t.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)}",""]),t.exports=r},552:function(t,e,n){"use strict";n.r(e);n(100),n(39),n(35);var r=n(0).a.extend({name:"Sidebar",props:{project:{type:Object,required:!0},getPath:{type:Function,required:!0},value:{type:Number,required:!0}},data:function(){return{listItems:[],expanded:!1}},computed:{computeClass:function(){return{"sidebar--expanded":this.expanded&&this.canExpandSidebar}},renderTooltips:function(){return!0},highlightStyle:function(){var t=this.value;return void 0!==t?{top:56*(t+1)+"px",backgroundColor:this.project.accentColor}:{display:"none"}},canExpandSidebar:function(){return this.$store.state.expandSidebar}},created:function(){var t=this,e=this.$registries.projectViews.toItems();this.listItems=e.map((function(e){return{name:e.content.name,icon:e.content.icon,href:t.getPath(e.id)}})),this.listItems.unshift({name:"VIEW_HOME",image:n(504),icon:n(505),href:"/"})},methods:{toggleSidebarExpansion:function(){this.$store.commit("setExpandSidebar",!this.canExpandSidebar)},emitIndicator:function(t,e){t.ctrlKey||this.$emit("input",e-1)}}}),o=(n(506),n(2)),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"sidebar",class:t.computeClass,on:{mouseover:function(e){t.expanded=!0},mouseleave:function(e){t.expanded=!1}}},[n("div",{staticClass:"sidebar__contents"},[t.value>=0?n("div",{staticClass:"sidebar__highlight",style:t.highlightStyle}):t._e(),t._v(" "),n("ol",{staticClass:"sidebar__container"},[t._l(t.listItems,(function(e,r){return n("nuxt-link",{key:r,staticClass:"sidebar__item",attrs:{to:e.href,title:t.$t(e.name)},nativeOn:{click:function(e){return t.emitIndicator(e,r)}}},[n("div",{staticClass:"sidebar__icon"},[n("img",{attrs:{src:e.icon}})]),t._v(" "),n("div",{staticClass:"sidebar__title"},[e.image?n("img",{attrs:{src:e.image}}):[t._v("\n\t\t\t\t\t\t"+t._s(t.$t(e.name))+"\n\t\t\t\t\t")]],2),t._v(" "),e.image?t._e():n("w-icon",{staticClass:"sidebar__arrow"},[t._v("\n\t\t\t\t\tmdi mdi-chevron-right\n\t\t\t\t")])],1)})),t._v(" "),n("VindiSpacer"),t._v(" "),n("li",{staticClass:"sidebar__item sidebar__expander",on:{click:t.toggleSidebarExpansion}},[n("div",{staticClass:"sidebar__icon"},[n("w-icon",[t._v("\n\t\t\t\t\t\tmdi mdi-chevron-right\n\t\t\t\t\t")])],1),t._v(" "),t._m(0)])],2)])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar__title"},[n("div",[t._v("\n\t\t\t\t\t\tCollapse Sidebar\n\t\t\t\t\t")]),t._v(" "),n("small",[t._v("\n\t\t\t\t\t\tDisable auto reveal\n\t\t\t\t\t")])])}],!1,null,null,null);e.default=component.exports;installComponents(component,{VindiSpacer:n(80).default})}}]);