PageSourceSearch

https://www.charitywater.org/vite/assets/Container-CygHZtz_.js

js charitywater.org collected 2026-10-01 07:18:27 UTC 1,506 bytes, 2 lines download raw bytes

1import{aB as s,aP as e}from"./store-hHMBOSZG.js";import{c as p}from"./index-DKrd6d1c.js";import{o as d,a as m}from"./application-BzAvrEXI.js";import{u,O as g}from"./index-CYYOsFy5.js";const f=d(({onboardingImages:n})=>{const a=u(),[r,c]=m.useState(n[0]),i=()=>[...Array(s.campaign.steps.length)].map((o,t)=>e.jsx("span",{className:p("step-bubble inline-block rounded-md",{"bg-cw-yellow":s.campaign.stepNumber>=t,"bg-grey-30":s.campaign.stepNumber<t})},o)),l=()=>{const t=(a.pathname.endsWith("/")?a.pathname.slice(0,-1):a.pathname).split("/").pop(-1);t=="new"?s.campaign.setStepName("create"):s.campaign.setStepName(t)};return m.useEffect(()=>{window.scrollTo(0,0)},[a]),m.useLayoutEffect(()=>{s.campaign.steps=["create","raise-amount","profile-photo","cw-cover-photo","mission-statement"],l(),c(n[s.campaign.stepNumber])},[a.pathname]),e.jsxs("div",{children:[e.jsxs("div",{className:"columns medium-8 large-6",children:[e.jsxs("div",{className:"steps",children:[i(),e.jsxs("div",{className:"step-count text-eyebrow-cw-black mt-1 md-mt-0 pt-1",children:["STEP ",s.campaign.stepNumber+1," / ",s.campaign.steps.length]})]}),e.jsx(g,{})]}),e.jsx("div",{className:"columns medium-4 large-6 relative onboarding-image-section",children:e.jsxs("div",{className:"flex flex-row justify-end",children:[e.jsx("div",{className:"bg-cw-brand-yellow-300 rounded-md absolute onboarding-image"}),e.jsx("img",{className:"mr-2 mt-2",src:r.url})]})})]})});export{f as default};
2//# sourceMappingURL=Container-CygHZtz_.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.