1function number_format(number,decimals,dec_point,thousands_sep){number=(number+"").replace(/[^0-9+\-Ee.]/g,"");let n=isFinite(+number)?+number:0,prec=isFinite(+decimals)?Math.abs(decimals):0,sep=void 0===thousands_sep?",":thousands_sep,dec=void 0===dec_point?".":dec_point,s="",toFixedFix=function(n,prec){let k=Math.pow(10,prec);return""+Math.round(n*k)/k};return s=(prec?toFixedFix(n,prec):""+Math.round(n)).split("."),s[0].length>3&&(s[0]=s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,sep)),(s[1]||"").length<prec&&(s[1]=s[1]||"",s[1]+=new Array(prec-s[1].length+1).join("0")),s.join(dec)}function createModal(id,title,text,orderBtns=!1){const modal=document.createElement("div");modal.classList.add("modal"),modal.id=id;const modalDialog=document.createElement("div");modalDialog.classList.add("modal-dialog"),modal.appendChild(modalDialog);const modalContent=document.createElement("div");modalContent.classList.add("modal-content"),modalDialog.appendChild(modalContent);const modalHeader=document.createElement("div");modalHeader.classList.add("modal-header"),modalContent.appendChild(modalHeader);const modalTitle=document.createElement("h3");modalTitle.classList.add("modal-title"),modalHeader.innerText=title,modalHeader.appendChild(modalTitle);const modalCloseBtn=document.createElement("button");modalCloseBtn.classList.add("btn-close"),modalCloseBtn.setAttribute("data-bs-dismiss","modal"),modalHeader.appendChild(modalCloseBtn);const modalBody=document.createElement("div");modalBody.classList.add("modal-body"),modalContent.appendChild(modalBody);const modalP=document.createElement("p");if(modalP.innerText=text,modalBody.appendChild(modalP),orderBtns){const modalBtnContinue=document.createElement("button");modalBtnContinue.classList.add("btn","btn-primary","me-3","mb-3"),modalBtnContinue.setAttribute("data-bs-dismiss","modal"),modalBtnContinue.innerText="Continue shopping","nl"==langPref&&(modalBtnContinue.innerText="Verder kijken"),modalBody.appendChild(modalBtnContinue);const modalBtnContinueI=document.createElement("i");modalBtnContinueI.classList.add("fa","fa-chevron-right","me-3"),modalBtnContinue.prepend(modalBtnContinueI);const modalBtnOrder=document.createElement("button");modalBtnOrder.classList.add("btn","btn-success","mb-3");let link="/en/order";"nl"==langPref&&(link="/winkelwagen"),modalBtnOrder.setAttribute("onclick","window.location.href='"+link+"'"),modalBtnOrder.innerText="Go to order","nl"==langPref&&(modalBtnOrder.innerText="Naar bestellen"),modalBody.appendChild(modalBtnOrder);const modalBtnOrderI=document.createElement("i");modalBtnOrderI.classList.add("fas","fa-shopping-basket","me-3"),modalBtnOrder.prepend(modalBtnOrderI)}document.body.appendChild(modal)}let ajax={x:function(){if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;let xhr,versions=["MSXML2.XmlHttp.6.0","MSXML2.XmlHttp.5.0","MSXML2.XmlHttp.4.0","MSXML2.XmlHttp.3.0","MSXML2.XmlHttp.2.0","Microsoft.XmlHttp"];for(let i=0;i<versions.length;i++)try{xhr=new ActiveXObject(versions[i]);break}catch(e){}return xhr},send:function(url,callback,method,data,async){void 0===async&&(async=!0);let x=ajax.x();x.open(method,url,async),x.onreadystatechange=function(){4==x.readyState&&callback(x.responseText)},"POST"==method&&x.setRequestHeader("Content-type","application/x-www-form-urlencoded"),x.send(data)},get:function(url,data,callback,async){let query=[];for(let key in data)query.push(encodeURIComponent(key)+"="+encodeURIComponent(data[key]));ajax.send(url+(query.length?"?"+query.join("&"):""),callback,"GET",null,async)},post:function(url,data,callback,async){let query=[];for(let key in data)query.push(encodeURIComponent(key)+"="+encodeURIComponent(data[key]));ajax.send(url,callback,"POST",query.join("&"),async)}};$(window).on("load",function(){var tooltipTriggerList=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));tooltipTriggerList.map(function(tooltipTriggerEl){return new bootstrap.Tooltip(tooltipTriggerEl,{html:!0})});let productItems=document.querySelectorAll(".productOverzicht #productCarousel .carousel-item");if(productItems){let minPerSlide;minPerSlide=document.body.clientWidth<=1200?2:3,productItems.forEac
1h(el=>{let next=el.nextElementSibling;for(var i=1;i<minPerSlide;i++)if(!next&&productItems.length>minPerSlide&&(next=productItems[0]),next){let cloneChild=next.cloneNode(!0);el.appendChild(cloneChild.children[0]),next=next.nextElementSibling}})}let productItems2=document.querySelectorAll(".productOverzicht #productCarousel2 .carousel-item");if(productItems2){let minPerSlide;minPerSlide=document.body.clientWidth<=1200?2:3,productItems2.forEach(el=>{let next=el.nextElementSibling;for(var i=1;i<minPerSlide;i++)if(!next&&productItems2.length>minPerSlide&&(next=productItems2[0]),next){let cloneChild=next.cloneNode(!0);el.appendChild(cloneChild.children[0]),next=next.nextElementSibling}})}let items=document.querySelectorAll(".productDetail .carousel .carousel-item");items&&items.forEach(el=>{const minPerSlide=3;let next=el.nextElementSibling;for(var i=1;i<minPerSlide;i++){next||(next=items[0]);let cloneChild=next.cloneNode(!0);el.appendChild(cloneChild.children[0]),next=next.nextElementSibling}el.addEventListener("click",event=>{if(event.target.src){const headPhoto=document.querySelector(".productDetail .zoom img");headPhoto.parentElement.href=event.target.src,headPhoto.src=event.target.src}})});const home=document.querySelector(".home");if(!0!==home){const mainContainer=document.querySelector("#mainContainer"),contentField=document.querySelector(".content"),footer=document.querySelector("#footer"),footerBottom=document.querySelector("#footerBottom");let height=mainContainer.offsetHeight+footer.offsetHeight+footerBottom.offsetHeight,totalHeight=height+(contentField.offsetHeight+200);if(totalHeight<window.innerHeight){let newHeight=window.innerHeight-height-200;contentField.style.minHeight=newHeight+"px"}}let sortSelect=document.querySelector("select[name=sortSelect]");sortSelect&&sortSelect.addEventListener("change",event=>{event.preventDefault();const sortListForm=document.querySelector("form[name=sortListForm]"),postObjects=sortListForm.querySelectorAll("input, select, textarea"),postValues=[];postObjects.forEach(field=>{postValues[field.name]=field.value}),ajax.post("/app/components/com_producten/helpers/ajax.php",postValues,function(data){const overview=document.querySelector(".productOverzicht");overview.innerHTML=data})});const amountInput=document.querySelectorAll('input[name="amount"]');amountInput&&amountInput.forEach(input=>{input.addEventListener("change",event=>{let choosenValue=event.target.value;choosenValue<=0&&(event.target.value=1)})});let wishlistBtn=document.querySelector("button[name=wishlist]");wishlistBtn&&wishlistBtn.addEventListener("click",event=>{event.preventDefault();let orderProd=document.querySelector("form[name=orderProd]");const farIcon=event.target.querySelector(".far"),postObjects=orderProd.querySelectorAll("input, select, textarea"),postValues=[];postValues.action="wishlistRemove",farIcon&&(postValues.action="wishlistAdd"),postObjects.forEach(field=>{postValues[field.name]=field.value}),ajax.post("/app/components/com_webshop/helpers/ajax.php",postValues,function(data){const explData=data.split("|");if("SUCCESS"==explData[0])if(farIcon)farIcon.classList.remove("far"),farIcon.classList.add("fas");else{const farIcon=event.target.querySelector(".fas");farIcon.classList.remove("fas"),farIcon.classList.add("far")}else console.log(data)})});let orderProd=document.querySelector("form[name=orderProd]");if(orderProd&&orderProd.addEventListener("submit",event=>{event.preventDefault();const postObjects=orderProd.querySelectorAll("input, select, textarea"),postValues=[];postValues.action="orderProd",postObjects.forEach(field=>{postValues[field.name]=field.value}),ajax.post("/app/components/com_webshop/helpers/ajax.php",postValues,function(data){const explData=data.split("|");if("SUCCESS"==explData[0]){const winkelwagenBadge=document.querySelectorAll(".winkelwagenBtn .badge");winkelwagenBadge&&winkelwagenBadge.forEach(badge=>{badge.innerText=explData[1]});let title="Product on order";"nl"==langPref&&(title="Product in winkelwagen");let text="You have successfully placed the product in the shopping cart.";"nl"==langPref&&(text="U heeft met succes het product in de winkelwagen geplaatst."),createModal("successOrder",title,text,!0);const myModal=new bootstrap.Modal(document.getElementById("successOrder"));if(myModal.show(),1!=explData[2]){let prod=JSON.parse(explData[3]),cats=JSON.parse(explData[5]);_paq.push(["addEcommerceItem",String(prod.isbn),String(prod.title),cats,parseFloat(prod.prijs),postValues.amount||parseInt(postValues.amount)>1?parseInt(postValues.amount):1]),_paq.push(["trackEcommerceCartUpdate",parseFloat(explData[4])])}}else console.log(data)})}),window.innerWidth<768){document.querySelector(".navbar-default").classList.add("fixed-bottom"),document.querySelector(".navbar-default").style.display="block";const footerH2=document.querySelectorAll("#footer h2");footerH2.forEach(h2=>{const parent=h2.parentNode;parent.classList.contains("contactgeg")||(parent.querySelector("ul").style.display="none"),h2.addEventListener("click",function(e){const parent=this.parentNode,ul=parent.querySelector("ul"),ulDisplay=ul.style.display,visible=document.querySelectorAll('#footer ul[style*="display: block"]');if(visible&&visible.forEach(visibleUl=>{const visibleParent=visibleUl.parentNode;visibleUl.style.display="none",visibleParent.querySelector("h2").classList.remove("active");const faMinus=visibleParent.querySelector(".fa-minus");
1faMinus&&(faMinus.classList.remove("fa-minus"),faMinus.classList.add("fa-plus"))}),"none"==ulDisplay){this.classList.add("active");const faPlus=parent.querySelector(".fa-plus");faPlus&&(faPlus.classList.remove("fa-plus"),faPlus.classList.add("fa-minus")),ul.style.display="block"}else ul.style.display="none"})})}if($(window).width()<992){const accordions=document.querySelectorAll(".accordion-button");accordions&&accordions.forEach(item=>{item.classList.contains("collapsed")||(item.classList.add("collapsed"),item.parentNode.parentNode.querySelector(".collapse").classList.remove("show"))})}});
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.