PageSourceSearch

https://town-country-market.com/wp-content/themes/svt/js/requires-login.js?ver=1791092783

js town-country-market.com collected 2026-10-04 05:47:34 UTC 1,310 bytes, 29 lines download raw bytes

1(function($) {
2    $(document).ready(function() {
3        if($('.requires-login').length) {
4            $('.svt-login-popup').fadeIn();
5            $('.svt-login-popup').addClass('redirect-on-close');
6            $('.bouncing-loader').show();
7            var src = $('.svt-login-popup').find('.svt-popup-embed').attr('data-src');
8            $('.svt-login-popup').find('.svt-popup-embed').attr('src',src);
9            // $('.svt-login-popup .svt-popup-close').remove();
10            var iframe = $('#popup-login-embed').get(0);
11            var link = window.location.href;
12            $(iframe).attr('data-redirect',link);
13            iframe.onload = function() {
14                $('.bouncing-loader').hide();
15                selectedLocation = localStorage.getItem('ls.location');
16                selectedPricelist = localStorage.getItem('ls.selectedPriceList');
17                iframe.contentWindow.postMessage(
18                    {
19                        type: 'INIT', 
20                        timestamp: Date.now(), 
21                        payload:{
22                            selectedLocation: selectedLocation,
23                            selectedPricelist: selectedPricelist
24                        }
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.