1function LoadCart(n){$.ajax({url:"/basket",type:"GET"}).done(function(t){$("#cart-panel").html(t);var i=$("#cart-items").val();i>0?($("#cart-badge").text(i),$("#cart-badge").show()):$("#cart-badge").hide();n&&UIkit.offcanvas($("#cart-panel")).show()})}function LoadNews(){var n=$("#news-carousel"),t;n&&n.length>0&&(t=n.data("count"),$.ajax({url:"/news/latest?count="+t,type:"GET"}).done(function(t){n.html(t)}))}function LoadEvents(){var n=$("#events-carousel"),t;n&&n.length>0&&(t=n.data("count"),$.ajax({url:"/events/latest?count="+t,type:"GET"}).done(function(t){n.html(t)}))}function submitNewsletterForm(){var n=$("#subscribe-form");n.valid()&&($("#newsletter-subscribe").attr("disabled"),$.ajax({url:"/newsletter",type:"POST",data:n.serialize()}).done(function(){n.hide();$("#subscribe-sent").show()}))}function ResetPasswordSent(){$("#generic-modal-content").html("<p>Please check your email and follow the instructions.<\/p>")}function loadQuickView(n,t){let i="/shop/quickview/"+n;typeof t!="undefined"&&t!==null&&t!==""&&(i+="?colour="+encodeURIComponent(t));$.ajax({url:i,type:"GET"}).done(function(n){$("#modal-full-content").html(n);UIkit.update(document.getElementById("modal-full-content"));setTimeout(()=>{UIkit.modal("#modal-full").show(),typeof loadVariants=="function"&&(loadVariants(),loadImages())},0)})}function initProductCarousel(n){var t,i,r;if($.fn.slick){t=n+" .slider-for";i=n+" .slider-nav";$(t).slick({slidesToShow:1,slidesToScroll:1,arrows:!1,dots:!1,fade:!1,asNavFor:i,responsive:[{breakpoint:960,settings:{dots:!0}}]});r=$(i).data("qty")||5;$(i).slick({slidesToShow:r,slidesToScroll:1,vertical:!0,asNavFor:t,arrows:!0,infinite:!0,centerMode:!0,centerPadding:"10px",focusOnSelect:!0,prevArrow:'<span class="prev"><span uk-icon="chevron-up"><\/span><\/span>',nextArrow:'<span class="next"><span uk-icon="chevron-down"><\/span><\/span>'});$(t).on("setPosition",function(){$(this).css("height","auto");matchSliderHeightToParent($(this))});setTimeout(()=>{$(t).slick("setPosition"),matchSliderHeightToParent($(t))},100);$(window).width()>=961&&$(".image-zoom").length&&$(".image-zoom").wrap('<span style="display:inline-block"><\/span>').css("display","block").parent().zoom({magnify:1.5,duration:0});$(window).width()<=960&&$(".image-zoom").trigger("zoom.destroy")}}function matchSliderHeightToParent(n){var t=n.closest(".ProductSlider"),i;n.length&&t.length&&(i=t.outerHeight(!0),n.css("height",i+"px"))}function initProductSliders(){$(".product-slider").each(function(){var n=$(this),t=n.data("id");t&&$.ajax({url:"/product-slider/"+t,type:"GET"}).done(function(t){n.html(t)})})}function initCookies(){$.fn.ihavecookies&&($("body").ihavecookies({title:"Cookies and privacy",message:"This website uses cookies to ensure you get the best experience on our website.",link:"/cookies",delay:2e3,cookieTypes:[{type:"Site Preferences",value:"preferences",description:"These are cookies that are related to your site preferences, e.g. remembering your username, site colours, etc."},{type:"Analytics",value:"analytics",description:"Cookies related to site visits, browser types, etc."},{type:"Marketing",value:"marketing",description:"Cookies related to marketing, e.g. newsletters, social media, etc"},{type:"User data",value:"userdata",description:"Sets consent for sending user data related to advertising"}],moreInfoLabel:"Read our cookies policy",acceptBtnLabel:"Accept cookies",advancedBtnLabel:"Customise",uncheckBoxes:!1,cookieTypesTitle:"Select cookies to accept",fixedCookieTypeLabel:"Necessary",fixedCookieTypeDesc:"These are cookies that are essential for the website to work correctly.",onAccept:function(){checkCookiePermission()}}),checkV2Cookie())}function checkV2Cookie(){var n=getCookie("cookieV2");!n.length>0&&(setCookie("cookieV2","true",365),initialiseGtag(),checkCookiePermission())}function consentGrantedAdUserData(){gtag("consent","update",{ad_user_data:"granted"})}function consentGrantedAdPersonalisation(){gtag("consent","update",{ad_personalization:"granted"})}function consentGrantedAdStorage(){gtag("consent","update",{ad_storage:"granted"})}function consentGrantedAdAnalytics(){gtag("consent","update",{analytics_storage:"granted"})}function allConsentGranted(){gtag("consent","update",{ad_user_data:"granted",ad_personalization:"granted",ad_storage:"granted",analytics_storage:"granted"})}function initialiseGtag(){gtag("consent","default",{ad_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",analytics_storage:"denied"})}function checkCookiePermission(){var n=$.fn.ihavecookies.preference("analytics"),t=$.fn.ihavecookies.preference("preferences"),i=$.fn.ihavecookies.preference("marketing"),r=$.fn.ihavecookies.preference("userdata");n&&t&&i&&r?allConsentGranted():(n&&consentGrantedAdAnalytics(),t&&consentGrantedAdPersonalisation(),i&&consentGrantedAdStorage(),r&&consentGrantedAdUserData())}function registerTradeAccount(){$("#trade-register-btn").attr("disabled","disabled");var n=$("#register-form");n.valid()?$.ajax({url:"/account/createtradeaccount",type:"POST",data:n.serialize()}).done(function(n){n&&n.redirect?window.location.replace(n.redirect):$("#register-container").html(n)}).fail(function(n){$("#register-container").html(n)}).always(function(){$.validator.unobtrusive.parse("#register-form");$("#trade-register-btn").removeAttr("disabled")}):$("#trade-register-btn").removeAttr("disabled")}function setCookie(n,t,i){var r=new Date,u;r.setTime(r.getTime()+i*864e5);u="expires="+r.toUTCString();document.cookie=n+"="+t+";"+u+";path=/"}function getCookie(n){for(var t,r=n+"=",f=decodeURIComponent(document.cookie),u=f.split(";"),i=0;i<u.length;i++){for(t=u[i];t.charAt(0)===" ";)t=t.substring(1);if(t.indexOf(r)===0)return t.substring(r.length,t.length)}return""}function LoadGoogleReviews(){var n=$("#google-reviews-widget");n&&$.ajax({url:"/widget/googlereviews",type:"GET"}).done(function(t){n.html(t)})}$(function(){LoadCart(!1);LoadNews();LoadEvents();UIkit.util.on("#modal-full","shown",function(){initProductCarousel("#modal
1-full");$("#quickview-image-slider").animate({opacity:1},500)});initProductSliders();initCookies();LoadGoogleReviews();$(".note-video-clip").attr("allowfullscreen");typeof ouibounce=="function"&&ouibounce($("#exit-modal")[0])});$(".currency-control-select").on("change",function(n){setCookie("currency",n.target.value,365);window.location.reload()});$("body").on("click","#reset-password-request",function(n){n.preventDefault();$.ajax({url:"/account/forgotpassword/",type:"GET"}).done(function(n){$("#generic-modal-content").html(n);$.validator.unobtrusive.parse("#forgot-password-form");UIkit.modal("#generic-modal").show()})});$("body").on("click","#forgot-password-btn",function(){var n=$("#forgot-password-form");n.valid()&&$.ajax({url:"/account/forgotpassword",type:"POST",data:n.serialize()}).done(function(){ResetPasswordSent()}).fail(function(n){$("#generic-modal-content").html(n);$.validator.unobtrusive.parse("#forgot-password-form")})});$("#open-newsletter").on("click",function(n){n.preventDefault();$.ajax({url:"/newsletter",type:"GET"}).done(function(n){$("#generic-modal-content").html(n);UIkit.modal("#generic-modal").show();$.validator.unobtrusive.parse("#newsletter-subscribe")})});$("#generic-modal-content").on("click","#newsletter-subscribe",function(n){n.preventDefault();submitNewsletterForm()});$("body").on("click",".p-qview",function(n){n.preventDefault();var t=$(this).data("slug"),i=$(this).data("colour");loadQuickView(t,i)});$(".sd-colvar").on("mouseover",function(){var n=$(this).data("colour");$(".p-list-img[data-colour="+n+"]").fadeIn()});$(".sd-colvar").on("mouseleave",function(){$(".p-list-img-var").fadeOut()});$("#product-carousel").on("mouseover",".sd-colvar",function(){var n=$(this).data("colour");$(".p-list-img[data-colour="+n+"]").fadeIn()});$("#product-carousel").on("mouseleave",".sd-colvar",function(){$(".p-list-img-var").fadeOut()});$("#vat-toggle").on("change",function(){$("#vat-toggle").prop("checked")?setCookie("exTax","true",365):setCookie("exTax","false",365);location.reload()});$(".vat-radio").on("change",function(){var n=$(this).val();n==="true"?setCookie("exTax","true",365):setCookie("exTax","false",365);location.reload()});
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.