"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1957],{89429:function(e,i,t){t.d(i,{M:function(){return n}});let n={MA:"/Massachusetts.svg",CT:"/Connecticut.svg",NH:"/NewHampshire.svg",RI:"/RhodeIsland.svg",VT:"/Vermont.svg",ME:"/Maine.svg"}},53862:function(e,i,t){var n=t(85893);t(67294);var l=t(65806),s=t(56027),a=t(41502);let r=()=>(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("span",{className:"MuiInputLabel-asterisk",children:"*"})}),o=(0,s.ZL)()(e=>({sizeSmall:{"& > .MuiFormControlLabel-label":{...(0,a.W)(e).font}}}));i.Z=e=>{let i,{required:t=!1,label:s=null,size:a="medium",className:d=null,...c}=e,{classes:u,cx:p}=o(),m=p(d,"small"===a?u.sizeSmall:null);return s&&(i=t?(0,n.jsxs)(n.Fragment,{children:[s," ",(0,n.jsx)(r,{})]}):s),(0,n.jsx)(l.Z,{label:i,className:m,...c})}},72892:function(e,i,t){var n=t(85893);t(67294);var l=t(93967),s=t.n(l),a=t(21485),r=t(56027);i.Z=(0,r.D2)(function(e){let{classes:i,className:t,...l}=e;return(0,n.jsx)(a.Z,{...l,className:s()(t,i.font)})},e=>({font:{fontFamily:'"Montserrat", sans-serif',fontSize:"0.8rem",color:e.palette.error.main}}))},2134:function(e,i,t){t.d(i,{W:function(){return a}});var n=t(85893);t(67294);var l=t(21485),s=t(56027);let a=e=>({font:{fontFamily:'"Montserrat", sans-serif',fontSize:16,lineHeight:"18px",fontWeight:600,[e.breakpoints.down("md")]:{fontSize:14,lineHeight:"16px"}}}),r=(0,s.ZL)()(a);i.Z=e=>{let{className:i,...t}=e,{classes:s,cx:a}=r();return(0,n.jsx)(l.Z,{...t,className:a(i,s.font)})}},47924:function(e,i,t){t.d(i,{NA:function(){return d},ZK:function(){return r},xp:function(){return a}});var n=t(85893),l=t(67294),s=t(56027);let a=e=>{if(!(null==e?void 0:e.length))return null;let i=[];for(let[t,n]of e.entries()){if(null==n){console.warn("Empty item on the label list.");continue}i.push({id:"i-".concat(t),name:n})}return i},r=e=>(0,l.useMemo)(()=>a(e),[e]),o=(e,i)=>{if(!(null==e?void 0:e.length))return null;let t=[],n=null==i?void 0:i.options;for(let i of e){let e=n[i];if(!e){console.error("Unknown value: ".concat(i));continue}t.push({name:e,id:i})}return t},d=(e,i)=>(0,l.useMemo)(()=>o(e,i),[e,i]),c=(0,s.ZL)()(()=>({list:{paddingLeft:"18px",listStyle:"disc","& li":{display:"list-item",paddingBottom:"8px"}},longList:{columnCount:2},oneItemList:{paddingLeft:"0","& li":{display:"inline"}}}));i.ZP=e=>{let{list:i=null,listClass:t=null}=e,{classes:l,cx:s}=c();return(null==i?void 0:i.length)?(0,n.jsx)("ul",{className:s(l.list,(null==i?void 0:i.length)>10?l.longList:"",(null==i?void 0:i.length)===1?l.oneItemList:"",t),children:i.map(e=>(null==e?void 0:e.name)?(0,n.jsx)("li",{children:e.name},e.id):(console.warn("Empty item of the styled list:",e),null))}):null}},94326:function(e,i,t){t.d(i,{Ak:function(){return p},D4:function(){return m},hj:function(){return u},qn:function(){return c},rE:function(){return h}});var n=t(85893);t(67294);var l=t(93967),s=t.n(l),a=t(80685),r=t(12271),o=t(89077),d=t(31754);let c=e=>(0,n.jsx)(o.Z,{gutterBottom:!0,...e}),u=e=>{let{className:i="",...t}=e,{classes:l}=(0,r.Z)();return(0,n.jsx)(d.Z,{elevation:2,className:s()(l.groupedField,i),...t})},p=e=>{let{className:i="",...t}=e,{classes:l}=(0,r.Z)();return(0,n.jsx)(a.Z,{...t,styleAsH3:!0,className:s()(i,l.headerPadding,l.headingH3)})},m=e=>{let{className:i="",...t}=e,{classes:l}=(0,r.Z)();return(0,n.jsx)("div",{...t,className:s()(i,l.standardPadding)})},h=e=>{let{className:i="",...t}=e,{classes:l}=(0,r.Z)();return(0,n.jsx)("div",{...t,className:s()(i,l.headerPadding)})}},5530:function(e,i,t){var n=t(85893);t(67294);var l=t(56027),s=t(92365),a=t(52857),r=t(38444),o=t(27859);let d=(0,l.D2)(e=>{let i=l.D2.getClasses(e),{children:t,onClose:d,...c}=e;return(0,n.jsxs)(s.Z,{className:i.root,...c,children:[(0,n.jsx)(o.Z,{children:t}),d?(0,n.jsx)(a.Z,{"aria-label":"close",className:i.closeButton,onClick:d,size:"large",children:(0,n.jsx)(r.Z,{})}):null]})},(e,i)=>({root:{margin:0,padding:"0 0 ".concat(e.spacing(2)," 0")},closeButton:{position:"absolute",right:e.spacing(1),top:e.spacing(1),color:e.palette.grey[500]}}));i.Z=d},85710:function(e,i,t){var n=t(85893);t(67294);var l=t(56027),s=t(40492),a=t(1420);let r=(0,l.ZL)()({helperTextAbove:{"& .MuiInputBase-root, & label":{order:"1"},"& label":{position:"relative"},"& .MuiFormHelperText-root":{marginTop:"0",paddingBottom:"16px",position:"relative",marginLeft:0,marginRight:0},"& .MuiInputBase-root":{marginTop:"10px"},"& p.MuiFormHelperText-root:before, & p.MuiFormHelperText-root:after":{position:"absolute",bottom:"0",content:'""',display:"block",left:"0",width:"100%",height:"12px",marginBottom:"-12px"},"& p.MuiFormHelperText-root:before":{backgroundColor:a.A2},"& p.MuiFormHelperText-root:after":{borderRadius:"12px 12px 0px 0px",backgroundColor:a.$7}}});i.Z=e=>{let{classes:i}=r();return(0,n.jsx)(s.Z,{...e,className:i.helperTextAbove})}},12271:function(e,i,t){let n=(0,t(56027).ZL)()(e=>({fieldWrapper:{margin:"2rem 0"},button:{marginTop:e.spacing(4)},copyButton:{"body &":{width:"auto"}},groupedField:{boxShadow:"0 2px 4px rgba(0, 0, 0, 0.25)",padding:"0 ".concat(e.spacing(4)," ").concat(e.spacing(2)," ").concat(e.spacing(4)),marginBottom:e.spacing(6),marginTop:e.spacing(6)},ibType:{paddingBottom:e.spacing(2)},headerPadding:{padding:"".concat(e.spacing(4)," 0 ").concat(e.spacing(1)," 0"),"&.MuiFormLabel-root":{padding:"".concat(e.spacing(4)," 0 ").concat(e.spacing(1)," 0")}},standardPadding:{padding:"".concat(e.spacing(4)," 0 ").concat(e.spacing(1))},lastSection:{marginBottom:0},profileStatusSection:{boxShadow:"none",padding:"0",marginTop:0},formSpacer:{display:"flex",justifyContent:"space-between",alignItems:"first baseline",[e.breakpoints.down("md")]:{flexDirection:"column"}},radioGroup:{justifyContent:"space-between",[e.breakpoints.down("md")]:{flexDirection:"column"}},yearField:{flexBasis:"20%"},myRootClass:{flexBasis:"78%"},headingH3:{fontSize:"21px !important",fontWeight:600,lineHeight:"21px !important",[e.breakpoints.down("md")]:{fontSize:"18px  !important"},"&.MuiFormLabel-root":{fontWeight:600}},interfaceHeading:{marginBottom:e.spacing(2)},errorMessageContainer:{justifyContent:"space-between","& > div:first-child":{flexBasis:"70%"},"& > div:last-child":{flexBasis:"30%"},[e.breakpoints.down("md")]:{flexDirection:"column-reverse","& > div":{flexBasis:"100%"}}},helperText:{textAlign:"end !important"}}));i.Z=n},69854:function(e,i,t){var n=t(85893);t(67294);var l=t(87536),s=t(50720),a=t(46705);i.Z=e=>{let{formContext:i,pickersContext:t=!1,children:r,...o}=e,d=(0,n.jsx)(l.RV,{...i,children:(0,n.jsx)("form",{...o,noValidate:!0,children:r})});return t&&(d=(0,n.jsx)(s._,{dateAdapter:a.H,children:d})),d}},30674:function(e,i,t){var n=t(85893),l=t(67294),s=t(12467),a=t(52857),r=t(88196),o=t(21485),d=t(6897),c=t(85533),u=t(12283),p=t(92878),m=t(56027),h=t(40110),f=t(87536),g=t(32866),x=t(72892),j=t(53862),v=t(38444),Z=t(1420),b=t(27361),C=t.n(b);let y=(0,m.ZL)()(e=>({label:{padding:"".concat(e.spacing(1)," 0")},tooltipLabel:{marginRight:"5px"},radioContainer:{display:"flex",alignItems:"center","& .MuiTypography-body1":{fontSize:14},"& .MuiFormControlLabel-asterisk":{display:"none"}},closeButton:{position:"absolute",right:"0",top:"0",color:Z.iT}}));i.Z=function(e){let{options:i,rootClass:t="",formGroupClass:m="",name:Z,label:b=null,emptyLabel:w=null,helperText:P="",required:L=!1,disabled:N=!1,tooltipLabels:k,row:_=!1}=e,{classes:S}=y(),[A,M]=l.useState(!1),[I,T]=l.useState(!1),{formState:{errors:F}}=(0,f.Gc)(),V=e=>{switch(e.currentTarget.getAttribute("data-type")){case"on_hiatus":M(!1);break;case"out_of_business":T(!1)}},W=e=>{switch(e.currentTarget.getAttribute("data-type")){case"on_hiatus":M(!0);break;case"out_of_business":T(!0)}},B=Object.keys(i).map(e=>(0,n.jsxs)("div",{className:S.radioContainer,children:[(0,n.jsx)(j.Z,{size:"small",control:(0,n.jsx)(s.Z,{required:L,color:"primary",value:e}),label:i[e],className:(null==k?void 0:k[e])?S.tooltipLabel:""},e),(null==k?void 0:k[e])&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.Z,{"data-type":e,"aria-label":"open",onClick:W,size:"large",children:(0,n.jsx)("img",{src:"/help.svg",alt:""})}),(0,n.jsxs)(r.Z,{onClose:V,"aria-labelledby":"profile-status-description",open:"on_hiatus"===e?A:"out_of_business"===e&&I,maxWidth:!1,children:[(0,n.jsx)(a.Z,{"data-type":e,"aria-label":"close",className:S.closeButton,onClick:V,size:"large",children:(0,n.jsx)(v.Z,{})}),(0,n.jsx)(h.Z,{children:(0,n.jsx)(o.Z,{id:"profile-status-description",children:k[e]})})]})]})]},e));return(0,n.jsxs)(d.Z,{className:t,component:"fieldset",required:L,disabled:N,children:[!!b&&(0,n.jsx)(c.Z,{className:S.label,component:"legend",error:!!C()(F,Z),children:b}),!!P&&(0,n.jsx)(u.Z,{children:P}),(0,n.jsx)(f.Qr,{name:Z,render:e=>{let{field:i}=e;return(0,n.jsxs)(p.Z,{row:_,className:m,...i,children:[!L&&!!w&&(0,n.jsx)(j.Z,{size:"small",control:(0,n.jsx)(s.Z,{color:"primary",value:""}),label:w}),B]})},rules:{validate:e=>{if(L&&(null==e?void 0:e.length)===0)return"Please fill out the field."}}}),(0,n.jsx)(g.B,{name:Z,render:e=>{let{message:i}=e;return(0,n.jsx)(x.Z,{children:i})}})]})}},97346:function(e,i,t){t.d(i,{Z:function(){return s}});var n=t(85893);t(67294);var l=t(1420);function s(e){let{errorMessage:i}=e;return i?(0,n.jsxs)("div",{children:["Oops, something went wrong. If the error persists, please contact the administrator at \xa0",(0,n.jsx)("a",{style:{color:l.A2},href:"mailto:creativeground@nefa.org",children:"creativeground@nefa.org"}),"\xa0 with the following information:",(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"'",i,"'"]}):(0,n.jsx)("div",{children:"Something went wrong, please refresh and try again."})}},53827:function(e,i,t){var n=t(85893);t(67294);var l=t(56027),s=t(88196);i.Z=(0,l.D2)(function(e){let{classes:i,children:t,...l}=e;return(0,n.jsx)(s.Z,{fullWidth:!0,maxWidth:"lg",classes:{paper:null==i?void 0:i.paper},...l,children:t})},{paper:{height:"100%",width:"100%"}})},99965:function(e,i,t){t.d(i,{Z:function(){return h}});var n=t(85893),l=t(87536),s=t(67294),a=t(28032),r=t(54189);class o extends a.Z{constructor(...e){super(...e),this.loadData=async()=>(0,r.Z)().get("/rest/recaptcha_settings").then(e=>e.body),this.getSettings=async()=>this.getData()}}let d=new o;var c=t(75960),u=t(97182),p=t(50259),m=t(72892),h=e=>{let{name:i}=e,{register:t,unregister:a,setValue:r,setError:o,formState:{errors:h}}=(0,l.Gc)();(0,s.useEffect)(()=>(t(i,{validate:e=>!!e||"Please prove you are not a robot."}),()=>{a(i)}),[i,t,a]);let[f,g]=(0,s.useState)({isReady:!1});(0,c.Z)(e=>{let{ifActive:t}=e;d.getSettings().then(t(e=>{g({isReady:!0,key:e.site_key})})).catch(t(e=>{console.error(e),o(i,{type:"validate",message:"Unable to load settings."})}))},[i,o]);let x=(0,s.useCallback)(e=>{r(i,e,{shouldValidate:!0})},[i]);return f.isReady?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{id:"google-recaptcha"}),(0,n.jsx)(p.pm,{reCaptchaKey:f.key,container:{element:"google-recaptcha",parameters:{badge:"inline"}},useEnterprise:!0,children:(0,n.jsx)(p.mP,{onVerify:x})}),!!(null==h?void 0:h[i])&&(0,n.jsx)(m.Z,{children:h[i].message})]}):(0,n.jsx)(u.Z,{})}},2942:function(e,i,t){var n=t(85893);t(67294);var l=t(56027),s=t(34777),a=t(89077),r=t(80685);let o=(0,l.ZL)()(e=>({root:{height:300,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},container:{display:"flex",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"49px",height:"49px",verticalAlign:"middle"},h1:{borderRight:"1px solid rgba(0, 0, 0,.3)",margin:0,marginRight:"20px",padding:"10px 23px 10px 0"},h2:{margin:0,padding:0}})),d={400:"Bad Request.",404:"This page could not be found.",405:"Method Not Allowed.",500:"Internal Server Error."};i.Z=e=>{let{classes:i}=o(),{statusCode:t}=e,l=e.title||d[t]||"An unexpected error has occurred.";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.Z,{children:"".concat(t,": ").concat(l)}),(0,n.jsx)("div",{className:i.root,children:(0,n.jsxs)("div",{className:i.container,children:[!!t&&(0,n.jsx)(a.Z,{className:i.h1,children:t}),(0,n.jsx)(r.Z,{className:i.h2,children:l})]})})]})}},83452:function(e,i,t){var n=t(85893);t(67294);var l=t(56027),s=t(24382),a=t(91825),r=t(55153),o=t(57929),d=t(27747),c=t(35889),u=t(5804);let p=(0,l.ZL)()(e=>({content:{[e.breakpoints.up("lg")]:{paddingTop:e.spacing(10),paddingBottom:e.spacing(10)}}}));i.Z=e=>{let{menuTree:i,children:t}=e,{classes:l}=p();return(0,n.jsxs)(s.Z,{children:[(0,n.jsx)(d.Z,{}),(0,n.jsxs)(a.Z,{maxWidth:"xl",children:[(0,n.jsx)(u.Z,{menuTree:i}),(0,n.jsxs)(r.ZP,{menuTree:i,className:l.content,children:[(0,n.jsx)(c.Z,{}),t]})]}),(0,n.jsx)(o.Z,{classes:{}})]})}},13715:function(e,i,t){var n=t(85893);t(67294);var l=t(89077),s=t(56027),a=t(34777),r=t(61539),o=t(68573),d=t(55153);let c=(0,s.ZL)()(e=>({gridItem:{width:"100%",[".".concat(d.Hn," &")]:{[e.breakpoints.up("md")]:{maxWidth:"100%",flexBasis:"100%"}}}}));i.Z=e=>{let{basicPage:i}=e,{title:t,paragraphs:s}=i,{classes:d}=c();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.Z,{children:t}),(0,n.jsxs)(o.ZP,{container:!0,spacing:4,flexDirection:"column",alignItems:"center",children:[(0,n.jsx)(o.ZP,{item:!0,sm:12,md:10,lg:8,flexDirection:"column",component:l.Z,className:d.gridItem,children:t}),(0,n.jsx)(o.ZP,{item:!0,sm:12,className:d.gridItem,flexDirection:"column",children:(0,n.jsx)(r.Z,{paragraphs:s})})]})]})}},59556:function(e,i,t){t.d(i,{Z:function(){return n}});class n{constructor(){this.lastUserUuid=null,this.data=null,this.revalidateUser=e=>{e!==this.lastUserUuid&&this.invalidateCache(e)},this.invalidateCache=e=>{this.data=null,this.lastUserUuid=e},this.getData=async e=>(this.revalidateUser(e),this.data||(this.data=this.loadData(e)),this.data)}}},75157:function(e,i,t){var n=t(25106),l=t(59556);class s extends l.Z{constructor(...e){super(...e),this.loadData=async e=>{try{return(await (0,n.Z)().get("/jsonapi/user/user/".concat(e,"?include=managed_profiles"))).body||!1}catch(e){return console.error(e),!1}},this.getUser=async e=>e?this.getData(e):Promise.resolve(!1),this.getUserInfo=async e=>{let i=await this.getUser(e);return i?{isLoggedIn:!0,mail:i.data.mail,name:i.data.displayName,firstName:i.data.fieldFirstName,lastName:i.data.fieldLastName}:{isLoggedIn:!1}}}}let a=new s;i.Z=a},91957:function(e,i,t){t.r(i),t.d(i,{__N_SSP:function(){return nj},default:function(){return nv},getBasicPageProps:function(){return nZ}});var n,l,s,a,r=t(85893),o=t(13715),d=t(67294),c=t(68573),u=t(56027);let p=d.createContext({open:()=>{},close:()=>{}});(n=s||(s={})).Image="image",n.RemoteVideo="remote-video";let m="profile-image",h=e=>"collection-".concat(e),f=(e,i)=>{if(null===e)return null;let t=i.findIndex(i=>i.key===e);return -1===t?null:t};var g=t(87066),x=t(30304),j=t(55895),v=t(15678);let Z=(0,u.ZL)()(e=>({link:{cursor:"pointer",transform:"scale(1)",transition:"all .3s ease","&:hover":{transform:"scale(1.02)",transition:"all .3s ease"}},container:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%"},avatar:{width:"100%",height:"auto",[e.breakpoints.down(640)]:{width:"250px",height:"250px"}},grid:{display:"grid",gridTemplateColumns:"6fr 3fr 2fr",gridTemplateRows:"6fr 3fr 2fr",gridGap:"5px",height:"300px",width:"300px",borderRadius:"50%"},originalImage:{width:"300px",height:"300px",[e.breakpoints.down(1250)]:{width:"250px",height:"250px"}},internalLink:{display:"flex",justifyContent:"center"}}));var b=e=>{var i,t;let{profileImage:n}=e,{classes:l,cx:s}=Z(),{open:a}=(0,d.useContext)(p),o=null==n?void 0:n.alt,u=(null==n?void 0:null===(i=n.thumbnail)||void 0===i?void 0:i.url)||(0,v.Z)(null==n?void 0:n.url),[h,f]=(0,d.useState)(!1),b=(0,d.useCallback)(e=>{u&&("click"===e.nativeEvent.type||32===e.nativeEvent.keyCode)&&a(m)},[a,u]);return(async e=>{e&&await g.Z.get(e).catch(e=>{var i;f((null==e?void 0:null===(i=e.response)||void 0===i?void 0:i.status)===404)})})(u),(0,r.jsx)(x.Z,{onClick:b,onKeyPress:b,className:l.internalLink,children:(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(j.Z,{src:u,className:s((null==n?void 0:null===(t=n.thumbnail)||void 0===t?void 0:t.url)?l.avatar:l.originalImage,u?l.link:null),onClick:b,"aria-hidden":h,alt:o})})})},C=t(89077),y=t(2134),w=t(13658),P=t(29058),L=t(88196),N=t(5530),k=t(75960),_=t(75157),S=t(25106),A=(e,i)=>({data:{type:"contact_message--contact_profile_owner",attributes:{name:e.name,mail:e.mail,subject:e.subject,message:e.message,field_ip_address:e.ipaddress},relationships:{field_profile_to_contact:{data:{type:"node--profile",id:i}}}}}),M=t(44723),I=t(87536),T=t(32866),F=t(40492),V=t(99965),W=t(69854),B=t(72892),H=t(2386);let D=(0,u.ZL)()(()=>({disabledColor:{"& .Mui-disabled  input.Mui-disabled":{color:"black",WebkitTextFillColor:"black !important"}}}));var R=e=>{let{profileTitle:i,user:t,onSubmit:n}=e,l=(0,I.cI)(),{handleSubmit:s,formState:{errors:a}}=l,{classes:o}=D(),u=(0,d.useCallback)(e=>0===e.length?"Please provide a valid email address.":!(0,H.H)(e)||"Please provide a valid email address.",[]),p="";return t.isLoggedIn&&(p="".concat(t.firstName||""," ").concat(t.lastName||"").trim()),(0,r.jsx)(W.Z,{formContext:l,onSubmit:s(n),children:(0,r.jsxs)(c.ZP,{container:!0,direction:"column",spacing:2,children:[(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,disabled:!0,defaultValue:i,label:"Profile to Contact",className:o.disabledColor})}),(0,r.jsxs)(c.ZP,{item:!0,children:[(0,r.jsx)(I.Qr,{render:e=>{let{field:i}=e;return(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,label:"Your Name",className:o.disabledColor,error:!!(null==a?void 0:a.name),...i,disabled:t.isLoggedIn})},defaultValue:p,name:"name",rules:{required:"This field is required."}}),(0,r.jsx)(T.B,{errors:a,name:"name",render:e=>{let{message:i}=e;return(0,r.jsx)(B.Z,{children:i})}})]}),(0,r.jsxs)(c.ZP,{item:!0,children:[(0,r.jsx)(I.Qr,{render:e=>{let{field:i}=e;return(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,type:"email",label:"Your Email",className:o.disabledColor,error:!!(null==a?void 0:a.mail),...i,disabled:t.isLoggedIn})},defaultValue:t.mail||"",name:"mail",rules:{validate:u}}),(0,r.jsx)(T.B,{errors:a,name:"mail",render:e=>{let{message:i}=e;return(0,r.jsx)(B.Z,{children:i})}})]}),(0,r.jsxs)(c.ZP,{item:!0,children:[(0,r.jsx)(I.Qr,{render:e=>{let{field:i}=e;return(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,label:"Subject",error:!!(null==a?void 0:a.subject),...i})},defaultValue:"",name:"subject",rules:{required:"This field is required."}}),(0,r.jsx)(T.B,{errors:a,name:"subject",render:e=>{let{message:i}=e;return(0,r.jsx)(B.Z,{children:i})}})]}),(0,r.jsxs)(c.ZP,{item:!0,children:[(0,r.jsx)(I.Qr,{render:e=>{let{field:i}=e;return(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,multiline:!0,rows:5,label:"Message",error:!!(null==a?void 0:a.message),...i})},defaultValue:"",name:"message",rules:{required:"This field is required."}}),(0,r.jsx)(T.B,{errors:a,name:"message",render:e=>{let{message:i}=e;return(0,r.jsx)(B.Z,{children:i})}})]}),!t.isLoggedIn&&(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(V.Z,{name:"recaptcha"})}),(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(P.Z,{type:"submit",children:"Send Message"})})]})})},E=t(97182),O=t(63274),q=t(97346);let U=(0,u.ZL)()(()=>({alert:{justifyContent:"center"},loader:{display:"flex",justifyContent:"center",marginTop:40}}));function z(e){let{dialogState:{state:i,user:t},formProps:n}=e,{classes:l}=U();switch(i){case"loading":case"submitting":return(0,r.jsx)("div",{className:l.loader,children:(0,r.jsx)(E.Z,{})});case"form":return(0,r.jsx)(R,{user:t,...n});case"submitted":return(0,r.jsx)(M.Z,{severity:"success",className:l.alert,children:"Your message was sent successfully!"});default:{var s;let i=(0,O.yg)(null===(s=e.dialogState)||void 0===s?void 0:s.error);return(0,r.jsx)(M.Z,{severity:"error",className:l.alert,children:(0,r.jsx)(q.Z,{errorMessage:i})})}}}var Y=t(91553),G=t(29818),Q=(0,Y.Z)({remount:!0,userUuid:!0})(function(e){let{open:i,onClose:t,profileTitle:n,profileId:l,userUuid:s}=e,[a,o]=(0,d.useState)({state:"loading"}),c=e=>{o(i=>({...i,...e}))},u=(0,d.useContext)(G.S);return(0,k.Z)(e=>{let{ifActive:i}=e;_.Z.getUserInfo(s).then(i(e=>{c({state:"form",user:e})})).catch(i(e=>{console.error(e),c({state:"error"})}))},[s]),(0,r.jsxs)(L.Z,{open:i,onClose:t,maxWidth:!1,TransitionProps:{onExited:()=>{o(e=>"submitted"===e.state?{...e,state:"form"}:e)}},children:[(0,r.jsx)(N.Z,{children:"Contact Profile Owner"}),(0,r.jsx)(z,{dialogState:a,formProps:{profileTitle:n,onSubmit:e=>{c({state:"submitting"});let i={};a.user.isLoggedIn||(i["X-CG-ReCaptcha-Response"]=e.recaptcha),e.ipaddress=u,(0,S.Z)().post("/jsonapi/contact_message/contact_profile_owner").set(i).send(A(e,l)).then(()=>{c({state:"submitted"})}).catch(e=>{var i,t;console.error(e),c({state:"error",error:null===(t=e.response)||void 0===t?void 0:null===(i=t.body)||void 0===i?void 0:i.errors[0]})})}}})]})}),K=t(21038),$=e=>{var i;let{profile:t}=e,[n,l]=(0,d.useState)(!1),s=null===(i=t.fieldContactInformation)||void 0===i?void 0:i.hasEmail,a=t.fieldProfileStatus,o="Message can't be sent because there is no active public contact for this profile.";"on_hiatus"===a?o="This profile is temporarily on hiatus. You can message them when they return to active status.":"out_of_business"===a&&(o="Message cannot be sent because this profile is marked Out of Business");let c="Contact this Profile";return!s||["on_hiatus","out_of_business"].includes(a)?(0,r.jsx)(K.Z,{title:o,children:(0,r.jsx)("div",{children:(0,r.jsx)(P.Z,{disabled:!0,children:c})})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(P.Z,{onClick:()=>{l(!0)},children:c}),(0,r.jsx)(Q,{open:n,onClose:()=>{l(!1)},profileTitle:t.title,profileId:t.id})]})},J=(e,i,t)=>({data:{type:"contact_message--profile_suggestion",attributes:{name:e.name,mail:e.mail,subject:"Suggestion to edit ".concat(t),message:e.message,field_ps_i_would_like_to:e.suggestionType,field_ps_are_you_affiliated:e.affiliated,field_ip_address:e.ipaddress},relationships:{field_profile_to_contact:{data:{type:"node--profile",id:i}}}}}),X=t(12283),ee=t(30674);let ei=(0,u.ZL)()(()=>({disabledColor:{"& .Mui-disabled  input.Mui-disabled":{color:"black",WebkitTextFillColor:"black !important"}}}));var et=e=>{let{profileTitle:i,user:t,onSubmit:n}=e,l="";t.isLoggedIn&&(l="".concat(t.firstName||""," ").concat(t.lastName||"").trim());let{classes:s}=ei(),a=(0,d.useCallback)(e=>(null==e?void 0:e.length)===0?"Please provide a valid email address.":!(e&&(0,H.H)(e))||"Please provide a valid email address.",[]),o=(0,I.cI)({defaultValues:{name:l,mail:t.mail||"",message:"",suggestionType:"",affiliated:""}}),{handleSubmit:u,formState:{errors:p}}=o;return(0,r.jsx)(W.Z,{formContext:o,onSubmit:u(n),children:(0,r.jsxs)(c.ZP,{container:!0,direction:"column",spacing:2,children:[(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(X.Z,{children:"This form enables anyone to suggest an edit to this profile. Your submission will be reviewed by an administrator, so please provide as much information as possible."})}),(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(ee.Z,{required:!0,name:"affiliated",label:"Are you affiliated with this entity (on the staff or board)?",options:{0:"No",1:"Yes"}})}),(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(X.Z,{children:(0,r.jsx)("strong",{children:'If you are affiliated with, work for, or otherwise represent this profile and want to be able to manage and edit the listing directly, please return to the profile and select "Claim this profile" instead.'})})}),(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,disabled:!0,defaultValue:i,label:"Profile",className:s.disabledColor})}),(0,r.jsxs)(c.ZP,{item:!0,children:[(0,r.jsx)(I.Qr,{render:e=>{let{field:i}=e;return(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,label:"Your Name",className:s.disabledColor,error:!!(null==p?void 0:p.name),...i,disabled:t.isLoggedIn})},name:"name",rules:{required:"This field is required."}}),(0,r.jsx)(T.B,{errors:p,name:"name",render:e=>{let{message:i}=e;return(0,r.jsx)(B.Z,{children:i})}})]}),(0,r.jsxs)(c.ZP,{item:!0,children:[(0,r.jsx)(I.Qr,{render:e=>{let{field:i}=e;return(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,type:"email",label:"Your Email",className:s.disabledColor,error:!!(null==p?void 0:p.mail),...i,disabled:t.isLoggedIn})},name:"mail",rules:{validate:a}}),(0,r.jsx)(T.B,{errors:p,name:"mail",render:e=>{let{message:i}=e;return(0,r.jsx)(B.Z,{children:i})}})]}),(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(ee.Z,{name:"suggestionType",options:{correction:"I would like to submit a correction",addition:"I would like to submit additional information",flag:"I would like to flag this profile as inappropriate",out_of_business:"I would like to flag this profile as out of business"},required:!0})}),(0,r.jsxs)(c.ZP,{item:!0,children:[(0,r.jsx)(I.Qr,{render:e=>{let{field:i}=e;return(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,multiline:!0,rows:5,label:"Message",error:!!(null==p?void 0:p.message),...i})},name:"message",rules:{required:"This field is required."}}),(0,r.jsx)(T.B,{errors:p,name:"message",render:e=>{let{message:i}=e;return(0,r.jsx)(B.Z,{children:i})}})]}),!t.isLoggedIn&&(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(V.Z,{name:"recaptcha"})}),(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(P.Z,{type:"submit",children:"Send Suggestion"})})]})})};let en=(0,u.ZL)()(()=>({alert:{justifyContent:"center"},loader:{display:"flex",justifyContent:"center",marginTop:40}}));function el(e){let{dialogState:{state:i,user:t},formProps:n}=e,{classes:l}=en();switch(i){case"loading":case"submitting":return(0,r.jsx)("div",{className:l.loader,children:(0,r.jsx)(E.Z,{})});case"form":return(0,r.jsx)(et,{user:t,...n});case"submitted":return(0,r.jsx)(M.Z,{severity:"success",className:l.alert,children:'Thank you for submitting a correction or addition to this profile. A CreativeGround administrator will review your suggestion(s) and contact you if additional information is needed. If you professionally represent this profile and want to be able to manage and edit its content directly, you can return to the profile and select "Claim this profile".'});default:{var s;let i=(0,O.yg)(null===(s=e.dialogState)||void 0===s?void 0:s.error);return(0,r.jsx)(M.Z,{severity:"error",className:l.alert,children:(0,r.jsx)(q.Z,{errorMessage:i})})}}}var es=(0,Y.Z)({remount:!0,userUuid:!0})(function(e){let{open:i,onClose:t,profileTitle:n,profileId:l,userUuid:s}=e,[a,o]=(0,d.useState)({state:"loading"}),c=e=>{o(i=>({...i,...e}))};(0,k.Z)(e=>{let{ifActive:i}=e;_.Z.getUserInfo(s).then(i(e=>{c({state:"form",user:e})})).catch(i(e=>{console.error(e),c({state:"error"})}))},[s]);let u=(0,d.useContext)(G.S);return(0,r.jsxs)(L.Z,{open:i,onClose:t,maxWidth:!1,TransitionProps:{onExited:()=>{o(e=>"submitted"===e.state?{...e,state:"form"}:e)}},children:[(0,r.jsx)(N.Z,{children:"Submit a Suggestion"}),(0,r.jsx)(el,{dialogState:a,formProps:{profileTitle:n,onSubmit:e=>{c({state:"submitting"});let i={};a.user.isLoggedIn||(i["X-CG-ReCaptcha-Response"]=e.recaptcha),e.ipaddress=u,(0,S.Z)().post("/jsonapi/contact_message/profile_suggestion").set(i).send(J(e,l,n)).then(()=>{c({state:"submitted"})}).catch(e=>{var i,t;console.error(e),c({state:"error",error:null===(t=e.response)||void 0===t?void 0:null===(i=t.body)||void 0===i?void 0:i.errors[0]})})}}})]})});function ea(e){let{profileTitle:i,profileId:t}=e,[n,l]=(0,d.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(P.Z,{onClick:()=>{l(!0)},children:"Suggest an Edit"}),(0,r.jsx)(es,{open:n,onClose:()=>{l(!1)},profileTitle:i,profileId:t})]})}var er=(e,i,t)=>({data:{type:"contact_message--request_profile_management",attributes:{name:e.name,mail:e.mail,subject:"Request to manage ".concat(t),message:e.message,field_ip_address:e.ipaddress},relationships:{field_profile_to_contact:{data:{type:"node--profile",id:i}}}}}),eo=t(85710);let ed=(0,u.ZL)()(()=>({disabledColor:{"& .Mui-disabled  input.Mui-disabled":{color:"black",WebkitTextFillColor:"black !important"}}}));var ec=e=>{let{profileTitle:i,onSubmit:t,user:n}=e,l=(0,I.cI)(),{handleSubmit:s,formState:{errors:a}}=l,{classes:o}=ed();return(0,r.jsx)(W.Z,{formContext:l,onSubmit:s(t),children:(0,r.jsxs)(c.ZP,{container:!0,direction:"column",spacing:2,children:[(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,disabled:!0,defaultValue:i,label:"Profile to Manage",className:o.disabledColor})}),(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(I.Qr,{render:e=>{let{field:i}=e;return(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,label:"Name",className:o.disabledColor,...i,disabled:!0})},defaultValue:"".concat(n.firstName," ").concat(n.lastName),name:"name"})}),(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(I.Qr,{render:e=>{let{field:i}=e;return(0,r.jsx)(F.Z,{required:!0,fullWidth:!0,type:"email",label:"Email",className:o.disabledColor,...i,disabled:!0})},defaultValue:n.mail,name:"mail"})}),(0,r.jsxs)(c.ZP,{item:!0,children:[(0,r.jsx)(I.Qr,{render:e=>{let{field:i}=e;return(0,r.jsx)(eo.Z,{required:!0,fullWidth:!0,multiline:!0,rows:5,label:"Message",helperText:"Please describe your relationship to this profile and why you want access to edit the information on it.",error:!!(null==a?void 0:a.message),...i})},defaultValue:"",name:"message",rules:{required:"This field is required."}}),(0,r.jsx)(T.B,{errors:a,name:"message",render:e=>{let{message:i}=e;return(0,r.jsx)(B.Z,{children:i})}})]}),(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(P.Z,{type:"submit",children:"Send Request"})})]})})};let eu=(0,u.ZL)()(()=>({alert:{justifyContent:"center"},loader:{display:"flex",justifyContent:"center",marginTop:40}}));function ep(e){let{dialogState:{state:i,user:t},formProps:n}=e,{classes:l}=eu();switch(i){case"loading":case"submitting":return(0,r.jsx)("div",{className:l.loader,children:(0,r.jsx)(E.Z,{})});case"form":return(0,r.jsx)(ec,{user:t,...n});case"submitted":return(0,r.jsx)(M.Z,{severity:"success",className:l.alert,children:"Thank you! Your request for managing this profile has been submitted. CreativeGround staff will review this request and, if approved, you will receive an email with instructions on accessing and updating your profile."});default:return(0,r.jsx)(M.Z,{severity:"error",className:l.alert,children:"Something went wrong, please refresh the page and try again."})}}var em=t(31788);let eh=(0,u.ZL)()(()=>({helperText:{marginBottom:20}}));var ef=(0,Y.Z)({remount:!0,userUuid:!0})(function(e){let{open:i,onClose:t,profileTitle:n,profileId:l,userUuid:s}=e,[a,o]=(0,d.useState)({state:"loading"}),c=e=>{o(i=>({...i,...e}))},{classes:u}=eh();(0,k.Z)(e=>{let{ifActive:i}=e;_.Z.getUserInfo(s).then(i(e=>{e.isLoggedIn?c({state:"form",user:e}):c({state:"error"})})).catch(i(e=>{console.error(e),c({state:"error"})}))},[s]);let p=(0,d.useContext)(G.S);return(0,r.jsxs)(L.Z,{open:i,onClose:t,maxWidth:!1,TransitionProps:{onExited:()=>{o(e=>"submitted"===e.state?{...e,state:"form"}:e)}},children:[(0,r.jsx)(N.Z,{children:"Request Profile Management Access"}),(0,r.jsx)(em.Z,{className:u.helperText,children:"Submit this form to claim ownership of this profile and be able to edit it directly. Once submitted, an administrator will review your request and be in touch. If you are not affiliated with the profile but an update is needed, please suggest an edit instead."}),(0,r.jsx)(ep,{dialogState:a,formProps:{profileTitle:n,onSubmit:e=>{c({state:"submitting"}),e.ipaddress=p,(0,S.Z)().post("/jsonapi/contact_message/request_profile_management").send(er(e,l,n)).then(()=>{c({state:"submitted"})}).catch(e=>{console.error(e),c({state:"error"})})}}})]})}),eg=t(32049),ex=t(11163),ej=t(59886),ev=t(1429),eZ=t(40110),eb=t(96727),eC=e=>{let{openDialog:i,onClose:t}=e,n=(0,ex.useRouter)(),l=(0,d.useCallback)(e=>{t(),n.push({pathname:"/user/login",query:{destination:n.asPath.split("?")[0]+"?claimProfile=true"}})},[i]);return(0,r.jsxs)(L.Z,{open:i,onClose:t,maxWidth:!1,children:[(0,r.jsx)(N.Z,{children:"Claim This Profile"}),(0,r.jsx)(eZ.Z,{children:(0,r.jsx)(em.Z,{children:"Submit a profile claim request to claim ownership of this profile and be able to edit it directly. Before you can submit your claim request for administrator review, please log in or create a user account. Click ok to be redirected to the log in page."})}),(0,r.jsxs)(eb.Z,{children:[(0,r.jsx)(eg.Z,{autoFocus:!0,onClick:t,children:"Cancel"}),(0,r.jsx)(P.Z,{onClick:l,autoFocus:!0,children:"Ok"})]})]})};let ey=(0,u.ZL)()(()=>({button:{maxWidth:"300px"}})),ew=e=>{let{onClick:i,isManager:t=null}=e,{classes:n}=ey();if(null!==t)return(0,r.jsx)(eg.Z,{onClick:i,className:n.button,children:t?"Edit profile":"Claim this Profile"})},eP=e=>{let{profileId:i,profileTitle:t}=e,[n,l]=(0,d.useState)(!1),[s,a]=(0,d.useState)(!1),[o,c]=(0,d.useState)(null),{token:u}=(0,ej.Z)(),p=u.getUserUuid(),m=(0,ex.useRouter)(),h=m.query.claimProfile,f=async()=>{l(!1),await _.Z.getUser(p).then(e=>{let t=(null==e?void 0:e.data.managedProfiles).find(e=>e.id===i||null);c(t&&t.fieldProfileStatus?t.fieldProfileStatus:null),a(!!t),h&&!t&&l(!0)}).catch(e=>console.log(e))};return(0,d.useEffect)(()=>{f()},[i]),(0,r.jsxs)(r.Fragment,{children:[(0,ev.Z)(o,u.canMasquerade())&&(0,r.jsx)(ew,{onClick:()=>{s?m.push({pathname:"/user/edit-profile/".concat(i)}):l(!0)},isManager:s}),(0,r.jsx)(ef,{open:n,onClose:()=>{l(!1)},profileTitle:t,profileId:i})]})},eL=()=>{let[e,i]=(0,d.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ew,{onClick:()=>{i(!0)},isManager:!1}),(0,r.jsx)(eC,{openDialog:e,onClose:()=>{i(!1)}})]})};var eN=(0,Y.Z)({remount:!1,isAuthenticated:!0})(function(e){let{isAuthenticated:i,...t}=e;return(0,r.jsx)(i?eP:eL,{...t})}),ek=t(4291),e_=t(84136),eS=t(55594);let eA=(0,u.ZL)()((e,i,t)=>({collapse:{position:"relative","&::after":{width:"100%",height:e.spacing(3),background:"linear-gradient(to bottom, transparent, white)",position:"absolute",bottom:0,left:0,display:"block",content:'""'},["&.MuiCollapse-entered::after, &.".concat(t.nonCollapsible,"::after")]:{display:"none"}},nonCollapsible:{minHeight:"0 !important",height:"auto !important"},content:{"& p, & ul, & ol":{marginTop:0,marginBottom:e.spacing(2),"&:last-child":{marginBottom:0}}},moreLinkWrapper:{marginTop:e.spacing(1)},moreLink:{cursor:"pointer",background:"none",border:"none",fontSize:"18px",fontFamily:'"Montserrat", sans-serif',fontWeight:400,lineHeight:"24px",padding:0}}));var eM=e=>{let{text:i}=e,{classes:t,cx:n}=eA(),l=(0,O.Fx)(null==i?void 0:i.processed),[s,a]=(0,d.useState)(!!l),[o,c]=(0,d.useState)(!1),u=(0,d.useCallback)(e=>{e.preventDefault(),c(!0)},[]),p=(0,d.useCallback)(e=>{e.preventDefault(),c(!1)},[]),m=(0,d.useRef)(),h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=m.current;a((null!==e?e:i.offsetHeight)>170)};(0,eS.Z)(m,e=>{h(e.contentRect.height)}),(0,d.useLayoutEffect)(()=>{h()},[]);let f=(0,r.jsx)("div",{ref:m,className:t.content,dangerouslySetInnerHTML:{__html:l||""}});return(0,r.jsxs)(em.Z,{component:"div",children:[(0,r.jsx)(ek.Z,{in:o,collapsedSize:170,className:n(t.collapse,s?"":t.nonCollapsible),children:f}),s&&(0,r.jsx)("div",{className:t.moreLinkWrapper,children:(0,r.jsx)(e_.Z,{className:t.moreLink,onClick:o?p:u,component:"button",children:o?"Show less":"Show more"})})]})},eI=t(1420);let eT=(0,u.ZL)()((e,i,t)=>({alert:{borderRadius:0,padding:"".concat(e.spacing(2)," ").concat(e.spacing(3))},message:{padding:0},label:{},warning:{backgroundColor:eI.Q3,["&, & .".concat(t.label)]:{color:eI.A2}}}));var eF=e=>{let{children:i,...t}=e,{classes:n}=eT();return(0,r.jsx)(M.Z,{icon:!1,classes:{root:n.alert,message:n.message,standardWarning:n.warning},...t,children:(0,r.jsx)(y.Z,{className:n.label,component:"div",children:i})})},eV=t(83322),eW=t(41223),eB=t(80129),eH=t.n(eB);let eD=(e,i)=>({left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-e/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-i/2});function eR(e){let{url:i,width:t=550,height:n=400,...l}=e,s={height:n,width:t,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes",...eD(n,t),...l},a=Object.keys(s).map(e=>"".concat(e,"=").concat(s[e])).join(",");window.open(i,"",a)}var eE=t(51171),eO=t(13016);let eq=e=>({"&.MuiFab-root":{backgroundColor:e,"&:hover":{backgroundColor:(0,eE._j)(e,.15)}}}),eU=e=>{var i;return i=e.pathAlias||"/node/".concat(e.drupalId),"".concat(window.location.protocol,"//").concat(window.location.host).concat(i)},ez=(0,u.ZL)()(e=>({action:{color:eI.A2,marginTop:0,marginBottom:0}}));var eY=e=>{let{className:i=null,...t}=e,{classes:n,cx:l}=ez();return(0,r.jsx)(eO.Z,{...t,tooltipPlacement:"bottom",className:l(n.action,i),FabProps:{size:"small"}})},eG=t(67131);let eQ=(0,u.ZL)()(e=>({action:{...eq("#1877F2")}}));var eK=e=>{let{profile:i,...t}=e,{classes:n}=eQ(),l=(0,d.useCallback)(()=>{!function(e){let{url:i,quote:t}=e,n=eH().stringify({u:i,quote:t});eR({url:"https://www.facebook.com/sharer/sharer.php?".concat(n)})}({url:eU(i),quote:i.title})},[i]);return(0,r.jsx)(eY,{...t,onClick:l,icon:(0,r.jsx)(eG.Z,{}),tooltipTitle:"Share on Facebook",className:n.action})},e$=t(20754);let eJ=(0,u.ZL)()(e=>({action:{...eq("#1DA1F2")}}));var eX=e=>{let{profile:i,...t}=e,{classes:n}=eJ(),l=(0,d.useCallback)(()=>{!function(e){let{url:i,text:t}=e,n=eH().stringify({url:i,text:t});eR({url:"https://twitter.com/share?".concat(n)})}({url:eU(i),text:i.title})},[i]);return(0,r.jsx)(eY,{...t,icon:(0,r.jsx)(e$.Z,{}),tooltipTitle:"Share on Twitter",onClick:l,className:n.action})},e0=t(11509);let e1=(0,u.ZL)()(e=>({action:{...eq("#C32AA3")}}));var e4=e=>{let{profile:i,...t}=e,{classes:n}=e1(),l=(0,d.useCallback)(()=>{!function(e){let{url:i,subject:t="",body:n=""}=e,l=eH().stringify({subject:t,body:"".concat(n," ").concat(i).trim()});window.location.href="mailto:?".concat(l)}({url:eU(i),subject:i.title})},[i]);return(0,r.jsx)(eY,{...t,icon:(0,r.jsx)(e0.Z,{}),tooltipTitle:"Share through Email",onClick:l,className:n.action})};let e3=(0,u.ZL)()(e=>({root:{display:"inline-flex",position:"relative",color:eI.A2},actions:{"&.MuiSpeedDial-actions":{position:"absolute",top:0,left:40,margin:0,padding:"0 0 0 ".concat(e.spacing(1)),[e.breakpoints.down(500)]:{flexDirection:"column"}}},fab:{color:eI.A2}}));var e5=e=>{let{profile:i}=e,{classes:t}=e3(),[n,l]=(0,d.useState)(!1),s=(0,d.useCallback)(()=>{l(!0)},[]),a=(0,d.useCallback)(()=>{l(!1)},[]);return(0,r.jsxs)(eV.Z,{classes:{root:t.root,actions:t.actions,fab:t.fab},ariaLabel:"Share",open:n,onOpen:s,onClose:a,icon:(0,r.jsx)(eW.Z,{}),direction:"right",FabProps:{size:"small"},children:[(0,r.jsx)(eK,{profile:i}),(0,r.jsx)(eX,{profile:i}),(0,r.jsx)(e4,{profile:i})]})},e2=t(85770),e6=t(32200),e7=t(47407),e8=t(89429),e9=t(72317);let ie=(0,u.ZL)()(e=>({stateListItem:{display:"flex",flexDirection:"column",alignContent:"flex-end",padding:0,"& > .MuiAvatar-circular":{width:"60px",height:"60px"}},spacer:{marginTop:e.spacing(2)},cssGridContainer:{padding:e.spacing(2),height:"100%",[e.breakpoints.up("md")]:{display:"grid",gridTemplateColumns:"1fr 1fr 200px",gridTemplateRows:"5fr 1fr",gridColumnGap:"20px",padding:0}},one:{"& > div":{marginBottom:e.spacing(2)},[e.breakpoints.up("md")]:{gridColumn:"1/4",display:"flex",justifyContent:"start",flexDirection:"column","& > div":{width:"100%"}},[e.breakpoints.down("lg")]:{paddingBottom:e.spacing(2)}},state:{[e.breakpoints.up("md")]:{margin:0}},three:{[e.breakpoints.up("md")]:{gridColumn:"1/3"}},four:{[e.breakpoints.up("md")]:{gridRow:"2/3"}},five:{[e.breakpoints.up("md")]:{gridColumn:"1/4",display:"flex","& > div":{alignContent:"flex-start",paddingTop:e.spacing(.5)}},[e.breakpoints.down("lg")]:{"& > div":{justifyContent:"center",alignContent:"center"}},[e.breakpoints.down("md")]:{"& > div":{justifyContent:"center",flexDirection:"column"}}},wide:{[e.breakpoints.up("md")]:{gridColumn:"1/4"}},claimThisProfileGridItem:{display:"flex",alignItems:"center"},headingDiv:{display:"flex",gap:e.spacing(2),justifyContent:"space-between","& > h1":{marginBottom:e.spacing(2)}},socialshareContainer:{[e.breakpoints.down("lg")]:{display:"flex",justifyContent:"center"}}})),ii=new Map([["on_hiatus","On Hiatus"],["out_of_business","Out of Business"]]);var it=e=>{var i;let{profileEntity:t}=e,{title:n,fieldInstitutionBusinessType:l,body:s,id:a}=t,{classes:o,cx:d}=ie(),u=t.fieldProfileStatus,p=u?ii.get(u):null,m=(null===(i=t.fieldPhysicalAddress)||void 0===i?void 0:i.administrativeArea)||null,h=m&&e9.U[m]||"";return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:o.cssGridContainer,children:[(0,r.jsxs)("div",{className:o.one,children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:o.headingDiv,children:[(0,r.jsxs)(C.Z,{children:[n," "," "]}),(0,r.jsx)(e7.Z,{disablePadding:!0,children:(0,r.jsxs)(e2.ZP,{className:o.stateListItem,children:[(0,r.jsx)(j.Z,{src:e8.M[m],alt:h}),(0,r.jsx)(e6.Z,{secondary:t.fieldPhysicalAddress.administrativeArea})]})})]}),!!p&&(0,r.jsx)(eF,{severity:"warning",className:o.spacer,children:p}),(0,r.jsxs)("div",{children:[(0,r.jsx)(y.Z,{component:"span",children:"Institution/Business Type: "}),(0,r.jsx)(w.Z,{component:"span",children:l})]})]}),(0,r.jsx)("div",{className:d(o.three,o.wide),children:(0,r.jsx)(eM,{text:s||null})})]}),(0,r.jsx)("div",{className:o.five,children:(0,r.jsxs)(c.ZP,{item:!0,container:!0,spacing:2,children:[(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)($,{profile:t})}),(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(ea,{profileId:a,profileTitle:n})}),(0,r.jsx)(c.ZP,{item:!0,className:o.claimThisProfileGridItem,children:(0,r.jsx)(eN,{profileId:a,profileTitle:n})}),(0,r.jsx)(c.ZP,{item:!0,className:o.socialshareContainer,children:(0,r.jsx)(e5,{profile:t})})]})})]})})},il=t(30381),is=t.n(il),ia=t(31589);let ir=e=>(0,r.jsxs)(ia.Z,{...e,width:"100",height:"97",viewBox:"0 0 100 97",children:[(0,r.jsx)("path",{d:"M50 96.7742C77.6142 96.7742 100 75.1105 100 48.3871C100 21.6636 77.6142 0 50 0C22.3858 0 0 21.6636 0 48.3871C0 75.1105 22.3858 96.7742 50 96.7742Z",fill:"#F5F8FA"}),(0,r.jsx)("path",{d:"M66.7006 65.0756L64.4868 37.4035C64.4364 36.7736 63.9106 36.2884 63.279 36.2884H58.8368V35.4806C58.8368 30.8045 55.0323 27 50.3559 27C45.6798 27 41.8753 30.8045 41.8753 35.4806V36.2884H37.4328C36.8012 36.2884 36.2757 36.7736 36.2254 37.4035L34.0115 65.0756C33.9308 66.0834 34.2781 67.088 34.9638 67.8307C35.6499 68.5738 36.6234 69 37.6347 69H63.0775C64.0888 69 65.0619 68.5738 65.748 67.8307C66.434 67.088 66.7811 66.0837 66.7006 65.0756ZM44.2984 35.4806C44.2984 32.1404 47.0157 29.4231 50.3559 29.4231C53.6961 29.4231 56.4137 32.1404 56.4137 35.4806V36.2884H44.2984V35.4806ZM60.0484 62.1347H40.6637C39.9947 62.1347 39.4522 61.5922 39.4522 60.9231C39.4522 60.2541 39.9947 59.7116 40.6637 59.7116H60.0484C60.7175 59.7116 61.26 60.2541 61.26 60.9231C61.26 61.5922 60.7175 62.1347 60.0484 62.1347Z",fill:"#444343"})]}),io=e=>(0,r.jsxs)(ia.Z,{...e,width:"100",height:"97",viewBox:"0 0 100 97",children:[(0,r.jsx)("path",{d:"M50 96.7742C77.6142 96.7742 100 75.1105 100 48.3871C100 21.6636 77.6142 0 50 0C22.3858 0 0 21.6636 0 48.3871C0 75.1105 22.3858 96.7742 50 96.7742Z",fill:"#F5F8FA"}),(0,r.jsx)("path",{d:"M40.4115 59.919C39.8286 59.3124 38.808 59.237 38.1418 59.7429L38.1243 59.7315L36.6167 61.2392C36.2861 61.5687 36.1048 62.0084 36.1048 62.476C36.085 63.4175 36.914 64.2446 37.8545 64.2256C38.402 64.2345 38.8896 63.9607 39.2468 63.5583L40.4115 62.3936C40.6555 62.1495 40.8193 61.8457 40.8872 61.5152C41.0093 60.9434 40.8288 60.3303 40.4115 59.919Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M36.218 54.7936C35.5355 54.1111 34.4266 54.1118 33.7434 54.7936C33.5846 54.9532 32.6054 55.9318 32.4242 56.1138C30.8503 57.8219 33.1888 60.1613 34.8978 58.5884C34.8978 58.5884 36.0427 57.4434 36.218 57.2682C36.9008 56.5865 36.9008 55.4764 36.218 54.7936Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M43.9891 63.9094C43.5216 63.9094 43.0819 64.0917 42.7513 64.4223L41.4311 65.7425C41.4249 65.7487 41.4187 65.7548 41.4126 65.7621C40.751 66.4157 40.7609 67.5731 41.4311 68.2171C42.1138 68.8988 43.224 68.8988 43.9057 68.2171L45.2269 66.8959C46.3212 65.8044 45.5346 63.9036 43.9891 63.9094Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M55.7308 44.4885C53.0296 46.1918 49.4078 45.8684 47.0568 43.5174L43.9962 40.4579L47.8157 36.6383C43.7133 32.0346 36.4996 31.7426 32.1328 36.139C27.7423 40.4996 28.0238 47.7048 32.6178 51.8084C35.9634 49.9385 40.0776 52.5503 39.8069 56.3601C42.0222 56.5996 43.8976 58.6075 43.9992 60.8233C46.0824 60.7787 48.1516 62.3389 48.659 64.3967C50.3933 63.9319 52.3371 64.5077 53.5248 65.8817L53.5599 65.8405C55.2818 66.8743 57.1035 64.7509 55.8048 63.2042L55.8079 63.2001C55.7811 63.1743 48.8537 56.2469 48.8537 56.2469C49.398 55.7025 50.4936 54.6069 51.0379 54.0627L57.9128 60.9376C59.6207 62.5111 61.9607 60.1711 60.3864 58.463L53.5125 51.588C54.0568 51.0437 55.1524 49.9481 55.6967 49.4038C57.2418 50.9488 60.9903 54.6975 62.5716 56.2788C63.2227 56.957 64.3951 56.9567 65.0462 56.2788C65.728 55.596 65.728 54.4859 65.0462 53.8042L55.7308 44.4885Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M67.8671 36.1388C63.6809 31.9537 56.8698 31.9537 52.6837 36.1388C51.8697 36.9533 49.1345 39.6892 48.3657 40.4578L49.2411 41.3331C50.7631 42.8552 53.2387 42.8552 54.7598 41.3331L55.8524 40.2405C56.4333 40.8278 67.0968 51.4731 67.3964 51.7939C71.9795 47.6887 72.251 40.4938 67.8671 36.1388Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M51.1279 67.8393C50.4451 67.1575 49.3358 67.1567 48.6533 67.8393L47.3331 69.1595C46.6538 69.8108 46.6541 70.9828 47.3331 71.6341C47.9853 72.3119 49.156 72.3115 49.8077 71.6341L51.1279 70.3139C51.8059 69.6635 51.8059 68.4882 51.1279 67.8393Z",fill:"#444343"})]}),id=e=>(0,r.jsxs)(ia.Z,{...e,width:"102",height:"100",viewBox:"0 0 102 100",children:[(0,r.jsx)("path",{d:"M51.25 100C78.8643 100 101.25 77.6143 101.25 50C101.25 22.3858 78.8643 0 51.25 0C23.6358 0 1.25 22.3858 1.25 50C1.25 77.6143 23.6358 100 51.25 100Z",fill:"#F5F8FA"}),(0,r.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,r.jsx)("path",{d:"M56.2972 62.3204C55.6139 62.3204 54.9405 62.2018 54.2951 61.9677L51.2692 60.8696L48.2449 61.9735C47.5969 62.2098 46.9199 62.3297 46.2329 62.3297C44.1486 62.3297 42.2047 61.2078 41.1598 59.4017L41.1401 59.3677L41.15 72.0669C41.15 73.1618 41.7527 74.1572 42.7228 74.6647C43.1518 74.8891 43.6181 75.0001 44.0827 75.0001C44.6687 75.0001 45.2518 74.8235 45.7535 74.4753L51.2155 70.6836L56.6775 74.4753C57.5768 75.0996 58.7381 75.1722 59.7082 74.6647C60.6783 74.1572 61.281 73.1618 61.281 72.0669V59.5418C60.2167 61.2603 58.3242 62.3204 56.2972 62.3204Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M67.6163 37.8256L64.3304 35.0736L63.5824 30.8533C63.3337 29.4506 62.12 28.4334 60.6958 28.4334C60.6949 28.4334 60.6939 28.4334 60.693 28.4334L56.407 28.4372L53.1212 25.6855C52.0285 24.7702 50.4434 24.7716 49.3523 25.6889L46.0715 28.4469L41.7855 28.4509C40.3601 28.4522 39.1468 29.4722 38.9006 30.8761L38.1602 35.0977L34.8794 37.8557C33.7884 38.7729 33.5146 40.334 34.2284 41.5678L36.3748 45.2777L35.6345 49.4992C35.3881 50.9031 36.1819 52.2751 37.5219 52.7614L41.5508 54.2237L43.6972 57.9335C44.2344 58.8621 45.2113 59.3981 46.2327 59.3981C46.5683 59.3981 46.9087 59.3401 47.24 59.2193L51.2662 57.7498L55.2951 59.2119C56.6349 59.6978 58.1239 59.1546 58.8355 57.9196L60.9751 54.2058L65.0014 52.7362C66.3403 52.2474 67.1315 50.874 66.8827 49.4705L66.1346 45.2503L68.2742 41.5364C68.9857 40.3014 68.709 38.7408 67.6163 37.8256ZM51.2497 51.0222C46.5888 51.0222 42.7968 47.2302 42.7968 42.5694C42.7968 37.9085 46.5888 34.1165 51.2497 34.1165C55.9105 34.1165 59.7026 37.9085 59.7026 42.5694C59.7026 47.2302 55.9105 51.0222 51.2497 51.0222Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M56.3606 44.6865C57.5285 41.869 56.1912 38.6382 53.3737 37.4704C50.5562 36.3025 47.3254 37.6398 46.1576 40.4573C44.9897 43.2748 46.327 46.5056 49.1445 47.6734C51.962 48.8413 55.1928 47.504 56.3606 44.6865Z",fill:"#444343"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0",children:(0,r.jsx)("rect",{width:"50",height:"50",fill:"white",transform:"translate(26.25 25)"})})})]}),ic=e=>(0,r.jsxs)(ia.Z,{...e,width:"102",height:"103",viewBox:"0 0 102 103",children:[(0,r.jsx)("path",{d:"M51.25 100.5C78.8643 100.5 101.25 78.1143 101.25 50.5C101.25 22.8858 78.8643 0.5 51.25 0.5C23.6358 0.5 1.25 22.8858 1.25 50.5C1.25 78.1143 23.6358 100.5 51.25 100.5Z",fill:"#F5F8FA"}),(0,r.jsx)("path",{d:"M58.875 37.3008C60.3676 37.3008 61.582 36.0864 61.582 34.5938V30H56.168V34.5938C56.168 36.0864 57.3824 37.3008 58.875 37.3008Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M66.75 37.3008C68.2618 37.3008 69.5391 36.0611 69.5391 34.5938V30H64.043V34.5938C64.043 36.0864 65.2574 37.3008 66.75 37.3008Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M48.293 34.5938C48.293 36.0864 49.5074 37.3008 51 37.3008C52.4926 37.3008 53.707 36.0864 53.707 34.5938V30H48.293V34.5938Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M43.125 37.3008C44.6176 37.3008 45.832 36.0864 45.832 34.5938V30H40.418V34.5938C40.418 36.0864 41.6324 37.3008 43.125 37.3008Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M35.25 37.3008C36.7426 37.3008 37.957 36.0864 37.957 34.5938V30H32.4609V34.5938C32.4609 36.0611 33.7382 37.3008 35.25 37.3008Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M30.9481 53.0836C30.975 53.0773 31.0021 53.0718 31.0294 53.0674C31.0562 53.0628 33.9128 52.5678 37.0796 50.8703C40.6255 48.9694 44.7757 45.4283 45.6605 39.0932C44.9109 39.5177 44.0463 39.7617 43.125 39.7617C41.5489 39.7617 40.1362 39.0517 39.1875 37.9355C38.2388 39.0517 36.8261 39.7617 35.25 39.7617C33.8711 39.7617 32.5631 39.2285 31.5671 38.2603C30.5566 37.2781 30 35.9759 30 34.5938V53.3071L30.9481 53.0836Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M63.4122 50.0045C67.0926 52.403 70.8538 53.0614 70.8914 53.0678C70.9148 53.0718 70.9398 53.0767 70.9629 53.082L71.9998 53.3203V34.5938C71.9998 35.9759 71.4433 37.2781 70.4327 38.2603C69.4366 39.2285 68.1287 39.7617 66.7498 39.7617C65.1737 39.7617 63.761 39.0517 62.8123 37.9355C61.8636 39.0517 60.451 39.7617 58.8748 39.7617C57.9515 39.7617 57.0852 39.5166 56.3345 39.0903C56.9568 43.6795 59.3293 47.3436 63.4122 50.0045Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M30 66.668V66.75V70.7695C30 71.4491 30.5509 72 31.2305 72H70.7695C71.4491 72 72 71.4491 72 70.7695V66.75V66.668H30Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M71.9997 55.8454L70.4442 55.488C70.0026 55.4098 66.4754 54.7328 62.757 52.4971C61.7624 54.745 60.107 58.645 59.7046 64.2071H71.9997V55.8454Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M42.2953 64.2069C41.8916 58.6279 40.2272 54.7208 39.2336 52.4761L39.2385 52.4731C38.9036 52.6744 38.5706 52.8631 38.2423 53.0391C34.8849 54.8387 31.8944 55.4131 31.477 55.4872L30 55.8354V64.2069H42.2953Z",fill:"#444343"})]}),iu=(0,u.ZL)()(e=>({root:{display:"flex",flexDirection:"row",alignItems:"flex-start",justifyContent:"center",alignContent:"flex-start",width:"100%"},listItem:{flexDirection:"row",flexWrap:"wrap",alignItems:"center",justifyContent:"center",flexBasis:"50%"},listItemText:{textAlign:"center",width:"100%"},[e.breakpoints.down("lg")]:{margin:"0 auto",maxWidth:"80%"},[e.breakpoints.up("md")]:{maxWidth:"200px"},icon:{width:60,height:60}}));var ip=e=>{let{classes:i}=iu();return(0,r.jsxs)(e7.Z,{className:i.root,children:[(0,r.jsx)(e2.ZP,{className:i.listItem,disableGutters:!0,children:(0,r.jsx)(K.Z,{title:e.legalStatusParent,enterTouchDelay:0,children:(0,r.jsx)("div",{children:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(e.legalStatusParent){if("Commercial / For profit"===e.legalStatusParent)return(0,r.jsx)(ir,{alt:t,className:i.icon,tabIndex:0});if("Nonprofit"===e.legalStatusParent)return(0,r.jsx)(io,{alt:t,className:i.icon,tabIndex:0})}}(e.legalStatusParent)})})}),!1,e.isNefaGrantRecipient&&(0,r.jsx)(e2.ZP,{className:i.listItem,disableGutters:!0,children:(0,r.jsx)(K.Z,{title:"NEFA Grant Recipient",enterTouchDelay:0,children:(0,r.jsx)("div",{children:(0,r.jsx)(id,{alt:"NEFA Grant Recipient",className:i.icon,tabIndex:0})})})}),e.hasVenues&&(0,r.jsx)(e2.ZP,{className:i.listItem,disableGutters:!0,children:(0,r.jsx)(K.Z,{title:"Venue",enterTouchDelay:0,children:(0,r.jsx)("div",{children:(0,r.jsx)(ic,{alt:"Venue",className:i.icon,tabIndex:0})})})})]})};let im=(0,u.ZL)()(e=>({date:{marginTop:e.spacing(1),padding:e.spacing(2),color:eI.$R,fontFamily:'"Montserrat", sans-serif',fontSize:14,lineHeight:"18px",textAlign:"center"},two:{gridColumn:"3/4",display:"flex",justifyContent:"flex-end"},container:{[e.breakpoints.down(400)]:{padding:"0 !important"}},spacer:{[e.breakpoints.down("xl")]:{padding:"1px !important"}},tall:{gridRow:"1/3"}}));var ih=e=>{var i,t;let{profileEntity:n}=e,{fieldProfileImage:l}=n,{classes:s,cx:a}=im(),o=n.fieldLastUpdated?is()(n.fieldLastUpdated).format("M/D/YYYY"):null,d=n.fieldLegalStatus||null,u=()=>!!n.specialDesignations.includes("nefa_grant_recipient");return(0,r.jsxs)(c.ZP,{container:!0,spacing:4,alignItems:"stretch",justifyContent:"center",children:[(0,r.jsxs)(c.ZP,{item:!0,md:4,lg:3,className:s.container,children:[(0,r.jsx)(b,{profileImage:l}),o&&(0,r.jsxs)("div",{className:s.date,children:["Updated ",o]}),(0,r.jsx)("div",{className:a(s.two,2<[!!d,u(),(n.fieldVenues||[]).filter(e=>!!e.fieldVenueType&&!!e.fieldVenueName).length>0].filter(e=>!!e).length?s.tall:""),children:(0,r.jsx)(ip,{legalStatusParent:null===(t=n.fieldLegalStatus)||void 0===t?void 0:null===(i=t.parent)||void 0===i?void 0:i.name,profileType:n.fieldProfileType,isNefaGrantRecipient:u(),hasVenues:(n.fieldVenues||[]).filter(e=>!!e.fieldVenueType&&!!e.fieldVenueName).length>0})})]}),(0,r.jsx)(c.ZP,{item:!0,md:10,lg:7,children:(0,r.jsx)(it,{profileEntity:n})})]})},ig=t(36795),ix=t(58788),ij=t(28907);let iv=d.createContext({selectedSection:null,setSelectedSection:()=>{}}),iZ=d.createContext(new Map),ib=(0,u.ZL)()(e=>({root:{marginTop:40,height:90,borderRadius:76,backgroundColor:"white",justifyContent:"center",boxShadow:"0px 10px 20px rgba(0, 0, 0, 0.15)"},tabsRoot:{width:"90%",margin:"0 auto",[e.breakpoints.up("lg")]:{"& .MuiTabs-flexContainer":{justifyContent:"center"}},[e.breakpoints.down("xl")]:{"& .MuiTabs-flexContainer":{justifyContent:"unset !important"}},"& .MuiTab-root":{textTransform:"none",opacity:"1",fontSize:"16px",padding:"6px 18px",minWidth:0,whiteSpace:"nowrap",maxWidth:"none",fontWeight:"600",lineHeight:"20px",margin:"0px 12px",color:"black"},"& .Mui-selected":{fontSize:"21px",lineHeight:"21px",margin:"0px 10px",color:"white"}},tabsIndicator:{height:5,display:"flex",justifyContent:"center",backgroundColor:"transparent","& > span":{maxWidth:120,width:"100%",backgroundColor:eI.EQ}},positionSticky:{backgroundColor:eI.nS,color:"white","& .MuiTab-root":{color:"white !important"}}}));var iC=e=>{let{sectionSpecs:i}=e,{classes:t}=ib(),{selectedSection:n,setSelectedSection:l}=(0,d.useContext)(iv),s=(0,d.useCallback)((e,i)=>{i&&l(i)},[l]),a=(0,d.useMemo)(()=>{let e=[];for(let[t,n]of i){let{linkTitle:i}=n;e.push((0,r.jsx)(ij.Z,{label:i,value:t,wrapped:!0},t))}return e},[i]);return(0,r.jsx)(ig.Z,{position:"sticky",className:"".concat(t.root," ").concat(null!==n?t.positionSticky:""),elevation:0,children:(0,r.jsx)(ix.Z,{value:n||!1,onChange:s,classes:{root:t.tabsRoot,indicator:t.tabsIndicator},scrollButtons:"auto",variant:"scrollable",TabIndicatorProps:{children:(0,r.jsx)("span",{})},children:a})})};let iy=(0,u.ZL)()(()=>({listItem:{flexDirection:"column",alignItems:"flex-start",paddingLeft:0}}));var iw=e=>{let{linkCollection:i}=e,{classes:t}=iy();return(null==i?void 0:i.length)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.Z,{children:"Additional Content:"}),(0,r.jsx)(e7.Z,{children:null==i?void 0:i.map(e=>(0,r.jsxs)(e2.ZP,{className:t.listItem,children:[(0,r.jsx)(y.Z,{children:(0,r.jsx)(e_.Z,{href:e.url,target:"_blank",rel:"noopener noreferrer",children:e.title})}),(0,r.jsx)(w.Z,{component:"p",children:e.caption})]},e.id))})]}):null},iP=t(94326),iL=e=>{let{urlCollection:i}=e;return(0,r.jsx)(c.ZP,{container:!0,direction:"column",children:(0,r.jsx)(c.ZP,{container:!0,direction:"column",style:{marginBottom:10},children:(null==i?void 0:i.length)>0&&(0,r.jsx)(iP.D4,{children:(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(iw,{linkCollection:i})})})})})},iN=t(76225),ik=t(12271);let i_=(0,u.ZL)()(e=>({itemWrapper:{marginBottom:e.spacing(1)},contactSectionWrapper:{marginBottom:e.spacing(3)},name:{marginBottom:e.spacing(2)},anchor:{color:eI.nS},icon:{color:eI.$R},heading:{paddingTop:30}}));var iS=e=>{var i;let{classes:t}=i_(),n=(0,ik.Z)().classes,l=e.contactInfo,s=e=>{let i="http://";return"https://"!==e.substring(0,8)&&e.substring(0,7)!==i?"".concat(i).concat(e):e},a=[l.fieldEmail,l.fieldFacebookLink,l.fieldInstagramLink,l.fieldTwitterUsername,l.fieldWebsiteLink,e.urlCollection],o=[l.fieldFacebookLink,l.fieldTwitterUsername,l.fieldInstagramLink],{addressLine1:d,addressLine2:u,locality:p,administrativeArea:m,postalCode:h}=e.address||{},f=(0,r.jsxs)("div",{children:[d&&(0,r.jsx)("div",{children:d}),u&&(0,r.jsx)("div",{children:u}),p.trim(),",  ",m," ",h]});return(0,O.Fl)(a)?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:t.contactSectionWrapper,children:[(0,r.jsxs)("div",{className:n.interfaceHeading,children:[(0,r.jsxs)(y.Z,{className:n.headingH3,component:"span",children:[e.contactInfo.fieldFirstName," ",e.contactInfo.fieldLastName]}),e.contactInfo.fieldGenderPronouns&&(0,r.jsxs)(y.Z,{className:n.headingH3,component:"span",children:[" ","(",e.contactInfo.fieldGenderPronouns,")"]})]}),e.contactInfo.fieldJobTitle&&(0,r.jsxs)("div",{className:t.itemWrapper,children:[(0,r.jsxs)(y.Z,{component:"span",children:["Job Title:"," "]}),(0,r.jsx)(w.Z,{component:"span",children:e.contactInfo.fieldJobTitle})]}),e.contactInfo.fieldPhone&&(0,r.jsxs)("div",{className:t.itemWrapper,children:[(0,r.jsxs)(y.Z,{component:"span",children:["Phone:"," "]}),(0,r.jsx)(w.Z,{component:"span",children:e.contactInfo.fieldPhone})]}),e.contactInfo.fieldTtyPhone&&(0,r.jsxs)("div",{className:t.itemWrapper,children:[(0,r.jsxs)(y.Z,{component:"span",children:["TTY Phone:"," "]}),(0,r.jsx)(w.Z,{component:"span",children:e.contactInfo.fieldTtyPhone})]}),e.contactInfo.fieldFax&&(0,r.jsxs)("div",{className:t.itemWrapper,children:[(0,r.jsxs)(y.Z,{component:"span",children:["Fax:"," "]}),(0,r.jsx)(w.Z,{component:"span",children:e.contactInfo.fieldFax})]}),!!f&&(0,r.jsxs)("div",{className:t.itemWrapper,children:[(0,r.jsxs)(y.Z,{component:"span",children:["Address:"," "]}),(0,r.jsx)(w.Z,{component:"span",children:f})]}),l.fieldWebsiteLink&&(0,r.jsx)("div",{className:t.itemWrapper,children:(0,r.jsx)(y.Z,{component:"span",children:(0,r.jsx)(e_.Z,{component:"a",target:"_blank",href:l.fieldWebsiteLink,className:t.anchor,children:"Website"})})})]}),!(0,O.Fl)(o)&&(0,r.jsx)(iP.D4,{children:(0,r.jsxs)(c.ZP,{container:!0,spacing:1,alignItems:"center",children:[(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(y.Z,{children:"Social Media:"})}),l.fieldFacebookLink&&(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)("a",{target:"_blank",rel:"noreferrer",href:s(l.fieldFacebookLink),children:(0,iN.pj)()})}),l.fieldTwitterUsername&&(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)("a",{target:"_blank",rel:"noreferrer",href:"https://"===(i=l.fieldTwitterUsername).substring(0,8)||"http://"===i.substring(0,7)?i:"https://www.twitter.com/".concat(i),children:(0,iN.lH)()})}),l.fieldInstagramLink&&(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)("a",{target:"_blank",rel:"noreferrer",href:s(l.fieldInstagramLink),children:(0,iN.tw)()})})]})})]})},iA=t(93967),iM=t.n(iA),iI=t(80685);let iT=(0,u.ZL)()(e=>({root:{paddingBottom:60,[e.breakpoints.down("lg")]:{paddingBottom:30}}}));var iF=e=>{let{className:i,children:t,...n}=e,{classes:l}=iT();return(0,r.jsx)(iI.Z,{color:"primary",...n,className:iM()(i,l.root),children:t})};let iV=(0,u.ZL)()(()=>({subTitle:{color:eI.nS,fontSize:"1.4rem",fontWeight:"bold",lineHeight:"2.2rem"},sectionWrapper:{paddingTop:60,paddingBottom:60},item:{width:"100%"}}));var iW=e=>{let{id:i,title:t=null,subTitle:n=null,children:l}=e,{classes:s}=iV(),a=function(e){let i=(0,d.useContext)(iZ);return i.has(e)?i.get(e):null}(i);return(0,r.jsx)("div",{ref:a,children:(0,r.jsxs)(c.ZP,{container:!0,className:s.sectionWrapper,children:[(0,r.jsx)(c.ZP,{item:!0,md:1}),(0,r.jsxs)(c.ZP,{item:!0,md:11,children:[t&&(0,r.jsx)(iF,{children:t}),n&&(0,r.jsx)("h3",{children:n})]}),(0,r.jsx)(c.ZP,{item:!0,lg:1}),(0,r.jsx)(c.ZP,{item:!0,lg:11,className:s.item,children:l})]})})};let iB=e=>(0,r.jsxs)(ia.Z,{width:"20",height:"22",viewBox:"0 0 20 22",...e,children:[(0,r.jsx)("path",{d:"M6.53296 16.0718H13.2956V18.4095H6.53296V16.0718Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M9.91436 21.3734C11.0222 21.3734 11.965 20.6561 12.3045 19.6619H7.52417C7.86372 20.6561 8.80653 21.3734 9.91436 21.3734Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M9.87044 3.75725C6.55523 3.78059 3.78791 6.55658 3.78833 9.88403C3.78858 11.7287 4.60828 13.4572 6.0373 14.6265C6.10922 14.6854 6.17434 14.7501 6.23216 14.8195H13.5859C13.6353 14.762 13.69 14.7085 13.7501 14.6602C15.2058 13.49 16.0406 11.7489 16.0406 9.88319C16.0406 6.47397 13.2667 3.73208 9.87044 3.75725ZM12.7195 9.30294L10.2983 11.1815C9.88772 11.5001 9.28831 11.2067 9.28831 10.6867V10.0866L7.87712 11.1815C7.60428 11.3932 7.21083 11.3442 6.99856 11.0706C6.78653 10.7974 6.83621 10.404 7.10943 10.192L9.53064 8.3135C9.94124 7.9949 10.5407 8.28825 10.5407 8.80822V9.40839L11.9518 8.3135C12.2251 8.10152 12.6184 8.15116 12.8304 8.42438C13.0424 8.6976 12.9928 9.09096 12.7195 9.30294Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M9.9145 0C9.56869 0 9.28833 0.280359 9.28833 0.626174V1.92027C9.28833 2.26608 9.56869 2.54644 9.9145 2.54644C10.2603 2.54644 10.5407 2.26608 10.5407 1.92027V0.626174C10.5407 0.280359 10.2603 0 9.9145 0Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M3.7894 2.90387C3.5449 2.65932 3.14841 2.65932 2.90387 2.90387C2.65932 3.14841 2.65932 3.54486 2.90387 3.7894L3.81891 4.70445C4.06341 4.94899 4.45991 4.94903 4.70445 4.70445C4.94899 4.45991 4.94899 4.06346 4.70445 3.81891L3.7894 2.90387Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M2.54644 9.91438C2.54644 9.56857 2.26608 9.28821 1.92027 9.28821H0.626174C0.280359 9.28821 0 9.56857 0 9.91438C0 10.2602 0.280359 10.5406 0.626174 10.5406H1.92027C2.26608 10.5406 2.54644 10.2602 2.54644 9.91438Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M19.2027 9.28821H17.9086C17.5628 9.28821 17.2825 9.56857 17.2825 9.91438C17.2825 10.2602 17.5628 10.5406 17.9086 10.5406H19.2027C19.5486 10.5406 19.8289 10.2602 19.8289 9.91438C19.8289 9.56857 19.5486 9.28821 19.2027 9.28821Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M18.7354 12.8904L17.5398 12.3951C17.2203 12.2628 16.854 12.4145 16.7217 12.734C16.5893 13.0535 16.741 13.4198 17.0605 13.5522L18.2561 14.0474C18.5768 14.1803 18.9424 14.0268 19.0743 13.7085C19.2066 13.389 19.0549 13.0227 18.7354 12.8904Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M6.93827 1.0936C6.80589 0.774123 6.43962 0.622422 6.12011 0.754712C5.80059 0.887043 5.64889 1.25335 5.78122 1.57287L6.27644 2.76845C6.40861 3.08746 6.77463 3.23987 7.0946 3.10733C7.41412 2.975 7.56582 2.60869 7.43349 2.28917L6.93827 1.0936Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M2.76835 6.27671L1.57277 5.78149C1.25326 5.64911 0.886986 5.80086 0.754613 6.12037C0.622281 6.43989 0.773982 6.80616 1.0935 6.93853L2.28907 7.43375C2.6098 7.56662 2.97536 7.41313 3.10723 7.09486C3.23956 6.77535 3.08786 6.40904 2.76835 6.27671Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M16.9249 2.90387C16.6804 2.65932 16.2839 2.65932 16.0394 2.90387L15.1243 3.81891C14.8798 4.06346 14.8798 4.45991 15.1243 4.70445C15.3688 4.94899 15.7653 4.94903 16.0099 4.70445L16.9249 3.7894C17.1694 3.54482 17.1694 3.14837 16.9249 2.90387Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M13.7084 0.754717C13.3889 0.622428 13.0226 0.774087 12.8902 1.0936L12.395 2.28918C12.2627 2.60869 12.4144 2.97496 12.7339 3.10734C13.0546 3.24017 13.4202 3.08671 13.552 2.76845L14.0473 1.57288C14.1796 1.25332 14.0279 0.887049 13.7084 0.754717Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M2.28907 12.3952L1.0935 12.8904C0.773982 13.0227 0.622281 13.389 0.754613 13.7085C0.886735 14.0275 1.2528 14.18 1.57277 14.0474L2.76835 13.5522C3.08786 13.4199 3.23956 13.0536 3.10723 12.734C2.97486 12.4145 2.60863 12.2627 2.28907 12.3952Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M16.7216 7.09486C16.8538 7.41384 17.2198 7.56633 17.5398 7.43375L18.7354 6.93853C19.0549 6.8062 19.2066 6.43989 19.0742 6.12037C18.9419 5.80086 18.5756 5.64911 18.2561 5.78149L17.0605 6.27671C16.741 6.40904 16.5893 6.77535 16.7216 7.09486Z",fill:"#444343"})]}),iH=e=>(0,r.jsx)(ia.Z,{width:"15",height:"19",viewBox:"0 0 15 19",...e,children:(0,r.jsx)("path",{d:"M14.7003 16.9769L13.7145 4.65507C13.6921 4.37455 13.458 4.15853 13.1767 4.15853H11.1987V3.79883C11.1987 1.71666 9.50466 0.022583 7.42235 0.022583C5.34018 0.022583 3.6461 1.71666 3.6461 3.79883V4.15853H1.66795C1.38672 4.15853 1.15272 4.37455 1.13032 4.65507L0.144525 16.9769C0.108569 17.4256 0.263237 17.8729 0.568578 18.2037C0.874062 18.5345 1.30753 18.7243 1.75784 18.7243H13.087C13.5373 18.7243 13.9706 18.5345 14.2761 18.2037C14.5816 17.8729 14.7361 17.4258 14.7003 16.9769ZM4.72507 3.79883C4.72507 2.3115 5.93502 1.10155 7.42235 1.10155C8.90967 1.10155 10.1198 2.3115 10.1198 3.79883V4.15853H4.72507V3.79883ZM11.7382 15.6673H3.10662C2.8087 15.6673 2.56714 15.4258 2.56714 15.1278C2.56714 14.8299 2.8087 14.5884 3.10662 14.5884H11.7382C12.0361 14.5884 12.2777 14.8299 12.2777 15.1278C12.2777 15.4258 12.0361 15.6673 11.7382 15.6673Z",fill:"#444343"})}),iD=e=>(0,r.jsxs)(ia.Z,{...e,width:"22",height:"21",viewBox:"0 0 22 21",children:[(0,r.jsx)("path",{d:"M6.15174 13.9581C5.85037 13.6447 5.32264 13.6058 4.97819 13.8671L4.96914 13.8613L4.18962 14.6402C4.0187 14.8105 3.92499 15.0377 3.92499 15.2792C3.91471 15.7657 4.34334 16.193 4.82964 16.1832C5.11275 16.1878 5.36487 16.0464 5.54952 15.8384L6.15174 15.2367C6.27793 15.1106 6.36259 14.9536 6.39774 14.7828C6.46083 14.4874 6.36754 14.1706 6.15174 13.9581Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M3.98334 11.31C3.63048 10.9574 3.05712 10.9577 2.70384 11.31C2.62173 11.3925 2.11546 11.898 2.02175 11.9921C1.20799 12.8746 2.4171 14.0833 3.30072 13.2707C3.30072 13.2707 3.89272 12.6791 3.98334 12.5886C4.33642 12.2363 4.33642 11.6628 3.98334 11.31Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M8.0012 16.0198C7.75946 16.0198 7.5321 16.114 7.36118 16.2848L6.67857 16.9669C6.67537 16.9701 6.67218 16.9732 6.66898 16.977C6.32693 17.3147 6.33204 17.9127 6.67857 18.2454C7.03159 18.5976 7.60558 18.5976 7.95807 18.2454L8.64122 17.5628C9.20701 16.9988 8.80032 16.0167 8.0012 16.0198Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M14.0725 5.98578C12.6758 6.86581 10.8031 6.69874 9.58753 5.48404L8.00505 3.90328L9.97995 1.92986C7.85879 -0.448733 4.12889 -0.599626 1.87104 1.67186C-0.399055 3.92483 -0.253533 7.64752 2.12183 9.76774C3.85169 8.80162 5.97893 10.151 5.83895 12.1195C6.98438 12.2432 7.9541 13.2806 8.0066 14.4254C9.08371 14.4024 10.1536 15.2085 10.416 16.2717C11.3127 16.0315 12.3177 16.329 12.9319 17.0389L12.95 17.0176C13.8403 17.5518 14.7822 16.4547 14.1107 15.6556L14.1123 15.6534C14.0985 15.6401 10.5166 12.0609 10.5166 12.0609C10.7981 11.7797 11.3646 11.2136 11.646 10.9324L15.2007 14.4845C16.0838 15.2975 17.2936 14.0885 16.4797 13.2059L12.9255 9.65387C13.2069 9.37263 13.7734 8.80656 14.0548 8.52537C14.8537 9.32362 16.7919 11.2604 17.6095 12.0774C17.9462 12.4278 18.5524 12.4277 18.889 12.0774C19.2415 11.7247 19.2415 11.1511 18.889 10.7989L14.0725 5.98578Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M20.3476 1.67178C18.1832 -0.490528 14.6615 -0.490528 12.497 1.67178C12.0762 2.09259 10.6619 3.50612 10.2644 3.90325L10.717 4.35551C11.504 5.1419 12.784 5.1419 13.5705 4.35551L14.1354 3.79099C14.4358 4.09442 19.9493 9.59447 20.1043 9.76021C22.474 7.63919 22.6144 3.92182 20.3476 1.67178Z",fill:"#444343"}),(0,r.jsx)("path",{d:"M11.6925 18.0503C11.3395 17.698 10.7659 17.6976 10.413 18.0503L9.73043 18.7324C9.37917 19.0688 9.37932 19.6744 9.73043 20.0109C10.0676 20.3611 10.6729 20.3609 11.0099 20.0109L11.6925 19.3288C12.0431 18.9928 12.0431 18.3855 11.6925 18.0503Z",fill:"#444343"})]}),iR=e=>(0,r.jsx)(ia.Z,{width:"18",height:"20",viewBox:"0 0 18 20",...e,children:(0,r.jsx)("path",{d:"M6 9H4V11H6V9ZM10 9H8V11H10V9ZM14 9H12V11H14V9ZM16 2H15V0H13V2H5V0H3V2H2C0.89 2 0.00999999 2.9 0.00999999 4L0 18C0 19.1 0.89 20 2 20H16C17.1 20 18 19.1 18 18V4C18 2.9 17.1 2 16 2ZM16 18H2V7H16V18Z",fill:"#444343"})}),iE=(0,u.ZL)()(e=>({itemWrapper:{marginBottom:e.spacing(3),display:"flex"},icon:{width:30,"& svg":{width:16}},interfaceDark:{marginBottom:14},contactSectionWrapper:{marginBottom:e.spacing(3)}}));var iO=e=>{var i,t,n,l;let{profileEntity:s}=e,{classes:a}=iE(),o=[s.fieldLegalStatus,s.fieldOrganizationInformation.fieldParentOrganization,s.fieldYearFounded,s.fieldInstitutionBusinessType];return(0,O.Fl)(o)?null:(0,r.jsxs)(r.Fragment,{children:[s.fieldInstitutionBusinessType&&(0,r.jsxs)("div",{className:a.itemWrapper,children:[(0,r.jsx)("div",{className:a.icon,children:(0,r.jsx)(iB,{})}),(0,r.jsxs)("div",{children:[(0,r.jsx)(y.Z,{className:a.interfaceDark,children:"Institution/Business Type:"}),(0,r.jsx)(w.Z,{children:s.fieldInstitutionBusinessType})]})]}),s.fieldLegalStatus&&(0,r.jsxs)("div",{className:a.itemWrapper,children:[(0,r.jsx)("div",{className:a.icon,children:(()=>{var e,i,t,n;if(null===(i=s.fieldLegalStatus)||void 0===i?void 0:null===(e=i.parent)||void 0===e?void 0:e.name){if((null===(n=s.fieldLegalStatus)||void 0===n?void 0:null===(t=n.parent)||void 0===t?void 0:t.name)==="Commercial / For profit")return(0,r.jsx)(iH,{className:a.icon});if("Nonprofit"===s.fieldLegalStatus.parent.name)return(0,r.jsx)(iD,{className:a.icon})}return!1})()}),(0,r.jsxs)("div",{children:[(0,r.jsxs)(y.Z,{className:a.interfaceDark,children:["Legal Status:"," "]}),(0,r.jsx)(w.Z,{children:"".concat((null===(i=s.fieldLegalStatus.parent)||void 0===i?void 0:i.name)?(null===(t=s.fieldLegalStatus.parent)||void 0===t?void 0:t.name)+" - ":"","\n                ").concat(s.fieldLegalStatus.name,"\n              ")})]})]}),!!(null===(n=s.fieldOrganizationInformation)||void 0===n?void 0:n.fieldParentOrganization)&&(0,r.jsxs)("div",{className:a.itemWrapper,children:[(0,r.jsx)("div",{className:a.icon}),(0,r.jsxs)("div",{children:[(0,r.jsxs)(y.Z,{className:a.interfaceDark,children:["Parent Organization:"," "]}),(0,r.jsx)(w.Z,{children:null===(l=s.fieldOrganizationInformation)||void 0===l?void 0:l.fieldParentOrganization})]})]}),s.fieldYearFounded&&(0,r.jsxs)("div",{className:a.itemWrapper,children:[(0,r.jsx)("div",{className:a.icon,children:(0,r.jsx)(iR,{})}),(0,r.jsxs)("div",{children:[(0,r.jsxs)(y.Z,{className:a.interfaceDark,children:["Year Founded:"," "]}),(0,r.jsx)(w.Z,{children:s.fieldYearFounded.substr(0,4)})]})]})]})},iq=t(47924);let iU=(0,u.ZL)()(e=>({inlineHeading:{display:"inline-block"},sectionWrapper:{marginBottom:e.spacing(3)},additionalList:{[e.breakpoints.down("sm")]:{columnCount:1}}}));var iz=e=>{var i;let{profileEntity:t}=e,{classes:n}=iU(),l=[t.fieldPrimaryDisciplineame,t.fieldAdditionalDisciplines];return(0,O.Fl)(l)?null:(0,r.jsxs)(c.ZP,{container:!0,alignItems:"baseline",spacing:2,children:[t.fieldPrimaryDisciplineName&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,className:n.sectionWrapper,children:[(0,r.jsx)(y.Z,{className:n.inlineHeading,children:"Primary Discipline:"}),(0,r.jsxs)(w.Z,{component:"span",children:[" ",t.fieldPrimaryDisciplineName]})]}),(null===(i=t.fieldAdditionalDisciplines)||void 0===i?void 0:i.length)>0&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,children:[(0,r.jsx)(y.Z,{children:"Additional Disciplines:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:t.fieldAdditionalDisciplines,listClass:n.additionalList})})]})]})};let iY=(0,u.ZL)()(e=>({itemWrapper:{marginBottom:e.spacing(1)},capitalize:{textTransform:"capitalize"}}));var iG=e=>{let{activitiesAndServices:i,seasons:t=null,eventsPerYear:n=null}=e,{classes:l}=iY(),s=t.join(", "),a=i.map(e=>e.hasEvents);return(0,O.Fl)(a)?null:(0,r.jsxs)(c.ZP,{item:!0,xs:12,md:6,children:[!!s&&(0,r.jsxs)("div",{className:l.itemWrapper,children:[(0,r.jsxs)(y.Z,{component:"span",children:["Seasons Active:"," "]}),(0,r.jsx)(w.Z,{component:"span",className:l.capitalize,children:s})]}),n&&(0,r.jsxs)("div",{className:l.itemWrapper,children:[(0,r.jsxs)(y.Z,{component:"span",children:["Events Per Year:"," "]}),(0,r.jsx)(w.Z,{component:"span",children:n})]})]})};let iQ=(0,u.ZL)()(e=>({activitiesAndServicesList:{[e.breakpoints.down("sm")]:{columnCount:1}}}));var iK=e=>{var i;let{profileEntity:t}=e,{classes:n}=iQ(),l=[t.fieldActivitiesAndServices,t.fieldSeasonsActive,t.fieldEventsPerYear,t.fieldLanguagesAvailable];return(0,O.Fl)(l)?null:(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(c.ZP,{container:!0,alignItems:"baseline",spacing:2,children:[(null===(i=t.fieldActivitiesAndServices)||void 0===i?void 0:i.length)>0&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,children:[(0,r.jsx)(y.Z,{children:"Activities and Services:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:t.fieldActivitiesAndServices,listClass:n.activitiesAndServicesList})})]}),(0,r.jsx)(iG,{activitiesAndServices:t.fieldActivitiesAndServices,seasons:t.fieldSeasonsActive,eventsPerYear:t.fieldEventsPerYear})]})})};let i$=(0,u.ZL)()(e=>({singleColumnList:{[e.breakpoints.down("md")]:{columnCount:1}}}));var iJ=e=>{var i,t,n,l;let{profileEntity:s,fieldOptions:a}=e,{classes:o}=i$(),d=a.profileFields,u=(0,iq.NA)(s.fieldGeographicReach,d.field_geographic_reach);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(c.ZP,{container:!0,alignItems:"baseline",spacing:2,children:[(null===(i=s.fieldPopulationsServed)||void 0===i?void 0:i.length)>0&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,md:(null===(t=s.fieldPopulationsServed)||void 0===t?void 0:t.length)>10?12:6,children:[(0,r.jsx)(y.Z,{children:"Populations Engaged:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:s.fieldPopulationsServed,listClass:o.singleColumnList})})]}),(null===(n=s.fieldLanguagesAvailable)||void 0===n?void 0:n.length)>0&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,md:(null===(l=s.fieldLanguagesAvailable)||void 0===l?void 0:l.length)>10?12:6,children:[(0,r.jsx)(y.Z,{children:"Languages Available:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:s.fieldLanguagesAvailable,listClass:o.singleColumnList})})]}),(null==u?void 0:u.length)>0&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,md:6,children:[(0,r.jsx)(y.Z,{children:"Geographic Reach:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:u})})]})]})})},iX=t(47311),i0=t(69111);let i1=(0,u.ZL)()(e=>({paragraph:{marginTop:e.spacing(2)}}));var i4=e=>{let{profileEntity:i,fieldOptions:t}=e,{classes:n}=i1(),l=t.profileFields,s=(0,iq.NA)(i.fieldAccessibilityOfServices,l.field_accessibility_of_services);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(c.ZP,{container:!0,alignItems:"baseline",spacing:2,children:((null==s?void 0:s.length)>0||i.fieldAccessibilityComments)&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,children:[(0,r.jsx)(y.Z,{children:"Accessibility of Services:"}),(null==s?void 0:s.length)>0&&(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:s})}),i.fieldAccessibilityComments&&(0,r.jsx)(w.Z,{className:n.paragraph,children:(0,iX.ZP)((0,i0.encode)(i.fieldAccessibilityComments).replace(/\n/g,"<p></p>"))})]})})})},i3=t(49458),i5=t(94810),i2=t(95461),i6=t(76346),i7=t(61099),i8=t(40375),i9=e=>{let{subSectionComponents:i,className:t=""}=e;return(0,r.jsx)(r.Fragment,{children:i.map(e=>(0,r.jsxs)(i6.Z,{value:e.id,className:t,children:[(0,r.jsx)(i7.Z,{style:i8.Z,children:e.label}),e.component]},e.key))})},te=t(45670),ti=e=>{let{subSectionComponents:i}=e,{classes:t}=(0,u.ZL)()(e=>({mobileComponent:{[e.breakpoints.down(400)]:{display:"flex !important",flexDirection:"column"},[e.breakpoints.up(400)]:{display:"none"}},subSection:{width:"100%",paddingTop:e.spacing(3),paddingBottom:e.spacing(3),"&:not(:last-child)":{position:"relative","&::after":{content:'""',borderBottom:"1px solid ".concat(eI.iT),position:"absolute",bottom:0,left:0,boxSizing:"border-box",marginLeft:15,width:"calc(100% - 30px)"}}},heading:{marginBottom:e.spacing(2)}}))();return(0,r.jsx)("div",{className:t.mobileComponent,children:i.map(e=>(0,r.jsxs)("div",{className:t.subSection,children:[(0,r.jsx)(i7.Z,{className:t.heading,children:e.label}),e.component]},e.key))})};let tt=(0,i3.Z)({palette:{primary:{main:eI.A2}},components:{MuiTab:{styleOverrides:{wrapped:{alignItems:"flex-start"}}}}}),tn=(0,u.ZL)()(e=>({tabs:{borderRight:"1px solid ".concat(e.palette.divider),width:275,minWidth:275,maxWidth:275,[e.breakpoints.down(400)]:{display:"none"},[e.breakpoints.down("md")]:{width:140,minWidth:140,maxWidth:140}},tabWrapper:{alignItems:"flex-start"},tabPanel:{width:"100%"},tab:{textTransform:"none",fontSize:"1rem",color:eI.$R,fontWeight:300,textAlign:"left",fontFamily:e.typography.fontFamily,padding:"6px 0",[e.breakpoints.down("md")]:{fontSize:14}},selected:{color:eI.nS,fontWeight:600}}));var tl=e=>{var i;let{profileEntity:t,fieldOptions:n,subSectionComponents:l,label:s,id:a}=e,{classes:o}=tn(),[c,u]=d.useState(null===(i=l[0])||void 0===i?void 0:i.id);return(0,r.jsx)(i5.Z,{injectFirst:!0,children:(0,r.jsxs)(i2.Z,{theme:tt,children:[(0,r.jsxs)(te.ZP,{value:c,children:[(0,r.jsx)(ix.Z,{orientation:"vertical",variant:"standard",value:c,onChange:(e,i)=>{u(i)},"aria-label":s,className:o.tabs,indicatorColor:"primary",children:l.map(e=>{var i;return"activities-and-services"===e.id&&0===t.fieldActivitiesAndServices.length?null:(0,r.jsx)(ij.Z,{value:e.id,label:e.label,wrapped:!0,classes:{root:o.tab,selected:o.selected},...(i=e.id,{id:"vertical-tab-".concat(i),"aria-controls":"vertical-tabpanel-".concat(i)})},e.key)})}),(0,r.jsx)(i9,{profileEntity:t,fieldOptions:n,subSectionComponents:l,activeTab:c,id:a,className:o.tabPanel})]}),(0,r.jsx)(ti,{profileEntity:t,fieldOptions:n,subSectionComponents:l,id:a})]})})};let ts=(0,u.ZL)()(e=>({root:{flexGrow:1,backgroundColor:e.palette.background.paper,display:"flex","& > div":{[e.breakpoints.down(400)]:{display:"none",width:"100%"}},"& .MuiButtonBase-root.Mui-selected":{color:e.palette.primary.main}}}));var ta=e=>{let{id:i,title:t,profileEntity:n,fieldOptions:l,subSections:s}=e,{classes:a}=ts(),o=function(e){let i=[];return e.forEach(e=>{(0,O.Fl)(e.fields)||i.push({component:e.component,label:e.label,id:e.id,key:e.id+"-key"})}),i}(s);return(0,r.jsx)(iW,{id:i,title:t,children:(0,r.jsx)("div",{className:a.root,children:(0,r.jsx)(tl,{profileEntity:n,fieldOptions:l,subSectionComponents:o,label:t,id:i})})})},tr=e=>{let{profileEntity:i}=e,t=i.fieldProfessionalAssociations,n=(0,iq.ZK)(t);return(null==n?void 0:n.length)?(0,r.jsxs)("div",{children:[(0,r.jsx)(y.Z,{gutterBottom:!0,children:"Professional Associations:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:n})})]}):null},to=e=>{let{profileEntity:i}=e,t=(0,d.useMemo)(()=>i.fieldArtsCommunity.length?i.fieldArtsCommunity.map((e,i)=>({name:(null==e?void 0:e.parent)?"".concat(e.parent," - ").concat(e.name):e.name,id:e.id})):null,[i.fieldArtsCommunity]);return t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.Z,{children:"Designated Arts Community:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:t})})]}):null};let td=new Set(["apnne_or_nep_member","ccx_presenter","nefa_grant_recipient"]);var tc=e=>{let{profileEntity:i,fieldOptions:t}=e,n=new Set(i.specialDesignations),l=t.specialDesignationsOptions,s=[];return(l.forEach(e=>{n.has(e.bundle)&&td.has(e.bundle)&&s.push({id:e.bundle,name:e.label})}),null==s?void 0:s.length)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.Z,{children:"Special Designations:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:s})})]}):null},tu=e=>{let{profileEntity:i,fieldOptions:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tc,{profileEntity:i,fieldOptions:t}),(0,r.jsx)(to,{profileEntity:i})]})},tp=e=>{let{profileEntity:i}=e,t=(0,iq.ZK)(i.fieldAwards);return(null==t?void 0:t.length)?(0,r.jsxs)("div",{children:[(0,r.jsx)(y.Z,{gutterBottom:!0,children:"Awards:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:t})})]}):null},tm=e=>{let{profileEntity:i}=e,t=i.fieldEducation,n=(0,iq.ZK)(t);return(null==n?void 0:n.length)?(0,r.jsxs)("div",{children:[(0,r.jsx)(y.Z,{gutterBottom:!0,children:"Education:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:n})})]}):null};let th=(0,u.ZL)()(e=>({itemWrapper:{marginBottom:e.spacing(1)}}));var tf=e=>{let{tribalStatus:i,tribeName:t}=e,{classes:n}=th();return(0,r.jsxs)(c.ZP,{container:!0,alignItems:"baseline",spacing:2,children:[(0,r.jsxs)(c.ZP,{item:!0,xs:12,className:n.itemWrapper,children:[(0,r.jsxs)(y.Z,{children:["Tribal Status:"," "]}),(0,r.jsx)(w.Z,{component:"span",children:i})]}),(0,r.jsxs)(c.ZP,{item:!0,xs:12,className:n.itemWrapper,children:[(0,r.jsxs)(y.Z,{children:["Tribe Name:"," "]}),(0,r.jsx)(w.Z,{component:"span",children:t})]})]})};let tg=(0,u.ZL)()(e=>({inlineHeading:{display:"inline-block"},subjectAreasList:{[e.breakpoints.down("md")]:{columnCount:1}}}));var tx=e=>{let{profileEntity:i,fieldOptions:t}=e,{classes:n}=tg(),l=t.teachingArtistOptions,s=i.flaggingTeachingArtist,a=(0,iq.ZK)(null==s?void 0:s.certificationsTraining),o=(0,iq.NA)(null==s?void 0:s.teachingSettings,l.field_teaching_settings),d=(0,iq.NA)(null==s?void 0:s.subjectAreas,l.field_subject_areas),u=(0,iq.NA)(null==s?void 0:s.agesServed,l.field_ages_served);return(0,r.jsxs)(c.ZP,{container:!0,alignItems:"baseline",spacing:2,children:[!!(null==o?void 0:o.length)&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,md:6,children:[(0,r.jsx)(y.Z,{children:"Teaching Settings:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:o})})]}),!!(null==u?void 0:u.length)&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,md:6,children:[(0,r.jsx)(y.Z,{children:"Ages Served:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:u})})]}),!!(null==d?void 0:d.length)&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,md:12,children:[(0,r.jsx)(y.Z,{children:"Subject Areas:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{listClass:n.subjectAreasList,list:d})})]}),!!(null==a?void 0:a.length)&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,md:6,children:[(0,r.jsx)(y.Z,{children:"Certifications and Training:"}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:a})})]}),(null==s?void 0:s.feeRange)&&(0,r.jsxs)(c.ZP,{item:!0,xs:12,md:6,children:[(0,r.jsxs)(y.Z,{className:n.inlineHeading,children:["Fee range:"," "]}),(0,r.jsxs)(w.Z,{component:"span",children:[" ",s.feeRange]})]})]})},tj=e=>{let{saaRostersList:i}=e;return(0,r.jsx)(c.ZP,{container:!0,alignItems:"baseline",children:(0,r.jsx)(c.ZP,{item:!0,xs:12,children:(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:i})})})})};let tv=(0,u.ZL)()(e=>({capitalized:{textTransform:"capitalize"},itemWrapper:{marginBottom:e.spacing(1)},sectionWrapper:{marginBottom:e.spacing(3)},inlineHeading:{display:"inline-block"}}));var tZ=e=>{let{profileEntity:i,fieldOptions:t}=e,{classes:n}=tv(),l=t.profileFields,s=t.touringArtistOptions,a=i.flaggingTouringArtist,o=(0,iq.ZK)(null==a?void 0:a.technicalRequirements),d=(0,iq.NA)(null==a?void 0:a.accessibilityNeeded,l.field_accessibility_of_services),u=s.field_state_of_residence.options,p=null==u?void 0:u[a.stateOfResidence],m=a.numberOfPerformers;return(0,r.jsxs)(c.ZP,{container:!0,alignItems:"baseline",spacing:2,children:[(0,r.jsxs)(c.ZP,{item:!0,xs:12,md:6,children:[(null==a?void 0:a.nestEligible)&&(0,r.jsx)("div",{className:n.sectionWrapper,children:(0,r.jsx)(y.Z,{children:"NEST Eligible Artist "})}),(null==o?void 0:o.length)>0&&(0,r.jsxs)("div",{className:n.itemWrapper,children:[(0,r.jsx)(y.Z,{children:"Technical Requirements: "}),(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:o})})]}),((null==d?void 0:d.length)>0||!!(null==a?void 0:a.accessibilityComments))&&(0,r.jsxs)("div",{className:n.itemWrapper,children:[(0,r.jsx)(y.Z,{children:"Accessibility Accommodations Needed:"}),(null==d?void 0:d.length)>0&&(0,r.jsx)(w.Z,{component:"div",children:(0,r.jsx)(iq.ZP,{list:d})}),!!(null==a?void 0:a.accessibilityComments)&&(0,r.jsx)(w.Z,{children:a.accessibilityComments})]})]}),(0,r.jsxs)(c.ZP,{item:!0,xs:12,md:6,children:[(null==a?void 0:a.feeRange)&&(0,r.jsxs)("div",{className:n.itemWrapper,children:[(0,r.jsxs)(y.Z,{className:n.inlineHeading,children:["Fee Range:"," "]}),(0,r.jsxs)(w.Z,{component:"span",children:[" ",a.feeRange]})]}),p&&(0,r.jsxs)("div",{className:n.itemWrapper,children:[(0,r.jsxs)(y.Z,{className:n.inlineHeading,children:["State of Residence:"," "]}),(0,r.jsxs)(w.Z,{component:"span",className:n.capitalized,children:[" ",p]})]}),(null==m?void 0:m.from)&&(0,r.jsxs)("div",{className:n.itemWrapper,children:[(0,r.jsxs)(y.Z,{className:n.inlineHeading,children:["Minimum Number of Performers:"," "]}),(0,r.jsxs)(w.Z,{component:"span",children:[" ",null==m?void 0:m.from]})]}),(null==m?void 0:m.to)&&(0,r.jsxs)("div",{className:n.itemWrapper,children:[(0,r.jsxs)(y.Z,{className:n.inlineHeading,children:["Maximum Number of Performers:"," "]}),(0,r.jsxs)(w.Z,{component:"span",children:[" ",null==m?void 0:m.to]})]})]})]})};let tb=async e=>{if(-1===e.search("youtube")&&-1===e.search("youtu.be"))return await fetch("https://vimeo.com/api/oembed.json?url="+encodeURIComponent(e)).then(e=>e.json()).then(e=>e.thumbnail_url);{let i=e.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/),t=!!i&&11===i[7].length&&i[7];return"https://img.youtube.com/vi/".concat(t,"/hqdefault.jpg")}},tC=(0,u.ZL)()(e=>({avatar:{width:e.spacing(25),height:e.spacing(25),cursor:"pointer",transform:"scale(1)",transition:"all .3s ease","&:hover":{transform:"scale(1.05)",transition:"all .3s ease"}}})),ty=new Map([["media--remote_video",e=>{let{className:i,item:t,onClick:n,media:l,alt:s}=e,[a,o]=(0,d.useState)(t.thumb);return tb(l.url).then(e=>o(e)),(0,r.jsx)(j.Z,{className:i,src:a,alt:s,onClick:n})}],["media--image",e=>{var i;let{className:t,item:n,media:l,onClick:s}=e;return(0,r.jsx)(j.Z,{className:t,src:(null==n?void 0:null===(i=n.thumbnail)||void 0===i?void 0:i.url)||(0,v.Z)(null==n?void 0:n.src),alt:l.alt,onClick:s})}]]);var tw=e=>{let{index:i,item:t,open:n}=e,{classes:l}=tC(),s=(0,ex.useRouter)(),a=(0,d.useCallback)(e=>{("click"===e.nativeEvent.type||32===e.nativeEvent.keyCode)&&n(h(i))},[i,n]),o=ty.get(t.type);return o?(0,r.jsx)(x.Z,{onClick:a,onKeyPress:a,mediaUrl:"".concat(s.asPath,"#section-media#").concat(i),children:(0,r.jsx)(o,{className:l.avatar,item:t,media:t.media,onClick:a,alt:t.credit})}):(console.error("Unsupported media collection item type: ".concat(t.type)),null)};let tP=(0,u.ZL)()(e=>({media:{padding:"0"},gridContainer:{[e.breakpoints.down("md")]:{justifyContent:"center"}},mediaWrapper:{maxWidth:"none"}}));var tL=t(46220),tN=t(18745),tk=t(61730),t_=e=>{let i,{ihwwProfile:t}=e,n=(0,ik.Z)().classes;if(t.startDate){let e="Date: "+is()(t.startDate).format("MM/YYYY");t.endDate&&(e+="-"+is()(t.endDate).format("MM/YYYY")),i=(0,r.jsx)(y.Z,{gutterBottom:!0,children:e})}let l=t.title;return t.pathAlias&&(l=(0,r.jsx)(e_.Z,{href:t.pathAlias,children:t.title})),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.Z,{className:n.headingH3,gutterBottom:!0,children:l}),t.iBTypeName&&(0,r.jsx)(y.Z,{gutterBottom:!0,children:t.iBTypeName}),i,t.description&&(0,r.jsx)(w.Z,{gutterBottom:!0,children:(0,O.Uo)(t.description.replace(/<[^>]+>/g,""))})]})};let tS=(0,u.ZL)()(e=>({gridItem:{position:"relative"},gridItemBorder:{borderBottom:"1px solid ".concat(eI.iT),position:"absolute",bottom:0,left:0,boxSizing:"border-box",marginLeft:40,width:"calc(100% - 80px)"}}));var tA=e=>{let{ihwwProfiles:i}=e,{classes:t}=tS(),n=(0,tN.Z)(),l=(0,tk.Z)(n.breakpoints.down("lg"));return(0,r.jsx)(c.ZP,{container:!0,spacing:6,children:i.map((e,n)=>(0,r.jsxs)(c.ZP,{className:t.gridItem,item:!0,xs:12,lg:i.length>1?6:12,children:[n<i.length-1&&(l||n<i.length-2)&&(0,r.jsx)("div",{className:t.gridItemBorder}),(0,r.jsx)(t_,{ihwwProfile:e})]},e.relationshipId))})},tM=t(76235);let tI=(0,i3.Z)({palette:{secondary:{main:eI.EQ}}}),tT=(0,u.ZL)()(e=>({pagination:{paddingTop:e.spacing(3),display:"flex",justifyContent:"space-around"}})),tF={art_studio:"Art Studio",auditorium:"Auditorium",church:"Church/Temple Sanctuary Space",conference_meeting_room:"Conference / Meeting Room",convention_hall:"Convention Hall",gallery_museum:"Gallery / Museum",lecture_hall:"Lecture Hall",multi_purpose_room:"Multi-Purpose Room",outdoor_space:"Outdoor Space / Grounds",park:"Park",recital_hall:"Recital Hall",restaurant_nightclub:"Restaurant / Nightclub",studio_classroom:"Studio Classroom",theater:"Theater"},tV={amphitheater:"Amphitheater / Concert Shell / Bandstand",arena:"Arena / Grandstand",black_box:"Black Box",proscenium_theater:"Proscenium Theater",theater_in_the_round:"Theater in the Round",thrust_stage:"Thrust Stage"},tW={blind_low_vision:"Access accommodations for people who are blind, partially sighted, and have low vision",deaf_hard_hearing:"Access accommodations for people who are deaf and hard-of-hearing",physically_accessible:"Facility is physically accessible (such as parking, entrances, accessible restrooms, seating, backstage)",website_multimedia:"Accessible website and/or multimedia for people with sensory disabilities"},tB=(0,u.ZL)()(e=>({heading:{paddingBottom:e.spacing(2)},field:{paddingBottom:e.spacing(1)}}));var tH=e=>{var i,t,n,l,s;let{venue:a}=e,{classes:o}=tB(),d=(0,ik.Z)().classes,{addressLine1:c,administrativeArea:u,locality:p,postalCode:m}=a.fieldVenueAddress||{},h=[c,u,p,m];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:d.interfaceHeading,children:(0,r.jsx)(y.Z,{className:d.headingH3,component:"span",gutterBottom:!0,children:a.fieldVenueName})}),!!h&&(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Venue Address: "}),(0,r.jsxs)(w.Z,{component:"span",gutterBottom:!0,children:[c," ",p.trim(),", ",u," ",m]})]}),a.fieldVenuePhone&&(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Venue Phone: "}),(0,r.jsx)(w.Z,{component:"span",gutterBottom:!0,children:a.fieldVenuePhone})]}),a.fieldWebsiteLink&&(0,r.jsx)("div",{className:o.field,children:(0,r.jsx)(y.Z,{component:"span",children:(0,r.jsx)(e_.Z,{href:a.fieldWebsiteLink,target:"_blank",children:"Venue Website"})})}),(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Venue Type: "}),(0,r.jsx)(w.Z,{component:"span",gutterBottom:!0,children:tF[a.fieldVenueType]})]}),a.fieldVenueFeeFrom&&(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Venue Fee Range Minimum: "}),(0,r.jsxs)(w.Z,{component:"span",gutterBottom:!0,children:["$",a.fieldVenueFeeFrom]})]}),a.fieldVenueFeeTo&&(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Venue Fee Range Maximum: "}),(0,r.jsxs)(w.Z,{component:"span",gutterBottom:!0,children:["$",a.fieldVenueFeeTo]})]}),a.fieldVenueCapacity&&(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Venue Capacity: "}),(0,r.jsx)(w.Z,{component:"span",gutterBottom:!0,children:a.fieldVenueCapacity})]}),(null==a?void 0:null===(i=a.fieldVenueAccessibility)||void 0===i?void 0:i.length)>0&&(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Venue Accessibility: "}),(0,r.jsxs)(w.Z,{component:"span",gutterBottom:!0,children:[a.fieldVenueAccessibility.map(e=>tW[e]).join(". "),"."]})]}),(null==a?void 0:null===(t=a.fieldStageDetails)||void 0===t?void 0:t.length)>0&&(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Stage Details: "}),(0,r.jsx)(w.Z,{component:"span",gutterBottom:!0,children:a.fieldStageDetails.map(e=>tV[e]).join(", ")})]}),!!(null===(n=a.fieldVenueSeasonsAvailable)||void 0===n?void 0:n.length)&&(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Venue Seasons: "}),(0,r.jsx)(w.Z,{component:"span",gutterBottom:!0,children:a.fieldVenueSeasonsAvailable.map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(", ")})]}),!!a.fieldVenueFeatures.length&&(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Venue Features: "}),(0,r.jsx)(w.Z,{component:"span",gutterBottom:!0,children:a.fieldVenueFeatures.reduce(function(e,i,t){return 0===t?i.name:e+", "+i.name},"")})]}),a.fieldVenueCrewInformation.length>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Trained Crew Available: "}),(0,r.jsx)(w.Z,{component:"span",gutterBottom:!0,children:(null==a?void 0:null===(l=a.fieldVenueCrewInformation)||void 0===l?void 0:l.includes("trained"))?"Yes":"No"})]}),(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Union Crew Available: "}),(0,r.jsx)(w.Z,{component:"span",gutterBottom:!0,children:(null==a?void 0:null===(s=a.fieldVenueCrewInformation)||void 0===s?void 0:s.includes("union"))?"Yes":"No"})]})]}),(null==a?void 0:a.fieldVenueAdditionalComments)&&(0,r.jsxs)("div",{className:o.field,children:[(0,r.jsx)(y.Z,{component:"span",children:"Additional Comments: "}),(0,r.jsx)(w.Z,{component:"span",gutterBottom:!0,children:null==a?void 0:a.fieldVenueAdditionalComments})]})]})};let tD=(0,i3.Z)({palette:{secondary:{main:eI.EQ}}}),tR=(0,u.ZL)()(e=>({wrapper:{display:"flex",justifyContent:"space-between",[e.breakpoints.down("md")]:{flexDirection:"column"}},itemWrapper:{flexGrow:0,maxWidth:"50%",flexBasis:"50%","&:not(:last-child)":{paddingBottom:e.spacing(3)},[e.breakpoints.down("md")]:{maxWidth:"100%",flexBasis:"100%"}},pagination:{paddingTop:e.spacing(3),display:"flex",justifyContent:"space-around"}}));(l=a||(a={})).Contact="section-contact",l.About="section-about",l.Media="section-media",l.Ihww="section-ihww",l.Venues="section-venues",l.Accomplishments="section-accomplishments",l.ArtistInfo="section-artist-info";let tE=[["section-contact",{title:"Find Me",linkTitle:"Find Me",component:e=>{let{id:i,profileEntity:t,title:n}=e,{fieldContactInformation:l,fieldUrlCollection:s,fieldPhysicalAddress:a,fieldOrganizationInformation:o}=t;return(0,r.jsx)(iW,{id:i,title:n,children:(0,r.jsxs)(c.ZP,{container:!0,alignItems:"baseline",id:"contact",spacing:6,children:[(0,r.jsx)(c.ZP,{item:!0,xs:12,lg:6,children:(0,r.jsx)(iS,{contactInfo:l,address:a,organizationInfo:o})}),(0,r.jsx)(c.ZP,{item:!0,xs:12,lg:6,children:(0,r.jsx)(iL,{urlCollection:s})})]})})},isVisible:()=>!0}],["section-about",{title:"About",linkTitle:"About",component:e=>{let{id:i,title:t,profileEntity:n,fieldOptions:l}=e,s=[n.fieldActivitiesAndServices,n.fieldSeasonsActive,n.fieldEventsPerYear],a=[n.fieldLanguagesAvailable,n.fieldPopulationsServed,(0,iq.NA)(n.fieldGeographicReach,l.profileFields.field_geographic_reach)],o=[(0,iq.NA)(n.fieldAccessibilityOfServices,l.profileFields.field_accessibility_of_services),n.fieldAccessibilityComments],d=[{component:(0,r.jsx)(iO,{profileEntity:n}),fields:[!0],label:"Overview",id:"overview"},{component:(0,r.jsx)(iz,{profileEntity:n,fieldOptions:l}),fields:[!0],label:"Disciplines",id:"disciplines"},{component:(0,r.jsx)(iK,{profileEntity:n}),fields:s,label:"Activities and Services",id:"activities-and-services"},{component:(0,r.jsx)(iJ,{profileEntity:n,fieldOptions:l}),fields:a,label:"Communities",id:"communities"},{component:(0,r.jsx)(i4,{profileEntity:n,fieldOptions:l}),fields:o,label:"Accessibility of Services",id:"accessibility-of-services"}];return(0,r.jsx)(ta,{id:i,title:t,profileEntity:n,fieldOptions:l,subSections:d})},isVisible:()=>!0}],["section-media",{title:"Media Gallery",component:e=>{let{id:i,title:t,profileEntity:n}=e,l=n.fieldMediaCollection||[],{classes:s}=tP(),{open:a}=(0,d.useContext)(p);return(0,r.jsx)(iW,{id:i,title:t,children:(0,r.jsx)(c.ZP,{container:!0,direction:"column",id:"media",children:(0,r.jsx)(c.ZP,{item:!0,className:s.media,children:(0,r.jsx)(c.ZP,{container:!0,spacing:3,className:s.gridContainer,children:l.map((e,i)=>(0,r.jsx)(c.ZP,{item:!0,children:(0,r.jsx)(tw,{index:i,item:e,open:a})},i))})})})})},isVisible:e=>{var i;let{profileEntity:t}=e;return!!(null===(i=t.fieldMediaCollection)||void 0===i?void 0:i.length)}}],["section-ihww",{title:"I Have Worked With",component:e=>{let i,{id:t,title:n,profileEntity:l}=e,s=l.id,{classes:a}=tT(),[o,c]=(0,d.useState)([]),[u,p]=(0,d.useState)(!1),[m,h]=(0,d.useState)(!1),[f,g]=(0,d.useState)(1),x=Math.ceil(o.length/4),j=async()=>{h(!1),p(!0);try{let e=await (0,S.Z)().get("/jsonapi/node/profile/".concat(s,"?include=").concat("field_related_profiles.field_related_profile_reference,field_related_profiles.field_relationship_ib_type,field_related_profiles.field_related_profile_reference.field_institution_business_type")),i=(0,tL.Z)(e.body.data);void 0===i.fieldRelatedProfiles?c([]):c(i.fieldRelatedProfiles)}catch(e){console.log(e),h(!0)}p(!1)};if((0,d.useEffect)(()=>{j()},[]),m)i=(0,r.jsx)("div",{children:"There was an error loading related profiles."});else if(u)i=(0,r.jsx)(E.Z,{});else{let e=o.slice().sort((e,i)=>i.startDate?e.startDate&&e.startDate>i.startDate?-1:1:-1).slice((f-1)*4,4*f);i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tA,{ihwwProfiles:e}),x>1&&(0,r.jsx)(i5.Z,{injectFirst:!0,children:(0,r.jsx)(i2.Z,{theme:tI,children:(0,r.jsx)(tM.Z,{className:a.pagination,color:"secondary",count:x,onChange:(e,i)=>{g(i)}})})})]})}return(0,r.jsx)(iW,{id:t,title:n,children:(0,r.jsx)("div",{children:i})})},isVisible:e=>{let{profileEntity:i}=e;return i.hasRelatedProfiles}}],["section-accomplishments",{title:"Affiliations and Accomplishments",linkTitle:"Affiliations & Accomplishments",component:e=>{let{id:i,title:t,profileEntity:n,fieldOptions:l,professionalAssociationsFields:s,awardsFields:a,educationFields:o,specialDesignationsFields:d}=e,c=[{component:(0,r.jsx)(tr,{profileEntity:n}),fields:s,label:"Professional Associations",id:"professional-associations"},{component:(0,r.jsx)(tp,{profileEntity:n}),fields:a,label:"Awards",id:"awards"},{component:(0,r.jsx)(tm,{profileEntity:n}),fields:o,label:"Education",id:"education"},{component:(0,r.jsx)(tu,{profileEntity:n,fieldOptions:l}),fields:d,label:"Special Designations",id:"special-designations"}];return(0,r.jsx)(ta,{id:i,title:t,profileEntity:n,fieldOptions:l,subSections:c})},buildProps:e=>{let{profileEntity:i,fieldOptions:t}=e,n=(null==i?void 0:i.fieldProfessionalAssociations)||null,l=(null==i?void 0:i.fieldAwards)||null,s=(null==i?void 0:i.fieldEducation)||null,a=new Set(i.specialDesignations),r=t.specialDesignationsOptions,o=[];return r.forEach(e=>{a.has(e.bundle)&&td.has(e.bundle)&&o.push({id:e.bundle,name:e.label})}),(i.fieldArtsCommunity||[]).forEach(e=>{o.push(e)}),{...e,professionalAssociationsFields:n,awardsFields:l,educationFields:s,specialDesignationsFields:[o]}},isVisible:e=>{let{profileEntity:i}=e,t=!(0,O.Fl)([i.fieldProfessionalAssociations,i.fieldAwards,i.fieldEducation,i.fieldArtsCommunity]);return(i.specialDesignations||[]).some(e=>td.has(e))||t}}],["section-artist-info",{title:"Artist Info",linkTitle:"Artist Info",component:e=>{let{id:i,title:t,profileEntity:n,fieldOptions:l,...s}=e,a=[s.tribalStatus,s.tribeName],o=[s.isTeachingArtist],d=[s.saaRostersList],c=[s.isTouringArtist],u=[{component:(0,r.jsx)(tf,{tribalStatus:s.tribalStatus,tribeName:s.tribeName}),fields:a,label:"Native American Artist",id:"native-american-artist"},{component:(0,r.jsx)(tx,{profileEntity:n,fieldOptions:l}),fields:o,label:"Teaching Artist",id:"teaching-artist"},{component:(0,r.jsx)(tj,{saaRostersList:s.saaRostersList}),fields:d,label:"State Arts Agency Roster Artist",id:"saa-rosters-list"},{component:(0,r.jsx)(tZ,{profileEntity:n,fieldOptions:l},"touring-artist"),fields:c,label:"Touring Artist",id:"touring-artist"}];return(0,r.jsx)(ta,{id:i,title:t,profileEntity:n,fieldOptions:l,subSections:u})},buildProps:e=>{var i,t;let{profileEntity:n,fieldOptions:l}=e,s={};l.saaInfo.forEach(e=>{s[e.bundle]=e.label});let a=n.specialDesignations.map(e=>{let i=e.replace(/state_roster-/i,"saa_");return Object.prototype.hasOwnProperty.call(s,i)?{id:e,name:s[i]}:void 0}).filter(e=>void 0!==e),r=n.nativeAmericanArtist,o=l.nativeAmericanArtistOptions.field_tribal_status.options,d=(null==o?void 0:o[null==r?void 0:r.fieldTribalStatus])||null,c=(null==r?void 0:r.fieldTribeName)||null,u=(null===(i=n.flaggingTeachingArtist)||void 0===i?void 0:i.flagged)||null,p=(null===(t=n.flaggingTouringArtist)||void 0===t?void 0:t.flagged)||null;return{...e,saaRostersList:a,tribalStatus:d,tribeName:c,isTeachingArtist:u,isTouringArtist:p}},isVisible:e=>{let{tribalStatus:i,tribeName:t,isTeachingArtist:n,isTouringArtist:l,saaRostersList:s}=e;return!(0,O.Fl)([i,t,n,l,s])}}],["section-venues",{title:"Venues for Rent/Use",component:e=>{let{id:i,title:t,venues:n}=e,[l,s]=(0,d.useState)(1),{classes:a}=tR(),o=Math.ceil(n.length/2),u=n.slice((l-1)*2,2*l);return(0,r.jsxs)(iW,{id:i,title:t,children:[(0,r.jsx)(c.ZP,{container:!0,alignItems:"baseline",id:"venues",spacing:6,children:u.map((e,i)=>(0,r.jsx)(c.ZP,{item:!0,xs:12,lg:u.length>1?6:12,children:(0,r.jsx)(tH,{venue:e})},"venue-".concat(i)))}),o>1&&(0,r.jsx)(i5.Z,{injectFirst:!0,children:(0,r.jsx)(i2.Z,{theme:tD,children:(0,r.jsx)(tM.Z,{className:a.pagination,color:"secondary",count:o,onChange:(e,i)=>{s(i)}})})})]})},buildProps:e=>{let{profileEntity:i}=e,t=(i.fieldVenues||[]).filter(e=>!!e.fieldVenueType&&!!e.fieldVenueName);return{...e,venues:t}},isVisible:e=>{let{venues:i}=e;return!!i.length}}]],tO=(e,i)=>{let t=new Map;for(let[n,l]of tE){let s={id:n,title:l.title,profileEntity:e,fieldOptions:i};l.buildProps&&(s=l.buildProps(s)),l.isVisible(s)&&t.set(n,{id:n,title:l.title,linkTitle:l.linkTitle||l.title,component:l.component,props:s})}return t};var tq=t(49338),tU=t.n(tq),tz=e=>{let{activeSectionDefault:i=null,offsetPx:t=0,sectionElementRefs:n=[],throttleMs:l=100}=e,[s,a]=(0,d.useState)(i),r=(0,d.useMemo)(()=>tU()(l,()=>{let e=null;for(let i=0;i<n.length;i++){let l=n[i].current;if(l&&l instanceof Element){if(l.getBoundingClientRect().top+t>=0)break;e=i}}let i=n.length-1;null!==e&&e!==i&&window.innerHeight+window.pageYOffset>=window.document.body.offsetHeight&&(e=i),a(e)}),[n,t,l]);return(0,d.useEffect)(()=>(window.addEventListener("scroll",r,{passive:!0}),r(),()=>{window.removeEventListener("scroll",r)}),[r]),s},tY=e=>{let{sections:i,offset:t=0,children:n}=e,l=(0,d.useMemo)(()=>{let e=new Map;for(let t of i)e.set(t,d.createRef());return e},[i]),s=i[tz({sectionElementRefs:(0,d.useMemo)(()=>Array.from(l.values()),[l]),offsetPx:t})]||null,a=(0,d.useCallback)(e=>{var i;let n=null===(i=l.get(e))||void 0===i?void 0:i.current;if(!n)return;let s=n.getBoundingClientRect().top+window.pageYOffset+t+1,a=window.pageXOffset;window.scrollTo(a,s)},[l]),o=(0,d.useMemo)(()=>({selectedSection:s,setSelectedSection:a}),[s,a]);return(0,d.useEffect)(()=>{let e=e=>{let i=window.location.hash.substr(1);l.has(i)&&e.preventDefault()};return window.addEventListener("hashchange",e),a(window.location.hash.substr(1)),()=>{window.removeEventListener("hashchange",e)}},[a]),(0,d.useEffect)(()=>{let e=s?"#".concat(s):"",i=window.location,t=i.pathname+i.search+e;window.history.replaceState(window.history.state,window.document.title,t)},[s]),(0,r.jsx)(iZ.Provider,{value:l,children:(0,r.jsx)(iv.Provider,{value:o,children:n})})},tG=t(29173),tQ=t(4481),tK=t(31754),t$=t(73502),tJ=t(84677),tX=t(21485);let t0=(0,u.ZL)()(e=>({font:{fontFamily:'"Montserrat", sans-serif',fontSize:12,lineHeight:"18px",fontWeight:400}}));var t1=e=>{let{className:i,...t}=e,{classes:n,cx:l}=t0();return(0,r.jsx)(tX.Z,{...t,className:l(i,n.font)})};let t4=(0,u.ZL)()(e=>({img:{overflow:"hidden",display:"block",margin:"0 auto",objectFit:"scale-down",maxWidth:"100%",maxHeight:"100%"},vidWrapper:{position:"relative",overflow:"hidden",width:"100%","& iframe":{position:"absolute",top:0,left:0,width:"100%",height:"100%"}},vid:{width:630,height:385,maxWidth:"100%",margin:"0 auto"},spacer:{display:"block",content:'" "',paddingTop:"56.25%"}}));var t3=e=>{let{item:i}=e,{classes:t}=t4();return i.type===s.Image?(0,r.jsx)("img",{className:t.img,alt:i.alt,src:i.src,id:i.key}):(0,r.jsxs)("div",{className:t.vidWrapper,children:[(0,r.jsx)("iframe",{className:t.vid,src:i.src,frameBorder:0,scrolling:"no"}),(0,r.jsx)("div",{className:t.spacer})]})};let t5=(0,u.ZL)()(e=>({header:{display:"flex",alignItems:"center",height:"auto",minHeight:"50px",paddingLeft:e.spacing(4)},imageContainer:{maxHeight:"100%",height:"100%",background:eI.$R,display:"flex",flexDirection:"column",justifyContent:"space-between"},stepper:{gridRow:5,justifyContent:"center","& > button":{margin:"0 18px"},[e.breakpoints.down(385)]:{position:"relative","& > button":{position:"absolute",margin:0,bottom:0,"&:first-child":{left:0},"&:last-child":{right:0}}}}})),t2=e=>{let i=[];e.caption&&i.push(e.caption),e.credit&&i.push((0,r.jsxs)(d.Fragment,{children:[(0,r.jsx)("em",{children:"Photo credit:"})," ",e.credit]},"caption"));let t=[];for(let[e,n]of i.entries())e&&t.push(" - "),t.push(n);return t};var t6=e=>{let{items:i,initialIndex:t}=e,{classes:n}=t5(),l=(0,tN.Z)(),[s,a]=(0,d.useState)(t),o=i.length,c=i[s],u=(0,d.useMemo)(()=>t2(c),[c]);return c?(0,r.jsxs)("div",{className:n.imageContainer,children:[(0,r.jsx)(tK.Z,{square:!0,elevation:3,className:n.header,id:"gallerySlideHeader",children:(0,r.jsx)(t1,{children:u})}),(0,r.jsx)(t3,{item:c}),(0,r.jsx)(t$.Z,{className:n.stepper,steps:o,position:"static",variant:"text",activeStep:s,nextButton:(0,r.jsxs)(tJ.Z,{size:"small",onClick:()=>{a(e=>e+1)},disabled:s===o-1,children:["Next","rtl"===l.direction?(0,r.jsx)(tG.Z,{}):(0,r.jsx)(tQ.Z,{})]}),backButton:(0,r.jsxs)(tJ.Z,{size:"small",onClick:()=>{a(e=>e-1)},disabled:0===s,children:["rtl"===l.direction?(0,r.jsx)(tQ.Z,{}):(0,r.jsx)(tG.Z,{}),"Back"]})})]}):null},t7=t(53827);let t8=e=>{var i;let t=[];for(let[n,l]of((null===(i=e.fieldProfileImage)||void 0===i?void 0:i.url)&&t.push({key:m,type:s.Image,src:(0,v.Z)(e.fieldProfileImage.url),alt:e.fieldProfileImage.alt,credit:e.fieldProfileImage.credit}),(e.fieldMediaCollection||[]).entries())){let e;if("media--image"===l.type){let i=l.media;if(!i)continue;e={key:h(n),type:s.Image,src:(0,v.Z)(l.src),alt:i.alt,caption:l.caption,credit:l.credit}}else e={key:h(n),type:s.RemoteVideo,src:(0,v.Z)(l.src),caption:l.caption,credit:l.credit};t.push(e)}return t};var t9=e=>{let{profile:i,initialKey:t,close:n}=e,l=null!==t,s=(0,d.useMemo)(()=>t8(i),[i]),a=(0,d.useMemo)(()=>f(t,s),[t,s]);return s.length?(0,r.jsx)(t7.Z,{open:l,onClose:n,maxWidth:!1,children:(0,r.jsx)(t6,{items:s,initialIndex:a})}):null},ne=t(34777),ni=t(9008),nt=t.n(ni),nn=e=>{let{url:i,width:t=null,height:n=null}=e;return i?(0,r.jsxs)(nt(),{children:[(0,r.jsx)("meta",{property:"og:image",content:(0,v.Z)(i)}),!!(t&&n)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{property:"og:image:width",content:t.toString()}),(0,r.jsx)("meta",{property:"og:image:height",content:n.toString()})]})]}):null},nl=t(78662);let ns=(0,u.ZL)()(e=>({paper:{marginTop:e.spacing(4),borderRadius:42,padding:e.spacing(2)},paperTop:{paddingTop:e.spacing(6),paddingBottom:e.spacing(6),borderRadius:42},[e.breakpoints.up("md")]:{paper:{padding:0}}}));var na=e=>{var i;let{profileEntity:t,fieldOptions:n}=e,{classes:l}=ns(),s=(0,ex.useRouter)(),[a,o]=(0,d.useState)(null),c=(0,d.useCallback)(()=>{o(null)},[]),u=(0,d.useMemo)(()=>({open:e=>{o(e)},close:c}),[]),m=(0,d.useMemo)(()=>tO(t,n),[t,n]),h=(0,d.useMemo)(()=>Array.from(m.keys()),[m]),f=(0,d.useMemo)(()=>{let e=[];for(let[i,t]of m){let{component:n,props:s}=t;e.push((0,r.jsx)(tK.Z,{elevation:0,className:l.paper,children:(0,r.jsx)(n,{...s},i)},i))}return e},[m]);if(-1===s.asPath.indexOf("#")){if((0,nl.IJ)())return null;(0,nl.k3)()}return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ne.Z,{children:t.title}),(0,r.jsx)(nn,{url:null===(i=t.fieldProfileImage)||void 0===i?void 0:i.url}),(0,r.jsxs)(p.Provider,{value:u,children:[(0,r.jsx)(tK.Z,{elevation:0,className:l.paperTop,children:(0,r.jsx)(ih,{profileEntity:t})}),(0,r.jsxs)(tY,{sections:h,offset:-90,children:[(0,r.jsx)(iC,{sectionSpecs:m}),f]})]}),(0,r.jsx)(t9,{profile:t,initialKey:a,close:c}),(0,r.jsx)(nl.ZP,{pxFromTop:600})]})},nr=t(2180),no=t(53928),nd=t(83452),nc=t(8248);let nu={"node--page":nd.Z,"node--profile":nc.Z};var np=t(2942),nm=t(40314),nh=t(61539),nf=t(55153);let ng=(0,u.ZL)()(e=>({gridItem:{width:"100%",[".".concat(nf.Hn," &")]:{[e.breakpoints.up("md")]:{maxWidth:"100%",flexBasis:"100%"}}}}));var nx=e=>{let{blog:i}=e,{title:t,paragraphs:n}=i,{classes:l}=ng();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ne.Z,{children:t}),(0,r.jsxs)(c.ZP,{container:!0,spacing:4,alignItems:"center",alignContent:"center",flexDirection:"column",children:[(0,r.jsx)(c.ZP,{item:!0,sm:12,md:8,lg:8,flexDirection:"column",component:C.Z,className:l.gridItem,alignContent:"center",alignItems:"center",children:t}),(0,r.jsx)(c.ZP,{item:!0,sm:12,className:l.gridItem,children:(0,r.jsx)(nh.Z,{paragraphs:n})})]})]})},nj=!0;function nv(e){let{errorStatus:i=null,pageData:t,fieldOptions:n=null}=e;if(i)return(0,r.jsx)(np.Z,{statusCode:i});let l=null==t?void 0:t.type;if("node--page"===l){let e=(0,nr.Z)(t);return(0,r.jsx)(o.Z,{basicPage:e})}if("node--article"===l){let e=(0,nm.Z)(t);return(0,r.jsx)(nx,{blog:e})}if("node--profile"!==l)return(0,r.jsx)(r.Fragment,{children:"Unknown content type."});{let e=(0,tL.Z)(t);return(0,r.jsx)(na,{profileEntity:e,fieldOptions:n})}}let nZ=async e=>{let i=(0,S.Z)().get("".concat(null==e?void 0:e.body.jsonapi.individual,"?").concat("include=".concat("field_content_paragraphs,field_content_paragraphs.field_featured_profiles.field_profile_image,field_content_paragraphs.field_carousel_testimonials.field_profile,field_content_paragraphs.field_supporters.field_media,field_content_paragraphs.field_wysiwyg_color_options.parent.parent,field_content_paragraphs.field_components.field_wysiwyg,field_content_paragraphs.field_components.field_50_50_image.field_media_image,field_content_paragraphs.field_components.field_two_column_wysiwyg"))),[t]=await Promise.all([i]);return{props:{pageData:t.body.data}}};nv.Layout=e=>{var i;let{pageProps:t,...n}=e,l=nu[(null==t?void 0:null===(i=t.pageData)||void 0===i?void 0:i.type)||""]||no.Z;return(0,r.jsx)(l,{...n})}},1429:function(e,i,t){t.d(i,{Z:function(){return n}});let n=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(null==e?void 0:e.replace(/ /g,"_").toLocaleLowerCase())!=="out_of_business"||!!i}},63274:function(e,i,t){t.d(i,{Fl:function(){return r},Fx:function(){return o},OC:function(){return d},Uo:function(){return l},Zd:function(){return s},ot:function(){return u},p5:function(){return a},yg:function(){return c}});var n=t(69111);function l(e){return(0,n.decode)(e)}function s(e,i,t){let n=e;return e.length>i&&(n=(n=e.substr(0,i)).substr(0,Math.min(n.length,n.lastIndexOf(" ")))+t),n}function a(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(null==e?void 0:e.length)?e:i}function r(e){return e.every(function(e){return null===e||""===e||Array.isArray(e)&&0===e.length})}function o(e){if(!e)return null;let i=RegExp(String.fromCharCode(160),"g");return e.replace(i," ")}function d(e,i){var t,n,l;let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e&&s)return"Please fill out the field.";let a=(null===(l=String(e))||void 0===l?void 0:null===(n=l.replace(/[\r\n]+/gm,""))||void 0===n?void 0:null===(t=n.replace(/&nbsp;/gi,""))||void 0===t?void 0:t.length)||0;if(i&&a>i)return"May not be longer than ".concat(i," characters.")}function c(e){return null!=e&&!!e.detail&&(null==e?void 0:e.detail).replace(/^[^:]+:\s+/,"")}function u(e,i){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return d(e,i,t)||(e&&!1===/^(?=.*[0-9])[-+ .()0-9]+$/.test(e)?"Please enter a valid phone number.":void 0)}},2386:function(e,i,t){t.d(i,{H:function(){return n}});let n=e=>!e.match(/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/)},54189:function(e,i,t){t.d(i,{Z:function(){return d}});var n=t(80569),l=t.n(n),s=t(92659),a=t.n(s),r=t(26969),o=t(76352);function d(){let{Authorization:e=""}=(0,r.E)();return a()(l()).use(o.r).use(o.N).query({_format:"json"}).set("Content-Type","application/json").set("Accept","application/json").set("Authorization",e)}},72317:function(e,i,t){t.d(i,{U:function(){return l},y:function(){return n}});let n={"":"Please select a state",CT:"Connecticut",ME:"Maine",MA:"Massachusetts",NH:"New Hampshire",RI:"Rhode Island",VT:"Vermont"},l={"":"Please select a state",AL:"Alabama",AK:"Alaska",AS:"American Samoa",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",DC:"District Of Columbia",FM:"Federated States Of Micronesia",FL:"Florida",GA:"Georgia",GU:"Guam",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MH:"Marshall Islands",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",MP:"Northern Mariana Islands",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PW:"Palau",PA:"Pennsylvania",PR:"Puerto Rico",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VI:"Virgin Islands",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"}},2180:function(e,i,t){var n=t(25241);i.Z=e=>({title:e.title||null,paragraphs:(0,n.Z)(e.fieldContentParagraphs)})},40314:function(e,i,t){t.d(i,{F:function(){return s},Z:function(){return l}});var n=t(25241);function l(e){var i;return{title:e.title||null,paragraphs:(0,n.Z)(e.fieldContentParagraphs),url:null===(i=e.path)||void 0===i?void 0:i.alias}}function s(e,i){var t;let l={title:e.title||null,paragraphs:(0,n.Z)([e.fieldListingBanner]),url:null===(t=e.path)||void 0===t?void 0:t.alias};return function(e,i){var t,n;let l=(null===(t=e.paragraphs[0])||void 0===t?void 0:t.type)==="full_image_50_50"?e.paragraphs[0]:null;l.overlayColor=0===i?"dark":"light",null===l.buttonLink?l.buttonLink={title:"Read More",url:e.url}:(null===(n=l.buttonLink)||void 0===n?void 0:n.url)===""&&(l.buttonLink.url=e.url),l.buttonLink.ariaLabel="Read full blog post: "+e.title}(l,i),l}},25241:function(e,i,t){t.d(i,{Z:function(){return f}});var n=t(75754),l=t(40507),s=t(46220),a=t(15678);function r(e){return(null==e?void 0:e.url)?{url:null==e?void 0:e.url,title:(null==e?void 0:e.title)||null}:null}var o=t(40314);let d=e=>({id:e.id||null,type:null}),c=e=>({...d(e),type:n.Z.Wysiwyg,content:e.fieldWysiwygContent||null}),u=e=>{var i,t,n;return{body:null===(t=e.parent)||void 0===t?void 0:null===(i=t[0].parent)||void 0===i?void 0:i[0].name,headline:null===(n=e.parent)||void 0===n?void 0:n[0].name,bodyCopy:e.name}},p={"paragraph--quote_or_wysiwyg_content":e=>({...d(e),type:n.Z.QuoteOrWysiwygContent,content:e.fieldWysiwyg.map(e=>c(e))||[],wysiwygType:e.fieldContentType}),"paragraph--two_column_wysiwyg":e=>({...d(e),type:n.Z.TwoColumnWysiwyg,content:e.fieldTwoColumnWysiwyg.map(e=>c(e))||[]}),"paragraph--image_with_wysiwyg":e=>{var i,t,s,a,r;return{...d(e),type:n.Z.ImageWithWysiwyg,content:e.fieldWysiwygContent||null,styledImageUrls:(0,l.Z)(e.styledImage),imageAlt:(null===(r=e.field5050Image)||void 0===r?void 0:null===(a=r.relationships)||void 0===a?void 0:null===(s=a.field_media_image)||void 0===s?void 0:null===(t=s.data)||void 0===t?void 0:null===(i=t.meta)||void 0===i?void 0:i.alt)||null,imagePosition:e.field5050ImagePosition||null,imageStyle:"circle"}}},m=e=>({...d(e),headline:e.fieldHeadline||null,content:e.fieldWysiwygContent||null,styledImageUrls:(0,l.Z)(e.styledImage),imagePosition:e.field5050ImagePosition||null,buttonLink:e.fieldCtaLink||null}),h={"paragraph--wysiwyg_content":c,"paragraph--contained_image_50_50":e=>{var i,t,l,s,a;return{...m(e),type:n.Z.ContainedImage5050,imageStyle:e.field5050ImageStyle||null,imageAlt:(null===(a=e.field5050Image)||void 0===a?void 0:null===(s=a.relationships)||void 0===s?void 0:null===(l=s.field_media_image)||void 0===l?void 0:null===(t=l.data)||void 0===t?void 0:null===(i=t.meta)||void 0===i?void 0:i.alt)||null,backgroundType:e.field5050BackgroundType||null,backgroundColor:e.field5050BackgroundColor||null}},"paragraph--full_image_50_50":e=>({...m(e),type:n.Z.FullImage5050,overlayColor:e.field5050OverlayColor||null}),"paragraph--homepage_hero":e=>{var i;return{...d(e),type:n.Z.HomepageHero,headline:e.fieldHeadline||null,subtitle:e.fieldSubtitle||null,content:e.fieldWysiwygContent||null,featuredProfiles:(null===(i=e.fieldFeaturedProfiles)||void 0===i?void 0:i.map(e=>(0,s.Z)(e)))||null}},"paragraph--testimonial_carousel":e=>{var i;return{...d(e),type:n.Z.TestimonialCarousel,testimonials:(null===(i=e.fieldCarouselTestimonials)||void 0===i?void 0:i.map(e=>(function(e){var i,t,n,l,r,o,d,c,u,p,m;let h=(null===(t=e.fieldMedia)||void 0===t?void 0:null===(i=t.fieldFocalPointCoordinates)||void 0===i?void 0:i.split(","))||[0,0];return{id:e.id||null,citation:e.fieldCitation||null,quote:e.fieldQuote||null,imageUrl:(null===(l=e.fieldMedia)||void 0===l?void 0:null===(n=l.fieldMediaImage)||void 0===n?void 0:n.uri)?(0,a.Z)(null===(o=e.fieldMedia)||void 0===o?void 0:null===(r=o.fieldMediaImage)||void 0===r?void 0:r.uri.url):null,imageAlt:(null===(m=e.fieldMedia)||void 0===m?void 0:null===(p=m.relationships)||void 0===p?void 0:null===(u=p.field_media_image)||void 0===u?void 0:null===(c=u.data)||void 0===c?void 0:null===(d=c.meta)||void 0===d?void 0:d.alt)||null,promoted:e.fieldPromoted||!1,profile:e.fieldProfile?(0,s.Z)(e.fieldProfile):null,focalPointCoordinates:{x:h?Number(h[0]):0,y:h?Number(h[1]):0}}})(e)))||[]}},"paragraph--supporters":e=>{var i;return{...d(e),type:n.Z.Supporters,headline:e.fieldHeadline||null,supporters:(null===(i=e.fieldSupporters)||void 0===i?void 0:i.map(e=>{var i,t,n,s,a;return{id:e.id||null,title:e.title||null,styledImageUrls:(0,l.Z)(e.styledImage),imageAlt:(null===(a=e.fieldMedia)||void 0===a?void 0:null===(s=a.relationships)||void 0===s?void 0:null===(n=s.field_media_image)||void 0===n?void 0:null===(t=n.data)||void 0===t?void 0:null===(i=t.meta)||void 0===i?void 0:i.alt)||null,link:r(e.fieldLink)}}))||[],ctaLink:r(e.fieldCtaLink)}},"paragraph--homepage_bloglist":e=>{let i=e.fieldFeaturedBlogs,t=[];return i.forEach((e,i)=>{t.push((0,o.F)(e,i))}),{...d(e),type:n.Z.HomepageBloglist,featuredBlogs:t}},"paragraph--composite_wysiwyg":e=>({...d(e),type:n.Z.CompositeWysiwyg,content:e.fieldComponents.map(e=>{let i=null==e?void 0:e.type,t=p[i];return t||console.error("Unsupported paragraph type: ".concat(i)),t(e)})||[],headline:e.fieldHeadline,buttonLink:e.fieldCtaLink||null,wysiwygOptions:u(e.fieldWysiwygColorOptions),buttonStyle:e.fieldButtonLinkStyle,isArrow:e.fieldUseArrowInButtonLink,linkColor:e.fieldLinkColorStyle}),"paragraph--collapsible_wysiwyg":e=>({...d(e),type:n.Z.CollapsibleWysiwyg,headline:e.fieldHeadline||null,tooltip:e.fieldTooltipText||null,content:e.fieldWysiwygContent||null,headerLevel:e.fieldHeaderLevel||null,backgroundColor:e.fieldBackgroundColor||null,expanded:e.fieldExpanded||!1})};var f=e=>{let i=[];if(void 0!==e[0]&&Array.isArray(e))for(let t of e){let e=null==t?void 0:t.type;if(!e){console.error("Paragraph item type is missing.");continue}let n=h[e];if(!n){console.error("Unsupported paragraph type: ".concat(e));continue}let l=n(t);i.push(l)}return i}},75960:function(e,i,t){t.d(i,{Z:function(){return l}});var n=t(67294);function l(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;(0,n.useEffect)(()=>{var i=this;let t=!0,n=e.call(this,{ifActive:function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return function(){for(var l=arguments.length,s=Array(l),a=0;a<l;a++)s[a]=arguments[a];return t?e.call(i,...s):n}}});return()=>{t=!1,null==n||n()}},i)}}}]);