import{computed as d}from"vue";function m(r,i,u){return d(()=>{const n=[],c=[];let s=0,f=0;const o=r.value,l=i.value,a=u.value;for(let t=0;t<l;t+=1)if(a==="rtl"){c[t]=f,f+=o[t]||0;const e=l-t-1;n[e]=s,s+=o[e]||0}else{n[t]=s,s+=o[t]||0;const e=l-t-1;c[e]=f,f+=o[e]||0}return{left:n,right:c}})}export{m as default};
