PageSourceSearch

https://www.rountreetryon.com/lib/g/2.0/scripts/artlogic_modules/g…=73890ad&g=02af20a366d1467f6fcb69d8c4484907

js rountreetryon.com collected 2026-09-25 00:51:36 UTC 2,641 bytes, 51 lines download raw bytes

1
2export default (function(){
3    window.recaptcha_success_callback_instance = null;
4    window.recaptcha_success_callback = function() {};
5
6    window.google_captcha_onload = function(token) {
7        setTimeout(function() {
8            try {
9                if (!$('body').hasClass('protected-path-login-mode')) {
10                    $('.contact_form_captcha_enabled').each(function() {
11                        if (!$(this).hasClass('initialized')) {
12                            let is_visible = $(this).hasClass('contact_form_captcha_visible')
13                            
14                            // only initialise captcha for the captcha element inside this form
15                            // cos that's not how it used to work ¯\_(ツ)_/¯
16                            let captcha_container = $(this).find('#contact_form_recaptcha_container')[0]
17                            grecaptcha.render(captcha_container, { 
18                            sitekey: '6LeQ5TQaAAAAAL0PpYABhN5kYFLmywEMGlK0OD2-', 
19                            size: is_visible ? 'normal' : 'invisible',
20                            badge: 'bottomright',
21                            callback: function(token) {
22                                
23                                if (typeof window.recaptcha_error_timeout != 'undefined') {
24                                    clearTimeout(window.recaptcha_error_timeout);
25                                }
26                                
27                                $('input[name="g-recaptcha-response"]').val(token);
28                                $('body').addClass('contact_form_captcha_challenge_passed');
29                                window.recaptcha_success_callback(window.recaptcha_success_callback_instance);
30                            },
31                            expired_callback: function() {
32                                h.alert('An error occurred, please refresh and try again. If you are still having difficulties please contact us.');
33                            },
34                            error_callback: function() {
35                                h.alert('An error occurred, please refresh and try again. If you are still having difficulties please contact us.');
36                            }
37                            });
38                        }
39                        $(this).addClass('initialized');
40                    });
41                }
42            } catch(err) {
43            
44            }
45        }, 200, token);
46    }
47
48    if (window.recaptcha == undefined) {
49        $.getScript('https://www.recaptcha.net/recaptcha/api.js?onload=google_captcha_onload');
50    }
51})();

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.