1var My; 2(function (My) { 3 var reCAPTCHA; 4 (function (reCAPTCHA) { 5 let scriptLoaded = null; 6 function waitScriptLoaded(resolve) { 7 if (typeof (grecaptcha) !== 'undefined' && typeof (grecaptcha.render) !== 'undefined') 8 resolve(); 9 else 10 setTimeout(() => waitScriptLoaded(resolve), 100); 11 } 12 function init() { 13 const scripts = Array.from(document.getElementsByTagName('script')); 14 if (!scripts.some(s => (s.src || '').startsWith('https://www.google.com/recaptcha/api.js'))) { 15 const script = document.createElement('script'); 16 script.src = 'https://www.google.com/recaptcha/api.js?render=explicit'; 17 script.async = true; 18 script.defer = true; 19 document.head.appendChild(script); 20 } 21 if (scriptLoaded === null) 22 scriptLoaded = new Promise(waitScriptLoaded); 23 return scriptLoaded; 24 } 25 reCAPTCHA.init = init; 26 function render(dotNetObj, selector, siteKey) { 27 return grecaptcha.render(selector, { 28 'sitekey': siteKey, 29 'callback': (response) => { dotNetObj.invokeMethodAsync('CallbackOnSuccess', response); }, 30 'expired-callback': () => { dotNetObj.invokeMethodAsync('CallbackOnExpired'); } 31 }); 32 } 33 reCAPTCHA.render = render; 34 function resetCaptcha(widgetId) { 35 return grecaptcha.reset(widgetId); 36 } 37 reCAPTCHA.resetCaptcha = resetCaptcha; 38 function getResponse(widgetId) { 39 return grecaptcha.getResponse(widgetId); 40 } 41 reCAPTCHA.getResponse = getResponse; 42 })(reCAPTCHA = My.reCAPTCHA || (My.reCAPTCHA = {})); 43})(My || (My = {})); 44//# sourceMappingURL=script.js.map
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.