1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,475254,e=>{"use strict";var t=e.i(271645);let n=(...e)=>e.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim();var r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,t.forwardRef)(({color:e="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:u,className:l="",children:a,iconNode:c,...s},d)=>(0,t.createElement)("svg",{ref:d,...r,width:o,height:o,stroke:e,strokeWidth:u?24*Number(i)/Number(o):i,className:n("lucide",l),...s},[...c.map(([e,n])=>(0,t.createElement)(e,n)),...Array.isArray(a)?a:[a]])),i=(e,r)=>{let i=(0,t.forwardRef)(({className:i,...u},l)=>(0,t.createElement)(o,{ref:l,iconNode:r,className:n(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,i),...u}));return i.displayName=`${e}`,i};e.s(["default",()=>i],475254)},376071,574361,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(991918),o=e.i(225913),i=e.i(975157);function u({children:e,type:n,className:r,noBlur:o,glowColor:u}){return(0,t.jsxs)("div",{className:(0,i.cn)("relative group",r),children:[(0,t.jsx)("div",{className:(0,i.cn)("pointer-events-none absolute inset-0 opacity-0 group-hover:opacity-90 transition-all duration-300",!u&&"bg-gradient-to-r from-[#0040C1] via-[#3E1C96] to-[#1F235B]",!o&&"blur-sm","rectangle"===n?"rounded-[24px]":"rounded-full"),style:u?{background:u}:void 0}),e]})}e.s(["default",()=>u],574361);let l=(0,o.cva)("relative inline-flex items-center justify-center whitespace-nowrap rounded-full text-lg font-bold ring-offset-background transition-colors ease-in-out duration-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary border-2 border-[#2C3C4C]/60 text-white py-6 px-8 text-primary-foreground hover:bg-primary/90 before:absolute before:inset-0 before:bg-black before:opacity-0 before:rounded-full before:transition-opacity before:duration-300 hover:before:opacity-20",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",border_light:"relative bg-[#04040F] text-white p-[1px] hover:p-[2px] rounded-full border-2 border-white/10",border_dark:"relative bg-[#2C3C4C] text-primary-foreground p-[1px] hover:p-[2px] rounded-full before:opacity-0 before:absolute before:inset-0 before:bg-gradient-to-r before:from-[#CC0000] before:from-[-0.08%] before:to-[#CC0000] before:rounded-full before:to-99% before:transition-opacity before:duration-300 hover:before:opacity-100",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-[48px] rounded-full",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"relative h-12 w-12 rounded-full"}},defaultVariants:{variant:"default",size:"default"}}),a=n.forwardRef(({className:e,variant:n,size:o,hasShadow:a=!1,asChild:c=!1,asSpan:s=!1,withBorderGradient:d=!1,...f},p)=>{let m=c?r.Slot:s?"span":"button",g=(0,t.jsx)(m,{className:(0,i.cn)(l({variant:n,size:o}),a?"hover:shadow-custom-primary transition-shadow ease-in-out duration-300":"",e),ref:p,...f,children:f.children});return d?(0,t.jsx)(u,{children:g}):g});a.displayName="Button",e.s(["Button",()=>a],376071)},225913,e=>{"use strict";var t=e.i(207670);let n=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,r=t.clsx;e.s(["cva",0,(e,t)=>o=>{var i;if((null==t?void 0:t.variants)==null)return r(e,null==o?void 0:o.class,null==o?void 0:o.className);let{variants:u,defaultVariants:l}=t,a=Object.keys(u).map(e=>{let t=null==o?void 0:o[e],r=null==l?void 0:l[e];if(null===t)return null;let i=n(t)||n(r);return u[e][i]}),c=o&&Object.entries(o).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return r(e,a,null==t||null==(i=t.compoundVariants)?void 0:i.reduce((e,t)=>
1{let{class:n,className:r,...o}=t;return Object.entries(o).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...c}[t]):({...l,...c})[t]===n})?[...e,n,r]:e},[]),null==o?void 0:o.class,null==o?void 0:o.className)}])},991918,820783,e=>{"use strict";var t=e.i(271645);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function r(...e){return t=>{let r=!1,o=e.map(e=>{let o=n(e,t);return r||"function"!=typeof o||(r=!0),o});if(r)return()=>{for(let t=0;t<o.length;t++){let r=o[t];"function"==typeof r?r():n(e[t],null)}}}}function o(...e){return t.useCallback(r(...e),e)}e.s(["composeRefs",()=>r,"useComposedRefs",()=>o],820783);var i=e.i(843476);function u(e){var n;let o,u=(n=e,(o=t.forwardRef((e,n)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var u;let e,l,a=(u=o,(l=(e=Object.getOwnPropertyDescriptor(u.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?u.ref:(l=(e=Object.getOwnPropertyDescriptor(u,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?u.props.ref:u.props.ref||u.ref),c=function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(i,o.props);return o.type!==t.Fragment&&(c.ref=n?r(n,a):a),t.cloneElement(o,c)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${n}.SlotClone`,o),l=t.forwardRef((e,n)=>{let{children:r,...o}=e,l=t.Children.toArray(r),a=l.find(c);if(a){let e=a.props.children,r=l.map(n=>n!==a?n:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,i.jsx)(u,{...o,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,r):null})}return(0,i.jsx)(u,{...o,ref:n,children:r})});return l.displayName=`${e}.Slot`,l}var l=u("Slot"),a=Symbol("radix.slottable");function c(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}e.s(["Slot",()=>l,"createSlot",()=>u],991918)},871689,e=>{"use strict";let t=(0,e.i(475254).default)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>t],871689)},634966,e=>{"use strict";var t=e.i(843476),n=e.i(271645);function r(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let n=Object.keys(e),i=Object.keys(t);return n.length===i.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let i=e[n],u=t[n];return"function"==typeof i?`${i}`==`${u}`:r(i)&&r(u)?o(i,u):i===u})}function i(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function u(e){return"number"==typeof e}function l(e){return"string"==typeof e}function a(e){return"boolean"==typeof e}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}function s(e){return Math.abs(e)}function d(e){return Math.sign(e)}function f(e){return h(e).map(Number)}function p(e){return e[m(e)]}function m(e){return Math.max(0,e.length-1)}function g(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function h(e){return Object.keys(e)}function v(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function b(){let e=[],t={add:function(n,r,o,i={passive:!0}){let u;return"addEventListener"in n?(n.addEventListener(r,o,i),u=()=>n.removeEventListener(r,o,i)):(n.addListener(o),u=()=>n.removeListener(o)),e.push(u),t},clear:function(){e=e.filter(e=>e())}};return t}function y(e=0,t=0){let n=s(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 x(e){let t=e;function n(e){return u(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,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 C={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};
1function k(e,t,n){let r,o,i,N,S,j,E,O,A=e.ownerDocument,D=A.defaultView,L=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(h(n).forEach(r=>{let o=t[r],i=n[r],u=c(o)&&c(i);t[r]=u?e(o,i):i}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},o=h(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,o)},optionsMediaQueries:function(t){return t.map(e=>h(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(D),I=(O=[],{init:function(e,t){return(O=t.filter(({options:e})=>!1!==L.optionsAtMedia(e).active)).forEach(t=>t.init(e,L)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){O=O.filter(e=>e.destroy())}}),R=b(),z=(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}=L,{on:T,off:V,emit:B}=z,$=!1,H=P(C,k.globalOptions),q=P(H),U=[];function W(t,n){$||(q=F(H=P(H,t)),U=n||U,function(){let{container:t,slides:n}=q;j=(l(t)?e.querySelector(t):t)||e.children[0];let r=l(n)?j.querySelectorAll(n):n;E=[].slice.call(r||j.children)}(),N=function t(n){let r=function(e,t,n,r,o,i,c){var C,k;let N,S,j,E,O,A,D,L,I,R,z,P,F,M,{align:T,axis:V,direction:B,startIndex:$,loop:H,duration:q,dragFree:U,dragThreshold:W,inViewThreshold:_,slidesToScroll:K,skipSnaps:J,containScroll:X,watchResize:Z,watchSlides:Q,watchDrag:Y,watchFocus:G}=i,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:o}=e;return{top:t,right:n+r,bottom:t+o,left:n,width:r,height:o}}},et=ee.measure(t),en=n.map(ee.measure),er=(S="rtl"===B,E=(j="y"===V)||!S?1:-1,O=j?"top":S?"right":"left",A=j?"bottom":S?"left":"right",{scroll:j?"y":"x",cross:j?"x":"y",startEdge:O,endEdge:A,measureSize:function(e){let{height:t,width:n}=e;return j?t:n},direction:function(e){return e*E}}),eo=er.measureSize(et),ei={measure:function(e){return e/100*eo}},eu=(C=T,k=eo,N={start:function(){return 0},center:function(e){return(k-e)/2},end:function(e){return k-e}},{measure:function(e,t){return l(C)?N[C](e):C(k,e,t)}}),el=!H&&!!X,{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,d=function(){if(!c)return 0;let e=n[0];return s(t[l]-e[l])}(),f=c?parseFloat(i.getComputedStyle(p(r)).getPropertyValue(`margin-${a}`)):0,g=n.map(u),h=n.map((e,t,n)=>{let r=t===m(n);return t?r?g[t]+f:n[t+1][l]-e[l]:g[t]+d}).map(s);return{slideSizes:g,slideSizesWithGaps:h,startGap:d,endGap:f}}(er,et,en,n,H||!!X,o),ef=function(e,t,n,r,o,i,l,a,c){let{startEdge:d,endEdge:g,direction:h}=e,v=u(n);return{groupSlides:function(e){return v?f(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?f(e).reduce((n,u,c)=>{let f=p(n)||0,v=u===m(e),b=o[d]-i[f][d],y=o[d]-i[u][g],x=r||0!==f?0:h(l),w=s(y-(!r&&v?h(a):0)-(b+x));return c&&w>t+2&&n.push(u),v&&n.push(e.length),n},[]).map((t,n,r)=>{let o=Math.max(r[n-1]||0);return e.slice(o,t)}):[]}}}(er,eo,K,H,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=>p(e)[u]-e[0][i]).map(s).map(t.measure),c=r.map(e=>n[i]-e[i]).map(e=>-s(e)),d=l(c).map(e=>e[0]).map((e,t)=>e+a[t]);return{snaps:c,snapsAligned:d}}(er,eu,et,en,ef),eg=-p(ep)+p(ec),{snapsContained:eh,scrollContainLimit:ev}=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===m(n);return t?u||function(e,t){return 1>=s(e-t)}(r,i)?r:function(e,t){return 1>=s(e-t)}(o,i)?o:i:o}).map(e=>parseFloat(e.toFixed(3))),c=(i=a[0],u=p(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,X,0),eb=el?eh:em,{limit:ey}=(D=eb[0],{limit:y(H?D-eg:p(eb),D)}),ex=function e(t,n,r){let{constrain:o}=y(0,t),i=t+1,u=l(n);function l(e){return r?s((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}(m(eb),$,H),ew=ex.clone(),eC=f(n),ek=function(e,t,n,r){let o=b(),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 v=n.get()*f+o.get()*(1-f);r.set(v),d&&(i.loop(e.direction()),u.loop()),t.to(r.get()),h&&c.emit("settle"),g||c.emit("scroll")})(eM,e)),eN=eb[ex.get()],eS=x(eN),ej=x(eN),eE=x(eN),eO=x(eN),eA=function(e,t,n,r,o,i){let u=0,l=0,a=o,c=.68,f=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,f+=u,e.add(u),o=f-p):(u=0,n.set(r),e.set(r),o=t),l=d(o),p=f,h},settled:function(){return .001>s(r.get()-t.get())},useBaseFriction:function(){return g(.68)},useBaseDuration:function(){return m(o)},useFriction:g,useDuration:m};return h}(eS,eE,ej,eO,q,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)=>
1s(e)-s(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=>d(e)===r);return i.length?a(i):p(o)-n}return{byDistance:function(n,r){let a=o.get()+n,{index:d,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)=>s(e.diff)-s(t.diff))[0];return{index:o,distance:r}}(a),p=!e&&i(a);if(!r||p)return{index:d,distance:n};let m=n+c(t[d]-f,0);return{index:d,distance:m}},byIndex:function(e,n){let r=c(t[e]-o.get(),n);return{index:e,distance:r}},shortcut:c}}(H,eb,eg,ey,eO),eL=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))}}}(ek,ex,ew,eA,eD,eO,c),eI=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ey),eR=b(),ez=(I={},R=null,z=null,P=!1,{init:function(){L=new IntersectionObserver(e=>{P||(e.forEach(e=>{I[n.indexOf(e.target)]=e}),R=null,z=null,c.emit("slidesInView"))},{root:t.parentElement,threshold:_}),n.forEach(e=>L.observe(e))},destroy:function(){L&&L.disconnect(),P=!0},get:function(e=!0){if(e&&R)return R;if(!e&&z)return z;let t=h(I).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:o}=I[r];return(e&&o||!e&&!o)&&t.push(r),t},[]);return e&&(R=t),e||(z=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===m(n);return t?r?g(m(i)-p(n)[0]+1,p(n)[0]):e:g(p(n[0])+1)}):u)}}(el,X,eb,ev,ef,eC),eF=function(e,t,n,r,o,i,l,c){let s={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(p){c&&(i.add(document,"keydown",f,!1),t.forEach((t,f)=>{i.add(t,"focus",t=>{(a(c)||c(p,t))&&function(t){if(new Date().getTime()-d>10)return;l.emit("slideFocusStart"),e.scrollLeft=0;let i=n.findIndex(e=>e.includes(t));u(i)&&(o.useDuration(0),r.index(i,0),l.emit("slideFocus"))}(f)},s)}))}}}(e,n,eP,eL,eA,eR,c,G),eM={ownerDocument:r,ownerWindow:o,eventHandler:c,containerRect:et,slideRects:en,animation:ek,axis:er,dragHandler:function(e,t,n,r,o,i,u,l,c,f,p,m,g,h,x,w,C,k,N){let{cross:S,direction:j}=e,E=["INPUT","SELECT","TEXTAREA"],O={passive:!1},A=b(),D=b(),L=y(50,225).constrain(h.measure(20)),I={mouse:300,touch:400},R={mouse:500,touch:600},z=x?43:25,P=!1,F=0,M=0,T=!1,V=!1,B=!1,$=!1;function H(e){if(!v(e,r)&&e.touches.length>=2)return q(e);let t=i.readPoint(e),n=i.readPoint(e,S),u=s(t-F),a=s(n-M);if(!V&&!$&&(!e.cancelable||!(V=u>a)))return q(e);let c=i.pointerMove(e);u>w&&(B=!0),f.useFriction(.3).useDuration(.75),l.start(),o.add(j(c)),e.preventDefault()}function q(e){var t;let n,r,o=p.byDistance(0,!1).index!==m.get(),u=i.pointerUp(e)*(x?R:I)[$?"mouse":"touch"],l=(t=j(u),n=m.add(-1*d(t)),r=p.byDistance(t,!x).distance,x||s(t)<L?r:C&&o?.5*r:p.byIndex(n.get(),0).distance),a=function(e,t){var n,r;if(0===e||0===t||s(e)<=s(t))return 0;let o=(n=s(e),r=s(t),s(n-r));return s(o/e)}(u,l);V=!1,T=!1,D.clear(),f.useDuration(z-10*a).useFriction(.68+a/50),c.distance(l,!x),$=!1,g.emit("pointerUp")}function U(e){B&&(e.stopPropagation(),e.preventDefault(),B=!1)}return{init:function(e){N&&A.add(t,"dragstart",e=>e.preventDefault(),O).add(t,"touchmove",()=>void 0,O).add(t,"touchend",()=>void 0).add(t,"touchstart",l).add(t,"mousedown",l).add(t,"touchcancel",q).add(t,"contextmenu",q).add(t,"click",U,!0);function l(l){(a(N)||N(e,l))&&function(e){let l,a=v(e,r);if(($=a,B=x&&a&&!e.buttons&&P,P=s(o.get()-u.get())>=2,!a||0===e.button)&&(l=e.target.nodeName||"",!E.includes(l))){let r;T=!0,i.pointerDown(e),f.useFriction(0).useDuration(0),o.set(u),r=$?n:t,D.add(r,"touchmove",H,O).add(r,"touchend",q).add(r,"mousemove",H,O).add(r,"mouseup",q),F=i.readPoint(e),M=i.readPoint(e,S),g.emit("pointerDown")}}(l)}},destroy:function(){A.clear(),D.clear()},pointerDown:function(){return T}}}(er,e,r,o,eO,function(e,t){let n,r;function o(e){return e.timeStamp}function i(n,r){let o=r||e.scroll,i=`client${"x"===o?"X":"Y"}`;return(v(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&&s(a)>.1?a:0},readPoint:i}}(er,o),eS,ek,eL,eA,eD,ex,c,ei,U,W,J,0,Y),eventStore:eR,percentOfView:ei,index:ex,indexPrevious:ew,limit:ey,location:eS,offsetLocation:eE,previousLocation:ej,options:i,resizeHandler:function(e,t,n,r,o,i,u){let l,c,d=[e].concat(r),f=[],p=!1;function m(e){return o.measureSize(u.measure(e))}
1return{init:function(o){i&&(c=m(e),f=r.map(m),l=new ResizeObserver(n=>{(a(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?c:f[u];if(s(m(n?e:r[u])-l)>=.5){o.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{d.forEach(e=>l.observe(e))}))},destroy:function(){p=!0,l&&l.disconnect()}}}(t,c,o,n,er,Z,ee),scrollBody:eA,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",d=s(e[a]-t.get()),f=n.get()-t.get(),p=l.constrain(d/u);n.subtract(f*p),!o&&s(f)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){a=!e}}}(ey,eE,eO,eA,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,ey,eE,[eS,eE,ej,eO]),scrollProgress:eI,scrollSnapList:eb.map(eI.get),scrollSnaps:eb,scrollTarget:eD,scrollTo:eL,slideLooper:function(e,t,n,r,o,i,u,l,a){let c=f(o),s=f(o).reverse(),d=g(m(s,u[0]),n,!1).concat(g(m(c,t-u[0]-1),-n,!0));function p(e,t){return e.reduce((e,t)=>e-o[t],t)}function m(e,t){return e.reduce((e,n)=>p(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:x(-1),translate:w(e,a[t]),target:()=>l.get()>i?r:o}})}return{canLoop:function(){return d.every(({index:e})=>.1>=p(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,eb,eE,n),slideFocus:eF,slidesHandler:(M=!1,{init:function(e){Q&&(F=new MutationObserver(t=>{!M&&(a(Q)||Q(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(){F&&F.disconnect(),M=!0}}),slidesInView:ez,slideIndexes:eC,slideRegistry:eP,slidesToScroll:ef,target:eO,translate:w(er,t)};return eM}(e,j,E,A,D,n,z);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(q),M([H,...U.map(({options:e})=>e)]).forEach(e=>R.add(e,"change",_)),q.active&&(N.translate.to(N.location.get()),N.animation.init(),N.slidesInView.init(),N.slideFocus.init(Z),N.eventHandler.init(Z),N.resizeHandler.init(Z),N.slidesHandler.init(Z),N.options.loop&&N.slideLooper.loop(),j.offsetParent&&E.length&&N.dragHandler.init(Z),S=I.init(Z,U)))}function _(e,t){let n=X();K(),W(P({startIndex:n},e),t),z.emit("reInit")}function K(){N.dragHandler.destroy(),N.eventStore.clear(),N.translate.clear(),N.slideLooper.clear(),N.resizeHandler.destroy(),N.slidesHandler.destroy(),N.slidesInView.destroy(),N.animation.destroy(),I.destroy(),R.clear()}function J(e,t,n){q.active&&!$&&(N.scrollBody.useBaseFriction().useDuration(!0===t?0:q.duration),N.scrollTo.index(e,n||0))}function X(){return N.index.get()}let Z={canScrollNext:function(){return N.index.add(1).get()!==X()},canScrollPrev:function(){return N.index.add(-1).get()!==X()},containerNode:function(){return j},internalEngine:function(){return N},destroy:function(){$||($=!0,R.clear(),K(),z.emit("destroy"),z.clear())},off:V,on:T,emit:B,plugins:function(){return S},previousScrollSnap:function(){return N.indexPrevious.get()},reInit:_,rootNode:function(){return e},scrollNext:function(e){J(N.index.add(1).get(),e,-1)},scrollPrev:function(e){J(N.index.add(-1).get(),e,1)},scrollProgress:function(){return N.scrollProgress.get(N.offsetLocation.get())},scrollSnapList:function(){return N.scrollSnapList},scrollTo:J,selectedScrollSnap:X,slideNodes:function(){return E},slidesInView:function(){return N.slidesInView.get()},slidesNotInView:function(){return N.slidesInView.get(!1)}};return W(t,n),setTimeout(()=>z.emit("init"),0),Z}function N(e={}
1,t=[]){let r=(0,n.useRef)(e),u=(0,n.useRef)(t),[l,a]=(0,n.useState)(),[c,s]=(0,n.useState)(),d=(0,n.useCallback)(()=>{l&&l.reInit(r.current,u.current)},[l]);return(0,n.useEffect)(()=>{o(r.current,e)||(r.current=e,d())},[e,d]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=i(e),r=i(t);return n.every((e,t)=>o(e,r[t]))}(u.current,t)&&(u.current=t,d())},[t,d]),(0,n.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&c){k.globalOptions=N.globalOptions;let e=k(c,r.current,u.current);return a(e),()=>e.destroy()}a(void 0)},[c,a]),[s,l]}k.globalOptions=void 0,N.globalOptions=void 0;var S=e.i(871689);let j=(0,e.i(475254).default)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var E=e.i(975157),O=e.i(376071);let A=n.createContext(null);function D(){let e=n.useContext(A);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let L=n.forwardRef(({orientation:e="horizontal",opts:r,setApi:o,plugins:i,className:u,children:l,...a},c)=>{let[s,d]=N({...r,axis:"horizontal"===e?"x":"y"},i),[f,p]=n.useState(!1),[m,g]=n.useState(!1),h=n.useCallback(e=>{e&&(p(e.canScrollPrev()),g(e.canScrollNext()))},[]),v=n.useCallback(()=>{d?.scrollPrev()},[d]),b=n.useCallback(()=>{d?.scrollNext()},[d]),y=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),b())},[v,b]);return n.useEffect(()=>{d&&o&&o(d)},[d,o]),n.useEffect(()=>{if(d)return h(d),d.on("reInit",h),d.on("select",h),()=>{d?.off("select",h)}},[d,h]),(0,t.jsx)(A.Provider,{value:{carouselRef:s,api:d,opts:r,orientation:e||(r?.axis==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:b,canScrollPrev:f,canScrollNext:m},children:(0,t.jsx)("div",{ref:c,onKeyDownCapture:y,className:(0,E.cn)("relative",u),role:"region","aria-roledescription":"carousel",...a,children:l})})});L.displayName="Carousel";let I=n.forwardRef(({className:e,viewportClassName:n,...r},o)=>{let{carouselRef:i,orientation:u}=D();return(0,t.jsx)("div",{ref:i,className:(0,E.cn)("overflow-hidden",n),children:(0,t.jsx)("div",{ref:o,className:(0,E.cn)("flex","horizontal"===u?"-ml-4":"-mt-4 flex-col",e),...r})})});I.displayName="CarouselContent";let R=n.forwardRef(({className:e,...n},r)=>{let{orientation:o}=D();return(0,t.jsx)("div",{ref:r,role:"group","aria-roledescription":"slide",className:(0,E.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===o?"pl-4":"pt-4",e),...n})});R.displayName="CarouselItem";let z=n.forwardRef(({className:e,variant:n="outline",size:r="icon",...o},i)=>{let{orientation:u,scrollPrev:l,canScrollPrev:a}=D();return(0,t.jsxs)(O.Button,{ref:i,variant:n,size:r,className:(0,E.cn)("absolute h-8 w-8 rounded-full","horizontal"===u?"-left-12 top-[35%] -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:l,...o,children:[(0,t.jsx)(S.ArrowLeft,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});z.displayName="CarouselPrevious";let P=n.forwardRef(({className:e,variant:n="outline",size:r="icon",...o},i)=>{let{orientation:u,scrollNext:l,canScrollNext:a}=D();return(0,t.jsxs)(O.Button,{ref:i,variant:n,size:r,className:(0,E.cn)("absolute h-8 w-8 rounded-full","horizontal"===u?"-right-12 top-[35%] -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!a,onClick:l,...o,children:[(0,t.jsx)(j,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})});P.displayName="CarouselNext",e.s(["Carousel",()=>L,"CarouselContent",()=>I,"CarouselItem",()=>R,"CarouselNext",()=>P,"CarouselPrevious",()=>z],634966)}]);
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.