PageSourceSearch

https://www.charitywater.org/vite/assets/DaysLeftText-Dqx6T6Zo.js

js charitywater.org collected 2026-09-24 06:54:40 UTC 679 bytes, 2 lines download raw bytes

1import{aB as t,aP as a}from"./store-DUosIV5A.js";import{p as r}from"./pluralize-Dcj-xPJf.js";import{o as i,a as n}from"./application-CegkUz9G.js";const p=i(({campaign:e})=>{n.useLayoutEffect(()=>{t.campaign.attributes=e},[t.campaign.attributes.daysLeft]);const s=()=>t.campaign.attributes.isClosed?"0 days left":parseInt(t.campaign.attributes.daysLeft)==0?"last day":`${t.campaign.attributes.daysLeft} ${r("day",parseInt(t.campaign.attributes.daysLeft))} left`;return a.jsx(a.Fragment,{children:a.jsx("p",{className:"text-xs text-grey-60 italic font-medium",children:`${s()}${isMobile?" to give":""}`})})});export{p as default};
2//# sourceMappingURL=DaysLeftText-Dqx6T6Zo.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.