HtmlToText
) /gi,ye=/^(?:select|textarea)/i,ke=/\s+/,ge=/([?&])_=[^&]*/,ze=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,et=f.fn.load,tt={},nt={},it=["*/"]+["*"];try{pe=d.href}catch(e){(pe=a.createelement("a")).href="",pe=pe.href}we=ze.exec(pe.tolowercase())||[],f.fn.extend({load:function(e,n,i){if("string"!=typeof e&&et)return et.apply(this,arguments);if(!this.length)return this;var o=e.indexof(" ");if(o =0){var r=e.slice(o,e.length);e=e.slice(0,o)}var a="get";n&&(f.isfunction(n)?(i=n,n=t):"object"==typeof n&&(n=f.param(n,f.ajaxsettings.traditional),a="post"));var s=this;return f.ajax({url:e,type:a,datatype:"html",data:n,complete:function(e,t,n){n=e.responsetext,e.isresolved()&&(e.done(function(e){n=e}),s.html(r?f(" ").append(n.replace(qe,"")).find(r):n)),i&&s.each(i,[n,t,e])}}),this},serialize:function(){return f.param(this.serializearray())},serializearray:function(){return this.map(function(){return this.elements?f.makearray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ye.test(this.nodename)||xe.test(this.type))}).map(function(e,t){var n=f(this).val();return null==n?null:f.isarray(n)?f.map(n,function(e,n){return{name:t.name,value:e.replace(ze,"\r\n")}}):{name:t.name,value:n.replace(ze,"\r\n")}}).get()}}),f.each("ajaxstart ajaxstop ajaxcomplete ajaxerror ajaxsuccess ajaxsend".split(" "),function(e,t){f.fn[t]=function(e){return this.on(t,e)}}),f.each(["get","post"],function(e,n){f[n]=function(e,i,o,r){return f.isfunction(i)&&(r=r||o,o=i,i=t),f.ajax({type:n,url:e,data:i,success:o,datatype:r})}}),f.extend({getscript:function(e,n){return f.get(e,t,n,"script")},getjson:function(e,t,n){return f.get(e,t,n,"json")},ajaxsetup:function(e,t){return t?c(e,f.ajaxsettings):(t=e,e=f.ajaxsettings),c(e,t),e},ajaxsettings:{url:pe,islocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(we[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","*":it},contents:{xml:/xml/,html:/html/,json:/json/},responsefields:{xml:"responsexml",text:"responsetext"},converters:{"* text":e.string,"text html":!0,"text json":f.parsejson,"text xml":f.parsexml},flatoptions:{context:!0,url:!0}},ajaxprefilter:u(tt),ajaxtransport:u(nt),ajax:function(e,n){function i(e,n,i,a){if(2!==w){w=2,l&&cleartimeout(l),s=t,r=a||"",t.readystate=e 0?4:0;var c,d,f,b,x,c=n,k=i?function(e,n,i){var o,r,a,s,l=e.contents,c=e.datatypes,d=e.responsefields;for(r in d)r in i&&(n[d[r]]=i[r]);for(;"*"===c[0];)c.shift(),o===t&&(o=e.mimetype||n.getresponseheader("content-type"));if(o)for(r in l)if(l[r]&&l[r].test(o)){c.unshift(r);break}if(c[0]in i)a=c[0];else{for(r in i){if(!c[0]||e.converters[r+" "+c[0]]){a=r;break}s||(s=r)}a=a||s}if(a)return a!==c[0]&&c.unshift(a),i[a]}(h,t,i):t;if(e =200&&e 0&&(l=settimeout(function(){t.abort("timeout")},h.timeout));try{w=1,s.send(b,i)}catch(e){if(!(w =l.duration+this.starttime){for(t in this.now=this.end,this.pos=this.state=1,this.update(),l.animatedproperties[this.prop]=!0,l.animatedproperties)!0!==l.animatedproperties[t]&&(r=!1);if(r){if(null!=l.overflow&&!f.support.shrinkwrapblocks&&f.each(["","x","y"],function(e,t){s.style["overflow"+t]=l.overflow[e]}),l.hide&&f(s).hide(),l.hide||l.show)for(t in l.animatedproperties)f.style(s,t,l.orig[t]),f.removedata(s,"fxshow"+t,!0),f.removedata(s,"toggle"+t,!0);(i=l.complete)&&(l.complete=!1,i.call(s))}return!1}return l.duration==1/0?this.now=o:(n=o-this.starttime,this.state=n/l.duration,this.pos=f.easing[l.animatedproperties[this.prop]](this.state,n,0,1,l.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},f.extend(f.fx,{tick:function(){for(var e,t=f.timers,n=0;n -1?(o=(u=a.position()).top,r=u.left):(o=parsefloat(l)||0,r=parsefloat(c)||0),f.isfunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(d.top=t.top-s.top+o),null!=t.left&&(d.left=t.left-s.left+r),"using"in t?t.using.call(e,d):a.css(d)}},f.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetparent(),n=this.offset(),i=vt.test(t[0].nodename)?{top:0,left:0}:t.offset();return n.top-=parsefloat(f.css(e,"margintop"))||0,n.left-=parsefloat(f.css(e,"marginleft"))||0,i.top+=parsefloat(f.css(t[0],"bordertopwidth"))||0,i.left+=parsefloat(f.css(t[0],"borderleftwidth"))||0,{top:n.top-i.top,left:n.left-i.left}},offsetparent:function(){return this.map(function(){for(var e=this.offsetparent||a.body;e&&!vt.test(e.nodename)&&"static"===f.css(e,"position");)e=e.offsetparent;return e})}}),f.each(["left","top"],function(e,i){var o="scroll"+i;f.fn[o]=function(i){var r,a;return i===t?(r=this[0])?(a=n(r))?"pagexoffset"in a?a[e?"pageyoffset":"pagexoffset"]:f.support.boxmodel&&a.document.documentelement[o]||a.document.body[o]:r[o]:null:this.each(function(){(a=n(this))?a.scrollto(e?f(a).scrollleft():i,e?i:f(a).scrolltop()):this[o]=i})}}),f.each(["height","width"],function(e,n){var i=n.tolowercase();f.fn["inner"+n]=function(){var e=this[0];return e?e.style?parsefloat(f.css(e,i,"padding")):this[i]():null},f.fn["outer"+n]=function(e){var t=this[0];return t?t.style?parsefloat(f.css(t,i,e?"margin":"border")):this[i]():null},f.fn[i]=function(e){var o=this[0];if(!o)return null==e?null:this;if(f.isfunction(e))return this.each(function(t){var n=f(this);n[i](e.call(this,t,n[i]()))});if(f.iswindow(o)){var r=o.document.documentelement["client"+n],a=o.document.body;return"css1compat"===o.document.compatmode&&r||a&&a["client"+n]||r}if(9===o.nodetype)return math.max(o.documentelement["client"+n],o.body["scroll"+n],o.documentelement["scroll"+n],o.body["offset"+n],o.documentelement["offset"+n]);if(e===t){var s=f.css(o,i),l=parsefloat(s);return f.isnumeric(l)?l:s}return this.css(i,"string"==typeof e?e:e+"px")}}),e.jquery=e.$=f,"function"==typeof define&&define.amd&&define.amd.jquery&&define("jquery",[],function(){return f})}(window),function(e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=e(require("jquery")):e(window.jquery)}(function(e){"use strict";function t(e){void 0===e&&(e=window.navigator.useragent),e=e.tolowercase();var t=/(edge)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(iemobile)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexof("trident") =0&&/(rv)(?::| )([\w.]+)/.exec(e)||e.indexof("compatible") ',closeclass:"simplemodal-close",escclose:!0,overlayclose:!1,fixed:!0,position:null,persist:!1,modal:!0,onopen:null,onshow:null,onclose:null},e.modal.impl={d:{},init:function(t,n){if(this.d.data)return!1;if(r=e.browser.msie&&!e.boxmodel,this.o=e.extend({},e.modal.defaults,n),this.zindex=this.o.zindex,this.occb=!1,"object"==typeof t)t=t instanceof jquery?t:e(t),this.d.placeholder=!1,0 ").attr("id","simplemodal-placeholder").css({display:"none"})),this.d.placeholder=!0,this.display=t.css("display"),!this.o.persist)&&(this.d.orig=t.clone(!0));else{if("string"!=typeof t&&"number"!=typeof t)return alert("simplemodal error: unsupported data type: "+typeof t),this;t=e(" ").html(t)}return this.create(t),this.open(),e.isfunction(this.o.onshow)&&this.o.onshow.apply(this,[this.d]),this},create:function(n){this.getdimensions(),this.o.modal&&i&&(this.d.iframe=e(' ').css(e.extend(this.o.iframecss,{display:"none",opacity:0,position:"fixed",height:s[0],width:s[1],zindex:this.o.zindex,top:0,left:0})).appendto(this.o.appendto)),this.d.overlay=e(" ").attr("id",this.o.overlayid).addclass("simplemodal-overlay").css(e.extend(this.o.overlaycss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?t[0]:0,width:this.o.modal?t[1]:0,position:"fixed",left:0,top:0,zindex:this.o.zindex+1})).appendto(this