PageSourceSearch

https://www.birminghamal.gov/_next/static/chunks/335-388834546037de43.js

js birminghamal.gov collected 2026-10-02 02:57:29 UTC 135,173 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{9234:function(e,l,s){"use strict";s.d(l,{wR:function(){return t},JU:function(){return i},ri:function(){return d},JB:function(){return h},s8:function(){return u},sZ:function(){return f}});var a=s(2784);s(7826);let t=new(s(9172)).Z({documentType:"page",engineKey:"LewszsU8DHhSP7g7cYxP"});var r=s(2322),n=s(5705);let i=e=>{let l=e.data.body.raw.replace(/(<([^>]+)>)/gi,""),s=l.length>250?"".concat(l.substring(0,250),"..."):l,a=void 0!==e.data.previewImage&&"none"!==e.data.previewImage.raw?e.data.previewImage.raw:null,t=void 0!==e.data.date?new Date(e.data.date.raw).toLocaleDateString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric"}):null,i=void 0!==e.data.category?e.data.category.raw:null,c=void 0!==e.data.department?e.data.department.raw:null,d=void 0!==e.data.title?e.data.title.raw.replace(/ \|\ City of Birmingham, Alabama$/,""):null,o=void 0!==e.data.url?decodeURI(e.data.url.raw):null,m=void 0!==e.data.type?e.data.type.raw:"Page";return(0,r.jsx)(n.dF,{title:d,path:o,description:s,imagePath:a,imageAlt:"",hideImage:!a,tags:i,department:c,pageType:m,date:t||void 0})};var c=s(3270);let d=()=>(0,r.jsx)(c.Z,{view:e=>{let{searchTerm:l,totalResults:s,start:a,end:t}=e;return(0,r.jsxs)("p",{className:"border-b-2 mb-4 pb-4 border-coolGray-20 font-bold dark:text-white dark:border-coolGray-30",children:["Displaying ",a," to ",t," of ",s," results ",l?(0,r.jsxs)("span",{children:[" for ",(0,r.jsx)("em",{children:l})]}):""]})}});var o=s(9206),m=s(9623),x=s(3999);let h=e=>{let{filters:l,searchTerm:s,clearFilters:t}=e,i=()=>{document.querySelectorAll(".sui-select__single-value").forEach(e=>{e.innerHTML="Select..."})};return(0,a.useEffect)(()=>{let e=0,l=setInterval(()=>{let s=document.querySelectorAll('input[role="combobox"]:not([aria-label])');s.length>0&&(s.forEach((e,l)=>{e.hasAttribute("aria-label")||e.setAttribute("aria-label","Filter input")}),clearInterval(l)),e>=10&&clearInterval(l),e++},200);return()=>clearInterval(l)},[]),(0,r.jsx)("div",{className:"swiftype-filters",children:(0,r.jsxs)(n.Zo,{title:"Filter Results",children:[(0,r.jsx)(o.Z,{field:"department",label:"By Department:",isFilterable:!1,view:m.Z,showMore:!1,show:35,sort:"asc"}),(0,r.jsx)(o.Z,{field:"type",label:"By Type:",searchPlaceholder:"- Any -",filterType:"all",isFilterable:!1,view:x.Z}),(0,r.jsx)(o.Z,{field:"category",label:"By Category:",searchPlaceholder:"- Any -",filterType:"all",isFilterable:!1,view:x.Z}),l.length>0&&(0,r.jsx)(n.zx,{title:"Clear Filters",buttonStyle:"secondary",onClick:()=>{t(),i()},additionalClasses:"mt-8"})]})})},u=e=>{let{searchTerm:l,setSearchTerm:s}=e;return(0,r.jsx)("div",{className:"flex w-full md:col-span-3",children:(0,r.jsx)("div",{className:"h-full w-full flex flex-col justify-center",children:(0,r.jsx)("input",{type:"text",name:"search_text",className:"bg-white",value:l,placeholder:"Search",onChange:e=>s(e.target.value),"aria-label":"Search"})})})};var p=s(6284);let f=e=>{let{results:l}=e;return l.length,(0,r.jsxs)("div",{children:[(0,r.jsx)(d,{}),l.map(e=>(0,r.jsx)(i,{data:e},e.id.raw)),(0,r.jsx)(p.Z,{className:"flex flex-wrap gap-2 justify-center my-16"})]})}},31:function(e,l,s){"use strict";s.d(l,{W:function(){return n},o:function(){return r}});var a=s(2322),t=s(2784);let r=(0,t.createContext)({isOpen:!1,toggleFilters:()=>{}}),n=e=>{let{children:l}=e,[s,n]=(0,t.useState)(!1),i=(0,t.useCallback)(()=>{n(e=>!e)},[]),c=(0,t.useMemo)(()=>({isOpen:s,toggleFilters:i}),[s,i]);return(0,a.jsx)(r.Provider,{value:c,children:l})}},5705:function(e,l,s){"use strict";s.d(l,{UQ:function(){return b},bq:function(){return ed},bZ:function(){return v},Ct:function(){return i},Oo:function(){return N},zx:function(){return c},hE:function(){return y},O5:function(){return u},f:function(){return ep},tv:function(){return ef},S6:function(){return C},WE:function(){return eg},MF:function(){return S},Zb:function(){return D},gy:function(){return ej},An:function(){return eb},PS:function(){return A},mJ:function(){return F},rp:function(){return ew},z4:function(){return G},Lt:function(){return L},K7:function(){return T},Rl:function(){return eN},wI:function(){return ev},$_:function(){return ey},h4:function(){return eS},QH:function(){return R},JO:function(){return p},JH:function(){return M},q9:function(){return eE},$X:function(){return W},uB:function(){return eI},Qu:function(){return z},o$:function(){return _},Pg:function(){return q},Ww:function(){return U},dF:function(){return B},IW:function(){return K},w5:function(){return Y},pc:function(){return eR},Jx:function(){return V},B3:function(){return eP},kx:function(){return e_},eu:function(){return J},mr:function(){return X},KI:function(){return Q},uE:function(){return $},BQ:function(){return eq},Vm:function(){return f},IG:function(){return ee},Ho:function(){return el},gv:function(){return j},OT:function(){return es},Zo:function(){return ea},w3:function(){return et},sO:function(){return eU},Od:function(){return g},dS:function(){return eO},WG:function(){return er},$k:function(){return en},SR:function(){return eH},WV:function(){return ec},lN:function(){return ei},lH:function(){return eZ}});var a=s(2784),t=s(2322),r=s(9097),n=s.n(r);let i=e=>{let l,{iconName:s,label:a,text:r,link:i,variant:c,additionalClasses:d}=e;switch(c){default:case"regular":l="flex items-baseline text-black dark:text-white";break;case"light":l="flex items-baseline text-neutral-600 text-lg dark:text-coolGray-70";break;case"pill":l="inline-block bg-gray-200 dark:bg-coolGray-30 rounded-full text-black dark:text-white text-sm px-3 py-0.5 mr-3"}return(0,t.jsxs)("div",{className:"mb-2 ".concat(l," ").concat(d),children:[s&&(0,t.jsx)(p,{name:s,role:"presentation",additionalClasses:"pr-2 w-6 flex-none"}),(0,t.jsxs)("span",{className:"flex-1",children:[a&&(0,t.jsxs)("label",{className:"font-semibold",children:[a,": "]}),i?(0,t.jsx)(n(),{href:i,className:"underline underline-offset-2 hover:text-primary-1",children:r}):(0,t.jsx)(t.Fragment,{children:r})]})]})},c=e=>{let l,{url:s,icon:a,title:r,buttonStyle:i,additionalClasses:c="",onClick:d,internal:o=!0,openNewWindow:m=!o,iconRight:x="",ariaLabel:h,onKeyDown:u}=e;switch(i){default:case"primary":l="py-2 px-4 bg-secondary-1 text-white border-2 border-secondary-1 hover:bg-secondary-2 hover:shadow-md hover:border-secondary-2 dark:text-coolGray-10 dar
1k:hover:text-white";break;case"secondary":l="py-2 px-4 bg-transparent text-secondary-1 border-2 border-secondary-1 hover:text-secondary-2 hover:border-secondary-2 hover:shadow-md dark:hover:border-secondary-3 dark:hover:text-secondary-3";break;case"tertiary":l="py-2 px-4 bg-white text-coolGray-60 border-2 border-coolGray-60 hover:text-coolGray-80 hover:border-coolGray-80 hover:shadow-md dark:bg-transparent";break;case"white":l="py-2 px-4 bg-white text-primary-1 hover:bg-secondary-2 hover:text-white hover:shadow-md";break;case"text":l="text-secondary-1 hover:underline underline-offset-2";break;case"plain":l="dark:text-white"}let f="font-medium font-body text-xl text-center inline-block tracking-[0.5px] ",g=h||(o?r:"External link: "+r);return(0,t.jsx)(t.Fragment,{children:s?(0,t.jsxs)(n(),{href:s,className:"".concat(f," ").concat(l," ").concat(c),onKeyDown:e=>{" "===e.key&&(e.preventDefault(),e.currentTarget.click())},onClick:d,tabIndex:0,target:m?"_blank":void 0,"aria-label":g,children:[(null==a?void 0:a.name)&&(0,t.jsx)(p,{...a,additionalClasses:"pr-2"}),r,!o&&(0,t.jsx)(p,{name:"arrow-up-right-from-square",additionalClasses:"pl-2 text-xs -translate-y-0.5"}),o&&x&&(0,t.jsx)(p,{name:x,additionalClasses:"pl-2 text-[1rem]"})]}):(0,t.jsxs)("button",{className:"".concat(f," ").concat(l," ").concat(c),onClick:d,onKeyDown:u,"aria-label":h||void 0,children:[a&&(0,t.jsx)(p,{...a,additionalClasses:"pr-2"}),r,o&&x&&(0,t.jsx)(p,{name:x,additionalClasses:"pl-2 text-[1rem]"})]})})};var d=s(3199),o=s(6577),m=s.n(o),x=s(3881);let h={replace:e=>{if(e instanceof d.W_&&e.name&&"img"===e.name){let{src:l,alt:s,width:a,height:r}=e.attribs;if(/^(?:[a-z]+:)?\/\//i.test(l))return;let n=Number(a),i=Number(r),c=(0,x.GR)(l);return(0,t.jsx)(m(),{src:c,width:n,height:i,alt:s||"",layout:"intrinsic",objectFit:"cover",sizes:"(max-width: 1024px) 1600px, 100vw"})}if(e instanceof d.W_&&e.attribs.class&&e.attribs.class.includes("media--type-document")){let{name:l,file:s}=e.attribs,a="https://content.birminghamal.gov"+s;s.startsWith("https://s3")&&(a=s);let r="true"===e.attribs.archival,n=r?"/archival-document?document="+decodeURI(a)+"&ad="+btoa(a)+"&title="+encodeURI(l):a;return(0,t.jsx)(c,{title:l,url:n,icon:{name:r?"box-archive":"file-arrow-down"},internal:!0,openNewWindow:!0,additionalClasses:"document-btn mb-4"})}function l(e){let s="";for(let a=0;a<e.childNodes.length;a++){let t=e.childNodes[a];3===t.nodeType&&(s+=t.nodeValue),1===t.nodeType&&("em"==t.name||"strong"==t.name)&&(s+=l(t))}return s}if(e instanceof d.W_&&e.name&&"a"===e.name&&"media"===e.attribs["data-entity-type"]){let{href:s}=e.attribs,a=l(e),r="https://content.birminghamal.gov"+s;if(s.startsWith("https://s3")&&(r=s),e.attribs["data-entity-archival"]&&"1"==e.attribs["data-entity-archival"]){let l=e.attribs.title||a,s="/archival-document?document="+decodeURI(r)+"&ad="+btoa(r)+"&title="+encodeURI(l);return(0,t.jsxs)(n(),{href:s,target:"_blank",children:[(0,t.jsx)(p,{name:"box-archive",additionalClasses:"pr-2"}),a]})}return(0,t.jsxs)(n(),{href:r,target:"_blank",children:[(0,t.jsx)(p,{name:"file",additionalClasses:"pr-2"}),a]})}if(e instanceof d.W_&&e.attribs.class&&e.attribs.class.includes("media--type-audio")){let s="",a=l(e);for(let a=0;a<e.childNodes.length;a++){let t=e.childNodes[a];1===t.nodeType&&"div"==t.name&&(s="https://content.birminghamal.gov"+l(t))}return(0,t.jsxs)("audio",{controls:!0,"aria-label":a,children:[a,(0,t.jsx)("source",{src:s,type:"audio/mpeg"}),"Your browser does not support the audio tag."]})}if(e instanceof d.W_&&e.name&&"a"===e.name&&e.attribs.href){let{href:s}=e.attribs,a=e.attribs.class,r="https://content.birminghamal.gov".split(".")[1],i=l(e);if(s.includes("https://")&&!s.includes(r))return(0,t.jsxs)(n(),{href:s,target:"_blank",className:a,children:[i,(0,t.jsx)(p,{name:"arrow-up-right-from-square","aria-label":"(link is external)"})]})}}};function u(e){let{value:l}=e;return(0,t.jsx)(t.Fragment,{children:(0,d.ZP)(l,h)})}let p=e=>{let{style:l="regular",name:s,additionalClasses:a,color:r,ariaHidden:n,tabIndex:i,role:c,onClick:d,onKeyDown:o,...m}=e;return r&&(a="text-".concat(r," ").concat("primary-1"===r&&"dark:secondary-3"," ").concat(a)),(0,t.jsx)("i",{className:["fa-".concat(s),"fa-".concat(l),"".concat(a)].join(" "),onClick:d,onKeyDown:o,...m,role:c,"aria-hidden":n,tabIndex:i})},f=e=>{let{text:l}=e;return(0,t.jsx)("div",{className:"w-full p-l text-3xl text-center border-4 border-dashed border-neutral-300 text-neutral-200",children:l||"Place holder"})},g=e=>{let{className:l}=e;return(0,t.jsxs)("div",{"aria-live":"polite","aria-busy":"true",className:l,children:[(0,t.jsx)("span",{className:"inline-flex w-full h-full leading-none bg-gray-300 rounded-md select-none animate-pulse",children:"‌"}),(0,t.jsx)("br",{})]})},j=e=>{let{className:l}=e;return(0,t.jsx)("svg",{className:l+" animate-pulse rounded bg-gray-300"})},b=e=>{let{title:l,text:s,children:r,additionalClasses:n="",variants:i,id:c}=e,[d,o]=(0,a.useState)(!1),m=d?"chevron-up":"chevron-down",x="",h=()=>{o(!d)};(0,a.useEffect)(()=>{var e,s;(null===(s=window)||void 0===s?void 0:null===(e=s.location)||void 0===e?void 0:e.hash)==="#".concat(l.toLowerCase().replace(/\s+/g,"-"))&&o(!0)},[c,l]);let u="flex w-full justify-between border-b-2 border-neutral-200 pb-3 cursor-pointer ".concat(n),f="";switch(i){default:case"border-bottom":break;case"pill":m=d?"minus":"plus",f=d?"flex w-full mb-4 justify-between px-8 py-4 mb-3 cursor-pointer rounded-full bg-purple-900 text-white ".concat(n):"flex w-full justify-between mb-4 px-8 py-4 cursor-pointer rounded-full bg-purple-100 ".concat(n),x="font-normal";break;case"active-background":m=d?"minus":"plus",f="flex justify-between w-full px-4 md:px-6 py-4 cursor-pointer ".concat(n),x="h5"}return(0,t.jsxs)("div",{className:"bg-white dark:bg-coolGray-10 border border-coolGray-20 mb-3 dark:text-white",id:l.toLowerCase().replace(/\s+/g,"-"),children:[(0,t.jsxs)("button",{onClick:h,onKeyDown:e=>{"Return"===e.key&&h()},"aria-expanded":d?"true":"false","aria-controls":"accordion-panel-".concat(c),tabIndex:0,className:f||u,children:[(0,t.jsx)("span",{className:"text-left font-bold leading-7 hover:underline ".concat(x),children:l}),(0,t.jsx)(p,{name:m,style:"regular",additionalClasses:"pl-s text-lg",ariaHidden:!0})]}),d&&(0,t.jsxs)("div",{role:"region","aria-labelledby":"accordion-header-".concat(c),id:"accordion-panel-".concat(c),children:[s&&(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:s},className:"px-6 pb-2 text-lg rich-text mb-4"}),r&&(0,t.jsx)("div",{className:"px-6 pb-2 text-lg rich-text mb-4",children:r})]})]})};var w=s(6584);let v=e=>{let l,s,{id:r,severity:n,dismissible:i,icon:c,title:d,body:o}=e,m=(0,a.useContext)(w.Z);if(!m)throw Error("Alert component must be used within a AlertProvider");let{dismissedAlerts:x,setDismissedAlerts:h}=m;if(x.includes(r))return null;switch(n){default:case"informational":l="bg-[#FEF9E6] border-l-secondary-2 dark:border-l-secondary-1",s="text-secondary-2";break;case"warning":l="bg-[#FDF8E7] border-l-[#F1C21B]",s="text-[#F1C21B]";break;case"emergency":l="bg-[#FBE7E8] border-l-[#DA1E28]",s="text-[#DA1E28]"}return(0,t.jsx)("div",{className:"".concat(l," ").concat("py-s md:p-s-desktop w-full border-l border-l-2"," dark:text-coolGray-10"),"data-nosnippet"
1:"true",children:(0,t.jsxs)("div",{className:"flex container justify-between",children:[(0,t.jsxs)("div",{className:"md:flex",children:[(0,t.jsx)(p,{name:c,style:"regular",additionalClasses:"pb-2 md:pb-0 pr-s text-3xl ".concat(s)}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"text-subtitle",children:d}),(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:o||""},className:"[&_a]:underline hover:[&_a]:opacity-70"})]})]}),i&&(0,t.jsx)("span",{onClick:()=>{h(e=>[...e,r])},className:"cursor-pointer",children:(0,t.jsx)(p,{name:"xmark-large",style:"regular",additionalClasses:"text-xl"})})]})})},N=e=>{let{links:l,numberOfItems:s,magazine:a=!1}=e;if(!l)return null;let r=l.filter((e,l)=>l<s&&null!==e.url).filter(e=>null!==e.url&&!e.url.includes("/node")).filter((e,l,s)=>l===s.findIndex(l=>l.title===e.title&&l.url===e.url));return(0,t.jsx)("div",{className:"".concat(a?"text-white bg-[#BC4430]":"text-coolGray-60"," flex flex-wrap py-s md:py-s-desktop text-body-l"),children:r.map((e,l)=>e.title&&(0,t.jsx)("div",{children:l<r.length-1?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n(),{href:e.url?e.url:"#",className:"hover:underline",children:e.title}),(0,t.jsx)(p,{style:"regular",name:"chevron-right",additionalClasses:"px-3 text-xs"})]}):(0,t.jsx)("span",{className:"font-medium",children:e.title})},l))})},y=e=>{let l,{buttons:s,variant:r,container:n,additionalClasses:i,heading:d}=e,o=s.length<2?"2":s.length>=3?"3":"2";switch(r){default:case"button-group":l="flex gap-4 flex-wrap";break;case"button-grid":l="grid gap-x-default gap-y-4 grid-cols-1 sm:grid-cols-2 md:grid-cols-".concat(o)}return i&&(l=l+" "+i),(0,t.jsxs)("div",{className:n?"container":"",children:[d&&(0,t.jsx)(es,{heading:d}),(0,t.jsx)("div",{className:l,children:s.map((e,l)=>(0,a.createElement)(c,{...e,key:l,buttonStyle:"".concat("button-grid"!=r?"secondary":"primary")}))})]})};var k=s(31);let C=e=>{let{title:l,children:s,additionalClasses:r=""}=e,{isOpen:n,toggleFilters:i}=(0,a.useContext)(k.o);return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center justify-between pt-2 pb-1 border-b-2 border-black lg:hidden lg:border-0",children:[(0,t.jsx)("h3",{className:"w-full text-[1.125rem] pt-1",children:l}),(0,t.jsx)("div",{className:"flex items-center",children:(0,t.jsx)(p,{name:n?"angle-up":"angle-down",onClick:i,color:"",additionalClasses:"text-xl"})})]}),n&&(0,t.jsx)("div",{className:r,children:(0,t.jsx)("div",{className:"flex flex-col gap-4 lg:flex-row xl:justify-between lg:items-end py-s lg:py-4 lg:items-center md:flex-wrap xl:flex-nowrap",children:s||(0,t.jsx)("div",{className:"text-lg",children:"No filters available"})})})]})},S=e=>{let l,{text:s,variant:a,children:r}=e;switch(a){default:case"primary":l="bg-coolGray-10 dark:bg-coolGray-30 border-secondary-2 dark:border-secondary-1 dark:shadow-neutral-800 dark:text-white";break;case"accent":l="bg-accent-1/10 border-accent-1"}return(0,t.jsxs)("div",{className:"p-s lg:p-s-desktop border-t-2 last:[&>*]:mb-0 ".concat(l),children:[s&&(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:s},className:"text-lg rich-text last:[&>*]:mb-0"}),r]})};var E=s(5847),I=s.n(E);let A=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(I(),{src:"https://cdn.jotfor.ms/s/umd/latest/for-embedded-agent.js",strategy:"afterInteractive"}),(0,t.jsx)(I(),{id:"chatbot-script",strategy:"afterInteractive",children:'\n            (function waitForAgent() {\n              if (window.AgentInitializer && window.AgentInitializer.init) {\n                window.AgentInitializer.init({\n                  agentRenderURL: "https://agent.jotform.com/019631d78493700882ac4258e509cc732abb",\n                  rootId: "JotformAgent-019631d78493700882ac4258e509cc732abb",\n                  formID: "019631d78493700882ac4258e509cc732abb",\n                  queryParams: ["skipWelcome=1", "maximizable=1"],\n                  domain: "https://www.jotform.com",\n                  isDraggable: false,\n                  background: "linear-gradient(180deg, #6C73A8 0%, #6C73A8 100%)",\n                  buttonBackgroundColor: "#0066C3",\n                  buttonIconColor: "#FFFFFF",\n                  variant: false,\n                  customizations: {\n                    greeting: "Yes",\n                    greetingMessage: "Hi! How can I assist you?",\n                    openByDefault: "No",\n                    pulse: "Yes",\n                    position: "right",\n                    autoOpenChatIn: "0"\n                  },\n                  isVoice: false,\n                });\n              } else {\n                setTimeout(waitForAgent, 100);\n              }\n            })();\n          '})]}),D=e=>{let{title:l,imagePath:s,imageAlt:a,description:r,path:c,tags:d,date:o,additionalClasses:x="",isHorizontal:h}=e,u="max-w-4xl overflow-hidden min-w-full";return h&&(u="w-full flex flex-col lg:flex-row"),(0,t.jsx)(n(),{href:c,className:"group  ".concat(x),children:(0,t.jsxs)("div",{className:"".concat(u," shadow-lg dark:shadow-neutral-900 dark:bg-coolGray-20"),children:[s&&(0,t.jsx)("div",{className:h?"relative w-full lg:w-1/3 min-h-[13rem] h-full lg:min-w-[33%]":"relative w-full h-52 md:h-64",children:(0,t.jsx)(m(),{src:s,alt:a||"",fill:!0,sizes:"(max-width: 1024px) 33vw, (max-width: 768px) 50vw, 100vw",className:"object-cover"})}),(0,t.jsxs)("div",{className:"p-4 pt-6 text-coolGray-90",children:[(0,t.jsx)("h3",{className:"mb-4 group-hover:underline group-hover:underline-offset-2 text-xl",children:l}),(0,t.jsx)("p",{children:r}
1),o&&(0,t.jsx)("p",{className:"my-2 text-neutral-600 dark:text-neutral-400",children:o}),d&&(0,t.jsx)(i,{text:d,iconName:"tag",variant:"light",additionalClasses:"mt-2"})]})]})})},F=e=>{let l,s,{id:a,title:r,position:n,phone:c,email:d,imagePath:o,imageAlt:x,variant:h,additionalClasses:u,path:p}=e;switch(h){default:case"withImage":l="",s="text-body";break;case"noImage":l="text-lg",s=""}return(0,t.jsx)("div",{className:"inline-block ".concat(u," ").concat(p?"group":""),children:(0,t.jsxs)("div",{className:"flex gap-8 w-full ".concat("linked"===h?"flex-col":"flex-row"),children:["withImage"==h&&o&&(0,t.jsx)("div",{className:"relative w-20 h-20 min-w-[5rem] md:w-28 md:h-28 md:min-w-[7rem] rounded-full bg-coolGray-10 dark:bg-coolGray-20",children:(0,t.jsx)(m(),{src:o,alt:x,fill:!0,sizes:"(max-width: 1024px) 33vw, (max-width: 768px) 50vw, 100vw",className:"rounded-full object-cover"})}),"linked"==h&&o&&(0,t.jsx)("div",{className:"relative w-full aspect-[4/5]",children:(0,t.jsx)(m(),{src:o,alt:x,fill:!0,sizes:"(max-width: 1024px) 33vw, (max-width: 768px) 50vw, 100vw",className:"object-cover"})}),(0,t.jsxs)("div",{className:"flex flex-col justify-center dark:text-white",children:[(0,t.jsx)("h3",{className:"mb-2 group-hover:underline ".concat(l),children:r}),n&&(0,t.jsx)("p",{className:"mb-2 ".concat(s),children:n}),c&&(0,t.jsx)(i,{text:c,link:"tel:"+"".concat(c),iconName:"phone",variant:"regular",additionalClasses:"".concat(s)}),d&&(0,t.jsx)(i,{text:d,link:"mailto:"+"".concat(d),iconName:"envelope",variant:"regular",additionalClasses:"break-all ".concat(s)})]})]})})},G=e=>{let{title:l,filename:s,path:a,date:r,type:d,department:o,tags:m,className:x,downloadButton:h,archival:u}=e;return(0,t.jsx)("div",{className:"block pb-s lg:pb-s-desktop border-b border-coolGray-20 dark:text-white ".concat(x),children:(0,t.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,t.jsxs)("div",{className:"flex-grow",children:[(0,t.jsxs)(n(),{href:a,target:"_blank",className:"group",children:[(0,t.jsx)("h3",{className:"mb-2 lg:mt-0 group-hover:underline group-hover:underline-offset-2 dark:text-white",children:l||s}),l&&s&&(0,t.jsx)("div",{className:"text-base text-neutral-500 dark:text-coolGray-70 mb-2",children:s})]}),(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row lg:gap-2",children:[u&&(0,t.jsx)(i,{text:"Archival Document",iconName:"box-archive",variant:"light",additionalClasses:"lg:pl-2 text-base text-neutral-500"}),(0,t.jsx)(i,{text:d,iconName:"Archival Document"===d?"box-archive":"file",variant:"light"}),r&&(0,t.jsx)(i,{text:r,iconName:"calendar",variant:"light",additionalClasses:"lg:pl-2"}),m&&(0,t.jsx)(i,{text:m,iconName:"tags",variant:"light",additionalClasses:"lg:pl-2"}),o&&(0,t.jsx)(i,{text:o,iconName:"building-columns",variant:"light",additionalClasses:"lg:pl-2"})]})]}),(0,t.jsx)("div",{children:h&&(0,t.jsx)(c,{url:a,title:"Download",icon:{name:"download",type:"solid"},additionalClasses:"font-bold"})})]})})},L=e=>{let{buttonContent:l,children:s,isDesktop:r}=e,[n,i]=(0,a.useState)(!1),c=(0,a.useRef)(null),d=(0,a.useRef)(null),o=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=e=>{var l,s;(null===(l=d.current)||void 0===l?void 0:l.contains(e.target))||(null===(s=c.current)||void 0===s?void 0:s.contains(e.target))||i(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,a.useEffect)(()=>{let e=e=>{if("Escape"===e.key){var l;i(!1),null===(l=c.current)||void 0===l||l.focus()}};if(n){var l;document.addEventListener("keydown",e),null===(l=o.current)||void 0===l||l.focus()}return()=>document.removeEventListener("keydown",e)},[n]),(0,t.jsxs)("div",{className:"relative inline-block items-center",children:[(0,t.jsxs)("button",{ref:c,onClick:()=>i(!n),className:"flex items-center hover:underline underline-offset-2 ".concat(r?"h-full":"py-2 text-md font-medium"),"aria-haspopup":"true","aria-expanded":n,children:[l," ",(0,t.jsx)(p,{name:"chevron-down",additionalClasses:"ml-2 -translate-y-px"})]}),n&&(0,t.jsx)("div",{ref:d,className:"origin-top-left ".concat(r?"absolute left-0 w-60":"w-full"," rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 p-6 z-20 dark:bg-coolGray-20"),role:"menu","aria-orientation":"vertical",children:a.Children.map(s,(e,l)=>a.cloneElement(e,{ref:0===l?o:null,tabIndex:0===l?0:-1}))})]})};s(2432);let T=e=>{let{title:l,date:s,location:a,locationTitle:r,tags:c,link:d,border:o,additionalClasses:m="",status:h,locationPath:u,filterdate:p}=e,f=(0,x.vX)(s),g="";switch(o){default:case"top":g="flex justify-normal w-full";break;case"bottom":g="flex justify-normal flex-col border-b-2 border-neutral-200 pb-2 w-full mb-s";break;case"all":g="border-2 border-secondary-2 dark:border-secondary-1 px-s pt-s pb-1 w-full mb-s h-full";break;case"none":g="flex justify-normal"}let j="",b="",w="";switch(h){default:case"active":break;case"postponed":j="text-amber-600 mt-3",b="calendar-circle-exclamation",w="Postponed";break;case"canceled":j="text-red-800 mt-3",b="ban",w="Canceled"}return(0,t.jsxs)("div",{className:"".concat(g," ").concat(m),children:[(0,t.jsxs)("div",{className:"flex mb-4 items-center",children:[(0,t.jsxs)("div",{"aria-hidden":"true",className:"bg-coolGray-10 dar
1k:bg-coolGray-30 text-accent-1 dark:text-white text-center mr-s lg:mr-s-desktop px-2 min-w-16 w-16 h-16 max-h-16 flex flex-col justify-center content-center shrink-0",children:[(0,t.jsx)("span",{className:"block text-s font-normal leading-5 ",children:f.shortMonth}),(0,t.jsx)("span",{className:"block text-2xl font-bold leading-7",children:f.day})]}),l&&(0,t.jsx)(n(),{href:d,className:"block mb-2 hover:underline hover:underline-offset-2",children:(0,t.jsx)("h3",{className:"text-xl mb-0 dark:text-white",children:l})})]}),(0,t.jsxs)("div",{children:[s&&(0,t.jsx)(i,{iconName:"calendar",text:f.fullDate?f.fullDate:"",additionalClasses:"mb-3"}),f.time&&(0,t.jsx)(i,{iconName:"clock",text:f.time,additionalClasses:"mb-3"}),a&&(0,t.jsx)(i,{iconName:"location-dot",label:r&&r,text:a,link:u||"",additionalClasses:"mb-3"}),c&&(0,t.jsx)(i,{text:c,variant:"pill",additionalClasses:"m-0"}),h&&"active"!=h&&(0,t.jsx)(i,{iconName:b,text:w,additionalClasses:j})]})]})},R=e=>{let{title:l,description:s,imagePath:a,imageAlt:r,buttonText:n,buttonUrl:d,buttonAriaLabel:o,imageAlignment:x,hasBackground:h,container:u,additionalClasses:p="",date:f,preTitle:g,children:j,buttonStyle:b="primary",department:w}=e,v="order-1",N="order-2";switch(x){default:case"left":break;case"right":v="order-2",N="order-1"}let y="";return h&&(y="bg-coolGray-10 py-l dark:bg-coolGray-20 ".concat(u?"md:px-0":"px-4 md:px-l shadow-lg")),(0,t.jsx)("div",{className:"dark:text-white ".concat(y," ").concat(p),children:(0,t.jsxs)("div",{className:"group lg:grid items-start lg:gap-default items-center ".concat(u&&"container"," ").concat(a&&"lg:grid-cols-2"),children:[a&&(0,t.jsx)("div",{className:"relative mb-6 lg:mb-0 lg:h-full ".concat(v),children:(0,t.jsx)(m(),{src:a,alt:r,width:768,height:480,sizes:"(max-width: 768px) 100vw, 50vw",className:"object-cover aspect-[2/1] lg:h-[475px] bg-coolGray-10 dark:bg-coolGray-20"})}),(0,t.jsxs)("div",{className:"flex-grow ".concat(N),children:[g&&(0,t.jsx)("div",{className:"text-caption text-primary-1 dark:text-white mb-2",children:g}),(0,t.jsxs)("h2",{className:"mb-5",children:[l," "]}),f&&(0,t.jsxs)("div",{className:"my-4 text-subtitle",children:[(0,t.jsx)("span",{children:f}),w&&(0,t.jsx)(i,{text:w,variant:"pill",additionalClasses:"ml-4"})]}),s&&(0,t.jsx)("p",{className:"mb-4 text-body-l",children:s}),j&&(0,t.jsx)(t.Fragment,{children:j}),n&&d&&(0,t.jsx)(c,{title:n,url:d,buttonStyle:b,additionalClasses:"mt-5",ariaLabel:o})]})]})})},M=e=>{let{link:l,title:s,description:a,background:r,bgColor:i,iconName:c,iconColor:d,iconStyle:o,titleColor:m,internal:x}=e,h="w-20 h-20 mr-3 rounded-full flex items-center justify-center basis-20 shrink-0 ";a&&(h+=" -mt-3");let u="";r&&(u="bg-"+i+" p-s md:p-s-desktop rounded");let f="group-hover:text-white";switch(d){default:case"primary-1":h+=" group-hover:bg-primary-1";break;case"secondary-1":h+=" group-hover:bg-secondary-1";break;case"secondary-2":h+=" group-hover:bg-secondary-2";break;case"accent-1":h+=" group-hover:bg-accent-1";break;case"white":h+=" group-hover:bg-white dark:bg-coolGray-10",f="group-hover:text-primary-1"}return(0,t.jsxs)(n(),{href:l,"aria-label":x?s:"External link: "+s,className:"".concat(u," ")+(a?"group flex items-start":"group flex items-center"),children:[(0,t.jsx)("div",{className:h,children:(0,t.jsx)(p,{name:c,style:o,additionalClasses:"text-4xl lg:text-[2.75rem] text-".concat(d," ").concat(f," dark:text-secondary-1")})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-".concat(m," group-hover:text-secondary-2"),children:s}),a&&(0,t.jsxs)("p",{className:"mt-2 dark:text-white",children:[a,x&&(0,t.jsx)(p,{name:"arrow-right",style:"regular",role:"presentation",additionalClasses:"ml-2"}),!x&&(0,t.jsx)(p,{name:"arrow-up-right-from-square",role:"presentation",style:"regular",additionalClasses:"pl-2 text-sm -translate-y-[0.1rem]"})]})]})]})},W=e=>{let{url:l,title:s,internal:a,iconName:r,iconStyle:i,additionalClasses:c=""}=e;return(0,t.jsxs)(n(),{href:l,"aria-label":a?s:"External link: "+s,className:"py-6 px-4 font-body text-base text-center inline-block rounded bg-primary-1 text-white \n      hover:bg-secondary-3 hover:text-primary-1 dark:bg-secondary-3 dark:text-primary-1 dark:hover:bg-secondary-1 ".concat(c),children:[(0,t.jsx)(p,{name:r,style:i,additionalClasses:"mr-2 mb-2 text-[2rem]"}),(0,t.jsxs)("div",{children:[s,!a&&(0,t.jsx)(p,{name:"arrow-up-right-from-square",role:"presentation",additionalClasses:"pl-2 text-xs -translate-y-0.5"})]})]})},z=e=>{let{title:l,imagePath:s,imageAlt:a,description:r,path:i,link:c,additionalClasses:d=""}=e;return(0,t.jsx)(n(),{href:c?c.url:i,className:"group ".concat(d),children:(0,t.jsxs)("div",{className:"".concat("max-w-4xl overflow-hidden min-w-full"," dark:bg-coolGray-20"),children:[s&&(0,t.jsx)("div",{className:"relative w-full aspect-[5/6] object-cover",children:(0,t.jsx)(m(),{src:s,alt:a||"",fill:!0,sizes:"(max-width: 1024px) 33vw, (max-width: 768px) 50vw, 100vw",className:"object-cover"})}),(0,t.jsxs)("div",{className:"dark:p-4 pt-6 text-coolGray-90",children:[(0,t.jsx)("h3",{className:"font-magazine mb-4 group-hover:underline group-hover:underline-offset-2 text-2xl",children:c?c.title:l}),(0,t.jsx)("p",{children:r})]})]})})},P=e=>{let{formURL:l,autoResize:s=!0,autoFocus:r=!0,heightOffset:n=20,initialHeight:i=540,style:c={},onSubmit:d=()=>{},...o}=e,m=(0,a.useRef)(null),[x,h]=(0,a.useState)({height:i,overflow:"hidden",border:0,width:"100%"});return(0,a.useEffect)(()=>
1{if(!(null==m?void 0:m.current))return;m.current.src||(m.current.src=l+"?isIframeEmbed=1");let e=l.substring(l.lastIndexOf("/")+1),a=l=>{if(!l)return;if("object"==typeof l.data&&"submission-completed"===l.data.action){d();let l=document.title;window.mixpanel.track("Form Submitted",{formID:e,page_title:l});return}if("string"!=typeof l.data)return;let[a,t,i]=l.data.split(":");if(!e||!i||i==e)switch(!0){case"scrollIntoView"===a&&r:var c;"function"==typeof(null===(c=m.current)||void 0===c?void 0:c.scrollIntoView)&&m.current.scrollIntoView();break;case"setHeight"===a&&s:h({...x,height:parseInt(t,10)+n});break;case"reloadPage"===a:try{window.location.reload()}catch(e){console.log("failed to reload",e)}}};return window.addEventListener&&window.addEventListener("message",a,!0),()=>{window.removeEventListener&&window.removeEventListener("message",a,!0)}},[r,s,x,l,n,d]),(0,t.jsx)("iframe",{ref:m,title:"JotForm Form",style:{...x,...c},allowFullScreen:!0,allow:"geolocation; microphone; camera",frameBorder:"0",scrolling:"no",...o})},_=e=>{let{id:l}=e;return(0,t.jsx)(P,{formURL:"https://form.jotform.com/".concat(l)})},q=e=>{let{title:l,links:s,onJump:r,headingLevel:n,container:i}=e,d=(0,a.useRef)(null),[o,m]=(0,a.useState)([]),[h,u]=(0,a.useState)(0);(0,a.useEffect)(()=>{d.current&&m((0,x.z8)(n,d.current))},[n]);let p=()=>{let e=0,l=document.querySelector("header");if(l){let s=l.getBoundingClientRect().height;"fixed"===getComputedStyle(l).getPropertyValue("position")&&(e=s)}u(e)};(0,a.useEffect)(()=>(p(),window.addEventListener("resize",p),window.addEventListener("scroll",p),()=>{window.removeEventListener("resize",p),window.removeEventListener("scroll",p)}),[]);let f=e=>{r&&r(e);let l=document.getElementById(e);if(l){let e=l.getBoundingClientRect().top+window.pageYOffset+-h;window.scrollTo({top:e,behavior:"smooth"})}};return(0,t.jsxs)("div",{ref:d,className:"flex flex-col md:flex-row md:items-baseline mb-s md:mb-s-desktop ".concat(i?"container":""),children:[(0,t.jsx)("span",{className:"font-bold text-base flex-none dark:text-white",children:l}),(0,t.jsx)("div",{className:"flex flex-wrap gap-4 lg:ml-s",children:null==o?void 0:o.map(e=>(0,t.jsx)(c,{title:e.title,buttonStyle:"secondary",url:"#".concat(e.path),additionalClasses:"font-normal",onClick:()=>f(e.id)},e.id))})]})},U=()=>{let[e,l]=(0,a.useState)(""),[s,r]=(0,a.useState)([]);(0,a.useEffect)(()=>{if(void 0!==window.Weglot){let e=window.Weglot.options.languages.map(e=>({lang:e.language_to,name:window.Weglot.getLanguageName(e.language_to)})).concat({lang:window.Weglot.options.language_from,name:window.Weglot.getLanguageName(window.Weglot.options.language_from)}).sort((e,l)=>e.name.localeCompare(l.name));l(window.Weglot.getCurrentLang()),r(e)}},[]);let n=e=>{window.Weglot.switchTo(e),l(e)};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"weglot-container","data-wg-notranslate":"true",children:(0,t.jsx)("ul",{className:"language-switcher flex flex-col",children:s.map((l,s)=>(0,t.jsx)("li",{className:l.lang===e?"my-1 text-neutral-950 dark:text-white":"cursor-pointer my-1 text-secondary-1 hover:text-secondary-2 hover:underline",children:(0,t.jsxs)("a",{href:"#",lang:l.lang,"data-l":l.lang,"aria-label":"Switch to ".concat(l.name),"aria-current":l.lang===e?"true":void 0,onClick:e=>{e.preventDefault(),n(l.lang)},onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),n(l.lang))},tabIndex:0,children:[l.name,l.lang===e&&(0,t.jsx)(p,{name:"check",additionalClasses:"text-green-700 ml-2",ariaHidden:!0})]})},s))})})})},B=e=>{let{title:l,hideImage:s,imagePath:a,imageAlt:r,description:c,path:d,tags:o,date:x,department:h,pageType:u,listing:p,additionalClasses:f=""}=e,g="w-full lg:flex lg:gap-default";return s&&(g=""),(0,t.jsx)(n(),{href:d,className:"group ".concat(f),"aria-label":l,children:(0,t.jsxs)("div",{className:"border-b justify-between border-coolGray-20 min-w-full dark:text-white ".concat(p?"pb-s lg:pb-s-desktop":"py-s lg:py-s-desktop"," ").concat(g),children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("h3",{className:"mb-2 lg:mt-0 group-hover:underline group-hover:underline-offset-2",children:l}),(0,t.jsx)("p",{className:"mb-2",children:c}),x&&(0,t.jsx)("p",{className:"mb-2 text-[#666] dark:text-coolGray-70",children:x}),o&&(0,t.jsx)(i,{text:o,iconName:"tag",variant:"light"}),h&&(0,t.jsx)(i,{text:h,iconName:"building-columns",variant:"light"}),u&&(0,t.jsx)("p",{className:"mb-2 -order-1 font-black text-[1rem] tracking-wider text-coolGray-60 uppercase",children:u})]}),a&&!s&&(0,t.jsx)("div",{className:"relative w-full lg:w-1/3 lg:min-w-[33%] aspect-[3/2] mb-2 lg:mb-0",children:(0,t.jsx)(m(),{src:a,alt:r||"",fill:!0,sizes:"(max-width: 1024px) 33vw, (max-width: 768px) 50vw, 100vw",className:"".concat(u&&"Department"===u?"object-contain":"object-cover")})})]})})};
1var O=s(8316),H=s(517),Z=s.n(H);let V=e=>{var l,s,r,n,i,c,d;let{map:o,feature:m,selectedStore:x,setSelectedStore:h,storeDetail:u,detailLoading:p}=e,f=(0,a.useRef)(document.createElement("div")),g=(0,a.useRef)(document.createElement("div")),j=(0,a.useRef)(null),b=(0,a.useRef)(null),w=m.properties.name===(null==x?void 0:x.properties.name);return(0,a.useEffect)(()=>{var e,l;let s=null===(e=m.geometry)||void 0===e?void 0:e.coordinates;if(!(Array.isArray(s)&&s.length>=2&&"number"==typeof s[0]&&"number"==typeof s[1]&&isFinite(s[0])&&isFinite(s[1])))return;let a=new(Z()).Popup({offset:25}).setDOMContent(g.current),t=new(Z()).Marker({element:f.current}).setLngLat(null===(l=m.geometry)||void 0===l?void 0:l.coordinates).setPopup(a).addTo(o);return j.current=t,b.current=a,()=>{a.remove(),t.remove()}},[o,m]),(0,a.useEffect)(()=>{b.current&&w&&(b.current.remove(),b.current.addTo(o))},[u,p,w,o]),(0,a.useEffect)(()=>{b.current&&(w?b.current.addTo(o):b.current.remove())},[w,o]),(0,t.jsxs)(t.Fragment,{children:[(0,O.createPortal)((0,t.jsx)("div",{onClick:()=>h(m),className:"bg-contain bg-no-repeat cursor-pointer transition w-[37px] h-[40px]",style:{backgroundImage:w?'url("/static/map-marker-active.svg")':'url("/static/map-marker.svg")'}}),f.current),(0,O.createPortal)((0,t.jsxs)("div",{className:"p-3 min-w-[11.25rem]",children:[(0,t.jsx)("h3",{className:"font-semibold text-base mb-1 w-1/2",children:m.properties.name}),(0,t.jsx)("p",{className:"text-xs text-gray-400 mb-2",children:m.properties.projectNumber}),(0,t.jsxs)("div",{className:"border-b border-[#e5e7eB] py-4",children:[(0,t.jsx)("p",{className:"text-sm",children:m.properties.address}),(0,t.jsxs)("p",{className:"text-sm",children:[m.properties.city,", ",m.properties.state," ",m.properties.postalCode]}),m.properties.phoneFormatted&&(0,t.jsx)("a",{href:"tel:".concat(m.properties.phone),className:"text-sm mt-2 block hover:underline",children:m.properties.phoneFormatted})]}),m.properties.stage&&(0,t.jsxs)("div",{className:"flex gap-4 border-b border-[#e5e7eB] py-4",children:[(0,t.jsx)("strong",{className:"text-gray-600 uppercase mt-[1px]",children:"Stage"}),(0,t.jsx)("p",{className:"text-sm",children:m.properties.stage.trim()})]}),(0,t.jsxs)("div",{className:"flex gap-4 border-b border-[#e5e7eB] py-4",children:[(0,t.jsx)("strong",{className:"text-gray-600 uppercase mt-[1px]",children:"Status"}),(0,t.jsx)("p",{className:"text-sm",children:m.properties.status})]}),p&&(0,t.jsx)("p",{className:"text-sm text-gray-400 py-3 animate-pulse",children:"Loading details..."}),!p&&u&&(0,t.jsxs)(t.Fragment,{children:[(null===(l=u.properties)||void 0===l?void 0:l.type)&&(0,t.jsxs)("div",{className:"flex gap-4 border-b border-[#e5e7eB] py-4",children:[(0,t.jsx)("strong",{className:"text-gray-600 uppercase mt-[1px]",children:"Type"}),(0,t.jsx)("p",{className:"text-sm",children:u.properties.type})]}),(null===(s=u.properties)||void 0===s?void 0:s.department)&&(0,t.jsxs)("div",{className:"flex gap-4 border-b border-[#e5e7eB] py-4",children:[(0,t.jsx)("strong",{className:"text-gray-600 uppercase mt-[1px]",children:"Department"}),(0,t.jsx)("p",{className:"text-sm",children:u.properties.department})]}),(null===(r=u.properties)||void 0===r?void 0:r.program)&&(0,t.jsxs)("div",{className:"flex gap-4 border-b border-[#e5e7eB] py-4",children:[(0,t.jsx)("strong",{className:"text-gray-600 uppercase mt-[1px]",children:"Program"}),(0,t.jsx)("p",{className:"text-sm",children:u.properties.program})]}),(null===(n=u.properties)||void 0===n?void 0:n.region)&&(0,t.jsxs)("div",{className:"flex gap-4 border-b border-[#e5e7eB] py-4",children:[(0,t.jsx)("strong",{className:"text-gray-600 uppercase mt-[1px]",children:"Region"}),(0,t.jsx)("p",{className:"text-sm",children:u.properties.region})]}),(null===(i=u.properties)||void 0===i?void 0:i.neighborhood)&&(0,t.jsxs)("div",{className:"flex gap-4 border-b border-[#e5e7eB] py-4",children:[(0,t.jsx)("strong",{className:"text-gray-600 uppercase mt-[1px]",children:"Neighborhood"}),(0,t.jsx)("p",{className:"text-sm",children:u.properties.neighborhood})]}),(null===(c=u.properties)||void 0===c?void 0:c.community)&&(0,t.jsxs)("div",{className:"flex gap-4 border-b border-[#e5e7eB] py-4",children:[(0,t.jsx)("strong",{className:"text-gray-600 uppercase mt-[1px]",children:"Community"}),(0,t.jsx)("p",{className:"text-sm",children:u.properties.community})]}),(null===(d=u.properties)||void 0===d?void 0:d.notes)&&(0,t.jsxs)("div",{className:"flex gap-4 border-b border-[#e5e7eB] py-4",children:[(0,t.jsx)("strong",{className:"text-gray-600 uppercase mt-[1px]",children:"Notes"}),(0,t.jsx)("p",{className:"text-sm",children:u.properties.notes})]})]})]}),g.current)]})},K=e=>{let{menu:l}=e;return(0,t.jsx)("div",{className:"flex items-center",children:l&&(0,t.jsx)("nav",{"aria-label":"Main",children:(0,t.jsx)("ul",{className:"flex flex-row justify-end gap-4 xl:gap-default bg-secondary-3 py-4 bg-transparent self-end",children:l.items.map((e,l)=>(0,t.jsx)("li",{className:"p-1",children:(0,t.jsx)(n(),{href:e.url,className:"text-lg lg:text-2xl font-medium relative after:block after:absolute after:inset-x-0 hover:after:h-0.5 after:bg-secondary-2 after:-bottom-2 after:transition-all hover:after:-translate-y-1 after:duration-500 after:opacity-0 hover:after:opacity-100 after:ease-in-out dark:text-white",children:e.title})},l))})})})},Y=e=>{let{menu:l,children:s,openMenu:r}=e,[i,c]=(0,a.useState)(!1);return(0,t.jsxs)("div",{className:"",children:[(0,t.jsx)("div",{className:"flex bg-primary-1 p-s w-16 h-16 justify-center items-center ml-auto",onClick:()=>{c(!i),r(!i)},children:i?(0,t.jsx)(p,{name:i?"xmark-large":"bars",style:"regular",additionalClasses:"text-2xl"}):(0,t.jsx)("span",{className:"text-xs font-medium tracking-wider",children:"Menu"})}),i&&l&&(0,t.jsx)("nav",{"aria-label":"Main",children:(0,t.jsxs)("ul",{className:"flex flex-col gap-2 bg-primary-1 p-s absolute inset-x-0 top-16 bottom-0 z-10",children:[l.items.map((e,l)=>(0,t.jsx)("li",{className:"py-1",children:(0,t.jsx)(n(),{href:e.url,className:"hover:underline underline-offset-2 text-lg font-medium",children:e.title})},l)),s]})})]})},J=e=>{let{title:l,description:s,path:a,tags:r,additionalClasses:n="",date:i}=e;return(0,t.jsxs)("div",{className:"block h-full pt-6 px-4 pb-4 flex flex-col justify-between shadow-lg border border-coolGray-20 bg-white dark:bg-coolGray-10 dar
1k:bg-coolGray-10 dark:shadow-neutral-800 dark:text-white ".concat(n),children:[(0,t.jsxs)("div",{className:"mb-8",children:[r&&(0,t.jsx)("div",{className:"font-medium",children:r}),(0,t.jsx)("h3",{className:"text-xl mb-4",children:l}),s&&(0,t.jsx)("p",{children:s}),i&&(0,t.jsx)("div",{className:"mt-4 text-black dark:text-white dark:text-white text-body-s",children:i})]}),(0,t.jsx)(c,{url:a,title:"Read more ",buttonStyle:"primary",iconRight:"arrow-right",ariaLabel:"Read ".concat(l)})]})},X=e=>{let{heading:l,date:s,variant:a,headingClasses:r,logo:n,subHeading:i}=e,c="";switch(a){default:case"border":c="border-b-2 border-black dark:border-white mb-s md:mb-s-desktop dark:text-white";break;case"color-line":c="mb-s md:mb-s-desktop after:content-[''] after:block after:h-2 after:w-16 after:bg-primary-1 dark:text-white";break;case"issue":c="text-white container py-s lg:py-s-desktop";break;case"none":c="mb-s md:mb-s-desktop dark:text-white flex justify-between"}return(0,t.jsxs)("div",{className:"".concat(c," ").concat("issue"===a?"flex justify-between flex-col-reverse lg:flex-row gap-4":""),children:[(0,t.jsxs)("div",{className:n?"flex flex-col justify-center max-w-[83%]":"",children:[(0,t.jsx)("h1",{className:"mb-s ".concat(r&&r),children:l}),i&&(0,t.jsx)("span",{className:"text-h4 text-white font-medium",children:i}),s&&(0,t.jsx)("p",{className:"text-lg text-black dark:text-white font-bold mb-s",children:s})]}),n&&(0,t.jsx)("div",{className:"relative ".concat("issue"===a?"h-[6.875rem] w-full lg:h-16 lg:w-[17rem] my-auto":"w-16 h-16 lg:h-[7rem]"),children:(0,t.jsx)(m(),{src:n,alt:"",fill:!0,sizes:"(max-width: 1024px) 33vw, (max-width: 768px) 50vw, 100vw",className:"object-contain",unoptimized:!0})})]})},Q=e=>{let l,{heading:s,date:a,padding:r,page:n,breadcrumbs:i}=e;return l=r?"flex md:flex-row flex-wrap my-s md:my-s-desktop ":"flex md:flex-row flex-wrap",(0,t.jsxs)("div",{children:[i&&(0,t.jsx)(N,{links:i,numberOfItems:10}),(0,t.jsxs)("div",{className:l,children:[(0,t.jsx)("h1",{className:"mb-s mr-s dark:text-white",children:s}),(0,t.jsxs)("div",{className:"flex items-center gap-4 sm:ml-auto mb-s",children:[(0,t.jsx)(c,{title:"List",icon:{name:"list",style:"light"},url:"/events",buttonStyle:"list"!=n?"secondary":"primary"}),(0,t.jsx)(c,{title:"Month",icon:{name:"calendar-days",style:"light"},url:"/events/calendar",buttonStyle:"month"!=n?"secondary":"primary"}),(0,t.jsx)(c,{title:"Today",icon:{name:"calendar-day",style:"light"},onClick:()=>{window.location.href="/events/calendar/".concat(a)},buttonStyle:"date"!=n?"secondary":"primary"})]})]})]})},$=e=>{let{onFirst:l,onPrevious:s,onNext:a,onLast:r,totalPages:n,currentPage:i,onPageChange:d,additionalClasses:o=""}=e,m=(()=>{let e=[],l=Math.max(0,Math.min(i-2,n-5)),s=Math.min(l+5,n);for(let a=l;a<s;
1a++)e.push(a);return e})();return(0,t.jsxs)("div",{className:"flex flex-wrap gap-2 mb-8 ".concat(o),children:[i>0&&l&&(0,t.jsx)(c,{onClick:l,title:"First",buttonStyle:"tertiary",icon:{name:"angles-left",style:"regular"},ariaLabel:"First Page"}),i>0&&s&&(0,t.jsx)(c,{onClick:s,title:"Previous",buttonStyle:"tertiary",icon:{name:"angle-left",style:"regular"},ariaLabel:"Previous Page"}),m.map(e=>(0,t.jsx)(t.Fragment,{children:i===e?(0,t.jsx)(c,{buttonStyle:"primary",title:(e+1).toString(),ariaLabel:"Page ".concat(e+1),additionalClasses:"cursor-auto"}):(0,t.jsx)(c,{onClick:()=>d(e),title:(e+1).toString(),buttonStyle:"tertiary",ariaLabel:"Page ".concat(e+1)})})),i<n-1&&a&&(0,t.jsx)(c,{onClick:a,title:"Next",buttonStyle:"tertiary",icon:{name:"angle-right",style:"regular"},additionalClasses:"flex flex-row-reverse align-center gap-2 items-baseline",ariaLabel:"Next Page"}),i<n-1&&r&&(0,t.jsx)(c,{onClick:r,title:"Last",buttonStyle:"tertiary",icon:{name:"angles-right",style:"regular"},additionalClasses:"flex flex-row-reverse align-center gap-2 items-baseline",ariaLabel:"Last Page"})]})},ee=e=>{let l,s,{steps:a,variant:r,container:n,heading:i}=e;switch(r){default:case"border":l="md:flex md:gap-6 border-t-2 border-neutral-200 last:border-b-2 py-s dark:border-coolGray-30",s="w-12 h-12 flex-none rounded-full border-2 border-primary-1 dark:border-secondary-3 flex items-center justify-center font-medium text-2xl text-primary-1 dark:text-secondary-3 mb-s md:mb-0 ";break;case"no-border":l="flex gap-6 py-s dark:text-white",s="w-12 h-12 flex-none rounded-full border-2 border-primary-1 flex items-center justify-center font-medium text-2xl text-primary-1";break;case"solid":l="bg-neutral-100 relative p-s pl-12 mt-4 mb-8 ml-4 dark:text-white",s="w-12 h-12 bg-primary-1 flex-none rounded-full flex items-center justify-center font-medium text-xl text-white absolute -left-4 -top-4"}return(0,t.jsxs)("div",{className:n?"container":"w-full",children:[i&&(0,t.jsx)(es,{heading:i}),a.map((e,a)=>(0,t.jsxs)("div",{className:l,children:[(0,t.jsx)("div",{className:s,children:a+1}),(0,t.jsxs)("div",{className:"dark:text-white",children:[(0,t.jsx)("h3",{className:"mb-2",children:e.title}),e.text&&(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:e.text},className:"rich-text"}),e.children&&(0,t.jsx)("div",{className:"rich-text",children:e.children})]})]},a))]})},el=e=>{var l;let{paragraph:s,container:r}=e;return l=function(e){let[l,s]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!e)return;let l=()=>{let e=window.innerWidth<=768;"undefined"!=typeof document&&document.querySelectorAll(".rich-text .responsive").forEach(l=>{l.querySelectorAll("table").forEach(l=>{let s=l.querySelector("thead"),a=l.querySelector("tbody");if(a){if(e){if(s){let e=Array.from(s.querySelectorAll("th"));a.querySelector("td[rowspan]")||(Array.from(a.querySelectorAll("tr")).forEach(l=>{e.forEach((e,s)=>{let a=e.innerText,t=l.children[s];""!==a.trim()&&t.insertAdjacentHTML("afterbegin",'<span class="responsive-title">'.concat(a,"</span>"))})}),s.remove())}}else if(s){let e=s.querySelector("tr"),t=null==e?void 0:e.querySelector(":first-child");(null==t?void 0:t.innerText.trim())===""&&t.setAttribute("aria-hidden","true");let r=a.querySelector("tr");if(r){let e=Array.from(r.querySelectorAll(".responsive-title")),s=document.createElement("thead"),t=document.createElement("tr");e.forEach(e=>{let l=document.createElement("th");l.textContent=e.textContent||"",t.appendChild(l)}),s.appendChild(t),l.insertBefore(s,a),e.forEach(e=>{e.remove()})}Array.from(a.querySelectorAll(".responsive-title")).forEach(e=>{e.remove()});let n=a.querySelector("tr"),i=l.querySelector("thead tr"),c=null==n?void 0:n.children.length,d=null==i?void 0:i.children.length;if(i&&n&&d<c){let e=c-d;for(let l=0;l<e;l++){let e=document.createElement("th");e.setAttribute("aria-hidden","true"),e.innerHTML="&nbsp;",i.insertBefore(e,i.firstChild)}}}}})}),s(e)};l();let a=new ResizeObserver(()=>{l()});return a.observe(document.body),()=>{a.disconnect()}},[e]),l}(s.responsiveTables),(0,a.useEffect)(()=>{let e=()=>{let e=0,s=document.querySelector("header");if(s){let l=s.getBoundingClientRect().height;"fixed"===getComputedStyle(s).getPropertyValue("position")&&(e=l)}document.querySelectorAll(".rich-text table").forEach(s=>{let a=s.querySelector("thead");a&&(!l||window.innerWidth>768)?a.style.top="".concat(e,"px"):a&&(a.style.top="")})};return(()=>{let e=0,s=document.querySelector("header");if(s){let l=s.getBoundingClientRect().height;"fixed"===getComputedStyle(s).getPropertyValue("position")&&(e=l)}document.querySelectorAll(".rich-text table").forEach(s=>{s.querySelectorAll("tr >
1 th").forEach(e=>{""!==e.textContent.trim()&&e.setAttribute("scope","row")});let a=s.querySelector("thead");a&&(!l||window.innerWidth>768)?(a.style.position="sticky",a.style.top="".concat(e,"px"),Array.from(a.querySelectorAll("th")).forEach(e=>{""!==e.textContent.trim()&&e.setAttribute("scope","col")})):a&&(a.style.position="",a.style.top="")})})(),window.addEventListener("resize",e),window.addEventListener("scroll",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e),document.querySelectorAll(".rich-text table").forEach(e=>{let l=e.querySelector("thead");l&&(l.style.position="",l.style.top="",Array.from(l.querySelectorAll("th")).forEach(e=>{e.removeAttribute("scope")}))})}},[l]),(0,t.jsxs)("div",{className:"".concat(r?"container":""," rich-text"),children:[s.title&&(0,t.jsx)(es,{heading:s.title}),s.callOutBox?(0,t.jsx)(S,{variant:"primary",children:(0,t.jsx)(u,{value:s.body.processed})}):(0,t.jsx)("div",{className:s.responsiveTables?"responsive":"",children:(0,t.jsx)(u,{value:s.body.processed})})]})},es=e=>{let{heading:l,button:s,additionalClasses:a=""}=e,r=(null==s?void 0:s.url)||(null==s?void 0:s.title);return(0,t.jsxs)("div",{className:"mb-s md:mb-s-desktop md:flex items-center ".concat(r?"justify-between":"justify-start"," ").concat(a),children:[l&&(0,t.jsx)("h2",{className:"mb-3 md:mb-0 dark:text-white",children:l}),r&&(0,t.jsx)(c,{...s,buttonStyle:"tertiary"})]})},ea=e=>{let l,{title:s,children:r,direction:n="column",additionalClasses:i=""}=e,[c,d]=(0,a.useState)(!1);l=c?"block":"hidden md:flex";let o="md:flex-col md:justify-between bg-coolGray-10 p-s md:p-4 dark:bg-coolGray-20 dark:text-white";switch(n){default:case"column":break;case"row":o="md:flex-row gap-4 md:flex md:justify-between mb-4"}return(0,t.jsxs)("div",{className:"".concat(i),children:[(0,t.jsxs)("div",{className:"flex justify-between bg-coolGray-10 py-2 md:bg-transparent md:p-0 md:mb-0 group",children:[s&&(0,t.jsx)("h4",{className:"".concat("row"==n&&"md:hidden"," md:pb-2 mb-0 md:mb-2 md:group-hover:no-underline w-full dark:text-white"),children:s}),(0,t.jsx)("div",{className:"md:hidden flex items-center pr-1",children:(0,t.jsx)(p,{name:c?"chevron-up":"chevron-down",style:"regular",additionalClasses:"text-xl pt-1 dark:text-white",onClick:()=>{d(!c)}})})]}),(0,t.jsx)("div",{className:"".concat(l," ").concat(o,"  "),children:r||(0,t.jsx)("div",{className:"text-lg",children:"No filters available"})})]})},et=e=>{let l,{links:s}=e,[r,i]=(0,a.useState)(!1);(0,a.useEffect)(()=>{i(window.innerWidth>768);let e=()=>{i(window.innerWidth>768)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]);let c=e=>(0,t.jsx)(t.Fragment,{children:e&&e.map((e,l)=>(0,t.jsxs)("div",{className:"w-full mt-3 pl-3",children:[(0,t.jsx)(n(),{href:e.url,className:!0===e.active?"[&>span]:font-semibold":"w-full",children:(0,t.jsxs)("span",{className:"my-1 text-[16px] hover:underline",children:[e.title,e.url.startsWith("https://")&&(0,t.jsx)(p,{name:"arrow-up-right-from-square",additionalClasses:"text-xs -translate-y-0.5 pl-2"})]})}),!0===e.activeParent&&(0,t.jsx)(t.Fragment,{children:c(e.children)})]},l))}),d="";return s&&"title"in s&&(d=s.title),(0,t.jsxs)("nav",{"aria-label":"Sidebar navigation",className:"border border-coolGray-20",children:[d.length>0&&(0,t.jsxs)("div",{className:"flex justify-between mb-0 px-3 md:px-0 group text-coolGray-60",onClick:()=>{window.innerWidth<=768&&i(!r)},children:[(0,t.jsx)("h2",{className:"py-3 md:mx-4 md:w-full md:text-center h4",children:d}),(0,t.jsx)("div",{className:"md:hidden flex flex-col justify-center",children:(0,t.jsx)(p,{name:r?"chevron-up":"chevron-down",style:"solid",additionalClasses:"text-lg"})})]}),r&&s&&"children"in s&&(0,t.jsx)("div",{className:"grid grid-cols-1 md:justify-between divide-y-2 divide-coolGray-10 px-4 pb-4 dark:text-white",children:s&&(l=s.children,(0,t.jsx)(t.Fragment,{children:l&&l.map((e,l)=>{var s;return(0,t.jsxs)("div",{className:!0===e.active||!0===e.activeParent?"p-3 text-body bg-coolGray-10":"p-3 text-body lg",children:[(0,t.jsxs)(n(),{href:e.url,className:"group flex w-full justify-between items-baseline",children:[(0,t.jsxs)("span",{className:"group-hover:underline",children:[e.title,e.url.startsWith("https://")&&(0,t.jsx)(p,{name:"arrow-up-right-from-square",additionalClasses:"text-xs -translate-y-0.5 pl-2"})]}),e.children&&(null===(s=e.children)||void 0===s?void 0:s.length)>0&&(0,t.jsx)(p,{name:!0===e.active||!0===e.activeParent?"chevron-up":"chevron-down",additionalClasses:"hidden md:block"})]}),e.children&&!0===e.activeParent&&(0,t.jsx)(t.Fragment,{children:c(e.children)})]},l)})}))})]})},er=e=>{let l,s,{links:a,variant:r,additionalClasses:i,iconColor:c,heading:d,container:o}=e;switch(r){default:case"regular":s="w-full block flex my-4 ".concat(o&&"container"),l="text-2xl text-".concat(c," ").concat("primary-1"===c&&"dark:text-secondary-3 dark:hover:text-secondary-1"," hover:text-secondary-2");break;case"big":s="w-full block flex flex-col my-4 ".concat(o&&"container"),l="text-5xl text-".concat(c," ").concat("primary-1"===c&&"dark:text-secondary-3 dark:hover:text-secondary-1"," hover:opacity-70 hover:rounded-full w-16 h-16 text-center flex items-center justify-center")}return(0,t.jsxs)("div",{className:i?"".concat(i," ").concat(s):"".concat(s),children:[d&&(0,t.jsx)(es,{heading:d}),(0,t.jsx)("div",{className:"flex gap-4",children:a.map(e=>e.link&&(0,t.jsx)(n(),{href:e.link,"aria-label":e.name,className:l,target:"_blank",children:(0,t.jsx)(p,{name:e.iconName,style:"nextdoor"===e.iconName?"kit":"brands"})},e.name))})]})},en=e=>{let{stat:l,description:s,iconName:a}=e;return(0,t.jsxs)("div",{className:"flex flex-col md:pb-s md:mb-s gap-9 md:gap-5 items-baseline",children:[a&&(0,t.jsx)(p,{name:a,style:"light",additionalClasses:"text-5xl lg:text-7xl dark:text-secondary-1",color:"secondary-2"}),(0,t.jsx)("div",{className:"w-full text-4xl lg:text-5xl border-b-2 border-primary-1 dark:border-coolGray-30 pb-s text-accent-1 dark:text-white",children:l}),s&&(0,t.jsx)("div",{className:"w-full text-xl dark:text-white",children:s})]})},ei=e=>{let{title:l,imagePath:s,imageAlt:a,path:r,additionalClasses:i=""}=e,c="relative w-full h-full flex flex-col ".concat(s?"":"content-end justify-end transition-all bg-coolGray-10 group-hover:bg-secondary-2");return(0,t.jsx)(n(),{href:r,className:"group aspect-[2/3] shadow-md flex h-full max-h-80 xl:max-h-96 w-full dark:shadow-neutral-800 ".concat(i),"aria-label":l,children:(0,t.jsxs)("div",{className:c,children:[s&&(0,t.jsx)("div",{className:"flex-auto",children:(0,t.jsx)("div",{className:"relative w-full h-full",children:(0,t.jsx)(m(),{src:s,alt:a||"",fill:!0,sizes:"(max-width: 1024px) 33vw, (max-width: 768px) 50vw, 100vw",className:"object-cover"})})}),(0,t.jsxs)("div",{className:"transition-all p-4 bg-white dark:bg-coolGray-10 text-secondary-1 group-hover:text-secondary-2 flex items-center gap-4 text-lg font-medium",children:[l," ",(0,t.jsx)(p,{name:"arrow-right"})]})]})})},ec=e=>{let l,{title:s,description:a,link:r,path:i,additionalClasses:c="",variant:d="complex"}=e;switch(d){default:case"basic":l="text-secondary-1 group-hover:text-secondary-2";break;case"complex":l="text-black dark:text-white"}let o=i||(null==r?void 0:r.url)||"#";return(0,t.jsxs)(n(),{href:o,"aria-label":s,className:"group border-b-2 border-b-neutral-950 dar
1k:border-b-neutral-200 block h-full pb-4 flex flex-col justify-between dark:text-white ".concat(c),children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("h3",{className:"mb-4 ".concat(l),children:[s,"basic"===d&&(0,t.jsx)(p,{name:"arrow-right",additionalClasses:"ml-2"})]}),a&&(0,t.jsx)("p",{children:a})]}),"complex"===d&&(null==r?void 0:r.title)&&(0,t.jsxs)("div",{className:"text-secondary-1 group-hover:text-secondary-2 mt-8 font-medium",children:[r.title," ",(0,t.jsx)(p,{name:"arrow-right",additionalClasses:"pl-2"})]})]})},ed=e=>{let{heading:l,accordions:s,container:a}=e;return(0,t.jsxs)("div",{className:"bg-coolGray-10 dark:bg-coolGray-20 shadow-lg dark:shadow-neutral-800 px-4 md:px-8 py-10 md:py-14 ".concat(a&&"container border-t-2 border-coolGray-20 dark:border-coolGray-30"),children:[l&&(0,t.jsx)("div",{className:"w-full text-center mb-8",children:(0,t.jsx)("h2",{className:"text-center inline-block dark:text-white",children:l})}),s.map((e,l)=>(0,t.jsx)(b,{title:e.title,text:e.text,variants:"active-background",id:e.id,children:e.children},e.id))]})};var eo=s(210),em=s(2359),ex=s(7957),eh=s(2350),eu=s(854);let ep=e=>{let{events:l,currentDate:s,onPreviousMonth:r,onNextMonth:n}=e,i=(0,eo.N)(s),d=(0,em.V)(s),o=(0,ex.D)({start:i,end:d}),m=e=>l.filter(l=>{let{startDate:s}=l;if(!s.time)return!1;let a=new Date(s.time);return!!(0,eh.J)(a)&&e.getDate()===a.getDate()&&e.getMonth()===a.getMonth()&&e.getFullYear()===a.getFullYear()}),h=i.getDay(),u=e=>[1,3,5,7].includes(e%7+1)?"bg-coolGray-10 dark:bg-coolGray-20":"",f=e=>{let l=new Date;return e.getDate()===l.getDate()&&e.getMonth()===l.getMonth()&&e.getFullYear()===l.getFullYear()},{toggleFilters:g,isOpen:j}=(0,a.useContext)(k.o);return(0,t.jsxs)("div",{className:"overflow-hidden bg-background text-foreground",children:[(0,t.jsxs)("header",{className:"flex items-center justify-between py-4 bg-primary text-primary-foreground",children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(p,{name:"chevron-left",onClick:r,color:"secondary-1",additionalClasses:"font-semibold bg-coolGray-10 dark:bg-coolGray-20 hover:bg-primary-1 hover:text-white mr-1 rounded-full h-11 w-11 !flex items-center justify-center"}),(0,t.jsx)(p,{name:"chevron-right",onClick:n,color:"secondary-1",additionalClasses:"font-semibold bg-coolGray-10 dark:bg-coolGray-20 hover:bg-primary-1 hover:text-white mr-2 rounded-full h-11 w-11 !flex items-center justify-center"})]}),(0,t.jsx)("div",{className:"order-first text-3xl font-semibold lg:text-4xl lg:order-none",children:(0,eu.WU)(s,"MMMM yyyy")}),(0,t.jsx)("div",{className:"hidden gap-4 ml-auto lg:block",children:(0,t.jsx)(c,{onClick:g,icon:{name:j?"xmark-large":"filter",style:"light"},title:"Filters",ariaLabel:"Open and Close Filters on desktop devices"})})]}),(0,t.jsxs)("div",{className:"grid grid-cols-7 text-center lg:text-left",children:[(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"SU"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Sunday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"MO"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Monday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"TU"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Tueday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"WE"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Wednesday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"TH"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Thursday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"FR"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Friday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"SA"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Saturday"})]}),Array.from({length:h}).map((e,l)=>(0,t.jsx)("div",{className:"lg:min-h-[7rem] border-t-2 lg:p-4 text-sm ".concat(u(l))},l)),o.map((e,l)=>{let s=m(e),a=s.slice(0,2),r=s.length-a.length,n=f(e);return(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4 text-sm ".concat(u(h+l)," ").concat(n?"border-t-accent-1":""),children:[(0,t.jsx)("div",{className:"text-xl sm:text-[1.375rem] font-normal text-center lg:text-left lg:mb-1",children:s.length>0?(0,t.jsx)("a",{href:"/events/calendar/".concat((0,eu.WU)(e,"yyyy-MM-dd")),className:"underline text-primary-1 lg:text-black dark:text-white hover:text-secondary-1",children:(0,eu.WU)(e,"d")}):(0,t.jsx)("span",{children:(0,eu.WU)(e,"d")})}),(0,t.jsxs)("div",{className:"hidden lg:block lg:text-[1rem]",children:[a.map(e=>{let{id:l,path:s,startDate:a,title:r}=e;return(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{href:s,className:"text-primary-1 dark:text-white hover:text-secondary-1 hover:underline",children:r}),(0,t.jsx)("span",{className:"pl-1 text-normal text-secondary-1",children:(0,x.mr)(a)})]},l)}),r>0&&(0,t.jsxs)("a",{href:"/events/calendar/".concat((0,eu.WU)(e,"yyyy-MM-dd")),className:"text-primary-1 dark:text-white hover:text-secondary-1 hover:underline",children:[r," more..."]})]})]},e.toString())})]})]})},ef=()=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"xl:col-span-4 xl:mr-[3rem] mt-s mb-s",children:[(0,t.jsx)(g,{className:"h-16 mb-1"}),(0,t.jsx)(g,{className:"h-10 mb-1"}),(0,t.jsx)(g,{className:"h-96"})]})}),eg=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("header",{className:"flex items-center justify-between py-4 bg-primary text-primary-foreground",children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(p,{name:"chevron-left",color:"secondary-1",additionalClasses:"font-semibold bg-gray-100 hover:bg-primary-1 hover:text-white mr-1 rounded-full h-11 w-11 !flex items-center justify-center"}),(0,t.jsx)(p,{name:"chevron-right",color:"secondary-1",additionalClasses:"font-semibold bg-gray-100 hover:bg-primary-1 hover:text-white mr-2 rounded-full h-11 w-11 !flex items-center justify-center"})]}),(0,t.jsx)("div",{className:"order-first text-3xl font-semibold lg:text-4xl lg:order-none",children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("div",{className:"hidden gap-4 ml-auto lg:block",children:(0,t.jsx)(c,{icon:{name:"filter",style:"light"},title:"Filters",ariaLabel:"Open and Close Filters on desktop devices"})})]}),(0,t.jsxs)("div",{className:"grid grid-cols-7 lg:text-left",children:[(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-gray-600",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"SU"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Sunday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-gray-600",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"MO"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Monday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-gray-600",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"TU"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Tueday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-gray-600",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"WE"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Wednesday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-gray-600",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"TH"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Thursday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-gray-600",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"FR"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Friday"})]}),(0,t.jsxs)("div",{className:"pt-1 pb-2 text-xl font-normal text-gray-600",children:[(0,t.jsx)("span",{className:"lg:hidden",children:"SA"}),(0,t.jsx)("span",{className:"hidden lg:block",children:"Saturday"})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full
1"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]}),(0,t.jsxs)("div",{className:"lg:min-h-[7rem] border-t-2 p-4",children:[(0,t.jsx)("div",{className:"lg:text-left lg:mb-1",children:(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})}),(0,t.jsx)("div",{className:"hidden lg:block",children:(0,t.jsxs)("div",{className:"mb-2",children:[(0,t.jsx)("a",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})}),(0,t.jsx)("span",{className:"pl-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]})})]})]})]}),ej=e=>{let l,{columns:s,cards:a,heading:r,button:n,container:i,cardType:c,isHorizontal:d,style:o}=e;switch(s){case"1":l="md:grid-cols-1";break;case"2":l="md:grid-cols-2";break;case"3":l="md:grid-cols-3";break;default:l="md:grid-cols-2 lg:grid-cols-4"}return(0,t.jsxs)("div",{className:i?"container w-full":"w-full",children:[r&&(0,t.jsx)(es,{heading:r,button:n}),(0,t.jsx)("div",{className:"grid ".concat("issue"===c?"gap-12":"gap-6"," md:gap-x-8 md:gap-y-10 ").concat(l),children:a.map((e,s)=>(0,t.jsxs)("div",{className:"".concat(l," ").concat("issue"==c?"border-b border-b-coolGray-30 pb-m lg:border-0 lg:mb-0 lg:pb-0":""),children:["basic"==c&&(0,t.jsx)(D,{...e,isHorizontal:d,additionalClasses:"flex h-full"}),"listing"==c&&(0,t.jsx)(B,{...e,hideImage:!0,additionalClasses:"flex h-full"}),"tile"==c&&(0,t.jsx)(ei,{...e,additionalClasses:""}),"text"==c&&(0,t.jsx)(ec,{...e,additionalClasses:"",variant:o}),"news"==c&&(0,t.jsx)(J,{...e,additionalClasses:""}),"issue"==c&&(0,t.jsx)(z,{...e,additionalClasses:""})]},s))})]})},eb=()=>(0,t.jsxs)("div",{children:[(0,t.jsx)("a",{className:"mb-s md:mb-s-desktop block",children:(0,t.jsxs)("div",{className:"border-b-2 border-neutral-200 pb-s lg:pb-s-desktop min-w-full lg:justify-between w-full lg:flex lg:flex-row-reverse lg:gap-default",children:[(0,t.jsx)("div",{className:"relative w-full lg:w-2/3 h-52 lg:h-64 lg:min-w-[33%]",children:(0,t.jsx)(j,{className:"object-cover w-full h-full"})}),(0,t.jsxs)("div",{className:"relative w-full lg:w-2/3 h-52 lg:h-64 lg:min-w-[33%]",children:[(0,t.jsx)("h3",{className:"mt-2 lg:mt-0 mb-2 group-hover:underline group-hover:underline-offset-2",children:(0,t.jsx)(g,{className:"w-[296px] max-w-full"})}),(0,t.jsx)("p",{children:(0,t.jsx)(g,{className:"w-[1736px] max-w-full"})}),(0,t.jsx)("p",{className:"my-2",children:(0,t.jsx)(g,{className:"w-[136px] max-w-full"})}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mt-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[136px] max-w-full"})})]})]})]})}),(0,t.jsx)("a",{className:"mb-s md:mb-s-desktop block",children:(0,t.jsxs)("div",{className:"border-b-2 border-neutral-200 pb-s lg:pb-s-desktop min-w-full lg:justify-between w-full lg:flex lg:flex-row-reverse lg:gap-default",children:[(0,t.jsx)("div",{className:"relative w-full lg:w-2/3 h-52 lg:h-64 lg:min-w-[33%]",children:(0,t.jsx)(j,{className:"object-cover w-full h-full"})}),(0,t.jsxs)("div",{className:"relative w-full lg:w-2/3 h-52 lg:h-64 lg:min-w-[33%]",children:[(0,t.jsx)("h3",{className:"mt-2 lg:mt-0 mb-2 group-hover:underline group-hover:underline-offset-2",children:(0,t.jsx)(g,{className:"w-[448px] max-w-full"})}),(0,t.jsx)("p",{children:(0,t.jsx)(g,{className:"w-[1104px] max-w-full"})}),(0,t.jsx)("p",{className:"my-2",children:(0,t.jsx)(g,{className:"w-[128px] max-w-full"})}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mt-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[104px] max-w-full"})})]})]})]})}),(0,t.jsx)("a",{className:"mb-s md:mb-s-desktop block",children:(0,t.jsxs)("div",{className:"border-b-2 border-neutral-200 pb-s lg:pb-s-desktop min-w-full lg:justify-between w-full lg:flex lg:flex-row-reverse lg:gap-default",children:[(0,t.jsx)("div",{className:"relative w-full lg:w-2/3 h-52 lg:h-64 lg:min-w-[33%]",children:(0,t.jsx)(j,{className:"object-cover w-full h-full"})}),(0,t.jsxs)("div",{className:"relative w-full lg:w-2/3 h-52 lg:h-64 lg:min-w-[33%]",children:[(0,t.jsx)("h3",{className:"mt-2 lg:mt-0 mb-2 group-hover:underline group-hover:underline-offset-2",children:(0,t.jsx)(g,{className:"w-[536px] max-w-full"})}),(0,t.jsx)("p",{children:(0,t.jsx)(g,{className:"w-[848px] max-w-full"})}),(0,t.jsx)("p",{className:"my-2",children:(0,t.jsx)(g,{className:"w-[128px] max-w-full"})}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mt-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[104px] max-w-full"})})]})]})]})}),(0,t.jsx)("a",{className:"mb-s md:mb-s-desktop block",children:(0,t.jsxs)("div",{className:"border-b-2 border-neutral-200 pb-s lg:pb-s-desktop min-w-full lg:justify-between w-full lg:flex lg:flex-row-reverse lg:gap-default",children:[(0,t.jsx)("div",{className:"relative w-full lg:w-2/3 h-52 lg:h-64 lg:min-w-[33%]",children:(0,t.jsx)(j,{className:"object-cover w-full h-full"})}),(0,t.jsxs)("div",{className:"relative w-full lg:w-2/3 h-52 lg:h-64 lg:min-w-[33%]",children:[(0,t.jsx)("h3",{className:"mt-2 lg:mt-0 mb-2 group-hover:underline group-hover:underline-offset-2",children:(0,t.jsx)(g,{className:"w-[592px] max-w-full"})}),(0,t.jsx)("p",{children:(0,t.jsx)(g,{className:"w-[2000px] max-w-full"})}),(0,t.jsx)("p",{className:"my-2",children:(0,t.jsx)(g,{className:"w-[128px] max-w-full"})}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mt-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[104px] max-w-full"})})]})]})]})}),(0,t.jsx)("a",{className:"mb-s md:mb-s-desktop block",children:(0,t.jsxs)("div",{className:"border-b-2 border-neutral-200 pb-s lg:pb-s-desktop min-w-full lg:justify-between w-full lg:flex lg:flex-row-reverse lg:gap-default",children:[(0,t.jsx)("div",{className:"relative w-full lg:w-2/3 h-52 lg:h-64 lg:min-w-[33%]",children:(0,t.jsx)(j,{className:"object-cover w-full h-full"})}),(0,t.jsxs)("div",{className:"relative w-full lg:w-2/3 h-52 lg:h-64 lg:min-w-[33%]",children:[(0,t.jsx)("h3",{className:"mt-2 lg:mt-0 mb-2 group-hover:underline group-hover:underline-offset-2",children:(0,t.jsx)(g,{className:"w-[352px] max-w-full"})}),(0,t.jsx)("p",{children:(0,t.jsx)(g,{className:"w-[2200px] max-w-full"})}),(0,t.jsx)("p",{className:"my-2",children:(0,t.jsx)(g,{className:"w-[128px] max-w-full"})}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mt-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[104px] max-w-full"})})]})]})]})})]}),ew=e=>{let l,{columns:s,directories:a,heading:r,container:i,variant:c,linked:d=!1}=e;switch(s){case"1":l="md:grid-cols-1";break;case"2":l="lg:grid-cols-2";break;case"3":default:l="xl:grid-cols-3 lg:grid-cols-2";break;case"4":l="2xl:grid-cols-4 xl:grid-cols-3 lg:grid-cols-2"}return(0,t.jsxs)("div",{className:i?"container w-full":"w-full",children:[r&&(0,t.jsx)(es,{heading:r}),(0,t.jsx)("div",{className:"grid gap-default ".concat(l),children:a.map(e=>(0,t.jsx)("div",{className:l,children:d&&e.path?(0,t.jsx)(n(),{href:e.path,children:(0,t.jsx)(F,{...e,variant:c,additionalClasses:"flex h-full"})}):(0,t.jsx)(F,{...e,variant:c,additionalClasses:"flex h-full"})},e.id))})]})},ev=e=>{let{events:l,container:s,heading:r,button:n,display:i}=e;return(0,t.jsxs)("div",{className:s?"container w-full":"w-full",children:[r&&(0,t.jsx)(es,{heading:r,button:n}),(0,t.jsx)("div",{className:"grid"==i?"grid gap-6 lg:gap-default md:grid-cols-2 lg:grid-cols-4":"grid gap-s lg:gap-s-desktop",children:l.map((e,l)=>(0,t.jsx)("div",{className:"",children:(0,a.createElement)(T,{...e,key:l})},l))})]})},eN=()=>(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"grid gap-s lg:gap-s-desktop mb-s lg:mb-s-desktop",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex justify-normal border-b-2 border-neutral-200 pb-2 w-full mb-4",children:[(0,t.jsxs)("div",{className:"border-2 border-accent-1 mr-s lg:mr-s-desktop px-2 min-w-[75px] max-h-[75px] flex flex-col just
1ify-center content-center",children:[(0,t.jsx)("span",{className:"block leading-5",children:(0,t.jsx)(g,{className:"w-[24px] max-w-full"})}),(0,t.jsx)("span",{className:"block leading-7",children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("a",{className:"mb-2 block",children:(0,t.jsx)("h3",{children:(0,t.jsx)(g,{className:"w-[216px] max-w-full"})})}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[128px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[56px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[120px] max-w-full"})})]})]})]}),(0,t.jsxs)("div",{className:"flex justify-normal border-b-2 border-neutral-200 pb-2 w-full mb-4",children:[(0,t.jsxs)("div",{className:"border-2 border-accent-1 mr-s lg:mr-s-desktop px-2 min-w-[75px] max-h-[75px] flex flex-col justify-center content-center",children:[(0,t.jsx)("span",{className:"block leading-5",children:(0,t.jsx)(g,{className:"w-[24px] max-w-full"})}),(0,t.jsx)("span",{className:"block leading-7",children:(0,t.jsx)(g,{className:"w-[14px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("a",{className:"mb-2 block",children:(0,t.jsx)("h3",{children:(0,t.jsx)(g,{className:"w-[192px] max-w-full"})})}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[128px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[56px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[120px] max-w-full"})})]})]})]}),(0,t.jsxs)("div",{className:"flex justify-normal border-b-2 border-neutral-200 pb-2 w-full mb-4",children:[(0,t.jsxs)("div",{className:"border-2 border-accent-1 mr-s lg:mr-s-desktop px-2 min-w-[75px] max-h-[75px] flex flex-col justify-center content-center",children:[(0,t.jsx)("span",{className:"block leading-5",children:(0,t.jsx)(g,{className:"w-[24px] max-w-full"})}),(0,t.jsx)("span",{className:"block leading-7",children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("a",{className:"mb-2 block",children:(0,t.jsx)("h3",{children:(0,t.jsx)(g,{className:"w-[176px] max-w-full"})})}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[136px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[64px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[120px] max-w-full"})})]})]})]}),(0,t.jsxs)("div",{className:"flex justify-normal border-b-2 border-neutral-200 pb-2 w-full mb-4",children:[(0,t.jsxs)("div",{className:"border-2 border-accent-1 mr-s lg:mr-s-desktop px-2 min-w-[75px] max-h-[75px] flex flex-col justify-center content-center",children:[(0,t.jsx)("span",{className:"block leading-5",children:(0,t.jsx)(g,{className:"w-[24px] max-w-full"})}),(0,t.jsx)("span",{className:"block leading-7",children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("a",{className:"mb-2 block",children:(0,t.jsx)("h3",{children:(0,t.jsx)(g,{className:"w-[184px] max-w-full"})})}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[144px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[56px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[120px] max-w-full"})})]})]})]}),(0,t.jsxs)("div",{className:"flex justify-normal border-b-2 border-neutral-200 pb-2 w-full mb-4",children:[(0,t.jsxs)("div",{className:"border-2 border-accent-1 mr-s lg:mr-s-desktop px-2 min-w-[75px] max-h-[75px] flex flex-col justify-center content-center",children:[(0,t.jsx)("span",{className:"block leading-5",children:(0,t.jsx)(g,{className:"w-[24px] max-w-full"})}),(0,t.jsx)("span",{className:"block leading-7",children:(0,t.jsx)(g,{className:"w-[16px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("a",{className:"mb-2 block",children:(0,t.jsx)("h3",{children:(0,t.jsx)(g,{className:"w-[200px] max-w-full"})})}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[144px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[56px] max-w-full"})})]}),(0,t.jsxs)("div",{className:"flex items-baseline mb-2 mb-2",children:[(0,t.jsx)("i",{className:"pr-2 w-6 flex-none"}),(0,t.jsx)("span",{className:"flex-1",children:(0,t.jsx)(g,{className:"w-[120px] max-w-full"})})]})]})]})]})})}),ey=e=>{let{footerMenu:l,footerUtilityMenu:s,socialMediaMenu:a,copyright:r,logoPath:i}=e,d=a?(0,x.wi)(a.items,"City of Birmingham"):[];return(0,t.jsx)("footer",{className:"bg-primary-1 text-white pt-12 pb-8",children:(0,t.jsxs)("div",{className:"lg:container mx-auto",children:[(0,t.jsxs)("div",{className:"mb-4 lg:mb-0",children:[(0,t.jsxs)("div",{className:"lg:w-full mb-12 lg:flex lg:justify-between border-b border-b-coolGray30 px-4 lg:px-0 pb-12",children:[(0,t.jsx)("div",{className:"mb-12",children:(0,t.jsx)(m(),{width:300,height:150,alt:"",src:i,className:"w-full h-min max-w-xs",unoptimized:!0})}),(0,t.jsxs)("div",{className:"lg:flex lg:items-baseline lg:mt-4",children:[(0,t.jsx)("div",{className:"h3",children:"Sign Up For Updates!"}),(0,t.jsx)(c,{title:"Subscribe",buttonStyle:"primary",additionalClasses:"w-full mt-4 lg:mt-0 lg:basis-32 lg:ml-4",url:"https://lp.constantcontactpages.com/su/UHCspoY/spotlight",openNewWindow:!0})]})]}),(0,t.jsx)("div",{className:"lg:w-full",children:(0,t.jsxs)("div",{className:"w-full xl:mt-8 lg:flex lg:flex-wrap justify-between",children:[l&&l.items.filter(e=>"/news"!=e.url&&"/events"!=e.url).map((e,l)=>(0,t.jsxs)("div",{className:"flex flex-col gap-4 lg:max-w-[24%] text-center lg:text-left mb-16",children:[(0,t.jsx)(n(),{href:e.url,className:"font-bold mb-2 hover:underline text-body-l",children:e.title}),e.children&&e.children.map((e,l)=>(0,t.jsx)(n(),{href:e.url,className:"hover:underline text-medium",children:e.title},l))]},l)),d.length>0&&(0,t.jsxs)("div",{className:"mb-6 lg:mb-0 lg:order-last text-center lg:text-left",children:[(0,t.jsx)("div",{className:"font-bold mb-2 text-body-l",children:"Join Us"}),(0,t.jsx)(er,{links:d,variant:"regular",iconColor:"white",additionalClasses:"w-full justify-center flex"})]})]})})]}),(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row justify-between border-t border-t-white mt-12 pt-12 text-center",children:[(0,t.jsxs)("p",{className:"p-4 mb-4 text-sm lg:basis-1/2 lg:p-0 lg:text-left",children:[r,(0,t.jsx)(n(),{href:"https://www.ifsight.com/",target:"_blank",className:"px-4 w-full text-sm block mt-12 lg:w-[auto] lg:ml-8 lg:inline lg:mt-0 hover:underline",children:"Powered by Interpersonal Frequency"})]}),s&&(0,t.jsx)("div",{className:"lg:flex mb-6 lg:mb-0 lg:basis-1/2 lg:justify-end",children:s.items.map((e,l)=>(0,t.jsx)("div",{className:"my-12 lg:px-3 lg:p-0 lg:ml-12 lg:my-0",children:(0,t.jsx)(n(),{href:e.url,className:"font-medium mb-2 hover:underline",children:e.title})},l))})]})]})})};var ek=s(5632),eC=s(9234);let eS=e=>{let{logoPath:l,mainMenu:s,utilityMenu:r}=e,i=(0,ek.useRouter)(),[c,d]=(0,a.useState)(!1),[o,x]=(0,a.useState)(!1),h=(0,a.useRef)(null),u=(0,a.useRef)(null),[f,g]=(0,a.useState)(""),[j,b]=(0,a.useState)([]),w=e=>{g(e.target.value),v(e.target.value)},v=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{let l=await fetch("https://search-api.swiftype.com/api/v1/public/engines/suggest.json?engine_key=".concat(eC.wR.engineKey,"&q=").concat(e),{method:"GET",credentials:"include"}),s=(await l.json()).records.page.map(e=>({id:e.id,title:e.title,url:e.url}));b(s)}catch(e){console.error("Failed to fetch autocomplete suggestions",e)}};(0,a.useEffect)(()=>{d(window.innerWidth>768);let e=()=>{d(window.innerWidth>768)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]);let N=()=>
1{if(""!==f.trim()){let e="/search?q=".concat(encodeURIComponent(f),"&size=n_20_n");"/search"===i.pathname?window.location.href=e:i.push(e)}},y=e=>{var l,s,a,t;if("Enter"===e.key)N();else if("Escape"===e.key)b([]);else if("ArrowDown"===e.key){e.preventDefault();let a=null===(l=u.current)||void 0===l?void 0:l.children[0];if(document.activeElement===h.current)a&&a.focus();else if(u.current&&u.current.children&&Array.from(u.current.children).includes(document.activeElement)){let e=null===(s=document.activeElement)||void 0===s?void 0:s.nextElementSibling;e&&e.focus()}}else if("ArrowUp"===e.key&&(e.preventDefault(),u.current&&u.current.children&&Array.from(u.current.children).includes(document.activeElement))){let e=null===(a=document.activeElement)||void 0===a?void 0:a.previousElementSibling;e?e.focus():null===(t=h.current)||void 0===t||t.focus()}};return(0,t.jsxs)("header",{className:"".concat(!c&&o&&"fixed bg-primary-1 inset-0 z-50 overflow-auto pb-4"),children:[(0,t.jsx)("div",{className:"bg-[#D9E6E7] dark:bg-coolGray-20 text-coolGray-90 hidden md:block",children:(0,t.jsxs)("div",{className:"md:container w-full flex justify-between flex-col lg:flex-row lg:items-center",children:[(0,t.jsx)("div",{className:"font-medium md:pt-4 lg:pt-0",children:(0,t.jsx)(L,{buttonContent:"Select Your Language",isDesktop:!0,children:(0,t.jsx)(U,{})})}),(0,t.jsxs)("div",{className:"flex justify-between items-center md:-ml-3 lg:ml-0",children:[r&&r.items.map((e,l)=>(0,t.jsx)(n(),{href:e.url,className:"px-3 py-1 hover:underline font-medium",children:e.title},l)),(0,t.jsxs)("div",{className:"relative flex flex-col justify-center ml-4",children:[(0,t.jsx)("input",{type:"text",className:"border-neutral-300 w-full md:w-[10rem] 2xl:w-[25rem] text-black dark:text-white my-2 h-10 ",value:f,onChange:w,onKeyDown:y,tabIndex:0,"aria-label":"Search",placeholder:"Search"}),(0,t.jsx)(p,{name:"magnifying-glass",onClick:N,ariaHidden:!0,additionalClasses:"md:w-auto rounded-full absolute bottom-4 right-[0.25rem] bg-transparent text-neutral-400 p-2 cursor-pointer hover:bg-primary-1 hover:text-white"}),j&&j.length>0&&(0,t.jsxs)("div",{ref:u,className:"absolute bg-white/95 p-s z-50 rounded-lg top-[65px]",onKeyDown:y,children:[j.map(e=>(0,t.jsx)(n(),{href:e.url,tabIndex:0,className:"block text-black pb-2 hover:underline last:pb-0",children:null==e?void 0:e.title.replace(/ \|\ City of Birmingham, Alabama$/,"")},null==e?void 0:e.id)),(0,t.jsx)(n(),{href:"/search?q=".concat(encodeURIComponent(f)),tabIndex:0,className:"text-primary-1 underline hover:text-primary-5 font-bold w-full block",onClick:e=>{e.preventDefault(),window.location.href="/search?q=".concat(encodeURIComponent(f))},children:"View All Results"})]})]})]})]})}),(0,t.jsx)("div",{className:"bg-primary-1",children:(0,t.jsxs)("div",{className:"md:container flex justify-between gap-default text-white ".concat(o&&"absolute top-0 inset-x-0 z-50"),children:[(0,t.jsx)(n(),{href:"/",className:"p-2 md:pl-0 md:py-2 flex items-center",children:(0,t.jsx)("div",{className:"max-h-12 md:max-h-20 min-w-[11.87rem] lg:min-w-[19.68rem] min-h-[3rem] lg:h-20 relative",children:(0,t.jsx)(m(),{src:l,alt:"City of Birmingham, Alabama",fill:!0,priority:!0,unoptimized:!0})})}),s&&(c?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(K,{menu:s})}):(0,t.jsx)(Y,{menu:s,openMenu:e=>{x(e)},children:(0,t.jsxs)("div",{className:"flex flex-col lg:hidden",children:[r&&r.items.map((e,l)=>(0,t.jsx)(n(),{href:e.url,className:"hover:underline underline-offset-2 py-2 text-md font-medium",children:e.title},l)),(0,t.jsx)("div",{className:"relative flex flex-col justify-center mb-8",children:(0,t.jsx)(L,{buttonContent:"Select Your Language",isDesktop:!1,children:(0,t.jsx)(U,{})})}),(0,t.jsxs)("div",{className:"relative flex flex-col justify-center mb-8",children:[(0,t.jsx)("input",{type:"text",className:"border-neutral-300 w-full md:w-[10rem] 2xl:w-[25rem] text-black dark:text-white mt-4",value:f,onChange:w,onKeyDown:y,tabIndex:0,"aria-label":"Search",placeholder:"Search"}),(0,t.jsx)(p,{name:"magnifying-glass",onClick:N,"aria-hidden":"true",additionalClasses:"md:w-auto rounded-full absolute bottom-[6px] lg:bottom-[1.35rem] right-[0.25rem] bg-transparent text-neutral-400 p-2 cursor-pointer hover:bg-primary-1 hover:text-white"})]})]})}))]})})]})},eE=e=>{let l,s,a,{columns:r,items:n,heading:i,button:c,additionalClasses:d="",hasBackgroun
1d:o,container:m,highlightStyle:x}=e;switch(r){case"2":l="md:grid-cols-2";break;case"4":l="md:grid-cols-4";break;default:l="md:grid-cols-3"}return o?(a="bg-secondary-3",s="py-l md:py-l-desktop ".concat(d)):(a="bg-transparent",s=d),(0,t.jsx)("div",{className:"".concat(s," ").concat(a),children:(0,t.jsxs)("div",{className:m?"container":"",children:[i&&(0,t.jsx)(es,{heading:i,button:c}),(0,t.jsx)("div",{className:"grid gap-6 md:gap-default ".concat(l),children:n.map((e,s)=>(0,t.jsx)("div",{className:l,children:(0,t.jsx)(M,{...e,background:x,bgColor:x?"secondary-3":void 0})},s))})]})})},eI=e=>{let{tiles:l,container:s,additionalClasses:r="",heading:n}=e,i=null==l?void 0:l.length,c=s?6:4;(s&&i<6||!s&&i<4)&&(c=i);let d=s?"grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-".concat(c):"grid-cols-2 lg:grid-cols-".concat(c);return(0,t.jsxs)("div",{className:"".concat(s?"container":""," ").concat(r),children:[n&&(0,t.jsx)(es,{heading:n}),(0,t.jsx)("div",{className:"grid gap-6 md:gap-default ".concat(d),children:l.map(e=>(0,a.createElement)(W,{...e,key:e.id}))})]})};s(6189);var eA=s(6591),eD=s.n(eA),eF=s(9929),eG=s(1760);s(4479);let eL=e=>{let{stores:l,selectedStore:s,setSelectedStore:r,scrollRef:n}=e,i=(0,a.useRef)({});return(0,a.useEffect)(()=>{if(s&&i.current&&i.current[s.properties.name]){let e=i.current[s.properties.name];e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}},[s]),(0,t.jsxs)("div",{ref:n,className:"h-[22rem] lg:h-auto w-full lg:w-1/5 overflow-x-hidden overflow-y-auto bg-[#f5f9f9] z-10",children:[(0,t.jsxs)("span",{className:"p-4 text-xl border-b border-[#e5e7eB] block",children:[l.length," projects showing"]}),l.map(e=>{let l=e.properties.name===(null==s?void 0:s.properties.name);return(0,t.jsxs)("div",{ref:l=>{i.current[e.properties.name]=l},onClick:()=>r(e),className:"".concat(l?"bg-[#d9e6e7]":"bg-[#f5f9f9]"," border-b border-[#e5e7eB] hover:bg-[#d9e6e7] relative flex flex-col transition-all duration-200 cursor-pointer p-4"),children:[(0,t.jsx)("h4",{className:"mb-2 text-sg-green text-xl font-semibold",children:e.properties.name}),(0,t.jsx)("div",{className:"text-sg-green leading-normal font-light",children:e.distance&&(0,t.jsxs)("div",{className:"text-xs text-gray-500",children:[e.distance.toFixed(2)," miles away"]})})]},e.properties.name)})]})},eT=e=>{var l;let s=null===(l=e.geometry)||void 0===l?void 0:l.coordinates;if(!Array.isArray(s)||s.length<2)return!1;let[a,t]=s;return"number"==typeof a&&"number"==typeof t&&isFinite(a)&&isFinite(t)},eR=e=>{let l,{storeLocations:s}=e,r=(0,a.useRef)(null),n=(0,a.useRef)(null),i=(0,a.useRef)(null),d=(0,a.useRef)(null),o=(0,a.useRef)(document.createElement("div")),m=(0,a.useRef)(null),x=(0,a.useRef)(null),[h,u]=(0,a.useState)(s),[f,g]=(0,a.useState)(!1),[j,b]=(0,a.useState)(null),[w,v]=(0,a.useState)(null),[N,y]=(0,a.useState)(!1),k=(0,a.useRef)("Search for a location"),C=(0,a.useRef)(null),S=(0,a.useRef)(document.createElement("div")),[E,I]=(0,a.useState)("Active"),[A,D]=(0,a.useState)("all"),F=(0,O.createPortal)((0,t.jsx)(p,{name:"location-crosshairs",style:"regular",additionalClasses:"text-3xl"}),o.current),G=(0,O.createPortal)((0,t.jsx)(p,{name:"location-crosshairs",style:"regular",additionalClasses:"text-3xl"}),S.current);(0,a.useEffect)(()=>(Z().accessToken="pk.eyJ1IjoiaWZzaWdodCIsImEiOiJhNzU2WWVNIn0.cTx6jxPhBRPW_ArLGBgBTQ",r.current=new(Z()).Map({container:n.current,center:[-86.81751201589937,33.51994871861432],zoom:12.5,style:"mapbox://styles/mapbox/streets-v12"}),r.current.on("load",()=>g(!0)),()=>{var e;null===(e=r.current)||void 0===e||e.remove()}),[]),(0,a.useEffect)(()=>{var e;if(null===(e=m.current)||void 0===e||e.remove(),m.current=null,!j)return;if(!eT(j)){m.current=new(Z()).Popup({closeOnClick:!0}).setLngLat(r.current.getCenter()).setHTML("<p style='margin:0.5rem 0 0;padding:0 2px'>No location information available for this project.</p>").addTo(r.current);return}let l=window.innerWidth>=768;r.current.flyTo({center:j.geometry.coordinates,zoom:r.current.getZoom(),duration:1e3,padding:l?{top:0,bottom:0,left:0,right:400}:{top:0,bottom:0,left:0,right:0}})},[j]),(0,a.useEffect)(()=>
1{if(!j){v(null);return}let e=j.properties.id;e&&(y(!0),fetch("".concat("https://content.birminghamal.gov","/api/procore-projects/").concat(e)).then(e=>e.json()).then(e=>v(e)).catch(console.error).finally(()=>y(!1)))},[j]),(0,a.useEffect)(()=>{var e;if(!f||!r.current||!i.current)return;let l=new(eD())({accessToken:Z().accessToken,mapboxgl:Z(),marker:!1,placeholder:"Search for a location"});i.current.appendChild(l.onAdd(r.current));let s=null===(e=i.current)||void 0===e?void 0:e.querySelector("input");return s&&(s.placeholder=k.current),l.on("result",e=>{var l,s,a,t;b(null),null===(l=x.current)||void 0===l||l.scrollTo({top:0,behavior:"smooth"});let n=null===(s=e.result.geometry)||void 0===s?void 0:s.coordinates,c={units:"miles"};u(h.filter(eT).map(e=>{var l;return{...e,distance:eF.T(eG.xm(n),eG.xm(null===(l=e.geometry)||void 0===l?void 0:l.coordinates),c)}}).sort((e,l)=>{var s,a;return(null!==(s=e.distance)&&void 0!==s?s:0)-(null!==(a=l.distance)&&void 0!==a?a:0)})),C.current&&C.current.remove(),C.current=new(Z()).Marker({element:S.current,anchor:"center"}).setLngLat(n).addTo(r.current),r.current.flyTo({center:n,zoom:13,duration:1e3}),k.current=null!==(t=e.result.place_name)&&void 0!==t?t:e.result.text;let d=null===(a=i.current)||void 0===a?void 0:a.querySelector("input");d&&(d.placeholder=k.current)}),()=>{l.onRemove()}},[f,h]);let L=(l="stage",["all",...Array.from(new Set(s.map(e=>e.properties[l]).filter(e=>null!=e&&""!==e))).sort()]),T=h.filter(e=>("all"===E||e.properties.status===E)&&("all"===A||e.properties.stage===A));return(0,t.jsxs)(t.Fragment,{children:[F,G,(0,t.jsxs)("div",{className:"flex flex-col container w-full mb-l lg:desktop-mb-l",children:[(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row gap-4 lg:gap-8 mb-4",children:[(0,t.jsx)(c,{title:"Use My Location",iconRight:"location-crosshairs",buttonStyle:"primary",additionalClasses:"min-w-[320px]",onClick:()=>{var e;if(null===(e=x.current)||void 0===e||e.scrollTo({top:0,behavior:"smooth"}),!navigator.geolocation){alert("Geolocation is not supported by your browser.");return}navigator.geolocation.getCurrentPosition(e=>{let l=[e.coords.longitude,e.coords.latitude],a={units:"miles"};u(s.filter(eT).map(e=>{var s;return{...e,distance:eF.T(eG.xm(l),eG.xm(null===(s=e.geometry)||void 0===s?void 0:s.coordinates),a)}}).sort((e,l)=>{var s,a;return(null!==(s=e.distance)&&void 0!==s?s:0)-(null!==(a=l.distance)&&void 0!==a?a:0)})),d.current&&d.current.remove(),d.current=new(Z()).Marker({element:o.current}).setLngLat(l).addTo(r.current),r.current.flyTo({center:l,zoom:13,duration:1e3})},e=>{switch(e.code){case e.PERMISSION_DENIED:alert("Location access was denied. Please enable it in your browser settings.");break;case e.POSITION_UNAVAILABLE:alert("Your location could not be determined.");break;case e.TIMEOUT:alert("Location request timed out. Please try again.")}},{timeout:1e4})}}),(0,t.jsx)("strong",{className:"dark:text-white flex flex-col justify-center min-w-[180px]",children:"or Search by Address:"}),(0,t.jsx)("div",{ref:i,className:"w-full"})]}),(0,t.jsxs)("div",{className:"mb-4 flex gap-4 flex-col lg:flex-row",children:[(0,t.jsx)("select",{id:"status-filter",value:E,onChange:e=>I(e.target.value),className:"text-[#697077] border-2 border-gray-300 rounded px-3 py-1.5",children:["all","Active","Inactive"].map(e=>(0,t.jsx)("option",{value:e,children:"all"===e?"All Statuses":e},e))}),(0,t.jsx)("select",{id:"stage-filter",value:A,onChange:e=>D(e.target.value),className:"text-[#697077] border-2 border-gray-300 rounded px-3 py-1.5",children:L.map(e=>(0,t.jsx)("option",{value:e,children:"all"===e?"All Stages":e},e))})]}),(0,t.jsxs)("div",{className:"flex flex-col-reverse lg:flex-row lg:h-[50rem] w-full",children:[(0,t.jsx)(eL,{stores:T,selectedStore:j,setSelectedStore:b,scrollRef:x}),(0,t.jsx)("div",{className:"w-full lg:w-4/5 h-[22rem] lg:h-auto",children:(0,t.jsx)("div",{className:"h-full w-full",ref:n,children:f&&T.filter(eT).map(e=>(0,t.jsx)(V,{feature:e,map:r.current,setSelectedStore:b,selectedStore:j,storeDetail:e.properties.name===(null==j?void 0:j.properties.name)?w:null,detailLoa
1ding:e.properties.name===(null==j?void 0:j.properties.name)&&N},e.properties.name))})})]})]})]})};var eM=s(6094),eW=s(7617),ez=s(9734);let eP=e=>{let{events:l,currentDate:s,setCurrentDate:r,handleDateClick:n,selectedDate:i}=e,d=e=>(0,eu.WU)(e,"yyyy-MM-dd")===i,o=(e=>{let[l,s,a]=e.split("-").map(Number);return new Date(l,s-1,a)})(s),m=(0,eo.N)(o),x=(0,em.V)(o),h=(0,ex.D)({start:m,end:x}),u=e=>l.some(l=>{let{startDate:s}=l;if(!s.time)return!1;let a=new Date(s.time);return!!(0,eh.J)(a)&&e.getDate()===a.getDate()&&e.getMonth()===a.getMonth()&&e.getFullYear()===a.getFullYear()}),f=m.getDay(),g=e=>[1,3,5,7].includes(e%7+1)?"bg-coolGray-10 dark:bg-coolGray-20":"",j=e=>{let l=new Date;return e.getDate()===l.getDate()&&e.getMonth()===l.getMonth()&&e.getFullYear()===l.getFullYear()},{toggleFilters:b,isOpen:w}=(0,a.useContext)(k.o);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute right-0 hidden col-span-12 text-right lg:block",children:(0,t.jsx)(c,{onClick:b,icon:{name:w?"xmark-large":"filter",style:"light"},title:"Filters",ariaLabel:"Open and Close Filters on desktop devices"})}),(0,t.jsxs)("div",{className:"overflow-hidden bg-background text-foreground xl:col-span-4 xl:mr-[3rem] mb-s",children:[(0,t.jsxs)("header",{className:"flex items-center justify-between xl:justify-normal bg-primary text-primary-foreground mb-s",children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(p,{name:"chevron-left",onClick:()=>{let e=(0,eM.W)(new Date(s),1);r((0,eu.WU)(e,"yyyy-MM-dd"))},color:"secondary-1",additionalClasses:"font-semibold bg-coolGray-10 dark:bg-coolGray-20 hover:bg-primary-1 hover:text-white mr-1 rounded-full h-11 w-11 !flex items-center justify-center"}),(0,t.jsx)(p,{name:"chevron-right",onClick:()=>{let e=(0,eW.z)(new Date(s),1);r((0,eu.WU)(e,"yyyy-MM-dd"))},color:"secondary-1",additionalClasses:"font-semibold bg-coolGray-10 dark:bg-coolGray-20 hover:bg-primary-1 hover:text-white mr-2 rounded-full h-11 w-11 !flex items-center justify-center"})]}),(0,t.jsx)("div",{className:"order-first text-3xl font-semibold xl:order-none",children:(0,eu.WU)((0,ez.zW)("".concat(s,"T00:00:00Z"),"UTC"),"MMMM yyyy")})]}),(0,t.jsxs)("div",{className:"grid grid-cols-7 text-center",children:[(0,t.jsx)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:(0,t.jsx)("span",{children:"SU"})}),(0,t.jsx)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:(0,t.jsx)("span",{children:"MO"})}),(0,t.jsx)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:(0,t.jsx)("span",{children:"TU"})}),(0,t.jsx)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:(0,t.jsx)("span",{children:"WE"})}),(0,t.jsx)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:(0,t.jsx)("span",{children:"TH"})}),(0,t.jsx)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:(0,t.jsx)("span",{children:"FR"})}),(0,t.jsx)("div",{className:"pt-1 pb-2 text-xl font-normal text-coolGray-60",children:(0,t.jsx)("span",{children:"SA"})}),Array.from({length:f}).map((e,l)=>(0,t.jsx)("div",{className:"border-t-2 text-sm ".concat(g(l))},l)),h.map((e,l)=>{let s=d(e),a=j(e);return(0,t.jsx)("div",{className:"border-t-2 px-2 py-4 text-sm ".concat(g(f+l)," ").concat(a?"border-t-accent-1":""," ").concat((u(e),"")," ").concat(s?"bg-primary-1 dark:bg-secondary-1 text-white":""),onClick:()=>n(e),children:(0,t.jsx)("div",{className:"text-xl sm:text-[1.375rem] font-normal text-center",children:u(e)?(0,t.jsx)(c,{onClick:()=>n(e),title:(0,eu.WU)(e,"d"),buttonStyle:"plain",additionalClasses:"text-xl sm:text-[1.375rem] font-normal text-center text-secondary-1 hover:text-secondary-1 [&&]:py-0 [&&]:px-0 m-0 ".concat(s?"[&&]:text-white":"underline")}):(0,t.jsx)("span",{children:(0,eu.WU)(e,"d")})})},e.toString())})]})]})]})},e_=e=>{let{heading:l,subheading:s,imagePath:a,imageAlt:r,buttons:n,iconLink:i,preTitle:d}=e;return(0,t.jsxs)("div",{className:"sm:container flex flex-col md:grid md:grid-cols-2 md:justify-between md:gap-default",children:[(0,t.jsxs)("div",{className:"m-s md:m-0 md:mb-l-desktop md:flex md:flex-col md:justify-between order-2 md:order-1 ",children:[(0,t.jsxs)("div",{children:[d&&(0,t.jsx)("div",{className:"text-caption mb-2 md:mt-8",children:d}),(0,t.jsx)("h1",{className:"mb-4 text-coolGray-90 mb-12",children:l}),s&&(0,t.jsx)("p",{className:"mb-m md:mb-16 dark:text-white",children:s}),n&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c,{...n[0],buttonStyle:"primary",additionalClasses:"border-2 border-secondary-1 hover:border-secondary-2 mr-4 mb-4"}
1),n[1]&&(0,t.jsx)(c,{...n[1],buttonStyle:"secondary",additionalClasses:"mb-4"})]})]}),i&&(0,t.jsx)("div",{className:"border-t-2 border-b-2 border-neutral-200 dark:border-neutral-800 py-s mt-s md:mt-m",children:(0,t.jsx)(M,{...i})})]}),a&&(0,t.jsx)("div",{className:"w-full h-60 md:h-full md:min-h-[26.5rem] relative order-1 md:order-2 ",children:(0,t.jsx)(m(),{src:a,alt:r,fill:!0,sizes:"100vw",className:"object-cover",priority:!0})})]})},eq=e=>{let l,s,{heading:r,description:n,photoGallery:i,variant:c="default",container:d}=e,[o,x]=(0,a.useState)(!1),[h,u]=(0,a.useState)(null),f=(0,a.useRef)(null),g=e=>{u(e),x(!0)},j=()=>{u(null),x(!1)};switch((0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&j()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]),(0,a.useEffect)(()=>{o&&f.current&&f.current.focus()},[o]),c){default:case"default":l="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4 md:gap-default",s="w-full h-auto";break;case"masonry":l="columns-1 sm:columns-2 md:columns-3 lg:columns-4 gap-4 md:gap-default",s="mb-4 md:mb-8 break-inside-avoid"}return(0,t.jsxs)("div",{className:d?"container":void 0,children:[r&&(0,t.jsx)(es,{heading:r}),n&&(0,t.jsx)("p",{className:"lg:w-1/2 mb-8 dark:text-white",children:n}),i&&(0,t.jsx)("div",{className:l,children:i.map((e,l)=>(0,t.jsxs)("div",{className:s,children:["masonry"===c?(0,t.jsx)(m(),{src:e.url,alt:e.alt?e.alt:"",width:500,height:400,className:"h-auto max-w-full w-full cursor-pointer",onClick:()=>g(e)}):(0,t.jsx)(m(),{src:e.url,alt:e.alt?e.alt:"",width:600,height:500,sizes:"(max-width: 768px) 50vw, 33vw",className:"h-auto max-w-full object-cover object-center aspect-[3/2] cursor-pointer",onClick:()=>g(e)}),(0,t.jsxs)("div",{className:"text-base py-1 text-left flex flex-col gap-2 mt-4",children:[e.title&&(0,t.jsx)("p",{className:"h4 dark:text-white",children:e.title}),e.imageDescription&&(0,t.jsx)("p",{className:"dark:text-white",children:e.imageDescription}),e.imageAuthor&&(0,t.jsx)("p",{className:"text-xs dark:text-white",children:"Photo by - "+e.imageAuthor})]})]},l))}),o&&h&&(0,t.jsxs)("div",{onClick:j,className:"fixed inset-0 bg-black z-50 flex items-center justify-center cursor-zoom-out",children:[(0,t.jsxs)("div",{className:"relative w-11/12 max-w-4xl",children:[(0,t.jsx)(m(),{src:h.url,alt:h.alt||"",width:1200,height:800,className:"w-full h-auto max-h-[50rem] object-contain"}),(0,t.jsxs)("div",{className:"text-base py-1 text-left flex flex-col gap-2 mt-4",children:[h.title&&(0,t.jsx)("p",{className:"h4 text-white dark:text-white",children:h.title}),h.imageDescription&&(0,t.jsx)("p",{className:"text-white dark:text-white",children:h.imageDescription}),h.imageAuthor&&(0,t.jsx)("p",{className:"text-xs text-white dark:text-white",children:"Photo by - "+h.imageAuthor})]})]}),(0,t.jsx)("button",{ref:f,onClick:j,onKeyDown:e=>{"Enter"===e.key&&j()},type:"button","aria-label":"Close",className:"absolute top-4 right-4 w-full flex justify-end focus:outline-none focus-visible:ring focus-visible:ring-white",children:(0,t.jsx)(p,{name:"xmark",additionalClasses:"text-neutral-50 text-5xl mr-4 lg:mr-[12%] mb-4"})})]})]})},eU=e=>{let l,s,a,r,{heading:n,subheading:i,preHeading:d,image:o,variant:x,button:h}=e;switch(x){case"department":l="bg-black/60 lg:w-3/5 p-9 md:py-16 mx-4 mt-12 mb-32 lg:m-0",r="lg:h-[30rem]";break;case"listing":l="w-full px-6 py-9 md:p-0",s="mt-12 text-xl mb-4",a="",r="lg:h-[32rem]";break;default:l="bg-black/60  lg:w-3/5 p-9 mx-4 mt-12 mb-8 lg:m-0",s="text-4xl font-normal",a="w-full md:w-auto mt-12 md:mt-16",r="lg:h-[42rem]"}return(0,t.jsxs)("div",{className:"relative flex flex-col bg-coolGray-20",children:[(0,t.jsx)("div",{className:"absolute inset-0",children:o&&(0,t.jsx)(m(),{src:o.url,alt:o.alt,fill:!0,className:"object-cover",priority:!0,sizes:"100vw"})}),(0,t.jsx)("div",{className:"w-full flex flex-col relative inset-0 justify-center h-fit ".concat(r," ").concat("listing"===x&&"bg-black/60"),children:(0,t.jsx)("div",{className:"lg:container",children:(0,t.jsxs)("div",{className:"text-white ".concat(l),children:["homepage"!=x&&(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)("div",{className:"text-caption uppercase mb-5 md:mb-2",children:d}),n&&(0,t.jsx)("h1",{children:n})]}),"department"!=x&&(0,t.jsxs)(t.Fragment,{children:[i&&("homepage"===x?(0,t.jsx)("h2",{className:s,children:i}):(0,t.jsx)("p",{className:s,children:i})),h&&(0,t.jsx)(c,{title:h.title,url:h.url,ariaLabel:h.ariaLabel&&h.ariaLabel,buttonStyle:"homepage"===x?"white":"primary",additionalClasses:a})]})]})})})]})};function eB(e,l){switch(l.type){case"NEXT":return{...e,currentIndex:(e.currentIndex+1)%l.length};case"PREV":return{...e,currentIndex:(e.currentIndex-1+l.length)%l.length};case"SET_INDEX":return{...e,currentIndex:l.index};case"SET_DIMENSIONS":return{...e,sliderWidth:l.width,sliderHeight:l.height};default:return e}}let eO=e=>{let{heading:l,description:s,photoGallery:r,container:n,aspectRatio:i,caption:c}=e,[d,o]=(0,a.useReducer)(eB,{currentIndex:0,sliderWidth:0,sliderHeight:0}),x=(0,a.useRef)(null),[h,u]=(0,a.useState)(!1),[f,g]=(0,a.useState)(null),j=(0,a.useRef)(null),b=(0,a.useRef)(null),w=()=>{g(null),u(!1)};(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&w()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]),(0,a.useEffect)(()=>{h&&j.current&&j.current.focus()},[h]),(0,a.useEffect)(()=>{function e(){if(x.current){let e=x.current.offsetWidth;o({type:"SET_DIMENSIONS",width:e,height:9*e/16})}}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]);let[v,N]=(0,a.useState)(0),y=(0,a.useRef)(null),k=(0,a.useRef)(r.map(()=>(0,a.createRef)())),[C,S]=(0,a.useState)(72);(0,a.useEffect)(()=>{y.current&&N(y.current.offsetHeight)},[d.currentIndex,r]),(0,a.useEffect)(()=>{var e;let l=null===(e=k.current[d.currentIndex])||void 0===e?void 0:e.current;if(l){let e=l.clientHeight;e&&S(e/2-22)}}
1,[d.currentIndex,d.sliderHeight,r.length]);let E=()=>{o({type:"PREV",length:r.length})},I=()=>{o({type:"NEXT",length:r.length})};if(0===r.length)return null;let A=(e,l)=>{g(e),o({type:"SET_INDEX",index:l}),u(!0)},D=()=>{let e=(d.currentIndex-1+r.length)%r.length;o({type:"SET_INDEX",index:e}),g(r[e])},F=()=>{let e=(d.currentIndex+1)%r.length;o({type:"SET_INDEX",index:e}),g(r[e])},G=e=>{b.current=e.touches[0].clientX},L=e=>{if(null===b.current)return;let l=e.changedTouches[0].clientX,s=b.current-l;Math.abs(s)>50&&(s>0?I():E()),b.current=null};return(0,t.jsxs)("div",{className:n?"container":void 0,role:"region","aria-label":"Image Slider",onKeyDown:e=>{switch(e.key){case"ArrowLeft":E();break;case"ArrowRight":I()}},tabIndex:0,children:[l&&(0,t.jsx)(es,{heading:l}),s&&(0,t.jsx)("p",{className:"lg:w-1/2 mb-8 dark:text-white",children:s}),(0,t.jsxs)("div",{className:"grid relative",ref:x,children:[(0,t.jsx)("div",{className:"overflow-hidden calculated-width",style:{height:"".concat(d.sliderHeight+v,"px")},role:"group","aria-roledescription":"slide",children:(0,t.jsx)("div",{className:"flex transition-transform duration-300",style:{transform:"translateX(-".concat(d.currentIndex*d.sliderWidth,"px)"),width:"".concat(r.length*d.sliderWidth,"px")},children:r.map((e,l)=>(0,t.jsxs)("div",{className:"flex flex-col cursor-pointer flex-shrink-0",style:{width:"".concat(d.sliderWidth,"px")},"aria-hidden":l!==d.currentIndex?"true":void 0,onClick:()=>A(e,l),onTouchStart:G,onTouchEnd:L,children:[(0,t.jsx)(m(),{src:e.url,alt:e.alt||"",className:"w-full ".concat(i?"object-contain":"object-cover"),width:500,height:400,style:{height:"".concat(d.sliderHeight,"px")},ref:k.current[l]}),(0,t.jsxs)("div",{ref:l===d.currentIndex?y:null,className:"text-base py-2 flex flex-col lg:flex-row lg:justify-between",children:[(0,t.jsxs)("p",{children:[e.title&&(0,t.jsx)("span",{className:"h4 dark:text-white",children:e.title}),e.imageDescription&&(0,t.jsx)("span",{className:"dark:text-white",children:e.title?" | "+e.imageDescription:e.imageDescription})]}),e.imageAuthor&&(0,t.jsx)("p",{className:"text-xs dark:text-white h-full flex flex-col justify-center lg:text-right lg:ml-2",children:"Photo by - "+e.imageAuthor})]})]},l))})}),(0,t.jsx)("button",{className:"absolute left-5 group cursor-pointer bg-white bg-opacity-50 hover:bg-opacity-100 rounded-full text-black flex items-center justify-center w-11 h-11",onClick:E,"aria-label":"Previous Image",style:{top:"".concat(C,"px")},children:(0,t.jsx)(p,{name:"chevron-left",style:"solid",additionalClasses:"text-xl font-extrabold !block"})}),(0,t.jsx)("button",{className:"absolute right-5 group cursor-pointer bg-white bg-opacity-50 hover:bg-opacity-100 rounded-full text-black justify-center w-11 h-11",onClick:I,"aria-label":"Next Image",style:{top:"".concat(C,"px")},children:(0,t.jsx)(p,{name:"chevron-right",style:"solid",additionalClasses:"text-xl font-extrabold !block"})})]}),h&&f&&(0,t.jsxs)("div",{onClick:w,className:"fixed inset-0 bg-black z-50 flex items-center justify-center cursor-zoom-out",children:[(0,t.jsxs)("div",{className:"relative w-11/12 max-w-4xl",children:[(0,t.jsx)(m(),{src:f.url,alt:f.alt||"",width:1200,height:800,className:"max-h-[80vh] w-full lg:w-auto mx-auto max-h-[50rem] object-contain"}),(0,t.jsxs)("div",{className:"text-base py-2 flex flex-col lg:flex-row justify-between",children:[(0,t.jsxs)("p",{children:[f.title&&(0,t.jsx)("span",{className:"h4 text-white dark:text-white",children:f.title}),f.imageDescription&&(0,t.jsx)("span",{className:"text-white dark:text-white",children:f.title?" | "+f.imageDescription:f.imageDescription})]}),f.imageAuthor&&(0,t.jsx)("p",{className:"text-xs text-white dark:text-white h-full flex flex-col justify-center lg:text-right lg:ml-2",children:"Photo by - "+f.imageAuthor})]})]}),(0,t.jsx)("button",{ref:j,onClick:w,onKeyDown:e=>{"Enter"===e.key&&w()},type:"button","aria-label":"Close",className:"absolute top-4 right-4 w-full flex justify-end focus:outline-none focus-visible:ring focus-visible:ring-white",children:(0,t.jsx)(p,{name:"xmark",additionalClasses:"text-neutral-50 text-5xl absolute right-4 lg:right-12 top-4 mb-4"})}),(0,t.jsx)("button",{className:"absolute top-1/2 left-4 lg:left-20 group cursor-pointer bg-white bg-opacity-50 hover:bg-opacity-100 rounded-full text-black flex items-center justify-center w-11 h-11",onClick:e=>{e.stopPropagation(),D()},"aria-label":"Previous Image",children:(0,t.jsx)(p,{name:"chevron-left",style:"solid",additionalClasses:"text-xl font-extrabold !block"})}),(0,t.jsx)("button",{className:"absolute top-1/2 right-4 lg:right-20 group cursor-pointer bg-white bg-opacity-50 hover:bg-opacity-100 rounded-full text-black justify-center w-11 h-11",onClick:e=>{e.stopPropagation(),F()},"aria-label":"Next Image",children:(0,t.jsx)(p,{name:"chevron-right",style:"solid",additionalClasses:"text-xl font-extrabold !block"})})]})]})},eH=e=>{let l,{heading:s,statistics:a,container:r}=e;return a&&(l=a.length>4?"4":a.length.toString()),(0,t.jsxs)("div",{className:r?"container w-full":"w-full",children:[s&&(0,t.jsx)(es,{heading:s}),a&&(0,t.jsx)("div",{className:"grid sm:grid-cols-2 md:grid-cols-".concat(l," gap-default"),children:a.map((e,l)=>(0,t.jsx)(en,{...e},l))})]})},eZ=e=>{let{videos:l,heading:s,summary:r}=e,[n,i]=(0,a.useState)(!1),[c,d]=(0,a.useState)(null),[o,x]=(0,a.useState)(null),h=(0,a.useRef)(null),u=(0,a.useRef)([]),f=(0,a.useRef)(null),g=(0,a.useCallback)(()=>
1{if(d(null),i(!1),x(null),null!==o){var e;null===(e=u.current[o])||void 0===e||e.focus()}},[o]);(0,a.useEffect)(()=>{n&&h.current&&h.current.focus();let e=e=>{"Escape"===e.key&&n&&g()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[n,o,g]);let j=(e,l)=>{d(e),x(l),i(!0)};return(0,t.jsx)("div",{className:"mx-0 pt-8 pb-16 lg:pt-24 lg:pb-32 bg-coolGray-10",children:(0,t.jsxs)("div",{className:"container",children:[s&&(0,t.jsx)(es,{heading:s}),r&&(0,t.jsx)("p",{className:"lg:w-1/2 mb-8 dark:text-white",children:r}),(0,t.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-4 gap-16 lg:gap-8",children:l.map((e,l)=>(0,t.jsxs)("div",{className:"group cursor-pointer h-60 md:h-[26rem] lg:h-60 p-4 relative",onClick:()=>j(e,l),onKeyDown:s=>{"Enter"===s.key&&j(e,l)},role:"link","aria-label":e.title,tabIndex:0,ref:e=>{u.current[l]=e},children:[(0,t.jsx)(m(),{src:e.thumbnail,alt:e.alt,fill:!0,className:"object-cover"}),(0,t.jsx)("div",{className:"w-full h-full flex flex-col justify-center text-center",children:(0,t.jsx)(p,{name:"circle-play",additionalClasses:"text-5xl z-10 group-hover:text-neutral-50"})}),(0,t.jsx)("p",{className:"text-center mt-6 lg:mt-8 w-full dark:text-white",children:e.title})]},l))}),n&&(0,t.jsxs)("div",{ref:h,tabIndex:0,className:"fixed top-0 left-0 bg-neutral-950/70 w-screen h-screen  flex flex-col justify-center z-20",onKeyDown:e=>{"Escape"===e.key&&g()},children:[(0,t.jsx)("button",{onClick:g,ref:f,"aria-label":"Close",className:"w-full flex justify-end",children:(0,t.jsx)(p,{name:"xmark",additionalClasses:"text-neutral-50 text-5xl mr-4 lg:mr-[12%] mb-4"})}),(0,t.jsx)("iframe",{title:null==c?void 0:c.title,width:"90%",height:"50%",src:null==c?void 0:c.url,referrerPolicy:"strict-origin-when-cross-origin",className:"ml-[5%] lg:ml-[12%] lg:w-[76%] lg:h-[76%]"}),(0,t.jsx)("button",{onFocus:()=>{var e;null===(e=f.current)||void 0===e||e.focus()},tabIndex:0})]})]})})}},2432:function(e,l,s){"use strict";s.d(l,{c:function(){return r}});var a=s(2322);s(2784);var t=s(5705);let r=e=>{let{heading:l,url:s,title:r,height:n="500",width:i="100",container:c}=e;return(0,a.jsxs)("div",{className:c?"container":"",children:[l&&(0,a.jsx)(t.OT,{heading:l}),(0,a.jsx)("iframe",{src:s,title:r,height:n,width:"".concat(i,"%"),className:"border-0",allowFullScreen:!0})]})}},3881:function(e,l,s){"use strict";s.d(l,{Fn:function(){return m},GR:function(){return d},J6:function(){return x},LS:function(){return u},P1:function(){return i},mr:function(){return r},p6:function(){return t},tQ:function(){return o},vX:function(){return c},wi:function(){return p},z8:function(){return h}});var a=s(2784);function t(e){return void 0===e?"":new Date(e.time).toLocaleDateString("en-US",{timeZone:"America/Chicago",month:"long",day:"numeric",year:"numeric"})}function r(e){return void 0===e?"":new Date(e.time).toLocaleTimeString("en-US",{timeZone:"America/Chicago",timeStyle:"short"})}function n(e){let l=Math.floor(e/100),s=(e%100).toString().padStart(2,"0");return"".concat(l%12==0?12:l%12,":").concat(s," ").concat(l>=12?"pm":"am")}function i(e){function l(e){if(1===e.length){let{day:l,startTime:s,endTime:a,comment:t}=e[0];return"".concat(l,": ").concat(s).concat(a?" - ".concat(a):""," ").concat(t).trim()}{let l=e[0].day,s=e[e.length-1].day,{startTime:a,endTime:t,comment:r}=e[0];return"".concat(l," - ").concat(s,", ").concat(a).concat(t?" - ".concat(t):""," ").concat(r).trim()}}let s=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],a=[],t=[];for(let r=0;r<e.length;r++){let i=e[r];if(i&&null!==i.day){let e=s[i.day],r=i.allDay?"All Day":n(i.startHours),c=i.allDay?"":n(i.endHours),d=i.comment?"(".concat(i.comment,")"):"";t.length>0&&t[t.length-1].startTime===r&&t[t.length-1].endTime===c?t.push({day:e,startTime:r,endTime:c,comment:d}):(t.length>0&&a.push(l(t)),t=[{day:e,startTime:r,endTime:c,comment:d}])}}return t.length>0&&a.push(l(t)),a}function c(e){if(void 0===e)return{};let l=new Date(e.time);return{fullDate:t(e),shortMonth:l.toLocaleDateString("en-US",{month:"short"}).toLocaleUpperCase(),day:l.toLocaleDateString("en-US",{day:"numeric"}),time:r(e)}}function d(e){let l=e;return e.startsWith("internal:")&&(l=e.replace(/^internal:/,"")),"".concat("https://content.birminghamal.gov").concat(l)}function o(e){return"NodeArticle"!==e.__typename}function m(e){return"NodeDepartment"===e.__typename}function x(e){return"NodeEvent"!==e.__typename}function h(e,l){return Array.from(document.querySelectorAll(e)).filter(e=>l.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING).map(e=>{var l;let s=(null===(l=e.textContent)||void 0===l?void 0:l.toLowerCase().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-"))||"";return e.id=s,e.tabIndex=0,{id:s,path:s,title:e.textContent||""}})}function u(e,l){let[s,t]=(0,a.useState)([]);return(0,a.useEffect)(()=>{l&&t(h(e,l))},[e,l]),s}function p(e,l){let s=/^(?:https?:\/\/)?(?:www\.)?([a-zA-Z0-9_-]+)\./;return e.map(e=>{let a=e.url.match(s);if(!a||!a[1])return{link:e.url,name:"",iconName:"users"};{let s=a[1].toLowerCase();("twitter"===s||"x"===s)&&(s="x-twitter");let t=e.title;return l&&(t="".concat(l," ").concat(t)),{link:e.url,name:t,iconName:s}}})}s(7970),s(4687),s(3542)},4100:function(e,l,s){"use strict";s.d(l,{S:function(){return n}});var a=s(2322),t=s(7729),r=s.n(t);let n=e=>{let l,s,t,n,{title:i,siteName:c,description:d,type:o,image:m,date:x,norobots:h,categories:u,department:p}=e;return(""==d||null===d)&&(d="A CitizenForward site by Interpersonal Frequency."),(""==c||void 0===c)&&(c="CitizenForward"),l=""!=m&&null!=m&&void 0!=m?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{className:"swiftype",name:"previewImage","data-type":"text",content:m}),";",(0,a.jsx)("meta",{name:"og:image",content:m}),";"]}):(0,a.jsx)("meta",{className:"swiftype",name:"previewImage","data-type":"text",content:"none"}),""!=x&&null!=x&&void 0!=x&&(s=(0,a.jsx)("meta",{className:"swiftype",name:"date","data-type":"date",content:x}
1)),"true"===h&&(t=(0,a.jsx)("meta",{className:"swiftype",name:"st:robots",content:"noindex"})),void 0===o&&(o="Page"),""!=p&&null!=p&&void 0!=p&&(n=(0,a.jsx)("meta",{className:"swiftype",name:"department","data-type":"string",content:p})),(0,a.jsxs)(r(),{children:[(0,a.jsx)("title",{children:i||c}),(0,a.jsx)("meta",{property:"og:title",content:i||c}),(0,a.jsx)("meta",{name:"twitter:title",content:i||c}),(0,a.jsx)("meta",{name:"description",content:d||""}),(0,a.jsx)("meta",{property:"og:description",content:d||""}),(0,a.jsx)("meta",{name:"twitter:description",content:d||""}),t,(0,a.jsx)("meta",{className:"swiftype",name:"body","data-type":"text",content:d}),(0,a.jsx)("meta",{className:"swiftype",name:"type","data-type":"enum",content:o}),l,s,void 0!=u&&u.map(e=>(0,a.jsx)("meta",{className:"swiftype",name:"category","data-type":"enum",content:e.name},e.name)),n]})}},6925:function(e,l,s){"use strict";s.d(l,{n:function(){return n}});var a=s(2322),t=s(2784),r=s(5632);function n(){let{isPreview:e}=(0,r.useRouter)(),[l,s]=(0,t.useState)(!1);return((0,t.useEffect)(()=>{s(e&&window.top===window.self)},[e]),l)?(0,a.jsx)("div",{className:"absolute top-0 left-0 z-50 w-full px-2 py-1 text-center text-white bg-black",children:(0,a.jsxs)("p",{className:"mb-0",children:["This page is a preview."," ",(0,a.jsx)("a",{href:"/api/exit-preview",className:"text-white underline",children:"Click here"})," ","to exit preview mode."]})}):null}},4978:function(e,l,s){"use strict";s.d(l,{C:function(){return a}});let a=async e=>{let l=await fetch(e,{cache:"no-store"});if(!l.ok)throw Error("Alerts upstream error: ".concat(l.status));let s=await l.json();return"alerts"in s&&Array.isArray(s.alerts)?{alerts:s.alerts.map(e=>({...e,icon:"message-exclamation",dismissible:!0}))}:{alerts:(Array.isArray(null==s?void 0:s.Alerts)?s.Alerts:[]).map(e=>{var l,s;let a=null!==(l=null==e?void 0:e.Id)&&void 0!==l?l:"",t=null!==(s=null==e?void 0:e.Title)&&void 0!==s?s:"";return a&&t?{id:String(a),title:String(t),severity:function(e){let l=String(null!=e?e:"").toLowerCase().trim();return"warning"===l?"warning":"emergency"===l?"emergency":"informational"}(null==e?void 0:e.Severity),body:(null==e?void 0:e.Body)?String(e.Body):"",dismissible:!0,icon:"message-exclamation"}:null}).filter(Boolean)}}},7826:function(){}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.