1function isTouchDevice(){return!(!("ontouchstart"in window)&&!navigator.maxTouchPoints)}class ProductDescription extends HTMLElement{constructor(){super();const t=this;this.buttonAll=this.querySelectorAll(".js-description-button"),this.buttonAll&&(this.checkCutLines(),this.wrapper=this.querySelector(".js-description-wrapper"),this.wrapperHeight=this.wrapper.offsetHeight,this.rteContent=this.querySelector(".rte"),this.rteContentHeight=this.rteContent.offsetHeight,this.buttonAll.forEach((t=>{t.addEventListener("click",this.toggle.bind(this))})),window.addEventListener("resize",debounce((function(e){t.checkCutLines()}),250)))}toggle(){this.wrapper.classList.toggle("open"),this.buttonAll.forEach((t=>{let e=t.textContent;t.textContent=t.dataset.alternative,t.dataset.alternative=e}))}checkCutLines(){this.querySelector(".rte-cut-lines")&&(this.querySelector(".rte-cut-lines").clientHeight>=this.querySelector(".rte").clientHeight?(this.querySelector(".js-description-button").style.display="none",this.querySelector(".js-description-button").classList.add("hidden")):(this.querySelector(".js-description-button").classList.remove("hidden"),this.querySelector(".js-description-button").style.display="block"))}}customElements.define("product-description",ProductDescription);
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.