1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($,Drupal){Drupal.behaviors.login={attach:function(context){('use strict');const url=new URL(window.location.href);if(url.searchParams.get('login')&&drupalSettings.user.uid===0){document.cookie='logged_in=true; path=/;';const lang=drupalSettings.path.pathPrefix;const loginPage=new URL(`${window.location.origin}/${lang}mo-oauth-client/user/login/azure-b2c`);window.location.replace(loginPage);}}};})(jQuery,Drupal);; 3Drupal.behaviors.mainMenu={attach:function(e){"use strict";const n=document.getElementById("toggle-expand"),t=document.getElementById("main-nav"),s=document.getElementsByClassName("header")[0];if(t){const e=t.getElementsByClassName("expand-sub");n.addEventListener("click",(e)=>{n.classList.toggle("toggle-expand--is-open"),t.classList.toggle("main-nav--open"),s.classList.toggle("main-nav--is-open"),document.body.classList.toggle("main-menu--is-open"),e.preventDefault();}),window.addEventListener("resize",(e)=>{window.innerWidth>=960&&(n.classList.remove("toggle-expand--is-open"),t.classList.remove("main-nav--open"),s.classList.remove("main-nav--is-open"),document.body.classList.remove("main-menu--is-open"),document.querySelectorAll(".hide").forEach((e)=>{e.classList.remove("hide");}));});for(let n=0;n<e.length;n++)e[n].addEventListener("click",(e)=>{const n=e.currentTarget,t=n.parentElement,s=n.nextElementSibling,l=t.parentElement;n.classList.toggle("expand-sub--open"),s.classList.toggle("main-menu--sub--open"),t.classList.toggle("main-menu__item--expanded"),a(n,l),i(s,t);});const i=(e,n)=>{const t=e.children;if(window.innerWidth<=960){const s=document.querySelector(".header").offsetHeight;let i=n.querySelector(".main-menu__link").offsetHeight+s;for(let e=0;e<t.length;e++)i+=t[e].offsetHeight;e.classList.contains("main-menu--sub--open")?i>window.innerHeight?e.style.height=i+60+"px":e.style.height="100vh":e.style.height="";}},a=(n,t)=>{for(let s=0;s<e.length;s++){const i=e[s],a=i.parentElement,l=a.parentElement,o=a.nextElementSibling;n!=i?l===t&&a.classList.toggle("hide"):o&&o.classList.contains("main-menu--sub-2")&&o.classList.contains("main-menu--sub--open")&&a.classList.toggle("hide");}};}}};; 4!function(){var a;a=jQuery,Drupal.behaviors.overlay_liftup={attach:function(t){"use strict";a(".c-overlay-liftup__arrow").on("click touch",function(){const t=a(this).closest(".c-overlay-liftup");a(t).hasClass("active")?a(t).removeClass("active"):a(t).addClass("active");});}};}();; 5(function($,Drupal){Drupal.behaviors.rentle_links={attach:function(context){('use strict');let rentleLinks=[];$('a').each(function(){if(this.href.includes('rentle.store'))rentleLinks.push(this);});if(rentleLinks.length===0)return;updateRentleLinks(rentleLinks);$('body').on('click','.coi-consent-banner__agree-button, .coi-consent-banner__decline-button, .bottom-bar__update-consent',function(){updateRentleLinks(rentleLinks);});}};})(jQuery,Drupal);function updateRentleLinks(rentleLinks){if(!CookieInformation)return;const {consents_approved,consents_denied}=JSON.parse(CookieInformation._getCookieValue('CookieInformationConsent'));if(!consents_approved||!consents_denied)return;let cookieParams=[];if(consents_denied.length===0&&consents_approved.length===5)cookieParams.push('true');else{const approvedCookies=Object.values(consents_approved);if(approvedCookies.includes('cookie_cat_statistic'))cookieParams.push('sta');if(approvedCookies.includes('cookie_cat_marketing'))cookieParams.push('mar');if(approvedCookies.includes('cookie_cat_functional'))cookieParams.push('pre');if(cookieParams.length===0)cookieParams.push('false');}let cookieParamString=cookieParams.join(',');rentleLinks.forEach((link)=>{if(!link.href.includes('?'))link.href=link.href+'?cookies='+cookieParamString;else if(link.href.includes('cookies=')){const splitLink=link.href.split('?');const queryParams=new URLSearchParams(splitLink[1]);queryParams.set('cookies',cookieParamString);link.href=splitLink[0]+'?'+queryParams.toString();}else link.href=link.href+'&cookies='+cookieParamString;});};
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.