import{r as z,o as He,g as Ge,j as V,R as J,C as ke,t as qe}from"./index-9600e7d5.js";import{I as Ze}from"./index.esm-95c4660a.js";var Ce={},Ne={},Le={},x={},R={};Object.defineProperty(R,"__esModule",{value:!0});R.TraceDirectionKey=R.Direction=R.Axis=void 0;var fe;R.TraceDirectionKey=fe;(function(e){e.NEGATIVE="NEGATIVE",e.POSITIVE="POSITIVE",e.NONE="NONE"})(fe||(R.TraceDirectionKey=fe={}));var he;R.Direction=he;(function(e){e.TOP="TOP",e.LEFT="LEFT",e.RIGHT="RIGHT",e.BOTTOM="BOTTOM",e.NONE="NONE"})(he||(R.Direction=he={}));var ve;R.Axis=ve;(function(e){e.X="x",e.Y="y"})(ve||(R.Axis=ve={}));Object.defineProperty(x,"__esModule",{value:!0});x.calculateDirection=Je;var de=R;function Je(e){var i,s=de.TraceDirectionKey.NEGATIVE,u=de.TraceDirectionKey.POSITIVE,p=e[e.length-1],_=e[e.length-2]||0;return e.every(function(g){return g===0})?de.TraceDirectionKey.NONE:(i=p>_?u:s,p===0&&(i=_<0?u:s),i)}var ee={},W={};Object.defineProperty(W,"__esModule",{value:!0});W.resolveAxisDirection=W.getDirectionValue=W.getDirectionKey=W.getDifference=void 0;var F=R,Qe=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=Object.keys(i).toString();switch(s){case F.TraceDirectionKey.POSITIVE:return F.TraceDirectionKey.POSITIVE;case F.TraceDirectionKey.NEGATIVE:return F.TraceDirectionKey.NEGATIVE;default:return F.TraceDirectionKey.NONE}};W.getDirectionKey=Qe;var xe=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return i[i.length-1]||0};W.getDirectionValue=xe;var et=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Math.abs(i-s)};W.getDifference=et;var tt=function(i,s){var u=F.Direction.LEFT,p=F.Direction.RIGHT,_=F.Direction.NONE;return i===F.Axis.Y&&(u=F.Direction.BOTTOM,p=F.Direction.TOP),s===F.TraceDirectionKey.NEGATIVE&&(_=u),s===F.TraceDirectionKey.POSITIVE&&(_=p),_};W.resolveAxisDirection=tt;Object.defineProperty(ee,"__esModule",{value:!0});ee.calculateDirectionDelta=it;var nt=R,G=W;function it(e){for(var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,s=e.length,u=s-1,p=nt.TraceDirectionKey.NONE;u>=0;u--){var _=e[u],g=(0,G.getDirectionKey)(_),c=(0,G.getDirectionValue)(_[g]),d=e[u-1]||{},b=(0,G.getDirectionKey)(d),D=(0,G.getDirectionValue)(d[b]),w=(0,G.getDifference)(c,D);if(w>=i){p=g;break}else p=b}return p}var te={};Object.defineProperty(te,"__esModule",{value:!0});te.calculateDuration=at;function at(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e?i-e:0}var pe={};Object.defineProperty(pe,"__esModule",{value:!0});pe.calculateMovingPosition=ot;function ot(e){if("changedTouches"in e){var i=e.changedTouches&&e.changedTouches[0];return{x:i&&i.clientX,y:i&&i.clientY}}return{x:e.clientX,y:e.clientY}}var _e={},ne={};Object.defineProperty(ne,"__esModule",{value:!0});ne.updateTrace=rt;function rt(e,i){var s=e[e.length-1];return s!==i&&e.push(i),e}var ie={},ae={};Object.defineProperty(ae,"__esModule",{value:!0});ae.calculateTraceDirections=st;var Q=R;function be(e,i,s){return i in e?Object.defineProperty(e,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[i]=s,e}function st(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],i=[],s=Q.TraceDirectionKey.POSITIVE,u=Q.TraceDirectionKey.NEGATIVE,p=0,_=[],g=Q.TraceDirectionKey.NONE;p<e.length;p++){var c=e[p],d=e[p-1];if(_.length){var b=c>d?s:u;g===Q.TraceDirectionKey.NONE&&(g=b),b===g?_.push(c):(i.push(be({},g,_.slice())),_=[],_.push(c),g=b)}else c!==0&&(g=c>0?s:u),_.push(c)}return _.length&&i.push(be({},g,_)),i}Object.defineProperty(ie,"__esModule",{value:!0});ie.resolveDirection=ft;var ut=x,lt=ae,ct=ee,Ee=W,dt=R;function ft(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dt.Axis.X,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(s){var u=(0,lt.calculateTraceDirections)(e),p=(0,ct.calculateDirectionDelta)(u,s);return(0,Ee.resolveAxisDirection)(i,p)}var _=(0,ut.calculateDirection)(e);return(0,Ee.resolveAxisDirection)(i,_)}var oe={};Object.defineProperty(oe,"__esModule",{value:!0});oe.calculateVelocity=ht;function ht(e,i,s){var u=Math.sqrt(e*e+i*i);return u/(s||1)}Object.defineProperty(_e,"__esModule",{value:!0});_e.calculatePosition=gt;var De=ne,Oe=ie,vt=te,mt=oe,we=R;function gt(e,i){var s=e.start,u=e.x,p=e.y,_=e.traceX,g=e.traceY,c=i.rotatePosition,d=i.directionDelta,b=c.x-u,D=p-c.y,w=Math.abs(b),l=Math.abs(D);(0,De.updateTrace)(_,b),(0,De.updateTrace)(g,D);var h=(0,Oe.resolveDirection)(_,we.Axis.X,d),a=(0,Oe.resolveDirection)(g,we.Axis.Y,d),y=(0,vt.calculateDuration)(s,Date.now()),A=(0,mt.calculateVelocity)(w,l,y);return{absX:w,absY:l,deltaX:b,deltaY:D,directionX:h,directionY:a,duration:y,positionX:c.x,positionY:c.y,velocity:A}}var re={};Object.defineProperty(re,"__esModule",{value:!0});re.checkIsMoreThanSingleTouches=void 0;var pt=function(i){return!!(i.touches&&i.touches.length>1)};re.checkIsMoreThanSingleTouches=pt;var k={},se={};Object.defineProperty(se,"__esModule",{value:!0});se.createOptions=_t;function _t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.defineProperty(e,"passive",{get:function(){return this.isPassiveSupported=!0,!0},enumerable:!0}),e}Object.defineProperty(k,"__esModule",{value:!0});k.checkIsPassiveSupported=Pt;k.noop=void 0;var St=se;function Pt(e){if(typeof e=="boolean")return e;var i={isPassiveSupported:e};try{var s=(0,St.createOptions)(i);window.addEventListener("checkIsPassiveSupported",me,s),window.removeEventListener("checkIsPassiveSupported",me,s)}catch{}return i.isPassiveSupported}var me=function(){};k.noop=me;var ue={};Object.defineProperty(ue,"__esModule",{value:!0});ue.checkIsTouchEventsSupported=void 0;function ge(e){return ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ge(e)}var yt=function(){return(typeof window>"u"?"undefined":ge(window))==="object"&&("ontouchstart"in window||!!window.navigator.maxTouchPoints)};ue.checkIsTouchEventsSupported=yt;var le={};Object.defineProperty(le,"__esModule",{value:!0});le.getInitialState=void 0;function Ae(e,i){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);i&&(u=u.filter(function(p){return Object.getOwnPropertyDescriptor(e,p).enumerable})),s.push.apply(s,u)}return s}function It(e){for(var i=1;i<arguments.length;i++){var s=arguments[i]!=null?arguments[i]:{};i%2?Ae(Object(s),!0).forEach(function(u){Tt(e,u,s[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):Ae(Object(s)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(s,u))})}return e}function Tt(e,i,s){return i in e?Object.defineProperty(e,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[i]=s,e}var bt=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return It({x:0,y:0,start:0,isSwiping:!1,traceX:[],traceY:[]},i)};le.getInitialState=bt;var ce={};Object.defineProperty(ce,"__esModule",{value:!0});ce.getInitialProps=void 0;function Me(e,i){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);i&&(u=u.filter(function(p){return Object.getOwnPropertyDescriptor(e,p).enumerable})),s.push.apply(s,u)}return s}function Et(e){for(var i=1;i<arguments.length;i++){var s=arguments[i]!=null?arguments[i]:{};i%2?Me(Object(s),!0).forEach(function(u){Dt(e,u,s[u])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):Me(Object(s)).forEach(function(u){Object.defineProperty(e,u,Object.getOwnPropertyDescriptor(s,u))})}return e}function Dt(e,i,s){return i in e?Object.defineProperty(e,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[i]=s,e}var Ot=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Et({element:null,target:null,delta:10,directionDelta:0,rotationAngle:0,mouseTrackingEnabled:!1,touchTrackingEnabled:!0,preventDefaultTouchmoveEvent:!1,preventTrackingOnMouseleave:!1},i)};ce.getInitialProps=Ot;var Se={};Object.defineProperty(Se,"__esModule",{value:!0});Se.getOptions=wt;function wt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return e?{passive:!1}:{}}var Pe={};Object.defineProperty(Pe,"__esModule",{value:!0});Pe.rotateByAngle=At;function At(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(i===0)return e;var s=e.x,u=e.y,p=Math.PI/180*i,_=s*Math.cos(p)+u*Math.sin(p),g=u*Math.cos(p)-s*Math.sin(p);return{x:_,y:g}}(function(e){Object.defineProperty(e,"__esModule",{value:!0});var i=x;Object.keys(i).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===i[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})});var s=ee;Object.keys(s).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===s[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}})});var u=te;Object.keys(u).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===u[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}})});var p=pe;Object.keys(p).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===p[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return p[t]}})});var _=_e;Object.keys(_).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===_[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return _[t]}})});var g=ae;Object.keys(g).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===g[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return g[t]}})});var c=oe;Object.keys(c).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===c[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}})});var d=re;Object.keys(d).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===d[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return d[t]}})});var b=k;Object.keys(b).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===b[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}})});var D=ue;Object.keys(D).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===D[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return D[t]}})});var w=W;Object.keys(w).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===w[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return w[t]}})});var l=se;Object.keys(l).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===l[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return l[t]}})});var h=le;Object.keys(h).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===h[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}})});var a=ce;Object.keys(a).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===a[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return a[t]}})});var y=Se;Object.keys(y).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===y[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return y[t]}})});var A=ie;Object.keys(A).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===A[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return A[t]}})});var S=Pe;Object.keys(S).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===S[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return S[t]}})});var m=ne;Object.keys(m).forEach(function(t){t==="default"||t==="__esModule"||t in e&&e[t]===m[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return m[t]}})})})(Le);(function(e){function i(l){return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},i(l)}Object.defineProperty(e,"__esModule",{value:!0});var s={};e.default=void 0;var u=g(Le),p=R;Object.keys(p).forEach(function(l){l==="default"||l==="__esModule"||Object.prototype.hasOwnProperty.call(s,l)||l in e&&e[l]===p[l]||Object.defineProperty(e,l,{enumerable:!0,get:function(){return p[l]}})});function _(l){if(typeof WeakMap!="function")return null;var h=new WeakMap,a=new WeakMap;return(_=function(A){return A?a:h})(l)}function g(l,h){if(!h&&l&&l.__esModule)return l;if(l===null||i(l)!=="object"&&typeof l!="function")return{default:l};var a=_(h);if(a&&a.has(l))return a.get(l);var y={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var S in l)if(S!=="default"&&Object.prototype.hasOwnProperty.call(l,S)){var m=A?Object.getOwnPropertyDescriptor(l,S):null;m&&(m.get||m.set)?Object.defineProperty(y,S,m):y[S]=l[S]}return y.default=l,a&&a.set(l,y),y}function c(l,h){if(!(l instanceof h))throw new TypeError("Cannot call a class as a function")}function d(l,h){for(var a=0;a<h.length;a++){var y=h[a];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(l,y.key,y)}}function b(l,h,a){return h&&d(l.prototype,h),a&&d(l,a),Object.defineProperty(l,"prototype",{writable:!1}),l}function D(l,h,a){return h in l?Object.defineProperty(l,h,{value:a,enumerable:!0,configurable:!0,writable:!0}):l[h]=a,l}var w=function(){function l(h){c(this,l),D(this,"state",void 0),D(this,"props",void 0),this.state=u.getInitialState(),this.props=u.getInitialProps(h),this.handleSwipeStart=this.handleSwipeStart.bind(this),this.handleSwipeMove=this.handleSwipeMove.bind(this),this.handleSwipeEnd=this.handleSwipeEnd.bind(this),this.handleMouseDown=this.handleMouseDown.bind(this),this.handleMouseMove=this.handleMouseMove.bind(this),this.handleMouseUp=this.handleMouseUp.bind(this),this.handleMouseLeave=this.handleMouseLeave.bind(this)}return b(l,[{key:"init",value:function(){this.setupTouchListeners(),this.setupMouseListeners()}},{key:"update",value:function(a){var y=this.props,A=Object.assign({},y,a);if(y.element!==A.element||y.target!==A.target){this.destroy(),this.props=A,this.init();return}this.props=A,(y.mouseTrackingEnabled!==A.mouseTrackingEnabled||y.preventTrackingOnMouseleave!==A.preventTrackingOnMouseleave)&&(this.cleanupMouseListeners(),A.mouseTrackingEnabled?this.setupMouseListeners():this.cleanupMouseListeners()),y.touchTrackingEnabled!==A.touchTrackingEnabled&&(this.cleanupTouchListeners(),A.touchTrackingEnabled?this.setupTouchListeners():this.cleanupTouchListeners())}},{key:"destroy",value:function(){this.cleanupMouseListeners(),this.cleanupTouchListeners(),this.state=u.getInitialState(),this.props=u.getInitialProps()}},{key:"setupTouchListeners",value:function(){var a=this.props,y=a.element,A=a.target,S=a.touchTrackingEnabled;if(y&&S){var m=A||y,t=u.checkIsPassiveSupported(),n=u.getOptions(t);m.addEventListener("touchstart",this.handleSwipeStart,n),m.addEventListener("touchmove",this.handleSwipeMove,n),m.addEventListener("touchend",this.handleSwipeEnd,n)}}},{key:"cleanupTouchListeners",value:function(){var a=this.props,y=a.element,A=a.target,S=A||y;S&&(S.removeEventListener("touchstart",this.handleSwipeStart),S.removeEventListener("touchmove",this.handleSwipeMove),S.removeEventListener("touchend",this.handleSwipeEnd))}},{key:"setupMouseListeners",value:function(){var a=this.props,y=a.element,A=a.mouseTrackingEnabled,S=a.preventTrackingOnMouseleave;A&&y&&(y.addEventListener("mousedown",this.handleMouseDown),y.addEventListener("mousemove",this.handleMouseMove),y.addEventListener("mouseup",this.handleMouseUp),S&&y.addEventListener("mouseleave",this.handleMouseLeave))}},{key:"cleanupMouseListeners",value:function(){var a=this.props.element;a&&(a.removeEventListener("mousedown",this.handleMouseDown),a.removeEventListener("mousemove",this.handleMouseMove),a.removeEventListener("mouseup",this.handleMouseUp),a.removeEventListener("mouseleave",this.handleMouseLeave))}},{key:"getEventData",value:function(a){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{directionDelta:0},A=this.props.rotationAngle,S=y.directionDelta,m=u.calculateMovingPosition(a),t=u.rotateByAngle(m,A);return u.calculatePosition(this.state,{rotatePosition:t,directionDelta:S})}},{key:"handleSwipeStart",value:function(a){if(!u.checkIsMoreThanSingleTouches(a)){var y=this.props.rotationAngle,A=u.calculateMovingPosition(a),S=u.rotateByAngle(A,y),m=S.x,t=S.y;this.state=u.getInitialState({isSwiping:!1,start:Date.now(),x:m,y:t})}}},{key:"handleSwipeMove",value:function(a){var y=this.state,A=y.x,S=y.y,m=y.isSwiping;if(!(!A||!S||u.checkIsMoreThanSingleTouches(a))){var t=this.props.directionDelta||0,n=this.getEventData(a,{directionDelta:t}),o=n.absX,r=n.absY,v=n.deltaX,P=n.deltaY,O=n.directionX,j=n.directionY,T=n.duration,f=n.velocity,I=this.props,E=I.delta,M=I.preventDefaultTouchmoveEvent,C=I.onSwipeStart,L=I.onSwiping;a.cancelable&&M&&a.preventDefault(),!(o<Number(E)&&r<Number(E)&&!m)&&(C&&!m&&C(a,{deltaX:v,deltaY:P,absX:o,absY:r,directionX:O,directionY:j,duration:T,velocity:f}),this.state.isSwiping=!0,L&&L(a,{deltaX:v,deltaY:P,absX:o,absY:r,directionX:O,directionY:j,duration:T,velocity:f}))}}},{key:"handleSwipeEnd",value:function(a){var y=this.props,A=y.onSwiped,S=y.onTap;if(this.state.isSwiping){var m=this.props.directionDelta||0,t=this.getEventData(a,{directionDelta:m});A&&A(a,t)}else{var n=this.getEventData(a);S&&S(a,n)}this.state=u.getInitialState()}},{key:"handleMouseDown",value:function(a){var y=this.props.target;y?y===a.target&&this.handleSwipeStart(a):this.handleSwipeStart(a)}},{key:"handleMouseMove",value:function(a){this.handleSwipeMove(a)}},{key:"handleMouseUp",value:function(a){var y=this.state.isSwiping,A=this.props.target;A?(A===a.target||y)&&this.handleSwipeEnd(a):this.handleSwipeEnd(a)}},{key:"handleMouseLeave",value:function(a){var y=this.state.isSwiping;y&&this.handleSwipeEnd(a)}}],[{key:"isTouchEventsSupported",value:function(){return u.checkIsTouchEventsSupported()}}]),l}();e.default=w})(Ne);var je={},$={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Modifiers=e.Classnames=e.AutoplayDirection=e.ControlsStrategy=e.AutoPlayStrategy=e.AnimationType=e.EventType=void 0,function(i){i.ACTION="action",i.INIT="init",i.RESIZE="resize",i.UPDATE="update"}(e.EventType||(e.EventType={})),function(i){i.FADEOUT="fadeout",i.SLIDE="slide"}(e.AnimationType||(e.AnimationType={})),function(i){i.DEFAULT="default",i.ALL="all",i.ACTION="action",i.NONE="none"}(e.AutoPlayStrategy||(e.AutoPlayStrategy={})),function(i){i.DEFAULT="default",i.ALTERNATE="alternate",i.RESPONSIVE="responsive"}(e.ControlsStrategy||(e.ControlsStrategy={})),function(i){i.RTL="rtl",i.LTR="ltr"}(e.AutoplayDirection||(e.AutoplayDirection={})),function(i){i.ANIMATED="animated animated-out fadeOut",i.ROOT="alice-carousel",i.WRAPPER="alice-carousel__wrapper",i.STAGE="alice-carousel__stage",i.STAGE_ITEM="alice-carousel__stage-item",i.DOTS="alice-carousel__dots",i.DOTS_ITEM="alice-carousel__dots-item",i.PLAY_BTN="alice-carousel__play-btn",i.PLAY_BTN_ITEM="alice-carousel__play-btn-item",i.PLAY_BTN_WRAPPER="alice-carousel__play-btn-wrapper",i.SLIDE_INFO="alice-carousel__slide-info",i.SLIDE_INFO_ITEM="alice-carousel__slide-info-item",i.BUTTON_PREV="alice-carousel__prev-btn",i.BUTTON_PREV_WRAPPER="alice-carousel__prev-btn-wrapper",i.BUTTON_PREV_ITEM="alice-carousel__prev-btn-item",i.BUTTON_NEXT="alice-carousel__next-btn",i.BUTTON_NEXT_WRAPPER="alice-carousel__next-btn-wrapper",i.BUTTON_NEXT_ITEM="alice-carousel__next-btn-item"}(e.Classnames||(e.Classnames={})),function(i){i.ACTIVE="__active",i.INACTIVE="__inactive",i.CLONED="__cloned",i.CUSTOM="__custom",i.PAUSE="__pause",i.SEPARATOR="__separator",i.SSR="__ssr",i.TARGET="__target"}(e.Modifiers||(e.Modifiers={}))})($);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.defaultProps=void 0;var i=$;e.defaultProps={activeIndex:0,animationDuration:400,animationEasingFunction:"ease",animationType:i.AnimationType.SLIDE,autoHeight:!1,autoWidth:!1,autoPlay:!1,autoPlayControls:!1,autoPlayDirection:i.AutoplayDirection.LTR,autoPlayInterval:400,autoPlayStrategy:i.AutoPlayStrategy.DEFAULT,children:void 0,controlsStrategy:i.ControlsStrategy.DEFAULT,disableButtonsControls:!1,disableDotsControls:!1,disableSlideInfo:!0,infinite:!1,innerWidth:void 0,items:void 0,keyboardNavigation:!1,mouseTracking:!1,name:"",paddingLeft:0,paddingRight:0,responsive:void 0,swipeDelta:20,swipeExtraPadding:200,ssrSilentMode:!0,touchTracking:!0,touchMoveDefaultEvents:!0,onInitialized:function(){},onResized:function(){},onResizeEvent:void 0,onSlideChange:function(){},onSlideChanged:function(){}}})(je);var Re={},Be={},H={},ye={},Ie={},Te={};(function(e){var i=function(){return(i=Object.assign||function(p){for(var _,g=1,c=arguments.length;g<c;g++)for(var d in _=arguments[g])Object.prototype.hasOwnProperty.call(_,d)&&(p[d]=_[d]);return p}).apply(this,arguments)},s=(Object.defineProperty(e,"__esModule",{value:!0}),e.mapPositionCoords=e.mapPartialCoords=void 0,function(p){return p.map(function(_){return{width:_.width,position:0}})}),u=(e.mapPartialCoords=s,function(p,_){return _===void 0&&(_=0),p.map(function(g){return g.position>_?i(i({},g),{position:_}):g})});e.mapPositionCoords=u})(Te);var q={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isVerticalTouchmoveDetected=e.getFadeoutAnimationPosition=e.getFadeoutAnimationIndex=e.getSwipeTouchendIndex=e.getSwipeTouchendPosition=e.getSwipeTransformationCursor=e.getTransformationItemIndex=e.getSwipeShiftValue=e.getItemCoords=e.getIsLeftDirection=e.shouldRecalculateSwipePosition=e.getSwipeLimitMax=e.getSwipeLimitMin=e.shouldCancelSlideAnimation=e.shouldRecalculateSlideIndex=e.getUpdateSlidePositionIndex=e.getActiveIndex=e.getStartIndex=e.getShiftIndex=void 0;var i=function(n,o){return(n=n===void 0?0:n)+(o=o===void 0?0:o)},s=(e.getShiftIndex=i,function(n,o){if(n===void 0&&(n=0),o=o===void 0?0:o){if(o<=n)return o-1;if(0<n)return n}return 0}),u=(e.getStartIndex=s,function(v){var o=v.startIndex,o=o===void 0?0:o,r=v.itemsCount,v=v.infinite;return v!==void 0&&v?o:(0,e.getStartIndex)(o,r===void 0?0:r)}),p=(e.getActiveIndex=u,function(n,o){return n<0?o-1:o<=n?0:n}),_=(e.getUpdateSlidePositionIndex=p,function(n,o){return n<0||o<=n}),g=(e.shouldRecalculateSlideIndex=_,function(n,o){return n<0||o<=n}),c=(e.shouldCancelSlideAnimation=g,function(v,O){var r=v.itemsOffset,v=v.transformationSet,v=v===void 0?[]:v,P=O.infinite,O=O.swipeExtraPadding;return P?(v[r===void 0?0:r]||{}).position:(P=(v[0]||{}).width,Math.min(O===void 0?0:O,P===void 0?0:P))}),d=(e.getSwipeLimitMin=c,function(T,v){var r=v.infinite,v=v.swipeExtraPadding,v=v===void 0?0:v,P=T.itemsCount,O=T.itemsOffset,j=T.itemsInSlide,j=j===void 0?1:j,T=T.transformationSet,T=T===void 0?[]:T;return r?(T[(P===void 0?1:P)+(0,e.getShiftIndex)(j,O===void 0?0:O)]||{}).position||0:(0,e.getItemCoords)(-j,T).position+v}),b=(e.getSwipeLimitMax=d,function(n,o,r){return-o<=n||Math.abs(n)>=r}),D=(e.shouldRecalculateSwipePosition=b,function(n){return(n=n===void 0?0:n)<0}),w=(e.getIsLeftDirection=D,function(n,o){return(o=o===void 0?[]:o).slice(n=n===void 0?0:n)[0]||{position:0,width:0}}),l=(e.getItemCoords=w,function(n,o){return n===void 0&&(n=0),o===void 0&&(o=[]),(0,e.getItemCoords)(n,o).position}),h=(e.getSwipeShiftValue=l,function(n,o){return o===void 0&&(o=0),(n=n===void 0?[]:n).findIndex(function(r){return r.position>=Math.abs(o)})}),a=(e.getTransformationItemIndex=h,function(n,o,r){return n===void 0&&(n=[]),o===void 0&&(o=0),r===void 0&&(r=0),n=(0,e.getTransformationItemIndex)(n,o),(0,e.getIsLeftDirection)(r)?n:n-1}),y=(e.getSwipeTransformationCursor=a,function(T,I,f){f===void 0&&(f=0);var v=T.infinite,P=T.autoWidth,O=T.isStageContentPartial,j=T.swipeAllowedPositionMax,T=T.transformationSet,f=(0,e.getSwipeTransformationCursor)(T,f,I),I=(0,e.getItemCoords)(f,T).position;if(!v){if(P&&O)return 0;if(j<I)return-j}return-I}),A=(e.getSwipeTouchendPosition=y,function(n,I){var r=I.transformationSet,v=I.itemsInSlide,P=I.itemsOffset,O=I.itemsCount,j=I.infinite,T=I.isStageContentPartial,f=I.activeIndex,I=I.translate3d;return j||!T&&I!==Math.abs(n)?(T=(0,e.getTransformationItemIndex)(r,n),j?T<(I=(0,e.getShiftIndex)(v,P))?O-v-P+T:I+O<=T?T-(I+O):T-I:T):f}),S=(e.getSwipeTouchendIndex=A,function(v){var o=v.infinite,r=v.activeIndex,v=v.itemsInSlide;return o?r+v:r}),m=(e.getFadeoutAnimationIndex=S,function(n,v){var r=v.activeIndex,v=v.stageWidth;return n<r?(r-n)*-v||0:(n-r)*v||0}),t=(e.getFadeoutAnimationPosition=m,function(n,o,r){return n<(r=r===void 0?0:r)||n<.1*o});e.isVerticalTouchmoveDetected=t})(q);(function(e){var i=function(){return(i=Object.assign||function(f){for(var I,E=1,M=arguments.length;E<M;E++)for(var C in I=arguments[E])Object.prototype.hasOwnProperty.call(I,C)&&(f[C]=I[C]);return f}).apply(this,arguments)},s=(Object.defineProperty(e,"__esModule",{value:!0}),e.getItemsInSlide=e.canUseDOM=e.getTransformMatrix=e.getTranslateXProperty=e.getTouchmoveTranslatePosition=e.getTranslate3dProperty=e.getRenderStageItemStyles=e.getRenderStageStyles=e.getTransitionProperty=e.getRenderWrapperStyles=e.animate=e.shouldHandleResizeEvent=e.getElementFirstChild=e.getElementCursor=e.getAutoheightProperty=e.getElementDimensions=e.getItemWidth=e.createDefaultTransformationSet=e.createAutowidthTransformationSet=e.isElement=e.createClones=e.getItemsOffset=e.getItemsCount=e.getSlides=void 0,Te),u=q,p=function(E){var I=E.children,E=E.items;return I?I.length?I:[I]:E===void 0?[]:E},_=(e.getSlides=p,function(f){return(0,e.getSlides)(f).length}),g=(e.getItemsCount=_,function(M){var I=M.infinite,E=M.paddingRight,M=M.paddingLeft;return I&&(M||E)?1:0}),c=(e.getItemsOffset=g,function(f){var I,E,M,C,L=(0,e.getSlides)(f);return f.infinite?(I=(0,e.getItemsCount)(f),C=(0,e.getItemsOffset)(f),f=(0,e.getItemsInSlide)(I,f),M=Math.min(f,I)+C,E=L.slice(0,M),M=L.slice(-M),C&&f===I&&(C=L[0],f=L.slice(-1)[0],M.unshift(f),E.push(C)),M.concat(L,E)):L}),d=(e.createClones=c,function(f){try{return f instanceof Element||f instanceof HTMLDocument}catch{return!1}}),b=(e.isElement=d,function(f,I,E){I===void 0&&(I=0),E===void 0&&(E=!1);var M=0,C=!0,L=[];return(0,e.isElement)(f)&&(L=Array.from((f==null?void 0:f.children)||[]).reduce(function(N,B,Z){var Y=0,Z=Z-1,K=N[Z],B=l(B==null?void 0:B.firstChild).width,B=B===void 0?0:B;return C=(M+=B)<=I,K&&(Y=Z==0?K.width:K.width+K.position),N.push({position:Y,width:B}),N},[]),E||(L=C?(0,s.mapPartialCoords)(L):(f=M-I,(0,s.mapPositionCoords)(L,f)))),{coords:L,content:M,partial:C}}),D=(e.createAutowidthTransformationSet=b,function(f,I,E,M){M===void 0&&(M=!1);var C=0,L=!0,N=[],U=(0,e.getItemWidth)(I,E);return N=f.reduce(function(X,Y,B){var K=0,B=X[B-1];return L=(C+=U)<=I,B&&(K=U+B.position||0),X.push({width:U,position:K}),X},[]),{coords:N=M?N:L?(0,s.mapPartialCoords)(N):(E=C-I,(0,s.mapPositionCoords)(N,E)),content:C,partial:L}}),w=(e.createDefaultTransformationSet=D,function(f,I){return 0<I?f/I:f});function l(f){return f&&f.getBoundingClientRect?{width:(f=f.getBoundingClientRect()).width,height:f.height}:{width:0,height:0}}e.getItemWidth=w,e.getElementDimensions=l;var h=function(f,M,C){var M=(0,e.getElementCursor)(M,C),C=(0,e.getElementFirstChild)(f,M);if((0,e.isElement)(C))return f=window.getComputedStyle(C),M=parseFloat(f.marginTop),f=parseFloat(f.marginBottom),Math.ceil(C.offsetHeight+M+f)},a=(e.getAutoheightProperty=h,function(f,M){var E=M.activeIndex,M=M.itemsInSlide;return f.infinite?E+M+(0,e.getItemsOffset)(f):E}),y=(e.getElementCursor=a,function(f,I){return f=f&&f.children||[],f[I]&&f[I].firstChild||null});function A(f,I,E){return(I=I===void 0?{}:I).width!==(E=E===void 0?{}:E).width}function S(f,C){var C=C||{},E=C.position,E=E===void 0?0:E,M=C.animationDuration,M=M===void 0?0:M,C=C.animationEasingFunction,C=C===void 0?"ease":C;return f&&(0,e.isElement)(f)&&(f.style.transition="transform ".concat(M,"ms ").concat(C," 0ms"),f.style.transform="translate3d(".concat(E,"px, 0, 0)")),f}e.getElementFirstChild=y,e.shouldHandleResizeEvent=A,e.animate=S;var m=function(f,I,E){var L=f||{},M=L.paddingLeft,C=L.paddingRight,N=L.autoHeight,L=L.animationDuration,N=N?(0,e.getAutoheightProperty)(E,f,I):void 0;return{height:N,transition:N?"height ".concat(L,"ms"):void 0,paddingLeft:"".concat(M,"px"),paddingRight:"".concat(C,"px")}},t=(e.getRenderWrapperStyles=m,function(E){var E=E||{},I=E.animationDuration,E=E.animationEasingFunction,E=E===void 0?"ease":E;return"transform ".concat(I===void 0?0:I,"ms ").concat(E," 0ms")}),n=(e.getTransitionProperty=t,function(f,I){return f=(f||{}).translate3d,f="translate3d(".concat(-(f===void 0?0:f),"px, 0, 0)"),i(i({},I),{transform:f})}),o=(e.getRenderStageStyles=n,function(f,L){var N=L.transformationSet,E=L.fadeoutAnimationIndex,M=L.fadeoutAnimationPosition,C=L.fadeoutAnimationProcessing,L=L.animationDuration,N=(N[f]||{}).width;return C&&E===f?{transform:"translateX(".concat(M,"px)"),animationDuration:"".concat(L,"ms"),width:"".concat(N,"px")}:{width:N}}),r=(e.getRenderStageItemStyles=o,function(f,N){var E=f,M=N.infinite,C=N.itemsOffset,L=N.itemsInSlide,N=N.transformationSet;return((N===void 0?[]:N)[E=M?f+(0,u.getShiftIndex)(L===void 0?0:L,C===void 0?0:C):E]||{}).position||0}),v=(e.getTranslate3dProperty=r,function(f,I){return-(I-Math.floor(f))});function P(f){return f=O(f),f=f&&f[4]||"",Number(f)}function O(f){return f&&(0,e.isElement)(f)&&window.getComputedStyle(f).transform.match(/(-?[0-9.]+)/g)||[]}e.getTouchmoveTranslatePosition=v,e.getTranslateXProperty=P,e.getTransformMatrix=O;var j=function(){var f;try{return!!((f=window==null?void 0:window.document)!=null&&f.createElement)}catch{return!1}},T=(e.canUseDOM=j,function(f,U){var E,M=1,C=U.responsive,L=U.autoWidth,N=U.infinite,U=U.innerWidth;return L!==void 0&&L?N!==void 0&&N?f:M:(C&&(L=Object.keys(C)).length&&(U||(0,e.canUseDOM)())&&(E=U===void 0?window.innerWidth:U,L.forEach(function(X){var Y;Number(X)<=E&&(Y=(X=C[X]).items,X=X.itemsFit,M=(X===void 0?"fill":X)==="contain"?Y:Math.min(Y,f))})),M||1)});e.getItemsInSlide=T})(Ie);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.calculateInitialState=e.getIsStageContentPartial=e.concatClassnames=void 0;var i=Ie,s=q,u=function(){for(var g=[],c=0;c<arguments.length;c++)g[c]=arguments[c];return g.filter(Boolean).join(" ")},p=(e.concatClassnames=u,function(g,c,d){return c===void 0&&(c=0),d===void 0&&(d=0),!(g=g!==void 0&&g)&&d<=c}),_=(e.getIsStageContentPartial=p,function(P,c,d){d===void 0&&(d=(0,i.canUseDOM)());var b,D,w=P.animationDuration,w=w===void 0?0:w,l=P.infinite,l=l!==void 0&&l,h=P.autoPlay,h=h!==void 0&&h,a=P.autoWidth,a=a!==void 0&&a,y=(0,i.createClones)(P),A=(0,i.getTransitionProperty)(),S=(0,i.getItemsCount)(P),m=(0,i.getItemsOffset)(P),t=(0,i.getItemsInSlide)(S,P),n=(0,s.getStartIndex)(P.activeIndex,S),n=(0,s.getActiveIndex)({startIndex:n,itemsCount:S,infinite:l}),o=(0,i.getElementDimensions)(c).width,r=(D=(c=(a?(b=(c=(0,i.createAutowidthTransformationSet)(c,o,l)).coords,D=c.content,c):(b=(c=(0,i.createDefaultTransformationSet)(y,o,t,l)).coords,D=c.content,c)).partial,D),(0,s.getItemCoords)(-t,b=b).position),v=(0,s.getSwipeLimitMin)({itemsOffset:m,transformationSet:b},P),P=(0,s.getSwipeLimitMax)({itemsCount:S,itemsOffset:m,itemsInSlide:t,transformationSet:b},P),O=(0,s.getSwipeShiftValue)(S,b);return{activeIndex:n,autoWidth:a,animationDuration:w,clones:y,infinite:l,itemsCount:S,itemsInSlide:t,itemsOffset:m,translate3d:(0,i.getTranslate3dProperty)(n,{itemsInSlide:t,itemsOffset:m,transformationSet:b,autoWidth:a,infinite:l}),stageWidth:o,stageContentWidth:D,initialStageHeight:0,isStageContentPartial:c,isAutoPlaying:h,isAutoPlayCanceledOnAction:!1,transformationSet:b,transition:A,fadeoutAnimationIndex:null,fadeoutAnimationPosition:null,fadeoutAnimationProcessing:!1,swipeLimitMin:v,swipeLimitMax:P,swipeAllowedPositionMax:r,swipeShiftValue:O,canUseDom:d}});e.calculateInitialState=_})(ye);var Fe={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isClonedItem=e.isTargetItem=e.isActiveItem=e.getRenderStageItemClasses=void 0;var i=$,s=ye,u=q,p=function(a,h){a===void 0&&(a=0);var D=h.fadeoutAnimationIndex,w=(0,e.isActiveItem)(a,h)?i.Modifiers.ACTIVE:"",l=(0,e.isClonedItem)(a,h)?i.Modifiers.CLONED:"",h=(0,e.isTargetItem)(a,h)?i.Modifiers.TARGET:"",a=a===D?i.Classnames.ANIMATED:"";return(0,s.concatClassnames)(i.Classnames.STAGE_ITEM,w,l,h,a)},_=(e.getRenderStageItemClasses=p,function(d,a){d===void 0&&(d=0);var D=a.activeIndex,w=a.itemsInSlide,l=a.itemsOffset,h=a.infinite,a=a.autoWidth,y=(0,u.getShiftIndex)(w,l);return a&&h?d-y===D+l:(a=D+y,h?a<=d&&d<a+w:D<=d&&d<a)}),g=(e.isActiveItem=_,function(d,h){d===void 0&&(d=0);var D=h.activeIndex,a=h.itemsInSlide,w=h.itemsOffset,l=h.infinite,h=h.autoWidth,a=(0,u.getShiftIndex)(a,w);return l?h&&l?d-a===D+w:d===D+a:d===D}),c=(e.isTargetItem=g,function(d,a){d===void 0&&(d=0);var D=a.itemsInSlide,w=a.itemsOffset,l=a.itemsCount,h=a.infinite,a=a.autoWidth;return!!h&&(a&&h?d<D||l-1+D<d:d<(a=(0,u.getShiftIndex)(D,w))||l-1+a<d)});e.isClonedItem=c})(Fe);var Ue={};(function(e){function i(s,u){u===void 0&&(u=0);function p(){_&&(clearTimeout(_),_=void 0)}var _=void 0;return[function(){for(var g=this,c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];p(),_=window.setTimeout(function(){s.apply(g,c),_=void 0},u)},p]}Object.defineProperty(e,"__esModule",{value:!0}),e.debounce=void 0,e.debounce=i})(Ue);var Ve={};(function(e){function i(){for(var s=[],u=0;u<arguments.length;u++)s[u]=arguments[u]}Object.defineProperty(e,"__esModule",{value:!0}),e.debug=void 0,e.debug=i})(Ve);var We={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getSlideItemInfo=e.getSlideInfo=e.getSlideIndexForMultipleItems=e.getSlideIndexForNonMultipleItems=e.getActiveSlideDotsLength=e.getActiveSlideIndex=void 0;var i=function(c,D){var D=D||{},w=D.activeIndex,b=D.itemsInSlide,D=D.itemsCount,w=w+b;return b===1?(0,e.getSlideIndexForNonMultipleItems)(w,b,D):(0,e.getSlideIndexForMultipleItems)(w,b,D,c)},s=(e.getActiveSlideIndex=i,function(c,d){var b;return d===void 0&&(d=1),(c=c===void 0?0:c)&&d?(b=Math.floor(c/d),c%d==0?b-1:b):0}),u=(e.getActiveSlideDotsLength=s,function(c,d,b){return c<d?b-d:b<c?0:c-1}),p=(e.getSlideIndexForNonMultipleItems=u,function(c,d,b,D){var w=(0,e.getActiveSlideDotsLength)(b,d);return c===b+d?0:D||c<d&&c!==0?w:c===0?b%d==0?w:w-1:0<d?Math.floor(c/d)-1:0}),_=(e.getSlideIndexForMultipleItems=p,function(c,d){return d===void 0&&(d=0),c=(c=c===void 0?0:c)+1,c<1?c=d:d<c&&(c=1),{item:c,itemsCount:d}}),g=(e.getSlideInfo=_,function(d){var d=d||{},b=d.itemsInSlide,D=d.activeIndex,w=d.infinite,l=d.itemsCount;return d.isStageContentPartial?{isPrevSlideDisabled:!0,isNextSlideDisabled:!0}:{isPrevSlideDisabled:w===!1&&D===0,isNextSlideDisabled:w===!1&&l-b<=D}});e.getSlideItemInfo=g})(We);var Xe={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.shouldCancelAutoPlayOnHover=e.shouldCancelAutoPlayOnAction=e.getItemIndexForDotNavigation=e.checkIsTheLastDotIndex=e.getDotsNavigationLength=e.hasDotForEachSlide=e.isStrategy=e.shouldDisableButtons=e.shouldDisableDots=e.shouldDisableControls=void 0;var i=$;function s(a,S){var a=(a||{}).controlsStrategy,S=S||{},y=S.itemsInSlide,A=S.itemsCount,S=S.autoWidth;if((0,e.isStrategy)(a,i.ControlsStrategy.RESPONSIVE))return!S&&y===A}function u(l,h){return l.disableDotsControls||s(l,h)}function p(l,h){return l.disableButtonsControls||!l.infinite&&s(l,h)}e.shouldDisableControls=s,e.shouldDisableDots=u,e.shouldDisableButtons=p;var _=function(l,h){return l===void 0&&(l=""),h===void 0&&(h=""),!!(l&&l.includes(h))},g=(e.isStrategy=_,function(l,h){return l||(0,e.isStrategy)(h,i.ControlsStrategy.ALTERNATE)}),c=(e.hasDotForEachSlide=g,function(l,h,a){return l===void 0&&(l=0),h===void 0&&(h=1),(a=a!==void 0&&a)?l:Number(h)!==0&&Math.ceil(l/h)||0}),d=(e.getDotsNavigationLength=c,function(l,h,a){return!h&&l===a-1}),b=(e.checkIsTheLastDotIndex=d,function(l,h,a,y){return(h?a-y:l*y)||0}),D=(e.getItemIndexForDotNavigation=b,function(l){return(l=l===void 0?"":l)===i.AutoPlayStrategy.ACTION||l===i.AutoPlayStrategy.ALL}),w=(e.shouldCancelAutoPlayOnAction=D,function(l){return(l=l===void 0?"":l)===i.AutoPlayStrategy.DEFAULT||l===i.AutoPlayStrategy.ALL});e.shouldCancelAutoPlayOnHover=w})(Xe);(function(e){var i=Object.create?function(u,p,_,g){g===void 0&&(g=_);var c=Object.getOwnPropertyDescriptor(p,_);c&&("get"in c?p.__esModule:!c.writable&&!c.configurable)||(c={enumerable:!0,get:function(){return p[_]}}),Object.defineProperty(u,g,c)}:function(u,p,_,g){u[g=g===void 0?_:g]=p[_]},s=function(u,p){for(var _ in u)_==="default"||Object.prototype.hasOwnProperty.call(p,_)||i(p,u,_)};Object.defineProperty(e,"__esModule",{value:!0}),s(ye,e),s(Ie,e),s(Fe,e),s(Ue,e),s(q,e),s(Ve,e),s(We,e),s(Xe,e),s(Te,e)})(H);(function(e){var i=function(g){return g&&g.__esModule?g:{default:g}},s=(Object.defineProperty(e,"__esModule",{value:!0}),e.SlideInfo=void 0,i(z)),u=$,p=H,_=function(d){var b=d.activeIndex,c=d.itemsCount,d=d.renderSlideInfo,b=(0,p.getSlideInfo)(b,c).item;return typeof d=="function"?s.default.createElement("div",{className:u.Classnames.SLIDE_INFO},d({item:b,itemsCount:c})):(d=(0,p.concatClassnames)(u.Classnames.SLIDE_INFO_ITEM,u.Modifiers.SEPARATOR),s.default.createElement("div",{className:u.Classnames.SLIDE_INFO},s.default.createElement("span",{className:u.Classnames.SLIDE_INFO_ITEM},b),s.default.createElement("span",{className:d},"/"),s.default.createElement("span",{className:u.Classnames.SLIDE_INFO_ITEM},c)))};e.SlideInfo=_})(Be);var $e={};(function(e){var i=function(p){return p&&p.__esModule?p:{default:p}},s=(Object.defineProperty(e,"__esModule",{value:!0}),e.StageItem=void 0,i(z)),u=function(c){var _=c.item,g=c.className,c=c.styles;return s.default.createElement("li",{style:c,className:g},_)};e.StageItem=u})($e);var Ye={};(function(e){var i=function(g){return g&&g.__esModule?g:{default:g}},s=(Object.defineProperty(e,"__esModule",{value:!0}),e.DotsNavigation=void 0,i(z)),u=$,p=H,_=function(A){var c=A.state,d=A.onClick,b=A.onMouseEnter,D=A.onMouseLeave,w=A.controlsStrategy,l=A.renderDotsItem,h=c.itemsCount,a=c.itemsInSlide,y=c.infinite,A=c.autoWidth,S=c.activeIndex,m=(0,p.getSlideItemInfo)(c).isNextSlideDisabled,t=(0,p.hasDotForEachSlide)(A,w),n=(0,p.getDotsNavigationLength)(h,a,t);return s.default.createElement("ul",{className:u.Classnames.DOTS},Array.from({length:h}).map(function(o,r){var v,P,O;if(r<n)return P=(0,p.checkIsTheLastDotIndex)(r,!!y,n),v=(0,p.getItemIndexForDotNavigation)(r,P,h,a),P=(0,p.getActiveSlideIndex)(m,c),t&&((P=S)<0?P=h-1:h<=S&&(P=0),v=r),P=P===r?u.Modifiers.ACTIVE:"",O=l?u.Modifiers.CUSTOM:"",O=(0,p.concatClassnames)(u.Classnames.DOTS_ITEM,P,O),s.default.createElement("li",{key:"dot-item-".concat(r),onMouseEnter:b,onMouseLeave:D,onClick:function(){return d(v)},className:O},l&&l({isActive:!!P,activeIndex:r}))}))};e.DotsNavigation=_})(Ye);var Ke={};(function(e){var i=function(g){return g&&g.__esModule?g:{default:g}},s=(Object.defineProperty(e,"__esModule",{value:!0}),e.PlayPauseButton=void 0,i(z)),u=$,p=H,_=function(b){var c=b.isPlaying,d=b.onClick,b=b.renderPlayPauseButton;return typeof b=="function"?s.default.createElement("div",{className:u.Classnames.PLAY_BTN,onClick:d},b({isPlaying:c})):(b=c?u.Modifiers.PAUSE:"",c=(0,p.concatClassnames)(u.Classnames.PLAY_BTN_ITEM,b),s.default.createElement("div",{className:u.Classnames.PLAY_BTN},s.default.createElement("div",{className:u.Classnames.PLAY_BTN_WRAPPER},s.default.createElement("div",{onClick:d,className:c}))))};e.PlayPauseButton=_})(Ke);var ze={};(function(e){var i=function(g){return g&&g.__esModule?g:{default:g}},s=(Object.defineProperty(e,"__esModule",{value:!0}),e.PrevNextButton=void 0,i(z)),u=$,p=H,_=function(l){var c,d=l.name,b=l.isDisabled,D=l.onClick,w=l.renderPrevButton,l=l.renderNextButton;return typeof w=="function"?s.default.createElement("div",{className:u.Classnames.BUTTON_PREV,onClick:D},w({isDisabled:b})):typeof l=="function"?s.default.createElement("div",{className:u.Classnames.BUTTON_NEXT,onClick:D},l({isDisabled:b})):(l=(w=d==="prev")?"<":">",d=w?u.Classnames.BUTTON_PREV:u.Classnames.BUTTON_NEXT,c=w?u.Classnames.BUTTON_PREV_WRAPPER:u.Classnames.BUTTON_NEXT_WRAPPER,w=w?u.Classnames.BUTTON_PREV_ITEM:u.Classnames.BUTTON_NEXT_ITEM,b=b?u.Modifiers.INACTIVE:"",w=(0,p.concatClassnames)(w,b),s.default.createElement("div",{className:d},s.default.createElement("div",{className:c},s.default.createElement("p",{className:w,onClick:function(h){return D(h)}},s.default.createElement("span",{"data-area":l})))))};e.PrevNextButton=_})(ze);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.PrevNextButton=e.PlayPauseButton=e.DotsNavigation=e.StageItem=e.SlideInfo=void 0;var i=Be,s=(Object.defineProperty(e,"SlideInfo",{enumerable:!0,get:function(){return i.SlideInfo}}),$e),u=(Object.defineProperty(e,"StageItem",{enumerable:!0,get:function(){return s.StageItem}}),Ye),p=(Object.defineProperty(e,"DotsNavigation",{enumerable:!0,get:function(){return u.DotsNavigation}}),Ke),_=(Object.defineProperty(e,"PlayPauseButton",{enumerable:!0,get:function(){return p.PlayPauseButton}}),ze);Object.defineProperty(e,"PrevNextButton",{enumerable:!0,get:function(){return _.PrevNextButton}})})(Re);(function(e){var i=function(){var S=function(m,t){return(S=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(n,o){n.__proto__=o}:function(n,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r])}))(m,t)};return function(m,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=m}S(m,t),m.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),s=function(){return(s=Object.assign||function(S){for(var m,t=1,n=arguments.length;t<n;t++)for(var o in m=arguments[t])Object.prototype.hasOwnProperty.call(m,o)&&(S[o]=m[o]);return S}).apply(this,arguments)},u=Object.create?function(S,m,t,n){n===void 0&&(n=t);var o=Object.getOwnPropertyDescriptor(m,t);o&&("get"in o?m.__esModule:!o.writable&&!o.configurable)||(o={enumerable:!0,get:function(){return m[t]}}),Object.defineProperty(S,n,o)}:function(S,m,t,n){S[n=n===void 0?t:n]=m[t]},p=Object.create?function(S,m){Object.defineProperty(S,"default",{enumerable:!0,value:m})}:function(S,m){S.default=m},_=function(S){if(S&&S.__esModule)return S;var m={};if(S!=null)for(var t in S)t!=="default"&&Object.prototype.hasOwnProperty.call(S,t)&&u(m,S,t);return p(m,S),m},g=function(S,m){for(var t in S)t==="default"||Object.prototype.hasOwnProperty.call(m,t)||u(m,S,t)},c=function(S,m,t,n){return new(t=t||Promise)(function(o,r){function v(j){try{O(n.next(j))}catch(T){r(T)}}function P(j){try{O(n.throw(j))}catch(T){r(T)}}function O(j){var T;j.done?o(j.value):((T=j.value)instanceof t?T:new t(function(f){f(T)})).then(v,P)}O((n=n.apply(S,m||[])).next())})},d=function(S,m){var t,n,o,r={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},v={next:P(0),throw:P(1),return:P(2)};return typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function P(O){return function(j){var T=[O,j];if(t)throw new TypeError("Generator is already executing.");for(;r;)try{if(t=1,n&&(o=2&T[0]?n.return:T[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,T[1])).done)return o;switch(n=0,(T=o?[2&T[0],o.value]:T)[0]){case 0:case 1:o=T;break;case 4:return r.label++,{value:T[1],done:!1};case 5:r.label++,n=T[1],T=[0];continue;case 7:T=r.ops.pop(),r.trys.pop();continue;default:if(!(o=0<(o=r.trys).length&&o[o.length-1])&&(T[0]===6||T[0]===2)){r=0;continue}if(T[0]===3&&(!o||T[1]>o[0]&&T[1]<o[3]))r.label=T[1];else if(T[0]===6&&r.label<o[1])r.label=o[1],o=T;else{if(!(o&&r.label<o[2])){o[2]&&r.ops.pop(),r.trys.pop();continue}r.label=o[2],r.ops.push(T)}}T=m.call(S,r)}catch(f){T=[6,f],n=0}finally{t=o=0}if(5&T[0])throw T[1];return{value:T[0]?T[1]:void 0,done:!0}}}},b=function(S){return S&&S.__esModule?S:{default:S}},D=(Object.defineProperty(e,"__esModule",{value:!0}),b(z)),w=b(Ne),l=je,h=_(Re),a=_(H),y=$,A=(g($,e),function(S){function m(t){var n=S.call(this,t)||this;return n.swipeListener=null,n._handleKeyboardEvents=function(o){switch(o.code){case"Space":return n.props.autoPlay&&n._handlePlayPauseToggle();case"ArrowLeft":return n.slidePrev(o);case"ArrowRight":return n.slideNext(o)}},n._handleBeforeSlideEnd=function(o){return c(n,void 0,void 0,function(){var r,v,P;return d(this,function(O){switch(O.label){case 0:return v=this.state,P=v.activeIndex,r=v.itemsCount,v=v.fadeoutAnimationProcessing,a.shouldRecalculateSlideIndex(P,r)?(P=a.getUpdateSlidePositionIndex(P,r),[4,this._handleUpdateSlidePosition(P)]):[3,2];case 1:return O.sent(),[3,4];case 2:return v?[4,this.setState({fadeoutAnimationIndex:null,fadeoutAnimationPosition:null,fadeoutAnimationProcessing:!1})]:[3,4];case 3:O.sent(),O.label=4;case 4:return this._handleSlideChanged(o),[2]}})})},n._handleMouseEnter=function(){var o=n.props.autoPlayStrategy;a.shouldCancelAutoPlayOnHover(o)&&n.state.isAutoPlaying&&(n.isHovered=!0,n._handlePause())},n._handleMouseLeave=function(){n.state.isAutoPlaying&&(n.isHovered=!1,n._handlePlay())},n._handlePause=function(){n._clearAutoPlayTimeout()},n._handlePlayPauseToggle=function(){return c(n,void 0,void 0,function(){var o;return d(this,function(r){switch(r.label){case 0:return o=this.state.isAutoPlaying,this.hasUserAction=!0,[4,this.setState({isAutoPlaying:!o,isAutoPlayCanceledOnAction:!0})];case 1:return r.sent(),o?this._handlePause():this._handlePlay(),[2]}})})},n._setRootComponentRef=function(o){return n.rootElement=o},n._setStageComponentRef=function(o){return n.stageComponent=o},n._renderStageItem=function(o,r){var v=a.getRenderStageItemStyles(r,n.state),P=a.getRenderStageItemClasses(r,n.state);return D.default.createElement(h.StageItem,{styles:v,className:P,key:"stage-item-".concat(r),item:o})},n._renderSlideInfo=function(){var o=n.props.renderSlideInfo,v=n.state,r=v.activeIndex,v=v.itemsCount;return D.default.createElement(h.SlideInfo,{itemsCount:v,activeIndex:r,renderSlideInfo:o})},n.state=a.calculateInitialState(t,null),n.isHovered=!1,n.isAnimationDisabled=!1,n.isTouchMoveProcessStarted=!1,n.cancelTouchAnimations=!1,n.hasUserAction=!1,n.rootElement=null,n.rootComponentDimensions={},n.stageComponent=null,n.startTouchmovePosition=void 0,n.slideTo=n.slideTo.bind(n),n.slidePrev=n.slidePrev.bind(n),n.slideNext=n.slideNext.bind(n),n._handleTouchmove=n._handleTouchmove.bind(n),n._handleTouchend=n._handleTouchend.bind(n),n._handleDotClick=n._handleDotClick.bind(n),n._handleResize=n._handleResize.bind(n),t=a.debounce(n._handleResize,100),n._handleResizeDebounced=t[0],n._cancelResizeDebounced=t[1],n}return i(m,S),m.prototype.componentDidMount=function(){return c(this,void 0,void 0,function(){return d(this,function(t){switch(t.label){case 0:return[4,this._setInitialState()];case 1:return t.sent(),this._addEventListeners(),this._setupSwipeHandlers(),this.props.autoPlay&&this._handlePlay(),[2]}})})},m.prototype.componentDidUpdate=function(t,n){var N=this.props,o=N.activeIndex,r=N.animationDuration,v=N.autoWidth,P=N.children,O=N.infinite,j=N.items,T=N.paddingLeft,f=N.paddingRight,I=N.responsive,E=N.swipeExtraPadding,M=N.mouseTracking,C=N.swipeDelta,L=N.touchTracking,N=N.touchMoveDefaultEvents;P&&t.children!==P?(P=n.activeIndex,n=s(s({},this.props),{activeIndex:P}),this._updateComponent(n)):t.autoWidth!==v||t.infinite!==O||t.items!==j||t.paddingLeft!==T||t.paddingRight!==f||t.responsive!==I||t.swipeExtraPadding!==E?this._updateComponent():(t.animationDuration!==r&&this.setState({animationDuration:r}),t.activeIndex!==o&&this.slideTo(o,y.EventType.UPDATE)),t.swipeDelta===C&&t.mouseTracking===M&&t.touchTracking===L&&t.touchMoveDefaultEvents===N||this._updateSwipeProps(),this.props.keyboardNavigation!==t.keyboardNavigation&&this._updateEventListeners()},m.prototype.componentWillUnmount=function(){this._cancelResizeDebounced(),this._cancelTimeoutAnimations(),this._removeEventListeners()},Object.defineProperty(m.prototype,"eventObject",{get:function(){var n=this.state,t=n.itemsInSlide,n=n.activeIndex,r=a.getSlideItemInfo(this.state),o=r.isNextSlideDisabled,r=r.isPrevSlideDisabled;return{item:n,slide:a.getActiveSlideIndex(o,this.state),itemsInSlide:t,isNextSlideDisabled:o,isPrevSlideDisabled:r,type:y.EventType.ACTION}},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"isFadeoutAnimationAllowed",{get:function(){var t=this.state.itemsInSlide,v=this.props,n=v.animationType,o=v.paddingLeft,r=v.paddingRight,v=v.autoWidth;return t===1&&n===y.AnimationType.FADEOUT&&!(o||r||v)},enumerable:!1,configurable:!0}),Object.defineProperty(m.prototype,"touchmovePosition",{get:function(){return this.startTouchmovePosition!==void 0?this.startTouchmovePosition:this.state.translate3d},enumerable:!1,configurable:!0}),m.prototype.slideTo=function(t,n){var o,r,v;t===void 0&&(t=0),this._handlePause(),this.isFadeoutAnimationAllowed?(o=a.getUpdateSlidePositionIndex(t,this.state.itemsCount),r=a.getFadeoutAnimationPosition(o,this.state),v=a.getFadeoutAnimationIndex(this.state),this._handleSlideTo({activeIndex:o,fadeoutAnimationIndex:v,fadeoutAnimationPosition:r,eventType:n})):this._handleSlideTo({activeIndex:t,eventType:n})},m.prototype.slidePrev=function(r){this._handlePause(),r&&r.isTrusted&&(this.hasUserAction=!0);var n,o,r=this.state.activeIndex-1;this.isFadeoutAnimationAllowed?(n=-this.state.stageWidth,o=a.getFadeoutAnimationIndex(this.state),this._handleSlideTo({activeIndex:r,fadeoutAnimationIndex:o,fadeoutAnimationPosition:n})):this._handleSlideTo({activeIndex:r})},m.prototype.slideNext=function(r){this._handlePause(),r&&r.isTrusted&&(this.hasUserAction=!0);var n,o,r=this.state.activeIndex+1;this.isFadeoutAnimationAllowed?(n=this.state.stageWidth,o=a.getFadeoutAnimationIndex(this.state),this._handleSlideTo({activeIndex:r,fadeoutAnimationIndex:o,fadeoutAnimationPosition:n})):this._handleSlideTo({activeIndex:r})},m.prototype._addEventListeners=function(){window.addEventListener("resize",this._handleResizeDebounced),this.props.keyboardNavigation&&window.addEventListener("keyup",this._handleKeyboardEvents)},m.prototype._removeEventListeners=function(){this.swipeListener&&this.swipeListener.destroy(),window.removeEventListener("resize",this._handleResizeDebounced),window.removeEventListener("keyup",this._handleKeyboardEvents)},m.prototype._updateEventListeners=function(){this.props.keyboardNavigation?window.addEventListener("keyup",this._handleKeyboardEvents):window.removeEventListener("keyup",this._handleKeyboardEvents)},m.prototype._handleResize=function(t){return c(this,void 0,void 0,function(){var n,o,r;return d(this,function(v){switch(v.label){case 0:return o=this.props.onResizeEvent,r=a.getElementDimensions(this.rootElement),(o||a.shouldHandleResizeEvent)(t,this.rootComponentDimensions,r)?(this._cancelTimeoutAnimations(),this.rootComponentDimensions=r,o=this.state,r=o.itemsCount,n=o.isAutoPlaying,o=a.getUpdateSlidePositionIndex(this.state.activeIndex,r),r=a.calculateInitialState(s(s({},this.props),{activeIndex:o}),this.stageComponent),o=a.getTranslate3dProperty(r.activeIndex,r),r=s(s({},r),{translate3d:o,isAutoPlaying:n}),a.animate(this.stageComponent,{position:-o}),[4,this.setState(r)]):[3,2];case 1:v.sent(),this._handleResized(),this.isAnimationDisabled=!1,n&&this._handlePlay(),v.label=2;case 2:return[2]}})})},m.prototype._handleTouchmove=function(t,P){var o=P.absY,r=P.absX,v=P.deltaX,P=this.props.swipeDelta,I=this.state,O=I.swipeShiftValue,j=I.swipeLimitMin,T=I.swipeLimitMax,f=I.infinite,I=I.fadeoutAnimationProcessing;if(this.hasUserAction=!0,!(I||!this.isTouchMoveProcessStarted&&a.isVerticalTouchmoveDetected(r,o,P))){this.isTouchMoveProcessStarted||(this._cancelTimeoutAnimations(),this._setTouchmovePosition(),this.isAnimationDisabled=!0,this.isTouchMoveProcessStarted=!0,this._handleSlideChange());var E=a.getTouchmoveTranslatePosition(v,this.touchmovePosition);if(f===!1)return j<E||E<-T?void 0:void a.animate(this.stageComponent,{position:E});if(a.shouldRecalculateSwipePosition(E,j,T))try{(function M(){a.getIsLeftDirection(v)?E+=O:E+=-O,a.shouldRecalculateSwipePosition(E,j,T)&&M()})()}catch(M){a.debug(M)}a.animate(this.stageComponent,{position:E})}},m.prototype._handleTouchend=function(t,P){var o,r,v,P=P.deltaX;this._clearTouchmovePosition(),this.isTouchMoveProcessStarted&&(this.isTouchMoveProcessStarted=!1,o=this.state.animationDuration,r=this.props.animationEasingFunction,v=a.getTranslateXProperty(this.stageComponent),P=a.getSwipeTouchendPosition(this.state,P,v),a.animate(this.stageComponent,{position:P,animationDuration:o,animationEasingFunction:r}),this._handleBeforeTouchEnd(P))},m.prototype._handleBeforeTouchEnd=function(t){var n=this,o=this.state.animationDuration;this.touchEndTimeoutId=window.setTimeout(function(){return c(n,void 0,void 0,function(){var r,v,P,O=this;return d(this,function(j){switch(j.label){case 0:return r=a.getSwipeTouchendIndex(t,this.state),v=a.getTranslate3dProperty(r,this.state),a.animate(this.stageComponent,{position:-v}),P=a.getTransitionProperty(),[4,this.setState({activeIndex:r,translate3d:v,transition:P})];case 1:return j.sent(),requestAnimationFrame(function(){return O._handleSlideChanged()}),[2]}})})},o)},m.prototype._handleSlideTo=function(t){var r=t.activeIndex,n=r===void 0?0:r,r=t.fadeoutAnimationIndex,o=r===void 0?null:r,r=t.fadeoutAnimationPosition,v=r===void 0?null:r,P=t.eventType;return c(this,void 0,void 0,function(){var O,j,T,f,I=this;return d(this,function(E){switch(E.label){case 0:return j=this.props,T=j.infinite,j=j.animationEasingFunction,O=this.state,f=O.itemsCount,O=O.animationDuration,this.isAnimationDisabled||this.state.activeIndex===n||!T&&a.shouldCancelSlideAnimation(n,f)?[2]:(this.isAnimationDisabled=!0,this._cancelTimeoutAnimations(),this._handleSlideChange(P),T=!1,f=a.getTranslate3dProperty(n,this.state),j=o!==null&&v!==null?(T=!0,a.getTransitionProperty()):a.getTransitionProperty({animationDuration:O,animationEasingFunction:j}),[4,this.setState({activeIndex:n,transition:j,translate3d:f,animationDuration:O,fadeoutAnimationIndex:o,fadeoutAnimationPosition:v,fadeoutAnimationProcessing:T})]);case 1:return E.sent(),this.slideEndTimeoutId=window.setTimeout(function(){return I._handleBeforeSlideEnd(P)},O),[2]}})})},m.prototype._handleUpdateSlidePosition=function(t){return c(this,void 0,void 0,function(){var n,o,r;return d(this,function(v){switch(v.label){case 0:return n=this.state.animationDuration,o=a.getTranslate3dProperty(t,this.state),r=a.getTransitionProperty({animationDuration:0}),[4,this.setState({activeIndex:t,translate3d:o,transition:r,animationDuration:n,fadeoutAnimationIndex:null,fadeoutAnimationPosition:null,fadeoutAnimationProcessing:!1})];case 1:return v.sent(),[2]}})})},m.prototype._handleResized=function(){this.props.onResized&&this.props.onResized(s(s({},this.eventObject),{type:y.EventType.RESIZE}))},m.prototype._handleSlideChange=function(t){this.props.onSlideChange&&(t=t?s(s({},this.eventObject),{type:t}):this.eventObject,this.props.onSlideChange(t))},m.prototype._handleSlideChanged=function(t){return c(this,void 0,void 0,function(){var n,o,r,v;return d(this,function(P){switch(P.label){case 0:return o=this.state,n=o.isAutoPlaying,o=o.isAutoPlayCanceledOnAction,r=this.props,v=r.autoPlayStrategy,r=r.onSlideChanged,a.shouldCancelAutoPlayOnAction(v)&&this.hasUserAction&&!o?[4,this.setState({isAutoPlayCanceledOnAction:!0,isAutoPlaying:!1})]:[3,2];case 1:return P.sent(),[3,3];case 2:n&&this._handlePlay(),P.label=3;case 3:return this.isAnimationDisabled=!1,r&&(v=t?s(s({},this.eventObject),{type:t}):this.eventObject,r(v)),[2]}})})},m.prototype._handleDotClick=function(t){this.hasUserAction=!0,this.slideTo(t)},m.prototype._handlePlay=function(){this._setAutoPlayInterval()},m.prototype._cancelTimeoutAnimations=function(){this._clearAutoPlayTimeout(),this._clearSlideEndTimeout(),this.clearTouchendTimeout()},m.prototype._clearAutoPlayTimeout=function(){window.clearTimeout(this.autoPlayTimeoutId),this.autoPlayTimeoutId=void 0},m.prototype._clearSlideEndTimeout=function(){clearTimeout(this.slideEndTimeoutId),this.slideEndTimeoutId=void 0},m.prototype.clearTouchendTimeout=function(){clearTimeout(this.touchEndTimeoutId),this.touchEndTimeoutId=void 0},m.prototype._clearTouchmovePosition=function(){this.startTouchmovePosition=void 0},m.prototype._setTouchmovePosition=function(){var t=a.getTranslateXProperty(this.stageComponent);this.startTouchmovePosition=-t},m.prototype._setInitialState=function(){return c(this,void 0,void 0,function(){var t;return d(this,function(n){switch(n.label){case 0:return t=a.calculateInitialState(this.props,this.stageComponent),this.rootComponentDimensions=a.getElementDimensions(this.rootElement),[4,this.setState(t)];case 1:return n.sent(),this.props.onInitialized&&this.props.onInitialized(s(s({},this.eventObject),{type:y.EventType.INIT})),[2]}})})},m.prototype._setAutoPlayInterval=function(){var t=this,o=this.props,n=o.autoPlayDirection,o=o.autoPlayInterval;this.autoPlayTimeoutId=window.setTimeout(function(){t.isHovered||(n===y.AutoplayDirection.RTL?t.slidePrev():t.slideNext())},o)},m.prototype._setupSwipeHandlers=function(){this.swipeListener=new w.default({element:this.rootElement,delta:this.props.swipeDelta,onSwiping:this._handleTouchmove,onSwiped:this._handleTouchend,rotationAngle:5,mouseTrackingEnabled:this.props.mouseTracking,touchTrackingEnabled:this.props.touchTracking,preventDefaultTouchmoveEvent:!this.props.touchMoveDefaultEvents,preventTrackingOnMouseleave:!0}),this.swipeListener.init()},m.prototype._updateComponent=function(t){var n=this;t===void 0&&(t=this.props),this._cancelTimeoutAnimations(),this.isAnimationDisabled=!1,this.state.isAutoPlaying&&this._handlePlay(),this.setState({clones:a.createClones(t)}),requestAnimationFrame(function(){n.setState(a.calculateInitialState(t,n.stageComponent))})},m.prototype._updateSwipeProps=function(){this.swipeListener&&this.swipeListener.update({delta:this.props.swipeDelta,mouseTrackingEnabled:this.props.mouseTracking,touchTrackingEnabled:this.props.touchTracking,preventDefaultTouchmoveEvent:!this.props.touchMoveDefaultEvents})},m.prototype._renderDotsNavigation=function(){var n=this.props,t=n.renderDotsItem,n=n.controlsStrategy;return D.default.createElement(h.DotsNavigation,{state:this.state,onClick:this._handleDotClick,renderDotsItem:t,controlsStrategy:n})},m.prototype._renderPrevButton=function(){var t=this.props.renderPrevButton,n=a.getSlideItemInfo(this.state).isPrevSlideDisabled;return D.default.createElement(h.PrevNextButton,{name:"prev",onClick:this.slidePrev,isDisabled:n,renderPrevButton:t})},m.prototype._renderNextButton=function(){var t=this.props.renderNextButton,n=a.getSlideItemInfo(this.state).isNextSlideDisabled;return D.default.createElement(h.PrevNextButton,{name:"next",onClick:this.slideNext,isDisabled:n,renderNextButton:t})},m.prototype._renderPlayPauseButton=function(){var t=this.props.renderPlayPauseButton,n=this.state.isAutoPlaying;return D.default.createElement(h.PlayPauseButton,{isPlaying:n,onClick:this._handlePlayPauseToggle,renderPlayPauseButton:t})},m.prototype.render=function(){var O=this.state,v=O.translate3d,t=O.clones,P=O.transition,O=O.canUseDom,n=a.shouldDisableDots(this.props,this.state),o=a.shouldDisableButtons(this.props,this.state),r=a.getRenderWrapperStyles(this.props,this.state,this.stageComponent),v=a.getRenderStageStyles({translate3d:v},{transition:P}),P=this.props.ssrSilentMode||O?"":y.Modifiers.SSR,O=a.concatClassnames(y.Classnames.ROOT,P);return D.default.createElement("div",{className:O},D.default.createElement("div",{ref:this._setRootComponentRef},D.default.createElement("div",{style:r,className:y.Classnames.WRAPPER,onMouseEnter:this._handleMouseEnter,onMouseLeave:this._handleMouseLeave},D.default.createElement("ul",{style:v,className:y.Classnames.STAGE,ref:this._setStageComponentRef},t.map(this._renderStageItem)))),n?null:this._renderDotsNavigation(),o?null:this._renderPrevButton(),o?null:this._renderNextButton(),this.props.disableSlideInfo?null:this._renderSlideInfo(),this.props.autoPlayControls?this._renderPlayPauseButton():null)},m.defaultProps=l.defaultProps,m}(D.default.PureComponent));e.default=A})(Ce);const Mt=He(Ce);function Lt(){Ge("link",{limit:1e4,status:!0},[],u);const[e,i]=z.useState([]),s={0:{items:3},568:{items:6},1024:{items:8}};function u(p){let _=[];p.map(g=>{var c,d,b;_.push(V.jsxs("div",{className:"pl-5 pr-5 w-100 cursor-pointer",style:{aspectRatio:1},onClick:()=>window.open(g.link),children:[V.jsx(J,{className:"w-100",style:{height:"90%"},children:V.jsx("img",{style:{width:"100%",height:"100%",objectFit:"contain"},src:((c=g==null?void 0:g.backgroundImageId)==null?void 0:c.pictureStatus)===!0?`https://spm-production.s3.ap-southeast-1.amazonaws.com/${(d=g==null?void 0:g.backgroundImageId)==null?void 0:d.thumnail}`:(b=g==null?void 0:g.backgroundImageId)==null?void 0:b.picture,alt:g.title})}),V.jsx(J,{justify:"center",children:V.jsx("span",{className:"text-limit-1-lines",children:g.title})})]}))}),i(_)}return e.length>0?V.jsx(J,{className:"w-100",children:V.jsx(ke,{span:24,align:"middle",children:V.jsxs("div",{className:"layout-max-width mb-30",children:[V.jsxs(J,{align:"middle",className:"mt-30 mb-15 fs-18",children:[V.jsx(Ze,{className:"t-primary ml-10"}),V.jsx("span",{className:"ml-10 t-primary font-battambang-bold",children:qe("link-to-website")})]}),V.jsx(Mt,{mouseTracking:!0,items:e,responsive:s,autoPlay:!0,autoPlayInterval:2e3,autoPlayStrategy:"default",disableButtonsControls:!0,disableDotsControls:!0,disableSlideInfo:!0,infinite:!0})]})})}):null}export{Lt as L};