PageSourceSearch

https://cerise.ga/assets/usePickupPoints-c9755141.js

js cerise.ga collected 2026-10-02 01:54:40 UTC 936 bytes, 2 lines download raw bytes

1import{ao as a,v as o}from"./vendor-d8e6286f.js";import{P as n}from"./PickupPoints-f8abdaeb.js";const i=5*60*1e3,y=(e,s=!0)=>a({queryKey:["pickupPoints",e],queryFn:()=>n.getPickupPoints(e).then(({data:u})=>u),staleTime:i,placeholderData:o,enabled:s}),k=(e,s=!0)=>a({queryKey:["pickupPointsMap",e],queryFn:()=>n.getPickupPointsMap(e).then(({data:u})=>u),staleTime:i,placeholderData:o,enabled:s&&!!e}),d=e=>a({queryKey:["pickupPoint",e],queryFn:()=>n.getPickupPointById(e),staleTime:i,enabled:!!e}),p=30,h=(e,s=!0)=>a({queryKey:["pickupPointsSearch",e],queryFn:async()=>{const u=await Promise.allSettled(e.map(t=>n.getPickupPoints({...t,page:{current:1,size:p}}).then(({data:r})=>r))),c=new Set;return u.flatMap(t=>t.status==="fulfilled"?t.value:[]).filter(t=>c.has(t.id)?!1:(c.add(t.id),!0))},staleTime:i,placeholderData:o,enabled:s&&e.length>0});export{h as a,k as b,y as c,d as u};
2//# sourceMappingURL=usePickupPoints-c9755141.js.map

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.