1/*! 2 * reCaptcha2 add-on 3 * This add-ons shows and validates a Google reCAPTCHA v2 4 * 5 * @link http://formvalidation.io/addons/reCaptcha2/ 6 * @license http://formvalidation.io/license/ 7 * @author https://twitter.com/formvalidation 8 * @copyright (c) 2013 - 2015 Nguyen Huu Phuoc 9 * @version v0.4.0, built on 2015-08-26 10:03:27 AM 10 */ 11!function(a){FormValidation.AddOn.reCaptcha2={html5Attributes:{element:"element",language:"language",message:"message",sitekey:"siteKey",stoken:"sToken",theme:"theme",timeout:"timeout"},CAPTCHA_FIELD:"g-recaptcha-response",CAPTCHA_TIMEOUT:120,init:function(b,c){var d=this,e="undefined"==typeof window.reCaptchaLoaded?function(){}:window.reCaptchaLoaded;window.reCaptchaLoaded=function(){e();var f={sitekey:c.siteKey,theme:c.theme||"light",callback:function(){b.updateStatus(d.CAPTCHA_FIELD,b.STATUS_VALID),setTimeout(function(){b.updateStatus(d.CAPTCHA_FIELD,b.STATUS_INVALID)},1e3*(c.timeout||d.CAPTCHA_TIMEOUT))}};c.sToken&&(f.stoken=c.sToken);var g=grecaptcha.render(c.element,f);a("#"+c.element).data("fv.addon.recaptcha.id",g).data("fv.validator",b),setTimeout(function(){d._addCaptcha(b,c)},3e3)};var f="//www.google.com/recaptcha/api.js?onload=reCaptchaLoaded&render=explicit"+(c.language?"&hl="+c.language:"");if(0===a("body").find('script[src="'+f+'"]').length){var g=document.createElement("script");g.type="text/javascript",g.async=!0,g.defer=!0,g.src=f,document.getElementsByTagName("body")[0].appendChild(g)}},reset:function(b){var c=a("#"+b).data("fv.addon.recaptcha.id");null!==c&&grecaptcha.reset(c)},_addCaptcha:function(a,b){var c=this;a.getForm().formValidation("addField",c.CAPTCHA_FIELD,{excluded:!1,validators:{callback:{message:b.message,callback:function(a){return""!==a}}}})}}}(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.