"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[841],{1433:(Yt,Mt,Lt)=>{Lt.d(Mt,{Z:()=>kt});var K=Lt(6109);function vt(t){return Object.prototype.toString.call(t)==="[object Object]"}function it(t){return vt(t)||Array.isArray(t)}function Pt(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function dt(t,n){const o=Object.keys(t),s=Object.keys(n);if(o.length!==s.length)return!1;const c=JSON.stringify(Object.keys(t.breakpoints||{})),r=JSON.stringify(Object.keys(n.breakpoints||{}));return c!==r?!1:o.every(e=>{const a=t[e],i=n[e];return typeof a=="function"?`${a}`==`${i}`:!it(a)||!it(i)?a===i:dt(a,i)})}function C(t){return t.concat().sort((n,o)=>n.name>o.name?1:-1).map(n=>n.options)}function It(t,n){if(t.length!==n.length)return!1;const o=C(t),s=C(n);return o.every((c,r)=>{const e=s[r];return dt(c,e)})}function Dt(t){return typeof t=="number"}function Tt(t){return typeof t=="string"}function ct(t){return typeof t=="boolean"}function At(t){return Object.prototype.toString.call(t)==="[object Object]"}function E(t){return Math.abs(t)}function T(t){return Math.sign(t)}function U(t,n){return E(t-n)}function Q(t,n){if(t===0||n===0||E(t)<=E(n))return 0;const o=U(E(t),E(n));return E(o/t)}function ut(t){return Math.round(t*100)/100}function pt(t){return gt(t).map(Number)}function z(t){return t[mt(t)]}function mt(t){return Math.max(0,t.length-1)}function Ct(t,n){return n===mt(t)}function jt(t,n=0){return Array.from(Array(t),(o,s)=>n+s)}function gt(t){return Object.keys(t)}function zt(t,n){return[t,n].reduce((o,s)=>(gt(s).forEach(c=>{const r=o[c],e=s[c],a=At(r)&&At(e);o[c]=a?zt(r,e):e}),o),{})}function Ft(t,n){return typeof n.MouseEvent<"u"&&t instanceof n.MouseEvent}function Wt(t,n){const o={start:s,center:c,end:r};function s(){return 0}function c(i){return r(i)/2}function r(i){return n-i}function e(i,u){return Tt(t)?o[t](i):t(n,i,u)}return{measure:e}}function ht(){let t=[];function n(c,r,e,a={passive:!0}){let i;if("addEventListener"in c)c.addEventListener(r,e,a),i=()=>c.removeEventListener(r,e,a);else{const u=c;u.addListener(e),i=()=>u.removeListener(e)}return t.push(i),s}function o(){t=t.filter(c=>c())}const s={add:n,clear:o};return s}function tn(t,n,o,s){const c=ht(),r=1e3/60;let e=null,a=0,i=0;function u(){c.add(t,"visibilitychange",()=>{t.hidden&&l()})}function h(){b(),c.clear()}function d(g){if(!i)return;e||(e=g,o(),o());const f=g-e;for(e=g,a+=f;a>=r;)o(),a-=r;const y=a/r;s(y),i&&(i=n.requestAnimationFrame(d))}function p(){i||(i=n.requestAnimationFrame(d))}function b(){n.cancelAnimationFrame(i),e=null,a=0,i=0}function l(){e=null,a=0}return{init:u,destroy:h,start:p,stop:b,update:o,render:s}}function nn(t,n){const o=n==="rtl",s=t==="y",c=s?"y":"x",r=s?"x":"y",e=!s&&o?-1:1,a=h(),i=d();function u(l){const{height:m,width:g}=l;return s?m:g}function h(){return s?"top":o?"right":"left"}function d(){return s?"bottom":o?"left":"right"}function p(l){return l*e}return{scroll:c,cross:r,startEdge:a,endEdge:i,measureSize:u,direction:p}}function et(t=0,n=0){const o=E(t-n);function s(u){return un}function r(u){return s(u)||c(u)}function e(u){return r(u)?s(u)?t:n:u}function a(u){return o?u-o*Math.ceil((u-n)/o):u}return{length:o,max:n,min:t,constrain:e,reachedAny:r,reachedMax:c,reachedMin:s,removeOffset:a}}function Ht(t,n,o){const{constrain:s}=et(0,t),c=t+1;let r=e(n);function e(p){return o?E((c+p)%c):s(p)}function a(){return r}function i(p){return r=e(p),d}function u(p){return h().set(a()+p)}function h(){return Ht(t,a(),o)}const d={get:a,set:i,add:u,clone:h};return d}function en(t,n,o,s,c,r,e,a,i,u,h,d,p,b,l,m,g,f,y){const{cross:x,direction:I}=t,M=["INPUT","SELECT","TEXTAREA"],D={passive:!1},L=ht(),v=ht(),A=et(50,225).constrain(b.measure(20)),F={mouse:300,touch:400},w={mouse:500,touch:600},V=l?43:25;let H=!1,R=0,G=0,ot=!1,tt=!1,J=!1,X=!1;function St(S){if(!y)return;function O(B){(ct(y)||y(S,B))&&Et(B)}const k=n;L.add(k,"dragstart",B=>B.preventDefault(),D).add(k,"touchmove",()=>{},D).add(k,"touchend",()=>{}).add(k,"touchstart",O).add(k,"mousedown",O).add(k,"touchcancel",_).add(k,"contextmenu",_).add(k,"click",Y,!0)}function $(){L.clear(),v.clear()}function at(){const S=X?o:n;v.add(S,"touchmove",N,D).add(S,"touchend",_).add(S,"mousemove",N,D).add(S,"mouseup",_)}function ft(S){const O=S.nodeName||"";return M.includes(O)}function Z(){return(l?w:F)[X?"mouse":"touch"]}function bt(S,O){const k=d.add(T(S)*-1),B=h.byDistance(S,!l).distance;return l||E(S)=2,!(O&&S.button!==0)&&(ft(S.target)||(ot=!0,r.pointerDown(S),u.useFriction(0).useDuration(0),c.set(e),at(),R=r.readPoint(S),G=r.readPoint(S,x),p.emit("pointerDown")))}function N(S){if(!Ft(S,s)&&S.touches.length>=2)return _(S);const k=r.readPoint(S),B=r.readPoint(S,x),q=U(k,R),W=U(B,G);if(!tt&&!X&&(!S.cancelable||(tt=q>W,!tt)))return _(S);const rt=r.pointerMove(S);q>m&&(J=!0),u.useFriction(.3).useDuration(.75),a.start(),c.add(I(rt)),S.preventDefault()}function _(S){const k=h.byDistance(0,!1).index!==d.get(),B=r.pointerUp(S)*Z(),q=bt(I(B),k),W=Q(B,q),rt=V-10*W,nt=f+W/50;tt=!1,ot=!1,v.clear(),u.useDuration(rt).useFriction(nt),i.distance(q,!l),X=!1,p.emit("pointerUp")}function Y(S){J&&(S.stopPropagation(),S.preventDefault(),J=!1)}function j(){return ot}return{init:St,destroy:$,pointerDown:j}}function on(t,n){let s,c;function r(d){return d.timeStamp}function e(d,p){const l=`client${(p||t.scroll)==="x"?"X":"Y"}`;return(Ft(d,n)?d:d.touches[0])[l]}function a(d){return s=d,c=d,e(d)}function i(d){const p=e(d)-e(c),b=r(d)-r(s)>170;return c=d,b&&(s=d),p}function u(d){if(!s||!c)return 0;const p=e(c)-e(s),b=r(d)-r(s),l=r(d)-r(c)>170,m=p/b;return b&&!l&&E(m)>.1?m:0}return{pointerDown:a,pointerMove:i,pointerUp:u,readPoint:e}}function rn(){function t(o){const{offsetTop:s,offsetLeft:c,offsetWidth:r,offsetHeight:e}=o;return{top:s,right:c+r,bottom:s+e,left:c,width:r,height:e}}return{measure:t}}function sn(t){function n(s){return t*(s/100)}return{measure:n}}function cn(t,n,o,s,c,r,e){const a=[t].concat(s);let i,u,h=[],d=!1;function p(g){return c.measureSize(e.measure(g))}function b(g){if(!r)return;u=p(t),h=s.map(p);function f(y){for(const x of y){if(d)return;const I=x.target===t,M=s.indexOf(x.target),D=I?u:h[M],L=p(I?t:s[M]);if(E(L-D)>=.5){g.reInit(),n.emit("resize");break}}}i=new ResizeObserver(y=>{(ct(r)||r(g,y))&&f(y)}),o.requestAnimationFrame(()=>{a.forEach(y=>i.observe(y))})}function l(){d=!0,i&&i.disconnect()}return{init:b,destroy:l}}function un(t,n,o,s,c,r){let e=0,a=0,i=c,u=r,h=t.get(),d=0;function p(){const D=s.get()-t.get(),L=!i;let v=0;return L?(e=0,o.set(s),t.set(s),v=D):(o.set(t),e+=D/i,e*=u,h+=e,t.add(e),v=h-d),a=T(v),d=h,M}function b(){const D=s.get()-n.get();return E(D)<.001}function l(){return i}function m(){return a}function g(){return e}function f(){return x(c)}function y(){return I(r)}function x(D){return i=D,M}function I(D){return u=D,M}const M={direction:m,duration:l,velocity:g,seek:p,settled:b,useBaseFriction:y,useBaseDuration:f,useFriction:I,useDuration:x};return M}function an(t,n,o,s,c){const r=c.measure(10),e=c.measure(50),a=et(.1,.99);let i=!1;function u(){return!(i||!t.reachedAny(o.get())||!t.reachedAny(n.get()))}function h(b){if(!u())return;const l=t.reachedMin(n.get())?"min":"max",m=E(t[l]-n.get()),g=o.get()-n.get(),f=a.constrain(m/e);o.subtract(g*f),!b&&E(g){const{min:g,max:f}=r,y=r.constrain(l),x=!m,I=Ct(o,m);return x?f:I||u(g,y)?g:u(f,y)?f:y}).map(l=>parseFloat(l.toFixed(3)))}function p(){if(n<=t+c)return[r.max];if(s==="keepSnaps")return e;const{min:l,max:m}=a;return e.slice(l,m)}return{snapsContained:i,scrollContainLimit:a}}function ln(t,n,o){const s=n[0],c=o?s-t:z(n);return{limit:et(c,s)}}function dn(t,n,o,s){const r=n.min+.1,e=n.max+.1,{reachedMin:a,reachedMax:i}=et(r,e);function u(p){return p===1?i(o.get()):p===-1?a(o.get()):!1}function h(p){if(!u(p))return;const b=t*(p*-1);s.forEach(l=>l.add(b))}return{loop:h}}function pn(t){const{max:n,length:o}=t;function s(r){const e=r-n;return o?e/-o:0}return{get:s}}function mn(t,n,o,s,c){const{startEdge:r,endEdge:e}=t,{groupSlides:a}=c,i=d().map(n.measure),u=p(),h=b();function d(){return a(s).map(m=>z(m)[e]-m[0][r]).map(E)}function p(){return s.map(m=>o[r]-m[r]).map(m=>-E(m))}function b(){return a(u).map(m=>m[0]).map((m,g)=>m+i[g])}return{snaps:u,snapsAligned:h}}function gn(t,n,o,s,c,r){const{groupSlides:e}=c,{min:a,max:i}=s,u=h();function h(){const p=e(r),b=!t||n==="keepSnaps";return o.length===1?[r]:b?p:p.slice(a,i).map((l,m,g)=>{const f=!m,y=Ct(g,m);if(f){const x=z(g[0])+1;return jt(x)}if(y){const x=mt(r)-z(g)[0]+1;return jt(x,z(g)[0])}return l})}return{slideRegistry:u}}function hn(t,n,o,s,c){const{reachedAny:r,removeOffset:e,constrain:a}=s;function i(l){return l.concat().sort((m,g)=>E(m)-E(g))[0]}function u(l){const m=t?e(l):a(l),g=n.map((y,x)=>({diff:h(y-m,0),index:x})).sort((y,x)=>E(y.diff)-E(x.diff)),{index:f}=g[0];return{index:f,distance:m}}function h(l,m){const g=[l,l+o,l-o];if(!t)return l;if(!m)return i(g);const f=g.filter(y=>T(y)===m);return f.length?i(f):z(g)-o}function d(l,m){const g=n[l]-c.get(),f=h(g,m);return{index:l,distance:f}}function p(l,m){const g=c.get()+l,{index:f,distance:y}=u(g),x=!t&&r(g);if(!m||x)return{index:f,distance:l};const I=n[f]-y,M=l+h(I,0);return{index:f,distance:M}}return{byDistance:p,byIndex:d,shortcut:h}}function yn(t,n,o,s,c,r,e){function a(d){const p=d.distance,b=d.index!==n.get();r.add(p),p&&(s.duration()?t.start():(t.update(),t.render(1),t.update())),b&&(o.set(n.get()),n.set(d.index),e.emit("select"))}function i(d,p){const b=c.byDistance(d,p);a(b)}function u(d,p){const b=n.clone().set(d),l=c.byIndex(b.get(),p);a(l)}return{distance:i,index:u}}function Sn(t,n,o,s,c,r,e,a){const i={passive:!0,capture:!0};let u=0;function h(b){if(!a)return;function l(m){if(new Date().getTime()-u>10)return;e.emit("slideFocusStart"),t.scrollLeft=0;const y=o.findIndex(x=>x.includes(m));Dt(y)&&(c.useDuration(0),s.index(y,0),e.emit("slideFocus"))}r.add(document,"keydown",d,!1),n.forEach((m,g)=>{r.add(m,"focus",f=>{(ct(a)||a(b,f))&&l(g)},i)})}function d(b){b.code==="Tab"&&(u=new Date().getTime())}return{init:h}}function yt(t){let n=t;function o(){return n}function s(i){n=e(i)}function c(i){n+=e(i)}function r(i){n-=e(i)}function e(i){return Dt(i)?i:i.get()}return{get:o,set:s,add:c,subtract:r}}function Rt(t,n){const o=t.scroll==="x"?e:a,s=n.style;let c=null,r=!1;function e(p){return`translate3d(${p}px,0px,0px)`}function a(p){return`translate3d(0px,${p}px,0px)`}function i(p){if(r)return;const b=ut(t.direction(p));b!==c&&(s.transform=o(b),c=b)}function u(p){r=!p}function h(){r||(s.transform="",n.getAttribute("style")||n.removeAttribute("style"))}return{clear:h,to:i,toggleActive:u}}function bn(t,n,o,s,c,r,e,a,i){const h=pt(c),d=pt(c).reverse(),p=f().concat(y());function b(L,v){return L.reduce((A,F)=>A-c[F],v)}function l(L,v){return L.reduce((A,F)=>b(A,v)>0?A.concat([F]):A,[])}function m(L){return r.map((v,A)=>({start:v-s[A]+.5+L,end:v+n-.5+L}))}function g(L,v,A){const F=m(v);return L.map(w=>{const V=A?0:-o,H=A?o:0,R=A?"end":"start",G=F[w][R];return{index:w,loopPoint:G,slideLocation:yt(-1),translate:Rt(t,i[w]),target:()=>a.get()>G?V:H}})}function f(){const L=e[0],v=l(d,L);return g(v,o,!1)}function y(){const L=n-e[0]-1,v=l(h,L);return g(v,-o,!0)}function x(){return p.every(({index:L})=>{const v=h.filter(A=>A!==L);return b(v,n)<=.1})}function I(){p.forEach(L=>{const{target:v,translate:A,slideLocation:F}=L,w=v();w!==F.get()&&(A.to(w),F.set(w))})}function M(){p.forEach(L=>L.translate.clear())}return{canLoop:x,clear:M,loop:I,loopPoints:p}}function En(t,n,o){let s,c=!1;function r(i){if(!o)return;function u(h){for(const d of h)if(d.type==="childList"){i.reInit(),n.emit("slidesChanged");break}}s=new MutationObserver(h=>{c||(ct(o)||o(i,h))&&u(h)}),s.observe(t,{childList:!0})}function e(){s&&s.disconnect(),c=!0}return{init:r,destroy:e}}function xn(t,n,o,s){const c={};let r=null,e=null,a,i=!1;function u(){a=new IntersectionObserver(l=>{i||(l.forEach(m=>{const g=n.indexOf(m.target);c[g]=m}),r=null,e=null,o.emit("slidesInView"))},{root:t.parentElement,threshold:s}),n.forEach(l=>a.observe(l))}function h(){a&&a.disconnect(),i=!0}function d(l){return gt(c).reduce((m,g)=>{const f=parseInt(g),{isIntersecting:y}=c[f];return(l&&y||!l&&!y)&&m.push(f),m},[])}function p(l=!0){if(l&&r)return r;if(!l&&e)return e;const m=d(l);return l&&(r=m),l||(e=m),m}return{init:u,destroy:h,get:p}}function Ln(t,n,o,s,c,r){const{measureSize:e,startEdge:a,endEdge:i}=t,u=o[0]&&c,h=l(),d=m(),p=o.map(e),b=g();function l(){if(!u)return 0;const y=o[0];return E(n[a]-y[a])}function m(){if(!u)return 0;const y=r.getComputedStyle(z(s));return parseFloat(y.getPropertyValue(`margin-${i}`))}function g(){return o.map((y,x,I)=>{const M=!x,D=Ct(I,x);return M?p[x]+h:D?p[x]+d:I[x+1][a]-y[a]}).map(E)}return{slideSizes:p,slideSizesWithGaps:b,startGap:h,endGap:d}}function vn(t,n,o,s,c,r,e,a,i){const{startEdge:u,endEdge:h,direction:d}=t,p=Dt(o);function b(f,y){return pt(f).filter(x=>x%y===0).map(x=>f.slice(x,x+y))}function l(f){return f.length?pt(f).reduce((y,x,I)=>{const M=z(y)||0,D=M===0,L=x===mt(f),v=c[u]-r[M][u],A=c[u]-r[x][h],F=!s&&D?d(e):0,w=!s&&L?d(a):0,V=E(A-w-(v+F));return I&&V>n+i&&y.push(x),L&&y.push(f.length),y},[]).map((y,x,I)=>{const M=Math.max(I[x-1]||0);return f.slice(M,y)}):[]}function m(f){return p?b(f,o):l(f)}return{groupSlides:m}}function In(t,n,o,s,c,r,e){const{align:a,axis:i,direction:u,startIndex:h,loop:d,duration:p,dragFree:b,dragThreshold:l,inViewThreshold:m,slidesToScroll:g,skipSnaps:f,containScroll:y,watchResize:x,watchSlides:I,watchDrag:M,watchFocus:D}=r,L=2,v=rn(),A=v.measure(n),F=o.map(v.measure),w=nn(i,u),V=w.measureSize(A),H=sn(V),R=Wt(a,V),G=!d&&!!y,ot=d||!!y,{slideSizes:tt,slideSizesWithGaps:J,startGap:X,endGap:St}=Ln(w,A,F,o,ot,c),$=vn(w,V,g,d,A,F,X,St,L),{snaps:at,snapsAligned:ft}=mn(w,R,A,F,$),Z=-z(at)+z(J),{snapsContained:bt,scrollContainLimit:Et}=fn(V,Z,ft,y,L),N=G?bt:ft,{limit:_}=ln(Z,N,d),Y=Ht(mt(N),h,d),j=Y.clone(),P=pt(o),S=({dragHandler:lt,scrollBody:Vt,scrollBounds:Nt,options:{loop:Ot}})=>{Ot||Nt.constrain(lt.pointerDown()),Vt.seek()},O=({scrollBody:lt,translate:Vt,location:Nt,offsetLocation:Ot,previousLocation:Pn,scrollLooper:Cn,slideLooper:Fn,dragHandler:kn,animation:Un,eventHandler:Kt,scrollBounds:_n,options:{loop:Qt}},Jt)=>{const Xt=lt.settled(),Bn=!_n.shouldConstrain(),Zt=Qt?Xt:Xt&&Bn;Zt&&!kn.pointerDown()&&(Un.stop(),Kt.emit("settle")),Zt||Kt.emit("scroll");const Vn=Nt.get()*Jt+Pn.get()*(1-Jt);Ot.set(Vn),Qt&&(Cn.loop(lt.direction()),Fn.loop()),Vt.to(Ot.get())},k=tn(s,c,()=>S(Bt),lt=>O(Bt,lt)),B=.68,q=N[Y.get()],W=yt(q),rt=yt(q),nt=yt(q),st=yt(q),xt=un(W,nt,rt,st,p,B),Ut=hn(d,N,Z,_,st),_t=yn(k,Y,j,xt,Ut,st,e),Gt=pn(_),$t=ht(),On=xn(n,o,e,m),{slideRegistry:qt}=gn(G,y,N,Et,$,P),Mn=Sn(t,o,qt,_t,xt,$t,e,D),Bt={ownerDocument:s,ownerWindow:c,eventHandler:e,containerRect:A,slideRects:F,animation:k,axis:w,dragHandler:en(w,t,s,c,st,on(w,c),W,k,_t,xt,Ut,Y,e,H,b,l,f,B,M),eventStore:$t,percentOfView:H,index:Y,indexPrevious:j,limit:_,location:W,offsetLocation:nt,previousLocation:rt,options:r,resizeHandler:cn(n,e,c,o,w,x,v),scrollBody:xt,scrollBounds:an(_,nt,st,xt,H),scrollLooper:dn(Z,_,nt,[W,nt,rt,st]),scrollProgress:Gt,scrollSnapList:N.map(Gt.get),scrollSnaps:N,scrollTarget:Ut,scrollTo:_t,slideLooper:bn(w,V,Z,tt,J,at,N,nt,o),slideFocus:Mn,slidesHandler:En(n,e,I),slidesInView:On,slideIndexes:P,slideRegistry:qt,slidesToScroll:$,target:st,translate:Rt(w,n)};return Bt}function Dn(){let t={},n;function o(u){n=u}function s(u){return t[u]||[]}function c(u){return s(u).forEach(h=>h(n,u)),i}function r(u,h){return t[u]=s(u).concat([h]),i}function e(u,h){return t[u]=s(u).filter(d=>d!==h),i}function a(){t={}}const i={init:o,emit:c,off:e,on:r,clear:a};return i}const Tn={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,watchFocus:!0};function An(t){function n(r,e){return zt(r,e||{})}function o(r){const e=r.breakpoints||{},a=gt(e).filter(i=>t.matchMedia(i).matches).map(i=>e[i]).reduce((i,u)=>n(i,u),{});return n(r,a)}function s(r){return r.map(e=>gt(e.breakpoints||{})).reduce((e,a)=>e.concat(a),[]).map(t.matchMedia)}return{mergeOptions:n,optionsAtMedia:o,optionsMediaQueries:s}}function wn(t){let n=[];function o(r,e){return n=e.filter(({options:a})=>t.optionsAtMedia(a).active!==!1),n.forEach(a=>a.init(r,t)),e.reduce((a,i)=>Object.assign(a,{[i.name]:i}),{})}function s(){n=n.filter(r=>r.destroy())}return{init:o,destroy:s}}function wt(t,n,o){const s=t.ownerDocument,c=s.defaultView,r=An(c),e=wn(r),a=ht(),i=Dn(),{mergeOptions:u,optionsAtMedia:h,optionsMediaQueries:d}=r,{on:p,off:b,emit:l}=i,m=w;let g=!1,f,y=u(Tn,wt.globalOptions),x=u(y),I=[],M,D,L;function v(){const{container:P,slides:S}=x;D=(Tt(P)?t.querySelector(P):P)||t.children[0];const k=Tt(S)?D.querySelectorAll(S):S;L=[].slice.call(k||D.children)}function A(P){const S=In(t,D,L,s,c,P,i);if(P.loop&&!S.slideLooper.canLoop()){const O=Object.assign({},P,{loop:!1});return A(O)}return S}function F(P,S){g||(y=u(y,P),x=h(y),I=S||I,v(),f=A(x),d([y,...I.map(({options:O})=>O)]).forEach(O=>a.add(O,"change",w)),x.active&&(f.translate.to(f.location.get()),f.animation.init(),f.slidesInView.init(),f.slideFocus.init(j),f.eventHandler.init(j),f.resizeHandler.init(j),f.slidesHandler.init(j),f.options.loop&&f.slideLooper.loop(),D.offsetParent&&L.length&&f.dragHandler.init(j),M=e.init(j,I)))}function w(P,S){const O=$();V(),F(u({startIndex:O},P),S),i.emit("reInit")}function V(){f.dragHandler.destroy(),f.eventStore.clear(),f.translate.clear(),f.slideLooper.clear(),f.resizeHandler.destroy(),f.slidesHandler.destroy(),f.slidesInView.destroy(),f.animation.destroy(),e.destroy(),a.clear()}function H(){g||(g=!0,a.clear(),V(),i.emit("destroy"),i.clear())}function R(P,S,O){!x.active||g||(f.scrollBody.useBaseFriction().useDuration(S===!0?0:x.duration),f.scrollTo.index(P,O||0))}function G(P){const S=f.index.add(1).get();R(S,P,-1)}function ot(P){const S=f.index.add(-1).get();R(S,P,1)}function tt(){return f.index.add(1).get()!==$()}function J(){return f.index.add(-1).get()!==$()}function X(){return f.scrollSnapList}function St(){return f.scrollProgress.get(f.location.get())}function $(){return f.index.get()}function at(){return f.indexPrevious.get()}function ft(){return f.slidesInView.get()}function Z(){return f.slidesInView.get(!1)}function bt(){return M}function Et(){return f}function N(){return t}function _(){return D}function Y(){return L}const j={canScrollNext:tt,canScrollPrev:J,containerNode:_,internalEngine:Et,destroy:H,off:b,on:p,emit:l,plugins:bt,previousScrollSnap:at,reInit:m,rootNode:N,scrollNext:G,scrollPrev:ot,scrollProgress:St,scrollSnapList:X,scrollTo:R,selectedScrollSnap:$,slideNodes:Y,slidesInView:ft,slidesNotInView:Z};return F(n,o),setTimeout(()=>i.emit("init"),0),j}wt.globalOptions=void 0;function kt(t={},n=[]){const o=(0,K.useRef)(t),s=(0,K.useRef)(n),[c,r]=(0,K.useState)(),[e,a]=(0,K.useState)(),i=(0,K.useCallback)(()=>{c&&c.reInit(o.current,s.current)},[c]);return(0,K.useEffect)(()=>{dt(o.current,t)||(o.current=t,i())},[t,i]),(0,K.useEffect)(()=>{It(s.current,n)||(s.current=n,i())},[n,i]),(0,K.useEffect)(()=>{if(Pt()&&e){wt.globalOptions=kt.globalOptions;const u=wt(e,o.current,s.current);return r(u),()=>u.destroy()}else r(void 0)},[e,r]),[a,c]}kt.globalOptions=void 0},6641:(Yt,Mt,Lt)=>{Lt.d(Mt,{Z:()=>At});const vt={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let it;const Pt=new Uint8Array(16);function dt(){if(!it){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");it=crypto.getRandomValues.bind(crypto)}return it(Pt)}const C=[];for(let E=0;E<256;++E)C.push((E+256).toString(16).slice(1));function It(E,T=0){return(C[E[T+0]]+C[E[T+1]]+C[E[T+2]]+C[E[T+3]]+"-"+C[E[T+4]]+C[E[T+5]]+"-"+C[E[T+6]]+C[E[T+7]]+"-"+C[E[T+8]]+C[E[T+9]]+"-"+C[E[T+10]]+C[E[T+11]]+C[E[T+12]]+C[E[T+13]]+C[E[T+14]]+C[E[T+15]]).toLowerCase()}function Dt(E,T=0){const U=It(E,T);if(!validate(U))throw TypeError("Stringified UUID is invalid");return U}const Tt=null;function ct(E,T,U){if(vt.randomUUID&&!T&&!E)return vt.randomUUID();E=E||{};const Q=E.random??E.rng?.()??dt();if(Q.length<16)throw new Error("Random bytes length must be >= 16");if(Q[6]=Q[6]&15|64,Q[8]=Q[8]&63|128,T){if(U=U||0,U<0||U+16>T.length)throw new RangeError(`UUID byte range ${U}:${U+15} is out of buffer bounds`);for(let ut=0;ut<16;++ut)T[U+ut]=Q[ut];return T}return It(Q)}const At=ct}}]);