PageSourceSearch

https://hkvu.hk/_next/static/chunks/67953e18e3a23b1f.js

js hkvu.hk collected 2026-10-08 07:36:06 UTC 22,786 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,23211,t=>{"use strict";t.s(["Carousel",()=>M,"CarouselContent",()=>N,"CarouselItem",()=>A],23211);var e=t.i(43476),n=t.i(71645);function r(t){return"[object Object]"===Object.prototype.toString.call(t)||Array.isArray(t)}function o(t,e){let n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&JSON.stringify(Object.keys(t.breakpoints||{}))===JSON.stringify(Object.keys(e.breakpoints||{}))&&n.every(n=>{let i=t[n],u=e[n];return"function"==typeof i?"".concat(i)==="".concat(u):r(i)&&r(u)?o(i,u):i===u})}function i(t){return t.concat().sort((t,e)=>t.name>e.name?1:-1).map(t=>t.options)}function u(t){return"number"==typeof t}function c(t){return"string"==typeof t}function l(t){return"boolean"==typeof t}function a(t){return"[object Object]"===Object.prototype.toString.call(t)}function s(t){return Math.abs(t)}function f(t){return Math.sign(t)}function d(t){return h(t).map(Number)}function p(t){return t[m(t)]}function m(t){return Math.max(0,t.length-1)}function g(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.from(Array(t),(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 v(){let t=[],e={add:function(n,r,o){let i,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return"addEventListener"in n?(n.addEventListener(r,o,u),i=()=>n.removeEventListener(r,o,u)):(n.addListener(o),i=()=>n.removeListener(o)),t.push(i),e},clear:function(){t=t.filter(t=>t())}};return e}function b(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=s(t-e);function r(n){return n<t||n>e}return{length:n,max:e,min:t,constrain:function(n){return r(n)?n<t?t:e:n},reachedAny:r,reachedMax:function(t){return t>e},reachedMin:function(e){return e<t},removeOffset:function(t){return n?t-n*Math.ceil((t-e)/n):t}}}function x(t){let e=t;function n(t){return u(t)?t:t.get()}return{get:function(){return e},set:function(t){e=n(t)},add:function(t){e+=n(t)},subtract:function(t){e-=n(t)}}}function S(t,e){let n="x"===t.scroll?function(t){return"translate3d(".concat(t,"px,0px,0px)")}:function(t){return"translate3d(0px,".concat(t,"px,0px)")},r=e.style,o=null,i=!1;return{clear:function(){!i&&(r.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){if(i)return;let u=Math.round(100*t.direction(e))/100;u!==o&&(r.transform=n(u),o=u)},toggleActive:function(t){i=!t}}}let w={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 O(t,e,n){let r,o,i,E,k,D=t.ownerDocument,I=D.defaultView,L=function(t){function e(t,e){return function t(e,n){return[e,n].reduce((e,n)=>(h(n).forEach(r=>{let o=e[r],i=n[r],u=a(o)&&a(i);e[r]=u?t(o,i):i}),e),{})}(t,e||{})}return{mergeOptions:e,optionsAtMedia:function(n){let r=n.breakpoints||{},o=h(r).filter(e=>t.matchMedia(e).matches).map(t=>r[t]).reduce((t,n)=>e(t,n),{});return e(n,o)},optionsMediaQueries:function(e){return e.map(t=>h(t.breakpoints||{})).reduce((t,e)=>t.concat(e),[]).map(t.matchMedia)}}}(I),M=(k=[],{init:function(t,e){return(k=e.filter(t=>{let{options:e}=t;return!1!==L.optionsAtMedia(e).active})).forEach(e=>e.init(t,L)),e.reduce((t,e)=>Object.assign(t,{[e.name]:e}),{})},destroy:function(){k=k.filter(t=>t.destroy())}}),N=v(),A=function(){let t,e={},n={init:function(e){t=e},emit:function(r){return(e[r]||[]).forEach(e=>e(t,r)),n},off:function(t,r){return e[t]=(e[t]||[]).filter(t=>t!==r),n},on:function(t,r){return e[t]=(e[t]||[]).concat([r]),n},clear:function(){e={}}};return n}(),{mergeOptions:F,optionsAtMedia:T,optionsMediaQueries:j}=L,{on:C,off:P,emit:z}=A,H=!1,V=F(w,O.globalOptions),R=F(V),U=[];function B(e,n){if(H)return;R=T(V=F(V,e)),U=n||U;let{container:a,slides:w}=R;i=(c(a)?t.querySelector(a):a)||t.children[0];let O=c(w)?i.querySelectorAll(w):w;E=[].slice.call(O||i.children),r=function e(n){let r=function(t,e,n,r,o,i,a){let w,O,{align:E,axis:k,direction:D,startIndex:I,loop:L,duration:M,dragFree:N,dragThreshold:A,inViewThreshold:F,slidesToScroll:T,skipSnaps:j,containScroll:C,watchResize:P,
1watchSlides:z,watchDrag:H,watchFocus:V}=i,R={measure:function(t){let{offsetTop:e,offsetLeft:n,offsetWidth:r,offsetHeight:o}=t;return{top:e,right:n+r,bottom:e+o,left:n,width:r,height:o}}},U=R.measure(e),B=n.map(R.measure),q=function(t,e){let n="rtl"===e,r="y"===t,o=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(t){let{height:e,width:n}=t;return r?e:n},direction:function(t){return t*o}}}(k,D),K=q.measureSize(U),J={measure:function(t){return t/100*K}},X=function(t,e){let n={start:function(){return 0},center:function(t){return(e-t)/2},end:function(t){return e-t}};return{measure:function(r,o){return c(t)?n[t](r):t(e,r,o)}}}(E,K),Q=!L&&!!C,{slideSizes:Y,slideSizesWithGaps:G,startGap:W,endGap:Z}=function(t,e,n,r,o,i){let{measureSize:u,startEdge:c,endEdge:l}=t,a=n[0]&&o,f=function(){if(!a)return 0;let t=n[0];return s(e[c]-t[c])}(),d=a?parseFloat(i.getComputedStyle(p(r)).getPropertyValue("margin-".concat(l))):0,g=n.map(u),h=n.map((t,e,n)=>{let r=e===m(n);return e?r?g[e]+d:n[e+1][c]-t[c]:g[e]+f}).map(s);return{slideSizes:g,slideSizesWithGaps:h,startGap:f,endGap:d}}(q,U,B,n,L||!!C,o),$=function(t,e,n,r,o,i,c,l,a){let{startEdge:f,endEdge:g,direction:h}=t,y=u(n);return{groupSlides:function(t){return y?d(t).filter(t=>t%n==0).map(e=>t.slice(e,e+n)):t.length?d(t).reduce((n,u,a)=>{let d=p(n)||0,y=u===m(t),v=o[f]-i[d][f],b=o[f]-i[u][g],x=r||0!==d?0:h(c),S=s(b-(!r&&y?h(l):0)-(v+x));return a&&S>e+2&&n.push(u),y&&n.push(t.length),n},[]).map((e,n,r)=>{let o=Math.max(r[n-1]||0);return t.slice(o,e)}):[]}}}(q,K,T,L,U,B,W,Z,0),{snaps:_,snapsAligned:tt}=function(t,e,n,r,o){let{startEdge:i,endEdge:u}=t,{groupSlides:c}=o,l=c(r).map(t=>p(t)[u]-t[0][i]).map(s).map(e.measure),a=r.map(t=>n[i]-t[i]).map(t=>-s(t)),f=c(a).map(t=>t[0]).map((t,e)=>t+l[e]);return{snaps:a,snapsAligned:f}}(q,X,U,B,$),te=-p(_)+p(G),{snapsContained:tn,scrollContainLimit:tr}=function(t,e,n,r,o){let i=b(-e+t,0),u=n.map((t,e)=>{let{min:r,max:o}=i,u=i.constrain(t),c=e===m(n);return e?c||function(t,e){return 1>=s(t-e)}(r,u)?r:function(t,e){return 1>=s(t-e)}(o,u)?o:u:o}).map(t=>parseFloat(t.toFixed(3))),c=function(){let t=u[0],e=p(u);return b(u.lastIndexOf(t),u.indexOf(e)+1)}();return{snapsContained:function(){if(e<=t+2)return[i.max];if("keepSnaps"===r)return u;let{min:n,max:o}=c;return u.slice(n,o)}(),scrollContainLimit:c}}(K,te,tt,C,0),to=Q?tn:tt,{limit:ti}=function(t,e,n){let r=e[0];return{limit:b(n?r-t:p(e),r)}}(te,to,L),tu=function t(e,n,r){let{constrain:o}=b(0,e),i=e+1,u=c(n);function c(t){return r?s((i+t)%i):o(t)}function l(){return t(e,u,r)}let a={get:function(){return u},set:function(t){return u=c(t),a},add:function(t){return l().set(u+t)},clone:l};return a}(m(to),I,L),tc=tu.clone(),tl=d(n),ta=function(t,e,n,r){let o=v(),i=1e3/60,u=null,c=0,l=0;function a(t){if(!l)return;u||(u=t,n(),n());let o=t-u;for(u=t,c+=o;c>=i;)n(),c-=i;r(c/i),l&&(l=e.requestAnimationFrame(a))}function s(){e.cancelAnimationFrame(l),u=null,c=0,l=0}return{init:function(){o.add(t,"visibilitychange",()=>{t.hidden&&(u=null,c=0)})},destroy:function(){s(),o.clear()},start:function(){l||(l=e.requestAnimationFrame(a))},stop:s,update:n,render:r}}(r,o,()=>(t=>{let{dragHandler:e,scrollBody:n,scrollBounds:r,options:{loop:o}}=t;o||r.constrain(e.pointerDown()),n.seek()})(tO),t=>((t,e)=>{let{scrollBody:n,translate:r,location:o,offsetLocation:i,previousLocation:u,scrollLooper:c,slideLooper:l,dragHandler:a,animation:s,eventHandler:f,scrollBounds:d,options:{loop:p}}=t,m=n.settled(),g=!d.shouldConstrain(),h=p?m:m&&g,y=h&&!a.pointerDown();y&&s.stop();let v=o.get()*e+u.get()*(1-e);i.set(v),p&&(c.loop(n.direction()),l.loop()),r.to(i.get()),y&&f.emit("settle"),h||f.emit("scroll")})(tO,t)),ts=to[tu.get()],tf=x(ts),td=x(ts),tp=x(ts),tm=x(ts),tg=function(t,e,n,r,o,i){let u=0,c=0,l=o,a=.68,d=t.get(),p=0;function m(t){return l=t,h}function g(t){return a=t,h}let h={direction:function(){return c},duration:function(){return l},velocity:function(){return u},seek:function(){let e=r.get()-t.get(),o=0;return l?(n.set(t),u+=e/l,u*=a,d+=u,t.add(u),o=d-p):(u=0,n.set(r),t.set(r),o=e),c=f(o),p=d,h},settled:function(){return .001>s(r.get()-e.get())},useBaseFriction:function(){return g(.68)},useBaseDuration:function(){return m(o)},useFriction:g,useDuration:m};return h}(tf,tp,td,tm,M,.68),th=function(t,e,n,r,o){let{reachedAny:i,removeOffset:u,constrain:c}=r;function l(t){return t.concat().sort((t,e)=>s(t)-s(e))[0]}function a(e,r){let o=[e,e+n,e-n];if(!t)return e;if(!r)return l(o);let i=o.filter(t=>f(t)===r);return i.length?l(i):p(o)-n}return{byDistance:function(n,r){let l=o.get()+n,{index:f,distance:d}=function(n){let r=t?u(n):c(n),{index:o}=e.map((t,e)=>({diff:a(t-r,0),index:e})).sort((t,e)=>s(t.diff)-s(e.diff))[0];return{index:o,distance:r}}(l),p=!t&&i(l);if(!r||p)return{index:f,distance:n};let m=n+a(e[f]-d,0);return{index:f,distance:m}},byIndex:function(t,n){let r=a(e[t]-o.get(),n);return{index:t,distance:r}},shortcut:a}}(L,to,te,ti,tm),ty=function(t,e,n,r,o,i,u){function c(o){let c=o.distance,l=o.index!==e.get();
1i.add(c),c&&(r.duration()?t.start():(t.update(),t.render(1),t.update())),l&&(n.set(e.get()),e.set(o.index),u.emit("select"))}return{distance:function(t,e){c(o.byDistance(t,e))},index:function(t,n){let r=e.clone().set(t);c(o.byIndex(r.get(),n))}}}(ta,tu,tc,tg,th,tm,a),tv=function(t){let{max:e,length:n}=t;return{get:function(t){return n?-((t-e)/n):0}}}(ti),tb=v(),tx=function(t,e,n,r){let o,i={},u=null,c=null,l=!1;return{init:function(){o=new IntersectionObserver(t=>{l||(t.forEach(t=>{i[e.indexOf(t.target)]=t}),u=null,c=null,n.emit("slidesInView"))},{root:t.parentElement,threshold:r}),e.forEach(t=>o.observe(t))},destroy:function(){o&&o.disconnect(),l=!0},get:function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(t&&u)return u;if(!t&&c)return c;let e=h(i).reduce((e,n)=>{let r=parseInt(n),{isIntersecting:o}=i[r];return(t&&o||!t&&!o)&&e.push(r),e},[]);return t&&(u=e),t||(c=e),e}}}(e,n,a,F),{slideRegistry:tS}=function(t,e,n,r,o,i){let{groupSlides:u}=o,{min:c,max:l}=r;return{slideRegistry:function(){let r=u(i);return 1===n.length?[i]:t&&"keepSnaps"!==e?r.slice(c,l).map((t,e,n)=>{let r=e===m(n);return e?r?g(m(i)-p(n)[0]+1,p(n)[0]):t:g(p(n[0])+1)}):r}()}}(Q,C,to,tr,$,tl),tw=function(t,e,n,r,o,i,c,a){let s={passive:!0,capture:!0},f=0;function d(t){"Tab"===t.code&&(f=new Date().getTime())}return{init:function(p){a&&(i.add(document,"keydown",d,!1),e.forEach((e,d)=>{i.add(e,"focus",e=>{(l(a)||a(p,e))&&function(e){if(new Date().getTime()-f>10)return;c.emit("slideFocusStart"),t.scrollLeft=0;let i=n.findIndex(t=>t.includes(e));u(i)&&(o.useDuration(0),r.index(i,0),c.emit("slideFocus"))}(d)},s)}))}}}
1(t,n,tS,ty,tg,tb,a,V),tO={ownerDocument:r,ownerWindow:o,eventHandler:a,containerRect:U,slideRects:B,animation:ta,axis:q,dragHandler:function(t,e,n,r,o,i,u,c,a,d,p,m,g,h,x,S,w,O,E){let{cross:k,direction:D}=t,I=["INPUT","SELECT","TEXTAREA"],L={passive:!1},M=v(),N=v(),A=b(50,225).constrain(h.measure(20)),F={mouse:300,touch:400},T={mouse:500,touch:600},j=x?43:25,C=!1,P=0,z=0,H=!1,V=!1,R=!1,U=!1;function B(t){if(!y(t,r)&&t.touches.length>=2)return q(t);let e=i.readPoint(t),n=i.readPoint(t,k),u=s(e-P),l=s(n-z);if(!V&&!U&&(!t.cancelable||!(V=u>l)))return q(t);let a=i.pointerMove(t);u>S&&(R=!0),d.useFriction(.3).useDuration(.75),c.start(),o.add(D(a)),t.preventDefault()}function q(t){let e=p.byDistance(0,!1).index!==m.get(),n=i.pointerUp(t)*(x?T:F)[U?"mouse":"touch"],r=function(t,e){let n=m.add(-1*f(t)),r=p.byDistance(t,!x).distance;return x||s(t)<A?r:w&&e?.5*r:p.byIndex(n.get(),0).distance}(D(n),e),o=function(t,e){var n,r;if(0===t||0===e||s(t)<=s(e))return 0;let o=(n=s(t),r=s(e),s(n-r));return s(o/t)}(n,r);V=!1,H=!1,N.clear(),d.useDuration(j-10*o).useFriction(.68+o/50),a.distance(r,!x),U=!1,g.emit("pointerUp")}function K(t){R&&(t.stopPropagation(),t.preventDefault(),R=!1)}return{init:function(t){E&&M.add(e,"dragstart",t=>t.preventDefault(),L).add(e,"touchmove",()=>void 0,L).add(e,"touchend",()=>void 0).add(e,"touchstart",c).add(e,"mousedown",c).add(e,"touchcancel",q).add(e,"contextmenu",q).add(e,"click",K,!0);function c(c){(l(E)||E(t,c))&&function(t){let c=y(t,r);if((U=c,R=x&&c&&!t.buttons&&C,C=s(o.get()-u.get())>=2,!c||0===t.button)&&!function(t){let e=t.nodeName||"";return I.includes(e)}(t.target)){H=!0,i.pointerDown(t),d.useFriction(0).useDuration(0),o.set(u);let r=U?n:e;N.add(r,"touchmove",B,L).add(r,"touchend",q).add(r,"mousemove",B,L).add(r,"mouseup",q),P=i.readPoint(t),z=i.readPoint(t,k),g.emit("pointerDown")}}(c)}},destroy:function(){M.clear(),N.clear()},pointerDown:function(){return H}}}(q,t,r,o,tm,function(t,e){let n,r;function o(t){return t.timeStamp}function i(n,r){let o=r||t.scroll;return(y(n,e)?n:n.touches[0])["client".concat("x"===o?"X":"Y")]}return{pointerDown:function(t){return n=t,r=t,i(t)},pointerMove:function(t){let e=i(t)-i(r),u=o(t)-o(n)>170;return r=t,u&&(n=t),e},pointerUp:function(t){if(!n||!r)return 0;let e=i(r)-i(n),u=o(t)-o(n),c=o(t)-o(r)>170,l=e/u;return u&&!c&&s(l)>.1?l:0},readPoint:i}}(q,o),tf,ta,ty,tg,th,tu,a,J,N,A,j,0,H),eventStore:tb,percentOfView:J,index:tu,indexPrevious:tc,limit:ti,location:tf,offsetLocation:tp,previousLocation:td,options:i,resizeHandler:function(t,e,n,r,o,i,u){let c,a,f=[t].concat(r),d=[],p=!1;function m(t){return o.measureSize(u.measure(t))}return{init:function(o){i&&(a=m(t),d=r.map(m),c=new ResizeObserver(n=>{(l(i)||i(o,n))&&function(n){for(let i of n){if(p)return;let n=i.target===t,u=r.indexOf(i.target),c=n?a:d[u];if(s(m(n?t:r[u])-c)>=.5){o.reInit(),e.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{f.forEach(t=>c.observe(t))}))},destroy:function(){p=!0,c&&c.disconnect()}}}(e,a,o,n,q,P,R),scrollBody:tg,scrollBounds:function(t,e,n,r,o){let i=o.measure(10),u=o.measure(50),c=b(.1,.99),l=!1;function a(){return!l&&!!t.reachedAny(n.get())&&!!t.reachedAny(e.get())}return{shouldConstrain:a,constrain:function(o){if(!a())return;let l=t.reachedMin(e.get())?"min":"max",f=s(t[l]-e.get()),d=n.get()-e.get(),p=c.constrain(f/u);n.subtract(d*p),!o&&s(d)<i&&(n.set(t.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(t){l=!t}}}(ti,tp,tm,tg,J),scrollLooper:function(t,e,n,r){let{reachedMin:o,reachedMax:i}=b(e.min+.1,e.max+.1);return{loop:function(e){if(!(1===e?i(n.get()):-1===e&&o(n.get())))return;let u=-1*e*t;r.forEach(t=>t.add(u))}}}(te,ti,tp,[tf,tp,td,tm]),scrollProgress:tv,scrollSnapList:to.map(tv.get),scrollSnaps:to,scrollTarget:th,scrollTo:ty,slideLooper:function(t,e,n,r,o,i,u,c,l){let a=d(o),s=d(o).reverse(),f=g(m(s,u[0]),n,!1).concat(g(m(a,e-u[0]-1),-n,!0));function p(t,e){return t.reduce((t,e)=>t-o[e],e)}function m(t,e){return t.reduce((t,n)=>p(t,e)>0?t.concat([n]):t,[])}function g(o,u,a){let s=i.map((t,n)=>({start:t-r[n]+.5+u,end:t+e-.5+u}));return o.map(e=>{let r=a?0:-n,o=a?n:0,i=s[e][a?"end":"start"];return{index:e,loopPoint:i,slideLocation:x(-1),translate:S(t,l[e]),target:()=>c.get()>i?r:o}})}return{canLoop:function(){return f.every(t=>{let{index:n}=t;return .1>=p(a.filter(t=>t!==n),e)})},clear:function(){f.forEach(t=>t.translate.clear())},loop:function(){f.forEach(t=>{let{target:e,translate:n,slideLocation:r}=t,o=e();o!==r.get()&&(n.to(o),r.set(o))})},loopPoints:f}}(q,K,te,Y,G,_,to,tp,n),slideFocus:tw,slidesHandler:(O=!1,{init:function(t){z&&(w=new MutationObserver(e=>{!O&&(l(z)||z(t,e))&&function(e){for(let n of e)if("childList"===n.type){t.reInit(),a.emit("slidesChanged");break}}(e)})).observe(e,{childList:!0})},destroy:function(){w&&w.disconnect(),O=!0}}),slidesInView:tx,slideIndexes:tl,slideRegistry:tS,slidesToScroll:$,target:tm,translate:S(q,e)};return tO}(t,i,E,D,I,n,A);return n.loop&&!r.slideLooper.canLoop()?e(Object.assign({},n,{loop:!1})):r}(R),j([V,...U.map(t=>{let{options:e}=t;return e}
1)]).forEach(t=>N.add(t,"change",q)),R.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init(Q),r.eventHandler.init(Q),r.resizeHandler.init(Q),r.slidesHandler.init(Q),r.options.loop&&r.slideLooper.loop(),i.offsetParent&&E.length&&r.dragHandler.init(Q),o=M.init(Q,U))}function q(t,e){let n=X();K(),B(F({startIndex:n},t),e),A.emit("reInit")}function K(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),M.destroy(),N.clear()}function J(t,e,n){R.active&&!H&&(r.scrollBody.useBaseFriction().useDuration(!0===e?0:R.duration),r.scrollTo.index(t,n||0))}function X(){return r.index.get()}let Q={canScrollNext:function(){return r.index.add(1).get()!==X()},canScrollPrev:function(){return r.index.add(-1).get()!==X()},containerNode:function(){return i},internalEngine:function(){return r},destroy:function(){H||(H=!0,N.clear(),K(),A.emit("destroy"),A.clear())},off:P,on:C,emit:z,plugins:function(){return o},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:q,rootNode:function(){return t},scrollNext:function(t){J(r.index.add(1).get(),t,-1)},scrollPrev:function(t){J(r.index.add(-1).get(),t,1)},scrollProgress:function(){return r.scrollProgress.get(r.offsetLocation.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:J,selectedScrollSnap:X,slideNodes:function(){return E},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return B(e,n),setTimeout(()=>A.emit("init"),0),Q}function E(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=(0,n.useRef)(t),u=(0,n.useRef)(e),[c,l]=(0,n.use
1State)(),[a,s]=(0,n.useState)(),f=(0,n.useCallback)(()=>{c&&c.reInit(r.current,u.current)},[c]);return(0,n.useEffect)(()=>{o(r.current,t)||(r.current=t,f())},[t,f]),(0,n.useEffect)(()=>{!function(t,e){if(t.length!==e.length)return!1;let n=i(t),r=i(e);return n.every((t,e)=>o(t,r[e]))}(u.current,e)&&(u.current=e,f())},[e,f]),(0,n.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&a){O.globalOptions=E.globalOptions;let t=O(a,r.current,u.current);return l(t),()=>t.destroy()}l(void 0)},[a,l]),[s,c]}O.globalOptions=void 0,E.globalOptions=void 0;var k=t.i(75254);(0,k.default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),(0,k.default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var D=t.i(75157);t.i(19455);let I=n.createContext(null);function L(){let t=n.useContext(I);if(!t)throw Error("useCarousel must be used within a <Carousel />");return t}function M(t){let{orientation:r="horizontal",opts:o,setApi:i,plugins:u,className:c,children:l,...a}=t,[s,f]=E({...o,axis:"horizontal"===r?"x":"y"},u),[d,p]=n.useState(!1),[m,g]=n.useState(!1),h=n.useCallback(t=>{t&&(p(t.canScrollPrev()),g(t.canScrollNext()))},[]),y=n.useCallback(()=>{null==f||f.scrollPrev()},[f]),v=n.useCallback(()=>{null==f||f.scrollNext()},[f]),b=n.useCallback(t=>{"ArrowLeft"===t.key?(t.preventDefault(),y()):"ArrowRight"===t.key&&(t.preventDefault(),v())},[y,v]);return n.useEffect(()=>{f&&i&&i(f)},[f,i]),n.useEffect(()=>{if(f)return h(f),f.on("reInit",h),f.on("select",h),()=>{null==f||f.off("select",h)}},[f,h]),(0,e.jsx)(I.Provider,{value:{carouselRef:s,api:f,opts:o,orientation:r||((null==o?void 0:o.axis)==="y"?"vertical":"horizontal"),scrollPrev:y,scrollNext:v,canScrollPrev:d,canScrollNext:m},children:(0,e.jsx)("div",{onKeyDownCapture:b,className:(0,D.cn)("relative",c),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...a,children:l})})}function N(t){let{className:n,...r}=t,{carouselRef:o,orientation:i}=L();return(0,e.jsx)("div",{ref:o,className:"overflow-hidden","data-slot":"carousel-content",children:(0,e.jsx)("div",{className:(0,D.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",n),...r})})}function A(t){let{className:n,...r}=t,{orientation:o}=L();return(0,e.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,D.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===o?"pl-4":"pt-4",n),...r})}},37762,t=>{"use strict";t.s(["default",()=>n]);let e={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function n(){let t,r,o,i,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=null,l=0,a=!1,s=!1,f=!1,d=!1;function p(){if(!o){if(h()){f=!0;return}a||r.emit("autoplay:play");let{ownerWindow:t}=r.internalEngine();t.clearTimeout(l),l=t.setTimeout(S,i[r.selectedScrollSnap()]),c=new Date().getTime(),r.emit("autoplay:timerset"),a=!0}}function m(){if(!o){a&&r.emit("autoplay:stop");let{ownerWindow:t}=r.internalEngine();t.clearTimeout(l),l=0,c=null,r.emit("autoplay:timerstopped"),a=!1}}function g(){if(h())return f=a,m();f&&p()}function h(){let{ownerDocument:t}=r.internalEngine();return"hidden"===t.visibilityState}function y(){s||m()}function v(){s||p()}function b(){s=!0,m()}function x(){s=!1,p()}function S(){let{index:e}=r.internalEngine(),n=e.clone().add(1).get(),o=r.scrollSnapList().length-1,i=t.stopOnLastSnap&&n===o;if(r.canScrollNext()?r.scrollNext(d):r.scrollTo(0,d),r.emit("autoplay:select"),i)return m();p()}return{name:"autoplay",options:u,init:function(c,l){r=c;let{mergeOptions:a,optionsAtMedia:s}=l,f=a(e,n.globalOptions);if(t=s(a(f,u)),r.scrollSnapList().length<=1)return;d=t.jump,o=!1,i=function(t,e){let n=t.scrollSnapList();return"number"==typeof e?n.map(()=>e):e(n,t)}(r,t.delay);let{eventStore:h,ownerDocument:S}=r.internalEngine(),w=!!r.internalEngine().options.watchDrag,O=function(t,e){let n=t.rootNode();return e&&e(n)||n}(r,t.rootNode);h.add(S,"visibilitychange",g),w&&r.on("pointerDown",y),w&&!t.stopOn
1Interaction&&r.on("pointerUp",v),t.stopOnMouseEnter&&h.add(O,"mouseenter",b),t.stopOnMouseEnter&&!t.stopOnInteraction&&h.add(O,"mouseleave",x),t.stopOnFocusIn&&r.on("slideFocusStart",m),t.stopOnFocusIn&&!t.stopOnInteraction&&h.add(r.containerNode(),"focusout",p),t.playOnInit&&p()},destroy:function(){r.off("pointerDown",y).off("pointerUp",v).off("slideFocusStart",m),m(),o=!0,a=!1},play:function(t){void 0!==t&&(d=t),p()},stop:function(){a&&m()},reset:function(){a&&p()},isPlaying:function(){return a},timeUntilNext:function(){return c?i[r.selectedScrollSnap()]-(new Date().getTime()-c):null}}}n.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.