1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8215],{22494:(t,e,n)=>{n.d(e,{I:()=>u});var r=n(79268),i=n(59383),o=n(14346);function u(){r.r.current||(0,i.Uu)();let[t]=(0,o.useState)(r.O.current);return t}},26526:(t,e,n)=>{n.d(e,{A:()=>D});var r=n(14346);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 e=>t(a(e)?e:e.get())}function a(t){return"number"==typeof t}function l(t){return"string"==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 h(t).map(Number)}function m(t){return t[g(t)]}function g(t){return Math.max(0,t.length-1)}function v(t,e=0){return Array.from(Array(t-e+1),(t,n)=>e+n)}function h(t){return Object.keys(t)}function y(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(e){return e<t}function i(t){return t>e}function o(t){return r(t)||i(t)}return{length:n,max:e,min:t,clamp:c(function(n){return o(n)?r(n)?t:e:n}),pastAnyBound:c(o),pastMaxBound:c(i),pastMinBound:c(r),removeOffset:c(function(t){return n?t-n*Math.ceil((t-e)/n):t})}}function E(t){let e=t||0;function n(t){e+=t}function r(t){return e+t}return{get:function(){return e},set:c(function(t){e=t}),add:c(n),subtract:c(function(t){n(-t)}),plus:c(r),minus:c(function(t){return r(-t)})}}function S(t,e){let n,r="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},i=e.style,o=!1;return{clear:function(){i.transform="",e.getAttribute("style")||e.removeAttribute("style")},to:c(function(e){if(o)return;let u=Math.round(100*t.direction(e))/100;u!==n&&(i.transform=r(u),n=u)}),toggleActive:function(t){o=!t}}}let O={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,inViewMargin:"0px",breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startSnap:0,active:!0,draggable:!0,resize:!0,focus:!0,slideChanges:!0};function w(t,e,n){let r,i,o,u,D,k,A=!t,L=function(){let t;function e(t,e){return function t(e,n){return[e,n].reduce((e,n)=>(h(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{init:function(e){e&&(t=e)},mergeOptions:e,optionsAtMedia:function(n){if(!t)return n;let r=n.breakpoints||{},i=h(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 t?e.map(t=>h(t.breakpoints||{})).reduce((t,e)=>t.concat(e),[]).map(t.matchMedia):[]}}}(),T=(k=[],{init:function(t,e){return k=e,e.reduce((e,n)=>(n.init(t,L),Object.assign(Object.assign({},e),{[n.name]:n})),{})},destroy:function(){k=k.filter(t=>t.destroy())}}),M=b(),I=function(){let t,e={};function n(t,n){return e=Object.assign(Object.assign({},e),{[t]:n(e[t]||[])}),r}let r={init:function(e){t=e},clear:function(){e={}},createEvent:function(n,r){return{api:t,emit:()=>(function(n,r){let i={api:t,type:n,detail:r};return(e[n]||[]).every(e=>!1!==e(t,i))})(n,r)}},on:function(t,e){return n(t,t=>t.includes(e)?t:[...t,e]),r},off:function(t,e){return n(t,t=>t.filter(t=>t!==e)),r}};return r}(),{mergeOptions:j,optionsAtMedia:F,optionsMediaQueries:N}=L,{on:P,off:B,createEvent:H}=I,z=!1,C=j(O,w.globalOptions),V=j(C),R=[],$={};function q(t){return U(j(V,t),u,D,!0)}function U(t,e,n,r){let u=i.getRects(e,n,r),s=function(t,e,n,r,i,o,u,s){var h,O;let w,D,k,A,L,T,M,{align:I,axis:j,direction:F,startSnap:N,loop:P,duration:B,dragFree:H,dragThreshold:z,inViewThreshold:C,inViewMargin:V,slidesToScroll:R,skipSnaps:$,containScroll:q,draggable:U,resize:_,slideChanges:G,focus:J}=r,X=2*!s,Q=(D="rtl"===F,A=(k="y"===j)||!D?1:-1,L=k?"top":D?"right":"left",T=k?"bottom":D?"left":"right",{scroll:k?"y":"x",cross:k?"x":"y",startEdge:L,endEdge:T,nativeScroll:k?"scrollTop":"scrollLeft",getSize:function(t){let{height:e,width:n}=t;return k?e:n},direction:c(function(t){return t*A})}),{containerRect:Y,slideRects:K}=u,W=Q.getSize(Y),Z={measure:function(t){return t/100*W}},tt=(h=I,O=W,w={start:function(){return 0},center:function(t){return(O-t)/2},end:function(t){return O-t}},{measure:function(t,e){return l(h)?w[h](t):h(O,t,e)}}),te=!P&&!!q,{slideSizes:tn,slideSizesWithGaps:tr,startGap:ti,endGap:to}=function(t,e,n,r,i,o){let{ownerWindow:u}
1=o,{getSize:c,startEdge:a,endEdge:l}=t,s=n[0]&&i&&u,d=function(){if(!s)return 0;let t=n[0];return f(e[a]-t[a])}(),p=s?parseFloat(u.getComputedStyle(m(r)).getPropertyValue(`margin-${l}`)):0,v=n.map(c),h=n.map((t,e,n)=>{let r=e===g(n);return e?r?v[e]+p:n[e+1][a]-t[a]:v[e]+d}).map(f);return{slideSizes:v,slideSizesWithGaps:h,startGap:d,endGap:p}}(Q,Y,K,n,P||!!q,i),tu=function(t,e,n,r,i,o,u,c,l){let{startEdge:s,endEdge:d,direction:v}=t,h=a(n);return{groupSlides:function(t){return h?p(t).filter(t=>t%n==0).map(e=>t.slice(e,e+n)):t.length?p(t).reduce((n,a,p)=>{let h=m(n)||0,y=a===g(t),b=i[s]-o[h][s],x=i[s]-o[a][d],E=r||0!==h?0:v(u),S=f(x-(!r&&y?v(c):0)-(b+E));return p&&S>e+l&&n.push(a),y&&n.push(t.length),n},[]).map((e,n,r)=>{let i=Math.max(r[n-1]||0);return t.slice(i,e)}):[]}}}(Q,W,R,P,Y,K,ti,to,X),{snaps:tc,snapsAligned:ta}=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,tt,Y,K,tu),tl=-m(tc)+m(tr),{snapsContained:ts,scrollContainLimit:tf}=function(t,e,n,r,i){let o,u,c=x(-e+t,0),a=n.map((t,e)=>{let{min:r,max:i}=c,o=c.clamp(t),u=e===g(n);return e?u||s(r,o)?r:s(i,o)?i:o:i}).map(t=>parseFloat(t.toFixed(3))),l=(o=a[0],u=m(a),x(a.lastIndexOf(o),a.indexOf(u)+1));function s(t,e){return!!i&&1>=f(t-e)}return{snapsContained:function(){if(e<=t+i)return[c.max];if("keepSnaps"===r)return a;let{min:n,max:o}=l;return a.slice(n,o)}(),scrollContainLimit:l}}(W,tl,ta,q,X),td=te?ts:ta,{limit:tp}=(M=td[0],{limit:x(P?M-tl:m(td),M)}),tm=function t(e,n,r){let{clamp: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(td),N,P),tg=tm.clone(),tv=p(n),th=function(t){let{dragHandler:e,scrollBody:n,scrollBounds:r,options:{loop:i}}=t;i||r.constrain(e.pointerDown()),n.seek()},ty=function(t,e){let{scrollBody:n,translate:r,location:i,offsetLocation:o,previousLocation:u,scrollLooper:c,slideLooper:a,dragHandler:l,animation:s,eventHandler:f,scrollBounds:d,options:{loop:p}}=t,m=n.settled(),g=!d.shouldConstrain(),v=l.pointerDown(),h=m&&(p||g),y=!h,b=h&&!v;b&&s.stop();let x=i.get()*e+u.get()*(1-e);o.set(x),p&&(c.loop(n.direction()),a.loop()),r.to(o),b&&f.createEvent("settle",null).emit(),y&&f.createEvent("scroll",{isDragging:y&&v}).emit()},tb=function(t,e){let n,r=b(),i=1e3/60,o=null,u=0,c=0;function a(r){if(!c)return;o||(o=r,t(),t());let l=r-o;for(o=r,u+=l;u>=i;)t(),u-=i;e(u/i),c&&(c=n.requestAnimationFrame(a))}function l(){c&&(n.cancelAnimationFrame(c),o=null,u=0,c=0)}return{init:function(t){let e=t.document;n=t,r.add(e,"visibilitychange",()=>{e.hidden&&(o=null,u=0)})},destroy:function(){l(),r.clear()},start:function(){c||(c=n.requestAnimationFrame(a))},stop:l,update:t,render:e}}(()=>th(tB),t=>ty(tB,t)),tx=td[tm.get()],tE=E(tx),tS=E(tx),tO=E(tx),tw=E(tx),tD=S(Q,e),tk=n.map(t=>S(Q,t)),tA=function(t){let{max:e,length:n}=t;return{get:c(function(t){return n?-((t-e)/n):0})}}(tp),tL=function(t,e,n,r,i){let o=0,u=0,c=i,a=.68,l=t.get(),s=0;function p(t){return c=t,g}function m(t){return a=t,g}let g={direction:function(){return u},duration:function(){return c},velocity:function(){return o},seek:function(){let e=r.minus(t),i=0;return c?(n.set(t),o+=e/c,o*=a,l+=o,t.add(o),i=l-s):(o=0,n.set(r),t.set(r),i=e),u=d(i),s=l,g},settled:function(){return .001>f(r.minus(e))},useBaseFriction:function(){return m(.68)},useBaseDuration:function(){return p(i)},useFriction:m,useDuration:p};return g}(tE,tO,tS,tw,B),tT=function(t,e,n,r,i,o,u){let c,a,{groupSlides:l}=i,{min:s,max:f}=r,d=(c=l(o),1===n.length?[o]:t&&"keepSnaps"!==e?c.slice(s,f).map((t,e,n)=>{let r=e===g(n);return e?r?v(g(o),t[0]):t:v(m(t))}):c),p=(a={},d.forEach((t,e)=>{t.forEach(t=>{a[t]=e})}),a),h=n.map(u.get);return{slidesBySnap:d,snapBySlide:p,progressBySnap:h,length:n.length}}(te,q,td,tf,tu,tv,tA),tM=function(t,e,n,r,i,o,u,c){let a=p(r),l=p(r).reverse(),s=m(d(l,o[0]),e,!1).concat(m(d(a,t-o[0]-1),-e,!0));function f(t,e){return t.reduce((t,e)=>t-r[e],e)}function d(t,e){return t.reduce((t,n)=>f(t,e)>0?[...t,n]:t,[])}function m(r,o,a){let l=i.map((e,r)=>({start:e-n[r]+.5+o,end:e+t-.5+o}));return r.map(t=>{let n=a?0:-e,r=a?e:0,i=l[t][a?"end":"start"];return{index:t,loopPoint:i,slideLocation:E(-1),translate:c[t],target:()=>u.get()>i?n:r}})}return{canLoop:function(){return s.every(({index:e})=>.1>=f(a.filter(t=>t!==e),t))}
1,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}}(W,tl,tn,tr,tc,td,tO,tk),tI=function(t,e,n,r,i){let{pastAnyBound:o,removeOffset:u,clamp:c}=r;function a(t){return t.sort((t,e)=>f(t)-f(e))[0]}function l(e,r){if(!t)return e;let i=[e,e+n,e-n];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.plus(n),{index:s,distance:d}=function(n){let r=t?u(n):c(n),{index:i}=e.reduce((t,e,n)=>{let i=f(l(e-r,0));return i>=t.smallestDisplacement?t:{smallestDisplacement:i,index:n}},{smallestDisplacement:1/0,index: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}}(P,td,tl,tp,tw),tj=function(t,e,n,r,i,o,u){function c(i){let{index:c,distance:a}=i,l=e.get(),s=c!==l;a&&(o.add(a),r.duration()?t.start():(t.update(),t.render(1),t.update())),s&&(n.set(l),e.set(c),u.createEvent("select",{targetSnap:c,sourceSnap:l}).emit())}return{distance:function(t,e){c(i.byDistance(t,e))},index:function(t,n){var r;let o=e.clone().set(t).get();c(i.byIndex(o,(r=n)?a(r)?r:"forward"===r?-1:1:0))}}}(tb,tm,tg,tL,tI,tw,o),tF=b(),tN=function(t,e,n,r,i){let o,u=new Set,c=!1;function a(t){let r=[],i=[];for(let n of t){if(c)return;let t=e.indexOf(n.target);n.isIntersecting?(u.add(t),r.push(t)):(u.delete(t),i.push(t))}n.createEvent("slidesinview",{slidesInView:l(),slidesLeftView:i,slidesEnterView:r}).emit()}function l(){return[...u]}return{init:function(n){o=new n.IntersectionObserver(a,{root:t.parentElement,threshold:r,rootMargin:i}),e.forEach(t=>o.observe(t))},destroy:function(){o&&o.disconnect(),c=!0},get:l}}(e,n,o,C,V),tP=function(t,e,n,r,i,o,u,c,l){let s={passive:!0,capture:!0},f=0;function d(t){"Tab"===t.code&&(f=new Date().getTime())}return{init:function(p){e&&(c.add(p.document,"keydown",d,!1),r.forEach((e,r)=>{c.add(e,"focus",e=>(function(e,r){if(new Date().getTime()-f>10||!l.createEvent("slidefocus",e).emit())return;n[t.nativeScroll]=0;let c=i.snapBySlide[r];a(c)&&(u.useDuration(0),o.index(c,0))})(e,r),s)}))}}}(Q,J,t,n,tT,tj,tL,tF,o),tB={eventHandler:o,containerRect:Y,contentSize:tl,slideRects:K,nodeHandler:i,animation:tb,slideSizes:tn,isSsr:s,axis:Q,dragHandler:function(t,e,n,r,i,o,u,c,a,l,s,p,m,g,v,h){let E,S,{cross:O,direction:w}=e,D=["INPUT","SELECT","TEXTAREA"],k={passive:!1},A=b(),L=b(),T=x(50,225).clamp(m.measure(20)),M={mouse:300,touch:400},I={mouse:500,touch:600},j=g?43:25,F=!1,N=0,P=0,B=!1,H=!1,z=!1,C=!1,V=!1;function R(t){return l.byDistance(t,!g).distance}function $(t){let e;if(!p.createEvent("pointerdown",t).emit())return;let u=y(t,S),c=u&&0!==t.button;if((V=u,C=g&&u&&!t.buttons&&F,F=f(r.get()-o.get())>=2,!c)&&(e=t.target.nodeName||"",!D.includes(e))){let e;H=!0,i.pointerDown(t),a.useFriction(0).useDuration(0),r.set(o),N=i.readPoint(t),P=i.readPoint(t,O),e=V?E:n,L.add(e,"mousemove",q,k).add(e,"mouseup",U),B=!0}}function q(t){if(!p.createEvent("pointermove",t).emit()||!y(t,S)&&t.touches.length>=2)return U(t);let e=i.readPoint(t),n=i.readPoint(t,O),o=f(e-N),c=f(n-P);if(!z&&!V&&(!t.cancelable||!(z=o>c)))return U(t);let l=i.pointerMove(t);o>v&&(C=!0),a.useFriction(.3).useDuration(.75),u.start(),r.add(w(l)),t.cancelable&&t.preventDefault()}function U(t){var e;let n,r=p.createEvent("pointerup",t),o=i.pointerUp(t)*(g?I:M)[V?"mouse":"touch"],u=(e=w(o),n=s.add(-1*d(e)),g||f(e)<T?R(e):h&&l.byDistance(0,!1).index!==s.get()?.5*R(e):l.byIndex(n.get(),0).distance),m=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)}(o,u);z=!1,H=!1,B=!1,V=!1,L.clear(),a.useDuration(j-10*m).useFriction(.68+m/50),c.distance(u,!g),r.emit()}function _(t){C&&(t.stopPropagation(),t.preventDefault(),C=!1)}return{init:function(e){t&&(E=e.document,S=e,i.init(e),A.add(n,"dragstart",t=>t.preventDefault(),k).add(n,"touchmove",t=>B&&q(t),k).add(n,"touchend",t=>B&&U(t)).add(n,"touchstart",$).add(n,"mousedown",$).add(n,"touchcancel",U).add(n,"contextmenu",U).add(n,"click",_,!0))},destroy:function(){A.clear(),L.clear(),B=!1},pointerDown:function(){return H}}}(U,Q,t,tw,function(t){let e,n,r;function i(t){return t.timeStamp}function o(n,r){let i=r||t.scroll,o=`client${"x"===i?"X":"Y"}`;return(y(n,e)?n:n.touches[0])[o]}return{init:function(t){e=t},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),tE,tb,tj,tL,tI,tm,o,Z,H,z,$),eventStore:tF,percentOfView:Z,indexCurrent:tm,indexPrevious:tg,limit:tp,location:tE,offsetLocation:tO,previousLocation:tS,options:r,resizeHandler:function(t,e,n,r,i,o){let u,c,a=[e,...r],l=[],s=!1;function d(t){return i.getSize(o.getRect(t))}function p(t){let i=n.createEvent("resize",t);if(i.emit())for(let n of t){if(s)return;let t=n.target===e,o=r.indexOf(n.target),u=t?c:l[o];
1if(f(d(t?e:r[o])-u)>=.5){i.api.reInit();break}}}return{init:function(n){t&&(c=d(e),l=r.map(d),u=new n.ResizeObserver(p),n.requestAnimationFrame(()=>{a.forEach(t=>u.observe(t))}))},destroy:function(){s=!0,u&&u.disconnect()}}}(_,e,o,n,Q,i),scrollBody:tL,scrollBounds:function(t,e,n,r,i){let{pastAnyBound:o,pastMinBound:u,clamp:c}=t,a=i.measure(10),l=i.measure(50),s=x(.1,.99),d=!1;function p(){return!d&&!!o(n)&&!!o(e)}return{shouldConstrain:p,constrain:function(i){if(!p())return;let o=f(t[u(e)?"min":"max"]-e.get()),d=n.minus(e),m=s.clamp(o/l);n.subtract(d*m),!i&&f(d)<a&&(n.set(c(n)),r.useDuration(25).useBaseFriction())},toggleActive:function(t){d=!t}}}(tp,tO,tw,tL,Z),scrollLooper:function(t,e,n,r){let{pastMinBound:i,pastMaxBound:o}=x(e.min+.1,e.max+.1);return{loop:function(e){if(!(1===e?o(n):-1===e&&i(n)))return;let u=-1*e*t;r.forEach(t=>t.add(u))}}}(tl,tp,tO,[tE,tO,tS,tw]),scrollProgress:tA,scrollSnaps:td,scrollTarget:tI,scrollTo:tj,slideLooper:tM,slideFocus:tP,slidesHandler:function(t,e,n){let r,i=!1;function o(t){let e=n.createEvent("slideschanged",t);if(e.emit())for(let n of t){if(i)return;if("childList"===n.type){e.api.reInit();break}}}return{init:function(n){t&&(r=new n.MutationObserver(o)).observe(e,{childList:!0})},destroy:function(){r&&r.disconnect(),i=!0}}}(G,e,o),slidesInView:tN,slideIndexes:tv,slidesToScroll:tu,slideTranslates:tk,scrollSnapList:tT,translate:tD,target:tw};return tB}(o,e,n,t,i,I,u,A);return t.loop&&!s.slideLooper.canLoop()?q({loop:!1}):s}function _(e,n){if(z)return;let{ownerWindow:c}=i=function(t){let e,n=t?t.ownerDocument:null,r=n?n.defaultView:null;function i(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}}return{ownerDocument:n,ownerWindow:r,getNodes:function(e){if(!t)return{root:{},container:{},slides:[]};let{container:n,slides:r}=e,i=(l(n)?t.querySelector(n):n)||t.children[0],o=Array.from((l(r)?i.querySelectorAll(r):r)||i.children);return{root:t,container:i,slides:o}},getRect:i,getRects:function(n,r,o){if(o&&e)return e;let u=t?n.style:{transform:""},c=u.transform;u.transform="none";let a=i(n),l=r.map(i);return u.transform=c,e={containerRect:a,slideRects:l}}}}(t);L.init(c),V=F(C=j(C,e)),R=n||R;let a=V,s=i.getNodes(V),f=R.find(({name:t})=>"ssr"===t);A&&f&&(f.setup(U,j,C),a=j(a,{direction:"ltr"}),s=f.getNodes()),o=s.root,u=s.container,D=s.slides,r=U(a,u,D),N([C,...R.map(({options:t})=>t)]).forEach(t=>M.add(t,"change",G)),V.active&&(!A&&c&&(r.translate.to(r.location),r.options.loop&&r.slideLooper.loop(),r.animation.init(c),r.resizeHandler.init(c),r.slidesInView.init(c),r.slidesHandler.init(c),r.slideFocus.init(c),r.eventHandler.init(K),u.offsetParent&&D.length&&r.dragHandler.init(c)),$=T.init(K,R))}function G(t,e){let n=I.createEvent("reinit",null),r=Y();J(),_(j({startSnap:r},t),e),n.emit()}function J(){r.dragHandler.destroy(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),T.destroy(),r.eventStore.clear(),M.clear(),r.translate.clear(),r.slideTranslates.forEac
1h(t=>t.clear())}function X(t,e,n){z||A||V.active&&(r.scrollBody.useBaseFriction().useDuration(!0===e?0:V.duration),r.scrollTo.index(t,n))}function Q(t){return r.indexCurrent.add(t).get()}function Y(){return Q(0)}let K={canGoToNext:function(){return Q(1)!==Y()},canGoToPrev:function(){return Q(-1)!==Y()},cloneEngine:q,containerNode:function(){return u},createEvent:H,internalEngine:function(){return r},destroy:function(){if(z||A)return;let t=I.createEvent("destroy",null);z=!0,M.clear(),J(),t.emit(),I.clear()},on:P,off:B,plugins:function(){return $},previousSnap:function(){return r.indexPrevious.get()},reInit:G,rootNode:function(){return o},goToNext:function(t){X(Q(1),t,-1)},goToPrev:function(t){X(Q(-1),t,1)},scrollProgress:function(){return r.scrollProgress.get(r.offsetLocation)},goTo:X,selectedSnap:Y,slideNodes:function(){return D},slidesInView:function(){return r.slidesInView.get()},snapIndex:Q,snapList:function(){return r.scrollSnapList.progressBySnap}};return _(e||{},n||[]),K}function D(t={},e=[]){w.globalOptions=D.globalOptions;let n=(0,r.useRef)(t),i=(0,r.useRef)(e),c=(0,r.useRef)(null),[a,l]=(0,r.useState)(),[s,f]=(0,r.useState)();null===c.current&&(c.current=w(null,n.current,i.current));let d=(0,r.useCallback)(()=>{a&&a.reInit(n.current,i.current)},[a]);return(0,r.useEffect)(()=>{o(n.current,t)||(n.current=t,d())},[t,d]),(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,d())},[e,d]),(0,r.useEffect)(()=>{if(s){w.globalOptions=D.globalOptions;let t=w(s,n.current,i.current);return l(t),()=>t.destroy()}l(void 0)},[s]),[f,a,c.current]}w.globalOptions=void 0,D.globalOptions=void 0}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.