"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3061],{32461:(t,e,n)=>{n.d(e,{Z:()=>r});/**
 * @license lucide-react v0.367.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(76714).Z)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},38510:(t,e,n)=>{n.d(e,{Z:()=>r});/**
 * @license lucide-react v0.367.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(76714).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},41507:(t,e,n)=>{n.d(e,{Z:()=>r});/**
 * @license lucide-react v0.367.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let r=(0,n(76714).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},55541:(t,e,n)=>{n.d(e,{Z:()=>i});let r={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function i(t={}){let e,n,o;let u=!1,c=!0,a=!1,l=0;function s(){if(o||!c)return;u||n.emit("autoplay:play");let{ownerWindow:t}=n.internalEngine();t.clearInterval(l),l=t.setInterval(g,e.delay),u=!0}function f(){if(o)return;u&&n.emit("autoplay:stop");let{ownerWindow:t}=n.internalEngine();t.clearInterval(l),l=0,u=!1}function d(){if(p())return c=u,f();c&&s()}function p(){let{ownerDocument:t}=n.internalEngine();return"hidden"===t.visibilityState}function m(t){void 0!==t&&(a=t),c=!0,s()}function g(){let{index:t}=n.internalEngine(),r=t.clone().add(1).get(),i=n.scrollSnapList().length-1;e.stopOnLastSnap&&r===i&&f(),n.canScrollNext()?n.scrollNext(a):n.scrollTo(0,a)}return{name:"autoplay",options:t,init:function(u,l){n=u;let{mergeOptions:m,optionsAtMedia:g}=l,h=m(r,i.globalOptions);if(e=g(m(h,t)),n.scrollSnapList().length<=1)return;a=e.jump,o=!1;let{eventStore:y,ownerDocument:v}=n.internalEngine(),b=n.rootNode(),x=e.rootNode&&e.rootNode(b)||b,O=n.containerNode();n.on("pointerDown",f),e.stopOnInteraction||n.on("pointerUp",s),e.stopOnMouseEnter&&(y.add(x,"mouseenter",()=>{c=!1,f()}),e.stopOnInteraction||y.add(x,"mouseleave",()=>{c=!0,s()})),e.stopOnFocusIn&&(y.add(O,"focusin",f),e.stopOnInteraction||y.add(O,"focusout",s)),y.add(v,"visibilitychange",d),e.playOnInit&&!p()&&s()},destroy:function(){n.off("pointerDown",f).off("pointerUp",s),f(),o=!0,u=!1},play:m,stop:function(){u&&f()},reset:function(){u&&m()},isPlaying:function(){return u}}}i.globalOptions=void 0},10058:(t,e,n)=>{n.d(e,{Z:()=>I});var r=n(46212);function i(t){return"[object Object]"===Object.prototype.toString.call(t)||Array.isArray(t)}function o(t,e){let n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&JSON.stringify(Object.keys(t.breakpoints||{}))===JSON.stringify(Object.keys(e.breakpoints||{}))&&n.every(n=>{let r=t[n],u=e[n];return"function"==typeof r?`${r}`==`${u}`:i(r)&&i(u)?o(r,u):r===u})}function u(t){return t.concat().sort((t,e)=>t.name>e.name?1:-1).map(t=>t.options)}function c(t){return"number"==typeof t}function a(t){return"string"==typeof t}function l(t){return"boolean"==typeof t}function s(t){return"[object Object]"===Object.prototype.toString.call(t)}function f(t){return Math.abs(t)}function d(t){return Math.sign(t)}function p(t){return y(t).map(Number)}function m(t){return t[g(t)]}function g(t){return Math.max(0,t.length-1)}function h(t,e=0){return Array.from(Array(t),(t,n)=>e+n)}function y(t){return Object.keys(t)}function v(t,e){return void 0!==e.MouseEvent&&t instanceof e.MouseEvent}function b(){let t=[],e={add:function(n,r,i,o={passive:!0}){let u;return"addEventListener"in n?(n.addEventListener(r,i,o),u=()=>n.removeEventListener(r,i,o)):(n.addListener(i),u=()=>n.removeListener(i)),t.push(u),e},clear:function(){t=t.filter(t=>t())}};return e}function x(t=0,e=0){let n=f(t-e);function r(n){return n<t||n>e}return{length:n,max:e,min:t,constrain:function(n){return r(n)?n<t?t:e:n},reachedAny:r,reachedMax:function(t){return t>e},reachedMin:function(e){return e<t},removeOffset:function(t){return n?t-n*Math.ceil((t-e)/n):t}}}function O(t){let e=t;function n(t){return c(t)?t:t.get()}return{get:function(){return e},set:function(t){e=n(t)},add:function(t){e+=n(t)},subtract:function(t){e-=n(t)}}}function w(t,e){let n="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},r=e.style,i=!1;return{clear:function(){i||(r.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){i||(r.transform=n(t.direction(e)))},toggleActive:function(t){i=!t}}}let E={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function S(t,e,n){let r,i,o,u,I;let k=t.ownerDocument,D=k.defaultView,L=function(t){function e(t,e){return function t(e,n){return[e,n].reduce((e,n)=>(y(n).forEach(r=>{let i=e[r],o=n[r],u=s(i)&&s(o);e[r]=u?t(i,o):o}),e),{})}(t,e||{})}return{mergeOptions:e,optionsAtMedia:function(n){let r=n.breakpoints||{},i=y(r).filter(e=>t.matchMedia(e).matches).map(t=>r[t]).reduce((t,n)=>e(t,n),{});return e(n,i)},optionsMediaQueries:function(e){return e.map(t=>y(t.breakpoints||{})).reduce((t,e)=>t.concat(e),[]).map(t.matchMedia)}}}(D),M=(I=[],{init:function(t,e){return(I=e.filter(({options:t})=>!1!==L.optionsAtMedia(t).active)).forEach(e=>e.init(t,L)),e.reduce((t,e)=>Object.assign(t,{[e.name]:e}),{})},destroy:function(){I=I.filter(t=>t.destroy())}}),A=b(),N=function(){let t,e={},n={init:function(e){t=e},emit:function(r){return(e[r]||[]).forEach(e=>e(t,r)),n},off:function(t,r){return e[t]=(e[t]||[]).filter(t=>t!==r),n},on:function(t,r){return e[t]=(e[t]||[]).concat([r]),n},clear:function(){e={}}};return n}(),{mergeOptions:F,optionsAtMedia:j,optionsMediaQueries:P}=L,{on:T,off:z,emit:H}=N,V=!1,C=F(E,S.globalOptions),R=F(C),Z=[];function q(e,n){!V&&(R=j(C=F(C,e)),Z=n||Z,function(){let{container:e,slides:n}=R;o=(a(e)?t.querySelector(e):e)||t.children[0];let r=a(n)?o.querySelectorAll(n):n;u=[].slice.call(r||o.children)}(),r=function e(n){let r=function(t,e,n,r,i,o,u){let s,E;let{align:S,axis:I,direction:k,startIndex:D,loop:L,duration:M,dragFree:A,dragThreshold:N,inViewThreshold:F,slidesToScroll:j,skipSnaps:P,containScroll:T,watchResize:z,watchSlides:H,watchDrag:V}=o,C={measure:function(t){let{offsetTop:e,offsetLeft:n,offsetWidth:r,offsetHeight:i}=t;return{top:e,right:n+r,bottom:e+i,left:n,width:r,height:i}}},R=C.measure(e),Z=n.map(C.measure),q=function(t,e){let n="rtl"===e,r="y"===t,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(t){let{height:e,width:n}=t;return r?e:n},direction:function(t){return t*i}}}(I,k),B=q.measureSize(R),U={measure:function(t){return t/100*B}},$=function(t,e){let n={start:function(){return 0},center:function(t){return(e-t)/2},end:function(t){return e-t}};return{measure:function(r,i){return a(t)?n[t](r):t(e,r,i)}}}(S,B),_=!L&&!!T,{slideSizes:J,slideSizesWithGaps:X,startGap:Q,endGap:Y}=function(t,e,n,r,i,o){let{measureSize:u,startEdge:c,endEdge:a}=t,l=n[0]&&i,s=function(){if(!l)return 0;let t=n[0];return f(e[c]-t[c])}(),d=l?parseFloat(o.getComputedStyle(m(r)).getPropertyValue(`margin-${a}`)):0,p=n.map(u),h=n.map((t,e,n)=>{let r=e===g(n);return e?r?p[e]+d:n[e+1][c]-t[c]:p[e]+s}).map(f);return{slideSizes:p,slideSizesWithGaps:h,startGap:s,endGap:d}}(q,R,Z,n,L||!!T,i),G=function(t,e,n,r,i,o,u,a,l){let{startEdge:s,endEdge:d,direction:h}=t,y=c(n);return{groupSlides:function(t){return y?p(t).filter(t=>t%n==0).map(e=>t.slice(e,e+n)):t.length?p(t).reduce((n,c,l)=>{let p=m(n)||0,y=c===g(t),v=i[s]-o[p][s],b=i[s]-o[c][d],x=r||0!==p?0:h(u),O=f(b-(!r&&y?h(a):0)-(v+x));return l&&O>e+2&&n.push(c),y&&n.push(t.length),n},[]).map((e,n,r)=>{let i=Math.max(r[n-1]||0);return t.slice(i,e)}):[]}}}(q,B,j,L,R,Z,Q,Y,0),{snaps:K,snapsAligned:W}=function(t,e,n,r,i){let{startEdge:o,endEdge:u}=t,{groupSlides:c}=i,a=c(r).map(t=>m(t)[u]-t[0][o]).map(f).map(e.measure),l=r.map(t=>n[o]-t[o]).map(t=>-f(t)),s=c(l).map(t=>t[0]).map((t,e)=>t+a[e]);return{snaps:l,snapsAligned:s}}(q,$,R,Z,G),tt=-m(K)+m(X),{snapsContained:te,scrollContainLimit:tn}=function(t,e,n,r,i){let o=x(-e+t,0),u=n.map((t,e)=>{let{min:r,max:i}=o,u=o.constrain(t),c=e===g(n);return e?c||1>f(r-u)?r:1>f(i-u)?i:u:i}).map(t=>parseFloat(t.toFixed(3))),c=function(){let t=u[0],e=m(u);return x(u.lastIndexOf(t),u.indexOf(e)+1)}();return{snapsContained:function(){if(e<=t+2)return[o.max];if("keepSnaps"===r)return u;let{min:n,max:i}=c;return u.slice(n,i)}(),scrollContainLimit:c}}(B,tt,W,T,0),tr=_?te:W,{limit:ti}=function(t,e,n){let r=e[0];return{limit:x(n?r-t:m(e),r)}}(tt,tr,L),to=function t(e,n,r){let{constrain:i}=x(0,e),o=e+1,u=c(n);function c(t){return r?f((o+t)%o):i(t)}function a(){return t(e,u,r)}let l={get:function(){return u},set:function(t){return u=c(t),l},add:function(t){return a().set(u+t)},clone:a};return l}(g(tr),D,L),tu=to.clone(),tc=p(n),ta=({dragHandler:t,scrollBody:e,scrollBounds:n,options:{loop:r}},i)=>{r||n.constrain(t.pointerDown()),e.seek(i)},tl=({scrollBody:t,translate:e,location:n,offsetLocation:r,scrollLooper:i,slideLooper:o,dragHandler:u,animation:c,eventHandler:a,scrollBounds:l,options:{loop:s}},f)=>{let d=t.settled(),p=!l.shouldConstrain(),m=s?d:d&&p;m&&!u.pointerDown()&&(c.stop(),a.emit("settle")),m||a.emit("scroll");let g=n.get()*f+tp.get()*(1-f);r.set(g),s&&(i.loop(t.direction()),o.loop()),e.to(r.get())},ts=function(t,e,n,r){let i=b(),o=1e3/60,u=null,c=0,a=0;function l(t){if(!a)return;u||(u=t);let i=t-u;for(u=t,c+=i;c>=o;)n(o),c-=o;r(c/o),a&&e.requestAnimationFrame(l)}function s(){e.cancelAnimationFrame(a),u=null,c=0,a=0}return{init:function(){i.add(t,"visibilitychange",()=>{t.hidden&&(u=null,c=0)})},destroy:function(){s(),i.clear()},start:function(){a||(a=e.requestAnimationFrame(l))},stop:s,update:()=>n(o),render:r}}(r,i,t=>ta(tS,t),t=>tl(tS,t)),tf=tr[to.get()],td=O(tf),tp=O(tf),tm=O(tf),tg=O(tf),th=function(t,e,n,r,i,o){let u=0,c=0,a=i,l=.68,s=t.get(),p=0;function m(t){return a=t,h}function g(t){return l=t,h}let h={direction:function(){return c},duration:function(){return a},velocity:function(){return u},seek:function(e){let i=e/1e3,o=a*i,f=r.get()-t.get(),m=0;return a?(n.set(t),u+=f/o,u*=l,s+=u,t.add(u*i),m=s-p):(u=0,n.set(r),t.set(r),m=f),c=d(m),p=s,h},settled:function(){return .001>f(r.get()-e.get())},useBaseFriction:function(){return g(.68)},useBaseDuration:function(){return m(i)},useFriction:g,useDuration:m};return h}(td,tm,tp,tg,M,0),ty=function(t,e,n,r,i){let{reachedAny:o,removeOffset:u,constrain:c}=r;function a(t){return t.concat().sort((t,e)=>f(t)-f(e))[0]}function l(e,r){let i=[e,e+n,e-n];if(!t)return e;if(!r)return a(i);let o=i.filter(t=>d(t)===r);return o.length?a(o):m(i)-n}return{byDistance:function(n,r){let a=i.get()+n,{index:s,distance:d}=function(n){let r=t?u(n):c(n),{index:i}=e.map((t,e)=>({diff:l(t-r,0),index:e})).sort((t,e)=>f(t.diff)-f(e.diff))[0];return{index:i,distance:r}}(a),p=!t&&o(a);if(!r||p)return{index:s,distance:n};let m=n+l(e[s]-d,0);return{index:s,distance:m}},byIndex:function(t,n){let r=l(e[t]-i.get(),n);return{index:t,distance:r}},shortcut:l}}(L,tr,tt,ti,tg),tv=function(t,e,n,r,i,o,u){function c(i){let c=i.distance,a=i.index!==e.get();o.add(c),c&&(r.duration()?t.start():(t.update(),t.render(1),t.update())),a&&(n.set(e.get()),e.set(i.index),u.emit("select"))}return{distance:function(t,e){c(i.byDistance(t,e))},index:function(t,n){let r=e.clone().set(t);c(i.byIndex(r.get(),n))}}}(ts,to,tu,th,ty,tg,u),tb=function(t){let{max:e,length:n}=t;return{get:function(t){return n?-((t-e)/n):0}}}(ti),tx=b(),tO=function(t,e,n,r){let i;let o={},u=null,c=null,a=!1;return{init:function(){i=new IntersectionObserver(t=>{a||(t.forEach(t=>{o[e.indexOf(t.target)]=t}),u=null,c=null,n.emit("slidesInView"))},{root:t.parentElement,threshold:r}),e.forEach(t=>i.observe(t))},destroy:function(){i&&i.disconnect(),a=!0},get:function(t=!0){if(t&&u)return u;if(!t&&c)return c;let e=y(o).reduce((e,n)=>{let r=parseInt(n),{isIntersecting:i}=o[r];return(t&&i||!t&&!i)&&e.push(r),e},[]);return t&&(u=e),t||(c=e),e}}}(e,n,u,F),{slideRegistry:tw}=function(t,e,n,r,i,o){let{groupSlides:u}=i,{min:c,max:a}=r;return{slideRegistry:function(){let r=u(o);return 1===n.length?[o]:t&&"keepSnaps"!==e?r.slice(c,a).map((t,e,n)=>{let r=e===g(n);return e?r?h(g(o)-m(n)[0]+1,m(n)[0]):t:h(m(n[0])+1)}):r}()}}(_,T,tr,tn,G,tc),tE=function(t,e,n,r,i,o,u){let a=0;function l(t){"Tab"===t.code&&(a=new Date().getTime())}function s(l){o.add(l,"focus",()=>{if(new Date().getTime()-a>10)return;t.scrollLeft=0;let o=e.indexOf(l),s=n.findIndex(t=>t.includes(o));c(s)&&(i.useDuration(0),r.index(s,0),u.emit("slideFocus"))},{passive:!0,capture:!0})}return{init:function(){o.add(document,"keydown",l,!1),e.forEach(s)}}}(t,n,tw,tv,th,tx,u),tS={ownerDocument:r,ownerWindow:i,eventHandler:u,containerRect:R,slideRects:Z,animation:ts,axis:q,dragHandler:function(t,e,n,r,i,o,u,c,a,s,p,m,g,h,y,O,w,E,S){let{cross:I,direction:k}=t,D=["INPUT","SELECT","TEXTAREA"],L={passive:!1},M=b(),A=b(),N=x(50,225).constrain(h.measure(20)),F={mouse:300,touch:400},j={mouse:500,touch:600},P=y?43:25,T=!1,z=0,H=0,V=!1,C=!1,R=!1,Z=!1;function q(t){if(!v(t,r)&&t.touches.length>=2)return B(t);let e=o.readPoint(t),n=o.readPoint(t,I),u=f(e-z),a=f(n-H);if(!C&&!Z&&(!t.cancelable||!(C=u>a)))return B(t);let l=o.pointerMove(t);u>O&&(R=!0),s.useFriction(.3).useDuration(.75),c.start(),i.add(k(l)),t.preventDefault()}function B(t){let e=p.byDistance(0,!1).index!==m.get(),n=o.pointerUp(t)*(y?j:F)[Z?"mouse":"touch"],r=function(t,e){let n=m.add(-1*d(t)),r=p.byDistance(t,!y).distance;return y||f(t)<N?r:w&&e?.5*r:p.byIndex(n.get(),0).distance}(k(n),e),i=function(t,e){var n,r;if(0===t||0===e||f(t)<=f(e))return 0;let i=(n=f(t),r=f(e),f(n-r));return f(i/t)}(n,r);C=!1,V=!1,A.clear(),s.useDuration(P-10*i).useFriction(.68+i/50),a.distance(r,!y),Z=!1,g.emit("pointerUp")}function U(t){R&&(t.stopPropagation(),t.preventDefault(),R=!1)}return{init:function(t){S&&M.add(e,"dragstart",t=>t.preventDefault(),L).add(e,"touchmove",()=>void 0,L).add(e,"touchend",()=>void 0).add(e,"touchstart",c).add(e,"mousedown",c).add(e,"touchcancel",B).add(e,"contextmenu",B).add(e,"click",U,!0);function c(c){(l(S)||S(t,c))&&function(t){let c=v(t,r);Z=c,R=y&&c&&!t.buttons&&T,T=f(i.get()-u.get())>=2,c&&0!==t.button||function(t){let e=t.nodeName||"";return D.includes(e)}(t.target)||(V=!0,o.pointerDown(t),s.useFriction(0).useDuration(0),i.set(u),function(){let t=Z?n:e;A.add(t,"touchmove",q,L).add(t,"touchend",B).add(t,"mousemove",q,L).add(t,"mouseup",B)}(),z=o.readPoint(t),H=o.readPoint(t,I),g.emit("pointerDown"))}(c)}},destroy:function(){M.clear(),A.clear()},pointerDown:function(){return V}}}(q,t,r,i,tg,function(t,e){let n,r;function i(t){return t.timeStamp}function o(n,r){let i=r||t.scroll,o=`client${"x"===i?"X":"Y"}`;return(v(n,e)?n:n.touches[0])[o]}return{pointerDown:function(t){return n=t,r=t,o(t)},pointerMove:function(t){let e=o(t)-o(r),u=i(t)-i(n)>170;return r=t,u&&(n=t),e},pointerUp:function(t){if(!n||!r)return 0;let e=o(r)-o(n),u=i(t)-i(n),c=i(t)-i(r)>170,a=e/u;return u&&!c&&f(a)>.1?a:0},readPoint:o}}(q,i),td,ts,tv,th,ty,to,u,U,A,N,P,0,V),eventStore:tx,percentOfView:U,index:to,indexPrevious:tu,limit:ti,location:td,offsetLocation:tm,previousLocation:tp,options:o,resizeHandler:function(t,e,n,r,i,o,u){let c,a;let s=[],d=!1;function p(t){return i.measureSize(u.measure(t))}return{init:function(i){o&&(a=p(t),s=r.map(p),c=new ResizeObserver(u=>{!d&&(l(o)||o(i,u))&&function(o){for(let u of o){let o=u.target===t,c=r.indexOf(u.target),l=o?a:s[c];if(f(p(o?t:r[c])-l)>=.5){n.requestAnimationFrame(()=>{i.reInit(),e.emit("resize")});break}}}(u)}),[t].concat(r).forEach(t=>c.observe(t)))},destroy:function(){c&&c.disconnect(),d=!0}}}(e,u,i,n,q,z,C),scrollBody:th,scrollBounds:function(t,e,n,r,i){let o=i.measure(10),u=i.measure(50),c=x(.1,.99),a=!1;function l(){return!!(!a&&t.reachedAny(n.get())&&t.reachedAny(e.get()))}return{shouldConstrain:l,constrain:function(i){if(!l())return;let a=t.reachedMin(e.get())?"min":"max",s=f(t[a]-e.get()),d=n.get()-e.get(),p=c.constrain(s/u);n.subtract(d*p),!i&&f(d)<o&&(n.set(t.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(t){a=!t}}}(ti,tm,tg,th,U),scrollLooper:function(t,e,n,r){let{reachedMin:i,reachedMax:o}=x(e.min+.1,e.max+.1);return{loop:function(e){if(!(1===e?o(n.get()):-1===e&&i(n.get())))return;let u=-1*e*t;r.forEach(t=>t.add(u))}}}(tt,ti,tm,[td,tm,tp,tg]),scrollProgress:tb,scrollSnapList:tr.map(tb.get),scrollSnaps:tr,scrollTarget:ty,scrollTo:tv,slideLooper:function(t,e,n,r,i,o,u,c,a){let l=p(i),s=m(d(p(i).reverse(),u[0]),n,!1).concat(m(d(l,e-u[0]-1),-n,!0));function f(t,e){return t.reduce((t,e)=>t-i[e],e)}function d(t,e){return t.reduce((t,n)=>f(t,e)>0?t.concat([n]):t,[])}function m(i,u,l){let s=o.map((t,n)=>({start:t-r[n]+.5+u,end:t+e-.5+u}));return i.map(e=>{let r=l?0:-n,i=l?n:0,o=s[e][l?"end":"start"];return{index:e,loopPoint:o,slideLocation:O(-1),translate:w(t,a[e]),target:()=>c.get()>o?r:i}})}return{canLoop:function(){return s.every(({index:t})=>.1>=f(l.filter(e=>e!==t),e))},clear:function(){s.forEach(t=>t.translate.clear())},loop:function(){s.forEach(t=>{let{target:e,translate:n,slideLocation:r}=t,i=e();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:s}}(q,B,tt,J,X,K,tr,tm,n),slideFocus:tE,slidesHandler:(E=!1,{init:function(t){H&&(s=new MutationObserver(e=>{!E&&(l(H)||H(t,e))&&function(e){for(let n of e)if("childList"===n.type){t.reInit(),u.emit("slidesChanged");break}}(e)})).observe(e,{childList:!0})},destroy:function(){s&&s.disconnect(),E=!0}}),slidesInView:tO,slideIndexes:tc,slideRegistry:tw,slidesToScroll:G,target:tg,translate:w(q,e)};return tS}(t,o,u,k,D,n,N);return n.loop&&!r.slideLooper.canLoop()?e(Object.assign({},n,{loop:!1})):r}(R),P([C,...Z.map(({options:t})=>t)]).forEach(t=>A.add(t,"change",B)),R.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init(),r.eventHandler.init(J),r.resizeHandler.init(J),r.slidesHandler.init(J),r.options.loop&&r.slideLooper.loop(),o.offsetParent&&u.length&&r.dragHandler.init(J),i=M.init(J,Z)))}function B(t,e){let n=_();U(),q(F({startIndex:n},t),e),N.emit("reInit")}function U(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),M.destroy(),A.clear()}function $(t,e,n){R.active&&!V&&(r.scrollBody.useBaseFriction().useDuration(!0===e?0:R.duration),r.scrollTo.index(t,n||0))}function _(){return r.index.get()}let J={canScrollNext:function(){return r.index.add(1).get()!==_()},canScrollPrev:function(){return r.index.add(-1).get()!==_()},containerNode:function(){return o},internalEngine:function(){return r},destroy:function(){V||(V=!0,A.clear(),U(),N.emit("destroy"),N.clear())},off:z,on:T,emit:H,plugins:function(){return i},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:B,rootNode:function(){return t},scrollNext:function(t){$(r.index.add(1).get(),t,-1)},scrollPrev:function(t){$(r.index.add(-1).get(),t,1)},scrollProgress:function(){return r.scrollProgress.get(r.location.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:$,selectedScrollSnap:_,slideNodes:function(){return u},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return q(e,n),setTimeout(()=>N.emit("init"),0),J}function I(t={},e=[]){let n=(0,r.useRef)(t),i=(0,r.useRef)(e),[c,a]=(0,r.useState)(),[l,s]=(0,r.useState)(),f=(0,r.useCallback)(()=>{c&&c.reInit(n.current,i.current)},[c]);return(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&l){S.globalOptions=I.globalOptions;let t=S(l,n.current,i.current);return a(t),()=>t.destroy()}a(void 0)},[l,a]),(0,r.useEffect)(()=>{o(n.current,t)||(n.current=t,f())},[t,f]),(0,r.useEffect)(()=>{!function(t,e){if(t.length!==e.length)return!1;let n=u(t),r=u(e);return n.every((t,e)=>o(t,r[e]))}(i.current,e)&&(i.current=e,f())},[e,f]),[s,c]}S.globalOptions=void 0,I.globalOptions=void 0}}]);