(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[998],{4184:function(e,t){var n;/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t{t.current=e},[e]),t};function o(e){let t=i(e);return(0,r.useCallback)(function(...e){return t.current&&t.current(...e)},[t])}var a=function(e,t){let n=(0,r.useRef)(!0);(0,r.useEffect)(()=>{if(n.current){n.current=!1;return}return e()},t)};let s=2147483648-1;void 0!==n.g&&n.g.navigator&&n.g.navigator.product,new WeakMap;var u=n(5893);let l=["as","disabled"];function c({tagName:e,disabled:t,href:n,target:r,rel:i,role:o,onClick:a,tabIndex:s=0,type:u}){e||(e=null!=n||null!=r||null!=i?"a":"button");let l={tagName:e};if("button"===e)return[{type:u||"button",disabled:t},l];let c=r=>{var i;if(!t&&("a"!==e||(i=n)&&"#"!==i.trim())||r.preventDefault(),t){r.stopPropagation();return}null==a||a(r)};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:null!=o?o:"button",disabled:void 0,tabIndex:t?void 0:s,href:n,target:"a"===e?r:void 0,"aria-disabled":t||void 0,rel:"a"===e?i:void 0,onClick:c,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),c(e))}},l]}let f=r.forwardRef((e,t)=>{let{as:n,disabled:r}=e,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,l),[o,{tagName:a}]=c(Object.assign({tagName:n,disabled:r},i));return(0,u.jsx)(a,Object.assign({},i,o,{ref:t}))});f.displayName="Button";let d=["onKeyDown"],p=r.forwardRef((e,t)=>{var n;let{onKeyDown:r}=e,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,d),[a]=c(Object.assign({tagName:"a"},i)),s=o(e=>{a.onKeyDown(e),null==r||r(e)});return(n=i.href)&&"#"!==n.trim()&&"button"!==i.role?(0,u.jsx)("a",Object.assign({ref:t},i,{onKeyDown:r})):(0,u.jsx)("a",Object.assign({ref:t},i,a,{onKeyDown:s}))});p.displayName="Anchor";var v=n(4184),h=n.n(v),m=n(7462),x=n(3366);function E(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function b(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}n(1143);var g=/-(.)/g;let y=r.createContext({prefixes:{},breakpoints:["xxl","xl","lg","md","sm","xs"],minBreakpoint:"xs"}),{Consumer:C,Provider:k}=y;function N(e,t){let{prefixes:n}=(0,r.useContext)(y);return e||n[t]||t}let S=e=>e[0].toUpperCase()+e.replace(g,function(e,t){return t.toUpperCase()}).slice(1);var w=function(e,{displayName:t=S(e),Component:n,defaultProps:i}={}){let o=r.forwardRef(({className:t,bsPrefix:r,as:o=n||"div",...a},s)=>{let l={...i,...a},c=N(r,e);return(0,u.jsx)(o,{ref:s,className:h()(t,c),...l})});return o.displayName=t,o}("carousel-caption");let O=r.forwardRef(({as:e="div",bsPrefix:t,className:n,...r},i)=>{let o=h()(n,N(t,"carousel-item"));return(0,u.jsx)(e,{ref:i,...r,className:o})});function j(e,t){let n=0;return r.Children.map(e,e=>r.isValidElement(e)?t(e,n++):e)}O.displayName="CarouselItem";var R=/([A-Z])/g,T=/^ms-/;function D(e){return e.replace(R,"-$1").toLowerCase().replace(T,"-ms-")}var M=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i,L=function(e,t){var n,r,i,o="",a="";if("string"==typeof t){return e.style.getPropertyValue(D(t))||((i=(n=e)&&n.ownerDocument||document)&&i.defaultView||window).getComputedStyle(n,void 0).getPropertyValue(D(t))}Object.keys(t).forEach(function(n){var r=t[n];r||0===r?n&&M.test(n)?a+=n+"("+r+") ":o+=D(n)+": "+r+";":e.style.removeProperty(D(n))}),a&&(o+="transform: "+a+";"),e.style.cssText+=";"+o},_=!!("undefined"!=typeof window&&window.document&&window.document.createElement),P=!1,$=!1;try{var I={get passive(){return P=!0},get once(){return $=P=!0}};_&&(window.addEventListener("test",I,I),window.removeEventListener("test",I,!0))}catch(e){}var A=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!$){var i=r.once,o=r.capture,a=n;!$&&i&&(a=n.__once||function e(r){this.removeEventListener(t,e,o),n.call(this,r)},n.__once=a),e.addEventListener(t,a,P?r:o)}e.addEventListener(t,n,r)},U=function(e,t,n,r){var i=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,i),n.__once&&e.removeEventListener(t,n.__once,i)},K=function(e,t,n,r){return A(e,t,n,r),function(){U(e,t,n,r)}};function V(e,t){let n=L(e,t)||"",r=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*r}function X(e,t){var n,r,i,o,a,s,u,l,c,f,d,p;let v=V(e,"transitionDuration"),h=V(e,"transitionDelay"),m=(n=e,r=n=>{n.target===e&&(m(),t(n))},null==(i=v+h)&&(s=-1===(a=L(n,"transitionDuration")||"").indexOf("ms")?1e3:1,i=parseFloat(a)*s||0),d=(l=!1,c=setTimeout(function(){l||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,n,r),e.dispatchEvent(i)}}(n,"transitionend",!0)},i+5),f=K(n,"transitionend",function(){l=!0},{once:!0}),function(){clearTimeout(c),f()}),p=K(n,"transitionend",r),function(){d(),p()})}function Z(e,t){return(Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var F=n(3935),H={disabled:!1},B=r.createContext(null),G="unmounted",W="exited",Y="entering",q="entered",z="exiting",J=function(e){function t(t,n){r=e.call(this,t,n)||this;var r,i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=W,r.appearStatus=Y):i=q:i=t.unmountOnExit||t.mountOnEnter?G:W,r.state={status:i},r.nextCallback=null,r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Z(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===G?{status:W}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Y&&n!==q&&(t=Y):(n===Y||n===q)&&(t=z)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){if(this.cancelNextCallback(),t===Y){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:F.findDOMNode(this);n&&n.scrollTop}this.performEnter(e)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===W&&this.setState({status:G})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[F.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;if(!e&&!n||H.disabled){this.safeSetState({status:q},function(){t.props.onEntered(o)});return}this.props.onEnter(o,a),this.safeSetState({status:Y},function(){t.props.onEntering(o,a),t.onTransitionEnd(u,function(){t.safeSetState({status:q},function(){t.props.onEntered(o,a)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:F.findDOMNode(this);if(!t||H.disabled){this.safeSetState({status:W},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:z},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:W},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:F.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===G)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,x.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.createElement(B.Provider,{value:null},"function"==typeof n?n(e,i):r.cloneElement(r.Children.only(n),i))},t}(r.Component);function Q(){}J.contextType=B,J.propTypes={},J.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Q,onEntering:Q,onEntered:Q,onExit:Q,onExiting:Q,onExited:Q},J.UNMOUNTED=G,J.EXITED=W,J.ENTERING=Y,J.ENTERED=q,J.EXITING=z;let ee=e=>e&&"function"!=typeof e?t=>{e.current=t}:e,et=r.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:i,onExiting:o,onExited:a,addEndListener:s,children:l,childRef:c,...f},d)=>{let p=(0,r.useRef)(null),v=(0,r.useMemo)(()=>(function(e,t){let n=ee(e),r=ee(t);return e=>{n&&n(e),r&&r(e)}})(p,c),[p,c]),h=e=>{v(e&&"setState"in e?F.findDOMNode(e):null!=e?e:null)},m=e=>t=>{e&&p.current&&e(p.current,t)},x=(0,r.useCallback)(m(e),[e]),E=(0,r.useCallback)(m(t),[t]),b=(0,r.useCallback)(m(n),[n]),g=(0,r.useCallback)(m(i),[i]),y=(0,r.useCallback)(m(o),[o]),C=(0,r.useCallback)(m(a),[a]),k=(0,r.useCallback)(m(s),[s]);return(0,u.jsx)(J,{ref:d,...f,onEnter:x,onEntered:b,onEntering:E,onExit:g,onExited:C,onExiting:y,addEndListener:k,nodeRef:p,children:"function"==typeof l?(e,t)=>l(e,{...t,ref:h}):r.cloneElement(l,{ref:h})})}),en=r.forwardRef(({defaultActiveIndex:e=0,...t},n)=>{var l,c,f;let d,v;let{as:g="div",bsPrefix:C,slide:k=!0,fade:S=!1,controls:w=!0,indicators:O=!0,indicatorLabels:R=[],activeIndex:T,onSelect:D,onSlide:M,onSlid:L,interval:_=5e3,keyboard:P=!0,onKeyDown:$,pause:I="hover",onMouseOver:A,onMouseOut:U,wrap:K=!0,touch:V=!0,onTouchStart:Z,onTouchMove:F,onTouchEnd:H,prevIcon:B=(0,u.jsx)("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:G="Previous",nextIcon:W=(0,u.jsx)("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:Y="Next",variant:q,className:z,children:J,...Q}=(l={defaultActiveIndex:e,...t},Object.keys(c={activeIndex:"onSelect"}).reduce(function(e,t){var n,i,o,a,s,u,f,d,p=e[E(t)],v=e[t],h=(0,x.Z)(e,[E(t),t].map(b)),g=c[t],y=(n=l[g],i=(0,r.useRef)(void 0!==v),a=(o=(0,r.useState)(p))[0],s=o[1],u=void 0!==v,f=i.current,i.current=u,!u&&f&&a!==p&&s(p),[u?v:a,(0,r.useCallback)(function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i{eu||T===ec||(er.current?eo(er.current):eo((T||0)>ec?"next":"prev"),k&&el(!0),ef(T||0))},[T,eu,ec,k]),(0,r.useEffect)(()=>{er.current&&(er.current=null)});let ed=0;f=(e,t)=>{++ed,t===T&&(d=e.props.interval)},v=0,r.Children.forEach(J,e=>{r.isValidElement(e)&&f(e,v++)});let ep=i(d),ev=(0,r.useCallback)(e=>{if(eu)return;let t=ec-1;if(t<0){if(!K)return;t=ed-1}er.current="prev",null==D||D(t,e)},[eu,ec,D,K,ed]),eh=o(e=>{if(eu)return;let t=ec+1;if(t>=ed){if(!K)return;t=0}er.current="next",null==D||D(t,e)}),em=(0,r.useRef)();(0,r.useImperativeHandle)(n,()=>({element:em.current,prev:ev,next:eh}));let ex=o(()=>{!document.hidden&&function(e){if(!e||!e.style||!e.parentNode||!e.parentNode.style)return!1;let t=getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&"none"!==getComputedStyle(e.parentNode).display}(em.current)&&(en?ev():eh())}),eE="next"===ei?"start":"end";a(()=>{k||(null==M||M(ec,eE),null==L||L(ec,eE))},[ec]);let eb=`${ee}-item-${ei}`,eg=`${ee}-item-${eE}`,ey=(0,r.useCallback)(e=>{e.offsetHeight,null==M||M(ec,eE)},[M,ec,eE]),eC=(0,r.useCallback)(()=>{el(!1),null==L||L(ec,eE)},[L,ec,eE]),ek=(0,r.useCallback)(e=>{if(P&&!/input|textarea/i.test(e.target.tagName))switch(e.key){case"ArrowLeft":e.preventDefault(),en?eh(e):ev(e);return;case"ArrowRight":e.preventDefault(),en?ev(e):eh(e);return}null==$||$(e)},[P,$,ev,eh,en]),eN=(0,r.useCallback)(e=>{"hover"===I&&es(!0),null==A||A(e)},[I,A]),eS=(0,r.useCallback)(e=>{es(!1),null==U||U(e)},[U]),ew=(0,r.useRef)(0),eO=(0,r.useRef)(0),ej=function(){let e=function(){let e=(0,r.useRef)(!0),t=(0,r.useRef)(()=>e.current);return(0,r.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}(),t=(0,r.useRef)();return!function(e){let t=function(e){let t=(0,r.useRef)(e);return t.current=e,t}(e);(0,r.useEffect)(()=>()=>t.current(),[])}(()=>clearTimeout(t.current)),(0,r.useMemo)(()=>{let n=()=>clearTimeout(t.current);return{set:function(r,i=0){e()&&(n(),i<=s?t.current=setTimeout(r,i):function e(t,n,r){let i=r-Date.now();t.current=i<=s?setTimeout(n,i):setTimeout(()=>e(t,n,r),s)}(t,r,Date.now()+i))},clear:n}},[])}(),eR=(0,r.useCallback)(e=>{ew.current=e.touches[0].clientX,eO.current=0,"hover"===I&&es(!0),null==Z||Z(e)},[I,Z]),eT=(0,r.useCallback)(e=>{e.touches&&e.touches.length>1?eO.current=0:eO.current=e.touches[0].clientX-ew.current,null==F||F(e)},[F]),eD=(0,r.useCallback)(e=>{if(V){let t=eO.current;Math.abs(t)>40&&(t>0?ev(e):eh(e))}"hover"===I&&ej.set(()=>{es(!1)},_||void 0),null==H||H(e)},[V,I,ev,eh,ej,_,H]),eM=null!=_&&!ea&&!eu,eL=(0,r.useRef)();(0,r.useEffect)(()=>{var e,t;if(!eM)return;let n=en?ev:eh;return eL.current=window.setInterval(document.visibilityState?ex:n,null!=(e=null!=(t=ep.current)?t:_)?e:void 0),()=>{null!==eL.current&&clearInterval(eL.current)}},[eM,ev,eh,ep,_,ex,en]);let e_=(0,r.useMemo)(()=>O&&Array.from({length:ed},(e,t)=>e=>{null==D||D(t,e)}),[O,ed,D]);return(0,u.jsxs)(g,{ref:em,...Q,onKeyDown:ek,onMouseOver:eN,onMouseOut:eS,onTouchStart:eR,onTouchMove:eT,onTouchEnd:eD,className:h()(z,ee,k&&"slide",S&&`${ee}-fade`,q&&`${ee}-${q}`),children:[O&&(0,u.jsx)("div",{className:`${ee}-indicators`,children:j(J,(e,t)=>(0,u.jsx)("button",{type:"button","data-bs-target":"","aria-label":null!=R&&R.length?R[t]:`Slide ${t+1}`,className:t===ec?"active":void 0,onClick:e_?e_[t]:void 0,"aria-current":t===ec},t))}),(0,u.jsx)("div",{className:`${ee}-inner`,children:j(J,(e,t)=>{let n=t===ec;return k?(0,u.jsx)(et,{in:n,onEnter:n?ey:void 0,onEntered:n?eC:void 0,addEndListener:X,children:(t,i)=>r.cloneElement(e,{...i,className:h()(e.props.className,n&&"entered"!==t&&eb,("entered"===t||"exiting"===t)&&"active",("entering"===t||"exiting"===t)&&eg)})}):r.cloneElement(e,{className:h()(e.props.className,n&&"active")})})}),w&&(0,u.jsxs)(u.Fragment,{children:[(K||0!==T)&&(0,u.jsxs)(p,{className:`${ee}-control-prev`,onClick:ev,children:[B,G&&(0,u.jsx)("span",{className:"visually-hidden",children:G})]}),(K||T!==ed-1)&&(0,u.jsxs)(p,{className:`${ee}-control-next`,onClick:eh,children:[W,Y&&(0,u.jsx)("span",{className:"visually-hidden",children:Y})]})]})]})});en.displayName="Carousel";var er=Object.assign(en,{Caption:w,Item:O})}}]);