"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7815],{9567:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(93944),l=r(37876);let a=(0,n.A)((0,l.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft")},38456:(e,t,r)=>{r.d(t,{A:()=>i,P:()=>a});var n=r(47951),l=r(45879);function a(e){return(0,l.Ay)("MuiInputAdornment",e)}let i=(0,n.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"])},75720:(e,t,r)=>{r.d(t,{A:()=>y});var n,l=r(29266),a=r(49241),i=r(14232),o=r(69241),s=r(4697),u=r(80027),c=r(77018),d=r(55509),f=r(74073),p=r(54773),g=r(38456),h=r(52196),m=r(37876);let C=["children","className","component","disablePointerEvents","disableTypography","position","variant"],v=e=>{let{classes:t,disablePointerEvents:r,hiddenLabel:n,position:l,size:a,variant:i}=e,o={root:["root",r&&"disablePointerEvents",l&&"position".concat((0,u.A)(l)),i,n&&"hiddenLabel",a&&"size".concat((0,u.A)(a))]};return(0,s.A)(o,g.P,t)},b=(0,p.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["position".concat((0,u.A)(r.position))],!0===r.disablePointerEvents&&t.disablePointerEvents,t[r.variant]]}})(e=>{let{theme:t,ownerState:r}=e;return(0,a.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===r.variant&&{["&.".concat(g.A.positionStart,"&:not(.").concat(g.A.hiddenLabel,")")]:{marginTop:16}},"start"===r.position&&{marginRight:8},"end"===r.position&&{marginLeft:8},!0===r.disablePointerEvents&&{pointerEvents:"none"})}),y=i.forwardRef(function(e,t){let r=(0,h.b)({props:e,name:"MuiInputAdornment"}),{children:s,className:u,component:p="div",disablePointerEvents:g=!1,disableTypography:y=!1,position:x,variant:w}=r,R=(0,l.A)(r,C),S=(0,f.A)()||{},A=w;w&&S.variant,S&&!A&&(A=S.variant);let k=(0,a.A)({},r,{hiddenLabel:S.hiddenLabel,size:S.size,disablePointerEvents:g,position:x,variant:A}),j=v(k);return(0,m.jsx)(d.A.Provider,{value:null,children:(0,m.jsx)(b,(0,a.A)({as:p,ownerState:k,className:(0,o.A)(j.root,u),ref:t},R,{children:"string"!=typeof s||y?(0,m.jsxs)(i.Fragment,{children:["start"===x?n||(n=(0,m.jsx)("span",{className:"notranslate",children:"​"})):null,s]}):(0,m.jsx)(c.A,{color:"text.secondary",children:s})}))})})},89748:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(93944),l=r(37876);let a=(0,n.A)((0,l.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82"}),"PlayArrowRounded")},93803:(e,t,r)=>{r.d(t,{Ay:()=>J});var n=r(14232),l=r(37876),a=Object.defineProperty,i=Object.defineProperties,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,d=Math.pow,f=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,p=(e,t)=>{for(var r in t||(t={}))u.call(t,r)&&f(e,r,t[r]);if(s)for(var r of s(t))c.call(t,r)&&f(e,r,t[r]);return e},g=(e,t)=>i(e,o(t)),h=(e,t,r)=>{let[l,a]=(0,n.useState)(),i=(0,n.useRef)(r);return(0,n.useEffect)(()=>{i.current=r},[r]),(0,n.useEffect)(()=>{let r=null==e?void 0:e.current,n=null==t?void 0:t.current;if(!window.IntersectionObserver||!r||!n)return;let l=new IntersectionObserver(e=>{e.forEach(e=>{a(e),i.current(e)})},{threshold:[.05,.95],root:n});return l.observe(r),()=>l.disconnect()},[e,t]),l},m=(e,t)=>`${t?100/(3*e):100/e}%`,C=(e,t,r,n,l,a,i,o,s,u,c)=>{let d=null!=c?c:m(e,n),f="auto";return s&&(f=u?"100%":r?"auto":"0"),{width:d,height:f,padding:`0 ${l?l/2:0}px`,transition:a?`${i||("fade"===a?200:500)}ms ease 0s`:void 0,transform:"zoom"===a?`scale(${t&&r?1:o||.85})`:void 0,opacity:"fade"===a?+!!r:1}},v=(e,t,r)=>"prev-cloned"===r?e-t:"next-cloned"===r?e+t:e,b=({count:e,children:t,index:r,isCurrentSlide:a,typeOfSlide:i,wrapAround:o,cellSpacing:s,slideWidth:u,animation:c,speed:d,zoomScale:f,onVisibleSlideHeightChange:m,adaptiveHeight:b,initializedAdaptiveHeight:y,updateIOEntry:x,id:w,carouselRef:R,carouselId:S,tabbed:A})=>{var k;let j=o?v(r,e,i):r,N=(0,n.useRef)(null),E=h(N,R,e=>{x(w,(null==e?void 0:e.intersectionRatio)>=.95)}),T=!!(null==E?void 0:E.isIntersecting),$=(null!=(k=null==E?void 0:E.intersectionRatio)?k:1)>=.95,L=(0,n.useRef)(!1);(0,n.useEffect)(()=>{var e;let t=N.current;if(t){let r=null==(e=t.getBoundingClientRect())?void 0:e.height,n=L.current;T&&!n?m(j,r):!T&&n&&m(j,null),L.current=T}},[j,T,m]);let M=a&&$?" slide-current":"";return(0,l.jsx)("div",g(p({ref:N},{inert:$?void 0:"true"}),{className:`slide${M}${i?` ${i}`:""}${$?" slide-visible":""}`,style:C(e,a,$,o,s,c,d,f,b,y,u),id:i?void 0:`${S}-slide-${r+1}`,role:A?"tabpanel":"group","aria-roledescription":A?void 0:"slide",children:t}))},y={position:"absolute",width:"1px",height:"1px",overflow:"hidden",padding:0,margin:"-1px",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},x=({message:e,ariaLive:t="polite"})=>(0,l.jsx)("div",{"aria-live":t,"aria-atomic":"true",style:y,tabIndex:-1,children:e}),w=(e=>(e.Center="center",e.Right="right",e.Left="left",e))(w||{}),R=(e=>(e.Next="next",e.Prev="prev",e.Up="up",e.Down="down",e))(R||{}),S=(e=>(e.TopLeft="TopLeft",e.TopCenter="TopCenter",e.TopRight="TopRight",e.CenterLeft="CenterLeft",e.CenterCenter="CenterCenter",e.CenterRight="CenterRight",e.BottomLeft="BottomLeft",e.BottomCenter="BottomCenter",e.BottomRight="BottomRight",e))(S||{}),A=(e=>(e.page="page",e.remainder="remainder",e))(A||{}),k=(e,t,r,n,l,a,i)=>t?r+l:r>=n-1||"left"===i&&r>=n-a?r:"remainder"===e&&"left"===i?Math.min(r+l,n-a):Math.min(r+l,n-1),j=(e,t,r,n,l,a)=>t?r-n:r<=0||"right"===a&&r<=l-1?r:"remainder"===e&&"right"===a?Math.max(r-n,l-1):Math.max(r-n,0),N=(e,t,r,n,l,a,i)=>{if(void 0!==e)return e;let o=P(t,n,i,r,!1,l);return a?o[o.length-1]:o[0]},E=(e,t)=>(e%t+t)%t,T=e=>({border:0,background:"rgba(0,0,0,0.4)",color:"white",padding:10,textTransform:"uppercase",opacity:e?.3:1,cursor:e?"not-allowed":"pointer"}),$=({cellAlign:e,currentSlide:t,slidesToShow:r,wrapAround:n})=>!n&&(0===t||"right"===e&&!!(t<=r-1)),L=({previousSlide:e,defaultControlsConfig:{prevButtonClassName:t,prevButtonStyle:r={},prevButtonText:n,prevButtonOnClick:a},onUserNavigation:i,carouselId:o,previousDisabled:s})=>(0,l.jsx)("button",{className:t,style:p(p({},T(s)),r),disabled:s,onClick:t=>{null==a||a(t),t.defaultPrevented||(i(t),t.preventDefault(),e())},"aria-label":"previous","aria-controls":`${o}-slider-frame`,type:"button",children:n||"Prev"}),M=({cellAlign:e,currentSlide:t,slideCount:r,slidesToShow:n,wrapAround:l})=>!l&&(!!(t>=r-1)||"left"===e&&!!(t>=r-n)),B=({nextSlide:e,defaultControlsConfig:{nextButtonClassName:t,nextButtonStyle:r={},nextButtonText:n,nextButtonOnClick:a},carouselId:i,nextDisabled:o,onUserNavigation:s})=>(0,l.jsx)("button",{className:t,style:p(p({},T(o)),r),disabled:o,onClick:t=>{null==a||a(t),t.defaultPrevented||(s(t),t.preventDefault(),e())},"aria-label":"next","aria-controls":`${i}-slider-frame`,type:"button",children:n||"Next"}),P=(e,t,r,n,l,a)=>{let i=[],o=t<=0?1:t;if(l){for(let t=0;t0&&i.push(e-1),i}if("left"===a){if(n>=e)return[0];let t=e-n;for(let e=0;e=e)return[e-1];let t=n-1;if("remainder"===r){for(let r=t;rt;r-=o)i.push(r);i.push(i[i.length-1]-o),i.reverse()}}return i},D=({pagingDotsIndices:e,defaultControlsConfig:{pagingDotsContainerClassName:t,pagingDotsClassName:r,pagingDotsStyle:a={},pagingDotsOnClick:i},carouselId:o,currentSlide:s,onUserNavigation:u,slideCount:c,goToSlide:d,tabbed:f})=>{let g=(0,n.useCallback)(e=>({cursor:"pointer",opacity:e?1:.5,background:"transparent",border:"none",fill:"black"}),[]),h=E(s,c);return f?(0,l.jsx)("div",{className:t,style:{position:"relative",top:-10,display:"flex",margin:0,padding:0,listStyleType:"none"},role:"tablist","aria-label":"Choose slide to display.",children:e.map((t,n)=>{let s=h===t||he[n-1]);return(0,l.jsx)("button",{className:["paging-item",r,s?"active":null].join(" "),type:"button",style:p(p({},g(s)),a),onClick:e=>{null==i||i(e),e.defaultPrevented||(u(e),d(t))},"aria-label":`slide ${t+1}`,"aria-selected":s,"aria-controls":`${o}-slide-${t+1}`,role:"tab",children:(0,l.jsx)("svg",{className:"paging-dot",width:"6",height:"6","aria-hidden":"true",focusable:"false",viewBox:"0 0 6 6",children:(0,l.jsx)("circle",{cx:"3",cy:"3",r:"3"})})},t)})}):null},I=(e,t,r,l)=>{let[a,i]=(0,n.useState)(1),o=(0,n.useRef)(Date.now()),s=(0,n.useRef)(),u=(0,n.useRef)(!0),c=(0,n.useRef)(null),d=null===c.current||c.current===r||l?a:0;return(0,n.useEffect)(()=>{if(c.current=r,u.current){u.current=!1;return}if(l)return;o.current=Date.now(),i(0);let t=()=>{s.current=requestAnimationFrame(()=>{let r=Math.min(1,(Date.now()-o.current)/e);i(r),r<1?t():s.current=void 0})};return t(),()=>{void 0!==s.current&&(cancelAnimationFrame(s.current),i(1))}},[r,e,l]),{isAnimating:1!==d,value:t(d)}},O=(e,t,r,n,l)=>{let a=l?3*t:t,i=100/a,o=l?-100/3:0;return"right"===n&&r>1&&(o+=i*(r-1)),"center"===n&&r>1&&(o+=(r-1)/2*i),o-100/a*e},z=n.forwardRef(({animation:e,animationDistance:t,cellAlign:r,children:a,currentSlide:i,disableAnimation:o,disableEdgeSwiping:s,draggedOffset:u,easing:c,edgeEasing:d,isDragging:f,scrollMode:p,slideCount:g,slidesToScroll:h,slidesToShow:m,speed:C,wrapAround:v,slideWidth:b,setIsAnimating:y},x)=>{let w,R=v?3*g:g,S=b?`calc(${b} * ${R})`:`${100*R/m}%`,A=[g,m,r,v],k=P(g,h,p,m,v,r),j=`${u}px`;if(f&&s&&!v){let e=[k[0],k[k.length-1]].map(e=>O(e,...A));j=`clamp(${e[1]}%, ${u}px, ${e[0]}%)`}let N=O(i,...A),{value:E,isAnimating:T}=I(C,!s&&!v&&(i===k[0]&&t<0||i===k[k.length-1]&&t>0)?d:c,i+t,f||o||"fade"===e);if(f||0!==N||T)if(f)w=`translateX(${j})`;else{let e=T?(1-E)*t:0;w=`translateX(calc(${N}% - ${e}px))`}return(0,n.useEffect)(()=>{y(T)},[T,y]),(0,l.jsx)("div",{ref:x,className:"slider-list",style:{width:S,textAlign:"left",userSelect:"auto",transform:w,display:"flex"},children:a})});z.displayName="SliderList";var H={position:"absolute",display:"flex",zIndex:1,top:0,left:0,bottom:0,right:0},F=e=>{let t,r;switch(e){case"TopLeft":case"TopCenter":case"TopRight":t="flex-start";break;case"CenterLeft":case"CenterCenter":case"CenterRight":t="center";break;case"BottomLeft":case"BottomCenter":case"BottomRight":t="flex-end"}switch(e){case"TopLeft":case"CenterLeft":case"BottomLeft":r="flex-start";break;case"TopCenter":case"CenterCenter":case"BottomCenter":r="center";break;case"TopRight":case"CenterRight":case"BottomRight":r="flex-end"}return{alignItems:t,justifyContent:r}},U=e=>p(p({},F(e)),H),W=[{funcName:"renderTopLeftControls",key:"TopLeft"},{funcName:"renderTopCenterControls",key:"TopCenter"},{funcName:"renderTopRightControls",key:"TopRight"},{funcName:"renderCenterLeftControls",key:"CenterLeft"},{funcName:"renderCenterCenterControls",key:"CenterCenter"},{funcName:"renderCenterRightControls",key:"CenterRight"},{funcName:"renderBottomLeftControls",key:"BottomLeft"},{funcName:"renderBottomCenterControls",key:"BottomCenter"},{funcName:"renderBottomRightControls",key:"BottomRight"}],X=(e,t,r,a,i,o,s)=>{if(e.withoutControls)return null;let u=g(p({},e),{currentSlide:r,slideCount:t}),c=M(u),d=$(u),f=P(t,s,e.scrollMode,e.slidesToShow,e.wrapAround,e.cellAlign);return W.map(u=>{var h;return e[u.funcName]&&"function"==typeof e[u.funcName]?(0,l.jsx)("div",{style:g(p({},U(u.key)),{pointerEvents:"none"}),children:(0,l.jsx)("div",{className:[`slider-control-${u.key.toLowerCase()}`,e.defaultControlsConfig.containerClassName||""].join(" ").trim(),style:{pointerEvents:"auto"},children:null==(h=e[u.funcName])?void 0:h.call(e,{cellAlign:e.cellAlign,cellSpacing:e.cellSpacing,currentSlide:r,defaultControlsConfig:e.defaultControlsConfig||{},carouselId:e.carouselId,pagingDotsIndices:f,goToSlide:a,nextDisabled:c,nextSlide:i,onUserNavigation:e.onUserNavigation,previousDisabled:d,previousSlide:o,scrollMode:e.scrollMode,slideCount:t,slidesToScroll:s,slidesToShow:e.slidesToShow||1,tabbed:e.tabbed,vertical:e.vertical,wrapAround:e.wrapAround})})},u.funcName):(0,l.jsx)(n.Fragment,{},u.funcName)})},_=e=>d(e-1,3)+1,K={adaptiveHeight:!1,adaptiveHeightAnimation:!0,afterSlide:()=>{},autoplay:!1,autoplayInterval:3e3,autoplayReverse:!1,beforeSlide:()=>{},cellAlign:"left",cellSpacing:0,defaultControlsConfig:{},disableAnimation:!1,disableEdgeSwiping:!1,dragging:!0,dragThreshold:.5,easing:_,edgeEasing:_,enableKeyboardControls:!1,frameAriaLabel:"Slider",keyCodeConfig:{nextSlide:[39,68,38,87],previousSlide:[37,65,40,83],firstSlide:[81],lastSlide:[69],pause:[32]},landmark:!1,onDragStart:()=>{},onDrag:()=>{},onDragEnd:()=>{},onUserNavigation:()=>{},pauseOnHover:!0,renderAnnounceSlideMessage:({currentSlide:e,count:t})=>`Slide ${e+1} of ${t}`,renderBottomCenterControls:e=>(0,l.jsx)(D,p({},e)),renderCenterLeftControls:e=>(0,l.jsx)(L,p({},e)),renderCenterRightControls:e=>(0,l.jsx)(B,p({},e)),scrollMode:"page",slidesToScroll:1,slidesToShow:1,speed:500,style:{},swiping:!0,tabbed:!0,vertical:!1,withoutControls:!1,wrapAround:!1,children:(0,l.jsx)(l.Fragment,{})},q=e=>{let[t,r]=(0,n.useState)(e),l=(0,n.useRef)(e);return[t,(0,n.useCallback)(e=>{l.current=e,r(e)},[]),l]},V=(e,t,r)=>{let[l,a,i]=q([]),[o,s]=(0,n.useState)(!1);return{handleVisibleSlideHeightChange:(0,n.useCallback)((e,n)=>{let l,o=i.current;a(l=null===n?o.filter(t=>t.slideIndex!==e):[...o,{slideIndex:e,height:n}]),l.length>=Math.min(r,Math.ceil(t))&&s(!0)},[r,a,t,i]),frameHeight:(0,n.useMemo)(()=>{if(!e)return"auto";{if(!o)return"auto";let e=Math.max(0,...l.map(e=>e.height));return`${e}px`}},[e,o,l]),initializedAdaptiveHeight:o}},G=e=>{let t=(0,n.useRef)(null);return(0,n.useEffect)(()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)},[e]),t},J=n.forwardRef((e,t)=>{let r=(0,n.useId)(),{adaptiveHeight:a,adaptiveHeightAnimation:i,afterSlide:o,animation:s,autoplay:u,autoplayInterval:c,autoplayReverse:d,beforeSlide:f,carouselId:h=r,cellAlign:m,cellSpacing:C,children:v,className:y,disableAnimation:w,dragging:R,dragThreshold:S,enableKeyboardControls:A,frameAriaLabel:T,keyCodeConfig:$,landmark:L,onDrag:M,onDragEnd:B,onDragStart:D,onUserNavigation:I,pauseOnHover:H,renderAnnounceSlideMessage:F,scrollMode:U,slideIndex:W,slidesToScroll:_,slidesToShow:K,slideWidth:q,speed:J,style:Q,swiping:Y,tabbed:Z,wrapAround:ee,zoomScale:et}=e,er=n.Children.toArray(v).filter(Boolean),en=er.length,el=q||"auto"===_?"left":m,ea="auto"===_?"remainder":U,[ei,eo]=(0,n.useState)(new Map),es=Array.from(ei).filter(([,e])=>e).length,[eu,ec]=(0,n.useState)(es),ed=q?eu:K,ef="fade"===s?ed:"auto"===_?Math.max(eu,1):_,[ep,eg]=(0,n.useState)(()=>N(W,en,ed,ef,el,d,ea)),[eh,em]=(0,n.useState)(!1),[eC,ev]=(0,n.useState)(!1),[eb,ey]=(0,n.useState)(0),[ex,ew]=(0,n.useState)(0),[eR,eS]=(0,n.useState)(!1),eA=(0,n.useCallback)((e,t)=>{!!ei.get(e)!==t&&eo(r=>{let n=new Map(r);return n.set(e,t),n})},[ei]),ek=(0,n.useRef)(!1);(0,n.useEffect)(()=>{eC&&(ek.current=!0),eC||eR||(ek.current||ec(es),ek.current=!1)},[eR,eC,es]);let ej=(0,n.useRef)(null),eN=(0,n.useRef)(0),eE=(0,n.useRef)(null),eT=(0,n.useRef)(null),e$=(0,n.useRef)(),eL=(0,n.useRef)(null),eM=(0,n.useRef)(!0),eB=(0,n.useCallback)(e=>{e&&e.querySelectorAll(".slider-list img").forEach(e=>e.setAttribute("draggable","false")),eE.current=e},[]);(0,n.useEffect)(()=>(eM.current=!0,()=>{eM.current=!1}),[]);let eP=G(t)||eT,eD=(0,n.useCallback)(e=>{if(!eE.current||!eP.current)return;let t=E(e,en),r=e!==ep;r&&f(ep,t);let n=eE.current.getBoundingClientRect().left-eP.current.getBoundingClientRect().left,l=eE.current.offsetWidth,a=O(t,en,ed,el,ee)/100*l;if(ee){let t=l/3;e<0&&(a+=t),e>=en&&(a-=t)}ew(a-n),r&&(eg(t),setTimeout(()=>{eM.current&&o(t)},w?40:J||500))},[o,f,eP,el,ep,w,J,en,ed,ee]),eI=(0,n.useCallback)(()=>{let e=k(ea,ee,ep,en,ef,ed,el);ep!==e&&eD(e)},[el,ep,eD,ef,ea,en,ed,ee]),eO=(0,n.useCallback)(()=>{let e=j(ea,ee,ep,ef,ed,el);ep!==e&&eD(e)},[el,ep,eD,ef,ea,ed,ee]),ez=(0,n.useRef)(W);(0,n.useEffect)(()=>{void 0===W||W===ez.current||d||(eD(W),ez.current=W)},[W,d,eD]),(0,n.useEffect)(()=>{let e=null;return eh&&(e=Date.now()),()=>{null!==e&&null!==eL.current&&(eL.current+=Date.now()-e)}},[eh]),(0,n.useEffect)(()=>(u&&!eh&&(e$.current=setTimeout(()=>{eL.current=Date.now(),d?eO():eI()},null!==eL.current?c-(Date.now()-eL.current):c)),u&&eh&&clearTimeout(e$.current),()=>{clearTimeout(e$.current)}),[eh,u,c,d,eO,eI]);let eH=(0,n.useRef)([]),eF=e=>{if(!eC||!eP.current)return;ev(!1);let t=0;if(eH.current.length>1){let e=eH.current[0],r=eH.current[eH.current.length-1],n=r.time-e.time,l=9*Math.abs((r.pos-e.pos)/n);for(;Math.abs(l)>1;)t+=l,l*=.92}eH.current=[];let r=Math.abs(eb)+Math.abs(t);B(e),ej.current=null,ey(0);let n=eP.current.offsetWidth*Math.min(1,ef/ed),l=n*S;if(r=2*ef?1+Math.floor((r-l)/n):1,i=ep;for(let e=0;e0?k(ea,ee,i,en,ef,ed,el):j(ea,ee,i,ef,ed,el);i!==ep&&I(e),eD(i)},eU=(0,n.useCallback)(e=>{Y&&eE.current&&eP.current&&(ev(!0),eN.current=eE.current.getBoundingClientRect().left-eP.current.getBoundingClientRect().left,D(e))},[eP,D,Y]),eW=(0,n.useCallback)(e=>{if(!eC)return;let t=null===ej.current,r=eb+(null!==ej.current?e-ej.current:0),n=Date.now();for(;eH.current.length>0&&!(n-eH.current[0].time<=100);)eH.current.shift();eH.current.push({pos:r,time:n}),t||ey(r),ej.current=e},[eC,eb]),eX=(0,n.useCallback)(e=>{eC&&eP.current&&(D(e),eW(eP.current.offsetWidth-e.touches[0].pageX))},[eC,eP,eW,D]),e_=(0,n.useCallback)(e=>{R&&eE.current&&eP.current&&(ev(!0),eN.current=eE.current.getBoundingClientRect().left-eP.current.getBoundingClientRect().left,D(e))},[eP,R,D]),eK=(0,n.useCallback)(e=>{if(!eC||!eP.current)return;M(e);let t=e.clientX-eP.current.getBoundingClientRect().left;eW(eP.current.offsetWidth-t)},[eP,eC,eW,M]),eq=e=>{e.preventDefault(),eF(e)},eV=(0,n.useCallback)(()=>{H&&em(!0)},[H]),eG=(0,n.useCallback)(()=>{H&&em(!1)},[H]),{frameHeight:eJ,handleVisibleSlideHeightChange:eQ,initializedAdaptiveHeight:eY}=V(a,ed,en),eZ=e=>er.map((t,r)=>(0,l.jsx)(b,{id:`${e}-${r}`,carouselId:h,count:en,index:r,isCurrentSlide:ep===r,typeOfSlide:e,wrapAround:ee,cellSpacing:C,animation:s,speed:J,zoomScale:et,onVisibleSlideHeightChange:eQ,slideWidth:q,updateIOEntry:eA,adaptiveHeight:a,initializedAdaptiveHeight:eY,carouselRef:eP,tabbed:Z,children:t},`${e}-${r}`));return(0,l.jsxs)("div",{className:"slider-container",style:{position:"relative"},onMouseEnter:eV,onMouseLeave:eG,"aria-label":T,role:L?"region":"group","aria-roledescription":"carousel",id:h,"data-testid":h,children:[(0,l.jsx)(x,{ariaLive:u&&!eh?"off":"polite",message:F({currentSlide:ep,count:en})}),X(g(p({},e),{carouselId:h}),en,ep,eD,eI,eO,ef),(0,l.jsx)("div",{className:["slider-frame",y||""].join(" ").trim(),style:p({overflow:"hidden",width:"100%",position:"relative",outline:"none",touchAction:"pan-y",height:eJ,transition:i?"height 300ms ease-in-out":void 0,willChange:"height",userSelect:"none"},Q),tabIndex:A?0:-1,onKeyDown:A?e=>{let t=null;if(Object.keys($).forEach(r=>{var n;(null==(n=$[r])?void 0:n.includes(e.keyCode))&&(t=r)}),null!==t)switch(e.preventDefault(),e.stopPropagation(),t){case"nextSlide":I(e),eI();break;case"previousSlide":I(e),eO();break;case"firstSlide":case"lastSlide":{I(e);let r=P(en,ef,ea,ed,ee,el);"firstSlide"===t?eD(r[0]):eD(r[r.length-1]);break}case"pause":em(e=>!e)}}:void 0,ref:eP,onMouseUp:eq,onMouseDown:e_,onMouseMove:eK,onMouseLeave:eq,onTouchStart:eU,onTouchEnd:eF,onTouchMove:eX,id:`${h}-slider-frame`,"data-testid":`${h}-slider-frame`,children:(0,l.jsxs)(z,{animationDistance:ex,cellAlign:el,currentSlide:ep,disableEdgeSwiping:e.disableEdgeSwiping,draggedOffset:eN.current-eb,disableAnimation:w,easing:e.easing,edgeEasing:e.edgeEasing,isDragging:eC,ref:eB,scrollMode:ea,animation:s,slideCount:en,slidesToScroll:ef,slidesToShow:ed,speed:J,slideWidth:q,wrapAround:ee,setIsAnimating:eS,children:[ee?eZ("prev-cloned"):null,eZ(),ee?eZ("next-cloned"):null]})})]})});J.defaultProps=K,J.displayName="Carousel"}}]); //# sourceMappingURL=./7815-515ad93571565ce0.js.map