PageSourceSearch

https://kenko-group.jp/wp-content/themes/hokurikukenko/assets/js/swiper-magnific-popup.js?ver=1755497865

js kenko-group.jp collected 2026-10-02 17:34:06 UTC 814 bytes, 26 lines download raw bytes

1jQuery(function ($) {
2  /* Define a variável que dá swipe no lightbox */
3  var magnificPopup = $.magnificPopup.instance;
4
5  /* Carrega a função quando clica no lightbox (senão não pega a classe utilizada) */
6  $("a.lightbox").click(function(e) {
7
8    /* Espera carregar o lightbox */
9    setTimeout(function() {
10        /* Swipe para a esquerda - Próximo */
11        $(".mfp-container").swipe( {
12          swipeLeft:function(event, direction, distance, duration, fingerCount) {
13            console.log("swipe right");
14            magnificPopup.next();
15          },
16
17        /* Swipe para a direita - Anterior */
18        swipeRight:function(event, direction, distance, duration, fingerCount) {
19          console.log("swipe left");
20          magnificPopup.prev();
21        },
22        });
23    }, 500);
24  });
25
26});

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.