1var BolJsLib;(()=>{"use strict";var e={d:(t,a)=>{for(var o in a)e.o(a,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:a[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function a(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push({PageType:e})}function o(){$("#videoimageLink").hide(),$("#iframeYouTube").show(),n("iframeYouTube",1,"")}function i(){return Boolean(document.querySelector('script[src="https://www.youtube.com/iframe_api"]'))}function n(e,t,a){var o;o=null!=a&&null!=a&&a.length>0?a:$("#"+e).data("original"),!1===i()?l("https://www.youtube.com/iframe_api").then((()=>{s(o,e,t)})).catch((e=>{console.error(e)})):s(o,e,t)}function s(e,t,a){window.YT.ready((function(){new YT.Player(t,{height:"100%",width:"100%",videoId:e,playerVars:{autoplay:a,playsinline:a}})}))}e.r(t),e.d(t,{PushContentGroup:()=>a,loadvideo:()=>o}),$(document).ready((function(){var e,t=0;function a(e){var t=$(e).attr("data-original");null!=t&&(t.includes("youtube")&&(t=t.replace("watch?v=","embed/")),$(e).attr("src",t))}function o(){!function(e){if(!0===i()){var t=YT.get(e);void 0!==t&&t.stopVideo()}}("iframeYouTube")}function s(e){var t=$("#bolpptabcollages").attr("data-templateid");null!=t&&t>0&&$.ajax({type:"GET",url:"/home/getnestedtemplatecontent",data:{nestedTemplateId:t},contentType:"application/html; charset=utf-8",dataType:"html",success:function(t){$("#bolpptabcollages").html(t),$("#"+e).addClass("tab--active"),$("div.smart-collage--video").find("iframe.lazy").each((function(e,t){a(t)})),$("#tab2").find("img.lazy").each((function(e,t){$(t).attr("src",$(t).data("original"))})),$("#bolpptabcollages").removeClass("loading-content")},failure:function(e){},error:function(e){}})}$(".tooltip__trigger").mouseenter((function(){t=1,$(this).find(".tooltip__content").show()})).mouseleave((function(){$(this).find(".tooltip__content").hide()})),$(".tooltip__trigger").on("click",(function(e){1!=t?$(e.target).parent(".tooltip__close").length<=0&&("none"==$(this).find(".tooltip__content").css("display")?$(this).find(".tooltip__content").show():$(this).find(".tooltip__content").hide()):t=0})),$(".tooltip__close").on("click",(function(){$(".tooltip__content").hide()})),$(".js-arrow-uk-delivery").on("click",(function(){$(".js-uk-delivery-popup").show()})),$(".js-toggle-mobile-search").click((function(){$(".atlas__search--mobile").toggle(),$(".atlas__search--mobile").find("input").focus()})),$(document).mouseup((function(e){$(".flags__nav").is(e.target)||0!==$(".flags__nav").has(e.target).length||$(".flags__nav").removeClass("open-flags")})),$(".flags__nav").click((function(){$(".flags__nav").toggleClass("open-flags")})),$((function(){$("#link1").click((function(){return $(".tabs__panel").removeClass("active"),$("#link1").addClass("active"),$(".tabs__text-container").hide(),$("#tab1").show(),!1}))})),$((function(){$("#link2").click((function(){return $(".tabs__panel").removeClass("active"),$("#link2").addClass("active"),$(".tabs__text-container").hide(),$("#tab2").show(),!1}))})),$((function(){$("#link3").click((function(){return $(".tabs__panel").removeClass("active"),$("#link3").addClass("active"),$(".tabs__text-container").hide(),$("#tab3").show(),!1}))})),$((function(){$("#link1").click((function(){return $(".mod-usp-col").removeClass("active"),$("#link1").addClass("active"),$(".mod-usp-text-container").hide(),$("#tab1").show(),!1}))})),$((function(){$("#link2").click((function(){return $(".mod-usp-col").removeClass("active"),$("#link2").addClass("active"),$(".mod-usp-text-container").hide(),$("#tab2").show(),!1}))})),$((function(){$("#link3").click((function(){return $(".mod-usp-col").removeClass("active"),$("#link3").addClass("active"),$(".mod-usp-text-container").hide(),$("#tab3").show(),!1}))})),$(window).scroll((function(){if($(document).scrollTop()>=600?$("#sticky-atc").addClass("js-show-sticky-atc"):$("#sticky-atc").removeClass("js-show-sticky-atc"),0==$("#divVideoLargeHUBPage").find("iframe.lazyload").length&&0==$("#divVideoLargeHUBPage").find("iframe.lazyloaded").length&&0==$("#divVideoLargeHUBPage").find("iframe.lazyloading").length){var e=document.createElement("iframe");e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen",""),e.setAttribute("class","lazyload"),e.setAttribute("src",$("#hdnVideoURLLargeHUB").val()),$("#divVideoLargeHUBPage").append(e)}})),$(".productpage-tabs__li, .cta__secondary a[href$='add-montage']").click((function(){var e=$
1(this).attr("data-tab");if($(".tabs-links-mobile__inner a").removeClass("tab--active"),$(".productpage-tabs__li").removeClass("tab--active"),$(".tab__content").removeClass("tab--active"),$(this).addClass("tab--active"),$(".productpage-tabs__li[data-tab='"+e+"']").addClass("tab--active"),$(".tabs-links-mobile__inner a[data-tab="+e+"]").addClass("tab--active"),$("#"+e).addClass("tab--active"),$(this).hasClass("js-print-guideline")&&$("div.tab__printguideline").find("iframe.lazy").each((function(e,t){a(t)})),$(this).hasClass("tabs_link_collages")?0===$("#bolpptabcollages").children().length&&s(e):o(),"tab3"==e||"tab4"==e){var t=document.querySelector("#similarProductsGridBol");if(null!=t)!!isInViewportNew(t)&&!issimilarproductsloaded&&(issimilarproductsloaded=!0,loadsimilarproducts())}})),$("#js-gallery a").click((function(e){if("video-id"===this.id){$("#imagevideo").hide(),$("#iframevideotab").show();var t=$("#iframevideotab").data("original").split(/\//);return n("iframevideotab",1,(t=(t=t[t.length-1]).split("?"))[0]),void e.preventDefault()}})),$(".productpage-tabs-link__inner li[id='collages-anchor']").length>0&&$(".tabs-links-mobile__inner a[id='collages-anchor']").length>0&&$("a[href$='add-montage']").show(),$(".tabs-links-mobile__inner").find("a").click((function(){var e=$
1(this).attr("data-tab"),t=$(this).hasClass("tab--active");$(".tabs-links-mobile__inner a").removeClass("tab--active"),$(".productpage-tabs__li").removeClass("tab--active"),$(".tab__content").removeClass("tab--active"),t||($(this).addClass("tab--active"),$("li[data-tab="+e+"]").addClass("tab--active"),$("#"+e).addClass("tab--active")),$(this).hasClass("js-print-guideline")&&$("div.tab__printguideline").find("iframe.lazy").each((function(e,t){a(t)})),$(this).hasClass("tabs_link_collages")?0===$("#bolpptabcollages").children().length&&s(e):o()})),$(".cta__secondary a[href$='add-montage']").click((function(){if("block"==$(".only-show-on-mobile").css("display")){var e=$(this).attr("data-tab");$(".tabs-links-mobile__inner a").removeClass("tab--active"),$(".productpage-tabs__li").removeClass("tab--active"),$(".tab__content").removeClass("tab--active"),$(this).addClass("tab--active"),$(".tabs-links-mobile__inner a[data-tab='"+e+"']").addClass("tab--active");var t=$(this).attr("href");$("html,body").animate({scrollTop:$(t).offset().top+900},"slow"),$("li[data-tab="+e+"]").addClass("tab--active"),$("#"+e).addClass("tab--active")}})),$(".promotional-badge").parent().addClass("promo-active"),$(".product-grid__offer").parent(".product-grid__img").addClass("promo-active"),$(".product-grid ul").filter((function(){return $(this).find("li").length>=4})).addClass("alignleft"),$(".fabric_table ul").filter((function(){return $(this).find(".fabric_table__li").length<=4})).addClass("alignmiddle"),$(".mobile-start-design").find(".btn--black").on("mouseover",(function(){$(this).attr("onclick","location.href=' "+$(".product-cta__main").find(".btn--black").attr("href")+"';")})),$(window).scroll((function(){$(this).scrollTop()>1?$("#headermobile").addClass("sticky"):$("#headermobile").removeClass("sticky")})),$(".headermobile__search").click((function(){$("#headermobile").toggleClass("search-on"),$(".headermobile__search").toggleClass("search-on")}));var l=0,r=$("#headermobile").outerHeight();$(window).scroll((function(t){e=!0}
1)),setInterval((function(){e&&(!function(){var e=$(window).scrollTop();if(Math.abs(l-e)<=5)return;if(e>l&&e>r){var t=$("#ui-id-2");t&&"none"==t.css("display")&&$("#headermobile").removeClass("search-on")}else e+$(window).height()<$(document).height()&&$("#headermobile").addClass("search-on");l=e}(),e=!1)}),250),$("#productGalleryThumbnails a[data-slide-id]").on("click touch",(function(e){if($("#productGallery .zoom-gallery-slide").removeClass("active"),$('#productGallery .zoom-gallery-slide[data-slide-id="'+$(this).attr("data-slide-id").replace("s","")+'"]').addClass("active"),$("#productGalleryThumbnails a").removeClass("mz-thumb-selected"),$(this).addClass("mz-thumb-selected"),$(".zoom-gallery-slide").find("iframe.lazy").each((function(e,t){a(t)})),0==$("#divVideo").find("iframe").length&&null!=$("#hdnVideoURL").val()){o=$("#video-frame"),i=(o.data("video-orientation")||"landscape").toLowerCase(),o.removeClass("is-portrait is-landscape"),"portrait"===i?o.addClass("is-portrait"):o.addClass("is-landscape");var t=$("#hdnVideoURL").val().split(/\//);n("iframevideo",0,(t=(t=t[t.length-1]).split("?"))[0])}var o,i;e.preventDefault()}));var c=$(".product-cta__main").find(".btn--black").text();if(c){$(".mobile-start-design").find(".btn--black").text(c),$(".fabric_table").find(".btn--green").text(c);var d=$(".product-cta__main").find(".btn--black").attr("href");if(d){var u=function(e,t){t||(t=window.location.href);e=e.replace(/[\[\]]/g,"\\$&");var a=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return a?a[2]?decodeURIComponent(a[2].replace(/\+/g," ")):"":null}("fabrictype",d);u&&$(".bolbreadcrumbs__nolink").append(" (ID: "+u+")")}}else $(".mobile-start-design").find(".btn--black").hide();var m=$(".spnFrom").find(".spn__percentage");m&&m[0]&&0==$(".photogallery__offer").length&&$(".zoom-gallery-slide").append("<div class='photogallery__offer'><p>"+$("#hiddenLabelPriceDrop").val()+" "+m[0].innerHTML+"</p></div>");var p=$(".spnFrom").find(".spn__discount");p&&p[0]&&0==$(".gallery__offer").length&&$(".zoom-gallery-slide").append("<div class='gallery__offer'><p>"+$("#hiddenLabelPriceDrop").val()+" "+p[0].innerHTML+"</p></div>
1"),setTimeout((function(){var e=$("#js-geolocation-href");if(e){var t=e.attr("data-hrefLang"),a=$("link[rel=alternate][hreflang='"+t+"']").attr("href");e.attr("href")!==a&&e.attr("href",a)}}),2e3);var h=$("#bannerImg")[0];function f(){!function(e){e.canvas||(e.canvas=$("<canvas />")[0],e.canvas.width=e.width,e.canvas.height=e.height,e.canvas.getContext("2d").drawImage(e,0,0,e.width,e.height));var t=e.canvas.getContext("2d").getImageData(1,e.height-1,1,-1).data,a="#"+("000000"+function(e,t,a){if(e>255||t>255||a>255)throw"Invalid color component";return(e<<16|t<<8|a).toString(16)}(t[0],t[1],t[2])).slice(-6);$("#bannerImg").parents(".cat-banner-bg").css({"background-color":a})}(h)}h&&(h.complete?f():(h.addEventListener("load",f),h.addEventListener("error",(function(){})))),$("#bp-contact__modal .close").on("click",(function(e){$("#bp-contact__modal").removeClass("is-visible"),$("#darknight-website").hide()})),$("#bp-wishlist__modal .close").on("click",(function(e){$("#bp-wishlist__modal").removeClass("is-visible"),$("#darknight-website").hide()})),$(document).on("click",(function(e){!1===$(e.target).is("#bp-contact__modal, #bp-contact__modal p, #bp-contact__modal img, #bp-contact__modal span, #bp-contact__modal a")&&$("#bp-contact__modal").removeClass("is-visible"),!1===$(e.target).is("#btnClearWishlist, #bp-wishlist__modal, #bp-wishlist__modal p, #bp-wishlist__modal img, #bp-wishlist__modal span, #bp-wishlist__modal a")&&($("#bp-wishlist__modal").removeClass("is-visible"),$("#darknight-website").hide())})),$(document).ready((function(){$("ul.jump-to a").on("click",(function(e){if(""!==this.hash){e.preventDefault();var t=this.hash;$("html, body").animate({scrollTop:$(t).offset().top-140},800,(function(){window.location.hash=t}))}}))})),function(){var e=document.getElementsByClassName("js-back-top")[0],t=!1,a=function(){if(0!==$(".productpage__tabs__wrapper").length)return $(".productpage__tabs__wrapper").offset().top-$(".productpage__tabs__wrapper")[0].scrollHeight;return 0}();function o(){var a=window.scrollY||document.documentElement.scrollTop;a>800?n(e,"back-top--show"):s(e,"back-top--show"),a>1200&&n(e,"back-top--fade-out"),t=!1}function i(e,t){return e.classList?e.classList.contains(t):!!e.className.match(new RegExp("(\\s|^)"+t+"(\\s|$)"))}function n(e,t){var a=t.split(" ");e.classList?e.classList.add(a[0]):i(e,a[0])||(e.className+=" "+a[0]),a.length>1&&n(e,a.slice(1).join(" "))}function s(e,t){var a=t.split(" ");if(e.classList)e.classList.remove(a[0]);else if(i(e,a[0])){var o=new RegExp("(\\s|^)"+a[0]+"(\\s|$)");e.className=e.className.replace(o," ")}a.length>1&&s(e,a.slice(1).join(" "))}e&&(window.addEventListener("scroll",(function(e){t||(t=!0,window.requestAnimationFrame?window.requestAnimationFrame(o):setTimeout(o,250))})),e.addEventListener("click",(function(e){var t,o,i,n;e.preventDefault(),window.requestAnimationFrame?(t=700,o=window.scrollY||document.documentElement.scrollTop,i=null,n=function(e){i||(i=e);var s=e-i;
1if($(".js-browse-designs").hasClass("tabs--selected"))window.scrollTo(0,a);else{var l=Math.max(Math.easeInOutQuad(s,o,-o,t),0);window.scrollTo(0,l)}s<t&&window.requestAnimationFrame(n)},window.requestAnimationFrame(n)):window.scrollTo(0,-100)}))),Math.easeInOutQuad=function(e,t,a,o){return(e/=o/2)<1?a/2*e*e+t:-a/2*(--e*(e-2)-1)+t},setTimeout((function(){var e=$("#js-geolocation-href");if(e){var t=e.attr("data-hrefLang"),a=$("link[rel=alternate][hreflang='"+t+"']").attr("href");e.attr("href")!==a&&e.attr("href",a)}}),2e3)}(),function(e){e("body").on("click",".js-close",(function(){a()})),e(".btn--close").on("click",(function(e){t(e)})),e(document).keyup((function(e){27===e.keyCode&&(t(e),a())})),e(document).on("click","#burg",(function(e){t(e)}));var t=function(t){27===t.keyCode&&window.history.pushState({isSearchOpen:!1},"",window.location.origin+window.location.pathname),e(".search__container").removeClass("expand").attr("style",""),e("body").removeClass("noScroll search-open"),e(".search__results").hide(),e("#search-popup-iframe-container").hide(),e(".js-search-focus").val(""),e(".js-search-focus").blur(),e("#darknight-contrado").hide()},a=function(){e(".modal").removeClass("is-visible"),setTimeout((function(){e("#categoryFilterContainer #fabricPopupResult").css({display:"none"})}),300)}}(jQuery),$(document).on("click","#js-close-custom-message",(function(){$(".h-msg").hide(),$("body").addClass("no-header-message")}));var v=!1;document.addEventListener("scroll",(function(){if(null!=document.querySelector("#divNewsLetterSignUp")&&!v){v=!0;$("#divNewsLetterSignUp").html("<iframe src = '/estore/NewsLetterSignup/Index'>")}})),$(document).on("click",".js-read-more",(function(){$(this).hide(),$("a.js-read-less").show(),$(".js-full-text").show(),$(".js-small-text").hide()})),$(document).on("click",".js-read-less",(function(){$(this).hide(),$("a.js-read-more").show(),$(".js-full-text").hide(),$(".js-small-text").show()}));const b=window.matchMedia("(max-width: 799px)"),g=document.getElementById("dvH1Desktop"),_=document.getElementById("dvH1Mobile"),y=g?.querySelector("h1")||_?.querySelector("h1");if(y){function E(e){e.matches?_?.contains(y)||(y.remove(),_.appendChild(y)):g?.contains(y)||(y.remove(),g.appendChild(y))}E(b),b.addEventListener("change",E)}const w=document.getElementById("dvDesktopCustom"),C=document.getElementById("dvMobileCustom"),k=w?.querySelector("custom-element")||C?.querySelector("custom-element");if(k){function T(e){e.matches?C?.contains(k)||(k.remove(),C.appendChild(k)):w?.contains(k)||(k.remove(),w.appendChild(k))}T(b),b.addEventListener("change",T)}$(".tabs-links-mobile__inner").find("button").click((function(){var e=$
1(this).attr("data-tab"),t=$(this).hasClass("tab--active");$(".tabs-links-mobile__inner button").removeClass("tab--active"),$(".productpage-tabs__li").removeClass("tab--active"),$(".tab__content").removeClass("tab--active"),t||($(this).addClass("tab--active"),$("li[data-tab="+e+"]").addClass("tab--active"),$("#"+e).addClass("tab--active")),$(this).hasClass("js-print-guideline")&&$("div.tab__printguideline").find("iframe.lazy").each((function(e,t){a(t)})),$(this).hasClass("tabs_link_collages")?0===$("#bolpptabcollages").children().length&&s(e):o()}))})),$(window).bind("pageshow",(function(e){$(".wishlist__add").length&&e.originalEvent.persisted&&window.location.reload()}));const l=(e,t=!0,a="text/javascript")=>new Promise(((o,i)=>{const n=document.createElement("script");n.type=a,n.async=t,n.src=e,n.addEventListener("load",(()=>{o({status:!0})})),n.addEventListener("error",(()=>{i({status:!1,message:`Failed to load the script ${FILE_URL}`})})),document.body.appendChild(n)}));$(window).load((function(){0==$("#js-close-custom-message").length&&$("body").addClass("no-header-message"),1==$("#js-close-custom-message").length&&$("body").removeClass("no-header-message")})),window.initPromotionMessage=function(){var e=document.getElementById("hdnPageType");"Store Product Page"===(e?e.value:"")&&document.querySelectorAll(".clsStringResource").forEach((e=>e.remove()));var t=document.querySelectorAll(".site-promo-carousel .swiper-slide").length;if("undefined"!=typeof Swiper){document.getElementById("divBackGroundColor").style.display="block";var a=new Swiper(".site-promo-carousel",{loop:t>1,autoplay:t>1&&{delay:5e3},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},slidesPerView:1,effect:t>1?"fade":"slide",speed:500,on:{afterInit:function(){!function(){for(var e=document.querySelectorAll(".site-promo-carousel .swiper-slide"),t=0;t<e.length;t++)e[t].removeAttribute("aria-label")}()}}})}else document.getElementById("divBackGroundColor")?.remove();var o=document.querySelector(".promo-strip");o&&(o.addEventListener("mouseenter",(function(){a.autoplay&&a.autoplay.stop()})),o.addEventListener("mouseleave",(function(){a.autoplay&&a.autoplay.start()})));var i=document.getElementById("FirstStartDate"),n=document.getElementById("FirstEndDate");i&&n&&TimerCheck(i.value,n.value,0,a);var s=document.getElementById("SecondStartDate"),l=document.getElementById("SecondEndDate");s&&l&&TimerCheck(s.value,l.value,1,a);var r=document.getElementById("ThirdStartDate"),c=document.getElementById("ThirdEndDate");r&&c&&TimerCheck(r.value,c.value,2,a);var d=document.getElementById("hdnBackGroundColor"),u=document.querySelector(".clsPromoTimerEnable");d&&""!==d.value.trim()&&["cdo-msg-top-bar","divBackGroundColor","bolTimerHeader"].forEach((function(e){var t=document.getElementById(e);t&&t.style.setProperty("background-color",d.value,"important")}));document.querySelector(".NewsLetterSignUp")&&document.querySelector(".NewsLetterSignUp").addEventListener("click",(function(e){e.preventDefault();const t=this.getAttribute("href").substring(1),a=document.getElementById(t);a&&(window.scrollBy(0,1),setTimeout((()=>{"none"===window.getComputedStyle(a).display&&(a.style.display="block");const e=a.getBoundingClientRect().top+window.pageYOffset-100;$("html, body").stop(!0).animate({scrollTop:window.pageYOffset+20},200,(function(){$("html, body").animate({scrollTop:e},1e3)}))}),500))})),document.querySelectorAll(".site-promo-carousel .copy-btn").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();const t=this.closest(".swiper-slide"),a=t.querySelector(".code-text");if(!a)return;const o=a.innerText.trim();copyTextToClipboard(o).then((()=>{const e=t.querySelector(".code-copy-msg"),a=t.querySelector(".promo-offer-link");e&&a&&(a.style.visibility="hidden",e.style.opacity="1",e.style.pointerEvents="none",setTimeout((()=>{e.style.opacity="0",a.style.visibility="visible"}),1500)),pushTimerGATag("custom_event","Header Timer Strip","Click","Promo Code Copied - "+o)}))}))})),document.querySelectorAll(".spnlnkpromotionPage").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();const a=e.getAttribute("title")||"",o=e.getAttribute("href")||"#";pushTimerGATag("custom_event","Header Timer Strip","Click",a+" - "+o),setTimeout((function(){window.location.href=o}),250)}))}));u=document.querySelector(".clsPromoTimerEnable");var m=document.querySelector(".clsHeaderMessageEnable");if(null!=u||null!=m||null!=document.getElementById("hdnStoreId")&&null!=document.getElementById("hdnStoreId"))document.querySelector(".clsStringResource")?.remove();else{document.querySelector(".clsStringResource").style.display="block";var p=document.getElementById("hdnnewsvalue"),h="true"===(p&&p.value?p.value.toLowerCase():"");HeadingstringResource(h)}},BolJsLib=t})();
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.