!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):(t=t||self,e(t.bootstrap={},t.jQuery))}(this,function(t,e){"use strict";function n(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||o)[n]}return t[n]}function y(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=b(e,"top"),o=b(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function S(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function I(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],g(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function O(t){var e=t.body,n=t.documentElement,i=g(10)&&getComputedStyle(n);return{height:I("Height",e,n,i),width:I("Width",e,n,i)}}function C(t){return ue({},t,{right:t.left+t.width,bottom:t.top+t.height})}function A(t){var e={};try{if(g(10)){e=t.getBoundingClientRect();var n=b(t,"top"),i=b(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?O(t.ownerDocument):{},s=r.width||t.clientWidth||o.right-o.left,a=r.height||t.clientHeight||o.bottom-o.top,l=t.offsetWidth-s,c=t.offsetHeight-a;if(l||c){var u=d(t);l-=S(u,"x"),c-=S(u,"y"),o.width-=l,o.height-=c}return C(o)}function D(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(10),o="HTML"===e.nodeName,r=A(t),s=A(e),a=m(t),l=d(e),c=parseFloat(l.borderTopWidth,10),u=parseFloat(l.borderLeftWidth,10);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=C({top:r.top-s.top-c,left:r.left-s.left-u,width:r.width,height:r.height});if(h.marginTop=0,h.marginLeft=0,!i&&o){var f=parseFloat(l.marginTop,10),p=parseFloat(l.marginLeft,10);h.top-=c-f,h.bottom-=c-f,h.left-=u-p,h.right-=u-p,h.marginTop=f,h.marginLeft=p}return(i&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(h=y(h,e)),h}function w(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=D(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:b(n),a=e?0:b(n,"left");return C({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r})}function N(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===d(t,"position"))return!0;var n=p(t);return!!n&&N(n)}function L(t){if(!t||!t.parentElement||g())return document.documentElement;for(var e=t.parentElement;e&&"none"===d(e,"transform");)e=e.parentElement;return e||document.documentElement}function P(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?L(t):T(t,e);if("viewport"===i)r=w(s,o);else{var a=void 0;"scrollParent"===i?(a=m(p(e)),"BODY"===a.nodeName&&(a=t.ownerDocument.documentElement)):a="window"===i?t.ownerDocument.documentElement:i;var l=D(a,s,o);if("HTML"!==a.nodeName||N(s))r=l;else{var c=O(t.ownerDocument),u=c.height,h=c.width;r.top+=l.top-l.marginTop,r.bottom=u+l.top,r.left+=l.left-l.marginLeft,r.right=h+l.left}}n=n||0;var f="number"==typeof n;return r.left+=f?n:n.left||0,r.top+=f?n:n.top||0,r.right-=f?n:n.right||0,r.bottom-=f?n:n.bottom||0,r}function H(t){return t.width*t.height}function R(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=P(n,i,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return ue({key:t},a[t],{area:H(a[t])})}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),u=c.length>0?c[0].key:l[0].key,h=t.split("-")[1];return u+(h?"-"+h:"")}function W(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return D(n,i?L(e):T(e,n),i)}function k(t){var e=t.ownerDocument.defaultView,n=e.getComputedStyle(t),i=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0);return{width:t.offsetWidth+o,height:t.offsetHeight+i}}function F(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function M(t,e,n){n=n.split("-")[0];var i=k(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[F(a)],o}function x(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function U(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=x(t,function(t){return t[e]===n});return t.indexOf(i)}function V(t,e,n){return(void 0===n?t:t.slice(0,U(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&f(n)&&(e.offsets.popper=C(e.offsets.popper),e.offsets.reference=C(e.offsets.reference),e=n(e,t))}),e}function j(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=W(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=R(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=M(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=V(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function B(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function G(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;is[p]&&(t.offsets.popper[h]+=a[h]+m-s[p]),t.offsets.popper=C(t.offsets.popper);var g=a[h]+a[c]/2-m/2,_=d(t.instance.popper),v=parseFloat(_["margin"+u],10),E=parseFloat(_["border"+u+"Width"],10),T=g-t.offsets.popper[h]-v-E;return T=Math.max(Math.min(s[c]-m,T),0),t.arrowElement=i,t.offsets.arrow=(n={},ce(n,h,Math.round(T)),ce(n,f,""),n),t}function at(t){return"end"===t?"start":"start"===t?"end":t}function lt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=de.indexOf(t),i=de.slice(n+1).concat(de.slice(0,n));return e?i.reverse():i}function ct(t,e){if(B(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=P(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=F(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case pe.FLIP:s=[i,o];break;case pe.CLOCKWISE:s=lt(i);break;case pe.COUNTERCLOCKWISE:s=lt(i,!0);break;default:s=e.behavior}return s.forEach(function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=F(i);var c=t.offsets.popper,u=t.offsets.reference,h=Math.floor,f="left"===i&&h(c.right)>h(u.left)||"right"===i&&h(c.left)h(u.top)||"bottom"===i&&h(c.top)h(n.right),m=h(c.top)h(n.bottom),_="left"===i&&d||"right"===i&&p||"top"===i&&m||"bottom"===i&&g,v=-1!==["top","bottom"].indexOf(i),E=!!e.flipVariations&&(v&&"start"===r&&d||v&&"end"===r&&p||!v&&"start"===r&&m||!v&&"end"===r&&g);(f||_||E)&&(t.flipped=!0,(f||_)&&(i=s[l+1]),E&&(r=at(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=ue({},t.offsets.popper,M(t.instance.popper,t.offsets.reference,t.placement)),t=V(t.instance.modifiers,t,"flip"))}),t}function ut(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}function ht(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return C(a)[e]/100*r}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}function ft(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(x(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return c=c.map(function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return ht(t,o,e,n)})}),c.forEach(function(t,e){t.forEach(function(n,i){J(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))})}),o}function dt(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=J(+n)?[+n,0]:ft(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t}function pt(t,e){var n=e.boundariesElement||_(t.instance.popper);t.instance.reference===n&&(n=_(n));var i=G("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=P(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=s,o[i]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,h={primary:function(t){var n=u[t];return u[t]l[t]&&!e.escapeWithReference&&(i=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),ce({},n,i)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=ue({},u,h[e](t))}),t.offsets.popper=u,t}function mt(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:ce({},l,r[l]),end:ce({},l,r[l]+r[c]-s[c])};t.offsets.popper=ue({},s,u[i])}return t}function gt(t){if(!rt(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=x(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide(Mt.NEXT)},n.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(Mt.PREV)},n.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(Vt.NEXT_PREV)&&(bt.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(t){t||(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(t){var n=this;this._activeElement=this._element.querySelector(Vt.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0)){if(this._isSliding)return void e(this._element).one(xt.SLID,function(){return n.to(t)});if(i===t)return this.pause(),void this.cycle();var o=t>i?Mt.NEXT:Mt.PREV;this._slide(o,this._items[t])}},n.dispose=function(){e(this._element).off(Rt),e.removeData(this._element,"bs.carousel"),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(t){return t=r({},kt,t),bt.typeCheckConfig(Ht,t,Ft),t},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;e>0&&this.prev(),e<0&&this.next()}},n._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on(xt.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&e(this._element).on(xt.MOUSEENTER,function(e){return t.pause(e)}).on(xt.MOUSELEAVE,function(e){return t.cycle(e)}),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&jt[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX},o=function(e){t._pointerEvent&&jt[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval))};e(this._element.querySelectorAll(Vt.ITEM_IMG)).on(xt.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(e(this._element).on(xt.POINTERDOWN,function(t){return n(t)}),e(this._element).on(xt.POINTERUP,function(t){return o(t)}),this._element.classList.add(Ut.POINTER_EVENT)):(e(this._element).on(xt.TOUCHSTART,function(t){return n(t)}),e(this._element).on(xt.TOUCHMOVE,function(t){return i(t)}),e(this._element).on(xt.TOUCHEND,function(t){return o(t)}))}},n._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},n._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(Vt.ITEM)):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n=t===Mt.NEXT,i=t===Mt.PREV,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=t===Mt.PREV?-1:1,a=(o+s)%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},n._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(Vt.ACTIVE_ITEM)),r=e.Event(xt.SLIDE,{relatedTarget:t,direction:n,from:o,to:i});return e(this._element).trigger(r),r},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(Vt.ACTIVE));e(n).removeClass(Ut.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass(Ut.ACTIVE)}},n._slide=function(t,n){var i,o,r,s=this,a=this._element.querySelector(Vt.ACTIVE_ITEM),l=this._getItemIndex(a),c=n||a&&this._getItemByDirection(t,a),u=this._getItemIndex(c),h=Boolean(this._interval);if(t===Mt.NEXT?(i=Ut.LEFT,o=Ut.NEXT,r=Mt.LEFT):(i=Ut.RIGHT,o=Ut.PREV,r=Mt.RIGHT),c&&e(c).hasClass(Ut.ACTIVE))return void(this._isSliding=!1);if(!this._triggerSlideEvent(c,r).isDefaultPrevented()&&a&&c){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(c);var f=e.Event(xt.SLID,{relatedTarget:c,direction:r,from:l,to:u});if(e(this._element).hasClass(Ut.SLIDE)){e(c).addClass(o),bt.reflow(c),e(a).addClass(i),e(c).addClass(i);var d=parseInt(c.getAttribute("data-interval"),10);d?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=d):this._config.interval=this._config.defaultInterval||this._config.interval;var p=bt.getTransitionDurationFromElement(a);e(a).one(bt.TRANSITION_END,function(){e(c).removeClass(i+" "+o).addClass(Ut.ACTIVE),e(a).removeClass(Ut.ACTIVE+" "+o+" "+i),s._isSliding=!1,setTimeout(function(){return e(s._element).trigger(f)},0)}).emulateTransitionEnd(p)}else e(a).removeClass(Ut.ACTIVE),e(c).addClass(Ut.ACTIVE),this._isSliding=!1,e(this._element).trigger(f);h&&this.cycle()}},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.carousel"),o=r({},kt,e(this).data());"object"==typeof n&&(o=r({},o,n));var s="string"==typeof n?n:o.slide;if(i||(i=new t(this,o),e(this).data("bs.carousel",i)), "number"==typeof n)i.to(n);else if("string"==typeof s){if(void 0===i[s])throw new TypeError('No method named "'+s+'"');i[s]()}else o.interval&&o.ride&&(i.pause(),i.cycle())})},t._dataApiClickHandler=function(n){var i=bt.getSelectorFromElement(this);if(i){var o=e(i)[0];if(o&&e(o).hasClass(Ut.CAROUSEL)){var s=r({},e(o).data(),e(this).data()),a=this.getAttribute("data-slide-to");a&&(s.interval=!1),t._jQueryInterface.call(e(o),s),a&&e(o).data("bs.carousel").to(a),n.preventDefault()}}},i(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return kt}}]),t}();e(document).on(xt.CLICK_DATA_API,Vt.DATA_SLIDE,Bt._dataApiClickHandler),e(window).on(xt.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(Vt.DATA_RIDE)),n=0,i=t.length;n0&&(this._selector=s,this._triggerArray.push(r))}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(){e(this._element).hasClass(Xt.SHOW)?this.hide():this.show()},n.show=function(){var n=this;if(!this._isTransitioning&&!e(this._element).hasClass(Xt.SHOW)){var i,o;if(this._parent&&(i=[].slice.call(this._parent.querySelectorAll($t.ACTIVES)).filter(function(t){return"string"==typeof n._config.parent?t.getAttribute("data-parent")===n._config.parent:t.classList.contains(Xt.COLLAPSE)}),0===i.length&&(i=null)),!(i&&(o=e(i).not(this._selector).data("bs.collapse"))&&o._isTransitioning)){var r=e.Event(Yt.SHOW);if(e(this._element).trigger(r),!r.isDefaultPrevented()){i&&(t._jQueryInterface.call(e(i).not(this._selector),"hide"),o||e(i).data("bs.collapse",null));var s=this._getDimension();e(this._element).removeClass(Xt.COLLAPSE).addClass(Xt.COLLAPSING),this._element.style[s]=0,this._triggerArray.length&&e(this._triggerArray).removeClass(Xt.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var a=function(){e(n._element).removeClass(Xt.COLLAPSING).addClass(Xt.COLLAPSE).addClass(Xt.SHOW),n._element.style[s]="",n.setTransitioning(!1),e(n._element).trigger(Yt.SHOWN)},l=s[0].toUpperCase()+s.slice(1),c="scroll"+l,u=bt.getTransitionDurationFromElement(this._element);e(this._element).one(bt.TRANSITION_END,a).emulateTransitionEnd(u),this._element.style[s]=this._element[c]+"px"}}}},n.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass(Xt.SHOW)){var n=e.Event(Yt.HIDE);if(e(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",bt.reflow(this._element),e(this._element).addClass(Xt.COLLAPSING).removeClass(Xt.COLLAPSE).removeClass(Xt.SHOW);var o=this._triggerArray.length;if(o>0)for(var r=0;r=0){ee=1;break}var ie=Zt&&window.Promise,oe=ie?u:h,re=Zt&&!(!window.MSInputMethodContext||!document.documentMode),se=Zt&&/MSIE 10/.test(navigator.userAgent),ae=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},le=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{};ae(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=oe(this.update.bind(this)),this.options=ue({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(ue({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){i.options.modifiers[e]=ue({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return ue({name:t},i.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&f(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return le(t,[{key:"update",value:function(){return j.call(this)}},{key:"destroy",value:function(){return K.call(this)}},{key:"enableEventListeners",value:function(){return X.call(this)}},{key:"disableEventListeners",value:function(){return $.call(this)}}]),t}();_e.Utils=("undefined"!=typeof window?window:global).PopperUtils,_e.placements=fe,_e.Defaults=ge;var ve="dropdown",Ee=e.fn[ve],Te=new RegExp("38|40|27"),be={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},ye={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},Se={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},Ie={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},Oe={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Ce={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Ae=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var n=t.prototype;return n.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass(ye.DISABLED)){var n=t._getParentFromElement(this._element),i=e(this._menu).hasClass(ye.SHOW);if(t._clearMenus(),!i){var o={relatedTarget:this._element},r=e.Event(be.SHOW,o);if(e(n).trigger(r),!r.isDefaultPrevented()){if(!this._inNavbar){if(void 0===_e)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var s=this._element;"parent"===this._config.reference?s=n:bt.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(n).addClass(ye.POSITION_STATIC),this._popper=new _e(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(n).closest(Se.NAVBAR_NAV).length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass(ye.SHOW),e(n).toggleClass(ye.SHOW).trigger(e.Event(be.SHOWN,o))}}}},n.show=function(){if(!(this._element.disabled||e(this._element).hasClass(ye.DISABLED)||e(this._menu).hasClass(ye.SHOW))){var n={relatedTarget:this._element},i=e.Event(be.SHOW,n),o=t._getParentFromElement(this._element);e(o).trigger(i),i.isDefaultPrevented()||(e(this._menu).toggleClass(ye.SHOW),e(o).toggleClass(ye.SHOW).trigger(e.Event(be.SHOWN,n)))}},n.hide=function(){if(!this._element.disabled&&!e(this._element).hasClass(ye.DISABLED)&&e(this._menu).hasClass(ye.SHOW)){var n={relatedTarget:this._element},i=e.Event(be.HIDE,n),o=t._getParentFromElement(this._element);e(o).trigger(i),i.isDefaultPrevented()||(e(this._menu).toggleClass(ye.SHOW),e(o).toggleClass(ye.SHOW).trigger(e.Event(be.HIDDEN,n)))}},n.dispose=function(){e.removeData(this._element,"bs.dropdown"),e(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},n.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},n._addEventListeners=function(){var t=this;e(this._element).on(be.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},n._getConfig=function(t){return t=r({},this.constructor.Default,e(this._element).data(),t),bt.typeCheckConfig(ve,t,this.constructor.DefaultType),t},n._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(Se.MENU))}return this._menu},n._getPlacement=function(){var t=e(this._element.parentNode),n=Ie.BOTTOM;return t.hasClass(ye.DROPUP)?(n=Ie.TOP,e(this._menu).hasClass(ye.MENURIGHT)&&(n=Ie.TOPEND)):t.hasClass(ye.DROPRIGHT)?n=Ie.RIGHT:t.hasClass(ye.DROPLEFT)?n=Ie.LEFT:e(this._menu).hasClass(ye.MENURIGHT)&&(n=Ie.BOTTOMEND),n},n._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},n._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},n._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.dropdown"),o="object"==typeof n?n:null;if(i||(i=new t(this,o),e(this).data("bs.dropdown",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},t._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll(Se.DATA_TOGGLE)),o=0,r=i.length;o0&&a--,40===n.which&&adocument.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right
',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:Fe},Qe={SHOW:"show",OUT:"out"},Ye={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Xe={FADE:"fade",SHOW:"show"},ze={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},$e={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},Je=function(){function t(t,e){if(void 0===_e)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=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var n=t.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass(Xe.SHOW))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var n=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(n);var i=bt.findShadowRoot(this.element),o=e.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(n.isDefaultPrevented()||!o)return;var r=this.getTipElement(),s=bt.getUID(this.constructor.NAME);r.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&e(r).addClass(Xe.FADE);var a="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,l=this._getAttachment(a);this.addAttachmentClass(l);var c=this._getContainer();e(r).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(r).appendTo(c),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new _e(this.element,r,{placement:l,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:ze.ARROW},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}}),e(r).addClass(Xe.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var u=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),n===Qe.OUT&&t._leave(null,t)};if(e(this.tip).hasClass(Xe.FADE)){var h=bt.getTransitionDurationFromElement(this.tip);e(this.tip).one(bt.TRANSITION_END,u).emulateTransitionEnd(h)}else u()}},n.hide=function(t){var n=this,i=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),r=function(){n._hoverState!==Qe.SHOW&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(i).removeClass(Xe.SHOW),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger[$e.CLICK]=!1,this._activeTrigger[$e.FOCUS]=!1,this._activeTrigger[$e.HOVER]=!1,e(this.tip).hasClass(Xe.FADE)){var s=bt.getTransitionDurationFromElement(i);e(i).one(bt.TRANSITION_END,r).emulateTransitionEnd(s)}else r();this._hoverState=""}},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},n.getTipElement=function(){ return this.tip=this.tip||e(this.config.template)[0],this.tip},n.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(ze.TOOLTIP_INNER)),this.getTitle()),e(t).removeClass(Xe.FADE+" "+Xe.SHOW)},n.setElementContent=function(t,n){if("object"==typeof n&&(n.nodeType||n.jquery))return void(this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text()));this.config.html?(this.config.sanitize&&(n=Et(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n)},n.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},n._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},n._getContainer=function(){return!1===this.config.container?document.body:bt.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},n._getAttachment=function(t){return Ke[t.toUpperCase()]},n._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if(n!==$e.MANUAL){var i=n===$e.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o=n===$e.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(i,t.config.selector,function(e){return t._enter(e)}).on(o,t.config.selector,function(e){return t._leave(e)})}}),e(this.element).closest(".modal").on("hide.bs.modal",function(){t.element&&t.hide()}),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(t,n){var i=this.constructor.DATA_KEY;return n=n||e(t.currentTarget).data(i),n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?$e.FOCUS:$e.HOVER]=!0),e(n.getTipElement()).hasClass(Xe.SHOW)||n._hoverState===Qe.SHOW?void(n._hoverState=Qe.SHOW):(clearTimeout(n._timeout),n._hoverState=Qe.SHOW,n.config.delay&&n.config.delay.show?void(n._timeout=setTimeout(function(){n._hoverState===Qe.SHOW&&n.show()},n.config.delay.show)):void n.show())},n._leave=function(t,n){var i=this.constructor.DATA_KEY;if(n=n||e(t.currentTarget).data(i),n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?$e.FOCUS:$e.HOVER]=!1),!n._isWithActiveTrigger()){if(clearTimeout(n._timeout),n._hoverState=Qe.OUT,!n.config.delay||!n.config.delay.hide)return void n.hide();n._timeout=setTimeout(function(){n._hoverState===Qe.OUT&&n.hide()},n.config.delay.hide)}},n._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},n._getConfig=function(t){var n=e(this.element).data();return Object.keys(n).forEach(function(t){-1!==Be.indexOf(t)&&delete n[t]}),t=r({},this.constructor.Default,n,"object"==typeof t&&t?t:{}),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),bt.typeCheckConfig(Ue,t,this.constructor.DefaultType),t.sanitize&&(t.template=Et(t.template,t.whiteList,t.sanitizeFn)),t},n._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},n._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(je);null!==n&&n.length&&t.removeClass(n.join(""))},n._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},n._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass(Xe.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},t._jQueryInterface=function(n){return this.each(function(){var i=e(this).data("bs.tooltip"),o="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,o),e(this).data("bs.tooltip",i)),"string"==typeof n)){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return qe}},{key:"NAME",get:function(){return Ue}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return Ye}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Ge}}]),t}();e.fn[Ue]=Je._jQueryInterface,e.fn[Ue].Constructor=Je,e.fn[Ue].noConflict=function(){return e.fn[Ue]=Ve,Je._jQueryInterface};var Ze="popover",tn=e.fn[Ze],en=new RegExp("(^|\\s)bs-popover\\S+","g"),nn=r({},Je.Default,{placement:"right",trigger:"click",content:"",template:''}),on=r({},Je.DefaultType,{content:"(string|element|function)"}),rn={FADE:"fade",SHOW:"show"},sn={TITLE:".popover-header",CONTENT:".popover-body"},an={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},ln=function(t){function n(){return t.apply(this,arguments)||this}s(n,t);var o=n.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},o.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},o.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(sn.TITLE),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(sn.CONTENT),n),t.removeClass(rn.FADE+" "+rn.SHOW)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(en);null!==n&&n.length>0&&t.removeClass(n.join(""))},n._jQueryInterface=function(t){return this.each(function(){var i=e(this).data("bs.popover"),o="object"==typeof t?t:null;if((i||!/dispose|hide/.test(t))&&(i||(i=new n(this,o),e(this).data("bs.popover",i)),"string"==typeof t)){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}})},i(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return nn}},{key:"NAME",get:function(){return Ze}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return an}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return on}}]),n}(Je);e.fn[Ze]=ln._jQueryInterface,e.fn[Ze].Constructor=ln,e.fn[Ze].noConflict=function(){return e.fn[Ze]=tn,ln._jQueryInterface};var cn="scrollspy",un=e.fn[cn],hn={offset:10,method:"auto",target:""},fn={offset:"number",method:"string",target:"(string|element)"},dn={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},pn={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},mn={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},gn={OFFSET:"offset",POSITION:"position"},_n=function(){function t(t,n){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" "+mn.NAV_LINKS+","+this._config.target+" "+mn.LIST_ITEMS+","+this._config.target+" "+mn.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on(dn.SCROLL,function(t){return i._process(t)}),this.refresh(),this._process()}var n=t.prototype;return n.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?gn.OFFSET:gn.POSITION,i="auto"===this._config.method?n:this._config.method,o=i===gn.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var n,r=bt.getSelectorFromElement(t);if(r&&(n=document.querySelector(r)),n){var s=n.getBoundingClientRect();if(s.width||s.height)return[e(n)[i]().top+o,r]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},n.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(this._scrollElement).off(".bs.scrollspy"),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(t){if(t=r({},hn,"object"==typeof t&&t?t:{}),"string"!=typeof t.target){var n=e(t.target).attr("id");n||(n=bt.getUID(cn),e(t.target).attr("id",n)),t.target="#"+n}return bt.typeCheckConfig(cn,t,fn),t},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,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];return void(this._activeTarget!==i&&this._activate(i))}if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length,r=o;r--;){this._activeTarget!==this._targets[r]&&t>=this._offsets[r]&&(void 0===this._offsets[r+1]||t li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},yn=function(){function t(t){this._element=t}var n=t.prototype;return n.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&e(this._element).hasClass(Tn.ACTIVE)||e(this._element).hasClass(Tn.DISABLED))){var n,i,o=e(this._element).closest(bn.NAV_LIST_GROUP)[0],r=bt.getSelectorFromElement(this._element);if(o){var s="UL"===o.nodeName||"OL"===o.nodeName?bn.ACTIVE_UL:bn.ACTIVE;i=e.makeArray(e(o).find(s)),i=i[i.length-1]}var a=e.Event(En.HIDE,{relatedTarget:this._element}),l=e.Event(En.SHOW,{relatedTarget:i});if(i&&e(i).trigger(a),e(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){r&&(n=document.querySelector(r)),this._activate(this._element,o);var c=function(){var n=e.Event(En.HIDDEN,{relatedTarget:t._element}),o=e.Event(En.SHOWN,{relatedTarget:i});e(i).trigger(n),e(t._element).trigger(o)};n?this._activate(n,n.parentNode,c):c()}}},n.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},n._activate=function(t,n,i){var o=this,r=!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?e(n).children(bn.ACTIVE):e(n).find(bn.ACTIVE_UL),s=r[0],a=i&&s&&e(s).hasClass(Tn.FADE),l=function(){return o._transitionComplete(t,s,i)};if(s&&a){var c=bt.getTransitionDurationFromElement(s);e(s).removeClass(Tn.SHOW).one(bt.TRANSITION_END,l).emulateTransitionEnd(c)}else l()},n._transitionComplete=function(t,n,i){if(n){e(n).removeClass(Tn.ACTIVE);var o=e(n.parentNode).find(bn.DROPDOWN_ACTIVE_CHILD)[0];o&&e(o).removeClass(Tn.ACTIVE),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(e(t).addClass(Tn.ACTIVE),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),bt.reflow(t),t.classList.contains(Tn.FADE)&&t.classList.add(Tn.SHOW),t.parentNode&&e(t.parentNode).hasClass(Tn.DROPDOWN_MENU)){var r=e(t).closest(bn.DROPDOWN)[0];if(r){var s=[].slice.call(r.querySelectorAll(bn.DROPDOWN_TOGGLE));e(s).addClass(Tn.ACTIVE)}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.tab");if(o||(o=new t(this),i.data("bs.tab",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n]()}})},i(t,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),t}();e(document).on(En.CLICK_DATA_API,bn.DATA_TOGGLE,function(t){t.preventDefault(),yn._jQueryInterface.call(e(this),"show")}),e.fn.tab=yn._jQueryInterface,e.fn.tab.Constructor=yn,e.fn.tab.noConflict=function(){return e.fn.tab=vn,yn._jQueryInterface};var Sn=e.fn.toast,In={CLICK_DISMISS:"click.dismiss.bs.toast",HIDE:"hide.bs.toast",HIDDEN:"hidden.bs.toast",SHOW:"show.bs.toast",SHOWN:"shown.bs.toast"},On={FADE:"fade",HIDE:"hide",SHOW:"show",SHOWING:"showing"},Cn={animation:"boolean",autohide:"boolean",delay:"number"},An={animation:!0,autohide:!0,delay:500},Dn={DATA_DISMISS:'[data-dismiss="toast"]'},wn=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var n=t.prototype;return n.show=function(){var t=this;e(this._element).trigger(In.SHOW),this._config.animation&&this._element.classList.add(On.FADE);var n=function(){t._element.classList.remove(On.SHOWING),t._element.classList.add(On.SHOW),e(t._element).trigger(In.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove(On.HIDE),this._element.classList.add(On.SHOWING),this._config.animation){var i=bt.getTransitionDurationFromElement(this._element);e(this._element).one(bt.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n.hide=function(t){var n=this;this._element.classList.contains(On.SHOW)&&(e(this._element).trigger(In.HIDE),t?this._close():this._timeout=setTimeout(function(){n._close()},this._config.delay))},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(On.SHOW)&&this._element.classList.remove(On.SHOW),e(this._element).off(In.CLICK_DISMISS),e.removeData(this._element,"bs.toast"),this._element=null,this._config=null},n._getConfig=function(t){return t=r({},An,e(this._element).data(),"object"==typeof t&&t?t:{}),bt.typeCheckConfig("toast",t,this.constructor.DefaultType),t},n._setListeners=function(){var t=this;e(this._element).on(In.CLICK_DISMISS,Dn.DATA_DISMISS,function(){return t.hide(!0)})},n._close=function(){var t=this,n=function(){t._element.classList.add(On.HIDE),e(t._element).trigger(In.HIDDEN)};if(this._element.classList.remove(On.SHOW),this._config.animation){var i=bt.getTransitionDurationFromElement(this._element);e(this._element).one(bt.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},t._jQueryInterface=function(n){return this.each(function(){var i=e(this),o=i.data("bs.toast"),r="object"==typeof n&&n;if(o||(o=new t(this,r),i.data("bs.toast",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n](this)}})},i(t,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Cn}},{key:"Default",get:function(){return An}}]),t}();e.fn.toast=wn._jQueryInterface,e.fn.toast.Constructor=wn,e.fn.toast.noConflict=function(){return e.fn.toast=Sn,wn._jQueryInterface},function(){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=bt,t.Alert=At,t.Button=Pt,t.Carousel=Bt,t.Collapse=Jt,t.Dropdown=Ae,t.Modal=Re,t.Popover=ln,t.Scrollspy=_n,t.Tab=yn,t.Toast=wn,t.Tooltip=Je,Object.defineProperty(t,"__esModule",{value:!0})}),function(t){var e={common:{init:function(){},finalize:function(){}},home:{init:function(){},finalize:function(){}},about_us:{init:function(){}}},n={fire:function(t,n,i){var o,r=e;n=void 0===n?"init":n,o=""!==t,o=o&&r[t],(o=o&&"function"==typeof r[t][n])&&r[t][n](i)},loadEvents:function(){n.fire("common"),t.each(document.body.className.replace(/-/g,"_").split(/\s+/),function(t,e){n.fire(e),n.fire(e,"finalize")}),n.fire("common","finalize")}};t(document).ready(n.loadEvents)}(jQuery); //# sourceMappingURL=main.js.map