PageSourceSearch

https://buysell-kaitori.com/wp-content/themes/bsportal/assets/js/new/store-purchase.js

js buysell-kaitori.com collected 2026-10-02 14:39:37 UTC 1,650 bytes, 56 lines download raw bytes

1jQuery(function ($) {
2
3  $('.p-store-purchase__newStoreList').slick({
4    slidesToShow: 2,
5    slidesToScroll: 1,
6    arrows: false,
7    dots: true,
8    infinite: true,
9    autoplay: true,
10    autoplaySpeed: 3000,
11    mobileFirst: true,
12    responsive: [
13      {
14        breakpoint: 768,
15        settings: {
16          slidesToShow: 4,
17        }
18      }
19    ]
20  });
21
22  $('.p-store-purchase__result_map_list').slick({
23    arrows: false,
24    dots: false,
25    infinite: false,
26    variableWidth: true,
27  });
28
29  $('.p-store-purchase__search_form_accordion').on('click', function () {
30    $(this).toggleClass('is-open');
31    $(this).closest('.p-store-purchase__search_form_item').toggleClass('is-open');
32    $('.p-store-purchase__search_form').toggleClass('is-open');
33    
34    var $content = $(this).next('.p-store-purchase__search_form_accordion_content');
35    
36    if ($(this).hasClass('is-open')) {
37      $content.delay(300).slideDown(200);
38    } else {
39      $content.slideUp(100);
40    }
41
42  });
43
44  $('.p-store-purchase__result_tab_btn').on('click', function () {
45    const index = $(this).index('.p-store-purchase__result_tab_btn');
46    $('.p-store-purchase__result_tab_btn').removeClass('is-active');
47    $(this).addClass('is-active');
48    $('.p-store-purchase__result_content').removeClass('is-active').eq(index).addClass('is-active');
49
50    // 地図タブ(index=1)が開かれたとき、store-list.jsで定義された関数を呼び出してマップを再描画する
51    if (index === 1 && typeof window.resizeAndFitMap === 'function') {
52      window.resizeAndFitMap();
53    }
54  });
55
56});

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.