PageSourceSearch

https://robokassa.com/local/templates/robokassa/components/bitrix/…/blockfiscal001/script.js?17659779531363

js robokassa.com collected 2026-10-02 03:37:26 UTC 1,363 bytes, 46 lines download raw bytes

1function filter(id) {
2    console.log(id);
3    
4    let filterItems = document.querySelector('.BlockFiscal001[data-id="' + id + '" ].js-fiscal-filter').dataset.items;
5    let filterValuesInputs = document.querySelectorAll('.BlockFiscal001[data-id="' + id + '" ] .js-fiscal-filter-item:checked');
6    let filterValues = {};
7    filterValuesInputs.forEach((item) => {
8        filterValues["PROPERTY_" + item.dataset.prop + '_VALUE'] = item.value;
9    })
10    $.ajax({
11        method: "GET",
12        url: "/local/ajax/BlockFiscal.php",
13        data: { filterItems: filterItems, filterValues: filterValues }
14    }).done(function (data) {
15        $('.BlockFiscal001[data-id="' + id + '" ] .js-fiscal').html(data)
16    }).fail(function (jqXHR, textStatus) {
17        if (jqXHR.status == 429) {
18            filter(id)
19        }
20    });
21
22}
23
24$(function () {
25
26    document.querySelectorAll('.BlockFiscal001').forEach(item => {
27        filter(item.dataset.id);
28
29        $('.js-fiscal-filter-item').on('change', function () {
30            filter(item.dataset.id);
31        })
32    })
33
34
35
36    setTimeout(() => {
37        var blockId = window.location.hash.substring(1);
38        if (blockId) {
39            var element = document.getElementById(blockId);
40            if (element) {
41                element.scrollIntoView({ behavior: 'smooth' });
42            }
43        }
44    }, 500);
45
46})

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.