1/*! formbouncerjs v1.4.5 | (c) 2019 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/bouncer */ 2"document"in self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(t){"use strict";if("Element"in t){var e="classList",n="prototype",i=t.Element[n],r=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},s=Array[n].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1},a=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},u=function(t,e){if(""===e)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(e))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return s.call(t,e)},l=function(t){for(var e=o.call(t.getAttribute("class")||""),n=e?e.split(/\s+/):[],i=0,r=n.length;i<r;i++)this.push(n[i]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},c=l[n]=[],h=function(){return new l(this)};if(a[n]=Error[n],c.item=function(t){return this[t]||null},c.contains=function(t){return-1!==u(this,t+="")},c.add=function(){for(var t,e=arguments,n=0,i=e.length,r=!1;t=e[n]+"",-1===u(this,t)&&(this.push(t),r=!0),++n<i;);r&&this._updateClassName()},c.remove=function(){var t,e,n=arguments,i=0,r=n.length,o=!1;do for(t=n[i]+"",e=u(this,t);-1!==e;)this.splice(e,1),o=!0,e=u(this,t);while(++i<r);o&&this._updateClassName()},c.toggle=function(t,e){t+="";var n=this.contains(t),i=n?!0!==e&&"remove":!1!==e&&"add";return i&&this[i](t),!0===e||!1===e?e:!n},c.toString=function(){return this.join(" ")},r.defineProperty){var f={get:h,enumerable:!0,configurable:!0};try{r.defineProperty(i,e,f)}catch(t){void 0!==t.number&&-2146823252!==t.number||(f.enumerable=!1,r.defineProperty(i,e,f))}}else r[n].__defineGetter__&&i.__defineGetter__(e,h)}}(self),function(){"use strict";var t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var e=function(t){var e=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){var n,i=arguments.length;for(n=0;n<i;n++)t=arguments[n],e.call(this,t)}};e("add"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:n.call(this,t)}}t=null}()),Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(t){var e=this;if(!document.documentElement.contains(this))return null;do{if(e.matches(t))return e;e=e.parentElement}while(null!==e);return null}),function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"!=typeof window.CustomEvent&&(t.prototype=window.Event.prototype,window.CustomEvent=t)}(),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),function(t,e){"function"==typeof define&&define.amd?define([],function(){return e(t)}):"object"==typeof exports?module.exports=e(t):t.Bouncer=e(t)}("undefined"!=typeof global?global:"undefined"!=typeof window?window:this,function(t){"use strict";var e={fieldClass:"error",errorClass:"error-message",fieldPrefix:"bouncer-field_",errorPrefix:"bouncer-error_",patterns:{email:/^([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x22([^\x0d\x22\x5c\x80-\xff]|\x5c[\x00-\x7f])*\x22))*\x40([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d)(\x2e([^\x00-\x20\x22\x28\x29\x2c\x2e\x3a-\x3c\x3e\x40\x5b-\x5d\x7f-\xff]+|\x5b([^\x0d\x5b-\x5d\x80-\xff]|\x5c[\x00-\x7f])*\x5d))*(\.\w{2,})+$/,url:/^(?:(?:https?|HTTPS?|ftp|FTP):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-zA-Z\u00a1-\uffff0-9]-*)*[a-zA-Z\u00a1-\uffff0-9]+)(?:\.(?:[a-zA-Z\u00a1-\uffff0-9]-*)*[a-zA-Z\u00a1-\uffff0-9]+)*(?:\.(?:[a-zA-Z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[\/?#]\S*)?$/,number:/^(?:[-+]?[0-9]*[.,]?[0-9]+)$/,color:/^#?([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,date:/(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31))/,time:/^(?:(0[0-9]|1[0-9]|2[0-3])(:[0-5][0-9]))$/,month:/^(?:(?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])))$/},customValidations:{},messageAfterField:!0,messageCustom:"data-bouncer-message",messageTarget:"data-bouncer-target",messages:{missingValue:{checkbox:"This field is required.",radio:"Please select a value.",select:"Please select a value.","select-multiple":"Please select at least one value.",default:"Please fill out this field."},patternMismatch:{email:"Please enter a valid email address.",url:"Please enter a URL.",number:"Please enter a number",color:"Please match the following format: #rrggbb",date:"Please use the YYYY-MM-DD format",time:"Please use the 24-hour time format. Ex. 23:00",month:"Please use the YYYY-MM format",default:"Please match the requested format."},outOfRange:{over:"Please select a value that is no more than {max}.",under:"Please select a value that is no less than {min}."},wrongLength:{over:"Please shorten this text to no more than {maxLength} characters. You are currently using {length} characters.",under:"Please lengthen this text to {minLength} characters or more. You are currently using {length} characters."},fallback:"There was an error with this field."},disableSubmit:!1,emitEvents:!0},n=function(t,e){Array.prototype.forEach.call(t,e)},i=function(){var t={};return n(arguments,function(e){for(var n in e){if(!e.hasOwnProperty(n))return;"[object Object]"===Object.prototype.toString.call(e[n])?t[n]=i(t[n],e[n]):t[n]=e[n]}}),t},r=function(e,n,i){if("function"==typeof t.CustomEvent){var r=new CustomEvent(n,{bubbles:!0,detail:i||{}});e.dispatchEvent(r)}},o=function(t,e){return{missingValue:function(t){if(!t.hasAttribute("required"))return!1;if("checkbox"===t.type)return!t.checked;var e=t.value.length;return"radio"===t.type&&(e=Array.prototype.filter.call(t.form.querySelectorAll('[name="'+s(t.name)+'"]'),function(t){return t.checked}).length),e<1}(t),patternMismatch:(n=t,i=e,r=n.getAttribute("pattern"),!(!(r=r?new RegExp("^(?:"+r+")$"):i.patterns[n.type])||!n.value||n.value.length<1||n.value.match(r))),outOfRange:function(t){if(!t.value||t.value.length<1)return!1;var e=t.getAttribute("max"),n=t.getAttribute("min"),i=parseFloat(t.value);return e&&e<i?"over":!!(n&&i<n)&&"under"}(t),wrongLength:function(t){if(!t.value||t.value.length<1)return!1;var e=t.getAttribute("maxlength"),n=t.getAttribute("minlength"),i=t.value.length;return e&&e<i?"over":!!(n&&i<n)&&"under"}(t)};var n,i,r},s=function(t){for(var e,n=String(t),i=n.length,r=-1,o="",s=n.charCodeAt(0);++r<i;){if(0===(e=n.charCodeAt(r)))throw new InvalidCharacterError("Invalid character: the input contains U+0000.");o+=1<=e&&e<=31||127==e||0===r&&48<=e&&e<=57||1===r&&48<=e&&e<=57&&45===s?"\\"+e.toString(16)+" ":128<=e||45===e||95===e||48<=e&&e<=57||65<=e&&e<=90||97<=e&&e<=122?n.charAt(r):"\\"+n.charAt(r)}return o},a=function(t,e,n){var i=t.name?t.name:t.id;return!i&&n&&(i=e.fieldPrefix+Math.floor(999*Math.random()),t.id=i),"checkbox"===t.type&&(i+="_"+(t.value||t.id)),i},u=function(t,e){var n=document.createElement("div");n.className=e.errorClass,n.id=e.errorPrefix+a(t,e,!0);var i=function(t,e,n){var i=t.getAttribute(n.messageTarget);if(i){var r=t.form.querySelector(i);if(r)return r.firstChild||r.appendChild(document.createTextNode(""))}return n.messageAfterField?e.nextSibling:e}(t,function(t){if("radio"===t.type&&t.name){var e=t.form.querySelectorAll('[name="'+s(t.name)+'"]');t=e[e.length-1]}return"radio"!==t.type&&"checkbox"!==t.type||(t=t.closest("label")||t.form.querySelector('[for="'+t.i
2d+'"]')||t),t}(t),e);return i.parentNode.insertBefore(n,i),n},l=function(t,e,n){t.classList.add(n.fieldClass),t.setAttribute("aria-describedby",e.id),t.setAttribute("aria-invalid",!0)},c=function(t,e,n){var i,o,c,h=t.form.querySelector("#"+s(n.errorPrefix+a(t,n)))||u(t,n),f=function(t,e,n){var i=n.messages;if(e.missingValue)return i.missingValue[t.type]||i.missingValue.default;if(e.outOfRange)return i.outOfRange[e.outOfRange].replace("{max}",t.getAttribute("max")).replace("{min}",t.getAttribute("min")).replace("{length}",t.value.length);if(e.wrongLength)return i.wrongLength[e.wrongLength].replace("{maxLength}",t.getAttribute("maxlength")).replace("{minLength}",t.getAttribute("minlength")).replace("{length}",t.value.length);if(e.patternMismatch){var r=t.getAttribute(n.messageCustom);return r||i.patternMismatch[t.type]||i.patternMismatch.default}for(var o in n.customValidations)if(n.customValidations.hasOwnProperty(o)&&e[o]&&i[o])return i[o];return i.fallback}(t,e,n);h.textContent="function"==typeof f?f(t,n):f,o=h,c=n,"radio"===(i=t).type&&i.name&&Array.prototype.forEach.call(document.querySelectorAll('[name="'+i.name+'"]'),function(t){l(t,o,c)}),l(i,o,c),n.emitEvents&&r(t,"bouncerShowError",{errors:e})},h=function(t,e){t.classList.remove(e.fieldClass),t.removeAttribute("aria-describedby"),t.removeAttribute("aria-invalid")},f=function(t,e){var n,i,o=t.form.querySelector("#"+s(e.errorPrefix+a(t,e)));o&&(o.parentNode.removeChild(o),i=e,"radio"===(n=t).type&&n.name?Array.prototype.forEach.call(document.querySelectorAll('[name="'+n.name+'"]'),function(t){h(t,i)}):h(n,i),e.emitEvents&&r(t,"bouncerRemoveError"))};return function(t,s){var a,u={};u.validate=function(t,e){if(!t.disabled&&!t.readOnly&&"reset"!==t.type&&"submit"!==t.type&&"button"!==t.type){var n,r,s,u=i(a,e||{}),l=(s=o(n=t,r=u),{valid:!function(t){for(var e in t)if(t[e])return!0;return!1}(s=function(t,e,n,i){for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r](t,i));return e}(n,s,r.customValidations,r)),errors:s});if(!l.valid)return c(t,l.errors,u),l;f(t,u)}},u.validateAll=function(t){return Array.prototype.filter.call(t.querySelectorAll("input, select, textarea"),function(t){var e=u.validate(t);return e&&!e.valid})};var l=function(e){e.target.form&&e.target.form.matches(t)&&u.validate(e.target)},h=function(e){e.target.form&&e.target.form.matches(t)&&e.target.classList.contains(a.fieldClass)&&u.validate(e.target)},d=function(e){if(e.target.matches(t)){e.preventDefault();var n=u.validateAll(e.target);if(0<n.length)return n[0].focus(),void r(e.target,"bouncerFormInvalid",{errors:n});a.disableSubmit||e.target.submit(),a.emitEvents&&r(e.target,"bouncerFormValid")}};u.destroy=function(){var e,i,o;document.removeEventListener("blur",l,!0),document.removeEventListener("input",h,!1),document.removeEventListener("click",h,!1),document.removeEventListener("submit",d,!1),e=t,i=a,n(document.querySelectorAll(e),function(t){n(t.querySelectorAll("input, select, textarea"),function(t){f(t,i)})}),o=t,n(document.querySelectorAll(o),function(t){t.removeAttribute("novalidate")}),a.emitEvents&&r(document,"bouncerDestroyed",{settings:a}),a=null};var p;return a=i(e,s||{}),p=t,n(document.querySelectorAll(p),function(t){t.setAttribute("novalidate",!0)}),document.addEventListener("blur",l,!0),document.addEventListener("input",h,!1),document.addEventListener("click",h,!1),document.addEventListener("submit",d,!1),a.emitEvents&&r(document,"bouncerInitialized",{settings:a}),u}});
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.