import{f as w,K as d,L as R,M as D,O as N,P as m,Q as y,S as A,T as I,v as H,U as fe,V as ve,W as he,X as pe,Y as ge,Z as Se,r as M,s as me,c as ye,g as we,j as z,R as ke}from"./index-9600e7d5.js";import{I as be}from"./ImageComponent-85a8e7ec.js";import{d as Ce}from"./index-707c4d2f.js";var Te={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};function Q(s,t,r){return Math.max(t,Math.min(s,r))}var W=function(t){var r=["onTouchStart","onTouchMove","onWheel"];r.includes(t._reactName)||t.preventDefault()},G=function(t){for(var r=[],o=oe(t),e=se(t),a=o;a<e;a++)t.lazyLoadedList.indexOf(a)<0&&r.push(a);return r},oe=function(t){return t.currentSlide-Le(t)},se=function(t){return t.currentSlide+xe(t)},Le=function(t){return t.centerMode?Math.floor(t.slidesToShow/2)+(parseInt(t.centerPadding)>0?1:0):0},xe=function(t){return t.centerMode?Math.floor((t.slidesToShow-1)/2)+1+(parseInt(t.centerPadding)>0?1:0):t.slidesToShow},Z=function(t){return t&&t.offsetWidth||0},J=function(t){return t&&t.offsetHeight||0},de=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o,e,a,i;return o=t.startX-t.curX,e=t.startY-t.curY,a=Math.atan2(e,o),i=Math.round(a*180/Math.PI),i<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":r===!0?i>=35&&i<=135?"up":"down":"vertical"},U=function(t){var r=!0;return t.infinite||(t.centerMode&&t.currentSlide>=t.slideCount-1||t.slideCount<=t.slidesToShow||t.currentSlide>=t.slideCount-t.slidesToShow)&&(r=!1),r},K=function(t,r){var o={};return r.forEach(function(e){return o[e]=t[e]}),o},Ee=function(t){var r=w.Children.count(t.children),o=t.listRef,e=Math.ceil(Z(o)),a=t.trackRef&&t.trackRef.node,i=Math.ceil(Z(a)),n;if(t.vertical)n=e;else{var l=t.centerMode&&parseInt(t.centerPadding)*2;typeof t.centerPadding=="string"&&t.centerPadding.slice(-1)==="%"&&(l*=e/100),n=Math.ceil((e-l)/t.slidesToShow)}var u=o&&J(o.querySelector('[data-index="0"]')),f=u*t.slidesToShow,c=t.currentSlide===void 0?t.initialSlide:t.currentSlide;t.rtl&&t.currentSlide===void 0&&(c=r-1-t.initialSlide);var S=t.lazyLoadedList||[],b=G(d(d({},t),{},{currentSlide:c,lazyLoadedList:S}));S=S.concat(b);var g={slideCount:r,slideWidth:n,listWidth:e,trackWidth:i,currentSlide:c,slideHeight:u,listHeight:f,lazyLoadedList:S};return t.autoplaying===null&&t.autoplay&&(g.autoplaying="playing"),g},Me=function(t){var r=t.waitForAnimate,o=t.animating,e=t.fade,a=t.infinite,i=t.index,n=t.slideCount,l=t.lazyLoad,u=t.currentSlide,f=t.centerMode,c=t.slidesToScroll,S=t.slidesToShow,b=t.useCSS,g=t.lazyLoadedList;if(r&&o)return{};var v=i,h,C,p,k={},T={},L=a?i:Q(i,0,n-1);if(e){if(!a&&(i<0||i>=n))return{};i<0?v=i+n:i>=n&&(v=i-n),l&&g.indexOf(v)<0&&(g=g.concat(v)),k={animating:!0,currentSlide:v,lazyLoadedList:g,targetSlide:v},T={animating:!1,targetSlide:v}}else h=v,v<0?(h=v+n,a?n%c!==0&&(h=n-n%c):h=0):!U(t)&&v>u?v=h=u:f&&v>=n?(v=a?n:n-1,h=a?0:n-1):v>=n&&(h=v-n,a?n%c!==0&&(h=0):h=n-S),!a&&v+S>=n&&(h=n-S),C=$(d(d({},t),{},{slideIndex:v})),p=$(d(d({},t),{},{slideIndex:h})),a||(C===p&&(v=h),C=p),l&&(g=g.concat(G(d(d({},t),{},{currentSlide:v})))),b?(k={animating:!0,currentSlide:h,trackStyle:ue(d(d({},t),{},{left:C})),lazyLoadedList:g,targetSlide:L},T={animating:!1,currentSlide:h,trackStyle:Y(d(d({},t),{},{left:p})),swipeLeft:null,targetSlide:L}):k={currentSlide:h,trackStyle:Y(d(d({},t),{},{left:p})),lazyLoadedList:g,targetSlide:L};return{state:k,nextState:T}},ze=function(t,r){var o,e,a,i,n,l=t.slidesToScroll,u=t.slidesToShow,f=t.slideCount,c=t.currentSlide,S=t.targetSlide,b=t.lazyLoad,g=t.infinite;if(i=f%l!==0,o=i?0:(f-c)%l,r.message==="previous")a=o===0?l:u-o,n=c-a,b&&!g&&(e=c-a,n=e===-1?f-1:e),g||(n=S-l);else if(r.message==="next")a=o===0?l:o,n=c+a,b&&!g&&(n=(c+l)%f+o),g||(n=S+l);else if(r.message==="dots")n=r.index*r.slidesToScroll;else if(r.message==="children"){if(n=r.index,g){var v=De(d(d({},t),{},{targetSlide:n}));n>r.currentSlide&&v==="left"?n=n-f:n<r.currentSlide&&v==="right"&&(n=n+f)}}else r.message==="index"&&(n=Number(r.index));return n},Oe=function(t,r,o){return t.target.tagName.match("TEXTAREA|INPUT|SELECT")||!r?"":t.keyCode===37?o?"next":"previous":t.keyCode===39?o?"previous":"next":""},He=function(t,r,o){return t.target.tagName==="IMG"&&W(t),!r||!o&&t.type.indexOf("mouse")!==-1?"":{dragging:!0,touchObject:{startX:t.touches?t.touches[0].pageX:t.clientX,startY:t.touches?t.touches[0].pageY:t.clientY,curX:t.touches?t.touches[0].pageX:t.clientX,curY:t.touches?t.touches[0].pageY:t.clientY}}},Pe=function(t,r){var o=r.scrolling,e=r.animating,a=r.vertical,i=r.swipeToSlide,n=r.verticalSwiping,l=r.rtl,u=r.currentSlide,f=r.edgeFriction,c=r.edgeDragged,S=r.onEdge,b=r.swiped,g=r.swiping,v=r.slideCount,h=r.slidesToScroll,C=r.infinite,p=r.touchObject,k=r.swipeEvent,T=r.listHeight,L=r.listWidth;if(!o){if(e)return W(t);a&&i&&n&&W(t);var x,E={},q=$(r);p.curX=t.touches?t.touches[0].pageX:t.clientX,p.curY=t.touches?t.touches[0].pageY:t.clientY,p.swipeLength=Math.round(Math.sqrt(Math.pow(p.curX-p.startX,2)));var te=Math.round(Math.sqrt(Math.pow(p.curY-p.startY,2)));if(!n&&!g&&te>10)return{scrolling:!0};n&&(p.swipeLength=te);var j=(l?-1:1)*(p.curX>p.startX?1:-1);n&&(j=p.curY>p.startY?1:-1);var ce=Math.ceil(v/h),P=de(r.touchObject,n),X=p.swipeLength;return C||(u===0&&(P==="right"||P==="down")||u+1>=ce&&(P==="left"||P==="up")||!U(r)&&(P==="left"||P==="up"))&&(X=p.swipeLength*f,c===!1&&S&&(S(P),E.edgeDragged=!0)),!b&&k&&(k(P),E.swiped=!0),a?x=q+X*(T/L)*j:l?x=q-X*j:x=q+X*j,n&&(x=q+X*j),E=d(d({},E),{},{touchObject:p,swipeLeft:x,trackStyle:Y(d(d({},r),{},{left:x}))}),Math.abs(p.curX-p.startX)<Math.abs(p.curY-p.startY)*.8||p.swipeLength>10&&(E.swiping=!0,W(t)),E}},We=function(t,r){var o=r.dragging,e=r.swipe,a=r.touchObject,i=r.listWidth,n=r.touchThreshold,l=r.verticalSwiping,u=r.listHeight,f=r.swipeToSlide,c=r.scrolling,S=r.onSwipe,b=r.targetSlide,g=r.currentSlide,v=r.infinite;if(!o)return e&&W(t),{};var h=l?u/n:i/n,C=de(a,l),p={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(c||!a.swipeLength)return p;if(a.swipeLength>h){W(t),S&&S(C);var k,T,L=v?g:b;switch(C){case"left":case"up":T=L+ie(r),k=f?re(r,T):T,p.currentDirection=0;break;case"right":case"down":T=L-ie(r),k=f?re(r,T):T,p.currentDirection=1;break;default:k=L}p.triggerSlideHandler=k}else{var x=$(r);p.trackStyle=ue(d(d({},r),{},{left:x}))}return p},Ie=function(t){for(var r=t.infinite?t.slideCount*2:t.slideCount,o=t.infinite?t.slidesToShow*-1:0,e=t.infinite?t.slidesToShow*-1:0,a=[];o<r;)a.push(o),o=e+t.slidesToScroll,e+=Math.min(t.slidesToScroll,t.slidesToShow);return a},re=function(t,r){var o=Ie(t),e=0;if(r>o[o.length-1])r=o[o.length-1];else for(var a in o){if(r<o[a]){r=e;break}e=o[a]}return r},ie=function(t){var r=t.centerMode?t.slideWidth*Math.floor(t.slidesToShow/2):0;if(t.swipeToSlide){var o,e=t.listRef,a=e.querySelectorAll&&e.querySelectorAll(".slick-slide")||[];if(Array.from(a).every(function(l){if(t.vertical){if(l.offsetTop+J(l)/2>t.swipeLeft*-1)return o=l,!1}else if(l.offsetLeft-r+Z(l)/2>t.swipeLeft*-1)return o=l,!1;return!0}),!o)return 0;var i=t.rtl===!0?t.slideCount-t.currentSlide:t.currentSlide,n=Math.abs(o.dataset.index-i)||1;return n}else return t.slidesToScroll},ee=function(t,r){return r.reduce(function(o,e){return o&&t.hasOwnProperty(e)},!0)?null:console.error("Keys Missing:",t)},Y=function(t){ee(t,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r,o,e=t.slideCount+2*t.slidesToShow;t.vertical?o=e*t.slideHeight:r=Re(t)*t.slideWidth;var a={opacity:1,transition:"",WebkitTransition:""};if(t.useTransform){var i=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",n=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",l=t.vertical?"translateY("+t.left+"px)":"translateX("+t.left+"px)";a=d(d({},a),{},{WebkitTransform:i,transform:n,msTransform:l})}else t.vertical?a.top=t.left:a.left=t.left;return t.fade&&(a={opacity:1}),r&&(a.width=r),o&&(a.height=o),window&&!window.addEventListener&&window.attachEvent&&(t.vertical?a.marginTop=t.left+"px":a.marginLeft=t.left+"px"),a},ue=function(t){ee(t,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var r=Y(t);return t.useTransform?(r.WebkitTransition="-webkit-transform "+t.speed+"ms "+t.cssEase,r.transition="transform "+t.speed+"ms "+t.cssEase):t.vertical?r.transition="top "+t.speed+"ms "+t.cssEase:r.transition="left "+t.speed+"ms "+t.cssEase,r},$=function(t){if(t.unslick)return 0;ee(t,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var r=t.slideIndex,o=t.trackRef,e=t.infinite,a=t.centerMode,i=t.slideCount,n=t.slidesToShow,l=t.slidesToScroll,u=t.slideWidth,f=t.listWidth,c=t.variableWidth,S=t.slideHeight,b=t.fade,g=t.vertical,v=0,h,C,p=0;if(b||t.slideCount===1)return 0;var k=0;if(e?(k=-O(t),i%l!==0&&r+l>i&&(k=-(r>i?n-(r-i):i%l)),a&&(k+=parseInt(n/2))):(i%l!==0&&r+l>i&&(k=n-i%l),a&&(k=parseInt(n/2))),v=k*u,p=k*S,g?h=r*S*-1+p:h=r*u*-1+v,c===!0){var T,L=o&&o.node;if(T=r+O(t),C=L&&L.childNodes[T],h=C?C.offsetLeft*-1:0,a===!0){T=e?r+O(t):r,C=L&&L.children[T],h=0;for(var x=0;x<T;x++)h-=L&&L.children[x]&&L.children[x].offsetWidth;h-=parseInt(t.centerPadding),h+=C&&(f-C.offsetWidth)/2}}return h},O=function(t){return t.unslick||!t.infinite?0:t.variableWidth?t.slideCount:t.slidesToShow+(t.centerMode?1:0)},F=function(t){return t.unslick||!t.infinite?0:t.slideCount},Re=function(t){return t.slideCount===1?1:O(t)+t.slideCount+F(t)},De=function(t){return t.targetSlide>t.currentSlide?t.targetSlide>t.currentSlide+Ne(t)?"left":"right":t.targetSlide<t.currentSlide-Ae(t)?"right":"left"},Ne=function(t){var r=t.slidesToShow,o=t.centerMode,e=t.rtl,a=t.centerPadding;if(o){var i=(r-1)/2+1;return parseInt(a)>0&&(i+=1),e&&r%2===0&&(i+=1),i}return e?0:r-1},Ae=function(t){var r=t.slidesToShow,o=t.centerMode,e=t.rtl,a=t.centerPadding;if(o){var i=(r-1)/2+1;return parseInt(a)>0&&(i+=1),!e&&r%2===0&&(i+=1),i}return e?r-1:0},ne=function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)},B=function(t){var r,o,e,a,i;t.rtl?i=t.slideCount-1-t.index:i=t.index,e=i<0||i>=t.slideCount,t.centerMode?(a=Math.floor(t.slidesToShow/2),o=(i-t.currentSlide)%t.slideCount===0,i>t.currentSlide-a-1&&i<=t.currentSlide+a&&(r=!0)):r=t.currentSlide<=i&&i<t.currentSlide+t.slidesToShow;var n;t.targetSlide<0?n=t.targetSlide+t.slideCount:t.targetSlide>=t.slideCount?n=t.targetSlide-t.slideCount:n=t.targetSlide;var l=i===n;return{"slick-slide":!0,"slick-active":r,"slick-center":o,"slick-cloned":e,"slick-current":l}},je=function(t){var r={};return(t.variableWidth===void 0||t.variableWidth===!1)&&(r.width=t.slideWidth),t.fade&&(r.position="relative",t.vertical?r.top=-t.index*parseInt(t.slideHeight):r.left=-t.index*parseInt(t.slideWidth),r.opacity=t.currentSlide===t.index?1:0,t.useCSS&&(r.transition="opacity "+t.speed+"ms "+t.cssEase+", visibility "+t.speed+"ms "+t.cssEase)),r},_=function(t,r){return t.key+"-"+r},Xe=function(t){var r,o=[],e=[],a=[],i=w.Children.count(t.children),n=oe(t),l=se(t);return w.Children.forEach(t.children,function(u,f){var c,S={message:"children",index:f,slidesToScroll:t.slidesToScroll,currentSlide:t.currentSlide};!t.lazyLoad||t.lazyLoad&&t.lazyLoadedList.indexOf(f)>=0?c=u:c=w.createElement("div",null);var b=je(d(d({},t),{},{index:f})),g=c.props.className||"",v=B(d(d({},t),{},{index:f}));if(o.push(w.cloneElement(c,{key:"original"+_(c,f),"data-index":f,className:H(v,g),tabIndex:"-1","aria-hidden":!v["slick-active"],style:d(d({outline:"none"},c.props.style||{}),b),onClick:function(p){c.props&&c.props.onClick&&c.props.onClick(p),t.focusOnSelect&&t.focusOnSelect(S)}})),t.infinite&&t.fade===!1){var h=i-f;h<=O(t)&&i!==t.slidesToShow&&(r=-h,r>=n&&(c=u),v=B(d(d({},t),{},{index:r})),e.push(w.cloneElement(c,{key:"precloned"+_(c,r),"data-index":r,tabIndex:"-1",className:H(v,g),"aria-hidden":!v["slick-active"],style:d(d({},c.props.style||{}),b),onClick:function(p){c.props&&c.props.onClick&&c.props.onClick(p),t.focusOnSelect&&t.focusOnSelect(S)}}))),i!==t.slidesToShow&&(r=i+f,r<l&&(c=u),v=B(d(d({},t),{},{index:r})),a.push(w.cloneElement(c,{key:"postcloned"+_(c,r),"data-index":r,tabIndex:"-1",className:H(v,g),"aria-hidden":!v["slick-active"],style:d(d({},c.props.style||{}),b),onClick:function(p){c.props&&c.props.onClick&&c.props.onClick(p),t.focusOnSelect&&t.focusOnSelect(S)}})))}}),t.rtl?e.concat(o,a).reverse():e.concat(o,a)},Ye=function(s){R(r,s);var t=D(r);function r(){var o;N(this,r);for(var e=arguments.length,a=new Array(e),i=0;i<e;i++)a[i]=arguments[i];return o=t.call.apply(t,[this].concat(a)),m(y(o),"node",null),m(y(o),"handleRef",function(n){o.node=n}),o}return A(r,[{key:"render",value:function(){var e=Xe(this.props),a=this.props,i=a.onMouseEnter,n=a.onMouseOver,l=a.onMouseLeave,u={onMouseEnter:i,onMouseOver:n,onMouseLeave:l};return w.createElement("div",I({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},u),e)}}]),r}(w.PureComponent),$e=function(t){var r;return t.infinite?r=Math.ceil(t.slideCount/t.slidesToScroll):r=Math.ceil((t.slideCount-t.slidesToShow)/t.slidesToScroll)+1,r},qe=function(s){R(r,s);var t=D(r);function r(){return N(this,r),t.apply(this,arguments)}return A(r,[{key:"clickHandler",value:function(e,a){a.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,a=e.onMouseEnter,i=e.onMouseOver,n=e.onMouseLeave,l=e.infinite,u=e.slidesToScroll,f=e.slidesToShow,c=e.slideCount,S=e.currentSlide,b=$e({slideCount:c,slidesToScroll:u,slidesToShow:f,infinite:l}),g={onMouseEnter:a,onMouseOver:i,onMouseLeave:n},v=[],h=0;h<b;h++){var C=(h+1)*u-1,p=l?C:Q(C,0,c-1),k=p-(u-1),T=l?k:Q(k,0,c-1),L=H({"slick-active":l?S>=T&&S<=p:S===T}),x={message:"dots",index:h,slidesToScroll:u,currentSlide:S},E=this.clickHandler.bind(this,x);v=v.concat(w.createElement("li",{key:h,className:L},w.cloneElement(this.props.customPaging(h),{onClick:E})))}return w.cloneElement(this.props.appendDots(v),d({className:this.props.dotsClass},g))}}]),r}(w.PureComponent),Fe=function(s){R(r,s);var t=D(r);function r(){return N(this,r),t.apply(this,arguments)}return A(r,[{key:"clickHandler",value:function(e,a){a&&a.preventDefault(),this.props.clickHandler(e,a)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},a=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(this.props.currentSlide===0||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,a=null);var i={key:"0","data-role":"none",className:H(e),style:{display:"block"},onClick:a},n={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.prevArrow?l=w.cloneElement(this.props.prevArrow,d(d({},i),n)):l=w.createElement("button",I({key:"0",type:"button"},i)," ","Previous"),l}}]),r}(w.PureComponent),Ge=function(s){R(r,s);var t=D(r);function r(){return N(this,r),t.apply(this,arguments)}return A(r,[{key:"clickHandler",value:function(e,a){a&&a.preventDefault(),this.props.clickHandler(e,a)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},a=this.clickHandler.bind(this,{message:"next"});U(this.props)||(e["slick-disabled"]=!0,a=null);var i={key:"1","data-role":"none",className:H(e),style:{display:"block"},onClick:a},n={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},l;return this.props.nextArrow?l=w.cloneElement(this.props.nextArrow,d(d({},i),n)):l=w.createElement("button",I({key:"1",type:"button"},i)," ","Next"),l}}]),r}(w.PureComponent),Ue=["animating"],Ke=function(s){R(r,s);var t=D(r);function r(o){var e;N(this,r),e=t.call(this,o),m(y(e),"listRefHandler",function(i){return e.list=i}),m(y(e),"trackRefHandler",function(i){return e.track=i}),m(y(e),"adaptHeight",function(){if(e.props.adaptiveHeight&&e.list){var i=e.list.querySelector('[data-index="'.concat(e.state.currentSlide,'"]'));e.list.style.height=J(i)+"px"}}),m(y(e),"componentDidMount",function(){if(e.props.onInit&&e.props.onInit(),e.props.lazyLoad){var i=G(d(d({},e.props),e.state));i.length>0&&(e.setState(function(l){return{lazyLoadedList:l.lazyLoadedList.concat(i)}}),e.props.onLazyLoad&&e.props.onLazyLoad(i))}var n=d({listRef:e.list,trackRef:e.track},e.props);e.updateState(n,!0,function(){e.adaptHeight(),e.props.autoplay&&e.autoPlay("playing")}),e.props.lazyLoad==="progressive"&&(e.lazyLoadTimer=setInterval(e.progressiveLazyLoad,1e3)),e.ro=new fe(function(){e.state.animating?(e.onWindowResized(!1),e.callbackTimers.push(setTimeout(function(){return e.onWindowResized()},e.props.speed))):e.onWindowResized()}),e.ro.observe(e.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(l){l.onfocus=e.props.pauseOnFocus?e.onSlideFocus:null,l.onblur=e.props.pauseOnFocus?e.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",e.onWindowResized):window.attachEvent("onresize",e.onWindowResized)}),m(y(e),"componentWillUnmount",function(){e.animationEndCallback&&clearTimeout(e.animationEndCallback),e.lazyLoadTimer&&clearInterval(e.lazyLoadTimer),e.callbackTimers.length&&(e.callbackTimers.forEach(function(i){return clearTimeout(i)}),e.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",e.onWindowResized):window.detachEvent("onresize",e.onWindowResized),e.autoplayTimer&&clearInterval(e.autoplayTimer),e.ro.disconnect()}),m(y(e),"componentDidUpdate",function(i){if(e.checkImagesLoad(),e.props.onReInit&&e.props.onReInit(),e.props.lazyLoad){var n=G(d(d({},e.props),e.state));n.length>0&&(e.setState(function(f){return{lazyLoadedList:f.lazyLoadedList.concat(n)}}),e.props.onLazyLoad&&e.props.onLazyLoad(n))}e.adaptHeight();var l=d(d({listRef:e.list,trackRef:e.track},e.props),e.state),u=e.didPropsChange(i);u&&e.updateState(l,u,function(){e.state.currentSlide>=w.Children.count(e.props.children)&&e.changeSlide({message:"index",index:w.Children.count(e.props.children)-e.props.slidesToShow,currentSlide:e.state.currentSlide}),(i.autoplay!==e.props.autoplay||i.autoplaySpeed!==e.props.autoplaySpeed)&&(!i.autoplay&&e.props.autoplay?e.autoPlay("playing"):e.props.autoplay?e.autoPlay("update"):e.pause("paused"))})}),m(y(e),"onWindowResized",function(i){e.debouncedResize&&e.debouncedResize.cancel(),e.debouncedResize=Ce(50,function(){return e.resizeWindow(i)}),e.debouncedResize()}),m(y(e),"resizeWindow",function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,n=!!(e.track&&e.track.node);if(n){var l=d(d({listRef:e.list,trackRef:e.track},e.props),e.state);e.updateState(l,i,function(){e.props.autoplay?e.autoPlay("update"):e.pause("paused")}),e.setState({animating:!1}),clearTimeout(e.animationEndCallback),delete e.animationEndCallback}}),m(y(e),"updateState",function(i,n,l){var u=Ee(i);i=d(d(d({},i),u),{},{slideIndex:u.currentSlide});var f=$(i);i=d(d({},i),{},{left:f});var c=Y(i);(n||w.Children.count(e.props.children)!==w.Children.count(i.children))&&(u.trackStyle=c),e.setState(u,l)}),m(y(e),"ssrInit",function(){if(e.props.variableWidth){var i=0,n=0,l=[],u=O(d(d(d({},e.props),e.state),{},{slideCount:e.props.children.length})),f=F(d(d(d({},e.props),e.state),{},{slideCount:e.props.children.length}));e.props.children.forEach(function(E){l.push(E.props.style.width),i+=E.props.style.width});for(var c=0;c<u;c++)n+=l[l.length-1-c],i+=l[l.length-1-c];for(var S=0;S<f;S++)i+=l[S];for(var b=0;b<e.state.currentSlide;b++)n+=l[b];var g={width:i+"px",left:-n+"px"};if(e.props.centerMode){var v="".concat(l[e.state.currentSlide],"px");g.left="calc(".concat(g.left," + (100% - ").concat(v,") / 2 ) ")}return{trackStyle:g}}var h=w.Children.count(e.props.children),C=d(d(d({},e.props),e.state),{},{slideCount:h}),p=O(C)+F(C)+h,k=100/e.props.slidesToShow*p,T=100/p,L=-T*(O(C)+e.state.currentSlide)*k/100;e.props.centerMode&&(L+=(100-T*k/100)/2);var x={width:k+"%",left:L+"%"};return{slideWidth:T+"%",trackStyle:x}}),m(y(e),"checkImagesLoad",function(){var i=e.list&&e.list.querySelectorAll&&e.list.querySelectorAll(".slick-slide img")||[],n=i.length,l=0;Array.prototype.forEach.call(i,function(u){var f=function(){return++l&&l>=n&&e.onWindowResized()};if(!u.onclick)u.onclick=function(){return u.parentNode.focus()};else{var c=u.onclick;u.onclick=function(S){c(S),u.parentNode.focus()}}u.onload||(e.props.lazyLoad?u.onload=function(){e.adaptHeight(),e.callbackTimers.push(setTimeout(e.onWindowResized,e.props.speed))}:(u.onload=f,u.onerror=function(){f(),e.props.onLazyLoadError&&e.props.onLazyLoadError()}))})}),m(y(e),"progressiveLazyLoad",function(){for(var i=[],n=d(d({},e.props),e.state),l=e.state.currentSlide;l<e.state.slideCount+F(n);l++)if(e.state.lazyLoadedList.indexOf(l)<0){i.push(l);break}for(var u=e.state.currentSlide-1;u>=-O(n);u--)if(e.state.lazyLoadedList.indexOf(u)<0){i.push(u);break}i.length>0?(e.setState(function(f){return{lazyLoadedList:f.lazyLoadedList.concat(i)}}),e.props.onLazyLoad&&e.props.onLazyLoad(i)):e.lazyLoadTimer&&(clearInterval(e.lazyLoadTimer),delete e.lazyLoadTimer)}),m(y(e),"slideHandler",function(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=e.props,u=l.asNavFor,f=l.beforeChange,c=l.onLazyLoad,S=l.speed,b=l.afterChange,g=e.state.currentSlide,v=Me(d(d(d({index:i},e.props),e.state),{},{trackRef:e.track,useCSS:e.props.useCSS&&!n})),h=v.state,C=v.nextState;if(h){f&&f(g,h.currentSlide);var p=h.lazyLoadedList.filter(function(k){return e.state.lazyLoadedList.indexOf(k)<0});c&&p.length>0&&c(p),!e.props.waitForAnimate&&e.animationEndCallback&&(clearTimeout(e.animationEndCallback),b&&b(g),delete e.animationEndCallback),e.setState(h,function(){u&&e.asNavForIndex!==i&&(e.asNavForIndex=i,u.innerSlider.slideHandler(i)),C&&(e.animationEndCallback=setTimeout(function(){var k=C.animating,T=ve(C,Ue);e.setState(T,function(){e.callbackTimers.push(setTimeout(function(){return e.setState({animating:k})},10)),b&&b(h.currentSlide),delete e.animationEndCallback})},S))})}}),m(y(e),"changeSlide",function(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l=d(d({},e.props),e.state),u=ze(l,i);if(!(u!==0&&!u)&&(n===!0?e.slideHandler(u,n):e.slideHandler(u),e.props.autoplay&&e.autoPlay("update"),e.props.focusOnSelect)){var f=e.list.querySelectorAll(".slick-current");f[0]&&f[0].focus()}}),m(y(e),"clickHandler",function(i){e.clickable===!1&&(i.stopPropagation(),i.preventDefault()),e.clickable=!0}),m(y(e),"keyHandler",function(i){var n=Oe(i,e.props.accessibility,e.props.rtl);n!==""&&e.changeSlide({message:n})}),m(y(e),"selectHandler",function(i){e.changeSlide(i)}),m(y(e),"disableBodyScroll",function(){var i=function(l){l=l||window.event,l.preventDefault&&l.preventDefault(),l.returnValue=!1};window.ontouchmove=i}),m(y(e),"enableBodyScroll",function(){window.ontouchmove=null}),m(y(e),"swipeStart",function(i){e.props.verticalSwiping&&e.disableBodyScroll();var n=He(i,e.props.swipe,e.props.draggable);n!==""&&e.setState(n)}),m(y(e),"swipeMove",function(i){var n=Pe(i,d(d(d({},e.props),e.state),{},{trackRef:e.track,listRef:e.list,slideIndex:e.state.currentSlide}));n&&(n.swiping&&(e.clickable=!1),e.setState(n))}),m(y(e),"swipeEnd",function(i){var n=We(i,d(d(d({},e.props),e.state),{},{trackRef:e.track,listRef:e.list,slideIndex:e.state.currentSlide}));if(n){var l=n.triggerSlideHandler;delete n.triggerSlideHandler,e.setState(n),l!==void 0&&(e.slideHandler(l),e.props.verticalSwiping&&e.enableBodyScroll())}}),m(y(e),"touchEnd",function(i){e.swipeEnd(i),e.clickable=!0}),m(y(e),"slickPrev",function(){e.callbackTimers.push(setTimeout(function(){return e.changeSlide({message:"previous"})},0))}),m(y(e),"slickNext",function(){e.callbackTimers.push(setTimeout(function(){return e.changeSlide({message:"next"})},0))}),m(y(e),"slickGoTo",function(i){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(i=Number(i),isNaN(i))return"";e.callbackTimers.push(setTimeout(function(){return e.changeSlide({message:"index",index:i,currentSlide:e.state.currentSlide},n)},0))}),m(y(e),"play",function(){var i;if(e.props.rtl)i=e.state.currentSlide-e.props.slidesToScroll;else if(U(d(d({},e.props),e.state)))i=e.state.currentSlide+e.props.slidesToScroll;else return!1;e.slideHandler(i)}),m(y(e),"autoPlay",function(i){e.autoplayTimer&&clearInterval(e.autoplayTimer);var n=e.state.autoplaying;if(i==="update"){if(n==="hovered"||n==="focused"||n==="paused")return}else if(i==="leave"){if(n==="paused"||n==="focused")return}else if(i==="blur"&&(n==="paused"||n==="hovered"))return;e.autoplayTimer=setInterval(e.play,e.props.autoplaySpeed+50),e.setState({autoplaying:"playing"})}),m(y(e),"pause",function(i){e.autoplayTimer&&(clearInterval(e.autoplayTimer),e.autoplayTimer=null);var n=e.state.autoplaying;i==="paused"?e.setState({autoplaying:"paused"}):i==="focused"?(n==="hovered"||n==="playing")&&e.setState({autoplaying:"focused"}):n==="playing"&&e.setState({autoplaying:"hovered"})}),m(y(e),"onDotsOver",function(){return e.props.autoplay&&e.pause("hovered")}),m(y(e),"onDotsLeave",function(){return e.props.autoplay&&e.state.autoplaying==="hovered"&&e.autoPlay("leave")}),m(y(e),"onTrackOver",function(){return e.props.autoplay&&e.pause("hovered")}),m(y(e),"onTrackLeave",function(){return e.props.autoplay&&e.state.autoplaying==="hovered"&&e.autoPlay("leave")}),m(y(e),"onSlideFocus",function(){return e.props.autoplay&&e.pause("focused")}),m(y(e),"onSlideBlur",function(){return e.props.autoplay&&e.state.autoplaying==="focused"&&e.autoPlay("blur")}),m(y(e),"render",function(){var i=H("slick-slider",e.props.className,{"slick-vertical":e.props.vertical,"slick-initialized":!0}),n=d(d({},e.props),e.state),l=K(n,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),u=e.props.pauseOnHover;l=d(d({},l),{},{onMouseEnter:u?e.onTrackOver:null,onMouseLeave:u?e.onTrackLeave:null,onMouseOver:u?e.onTrackOver:null,focusOnSelect:e.props.focusOnSelect&&e.clickable?e.selectHandler:null});var f;if(e.props.dots===!0&&e.state.slideCount>=e.props.slidesToShow){var c=K(n,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),S=e.props.pauseOnDotsHover;c=d(d({},c),{},{clickHandler:e.changeSlide,onMouseEnter:S?e.onDotsLeave:null,onMouseOver:S?e.onDotsOver:null,onMouseLeave:S?e.onDotsLeave:null}),f=w.createElement(qe,c)}var b,g,v=K(n,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);v.clickHandler=e.changeSlide,e.props.arrows&&(b=w.createElement(Fe,v),g=w.createElement(Ge,v));var h=null;e.props.vertical&&(h={height:e.state.listHeight});var C=null;e.props.vertical===!1?e.props.centerMode===!0&&(C={padding:"0px "+e.props.centerPadding}):e.props.centerMode===!0&&(C={padding:e.props.centerPadding+" 0px"});var p=d(d({},h),C),k=e.props.touchMove,T={className:"slick-list",style:p,onClick:e.clickHandler,onMouseDown:k?e.swipeStart:null,onMouseMove:e.state.dragging&&k?e.swipeMove:null,onMouseUp:k?e.swipeEnd:null,onMouseLeave:e.state.dragging&&k?e.swipeEnd:null,onTouchStart:k?e.swipeStart:null,onTouchMove:e.state.dragging&&k?e.swipeMove:null,onTouchEnd:k?e.touchEnd:null,onTouchCancel:e.state.dragging&&k?e.swipeEnd:null,onKeyDown:e.props.accessibility?e.keyHandler:null},L={className:i,dir:"ltr",style:e.props.style};return e.props.unslick&&(T={className:"slick-list"},L={className:i}),w.createElement("div",L,e.props.unslick?"":b,w.createElement("div",I({ref:e.listRefHandler},T),w.createElement(Ye,I({ref:e.trackRefHandler},l),e.props.children)),e.props.unslick?"":g,e.props.unslick?"":f)}),e.list=null,e.track=null,e.state=d(d({},Te),{},{currentSlide:e.props.initialSlide,slideCount:w.Children.count(e.props.children)}),e.callbackTimers=[],e.clickable=!0,e.debouncedResize=null;var a=e.ssrInit();return e.state=d(d({},e.state),a),e}return A(r,[{key:"didPropsChange",value:function(e){for(var a=!1,i=0,n=Object.keys(this.props);i<n.length;i++){var l=n[i];if(!e.hasOwnProperty(l)){a=!0;break}if(!(he(e[l])==="object"||typeof e[l]=="function")&&e[l]!==this.props[l]){a=!0;break}}return a||w.Children.count(this.props.children)!==w.Children.count(e.children)}}]),r}(w.Component),Be=function(s){return s.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()}).toLowerCase()},_e=Be,Ve=_e,Qe=function(s){var t=/[height|width]$/;return t.test(s)},ae=function(s){var t="",r=Object.keys(s);return r.forEach(function(o,e){var a=s[o];o=Ve(o),Qe(o)&&typeof a=="number"&&(a=a+"px"),a===!0?t+=o:a===!1?t+="not "+o:t+="("+o+": "+a+")",e<r.length-1&&(t+=" and ")}),t},Ze=function(s){var t="";return typeof s=="string"?s:s instanceof Array?(s.forEach(function(r,o){t+=ae(r),o<s.length-1&&(t+=", ")}),t):ae(s)},V=Ze,le={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(t){return w.createElement("ul",{style:{display:"block"}},t)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(t){return w.createElement("button",null,t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0},Je=function(s){R(r,s);var t=D(r);function r(o){var e;return N(this,r),e=t.call(this,o),m(y(e),"innerSliderRefHandler",function(a){return e.innerSlider=a}),m(y(e),"slickPrev",function(){return e.innerSlider.slickPrev()}),m(y(e),"slickNext",function(){return e.innerSlider.slickNext()}),m(y(e),"slickGoTo",function(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e.innerSlider.slickGoTo(a,i)}),m(y(e),"slickPause",function(){return e.innerSlider.pause("paused")}),m(y(e),"slickPlay",function(){return e.innerSlider.autoPlay("play")}),e.state={breakpoint:null},e._responsiveMediaHandlers=[],e}return A(r,[{key:"media",value:function(e,a){var i=window.matchMedia(e),n=function(u){var f=u.matches;f&&a()};i.addListener(n),n(i),this._responsiveMediaHandlers.push({mql:i,query:e,listener:n})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var a=this.props.responsive.map(function(n){return n.breakpoint});a.sort(function(n,l){return n-l}),a.forEach(function(n,l){var u;l===0?u=V({minWidth:0,maxWidth:n}):u=V({minWidth:a[l-1]+1,maxWidth:n}),ne()&&e.media(u,function(){e.setState({breakpoint:n})})});var i=V({minWidth:a.slice(-1)[0]});ne()&&this.media(i,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){e.mql.removeListener(e.listener)})}},{key:"render",value:function(){var e=this,a,i;this.state.breakpoint?(i=this.props.responsive.filter(function(h){return h.breakpoint===e.state.breakpoint}),a=i[0].settings==="unslick"?"unslick":d(d(d({},le),this.props),i[0].settings)):a=d(d({},le),this.props),a.centerMode&&(a.slidesToScroll>1,a.slidesToScroll=1),a.fade&&(a.slidesToShow>1,a.slidesToScroll>1,a.slidesToShow=1,a.slidesToScroll=1);var n=w.Children.toArray(this.props.children);n=n.filter(function(h){return typeof h=="string"?!!h.trim():!!h}),a.variableWidth&&(a.rows>1||a.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),a.variableWidth=!1);for(var l=[],u=null,f=0;f<n.length;f+=a.rows*a.slidesPerRow){for(var c=[],S=f;S<f+a.rows*a.slidesPerRow;S+=a.slidesPerRow){for(var b=[],g=S;g<S+a.slidesPerRow&&(a.variableWidth&&n[g].props.style&&(u=n[g].props.style.width),!(g>=n.length));g+=1)b.push(w.cloneElement(n[g],{key:100*f+10*S+g,tabIndex:-1,style:{width:"".concat(100/a.slidesPerRow,"%"),display:"inline-block"}}));c.push(w.createElement("div",{key:10*f+S},b))}a.variableWidth?l.push(w.createElement("div",{key:f,style:{width:u}},c)):l.push(w.createElement("div",{key:f},c))}if(a==="unslick"){var v="regular slider "+(this.props.className||"");return w.createElement("div",{className:v},n)}else l.length<=a.slidesToShow&&(a.unslick=!0);return w.createElement(Ke,I({style:this.props.style,ref:this.innerSliderRefHandler},a),l)}}]),r}(w.Component);const et=s=>{const{componentCls:t,antCls:r,carouselArrowSize:o,carouselDotOffset:e,marginXXS:a}=s,i=-o*1.25,n=a;return{[t]:Object.assign(Object.assign({},Se(s)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${r}-radio-input, input${r}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${r}-radio-input, input${r}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:o,height:o,marginTop:-o/2,padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:i,"&::before":{content:'"←"'}},".slick-next":{insetInlineEnd:i,"&::before":{content:'"→"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,listStyle:"none","&-bottom":{bottom:e},"&-top":{top:e,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:s.dotWidth,height:s.dotHeight,marginInline:n,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${s.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:s.dotHeight,padding:0,color:"transparent",fontSize:0,background:s.colorBgContainer,border:0,borderRadius:1,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${s.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:-n,content:'""'}},"&.slick-active":{width:s.dotWidthActive,"& button":{background:s.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},tt=s=>{const{componentCls:t,carouselDotOffset:r,marginXXS:o}=s,e={width:s.dotHeight,height:s.dotWidth};return{[`${t}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:s.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:r},"&-right":{insetInlineEnd:r,insetInlineStart:"auto"},li:Object.assign(Object.assign({},e),{margin:`${o}px 0`,verticalAlign:"baseline",button:e,"&.slick-active":Object.assign(Object.assign({},e),{button:e})})}}}},rt=s=>{const{componentCls:t}=s;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},it=pe("Carousel",s=>{const{controlHeightLG:t,controlHeightSM:r}=s,o=ge(s,{carouselArrowSize:t/2,carouselDotOffset:r/2});return[et(o),tt(o),rt(o)]},{dotWidth:16,dotHeight:3,dotWidthActive:24});var nt=globalThis&&globalThis.__rest||function(s,t){var r={};for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&t.indexOf(o)<0&&(r[o]=s[o]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var e=0,o=Object.getOwnPropertySymbols(s);e<o.length;e++)t.indexOf(o[e])<0&&Object.prototype.propertyIsEnumerable.call(s,o[e])&&(r[o[e]]=s[o[e]]);return r};const at=M.forwardRef((s,t)=>{var{dots:r=!0,arrows:o=!1,draggable:e=!1,dotPosition:a="bottom",vertical:i=a==="left"||a==="right",rootClassName:n}=s,l=nt(s,["dots","arrows","draggable","dotPosition","vertical","rootClassName"]);const{getPrefixCls:u,direction:f}=M.useContext(me),c=M.useRef(),S=function(x){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;c.current.slickGoTo(x,E)};M.useImperativeHandle(t,()=>({goTo:S,autoPlay:c.current.innerSlider.autoPlay,innerSlider:c.current.innerSlider,prev:c.current.slickPrev,next:c.current.slickNext}),[c.current]);const b=M.useRef(M.Children.count(l.children));M.useEffect(()=>{b.current!==M.Children.count(l.children)&&(S(l.initialSlide||0,!1),b.current=M.Children.count(l.children))},[l.children]);const g=Object.assign({vertical:i},l);g.effect==="fade"&&(g.fade=!0);const v=u("carousel",g.prefixCls),h="slick-dots",C=!!r,p=H(h,`${h}-${a}`,typeof r=="boolean"?!1:r==null?void 0:r.className),[k,T]=it(v),L=H(v,{[`${v}-rtl`]:f==="rtl",[`${v}-vertical`]:g.vertical},T,n);return k(M.createElement("div",{className:L},M.createElement(Je,Object.assign({ref:c},g,{dots:C,dotsClass:p,arrows:o,draggable:e}))))}),lt=at;function ut({hasRunText:s=!0,hasSlideshow:t=!0}){var o,e,a,i;ye(),M.useRef();const{data:r}=we("slider",{status:!0},[]);return console.log("sldkdjf: ",r),z.jsxs("div",{children:[t===!0&&((o=r[0])==null?void 0:o.slider.length)>0?z.jsx(lt,{autoplay:!0,children:(a=(e=r[0])==null?void 0:e.slider)==null?void 0:a.map(n=>z.jsxs("div",{className:"carousel-container",children:[z.jsx(be,{item:n==null?void 0:n.backgroundImageId}),z.jsx("div",{className:"carousel-title-bg"}),z.jsx(ke,{justify:"center",children:z.jsx("p",{className:"fs-16 t-white text-limit-1-lines",children:n.title})})]}))}):null,s===!0?z.jsx("div",{class:"marquee",children:z.jsx("div",{class:"track",children:z.jsxs("div",{class:"content",children:[" ",(i=r[0])==null?void 0:i.marqueeText]})})}):null]})}export{lt as C,ut as S};