if(function(n,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("jquery"),require("popper.js")):typeof define=="function"&&define.amd?define(["exports","jquery","popper.js"],t):(n=typeof globalThis!="undefined"?globalThis:n||self,t(n.bootstrap={},n.jQuery,n.Popper))}(this,function(n,t,i){"use strict";function uu(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function o(n,t,i){return t&&uu(n.prototype,t),i&&uu(n,i),n}function u(){return u=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},u.apply(this,arguments)}function ie(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}function fe(n){return n===null||typeof n=="undefined"?""+n:{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase()}function ee(){return{bindType:ci,delegateType:ci,handle:function(n){return t(n.target).is(this)?n.handleObj.handler.apply(this,arguments):undefined}}}function oe(n){var u=this,i=!1;t(this).one(r.TRANSITION_END,function(){i=!0});return setTimeout(function(){i||r.triggerTransitionEnd(u)},n),this}function se(){t.fn.emulateTransitionEnd=oe;t.event.special[r.TRANSITION_END]=ee()}function ol(n,t){var r=n.nodeName.toLowerCase(),u,i,f;if(t.indexOf(r)!==-1)return ul.indexOf(r)!==-1?Boolean(n.nodeValue.match(fl)||n.nodeValue.match(el)):!0;for(u=t.filter(function(n){return n instanceof RegExp}),i=0,f=u.length;i<f;i++)if(r.match(u[i]))return!0;return!1}function sf(n,t,i){var r,e,o;if(n.length===0)return n;if(i&&typeof i=="function")return i(n);var s=new window.DOMParser,u=s.parseFromString(n,"text/html"),h=Object.keys(t),f=[].slice.call(u.body.querySelectorAll("*")),c=function(n){var i=f[n],e=i.nodeName.toLowerCase(),r,u;if(h.indexOf(i.nodeName.toLowerCase())===-1)return i.parentNode.removeChild(i),"continue";r=[].slice.call(i.attributes);u=[].concat(t["*"]||[],t[e]||[]);r.forEach(function(n){ol(n,u)||i.removeAttribute(n.nodeName)})};for(r=0,e=f.length;r<e;r++)o=c(r),o==="continue";return u.body.innerHTML}var r;t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t;i=i&&Object.prototype.hasOwnProperty.call(i,"default")?i["default"]:i;var ci="transitionend",re=1e6,ue=1e3;r={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*re);while(document.getElementById(n));return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target"),i;t&&t!=="#"||(i=n.getAttribute("href"),t=i&&i!=="#"?i.trim():"");try{return document.querySelector(t)?t:null}catch(r){return null}},getTransitionDurationFromElement:function(n){if(!n)return 0;var i=t(n).css("transition-duration"),r=t(n).css("transition-delay"),u=parseFloat(i),f=parseFloat(r);return!u&&!f?0:(i=i.split(",")[0],r=r.split(",")[0],(parseFloat(i)+parseFloat(r))*ue)},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){t(n).trigger(ci)},supportsTransitionEnd:function(){return Boolean(ci)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,i){for(var u in i)if(Object.prototype.hasOwnProperty.call(i,u)){var e=i[u],f=t[u],o=f&&r.isElement(f)?"element":fe(f);if(!new RegExp(e).test(o))throw new Error(n.toUpperCase()+": "+('Option "'+u+'" provided type "'+o+'" ')+('but expected type "'+e+'".'));}},findShadowRoot:function(n){if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){var t=n.getRootNode();return t instanceof ShadowRoot?t:null}return n instanceof ShadowRoot?n:n.parentNode?r.findShadowRoot(n.parentNode):null},jQueryDetection:function(){if(typeof t=="undefined")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=t.fn.jquery.split(" ")[0].split("."),i=9;if(n[0]<2&&n[1]<i||n[0]===1&&n[1]===i&&n[2]<1||n[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}};r.jQueryDetection();se();var ht="alert",he="4.5.2",li="bs.alert",hr="."+li,ce=t.fn[ht],le="close"+hr,ae="closed"+hr,ve="click"+hr+".data-api",ye="alert",pe="fade",we="show",nt=function(){function n(n){this._element=n}var i=n.prototype;return i.close=function(n){var t=this._element,i;(n&&(t=this._getRootElement(n)),i=this._triggerCloseEvent(t),i.isDefaultPrevented())||this._removeElement(t)},i.dispose=function(){t.removeData(this._element,li);this._element=null},i._getRootElement=function(n){var u=r.getSelectorFromElement(n),i=!1;return u&&(i=document.querySelector(u)),i||(i=t(n).closest("."+ye)[0]),i},i._triggerCloseEvent=function(n){var i=t.Event(le);return t(n).trigger(i),i},i._removeElement=function(n){var u=this,i;if(t(n).removeClass(we),!t(n).hasClass(pe)){this._destroyElement(n);return}i=r.getTransitionDurationFromElement(n);t(n).one(r.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(i)},i._destroyElement=function(n){t(n).detach().trigger(ae).remove()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(li);r||(r=new n(this),u.data(li,r));i==="close"&&r[i](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},o(n,null,[{key:"VERSION",get:function(){return he}}]),n}();t(document).on(ve,'[data-dismiss="alert"]',nt._handleDismiss(new nt));t.fn[ht]=nt._jQueryInterface;t.fn[ht].Constructor=nt;t.fn[ht].noConflict=function(){return t.fn[ht]=ce,nt._jQueryInterface};var ct="button",be="4.5.2",ai="bs.button",vi="."+ai,yi=".data-api",ke=t.fn[ct],l="active",de="btn",ge="focus",fu='[data-toggle^="button"]',no='[data-toggle="buttons"]',to='[data-toggle="button"]',io='[data-toggle="buttons"] .btn',cr='input:not([type="hidden"])',ro=".active",eu=".btn",uo="click"+vi+yi,fo="focus"+vi+yi+" "+("blur"+vi+yi),eo="load"+vi+yi,lt=function(){function n(n){this._element=n}var i=n.prototype;return i.toggle=function(){var i=!0,u=!0,f=t(this._element).closest(no)[0],n,r;f&&(n=this._element.querySelector(cr),n&&(n.type==="radio"&&(n.checked&&this._element.classList.contains(l)?i=!1:(r=f.querySelector(ro),r&&t(r).removeClass(l))),i&&((n.type==="checkbox"||n.type==="radio")&&(n.checked=!this._element.classList.contains(l)),t(n).trigger("change")),n.focus(),u=!1));this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(u&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(l)),i&&t(this._element).toggleClass(l))},i.dispose=function(){t.removeData(this._element,ai);this._element=null},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(ai);r||(r=new n(this),t(this).data(ai,r));i==="toggle"&&r[i]()})},o(n,null,[{key:"VERSION",get:function(){return be}}]),n}();t(document).on(uo,fu,function(n){var i=n.target,u=i,r;if(t(i).hasClass(de)||(i=t(i).closest(eu)[0]),!i||i.hasAttribute("disabled")||i.classList.contains("disabled"))n.preventDefault();else{if(r=i.querySelector(cr),r&&(r.hasAttribute("disabled")||r.classList.contains("disabled"))){n.preventDefault();return}(u.tagName!=="LABEL"||r&&r.type!=="checkbox")&&lt._jQueryInterface.call(t(i),"toggle")}}).on(fo,fu,function(n){var i=t(n.target).closest(eu)[0];t(i).toggleClass(ge,/^focus(in)?$/.test(n.type))});t(window).on(eo,function(){for(var t,f,i,e,r,n=[].slice.call(document.querySelectorAll(io)),u=0,o=n.length;u<o;u++)t=n[u],f=t.querySelector(cr),f.checked||f.hasAttribute("checked")?t.classList.add(l):t.classList.remove(l);for(n=[].slice.call(document.querySelectorAll(to)),i=0,e=n.length;i<e;i++)r=n[i],r.getAttribute("aria-pressed")==="true"?r.classList.add(l):r.classList.remove(l)});t.fn[ct]=lt._jQueryInterface;t.fn[ct].Constructor=lt;t.fn[ct].noConflict=function(){return t.fn[ct]=ke,lt._jQueryInterface};var tt="carousel",oo="4.5.2",at="bs.carousel",f="."+at,ou=".data-api",so=t.fn[tt],ho=37,co=39,lo=500,ao=40,lr={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},vo={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},pi="next",wi="prev",yo="left",po="right",wo="slide"+f,su="slid"+f,bo="keydown"+f,ko="mouseenter"+f,go="mouseleave"+f,ns="touchstart"+f,ts="touchmove"+f,is="touchend"+f,rs="pointerdown"+f,us="pointerup"+f,fs="dragstart"+f,es="load"+f+ou,os="click"+f+ou,ss="carousel",y="active",hs="slide",cs="carousel-item-right",ls="carousel-item-left",as="carousel-item-next",vs="carousel-item-prev",ys="pointer-event",ps=".active",ar=".active.carousel-item",ws=".carousel-item",bs=".carousel-item img",ks=".carousel-item-next, .carousel-item-prev",ds=".carousel-indicators",gs='[data-ride="carousel"]',hu={TOUCH:"touch",PEN:"pen"},it=function(){function i(n,t){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this.touchStartX=0;this.touchDeltaX=0;this._config=this._getConfig(t);this._element=n;this._indicatorsElement=this._element.querySelector(ds);this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=i.prototype;return n.next=function(){this._isSliding||this._slide(pi)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&t(this._element).css("visibility")!=="hidden"&&this.next()},n.prev=function(){this._isSliding||this._slide(wi)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(ks)&&(r.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},n.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(n){var u=this,i,r;if(this._activeElement=this._element.querySelector(ar),i=this._getItemIndex(this._activeElement),!(n>this._items.length-1)&&!(n<0)){if(this._isSliding){t(this._element).one(su,function(){return u.to(n)});return}if(i===n){this.pause();this.cycle();return}r=n>i?pi:wi;this._slide(r,this._items[n])}},n.dispose=function(){t(this._element).off(f);t.removeData(this._element,at);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},n._getConfig=function(n){return n=u({},lr,n),r.typeCheckConfig(tt,n,vo),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=ao||(n=t/this.touchDeltaX,this.touchDeltaX=0,n>0&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;if(this._config.keyboard)t(this._element).on(bo,function(t){return n._keydown(t)});if(this._config.pause==="hover")t(this._element).on(ko,function(t){return n.pause(t)}).on(go,function(t){return n.cycle(t)});this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var i=function(t){n._pointerEvent&&hu[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},u=function(t){n.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-n.touchStartX},r=function(t){n._pointerEvent&&hu[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();n._config.pause==="hover"&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},lo+n._config.interval))};t(this._element.querySelectorAll(bs)).on(fs,function(n){return n.preventDefault()});if(this._pointerEvent){t(this._element).on(rs,function(n){return i(n)});t(this._element).on(us,function(n){return r(n)});this._element.classList.add(ys)}else{t(this._element).on(ns,function(n){return i(n)});t(this._element).on(ts,function(n){return u(n)});t(this._element).on(is,function(n){return r(n)})}}},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case ho:n.preventDefault();this.prev();break;case co:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(ws)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var f=n===pi,e=n===wi,i=this._getItemIndex(t),o=this._items.length-1,s=e&&i===0||f&&i===o,u,r;return s&&!this._config.wrap?t:(u=n===wi?-1:1,r=(i+u)%this._items.length,r===-1?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,i){var u=this._getItemIndex(n),f=this._getItemIndex(this._element.querySelector(ar)),r=t.Event(wo,{relatedTarget:n,direction:i,from:f,to:u});return t(this._element).trigger(r),r},n._setActiveIndicatorElement=function(n){var r,i;this._indicatorsElement&&(r=[].slice.call(this._indicatorsElement.querySelectorAll(ps)),t(r).removeClass(y),i=this._indicatorsElement.children[this._getItemIndex(n)],i&&t(i).addClass(y))},n._slide=function(n,i){var l=this,f=this._element.querySelector(ar),w=this._getItemIndex(f),u=i||f&&this._getItemByDirection(n,f),b=this._getItemIndex(u),a=Boolean(this._interval),e,o,s,v,h,c,p;if(n===pi?(e=ls,o=as,s=yo):(e=cs,o=vs,s=po),u&&t(u).hasClass(y)){this._isSliding=!1;return}(v=this._triggerSlideEvent(u,s),v.isDefaultPrevented())||f&&u&&(this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(u),h=t.Event(su,{relatedTarget:u,direction:s,from:w,to:b}),t(this._element).hasClass(hs)?(t(u).addClass(o),r.reflow(u),t(f).addClass(e),t(u).addClass(e),c=parseInt(u.getAttribute("data-interval"),10),c?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=c):this._config.interval=this._config.defaultInterval||this._config.interval,p=r.getTransitionDurationFromElement(f),t(f).one(r.TRANSITION_END,function(){t(u).removeClass(e+" "+o).addClass(y);t(f).removeClass(y+" "+o+" "+e);l._isSliding=!1;setTimeout(function(){return t(l._element).trigger(h)},0)}).emulateTransitionEnd(p)):(t(f).removeClass(y),t(u).addClass(y),this._isSliding=!1,t(this._element).trigger(h)),a&&this.cycle())},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(at),f=u({},lr,t(this).data()),e;if(typeof n=="object"&&(f=u({},f,n)),e=typeof n=="string"?n:f.slide,r||(r=new i(this,f),t(this).data(at,r)),typeof n=="number")r.to(n);else if(typeof e=="string"){if(typeof r[e]=="undefined")throw new TypeError('No method named "'+e+'"');r[e]()}else f.interval&&f.ride&&(r.pause(),r.cycle())})},i._dataApiClickHandler=function(n){var s=r.getSelectorFromElement(this),f,o,e;s&&(f=t(s)[0],f&&t(f).hasClass(ss))&&(o=u({},t(f).data(),t(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),i._jQueryInterface.call(t(f),o),e&&t(f).data(at).to(e),n.preventDefault())},o(i,null,[{key:"VERSION",get:function(){return oo}},{key:"Default",get:function(){return lr}}]),i}();t(document).on(os,"[data-slide], [data-slide-to]",it._dataApiClickHandler);t(window).on(es,function(){for(var i,r=[].slice.call(document.querySelectorAll(gs)),n=0,u=r.length;n<u;n++)i=t(r[n]),it._jQueryInterface.call(i,i.data())});t.fn[tt]=it._jQueryInterface;t.fn[tt].Constructor=it;t.fn[tt].noConflict=function(){return t.fn[tt]=so,it._jQueryInterface};var rt="collapse",nh="4.5.2",p="bs.collapse",vt="."+p,th=t.fn[rt],vr={toggle:!0,parent:""},ih={toggle:"boolean",parent:"(string|element)"},rh="show"+vt,uh="shown"+vt,fh="hide"+vt,eh="hidden"+vt,oh="click"+vt+".data-api",w="show",yt="collapse",bi="collapsing",yr="collapsed",cu="width",sh="height",hh=".show, .collapsing",lu='[data-toggle="collapse"]',pt=function(){function i(n,t){var u,i,e;for(this._isTransitioning=!1,this._element=n,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+n.id+'"],'+('[data-toggle="collapse"][data-target="#'+n.id+'"]'))),u=[].slice.call(document.querySelectorAll(lu)),i=0,e=u.length;i<e;i++){var o=u[i],f=r.getSelectorFromElement(o),s=[].slice.call(document.querySelectorAll(f)).filter(function(t){return t===n});f!==null&&s.length>0&&(this._selector=f,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=i.prototype;return n.toggle=function(){t(this._element).hasClass(w)?this.hide():this.show()},n.show=function(){var u=this,n,e,o,f;if(!this._isTransitioning&&!t(this._element).hasClass(w)&&(this._parent&&(n=[].slice.call(this._parent.querySelectorAll(hh)).filter(function(n){return typeof u._config.parent=="string"?n.getAttribute("data-parent")===u._config.parent:n.classList.contains(yt)}),n.length===0&&(n=null)),!n||(e=t(n).not(this._selector).data(p),!e||!e._isTransitioning))&&(o=t.Event(rh),t(this._element).trigger(o),!o.isDefaultPrevented())){n&&(i._jQueryInterface.call(t(n).not(this._selector),"hide"),e||t(n).data(p,null));f=this._getDimension();t(this._element).removeClass(yt).addClass(bi);this._element.style[f]=0;this._triggerArray.length&&t(this._triggerArray).removeClass(yr).attr("aria-expanded",!0);this.setTransitioning(!0);var s=function(){t(u._element).removeClass(bi).addClass(yt+" "+w);u._element.style[f]="";u.setTransitioning(!1);t(u._element).trigger(uh)},h=f[0].toUpperCase()+f.slice(1),c="scroll"+h,l=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,s).emulateTransitionEnd(l);this._element.style[f]=this._element[c]+"px"}},n.hide=function(){var s=this,u,n,f,i,e,o,h,c,l;if(!this._isTransitioning&&t(this._element).hasClass(w)&&(u=t.Event(fh),t(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",r.reflow(this._element),t(this._element).addClass(bi).removeClass(yt+" "+w),f=this._triggerArray.length,f>0)for(i=0;i<f;i++)e=this._triggerArray[i],o=r.getSelectorFromElement(e),o!==null&&(h=t([].slice.call(document.querySelectorAll(o))),h.hasClass(w)||t(e).addClass(yr).attr("aria-expanded",!1));this.setTransitioning(!0);c=function(){s.setTransitioning(!1);t(s._element).removeClass(bi).addClass(yt).trigger(eh)};this._element.style[n]="";l=r.getTransitionDurationFromElement(this._element);t(this._element).one(r.TRANSITION_END,c).emulateTransitionEnd(l)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){t.removeData(this._element,p);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return n=u({},vr,n),n.toggle=Boolean(n.toggle),r.typeCheckConfig(rt,n,ih),n},n._getDimension=function(){var n=t(this._element).hasClass(cu);return n?cu:sh},n._getParent=function(){var e=this,n,u,f;return r.isElement(this._config.parent)?(n=this._config.parent,typeof this._config.parent.jquery!="undefined"&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent),u='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',f=[].slice.call(n.querySelectorAll(u)),t(f).each(function(n,t){e._addAriaAndCollapsedClass(i._getTargetFromElement(t),[t])}),n},n._addAriaAndCollapsedClass=function(n,i){var r=t(n).hasClass(w);i.length&&t(i).toggleClass(yr,!r).attr("aria-expanded",r)},i._getTargetFromElement=function(n){var t=r.getSelectorFromElement(n);return t?document.querySelector(t):null},i._jQueryInterface=function(n){return this.each(function(){var f=t(this),r=f.data(p),e=u({},vr,f.data(),typeof n=="object"&&n?n:{});if(!r&&e.toggle&&typeof n=="string"&&/show|hide/.test(n)&&(e.toggle=!1),r||(r=new i(this,e),f.data(p,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},o(i,null,[{key:"VERSION",get:function(){return nh}},{key:"Default",get:function(){return vr}}]),i}();t(document).on(oh,lu,function(n){n.currentTarget.tagName==="A"&&n.preventDefault();var i=t(this),u=r.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));t(f).each(function(){var n=t(this),r=n.data(p),u=r?"toggle":i.data();pt._jQueryInterface.call(n,u)})});t.fn[rt]=pt._jQueryInterface;t.fn[rt].Constructor=pt;t.fn[rt].noConflict=function(){return t.fn[rt]=th,pt._jQueryInterface};var ut="dropdown",ch="4.5.2",wt="bs.dropdown",a="."+wt,pr=".data-api",lh=t.fn[ut],bt=27,au=32,vu=9,wr=38,br=40,ah=3,vh=new RegExp(wr+"|"+br+"|"+bt),yu="hide"+a,pu="hidden"+a,yh="show"+a,ph="shown"+a,wh="click"+a,kr="click"+a+pr,wu="keydown"+a+pr,bh="keyup"+a+pr,ki="disabled",s="show",kh="dropup",dh="dropright",gh="dropleft",bu="dropdown-menu-right",nc="position-static",di='[data-toggle="dropdown"]',dr=".dropdown-menu",tc=".navbar-nav",ic=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",rc="top-start",uc="top-end",fc="bottom-start",ec="bottom-end",oc="right-start",sc="left-start",hc={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},cc={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},v=function(){function n(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var f=n.prototype;return f.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(ki)){var i=t(this._menu).hasClass(s);(n._clearMenus(),i)||this.show(!0)}},f.show=function(u){var e;if(u===void 0&&(u=!1),!this._element.disabled&&!t(this._element).hasClass(ki)&&!t(this._menu).hasClass(s)){var o={relatedTarget:this._element},h=t.Event(yh,o),f=n._getParentFromElement(this._element);if(t(f).trigger(h),!h.isDefaultPrevented()){if(!this._inNavbar&&u){if(typeof i=="undefined")throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");e=this._element;this._config.reference==="parent"?e=f:r.isElement(this._config.reference)&&(e=this._config.reference,typeof this._config.reference.jquery!="undefined"&&(e=this._config.reference[0]));this._config.boundary!=="scrollParent"&&t(f).addClass(nc);this._popper=new i(e,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&t(f).closest(tc).length===0)t(document.body).children().on("mouseover",null,t.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);t(this._menu).toggleClass(s);t(f).toggleClass(s).trigger(t.Event(ph,o))}}},f.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(ki)&&t(this._menu).hasClass(s)){var i={relatedTarget:this._element},r=t.Event(yu,i),u=n._getParentFromElement(this._element);(t(u).trigger(r),r.isDefaultPrevented())||(this._popper&&this._popper.destroy(),t(this._menu).toggleClass(s),t(u).toggleClass(s).trigger(t.Event(pu,i)))}},f.dispose=function(){t.removeData(this._element,wt);t(this._element).off(a);this._element=null;this._menu=null;this._popper!==null&&(this._popper.destroy(),this._popper=null)},f.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},f._addEventListeners=function(){var n=this;t(this._element).on(wh,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},f._getConfig=function(n){return n=u({},this.constructor.Default,t(this._element).data(),n),r.typeCheckConfig(ut,n,this.constructor.DefaultType),n},f._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(dr))}return this._menu},f._getPlacement=function(){var i=t(this._element.parentNode),n=fc;return i.hasClass(kh)?n=t(this._menu).hasClass(bu)?uc:rc:i.hasClass(dh)?n=oc:i.hasClass(gh)?n=sc:t(this._menu).hasClass(bu)&&(n=ec),n},f._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},f._getOffset=function(){var t=this,n={};return typeof this._config.offset=="function"?n.fn=function(n){return n.offsets=u({},n.offsets,t._config.offset(n.offsets,t._element)||{}),n}:n.offset=this._config.offset,n},f._getPopperConfig=function(){var n={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return this._config.display==="static"&&(n.modifiers.applyStyle={enabled:!1}),u({},n,this._config.popperConfig)},n._jQueryInterface=function(i){return this.each(function(){var r=t(this).data(wt),u=typeof i=="object"?i:null;if(r||(r=new n(this,u),t(this).data(wt,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},n._clearMenus=function(i){var u,r,c,l,h;if(!i||i.which!==ah&&(i.type!=="keyup"||i.which===vu))for(u=[].slice.call(document.querySelectorAll(di)),r=0,c=u.length;r<c;r++){var f=n._getParentFromElement(u[r]),e=t(u[r]).data(wt),o={relatedTarget:u[r]};(i&&i.type==="click"&&(o.clickEvent=i),e)&&(l=e._menu,t(f).hasClass(s))&&(i&&(i.type==="click"&&/input|textarea/i.test(i.target.tagName)||i.type==="keyup"&&i.which===vu)&&t.contains(f,i.target)||(h=t.Event(yu,o),t(f).trigger(h),h.isDefaultPrevented())||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),u[r].setAttribute("aria-expanded","false"),e._popper&&e._popper.destroy(),t(l).removeClass(s),t(f).removeClass(s).trigger(t.Event(pu,o))))}},n._getParentFromElement=function(n){var t,i=r.getSelectorFromElement(n);return i&&(t=document.querySelector(i)),t||n.parentNode},n._dataApiKeydownHandler=function(i){var f,e,u,r;if((/input|textarea/i.test(i.target.tagName)?i.which!==au&&(i.which===bt||(i.which===br||i.which===wr)&&!t(i.target).closest(dr).length):vh.test(i.which))&&!this.disabled&&!t(this).hasClass(ki)&&(f=n._getParentFromElement(this),e=t(f).hasClass(s),e||i.which!==bt)){if(i.preventDefault(),i.stopPropagation(),!e||e&&(i.which===bt||i.which===au)){i.which===bt&&t(f.querySelector(di)).trigger("focus");t(this).trigger("click");return}(u=[].slice.call(f.querySelectorAll(ic)).filter(function(n){return t(n).is(":visible")}),u.length!==0)&&(r=u.indexOf(i.target),i.which===wr&&r>0&&r--,i.which===br&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())}},o(n,null,[{key:"VERSION",get:function(){return ch}},{key:"Default",get:function(){return hc}},{key:"DefaultType",get:function(){return cc}}]),n}();t(document).on(wu,di,v._dataApiKeydownHandler).on(wu,dr,v._dataApiKeydownHandler).on(kr+" "+bh,v._clearMenus).on(kr,di,function(n){n.preventDefault();n.stopPropagation();v._jQueryInterface.call(t(this),"toggle")}).on(kr,".dropdown form",function(n){n.stopPropagation()});t.fn[ut]=v._jQueryInterface;t.fn[ut].Constructor=v;t.fn[ut].noConflict=function(){return t.fn[ut]=lh,v._jQueryInterface};var ft="modal",lc="4.5.2",kt="bs.modal",e="."+kt,ac=t.fn[ft],ku=27,gr={backdrop:!0,keyboard:!0,focus:!0,show:!0},vc={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},yc="hide"+e,pc="hidePrevented"+e,du="hidden"+e,gu="show"+e,wc="shown"+e,gi="focusin"+e,nf="resize"+e,nu="click.dismiss"+e,tf="keydown.dismiss"+e,bc="mouseup.dismiss"+e,rf="mousedown.dismiss"+e,kc="click"+e+".data-api",dc="modal-dialog-scrollable",gc="modal-scrollbar-measure",nl="modal-backdrop",uf="modal-open",et="fade",nr="show",ff="modal-static",tl=".modal-dialog",il=".modal-body",rl='[data-dismiss="modal"]',ef=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",of=".sticky-top",dt=function(){function i(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(tl);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=i.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var i=this,r;if(!this._isShown&&!this._isTransitioning&&(t(this._element).hasClass(et)&&(this._isTransitioning=!0),r=t.Event(gu,{relatedTarget:n}),t(this._element).trigger(r),!this._isShown&&!r.isDefaultPrevented())){this._isShown=!0;this._checkScrollbar();this._setScrollbar();this._adjustDialog();this._setEscapeEvent();this._setResizeEvent();t(this._element).on(nu,rl,function(n){return i.hide(n)});t(this._dialog).on(rf,function(){t(i._element).one(bc,function(n){t(n.target).is(i._element)&&(i._ignoreBackdropClick=!0)})});this._showBackdrop(function(){return i._showElement(n)})}},n.hide=function(n){var e=this,i,u,f;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(i=t.Event(yc),t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented())&&(this._isShown=!1,u=t(this._element).hasClass(et),u&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(gi),t(this._element).removeClass(nr),t(this._element).off(nu),t(this._dialog).off(rf),u?(f=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,function(n){return e._hideModal(n)}).emulateTransitionEnd(f)):this._hideModal())},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return t(n).off(e)});t(document).off(gi);t.removeData(this._element,kt);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._isTransitioning=null;this._scrollbarWidth=null},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(n){return n=u({},gr,n),r.typeCheckConfig(ft,n,vc),n},n._triggerBackdropTransition=function(){var n=this,i,u,f;if(this._config.backdrop==="static"){if(i=t.Event(pc),t(this._element).trigger(i),i.defaultPrevented)return;u=this._element.scrollHeight>document.documentElement.clientHeight;u||(this._element.style.overflowY="hidden");this._element.classList.add(ff);f=r.getTransitionDurationFromElement(this._dialog);t(this._element).off(r.TRANSITION_END);t(this._element).one(r.TRANSITION_END,function(){n._element.classList.remove(ff);u||t(n._element).one(r.TRANSITION_END,function(){n._element.style.overflowY=""}).emulateTransitionEnd(n._element,f)}).emulateTransitionEnd(f);this._element.focus()}else this.hide()},n._showElement=function(n){var i=this,f=t(this._element).hasClass(et),e=this._dialog?this._dialog.querySelector(il):null,o,u,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.setAttribute("aria-modal",!0);this._element.setAttribute("role","dialog");t(this._dialog).hasClass(dc)&&e?e.scrollTop=0:this._element.scrollTop=0;f&&r.reflow(this._element);t(this._element).addClass(nr);this._config.focus&&this._enforceFocus();o=t.Event(wc,{relatedTarget:n});u=function(){i._config.focus&&i._element.focus();i._isTransitioning=!1;t(i._element).trigger(o)};f?(s=r.getTransitionDurationFromElement(this._dialog),t(this._dialog).one(r.TRANSITION_END,u).emulateTransitionEnd(s)):u()},n._enforceFocus=function(){var n=this;t(document).off(gi).on(gi,function(i){document!==i.target&&n._element!==i.target&&t(n._element).has(i.target).length===0&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;if(this._isShown)t(this._element).on(tf,function(t){n._config.keyboard&&t.which===ku?(t.preventDefault(),n.hide()):n._config.keyboard||t.which!==ku||n._triggerBackdropTransition()});else this._isShown||t(this._element).off(tf)},n._setResizeEvent=function(){var n=this;if(this._isShown)t(window).on(nf,function(t){return n.handleUpdate(t)});else t(window).off(nf)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._element.removeAttribute("aria-modal");this._element.removeAttribute("role");this._isTransitioning=!1;this._showBackdrop(function(){t(document.body).removeClass(uf);n._resetAdjustments();n._resetScrollbar();t(n._element).trigger(du)})},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var i=this,u=t(this._element).hasClass(et)?et:"",e,f,o;if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=nl;u&&this._backdrop.classList.add(u);t(this._backdrop).appendTo(document.body);t(this._element).on(nu,function(n){if(i._ignoreBackdropClick){i._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&i._triggerBackdropTransition()});if(u&&r.reflow(this._backdrop),t(this._backdrop).addClass(nr),!n)return;if(!u){n();return}e=r.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(r.TRANSITION_END,n).emulateTransitionEnd(e)}else!this._isShown&&this._backdrop?(t(this._backdrop).removeClass(nr),f=function(){i._removeBackdrop();n&&n()},t(this._element).hasClass(et)?(o=r.getTransitionDurationFromElement(this._backdrop),t(this._backdrop).one(r.TRANSITION_END,f).emulateTransitionEnd(o)):f()):n&&n()},n._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},n._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(n.left+n.right)<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,i,r,u,f;this._isBodyOverflowing&&(i=[].slice.call(document.querySelectorAll(ef)),r=[].slice.call(document.querySelectorAll(of)),t(i).each(function(i,r){var u=r.style.paddingRight,f=t(r).css("padding-right");t(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),t(r).each(function(i,r){var u=r.style.marginRight,f=t(r).css("margin-right");t(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=t(document.body).css("padding-right"),t(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"));t(document.body).addClass(uf)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(ef)),i,n;t(r).each(function(n,i){var r=t(i).data("padding-right");t(i).removeData("padding-right");i.style.paddingRight=r?r:""});i=[].slice.call(document.querySelectorAll(""+of));t(i).each(function(n,i){var r=t(i).data("margin-right");typeof r!="undefined"&&t(i).css("margin-right",r).removeData("margin-right")});n=t(document.body).data("padding-right");t(document.body).removeData("padding-right");document.body.style.paddingRight=n?n:""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=gc,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},i._jQueryInterface=function(n,r){return this.each(function(){var f=t(this).data(kt),e=u({},gr,t(this).data(),typeof n=="object"&&n?n:{});if(f||(f=new i(this,e),t(this).data(kt,f)),typeof n=="string"){if(typeof f[n]=="undefined")throw new TypeError('No method named "'+n+'"');f[n](r)}else e.show&&f.show(r)})},o(i,null,[{key:"VERSION",get:function(){return lc}},{key:"Default",get:function(){return gr}}]),i}();t(document).on(kc,'[data-toggle="modal"]',function(n){var f=this,i,e=r.getSelectorFromElement(this),o,s;e&&(i=document.querySelector(e));o=t(i).data(kt)?"toggle":u({},t(i).data(),t(this).data());(this.tagName==="A"||this.tagName==="AREA")&&n.preventDefault();s=t(i).one(gu,function(n){if(!n.isDefaultPrevented())s.one(du,function(){t(f).is(":visible")&&f.focus()})});dt._jQueryInterface.call(t(i),o,this)});t.fn[ft]=dt._jQueryInterface;t.fn[ft].Constructor=dt;t.fn[ft].noConflict=function(){return t.fn[ft]=ac,dt._jQueryInterface};var ul=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],fl=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,el=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;var b="tooltip",sl="4.5.2",tr="bs.tooltip",h="."+tr,hl=t.fn[b],hf="bs-tooltip",cl=new RegExp("(^|\\s)"+hf+"\\S+","g"),ll=["sanitize","whiteList","sanitizeFn"],al={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},vl={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},yl={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},gt="show",tu="out",pl={HIDE:"hide"+h,HIDDEN:"hidden"+h,SHOW:"show"+h,SHOWN:"shown"+h,INSERTED:"inserted"+h,CLICK:"click"+h,FOCUSIN:"focusin"+h,FOCUSOUT:"focusout"+h,MOUSEENTER:"mouseenter"+h,MOUSELEAVE:"mouseleave"+h},ni="fade",ti="show",wl=".tooltip-inner",bl=".arrow",ii="hover",iu="focus",kl="click",dl="manual",k=function(){function f(n,t){if(typeof i=="undefined")throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var n=f.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(n){if(this._isEnabled)if(n){var r=this.constructor.DATA_KEY,i=t(n.currentTarget).data(r);i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(ti)){this._leave(null,this);return}this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);t.removeData(this.element,this.constructor.DATA_KEY);t(this.element).off(this.constructor.EVENT_KEY);t(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler);this.tip&&t(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},n.show=function(){var n=this,f,e,c,u,o,l,s,a,h,v;if(t(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(f=t.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(t(this.element).trigger(f),e=r.findShadowRoot(this.element),c=t.contains(e!==null?e:this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!c)return;if(u=this.getTipElement(),o=r.getUID(this.constructor.NAME),u.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&t(u).addClass(ni),l=typeof this.config.placement=="function"?this.config.placement.call(this,u,this.element):this.config.placement,s=this._getAttachment(l),this.addAttachmentClass(s),a=this._getContainer(),t(u).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(u).appendTo(a),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i(this.element,u,this._getPopperConfig(s)),t(u).addClass(ti),"ontouchstart"in document.documentElement)t(document.body).children().on("mouseover",null,t.noop);h=function(){n.config.animation&&n._fixTransition();var i=n._hoverState;n._hoverState=null;t(n.element).trigger(n.constructor.Event.SHOWN);i===tu&&n._leave(null,n)};t(this.tip).hasClass(ni)?(v=r.getTransitionDurationFromElement(this.tip),t(this.tip).one(r.TRANSITION_END,h).emulateTransitionEnd(v)):h()}},n.hide=function(n){var i=this,u=this.getTipElement(),f=t.Event(this.constructor.Event.HIDE),e=function(){i._hoverState!==gt&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");t(i.element).trigger(i.constructor.Event.HIDDEN);i._popper!==null&&i._popper.destroy();n&&n()},o;(t(this.element).trigger(f),f.isDefaultPrevented())||(t(u).removeClass(ti),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[kl]=!1,this._activeTrigger[iu]=!1,this._activeTrigger[ii]=!1,t(this.tip).hasClass(ni)?(o=r.getTransitionDurationFromElement(u),t(u).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){t(this.getTipElement()).addClass(hf+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(t(n.querySelectorAll(wl)),this.getTitle());t(n).removeClass(ni+" "+ti)},n.setElementContent=function(n,i){if(typeof i=="object"&&(i.nodeType||i.jquery)){this.config.html?t(i).parent().is(n)||n.empty().append(i):n.text(t(i).text());return}this.config.html?(this.config.sanitize&&(i=sf(i,this.config.whiteList,this.config.sanitizeFn)),n.html(i)):n.text(i)},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),n},n._getPopperConfig=function(n){var t=this,i={placement:n,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:bl},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){return t._handlePopperPlacementChange(n)}};return u({},i,this.config.popperConfig)},n._getOffset=function(){var t=this,n={};return typeof this.config.offset=="function"?n.fn=function(n){return n.offsets=u({},n.offsets,t.config.offset(n.offsets,t.element)||{}),n}:n.offset=this.config.offset,n},n._getContainer=function(){return this.config.container===!1?document.body:r.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(n){return vl[n.toUpperCase()]},n._setListeners=function(){var n=this,i=this.config.trigger.split(" ");i.forEach(function(i){if(i==="click")t(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(i!==dl){var r=i===ii?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=i===ii?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;t(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}});this._hideModalHandler=function(){n.element&&n.hide()};t(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler);this.config.selector?this.config=u({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||n!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusin"?iu:ii]=!0),t(i.getTipElement()).hasClass(ti)||i._hoverState===gt){i._hoverState=gt;return}if(clearTimeout(i._timeout),i._hoverState=gt,!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){i._hoverState===gt&&i.show()},i.config.delay.show)},n._leave=function(n,i){var r=this.constructor.DATA_KEY;if(i=i||t(n.currentTarget).data(r),i||(i=new this.constructor(n.currentTarget,this._getDelegateConfig()),t(n.currentTarget).data(r,i)),n&&(i._activeTrigger[n.type==="focusout"?iu:ii]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=tu,!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){i._hoverState===tu&&i.hide()},i.config.delay.hide)}},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){var i=t(this.element).data();return Object.keys(i).forEach(function(n){ll.indexOf(n)!==-1&&delete i[n]}),n=u({},this.constructor.Default,i,typeof n=="object"&&n?n:{}),typeof n.delay=="number"&&(n.delay={show:n.delay,hide:n.delay}),typeof n.title=="number"&&(n.title=n.title.toString()),typeof n.content=="number"&&(n.content=n.content.toString()),r.typeCheckConfig(b,n,this.constructor.DefaultType),n.sanitize&&(n.template=sf(n.template,n.whiteList,n.sanitizeFn)),n},n._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},n._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(cl);n!==null&&n.length&&i.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){this.tip=n.instance.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),i=this.config.animation;n.getAttribute("x-placement")===null&&(t(n).removeClass(ni),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},f._jQueryInterface=function(n){return this.each(function(){var i=t(this).data(tr),r=typeof n=="object"&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new f(this,r),t(this).data(tr,i)),typeof n=="string")){if(typeof i[n]=="undefined")throw new TypeError('No method named "'+n+'"');i[n]()}})},o(f,null,[{key:"VERSION",get:function(){return sl}},{key:"Default",get:function(){return yl}},{key:"NAME",get:function(){return b}},{key:"DATA_KEY",get:function(){return tr}},{key:"Event",get:function(){return pl}},{key:"EVENT_KEY",get:function(){return h}},{key:"DefaultType",get:function(){return al}}]),f}();t.fn[b]=k._jQueryInterface;t.fn[b].Constructor=k;t.fn[b].noConflict=function(){return t.fn[b]=hl,k._jQueryInterface};var ot="popover",gl="4.5.2",ir="bs.popover",c="."+ir,na=t.fn[ot],cf="bs-popover",ta=new RegExp("(^|\\s)"+cf+"\\S+","g"),ia=u({},k.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),ra=u({},k.DefaultType,{content:"(string|element|function)"}),ua="fade",fa="show",ea=".popover-header",oa=".popover-body",sa={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,INSERTED:"inserted"+c,CLICK:"click"+c,FOCUSIN:"focusin"+c,FOCUSOUT:"focusout"+c,MOUSEENTER:"mouseenter"+c,MOUSELEAVE:"mouseleave"+c},rr=function(n){function i(){return n.apply(this,arguments)||this}ie(i,n);var r=i.prototype;return r.isWithContent=function(){return this.getTitle()||this._getContent()},r.addAttachmentClass=function(n){t(this.getTipElement()).addClass(cf+"-"+n)},r.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},r.setContent=function(){var i=t(this.getTipElement()),n;this.setElementContent(i.find(ea),this.getTitle());n=this._getContent();typeof n=="function"&&(n=n.call(this.element));this.setElementContent(i.find(oa),n);i.removeClass(ua+" "+fa)},r._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},r._cleanTipClass=function(){var i=t(this.getTipElement()),n=i.attr("class").match(ta);n!==null&&n.length>0&&i.removeClass(n.join(""))},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(ir),u=typeof n=="object"?n:null;if((r||!/dispose|hide/.test(n))&&(r||(r=new i(this,u),t(this).data(ir,r)),typeof n=="string")){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},o(i,null,[{key:"VERSION",get:function(){return gl}},{key:"Default",get:function(){return ia}},{key:"NAME",get:function(){return ot}},{key:"DATA_KEY",get:function(){return ir}},{key:"Event",get:function(){return sa}},{key:"EVENT_KEY",get:function(){return c}},{key:"DefaultType",get:function(){return ra}}]),i}(k);t.fn[ot]=rr._jQueryInterface;t.fn[ot].Constructor=rr;t.fn[ot].noConflict=function(){return t.fn[ot]=na,rr._jQueryInterface};var d="scrollspy",ha="4.5.2",ur="bs.scrollspy",fr="."+ur,ca=t.fn[d],lf={offset:10,method:"auto",target:""},la={offset:"number",method:"string",target:"(string|element)"},aa="activate"+fr,va="scroll"+fr,ya="load"+fr+".data-api",pa="dropdown-item",g="active",wa='[data-spy="scroll"]',af=".nav, .list-group",ru=".nav-link",ba=".nav-item",vf=".list-group-item",ka=".dropdown",da=".dropdown-item",ga=".dropdown-toggle",nv="offset",yf="position",ri=function(){function i(n,i){var r=this;this._element=n;this._scrollElement=n.tagName==="BODY"?window:n;this._config=this._getConfig(i);this._selector=this._config.target+" "+ru+","+(this._config.target+" "+vf+",")+(this._config.target+" "+da);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;t(this._scrollElement).on(va,function(n){return r._process(n)});this.refresh();this._process()}var n=i.prototype;return n.refresh=function(){var n=this,f=this._scrollElement===this._scrollElement.window?nv:yf,i=this._config.method==="auto"?f:this._config.method,e=i===yf?this._getScrollTop():0,u;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();u=[].slice.call(document.querySelectorAll(this._selector));u.map(function(n){var u,f=r.getSelectorFromElement(n),o;return(f&&(u=document.querySelector(f)),u&&(o=u.getBoundingClientRect(),o.width||o.height))?[t(u)[i]().top+e,f]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}).forEach(function(t){n._offsets.push(t[0]);n._targets.push(t[1])})},n.dispose=function(){t.removeData(this._element,ur);t(this._scrollElement).off(fr);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},n._getConfig=function(n){if(n=u({},lf,typeof n=="object"&&n?n:{}),typeof n.target!="string"&&r.isElement(n.target)){var i=t(n.target).attr("id");i||(i=r.getUID(d),t(n.target).attr("id",i));n.target="#"+i}return r.typeCheckConfig(d,n,la),n},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),f=this._config.offset+r-this._getOffsetHeight(),i,n,u;if(this._scrollHeight!==r&&this.refresh(),t>=f){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(n=this._offsets.length;n--;)u=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(typeof this._offsets[n+1]=="undefined"||t<this._offsets[n+1]),u&&this._activate(this._targets[n])},n._activate=function(n){this._activeTarget=n;this._clear();var r=this._selector.split(",").map(function(t){return t+'[data-target="'+n+'"],'+t+'[href="'+n+'"]'}),i=t([].slice.call(document.querySelectorAll(r.join(","))));i.hasClass(pa)?(i.closest(ka).find(ga).addClass(g),i.addClass(g)):(i.addClass(g),i.parents(af).prev(ru+", "+vf).addClass(g),i.parents(af).prev(ba).children(ru).addClass(g));t(this._scrollElement).trigger(aa,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(g)}).forEach(function(n){return n.classList.remove(g)})},i._jQueryInterface=function(n){return this.each(function(){var r=t(this).data(ur),u=typeof n=="object"&&n;if(r||(r=new i(this,u),t(this).data(ur,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n]()}})},o(i,null,[{key:"VERSION",get:function(){return ha}},{key:"Default",get:function(){return lf}}]),i}();t(window).on(ya,function(){for(var n,i=[].slice.call(document.querySelectorAll(wa)),u=i.length,r=u;r--;)n=t(i[r]),ri._jQueryInterface.call(n,n.data())});t.fn[d]=ri._jQueryInterface;t.fn[d].Constructor=ri;t.fn[d].noConflict=function(){return t.fn[d]=ca,ri._jQueryInterface};var ui="tab",tv="4.5.2",er="bs.tab",fi="."+er,iv=t.fn[ui],rv="hide"+fi,uv="hidden"+fi,fv="show"+fi,ev="shown"+fi,ov="click"+fi+".data-api",sv="dropdown-menu",ei="active",hv="disabled",pf="fade",wf="show",cv=".dropdown",lv=".nav, .list-group",bf=".active",kf="> li > .active",av=".dropdown-toggle",vv="> .dropdown-menu .active",oi=function(){function n(n){this._element=n}var i=n.prototype;return i.show=function(){var h=this,u,n,i,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(ei)||t(this._element).hasClass(hv)||(i=t(this._element).closest(lv)[0],f=r.getSelectorFromElement(this._element),i&&(c=i.nodeName==="UL"||i.nodeName==="OL"?kf:bf,n=t.makeArray(t(i).find(c)),n=n[n.length-1]),e=t.Event(rv,{relatedTarget:this._element}),o=t.Event(fv,{relatedTarget:n}),n&&t(n).trigger(e),t(this._element).trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(f&&(u=document.querySelector(f)),this._activate(this._element,i),s=function(){var i=t.Event(uv,{relatedTarget:h._element}),r=t.Event(ev,{relatedTarget:n});t(n).trigger(i);t(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s())},i.dispose=function(){t.removeData(this._element,er);this._element=null},i._activate=function(n,i,u){var s=this,h=i&&(i.nodeName==="UL"||i.nodeName==="OL")?t(i).find(kf):t(i).children(bf),f=h[0],c=u&&f&&t(f).hasClass(pf),e=function(){return s._transitionComplete(n,f,u)},o;f&&c?(o=r.getTransitionDurationFromElement(f),t(f).removeClass(wf).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e()},i._transitionComplete=function(n,i,u){var f,e,o;i&&(t(i).removeClass(ei),f=t(i.parentNode).find(vv)[0],f&&t(f).removeClass(ei),i.getAttribute("role")==="tab"&&i.setAttribute("aria-selected",!1));t(n).addClass(ei);n.getAttribute("role")==="tab"&&n.setAttribute("aria-selected",!0);r.reflow(n);n.classList.contains(pf)&&n.classList.add(wf);n.parentNode&&t(n.parentNode).hasClass(sv)&&(e=t(n).closest(cv)[0],e&&(o=[].slice.call(e.querySelectorAll(av)),t(o).addClass(ei)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(i){return this.each(function(){var u=t(this),r=u.data(er);if(r||(r=new n(this),u.data(er,r)),typeof i=="string"){if(typeof r[i]=="undefined")throw new TypeError('No method named "'+i+'"');r[i]()}})},o(n,null,[{key:"VERSION",get:function(){return tv}}]),n}();t(document).on(ov,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(n){n.preventDefault();oi._jQueryInterface.call(t(this),"show")});t.fn[ui]=oi._jQueryInterface;t.fn[ui].Constructor=oi;t.fn[ui].noConflict=function(){return t.fn[ui]=iv,oi._jQueryInterface};var st="toast",yv="4.5.2",or="bs.toast",si="."+or,pv=t.fn[st],df="click.dismiss"+si,wv="hide"+si,bv="hidden"+si,kv="show"+si,dv="shown"+si,gv="fade",gf="hide",hi="show",ne="showing",ny={animation:"boolean",autohide:"boolean",delay:"number"},te={animation:!0,autohide:!0,delay:500},ty='[data-dismiss="toast"]',sr=function(){function i(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=i.prototype;return n.show=function(){var n=this,u=t.Event(kv),i,f;(t(this._element).trigger(u),u.isDefaultPrevented())||(this._clearTimeout(),this._config.animation&&this._element.classList.add(gv),i=function(){n._element.classList.remove(ne);n._element.classList.add(hi);t(n._element).trigger(dv);n._config.autohide&&(n._timeout=setTimeout(function(){n.hide()},n._config.delay))},this._element.classList.remove(gf),r.reflow(this._element),this._element.classList.add(ne),this._config.animation?(f=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,i).emulateTransitionEnd(f)):i())},n.hide=function(){if(this._element.classList.contains(hi)){var n=t.Event(wv);(t(this._element).trigger(n),n.isDefaultPrevented())||this._close()}},n.dispose=function(){this._clearTimeout();this._element.classList.contains(hi)&&this._element.classList.remove(hi);t(this._element).off(df);t.removeData(this._element,or);this._element=null;this._config=null},n._getConfig=function(n){return n=u({},te,t(this._element).data(),typeof n=="object"&&n?n:{}),r.typeCheckConfig(st,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;t(this._element).on(df,ty,function(){return n.hide()})},n._close=function(){var n=this,i=function(){n._element.classList.add(gf);t(n._element).trigger(bv)},u;this._element.classList.remove(hi);this._config.animation?(u=r.getTransitionDurationFromElement(this._element),t(this._element).one(r.TRANSITION_END,i).emulateTransitionEnd(u)):i()},n._clearTimeout=function(){clearTimeout(this._timeout);this._timeout=null},i._jQueryInterface=function(n){return this.each(function(){var u=t(this),r=u.data(or),f=typeof n=="object"&&n;if(r||(r=new i(this,f),u.data(or,r)),typeof n=="string"){if(typeof r[n]=="undefined")throw new TypeError('No method named "'+n+'"');r[n](this)}})},o(i,null,[{key:"VERSION",get:function(){return yv}},{key:"DefaultType",get:function(){return ny}},{key:"Default",get:function(){return te}}]),i}();t.fn[st]=sr._jQueryInterface;t.fn[st].Constructor=sr;t.fn[st].noConflict=function(){return t.fn[st]=pv,sr._jQueryInterface};n.Alert=nt;n.Button=lt;n.Carousel=it;n.Collapse=pt;n.Dropdown=v;n.Modal=dt;n.Popover=rr;n.Scrollspy=ri;n.Tab=oi;n.Toast=sr;n.Tooltip=k;n.Util=r;Object.defineProperty(n,"__esModule",{value:!0})}),!function(n){"use strict";var t=function(t,i){this.$element=n(t);this.options=n.extend({},n.fn.collapse.defaults,i);this.options.parent&&(this.$parent=n(this.options.parent));this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var n=this.$element.hasClass("width");return n?"width":"height"},show:function(){var i,u,t,r;if(!this.transitioning){if(i=this.dimension(),u=n.camelCase(["scroll",i].join("-")),t=this.$parent&&this.$parent.find("> .accordion-group > .in"),t&&t.length){if(r=t.data("collapse"),r&&r.transitioning)return;t.collapse("hide");r||t.data("collapse",null)}this.$element[i](0);this.transition("addClass",n.Event("show"),"shown");this.$element[i](this.$element[0][u])}},hide:function(){var t;this.transitioning||(t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",n.Event("hide"),"hidden"),this.$element[t](0))},reset:function(n){var t=this.dimension();return this.$element.removeClass("collapse")[t](n||"auto")[0].offsetWidth,this.$element[n!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,i,r){var u=this,f=function(){i.type=="show"&&u.reset();u.transitioning=0;u.$element.trigger(r)};(this.$element.trigger(i),i.isDefaultPrevented())||(this.transitioning=1,this.$element[t]("in"),n.support.transition&&this.$element.hasClass("collapse")?this.$element.one(n.support.transition.end,f):f())},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};n.fn.collapse=function(i){return this.each(function(){var u=n(this),r=u.data("collapse"),f=typeof i=="object"&&i;r||u.data("collapse",r=new t(this,f));typeof i=="string"&&r[i]()})};n.fn.collapse.defaults={toggle:!0};n.fn.collapse.Constructor=t;n(function(){n("#mobile-menu-collapse").click(function(t){var i=n(this),r,u=i.attr("data-target")||t.preventDefault()||(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),f=n(u).data("collapse")?"toggle":i.data();n(u).collapse(f)});n(".collapse-inner").on("click",function(t){t.toElement.id=="mobileMenuContainer"&&n(".nav-collapse").collapse("hide")});n("#mMenuContentBlocker").on("click",function(){n(".nav-collapse").collapse("hide")});n("#menu").on("show",function(){n("#mMenuContentBlocker").show()});n("#menu").on("hide",function(){n("#mMenuContentBlocker").hide()})})}(window.jQuery),!function(n){"use strict";function u(){n(i).each(function(){r(n(this)).removeClass("open")})}function r(t){var i=t.attr("data-target"),r;return i||(i=t.attr("href"),i=i&&/#/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r=n(i),r.length||(r=t.parent()),r}var i="[data-toggle=dropdown]",t=function(t){var i=n(t).on("click.dropdown.data-api",this.toggle);n("html").on("click.dropdown.data-api",function(){i.parent().removeClass("open")})},f;t.prototype={constructor:t,toggle:function(){var t=n(this),i,f;if(!t.is(".disabled, :disabled"))return i=r(t),f=i.hasClass("open"),u(),f||i.toggleClass("open"),t.focus(),!1},keydown:function(t){var f,u,e,o,i;if(/(38|40|27)/.test(t.keyCode)&&(f=n(this),t.preventDefault(),t.stopPropagation(),!f.is(".disabled, :disabled"))){if(e=r(f),o=e.hasClass("open"),!o||o&&t.keyCode==27)return f.click();(u=n("[role=menu] li:not(.divider):visible a",e),u.length)&&(i=u.index(u.filter(":focus")),t.keyCode==38&&i>0&&i--,t.keyCode==40&&i<u.length-1&&i++,~i||(i=0),u.eq(i).focus())}}};f=n.fn.dropdown;n.fn.dropdown=function(i){return this.each(function(){var r=n(this),u=r.data("dropdown");u||r.data("dropdown",u=new t(this));typeof i=="string"&&u[i].call(r)})};n.fn.dropdown.Constructor=t;n.fn.dropdown.noConflict=function(){return n.fn.dropdown=f,this};n(document).on("click.dropdown.data-api touchstart.dropdown.data-api",u).on("click.dropdown touchstart.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()}).on("touchstart.dropdown.data-api",".dropdown-menu",function(n){n.stopPropagation()}).on("click.dropdown.data-api touchstart.dropdown.data-api",i,t.prototype.toggle).on("keydown.dropdown.data-api touchstart.dropdown.data-api",i+", [role=menu]",t.prototype.keydown)}(window.jQuery),+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tooltip"),f=typeof i=="object"&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.tooltip",r=new t(this,f)),typeof i=="string"&&r[i]())})}var t=function(n,t){this.type=null;this.options=null;this.enabled=null;this.timeout=null;this.hoverState=null;this.$element=null;this.inState=null;this.init("tooltip",n,t)},i;t.VERSION="3.3.7";t.TRANSITION_DURATION=150;t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}};t.prototype.init=function(t,i,r){var f,e,u,o,s;if(this.enabled=!0,this.type=t,this.$element=n(i),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&n(n.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(f=this.options.trigger.split(" "),e=f.length;e--;)if(u=f[e],u=="click")this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this));else if(u!="manual"){o=u=="hover"?"mouseenter":"focusin";s=u=="hover"?"mouseleave":"focusout";this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.enter,this));this.$element.on(s+"."+this.type,this.options.selector,n.proxy(this.leave,this))}this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()};t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.getOptions=function(t){return t=n.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t};t.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&n.each(this._options,function(n,r){i[n]!=r&&(t[n]=r)}),t};t.prototype.enter=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState[t.type=="focusin"?"focus":"hover"]=!0),i.tip().hasClass("in")||i.hoverState=="in"){i.hoverState="in";return}if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){i.hoverState=="in"&&i.show()},i.options.delay.show)};t.prototype.isInStateTrue=function(){for(var n in this.inState)if(this.inState[n])return!0;return!1};t.prototype.leave=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState[t.type=="focusout"?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){i.hoverState=="out"&&i.hide()},i.options.delay.hide)}};t.prototype.show=function(){var c=n.Event("show.bs."+this.type),l,p,e,w,h;if(this.hasContent()&&this.enabled){if(this.$element.trigger(c),l=n.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),c.isDefaultPrevented()||!l)return;var u=this,r=this.tip(),a=this.getUID(this.type);this.setContent();r.attr("id",a);this.$element.attr("aria-describedby",a);this.options.animation&&r.addClass("fade");var i=typeof this.options.placement=="function"?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,v=/\s?auto?\s?/i,y=v.test(i);y&&(i=i.replace(v,"")||"top");r.detach().css({top:0,left:0,display:"block"}).addClass(i).data("bs."+this.type,this);this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element);this.$element.trigger("inserted.bs."+this.type);var f=this.getPosition(),o=r[0].offsetWidth,s=r[0].offsetHeight;y&&(p=i,e=this.getPosition(this.$viewport),i=i=="bottom"&&f.bottom+s>e.bottom?"top":i=="top"&&f.top-s<e.top?"bottom":i=="right"&&f.right+o>e.width?"left":i=="left"&&f.left-o<e.left?"right":i,r.removeClass(p).addClass(i));w=this.getCalculatedOffset(i,f,o,s);this.applyPlacement(w,i);h=function(){var n=u.hoverState;u.$element.trigger("shown.bs."+u.type);u.hoverState=null;n=="out"&&u.leave(u)};n.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",h).emulateTransitionEnd(t.TRANSITION_DURATION):h()}};t.prototype.applyPlacement=function(t,i){var r=this.tip(),l=r[0].offsetWidth,e=r[0].offsetHeight,o=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10),h,f,u;isNaN(o)&&(o=0);isNaN(s)&&(s=0);t.top+=o;t.left+=s;n.offset.setOffset(r[0],n.extend({using:function(n){r.css({top:Math.round(n.top),left:Math.round(n.left)})}},t),0);r.addClass("in");h=r[0].offsetWidth;f=r[0].offsetHeight;i=="top"&&f!=e&&(t.top=t.top+e-f);u=this.getViewportAdjustedDelta(i,t,h,f);u.left?t.left+=u.left:t.top+=u.top;var c=/top|bottom/.test(i),a=c?u.left*2-l+h:u.top*2-e+f,v=c?"offsetWidth":"offsetHeight";r.offset(t);this.replaceArrow(a,r[0][v],c)};t.prototype.replaceArrow=function(n,t,i){this.arrow().css(i?"left":"top",50*(1-n/t)+"%").css(i?"top":"left","")};t.prototype.setContent=function(){var n=this.tip(),t=this.getTitle();n.find(".tooltip-inner")[this.options.html?"html":"text"](t);n.removeClass("fade in top bottom left right")};t.prototype.hide=function(i){function e(){r.hoverState!="in"&&u.detach();r.$element&&r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type);i&&i()}var r=this,u=n(this.$tip),f=n.Event("hide.bs."+this.type);if(this.$element.trigger(f),!f.isDefaultPrevented())return u.removeClass("in"),n.support.transition&&u.hasClass("fade")?u.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e(),this.hoverState=null,this};t.prototype.fixTitle=function(){var n=this.$element;(n.attr("title")||typeof n.attr("data-original-title")!="string")&&n.attr("data-original-title",n.attr("title")||"").attr("title","")};t.prototype.hasContent=function(){return this.getTitle()};t.prototype.getPosition=function(t){t=t||this.$element;var r=t[0],u=r.tagName=="BODY",i=r.getBoundingClientRect();i.width==null&&(i=n.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var f=window.SVGElement&&r instanceof window.SVGElement,e=u?{top:0,left:0}:f?null:t.offset(),o={scroll:u?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},s=u?{width:n(window).width(),height:n(window).height()}:null;return n.extend({},i,o,s,e)};t.prototype.getCalculatedOffset=function(n,t,i,r){return n=="bottom"?{top:t.top+t.height,left:t.left+t.width/2-i/2}:n=="top"?{top:t.top-r,left:t.left+t.width/2-i/2}:n=="left"?{top:t.top+t.height/2-r/2,left:t.left-i}:{top:t.top+t.height/2-r/2,left:t.left+t.width}};t.prototype.getViewportAdjustedDelta=function(n,t,i,r){var f={top:0,left:0},e,u,o,s,h,c;return this.$viewport?(e=this.options.viewport&&this.options.viewport.padding||0,u=this.getPosition(this.$viewport),/right|left/.test(n)?(o=t.top-e-u.scroll,s=t.top+e-u.scroll+r,o<u.top?f.top=u.top-o:s>u.top+u.height&&(f.top=u.top+u.height-s)):(h=t.left-e,c=t.left+e+i,h<u.left?f.left=u.left-h:c>u.right&&(f.left=u.left+u.width-c)),f):f};t.prototype.getTitle=function(){var t=this.$element,n=this.options;return t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title)};t.prototype.getUID=function(n){do n+=~~(Math.random()*1e6);while(document.getElementById(n));return n};t.prototype.tip=function(){if(!this.$tip&&(this.$tip=n(this.options.template),this.$tip.length!=1))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")};t.prototype.enable=function(){this.enabled=!0};t.prototype.disable=function(){this.enabled=!1};t.prototype.toggleEnabled=function(){this.enabled=!this.enabled};t.prototype.toggle=function(t){var i=this;t&&(i=n(t.currentTarget).data("bs."+this.type),i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)));t?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)};t.prototype.destroy=function(){var n=this;clearTimeout(this.timeout);this.hide(function(){n.$element.off("."+n.type).removeData("bs."+n.type);n.$tip&&n.$tip.detach();n.$tip=null;n.$arrow=null;n.$viewport=null;n.$element=null})};i=n.fn.tooltip;n.fn.tooltip=r;n.fn.tooltip.Constructor=t;n.fn.tooltip.noConflict=function(){return n.fn.tooltip=i,this}}(jQuery),+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.popover"),f=typeof i=="object"&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.popover",r=new t(this,f)),typeof i=="string"&&r[i]())})}var t=function(n,t){this.init("popover",n,t)},i;if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.7";t.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-title"><\/h3><div class="popover-content"><\/div><\/div>'});t.prototype=n.extend({},n.fn.tooltip.Constructor.prototype);t.prototype.constructor=t;t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.setContent=function(){var n=this.tip(),i=this.getTitle(),t=this.getContent();n.find(".popover-title")[this.options.html?"html":"text"](i);n.find(".popover-content").children().detach().end()[this.options.html?typeof t=="string"?"html":"append":"text"](t);n.removeClass("fade top bottom left right in");n.find(".popover-title").html()||n.find(".popover-title").hide()};t.prototype.hasContent=function(){return this.getTitle()||this.getContent()};t.prototype.getContent=function(){var t=this.$element,n=this.options;return t.attr("data-content")||(typeof n.content=="function"?n.content.call(t[0]):n.content)};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};i=n.fn.popover;n.fn.popover=r;n.fn.popover.Constructor=t;n.fn.popover.noConflict=function(){return n.fn.popover=i,this}}(jQuery),typeof jQuery=="undefined")throw new Error("Bootstrap's JavaScript requires jQuery");+function(n){"use strict";var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||t[0]==1&&t[1]==9&&t[2]<1||t[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4");}(jQuery);+function(n){"use strict";function i(i,r){return this.each(function(){var f=n(this),u=f.data("bs.modal"),e=n.extend({},t.DEFAULTS,f.data(),typeof i=="object"&&i);u||f.data("bs.modal",u=new t(this,e));typeof i=="string"?u[i](r):e.show&&u.show(r)})}var t=function(t,i){this.options=i;this.$body=n(document.body);this.$element=n(t);this.$dialog=this.$element.find(".modal-dialog");this.$backdrop=null;this.isShown=null;this.originalBodyPad=null;this.scrollbarWidth=0;this.ignoreBackdropClick=!1;this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,n.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))},r;t.VERSION="3.3.7";t.TRANSITION_DURATION=300;t.BACKDROP_TRANSITION_DURATION=150;t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};t.prototype.toggle=function(n){return this.isShown?this.hide():this.show(n)};t.prototype.show=function(i){var r=this,u=n.Event("show.bs.modal",{relatedTarget:i});if(this.$element.trigger(u),!this.isShown&&!u.isDefaultPrevented()){this.isShown=!0;this.checkScrollbar();this.setScrollbar();this.$body.addClass("modal-open");this.escape();this.resize();this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',n.proxy(this.hide,this));this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){n(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})});this.backdrop(function(){var f=n.support.transition&&r.$element.hasClass("fade"),u;r.$element.parent().length||r.$element.appendTo(r.$body);r.$element.show().scrollTop(0);r.adjustDialog();f&&r.$element[0].offsetWidth;r.$element.addClass("in");r.enforceFocus();u=n.Event("shown.bs.modal",{relatedTarget:i});f?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(u)}).emulateTransitionEnd(t.TRANSITION_DURATION):r.$element.trigger("focus").trigger(u)})}};t.prototype.hide=function(i){(i&&i.preventDefault(),i=n.Event("hide.bs.modal"),this.$element.trigger(i),this.isShown&&!i.isDefaultPrevented())&&(this.isShown=!1,this.escape(),this.resize(),n(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),n.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",n.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())};t.prototype.enforceFocus=function(){n(document).off("focusin.bs.modal").on("focusin.bs.modal",n.proxy(function(n){document===n.target||this.$element[0]===n.target||this.$element.has(n.target).length||this.$element.trigger("focus")},this))};t.prototype.escape=function(){if(this.isShown&&this.options.keyboard)this.$element.on("keydown.dismiss.bs.modal",n.proxy(function(n){n.which==27&&this.hide()},this));else this.isShown||this.$element.off("keydown.dismiss.bs.modal")};t.prototype.resize=function(){if(this.isShown)n(window).on("resize.bs.modal",n.proxy(this.handleUpdate,this));else n(window).off("resize.bs.modal")};t.prototype.hideModal=function(){var n=this;this.$element.hide();this.backdrop(function(){n.$body.removeClass("modal-open");n.resetAdjustments();n.resetScrollbar();n.$element.trigger("hidden.bs.modal")})};t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};t.prototype.backdrop=function(i){var e=this,f=this.$element.hasClass("fade")?"fade":"",r,u;if(this.isShown&&this.options.backdrop){r=n.support.transition&&f;this.$backdrop=n(document.createElement("div")).addClass("modal-backdrop "+f).appendTo(this.$body);this.$element.on("click.dismiss.bs.modal",n.proxy(function(n){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}n.target===n.currentTarget&&(this.options.backdrop=="static"?this.$element[0].focus():this.hide())},this));if(r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;r?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):i()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),u=function(){e.removeBackdrop();i&&i()},n.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",u).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):u()):i&&i()};t.prototype.handleUpdate=function(){this.adjustDialog()};t.prototype.adjustDialog=function(){var n=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&n?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!n?this.scrollbarWidth:""})};t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})};t.prototype.checkScrollbar=function(){var n=window.innerWidth,t;n||(t=document.documentElement.getBoundingClientRect(),n=t.right-Math.abs(t.left));this.bodyIsOverflowing=document.body.clientWidth<n;this.scrollbarWidth=this.measureScrollbar()};t.prototype.setScrollbar=function(){var n=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";this.bodyIsOverflowing&&this.$body.css("padding-right",n+this.scrollbarWidth)};t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)};t.prototype.measureScrollbar=function(){var n=document.createElement("div"),t;return n.className="modal-scrollbar-measure",this.$body.append(n),t=n.offsetWidth-n.clientWidth,this.$body[0].removeChild(n),t};r=n.fn.modal;n.fn.modal=i;n.fn.modal.Constructor=t;n.fn.modal.noConflict=function(){return n.fn.modal=r,this};n(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var r=n(this),f=r.attr("href"),u=n(r.attr("data-target")||f&&f.replace(/.*(?=#[^\s]+$)/,"")),e=u.data("bs.modal")?"toggle":n.extend({remote:!/#/.test(f)&&f},u.data(),r.data());r.is("a")&&t.preventDefault();u.one("show.bs.modal",function(n){if(!n.isDefaultPrevented())u.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})});i.call(u,e,this)})}(jQuery)