HtmlToText
) /gi,_b=/^(?:select|textarea)/i,ac=/\s+/,bc=/([?&])_=[^&]*/,cc=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,dc=k.fn.load,ec={},fc={},ic=["*/"]+["*"];try{gc=j.href}catch(jc){gc=h.createelement("a"),gc.href="",gc=gc.href}hc=cc.exec(gc.tolowercase())||[],k.fn.extend({load:function(a,c,d){if("string"!=typeof a&&dc)return dc.apply(this,arguments);if(!this.length)return this;var e=a.indexof(" ");if(e =0){var f=a.slice(e,a.length);a=a.slice(0,e)}var g="get";c&&(k.isfunction(c)?(d=c,c=b):"object"==typeof c&&(c=k.param(c,k.ajaxsettings.traditional),g="post"));var h=this;return k.ajax({url:a,type:g,datatype:"html",data:c,complete:function(a,b,c){c=a.responsetext,a.isresolved()&&(a.done(function(a){c=a}),h.html(f?k(" ").append(c.replace($b,"")).find(f):c)),d&&h.each(d,[c,b,a])}}),this},serialize:function(){return k.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?k.makearray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||_b.test(this.nodename)||vb.test(this.type))}).map(function(a,b){var c=k(this).val();return null==c?null:k.isarray(c)?k.map(c,function(a){return{name:b.name,value:a.replace(sb,"\r\n")}}):{name:b.name,value:c.replace(sb,"\r\n")}}).get()}}),k.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(a,b){k.fn[b]=function(a){return this.on(b,a)}}),k.each(["get","post"],function(a,c){k[c]=function(a,d,e,f){return k.isfunction(d)&&(f=f||e,e=d,d=b),k.ajax({type:c,url:a,data:d,success:e,datatype:f})}}),k.extend({getscript:function(a,c){return k.get(a,b,c,"script")},getjson:function(a,b,c){return k.get(a,b,c,"json")},ajaxsetup:function(a,b){return b?m(a,k.ajaxsettings):(b=a,a=k.ajaxsettings),m(a,b),a},ajaxsettings:{url:gc,islocal:wb.test(hc[1]),global:!0,type:"get",contenttype:"application/x-www-form-urlencoded",processdata:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":ic},contents:{xml:/xml/,html:/html/,json:/json/},responsefields:{xml:"responsexml",text:"responsetext"},converters:{"* text":a.string,"text html":!0,"text json":k.parsejson,"text xml":k.parsexml},flatoptions:{context:!0,url:!0}},ajaxprefilter:o(ec),ajaxtransport:o(fc),ajax:function(a,c){function d(a,c,d,n){if(2!==v){v=2,t&&cleartimeout(t),s=b,q=n||"",y.readystate=a 0?4:0;var o,p,r,z,a,u=c,x=d?k(e,y,d):b;if(a =200&&a 0&&(t=settimeout(function(){y.abort("timeout")},e.timeout));try{v=1,s.send(o,d)}catch(b){if(!(v =i.duration+this.starttime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedproperties[this.prop]=!0;for(b in i.animatedproperties)i.animatedproperties[b]!==!0&&(f=!1);if(f){if(null!=i.overflow&&!k.support.shrinkwrapblocks&&k.each(["","x","y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&k(h).hide(),i.hide||i.show)for(b in i.animatedproperties)k.style(h,b,i.orig[b]),k.removedata(h,"fxshow"+b,!0),k.removedata(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}return 1/0==i.duration?this.now=e:(c=e-this.starttime,this.state=c/i.duration,this.pos=k.easing[i.animatedproperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},k.extend(k.fx,{tick:function(){for(var a,b=k.timers,c=0;c -1,j={},k={};i?(k=e.position(),l=k.top,m=k.left):(l=parsefloat(g)||0,m=parsefloat(h)||0),k.isfunction(b)&&(b=b.call(a,c,f)),null!=b.top&&(j.top=b.top-f.top+l),null!=b.left&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},k.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetparent(),c=this.offset(),d=yc.test(b[0].nodename)?{top:0,left:0}:b.offset();return c.top-=parsefloat(k.css(a,"margintop"))||0,c.left-=parsefloat(k.css(a,"marginleft"))||0,d.top+=parsefloat(k.css(b[0],"bordertopwidth"))||0,d.left+=parsefloat(k.css(b[0],"borderleftwidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetparent:function(){return this.map(function(){for(var a=this.offsetparent||h.body;a&&!yc.test(a.nodename)&&"static"===k.css(a,"position");)a=a.offsetparent;return a})}}),k.each(["left","top"],function(a,d){var e="scroll"+d;k.fn[e]=function(d){var f,g;return d===b?(f=this[0])?(g=c(f),g?"pagexoffset"in g?g[a?"pageyoffset":"pagexoffset"]:k.support.boxmodel&&g.document.documentelement[e]||g.document.body[e]:f[e]):null:this.each(function(){g=c(this),g?g.scrollto(a?k(g).scrollleft():d,a?d:k(g).scrolltop()):this[e]=d})}}),k.each(["height","width"],function(a,c){var d=c.tolowercase();k.fn["inner"+c]=function(){var a=this[0];return a?a.style?parsefloat(k.css(a,d,"padding")):this[d]():null},k.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parsefloat(k.css(b,d,a?"margin":"border")):this[d]():null},k.fn[d]=function(a){var e=this[0];if(!e)return null==a?null:this;if(k.isfunction(a))return this.each(function(b){var c=k(this);c[d](a.call(this,b,c[d]()))});if(k.iswindow(e)){var f=e.document.documentelement["client"+c],g=e.document.body;return"css1compat"===e.document.compatmode&&f||g&&g["client"+c]||f}if(9===e.nodetype)return math.max(e.documentelement["client"+c],e.body["scroll"+c],e.documentelement["scroll"+c],e.body["offset"+c],e.documentelement["offset"+c]);if(a===b){var h=k.css(e,d),i=parsefloat(h);return k.isnumeric(i)?i:h}return this.css(d,"string"==typeof a?a:a+"px")}}),a.jquery=a.$=k,"function"==typeof define&&define.amd&&define.amd.jquery&&define("jquery",[],function(){return k})}(window),!function(a){"function"==typeof define&&define.amd?define(["jquery"],function(b){return a(b)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(window.jquery)}(function(a){"use strict";function b(a){void 0===a&&(a=window.navigator.useragent),a=a.tolowercase();var b=/(edge)\/([\w.]+)/.exec(a)||/(opr)[\/]([\w.]+)/.exec(a)||/(chrome)[ \/]([\w.]+)/.exec(a)||/(iemobile)[\/]([\w.]+)/.exec(a)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexof("trident") =0&&/(rv)(?::| )([\w.]+)/.exec(a)||a.indexof("compatible") ',closeclass:"simplemodal-close",escclose:!0,overlayclose:!1,fixed:!0,position:null,persist:!1,modal:!0,onopen:null,onshow:null,onclose:null},a.modal.impl={d:{},init:function(b,c){if(this.d.data)return!1;if(f=a.browser.msie&&!a.boxmodel,this.o=a.extend({},a.modal.defaults,c),this.zindex=this.o.zindex,this.occb=!1,"object"===typeof b)b=b instanceof jquery?b:a(b),this.d.placeholder=!1,0 ").attr("id","simplemodal-placeholder").css({display:"none"})),this.d.placeholder=!0,this.display=b.css("display"),!this.o.persist)&&(this.d.orig=b.clone(!0));else{if("string"!==typeof b&&"number"!==typeof b)return alert("simplemodal error: unsupported data type: "+typeof b),this;b=a(" ").html(b)}return this.create(b),this.open(),a.isfunction(this.o.onshow)&&this.o.onshow.apply(this,[this.d]),this},create:function(c){this.getdimensions(),this.o.modal&&d&&(this.d.iframe=a(' ').css(a.extend(this.o.iframecss,{display:"none",opacity:0,position:"fixed",height:h[0],width:h[1],zindex:this.o.zindex,top:0,left:0})).appendto(this.o.appendto)),this.d.overlay=a(" ").attr("id",this.o.overlayid).addclass("simplemodal-overlay").css(a.extend(this.o.overlaycss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?b[0]:0,width:this.o.modal?b[1]:0,position:"fixed",left:0,top:0,zindex:this.o.zindex+1})).appendto(this.o.appendto),this.d.container=a(" ").attr("id",this.o.containerid).addclass("simplemodal-container").css(a.extend({position:this.o.fixed?"fixed":"absolute"},this.o.containercss,{display:"none",zindex:this.o.zindex+2})).append(this.o.close&&this.o.closehtml?a(this.o.closehtml).addclass(this.o.closeclass):"").appendto(this.o.appendto),this.d.wrap=a(" ").attr("tabindex",-1).addclass("simplemodal-wrap").css({height:"100%",outline: