点击下面链接地址将网页中的所有代码复制到一个新建的文件名为 : 即可。也可以直接复制下面代码块中的代码到新建的js文件。
/*!
* BootstrapValidator ()
* The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
*
* @version v0.5.3, built on 2014-11-05 9:14:18 PM
* @author /nghuuphuoc
* @copyright (c) 2013 - 2014 Nguyen Huu Phuoc
* @license Commercial: /license/
* Non-commercial: /licenses/by-nc-nd/3.0/
*/
if("undefined"==typeof jQuery)throw new Error("BootstrapValidator requires jQuery");!function(a){var b=(" ")[0].split(".");if(+b[0]<2&&+b[1]<9||1===+b[0]&&9===+b[1]&&+b[2]<1)throw new Error("BootstrapValidator requires jQuery version 1.9.1 or higher")}(),function(a){var b=function(b,c){this.$form=a(b),=({},.DEFAULT_OPTIONS,c),this.$invalidFields=a([]),this.$submitButton=null,this.$hiddenButton=null,this.STATUS_NOT_VALIDATED="NOT_VALIDATED",this.STATUS_VALIDATING="VALIDATING",this.STATUS_INVALID="INVALID",this.STATUS_VALID="VALID";var d=function(){for(var a=3,b=("div"),c=||[];="<!--[if gt IE "+ ++a+"]><br><![endif]-->",c[0];);return a>4?a:!a}(),e=("div");this._changeEvent=9!==d&&"oninput"in e?"input":"keyup",this._submitIfValid=null,this._cacheFields={},this._init()};={constructor:b,_init:function(){var b=this,c={autoFocus:this.$("data-bv-autofocus"),container:this.$("data-bv-container"),events:{formInit:this.$("data-bv-events-form-init"),formError:this.$("data-bv-events-form-error"),formSuccess:this.$("data-bv-events-form-success"),fieldAdded:this.$("data-bv-events-field-added"),fieldRemoved:this.$("data-bv-events-field-removed"),fieldInit:this.$("data-bv-events-field-init"),fieldError:this.$("data-bv-events-field-error"),fieldSuccess:this.$("data-bv-events-field-success"),fieldStatus:this.$("data-bv-events-field-status"),validatorError:this.$("data-bv-events-validator-error"),validatorSuccess:this.$("data-bv-events-validator-success")},excluded:this.$("data-bv-excluded"),feedbackIcons:{valid:this.$("data-bv-feedbackicons-valid"),invalid:this.$("data-bv-feedbackicons-invalid"),validating:this.$("data-bv-feedbackicons-validating")},group:this.$("data-bv-group"),live:this.$("data-bv-live"),message:this.$("data-bv-message"),onError:this.$("data-bv-onerror"),onSuccess:this.$("data-bv-onsuccess"),submitButtons:this.$("data-bv-submitbuttons"),threshold:this.$("data-bv-threshold"),trigger:this.$("data-bv-trigger"),verbose:this.$("data-bv-verbose"),fields:{}};this.$("novalidate","novalidate").addClass().on("",function(a){(),()}).on("",,function(){b.$submitButton=a(this),b._submitIfValid=!0}).find("[name], [data-bv-field]").each(function(){var d=a(this),e=("name")||("data-bv-field"),f=b._parseOptions(d);f&&(("data-bv-field",e),[e]=({},f,[e]))}),=(!0,,c),this.$hiddenButton=a("<button/>").attr("type","submit").prependTo(this.$form).addClass("bv-hidden-submit").css({display:"none",width:0,height:0}),this.$("",'[type="submit"]',function(c){if(!()){var d=a(),e=('[type="submit"]')?(0):('[type="submit"]').eq(0);!||()||(b.$hiddenButton)||b.$("").submit()}});for(var d in )this._initField(d);this.$((),{bv:this,options:}),&&this.$(,function(c){(,[c])}),&&this.$(,function(c){(,[c])})},_parseOptions:function(b){var c,d,e,f,g,h,i,j,k,l=("name")||("data-bv-field"),m={};for(d in )if(c=[d],e="data-bv-"+(),f=(e)+"",k="function"==typeof c.enableByHtml5?c.enableByHtml5(b):null,k&&"false"!==f||k!==!0&&(""===f||"true"===f||e===())){c.html5Attributes=({},{message:"message",onerror:"onError",onsuccess:"onSuccess"},c.html5Attributes),m[d]=({},k===!0?{}:k,m[d]);for(j in c.html5Attributes)g=c.html5Attributes[j],h="data-bv-"+()+"-"+j,i=(h),i&&("true"===i||h===()?i=!0:"false"===i&&(i=!1),m[d][g]=i)}var n={autoFocus:("data-bv-autofocus"),container:("data-bv-container"),excluded:("data-bv-excluded"),feedbackIcons:("data-bv-feedbackicons"),group:("data-bv-group"),message:("data-bv-message"),onError:("data-bv-onerror"),onStatus:("data-bv-onstatus"),onSuccess:("data-bv-onsuccess"),selector:("data-bv-selector"),threshold:("data-bv-threshold"),trigger:("data-bv-trigger"),verbose:("data-bv-verbose"),validators:m},o=(n),p=(m);return!p||!o&&&&[l]?(=m,n):null},_initField:function(b){var c=a([]);switch(typeof b){case"object":c=b,b=("data-bv-field");break;case"string":c=(b),("data-bv-field",b)}if(0!==&&null!==[b]&&null!==[b].validators){var d;for(d in [b].validators)[d]||delete [b].validators[d];null===[b].enabled&&([b].enabled=!0);for(var e=this,f=,g=("type"),h=1===f||"radio"===g||"checkbox"===g,i="radio"===g||"checkbox"===g||"file"===g||"SELECT"===(0).get(0).tagName?"change":this._changeEvent,j=([b].trigger||||i).split(" "),k=(j,function(a){return a+"."}).join(" "),l=0;f>l;l++){var m=(l),n=[b].group||,o=(n),p="function"==typeof([b].container||)?([b].container||).call(this,m,this):[b].container||,q=p&&"tooltip"!==p&&"popover"!==p?a(p):this._getMessageContainer(m,n);p&&"tooltip"!==p&&"popover"!==p&&("has-error"),('.help-block[data-bv-validator][data-bv-for="'+b+'"]').remove(),('i[data-bv-icon-for="'+b+'"]').remove(),(k).on(k,function(){(a(this),e.STATUS_NOT_VALIDATED)}),("",q);for(d in [b].validators)("."+d,this.STATUS_NOT_VALIDATED),h&&l!==f-1||a("<small/>").css("display","none").addClass("help-block").attr("data-bv-validator",d).attr("data-bv-for",b).attr("data-bv-result",this.STATUS_NOT_VALIDATED).html(this._getMessage(b,d)).appendTo(q),"function"==typeof [d].init&&[d].init(this,m,[b].validators[d]);if([b].feedbackIcons!==!1&&"false"!==[b].feedbackIcons&&&&&&&&&&(!h||l===f-1)){("has-feedback");var r=a("<i/>").css("display","none").addClass("form-control-feedback").attr("data-bv-icon-for",b).insertAfter(m);if("checkbox"===g||"radio"===g){var s=();(g)?(s):().hasClass(g)&&(())}0===("label").length&&("bv-no-label"),0!==(".input-group").length&&("bv-icon-input-group").insertAfter((".input-group").eq(0)),h?l===f-1&&("",r):("",r),p&&("").on("",function(){switch(p){case"tooltip":a(this).data("").tooltip("show");break;case"popover":a(this).data("").popover("show")}}).off("").on("",function(){switch(p){case"tooltip":a(this).data("").tooltip("hide");break;case"popover":a(this).data("").popover("hide")}})}}switch((,function(b,c){var d=(,null,"onSuccess");d&&(d,[b,c])}).on(,function(b,c){var d=(,null,"onError");d&&(d,[b,c])}).on(,function(b,c){var d=(,null,"onStatus");d&&(d,[b,c])}).on(,function(b,c){var d=(,,"onError");d&&(d,[b,c])}).on(,function(b,c){var d=(,,"onSuccess");d&&(d,[b,c])}),k=(j,function(a){return a+"."}).join(" "),){case"submitted":break;case"disabled":(k);break;case"enabled":default:(k).on(k,function(){e._exceedThreshold(a(this))&&(a(this))})}((),{bv:this,field:b,element:c})}},_getMessage:function(b,c){if(!([b]&&[c]&&[b].validators&&[b].validators[c]))return"";var d=[b].validators[c];switch(!0){case!!:return ;case!![b].message:return [b].message;case!!.i18n[c]:return .i18n[c]["default"];default:return }},_getMessageContainer:function(a,b){var c=();if((b))return c;var d=("class");if(!d)return this._getMessageContainer(c,b);d=(" ");for(var e=,f=0;e>f;f++)if(/^col-(xs|sm|md|lg)-\d+$/.test(d[f])||/^col-(xs|sm|md|lg)-offset-\d+$/.test(d[f]))return c;return this._getMessageContainer(c,b)},_submit:function(){var b=(),c=b?:,d=(c);this.$(d),this.$submitButton&&(b?this._onSuccess(d):this._onError(d))},_isExcluded:function(b){var c=("data-bv-excluded"),d=("data-bv-field")||("name");switch(!0){case!!d&&&&[d]&&("true"===[d].excluded||[d].excluded===!0):case"true"===c:case""===c:return!0;case!!d&&&&[d]&&("false"===[d].excluded||[d].excluded===!1):case"false"===c:return!1;default:if(){"string"==typeof &&(=((","),function(b){return (b)}));for(var e=,f=0;e>f;f++)if("string"==typeof [f]&&([f])||"function"==typeof [f]&&[f].call(this,b,this)===!0)return!0}return!1}},_exceedThreshold:function(b){var c=("data-bv-field"),d=[c].threshold||;if(!d)return!0;var e=-1!==(("type"),["button","checkbox","file","hidden","image","radio","reset","submit"]);return e||().length>=d},_onError:function(b){if(!()){if("submitted"===){="enabled";var c=this;for(var d in )!function(b){var e=(b);if(){var f=a(e[0]).attr("type"),g="radio"===f||"checkbox"===f||"file"===f||"SELECT"===a(e[0]).get(0).tagName?"change":c._changeEvent,h=[d].trigger||||g,i=((" "),function(a){return a+"."}).join(" ");(i).on(i,function(){c._exceedThreshold(a(this))&&(a(this))})}}(d)}for(var e=0;e<this.$;e++){var f=this.$(e),g=this._isOptionEnabled(("data-bv-field"),"autoFocus");if(g){var h,i=(".tab-pane");i&&(h=("id"))&&a('a[href="#'+h+'"][data-toggle="tab"]').tab("show"),();break}}}},_onSuccess:function(a){()||(!0).defaultSubmit()},_onFieldValidated:function(b,c){var d=("data-bv-field"),e=[d].validators,f={},g=0,h={bv:this,field:d,element:b,validator:c,result:("."+c)};if(c)switch(("."+c)){case this.STATUS_INVALID:((),h);break;case this.STATUS_VALID:((),h)}f[this.STATUS_NOT_VALIDATED]=0,f[this.STATUS_VALIDATING]=0,f[this.STATUS_INVALID]=0,f[this.STATUS_VALID]=0;for(var i in e)if(e[i].enabled!==!1){g++;var j=("."+i);j&&f[j]++}f[this.STATUS_VALID]===g?(this.$invalidFields=this.$(b),((),h)):(0===f[this.STATUS_NOT_VALIDATED]||!this._isOptionEnabled(d,"verbose"))&&0===f[this.STATUS_VALIDATING]&&f[this.STATUS_INVALID]>0&&(this.$invalidFields=this.$(b),((),h))},_isOptionEnabled:function(a,b){return![a]||"true"!==[a][b]&&[a][b]!==!0?![a]||"false"!==[a][b]&&[a][b]!==!1?"true"===[b]||[b]===!0:!1:!0},getFieldElements:function(b){return this._cacheFields[b]||(this._cacheFields[b]=[b]&&[b].selector?a([b].selector):this.$('[name="'+b+'"]')),this._cacheFields[b]},getOptions:function(a,b,c){if(!a)return c?[c]:;if("object"==typeof a&&(a=("data-bv-field")),![a])return null;var d=[a];return b?&&[b]?c?[b][c]:[b]:null:c?d[c]:d},disableSubmitButtons:function(a){return a?"disabled"!==&&this.$().attr("disabled","disabled"):this.$().removeAttr("disabled"),this},validate:function(){if(!)return this;(!0),this._submitIfValid=!1;for(var a in )(a);return this._submit(),this._submitIfValid=!0,this},validateField:function(b){var c=a([]);switch(typeof b){case"object":c=b,b=("data-bv-field");break;case"string":c=(b)}if(0===||![b]||[b].enabled===!1)return this;for(var d,e,f=this,g=("type"),h="radio"===g||"checkbox"===g?1:,i="radio"===g||"checkbox"===g,j=[b].validators,k=this._isOptionEnabled(b,"verbose"),l=0;h>l;l++){var m=(l);if(!this._isExcluded(m)){var n=!1;for(d in j){if(("."+d)&&("."+d).reject(),n)break;var o=("."+d);if(o!==this.STATUS_VALID&&o!==this.STATUS_INVALID)if(j[d].enabled!==!1){if(("."+d,this.STATUS_VALIDATING),e=[d].validate(this,m,j[d]),"object"==typeof e&&)(i?b:m,this.STATUS_VALIDATING,d),("."+d,e),(function(a,b,c){("."+b).data("."+b,c),&&(a,b,),(i?("data-bv-field"):a,?f.STATUS_VALID:f.STATUS_INVALID,b),&&f._submitIfValid===!0?f._submit():||k||(n=!0)});else if("object"==typeof e&&void 0!==&&void 0!==){if(("."+d,e),(i?b:m,d,),(i?b:m,?this.STATUS_VALID:this.STATUS_INVALID,d),!&&!k)break}else if("boolean"==typeof e&&(("."+d,e),(i?b:m,e?this.STATUS_VALID:this.STATUS_INVALID,d),!e&&!k))break}else (i?b:m,this.STATUS_VALID,d);else this._onFieldValidated(m,d)}}}return this},updateMessage:function(b,c,d){var e=a([]);switch(typeof b){case"object":e=b,b=("data-bv-field");break;case"string":e=(b)}(function(){a(this).data("").find('.help-block[data-bv-validator="'+c+'"][data-bv-for="'+b+'"]').html(d)})},updateStatus:function(b,c,d){var e=a([]);switch(typeof b){case"object":e=b,b=("data-bv-field");break;case"string":e=(b)}c===this.STATUS_NOT_VALIDATED&&(this._submitIfValid=!1);for(var f=this,g=("type"),h=[b].group||,i="radio"===g||"checkbox"===g?1:,j=0;i>j;j++){var k=(j);if(!this._isExcluded(k)){var l=(h),m=(""),n=('.help-block[data-bv-validator][data-bv-for="'+b+'"]'),o=d?('[data-bv-validator="'+d+'"]'):n,p=(""),q="function"==typeof([b].container||)?([b].container||).call(this,k,this):[b].container||,r=null;if(d)("."+d,c);else for(var s in [b].validators)("."+s,c);("data-bv-result",c);var t,u,v=(".tab-pane");switch(v&&(t=("id"))&&(u=a('a[href="#'+t+'"][data-toggle="tab"]').parent()),c){case this.STATUS_VALIDATING:r=null,(!0),("has-success").removeClass("has-error"),p&&().removeClass().addClass().show(),u&&("bv-tab-success").removeClass("bv-tab-error");break;case this.STATUS_INVALID:r=!1,(!0),("has-success").addClass("has-error"),p&&().removeClass().addClass().show(),u&&("bv-tab-success").addClass("bv-tab-error");break;case this.STATUS_VALID:r=0===('[data-bv-result="'+this.STATUS_NOT_VALIDATED+'"]').length?('[data-bv-result="'+this.STATUS_VALID+'"]').length===:null,null!==r&&((this.$submitButton?!():!r),p&&().removeClass().removeClass().addClass(r?:).show()),("has-error has-success").addClass((l)?"has-success":"has-error"),u&&("bv-tab-success").removeClass("bv-tab-error").addClass((v)?"bv-tab-success":"bv-tab-error");break;case this.STATUS_NOT_VALIDATED:default:r=null,(!1),("has-success").removeClass("has-error"),p&&().removeClass().removeClass().hide(),u&&("bv-tab-success").removeClass("bv-tab-error")}switch(!0){case p&&"tooltip"===q:r===!1?("cursor","pointer").tooltip("destroy").tooltip({container:"body",html:!0,placement:"auto top",title:('[data-bv-result="'+f.STATUS_INVALID+'"]').eq(0).html()}):("cursor","").tooltip("destroy");break;case p&&"popover"===q:r===!1?("cursor","pointer").popover("destroy").popover({container:"body",content:('[data-bv-result="'+f.STATUS_INVALID+'"]').eq(0).html(),html:!0,placement:"auto top",trigger:"hover click"}):("cursor","").popover("destroy");break;default:c===this.STATUS_INVALID?():()}((),{bv:this,field:b,element:k,status:c}),this._onFieldValidated(k,d)}}return this},isValid:function(){for(var a in )if(!(a))return!1;return!0},isValidField:function(b){var c=a([]);switch(typeof b){case"object":c=b,b=("data-bv-field");break;case"string":c=(b)}if(0===||![b]||[b].enabled===!1)return!0;for(var d,e,f,g=("type"),h="radio"===g||"checkbox"===g?1:,i=0;h>i;i++)if(d=(i),!this._isExcluded(d))for(e in [b].validators)if([b].validators[e].enabled!==!1&&(f=("."+e),f!==this.STATUS_VALID))return!1;return!0},isValidContainer:function(b){var c=this,d={},e="string"==typeof b?a(b):b;if(0===)return!0;("[data-bv-field]").each(function(){var b=a(this),e=("data-bv-field");c._isExcluded(b)||d[e]||(d[e]=b)});for(var f in d){var g=d[f];if(("").find('.help-block[data-bv-validator][data-bv-for="'+f+'"]').filter('[data-bv-result="'+this.STATUS_INVALID+'"]').length>0)return!1}return!0},defaultSubmit:function(){this.$submitButton&&a("<input/>").attr("type","hidden").attr("data-bv-submit-hidden","").attr("name",this.$("name")).val(this.$()).appendTo(this.$form),this.$("").submit()},getInvalidFields:function(){return this.$invalidFields},getSubmitButton:function(){return this.$submitButton},getMessages:function(b,c){var d=this,e=[],f=a([]);switch(!0){case b&&"object"==typeof b:f=b;break;case b&&"string"==typeof b:var g=(b);if(>0){var h=("type");f="radio"===h||"checkbox"===h?(0):g}break;default:f=this.$invalidFields}var i=c?'[data-bv-validator="'+c+'"]':"";return (function(){e=(a(this).data("").find('.help-block[data-bv-for="'+a(this).attr("data-bv-field")+'"][data-bv-result="'+d.STATUS_INVALID+'"]'+i).map(function(){var b=a(this).attr("data-bv-validator"),c=a(this).attr("data-bv-for");return [c].validators[b].enabled===!1?"":a(this).html()}).get())}),e},updateOption:function(a,b,c,d){return"object"==typeof a&&(a=("data-bv-field")),[a]&&[a].validators[b]&&([a].validators[b][c]=d,(a,this.STATUS_NOT_VALIDATED,b)),this},addField:function(b,c){var d=a([]);switch(typeof b){case"object":d=b,b=("data-bv-field")||("name");break;case"string":delete this._cacheFields[b],d=(b)}("data-bv-field",b);for(var e=("type"),f="radio"===e||"checkbox"===e?1:,g=0;f>g;g++){var h=(g),i=this._parseOptions(h);i=null===i?c:(!0,c,i),[b]=(!0,[b],i),this._cacheFields[b]=this._cacheFields[b]?this._cacheFields[b].add(h):h,this._initField("checkbox"===e||"radio"===e?b:h)}return (!1),this.$((),{field:b,element:d,options:[b]}),this},removeField:function(b){var c=a([]);switch(typeof b){case"object":c=b,b=("data-bv-field")||("name"),("data-bv-field",b);break;case"string":c=(b)}if(0===)return this;for(var d=("type"),e="radio"===d||"checkbox"===d?1:,f=0;e>f;f++){var g=(f);this.$invalidFields=this.$(g),this._cacheFields[b]=this._cacheFields[b].not(g)}return this._cacheFields[b]&&0!==this._cacheFields[b].length||delete [b],("checkbox"===d||"radio"===d)&&this._initField(b),(!1),this.$((),{field:b,element:c}),this},resetField:function(b,c){var d=a([]);switch(typeof b){case"object":d=b,b=("data-bv-field");break;case"string":d=(b)}var e=;if([b])for(var f=0;e>f;f++)for(var g in [b].validators)(f).removeData("."+g);if((b,this.STATUS_NOT_VALIDATED),c){var h=("type");"radio"===h||"checkbox"===h?("checked").removeAttr("selected"):("")}return this},resetForm:function(b){for(var c in )(c,b);return this.$invalidFields=a([]),this.$submitButton=null,(!1),this},revalidateField:function(a){return (a,this.STATUS_NOT_VALIDATED).validateField(a),this},enableFieldValidators:function(a,b,c){var d=[a].validators;if(c&&d&&d[c]&&d[c].enabled!==b)[a].validators[c].enabled=b,(a,this.STATUS_NOT_VALIDATED,c);else if(!c&&[a].enabled!==b){[a].enabled=b;for(var e in d)(a,b,e)}return this},getDynamicOption:function(b,c){var d="string"==typeof b?(b):b,e=();if("function"==typeof c)return (c,[e,this,d]);if("string"==typeof c){var f=(c);return ?():(c,[e,this,d])||c}return null},destroy:function(){var b,c,d,e,f,g;for(b in ){c=(b),g=[b].group||;for(var h=0;h<;h++){if(d=(h),("").find('.help-block[data-bv-validator][data-bv-for="'+b+'"]').remove().end().end().removeData("").parents(g).removeClass("has-feedback has-error has-success").end().off(".bv").removeAttr("data-bv-field"),f=("")){var i="function"==typeof([b].container||)?([b].container||).call(this,d,this):[b].container||;switch(i){case"tooltip":("destroy").remove();break;case"popover":("destroy").remove();break;default:()}}("");for(e in [b].validators)("."+e)&&("."+e).reject(),("."+e).removeData("."+e).removeData("."+e),"function"==typeof [e].destroy&&[e].destroy(this,d,[b].validators[e])}}(!1),this.$(),this.$().off(".bv").removeData("bootstrapValidator").find("[data-bv-submit-hidden]").remove().end().find('[type="submit"]').off("")}},=function(c){var d=arguments;return (function(){var e=a(this),f=("bootstrapValidator"),g="object"==typeof c&&c;f||(f=new b(this,g),("bootstrapValidator",f)),"string"==typeof c&&f[c].apply(f,(d,1))})},.DEFAULT_OPTIONS={autoFocus:!0,container:null,elementClass:"bv-form",events:{formInit:"",formError:"",formSuccess:"",fieldAdded:"",fieldRemoved:"",fieldInit:"",fieldError:"",fieldSuccess:"",fieldStatus:"",validatorError:"",validatorSuccess:""},excluded:[":disabled",":hidden",":not(:visible)"],feedbackIcons:{valid:null,invalid:null,validating:null},fields:null,group:".form-group",live:"enabled",message:"This value is not valid",submitButtons:'[type="submit"]',threshold:null,verbose:!0},={},.i18n={},=b,={call:function(a,b){if("function"==typeof a)return (this,b);if("string"==typeof a){"()"===(-2)&&(a=(0,-2));for(var c=("."),d=(),e=window,f=0;f<;f++)e=e[c[f]];return"undefined"==typeof e[d]?null:e[d].apply(this,b)}},format:function(b,c){(c)||(c=[c]);for(var d in c)b=("%s",c[d]);return b},date:function(a,b,c,d){if(isNaN(a)||isNaN(b)||isNaN(c))return!1;if(>2||>2||>4)return!1;if(c=parseInt(c,10),b=parseInt(b,10),a=parseInt(a,10),1e3>a||a>9999||0>=b||b>12)return!1;var e=[31,28,31,30,31,30,31,31,30,31,30,31];if((a%400===0||a%100!==0&&a%4===0)&&(e[1]=29),0>=c||c>e[b-1])return!1;if(d===!0){var f=new Date,g=(),h=(),i=();return g>a||a===g&&h>b-1||a===g&&b-1===h&&i>c}return!0},luhn:function(a){for(var b=,c=0,d=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],e=0;b--;)e+=d[c][parseInt((b),10)],c^=1;return e%10===0&&e>0},mod11And10:function(a){for(var b=5,c=,d=0;c>d;d++)b=(2*(b||10)%11+parseInt((d),10))%10;return 1===b},mod37And36:function(a,b){b=b||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";for(var c=,d=,e=(c/2),f=0;d>f;f++)e=(2*(e||c)%(c+1)+((f)))%c;return 1===e}}}(),function(a){.i18n.base64=(.i18n.base64||{},{"default":"Please enter a valid base 64 encoded"}),.base64={validate:function(a,b){var c=();return""===c?!0:/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/.test(c)}}}(),function(a){.=(.||{},{"default":"Please enter a value between %s and %s",notInclusive:"Please enter a value between %s and %s strictly"}),={html5Attributes:{message:"message",min:"min",max:"max",inclusive:"inclusive"},enableByHtml5:function(a){return"range"===("type")?{min:("min"),max:("max")}:!1},validate:function(b,c,d){var e=();if(""===e)return!0;if(e=this._format(e),!(e))return!1;var f=()?:(c,),g=()?:(c,),h=this._format(f),i=this._format(g);return e=parseFloat(e),===!0||void 0===?{valid:e>=h&&i>=e,message:(||.["default"],[f,g])}:{valid:e>h&&i>e,message:(||.,[f,g])}},_format:function(a){return(a+"").replace(",",".")}}}(),function(a){={validate:function(){return!0}}}(),function(a){.=(.||{},{"default":"Please enter a valid value"}),={html5Attributes:{message:"message",callback:"callback"},validate:function(b,c,d){var e=(),f=new ,g={valid:!0};if(){var h=(,[e,b,c]);g="boolean"==typeof h?{valid:h}:h}return (c,"callback",g),f}}}(),function(a){.=(.||{},{"default":"Please enter a valid value",less:"Please choose %s options at minimum",more:"Please choose %s options at maximum",between:"Please choose %s - %s options"}),={html5Attributes:{message:"message",min:"min",max:"max"},validate:function(b,c,d){var e=("select")?(("data-bv-field")).find("option").filter(":selected").length:(("data-bv-field")).filter(":checked").length,f=?()?:(c,):null,g=?()?:(c,):null,h=!0,i=||.["default"];switch((f&&e<parseInt(f,10)||g&&e>parseInt(g,10))&&(h=!1),!0){case!!f&&!!g:i=(||.,[parseInt(f,10),parseInt(g,10)]);break;case!!f:i=(||.,parseInt(f,10));break;case!!g:i=(||.,parseInt(g,10))}return{valid:h,message:i}}}}(),function(a){.=(.||{},{"default":"Please enter a valid color"}),={SUPPORTED_TYPES:["hex","rgb","rgba","hsl","hsla","keyword"],KEYWORD_COLORS:["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","transparent","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],validate:function(b,c,d){var e=();
if(""===e)return!0;var f=||this.SUPPORTED_TYPES;(f)||(f=(/s/g,"").split(","));for(var g,h,i=!1,j=0;j<;j++)if(h=f[j],g="_"+(),i=i||this[g](e))return!0;return!1},_hex:function(a){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/(a)},_hsl:function(a){return/^hsl\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/.test(a)},_hsla:function(a){return/^hsla\((\s*(-?\d+)\s*,)(\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/.test(a)},_keyword:function(b){return (b,this.KEYWORD_COLORS)>=0},_rgb:function(a){var b=/^rgb\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){2}(\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*)\)$/,c=/^rgb\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){2}(\s*(\b(0?\d{1,2}|100)\b%)\s*)\)$/;return (a)||(a)},_rgba:function(a){var b=/^rgba\((\s*(\b([01]?\d{1,2}|2[0-4]\d|25[0-5])\b)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/,c=/^rgba\((\s*(\b(0?\d{1,2}|100)\b%)\s*,){3}(\s*(0?(\.\d+)?|1(\.0+)?)\s*)\)$/;return (a)||(a)}}}(),function(a){.=(.||{},{"default":"Please enter a valid credit card number"}),={validate:function(b,c){var d=();if(""===d)return!0;if(/[^0-9-\s]+/.test(d))return!1;if(d=(/\D/g,""),!(d))return!1;var e,f,g={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]}};for(e in g)for(f in g[e].prefix)if((0,g[e].prefix[f].length)===g[e].prefix[f]&&-1!==(,g[e].length))return!0;return!1}}}(),function(a){.=(.||{},{"default":"Please enter a valid CUSIP number"}),={validate:function(b,c){var d=();if(""===d)return!0;if(d=(),!/^[0-9A-Z]{9}$/.test(d))return!1;for(var e=((""),function(a){var b=(0);return b>="A".charCodeAt(0)&&b<="Z".charCodeAt(0)?b-"A".charCodeAt(0)+10:a}),f=,g=0,h=0;f-1>h;h++){var i=parseInt(e[h],10);h%2!==0&&(i*=2),i>9&&(i-=9),g+=i}return g=(10-g%10)%10,g===e[f-1]}}}(),function(a){.=(.||{},{"default":"Please enter a valid CVV number"}),={html5Attributes:{message:"message",ccfield:"creditCardField"},validate:function(b,c,d){var e=();if(""===e)return!0;if(!/^[0-9]{3,4}$/.test(e))return!1;if(!)return!0;var f=().val();if(""===f)return!0;f=(/\D/g,"");var g,h,i={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]}},j=null;for(g in i)for(h in i[g].prefix)if((0,i[g].prefix[h].length)===i[g].prefix[h]&&-1!==(,i[g].length)){j=g;break}return null===j?!1:"AMERICAN_EXPRESS"===j?4===:3===}}}(),function(a){.=(.||{},{"default":"Please enter a valid date",min:"Please enter a date after %s",max:"Please enter a date before %s",range:"Please enter a date in the range %s - %s"}),={html5Attributes:{message:"message",format:"format",min:"min",max:"max",separator:"separator"},validate:function(b,c,d){var e=();if(""===e)return!0;=||"MM/DD/YYYY","date"===("type")&&(="YYYY-MM-DD");var f=(" "),g=f[0],h=>1?f[1]:null,i=>2?f[2]:null,j=(" "),k=j[0],l=>1?j[1]:null;if(!==)return{valid:!1,message:||.["default"]};var m=;if(m||(m=-1!==("/")?"/":-1!==("-")?"-":null),null===m||-1===(m))return{valid:!1,message:||.["default"]};if(k=(m),g=(m),!==)return{valid:!1,message:||.["default"]};var n=k[("YYYY",g)],o=k[("MM",g)],p=k[("DD",g)];if(!n||!o||!p||4!==)return{valid:!1,message:||.["default"]};var q=null,r=null,s=null;if(h){if(h=(":"),l=(":"),!==)return{valid:!1,message:||.["default"]};if(r=>0?l[0]:null,q=>1?l[1]:null,s=>2?l[2]:null){if(isNaN(s)||>2)return{valid:!1,message:||.["default"]};if(s=parseInt(s,10),0>s||s>60)return{valid:!1,message:||.["default"]}}if(r){if(isNaN(r)||>2)return{valid:!1,message:||.["default"]};if(r=parseInt(r,10),0>r||r>=24||i&&r>12)return{valid:!1,message:||.["default"]}}if(q){if(isNaN(q)||>2)return{valid:!1,message:||.["default"]};if(q=parseInt(q,10),0>q||q>59)return{valid:!1,message:||.["default"]}}}var t=(n,o,p),u=||.["default"],v=null,w=null,x=,y=;switch(x&&(isNaN((x))&&(x=(c,x)),v=this._parseDate(x,g,m)),y&&(isNaN((y))&&(y=(c,y)),w=this._parseDate(y,g,m)),k=new Date(n,o,p,r,q,s),!0){case x&&!y&&t:t=()>=(),u=||(.,x);break;case y&&!x&&t:t=()<=(),u=||(.,y);break;case y&&x&&t:t=()<=()&&()>=(),u=||(.,[x,y])}return{valid:t,message:u}},_parseDate:function(b,c,d){var e=0,f=0,g=0,h=(" "),i=h[0],j=>1?h[1]:null;i=(d);var k=i[("YYYY",c)],l=i[("MM",c)],m=i[("DD",c)];return j&&(j=(":"),f=>0?j[0]:null,e=>1?j[1]:null,g=>2?j[2]:null),new Date(k,l,m,f,e,g)}}}(),function(a){.=(.||{},{"default":"Please enter a different value"}),={html5Attributes:{message:"message",field:"field"},validate:function(a,b,c){var d=();if(""===d)return!0;for(var e=(","),f=!0,g=0;g<;g++){var h=(e[g]);if(null!=h&&0!==){var i=();d===i?f=!1:""!==i&&(h,a.STATUS_VALID,"different")}}return f}}}(),function(a){.=(.||{},{"default":"Please enter only digits"}),={validate:function(a,b){var c=();return""===c?!0:/^\d+$/.test(c)}}}(),function(a){.=(.||{},{"default":"Please enter a valid EAN number"}),={validate:function(a,b){var c=();if(""===c)return!0;if(!/^(\d{8}|\d{12}|\d{13})$/.test(c))return!1;for(var d=,e=0,f=8===d?[3,1]:[1,3],g=0;d-1>g;g++)e+=parseInt((g),10)*f[g%2];return e=(10-e%10)%10,e+""===(d-1)}}}(),function(a){.=(.||{},{"default":"Please enter a valid email address"}),={html5Attributes:{message:"message",multiple:"multiple",separator:"separator"},enableByHtml5:function(a){return"email"===("type")},validate:function(a,b,c){var d=();if(""===d)return!0;var e=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,f====!0||"true"===;if(f){for(var g=||/[,;]/,h=this._splitEmailAddresses(d,g),i=0;i<;i++)if(!(h[i]))return!1;return!0}return (d)},_splitEmailAddresses:function(a,b){for(var c=(/"/),d=,e=[],f="",g=0;d>g;g++)if(g%2===0){var h=c[g].split(b),i=;if(1===i)f+=h[0];else{(f+h[0]);for(var j=1;i-1>j;j++)(h[j]);f=h[i-1]}}else f+='"'+c[g],d-1>g&&(f+='"');return (f),e}}}(),function(a){.=(.||{},{"default":"Please choose a valid file"}),={html5Attributes:{extension:"extension",maxfiles:"maxFiles",minfiles:"minFiles",maxsize:"maxSize",minsize:"minSize",maxtotalsize:"maxTotalSize",mintotalsize:"minTotalSize",message:"message",type:"type"},validate:function(b,c,d){var e=();if(""===e)return!0;var f,g=?().split(","):null,h=?().split(","):null,i=&&&&;if(i){var j=(0).files,k=,l=0;if(&&k>parseInt(,10)||&&k<parseInt(,10))return!1;for(var m=0;k>m;m++)if(l+=j[m].size,f=j[m].(j[m].(".")+1),&&j[m].size<parseInt(,10)||&&j[m].size>parseInt(,10)||g&&-1===((),g)||j[m].type&&h&&-1===(j[m].(),h))return!1;if(&&l>parseInt(,10)||&&l<parseInt(,10))return!1}else if(f=((".")+1),g&&-1===((),g))return!1;return!0}}}(),function(a){.=(.||{},{"default":"Please enter a value greater than or equal to %s",notInclusive:"Please enter a value greater than %s"}),={html5Attributes:{message:"message",value:"value",inclusive:"inclusive"},enableByHtml5:function(a){var b=("type"),c=("min");return c&&"date"!==b?{value:c}:!1},validate:function(b,c,d){var e=();if(""===e)return!0;if(e=this._format(e),!(e))return!1;var f=()?:(c,),g=this._format(f);return e=parseFloat(e),===!0||void 0===?{valid:e>=g,message:(||.["default"],f)}:{valid:e>g,message:(||.,f)}},_format:function(a){return(a+"").replace(",",".")}}}(),function(a){.=(.||{},{"default":"Please enter a valid GRId number"}),={validate:function(b,c){var d=();return""===d?!0:(d=(),/^[GRID:]*([0-9A-Z]{2})[-\s]*([0-9A-Z]{5})[-\s]*([0-9A-Z]{10})[-\s]*([0-9A-Z]{1})$/(d)?(d=(/\s/g,"").replace(/-/g,""),"GRID:"===(0,5)&&(d=(5)),.mod37And36(d)):!1)}}}(),function(a){.=(.||{},{"default":"Please enter a valid hexadecimal number"}),={validate:function(a,b){var c=();return""===c?!0:/^[0-9a-fA-F]+$/.test(c)}}}(),function(a){.=(.||{},{"default":"Please enter a valid hex color"}),={enableByHtml5:function(a){return"color"===("type")},validate:function(a,b){var c=();return""===c?!0:"color"===("type")?/^#[0-9A-F]{6}$/(c):/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/(c)}}}(),function(a){.=(.||{},{"default":"Please enter a valid IBAN number",countryNotSupported:"The country code %s is not supported",country:"Please enter a valid IBAN number in %s",countries:{AD:"Andorra",AE:"United Arab Emirates",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Switzerland",CI:"Ivory Coast",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DO:"Dominican Republic",DZ:"Algeria",EE:"Estonia",ES:"Spain",FI:"Finland",FO:"Faroe Islands",FR:"France",GB:"United Kingdom",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Greece",GT:"Guatemala",HR:"Croatia",HU:"Hungary",IE:"Ireland",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Italy",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Netherlands",NO:"Norway",PK:"Pakistan",PL:"Poland",PS:"Palestine",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TN:"Tunisia",TR:"Turkey",VG:"Virgin Islands, British"}}),={html5Attributes:{message:"message",country:"country"},REGEX:{AD:"AD[0-9]{2}[0-9]{4}[0-9]{4}[A-Z0-9]{12}",AE:"AE[0-9]{2}[0-9]{3}[0-9]{16}",AL:"AL[0-9]{2}[0-9]{8}[A-Z0-9]{16}",AO:"AO[0-9]{2}[0-9]{21}",AT:"AT[0-9]{2}[0-9]{5}[0-9]{11}",AZ:"AZ[0-9]{2}[A-Z]{4}[A-Z0-9]{20}",BA:"BA[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{8}[0-9]{2}",BE:"BE[0-9]{2}[0-9]{3}[0-9]{7}[0-9]{2}",BF:"BF[0-9]{2}[0-9]{23}",BG:"BG[0-9]{2}[A-Z]{4}[0-9]{4}[0-9]{2}[A-Z0-9]{8}",BH:"BH[0-9]{2}[A-Z]{4}[A-Z0-9]{14}",BI:"BI[0-9]{2}[0-9]{12}",BJ:"BJ[0-9]{2}[A-Z]{1}[0-9]{23}",BR:"BR[0-9]{2}[0-9]{8}[0-9]{5}[0-9]{10}[A-Z][A-Z0-9]",CH:"CH[0-9]{2}[0-9]{5}[A-Z0-9]{12}",CI:"CI[0-9]{2}[A-Z]{1}[0-9]{23}",CM:"CM[0-9]{2}[0-9]{23}",CR:"CR[0-9]{2}[0-9]{3}[0-9]{14}",CV:"CV[0-9]{2}[0-9]{21}",CY:"CY[0-9]{2}[0-9]{3}[0-9]{5}[A-Z0-9]{16}",CZ:"CZ[0-9]{2}[0-9]{20}",DE:"DE[0-9]{2}[0-9]{8}[0-9]{10}",DK:"DK[0-9]{2}[0-9]{14}",DO:"DO[0-9]{2}[A-Z0-9]{4}[0-9]{20}",DZ:"DZ[0-9]{2}[0-9]{20}",EE:"EE[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{11}[0-9]{1}",ES:"ES[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{1}[0-9]{1}[0-9]{10}",FI:"FI[0-9]{2}[0-9]{6}[0-9]{7}[0-9]{1}",FO:"FO[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}",FR:"FR[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}",GB:"GB[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}",GE:"GE[0-9]{2}[A-Z]{2}[0-9]{16}",GI:"GI[0-9]{2}[A-Z]{4}[A-Z0-9]{15}",GL:"GL[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}",GR:"GR[0-9]{2}[0-9]{3}[0-9]{4}[A-Z0-9]{16}",GT:"GT[0-9]{2}[A-Z0-9]{4}[A-Z0-9]{20}",HR:"HR[0-9]{2}[0-9]{7}[0-9]{10}",HU:"HU[0-9]{2}[0-9]{3}[0-9]{4}[0-9]{1}[0-9]{15}[0-9]{1}",IE:"IE[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}",IL:"IL[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{13}",IR:"IR[0-9]{2}[0-9]{22}",IS:"IS[0-9]{2}[0-9]{4}[0-9]{2}[0-9]{6}[0-9]{10}",IT:"IT[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}",JO:"JO[0-9]{2}[A-Z]{4}[0-9]{4}[0]{8}[A-Z0-9]{10}",KW:"KW[0-9]{2}[A-Z]{4}[0-9]{22}",KZ:"KZ[0-9]{2}[0-9]{3}[A-Z0-9]{13}",LB:"LB[0-9]{2}[0-9]{4}[A-Z0-9]{20}",LI:"LI[0-9]{2}[0-9]{5}[A-Z0-9]{12}",LT:"LT[0-9]{2}[0-9]{5}[0-9]{11}",LU:"LU[0-9]{2}[0-9]{3}[A-Z0-9]{13}",LV:"LV[0-9]{2}[A-Z]{4}[A-Z0-9]{13}",MC:"MC[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}",MD:"MD[0-9]{2}[A-Z0-9]{20}",ME:"ME[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",MG:"MG[0-9]{2}[0-9]{23}",MK:"MK[0-9]{2}[0-9]{3}[A-Z0-9]{10}[0-9]{2}",ML:"ML[0-9]{2}[A-Z]{1}[0-9]{23}",MR:"MR13[0-9]{5}[0-9]{5}[0-9]{11}[0-9]{2}",MT:"MT[0-9]{2}[A-Z]{4}[0-9]{5}[A-Z0-9]{18}",MU:"MU[0-9]{2}[A-Z]{4}[0-9]{2}[0-9]{2}[0-9]{12}[0-9]{3}[A-Z]{3}",MZ:"MZ[0-9]{2}[0-9]{21}",NL:"NL[0-9]{2}[A-Z]{4}[0-9]{10}",NO:"NO[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{1}",PK:"PK[0-9]{2}[A-Z]{4}[A-Z0-9]{16}",PL:"PL[0-9]{2}[0-9]{8}[0-9]{16}",PS:"PS[0-9]{2}[A-Z]{4}[A-Z0-9]{21}",PT:"PT[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{11}[0-9]{2}",QA:"QA[0-9]{2}[A-Z]{4}[A-Z0-9]{21}",RO:"RO[0-9]{2}[A-Z]{4}[A-Z0-9]{16}",RS:"RS[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",SA:"SA[0-9]{2}[0-9]{2}[A-Z0-9]{18}",SE:"SE[0-9]{2}[0-9]{3}[0-9]{16}[0-9]{1}",SI:"SI[0-9]{2}[0-9]{5}[0-9]{8}[0-9]{2}",SK:"SK[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{10}",SM:"SM[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}",SN:"SN[0-9]{2}[A-Z]{1}[0-9]{23}",TN:"TN59[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",TR:"TR[0-9]{2}[0-9]{5}[A-Z0-9]{1}[A-Z0-9]{16}",VG:"VG[0-9]{2}[A-Z]{4}[0-9]{16}"},validate:function(b,c,d){var e=();if(""===e)return!0;e=(/[^a-zA-Z0-9]/g,"").toUpperCase();var f=;if(f?"string"==typeof f&&[f]||(f=(c,f)):f=(0,2),![f])return{valid:!1,message:(.,f)};if(!new RegExp("^"+[f]+"$").test(e))return{valid:!1,message:(||.,.[f])};e=(4)+(0,4),e=((""),function(a){var b=(0);return b>="A".charCodeAt(0)&&b<="Z".charCodeAt(0)?b-"A".charCodeAt(0)+10:a}),e=("");for(var g=parseInt((0,1),10),h=,i=1;h>i;++i)g=(10*g+parseInt((i,1),10))%97;return{valid:1===g,message:(||.,.[f])}}}}(),function(a){.=(.||{},{"default":"Please enter a valid identification number",countryNotSupported:"The country code %s is not supported",country:"Please enter a valid identification number in %s",countries:{BA:"Bosnia and Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CL:"Chile",CN:"China",CZ:"Czech Republic",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",HR:"Croatia",IE:"Ireland",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Netherlands",RO:"Romania",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",ZA:"South Africa"}}),={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["BA","BG","BR","CH","CL","CN","CZ","DK","EE","ES","FI","HR","IE","IS","LT","LV","ME","MK","NL","RO","RS","SE","SI","SK","SM","TH","ZA"],validate:function(b,c,d){var e=();if(""===e)return!0;var f=;if(f?("string"!=typeof f||-1===((),this.COUNTRY_CODES))&&(f=(c,f)):f=(0,2),-1===(f,this.COUNTRY_CODES))return{valid:!1,message:(.,f)};var g=["_",()].join("");return this[g](e)?!0:{valid:!1,message:(||.,.[()])}},_validateJMBG:function(a,b){if(!/^\d{13}$/.test(a))return!1;var c=parseInt((0,2),10),d=parseInt((2,2),10),e=(parseInt((4,3),10),parseInt((7,2),10)),f=parseInt((12,1),10);if(c>31||d>12)return!1;for(var g=0,h=0;6>h;h++)g+=(7-h)*(parseInt((h),10)+parseInt((h+6),10));if(g=11-g%11,(10===g||11===g)&&(g=0),g!==f)return!1;switch(()){case"BA":return e>=10&&19>=e;case"MK":return e>=41&&49>=e;case"ME":return e>=20&&29>=e;case"RS":return e>=70&&99>=e;case"SI":return e>=50&&59>=e;default:return!0}},_ba:function(a){return this._validateJMBG(a,"BA")},_mk:function(a){return this._validateJMBG(a,"MK")},_me:function(a){return this._validateJMBG(a,"ME")},_rs:function(a){return this._validateJMBG(a,"RS")},_si:function(a){return this._validateJMBG(a,"SI")},_bg:function(b){if(!/^\d{10}$/.test(b)&&!/^\d{6}\s\d{3}\s\d{1}$/.test(b))return!1;b=(/\s/g,"");var c=parseInt((0,2),10)+1900,d=parseInt((2,2),10),e=parseInt((4,2),10);if(d>40?(c+=100,d-=40):d>20&&(c-=100,d-=20),!(c,d,e))return!1;for(var f=0,g=[2,4,8,5,10,9,7,3,6],h=0;9>h;h++)f+=parseInt((h),10)*g[h];return f=f%11%10,f+""===(9,1)},_br:function(a){if(/^1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11}|0{11}$/.test(a))return!1;if(!/^\d{11}$/.test(a)&&!/^\d{3}\.\d{3}\.\d{3}-\d{2}$/.test(a))return!1;a=(/\./g,"").replace(/-/g,"");for(var b=0,c=0;9>c;c++)b+=(10-c)*parseInt((c),10);if(b=11-b%11,(10===b||11===b)&&(b=0),b+""!==(9))return!1;var d=0;for(c=0;10>c;c++)d+=(11-c)*parseInt((c),10);return d=11-d%11,(10===d||11===d)&&(d=0),d+""===(10)},_ch:function(a){if(!/^756[\.]{0,1}[0-9]{4}[\.]{0,1}[0-9]{4}[\.]{0,1}[0-9]{2}$/.test(a))return!1;a=(/\D/g,"").substr(3);for(var b=,c=0,d=8===b?[3,1]:[1,3],e=0;b-1>e;e++)c+=parseInt((e),10)*d[e%2];return c=10-c%10,c+""===(b-1)},_cl:function(a){if(!/^\d{7,8}[-]{0,1}[0-9K]$/(a))return!1;for(a=(/\-/g,"");<9;)a="0"+a;for(var b=0,c=[3,2,7,6,5,4,3,2],d=0;8>d;d++)b+=parseInt((d),10)*c[d];return b=11-b%11,11===b?b=0:10===b&&(b="K"),b+""===(8).toUpperCase()},_cn:function(b){if(b=(),!/^\d{15}$/.test(b)&&!/^\d{17}[\dXx]{1}$/.test(b))return!1;var c={11:{0:[0],1:[[0,9],[11,17]],2:[0,28,29]},12:{0:[0],1:[[0,16]],2:[0,21,23,25]},13:{0:[0],1:[[0,5],7,8,21,[23,33],[81,85]],2:[[0,5],[7,9],[23,25],27,29,30,81,83],3:[[0,4],[21,24]],4:[[0,4],6,21,[23,35],81],5:[[0,3],[21,35],81,82],6:[[0,4],[21,38],[81,84]],7:[[0,3],5,6,[21,33]],8:[[0,4],[21,28]],9:[[0,3],[21,30],[81,84]],10:[[0,3],[22,26],28,81,82],11:[[0,2],[21,28],81,82]},14:{0:[0],1:[0,1,[5,10],[21,23],81],2:[[0,3],11,12,[21,27]],3:[[0,3],11,21,22],4:[[0,2],11,21,[23,31],81],5:[[0,2],21,22,24,25,81],6:[[0,3],[21,24]],7:[[0,2],[21,29],81],8:[[0,2],[21,30],81,82],9:[[0,2],[21,32],81],10:[[0,2],[21,34],81,82],11:[[0,2],[21,30],81,82],23:[[0,3],22,23,[25,30],32,33]},15:{0:[0],1:[[0,5],[21,25]],2:[[0,7],[21,23]],3:[[0,4]],4:[[0,4],[21,26],[28,30]],5:[[0,2],[21,26],81],6:[[0,2],[21,27]],7:[[0,3],[21,27],[81,85]],8:[[0,2],[21,26]],9:[[0,2],[21,29],81],22:[[0,2],[21,24]],25:[[0,2],[22,31]],26:[[0,2],[24,27],[29,32],34],28:[0,1,[22,27]],29:[0,[21,23]]},21:{0:[0],1:[[0,6],[11,14],[22,24],81],2:[[0,4],[11,13],24,[81,83]],3:[[0,4],11,21,23,81],4:[[0,4],11,[21,23]],5:[[0,5],21,22],6:[[0,4],24,81,82],7:[[0,3],11,26,27,81,82],8:[[0,4],11,81,82],9:[[0,5],11,21,22],10:[[0,5],11,21,81],11:[[0,3],21,22],12:[[0,2],4,21,23,24,81,82],13:[[0,3],21,22,24,81,82],14:[[0,4],21,22,81]},22:{0:[0],1:[[0,6],12,22,[81,83]],2:[[0,4],11,21,[81,84]],3:[[0,3],22,23,81,82],4:[[0,3],21,22],5:[[0,3],21,23,24,81,82],6:[[0,2],4,5,[21,23],25,81],7:[[0,2],[21,24],81],8:[[0,2],21,22,81,82],24:[[0,6],24,26]},23:{0:[0],1:[[0,12],21,[23,29],[81,84]],2:[[0,8],21,[23,25],27,[29,31],81],3:[[0,7],21,81,82],4:[[0,7],21,22],5:[[0,3],5,6,[21,24]],6:[[0,6],[21,24]],7:[[0,16],22,81],8:[[0,5],11,22,26,28,33,81,82],9:[[0,4],21],10:[[0,5],24,25,81,[83,85]],11:[[0,2],21,23,24,81,82],12:[[0,2],[21,26],[81,83]],27:[[0,4],[21,23]]},31:{0:[0],1:[0,1,[3,10],[12,20]],2:[0,30]},32:{0:[0],1:[[0,7],11,[13,18],24,25],2:[[0,6],11,81,82],3:[[0,5],11,12,[21,24],81,82],4:[[0,2],4,5,11,12,81,82],5:[[0,9],[81,85]],6:[[0,2],11,12,21,23,[81,84]],7:[0,1,3,5,6,[21,24]],8:[[0,4],11,26,[29,31]],9:[[0,3],[21,25],28,81,82],10:[[0,3],11,12,23,81,84,88],11:[[0,2],11,12,[81,83]],12:[[0,4],[81,84]],13:[[0,2],11,[21,24]]},33:{0:[0],1:[[0,6],[8,10],22,27,82,83,85],2:[0,1,[3,6],11,12,25,26,[81,83]],3:[[0,4],22,24,[26,29],81,82],4:[[0,2],11,21,24,[81,83]],5:[[0,3],[21,23]],6:[[0,2],21,24,[81,83]],7:[[0,3],23,26,27,[81,84]],8:[[0,3],22,24,25,81],9:[[0,3],21,22],10:[[0,4],[21,24],81,82],11:[[0,2],[21,27],81]},34:{0:[0],1:[[0,4],11,[21,24],81],2:[[0,4],7,8,[21,23],25],3:[[0,4],11,[21,23]],4:[[0,6],21],5:[[0,4],6,[21,23]],6:[[0,4],21],7:[[0,3],11,21],8:[[0,3],11,[22,28],81],10:[[0,4],[21,24]],11:[[0,3],22,[24,26],81,82],12:[[0,4],21,22,25,26,82],13:[[0,2],[21,24]],14:[[0,2],[21,24]],15:[[0,3],[21,25]],16:[[0,2],[21,23]],17:[[0,2],[21,23]],18:[[0,2],[21,25],81]},35:{0:[0],1:[[0,5],11,[21,25],28,81,82],2:[[0,6],[11,13]],3:[[0,5],22],4:[[0,3],21,[23,30],81],5:[[0,5],21,[24,27],[81,83]],6:[[0,3],[22,29],81],7:[[0,2],[21,25],[81,84]],8:[[0,2],[21,25],81],9:[[0,2],[21,26],81,82]},36:{0:[0],1:[[0,5],11,[21,24]],2:[[0,3],22,81],3:[[0,2],13,[21,23]],4:[[0,3],21,[23,30],81,82],5:[[0,2],21],6:[[0,2],22,81],7:[[0,2],[21,35],81,82],8:[[0,3],[21,30],81],9:[[0,2],[21,26],[81,83]],10:[[0,2],[21,30]],11:[[0,2],[21,30],81]},37:{0:[0],1:[[0,5],12,13,[24,26],81],2:[[0,3],5,[11,14],[81,85]],3:[[0,6],[21,23]],4:[[0,6],81],5:[[0,3],[21,23]],6:[[0,2],[11,13],34,[81,87]],7:[[0,5],24,25,[81,86]],8:[[0,2],11,[26,32],[81,83]],9:[[0,3],11,21,23,82,83],10:[[0,2],[81,83]],11:[[0,3],21,22],12:[[0,3]],13:[[0,2],11,12,[21,29]],14:[[0,2],[21,28],81,82],15:[[0,2],[21,26],81],16:[[0,2],[21,26]],17:[[0,2],[21,28]]},41:{0:[0],1:[[0,6],8,22,[81,85]],2:[[0,5],11,[21,25]],3:[[0,7],11,[22,29],81],4:[[0,4],11,[21,23],25,81,82],5:[[0,3],5,6,22,23,26,27,81],6:[[0,3],11,21,22],7:[[0,4],11,21,[24,28],81,82],8:[[0,4],11,[21,23],25,[81,83]],9:[[0,2],22,23,[26,28]],10:[[0,2],[23,25],81,82],11:[[0,4],[21,23]],12:[[0,2],21,22,24,81,82],13:[[0,3],[21,30],81],14:[[0,3],[21,26],81],15:[[0,3],[21,28]],16:[[0,2],[21,28],81],17:[[0,2],[21,29]],90:[0,1]},42:{0:[0],1:[[0,7],[11,17]],2:[[0,5],22,81],3:[[0,3],[21,25],81],5:[[0,6],[25,29],[81,83]],6:[[0,2],6,7,[24,26],[82,84]],7:[[0,4]],8:[[0,2],4,21,22,81],9:[[0,2],[21,23],81,82,84],10:[[0,3],[22,24],81,83,87],11:[[0,2],[21,27],81,82],12:[[0,2],[21,24],81],13:[[0,3],21,81],28:[[0,2],22,23,[25,28]],90:[0,[4,6],21]},43:{0:[0],1:[[0,5],11,12,21,22,24,81],2:[[0,4],11,21,[23,25],81],3:[[0,2],4,21,81,82],4:[0,1,[5,8],12,[21,24],26,81,82],5:[[0,3],11,[21,25],[27,29],81],6:[[0,3],11,21,23,24,26,81,82],7:[[0,3],[21,26],81],8:[[0,2],11,21,22],9:[[0,3],[21,23],81],10:[[0,3],[21,28],81],11:[[0,3],[21,29]],12:[[0,2],[21,30],81],13:[[0,2],21,22,81,82],31:[0,1,[22,27],30]},44:{0:[0],1:[[0,7],[11,16],83,84],2:[[0,5],21,22,24,29,32,33,81,82],3:[0,1,[3,8]],4:[[0,4]],5:[0,1,[6,15],23,82,83],6:[0,1,[4,8]],7:[0,1,[3,5],81,[83,85]],8:[[0,4],11,23,25,[81,83]],9:[[0,3],23,[81,83]],12:[[0,3],[23,26],83,84],13:[[0,3],[22,24],81],14:[[0,2],[21,24],26,27,81],15:[[0,2],21,23,81],16:[[0,2],[21,25]],17:[[0,2],21,23,81],18:[[0,3],21,23,[25,27],81,82],19:[0],20:[0],51:[[0,3],21,22],52:[[0,3],21,22,24,81],53:[[0,2],[21,23],81]},45:{0:[0],1:[[0,9],[21,27]],2:[[0,5],[21,26]],3:[[0,5],11,12,[21,32]],4:[0,1,[3,6],11,[21,23],81],5:[[0,3],12,21],6:[[0,3],21,81],7:[[0,3],21,22],8:[[0,4],21,81],9:[[0,3],[21,24],81],10:[[0,2],[21,31]],11:[[0,2],[21,23]],12:[[0,2],[21,29],81],13:[[0,2],[21,24],81],14:[[0,2],[21,25],81]},46:{0:[0],1:[0,1,[5,8]],2:[0,1],3:[0,[21,23]],90:[[0,3],[5,7],[21,39]]},50:{0:[0],1:[[0,19]],2:[0,[22,38],[40,43]],3:[0,[81,84]]},51:{0:[0],1:[0,1,[4,8],[12,15],[21,24],29,31,32,[81,84]],3:[[0,4],11,21,22],4:[[0,3],11,21,22],5:[[0,4],21,22,24,25],6:[0,1,3,23,26,[81,83]],7:[0,1,3,4,[22,27],81],8:[[0,2],11,12,[21,24]],9:[[0,4],[21,23]],10:[[0,2],11,24,25,28],11:[[0,2],[11,13],23,24,26,29,32,33,81],13:[[0,4],[21,25],81],14:[[0,2],[21,25]],15:[[0,3],[21,29]],16:[[0,3],[21,23],81],17:[[0,3],[21,25],81],18:[[0,3],[21,27]],19:[[0,3],[21,23]],20:[[0,2],21,22,81],32:[0,[21,33]],33:[0,[21,38]],34:[0,1,[22,37]]},52:{0:[0],1:[[0,3],[11,15],[21,23],81],2:[0,1,3,21,22],3:[[0,3],[21,30],81,82],4:[[0,2],[21,25]],5:[[0,2],[21,27]],6:[[0,3],[21,28]],22:[0,1,[22,30]],23:[0,1,[22,28]],24:[0,1,[22,28]],26:[0,1,[22,36]],27:[[0,2],22,23,[25,32]]},53:{0:[0],1:[[0,3],[11,14],21,22,[24,29],81],3:[[0,2],[21,26],28,81],4:[[0,2],[21,28]],5:[[0,2],[21,24]],6:[[0,2],[21,30]],7:[[0,2],[21,24]],8:[[0,2],[21,29]],9:[[0,2],[21,27]],23:[0,1,[22,29],31],25:[[0,4],[22,32]],26:[0,1,[21,28]],27:[0,1,[22,30]],28:[0,1,22,23],29:[0,1,[22,32]],31:[0,2,3,[22,24]],34:[0,[21,23]],33:[0,21,[23,25]],35:[0,[21,28]]},54:{0:[0],1:[[0,2],[21,27]],21:[0,[21,29],32,33],22:[0,[21,29],[31,33]],23:[0,1,[22,38]],24:[0,[21,31]],25:[0,[21,27]],26:[0,[21,27]]},61:{0:[0],1:[[0,4],[11,16],22,[24,26]],2:[[0,4],22],3:[[0,4],[21,24],[26,31]],4:[[0,4],[22,31],81],5:[[0,2],[21,28],81,82],6:[[0,2],[21,32]],7:[[0,2],[21,30]],8:[[0,2],[21,31]],9:[[0,2],[21,29]],10:[[0,2],[21,26]]},62:{0:[0],1:[[0,5],11,[21,23]],2:[0,1],3:[[0,2],21],4:[[0,3],[21,23]],5:[[0,3],[21,25]],6:[[0,2],[21,23]],7:[[0,2],[21,25]],8:[[0,2],[21,26]],9:[[0,2],[21,24],81,82],10:[[0,2],[21,27]],11:[[0,2],[21,26]],12:[[0,2],[21,28]],24:[0,21,[24,29]],26:[0,21,[23,30]],29:[0,1,[21,27]],30:[0,1,[21,27]]},63:{0:[0],1:[[0,5],[21,23]],2:[0,2,[21,25]],21:[0,[21,23],[26,28]],22:[0,[21,24]],23:[0,[21,24]],25:[0,[21,25]],26:[0,[21,26]],27:[0,1,[21,26]],28:[[0,2],[21,23]]},64:{0:[0],1:[0,1,[4,6],21,22,81],2:[[0,3],5,[21,23]],3:[[0,3],[21,24],81],4:[[0,2],[21,25]],5:[[0,2],21,22]},65:{0:[0],1:[[0,9],21],2:[[0,5]],21:[0,1,22,23],22:[0,1,22,23],23:[[0,3],[23,25],27,28],28:[0,1,[22,29]],29:[0,1,[22,29]],30:[0,1,[22,24]],31:[0,1,[21,31]],32:[0,1,[21,27]],40:[0,2,3,[21,28]],42:[[0,2],21,[23,26]],43:[0,1,[21,26]],90:[[0,4]],27:[[0,2],22,23]},71:{0:[0]},81:{0:[0]},82:{0:[0]}},d=parseInt((0,2),10),e=parseInt((2,2),10),f=parseInt((4,2),10);if(!c[d]||!c[d][e])return!1;for(var g=!1,h=c[d][e],i=0;i<;i++)if((h[i])&&h[i][0]<=f&&f<=h[i][1]||!(h[i])&&f===h[i]){g=!0;break}if(!g)return!1;var j;j=18===?(6,8):"19"+(6,6);var k=parseInt((0,4),10),l=parseInt((4,2),10),m=parseInt((6,2),10);if(!(k,l,m))return!1;if(18===){var n=0,o=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2];for(i=0;17>i;i++)n+=parseInt((i),10)*o[i];n=(12-n%11)%11;var p="X"!==(17).toUpperCase()?parseInt((17),10):10;return p===n}return!0
},_cz:function(b){if(!/^\d{9,10}$/.test(b))return!1;var c=1900+parseInt((0,2),10),d=parseInt((2,2),10)%50%20,e=parseInt((4,2),10);if(9===){if(c>=1980&&(c-=100),c>1953)return!1}else 1954>c&&(c+=100);if(!(c,d,e))return!1;if(10===){var f=parseInt((0,9),10)%11;return 1985>c&&(f%=10),f+""===(9,1)}return!0},_dk:function(b){if(!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(b))return!1;b=(/-/g,"");var c=parseInt((0,2),10),d=parseInt((2,2),10),e=parseInt((4,2),10);switch(!0){case-1!=="5678".indexOf((6))&&e>=58:e+=1800;break;case-1!=="0123".indexOf((6)):case-1!=="49".indexOf((6))&&e>=37:e+=1900;break;default:e+=2e3}return (e,d,c)},_ee:function(a){return this._lt(a)},_es:function(a){if(!/^[0-9A-Z]{8}[-]{0,1}[0-9A-Z]$/.test(a)&&!/^[XYZ][-]{0,1}[0-9]{7}[-]{0,1}[0-9A-Z]$/.test(a))return!1;a=(/-/g,"");var b="XYZ".indexOf((0));-1!==b&&(a=b+(1)+"");var c=parseInt((0,8),10);return c="TRWAGMYFPDXBNJZSQVHLCKE"[c%23],c===(8,1)},_fi:function(b){if(!/^[0-9]{6}[-+A][0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/.test(b))return!1;var c=parseInt((0,2),10),d=parseInt((2,2),10),e=parseInt((4,2),10),f={"+":1800,"-":1900,A:2e3};if(e=f[(6)]+e,!(e,d,c))return!1;var g=parseInt((7,3),10);if(2>g)return!1;var h=(0,6)+(7,3)+"";return h=parseInt(h,10),"0123456789ABCDEFHJKLMNPRSTUVWXY".charAt(h%31)===(10)},_hr:function(b){return/^[0-9]{11}$/.test(b)?.mod11And10(b):!1},_ie:function(a){if(!/^\d{7}[A-W][AHWTX]?$/.test(a))return!1;var b=function(a){for(;<7;)a="0"+a;for(var b="WABCDEFGHIJKLMNOPQRSTUV",c=0,d=0;7>d;d++)c+=parseInt((d),10)*(8-d);return c+=9*((7)),b[c%23]};return 9!==||"A"!==(8)&&"H"!==(8)?(7)===b((0,7)):(7)===b((0,7)+(8)+"")},_is:function(b){if(!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(b))return!1;b=(/-/g,"");var c=parseInt((0,2),10),d=parseInt((2,2),10),e=parseInt((4,2),10),f=parseInt((9),10);if(e=9===f?1900+e:100*(20+f)+e,!(e,d,c,!0))return!1;for(var g=0,h=[3,2,7,6,5,4,3,2],i=0;8>i;i++)g+=parseInt((i),10)*h[i];return g=11-g%11,g+""===(8)},_lt:function(b){if(!/^[0-9]{11}$/.test(b))return!1;var c=parseInt((0),10),d=parseInt((1,2),10),e=parseInt((3,2),10),f=parseInt((5,2),10),g=c%2===0?17+c/2:17+(c+1)/2;if(d=100*g+d,!(d,e,f,!0))return!1;for(var h=0,i=[1,2,3,4,5,6,7,8,9,1],j=0;10>j;j++)h+=parseInt((j),10)*i[j];if(h%=11,10!==h)return h+""===(10);for(h=0,i=[3,4,5,6,7,8,9,1,2,3],j=0;10>j;j++)h+=parseInt((j),10)*i[j];return h%=11,10===h&&(h=0),h+""===(10)},_lv:function(b){if(!/^[0-9]{6}[-]{0,1}[0-9]{5}$/.test(b))return!1;b=(/\D/g,"");var c=parseInt((0,2),10),d=parseInt((2,2),10),e=parseInt((4,2),10);if(e=e+1800+100*parseInt((6),10),!(e,d,c,!0))return!1;for(var f=0,g=[10,5,8,4,2,1,6,3,7,9],h=0;10>h;h++)f+=parseInt((h),10)*g[h];return f=(f+1)%11%10,f+""===(10)},_nl:function(a){for(;<9;)a="0"+a;if(!/^[0-9]{4}[.]{0,1}[0-9]{2}[.]{0,1}[0-9]{3}$/.test(a))return!1;if(a=(/\./g,""),0===parseInt(a,10))return!1;for(var b=0,c=,d=0;c-1>d;d++)b+=(9-d)*parseInt((d),10);return b%=11,10===b&&(b=0),b+""===(c-1)},_ro:function(b){if(!/^[0-9]{13}$/.test(b))return!1;var c=parseInt((0),10);if(0===c||7===c||8===c)return!1;var d=parseInt((1,2),10),e=parseInt((3,2),10),f=parseInt((5,2),10),g={1:1900,2:1900,3:1800,4:1800,5:2e3,6:2e3};if(f>31&&e>12)return!1;if(9!==c&&(d=g[c+""]+d,!(d,e,f)))return!1;for(var h=0,i=[2,7,9,1,4,6,3,5,8,2,7,9],j=,k=0;j-1>k;k++)h+=parseInt((k),10)*i[k];return h%=11,10===h&&(h=1),h+""===(j-1)},_se:function(b){if(!/^[0-9]{10}$/.test(b)&&!/^[0-9]{6}[-|+][0-9]{4}$/.test(b))return!1;b=(/[^0-9]/g,"");var c=parseInt((0,2),10)+1900,d=parseInt((2,2),10),e=parseInt((4,2),10);return (c,d,e)?(b):!1},_sk:function(a){return this._cz(a)},_sm:function(a){return/^\d{5}$/.test(a)},_th:function(a){if(13!==)return!1;for(var b=0,c=0;12>c;c++)b+=parseInt((c),10)*(13-c);return(11-b%11)%10===parseInt((12),10)},_za:function(b){if(!/^[0-9]{10}[0|1][8|9][0-9]$/.test(b))return!1;var c=parseInt((0,2),10),d=(new Date).getFullYear()%100,e=parseInt((2,2),10),f=parseInt((4,2),10);return c=c>=d?c+1900:c+2e3,(c,e,f)?(b):!1}}}(),function(a){.=(.||{},{"default":"Please enter the same value"}),={html5Attributes:{message:"message",field:"field"},validate:function(a,b,c){var d=();if(""===d)return!0;var e=();return null===e||0===?!0:d===()?((,a.STATUS_VALID,"identical"),!0):!1}}}(),function(a){.=(.||{},{"default":"Please enter a valid IMEI number"}),={validate:function(b,c){var d=();if(""===d)return!0;switch(!0){case/^\d{15}$/.test(d):case/^\d{2}-\d{6}-\d{6}-\d{1}$/.test(d):case/^\d{2}\s\d{6}\s\d{6}\s\d{1}$/.test(d):return d=(/[^0-9]/g,""),(d);case/^\d{14}$/.test(d):case/^\d{16}$/.test(d):case/^\d{2}-\d{6}-\d{6}(|-\d{2})$/.test(d):case/^\d{2}\s\d{6}\s\d{6}(|\s\d{2})$/.test(d):return!0;default:return!1}}}}(),function(a){.=(.||{},{"default":"Please enter a valid IMO number"}),={validate:function(a,b){var c=();if(""===c)return!0;if(!/^IMO \d{7}$/(c))return!1;for(var d=0,e=(/^.*(\d{7})$/,"$1"),f=6;f>=1;f--)d+=(6-f,-f)*(f+1);return d%10===parseInt((6),10)}}}(),function(a){.=(.||{},{"default":"Please enter a valid number"}),={enableByHtml5:function(a){return"number"===("type")&&(void 0===("step")||("step")%1===0)},validate:function(a,b){if(this.enableByHtml5(b)&&(0).validity&&(0).===!0)return!1;var c=();return""===c?!0:/^(?:-?(?:0|[1-9][0-9]*))$/.test(c)}}}(),function(a){.=(.||{},{"default":"Please enter a valid IP address",ipv4:"Please enter a valid IPv4 address",ipv6:"Please enter a valid IPv6 address"}),={html5Attributes:{message:"message",ipv4:"ipv4",ipv6:"ipv6"},validate:function(b,c,d){var e=();if(""===e)return!0;d=({},{ipv4:!0,ipv6:!0},d);var f,g=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,h=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,i=!1;switch(!0){case d.ipv4&&!d.ipv6:i=(e),f=||..ipv4;break;case!d.ipv4&&d.ipv6:i=(e),f=||..ipv6;break;case d.ipv4&&d.ipv6:default:i=(e)||(e),f=||.["default"]}return{valid:i,message:f}}}}(),function(a){.=(.||{},{"default":"Please enter a valid ISBN number"}),={validate:function(a,b){var c=();if(""===c)return!0;var d;switch(!0){case/^\d{9}[\dX]$/.test(c):case 13===&&/^(\d+)-(\d+)-(\d+)-([\dX])$/.test(c):case 13===&&/^(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(c):d="ISBN10";break;case/^(978|979)\d{9}[\dX]$/.test(c):case 17===&&/^(978|979)-(\d+)-(\d+)-(\d+)-([\dX])$/.test(c):case 17===&&/^(978|979)\s(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(c):d="ISBN13";break;default:return!1}c=(/[^0-9X]/gi,"");var e,f,g=(""),h=,i=0;switch(d){case"ISBN10":for(i=0,e=0;h-1>e;e++)i+=parseInt(g[e],10)*(10-e);return f=11-i%11,11===f?f=0:10===f&&(f="X"),f+""===g[h-1];case"ISBN13":for(i=0,e=0;h-1>e;e++)i+=e%2===0?parseInt(g[e],10):3*parseInt(g[e],10);return f=10-i%10,10===f&&(f="0"),f+""===g[h-1];default:return!1}}}}(),function(a){.=(.||{},{"default":"Please enter a valid ISIN number"}),={COUNTRY_CODES:"AF|AX|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BQ|BA|BW|BV|BR|IO|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CG|CD|CK|CR|CI|HR|CU|CW|CY|CZ|DK|DJ|DM|DO|EC|EG|SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|GF|PF|TF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GP|GU|GT|GG|GN|GW|GY|HT|HM|VA|HN|HK|HU|IS|IN|ID|IR|IQ|IE|IM|IL|IT|JM|JP|JE|JO|KZ|KE|KI|KP|KR|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|MH|MQ|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|NC|NZ|NI|NE|NG|NU|NF|MP|NO|OM|PK|PW|PS|PA|PG|PY|PE|PH|PN|PL|PT|PR|QA|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|GS|SS|ES|LK|SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TL|TG|TK|TO|TT|TN|TR|TM|TC|TV|UG|UA|AE|GB|US|UM|UY|UZ|VU|VE|VN|VG|VI|WF|EH|YE|ZM|ZW",validate:function(a,b){var c=();if(""===c)return!0;c=();var d=new RegExp("^("+this.COUNTRY_CODES+")[0-9A-Z]{10}$");if(!(c))return!1;for(var e="",f=,g=0;f-1>g;g++){var h=(g);e+=h>57?(h-55).toString():(g)}var i="",j=,k=j%2!==0?0:1;for(g=0;j>g;g++)i+=parseInt(e[g],10)*(g%2===k?2:1)+"";var l=0;for(g=0;g<;g++)l+=parseInt((g),10);return l=(10-l%10)%10,l+""===(f-1)}}}(),function(a){.=(.||{},{"default":"Please enter a valid ISMN number"}),={validate:function(a,b){var c=();if(""===c)return!0;var d;switch(!0){case/^M\d{9}$/.test(c):case/^M-\d{4}-\d{4}-\d{1}$/.test(c):case/^M\s\d{4}\s\d{4}\s\d{1}$/.test(c):d="ISMN10";break;case/^9790\d{9}$/.test(c):case/^979-0-\d{4}-\d{4}-\d{1}$/.test(c):case/^979\s0\s\d{4}\s\d{4}\s\d{1}$/.test(c):d="ISMN13";break;default:return!1}"ISMN10"===d&&(c="9790"+(1)),c=(/[^0-9]/gi,"");for(var e=,f=0,g=[1,3],h=0;e-1>h;h++)f+=parseInt((h),10)*g[h%2];return f=10-f%10,f+""===(e-1)}}}(),function(a){.=(.||{},{"default":"Please enter a valid ISSN number"}),={validate:function(a,b){var c=();if(""===c)return!0;if(!/^\d{4}\-\d{3}[\dX]$/.test(c))return!1;c=(/[^0-9X]/gi,"");var d=(""),e=,f=0;"X"===d[7]&&(d[7]=10);for(var g=0;e>g;g++)f+=parseInt(d[g],10)*(8-g);return f%11===0}}}(),function(a){.=(.||{},{"default":"Please enter a value less than or equal to %s",notInclusive:"Please enter a value less than %s"}),={html5Attributes:{message:"message",value:"value",inclusive:"inclusive"},enableByHtml5:function(a){var b=("type"),c=("max");return c&&"date"!==b?{value:c}:!1},validate:function(b,c,d){var e=();if(""===e)return!0;if(e=this._format(e),!(e))return!1;var f=()?:(c,),g=this._format(f);return e=parseFloat(e),===!0||void 0===?{valid:g>=e,message:(||.["default"],f)}:{valid:g>e,message:(||.,f)}},_format:function(a){return(a+"").replace(",",".")}}}(),function(a){.=(.||{},{"default":"Please enter a valid MAC address"}),={validate:function(a,b){var c=();return""===c?!0:/^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$/.test(c)}}}(),function(a){.=(.||{},{"default":"Please enter a valid MEID number"}),={validate:function(b,c){var d=();if(""===d)return!0;switch(!0){case/^[0-9A-F]{15}$/(d):case/^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}[- ][0-9A-F]$/(d):case/^\d{19}$/.test(d):case/^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}[- ]\d$/.test(d):var e=(-1);if(d=(/[- ]/g,""),(/^\d*$/i))return (d);d=(0,-1);for(var f="",g=1;13>=g;g+=2)f+=(2*parseInt((g),16)).toString(16);var h=0;for(g=0;g<;g++)h+=parseInt((g),16);return h%10===0?"0"===e:e===(2*(10*((h+10)/10)-h)).toString(16);case/^[0-9A-F]{14}$/(d):case/^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}$/(d):case/^\d{18}$/.test(d):case/^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}$/.test(d):return!0;default:return!1}}}}(),function(a){.=(.||{},{"default":"Please enter a value"}),={enableByHtml5:function(a){var b=("required")+"";return"required"===b||"true"===b},validate:function(b,c){var d=("type");return"radio"===d||"checkbox"===d?(("data-bv-field")).filter(":checked").length>0:"number"===d&&(0).validity&&(0).===!0?!0:""!==(())}}}(),function(a){.=(.||{},{"default":"Please enter a valid float number"}),={html5Attributes:{message:"message",separator:"separator"},enableByHtml5:function(a){return"number"===("type")&&void 0!==("step")&&("step")%1!==0},validate:function(a,b,c){if(this.enableByHtml5(b)&&(0).validity&&(0).===!0)return!1;var d=();if(""===d)return!0;var e=||".";return"."!==e&&(d=(e,".")),!isNaN(parseFloat(d))&&isFinite(d)}}}(),function(a){.=(.||{},{"default":"Please enter a valid phone number",countryNotSupported:"The country code %s is not supported",country:"Please enter a valid phone number in %s",countries:{BR:"Brazil",CN:"China",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",MA:"Morocco",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovakia",TH:"Thailand",US:"USA",VE:"Venezuela"}}),={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["BR","CN","CZ","DE","DK","ES","FR","GB","MA","PK","RO","RU","SK","TH","US","VE"],validate:function(b,c,d){var e=();if(""===e)return!0;var f=;if(("string"!=typeof f||-1===(f,this.COUNTRY_CODES))&&(f=(c,f)),!f||-1===((),this.COUNTRY_CODES))return{valid:!1,message:(.,f)};var g=!0;switch(()){case"BR":e=(e),g=/^(([\d]{4}[-.\s]{1}[\d]{2,3}[-.\s]{1}[\d]{2}[-.\s]{1}[\d]{2})|([\d]{4}[-.\s]{1}[\d]{3}[-.\s]{1}[\d]{4})|((\(?\+?[0-9]{2}\)?\s?)?(\(?\d{2}\)?\s?)?\d{4,5}[-.\s]?\d{4}))$/.test(e);break;case"CN":e=(e),g=/^((00|\+)?(86(?:-| )))?((\d{11})|(\d{3}[- ]{1}\d{4}[- ]{1}\d{4})|((\d{2,4}[- ]){1}(\d{7,8}|(\d{3,4}[- ]{1}\d{4}))([- ]{1}\d{1,4})?))$/.test(e);break;case"CZ":g=/^(((00)([- ]?)|\+)(420)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(e);break;case"DE":e=(e),g=/^(((((((00|\+)49[ \-/]?)|0)[1-9][0-9]{1,4})[ \-/]?)|((((00|\+)49\()|\(0)[1-9][0-9]{1,4}\)[ \-/]?))[0-9]{1,7}([ \-/]?[0-9]{1,5})?)$/.test(e);break;case"DK":e=(e),g=/^(\+45|0045|\(45\))?\s?[2-9](\s?\d){7}$/.test(e);break;case"ES":e=(e),g=/^(?:(?:(?:\+|00)34\D?))?(?:9|6)(?:\d\D?){8}$/.test(e);break;case"FR":e=(e),g=/^(?:(?:(?:\+|00)33[ ]?(?:\(0\)[ ]?)?)|0){1}[1-9]{1}([ .-]?)(?:\d{2}\1?){3}\d{2}$/.test(e);break;case"GB":e=(e),g=/^\(?(?:(?:0(?:0|11)\)?[\s-]?\(?|\+)44\)?[\s-]?\(?(?:0\)?[\s-]?\(?)?|0)(?:\d{2}\)?[\s-]?\d{4}[\s-]?\d{4}|\d{3}\)?[\s-]?\d{3}[\s-]?\d{3,4}|\d{4}\)?[\s-]?(?:\d{5}|\d{3}[\s-]?\d{3})|\d{5}\)?[\s-]?\d{4,5}|8(?:00[\s-]?11[\s-]?11|45[\s-]?46[\s-]?4\d))(?:(?:[\s-]?(?:x|ext\.?\s?|\#)\d+)?)$/.test(e);break;case"MA":e=(e),g=/^(?:(?:(?:\+|00)212[\s]?(?:[\s]?\(0\)[\s]?)?)|0){1}(?:5[\s.-]?[2-3]|6[\s.-]?[13-9]){1}[0-9]{1}(?:[\s.-]?\d{2}){3}$/.test(e);break;case"PK":e=(e),g=/^0?3[0-9]{2}[0-9]{7}$/.test(e);break;case"RO":g=/^(\+4|)?(07[0-8]{1}[0-9]{1}|02[0-9]{2}|03[0-9]{2}){1}?(\s|\.|\-)?([0-9]{3}(\s|\.|\-|)){2}$/(e);break;case"RU":g=/^((8|\+7|007)[\-\.\/ ]?)?([\(\/\.]?\d{3}[\)\/\.]?[\-\.\/ ]?)?[\d\-\.\/ ]{7,10}$/(e);break;case"SK":g=/^(((00)([- ]?)|\+)(420)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(e);break;case"TH":g=/^0\(?([6|8-9]{2})*-([0-9]{3})*-([0-9]{4})$/.test(e);break;case"VE":e=(e),g=/^0(?:2(?:12|4[0-9]|5[1-9]|6[0-9]|7[0-8]|8[1-35-8]|9[1-5]|3[45789])|4(?:1[246]|2[46]))\d{7}$/.test(e);break;case"US":default:e=(/\D/g,""),g=/^(?:(1\-?)|(\+1 ?))?\(?(\d{3})[\)\-\.]?(\d{3})[\-\.]?(\d{4})$/.test(e)&&10===}return{valid:g,message:(||.,.[f])}}}}(),function(a){.=(.||{},{"default":"Please enter a value matching the pattern"}),={html5Attributes:{message:"message",regexp:"regexp"},enableByHtml5:function(a){var b=("pattern");return b?{regexp:b}:!1},validate:function(a,b,c){var d=();if(""===d)return!0;var e="string"==typeof ?new RegExp():;return (d)}}}(),function(a){.=(.||{},{"default":"Please enter a valid value"}),={html5Attributes:{message:"message",name:"name",type:"type",url:"url",data:"data",delay:"delay"},destroy:function(a,b){("")&&(clearTimeout(("")),(""))},validate:function(b,c,d){function e(){var b=({type:k,headers:l,url:j,dataType:"json",data:i});return (function(a){====!0||"true"===,(c,"remote",a)}),(function(){()}),g}var f=(),g=new ;if(""===f)return (c,"remote",{valid:!0}),g;var h=("data-bv-field"),i=||{},j=,k=||"GET",l=||{};return"function"==typeof i&&(i=(this,b)),"string"==typeof i&&(i=(i)),"function"==typeof j&&(j=(this,b)),i[||h]=f,?(("")&&clearTimeout(("")),("",setTimeout(e,)),g):e()}}}(),function(a){.=(.||{},{"default":"Please enter a valid RTN number"}),={validate:function(a,b){var c=();if(""===c)return!0;if(!/^\d{9}$/.test(c))return!1;for(var d=0,e=0;e<;e+=3)d+=3*parseInt((e),10)+7*parseInt((e+1),10)+parseInt((e+2),10);return 0!==d&&d%10===0}}}(),function(a){.=(.||{},{"default":"Please enter a valid SEDOL number"}),={validate:function(a,b){var c=();if(""===c)return!0;if(c=(),!/^[0-9A-Z]{7}$/.test(c))return!1;for(var d=0,e=[1,3,1,7,3,9,1],f=,g=0;f-1>g;g++)d+=e[g]*parseInt((g),36);return d=(10-d%10)%10,d+""===(f-1)}}}(),function(a){.=(.||{},{"default":"Please enter a valid SIREN number"}),={validate:function(b,c){var d=();return""===d?!0:/^\d{9}$/.test(d)?(d):!1}}}(),function(a){.=(.||{},{"default":"Please enter a valid SIRET number"}),={validate:function(a,b){var c=();if(""===c)return!0;for(var d,e=0,f=,g=0;f>g;g++)d=parseInt((g),10),g%2===0&&(d=2*d,d>9&&(d-=9)),e+=d;return e%10===0}}}(),function(a){.=(.||{},{"default":"Please enter a valid step of %s"}),={html5Attributes:{message:"message",base:"baseValue",step:"step"},validate:function(b,c,d){var e=();if(""===e)return!0;if(d=({},{baseValue:0,step:1},d),e=parseFloat(e),!(e))return!1;var f=function(a,b){var c=(10,b);a*=c;var d=a>0|-(0>a),e=a%1===.5*d;return e?((a)+(d>0))/c:(a)/c},g=function(a,b){if(0===b)return 1;var c=(a+"").split("."),d=(b+"").split("."),e=(1===?0:c[1].length)+(1===?0:d[1].length);return f(a-b*(a/b),e)},h=g(,);return{valid:0===h||h===,message:(||.["default"],[])}}}}(),function(a){.=(.||{},{"default":"Please enter only lowercase characters",upper:"Please enter only uppercase characters"}),={html5Attributes:{message:"message","case":"case"},validate:function(b,c,d){var e=();if(""===e)return!0;var f=(d["case"]||"lower").toLowerCase();return{valid:"upper"===f?e===():e===(),message:||("upper"===f?.:.["default"])}}}}(),function(a){.=(.||{},{"default":"Please enter a value with valid length",less:"Please enter less than %s characters",more:"Please enter more than %s characters",between:"Please enter value between %s and %s characters long"}),={html5Attributes:{message:"message",min:"min",max:"max",trim:"trim",utf8bytes:"utf8Bytes"},enableByHtml5:function(b){var c={},d=("maxlength"),e=("minlength");return d&&(=parseInt(d,10)),e&&(=parseInt(e,10)),(c)?!1:c},validate:function(b,c,d){var e=();if((===!0||"true"===)&&(e=(e)),""===e)return!0;var f=()?:(c,),g=()?:(c,),h=function(a){for(var b=,c=-1;c>=0;c--){var d=(c);d>127&&2047>=d?b++:d>2047&&65535>=d&&(b+=2),d>=56320&&57343>=d&&c--}return b},i=d.utf8Bytes?h(e):,j=!0,k=||.["default"];switch((f&&i<parseInt(f,10)||g&&i>parseInt(g,10))&&(j=!1),!0){case!!f&&!!g:k=(||.,[parseInt(f,10),parseInt(g,10)]);break;case!!f:k=(||.,parseInt(f,10));break;case!!g:k=(||.,parseInt(g,10))}return{valid:j,message:k}}}}(),function(a){.=(.||{},{"default":"Please enter a valid URI"}),={html5Attributes:{message:"message",allowlocal:"allowLocal",protocol:"protocol"},enableByHtml5:function(a){return"url"===("type")},validate:function(a,b,c){var d=();if(""===d)return!0;var e====!0||"true"===,f=(||"http, https, ftp").split(",").join("|").replace(/\s/g,""),g=new RegExp("^(?:(?:"+f+")://)(?:\\S+(?::\\S*)?@)?(?:"+(e?"":"(?!(?: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-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))"+(e?"?":"")+")(?::\\d{2,5})?(?:/[^\\s]*)?$","i");return (d)}}}(),function(a){.=(.||{},{"default":"Please enter a valid UUID number",version:"Please enter a valid UUID version %s number"}),={html5Attributes:{message:"message",version:"version"},validate:function(b,c,d){var e=();if(""===e)return!0;var f={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i},g=?+"":"all";return{valid:null===f[g]?!0:f[g].test(e),message:?(||.,):||.["default"]}}}}(),function(a){.=(.||{},{"default":"Please enter a valid VAT number",countryNotSupported:"The country code %s is not supported",country:"Please enter a valid VAT number in %s",countries:{AT:"Austria",BE:"Belgium",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",FR:"France",GB:"United Kingdom",GR:"Greek",EL:"Greek",HU:"Hungary",HR:"Croatia",IE:"Ireland",IS:"Iceland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Netherlands",NO:"Norway",PL:"Poland",PT:"Portugal",RO:"Romania",RU:"Russia",RS:"Serbia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"South Africa"}}),={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["AT","BE","BG","BR","CH","CY","CZ","DE","DK","EE","EL","ES","FI","FR","GB","GR","HR","HU","IE","IS","IT","LT","LU","LV","MT","NL","NO","PL","PT","RO","RU","RS","SE","SK","SI","VE","ZA"],validate:function(b,c,d){var e=();if(""===e)return!0;var f=;if(f?("string"!=typeof f||-1===((),this.COUNTRY_CODES))&&(f=(c,f)):f=(0,2),-1===(f,this.COUNTRY_CODES))return{valid:!1,message:(.,f)};var g=["_",()].join("");return this[g](e)?!0:{valid:!1,message:(||.,.[()])}},_at:function(a){if(/^ATU[0-9]{8}$/.test(a)&&(a=(2)),!/^U[0-9]{8}$/.test(a))return!1;a=(1);for(var b=0,c=[1,2,1,2,1,2,1],d=0,e=0;7>e;e++)d=parseInt((e),10)*c[e],d>9&&(d=(d/10)+d%10),b+=d;return b=10-(b+4)%10,10===b&&(b=0),b+""===(7,1)},_be:function(a){if(/^BE[0]{0,1}[0-9]{9}$/.test(a)&&(a=(2)),!/^[0]{0,1}[0-9]{9}$/.test(a))return!1;if(9===&&(a="0"+a),"0"===(1,1))return!1;var b=parseInt((0,8),10)+parseInt((8,2),10);return b%97===0},_bg:function(b){if(/^BG[0-9]{9,10}$/.test(b)&&(b=(2)),!/^[0-9]{9,10}$/.test(b))return!1;var c=0,d=0;if(9===){for(d=0;8>d;d++)c+=parseInt((d),10)*(d+1);if(c%=11,10===c)for(c=0,d=0;8>d;d++)c+=parseInt((d),10)*(d+3);return c%=10,c+""===(8)}if(10===){var e=function(b){var c=parseInt((0,2),10)+1900,d=parseInt((2,2),10),e=parseInt((4,2),10);if(d>40?(c+=100,d-=40):d>20&&(c-=100,d-=20),!(c,d,e))return!1;for(var f=0,g=[2,4,8,5,10,9,7,3,6],h=0;9>h;h++)f+=parseInt((h),10)*g[h];return f=f%11%10,f+""===(9,1)},f=function(a){for(var b=0,c=[21,19,17,13,11,9,7,3,1],d=0;9>d;d++)b+=parseInt((d),10)*c[d];return b%=10,b+""===(9,1)},g=function(a){for(var b=0,c=[4,3,2,7,6,5,4,3,2],d=0;9>d;d++)b+=parseInt((d),10)*c[d];return b=11-b%11,10===b?!1:(11===b&&(b=0),b+""===(9,1))};return e(b)||f(b)||g(b)}return!1},_br:function(a){if(""===a)return!0;var b=(/[^\d]+/g,"");if(""===b||14!==)return!1;if("00000000000000"===b||"11111111111111"===b||"22222222222222"===b||"33333333333333"===b||"44444444444444"===b||"55555555555555"===b||"66666666666666"===b||"77777777777777"===b||"88888888888888"===b||"99999999999999"===b)return!1;for(var c=-2,d=(0,c),e=(c),f=0,g=c-7,h=c;h>=1;h--)f+=parseInt((c-h),10)*g--,2>g&&(g=9);var i=2>f%11?0:11-f%11;if(i!==parseInt((0),10))return!1;for(c+=1,d=(0,c),f=0,g=c-7,h=c;h>=1;h--)f+=parseInt((c-h),10)*g--,2>g&&(g=9);return i=2>f%11?0:11-f%11,i===parseInt((1),10)},_ch:function(a){if(/^CHE[0-9]{9}(MWST)?$/.test(a)&&(a=(2)),!/^E[0-9]{9}(MWST)?$/.test(a))return!1;a=(1);for(var b=0,c=[5,4,3,2,7,6,5,4],d=0;8>d;d++)b+=parseInt((d),10)*c[d];return b=11-b%11,10===b?!1:(11===b&&(b=0),b+""===(8,1))},_cy:function(a){if(/^CY[0-5|9]{1}[0-9]{7}[A-Z]{1}$/.test(a)&&(a=(2)),!/^[0-5|9]{1}[0-9]{7}[A-Z]{1}$/.test(a))return!1;if("12"===(0,2))return!1;for(var b=0,c={0:1,1:0,2:5,3:7,4:9,5:13,6:15,7:17,8:19,9:21},d=0;8>d;d++){var e=parseInt((d),10);d%2===0&&(e=c[e+""]),b+=e}return b="ABCDEFGHIJKLMNOPQRSTUVWXYZ"[b%26],b+""===(8,1)},_cz:function(b){if(/^CZ[0-9]{8,10}$/.test(b)&&(b=(2)),!/^[0-9]{8,10}$/.test(b))return!1;var c=0,d=0;if(8===){if((0)+""=="9")return!1;for(c=0,d=0;7>d;d++)c+=parseInt((d),10)*(8-d);return c=11-c%11,10===c&&(c=0),11===c&&(c=1),c+""===(7,1)
}if(9===&&(0)+""=="6"){for(c=0,d=0;7>d;d++)c+=parseInt((d+1),10)*(8-d);return c=11-c%11,10===c&&(c=0),11===c&&(c=1),c=[8,7,6,5,4,3,2,1,0,9,10][c-1],c+""===(8,1)}if(9===||10===){var e=1900+parseInt((0,2),10),f=parseInt((2,2),10)%50%20,g=parseInt((4,2),10);if(9===){if(e>=1980&&(e-=100),e>1953)return!1}else 1954>e&&(e+=100);if(!(e,f,g))return!1;if(10===){var h=parseInt((0,9),10)%11;return 1985>e&&(h%=10),h+""===(9,1)}return!0}return!1},_de:function(b){return/^DE[0-9]{9}$/.test(b)&&(b=(2)),/^[0-9]{9}$/.test(b)?.mod11And10(b):!1},_dk:function(a){if(/^DK[0-9]{8}$/.test(a)&&(a=(2)),!/^[0-9]{8}$/.test(a))return!1;for(var b=0,c=[2,7,6,5,4,3,2,1],d=0;8>d;d++)b+=parseInt((d),10)*c[d];return b%11===0},_ee:function(a){if(/^EE[0-9]{9}$/.test(a)&&(a=(2)),!/^[0-9]{9}$/.test(a))return!1;for(var b=0,c=[3,7,1,3,7,1,3,7,1],d=0;9>d;d++)b+=parseInt((d),10)*c[d];return b%10===0},_es:function(a){if(/^ES[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(a)&&(a=(2)),!/^[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(a))return!1;var b=function(a){var b=parseInt((0,8),10);return b="TRWAGMYFPDXBNJZSQVHLCKE"[b%23],b+""===(8,1)},c=function(a){var b=["XYZ".indexOf((0)),(1)].join("");return b=parseInt(b,10),b="TRWAGMYFPDXBNJZSQVHLCKE"[b%23],b+""===(8,1)},d=function(a){var b,c=(0);if(-1!=="KLM".indexOf(c))return b=parseInt((1,8),10),b="TRWAGMYFPDXBNJZSQVHLCKE"[b%23],b+""===(8,1);if(-1!=="ABCDEFGHJNPQRSUVW".indexOf(c)){for(var d=0,e=[2,1,2,1,2,1,2],f=0,g=0;7>g;g++)f=parseInt((g+1),10)*e[g],f>9&&(f=(f/10)+f%10),d+=f;return d=10-d%10,d+""===(8,1)||"JABCDEFGHI"[d]===(8,1)}return!1},e=(0);return/^[0-9]$/.test(e)?b(a):/^[XYZ]$/.test(e)?c(a):d(a)},_fi:function(a){if(/^FI[0-9]{8}$/.test(a)&&(a=(2)),!/^[0-9]{8}$/.test(a))return!1;for(var b=0,c=[7,9,10,5,8,4,2,1],d=0;8>d;d++)b+=parseInt((d),10)*c[d];return b%11===0},_fr:function(b){if(/^FR[0-9A-Z]{2}[0-9]{9}$/.test(b)&&(b=(2)),!/^[0-9A-Z]{2}[0-9]{9}$/.test(b))return!1;if(!((2)))return!1;if(/^[0-9]{2}$/.test((0,2)))return (0,2)===parseInt((2)+"12",10)%97+"";var c,d="0123456789ABCDEFGHJKLMNPQRSTUVWXYZ";return c=/^[0-9]{1}$/.test((0))?24*((0))+((1))-10:34*((0))+((1))-100,(parseInt((2),10)+1+(c/11))%11===c%11},_gb:function(a){if((/^GB[0-9]{9}$/.test(a)||/^GB[0-9]{12}$/.test(a)||/^GBGD[0-9]{3}$/.test(a)||/^GBHA[0-9]{3}$/.test(a)||/^GB(GD|HA)8888[0-9]{5}$/.test(a))&&(a=(2)),!(/^[0-9]{9}$/.test(a)||/^[0-9]{12}$/.test(a)||/^GD[0-9]{3}$/.test(a)||/^HA[0-9]{3}$/.test(a)||/^(GD|HA)8888[0-9]{5}$/.test(a)))return!1;var b=;if(5===b){var c=(0,2),d=parseInt((2),10);return"GD"===c&&500>d||"HA"===c&&d>=500}if(11===b&&("GD8888"===(0,6)||"HA8888"===(0,6)))return"GD"===(0,2)&&parseInt((6,3),10)>=500||"HA"===(0,2)&&parseInt((6,3),10)<500?!1:parseInt((6,3),10)%97===parseInt((9,2),10);if(9===b||12===b){for(var e=0,f=[8,7,6,5,4,3,2,10,1],g=0;9>g;g++)e+=parseInt((g),10)*f[g];return e%=97,parseInt((0,3),10)>=100?0===e||42===e||55===e:0===e}return!0},_gr:function(a){if(/^(GR|EL)[0-9]{9}$/.test(a)&&(a=(2)),!/^[0-9]{9}$/.test(a))return!1;8===&&(a="0"+a);for(var b=0,c=[256,128,64,32,16,8,4,2],d=0;8>d;d++)b+=parseInt((d),10)*c[d];return b=b%11%10,b+""===(8,1)},_el:function(a){return this._gr(a)},_hu:function(a){if(/^HU[0-9]{8}$/.test(a)&&(a=(2)),!/^[0-9]{8}$/.test(a))return!1;for(var b=0,c=[9,7,3,1,9,7,3,1],d=0;8>d;d++)b+=parseInt((d),10)*c[d];return b%10===0},_hr:function(b){return/^HR[0-9]{11}$/.test(b)&&(b=(2)),/^[0-9]{11}$/.test(b)?.mod11And10(b):!1},_ie:function(a){if(/^IE[0-9]{1}[0-9A-Z\*\+]{1}[0-9]{5}[A-Z]{1,2}$/.test(a)&&(a=(2)),!/^[0-9]{1}[0-9A-Z\*\+]{1}[0-9]{5}[A-Z]{1,2}$/.test(a))return!1;var b=function(a){for(;<7;)a="0"+a;for(var b="WABCDEFGHIJKLMNOPQRSTUV",c=0,d=0;7>d;d++)c+=parseInt((d),10)*(8-d);return c+=9*((7)),b[c%23]};return/^[0-9]+$/.test((0,7))?(7)===b((0,7)+(8)+""):-1!=="ABCDEFGHIJKLMNOPQRSTUVWXYZ+*".indexOf((1))?(7)===b((2,5)+(0,1)+""):!0},_is:function(a){return/^IS[0-9]{5,6}$/.test(a)&&(a=(2)),/^[0-9]{5,6}$/.test(a)},_it:function(b){if(/^IT[0-9]{11}$/.test(b)&&(b=(2)),!/^[0-9]{11}$/.test(b))return!1;if(0===parseInt((0,7),10))return!1;var c=parseInt((7,3),10);return 1>c||c>201&&999!==c&&888!==c?!1:(b)},_lt:function(a){if(/^LT([0-9]{7}1[0-9]{1}|[0-9]{10}1[0-9]{1})$/.test(a)&&(a=(2)),!/^([0-9]{7}1[0-9]{1}|[0-9]{10}1[0-9]{1})$/.test(a))return!1;var b,c=,d=0;for(b=0;c-1>b;b++)d+=parseInt((b),10)*(1+b%9);var e=d%11;if(10===e)for(d=0,b=0;c-1>b;b++)d+=parseInt((b),10)*(1+(b+2)%9);return e=e%11%10,e+""===(c-1)},_lu:function(a){return/^LU[0-9]{8}$/.test(a)&&(a=(2)),/^[0-9]{8}$/.test(a)?parseInt((0,6),10)%89+""===(6,2):!1},_lv:function(b){if(/^LV[0-9]{11}$/.test(b)&&(b=(2)),!/^[0-9]{11}$/.test(b))return!1;var c,d=parseInt((0),10),e=0,f=[],g=;if(d>3){for(e=0,f=[9,1,4,8,3,10,2,5,7,6,1],c=0;g>c;c++)e+=parseInt((c),10)*f[c];return e%=11,3===e}var h=parseInt((0,2),10),i=parseInt((2,2),10),j=parseInt((4,2),10);if(j=j+1800+100*parseInt((6),10),!(j,i,h))return!1;for(e=0,f=[10,5,8,4,2,1,6,3,7,9],c=0;g-1>c;c++)e+=parseInt((c),10)*f[c];return e=(e+1)%11%10,e+""===(g-1)},_mt:function(a){if(/^MT[0-9]{8}$/.test(a)&&(a=(2)),!/^[0-9]{8}$/.test(a))return!1;for(var b=0,c=[3,4,6,7,8,9,10,1],d=0;8>d;d++)b+=parseInt((d),10)*c[d];return b%37===0},_nl:function(a){if(/^NL[0-9]{9}B[0-9]{2}$/.test(a)&&(a=(2)),!/^[0-9]{9}B[0-9]{2}$/.test(a))return!1;for(var b=0,c=[9,8,7,6,5,4,3,2],d=0;8>d;d++)b+=parseInt((d),10)*c[d];return b%=11,b>9&&(b=0),b+""===(8,1)},_no:function(a){if(/^NO[0-9]{9}$/.test(a)&&(a=(2)),!/^[0-9]{9}$/.test(a))return!1;for(var b=0,c=[3,2,7,6,5,4,3,2],d=0;8>d;d++)b+=parseInt((d),10)*c[d];return b=11-b%11,11===b&&(b=0),b+""===(8,1)},_pl:function(a){if(/^PL[0-9]{10}$/.test(a)&&(a=(2)),!/^[0-9]{10}$/.test(a))return!1;for(var b=0,c=[6,5,7,2,3,4,5,6,7,-1],d=0;10>d;d++)b+=parseInt((d),10)*c[d];return b%11===0},_pt:function(a){if(/^PT[0-9]{9}$/.test(a)&&(a=(2)),!/^[0-9]{9}$/.test(a))return!1;for(var b=0,c=[9,8,7,6,5,4,3,2],d=0;8>d;d++)b+=parseInt((d),10)*c[d];return b=11-b%11,b>9&&(b=0),b+""===(8,1)},_ro:function(a){if(/^RO[1-9][0-9]{1,9}$/.test(a)&&(a=(2)),!/^[1-9][0-9]{1,9}$/.test(a))return!1;for(var b=,c=[7,5,3,2,1,7,5,3,2].slice(10-b),d=0,e=0;b-1>e;e++)d+=parseInt((e),10)*c[e];return d=10*d%11%10,d+""===(b-1,1)},_ru:function(a){if(/^RU([0-9]{10}|[0-9]{12})$/.test(a)&&(a=(2)),!/^([0-9]{10}|[0-9]{12})$/.test(a))return!1;var b=0;if(10===){var c=0,d=[2,4,10,3,5,9,4,6,8,0];for(b=0;10>b;b++)c+=parseInt((b),10)*d[b];return c%=11,c>9&&(c%=10),c+""===(9,1)}if(12===){var e=0,f=[7,2,4,10,3,5,9,4,6,8,0],g=0,h=[3,7,2,4,10,3,5,9,4,6,8,0];for(b=0;11>b;b++)e+=parseInt((b),10)*f[b],g+=parseInt((b),10)*h[b];return e%=11,e>9&&(e%=10),g%=11,g>9&&(g%=10),e+""===(10,1)&&g+""===(11,1)}return!1},_rs:function(a){if(/^RS[0-9]{9}$/.test(a)&&(a=(2)),!/^[0-9]{9}$/.test(a))return!1;for(var b=10,c=0,d=0;8>d;d++)c=(parseInt((d),10)+b)%10,0===c&&(c=10),b=2*c%11;return(b+parseInt((8,1),10))%10===1},_se:function(b){return/^SE[0-9]{10}01$/.test(b)&&(b=(2)),/^[0-9]{10}01$/.test(b)?(b=(0,10),(b)):!1},_si:function(a){if(/^SI[0-9]{8}$/.test(a)&&(a=(2)),!/^[0-9]{8}$/.test(a))return!1;for(var b=0,c=[8,7,6,5,4,3,2],d=0;7>d;d++)b+=parseInt((d),10)*c[d];return b=11-b%11,10===b&&(b=0),b+""===(7,1)},_sk:function(a){return/^SK[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(a)&&(a=(2)),/^[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(a)?parseInt(a,10)%11===0:!1},_ve:function(a){if(/^VE[VEJPG][0-9]{9}$/.test(a)&&(a=(2)),!/^[VEJPG][0-9]{9}$/.test(a))return!1;for(var b={V:4,E:8,J:12,P:16,G:20},c=b[(0)],d=[3,2,7,6,5,4,3,2],e=0;8>e;e++)c+=parseInt((e+1),10)*d[e];return c=11-c%11,(11===c||10===c)&&(c=0),c+""===(9,1)},_za:function(a){return/^ZA4[0-9]{9}$/.test(a)&&(a=(2)),/^4[0-9]{9}$/.test(a)}}}(),function(a){.=(.||{},{"default":"Please enter a valid VIN number"}),={validate:function(a,b){var c=();if(""===c)return!0;if(!/^[a-hj-npr-z0-9]{8}[0-9xX][a-hj-npr-z0-9]{8}$/(c))return!1;c=();for(var d={A:1,B:2,C:3,D:4,E:5,F:6,G:7,H:8,J:1,K:2,L:3,M:4,N:5,P:7,R:9,S:2,T:3,U:4,V:5,W:6,X:7,Y:8,Z:9,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,0:0},e=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],f=0,g=,h=0;g>h;h++)f+=d[(h)+""]*e[h];var i=f%11;return 10===i&&(i="X"),i+""===(8)}}}(),function(a){.=(.||{},{"default":"Please enter a valid postal code",countryNotSupported:"The country code %s is not supported",country:"Please enter a valid postal code in %s",countries:{AT:"Austria",BR:"Brazil",CA:"Canada",CH:"Switzerland",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",FR:"France",GB:"United Kingdom",IE:"Ireland",IT:"Italy",MA:"Morocco",NL:"Netherlands",PT:"Portugal",RO:"Romania",RU:"Russia",SE:"Sweden",SG:"Singapore",SK:"Slovakia",US:"USA"}}),={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["AT","BR","CA","CH","CZ","DE","DK","FR","GB","IE","IT","MA","NL","PT","RO","RU","SE","SG","SK","US"],validate:function(b,c,d){var e=();if(""===e||!)return!0;var f=;if(("string"!=typeof f||-1===(f,this.COUNTRY_CODES))&&(f=(c,f)),!f||-1===((),this.COUNTRY_CODES))return{valid:!1,message:(.,f)};var g=!1;switch(f=()){case"AT":g=/^([1-9]{1})(\d{3})$/.test(e);break;case"BR":g=/^(\d{2})([\.]?)(\d{3})([\-]?)(\d{3})$/.test(e);break;case"CA":g=/^(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|X|Y){1}[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}\s?[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}[0-9]{1}$/(e);break;case"CH":g=/^([1-9]{1})(\d{3})$/.test(e);break;case"CZ":g=/^(\d{3})([ ]?)(\d{2})$/.test(e);break;case"DE":g=/^(?!01000|99999)(0[1-9]\d{3}|[1-9]\d{4})$/.test(e);break;case"DK":g=/^(DK(-|\s)?)?\d{4}$/(e);break;case"FR":g=/^[0-9]{5}$/(e);break;case"GB":g=this._gb(e);break;case"IE":g=/^(D6W|[ACDEFHKNPRTVWXY]\d{2})\s[0-9ACDEFHKNPRTVWXY]{4}$/.test(e);break;case"IT":g=/^(I-|IT-)?\d{5}$/(e);break;case"MA":g=/^[1-9][0-9]{4}$/(e);break;case"NL":g=/^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/(e);break;case"PT":g=/^[1-9]\d{3}-\d{3}$/.test(e);break;case"RO":g=/^(0[1-8]{1}|[1-9]{1}[0-5]{1})?[0-9]{4}$/(e);break;case"RU":g=/^[0-9]{6}$/(e);break;case"SE":g=/^(S-)?\d{3}\s?\d{2}$/(e);break;case"SG":g=/^([0][1-9]|[1-6][0-9]|[7]([0-3]|[5-9])|[8][0-2])(\d{4})$/(e);break;case"SK":g=/^(\d{3})([ ]?)(\d{2})$/.test(e);break;case"US":default:g=/^\d{4,5}([\-]?\d{4})?$/.test(e)}return{valid:g,message:(||.,.[f])}},_gb:function(a){for(var b="[ABCDEFGHIJKLMNOPRSTUWYZ]",c="[ABCDEFGHKLMNOPQRSTUVWXY]",d="[ABCDEFGHJKPMNRSTUVWXY]",e="[ABEHMNPRVWXY]",f="[ABDEFGHJLNPQRSTUWXYZ]",g=[new RegExp("^("+b+"{1}"+c+"?[0-9]{1,2})(\\s*)([0-9]{1}"+f+"{2})$","i"),new RegExp("^("+b+"{1}[0-9]{1}"+d+"{1})(\\s*)([0-9]{1}"+f+"{2})$","i"),new RegExp("^("+b+"{1}"+c+"{1}?[0-9]{1}"+e+"{1})(\\s*)([0-9]{1}"+f+"{2})$","i"),new RegExp("^(BF1)(\\s*)([0-6]{1}[ABDEFGHJLNPQRST]{1}[ABDEFGHJLNPQRSTUWZYZ]{1})$","i"),/^(GIR)(\s*)(0AA)$/i,/^(BFPO)(\s*)([0-9]{1,4})$/i,/^(BFPO)(\s*)(c\/o\s*[0-9]{1,3})$/i,/^([A-Z]{4})(\s*)(1ZZ)$/i,/^(AI-2640)$/i],h=0;h<;h++)if(g[h].test(a))return!0;return!1}}}();
点击下载
同理。
/**
* BootstrapValidator ()
*
* The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
*
* @author /nghuuphuoc
* @copyright (c) 2013 - 2014 Nguyen Huu Phuoc
* @license MIT
*/
.bv-form .help-block {
margin-bottom: 0;
}
.nav-tabs -tab-success > a {
color: #3c763d;
}
.nav-tabs -tab-error > a {
color: #a94442;
}