PageSourceSearch

https://ipower-russia.ru/bitrix/templates/aspro-premier/js/conditional/collaps.js

js ipower-russia.ru collected 2026-10-05 00:08:15 UTC 590 bytes, 22 lines download raw bytes

1BX.Aspro.Utils.readyDOM(() => {
2  $(document).on("click", ".show-more-items-btn", function (e) {
3    e.stopImmediatePropagation();
4
5    let _this = $(this);
6    let bOpened = _this.hasClass("opened");
7    let childSpan = _this.find("button");
8    let parent = _this.parent();
9    let collapsed = parent.find(".collapsed");
10
11    if (collapsed.length) {
12      collapsed.slideToggle(200);
13
14      if (bOpened) {
15        childSpan.text(BX.message("SHOW"));
16      } else {
17        childSpan.text(BX.message("HIDE"));
18      }
19      _this.toggleClass("opened");
20    }
21  });
22});

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.