${f} ${l}> `}return t}();l.innerHTML=e}}}()})})();let navbarItems=null,mobileNavbar=null,body=null,navBarToggle=null,navbarMenuBackdrop=null,navbarContainerPosition=null;const isiOSDevice=!!navigator.platform.match(/iPhone|iPod|iPad/);let customOffset=80,toggleSubmenuWithClick=!1,allNavImagesLoaded=!1;function loadNavbarItemImages(e){e&&e.hasAttribute(“data-lazyload”)&&”navbarSubmenuChildImages”===e.dataset.lazyload&&(window.loadChildImagesOfElement(e),e.removeAttribute(“data-lazyload”))}function loadAllNavbarImages(t){for(let e=0;ee.classList.add(“js-ems-navbar__menu-item__link–no-transition”))}function toggleNavItem(e,t){var a;e.target.closest(‘[data-js=”ems-navbar-submenu”]’)||e.target.closest(‘[data-js=”item-dropdown”]’)||((a=e.currentTarget.classList.contains(“js-ems-navbar__menu-item__link–active”))||disableTransitionOnSwitchingItems(),navbarItems.forEach(e=>e.classList.remove(“js-ems-navbar__menu-item__link–active”)),navbarContainerPosition.classList.remove(“js-ems-navbar-container–on-top”),navbarContainerPosition.classList.remove(“js-ems-navbar-container–reversed”),navbarMenuBackdrop&&navbarMenuBackdrop.classList.remove(“js-ems-item-navbar–visible”),a||(e.currentTarget.classList.add(“js-ems-navbar__menu-item__link–active”),e.currentTarget?.dataset?.navbar||e.currentTarget?.dataset?.footer||(navbarContainerPosition.classList.add(“js-ems-navbar-container–on-top”),navbarContainerPosition.classList.add(“js-ems-navbar-container–reversed”)),navbarMenuBackdrop&&navbarMenuBackdrop.classList.add(“js-ems-item-navbar–visible”),allNavImagesLoaded)||loadAllNavbarImages(t),setTimeout(()=>{navbarItems.forEach(e=>e.classList.remove(“js-ems-navbar__menu-item__link–no-transition”))},300))}function smoothScroll(e){let t=e;do{if(!(t=t.parentNode))return}while(t.scrollTop+=1,0===t.scrollTop);let a=0;for(;e!==t&&(a+=e.offsetTop,e=e.offsetParent););!function e(t,a,n,r){30{e(t,a,n,r)},10))}(t,t.scrollTop,a,0)}function toggleMobileDropdownItems(e,t){var a=document.querySelectorAll(“[data-mobile-dropdown]”),n=document.querySelector(`[data-mobile-dropdown=”${t}”]`);document.querySelectorAll(“[data-mobile-caret]”).forEach(e=>{e.classList.contains(“js-ems-mobile-submenu__section__icon–rotate”)&&e.classList.remove(“js-ems-mobile-submenu__section__icon–rotate”)}),a.forEach(e=>{e.dataset.mobileDropdown!==t&&e.classList.contains(“js-ems-mobile-submenu__section__dropdown–show”)&&e.classList.remove(“js-ems-mobile-submenu__section__dropdown–show”)}),n&&!n.classList.contains(“js-ems-mobile-submenu__section__dropdown–show”)?(n.classList.add(“js-ems-mobile-submenu__section__dropdown–show”),e&&e.classList.add(“js-ems-mobile-submenu__section__icon–rotate”),window.dispatchEvent(new Event(“resize”)),smoothScroll(n.parentElement),loadNavbarItemImages(n)):(n.classList.remove(“js-ems-mobile-submenu__section__dropdown–show”),e&&e.classList.remove(“js-ems-mobile-submenu__section__icon–rotate”))}function initToggleForMobileNavigation(){var t=document.querySelectorAll(“[data-mobile-nav]”);for(let e=0;e{var t=e.currentTarget.dataset.mobileNav;toggleMobileDropdownItems(e.currentTarget.querySelector(“[data-mobile-caret]”),t)})}function clearInlineStyle(){if(navbarItems&&!toggleSubmenuWithClick)for(let e=0;e{n&&clearTimeout(n),n=setTimeout(()=>t(…e),0{navbarContainerPosition=document.querySelector(‘[data-js=”navbar-container”]’);var e=document.querySelector(“[data-js=’ems-navbar-menu’]”);if(e){if(toggleSubmenuWithClick=e.hasAttribute(“data-ems-navbar-clickable”),navbarItems=document.querySelectorAll(“[data-js=’ems-navbar-item’]”),navbarMenuBackdrop=document.querySelector(‘[data-js=”navbar-backdrop”]’),body=document.body,mobileNavbar=document.querySelector(‘[data-js=”ems-mobile-menu”]’),(navBarToggle=document.querySelector(‘[data-js=”navbar__toggle”]’))&&navBarToggle.addEventListener(“click”,e=>{initToggleForMobileNavigation(),navBarToggle.classList.contains(“js-ems-navbar__toggle–active”)?(body.classList.remove(“js-overflow-hidden”),mobileNavbar.classList.remove(“js-ems-mobile-submenu–active”),navbarContainerPosition.classList.remove(“js-ems-navbar-container–on-top”),navbarContainerPosition.classList.remove(“js-ems-navbar-container–reversed”),e.currentTarget.classList.remove(“js-ems-navbar__toggle–active”),navBarToggle.querySelector(“[data-navbar-toggle-icon]”).innerText=”menu”):(body.classList.add(“js-overflow-hidden”),mobileNavbar.classList.add(“js-ems-mobile-submenu–active”),navbarContainerPosition.classList.add(“js-ems-navbar-container–on-top”),navbarContainerPosition.classList.add(“js-ems-navbar-container–reversed”),e.currentTarget.classList.add(“js-ems-navbar__toggle–active”),navBarToggle.querySelector(“[data-navbar-toggle-icon]”).innerText=”close”,isiOSDevice&&(customOffset=navbarContainerPosition&&navbarContainerPosition.classList.contains(“js-ems-navbar-container–fixed”)?112:176,mobileNavbar.style.maxHeight=window.innerHeight-customOffset+”px”))}),navbarMenuBackdrop&&navbarMenuBackdrop.addEventListener(“click”,()=>{body.classList.remove(“js-overflow-hidden”),navbarMenuBackdrop.classList.remove(“js-ems-item-navbar–visible”),mobileNavbar.classList.remove(“js-ems-mobile-submenu–active”),navbarContainerPosition.classList.remove(“js-ems-navbar-container–on-top”),navbarContainerPosition.classList.remove(“js-ems-navbar-container–reversed”),navBarToggle&&(navBarToggle.classList.remove(“js-ems-navbar__toggle–active”),navBarToggle.querySelector(“[data-navbar-toggle-icon]”).innerText=”menu”),navbarItems.forEach(e=>e.classList.remove(“js-ems-navbar__menu-item__link–active”))}),toggleSubmenuWithClick){const a=e.querySelectorAll(‘[data-js=”ems-navbar-submenu”]’);for(let e=0;e{toggleNavItem(e,a)})}}}else document.querySelector(‘[data-js=”site-main”]’).classList.remove(“js-site-main–navbar-fixed”)}),window.addEventListener(“resize”,navDebounce(()=>{clearInlineStyle(),1080<window.innerWidth&&mobileNavbar&&mobileNavbar.classList.contains("js-ems-mobile-submenu–active")&&(mobileNavbar.classList.remove("js-ems-mobile-submenu–active"),navbarContainerPosition.classList.remove("js-ems-navbar-container–on-top"),navbarContainerPosition.classList.remove("js-ems-navbar-container–reversed"),body.classList.remove("js-overflow-hidden"),navbarMenuBackdrop&&navbarMenuBackdrop.classList.remove("js-ems-navbar__menu__backdrop–active"),navBarToggle.classList.remove("js-ems-navbar__toggle–active"),navBarToggle.querySelector("[data-navbar-toggle-icon]").innerText="menu"),isiOSDevice&&(customOffset=navbarContainerPosition&&navbarContainerPosition.classList.contains("js-ems-navbar-container–fixed")?80:144,mobileNavbar.style.maxHeight=window.innerHeight-customOffset+"px")},500));const pnfConstants={source:null,origin:null,currentLang:window.currentLang};async function makeRequest(e,t="GET"){try{var a=await fetch(e,{method:t});if(a.ok)return await a.json();throw new Error("Network response was not ok.")}catch(e){return console.error("There was a problem with your fetch operation:",e),null}}function getIframeBySrc(t){if(t&&""!==t){var a=document.querySelectorAll(".ems-pnf-wrapper iframe");for(let e=0;e {e&&a&&(1=a||(e.style.height=a+”px”))})}function getContentfulFormId(e){return(e=getIframeBySrc(e))?e.dataset.formId:null}async function getEmailDomainLimitationData(e){if(e){const t=getContentfulFormId(e);try{return(await makeRequest(this.window.location.origin+”/public-data/pnfFormValidationList.json”)).filter(e=>e.formId===t)}catch(e){console.log(“email domain validations loading failed”,e)}}return null}function getTrackingsData(e){var t=e?.getAttribute(“data-tracking-action”),a=e?.getAttribute(“data-tracking-label”),e=e?.getAttribute(“data-tracking-asset”);return{…t&&{category:t},…a&&{label:a},…e&&{asset:e}}}function getLangHFieldValue(){return document.querySelector(“html”).getAttribute(“lang”)}function postCIDAndGCLID(){var e=window.getCookie(“_ga”).substring(6),t=localStorage.getItem(“gclid”)?JSON.parse(localStorage.getItem(“gclid”)).value:””;pnfConstants.source.postMessage({func:”setCIDAndGCLID”,cid:e,gclid:t},pnfConstants.origin)}function getCIDAndGCLIDValues(){window.pageLoaded(postCIDAndGCLID),window.cOTLoaded(()=>window.OneTrust.OnConsentChanged(postCIDAndGCLID))}function sendGAEvents(e){e&&window.sendEvent({…e,label:window.formatGALabel(window.filterGALabel(e?.label))})}function onPnfIframeEnter(e,a){e.forEach(e=>{var t;.4{e.getAttribute(“data-initialized-io”)||(e.setAttribute(“data-touchpoint-view”,t),e.setAttribute(“data-initialized-io”,”true”),a.observe(e))})}}function showSearchContainer(e,t,a){e.innerHTML=””,a.classList.add(“js-ems-search-show”),document.body.classList.add(“js-overflow-hidden”),t.focus(),$import(“/built/js/global_search.js”)}function closeSearchContainer(e){e.classList.remove(“js-ems-search-show”),document.body.classList.remove(“js-overflow-hidden”)}window.addEventListener(“message”,async function(e){if(“https://www2.celonis.com”===e.origin&&e.data&&e.data.func){var t=e.data.func,a=(pnfConstants.origin=e.origin,pnfConstants.source=e.source,pnfConstants.currentLang=window.currentLang,window.getCUtmCookies()),n=getIframeBySrc(e.data.iframeSrc);switch(t){case”initPnf”:var r=e.data.keysToTranslate,o=getAllIframesBySrc(e.data.iframeSrc),s=(resizeIframes(o,e.data.formHeight),getCIDAndGCLIDValues(),await getEmailDomainLimitationData(e.data.iframeSrc)),r=filterStaticTranslation(await makeRequest(this.window.location.origin+”/public-data/staticTranslations.json”),r);e.source.postMessage({func:”initPnf”,utmData:a,emailDomainValidations:s,lang:getLangHFieldValue(),referralDomain:window.getCookie(“referral_domain”),matchtype:window.getCookie(“matchtype”),staticTranslations:r,customTrackingData:getTrackingsData(n),currentLang:pnfConstants.currentLang,pagePath:window.location.pathname,baseTheme:n?.getAttribute(“data-theme”),redirectUrl:n?.dataset?.formRedirect},e.origin),setTouchpointViewEvent(o,e.data.touchpointView);break;case”removeHideClass”:{const o=getAllIframesBySrc(e.data.iframeSrc);o&&o.forEach(e=>{e.classList.remove(“visibilityhidden”)});break}case”sendGAEvents”:sendGAEvents(e?.data?.eventsData);break;case”getOrigin”:e.source.postMessage({func:”getOrigin”},e.origin);break;case”getThankYouTranslations”:getThankYouTranslations(e?.data?.keysToTranslate,e);break;case”resizeHeight”:{const o=getAllIframesBySrc(e.data.iframeSrc);resizeIframes(o,e.data.formHeight);break}case”formRedirect”:redirectToUrl(e?.data?.redirectUrl);break;case”postSubmittedFormSrc”:{const o=getAllIframesBySrc(e?.data?.iframeSrc);(s=o&&o.find(e=>e.hasAttribute(“data-gating-modal”)))&&window.setSubmittedFormInLocalStorage(s.dataset.gatingModal)}}}},!1),document.addEventListener(“DOMContentLoaded”,()=>{const a=document.querySelector(“[data-search]”);if(a)try{var e=a.querySelector(“[data-search-close]”),n=a.querySelector(“[data-search-wrapper]”);const r=a.querySelector(“[data-load-indicator]”),o=a.querySelector(“[data-search-box]”);document.querySelector(“[data-search-icon]”).addEventListener(“click”,()=>{showSearchContainer(r,o,a)}),a.addEventListener(“click”,()=>closeSearchContainer(a)),e.addEventListener(“click”,()=>closeSearchContainer(a)),n.addEventListener(“click”,e=>{e.stopPropagation()});let t=[];document.onkeydown=e=>{27===e.key&&a.classList.contains(“js-ems-search-show”)&&closeSearchContainer(a),91!==e.key&&17!==e.key&&75!==e.key&&18!==e.key||t.push(e.key),2===t.length&&(“MacIntel”===navigator.platform?t.includes(91)&&t.includes(75)&&showSearchContainer(r,o,a):(t.includes(17)||t.includes(18))&&t.includes(75)&&showSearchContainer(r,o,a))},document.onkeyup=e=>{t=[]}}catch(e){console.error(“Error form trying to init search”,e)}});let formInitialized=!1;const isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),isIOS=/iphone|ipod|ipad/.test(navigator.userAgent.toLowerCase()),isIE=!!document.documentMode,isEdge=!isIE&&!!window.StyleMedia,isChrome=!(!window.chrome||!window.chrome.webstore&&!window.chrome.runtime),isFirefox=”undefined”!=typeof InstallTrigger,imageSupport={webp:!0,avif:!1},setHTMLClass=(avifSupport(),isWebpSupported(),e=>{e.className=e.className.replace(/bno-jsb/,”js”)});function checkIsIE10(){10===(navigator&&(e=navigator.userAgent,null!==new RegExp(“MSIE ([0-9]{1,}[.0-9]{0,})”).exec(e))?parseFloat(RegExp.$1):-1)&&document.getElementsByTagName(“html”)[0].classList.add(“js-ie-ten”);var e=!!window.MSInputMethodContext&&!!document.documentMode;e&&document.getElementsByTagName(“html”)[0].classList.add(“js-ie-eleven”)}function isIE11(){return!!window.MSInputMethodContext&&!!document.documentMode}function initForms(){var t=document.querySelectorAll(“[data-form]”);if(t){const r=new IntersectionObserver(function(t){for(let e=0;e<t.length;e+=1)0{var t=a.querySelector(`[data-utm=”${e}”]`);t&&(t.value=n[e]||””)})}function getCUtmKeys(){return[“source”,”medium”,”campaign”,”term”,”content”]}function getCUtmCookies(){var e=getCookie(“utm”);let t=null;try{e&&(t=JSON.parse(decodeURI(e)))}catch(e){console.log(e)}return t}function fillPVisitorId(e){var t=e.querySelector(‘[data-js=”p_visitor_id”]’),e=e.querySelector(‘[data-js=”p_visitor_hash”]’),a=getPVisitorInfo();a&&(t&&(t.value=a.id),e)&&(e.value=a.hash)}function getPVisitorInfo(){var t=document.cookie.split(“;”),a=[],n={id:””,hash:””};for(let e=0;e<t.length;e+=1){var r=t[e].trim();r.startsWith("visitor_id")&&a.push(r)}if(0<a.length){let t=a[0];t=(-1<(t=t.split("visitor_id"))[1].indexOf("-hash=")?t[1].split("-hash="):t[1].split("="))[0];for(let e=0;e<a.length;e+=1)""===n.id&&a[e].startsWith(`visitor_id${t}=`)&&(n.id=a[e]),""===n.hash&&a[e].startsWith(`visitor_id${t}-hash=`)&&(n.hash=a[e])}return""!==n.id&&""!==n.hash?n:null}function fillUtmFieldsToAllForms(){var t=document.querySelectorAll("[data-form]");if(t)for(let e=0;e<t.length;e+=1)fillUtmFields(t[e]),fillReferrerLink(form[e])}function fillMatchType(e){var e=e.querySelector('[data-match-type="matchType"]'),t=getCookie("matchtype");e&&t&&(e.value=t)}function setUtmCookieStorage(){var a,e=document.location.href,n=e.substring(e.indexOf("?")+1).split("&");let r={source:"",medium:"",campaign:"",term:"",content:""},o=((e=getCUtmCookies())&&(r=e),!1);for(let t=0;ta.includes(e));t=0<a.trim().length?-1a.includes(e)),e=-1<o?r[n[o]]:"referral","referral"):e="direct",e&&t&&setCCookie("utm",JSON.stringify({source:e,medium:t,campaign:"",term:"",content:""}))}}function setCCookie(e,t){let a="; path=/;";"master"===envBranchName&&(a=";domain=celonis.com"+a),document.cookie=e+"="+t+a}function getParameterByName(e){return e=e.replace(/[[]/,"\[").replace(/[]]/,"\]"),null===(e=new RegExp(`[\?&]${e}=([^&#]*)`).exec(location.search))?"":decodeURIComponent(e[1].replace(/+/g," "))}function getClientTrackingId(e){isSpecificCookieAccepted("marketing")&&(e=e.querySelector('[data-js="cId"]'))&&(""!==e.value||null!==e.value)&&(e.value=getCookie("_ga").substring(6))}function sendEventToGoogleAnalytics(e){var t;"undefined"!=typeof ga&&"function"==typeof ga.getAll&&(t=ga.getAll()[0])&&(t.send("event","Form_Submissions","new_form_submission",e),console.log("eventLabel sent is:",e))}function gaPreSendEvent(e){var t;"FORM"===e.tagName&&(t={event:"form_submission",category:"other",label:"submit"},e.dataset.trackingLabel&&(t.label=e.dataset.trackingLabel),e.dataset.trackingAction&&(t.category=e.dataset.trackingAction),sendEvent(t))}function handleVidyardMessage(e){"https://play.vidyard.com"===e.origin&&(e=JSON.parse(e.data)).submitted&&e.video_title&&sendEventToGoogleAnalytics(e.video_title)}function addIgnorePreRenderMeta(){var e=document.createElement("meta");document.querySelector('meta[name="prerender-status-code"]')||(e.setAttribute("name","prerender-status-code"),e.setAttribute("content","404"),document.getElementsByTagName("head")[0].appendChild(e))}function isSpecificCookieAccepted(e){var t=[];let a=null;switch(e){case"performance":a="C0002";break;case"functional":a="C0003";break;case"marketing":a="C0004";break;case"socialMedia":a="C0005";break;default:a="C0001"}return!!(a&&window.dataLayer&&0e(),{once:!0,passive:!0,capture:!0})}function filterGALabel(t){let a=””;return t&&[“(“,”!”,”.”,”&”,”%”,”$”,”#”,”)”].forEach(e=>{a=t.replaceAll(e,””)}),a}function getAditionalParams(e){if(!e)return{};const t=[“asset”,”inputs_filled”,”email”,”phone”,”city”,”country”,”region”,”street”,”postcode”,”name”,”surname”];return Object.fromEntries(Object.entries(e).filter(([e])=>t.includes(e)))}function sendEvent(e){window.dataLayer=window.dataLayer||[],e={event:e?.event,category:e?.category,label:filterGALabel(e?.label),ga_version:”ga4″,…getAditionalParams(e)},dataLayer.push(e)}function getVidyardVideoById(t){var a=window.VidyardV4.players;for(let e=0;e {var e=document.querySelectorAll(“[name=’gclid’]”);if(e){const t=localStorage.getItem(“gclid”)?JSON.parse(localStorage.getItem(“gclid”)).value:””;e.forEach(e=>{t&&(e.value=t)})}})}function defaultFieldValue(e){return e?e[currentLang]||e[“en-US”]:null}function loadOneTrust(e){var t=document,a=t.getElementsByTagName(“script”)[0];(t=t.createElement(“script”)).defer=!0,t.type=”text/javascript”,t.charset=”UTF-8″,t.src=”https://cdn.cookielaw.org/scripttemplates/otSDKStub.js”,t.setAttribute(“data-document-language”,!0),t.setAttribute(“data-domain-script”,e),a.parentNode.insertBefore(t,a);const n=document.querySelectorAll(“[data-form]”);setTimeout(()=>{for(let e=0;e{setUtmCookieStorage(),setCookieFromQueryParam(“matchtype”),setReferrerCookieStorage(),checkIsIE10(),initForms(),lazyLoadImages(),hideChatWidget(),setGCLIDValue();const n=document.querySelectorAll(‘[data-js=”dropdown”]’);if(n)for(let e=0;e{var t=e.currentTarget;for(let e=0;e<n.length;e+=1){var a=n[e];a!==t&&a.classList.remove("js-dropdown–active")}e.currentTarget.classList.toggle("js-dropdown–active")});const t=document.querySelectorAll('[data-js="footer-nav"]');if(t)for(let e=0;e{if((e=e.currentTarget).classList.contains("js-footer-nav–active"))e.classList.remove("js-footer-nav–active");else{for(let e=0;e<t.length;e+=1)t[e].classList.remove("js-footer-nav–active");e.classList.add("js-footer-nav–active")}});var e=navigator.userAgent.toLowerCase();if(-1===e.indexOf("safari")||-1<e.indexOf("chrome")||document.getElementsByTagName("body")[0].classList.add("js-safari"),isIE11()){var a=document.querySelectorAll("[data-img-responsive-ie]");if(a&&0!==a.length)for(let e=0;e {if(t.href){var a=new URL(t.href);let e=””;var n=window.location.pathname.replace(//de/|/jp/|/fr/|/es/|/pt/|/it/|/ru//,”/”);”ja”===t.hreflang?e=”/jp”:”en”!==t.hreflang&&(e=”/”+t.hreflang),t.href=a.origin+e+n+location.search+location.hash}})}catch(e){console.log(“Cannot update hreflang dynamically!”)}}function addQueryParamToUrlString(t,a){return t&&a&&”object”==typeof a&&(t=new URL(t),Object.keys(a).forEach(e=>{t.searchParams.set(e,a[e])})),t.href}function escapeQuotes(e){if(e){const t={‘”‘:”””,”‘”:”'”};return e.replace(/[“‘]/gu,e=>t[e]||e)}return e}function OptanonWrapper(){addOTLoadedCEvent()}function addOTLoadedCEvent(){document.dispatchEvent(new CustomEvent(“c_ot_loaded”,{bubbles:!0}))}function cOTLoaded(e){window.OneTrust?e():window.addEventListener(“c_ot_loaded”,()=>{e()})}function materialIconsLoaded(){document.body.classList.add(“js-material-icons-loaded”)}function scroll(){var t=this.dataset.target,a=document.querySelector(`[data-target-el=”${t}”]`);if(a=null===(a=null===a?document.querySelector(`[data-js=${t}]`):a)?document.querySelector(`[data-target-${t}]`):a){t=a.getBoundingClientRect().top;let e=0;a.dataset.targetOffset&&(e=isNaN(parseInt(a.dataset.targetOffset))?0:parseInt(a.dataset.targetOffset)),animateScroll(t-(topBannerHeight()+window.navbarHeight+e))}}function animateScroll(t){t=document.body.scrollHeight-window.innerHeight>t+document.documentElement.scrollTop?t:document.body.scrollHeight-window.innerHeight;const a=getBodyScrollTop(),n=Math.PI/60;let r=0;requestAnimationFrame(function e(){r<60&&(requestAnimationFrame(e),r+=1,window.scrollTo(0,a+.25*t*(1-Math.cos(n*r))**2))})}function topBannerHeight(){var e=document.querySelector("[data-js=top-banner]");return e&&e.classList.contains("js-top-banner–visible")?e.offsetHeight:0}function getBodyScrollTop(){return(document.scrollingElement||document.documentElement).scrollTop}function initScroll(){var t=document.querySelectorAll("[data-target]");if(t)for(let e=0;e<t.length;e+=1)t[e].onclick=scroll}function prettyNavItemTitle(e){return capitalize(e=(e=(e=(e="/"===(e="/"===(e=-1<e.indexOf("?")?e.split("?")[0]:e)[0]?e.substr(1):e)[e.length-1]?e.slice(0,-1):e).split("/"))[1]||e[0]).replace(/-/gi," "))}function capitalize(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}function SlideIn(e){let r=null,a=null,t;function o(e,t){e.classList.remove(s(e)),a&&a(t,e),document.removeEventListener("keydown",i)}function s(e){return e.dataset.activeClass||"js-ems-section__slide-in–active"}function i(e){27===e.keyCode&&window.modalWrapper&&window.modalWrapperId&&o(window.modalWrapper,window.modalWrapperId)}if(r=e.onShowCallback,a=e.onHideCallback,t=e.wrappers){var n=t;for(let e=0;e<n.length;e+=1){var l=n[e],c=!!l&&l.dataset.slideInWrapper;c&&(function(a,n){var t=document.querySelectorAll(`[data-slide-in-show="${n}"]`);if(t.length)for(let e=0;e{var t;e.preventDefault(),e=n,(t=a).classList.add(s(t)),r&&r(e,t),e=e,window.modalWrapper=t,window.modalWrapperId=e,document.addEventListener("keydown",i,!1)})}(l,c),function(t,a){var n=document.querySelectorAll(`[data-slide-in-hide="${a}"]`);if(n.length)for(let e=0;e{o(t,a)})}(l,c))}}}function initImagesSlideIn(){new SlideIn({wrappers:document.querySelectorAll("[data-slide-in-image]"),onShowCallback:onShow,onHideCallback:onHide})}function onShow(e){if(document.body.classList.add("js-overflow-hidden"),e=document.querySelector(`[data-slide-in-wrapper="${e}"]`)){const t=e.querySelector("[data-lg-img]");if(t){const a=t.querySelector("img"),n=t.querySelectorAll("source"),r=t.dataset.lgAvifsrcset,o=t.dataset.lgWebpsrcset,s=t.dataset.lgSrcset,i=(e=t.dataset.lgSrc,2<n.length?1:0);if(n&&a&&1<n.length){const l=new Image;l.src=e,2{a.setAttribute("src",l.src),1<n.length&&(2<n.length&&n[0].setAttribute("srcset",r),n[i].setAttribute("srcset",o),n[n.length-1].setAttribute("srcset",s)),t.classList.remove("js-ems-section__slide-in__full-size-image–loading"),t.classList.add("js-ems-section__slide-in__full-size-image–loaded"),t.removeAttribute("data-lg-img"),t.removeAttribute("data-lg-src"),t.removeAttribute("data-lg-avifsrcset"),t.removeAttribute("data-lg-webpsrcset"),t.removeAttribute("data-lg-srcset")},{once:!0,passive:!0,capture:!0}),l.onerror=function(){t.classList.remove("js-ems-section__slide-in__full-size-image–loading"),t.removeAttribute("data-lg-img"),t.removeAttribute("data-lg-src"),t.removeAttribute("data-lg-webpsrcset"),t.removeAttribute("data-lg-srcset")}}}}}function onHide(e){document.body.classList.remove("js-overflow-hidden")}function SlideBtn(r,o,e){const s={left:37,up:38,right:39,down:40,enter:13,space:32},i={37:-1,38:-1,39:1,40:1};let l=null,c=null,d=null,u=null,m=!1,g=!1,f="",t=(-1===o&&(o=!0),!0),a=n(),v=!1,p=null;const b=e.getAttribute("aria-orientation");function h(){var e;if(!(m=l.dataset.isOpen?"true"===l.dataset.isOpen:m)||o){if(m)l.style.height="0px",c&&(c.style.display="none");else{if(g){var t=document.querySelectorAll(`[data-close-others="${f}"]`),a=document.querySelectorAll(`[data-hide-related-items="${f}"]`);if(t)for(let e=0;e<t.length;e+=1)t[e].style.height="0px",t[e].dataset.isOpen=!1,"true"===t[e].dataset.slideAutoHeight&&(t[e].style.display="none");if(a)for(let e=0;e<a.length;e+=1)a[e].style.display="none";var n=document.querySelectorAll(`[data-close-others-arrows="${f}"]`);if(n)for(let e=0;e{for(let e=0;e{l.style.height=getAbsoluteHeight(d)+"px",v=!1})),"true"===l.dataset.slideAutoHeight&&(l.style.height="auto",l.style.display="block"),c&&(c.style.display="block")}m=!m,l.dataset.isOpen&&(l.dataset.isOpen=m),u&&u.classList.toggle("js-ems-slide__arrow–rotate"),r&&(r.classList.toggle("js-ems-tabs__item–active"),r.setAttribute("tabindex","0"),r.setAttribute("aria-selected","true")),r.dataset.closedText&&r.dataset.openedText&&(e=r.querySelector("[data-text]"))&&(m?e.innerText=r.dataset.closedText:e.innerText=r.dataset.openedText)}}function n(){return window.innerWidth{switch(t.keyCode){case s.left:case s.right:case s.up:case s.down:{var a=t;let e=!1;var n=a.keyCode;1
{var e=n();o=e?a=!0:(a=!1,t)},100)}}function getAbsoluteHeight(e){e=”string”==typeof e?document.querySelector(e):e;var t=window.getComputedStyle(e),t=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return Math.ceil(e.scrollHeight+t)}function initSlide(e){var n=document.querySelectorAll(`[data-slide-parent=”${e}”]`),r=[];if(n)for(let a=0;a<n.length;a+=1){let t=-1;n[a].dataset.minimizeLastitem&&(t=!("false"===n[a].dataset.minimizeLastitem));var o=n[a].querySelectorAll("[data-slide-target]");if(o)for(let e=0;e<o.length;e+=1)r.push(new SlideBtn(o[e],t,n[a]))}trackResize(n,r)}function getOrientation(){return window.innerWidth{if(!e){var t=[];if(i)for(let e=0;e<i.length;e+=1){var a=i[e].querySelectorAll("[data-slide-target]");if(a)for(let e=0;e<a.length;e+=1){var n=document.querySelector(`[data-slide-${a[e].dataset.slideTarget}]`);(n=null===n?document.querySelector(`[data-slide="${a[e].dataset.slideTarget}"]`):n)&&(n.dataset.closeOthers&&!t.includes(n.dataset.closeOthers)&&t.push(n.dataset.closeOthers),"true"===n.dataset.isOpen)&&(n.style.height=n.firstElementChild.scrollHeight+"px")}}if(l!==getOrientation()){l=getOrientation();for(let e=0;e<t.length;e+=1){var r=t[e],o=document.querySelectorAll(`[data-close-others="${r}"][data-default-active]`);if(990{for(let e=0;et+document.documentElement.scrollTop?t:document.body.scrollHeight-window.innerHeight;const a=getBodyScrollTop(),n=Math.PI/60;let r=0;requestAnimationFrame(function e(){r{materialIconsLoaded()}).catch(e=>{console.error(“Failed to load Material Icons:”,e)})}),document.addEventListener(“DOMContentLoaded”,()=>{var e=document.querySelector(“[data-js=’breadcrumb’]”);if(e){var t,a,n,r,o=e.querySelector(“[data-nav-item]”),s=document.referrer;if(s){try{let e=new URL(s).pathname;if(0===(e=e.replace(//de|/jp|/fr|/es|/pt|/it|/ru/,””)).indexOf(“/resources/value-calculator”))return!1}catch(e){console.log(e)}null!==new RegExp(`^(?:https?:\/\/|http?:\/\/)?(${location.host})/(resources/.*|resources)$`).exec(s)&&((s=s.split(“/resources”))[1]&&”/”!==s[1]&&(o.classList.remove(“js-ems-droplayer__nav__item–hidden”),t=o.querySelector(“a”))&&(n=-1{var t=document.querySelectorAll(“[data-back-btn]”),a=document.referrer;for(let e=0;e{initScroll()},!1),domContentLoaded(initImagesSlideIn),domContentLoaded(()=>{initSlide(“tc-expandable”)})]]>