/*! * 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(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";function e(e,t){for(var i=0;i0,n._pointerEvent=Boolean(window.PointerEvent),n._addEventListeners(),n}n(s,e);var r=s.prototype;return r.next=function(){this._isSliding||this._slide("next")},r.nextWhenVisible=function(){!document.hidden&&m(this._element)&&this.next()},r.prev=function(){this._isSliding||this._slide("prev")},r.pause=function(e){e||(this._isPaused=!0),X.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(u(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},r.cycle=function(e){e||(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))},r.to=function(e){var t=this;this._activeElement=X.findOne(".active.carousel-item",this._element);var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)N.one(this._element,"slid.bs.carousel",(function(){return t.to(e)}));else{if(i===e)return this.pause(),void this.cycle();var n=e>i?"next":"prev";this._slide(n,this._items[e])}},r.dispose=function(){e.prototype.dispose.call(this),N.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},r._getConfig=function(e){return e=i({},G,e),f(V,e,$),e},r._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t>0&&this.prev(),t<0&&this.next()}},r._addEventListeners=function(){var e=this;this._config.keyboard&&N.on(this._element,"keydown.bs.carousel",(function(t){return e._keydown(t)})),"hover"===this._config.pause&&(N.on(this._element,"mouseenter.bs.carousel",(function(t){return e.pause(t)})),N.on(this._element,"mouseleave.bs.carousel",(function(t){return e.cycle(t)}))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()},r._addTouchEventListeners=function(){var e=this,t=function(t){e._pointerEvent&&U[t.pointerType.toUpperCase()]?e.touchStartX=t.clientX:e._pointerEvent||(e.touchStartX=t.touches[0].clientX)},i=function(t){e._pointerEvent&&U[t.pointerType.toUpperCase()]&&(e.touchDeltaX=t.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),500+e._config.interval))};X.find(".carousel-item img",this._element).forEach((function(e){N.on(e,"dragstart.bs.carousel",(function(e){return e.preventDefault()}))})),this._pointerEvent?(N.on(this._element,"pointerdown.bs.carousel",(function(e){return t(e)})),N.on(this._element,"pointerup.bs.carousel",(function(e){return i(e)})),this._element.classList.add("pointer-event")):(N.on(this._element,"touchstart.bs.carousel",(function(e){return t(e)})),N.on(this._element,"touchmove.bs.carousel",(function(t){return function(t){t.touches&&t.touches.length>1?e.touchDeltaX=0:e.touchDeltaX=t.touches[0].clientX-e.touchStartX}(t)})),N.on(this._element,"touchend.bs.carousel",(function(e){return i(e)})))},r._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.key){case"ArrowLeft":e.preventDefault(),this.prev();break;case"ArrowRight":e.preventDefault(),this.next()}},r._getItemIndex=function(e){return this._items=e&&e.parentNode?X.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)},r._getItemByDirection=function(e,t){var i="next"===e,n="prev"===e,s=this._getItemIndex(t),r=this._items.length-1;if((n&&0===s||i&&s===r)&&!this._config.wrap)return t;var a=(s+("prev"===e?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},r._triggerSlideEvent=function(e,t){var i=this._getItemIndex(e),n=this._getItemIndex(X.findOne(".active.carousel-item",this._element));return N.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:n,to:i})},r._setActiveIndicatorElement=function(e){if(this._indicatorsElement){for(var t=X.find(".active",this._indicatorsElement),i=0;i0)for(var n=0;n=0}function be(e){return((ue(e)?e.ownerDocument:e.document)||window.document).documentElement}function _e(e){return"html"===ce(e)?e:e.assignedSlot||e.parentNode||e.host||be(e)}function we(e){if(!pe(e)||"fixed"===ve(e).position)return null;var t=e.offsetParent;if(t){var i=be(t);if("body"===ce(t)&&"static"===ve(t).position&&"static"!==ve(i).position)return i}return t}function xe(e){for(var t=de(e),i=we(e);i&&ye(i)&&"static"===ve(i).position;)i=we(i);return i&&"body"===ce(i)&&"static"===ve(i).position?t:i||function(e){for(var t=_e(e);pe(t)&&["html","body"].indexOf(ce(t))<0;){var i=ve(t);if("none"!==i.transform||"none"!==i.perspective||i.willChange&&"auto"!==i.willChange)return t;t=t.parentNode}return null}(e)||t}function Ee(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Te(e,t,i){return Math.max(e,Math.min(t,i))}function Se(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function Ce(e,t){return t.reduce((function(t,i){return t[i]=e,t}),{})}var Me={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,n=e.name,s=i.elements.arrow,r=i.modifiersData.popperOffsets,a=fe(i.placement),o=Ee(a),l=[se,ne].indexOf(a)>=0?"height":"width";if(s&&r){var c=i.modifiersData[n+"#persistent"].padding,d=me(s),u="y"===o?te:se,p="y"===o?ie:ne,h=i.rects.reference[l]+i.rects.reference[o]-r[o]-i.rects.popper[l],f=r[o]-i.rects.reference[o],m=xe(s),g=m?"y"===o?m.clientHeight||0:m.clientWidth||0:0,v=h/2-f/2,y=c[u],b=g-d[l]-c[p],_=g/2-d[l]/2+v,w=Te(y,_,b),x=o;i.modifiersData[n]=((t={})[x]=w,t.centerOffset=w-_,t)}},effect:function(e){var t=e.state,i=e.options,n=e.name,s=i.element,r=void 0===s?"[data-popper-arrow]":s,a=i.padding,o=void 0===a?0:a;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ge(t.elements.popper,r)&&(t.elements.arrow=r,t.modifiersData[n+"#persistent"]={padding:Se("number"!=typeof o?o:Ce(o,re))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},ke={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ae(e){var t,i=e.popper,n=e.popperRect,s=e.placement,r=e.offsets,a=e.position,o=e.gpuAcceleration,l=e.adaptive,c=function(e){var t=e.x,i=e.y,n=window.devicePixelRatio||1;return{x:Math.round(t*n)/n||0,y:Math.round(i*n)/n||0}}(r),d=c.x,u=c.y,p=r.hasOwnProperty("x"),h=r.hasOwnProperty("y"),f=se,m=te,g=window;if(l){var v=xe(i);v===de(i)&&(v=be(i)),s===te&&(m=ie,u-=v.clientHeight-n.height,u*=o?1:-1),s===se&&(f=ne,d-=v.clientWidth-n.width,d*=o?1:-1)}var y,b=Object.assign({position:a},l&&ke);return o?Object.assign(Object.assign({},b),{},((y={})[m]=h?"0":"",y[f]=p?"0":"",y.transform=(g.devicePixelRatio||1)<2?"translate("+d+"px, "+u+"px)":"translate3d("+d+"px, "+u+"px, 0)",y)):Object.assign(Object.assign({},b),{},((t={})[m]=h?u+"px":"",t[f]=p?d+"px":"",t.transform="",t))}var Oe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,s=void 0===n||n,r=i.adaptive,a=void 0===r||r,o={placement:fe(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),Ae(Object.assign(Object.assign({},o),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),Ae(Object.assign(Object.assign({},o),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},Pe={passive:!0},Le={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,s=n.scroll,r=void 0===s||s,a=n.resize,o=void 0===a||a,l=de(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",i.update,Pe)})),o&&l.addEventListener("resize",i.update,Pe),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",i.update,Pe)})),o&&l.removeEventListener("resize",i.update,Pe)}},data:{}},Ie={left:"right",right:"left",bottom:"top",top:"bottom"};function ze(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ie[e]}))}var De={start:"end",end:"start"};function je(e){return e.replace(/start|end/g,(function(e){return De[e]}))}function Ne(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function Re(e){var t=de(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Fe(e){return Ne(be(e)).left+Re(e).scrollLeft}function Be(e){var t=ve(e),i=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+s+n)}function He(e,t){void 0===t&&(t=[]);var i=function e(t){return["html","body","#document"].indexOf(ce(t))>=0?t.ownerDocument.body:pe(t)&&Be(t)?t:e(_e(t))}(e),n="body"===ce(i),s=de(i),r=n?[s].concat(s.visualViewport||[],Be(i)?i:[]):i,a=t.concat(r);return n?a:a.concat(He(_e(r)))}function We(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function qe(e,t){return"viewport"===t?We(function(e){var t=de(e),i=be(e),n=t.visualViewport,s=i.clientWidth,r=i.clientHeight,a=0,o=0;return n&&(s=n.width,r=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=n.offsetLeft,o=n.offsetTop)),{width:s,height:r,x:a+Fe(e),y:o}}(e)):pe(t)?function(e){var t=Ne(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):We(function(e){var t=be(e),i=Re(e),n=e.ownerDocument.body,s=Math.max(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),r=Math.max(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-i.scrollLeft+Fe(e),o=-i.scrollTop;return"rtl"===ve(n||t).direction&&(a+=Math.max(t.clientWidth,n?n.clientWidth:0)-s),{width:s,height:r,x:a,y:o}}(be(e)))}function Ye(e){return e.split("-")[1]}function Xe(e){var t,i=e.reference,n=e.element,s=e.placement,r=s?fe(s):null,a=s?Ye(s):null,o=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(r){case te:t={x:o,y:i.y-n.height};break;case ie:t={x:o,y:i.y+i.height};break;case ne:t={x:i.x+i.width,y:l};break;case se:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var c=r?Ee(r):null;if(null!=c){var d="y"===c?"height":"width";switch(a){case"start":t[c]=Math.floor(t[c])-Math.floor(i[d]/2-n[d]/2);break;case"end":t[c]=Math.floor(t[c])+Math.ceil(i[d]/2-n[d]/2)}}return t}function Ve(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=void 0===n?e.placement:n,r=i.boundary,a=void 0===r?"clippingParents":r,o=i.rootBoundary,l=void 0===o?"viewport":o,c=i.elementContext,d=void 0===c?"popper":c,u=i.altBoundary,p=void 0!==u&&u,h=i.padding,f=void 0===h?0:h,m=Se("number"!=typeof f?f:Ce(f,re)),g="popper"===d?"reference":"popper",v=e.elements.reference,y=e.rects.popper,b=e.elements[p?g:d],_=function(e,t,i){var n="clippingParents"===t?function(e){var t=He(_e(e)),i=["absolute","fixed"].indexOf(ve(e).position)>=0&&pe(e)?xe(e):e;return ue(i)?t.filter((function(e){return ue(e)&&ge(e,i)&&"body"!==ce(e)})):[]}(e):[].concat(t),s=[].concat(n,[i]),r=s[0],a=s.reduce((function(t,i){var n=qe(e,i);return t.top=Math.max(n.top,t.top),t.right=Math.min(n.right,t.right),t.bottom=Math.min(n.bottom,t.bottom),t.left=Math.max(n.left,t.left),t}),qe(e,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(ue(b)?b:b.contextElement||be(e.elements.popper),a,l),w=Ne(v),x=Xe({reference:w,element:y,strategy:"absolute",placement:s}),E=We(Object.assign(Object.assign({},y),x)),T="popper"===d?E:w,S={top:_.top-T.top+m.top,bottom:T.bottom-_.bottom+m.bottom,left:_.left-T.left+m.left,right:T.right-_.right+m.right},C=e.modifiersData.offset;if("popper"===d&&C){var M=C[s];Object.keys(S).forEach((function(e){var t=[ne,ie].indexOf(e)>=0?1:-1,i=[te,ie].indexOf(e)>=0?"y":"x";S[e]+=M[i]*t}))}return S}var Ge={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var s=i.mainAxis,r=void 0===s||s,a=i.altAxis,o=void 0===a||a,l=i.fallbackPlacements,c=i.padding,d=i.boundary,u=i.rootBoundary,p=i.altBoundary,h=i.flipVariations,f=void 0===h||h,m=i.allowedAutoPlacements,g=t.options.placement,v=fe(g),y=l||(v!==g&&f?function(e){if("auto"===fe(e))return[];var t=ze(e);return[je(e),t,je(t)]}(g):[ze(g)]),b=[g].concat(y).reduce((function(e,i){return e.concat("auto"===fe(i)?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,s=i.boundary,r=i.rootBoundary,a=i.padding,o=i.flipVariations,l=i.allowedAutoPlacements,c=void 0===l?oe:l,d=Ye(n),u=d?o?ae:ae.filter((function(e){return Ye(e)===d})):re,p=u.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=u);var h=p.reduce((function(t,i){return t[i]=Ve(e,{placement:i,boundary:s,rootBoundary:r,padding:a})[fe(i)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:i,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:m}):i)}),[]),_=t.rects.reference,w=t.rects.popper,x=new Map,E=!0,T=b[0],S=0;S=0,O=A?"width":"height",P=Ve(t,{placement:C,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),L=A?k?ne:se:k?ie:te;_[O]>w[O]&&(L=ze(L));var I=ze(L),z=[];if(r&&z.push(P[M]<=0),o&&z.push(P[L]<=0,P[I]<=0),z.every((function(e){return e}))){T=C,E=!1;break}x.set(C,z)}if(E)for(var D=function(e){var t=b.find((function(t){var i=x.get(t);if(i)return i.slice(0,e).every((function(e){return e}))}));if(t)return T=t,"break"},j=f?3:1;j>0&&"break"!==D(j);j--);t.placement!==T&&(t.modifiersData[n]._skip=!0,t.placement=T,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function $e(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function Ue(e){return[te,ne,ie,se].some((function(t){return e[t]>=0}))}var Qe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,s=t.rects.popper,r=t.modifiersData.preventOverflow,a=Ve(t,{elementContext:"reference"}),o=Ve(t,{altBoundary:!0}),l=$e(a,n),c=$e(o,s,r),d=Ue(l),u=Ue(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},Ke={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.offset,r=void 0===s?[0,0]:s,a=oe.reduce((function(e,i){return e[i]=function(e,t,i){var n=fe(e),s=[se,te].indexOf(n)>=0?-1:1,r="function"==typeof i?i(Object.assign(Object.assign({},t),{},{placement:e})):i,a=r[0],o=r[1];return a=a||0,o=(o||0)*s,[se,ne].indexOf(n)>=0?{x:o,y:a}:{x:a,y:o}}(i,t.rects,r),e}),{}),o=a[t.placement],l=o.x,c=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}},Ze={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=Xe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Je={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,s=i.mainAxis,r=void 0===s||s,a=i.altAxis,o=void 0!==a&&a,l=i.boundary,c=i.rootBoundary,d=i.altBoundary,u=i.padding,p=i.tether,h=void 0===p||p,f=i.tetherOffset,m=void 0===f?0:f,g=Ve(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=fe(t.placement),y=Ye(t.placement),b=!y,_=Ee(v),w="x"===_?"y":"x",x=t.modifiersData.popperOffsets,E=t.rects.reference,T=t.rects.popper,S="function"==typeof m?m(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):m,C={x:0,y:0};if(x){if(r){var M="y"===_?te:se,k="y"===_?ie:ne,A="y"===_?"height":"width",O=x[_],P=x[_]+g[M],L=x[_]-g[k],I=h?-T[A]/2:0,z="start"===y?E[A]:T[A],D="start"===y?-T[A]:-E[A],j=t.elements.arrow,N=h&&j?me(j):{width:0,height:0},R=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=R[M],B=R[k],H=Te(0,E[A],N[A]),W=b?E[A]/2-I-H-F-S:z-H-F-S,q=b?-E[A]/2+I+H+B+S:D+H+B+S,Y=t.elements.arrow&&xe(t.elements.arrow),X=Y?"y"===_?Y.clientTop||0:Y.clientLeft||0:0,V=t.modifiersData.offset?t.modifiersData.offset[t.placement][_]:0,G=x[_]+W-V-X,$=x[_]+q-V,U=Te(h?Math.min(P,G):P,O,h?Math.max(L,$):L);x[_]=U,C[_]=U-O}if(o){var Q="x"===_?te:se,K="x"===_?ie:ne,Z=x[w],J=Te(Z+g[Q],Z,Z-g[K]);x[w]=J,C[w]=J-Z}t.modifiersData[n]=C}},requiresIfExists:["offset"]};function et(e,t,i){void 0===i&&(i=!1);var n,s,r=be(t),a=Ne(e),o=pe(t),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!i)&&(("body"!==ce(t)||Be(r))&&(l=(n=t)!==de(n)&&pe(n)?{scrollLeft:(s=n).scrollLeft,scrollTop:s.scrollTop}:Re(n)),pe(t)?((c=Ne(t)).x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=Fe(r))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}var tt={placement:"bottom",modifiers:[],strategy:"absolute"};function it(){for(var e=arguments.length,t=new Array(e),i=0;i0&&r--,"ArrowDown"===e.key&&rdocument.documentElement.clientHeight;t||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var i=d(this._dialog);N.off(this._element,"transitionend"),N.one(this._element,"transitionend",(function(){e._element.classList.remove("modal-static"),t||(N.one(e._element,"transitionend",(function(){e._element.style.overflowY=""})),h(e._element,i))})),h(this._element,i),this._element.focus()}},r._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;(!this._isBodyOverflowing&&e&&!_||this._isBodyOverflowing&&!e&&_)&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),(this._isBodyOverflowing&&!e&&!_||!this._isBodyOverflowing&&e&&_)&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},r._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},r._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.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},Lt={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"},It=function(e){function s(t,i){var n;if(void 0===ot)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");return(n=e.call(this,t)||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(s,e);var r=s.prototype;return r.enable=function(){this._isEnabled=!0},r.disable=function(){this._isEnabled=!1},r.toggleEnabled=function(){this._isEnabled=!this._isEnabled},r.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,i=E(e.delegateTarget,t);i||(i=new this.constructor(e.delegateTarget,this._getDelegateConfig()),x(e.delegateTarget,t,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)}},r.dispose=function(){clearTimeout(this._timeout),N.off(this._element,this.constructor.EVENT_KEY),N.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,e.prototype.dispose.call(this)},r.show=function(){var e=this;if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var t=N.trigger(this._element,this.constructor.Event.SHOW),i=function e(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var i=t.getRootNode();return i instanceof ShadowRoot?i:null}return t instanceof ShadowRoot?t:t.parentNode?e(t.parentNode):null}(this._element),n=null===i?this._element.ownerDocument.documentElement.contains(this._element):i.contains(this._element);if(t.defaultPrevented||!n)return;var s=this.getTipElement(),r=a(this.constructor.NAME);s.setAttribute("id",r),this._element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&s.classList.add("fade");var o="function"==typeof this.config.placement?this.config.placement.call(this,s,this._element):this.config.placement,l=this._getAttachment(o);this._addAttachmentClass(l);var c=this._getContainer();x(s,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||c.appendChild(s),N.trigger(this._element,this.constructor.Event.INSERTED),this._popper=at(this._element,s,this._getPopperConfig(l)),s.classList.add("show");var u,p,f="function"==typeof this.config.customClass?this.config.customClass():this.config.customClass;f&&(u=s.classList).add.apply(u,f.split(" ")),"ontouchstart"in document.documentElement&&(p=[]).concat.apply(p,document.body.children).forEach((function(e){N.on(e,"mouseover",(function(){}))}));var m=function(){var t=e._hoverState;e._hoverState=null,N.trigger(e._element,e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};if(this.tip.classList.contains("fade")){var g=d(this.tip);N.one(this.tip,"transitionend",m),h(this.tip,g)}else m()}},r.hide=function(){var e=this;if(this._popper){var t=this.getTipElement(),i=function(){"show"!==e._hoverState&&t.parentNode&&t.parentNode.removeChild(t),e._cleanTipClass(),e._element.removeAttribute("aria-describedby"),N.trigger(e._element,e.constructor.Event.HIDDEN),e._popper&&(e._popper.destroy(),e._popper=null)};if(!N.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented){var n;if(t.classList.remove("show"),"ontouchstart"in document.documentElement&&(n=[]).concat.apply(n,document.body.children).forEach((function(e){return N.off(e,"mouseover",g)})),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,this.tip.classList.contains("fade")){var s=d(t);N.one(t,"transitionend",i),h(t,s)}else i();this._hoverState=""}}},r.update=function(){null!==this._popper&&this._popper.update()},r.isWithContent=function(){return Boolean(this.getTitle())},r.getTipElement=function(){if(this.tip)return this.tip;var e=document.createElement("div");return e.innerHTML=this.config.template,this.tip=e.children[0],this.tip},r.setContent=function(){var e=this.getTipElement();this.setElementContent(X.findOne(".tooltip-inner",e),this.getTitle()),e.classList.remove("fade","show")},r.setElementContent=function(e,t){if(null!==e)return"object"==typeof t&&p(t)?(t.jquery&&(t=t[0]),void(this.config.html?t.parentNode!==e&&(e.innerHTML="",e.appendChild(t)):e.textContent=t.textContent)):void(this.config.html?(this.config.sanitize&&(t=St(t,this.config.allowList,this.config.sanitizeFn)),e.innerHTML=t):e.textContent=t)},r.getTitle=function(){var e=this._element.getAttribute("data-bs-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this._element):this.config.title),e},r.updateAttachment=function(e){return"right"===e?"end":"left"===e?"start":e},r._getPopperConfig=function(e){var t=this,n={name:"flip",options:{altBoundary:!0}};return this.config.fallbackPlacements&&(n.options.fallbackPlacements=this.config.fallbackPlacements),i({},{placement:e,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(e){return t._handlePopperPlacementChange(e)}}],onFirstUpdate:function(e){e.options.placement!==e.placement&&t._handlePopperPlacementChange(e)}},this.config.popperConfig)},r._addAttachmentClass=function(e){this.getTipElement().classList.add("bs-tooltip-"+this.updateAttachment(e))},r._getContainer=function(){return!1===this.config.container?document.body:p(this.config.container)?this.config.container:X.findOne(this.config.container)},r._getAttachment=function(e){return Ot[e.toUpperCase()]},r._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)N.on(e._element,e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if("manual"!==t){var i="hover"===t?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,n="hover"===t?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;N.on(e._element,i,e.config.selector,(function(t){return e._enter(t)})),N.on(e._element,n,e.config.selector,(function(t){return e._leave(t)}))}})),this._hideModalHandler=function(){e._element&&e.hide()},N.on(this._element.closest(".modal"),"hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=i({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},r._fixTitle=function(){var e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))},r._enter=function(e,t){var i=this.constructor.DATA_KEY;(t=t||E(e.delegateTarget,i))||(t=new this.constructor(e.delegateTarget,this._getDelegateConfig()),x(e.delegateTarget,i,t)),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),t.getTipElement().classList.contains("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){"show"===t._hoverState&&t.show()}),t.config.delay.show):t.show())},r._leave=function(e,t){var i=this.constructor.DATA_KEY;(t=t||E(e.delegateTarget,i))||(t=new this.constructor(e.delegateTarget,this._getDelegateConfig()),x(e.delegateTarget,i,t)),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){"out"===t._hoverState&&t.hide()}),t.config.delay.hide):t.hide())},r._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},r._getConfig=function(e){var t=Y.getDataAttributes(this._element);return Object.keys(t).forEach((function(e){kt.has(e)&&delete t[e]})),e&&"object"==typeof e.container&&e.container.jquery&&(e.container=e.container[0]),"number"==typeof(e=i({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),f(Ct,e,this.constructor.DefaultType),e.sanitize&&(e.template=St(e.template,e.allowList,e.sanitizeFn)),e},r._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},r._cleanTipClass=function(){var e=this.getTipElement(),t=e.getAttribute("class").match(Mt);null!==t&&t.length>0&&t.map((function(e){return e.trim()})).forEach((function(t){return e.classList.remove(t)}))},r._handlePopperPlacementChange=function(e){var t=e.state;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))},s.jQueryInterface=function(e){return this.each((function(){var t=E(this,"bs.tooltip"),i="object"==typeof e&&e;if((t||!/dispose|hide/.test(e))&&(t||(t=new s(this,i)),"string"==typeof e)){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}}))},t(s,null,[{key:"Default",get:function(){return Pt}},{key:"NAME",get:function(){return Ct}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return Lt}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return At}}]),s}(R);b((function(){var e=y();if(e){var t=e.fn[Ct];e.fn[Ct]=It.jQueryInterface,e.fn[Ct].Constructor=It,e.fn[Ct].noConflict=function(){return e.fn[Ct]=t,It.jQueryInterface}}}));var zt="popover",Dt=new RegExp("(^|\\s)bs-popover\\S+","g"),jt=i({},It.Default,{placement:"right",trigger:"click",content:"",template:''}),Nt=i({},It.DefaultType,{content:"(string|element|function)"}),Rt={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"},Ft=function(e){function i(){return e.apply(this,arguments)||this}n(i,e);var s=i.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.setContent=function(){var e=this.getTipElement();this.setElementContent(X.findOne(".popover-header",e),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this._element)),this.setElementContent(X.findOne(".popover-body",e),t),e.classList.remove("fade","show")},s._addAttachmentClass=function(e){this.getTipElement().classList.add("bs-popover-"+this.updateAttachment(e))},s._getContent=function(){return this._element.getAttribute("data-bs-content")||this.config.content},s._cleanTipClass=function(){var e=this.getTipElement(),t=e.getAttribute("class").match(Dt);null!==t&&t.length>0&&t.map((function(e){return e.trim()})).forEach((function(t){return e.classList.remove(t)}))},i.jQueryInterface=function(e){return this.each((function(){var t=E(this,"bs.popover"),n="object"==typeof e?e:null;if((t||!/dispose|hide/.test(e))&&(t||(t=new i(this,n),x(this,"bs.popover",t)),"string"==typeof e)){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}}))},t(i,null,[{key:"Default",get:function(){return jt}},{key:"NAME",get:function(){return zt}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return Rt}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Nt}}]),i}(It);b((function(){var e=y();if(e){var t=e.fn[zt];e.fn[zt]=Ft.jQueryInterface,e.fn[zt].Constructor=Ft,e.fn[zt].noConflict=function(){return e.fn[zt]=t,Ft.jQueryInterface}}}));var Bt="scrollspy",Ht={offset:10,method:"auto",target:""},Wt={offset:"number",method:"string",target:"(string|element)"},qt=function(e){function s(t,i){var n;return(n=e.call(this,t)||this)._scrollElement="BODY"===t.tagName?window:t,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,N.on(n._scrollElement,"scroll.bs.scrollspy",(function(e){return n._process(e)})),n.refresh(),n._process(),n}n(s,e);var r=s.prototype;return r.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?t:this._config.method,n="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),X.find(this._selector).map((function(e){var t=l(e),s=t?X.findOne(t):null;if(s){var r=s.getBoundingClientRect();if(r.width||r.height)return[Y[i](s).top+n,t]}return null})).filter((function(e){return e})).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},r.dispose=function(){e.prototype.dispose.call(this),N.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},r._getConfig=function(e){if("string"!=typeof(e=i({},Ht,"object"==typeof e&&e?e:{})).target&&p(e.target)){var t=e.target.id;t||(t=a(Bt),e.target.id=t),e.target="#"+t}return f(Bt,e,Wt),e},r._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},r._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},r._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},r._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&e0)return this._activeTarget=null,void this._clear();for(var s=this._offsets.length;s--;)this._activeTarget!==this._targets[s]&&e>=this._offsets[s]&&(void 0===this._offsets[s+1]||e li > .active":".active";t=(t=X.find(s,n))[t.length-1]}var r=null;if(t&&(r=N.trigger(t,"hide.bs.tab",{relatedTarget:this._element})),!(N.trigger(this._element,"show.bs.tab",{relatedTarget:t}).defaultPrevented||null!==r&&r.defaultPrevented)){this._activate(this._element,n);var a=function(){N.trigger(t,"hidden.bs.tab",{relatedTarget:e._element}),N.trigger(e._element,"shown.bs.tab",{relatedTarget:t})};i?this._activate(i,i.parentNode,a):a()}}},s._activate=function(e,t,i){var n=this,s=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?X.children(t,".active"):X.find(":scope > li > .active",t))[0],r=i&&s&&s.classList.contains("fade"),a=function(){return n._transitionComplete(e,s,i)};if(s&&r){var o=d(s);s.classList.remove("show"),N.one(s,"transitionend",a),h(s,o)}else a()},s._transitionComplete=function(e,t,i){if(t){t.classList.remove("active");var n=X.findOne(":scope > .dropdown-menu .active",t.parentNode);n&&n.classList.remove("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),v(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&e.parentNode.classList.contains("dropdown-menu")&&(e.closest(".dropdown")&&X.find(".dropdown-toggle").forEach((function(e){return e.classList.add("active")})),e.setAttribute("aria-expanded",!0)),i&&i()},i.jQueryInterface=function(e){return this.each((function(){var t=E(this,"bs.tab")||new i(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}}))},t(i,null,[{key:"DATA_KEY",get:function(){return"bs.tab"}}]),i}(R);N.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){e.preventDefault(),(E(this,"bs.tab")||new Yt(this)).show()})),b((function(){var e=y();if(e){var t=e.fn.tab;e.fn.tab=Yt.jQueryInterface,e.fn.tab.Constructor=Yt,e.fn.tab.noConflict=function(){return e.fn.tab=t,Yt.jQueryInterface}}}));var Xt={animation:"boolean",autohide:"boolean",delay:"number"},Vt={animation:!0,autohide:!0,delay:5e3},Gt=function(e){function s(t,i){var n;return(n=e.call(this,t)||this)._config=n._getConfig(i),n._timeout=null,n._setListeners(),n}n(s,e);var r=s.prototype;return r.show=function(){var e=this;if(!N.trigger(this._element,"show.bs.toast").defaultPrevented){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var t=function(){e._element.classList.remove("showing"),e._element.classList.add("show"),N.trigger(e._element,"shown.bs.toast"),e._config.autohide&&(e._timeout=setTimeout((function(){e.hide()}),e._config.delay))};if(this._element.classList.remove("hide"),v(this._element),this._element.classList.add("showing"),this._config.animation){var i=d(this._element);N.one(this._element,"transitionend",t),h(this._element,i)}else t()}},r.hide=function(){var e=this;if(this._element.classList.contains("show")&&!N.trigger(this._element,"hide.bs.toast").defaultPrevented){var t=function(){e._element.classList.add("hide"),N.trigger(e._element,"hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var i=d(this._element);N.one(this._element,"transitionend",t),h(this._element,i)}else t()}},r.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),N.off(this._element,"click.dismiss.bs.toast"),e.prototype.dispose.call(this),this._config=null},r._getConfig=function(e){return e=i({},Vt,Y.getDataAttributes(this._element),"object"==typeof e&&e?e:{}),f("toast",e,this.constructor.DefaultType),e},r._setListeners=function(){var e=this;N.on(this._element,"click.dismiss.bs.toast",'[data-bs-dismiss="toast"]',(function(){return e.hide()}))},r._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},s.jQueryInterface=function(e){return this.each((function(){var t=E(this,"bs.toast");if(t||(t=new s(this,"object"==typeof e&&e)),"string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e](this)}}))},t(s,null,[{key:"DefaultType",get:function(){return Xt}},{key:"Default",get:function(){return Vt}},{key:"DATA_KEY",get:function(){return"bs.toast"}}]),s}(R);return b((function(){var e=y();if(e){var t=e.fn.toast;e.fn.toast=Gt.jQueryInterface,e.fn.toast.Constructor=Gt,e.fn.toast.noConflict=function(){return e.fn.toast=t,Gt.jQueryInterface}}})),{Alert:B,Button:H,Carousel:Q,Collapse:ee,Dropdown:yt,Modal:wt,Popover:Ft,ScrollSpy:qt,Tab:Yt,Toast:Gt,Tooltip:It}})),function(e){if("function"==typeof define&&define.amd)define(["jquery"],e);else if("object"==typeof module&&module.exports){var t=require("jquery");e(t),module.exports=t}else e(jQuery)}((function(e){function t(e){this.init(e)}t.prototype={value:0,size:100,startAngle:-Math.PI,thickness:"auto",fill:{gradient:["#3aeabb","#fdd250"]},emptyFill:"rgba(0, 0, 0, .1)",animation:{duration:1200,easing:"circleProgressEasing"},animationStartValue:0,reverse:!1,lineCap:"butt",insertMode:"prepend",constructor:t,el:null,canvas:null,ctx:null,radius:0,arcFill:null,lastFrameValue:0,init:function(t){e.extend(this,t),this.radius=this.size/2,this.initWidget(),this.initFill(),this.draw(),this.el.trigger("circle-inited")},initWidget:function(){this.canvas||(this.canvas=e("")["prepend"==this.insertMode?"prependTo":"appendTo"](this.el)[0]);var t=this.canvas;if(t.width=this.size,t.height=this.size,this.ctx=t.getContext("2d"),window.devicePixelRatio>1){var i=window.devicePixelRatio;t.style.width=t.style.height=this.size+"px",t.width=t.height=this.size*i,this.ctx.scale(i,i)}},initFill:function(){var t,i=this,n=this.fill,s=this.ctx,r=this.size;if(!n)throw Error("The fill is not specified!");if("string"==typeof n&&(n={color:n}),n.color&&(this.arcFill=n.color),n.gradient){var a=n.gradient;if(1==a.length)this.arcFill=a[0];else if(a.length>1){for(var o=n.gradientAngle||0,l=n.gradientDirection||[r/2*(1-Math.cos(o)),r/2*(1+Math.sin(o)),r/2*(1+Math.cos(o)),r/2*(1-Math.sin(o))],c=s.createLinearGradient.apply(s,l),d=0;d")[0];n.width=i.size,n.height=i.size,n.getContext("2d").drawImage(t,0,0,r,r),i.arcFill=i.ctx.createPattern(n,"no-repeat"),i.drawFrame(i.lastFrameValue)}n.image&&(n.image instanceof Image?t=n.image:(t=new Image).src=n.image,t.complete?h():t.onload=h)},draw:function(){this.animation?this.drawAnimated(this.value):this.drawFrame(this.value)},drawFrame:function(e){this.lastFrameValue=e,this.ctx.clearRect(0,0,this.size,this.size),this.drawEmptyArc(e),this.drawArc(e)},drawArc:function(e){if(0!==e){var t=this.ctx,i=this.radius,n=this.getThickness(),s=this.startAngle;t.save(),t.beginPath(),this.reverse?t.arc(i,i,i-n/2,s-2*Math.PI*e,s):t.arc(i,i,i-n/2,s,s+2*Math.PI*e),t.lineWidth=n,t.lineCap=this.lineCap,t.strokeStyle=this.arcFill,t.stroke(),t.restore()}},drawEmptyArc:function(e){var t=this.ctx,i=this.radius,n=this.getThickness(),s=this.startAngle;e<1&&(t.save(),t.beginPath(),e<=0?t.arc(i,i,i-n/2,0,2*Math.PI):this.reverse?t.arc(i,i,i-n/2,s,s-2*Math.PI*e):t.arc(i,i,i-n/2,s+2*Math.PI*e,s),t.lineWidth=n,t.strokeStyle=this.emptyFill,t.stroke(),t.restore())},drawAnimated:function(t){var i=this,n=this.el,s=e(this.canvas);s.stop(!0,!1),n.trigger("circle-animation-start"),s.css({animationProgress:0}).animate({animationProgress:1},e.extend({},this.animation,{step:function(e){var s=i.animationStartValue*(1-e)+t*e;i.drawFrame(s),n.trigger("circle-animation-progress",[e,s])}})).promise().always((function(){n.trigger("circle-animation-end")}))},getThickness:function(){return e.isNumeric(this.thickness)?this.thickness:this.size/14},getValue:function(){return this.value},setValue:function(e){this.animation&&(this.animationStartValue=this.lastFrameValue),this.value=e,this.draw()}},e.circleProgress={defaults:t.prototype},e.easing.circleProgressEasing=function(e){return e<.5?.5*(e*=2)*e*e:1-.5*(e=2-2*e)*e*e},e.fn.circleProgress=function(i,n){var s="circle-progress",r=this.data(s);if("widget"==i){if(!r)throw Error('Calling "widget" method on not initialized instance is forbidden');return r.canvas}if("value"==i){if(!r)throw Error('Calling "value" method on not initialized instance is forbidden');if(void 0===n)return r.getValue();var a=arguments[1];return this.each((function(){e(this).data(s).setValue(a)}))}return this.each((function(){var n=e(this),r=n.data(s),a=e.isPlainObject(i)?i:{};if(r)r.init(a);else{var o=e.extend({},n.data());"string"==typeof o.fill&&(o.fill=JSON.parse(o.fill)),"string"==typeof o.animation&&(o.animation=JSON.parse(o.animation)),(a=e.extend(o,a)).el=n,r=new t(a),n.data(s,r)}}))}})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,(function(e){"use strict";function t(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n(e){return"string"==typeof e}function s(e){return"function"==typeof e}function r(e){return"number"==typeof e}function a(e){return void 0===e}function o(e){return"object"==typeof e}function l(e){return!1!==e}function c(){return"undefined"!=typeof window}function d(e){return s(e)||n(e)}function u(e){return(ye=dt(e,tt))&&li}function p(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")}function h(e,t){return!t&&console.warn(e)}function f(e,t){return e&&(tt[e]=t)&&ye&&(ye[e]=t)||tt}function m(){return 0}function g(e){var t,i,n=e[0];if(o(n)||s(n)||(e=[e]),!(t=(n._gsap||{}).harness)){for(i=lt.length;i--&&!lt[i].targetTest(n););t=lt[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new Lt(e[i],t)))||e.splice(i,1);return e}function v(e){return e._gsap||g(mt(e))[0]._gsap}function y(e,t){var i=e[t];return s(i)?e[t]():a(i)&&e.getAttribute(t)||i}function b(e,t){return(e=e.split(",")).forEach(t)||e}function _(e){return Math.round(1e5*e)/1e5||0}function w(e,t){for(var i=t.length,n=0;e.indexOf(t[n])<0&&++nBe)&&t.render(i,!0)),z(e)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._durr;)a=a._prev;a?(t._next=a._next,a._next=t):(t._next=e[i],e[i]=t),t._next?t._next._prev=t:e[n]=t,t._prev=a,t.parent=t._dp=e}(e,t,"_first","_last",e._sort?"_start":0),e._recent=t,n||F(e,t),e}function H(e,t){return(tt.ScrollTrigger||p("scrollTrigger",t))&&tt.ScrollTrigger.create(t,e)}function W(e,t,i,n){return Ft(e,t),e._initted?!i&&e._pt&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&_e!==xt.frame?(nt.push(e),e._lazy=[t,n],1):void 0:1}function q(e,t,i){var n=e._repeat,s=_(t)||0;return e._dur=s,e._tDur=n?n<0?1e10:_(s*(n+1)+e._rDelay*n):s,e._time>s&&(e._time=s,e._tTime=Math.min(e._tTime,e._tDur)),i||z(e.parent),e.parent&&N(e),e}function Y(e){return e instanceof Dt?z(e):q(e,e._dur)}function X(e,t){var i,s,r=e.labels,a=e._recent||pt,o=e.duration()>=Fe?a.endTime(!1):e._dur;return n(t)&&(isNaN(t)||t in r)?"<"===(i=t.charAt(0))||">"===i?("<"===i?a._start:a.endTime(0<=a._repeat))+(parseFloat(t.substr(1))||0):(i=t.indexOf("="))<0?(t in r||(r[t]=o),r[t]):(s=+(t.charAt(i-1)+t.substr(i+1)),1(s=Math.abs(s))&&(r=n,o=s);return r}function ne(e){return I(e),e.progress()<1&&vt(e,"onInterrupt"),e}function se(e,t,i){return(6*(e=e<0?e+1:1>16,e>>8&yt,e&yt]:0:bt.black;if(!f){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),bt[e])f=bt[e];else if("#"===e.charAt(0))4===e.length&&(e="#"+(n=e.charAt(1))+n+(s=e.charAt(2))+s+(a=e.charAt(3))+a),f=[(e=parseInt(e.substr(1),16))>>16,e>>8&yt,e&yt];else if("hsl"===e.substr(0,3))if(f=h=e.match($e),t){if(~e.indexOf("="))return f=e.match(Ue),i&&f.length<4&&(f[3]=1),f}else o=+f[0]%360/360,l=f[1]/100,n=2*(c=f[2]/100)-(s=c<=.5?c*(l+1):c+l-c*l),3=i&&et)return n;n=n._next}else for(n=e._last;n&&n._start>=i;){if(!n._dur&&"isPause"===n.data&&n._start=s._start)&&s._ts&&c!==s){if(s.parent!==this)return this.render(e,t,i);if(s.render(0=this.totalDuration()||!y&&m)&&(u!==this._start&&Math.abs(d)===Math.abs(this._ts)||this._lock||(!e&&v||!(y===g&&0=n&&(r instanceof qt?t&&s.push(r):(i&&s.push(r),e&&s.push.apply(s,r.getChildren(!0,t,i)))),r=r._next;return s},o.getById=function(e){for(var t=this.getChildren(1,1,1),i=t.length;i--;)if(t[i].vars.id===e)return t[i]},o.remove=function(e){return n(e)?this.removeLabel(e):s(e)?this.killTweensOf(e):(L(this,e),e===this._recent&&(this._recent=this._last),z(this))},o.totalTime=function(t,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_(xt.time-(0t:!t||a.isActive())&&n.push(a):(i=a.getTweensOf(s,t)).length&&n.push.apply(n,i),a=a._next;return n},o.tweenTo=function(e,t){t=t||{};var i=this,n=X(i,e),s=t.startAt,r=t.onStart,a=t.onStartParams,o=qt.to(i,M(t,{ease:"none",lazy:!1,time:n,duration:t.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale())||Be,onStart:function(){i.pause();var e=t.duration||Math.abs((n-i._time)/i.timeScale());o._dur!==e&&q(o,e).render(o._time,!0,!0),r&&r.apply(o,a||[])}}));return o},o.tweenFromTo=function(e,t,i){return this.tweenTo(t,M({startAt:{time:X(this,e)}},i))},o.recent=function(){return this._recent},o.nextLabel=function(e){return void 0===e&&(e=this._time),ie(this,X(this,e))},o.previousLabel=function(e){return void 0===e&&(e=this._time),ie(this,X(this,e),1)},o.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+Be)},o.shiftChildren=function(e,t,i){void 0===i&&(i=0);for(var n,s=this._first,r=this.labels;s;)s._start>=i&&(s._start+=e),s=s._next;if(t)for(n in r)r[n]>=i&&(r[n]+=e);return z(this)},o.invalidate=function(){var t=this._first;for(this._lock=0;t;)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},o.clear=function(e){void 0===e&&(e=!0);for(var t,i=this._first;i;)t=i._next,this.remove(i),i=t;return this._time=this._tTime=this._pTime=0,e&&(this.labels={}),z(this)},o.totalDuration=function(e){var t,i,n,s,r=0,a=this,o=a._last,l=Fe;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-e:e));if(a._dirty){for(s=a.parent;o;)t=o._prev,o._dirty&&o.totalDuration(),l<(n=o._start)&&a._sort&&o._ts&&!a._lock?(a._lock=1,B(a,o,n-o._delay,1)._lock=0):l=n,n<0&&o._ts&&(r-=n,(!s&&!a._dp||s&&s.smoothChildTiming)&&(a._start+=n/a._ts,a._time-=n,a._tTime-=n),a.shiftChildren(-n,!1,-1/0),l=0),r<(i=N(o))&&o._ts&&(r=i),o=t;q(a,a===fe&&a._time>r?a._time:r,1),a._dirty=0}return a._tDur},a.updateRoot=function(e){if(fe._ts&&(T(fe,j(e,fe)),_e=xt.frame),xt.frame>=ot){ot+=Ne.autoSleep||120;var t=fe._first;if((!t||!t._ts)&&Ne.autoSleep&&xt._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||xt.sleep()}}},a}(It);function jt(e,t,i,r,a,l){var c,d,u,p;if(rt[e]&&!1!==(c=new rt[e]).init(a,c.rawVars?t[e]:function(e,t,i,r,a){if(s(e)&&(e=Bt(e,a,t,i,r)),!o(e)||e.style&&e.nodeType||Ge(e))return n(e)?Bt(e,a,t,i,r):e;var l,c={};for(l in e)c[l]=Bt(e[l],a,t,i,r);return c}(t[e],r,a,l,i),i,r,l)&&(i._pt=d=new ni(i._pt,a,e,0,1,c.render,c,0,c.priority),i!==we))for(u=i._ptLookup[i._targets.indexOf(a)],p=c._props.length;p--;)u[c._props[p]]=d;return c}M(Dt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Nt,Rt=function(e,t,i,r,a,o,l,c,d){s(r)&&(r=r(a||0,e,o));var u,h=e[t],f="get"!==i?i:s(h)?d?e[t.indexOf("set")||!s(e["get"+t.substr(3)])?t:"get"+t.substr(3)](d):e[t]():h,m=s(h)?d?$t:Gt:Vt;if(n(r)&&(~r.indexOf("random(")&&(r=te(r)),"="===r.charAt(1)&&(r=parseFloat(f)+parseFloat(r.substr(2))*("-"===r.charAt(0)?-1:1)+(G(f)||0))),f!==r)return isNaN(f*r)?(h||t in e||p(t,r),function(e,t,i,n,s,r,a){var o,l,c,d,u,p,h,f,m=new ni(this._pt,e,t,0,1,Zt,null,s),g=0,v=0;for(m.b=i,m.e=n,i+="",(h=~(n+="").indexOf("random("))&&(n=te(n)),r&&(r(f=[i,n],e,t),i=f[0],n=f[1]),l=i.match(Ke)||[];o=Ke.exec(n);)d=o[0],u=n.substring(g,o.index),c?c=(c+1)%5:"rgba("===u.substr(-5)&&(c=1),d!==l[v++]&&(p=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:u||1===v?u:",",s:p,c:"="===d.charAt(1)?parseFloat(d.substr(2))*("-"===d.charAt(0)?-1:1):parseFloat(d)-p,m:c&&c<4?Math.round:0},g=Ke.lastIndex);return m.c=g")}));else{if(v=j.length,w=k?Q(k):m,o(k))for(y in k)~Ht.indexOf(y)&&((x=x||{})[y]=k[y]);for(p=0;pBe&&!e._dp._lock||e._ts<0||e._dp._ts<0?0:1,l=e._rDelay,c=0;if(l&&e._repeat&&(c=ht(0,e._tDur,t),ut(c,l)!==(r=ut(e._tTime,l))&&(a=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),e._initted||!W(e,t,n,i))if(o!==a||n||e._zTime===Be||!t&&e._zTime){for(r=e._zTime,e._zTime=t||(i?Be:0),i=i||t&&!r,e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=c,i||vt(e,"onStart"),s=e._pt;s;)s.r(o,s.d),s=s._next;e._startAt&&t<0&&e._startAt.render(t,!0,!0),e._onUpdate&&!i&&vt(e,"onUpdate"),c&&e._repeat&&!i&&e.parent&&vt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===o&&(o&&I(e,1),i||(vt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,i);return this},a.targets=function(){return this._targets},a.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),e.prototype.invalidate.call(this)},a.kill=function(e,t){if(void 0===t&&(t="all"),!(e||t&&"all"!==t)&&(this._lazy=0,this.parent))return ne(this);if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,Nt&&!0!==Nt.vars.overwrite)._first||ne(this),this.parent&&i!==this.timeline.totalDuration()&&q(this,this._dur*this.timeline._tDur/i),this}var s,r,a,o,l,c,d,u=this._targets,p=e?mt(e):u,h=this._ptLookup,f=this._pt;if((!t||"all"===t)&&function(e,t){for(var i=e.length,n=i===t.length;n&&i--&&e[i]===t[i];);return i<0}(u,p))return ne(this);for(s=this._op=this._op||[],"all"!==t&&(n(t)&&(l={},b(t,(function(e){return l[e]=1})),t=l),t=function(e,t){var i,n,s,r,a=e[0]?v(e[0]).harness:0,o=a&&a.aliases;if(!o)return t;for(n in i=dt({},t),o)if(n in i)for(s=(r=o[n].split(",")).length;s--;)i[r[s]]=i[n];return i}(u,t)),d=u.length;d--;)if(~p.indexOf(u[d]))for(l in r=h[d],"all"===t?(s[d]=t,o=r,a={}):(a=s[d]=s[d]||{},o=t),o)(c=r&&r[l])&&("kill"in c.d&&!0!==c.d.kill(l)||L(this,c,"_pt"),delete r[l]),"all"!==a&&(a[l]=1);return this._initted&&!this._pt&&f&&ne(this),this},s.to=function(e,t,i){return new s(e,t,i)},s.from=function(e,t){return new s(e,x(arguments,1))},s.delayedCall=function(e,t,i,n){return new s(t,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:t,onReverseComplete:t,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},s.fromTo=function(e,t,i){return new s(e,x(arguments,2))},s.set=function(e,t){return t.duration=0,t.repeatDelay||(t.repeat=0),new s(e,t)},s.killTweensOf=function(e,t,i){return fe.killTweensOf(e,t,i)},s}(It);function Yt(e,t,i){return e.setAttribute(t,i)}function Xt(e,t,i,n){n.mSet(e,t,n.m.call(n.tween,i,n.mt),n)}M(qt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),b("staggerTo,staggerFrom,staggerFromTo",(function(e){qt[e]=function(){var t=new Dt,i=ft.call(arguments,0);return i.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,i)}}));var Vt=function(e,t,i){return e[t]=i},Gt=function(e,t,i){return e[t](i)},$t=function(e,t,i,n){return e[t](n.fp,i)},Ut=function(e,t){return s(e[t])?Gt:a(e[t])&&e.setAttribute?Yt:Vt},Qt=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4,t)},Kt=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Zt=function(e,t){var i=t._pt,n="";if(!e&&t.b)n=t.b;else if(1===e&&t.e)n=t.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*e):Math.round(1e4*(i.s+i.c*e))/1e4)+n,i=i._next;n+=t.c}t.set(t.t,t.p,n,t)},Jt=function(e,t){for(var i=t._pt;i;)i.r(e,i.d),i=i._next},ei=function(e,t,i,n){for(var s,r=this._pt;r;)s=r._next,r.p===n&&r.modifier(e,t,i),r=s},ti=function(e){for(var t,i,n=this._pt;n;)i=n._next,n.p===e&&!n.op||n.op===e?L(this,n,"_pt"):n.dep||(t=1),n=i;return!t},ii=function(e){for(var t,i,n,s,r=e._pt;r;){for(t=r._next,i=n;i&&i.pr>r.pr;)i=i._next;(r._prev=i?i._prev:s)?r._prev._next=r:n=r,(r._next=i)?i._prev=r:s=r,r=t}e._pt=n},ni=(si.prototype.modifier=function(e,t,i){this.mSet=this.mSet||this.set,this.set=Xt,this.m=e,this.mt=i,this.tween=t},si);function si(e,t,i,n,s,r,a,o,l){this.t=t,this.s=n,this.c=s,this.p=i,this.r=r||Qt,this.d=a||this,this.set=o||Vt,this.pr=l||0,(this._next=e)&&(e._prev=this)}b(ct+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(e){return it[e]=1})),tt.TweenMax=tt.TweenLite=qt,tt.TimelineLite=tt.TimelineMax=Dt,fe=new Dt({sortChildren:!1,defaults:Re,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Ne.stringFilter=le;var ri={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),i=0;i