PageSourceSearch

https://tppchr.ru/bitrix/templates/aspro-allcorp3/components/bitrix/news.list/ws-gallery-list/script.js

js tppchr.ru collected 2026-10-02 18:12:42 UTC 661 bytes, 24 lines download raw bytes

1$(document).on("click", ".gallery-list__item-text-cross-part", function () {
2  var bSlider = $(this).closest(".owl-carousel").length;
3  var index = $(this)
4    .closest(bSlider ? ".owl-item" : ".gallery-list__wrapper")
5    .index();
6  var arItems = [];
7
8  $(this)
9    .closest(bSlider ? ".owl-stage" : ".grid-list")
10    .find(".gallery-list__item-link[data-big]")
11    .each(function () {
12      var that = $(this);
13      arItems.push({
14        src: that.data("big"),
15        opts: {
16          caption: that.attr("title"),
17        },
18      });
19    });
20
21  if (arItems.length) {
22    $.fancybox.open(arItems, { loop: false }, index);
23  }
24});

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.