1import{aP as e,ay as h}from"./store-DUosIV5A.js";import b from"./AlpineIsland-Cxdwp1xn.js";import{i}from"./localization-BpxMNLZ-.js";import{o as x,a as _,u as y}from"./application-CegkUz9G.js";const w=x(()=>{const t=_.useRef(null),n=y(()=>({selectedEstimateDonationSizeOption:i()?"corporategiving_request_uk_brand_partner":"corporategiving_request_fundraise_as_a_business"})),r={companyLocation:"11079620207757",companyName:"360016765851",companySize:"360016723272",countrySubmittedFrom:"45327399643661",doesYourCompanyHaveAFoundation:"11116545731725",estimatedDonationSize:"24394485",howDidYouHearAboutUs:"360020825252",name:"360019370072",website:"24394495"},d=[{value:"1-10_employees",display:"1-10 Employees"},{value:"11-50_employees",display:"11-50 Employees"},{value:"51-200_employees",display:"51-200 Employees"},{value:"200__employees",display:"200+ Employees"}],o=[{value:"corporategiving_request_other",displayHeader:"Project Sponsor",displayText:`Giving $10,000 2or more per year`},{value:"corporategiving_request_fundraise_as_a_business",displayHeader:"Official Partner",displayText:`Giving $100,000 3or more per year`},{value:"corporategiving_request_above_500k",displayHeader:"Flagship Partner",displayText:`Giving $500,000 4or more per year`},{value:"corporategiving_request_sponsor_a_project_as_a_business",displayHeader:"Other",displayText:`Amount is unknown 5or less than $10,000`}],l=[{value:"corporategiving_request_uk_brand_supporter",displayHeader:"Brand Supporter",displayText:`Giving up to £10,000 6per year`},{value:"corporategiving_request_uk_brand_partner",displayHeader:"Brand Partner",displayText:`Giving £10,000 7or more per year`},{value:"corporategiving_request_uk_global_partner",displayHeader:"Global Partner",displayText:`Giving £100,000 8or more per year`}],p=[{value:"true",display:"Yes"},{value:"false",display:"No"}],m=[{value:"friend",display:"Friend"},{value:"advertisement",display:"Advertisement"},{value:"the_spring_",display:"The Spring"},{value:"podcast",display:"Podcast"},{value:"read_thirst",display:"Read Thirst"},{value:"current_spring_member",display:"Current Spring Member"},{value:"current_donor",display:"Current Donor"},{value:"heard_about_us_in_other_way",display:"Other"}],c=i()?l:o;return e.jsx(e.Fragment,{children:e.jsxs("form",{className:"bp-form w-full text-cw-brand-grey-900 pb-5 px-5 md-px-15 theme-design-system-v1","data-parsley-validate":!0,id:"form",ref:t,"hx-post":"/zendesk_tickets?type=brand_partnership",children:[e.jsx("input",{name:"brand_partnership[country_submitted_from]",type:"hidden",value:i()?"submitted_from_uk":"submitted_from_us"}),e.jsx("input",{name:"brand_partnership[country_submitted_from_id]",type:"hidden",value:r.countrySubmittedFrom}),e.jsxs("div",{className:"breadcrumb-wrapper mb-10 flex-row items-start",children:[e.jsx("div",{className:"checkmark bg-cw-brand-blue-100 border-cw-brand-blue-500 text-cw-brand-blue-500 z-10 flex-shrink-0",children:e.jsx("span",{className:"text-xs font-medium",children:"1"})}),e.jsxs("div",{className:"w-full pl-1 md-pl-4",children:[e.jsx("div",{className:"text-md text-strong-heading tracking-relative-wider leading-tight mb-nudge",children:"Tell us more about your brand"}),e.jsx("div",{className:"text-base",children:"Help us connect you with the right member of our team by sharing the basics of your brand or foundation."})]})]}),e.jsxs("div",{className:"px-10",children:[e.jsxs("div",{className:"input-wrapper mb-5 brand-partnership-company-name",children:[e.jsx("label",{children:"Brand Name"}),e.jsx("input",{name:"brand_partnership[company_name]",placeholder:h("views.brand_partnerships_form.brand_name_placeholder"),required:!0,type:"text"}),e.jsx("input",{name:"brand_partnership[company_name_id]",type:"hidden",value:r.companyName})]}),e.jsxs("div",{className:"grid grid-cols-1 md-grid-cols-2 gap-x-2",children:[e.jsxs("div",{className:"columns input-wrapper mb-5 brand-partnership-your-name",children:[e.jsx("label",{children:"Your Name"}),e.jsx("input",{name:"brand_partnership[your_name]",placeholder:"Your name",required:!0,type:"text"}),e.jsx("input",{name:"brand_partnership[name_id]",type:"hidden",value:r.name})]}),e.jsxs("div",{className:"columns input-wrapper mb-5 brand-partnership-your-email",children:[e.jsx("label",{children:"Your Email"}),e.jsx("input",{name:"brand_partnership[your_email]",placeholder:"Your email",required:!0,type:"email"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md-grid-cols-2 gap-x-2",children:[e.jsxs("div",{className:"columns input-wrapper mb-5 brand-partnership-company-size",children:[e.jsx("label",{children:"Size"}
8),e.jsxs("select",{name:"brand_partnership[company_size]",required:!0,children:[e.jsx("option",{value:"",children:"Select an option"}),d.map(({value:a,display:s})=>e.jsx("option",{value:a,children:s},a))]}),e.jsx("input",{name:"brand_partnership[company_size_id]",type:"hidden",value:r.companySize})]}),e.jsxs("div",{className:"columns input-wrapper mb-5 brand-partnership-website",children:[e.jsx("label",{children:"Website"}),e.jsx("input",{name:"brand_partnership[website]",placeholder:"Website",required:!0,type:"text"}),e.jsx("input",{name:"brand_partnership[website_id]",type:"hidden",value:r.website})]})]}),e.jsxs("div",{className:"input-wrapper mb-5 brand-partnership-company-location",children:[e.jsx("label",{children:"Location"}),e.jsx("input",{name:"brand_partnership[company_location]",placeholder:"Company location",required:!0,type:"text"}),e.jsx("input",{name:"brand_partnership[company_location_id]",type:"hidden",value:r.companyLocation})]}),e.jsxs("div",{className:"grid grid-cols-1 md-grid-cols-2 gap-x-2",children:[e.jsxs("div",{className:"columns input-wrapper mb-5 brand-partnership-does-your-company-have-a-foundation flex flex-col",children:[e.jsx("label",{children:"Are you a foundation or affiliated with one?"}),e.jsxs("select",{className:"mt-auto",name:"brand_partnership[does_your_company_have_a_foundation]",required:!0,children:[e.jsx("option",{value:"",children:"Select an option"}),p.map(({value:a,display:s})=>e.jsx("option",{value:a,children:s},a))]}),e.jsx("input",{name:"brand_partnership[does_your_company_have_a_foundation_id]",type:"hidden",value:r.doesYourCompanyHaveAFoundation})]}),e.jsxs("div",{className:"columns input-wrapper mb-5 brand-partnership-how-did-you-hear-about-us flex flex-col",children:[e.jsx("label",{children:"How did you hear about charity: water?"}),e.jsxs("select",{className:"mt-auto",name:"brand_partnership[how_did_you_hear_about_us]",required:!0,children:[e.jsx("option",{value:"",children:"Select an option"}),m.map(({value:a,display:s})=>e.jsx("option",{value:a,children:s},a))]}),e.jsx("input",{name:"brand_partnership[how_did_you_hear_about_us_id]",type:"hidden",value:r.howDidYouHearAboutUs})]})]})]}),e.jsxs("div",{className:"bg-cw-brand-grey-100 border border-solid border-cw-brand-blue-100 rounded-sm mt-5 py-10 px-5 md-px-15 mb-10 -mx-5 md--mx-15 relative",children:[e.jsxs("div",{className:"breadcrumb-wrapper mb-10 flex-row items-start ",children:[e.jsx("div",{className:"checkmark bg-cw-brand-blue-100 border-cw-brand-blue-500 text-cw-brand-blue-500 z-10 flex-shrink-0",children:e.jsx("span",{className:"text-xs font-medium",children:"2"})}),e.jsxs("div",{className:"w-full pl-1 md-pl-4",children:[e.jsx("div",{className:"text-md text-strong-heading tracking-relative-wider leading-tight mb-nudge",children:"Giving levels"}),e.jsx("div",{className:"text-base",children:`Do you have an estimated annual donation in mind? If so, pick the corresponding partnership tier. If not, choose "other" and we'll sort it out together.`}),!i()&&e.jsxs("div",{className:"text-xs font-medium mt-5 mb-2",children:["Learn more about giving levels"," ",e.jsx("a",{className:"cw-link--body",href:"/brand-partnerships/levels",target:"_blank",children:"here"}),"."]})]})]}),e.jsx("div",{className:"input-wrapper mt-10 mb-0 px-10 text-left brand-partnership-estimated-donation-size",children:e.jsxs("div",{className:"grid grid-cols-1 md-grid-cols-2 lg-grid-cols-4 gap-x-1",children:[c.map(({value:a,displayHeader:s,displayText:u})=>e.jsxs("div",{className:"custom-check flex",onClick:()=>n.selectedEstimateDonationSizeOption=a,children:[e.jsx("input",{checked:n.selectedEstimateDonationSizeOption==a,className:"flex-shrink-0 mr-3",id:a,readOnly:!0,type:"radio"}),e.jsxs("label",{className:"leading-4",children:[e.jsx("div",{className:`mb-nudge font-bold ${n.selectedEstimateDonationSizeOption==a?"text-cw-brand-blue-500":""}`,children:s}),e.jsx("div",{className:"font-normal md-whitespace-pre",dangerouslySetInnerHTML:{__html:u}})]})]},a)),e.jsx("input",{name:"brand_partnership[estimated_donation_size]",type:"hidden",value:n.selectedEstimateDonationSizeOption}),e.jsx("input",{name:"brand_partnership[estimated_donation_size_id]",type:"hidden",value:r.estimatedDonationSize})]})})]}),e.jsx("div",{className:"px-10",children:e.jsxs("div",{className:"input-wrapper mb-5 brand-partnership-anything-else",children:[e.jsx("label",{children:"Anything else you would like to share?"}),e.jsx("textarea",{className:"h-32",name:"brand_partnership[anything_else]",placeholder:"Share any additional questions or details here.",required:!0,type:"text"})]})}),e.jsxs(b,{componentName:"RateLimitedRecaptchaForm",children:[e.jsx("div",{className:"text-cw-red-text-small mb-1 -text-left","x-text":"recaptchaError"}),e.jsxs("button",{className:"button cw-button ml-10 mt-5 w-28",type:"submit","x-on:click.prevent":"submit",":disabled":"submitting",children:[e.jsx("i",{className:"cw-icon-loop cw-icon-spin mr-1","x-show":"submitting"}),"Submit"]})]})]})})});export{w as default}; 9//# sourceMappingURL=BrandPartnershipsForm-Vs1kKr2k.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.