1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[19420],{19420:(t,e,s)=>{s.r(e),s.d(e,{default:()=>a});const n={components:{VueCircle:function(){return s.e(20838).then(s.t.bind(s,20838,23))}},data:function(){return{club_members:0,total_members:0,club_followers:0,total_followers:0,club_events:0,total_events:0,club_statuses:0,total_statuses:0,is_index:"1",loadings:{admin_stats:!1,admin_stats_loaded:!1},fill:{gradient:["#399bea","#399bea"]},fill_1:{gradient:["#b97373","#b97373"]},fill_2:{gradient:["#72AB9B","#72AB9B"]},fill_3:{gradient:["#A685CA","#A685CA"]}}},methods:{getAdminStats:function(){var t=this;this.loadings.admin_stats=!0,axios.get(api_routes.admin.main.getAdminStats()).then((function(e){t.club_members=e.data.clubsCount,t.total_members=e.data.groupsCount,t.club_followers=e.data.usersCount,t.total_followers=e.data.usersCount,t.club_events=e.data.eventsCount,t.total_events=e.data.eventsCount,t.club_statuses=e.data.newsCount,t.total_statuses=e.data.statusCount,t.loadings.admin_stats=!1,t.loadings.admin_stats_loaded=!0})).catch((function(e){t.loadings.admin_stats=!1}))}},created:function(){},mounted:function(){this.getAdminStats()}};const a=(0,s(14486).A)(n,(function(){var t=this,e=t._self._c;return e("div",[t.loadings.admin_stats_loaded?e("div",{staticClass:"box center"},[t.loadings.admin_stats?e("div",{staticClass:"center padding"},[e("i",{staticClass:"fa fa-circle-o-notch fa-spin fa-2x fa-fw"})]):t._e(),t._v(" "),e("div",{staticClass:"stats-container"},[e("h4",[t._v("\n "+t._s(t.localLangs.club_general.total_clubs)+"\n\n ")]),t._v(" "),e("vue-circle",{attrs:{progress:t.is_index?t.total_members/t.club_members:t.club_members/t.total_members,size:200,reverse:!1,"line-cap":"round",fill:t.fill,"empty-fill":"rgba(0, 0, 0, .1)","animation-start-value":0,"start-angle":36.1,"insert-mode":"append",thickness:4,"show-percent":!1}},[t._v("\n "+t._s(t.club_members)+"\n ")])],1),t._v(" "),e("div",{staticClass:"stats-container"},[e("h4",[t._v("\n "+t._s(t.localLangs.club_general.total_members)+"\n ")]),t._v(" "),e("vue-circle",{attrs:{progress:t.is_index?100:t.club_followers/t.total_followers,size:200,reverse:!1,"line-cap":"round",fill:t.fill_1,"empty-fill":"rgba(0, 0, 0, .1)","animation-start-value":0,"start-angle":36.1,"insert-mode":"append",thickness:4,"show-percent":!1}},[t._v("\n "+t._s(t.club_followers)+"\n ")])],1),t._v(" "),e("div",{staticClass:"stats-container"},[e("h4",[t._v("\n "+t._s(t.localLangs.club_general.total_events)+"\n ")]),t._v(" "),e("vue-circle",{attrs:{progress:t.is_index?100:t.club_events/t.total_events,size:200,reverse:!1,"line-cap":"round",fill:t.fill_2,"empty-fill":"rgba(0, 0, 0, .1)","animation-start-value":0,"start-angle":36.1,"insert-mode":"append",thickness:4,"show-percent":!1}},[t._v("\n "+t._s(t.club_events)+"\n ")])],1),t._v(" "),e("div",{staticClass:"stats-container"},[e("h4",[t._v("\n "+t._s(t.localLangs.club_general.total_news)+"\n ")]),t._v(" "),e("vue-circle",{attrs:{progress:t.is_index?t.total_statuses/t.club_statuses:t.club_statuses/t.total_statuses,size:200,reverse:!1,"line-cap":"round",fill:t.fill_3,"empty-fill":"rgba(0, 0, 0, .1)","animation-start-value":0,"start-angle":36.1,"insert-mode":"append",thickness:3,"show-percent":!1}},[t._v("\n "+t._s(t.club_statuses)+"\n ")])],1)]):t._e()])}),[],!1,null,null,null).exports},14486:(t,e,s)=>{function n(t,e,s,n,a,l,i,o){var r,_="function"==typeof t?t.options:t;if(e&&(_.render=e,_.staticRenderFns=s,_._compiled=!0),n&&(_.functional=!0),l&&(_._scopeId="data-v-"+l),i?(r=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},_._ssrRegister=r):a&&(r=o?function(){a.call(this,(_.functional?this.parent:this).$root.$options.shadowRoot)}:a),r)if(_.functional){_._injectStyles=r;var c=_.render;_.render=function(t,e){return r.call(e),c(t,e)}}else{var u=_.beforeCreate;_.beforeCreate=u?[].concat(u,r):[r]}return{exports:t,options:_}}s.d(e,{A:()=>n})}}]);
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.