text: /*! validate v1.1.0 | (c) 2017 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/validate */
  !(function(t,e,x){"use strict";var r=(function(){var t=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"validity"),e=Object.getOwnPropertyDescriptor(HTMLButtonElement.prototype,"validity"),x=Object.getOwnPropertyDescriptor(HTMLSelectElement.prototype,"validity"),r=Object.getOwnPropertyDescriptor(HTMLTextAreaElement.prototype,"validity"),a={};return t&&(a.input=t.get),e&&(a.button=e.get),x&&(a.select=x.get),r&&(a.textarea=r.get),a})(),a=function(t){var x=t.getAttribute("type")||t.nodeName.toLowerCase(),a="number"===x||"range"===x,n=t.value.length,i=!0;if("radio"===t.type&&t.name){var u=e.getElementsByName(t.name);if(u.length>0)for(var o=0;o<u.length;o++)if(u[o].form===t.form&&t.checked){t=u[o];break}}var f={badInput:a&&n>0&&!/^[-+]?(?:\d+|\d*[.,]\d+)$/.test(t.value),patternMismatch:t.hasAttribute("pattern")&&n>0&&!1===new RegExp(t.getAttribute("pattern")).test(t.value),rangeOverflow:t.hasAttribute("max")&&a&&t.value>0&&Number(t.value)>Number(t.getAttribute("max")),rangeUnderflow:t.hasAttribute("min")&&a&&t.value>0&&Number(t.value)<Number(t.getAttribute("min")),stepMismatch:a&&(t.hasAttribute("step")&&"any"!==t.getAttribute("step")&&Number(t.value)%Number(t.getAttribute("step"))!=0||!t.hasAttribute("step")&&Number(t.value)%1!=0),tooLong:t.hasAttribute("maxLength")&&t.getAttribute("maxLength")>0&&n>parseInt(t.getAttribute("maxLength"),10),tooShort:t.hasAttribute("minLength")&&t.getAttribute("minLength")>0&&n>0&&n<parseInt(t.getAttribute("minLength"),10),typeMismatch:n>0&&("email"===x&&!/^([^\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))*$/.test(t.value)||"url"===x&&!/^(?:(?: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]+)*)(?::\d{2,5})?(?:[\/?#]\S*)?$/.test(t.value)),valueMissing:t.hasAttribute("required")&&(("checkbox"===x||"radio"===x)&&!t.checked||"select"===x&&(-1===t.selectedIndex||t.options[t.selectedIndex].value.length<1)||"checkbox"!==x&&"radio"!==x&&"select"!==x&&n<1)},c=t.tagName.toLowerCase(),d=c in r?r[c].call(t):{};for(var l in f)f.hasOwnProperty(l)&&(l in d&&d[l]&&(f[l]=!0),f[l]&&(i=!1));return f.valid=i,f};Object.defineProperty(HTMLInputElement.prototype,"validity",{get:function(){return a(this)},configurable:!0}),Object.defineProperty(HTMLButtonElement.prototype,"validity",{get:function(){return a(this)},configurable:!0}),Object.defineProperty(HTMLSelectElement.prototype,"validity",{get:function(){return a(this)},configurable:!0}),Object.defineProperty(HTMLTextAreaElement.prototype,"validity",{get:function(){return a(this)},configurable:!0})})(window,document);