PageSourceSearch

https://impimur.com/wp-content/plugins/wp_connectif/public/js/wp_connectif-public.js?ver=1.11.0

js impimur.com collected 2026-10-05 23:21:18 UTC 1,115 bytes, 29 lines download raw bytes

1(function ($) {
2    'use strict';
3    $(window).on('load', () => {
4        if (
5            window.connectif &&
6            window.connectif.managed &&
7            window.connectif.managed.isInitialized()
8        ) {
9            onConnectifStarted();
10        } else {
11            document.addEventListener('connectif.managed.initialized', onConnectifStarted);
12        }
13        function onConnectifStarted() {
14            const cartPageEvents = 'wc_cart_emptied updated_cart_totals';
15            const cartEvents = 'added_to_cart removed_from_cart cart_totals_refreshed';
16            $(document.body).on(`${cartPageEvents} ${cartEvents}`, function () {
17                $.get(`${pluginsUrl}/wp_connectif/public/cn-cart-ajax.php`, cartHtml => {
18                    const cart = $('div.cn_cart');
19                    if (cart.length) {
20                        cart.replaceWith(cartHtml);
21                    } else {
22                        $('body').append(cartHtml);
23                    }
24                    window.connectif.managed.sendEvents([]);
25                });
26            });
27        }
28    });
29})(jQuery);

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.