"use strict";exports.id=2430,exports.ids=[2430],exports.modules={2430:(e,i,l)=>{l.d(i,{Z:()=>FilterDeliveryMethodFacet});var t=l(16652),a=l(83339),r=l(97358),n=l(4018),c=l(20997);function FilterDeliveryMethodFacet({item:e,deliveryMethods:i}){let{city:l,postalCode:p}=r.Qf.read(),{openRegionSlider:s}=(0,t.l8)(),u=l?`${(0,n._W)(l)}, ${p}`:p,o={delivery:i?.delivery??"Shipping to","pickup-in-point":i?.pickupInPoint??"Pickup at","pickup-nearby":i?.pickupNearby??"Pickup Nearby","pickup-all":i?.pickupAll?.label??"Pickup Anywhere"};return"delivery"===e.value?(0,c.jsxs)(c.Fragment,{children:[o[e.value],c.jsx(a.Z,{"data-fs-filter-list-item-button":!0,size:"small",onClick:()=>{s(t.gK.changeLocation)},children:u})]}):"pickup-in-point"===e.value?(0,c.jsxs)(c.Fragment,{children:[o[e.value],c.jsx(a.Z,{"data-fs-filter-list-item-button":!0,size:"small",onClick:()=>{s(t.gK.changePickupPoint)},children:e.label})]}):c.jsx(c.Fragment,{children:o[e.value]??e.label})}}};