1function render_recaptcha_v2(dotNetObj, selector, sitekey,theme,language) { 2 setTimeout(function () { 3 grecaptcha.enterprise.ready(function () { 4 grecaptcha.enterprise.render(selector, { 5 'sitekey': sitekey, 6 'callback': (response) => { dotNetObj.invokeMethodAsync('CallbackOnSuccess', response); }, 7 'expired-callback': () => { dotNetObj.invokeMethodAsync('CallbackOnExpired'); }, 8 'theme': theme.replace(/"/g, "'"), 9 'hl': language 10 }); 11 }); 12 }.bind(this), 1000); 13}; 14 15 16function execute_recaptcha_v3(dotNetObj, sitekey, action) { 17 grecaptcha.enterprise.ready(function () { 18 grecaptcha.enterprise.execute(sitekey, {action: action}).then(function (token) { 19 dotNetObj.invokeMethodAsync('CallbackOnSuccess', token); 20 }); 21 }); 22}; 23 24function render_recaptcha_v3(dotNetObj, sitekey, action) { 25 setTimeout(function () { 26 execute_recaptcha_v3(dotNetObj, sitekey, action); 27 }.bind(this), 1000); 28}; 29 30 31function reloadCaptcha() { 32 33 grecaptcha.enterprise.reset(); 34} 35 36function getResponse(widgetId) { 37 return grecaptcha.enterprise.getResponse(widgetId); 38}
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.