1import{u as e}from"./eyKKvqCP.js";import{w as t,x as n}from"./B7cGa-wU.js";var r=e=>Math.round(e.reduce((e,t)=>e+(t.isTray?t.qty/(t.quantityFactor||1):t.qty),0)),i=e=>Math.round(e*100)/100,a=e=>e.reduce((e,t)=>e+(t.positionTotal?.amount??0),0);function o(){let i=t(),o=n(),s=e(()=>o.items),c=e(()=>i.cartItems??[]),l=e(()=>a(s.value));return{reservationItems:s,reservationItemIds:e(()=>[...new Set(s.value.map(({itemId:e})=>e).filter(Boolean))]),reservationAmount:l,reservationAmountLabel:e(()=>l.value.toFixed(2).replace(`.`,`,`)),currencySymbol:e(()=>i.cartTotals?.grandTotal?.currencySymbol??`â¬`),reservationArticleCount:e(()=>r(s.value)),hasReservationSegment:e(()=>s.value.length>0),hasDeliverySegment:e(()=>c.value.length>0)}}export{i as n,r,o as t};
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.