/**
* jquery validation plugin 1.8.0
*
* http://bassistance.de/jquery-plugins/jquery-plugin-validation/
* http://docs.jquery.com/plugins/validation
*
* copyright (c) 2006 - 2011 jörn zaefferer
*
* dual licensed under the mit and gpl licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*/
(function(c){c.extend(c.fn,{validate:function(a){if(this.length){var b=c.data(this[0],"validator");if(b)return b;b=new c.validator(a,this[0]);c.data(this[0],"validator",b);if(b.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){b.cancelsubmit=true});b.settings.submithandler&&this.find("input, button").filter(":submit").click(function(){b.submitbutton=this});this.submit(function(d){function e(){if(b.settings.submithandler){if(b.submitbutton)var f=c("").attr("name",
b.submitbutton.name).val(b.submitbutton.value).appendto(b.currentform);b.settings.submithandler.call(b,b.currentform);b.submitbutton&&f.remove();return false}return true}b.settings.debug&&d.preventdefault();if(b.cancelsubmit){b.cancelsubmit=false;return e()}if(b.form()){if(b.pendingrequest){b.formsubmitted=true;return false}return e()}else{b.focusinvalid();return false}})}return b}else a&&a.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing")},valid:function(){if(c(this[0]).is("form"))return this.validate().form();
else{var a=true,b=c(this[0].form).validate();this.each(function(){a&=b.element(this)});return a}},removeattrs:function(a){var b={},d=this;c.each(a.split(/\s/),function(e,f){b[f]=d.attr(f);d.removeattr(f)});return b},rules:function(a,b){var d=this[0];if(a){var e=c.data(d.form,"validator").settings,f=e.rules,g=c.validator.staticrules(d);switch(a){case "add":c.extend(g,c.validator.normalizerule(b));f[d.name]=g;if(b.messages)e.messages[d.name]=c.extend(e.messages[d.name],b.messages);break;case "remove":if(!b){delete f[d.name];
return g}var h={};c.each(b.split(/\s/),function(j,i){h[i]=g[i];delete g[i]});return h}}d=c.validator.normalizerules(c.extend({},c.validator.metadatarules(d),c.validator.classrules(d),c.validator.attributerules(d),c.validator.staticrules(d)),d);if(d.required){e=d.required;delete d.required;d=c.extend({required:e},d)}return d}});c.extend(c.expr[":"],{blank:function(a){return!c.trim(""+a.value)},filled:function(a){return!!c.trim(""+a.value)},unchecked:function(a){return!a.checked}});c.validator=function(a,
b){this.settings=c.extend(true,{},c.validator.defaults,a);this.currentform=b;this.init()};c.validator.format=function(a,b){if(arguments.length==1)return function(){var d=c.makearray(arguments);d.unshift(a);return c.validator.format.apply(this,d)};if(arguments.length>2&&b.constructor!=array)b=c.makearray(arguments).slice(1);if(b.constructor!=array)b=[b];c.each(b,function(d,e){a=a.replace(regexp("\\{"+d+"\\}","g"),e)});return a};c.extend(c.validator,{defaults:{messages:{},groups:{},rules:{},errorclass:"error",
validclass:"valid",errorelement:"label",focusinvalid:true,errorcontainer:c([]),errorlabelcontainer:c([]),onsubmit:true,ignore:[],ignoretitle:false,onfocusin:function(a){this.lastactive=a;if(this.settings.focuscleanup&&!this.blockfocuscleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorclass,this.settings.validclass);this.addwrapper(this.errorsfor(a)).hide()}},onfocusout:function(a){if(!this.checkable(a)&&(a.name in this.submitted||!this.optional(a)))this.element(a)},
onkeyup:function(a){if(a.name in this.submitted||a==this.lastelement)this.element(a)},onclick:function(a){if(a.name in this.submitted)this.element(a);else a.parentnode.name in this.submitted&&this.element(a.parentnode)},highlight:function(a,b,d){c(a).addclass(b).removeclass(d)},unhighlight:function(a,b,d){c(a).removeclass(b).addclass(d)}},setdefaults:function(a){c.extend(c.validator.defaults,a)},messages:{required:"this field is required.",remote:"please fix this field.",email:"please enter a valid email address.",
url:"please enter a valid url.",date:"please enter a valid date.",dateiso:"please enter a valid date (iso).",number:"please enter a valid number.",digits:"please enter only digits.",creditcard:"please enter a valid credit card number.",equalto:"please enter the same value again.",accept:"please enter a value with a valid extension.",maxlength:c.validator.format("please enter no more than {0} characters."),minlength:c.validator.format("please enter at least {0} characters."),rangelength:c.validator.format("please enter a value between {0} and {1} characters long."),
range:c.validator.format("please enter a value between {0} and {1}."),max:c.validator.format("please enter a value less than or equal to {0}."),min:c.validator.format("please enter a value greater than or equal to {0}.")},autocreateranges:false,prototype:{init:function(){function a(e){var f=c.data(this[0].form,"validator");e="on"+e.type.replace(/^validate/,"");f.settings[e]&&f.settings[e].call(f,this[0])}this.labelcontainer=c(this.settings.errorlabelcontainer);this.errorcontext=this.labelcontainer.length&&
this.labelcontainer||c(this.currentform);this.containers=c(this.settings.errorcontainer).add(this.settings.errorlabelcontainer);this.submitted={};this.valuecache={};this.pendingrequest=0;this.pending={};this.invalid={};this.reset();var b=this.groups={};c.each(this.settings.groups,function(e,f){c.each(f.split(/\s/),function(g,h){b[h]=e})});var d=this.settings.rules;c.each(d,function(e,f){d[e]=c.validator.normalizerule(f)});c(this.currentform).validatedelegate(":text, :password, :file, select, textarea",
"focusin focusout keyup",a).validatedelegate(":radio, :checkbox, select, option","click",a);this.settings.invalidhandler&&c(this.currentform).bind("invalid-form.validate",this.settings.invalidhandler)},form:function(){this.checkform();c.extend(this.submitted,this.errormap);this.invalid=c.extend({},this.errormap);this.valid()||c(this.currentform).triggerhandler("invalid-form",[this]);this.showerrors();return this.valid()},checkform:function(){this.prepareform();for(var a=0,b=this.currentelements=this.elements();b[a];a++)this.check(b[a]);
return this.valid()},element:function(a){this.lastelement=a=this.clean(a);this.prepareelement(a);this.currentelements=c(a);var b=this.check(a);if(b)delete this.invalid[a.name];else this.invalid[a.name]=true;if(!this.numberofinvalids())this.tohide=this.tohide.add(this.containers);this.showerrors();return b},showerrors:function(a){if(a){c.extend(this.errormap,a);this.errorlist=[];for(var b in a)this.errorlist.push({message:a[b],element:this.findbyname(b)[0]});this.successlist=c.grep(this.successlist,
function(d){return!(d.name in a)})}this.settings.showerrors?this.settings.showerrors.call(this,this.errormap,this.errorlist):this.defaultshowerrors()},resetform:function(){c.fn.resetform&&c(this.currentform).resetform();this.submitted={};this.prepareform();this.hideerrors();this.elements().removeclass(this.settings.errorclass)},numberofinvalids:function(){return this.objectlength(this.invalid)},objectlength:function(a){var b=0,d;for(d in a)b++;return b},hideerrors:function(){this.addwrapper(this.tohide).hide()},
valid:function(){return this.size()==0},size:function(){return this.errorlist.length},focusinvalid:function(){if(this.settings.focusinvalid)try{c(this.findlastactive()||this.errorlist.length&&this.errorlist[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(a){}},findlastactive:function(){var a=this.lastactive;return a&&c.grep(this.errorlist,function(b){return b.element.name==a.name}).length==1&&a},elements:function(){var a=this,b={};return c([]).add(this.currentform.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&
a.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in b||!a.objectlength(c(this).rules()))return false;return b[this.name]=true})},clean:function(a){return c(a)[0]},errors:function(){return c(this.settings.errorelement+"."+this.settings.errorclass,this.errorcontext)},reset:function(){this.successlist=[];this.errorlist=[];this.errormap={};this.toshow=c([]);this.tohide=c([]);this.currentelements=c([])},prepareform:function(){this.reset();this.tohide=this.errors().add(this.containers)},
prepareelement:function(a){this.reset();this.tohide=this.errorsfor(a)},check:function(a){a=this.clean(a);if(this.checkable(a))a=this.findbyname(a.name).not(this.settings.ignore)[0];var b=c(a).rules(),d=false,e;for(e in b){var f={method:e,parameters:b[e]};try{var g=c.validator.methods[e].call(this,a.value.replace(/\r/g,""),a,f.parameters);if(g=="dependency-mismatch")d=true;else{d=false;if(g=="pending"){this.tohide=this.tohide.not(this.errorsfor(a));return}if(!g){this.formatandadd(a,f);return false}}}catch(h){this.settings.debug&&
window.console&&console.log("exception occured when checking element "+a.id+", check the '"+f.method+"' method",h);throw h;}}if(!d){this.objectlength(b)&&this.successlist.push(a);return true}},custommetamessage:function(a,b){if(c.metadata){var d=this.settings.meta?c(a).metadata()[this.settings.meta]:c(a).metadata();return d&&d.messages&&d.messages[b]}},custommessage:function(a,b){var d=this.settings.messages[a];return d&&(d.constructor==string?d:d[b])},finddefined:function(){for(var a=0;awarning: no message defined for "+a.name+"")},formatandadd:function(a,b){var d=this.defaultmessage(a,b.method),e=/\$?\{(\d+)\}/g;if(typeof d=="function")d=d.call(this,b.parameters,a);else if(e.test(d))d=jquery.format(d.replace(e,"{$1}"),b.parameters);this.errorlist.push({message:d,
element:a});this.errormap[a.name]=d;this.submitted[a.name]=d},addwrapper:function(a){if(this.settings.wrapper)a=a.add(a.parent(this.settings.wrapper));return a},defaultshowerrors:function(){for(var a=0;this.errorlist[a];a++){var b=this.errorlist[a];this.settings.highlight&&this.settings.highlight.call(this,b.element,this.settings.errorclass,this.settings.validclass);this.showlabel(b.element,b.message)}if(this.errorlist.length)this.toshow=this.toshow.add(this.containers);if(this.settings.success)for(a=
0;this.successlist[a];a++)this.showlabel(this.successlist[a]);if(this.settings.unhighlight){a=0;for(b=this.validelements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorclass,this.settings.validclass)}this.tohide=this.tohide.not(this.toshow);this.hideerrors();this.addwrapper(this.toshow).show()},validelements:function(){return this.currentelements.not(this.invalidelements())},invalidelements:function(){return c(this.errorlist).map(function(){return this.element})},showlabel:function(a,
b){var d=this.errorsfor(a);if(d.length){d.removeclass().addclass(this.settings.errorclass);d.attr("generated")&&d.html(b)}else{d=c("<"+this.settings.errorelement+"/>").attr({"for":this.idorname(a),generated:true}).addclass(this.settings.errorclass).html(b||"");if(this.settings.wrapper)d=d.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();this.labelcontainer.append(d).length||(this.settings.errorplacement?this.settings.errorplacement(d,c(a)):d.insertafter(a))}if(!b&&this.settings.success){d.text("");
typeof this.settings.success=="string"?d.addclass(this.settings.success):this.settings.success(d)}this.toshow=this.toshow.add(d)},errorsfor:function(a){var b=this.idorname(a);return this.errors().filter(function(){return c(this).attr("for")==b})},idorname:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},checkable:function(a){return/radio|checkbox/i.test(a.type)},findbyname:function(a){var b=this.currentform;return c(document.getelementsbyname(a)).map(function(d,e){return e.form==
b&&e.name==a&&e||null})},getlength:function(a,b){switch(b.nodename.tolowercase()){case "select":return c("option:selected",b).length;case "input":if(this.checkable(b))return this.findbyname(b.name).filter(":checked").length}return a.length},depend:function(a,b){return this.dependtypes[typeof a]?this.dependtypes[typeof a](a,b):true},dependtypes:{"boolean":function(a){return a},string:function(a,b){return!!c(a,b.form).length},"function":function(a,b){return a(b)}},optional:function(a){return!c.validator.methods.required.call(this,
c.trim(a.value),a)&&"dependency-mismatch"},startrequest:function(a){if(!this.pending[a.name]){this.pendingrequest++;this.pending[a.name]=true}},stoprequest:function(a,b){this.pendingrequest--;if(this.pendingrequest<0)this.pendingrequest=0;delete this.pending[a.name];if(b&&this.pendingrequest==0&&this.formsubmitted&&this.form()){c(this.currentform).submit();this.formsubmitted=false}else if(!b&&this.pendingrequest==0&&this.formsubmitted){c(this.currentform).triggerhandler("invalid-form",[this]);this.formsubmitted=
false}},previousvalue:function(a){return c.data(a,"previousvalue")||c.data(a,"previousvalue",{old:null,valid:true,message:this.defaultmessage(a,"remote")})}},classrulesettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateiso:{dateiso:true},datede:{datede:true},number:{number:true},numberde:{numberde:true},digits:{digits:true},creditcard:{creditcard:true}},addclassrules:function(a,b){a.constructor==string?this.classrulesettings[a]=b:c.extend(this.classrulesettings,
a)},classrules:function(a){var b={};(a=c(a).attr("class"))&&c.each(a.split(" "),function(){this in c.validator.classrulesettings&&c.extend(b,c.validator.classrulesettings[this])});return b},attributerules:function(a){var b={};a=c(a);for(var d in c.validator.methods){var e=a.attr(d);if(e)b[d]=e}b.maxlength&&/-1|2147483647|524288/.test(b.maxlength)&&delete b.maxlength;return b},metadatarules:function(a){if(!c.metadata)return{};var b=c.data(a.form,"validator").settings.meta;return b?c(a).metadata()[b]:
c(a).metadata()},staticrules:function(a){var b={},d=c.data(a.form,"validator");if(d.settings.rules)b=c.validator.normalizerule(d.settings.rules[a.name])||{};return b},normalizerules:function(a,b){c.each(a,function(d,e){if(e===false)delete a[d];else if(e.param||e.depends){var f=true;switch(typeof e.depends){case "string":f=!!c(e.depends,b.form).length;break;case "function":f=e.depends.call(b,b)}if(f)a[d]=e.param!==undefined?e.param:true;else delete a[d]}});c.each(a,function(d,e){a[d]=c.isfunction(e)?
e(b):e});c.each(["minlength","maxlength","min","max"],function(){if(a[this])a[this]=number(a[this])});c.each(["rangelength","range"],function(){if(a[this])a[this]=[number(a[this][0]),number(a[this][1])]});if(c.validator.autocreateranges){if(a.min&&a.max){a.range=[a.min,a.max];delete a.min;delete a.max}if(a.minlength&&a.maxlength){a.rangelength=[a.minlength,a.maxlength];delete a.minlength;delete a.maxlength}}a.messages&&delete a.messages;return a},normalizerule:function(a){if(typeof a=="string"){var b=
{};c.each(a.split(/\s/),function(){b[this]=true});a=b}return a},addmethod:function(a,b,d){c.validator.methods[a]=b;c.validator.messages[a]=d!=undefined?d:c.validator.messages[a];b.length<3&&c.validator.addclassrules(a,c.validator.normalizerule(a))},methods:{required:function(a,b,d){if(!this.depend(d,b))return"dependency-mismatch";switch(b.nodename.tolowercase()){case "select":return(a=c(b).val())&&a.length>0;case "input":if(this.checkable(b))return this.getlength(a,b)>0;default:return c.trim(a).length>
0}},remote:function(a,b,d){if(this.optional(b))return"dependency-mismatch";var e=this.previousvalue(b);this.settings.messages[b.name]||(this.settings.messages[b.name]={});e.originalmessage=this.settings.messages[b.name].remote;this.settings.messages[b.name].remote=e.message;d=typeof d=="string"&&{url:d}||d;if(this.pending[b.name])return"pending";if(e.old===a)return e.valid;e.old=a;var f=this;this.startrequest(b);var g={};g[b.name]=a;c.ajax(c.extend(true,{url:d,mode:"abort",port:"validate"+b.name,
datatype:"json",data:g,success:function(h){f.settings.messages[b.name].remote=e.originalmessage;var j=h===true;if(j){var i=f.formsubmitted;f.prepareelement(b);f.formsubmitted=i;f.successlist.push(b);f.showerrors()}else{i={};h=h||f.defaultmessage(b,"remote");i[b.name]=e.message=c.isfunction(h)?h(a):h;f.showerrors(i)}e.valid=j;f.stoprequest(b,j)}},d));return"pending"},minlength:function(a,b,d){return this.optional(b)||this.getlength(c.trim(a),b)>=d},maxlength:function(a,b,d){return this.optional(b)||
this.getlength(c.trim(a),b)<=d},rangelength:function(a,b,d){a=this.getlength(c.trim(a),b);return this.optional(b)||a>=d[0]&&a<=d[1]},min:function(a,b,d){return this.optional(b)||a>=d},max:function(a,b,d){return this.optional(b)||a<=d},range:function(a,b,d){return this.optional(b)||a>=d[0]&&a<=d[1]},email:function(a,b){return this.optional(b)||/^((([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.test(a)},
url:function(a,b){return this.optional(b)||/^(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.test(a)},
date:function(a,b){return this.optional(b)||!/invalid|nan/.test(new date(a))},dateiso:function(a,b){return this.optional(b)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(a)},number:function(a,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},creditcard:function(a,b){if(this.optional(b))return"dependency-mismatch";if(/[^0-9-]+/.test(a))return false;var d=0,e=0,f=false;a=a.replace(/\d/g,"");for(var g=a.length-1;g>=
0;g--){e=a.charat(g);e=parseint(e,10);if(f)if((e*=2)>9)e-=9;d+=e;f=!f}return d%10==0},accept:function(a,b,d){d=typeof d=="string"?d.replace(/,/g,"|"):"png|jpe?g|gif";return this.optional(b)||a.match(regexp(".("+d+")$","i"))},equalto:function(a,b,d){d=c(d).unbind(".validate-equalto").bind("blur.validate-equalto",function(){c(b).valid()});return a==d.val()}}});c.format=c.validator.format})(jquery);
(function(c){var a={};if(c.ajaxprefilter)c.ajaxprefilter(function(d,e,f){e=d.port;if(d.mode=="abort"){a[e]&&a[e].abort();a[e]=f}});else{var b=c.ajax;c.ajax=function(d){var e=("port"in d?d:c.ajaxsettings).port;if(("mode"in d?d:c.ajaxsettings).mode=="abort"){a[e]&&a[e].abort();return a[e]=b.apply(this,arguments)}return b.apply(this,arguments)}}})(jquery);
(function(c){!jquery.event.special.focusin&&!jquery.event.special.focusout&&document.addeventlistener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.handle.call(this,e)}c.event.special[b]={setup:function(){this.addeventlistener(a,d,true)},teardown:function(){this.removeeventlistener(a,d,true)},handler:function(e){arguments[0]=c.event.fix(e);arguments[0].type=b;return c.event.handle.apply(this,arguments)}}});c.extend(c.fn,{validatedelegate:function(a,
b,d){return this.bind(b,function(e){var f=c(e.target);if(f.is(a))return d.apply(f,arguments)})}})})(jquery);