1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,30380,97516,e=>{"use strict";e.s(["Carousel",()=>I,"CarouselContent",()=>P,"CarouselItem",()=>z,"CarouselNavigation",()=>B,"CarouselNext",()=>F,"CarouselPrevious",()=>T,"ExternalCarouselNavigation",()=>R,"useCarousel",()=>M],30380),e.s(["f",()=>D],97516);var t=e.i(62338),n=e.i(64157);function r(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length===i.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let i=e[n],l=t[n];return"function"==typeof i?`${i}`==`${l}`:r(i)&&r(l)?o(i,l):i===l})}function i(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function l(e){return"number"==typeof e}function u(e){return"string"==typeof e}function a(e){return"boolean"==typeof e}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function c(e){return Math.abs(e)}function d(e){return Math.sign(e)}function f(e){return g(e).map(Number)}function p(e){return e[m(e)]}function m(e){return Math.max(0,e.length-1)}function h(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function g(e){return Object.keys(e)}function b(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function x(){let e=[],t={add:function(n,r,o,i={passive:!0}){let l;return"addEventListener"in n?(n.addEventListener(r,o,i),l=()=>n.removeEventListener(r,o,i)):(n.addListener(o),l=()=>n.removeListener(o)),e.push(l),t},clear:function(){e=e.filter(e=>e())}};return t}function v(e=0,t=0){let n=c(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function w(e){let t=e;function n(e){return l(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function y(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,o=null,i=!1;return{clear:function(){!i&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(i)return;let l=Math.round(100*e.direction(t))/100;l!==o&&(r.transform=n(l),o=l)},toggleActive:function(e){i=!e}}}let k={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 j(e,t,n){let r,o,i,S,N,C,L,E,A=e.ownerDocument,D=A.defaultView,O=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(g(n).forEach(r=>{let o=t[r],i=n[r],l=s(o)&&s(i);t[r]=l?e(o,i):i}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},o=g(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,o)},optionsMediaQueries:function(t){return t.map(e=>g(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(D),M=(E=[],{init:function(e,t){return(E=t.filter(({options:e})=>!1!==O.optionsAtMedia(e).active)).forEach(t=>t.init(e,O)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){E=E.filter(e=>e.destroy())}}),I=x(),P=(o={},i={init:function(e){r=e},emit:function(e){return(o[e]||[]).forEach(t=>t(r,e)),i},off:function(e,t){return o[e]=(o[e]||[]).filter(e=>e!==t),i},on:function(e,t){return o[e]=(o[e]||[]).concat([t]),i},clear:function(){o={}}}),{mergeOptions:z,optionsAtMedia:T,optionsMediaQueries:F}=O,{on:B,off:R,emit:H}=P,V=!1,$=z(k,j.globalOptions),U=z($),W=[];function q(t,n){V||(U=T($=z($,t)),W=n||W,function(){let{container:t,slides:n}=U;C=(u(t)?e.querySelector(t):t)||e.children[0];let r=u(n)?C.querySelectorAll(n):n;L=[].slice.call(r||C.children)}(),S=function t(n){let r=function(e,t,n,r,o,i,s){var k,j;let S,N,C,L,E,A,D,O,M,I,P,z,T,F,{align:B,axis:R,direction:H,startIndex:V,loop:$,duration:U,dragFree:W,dragThreshold:q,inViewThreshold:K,slidesToScroll:J,skipSnaps:X,containScroll:Z,watchResize:Q,watchSlides:Y,w
1atchDrag:_,watchFocus:G}=i,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:o}=e;return{top:t,right:n+r,bottom:t+o,left:n,width:r,height:o}}},et=ee.measure(t),en=n.map(ee.measure),er=(N="rtl"===H,L=(C="y"===R)||!N?1:-1,E=C?"top":N?"right":"left",A=C?"bottom":N?"left":"right",{scroll:C?"y":"x",cross:C?"x":"y",startEdge:E,endEdge:A,measureSize:function(e){let{height:t,width:n}=e;return C?t:n},direction:function(e){return e*L}}),eo=er.measureSize(et),ei={measure:function(e){return e/100*eo}},el=(k=B,j=eo,S={start:function(){return 0},center:function(e){return(j-e)/2},end:function(e){return j-e}},{measure:function(e,t){return u(k)?S[k](e):k(j,e,t)}}),eu=!$&&!!Z,{slideSizes:ea,slideSizesWithGaps:es,startGap:ec,endGap:ed}=function(e,t,n,r,o,i){let{measureSize:l,startEdge:u,endEdge:a}=e,s=n[0]&&o,d=function(){if(!s)return 0;let e=n[0];return c(t[u]-e[u])}(),f=s?parseFloat(i.getComputedStyle(p(r)).getPropertyValue(`margin-${a}`)):0,h=n.map(l),g=n.map((e,t,n)=>{let r=t===m(n);return t?r?h[t]+f:n[t+1][u]-e[u]:h[t]+d}).map(c);return{slideSizes:h,slideSizesWithGaps:g,startGap:d,endGap:f}}(er,et,en,n,$||!!Z,o),ef=function(e,t,n,r,o,i,u,a){let{startEdge:s,endEdge:d,direction:h}=e,g=l(n);return{groupSlides:function(e){return g?f(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?f(e).reduce((n,l,f)=>{let g=p(n)||0,b=l===m(e),x=o[s]-i[g][s],v=o[s]-i[l][d],w=r||0!==g?0:h(u),y=c(v-(!r&&b?h(a):0)-(x+w));return f&&y>t+2&&n.push(l),b&&n.push(e.length),n},[]).map((t,n,r)=>{let o=Math.max(r[n-1]||0);return e.slice(o,t)}):[]}}}(er,eo,J,$,et,en,ec,ed),{snaps:ep,snapsAligned:em}=function(e,t,n,r,o){let{startEdge:i,endEdge:l}=e,{groupSlides:u}=o,a=u(r).map(e=>p(e)[l]-e[0][i]).map(c).map(t.measure),s=r.map(e=>n[i]-e[i]).map(e=>-c(e)),d=u(s).map(e=>e[0]).map((e,t)=>e+a[t]);return{snaps:s,snapsAligned:d}}(er,el,et,en,ef),eh=-p(ep)+p(es),{snapsContained:eg,scrollContainLimit:eb}=function(e,t,n,r){let o,i,l=v(-t+e,0),u=n.map((e,t)=>{let{min:r,max:o}=l,i=l.constrain(e),u=t===m(n);return t?u||function(e,t){return 1>=c(e-t)}(r,i)?r:function(e,t){return 1>=c(e-t)}(o,i)?o:i:o}).map(e=>parseFloat(e.toFixed(3))),a=(o=u[0],i=p(u),v(u.lastIndexOf(o),u.indexOf(i)+1));return{snapsContained:function(){if(t<=e+2)return[l.max];if("keepSnaps"===r)return u;let{min:n,max:o}=a;return u.slice(n,o)}(),scrollContainLimit:a}}(eo,eh,em,Z),ex=eu?eg:em,{limit:ev}=(D=ex[0],{limit:v($?D-eh:p(ex),D)}),ew=function e(t,n,r){let{constrain:o}=v(0,t),i=t+1,l=u(n);function u(e){return r?c((i+e)%i):o(e)}function a(){return e(t,l,r)}let s={get:function(){return l},set:function(e){return l=u(e),s},add:function(e){return a().set(l+e)},clone:a};return s}(m(ex),V,$),ey=ew.clone(),ek=f(n),ej=function(e,t,n,r){let o=x(),i=1e3/60,l=null,u=0,a=0;function s(e){if(!a)return;l||(l=e,n(),n());let o=e-l;for(l=e,u+=o;u>=i;)n(),u-=i;r(u/i),a&&(a=t.requestAnimationFrame(s))}function c(){t.cancelAnimationFrame(a),l=null,u=0,a=0}return{init:function(){o.add(e,"visibilitychange",()=>{e.hidden&&(l=null,u=0)})},destroy:function(){c(),o.clear()},start:function(){a||(a=t.requestAnimationFrame(s))},stop:c,update:n,render:r}}(r,o,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eF),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:o,scrollLooper:i,slideLooper:l,dragHandler:u,animation:a,eventHandler:s,scrollBounds:c,options:{loop:d}},f)=>{let p=e.settled(),m=!c.shouldConstrain(),h=d?p:p&&m,g=h&&!u.pointerDown();g&&a.stop();let b=n.get()*f+o.get()*(1-f);r.set(b),d&&(i.loop(e.direction()),l.loop()),t.to(r.get()),g&&s.emit("settle"),h||s.emit("scroll")})(eF,e)),eS=ex[ew.get()],eN=w(eS),eC=w(eS),eL=w(eS),eE=w(eS),eA=function(e,t,n,r,o){let i=0,l=0,u=o,a=.68,s=e.get(),f=0;function p(e){return u=e,h}function m(e){return a=e,h}let h={direction:function(){return l},duration:function(){return u},velocity:function(){return i},seek:function(){let t=r.get()-e.get(),o=0;return u?(n.set(e),i+=t/u,i*=a,s+=i,e.add(i),o=s-f):(i=0,n.set(r),e.set(r),o=t),l=d(o),f=s,h},settled:function(){return .001>c(r.get()-t.get())},useBaseFriction:function(){return m(.68)},useBaseDuration:function(){return p(o)},useFriction:m,useDuration:p};return h}(eN,eL,eC,eE,U),eD=function(e,t,n,r,o){let{reachedAny:i,removeOffset:l,constrain:u}=r;function a(e){return e.concat().sort((e,t)=>
1c(e)-c(t))[0]}function s(t,r){let o=[t,t+n,t-n];if(!e)return t;if(!r)return a(o);let i=o.filter(e=>d(e)===r);return i.length?a(i):p(o)-n}return{byDistance:function(n,r){let a=o.get()+n,{index:d,distance:f}=function(n){let r=e?l(n):u(n),{index:o}=t.map((e,t)=>({diff:s(e-r,0),index:t})).sort((e,t)=>c(e.diff)-c(t.diff))[0];return{index:o,distance:r}}(a),p=!e&&i(a);if(!r||p)return{index:d,distance:n};let m=n+s(t[d]-f,0);return{index:d,distance:m}},byIndex:function(e,n){let r=s(t[e]-o.get(),n);return{index:e,distance:r}},shortcut:s}}($,ex,eh,ev,eE),eO=function(e,t,n,r,o,i,l){function u(o){let u=o.distance,a=o.index!==t.get();i.add(u),u&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),a&&(n.set(t.get()),t.set(o.index),l.emit("select"))}return{distance:function(e,t){u(o.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);u(o.byIndex(r.get(),n))}}}(ej,ew,ey,eA,eD,eE,s),eM=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ev),eI=x(),eP=(M={},I=null,P=null,z=!1,{init:function(){O=new IntersectionObserver(e=>{z||(e.forEach(e=>{M[n.indexOf(e.target)]=e}),I=null,P=null,s.emit("slidesInView"))},{root:t.parentElement,threshold:K}),n.forEach(e=>O.observe(e))},destroy:function(){O&&O.disconnect(),z=!0},get:function(e=!0){if(e&&I)return I;if(!e&&P)return P;let t=g(M).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:o}=M[r];return(e&&o||!e&&!o)&&t.push(r),t},[]);return e&&(I=t),e||(P=t),t}}),{slideRegistry:ez}=function(e,t,n,r,o,i){let l,{groupSlides:u}=o,{min:a,max:s}=r;return{slideRegistry:(l=u(i),1===n.length?[i]:e&&"keepSnaps"!==t?l.slice(a,s).map((e,t,n)=>{let r=t===m(n);return t?r?h(m(i)-p(n)[0]+1,p(n)[0]):e:h(p(n[0])+1)}):l)}}(eu,Z,ex,eb,ef,ek),eT=function(e,t,n,r,o,i,u,s){let c={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(p){s&&(i.add(document,"keydown",f,!1),t.forEach((t,f)=>{i.add(t,"focus",t=>{(a(s)||s(p,t))&&function(t){if(new Date().getTime()-d>10)return;u.emit("slideFocusStart"),e.scrollLeft=0;let i=n.findIndex(e=>e.includes(t));l(i)&&(o.useDuration(0),r.index(i,0),u.emit("slideFocus"))}(f)},c)}))}}}(e,n,ez,eO,eA,eI,s,G),eF={ownerDocument:r,ownerWindow:o,eventHandler:s,containerRect:et,slideRects:en,animation:ej,axis:er,dragHandler:function(e,t,n,r,o,i,l,u,s,f,p,m,h,g,w,y,k,j){let{cross:S,direction:N}=e,C=["INPUT","SELECT","TEXTAREA"],L={passive:!1},E=x(),A=x(),D=v(50,225).constrain(g.measure(20)),O={mouse:300,touch:400},M={mouse:500,touch:600},I=w?43:25,P=!1,z=0,T=0,F=!1,B=!1,R=!1,H=!1;function V(e){if(!b(e,r)&&e.touches.length>=2)return $(e);let t=i.readPoint(e),n=i.readPoint(e,S),l=c(t-z),a=c(n-T);if(!B&&!H&&(!e.cancelable||!(B=l>a)))return $(e);let s=i.pointerMove(e);l>y&&(R=!0),f.useFriction(.3).useDuration(.75),u.start(),o.add(N(s)),e.preventDefault()}function $(e){var t;let n,r,o=p.byDistance(0,!1).index!==m.get(),l=i.pointerUp(e)*(w?M:O)[H?"mouse":"touch"],u=(t=N(l),n=m.add(-1*d(t)),r=p.byDistance(t,!w).distance,w||c(t)<D?r:k&&o?.5*r:p.byIndex(n.get(),0).distance),a=function(e,t){var n,r;if(0===e||0===t||c(e)<=c(t))return 0;let o=(n=c(e),r=c(t),c(n-r));return c(o/e)}(l,u);B=!1,F=!1,A.clear(),f.useDuration(I-10*a).useFriction(.68+a/50),s.distance(u,!w),H=!1,h.emit("pointerUp")}function U(e){R&&(e.stopPropagation(),e.preventDefault(),R=!1)}return{init:function(e){j&&E.add(t,"dragstart",e=>e.preventDefault(),L).add(t,"touchmove",()=>void 0,L).add(t,"touchend",()=>void 0).add(t,"touchstart",u).add(t,"mousedown",u).add(t,"touchcancel",$).add(t,"contextmenu",$).add(t,"click",U,!0);function u(u){(a(j)||j(e,u))&&function(e){let u,a=b(e,r);if((H=a,R=w&&a&&!e.buttons&&P,P=c(o.get()-l.get())>=2,!a||0===e.button)&&(u=e.target.nodeName||"",!C.includes(u))){let r;F=!0,i.pointerDown(e),f.useFriction(0).useDuration(0),o.set(l),r=H?n:t,A.add(r,"touchmove",V,L).add(r,"touchend",$).add(r,"mousemove",V,L).add(r,"mouseup",$),z=i.readPoint(e),T=i.readPoint(e,S),h.emit("pointerDown")}}(u)}},destroy:function(){E.clear(),A.clear()},pointerDown:function(){return F}}}(er,e,r,o,eE,function(e,t){let n,r;function o(e){return e.timeStamp}function i(n,r){let o=r||e.scroll,i=`client${"x"===o?"X":"Y"}`;return(b(n,t)?n:n.touches[0])[i]}return{pointerDown:function(e){return n=e,r=e,i(e)},pointerMove:function(e){let t=i(e)-i(r),l=o(e)-o(n)>170;return r=e,l&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=i(r)-i(n),l=o(e)-o(n),u=o(e)-o(r)>170,a=t/l;return l&&!u&&c(a)>.1?a:0},readPoint:i}}(er,o),eN,ej,eO,eA,eD,ew,s,ei,W,q,X,_),eventStore:eI,percentOfView:ei,index:ew,indexPrevious:ey,limit:ev,location:eN,offsetLocation:eL,previousLocation:eC,options:i,resizeHandler:function(e,t,n,r,o,i,l){let u,s,d=[e].concat(r),f=[],p=!1;function m(e){return o.measureSize(l.measure(e))}
1return{init:function(o){i&&(s=m(e),f=r.map(m),u=new ResizeObserver(n=>{(a(i)||i(o,n))&&function(n){for(let i of n){if(p)return;let n=i.target===e,l=r.indexOf(i.target),u=n?s:f[l];if(c(m(n?e:r[l])-u)>=.5){o.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{d.forEach(e=>u.observe(e))}))},destroy:function(){p=!0,u&&u.disconnect()}}}(t,s,o,n,er,Q,ee),scrollBody:eA,scrollBounds:function(e,t,n,r,o){let i=o.measure(10),l=o.measure(50),u=v(.1,.99),a=!1;function s(){return!a&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:s,constrain:function(o){if(!s())return;let a=e.reachedMin(t.get())?"min":"max",d=c(e[a]-t.get()),f=n.get()-t.get(),p=u.constrain(d/l);n.subtract(f*p),!o&&c(f)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){a=!e}}}(ev,eL,eE,eA,ei),scrollLooper:function(e,t,n,r){let{reachedMin:o,reachedMax:i}=v(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?i(n.get()):-1===t&&o(n.get())))return;let l=-1*t*e;r.forEach(e=>e.add(l))}}}(eh,ev,eL,[eN,eL,eC,eE]),scrollProgress:eM,scrollSnapList:ex.map(eM.get),scrollSnaps:ex,scrollTarget:eD,scrollTo:eO,slideLooper:function(e,t,n,r,o,i,l,u,a){let s=f(o),c=f(o).reverse(),d=h(m(c,l[0]),n,!1).concat(h(m(s,t-l[0]-1),-n,!0));function p(e,t){return e.reduce((e,t)=>e-o[t],t)}function m(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function h(o,l,s){let c=i.map((e,n)=>({start:e-r[n]+.5+l,end:e+t-.5+l}));return o.map(t=>{let r=s?0:-n,o=s?n:0,i=c[t][s?"end":"start"];return{index:t,loopPoint:i,slideLocation:w(-1),translate:y(e,a[t]),target:()=>u.get()>i?r:o}})}return{canLoop:function(){return d.every(({index:e})=>.1>=p(s.filter(t=>t!==e),t))},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,o=t();o!==r.get()&&(n.to(o),r.set(o))})},loopPoints:d}}(er,eo,eh,ea,es,ep,ex,eL,n),slideFocus:eT,slidesHandler:(F=!1,{init:function(e){Y&&(T=new MutationObserver(t=>{!F&&(a(Y)||Y(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),s.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){T&&T.disconnect(),F=!0}}),slidesInView:eP,slideIndexes:ek,slideRegistry:ez,slidesToScroll:ef,target:eE,translate:y(er,t)};return eF}(e,C,L,A,D,n,P);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(U),F([$,...W.map(({options:e})=>e)]).forEach(e=>I.add(e,"change",K)),U.active&&(S.translate.to(S.location.get()),S.animation.init(),S.slidesInView.init(),S.slideFocus.init(Q),S.eventHandler.init(Q),S.resizeHandler.init(Q),S.slidesHandler.init(Q),S.options.loop&&S.slideLooper.loop(),C.offsetParent&&L.length&&S.dragHandler.init(Q),N=M.init(Q,W)))}function K(e,t){let n=Z();J(),q(z({startIndex:n},e),t),P.emit("reInit")}function J(){S.dragHandler.destroy(),S.eventStore.clear(),S.translate.clear(),S.slideLooper.clear(),S.resizeHandler.destroy(),S.slidesHandler.destroy(),S.slidesInView.destroy(),S.animation.destroy(),M.destroy(),I.clear()}function X(e,t,n){U.active&&!V&&(S.scrollBody.useBaseFriction().useDuration(!0===t?0:U.duration),S.scrollTo.index(e,n||0))}function Z(){return S.index.get()}let Q={canScrollNext:function(){return S.index.add(1).get()!==Z()},canScrollPrev:function(){return S.index.add(-1).get()!==Z()},containerNode:function(){return C},internalEngine:function(){return S},destroy:function(){V||(V=!0,I.clear(),J(),P.emit("destroy"),P.clear())},off:R,on:B,emit:H,plugins:function(){return N},previousScrollSnap:function(){return S.indexPrevious.get()},reInit:K,rootNode:function(){return e},scrollNext:function(e){X(S.index.add(1).get(),e,-1)},scrollPrev:function(e){X(S.index.add(-1).get(),e,1)},scrollProgress:function(){return S.scrollProgress.get(S.offsetLocation.get())},scrollSnapList:function(){return S.scrollSnapList},scrollTo:X,selectedScrollSnap:Z,slideNodes:function(){return L},slidesInView:function(){return S.slidesInView.get()},slidesNotInView:function(){return S.slidesInView.get(!1)}};return q(t,n),setTimeout(()=>P.emit("init"),0),Q}function S(e={}
1,t=[]){let r=(0,n.useRef)(e),l=(0,n.useRef)(t),[u,a]=(0,n.useState)(),[s,c]=(0,n.useState)(),d=(0,n.useCallback)(()=>{u&&u.reInit(r.current,l.current)},[u]);return(0,n.useEffect)(()=>{o(r.current,e)||(r.current=e,d())},[e,d]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=i(e),r=i(t);return n.every((e,t)=>o(e,r[t]))}(l.current,t)&&(l.current=t,d())},[t,d]),(0,n.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&s){j.globalOptions=S.globalOptions;let e=j(s,r.current,l.current);return a(e),()=>e.destroy()}a(void 0)},[s,a]),[c,u]}j.globalOptions=void 0,S.globalOptions=void 0;var N=e.i(34084),C=e.i(85092),L=e.i(67881),E=e.i(47163),A=e.i(68272);function D({items:e,className:r}){let{api:o,current:i}=M(),[l,u]=n.default.useState(null),a=n.default.useCallback(e=>{o?.scrollTo(e)},[o]);return n.default.useEffect(()=>{if(!l)return;let t=i-1,n=window.innerWidth>=1024?7:5,r=Math.floor(n/2),o=t;o=t>=r&&t<e.length-r?t-r:t<r?0:Math.max(0,e.length-n),l.scrollTo(o)},[i,l,e.length]),(0,t.jsx)("div",{className:(0,E.c)("w-full pt-4",r),children:(0,t.jsx)(I,{setApi:u,opts:{align:"start",loop:!1},className:"w-full",children:(0,t.jsx)(P,{className:"-ml-4",children:e.map((e,n)=>(0,t.jsx)(z,{className:"pl-4 basis-1/5 lg:basis-1/7",children:(0,t.jsx)("button",{onClick:e=>{e.preventDefault(),a(n)},className:(0,E.c)("relative aspect-square transition-all duration-300 hover:opacity-80 w-full border border-white/20",i===n+1?"border-red-600":""),children:(0,t.jsx)(A.default,{src:e.artwork,width:500,height:500,alt:e.title,className:"w-full h-full object-cover"})})},e.id))})})})}let O=n.createContext(null);function M(){let e=n.useContext(O);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function I({orientation:e="horizontal",opts:r,setApi:o,plugins:i,className:l,children:u,...a}){let[s,c]=S({...r,axis:"horizontal"===e?"x":"y"},i),[d,f]=n.useState(!1),[p,m]=n.useState(!1),[h,g]=n.useState(0),[b,x]=n.useState(0),v=n.useCallback(e=>{e&&(f(e.canScrollPrev()),m(e.canScrollNext()),g(e.selectedScrollSnap()+1),x(e.scrollSnapList().length))},[]),w=n.useCallback(()=>{c?.scrollPrev()},[c]),y=n.useCallback(()=>{c?.scrollNext()},[c]),k=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),w()):"ArrowRight"===e.key&&(e.preventDefault(),y())},[w,y]);return n.useEffect(()=>{c&&o&&o(c)},[c,o]),n.useEffect(()=>{if(c)return v(c),c.on("reInit",v),c.on("select",v),()=>{c?.off("select",v)}},[c,v]),(0,t.jsx)(O.Provider,{value:{carouselRef:s,api:c,opts:r,orientation:e||(r?.axis==="y"?"vertical":"horizontal"),scrollPrev:w,scrollNext:y,canScrollPrev:d,canScrollNext:p,current:h,count:b},children:(0,t.jsx)("div",{onKeyDownCapture:k,className:(0,E.c)("relative",l),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...a,children:u})})}function P({className:e,...r}){let{carouselRef:o,orientation:i}=M(),[l,u]=n.useState(!1);return(0,t.jsx)("div",{ref:o,className:"overflow-hidden","data-slot":"carousel-content",style:{userSelect:l?"auto":"none"},onMouseDown:e=>{2===e.detail&&(u(!0),setTimeout(()=>{u(!1)},200))},onClick:e=>{1===e.detail&&window.getSelection&&window.getSelection()?.removeAllRanges()},children:(0,t.jsx)("div",{className:(0,E.c)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",e),...r})})}function z({className:e,...n}){let{orientation:r}=M();return(0,t.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,E.c)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",e),...n})}function T({className:e,variant:n="outline",size:r="icon",...o}){let{orientation:i,scrollPrev:l,canScrollPrev:u}=M();return(0,t.jsxs)(L.K,{"data-slot":"carousel-previous",variant:n,size:r,className:(0,E.c)("absolute size-8 rounded-full","horizontal"===i?"top-1/2 -left-12 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:l,...o,children:[(0,t.jsx)(N.f,{}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}function F({className:e,variant:n="outline",size:r="icon",...o}){let{orientation:i,scrollNext:l,canScrollNext:u}=M();return(0,t.jsxs)(L.K,{"data-slot":"carousel-next",variant:n,size:r,className:(0,E.c)("absolute size-8 rounded-full","horizontal"===i?"top-1/2 -right-12 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!u,onClick:l,...o,children:[(0,t.jsx)(C.f,{}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})}function B({className:e,...n}){let{scrollPrev:r,scrollNext:o,canScrollPrev:i,canScrollNext:l,current:u,count:a}=M();return(0,t.jsxs)("div",{className:(0,E.c)("flex items-center justify-between mt-4 md:mt-6 px-4 md:px-0",e),...n,children:[(0,t.jsx)("button",{onClick:r,disabled:!i,"aria-label":"Previous slide",className:"w-8 h-8 border border-white/20 text-neutral-400 hover:text-red-600 hover:border-red-600 hover:bg-red-600/25 transition-colors flex items-center justify-center disabled:opacity-30 disabled:cursor-not-allowed backdrop-blur-sm",children:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,t.jsxs)("div",{className:"text-neutral-400 text-lg font-[family-name:var
1(--font-poster-sans)]",children:[u," / ",a]}),(0,t.jsx)("button",{onClick:o,disabled:!l,"aria-label":"Next slide",className:"w-8 h-8 border border-white/20 text-neutral-400 hover:text-red-600 hover:border-red-600 hover:bg-red-600/25 transition-colors flex items-center justify-center disabled:opacity-30 disabled:cursor-not-allowed backdrop-blur-sm",children:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]})}function R({api:e,className:r,...o}){let[i,l]=n.useState(!1),[u,a]=n.useState(!1),[s,c]=n.useState(0),[d,f]=n.useState(0),p=n.useCallback(e=>{e&&(l(e.canScrollPrev()),a(e.canScrollNext()),c(e.selectedScrollSnap()+1),f(e.scrollSnapList().length))},[]),m=n.useCallback(()=>{e?.scrollPrev()},[e]),h=n.useCallback(()=>{e?.scrollNext()},[e]);return(n.useEffect(()=>{if(e)return p(e),e.on("reInit",p),e.on("select",p),()=>{e?.off("select",p)}},[e,p]),e)?(0,t.jsxs)("div",{className:(0,E.c)("flex items-center gap-4",r),...o,children:[(0,t.jsx)("button",{onClick:m,disabled:!i,"aria-label":"Previous slide",className:"w-8 h-8 md:w-10 md:h-10 border border-white/20 text-neutral-400 hover:text-red-600 hover:border-red-600 hover:bg-red-600/25 transition-colors flex items-center justify-center disabled:opacity-30 disabled:cursor-not-allowed backdrop-blur-sm",children:(0,t.jsx)("svg",{className:"w-4 h-4 md:w-5 md:h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,t.jsx)("button",{onClick:h,disabled:!u,"aria-label":"Next slide",className:"w-8 h-8 md:w-10 md:h-10 border border-white/20 text-neutral-400 hover:text-red-600 hover:border-red-600 hover:bg-red-600/25 transition-colors flex items-center justify-center disabled:opacity-30 disabled:cursor-not-allowed backdrop-blur-sm",children:(0,t.jsx)("svg",{className:"w-4 h-4 md:w-5 md:h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]}):null}},10431,85092,e=>{"use strict";var t=e.i(64157);let n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},r=(...e)=>e.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim();var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:l,className:u="",children:a,iconNode:s,...c},d)=>(0,t.createElement)("svg",{ref:d,...o,width:n,height:n,stroke:e,strokeWidth:l?24*Number(i)/Number(n):i,className:r("lucide",u),...!a&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(c)&&{"aria-hidden":"true"},...c},[...s.map(([e,n])=>(0,t.createElement)(e,n)),...Array.isArray(a)?a:[a]])),l=(e,o)=>{let l=(0,t.forwardRef)(({className:l,...u},a)=>(0,t.createElement)(i,{ref:a,iconNode:o,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...u}));return l.displayName=n(e),l};e.s(["f",0,l],10431);let u=l("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["f",0,u],85092)},34084,e=>{"use strict";let t=(0,e.i(10431).f)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["f",0,t],34084)}]);
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.