PageSourceSearch

https://www.euronics.es/blog/wp-content/cache/wpfc-minified/e3hy6n0t/4i9px.js

js euronics.es collected 2026-09-25 03:06:19 UTC 1,234 bytes, 30 lines download raw bytes

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