/*! * Bootstrap v5.0.0-beta1 (https://getbootstrap.com/) * Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";function t(t,e){for(var i=0;i0,n._pointerEvent=Boolean(window.PointerEvent),n._addEventListeners(),n}n(o,t);var s=o.prototype;return s.next=function(){this._isSliding||this._slide("next")},s.nextWhenVisible=function(){!document.hidden&&m(this._element)&&this.next()},s.prev=function(){this._isSliding||this._slide("prev")},s.pause=function(t){t||(this._isPaused=!0),U.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(u(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},s.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},s.to=function(t){var e=this;this._activeElement=U.findOne(".active.carousel-item",this._element);var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)$.one(this._element,"slid.bs.carousel",(function(){return e.to(t)}));else{if(i===t)return this.pause(),void this.cycle();var n=t>i?"next":"prev";this._slide(n,this._items[t])}},s.dispose=function(){t.prototype.dispose.call(this),$.off(this._element,".bs.carousel"),this._items=null,this._config=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},s._getConfig=function(t){return t=i({},Q,t),f(Y,t,V),t},s._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},s._addEventListeners=function(){var t=this;this._config.keyboard&&$.on(this._element,"keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&($.on(this._element,"mouseenter.bs.carousel",(function(e){return t.pause(e)})),$.on(this._element,"mouseleave.bs.carousel",(function(e){return t.cycle(e)}))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()},s._addTouchEventListeners=function(){var t=this,e=function(e){t._pointerEvent&&K[e.pointerType.toUpperCase()]?t.touchStartX=e.clientX:t._pointerEvent||(t.touchStartX=e.touches[0].clientX)},i=function(e){t._pointerEvent&&K[e.pointerType.toUpperCase()]&&(t.touchDeltaX=e.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))};U.find(".carousel-item img",this._element).forEach((function(t){$.on(t,"dragstart.bs.carousel",(function(t){return t.preventDefault()}))})),this._pointerEvent?($.on(this._element,"pointerdown.bs.carousel",(function(t){return e(t)})),$.on(this._element,"pointerup.bs.carousel",(function(t){return i(t)})),this._element.classList.add("pointer-event")):($.on(this._element,"touchstart.bs.carousel",(function(t){return e(t)})),$.on(this._element,"touchmove.bs.carousel",(function(e){return function(e){e.touches&&e.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.touches[0].clientX-t.touchStartX}(e)})),$.on(this._element,"touchend.bs.carousel",(function(t){return i(t)})))},s._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.key){case"ArrowLeft":t.preventDefault(),this.prev();break;case"ArrowRight":t.preventDefault(),this.next()}},s._getItemIndex=function(t){return this._items=t&&t.parentNode?U.find(".carousel-item",t.parentNode):[],this._items.indexOf(t)},s._getItemByDirection=function(t,e){var i="next"===t,n="prev"===t,o=this._getItemIndex(e),s=this._items.length-1;if((n&&0===o||i&&o===s)&&!this._config.wrap)return e;var r=(o+("prev"===t?-1:1))%this._items.length;return-1===r?this._items[this._items.length-1]:this._items[r]},s._triggerSlideEvent=function(t,e){var i=this._getItemIndex(t),n=this._getItemIndex(U.findOne(".active.carousel-item",this._element));return $.trigger(this._element,"slide.bs.carousel",{relatedTarget:t,direction:e,from:n,to:i})},s._setActiveIndicatorElement=function(t){if(this._indicatorsElement){for(var e=U.find(".active",this._indicatorsElement),i=0;i0)for(var n=0;n=0}function _t(t){return((ut(t)?t.ownerDocument:t.document)||window.document).documentElement}function bt(t){return"html"===ct(t)?t:t.assignedSlot||t.parentNode||t.host||_t(t)}function wt(t){if(!ht(t)||"fixed"===vt(t).position)return null;var e=t.offsetParent;if(e){var i=_t(e);if("body"===ct(e)&&"static"===vt(e).position&&"static"!==vt(i).position)return i}return e}function kt(t){for(var e=dt(t),i=wt(t);i&&yt(i)&&"static"===vt(i).position;)i=wt(i);return i&&"body"===ct(i)&&"static"===vt(i).position?e:i||function(t){for(var e=bt(t);ht(e)&&["html","body"].indexOf(ct(e))<0;){var i=vt(e);if("none"!==i.transform||"none"!==i.perspective||i.willChange&&"auto"!==i.willChange)return e;e=e.parentNode}return null}(t)||e}function Tt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function St(t,e,i){return Math.max(t,Math.min(e,i))}function Ct(t){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),t)}function xt(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var Et={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,o=i.elements.arrow,s=i.modifiersData.popperOffsets,r=ft(i.placement),a=Tt(r),l=[ot,nt].indexOf(r)>=0?"height":"width";if(o&&s){var c=i.modifiersData[n+"#persistent"].padding,d=mt(o),u="y"===a?et:ot,h="y"===a?it:nt,p=i.rects.reference[l]+i.rects.reference[a]-s[a]-i.rects.popper[l],f=s[a]-i.rects.reference[a],m=kt(o),g=m?"y"===a?m.clientHeight||0:m.clientWidth||0:0,v=p/2-f/2,y=c[u],_=g-d[l]-c[h],b=g/2-d[l]/2+v,w=St(y,b,_),k=a;i.modifiersData[n]=((e={})[k]=w,e.centerOffset=w-b,e)}},effect:function(t){var e=t.state,i=t.options,n=t.name,o=i.element,s=void 0===o?"[data-popper-arrow]":o,r=i.padding,a=void 0===r?0:r;null!=s&&("string"!=typeof s||(s=e.elements.popper.querySelector(s)))&>(e.elements.popper,s)&&(e.elements.arrow=s,e.modifiersData[n+"#persistent"]={padding:Ct("number"!=typeof a?a:xt(a,st))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},Ot={top:"auto",right:"auto",bottom:"auto",left:"auto"};function At(t){var e,i=t.popper,n=t.popperRect,o=t.placement,s=t.offsets,r=t.position,a=t.gpuAcceleration,l=t.adaptive,c=function(t){var e=t.x,i=t.y,n=window.devicePixelRatio||1;return{x:Math.round(e*n)/n||0,y:Math.round(i*n)/n||0}}(s),d=c.x,u=c.y,h=s.hasOwnProperty("x"),p=s.hasOwnProperty("y"),f=ot,m=et,g=window;if(l){var v=kt(i);v===dt(i)&&(v=_t(i)),o===et&&(m=it,u-=v.clientHeight-n.height,u*=a?1:-1),o===ot&&(f=nt,d-=v.clientWidth-n.width,d*=a?1:-1)}var y,_=Object.assign({position:r},l&&Ot);return a?Object.assign(Object.assign({},_),{},((y={})[m]=p?"0":"",y[f]=h?"0":"",y.transform=(g.devicePixelRatio||1)<2?"translate("+d+"px, "+u+"px)":"translate3d("+d+"px, "+u+"px, 0)",y)):Object.assign(Object.assign({},_),{},((e={})[m]=p?u+"px":"",e[f]=h?d+"px":"",e.transform="",e))}var It={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,o=void 0===n||n,s=i.adaptive,r=void 0===s||s,a={placement:ft(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign(Object.assign({},e.styles.popper),At(Object.assign(Object.assign({},a),{},{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign(Object.assign({},e.styles.arrow),At(Object.assign(Object.assign({},a),{},{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1})))),e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-placement":e.placement})},data:{}},Lt={passive:!0},Dt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,o=n.scroll,s=void 0===o||o,r=n.resize,a=void 0===r||r,l=dt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach((function(t){t.addEventListener("scroll",i.update,Lt)})),a&&l.addEventListener("resize",i.update,Lt),function(){s&&c.forEach((function(t){t.removeEventListener("scroll",i.update,Lt)})),a&&l.removeEventListener("resize",i.update,Lt)}},data:{}},zt={left:"right",right:"left",bottom:"top",top:"bottom"};function Mt(t){return t.replace(/left|right|bottom|top/g,(function(t){return zt[t]}))}var Pt={start:"end",end:"start"};function jt(t){return t.replace(/start|end/g,(function(t){return Pt[t]}))}function $t(t){var e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function Ht(t){var e=dt(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Wt(t){return $t(_t(t)).left+Ht(t).scrollLeft}function Nt(t){var e=vt(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+n)}function Bt(t,e){void 0===e&&(e=[]);var i=function t(e){return["html","body","#document"].indexOf(ct(e))>=0?e.ownerDocument.body:ht(e)&&Nt(e)?e:t(bt(e))}(t),n="body"===ct(i),o=dt(i),s=n?[o].concat(o.visualViewport||[],Nt(i)?i:[]):i,r=e.concat(s);return n?r:r.concat(Bt(bt(s)))}function Rt(t){return Object.assign(Object.assign({},t),{},{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Ft(t,e){return"viewport"===e?Rt(function(t){var e=dt(t),i=_t(t),n=e.visualViewport,o=i.clientWidth,s=i.clientHeight,r=0,a=0;return n&&(o=n.width,s=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=n.offsetLeft,a=n.offsetTop)),{width:o,height:s,x:r+Wt(t),y:a}}(t)):ht(e)?function(t){var e=$t(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):Rt(function(t){var e=_t(t),i=Ht(t),n=t.ownerDocument.body,o=Math.max(e.scrollWidth,e.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=Math.max(e.scrollHeight,e.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),r=-i.scrollLeft+Wt(t),a=-i.scrollTop;return"rtl"===vt(n||e).direction&&(r+=Math.max(e.clientWidth,n?n.clientWidth:0)-o),{width:o,height:s,x:r,y:a}}(_t(t)))}function qt(t){return t.split("-")[1]}function Ut(t){var e,i=t.reference,n=t.element,o=t.placement,s=o?ft(o):null,r=o?qt(o):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(s){case et:e={x:a,y:i.y-n.height};break;case it:e={x:a,y:i.y+i.height};break;case nt:e={x:i.x+i.width,y:l};break;case ot:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var c=s?Tt(s):null;if(null!=c){var d="y"===c?"height":"width";switch(r){case"start":e[c]=Math.floor(e[c])-Math.floor(i[d]/2-n[d]/2);break;case"end":e[c]=Math.floor(e[c])+Math.ceil(i[d]/2-n[d]/2)}}return e}function Yt(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=void 0===n?t.placement:n,s=i.boundary,r=void 0===s?"clippingParents":s,a=i.rootBoundary,l=void 0===a?"viewport":a,c=i.elementContext,d=void 0===c?"popper":c,u=i.altBoundary,h=void 0!==u&&u,p=i.padding,f=void 0===p?0:p,m=Ct("number"!=typeof f?f:xt(f,st)),g="popper"===d?"reference":"popper",v=t.elements.reference,y=t.rects.popper,_=t.elements[h?g:d],b=function(t,e,i){var n="clippingParents"===e?function(t){var e=Bt(bt(t)),i=["absolute","fixed"].indexOf(vt(t).position)>=0&&ht(t)?kt(t):t;return ut(i)?e.filter((function(t){return ut(t)&>(t,i)&&"body"!==ct(t)})):[]}(t):[].concat(e),o=[].concat(n,[i]),s=o[0],r=o.reduce((function(e,i){var n=Ft(t,i);return e.top=Math.max(n.top,e.top),e.right=Math.min(n.right,e.right),e.bottom=Math.min(n.bottom,e.bottom),e.left=Math.max(n.left,e.left),e}),Ft(t,s));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}(ut(_)?_:_.contextElement||_t(t.elements.popper),r,l),w=$t(v),k=Ut({reference:w,element:y,strategy:"absolute",placement:o}),T=Rt(Object.assign(Object.assign({},y),k)),S="popper"===d?T:w,C={top:b.top-S.top+m.top,bottom:S.bottom-b.bottom+m.bottom,left:b.left-S.left+m.left,right:S.right-b.right+m.right},x=t.modifiersData.offset;if("popper"===d&&x){var E=x[o];Object.keys(C).forEach((function(t){var e=[nt,it].indexOf(t)>=0?1:-1,i=[et,it].indexOf(t)>=0?"y":"x";C[t]+=E[i]*e}))}return C}var Qt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var o=i.mainAxis,s=void 0===o||o,r=i.altAxis,a=void 0===r||r,l=i.fallbackPlacements,c=i.padding,d=i.boundary,u=i.rootBoundary,h=i.altBoundary,p=i.flipVariations,f=void 0===p||p,m=i.allowedAutoPlacements,g=e.options.placement,v=ft(g),y=l||(v!==g&&f?function(t){if("auto"===ft(t))return[];var e=Mt(t);return[jt(t),e,jt(e)]}(g):[Mt(g)]),_=[g].concat(y).reduce((function(t,i){return t.concat("auto"===ft(i)?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=i.boundary,s=i.rootBoundary,r=i.padding,a=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?at:l,d=qt(n),u=d?a?rt:rt.filter((function(t){return qt(t)===d})):st,h=u.filter((function(t){return c.indexOf(t)>=0}));0===h.length&&(h=u);var p=h.reduce((function(e,i){return e[i]=Yt(t,{placement:i,boundary:o,rootBoundary:s,padding:r})[ft(i)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:i,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:m}):i)}),[]),b=e.rects.reference,w=e.rects.popper,k=new Map,T=!0,S=_[0],C=0;C<_.length;C++){var x=_[C],E=ft(x),O="start"===qt(x),A=[et,it].indexOf(E)>=0,I=A?"width":"height",L=Yt(e,{placement:x,boundary:d,rootBoundary:u,altBoundary:h,padding:c}),D=A?O?nt:ot:O?it:et;b[I]>w[I]&&(D=Mt(D));var z=Mt(D),M=[];if(s&&M.push(L[E]<=0),a&&M.push(L[D]<=0,L[z]<=0),M.every((function(t){return t}))){S=x,T=!1;break}k.set(x,M)}if(T)for(var P=function(t){var e=_.find((function(e){var i=k.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return S=e,"break"},j=f?3:1;j>0&&"break"!==P(j);j--);e.placement!==S&&(e.modifiersData[n]._skip=!0,e.placement=S,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Vt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Kt(t){return[et,nt,it,ot].some((function(e){return t[e]>=0}))}var Xt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,o=e.rects.popper,s=e.modifiersData.preventOverflow,r=Yt(e,{elementContext:"reference"}),a=Yt(e,{altBoundary:!0}),l=Vt(r,n),c=Vt(a,o,s),d=Kt(l),u=Kt(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign(Object.assign({},e.attributes.popper),{},{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},Gt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,o=i.offset,s=void 0===o?[0,0]:o,r=at.reduce((function(t,i){return t[i]=function(t,e,i){var n=ft(t),o=[ot,et].indexOf(n)>=0?-1:1,s="function"==typeof i?i(Object.assign(Object.assign({},e),{},{placement:t})):i,r=s[0],a=s[1];return r=r||0,a=(a||0)*o,[ot,nt].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}(i,e.rects,s),t}),{}),a=r[e.placement],l=a.x,c=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[n]=r}},Zt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=Ut({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Jt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,o=i.mainAxis,s=void 0===o||o,r=i.altAxis,a=void 0!==r&&r,l=i.boundary,c=i.rootBoundary,d=i.altBoundary,u=i.padding,h=i.tether,p=void 0===h||h,f=i.tetherOffset,m=void 0===f?0:f,g=Yt(e,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=ft(e.placement),y=qt(e.placement),_=!y,b=Tt(v),w="x"===b?"y":"x",k=e.modifiersData.popperOffsets,T=e.rects.reference,S=e.rects.popper,C="function"==typeof m?m(Object.assign(Object.assign({},e.rects),{},{placement:e.placement})):m,x={x:0,y:0};if(k){if(s){var E="y"===b?et:ot,O="y"===b?it:nt,A="y"===b?"height":"width",I=k[b],L=k[b]+g[E],D=k[b]-g[O],z=p?-S[A]/2:0,M="start"===y?T[A]:S[A],P="start"===y?-S[A]:-T[A],j=e.elements.arrow,$=p&&j?mt(j):{width:0,height:0},H=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},W=H[E],N=H[O],B=St(0,T[A],$[A]),R=_?T[A]/2-z-B-W-C:M-B-W-C,F=_?-T[A]/2+z+B+N+C:P+B+N+C,q=e.elements.arrow&&kt(e.elements.arrow),U=q?"y"===b?q.clientTop||0:q.clientLeft||0:0,Y=e.modifiersData.offset?e.modifiersData.offset[e.placement][b]:0,Q=k[b]+R-Y-U,V=k[b]+F-Y,K=St(p?Math.min(L,Q):L,I,p?Math.max(D,V):D);k[b]=K,x[b]=K-I}if(a){var X="x"===b?et:ot,G="x"===b?it:nt,Z=k[w],J=St(Z+g[X],Z,Z-g[G]);k[w]=J,x[w]=J-Z}e.modifiersData[n]=x}},requiresIfExists:["offset"]};function te(t,e,i){void 0===i&&(i=!1);var n,o,s=_t(e),r=$t(t),a=ht(e),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!i)&&(("body"!==ct(e)||Nt(s))&&(l=(n=e)!==dt(n)&&ht(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:Ht(n)),ht(e)?((c=$t(e)).x+=e.clientLeft,c.y+=e.clientTop):s&&(c.x=Wt(s))),{x:r.left+l.scrollLeft-c.x,y:r.top+l.scrollTop-c.y,width:r.width,height:r.height}}var ee={placement:"bottom",modifiers:[],strategy:"absolute"};function ie(){for(var t=arguments.length,e=new Array(t),i=0;i0&&s--,"ArrowDown"===t.key&&sdocument.documentElement.clientHeight;e||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var i=d(this._dialog);$.off(this._element,"transitionend"),$.one(this._element,"transitionend",(function(){t._element.classList.remove("modal-static"),e||($.one(t._element,"transitionend",(function(){t._element.style.overflowY=""})),p(t._element,i))})),p(this._element,i),this._element.focus()}},s._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;(!this._isBodyOverflowing&&t&&!b||this._isBodyOverflowing&&!t&&b)&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),(this._isBodyOverflowing&&!t&&!b||!this._isBodyOverflowing&&t&&b)&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},s._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},s._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",container:!1,fallbackPlacements:null,boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},De={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"},ze=function(t){function o(e,i){var n;if(void 0===ae)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");return(n=t.call(this,e)||this)._isEnabled=!0,n._timeout=0,n._hoverState="",n._activeTrigger={},n._popper=null,n.config=n._getConfig(i),n.tip=null,n._setListeners(),n}n(o,t);var s=o.prototype;return s.enable=function(){this._isEnabled=!0},s.disable=function(){this._isEnabled=!1},s.toggleEnabled=function(){this._isEnabled=!this._isEnabled},s.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,i=T(t.delegateTarget,e);i||(i=new this.constructor(t.delegateTarget,this._getDelegateConfig()),k(t.delegateTarget,e,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(this.getTipElement().classList.contains("show"))return void this._leave(null,this);this._enter(null,this)}},s.dispose=function(){clearTimeout(this._timeout),$.off(this._element,this.constructor.EVENT_KEY),$.off(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.parentNode.removeChild(this.tip),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.config=null,this.tip=null,t.prototype.dispose.call(this)},s.show=function(){var t=this;if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var e=$.trigger(this._element,this.constructor.Event.SHOW),i=function t(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var i=e.getRootNode();return i instanceof ShadowRoot?i:null}return e instanceof ShadowRoot?e:e.parentNode?t(e.parentNode):null}(this._element),n=null===i?this._element.ownerDocument.documentElement.contains(this._element):i.contains(this._element);if(e.defaultPrevented||!n)return;var o=this.getTipElement(),s=r(this.constructor.NAME);o.setAttribute("id",s),this._element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&o.classList.add("fade");var a="function"==typeof this.config.placement?this.config.placement.call(this,o,this._element):this.config.placement,l=this._getAttachment(a);this._addAttachmentClass(l);var c=this._getContainer();k(o,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||c.appendChild(o),$.trigger(this._element,this.constructor.Event.INSERTED),this._popper=re(this._element,o,this._getPopperConfig(l)),o.classList.add("show");var u,h,f="function"==typeof this.config.customClass?this.config.customClass():this.config.customClass;f&&(u=o.classList).add.apply(u,f.split(" ")),"ontouchstart"in document.documentElement&&(h=[]).concat.apply(h,document.body.children).forEach((function(t){$.on(t,"mouseover",(function(){}))}));var m=function(){var e=t._hoverState;t._hoverState=null,$.trigger(t._element,t.constructor.Event.SHOWN),"out"===e&&t._leave(null,t)};if(this.tip.classList.contains("fade")){var g=d(this.tip);$.one(this.tip,"transitionend",m),p(this.tip,g)}else m()}},s.hide=function(){var t=this;if(this._popper){var e=this.getTipElement(),i=function(){"show"!==t._hoverState&&e.parentNode&&e.parentNode.removeChild(e),t._cleanTipClass(),t._element.removeAttribute("aria-describedby"),$.trigger(t._element,t.constructor.Event.HIDDEN),t._popper&&(t._popper.destroy(),t._popper=null)};if(!$.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented){var n;if(e.classList.remove("show"),"ontouchstart"in document.documentElement&&(n=[]).concat.apply(n,document.body.children).forEach((function(t){return $.off(t,"mouseover",g)})),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this.tip.classList.contains("fade")){var o=d(e);$.one(e,"transitionend",i),p(e,o)}else i();this._hoverState=""}}},s.update=function(){null!==this._popper&&this._popper.update()},s.isWithContent=function(){return Boolean(this.getTitle())},s.getTipElement=function(){if(this.tip)return this.tip;var t=document.createElement("div");return t.innerHTML=this.config.template,this.tip=t.children[0],this.tip},s.setContent=function(){var t=this.getTipElement();this.setElementContent(U.findOne(".tooltip-inner",t),this.getTitle()),t.classList.remove("fade","show")},s.setElementContent=function(t,e){if(null!==t)return"object"==typeof e&&h(e)?(e.jquery&&(e=e[0]),void(this.config.html?e.parentNode!==t&&(t.innerHTML="",t.appendChild(e)):t.textContent=e.textContent)):void(this.config.html?(this.config.sanitize&&(e=Ce(e,this.config.allowList,this.config.sanitizeFn)),t.innerHTML=e):t.textContent=e)},s.getTitle=function(){var t=this._element.getAttribute("data-bs-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this._element):this.config.title),t},s.updateAttachment=function(t){return"right"===t?"end":"left"===t?"start":t},s._getPopperConfig=function(t){var e=this,n={name:"flip",options:{altBoundary:!0}};return this.config.fallbackPlacements&&(n.options.fallbackPlacements=this.config.fallbackPlacements),i({},{placement:t,modifiers:[n,{name:"preventOverflow",options:{rootBoundary:this.config.boundary}},{name:"arrow",options:{element:"."+this.constructor.NAME+"-arrow"}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:function(t){return e._handlePopperPlacementChange(t)}}],onFirstUpdate:function(t){t.options.placement!==t.placement&&e._handlePopperPlacementChange(t)}},this.config.popperConfig)},s._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-tooltip-"+this.updateAttachment(t))},s._getContainer=function(){return!1===this.config.container?document.body:h(this.config.container)?this.config.container:U.findOne(this.config.container)},s._getAttachment=function(t){return Ie[t.toUpperCase()]},s._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)$.on(t._element,t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==e){var i="hover"===e?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,n="hover"===e?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;$.on(t._element,i,t.config.selector,(function(e){return t._enter(e)})),$.on(t._element,n,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t._element&&t.hide()},$.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=i({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},s._fixTitle=function(){var t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-bs-original-title");(t||"string"!==e)&&(this._element.setAttribute("data-bs-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))},s._enter=function(t,e){var i=this.constructor.DATA_KEY;(e=e||T(t.delegateTarget,i))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),k(t.delegateTarget,i,e)),t&&(e._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),e.getTipElement().classList.contains("show")||"show"===e._hoverState?e._hoverState="show":(clearTimeout(e._timeout),e._hoverState="show",e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){"show"===e._hoverState&&e.show()}),e.config.delay.show):e.show())},s._leave=function(t,e){var i=this.constructor.DATA_KEY;(e=e||T(t.delegateTarget,i))||(e=new this.constructor(t.delegateTarget,this._getDelegateConfig()),k(t.delegateTarget,i,e)),t&&(e._activeTrigger["focusout"===t.type?"focus":"hover"]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){"out"===e._hoverState&&e.hide()}),e.config.delay.hide):e.hide())},s._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},s._getConfig=function(t){var e=q.getDataAttributes(this._element);return Object.keys(e).forEach((function(t){Oe.has(t)&&delete e[t]})),t&&"object"==typeof t.container&&t.container.jquery&&(t.container=t.container[0]),"number"==typeof(t=i({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),f(xe,t,this.constructor.DefaultType),t.sanitize&&(t.template=Ce(t.template,t.allowList,t.sanitizeFn)),t},s._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},s._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(Ee);null!==e&&e.length>0&&e.map((function(t){return t.trim()})).forEach((function(e){return t.classList.remove(e)}))},s._handlePopperPlacementChange=function(t){var e=t.state;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))},o.jQueryInterface=function(t){return this.each((function(){var e=T(this,"bs.tooltip"),i="object"==typeof t&&t;if((e||!/dispose|hide/.test(t))&&(e||(e=new o(this,i)),"string"==typeof t)){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}}))},e(o,null,[{key:"Default",get:function(){return Le}},{key:"NAME",get:function(){return xe}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return De}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Ae}}]),o}(H);_((function(){var t=y();if(t){var e=t.fn[xe];t.fn[xe]=ze.jQueryInterface,t.fn[xe].Constructor=ze,t.fn[xe].noConflict=function(){return t.fn[xe]=e,ze.jQueryInterface}}}));var Me="popover",Pe=new RegExp("(^|\\s)bs-popover\\S+","g"),je=i({},ze.Default,{placement:"right",trigger:"click",content:"",template:''}),$e=i({},ze.DefaultType,{content:"(string|element|function)"}),He={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"},We=function(t){function i(){return t.apply(this,arguments)||this}n(i,t);var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.setContent=function(){var t=this.getTipElement();this.setElementContent(U.findOne(".popover-header",t),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this._element)),this.setElementContent(U.findOne(".popover-body",t),e),t.classList.remove("fade","show")},o._addAttachmentClass=function(t){this.getTipElement().classList.add("bs-popover-"+this.updateAttachment(t))},o._getContent=function(){return this._element.getAttribute("data-bs-content")||this.config.content},o._cleanTipClass=function(){var t=this.getTipElement(),e=t.getAttribute("class").match(Pe);null!==e&&e.length>0&&e.map((function(t){return t.trim()})).forEach((function(e){return t.classList.remove(e)}))},i.jQueryInterface=function(t){return this.each((function(){var e=T(this,"bs.popover"),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new i(this,n),k(this,"bs.popover",e)),"string"==typeof t)){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}}))},e(i,null,[{key:"Default",get:function(){return je}},{key:"NAME",get:function(){return Me}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return He}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return $e}}]),i}(ze);_((function(){var t=y();if(t){var e=t.fn[Me];t.fn[Me]=We.jQueryInterface,t.fn[Me].Constructor=We,t.fn[Me].noConflict=function(){return t.fn[Me]=e,We.jQueryInterface}}}));var Ne="scrollspy",Be={offset:10,method:"auto",target:""},Re={offset:"number",method:"string",target:"(string|element)"},Fe=function(t){function o(e,i){var n;return(n=t.call(this,e)||this)._scrollElement="BODY"===e.tagName?window:e,n._config=n._getConfig(i),n._selector=n._config.target+" .nav-link, "+n._config.target+" .list-group-item, "+n._config.target+" .dropdown-item",n._offsets=[],n._targets=[],n._activeTarget=null,n._scrollHeight=0,$.on(n._scrollElement,"scroll.bs.scrollspy",(function(t){return n._process(t)})),n.refresh(),n._process(),n}n(o,t);var s=o.prototype;return s.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?e:this._config.method,n="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),U.find(this._selector).map((function(t){var e=l(t),o=e?U.findOne(e):null;if(o){var s=o.getBoundingClientRect();if(s.width||s.height)return[q[i](o).top+n,e]}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])}))},s.dispose=function(){t.prototype.dispose.call(this),$.off(this._scrollElement,".bs.scrollspy"),this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},s._getConfig=function(t){if("string"!=typeof(t=i({},Be,"object"==typeof t&&t?t:{})).target&&h(t.target)){var e=t.target.id;e||(e=r(Ne),t.target.id=e),t.target="#"+e}return f(Ne,t,Re),t},s._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},s._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},s._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},s._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t li > .active":".active";e=(e=U.find(o,n))[e.length-1]}var s=null;if(e&&(s=$.trigger(e,"hide.bs.tab",{relatedTarget:this._element})),!($.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==s&&s.defaultPrevented)){this._activate(this._element,n);var r=function(){$.trigger(e,"hidden.bs.tab",{relatedTarget:t._element}),$.trigger(t._element,"shown.bs.tab",{relatedTarget:e})};i?this._activate(i,i.parentNode,r):r()}}},o._activate=function(t,e,i){var n=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?U.children(e,".active"):U.find(":scope > li > .active",e))[0],s=i&&o&&o.classList.contains("fade"),r=function(){return n._transitionComplete(t,o,i)};if(o&&s){var a=d(o);o.classList.remove("show"),$.one(o,"transitionend",r),p(o,a)}else r()},o._transitionComplete=function(t,e,i){if(e){e.classList.remove("active");var n=U.findOne(":scope > .dropdown-menu .active",e.parentNode);n&&n.classList.remove("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),v(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&t.parentNode.classList.contains("dropdown-menu")&&(t.closest(".dropdown")&&U.find(".dropdown-toggle").forEach((function(t){return t.classList.add("active")})),t.setAttribute("aria-expanded",!0)),i&&i()},i.jQueryInterface=function(t){return this.each((function(){var e=T(this,"bs.tab")||new i(this);if("string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t]()}}))},e(i,null,[{key:"DATA_KEY",get:function(){return"bs.tab"}}]),i}(H);$.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(t){t.preventDefault(),(T(this,"bs.tab")||new qe(this)).show()})),_((function(){var t=y();if(t){var e=t.fn.tab;t.fn.tab=qe.jQueryInterface,t.fn.tab.Constructor=qe,t.fn.tab.noConflict=function(){return t.fn.tab=e,qe.jQueryInterface}}}));var Ue={animation:"boolean",autohide:"boolean",delay:"number"},Ye={animation:!0,autohide:!0,delay:5e3},Qe=function(t){function o(e,i){var n;return(n=t.call(this,e)||this)._config=n._getConfig(i),n._timeout=null,n._setListeners(),n}n(o,t);var s=o.prototype;return s.show=function(){var t=this;if(!$.trigger(this._element,"show.bs.toast").defaultPrevented){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var e=function(){t._element.classList.remove("showing"),t._element.classList.add("show"),$.trigger(t._element,"shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove("hide"),v(this._element),this._element.classList.add("showing"),this._config.animation){var i=d(this._element);$.one(this._element,"transitionend",e),p(this._element,i)}else e()}},s.hide=function(){var t=this;if(this._element.classList.contains("show")&&!$.trigger(this._element,"hide.bs.toast").defaultPrevented){var e=function(){t._element.classList.add("hide"),$.trigger(t._element,"hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var i=d(this._element);$.one(this._element,"transitionend",e),p(this._element,i)}else e()}},s.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),$.off(this._element,"click.dismiss.bs.toast"),t.prototype.dispose.call(this),this._config=null},s._getConfig=function(t){return t=i({},Ye,q.getDataAttributes(this._element),"object"==typeof t&&t?t:{}),f("toast",t,this.constructor.DefaultType),t},s._setListeners=function(){var t=this;$.on(this._element,"click.dismiss.bs.toast",'[data-bs-dismiss="toast"]',(function(){return t.hide()}))},s._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},o.jQueryInterface=function(t){return this.each((function(){var e=T(this,"bs.toast");if(e||(e=new o(this,"object"==typeof t&&t)),"string"==typeof t){if(void 0===e[t])throw new TypeError('No method named "'+t+'"');e[t](this)}}))},e(o,null,[{key:"DefaultType",get:function(){return Ue}},{key:"Default",get:function(){return Ye}},{key:"DATA_KEY",get:function(){return"bs.toast"}}]),o}(H);return _((function(){var t=y();if(t){var e=t.fn.toast;t.fn.toast=Qe.jQueryInterface,t.fn.toast.Constructor=Qe,t.fn.toast.noConflict=function(){return t.fn.toast=e,Qe.jQueryInterface}}})),{Alert:N,Button:B,Carousel:X,Collapse:tt,Dropdown:ye,Modal:we,Popover:We,ScrollSpy:Fe,Tab:qe,Toast:Qe,Tooltip:ze}})),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o