1class Cookie{static get(name){const cookieName=encodeURIComponent(name)+"=",cookie=document.cookie;let value=null;const startIndex=cookie.indexOf(cookieName);if(startIndex>-1){let endIndex=cookie.indexOf(";",startIndex);-1==endIndex&&(endIndex=cookie.length),value=decodeURIComponent(cookie.substring(startIndex+cookieName.length,endIndex)).replace(/^=/,"")}return""===value&&(value=null),value}static set(name,value,expires,path,domain,secure){let cookieText=encodeURIComponent(name)+"="+encodeURIComponent(value);expires instanceof Date&&(cookieText+="; expires="+expires.toUTCString()),path&&(cookieText+="; path="+path),domain&&(cookieText+="; domain="+domain),0!=secure&&(cookieText+="; secure"),document.cookie=cookieText}static remove(name,path,domain,secure){Cookie.set(name,"",new Date(0),path,domain,secure)}}if("undefined"==typeof bootstrap||void 0===bootstrap.Modal){var modalDialog,modalDialogMap={},modalButtons=document.querySelectorAll('[data-toggle="modal"], [data-dismiss="modal"]'),body=document.body,modalBackdrop=document.createElement("div");function cacheModalDialog(){modalDialog=modalDialog||document.querySelector(".modal-dialog")}function showModal(modalId,enabledClose){var modal=document.getElementById(modalId),lastFocusedElement=document.activeElement;if(modal.classList.contains("modal")){body.appendChild(modalBackdrop),modalBackdrop.classList.toggle("show",!0),modal.classList.toggle("show",!0),modal.style.display="block",body.classList.toggle("modal-open",!0),!1!==enabledClose&&modal.addEventListener("click",handleModalClick);var storedModalDialog=modalDialogMap[modalId];if(storedModalDialog){modal.innerHTML="",modal.appendChild(storedModalDialog);var videoContainer=storedModalDialog.querySelector(".video-container[data-video-src]");if(videoContainer){var videoElement=document.createElement("video");videoElement.src=videoContainer.dataset.videoSrc,videoElement.controls=!0,videoContainer.appendChild(videoElement)}var iframeContainer=storedModalDialog.querySelector(".iframe-container[data-iframe-src]");if(iframeContainer){var iframeElement=document.createElement("iframe");iframeElement.src=iframeContainer.dataset.iframeSrc,iframeContainer.appendChild(iframeElement)}}modal.setAttribute("tabindex","0"),modal.setAttribute("aria-hidden","false"),modal.setAttribute("role","dialog"),modal.setAttribute("aria-modal","true"),modal.focus();const focusableElements=modal.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),firstFocusableElement=focusableElements[0],lastFocusableElement=focusableElements[focusableElements.length-1];modal.addEventListener("keydown",function(e){"Tab"===e.key&&(e.shiftKey?document.activeElement===firstFocusableElement&&(lastFocusableElement.focus(),e.preventDefault()):document.activeElement===lastFocusableElement&&(firstFocusableElement.focus(),e.preventDefault()))}),modal.dataset.lastFocused=lastFocusedElement.id||lastFocusedElement.dataset.modalTrigger||"unknown"}}function hideModal(modalId){var modal=document.getElementById(modalId),modalDialog=modal.querySelector(".modal-dialog");modalDialogMap[modalId]=modalDialog.cloneNode(!0),modalDialog.querySelectorAll("video").forEach(function(videoElement){videoElement.parentNode.dataset.videoSrc=videoElement.src,videoElement.remove()}),modalDialog.querySelectorAll("iframe").forEach(function(iframeElement){iframeElement.parentNode.dataset.iframeSrc=iframeElement.src,iframeElement.remove()}),modal.classList.toggle("show",!1),modal.style.display="none",modalBackdrop.classList.toggle("show",!1),body.classList.toggle("modal-open",!1),modal.removeEventListener("click",handleModalClick),cacheModalDialog(),modal.setAttribute("tabindex","-1"),modal.setAttribute("aria-hidden","true");const lastFocusedElementId=modal.dataset.lastFocused;if(lastFocusedElementId&&"unknown"!==lastFocusedElementId){const lastFocusedElement=document.getElementById(lastFocusedElementId)||document.querySelector(`[data-modal-trigger="${lastFocusedElementId}"]`);lastFocusedElement&&lastFocusedElement.focus()}}function handleModalClick(e){var target=e.target,modal=e.currentTarget;(target.classList.contains("modal")||"modal"===target.dataset.dismiss)&&hideModal(modal.id)}modalBackdrop.className="modal-backdrop",modalButtons.forEach(function(button){button.addEventListener("click",function(e){e.preventDefault(),handleModalButton(button)}),button.addEventListener("keydown",function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),handleModalButton(button))})})}function handleModalButton(button){(button.dataset.modalTrigger||(button.dataset.modalTrigger=button.id||"modal-trigger-"+Math.random().toString(36).substr(2,9)),"modal"!==button.dataset.dismiss)?showModal(button.getAttribute("data-target").replace("#","")):hideModal(button.closest(".modal").id
1)}function equalHeight(elements,minHeight){let maxHeight=0;for(let i=0;i<elements.length;i++){const elementHeight=elements[i].clientHeight;maxHeight=Math.max(maxHeight,elementHeight)}for(let i=0;i<elements.length;i++)0==minHeight?elements[i].style.height=maxHeight+"px":elements[i].style.minHeight=maxHeight+"px"}const tabLinks=document.querySelectorAll(".nav-tabs .nav-link");tabLinks.forEach(function(tabLink){tabLink.addEventListener("click",function(e){e.preventDefault();const target=e.target.closest(".nav-link");if(!target)return;Array.from(target.closest(".nav-tabs").querySelectorAll(".nav-link")).forEach(function(link){link.classList.remove("active"),link.setAttribute("aria-selected","false")}),target.classList.add("active"),target.setAttribute("aria-selected","true");const tabContentId=target.dataset.tab,tabContents=document.querySelectorAll(`.tab-pane[data-tab="${tabContentId}"]`);tabContents.length&&tabContents.forEach(function(tabContent){const tabContainer=tabContent.closest(".tab-content");Array.from(tabContainer.children).forEach(function(content){Array.from(tabContents).includes(content)||content.classList.remove("show","active")}),tabContent.classList.add("show","active")})})});class Details{constructor(el,settings){this.group=el,this.details=this.group.getElementsByClassName("details"),this.toggles=this.group.getElementsByClassName("details__summary"),this.contents=this.group.getElementsByClassName("details__content"),this.settings=Object.assign({speed:500,one_visible:!0},settings),this.render(),this.group.addEventListener("click",e=>{const target=e.target.classList.contains("details__summary")?e.target:e.target.parentNode;if(target.classList.contains("details__summary")){e.preventDefault();let num=0;for(let i=0;i<this.toggles.length;i++)if(this.toggles[i]===target){num=i;break}target.parentNode.hasAttribute("open")?this.close(num):this.open(num)}})}render(){for(let i=0;i<this.details.length;i++){const detail=this.details[i],toggle=this.toggles[i],content=this.contents[i];detail.style.transitionDuration=this.settings.speed+"ms",detail.hasAttribute("open")?detail.style.height=toggle.offsetHeight+content.offsetHeight+"px":detail.style.height=toggle.offsetHeight+"px"}}open(i){const detail=this.details[i],toggle=this.toggles[i],content=this.contents[i];if(this.settings.one_visible)for(let a=0;a<this.toggles.length;a++)i!==a&&this.close(a);detail.classList.remove("is-closing");const toggle_height=toggle.offsetHeight;detail.setAttribute("open",!0);const content_height=content.offsetHeight;detail.removeAttribute("open"),detail.style.height=toggle_height+content_height+"px",detail.setAttribute("open",!0)}close(i){const detail=this.details[i],toggle=this.toggles[i];detail.classList.add("is-closing");const toggle_height=toggle.offsetHeight;detail.style.height=toggle_height+"px",setTimeout(()=>{detail.classList.contains("is-closing")&&detail.removeAttribute("open"),detail.classList.remove("is-closing")},this.settings.speed)}}function loadHubSpotForms(){let unloadedForms=document.querySelectorAll('.form-container:not([data-loaded]), .form-container[data-loaded="loading"]');function createHubSpotForm(formContainer){if("loading"!==formContainer.getAttribute("data-loaded"))return;console.log("tst");const portalId=formContainer.getAttribute("data-portalid"),target=formContainer.getAttribute("data-target"),formId=formContainer.getAttribute("data-formid");"undefined"!=typeof hbspt&&(hbspt.forms.create({portalId:portalId,formId:formId,target:target}),formContainer.setAttribute("data-loaded","true"),unloadedForms=document.querySelectorAll('.form-container:not([data-loaded="true"])'),0===unloadedForms.length&&(window.removeEventListener("scroll",loadHubSpotForms),console.log("all forms loaded")))}unloadedForms.forEach(formContainer=>{const rect=formContainer.getBoundingClientRect();if(rect.top<window.innerHeight&&rect.bottom>=0&&"loading"!==formContainer.getAttribute("data-loaded"))if(formContainer.setAttribute("data-loaded","loading"),window.hsScriptLoaded)createHubSpotForm(formContainer);else{window.hsScriptLoaded=!0;const hsScript=document.createElement("script");hsScript.async=!0,hsScript.src="//js.hsforms.net/forms/embed/v2.js",hsScript.onload=function(){createHubSpotForm(formContainer)},document.body.appendChild(hsScript)}})}document.querySelectorAll(".sr-video").forEach(container=>{const video=container.querySelector(".responsive-video-file"),playButton=container.querySelector(".sr-play-button");video&&playButton&&(playButton&&!video.hasAttribute("autoplay")||playButton||video.hasAttribute("autoplay")&&video.hasAttribute("controls"))&&(video.hasAttribute("autoplay")||(playButton.style.display="flex"),playButton.addEventListener("click",()=>{video.play(),video.controls=!0,playButton.remove()}))}),window.addEventListener("scroll",loadHubSpotForms),loadHubSpotForms(); 2//# sourceURL=https://6381214.fs1.hubspotusercontent-na1.net/hubfs/6381214/hub_generated/template_assets/1/210290243469/1789126501149/template_interaction.js
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.