HtmlToText
) /gi, ob=/^(?:select|textarea)/i,pb=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,qb=/^(?:get|head)$/,ra=/\[\]$/,t=/\=\?(&|$)/,ja=/\?/,rb=/([?&])_=[^&]*/,sb=/^(\w+:)?\/\/([^\/?#]+)/,tb=/%20/g,ub=/#.*$/,ha=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!=="string"&&ha)return ha.apply(this,arguments);else if(!this.length)return this;var e=a.indexof(" ");if(e =0){var f=a.slice(e,a.length);a=a.slice(0,e)}e="get";if(b)if(c.isfunction(b)){d=b;b=null}else if(typeof b=== "object"){b=c.param(b,c.ajaxsettings.traditional);e="post"}var h=this;c.ajax({url:a,type:e,datatype:"html",data:b,complete:function(l,k){if(k==="success"||k==="notmodified")h.html(f?c(" ").append(l.responsetext.replace(nb,"")).find(f):l.responsetext);d&&h.each(d,[l.responsetext,k,l])}});return this},serialize:function(){return c.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?c.makearray(this.elements):this}).filter(function(){return this.name&& !this.disabled&&(this.checked||ob.test(this.nodename)||pb.test(this.type))}).map(function(a,b){var d=c(this).val();return d==null?null:c.isarray(d)?c.map(d,function(e){return{name:b.name,value:e}}):{name:b.name,value:d}}).get()}});c.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,e){if(c.isfunction(b)){e=e||d;d=b;b=null}return c.ajax({type:"get",url:a,data:b,success:d,datatype:e})}, getscript:function(a,b){return c.get(a,null,b,"script")},getjson:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,e){if(c.isfunction(b)){e=e||d;d=b;b={}}return c.ajax({type:"post",url:a,data:b,success:d,datatype:e})},ajaxsetup:function(a){c.extend(c.ajaxsettings,a)},ajaxsettings:{url:location.href,global:true,type:"get",contenttype:"application/x-www-form-urlencoded",processdata:true,async:true,xhr:function(){return new e.xmlhttprequest},accepts:{xml:"application/xml, text/xml",html:"text/html", script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},ajax:function(a){var b=c.extend(true,{},c.ajaxsettings,a),d,e,f,h=b.type.touppercase(),l=qb.test(h);b.url=b.url.replace(ub,"");b.context=a&&a.context!=null?a.context:b;if(b.data&&b.processdata&&typeof b.data!=="string")b.data=c.param(b.data,b.traditional);if(b.datatype==="jsonp"){if(h==="get")t.test(b.url)||(b.url+=(ja.test(b.url)?"&":"?")+(b.jsonp||"callback")+"=?");else if(!b.data|| !t.test(b.data))b.data=(b.data?b.data+"&":"")+(b.jsonp||"callback")+"=?";b.datatype="json"}if(b.datatype==="json"&&(b.data&&t.test(b.data)||t.test(b.url))){d=b.jsonpcallback||"jsonp"+mb++;if(b.data)b.data=(b.data+"").replace(t,"="+d+"$1");b.url=b.url.replace(t,"="+d+"$1");b.datatype="script";var k=e[d];e[d]=function(m){if(c.isfunction(k))k(m);else{e[d]=b;try{delete e[d]}catch(p){}}f=m;c.handlesuccess(b,w,e,f);c.handlecomplete(b,w,e,f);r&&r.removechild(a)}}if(b.datatype==="script"&&b.cache===null)b.cache= false;if(b.cache===false&&l){var o=c.now(),x=b.url.replace(rb,"$1_="+o);b.url=x+(x===b.url?(ja.test(b.url)?"&":"?")+"_="+o:"")}if(b.data&&l)b.url+=(ja.test(b.url)?"&":"?")+b.data;b.global&&c.active++===0&&c.event.trigger("ajaxstart");o=(o=sb.exec(b.url))&&(o[1]&&o[1].tolowercase()!==location.protocol||o[2].tolowercase()!==location.host);if(b.datatype==="script"&&h==="get"&&o){var r=t.getelementsbytagname("head")[0]||t.documentelement,a=t.createelement("script");if(b.scriptcharset)a.charset=b.scriptcharset; a.src=b.url;if(!d){var c=false;a.onload=a.onreadystatechange=function(){if(!c&&(!this.readystate||this.readystate==="loaded"||this.readystate==="complete")){c=true;c.handlesuccess(b,w,e,f);c.handlecomplete(b,w,e,f);a.onload=a.onreadystatechange=null;r&&a.parentnode&&r.removechild(a)}}}r.insertbefore(a,r.firstchild);return b}var j=false,w=b.xhr();if(w){b.username?w.open(h,b.url,b.async,b.username,b.password):w.open(h,b.url,b.async);try{if(b.data!=null&&!l||a&&a.contenttype)w.setrequestheader("content-type", b.contenttype);if(b.ifmodified){c.lastmodified[b.url]&&w.setrequestheader("if-modified-since",c.lastmodified[b.url]);c.etag[b.url]&&w.setrequestheader("if-none-match",c.etag[b.url])}o||w.setrequestheader("x-requested-with","xmlhttprequest");w.setrequestheader("accept",b.datatype&&b.accepts[b.datatype]?b.accepts[b.datatype]+", */*; q=0.01":b.accepts._default)}catch(i){}if(b.beforesend&&b.beforesend.call(b.context,w,b)===false){b.global&&c.active--===1&&c.event.trigger("ajaxstop");w.abort();return false}b.global&& c.triggerglobal(b,"ajaxsend",[w,b]);var l=w.onreadystatechange=function(m){if(!w||w.readystate===0||m==="abort"){j||c.handlecomplete(b,w,e,f);j=true;if(w)w.onreadystatechange=c.noop}else if(!j&&w&&(w.readystate===4||m==="timeout")){j=true;w.onreadystatechange=c.noop;e=m==="timeout"?"timeout":!c.httpsuccess(w)?"error":b.ifmodified&&c.httpnotmodified(w,b.url)?"notmodified":"success";var p;if(e==="success")try{f=c.httpdata(w,b.datatype,b)}catch(q){e="parsererror";p=q}if(e==="success"||e==="notmodified")d|| c.handlesuccess(b,w,e,f);else c.handleerror(b,w,e,p);d||c.handlecomplete(b,w,e,f);m==="timeout"&&w.abort();if(b.async)w=null}};try{var g=w.abort;w.abort=function(){w&&function.prototype.call.call(g,w);l("abort")}}catch(i){}b.async&&b.timeout 0&&settimeout(function(){w&&!j&&l("timeout")},b.timeout);try{w.send(l||b.data==null?null:b.data)}catch(n){c.handleerror(b,w,null,n);c.handlecomplete(b,w,e,f)}b.async||l();return w}},param:function(a,b){var d=[],e=function(h,l){l=c.isfunction(l)?l():l;d[d.length]= encodeuricomponent(h)+"="+encodeuricomponent(l)};if(b===b)b=c.ajaxsettings.traditional;if(c.isarray(a)||a.jquery)c.each(a,function(){e(this.name,this.value)});else for(var f in a)da(f,a[f],b,e);return d.join("&").replace(tb,"+")}});c.extend({active:0,lastmodified:{},etag:{},handleerror:function(a,b,d,e){a.error&&a.error.call(a.context,b,d,e);a.global&&c.triggerglobal(a,"ajaxerror",[b,a,e])},handlesuccess:function(a,b,d,e){a.success&&a.success.call(a.context,e,d,b);a.global&&c.triggerglobal(a,"ajaxsuccess", [b,a])},handlecomplete:function(a,b,d){a.complete&&a.complete.call(a.context,b,d);a.global&&c.triggerglobal(a,"ajaxcomplete",[b,a]);a.global&&c.active--===1&&c.event.trigger("ajaxstop")},triggerglobal:function(a,b,d){(a.context&&a.context.url==null?c(a.context):c.event).trigger(b,d)},httpsuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status =200&&a.status =0;a=f?a.responsexml:a.responsetext;f&&a.documentelement.nodename==="parsererror"&&c.error("parsererror");if(d&&d.datafilter)a=d.datafilter(a,b);if(typeof a==="string")if(b==="json"||!b&&e.indexof("json") =0)a=c.parsejson(a);else if(b==="script"||!b&&e.indexof("javascript") =0)c.globaleval(a);return a}}); if(e.activexobject)c.ajaxsettings.xhr=function(){if(e.location.protocol!=="file:")try{return new e.xmlhttprequest}catch(a){}try{return new e.activexobject("microsoft.xmlhttp")}catch(b){}};c.support.ajax=!!c.ajaxsettings.xhr();var ea={},vb=/^(?:toggle|show|hide)$/,wb=/^([+\-]=)?([\d+.\-]+)(.*)$/,ba,pa=[["height","margintop","marginbottom","paddingtop","paddingbottom"],["width","marginleft","marginright","paddingleft","paddingright"],["opacity"]];c.fn.extend({show:function(a,b,d){if(a||a===0)return this.animate(s("show", 3),a,b,d);else{d=0;for(var e=this.length;d =0;e--)if(d[e].elem===this){b&&d[e](true);d.splice(e,1)}});b||this.dequeue();return this}});c.each({slidedown:s("show",1),slideup:s("hide",1),slidetoggle:s("toggle",1),fadein:{opacity:"show"},fadeout:{opacity:"hide"},fadetoggle:{opacity:"toggle"}},function(a,b){c.fn[a]=function(d,e,f){return this.animate(b, d,e,f)}});c.extend({speed:function(a,b,d){var e=a&&typeof a==="object"?c.extend({},a):{complete:d||!d&&b||c.isfunction(a)&&a,duration:a,easing:d&&b||b&&!c.isfunction(b)&&b};e.duration=c.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in c.fx.speeds?c.fx.speeds[e.durati