1import{V as u,l as m,W as p,r as a,o,c as d,w as n,b as w,e as _,i as v,U as f,m as b,p as V,B as g,X as B}from"./Bj_YPoVa.js";const j={class:"avatar-caption text-subtitle-2"},k={key:0},S={__name:"ViewsWidget",props:{appSection:{type:String,required:!0},itemObject:{type:Object,requried:!0},isViewing:{type:Boolean,default:()=>!1},isRecordingViews:{type:Boolean,default:()=>!1}},setup(t){const e=t,{recordItemViews:i,viewsCount:s}=u(e.appSection,e.itemObject),c=g(()=>B(s?.value?.views==null?0:s.value.views));return m(()=>{e.isRecordingViews&&e.itemObject!=null&&(i(!1),p(e.itemObject?.name??e.itemObject?.title??"Page Unknown"))}),(y,O)=>{const r=a("v-col"),l=a("v-row");return o(),d(l,{class:"ma-0"},{default:n(()=>[w(r,{class:"pa-0 ma-0"},{default:n(()=>[_("div",j,[t.isViewing?(o(),v("span",k,"Abalabi "+f(b(c)),1)):V("",!0)])]),_:1})]),_:1})}}};export{S as default};
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.