PageSourceSearch

https://www.nestleprofessional.co.za/themes/custom/np_th/dist/js/c…/np_paragraph_related-product.js?tmjh8x

js nestleprofessional.co.za collected 2026-10-08 00:46:37 UTC 1,072 bytes, 1 lines download raw bytes

1!function($,Drupal,e){"use strict";Drupal.behaviors.np_paragraph_related_product={attach:function(t,i){const o=window.np.breakpoints.desktop-1,d=window.np.breakpoints.desktopMax-1,r="rtl"===$("html").attr("dir");e("np-related-products",".paragraph-np-related-product .paragraph--view-mode--default").forEach(function(e,t){const i=$(e).find(".related-product-products .field--name-field-product"),s=i.find("> .field__item").length,a=Drupal.t("Related Products Carousel")+" - "+t,n={rows:0,slidesToShow:1,slidesToScroll:1,dots:!0,arrows:!1,variableWidth:!0,autoplay:!1,infinite:!1,mobileFirst:!0,rtl:r,regionLabel:a,responsive:[{breakpoint:o,settings:{slidesToShow:4,dots:s>4,variableWidth:!1}},{breakpoint:d,settings:{slidesToShow:4,dots:s>4,arrows:!0,variableWidth:!1}}]};s>1&&(i.not(".slick-initialized").slick(n),function(){let e=i.find(".slick-track").outerHeight();i.find(".slick-track").find(".slick-slide.node--type-dsu-product.node--view-mode-teaser, .slick-slide.node--type-product-bundle.node--view-mode-teaser").css("height",e+"px")}())})}}}(jQuery,Drupal,once);

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.