(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[9],{714:function(e,t,i){"use strict";i.d(t,"d",(function(){return me})),i.d(t,"a",(function(){return pe})),i.d(t,"c",(function(){return be})),i.d(t,"e",(function(){return y})),i.d(t,"b",(function(){return N}));var s=i(0),n=i.n(s),r=i(13),o=i.n(r),l=i(7),a=i(183);function c(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()}function d(e){return e.currentSlide-function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0}(e)}function u(e){return e.currentSlide+function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow}(e)}function h(e){return e&&e.offsetWidth||0}function p(e){return e&&e.offsetHeight||0}function f(e,t){void 0===t&&(t=!1);const i=e.startX-e.curX,s=e.startY-e.curY,n=Math.atan2(s,i);let r=Math.round(180*n/Math.PI);return r<0&&(r=360-Math.abs(r)),r<=45&&r>=0||r<=360&&r>=315?"left":r>=135&&r<=225?"right":!0===t?r>=35&&r<=135?"up":"down":"vertical"}function g(e){let t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t}function m(e,t){let i,s;const{slidesToScroll:n,slidesToShow:r,slideCount:o,currentSlide:l,targetSlide:a,infinite:c}=e,d=o%n!=0?0:(o-l)%n;if("previous"===t.message)i=0===d?n:r-d,s=l-i,c||(s=a-n);else if("next"===t.message)i=0===d?n:d,s=l+i,c||(s=a+n);else if("pagination"===t.message)s=t.index*t.slidesToScroll;else if("children"===t.message){if(s=t.index,c){const i=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+function(e){let{slidesToShow:t,centerMode:i,centerPadding:s}=e;if(i){let e=(t-1)/2+1;return parseInt(s)>0&&(e+=1),e}return t-1}(e)?"left":"right":e.targetSlide0&&(e+=1),/*!rtl && */t%2==0&&(e+=1),e}return 0}(e)?"right":"left"}(Object.assign({},e,{targetSlide:s}));s>t.currentSlide&&"left"===i?s-=o:si[i.length-1])t=i[i.length-1];else for(const e of i){if(t{if(e.vertical){if(i.offsetTop+p(i)/2>-1*e.swipeLeft)return i}else if(i.offsetLeft-t+h(i)/2>-1*e.swipeLeft)return i;return!0});if(!n)return 0;const r=e.currentSlide;return Math.abs(n.dataset.index-r)||1}return e.slidesToScroll}function b(e){let t,i;const s=e.slideCount+2*e.slidesToShow;e.vertical?i=s*e.slideHeight:t=function(e){return 1===e.slideCount?1:k(e)+e.slideCount+C(e)}(e)*e.slideWidth;let n={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){const t=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";n=Object.assign({},n,{WebkitTransform:t,transform:i,msTransform:s})}else e.vertical?n.top=e.left:n.left=e.left;return e.fade&&(n={opacity:1}),t&&(n.width=t),i&&(n.height=i),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?n.marginTop=e.left+"px":n.marginLeft=e.left+"px"),n}function v(e){const t=b(e);return e.useTransform?(t.WebkitTransition=`-webkit-transform ${e.speed}ms ${e.cssEase}`,t.transition=`transform ${e.speed}ms ${e.cssEase}`,Object(l.a)(e.additionalTransitionProperties)&&(t.transitionProperty=["transform"].concat(e.additionalTransitionProperties).join(", "),t.WebkitTransitionProperty=["-webkit-transform"].concat(e.additionalTransitionProperties).join(", "))):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t}function T(e){if(e.unslick)return 0;const{slideIndex:t,trackRef:i,infinite:s,centerMode:n,slideCount:r,slidesToShow:o,slidesToScroll:l,slideWidth:a,listWidth:c,variableWidth:d,slideHeight:u,fade:h,vertical:p}=e;let f,g=0,m=0;if(h||1===e.slideCount)return 0;let S=0;if(s?(S=-k(e),r%l!=0&&t+l>r&&(S=-(t>r?o-(t-r):r%l)),n&&(S+=parseInt(o/2))):(r%l!=0&&t+l>r&&(S=o-r%l),n&&(S=parseInt(o/2))),g=S*a,m=S*u,f=p?t*u*-1+m:t*a*-1+g,!0===d){let r;const o=i&&i.current;r=t+k(e);let l=o&&o.childNodes[r];if(f=l?-1*l.offsetLeft:0,!0===n){var w;r=s?t+k(e):t,l=o&&o.children[r],f=0;for(let e=0;e=e.slideCount,e.centerMode?(r=Math.floor(e.slidesToShow/2),s=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-r-1&&o<=e.currentSlide+r&&(i=!0)):i=e.currentSlide<=o&&o=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide,{isSlide:!0,isCurrent:o===t,isClone:n,isCentered:s,isActive:i}}function L(e){let t;const i=[],s=[],r=[],o=n.a.Children.count(e.children),l=d(e),a=u(e);return n.a.Children.forEach(e.children,(c,d)=>{let u;const h={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};u=c;const p=function(e){const t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(Object.assign({},e,{index:d}));let f=W(Object.assign({},e,{index:d}));if(i.push(n.a.createElement(N.Provider,{key:"original-"+d,value:Object.assign({index:d,originalIndex:d,total:o,style:Object.assign({outline:"none"},p),onClick:()=>null==e.focusOnSelect?void 0:e.focusOnSelect(h),isAnimating:e.animating},f)},u)),e.infinite&&!1===e.fade){const i=o-d;i<=k(e)&&o!==e.slidesToShow&&(t=-i,t>=l&&(u=c),f=W(Object.assign({},e,{index:t})),s.push(n.a.createElement(N.Provider,{key:"precloned-"+t,value:Object.assign({index:t,originalIndex:d,total:o,style:p,onClick:()=>null==e.focusOnSelect?void 0:e.focusOnSelect(h),isAnimating:e.animating},f)},u))),o!==e.slidesToShow&&(t=o+d,tnull==e.focusOnSelect?void 0:e.focusOnSelect(h),isAnimating:e.animating},f)},u)))}}),s.concat(i,r)}var z=Object(s.forwardRef)((function(e,t){let{trackStyle:i,onMouseEnter:s,onMouseOver:r,onMouseLeave:o}=e;const l=L(function(e,t){if(null==e)return{};var i,s,n={},r=Object.keys(e);for(s=0;s=0||(n[i]=e[i]);return n}(e,M));return n.a.createElement(P,{ref:t,className:R.className,style:i,onMouseEnter:s,onMouseOver:r,onFocus:r,onMouseLeave:o},l)})),I=i(285),_=i(20);function D(e,t){return(t%e+e)%e}const H=["animating"];function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var t=1;t{this.state.animating?(this.onWindowResized(!1),this.callbackTimers.push(window.setTimeout(()=>this.onWindowResized(),this.props.speed))):this.onWindowResized()}):null,this.animationEndCallback=void 0,this.slickPrev=()=>{this.callbackTimers.push(window.setTimeout(()=>this.changeSlide({message:"previous"}),0))},this.slickNext=()=>{this.callbackTimers.push(window.setTimeout(()=>this.changeSlide({message:"next"}),0))},this.slickGoTo=function(e,i){if(void 0===i&&(i=!1),e=Number(e),isNaN(e))return"";t.callbackTimers.push(window.setTimeout(()=>t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},i),0))},this.componentDidMount=()=>{var e,t;null==(e=(t=this.props).onInit)||e.call(t);const i=Object.assign({listRef:this.listRef.current,trackRef:this.trackRef},this.props,this.state);var s;if(this.updateState(i,!0),this.props.watchTrackResizes)this.trackRef.current&&(null==(s=this.ro)||s.observe(this.trackRef.current));else if(this.listRef.current){var n;null==(n=this.ro)||n.observe(this.listRef.current)}window.addEventListener?window.addEventListener("resize",this.onWindowResized):window.attachEvent("onresize",this.onWindowResized)},this.componentDidUpdate=e=>{var t,i;null==(t=(i=this.props).onReInit)||t.call(i);const s=Object.assign({listRef:this.listRef.current,trackRef:this.trackRef},this.props,this.state),r=this.didPropsChange(e);r&&this.updateState(s,r,()=>{this.state.currentSlide>=n.a.Children.count(this.props.children)&&this.changeSlide({message:"index",index:n.a.Children.count(this.props.children)-this.props.slidesToShow,currentSlide:this.state.currentSlide})})},this.componentWillUnmount=()=>{var e;this.animationEndCallback&&clearTimeout(this.animationEndCallback),this.resizeDebounceTimeout&&clearInterval(this.resizeDebounceTimeout),this.callbackTimers.length&&(this.callbackTimers.forEach(e=>clearTimeout(e)),this.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",this.onWindowResized):window.detachEvent("onresize",this.onWindowResized),null==(e=this.ro)||e.disconnect()},this.updateListRef=e=>{if(e&&e!==this.listRef.current){var t,i;if(this.listRef.current&&!this.props.watchTrackResizes)null==(t=this.ro)||t.unobserve(this.listRef.current);if(this.listRef.current=e,!this.props.watchTrackResizes)null==(i=this.ro)||i.observe(this.listRef.current)}},this.onWindowResized=e=>{this.resizeDebounceTimeout&&clearTimeout(this.resizeDebounceTimeout),this.resizeDebounceTimeout=window.setTimeout(()=>{var t,i;this.resizeDebounceTimeout=null,this.resizeWindow(e),null==(t=(i=this.props).onResize)||t.call(i)},50)},this.resizeWindow=function(e){void 0===e&&(e=!0);if(!Boolean(t.trackRef.current))return;const i=Object.assign({listRef:t.listRef.current,trackRef:t.trackRef},t.props,t.state);t.updateState(i,e),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback},this.updateState=(e,t,i)=>{const s=function(e){const t=n.a.Children.count(e.children),i=e.listRef,s=Math.ceil(h(i)),r=e.trackRef&&e.trackRef.current,o=Math.ceil(h(r));let l;if(e.vertical)l=s;else{let t=e.centerMode&&2*parseInt(e.centerPadding)||0;"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(t*=s/100),l=Math.ceil((s-t)/e.slidesToShow)}const a=i&&p(i.querySelector('[data-index="0"]'))||0,c=a*e.slidesToShow;return{slideCount:t,slideWidth:l,listWidth:s,trackWidth:o,currentSlide:void 0===e.currentSlide?e.initialSlide:e.currentSlide,slideHeight:a,listHeight:c}}(e),r=T(Object.assign({},e,s,{slideIndex:s.currentSlide})),o=b(Object.assign({},e,{left:r}));(t||n.a.Children.count(this.props.children)!==n.a.Children.count(e.children))&&(s.trackStyle=o),this.setState(s,i)},this.ssrInit=()=>{if(this.props.variableWidth){let e=0,t=0;const i=[],s=k(Object.assign({},this.props,this.state,{slideCount:n.a.Children.count(this.props.children)})),r=C(Object.assign({},this.props,this.state,{slideCount:n.a.Children.count(this.props.children)}));n.a.Children.forEach(this.props.children,t=>{var s,n,r;i.push(null==t||null==(s=t.props)?void 0:s.style.width),e+=null!=(n=null==t||null==(r=t.props)?void 0:r.style.width)?n:0});for(let n=0;n=o))return{};r<0?k=r+o:r>=o&&(k=r-o),S={animating:!0,currentSlide:k,targetSlide:k},w={animating:!1,targetSlide:k}}else p=k,k<0?(p=k+o,n?o%d!=0&&(p=o-o%d):p=0):!g(e)&&k>l?k=p=l:c&&k>=o?(k=n?o:o-1,p=n?0:o-1):k>=o&&(p=k-o,n?o%d!=0&&(p=0):p=o-u),!n&&k+u>=o&&(p=o-u),f=T(Object.assign({},e,{slideIndex:k})),m=T(Object.assign({},e,{slideIndex:p})),n||(f===m&&(k=p),f=m),h?(S={animating:!0,currentSlide:p,trackStyle:v(Object.assign({},e,{left:f})),targetSlide:C},w={animating:!1,currentSlide:p,trackStyle:b(Object.assign({},e,{left:m})),swipeLeft:null,targetSlide:C}):S={currentSlide:p,trackStyle:b(Object.assign({},e,{left:m})),targetSlide:C};return{state:S,nextState:w}}(Object.assign({index:e},t.props,t.state,{trackRef:t.trackRef,useCSS:t.props.useCSS&&!i}));l&&(null==s||s(o,l.currentSlide),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),null==r||r(o),delete t.animationEndCallback),t.setState(l,()=>{c&&(t.animationEndCallback=window.setTimeout(()=>{const{animating:e}=c,i=function(e,t){if(null==e)return{};var i,s,n={},r=Object.keys(e);for(s=0;s=0||(n[i]=e[i]);return n}(c,H);t.setState(i,()=>{t.callbackTimers.push(window.setTimeout(()=>t.setState({animating:e}),10)),null==r||r(l.currentSlide),delete t.animationEndCallback})},n))}))},this.changeSlide=function(e,i){void 0===i&&(i=!1);const s=m(Object.assign({},t.props,t.state),e);if((0===s||s)&&(!0===i?t.slideHandler(s,i):t.slideHandler(s),t.props.focusOnSelect)){var n,r;const e=null==(n=t.listRef.current)?void 0:n.querySelectorAll(".slider__slide--current");null==e||null==(r=e[0])||null==r.focus||r.focus()}},this.clickHandler=e=>{!1===this.clickable&&(e.stopPropagation(),e.preventDefault()),this.clickable=!0},this.selectHandler=e=>{this.changeSlide(e)},this.disableBodyScroll=()=>{window.ontouchmove=e=>{(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}},this.enableBodyScroll=()=>{window.ontouchmove=null},this.swipeStart=e=>{this.props.verticalSwiping&&this.disableBodyScroll();const t=function(e,t,i){return"IMG"===e.target.tagName&&c(e),!t||!i&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}}(e,this.props.swipe,this.props.draggable);""!==t&&this.setState(t)},this.swipeMove=e=>{const t=function(e,t){const{scrolling:i,animating:s,vertical:n,swipeToSlide:r,verticalSwiping:o,currentSlide:l,edgeFriction:a,edgeDragged:d,onEdge:u,swiped:h,swiping:p,slideCount:m,slidesToScroll:S,infinite:w,touchObject:v,swipeEvent:k,listHeight:C,listWidth:x}=t;if(i)return;if(s)return c(e);n&&r&&o&&c(e);let O=null,y={};const j=T(t);v.curX=e.touches?e.touches[0].pageX:e.clientX,v.curY=e.touches?e.touches[0].pageY:e.clientY,v.swipeLength=Math.round(Math.sqrt(Math.pow(v.curX-v.startX,2)));const R=Math.round(Math.sqrt(Math.pow(v.curY-v.startY,2)));if(!o&&!p&&R>10)return{scrolling:!0};o&&(v.swipeLength=R);let E=v.curX>v.startX?1:-1;o&&(E=v.curY>v.startY?1:-1);const N=Math.ceil(m/S),M=f(t.touchObject,o);let P=v.swipeLength;return w||(0===l&&("right"===M||"down"===M)||l+1>=N&&("left"===M||"up"===M)||!g(t)&&("left"===M||"up"===M))&&(P=v.swipeLength*a,!1===d&&u&&(u(M),y.edgeDragged=!0)),!h&&k&&(k(M),y.swiped=!0),O=n?j+P*(C/x)*E:j+P*E,o&&(O=j+P*E),y=Object.assign({},y,{touchObject:v,swipeLeft:O,trackStyle:b(Object.assign({},t,{left:O}))}),Math.abs(v.curX-v.startX)<.8*Math.abs(v.curY-v.startY)||v.swipeLength>10&&(y.swiping=!0,c(e)),y}(e,Object.assign({},this.props,this.state,{trackRef:this.trackRef,listRef:this.listRef.current,slideIndex:this.state.currentSlide}));if(t){var i,s,n;if(t.swiping)this.clickable=!1,null==(i=window.getSelection())||null==i.removeAllRanges||i.removeAllRanges(),null==(s=window.getSelection())||null==s.empty||s.empty(),null==(n=document.selection)||null==n.empty||n.empty();if("function"==typeof this.props.onSwipe){let e=0,i=0,s=0;const n=parseFloat(t.swipeLeft),r=parseFloat(this.state.slideWidth);if(this.props.infinite)s=-1-n/r,e=D(this.state.slideCount,Math.floor(s)),i=D(this.state.slideCount,Math.ceil(s));else{const t=-n;if(t>=0){const n=this.state.slideCount-1;s=t/r,s>n?(e=n,i=n,s=0):(e=Math.floor(s),i=Math.ceil(s))}}this.props.onSwipe(e,i,D(1,s))}this.setState(t)}},this.swipeEnd=e=>{const t=function(e,t){const{dragging:i,swipe:s,touchObject:n,listWidth:r,touchThreshold:o,verticalSwiping:l,listHeight:a,swipeToSlide:d,scrolling:u,onSwipe:h,targetSlide:p,currentSlide:g,infinite:m}=t;if(!i)return s&&c(e),{};const b=l?a/o:r/o,k=f(n,l),C={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:void 0};if(u)return C;if(!n.swipeLength)return C;if(n.swipeLength>b){let i,s;c(e),h&&h(k);const n=m?g:p;switch(k){case"left":case"up":s=n+w(t),i=d?S(t,s):s,C.currentDirection=0;break;case"right":case"down":s=n-w(t),i=d?S(t,s):s,C.currentDirection=1;break;default:i=n}C.triggerSlideHandler=i}else{const e=T(t);C.trackStyle=v(Object.assign({},t,{left:e}))}return C}(e,Object.assign({},this.props,this.state,{trackRef:this.trackRef,listRef:this.listRef.current,slideIndex:this.state.currentSlide}));if(!t)return;const i=t.triggerSlideHandler;delete t.triggerSlideHandler,this.setState(t),void 0!==i?(this.slideHandler(i),this.props.verticalSwiping&&this.enableBodyScroll()):"function"==typeof this.props.onSwipe&&this.props.onSwipe(this.state.currentSlide,(this.state.currentSlide+1)%this.state.slideCount,0)},this.touchEnd=e=>{this.swipeEnd(e),this.clickable=!0},this.updateTrackRef=this.updateTrackRef.bind(this),this.state=Object.assign({},X,{currentSlide:this.props.initialSlide,slideCount:n.a.Children.count(this.props.children)});const i=this.ssrInit();this.state=Object.assign({},this.state,i)}get track(){return this.trackRef.current}canGoPrevious(e){return(t={infinite:this.props.infinite,centerMode:this.props.centerMode,currentSlide:e,slideCount:this.state.slideCount,slidesToShow:this.props.slidesToShow}).infinite||0!==t.currentSlide&&t.slideCount>t.slidesToShow;var t}canGoNext(e){return g({infinite:this.props.infinite,centerMode:this.props.centerMode,currentSlide:e,slideCount:this.state.slideCount,slidesToShow:this.props.slidesToShow})}goToPage(e){this.changeSlide({message:"pagination",index:e,slidesToScroll:this.props.slidesToScroll,currentSlide:this.state.currentSlide})}render(){const e=o()(y.element("inner-slider").className,this.props.className,{[y.element("inner-slider").modifier("vertical").className]:this.props.vertical});let t=null;this.props.vertical&&(t={height:this.state.listHeight});let i=null;!1===this.props.vertical?!0===this.props.centerMode&&(i={padding:"0px "+this.props.centerPadding}):!0===this.props.centerMode&&(i={padding:this.props.centerPadding+" 0px"});const s=Object.assign({},t,i);this.state.swiping?s.userSelect="none":s.userSelect="text";const r=this.props.touchMove;let l={className:y.element("list").className,style:s,onClick:this.clickHandler,onMouseDown:r?this.swipeStart:void 0,onMouseMove:this.state.dragging&&r?this.swipeMove:void 0,onMouseUp:r?this.swipeEnd:void 0,onMouseLeave:this.state.dragging&&r?this.swipeEnd:void 0,onTouchStart:r?this.swipeStart:void 0,onTouchMove:this.state.dragging&&r?this.swipeMove:void 0,onTouchEnd:r?this.touchEnd:void 0,onTouchCancel:this.state.dragging&&r?this.swipeEnd:void 0},a={className:e,dir:"ltr",style:this.props.style};return this.props.unslick&&(l={className:y.element("list").className},a={className:e}),n.a.createElement("div",a,n.a.createElement("div",A({ref:this.updateListRef},l),n.a.createElement(z,{ref:this.updateTrackRef,animating:this.state.animating,fade:this.props.fade,cssEase:this.props.cssEase,speed:this.props.speed,infinite:this.props.infinite,centerMode:this.props.centerMode,currentSlide:this.state.currentSlide,slideWidth:this.state.slideWidth,slideHeight:this.state.slideHeight,vertical:this.props.vertical,slidesToShow:this.props.slidesToShow,slidesToScroll:this.props.slidesToScroll,slideCount:this.state.slideCount,trackStyle:this.state.trackStyle,variableWidth:this.props.variableWidth,centerPadding:this.props.centerPadding,targetSlide:this.state.targetSlide,useCSS:this.props.useCSS,focusOnSelect:this.props.focusOnSelect&&this.clickable?this.selectHandler:void 0},this.props.children)))}updateTrackRef(e){if(e&&e!==this.trackRef.current){var t,i;if(this.props.watchTrackResizes&&this.trackRef.current)null==(t=this.ro)||t.unobserve(this.trackRef.current);if(this.trackRef.current=e,this.props.watchTrackResizes)null==(i=this.ro)||i.observe(this.trackRef.current)}}didPropsChange(e){let t=!1;for(const i of Object.keys(this.props)){if(!Object.hasOwnProperty.call(e,i)){t=!0;break}if("object"!=typeof e[i]&&"function"!=typeof e[i]&&e[i]!==this.props[i]){t=!0;break}}return t||n.a.Children.count(this.props.children)!==n.a.Children.count(e.children)}}var $=i(114),B=i(184);const F=x.d.div.withConfig({componentId:"sc-1vpbtwn-0"})(["&.","{display:block;float:left;min-height:1px;> div{height:100%;}img{display:block;}}"],j.className);function G(e){var t;let{children:i,style:r}=e;const{index:l,isActive:a,isAnimating:c,isCentered:d,isClone:u,isCurrent:h,originalIndex:p,total:f,style:g,onClick:m}=Object(s.useContext)(N),S=o()(j.className,{[j.modifier("active").className]:a,[j.modifier("center").className]:d,[j.modifier("cloned").className]:u,[j.modifier("current").className]:h});return n.a.createElement($.b,{isInteracting:null!=(t=a&&!c)&&t},n.a.createElement(F,{style:Object.assign({},g,r),className:S,role:"group","aria-roledescription":"slide","aria-label":`${(null!=p?p:l)+1} of ${f}`,onClick:m,"aria-hidden":!a,tabIndex:a?B.a.DefaultBehaviour:B.a.NoKeyboardButFocusable,"data-index":l},i))}var q=i(24),U=i(27),K=i(51),V=i(1),J=i(28),Q=i(203),Z=i(273);const ee=y.element("button"),te=ee.element("icon").className,ie=x.d.button.withConfig({componentId:"sc-1tsld8v-0"})(["&.","{display:flex;align-items:center;justify-content:center;"," width:40px;height:40px;border:1px solid ",";background:",";border-radius:50%;fill:",";&:disabled{opacity:0.5;cursor:initial;}@media (hover:hover){&:not(:disabled):hover{opacity:0.9;fill:",";}:focus-visible{",";}}}.","{width:18px;}"],ee.className,Object(Q.a)(),V.a.grey80,V.a.white,V.a.blue,V.a.lightBlue,Object(U.c)(),te),se="previous",ne="next";function re(e){let{onClick:t,className:i,direction:s,slidesToScroll:r=1,disabled:l}=e;const a=s===ne;return n.a.createElement(ie,{type:"button",className:o()(i,ee.className),onClick:t,disabled:!t||l},n.a.createElement(K.a,{text:`${a?"Next":"Previous"} ${Object(Z.a)("slide",r)}`}),n.a.createElement(J.b,{className:te,iconId:a?J.a.ChevronRight:J.a.ChevronLeft,ariaHidden:!0}))}var oe=i(15),le=i(10);const ae=y.element("pagination"),ce=x.d.ul.withConfig({componentId:"ajek9t-0"})(["&.","{display:flex !important;margin:16px 0 0 0;gap:12px;padding:0;list-style:none;justify-content:center;flex-wrap:wrap;"," ","}.","{&__item{width:40px;height:40px;}&__button{width:100%;height:10px;border:none;font-size:0;line-height:0;position:relative;z-index:3;border-radius:4px;overflow:hidden;&:focus{border:",";}&:before{content:'';background-color:",";position:absolute;inset:0;opacity:0.2;}&--active:before{opacity:1;}}}"],ae.className,Object(le.a)(oe.a.medium,Object(x.c)(["margin-top:32px;"])),Object(le.a)(oe.a.large,Object(x.c)(["display:none !important;"])),ae.className,e=>{let{theme:t}=e;return"2px solid "+t.linkColor},e=>{let{theme:t}=e;return t.linkColor});function de(e){let{slidesToScroll:t,slidesToShow:i,slideCount:s,currentSlide:r,onClick:l,infinite:c,className:d}=e;const u=(e,t)=>{e.preventDefault(),l(t)},h=function(e,t,i,s){return s?Math.ceil(e/t):Math.ceil((e-i)/t)+1}(s,t,i,c),p=[];for(let e=0;e=l&&r<=i:r===l;p.push(n.a.createElement("li",{key:e,className:o()(ae.element("item").className,{[ae.element("item").modifier("active").className]:d})},n.a.createElement("button",{onClick:t=>u(t,e),className:o()(ae.element("button").className,{[ae.element("button").modifier("active").className]:d})},n.a.createElement(K.a,{text:`Go to ${Object(Z.a)("slide",t)} ${e*t+1}${t>1?` ${2===t?"and":"to"} ${(e+1)*t}`:""}${d?` (Current ${Object(Z.a)("slide",t)})`:""}`}))))}return n.a.createElement(ce,{className:o()(d,ae.className)},p)}var ue=i(57);function he(){return(he=Object.assign?Object.assign.bind():function(e){for(var t=1;t1||t.slidesPerRow>1)&&(console.error("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1),t}var me=Object(s.forwardRef)((function(e,t){var i,r,a,c;let{hideOverflow:d=!0,isGreyScale:u,reset:h,className:p,title:f,centeredWhenUnslick:g,ariaLabel:m,ariaLabelledBy:S,responsive:w=[],additionalTransitionProperties:b,afterChange:v,arrows:T=!0,swipe:k=!0,arrowsPosition:C=pe.TopLeft,beforeChange:x,showPagination:O=!1,edgeFriction:j=.35,fade:R=!1,infinite:N=!0,watchTrackResizes:M=!1,slidesToShow:P=1,slidesToScroll:W=1,slidesPerRow:L=1,speed:z=500,rows:I=1,onSwipe:D,onResize:H,children:A}=e;const X=Object(s.useRef)();Object(s.useEffect)(()=>{var e;null==(e=X.current)||e.slickGoTo(0,!0)},[h]);const[$,B]=Object(s.useState)(1/0);Object(s.useEffect)(()=>{if(!Object(_.a)())return;B(window.innerWidth);let e=0;const t=()=>{clearTimeout(e),e=window.setTimeout(()=>B(window.innerWidth),50)};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]);const F=Object(s.useMemo)(()=>{const e={additionalTransitionProperties:b,afterChange:v,arrows:T,arrowsPosition:C,beforeChange:x,showPagination:O,edgeFriction:j,fade:R,infinite:N,watchTrackResizes:M,slidesToShow:P,slidesToScroll:W,slidesPerRow:L,speed:z,swipe:k,rows:I,onSwipe:D,onResize:H};if(!Object(l.a)(w))return ge(e);const t=w.filter(e=>e.breakpoint>$).sort((e,t)=>e.breakpoint-t.breakpoint)[0];return ge(t?Object.assign({},e,t.settings):e)},[w,$,b,v,T,C,x,O,j,R,N,M,P,W,L,z,k,I,D,H]),[U,K]=Object(s.useState)(0),V=Object(s.useCallback)((e,t)=>{K(t),null==F.beforeChange||F.beforeChange(e,t)},[F.beforeChange]),J=function(e,t,i,s){const r=[];let o=null;for(let a=0;a=e.length)break;t.push(e[r])}c.push(t)}t>1&&(c=c.map((e,t)=>n.a.createElement("div",{key:t},e))),s?r.push(n.a.createElement(G,{key:a,style:{width:o}},c)):r.push(n.a.createElement(G,{key:a},c))}return r}(n.a.Children.toArray(A).filter(e=>"string"==typeof e?!!e.trim():!!e),F.rows,F.slidesPerRow,F.variableWidth),Q=J.length;let ee=q.a;!0===F.showPagination&&Q>=F.slidesToShow&&(ee=n.a.createElement(de,{slidesToScroll:F.slidesToScroll,slidesToShow:F.slidesToShow,currentSlide:U,slideCount:Q,infinite:F.infinite,onClick:e=>{var t;return null==(t=X.current)?void 0:t.goToPage(e)}}));const te=null==(i=X.current)?void 0:i.canGoNext(U),ie=null==(r=X.current)?void 0:r.canGoPrevious(U),oe=F.arrows&&Q>F.slidesToShow&&(te||ie),le=n.a.createElement("div",{className:o()(y.element("arrows").className,{[y.element("arrows").modifier("bottom").className]:F.arrowsPosition===pe.Bottom})},n.a.createElement(re,{direction:se,onClick:null==(a=X.current)?void 0:a.slickPrev,disabled:!ie,slidesToScroll:F.slidesToScroll}),n.a.createElement(re,{direction:ne,onClick:null==(c=X.current)?void 0:c.slickNext,disabled:!te,slidesToScroll:F.slidesToScroll})),ae=f||oe&&F.arrowsPosition===pe.TopLeft,ce=ee||oe&&F.arrowsPosition===pe.Bottom;return n.a.createElement(E,{className:o()(p,y.className,{[y.modifier("hide-overflow").className]:d,[y.modifier("greyscale").className]:u,[y.modifier("centered").className]:g&&Q<=F.slidesToShow,[y.modifier("no-header").className]:!ae}),role:"group","aria-roledescription":"carousel","aria-label":m,"aria-labelledby":S},n.a.createElement("span",{className:ue.a.VisuallyHidden,"aria-live":"polite","aria-atomic":!0},Object(Z.a)("Slide",F.slidesToShow)," ",U+1," ",F.slidesToShow>1?`to ${U+F.slidesToShow} `:"","of ",J.length),ae&&n.a.createElement("div",{className:y.element("header").className},f&&n.a.createElement("div",{className:y.element("title").className},f),oe&&F.arrowsPosition===pe.TopLeft&&le),n.a.createElement("div",{className:y.element("content").className},ce&&n.a.createElement("div",{className:y.element("navigation").className},ee,oe&&F.arrowsPosition===pe.Bottom&&le),n.a.createElement(Y,he({},F,{ref:e=>{X.current=e,"function"==typeof t?t(e):t&&(t.current=e)},unslick:Q<=F.slidesToShow,beforeChange:V}),J)))})),Se=i(22),we=i(54);function be(e,t,i,s){return Object(l.a)(e)?(n,r)=>{if(n===r||r<0)return;const o=e.length;let l=r>n;0===n&&r===o?l=!1:n===o&&0===r&&(l=!0),s({actionOrActions:[Se.b.CLICK,...t(),l?"Next":"Previous"],label:i(n,r)})}:we.a}}}]); //# sourceMappingURL=9.5725c2dcccde215dfa73.mjs.map