(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{1459:function(e,n,t){"use strict";t.r(n);var r=t(1),o=t(27),c=(t(82),t(21)),l=t(56),d={};d.props={ignored:[Array,Object]},d.setup=function(e,n){var t=Object(r.J)([]),d=Object(r.J)(0);return Object(r.A)(Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Object(c.getSocket)("/core/permissions").emit("generic::getAll",(function(e,n){if(e)return console.error(e);t.value=Object(l.orderBy)(n,"order","desc")}));case 1:case"end":return e.stop()}}),e)})))),{permissions:t,tab:d}};var f=d,m=t(45),v=t(44),w=t.n(v),j=t(50),component=Object(m.a)(f,(function(){var e=this,n=e.$createElement,t=e._self._c||n;return 0===e.permissions.length?t("loading"):t("div",[t("v-tabs",{attrs:{"show-arrows":"","fixed-tabs":""},model:{value:e.tab,callback:function(n){e.tab=n},expression:"tab"}},e._l(e.permissions.filter((function(n){return!(e.ignored||[]).includes(n.id)})),(function(n){return t("v-tab",{key:n.id},[e._v("\n      "+e._s(n.name)+"\n    ")])})),1),e._v(" "),t("v-tabs-items",{model:{value:e.tab,callback:function(n){e.tab=n},expression:"tab"}},[e._t("default",null,{permissions:e.permissions.filter((function(n){return!(e.ignored||[]).includes(n.id)}))})],2)],1)}),[],!1,null,null,null);n.default=component.exports;w()(component,{Loading:t(774).default}),w()(component,{VTab:j.a,VTabs:j.c,VTabsItems:j.d})}}]);