if(function(a,b){"object"==typeofmodule&&"object"==typeofmodule.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)thrownewError("jQuery requires a window with a document");returnb(a)}:b(a)}("undefined"!=typeofwindow?window:this,function(a,b){functionc(a){varb=!!a&&"length"ina&&a.length,c=fa.type(a);return"function"!==c&&!fa.isWindow(a)&&("array"===c||0===b||"number"==typeofb&&b>0&&b-1ina)}functiond(a,b,c){if(fa.isFunction(b))returnfa.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)returnfa.grep(a,function(a){returna===b!==c});if("string"==typeofb){if(pa.test(b))returnfa.filter(b,a,c);b=fa.filter(b,a)}returnfa.grep(a,function(a){return_.call(b,a)>-1!==c})}functione(a,b){for(;(a=a[b])&&1!==a.nodeType;);returna}functionf(a){varb={};returnfa.each(a.match(va)||[],function(a,c){b[c]=!0}),b}functiong(){X.removeEventListener("DOMContentLoaded",g),a.removeEventListener("load",g),fa.ready()}functionh(){this.expando=fa.expando+h.uid++}functioni(a,b,c){vard;if(void0===c&&1===a.nodeType)if(d="data-"+b.replace(Ca,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeofc){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:Ba.test(c)?fa.parseJSON(c):c)}catch(e){}Aa.set(a,b,c)}elsec=void0;returnc}functionj(a,b,c,d){vare,f=1,g=20,h=d?function(){returnd.cur()}:function(){returnfa.css(a,b,"")},i=h(),j=c&&c[3]||(fa.cssNumber[b]?"":"px"),k=(fa.cssNumber[b]||"px"!==j&&+i)&&Ea.exec(fa.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;dof=f||".5",k/=f,fa.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}returnc&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}functionk(a,b){varc="undefined"!=typeofa.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeofa.querySelectorAll?a.querySelectorAll(b||"*"):[];returnvoid0===b||b&&fa.nodeName(a,b)?fa.merge([a],c):c}functionl(a,b){for(varc=0,d=a.length;c<d;c++)za.set(a[c],"globalEval",!b||za.get(b[c],"globalEval"))}functionm(a,b,c,d,e){for(varf,g,h,i,j,m,n=b.createDocumentFragment(),o=[],p=0,q=a.length;p<q;p++)if(f=a[p],f||0===f)if("object"===fa.type(f))fa.merge(o,f.nodeType?[f]:f);elseif(La.test(f)){for(g=g||n.appendChild(b.createElement("div")),h=(Ia.exec(f)||["",""])[1].toLowerCase(),i=Ka[h]||Ka._default,g.innerHTML=i[1]+fa.htmlPrefilter(f)+i[2],m=i[0];m--;)g=g.lastChild;fa.merge(o,g.childNodes),g=n.firstChild,g.textContent=""}elseo.push(b.createTextNode(f));for(n.textContent="",p=0;f=o[p++];)if(d&&fa.inArray(f,d)>-1)e&&e.push(f);elseif(j=fa.contains(f.ownerDocument,f),g=k(n.appendChild(f),"script"),j&&l(g),c)for(m=0;f=g[m++];)Ja.test(f.type||"")&&c.push(f);returnn}functionn(){return!0}functiono(){return!1}functionp(){try{returnX.activeElement}catch(a){}}functionq(a,b,c,d,e,f){varg,h;if("object"==typeofb){"string"!=typeofc&&(d=d||c,c=void0);for(hinb)q(a,h,c,d,b[h],f);returna}if(null==d&&null==e?(e=c,d=c=void0):null==e&&("string"==typeofc?(e=d,d=void0):(e=d,d=c,c=void0)),e===!1)e=o;elseif(!e)returna;return1===f&&(g=e,e=function(a){returnfa().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=fa.guid++)),a.each(function(){fa.event.add(this,b,e,d,c)})}functionr(a,b){returnfa.nodeName(a,"table")&&fa.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}functions(a){returna.type=(null!==a.getAttribute("type"))+"/"+a.type,a}functiont(a){varb=Sa.exec(a.type);returnb?a.type=b[1]:a.removeAttribute("type"),a}functionu(a,b){varc,d,e,f,g,h,i,j;if(1===b.nodeType){if(za.hasData(a)&&(f=za.access(a),g=za.set(b,f),j=f.events)){deleteg.handle,g.events={};for(einj)for(c=0,d=j[e].length;c<d;c++)fa.event.add(b,e,j[e][c])}Aa.hasData(a)&&(h=Aa.access(a),i=fa.extend({},h),Aa.set(b,i))}}functionv(a,b){varc=b.nodeName.toLowerCase();"input"===c&&Ha.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}functionw(a,b,c,d){b=Z.apply([],b);vare,f,g,h,i,j,l=0,n=a.length,o=n-1,p=b[0],q=fa.isFunction(p);if(q||n>1&&"string"==typeofp&
varj=0,k=Array.prototype.slice;a.cleanData=function(b){returnfunction(c){vard,e,f;for(f=0;null!=(e=c[f]);f++)try{d=a._data(e,"events"),d&&d.remove&&a(e).triggerHandler("remove")}catch(g){}b(c)}}(a.cleanData),a.widget=function(b,c,d){vare,f,g,h,i={},j=b.split(".")[0];returnb=b.split(".")[1],e=j+"-"+b,d||(d=c,c=a.Widget),a.expr[":"][e.toLowerCase()]=function(b){return!!a.data(b,e)},a[j]=a[j]||{},f=a[j][b],g=a[j][b]=function(a,b){returnthis._createWidget?void(arguments.length&&this._createWidget(a,b)):newg(a,b)},a.extend(g,f,{version:d.version,_proto:a.extend({},d),_childConstructors:[]}),h=newc,h.options=a.widget.extend({},h.options),a.each(d,function(b,d){returna.isFunction(d)?void(i[b]=function(){vara=function(){returnc.prototype[b].apply(this,arguments)},e=function(a){returnc.prototype[b].apply(this,a)};returnfunction(){varb,c=this._super,f=this._superApply;returnthis._super=a,this._superApply=e,b=d.apply(this,arguments),this._super=c,this._superApply=f,b}}()):void(i[b]=d)}),g.prototype=a.widget.extend(h,{widgetEventPrefix:f?h.widgetEventPrefix||b:b},i,{constructor:g,namespace:j,widgetName:b,widgetFullName:e}),f?(a.each(f._childConstructors,function(b,c){vard=c.prototype;a.widget(d.namespace+"."+d.widgetName,g,c._proto)}),deletef._childConstructors):c._childConstructors.push(g),a.widget.bridge(b,g),g},a.widget.extend=function(b){for(varc,d,e=k.call(arguments,1),f=0,g=e.length;f<g;f++)for(cine[f])d=e[f][c],e[f].hasOwnProperty(c)&&void0!==d&&(a.isPlainObject(d)?b[c]=a.isPlainObject(b[c])?a.widget.extend({},b[c],d):a.widget.extend({},d):b[c]=d);returnb},a.widget.bridge=function(b,c){vard=c.prototype.widgetFullName||b;a.fn[b]=function(e){varf="string"==typeofe,g=k.call(arguments,1),h=this;returnf?this.each(function(){varc,f=a.data(this,d);return"instance"===e?(h=f,!1):f?a.isFunction(f[e])&&"_"!==e.charAt(0)?(c=f[e].apply(f,g),c!==f&&void0!==c?(h=c&&c.jquery?h.pushStack(c.get()):c,!1):void0):a.error("no such method '"+e+"' for "+b+" widget instance"):a.error("cannot call methods on "+b+" prior to initialization; attempted to call method '"+e+"'")}):(g.length&&(e=a.widget.extend.apply(null,[e].concat(g))),this.each(function(){varb=a.data(this,d);b?(b.option(e||{}),b._init&&b._init()):a.data(this,d,newc(e,this))})),h}},a.Widget=function(){},a.Widget._childConstructors=[],a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(b,c){c=a(c||this.defaultElement||this)[0],this.element=a(c),this.uuid=j++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=a(),this.hoverable=a(),this.focusable=a(),c!==this&&(a.data(c,this.widgetFullName,this),this._on(!0,this.element,{remove:function(a){a.target===c&&this.destroy()}}),this.document=a(c.style?c.ownerDocument:c.document||c),this.window=a(this.document[0].defaultView||this.document[0].parentWindow)),this.options=a.widget.extend({},this.options,this._getCreateOptions(),b),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:a.noop,_getCreateEventData:a.noop,_create:a.noop,_init:a.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(a.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:a.noop,widget:function(){returnthis.element},option:function(b,c){vard,e,f,g=b;if(0===arguments.length)returna.widget.extend({},this.options);if("string"==typeofb)if(g={},d=b.split("."),b=d.shift(),d.length){for(e=g[b]=a.widget.extend({},this.options[b]),f=0;f<d.length-1;f++)e[d[f]]=e[d[f]]||{},e=e[d[f]];if(b=d.pop(),1===arguments.length)returnvoid0===e[b]?null:e[b];e[b]=c}else{if(1===arguments.length)returnvoid0===this.options[b]?null:this.options[b];g[b]=c}returnthis._setOptions(g),this},_setOptions:f
},b.coroutine=function(a,b){if("function"!=typeofa)thrownewk("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");varc=Object(b).yieldHandler,d=i,e=(newError).stack;returnfunction(){varb=a.apply(this,arguments),f=newd((void0),(void0),c,e),g=f.promise();returnf._generator=b,f._promiseFulfilled(void0),g}},b.coroutine.addYieldHandler=function(a){if("function"!=typeofa)thrownewk("expecting a function but got "+l.classString(a));o.push(a)},b.spawn=function(a){if(g.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeofa)returnc("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");vard=newi(a,this),e=d.promise();returnd._run(b.spawn),e}}},{"./errors":12,"./util":36}],17:[function(a,b,c){"use strict";b.exports=function(b,c,d,e,f,g){varh=a("./util");h.canEvaluate,h.tryCatch,h.errorObj,b.join=function(){vara,b=arguments.length-1;if(b>0&&"function"==typeofarguments[b]){a=arguments[b];vard}vare=[].slice.call(arguments);a&&e.pop();vard=newc(e).promise();returnvoid0!==a?d.spread(a):d}}},{"./util":36}],18:[function(a,b,c){"use strict";b.exports=function(b,c,d,e,f,g){functionh(a,b,c,d){this.constructor$(a),this._promise._captureStackTrace();vare=j();this._callback=null===e?b:k.domainBind(e,b),this._preservedValues=d===f?newArray(this.length()):null,this._limit=c,this._inFlight=0,this._queue=[],n.invoke(this._asyncInit,this,void0)}functioni(a,c,e,f){if("function"!=typeofc)returnd("expecting a function but got "+k.classString(c));varg=0;if(void0!==e){if("object"!=typeofe||null===e)returnb.reject(newTypeError("options argument must be an object but it is "+k.classString(e)));if("number"!=typeofe.concurrency)returnb.reject(newTypeError("'concurrency' must be a number but it is "+k.classString(e.concurrency)));g=e.concurrency}returng="number"==typeofg&&isFinite(g)&&g>=1?g:0,newh(a,c,g,f).promise()}varj=b._getDomain,k=a("./util"),l=k.tryCatch,m=k.errorObj,n=b._async;k.inherits(h,c),h.prototype._asyncInit=function(){this._init$(void0,-2)},h.prototype._init=function(){},h.prototype._promiseFulfilled=function(a,c){vard=this._values,f=this.length(),h=this._preservedValues,i=this._limit;if(0>c){if(c=-1*c-1,d[c]=a,i>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(i>=1&&this._inFlight>=i)returnd[c]=a,this._queue.push(c),!1;null!==h&&(h[c]=a);varj=this._promise,k=this._callback,n=j._boundValue();j._pushContext();varo=l(k).call(n,a,c,f),p=j._popContext();if(g.checkForgottenReturns(o,p,null!==h?"Promise.filter":"Promise.map",j),o===m)returnthis._reject(o.e),!0;varq=e(o,this._promise);if(qinstanceofb){q=q._target();varr=q._bitField;if(0===(50397184&r))returni>=1&&this._inFlight++,d[c]=q,q._proxy(this,-1*(c+1)),!1;if(0===(33554432&r))return0!==(16777216&r)?(this._reject(q._reason()),!0):(this._cancel(),!0);o=q._value()}d[c]=o}vars=++this._totalResolved;returns>=f&&(null!==h?this._filter(d,h):this._resolve(d),!0)},h.prototype._drainQueue=function(){for(vara=this._queue,b=this._limit,c=this._values;a.length>0&&this._inFlight<b;){if(this._isResolved())return;vard=a.pop();this._promiseFulfilled(c[d],d)}},h.prototype._filter=function(a,b){for(varc=b.length,d=newArray(c),e=0,f=0;c>f;++f)a[f]&&(d[e++]=b[f]);d.length=e,this._resolve(d)},h.prototype.preservedValues=function(){returnthis._preservedValues},b.prototype.map=function(a,b){returni(this,a,b,null)},b.map=function(a,b,c,d){returni(a,b,c,d)}}},{"./util":36}],19:[function(a,b,c){"use strict";b.exports=function(b,c,d,e,f){varg=a("./util"),h=g.tryCatch;b.method=function(a){if("function"!=typeofa)thrownewb.TypeError("expecting a function but got "+g.classString(a));returnfunction(){vard=newb(c);d._captureStackTrace(),d._pushContext();vare=h(a).apply(this,arguments),g=d._popContext();returnf.checkForgottenReturns(e,g,"Promise.method",d),d._resolveFromSyncValue(e),d}},b.attempt=b["try"]=function(a){if("function"!=typeofa)returne("expecting a function but got "+g.classString(a));vard=newb(c);d._captureStackTrace(),d._pushContext();vari;if(argum
this._howMany=0,this._unwrap=!1,this._initialized=!1}functionf(a,b){if((0|b)!==b||0>b)returnd("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");varc=newe(a),f=c.promise();returnc.setHowMany(b),c.init(),f}varg=a("./util"),h=a("./errors").RangeError,i=a("./errors").AggregateError,j=g.isArray,k={};g.inherits(e,c),e.prototype._init=function(){if(this._initialized){if(0===this._howMany)returnvoidthis._resolve([]);this._init$(void0,-5);vara=j(this._values);!this._isResolved()&&a&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},e.prototype.init=function(){this._initialized=!0,this._init()},e.prototype.setUnwrap=function(){this._unwrap=!0},e.prototype.howMany=function(){returnthis._howMany},e.prototype.setHowMany=function(a){this._howMany=a},e.prototype._promiseFulfilled=function(a){returnthis._addFulfilled(a),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},e.prototype._promiseRejected=function(a){returnthis._addRejected(a),this._checkOutcome()},e.prototype._promiseCancelled=function(){returnthis._valuesinstanceofb||null==this._values?this._cancel():(this._addRejected(k),this._checkOutcome())},e.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(vara=newi,b=this.length();b<this._values.length;++b)this._values[b]!==k&&a.push(this._values[b]);returna.length>0?this._reject(a):this._cancel(),!0}return!1},e.prototype._fulfilled=function(){returnthis._totalResolved},e.prototype._rejected=function(){returnthis._values.length-this.length()},e.prototype._addRejected=function(a){this._values.push(a)},e.prototype._addFulfilled=function(a){this._values[this._totalResolved++]=a},e.prototype._canPossiblyFulfill=function(){returnthis.length()-this._rejected()},e.prototype._getRangeError=function(a){varb="Input array must contain at least "+this._howMany+" items but contains only "+a+" items";returnnewh(b)},e.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},b.some=function(a,b){returnf(a,b)},b.prototype.some=function(a){returnf(this,a)},b._SomePromiseArray=e}},{"./errors":12,"./util":36}],32:[function(a,b,c){"use strict";b.exports=function(a){functionb(a){void0!==a?(a=a._target(),this._bitField=a._bitField,this._settledValueField=a._isFateSealed()?a._settledValue():void0):(this._bitField=0,this._settledValueField=void0)}b.prototype._settledValue=function(){returnthis._settledValueField};varc=b.prototype.value=function(){if(!this.isFulfilled())thrownewTypeError("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");returnthis._settledValue()},d=b.prototype.error=b.prototype.reason=function(){if(!this.isRejected())thrownewTypeError("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");returnthis._settledValue()},e=b.prototype.isFulfilled=function(){return0!==(33554432&this._bitField)},f=b.prototype.isRejected=function(){return0!==(16777216&this._bitField)},g=b.prototype.isPending=function(){return0===(50397184&this._bitField)},h=b.prototype.isResolved=function(){return0!==(50331648&this._bitField)};b.prototype.isCancelled=function(){return0!==(8454144&this._bitField)},a.prototype.__isCancelled=function(){return65536===(65536&this._bitField)},a.prototype._isCancelled=function(){returnthis._target().__isCancelled()},a.prototype.isCancelled=function(){return0!==(8454144&this._target()._bitField)},a.prototype.isPending=function(){returng.call(this._target())},a.prototype.isRejected=function(){returnf.call(this._target())},a.prototype.isFulfilled=function(){returne.call(this._target())},a.prototype.isResolved=function(){returnh.call(this._target())},a.prototype.value=function(){returnc.call(this._target())},a.prototype.reason=function(){vara=this._target();returna._unsetRejectionIsUnhandled(),d.call(a)},a.prototype._value=function(){returnthis._settledValue()},a.prototype._reason=fu
function(a){"function"==typeofdefine&&define.amd?define(["jquery"],a):a("object"==typeofmodule&&"object"==typeofmodule.exports?require("jquery"):jQuery)}(function(a){functionb(){if(!a.contains(document.documentElement,this))returna(this).timeago("dispose"),this;varb=c(this),g=f.settings;returnisNaN(b.datetime)||(0==g.cutoff||Math.abs(e(b.datetime))<g.cutoff)&&a(this).text(d(b.datetime)),this}functionc(b){if(b=a(b),!b.data("timeago")){b.data("timeago",{datetime:f.datetime(b)});varc=a.trim(b.text());f.settings.localeTitle?b.attr("title",b.data("timeago").datetime.toLocaleString()):!(c.length>0)||f.isTime(b)&&b.attr("title")||b.attr("title",c)}returnb.data("timeago")}functiond(a){returnf.inWords(e(a))}functione(a){return(newDate).getTime()-a.getTime()}a.timeago=function(b){returnd(binstanceofDate?b:"string"==typeofb?a.timeago.parse(b):"number"==typeofb?newDate(b):a.timeago.datetime(b))};varf=a.timeago;a.extend(a.timeago,{settings:{refreshMillis:6e4,allowPast:!0,allowFuture:!1,localeTitle:!1,cutoff:0,strings:{prefixAgo:null,prefixFromNow:null,suffixAgo:"ago",suffixFromNow:"from now",inPast:"any moment now",seconds:"less than a minute",minute:"about a minute",minutes:"%d minutes",hour:"about an hour",hours:"about %d hours",day:"a day",days:"%d days",month:"about a month",months:"%d months",year:"about a year",years:"%d years",wordSeparator:" ",numbers:[]}},inWords:function(b){functionc(c,e){varf=a.isFunction(c)?c(e,b):c,g=d.numbers&&d.numbers[e]||e;returnf.replace(/%d/i,g)}if(!this.settings.allowPast&&!this.settings.allowFuture)throw"timeago allowPast and allowFuture settings can not both be set to false.";vard=this.settings.strings,e=d.prefixAgo,f=d.suffixAgo;if(this.settings.allowFuture&&b<0&&(e=d.prefixFromNow,f=d.suffixFromNow),!this.settings.allowPast&&b>=0)returnthis.settings.strings.inPast;varg=Math.abs(b)/1e3,h=g/60,i=h/60,j=i/24,k=j/365,l=g<45&&c(d.seconds,Math.round(g))||g<90&&c(d.minute,1)||h<45&&c(d.minutes,Math.round(h))||h<90&&c(d.hour,1)||i<24&&c(d.hours,Math.round(i))||i<42&&c(d.day,1)||j<30&&c(d.days,Math.round(j))||j<45&&c(d.month,1)||j<365&&c(d.months,Math.round(j/30))||k<1.5&&c(d.year,1)||c(d.years,Math.round(k)),m=d.wordSeparator||"";returnvoid0===d.wordSeparator&&(m=" "),a.trim([e,l,f].join(m))},parse:function(b){varc=a.trim(b);returnc=c.replace(/\.\d+/,""),c=c.replace(/-/,"/").replace(/-/,"/"),c=c.replace(/T/," ").replace(/Z/," UTC"),c=c.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"),c=c.replace(/([\+\-]\d\d)$/," $100"),newDate(c)},datetime:function(b){varc=f.isTime(b)?a(b).attr("datetime"):a(b).attr("title");returnf.parse(c)},isTime:function(b){return"time"===a(b).get(0).tagName.toLowerCase()}});varg={init:function(){varc=a.proxy(b,this);c();vard=f.settings;d.refreshMillis>0&&(this._timeagoInterval=setInterval(c,d.refreshMillis))},update:function(c){vard=f.parse(c);a(this).data("timeago",{datetime:d}),f.settings.localeTitle&&a(this).attr("title",d.toLocaleString()),b.apply(this)},updateFromDOM:function(){a(this).data("timeago",{datetime:f.parse(f.isTime(this)?a(this).attr("datetime"):a(this).attr("title"))}),b.apply(this)},dispose:function(){this._timeagoInterval&&(window.clearInterval(this._timeagoInterval),this._timeagoInterval=null)}};a.fn.timeago=function(a,b){varc=a?g[a]:g.init;if(!c)thrownewError("Unknown function name '"+a+"' for timeago");returnthis.each(function(){c.call(this,b)}),this},document.createElement("abbr"),document.createElement("time")}),/*!jQueryUI-v1.11.4-2015-03-13
function(a){"function"==typeofdefine&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){varb=0,c=Array.prototype.slice;returna.cleanData=function(b){returnfunction(c){vard,e,f;for(f=0;null!=(e=c[f]);f++)try{d=a._data(e,"events"),d&&d.remove&&a(e).triggerHandler("remove")}catch(g){}b(c)}}(a.cleanData),a.widget=function(b,c,d){vare,f,g,h,i={},j=b.split(".")[0];returnb=b.split(".")[1],e=j+"-"+b,d||(d=c,c=a.Widget),a.expr[":"][e.toLowerCase()]=function(b){return!!a.data(b,e)},a[j]=a[j]||{},f=a[j][b],g=a[j][b]=function(a,b){returnthis._createWidget?void(arguments.length&&this._createWidget(a,b)):newg(a,b)},a.extend(g,f,{version:d.version,_proto:a.extend({},d),_childConstructors:[]}),h=newc,h.options=a.widget.extend({},h.options),a.each(d,function(b,d){returna.isFunction(d)?void(i[b]=function(){vara=function(){returnc.prototype[b].apply(this,arguments)},e=function(a){returnc.prototype[b].apply(this,a)};returnfunction(){varb,c=this._super,f=this._superApply;returnthis._super=a,this._superApply=e,b=d.apply(this,arguments),this._super=c,this._superApply=f,b}}()):void(i[b]=d)}),g.prototype=a.widget.extend(h,{widgetEventPrefix:f?h.widgetEventPrefix||b:b},i,{constructor:g,namespace:j,widgetName:b,widgetFullName:e}),f?(a.each(f._childConstructors,function(b,c){vard=c.prototype;a.widget(d.namespace+"."+d.widgetName,g,c._proto)}),deletef._childConstructors):c._childConstructors.push(g),a.widget.bridge(b,g),g},a.widget.extend=function(b){for(vard,e,f=c.call(arguments,1),g=0,h=f.length;h>g;g++)for(dinf[g])e=f[g][d],f[g].hasOwnProperty(d)&&void0!==e&&(b[d]=a.isPlainObject(e)?a.isPlainObject(b[d])?a.widget.extend({},b[d],e):a.widget.extend({},e):e);returnb},a.widget.bridge=function(b,d){vare=d.prototype.widgetFullName||b;a.fn[b]=function(f){varg="string"==typeoff,h=c.call(arguments,1),i=this;returng?this.each(function(){varc,d=a.data(this,e);return"instance"===f?(i=d,!1):d?a.isFunction(d[f])&&"_"!==f.charAt(0)?(c=d[f].apply(d,h),c!==d&&void0!==c?(i=c&&c.jquery?i.pushStack(c.get()):c,!1):void0):a.error("no such method '"+f+"' for "+b+" widget instance"):a.error("cannot call methods on "+b+" prior to initialization; attempted to call method '"+f+"'")}):(h.length&&(f=a.widget.extend.apply(null,[f].concat(h))),this.each(function(){varb=a.data(this,e);b?(b.option(f||{}),b._init&&b._init()):a.data(this,e,newd(f,this))})),i}},a.Widget=function(){},a.Widget._childConstructors=[],a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(c,d){d=a(d||this.defaultElement||this)[0],this.element=a(d),this.uuid=b++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=a(),this.hoverable=a(),this.focusable=a(),d!==this&&(a.data(d,this.widgetFullName,this),this._on(!0,this.element,{remove:function(a){a.target===d&&this.destroy()}}),this.document=a(d.style?d.ownerDocument:d.document||d),this.window=a(this.document[0].defaultView||this.document[0].parentWindow)),this.options=a.widget.extend({},this.options,this._getCreateOptions(),c),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:a.noop,_getCreateEventData:a.noop,_create:a.noop,_init:a.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(a.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:a.noop,widget:function(){returnthis.element},option:function(b,c){vard,e,f,g=b;if(0===arguments.length)returna.widget.extend({},this.options);if("string"==typeofb)if(g={},d=b.split("."),b=d.shift(),d.length){for(e=g[b]=a.widget.extend({},this.options[b]),f=0;d.length-1>f;f++)e[d[f]]=e[d[f]]||{},e=e[d[f]];if(b=d.pop(),1===arguments.length)returnvoid0===e[b]?null:e[b];e[b]=c}else{if(1===arguments.length)returnvoi
vara,c,d;!function(b){functione(a,b){returnu.call(a,b)}functionf(a,b){varc,d,e,f,g,h,i,j,k,l,m,n=b&&b.split("/"),o=s.map,p=o&&o["*"]||{};if(a&&"."===a.charAt(0))if(b){for(a=a.split("/"),g=a.length-1,s.nodeIdCompat&&w.test(a[g])&&(a[g]=a[g].replace(w,"")),a=n.slice(0,n.length-1).concat(a),k=0;k<a.length;k+=1)if(m=a[k],"."===m)a.splice(k,1),k-=1;elseif(".."===m){if(1===k&&(".."===a[2]||".."===a[0]))break;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}else0===a.indexOf("./")&&(a=a.substring(2));if((n||p)&&o){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),n)for(l=n.length;l>0;l-=1)if(e=o[n.slice(0,l).join("/")],e&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&p&&p[d]&&(i=p[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}returna}functiong(a,c){returnfunction(){vard=v.call(arguments,0);return"string"!=typeofd[0]&&1===d.length&&d.push(null),n.apply(b,d.concat([a,c]))}}functionh(a){returnfunction(b){returnf(b,a)}}functioni(a){returnfunction(b){q[a]=b}}functionj(a){if(e(r,a)){varc=r[a];deleter[a],t[a]=!0,m.apply(b,c)}if(!e(q,a)&&!e(t,a))thrownewError("No "+a);returnq[a]}functionk(a){varb,c=a?a.indexOf("!"):-1;returnc>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}functionl(a){returnfunction(){returns&&s.config&&s.config[a]||{}}}varm,n,o,p,q={},r={},s={},t={},u=Object.prototype.hasOwnProperty,v=[].slice,w=/\.js$/;o=function(a,b){varc,d=k(a),e=d[0];returna=d[1],e&&(e=f(e,b),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(b)):f(a,b):(a=f(a,b),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},p={require:function(a){returng(a)},exports:function(a){varb=q[a];return"undefined"!=typeofb?b:q[a]={}},module:function(a){return{id:a,uri:"",exports:q[a],config:l(a)}}},m=function(a,c,d,f){varh,k,l,m,n,s,u=[],v=typeofd;if(f=f||a,"undefined"===v||"function"===v){for(c=!c.length&&d.length?["require","exports","module"]:c,n=0;n<c.length;n+=1)if(m=o(c[n],f),k=m.f,"require"===k)u[n]=p.require(a);elseif("exports"===k)u[n]=p.exports(a),s=!0;elseif("module"===k)h=u[n]=p.module(a);elseif(e(q,k)||e(r,k)||e(t,k))u[n]=j(k);else{if(!m.p)thrownewError(a+" missing "+k);m.p.load(m.n,g(f,!0),i(k),{}),u[n]=q[k]}l=d?d.apply(q[a],u):void0,a&&(h&&h.exports!==b&&h.exports!==q[a]?q[a]=h.exports:l===b&&s||(q[a]=l))}elsea&&(q[a]=d)},a=c=n=function(a,c,d,e,f){if("string"==typeofa)returnp[a]?p[a](c):j(o(a,c).f);if(!a.splice){if(s=a,s.deps&&n(s.deps,s.callback),!c)return;c.splice?(a=c,c=d,d=null):a=b}returnc=c||function(){},"function"==typeofd&&(d=e,e=f),e?m(b,a,c,d):setTimeout(function(){m(b,a,c,d)},4),n},n.config=function(a){returnn(a)},a._defined=q,d=function(a,b,c){if("string"!=typeofa)thrownewError("See almond README: incorrect module build, no module name");b.splice||(c=b,b=[]),e(q,a)||e(r,a)||(r[a]=[a,b,c])},d.amd={jQuery:!0}}(),b.requirejs=a,b.require=c,b.define=d}}(),b.define("almond",function(){}),b.define("jquery",[],function(){varb=a||$;returnnull==b&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),b}),b.define("select2/utils",["jquery"],function(a){functionb(a){varb=a.prototype,c=[];for(vardinb){vare=b[d];"function"==typeofe&&"constructor"!==d&&c.push(d)}returnc}varc={};c.Extend=function(a,b){functionc(){this.constructor=a}vard={}.hasOwnProperty;for(vareinb)d.call(b,e)&&(a[e]=b[e]);returnc.prototype=b.prototype,a.prototype=newc,a.__super__=b.prototype,a},c.Decorate=function(a,c){functiond(){varb=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}functione(){this.constructor=d}varf=b(c),g=b(a);c.displayName=a.displayName,d.prototype=newe;for(varh=0;h<g.length;h++){vari=g[h];d.prototype[i]=a.prototype[i]}for(varj=(function(a){varb=function(){};aind.prototype&&(b=d.prototype[a]);vare=c.prototype[a];returnfunction(){vara=Array.prototype.unshift;returna.call(arguments,b)
}},d.prototype.unselect=function(a){varb=this;if(this.$element.prop("multiple"))returna.selected=!1,c(a.element).is("option")?(a.element.selected=!1,voidthis.$element.trigger("change")):voidthis.current(function(d){for(vare=[],f=0;f<d.length;f++){varg=d[f].id;g!==a.id&&c.inArray(g,e)===-1&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})},d.prototype.bind=function(a,b){varc=this;this.container=a,a.on("select",function(a){c.select(a.data)}),a.on("unselect",function(a){c.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){c.removeData(this,"data")})},d.prototype.query=function(a,b){vard=[],e=this,f=this.$element.children();f.each(function(){varb=c(this);if(b.is("option")||b.is("optgroup")){varf=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){varb;a.children?(b=document.createElement("optgroup"),b.label=a.text):(b=document.createElement("option"),void0!==b.textContent?b.textContent=a.text:b.innerText=a.text),a.id&&(b.value=a.id),a.disabled&&(b.disabled=!0),a.selected&&(b.selected=!0),a.title&&(b.title=a.title);vard=c(b),e=this._normalizeItem(a);returne.element=b,c.data(b,"data",e),d},d.prototype.item=function(a){varb={};if(b=c.data(a[0],"data"),null!=b)returnb;if(a.is("option"))b={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};elseif(a.is("optgroup")){b={text:a.prop("label"),children:[],title:a.prop("title")};for(vard=a.children("option"),e=[],f=0;f<d.length;f++){varg=c(d[f]),h=this.item(g);e.push(h)}b.children=e}returnb=this._normalizeItem(b),b.element=a[0],c.data(a[0],"data",b),b},d.prototype._normalizeItem=function(a){c.isPlainObject(a)||(a={id:a,text:a}),a=c.extend({},{text:""},a);varb={selected:!1,disabled:!1};returnnull!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){varc=this.options.get("matcher");returnc(a,b)},d}),b.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){functiond(a,b){varc=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}returnb.Extend(d,a),d.prototype.select=function(a){varb=this.$element.find("option").filter(function(b,c){returnc.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){functiond(a){returnfunction(){returnc(this).val()==a.id}}for(vare=this,f=this.$element.find("option"),g=f.map(function(){returne.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){varj=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){vark=f.filter(d(j)),l=this.item(k),m=c.extend(!0,{},j,l),n=this.option(m);k.replaceWith(n)}else{varo=this.option(j);if(j.children){varp=this.convertToOptions(j.children);b.appendMany(o,p)}h.push(o)}}returnh},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){functiond(a,b){this.ajaxOptions=this._applyDefaults(b.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),d.__super__.constructor.call(this,a,b)}returnb.Extend(d,a),d.prototype._applyDefaults=function(a){varb={data:function(a){returnc.extend({},a,{q:a.term})},transport:function(a,b,d){vare=c.ajax(a);returne.then(b),e.fail(d),e}};returnc.extend({},b,a,!0)},d.prototype.processResults=function(a){returna},d.prototype.query=function(a,b){functiond(){vard=f.transport(f,function(d){varf=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){d.status&&"0"===d.status||e.trigger("results:message",{message:"errorLoading"})});e._request=d}vare=this;null!=this._request&&(c.isFu
b.data("element",this.$element),b},e}),b.define("select2/compat/utils",["jquery"],function(a){functionb(b,c,d){vare,f,g=[];e=a.trim(b.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each(function(){0===this.indexOf("select2-")&&g.push(this)})),e=a.trim(c.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&(f=d(this),null!=f&&g.push(f))})),b.attr("class",g.join(" "))}return{syncCssClasses:b}}),b.define("select2/compat/containerCss",["jquery","./utils"],function(a,b){functionc(a){returnnull}functiond(){}returnd.prototype.render=function(d){vare=d.call(this),f=this.options.get("containerCssClass")||"";a.isFunction(f)&&(f=f(this.$element));varg=this.options.get("adaptContainerCssClass");if(g=g||c,f.indexOf(":all:")!==-1){f=f.replace(":all:","");varh=g;g=function(a){varb=h(a);returnnull!=b?b+" "+a:a}}vari=this.options.get("containerCss")||{};returna.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),b.define("select2/compat/dropdownCss",["jquery","./utils"],function(a,b){functionc(a){returnnull}functiond(){}returnd.prototype.render=function(d){vare=d.call(this),f=this.options.get("dropdownCssClass")||"";a.isFunction(f)&&(f=f(this.$element));varg=this.options.get("adaptDropdownCssClass");if(g=g||c,f.indexOf(":all:")!==-1){f=f.replace(":all:","");varh=g;g=function(a){varb=h(a);returnnull!=b?b+" "+a:a}}vari=this.options.get("dropdownCss")||{};returna.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),b.define("select2/compat/initSelection",["jquery"],function(a){functionb(a,b,c){c.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=c.get("initSelection"),this._isInitialized=!1,a.call(this,b,c)}returnb.prototype.current=function(b,c){vard=this;returnthis._isInitialized?voidb.call(this,c):voidthis.initSelection.call(null,this.$element,function(b){d._isInitialized=!0,a.isArray(b)||(b=[b]),c(b)})},b}),b.define("select2/compat/inputData",["jquery"],function(a){functionb(a,b,c){this._currentData=[],this._valueSeparator=c.get("valueSeparator")||",","hidden"===b.prop("type")&&c.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),a.call(this,b,c)}returnb.prototype.current=function(b,c){functiond(b,c){vare=[];returnb.selected||a.inArray(b.id,c)!==-1?(b.selected=!0,e.push(b)):b.selected=!1,b.children&&e.push.apply(e,d(b.children,c)),e}for(vare=[],f=0;f<this._currentData.length;f++){varg=this._currentData[f];e.push.apply(e,d(g,this.$element.val().split(this._valueSeparator)))}c(e)},b.prototype.select=function(b,c){if(this.options.get("multiple")){vard=this.$element.val();d+=this._valueSeparator+c.id,this.$element.val(d),this.$element.trigger("change")}elsethis.current(function(b){a.map(b,function(a){a.selected=!1})}),this.$element.val(c.id),this.$element.trigger("change")},b.prototype.unselect=function(a,b){varc=this;b.selected=!1,this.current(function(a){for(vard=[],e=0;e<a.length;e++){varf=a[e];b.id!=f.id&&d.push(f.id)}c.$element.val(d.join(c._valueSeparator)),c.$element.trigger("change")})},b.prototype.query=function(a,b,c){for(vard=[],e=0;e<this._currentData.length;e++){varf=this._currentData[e],g=this.matches(b,f);null!==g&&d.push(g)}c({results:d})},b.prototype.addOptions=function(b,c){vard=a.map(c,function(b){returna.data(b[0],"data")});this._currentData.push.apply(this._currentData,d)},b}),b.define("select2/compat/matcher",["jquery"],function(a){functionb(b){functionc(c,d){vare=a.extend(!0,{},d);if(null==c.term||""===a.trim(c.term))returne;if(d.children){for(var
!function(a,b){functionc(a,b){varc=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;returnc.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}functiond(){vara=t.elements;return"string"==typeofa?a.split(" "):a}functione(a,b){varc=t.elements;"string"!=typeofc&&(c=c.join(" ")),"string"!=typeofa&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}functionf(a){varb=s[a[q]];returnb||(b={},r++,a[q]=r,s[r]=b),b}functiong(a,c,d){if(c||(c=b),l)returnc.createElement(a);d||(d=f(c));vare;returne=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}functionh(a,c){if(a||(a=b),l)returna.createDocumentFragment();c=c||f(a);for(vare=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);returne}functioni(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){returnt.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){returnb.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}functionj(a){a||(a=b);vard=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}vark,l,m="3.7.3",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{vara=b.createElement("a");a.innerHTML="<xyz></xyz>",k="hidden"ina,l=1==a.childNodes.length||function(){b.createElement("a");vara=b.createDocumentFragment();return"undefined"==typeofa.cloneNode||"undefined"==typeofa.createDocumentFragment||"undefined"==typeofa.createElement}()}catch(c){k=!0,l=!0}}();vart={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b),"object"==typeofmodule&&module.exports&&(module.exports=t)}("undefined"!=typeofwindow?window:this,document);varMarkdown;Markdown="object"==typeofexports&&"function"==typeofrequire?exports:{},function(){functiona(a){returna}functionb(a){return!1}functionc(){}functiond(){}c.prototype={chain:function(b,c){vard=this[b];if(!d)thrownewError("unknown hook "+b);d===a?this[b]=c:this[b]=function(a){varb=Array.prototype.slice.call(arguments,0);returnb[0]=d.apply(null,b),c.apply(null,b)}},set:function(a,b){if(!this[a])thrownewError("unknown hook "+a);this[a]=b},addNoop:function(b){this[b]=a},addFalse:function(a){this[a]=b}},Markdown.HookCollection=c,d.prototype={set:function(a,b){this["s_"+a]=b},get:function(a){returnthis["s_"+a]}},Markdown.Converter=function(b){functione(a){returna=a.replace(/^[ ]{0,3}\[([^\[\]]+)\]:[ \t]*\n?[ \t]*<?(\S+?)>?(?=\s|$)[ \t]*\n?[ \t]*((\n*)["(](.+?)[")][ \t]*)?(\n+)/gm,function(a,b,c,d,e,f,g){returnb=b.toLowerCase(),L.set(b,A(c)),e?d+g:(f&&M.set(b,f.replace(/"/g,""")),"")})}functionf(a){returna=a.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\b[^\r]*?\n<\/\2>[ \t]*(?=\n+))/gm,h),a=a.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math)\b[^\r]*?.*<\/\2>[ \t]*(?=\n+)\n)/gm,h),a=a.replace(/\n[ ]{0,3}((<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,h),a=a.replace(/\n\n[ ]{0,3}(<!(--(?:|(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>[ \t]*(?=\n{2,}))/g,h),a=a.replace(/(?:\n\n)([]{0,3}(?:<([?%])[^\r]*?\2>)[\t]*(?
g.call(this)}functiong(){for(vara=0,b=this._deferreds.length;b>a;a++)d.call(this,this._deferreds[a]);this._deferreds=null}functionh(a,b,c,d){this.onFulfilled="function"==typeofa?a:null,this.onRejected="function"==typeofb?b:null,this.resolve=c,this.reject=d}functioni(a,b,c){vard=!1;try{a(function(a){d||(d=!0,b(a))},function(a){d||(d=!0,c(a))})}catch(e){d||(d=!0,c(e))}}varj=c.immediateFn||"function"==typeofsetImmediate&&setImmediate||function(a){setTimeout(a,1)},k=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)};c.prototype["catch"]=function(a){returnthis.then(null,a)},c.prototype.then=function(a,b){vare=this;returnnewc(function(c,f){d.call(e,newh(a,b,c,f))})},c.all=function(){vara=Array.prototype.slice.call(1===arguments.length&&k(arguments[0])?arguments[0]:arguments);returnnewc(function(b,c){functiond(f,g){try{if(g&&("object"==typeofg||"function"==typeofg)){varh=g.then;if("function"==typeofh)returnvoidh.call(g,function(a){d(f,a)},c)}a[f]=g,0===--e&&b(a)}catch(i){c(i)}}if(0===a.length)returnb([]);for(vare=a.length,f=0;f<a.length;f++)d(f,a[f])})},c.resolve=function(a){returna&&"object"==typeofa&&a.constructor===c?a:newc(function(b){b(a)})},c.reject=function(a){returnnewc(function(b,c){c(a)})},c.race=function(a){returnnewc(function(b,c){for(vard=0,e=a.length;e>d;d++)a[d].then(b,c)})},"undefined"!=typeofmodule&&module.exports?module.exports=c:a.Promise||(a.Promise=c)}(this),a.copy=function(a){returnnewPromise(function(b,c){if("string"!=typeofa&&!("text/plain"ina))throwError("You must provide a text/plain type.");window.clipboardData.setData("Text","string"==typeofa?a:a["text/plain"])?b():c(Error("Copying was rejected."))})},a.paste=function(){returnnewPromise(function(a,b){varc=window.clipboardData.getData("Text");c?a(c):b(Error("Pasting was rejected."))})}),a}),!function(){"use strict";functiona(a,b){varc;for(cinb)b.hasOwnProperty(c)&&(a[c]=b[c]);returna}functionb(a){if(!this||this.find!==b.prototype.find)returnnewb(a);if(this.length=0,a)if("string"==typeofa&&(a=this.find(a)),a.nodeType||a===a.window)this.length=1,this[0]=a;else{varc=a.length;for(this.length=c;c;)c-=1,this[c]=a[c]}}b.extend=a,b.contains=function(a,b){doif(b=b.parentNode,b===a)return!0;while(b);return!1},b.parseJSON=function(a){returnwindow.JSON&&JSON.parse(a)},a(b.prototype,{find:function(a){varc=this[0]||document;return"string"==typeofa&&(a=c.querySelectorAll?c.querySelectorAll(a):"#"===a.charAt(0)?c.getElementById(a.slice(1)):c.getElementsByTagName(a)),newb(a)},hasClass:function(a){return!!this[0]&&newRegExp("(^|\\s+)"+a+"(\\s+|$)").test(this[0].className)},addClass:function(a){for(varb,c=this.length;c;){if(c-=1,b=this[c],!b.className)returnb.className=a,this;if(this.hasClass(a))returnthis;b.className+=" "+a}returnthis},removeClass:function(a){for(varb,c=newRegExp("(^|\\s+)"+a+"(\\s+|$)"),d=this.length;d;)d-=1,b=this[d],b.className=b.className.replace(c," ");returnthis},on:function(a,b){for(varc,d,e=a.split(/\s+/);e.length;)for(a=e.shift(),c=this.length;c;)c-=1,d=this[c],d.addEventListener?d.addEventListener(a,b,!1):d.attachEvent&&d.attachEvent("on"+a,b);returnthis},off:function(a,b){for(varc,d,e=a.split(/\s+/);e.length;)for(a=e.shift(),c=this.length;c;)c-=1,d=this[c],d.removeEventListener?d.removeEventListener(a,b,!1):d.detachEvent&&d.detachEvent("on"+a,b);returnthis},empty:function(){for(vara,b=this.length;b;)for(b-=1,a=this[b];a.hasChildNodes();)a.removeChild(a.lastChild);returnthis},first:function(){returnnewb(this[0])}}),"function"==typeofdefine&&define.amd?define(function(){returnb}):(window.blueimp=window.blueimp||{},window.blueimp.helper=b)}(),function(a){"use strict";"function"==typeofdefine&&define.amd?define(["./blueimp-helper"],a):(window.blueimp=window.blueimp||{},window.blueimp.Gallery=a(window.blueimp.helper||window.jQuery))}(function(a){"use strict";functionb(a,c){returnvoid0===document.body.style.maxHeight?null:this&&this.options===b.prototype.options?a&&a.length?(this.list=a,this.num=a.length,this.initOptions(c),voidth