!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e(t.bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,c){"use strict";function n(t,e){for(var i=0;ithis._items.length-1||t<0))if(this._isSliding)T(this._element).one(L.SLID,function(){return e.to(t)});else{if(i===t)return this.pause(),void this.cycle();var n=idocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},De._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},De._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',trigger:"hover focus",title:"",delay:0,html:!(Rt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"}),selector:!(Pt={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"}),placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},Ht={HIDE:"hide"+jt,HIDDEN:"hidden"+jt,SHOW:(Qt="show")+jt,SHOWN:"shown"+jt,INSERTED:"inserted"+jt,CLICK:"click"+jt,FOCUSIN:"focusin"+jt,FOCUSOUT:"focusout"+jt,MOUSEENTER:"mouseenter"+jt,MOUSELEAVE:"mouseleave"+jt},Ft="fade",Mt="show",Ut="hover",Wt="focus",(Ie=Ze.prototype).enable=function(){this._isEnabled=!0},Ie.disable=function(){this._isEnabled=!1},Ie.toggleEnabled=function(){this._isEnabled=!this._isEnabled},Ie.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=Dt(t.currentTarget).data(e);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),Dt(t.currentTarget).data(e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(Dt(this.getTipElement()).hasClass(Mt))return void this._leave(null,this);this._enter(null,this)}},Ie.dispose=function(){clearTimeout(this._timeout),Dt.removeData(this.element,this.constructor.DATA_KEY),Dt(this.element).off(this.constructor.EVENT_KEY),Dt(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&Dt(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},Ie.show=function(){var e=this;if("none"===Dt(this.element).css("display"))throw new Error("Please use show on visible elements");var t=Dt.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){Dt(this.element).trigger(t);var i=Dt.contains(this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var n=this.getTipElement(),s=qe.getUID(this.constructor.NAME);n.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&Dt(n).addClass(Ft);var r="function"==typeof this.config.placement?this.config.placement.call(this,n,this.element):this.config.placement,o=this._getAttachment(r);this.addAttachmentClass(o);var a=!1===this.config.container?document.body:Dt(document).find(this.config.container);Dt(n).data(this.constructor.DATA_KEY,this),Dt.contains(this.element.ownerDocument.documentElement,this.tip)||Dt(n).appendTo(a),Dt(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new c(this.element,n,{placement:o,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),Dt(n).addClass(Mt),"ontouchstart"in document.documentElement&&Dt(document.body).children().on("mouseover",null,Dt.noop);var l,h=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,Dt(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};Dt(this.tip).hasClass(Ft)?(l=qe.getTransitionDurationFromElement(this.tip),Dt(this.tip).one(qe.TRANSITION_END,h).emulateTransitionEnd(l)):h()}},Ie.hide=function(t){function e(){n._hoverState!==Qt&&s.parentNode&&s.parentNode.removeChild(s),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),Dt(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()}var i,n=this,s=this.getTipElement(),r=Dt.Event(this.constructor.Event.HIDE);Dt(this.element).trigger(r),r.isDefaultPrevented()||(Dt(s).removeClass(Mt),"ontouchstart"in document.documentElement&&Dt(document.body).children().off("mouseover",null,Dt.noop),this._activeTrigger.click=!1,this._activeTrigger[Wt]=!1,this._activeTrigger[Ut]=!1,Dt(this.tip).hasClass(Ft)?(i=qe.getTransitionDurationFromElement(s),Dt(s).one(qe.TRANSITION_END,e).emulateTransitionEnd(i)):e(),this._hoverState="")},Ie.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},Ie.isWithContent=function(){return Boolean(this.getTitle())},Ie.addAttachmentClass=function(t){Dt(this.getTipElement()).addClass(xt+"-"+t)},Ie.getTipElement=function(){return this.tip=this.tip||Dt(this.config.template)[0],this.tip},Ie.setContent=function(){var t=this.getTipElement();this.setElementContent(Dt(t.querySelectorAll(".tooltip-inner")),this.getTitle()),Dt(t).removeClass(Ft+" "+Mt)},Ie.setElementContent=function(t,e){var i=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?i?Dt(e).parent().is(t)||t.empty().append(e):t.text(Dt(e).text()):t[i?"html":"text"](e)},Ie.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},Ie._getAttachment=function(t){return Rt[t.toUpperCase()]},Ie._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){var e,i;"click"===t?Dt(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)}):"manual"!==t&&(e=t===Ut?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,i=t===Ut?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT,Dt(n.element).on(e,n.config.selector,function(t){return n._enter(t)}).on(i,n.config.selector,function(t){return n._leave(t)})),Dt(n.element).closest(".modal").on("hide.bs.modal",function(){return n.hide()})}),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},Ie._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==t||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},Ie._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||Dt(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),Dt(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusin"===t.type?Wt:Ut]=!0),Dt(e.getTipElement()).hasClass(Mt)||e._hoverState===Qt?e._hoverState=Qt:(clearTimeout(e._timeout),e._hoverState=Qt,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Qt&&e.show()},e.config.delay.show):e.show())},Ie._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||Dt(t.currentTarget).data(i))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),Dt(t.currentTarget).data(i,e)),t&&(e._activeTrigger["focusout"===t.type?Wt:Ut]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},Ie._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},Ie._getConfig=function(t){return"number"==typeof(t=o({},this.constructor.Default,Dt(this.element).data(),"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),qe.typeCheckConfig(kt,t,this.constructor.DefaultType),t},Ie._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},Ie._cleanTipClass=function(){var t=Dt(this.getTipElement()),e=t.attr("class").match(Lt);null!==e&&e.length&&t.removeClass(e.join(""))},Ie._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},Ie._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(Dt(t).removeClass(Ft),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},Ze._jQueryInterface=function(i){return this.each(function(){var t=Dt(this).data(Nt),e="object"==typeof i&&i;if((t||!/dispose|hide/.test(i))&&(t||(t=new Ze(this,e),Dt(this).data(Nt,t)),"string"==typeof i)){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},r(Ze,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return qt}},{key:"NAME",get:function(){return kt}},{key:"DATA_KEY",get:function(){return Nt}},{key:"Event",get:function(){return Ht}},{key:"EVENT_KEY",get:function(){return jt}},{key:"DefaultType",get:function(){return Pt}}]),Bt=Ze,Dt.fn[kt]=Bt._jQueryInterface,Dt.fn[kt].Constructor=Bt,Dt.fn[kt].noConflict=function(){return Dt.fn[kt]=Ot,Bt._jQueryInterface},Bt),Ke=(zt="popover",Yt="."+(Vt="bs.popover"),$t=(Kt=e).fn[zt],Zt="bs-popover",Jt=new RegExp("(^|\\s)"+Zt+"\\S+","g"),Gt=o({},Be.Default,{placement:"right",trigger:"click",content:"",template:''}),Xt=o({},Be.DefaultType,{content:"(string|element|function)"}),te={HIDE:"hide"+Yt,HIDDEN:"hidden"+Yt,SHOW:"show"+Yt,SHOWN:"shown"+Yt,INSERTED:"inserted"+Yt,CLICK:"click"+Yt,FOCUSIN:"focusin"+Yt,FOCUSOUT:"focusout"+Yt,MOUSEENTER:"mouseenter"+Yt,MOUSELEAVE:"mouseleave"+Yt},ee=function(t){var e,i;function n(){return t.apply(this,arguments)||this}i=t,(e=n).prototype=Object.create(i.prototype),(e.prototype.constructor=e).__proto__=i;var s=n.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(t){Kt(this.getTipElement()).addClass(Zt+"-"+t)},s.getTipElement=function(){return this.tip=this.tip||Kt(this.config.template)[0],this.tip},s.setContent=function(){var t=Kt(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var t=Kt(this.getTipElement()),e=t.attr("class").match(Jt);null!==e&&0=this._offsets[s]&&(void 0===this._offsets[s+1]||t li > .active",(Se=Ye.prototype).show=function(){var t,e,i,n,s,r,o,a,l=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&pe(this._element).hasClass(Ee)||pe(this._element).hasClass("disabled")||(e=pe(this._element).closest(".nav, .list-group")[0],i=qe.getSelectorFromElement(this._element),e&&(n="UL"===e.nodeName?we:Ce,s=(s=pe.makeArray(pe(e).find(n)))[s.length-1]),r=pe.Event(be.HIDE,{relatedTarget:this._element}),o=pe.Event(be.SHOW,{relatedTarget:s}),s&&pe(s).trigger(r),pe(this._element).trigger(o),o.isDefaultPrevented()||r.isDefaultPrevented()||(i&&(t=document.querySelector(i)),this._activate(this._element,e),a=function(){var t=pe.Event(be.HIDDEN,{relatedTarget:l._element}),e=pe.Event(be.SHOWN,{relatedTarget:s});pe(s).trigger(t),pe(l._element).trigger(e)},t?this._activate(t,t.parentNode,a):a()))},Se.dispose=function(){pe.removeData(this._element,_e),this._element=null},Se._activate=function(t,e,i){function n(){return r._transitionComplete(t,o,i)}var s,r=this,o=("UL"===e.nodeName?pe(e).find(we):pe(e).children(Ce))[0],a=i&&o&&pe(o).hasClass("fade");o&&a?(s=qe.getTransitionDurationFromElement(o),pe(o).one(qe.TRANSITION_END,n).emulateTransitionEnd(s)):n()},Se._transitionComplete=function(t,e,i){var n,s,r;e&&(pe(e).removeClass("show "+Ee),(n=pe(e.parentNode).find("> .dropdown-menu .active")[0])&&pe(n).removeClass(Ee),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)),pe(t).addClass(Ee),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),qe.reflow(t),pe(t).addClass("show"),t.parentNode&&pe(t.parentNode).hasClass("dropdown-menu")&&((s=pe(t).closest(".dropdown")[0])&&(r=[].slice.call(s.querySelectorAll(".dropdown-toggle")),pe(r).addClass(Ee)),t.setAttribute("aria-expanded",!0)),i&&i()},Ye._jQueryInterface=function(i){return this.each(function(){var t=pe(this),e=t.data(_e);if(e||(e=new Ye(this),t.data(_e,e)),"string"==typeof i){if(void 0===e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},r(Ye,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),Te=Ye,pe(document).on(be.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),Te._jQueryInterface.call(pe(this),"show")}),pe.fn.tab=Te._jQueryInterface,pe.fn.tab.Constructor=Te,pe.fn.tab.noConflict=function(){return pe.fn.tab=ye,Te._jQueryInterface},Te);function Ye(t){this._element=t}function $e(t,e){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+de+","+this._config.target+" "+fe+","+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,ie(this._scrollElement).on(he.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}function Ze(t,e){if(void 0===c)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}function Je(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._scrollbarWidth=0}function Ge(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}function Xe(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=Q.makeArray(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var i=[].slice.call(document.querySelectorAll(Z)),n=0,s=i.length;n").attr("name",n.submitButton.name).val(c(n.submitButton).val()).appendTo(n.currentForm)),!(n.settings.submitHandler&&!n.settings.debug)||(e=n.settings.submitHandler.call(n,n.currentForm,i),t&&t.remove(),void 0!==e&&e)}return n.settings.debug&&i.preventDefault(),n.cancelSubmit?(n.cancelSubmit=!1,t()):n.form()?n.pendingRequest?!(n.formSubmitted=!0):t():(n.focusInvalid(),!1)})),n)}t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,e,i;return c(this[0]).is("form")?t=this.validate().form():(i=[],t=!0,e=c(this[0].form).validate(),this.each(function(){(t=e.element(this)&&t)||(i=i.concat(e.errorList))}),e.errorList=i),t},rules:function(t,e){var i,n,s,r,o,a,l=this[0],h=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=l&&(!l.form&&h&&(l.form=this.closest("form")[0],l.name=this.attr("name")),null!=l.form)){if(t)switch(i=c.data(l.form,"validator").settings,n=i.rules,s=c.validator.staticRules(l),t){case"add":c.extend(s,c.validator.normalizeRule(e)),delete s.messages,n[l.name]=s,e.messages&&(i.messages[l.name]=c.extend(i.messages[l.name],e.messages));break;case"remove":return e?(a={},c.each(e.split(/\s/),function(t,e){a[e]=s[e],delete s[e]}),a):(delete n[l.name],s)}return(r=c.validator.normalizeRules(c.extend({},c.validator.classRules(l),c.validator.attributeRules(l),c.validator.dataRules(l),c.validator.staticRules(l)),l)).required&&(o=r.required,delete r.required,r=c.extend({required:o},r)),r.remote&&(o=r.remote,delete r.remote,r=c.extend(r,{remote:o})),r}}}),c.extend(c.expr.pseudos||c.expr[":"],{blank:function(t){return!c.trim(""+c(t).val())},filled:function(t){var e=c(t).val();return null!==e&&!!c.trim(""+e)},unchecked:function(t){return!c(t).prop("checked")}}),c.validator=function(t,e){this.settings=c.extend(!0,{},c.validator.defaults,t),this.currentForm=e,this.init()},c.validator.format=function(i,t){return 1===arguments.length?function(){var t=c.makeArray(arguments);return t.unshift(i),c.validator.format.apply(this,t)}:(void 0===t||(2Warning: No message defined for "+t.name+""),n=/\$?\{(\d+)\}/g;return"function"==typeof i?i=i.call(this,e.parameters,t):n.test(i)&&(i=c.validator.format(i.replace(n,"{$1}"),e.parameters)),i},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e);this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){for(var t,e,i=0;this.errorList[i];i++)e=this.errorList[i],this.settings.highlight&&this.settings.highlight.call(this,e.element,this.settings.errorClass,this.settings.validClass),this.showLabel(e.element,e.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(i=0;this.successList[i];i++)this.showLabel(this.successList[i]);if(this.settings.unhighlight)for(i=0,t=this.validElements();t[i];i++)this.settings.unhighlight.call(this,t[i],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(t,e){var i,n,s,r,o=this.errorsFor(t),a=this.idOrName(t),l=c(t).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(e)):(i=o=c("<"+this.settings.errorElement+">").attr("id",a+"-error").addClass(this.settings.errorClass).html(e||""),this.settings.wrapper&&(i=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(i):this.settings.errorPlacement?this.settings.errorPlacement.call(this,i,c(t)):i.insertAfter(t),o.is("label")?o.attr("for",a):0===o.parents("label[for='"+this.escapeCssMeta(a)+"']").length&&(s=o.attr("id"),l?l.match(new RegExp("\\b"+this.escapeCssMeta(s)+"\\b"))||(l+=" "+s):l=s,c(t).attr("aria-describedby",l),(n=this.groups[t.name])&&(r=this,c.each(r.groups,function(t,e){e===n&&c("[name='"+r.escapeCssMeta(t)+"']",r.currentForm).attr("aria-describedby",o.attr("id"))})))),!e&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,t)),this.toShow=this.toShow.add(o)},errorsFor:function(t){var e=this.escapeCssMeta(this.idOrName(t)),i=c(t).attr("aria-describedby"),n="label[for='"+e+"'], label[for='"+e+"'] *";return i&&(n=n+", #"+this.escapeCssMeta(i).replace(/\s+/g,", #")),this.errors().filter(n)},escapeCssMeta:function(t){return t.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||!this.checkable(t)&&t.id||t.name},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),c(t).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(t){return c(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,e){switch(e.nodeName.toLowerCase()){case"select":return c("option:selected",e).length;case"input":if(this.checkable(e))return this.findByName(e.name).filter(":checked").length}return t.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(t,e){return!!c(t,e.form).length},function:function(t,e){return t(e)}},optional:function(t){var e=this.elementValue(t);return!c.validator.methods.required.call(this,e,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,c(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,e){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],c(t).removeClass(this.settings.pendingClass),e&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(c(this.currentForm).submit(),this.submitButton&&c("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!e&&0===this.pendingRequest&&this.formSubmitted&&(c(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,e){return e="string"==typeof e&&e||"remote",c.data(t,"previousValue")||c.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:e})})},destroy:function(){this.resetForm(),c(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,e){t.constructor===String?this.classRuleSettings[t]=e:c.extend(this.classRuleSettings,t)},classRules:function(t){var e={},i=c(t).attr("class");return i&&c.each(i.split(" "),function(){this in c.validator.classRuleSettings&&c.extend(e,c.validator.classRuleSettings[this])}),e},normalizeAttributeRule:function(t,e,i,n){/min|max|step/.test(i)&&(null===e||/number|range|text/.test(e))&&(n=Number(n),isNaN(n)&&(n=void 0)),n||0===n?t[i]=n:e===i&&"range"!==e&&(t[i]=!0)},attributeRules:function(t){var e,i,n={},s=c(t),r=t.getAttribute("type");for(e in c.validator.methods)i="required"===e?(""===(i=t.getAttribute(e))&&(i=!0),!!i):s.attr(e),this.normalizeAttributeRule(n,r,e,i);return n.maxlength&&/-1|2147483647|524288/.test(n.maxlength)&&delete n.maxlength,n},dataRules:function(t){var e,i,n={},s=c(t),r=t.getAttribute("type");for(e in c.validator.methods)""===(i=s.data("rule"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()))&&(i=!0),this.normalizeAttributeRule(n,r,e,i);return n},staticRules:function(t){var e={},i=c.data(t.form,"validator");return i.settings.rules&&(e=c.validator.normalizeRule(i.settings.rules[t.name])||{}),e},normalizeRules:function(n,s){return c.each(n,function(t,e){if(!1!==e){if(e.param||e.depends){var i=!0;switch(typeof e.depends){case"string":i=!!c(e.depends,s.form).length;break;case"function":i=e.depends.call(s,s)}i?n[t]=void 0===e.param||e.param:(c.data(s.form,"validator").resetElements(c(s)),delete n[t])}}else delete n[t]}),c.each(n,function(t,e){n[t]=c.isFunction(e)&&"normalizer"!==t?e(s):e}),c.each(["minlength","maxlength"],function(){n[this]&&(n[this]=Number(n[this]))}),c.each(["rangelength","range"],function(){var t;n[this]&&(c.isArray(n[this])?n[this]=[Number(n[this][0]),Number(n[this][1])]:"string"==typeof n[this]&&(t=n[this].replace(/[\[\]]/g,"").split(/[\s,]+/),n[this]=[Number(t[0]),Number(t[1])]))}),c.validator.autoCreateRanges&&(null!=n.min&&null!=n.max&&(n.range=[n.min,n.max],delete n.min,delete n.max),null!=n.minlength&&null!=n.maxlength&&(n.rangelength=[n.minlength,n.maxlength],delete n.minlength,delete n.maxlength)),n},normalizeRule:function(t){var e;return"string"==typeof t&&(e={},c.each(t.split(/\s/),function(){e[this]=!0}),t=e),t},addMethod:function(t,e,i){c.validator.methods[t]=e,c.validator.messages[t]=void 0!==i?i:c.validator.messages[t],e.length<3&&c.validator.addClassRules(t,c.validator.normalizeRule(t))},methods:{required:function(t,e,i){if(!this.depend(i,e))return"dependency-mismatch";if("select"!==e.nodeName.toLowerCase())return this.checkable(e)?0=i[0]&&n<=i[1]},min:function(t,e,i){return this.optional(e)||i<=t},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},step:function(t,e,i){function n(t){var e=(""+t).match(/(?:\.(\d+))?$/);return e&&e[1]?e[1].length:0}function s(t){return Math.round(t*Math.pow(10,r))}var r,o=c(e).attr("type"),a="Step attribute on input type "+o+" is not supported.",l=new RegExp("\\b"+o+"\\b"),h=!0;if(o&&!l.test(["text","number","range"].join()))throw new Error(a);return r=n(i),(n(t)>r||s(t)%s(i)!=0)&&(h=!1),this.optional(e)||h},equalTo:function(t,e,i){var n=c(i);return this.settings.onfocusout&&n.not(".validate-equalTo-blur").length&&n.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){c(e).valid()}),t===n.val()},remote:function(r,o,t,a){if(this.optional(o))return"dependency-mismatch";a="string"==typeof a&&a||"remote";var l,e,i,h=this.previousValue(o,a);return this.settings.messages[o.name]||(this.settings.messages[o.name]={}),h.originalMessage=h.originalMessage||this.settings.messages[o.name][a],this.settings.messages[o.name][a]=h.message,t="string"==typeof t?{url:t}:t,i=c.param(c.extend({data:r},t.data)),h.old===i?h.valid:(h.old=i,(l=this).startRequest(o),(e={})[o.name]=r,c.ajax(c.extend(!0,{mode:"abort",port:"validate"+o.name,dataType:"json",data:e,context:l.currentForm,success:function(t){var e,i,n,s=!0===t||"true"===t;l.settings.messages[o.name][a]=h.originalMessage,s?(n=l.formSubmitted,l.resetInternals(),l.toHide=l.errorsFor(o),l.formSubmitted=n,l.successList.push(o),l.invalid[o.name]=!1,l.showErrors()):(e={},i=t||l.defaultMessage(o,{method:a,parameters:r}),e[o.name]=h.message=i,l.invalid[o.name]=!0,l.showErrors(e)),h.valid=s,l.stopRequest(o,s)}},t)),"pending")}}});var n,s={};return c.ajaxPrefilter?c.ajaxPrefilter(function(t,e,i){var n=t.port;"abort"===t.mode&&(s[n]&&s[n].abort(),s[n]=i)}):(n=c.ajax,c.ajax=function(t){var e=("mode"in t?t:c.ajaxSettings).mode,i=("port"in t?t:c.ajaxSettings).port;return"abort"===e?(s[i]&&s[i].abort(),s[i]=n.apply(this,arguments),s[i]):n.apply(this,arguments)}),c});var obj={header_height:"",window_height:"",window_width:"",window_top:"",sidebar_sticky:286,sticky_sidebar:function(){var t=jQuery(window).scrollTop();obj.window_top=jQuery(window).scrollTop();var e=jQuery(".footer").offset().top,i=jQuery(".sidebar-sticky").height();if(t+iMath.round(e)-30)jQuery(".sidebar-sticky").addClass("stick-to-bottom"),flag=!1;else if(t>obj.sidebar_sticky){if(!flag)return;jQuery(".sidebar-sticky").removeClass("stick-to-bottom"),jQuery(".sidebar-sticky").addClass("stick")}else jQuery(".sidebar-sticky").removeClass("stick")},init:function(){obj.window_height=jQuery(window).height(),obj.window_width=jQuery(window).width(),0