1import{j as e,D as m,r as x,c as v,e as h,B as k,a as C,t as S,M as F,U as y,F as l,d as n}from"./index-CkxI7_WM.js";import{A as c}from"./AccessibleAnchor-FhDwE-9_.js";import{F as r}from"./index-DKkH-j24.js";import{I as i}from"./index-DCFcQ57T.js";import{C as P}from"./index-CwRPpT5r.js";import{N as I}from"./NotionContentWrapper-DWfVnuAo.js";import{P as N}from"./Paper-B9iUGaZa.js";import{S as A}from"./App-CnLCqXOS.js";import"./index-B12w7PGS.js";import"./index-B-rKDuQH.js";import"./move-B6cBRaci.js";import"./index-B25mdQOF.js";import"./useForm-8qfugZPm.js";import"./useBreakpoint-KHRag4rm.js";import"./useForceUpdate-DuaZduwR.js";import"./QuestionCircleOutlined-BCzktR0X.js";import"./useBubbleLock-BW1BgTpz.js";import"./Shortcut-WBrbH8xl.js";import"./Names-DfDh6qGd.js";import"./mobxreact.esm-BvpPUWv7.js";import"./index-W1bcsZ7K.js";import"./index-B2aNdC7z.js";import"./FontAwesomeIcon-Cw_yUsQx.js";import"./App-CaoaI4KF.js";import"./Sizes-BhgpZp_e.js";import"./motion-BmzJ48FE.js";import"./price-1Xs9YDh1.js";import"./TrackPostHogEvent-DoQSMGhn.js";import"./index-bxckgtGi.js";import"./context-D63U_AGn.js";import"./StarOutlined-koaMvy06.js";import"./NavigateTo-cV2zPRFW.js";import"./index-C8khnLkM.js";import"./colors-DeP7YnlJ.js";import"./useWarningOnMountInDevelopment-BnBGySFR.js";const T=()=>e.jsxs("div",{children:["One giant obstacle for teachers is classroom funding: The average teacher in the US spends nearly $750 a year on classroom supplies. ",e.jsx("br",{})," ",e.jsx("br",{})," ","That's an eye-popping number. For us, it's also a motivating one. ",e.jsx("br",{})," ",e.jsx("br",{}),"And that's why we created GiveKit!",e.jsx("br",{})," ",e.jsx("br",{}),e.jsx("b",{children:"With GiveKit, we're donating $500 in funding every month to help pay for your school materials, first aid kits, tech tools, furniture, and anything else you may need to do your best work."}),e.jsx(m,{}),e.jsx("h2",{children:"How it works"}),e.jsxs("b",{children:["Every month weâll fund $500 to educator-led projects via"," ",e.jsx(c,{external:!0,to:"https://www.donorschoose.org",target:"_blank",children:"DonorsChoose.org."})]}),e.jsx("br",{})," ",e.jsx("br",{}),"We may fund one project in a month or several. If you don't get picked one month, no worries, we might always come back to fund it in the future.",e.jsx("br",{})," ",e.jsx("br",{}),"We've decided to donate through"," ",e.jsx(c,{external:!0,to:"https://www.donorschoose.org",target:"_blank",children:"DonorsChoose.org"})," ","â- they help take care of all the complexities in getting money from us to you.",e.jsx("br",{})," ",e.jsx("br",{}),e.jsx("b",{children:"To apply for GiveKit, simply:"}),e.jsx("br",{})," ",e.jsx("br",{}),"1. Register and start a project at"," ",e.jsx(c,{external:!0,to:"https://www.donorschoose.org",target:"_blank",children:"DonorsChoose.org"})," ",e.jsx("br",{}),"2. Fill out the form below with a link to your project ",e.jsx("br",{}),"3. Keep up your incredible work! ",e.jsx("br",{})," ",e.jsx("br",{}),"We'll review applications monthly and select a project or projects to fund.",e.jsx("br",{})]}),j="Thank you so much for applying! If you're selected, we'll send you an email. Take care and have a great rest of your day!",$=()=>{const[t,s]=x.useState(!1),[a,p]=x.useState(!1),f=b=>{t||a||(s(!0),C({url:"/api/v1/givekit/apply",data:b,success:()=>{p(!0),F.success({title:"Applied!",content:j})},error:w=>{S({e:w,default:{title:"Error applying. Please try again later"}})},both:()=>{s(!1)}}))};return a?e.jsx(v,{style:{fontSize:18,color:h.Black},children:j}):e.jsxs(r,{onFinish:f,style:{width:"100%"},children:[e.jsx(o,{children:"First Name*"}),e.jsx(r.Item,{name:"firstName",rules:[{required:!0,message:"Please enter your first name."}],children:e.jsx(i,{})}),e.jsx(o,{children:"Last Name*"}),e.jsx(r.Item,{name:"lastName",rules:[{required:!0,message:"Please enter your last name."}],children:e.jsx(i,{})}),e.jsx(o,{children:"Role*"}),e.jsx(r.Item,{name:"role",rules:[{required:!0,message:"Please enter your role."}],children:e.jsx(i,{})}),e.jsx(o,{children:"Email Address*"}),e.jsx(r.Item,{name:"email",rules:[{required:!0,type:"email",message:"Please enter a valid email."}],children:e.jsx(i,{type:"email"})}),e.jsx(o,{children:"DonorsChoose Project Link*"}),e.jsx(u,{children:"Paste the link to your project on DonorsChoose.org"}),e.jsx(r.Item,{name:"projectLink",rules:[{required:!0,message:"Please enter the project link."}],children:e.jsx(i,{placeholder:"https://www.donorschoose.org/project/my-project"})}),e.jsx(o,{children:"Date Needed"}),e.jsx(u,{children:"If your project is time sensitive, let us know!"}),e.jsx(r.Item,{name:"dateNeeded",children:e.jsx(i,{})}),e.jsx(o,{children:"Comments"}),e.jsx(r.Item,{name:"comments",children:e.jsx(i,{})}),e.jsx(o,{children:"Permission"}),e.jsx(u,{children:"Check the box below if you give us permission to use your name and project info. If you're not comfortable, no worries! Checking this box does not increase your chances of being selected."}),e.jsx(r.Item,{name:"permission",valuePropName:"checked",initialValue:!1,children:e.jsx(P,{children:"Yes, you may use my name and project info!"})}),e.jsx(r.Item,{children:e.jsx(k,{style:{marginTop:20},type:"primary",htmlType:"submit",size:"large",block:!0,loading:t,children:"Submit"})})]})},o=n.div` 2 font-size: 18px; 3 color: ${h.Black}; 4 font-family: ${y.SFPro}; 5 margin-top: 12px; 6 font-weight: ${l.Bold}; 7`,u=n.div``,W=()=>e.jsxs(e.Fragment,{children:[e.jsx(m,{}),e.jsx("h2",{children:"Apply for GiveKit funding"}),e.jsx($,{})]}),D=()=>e.jsxs(e.Fragment,{children:[e.jsx(m,{}),e.jsx("h2",{children:"FAQ"}),e.jsx("b",{children:"What kind of projects are you looking for? "})," ",e.jsx("br",{}),"Weâre looking for projects that have the largest possible positive impact on students. That could be anything! Classroom materials, first aid kits, resources that celebrate diversity, supplies for ambitious project-based learning ideas â Anything. If you need it, we want to know about it. The only thing weâre not looking for are requests for Gimkit subscriptions or licenses.",e.jsx("br",{})," ",e.jsx("br",{}),e.jsx("b",{children:"Why not give money directly to teachers?"})," ",e.jsx("br",{}),"Because DonorsChoose specializes in funding classroom projects and they're great at what they do. Theyâve helped donors give more than $1 billion to teachers, funding nearly 2 million projects. They take care of the hard parts of giving including vetting requests, purchasing items, and shipping materials directly to verified schools. Simply, working with them makes it easy to give!"," ",e.jsx(c,{external:!0,target:"_blank",to:"https://www.donorschoose.org",children:"Learn more about DonorsChoose.org."}),e.jsx(m,{}),e.jsx("b",{children:"Need more info?"})," ",e.jsx("br",{}),"Write us at"," ",e.jsx(c,{to:"mailto:[email protected]",external:!0,children:"[email protected]"})," ","and put GiveKit in the subject line."]}),B=t=>{const s=a=>a===t.currentScreen;return e.jsxs(q,{children:[e.jsx(g,{onClick:()=>t.setScreen(d.apply),style:{marginRight:5,fontWeight:s(d.apply)?l.Bold:l.Normal},children:"About & Apply"}),e.jsx(g,{onClick:()=>t.setScreen(d.pastProjects),style:{fontWeight:s(d.pastProjects)?l.Bold:l.Normal},children:"Previously funded projects"})]})},q=n.div.attrs({className:"flex vc"})` 8 margin-bottom: 25px; 9`,g=n(c)` 10 padding: 4px 15px; 11 background: ${h.White}; 12 border: solid 1px; 13 border-radius: 500px; 14 font-size: 15px; 15 cursor: pointer; 16 &:hover { 17 text-decoration: underline; 18 } 19`,E=()=>e.jsx(I,{id:"382c29c71fa14d5a99358c8e5c9b1e43"});var d=(t=>
19(t.apply="apply",t.pastProjects="pastProjects",t))(d||{});const ve=()=>{const[t,s]=x.useState("apply"),a=()=>t==="apply"?e.jsxs(e.Fragment,{children:[e.jsx(T,{}),e.jsx(W,{}),e.jsx(D,{})]}):e.jsx(E,{});return e.jsxs(G,{children:[e.jsx(A,{includeSpacer:!0}),e.jsx(K,{}),e.jsx(B,{currentScreen:t,setScreen:p=>{s(p)}}),e.jsx(z,{children:a()})]})},G=n.div.attrs({className:"flex flex-column vc"})` 20 flex: 1; 21 background: ${h.Snow}; 22 color: #1d2d35; 23 font-family: ${y.SFPro}; 24 .ant-row.ant-form-item { 25 margin: 0px; 26 } 27`,K=n.img.attrs({src:"/client/img/givekit/header.png",alt:"GiveKit"})` 28 height: 225px; 29 margin: 45px; 30 margin-bottom: 35px; 31 max-width: 80%; 32`,z=n(N)` 33 flex: 1; 34 width: 90%; 35 max-width: 720px; 36 padding: 45px; 37 border-radius: 9px; 38 border-bottom-left-radius: 0px; 39 border-bottom-right-radius: 0px; 40 font-size: 18px; 41 42 h2 { 43 font-size: 28px; 44 font-weight: ${l.Bold}; 45 } 46`;export{d as GiveKitScreen,ve as default};
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.