1function SearchResultAjaxCall(){if($("#small-searchterms").val().length>minimumlength){if(window.history.replaceState({},document.title,$(location).attr("origin")),$("#dimerce-facetdata").attr("data-solrconnectionstatus").toLowerCase()==="false")return alert($("#dimerce-facetdata").attr("data-solrconnectionstatusstring")),!1;AjaxCall(null,null);$("#myBtn").click()}}function SearchResultAjaxCallForAllFacet(){if(window.history.replaceState({},document.title,$(location).attr("origin")),$("#dimerce-facetdata").attr("data-solrconnectionstatus").toLowerCase()==="false")return alert($("#dimerce-facetdata").attr("data-solrconnectionstatusstring")),!1;AjaxCall(null,null);$("#myBtn").click()}function ScrollToTop(){var n=$("#small-search-box-form").offset().top;$("html, body, .product-grid").animate({scrollTop:n},"slow")}function AjaxCall(n,t,i,r,u,f,e,o){var h,p;(t===null||t==="")&&(lastPageNumber=0,n=null,$(".product-grid").animate({scrollTop:0},"fast"));ajaxCall!=null&&ajaxCall.abort();f===undefined&&(f=!1);var w=$("#dimerce-facetdata").attr("data-currentpageurl"),c="",s="",l=!1;u?(c=$("#small-barCode").val(),s=".modalBarcode",l=!0):(c=$("#small-searchterms").val(),s=".modalSearchTexbox",l=!1);t===null&&(t=window.location.href,t=t+"customsearch?q="+c,searchSubCategory=$("#parentSubCategoryDropdown option:selected").text(),categoryName=null,$("#parentCategoryDropdown option:selected").val()!=-1&&(categoryName=$("#parentCategoryDropdown option:selected").text()),$("#parentSubCategoryDropdown option:selected").val()!=-1&&(categoryName=$("#parentSubCategoryDropdown option:selected").text()),categoryName!=null&&(t=t+"&cat="+categoryName.toLowerCase()));$(".search-infinite-next").attr("style","display:none;");$(".dimerce-filter-overlay").remove();h=n;h===null&&(h=1);var a=0,v=DefaultPageSize,y=DefaultViewMode;if(i!=1?((t=new URL(t)).searchParams.set("orderby",a),(t=new URL(t)).searchParams.set("pagesize",v),(t=new URL(t)).searchParams.set("viewmode",y),t=t.href):t=t,o=="page"&&(_CategoryId_For_ProductPage_Fecet=e),$("#dimerce-facetdata-dynamic").attr("data-loadFromCategoty")=="true"&&(e=_CategoryId_For_ProductPage_Fecet),(_CategoryId_For_ProductPage_Fecet==0||_CategoryId_For_ProductPage_Fecet==null||_CategoryId_For_ProductPage_Fecet==undefined)&&window.history.replaceState({},document.title,t),r===1)return(t=new URL(t)).searchParams.set("pagenumber",h),window.location=t,!1;p={url:t,pageSize:v,orderBy:a,viewMode:y,pageNumber:h,Searchkeyword:c,isBarcode:l,isRemove:f,CategoryId:e};ajaxCall=$.ajax({url:"/getFilteredSolrProducts",type:"POST",data:{ajaxModelJson:JSON.stringify(p)}}).success(function(t){if(n===null){$(s+" "+dimerceFilterClass).replaceWith(t);var i=$(s+" "+dimerceFilterClass+" "+productHtmlClass+" "+productReplaceSelector).html(),r=$(s+" "+dimerceFilterClass+" "+productHtmlClass+" "+paginationSelector).html();$(s+" .modal-content "+viewmodeClassName+" > "+productReplaceSelector).empty();$(s+" .modal-content "+viewmodeClassName+" > "+productReplaceSelector).html(i);$(s+" .modal-content .page-content .pager").empty();$(s+" .modal-content .page-content .pager").html(r);$(s+" "+dimerceFilterClass+" "+productHtmlClass+" "+productReplaceSelector).remove();lastPageNumber=0}else $("#dimerce-facetdata").attr("data-infinitescroll").toLowerCase()==="false"?($(s+" "+dimerceFilterClass).replaceWith(t),i=$(s+" "+dimerceFilterClass+" "+productHtmlClass+" "+productReplaceSelector).html(),r=$(s+" "+dimerceFilterClass+" "+productHtmlClass+" "+paginationSelector).html(),$(s+" .modal-content "+viewmodeClassName+" > "+productReplaceSelector).empty(),$(s+" .modal-content "+viewmodeClassName+" > "+productReplaceSelector).html(i),$(s+" .modal-content .page-content .pager").empty(),$(s+" .modal-content .page-content .pager").html(r),$(s+" "+dimerceFilterClass+" "+productHtmlClass+" "+productReplaceSelector).remove()):($(s+" "+dimerceFilterClass).replaceWith(t),$(".dimerce-filter.dimerce-plus-mobile")[2]!==undefined&&$(".dimerce-filter.dimerce-plus-mobile")[2].scroll({top:filterScroll}),i=$(s+" "+dimerceFilterClass+" "+productHtmlClass+" "+productReplaceSelector).html(),r=$(s+" "+dimerceFilterClass+" "+productHtmlClass+" "+paginationSelector).html(),$(s+" .modal
1-content "+viewmodeClassName+" > "+productReplaceSelector).append(i),$(s+" .modal-content .page-content .pager").empty(),$(s+" .modal-content .page-content .pager").html(r),$(s+" "+dimerceFilterClass+" "+productHtmlClass+" "+productReplaceSelector).remove());isInfinit=0}).error(function(n){console.error(n.status+" :"+n.responseText)}).complete(function(){var n,t;if($(".ajax-loading-block-window").attr("style","display:none;"),$("body").removeClass("hidescroll"),Customfunction(),PagerCode(),SetNoOfProducts(u),$(".lcs_check").lc_switch(),customScroll(),(screen.width<=MobileViewScreenSize||window.innerWidth<=MobileViewScreenSize)&&($(s+" .dimerce-filter").hide(),$(s+" .page-content").show(),$(".search-mobile-tabsresults").addClass("active")),$("html").css("cssText","overflow: hidden !important;"),$(".search-mobile-tabsfilters").removeClass("active"),$(function(){var n=$(".sidenav").offset(),t=100;$(window).scroll(function(){$(window).scrollTop()<n.top+t?$(".sidenav").stop().animate({marginTop:0}):$(".sidenav").stop().animate({marginTop:$(gridClassName).offset().top})})}),u&&(f?($(".barcode-scan-icon .counter.cart-qty").html($(".modalBarcode .modal-content "+viewmodeClassName+" > "+productReplaceSelector+" > .product-row .item-box").length),$(".modalBarcode .modal-content "+viewmodeClassName+" > "+productReplaceSelector+" > .product-row .item-box").length<=0&&$("#barcodeSection").hide()):$("#scanCart").click()),$(".dimerce-Visiable.checkbox-item.dimerce-Show").length>0&&$(".dimerce-Visiable.checkbox-item.dimerce-Show").each(function(){if($(this).hasClass("checked"))return $(".block.filter-block").show(),!1}),n=$("#Category-Categorie").find("input"),n.length===1){if(t=$("#Category-Categorie").parent().parent().children().first().attr("data-faceturl"),$(".clearFilterOptions").each(function(){$(this).attr("data-faceturl")===t&&$(this).remove()}),$(n).parent().hasClass("checked"))return!1;$(n).trigger("click")}})}function ActiveResult(){$("#myModal .dimerce-filter").hide();$("#myModal .page-content").show();$(".search-mobile-tabsresults").addClass("active");$(".search-mobile-tabsfilters").removeClass("active")}function ActiveFilter(){$("#myModal .dimerce-filter").show();$("#myModal .page-content").hide();$(".search-mobile-tabsfilters").addClass("active");$(".search-mobile-tabsresults").removeClass("active")}function customScroll(){$(".mCustomScrollbar").mCustomScrollbar()}function showNext(){$(".search-infinite-next").attr("style","display:block;");var n=$(paginationSelector+" .next-page a").attr("data-newpagenumber");n!==null&&n!==""&&typeof n!="undefined"&&AjaxCall(n,window.location.href)}function openMenu(){$(dimerceFilterClass+".dimerce-plus-mobile.sidenav").css("width","90%");$(dimerceFilterClass+".dimerce-plus-mobile.sidenav").css("overflow-y","auto");$("body").addClass("hidescroll");$('<div class="dimerce-filter-overlay"><\/div>').appendTo(".master-column-wrapper")}function closeMenu(){$(dimerceFilterClass+".dimerce-plus-mobile.sidenav").css("width","0%");$(dimerceFilterClass+".dimerce-plus-mobile.sidenav").css("overflow-y","hidden");$("body").removeClass("hidescroll");$(".dimerce-filter-overlay").remove()}function removeURLParameter(n,t){var r=n.split("?"),f,i,u;if(r.length>=2){for(f=encodeURIComponent(t)+"=",i=r[1].split(/[&;]/g),u=i.length;u-->0;)i[u].lastIndexOf(f,0)!==-1&&i.splice(u,1);return i.length===0?r[0]:r[0]+"?"+i.join("&")}return n}function SortByCode(){var n,t;$(productSortBy).length!==0&&($(productSortBy)[0].setAttribute("onchange","AjaxCall(null,null);"),$(productSortBy+" option").each(function(){var t="0",i=$(this).val(),n=/orderby=(\d+)/.exec(i.toLowerCase());n!==null&&n.length>1&&(t=n[1]);$(this).val(t)}));n=window.location.href;n!==null&&(t=/orderby=(\d+)/.exec(n.toLowerCase()),t!==null?(t!==null&&t.length>1&&(n=t[1]),$(productSortBy).val(n)):$(productSortBy).val($(productSortBy+" option[selected]").val()))}function DisplayPerPage(){var t,i,n;$(pageSizeSelector).length!==0&&($(pageSizeSelector)[0].setAttribute("onchange","AjaxCall(null,null,0);"),$(pageSizeSelector+" option").each(function(){var t=DefaultPageSize,i=$(this).val(),n=/pagesize=(\d+)/.exec(i.toLowerCase());n!==null&&n.length>1&&(t=n[1]);$(this).val(t)}));t=window.location.href;t!==null&&(i=DefaultPageSize,n=/pagesize=(\d+)/.exec(t.toLowerCase()),n!==null?(n!==null&&n.length>1&&(i=n[1]),$(pageSizeSelector).val(i)):$(pageSizeSelector).val($(pageSizeSelector+" option[selected]").val()))}function ViewMode(){var t,n;$(".product-viewmode select").length!==0?($(".product-viewmode #products-viewmode").length!==0&&($("#products-viewmode")[0].setAttribute("onchange","ViewModeChange(this.value);"),$("#products-viewmode option").each(function(){var t="grid",i=$(this).val(),n=i.match(/[?&]viewmode=([^&#]+)/)||[];n!==null&&n.length>1&&(t=n[1]);$(this).val(t)})),t=window.location.href,t!==null&&(n=t.match(/[?&]viewmode=([^&#]+)/)||[],n!==null&&n.length>=1?(n!==null&&n.length>1&&(t=n[1]),$("#products-viewmode").val(t)):$("#products-viewmode").val($("#products-viewmode option[selected]").val()))):$(".product-viewmode").find("a").each(function(){var t=$(this).attr("href"),i="grid",n;t!==null&&typeof t!="undefined"&&(n=t.match(/[?&]viewmode=([^&#]+)/)||[],n!==null&&n.length>1&&(i=n[1]));$(this).removeAttr("href");$(this).attr("data-viewmode",i)})}function ViewModeChange(n){var t=t=window.location.href;(t=new URL(t)).searchParams.set("viewmode",n);window.history.replaceState({},document.title,t);AjaxCall(null,null,0,1)}function npAccFiltersPushStateUrl(n){return manualStateChange=!1,History.pushState({loadUrl:n,rand:Math.random()},document.title,n),!1}function PagerCode(){$(".search-infinite-next").attr("style","display:none;");$(paginationSelector).hide();$(paginationSelector).find("a").each(function(){var i=$(this).attr("href"),t="",n;i!==null&&typeof i!="undefined"&&(n=/pagenumber=(\d+)/.exec(i.toLowerCase()),n!==null&&n.length>1&&(t=n[1]),n===null&&(t=1),(url=new URL(this.baseURI)).searchParams.set("pagenumber",t),$(this).attr("href",url.href),$(this).attr("data-newpagenumber",t))});var n=$(paginationSelector+" .next-page a").attr("data-newpagenumber");n!==null&&n!==""&&typeof n!="undefined"&&(shownextbtn=n,parseInt(shownextbtn)>parseInt(whenToShow)&&$(".next-page").text()!==""&&$("#dimerce-facetdata").attr("data-infinitescroll").toLowerCase()==="true"&&$(".search-infinite-next").attr("style","display:block;"),parseInt(shownextbtn)>parseInt(whenToShow)&&$(".next-page").text()!==""&&$(".search-infinite-next").attr("style","display:block;"))}function SetNoOfProducts(n){if(n)return $("#tabsResultsLinkBarcode").html($("#dimerce-facetdata-dynamic-barcode").attr("data-numberofproductfoundstring")),$(".barcode-scan-icon .counter.cart-qty").html($("#dimerce-facetdata-dynamic").attr("data-noOfwishlistaddedproducts")),$(".barcode-scan-icon .counter.cart-qty").html($(".modalBarcode .modal-content "+viewmodeClassName+" > "+productReplaceSelector+" > .product-row .item-box").length),$(".modalBarcode .modal-content "+viewmodeClassName+" > "+productReplaceSelector+" > .product-row .item-box").length<=0?$("#barcodeSection").hide():$("#barcodeSection").show(),!1;parseInt($("#dimerce-facetdata-dynamic").attr("data-numberofproductfound"))===0&&shownumberofproductsfound.toLowerCase()==="true"&&typeof $("#dimerce-facetdata-dynamic").attr("data-numberofproductfoundstring")!="undefined"?($("#myMo
1dal .solr-products-count").remove(),$(window).width()>_windowWidthThreshold?$("#myModal .close-button ").prepend("<div class='solr-products-count'>"+$("#dimerce-facetdata-dynamic").attr("data-numberofproductfoundstring")+"<\/div>"):$("#myModal .dimerce-filter ").prepend("<div class='solr-products-count'>"+$("#dimerce-facetdata-dynamic").attr("data-numberofproductfoundstring")+"<\/div>"),$("#dimerce-LoadMore").hide()):shownumberofproductsfound.toLowerCase()==="true"&&typeof $("#dimerce-facetdata-dynamic").attr("data-numberofproductfoundstring")!="undefined"&&($("#myModal .solr-products-count").remove(),$(window).width()>_windowWidthThreshold?$("#myModal .close-button ").prepend("<div class='solr-products-count'>"+$("#dimerce-facetdata-dynamic").attr("data-numberofproductfoundstring")+"<\/div>"):$("#myModal .dimerce-filter ").prepend("<div class='solr-products-count'>"+$("#dimerce-facetdata-dynamic").attr("data-numberofproductfoundstring")+"<\/div>"));$("#myModal .page-content .category-page > .dimerce-selected-category").remove();$("#myModal .page-content "+viewmodeClassName).before($(".filtersGroupPanel.selected-filters").html())}function dimerceshowMore(){var n=$(this).prev().find(".dimerce-NoVisiable"),t;if($(this).find("span").text()===resourceLess){for(i=0;i<n.length;i++)$(n[i]).removeClass("dimerce-Show").addClass("dimerce-Hide");t=$(this).prev().find(".dimerce-NoVisiable").length;$(this).find("span").text(t+" "+resourceMore)}else{for(i=0;i<n.length;i++)$(n[i]).removeClass("dimerce-Hide").addClass("dimerce-Show");$(this).find("span").text(resourceLess)}}function dimerce_seeMoreFunction(n){var e,u,f,i,o,t,r,s,h;for(r=$.escapeSelector(n),r="#"+r,e=document.getElementById("dimerce-myInput-"+n),u=e.value.toUpperCase(),f=document.getElementById(n),i=f.getElementsByTagName("li"),t=0;t<i.length;t++)o=i[t].getElementsByTagName("label")[0],o.innerText.toUpperCase().indexOf(u)>-1?$(i[t]).hasClass("dimerce-NoVisiable")===!0?u===""?($(i[t]).removeClass("dimerce-Show").addClass("dimerce-Hide"),$(r).next(".dimerce-showMore").hide()):($(i[t]).removeClass("dimerce-Hide").addClass("dimerce-Show"),$(r).next(".dimerce-showMore").hide()):u===""?($(i[t]).removeClass("dimerce-Hide").addClass("dimerce-Show"),$(r).next(".dimerce-showMore").hide()):($(i[t]).removeClass("dimerce-Hide").addClass("dimerce-Show"),$(r).next(".dimerce-showMore").hide()):$(i[t]).hasClass("dimerce-NoVisiable")===!0?($(i[t]).removeClass("dimerce-Show").addClass("dimerce-Hide"),$(r).next(".dimerce-showMore").hide()):($(i[t]).removeClass("dimerce-Show").addClass("dimerce-Hide"),$(r).next(".dimerce-showMore").hide());u===""&&(s=$(f).find(".dimerce-NoVisiable").length,h=s+" "+resourceMore,$(f).next(".dimerce-showMore").children("span").text(h),$(r).next(".dimerce-showMore").show())}function Get_page_scroll_direction(){var n=$(window).scrollTop();return scrollDownDirection=n>currentscroll_position?!0:!1,currentscroll_position=n,scrollDownDirection}function scrolltoTopAfterFacet(){EnableScrollToTopFacetApplies.toLowerCase()==="true"&&ScrollToTop()}function isNumberKey(n){var t=n.which?n.which:event.keyCode;return t>31&&(t<48||t>57)?!1:!0}function MultiAddToCart(n,t){var i,r,u;return t===undefined&&(t=!1),i=$(n).attr("data-url"),r=$(n).parent().parent().find("input.qty-input").val(),r!==undefined&&(i=i.replace("/0","/"+r)),t&&(u=i.split("/"),u[4]="2",i=u.join("/")),AjaxCart.addproducttocart_catalog(i),setTimeout(function(){UpdateMiniShoppingCart()},500),!1}function getParameterByName(n,t){t||(t=window.location.href);n=n.replace(/[\[\]]/g,"\\$&");var r=new RegExp("[?&]"+n+"(=([^&#]*)|&|#|$)"),i=r.exec(t);return i?i[2]?decodeURIComponent(i[2].replace(/\+/g," ")):"":null}function UpdateMiniShoppingCart(){function n(){$(".mobile-cart-box").after('<div class="miniCart-mobile-loading-img"><\/div>')}$("#minishoppingcartwidgetview").empty();$("#minishoppingcartwidgetview").text("Winkelwagen ophalen...");$.ajax({type:"get",url:"/DimerceCheckout/LoadMiniShoppingCart","async":!0,traditional:!0,success:function(n){$("#minishoppingcartwidgetview").html(n)},error:function(){}});$(".miniCart-mobile-loading-img").length!==1?n():$(".miniCart-mobile-loading-img").css("display","block");$(".mobile-cart-box").load("/DimerceCheckout/LoadMiniShoppingCart?miniCartModel=null")}function reloadMiniCartForPavilion(){function n(){$(".shopping-cart-link").before('<div class="cart-overlay">\n<div id="cart-loading-img"><\/div><\/div>')}$(".cart-overlay").length!==1&&n();$(".shopping-cart-link").remove();$(".responsive-nav-wrapper .menu-title").after('<div class="shopping-cart-link">\n <span >@T("ShoppingCart")<\/span>\n <script>
1\n $(document).ready(function() {\n $(".shopping-cart-link").load("/DimerceCheckout/LoadMiniShoppingCart?miniCartModel=" + null);\n });\n <\/script>\n<\/div>')}var _CategoryId_For_ProductPage_Fecet,minimumlength=parseInt($("#dimerce-facetdata").attr("data-searchtermminimumlength")),viewmodeClassName,scrollDownDirection,currentscroll_position,isMouseWheel,nextPageNumber,lastPageNumber;const _windowWidthThreshold=991;$(document).ready(function(){function r(){const n=$("header .container > .html-widget").height(),t=$(".header-sticky-part > div").height(),i=$(".modalSearchTexbox");n!==null&&n!==undefined&&(n.length===0||$(window).scrollTop()>0?i.css("top",t+"px"):i.css("top",t+n+"px"))}var i,n,t;url=window.location.href;url.includes("customsearch?")&&(i=getParameterByName("q",url),$("#small-searchterms").val(i),AjaxCall(null,url,1),$("#myBtn").click());n=null;t=parseInt($("#dimerce-facetdata").attr("data-keyupdelayonsearchbox"));$(".mobilemenu-toppart > .store-search-box #small-searchterms").on("keyup",function(i){if($("#small-searchterms").val($(this).val()),$(this).val().length>minimumlength){if(i.keyCode==13)return SearchResultAjaxCall(),!1;clearTimeout(n);n=setTimeout(function(){SearchResultAjaxCall()},t)}else $("span.close1").click()});$("span.close1,span.close").on("click",function(){$("html").css("cssText","overflow: auto !important;")});$("#small-searchterms").on("keyup",function(i){if($(this).val().length>minimumlength){if(i.keyCode==13)return SearchResultAjaxCall(),!1;clearTimeout(n);n=setTimeout(function(){SearchResultAjaxCall()},t)}else $("span.close1").click()});PagerCode();SetNoOfProducts(!1);$(window).width()>_windowWidthThreshold&&($(window).scroll(()=>{r()}),$(document).ready(()=>{r()}))});var shownextbtn=0,isInfinit=0,whenToShow=$("#dimerce-facetdata").attr("data-infinitescrolltill"),productSortBy=$("#dimerce-facetdata").attr("data-sortbyselector"),pageSizeSelector=$("#dimerce-facetdata").attr("data-pagesizeselector"),paginationSelector=$("#dimerce-facetdata").attr("data-paginationselector"),DefaultViewMode=$("#dimerce-facetdata").attr("data-defaultviewmode").toLowerCase(),gridClassName=$("#dimerce-facetdata").attr("data-productgridselector"),listClassName=$("#dimerce-facetdata").attr("data-productlistselector"),refineButtonSelector=$("#dimerce-facetdata").attr("data-refinebuttonselector"),resourceLess=$("#dimerce-facetdata").attr("data-resouceforless"),resourceMore=$("#dimerce-facetdata").attr("data-resouceformore"),shownumberofproductsfound=$("#dimerce-facetdata").attr("data-shownoofproductsfound"),pageBodySelector=$("#dimerce-facetdata").attr("data-pagebodyselector"),featuredProductGridSelector=$("#dimerce-facetdata").attr("data-featuredproductgridselector"),viewModeSelector=$("#dimerce-facetdata").attr("data-viewmodeselector"),productReplaceSelector=$("#dimerce-facetdata").attr("data-productreplaceselector"),EnableScrollToTop=$("#dimerce-facetdata").attr("data-enablescrolltotop"),EnableScrollToTopFacetApplies=$("#dimerce-facetdata").attr("data-enablescrolltotopfacetapplies"),BackToTopLabelString=$("#dimerce-facetdata").attr("data-backtotoplabelstring"),SearchTermEmpty=$("#dimerce-facetdata").attr("data-searchtermempty"),DefaultPageSize=$("#dimerce-facetdata").attr("data-defaultpagesize"),scrolltotopheight=$("#dimerce-facetdata").attr("data-scrolltotopheight"),ResourceStringForLoadMoreAttributes=$("#dimerce-facetdata").attr("data-loadmoreattributes"),ResourceStringForLoadLessAttributes=$("#dimerce-facetdata").attr("data-loadlessattributes"),MobileViewScreenSize=parseInt($("#dimerce-facetdata").attr("data-mobileviewscreensize")),noOfWishListAddedProducts=parseInt($("#dimerce-facetdata").attr("data-noOfwishlistaddedproducts")),imageSlidingTiming=parseInt($("#dimerce-facetdata").attr("data-imageslidingtiming")),productHtmlClass=".data-producthtml",dimerceFilterClass=".dimerce-filter",currentPageUrl=$("#dimerce-facetdata").attr("data-currentpageurl"),ajaxCall,filterScroll=0;EnableScrollToTop.toLowerCase()==="true"&&$("<div id='backTop'><span class='backtotop-button'><\/span><span class='backtoptop-title'>"+BackToTopLabelString+"<\/span><\/div>").appendTo(".master-wrapper-page");viewmodeClassName=gridClassName;$(viewmodeClassName).not(".home-page-product-grid").before($(productHtmlClass+" .search-suggestions").html());$("#tabsResultsLink").click(function(){ActiveResult()});$("#tabsFiltersLink").click(function(){ActiveFilter()});$(window).resize(function(){screen.width<=MobileViewScreenSize||window.innerWidth<=MobileViewScreenSize?($("#myMo
1dal .dimerce-filter").hide(),$("#myModal .page-content").show(),$(".search-mobile-tabsresults").addClass("active")):($("#myModal .dimerce-filter").show(),$("#myModal .page-content").show(),$(".search-mobile-tabsresults").removeClass("active"))});$(".barcode-scan-icon .counter.cart-qty").html($("#dimerce-facetdata").attr("data-noOfwishlistaddedproducts")),function(n){n.fn.backTop=function(t){var i=this,r=n.extend({position:400,speed:500},t),f=r.position,u=r.speed;i.css({right:40,bottom:40,position:"fixed"});n(document).scroll(function(){var t=n(window).scrollTop();t>=f?i.fadeIn(u):i.fadeOut(u)});i.click(function(){n("html, body").animate({scrollTop:0},{duration:1200})})}}(jQuery);$("#backTop").backTop({position:200,speed:500});scrollDownDirection=!1;currentscroll_position=$(window).scrollTop();isMouseWheel=!1;$(window).on("mousewheel wheel mousedown keydown",()=>{isMouseWheel=$(window).width()<=MobileViewScreenSize?$(".search-mobile-tabsresults").hasClass("active")===!0?!0:!1:!0});$(".store-search-box .product-grid").on("scroll",function(){($(".store-search-box .product-grid").scrollTop()+parseInt(scrolltotopheight)+450>=$(".store-search-box .product-grid")[0].scrollHeight||$("#dimerce-facetdata").attr("data-infinitescroll").toLowerCase()==="true"&&isMouseWheel===!0&&$(".modal").css("display")==="block"&&Get_page_scroll_direction()===!0)&&(isMouseWheel=!1,nextPageNumber=$(".page-content "+paginationSelector+" .next-page a").attr("data-newpagenumber"),nextPageNumber!==null&&nextPageNumber!==""&&typeof nextPageNumber!="undefined"&&(shownextbtn=parseInt(nextPageNumber),parseInt(shownextbtn)>parseInt(whenToShow)&&$(paginationSelector+" .next-page").text()!==""?$(".search-infinite-next").attr("style","display:block;"):($(".search-infinite-next").attr("style","display:none;"),nextPageNumber!==lastPageNumber&&(AjaxCall(nextPageNumber,window.location.href),lastPageNumber=nextPageNumber,isInfinit=1))))});$(".center-1 .product-grid").on("scroll",function(){var r,t,n,i,u;if($(".center-1 .product-grid").scrollTop()+$(".center-1 .product-grid").innerHeight()+300>=$(".center-1 .product-grid")[0].scrollHeight&&$("#dimerce-facetdata").attr("data-infinitescroll").toLowerCase()==="true"&&(r=$(".activeColor")[0],t=$(r).attr("name"),isMouseWheel=!1,nextPageNumber=$(".page-content "+paginationSelector+" .next-page a").attr("data-newpagenumber"),nextPageNumber!==null&&nextPageNumber!==""&&typeof nextPageNumber!="undefined"))if(shownextbtn=parseInt(nextPageNumber),parseInt(shownextbtn)>parseInt(whenToShow)&&$(paginationSelector+" .next-page").text()!=="")$(".search-infinite-next").attr("style","display:block;");else if($(".search-infinite-next").attr("style","display:none;"),nextPageNumber!==lastPageNumber){if(n=!1,$("#Category-Categorie").children().filter(".checked").first().length>0&&(i=$("#Category-Categorie").children().filter(".checked").first().find("input").first().attr("data-faceturl"),u=$("#Category-Categorie").find("input").first().val(),i+="&cat="+u.toLowerCase(),n=!0),n===!0)return filterScroll=$(".dimerce-filter.dimerce-plus-mobile")[2].scrollTop,AjaxCall(nextPageNumber,i,1,null,null,null,t),lastPageNumber=nextPageNumber,isInfinit=1,n=!1,!1;AjaxCall(nextPageNumber,window.location.href,null,null,!1,!1,t,null);lastPageNumber=nextPageNumber;isInfinit=1}});$(document).on("click",dimerceFilterClass+" .dimerce-facet-filter",function(){var n=$(this).attr("data-facetURL"),t,i,r;if($(".activeColor")[0]!==undefined){if(!n.includes("spec=")&&!n.includes("cat="))return t=$(".activeColor")[0],$(t).trigger("click"),!1;i=$(".activeColor")[0];r=$(i).attr("name");AjaxCall(null,n,0,null,null,null,r);scrolltoTopAfterFacet();npAccFiltersPushStateUrl(window.location.href)}else AjaxCall(null,n,0),scrolltoTopAfterFacet(),npAccFiltersPushStateUrl(window.location.href)});$(document).on("click",".dimerce-selected-category .dimerce-facet-filter",function(){var n=$(this).attr("data-facetURL");AjaxCall(null,n,0);scrolltoTopAfterFacet();npAccFiltersPushStateUrl(window.location.href)});$(window).on("load",()=>{screen.width<=MobileViewScreenSize&&($(".dimerce-plus-filter.dimerce-plus-mobile").appendTo($(refineButtonSelector)),$(".dimerce-filter").hide())});$(document).on("click",".dimerce-plus-filter.dimerce-plus-mobile .dimerce-mob-filter",openMenu);$(document).on("click",".product-filters-mobile-title .closebtn",closeMenu);$(document).on("click",".dimerce-showMore",dimerceshowMore);
1$(document).on("click",".dimerce-filter-overlay",closeMenu);$("input[type=checkbox]").on("change",function(){$(this).is(":checked")?$(this).attr("checked",!0):$(this).attr("checked",!1)});$(document).on({mouseenter:function(){var n=".page-content.filter-section ."+$(this).prop("class").split(" ").join(".");timer=setInterval(function(){var t=$(n+" > img.ShowImage");t.removeClass("ShowImage").addClass("HideImage");t.next("img").length===0?$(n+" > img:first-child").removeClass("HideImage").addClass("ShowImage"):t.next("img").removeClass("HideImage").addClass("ShowImage")},imageSlidingTiming)},mouseleave:function(){clearInterval(timer)}},".page-content.filter-section div[class^='slideImageMenu']");$(document).on("click tap",".lcs_switch:not(.lcs_disabled)",function(){$(this).hasClass("lcs_on")?$(this).parent().find("input:checkbox").click():$(this).parent().find("input:checkbox").click()});$("#small-searchterms").keypress(function(n){var t=n.keyCode?n.keyCode:n.which;t=="13"&&n.preventDefault()});$(document).on("click","#scanAgain",function(){$("#myModalBarcode").hide();$(".barcode-section").show();$("#barcodeSection").show();$("#myModalBarcode .page-content").hide();$("#myModalBarcode .modal-topbar").hide();document.getElementById("btn-show-scanner").click()});$(document).on("click","#scanCart",function(){var t=$("#myModalBarcode .page-content .product-box-add-to-cart-button"),n=0;$("#myModalBarcode .page-content .removeButtonClass").each(function(){$(this).is(":visible")||(MultiAddToCart(t[n],!0),$(this).show());n=n+1});$(".barcode-scan-icon .counter.cart-qty").html($(".modalBarcode .modal-content "+viewmodeClassName+" > "+productReplaceSelector+" > .product-row .item-box").length)});$(document).on("click","#scanAddToCart",function(){$("#myModalBarcode .page-content .product-box-add-to-cart-button").each(function(){MultiAddToCart($(this),!1)})});$(".barcode-scan-icon").click(function(){window.history.replaceState({},document.title,$(location).attr("origin"));$("#barcodeSection").is(":visible")||($("#myModalBarcode").show(),parseInt($(".barcode-scan-icon .counter.cart-qty").html())>0?$("#small-barCode").val(""):($("#small-barCode").val(""),$("#myModalBarcode .page-content").hide(),$("#myModalBarcode .modal-topbar").hide(),document.getElementById("btn-show-scanner").click()))})
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.