PageSourceSearch

https://www.lbank.com/static-client/l-w-m/_next/static/chunks/8e6db52846b01ae9.js

js lbank.com collected 2026-09-24 09:08:30 UTC 26,642 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34228,e=>{e.v({carousel:"styles-module-scss-module__b2JBXa__carousel",navBtn:"styles-module-scss-module__b2JBXa__navBtn"})},987540,e=>{"use strict";var t=e.i(222480),n=e.i(985518),r=e.i(699144);function o(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function i(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],u=t[n];return"function"==typeof r?`${r}`==`${u}`:o(r)&&o(u)?i(r,u):r===u})}function u(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function c(e){return"number"==typeof e}function l(e){return"string"==typeof e}function a(e){return"boolean"==typeof e}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function f(e){return Math.abs(e)}function d(e){return Math.sign(e)}function m(e){return h(e).map(Number)}function p(e){return e[v(e)]}function v(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 x(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 y(e=0,t=0){let n=f(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 c(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 S(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 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,watchFocus:!0};function L(e,t,n){let r,o,i,u,I,k,D,O,j=e.ownerDocument,M=j.defaultView,N=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(h(n).forEach(r=>{let o=t[r],i=n[r],u=s(o)&&s(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)}}}(M),A=(O=[],{init:function(e,t){return(O=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(){O=O.filter(e=>e.destroy())}}),F=b(),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:C,optionsAtMedia:z,optionsMediaQueries:T}=N,{on:B,off:_,emit:V}=P,H=!1,R=C(E,L.globalOptions),$=C(R),U=[];function X(t,n){H||($=z(R=C(R,t)),U=n||U,function(){let{container:t,slides:n}=$;k=(l(t)?e.querySelector(t):t)||e.children[0];let r=l(n)?k.querySelectorAll(n):n;D=[].slice.call(r||k.children)}(),u=function t(n){let r=function(e,t,n,r,o,i,u){var s,E;let L,I,k,D,O,j,M,N,A,F,P,C,z,T,{align:B,axis:_,direction:V,startIndex:H,loop:R,duration:$,dragFree:U,dragThreshold:X,inViewThreshold:q,slidesToScroll:J,skipSnaps:K,containScroll:Y,watchResize:Q,watchSlides:G,watchDrag:W,watchFocus:Z}=i,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:o}=e;
1return{top:t,right:n+r,bottom:t+o,left:n,width:r,height:o}}},et=ee.measure(t),en=n.map(ee.measure),er=(I="rtl"===V,D=(k="y"===_)||!I?1:-1,O=k?"top":I?"right":"left",j=k?"bottom":I?"left":"right",{scroll:k?"y":"x",cross:k?"x":"y",startEdge:O,endEdge:j,measureSize:function(e){let{height:t,width:n}=e;return k?t:n},direction:function(e){return e*D}}),eo=er.measureSize(et),ei={measure:function(e){return e/100*eo}},eu=(s=B,E=eo,L={start:function(){return 0},center:function(e){return(E-e)/2},end:function(e){return E-e}},{measure:function(e,t){return l(s)?L[s](e):s(E,e,t)}}),ec=!R&&!!Y,{slideSizes:el,slideSizesWithGaps:ea,startGap:es,endGap:ef}=function(e,t,n,r,o,i){let{measureSize:u,startEdge:c,endEdge:l}=e,a=n[0]&&o,s=function(){if(!a)return 0;let e=n[0];return f(t[c]-e[c])}(),d=a?parseFloat(i.getComputedStyle(p(r)).getPropertyValue(`margin-${l}`)):0,m=n.map(u),g=n.map((e,t,n)=>{let r=t===v(n);return t?r?m[t]+d:n[t+1][c]-e[c]:m[t]+s}).map(f);return{slideSizes:m,slideSizesWithGaps:g,startGap:s,endGap:d}}(er,et,en,n,R||!!Y,o),ed=function(e,t,n,r,o,i,u,l,a){let{startEdge:s,endEdge:d,direction:g}=e,h=c(n);return{groupSlides:function(e){return h?m(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?m(e).reduce((n,c,a)=>{let m=p(n)||0,h=c===v(e),x=o[s]-i[m][s],b=o[s]-i[c][d],y=r||0!==m?0:g(u),w=f(b-(!r&&h?g(l):0)-(x+y));return a&&w>t+2&&n.push(c),h&&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,R,et,en,es,ef,0),{snaps:em,snapsAligned:ep}=function(e,t,n,r,o){let{startEdge:i,endEdge:u}=e,{groupSlides:c}=o,l=c(r).map(e=>p(e)[u]-e[0][i]).map(f).map(t.measure),a=r.map(e=>n[i]-e[i]).map(e=>-f(e)),s=c(a).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:a,snapsAligned:s}}(er,eu,et,en,ed),ev=-p(em)+p(ea),{snapsContained:eg,scrollContainLimit:eh}=function(e,t,n,r,o){let i,u,c=y(-t+e,0),l=n.map((e,t)=>{let{min:r,max:o}=c,i=c.constrain(e),u=t===v(n);return t?u||function(e,t){return 1>=f(e-t)}(r,i)?r:function(e,t){return 1>=f(e-t)}(o,i)?o:i:o}).map(e=>parseFloat(e.toFixed(3))),a=(i=l[0],u=p(l),y(l.lastIndexOf(i),l.indexOf(u)+1));return{snapsContained:function(){if(t<=e+2)return[c.max];if("keepSnaps"===r)return l;let{min:n,max:o}=a;return l.slice(n,o)}(),scrollContainLimit:a}}(eo,ev,ep,Y,0),ex=ec?eg:ep,{limit:eb}=(M=ex[0],{limit:y(R?M-ev:p(ex),M)}),ey=function e(t,n,r){let{constrain:o}=y(0,t),i=t+1,u=c(n);function c(e){return r?f((i+e)%i):o(e)}function l(){return e(t,u,r)}let a={get:function(){return u},set:function(e){return u=c(e),a},add:function(e){return l().set(u+e)},clone:l};return a}(v(ex),H,R),ew=ey.clone(),eS=m(n),eE=function(e,t,n,r){let o=b(),i=1e3/60,u=null,c=0,l=0;function a(e){if(!l)return;u||(u=e,n(),n());let o=e-u;for(u=e,c+=o;c>=i;)n(),c-=i;r(c/i),l&&(l=t.requestAnimationFrame(a))}function s(){t.cancelAnimationFrame(l),u=null,c=0,l=0}return{init:function(){o.add(e,"visibilitychange",()=>{e.hidden&&(u=null,c=0)})},destroy:function(){s(),o.clear()},start:function(){l||(l=t.requestAnimationFrame(a))},stop:s,update:n,render:r}}(r,o,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eT),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:o,scrollLooper:i,slideLooper:u,dragHandler:c,animation:l,eventHandler:a,scrollBounds:s,options:{loop:f}},d)=>{let m=e.settled(),p=!s.shouldConstrain(),v=f?m:m&&p,g=v&&!c.pointerDown();g&&l.stop();let h=n.get()*d+o.get()*(1-d);r.set(h),f&&(i.loop(e.direction()),u.loop()),t.to(r.get()),g&&a.emit("settle"),v||a.emit("scroll")})(eT,e)),eL=ex[ey.get()],eI=w(eL),ek=w(eL),eD=w(eL),eO=w(eL),ej=function(e,t,n,r,o,i){let u=0,c=0,l=o,a=.68,s=e.get(),m=0;function p(e){return l=e,g}function v(e){return a=e,g}let g={direction:function(){return c},duration:function(){return l},velocity:function(){return u},seek:function(){let t=r.get()-e.get(),o=0;return l?(n.set(e),u+=t/l,u*=a,s+=u,e.add(u),o=s-m):(u=0,n.set(r),e.set(r),o=t),c=d(o),m=s,g},settled:function(){return .001>f(r.get()-t.get())},useBaseFriction:function(){return v(.68)},useBaseDuration:function(){return p(o)},useFriction:v,useDuration:p};return g}(eI,eD,ek,eO,$,0),eM=function(e,t,n,r,o){let{reachedAny:i,removeOffset:u,constrain:c}=r;function l(e){return e.concat().sort((e,t)=>
1f(e)-f(t))[0]}function a(t,r){let o=[t,t+n,t-n];if(!e)return t;if(!r)return l(o);let i=o.filter(e=>d(e)===r);return i.length?l(i):p(o)-n}return{byDistance:function(n,r){let l=o.get()+n,{index:s,distance:d}=function(n){let r=e?u(n):c(n),{index:o}=t.map((e,t)=>({diff:a(e-r,0),index:t})).sort((e,t)=>f(e.diff)-f(t.diff))[0];return{index:o,distance:r}}(l),m=!e&&i(l);if(!r||m)return{index:s,distance:n};let p=n+a(t[s]-d,0);return{index:s,distance:p}},byIndex:function(e,n){let r=a(t[e]-o.get(),n);return{index:e,distance:r}},shortcut:a}}(R,ex,ev,eb,eO),eN=function(e,t,n,r,o,i,u){function c(o){let c=o.distance,l=o.index!==t.get();i.add(c),c&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(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))}}}(eE,ey,ew,ej,eM,eO,u),eA=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eb),eF=b(),eP=(A={},F=null,P=null,C=!1,{init:function(){N=new IntersectionObserver(e=>{C||(e.forEach(e=>{A[n.indexOf(e.target)]=e}),F=null,P=null,u.emit("slidesInView"))},{root:t.parentElement,threshold:q}),n.forEach(e=>N.observe(e))},destroy:function(){N&&N.disconnect(),C=!0},get:function(e=!0){if(e&&F)return F;if(!e&&P)return P;let t=h(A).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:o}=A[r];return(e&&o||!e&&!o)&&t.push(r),t},[]);return e&&(F=t),e||(P=t),t}}),{slideRegistry:eC}=function(e,t,n,r,o,i){let u,{groupSlides:c}=o,{min:l,max:a}=r;return{slideRegistry:(u=c(i),1===n.length?[i]:e&&"keepSnaps"!==t?u.slice(l,a).map((e,t,n)=>{let r=t===v(n);return t?r?g(v(i)-p(n)[0]+1,p(n)[0]):e:g(p(n[0])+1)}):u)}}(ec,Y,ex,eh,ed,eS),ez=function(e,t,n,r,o,i,u,l){let s={passive:!0,capture:!0},f=0;function d(e){"Tab"===e.code&&(f=new Date().getTime())}return{init:function(m){l&&(i.add(document,"keydown",d,!1),t.forEach((t,d)=>{i.add(t,"focus",t=>{(a(l)||l(m,t))&&function(t){if(new Date().getTime()-f>10)return;u.emit("slideFocusStart"),e.scrollLeft=0;let i=n.findIndex(e=>e.includes(t));c(i)&&(o.useDuration(0),r.index(i,0),u.emit("slideFocus"))}(d)},s)}))}}}(e,n,eC,eN,ej,eF,u,Z),eT={ownerDocument:r,ownerWindow:o,eventHandler:u,containerRect:et,slideRects:en,animation:eE,axis:er,dragHandler:function(e,t,n,r,o,i,u,c,l,s,m,p,v,g,h,w,S,E,L){let{cross:I,direction:k}=e,D=["INPUT","SELECT","TEXTAREA"],O={passive:!1},j=b(),M=b(),N=y(50,225).constrain(g.measure(20)),A={mouse:300,touch:400},F={mouse:500,touch:600},P=h?43:25,C=!1,z=0,T=0,B=!1,_=!1,V=!1,H=!1;function R(e){if(!x(e,r)&&e.touches.length>=2)return $(e);let t=i.readPoint(e),n=i.readPoint(e,I),u=f(t-z),l=f(n-T);if(!_&&!H&&(!e.cancelable||!(_=u>l)))return $(e);let a=i.pointerMove(e);u>w&&(V=!0),s.useFriction(.3).useDuration(.75),c.start(),o.add(k(a)),e.preventDefault()}function $(e){var t;let n,r,o=m.byDistance(0,!1).index!==p.get(),u=i.pointerUp(e)*(h?F:A)[H?"mouse":"touch"],c=(t=k(u),n=p.add(-1*d(t)),r=m.byDistance(t,!h).distance,h||f(t)<N?r:S&&o?.5*r:m.byIndex(n.get(),0).distance),a=function(e,t){var n,r;if(0===e||0===t||f(e)<=f(t))return 0;let o=(n=f(e),r=f(t),f(n-r));return f(o/e)}(u,c);_=!1,B=!1,M.clear(),s.useDuration(P-10*a).useFriction(.68+a/50),l.distance(c,!h),H=!1,v.emit("pointerUp")}function U(e){V&&(e.stopPropagation(),e.preventDefault(),V=!1)}return{init:function(e){L&&j.add(t,"dragstart",e=>e.preventDefault(),O).add(t,"touchmove",()=>void 0,O).add(t,"touchend",()=>void 0).add(t,"touchstart",c).add(t,"mousedown",c).add(t,"touchcancel",$).add(t,"contextmenu",$).add(t,"click",U,!0);function c(c){(a(L)||L(e,c))&&function(e){let c,l=x(e,r);if((H=l,V=h&&l&&!e.buttons&&C,C=f(o.get()-u.get())>=2,!l||0===e.button)&&(c=e.target.nodeName||"",!D.includes(c))){let r;B=!0,i.pointerDown(e),s.useFriction(0).useDuration(0),o.set(u),r=H?n:t,M.add(r,"touchmove",R,O).add(r,"touchend",$).add(r,"mousemove",R,O).add(r,"mouseup",$),z=i.readPoint(e),T=i.readPoint(e,I),v.emit("pointerDown")}}(c)}},destroy:function(){j.clear(),M.clear()},pointerDown:function(){return B}}}(er,e,r,o,eO,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(x(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,l=t/u;return u&&!c&&f(l)>.1?l:0},readPoint:i}}(er,o),eI,eE,eN,ej,eM,ey,u,ei,U,X,K,0,W),eventStore:eF,percentOfView:ei,index:ey,indexPrevious:ew,limit:eb,location:eI,offsetLocation:eD,previousLocation:ek,options:i,resizeHandler:function(e,t,n,r,o,i,u){let c,l,s=[e].concat(r),d=[],m=!1;function p(e){return o.measureSize(u.measure(e))}
1return{init:function(o){i&&(l=p(e),d=r.map(p),c=new ResizeObserver(n=>{(a(i)||i(o,n))&&function(n){for(let i of n){if(m)return;let n=i.target===e,u=r.indexOf(i.target),c=n?l:d[u];if(f(p(n?e:r[u])-c)>=.5){o.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{s.forEach(e=>c.observe(e))}))},destroy:function(){m=!0,c&&c.disconnect()}}}(t,u,o,n,er,Q,ee),scrollBody:ej,scrollBounds:function(e,t,n,r,o){let i=o.measure(10),u=o.measure(50),c=y(.1,.99),l=!1;function a(){return!l&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:a,constrain:function(o){if(!a())return;let l=e.reachedMin(t.get())?"min":"max",s=f(e[l]-t.get()),d=n.get()-t.get(),m=c.constrain(s/u);n.subtract(d*m),!o&&f(d)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(eb,eD,eO,ej,ei),scrollLooper:function(e,t,n,r){let{reachedMin:o,reachedMax:i}=y(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))}}}(ev,eb,eD,[eI,eD,ek,eO]),scrollProgress:eA,scrollSnapList:ex.map(eA.get),scrollSnaps:ex,scrollTarget:eM,scrollTo:eN,slideLooper:function(e,t,n,r,o,i,u,c,l){let a=m(o),s=m(o).reverse(),f=v(p(s,u[0]),n,!1).concat(v(p(a,t-u[0]-1),-n,!0));function d(e,t){return e.reduce((e,t)=>e-o[t],t)}function p(e,t){return e.reduce((e,n)=>d(e,t)>0?e.concat([n]):e,[])}function v(o,u,a){let s=i.map((e,n)=>({start:e-r[n]+.5+u,end:e+t-.5+u}));return o.map(t=>{let r=a?0:-n,o=a?n:0,i=s[t][a?"end":"start"];return{index:t,loopPoint:i,slideLocation:w(-1),translate:S(e,l[t]),target:()=>c.get()>i?r:o}})}return{canLoop:function(){return f.every(({index:e})=>.1>=d(a.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,ev,el,ea,em,ex,eD,n),slideFocus:ez,slidesHandler:(T=!1,{init:function(e){G&&(z=new MutationObserver(t=>{!T&&(a(G)||G(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),u.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){z&&z.disconnect(),T=!0}}),slidesInView:eP,slideIndexes:eS,slideRegistry:eC,slidesToScroll:ed,target:eO,translate:S(er,t)};return eT}(e,k,D,j,M,n,P);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}($),T([R,...U.map(({options:e})=>e)]).forEach(e=>F.add(e,"change",q)),$.active&&(u.translate.to(u.location.get()),u.animation.init(),u.slidesInView.init(),u.slideFocus.init(Q),u.eventHandler.init(Q),u.resizeHandler.init(Q),u.slidesHandler.init(Q),u.options.loop&&u.slideLooper.loop(),k.offsetParent&&D.length&&u.dragHandler.init(Q),I=A.init(Q,U)))}function q(e,t){let n=Y();J(),X(C({startIndex:n},e),t),P.emit("reInit")}function J(){u.dragHandler.destroy(),u.eventStore.clear(),u.translate.clear(),u.slideLooper.clear(),u.resizeHandler.destroy(),u.slidesHandler.destroy(),u.slidesInView.destroy(),u.animation.destroy(),A.destroy(),F.clear()}function K(e,t,n){$.active&&!H&&(u.scrollBody.useBaseFriction().useDuration(!0===t?0:$.duration),u.scrollTo.index(e,n||0))}function Y(){return u.index.get()}let Q={canScrollNext:function(){return u.index.add(1).get()!==Y()},canScrollPrev:function(){return u.index.add(-1).get()!==Y()},containerNode:function(){return k},internalEngine:function(){return u},destroy:function(){H||(H=!0,F.clear(),J(),P.emit("destroy"),P.clear())},off:_,on:B,emit:V,plugins:function(){return I},previousScrollSnap:function(){return u.indexPrevious.get()},reInit:q,rootNode:function(){return e},scrollNext:function(e){K(u.index.add(1).get(),e,-1)},scrollPrev:function(e){K(u.index.add(-1).get(),e,1)},scrollProgress:function(){return u.scrollProgress.get(u.offsetLocation.get())},scrollSnapList:function(){return u.scrollSnapList},scrollTo:K,selectedScrollSnap:Y,slideNodes:function(){return D},slidesInView:function(){return u.slidesInView.get()},slidesNotInView:function(){return u.slidesInView.get(!1)}};return X(t,n),setTimeout(()=>P.emit("init"),0),Q}function I(e={},t=[]){let n=(0,r.useRef)(e),o=(0,r.useRef)(t),[c,l]=(0,r.useState)(),[a,s]=(0,r.useState)(),f=(0,r.useCallback)(()=>{c&&c.reInit(n.current,o.current)},[c]);return(0,r.useEffect)(()=>{i(n.current,e)||(n.current=e,f())},[e,f]),(0,r.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=u(e),r=u(t);return n.every((e,t)=>i(e,r[t]))}(o.current,t)&&(o.current=t,f())},[t,f]),(0,r.useEffect)(()=>
1{if("u">typeof window&&window.document&&window.document.createElement&&a){L.globalOptions=I.globalOptions;let e=L(a,n.current,o.current);return l(e),()=>e.destroy()}l(void 0)},[a,l]),[s,c]}L.globalOptions=void 0,I.globalOptions=void 0;var k=e.i(294237),D=e.i(974328),O=e.i(34228),j=e.i(675531),M=e.i(895744),N=e.i(30900),A=e.i(248519);e.i(549890);var F=e.i(315915);let P=(0,r.createContext)(null);function C(){let e=(0,r.useContext)(P);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let z=(0,r.forwardRef)((e,o)=>{let i,u,c,l,a,s,f,d,m,p,v,g,h,x,b,y,w,S,E,L,M,N,A,C,z,T,B,_,V,$,U,X,q=(0,n.c)(77);q[0]!==e?({orientation:g,options:f,setApi:p,plugins:d,className:u,children:i,activeIndex:c,onChange:a,onSelect:s,grabCursor:l,spaceBetween:v,style:h,showMask:x,limitBoundaryDrag:b,...m}=e,q[0]=e,q[1]=i,q[2]=u,q[3]=c,q[4]=l,q[5]=a,q[6]=s,q[7]=f,q[8]=d,q[9]=m,q[10]=p,q[11]=v,q[12]=g,q[13]=h,q[14]=x,q[15]=b):(i=q[1],u=q[2],c=q[3],l=q[4],a=q[5],s=q[6],f=q[7],d=q[8],m=q[9],p=q[10],v=q[11],g=q[12],h=q[13],x=q[14],b=q[15]);let J=void 0===g?"horizontal":g;q[16]!==h?(y=void 0===h?{}:h,q[16]=h,q[17]=y):y=q[17];let K=y,Y=void 0!==x&&x,Q=void 0!==b&&b,G=`${v||0}px`;q[18]!==K||q[19]!==G?(w={...K,"--space-between":G},q[18]=K,q[19]=G,q[20]=w):w=q[20];let W=w,Z=(0,F.useIsRTL)(),ee=Z?"rtl":"ltr",et="horizontal"===J?"x":"y",en=f?.startIndex||c||0;q[21]!==f||q[22]!==ee||q[23]!==et||q[24]!==en?(S={direction:ee,...f,axis:et,startIndex:en},q[21]=f,q[22]=ee,q[23]=et,q[24]=en,q[25]=S):S=q[25];let[er,eo]=I(S,d);q[26]!==c||q[27]!==a||q[28]!==s?(E={fromActiveIndex:c,onChange:a,onSelect:s},q[26]=c,q[27]=a,q[28]=s,q[29]=E):E=q[29];let{canScrollPrev:ei,canScrollNext:eu,scrollPrev:ec,scrollNext:el,activeIndex:ea,totalCount:es}=((e,t)=>{let o,i,u,c,l,a,s,f,d,m,p=(0,n.c)(26),{fromActiveIndex:v,onChange:g,onSelect:h}=t,[x,b]=(0,r.useState)(!1),[y,w]=(0,r.useState)(!1),[S,E]=(0,r.useState)(0);p[0]!==v?(o=v?{value:v}:{},p[0]=v,p[1]=o):o=p[1],p[2]!==g||p[3]!==o?(i={...o,onChange:g},p[2]=g,p[3]=o,p[4]=i):i=p[4],p[5]===Symbol.for("react.memo_cache_sentinel")?(u={defaultValue:0}
1,p[5]=u):u=p[5];let[L,I]=(0,j.useControllableValue)(i,u);p[6]!==I?(c=e=>{e&&(E(e.scrollSnapList().length),I(e.selectedScrollSnap()))},p[6]=I,p[7]=c):c=p[7];let k=(0,D.useMemoizedFn)(c);p[8]!==h?(l=e=>{if(!e)return;let t=e.canScrollPrev(),n=e.canScrollNext();b(t),w(n),h?.({canScrollPrev:t,canScrollNext:n})},p[8]=h,p[9]=l):l=p[9];let O=(0,D.useMemoizedFn)(l);p[10]!==e?(a=()=>{e?.scrollPrev()},p[10]=e,p[11]=a):a=p[11];let M=(0,D.useMemoizedFn)(a);p[12]!==e?(s=()=>{e?.scrollNext()},p[12]=e,p[13]=s):s=p[13];let N=(0,D.useMemoizedFn)(s);return p[14]!==e||p[15]!==k||p[16]!==O?(f=()=>{if(e)return k(e),O(e),e.on("reInit",k),e.on("reInit",O),e.on("select",k),e.on("settle",O),()=>{e.off("reInit",k),e.off("reInit",O),e.off("select",k),e.off("settle",O)}},d=[e,k,O],p[14]=e,p[15]=k,p[16]=O,p[17]=f,p[18]=d):(f=p[17],d=p[18]),(0,r.useEffect)(f,d),p[19]!==y||p[20]!==x||p[21]!==L||p[22]!==N||p[23]!==M||p[24]!==S?(m={activeIndex:L,totalCount:S,canScrollPrev:x,canScrollNext:y,scrollPrev:M,scrollNext:N},p[19]=y,p[20]=x,p[21]=L,p[22]=N,p[23]=M,p[24]=S,p[25]=m):m=p[25],m})(eo,E);q[30]!==el||q[31]!==ec?(L=e=>{"ArrowLeft"===e.key?(e.preventDefault(),ec()):"ArrowRight"===e.key&&(e.preventDefault(),el())},q[30]=el,q[31]=ec,q[32]=L):L=q[32];let ef=(0,D.useMemoizedFn)(L);q[33]!==eo?(M=()=>eo,N=[eo],q[33]=eo,q[34]=M,q[35]=N):(M=q[34],N=q[35]),(0,r.useImperativeHandle)(o,M,N),q[36]!==eo||q[37]!==p?(A=()=>{eo&&p&&p(eo)},C=[eo,p],q[36]=eo,q[37]=p,q[38]=A,q[39]=C):(A=q[38],C=q[39]),(0,r.useEffect)(A,C),q[40]!==eo||q[41]!==Z||q[42]!==Q||q[43]!==J?(z=()=>{if(!eo||!Q||"horizontal"!==J)return;let e=eo.rootNode(),t=e.ownerDocument,n=0,r=0,o=!1,i=!1,u=H,c=R,l=e=>{if("button"in e&&0!==e.button)return;let t=c(e);t&&(n=t.x,r=t.y,o=!0,i=!1)},a=e=>{if(!o)return;if(i)return void u(e);let t=c(e);if(!t)return;let l=t.x-n,a=t.y-r,s=Math.abs(l),f=Math.abs(a);if(s<4&&f<4)return;if(s<=f){o=!1;return}let d=Z?l<0:l>0,m=Z?l>0:l<0;(i=d&&!eo.canScrollPrev()||m&&!eo.canScrollNext())?u(e):o=!1},s=()=>{o=!1,i=!1},f={capture:!0,passive:!1};return e.addEventListener("touchstart",l,f),e.addEventListener("touchmove",a,f),e.addEventListener("touchend",s,!0),e.addEventListener("touchcancel",s,!0),e.addEventListener("mousedown",l,f),t.addEventListener("mousemove",a,f),t.addEventListener("mouseup",s,!0),e.addEventListener("mouseleave",s,!0),()=>{e.removeEventListener("touchstart",l,f),e.removeEventListener("touchmove",a,f),e.removeEventListener("touchend",s,!0),e.removeEventListener("touchcancel",s,!0),e.removeEventListener("mousedown",l,f),t.removeEventListener("mousemove",a,f),t.removeEventListener("mouseup",s,!0),e.removeEventListener("mouseleave",s,!0)}},T=[eo,Z,Q,J],q[40]=eo,q[41]=Z,q[42]=Q,q[43]=J,q[44]=z,q[45]=T):(z=q[44],T=q[45]),(0,r.useEffect)(z,T);let ed=J||(f?.axis==="y"?"vertical":"horizontal");return q[46]!==ea||q[47]!==eo||q[48]!==eu||q[49]!==ei||q[50]!==er||q[51]!==f||q[52]!==el||q[53]!==ec||q[54]!==ed||q[55]!==es?(B={carouselRef:er,api:eo,options:f,orientation:ed,scrollPrev:ec,scrollNext:el,canScrollPrev:ei,canScrollNext:eu,activeIndex:ea,totalCount:es},q[46]=ea,q[47]=eo,q[48]=eu,q[49]=ei,q[50]=er,q[51]=f,q[52]=el,q[53]=ec,q[54]=ed,q[55]=es,q[56]=B):B=q[56],q[57]!==u||q[58]!==l?(_=(0,k.cx)("flex items-center justify-between w-full relative carousel-outer-wrapper",O.default.carousel,{"cursor-grab active:cursor-grabbing select-none":l},u),q[57]=u,q[58]=l,q[59]=_):_=q[59],q[60]!==ei||q[61]!==Y?(V=Y&&(0,t.jsx)("div",{className:(0,k.cx)("absolute left-mask",{"hide-mask":!ei})}),q[60]=ei,q[61]=Y,q[62]=V):V=q[62],q[63]!==eu||q[64]!==Y?($=Y&&(0,t.jsx)("div",{className:(0,k.cx)("absolute right-mask",{"hide-mask":!eu})}),q[63]=eu,q[64]=Y,q[65]=$):$=q[65],q[66]!==i||q[67]!==ef||q[68]!==W||q[69]!==m||q[70]!==_||q[71]!==V||q[72]!==$?(U=(0,t.jsxs)("div",{onKeyDownCapture:ef,className:_,role:"region","aria-roledescription":"carousel","data-slot":"carousel",...m,style:W,children:[V,i,$]}),q[66]=i,q[67]=ef,q[68]=W,q[69]=m,q[70]=_,q[71]=V,q[72]=$,q[73]=U):U=q[73],q[74]!==B||q[75]!==U?(X=(0,t.jsx)(P.Provider,{value:B,children:U}),q[74]=B,q[75]=U,q[76]=X):X=q[76],X});function T(e){let r,o,i,u,c,l=(0,n.c)(12);l[0]!==e?({className:r,...o}=e,l[0]=e,l[1]=r,l[2]=o):(r=l[1],o=l[2]);let{carouselRef:a,orientation:s}=C(),f="vertical"===s;return l[3]!==r||l[4]!==f?(i=(0,k.cx)("flex touch-pan-y pinch-zoom w-full carousel-container will-change-transform",{"flex-col":f},r),l[3]=r,l[4]=f,l[5]=i):i=l[5],l[6]!==o||l[7]!==i?(u=(0,t.jsx)("div",{className:i,...o}),l[6]=o,l[7]=i,l[8]=u):u=l[8],l[9]!==a||l[10]!==u?(c=(0,t.jsx)("div",{ref:a,className:"flex-1 w-full max-w-full min-w-0 flex justify-center items-center relative overflow-hidden carousel-content","data-slot":"carousel-content",children:u}),l[9]=a,l[10]=u,l[11]=c):c=l[11],c}function B(e){let r,o,i,u,c=(0,n.c)(8);return c[0]!==e?({className:r,...o}=e,c[0]=e,c[1]=r,c[2]=o):(r=c[1],o=c[2]),c[3]!==r?(i=(0,k.cx)("min-w-0 shrink-0 grow-0 basis-full carousel-item",r),c[3]=r,c[4]=i):i=c[4],c[5]!==o||c[6]!==i?(u=(0,t.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:i,...o}),c[5]=o,c[6]=i,c[7]=u):u=c[7],u}function _(e){let r,o,i,u,c,l=(0,n.c)(12);l[0]!==e?({className:r,...o}=e,l[0]=e,l[1]=r,l[2]=o):(r=l[1],o=l[2]);let{scrollPrev:a,canScrollPrev:s,canScrollNext:f}=C(),d=!s;return f||s?(l[3]!==r||l[4]!==d?(i=(0,k.cx)(O.default.navBtn,"carousel-nav-btn carousel-prev-btn",{"carousel-nav-btn-disabled":d},r),l[3]=r,l[4]=d,l[5]=i):i=l[5],l[6]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(M.default,{}),l[6]=u):u=l[6],l[7]!==d||l[8]!==o||l[9]!==a||l[10]!==i?(c=(0,t.jsx)(N.Button,{type:"ghost",className:i,suffixIcon:u,size:"middle",...o,onClick:a,disabled:d}),l[7]=d,l[8]=o,l[9]=a,l[10]=i,l[11]=c):c=l[11],c):null}function V(e){let r,o,i,u,c,l=(0,n.c)(12);l[0]!==e?({className:r,...o}=e,l[0]=e,l[1]=r,l[2]=o):(r=l[1],o=l[2]);let{scrollNext:a,canScrollNext:s,canScrollPrev:f}=C(),d=!s;return s||f?(l[3]!==r||l[4]!==d?(i=(0,k.cx)(O.default.navBtn,"carousel-nav-btn carousel-next-btn",{"carousel-nav-btn-disabled":d},r),l[3]=r,l[4]=d,l[5]=i):i=l[5],l[6]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(A.default,{}),l[6]=u):u=l[6],l[7]!==d||l[8]!==o||l[9]!==a||l[10]!==i?(c=(0,t.jsx)(N.Button,{type:"ghost",className:i,suffixIcon:u,size:"middle",...o,onClick:a,disabled:d}),l[7]=d,l[8]=o,l[9]=a,l[10]=i,l[11]=c):c=l[11],c):null}function H(e){e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()}function R(e){if("touches"in e){let t=e.touches[0];return t?{x:t.clientX,y:t.clientY}:null}return{x:e.clientX,y:e.clientY}}e.s(["Carousel",()=>z,"CarouselContent",()=>T,"CarouselItem",()=>B,"CarouselNext",()=>V,"CarouselPrevious",()=>_],987540)}]);
2
3//# sourceMappingURL=e175e34a37db6443.js.map

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.