import{r as E,j as S,R as ge,s as Qe,v as pt,u as gt,N as ht}from"./index-2dTGQAIg.js";import{A as xt}from"./arrow-left-C48aNvEj.js";import{c as yt,n as bt,m as St,a as vt}from"./ali-ozaltin-Dx7NA5Gj.js";function wt(e){return Object.prototype.toString.call(e)==="[object Object]"}function $e(e){return wt(e)||Array.isArray(e)}function Nt(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Te(e,t){const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;const i=JSON.stringify(Object.keys(e.breakpoints||{})),s=JSON.stringify(Object.keys(t.breakpoints||{}));return i!==s?!1:n.every(r=>{const c=e[r],a=t[r];return typeof c=="function"?`${c}`==`${a}`:!$e(c)||!$e(a)?c===a:Te(c,a)})}function Ue(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function jt(e,t){if(e.length!==t.length)return!1;const n=Ue(e),o=Ue(t);return n.every((i,s)=>{const r=o[s];return Te(i,r)})}function Ie(e){return typeof e=="number"}function ke(e){return typeof e=="string"}function be(e){return typeof e=="boolean"}function He(e){return Object.prototype.toString.call(e)==="[object Object]"}function A(e){return Math.abs(e)}function De(e){return Math.sign(e)}function fe(e,t){return A(e-t)}function Ct(e,t){if(e===0||t===0||A(e)<=A(t))return 0;const n=fe(A(e),A(t));return A(n/e)}function kt(e){return Math.round(e*100)/100}function de(e){return me(e).map(Number)}function R(e){return e[he(e)]}function he(e){return Math.max(0,e.length-1)}function Ae(e,t){return t===he(e)}function Ge(e,t=0){return Array.from(Array(e),(n,o)=>t+o)}function me(e){return Object.keys(e)}function Je(e,t){return[e,t].reduce((n,o)=>(me(o).forEach(i=>{const s=n[i],r=o[i],c=He(s)&&He(r);n[i]=c?Je(s,r):r}),n),{})}function Ee(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function Et(e,t){const n={start:o,center:i,end:s};function o(){return 0}function i(a){return s(a)/2}function s(a){return t-a}function r(a,l){return ke(e)?n[e](a):e(t,a,l)}return{measure:r}}function pe(){let e=[];function t(i,s,r,c={passive:!0}){let a;if("addEventListener"in i)i.addEventListener(s,r,c),a=()=>i.removeEventListener(s,r,c);else{const l=i;l.addListener(r),a=()=>l.removeListener(r)}return e.push(a),o}function n(){e=e.filter(i=>i())}const o={add:t,clear:n};return o}function Lt(e,t,n,o){const i=pe(),s=1e3/60;let r=null,c=0,a=0;function l(){i.add(e,"visibilitychange",()=>{e.hidden&&u()})}function x(){b(),i.clear()}function d(h){if(!a)return;r||(r=h,n(),n());const f=h-r;for(r=h,c+=f;c>=s;)n(),c-=s;const g=c/s;o(g),a&&(a=t.requestAnimationFrame(d))}function m(){a||(a=t.requestAnimationFrame(d))}function b(){t.cancelAnimationFrame(a),r=null,c=0,a=0}function u(){r=null,c=0}return{init:l,destroy:x,start:m,stop:b,update:n,render:o}}function Tt(e,t){const n=t==="rtl",o=e==="y",i=o?"y":"x",s=o?"x":"y",r=!o&&n?-1:1,c=x(),a=d();function l(u){const{height:p,width:h}=u;return o?p:h}function x(){return o?"top":n?"right":"left"}function d(){return o?"bottom":n?"left":"right"}function m(u){return u*r}return{scroll:i,cross:s,startEdge:c,endEdge:a,measureSize:l,direction:m}}function ne(e=0,t=0){const n=A(e-t);function o(l){return l<e}function i(l){return l>t}function s(l){return o(l)||i(l)}function r(l){return s(l)?o(l)?e:t:l}function c(l){return n?l-n*Math.ceil((l-t)/n):l}return{length:n,max:t,min:e,constrain:r,reachedAny:s,reachedMax:i,reachedMin:o,removeOffset:c}}function Xe(e,t,n){const{constrain:o}=ne(0,e),i=e+1;let s=r(t);function r(m){return n?A((i+m)%i):o(m)}function c(){return s}function a(m){return s=r(m),d}function l(m){return x().set(c()+m)}function x(){return Xe(e,c(),n)}const d={get:c,set:a,add:l,clone:x};return d}function It(e,t,n,o,i,s,r,c,a,l,x,d,m,b,u,p,h,f,g){const{cross:v,direction:j}=e,I=["INPUT","SELECT","TEXTAREA"],C={passive:!1},w=pe(),N=pe(),k=ne(50,225).constrain(b.measure(20)),O={mouse:300,touch:400},L={mouse:500,touch:600},K=u?43:25;let V=!1,q=0,$=0,W=!1,Y=!1,G=!1,_=!1;function ie(y){if(!g)return;function T(M){(be(g)||g(y,M))&&ce(M)}const P=t;w.add(P,"dragstart",M=>M.preventDefault(),C).add(P,"touchmove",()=>{},C).add(P,"touchend",()=>{}).add(P,"touchstart",T).add(P,"mousedown",T).add(P,"touchcancel",F).add(P,"contextmenu",F).add(P,"click",J,!0)}function U(){w.clear(),N.clear()}function re(){const y=_?n:t;N.add(y,"touchmove",z,C).add(y,"touchend",F).add(y,"mousemove",z,C).add(y,"mouseup",F)}function oe(y){const T=y.nodeName||"";return I.includes(T)}function Q(){return(u?L:O)[_?"mouse":"touch"]}function ae(y,T){const P=d.add(De(y)*-1),M=x.byDistance(y,!u).distance;return u||A(y)<k?M:h&&T?M*.5:x.byIndex(P.get(),0).distance}function ce(y){const T=Ee(y,o);_=T,G=u&&T&&!y.buttons&&V,V=fe(i.get(),r.get())>=2,!(T&&y.button!==0)&&(oe(y.target)||(W=!0,s.pointerDown(y),l.useFriction(0).useDuration(0),i.set(r),re(),q=s.readPoint(y),$=s.readPoint(y,v),m.emit("pointerDown")))}function z(y){if(!Ee(y,o)&&y.touches.length>=2)return F(y);const P=s.readPoint(y),M=s.readPoint(y,v),H=fe(P,q),X=fe(M,$);if(!Y&&!_&&(!y.cancelable||(Y=H>X,!Y)))return F(y);const ee=s.pointerMove(y);H>p&&(G=!0),l.useFriction(.3).useDuration(.75),c.start(),i.add(j(ee)),y.preventDefault()}function F(y){const P=x.byDistance(0,!1).index!==d.get(),M=s.pointerUp(y)*Q(),H=ae(j(M),P),X=Ct(M,H),ee=K-10*X,Z=f+X/50;Y=!1,W=!1,N.clear(),l.useDuration(ee).useFriction(Z),a.distance(H,!u),_=!1,m.emit("pointerUp")}function J(y){G&&(y.stopPropagation(),y.preventDefault(),G=!1)}function B(){return W}return{init:ie,destroy:U,pointerDown:B}}function Dt(e,t){let o,i;function s(d){return d.timeStamp}function r(d,m){const u=`client${(m||e.scroll)==="x"?"X":"Y"}`;return(Ee(d,t)?d:d.touches[0])[u]}function c(d){return o=d,i=d,r(d)}function a(d){const m=r(d)-r(i),b=s(d)-s(o)>170;return i=d,b&&(o=d),m}function l(d){if(!o||!i)return 0;const m=r(i)-r(o),b=s(d)-s(o),u=s(d)-s(i)>170,p=m/b;return b&&!u&&A(p)>.1?p:0}return{pointerDown:c,pointerMove:a,pointerUp:l,readPoint:r}}function At(){function e(n){const{offsetTop:o,offsetLeft:i,offsetWidth:s,offsetHeight:r}=n;return{top:o,right:i+s,bottom:o+r,left:i,width:s,height:r}}return{measure:e}}function Ot(e){function t(o){return e*(o/100)}return{measure:t}}function Pt(e,t,n,o,i,s,r){const c=[e].concat(o);let a,l,x=[],d=!1;function m(h){return i.measureSize(r.measure(h))}function b(h){if(!s)return;l=m(e),x=o.map(m);function f(g){for(const v of g){if(d)return;const j=v.target===e,I=o.indexOf(v.target),C=j?l:x[I],w=m(j?e:o[I]);if(A(w-C)>=.5){h.reInit(),t.emit("resize");break}}}a=new ResizeObserver(g=>{(be(s)||s(h,g))&&f(g)}),n.requestAnimationFrame(()=>{c.forEach(g=>a.observe(g))})}function u(){d=!0,a&&a.disconnect()}return{init:b,destroy:u}}function Ft(e,t,n,o,i,s){let r=0,c=0,a=i,l=s,x=e.get(),d=0;function m(){const C=o.get()-e.get(),w=!a;let N=0;return w?(r=0,n.set(o),e.set(o),N=C):(n.set(e),r+=C/a,r*=l,x+=r,e.add(r),N=x-d),c=De(N),d=x,I}function b(){const C=o.get()-t.get();return A(C)<.001}function u(){return a}function p(){return c}function h(){return r}function f(){return v(i)}function g(){return j(s)}function v(C){return a=C,I}function j(C){return l=C,I}const I={direction:p,duration:u,velocity:h,seek:m,settled:b,useBaseFriction:g,useBaseDuration:f,useFriction:j,useDuration:v};return I}function Mt(e,t,n,o,i){const s=i.measure(10),r=i.measure(50),c=ne(.1,.99);let a=!1;function l(){return!(a||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function x(b){if(!l())return;const u=e.reachedMin(t.get())?"min":"max",p=A(e[u]-t.get()),h=n.get()-t.get(),f=c.constrain(p/r);n.subtract(h*f),!b&&A(h)<s&&(n.set(e.constrain(n.get())),o.useDuration(25).useBaseFriction())}function d(b){a=!b}return{shouldConstrain:l,constrain:x,toggleActive:d}}function Kt(e,t,n,o,i){const s=ne(-t+e,0),r=d(),c=x(),a=m();function l(u,p){return fe(u,p)<=1}function x(){const u=r[0],p=R(r),h=r.lastIndexOf(u),f=r.indexOf(p)+1;return ne(h,f)}function d(){return n.map((u,p)=>{const{min:h,max:f}=s,g=s.constrain(u),v=!p,j=Ae(n,p);return v?f:j||l(h,g)?h:l(f,g)?f:g}).map(u=>parseFloat(u.toFixed(3)))}function m(){if(t<=e+i)return[s.max];if(o==="keepSnaps")return r;const{min:u,max:p}=c;return r.slice(u,p)}return{snapsContained:a,scrollContainLimit:c}}function zt(e,t,n){const o=t[0],i=n?o-e:R(t);return{limit:ne(i,o)}}function Bt(e,t,n,o){const s=t.min+.1,r=t.max+.1,{reachedMin:c,reachedMax:a}=ne(s,r);function l(m){return m===1?a(n.get()):m===-1?c(n.get()):!1}function x(m){if(!l(m))return;const b=e*(m*-1);o.forEach(u=>u.add(b))}return{loop:x}}function Rt(e){const{max:t,length:n}=e;function o(s){const r=s-t;return n?r/-n:0}return{get:o}}function Vt(e,t,n,o,i){const{startEdge:s,endEdge:r}=e,{groupSlides:c}=i,a=d().map(t.measure),l=m(),x=b();function d(){return c(o).map(p=>R(p)[r]-p[0][s]).map(A)}function m(){return o.map(p=>n[s]-p[s]).map(p=>-A(p))}function b(){return c(l).map(p=>p[0]).map((p,h)=>p+a[h])}return{snaps:l,snapsAligned:x}}function qt(e,t,n,o,i,s){const{groupSlides:r}=i,{min:c,max:a}=o,l=x();function x(){const m=r(s),b=!e||t==="keepSnaps";return n.length===1?[s]:b?m:m.slice(c,a).map((u,p,h)=>{const f=!p,g=Ae(h,p);if(f){const v=R(h[0])+1;return Ge(v)}if(g){const v=he(s)-R(h)[0]+1;return Ge(v,R(h)[0])}return u})}return{slideRegistry:l}}function $t(e,t,n,o,i){const{reachedAny:s,removeOffset:r,constrain:c}=o;function a(u){return u.concat().sort((p,h)=>A(p)-A(h))[0]}function l(u){const p=e?r(u):c(u),h=t.map((g,v)=>({diff:x(g-p,0),index:v})).sort((g,v)=>A(g.diff)-A(v.diff)),{index:f}=h[0];return{index:f,distance:p}}function x(u,p){const h=[u,u+n,u-n];if(!e)return u;if(!p)return a(h);const f=h.filter(g=>De(g)===p);return f.length?a(f):R(h)-n}function d(u,p){const h=t[u]-i.get(),f=x(h,p);return{index:u,distance:f}}function m(u,p){const h=i.get()+u,{index:f,distance:g}=l(h),v=!e&&s(h);if(!p||v)return{index:f,distance:u};const j=t[f]-g,I=u+x(j,0);return{index:f,distance:I}}return{byDistance:m,byIndex:d,shortcut:x}}function Ut(e,t,n,o,i,s,r){function c(d){const m=d.distance,b=d.index!==t.get();s.add(m),m&&(o.duration()?e.start():(e.update(),e.render(1),e.update())),b&&(n.set(t.get()),t.set(d.index),r.emit("select"))}function a(d,m){const b=i.byDistance(d,m);c(b)}function l(d,m){const b=t.clone().set(d),u=i.byIndex(b.get(),m);c(u)}return{distance:a,index:l}}function Ht(e,t,n,o,i,s,r,c){const a={passive:!0,capture:!0};let l=0;function x(b){if(!c)return;function u(p){if(new Date().getTime()-l>10)return;r.emit("slideFocusStart"),e.scrollLeft=0;const g=n.findIndex(v=>v.includes(p));Ie(g)&&(i.useDuration(0),o.index(g,0),r.emit("slideFocus"))}s.add(document,"keydown",d,!1),t.forEach((p,h)=>{s.add(p,"focus",f=>{(be(c)||c(b,f))&&u(h)},a)})}function d(b){b.code==="Tab"&&(l=new Date().getTime())}return{init:x}}function ue(e){let t=e;function n(){return t}function o(a){t=r(a)}function i(a){t+=r(a)}function s(a){t-=r(a)}function r(a){return Ie(a)?a:a.get()}return{get:n,set:o,add:i,subtract:s}}function Ye(e,t){const n=e.scroll==="x"?r:c,o=t.style;let i=null,s=!1;function r(m){return`translate3d(${m}px,0px,0px)`}function c(m){return`translate3d(0px,${m}px,0px)`}function a(m){if(s)return;const b=kt(e.direction(m));b!==i&&(o.transform=n(b),i=b)}function l(m){s=!m}function x(){s||(o.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:x,to:a,toggleActive:l}}function Gt(e,t,n,o,i,s,r,c,a){const x=de(i),d=de(i).reverse(),m=f().concat(g());function b(w,N){return w.reduce((k,O)=>k-i[O],N)}function u(w,N){return w.reduce((k,O)=>b(k,N)>0?k.concat([O]):k,[])}function p(w){return s.map((N,k)=>({start:N-o[k]+.5+w,end:N+t-.5+w}))}function h(w,N,k){const O=p(N);return w.map(L=>{const K=k?0:-n,V=k?n:0,q=k?"end":"start",$=O[L][q];return{index:L,loopPoint:$,slideLocation:ue(-1),translate:Ye(e,a[L]),target:()=>c.get()>$?K:V}})}function f(){const w=r[0],N=u(d,w);return h(N,n,!1)}function g(){const w=t-r[0]-1,N=u(x,w);return h(N,-n,!0)}function v(){return m.every(({index:w})=>{const N=x.filter(k=>k!==w);return b(N,t)<=.1})}function j(){m.forEach(w=>{const{target:N,translate:k,slideLocation:O}=w,L=N();L!==O.get()&&(k.to(L),O.set(L))})}function I(){m.forEach(w=>w.translate.clear())}return{canLoop:v,clear:I,loop:j,loopPoints:m}}function _t(e,t,n){let o,i=!1;function s(a){if(!n)return;function l(x){for(const d of x)if(d.type==="childList"){a.reInit(),t.emit("slidesChanged");break}}o=new MutationObserver(x=>{i||(be(n)||n(a,x))&&l(x)}),o.observe(e,{childList:!0})}function r(){o&&o.disconnect(),i=!0}return{init:s,destroy:r}}function Qt(e,t,n,o){const i={};let s=null,r=null,c,a=!1;function l(){c=new IntersectionObserver(u=>{a||(u.forEach(p=>{const h=t.indexOf(p.target);i[h]=p}),s=null,r=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:o}),t.forEach(u=>c.observe(u))}function x(){c&&c.disconnect(),a=!0}function d(u){return me(i).reduce((p,h)=>{const f=parseInt(h),{isIntersecting:g}=i[f];return(u&&g||!u&&!g)&&p.push(f),p},[])}function m(u=!0){if(u&&s)return s;if(!u&&r)return r;const p=d(u);return u&&(s=p),u||(r=p),p}return{init:l,destroy:x,get:m}}function Jt(e,t,n,o,i,s){const{measureSize:r,startEdge:c,endEdge:a}=e,l=n[0]&&i,x=u(),d=p(),m=n.map(r),b=h();function u(){if(!l)return 0;const g=n[0];return A(t[c]-g[c])}function p(){if(!l)return 0;const g=s.getComputedStyle(R(o));return parseFloat(g.getPropertyValue(`margin-${a}`))}function h(){return n.map((g,v,j)=>{const I=!v,C=Ae(j,v);return I?m[v]+x:C?m[v]+d:j[v+1][c]-g[c]}).map(A)}return{slideSizes:m,slideSizesWithGaps:b,startGap:x,endGap:d}}function Xt(e,t,n,o,i,s,r,c,a){const{startEdge:l,endEdge:x,direction:d}=e,m=Ie(n);function b(f,g){return de(f).filter(v=>v%g===0).map(v=>f.slice(v,v+g))}function u(f){return f.length?de(f).reduce((g,v,j)=>{const I=R(g)||0,C=I===0,w=v===he(f),N=i[l]-s[I][l],k=i[l]-s[v][x],O=!o&&C?d(r):0,L=!o&&w?d(c):0,K=A(k-L-(N+O));return j&&K>t+a&&g.push(v),w&&g.push(f.length),g},[]).map((g,v,j)=>{const I=Math.max(j[v-1]||0);return f.slice(I,g)}):[]}function p(f){return m?b(f,n):u(f)}return{groupSlides:p}}function Yt(e,t,n,o,i,s,r){const{align:c,axis:a,direction:l,startIndex:x,loop:d,duration:m,dragFree:b,dragThreshold:u,inViewThreshold:p,slidesToScroll:h,skipSnaps:f,containScroll:g,watchResize:v,watchSlides:j,watchDrag:I,watchFocus:C}=s,w=2,N=At(),k=N.measure(t),O=n.map(N.measure),L=Tt(a,l),K=L.measureSize(k),V=Ot(K),q=Et(c,K),$=!d&&!!g,W=d||!!g,{slideSizes:Y,slideSizesWithGaps:G,startGap:_,endGap:ie}=Jt(L,k,O,n,W,i),U=Xt(L,K,h,d,k,O,_,ie,w),{snaps:re,snapsAligned:oe}=Vt(L,q,k,O,U),Q=-R(re)+R(G),{snapsContained:ae,scrollContainLimit:ce}=Kt(K,Q,oe,g,w),z=$?ae:oe,{limit:F}=zt(Q,z,d),J=Xe(he(z),x,d),B=J.clone(),D=de(n),y=({dragHandler:se,scrollBody:je,scrollBounds:Ce,options:{loop:xe}})=>{xe||Ce.constrain(se.pointerDown()),je.seek()},T=({scrollBody:se,translate:je,location:Ce,offsetLocation:xe,previousLocation:it,scrollLooper:at,slideLooper:ct,dragHandler:lt,animation:ut,eventHandler:Ke,scrollBounds:ft,options:{loop:ze}},Be)=>{const Re=se.settled(),dt=!ft.shouldConstrain(),Ve=ze?Re:Re&&dt,qe=Ve&&!lt.pointerDown();qe&&ut.stop();const mt=Ce.get()*Be+it.get()*(1-Be);xe.set(mt),ze&&(at.loop(se.direction()),ct.loop()),je.to(xe.get()),qe&&Ke.emit("settle"),Ve||Ke.emit("scroll")},P=Lt(o,i,()=>y(Ne),se=>T(Ne,se)),M=.68,H=z[J.get()],X=ue(H),ee=ue(H),Z=ue(H),te=ue(H),le=Ft(X,Z,ee,te,m,M),ve=$t(d,z,Q,F,te),we=Ut(P,J,B,le,ve,te,r),Pe=Rt(F),Fe=pe(),ot=Qt(t,n,r,p),{slideRegistry:Me}=qt($,g,z,ce,U,D),st=Ht(e,n,Me,we,le,Fe,r,C),Ne={ownerDocument:o,ownerWindow:i,eventHandler:r,containerRect:k,slideRects:O,animation:P,axis:L,dragHandler:It(L,e,o,i,te,Dt(L,i),X,P,we,le,ve,J,r,V,b,u,f,M,I),eventStore:Fe,percentOfView:V,index:J,indexPrevious:B,limit:F,location:X,offsetLocation:Z,previousLocation:ee,options:s,resizeHandler:Pt(t,r,i,n,L,v,N),scrollBody:le,scrollBounds:Mt(F,Z,te,le,V),scrollLooper:Bt(Q,F,Z,[X,Z,ee,te]),scrollProgress:Pe,scrollSnapList:z.map(Pe.get),scrollSnaps:z,scrollTarget:ve,scrollTo:we,slideLooper:Gt(L,K,Q,Y,G,re,z,Z,n),slideFocus:st,slidesHandler:_t(t,r,j),slidesInView:ot,slideIndexes:D,slideRegistry:Me,slidesToScroll:U,target:te,translate:Ye(L,t)};return Ne}function Zt(){let e={},t;function n(l){t=l}function o(l){return e[l]||[]}function i(l){return o(l).forEach(x=>x(t,l)),a}function s(l,x){return e[l]=o(l).concat([x]),a}function r(l,x){return e[l]=o(l).filter(d=>d!==x),a}function c(){e={}}const a={init:n,emit:i,off:r,on:s,clear:c};return a}const Wt={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 en(e){function t(s,r){return Je(s,r||{})}function n(s){const r=s.breakpoints||{},c=me(r).filter(a=>e.matchMedia(a).matches).map(a=>r[a]).reduce((a,l)=>t(a,l),{});return t(s,c)}function o(s){return s.map(r=>me(r.breakpoints||{})).reduce((r,c)=>r.concat(c),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:o}}function tn(e){let t=[];function n(s,r){return t=r.filter(({options:c})=>e.optionsAtMedia(c).active!==!1),t.forEach(c=>c.init(s,e)),r.reduce((c,a)=>Object.assign(c,{[a.name]:a}),{})}function o(){t=t.filter(s=>s.destroy())}return{init:n,destroy:o}}function ye(e,t,n){const o=e.ownerDocument,i=o.defaultView,s=en(i),r=tn(s),c=pe(),a=Zt(),{mergeOptions:l,optionsAtMedia:x,optionsMediaQueries:d}=s,{on:m,off:b,emit:u}=a,p=L;let h=!1,f,g=l(Wt,ye.globalOptions),v=l(g),j=[],I,C,w;function N(){const{container:D,slides:y}=v;C=(ke(D)?e.querySelector(D):D)||e.children[0];const P=ke(y)?C.querySelectorAll(y):y;w=[].slice.call(P||C.children)}function k(D){const y=Yt(e,C,w,o,i,D,a);if(D.loop&&!y.slideLooper.canLoop()){const T=Object.assign({},D,{loop:!1});return k(T)}return y}function O(D,y){h||(g=l(g,D),v=x(g),j=y||j,N(),f=k(v),d([g,...j.map(({options:T})=>T)]).forEach(T=>c.add(T,"change",L)),v.active&&(f.translate.to(f.location.get()),f.animation.init(),f.slidesInView.init(),f.slideFocus.init(B),f.eventHandler.init(B),f.resizeHandler.init(B),f.slidesHandler.init(B),f.options.loop&&f.slideLooper.loop(),C.offsetParent&&w.length&&f.dragHandler.init(B),I=r.init(B,j)))}function L(D,y){const T=U();K(),O(l({startIndex:T},D),y),a.emit("reInit")}function K(){f.dragHandler.destroy(),f.eventStore.clear(),f.translate.clear(),f.slideLooper.clear(),f.resizeHandler.destroy(),f.slidesHandler.destroy(),f.slidesInView.destroy(),f.animation.destroy(),r.destroy(),c.clear()}function V(){h||(h=!0,c.clear(),K(),a.emit("destroy"),a.clear())}function q(D,y,T){!v.active||h||(f.scrollBody.useBaseFriction().useDuration(y===!0?0:v.duration),f.scrollTo.index(D,T||0))}function $(D){const y=f.index.add(1).get();q(y,D,-1)}function W(D){const y=f.index.add(-1).get();q(y,D,1)}function Y(){return f.index.add(1).get()!==U()}function G(){return f.index.add(-1).get()!==U()}function _(){return f.scrollSnapList}function ie(){return f.scrollProgress.get(f.offsetLocation.get())}function U(){return f.index.get()}function re(){return f.indexPrevious.get()}function oe(){return f.slidesInView.get()}function Q(){return f.slidesInView.get(!1)}function ae(){return I}function ce(){return f}function z(){return e}function F(){return C}function J(){return w}const B={canScrollNext:Y,canScrollPrev:G,containerNode:F,internalEngine:ce,destroy:V,off:b,on:m,emit:u,plugins:ae,previousScrollSnap:re,reInit:p,rootNode:z,scrollNext:$,scrollPrev:W,scrollProgress:ie,scrollSnapList:_,scrollTo:q,selectedScrollSnap:U,slideNodes:J,slidesInView:oe,slidesNotInView:Q};return O(t,n),setTimeout(()=>a.emit("init"),0),B}ye.globalOptions=void 0;function Oe(e={},t=[]){const n=E.useRef(e),o=E.useRef(t),[i,s]=E.useState(),[r,c]=E.useState(),a=E.useCallback(()=>{i&&i.reInit(n.current,o.current)},[i]);return E.useEffect(()=>{Te(n.current,e)||(n.current=e,a())},[e,a]),E.useEffect(()=>{jt(o.current,t)||(o.current=t,a())},[t,a]),E.useEffect(()=>{if(Nt()&&r){ye.globalOptions=Oe.globalOptions;const l=ye(r,n.current,o.current);return s(l),()=>l.destroy()}else s(void 0)},[r,s]),[c,i]}Oe.globalOptions=void 0;const Ze=E.createContext(null);function Se(){const e=E.useContext(Ze);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const We=E.forwardRef(({orientation:e="horizontal",opts:t,setApi:n,plugins:o,className:i,children:s,...r},c)=>{const[a,l]=Oe({...t,axis:e==="horizontal"?"x":"y"},o),[x,d]=E.useState(!1),[m,b]=E.useState(!1),u=E.useCallback(g=>{g&&(d(g.canScrollPrev()),b(g.canScrollNext()))},[]),p=E.useCallback(()=>{l?.scrollPrev()},[l]),h=E.useCallback(()=>{l?.scrollNext()},[l]),f=E.useCallback(g=>{g.key==="ArrowLeft"?(g.preventDefault(),p()):g.key==="ArrowRight"&&(g.preventDefault(),h())},[p,h]);return E.useEffect(()=>{!l||!n||n(l)},[l,n]),E.useEffect(()=>{if(l)return u(l),l.on("reInit",u),l.on("select",u),()=>{l?.off("select",u)}},[l,u]),S.jsx(Ze.Provider,{value:{carouselRef:a,api:l,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:p,scrollNext:h,canScrollPrev:x,canScrollNext:m},children:S.jsx("div",{ref:c,onKeyDownCapture:f,className:ge("relative",i),role:"region","aria-roledescription":"carousel",...r,children:s})})});We.displayName="Carousel";const et=E.forwardRef(({className:e,...t},n)=>{const{carouselRef:o,orientation:i}=Se();return S.jsx("div",{ref:o,className:"overflow-hidden",children:S.jsx("div",{ref:n,className:ge("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});et.displayName="CarouselContent";const tt=E.forwardRef(({className:e,...t},n)=>{const{orientation:o}=Se();return S.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:ge("min-w-0 shrink-0 grow-0 basis-full",o==="horizontal"?"pl-4":"pt-4",e),...t})});tt.displayName="CarouselItem";const nn=E.forwardRef(({className:e,variant:t="outline",size:n="icon",...o},i)=>{const{orientation:s,scrollPrev:r,canScrollPrev:c}=Se();return S.jsxs(Qe,{ref:i,variant:t,size:n,className:ge("absolute h-8 w-8 rounded-full",s==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!c,onClick:r,...o,children:[S.jsx(xt,{className:"h-4 w-4"}),S.jsx("span",{className:"sr-only",children:"Previous slide"})]})});nn.displayName="CarouselPrevious";const rn=E.forwardRef(({className:e,variant:t="outline",size:n="icon",...o},i)=>{const{orientation:s,scrollNext:r,canScrollNext:c}=Se();return S.jsxs(Qe,{ref:i,variant:t,size:n,className:ge("absolute h-8 w-8 rounded-full",s==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!c,onClick:r,...o,children:[S.jsx(pt,{className:"h-4 w-4"}),S.jsx("span",{className:"sr-only",children:"Next slide"})]})});rn.displayName="CarouselNext";const nt=[{image:yt,nameKey:"operatorStory.can.name",roleKey:"operatorStory.can.role",quoteKey:"operatorStory.can.quote",credentialKey:"operatorStory.can.credential",credentialDetailKey:"operatorStory.can.credentialDetail",credentialUrl:"https://www.instagram.com/heyoval/",linkedinUrl:"https://www.linkedin.com/in/koseoglu/",altText:"Can Koseoglu, Cendra Co-founder"},{image:bt,nameKey:"operatorStory.nakul.name",roleKey:"operatorStory.nakul.role",quoteKey:"operatorStory.nakul.quote",credentialKey:"operatorStory.nakul.credential",credentialDetailKey:"operatorStory.nakul.credentialDetail",credentialUrl:"https://techcrunch.com/2017/11/07/hostmaker-series-b/",linkedinUrl:"https://www.linkedin.com/in/sharmanakul/",altText:"Nakul Sharma, Cendra Co-founder"}],rt=[{image:St,nameKey:"operatorStory.mumin.name",roleKey:"operatorStory.mumin.role",quoteKey:"operatorStory.mumin.quote",credentialKey:"operatorStory.mumin.credential",credentialDetailKey:"operatorStory.mumin.credentialDetail",credentialUrl:"#",linkedinUrl:"https://www.linkedin.com/in/mumin-sahin/",altText:"Mumin Sahin, Cendra Co-founder & Lead Engineer"},{image:vt,nameKey:"operatorStory.ali.name",roleKey:"operatorStory.ali.role",quoteKey:"operatorStory.ali.quote",credentialKey:"operatorStory.ali.credential",credentialDetailKey:"operatorStory.ali.credentialDetail",credentialUrl:"#",linkedinUrl:"https://www.linkedin.com/in/aliozaltin/",altText:"Ali Ozaltin, Cendra Co-founder & CTO"}],_e=[...nt,...rt];function Le({founder:e,isActive:t,t:n}){return S.jsxs("article",{className:`
relative rounded-3xl p-8 md:p-10
transition-all duration-500 ease-out
h-full flex flex-col
${t!==!1?"bg-background shadow-xl shadow-primary/5 border border-border/50":"bg-muted/30 shadow-lg shadow-primary/3 border border-transparent"}
hover:shadow-2xl hover:shadow-primary/10
hover:-translate-y-1
group
`,"aria-label":`Founder profile: ${n(e.nameKey)}`,children:[S.jsxs("header",{className:"flex items-center gap-5 mb-8",children:[S.jsxs("div",{className:"relative",children:[S.jsx("img",{src:e.image,alt:e.altText,className:`w-20 h-20 md:w-24 md:h-24 rounded-full object-cover
ring-4 ring-background shadow-lg
transition-transform duration-300 group-hover:scale-105`,loading:"lazy"}),S.jsx("div",{className:`absolute inset-0 rounded-full bg-primary/10 opacity-0
group-hover:opacity-100 transition-opacity duration-300 blur-xl -z-10`})]}),S.jsxs("div",{className:"flex-1 min-w-0",children:[S.jsx("h3",{className:"text-xl md:text-2xl font-semibold text-foreground tracking-tight",children:n(e.nameKey)}),S.jsx("p",{className:"text-sm md:text-base text-muted-foreground mt-1 font-medium",children:n(e.roleKey)})]})]}),S.jsx("blockquote",{className:"flex-1 mb-8",children:S.jsx("p",{className:`text-foreground/90 text-base md:text-lg leading-relaxed md:leading-loose
tracking-wide`,dangerouslySetInnerHTML:{__html:n(e.quoteKey)}})}),S.jsxs("footer",{className:"pt-6 border-t border-border/50 flex items-end justify-between gap-4",children:[S.jsxs("div",{className:"flex-1 min-w-0",children:[S.jsx("a",{href:e.credentialUrl,target:"_blank",rel:"noopener noreferrer",className:`text-sm md:text-base font-semibold text-primary
hover:text-primary/80 transition-colors
inline-flex items-center gap-1 group/link`,children:S.jsxs("span",{className:"relative",children:[n(e.credentialKey),S.jsx("span",{className:`absolute bottom-0 left-0 w-0 h-px bg-primary
group-hover/link:w-full transition-all duration-300`})]})}),S.jsx("p",{className:"text-xs md:text-sm text-muted-foreground mt-1.5 leading-relaxed",children:n(e.credentialDetailKey)})]}),S.jsx("a",{href:e.linkedinUrl,target:"_blank",rel:"noopener noreferrer",className:`flex-shrink-0 w-10 h-10 rounded-full
bg-muted/50 hover:bg-primary/10
flex items-center justify-center
text-muted-foreground hover:text-primary
transition-all duration-300
hover:scale-110`,"aria-label":`Connect with ${n(e.nameKey)} on LinkedIn`,children:S.jsx(ht,{className:"w-5 h-5"})})]})]})}function on({t:e}){const[t,n]=E.useState(),[o,i]=E.useState(0);E.useEffect(()=>{t&&(i(t.selectedScrollSnap()),t.on("select",()=>{i(t.selectedScrollSnap())}))},[t]);const s=E.useCallback(r=>{t?.scrollTo(r)},[t]);return S.jsxs("div",{className:"md:hidden -mx-4 sm:-mx-6 overflow-visible",children:[S.jsx(We,{setApi:n,opts:{align:"start",loop:!0},className:"w-full",children:S.jsx(et,{className:"ml-4",children:_e.map((r,c)=>S.jsx(tt,{className:"basis-[82%] sm:basis-[80%] pr-4",children:S.jsx("div",{className:`transition-all duration-500 ease-out origin-center ${c===o?"scale-100 opacity-100":"scale-[0.96] opacity-60"}`,children:S.jsx(Le,{founder:r,isActive:c===o,t:e})})},c))})}),S.jsx("div",{className:"flex justify-center items-center gap-3 mt-8 px-4",role:"tablist","aria-label":"Founder cards",children:_e.map((r,c)=>S.jsx("button",{onClick:()=>s(c),role:"tab","aria-selected":c===o,className:`h-2 rounded-full transition-all duration-500 ease-out ${c===o?"bg-primary w-8":"bg-primary/20 w-2 hover:bg-primary/40"}`,"aria-label":`View founder ${c+1}`},c))})]})}function sn({activeView:e,setActiveView:t,t:n}){return S.jsxs("div",{className:"hidden md:flex justify-center gap-2 mt-6 mb-12",role:"tablist","aria-label":"Founder category tabs",children:[S.jsx("button",{onClick:()=>t("operators"),role:"tab","aria-selected":e==="operators",className:`px-5 py-2.5 rounded-full text-sm font-medium transition-all duration-300
focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2
${e==="operators"?"bg-primary text-primary-foreground shadow-md":"bg-muted text-muted-foreground hover:bg-muted/80"}`,children:n("operatorStory.tabOperators")}),S.jsx("button",{onClick:()=>t("technical"),role:"tab","aria-selected":e==="technical",className:`px-5 py-2.5 rounded-full text-sm font-medium transition-all duration-300
focus:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2
${e==="technical"?"bg-primary text-primary-foreground shadow-md":"bg-muted text-muted-foreground hover:bg-muted/80"}`,children:n("operatorStory.tabTechnical")})]})}function un(){const{t:e}=gt("compare"),[t,n]=E.useState("operators");return S.jsx("section",{className:"py-16 md:py-24 lg:py-32 bg-gradient-to-b from-background via-secondary/20 to-background","aria-labelledby":"operator-story-heading",children:S.jsxs("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[S.jsxs("header",{className:"max-w-3xl mx-auto text-center mb-8 md:mb-12",children:[S.jsx("p",{className:"text-xs md:text-sm font-semibold text-primary uppercase tracking-[0.2em] mb-4",children:e("operatorStory.label","Our Founders")}),S.jsx("h2",{id:"operator-story-heading",className:`text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold text-foreground
tracking-tight leading-[1.1] mb-6`,children:e("operatorStory.title")}),S.jsx("p",{className:`text-base sm:text-lg md:text-xl text-muted-foreground
leading-relaxed max-w-2xl mx-auto`,children:e("operatorStory.subtitle")}),S.jsx("p",{className:"text-sm text-muted-foreground/80 mt-3 hidden md:block",children:e("operatorStory.teamLine")})]}),S.jsx(sn,{activeView:t,setActiveView:n,t:e}),S.jsx(on,{t:e}),S.jsxs("div",{className:"hidden md:block relative overflow-hidden",style:{minHeight:"500px"},children:[S.jsx("div",{className:`grid grid-cols-2 gap-8 lg:gap-12 max-w-5xl mx-auto transition-all duration-500 ease-out
motion-reduce:transition-none
${t==="operators"?"opacity-100 translate-x-0 relative":"opacity-0 -translate-x-4 absolute inset-0 pointer-events-none"}`,role:"tabpanel","aria-hidden":t!=="operators",children:nt.map((o,i)=>S.jsx(Le,{founder:o,t:e},i))}),S.jsx("div",{className:`grid grid-cols-2 gap-8 lg:gap-12 max-w-5xl mx-auto transition-all duration-500 ease-out
motion-reduce:transition-none
${t==="technical"?"opacity-100 translate-x-0 relative":"opacity-0 translate-x-4 absolute inset-0 pointer-events-none"}`,role:"tabpanel","aria-hidden":t!=="technical",children:rt.map((o,i)=>S.jsx(Le,{founder:o,t:e},i))})]})]})})}export{We as C,un as O,et as a,tt as b};