text: /** 
   * Kendo UI v2016.2.714 (http://www.telerik.com/kendo-ui)                                                                                                                                               
   * Copyright 2016 Telerik AD. All rights reserved.                                                                                                                                                      
   *                                                                                                                                                                                                      
   * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
   * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
   * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
                                                                                                                                                                                                         
  
  */
  !function(t,define){define("kendo.validator.min",["kendo.core.min"],t)}(function(){return function(t,e){function a(e){var a,r=l.ui.validator.ruleResolvers||{},u={};for(a in r)t.extend(!0,u,r[a].resolve(e));return u}function r(t){return t.replace(/&amp/g,"&amp;").replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">")}function u(t){return t=(t+"").split("."),t.length>1?t[1].length:0}function n(e){return t(t.parseHTML?t.parseHTML(e):e)}function F(e,a){var r,u,n,F,i=t();for(n=0,F=e.length;F>n;n++)r=e[n],c.test(r.className)&&(u=r.getAttribute(l.attr("for")),u===a&&(i=i.add(r)));return i}var i,l=window.kendo,s=l.ui.Widget,o=".kendoValidator",d="k-invalid-msg",c=RegExp(d,"i"),f="k-invalid",p="k-valid",h=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,m=/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,v=":input:not(:button,[type=submit],[type=reset],[disabled],[readonly])",D=":checkbox:not([disabled],[readonly])",g="[type=number],[type=range]",x="blur",_="name",E="form",y="novalidate",C=t.proxy,k=function(t,e){return"string"==typeof e&&(e=RegExp("^(?:"+e+")$")),e.test(t)},A=function(t,e,a){var r=t.val();return t.filter(e).length&&""!==r?k(r,a):!0},b=function(t,e){return t.length?null!=t[0].attributes[e]:!1};l.ui.validator||(l.ui.validator={rules:{},messages:{}}),i=s.extend({init:function(e,r){var u=this,n=a(e),F="["+l.attr("validate")+"!=false]";r=r||{},r.rules=t.extend({},l.ui.validator.rules,n.rules,r.rules),r.messages=t.extend({},l.ui.validator.messages,n.messages,r.messages),s.fn.init.call(u,e,r),u._errorTemplate=l.template(u.options.errorTemplate),u.element.is(E)&&u.element.attr(y,y),u._inputSelector=v+F,u._checkboxSelector=D+F,u._errors={},u._attachEvents(),u._isValidated=!1},events:["validate","change"],options:{name:"Validator",errorTemplate:'<span class="k-widget k-tooltip k-tooltip-validation"><span class="k-icon k-warning"> </span> #=message#</span>',messages:{required:"{0} is required",pattern:"{0} is not valid",min:"{0} should be greater than or equal to {1}",max:"{0} should be smaller than or equal to {1}",step:"{0} is not valid",email:"{0} is not valid email",url:"{0} is not valid URL",date:"{0} is not valid date",dateCompare:"End date should be greater than or equal to the start date"},rules:{required:function(t){var e=t.filter("[type=checkbox]").length&&!t.is(":checked"),a=t.val();return!(b(t,"required")&&(""===a||!a||e))},pattern:function(t){return t.filter("[type=text],[type=email],[type=url],[type=tel],[type=search],[type=password]").filter("[pattern]").length&&""!==t.val()?k(t.val(),t.attr("pattern")):!0},min:function(t){if(t.filter(g+",["+l.attr("type")+"=number]").filter("[min]").length&&""!==t.val()){var e=parseFloat(t.attr("min"))||0,a=l.parseFloat(t.val());return a>=e}return!0},max:function(t){if(t.filter(g+",["+l.attr("type")+"=number]").filter("[max]").length&&""!==t.val()){var e=parseFloat(t.attr("max"))||0,a=l.parseFloat(t.val());return e>=a}return!0},step:function(t){if(t.filter(g+",["+l.attr("type")+"=number]").filter("[step]").length&&""!==t.val()){var e,a=parseFloat(t.attr("min"))||0,r=parseFloat(t.attr("step"))||1,n=parseFloat(t.val()),F=u(r);return F?(e=Math.pow(10,F),Math.floor((n-a)*e)%(r*e)/Math.pow(100,F)===0):(n-a)%r===0}return!0},email:function(t){return A(t,"[type=email],["+l.attr("type")+"=email]",h)},url:function(t){return A(t,"[type=url],["+l.attr("type")+"=url]",m)},date:function(t){return t.filter("[type^=date],["+l.attr("type")+"=date]").length&&""!==t.val()?null!==l.parseDate(t.val(),t.attr(l.attr("format"))):!0}},validateOnBlur:!0},destroy:function(){s.fn.destroy.call(this),this.element.off(o)},value:function(){return this._isValidated?0===this.errors().length:!1},_submit:function(t){return this.validate()?!0:(t.stopPropagation(),t.stopImmediatePropagation(),t.preventDefault(),!1)},_checkElement:function(t){var e=this.value();this.validateInput(t),this.value()!==e&&this.trigger("change")},_attachEvents:function(){var e=this;e.element.is(E)&&e.element.on("submit"+o,C(e._submit,e)),e.options.validateOnBlur&&(e.element.is(v)?(e.element.on(x+o,function(){e._checkElement(e.element)}),e.element.is(D)&&e.element.on("click"+o,function(){e._checkElement(e.element)})):(e.element.on(x+o,e._inputSelector,function(){e._checkElement(t(this))}),e.element.on("click"+o,e._checkboxSelector,function(){e._checkElement(t(this))})))},validate:function(){var t,e,a,r,u=!1,n=this.value();if(this._errors={},this.element.is(v))u=this.validateInput(this.element);else{for(r=!1,t=this.element.find(this._inputSelector),e=0,a=t.length;a>e;e++)this.validateInput(t.eq(e))||(r=!0);u=!r}return this.trigger("validate",{valid:u}),n!==u&&this.trigger("change"),u},validateInput:function(e){var a,u,F,i,s,o,c,h,m,v;return e=t(e),this._isValidated=!0,a=this,u=a._errorTemplate,F=a._checkValidity(e),i=F.valid,s="."+d,o=e.attr(_)||"",c=a._findMessageContainer(o).add(e.next(s).filter(function(){var e=t(this);return e.filter("["+l.attr("for")+"]").length?e.attr(l.attr("for"))===o:!0})).hide(),e.removeAttr("aria-invalid"),i?delete a._errors[o]:(h=a._extractMessage(e,F.key),a._errors[o]=h,m=n(u({message:r(h)})),v=c.attr("id"),a._decorateMessageContainer(m,o),v&&m.attr("id",v),c.replaceWith(m).length||m.insertAfter(e),m.show(),e.attr("aria-invalid",!0)),e.toggleClass(f,!i),e.toggleClass(p,i),i},hideMessages:function(){var t=this,e="."+d,a=t.element;a.is(v)?a.next(e).hide():a.find(e).hide()},_findMessageContainer:function(e){var a,r,u,n=l.ui.validator.messageLocators,i=t();for(r=0,u=this.element.length;u>r;r++)i=i.add(F(this.element[r].getElementsByTagName("*"),e));for(a in n)i=i.add(n[a].locate(this.element,e));return i},_decorateMessageContainer:function(t,e){var a,r=l.ui.validator.messageLocators;t.addClass(d).attr(l.attr("for"),e||"");for(a in r)r[a].decorate(t,e);t.attr("role","alert")},_extractMessage:function(t,e){var a=this,r=a.options.messages[e],u=t.attr(_);return r=l.isFunction(r)?r(t):r,l.format(t.attr(l.attr(e+"-msg"))||t.attr("validationMessage")||t.attr("title")||r||"",u,t.attr(e)||t.attr(l.attr(e)))},_checkValidity:function(t){var e,a=this.options.rules;for(e in a)if(!a[e].call(this,t))return{valid:!1,key:e};return{valid:!0}},errors:function(){var t,e=[],a=this._errors;for(t in a)e.push(a[t]);return e}}),l.ui.plugin(i)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(t,e,a){(a||e)()});
  //# sourceMappingURL=kendo.validator.min.js.map
  