PageSourceSearch

https://www.idc-otsuka.jp/wp/poltrona-frau-tokyo-aoyama/websys/wp-…/poltronafrau/assets/js/shop/single.js

js idc-otsuka.jp collected 2026-09-27 21:31:02 UTC 975 bytes, 35 lines download raw bytes

1$(function(){
2  var slider = "#slider";
3  var thumbnailItem = "#thumbnail .thumbnail__item";
4
5  $(thumbnailItem).each(function(){
6   var index = $(thumbnailItem).index(this);
7   $(this).attr("data-index",index);
8  });
9
10  $(slider).on('init',function(slick){
11   var index = $(".slide__item.slick-slide.slick-current").attr("data-slick-index");
12   $(thumbnailItem+'[data-index="'+index+'"]').addClass("thumbnail-current");
13  });
14
15  $(slider).slick({
16    autoplay: true,
17    arrows: false,
18    fade: true,
19    infinite: false,
20    speed: 2500,
21    autoplaySpeed: 3000
22  });
23
24  $(thumbnailItem).on('click',function(){
25    var index = $(this).attr("data-index");
26    $(slider).slick("slickGoTo",index,false);
27  });
28
29  $(slider).on('beforeChange',function(event,slick, currentSlide,nextSlide){
30    $(thumbnailItem).each(function(){
31      $(this).removeClass("thumbnail-current");
32    });
33    $(thumbnailItem+'[data-index="'+nextSlide+'"]').addClass("thumbnail-current");
34  });
35});

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.