PageSourceSearch

https://www.schesslitz.de/_assets/f6691f2c8f7fb18adf855cd4e70e11d6/JavaScript/src/communice.js?1786445658

js schesslitz.de collected 2026-10-02 12:03:56 UTC 1,268 bytes, 49 lines download raw bytes

1var addressCollapse = function(selector) {
2  this.selector = selector;
3  this.collapseId = selector.dataset.addressCollapse;
4  this.button = selector.querySelector('.address-group-collapse-btn');
5
6  this.toggle = (e) => {
7    dkSlideToggle(
8      document.querySelector('#collapse-' + this.collapseId),
9      400,
10      {
11        classToggleElement: selector,
12        classToggle: 'open'
13      }
14    )
15
16    this.toggleButtonAriaPressed(this.button);
17  }
18
19  this.init = () => {
20    this.button.addEventListener('click', e => {
21      this.toggle(e);
22    })
23
24    this.button.addEventListener('keydown', e => {
25      if (e.key === ' ') {
26        // Prevent space
27        e.preventDefault();
28      } else if (e.key === 'Enter') {
29        // If enter is pressed, activate the button
30        e.preventDefault();
31        this.toggle(e);
32      }
33    })
34  }
35
36  this.init();
37
38  this.toggleButtonAriaPressed = function(button) {
39    let isAriaPressed = button.getAttribute('aria-pressed') === 'true';
40    button.setAttribute('aria-pressed', isAriaPressed ? 'false' : 'true');
41  }
42}
43addressCollapseItems = document.querySelectorAll('[data-address-collapse]');
44if (addressCollapseItems.length > 0) {
45  addressCollapseItems.forEach((item) => {
46    new addressCollapse(item);
47  })
48}
49

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.