1import{a as s}from"./chunk-PKIM746Z.js";import"./chunk-7GS3XWLE.js";import"./chunk-FSZZ7PA7.js";import"./chunk-CRE3IJ2E.js";import"./chunk-6ADYHPW7.js";import"./chunk-DADUEMJP.js";import{a as n,b as r}from"./chunk-DM4YSGKB.js";import"./chunk-WDHHZHIL.js";import"./chunk-UYDWTN42.js";import"./chunk-QSSFUK4L.js";import"./chunk-ZZVMHW6V.js";import"./chunk-L3CPNZT2.js";import"./chunk-JLVMWG5F.js";import"./chunk-4EDLVDYP.js";import"./chunk-LMPR367F.js";import"./chunk-3QSTZN32.js";import"./chunk-KDKHKXAZ.js";import{a as u}from"./chunk-X6IOVEKU.js";import"./chunk-W254NF3R.js";import"./chunk-6QKRXUVD.js";import"./chunk-ZJXTLWBM.js";function b(){let{cart:a,loading:l,updateItems:i}=r(),o=a.value?.products??[],c=a.value?.coupon,m=c&&c[0],p="pt-BR",d=a.value?.currency??"BRL",g=a.value?.total??0,v=a.value?.subtotal??0,y=`/checkout/v3/start/${a.value?.id}/${a.value?.token}`;return u(s,{items:o?.map(t=>({image:{src:t.image.src,alt:t.image.alt[0]},quantity:t.quantity,name:t.name,price:{sale:Number(t.price),list:Number(t.compare_at_price)}})),total:Number(g),subtotal:Number(v),discounts:0,locale:p,currency:d,loading:l.value,freeShippingTarget:1e3,checkoutHref:y,coupon:m,onUpdateQuantity:(t,e)=>i({quantity:t,itemId:o[e].id}),itemToAnalyticsItem:t=>{let e=o[t];return e&&n(e,t)}})}var k=b;export{k 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.