import{p as m,a1 as b,a2 as v,a4 as g,a5 as _,a6 as p,a8 as x,b8 as y,ac as k,F as o,b as T,_ as V,aB as B,r as C,aG as P,C as r,D as w,E as c,K as F,S as t,Y as h,$,Z as D,L as N,ad as f}from"./index-cb66bb90.js";const S=m({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...b(),...v(),...g(),..._()},"VTable"),E=p()({name:"VTable",props:S(),setup(e,i){let{slots:a}=i;const{themeClasses:l}=x(e),{densityClasses:d}=y(e);return k(()=>o(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!a.top,"v-table--has-bottom":!!a.bottom,"v-table--hover":e.hover},l.value,d.value,e.class],style:e.style},{default:()=>{var n,s,u;return[(n=a.top)==null?void 0:n.call(a),a.default?o("div",{class:"v-table__wrapper",style:{height:T(e.height)}},[o("table",null,[a.default()])]):(s=a.wrapper)==null?void 0:s.call(a),(u=a.bottom)==null?void 0:u.call(a)]}})),{}}}),H={setup(){B();const e=C({});return P("api/watcher/counter/",e),{visiting:e}}},L=t("thead",null,[t("tr",null,[t("th",{class:"text-left"}," Страница "),t("th",{class:"text-left"}," Количество посещений ")])],-1);function R(e,i,a,l,d,n){return r(),w(F,null,{default:c(()=>[o(N,{class:"ma-3"},{default:c(()=>[o(E,{density:"compact",class:"mt-3"},{default:c(()=>[L,t("tbody",null,[(r(!0),h(D,null,$(l.visiting.pages,s=>(r(),h("tr",{key:s.name},[t("td",null,f(s.page),1),t("td",null,f(s.count__sum),1)]))),128))])]),_:1})]),_:1})]),_:1})}const G=V(H,[["render",R]]);export{G as default};