PageSourceSearch

https://genimg.org/_next/static/chunks/fff1f8af9674f01d.js

js genimg.org collected 2026-10-06 12:53:12 UTC 27,636 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,999787,e=>{"use strict";var t=e.i(466471),n=e.i(536355),r=e.i(884702);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 l(e){return"number"==typeof e}function a(e){return"string"==typeof e}function c(e){return"boolean"==typeof e}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function d(e){return Math.abs(e)}function f(e){return Math.sign(e)}function p(e){return b(e).map(Number)}function m(e){return e[g(e)]}function g(e){return Math.max(0,e.length-1)}function h(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function b(e){return Object.keys(e)}function x(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function v(){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=d(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 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 j={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 k(e,t,n){let r,o,i,u,N,_,E,C,O=e.ownerDocument,D=O.defaultView,I=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(b(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=b(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=>b(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(D),A=(C=[],{init:function(e,t){return(C=t.filter(({options:e})=>!1!==I.optionsAtMedia(e).active)).forEach(t=>t.init(e,I)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){C=C.filter(e=>e.destroy())}}),z=v(),L=(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:P,optionsAtMedia:F,optionsMediaQueries:M}=I,{on:T,off:H,emit:B}=L,R=!1,V=P(j,k.globalOptions),$=P(V),U=[];function q(t,n){R||($=F(V=P(V,t)),U=n||U,function(){let{container:t,slides:n}=$;_=(a(t)?e.querySelector(t):t)||e.children[0];let r=a(n)?_.querySelectorAll(n):n;E=[].slice.call(r||_.children)}(),u=function t(n){let r=function(e,t,n,r,o,i,u){var s,j;let k,N,_,E,C,O,D,I,A,z,L,P,F,M,{align:T,axis:H,direction:B,startIndex:R,loop:V,duration:$,dragFree:U,dragThreshold:q,inViewThreshold:K,slidesToScroll:J,skipSnaps:X,containScroll:Q,watchResize:Y,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=(N="rtl"===B,E=(_="y"===H)||!N?1:-1,C=_?"top":N?"right":"left",O=_?"bottom":N?"left":"right",{scroll:_?"y":"x",cross:_?"x":"y",startEdge:C,endEdge:O,measureSize:function(e){let{height:t,width:n}=e;return _?t:n},direction:function(e){return e*E}}),eo=er.measureSize(et),ei={measure:function(e){return e/100*eo}},eu=(s=T,j=eo,k={start:function(){return 0},center:function(e){return(j-e)/2},end:function(e){return j-e}},{measure:function(e,t){return a(s)?k[s](e):s(j,e,t)}}),el=!V&&!!Q,{slideSizes:ea,slideSizesWithGaps:ec,startGap:es,endGap:ed}=function(e,t,n,r,o,i){let{measureSize:u,startEdge:l,endEdge:a}=e,c=n[0]&&o,s=function(){if(!c)return 0;let e=n[0];return d(t[l]-e[l])}(),f=c?parseFloat(i.getComputedStyle(m(r)).getPropertyValue(`margin-${a}`)):0,p=n.map(u),h=n.map((e,t,n)=>{let r=t===g(n);return t?r?p[t]+f:n[t+1][l]-e[l]:p[t]+s}).map(d);return{slideSizes:p,slideSizesWithGaps:h,startGap:s,endGap:f}}(er,et,en,n,V||!!Q,o),ef=function(e,t,n,r,o,i,u,a,c){let{startEdge:s,endEdge:f,direction:h}=e,b=l(n);return{groupSlides:function(e){return b?p(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?p(e).reduce((n,l,c)=>{let p=m(n)||0,b=l===g(e),x=o[s]-i[p][s],v=o[s]-i[l][f],y=r||0!==p?0:h(u),w=d(v-(!r&&b?h(a):0)-(x+y));return c&&w>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,V,et,en,es,ed,0),{snaps:ep,snapsAligned:em}=function(e,t,n,r,o){let{startEdge:i,endEdge:u}=e,{groupSlides:l}=o,a=l(r).map(e=>m(e)[u]-e[0][i]).map(d).map(t.measure),c=r.map(e=>n[i]-e[i]).map(e=>-d(e)),s=l(c).map(e=>e[0]).map((e,t)=>e+a[t]);return{snaps:c,snapsAligned:s}}(er,eu,et,en,ef),eg=-m(ep)+m(ec),{snapsContained:eh,scrollContainLimit:eb}=function(e,t,n,r,o){let i,u,l=y(-t+e,0),a=n.map((e,t)=>{let{min:r,max:o}=l,i=l.constrain(e),u=t===g(n);return t?u||function(e,t){return 1>=d(e-t)}(r,i)?r:function(e,t){return 1>=d(e-t)}(o,i)?o:i:o}).map(e=>parseFloat(e.toFixed(3))),c=(i=a[0],u=m(a),y(a.lastIndexOf(i),a.indexOf(u)+1));return{snapsContained:function(){if(t<=e+2)return[l.max];if("keepSnaps"===r)return a;let{min:n,max:o}=c;return a.slice(n,o)}(),scrollContainLimit:c}}(eo,eg,em,Q,0),ex=el?eh:em,{limit:ev}=(D=ex[0],{limit:y(V?D-eg:m(ex),D)}),ey=function e(t,n,r){let{constrain:o}=y(0,t),i=t+1,u=l(n);function l(e){return r?d((i+e)%i):o(e)}function a(){return e(t,u,r)}let c={get:function(){return u},set:function(e){return u=l(e),c},add:function(e){return a().set(u+e)},clone:a};return c}(g(ex),R,V),ew=ey.clone(),eS=p(n),ej=function(e,t,n,r){let o=v(),i=1e3/60,u=null,l=0,a=0;function c(e){if(!a)return;u||(u=e,n(),n());let o=e-u;for(u=e,l+=o;l>=i;)n(),l-=i;r(l/i),a&&(a=t.requestAnimationFrame(c))}function s(){t.cancelAnimationFrame(a),u=null,l=0,a=0}return{init:function(){o.add(e,"visibilitychange",()=>{e.hidden&&(u=null,l=0)})},destroy:function(){s(),o.clear()},start:function(){a||(a=t.requestAnimationFrame(c))},stop:s,update:n,render:r}}(r,o,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eM),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:o,scrollLooper:i,slideLooper:u,dragHandler:l,animation:a,eventHandler:c,scrollBounds:s,options:{loop:d}},f)=>{let p=e.settled(),m=!s.shouldConstrain(),g=d?p:p&&m,h=g&&!l.pointerDown();h&&a.stop();let b=n.get()*f+o.get()*(1-f);r.set(b),d&&(i.loop(e.direction()),u.loop()),t.to(r.get()),h&&c.emit("settle"),g||c.emit("scroll")})(eM,e)),ek=ex[ey.get()],eN=w(ek),e_=w(ek),eE=w(ek),eC=w(ek),eO=function(e,t,n,r,o,i){let u=0,l=0,a=o,c=.68,s=e.get(),p=0;function m(e){return a=e,h}function g(e){return c=e,h}let h={direction:function(){return l},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*=c,s+=u,e.add(u),o=s-p):(u=0,n.set(r),e.set(r),o=t),l=f(o),p=s,h},settled:function(){return .001>d(r.get()-t.get())},useBaseFriction:function(){return g(.68)},useBaseDuration:function(){return m(o)},useFriction:g,useDuration:m};return h}(eN,eE,e_,eC,$,0),eD=function(e,t,n,r,o){let{reachedAny:i,removeOffset:u,constrain:l}=r;function a(e){return e.concat().sort((e,t)=>
1d(e)-d(t))[0]}function c(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):m(o)-n}return{byDistance:function(n,r){let a=o.get()+n,{index:s,distance:f}=function(n){let r=e?u(n):l(n),{index:o}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>d(e.diff)-d(t.diff))[0];return{index:o,distance:r}}(a),p=!e&&i(a);if(!r||p)return{index:s,distance:n};let m=n+c(t[s]-f,0);return{index:s,distance:m}},byIndex:function(e,n){let r=c(t[e]-o.get(),n);return{index:e,distance:r}},shortcut:c}}(V,ex,eg,ev,eC),eI=function(e,t,n,r,o,i,u){function l(o){let l=o.distance,a=o.index!==t.get();i.add(l),l&&(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){l(o.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);l(o.byIndex(r.get(),n))}}}(ej,ey,ew,eO,eD,eC,u),eA=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ev),ez=v(),eL=(A={},z=null,L=null,P=!1,{init:function(){I=new IntersectionObserver(e=>{P||(e.forEach(e=>{A[n.indexOf(e.target)]=e}),z=null,L=null,u.emit("slidesInView"))},{root:t.parentElement,threshold:K}),n.forEach(e=>I.observe(e))},destroy:function(){I&&I.disconnect(),P=!0},get:function(e=!0){if(e&&z)return z;if(!e&&L)return L;let t=b(A).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:o}=A[r];return(e&&o||!e&&!o)&&t.push(r),t},[]);return e&&(z=t),e||(L=t),t}}),{slideRegistry:eP}=function(e,t,n,r,o,i){let u,{groupSlides:l}=o,{min:a,max:c}=r;return{slideRegistry:(u=l(i),1===n.length?[i]:e&&"keepSnaps"!==t?u.slice(a,c).map((e,t,n)=>{let r=t===g(n);return t?r?h(g(i)-m(n)[0]+1,m(n)[0]):e:h(m(n[0])+1)}):u)}}(el,Q,ex,eb,ef,eS),eF=function(e,t,n,r,o,i,u,a){let s={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(p){a&&(i.add(document,"keydown",f,!1),t.forEach((t,f)=>{i.add(t,"focus",t=>{(c(a)||a(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)},s)}))}}}(e,n,eP,eI,eO,ez,u,Z),eM={ownerDocument:r,ownerWindow:o,eventHandler:u,containerRect:et,slideRects:en,animation:ej,axis:er,dragHandler:function(e,t,n,r,o,i,u,l,a,s,p,m,g,h,b,w,S,j,k){let{cross:N,direction:_}=e,E=["INPUT","SELECT","TEXTAREA"],C={passive:!1},O=v(),D=v(),I=y(50,225).constrain(h.measure(20)),A={mouse:300,touch:400},z={mouse:500,touch:600},L=b?43:25,P=!1,F=0,M=0,T=!1,H=!1,B=!1,R=!1;function V(e){if(!x(e,r)&&e.touches.length>=2)return $(e);let t=i.readPoint(e),n=i.readPoint(e,N),u=d(t-F),a=d(n-M);if(!H&&!R&&(!e.cancelable||!(H=u>a)))return $(e);let c=i.pointerMove(e);u>w&&(B=!0),s.useFriction(.3).useDuration(.75),l.start(),o.add(_(c)),e.preventDefault()}function $(e){var t;let n,r,o=p.byDistance(0,!1).index!==m.get(),u=i.pointerUp(e)*(b?z:A)[R?"mouse":"touch"],l=(t=_(u),n=m.add(-1*f(t)),r=p.byDistance(t,!b).distance,b||d(t)<I?r:S&&o?.5*r:p.byIndex(n.get(),0).distance),c=function(e,t){var n,r;if(0===e||0===t||d(e)<=d(t))return 0;let o=(n=d(e),r=d(t),d(n-r));return d(o/e)}(u,l);H=!1,T=!1,D.clear(),s.useDuration(L-10*c).useFriction(.68+c/50),a.distance(l,!b),R=!1,g.emit("pointerUp")}function U(e){B&&(e.stopPropagation(),e.preventDefault(),B=!1)}return{init:function(e){k&&O.add(t,"dragstart",e=>e.preventDefault(),C).add(t,"touchmove",()=>void 0,C).add(t,"touchend",()=>void 0).add(t,"touchstart",l).add(t,"mousedown",l).add(t,"touchcancel",$).add(t,"contextmenu",$).add(t,"click",U,!0);function l(l){(c(k)||k(e,l))&&function(e){let l,a=x(e,r);if((R=a,B=b&&a&&!e.buttons&&P,P=d(o.get()-u.get())>=2,!a||0===e.button)&&(l=e.target.nodeName||"",!E.includes(l))){let r;T=!0,i.pointerDown(e),s.useFriction(0).useDuration(0),o.set(u),r=R?n:t,D.add(r,"touchmove",V,C).add(r,"touchend",$).add(r,"mousemove",V,C).add(r,"mouseup",$),F=i.readPoint(e),M=i.readPoint(e,N),g.emit("pointerDown")}}(l)}},destroy:function(){O.clear(),D.clear()},pointerDown:function(){return T}}}(er,e,r,o,eC,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),l=o(e)-o(r)>170,a=t/u;return u&&!l&&d(a)>.1?a:0},readPoint:i}}(er,o),eN,ej,eI,eO,eD,ey,u,ei,U,q,X,0,W),eventStore:ez,percentOfView:ei,index:ey,indexPrevious:ew,limit:ev,location:eN,offsetLocation:eE,previousLocation:e_,options:i,resizeHandler:function(e,t,n,r,o,i,u){let l,a,s=[e].concat(r),f=[],p=!1;function m(e){return o.measureSize(u.measure(e))}
1return{init:function(o){i&&(a=m(e),f=r.map(m),l=new ResizeObserver(n=>{(c(i)||i(o,n))&&function(n){for(let i of n){if(p)return;let n=i.target===e,u=r.indexOf(i.target),l=n?a:f[u];if(d(m(n?e:r[u])-l)>=.5){o.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{s.forEach(e=>l.observe(e))}))},destroy:function(){p=!0,l&&l.disconnect()}}}(t,u,o,n,er,Y,ee),scrollBody:eO,scrollBounds:function(e,t,n,r,o){let i=o.measure(10),u=o.measure(50),l=y(.1,.99),a=!1;function c(){return!a&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(o){if(!c())return;let a=e.reachedMin(t.get())?"min":"max",s=d(e[a]-t.get()),f=n.get()-t.get(),p=l.constrain(s/u);n.subtract(f*p),!o&&d(f)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){a=!e}}}(ev,eE,eC,eO,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))}}}(eg,ev,eE,[eN,eE,e_,eC]),scrollProgress:eA,scrollSnapList:ex.map(eA.get),scrollSnaps:ex,scrollTarget:eD,scrollTo:eI,slideLooper:function(e,t,n,r,o,i,u,l,a){let c=p(o),s=p(o).reverse(),d=g(m(s,u[0]),n,!1).concat(g(m(c,t-u[0]-1),-n,!0));function f(e,t){return e.reduce((e,t)=>e-o[t],t)}function m(e,t){return e.reduce((e,n)=>f(e,t)>0?e.concat([n]):e,[])}function g(o,u,c){let s=i.map((e,n)=>({start:e-r[n]+.5+u,end:e+t-.5+u}));return o.map(t=>{let r=c?0:-n,o=c?n:0,i=s[t][c?"end":"start"];return{index:t,loopPoint:i,slideLocation:w(-1),translate:S(e,a[t]),target:()=>l.get()>i?r:o}})}return{canLoop:function(){return d.every(({index:e})=>.1>=f(c.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,eg,ea,ec,ep,ex,eE,n),slideFocus:eF,slidesHandler:(M=!1,{init:function(e){G&&(F=new MutationObserver(t=>{!M&&(c(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(){F&&F.disconnect(),M=!0}}),slidesInView:eL,slideIndexes:eS,slideRegistry:eP,slidesToScroll:ef,target:eC,translate:S(er,t)};return eM}(e,_,E,O,D,n,L);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}($),M([V,...U.map(({options:e})=>e)]).forEach(e=>z.add(e,"change",K)),$.active&&(u.translate.to(u.location.get()),u.animation.init(),u.slidesInView.init(),u.slideFocus.init(Y),u.eventHandler.init(Y),u.resizeHandler.init(Y),u.slidesHandler.init(Y),u.options.loop&&u.slideLooper.loop(),_.offsetParent&&E.length&&u.dragHandler.init(Y),N=A.init(Y,U)))}function K(e,t){let n=Q();J(),q(P({startIndex:n},e),t),L.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(),z.clear()}function X(e,t,n){$.active&&!R&&(u.scrollBody.useBaseFriction().useDuration(!0===t?0:$.duration),u.scrollTo.index(e,n||0))}function Q(){return u.index.get()}let Y={canScrollNext:function(){return u.index.add(1).get()!==Q()},canScrollPrev:function(){return u.index.add(-1).get()!==Q()},containerNode:function(){return _},internalEngine:function(){return u},destroy:function(){R||(R=!0,z.clear(),J(),L.emit("destroy"),L.clear())},off:H,on:T,emit:B,plugins:function(){return N},previousScrollSnap:function(){return u.indexPrevious.get()},reInit:K,rootNode:function(){return e},scrollNext:function(e){X(u.index.add(1).get(),e,-1)},scrollPrev:function(e){X(u.index.add(-1).get(),e,1)},scrollProgress:function(){return u.scrollProgress.get(u.offsetLocation.get())},scrollSnapList:function(){return u.scrollSnapList}
1,scrollTo:X,selectedScrollSnap:Q,slideNodes:function(){return E},slidesInView:function(){return u.slidesInView.get()},slidesNotInView:function(){return u.slidesInView.get(!1)}};return q(t,n),setTimeout(()=>L.emit("init"),0),Y}function N(e={},t=[]){let n=(0,r.useRef)(e),o=(0,r.useRef)(t),[l,a]=(0,r.useState)(),[c,s]=(0,r.useState)(),d=(0,r.useCallback)(()=>{l&&l.reInit(n.current,o.current)},[l]);return(0,r.useEffect)(()=>{i(n.current,e)||(n.current=e,d())},[e,d]),(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,d())},[t,d]),(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&c){k.globalOptions=N.globalOptions;let e=k(c,n.current,o.current);return a(e),()=>e.destroy()}a(void 0)},[c,a]),[s,l]}k.globalOptions=void 0,N.globalOptions=void 0;var _=e.i(9626),_=_,E=e.i(695859),C=e.i(526683),O=e.i(511398);let D=r.createContext(null);function I(){let e=r.useContext(D);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function A(e){let o,i,u,l,a,c,s,d,f,p,m,g,h,b,x,v,y,w,S,j,k=(0,n.c)(45);k[0]!==e?({orientation:s,opts:u,setApi:c,plugins:l,className:i,children:o,...a}=e,k[0]=e,k[1]=o,k[2]=i,k[3]=u,k[4]=l,k[5]=a,k[6]=c,k[7]=s):(o=k[1],i=k[2],u=k[3],l=k[4],a=k[5],c=k[6],s=k[7]);let _=void 0===s?"horizontal":s,E="horizontal"===_?"x":"y";k[8]!==u||k[9]!==E?(d={...u,axis:E},k[8]=u,k[9]=E,k[10]=d):d=k[10];let[O,I]=N(d,l),[A,z]=r.useState(!1),[L,P]=r.useState(!1);k[11]===Symbol.for("react.memo_cache_sentinel")?(f=e=>{e&&(z(e.canScrollPrev()),P(e.canScrollNext()))},k[11]=f):f=k[11];let F=f;k[12]!==I?(p=()=>{I?.scrollPrev()},k[12]=I,k[13]=p):p=k[13];let M=p;k[14]!==I?(m=()=>{I?.scrollNext()},k[14]=I,k[15]=m):m=k[15];let T=m;k[16]!==T||k[17]!==M?(g=e=>{"ArrowLeft"===e.key?(e.preventDefault(),M()):"ArrowRight"===e.key&&(e.preventDefault(),T())},k[16]=T,k[17]=M,k[18]=g):g=k[18];let H=g;k[19]!==I||k[20]!==c?(h=()=>{I&&c&&c(I)},b=[I,c],k[19]=I,k[20]=c,k[21]=h,k[22]=b):(h=k[21],b=k[22]),r.useEffect(h,b),k[23]!==I?(x=()=>{if(I)return F(I),I.on("reInit",F),I.on("select",F),()=>{I?.off("select",F)}},v=[I,F],k[23]=I,k[24]=x,k[25]=v):(x=k[24],v=k[25]),r.useEffect(x,v);let B=_||(u?.axis==="y"?"vertical":"horizontal");return k[26]!==I||k[27]!==L||k[28]!==A||k[29]!==O||k[30]!==u||k[31]!==T||k[32]!==M||k[33]!==B?(y={carouselRef:O,api:I,opts:u,orientation:B,scrollPrev:M,scrollNext:T,canScrollPrev:A,canScrollNext:L},k[26]=I,k[27]=L,k[28]=A,k[29]=O,k[30]=u,k[31]=T,k[32]=M,k[33]=B,k[34]=y):y=k[34],k[35]!==i?(w=(0,C.cn)("relative",i),k[35]=i,k[36]=w):w=k[36],k[37]!==o||k[38]!==H||k[39]!==a||k[40]!==w?(S=(0,t.jsx)("div",{onKeyDownCapture:H,className:w,role:"region","aria-roledescription":"carousel","data-slot":"carousel",...a,children:o}),k[37]=o,k[38]=H,k[39]=a,k[40]=w,k[41]=S):S=k[41],k[42]!==y||k[43]!==S?(j=(0,t.jsx)(D.Provider,{value:y,children:S}),k[42]=y,k[43]=S,k[44]=j):j=k[44],j}function z(e){let r,o,i,u,l,a=(0,n.c)(12);a[0]!==e?({className:r,...o}=e,a[0]=e,a[1]=r,a[2]=o):(r=a[1],o=a[2]);let{carouselRef:c,orientation:s}=I(),d="horizontal"===s?"-ml-4":"-mt-4 flex-col";return a[3]!==r||a[4]!==d?(i=(0,C.cn)("flex",d,r),a[3]=r,a[4]=d,a[5]=i):i=a[5],a[6]!==o||a[7]!==i?(u=(0,t.jsx)("div",{className:i,...o}),a[6]=o,a[7]=i,a[8]=u):u=a[8],a[9]!==c||a[10]!==u?(l=(0,t.jsx)("div",{ref:c,className:"overflow-hidden","data-slot":"carousel-content",children:u}),a[9]=c,a[10]=u,a[11]=l):l=a[11],l}function L(e){let r,o,i,u,l=(0,n.c)(9);l[0]!==e?({className:r,...o}=e,l[0]=e,l[1]=r,l[2]=o):(r=l[1],o=l[2]);let{orientation:a}=I(),c="horizontal"===a?"pl-4":"pt-4";return l[3]!==r||l[4]!==c?(i=(0,C.cn)("min-w-0 shrink-0 grow-0 basis-full",c,r),l[3]=r,l[4]=c,l[5]=i):i=l[5],l[6]!==o||l[7]!==i?(u=(0,t.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:i,...o}),l[6]=o,l[7]=i,l[8]=u):u=l[8],u}function P(e){let r,o,i,u,l,a,c,s,d=(0,n.c)(17);d[0]!==e?({className:r,variant:i,size:u,...o}=e,d[0]=e,d[1]=r,d[2]=o,d[3]=i,d[4]=u):(r=d[1],o=d[2],i=d[3],u=d[4]);let f=void 0===i?"outline":i,p=void 0===u?"icon":u,{orientation:m,scrollPrev:g,canScrollPrev:h}=I(),b="horizontal"===m?"top-1/2 -left-12 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90";d[5]!==r||d[6]!==b?(l=(0,C.cn)("absolute size-8 rounded-full",b,r),d[5]=r,d[6]=b,d[7]=l):l=d[7];let x=!h;return d[8]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(_.default,{}),c=(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"}),d[8]=a,d[9]=c):(a=d[8],c=d[9]),d[10]!==o||d[11]!==g||d[12]!==p||d[13]!==l||d[14]!==x||d[15]!==f?(s=(0,t.jsxs)(O.Button,{"data-slot":"carousel-previous",variant:f,size:p,className:l,disabled:x,onClick:g,...o,children:[a,c]}),d[10]=o,d[11]=g,d[12]=p,d[13]=l,d[14]=x,d[15]=f,d[16]=s):s=d[16],s}function F(e){let r,o,i,u,l,a,c,s,d=(0,n.c)(17);d[0]!==e?({className:r,variant:i,size:u,...o}=e,d[0]=e,d[1]=r,d[2]=o,d[3]=i,d[4]=u):(r=d[1],o=d[2],i=d[3],u=d[4]);let f=void 0===i?"outline":i,p=void 0===u?"icon":u,{orientation:m,scrollNext:g,canScrollNext:h}=I(),b="horizontal"===m?"top-1/2 -right-12 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90";d[5]!==r||d[6]!==b?(l=(0,C.cn)("absolute size-8 rounded-full",b,r),d[5]=r,d[6]=b,d[7]=l):l=d[7];let x=!h;return d[8]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(E.ArrowRight,{}),c=(0,t.jsx)("span",{className:"sr-only",children:"Next slide"}),d[8]=a,d[9]=c):(a=d[8],c=d[9]),d[10]!==o||d[11]!==g||d[12]!==p||d[13]!==l||d[14]!==x||d[15]!==f?(s=(0,t.jsxs)(O.Button,{"data-slot":"carousel-next",variant:f,size:p,className:l,disabled:x,onClick:g,...o,children:[a,c]}),d[10]=o,d[11]=g,d[12]=p,d[13]=l,d[14]=x,d[15]=f,d[16]=s):s=d[16],s}e.s(["Carousel",()=>A,"CarouselContent",()=>z,"CarouselItem",()=>L,"CarouselNext",()=>F,"CarouselPrevious",()=>P],999787)},610766,e=>{"use strict";var t=e.i(466471),n=e.i(536355),r=e.i(884702),o=e.i(103979),i=e.i(199978),u=e.i(999787),l=e.i(526683);function a(e){let o,a,s,d,f,p,m,g,h,b,x,v,y,w,S,j,k,N,_,E=(0,n.c)(43),{slides:C,className:O}=e,[D,I]=(0,r.useState)(),[A,z]=(0,r.useState)(0);E[0]!==D?(o=()=>{D?.scrollNext()},E[0]=D,E[1]=o):o=E[1];let L=o;E[2]===Symbol.for("react.memo_cache_sentinel")?(a=e=>{e&&z(e.selectedScrollSnap())},E[2]=a):a=E[2];let P=a;E[3]!==D?(s=()=>
1{if(D)return P(D),D.on("reInit",P),D.on("select",P),()=>{D.off("reInit",P),D.off("select",P)}},d=[D,P],E[3]=D,E[4]=s,E[5]=d):(s=E[4],d=E[5]),(0,r.useEffect)(s,d),E[6]!==D||E[7]!==L||E[8]!==C.length?(f=()=>{if(!D||C.length<=1)return;let e=window.setInterval(()=>{L()},5e3);return()=>window.clearInterval(e)},p=[D,L,C.length],E[6]=D,E[7]=L,E[8]=C.length,E[9]=f,E[10]=p):(f=E[9],p=E[10]),(0,r.useEffect)(f,p),E[11]!==D?(m=e=>{D?.scrollTo(e)},E[11]=D,E[12]=m):m=E[12];let F=m;if(!C.length)return null;let M=C.length>1,T=C[A]??C[0];return E[13]!==O?(g=(0,l.cn)("group/hero-carousel w-full max-w-xl",O),E[13]=O,E[14]=g):g=E[14],E[15]===Symbol.for("react.memo_cache_sentinel")?(h={align:"start",loop:!0},E[15]=h):h=E[15],E[16]!==C?(b=C.map(c),E[16]=C,E[17]=b):b=E[17],E[18]!==b?(x=(0,t.jsx)(u.CarouselContent,{className:"-ml-2 md:-ml-4",children:b}),E[18]=b,E[19]=x):x=E[19],E[20]!==M?(v=M&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.CarouselPrevious,{type:"button",className:(0,l.cn)("border-border/60 bg-background/78 text-foreground hover:bg-background/92 top-1/2 z-20 h-9 w-9 -translate-y-1/2 shadow-lg backdrop-blur-xl transition-colors","left-2 md:left-3")}),(0,t.jsx)(u.CarouselNext,{type:"button",className:(0,l.cn)("border-border/60 bg-background/78 text-foreground hover:bg-background/92 top-1/2 z-20 h-9 w-9 -translate-y-1/2 shadow-lg backdrop-blur-xl transition-colors","right-2 md:right-3")})]}),E[20]=M,E[21]=v):v=E[21],E[22]!==x||E[23]!==v?(y=(0,t.jsxs)(u.Carousel,{setApi:I,opts:h,className:"w-full",children:[x,v]}),E[22]=x,E[23]=v,E[24]=y):y=E[24],E[25]!==T.title?(w=(0,t.jsx)("p",{className:"text-foreground text-sm leading-snug font-semibold md:text-base",children:T.title}),E[25]=T.title,E[26]=w):w=E[26],E[27]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)("p",{className:"text-muted-foreground mt-1 text-xs font-medium",children:"Open tool"}),E[27]=S):S=E[27],E[28]!==w?(j=(0,t.jsxs)("div",{className:"border-border/60 bg-background/72 hover:bg-background/86 rounded-2xl border px-3.5 py-3 shadow-[0_20px_45px_-24px_rgba(15,23,42,0.28)] backdrop-blur-xl transition sm:px-4 sm:py-4 dark:shadow-[0_20px_45px_-30px_rgba(2,8,23,0.8)]",children:[w,S]}),E[28]=w,E[29]=j):j=E[29],E[30]!==T.href||E[31]!==j?(k=(0,t.jsx)(i.Link,{href:T.href,className:"mt-4 block",children:j}),E[30]=T.href,E[31]=j,E[32]=k):k=E[32],E[33]!==F||E[34]!==A||E[35]!==M||E[36]!==C?(N=M&&(0,t.jsx)("div",{className:"mt-3 flex justify-center",children:(0,t.jsx)("div",{className:"border-border/60 bg-background/75 flex max-w-[min(100%,280px)] flex-wrap justify-center gap-2 rounded-full border px-3 py-2 shadow-[0_18px_40px_-24px_rgba(15,23,42,0.22)] backdrop-blur-xl dark:shadow-[0_18px_40px_-28px_rgba(2,8,23,0.82)]",role:"tablist","aria-label":"Carousel slides",children:C.map((e,n)=>(0,t.jsx)("button",{type:"button",role:"tab","aria-selected":A===n,"aria-label":`Slide ${n+1} of ${C.length}`,className:(0,l.cn)("focus-visible:outline-ring h-2.5 min-w-2.5 rounded-full transition-all duration-300 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",A===n?"bg-foreground w-8 shadow-[0_4px_12px_rgba(15,23,42,0.2)]":"bg-muted-foreground/35 hover:bg-muted-foreground/60 w-2.5"),onClick:e=>{e.preventDefault(),e.stopPropagation(),F(n)}},n))})}),E[33]=F,E[34]=A,E[35]=M,E[36]=C,E[37]=N):N=E[37],E[38]!==y||E[39]!==k||E[40]!==N||E[41]!==g?(_=(0,t.jsxs)("div",{className:g,children:[y,k,N]}),E[38]=y,E[39]=k,E[40]=N,E[41]=g,E[42]=_):_=E[42],_}function c(e,n){return(0,t.jsx)(u.CarouselItem,{className:"pl-2 md:pl-4",children:(0,t.jsx)(i.Link,{href:e.href,className:"group block transition hover:-translate-y-0.5",children:(0,t.jsx)("div",{className:"group-hover:ring-primary/20 border-border/60 bg-background/70 overflow-hidden rounded-[1.75rem] border shadow-[0_22px_60px_-30px_rgba(15,23,42,0.32)] ring-1 ring-white/10 backdrop-blur-xl transition dark:shadow-[0_24px_70px_-40px_rgba(2,8,23,0.9)]",children:(0,t.jsx)("div",{className:"bg-muted relative aspect-[4/3] w-full overflow-hidden",children:(0,t.jsx)(o.default,{src:e.imageSrc,alt:e.imageAlt,fill:!0,sizes:"(max-width: 768px) 100vw, 480px",className:"object-cover transition duration-300 group-hover:scale-[1.02]",priority:0===n})})})})},`${e.href}-${n}`)}
1e.s(["HeroToolsCarousel",()=>a])}]);

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.