/*!
  * Bootstrap v4.2.1 (https://getbootstrap.com/)
  * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("popper.js"),require("jquery")):"function"==typeof define&&define.amd?define(["exports","popper.js","jquery"],t):t(n.bootstrap={},n.Popper,n.jQuery)}(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 l(n,t,i){return t&&uu(n.prototype,t),i&&uu(n,i),n}function f(n){for(var i,r,t=1;t<arguments.length;t++)i=null!=arguments[t]?arguments[t]:{},r=Object.keys(i),"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(n){return Object.getOwnPropertyDescriptor(i,n).enumerable}))),r.forEach(function(t){var r,u,f;r=n;f=i[u=t];u in r?Object.defineProperty(r,u,{value:f,enumerable:!0,configurable:!0,writable:!0}):r[u]=f});return n}function of(n){var u=this,t=!1;return i(this).one(r.TRANSITION_END,function(){t=!0}),setTimeout(function(){t||r.triggerTransitionEnd(u)},n),this}var at,r;t=t&&t.hasOwnProperty("default")?t.default:t;i=i&&i.hasOwnProperty("default")?i.default:i;at="transitionend";r={TRANSITION_END:"bsTransitionEnd",getUID:function(n){for(;n+=~~(1e6*Math.random()),document.getElementById(n););return n},getSelectorFromElement:function(n){var t=n.getAttribute("data-target"),i;return t&&"#"!==t||(i=n.getAttribute("href"),t=i&&"#"!==i?i.trim():""),t&&document.querySelector(t)?t:null},getTransitionDurationFromElement:function(n){if(!n)return 0;var t=i(n).css("transition-duration"),r=i(n).css("transition-delay"),u=parseFloat(t),f=parseFloat(r);return u||f?(t=t.split(",")[0],r=r.split(",")[0],1e3*(parseFloat(t)+parseFloat(r))):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(n){i(n).trigger(at)},supportsTransitionEnd:function(){return Boolean(at)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,t,i){var u,s;for(u in i)if(Object.prototype.hasOwnProperty.call(i,u)){var e=i[u],f=t[u],o=f&&r.isElement(f)?"element":(s=f,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());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("function"!=typeof n.getRootNode)return n instanceof ShadowRoot?n:n.parentNode?r.findShadowRoot(n.parentNode):null;var t=n.getRootNode();return t instanceof ShadowRoot?t:null}};i.fn.emulateTransitionEnd=of;i.event.special[r.TRANSITION_END]={bindType:at,delegateType:at,handle:function(n){if(i(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}};var vt="alert",pi="bs.alert",cr="."+pi,sf=i.fn[vt],lr={CLOSE:"close"+cr,CLOSED:"closed"+cr,CLICK_DATA_API:"click"+cr+".data-api"},hf="alert",cf="fade",lf="show",it=function(){function n(n){this._element=n}var t=n.prototype;return t.close=function(n){var t=this._element;n&&(t=this._getRootElement(n));this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){i.removeData(this._element,pi);this._element=null},t._getRootElement=function(n){var u=r.getSelectorFromElement(n),t=!1;return u&&(t=document.querySelector(u)),t||(t=i(n).closest("."+hf)[0]),t},t._triggerCloseEvent=function(n){var t=i.Event(lr.CLOSE);return i(n).trigger(t),t},t._removeElement=function(n){var u=this,t;(i(n).removeClass(lf),i(n).hasClass(cf))?(t=r.getTransitionDurationFromElement(n),i(n).one(r.TRANSITION_END,function(t){return u._destroyElement(n,t)}).emulateTransitionEnd(t)):this._destroyElement(n)},t._destroyElement=function(n){i(n).detach().trigger(lr.CLOSED).remove()},n._jQueryInterface=function(t){return this.each(function(){var u=i(this),r=u.data(pi);r||(r=new n(this),u.data(pi,r));"close"===t&&r[t](this)})},n._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},l(n,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),n}();i(document).on(lr.CLICK_DATA_API,'[data-dismiss="alert"]',it._handleDismiss(new it));i.fn[vt]=it._jQueryInterface;i.fn[vt].Constructor=it;i.fn[vt].noConflict=function(){return i.fn[vt]=sf,it._jQueryInterface};var yt="button",wi="bs.button",ar="."+wi,vr=".data-api",af=i.fn[yt],pt="active",vf="btn",yf="focus",fu='[data-toggle^="button"]',pf='[data-toggle="buttons"]',wf='input:not([type="hidden"])',bf=".active",eu=".btn",ou={CLICK_DATA_API:"click"+ar+vr,FOCUS_BLUR_DATA_API:"focus"+ar+vr+" blur"+ar+vr},wt=function(){function n(n){this._element=n}var t=n.prototype;return t.toggle=function(){var r=!0,f=!0,t=i(this._element).closest(pf)[0],n,u;if(t&&(n=this._element.querySelector(wf),n)){if("radio"===n.type&&(n.checked&&this._element.classList.contains(pt)?r=!1:(u=t.querySelector(bf),u&&i(u).removeClass(pt))),r){if(n.hasAttribute("disabled")||t.hasAttribute("disabled")||n.classList.contains("disabled")||t.classList.contains("disabled"))return;n.checked=!this._element.classList.contains(pt);i(n).trigger("change")}n.focus();f=!1}f&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(pt));r&&i(this._element).toggleClass(pt)},t.dispose=function(){i.removeData(this._element,wi);this._element=null},n._jQueryInterface=function(t){return this.each(function(){var r=i(this).data(wi);r||(r=new n(this),i(this).data(wi,r));"toggle"===t&&r[t]()})},l(n,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),n}();i(document).on(ou.CLICK_DATA_API,fu,function(n){n.preventDefault();var t=n.target;i(t).hasClass(vf)||(t=i(t).closest(eu));wt._jQueryInterface.call(i(t),"toggle")}).on(ou.FOCUS_BLUR_DATA_API,fu,function(n){var t=i(n.target).closest(eu)[0];i(t).toggleClass(yf,/^focus(in)?$/.test(n.type))});i.fn[yt]=wt._jQueryInterface;i.fn[yt].Constructor=wt;i.fn[yt].noConflict=function(){return i.fn[yt]=af,wt._jQueryInterface};var rt="carousel",bt="bs.carousel",o="."+bt,su=".data-api",kf=i.fn[rt],yr={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},df={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},bi="next",ki="prev",gf="left",ne="right",s={SLIDE:"slide"+o,SLID:"slid"+o,KEYDOWN:"keydown"+o,MOUSEENTER:"mouseenter"+o,MOUSELEAVE:"mouseleave"+o,TOUCHSTART:"touchstart"+o,TOUCHMOVE:"touchmove"+o,TOUCHEND:"touchend"+o,POINTERDOWN:"pointerdown"+o,POINTERUP:"pointerup"+o,DRAG_START:"dragstart"+o,LOAD_DATA_API:"load"+o+su,CLICK_DATA_API:"click"+o+su},te="carousel",w="active",ie="slide",re="carousel-item-right",ue="carousel-item-left",fe="carousel-item-next",ee="carousel-item-prev",oe="pointer-event",se=".active",pr=".active.carousel-item",he=".carousel-item",ce=".carousel-item img",le=".carousel-item-next, .carousel-item-prev",ae=".carousel-indicators",ve='[data-ride="carousel"]',hu={TOUCH:"touch",PEN:"pen"},ut=function(){function t(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(ae);this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints;this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent);this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(bi)},n.nextWhenVisible=function(){!document.hidden&&i(this._element).is(":visible")&&"hidden"!==i(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(ki)},n.pause=function(n){n||(this._isPaused=!0);this._element.querySelector(le)&&(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,t,r;if(this._activeElement=this._element.querySelector(pr),t=this._getItemIndex(this._activeElement),!(n>this._items.length-1||n<0))if(this._isSliding)i(this._element).one(s.SLID,function(){return u.to(n)});else{if(t===n)return this.pause(),void this.cycle();r=t<n?bi:ki;this._slide(r,this._items[n])}},n.dispose=function(){i(this._element).off(o);i.removeData(this._element,bt);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=f({},yr,n),r.typeCheckConfig(rt,n,df),n},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX),n;t<=40||(n=t/this.touchDeltaX,0<n&&this.prev(),n<0&&this.next())},n._addEventListeners=function(){var n=this;this._config.keyboard&&i(this._element).on(s.KEYDOWN,function(t){return n._keydown(t)});"hover"===this._config.pause&&i(this._element).on(s.MOUSEENTER,function(t){return n.pause(t)}).on(s.MOUSELEAVE,function(t){return n.cycle(t)});this._addTouchEventListeners()},n._addTouchEventListeners=function(){var n=this,t,r;this._touchSupported&&(t=function(t){n._pointerEvent&&hu[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},r=function(t){n._pointerEvent&&hu[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX);n._handleSwipe();"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval))},i(this._element.querySelectorAll(ce)).on(s.DRAG_START,function(n){return n.preventDefault()}),this._pointerEvent?(i(this._element).on(s.POINTERDOWN,function(n){return t(n)}),i(this._element).on(s.POINTERUP,function(n){return r(n)}),this._element.classList.add(oe)):(i(this._element).on(s.TOUCHSTART,function(n){return t(n)}),i(this._element).on(s.TOUCHMOVE,function(t){var i;n.touchDeltaX=(i=t).originalEvent.touches&&1<i.originalEvent.touches.length?0:i.originalEvent.touches[0].clientX-n.touchStartX}),i(this._element).on(s.TOUCHEND,function(n){return r(n)})))},n._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case 37:n.preventDefault();this.prev();break;case 39:n.preventDefault();this.next()}},n._getItemIndex=function(n){return this._items=n&&n.parentNode?[].slice.call(n.parentNode.querySelectorAll(he)):[],this._items.indexOf(n)},n._getItemByDirection=function(n,t){var u=n===bi,f=n===ki,i=this._getItemIndex(t),e=this._items.length-1,r;return(f&&0===i||u&&i===e)&&!this._config.wrap?t:(r=(i+(n===ki?-1:1))%this._items.length,-1===r?this._items[this._items.length-1]:this._items[r])},n._triggerSlideEvent=function(n,t){var u=this._getItemIndex(n),f=this._getItemIndex(this._element.querySelector(pr)),r=i.Event(s.SLIDE,{relatedTarget:n,direction:t,from:f,to:u});return i(this._element).trigger(r),r},n._setActiveIndicatorElement=function(n){var r,t;this._indicatorsElement&&(r=[].slice.call(this._indicatorsElement.querySelectorAll(se)),i(r).removeClass(w),t=this._indicatorsElement.children[this._getItemIndex(n)],t&&i(t).addClass(w))},n._slide=function(n,t){var e,o,h,a=this,f=this._element.querySelector(pr),p=this._getItemIndex(f),u=t||f&&this._getItemByDirection(n,f),b=this._getItemIndex(u),v=Boolean(this._interval),c,l,y;(h=n===bi?(e=ue,o=fe,gf):(e=re,o=ee,ne),u&&i(u).hasClass(w))?this._isSliding=!1:!this._triggerSlideEvent(u,h).isDefaultPrevented()&&f&&u&&(this._isSliding=!0,v&&this.pause(),this._setActiveIndicatorElement(u),c=i.Event(s.SLID,{relatedTarget:u,direction:h,from:p,to:b}),i(this._element).hasClass(ie)?(i(u).addClass(o),r.reflow(u),i(f).addClass(e),i(u).addClass(e),l=parseInt(u.getAttribute("data-interval"),10),this._config.interval=l?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,l):this._config.defaultInterval||this._config.interval,y=r.getTransitionDurationFromElement(f),i(f).one(r.TRANSITION_END,function(){i(u).removeClass(e+" "+o).addClass(w);i(f).removeClass(w+" "+o+" "+e);a._isSliding=!1;setTimeout(function(){return i(a._element).trigger(c)},0)}).emulateTransitionEnd(y)):(i(f).removeClass(w),i(u).addClass(w),this._isSliding=!1,i(this._element).trigger(c)),v&&this.cycle())},t._jQueryInterface=function(n){return this.each(function(){var r=i(this).data(bt),u=f({},yr,i(this).data()),e;if("object"==typeof n&&(u=f({},u,n)),e="string"==typeof n?n:u.slide,r||(r=new t(this,u),i(this).data(bt,r)),"number"==typeof n)r.to(n);else if("string"==typeof e){if("undefined"==typeof r[e])throw new TypeError('No method named "'+e+'"');r[e]()}else u.interval&&(r.pause(),r.cycle())})},t._dataApiClickHandler=function(n){var s=r.getSelectorFromElement(this),u,o,e;s&&(u=i(s)[0],u&&i(u).hasClass(te)&&(o=f({},i(u).data(),i(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),t._jQueryInterface.call(i(u),o),e&&i(u).data(bt).to(e),n.preventDefault()))},l(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return yr}}]),t}();i(document).on(s.CLICK_DATA_API,"[data-slide], [data-slide-to]",ut._dataApiClickHandler);i(window).on(s.LOAD_DATA_API,function(){for(var t,r=[].slice.call(document.querySelectorAll(ve)),n=0,u=r.length;n<u;n++)t=i(r[n]),ut._jQueryInterface.call(t,t.data())});i.fn[rt]=ut._jQueryInterface;i.fn[rt].Constructor=ut;i.fn[rt].noConflict=function(){return i.fn[rt]=kf,ut._jQueryInterface};var ft="collapse",b="bs.collapse",kt="."+b,ye=i.fn[ft],wr={toggle:!0,parent:""},pe={toggle:"boolean",parent:"(string|element)"},dt={SHOW:"show"+kt,SHOWN:"shown"+kt,HIDE:"hide"+kt,HIDDEN:"hidden"+kt,CLICK_DATA_API:"click"+kt+".data-api"},k="show",gt="collapse",di="collapsing",br="collapsed",cu="width",we="height",be=".show, .collapsing",lu='[data-toggle="collapse"]',ni=function(){function t(n,t){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+'"]'));for(var f=[].slice.call(document.querySelectorAll(lu)),i=0,o=f.length;i<o;i++){var e=f[i],u=r.getSelectorFromElement(e),s=[].slice.call(document.querySelectorAll(u)).filter(function(t){return t===n});null!==u&&0<s.length&&(this._selector=u,this._triggerArray.push(e))}this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var n=t.prototype;return n.toggle=function(){i(this._element).hasClass(k)?this.hide():this.show()},n.show=function(){var n,e,u=this,o,f,s,h;this._isTransitioning||i(this._element).hasClass(k)||(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(be)).filter(function(n){return"string"==typeof u._config.parent?n.getAttribute("data-parent")===u._config.parent:n.classList.contains(gt)})).length&&(n=null),n&&(e=i(n).not(this._selector).data(b))&&e._isTransitioning)||(o=i.Event(dt.SHOW),(i(this._element).trigger(o),o.isDefaultPrevented())||(n&&(t._jQueryInterface.call(i(n).not(this._selector),"hide"),e||i(n).data(b,null)),f=this._getDimension(),i(this._element).removeClass(gt).addClass(di),this._element.style[f]=0,this._triggerArray.length&&i(this._triggerArray).removeClass(br).attr("aria-expanded",!0),this.setTransitioning(!0),s="scroll"+(f[0].toUpperCase()+f.slice(1)),h=r.getTransitionDurationFromElement(this._element),i(this._element).one(r.TRANSITION_END,function(){i(u._element).removeClass(di).addClass(gt).addClass(k);u._element.style[f]="";u.setTransitioning(!1);i(u._element).trigger(dt.SHOWN)}).emulateTransitionEnd(h),this._element.style[f]=this._element[s]+"px"))},n.hide=function(){var s=this,u,n,f,t,e,o,h;if(!this._isTransitioning&&i(this._element).hasClass(k)&&(u=i.Event(dt.HIDE),i(this._element).trigger(u),!u.isDefaultPrevented())){if(n=this._getDimension(),this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",r.reflow(this._element),i(this._element).addClass(di).removeClass(gt).removeClass(k),f=this._triggerArray.length,0<f)for(t=0;t<f;t++)e=this._triggerArray[t],o=r.getSelectorFromElement(e),null!==o&&(i([].slice.call(document.querySelectorAll(o))).hasClass(k)||i(e).addClass(br).attr("aria-expanded",!1));this.setTransitioning(!0);this._element.style[n]="";h=r.getTransitionDurationFromElement(this._element);i(this._element).one(r.TRANSITION_END,function(){s.setTransitioning(!1);i(s._element).removeClass(di).addClass(gt).trigger(dt.HIDDEN)}).emulateTransitionEnd(h)}},n.setTransitioning=function(n){this._isTransitioning=n},n.dispose=function(){i.removeData(this._element,b);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},n._getConfig=function(n){return(n=f({},wr,n)).toggle=Boolean(n.toggle),r.typeCheckConfig(ft,n,pe),n},n._getDimension=function(){return i(this._element).hasClass(cu)?cu:we},n._getParent=function(){var n,e=this,u,f;return r.isElement(this._config.parent)?(n=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(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)),i(f).each(function(n,i){e._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])}),n},n._addAriaAndCollapsedClass=function(n,t){var r=i(n).hasClass(k);t.length&&i(t).toggleClass(br,!r).attr("aria-expanded",r)},t._getTargetFromElement=function(n){var t=r.getSelectorFromElement(n);return t?document.querySelector(t):null},t._jQueryInterface=function(n){return this.each(function(){var u=i(this),r=u.data(b),e=f({},wr,u.data(),"object"==typeof n&&n?n:{});if(!r&&e.toggle&&/show|hide/.test(n)&&(e.toggle=!1),r||(r=new t(this,e),u.data(b,r)),"string"==typeof n){if("undefined"==typeof r[n])throw new TypeError('No method named "'+n+'"');r[n]()}})},l(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return wr}}]),t}();i(document).on(dt.CLICK_DATA_API,lu,function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var t=i(this),u=r.getSelectorFromElement(this),f=[].slice.call(document.querySelectorAll(u));i(f).each(function(){var n=i(this),r=n.data(b)?"toggle":t.data();ni._jQueryInterface.call(n,r)})});i.fn[ft]=ni._jQueryInterface;i.fn[ft].Constructor=ni;i.fn[ft].noConflict=function(){return i.fn[ft]=ye,ni._jQueryInterface};var et="dropdown",ti="bs.dropdown",y="."+ti,kr=".data-api",ke=i.fn[et],de=new RegExp("38|40|27"),e={HIDE:"hide"+y,HIDDEN:"hidden"+y,SHOW:"show"+y,SHOWN:"shown"+y,CLICK:"click"+y,CLICK_DATA_API:"click"+y+kr,KEYDOWN_DATA_API:"keydown"+y+kr,KEYUP_DATA_API:"keyup"+y+kr},gi="disabled",h="show",ge="dropup",no="dropright",to="dropleft",au="dropdown-menu-right",io="position-static",nr='[data-toggle="dropdown"]',dr=".dropdown-menu",ro=".navbar-nav",uo=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",fo="top-start",eo="top-end",oo="bottom-start",so="bottom-end",ho="right-start",co="left-start",lo={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},ao={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},p=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 u=n.prototype;return u.toggle=function(){var u,c,o,s,f;if(!this._element.disabled&&!i(this._element).hasClass(gi)&&(u=n._getParentFromElement(this._element),c=i(this._menu).hasClass(h),(n._clearMenus(),!c)&&(o={relatedTarget:this._element},s=i.Event(e.SHOW,o),i(u).trigger(s),!s.isDefaultPrevented()))){if(!this._inNavbar){if("undefined"==typeof t)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");f=this._element;"parent"===this._config.reference?f=u:r.isElement(this._config.reference)&&(f=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(f=this._config.reference[0]));"scrollParent"!==this._config.boundary&&i(u).addClass(io);this._popper=new t(f,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===i(u).closest(ro).length&&i(document.body).children().on("mouseover",null,i.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);i(this._menu).toggleClass(h);i(u).toggleClass(h).trigger(i.Event(e.SHOWN,o))}},u.show=function(){if(!(this._element.disabled||i(this._element).hasClass(gi)||i(this._menu).hasClass(h))){var t={relatedTarget:this._element},r=i.Event(e.SHOW,t),u=n._getParentFromElement(this._element);i(u).trigger(r);r.isDefaultPrevented()||(i(this._menu).toggleClass(h),i(u).toggleClass(h).trigger(i.Event(e.SHOWN,t)))}},u.hide=function(){if(!this._element.disabled&&!i(this._element).hasClass(gi)&&i(this._menu).hasClass(h)){var t={relatedTarget:this._element},r=i.Event(e.HIDE,t),u=n._getParentFromElement(this._element);i(u).trigger(r);r.isDefaultPrevented()||(i(this._menu).toggleClass(h),i(u).toggleClass(h).trigger(i.Event(e.HIDDEN,t)))}},u.dispose=function(){i.removeData(this._element,ti);i(this._element).off(y);this._element=null;(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},u.update=function(){this._inNavbar=this._detectNavbar();null!==this._popper&&this._popper.scheduleUpdate()},u._addEventListeners=function(){var n=this;i(this._element).on(e.CLICK,function(t){t.preventDefault();t.stopPropagation();n.toggle()})},u._getConfig=function(n){return n=f({},this.constructor.Default,i(this._element).data(),n),r.typeCheckConfig(et,n,this.constructor.DefaultType),n},u._getMenuElement=function(){if(!this._menu){var t=n._getParentFromElement(this._element);t&&(this._menu=t.querySelector(dr))}return this._menu},u._getPlacement=function(){var t=i(this._element.parentNode),n=oo;return t.hasClass(ge)?(n=fo,i(this._menu).hasClass(au)&&(n=eo)):t.hasClass(no)?n=ho:t.hasClass(to)?n=co:i(this._menu).hasClass(au)&&(n=so),n},u._detectNavbar=function(){return 0<i(this._element).closest(".navbar").length},u._getPopperConfig=function(){var i=this,n={},t;return"function"==typeof this._config.offset?n.fn=function(n){return n.offsets=f({},n.offsets,i._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,t={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}},"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},n._jQueryInterface=function(t){return this.each(function(){var r=i(this).data(ti);if(r||(r=new n(this,"object"==typeof t?t:null),i(this).data(ti,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method named "'+t+'"');r[t]()}})},n._clearMenus=function(t){var l,s;if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var u=[].slice.call(document.querySelectorAll(nr)),r=0,a=u.length;r<a;r++){var f=n._getParentFromElement(u[r]),c=i(u[r]).data(ti),o={relatedTarget:u[r]};(t&&"click"===t.type&&(o.clickEvent=t),c)&&(l=c._menu,!i(f).hasClass(h)||t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&i.contains(f,t.target)||(s=i.Event(e.HIDE,o),i(f).trigger(s),s.isDefaultPrevented()||("ontouchstart"in document.documentElement&&i(document.body).children().off("mouseover",null,i.noop),u[r].setAttribute("aria-expanded","false"),i(l).removeClass(h),i(f).removeClass(h).trigger(i.Event(e.HIDDEN,o)))))}},n._getParentFromElement=function(n){var t,i=r.getSelectorFromElement(n);return i&&(t=document.querySelector(i)),t||n.parentNode},n._dataApiKeydownHandler=function(t){var f,e,u,r,o;(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||i(t.target).closest(dr).length):!de.test(t.which))||(t.preventDefault(),t.stopPropagation(),this.disabled||i(this).hasClass(gi))||(f=n._getParentFromElement(this),e=i(f).hasClass(h),e&&(!e||27!==t.which&&32!==t.which)?(u=[].slice.call(f.querySelectorAll(uo)),0!==u.length&&(r=u.indexOf(t.target),38===t.which&&0<r&&r--,40===t.which&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())):(27===t.which&&(o=f.querySelector(nr),i(o).trigger("focus")),i(this).trigger("click")))},l(n,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return lo}},{key:"DefaultType",get:function(){return ao}}]),n}();i(document).on(e.KEYDOWN_DATA_API,nr,p._dataApiKeydownHandler).on(e.KEYDOWN_DATA_API,dr,p._dataApiKeydownHandler).on(e.CLICK_DATA_API+" "+e.KEYUP_DATA_API,p._clearMenus).on(e.CLICK_DATA_API,nr,function(n){n.preventDefault();n.stopPropagation();p._jQueryInterface.call(i(this),"toggle")}).on(e.CLICK_DATA_API,".dropdown form",function(n){n.stopPropagation()});i.fn[et]=p._jQueryInterface;i.fn[et].Constructor=p;i.fn[et].noConflict=function(){return i.fn[et]=ke,p._jQueryInterface};var ot="modal",ii="bs.modal",c="."+ii,vo=i.fn[ot],gr={backdrop:!0,keyboard:!0,focus:!0,show:!0},yo={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},u={HIDE:"hide"+c,HIDDEN:"hidden"+c,SHOW:"show"+c,SHOWN:"shown"+c,FOCUSIN:"focusin"+c,RESIZE:"resize"+c,CLICK_DISMISS:"click.dismiss"+c,KEYDOWN_DISMISS:"keydown.dismiss"+c,MOUSEUP_DISMISS:"mouseup.dismiss"+c,MOUSEDOWN_DISMISS:"mousedown.dismiss"+c,CLICK_DATA_API:"click"+c+".data-api"},po="modal-scrollbar-measure",wo="modal-backdrop",vu="modal-open",st="fade",tr="show",bo=".modal-dialog",ko='[data-dismiss="modal"]',yu=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",pu=".sticky-top",ri=function(){function t(n,t){this._config=this._getConfig(t);this._element=n;this._dialog=n.querySelector(bo);this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._isTransitioning=!1;this._scrollbarWidth=0}var n=t.prototype;return n.toggle=function(n){return this._isShown?this.hide():this.show(n)},n.show=function(n){var t=this,r;this._isShown||this._isTransitioning||(i(this._element).hasClass(st)&&(this._isTransitioning=!0),r=i.Event(u.SHOW,{relatedTarget:n}),i(this._element).trigger(r),this._isShown||r.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),i(this._element).on(u.CLICK_DISMISS,ko,function(n){return t.hide(n)}),i(this._dialog).on(u.MOUSEDOWN_DISMISS,function(){i(t._element).one(u.MOUSEUP_DISMISS,function(n){i(n.target).is(t._element)&&(t._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return t._showElement(n)})))},n.hide=function(n){var o=this,t,f,e;(n&&n.preventDefault(),this._isShown&&!this._isTransitioning)&&(t=i.Event(u.HIDE),(i(this._element).trigger(t),this._isShown&&!t.isDefaultPrevented())&&(this._isShown=!1,f=i(this._element).hasClass(st),(f&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),i(document).off(u.FOCUSIN),i(this._element).removeClass(tr),i(this._element).off(u.CLICK_DISMISS),i(this._dialog).off(u.MOUSEDOWN_DISMISS),f)?(e=r.getTransitionDurationFromElement(this._element),i(this._element).one(r.TRANSITION_END,function(n){return o._hideModal(n)}).emulateTransitionEnd(e)):this._hideModal()))},n.dispose=function(){[window,this._element,this._dialog].forEach(function(n){return i(n).off(c)});i(document).off(u.FOCUSIN);i.removeData(this._element,ii);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=f({},gr,n),r.typeCheckConfig(ot,n,yo),n},n._showElement=function(n){var t=this,e=i(this._element).hasClass(st),o,f,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.scrollTop=0;e&&r.reflow(this._element);i(this._element).addClass(tr);this._config.focus&&this._enforceFocus();o=i.Event(u.SHOWN,{relatedTarget:n});f=function(){t._config.focus&&t._element.focus();t._isTransitioning=!1;i(t._element).trigger(o)};e?(s=r.getTransitionDurationFromElement(this._dialog),i(this._dialog).one(r.TRANSITION_END,f).emulateTransitionEnd(s)):f()},n._enforceFocus=function(){var n=this;i(document).off(u.FOCUSIN).on(u.FOCUSIN,function(t){document!==t.target&&n._element!==t.target&&0===i(n._element).has(t.target).length&&n._element.focus()})},n._setEscapeEvent=function(){var n=this;this._isShown&&this._config.keyboard?i(this._element).on(u.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),n.hide())}):this._isShown||i(this._element).off(u.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var n=this;this._isShown?i(window).on(u.RESIZE,function(t){return n.handleUpdate(t)}):i(window).off(u.RESIZE)},n._hideModal=function(){var n=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._element.removeAttribute("aria-modal");this._isTransitioning=!1;this._showBackdrop(function(){i(document.body).removeClass(vu);n._resetAdjustments();n._resetScrollbar();i(n._element).trigger(u.HIDDEN)})},n._removeBackdrop=function(){this._backdrop&&(i(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(n){var t=this,f=i(this._element).hasClass(st)?st:"",o,e,s;if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=wo,f&&this._backdrop.classList.add(f),i(this._backdrop).appendTo(document.body),i(this._element).on(u.CLICK_DISMISS,function(n){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:n.target===n.currentTarget&&("static"===t._config.backdrop?t._element.focus():t.hide())}),f&&r.reflow(this._backdrop),i(this._backdrop).addClass(tr),!n)return;if(!f)return void n();o=r.getTransitionDurationFromElement(this._backdrop);i(this._backdrop).one(r.TRANSITION_END,n).emulateTransitionEnd(o)}else!this._isShown&&this._backdrop?(i(this._backdrop).removeClass(tr),e=function(){t._removeBackdrop();n&&n()},i(this._element).hasClass(st)?(s=r.getTransitionDurationFromElement(this._backdrop),i(this._backdrop).one(r.TRANSITION_END,e).emulateTransitionEnd(s)):e()):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=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var n=this,t,r,u,f;this._isBodyOverflowing&&(t=[].slice.call(document.querySelectorAll(yu)),r=[].slice.call(document.querySelectorAll(pu)),i(t).each(function(t,r){var u=r.style.paddingRight,f=i(r).css("padding-right");i(r).data("padding-right",u).css("padding-right",parseFloat(f)+n._scrollbarWidth+"px")}),i(r).each(function(t,r){var u=r.style.marginRight,f=i(r).css("margin-right");i(r).data("margin-right",u).css("margin-right",parseFloat(f)-n._scrollbarWidth+"px")}),u=document.body.style.paddingRight,f=i(document.body).css("padding-right"),i(document.body).data("padding-right",u).css("padding-right",parseFloat(f)+this._scrollbarWidth+"px"));i(document.body).addClass(vu)},n._resetScrollbar=function(){var r=[].slice.call(document.querySelectorAll(yu)),n,t;i(r).each(function(n,t){var r=i(t).data("padding-right");i(t).removeData("padding-right");t.style.paddingRight=r||""});n=[].slice.call(document.querySelectorAll(""+pu));i(n).each(function(n,t){var r=i(t).data("margin-right");"undefined"!=typeof r&&i(t).css("margin-right",r).removeData("margin-right")});t=i(document.body).data("padding-right");i(document.body).removeData("padding-right");document.body.style.paddingRight=t||""},n._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=po,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},t._jQueryInterface=function(n,r){return this.each(function(){var u=i(this).data(ii),e=f({},gr,i(this).data(),"object"==typeof n&&n?n:{});if(u||(u=new t(this,e),i(this).data(ii,u)),"string"==typeof n){if("undefined"==typeof u[n])throw new TypeError('No method named "'+n+'"');u[n](r)}else e.show&&u.show(r)})},l(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return gr}}]),t}();i(document).on(u.CLICK_DATA_API,'[data-toggle="modal"]',function(n){var t,e=this,o=r.getSelectorFromElement(this),s,h;o&&(t=document.querySelector(o));s=i(t).data(ii)?"toggle":f({},i(t).data(),i(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();h=i(t).one(u.SHOW,function(n){n.isDefaultPrevented()||h.one(u.HIDDEN,function(){i(e).is(":visible")&&e.focus()})});ri._jQueryInterface.call(i(t),s,this)});i.fn[ot]=ri._jQueryInterface;i.fn[ot].Constructor=ri;i.fn[ot].noConflict=function(){return i.fn[ot]=vo,ri._jQueryInterface};var d="tooltip",ir="bs.tooltip",a="."+ir,go=i.fn[d],wu="bs-tooltip",ns=new RegExp("(^|\\s)"+wu+"\\S+","g"),ts={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)"},is={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},rs={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"},ui="show",nu="out",us={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},fi="fade",ei="show",fs=".tooltip-inner",es=".arrow",oi="hover",tu="focus",os="click",ss="manual",g=function(){function u(n,i){if("undefined"==typeof t)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(i);this.tip=null;this._setListeners()}var n=u.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,t=i(n.currentTarget).data(r);t||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),i(n.currentTarget).data(r,t));t._activeTrigger.click=!t._activeTrigger.click;t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(i(this.getTipElement()).hasClass(ei))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout);i.removeData(this.element,this.constructor.DATA_KEY);i(this.element).off(this.constructor.EVENT_KEY);i(this.element).closest(".modal").off("hide.bs.modal");this.tip&&i(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("none"===i(this.element).css("display"))throw new Error("Please use show on visible elements");if(f=i.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(i(this.element).trigger(f),e=r.findShadowRoot(this.element),c=i.contains(null!==e?e:this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!c)return;u=this.getTipElement();o=r.getUID(this.constructor.NAME);u.setAttribute("id",o);this.element.setAttribute("aria-describedby",o);this.setContent();this.config.animation&&i(u).addClass(fi);l="function"==typeof this.config.placement?this.config.placement.call(this,u,this.element):this.config.placement;s=this._getAttachment(l);this.addAttachmentClass(s);a=this._getContainer();i(u).data(this.constructor.DATA_KEY,this);i.contains(this.element.ownerDocument.documentElement,this.tip)||i(u).appendTo(a);i(this.element).trigger(this.constructor.Event.INSERTED);this._popper=new t(this.element,u,{placement:s,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:es},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&n._handlePopperPlacementChange(t)},onUpdate:function(t){return n._handlePopperPlacementChange(t)}});i(u).addClass(ei);"ontouchstart"in document.documentElement&&i(document.body).children().on("mouseover",null,i.noop);h=function(){n.config.animation&&n._fixTransition();var t=n._hoverState;n._hoverState=null;i(n.element).trigger(n.constructor.Event.SHOWN);t===nu&&n._leave(null,n)};i(this.tip).hasClass(fi)?(v=r.getTransitionDurationFromElement(this.tip),i(this.tip).one(r.TRANSITION_END,h).emulateTransitionEnd(v)):h()}},n.hide=function(n){var t=this,u=this.getTipElement(),f=i.Event(this.constructor.Event.HIDE),e=function(){t._hoverState!==ui&&u.parentNode&&u.parentNode.removeChild(u);t._cleanTipClass();t.element.removeAttribute("aria-describedby");i(t.element).trigger(t.constructor.Event.HIDDEN);null!==t._popper&&t._popper.destroy();n&&n()},o;(i(this.element).trigger(f),f.isDefaultPrevented())||((i(u).removeClass(ei),"ontouchstart"in document.documentElement&&i(document.body).children().off("mouseover",null,i.noop),this._activeTrigger[os]=!1,this._activeTrigger[tu]=!1,this._activeTrigger[oi]=!1,i(this.tip).hasClass(fi))?(o=r.getTransitionDurationFromElement(u),i(u).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e(),this._hoverState="")},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(n){i(this.getTipElement()).addClass(wu+"-"+n)},n.getTipElement=function(){return this.tip=this.tip||i(this.config.template)[0],this.tip},n.setContent=function(){var n=this.getTipElement();this.setElementContent(i(n.querySelectorAll(fs)),this.getTitle());i(n).removeClass(fi+" "+ei)},n.setElementContent=function(n,t){var r=this.config.html;"object"==typeof t&&(t.nodeType||t.jquery)?r?i(t).parent().is(n)||n.empty().append(t):n.text(i(t).text()):n[r?"html":"text"](t)},n.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),n},n._getContainer=function(){return!1===this.config.container?document.body:r.isElement(this.config.container)?i(this.config.container):i(document).find(this.config.container)},n._getAttachment=function(n){return is[n.toUpperCase()]},n._setListeners=function(){var n=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)i(n.element).on(n.constructor.Event.CLICK,n.config.selector,function(t){return n.toggle(t)});else if(t!==ss){var r=t===oi?n.constructor.Event.MOUSEENTER:n.constructor.Event.FOCUSIN,u=t===oi?n.constructor.Event.MOUSELEAVE:n.constructor.Event.FOCUSOUT;i(n.element).on(r,n.config.selector,function(t){return n._enter(t)}).on(u,n.config.selector,function(t){return n._leave(t)})}});i(this.element).closest(".modal").on("hide.bs.modal",function(){n.element&&n.hide()});this.config.selector?this.config=f({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==n)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(n,t){var r=this.constructor.DATA_KEY;(t=t||i(n.currentTarget).data(r))||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),i(n.currentTarget).data(r,t));n&&(t._activeTrigger["focusin"===n.type?tu:oi]=!0);i(t.getTipElement()).hasClass(ei)||t._hoverState===ui?t._hoverState=ui:(clearTimeout(t._timeout),t._hoverState=ui,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){t._hoverState===ui&&t.show()},t.config.delay.show):t.show())},n._leave=function(n,t){var r=this.constructor.DATA_KEY;(t=t||i(n.currentTarget).data(r))||(t=new this.constructor(n.currentTarget,this._getDelegateConfig()),i(n.currentTarget).data(r,t));n&&(t._activeTrigger["focusout"===n.type?tu:oi]=!1);t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=nu,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){t._hoverState===nu&&t.hide()},t.config.delay.hide):t.hide())},n._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},n._getConfig=function(n){return"number"==typeof(n=f({},this.constructor.Default,i(this.element).data(),"object"==typeof n&&n?n:{})).delay&&(n.delay={show:n.delay,hide:n.delay}),"number"==typeof n.title&&(n.title=n.title.toString()),"number"==typeof n.content&&(n.content=n.content.toString()),r.typeCheckConfig(d,n,this.constructor.DefaultType),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 t=i(this.getTipElement()),n=t.attr("class").match(ns);null!==n&&n.length&&t.removeClass(n.join(""))},n._handlePopperPlacementChange=function(n){var t=n.instance;this.tip=t.popper;this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},n._fixTransition=function(){var n=this.getTipElement(),t=this.config.animation;null===n.getAttribute("x-placement")&&(i(n).removeClass(fi),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},u._jQueryInterface=function(n){return this.each(function(){var t=i(this).data(ir),r="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new u(this,r),i(this).data(ir,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},l(u,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return rs}},{key:"NAME",get:function(){return d}},{key:"DATA_KEY",get:function(){return ir}},{key:"Event",get:function(){return us}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return ts}}]),u}();i.fn[d]=g._jQueryInterface;i.fn[d].Constructor=g;i.fn[d].noConflict=function(){return i.fn[d]=go,g._jQueryInterface};var ht="popover",rr="bs.popover",v="."+rr,hs=i.fn[ht],bu="bs-popover",cs=new RegExp("(^|\\s)"+bu+"\\S+","g"),ls=f({},g.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>'}),as=f({},g.DefaultType,{content:"(string|element|function)"}),vs="fade",ys="show",ps=".popover-header",ws=".popover-body",bs={HIDE:"hide"+v,HIDDEN:"hidden"+v,SHOW:"show"+v,SHOWN:"shown"+v,INSERTED:"inserted"+v,CLICK:"click"+v,FOCUSIN:"focusin"+v,FOCUSOUT:"focusout"+v,MOUSEENTER:"mouseenter"+v,MOUSELEAVE:"mouseleave"+v},ur=function(n){function r(){return n.apply(this,arguments)||this}var u,f,t;return f=n,(u=r).prototype=Object.create(f.prototype),(u.prototype.constructor=u).__proto__=f,t=r.prototype,t.isWithContent=function(){return this.getTitle()||this._getContent()},t.addAttachmentClass=function(n){i(this.getTipElement()).addClass(bu+"-"+n)},t.getTipElement=function(){return this.tip=this.tip||i(this.config.template)[0],this.tip},t.setContent=function(){var t=i(this.getTipElement()),n;this.setElementContent(t.find(ps),this.getTitle());n=this._getContent();"function"==typeof n&&(n=n.call(this.element));this.setElementContent(t.find(ws),n);t.removeClass(vs+" "+ys)},t._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},t._cleanTipClass=function(){var t=i(this.getTipElement()),n=t.attr("class").match(cs);null!==n&&0<n.length&&t.removeClass(n.join(""))},r._jQueryInterface=function(n){return this.each(function(){var t=i(this).data(rr),u="object"==typeof n?n:null;if((t||!/dispose|hide/.test(n))&&(t||(t=new r(this,u),i(this).data(rr,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},l(r,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return ls}},{key:"NAME",get:function(){return ht}},{key:"DATA_KEY",get:function(){return rr}},{key:"Event",get:function(){return bs}},{key:"EVENT_KEY",get:function(){return v}},{key:"DefaultType",get:function(){return as}}]),r}(g);i.fn[ht]=ur._jQueryInterface;i.fn[ht].Constructor=ur;i.fn[ht].noConflict=function(){return i.fn[ht]=hs,ur._jQueryInterface};var nt="scrollspy",fr="bs.scrollspy",er="."+fr,ks=i.fn[nt],ku={offset:10,method:"auto",target:""},ds={offset:"number",method:"string",target:"(string|element)"},iu={ACTIVATE:"activate"+er,SCROLL:"scroll"+er,LOAD_DATA_API:"load"+er+".data-api"},gs="dropdown-item",tt="active",nh='[data-spy="scroll"]',du=".nav, .list-group",ru=".nav-link",th=".nav-item",gu=".list-group-item",ih=".dropdown",rh=".dropdown-item",uh=".dropdown-toggle",fh="offset",nf="position",si=function(){function t(n,t){var r=this;this._element=n;this._scrollElement="BODY"===n.tagName?window:n;this._config=this._getConfig(t);this._selector=this._config.target+" "+ru+","+this._config.target+" "+gu+","+this._config.target+" "+rh;this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;i(this._scrollElement).on(iu.SCROLL,function(n){return r._process(n)});this.refresh();this._process()}var n=t.prototype;return n.refresh=function(){var n=this,u=this._scrollElement===this._scrollElement.window?fh:nf,t="auto"===this._config.method?u:this._config.method,f=t===nf?this._getScrollTop():0;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();[].slice.call(document.querySelectorAll(this._selector)).map(function(n){var u,e=r.getSelectorFromElement(n),o;return(e&&(u=document.querySelector(e)),u)&&(o=u.getBoundingClientRect(),o.width||o.height)?[i(u)[t]().top+f,e]: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(){i.removeData(this._element,fr);i(this._scrollElement).off(er);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("string"!=typeof(n=f({},ku,"object"==typeof n&&n?n:{})).target){var t=i(n.target).attr("id");t||(t=r.getUID(nt),i(n.target).attr("id",t));n.target="#"+t}return r.typeCheckConfig(nt,n,ds),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(),u=this._config.offset+r-this._getOffsetHeight(),i,n;if(this._scrollHeight!==r&&this.refresh(),u<=t)i=this._targets[this._targets.length-1],this._activeTarget!==i&&this._activate(i);else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(n=this._offsets.length;n--;)this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&("undefined"==typeof this._offsets[n+1]||t<this._offsets[n+1])&&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+'"]'}),t=i([].slice.call(document.querySelectorAll(r.join(","))));t.hasClass(gs)?(t.closest(ih).find(uh).addClass(tt),t.addClass(tt)):(t.addClass(tt),t.parents(du).prev(ru+", "+gu).addClass(tt),t.parents(du).prev(th).children(ru).addClass(tt));i(this._scrollElement).trigger(iu.ACTIVATE,{relatedTarget:n})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(n){return n.classList.contains(tt)}).forEach(function(n){return n.classList.remove(tt)})},t._jQueryInterface=function(n){return this.each(function(){var r=i(this).data(fr);if(r||(r=new t(this,"object"==typeof n&&n),i(this).data(fr,r)),"string"==typeof n){if("undefined"==typeof r[n])throw new TypeError('No method named "'+n+'"');r[n]()}})},l(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"Default",get:function(){return ku}}]),t}();i(window).on(iu.LOAD_DATA_API,function(){for(var r,n=[].slice.call(document.querySelectorAll(nh)),t=n.length;t--;)r=i(n[t]),si._jQueryInterface.call(r,r.data())});i.fn[nt]=si._jQueryInterface;i.fn[nt].Constructor=si;i.fn[nt].noConflict=function(){return i.fn[nt]=ks,si._jQueryInterface};var or="bs.tab",hi="."+or,eh=i.fn.tab,ci={HIDE:"hide"+hi,HIDDEN:"hidden"+hi,SHOW:"show"+hi,SHOWN:"shown"+hi,CLICK_DATA_API:"click"+hi+".data-api"},oh="dropdown-menu",li="active",sh="disabled",hh="fade",tf="show",ch=".dropdown",lh=".nav, .list-group",rf=".active",uf="> li > .active",ah=".dropdown-toggle",vh="> .dropdown-menu .active",ai=function(){function n(n){this._element=n}var t=n.prototype;return t.show=function(){var h=this,u,n,t,f,c,e,o,s;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&i(this._element).hasClass(li)||i(this._element).hasClass(sh)||(t=i(this._element).closest(lh)[0],f=r.getSelectorFromElement(this._element),t&&(c="UL"===t.nodeName||"OL"===t.nodeName?uf:rf,n=(n=i.makeArray(i(t).find(c)))[n.length-1]),e=i.Event(ci.HIDE,{relatedTarget:this._element}),o=i.Event(ci.SHOW,{relatedTarget:n}),(n&&i(n).trigger(e),i(this._element).trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(f&&(u=document.querySelector(f)),this._activate(this._element,t),s=function(){var t=i.Event(ci.HIDDEN,{relatedTarget:h._element}),r=i.Event(ci.SHOWN,{relatedTarget:n});i(n).trigger(t);i(h._element).trigger(r)},u?this._activate(u,u.parentNode,s):s()))},t.dispose=function(){i.removeData(this._element,or);this._element=null},t._activate=function(n,t,u){var s=this,f=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?i(t).children(rf):i(t).find(uf))[0],h=u&&f&&i(f).hasClass(hh),e=function(){return s._transitionComplete(n,f,u)},o;f&&h?(o=r.getTransitionDurationFromElement(f),i(f).removeClass(tf).one(r.TRANSITION_END,e).emulateTransitionEnd(o)):e()},t._transitionComplete=function(n,t,u){var f,e,o;t&&(i(t).removeClass(li),f=i(t.parentNode).find(vh)[0],f&&i(f).removeClass(li),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1));(i(n).addClass(li),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),r.reflow(n),i(n).addClass(tf),n.parentNode&&i(n.parentNode).hasClass(oh))&&(e=i(n).closest(ch)[0],e&&(o=[].slice.call(e.querySelectorAll(ah)),i(o).addClass(li)),n.setAttribute("aria-expanded",!0));u&&u()},n._jQueryInterface=function(t){return this.each(function(){var u=i(this),r=u.data(or);if(r||(r=new n(this),u.data(or,r)),"string"==typeof t){if("undefined"==typeof r[t])throw new TypeError('No method named "'+t+'"');r[t]()}})},l(n,null,[{key:"VERSION",get:function(){return"4.2.1"}}]),n}();i(document).on(ci.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(n){n.preventDefault();ai._jQueryInterface.call(i(this),"show")});i.fn.tab=ai._jQueryInterface;i.fn.tab.Constructor=ai;i.fn.tab.noConflict=function(){return i.fn.tab=eh,ai._jQueryInterface};var ct="toast",sr="bs.toast",vi="."+sr,yh=i.fn[ct],lt={CLICK_DISMISS:"click.dismiss"+vi,HIDE:"hide"+vi,HIDDEN:"hidden"+vi,SHOW:"show"+vi,SHOWN:"shown"+vi},ph="fade",ff="hide",yi="show",ef="showing",wh={animation:"boolean",autohide:"boolean",delay:"number"},bh={animation:!0,autohide:!0,delay:500},kh='[data-dismiss="toast"]',hr=function(){function t(n,t){this._element=n;this._config=this._getConfig(t);this._timeout=null;this._setListeners()}var n=t.prototype;return n.show=function(){var n=this,t,u;i(this._element).trigger(lt.SHOW);this._config.animation&&this._element.classList.add(ph);t=function(){n._element.classList.remove(ef);n._element.classList.add(yi);i(n._element).trigger(lt.SHOWN);n._config.autohide&&n.hide()};(this._element.classList.remove(ff),this._element.classList.add(ef),this._config.animation)?(u=r.getTransitionDurationFromElement(this._element),i(this._element).one(r.TRANSITION_END,t).emulateTransitionEnd(u)):t()},n.hide=function(n){var t=this;this._element.classList.contains(yi)&&(i(this._element).trigger(lt.HIDE),n?this._close():this._timeout=setTimeout(function(){t._close()},this._config.delay))},n.dispose=function(){clearTimeout(this._timeout);this._timeout=null;this._element.classList.contains(yi)&&this._element.classList.remove(yi);i(this._element).off(lt.CLICK_DISMISS);i.removeData(this._element,sr);this._element=null;this._config=null},n._getConfig=function(n){return n=f({},bh,i(this._element).data(),"object"==typeof n&&n?n:{}),r.typeCheckConfig(ct,n,this.constructor.DefaultType),n},n._setListeners=function(){var n=this;i(this._element).on(lt.CLICK_DISMISS,kh,function(){return n.hide(!0)})},n._close=function(){var n=this,t=function(){n._element.classList.add(ff);i(n._element).trigger(lt.HIDDEN)},u;(this._element.classList.remove(yi),this._config.animation)?(u=r.getTransitionDurationFromElement(this._element),i(this._element).one(r.TRANSITION_END,t).emulateTransitionEnd(u)):t()},t._jQueryInterface=function(n){return this.each(function(){var u=i(this),r=u.data(sr);if(r||(r=new t(this,"object"==typeof n&&n),u.data(sr,r)),"string"==typeof n){if("undefined"==typeof r[n])throw new TypeError('No method named "'+n+'"');r[n](this)}})},l(t,null,[{key:"VERSION",get:function(){return"4.2.1"}},{key:"DefaultType",get:function(){return wh}}]),t}();i.fn[ct]=hr._jQueryInterface;i.fn[ct].Constructor=hr;i.fn[ct].noConflict=function(){return i.fn[ct]=yh,hr._jQueryInterface},function(){if("undefined"==typeof i)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var n=i.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1===n[0]&&9===n[1]&&n[2]<1||4<=n[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}();n.Util=r;n.Alert=it;n.Button=wt;n.Carousel=ut;n.Collapse=ni;n.Dropdown=p;n.Modal=ri;n.Popover=ur;n.Scrollspy=si;n.Tab=ai;n.Toast=hr;n.Tooltip=g;Object.defineProperty(n,"__esModule",{value:!0})});