1/*! For license information please see ee154d7d50c0f8b4d4bd801e5abe739f8101be6a-67cb1231f3e3dd16efa1.js.LICENSE.txt */ 2(self.webpackChunk_jwm_janssen_with_me_frontend=self.webpackChunk_jwm_janssen_with_me_frontend||[]).push([[7310],{42481:function(e,t,l){"use strict";l.d(t,{g:function(){return vn},Z:function(){return yn}});var n=l(2534),a=l(95553),o=l.n(a),i={fflag:"style-module--fflag--5c058","fflag-CH":"style-module--fflag-CH--a9675","fflag-NP":"style-module--fflag-NP--83c8b","fflag-DZ":"style-module--fflag-DZ--ccba2","fflag-AO":"style-module--fflag-AO--50f87","fflag-BJ":"style-module--fflag-BJ--86c92","fflag-BW":"style-module--fflag-BW--28ad3","fflag-BF":"style-module--fflag-BF--83fe9","fflag-BI":"style-module--fflag-BI--bd9f1","fflag-CM":"style-module--fflag-CM--03f7a","fflag-CV":"style-module--fflag-CV--e8a04","fflag-CF":"style-module--fflag-CF--50e82","fflag-TD":"style-module--fflag-TD--5e7bc","fflag-CD":"style-module--fflag-CD--f28d7","fflag-DJ":"style-module--fflag-DJ--238f0","fflag-EG":"style-module--fflag-EG--148ec","fflag-GQ":"style-module--fflag-GQ--2126e","fflag-ER":"style-module--fflag-ER--87bf8","fflag-ET":"style-module--fflag-ET--25b4f","fflag-GA":"style-module--fflag-GA--8e826","fflag-GM":"style-module--fflag-GM--16578","fflag-GH":"style-module--fflag-GH--9d76a","fflag-GN":"style-module--fflag-GN--f3c5d","fflag-GW":"style-module--fflag-GW--3d1de","fflag-CI":"style-module--fflag-CI--3e0ee","fflag-KE":"style-module--fflag-KE--7c17d","fflag-LS":"style-module--fflag-LS--10b91","fflag-LR":"style-module--fflag-LR--a30ef","fflag-LY":"style-module--fflag-LY--1d208","fflag-MG":"style-module--fflag-MG--a51b0","fflag-MW":"style-module--fflag-MW--a6a6e","fflag-ML":"style-module--fflag-ML--10202","fflag-MR":"style-module--fflag-MR--40f25","fflag-MU":"style-module--fflag-MU--db89c","fflag-YT":"style-module--fflag-YT--f44f1","fflag-MA":"style-module--fflag-MA--9870f","fflag-MZ":"style-module--fflag-MZ--a56b3","fflag-NA":"style-module--fflag-NA--41a3c","fflag-NE":"style-module--fflag-NE--0171e","fflag-NG":"style-module--fflag-NG--8e4cb","fflag-CG":"style-module--fflag-CG--f32b3","fflag-RE":"style-module--fflag-RE--cc408","fflag-RW":"style-module--fflag-RW--7f7a0","fflag-SH":"style-module--fflag-SH--4cb6b","fflag-ST":"style-module--fflag-ST--b26a4","fflag-SN":"style-module--fflag-SN--9707f","fflag-SC":"style-module--fflag-SC--bc5de","fflag-SL":"style-module--fflag-SL--b0e9c","fflag-SO":"style-module--fflag-SO--83919","fflag-ZA":"style-module--fflag-ZA--5f8e0","fflag-SS":"style-module--fflag-SS--9305c","fflag-SD":"style-module--fflag-SD--33a0c","fflag-SR":"style-module--fflag-SR--6688c","fflag-SZ":"style-module--fflag-SZ--fdc93","fflag-TG":"style-module--fflag-TG--13587","fflag-TN":"style-module--fflag-TN--575c3","fflag-UG":"style-module--fflag-UG--f59a6","fflag-TZ":"style-module--fflag-TZ--2512e","fflag-EH":"style-module--fflag-EH--283ff","fflag-YE":"style-module--fflag-YE--72f04","fflag-ZM":"style-module--fflag-ZM--80533","fflag-ZW":"style-module--fflag-ZW--7efd0","fflag-AI":"style-module--fflag-AI--d8c1d","fflag-AG":"style-module--fflag-AG--8303c","fflag-AR":"style-module--fflag-AR--d6eaa","fflag-AW":"style-module--fflag-AW--0d25f","fflag-BS":"style-module--fflag-BS--9811e","fflag-BB":"style-module--fflag-BB--5a7f2","fflag-BQ":"style-module--fflag-BQ--5ee5b","fflag-BZ":"style-module--fflag-BZ--f9960","fflag-BM":"style-module--fflag-BM--72320","fflag-BO":"style-module--fflag-BO--b26b4","fflag-VG":"style-module--fflag-VG--79ce6","fflag-BR":"style-module--fflag-BR--36a92","fflag-CA":"style-module--fflag-CA--b70fc","fflag-KY":"style-module--fflag-KY--33ed5","fflag-CL":"style-module--fflag-CL--b3ded","fflag-CO":"style-module--fflag-CO--429e9","fflag-KM":"style-module--fflag-KM--00b55","fflag-CR":"style-module--fflag-CR--ee6b2","fflag-CU":"style-module--fflag-CU--65447","fflag-CW":"style-module--fflag-CW--7251e","fflag-DM":"style-module--fflag-DM--86689","fflag-DO":"style-module--fflag-DO--fbec1","fflag-EC":"style-module--fflag-EC--95f67","fflag-SV":"style-module--fflag-SV--b394f","fflag-FK":"style-module--fflag-FK--04496","fflag-GF":"style-module--fflag-GF--3c549","fflag-GL":"style-module--fflag-GL--478ed","fflag-GD":"style-module--fflag-GD--44c3d","fflag-GP":"style-module--fflag-GP--67f16","fflag-GT":"style-module--fflag-GT--d16df","fflag-GY":"style-module--fflag-GY--092b8","fflag-HT":"style-module--fflag-HT--0d709","fflag-HN":"style-module--fflag-HN--588a6","fflag-JM":"style-module--fflag-JM--4458c","fflag-MQ":"style-module--fflag-MQ--9bd5b","fflag-MX":"style-module--fflag-MX--ecb51","fflag-MS":"style-module--fflag-MS--c3e83","fflag-NI":"style-module--fflag-NI--c95c5","fflag-PA":"style-module--fflag-PA--b2a4b","fflag-PY":"style-module--fflag-PY--6bfc4","fflag-PE":"style-module--fflag-PE--e9f3a","fflag-PR":"style-module--fflag-PR--dae9a","fflag-BL":"style-module--fflag-BL--47c8d","fflag-KN":"style-module--fflag-KN--cac56","fflag-LC":"style-module--fflag-LC--447cd","fflag-PM":"style-module--fflag-PM--5a881","fflag-VC":"style-module--fflag-VC--ca80b","fflag-SX":"style-module--fflag-SX--3ba11","fflag-TT":"style-module--fflag-TT--aa283","fflag-TC":"style-module--fflag-TC--60e63","fflag-US":"style-module--fflag-US--24a1f","fflag-VI":"style-module--fflag-VI--e0397","fflag-UY":"style-module--fflag-UY--53efb","fflag-VE":"style-module--fflag-VE--69da4","fflag-AF":"style-module--fflag-AF--276d7","fflag-AZ":"style-module--fflag-AZ--e51f3","fflag-BD":"style-module--fflag-BD--bd4bf","fflag-BT":"style-module--fflag-BT--028b7","fflag-BN":"style-module--fflag-BN--28c1b","fflag-KH":"style-module--fflag-KH--9656f","fflag-CN":"style-module--fflag-CN--ad10f","fflag-GE":"style-module--fflag-GE--666b3","fflag-HK":"style-module--fflag-HK--25914","fflag-IN":"style-module--fflag-IN--1c96a","fflag-ID":"style-module--fflag-ID--a8fb4","fflag-JP":"style-module--fflag-JP--a53fd","fflag-KZ":"style-module--fflag-KZ--9ef6f","fflag-LA":"style-module--fflag-LA--9ae95","fflag-MO":"style-module--fflag-MO--67e78","fflag-MY":"style-module--fflag-MY--e03f8","fflag-MV":"style-module--fflag-MV--67ac5","fflag-MN":"style-module--fflag-MN--003e4","fflag-MM":"style-module--fflag-MM--3e178","fflag-KP":"style-module--fflag-KP--ab512","fflag-MP":"style-module--fflag-MP--3cc54","fflag-PW":"style-module--fflag-PW--e151e","fflag-PG":"style-module--fflag-PG--6b45c","fflag-PH":"style-module--fflag-PH--eb9e1","fflag-SG":"style-module--fflag-SG--c400b","fflag-KR":"style-module--fflag-KR--55b14","fflag-LK":"style-module--fflag-LK--db99e","fflag-TW":"style-module--fflag-TW--0724b","fflag-TJ":"style-module--fflag-TJ--1ba64","fflag-TH":"style-module--fflag-TH--8e2a3","fflag-TL":"style-module--fflag-TL--aa699","fflag-TM":"style-module--fflag-TM--fc649","fflag-VN":"style-module--fflag-VN--61126","fflag-AL":"style-module--fflag-AL--bf6bc","fflag-AD":"style-module--fflag-AD--bd04f","fflag-AM":"style-module--fflag-AM--b6f69","fflag-AT":"style-module--fflag-AT--96b3d","fflag-BY":"style-module--fflag-BY--93be4","fflag-BE":"style-module--fflag-BE--c7c77","fflag-BA":"style-module--fflag-BA--f50b9","fflag-BG":"style-module--fflag-BG--2bc1e","fflag-HR":"style-module--fflag-HR--fc836","fflag-CY":"style-module--fflag-CY--9a120","fflag-CZ":"style-module--fflag-CZ--1a519","fflag-DK":"style-module--fflag-DK--9ae24","fflag-EE":"style-module--fflag-EE--0d95d","fflag-FO":"style-module--fflag-FO--58d0a","fflag-FI":"style-module--fflag-FI--39099","fflag-FR":"style-module--fflag-FR--48c72","fflag-DE":"style-module--fflag-DE--94211","fflag-GI":"style-module--fflag-GI--64c76","fflag-GR":"style-module--fflag-GR--cd167","fflag-HU":"style-module--fflag-HU--d96dc","fflag-IS":"style-module--fflag-IS--deba4","fflag-IE":"style-module--fflag-IE--447fa","fflag-IM":"style-module--fflag-IM--135a9","fflag-IT":"style-module--fflag-IT--fcc55","fflag-JE":"style-module--fflag-JE--1f570","fflag-XK":"style-module--fflag-XK--50da6","fflag-LV":"style-module--fflag-LV--b82a9","fflag-LI":"style-module--fflag-LI--864ac","fflag-LT":"style-module--fflag-LT--9a91b","fflag-LU":"style-module--fflag-LU--62769","fflag-MT":"style-module--fflag-MT--7f62e","fflag-MD":"style-module--fflag-MD--5de4e","fflag-MC":"style-module--fflag-MC--cc858","fflag-ME":"style-module--fflag-ME--f7d36","fflag-NL":"style-module--fflag-NL--fcc25","fflag-MK":"style-module--fflag-MK--47569","fflag-NO":"style-module--fflag-NO--8315b","fflag-PL":"style-module--fflag-PL--d0f89","fflag-PT":"style-module--fflag-PT--9d483","fflag-RO":"style-module--fflag-RO--71e9b","fflag-RU":"style-module--fflag-RU--d63e6","fflag-SM":"style-module--fflag-SM--1d605","fflag-RS":"style-module--fflag-RS--50204","fflag-SK":"style-module--fflag-SK--ec73d","fflag-SI":"style-module--fflag-SI--70dcd","fflag-ES":"style-module--fflag-ES--3472b","fflag-SE":"style-module--fflag-SE--c2d70","fflag-TR":"style-module--fflag-TR--667e3","fflag-UA":"style-module--fflag-UA--00a41","fflag-GB":"style-module--fflag-GB--43eda","fflag-VA":"style-module--fflag-VA--c577a","fflag-BH":"style-module--fflag-BH--7d2fc","fflag-IR":"style-module--fflag-IR--c88ce","fflag-IQ":"style-module--fflag-IQ--7d9ab","fflag-IL":"style-module--fflag-IL--cc53b","fflag-KW":"style-module--fflag-KW--439ea","fflag-JO":"style-module--fflag-JO--f6dc1","fflag-KG":"style-module--fflag-KG--b6165","fflag-LB":"style-module--fflag-LB--f946c","fflag-OM":"style-module--fflag-OM--b1526","fflag-PK":"style-module--fflag-PK--0a690","fflag-PS":"style-module--fflag-PS--58a96","fflag-QA":"style-module--fflag-QA--78ed2","fflag-SA":"style-module--fflag-SA--51ec7","fflag-SY":"style-module--fflag-SY--f969a","fflag-AE":"style-module--fflag-AE--33086","fflag-UZ":"style-module--fflag-UZ--fd95e","fflag-AS":"style-module--fflag-AS--b3c7a","fflag-AU":"style-module--fflag-AU--e57d1","fflag-CX":"style-module--fflag-CX--9a5b7","fflag-CC":"style-module--fflag-CC--b031a","fflag-CK":"style-module--fflag-CK--20404","fflag-FJ":"style-module--fflag-FJ--aedd0","fflag-PF":"style-module--fflag-PF--4238e","fflag-GU":"style-module--fflag-GU--aa521","fflag-KI":"style-module--fflag-KI--01d8e","fflag-MH":"style-module--fflag-MH--6e4d7","fflag-FM":"style-module--fflag-FM--7af20","fflag-NC":"style-module--fflag-NC--9c4ea","fflag-NZ":"style-module--fflag-NZ--15eab","fflag-NR":"style-module--fflag-NR--bb409","fflag-NU":"style-module--fflag-NU--1f608","fflag-NF":"style-module--fflag-N
2F--ff9b8","fflag-WS":"style-module--fflag-WS--4dec6","fflag-SB":"style-module--fflag-SB--c4eb7","fflag-TK":"style-module--fflag-TK--340cf","fflag-TO":"style-module--fflag-TO--84870","fflag-TV":"style-module--fflag-TV--7924e","fflag-VU":"style-module--fflag-VU--2f978","fflag-WF":"style-module--fflag-WF--fec75","ff-sm":"style-module--ff-sm--6b2f2","ff-md":"style-module--ff-md--1ea34","ff-lg":"style-module--ff-lg--415b6","ff-xl":"style-module--ff-xl--f2e1a"};const r=e=>{let{code:t,size:l="sm"}=e;return React.createElement("div",{className:o()([i.fflag,i[`fflag-${t}`],i[`ff-${l}`]])})};var c=l(49525),s=l(85606),d=l(2784),u="style-module--wrapper--c8fe4",f="style-module--container--74481",m="style-module--textSection--e6c9f",g="style-module--countryContainer--dcbfc",p="style-module--option--9f39d",v="style-module--flag--f24a7",y="style-module--countryName--46e56",h="style-module--buttonSection--541f1";const b=e=>{const{countries:t,countrySpecificText:l="",placeHolderText:n=""}=e,{0:a,1:o}=(0,d.useState)(null==t?void 0:t[0]);return React.createElement("div",{className:u},React.createElement("div",{className:f},React.createElement("div",{className:m},React.createElement(s.Z,{color:"text-01",font:"title",weight:"400",size:"4xl",component:"span"},l)),React.createElement("div",{className:g},React.createElement(c.Ph,{isSearchable:!1,"data-test-id":"CountryInput.Select",placeholder:n,ariaLabel:n,onChange:e=>{o(null==e?void 0:e.value)},name:"countrySelector"},null==t?void 0:t.map((e=>React.createElement(c.Ph.Option,{key:null==e?void 0:e.country_iso_code,value:e,selected:(null==a?void 0:a.country_iso_code)===(null==e?void 0:e.country_iso_code),"data-test-id":"CountryInput.Option",ariaLabel:null==e?void 0:e.country_name},React.createElement("div",{className:p},React.createElement("div",{className:v,"data-test-id":`CountryInput.Option.${null==e?void 0:e.country_iso_code}`,tabIndex:-1},React.createElement(r,{code:null==e?void 0:e.country_iso_code})),React.createElement("div",{className:y,"data-test-id":`CountryInput.Option.${null==e?void 0:e.country_name}`,role:"option","aria-selected":(null==a?void 0:a.country_iso_code)===(null==e?void 0:e.country_iso_code)},React.createElement(s.Z,{variant:"span",font:"text",color:"inherit",weight:"inherit"},null==e?void 0:e.country_name)))))))),React.createElement("div",{className:h},null==a?void 0:a.button)))};var w=l(99756),E=l(76814);const R=e=>{let{placement:t,countryList:l}=e;const{t:a}=(0,E.$G)(),o=(0,w.a)(w.R.md),i=null==l?void 0:l.map((e=>{const l=React.createElement(n.c,{key:`country-button-${e.country_iso_code}`,buttonProps:{variant:"contained"},text:a("Go to country site",{ns:"common"}),placement:t,url:null==e?void 0:e.website_url,external:!0,size:"small",fullWidth:o});return{...e,button:l}}));return(null==l?void 0:l.length)&&React.createElement(b,{countries:i,countrySpecificText:a("Select a country to see country specific content",{ns:"common"}),placeHolderText:a("Select a Country ...",{ns:"common"})})};var x=l(38777),S=l(80972),k=l.n(S),z=l(25113),C=l(15621),T=l(17029);const I=e=>{const t=document.querySelectorAll(e);null!=t&&t.length&&(0,x.Z)(t).forEach((t=>{const l=t.getElementsByTagName("select")[0];l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width="1px",l.style.height="1px",l.style.padding="0",l.style.margin="-1px",l.style.overflow="hidden",l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="nowrap",l.style.border="0";const n=(0,x.Z)(l.options).map((e=>({value:e.value,text:e.text,id:e.id,isSelected:e.selected}))),a=t.getElementsByTagName("div");for(;a.length>0;)a[0].remove();const o=document.createElement("div");t.appendChild(o);(0,T.createRoot)(o).render(React.createElement(c.ZP,{name:l.name,onChange:t=>{$(l,t),I(e)}},n.map((e=>React.createElement(c.ZP.Option,{key:e.id,value:e.value,selected:l.value===e.value},e.text)))))}))},$=(e,t)=>{if(!t)return void(e.value="");const l=t.value;e.value=l;const n=new Event("change",{bubbles:!0});e.dispatchEvent(n)};var N=l(98069),_=l(76093),M=l(91689),A=l(16420),L=l(40853),O="form-assembly-module--loading--8b27b",P="form-assembly-module--form-assembly-webform--282ee";const H=1,j=0,B=e=>{let{formAssemblyRestUrl:t,proxyUrl:l={}.GATSBY_API_ORIGIN_URL||"https://www.jnjwithme.de/",formAssemblyDomain:n="https://janssenpharmaceutica.tfaforms.net",compliance:a=!1,complianceText:o="",params:i,title:r}=e;const c=M.ZP.stripTrailing(l),u=null!=t&&t.match(/^(http|https):\/\//i)?null==t?void 0:t.replace(n,`${c}/formassembly`):"",{0:f,1:m}=(0,d.useState)(new URL(u)),g=null==t?void 0:t.slice(t.lastIndexOf("/")+1),p=(0,_.Z)(`formassembly-${g}`);
2i&&Object.keys(i).forEach((e=>{f.searchParams.append(e,i[e])}));const{0:v,1:y}=(0,d.useState)(null),{0:h,1:b}=(0,d.useState)([]),{0:w,1:R}=(0,d.useState)(!1),{0:S,1:T}=(0,d.useState)(null),{0:$,1:B}=(0,d.useState)(!1),{0:G,1:W}=(0,d.useState)(!1),{0:F,1:Z}=(0,d.useState)(!1),D=(0,d.useRef)(0),U=(0,d.useRef)(0),K=(0,d.useRef)(!1),{t:V}=(0,E.$G)(),J=e=>{var t;const l=null==e||null===(t=e.target)||void 0===t?void 0:t.src;"load"===e.type&&b((e=>e.map((e=>l===e.script.src?{script:e.script,src:l,status:H}:e))))};function q(){U.current=U.current+1,U.current===D.current&&B(!0)}(0,d.useEffect)((()=>{h.every((e=>e.status!==j||(document.head.appendChild(e.script),e.src||b((t=>(t[null==t?void 0:t.indexOf(e)]={script:e.script,src:e.src,status:H},(0,x.Z)(t)))),!1))),h.length>0&&h.every((e=>e.status===H))&&R(!0)}),[h]),(0,d.useEffect)((()=>{w&&$&&window.document.dispatchEvent(new Event("DOMContentLoaded",{bubbles:!0,cancelable:!0}))}),[w,$]),(0,d.useEffect)((()=>{if(!$)return;const e=document.getElementById(p),t=null==e?void 0:e.querySelector('[id^="submit_button"]');if(!e||!t)return;const l=()=>{if(K.current)return;const l=e.querySelector('[id^="g-recaptcha-response"]'),n=!F||Boolean(null==l?void 0:l.value);t.disabled=!(w&&n)};l();const n=F?window.setInterval(l,500):void 0;return()=>{void 0!==n&&window.clearInterval(n)}}),[$,w,F,p]),(0,d.useEffect)((()=>{R(!1),B(!1),y(null),b([]),Z(!1),K.current=!1,D.current=0,U.current=0;const e=[];return A.Z.get(f.toString()).then((t=>{if(t&&200===(null==t?void 0:t.status)){const{formHeaderRaw:l,formBody:n}=(e=>{var t,l;const n="\x3c!-- FORM: BODY SECTION --\x3e",a=e.includes(n)?e:e.replace('<div class="wFormContainer"',`${n}\n <div class="wFormContainer"`),o=a.includes("<head>")&&a.includes("</head>")?a.substring(a.indexOf("<head>")+6,a.indexOf("</head>")-1):a.includes(n)&&(null==a||null===(t=a.split(n))||void 0===t?void 0:t[0])||"",i=a.includes("<body>")&&a.includes("</body>")?a.substring(a.indexOf("<body>")+6,a.indexOf("</body>")-1):a.includes(n)?null==a||null===(l=a.split(n))||void 0===l?void 0:l[1]:a,r=(0,x.Z)(i.matchAll(/(<script[\s\S]*?script>)/gm)).map((e=>e[0])).join(""),c=i.replace(/<script[\s\S]*?script>/gm,"");let s=(0,L.ZP)(c,{trim:!0})||[];return"string"!=typeof s&&Array.isArray(s)||(s=[s]),{formHeaderRaw:o+r,formBody:s}})(null==t?void 0:t.data),o=Array.from((new DOMParser).parseFromString(l,"text/html").head.children),i=o.filter((e=>{var t;return!("SCRIPT"===e.tagName&&null!==(t=e.getAttribute("src"))&&void 0!==t&&t.includes("recaptcha"))})),r=o.filter((e=>{var t;return"SCRIPT"===e.tagName&&(null===(t=e.getAttribute("src"))||void 0===t?void 0:t.includes("recaptcha"))}));Z(r.length>0);const c=[];[].concat((0,x.Z)(i),(0,x.Z)(r)).forEach((t=>{var l;if("SCRIPT"===t.tagName)c.push(t),(e=>{if(!a)return;const t=document.createElement("script");t.async=e.async,t.defer=e.defer;const l=e.getAttribute("src");if(l){t.src=l;const n=e.getAttribute("data-for");n&&t.setAttribute("data-for",n),t.addEventListener("load",J)}else{var n;t.text=null!==(n=e.textContent)&&void 0!==n?n:""}b((e=>[].concat((0,x.Z)(e),[{script:t,src:null!=l?l:void 0,status:j}])))})(t);else if("LINK"===t.tagName&&null!==(l=t.getAttribute("rel"))&&void 0!==l&&l.includes("stylesheet")){const l=document.createElement("link");l.rel="stylesheet";const n=t.getAttribute("href");n&&(l.href=n),D.current=D.current+1,e.push(l),l.addEventListener("load",q),l.addEventListener("error",q),document.head.appendChild(l)}else document.head.appendChild(document.adoptNode(t))})),0===c.length&&R(!0),0===D.current&&0===U.current&&B(!0),y(n)}else T(V("An unknown error occurred",{ns:"errors"}))})),()=>{for(const t of e)t.removeEventListener("load",q),t.removeEventListener("error",q),t.remove()}}),[f]);const Y=e=>{K.current=!1,e.disabled=!1,e.value="Submit",e.style.color=""},Q=async(e,t)=>{let l=0;for(;;)try{return await A.Z.put(e.presignedUrl,t.files[0],{headers:{...e.neededHeaders,"Content-Type":t.files[0].type}})}catch(n){if(l++,l>=5)throw T("Something went wrong while uploading the files, exceeded maximum number of tries: 5. Refresh and try again"),n}},X=e=>!Array.from(e.parentElement.classList).some((e=>e.includes("field-hint"))),ee=e=>async t=>{t.preventDefault();if(!await new Promise((e=>setTimeout((()=>{var l;const n=null==t||null===(l=t.target)||void 0===l?void 0:l.querySelectorAll(".errFld");
2null!=n&&n.length?null==n||n.forEach((t=>{var l,n;const a=null==t||null===(l=t.querySelector("label"))||void 0===l?void 0:l.textContent,o=null==t||null===(n=t.querySelector(".errMsg"))||void 0===n?void 0:n.textContent;k()().trackEvent({event:C.G.TOOL_ERROR,info:{name:r,type:"FormAssembly",stepnumber:"0",stepname:"form",fieldname:a,errormessage:o,errortype:"user"}}),e(!1)})):e(!0)}),500))))return!1;K.current=!0;const l=Array.from(e.elements).filter((e=>e.id.startsWith("submit_button")))[0],n=Array.from(e.elements).filter((e=>e.id.startsWith("tfa_")&&"file"!==e.type&&"radio"!==e.type&&"checkbox"!==e.type&&X(e))),a=Array.from(e.elements).filter((e=>e.id.startsWith("tfa_")&&("radio"===e.type||"checkbox"===e.type)&&X(e))),o=Array.from(e.elements).filter((e=>e.id.startsWith("tfa_")&&"file"===e.type&&X(e))),i={};for(const e of n)"SELECT"==e.tagName?i[e.name]=e.multiple?(c=e,Array.from(c.options).reduce(((e,t)=>t.selected?[].concat((0,x.Z)(e),[t.value]):e),[])):e.value:i[e.name]=e.value;var c;for(const e of a)e.checked&&(i[e.name]=e.value);for(const e of a)e.checked&&(e.id.startsWith("tfa_")&&e.id===e.value||(i[e.id]=e.value));const s=Array.from(e.elements).find((e=>e.id.startsWith("g-recaptcha-response")));let d;if(null!=s&&s.value&&(i["g-recaptcha-response"]=s.value),!G&&o.length>0){if(o.reduce(((e,t)=>{var l,n;return e+((null==t||null===(l=t.files)||void 0===l||null===(n=l[0])||void 0===n?void 0:n.size)||0)}),0)>36700160)return T("Exceeded maximum aggregate file size"),Y(l),!1;const e=await(async e=>{try{const t=e.reduce(((e,t)=>t.files.length>0?[].concat((0,x.Z)(e),[{name:t.files[0].name,size:t.files[0].size}]):e),[]);if(t.length<=0)return[];const{data:l}=await A.Z.post("/v5/files/upload/presigned",{files:t});return l}catch(t){T("Something went wrong while generating the file upload urls. Try submitting again")}})(o),t=await(async(e,t)=>{const l={};t.forEach((t=>{const n=e.find((e=>{var n,a,o,i;return(null===(n=e.files)||void 0===n||null===(a=n[0])||void 0===a?void 0:a.name)===t.name&&(null==e||null===(o=e.files)||void 0===o||null===(i=o[0])||void 0===i?void 0:i.size)===t.size&&!(e.id in l)}));l[t.uniqueIdentifier]=null==n?void 0:n.id}));try{return await Promise.all(t.map((async t=>{await Q(t,e.find((e=>(null==e?void 0:e.id)===l[t.uniqueIdentifier])))}))),W(!0),l}catch(n){T("Something went wrong while uploading the files. Try submitting again")}})(o,e);d=e.map((e=>({name:e.name,uniqueIdentifier:e.uniqueIdentifier,key:t[e.uniqueIdentifier]})))}const u={postBody:i,isMultipart:o.length>0,...d&&d.length>0&&{files:d}},f=await(async(e,t)=>{try{const{data:t}=await A.Z.post("/v5/formassembly/upload",e);return null==t?void 0:t.redirect}catch(l){throw T("Something went wrong while responding to the form. Refresh and try again"),Y(t),l}})(u,l);return f&&!f.includes("forms")?(k()().trackEvent({event:C.G.TOOL_LASTSTEP,info:{name:r,type:"FormAssembly",stepnumber:"1",stepname:"form_laststep"}}),window.location=f):f&&f.includes("forms")?m(new URL(f)):(k()().trackEvent({event:C.G.TOOL_ERROR,info:{name:r,type:"FormAssembly",stepnumber:"0",stepname:"form",errormessage:"Something went wrong while responding to the form",errortype:"user"}}),Y(l)),!1};(0,d.useEffect)((()=>{var e;const t=null===(e=document)||void 0===e?void 0:e.getElementById(p),l=null==t?void 0:t.getElementsByTagName("form")[0],n=ee(l);null==l||l.addEventListener("submit",n);const a=()=>W(!1),o=Array.from((null==l?void 0:l.elements)||[]).filter((e=>e.id.startsWith("tfa_")&&"file"===e.type));return o.forEach((e=>{e.addEventListener("change",a)})),()=>{null==l||l.removeEventListener("submit",n),o.forEach((e=>{e.removeEventListener("change",a)}))}})),(0,d.useEffect)((()=>{if(window.location.search.match(/internal=(true|1)/i)&&$){const e=/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i;document.querySelectorAll("input:not([value=''])").forEach((t=>{t.value.toString().match(e)&&(t.value=`${t.value}_internal`)}));const t=/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/;document.querySelectorAll("input:not([value=''])").forEach((e=>{e.value.toString().match(t)&&(e.value="PLEASE FILL OUT YOUR TESTING EMAIL ADDRESS HERE")})),alert("We detected you are testing this form submission internally. Please make sure to use a fake email address!\nWe don't want to trigger emails to real people.")}I(".inputWrapper:has(select)")}),[$]);return(0,d.useMemo)((()=>React.createElement("div",{id:p,key:p,className:P},a?React.createElement(React.Fragment,null,v&&$?React.createElement(React.Fragment,null,React.createElement(z.zN,{eventType:C.G.TOOL_STEP,name:r,type:"FormAssembly",stepnumber:"0",stepname:"form"}),React.createElement("div",{key:"form-data"},v)):React.createElement("div",{className:O},React.createElement(N.$,{size:"large"})),S&&React.createElement(s.Z,{key:"error",color:"error"},S)):React.createElement(s.Z,{"data-test-id":"Compliance-Error-Message"},o))),[v,$,S])},G=(e,t)=>{if(!t)return;const l=Object.keys(t);for(const n of l)if(n.toLowerCase()===e.toLowerCase()){const e=n,l=t[e];return delete t[e],l}},W=e=>{var t,l;const{title:n,formAssemblyRestUrl:a,compliance:o=!1}=e,{t:i}=(0,E.$G)(),r="undefined"!=typeof window&&Object.fromEntries(new URLSearchParams(null===(t=window)||void 0===t||null===(l=t.location)||void 0===l?void 0:l.search)),c=G("webid",r),s=G("codsId",r),d={...r,webid:c,codsid:s};return React.createElement(B,{formAssemblyRestUrl:a,compliance:o,complianceText:i("Please update your compliance settings to see the form",{ns:"common"}),params:d,title:n})};var F=l(73269),Z=l(76727),D=l(77028),U=l.n(D),K=l(6353),V=l.n(K);const J="font-weight: normal;",q=J+"font-style: italic;",Y="default",Q=Object.freeze({assert:!0,error:!0,warn:!0}),X={expand:!1,defaultEvent:void 0,event:void 0,label:"AutoConsoleGroup",showTime:!0},ee={profile:0,profileEnd:0,timeStamp:0,trace:0},te=Object.assign(console);const{fromEntries:le,keys:ne}=Object,ae=e=>[e,te[e]],oe=e=>t=>[t,function(l){e[t]=l}],ie=(e,t)=>le(ne(e).map(t));!(typeof window>"u"||"function"!=typeof window.matchMedia)&&window.matchMedia("(prefers-color-scheme: dark)").matches;const re=(ce=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t={},l={},n=[],a={...X,expand:!e.collapsed||X.expanded,...e};let o="";function i(){n.length=0,o=""}function r(){delete a.event,i()}const c=()=>!!n.some((e=>{let[t]=e;return t in Q}))||!!a.expand,s=()=>a.showTime?o:"";function d(){if(0!==n.length){te[c()?"group":"groupCollapsed"](`%c${a.label}%c ${(e=>{const t=e.event||e.defaultEvent;return t?`${t}`:""})(a)} %c${s()}`,J,"font-weight: bold;",q);for(const[e,...t]of n)te.assert(e in te,`Unknown console method: ${e}`),e in te&&te[e](...t);te.groupEnd(),r()}else r()}function u(){""===o&&(o=function(){const e=new Date,t=(t,l)=>e[t]().toString().padStart(l,"0");return`@ ${t("getHours",2)}:${t("getMinutes",2)}:${t("getSeconds",2)}.${t("getMilliseconds",3)}`}(),queueMicrotask((()=>queueMicrotask(d))))}function f(e){for(var t=arguments.length,l=new Array(t>1?t-1:0),a=1;a<t;a++)l[a-1]=arguments[a];0===n.length&&u(),n.push([e,...l])}function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y;for(var l=arguments.length,n=new Array(l>1?l-1:0),a=1;a<l;a++)n[a-1]=arguments[a];t[e]?f("log",`${e}: ${performance.now()-t[e]} ms`,...n):f("timeLog",e,...n)}return{...ie(a,oe(a)),...ie(console,(e=>[e,function(){for(var t=arguments.length,l=new Array(t),n=0;n<t;n++)l[n]=arguments[n];return f(e,...l)}])),...ie(ee,ae),assert:function(e){for(var t=arguments.length,l=new Array(t>1?t-1:0),n=1;n<t;n++)l[n-1]=arguments[n];!0!==e&&f("assert",e,...l)},count:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y;l[e]?l[e]+=1:l[e]=1,f("log",`${e}: ${l[e]}`)},countReset:function(){delete l[arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y]},endAutoGroup:d,errorBoundary:e=>function(){let t;try{t=e(...arguments)}catch(l){if(!Error.prototype.isPrototypeOf(l))throw l;f("error",l),d()}return t},event:function(e){u(),a.event=e},purge:i,time:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y;u(),t[e]=performance.now()},timeEnd:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y;m(e),delete t[e]},timeLog:m,touch:u}}
2,ce?.__esModule?ce.default:ce);var ce;function se(e){let{forwardRef:t,...l}=e;const n=(e=>{let{license:t,bodyBackground:l,bodyMargin:n,bodyPadding:a,checkOrigin:o,direction:i,inPageLinks:r,log:c,offset:s,offsetHeight:d,offsetWidth:u,scrolling:f,tolerance:m,warningTimeout:g,waitForLoad:p,onAfterClose:v,onReady:y,onMessage:h,onResized:b,...w}=e;return w})(l),a=(0,d.useRef)(null),o=re(),i=()=>(o.event("close"),o.warn("Close event ignored, to remove the iframe update your React component."),!1);return(0,d.useEffect)((()=>{const e=a.current,t={...l,onBeforeClose:i};o.label(`react(${e.id})`),o.event("setup");const n=V()(t)(e);return o.expand(t.logExpand),l.log&&o.log("Created React component"),()=>{o.endAutoGroup(),n?.disconnect()}}),[]),(0,d.useImperativeHandle)(t,(()=>({getRef:()=>a,getElement:()=>a.current,resize:()=>a.current.iframeResizer.resize(),moveToAnchor:e=>a.current.iframeResizer.moveToAnchor(e),sendMessage:(e,t)=>{a.current.iframeResizer.sendMessage(e,t)}}))),d.createElement("iframe",U()({},n,{ref:a}))}var de=l(76279);const ue=e=>{let{src:t,visualSegregation:l=!1,fullSize:n,options:a,height:o=400,unit:i="px",text:r,userInfo:c=null}=e;const{0:s,1:u}=(0,d.useState)(null),{0:f,1:m}=(0,d.useState)(null),[g]=(0,de._)("iframeLogging",!1);d.useEffect((()=>{if("undefined"!=typeof window){var e;const t=window.location.origin;m(t),null!==(e=window)&&void 0!==e&&e.iframeTracking||(k()().trackIFrames([t]),window.iframeTracking=!0)}}),[]),d.useEffect((()=>{let e="";if(t.startsWith("http")||0===t.indexOf("//")?e=t:f&&(e=Z.ZP.join(f,"/iframes",t)),c&&e){const t=new URLSearchParams(c);""===new URL(e).search?e+=`?${t.toString()}`:"?"===new URL(e).search?e+=t.toString():e+=`&${t.toString()}`}u(e)}),[f,c,t]);const p=`${o}${i}`,v=!!g&&"collapsed",y="12ajjdewwwy-26rnhw2943-1s7g1u8ma0i";return l?d.createElement(d.Fragment,null,d.createElement("div",{style:{marginBlockEnd:"var(--spacing-08)"}},d.createElement(F.j,{text:r,type:"info",showIcon:!0})),d.createElement("div",{style:{border:"10px solid var(--primary-100)"},"data-test-id":"Iframe.VisualSegregation"},d.createElement(se,Object.assign({src:s,style:{width:"100%",minHeight:p,border:"none"},license:y,log:v,checkOrigin:!1},a)))):d.createElement(se,Object.assign({src:s,style:n?{width:"100%",height:"100%",border:"none"}:{width:"100%",minHeight:p,border:"none"},license:y,log:v,checkOrigin:!1},a))};var fe=l(77034),me="style-module--fullWidth--6ee1e";const ge=e=>{const{source:t,hide_scrollbars:l,container_scale:n,fullWidth:a,iframe_size:o}=e,{0:i,1:r}=(0,d.useState)("loading"),c=(0,fe.bU)();(0,d.useEffect)((()=>{const e=()=>{r(window.OptanonActiveGroups)};return window.addEventListener("OptanonActiveGroupsChanged",e),()=>{window.removeEventListener("OptanonActiveGroupsChanged",e)}}),[i]);const s={scrolling:!l,sizeHeight:!n};let u=t;if("undefined"!=typeof window){var f,m,g,p;const e=new URL(t,(null===(f=window)||void 0===f?void 0:f.origin)||"https://localhost/");null==e||null===(m=e.searchParams)||void 0===m||m.set("optanonactivegroups",null===(g=window)||void 0===g?void 0:g.OptanonActiveGroups),null==e||null===(p=e.searchParams)||void 0===p||p.set("locale",c),u=null!=t&&t.match(/^(http|https):\/\//i)?e.toString():(null==e?void 0:e.pathname)+(null==e?void 0:e.search)}const v=React.createElement(ue,{src:u,fullSize:n,options:s,height:null==o?void 0:o.value,unit:null==o?void 0:o.unit});return a?React.createElement("div",{className:me},v):v};var pe=l(21336),ve=l(55226),ye=l(65010),he={element:"style-module--element--62039",gray:"style-module--gray--cd893",wrapper:"style-module--wrapper--c2117",noPaddingXl:"style-module--noPaddingXl--f5be1",imageContainer:"style-module--imageContainer--d83ca",imageWrapper:"style-module--imageWrapper--6f7c5",removePaddingTopImage:"style-module--removePaddingTopImage--059f7",container:"style-module--container--202a1",contentWrapper:"style-module--contentWrapper--0f69f",content:"style-module--content--28dff",body:"style-module--body--d1862",footer:"style-module--footer--4cfdb",title:"style-module--title--2e313",primary:"style-module--primary--e1bf9",mediaStart:"style-module--mediaStart--7254d",mediaEnd:"style-module--mediaEnd--49c60",contentStart:"style-module--contentStart--42ce4",contentEnd:"style-module--contentEnd--e9aa4"};const be=e=>{const{id:t="",backgroundColor:l,children:n,contentAlignment:a,footer:i,image:r,noPaddingXl:c=!1,title:d,removePaddingTopImage:u=!1,imageWrapper:f=!1}=e,m=!l||"primary"===l;return React.createElement("div",{className:o()(he.element,"white"===l?he.white:"gray"===l?he.gray:he.primary,"start"===a?r?he.mediaStart:he.contentStart:null,"end"===a?r?he.mediaEnd:he.contentEnd:null),"data-test-id":`Hero.${t}`,id:`Hero.${(0,_.Z)(null==t?void 0:t.toLowerCase())}`},React.createElement("div",{className:o()(he.wrapper,c?he.noPaddingXl:null)},r&&React.createElement("div",{className:o()(he.imageContainer,u&&he.removePaddingTopImage)},f?React.createElement("div",{className:he.imageWrapper},r):r),React.createElement("div",{className:he.container},React.createElement("div",{className:he.contentWrapper},React.createElement("div",{className:he.title,"data-test-id":"Hero.Title"},React.createElement(s.Z,{color:m?"white":"dark",component:"h2",variant:"h2",weight:"400"},d)),React.createElement("div",{className:he.content},React.createElement("div",{className:he.body},React.createElement(s.Z,{color:m?"white":"light",variant:"body-02"},n)),(Array.isArray(i)?i.length>0:!!i)&&React.createElement("div",{className:he.footer,"data-test-id":"Hero.Footer"},i))))))};var we=l(15609),Ee="style-module--wrapper--e8269",Re="style-module--inFullWidthSection--ea3c4";const xe=e=>{const{id:t,backgroundColor:l="primary",contentAlignment:a,description:i,footer:r,inFullWidthSection:c,image:s,imageAlt:d="",imageTitle:u="",imagePosition:f,loading:m,placement:g,siteSpecialty:p,showGlossary:v,title:y}=e,h=(0,w.a)(w.R.md),b=null==r?void 0:r.map(((t,a)=>{var o,i,r,c,s,d,u,f,m,g;return null!=t&&null!==(o=t.link)&&void 0!==o&&o.title&&null!=t&&null!==(i=t.link)&&void 0!==i&&i.url?0===a?React.createElement(n.c,{key:a,buttonProps:{color:"primary"===l?"white":"primary",variant:"contained"},text:null==t?void 0:t.text,anchor_id:null==t||null===(r=t.link)||void 0===r?void 0:r.anchor_id,url:null==t||null===(c=t.link)||void 0===c?void 0:c.url,url_prefix:null==t||null===(s=t.link)||void 0===s?void 0:s.url_prefix,fullWidth:!1,external:null==t||null===(d=t.link)||void 0===d?void 0:d.external,placement:null==e?void 0:e.placement,size:h?"small":"medium"}):React.createElement(ve.Z,{key:a,anchor_id:null==t||null===(u=t.link)||void 0===u?void 0:u.anchor_id,url:null==t||null===(f=t.link)||void 0===f?void 0:f.url,url_prefix:null==t||null===(m=t.link)||void 0===m?void 0:m.url_prefix,external:null==t||null===(g=t.link)||void 0===g?void 0:g.external,placement:null==e?void 0:e.placement,fullWidth:!1},null==t?void 0:t.text):null})),E=Math.min(Math.max((null==s?void 0:s.height)/(null==s?void 0:s.width),.75),1.33),R=null!=s&&s.images?React.createElement(we.G,{image:(0,ye.hJ)(s,1/E,s.width/s.height),alt:d,title:u,loading:m,style:{to
2p:0,insetInlineStart:0,paddingBlockStart:100*E+"%",height:0},imgStyle:{objectPosition:null==f?void 0:f.replace("-"," ")}}):"string"==typeof s?React.createElement("img",{src:s,loading:"eager",alt:d,title:u,style:{objectPosition:null==f?void 0:f.replace("-"," ")}}):null,x=React.createElement(pe.H,{placement:g,siteSpecialty:p,showGlossary:void 0===v||v},y);return React.createElement("div",{className:o()(Ee,c?Re:null)},React.createElement(be,{id:t,backgroundColor:l,contentAlignment:a,image:R,imagePosition:f,loading:m,footer:b,title:x,imageWrapper:"string"==typeof s},i?React.createElement(pe.H,{color:"inherit",placement:g,siteSpecialty:p,showGlossary:void 0===v||v},i):null))};var Se=l(24613),ke=l(11177),ze=l(43720),Ce=l(1884),Te=l(54042),Ie=l(72588),$e=l(87959),Ne=l(34880),_e=l(46256),Me=l(65321),Ae=l(79219),Le=l(56352),Oe=l(43467);const Pe=(0,d.createContext)(null),He=e=>{let{google:t,children:l}=e;const[n,a]=d.useState(null),[o,i]=d.useState(!1),[r,c]=d.useState(!1),[s,u]=d.useState([]),[f,m]=d.useState(null),[g,p]=d.useState(null),[v,y]=d.useState(!1),[h]=d.useState(t);return d.createElement(Pe.Provider,{value:{activeHit:n,setActiveHit:a,mapFullScreen:o,setMapFullScreen:i,infoPanelVisible:r,setInfoPanelVisible:c,specialtyFilter:s,setSpecialtyFilter:u,distanceFilter:f,setDistanceFilter:m,google:h,trackingName:g,setTrackingName:p,noResults:v,setNoResults:y}},l)},je=()=>{const{activeHit:e=!1,setActiveHit:t=null,mapFullScreen:l=!1,setMapFullScreen:n=null,infoPanelVisible:a=!1,setInfoPanelVisible:o=null,specialtyFilter:i=null,setSpecialtyFilter:r=null,distanceFilter:c=null,setDistanceFilter:s=null,google:u=null,trackingName:f=null,setTrackingName:m=null,noResults:g=!1,setNoResults:p=null}=(0,d.useContext)(Pe);return{activeHit:e,setActiveHit:t,mapFullScreen:l,setMapFullScreen:n,infoPanelVisible:a,setInfoPanelVisible:o,specialtyFilter:i,setSpecialtyFilter:r,distanceFilter:c,setDistanceFilter:s,google:u,trackingName:f,setTrackingName:m,noResults:g,setNoResults:p}};var Be=e=>1.609*e,Ge=l(60805);const We=[3e4,2e4,15e3,1e4,5e3];var Fe=e=>{const{distanceLabel:t}=e,{t:l}=(0,E.$G)(),{distanceFilter:n,setDistanceFilter:a}=je();let o=0;const i=We.map((e=>{const l=e.toString()===(null==n?void 0:n.value);return l&&o++,{label:`${e/1e3}${t}`,value:"km"==t?e.toString():Be(e).toString(),isSelected:l}}));return React.createElement(Ge.ZP,{id:"Distance",key:0,customClass:null,placeholder:o>0?`${l("Distance",{ns:"common"})} (${o})`:`${l("Distance",{ns:"common"})}`,options:i,isMulti:!1,clickAction:e=>{a(e)}})};var Ze=e=>{let{attribute:t}=e;const{items:l,refine:n}=(0,Oe.c)({attribute:t}),{t:a}=(0,E.$G)(),o=(0,d.useMemo)((()=>null==l?void 0:l.sort(((e,t)=>e.label>t.label?1:t.label>e.label?-1:0))),[l]),{filterOptions:i,selectedOptionCount:r}=(0,d.useMemo)((()=>{var e;let t=0;return{filterOptions:null!==(e=null==o?void 0:o.map((e=>{const l={label:`${e.label} (${e.count})`,value:e.value,isSelected:e.isRefined,deleted:!1};return e.isRefined&&t++,l})))&&void 0!==e?e:[],selectedOptionCount:t}}),[o]);return React.createElement(Ge.ZP,{id:"Specialty",key:0,customClass:null,placeholder:r>0?`${a("Specialty",{ns:"common"})} (${r})`:`${a("Specialty",{ns:"common"})}`,options:i,isMulti:!0,clickAction:e=>(null!=e&&e.length,n(e.value))})},De={filters:"style-module--filters--95326",header:"style-module--header--f4b1b",reset:"style-module--reset--f4f11",back:"style-module--back--a93f8",title:"style-module--title--9d18a",formWrapper:"style-module--formWrapper--9cc1c",description:"style-module--description--da71f",addressWrapper:"style-module--addressWrapper--56b78",clear:"style-module--clear--d8c30",dropdownsWrapper:"style-module--dropdownsWrapper--c0e1d",fieldWrapper:"style-module--fieldWrapper--8089a",controlButtons:"style-module--controlButtons--21d8b",mobileToggle:"style-module--mobileToggle--7dbdd",searchButton:"style-module--searchButton--de2eb",open:"style-module--open--e9998",filterTags:"style-module--filterTags--777d5",fieldset:"style-module--fieldset--a6540",resetButton:"style-module--resetButton--cce92"};const Ue=2e4,Ke=e=>{const{geocoder:t,distanceLabel:l="km",name:n="",placement:a="",sectionBackgroun
2d:i}=e,{t:r}=(0,E.$G)(),{hits:c}=(0,Le.O)(),{items:u,refine:f}=(0,Oe.c)({attribute:"specialty"}),m={value:"km"===l?Ue.toString():Be(Ue).toString(),label:`20${l}`},{0:g,1:p}=(0,d.useState)(""),{google:v,specialtyFilter:y,setSpecialtyFilter:h,distanceFilter:b,setDistanceFilter:w,setNoResults:R}=je(),{0:x,1:S}=(0,d.useState)(0),{0:z,1:T}=(0,d.useState)(!1),I=(0,d.useMemo)((()=>{var e;return null!==(e=null==u?void 0:u.filter((e=>e.isRefined)).length)&&void 0!==e?e:0}),[u]);(0,d.useEffect)((()=>{0===(null==c?void 0:c.length)?R(!0):(null==c?void 0:c.length)>0&&R(!1)}),[c,R]),(0,d.useEffect)((()=>{v&&b&&g&&t(v,g,null==b?void 0:b.value)}),[b,v,g,t]),(0,d.useEffect)((()=>{let e=I;b&&e++,S(e)}),[b,I]);const $=()=>{k()().trackEvent({event:C.G.MAP_QUERY,info:{name:n,component:"search",placement:a,keyword:"unset",resultcount:null==c?void 0:c.length,filter:"reset filter"}})},N=React.createElement("button",{type:"button",className:De.clear,onClick:e=>{p(""),t(v,"",null==b?void 0:b.value),e.preventDefault()},"aria-label":r("Clear field",{ns:"common"})},React.createElement(Ce.JO,{color:"black",icon:Ae.r5M}));return React.createElement("div",{className:o()(De.filters,z?De.open:null)},React.createElement("div",{className:De.header},React.createElement("button",{type:"button",className:De.back,onClick:()=>T(!1),title:r("Back",{ns:"common"}),"data-test-id":"Locator.BackButton"},React.createElement(Ce.JO,{icon:Ce.MZ,type:"jnj",verticalAlign:"middle"})),React.createElement(s.Z,{className:De.title,color:"dark",size:"xl",weight:"400",font:"title"},r("Filters",{ns:"common"})),React.createElement("button",{type:"reset",className:De.reset,onClick:()=>(()=>{for(const e of u)e.isRefined&&f(e.value);p(""),w(null),t(v,"",m.value),$()})(),"aria-label":r("Clear all",{ns:"common"}),"data-test-id":"Locator.ResetButton"},React.createElement(s.Z,{color:"inherit",variant:"body"},r("Clear all",{ns:"common"})))),React.createElement("div",{className:De.formWrapper},React.createElement("div",{className:De.addressWrapper},React.createElement(_e.n,{name:"address",value:g,onChange:e=>p(e.target.value),onKeyDown:e=>{(0,Me.q)(e.key,(()=>t(v,g,null==b?void 0:b.value)))},placeholder:r("Address",{ns:"common"}),endAdornment:N,startAdornment:React.createElement(Ce.JO,{color:"interactive-05",icon:Ce.A2,type:"jnj",verticalAlign:"middle"}),variant:"gray"===i?"white":"default","aria-label":r("Address",{ns:"common"})})),React.createElement("div",{className:De.dropdownsWrapper},React.createElement("div",{className:De.fieldWrapper},React.createElement(Fe,{distanceLabel:l})),React.createElement("div",{className:De.fieldWrapper},React.createElement(Ze,{attribute:"specialty"}))),React.createElement("div",{className:De.controlButtons},React.createElement("div",{className:De.mobileToggle},React.createElement(ze.z,{id:r("Filters",{ns:"common"}),color:"primary",variant:"outlined",size:"small",fullWidth:!0,onClick:()=>T(!0),accessoryLeft:React.createElement(Ce.JO,{className:De.filterModalButtonIcon,color:"inherit",icon:Ce.yc,type:"jnj",size:"small"})})),React.createElement("div",{className:De.searchButton},React.createElement(ze.z,{color:"primary",size:"small",onClick:()=>{T(!1),t(v,g,null==b?void 0:b.value)}},React.createElement(s.Z,{color:"white",weight:"400"},r("Search",{ns:"common"})))))),React.createElement("div",{className:De.filterTags},React.createElement("fieldset",{className:o()(De.fieldset),"aria-labelledby":r("Selected filters",{ns:"common"})},b&&React.createElement(Ne.V,{dismissable:!0,onClick:()=>w(null)},React.createElement(s.Z,{size:"xs",weight:"400",color:"white"},b.label)),null==u?void 0:u.map(((e,t)=>e.isRefined?React.createElement(Ne.V,{color:"primary",dismissable:!0,key:t||e.label,onClick:()=>f(e.value)},React.createElement(s.Z,{size:"xs",weight:"400",color:"white"},e.label)):null)))))};var Ve=l(64669),Je="style-module--wrapper--5f376",qe="style-module--marker--f0459",Ye="style-module--activeMarkerParent--1278d",Qe="style-module--activeMarker--90b50",Xe="style-module--closeMap--ab824",et="style-module--fullScreen--a0059",tt="style-module--hide--ab529";const lt=()=>React.createElement("svg",{width:"64",height:"64",viewBox:"0 0 64 64",f
2ill:"none",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M9.3335 23.2666C9.3335 11.1406 19.1706 1.33331 31.3335 1.33331C43.4964 1.33331 53.3335 11.1406 53.3335 23.2666C53.3335 39.7166 31.3335 64 31.3335 64C31.3335 64 9.3335 39.7166 9.3335 23.2666Z",fill:"#564C47",style:{fill:"var(--text-light)",fillOpacity:1}}),React.createElement("rect",{x:"14.6665",y:"6.6666899",width:"33.333302",height:"33.333302",rx:"16.6667",fill:"#ffffff"}),React.createElement("rect",{x:"14.6665",y:"6.6666899",width:"33.333302",height:"33.333302",rx:"16.6667",fill:"#ffffff"}),React.createElement("path",{d:"m 38.113151,18.28584 c -1.5075,0 -2.7375,1.23 -2.7375,2.7375 0,1.2525 0.84,2.3025 1.9875,2.6325 v 3.615 c 0,2.3775 -1.935,4.3125 -4.3125,4.3125 -2.205,0 -4.02,-1.6575 -4.2825,-3.795 1.245,-0.3075 3.51,-1.38 4.0575,-5.16 v 0.0075 l 0.0075,-0.015 1.2,-6.4125 c 0.0525,-0.2925 0.2325,-2.0925 -1.995,-2.34 -1.2825,-0.1425 -2.6175,-0.285 -2.6175,-0.285 l 0.0075,1.9125 2.6325,-0.27 c 0.2025,0 0.3825,0.075 0.5025,0.2175 0.12,0.1425 0.1725,0.33 0.1425,0.5175 l -1.2075,6.39 c -0.4125,1.6275 -1.875,2.49 -3.555,2.49 -1.68,0 -3.1425,-0.8625 -3.555,-2.49 l -1.2075,-6.39 c -0.0375,-0.1875 0.015,-0.375 0.1425,-0.5175 0.12,-0.1425 0.3,-0.2175 0.5025,-0.2175 l 2.6325,0.27 v -1.9125 c 0,0 -1.335,0.1425 -2.6175,0.285 -2.2275,0.2475 -2.0475,2.0475 -1.995,2.34 l 1.2075,6.4125 0.0075,0.015 v -0.0075 c 0.57,3.9375 3.0075,4.9425 4.2075,5.19 0.2775,2.9475 2.7675,5.2575 5.7825,5.2575 3.2025,0 5.8125,-2.61 5.8125,-5.8125 v -3.615 c 1.1475,-0.33 1.9875,-1.38 1.9875,-2.6325 0,-1.5 -1.23,-2.73 -2.7375,-2.73 z m 0,3.975 c -0.6825,0 -1.2375,-0.555 -1.2375,-1.2375 0,-0.6825 0.555,-1.2375 1.2375,-1.2375 0.6825,0 1.2375,0.555 1.2375,1.2375 0,0.6825 -0.555,1.2375 -1.2375,1.2375 z",fill:"#000000",style:{fill:"var(--text-light)",fillOpacity:1}}),React.createElement("defs",null,React.createElement("clipPath",null,React.createElement("rect",{x:"14.6665",y:"6.6666899",width:"33.333302",height:"33.333302",rx:"16.6667",fill:"#ffffff"})))),nt=()=>React.createElement("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("defs",null,React.createElement("clipPath",{id:"clip1_4441_83152"},React.createElement("rect",{width:"24",height:"24",fill:"white",transform:"translate(19.333 11.3334)"}))),React.createElement("g",null,React.createElement("path",{d:"m 9.3335,23.2666 c 0,-12.126 9.8371,-21.93329 22,-21.93329 12.1629,0 22,9.80729 22,21.93329 0,16.45 -22,40.7334 -22,40.7334 0,0 -22,-24.2834 -22,-40.7334 z",fill:"#eb1700"}),React.createElement("rect",{x:"14.6665",y:"6.6666899",width:"33.333302",height:"33.333302",rx:"16.6667",fill:"#ffffff"}),React.createElement("path",{d:"m 21.583151,13.58334 v 19.4925 h 1.5 v -17.9925 h 11.25 v 17.9925 l 6.75,0.0075 v -13.1175 h -5.25 v -6.3825 z m 15.75,15.195 h 1.4925 v 2.055 h -1.4925 z m 0,-3.57 h 1.4925 v 2.055 h -1.4925 z m 0,-3.5625 h 1.4925 v 2.055 h -1.4925 z m -7.875,0 h -1.5 v 2.055 h 1.4925 v -2.055 z m 0,-5.25 h -1.5 v 4.125 h 1.4925 v -4.125 z m 1.3125,2.805 v -1.4925 h -4.125 v 1.4925 z m -3.9375,2.445 h -1.5 v 2.055 h 1.5 z m 5.25,0 h -1.5 v 2.055 h 1.5 z m -2.625,3.5625 h -1.5 v 2.055 h 1.4925 v -2.055 z m -2.625,0 h -1.5 v 2.055 h 1.5 z m 5.25,0 h -1.5 v 2.055 h 1.5 z m -2.625,3.57 h -1.5 v 2.055 h 1.4925 v -2.055 z m -2.625,0 h -1.5 v 2.055 h 1.5 z m 5.25,0 h -1.5 v 2.055 h 1.5 z",fill:"#000000",style:{fill:"#eb1700",fillOpacity:1}}))),at=()=>React.createElement("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"M9.3335 23.2666C9.3335 11.1406 19.1706 1.33331 31.3335 1.33331C43.4964 1.33331 53.3335 11.1406 53.3335 23.2666C53.3335 39.7166 31.3335 64 31.3335 64C31.3335 64 9.3335 39.7166 9.3335 23.2666Z",fill:"#564C47",style:{fill:"var(--text-light)",fillOpacity:1}}),React.createElement("rect",{x:"14.6665",y:"6.6666899",width:"33.333302",height:"33.333302",rx:"16.6667",fill:"#ffffff"}),React.createElement("rect",{x:"14.6665",y:"6.6666899",width:"33.333302",height:"33.333302",rx:"16.6667",fill:"#ffffff"}),React.createElement("path",{d:"m 41.72125,30.757942 c -0.2018,-0.4213 -0.6294,-0.661 -1.0682,-0.6444 -0.2862,-0.5539 -0.747,-1.4468 -1.0228,-1.986 -0.6181,-1.2075 -1.4782,-1.0198 -1.9361,-0.8004 l -0.5622,0.3145 c -0.1995,-0.2823 -0.3975,-0.5545 -0.5874,-0.8123 l -0.
21897,-0.2577 -0.638,0.3897 c -0.6464,-0.7603 -1.3938,-1.421 -2.2673,-1.9565 -1.1569,-0.5635 -2.3629,-0.8155 -3.5678,-0.8155 -1.20495,0 -2.4108,0.2521 -3.56783,0.8155 -2.96722,1.8193 -4.48995,5.0724 -5.48085,8.8285 h 2.50823 c 0.96255,-5.1026 3.13185,-6.8025 3.13185,-6.8025 l -0.81188,6.8025 h 8.44088 l -0.8119,-6.8025 c 0,0 0.3431,0.2692 0.8168,0.9137 l -0.3111,0.1902 1.2559,3.7277 0.7866,-0.3595 c 0.2186,0.6827 0.4189,1.4567 0.5837,2.3304 h 2.5083 c -0.3006,-1.1392 -0.6505,-2.2317 -1.0743,-3.2524 l 0.84,-0.384 -0.1707,-0.3261 c -0.2683,-0.5126 -0.5694,-1.0058 -0.8787,-1.4757 l 0.4535,-0.2541 c 0.2057,-0.0984 0.4201,-0.186 0.7204,0.4008 0.2731,0.5335 0.7263,1.4117 1.0134,1.9676 -0.2839,0.3315 -0.3632,0.8118 -0.1625,1.2307 0.2713,0.5661 0.95,0.8051 1.516,0.5339 0.566,-0.2712 0.805,-0.95 0.5337,-1.5161 z m -4.5872,-0.5918 -1.2991,0.5843 c -0.2592,0.0864 -0.4608,-0.2592 -0.6913,-0.8929 l -0.543,-1.4123 1.5707,-0.9523 c 0.4014,0.5496 0.8276,1.1527 1.2201,1.7911 0.1917,0.3117 0.0711,0.7211 -0.2574,0.8821 z",fill:"#000000",style:{fill:"var(--text-light)",fillOpacity:1}}),React.createElement("path",{d:"m 29.90105,22.894142 c 1.9588,0 3.5504,-1.5915 3.5504,-3.55035 0,-1.95885 -1.598,-3.5439 -3.5504,-3.5439 -1.95235,0 -3.54385,1.5915 -3.54385,3.55035 0,1.95885 1.58505,3.5439 3.54385,3.5439 z m 0,-5.80552 c 1.2436,0 2.2617,1.0116 2.2617,2.26162 0,1.24358 -1.0116,2.2616 -2.2617,2.2616 -1.24353,0 -2.26158,-1.01157 -2.26158,-2.2616 0,-1.25002 1.0116,-2.26162 2.26158,-2.26162 z",fill:"#000000",style:{fill:"var(--text-light)",fillOpacity:1}})),React.createElement("defs",null,React.createElement("clipPath",null,React.createElement("rect",{x:"14.6665",y:"6.6666899",width:"33.333302",height:"33.333302",rx:"16.6667",fill:"#ffffff"})))),ot=e=>(0,_.h)(`Marker-${e}`),it=e=>{let{type:t}=e;return React.createElement("div",{className:qe},(()=>{switch(null==t?void 0:t.toLowerCase()){case"patient-center":return React.createElement(at,null);case"hospital":return React.createElement(nt,null);default:return React.createElement(lt,null)}})())},rt=e=>{let{google:t,hits:l,onClickMarker:n}=e;const a=(0,d.useRef)(null),{0:o,1:i}=(0,d.useState)(null),r=(0,d.useRef)([]),c=(0,d.useRef)(new Map),s=(0,d.useRef)("");return(0,d.useEffect)((()=>{if(!t||!a.current||o)return;const e=new t.maps.Map(a.current,{zoom:10,center:{lat:0,lng:0},streetViewControl:!1,mapTypeControl:!1,zoomControl:!0,zoomControlOptions:{position:t.maps.ControlPosition.RIGHT_BOTTOM}});i(e)}),[t,o]),(0,d.useEffect)((()=>{if(!o||!t||!l)return;const e=l.map((e=>e.objectID)).sort().join(",");if(e===s.current)return;s.current=e;for(const t of r.current)t.marker.setMap(null),t.overlay.setMap(null);const a=new Set(l.map((e=>e.objectID))),i=[];for(const[t]of c.current.entries())a.has(t)||i.push(t);i.length>0&&setTimeout((()=>{for(const t of i){const l=c.current.get(t);if(l){try{l.unmount()}catch(e){}c.current.delete(t)}}}),0),r.current=[];const d=[],u=new t.maps.LatLngBounds;for(const r of l){if(!r._geoloc)continue;const e=new t.maps.LatLng(r._geoloc.lat,r._geoloc.lng),a=new t.maps.Marker({map:o,position:e,title:r.name||r.objectID,visible:!1}),i=document.createElement("div"),s=document.createElement("div");s.id=ot(r.objectID),i.appendChild(s),i.style.position="absolute",i.style.transform="translate(-50%, -50%)",i.style.cursor="pointer",i.style.zIndex="1000",i.addEventListener("click",(t=>{var a,i;n({activeHit:r,marker:{getMap:()=>o,getPosition:()=>e},hits:l,hideInfoPanel:!(null===(a=t.target)||void 0===a||null===(i=a.dataset)||void 0===i||!i.preventInfopanel)})}));const f=(0,T.createRoot)(s);c.current.set(r.objectID,f),f.render(React.createElement(it,{type:r.type}));const m=new t.maps.OverlayView;m.onAdd=function(){this.getPanes().overlayMouseTarget.appendChild(i)},m.draw=function(){const t=this.getProjection().fromLatLngToDivPixel(e);i.style.left=`${t.x}px`,i.style.top=`${t.y}px`},m.onRemove=()=>{i.parentNode&&i.parentNode.removeChild(i)},m.setMap(o),d.push({marker:a,overlay:m,hit:r}),u.extend(e)}l.length>0&&(o.fitBounds(u),t.maps.event.addListenerOnce(o,"bounds_changed",(()=>{o.getZoom()>13&&o.setZoom(13)}))),r.current=d}),[o,l,t]),(0,d.useEffect)((()=>()=>{for(const t of c.current.values())try{t.unmount()}catch(e){}c.current.clear()}),[]),React.createElement("div",{ref:a,style:{width:"100%",height:"100%"}})},ct=e=>{let{name:t,placement:l,hideMap:n=!1}=e;const{setActiveHit:a,mapFullScreen:i,setMapFullScreen:r,setInfoPanelVisible:c,trackingName:s,setTrackingName:u,google:f}=je(),{t:m}=(0,E.$G)(),g=(0,d.useRef)(null),p=(0,Ve.R)(g),{hits:v}=(0,Le.O)(),y=(0,d.useRef)(v),h=(0,d.useRef)(""),b=v.map((e=>e.objectID)).sort().join(",");b!==h.current&&(h.current=b,y.current=v);const w=y.current;(0,d.useEffect)((()=>{p&&k()().trackEvent({event:C.G.MAP_IMPRESSION,info:{name:t,component:"map",placement:l}})}),[p]),(0,d.useEffect)((()=>{var e,n;s&&"marker"===s&&k()().trackEvent({event:C.G.MAP_CLICK,info:{name:t,component:"marker",placement:l,targettype:"internal",targeturl:null===(e=window)||void 0===e||null===(n=e.location)||void 0===n?void 0:n.origin}});return()=>{u(null)}}),[s,t,l,u]);const R=(0,d.useCallback)((e=>{var t,l,n;let{activeHit:o=null,marker:i=null,hits:r=null,hideInfoPanel:s=!1}=e;u("marker"),i?(a(o),!s&&c(!0)):(a(null),!s&&c(!1)),(null==i||null===(t=i.getMap())||void 0===t?void 0:t.zoom)<13&&(null==i||null===(l=i.getMap())||void 0===l||l.setZoom(13)),null==i||null===(n=i.getMap())||void 0===n||n.panTo(null==i?void 0:i.getPosition());for(const a of r){var d;const e=null===(d=document)||void 0===d?void 0:d.getElementById(ot(a.objectID));if(e){const t=e.parentElement;var f;if(a===o)e.classList.add(Qe),t&&t.classList.add(Ye);else null==e||null===(f=e.classList)||void 0===f||f.remove(Qe),t&&t.classList.remove(Ye)}}}),[u,a,c]);return(0,d.useMemo)((()=>React.createElement("div",{ref:g,className:o()(Je,i?et:null,n||0===(null==v?void 0:v.length)?tt:null)},React.createElement("button",{type:"button",className:Xe,onClick:()=>r(!1),title:m("Close",{ns:"common"})},React.createElement(Ce.JO,{size:"large",icon:Ae.r5M})),React.createElement(rt,{google:f,hits:w,onClickMarker:R}))),[i,n,w,f,R,r,m])};var st=l(9573),dt=l(86831),ut=l(52145);
2const ft=e=>{switch(null==e?void 0:e.toLowerCase()){case"patient-center":return Ce.Jb;case"hospital":return Ce.Gv;default:return Ce.f3}};var mt="style-module--infoPanel--a9eb7",gt="style-module--infoPanel__closeButton--3fea5",pt="style-module--content--29ad8",vt="style-module--header--16526",yt="style-module--icon-section--b90dc",ht="style-module--icon--09399",bt="style-module--centerAndSpecialty--c2e28",wt="style-module--center-name--da8d0",Et="style-module--name--89ac8",Rt="style-module--block--c7252",xt="style-module--smallSpacing--e7b6f",St="style-module--title--f9516",kt="style-module--fieldOneLine--0b7c1",zt="style-module--control-bar--2aefe",Ct="style-module--controls--2a33e",Tt="style-module--sticky-title--dbb3d",It="style-module--stickyHidden--d34ba",$t="style-module--stickyVisible--f943b";const Nt=e=>{let{title:t,value:l=null,children:n=null,smallSpacing:a=!1}=e;return n||l?React.createElement("div",{className:o()(Rt,a?xt:null)},React.createElement(s.Z,{color:"light",className:St,size:"s",weight:"600",variant:"h6",component:"div"},t),l&&React.createElement(s.Z,{color:"light"},l),n):null},_t=e=>{let{icon:t,url:l,value:n,placement:a,name:o,external:i=!0,component:r=null}=e;const c=r||"a";return n?React.createElement("div",{className:kt},React.createElement(Ce.JO,{color:"text-light",size:"medium",icon:t,type:"jnj"}),React.createElement(c,{external:i.toString(),url:l,placement:a,name:o},n)):null},Mt=e=>{var t,l,n,a,i,r;let{name:c,placement:u,component:f=null,hideScroll:m}=e;const{0:g,1:p}=(0,d.useState)(0),{activeHit:v,infoPanelVisible:y,setInfoPanelVisible:h}=je(),{t:b}=(0,E.$G)(),R=(0,fe.bU)(),x=(0,ut.V)(R),S=(0,w.a)(w.R.lg);(0,d.useEffect)((()=>{y?(k()().trackEvent({event:C.G.MAP_IMPRESSION,info:{component:"detail",name:c,placement:u}}),null==m||m(!0)):null==m||m(!1)}),[y,m,c,u]);const z=ft(null==v?void 0:v.type);(0,d.useEffect)((()=>{if(null!==v){const e=document.getElementById(wt),t=document.getElementById(zt),l=document.getElementById(yt);p((null==e?void 0:e.offsetHeight)+(null==t?void 0:t.offsetHeight)+(null==l?void 0:l.offsetHeight))}}),[v]);const T=()=>{h(!1)},I=(null!=v&&v.address1||null!=v&&v.address2?null===(t=`${(null==v||null===(l=v.address1)||void 0===l?void 0:l.trim())||""} ${(null==v||null===(n=v.address2)||void 0===n?void 0:n.trim())||""}`)||void 0===t?void 0:t.trim():b("Address not known",{ns:"common"})).concat(null!=v&&v.postal_code?`, ${null==v?void 0:v.postal_code}`:"").concat(null!=v&&v.city?`${null!=v&&v.postal_code?"":","} ${null===(a=v.city)||void 0===a?void 0:a.trim()}`:"").concat(null!=v&&v.province?`, ${null===(i=v.province)||void 0===i?void 0:i.trim()}`:"").concat(null!=v&&v.country?`, ${null===(r=v.country)||void 0===r?void 0:r.trim()}`:""),$=e=>{let{children:t}=e;return S?React.createElement(React.Fragment,null,t):React.createElement(dt.V,{onClose:T,testId:"Event.Question.Form.Dialog"},t)};return y?React.createElement($,null,React.createElement("div",{className:mt},S&&React.createElement("div",{id:zt,className:Ct},React.createElement("div",{id:Tt,className:o()(It)},null==v?void 0:v.name),React.createElement("button",{type:"button",className:gt,onClick:T,title:b("Close",{ns:"common"}),"data-test-id":"InfoPanel.Close"},React.createElement(Ce.JO,{size:"medium",icon:x?Ce.WQ:Ce.MZ,type:"jnj"}))),React.createElement("div",{className:pt,onScroll:e=>{const t=document.getElementById(Tt),l=t.className.split(" ");e.currentTarget.scrollTop>=g&&!l.includes($t)&&(t.className=$t),e.currentTarget.scrollTop<g&&!l.includes(It)&&(t.className=It)}},React.createElement("div",{className:vt},React.createElement("div",{id:yt,className:ht},React.createElement(Ce.JO,{size:"large",color:"white",icon:z,type:"jnj"})),React.createElement("div",{id:wt,className:Et},React.createElement(s.Z,{font:"title",size:"xl",color:"dark",weight:"500"},null==v?void 0:v.name)),React.createElement("div",{className:bt},(null==v?void 0:v.center_unit)&&React.createElement(s.Z,{size:"m",color:"light"},v.center_unit),React.createElement(s.Z,{size:"m",color:"light"},null==v?void 0:v.specialty))),React.createElement(Nt,{title:b("Details",{ns:"common"}),smallSpacing:!0},React.createElement(_t,{icon:Ce.sz,url:`mailto:${null==v?void 0:v.email}`,value:null==v?void 0:v.email,name:c,placement:u,targetUrl:`mailto:${null==v?void 0:v.email}`,component:f}),React.createElement(_t,{icon:Ce.Qx,url:null==v?void 0:v.website,value:null==v?void 0:v.website,name:c,placement:u,targetUrl:`mailto:${null==v?void 0:v.website}`,component:f}),React.createElement(_t,{icon:Ce.W,url:`tel:${null==v?void 0:v.phone}`,value:null==v?void 0:v.phone,name:c,placement:u,targetUrl:`tel:${null==v?void 0:v.phone}`,component:f}),React.createElement(st.Q,{onClick:()=>{setTimeout((()=>{var e;const t=null===(e=document)||void 0===e?void 0:e.getElementById(ot(v.objectID));null==t||t.click(),h(!1)}),200)},"data-test-id":"InfoPanel.ShowMap",size:"m"},React.createElement("div",{className:kt},React.createElement(Ce.JO,{color:"text-light",size:"medium",icon:Ce.jz,type:"jnj"}),I))),React.createElement(Nt,{title:b("Description",{ns:"common"}),value:null==v?void 0:v.description}),React.createElement(Nt,{title:b("Schedule time",{ns:"common"}),value:null==v?void 0:v.schedule_time}),React.createElement(Nt,{title:b("Center referent",{ns:"common"})},(null==v?void 0:v.center_referent)&&React.createElement(React.Fragment,null,React.createElement(s.Z,{color:"light"},null==v?void 0:v.center_referent),React.createElement(s.Z,{color:"light"},null==v?void 0:v.center_referent_role))),React.createElement(Nt,{title:b("Services",{ns:"common"}),value:null==v?void 0:v.services})))):null};var At="style-module--locatorGrid--deec5";var Lt=e=>{let{children:t}=e;return React.createElement("div",{className:At},t)},Ot="style-module--mapOverlay--511dd";
2const Pt=e=>{let{address:t}=e;const{t:l}=(0,E.$G)(),{noResults:n}=je();return n?React.createElement("div",{className:Ot},React.createElement(s.Z,{color:"white",variant:"label-01"},l("No results found for '{{LOCATION}}'. You can try another search criterion.",{LOCATION:t,ns:"common"}))):null};var Ht=l(86592),jt=l(60380);const Bt=e=>{let{url:t,locale:l="en-us",external:n=!1}=e;const a=null==t?void 0:t.includes("mailto:"),o=null==t?void 0:t.startsWith("tel:");if(a){let e=t.split(":").pop().split("@")[0];return e=t.replace(new RegExp(e,"g"),"email"),e.includes("?")&&(e=e.slice(0,e.indexOf("?"))),e}return o?"callto phone-number":n?t:jt.Z.getFullUrl(t,l,n)};var Gt="style-module--result--9f6ad",Wt="style-module--iconBackground--bbd30",Ft="style-module--resultIcon--f6b20",Zt="style-module--resultInfo--c1da3",Dt="style-module--name--45d4d",Ut="style-module--icons--863ff",Kt="style-module--iconWrapper--bacf8",Vt="style-module--disabledWrapper--aea7a",Jt="style-module--selected--a5109",qt="style-module--gray--6b548";const Yt=e=>{let{hit:t,name:l,placement:n,sectionBackground:a,showMap:i}=e;const r=(0,fe.bU)()||"en-us",{activeHit:c,setTrackingName:d,setInfoPanelVisible:u,setActiveHit:f}=je(),m=c&&(null==t?void 0:t.id)===(null==c?void 0:c.id),g=e=>{var a;let{targetType:o,targetUrl:i,event:c}=e;c&&c.stopPropagation&&c.stopPropagation(),k()().trackEvent({event:C.G.MAP_CLICK,info:{name:l,component:"list",placement:n,targettype:o,targeturl:Bt({url:i,locale:r,external:!1})}});const s=null===(a=document)||void 0===a?void 0:a.getElementById(ot(t.objectID));s&&(s.dataset.preventInfopanel="true"),s&&s.click()},p=ft(null==t?void 0:t.type);return React.createElement("div",{className:o()(Gt,m?Jt:null,"gray"===a?qt:null)},React.createElement("div",{className:Wt},React.createElement("div",{className:Ft},React.createElement(Ce.JO,{size:"large",color:"white",icon:p}))),React.createElement("div",{className:Zt},React.createElement("button",{onClick:e=>{f(t),d("list"),u(!0),e.preventDefault()},onKeyDown:e=>(0,Me.q)(e.key,(()=>{f(t),d("list"),u(!0)})),tabIndex:0},React.createElement(s.Z,{font:"text",variant:"body",size:"m",weight:"400",lineHeight:"l",className:Dt,underline:!0},null==t?void 0:t.name)),t.center_unit&&React.createElement(s.Z,{font:"text",variant:"body",size:"s",color:"light",lineHeight:"l"},null==t?void 0:t.center_unit),React.createElement(s.Z,{font:"text",variant:"body",size:"s",color:"light",lineHeight:"l"},null==t?void 0:t.specialty)),React.createElement("div",{className:Ut},React.createElement("a",{href:null!=t&&t.email?`mailto:${null==t?void 0:t.email}`:"#",onClick:e=>{g({targetType:"mailto",targetUrl:`mailto:${null==t?void 0:t.email}`,event:e}),(null==t||!t.email)&&e.preventDefault(),d("list")},className:o()(Kt,null!=t&&t.email?"":Vt)},React.createElement(Ce.JO,{color:"inherit",size:"medium",icon:Ce.sz,type:"jnj"})),React.createElement("a",{href:null!=t&&t.phone?`tel:${null==t?void 0:t.phone}`:"#",onClick:e=>{g({targetType:"callto",targetUrl:`tel:${null==t?void 0:t.phone}`,event:e}),(null==t||!t.phone)&&e.preventDefault(),d("list")},className:o()(Kt,null!=t&&t.phone?"":Vt)},React.createElement(Ce.JO,{color:"inherit",size:"medium",icon:Ce.W,type:"jnj"})),React.createElement("button",{onClick:e=>{g({targetType:"internal",event:e}),d("list"),i(),e.preventDefault()},onKeyDown:e=>(0,Me.q)(e.key,(()=>{g({targetType:"internal",event:e}),d("list"),i(),e.preventDefault()})),className:o()(Kt)},React.createElement(Ce.JO,{color:"inherit",size:"medium",icon:Ce.jz,type:"jnj"}))))};var Qt="style-module--resultsWrapper--bf760",Xt="style-module--noResults--bc74b";const el=e=>{let{placement:t,name:l,sectionBackground:n,showMap:a}=e;const{hits:o}=(0,Le.O)(),i=o.map(((e,o)=>React.createElement(Yt,{key:e.objectID,name:l,placement:`${t}-${o}`,hit:e,sectionBackground:n,showMap:a})));return React.createElement("div",{id:"hits"},i)},tl=e=>{let{address:t,name:l,placement:n,sectionBackground:a=null,showMap:o}=e;const{t:i}=(0,E.$G)(),{0:r,1:c}=(0,d.useState)(!1),{specialtyFilter:u,distanceFilter:f}=je(),{results:m}=(0,Ht.b)(),{hits:g}=(0,Le.O)(),p=(null==u?void 0:u.length)&&u.filter((e=>null==e?void 0:e.isSelected)).map((e=>{var t;return null==e||null===(t=e.label)||void 0===t?void 0:t.replace(/\(.*\)/,"")})).join(","),v=(0,d.useRef)(null),y=(0,Ve.R)(v);return(0,d.useEffect)((()=>{y&&k()().trackEvent({event:C.G.MAP_IMPRESSION,info:{component:"list",name:l,placement:n}})}),[y,l,n]),(0,d.useEffect)((()=>{m&&c(!0)}),[m]),(0,d.useEffect)((()=>
2{if(m&&r&&y){const e=null!=f&&f.label?`distance:${f.label}`:"",a=p?`specialty:${p}`:"",o=e&&a?`${e}|${a}`:e||a;k()().trackEvent({event:C.G.MAP_QUERY,info:{name:l,component:"search",placement:n,keyword:t,resultcount:null==g?void 0:g.length,filter:o}}),c(!1)}}),[m,y,t,f,g,l,n,p,r]),React.createElement("div",{className:Qt,ref:v},m&&0!==m.nbHits?React.createElement(el,{placement:n,name:l,sectionBackground:a,showMap:o}):React.createElement("div",{className:Xt},React.createElement(s.Z,{font:"title",color:"gray",size:"m",weight:"400"},i("No results found for '{{LOCATION}}'. You can try another search criterion.",{LOCATION:t,ns:"common"}))))};var ll={mobileCalloutWrapper:"style-module--mobileCalloutWrapper--f4eff",mapWrapper:"style-module--mapWrapper--fc5fe",panel:"style-module--panel--cfe05",filtersPanel:"style-module--filtersPanel--87ba6",description:"style-module--description--a57ba",resultsPanel:"style-module--resultsPanel--5f042",hideScroll:"style-module--hideScroll--fe329",mapPanel:"style-module--mapPanel--98aa4",mobileOverlay:"style-module--mobileOverlay--a5c49",mobileTabs:"style-module--mobileTabs--41cb0",hidden:"style-module--hidden--408e3",mobileClose:"style-module--mobileClose--207f9",open:"style-module--open--18d11"};const nl=e=>{let{apiKey:t,children:l}=e;const{0:n,1:a}=(0,d.useState)(null),{0:o,1:i}=(0,d.useState)(!0),{t:r}=(0,E.$G)();return(0,d.useEffect)((()=>{if("undefined"==typeof window)return;if(window.google&&window.google.maps)return a(window.google),void i(!1);const e=document.createElement("script");return e.src=`https://maps.googleapis.com/maps/api/js?key=${t}&libraries=places,geometry`,e.async=!0,e.defer=!0,e.onload=()=>{a(window.google),i(!1)},e.onerror=()=>{console.error("Failed to load Google Maps API"),i(!1)},document.head.appendChild(e),()=>{document.head.removeChild(e)}}),[t]),o?React.createElement("div",null,r("Loading Google Maps...",{ns:"common"})):n?l(n):React.createElement("div",null,r("Failed to load Google Maps",{ns:"common"}))},al=(0,Ie.x)("FDMC2YRW59","bfcd19e166fed9a05060a78e2be54096"),ol=e=>{let{tag:t,searchFrom:l,searchDistance:n,indexLocation:a,addressToCoords:i,distanceUnit:r,name:c,placement:s,sectionBackground:u,component:f,isTablet:m,tabIndex:g,setTabIndex:p,locale:v,noAddress:y,hideScroll:h,setHideScroll:b,keyword:w}=e;const{t:R}=(0,E.$G)(),x=(0,d.useMemo)((()=>({...al,search(e){if(e&&e.length>0){const a=e.flatMap((e=>{const a={...e,params:{hitsPerPage:250,...t&&{filters:t},...w&&{query:w},...e.params}},o={...e,params:{hitsPerPage:250,typoTolerance:"min",...t&&{filters:t},...l&&{aroundLatLng:l},...n&&{aroundRadius:Number.parseInt(n,10)},...e.params}};return l&&n?[a,o]:[a]}));return al.search(a)}return al.search(e)}})),[t,l,n,w]);return React.createElement($e.p,{indexName:a,searchClient:x},React.createElement("div",{className:o()(ll.panel,ll.filtersPanel,ll.infoPanelOpen)},React.createElement(Ke,{geocoder:i,distanceLabel:r,name:c,placement:s,sectionBackground:u}),m&&React.createElement("div",{className:ll.mobileTabs},React.createElement(Te.m,{selectedTab:g,noSpacing:!0,noTopSpacing:!0,onChange:e=>p(e),locale:v},React.createElement(Te.m.Tab,{title:R("Map",{ns:"common"})}),React.createElement(Te.m.Tab,{title:R("List",{ns:"common"})})))),React.createElement(Lt,null,React.createElement(React.Fragment,null,(!m||1===g||y)&&React.createElement("div",{className:o()(ll.resultsPanel,h?ll.hideScroll:null)},React.createElement(tl,{address:w,name:c,placement:s,sectionBackground:u,showMap:()=>{m&&p(0)},noAddress:y})),React.createElement("div",{className:o()(ll.mapPanel,ll.panel,m&&0!==g||y?ll.hidden:null)},React.createElement(Mt,{name:c,placement:s,component:f,hideScroll:e=>b(e)}),React.createElement(ct,{searchFrom:l,name:c,placement:s,hideMap:m&&0!==g}),w&&(!m||0===g)&&!y&&React.createElement(Pt,{address:w})))))},il=e=>{let{id:t,tag:l,name:n,distanceUnit:a,placement:i,indexLocation:r,component:c=null,sectionBackground:s=null,description:u,image:f=null,loading:m=null,noPaddingXl:g=!1}=e;const{0:p,1:v}=(0,d.useState)(""),y=(0,w.a)(w.R.md),h=(0,w.a)(w.R.lg),{t:b}=(0,E.$G)(),R=(0,fe.bU)(),x="100000",{0:S,1:k}=(0,d.useState)(x),{0:z,1:C}=(0,d.useState)(""),{0:T,1:I}=(0,d.useState)(!1),{0:$,1:N}=(0,d.useState)(0),{0:_,1:M}=(0,d.useState)(!1),{0:A,1:L}
2=(0,d.useState)(!1),O=(0,d.useRef)(null);(0,d.useEffect)((()=>{"undefined"!=typeof window&&(document.body.style.overflow=h&&(A||T)?"hidden":"unset")}),[T,A,h]);const P=(0,d.useCallback)(((e,t,l)=>{if(C(t),""===t)M(!1),v(""),k(x);else{(new e.maps.Geocoder).geocode({address:t},((e,t)=>{if("OK"===t){M(!1);const t=`${e[0].geometry.location.lat()},${e[0].geometry.location.lng()}`;v(t),k(l||x)}else M(!0),console.error("Failed geocoding address.",t)}))}}),[]),H=null!==(j=f)&&"string"!=typeof j&&void 0!==j.images;var j;const B=H?Math.min(Math.max(f.height/f.width,.75),1.33):.75,G=H?React.createElement(we.G,{image:f,alt:"",loading:m,style:{top:0,insetInlineStart:0,paddingBlockStart:100*B+"%",height:0}}):"string"==typeof f?React.createElement("img",{src:f,loading:m,alt:"",style:{position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,objectFit:"cover"}}):null;return React.createElement(React.Fragment,null,h&&!T&&React.createElement("div",{className:ll.mobileCalloutWrapper},React.createElement(be,{id:`${t}-callout`,contentAlignment:"end",image:G,title:n,noPaddingXl:g,footer:React.createElement(ze.z,{color:"white",onClick:()=>I(!0),fullWidth:y},b("Go to map",{ns:"common"}))},u)),React.createElement("div",{className:o()(ll.mapWrapper,h&&ll.mobileOverlay,T&&ll.open,"gray"===s&&ll.gray),ref:O},h&&React.createElement("button",{type:"button",className:ll.mobileClose,onClick:()=>I(!1)},React.createElement(Ce.JO,{color:"interactive-05",size:"medium",icon:Ce.ic,type:"jnj"})),!h&&u&&React.createElement("div",{className:ll.description},u),React.createElement(nl,{apiKey:"AIzaSyAj69Os9mYZwAV24exfg7J_r0677lN3GOA"},(e=>React.createElement(He,{google:e},React.createElement(ol,{tag:l,searchFrom:p,searchDistance:S,indexLocation:r,addressToCoords:P,distanceUnit:a,name:n,placement:i,sectionBackground:s,component:c,isTablet:h,tabIndex:$,setTabIndex:N,locale:R,noAddress:_,hideScroll:A,setHideScroll:L,keyword:z}))))))};var rl={separator:"style-module--separator--d48c8",white:"style-module--white--f9c4a",grey:"style-module--grey--4d0bc",primary:"style-module--primary--ecf4e",lightgrey:"style-module--lightgrey--54508"};const cl=e=>{let{color:t="primary"}=e;return React.createElement("div",{className:o()(rl.separator,rl[`${t}`]),"data-test-id":"separator"})};var sl=l(55740),dl=l(24490),ul=l(45455),fl=l.n(ul),ml=l(29259),gl=l.n(ml),pl=l(42208),vl=l.n(pl);var yl=e=>{const t=vl()(e,gl());return fl()(t)?"No Block Defined":Object.keys(t)[0]},hl=l(69479),bl=l(88694),wl=l(54252);const El=e=>{let{content:t,placement:l,locale:n,trackingHelpers:a,sectionBackground:o,sectionIndex:i,siteSpecialty:r,sectionContent:c}=e;const s=dl.ZP.mapConcertinaType(null==t?void 0:t.accordion_type),d=t.panes.map((e=>{var t;let{pane:s}=e;a.numPanes++;return{title:React.createElement(pe.H,{showGlossary:!1,key:`title-${a.numPanes}`},null==s?void 0:s.title),titleString:null==s?void 0:s.title,content:null===(t=s.content)||void 0===t?void 0:t.map(((e,t)=>React.createElement(vn,{key:t,content:e,placement:`${l}:pane-${a.numPanes}`,locale:n,sectionBackground:o,sectionIndex:i,siteSpecialty:r,sectionContent:c})))}}));return React.createElement("div",{className:wl.Z.concertina},React.createElement(bl.n,{items:d,type:s,placement:l,siteSpecialty:r}))};var Rl=l(88586);const xl=e=>{var t,l,a,o;let{content:i,placement:r,fullWidth:c}=e;const s=(0,Rl.g)(i),d={variant:null==s?void 0:s.buttonProps.variant};return React.createElement("div",{className:wl.Z.button__adjacent},React.createElement(n.c,{fullWidth:c,buttonProps:d,disableLink:!1,text:null==s?void 0:s.text,url:null==s||null===(t=s.link)||void 0===t?void 0:t.url,external:null==s||null===(l=s.link)||void 0===l?void 0:l.external,url_prefix:null==s||null===(a=s.link)||void 0===a?void 0:a.url_prefix,anchor_id:null==s||null===(o=s.link)||void 0===o?void 0:o.anchor_id,serviceLink:s.serviceLink,placement:r}))};var Sl={element:"style-module--element--d3ed8",button:"style-module--button--47318",horizontal_align_center:"style-module--horizontal_align_center--ca6f9",horizontal_align_end:"style-module--horizontal_align_end--8fc3c"};const kl=e=>{const{horizontal_alignment:t,buttons:l}=e;return React.createElement("div",{className:o()(Sl.element,Sl[`horizontal_align_${(null==t?void 0:t.toLocaleLowerCase())||"start"}`]),"data-test-id":"button-collection"},null!=l&&l.length?l.map(((e,t)=>{var l,a,o,i;return React.createElement("div",{className:Sl.button,key:t},React.createElement(n.c,{buttonProps:null==e?void 0:e.buttonProps,text:null==e?void 0:e.text,url:null==e||null===(l=e.link)||void 0===l?void 0:l.url,external:null==e||null===(a=e.link)||void 0===a?void 0:a.external,url_prefix:null==e||null===(o=e.link)||void 0===o?void 0:o.url_prefix,anchor_id:null==e||null===(i=e.link)||void 0===i?void 0:i.anchor_id,serviceLink:null==e?void 0:e.serviceLink}))}
2)):"")};const zl=e=>{var t;let{content:l}=e;const n=(null==l||null===(t=l.buttons)||void 0===t?void 0:t.length)&&(null==l?void 0:l.buttons.map((e=>(0,Rl.g)(null==e?void 0:e.button))));return React.createElement(kl,{buttons:n,horizontal_alignment:null==l?void 0:l.horizontal_alignment})};var Cl=l(52184),Tl=l(19395);const Il=e=>{var t,l,n,a;let{component:o,placement:i,trackingHelpers:r,sectionIndex:c=0,siteSpecialty:s,cardsAreHorizontal:d=!1}=e;const u=dl.ZP.mapJWMCardProps(o);let f=null;const m=null==u||null===(t=u.button)||void 0===t?void 0:t[0],g=null==m||null===(l=m.link)||void 0===l?void 0:l.url;if(m){var p,v,y;const e=null!=m&&null!==(p=m.link)&&void 0!==p&&p.external?"external":"internal";f=null!=g&&g.startsWith("mailto")?`${null==m||null===(v=m.link)||void 0===v?void 0:v.url}`:`${e}: ${null==m||null===(y=m.link)||void 0===y?void 0:y.url}`}let h="";if(null!==(n=f)&&void 0!==n&&n.startsWith("mailto")){const e=f.indexOf("@"),t=f.indexOf(":"),l=f.substring(t+1,e);h=f.replace(l,"email"),f.includes("?")&&(h=h.slice(0,h.indexOf("?"))),f=h}return React.createElement("div",{className:wl.Z.card__vertical_margins},React.createElement(Tl.rU,{type:"general",name:null==u?void 0:u.title,placement:`${i}|card:(${null==u||null===(a=u.title)||void 0===a?void 0:a.toString().toLowerCase()})`,position:r.position,targeturl:null!=g&&g.startsWith("tel")?"callto phone-number":f},React.createElement(Cl.G,Object.assign({},u,{placement:i,loading:0===c?"eager":"lazy",siteSpecialty:s,verticalLayout:!d}))))};var $l=l(37328);const Nl=e=>{let{component:t,placement:l,sectionIndex:n=0,siteSpecialty:a}=e;return React.createElement($l.Q,{carouselContent:t,placement:l,titleComponent:"span",loading:0===n?"eager":"lazy",siteSpecialty:a})};var _l=l(68134),Ml=l(8518);const Al=e=>{var t;let{component:l,placement:n,trackingHelpers:a,sectionIndex:o=0,siteSpecialty:i}=e;const r=dl.ZP.mapMaterialsCardProps(l);return React.createElement(Tl.rU,{type:"materials",name:null==r?void 0:r.title,placement:`${n}|card:(${null==r||null===(t=r.title)||void 0===t?void 0:t.toString().toLowerCase()})`,position:a.position,targeturl:null==r?void 0:r.fileUrl},React.createElement(Ml.Q,Object.assign({},r,{loading:0===o?"eager":"lazy",siteSpecialty:i})))},Ll=e=>{var t,l,n;let{fragment:a,placement:o,locale:i,sectionBackground:r,sectionIndex:c,siteSpecialty:s,sectionContent:u}=e;return React.createElement(d.Fragment,null,(null==a||null===(t=a.fragment)||void 0===t?void 0:t.length)&&(null==a||null===(l=a.fragment[0])||void 0===l||null===(n=l.content)||void 0===n?void 0:n.map(((e,t)=>React.createElement(vn,{key:t,content:e,locale:i,placement:`${o}:tmpFragment`,sectionBackground:r,sectionIndex:c,siteSpecialty:s,sectionContent:u})))))};var Ol=l(4457),Pl=l(13010),Hl="style-module--image--7b516",jl="style-module--image__link_icon--04943",Bl="style-module--image__link_icon_wrapper--eeccd",Gl="style-module--figcaption--a6eff",Wl="style-module--linkIcon--bbd26",Fl=l(14838);var Zl=e=>{var t,l,n,a,i,r,c,d,u,f,m,g,p;const{extension:v="jpg",imageLink:y,image:h,placement:b,loading:w="lazy"}=e,{t:R}=(0,E.$G)(),x=(0,Fl.N)(null==h||null===(t=h.image)||void 0===t?void 0:t.title),S=null==h||null===(l=h.fit)||void 0===l?void 0:l.toLowerCase(),k="none"===S,z=null==h||null===(n=h.image)||void 0===n||null===(a=n.dimension)||void 0===a?void 0:a.height,C=k?"cover":S,T=k?{height:`${z}px`}:{maxWidth:"100%",maxHeight:"100%"},I="scale-down"===S?{width:"100%",maxWidth:`${null==h||null===(i=h.image)||void 0===i||null===(r=i.dimension)||void 0===r?void 0:r.width}px`,maxHeight:`${null==h||null===(c=h.image)||void 0===c||null===(d=c.dimension)||void 0===d?void 0:d.height}px`}:void 0,$="svg"===v||"gif"===v?React.createElement(Pl.E,{url:null==h||null===(u=h.image)||void 0===u?void 0:u.url,enableLightBox:!1,alt:(null==h?void 0:h.alt_text)||(null==h||null===(f=h.image)||void 0===f?void 0:f.description)||x||"",caption:null==h?void 0:h.caption,title:(null==h?void 0:h.title)||(null==h?void 0:h.alt_text)||x||"",fit:S,sizing:I,loading:w,enlargeLabel:R("Enlarge image",{ns:"common"}),horizontalAlignment:"start"}):React.createElement(we.G,{image:null==h||null===(m=h.image)||void 0===m?void 0:m.gatsbyImageData,alt:(null==h?void 0:h.alt_text)||(null==h||null===(g=h.image)||void 0===g?void 0:g.description)||x||"",caption:null==h?void 0:h.caption,title:(null==h?void 0:h.title)||(null==h?void 0:h.alt_text)||x||"",objectFit:C,style:T,loading:w});return React.createElement(Ol.ZQ,{name:(null==y?void 0:y.title)||(null==h?void 0:h.title)||(null==h||null===(p=h.image)||void 0===p?void 0:p.description)||x,url:null==y?void 0:y.url,url_prefix:null==y?void 0:y.url_prefix,fullWidth:!1,external:null==y?void 0:y.external,imageLink:!0,placement:b},$,!(null!=h&&h.disable_lightbox_image_link_icon)&&React.createElement("div",{className:Bl},React.createElement("div",{className:jl},React.createElement(Ce.JO,{color:"text-light",icon:Ce.Qx,size:"medium"}
2))),(null==h?void 0:h.caption)&&"svg"!==v&&"gif"!==v&&React.createElement(s.Z,{variant:"body",weight:"400",size:"s",className:o()(Gl,null!=h&&h.disable_lightbox_image_link_icon?null:Wl)},null==h?void 0:h.caption))};var Dl=e=>{var t,l,n,a,o,i,r,c,s,d,u,f,m;const{extension:g="jpg",image:p,loading:v="lazy"}=e,{t:y}=(0,E.$G)(),h=(0,Fl.N)(null==p||null===(t=p.image)||void 0===t?void 0:t.title),b=null==p||null===(l=p.fit)||void 0===l?void 0:l.toLowerCase(),w="none"===b,R=null==p||null===(n=p.image)||void 0===n||null===(a=n.dimension)||void 0===a?void 0:a.height,x=w?"cover":b,S=w?{height:`${R}px`}:{maxWidth:"100%",maxHeight:"100%"},k="scale-down"===b?{width:"100%",maxWidth:`${null==p||null===(o=p.image)||void 0===o||null===(i=o.dimension)||void 0===i?void 0:i.width}px`,maxHeight:`${null==p||null===(r=p.image)||void 0===r||null===(c=r.dimension)||void 0===c?void 0:c.height}px`}:void 0;return"svg"===g||"gif"===g?React.createElement(Pl.E,{url:null==p||null===(s=p.image)||void 0===s?void 0:s.url,enableLightBox:null==p?void 0:p.enable_lightbox,disableIcon:null==p?void 0:p.disable_lightbox_image_link_icon,alt:(null==p?void 0:p.alt_text)||(null==p||null===(d=p.image)||void 0===d?void 0:d.description)||h||"",caption:null==p?void 0:p.caption,title:(null==p?void 0:p.title)||(null==p?void 0:p.alt_text)||h||"",fit:b,sizing:k,loading:v,enlargeLabel:y("Enlarge image",{ns:"common"}),horizontalAlignment:"start"}):React.createElement(Pl.f,{enableLightBox:null==p?void 0:p.enable_lightbox,disableIcon:null==p?void 0:p.disable_lightbox_image_link_icon,url:null==p||null===(u=p.image)||void 0===u?void 0:u.url,sizing:k,enlargeLabel:y("Enlarge image",{ns:"common"}),caption:null==p?void 0:p.caption,horizontalAlignment:"start"},React.createElement(we.G,{image:null==p||null===(f=p.image)||void 0===f?void 0:f.gatsbyImageData,alt:(null==p?void 0:p.alt_text)||(null==p||null===(m=p.image)||void 0===m?void 0:m.description)||h||"",title:(null==p?void 0:p.title)||(null==p?void 0:p.alt_text)||h||"",caption:null==p?void 0:p.caption,objectFit:x,style:S,loading:v}))};const Ul=e=>{var t,l,n;const{image:a,extension:o="jpg",imageLink:i,placement:r,sectionIndex:c=0,horizontalAlignment:s="Center"}=e;return React.createElement("div",{className:Hl,style:"none"===(null==a||null===(t=a.fit)||void 0===t?void 0:t.toLowerCase())||"Center"!==s?{maxWidth:`${null==a||null===(l=a.image)||void 0===l||null===(n=l.dimension)||void 0===n?void 0:n.width}px`}:{}},""!==i.url?React.createElement(Zl,{extension:o,image:a,imageLink:i,placement:r,loading:0===c?"eager":"lazy"}):React.createElement(Dl,{extension:o,image:a,loading:0===c?"eager":"lazy"}))};var Kl=l(66933);const Vl=e=>{var t,l,n;let{content:a,placement:o,trackingHelpers:i,sectionIndex:r=0,columnHorizontalAlignment:c="Center"}=e;i.position++;const s=(0,Kl.F)(null==a?void 0:a.image_link),d=(null==a||null===(t=a.image)||void 0===t||null===(l=t.url)||void 0===l||null===(n=l.match(/[^\\]*\.(\w+)$/))||void 0===n?void 0:n[1])||"";return React.createElement(Ul,{image:a,imageLink:s,extension:d,placement:o,sectionIndex:r,horizontalAlignment:c})};var Jl=l(80537),ql=l.n(Jl),Yl={row:"style-module--row--cc53d",row_minHeight:"style-module--row_minHeight--46da6",maxSm:"style-module--maxSm--254db",maxWidth:"style-module--maxWidth--54b5b",noTopSpacing:"style-module--noTopSpacing--51628","row-spacing-0":"style-module--row-spacing-0--4d765","row-spacing-4":"style-module--row-spacing-4--be035","row-spacing-8":"style-module--row-spacing-8--24304","row-spacing-16":"style-module--row-spacing-16--5b1b9","row-spacing-24":"style-module--row-spacing-24--a7429","row-spacing-32":"style-module--row-spacing-32--7baab"};const Ql=e=>{let{fractions:t,spacing:l=16,children:n,maxTwoColumnSm:a=!1,minHeight:i=!0,noMaxWidth:r=!1,noTopSpacing:c=!1,className:s}=e;return React.createElement("div",{"data-test-id":"flexibleGridWrapper",className:o()(Yl.row,i&&Yl.row_minHeight,Yl[`row-spacing-${l}`],a&&Yl.maxSm,!r&&Yl.maxWidth,c&&Yl.noTopSpacing,s),style:{gridTemplateColumns:t.reduce(((e,t)=>e+=`minmax(0px, ${t}fr)`),"").trim()}},n)};var Xl=l(54255);const en=e=>{let{content:t,placement:l,locale:n,trackingHelpers:a,sectionBackgroun
2d:o,sectionIndex:i,siteSpecialty:r}=e;const c=`row-${a.numRows}`,{layout:s,columns:d}=t,u=dl.ZP.mapRowLayout(s).map((e=>ql()(null==e?void 0:e.md)?null==e?void 0:e.md:1)),f=(0,Xl.a)(Xl.R.md),m=(e=>{const t=e.reduce(((e,t)=>e+t),0);return e.map((e=>Math.round(e/t*100*100)/100))})(u);return d&&0!==(null==d?void 0:d.length)?React.createElement(Ql,{fractions:u,spacing:f?24:32,noTopSpacing:!0},d.map(((e,t)=>{var a,s,d;const u=(null==m?void 0:m.length)<=1||m[t]>50&&(null==m?void 0:m.length)<=2;return React.createElement("div",{key:`column${t}`,style:{display:"flex",alignContent:dl.ZP.mapColumnContentAlignment(null==e||null===(a=e.column)||void 0===a?void 0:a.align_content),justifyContent:dl.ZP.mapColumnVerticalAlign(null==e||null===(s=e.column)||void 0===s?void 0:s.vertical_align)||"flex-top",alignItems:dl.ZP.mapColumnHorizontalAlign(null==e||null===(d=e.column)||void 0===d?void 0:d.horizontal_align)||"stretch",flexDirection:"column"}},e.column.content.map(((a,s)=>{var d;return React.createElement(vn,{key:s,content:a,placement:`${l}|${c} col=${t+1}`,locale:n,sectionBackground:o,sectionIndex:i,siteSpecialty:r,columnHorizontalAlignment:null==e||null===(d=e.column)||void 0===d?void 0:d.horizontal_align,cardsAreHorizontal:u,isInRow:!0})})))}))):null},tn=e=>{var t,l,n,a,i,r,c,d;let{content:u,locale:f,placement:m,trackingHelpers:g,siteSpecialty:p,index:v,noBottomSpacing:y=!1,noTopSpacing:h=!1}=e;g.numRows=0,g.numPanes=0,g.numTabs=0,g.position=0;const b=dl.ZP.mapSection(u),w=null==u||null===(t=u.content)||void 0===t||null===(l=t[0])||void 0===l||null===(n=l.component)||void 0===n||null===(a=n.component)||void 0===a?void 0:a[0],E=null==w||null===(i=w.internal)||void 0===i||null===(r=i.type)||void 0===r?void 0:r.replace("Contentstack_component_",""),R=!b.showTitle&&"hero"===E||(null==b?void 0:b.noVerticalPadding),x=!0,S=f?null===(c=(0,ut.G)(null==f?void 0:f.split("-").shift()))||void 0===c?void 0:c.dir:1;return React.createElement("section",{className:o()(wl.Z.section,R?wl.Z.section__nopadding:null,y?wl.Z.section__noBottomSpacing:null,h?wl.Z.section__noTopSpacing:null,wl.Z[null==b?void 0:b.backgroundColor],null,null,null),id:(0,_.Z)(null==b?void 0:b.title),"data-test-id":"Section",dir:(null!=b&&b.reverseTextDirection?S:!S)?"rtl":"ltr"},React.createElement("div",{className:o()(wl.Z.content,wl.Z[null==b?void 0:b.backgroundColor],null)},b.showTitle&&React.createElement("span",{style:{"--text-link":"var(--primary-550)"},className:wl.Z.section_title},React.createElement(s.Z,{variant:"h2","data-test-id":"sectionTitle","data-rebranded":!0},React.createElement(pe.H,{showGlossary:!1},null==b?void 0:b.title))),React.createElement("div",null,null==u||null===(d=u.content)||void 0===d?void 0:d.map(((e,t)=>{var l;return React.createElement(yn,{key:t,content:e,placement:`${m}|section:${null==b||null===(l=b.title)||void 0===l?void 0:l.toString().toLowerCase()}`,locale:f,fullWidth:x,sectionBackground:null==b?void 0:b.backgroundColor,sectionIndex:v,siteSpecialty:p,sectionContent:u})})))))};var ln=l(98616);const nn=e=>{let{content:t,placement:l}=e;return React.createElement(ln.e,{socialmediadata:t,placement:l})};var an=l(70195),on=l(20201),rn=l(50945);const cn=e=>{var t;let{content:l,placement:n,locale:a,trackingHelpers:o,sectionBackground:i,sectionIndex:r,siteSpecialty:c}=e;const{0:s,1:u}=(0,d.useState)(null),{0:f,1:m}=(0,d.useState)(!0),g=(0,rn.v9)((e=>e.panes.tabPaneId)),p=(0,w.a)(w.R.sm);(0,d.useEffect)((()=>{var e,t;"undefined"!=typeof window&&null!==(e=window)&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&f&&y(),s&&m(!1)})),(0,d.useEffect)((()=>(window.addEventListener("hashchange",h),()=>{window.removeEventListener("hashchange",h)}))),(0,d.useEffect)((()=>{var e,t;"undefined"!=typeof window&&null!==(e=window)&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&g&&h()}),[g]);const v=e=>{var t;return null==l||null===(t=l.panes)||void 0===t?void 0:t.findIndex((t=>{var l,n;return(0,_.Z)(`Tab.${null==t||null===(l=t.pane)||void 0===l||null===(n=l.title)||void 0===n?void 0:n.toLowerCase()}`)===e}))},y=()=>{if("undefined"!=typeof window){var e,t,l;const r=decodeURI(null===(e=window)||void 0===e||null===(t=e.location)||void 0===t||null===(l=t.hash)||void 0===l?void 0:l.replace("#",""));if(v(r)>-1){var a;const e=null===(a=document)||void 0===a?void 0:a.querySelector(`[data-target-tabname="${r}"]`),t=null==e?void 0:e.getAttribute("data-tracking-index");u(Number.parseInt(t))}else{var o,i;const e=null===(o=document)||void 0===o||null===(i=o.getElementById(r))||void 0===i?void 0:i.closest("[data-target-tab]"),t=null==e?void 0:e.getAttribute("data-target-tab"),l=null==e?void 0:e.getAttribute("id"),a=`${n}-tabpane.${(0,_.Z)(null==t?void 0:t.toLowerCase())}`,c=v(`Tab.${t}`);c>-1&&l===a&&u(c)}}},h=()=>{y()};return React.createElement(an.m,{selectedTab:s,onChange:(e,t)=>
2{u(e),k()().trackInteraction(t,{changeEvent:C.G.TAB_CLICK,addData:{info:{name:l.panes[e].pane.title,position:e+1,placement:n,category:0===e?"auto-visible":"click-visible"}}})},sectionBackground:i},null==l||null===(t=l.panes)||void 0===t?void 0:t.map(((e,t)=>{var l,s;let{pane:d}=e;o.numTabs++;const u=React.createElement(pe.H,{placement:n,siteSpecialty:c,showGlossary:!1},null==d?void 0:d.title),f=null===(l=u.props)||void 0===l?void 0:l.children;return React.createElement(Te.m.Tab,{key:t,title:u,rawTitle:f,autoId:p?(0,_.Z)(`Tab.${null==f?void 0:f.toLowerCase()}`):null},React.createElement("div",{"aria-labelledby":`tabs-${(0,_.Z)(null==f?void 0:f.toLowerCase())}`,className:wl.Z.tabContent,id:`${n}-tabpane.${(0,_.Z)(f.toLowerCase())}`,role:"tabpanel","data-target-tab":`${(0,_.Z)(null==f?void 0:f.toLowerCase())}`,"data-target-tabname":(0,_.Z)(`Tab.${null==f?void 0:f.toLowerCase()}`),"data-tracking-index":t},null==d||null===(s=d.content)||void 0===s?void 0:s.map(((e,l)=>{const s=()=>React.createElement(vn,{key:l,content:e,placement:`${n}:tab-${o.numTabs}`,locale:a,sectionBackground:i,sectionIndex:r,siteSpecialty:c});return React.createElement(on.E.Content,{placement:n,key:`${d.title}-${l}`,position:t+1,name:d.title,open:0===t},null!=e&&e.player?React.createElement("div",{key:l,className:wl.Z.tabContent__videoPlayer},s()):s())}))))})))},sn=e=>{var t;let{content:l,placement:n,siteSpecialty:a,trackingHelpers:i,sectionIndex:r}=e;i.position++;const c=null==l?void 0:l.automatic_columns_division,s=null==l||null===(t=l.layout_options)||void 0===t?void 0:t.border,d={columnWidth:c?`${c.toString()}ch`:"auto"};return React.createElement("div",{style:d,className:o()(wl.Z.text,s?wl.Z.text__border:null)},React.createElement("span",{style:{color:"var(--text-02)","--text-link":"var(--primary-550)","--text-link-visited":"var(--primary-550)"}},React.createElement(pe.H,{color:"inherit",useLargeText:!0,placement:n,margins:!0,siteSpecialty:a,loading:0===r?"eager":"lazy"},null==l?void 0:l.textual_content)))};var dn=l(77977);const un=e=>{var t,l,n,a,o,i,r,c,s;const d=null!=e&&null!==(t=e.background_image)&&void 0!==t&&t.gatsbyImageData?null==e||null===(l=e.background_image)||void 0===l?void 0:l.gatsbyImageData:null==e||null===(n=e.background_image)||void 0===n?void 0:n.url;return{id:null==e?void 0:e.display_title,title:null==e?void 0:e.display_title,image:d,imagePosition:(null==e||null===(a=e.display_options)||void 0===a||null===(o=a.image_focus)||void 0===o?void 0:o.toLowerCase())||"center-center",contentAlignment:"right"===(null==e||null===(i=e.display_options)||void 0===i||null===(r=i.align_content)||void 0===r?void 0:r.toLowerCase())?"end":"start",backgroundColor:null!==(null==e||null===(c=e.display_options)||void 0===c?void 0:c.background_color)?(u=null==e||null===(s=e.display_options)||void 0===s?void 0:s.background_color,dn.xS.get(u)):"primary"};var u},fn=(0,sl.ZP)((()=>Promise.all([l.e(532),l.e(7826),l.e(317),l.e(1266)]).then(l.bind(l,71181)))),mn=(0,sl.ZP)((()=>Promise.all([l.e(532),l.e(3325),l.e(7826),l.e(9045),l.e(2020),l.e(317),l.e(179),l.e(4958)]).then(l.bind(l,84958)))),gn=(0,sl.ZP)((()=>Promise.all([l.e(532),l.e(3325),l.e(7826),l.e(9045),l.e(317),l.e(3457)]).then(l.bind(l,23457)))),pn=(0,sl.ZP)((()=>Promise.all([l.e(532),l.e(3325),l.e(7826),l.e(9045),l.e(2761)]).then(l.bind(l,22761)))),vn=e=>{let{content:t,fullWidth:l=!1,index:n=0,locale:a,placement:o="none",sectionBackground:i=null,sectionIndex:r=0,siteSpecialty:c,sectionContent:s=null,columnHorizontalAlignment:d="Center",noBottomSpacing:u=!1,noTopPaddingFirstSection:f=!1,isInRow:m=!1,cardsAreHorizontal:g=!1}=e;const p={numRows:0,numPanes:0,numTabs:0,position:0},v=yl(t),y=(0,w.a)(w.R.md);switch(v){case"button":return p.position++,React.createElement(xl,Object.assign({},y&&{fullWidth:!0},{content:t.button,placement:o}));case"button_collection":return p.position++,React.createElement(zl,{content:null==t?void 0:t.button_collection});case"social_media_sharing_options":return React.createElement(nn,{content:null==t?void 0:t.social_media_sharing_options,placement:o});case"recipe_grid":{const{recipe_grid:e}=t,l=dl.ZP.mapRecipeGridProps(e);return React.createElement(ke.O1,{specialty:null==l?void 0:l.specialty,enabledFilters:null==l?void 0:l.enabledFilters,placement:o})}case"component":{var h,b,E;p.position++;const e=null==t||null===(h=t.component)||void 0===h?void 0:h.component[0],n=null==e||null===(b=e.internal)||void 0===b||null===(E=b.type)||void 0===E?void 0:E.replace("Contentstack_component_","");switch(n){case"carousel":return React.createElement(Nl,{component:e,placement:o,sectionIndex:r,siteSpecialty:c});case"card":return React.createElement(Il,{component:e,placement:o,trackingHelpers:p,sectionIndex:r,siteSpecialty:c,cardsAreHorizontal:!m||g});case"hero":{const t=(e=>{var t,l,n,a,o;const i=null==e||null===(t=e.call_to_action)||void 0===t?void 0:t.map((e=>(0,Rl.g)(e.button))),r=null==e||null===(l=e.carousel)||void 0===l||null===(n=l.slides)||void 0===n?void 0:n.map((e=>(0,Rl.g)(e.button))),c=(0,Fl.N)(null==e||null===(a=e.background_image)||void 0===a?void 0:a.title),s=(null==e||null===(o=e.background_image)||void 0===o?void 0:o.description)||c;return{...un(e),description:null==e?void 0:e.hero_body,imageAlt:s,imageTitle:c,footer:(null==i?void 0:i.length)>0?i:r}})(e);return React.createElement(xe,Object.assign({},t,{inFullWidthSection:l,loading:0===r?"eager":"lazy"}))}case"materials_card":return React.createElement(Al,{component:e,placement:o,trackingHelpers:p,sectionIndex:r,siteSpecialty:c});case"audio_card":return React.createElement(fn,{component:e,placement:o,trackingHelpers:p,loading:0===r?"eager":"lazy",siteSpecialty:c});case"video_card":return React.createElement(gn,{component:e,placement:o,trackingHelpers:p,siteSpecialty:c});case"related_list":return React.createElement(mn,{component:e,placement:o,siteSpecialty:c,sectionContent:s});case"map":{const t=dl.ZP.mapLocatorProps(e),l="string"==typeof(null==t?void 0:t.description)&&null!=t&&t.description?React.createElement(Se.H,{color:"inherit",placement:o},null==t?void 0:t.description):null;return React.createElement(il,Object.assign({},t,{name:null==e?void 0:e.title.replace(/ /g,""),component:ve.Z,placement:o,indexLocation:hl.INDEX_LOCATION,sectionBackgroun
2d:i,loading:0===r?"eager":"lazy",description:l}))}case"formassembly":{const{confirmed_compliance:t,source:l,title:n}=e;return t&&React.createElement(W,{formAssemblyRestUrl:l,compliance:t,title:n})}case"faq":{const{accordion:t,accordion_content:l,display_options:n,display_title:a,text_content:i,title:d}=e;return React.createElement(_l.r,{content:t?l:i,placement:o,sectionIndex:r,siteSpecialty:c,title:null!=n&&n.show_title?a||d:null,trackingHelpers:p,sectionContent:s})}case"country_selector":return React.createElement(R,{placement:o,countryList:null==e?void 0:e.countries});default:return React.createElement("p",null,`${n} component is not yet defined.`)}}case"row":return p.numRows++,React.createElement(en,{content:t.row,placement:o,locale:a,trackingHelpers:p,sectionBackground:i,sectionIndex:r,siteSpecialty:c});case"section":return React.createElement(tn,{content:t.section,locale:a,placement:o,trackingHelpers:p,index:n,siteSpecialty:c,noBottomSpacing:u,noTopSpacing:f&&0===n});case"player":return React.createElement(pn,{content:t.player,placement:o,trackingHelpers:p});case"separator":{const{separator:e}=t,l=dl.ZP.mapSeparatorProps(e);return React.createElement(cl,{color:null==l?void 0:l.color})}case"text":return React.createElement(sn,{content:t.text,placement:o,trackingHelpers:p,siteSpecialty:c,sectionIndex:r});case"image":return React.createElement(Vl,{content:t.image,placement:o,trackingHelpers:p,sectionIndex:r,columnHorizontalAlignment:d});case"accordion":return React.createElement(El,{content:t.accordion,placement:o,locale:a,trackingHelpers:p,sectionBackground:i,sectionIndex:r,siteSpecialty:c,sectionContent:s});case"tabs":return React.createElement(cn,{content:t.tabs,placement:o,locale:a,trackingHelpers:p,sectionBackground:i,sectionIndex:r,siteSpecialty:c});case"fragment":return React.createElement(Ll,{fragment:t.fragment,placement:o,locale:a,sectionBackground:i,sectionIndex:r,siteSpecialty:c,sectionContent:s});case"iframe":{const{iframe:e}=t;return(null==e?void 0:e.confirmed)&&React.createElement(ge,Object.assign({},e,{fullWidth:l}))}default:return p.position++,React.createElement("p",null,`${v} is not defined.`)}};var yn=vn},8518:function(e,t,l){"use strict";l.d(t,{Q:function(){return g}});var n=l(4457),a=l(31234),o=l(89827),i=l(43720),r=l(1884),c=l(85606),s=l(77004),d=l(95553),u=l.n(d),f=l(76814),m={materialsCardFooter:"style-module--materialsCardFooter--8acc0",downloadText:"style-module--downloadText--c3b3a",fileSize:"style-module--fileSize--02fa6"};const g=e=>{const{id:t,showTitle:l,showDescription:d,fileName:g,fileUrl:p,fileSize:v,image:y=null,imageFocus:h,title:b=null,description:w=null,loading:E="lazy"}=e,{t:R}=(0,f.$G)(),x=`${(v?Number.parseInt(v)/1024:0).toFixed(2).toString()}KB`,S="pdf"!==(g?g.split(".").pop():"").toLowerCase(),k=R(S?"Download":"View",{ns:"media"}),z=(null==b?void 0:b.toString())||w||k,C=React.createElement(r.JO,{"data-test-id":S?"download-icon":"view-icon",className:m.locked,icon:S?r.B1:r.pw,size:S?"xs":"small",type:"jnj"}),T=React.createElement("div",{className:u()(m.materialsCardFooter)},React.createElement("span",{className:u()(m.downloadText)},React.createElement(n.ZQ,{ariaLabel:z,url:p,external:!0},React.createElement(i.z,{color:"primary-550",variant:"naked",size:"medium",accessoryLeft:C,flexibleWidth:!0},React.createElement(c.Z,{color:"inherit"},k)))),React.createElement("span",{className:u()(m.fileSize)},React.createElement(c.Z,{variant:"micro",size:"s",color:"gray"},x)));return React.createElement(a.w,{name:g},React.createElement(o.J,{"data-test-id":`Card.${t}`,title:l&&b,image:y,footer:T,imageFocus:h,idPrefix:"MaterialCard",loading:E,isTransparent:!0,isClickable:!0},d&&React.createElement(c.Z,{color:"inherit"},React.createElement(s.Html,{color:"inherit"},w))))}},6353:function(e,t,l){e.exports=function(e){"use strict";const t="5.5.9",l="iframeResizer",n=":",a="autoResize",o="init",i="iframeReady",r="load",c="message",s="onload",d="pageInfo",u="parentInfo",f="reset",m="resize",g="scroll",p="\n",v="child",y="parent",h="string",b="object",w="function",E="auto",R="none",x="both",S="vertical",k="horizontal",z="[iFrameSizer]",C=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),T=Object.freeze({[s]:1,[o]:1,[i]:1}),I="expanded",$="collapsed",N=Object.freeze({[I]:1,[$]:1}),_="Use of the old name will be removed in a future version of <i>iframe-resizer</>.",M=(e,t,l,n)=>e.addEventListener(t,l,n||!1),A=(e,t,l)=>e.removeEventListener(t,l,!1),L=e=>{if(!e)return"";let t=-559038744,l=1103547984;for(let n,a=0;a<e.length;a++)n=e.codePointAt(a),t=Math.imul(t^n,2246822519),l=Math.imul(l^n,32664899
217);return t^=Math.imul(t^l>>>15,1935289751),l^=Math.imul(l^t>>>15,3405138345),t^=l>>>16,l^=t>>>16,(2097152*(l>>>0)+(t>>>11)).toString(36)},O=e=>e.replace(/[A-Za-z]/g,(e=>String.fromCodePoint((e<="Z"?90:122)>=(e=e.codePointAt(0)+19)?e:e-26))),P=["spjluzl","rlf","clyzpvu"],H=["<yi>Puchspk Spjluzl Rlf</><iy><iy>","<yi>Tpzzpun Spjluzl Rlf</><iy><iy>","Aopz spiyhyf pz hchpshisl dpao ivao Jvttlyjphs huk Vwlu-Zvbyjl spjluzlz.<iy><iy><i>Jvttlyjphs Spjluzl</><iy>Mvy jvttlyjphs bzl, <p>pmyhtl-ylzpgly</> ylxbpylz h svd jvza vul aptl spjluzl mll. Mvy tvyl pumvythapvu cpzpa <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</>.<iy><iy><i>Vwlu Zvbyjl Spjluzl</><iy>Pm fvb hyl bzpun aopz spiyhyf pu h uvu-jvttlyjphs vwlu zvbyjl wyvqlja aolu fvb jhu bzl pa mvy myll bukly aol alytz vm aol NWS C3 Spjluzl. Av jvumpyt fvb hjjlwa aolzl alytz, wslhzl zla aol <i>spjluzl</> rlf pu <p>pmyhtl-ylzpgly</> vwapvuz av <i>NWSc3</>.<iy><iy>Mvy tvyl pumvythapvu wslhzl zll: <b>oaawz://pmyhtl-ylzpgly.jvt/nws</>","<i>NWSc3 Spjluzl Clyzpvu</><iy><iy>Aopz clyzpvu vm <p>pmyhtl-ylzpgly</> pz ilpun bzlk bukly aol alytz vm aol <i>NWS C3</> spjluzl. Aopz spjluzl hssvdz fvb av bzl <p>pmyhtl-ylzpgly</> pu Vwlu Zvbyjl wyvqljaz, iba pa ylxbpylz fvby wyvqlja av il wbispj, wyvcpkl haaypibapvu huk il spjluzlk bukly clyzpvu 3 vy shaly vm aol NUB Nlulyhs Wbispj Spjluzl.<iy><iy>Pm fvb hyl bzpun aopz spiyhyf pu h uvu-vwlu zvbyjl wyvqlja vy dlizpal, fvb dpss ullk av wbyjohzl h svd jvza vul aptl jvttlyjphs spjluzl.<iy><iy>Mvy tvyl pumvythapvu cpzpa <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</>.","<iy><yi>Zvsv spjluzl kvlz uva zbwwvya jyvzz-kvthpu</><iy><iy>Av bzl <p>pmyhtl-ylzpgly</> dpao jyvzz kvthpu pmyhtlz fvb ullk lpaoly aol Wyvmlzzpvuhs vy Ibzpulzz spjluzlz. Mvy klahpsz vu bwnyhkl wypjpun wslhzl jvuahja [email protected].","Pu whnl spurpun ylxbpylz h Wyvmlzzpvuhs vy Ibzpulzz spjluzl. Wslhzl zll <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</> mvy tvyl klahpsz."],j=["NWSc3","zvsv","wyv","ibzpulzz","vlt"],B=Object.fromEntries(["2cgs7fdf4xb","1c9ctcccr4z","1q2pc4eebgb","ueokt0969w","w2zxchhgqz","1umuxblj2e5","2b5sdlfhbev","zo4ui3arjo","oclbb4thgl"].map(((e,t)=>[e,Math.max(0,t-1)]))),G=e=>O(H[e]),W=e=>{const t=e[O(P[0])]||e[O(P[1])]||e[O(P[2])];if(!t)return-1;const l=t.split("-");let n=function(){let e=-2;const t=L(O(arguments.length>0&&void 0!==arguments[0]?arguments[0]:""));return t in B&&(e=B[t]),e>4?e-4:e}(l[0]);return 0===n||(e=>e[2]===L(e[0]+e[1]))(l)||(n=-2),n},F=Object.hasOwn||((e,t)=>Object.prototype.hasOwnProperty.call(e,t)),Z={br:"\n",rb:"�[31;1m",bb:"�[34;1m",b:"�[1m",i:"�[3m",u:"�[4m","/":"�[m"},D=Object.keys(Z),U=new RegExp(`<(${D.join("|")})>`,"gi"),K=(e,t)=>Z[t]??"",V=e=>t=>e(typeof t===h?window.chrome?t.replace(U,K):(e=>e.replaceAll("<br>",p).replaceAll(/<\/?[^>]+>/gi,""))(t):t),J={},q=(Y=e,Y?.__esModule?Y.default:Y);var Y;let Q=!0;const X=q({expand:!1,label:y}),ee=e=>window.top===window.self?`parent(${e})`:`nested parent(${e})`,te=e=>function(t){for(var l=arguments.length,n=new Array(l>1?l-1:0),a=1;a<l;a++)n[a-1]=arguments[a];return J[t]?J[t].console[e](...n):X[e](...n)};var le;const ne=(le="log",function(e){for(var t=arguments.length,l=new Array(t>1?t-1:0),n=1;n<t;n++)l[n-1]=arguments[n];return!0===(e=>J[e]?J[e].log:Q)(e)?te(le)(e,...l):null}),ae=te("warn"),oe=te("error"),ie=te("event"),re=te("purge"),ce=te("endAutoGroup"),se=te("errorBoundary"),de=V((e=>e)),ue=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return J[e]?J[e].console.warn(...n.map(de)):queueMicrotask((()=>{const t=V((e=>function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];return[`${l}(${e})`,...n].join(" ")})(e));console?.warn(...n.map(t))}))},fe=(e=>function(t){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"renamed to";return function(n,a){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e(arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",`<rb>Deprecated ${t}(${n.replace("()","")})</>\n\nThe <b>${n}</> ${t.toLowerCase()} has been ${l} <b>${a}</>. ${o}Use of the old ${t.toLowerCase()} will be removed in a future version of <i>iframe-resizer</>.`)}})(ue),me=fe("Option");function ge(e){const{checkOrigin:t,iframe:{id:l,src:n,sandbox:a},initialisedFirstPage:o,waitForLoad:i,warningTimeout:r}=e,c=(e=>{try{return new URL(e).origin}catch(e){return null}})(n);ie(l,"noResponse"),ue(l,`<rb>No response from iframe</>\n\nThe iframe (<i>${l}</>) has not responded within ${r/1e3} seconds. Check <b>@iframe-resizer/child</> package has been loaded in the iframe.\n${t&&c?`\nThe <b>checkOrigin</> option is currently enabled. If the iframe redirects away from <i>${c}</>, then the connection to the iframe may be blocked by the browser. To disable this option, set <b>checkOrigin</> to <bb>false</> or an array of allowed origins. See <u>https://iframe-resizer.com/checkorigin</> for more information.\n`:""}${i&&!o?"\nThe <b>waitForLoad</> option is currently set to <bb>true</>. If the iframe loads before <i>iframe-resizer</> runs, this option will prevent <i>iframe-resizer</> initialising. To disable this option, set <b>waitForLoad</> to <bb>false</>.\n":""}${(e=>typeof e===b&&e.length>0&&!(e.contains("allow-scripts")&&e.contains("allow-same-origin")))(a)?"\nThe iframe has the <b>sandbox</> attribute, please ensure it contains both the <bb>allow-same-origin</> and <bb>allow-scripts</>
2 values.\n":""}\nThis message can be ignored if everything is working, or you can set the <b>warningTimeout</> option to a higher value or zero to suppress this warning.\n`)}const pe={},ve=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyPadding:null,checkOrigin:!0,direction:S,firstRun:!0,inPageLinks:!1,heightCalculationMethod:E,id:"iFrameResizer",log:!1,logExpand:!1,license:void 0,mouseEvents:!0,offsetHeight:null,offsetWidth:null,postMessageTarget:null,sameDomain:!1,scrolling:!1,sizeHeight:!0,sizeWidth:!1,tolerance:0,waitForLoad:!1,warningTimeout:5e3,widthCalculationMethod:E,onBeforeClose:()=>!0,onAfterClose(){},onInit:!1,onMessage:null,onMouseEnter(){},onMouseLeave(){},onReady:e=>{typeof J[e.id].onInit===w&&(me("init()","onReady()","",e.id),J[e.id].onInit(e))},onResized(){},onScroll:()=>!0}),ye={position:null,version:t};function he(l){function i(){ze(B),Se(F),L("onResized",B)}function s(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}function p(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}const v=e=>H.slice(H.indexOf(n)+7+e),b=(e,t)=>(l,n)=>{const a={};var o,i;o=function(){Te(`${l} (${e})`,`${e}:${t()}`,n)},a[i=n]||(o(),a[i]=requestAnimationFrame((()=>{a[i]=null})))},w=(e,t)=>()=>{let l=!1;const n=t=>()=>{J[s]?l&&l!==t||(e(t,s),l=t,requestAnimationFrame((()=>{l=!1}))):c()},a=n(g),o=n("resize window");function i(e,t){t(window,g,a),t(window,m,o)}function c(){ie(s,`stop${t}`),i(0,A),d.disconnect(),u.disconnect(),A(J[s].iframe,r,c)}const s=F,d=new ResizeObserver(n("pageObserver")),u=new ResizeObserver(n("iframeObserver"));J[s]&&(J[s][`stop${t}`]=c,M(J[s].iframe,r,c),i(0,M),d.observe(document.body,{attributes:!0,childList:!0,subtree:!0}),u.observe(J[s].iframe,{attributes:!0,childList:!1,subtree:!1}))},E=e=>()=>{e in J[F]&&(J[F][e](),delete J[F][e])},R=b(d,(function(){const e=document.body.getBoundingClientRect(),t=B.iframe.getBoundingClientRect(),{scrollY:l,scrollX:n,innerHeight:a,innerWidth:o}=window,{clientHeight:i,clientWidth:r}=document.documentElement;return JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(i,a||0),clientWidth:Math.max(r,o||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:l,scrollLeft:n,documentHeight:i,documentWidth:r,windowHeight:a,windowWidth:o})})),x=b(u,(function(){const{iframe:e}=B,{scrollWidth:t,scrollHeight:l}=document.documentElement,{width:n,height:a,offsetLeft:o,offsetTop:i,pageLeft:r,pageTop:c,scale:s}=window.visualViewport;return JSON.stringify({iframe:e.getBoundingClientRect(),document:{scrollWidth:t,scrollHeight:l},viewport:{width:n,height:a,offsetLeft:o,offsetTop:i,pageLeft:r,pageTop:c,scale:s}})})),S=w(R,"PageInfo"),k=w(x,"ParentInfo"),C=E("stopPageInfo"),T=E("stopParentInfo");function I(e){const t=e.getBoundingClientRect();return Re(),{x:Number(t.left)+Number(ye.position.x),y:Number(t.top)+Number(ye.position.y)}}function $(t){const l=t?I(B.iframe):{x:0,y:0};ne(F,`Reposition requested (offset x:%c${l.x}%c y:%c${l.y})`,e.HIGHLIGHT,e.FOREGROUND,e.HIGHLIGHT);const n=((e,t)=>({x:e.width+t.x,y:e.height+t.y}))(B,l),a=window.parentIframe||window.parentIFrame;a?function(e,l){setTimeout((()=>e["scrollTo"+(t?"Offset":"")](l.x,l.y)))}(a,n):function(e){ye.position=e,N(F)}(n)}function N(e){const{x:t,y:l}=ye.position,n=J[e]?.iframe;!1!==L("onScroll",{iframe:n,top:l,left:t,x:t,y:l})?Se(e):xe()}function _(e){let t={};if(0===B.width&&0===B.height){const e=v(9).split(n);t={x:e[1],y:e[0]}}else t={x:B.width,y:B.height};L(e,{iframe:B.iframe,screenX:Number(t.x),screenY:Number(t.y),type:B.type})}const L=(e,t)=>be(F,e,t);function O(){const{height:l,iframe:n,msg:r,type:s,width:m}=B;switch(J[F]?.firstRun&&J[F]&&(_e(F,B.mode),J[F].firstRun=!1),s){case"close":Ee(n);break;case c:p=v(6),L("onMessage",{iframe:B.iframe,message:JSON.parse(p)});break;case"mouseenter":_("onMouseEnter");break;case"mouseleave":_("onMouseLeave");break;case"beforeUnload":ne(F,"Ready state reset"),J[F].initialised=!1;break;case a:J[F].autoResize=JSON.parse(v(9));break;case"scrollBy":!function(){const t=B.width,l=B.height,n=window.parentIframe||window.parentIFrame||window;ne(F,`scrollBy: x: %c${t}%c y: %c${l}`,e.HIGHLIGHT,e.FOREGROUND,e.HIGHLIGHT),n.scrollBy(t,l)}();break;case"scrollTo":$(!1);break;case"scrollToOffset":$(!0);break;case d:S();break;case u:k();break;case"pageInfoStop":C();break;case"parentInfoStop":T();break;case"inPageLink":!function(t){const l=t.split("#")[1]||"",n=decodeURIComponent(l);let a=document.getElementById(n)||document.getElementsByName(n)[0];a?function(){const t=I(a);ne(F,`Moving to in page link: %c#${l}`,e.HIGHLIGHT),ye.position={x:t.x,y:t.y},N(F),window.location.hash=l}():window.top!==window.self&&function(){const e=window.parentIframe||window.parentIFrame;e&&e.moveToAnchor(l)}()}(v(9));break;case"title":!function(t,l){J[l]?.syncTitle&&(J[l].iframe.title=t,ne(l,`Set iframe title attribute: %c${t}`,e.HIGHLIGHT))}(r,F);break;case f:ke(B);break;case o:i(),function(e){try{J[e].sameOrigin=!!J[e]?.iframe?.contentWindow?.iframeChildListener}catch(t){J[e].sameOrigin=!1}}(F),(g=r)!==t&&(void 0!==g||ue(F,"<rb>Legacy version detected in iframe</>\n\nDetected legacy version of child page script. It is recommended to update the page in the iframe to use <b>@iframe-resizer/child</>
2.\n\nSee <u>https://iframe-resizer.com/setup/#child-page-setup</> for more details.\n")),J[F].initialised=!0,L("onReady",n);break;default:if(0===m&&0===l)return void ae(F,`Unsupported message received (${s}), this is likely due to the iframe containing a later version of iframe-resizer than the parent page`);if(0===m||0===l)return;if(document.hidden)return;i()}var g,p}function P(e){if(!J[e])throw new Error(`${B.type} No settings for ${e}. Message was: ${H}`)}let H=l.data;if("[iFrameResizerChild]Ready"===H)return j=l.source,void Object.values(J).forEach((e=>t=>{let{initChild:l,postMessageTarget:n}=t;e===n&&l()})(j));var j;if(!(e=>z===`${e}`.slice(0,13)&&e.slice(13).split(n)[0]in J)(H)){if(typeof H!==h)return;return void ie(y,"ignoredMessage")}const B=function(e){const t=e.slice(13).split(n),l=t[1]?Number(t[1]):0,a=J[t[0]]?.iframe,o=getComputedStyle(a),i={iframe:a,id:t[0],height:l+s(o)+p(o),width:Number(t[2]),type:t[3],msg:t[4]};return t[5]&&(i.mode=t[5]),i}(H),{id:G,type:W}=B,F=G;F?(ie(F,W),se(F,(function(e){P(F),B.type in{true:1,false:1,undefined:1}||(null!==B.iframe||(ae(F,`The iframe (${B.id}) was not found.`),0))&&function(){const{origin:e,sameOrigin:t}=l;if(t)return!0;let n=J[F]?.checkOrigin;if(n&&"null"!=`${e}`&&!(n.constructor===Array?function(){let t=0,l=!1;for(;t<n.length;t++)if(n[t]===e){l=!0;break}return l}():function(){const t=J[F]?.remoteHost;return e===t}()))throw new Error(`Unexpected message received from: ${e} for ${B.iframe.id}. Message was: ${l.data}. This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.`);return!0}()&&O()}))(H)):ae("","iframeResizer received messageData without id, message was: ",H)}function be(e,t,l){let n=null,a=null;if(J[e]){if(n=J[e][t],typeof n!==w)throw new TypeError(`${t} on iFrame[${e}] is not a function`);if("onBeforeClose"===t||"onScroll"===t)try{a=n(l)}catch(l){console.error(l),ae(e,`Error in ${t} callback`)}else!function(e){for(var t=arguments.length,l=new Array(t>1?t-1:0),n=1;n<t;n++)l[n-1]=arguments[n];setTimeout((()=>e(...l)),0)}(n,l)}return a}function we(e){const{id:t}=e;delete J[t],delete e.iframeResizer}function Ee(e){const{id:t}=e;if(!1!==be(t,"onBeforeClose",t)){try{e.parentNode&&e.remove()}catch(e){ae(t,e)}be(t,"onAfterClose",t),we(e)}}function Re(e){null===ye.position&&(ye.position={x:window.scrollX,y:window.scrollY})}function xe(){ye.position=null}function Se(t){null!==ye.position&&(window.scrollTo(ye.position.x,ye.position.y),ne(t,`Set page position: %c${ye.position.x}%c, %c${ye.position.y}`,e.HIGHLIGHT,e.FOREGROUND,e.HIGHLIGHT),xe())}function ke(e){Re(e.id),ze(e),Te(f,f,e.id)}function ze(t){function l(l){const a=`${t[l]}px`;t.iframe.style[l]=a,ne(n,`Set ${l}: %c${a}`,e.HIGHLIGHT)}const{id:n}=t,{sizeHeight:a,sizeWidth:o}=J[n];a&&l("height"),o&&l("width")}const Ce=e=>e.split(n).filter(((e,t)=>19!==t)).join(n);function Te(t,l,n){function a(a){const o=t in T?Ce(l):l;ne(n,a,e.HIGHLIGHT,e.FOREGROUND,e.HIGHLIGHT),ne(n,`Message data: %c${o}`,e.HIGHLIGHT)}ie(n,t),J[n]&&(J[n]?.postMessageTarget?function(){const{iframe:e,postMessageTarget:o,sameOrigin:i,targetOrigin:r}=J[n];if(i)try{return e.contentWindow.iframeChildListener(z+l),void a(`Sending message to iframe %c${n}%c via same origin%c`)}catch(e){t in T?J[n].sameOrigin=!1:ae(n,"Same origin messaging failed, falling back to postMessage")}a(`Sending message to iframe: %c${n}%c targetOrigin: %c${r}`),o.postMessage(z+l,r)}():ae(n,`Iframe(${n}) not found`))}let Ie=0,$e=!1,Ne=!1;function _e(l){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-3;if($e)return;const a=Math.max(J[l].mode,n);if(a>J[l].mode&&(J[l].mode=a),a<0)throw re(l),J[l].vAdvised||ue(l||"Parent",`${G(a+2)}${G(2)}`),J[l].vAdvised=!0,G(a+2).replace(/<\/?[a-z][^>]*>|<\/>/gi,"");a>0&&Ne||function(t,l){queueMicrotask((()=>console.info(`%ciframe-resizer ${t}`,Q||l<1?"font-weight: bold;":e.NORMAL)))}(`v${t} (${(e=>O(j[e]))(a)})`,a),a<1&&ue("Parent",G(3)),$e=!0}function Me(){!0!==document.hidden&&((e,t)=>{Object.values(J).filter((e=>{let{autoResize:t,firstRun:l}=e;return t&&!l})).forEach((l=>{let{iframe:n}=l;return Te(e,t,n.id)}))})("tabVisible",m)}const Ae=(e=>{let t=!1;return function(){return t?void 0:(t=!0,Reflect.apply(e,this,arguments))}})((()=>{M(window,c,he),M(document,"visibilitychange",Me),window.iframeParentListener=e=>setTimeout((()=>
vendor: 4,351 bytes, line 2
2he({data:e,sameOrigin:!0})))}));return t=>d=>{function u(){J[O]?.heightCalculationMethod in C&&ke({iframe:d,height:1,width:1,type:o})}function f(){if(J[O]){const{iframe:e}=J[O],t={close:Ee.bind(null,e),disconnect:we.bind(null,e),removeListeners(){ue(O,`<rb>Deprecated Method Name</>\n\nThe <b>removeListeners()</> method has been renamed to <b>disconnect()</>. ${_}\n`),this.disconnect()},resize(){ue(O,"<rb>Deprecated Method</>\n\nUse of the <b>resize()</> method from the parent page is deprecated and will be removed in a future version of <i>iframe-resizer</>. As their are no longer any edge cases that require triggering a resize from the parent page, it is recommended to remove this method from your code."),Te.bind(null,"Window resize",m,O)},moveToAnchor(e){((e,t,l)=>{if(typeof e!==t)throw new TypeError(`moveToAnchor(anchor) anchor is not a ${n=t,n.charAt(0).toUpperCase()+n.slice(1)}`);var n})(e,h),Te("Move to anchor",`moveToAnchor:${e}`,O)},sendMessage(e){e=JSON.stringify(e),Te(c,`${c}:${e}`,O)}};e.iframeResizer=t,e.iFrameResizer=t}}function g(e,t){const l=l=>()=>{if(!J[e])return;const{firstRun:n,iframe:a}=J[e];Te(l,t,e),(e=>e===o)(l)&&(e=>"lazy"===e.loading)(a)||function(e,t){const l=t[e],{msgTimeout:n,warningTimeout:a}=l;a&&(n&&clearTimeout(n),l.msgTimeout=setTimeout((function(){const l=t[e];void 0!==l&&((e=>{e.msgTimeout=void 0})(l),function(e){const{initialised:t}=e;return t&&(e.initialisedFirstPage=!0),t}(l)||ge(l))}),a))}(e,J),n||u()},{iframe:n}=J[e];J[e].initChild=l(i),function(e,t){M(e,r,(()=>setTimeout(t,1)))}(n,l(s)),function(e,t){const{iframe:l,waitForLoad:n}=J[e];!0!==n&&((e=>{const{src:t,srcdoc:l}=e;return!l&&(null==t||""===t||"about:blank"===t)})(l)?setTimeout((()=>{ie(e,"noContent"),ne(e,"No content detected in the iframe, delaying initialisation")})):setTimeout(t))}(e,l(o))}function y(e){return e?(("sizeWidth"in e||"sizeHeight"in e||a in e)&&ue(O,`<rb>Deprecated Option</>\n\nThe <b>sizeWidth</>, <b>sizeHeight</> and <b>autoResize</> options have been replaced with new <b>direction</> option which expects values of <bb>${S}</>, <bb>${k}</>, <bb>${x}</> or <bb>${R}</>.\n`),e):{}}function w(e){const t=J[e]?.iframe?.title;return""===t||void 0===t}function z(e,t){F(J[O],e)&&(ue(O,`<rb>Deprecated option</>\n\nThe <b>${e}</> option has been renamed to <b>${t}</>. ${_}`),J[O][t]=J[O][e],delete J[O][e])}const T=e=>F(e,"onMouseEnter")||F(e,"onMouseLeave");function A(t){var l,n;J[O]={...J[O],iframe:d,remoteHost:d?.src.split("/").slice(0,3).join("/"),...ve,...y(t),mouseEvents:T(t),mode:W(t),syncTitle:w(O)},z("offset","offsetSize"),z("onClose","onBeforeClose"),z("onClosed","onAfterClose"),ie(O,"setup"),function(){const{direction:e}=J[O];switch(e){case S:break;case k:J[O].sizeHeight=!1;case x:J[O].sizeWidth=!0;break;case R:J[O].sizeWidth=!1,J[O].sizeHeight=!1,J[O].autoResize=!1;break;default:throw new TypeError(O,`Direction value of "${e}" is not valid`)}}(),(l=t?.offsetSize||t?.offset)&&(J[O].direction===S?J[O].offsetHeight=l:J[O].offsetWidth=l),J[O].warningTimeout||ne(O,"warningTimeout:%c disabled",e.HIGHLIGHT),null===J[O].postMessageTarget&&(J[O].postMessageTarget=d.contentWindow),J[O].targetOrigin=!0===J[O].checkOrigin?""===(n=J[O].remoteHost)||null!==n.match(/^(about:blank|javascript:|file:\/\/)/)?"*":n:"*"}const L=()=>l in d,O=function(e){if(e&&typeof e!==h)throw new TypeError("Invalid id for iFrame. Expected String");return""!==e&&e||(e=function(){let e=t?.id||ve.id+Ie++;return null!==document.getElementById(e)&&(e+=Ie++),e}(),d.id=e,ie(e,"assignId")),e}(d.id);if(typeof t!==b)throw new TypeError("Options is not an object");return function(e){const{search:t}=window.location;t.includes("ifrlog")&&(e.log=$,e.logExpand=t.includes("ifrlog=expanded"))}(t),function(e,t){const l=F(t,"log"),n=typeof t.log===h,a=l?!!n||t.log:ve.log;F(t,"logExpand")||(t.logExpand=l&&n?t.log===I:ve.logExpand),function(e){-1===e?.log&&(e.log=!1,Ne=!0)}(t),function(e){let{enabled:t,expand:l,iframeId:n}=e;const a=q({expand:l,label:ee(n)});Q=t,J[n]||(J[n]={console:a})}({enabled:a,expand:t.logExpand,iframeId:e}),n&&!(t.log in N)&&oe(e,'Invalid value for options.log: Accepted values are "expanded" and "collapsed"'),t.log=a}(O,t),se(O,(function(e){L()?ae(O,`Ignored iframe (${O}), already setup.`):(A(e),function(e){if(!0===pe[e])return!1;const t=document.querySelectorAll(`iframe#${CSS.escape(e)}`);
2if(t.length<=1)return!0;pe[e]=!0;const l=Array.from(t).flatMap((e=>[p,e,p]));ue(e,`<rb>Duplicate ID attributes detected</>\n\nThe <b>${e}</> ID is not unique. Having multiple iframes on the same page with the same ID causes problems with communication between the iframe and parent page. Please ensure that the ID of each iframe has a unique value.\n\nFound <bb>${t.length}</> iframes with the <b>${e}</> ID:`,...l,p)}(O),function(){if($e)return;const{mode:e}=J[O];-1!==e&&_e(O,e)}(),Ae(),function(){switch(d.style.overflow=!1===J[O]?.scrolling?"hidden":E,J[O]?.scrolling){case"omit":break;case!0:d.scrolling="yes";break;case!1:d.scrolling="no";break;default:d.scrolling=J[O]?J[O].scrolling:"no"}}(),function(){const{bodyMargin:e}=J[O];"number"!=typeof e&&"0"!==e||(J[O].bodyMargin=`${e}px`)}(),g(O,function(e){const{autoResize:t,bodyBackground:l,bodyMargin:a,bodyPadding:o,heightCalculationMethod:i,inPageLinks:r,license:c,log:s,logExpand:d,mouseEvents:u,offsetHeight:f,offsetWidth:m,mode:g,sizeHeight:p,sizeWidth:y,tolerance:h,widthCalculationMethod:b}=J[e];return[e,"8",y,s,"32",!0,t,a,i,l,o,h,r,v,b,u,f,m,p,c,ye.version,g,"",d].join(n)}(O)),f(),ce(O))}))(t),d?.iframeResizer}}(l(78586))},13324:function(e,t,l){var n=l(17297),a=l(33812);e.exports=function(e,t){for(var l=0,o=(t=n(t,e)).length;null!=e&&l<o;)e=e[a(t[l++])];return l&&l==o?e:void 0}},20187:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},37036:function(e,t,l){var n=l(86571),a=l(88746);e.exports=function(e,t,l,o){var i=l.length,r=i,c=!o;if(null==e)return!r;for(e=Object(e);i--;){var s=l[i];if(c&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<r;){var d=(s=l[i])[0],u=e[d],f=s[1];if(c&&s[2]){if(void 0===u&&!(d in e))return!1}else{var m=new n;if(o)var g=o(u,f,d,e,t,m);if(!(void 0===g?a(f,u,3,o,m):g))return!1}}return!0}},68286:function(e,t,l){var n=l(26423),a=l(74716),o=l(23059),i=l(86152),r=l(65798);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):n(e):r(e)}},26423:function(e,t,l){var n=l(37036),a=l(49882),o=l(73477);e.exports=function(e){var t=a(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(l){return l===e||n(l,e,t)}}},74716:function(e,t,l){var n=l(88746),a=l(72579),o=l(95041),i=l(21401),r=l(28792),c=l(73477),s=l(33812);e.exports=function(e,t){return i(e)&&r(t)?c(s(e),t):function(l){var i=a(l,e);return void 0===i&&i===t?o(l,e):n(t,i,3)}}},93759:function(e,t,l){var n=l(13324),a=l(7745),o=l(17297);e.exports=function(e,t,l){for(var i=-1,r=t.length,c={};++i<r;){var s=t[i],d=n(e,s);l(d,s)&&a(c,o(s,e),d)}return c}},20256:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},82952:function(e,t,l){var n=l(13324);e.exports=function(e){return function(t){return n(t,e)}}},7745:function(e,t,l){var n=l(60091),a=l(17297),o=l(39045),i=l(29259),r=l(33812);e.exports=function(e,t,l,c){if(!i(e))return e;for(var s=-1,d=(t=a(t,e)).length,u=d-1,f=e;null!=f&&++s<d;){var m=r(t[s]),g=l;if("__proto__"===m||"constructor"===m||"prototype"===m)return e;if(s!=u){var p=f[m];void 0===(g=c?c(p,m,f):void 0)&&(g=i(p)?p:o(t[s+1])?[]:{})}n(f,m,g),f=f[m]}return e}},17297:function(e,t,l){var n=l(86152),a=l(21401),o=l(54452),i=l(66188);e.exports=function(e,t){return n(e)?e:a(e,t)?[e]:o(i(e))}},76939:function(e,t,l){var n=l(1897),a=l(12680),o=l(18582);e.exports=function(e){return n(e,o,a)}},49882:function(e,t,l){var n=l(28792),a=l(90249);e.exports=function(e){for(var t=a(e),l=t.length;l--;){var o=t[l],i=e[o];t[l]=[o,i,n(i)]}return t}},12680:function(e,t,l){var n=l(65067),a=l(47353),o=l(80633),i=l(30981),r=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=a(e);return t}:i;e.exports=r},1369:function(e,t,l){var n=l(17297),a=l(79631),o=l(86152),i=l(39045),r=l(61158),c=l(33812);e.exports=function(e,t,l){for(var s=-1,d=(t=n(t,e)).length,u=!1;++s<d;){var f=c(t[s]);if(!(u=null!=e&&l(e,f)))break;e=e[f]}return u||++s!=d?u:!!(d=null==e?0:e.length)&&r(d)&&i(f,d)&&(o(e)||a(e))}},21401:function(e,t,l){var n=l(86152),a=l(4795),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var l=typeof e;return!("number"!=l&&"symbol"!=l&&"boolean"!=l&&null!=e&&!a(e))||(i.test(e)||!o.test(e)||null!=t&&e in Object(t))}},28792:function(e,t,l){var n=l(29259);e.exports=function(e){return e==e&&!n(e)}},73477:function(e){e.exports=function(e,t){return function(l){return null!=l&&(l[e]===t&&(void 0!==t||e in Object(l)))}}},77777:function(e,t,l){var n=l(30733);e.exports=function(e){var t=n(e,(function(e){return 500===l.size&&l.clear(),e})),l=t.cache;return t}},54452:function(e,t,l){var n=l(77777),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(a,(function(e,l,n,a){t.push(n?a.replace(o,"$1"):l||e)})),t}));e.exports=i},33812:function(e,t,l){var n=l(4795);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},72579:function(e,t,l){var n=l(13324);e.exports=function(e,t,l){var a=null==e?void 0:n(e,t);return void 0===a?l:a}},95041:function(e,t,l){var n=l(20187),a=l(1369);e.exports=function(e,t){return null!=e&&a(e,t,n)}},45455:function(e,t,l){var n=l(86411),a=l(70940),o=l(79631),i=l(86152),r=l(67878),c=l(73226),s=l(16001),d=l(77598),u=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;
2if(r(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||d(e)||o(e)))return!e.length;var t=a(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(s(e))return!n(e).length;for(var l in e)if(u.call(e,l))return!1;return!0}},80537:function(e,t,l){var n=l(53366),a=l(15125);e.exports=function(e){return"number"==typeof e||a(e)&&"[object Number]"==n(e)}},30733:function(e,t,l){var n=l(96738);function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var l=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=l.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return l.cache=o.set(a,i)||o,i};return l.cache=new(a.Cache||n),l}a.Cache=n,e.exports=a},42208:function(e,t,l){var n=l(50343),a=l(68286),o=l(93759),i=l(76939);e.exports=function(e,t){if(null==e)return{};var l=n(i(e),(function(e){return[e]}));return t=a(t),o(e,l,(function(e,l){return t(e,l[0])}))}},65798:function(e,t,l){var n=l(20256),a=l(82952),o=l(21401),i=l(33812);e.exports=function(e){return o(e)?n(i(e)):a(e)}},78586:function(e,t){!function(e){"use strict";const t="font-weight: normal;",l="font-weight: bold;",n="font-style: italic;",a=t+n,o="color: #135CD2;",i="color: #A9C7FB;",r="color: #1F1F1F;",c="color: #E3E3E3;",s="default",d="error",u="log",f=Object.freeze({assert:!0,error:!0,warn:!0}),m={expand:!1,defaultEvent:void 0,event:void 0,label:"AutoConsoleGroup",showTime:!0},g={profile:0,profileEnd:0,timeStamp:0,trace:0},p=e=>{const t=e.event||e.defaultEvent;return t?`${t}`:""},v=Object.assign(console);function y(){const e=new Date,t=(t,l)=>e[t]().toString().padStart(l,"0");return`@ ${t("getHours",2)}:${t("getMinutes",2)}:${t("getSeconds",2)}.${t("getMilliseconds",3)}`}const{fromEntries:h,keys:b}=Object,w=e=>[e,v[e]],E=e=>t=>[t,function(l){e[t]=l}],R=(e,t)=>h(b(e).map(t));function x(e={}){const n={},o={},i=[],r={...m,expand:!e.collapsed||m.expanded,...e};let c="";function h(){i.length=0,c=""}function b(){delete r.event,h()}const x=()=>i.some((([e])=>e in f)),S=()=>!!x()||!!r.expand,k=()=>r.showTime?c:"";function z(){if(0!==i.length){v[S()?"group":"groupCollapsed"](`%c${r.label}%c ${p(r)} %c${k()}`,t,l,a);for(const[e,...t]of i)v.assert(e in v,`Unknown console method: ${e}`),e in v&&v[e](...t);v.groupEnd(),b()}else b()}function C(){""===c&&(c=y(),queueMicrotask((()=>queueMicrotask(z))))}function T(e){C(),r.event=e}function I(e,...t){0===i.length&&C(),i.push([e,...t])}const $=e=>(...t)=>{let l;try{l=e(...t)}catch(n){if(!Error.prototype.isPrototypeOf(n))throw n;I(d,n),z()}return l};function N(e,...t){!0!==e&&I("assert",e,...t)}function _(e=s){o[e]?o[e]+=1:o[e]=1,I(u,`${e}: ${o[e]}`)}function M(e=s){delete o[e]}function A(e=s){C(),n[e]=performance.now()}function L(e=s,...t){if(!n[e])return void I("timeLog",e,...t);const l=performance.now()-n[e];I(u,`${e}: ${l} ms`,...t)}function O(e=s){L(e),delete n[e]}const P=e=>[e,(...t)=>I(e,...t)];return{...R(r,E(r)),...R(console,P),...R(g,w),assert:N,count:_,countReset:M,endAutoGroup:z,errorBoundary:$,event:T,purge:h,time:A,timeEnd:O,timeLog:L,touch:C}}const S=!(typeof window>"u"||"function"!=typeof window.matchMedia)&&window.matchMedia("(prefers-color-scheme: dark)").matches,k=S?i:o,z=S?c:r;e.BOLD=l,e.FOREGROUND=z,e.HIGHLIGHT=k,e.ITALIC=n,e.NORMAL=t,e.default=x,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}(t)}}]); 3//# sourceMappingURL=ee154d7d50c0f8b4d4bd801e5abe739f8101be6a-67cb1231f3e3dd16efa1.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.