1import{aP as e,aW as d}from"./store-DUosIV5A.js";import{p as f}from"./pluralize-Dcj-xPJf.js";import{o as g}from"./application-CegkUz9G.js";const w="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_643_2496)'%3e%3cpath%20d='M14.3194%203.92803C13.0782%202.24781%2010.7168%201.88451%209.03654%203.12576L8.30996%203.6707L7.76502%202.94412C6.52377%201.26389%204.16237%200.900597%202.48214%202.14185C0.801914%203.3831%200.438622%205.7445%201.67987%207.42472L2.22481%208.15131L6.70542%2014.2365L12.7906%209.75585L13.5171%209.21091C15.1974%207.96966%2015.5607%205.60826%2014.3194%203.92803Z'%20fill='%23FFCA0A'%20stroke='%23222520'%20stroke-width='1.23529'%20stroke-miterlimit='10'%20stroke-linecap='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_643_2496'%3e%3crect%20width='16'%20height='15.1069'%20fill='white'%20transform='translate(0%200.446533)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",j=g(({amount:r,costPerPerson:a=40,donationType:i,iconSize:l="28px",imgClasses:o,pClasses:c,wrapperClasses:n})=>{const s=t=>`${d(t).format("0,0")} ${f("person",t)}`,p=()=>{const t=Math.floor(r/a);return t===0||!r?"Your gift will serve people with clean water.":e.jsxs(e.Fragment,{children:["Gives"," ",e.jsx("span",{className:"font-medium",children:s(t)})," ","clean water on average."]})},m=()=>{const t=Math.floor(r*12/a);return t===0||!r?"Your monthly gift will serve people with clean water all year long.":e.jsxs(e.Fragment,{children:["Gives"," ",e.jsx("span",{className:"font-medium",children:s(t)})," ","clean water every year on average."]})},h=()=>{switch(i){case"one-time":return p();case"monthly":return m()}};return e.jsxs("div",{className:n,children:[e.jsx("img",{className:o,src:w,style:{height:l,width:l}}),e.jsx("p",{className:c,children:h()})]})});export{j as default}; 2//# sourceMappingURL=AmountImpactCalculator-DyitNBiz.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.