PageSourceSearch

https://www.tradix.cz/js/Ecom/App/Web/Cart/topBar.js?1689671797

js tradix.cz collected 2026-10-04 14:50:51 UTC 964 bytes, 22 lines download raw bytes

1tswEcomAppWebCartTopBar = {
2    init: function () {
3        // toggle class for cort content
4        let cartTopBarElement = document.getElementById('tswEcomCartTopBarIco');
5        let searchingBlockElement = document.querySelector('.searching-block');
6        let url = cartTopBarElement.dataset['url'];
7        cartTopBarElement.addEventListener('click', (event) => {
8            event.preventDefault();
9            let contentElement = document.getElementById('tswEcomCartTopBarContent');
10            if (!contentElement.tswHasClass('active')) {
11                contentElement.innerHTML = tsw.getContentFromUrl(url);
12                tswEcomAppWeb.filterBackShow();
13                tswEcomAppWebCartDetail.init();
14            }else{
15                tswEcomAppWeb.filterBackClose();
16            }
17            contentElement.tswToggleClass('active');
18            searchingBlockElement?.tswRemoveClass('active');
19        });
20    }
21}
22tswEcomAppWebCartTopBar.init();

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.