1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15360,54388],{97435:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/charity/claim/search",function(){return r(660608)}])},113748:(e,t,r)=>{"use strict";r.d(t,{DZ:()=>c,t2:()=>s,q5:()=>n,wx:()=>i});var a=r(169028);let n=e=>{let t=(0,a.VG)();return e in t?t[e]:t.US},s=(e,t)=>t&&e!==t?`${e}, ${t}`:e;function i(e){return!!(e&&e.roles.includes("charity"))}let c=e=>({address:{...e.address,..."countryCode"in e.address?{countryCode:e.address.countryCode}:{}},ein:e.ein,logoUrl:e.logoUrl,missionAreas:e.missionAreas.map(e=>({...e,..."primary"in e?{primary:e.primary}:{}})),name:e.name,...e.npoId?{npoId:"string"==typeof e.npoId?Number(e.npoId):e.npoId}:{},..."charityId"in e&&e.charityId?{charityId:Number(e.charityId)}:{},..."description"in e&&e.description?{description:e.description}:{}})},125894:(e,t,r)=>{"use strict";r.d(t,{$9:()=>o,gd:()=>u});var a=r(283138),n=r(555246),s=r(956195),i=r(990257);let{nativeGatewayDomain:c}=s.$W.environment,l=`${c}/search/charities`,d=({charityId:e,countryCode:t,excludedTags:r,npoId:a,page:s,query:i,searchContext:c,size:d}={})=>{let o={...e?{charity_id:e}:"",...t?{"country_code[]":t}:"",...r?{"excluded_tags[]":String(r)}:"",...a?{npo_id:a}:"",...c?{search_context:c}:"",page:String(s||0),query:i||"",size:String(d||5)};return`${l}${(0,n._)(o)}`};function o(e){return i.Qq.get(d(e)).then(e=>e.data).catch(()=>null)}function u(){return(0,a.A)(l,function(e,{arg:t}){return i.Qq.get(d(t)).then(e=>e.data)})}},133230:(e,t,r)=>{"use strict";r.d(t,{P5:()=>l,n:()=>c});var a=r(971540);r(487354);var n=r(445885),s=r(125894);async function i({charityId:e,npoId:t}){let r=e=>e?.references?.charities?.[0]||null;return e&&/^[0-9]+$/.test(e)?r(await (0,s.$9)({charityId:e})):t&&/^[0-9]+$/.test(t)?r(await (0,s.$9)({npoId:t})):null}function c(){let{query:e}=(0,a.useRouter)(),t=String(e.charityId||""),r=String(e.npo_id||"");return(0,n.A)(t||r?["/prefilled/charity",{charityId:t,npoId:r}]:null,([e,t])=>i(t))}function l(e,t){if(e&&t&&(Number(e.npoId)||Number(e.charityId))&&t===e.address.countryCode){if(e.charityId)return{id:String(e.charityId)};if(e.npoId)return{paypalNonprofitId:String(e.npoId)}}}},169028:(e,t,r)=>{"use strict";r.d(t,{Bs:()=>F,CP:()=>M,CR:()=>k,Cb:()=>P,Cd:()=>u,D5:()=>j,E4:()=>w,E9:()=>H,Fv:()=>m,I7:()=>L,M3:()=>E,Mc:()=>I,Ox:()=>f,PN:()=>y,Up:()=>U,VG:()=>v,Z6:()=>G,bW:()=>V,dV:()=>W,db:()=>C,eb:()=>g,f4:()=>R,gM:()=>N,hB:()=>O,qS:()=>b,rk:()=>D,s:()=>o,sX:()=>x,sj:()=>p,tj:()=>h,tq:()=>A,u:()=>Y,vP:()=>T,yP:()=>_,yf:()=>S});var a,n,s=r(65811),i=r(260094),c=r(454482),l=r(198379),d=r(798081);let o=12e4,u={key:"fresh",value:"true"};var h=((a={}).DRAFTS="draftsPage",a.FUNDRAISERS="fundraisersPage",a.CHAT="chat",a);let m={key:"entry_point",values:["draftsPage","fundraisersPage","chat"]},p=18e5,I="ds_storage_key",g="ai_coach_smart_goals_client_generated_draft_ids",y="create-fundraiser-chat_external-conversation-id",E="create-fundraiser-chat_pending-update-action";var N=((n={})[n.personal=1]="personal",n[n.charity=2]="charity",n[n.handle=5]="handle",n);let f=[],S=["AU","CA","GB","US","IE"],x=[c.dw.GERMANY],v=()=>({AU:{singular:(0,d.t)("charity"),plural:(0,d.t)("charities",{ns:"create"}),idName:"ABN"},CA:{singular:(0,d.t)("charity"),plural:(0,d.t)("charities",{ns:"create"}),idName:"CRA"},GB:{singular:(0,d.t)("charity"),plural:(0,d.t)("charities",{ns:"create"}),idName:"RCN"},IE:{singular:(0,d.t)("charity"),plural:(0,d.t)("charities",{ns:"create"}),idName:"RCN"},US:{singular:(0,d.t)("nonprofit"),plural:(0,d.t)("nonprofits",{ns:"create"}),idName:"EIN"}}),_=e=>!1,C=e=>e&&"US"===e?(0,d.t)("We are unable to find this zip code. Please try entering the next nearest zip code",{ns:"create"}):_(e)?e&&"IE"===e?(0,d.t)("We are unable to find this city. Please try entering a nearby city or county."):(0,d.t)("We are unable to find this city. Please try entering a nearby city."):(0,d.t)("We are unable to find this postcode. Please try entering the next nearest postcode."),A=e=>e&&"US"===e?(0,d.t)("Zip code"):_(e)?(0,d.t)("City"):(0,d.t)("Postcode"),G=e=>e&&"US"===e?(0,d.t)("ZIP code"):_(e)?(0,d.t)("Start typing your city",{ns:"create"}):(0,d.t)("Start typing your postcode",{ns:"create"}),R=e=>e&&"US"===e?(0,d.t)("Please enter a valid ZIP code"):(0,d.t)("Please enter a valid postcode"),T={UKRAINE:"crisis_ukraine_banned"},M=()=>[{type:s.s4.YOURSELF,displayType:(0,d.t)("Yourself",{ns:"create"}),img:"volunteer",dataElementId:"btn_myself_type",description:(0,d.t)("Funds are delivered to your bank account for your own use",{ns:"create"})},{displayType:(0,d.t)("Someone else",{ns:"create"}),type:s.s4.SOMEONE_ELSE,img:"family",dataElementId:"btn_someoneelse_type",description:(0,d.t)("Youâll invite a beneficiary to receive funds or distribute them yourself",{ns:"create"})},{type:s.s4.CHARITY,displayType:(0,d.t)("Charity"),img:"charity",dataElementId:"btn_nonprofit_type",description:(0,d.t)("Funds are delivered to your chosen nonprofit for you",{ns:"create"})}],O=["/create/fundraiser/error"],L=50,b={[s.s4.CHARITY]:l.cE1.CHARITY,[s.s4.SOMEONE_ELSE]:l.cE1.SOMEONE_ELSE,[s.s4.YOURSELF]:l.cE1.YOURSELF};function j(e){let{ANIMALS:t,MEDICAL:r,MEMORIALS:a,FAMILY:n,MONTHLY_BILLS:s,EDUCATION:c}=i.td;switch(parseInt(e,10)){case t:return[(0,d.t)("Medical and veterinary care",{ns:"create"}),(0,d.t)("Rescue and rehabilitation",{ns:"create"}),(0,d.t)("Food and shelter",{ns:"create"})];case r:return[(0,d.t)("Medical bills and treatment costs",{ns:"create"}),(0,d.t)("Emergency fund due to unexpected costs",{ns:"create"}),(0,d.t)("Living expenses and lost wages",{ns:"create"})];case a:return[(0,d.t)("Funeral services and ceremony costs",{ns:"create"}),(0,d.t)("Final affairs and family support",{ns:"create"}),(0,d.t)("Memorial costs (headstone, grave marker)",{ns:"create"})];case n:return[(0,d.t)("Living expenses",{ns:"create"}),(0,d.t)("Life events and transition",{ns:"create"}),(0,d.t)("Memorial and funeral expenses",{ns:"create"})];case s:return[(0,d.t)("Rent and housing",{ns:"create"}),(0,d.t)("Utilities and daily expenses",{ns:"create"}),(0,d.t)("Medical expenses and healthcare costs",{ns:"create"})];case c:return[(0,d.t)("Tuition and fees",{ns:"create"}),(0,d.t)("Supplies and equipment",{ns:"create"}),(0,d.t)("Clubs & activities fees",{ns:"create"})];default:return null}}let k=3e3,U=5,w=1,P=100,H=1e5,Y=7,F=950,D=1900,V=475,W=2500},206470:(e,t,r)=>{"use strict";r.d(t,{gd:()=>a.gd});var a=r(125894);r(133230)},221406:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var a=r(874429),n=r(971041),s=r(46001),i=r.n(s),c=r(500005),l=r(495686);let d=(0,n.forwardRef)(({className:e,error:t,helpText:r,icon:s,id:d,label:o,required:u,tag:h,warning:m,...p},I)=>{let g=(0,n.useRef)(null);(0,n.useImperativeHandle)(I,()=>g.current);let y=i()(e,"hrt-text-field"),E=i()("hrt-text-field-wrapper",{"hrt-text-field-wrapper--error":!!t}),N=t?{text:t,type:"error"}:m?{text:m,type:"warning"}:r?{text:r,type:"help"}:null;return(0,a.jsxs)("div",{className:y,children:[(0,a.jsxs)("div",{className:E,onClick:()=>{var e;null==(e=g.current)||e.focus()},children:[s&&(0,a.jsx)("div",{className:"hrt-disp-flex hrt-align-center hrt-mr-1",children:s}),(0,a.jsxs)("div",{className:"hrt-text-field-inner",children:[(0,a.jsx)("input",{"aria-invalid":!!t,className:"hrt-text-field-input",id:d,placeholder:" ",ref:g,required:u,...p}),(0,a.jsxs)("label",{className:"hrt-text-field-label",htmlFor:d,children:[o,u&&"*"]})]}),h&&(0,a.jsx)("div",{className:"hrt-ml-1",children:h})]}),(null==N?void 0:N.type)==="error"&&(0,a.jsx)(c.p,{className:"hrt-text-field-error",status:l.v.ERROR,children:N.text}),(null==N?void 0:N.type)==="warning"&&(0,a.jsx)(c.p,{className:"hrt-text-field-error",status:l.v.WARNING,children:N.text}),(null==N?void 0:N.type)==="help"&&(0,a.jsx)("p",{className:"hrt-text-field-help-text",children:N.text})]})});d.displayName="TextField"},260094:(e,t,r)=>{"use strict";r.d(t,{$s:()=>l,Ij:()=>i,gk:()=>c,td:()=>s});var a=r(198379),n=r(798081);let s={[a.G8.ANIMALS]:3,[a.G8.BUSINESS]:5,[a.G8.CHARITY]:13,[a.G8.COMMUNITY]:7,[a.G8.COMPETITIONS]:19,[a.G8.CREATIVE]:8,[a.G8.EDUCATION]:17,[a.G8.EMERGENCIES]:2,[a.G8.ENVIRONMENT]:342,[a.G8.EVENTS]:6,[a.G8.FAITH]:12,[a.G8.FAMILY]:4,[a.G8.MEDICAL]:11,[a.G8.MEMORIALS]:9,[a.G8.MONTHLY_BILLS]:344,[a.G8.NEWLYWEDS]:14,[a.G8.OTHER]:15,[a.G8.SPORTS]:16,[a.G8.TRAVEL]:10,[a.G8.VOLUNTEER]:18,[a.G8.WISHES]:20,BIRTHDAY_POTS:348,UKRAINE:8572463},i={3:a.G8.ANIMALS,5:a.G8.BUSINESS,13:a.G8.CHARITY,7:a.G8.COMMUNITY,19:a.G8.COMPETITIONS,8:a.G8.CREATIVE,17:a.G8.EDUCATION,2:a.G8.EMERGENCIES,342:a.G8.ENVIRONMENT,6:a.G8.EVENTS,12:a.G8.FAITH,4:a.G8.FAMILY,11:a.G8.MEDICAL,9:a.G8.MEMORIALS,344:a.G8.MONTHLY_BILLS,14:a.G8.NEWLYWEDS,15:a.G8.OTHER,16:a.G8.SPORTS,10:a.G8.TRAVEL,18:a.G8.VOLUNTEER,20:a.G8.WISHES};function c(){return{[a.G8.ANIMALS]:{id:s.ANIMALS,text:(0,n.t)("Animals"),trackingId:"animals"},[a.G8.BUSINESS]:{id:s.BUSINESS,text:(0,n.t)("Business"),trackingId:"business"},[a.G8.CHARITY]:{id:s.CHARITY,text:(0,n.t)("Non-Profits & Charities"),trackingId:"charity"},[a.G8.COMMUNITY]:{id:s.COMMUNITY,text:(0,n.t)("Community"),trackingId:"community"},[a.G8.COMPETITIONS]:{id:s.COMPETITIONS,text:(0,n.t)("Competitions"),trackingId:"competitions"},[a.G8.CREATIVE]:{id:s.CREATIVE,text:(0,n.t)("Creative"),trackingId:"creative"},[a.G8.EDUCATION]:{id:s.EDUCATION,text:(0,n.t)("Education"),trackingId:"education"}
1,[a.G8.EMERGENCIES]:{id:s.EMERGENCIES,text:(0,n.t)("Emergencies"),trackingId:"emergencies"},[a.G8.ENVIRONMENT]:{id:s.ENVIRONMENT,text:(0,n.t)("Environment"),trackingId:"environment"},[a.G8.EVENTS]:{id:s.EVENTS,text:(0,n.t)("Events"),trackingId:"events"},[a.G8.FAITH]:{id:s.FAITH,text:(0,n.t)("Faith"),trackingId:"faith"},[a.G8.FAMILY]:{id:s.FAMILY,text:(0,n.t)("Family"),trackingId:"family"},[a.G8.MEDICAL]:{id:s.MEDICAL,text:(0,n.t)("Medical"),trackingId:"medical"},[a.G8.MEMORIALS]:{id:s.MEMORIALS,text:(0,n.t)("Funerals & Memorials"),trackingId:"memorials"},[a.G8.MONTHLY_BILLS]:{id:s.MONTHLY_BILLS,text:(0,n.t)("Monthly Bills"),trackingId:"monthly bills"},[a.G8.NEWLYWEDS]:{id:s.NEWLYWEDS,text:(0,n.t)("Newlyweds"),trackingId:"newlyweds"},[a.G8.OTHER]:{id:s.OTHER,text:(0,n.t)("Other"),trackingId:"other"},[a.G8.SPORTS]:{id:s.SPORTS,text:(0,n.t)("Sports"),trackingId:"sports"},[a.G8.TRAVEL]:{id:s.TRAVEL,text:(0,n.t)("Travel"),trackingId:"travel"},[a.G8.VOLUNTEER]:{id:s.VOLUNTEER,text:(0,n.t)("Volunteer"),trackingId:"volunteer"},[a.G8.WISHES]:{id:s.WISHES,text:(0,n.t)("Wishes"),trackingId:"wishes"}}}let l=e=>{let t=Number(e);if(isNaN(t))return;let r=Object.entries(s).find(([,e])=>e===t)?.[0];return"UKRAINE"===r?a.G8.EMERGENCIES:Object.values(a.G8).includes(r)?r:void 0}},283138:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(971041),n=r(487354),s=r(486777),i=(0,s.Ht)(n.Ay,()=>(e,t,r={})=>{let{mutate:i}=(0,n.iX)(),c=(0,a.useRef)(e),l=(0,a.useRef)(t),d=(0,a.useRef)(r),o=(0,a.useRef)(0),[u,h,m]=(0,s.vO)({data:s.ZH,error:s.ZH,isMutating:!1}),p=u.current,I=(0,a.useCallback)(async(e,t)=>{let[r,a]=(0,s.lK)(c.current);if(!l.current)throw Error("Canât trigger the mutation: missing fetcher.");if(!r)throw Error("Canât trigger the mutation: missing key.");let n=(0,s.rL)((0,s.rL)({populateCache:!1,throwOnError:!0},d.current),t),u=(0,s.lg)();o.current=u,m({isMutating:!0});try{let t=await i(r,l.current(a,{arg:e}),(0,s.rL)(n,{throwOnError:!0}));return o.current<=u&&(m({data:t,isMutating:!1,error:void 0}),null==n.onSuccess||n.onSuccess(t,r,n)),t}catch(e){if(o.current<=u&&(m({error:e,isMutating:!1}),null==n.onError||n.onError(e,r,n),n.throwOnError))throw e}},[]),g=(0,a.useCallback)(()=>{o.current=(0,s.lg)(),m({data:s.ZH,error:s.ZH,isMutating:!1})},[]);return(0,s.Es)(()=>{c.current=e,l.current=t,d.current=r}),{trigger:I,reset:g,get data(){return h.data=!0,p.data},get error(){return h.error=!0,p.error},get isMutating(){return h.isMutating=!0,p.isMutating}}})},288141:(e,t,r)=>{"use strict";r.d(t,{X:()=>a.X});var a=r(556590)},379573:e=>{e.exports="/_next/static/images/charity-icon-5b4fa39b6c9d85fc91dc17c4ad52a7f98580f159fe71adc82a8df66e27ef1378.svg"},413886:(e,t,r)=>{"use strict";r.d(t,{A_:()=>s.A,In:()=>a.I,K0:()=>n.K});var a=r(913947),n=r(333270),s=r(221406)},427645:e=>{e.exports={logo:"charity-info_logo__CzcMl",logoAsBackground:"charity-info_logoAsBackground__Ibn0Y",largeIcon:"charity-info_largeIcon__LwqfZ",name:"charity-info_name__g_b_y",detailsContainer:"charity-info_detailsContainer__kDDso",detail:"charity-info_detail__a5Fm2"}},495686:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});let a={ERROR:"error",SUCCESS:"success",WARNING:"warning"}},500005:(e,t,r)=>{"use strict";r.d(t,{p:()=>l});var a=r(874429),n=r(46001),s=r.n(n),i=r(913947),c=r(495686);let l=e=>{let{children:t,className:r,status:n}=e,l=s()(r,"hrt-field-alert",n?`hrt-field-alert--${n}`:"hrt-field-alert--info");return(0,a.jsxs)("div",{className:l,role:"alert",children:[(()=>{switch(n){case c.v.ERROR:case c.v.WARNING:return(0,a.jsx)(i.I,{className:"hrt-mr-1",name:"alert",size:"small"});case c.v.SUCCESS:return(0,a.jsx)(i.I,{className:"hrt-mr-1",name:"check",size:"small"});default:return(0,a.jsx)(i.I,{className:"hrt-mr-1",name:"info",size:"small"})}})(),(0,a.jsx)("span",{className:"hrt-text-body-sm",children:t})]})}},551395:(e,t,r)=>{"use strict";r.d(t,{L:()=>d});var a=r(874429),n=r(652675),s=r(113748),i=r(126638),c=r(726981),l=r.n(c);function d(e){let{countryCode:t,items:r,onClick:c}=e;return(0,a.jsx)("div",{className:"hrt-disp-flex hrt-flex-dir-column",children:r.map((e,r)=>{let d=1===e.missionAreas.length?e.missionAreas[0]:e.missionAreas.find(e=>"primary"in e&&e.primary),o={logoUrl:e.logoUrl,location:(0,s.t2)(e.address.city,e.address.state),missionArea:d&&d.name,name:e.name,identificationNumber:e.ein,charityId:e.charityId?.toString()},u=e.ein||e.npoId||e.charityId;return(0,a.jsx)(i.S,{as:"button",className:l().charityListItem,"data-tracking-action":"select",onClick:()=>{c&&c(e)},children:(0,a.jsx)(n.P,{countryCode:t,details:o,showVerifiedIcon:e.isClaimed})},`${r}-${u}`)})})}},555246:(e,t,r)=>{"use strict";r.d(t,{R:()=>a,_:()=>n});let a=e=>e?`/${e}`:"";function n(e){let t=new URLSearchParams(Object.entries(e).filter(([e,t])=>void 0!==t)).toString();return t?`?${t}`:""}},652675:(e,t,r)=>{"use strict";r.d(t,{P:()=>m});var a=r(874429),n=r(46001),s=r.n(n),i=r(113748),c=r(716322),l=r(251534),d=r
1(379573),o=r.n(d),u=r(427645),h=r.n(u);function m(e){let{className:t,details:{charityId:r,identificationNumber:n,location:d,logoUrl:u,missionArea:m,name:p},countryCode:I,showVerifiedIcon:g,largeIcon:y=!1}=e,E=s()(t,"hrt-disp-flex hrt-align-center"),{data:N,loading:f}=(0,l.dt)({variables:{charityId:r||""},skip:void 0!==g||!r}),S=(0,i.q5)(I),x=`${S.idName}: ${n}`,v=N?.charityHasApprovedClaim||!1;return(0,a.jsxs)("div",{className:E,children:[u?(0,a.jsx)("div",{className:s()({[h().largeIcon]:y},h().logo,h().logoAsBackground),style:{backgroundImage:`url(${u})`}}):(0,a.jsx)("img",{alt:p,className:s()({[h().largeIcon]:y},h().logo),src:o()}),(0,a.jsxs)("div",{className:s()("hrt-text-left","hrt-ml-4"),children:[(0,a.jsx)("span",{className:h().name,children:p}),!f&&(void 0!==g?g:v)&&(0,a.jsx)(c.I,{className:s()("hrt-text-brand","hrt-ml-half"),name:"checkmark-fill",size:"small"}),(0,a.jsxs)("div",{className:s()(h().detailsContainer,"hrt-text-supporting"),children:[m&&(0,a.jsx)("div",{className:h().detail,children:m}),d&&(0,a.jsx)("div",{className:h().detail,children:d}),n&&"0"!==n&&(0,a.jsx)("div",{className:h().detail,children:x})]})]})]})}},660608:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>G,default:()=>R});var a=r(874429),n=r(38719),s=r(269441);r(506079);var i=r(971041),c=r(311546),l=r(551395),d=r(938535),o=r(206470),u=r(113748),h=r(288141),m=r(794963),p=r(454482),I=r(368752),g=r(165874),y=r(798081),E=r(296617),N=r(662157),f=r.n(N);let S="claim";function x({countryCode:e,suggestedCharities:t,onCharitySelect:r}){let n=(0,I.jt)(),s=e||p.dw.UNITED_STATES,N=(0,u.q5)(s),[v,_]=(0,i.useState)(""),[C,A]=(0,i.useState)(""),[G,R]=(0,i.useState)(0),[T,M]=(0,i.useState)(!1),[O,L]=(0,i.useState)(!0),[b,j]=(0,i.useState)(!1),[k,U]=(0,i.useState)([]),[w,P]=(0,i.useState)(!0),{trigger:H,isMutating:Y,data:F}=(0,o.gd)(),D=F?.references?.charities,V=t.map(e=>({name:e.name,ein:e.ein,isClaimed:e?.isClaimed!==void 0&&e.isClaimed,logoUrl:e.logoUrl,address:{city:e.address.city,state:e.address.state},charityId:e.charityId,npoId:e.npoId,missionAreas:e.missionAreas})),W=(0,i.useCallback)((0,E.sg)(e=>{A(e),P(!1),R(0),H&&e.trim().length?H({query:e,countryCode:s,searchContext:S,size:5}):U([])},500),[s]);return(0,i.useEffect)(()=>{if(D&&D.length>0){let e=D.map(e=>(0,m.D)(e));0===G?U(e):U(t=>[...t,...e]),M(!1),j(!1),L(5===D.length)}else Y||(M(!1),j(!1))},[D,G,Y]),(0,a.jsxs)("div",{className:f().searchContainer,children:[(0,a.jsx)(d.D,{autoFocus:!0,"data-tracking-id":"nonprofit search",id:"charity_search",label:"",name:"charity_search",onChange:e=>{_(e.currentTarget.value),j(!1),U([]),M(""!==e.currentTarget.value),L(!0),R(0),W(e.currentTarget.value)},onClear:()=>{_(""),U([]),M(!1),A(""),R(0),P(!0)},placeholder:(0,y.t)("Nonprofit name, location, or {{charityIdName}}",{charityIdName:N.idName,ns:"create"}),value:v}),(0,a.jsxs)("div",{className:`${f().resultsWrapper} ${!O||w?f().noScroll:""}`,children:[T&&!b&&(0,a.jsx)("div",{className:f().loadingContainer,children:(0,a.jsx)(h.X,{color:"green",size:"large"})}),(!T||b)&&(0,a.jsxs)(a.Fragment,{children:[!k.length&&!b&&!!V?.length&&w&&(0,a.jsx)("h3",{className:"hrt-mb-2 hrt-mt-1 hrt-text-body-sm",children:(0,y.t)("Browse suggested {{charityPlural}}",{charityPlural:N.plural,ns:"create"})}),(0,a.jsx)(l.L,{countryCode:s,items:k.length&&!w?k:V||[],onClick:e=>{n("Value Selected",g.U5.Other,{tracking_id:"npo onboarding: select npo",surface:"npo onboarding",value:e.ein}),r(e)}}),!w&&!T&&O&&k.length>0&&(0,a.jsx)(c.pL,{onChange:e=>{if(e&&H&&C&&O){let e=G+1;R(e),j(!0),H({query:C,countryCode:s,searchContext:S,size:5,page:e})}},children:(0,a.jsx)("div",{className:"hrt-disp-flex hrt-align-center hrt-mt-4 hrt-mb-4",children:(0,a.jsx)(h.X,{color:"green",size:"large"})})})]})]})]})}var v=r(267884),_=r(784784),C=r(805916);
1function A(e){let{countryCode:t,suggestedCharities:r}=e,{setSelectedCharity:n,navigateToReview:i}=(0,s.i)();return(0,a.jsx)(x,{countryCode:t,onCharitySelect:e=>{n(e),i(e.charityId?.toString())},suggestedCharities:r})}A.getLayout=(0,r(450466).Y)(e=>{let t=(0,_.Mu)(e.props.npoClaim?.claimSource,e.props.selfServeEntryParams?.entrySource),r=(0,v.T)().search,s={...r,showProgress:!1},i=t?{...s,title:(0,a.jsx)("span",{className:"hrt-font-bold",children:r.title}),description:(0,y.t)("Select your nonprofit to get started.")}:s;return(0,a.jsx)(n.n,{...e.props,customHeaderLogo:t?(0,a.jsx)(C.D,{}):void 0,seoTitle:r.title,stepConfig:i,stepProgress:{currentStep:1,totalSteps:4},viewId:"charity_claim_search",children:e})});var G=!0;let R=A},662157:e=>{e.exports={searchContainer:"charity-search-step_searchContainer__k47vR",resultsWrapper:"charity-search-step_resultsWrapper__E9UNZ",noScroll:"charity-search-step_noScroll__FjmWV",loadingContainer:"charity-search-step_loadingContainer__J7nWc"}},715165:e=>{e.exports={searchInput:"search-input_searchInput__02yGx",searchInputIconDeleteMme:"search-input_searchInputIconDeleteMme__oKnn5",searchInputIconSearch:"search-input_searchInputIconSearch__GuhQv"}},716322:(e,t,r)=>{"use strict";r.d(t,{I:()=>a.I});var a=r(913947)},726981:e=>{e.exports={charityListItem:"charity-list_charityListItem__Jo2h8"}},805916:(e,t,r)=>{"use strict";r.d(t,{D:()=>s});var a=r(874429),n=r(798081);function s(){return(0,a.jsx)("img",{alt:(0,n.t)("GoFundMe Pro logo"),height:28,src:"/nextassets/npo/gofundme-pro-logo.svg",width:158})}},938535:(e,t,r)=>{"use strict";r.d(t,{D:()=>o});var a=r(874429),n=r(46001),s=r.n(n),i=r(413886),c=r(798081),l=r(715165),d=r.n(l);function o(e){let{autoFocus:t,autoComplete:r,className:n,defaultValue:l,disabled:o,id:u,label:h,name:m,onChange:p,onClear:I,placeholder:g,value:y,dataElementId:E,inputMode:N,onKeyUp:f,...S}=e,x=s()(d().searchInput,n),v=(0,a.jsx)(i.In,{className:d().searchInputIconSearch,name:"search",size:"small"});return(0,a.jsxs)("div",{className:x,children:[(0,a.jsx)("strong",{children:h}),(0,a.jsx)(i.A_,{className:"hrt-mt-1","data-element-id":E,icon:v,label:g,onChange:p,value:y,id:u,name:m,autoFocus:t,autoComplete:r,disabled:o,defaultValue:l,inputMode:N,onKeyUp:f,...S}),y&&I&&(0,a.jsx)(i.K0,{"aria-label":"Clear search",as:"button",buttonLabel:(0,c.t)("Clear search"),className:d().searchInputIconDeleteMme,hierarchy:"tertiary",onClick:I,size:"medium",children:(0,a.jsx)(i.In,{name:"delete",size:"default"})})]})}}},e=>{e.O(0,[55377,6704,19937,57600,17272,78073,21852,87961,89435,30824,51534,19968,69441,38634,81842,90636,46593,38792],()=>e(e.s=97435)),_N_E=e.O()}]); 2//# sourceMappingURL=search-4fc5b4beaa5543d0.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.