"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3214],{36631:function(e,a,t){t.d(a,{Z:function(){return l}});var i=t(85893),o=t(36465),n=t.n(o),r=t(45697),s=t.n(r);function l(e){let{children:a,...t}=e;return a?(0,i.jsxs)("span",{"data-qa":t["data-qa"],className:"jsx-4db14c039fbc4f2e",children:[(0,i.jsx)("i",{style:{paddingRight:"1ch"},className:"jsx-4db14c039fbc4f2e fa-check fa-light"})," ",a,(0,i.jsx)(n(),{id:"4db14c039fbc4f2e",children:"span.jsx-4db14c039fbc4f2e{color:var(--color-success);font-size:16px}"})]}):null}l.propTypes={children:s().node}},28216:function(e,a,t){t.d(a,{Z:function(){return o}});var i=t(67294);function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[a,t]=(0,i.useState)(e);return{isShowing:a,setIsShowing:t,toggleModal:()=>{t(e=>!e)}}}},3214:function(e,a,t){t.d(a,{Z:function(){return ef}});var i=t(85893),o=t(36465),n=t.n(o),r=t(67294),s=t(45697),l=t.n(s),d=t(94184),c=t.n(d),x=t(10750);function m(e){let{className:a}=e,[t,o]=(0,r.useState)(!1),s=(0,x.Z)();return(0,r.useEffect)(()=>{o(b(s))},[s]),(0,r.useEffect)(()=>{let e=()=>{o(b(s))};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[s]),(0,i.jsxs)("a",{href:"#",onClick:p,"aria-hidden":!0,tabIndex:-1,"data-qa":"scroll-to-top",className:n().dynamic([["bafe5972a779bf70",[60,16,44,44,22]]])+" "+(c()("scrollToTopBtn hideOutlineForMouse noPrint",a,{"scrollToTopBtn--showing":t})||""),children:[(0,i.jsx)("div",{className:n().dynamic([["bafe5972a779bf70",[60,16,44,44,22]]])+" scrollIcon",children:(0,i.jsx)("i",{className:n().dynamic([["bafe5972a779bf70",[60,16,44,44,22]]])+" fa-chevrons-up fa-light"})}),(0,i.jsx)(n(),{id:"bafe5972a779bf70",dynamic:[60,16,44,44,22],children:".scrollToTopBtn.__jsx-style-dynamic-selector{display:block;position:fixed;z-index:var(--zindex-scroll-to-top);bottom:-".concat(60,"px;right:0;margin:").concat(16,"px;padding:9px 6px 0;width:").concat(44,"px;height:").concat(44,"px;background-color:var(--gray-600);opacity:.5;-webkit-border-radius:").concat(22,"px;-moz-border-radius:").concat(22,"px;border-radius:").concat(22,"px;color:white;text-align:center;font-size:13px;text-decoration:none;text-transform:uppercase;-webkit-transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease;-moz-transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease;-o-transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease;transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease}.scrollToTopBtn.__jsx-style-dynamic-selector:hover{opacity:1;-webkit-transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease;-moz-transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease;-o-transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease;transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease}.scrollToTopBtn--showing.__jsx-style-dynamic-selector{bottom:55px;-webkit-transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease;-moz-transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease;-o-transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease;transition:bottom var(--speed-motion)ease,opacity var(--speed-on-hover)ease}.scrollIcon.__jsx-style-dynamic-selector{font-size:19px;text-align:center}")})]})}function b(e){let a=window.pageYOffset>3*e;return!!a&&e>500}function p(e){e&&e.preventDefault(),window.scroll({top:0,left:0,behavior:"smooth"})}m.propTypes={className:l().string};var f=t(9008),u=t.n(f),h=t(22148),y=t(41664),g=t.n(y),v=t(25675),j=t.n(v),w=t(50178),E=t(54303),k=t(17279),_=t(2232);function M(){return(0,i.jsxs)("footer",{className:"jsx-384ba4c9f8fd7933",children:[(0,i.jsx)(S,{}),(0,i.jsxs)("div",{className:"jsx-384ba4c9f8fd7933 bottomBkgd",children:[(0,i.jsxs)("div",{className:"jsx-384ba4c9f8fd7933 rowBottom paddingLeftRight--24 paddingTopBottom--24",children:[(0,i.jsx)(L,{}),(0,i.jsx)(A,{}),(0,i.jsx)(N,{}),(0,i.jsx)(R,{})]}),(0,i.jsxs)("div",{className:"jsx-384ba4c9f8fd7933 stackedBottom paddingLeftRight--24 paddingTopBottom--24",children:[(0,i.jsxs)("div",{className:"jsx-384ba4c9f8fd7933",children:[(0,i.jsx)(L,{}),(0,i.jsx)("div",{className:"jsx-384ba4c9f8fd7933 verticalPad"}),(0,i.jsx)(A,{})]}),(0,i.jsxs)("div",{className:"jsx-384ba4c9f8fd7933",children:[(0,i.jsx)(N,{}),(0,i.jsx)("div",{className:"jsx-384ba4c9f8fd7933 verticalPad"}),(0,i.jsx)(R,{})]})]})]}),(0,i.jsx)(n(),{id:"384ba4c9f8fd7933",children:"footer.jsx-384ba4c9f8fd7933{background-color:var(--gray-100);border-top:1px solid var(--gray-300)}footer.jsx-384ba4c9f8fd7933 a:not(.button){color:var(--body-text)!important;font-weight:var(--font-weight-medium)}.bottomBkgd.jsx-384ba4c9f8fd7933{background-color:white}.rowBottom.jsx-384ba4c9f8fd7933{display:none}.stackedBottom.jsx-384ba4c9f8fd7933{max-width:1440px;margin-left:auto;margin-right:auto;text-align:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column nowrap;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:24px}.stackedBottom.jsx-384ba4c9f8fd7933>div.jsx-384ba4c9f8fd7933:last-child{-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}.verticalPad.jsx-384ba4c9f8fd7933{height:12px}@media(min-width:640px){.stackedBottom.jsx-384ba4c9f8fd7933{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}@media(min-width:1300px){.rowBottom.jsx-384ba4c9f8fd7933{max-width:-webkit-calc(1920px + 80px);max-width:-moz-calc(1920px + 80px);max-width:calc(1920px + 80px);margin-left:auto;margin-right:auto;text-align:center;padding-left:40px!important;padding-right:40px!important;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row nowrap;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:24px}.stackedBottom.jsx-384ba4c9f8fd7933{display:none}}"})]})}function S(){let e=(0,k.zW)(),a=e===k.iq.TRIBUTE?k.lM.FOOTER_TRIBUTE:k.lM.FOOTER_DONATE,t=(0,k.ew)((0,k.Jo)(a),"",e);return(0,i.jsxs)("div",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]])+" topPortion",children:[(0,i.jsx)("div",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]])+" circleGfx"}),(0,i.jsx)("div",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]])+" archGfx"}),(0,i.jsxs)("div",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]])+" rowTop paddingTopBottom--48",children:[(0,i.jsxs)("div",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]]),children:[(0,i.jsxs)(g(),{className:"footerLogo marginBottom--36","data-qa":"footerLogo",href:w.Z6.HOME,children:[(0,i.jsx)(h.Z,{width:224,variant:h.P.STACKED}),(0,i.jsx)("span",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]])+" sr-only",children:"Caring Bridge dot org Home Page"})]}),(0,i.jsxs)("p",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]])+" callout headerFont",children:["A world where no one goes",(0,i.jsx)("br",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]])}),"through a health journey alone."]}),(0,i.jsx)(E.Z,{href:t,"data-qa":"footerDonation",children:w.SG.DONATE})]}),(0,i.jsxs)("div",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]])+" topLinks",children:[(0,i.jsx)("p",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]]),children:(0,i.jsx)(g(),{"data-qa":"footer-start-a-caringbridge",href:w.Z6.START,children:w.SG.START})}),(0,i.jsx)("p",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]]),children:(0,i.jsx)(g(),{"data-qa":"footer-find-a-caringbridge",href:w.Z6.SEARCH,children:w.SG.SEARCH})}),(0,i.jsx)("p",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]]),children:(0,i.jsx)(g(),{"data-qa":"footer-contact",href:w.Z6.HELP,target:"_blank",children:w.SG.HELP})}),(0,i.jsx)("p",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]]),children:(0,i.jsx)(g(),{"data-qa":"footer-start-a-caringbridge",href:w.Z6.PAGES_ABOUT_US,children:w.SG.PAGES_ABOUT_US})})]}),(0,i.jsxs)("div",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]])+" topLinks",children:[(0,i.jsx)("p",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]]),children:(0,i.jsx)(g(),{"data-qa":"footer-find-a-caringbridge",href:w.Z6.PAGES_PARTNERSHIPS,children:w.SG.PAGES_PARTNERSHIPS})}),(0,i.jsx)("p",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]]),children:(0,i.jsx)(g(),{"data-qa":"footer-contact",href:w.Z6.PAGES_OUR_PEOPLE,children:w.SG.PAGES_OUR_PEOPLE})}),(0,i.jsx)("p",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]]),children:(0,i.jsx)(g(),{"data-qa":"footer-start-a-caringbridge",href:w.Z6.PAGES_FINANCIALS_RATINGS,children:w.SG.PAGES_FINANCIALS_RATINGS})}),(0,i.jsx)("p",{className:n().dynamic([["b7303cd124ca288c",[_.Bs.SMALL]]]),children:(0,i.jsx)(g(),{"data-qa":"footer-find-a-caringbridge",href:w.Z6.PAGES_GET_INVOLVED,children:w.SG.GET_INVOLVED})})]})]}),(0,i.jsx)(n(),{id:"b7303cd124ca288c",dynamic:[_.Bs.SMALL],children:".topPortion.__jsx-style-dynamic-selector{position:relative;overflow:hidden}.rowTop.__jsx-style-dynamic-selector{max-width:-webkit-calc(1920px + 80px);max-width:-moz-calc(1920px + 80px);max-width:calc(1920px + 80px);margin-left:auto;margin-right:auto;text-align:center;padding-left:40px;padding-right:40px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column nowrap;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;gap:24px;position:relative}.topLinks.__jsx-style-dynamic-selector a{text-decoration:none}.topLinks.__jsx-style-dynamic-selector a:hover{color:var(--color-primary)!important}.headerFont.__jsx-style-dynamic-selector{margin-bottom:20px!important}@media(min-width:520px){.rowTop.__jsx-style-dynamic-selector{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row nowrap;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-flow:row nowrap;flex-flow:row nowrap;text-align:left}.rowTop.__jsx-style-dynamic-selector>*.__jsx-style-dynamic-selector:not(:last-child){margin-right:6em}.circleGfx.__jsx-style-dynamic-selector{width:534px;height:534px;position:absolute;right:-267px;top:-267px;background-color:var(--sky);opacity:.25;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.archGfx.__jsx-style-dynamic-selector{width:324px;height:324px;position:absolute;right:-162px;bottom:-162px;opacity:.2;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;border:solid var(--brave-blue-500)45px}}@media(max-width:".concat(_.Bs.SMALL,"){.rowTop.__jsx-style-dynamic-selector{gap:0;display:block}.rowTop.__jsx-style-dynamic-selector p.__jsx-style-dynamic-selector{margin-bottom:0}}")})]})}function L(){return(0,i.jsxs)("div",{className:"jsx-5552cd666d89217e socialSharing",children:[(0,i.jsxs)("a",{href:"https://www.instagram.com/caringbridgeofficial/",target:"_blank","data-qa":"instagram",className:"jsx-5552cd666d89217e",children:[(0,i.jsx)("i",{className:"jsx-5552cd666d89217e fa-instagram fa-brands"}),(0,i.jsx)("span",{className:"jsx-5552cd666d89217e sr-only",children:"Go to Caring Bridge’s Instagram feed"})]}),(0,i.jsxs)("a",{href:"https://www.facebook.com/CaringBridge/",target:"_blank","data-qa":"facebook",className:"jsx-5552cd666d89217e",children:[(0,i.jsx)("i",{className:"jsx-5552cd666d89217e fa-facebook-f fa-brands"}),(0,i.jsx)("span",{className:"jsx-5552cd666d89217e sr-only",children:"Go to Caring Bridge’s Facebook page"})]}),(0,i.jsxs)("a",{href:"https://twitter.com/caringbridge",target:"_blank","data-qa":"twitter",className:"jsx-5552cd666d89217e",children:[(0,i.jsx)("i",{className:"jsx-5552cd666d89217e fa-x-twitter fa-brands"}),(0,i.jsx)("span",{className:"jsx-5552cd666d89217e sr-only",children:"Go to Caring Bridge’s Twitter feed"})]}),(0,i.jsxs)("a",{href:"https://www.linkedin.com/company/caringbridge",target:"_blank","data-qa":"linkedIn",className:"jsx-5552cd666d89217e",children:[(0,i.jsx)("i",{className:"jsx-5552cd666d89217e fa-linkedin-in fa-brands"}),(0,i.jsx)("span",{className:"jsx-5552cd666d89217e sr-only",children:"Go to Caring Bridge’s LinkedIn feed"})]}),(0,i.jsx)(n(),{id:"5552cd666d89217e",children:".socialSharing.jsx-5552cd666d89217e{font-size:26px}.socialSharing.jsx-5552cd666d89217e a.jsx-5552cd666d89217e:not(:last-child){padding-right:1em}"})]})}function A(){return(0,i.jsxs)("div",{className:"jsx-a01a59c30e6bc058 copyright small",children:[(0,i.jsxs)("span",{className:"jsx-a01a59c30e6bc058",children:["\xa9 ",new Date().getFullYear()," CaringBridge\xae a 501(c)(3) nonprofit"]})," ",(0,i.jsxs)("span",{className:"jsx-a01a59c30e6bc058",children:["organization | EIN 42","‑","1529394"]}),(0,i.jsx)(n(),{id:"a01a59c30e6bc058",children:"span.jsx-a01a59c30e6bc058{display:inline-block}"})]})}function N(){return(0,i.jsxs)("div",{className:"jsx-f74d7fd11e6ebcb4 legal small",children:[(0,i.jsx)(g(),{href:w.Z6.LEGAL_TERMS_OF_USE,className:"stylized","data-qa":"global-footer-terms-of-use",children:"Terms of Use"})," ","|"," ",(0,i.jsx)(g(),{href:w.Z6.LEGAL_PRIVACY_POLICY,className:"stylized","data-qa":"global-privacy-policy",children:"Privacy Policy"}),(0,i.jsx)(n(),{id:"f74d7fd11e6ebcb4",children:".legal.jsx-f74d7fd11e6ebcb4 a:hover{color:var(--color-primary)!important}"})]})}function R(){return(0,i.jsxs)("div",{className:"seals",children:[(0,i.jsx)(g(),{href:"https://give.org/charity-reviews/national/Human-Services/CaringBridge-in-Eagan-mn-2562",target:"_blank",style:{paddingRight:"24px"},"data-qa":"global-footer-accredited-charity",children:(0,i.jsx)(j(),{src:"/img/bbbLogo.svg",alt:"",width:122,height:42})}),(0,i.jsx)(g(),{href:"https://www.charitynavigator.org/ein/421529394",target:"_blank","data-qa":"global-footer-charity-navigator",children:(0,i.jsx)(j(),{src:"/img/charity-navigator.svg",alt:"",width:89,height:42})})]})}var I=t(9779),C=t(52107),B=t(27453),z=t(11163),U=t.n(z),D=t(69692),G=t(33922);function P(e){let{anchor:a,activePopover:t,setActivePopover:o,handleFeedback:r}=e,{isSignedIn:s,photo:l}=(0,I.SE)(),d=(0,I.O_)(),c=(0,D.Z)(),x=(0,z.useRouter)(),m=[];return s&&m.push({privilege:null,text:"Home","data-qa":"menuHome",action:()=>{x.push(w.Z6.HOME),o(Z.NONE)}}),s&&m.push({privilege:null,text:"Settings","data-qa":"menuProfileSettings",action:()=>{x.push(w.Z6.PROFILE_SETTINGS_GENERAL),o(Z.NONE)}}),m.push({privilege:null,text:"Feedback","data-qa":"linkToOriginalCaringbridge",action:e=>r(e)}),m.push({privilege:null,text:s?"Sign out":"Sign in","data-qa":"menuAuthenticated",action:()=>{if(s){d({type:I.xf.SIGN_OUT});let e=new URL(location.href);location.href="".concat(e.origin,"/").concat(w.Z6.HOME),o(Z.NONE);return}x.push(w.Z6.PROFILE_SIGN_IN),o(Z.NONE)}}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{onClick:e=>{t===Z.PROFILE?o(Z.NONE):o(Z.PROFILE),e.preventDefault(),e.stopPropagation()},type:"button","aria-controls":"menuHeaderProfile","aria-expanded":t===Z.PROFILE,"data-qa":"headerProfileMenuButton",title:"Profile menu",className:n().dynamic([["b0c7b1ea40ee4aea",[q.MEDIUM]]])+" button--isClear profileButton",children:(0,i.jsxs)("span",{className:n().dynamic([["b0c7b1ea40ee4aea",[q.MEDIUM]]])+" buttonAlignment",children:[(0,i.jsx)(B.Z,{width:c>q.MEDIUM?60:36,publicId:null==l?void 0:l.publicId,legacyPath:null==l?void 0:l.legacyPath}),(0,i.jsx)("i",{className:n().dynamic([["b0c7b1ea40ee4aea",[q.MEDIUM]]])+" "+"".concat(t===Z.PROFILE?"fa-chevron-up":"fa-chevron-down"," fa-light")})]})}),(0,i.jsx)(G.G,{anchor:a.current,show:t===Z.PROFILE,anchorAlign:{horizontal:"right",vertical:"bottom"},popupAlign:{horizontal:"center",vertical:"top"},popupClass:"profilePopover",children:(0,i.jsx)("div",{className:n().dynamic([["b0c7b1ea40ee4aea",[q.MEDIUM]]])+" popoverContent",children:(0,i.jsx)("ul",{className:n().dynamic([["b0c7b1ea40ee4aea",[q.MEDIUM]]])+" plainList",children:m.map(e=>{let{text:a,action:t,"data-qa":o}=e;return(0,i.jsx)("li",{className:n().dynamic([["b0c7b1ea40ee4aea",[q.MEDIUM]]])+" menuItem",children:(0,i.jsx)("button",{onClick:t,"data-qa":o,className:n().dynamic([["b0c7b1ea40ee4aea",[q.MEDIUM]]])+" "+"button--isClear ".concat("linkToOriginalCaringbridge"===o?"linkToLegacy":""),children:(0,i.jsx)("span",{className:n().dynamic([["b0c7b1ea40ee4aea",[q.MEDIUM]]])+" menuText",children:a})})},a)})})})}),(0,i.jsx)(n(),{id:"b0c7b1ea40ee4aea",dynamic:[q.MEDIUM],children:".profileButton.__jsx-style-dynamic-selector{font-size:max(18px,min(100vw*.02 - 7px,20px));font-size:clamp(18px,100vw*.02 - 7px,20px);text-align:left;vertical-align:bottom}.buttonAlignment.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:4px}i.__jsx-style-dynamic-selector{font-size:12px}.profilePopover{-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;width:100vw}.popoverContent.__jsx-style-dynamic-selector{-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}ul.__jsx-style-dynamic-selector{-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}li.__jsx-style-dynamic-selector{border-bottom:1px solid#e5e5e5}li.__jsx-style-dynamic-selector:last-of-type{-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;border:none}.menuItem.__jsx-style-dynamic-selector>button.__jsx-style-dynamic-selector{padding:12px 28px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.menuItem.__jsx-style-dynamic-selector:hover,.menuItem.__jsx-style-dynamic-selector>button.__jsx-style-dynamic-selector:focus{background-color:var(--gray-100);color:var(--color-primary);-webkit-transition:all var(--speed-on-hover)linear;-moz-transition:all var(--speed-on-hover)linear;-o-transition:all var(--speed-on-hover)linear;transition:all var(--speed-on-hover)linear}.menuText.__jsx-style-dynamic-selector{white-space:nowrap;font-size:16px}@media(min-width:".concat(q.MEDIUM,"px){.profilePopover{width:100%}}")})]})}function T(e){let{anchor:a,activePopover:t,setActivePopover:o}=e,s=(0,z.useRouter)(),l=[],[d,c]=(0,r.useState)(""),x=(e,a)=>{c(d===e?"":e),a.stopPropagation()};return l.push({text:w.SG.START,"data-qa":"menuStart",action:()=>{s.push(w.Z6.START),o(Z.NONE)}}),l.push({text:w.SG.PAGES_ABOUT_US,"data-qa":"menuAboutUs",children:[{text:w.SG.PAGES_PARTNERSHIPS,action:()=>s.push(w.Z6.PAGES_PARTNERSHIPS)},{text:w.SG.PAGES_OUR_PEOPLE,action:()=>s.push(w.Z6.PAGES_OUR_PEOPLE)},{text:w.SG.PAGES_FINANCIALS_RATINGS,action:()=>s.push(w.Z6.PAGES_FINANCIALS_RATINGS)},{text:w.SG.PAGES_CAREERS,action:()=>s.push(w.Z6.PAGES_CAREERS)}]}),l.push({text:w.SG.RESOURCES,"data-qa":"menuResources",children:[{text:w.SG.RESOURCES_ADVICE,action:()=>s.push(w.Z6.RESOURCES_ADVICE)},{text:w.SG.RESOURCES_INSPIRATION,action:()=>s.push(w.Z6.RESOURCES_INSPIRATION)},{text:w.SG.RESOURCES_STORIES,action:()=>s.push(w.Z6.RESOURCES_STORIES)}]}),l.push({text:w.SG.RESOURCES_NEWS,"data-qa":"menuNews",children:[{text:w.SG.RESOURCES_PRESS_RELEASES,action:()=>s.push(w.Z6.RESOURCES_PRESS_RELEASES)}]}),l.push({text:w.SG.HELP,"data-qa":"menuGetHelp",action:()=>{window.open(w.yt.GET_HELP,"_blank"),o(Z.NONE)}}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{"data-qa":"globalHeaderMenu",onClick:e=>{t===Z.MENU?o(Z.NONE):o(Z.MENU),e.preventDefault(),e.stopPropagation()},className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" iconButton button--isClear",children:(0,i.jsx)("i",{className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" "+"".concat(t===Z.MENU?"fa-xmark":"fa-bars"," fa-light")})}),(0,i.jsx)(G.G,{anchor:a.current,show:t===Z.MENU,anchorAlign:{horizontal:"center",vertical:"top"},popupAlign:{horizontal:"center",vertical:"bottom"},popupClass:"menuPopover",children:(0,i.jsx)("div",{className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" popoverContent",children:(0,i.jsx)("ul",{className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" plainList",children:l.map(e=>(0,i.jsx)("li",{className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" menuItem",children:e.children?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("button",{onClick:a=>x(e.text,a),"data-qa":e["data-qa"],className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" button--isClear",children:[(0,i.jsx)("span",{className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" menuText",children:e.text}),(0,i.jsx)("i",{className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" "+"".concat(d===e.text?"fa-chevron-down":"fa-chevron-right"," fa-light")})]}),d===e.text&&(0,i.jsx)("ul",{className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" submenu",children:e.children.map(e=>(0,i.jsx)("li",{className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]]),children:(0,i.jsx)("button",{onClick:e.action,className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" button--isClear",children:e.text})},e.text))})]}):(0,i.jsx)("button",{onClick:e.action,"data-qa":e["data-qa"],className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" button--isClear",children:(0,i.jsx)("span",{className:n().dynamic([["4df8d5f0ea36818e",[_.Bs.MEDIUM]]])+" menuText",children:e.text})})},e.text))})})}),(0,i.jsx)(n(),{id:"4df8d5f0ea36818e",dynamic:[_.Bs.MEDIUM],children:".iconButton.__jsx-style-dynamic-selector{height:32px;width:32px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;background-color:var(--gray-100);-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;-webkit-transition:all var(--speed-on-hover)linear;-moz-transition:all var(--speed-on-hover)linear;-o-transition:all var(--speed-on-hover)linear;transition:all var(--speed-on-hover)linear}.iconButton.__jsx-style-dynamic-selector:hover{color:var(--color-primary)}.iconButton.__jsx-style-dynamic-selector i.__jsx-style-dynamic-selector{margin:auto}.menuPopover{-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;border:none;width:100vw}.popoverContent.__jsx-style-dynamic-selector{-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}ul.__jsx-style-dynamic-selector{-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}li.__jsx-style-dynamic-selector{border-bottom:1px solid#e5e5e5}li.__jsx-style-dynamic-selector:last-of-type{-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;border:none}.menuItem.__jsx-style-dynamic-selector>button.__jsx-style-dynamic-selector{padding:12px 28px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;width:100%;-webkit-transition:all var(--speed-on-hover)linear;-moz-transition:all var(--speed-on-hover)linear;-o-transition:all var(--speed-on-hover)linear;transition:all var(--speed-on-hover)linear}.menuItem.__jsx-style-dynamic-selector:hover,.menuItem.__jsx-style-dynamic-selector>button.__jsx-style-dynamic-selector:focus{background-color:var(--gray-100);color:var(--color-primary);-webkit-transition:all var(--speed-on-hover)linear;-moz-transition:all var(--speed-on-hover)linear;-o-transition:all var(--speed-on-hover)linear;transition:all var(--speed-on-hover)linear}.menuItem.__jsx-style-dynamic-selector .fa-light.__jsx-style-dynamic-selector{margin-left:10px}.menuText.__jsx-style-dynamic-selector{white-space:nowrap}@media(min-width:".concat(_.Bs.MEDIUM,"px){.menuPopover{display:none}}.submenu.__jsx-style-dynamic-selector{-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}.submenu.__jsx-style-dynamic-selector>li.__jsx-style-dynamic-selector{padding:10px 0px;list-style-type:none;padding-left:20px;border-bottom:none}}\n                .submenu button {padding:10px 0px;background-color:transparent;color:var(--indigo)!important}.submenu.__jsx-style-dynamic-selector:hover,.submenu.__jsx-style-dynamic-selector button.__jsx-style-dynamic-selector{background-color:var(--gray-100);color:var(--indigo);-webkit-transition:all var(--speed-on-hover)linear;-moz-transition:all var(--speed-on-hover)linear;-o-transition:all var(--speed-on-hover)linear;transition:all var(--speed-on-hover)linear}")})]})}P.propTypes={anchor:l().object.isRequired,activePopover:l().number.isRequired,setActivePopover:l().func.isRequired,handleFeedback:l().func.isRequired},T.propTypes={anchor:l().object.isRequired,activePopover:l().number.isRequired,setActivePopover:l().func.isRequired};let O=(0,r.forwardRef)(function(e,a){let{anchor:t,activePopover:o,setActivePopover:s}=e,[l,d]=(0,r.useState)("");return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(G.G,{anchor:t.current,show:o===Z.SEARCH,anchorAlign:{horizontal:"center",vertical:"top"},popupAlign:{horizontal:"center",vertical:"bottom"},popupClass:"searchPopover",children:(0,i.jsxs)("form",{ref:a,role:"search",onSubmit:e=>{e.preventDefault(),U().push("".concat(w.Z6.SEARCH,"?").concat(w.Tx.SEARCH,"=").concat(encodeURIComponent(l))),s(Z.NONE),d("")},className:"jsx-5f0a41f48910ba1 popoverContent",children:[(0,i.jsx)("div",{className:"jsx-5f0a41f48910ba1 iconContainer",children:(0,i.jsx)("i",{className:"jsx-5f0a41f48910ba1 fa-magnifying-glass fa-light"})}),(0,i.jsx)("input",{"data-qa":"global-search-input",type:"text",autoCorrect:"off",autoCapitalize:"off",autoComplete:"off",onChange:e=>d(e.target.value),spellCheck:!1,value:l,placeholder:"Search by person or name",autoFocus:!0,onKeyDown:e=>{"Escape"===e.key&&(e.preventDefault(),s(Z.NONE),d(""))},className:"jsx-5f0a41f48910ba1"})]})}),(0,i.jsx)(n(),{id:"5f0a41f48910ba1",children:".searchPopover{width:100vw;border:none}.popoverContent.jsx-5f0a41f48910ba1{background-color:var(--color-primary);color:white;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:20px}.iconContainer.jsx-5f0a41f48910ba1{width:48px;height:48px;background-color:var(--berry-bridge-400);display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.iconContainer.jsx-5f0a41f48910ba1 i.jsx-5f0a41f48910ba1{margin:auto}input.jsx-5f0a41f48910ba1{width:100%;max-width:500px;background-color:transparent;color:white;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-bottom:1px solid var(--berry-bridge-400)}input.jsx-5f0a41f48910ba1::-webkit-input-placeholder{font-style:normal;opacity:.5;color:white}input.jsx-5f0a41f48910ba1:-moz-placeholder{font-style:normal;opacity:.5;color:white}input.jsx-5f0a41f48910ba1::-moz-placeholder{font-style:normal;opacity:.5;color:white}input.jsx-5f0a41f48910ba1:-ms-input-placeholder{font-style:normal;opacity:.5;color:white}input.jsx-5f0a41f48910ba1::-ms-input-placeholder{font-style:normal;opacity:.5;color:white}input.jsx-5f0a41f48910ba1::placeholder{font-style:normal;opacity:.5;color:white}"})]})});O.propTypes={anchor:l().object.isRequired,activePopover:l().number.isRequired,setActivePopover:l().func.isRequired};let q={SMALL:420,MEDIUM:1212,LARGE:1296,X_LARGE:1440},Z={NONE:0,PROFILE:1,MENU:2,SEARCH:3};function F(e){let{handleProvideFeedback:a}=e,{isSignedIn:t}=(0,I.SE)(),o=(0,D.Z)(),s=(0,r.useRef)(null),l=(0,r.useRef)(null),{activePopover:d,setActivePopover:c}=function(e){let[a,t]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let i=i=>{a===Z.SEARCH&&e.current&&!e.current.contains(i.target)&&t(Z.NONE)};return document.body.addEventListener("click",i),()=>{document.body.removeEventListener("click",i)}},[a,t,e]),{activePopover:a,setActivePopover:t}}(l),x=(0,k.zW)(),m=x===k.iq.TRIBUTE?k.lM.HEADER_TRIBUTE:k.lM.HEADER_DONATE,b=(0,k.ew)((0,k.Jo)(m),"",x),p=e=>{d===Z.SEARCH?c(Z.NONE):c(Z.SEARCH),e.preventDefault(),e.stopPropagation()};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" skipLink",children:(0,i.jsx)("a",{href:"#mainContent",className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]]),children:"Skip to Main Content"})}),(0,i.jsxs)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" headerContainer",children:[(0,i.jsxs)("header",{ref:s,className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]]),children:[(0,i.jsx)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" logo",children:(0,i.jsxs)(g(),{"data-qa":"global-nav-logo",href:w.Z6.HOME,children:[(0,i.jsx)(h.Z,{width:o>q.MEDIUM?320:185,variant:h.P.HORIZONTAL}),(0,i.jsx)("span",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" sr-only",children:"Caring Bridge dot org Home Page"})]})}),(0,i.jsx)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" lgMenu",children:(0,i.jsxs)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" lgMenuButtons",children:[(0,i.jsx)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.START,"data-qa":"headerStartLink",children:w.SG.START}),(0,i.jsxs)("p",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" headerMenuDropdown",children:[(0,i.jsxs)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.PAGES_ABOUT_US,"data-qa":"headerAboutUsLink",children:[w.SG.PAGES_ABOUT_US,(0,i.jsx)("i",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" fa-chevron-down fa-light"})]}),(0,i.jsxs)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" dropdownContent",children:[(0,i.jsx)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.PAGES_PARTNERSHIPS,"data-qa":"headerPartnershipsLink",children:w.SG.PAGES_PARTNERSHIPS}),(0,i.jsx)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.PAGES_OUR_PEOPLE,"data-qa":"headerOurPeopleLink",children:w.SG.PAGES_OUR_PEOPLE}),(0,i.jsx)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.PAGES_FINANCIALS_RATINGS,"data-qa":"headerFinancialsRatingsLink",children:w.SG.PAGES_FINANCIALS_RATINGS}),(0,i.jsx)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.PAGES_CAREERS,"data-qa":"headerCareersLink",children:w.SG.PAGES_CAREERS})]})]}),(0,i.jsxs)("p",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" headerMenuDropdown",children:[(0,i.jsxs)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.RESOURCES,"data-qa":"headerResourcestLink",children:[w.SG.RESOURCES,(0,i.jsx)("i",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" fa-chevron-down fa-light"})]}),(0,i.jsxs)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" dropdownContent",children:[(0,i.jsx)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.RESOURCES_ADVICE,"data-qa":"headerExpertAdviceLink",children:w.SG.RESOURCES_ADVICE}),(0,i.jsx)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.RESOURCES_INSPIRATION,"data-qa":"headerInspirationLink",children:w.SG.RESOURCES_INSPIRATION}),(0,i.jsx)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.RESOURCES_STORIES,"data-qa":"headerMissionLink",children:w.SG.RESOURCES_STORIES})]})]}),(0,i.jsxs)("p",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" headerMenuDropdown",children:[(0,i.jsxs)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.RESOURCES_PRESS_RELEASES,"data-qa":"headerResourcestLink",children:[w.SG.RESOURCES_NEWS,(0,i.jsx)("i",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" fa-chevron-down fa-light"})]}),(0,i.jsx)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" dropdownContent",children:(0,i.jsx)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.RESOURCES_PRESS_RELEASES,"data-qa":"headerTeamLink",children:w.SG.RESOURCES_PRESS_RELEASES})})]}),(0,i.jsx)(g(),{className:"a--isClear headerMenuLink",target:"_blank",href:w.Z6.HELP,"data-qa":"headerContactLink",children:w.SG.HELP}),(0,i.jsx)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" flexbox lgSearch",children:(0,i.jsxs)("button",{onClick:p,"data-qa":"globalSearchLg",className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" iconButton button--isClear searchButton headerMenuLink",children:[(0,i.jsx)("i",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" "+"".concat(d===Z.SEARCH?"fa-xmark":"fa-magnifying-glass"," fa-light")}),(0,i.jsx)("span",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" menuText searchText",children:"Search"})]})})]})}),(0,i.jsx)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" lgDonate",children:(0,i.jsx)(E.Z,{size:C.i.MEDIUM,href:b,"data-qa":"globalDonateBtn",children:w.SG.DONATE})}),(0,i.jsx)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" smSearch",children:(0,i.jsxs)("button",{onClick:p,"data-qa":"globalSearchSm",className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" iconButton button--isClear searchButton headerMenuLink",children:[(0,i.jsx)("i",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" "+"".concat(d===Z.SEARCH?"fa-xmark":"fa-magnifying-glass"," fa-light")}),(0,i.jsx)("span",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" menuText searchText",children:"Search"})]})}),(0,i.jsx)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" smMenu",children:(0,i.jsx)(T,{anchor:s,activePopover:d,setActivePopover:c})}),(0,i.jsxs)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" profileMenu",children:[t&&(0,i.jsx)(P,{anchor:s,activePopover:d,setActivePopover:c,handleFeedback:a}),!t&&(0,i.jsxs)(g(),{className:"a--isClear headerMenuLink",href:w.Z6.PROFILE_SIGN_IN,"data-qa":"signIn",children:[(0,i.jsx)("i",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" fa-user fa-light"}),(0,i.jsx)("span",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" signIn",children:w.SG.PROFILE_SIGN_IN})]})]}),(0,i.jsx)("div",{className:n().dynamic([["52185690c6ff1cbf",[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE]]])+" lgDonateMobile",children:(0,i.jsx)(E.Z,{size:C.i.MOBILE,href:b,"data-qa":"globalDonateBtn",children:"DONATE"})})]}),(0,i.jsx)(O,{ref:l,anchor:s,activePopover:d,setActivePopover:c})]}),(0,i.jsx)(n(),{id:"52185690c6ff1cbf",dynamic:[_.Bs.SMALL,q.MEDIUM,q.MEDIUM,q.LARGE,q.X_LARGE],children:".headerContainer.__jsx-style-dynamic-selector{width:100%;background-color:white}header.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;max-width:360px;height:45px;margin:0 auto}.logo.__jsx-style-dynamic-selector{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.lgMenu.__jsx-style-dynamic-selector{display:none}.lgDonate.__jsx-style-dynamic-selector{display:none}.lgDonateMobile.__jsx-style-dynamic-selector{display:initial;margin-left:6px}.lgDonateMobile .button{margin-top:0px}.smSearch.__jsx-style-dynamic-selector{display:initial}.smMenu.__jsx-style-dynamic-selector{display:initial}.signIn.__jsx-style-dynamic-selector{margin-left:8px}.lgSearch.__jsx-style-dynamic-selector{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-right:8px}.iconButton.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin-right:8px;height:32px;width:32px;background-color:var(--gray-100);-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;-webkit-transition:all var(--speed-on-hover)linear;-moz-transition:all var(--speed-on-hover)linear;-o-transition:all var(--speed-on-hover)linear;transition:all var(--speed-on-hover)linear}.iconButton.__jsx-style-dynamic-selector:hover{color:var(--color-primary)}.iconButton.__jsx-style-dynamic-selector i.__jsx-style-dynamic-selector{margin:auto}.linkToLegacy.__jsx-style-dynamic-selector{cursor:pointer;background-color:transparent;border:0;color:var(--body-text);font-weight:var(--font-weight-medium);padding-left:0;padding-right:0}.linkToLegacy.__jsx-style-dynamic-selector:hover{color:var(--color-primary)}.headerMenuLink{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;white-space:nowrap;-webkit-transition:all var(--speed-on-hover)linear;-moz-transition:all var(--speed-on-hover)linear;-o-transition:all var(--speed-on-hover)linear;transition:all var(--speed-on-hover)linear;font-weight:var(--font-weight-medium)}.dropdownContent .headerMenuLink:hover{background-color:var(--gray-100);color:var(--color-primary);-webkit-transition:all var(--speed-on-hover)linear;-moz-transition:all var(--speed-on-hover)linear;-o-transition:all var(--speed-on-hover)linear;transition:all var(--speed-on-hover)linear;background-color:none}.headerMenuLink:hover{color:var(--color-primary)}.headerMenuLink:last-child:hover{-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px}.headerMenuLink:first-child:hover{-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px}@media(max-width:".concat(_.Bs.SMALL,")or (max-width:").concat(q.MEDIUM,"px){.searchText.__jsx-style-dynamic-selector{display:none}.signIn.__jsx-style-dynamic-selector{margin-right:8px}}@media(min-width:").concat(q.MEDIUM,"px)or (min-width:").concat(q.LARGE,"px){.headerContainer.__jsx-style-dynamic-selector{padding:0 40px}header.__jsx-style-dynamic-selector{max-width:1920px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:115px;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.smMenu.__jsx-style-dynamic-selector{margin-right:12px}.smSearch.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;padding-left:10px;width:127px}.smSearch.__jsx-style-dynamic-selector .searchButton.__jsx-style-dynamic-selector{padding-left:10px}.smSearch.__jsx-style-dynamic-selector .searchText.__jsx-style-dynamic-selector{margin-left:10px}.smSearch.__jsx-style-dynamic-selector .searchButton.__jsx-style-dynamic-selector .fa-xmark.__jsx-style-dynamic-selector{margin-right:4px}.lgDonate.__jsx-style-dynamic-selector{display:initial;margin-right:20px}.signIn.__jsx-style-dynamic-selector{margin-right:8px}.lgDonateMobile.__jsx-style-dynamic-selector{display:none}}@media(min-width:").concat(q.X_LARGE,"px){.headerContainer.__jsx-style-dynamic-selector{padding:0 40px}header.__jsx-style-dynamic-selector{max-width:1920px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:115px}.headerMenuLink{padding-right:12px}.logo.__jsx-style-dynamic-selector{margin-right:0px}.lgMenu.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.lgMenuButtons.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.lgDonate.__jsx-style-dynamic-selector{display:initial;margin-right:20px}.smSearch.__jsx-style-dynamic-selector{display:none}.smMenu.__jsx-style-dynamic-selector{display:none}.lgDonateMobile.__jsx-style-dynamic-selector{display:none}.searchButton.__jsx-style-dynamic-selector{padding-left:6px}.searchText.__jsx-style-dynamic-selector{position:relative;left:20px}.searchButton.__jsx-style-dynamic-selector .fa-xmark.__jsx-style-dynamic-selector{margin-right:4px}}.headerMenuDropdown.__jsx-style-dynamic-selector{position:relative;display:inline-block;cursor:pointer}.dropdownContent.__jsx-style-dynamic-selector{opacity:0;visibility:hidden;position:absolute;left:-webkit-calc(50% - 94px);left:-moz-calc(50% - 94px);left:calc(50% - 94px);background-color:#fff;min-width:160px;-webkit-box-shadow:0px 4px 8px 0px rgba(0,0,0,.1);-moz-box-shadow:0px 4px 8px 0px rgba(0,0,0,.1);box-shadow:0px 4px 8px 0px rgba(0,0,0,.1);z-index:1;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-transition:opacity.3s ease-in-out,visibility.3s ease-in-out;-moz-transition:opacity.3s ease-in-out,visibility.3s ease-in-out;-o-transition:opacity.3s ease-in-out,visibility.3s ease-in-out;transition:opacity.3s ease-in-out,visibility.3s ease-in-out}.headerMenuDropdown.__jsx-style-dynamic-selector:hover .dropdownContent.__jsx-style-dynamic-selector{opacity:1;visibility:visible}.dropdownContent a{color:black;padding:12px 16px;text-decoration:none;display:block}.fa-light.__jsx-style-dynamic-selector{margin-left:2px}")})]})}F.propTypes={handleProvideFeedback:l().func};var H=t(19063),X=t(87531),J=t(96992),V=t(65575),W=t(78359),Y=t(18599);function K(e){let{position:a="fixed"}=e,{bannerMap:t}=(0,Y.ZL)(),o=null;return"fixed"===a&&(o=(0,i.jsxs)("div",{className:"jsx-f0ab60938ce4ab98 ghostYard",children:[Array.from(t.values()).map(e=>(0,i.jsx)(W.Z,{cmsJson:e},e.sys.id)),(0,i.jsx)(n(),{id:"f0ab60938ce4ab98",children:".ghostYard.jsx-f0ab60938ce4ab98{visibility:hidden}"})]})),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:n().dynamic([["84ed3168e54b37d",[a]]])+" bannerDrawer",children:Array.from(t.values()).map(e=>(0,i.jsx)(W.Z,{cmsJson:e},e.sys.id))}),o,(0,i.jsx)(n(),{id:"84ed3168e54b37d",dynamic:[a],children:".bannerDrawer.__jsx-style-dynamic-selector{position:".concat(a,";width:100%;z-index:var(--zindex-fixed-banner)}")})]})}K.propTypes={position:l().string};var $=t(9143),Q=t(55385),ee=t(38183),ea=t(87536),et=t(50319),ei=t(82729),eo=t(81621);function en(){let e=(0,ei._)(["\n    mutation GIVE_FEEDBACK($input: FeedbackInput!) {\n        giveFeedback(feedback: $input) {\n            firstName\n            lastName\n            emailAddress\n            body\n        }\n    }\n"]);return en=function(){return e},e}let er=(0,eo.Ps)(en());var es=t(49638),el=t(43221),ed=t(8988),ec=t(70504),ex=t(36631),em=t(77386);function eb(e){var a,t,o;let{modal:s}=e,{firstName:l,lastName:d,emailAddress:c}=(0,I.SE)(),[x,m]=(0,r.useState)(""),[b,p]=(0,r.useState)(null),[f,u]=(0,r.useState)(""),{handleSubmit:y,register:g,formState:{errors:v}}=(0,ea.cI)({defaultValues:{firstName:null!=l?l:"",lastName:null!=d?d:"",emailAddress:null!=c?c:""}}),[j,{loading:w}]=(0,et.D)(er,{onCompleted:()=>{m("Your feedback has been submitted."),setTimeout(()=>{m(""),u(""),s.toggleModal()},2e3)},onError:e=>{p(null==e?void 0:e.graphQLErrors[0])}});return(0,i.jsxs)(ee.Z,{isShowing:s.isShowing,setIsShowing:s.setIsShowing,onClickOverlay:s.toggleModal,children:[(0,i.jsxs)($.Z,{isForModal:!0,className:"feedbackModalCard paddingLeftRight bleed",children:[(0,i.jsx)(em.Z,{"data-qa":"closeFeedbackModal",onClick:s.toggleModal}),(0,i.jsx)(h.Z,{width:228,variant:h.P.STACKED}),(0,i.jsx)("h6",{className:n().dynamic([["599467de5aa018dc",[_.Bs.MEDIUM]]])+" feedbackModalHeader",children:"Help us shape the CaringBridge experience"}),(0,i.jsx)("p",{className:n().dynamic([["599467de5aa018dc",[_.Bs.MEDIUM]]])+" feedbackModalSubtext",children:"Whether you're navigating a personal health journey or supporting a loved one, share your valuable feedback to help us continue to enhance our platform."}),(0,i.jsxs)("form",{autoComplete:"off",onSubmit:y(e=>{let{firstName:a,lastName:t,emailAddress:i}=e;j({variables:{input:{emailAddress:i.toLowerCase(),firstName:a,lastName:t,body:f}}})}),className:n().dynamic([["599467de5aa018dc",[_.Bs.MEDIUM]]])+" submitFeedbackForm",children:[(0,i.jsx)(Q.Z,{id:"firstName",label:"First Name",register:g,rules:{required:"First name is required."},errorMessage:null==v?void 0:null===(a=v.firstName)||void 0===a?void 0:a.message,autoComplete:"given-name"}),(0,i.jsx)(Q.Z,{id:"lastName",label:(0,i.jsxs)(i.Fragment,{children:["Last Name ",(0,i.jsx)("span",{className:n().dynamic([["599467de5aa018dc",[_.Bs.MEDIUM]]])+" optionalText",children:"(Optional)"})]}),register:g,errorMessage:null==v?void 0:null===(t=v.lastName)||void 0===t?void 0:t.message,autoComplete:"family-name"}),(0,i.jsx)(Q.Z,{id:"emailAddress",label:"Email Address",register:g,rules:{required:"Email Address is required.",pattern:{value:_.CU,message:"Must be a valid email address."}},errorMessage:null==v?void 0:null===(o=v.emailAddress)||void 0===o?void 0:o.message,autoComplete:"email"}),(0,i.jsx)(ec.Z,{className:"marginTop--12",htmlFor:"feedbackBody",children:"Your Feedback"}),(0,i.jsx)(ed.Z,{id:"feedbackBody",value:f,onChange:e=>u(e.target.value),"data-qa":"personalMessage",initialHeight:"134px",required:!0}),b&&(0,i.jsx)(el.Z,{"data-qa":"submit-feedback-error-text",children:b.message}),x&&(0,i.jsx)(ex.Z,{"data-qa":"submit-feedback-success-text",children:x}),(0,i.jsx)(E.Z,{size:C.i.SMALL,"data-qa":"submit-feedback-button",className:"submitFeedbackButton",type:"submit",disabled:w||x.length,children:w?(0,i.jsx)(es.ZP,{}):"Submit Feedback"})]})]}),(0,i.jsx)(n(),{id:"599467de5aa018dc",dynamic:[_.Bs.MEDIUM],children:".feedbackModalCard{width:846px;padding-left:128px;padding-right:128px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.feedbackModalHeader.__jsx-style-dynamic-selector{margin-bottom:0}.feedbackModalSubtext.__jsx-style-dynamic-selector{margin-top:0;margin-bottom:24px}.submitFeedbackForm.__jsx-style-dynamic-selector{width:520px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.submitFeedbackForm>span>label.marginTop--24{margin-top:12px!important}.submitFeedbackButton{-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end;margin-top:12px}.optionalText{color:var(--gray-400)}@media(max-width:".concat(_.Bs.MEDIUM,"){.feedbackModalCard{max-width:846px;width:100%;padding-left:2%;padding-right:2%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.submitFeedbackForm.__jsx-style-dynamic-selector{max-width:520px;width:100%}}")})]})}eb.propTypes={children:l().node,modal:l().object};var ep=t(28216);function ef(e){var a,t,o,s;let{title:l,children:d}=e,c=(0,H.bh)(),x=(0,Y.WX)(),b=(0,ep.Z)(),p=()=>{b.toggleModal()};return(0,r.useEffect)(()=>{var e,a,t,i;if(null==c?void 0:c.page)return(null===(e=c.page.globalData)||void 0===e?void 0:e.globalBanner)&&x({type:Y.x_.APPEND_BANNER,bannerData:c.page.globalData.globalBanner}),(null===(a=c.page.bannerCollection)||void 0===a?void 0:a.items)&&(null===(t=c.page.bannerCollection)||void 0===t||null===(i=t.items)||void 0===i||i.forEach(e=>{x({type:Y.x_.APPEND_BANNER,bannerData:e})})),()=>{x({type:Y.x_.CLEAR_ALL})}},[c,x]),(0,i.jsxs)("div",{className:"jsx-1524b07103743008 globalLayout",children:[l&&(0,i.jsx)(u(),{children:(0,i.jsx)("title",{className:"jsx-1524b07103743008",children:l})}),(0,i.jsxs)("div",{className:"jsx-1524b07103743008 footerStick",children:[(0,i.jsx)(K,{}),(0,i.jsx)(F,{handleProvideFeedback:()=>{p()}}),(0,i.jsx)(eb,{modal:b}),(0,i.jsx)("main",{id:"mainContent",className:"jsx-1524b07103743008 footerStick__content",children:d}),(0,i.jsx)(X.Z,{cmsJson:null===(a=c.page)||void 0===a?void 0:null===(t=a.globalData)||void 0===t?void 0:t.stickyFooter}),(0,i.jsx)(M,{})]}),(0,i.jsx)(m,{}),(0,i.jsx)(J.Z,{cmsJson:null===(o=c.page)||void 0===o?void 0:o.popup}),(0,i.jsx)(V.C,{cmsJson:null===(s=c.page)||void 0===s?void 0:s.tipsCollection}),(0,i.jsx)(n(),{id:"1524b07103743008",children:".globalLayout.jsx-1524b07103743008{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100vh}.footerStick.jsx-1524b07103743008{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column nowrap;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap}.footerStick__content.jsx-1524b07103743008{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}"})]})}ef.propTypes={children:l().node.isRequired,title:l().string}},78359:function(e,a,t){t.d(a,{Z:function(){return h}});var i=t(85893),o=t(36465),n=t.n(o),r=t(77386),s=t(45697),l=t.n(s),d=t(67294),c=t(79545),x=t(45779),m=t(94184),b=t.n(m),p=t(2232),f=t(18599),u=t(64306);function h(e){var a,t,o,s,l,m,h,y,g,v,j,w;let{cmsJson:E,preview:k=!1}=e,_=(0,d.useRef)(null),[M,S]=(0,d.useState)(!0),[L,A]=(0,d.useState)(()=>{var e,a,t;return a=null==E?void 0:null===(e=E.sys)||void 0===e?void 0:e.id,(null!==(t=sessionStorage.getItem("showBanner-".concat(a)))&&void 0!==t?t:"true")==="true"}),N=(0,f.WX)();(0,d.useLayoutEffect)(()=>{if(_.current){let e=getComputedStyle(_.current).backgroundColor;S((0,x.R)((0,x.v)(e)))}},[M]);let R=(0,c.Fb)(null==E?void 0:E.rules)||k;if(!E||!R)return null;let I=b()("bleed",{hide:!L,autoReversed:!M});return(0,i.jsxs)("div",{ref:_,className:n().dynamic([["77d33c4d833c1079",[null!==(h=null===(a=E.backgroundColor)||void 0===a?void 0:a.name)&&void 0!==h?h:"gray-200",M?"var(--body-text)":"white",E.textAlign,p.Bs.MEDIUM]]])+" "+(I||""),children:[(0,i.jsx)(r.Z,{onClick:()=>{A(!1),N({type:f.x_.REMOVE_BANNER,bannerData:E})},"data-qa":"closeBanner",className:"bannerCloseX",isForModal:!1}),(0,i.jsxs)("div",{className:n().dynamic([["77d33c4d833c1079",[null!==(y=null===(t=E.backgroundColor)||void 0===t?void 0:t.name)&&void 0!==y?y:"gray-200",M?"var(--body-text)":"white",E.textAlign,p.Bs.MEDIUM]]])+" flexAlign",children:[(0,i.jsx)("div",{className:n().dynamic([["77d33c4d833c1079",[null!==(g=null===(o=E.backgroundColor)||void 0===o?void 0:o.name)&&void 0!==g?g:"gray-200",M?"var(--body-text)":"white",E.textAlign,p.Bs.MEDIUM]]]),children:(0,i.jsx)(c.Nq,{json:E.copy.json,rules:{...E.rules,alignment:E.textAlign}})}),!!E.buttonsCollection.items.length&&(0,i.jsx)("div",{className:n().dynamic([["77d33c4d833c1079",[null!==(v=null===(s=E.backgroundColor)||void 0===s?void 0:s.name)&&void 0!==v?v:"gray-200",M?"var(--body-text)":"white",E.textAlign,p.Bs.MEDIUM]]])+" buttons",children:E.buttonsCollection.items.map(e=>{var a,t;return(0,i.jsxs)(d.Fragment,{children:[(0,i.jsx)("span",{className:n().dynamic([["77d33c4d833c1079",[null!==(t=null===(a=E.backgroundColor)||void 0===a?void 0:a.name)&&void 0!==t?t:"gray-200",M?"var(--body-text)":"white",E.textAlign,p.Bs.MEDIUM]]])+" spacer"}),(0,i.jsx)(u.Z,{button:e,isReversed:!M})]},e.sys.id)})})]}),(0,i.jsx)(n(),{id:"77d33c4d833c1079",dynamic:[null!==(j=null===(l=E.backgroundColor)||void 0===l?void 0:l.name)&&void 0!==j?j:"gray-200",M?"var(--body-text)":"white",E.textAlign,p.Bs.MEDIUM],children:".bleed.__jsx-style-dynamic-selector{background-color:var(--".concat(null!==(w=null===(m=E.backgroundColor)||void 0===m?void 0:m.name)&&void 0!==w?w:"gray-200",");color:").concat(M?"var(--body-text)":"white",";padding:0 2.5em;position:relative}.bannerCloseX.bannerCloseX{position:absolute;right:0;top:8px;font-size:32px}.flexAlign.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:").concat(E.textAlign,";-webkit-justify-content:").concat(E.textAlign,";-moz-box-pack:").concat(E.textAlign,";-ms-flex-pack:").concat(E.textAlign,";justify-content:").concat(E.textAlign,";-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:12px;padding:6px 0;min-height:58px}.spacer.__jsx-style-dynamic-selector{display:inline-block;width:1em}.hide.__jsx-style-dynamic-selector{display:none}.buttons.__jsx-style-dynamic-selector{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;text-align:center;line-height:40px}@media(min-width:").concat(p.Bs.MEDIUM,"){.flexAlign.__jsx-style-dynamic-selector{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;gap:0;padding-bottom:0}.buttons.__jsx-style-dynamic-selector{line-height:unset}}")})]})}h.propTypes={cmsJson:l().object,preview:l().bool}},87531:function(e,a,t){t.d(a,{Z:function(){return u}});var i=t(85893),o=t(36465),n=t.n(o),r=t(77386),s=t(45697),l=t.n(s),d=t(67294),c=t(79545),x=t(45779),m=t(94184),b=t.n(m),p=t(2232),f=t(64306);function u(e){var a,t,o,s,l,m,u,h,y,g,v,j;let{cmsJson:w,preview:E}=e,k=(0,d.useRef)(null),[_,M]=(0,d.useState)(!0),[S,L]=(0,d.useState)(()=>{var e,a,t;return a=null==w?void 0:null===(e=w.sys)||void 0===e?void 0:e.id,(null!==(t=sessionStorage.getItem("showBanner-".concat(a)))&&void 0!==t?t:"true")==="true"});(0,d.useLayoutEffect)(()=>{if(k.current){let e=getComputedStyle(k.current).backgroundColor;M((0,x.R)((0,x.v)(e)))}},[_]);let A=(0,c.Fb)(null==w?void 0:w.rules)||E;if(!w||!A)return null;let N=b()("bleed",{hide:!S,autoReversed:!_});return(0,i.jsxs)("div",{ref:k,className:n().dynamic([["fb3cd068afa15c74",[null!==(u=null===(a=w.backgroundColor)||void 0===a?void 0:a.name)&&void 0!==u?u:"gray-200",_?"var(--body-text)":"white",w.textAlign,p.Bs.MEDIUM]]])+" "+(N||""),children:[(0,i.jsx)(r.Z,{isForModal:!1,onClick:()=>{var e;L(!1),sessionStorage.setItem("showBanner-".concat(null==w?void 0:null===(e=w.sys)||void 0===e?void 0:e.id),"false")},"data-qa":"closeBanner",className:"sBannerCloseX"}),(0,i.jsxs)("div",{className:n().dynamic([["fb3cd068afa15c74",[null!==(h=null===(t=w.backgroundColor)||void 0===t?void 0:t.name)&&void 0!==h?h:"gray-200",_?"var(--body-text)":"white",w.textAlign,p.Bs.MEDIUM]]])+" flexAlign",children:[(0,i.jsx)("div",{className:n().dynamic([["fb3cd068afa15c74",[null!==(y=null===(o=w.backgroundColor)||void 0===o?void 0:o.name)&&void 0!==y?y:"gray-200",_?"var(--body-text)":"white",w.textAlign,p.Bs.MEDIUM]]]),children:(0,i.jsx)(c.Nq,{json:w.copy.json,rules:{...w.rules,alignment:w.textAlign}})}),!!w.buttonsCollection.items.length&&(0,i.jsx)("div",{className:n().dynamic([["fb3cd068afa15c74",[null!==(g=null===(s=w.backgroundColor)||void 0===s?void 0:s.name)&&void 0!==g?g:"gray-200",_?"var(--body-text)":"white",w.textAlign,p.Bs.MEDIUM]]])+" buttons",children:w.buttonsCollection.items.map(e=>{var a,t;return(0,i.jsxs)(d.Fragment,{children:[(0,i.jsx)("span",{className:n().dynamic([["fb3cd068afa15c74",[null!==(t=null===(a=w.backgroundColor)||void 0===a?void 0:a.name)&&void 0!==t?t:"gray-200",_?"var(--body-text)":"white",w.textAlign,p.Bs.MEDIUM]]])+" spacer"}),(0,i.jsx)(f.Z,{button:e,isReversed:!_})]},e.sys.id)})})]}),(0,i.jsx)(n(),{id:"fb3cd068afa15c74",dynamic:[null!==(v=null===(l=w.backgroundColor)||void 0===l?void 0:l.name)&&void 0!==v?v:"gray-200",_?"var(--body-text)":"white",w.textAlign,p.Bs.MEDIUM],children:"div.bleed.__jsx-style-dynamic-selector{background-color:var(--".concat(null!==(j=null===(m=w.backgroundColor)||void 0===m?void 0:m.name)&&void 0!==j?j:"gray-200",");color:").concat(_?"var(--body-text)":"white",";padding:0 2.5em;position:-webkit-sticky;position:sticky;bottom:0}.sBannerCloseX.sBannerCloseX{position:absolute;right:0;top:8px;font-size:32px}.flexAlign.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:").concat(w.textAlign,";-webkit-justify-content:").concat(w.textAlign,";-moz-box-pack:").concat(w.textAlign,";-ms-flex-pack:").concat(w.textAlign,";justify-content:").concat(w.textAlign,";-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:12px;padding:6px 0;min-height:58px}.spacer.__jsx-style-dynamic-selector{display:inline-block;width:1em}.hide.__jsx-style-dynamic-selector{display:none}.buttons.__jsx-style-dynamic-selector{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}@media(min-width:").concat(p.Bs.MEDIUM,"){.flexAlign.__jsx-style-dynamic-selector{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;gap:0;padding-bottom:0}}")})]})}u.propTypes={cmsJson:l().object,preview:l().bool}},96992:function(e,a,t){t.d(a,{Z:function(){return h}});var i=t(85893),o=t(36465),n=t.n(o),r=t(45697),s=t.n(r),l=t(25675),d=t.n(l),c=t(64306),x=t(38183),m=t(28216),b=t(77386),p=t(2232),f=t(9143),u=t(79545);function h(e){var a,t;let{cmsJson:o,preview:r=!1}=e,s=(0,m.Z)(!0),l=(0,u.Fb)(null==o?void 0:o.rules)||r;if(!o||!l)return null;let h=null==o?void 0:null===(a=o.media)||void 0===a?void 0:a.asset[0];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.Z,{isShowing:s.isShowing,setIsShowing:s.setIsShowing,onClickOverlay:s.toggleModal,children:(0,i.jsxs)(f.Z,{isForModal:!0,className:"popupContentWrapper",children:[(0,i.jsx)(b.Z,{"data-qa":"closeModal",onClick:s.toggleModal}),(0,i.jsx)("h2",{className:n().dynamic([["37d1830e258245a",[p.Bs.SMALL]]])+" h2 marginTop--12",children:o.headline}),h&&(0,i.jsx)(d(),{src:h.url,alt:null==o?void 0:null===(t=o.media)||void 0===t?void 0:t.altText,width:h.width,height:h.height,priority:!0,style:{maxWidth:"100%",height:"auto"},unoptimized:!0}),(0,i.jsx)("p",{className:n().dynamic([["37d1830e258245a",[p.Bs.SMALL]]])+" marginBottom--24",children:o.body}),(0,i.jsx)(c.Z,{button:o.button})]})}),(0,i.jsx)(n(),{id:"37d1830e258245a",dynamic:[p.Bs.SMALL],children:".popupContentWrapper{max-width:480px}@media(max-width:".concat(p.Bs.SMALL,"){.popupContentWrapper{max-width:360px}}")})]})}h.propTypes={cmsJson:s().object,preview:s().bool}},65575:function(e,a,t){t.d(a,{C:function(){return b},V:function(){return m}});var i=t(85893),o=t(36465),n=t.n(o),r=t(67294),s=t(45697),l=t.n(s),d=t(7438),c=t(77386),x=t(79545);function m(e){let{cmsJson:a,preview:t=!1}=e,{headline:o,body:s,element:l}=a,[m,b]=(0,r.useState)(!1),[p,f]=(0,r.useState)(null),u=(0,x.Fb)(null==a?void 0:a.rules)||t;return((0,r.useEffect)(()=>{if(!p){let e=setTimeout(()=>{f(document.getElementById(l)),b(!0)},600);return()=>clearTimeout(e)}},[p,l]),(0,r.useEffect)(()=>{if(m&&p&&null!==p.onclick){let e=e=>{p.contains(e.target)&&b(!1)};return window.addEventListener("click",e),()=>window.removeEventListener("click",e)}},[m,p]),u&&p&&m)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.J,{style:{zIndex:199},anchor:p,show:m,position:"right",children:(0,i.jsxs)("div",{className:"jsx-ffb3931f0e7ce1cd popoverContent",children:[(0,i.jsx)(c.Z,{"data-qa":"closeTips",onClick:()=>b(!1)}),(0,i.jsx)("h4",{className:"jsx-ffb3931f0e7ce1cd marginTop--6 marginBottom--12",children:o}),(0,i.jsx)("p",{className:"jsx-ffb3931f0e7ce1cd marginTop--6 marginBottom--12",children:s})]})}),(0,i.jsx)(n(),{id:"ffb3931f0e7ce1cd",children:".popoverContent.jsx-ffb3931f0e7ce1cd{z-index:var(--zindex-overlay-standard);position:relative;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}"})]}):null}function b(e){var a;let{cmsJson:t}=e;return(null==t?void 0:null===(a=t.items)||void 0===a?void 0:a.length)?(0,i.jsx)(i.Fragment,{children:t.items.map(e=>(0,i.jsx)(m,{cmsJson:e},e.sys.id))}):null}m.propTypes={cmsJson:l().object,preview:l().bool},b.propTypes={cmsJson:l().object}},45779:function(e,a,t){function i(e){return function(e){let a=e.slice(-2);e=e.replace(/..$/,"");let t=e.slice(-2);e=e.replace(/..$/,"");let i=e.slice(-2);return(Number("0x"+a)+Number("0x"+t)+Number("0x"+i))/3}(e)>=128}function o(e){let a=e.match(/(\()(.+)(\))/);if(!a||a.length<4)throw Error("Invalid RGB color string passed to rgbToHex(). ".concat(e));let t=a[2].replaceAll(" ","").split(","),i=t.reduce((e,a,t)=>t<3?e+parseInt(a).toString(16).padStart(2,"0"):e,"#");return i}t.d(a,{R:function(){return i},v:function(){return o}})}}]);