PageSourceSearch

https://www.poltronesofa.co.uk/on/demandware.static/Sites-SFRA_SCS…/v1791058580298/js/searchTileCarousel.js

js poltronesofa.co.uk collected 2026-10-04 09:39:27 UTC 2,670 bytes, 1 lines download raw bytes

1!function(){"use strict";var t={9941:function(t){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}t.exports=function(t){"function"==typeof t?t():"object"===e(t)&&Object.keys(t).forEach(function(e){"function"==typeof t[e]&&t[e]()})}},7847:function(t){t.exports={init:function(){if(window.SitePreferences.plpCarouselEnable){var t=window.matchMedia("(min-width: 769px)");$(document).on("enablePLPSwiper",function(){$(".plp_imgprev_active").length&&($(".product-grid .product-card").each(function(){if($(this).find(".swiper-wrapper").length>0&&0===$(this).find(".swiper-container-initialized").length)if($(this).find(".full-gallery-slide").length){var e=$(this).attr("data-pid");new Swiper($(this).find(".image-wrapper div > a:first-of-type"),{slidesPerView:1,loop:!0,speed:400,navigation:{nextEl:".colourways-controls-"+e+" .swiper-button-next",prevEl:".colourways-controls-"+e+" .swiper-button-prev"}})}else t.matches||(e=$(this).attr("data-pid"),new Swiper($(this).find(".image-wrapper div > a:first-of-type"),{slidesPerView:1,loop:!0,speed:400,pagination:{el:".plptileswiper-pagination-"+e,clickable:!1}}))}),$(document).on("mouseover",".tile-image.plp_imgprev_active",function(){if(t.matches&&$(this).find(".full-gallery-slide").length<1){var e=$
1(this).find("img"),i=$(this).find("source");e.attr("src",e.data("hoverimage")),i.attr("srcset",i.data("hoverimage"))}}),$(document).on("mouseout",".tile-image.plp_imgprev_active",function(){if(t.matches&&$(this).find(".full-gallery-slide").length<1){var e=$(this).find("img"),i=$(this).find("source");e.attr("src",e.data("src")),i.each(function(){$(this).attr("srcset",$(this).data("srcset"))})}}),$(document).on("touchstart mouseover mouseout click touchend",".product-grid .product-card",function(e){if($(this).find(".full-gallery-slide").length){e.stopPropagation();var i=$(this).find(".swiper-slide-active").index(),n=$(this).find(".swiper-slide").length-2;i>n?i=1:0==i&&(i=n),$(this).find(".swatchtext").html(i+"/"+n)}else t.matches||(e.stopPropagation(),$(this).find(".tile-image .swiper-slide-active img").attr("data-loaded","false"),$(document).trigger("lozadTriggerObserve"))})),$(document).trigger("lozadTriggerObserve")})}$(document).trigger("enablePLPSwiper"),$(document).on("lozadHtmlLoaded",function(){$(document).trigger("enablePLPSwiper")})}}}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={exports:{}};return t[n](r,r.exports,i),r.exports}var n=i(9941);$(document).ready(function(){n(i(7847))})}();

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.