1"use strict";(self.webpackChunkv5=self.webpackChunkv5||[]).push([[9386],{88389:(t,e,r)=>{r.d(e,{A:()=>o});const n={components:{TwButton:r(55624).default},props:{tabs:{type:Array,default:function(){return[]}},useRouter:{type:Boolean,default:!0},currentTab:{type:String,default:null},fullWidth:{type:Boolean,default:!1}},methods:{emitChange:function(t){this.currentTab!==t&&this.$emit("change",t)}}},o=(0,r(14486).A)(n,(function(){var t=this,e=t._self._c;return e("nav",{staticClass:"tw-flex tw-gap-x-4 tw-rounded-md",class:t.fullWidth?"tw-w-full":"tw-w-fit",attrs:{"aria-label":"Tabs"}},t._l(t.tabs,(function(r){return e("tw-button",{key:r.value,class:{"tw-bg-primary-200":t.$route.name.match(r.value)||r.value===t.currentTab,"tw-w-full":t.fullWidth},attrs:{"aria-current":r.current?"page":void 0,variant:"outless",font:"semibold",size:"sm",to:t.useRouter?{name:r.value}:void 0},on:{click:function(e){t.useRouter||(t.e=t.emitChange(r.value))}}},[e("span",{staticClass:"tw-text-left tw-text-primary-600"},[t._v(t._s(r.label))])])})),1)}),[],!1,null,null,null).exports},30178:(t,e,r)=>{r.r(e),r.d(e,{default:()=>f});var n=r(83802),o=r(95353),s=r(88389);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function l(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==a(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const c={name:"DistributorStatisticsHome",components:{MainContentLayout:n.A,TwTabs:s.A},created:function(){this.$store.dispatch("group/fetchManagedGroups")},computed:u(u({tabs:function(){return[{value:"distributor-statistics-global",label:this.$t("magister.distributor.global_statistics")},{value:"distributor-statistics-groups",label:this.$t("magister.distributor.by_group_statistics")}]}},(0,o.L8)("group",{managedGroups:"managedGroups"})),{},{managedBundleGroupNames:function(){var t;return null===(t=this.managedGroups)||void 0===t?void 0:t.map((function(t){return t.name})).join(", ")}})},f=(0,r(14486).A)(c,(function(){var t=this,e=t._self._c;return e("main-content-layout",{scopedSlots:t._u([{key:"title",fn:function(){return[t._v("\n "+t._s(t.$t("magister.gestio.analytics_title"))+"\n ")]},proxy:!0},{key:"subtitle",fn:function(){return[t._v("\n "+t._s(t.$t("magister.multigroup-gestio.analytics_subtitle"))+" : "+t._s(t.managedBundleGroupNames)+"\n ")]},proxy:!0}])},[t._v(" "),t._v(" "),e("tw-tabs",{staticClass:"tw-mb-8 tw-mt-4",attrs:{tabs:t.tabs}}),t._v(" "),e("router-view")],1)}),[],!1,null,null,null).exports},83802:(t,e,r)=>{r.d(e,{A:()=>n});const n=(0,r(14486).A)({name:"MainContentLayout"},(function(){var t=this,e=t._self._c;return e("div",{staticClass:"tw-pt-8 tw-px-4 tw-mx-auto sm:tw-px-6 md:tw-px-8 tw-h-full"},[e("div",{staticClass:"tw-pb-5 sm:tw-flex-col"},[e("div",{staticClass:"tw-flex tw-flex-col tw-mb-2"},[e("h3",{staticClass:"tw-text-lg tw-leading-6 tw-font-semibold tw-text-gray-900"},[t._t("title")],2),t._v(" "),t.$slots.subtitle?e("p",{staticClass:"tw-text-gray-600"},[t._t("subtitle")],2):t._e()]),t._v(" "),t._t("default")],2)])}),[],!1,null,null,null).exports}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.