PageSourceSearch

https://ztsdon.ru/bitrix/components/bxmod/cart.basket/templates/.default/script.js?16180059541734

js ztsdon.ru collected 2026-10-04 03:30:43 UTC 1,734 bytes, 60 lines download raw bytes

1BxmodCartBasket = {
2    Get: function ( id, count )
3    {
4        var cart = $(".topCart");
5        var sendData = {
6            siteId: cart.attr("data-site-id"),
7            templateName: cart.attr("data-template"),
8            cartLink: cart.attr("data-cart-link"),
9            checkoutLink: cart.attr("data-checkout-link")
10        };
11
12        if ( id != undefined ) {
13            sendData["id"] = id;
14            if ( count != undefined ) {
15                sendData["count"] = count;
16            } else {
17                sendData["count"] = 1;
18            }
19        }
20        
21        $.ajax({
22            url: cart.attr("data-url"),
23            method: "post",
24            data: sendData
25        }).done(function(data) {
26            cart.html( data );
27
28            if ( id != undefined ) {
29                $.magnificPopup.open({
30                    items: {
31                        src: '#bxmodCartAdding',
32                        type: 'inline',
33                        fixedContentPos: false,
34                        fixedBgPos: true,
35
36                        overflowY: 'auto',
37
38                        closeBtnInside: true,
39                        preloader: false,
40
41                        midClick: true,
42                        removalDelay: 300,
43                        mainClass: 'my-mfp-zoom-in'
44                    },
45                    type: 'image'
46                }, 0);
47            }
48        });
49        
50        return false;
51    }
52}
53
54$(document).ready(function(){
55    BxmodCartBasket.Get();
56
57    $(".bxmodAddToCart").click(function(){
58        return BxmodCartBasket.Get( $(this).attr("data-cart-product"), $(this).attr("data-cart-count") );
59    });
60});

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.