import{d as ne,o as B,n as H,w as L,b as J,Q as O,a3 as $e,t as ee,a as S,m as te,j as ae,A as z,_ as fe,k as ge,N as $,r as re,aZ as Re,a5 as C,a_ as G,aO as Ee,as as me,a$ as Oe,al as Fe,ak as Me,b0 as Ne,aS as pe,aT as Ge,b1 as je,a6 as ye,a8 as T,b2 as be,a7 as qe,aU as ze,u as he,an as Ke,b3 as oe,b4 as Ue,G as p,am as I,a9 as Se,M as R,ar as j,ay as ce,a2 as de,Y as Pe,c as E,B as We,e as Qe,b5 as Xe,ao as F,b6 as le,b7 as Ye,b8 as ke,ae as Ze,aq as Y,b9 as Z,ba as q,bb as ve}from"./index-207e8178.js";import{V as He}from"./VChip-0d63d8ef.js";import{P as K,a as U}from"./EventActions-9062df64.js";import{P as xe}from"./EventNames-6f9cd989.js";import{I as Je}from"./InfoToggle-34b6c15c.js";import{a as et}from"./VTextField-b712f4db.js";import{b as tt,m as at,u as lt}from"./VForm-0fd17bdf.js";const nt=["id","aria-label"],rt={class:"chip-text"},st=ne({__name:"FilterResultChip",props:{chip:{type:Object,required:!0}},setup(e){return(a,t)=>e.chip.active?(B(),H(He,{key:0,color:"cta_blue_contrast",class:"removeFilter status-chip-focus font-weight-bold"},{default:L(()=>[J("button",{id:e.chip.id,filter:"",onClick:t[0]||(t[0]=O((...l)=>e.chip.clickMethod&&e.chip.clickMethod(...l),["prevent"])),onKeydown:t[1]||(t[1]=$e(O((...l)=>e.chip.clickMethod&&e.chip.clickMethod(...l),["prevent"]),["space"])),"aria-label":e.chip.text+" verwijderen uit filter.",href:"#",class:"chip-button"},[J("span",rt,ee(e.chip.text),1),S(te,{color:"cta_blue_contrast",id:e.chip.id+"-close",medium:""},{default:L(()=>[ae(" mdi-close")]),_:1},8,["id"])],40,nt)]),_:1})):z("",!0)}});const Jt=fe(st,[["__scopeId","data-v-91e18aa6"]]),it={class:"select-row"},ea=ne({__name:"BlueSelect",props:{items:{type:Array,required:!0},modelValue:Object},emits:["update:modelValue"],setup(e,{emit:a}){const t=e,l=ge("$piwik"),r=n=>{if(!n&&n!==null)return;const i=t.items.find(s=>n===null||s.value===null?s.value===n:s.value.veld===n.veld&&s.value.type===n.type);if(i)return i.title},o=n=>{n&&l(K.Results,U.Sort,xe.ResultSortOpen)},d=n=>{a("update:modelValue",n);const i=r(n);i&&l(K.Results,U.Sort,`result-sort-selection-${i}`)};return(n,i)=>(B(),H(tt,{items:e.items,modelValue:e.modelValue,id:"sort-selector",variant:"solo",density:"compact",label:"Sorteer op",bgColor:"cta_blue",color:"white",baseColor:"white",openText:"Sorteer op",closeText:"Sorteer op",class:"blue-select",eager:"",ref:"blue-v-select","menu-props":{scrollStrategy:"none"},"onUpdate:modelValue":d,"onUpdate:menu":o},{item:L(({props:s,item:u})=>[J("div",it,[S(et,$({class:"blue-select-item",density:"compact"},s,{disabled:u.raw.disabled}),null,16,["disabled"]),u.raw.disabled?(B(),H(Je,{key:0,tooltipText:u.raw.disabledTooltipText,"tooltip-color":"white"},null,8,["tooltipText"])):z("",!0)])]),_:1},8,["items","modelValue"]))}});function ut(){const e=re([]);Re(()=>e.value=[]);function a(t,l){e.value[l]=t}return{refs:e,updateRef:a}}const ot=C({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1===0},totalVisible:[Number,String],firstIcon:{type:G,default:"$first"},prevIcon:{type:G,default:"$prev"},nextIcon:{type:G,default:"$next"},lastIcon:{type:G,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...Ee(),...me(),...Oe(),...Fe(),...Me(),...Ne(),...pe({tag:"nav"}),...Ge(),...je({variant:"text"})},"VPagination"),ct=ye()({name:"VPagination",props:ot(),emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,a){let{slots:t,emit:l}=a;const r=T(e,"modelValue"),{t:o,n:d}=be(),{isRtl:n}=qe(),{themeClasses:i}=ze(e),{width:s}=he(),u=Ke(-1);oe(void 0,{scoped:!0});const{resizeRef:v}=Ue(c=>{if(!c.length)return;const{target:m,contentRect:b}=c[0],P=m.querySelector(".v-pagination__list > *");if(!P)return;const k=b.width,V=P.offsetWidth+parseFloat(getComputedStyle(P).marginRight)*2;u.value=A(k,V)}),f=p(()=>parseInt(e.length,10)),y=p(()=>parseInt(e.start,10)),x=p(()=>e.totalVisible!=null?parseInt(e.totalVisible,10):u.value>=0?u.value:A(s.value,58));function A(c,m){const b=e.showFirstLastPage?5:3;return Math.max(0,Math.floor(+((c-m*b)/m).toFixed(2)))}const g=p(()=>{if(f.value<=0||isNaN(f.value)||f.value>Number.MAX_SAFE_INTEGER)return[];if(x.value<=0)return[];if(x.value===1)return[r.value];if(f.value<=x.value)return j(f.value,y.value);const c=x.value%2===0,m=c?x.value/2:Math.floor(x.value/2),b=c?m:m+1,P=f.value-m;if(b-r.value>=0)return[...j(Math.max(1,x.value-1),y.value),e.ellipsis,f.value];if(r.value-P>=(c?1:0)){const k=x.value-1,V=f.value-k+y.value;return[y.value,e.ellipsis,...j(k,V)]}else{const k=Math.max(1,x.value-3),V=k===1?r.value:r.value-Math.ceil(k/2)+y.value;return[y.value,e.ellipsis,...j(k,V),e.ellipsis,f.value]}});function h(c,m,b){c.preventDefault(),r.value=m,b&&l(b,m)}const{refs:_,updateRef:D}=ut();oe({VPaginationBtn:{color:I(e,"color"),border:I(e,"border"),density:I(e,"density"),size:I(e,"size"),variant:I(e,"variant"),rounded:I(e,"rounded"),elevation:I(e,"elevation")}});const W=p(()=>g.value.map((c,m)=>{const b=P=>D(P,m);if(typeof c=="string")return{isActive:!1,key:`ellipsis-${m}`,page:c,props:{ref:b,ellipsis:!0,icon:!0,disabled:!0}};{const P=c===r.value;return{isActive:P,key:c,page:d(c),props:{ref:b,ellipsis:!1,icon:!0,disabled:!!e.disabled||+e.length<2,color:P?e.activeColor:e.color,ariaCurrent:P,ariaLabel:o(P?e.currentPageAriaLabel:e.pageAriaLabel,c),onClick:k=>h(k,c)}}}})),w=p(()=>{const c=!!e.disabled||r.value<=y.value,m=!!e.disabled||r.value>=y.value+f.value-1;return{first:e.showFirstLastPage?{icon:n.value?e.lastIcon:e.firstIcon,onClick:b=>h(b,y.value,"first"),disabled:c,ariaLabel:o(e.firstAriaLabel),ariaDisabled:c}:void 0,prev:{icon:n.value?e.nextIcon:e.prevIcon,onClick:b=>h(b,r.value-1,"prev"),disabled:c,ariaLabel:o(e.previousAriaLabel),ariaDisabled:c},next:{icon:n.value?e.prevIcon:e.nextIcon,onClick:b=>h(b,r.value+1,"next"),disabled:m,ariaLabel:o(e.nextAriaLabel),ariaDisabled:m},last:e.showFirstLastPage?{icon:n.value?e.firstIcon:e.lastIcon,onClick:b=>h(b,y.value+f.value-1,"last"),disabled:m,ariaLabel:o(e.lastAriaLabel),ariaDisabled:m}:void 0}});function M(){var m;const c=r.value-y.value;(m=_.value[c])==null||m.$el.focus()}function Q(c){c.key===ce.left&&!e.disabled&&r.value>+e.start?(r.value=r.value-1,de(M)):c.key===ce.right&&!e.disabled&&r.value<y.value+f.value-1&&(r.value=r.value+1,de(M))}return Se(()=>S(e.tag,{ref:v,class:["v-pagination",i.value,e.class],style:e.style,role:"navigation","aria-label":o(e.ariaLabel),onKeydown:Q,"data-test":"v-pagination-root"},{default:()=>[S("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&S("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[t.first?t.first(w.value.first):S(R,$({_as:"VPaginationBtn"},w.value.first),null)]),S("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[t.prev?t.prev(w.value.prev):S(R,$({_as:"VPaginationBtn"},w.value.prev),null)]),W.value.map((c,m)=>S("li",{key:c.key,class:["v-pagination__item",{"v-pagination__item--is-active":c.isActive}],"data-test":"v-pagination-item"},[t.item?t.item(c):S(R,$({_as:"VPaginationBtn"},c.props),{default:()=>[c.page]})])),S("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[t.next?t.next(w.value.next):S(R,$({_as:"VPaginationBtn"},w.value.next),null)]),e.showFirstLastPage&&S("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[t.last?t.last(w.value.last):S(R,$({_as:"VPaginationBtn"},w.value.last),null)])])]})),{}}}),dt={class:"mt-8"},vt={key:0,class:"pagination-item"},ft=["href","onClick"],gt=9,mt=5,pt=ne({__name:"Pagination",props:{page:{type:Number,required:!0},getPaginationUrl:{type:Function,required:!0},itemsPerPage:{type:Number,required:!0},totalResults:{type:Number,required:!0},formerPage:{type:Function,required:!0},nextPage:{type:Function,required:!0}},setup(e){const a=e,{mobile:t}=he(),l=ge("$piwik"),r=p(()=>t.value?mt:gt),o=re(a.page);Pe(()=>a.page,n=>{o.value=n});const d=(n,i)=>{i==="prev"?a.formerPage():i==="next"&&(a.nextPage(),l(K.Results,U.Click,xe.ResultPaginationNext)),!(n===o.value||n<1)&&(n<o.value?a.formerPage(n):a.nextPage(n),o.value=n,l(K.Results,U.Click,`result-pagination-${n}`))};return(n,i)=>(B(),E("div",dt,[S(ct,{modelValue:o.value,"onUpdate:modelValue":i[2]||(i[2]=s=>o.value=s),length:Math.ceil(e.totalResults/e.itemsPerPage),"total-visible":r.value,rounded:"circle",variant:"flat",density:"compact"},{prev:L(()=>[o.value!=1?(B(),E("a",{key:0,href:"",class:"pagination-item active-item",onClick:i[0]||(i[0]=O(s=>d(o.value-1,"prev"),["prevent"])),"aria-label":"Ga naar de vorige pagina"},[S(te,{color:"white"},{default:L(()=>[ae("mdi-chevron-left")]),_:1})])):z("",!0)]),item:L(s=>[s.page==="..."?(B(),E("span",vt,ee(s.page),1)):(B(),E("a",{key:1,class:We(["pagination-item pagination-item-background",{"active-item":s.isActive}]),href:s.page==="..."?"":Qe(Xe)(e.getPaginationUrl(s.page)),onClick:O(u=>s.page!=="..."&&d(parseInt(s.page.replace(".",""))),["prevent"]),"aria-label":"Ga naar pagina {{ item.page }}"},ee(s.page),11,ft))]),next:L(()=>[o.value!=Math.ceil(e.totalResults/e.itemsPerPage)?(B(),E("a",{key:0,href:"",class:"pagination-item active-item",onClick:i[1]||(i[1]=O(s=>d(o.value+1,"next"),["prevent"])),"aria-label":"Ga naar de volgende pagina"},[S(te,{color:"white"},{default:L(()=>[ae("mdi-chevron-right")]),_:1})])):z("",!0)]),_:1},8,["modelValue","length","total-visible"])]))}});const ta=fe(pt,[["__scopeId","data-v-1c91ddfd"]]),yt=C({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),bt=Symbol.for("vuetify:datatable:expanded");function ht(e){const a=I(e,"expandOnClick"),t=T(e,"expanded",e.expanded,n=>new Set(n),n=>[...n.values()]);function l(n,i){const s=new Set(t.value);i?s.add(n.value):s.delete(n.value),t.value=s}function r(n){return t.value.has(n.value)}function o(n){l(n,!r(n))}const d={expand:l,expanded:t,expandOnClick:a,isExpanded:r,toggleExpand:o};return F(bt,d),d}const St=C({groupBy:{type:Array,default:()=>[]}},"DataTable-group"),Pt=Symbol.for("vuetify:data-table-group");function kt(e){const{groupBy:a,sortBy:t}=e,l=re(new Set),r=p(()=>a.value.map(s=>({...s,order:s.order??!1})).concat(t.value));function o(s){return l.value.has(s.id)}function d(s){const u=new Set(l.value);o(s)?u.delete(s.id):u.add(s.id),l.value=u}function n(s){function u(v){const f=[];for(const y of v.items)"type"in y&&y.type==="group"?f.push(...u(y)):f.push(y);return f}return u({type:"group",items:s,id:"dummy",key:"dummy",value:"dummy",depth:0})}const i={sortByWithGroups:r,toggleGroup:d,opened:l,groupBy:a,extractRows:n,isGroupOpen:o};return F(Pt,i),i}function xt(e,a){if(!e.length)return[];const t=new Map;for(const l of e){const r=le(l.raw,a);t.has(r)||t.set(r,[]),t.get(r).push(l)}return t}function Ie(e,a){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"root";if(!a.length)return[];const r=xt(e,a[0]),o=[],d=a.slice(1);return r.forEach((n,i)=>{const s=a[0],u=`${l}_${s}_${i}`;o.push({depth:t,id:u,key:s,value:i,items:d.length?Ie(n,d,t+1,u):n,type:"group"})}),o}function we(e,a){const t=[];for(const l of e)"type"in l&&l.type==="group"?(l.value!=null&&t.push(l),(a.has(l.id)||l.value==null)&&t.push(...we(l.items,a))):t.push(l);return t}function It(e,a,t){return{flatItems:p(()=>{if(!a.value.length)return e.value;const r=Ie(e.value,a.value.map(o=>o.key));return we(r,t.value)})}}function wt(e){let{page:a,itemsPerPage:t,sortBy:l,groupBy:r,search:o}=e;const d=Ye("VDataTable"),n=p(()=>({page:a.value,itemsPerPage:t.value,sortBy:l.value,groupBy:r.value,search:o.value}));let i=null;Pe(n,()=>{ke(i,n.value)||((i==null?void 0:i.search)!==n.value.search&&(a.value=1),d.emit("update:options",n.value),i=n.value)},{deep:!0,immediate:!0})}const _t=C({page:{type:[Number,String],default:1},itemsPerPage:{type:[Number,String],default:10}},"DataTable-paginate"),Vt=Symbol.for("vuetify:data-table-pagination");function Bt(e){const a=T(e,"page",void 0,l=>+(l??1)),t=T(e,"itemsPerPage",void 0,l=>+(l??10));return{page:a,itemsPerPage:t}}function Lt(e){const{page:a,itemsPerPage:t,itemsLength:l}=e,r=p(()=>t.value===-1?0:t.value*(a.value-1)),o=p(()=>t.value===-1?l.value:Math.min(l.value,r.value+t.value)),d=p(()=>t.value===-1||l.value===0?1:Math.ceil(l.value/t.value));Ze(()=>{a.value>d.value&&(a.value=d.value)});function n(f){t.value=f,a.value=1}function i(){a.value=Y(a.value+1,1,d.value)}function s(){a.value=Y(a.value-1,1,d.value)}function u(f){a.value=Y(f,1,d.value)}const v={page:a,itemsPerPage:t,startIndex:r,stopIndex:o,pageCount:d,itemsLength:l,nextPage:i,prevPage:s,setPage:u,setItemsPerPage:n};return F(Vt,v),v}function Ct(e){const{items:a,startIndex:t,stopIndex:l,itemsPerPage:r}=e;return{paginatedItems:p(()=>r.value<=0?a.value:a.value.slice(t.value,l.value))}}const At={showSelectAll:!1,allSelected:()=>[],select:e=>{var l;let{items:a,value:t}=e;return new Set(t?[(l=a[0])==null?void 0:l.value]:[])},selectAll:e=>{let{selected:a}=e;return a}},_e={showSelectAll:!0,allSelected:e=>{let{currentPage:a}=e;return a},select:e=>{let{items:a,value:t,selected:l}=e;for(const r of a)t?l.add(r.value):l.delete(r.value);return l},selectAll:e=>{let{value:a,currentPage:t,selected:l}=e;return _e.select({items:t,value:a,selected:l})}},Ve={showSelectAll:!0,allSelected:e=>{let{allItems:a}=e;return a},select:e=>{let{items:a,value:t,selected:l}=e;for(const r of a)t?l.add(r.value):l.delete(r.value);return l},selectAll:e=>{let{value:a,allItems:t,selected:l}=e;return Ve.select({items:t,value:a,selected:l})}},Tt=C({showSelect:Boolean,selectStrategy:{type:[String,Object],default:"page"},modelValue:{type:Array,default:()=>[]},valueComparator:{type:Function,default:ke}},"DataTable-select"),Dt=Symbol.for("vuetify:data-table-selection");function $t(e,a){let{allItems:t,currentPage:l}=a;const r=T(e,"modelValue",e.modelValue,g=>new Set(Z(g).map(h=>{var _;return((_=t.value.find(D=>e.valueComparator(h,D.value)))==null?void 0:_.value)??h})),g=>[...g.values()]),o=p(()=>t.value.filter(g=>g.selectable)),d=p(()=>l.value.filter(g=>g.selectable)),n=p(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single":return At;case"all":return Ve;case"page":default:return _e}});function i(g){return Z(g).every(h=>r.value.has(h.value))}function s(g){return Z(g).some(h=>r.value.has(h.value))}function u(g,h){const _=n.value.select({items:g,value:h,selected:new Set(r.value)});r.value=_}function v(g){u([g],!i([g]))}function f(g){const h=n.value.selectAll({value:g,allItems:o.value,currentPage:d.value,selected:new Set(r.value)});r.value=h}const y=p(()=>r.value.size>0),x=p(()=>{const g=n.value.allSelected({allItems:o.value,currentPage:d.value});return!!g.length&&i(g)}),A={toggleSelect:v,select:u,selectAll:f,isSelected:i,isSomeSelected:s,someSelected:y,allSelected:x,showSelectAll:n.value.showSelectAll};return F(Dt,A),A}const Rt=C({sortBy:{type:Array,default:()=>[]},customKeySort:Object,multiSort:Boolean,mustSort:Boolean},"DataTable-sort"),Et=Symbol.for("vuetify:data-table-sort");function Ot(e){const a=T(e,"sortBy"),t=I(e,"mustSort"),l=I(e,"multiSort");return{sortBy:a,mustSort:t,multiSort:l}}function Ft(e){const{sortBy:a,mustSort:t,multiSort:l,page:r}=e,o=i=>{if(i.key==null)return;let s=a.value.map(v=>({...v}))??[];const u=s.find(v=>v.key===i.key);u?u.order==="desc"?t.value?u.order="asc":s=s.filter(v=>v.key!==i.key):u.order="desc":l.value?s=[...s,{key:i.key,order:"asc"}]:s=[{key:i.key,order:"asc"}],a.value=s,r&&(r.value=1)};function d(i){return!!a.value.find(s=>s.key===i.key)}const n={sortBy:a,toggleSort:o,isSorted:d};return F(Et,n),n}function Mt(e,a,t,l){const r=be();return{sortedItems:p(()=>t.value.length?Nt(a.value,t.value,r.current.value,{...e.customKeySort,...l==null?void 0:l.value}):a.value)}}function Nt(e,a,t,l){const r=new Intl.Collator(t,{sensitivity:"accent",usage:"sort"});return[...e].sort((o,d)=>{for(let n=0;n<a.length;n++){const i=a[n].key,s=a[n].order??"asc";if(s===!1)continue;let u=le(o.raw,i),v=le(d.raw,i);if(s==="desc"&&([u,v]=[v,u]),l!=null&&l[i]){const f=l[i](u,v);if(!f)continue;return f}if(u instanceof Date&&v instanceof Date)return u.getTime()-v.getTime();if([u,v]=[u,v].map(f=>f!=null?f.toString().toLocaleLowerCase():f),u!==v)return q(u)&&q(v)?0:q(u)?-1:q(v)?1:!isNaN(u)&&!isNaN(v)?Number(u)-Number(v):r.compare(u,v)}return 0})}const Gt=C({items:{type:Array,default:()=>[]},itemValue:{type:[String,Array,Function],default:"id"},itemSelectable:{type:[String,Array,Function],default:null},returnObject:Boolean},"DataIterator-items");function jt(e,a){const t=e.returnObject?a:ve(a,e.itemValue),l=ve(a,e.itemSelectable,!0);return{type:"item",value:t,selectable:l,raw:a}}function qt(e,a){const t=[];for(const l of a)t.push(jt(e,l));return t}function zt(e){return{items:p(()=>qt(e,e.items))}}const Kt=C({search:String,loading:Boolean,...me(),...Gt(),...Tt(),...Rt(),..._t({itemsPerPage:5}),...yt(),...St(),...at(),...pe()},"VDataIterator"),aa=ye()({name:"VDataIterator",props:Kt(),emits:{"update:modelValue":e=>!0,"update:groupBy":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:expanded":e=>!0},setup(e,a){let{slots:t}=a;const l=T(e,"groupBy"),r=I(e,"search"),{items:o}=zt(e),{filteredItems:d}=lt(e,o,r,{transform:N=>N.raw}),{sortBy:n,multiSort:i,mustSort:s}=Ot(e),{page:u,itemsPerPage:v}=Bt(e),{toggleSort:f}=Ft({sortBy:n,multiSort:i,mustSort:s,page:u}),{sortByWithGroups:y,opened:x,extractRows:A,isGroupOpen:g,toggleGroup:h}=kt({groupBy:l,sortBy:n}),{sortedItems:_}=Mt(e,d,y),{flatItems:D}=It(_,l,x),W=p(()=>D.value.length),{startIndex:w,stopIndex:M,pageCount:Q,prevPage:c,nextPage:m,setItemsPerPage:b,setPage:P}=Lt({page:u,itemsPerPage:v,itemsLength:W}),{paginatedItems:k}=Ct({items:D,startIndex:w,stopIndex:M,itemsPerPage:v}),V=p(()=>A(k.value)),{isSelected:Be,select:Le,selectAll:Ce,toggleSelect:Ae}=$t(e,{allItems:o,currentPage:V}),{isExpanded:Te,toggleExpand:De}=ht(e);wt({page:u,itemsPerPage:v,sortBy:n,groupBy:l,search:r});const X=p(()=>({page:u.value,itemsPerPage:v.value,sortBy:n.value,pageCount:Q.value,toggleSort:f,prevPage:c,nextPage:m,setPage:P,setItemsPerPage:b,isSelected:Be,select:Le,selectAll:Ce,toggleSelect:Ae,isExpanded:Te,toggleExpand:De,isGroupOpen:g,toggleGroup:h,items:V.value,groupedItems:k.value}));return Se(()=>S(e.tag,{class:["v-data-iterator",e.class],style:e.style},{default:()=>{var N,se,ie,ue;return[(N=t.header)==null?void 0:N.call(t,X.value),k.value.length?(ie=t.default)==null?void 0:ie.call(t,X.value):(se=t["no-data"])==null?void 0:se.call(t),(ue=t.footer)==null?void 0:ue.call(t,X.value)]}})),{}}});export{Jt as F,ta as P,aa as V,ea as _};