PageSourceSearch

https://waatu.com/_next/static/chunks/ffd27f1c33583d3f.js

js waatu.com collected 2026-10-09 22:44:58 UTC 23,378 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,87836,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSR",{enumerable:!0,get:function(){return o}});let r=e.r(84082);function o({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new r.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},87982,(e,t,n)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return r}})},33925,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return a}});let r=e.r(98134),o=e.r(29080),i=e.r(89791),u=e.r(87982),c=e.r(88774);function a({moduleIds:e}){if("u">typeof window)return null;let t=i.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;n.push(...e)}}if(0===n.length)return null;let a=(0,c.getDeploymentIdQueryOrEmptyString)();return(0,r.jsx)(r.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,u.encodeURIPath)(e)}${a}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,o.preload)(n,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},19737,e=>{"use strict";var t=e.i(98134),n=e.i(75201);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],u=t[n];return"function"==typeof i?`${i}`==`${u}`:r(i)&&r(u)?o(i,u):i===u})}function i(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function u(e){return"number"==typeof e}function c(e){return"string"==typeof e}function a(e){return"boolean"==typeof e}function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function s(e){return Math.abs(e)}function f(e){return Math.sign(e)}function d(e){return h(e).map(Number)}function p(e){return e[m(e)]}function m(e){return Math.max(0,e.length-1)}function g(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function h(e){return Object.keys(e)}function y(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function b(){let e=[],t={add:function(n,r,o,i={passive:!0}){let u;return"addEventListener"in n?(n.addEventListener(r,o,i),u=()=>n.removeEventListener(r,o,i)):(n.addListener(o),u=()=>n.removeListener(o)),e.push(u),t},clear:function(){e=e.filter(e=>e())}};return t}function v(e=0,t=0){let n=s(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 x(e){let t=e;function n(e){return u(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 w(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 u=Math.round(100*e.direction(t))/100;u!==o&&(r.transform=n(u),o=u)},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 S(e,t,n){let r,o,i,O,E,j,C,P,A=e.ownerDocument,D=A.defaultView,N=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>
1(h(n).forEach(r=>{let o=t[r],i=n[r],u=l(o)&&l(i);t[r]=u?e(o,i):i}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},o=h(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=>h(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(D),L=(P=[],{init:function(e,t){return(P=t.filter(({options:e})=>!1!==N.optionsAtMedia(e).active)).forEach(t=>t.init(e,N)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){P=P.filter(e=>e.destroy())}}),I=b(),M=(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}=N,{on:R,off:B,emit:$}=M,_=!1,H=z(k,S.globalOptions),U=z(H),V=[];function q(t,n){_||(U=T(H=z(H,t)),V=n||V,function(){let{container:t,slides:n}=U;j=(c(t)?e.querySelector(t):t)||e.children[0];let r=c(n)?j.querySelectorAll(n):n;C=[].slice.call(r||j.children)}(),O=function t(n){let r=function(e,t,n,r,o,i,l){var k,S;let O,E,j,C,P,A,D,N,L,I,M,z,T,F,{align:R,axis:B,direction:$,startIndex:_,loop:H,duration:U,dragFree:V,dragThreshold:q,inViewThreshold:W,slidesToScroll:K,skipSnaps:X,containScroll:J,watchResize:Q,watchSlides:Z,watchDrag:Y,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=(E="rtl"===$,C=(j="y"===B)||!E?1:-1,P=j?"top":E?"right":"left",A=j?"bottom":E?"left":"right",{scroll:j?"y":"x",cross:j?"x":"y",startEdge:P,endEdge:A,measureSize:function(e){let{height:t,width:n}=e;return j?t:n},direction:function(e){return e*C}}),eo=er.measureSize(et),ei={measure:function(e){return e/100*eo}},eu=(k=R,S=eo,O={start:function(){return 0},center:function(e){return(S-e)/2},end:function(e){return S-e}},{measure:function(e,t){return c(k)?O[k](e):k(S,e,t)}}),ec=!H&&!!J,{slideSizes:ea,slideSizesWithGaps:el,startGap:es,endGap:ef}=function(e,t,n,r,o,i){let{measureSize:u,startEdge:c,endEdge:a}=e,l=n[0]&&o,f=function(){if(!l)return 0;let e=n[0];return s(t[c]-e[c])}(),d=l?parseFloat(i.getComputedStyle(p(r)).getPropertyValue(`margin-${a}`)):0,g=n.map(u),h=n.map((e,t,n)=>{let r=t===m(n);return t?r?g[t]+d:n[t+1][c]-e[c]:g[t]+f}).map(s);return{slideSizes:g,slideSizesWithGaps:h,startGap:f,endGap:d}}(er,et,en,n,H||!!J,o),ed=function(e,t,n,r,o,i,c,a,l){let{startEdge:f,endEdge:g,direction:h}=e,y=u(n);return{groupSlides:function(e){return y?d(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?d(e).reduce((n,u,l)=>{let d=p(n)||0,y=u===m(e),b=o[f]-i[d][f],v=o[f]-i[u][g],x=r||0!==d?0:h(c),w=s(v-(!r&&y?h(a):0)-(b+x));return l&&w>t+2&&n.push(u),y&&n.push(e.length),n},[]).map((t,n,r)=>{let o=Math.max(r[n-1]||0);return e.slice(o,t)}):[]}}}(er,eo,K,H,et,en,es,ef,0),{snaps:ep,snapsAligned:em}=function(e,t,n,r,o){let{startEdge:i,endEdge:u}=e,{groupSlides:c}=o,a=c(r).map(e=>p(e)[u]-e[0][i]).map(s).map(t.measure),l=r.map(e=>n[i]-e[i]).map(e=>-s(e)),f=c(l).map(e=>e[0]).map((e,t)=>e+a[t]);return{snaps:l,snapsAligned:f}}(er,eu,et,en,ed),eg=-p(ep)+p(el),{snapsContained:eh,scrollContainLimit:ey}=function(e,t,n,r,o){let i,u,c=v(-t+e,0),a=n.map((e,t)=>{let{min:r,max:o}=c,i=c.constrain(e),u=t===m(n);return t?u||function(e,t){return 1>=s(e-t)}(r,i)?r:function(e,t){return 1>=s(e-t)}(o,i)?o:i:o}).map(e=>parseFloat(e.toFixed(3))),l=(i=a[0],u=p(a),v(a.lastIndexOf(i),a.indexOf(u)+1));return{snapsContained:function(){if(t<=e+2)return[c.max];if("keepSnaps"===r)return a;let{min:n,max:o}=l;return a.slice(n,o)}(),scrollContainLimit:l}}(eo,eg,em,J,0),eb=ec?eh:em,{limit:ev}=(D=eb[0],{limit:v(H?D-eg:p(eb),D)}),ex=function e(t,n,r){let{constrain:o}=v(0,t),i=t+1,u=c(n);function c(e){return r?s((i+e)%i):o(e)}function a(){return e(t,u,r)}let l={get:function(){return u},set:function(e){return u=c(e),l},add:function(e){return a().set(u+e)},clone:a};return l}(m(eb),_,H),ew=ex.clone(),ek=d(n),eS=function(e,t,n,r){let o=b(),i=1e3/60,u=null,c=0,a=0;function l(e){if(!a)return;u||(u=e,n(),n());let o=e-u;for(u=e,c+=o;c>=i;)n(),c-=i;r(c/i),a&&(a=t.requestAnimationFrame(l))}function s(){t.cancelAnimationFrame(a),u=null,c=0,a=0}return{init:function(){o.add(e,"visibilitychange",()=>{e.hidden&&(u=null,c=0)})},destroy:function(){s(),o.clear()},start:function(){a||(a=t.requestAnimationFrame(l))},stop:s,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:u,dragHandler:c,animation:a,eventHandler:l,scrollBounds:s,options:{loop:f}},d)=>{let p=e.settled(),m=!s.shouldConstrain(),g=f?p:p&&m,h=g&&!c.pointerDown();h&&a.stop();let y=n.get()*d+o.get()*(1-d);r.set(y),f&&(i.loop(e.direction()),u.loop()),t.to(r.get()),h&&l.emit("settle"),g||l.emit("scroll")})(eF,e)),eO=eb[ex.get()],eE=x(eO),ej=x(eO),eC=x(eO),eP=x(eO),eA=function(e,t,n,r,o,i){let u=0,c=0,a=o,l=.68,d=e.get(),p=0;function m(e){return a=e,h}function g(e){return l=e,h}let h={direction:function(){return c},duration:function(){return a},velocity:function(){return u},seek:function(){let t=r.get()-e.get(),o=0;return a?(n.set(e),u+=t/a,u*=l,d+=u,e.add(u),o=d-p):(u=0,n.set(r),e.set(r),o=t),c=f(o),p=d,h},settled:function(){return .001>s(r.get()-t.get())},useBaseFriction:function(){return g(.68)},useBaseDuration:function(){return m(o)},useFriction:g,useDuration:m};return h}(eE,eC,ej,eP,U,0),eD=function(e,t,n,r,o){let{reachedAny:i,removeOffset:u,constrain:c}=r;function a(e){return e.concat().sort((e,t)=>
1s(e)-s(t))[0]}function l(t,r){let o=[t,t+n,t-n];if(!e)return t;if(!r)return a(o);let i=o.filter(e=>f(e)===r);return i.length?a(i):p(o)-n}return{byDistance:function(n,r){let a=o.get()+n,{index:f,distance:d}=function(n){let r=e?u(n):c(n),{index:o}=t.map((e,t)=>({diff:l(e-r,0),index:t})).sort((e,t)=>s(e.diff)-s(t.diff))[0];return{index:o,distance:r}}(a),p=!e&&i(a);if(!r||p)return{index:f,distance:n};let m=n+l(t[f]-d,0);return{index:f,distance:m}},byIndex:function(e,n){let r=l(t[e]-o.get(),n);return{index:e,distance:r}},shortcut:l}}(H,eb,eg,ev,eP),eN=function(e,t,n,r,o,i,u){function c(o){let c=o.distance,a=o.index!==t.get();i.add(c),c&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),a&&(n.set(t.get()),t.set(o.index),u.emit("select"))}return{distance:function(e,t){c(o.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);c(o.byIndex(r.get(),n))}}}(eS,ex,ew,eA,eD,eP,l),eL=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ev),eI=b(),eM=(L={},I=null,M=null,z=!1,{init:function(){N=new IntersectionObserver(e=>{z||(e.forEach(e=>{L[n.indexOf(e.target)]=e}),I=null,M=null,l.emit("slidesInView"))},{root:t.parentElement,threshold:W}
1),n.forEach(e=>N.observe(e))},destroy:function(){N&&N.disconnect(),z=!0},get:function(e=!0){if(e&&I)return I;if(!e&&M)return M;let t=h(L).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:o}=L[r];return(e&&o||!e&&!o)&&t.push(r),t},[]);return e&&(I=t),e||(M=t),t}}),{slideRegistry:ez}=function(e,t,n,r,o,i){let u,{groupSlides:c}=o,{min:a,max:l}=r;return{slideRegistry:(u=c(i),1===n.length?[i]:e&&"keepSnaps"!==t?u.slice(a,l).map((e,t,n)=>{let r=t===m(n);return t?r?g(m(i)-p(n)[0]+1,p(n)[0]):e:g(p(n[0])+1)}):u)}}(ec,J,eb,ey,ed,ek),eT=function(e,t,n,r,o,i,c,l){let s={passive:!0,capture:!0},f=0;function d(e){"Tab"===e.code&&(f=new Date().getTime())}return{init:function(p){l&&(i.add(document,"keydown",d,!1),t.forEach((t,d)=>{i.add(t,"focus",t=>{(a(l)||l(p,t))&&function(t){if(new Date().getTime()-f>10)return;c.emit("slideFocusStart"),e.scrollLeft=0;let i=n.findIndex(e=>e.includes(t));u(i)&&(o.useDuration(0),r.index(i,0),c.emit("slideFocus"))}(d)},s)}))}}}(e,n,ez,eN,eA,eI,l,G),eF={ownerDocument:r,ownerWindow:o,eventHandler:l,containerRect:et,slideRects:en,animation:eS,axis:er,dragHandler:function(e,t,n,r,o,i,u,c,l,d,p,m,g,h,x,w,k,S,O){let{cross:E,direction:j}=e,C=["INPUT","SELECT","TEXTAREA"],P={passive:!1},A=b(),D=b(),N=v(50,225).constrain(h.measure(20)),L={mouse:300,touch:400},I={mouse:500,touch:600},M=x?43:25,z=!1,T=0,F=0,R=!1,B=!1,$=!1,_=!1;function H(e){if(!y(e,r)&&e.touches.length>=2)return U(e);let t=i.readPoint(e),n=i.readPoint(e,E),u=s(t-T),a=s(n-F);if(!B&&!_&&(!e.cancelable||!(B=u>a)))return U(e);let l=i.pointerMove(e);u>w&&($=!0),d.useFriction(.3).useDuration(.75),c.start(),o.add(j(l)),e.preventDefault()}function U(e){var t;let n,r,o=p.byDistance(0,!1).index!==m.get(),u=i.pointerUp(e)*(x?I:L)[_?"mouse":"touch"],c=(t=j(u),n=m.add(-1*f(t)),r=p.byDistance(t,!x).distance,x||s(t)<N?r:k&&o?.5*r:p.byIndex(n.get(),0).distance),a=function(e,t){var n,r;if(0===e||0===t||s(e)<=s(t))return 0;let o=(n=s(e),r=s(t),s(n-r));return s(o/e)}(u,c);B=!1,R=!1,D.clear(),d.useDuration(M-10*a).useFriction(.68+a/50),l.distance(c,!x),_=!1,g.emit("pointerUp")}function V(e){$&&(e.stopPropagation(),e.preventDefault(),$=!1)}return{init:function(e){O&&A.add(t,"dragstart",e=>e.preventDefault(),P).add(t,"touchmove",()=>void 0,P).add(t,"touchend",()=>void 0).add(t,"touchstart",c).add(t,"mousedown",c).add(t,"touchcancel",U).add(t,"contextmenu",U).add(t,"click",V,!0);function c(c){(a(O)||O(e,c))&&function(e){let c,a=y(e,r);if((_=a,$=x&&a&&!e.buttons&&z,z=s(o.get()-u.get())>=2,!a||0===e.button)&&(c=e.target.nodeName||"",!C.includes(c))){let r;R=!0,i.pointerDown(e),d.useFriction(0).useDuration(0),o.set(u),r=_?n:t,D.add(r,"touchmove",H,P).add(r,"touchend",U).add(r,"mousemove",H,P).add(r,"mouseup",U),T=i.readPoint(e),F=i.readPoint(e,E),g.emit("pointerDown")}}(c)}},destroy:function(){A.clear(),D.clear()},pointerDown:function(){return R}}}(er,e,r,o,eP,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(y(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),u=o(e)-o(n)>170;return r=e,u&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=i(r)-i(n),u=o(e)-o(n),c=o(e)-o(r)>170,a=t/u;return u&&!c&&s(a)>.1?a:0},readPoint:i}}(er,o),eE,eS,eN,eA,eD,ex,l,ei,V,q,X,0,Y),eventStore:eI,percentOfView:ei,index:ex,indexPrevious:ew,limit:ev,location:eE,offsetLocation:eC,previousLocation:ej,options:i,resizeHandler:function(e,t,n,r,o,i,u){let c,l,f=[e].concat(r),d=[],p=!1;function m(e){return o.measureSize(u.measure(e))}return{init:function(o){i&&(l=m(e),d=r.map(m),c=new ResizeObserver(n=>{(a(i)||i(o,n))&&function(n){for(let i of n){if(p)return;let n=i.target===e,u=r.indexOf(i.target),c=n?l:d[u];if(s(m(n?e:r[u])-c)>=.5){o.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{f.forEach(e=>c.observe(e))}))},destroy:function(){p=!0,c&&c.disconnect()}}}(t,l,o,n,er,Q,ee),scrollBody:eA,scrollBounds:function(e,t,n,r,o){let i=o.measure(10),u=o.measure(50),c=v(.1,.99),a=!1;function l(){return!a&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}
1return{shouldConstrain:l,constrain:function(o){if(!l())return;let a=e.reachedMin(t.get())?"min":"max",f=s(e[a]-t.get()),d=n.get()-t.get(),p=c.constrain(f/u);n.subtract(d*p),!o&&s(d)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){a=!e}}}(ev,eC,eP,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 u=-1*t*e;r.forEach(e=>e.add(u))}}}(eg,ev,eC,[eE,eC,ej,eP]),scrollProgress:eL,scrollSnapList:eb.map(eL.get),scrollSnaps:eb,scrollTarget:eD,scrollTo:eN,slideLooper:function(e,t,n,r,o,i,u,c,a){let l=d(o),s=d(o).reverse(),f=g(m(s,u[0]),n,!1).concat(g(m(l,t-u[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 g(o,u,l){let s=i.map((e,n)=>({start:e-r[n]+.5+u,end:e+t-.5+u}));return o.map(t=>{let r=l?0:-n,o=l?n:0,i=s[t][l?"end":"start"];return{index:t,loopPoint:i,slideLocation:x(-1),translate:w(e,a[t]),target:()=>c.get()>i?r:o}})}return{canLoop:function(){return f.every(({index:e})=>.1>=p(l.filter(t=>t!==e),t))},clear:function(){f.forEach(e=>e.translate.clear())},loop:function(){f.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,o=t();o!==r.get()&&(n.to(o),r.set(o))})},loopPoints:f}}(er,eo,eg,ea,el,ep,eb,eC,n),slideFocus:eT,slidesHandler:(F=!1,{init:function(e){Z&&(T=new MutationObserver(t=>{!F&&(a(Z)||Z(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),l.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){T&&T.disconnect(),F=!0}}),slidesInView:eM,slideIndexes:ek,slideRegistry:ez,slidesToScroll:ed,target:eP,translate:w(er,t)};return eF}(e,j,C,A,D,n,M);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(U),F([H,...V.map(({options:e})=>e)]).forEach(e=>I.add(e,"change",W)),U.active&&(O.translate.to(O.location.get()),O.animation.init(),O.slidesInView.init(),O.slideFocus.init(Q),O.eventHandler.init(Q),O.resizeHandler.init(Q),O.slidesHandler.init(Q),O.options.loop&&O.slideLooper.loop(),j.offsetParent&&C.length&&O.dragHandler.init(Q),E=L.init(Q,V)))}function W(e,t){let n=J();K(),q(z({startIndex:n},e),t),M.emit("reInit")}function K(){O.dragHandler.destroy(),O.eventStore.clear(),O.translate.clear(),O.slideLooper.clear(),O.resizeHandler.destroy(),O.slidesHandler.destroy(),O.slidesInView.destroy(),O.animation.destroy(),L.destroy(),I.clear()}function X(e,t,n){U.active&&!_&&(O.scrollBody.useBaseFriction().useDuration(!0===t?0:U.duration),O.scrollTo.index(e,n||0))}function J(){return O.index.get()}let Q={canScrollNext:function(){return O.index.add(1).get()!==J()},canScrollPrev:function(){return O.index.add(-1).get()!==J()},containerNode:function(){return j},internalEngine:function(){return O},destroy:function(){_||(_=!0,I.clear(),K(),M.emit("destroy"),M.clear())},off:B,on:R,emit:$,plugins:function(){return E},previousScrollSnap:function(){return O.indexPrevious.get()},reInit:W,rootNode:function(){return e},scrollNext:function(e){X(O.index.add(1).get(),e,-1)},scrollPrev:function(e){X(O.index.add(-1).get(),e,1)},scrollProgress:function(){return O.scrollProgress.get(O.offsetLocation.get())},scrollSnapList:function(){return O.scrollSnapList},scrollTo:X,selectedScrollSnap:J,slideNodes:function(){return C},slidesInView:function(){return O.slidesInView.get()},slidesNotInView:function(){return O.slidesInView.get(!1)}};return q(t,n),setTimeout(()=>M.emit("init"),0),Q}function O(e={},t=[]){let r=(0,n.useRef)(e),u=(0,n.useRef)(t),[c,a]=(0,n.useState)(),[l,s]=(0,n.useState)(),f=(0,n.useCallback)(()=>{c&&c.reInit(r.current,u.current)},[c]);return(0,n.useEffect)(()=>{o(r.current,e)||(r.current=e,f())},[e,f]),(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]))}(u.current,t)&&(u.current=t,f())},[t,f]),(0,n.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&l){S.globalOptions=O.globalOptions;let e=S(l,r.current,u.current);return a(e),()=>e.destroy()}a(void 0)},[l,a]),[s,c]}S.globalOptions=void 0,O.globalOptions=void 0;let E=(...e)=>
1e.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim(),j=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)};var C={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 P=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:i="",children:u,iconNode:c,...a},l)=>(0,n.createElement)("svg",{ref:l,...C,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:E("lucide",i),...!u&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(a)&&{"aria-hidden":"true"},...a},[...c.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(u)?u:[u]])),A=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...o},i)=>(0,n.createElement)(P,{ref:i,iconNode:t,className:E(`lucide-${j(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...o}));return r.displayName=j(e),r},D=A("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),N=A("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var L=e.i(47163),I=e.i(67881);let M=n.createContext(null);function z(){let e=n.useContext(M);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function T({orientation:e="horizontal",opts:r,setApi:o,plugins:i,className:u,children:c,...a}){let[l,s]=O({...r,axis:"horizontal"===e?"x":"y"},i),[f,d]=n.useState(!1),[p,m]=n.useState(!1),g=n.useCallback(e=>{e&&(d(e.canScrollPrev()),m(e.canScrollNext()))},[]),h=n.useCallback(()=>{s?.scrollPrev()},[s]),y=n.useCallback(()=>{s?.scrollNext()},[s]),b=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),h()):"ArrowRight"===e.key&&(e.preventDefault(),y())},[h,y]);return n.useEffect(()=>{s&&o&&o(s)},[s,o]),n.useEffect(()=>{if(s)return g(s),s.on("reInit",g),s.on("select",g),()=>{s?.off("select",g)}},[s,g]),(0,t.jsx)(M.Provider,{value:{carouselRef:l,api:s,opts:r,orientation:e||(r?.axis==="y"?"vertical":"horizontal"),scrollPrev:h,scrollNext:y,canScrollPrev:f,canScrollNext:p},children:(0,t.jsx)("div",{onKeyDownCapture:b,className:(0,L.cn)("relative",u),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...a,children:c})})}function F({className:e,...n}){let{carouselRef:r,orientation:o}=z();return(0,t.jsx)("div",{ref:r,className:"overflow-hidden","data-slot":"carousel-content",children:(0,t.jsx)("div",{className:(0,L.cn)("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",e),...n})})}function R({className:e,...n}){let{orientation:r}=z();return(0,t.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,L.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===r?"pl-4":"pt-4",e),...n})}function B({className:e,variant:n="outline",size:r="icon",...o}){let{orientation:i,scrollPrev:u,canScrollPrev:c}=z();return(0,t.jsxs)(I.Button,{"data-slot":"carousel-previous",variant:n,size:r,className:(0,L.cn)("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:!c,onClick:u,...o,children:[(0,t.jsx)(D,{}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}function $({className:e,variant:n="outline",size:r="icon",...o}){let{orientation:i,scrollNext:u,canScrollNext:c}=z();return(0,t.jsxs)(I.Button,{"data-slot":"carousel-next",variant:n,size:r,className:(0,L.cn)("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:!c,onClick:u,...o,children:[(0,t.jsx)(N,{}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})}e.s(["Carousel",()=>T,"CarouselContent",()=>F,"CarouselItem",()=>R,"CarouselNext",()=>$,"CarouselPrevious",()=>B],19737)}]);

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.