1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,919737,e=>{"use strict";var t=e.i(656422),n=e.i(501942);function r(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function i(e,t){let n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let a=e[n],o=t[n];return"function"==typeof a?`${a}`==`${o}`:r(a)&&r(o)?i(a,o):a===o})}function a(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function o(e){return"number"==typeof e}function l(e){return"string"==typeof e}function s(e){return"boolean"==typeof e}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return Math.abs(e)}function d(e){return Math.sign(e)}function f(e){return g(e).map(Number)}function m(e){return e[h(e)]}function h(e){return Math.max(0,e.length-1)}function p(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function g(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,i,a={passive:!0}){let o;return"addEventListener"in n?(n.addEventListener(r,i,a),o=()=>n.removeEventListener(r,i,a)):(n.addListener(i),o=()=>n.removeListener(i)),e.push(o),t},clear:function(){e=e.filter(e=>e())}};return t}function b(e=0,t=0){let n=u(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 y(e){let t=e;function n(e){return o(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,i=null,a=!1;return{clear:function(){!a&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(a)return;let o=Math.round(100*e.direction(t))/100;o!==i&&(r.transform=n(o),i=o)},toggleActive:function(e){a=!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 N(e,t,n){let r,i,a,k,S,C,A,E,I=e.ownerDocument,D=I.defaultView,M=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(g(n).forEach(r=>{let i=t[r],a=n[r],o=c(i)&&c(a);t[r]=o?e(i,a):a}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=g(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>g(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(D),O=(E=[],{init:function(e,t){return(E=t.filter(({options:e})=>!1!==M.optionsAtMedia(e).active)).forEach(t=>t.init(e,M)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){E=E.filter(e=>e.destroy())}}),F=v(),P=(i={},a={init:function(e){r=e},emit:function(e){return(i[e]||[]).forEach(t=>t(r,e)),a},off:function(e,t){return i[e]=(i[e]||[]).filter(e=>e!==t),a},on:function(e,t){return i[e]=(i[e]||[]).concat([t]),a},clear:function(){i={}}}),{mergeOptions:T,optionsAtMedia:L,optionsMediaQueries:R}=M,{on:U,off:z,emit:B}=P,V=!1,q=T(j,N.globalOptions),H=T(q),$=[];function K(t,n){V||(H=L(q=T(q,t)),$=n||$,function(){let{container:t,slides:n}=H;C=(l(t)?e.querySelector(t):t)||e.children[0];let r=l(n)?C.querySelectorAll(n):n;A=[].slice.call(r||C.children)}(),k=function t(n){let r=function(e,t,n,r,i,a,c){var j,N;let k,S,C,A,E,I,D,M,O,F,P,T,L,R,{align:U,axis:z,direction:B,startIndex:V,loop:q,duration:H,dragFree:$,dragThreshold:K,inViewThreshold:G,slidesToScroll:Y,skipSnaps:J,containScroll:X,watchResize:Q,watchSlides:W,wat
1chDrag:_,watchFocus:Z}=a,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},et=ee.measure(t),en=n.map(ee.measure),er=(S="rtl"===B,A=(C="y"===z)||!S?1:-1,E=C?"top":S?"right":"left",I=C?"bottom":S?"left":"right",{scroll:C?"y":"x",cross:C?"x":"y",startEdge:E,endEdge:I,measureSize:function(e){let{height:t,width:n}=e;return C?t:n},direction:function(e){return e*A}}),ei=er.measureSize(et),ea={measure:function(e){return e/100*ei}},eo=(j=U,N=ei,k={start:function(){return 0},center:function(e){return(N-e)/2},end:function(e){return N-e}},{measure:function(e,t){return l(j)?k[j](e):j(N,e,t)}}),el=!q&&!!X,{slideSizes:es,slideSizesWithGaps:ec,startGap:eu,endGap:ed}=function(e,t,n,r,i,a){let{measureSize:o,startEdge:l,endEdge:s}=e,c=n[0]&&i,d=function(){if(!c)return 0;let e=n[0];return u(t[l]-e[l])}(),f=c?parseFloat(a.getComputedStyle(m(r)).getPropertyValue(`margin-${s}`)):0,p=n.map(o),g=n.map((e,t,n)=>{let r=t===h(n);return t?r?p[t]+f:n[t+1][l]-e[l]:p[t]+d}).map(u);return{slideSizes:p,slideSizesWithGaps:g,startGap:d,endGap:f}}(er,et,en,n,q||!!X,i),ef=function(e,t,n,r,i,a,l,s,c){let{startEdge:d,endEdge:p,direction:g}=e,x=o(n);return{groupSlides:function(e){return x?f(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?f(e).reduce((n,o,c)=>{let f=m(n)||0,x=o===h(e),v=i[d]-a[f][d],b=i[d]-a[o][p],y=r||0!==f?0:g(l),w=u(b-(!r&&x?g(s):0)-(v+y));return c&&w>t+2&&n.push(o),x&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(er,ei,Y,q,et,en,eu,ed,0),{snaps:em,snapsAligned:eh}=function(e,t,n,r,i){let{startEdge:a,endEdge:o}=e,{groupSlides:l}=i,s=l(r).map(e=>m(e)[o]-e[0][a]).map(u).map(t.measure),c=r.map(e=>n[a]-e[a]).map(e=>-u(e)),d=l(c).map(e=>e[0]).map((e,t)=>e+s[t]);return{snaps:c,snapsAligned:d}}(er,eo,et,en,ef),ep=-m(em)+m(ec),{snapsContained:eg,scrollContainLimit:ex}=function(e,t,n,r,i){let a,o,l=b(-t+e,0),s=n.map((e,t)=>{let{min:r,max:i}=l,a=l.constrain(e),o=t===h(n);return t?o||function(e,t){return 1>=u(e-t)}(r,a)?r:function(e,t){return 1>=u(e-t)}(i,a)?i:a:i}).map(e=>parseFloat(e.toFixed(3))),c=(a=s[0],o=m(s),b(s.lastIndexOf(a),s.indexOf(o)+1));return{snapsContained:function(){if(t<=e+2)return[l.max];if("keepSnaps"===r)return s;let{min:n,max:i}=c;return s.slice(n,i)}(),scrollContainLimit:c}}(ei,ep,eh,X,0),ev=el?eg:eh,{limit:eb}=(D=ev[0],{limit:b(q?D-ep:m(ev),D)}),ey=function e(t,n,r){let{constrain:i}=b(0,t),a=t+1,o=l(n);function l(e){return r?u((a+e)%a):i(e)}function s(){return e(t,o,r)}let c={get:function(){return o},set:function(e){return o=l(e),c},add:function(e){return s().set(o+e)},clone:s};return c}(h(ev),V,q),ew=ey.clone(),ej=f(n),eN=function(e,t,n,r){let i=v(),a=1e3/60,o=null,l=0,s=0;function c(e){if(!s)return;o||(o=e,n(),n());let i=e-o;for(o=e,l+=i;l>=a;)n(),l-=a;r(l/a),s&&(s=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(s),o=null,l=0,s=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(o=null,l=0)})},destroy:function(){u(),i.clear()},start:function(){s||(s=t.requestAnimationFrame(c))},stop:u,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eR),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:a,slideLooper:o,dragHandler:l,animation:s,eventHandler:c,scrollBounds:u,options:{loop:d}},f)=>{let m=e.settled(),h=!u.shouldConstrain(),p=d?m:m&&h,g=p&&!l.pointerDown();g&&s.stop();let x=n.get()*f+i.get()*(1-f);r.set(x),d&&(a.loop(e.direction()),o.loop()),t.to(r.get()),g&&c.emit("settle"),p||c.emit("scroll")})(eR,e)),ek=ev[ey.get()],eS=y(ek),eC=y(ek),eA=y(ek),eE=y(ek),eI=function(e,t,n,r,i,a){let o=0,l=0,s=i,c=.68,f=e.get(),m=0;function h(e){return s=e,g}function p(e){return c=e,g}let g={direction:function(){return l},duration:function(){return s},velocity:function(){return o},seek:function(){let t=r.get()-e.get(),i=0;return s?(n.set(e),o+=t/s,o*=c,f+=o,e.add(o),i=f-m):(o=0,n.set(r),e.set(r),i=t),l=d(i),m=f,g},settled:function(){return .001>u(r.get()-t.get())},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return h(i)},useFriction:p,useDuration:h};return g}(eS,eA,eC,eE,H,0),eD=function(e,t,n,r,i){let{reachedAny:a,removeOffset:o,constrain:l}=r;function s(e){return e.concat().sort((e,t)=>
1u(e)-u(t))[0]}function c(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return s(i);let a=i.filter(e=>d(e)===r);return a.length?s(a):m(i)-n}return{byDistance:function(n,r){let s=i.get()+n,{index:d,distance:f}=function(n){let r=e?o(n):l(n),{index:i}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>u(e.diff)-u(t.diff))[0];return{index:i,distance:r}}(s),m=!e&&a(s);if(!r||m)return{index:d,distance:n};let h=n+c(t[d]-f,0);return{index:d,distance:h}},byIndex:function(e,n){let r=c(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:c}}(q,ev,ep,eb,eE),eM=function(e,t,n,r,i,a,o){function l(i){let l=i.distance,s=i.index!==t.get();a.add(l),l&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),s&&(n.set(t.get()),t.set(i.index),o.emit("select"))}return{distance:function(e,t){l(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);l(i.byIndex(r.get(),n))}}}(eN,ey,ew,eI,eD,eE,c),eO=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eb),eF=v(),eP=(O={},F=null,P=null,T=!1,{init:function(){M=new IntersectionObserver(e=>{T||(e.forEach(e=>{O[n.indexOf(e.target)]=e}),F=null,P=null,c.emit("slidesInView"))},{root:t.parentElement,threshold:G}
1),n.forEach(e=>M.observe(e))},destroy:function(){M&&M.disconnect(),T=!0},get:function(e=!0){if(e&&F)return F;if(!e&&P)return P;let t=g(O).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=O[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(F=t),e||(P=t),t}}),{slideRegistry:eT}=function(e,t,n,r,i,a){let o,{groupSlides:l}=i,{min:s,max:c}=r;return{slideRegistry:(o=l(a),1===n.length?[a]:e&&"keepSnaps"!==t?o.slice(s,c).map((e,t,n)=>{let r=t===h(n);return t?r?p(h(a)-m(n)[0]+1,m(n)[0]):e:p(m(n[0])+1)}):o)}}(el,X,ev,ex,ef,ej),eL=function(e,t,n,r,i,a,l,c){let u={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(m){c&&(a.add(document,"keydown",f,!1),t.forEach((t,f)=>{a.add(t,"focus",t=>{(s(c)||c(m,t))&&function(t){if(new Date().getTime()-d>10)return;l.emit("slideFocusStart"),e.scrollLeft=0;let a=n.findIndex(e=>e.includes(t));o(a)&&(i.useDuration(0),r.index(a,0),l.emit("slideFocus"))}(f)},u)}))}}}(e,n,eT,eM,eI,eF,c,Z),eR={ownerDocument:r,ownerWindow:i,eventHandler:c,containerRect:et,slideRects:en,animation:eN,axis:er,dragHandler:function(e,t,n,r,i,a,o,l,c,f,m,h,p,g,y,w,j,N,k){let{cross:S,direction:C}=e,A=["INPUT","SELECT","TEXTAREA"],E={passive:!1},I=v(),D=v(),M=b(50,225).constrain(g.measure(20)),O={mouse:300,touch:400},F={mouse:500,touch:600},P=y?43:25,T=!1,L=0,R=0,U=!1,z=!1,B=!1,V=!1;function q(e){if(!x(e,r)&&e.touches.length>=2)return H(e);let t=a.readPoint(e),n=a.readPoint(e,S),o=u(t-L),s=u(n-R);if(!z&&!V&&(!e.cancelable||!(z=o>s)))return H(e);let c=a.pointerMove(e);o>w&&(B=!0),f.useFriction(.3).useDuration(.75),l.start(),i.add(C(c)),e.preventDefault()}function H(e){var t;let n,r,i=m.byDistance(0,!1).index!==h.get(),o=a.pointerUp(e)*(y?F:O)[V?"mouse":"touch"],l=(t=C(o),n=h.add(-1*d(t)),r=m.byDistance(t,!y).distance,y||u(t)<M?r:j&&i?.5*r:m.byIndex(n.get(),0).distance),s=function(e,t){var n,r;if(0===e||0===t||u(e)<=u(t))return 0;let i=(n=u(e),r=u(t),u(n-r));return u(i/e)}(o,l);z=!1,U=!1,D.clear(),f.useDuration(P-10*s).useFriction(.68+s/50),c.distance(l,!y),V=!1,p.emit("pointerUp")}function $(e){B&&(e.stopPropagation(),e.preventDefault(),B=!1)}return{init:function(e){k&&I.add(t,"dragstart",e=>e.preventDefault(),E).add(t,"touchmove",()=>void 0,E).add(t,"touchend",()=>void 0).add(t,"touchstart",l).add(t,"mousedown",l).add(t,"touchcancel",H).add(t,"contextmenu",H).add(t,"click",$,!0);function l(l){(s(k)||k(e,l))&&function(e){let l,s=x(e,r);if((V=s,B=y&&s&&!e.buttons&&T,T=u(i.get()-o.get())>=2,!s||0===e.button)&&(l=e.target.nodeName||"",!A.includes(l))){let r;U=!0,a.pointerDown(e),f.useFriction(0).useDuration(0),i.set(o),r=V?n:t,D.add(r,"touchmove",q,E).add(r,"touchend",H).add(r,"mousemove",q,E).add(r,"mouseup",H),L=a.readPoint(e),R=a.readPoint(e,S),p.emit("pointerDown")}}(l)}},destroy:function(){I.clear(),D.clear()},pointerDown:function(){return U}}}(er,e,r,i,eE,function(e,t){let n,r;function i(e){return e.timeStamp}function a(n,r){let i=r||e.scroll,a=`client${"x"===i?"X":"Y"}`;return(x(n,t)?n:n.touches[0])[a]}return{pointerDown:function(e){return n=e,r=e,a(e)},pointerMove:function(e){let t=a(e)-a(r),o=i(e)-i(n)>170;return r=e,o&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=a(r)-a(n),o=i(e)-i(n),l=i(e)-i(r)>170,s=t/o;return o&&!l&&u(s)>.1?s:0},readPoint:a}}(er,i),eS,eN,eM,eI,eD,ey,c,ea,$,K,J,0,_),eventStore:eF,percentOfView:ea,index:ey,indexPrevious:ew,limit:eb,location:eS,offsetLocation:eA,previousLocation:eC,options:a,resizeHandler:function(e,t,n,r,i,a,o){let l,c,d=[e].concat(r),f=[],m=!1;function h(e){return i.measureSize(o.measure(e))}return{init:function(i){a&&(c=h(e),f=r.map(h),l=new ResizeObserver(n=>{(s(a)||a(i,n))&&function(n){for(let a of n){if(m)return;let n=a.target===e,o=r.indexOf(a.target),l=n?c:f[o];if(u(h(n?e:r[o])-l)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{d.forEach(e=>l.observe(e))}))},destroy:function(){m=!0,l&&l.disconnect()}}}(t,c,i,n,er,Q,ee),scrollBody:eI,scrollBounds:function(e,t,n,r,i){let a=i.measure(10),o=i.measure(50),l=b(.1,.99),s=!1;function c(){return!s&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(i){if(!c())return;let s=e.reachedMin(t.get())?"min":"max",d=u(e[s]-t.get()),f=n.get()-t.get(),m=l.constrain(d/o);n.subtract(f*m),!i&&u(f)<a&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){s=!e}}}(eb,eA,eE,eI,ea),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:a}=b(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?a(n.get()):-1===t&&i(n.get())))return;let o=-1*t*e;
1r.forEach(e=>e.add(o))}}}(ep,eb,eA,[eS,eA,eC,eE]),scrollProgress:eO,scrollSnapList:ev.map(eO.get),scrollSnaps:ev,scrollTarget:eD,scrollTo:eM,slideLooper:function(e,t,n,r,i,a,o,l,s){let c=f(i),u=f(i).reverse(),d=p(h(u,o[0]),n,!1).concat(p(h(c,t-o[0]-1),-n,!0));function m(e,t){return e.reduce((e,t)=>e-i[t],t)}function h(e,t){return e.reduce((e,n)=>m(e,t)>0?e.concat([n]):e,[])}function p(i,o,c){let u=a.map((e,n)=>({start:e-r[n]+.5+o,end:e+t-.5+o}));return i.map(t=>{let r=c?0:-n,i=c?n:0,a=u[t][c?"end":"start"];return{index:t,loopPoint:a,slideLocation:y(-1),translate:w(e,s[t]),target:()=>l.get()>a?r:i}})}return{canLoop:function(){return d.every(({index:e})=>.1>=m(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,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:d}}(er,ei,ep,es,ec,em,ev,eA,n),slideFocus:eL,slidesHandler:(R=!1,{init:function(e){W&&(L=new MutationObserver(t=>{!R&&(s(W)||W(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),c.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){L&&L.disconnect(),R=!0}}),slidesInView:eP,slideIndexes:ej,slideRegistry:eT,slidesToScroll:ef,target:eE,translate:w(er,t)};return eR}(e,C,A,I,D,n,P);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(H),R([q,...$.map(({options:e})=>e)]).forEach(e=>F.add(e,"change",G)),H.active&&(k.translate.to(k.location.get()),k.animation.init(),k.slidesInView.init(),k.slideFocus.init(Q),k.eventHandler.init(Q),k.resizeHandler.init(Q),k.slidesHandler.init(Q),k.options.loop&&k.slideLooper.loop(),C.offsetParent&&A.length&&k.dragHandler.init(Q),S=O.init(Q,$)))}function G(e,t){let n=X();Y(),K(T({startIndex:n},e),t),P.emit("reInit")}function Y(){k.dragHandler.destroy(),k.eventStore.clear(),k.translate.clear(),k.slideLooper.clear(),k.resizeHandler.destroy(),k.slidesHandler.destroy(),k.slidesInView.destroy(),k.animation.destroy(),O.destroy(),F.clear()}function J(e,t,n){H.active&&!V&&(k.scrollBody.useBaseFriction().useDuration(!0===t?0:H.duration),k.scrollTo.index(e,n||0))}function X(){return k.index.get()}let Q={canScrollNext:function(){return k.index.add(1).get()!==X()},canScrollPrev:function(){return k.index.add(-1).get()!==X()},containerNode:function(){return C},internalEngine:function(){return k},destroy:function(){V||(V=!0,F.clear(),Y(),P.emit("destroy"),P.clear())},off:z,on:U,emit:B,plugins:function(){return S},previousScrollSnap:function(){return k.indexPrevious.get()},reInit:G,rootNode:function(){return e},scrollNext:function(e){J(k.index.add(1).get(),e,-1)},scrollPrev:function(e){J(k.index.add(-1).get(),e,1)},scrollProgress:function(){return k.scrollProgress.get(k.offsetLocation.get())},scrollSnapList:function(){return k.scrollSnapList},scrollTo:J,selectedScrollSnap:X,slideNodes:function(){return A},slidesInView:function(){return k.slidesInView.get()},slidesNotInView:function(){return k.slidesInView.get(!1)}};return K(t,n),setTimeout(()=>P.emit("init"),0),Q}function k(e={},t=[]){let r=(0,n.useRef)(e),o=(0,n.useRef)(t),[l,s]=(0,n.useState)(),[c,u]=(0,n.use
1State)(),d=(0,n.useCallback)(()=>{l&&l.reInit(r.current,o.current)},[l]);return(0,n.useEffect)(()=>{i(r.current,e)||(r.current=e,d())},[e,d]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=a(e),r=a(t);return n.every((e,t)=>i(e,r[t]))}(o.current,t)&&(o.current=t,d())},[t,d]),(0,n.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&c){N.globalOptions=k.globalOptions;let e=N(c,r.current,o.current);return s(e),()=>e.destroy()}s(void 0)},[c,s]),[u,l]}N.globalOptions=void 0,k.globalOptions=void 0;var S=e.i(550775),C=e.i(461865),A=e.i(647163),E=e.i(167881);let I=n.createContext(null);function D(){let e=n.useContext(I);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let M=n.forwardRef(({orientation:e="horizontal",opts:r,setApi:i,plugins:a,className:o,children:l,...s},c)=>{let[u,d]=k({...r,axis:"horizontal"===e?"x":"y"},a),[f,m]=n.useState(!1),[h,p]=n.useState(!1),g=n.useCallback(e=>{e&&(m(e.canScrollPrev()),p(e.canScrollNext()))},[]),x=n.useCallback(()=>{d?.scrollPrev()},[d]),v=n.useCallback(()=>{d?.scrollNext()},[d]),b=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),x()):"ArrowRight"===e.key&&(e.preventDefault(),v())},[x,v]);return n.useEffect(()=>{d&&i&&i(d)},[d,i]),n.useEffect(()=>{if(d)return g(d),d.on("reInit",g),d.on("select",g),()=>{d?.off("select",g)}},[d,g]),(0,t.jsx)(I.Provider,{value:{carouselRef:u,api:d,opts:r,orientation:e||(r?.axis==="y"?"vertical":"horizontal"),scrollPrev:x,scrollNext:v,canScrollPrev:f,canScrollNext:h},children:(0,t.jsx)("div",{ref:c,onKeyDownCapture:b,className:(0,A.cn)("relative",o),role:"region","aria-roledescription":"carousel",...s,children:l})})});M.displayName="Carousel";let O=n.forwardRef(({className:e,...n},r)=>{let{carouselRef:i,orientation:a}=D();return(0,t.jsx)("div",{ref:i,className:"overflow-hidden",children:(0,t.jsx)("div",{ref:r,className:(0,A.cn)("flex","horizontal"===a?"-ml-4":"-mt-4 flex-col",e),...n})})});O.displayName="CarouselContent";let F=n.forwardRef(({className:e,...n},r)=>{let{orientation:i}=D();return(0,t.jsx)("div",{ref:r,role:"group","aria-roledescription":"slide",className:(0,A.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===i?"pl-4":"pt-4",e),...n})});F.displayName="CarouselItem",n.forwardRef(({className:e,variant:n="outline",size:r="icon",...i},a)=>{let{orientation:o,scrollPrev:l,canScrollPrev:s}=D();return(0,t.jsxs)(E.Button,{ref:a,variant:n,size:r,className:(0,A.cn)("absolute h-8 w-8 rounded-full","horizontal"===o?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!s,onClick:l,...i,children:[(0,t.jsx)(S.ArrowLeft,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}).displayName="CarouselPrevious",n.forwardRef(({className:e,variant:n="outline",size:r="icon",...i},a)=>{let{orientation:o,scrollNext:l,canScrollNext:s}=D();return(0,t.jsxs)(E.Button,{ref:a,variant:n,size:r,className:(0,A.cn)("absolute h-8 w-8 rounded-full","horizontal"===o?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!s,onClick:l,...i,children:[(0,t.jsx)(C.ArrowRight,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})}).displayName="CarouselNext",e.s(["Carousel",()=>M,"CarouselContent",()=>O,"CarouselItem",()=>F],919737)},958745,e=>{"use strict";var t=e.i(656422),n=e.i(912382);let r={direction:"forward",speed:2,startDelay:1e3,active:!0,breakpoints:{},playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,rootNode:null};function i(e={}){let t,n,a,o,l,s=0,c=!1,u=!1;function d(){if(a||c)return;n.emit("autoScroll:play");let e=n.internalEngine(),{ownerWindow:r}=e;s=r.setTimeout(()=>{e.scrollBody=function(e){let{location:r,previousLocation:i,offsetLocation:a,target:o,scrollTarget:l,index:s,indexPrevious:c,limit:{reachedMin:u,reachedMax:d,constrain:m},options:{loop:h}}=e,p="forward"===t.direction?-1:1,g=()=>j,x=0,v=0,b=r.get(),y=0,w=!1,j={direction:()=>v,duration:()=>-1,velocity:()=>x,settled:()=>w,seek:function(){i.set(r),x=p*t.speed,b+=x,r.add(x),o.set(r),v=Math.sign(b-y),y=b;let e=l.byDistance(0,!1).index;s.get()!==e&&(c.set(s.get()),s.set(e),n.emit("select"));let g="forward"===t.direction?u(a.get()):d(a.get());if(!h&&g){w=!0;let e=m(r.get());r.set(e),o.set(r),f()}return j},useBaseFriction:g,useBaseDuration:g,useFriction:g,useDuration:g};return j}(e),e.animation.start()},o),c=!0}function f(){if(a||!c)return;n.emit("autoScroll:stop");let e=n.internalEngine(),{ownerWindow:t}=e;e.scrollBody=l,t.clearTimeout(s),s=0,c=!1}function m(){u||f()}function h(){u||v()}function p(){u=!0,f()}function g(){u=!1,d()}function x(){n.off("settle",x),d()}function v(){n.on("settle",x)}return{name:"autoScroll",options:e,init:function(s,c){var u,x;let v;n=s;let{mergeOptions:b,optionsAtMedia:y}=c,w=b(r,i.globalOptions);if(t=y(b(w,e)),n.scrollSnapList().length<=1)return;o=t.startDelay,a=!1,l=n.internalEngine().scrollBody;let{eventStore:j}=n.internalEngine(),N=!!n.internalEngine().options.watchDrag,k=(u=n,x=t.rootNode,v=u.rootNode(),x&&x(v)||v);
1N&&n.on("pointerDown",m),N&&!t.stopOnInteraction&&n.on("pointerUp",h),t.stopOnMouseEnter&&j.add(k,"mouseenter",p),t.stopOnMouseEnter&&!t.stopOnInteraction&&j.add(k,"mouseleave",g),t.stopOnFocusIn&&n.on("slideFocusStart",f),t.stopOnFocusIn&&!t.stopOnInteraction&&j.add(n.containerNode(),"focusout",d),t.playOnInit&&d()},destroy:function(){n.off("pointerDown",m).off("pointerUp",h).off("slideFocusStart",f).off("settle",x),f(),a=!0,c=!1},play:function(e){void 0!==e&&(o=e),d()},stop:function(){c&&f()},reset:function(){c&&(f(),v())},isPlaying:function(){return c}}}i.globalOptions=void 0;var a=e.i(333821),o=e.i(919737);let l=({items:e,href:r})=>{let l=e??[{id:"item-1",text:"this is a news"},{id:"item-2",text:"this is a news"},{id:"item-3",text:"this is a news"},{id:"item-4",text:"this is a news"},{id:"item-5",text:"this is a news"},{id:"item-6",text:"this is a news"},{id:"item-7",text:"this is a news"},{id:"item-8",text:"this is a news"}];if(0===l.length)return null;let s=(0,t.jsx)("div",{className:"py-2 bg-red-600 text-white",children:(0,t.jsxs)("div",{className:`relative flex w-full items-center justify-center ${r?"cursor-pointer":"cursor-default"}`,children:[(0,t.jsx)(o.Carousel,{opts:{loop:!0,watchDrag:!1},plugins:[i({playOnInit:!0,speed:1})],children:(0,t.jsx)(o.CarouselContent,{className:"ml-0",children:l.map(e=>(0,t.jsx)(o.CarouselItem,{className:"flex basis-1/3 justify-center pl-0 sm:basis-1/4 md:basis-1/5 lg:basis-1/6",children:(0,t.jsx)("div",{className:"mx-6 flex shrink-0 items-center justify-center md:mx-10",children:(0,t.jsxs)("span",{className:`inline-flex items-center gap-2 text-base font-medium text-white/95 hover:text-white md:text-lg no-underline whitespace-nowrap ${e.className??""}`,children:[(0,t.jsx)(a.Megaphone,{className:"h-4 w-4"}),e.text]})})},e.id))})}),(0,t.jsx)("div",{className:"absolute inset-y-0 left-0 w-12 bg-gradient-to-r from-red-600 to-transparent pointer-events-none"}),(0,t.jsx)("div",{className:"absolute inset-y-0 right-0 w-12 bg-gradient-to-l from-red-600 to-transparent pointer-events-none"})]})});return(0,t.jsx)("section",{className:"w-full overflow-hidden pt-4 pb-12 md:pt-6 md:pb-16",children:r?(0,t.jsx)(n.default,{href:r,target:"_blank",rel:"noopener noreferrer",className:"block no-underline hover:no-underline",children:s}):s})};e.s(["Logos3",()=>l],958745)},577528,e=>{"use strict";var t=e.i(656422),n=e.i(501942);let r=(0,e.i(591762).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);var i=e.i(912382);let a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='450' viewBox='0 0 400 450'%3E%3Crect width='400' height='450' fill='%23374151'/%3E%3Ctext x='50%25' y='50%25' dominant-baseline='middle' text-anchor='middle' fill='%239CA3AF' font-size='18' font-family='sans-serif'%3ENo Image%3C/text%3E%3C/svg%3E",o=({item:e,isActive:n,onMouseEnter:r})=>{var o;let l=e.imageUrl&&""!==e.imageUrl.trim()?e.imageUrl:a,s=e.title||e.articleTitle||e.issueTitle||"Article",c=e.articleUrl||e.issueUrl,u=(o=s.length,n?o<=25?18:o<=45?15:o<=70?13:o<=100?11:10:o<=20?16:o<=40?13:o<=65?11:o<=90?10:9),d=(0,t.jsxs)("div",{style:{width:n?"400px":"60px"},className:"relative h-[450px] rounded-2xl overflow-hidden cursor-pointer transition-all duration-700 ease-in-out flex-shrink-0",onMouseEnter:r,children:[(0,t.jsx)("img",{src:l,alt:e.title,className:"absolute inset-0 w-full h-full object-cover",onError:e=>{let t=e.target;t.src!==a&&(t.src=a)}}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/40"}),(0,t.jsx)("span",{title:s,style:{fontSize:`${u}px`},className:["absolute text-white font-medium transition-all duration-300 ease-in-out",n?"bottom-4 left-3 right-3 text-center leading-tight whitespace-normal break-words line-clamp-[10]":"top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 whitespace-nowrap [writing-mode:vertical-rl] [text-orientation:mixed]"].join(" "),children:s})]});return c?(0,t.jsx)(i.default,{href:c,className:"block",children:d}):d},l=[{id:1,title:"Voice Assistant",imageUrl:"https://images.unsplash.com/photo-1628258334105-2a0b3d6efee1?q=80&w=1974&auto=format&fit=crop"},{id:2,title:"AI Image Generation",imageUrl:"https://images.unsplash.com/photo-1677756119517-756a188d2d94?q=80&w=2070&auto=format&fit=crop"},{id:3,title:"AI Chatbot + Local RAG",imageUrl:"https://images.unsplash.com/photo-1515879218367-8466d910aaa4?q=80&w=1974&auto=format&fit=crop"},{id:4,title:"AI Agent",imageUrl:"https://images.unsplash.com/photo-1526628953301-3e589a6a8b74?q=80&w=2090&auto=format&fit=crop"},{id:5,title:"Visual Understanding",imageUrl:"https://images.unsplash.com/photo-1554415707-6e8cfc93fe23?q=80&w=2070&auto=format&fit=crop"}];function s({title:e="Current Issue",description:i="Build high-performance AI apps on-device without the hassle of model compression or edge deployment.",buttonText:a="Contact Us",buttonUrl:s="#contact",accordionItems:c}){let u=Array.isArray(c)&&c.length>
10?c:l,[d,f]=(0,n.useState)(()=>Math.max(0,u.length-1)),m=Math.min(d,u.length-1);return(0,t.jsx)("div",{className:"bg-white font-sans",children:(0,t.jsx)("section",{className:"container mx-auto px-4 py-12 md:py-24",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between gap-12",children:[(0,t.jsxs)("div",{className:"w-full md:w-1/2 text-center md:text-left md:pl-12",children:[(0,t.jsx)("h1",{className:"text-4xl md:text-6xl font-bold text-gray-900 leading-tight tracking-tighter",children:e}),(0,t.jsx)("p",{className:"mt-6 text-lg text-gray-600 max-w-xl mx-auto md:mx-0",children:i}),(0,t.jsx)("div",{className:"mt-8",children:(0,t.jsxs)("a",{href:s,className:"inline-flex items-center gap-2 bg-gray-900 text-white font-semibold px-8 py-3 rounded-lg shadow-lg hover:bg-gray-800 transition-colors duration-300",children:[a,(0,t.jsx)(r,{className:"size-4 opacity-90","aria-hidden":!0})]})})]}),(0,t.jsx)("div",{className:"w-full md:w-1/2 overflow-x-auto",children:(0,t.jsx)("div",{className:"flex flex-row items-center justify-start gap-3 p-4 min-w-min",children:u.map((e,n)=>(0,t.jsx)(o,{item:e,isActive:n===m,onMouseEnter:()=>f(n)},e.id))})})]})})})}e.s(["LandingAccordionItem",()=>s],577528)},417230,e=>{"use strict";var t=e.i(656422);let n=(0,e.i(591762).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);var r=e.i(461865),i=e.i(919737);let a=({heading:e="Editorial Board",demoUrl:a="https://www.shadcnblocks.com",items:o=[{id:"item-1",title:"Build Modern UIs",summary:"Create stunning user interfaces with our comprehensive design system.",url:"#",image:"/img/kapak.jpg"},{id:"item-2",title:"Computer Vision Technology",summary:"Powerful image recognition and processing capabilities that allow AI systems to analyze, understand, and interpret visual information from the world.",url:"#",image:"/img/kapak.jpg"},{id:"item-3",title:"Machine Learning Automation",summary:"Self-improving algorithms that learn from data patterns to automate complex tasks and make intelligent decisions with minimal human intervention.",url:"#",image:"/img/kapak.jpg"}]})=>(0,t.jsxs)("section",{className:"py-32",children:[(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"mb-8 flex flex-col items-center justify-center md:mb-14 lg:mb-16",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h2",{className:"text-4xl md:text-6xl font-bold text-gray-900 leading-tight tracking-tighter",children:e}),(0,t.jsxs)("a",{href:a,className:"group inline-flex items-center gap-1 text-sm font-medium md:text-base lg:text-lg",children:["See All Editor's Pick",(0,t.jsx)(n,{className:"size-4 transition-transform group-hover:translate-x-1"})]})]})})}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(i.Carousel,{opts:{breakpoints:{"(max-width: 768px)":{dragFree:!0}}},className:"relative left-[-1rem]",children:(0,t.jsx)(i.CarouselContent,{className:"-mr-4 ml-8 2xl:ml-[max(8rem,calc(50vw-700px+1rem))] 2xl:mr-[max(0rem,calc(50vw-700px-1rem))]",children:o.map(e=>(0,t.jsx)(i.CarouselItem,{className:"pl-4 md:max-w-[452px]",children:(0,t.jsxs)("a",{href:e.url,className:"group flex flex-col justify-between",children:[(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"flex aspect-[3/2] overflow-clip rounded-xl",children:(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("div",{className:"relative h-full w-full origin-bottom transition duration-300 group-hover:scale-105",children:(0,t.jsx)("img",{src:e.image,alt:e.title,className:"h-full w-full object-cover object-center"})})})})}),(0,t.jsx)("div",{className:"mb-2 line-clamp-3 break-words pt-4 text-lg font-medium md:mb-3 md:pt-4 md:text-xl lg:pt-4 lg:text-2xl",children:e.title}),(0,t.jsx)("div",{className:"mb-8 line-clamp-2 text-sm text-muted-foreground md:mb-12 md:text-base lg:mb-9",children:e.summary}),(0,t.jsxs)("div",{className:"flex items-center text-sm",children:["Read more"," ",(0,t.jsx)(r.ArrowRight,{className:"ml-2 size-5 transition-transform group-hover:translate-x-1"})]})]})},e.id))})})})]});e.s(["Gallery6",()=>a],417230)},891422,e=>{"use strict";var t=e.i(656422),n=e.i(501942),r=e.i(912382),i=e.i(262621),a=e.i(291967),o=e.i(838082),l=e.i(341238),s=e.i(169060),c=e.i(785381),u=e.i(12138),d=e.i(438185),f=e.i(654041),m="Tabs",[h,p]=(0,o.createContextScope)(m,[l.createRovingFocusGroupScope]),g=(0,l.createRovingFocusGroupScope)(),[x,v]=h(m),b=n.forwardRef((e,n
1)=>{let{__scopeTabs:r,value:i,onValueChange:a,defaultValue:o,orientation:l="horizontal",dir:s,activationMode:h="automatic",...p}=e,g=(0,u.useDirection)(s),[v,b]=(0,d.useControllableState)({prop:i,onChange:a,defaultProp:o??"",caller:m});return(0,t.jsx)(x,{scope:r,baseId:(0,f.useId)(),value:v,onValueChange:b,orientation:l,dir:g,activationMode:h,children:(0,t.jsx)(c.Primitive.div,{dir:g,"data-orientation":l,...p,ref:n})})});b.displayName=m;var y="TabsList";n.forwardRef((e,n)=>{let{__scopeTabs:r,loop:i=!0,...a}=e,o=v(y,r),s=g(r);return(0,t.jsx)(l.Root,{asChild:!0,...s,orientation:o.orientation,dir:o.dir,loop:i,children:(0,t.jsx)(c.Primitive.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:n})})}).displayName=y;var w="TabsTrigger";n.forwardRef((e,n)=>{let{__scopeTabs:r,value:i,disabled:o=!1,...s}=e,u=v(w,r),d=g(r),f=k(u.baseId,i),m=S(u.baseId,i),h=i===u.value;return(0,t.jsx)(l.Item,{asChild:!0,...d,focusable:!o,active:h,children:(0,t.jsx)(c.Primitive.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":m,"data-state":h?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:f,...s,ref:n,onMouseDown:(0,a.composeEventHandlers)(e.onMouseDown,e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():u.onValueChange(i)}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&u.onValueChange(i)}),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==u.activationMode;h||o||!e||u.onValueChange(i)})})})}).displayName=w;var j="TabsContent",N=n.forwardRef((e,r)=>{let{__scopeTabs:i,value:a,forceMount:o,children:l,...u}=e,d=v(j,i),f=k(d.baseId,a),m=S(d.baseId,a),h=a===d.value,p=n.useRef(h);return n.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,t.jsx)(s.Presence,{present:o||h,children:({present:n})=>(0,t.jsx)(c.Primitive.div,{"data-state":h?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":f,hidden:!n,id:m,tabIndex:0,...u,ref:r,style:{...e.style,animationDuration:p.current?"0s":void 0},children:n&&l})})});function k(e,t){return`${e}-trigger-${t}`}function S(e,t){return`${e}-content-${t}`}N.displayName=j;var C=e.i(591762);let A=(0,C.default)("panels-top-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]]),E=(0,C.default)("pointer",[["path",{d:"M22 14a8 8 0 0 1-8 8",key:"56vcr3"}],["path",{d:"M18 11v-1a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1agjmk"}],["path",{d:"M14 10V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1",key:"wdbh2u"}],["path",{d:"M10 9.5V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v10",key:"1ibuk9"}],["path",{d:"M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"g6ys72"}]]),I=(0,C.default)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);var D=e.i(977406),M=e.i(654139),O=e.i(321182),F=e.i(935525),P=e.i(286904),T=e.i(994179),L=e.i(167881),R=e.i(622899),U=e.i(794178);let z=({badge:e="shadcnblocks.com",heading:a="Listen Latest Articles",description:o="Listen to the latest articles from our journal.",tabs:l=[{value:"tab-1",icon:(0,t.jsx)(I,{className:"h-auto w-4 shrink-0"}),label:"Boost Revenue",content:{badge:"Volume 3",title:"Dünya Havacılık GeliÅiminde Güncel AraÅtırmalar: Pilot OdaÄı ",description:"",buttonText:"Download PDF",articleUrl:"",imageSrc:"https://shadcnblocks.com/images/block/placeholder-dark-1.svg",imageAlt:"placeholder",audioSrc:"/audio/sample1.mp3"}},{value:"tab-2",icon:(0,t.jsx)(E,{className:"h-auto w-4 shrink-0"}),label:"Higher Engagement",content:{badge:"Volume 3",title:"Türkiye Orman Yangınlarıyla Havadan Mücadele için KarÅılaÅtırmalı Ekip-Ekipman-Harekat Bütçeli Planı",description:"",buttonText:"Download PDF",articleUrl:"",imageSrc:"https://shadcnblocks.com/images/block/placeholder-dark-2.svg",imageAlt:"placeholder",audioSrc:"/audio/sample2.mp3"}},{value:"tab-3",icon:(0,t.jsx)(A,{className:"h-auto w-4 shrink-0"}),label:"Stunning Layouts",content:{badge:"Volume 3",title:"Antalya Kenti 40 nm Yarıçap Alanı İçinde EÄitim Havaalanı OluÅturulması",description:"",buttonText:"Download PDF",articleUrl:"",imageSrc:"https://shadcnblocks.com/images/block/placeholder-dark-3.svg",imageAlt:"placeholder",audioSrc:"/audio/sample3.mp3"}}]})=>
1{let s=(0,i.useRouter)(),[c,u]=(0,n.useState)(null),[d,f]=(0,n.useState)(l[0]?.value||""),m=(0,n.useRef)({}),h=(0,n.useRef)({}),p=(0,n.useRef)({}),g=(0,n.useRef)(null),x=(0,n.useRef)(null),v=(0,n.useRef)(new Set),y=l.findIndex(e=>e.value===d),w=y>0,j=y<l.length-1;(0,n.useEffect)(()=>()=>{Object.values(m.current).forEach(e=>{e&&(e.pause(),e.currentTime=0)}),Object.values(h.current).forEach(e=>{cancelAnimationFrame(e)})},[]),(0,n.useEffect)(()=>{if(c&&m.current[c]){let e=m.current[c];return k(c,e),()=>{h.current[c]&&cancelAnimationFrame(h.current[c])}}},[c]),(0,n.useEffect)(()=>{if(c&&c!==d){let e=m.current[c];e&&(e.pause(),e.currentTime=0),h.current[c]&&cancelAnimationFrame(h.current[c]),x.current=null,u(null)}},[d,c]);let k=(e,t)=>{let n=document.getElementById(`wave-${e}`);if(!n)return;let r=n.querySelectorAll(".wave-bar"),i=r.length,a=window.AudioContext||window.webkitAudioContext;if(!a)return void S(e,r);let o=g.current;o&&"closed"!==o.state||(g.current=o=new a);let l=p.current[e];if(!l||!v.current.has(e)){let n=o.createMediaElementSource(t);(l=o.createAnalyser()).fftSize=256,l.smoothingTimeConstant=.3,n.connect(l),l.connect(o.destination),p.current[e]=l,v.current.add(e)}let s=new Uint8Array(l.frequencyBinCount),c=Math.floor(s.length/i),u=()=>{x.current!==e?r.forEach(e=>{e.style.height="40px"}):(l.getByteFrequencyData(s),r.forEach((e,t)=>{let n=t*c,r=0;for(let e=0;e<c&&n+e<s.length;e++)r=Math.max(r,s[n+e]??0);let i=24+r/255*56;e.style.height=`${Math.max(24,Math.min(80,i))}px`}),h.current[e]=requestAnimationFrame(u))};"suspended"===o.state?o.resume().then(u):u()},S=(e,t)=>{let n=0,r=()=>{x.current!==e?t.forEach(e=>{e.style.height="40px"}):(t.forEach((e,t)=>{let r=40+30*Math.sin(.1*n+.1*t);e.style.height=`${r}px`}),n++,h.current[e]=requestAnimationFrame(r))};r()};return(0,t.jsx)("section",{className:"py-32",children:(0,t.jsxs)("div",{className:"container mx-auto",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 text-center",children:[(0,t.jsx)("h1",{className:"max-w-2xl text-3xl font-semibold md:text-4xl",children:a}),(0,t.jsx)("p",{className:"text-muted-foreground",children:o})]}),(0,t.jsxs)(b,{value:d,className:"mt-8",onValueChange:e=>f(e),children:[(0,t.jsxs)("div",{className:"flex items-center justify-center gap-4 mb-8",children:[(0,t.jsx)("button",{onClick:()=>{w&&f(l[y-1].value)},disabled:!w,className:"flex items-center justify-center w-12 h-12 rounded-full border border-gray-300 hover:bg-gray-100 disabled:opacity-50 disabled:cursor-default transition-colors",children:(0,t.jsx)(F.ChevronLeft,{className:"h-6 w-6"})}),(0,t.jsx)("div",{className:"flex items-center gap-2",children:l.map((e,n)=>(0,t.jsx)("div",{className:`w-2 h-2 rounded-full transition-colors ${e.value===d?"bg-primary":"bg-gray-300"}`},e.value))}),(0,t.jsx)("button",{onClick:()=>{j&&f(l[y+1].value)},disabled:!j,className:"flex items-center justify-center w-12 h-12 rounded-full border border-gray-300 hover:bg-gray-100 disabled:opacity-50 disabled:cursor-default transition-colors",children:(0,t.jsx)(P.ChevronRight,{className:"h-6 w-6"})})]}),(0,t.jsx)("div",{className:"mx-auto mt-8 max-w-screen-xl rounded-2xl bg-muted/70 p-6 lg:p-16",children:l.map(e=>(0,t.jsxs)(N,{value:e.value,className:`grid place-items-center gap-20 lg:grid-cols-2 lg:gap-10 ${e.content.articleUrl?"cursor-pointer":""}`,onClick:()=>{e.content.articleUrl&&s.push(e.content.articleUrl)},children:[(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,t.jsx)(T.Badge,{variant:"outline",className:"w-fit bg-background",children:e.content.badge}),(0,t.jsx)("h3",{className:"text-3xl font-semibold lg:text-5xl",children:e.content.title}),(0,t.jsx)("p",{className:"text-muted-foreground lg:text-lg",children:(0,U.getPlainTextPreview)(e.content.description,300)}),e.content.articleUrl?(0,t.jsx)(L.Button,{className:"mt-2.5 w-fit gap-2",size:"lg",asChild:!0,children:(0,t.jsxs)(r.default,{href:e.content.articleUrl,children:[(0,t.jsx)(O.Download,{className:"h-4 w-4"}),e.content.buttonText]})}):(0,t.jsxs)(L.Button,{className:"mt-2.5 w-fit gap-2",size:"lg",children:[(0,t.jsx)(O.Download,{className:"h-4 w-4"}),e.content.buttonText]})]}),(0,t.jsxs)("div",{className:"relative w-full rounded-xl overflow-hidden group",children:[e.content.articleUrl?(0,t.jsx)(r.default,{href:e.content.articleUrl,className:"block",children:(0,t.jsx)("img",{src:(0,R.toStableStorageProxyUrl)(e.content.imageSrc),alt:e.content.imageAlt,className:"w-full h-auto rounded-xl"})}):(0,t.jsx)("img",{src:(0,R.toStableStorageProxyUrl)(e.content.imageSrc),alt:e.content.imageAlt,className:"w-full h-auto rounded-xl"}),c&&c===e.value?null:(0,t.jsx)("button",{onClick:t=>{t.stopPropagation(),((e,t)=>{if(!t)return;let n=(0,R.toStableStorageProxyUrl)(t);if(c&&c!==e){let e=m.current[c];e&&(e.pause(),e.currentTime=0),h.current[c]&&cancelAnimationFrame(h.current[c])}let r=m.current[e];r?r.src.endsWith(n.split("?")[0])||r.src===n||(r.src=n):(r=new Audio(n),m.current[e]=r,r.addEventListener("ended",()=>{x.current=null,u(null),h.current[e]&&cancelAnimationFrame(h.current[e])}),r.addEventListener("error",()=>{let e=(0,R.withStorageProxyRefresh)(t);r&&r.src!==e&&(r.src=e,r.play().catch(()=>void 0))})),r.play().catch(()=>{r.src=(0,R.withStorageProxyRefresh)(t),r.play().catch(()=>void 0)}),x.current=e,u(e)})(e.value,e.content.audioSrc)},className:"absolute inset-0 flex items-center justify-center bg-black/40 hover:bg-black/50 transition-colors group-hover:bg-black/50",children:(0,t.jsx)("div",{className:"bg-white/90 rounded-full p-8 hover:bg-white transition-colors",children:(0,t.jsx)(D.Play,{className:"h-20 w-20 text-black ml-2",fill:"black"})})}),c===e.value&&(0,t.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center bg-black/40",children:[(0,t.jsx)("div",{id:`wave-${e.value}`,className:"flex items-end justify-center gap-3 h-32 mb-6",children:[void 0,void 0,void 0,void 0,void 0].map((e,n)=>(0,t.jsx)("div",{className:"wave-bar w-3 bg-white rounded-full",style:{height:"40px"}},n))}),(0,t.jsx)("button",{onClick:t=>{var n;let r;t.stopPropagation(),n=e.value,(r=m.current[n])&&r.pause(),x.current=null,u(null),h.current[n]&&cancelAnimationFrame(h.current[n])},className:"bg-white rounded-full p-3 hover:bg-gray-100 transition-colors mt-2",children:(0,t.jsx)(M.Pause,{className:"h-6 w-6 text-black",fill:"black"})})]})]})]},e.value))})]})]})})};e.s(["Feature108",()=>z],891422)}]);
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.