1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,75830,e=>{"use strict";var t=e.i(71645),n=e.i(30030),r=e.i(20783),i=e.i(91918),o=e.i(43476),l=Object.defineProperty,u=(e,t)=>l(e,"name",{value:t,configurable:!0});function s(e){let l=e+"CollectionProvider",[s,c]=(0,n.createContextScope)(l),[a,f]=s(l,{collectionRef:{current:null},itemMap:new Map}),d=u(e=>{let{scope:n,children:r}=e,i=t.useRef(null),l=t.useRef(new Map).current;return(0,o.jsx)(a,{scope:n,itemMap:l,collectionRef:i,children:r})},"CollectionProvider");d.displayName=l;let p=e+"CollectionSlot",h=(0,i.createSlot)(p),m=t.forwardRef((e,t)=>{let{scope:n,children:i}=e,l=f(p,n),u=(0,r.useComposedRefs)(t,l.collectionRef);return(0,o.jsx)(h,{ref:u,children:i})});m.displayName=p;let y=e+"CollectionItemSlot",g="data-radix-collection-item",v=(0,i.createSlot)(y),x=t.forwardRef((e,n)=>{let{scope:i,children:l,...u}=e,s=t.useRef(null),c=(0,r.useComposedRefs)(n,s),a=f(y,i);return t.useEffect(()=>(a.itemMap.set(s,{ref:s,...u}),()=>void a.itemMap.delete(s))),(0,o.jsx)(v,{...{[g]:""},ref:c,children:l})});function b(n){let r=f(e+"CollectionConsumer",n);return t.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])}return x.displayName=y,u(b,"useCollection"),[{Provider:d,Slot:m,ItemSlot:x},b,c]}u(s,"createCollection");var c=new WeakMap,a=class e extends Map{static{u(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],c.set(this,!0)}set(e,t){return c.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),o=this.#e.length,l=p(e),u=l>=0?l:o+l,s=u<0||u>=o?-1:u;if(s===this.size||i&&s===this.size-1||-1===s)return this.set(t,n),this;let c=this.size+ +!i;l<0&&u++;let a=[...this.#e],f=!1;for(let e=u;e<c;e++)if(u===e){let o=a[e];a[e]===t&&(o=a[e+1]),i&&this.delete(t),r=this.get(o),this.set(t,n)}else{f||a[e-1]!==t||(f=!0);let n=a[f?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=f(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=f(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return f(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function f(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=d(e,t);return -1===n?void 0:e[n]}function d(e,t){let n=e.length,r=p(t),i=r>=0?r:n+r;return i<0||i>=n?-1:i}function p(e){return e!=e||0===e?0:Math.trunc(e)}function h(e,t){if(e===t)return!0;
1if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}function m(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function y(e,t){return e[1].element&&t[1].element?m(e[1].element,t[1].element)?-1:1:0}function g(e){return new MutationObserver(t=>{for(let n of t)if("childList"===n.type)return void e()})}u(f,"at"),u(d,"toSafeIndex"),u(p,"toSafeInteger"),u(function(e){let l=e+"CollectionProvider",[s,c]=(0,n.createContextScope)(l),[f,d]=s(l,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new a,setItemMap:u(()=>void 0,"setItemMap")}),p=u(({state:e,...t})=>e?(0,o.jsx)(v,{...t,state:e}):(0,o.jsx)(m,{...t}),"CollectionProvider");p.displayName=l;let m=u(e=>{let t=O();return(0,o.jsx)(v,{...e,state:t})},"CollectionInit");m.displayName=l+"Init";let v=u(e=>{let{scope:n,children:i,state:l}=e,u=t.useRef(null),[s,c]=t.useState(null),a=(0,r.useComposedRefs)(u,c),[d,p]=l;return t.useEffect(()=>{if(!s)return;let e=g(()=>{});return e.observe(s,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[s]),(0,o.jsx)(f,{scope:n,itemMap:d,setItemMap:p,collectionRef:a,collectionRefObject:u,collectionElement:s,children:i})},"CollectionProviderImpl");v.displayName=l+"Impl";let x=e+"CollectionSlot",b=(0,i.createSlot)(x),w=t.forwardRef((e,t)=>{let{scope:n,children:i}=e,l=d(x,n),u=(0,r.useComposedRefs)(t,l.collectionRef);return(0,o.jsx)(b,{ref:u,children:i})});w.displayName=x;let C=e+"CollectionItemSlot",S=(0,i.createSlot)(C),k=t.forwardRef((e,n)=>{let{scope:i,children:l,...u}=e,s=t.useRef(null),[c,f]=t.useState(null),p=(0,r.useComposedRefs)(n,s,f),{setItemMap:m}=d(C,i),g=t.useRef(u);h(g.current,u)||(g.current=u);let v=g.current;return t.useEffect(()=>(m(e=>c?e.has(c)?e.set(c,{...v,element:c}).toSorted(y):(e.set(c,{...v,element:c}),e.toSorted(y)):e),()=>{m(e=>c&&e.has(c)?(e.delete(c),new a(e)):e)}),[c,v,m]),(0,o.jsx)(S,{"data-radix-collection-item":"",ref:p,children:l})});function O(){return t.useState(new a)}function R(t){let{itemMap:n}=d(e+"CollectionConsumer",t);return n}return k.displayName=C,u(O,"useInitCollection"),u(R,"useCollection"),[{Provider:p,Slot:w,ItemSlot:k},{createCollectionScope:c,useCollection:R,useInitCollection:O}]},"createCollection"),u(h,"shallowEqual"),u(m,"isElementPreceding"),u(y,"sortByDocumentPosition"),u(g,"getChildListObserver"),e.s(["createCollection",0,s])},64659,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],64659)},19737,e=>{"use strict";var t=e.i(43476),n=e.i(71645);function r(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function i(e,t){let n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let o=e[n],l=t[n];return"function"==typeof o?`${o}`==`${l}`:r(o)&&r(l)?i(o,l):o===l})}function o(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function l(e){return"number"==typeof e}function u(e){return"string"==typeof e}function s(e){return"boolean"==typeof e}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}function a(e){return Math.abs(e)}function f(e){return Math.sign(e)}function d(e){return y(e).map(Number)}function p(e){return e[h(e)]}function h(e){return Math.max(0,e.length-1)}function m(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function y(e){return Object.keys(e)}function g(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function v(){let e=[],t={add:function(n,r,i,o={passive:!0}){let l;return"addEventListener"in n?(n.addEventListener(r,i,o),l=()=>n.removeEventListener(r,i,o)):(n.addListener(i),l=()=>n.removeListener(i)),e.push(l),t},clear:function(){e=e.filter(e=>e())}};return t}function x(e=0,t=0){let n=a(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}
1,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function b(e){let t=e;function n(e){return l(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function 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,o=!1;return{clear:function(){!o&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;let l=Math.round(100*e.direction(t))/100;l!==i&&(r.transform=n(l),i=l)},toggleActive:function(e){o=!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};function S(e,t,n){let r,i,o,k,O,R,N,j,A=e.ownerDocument,I=A.defaultView,E=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>
1(y(n).forEach(r=>{let i=t[r],o=n[r],l=c(i)&&c(o);t[r]=l?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=y(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=>y(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(I),M=(j=[],{init:function(e,t){return(j=t.filter(({options:e})=>!1!==E.optionsAtMedia(e).active)).forEach(t=>t.init(e,E)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){j=j.filter(e=>e.destroy())}}),P=v(),D=(i={},o={init:function(e){r=e},emit:function(e){return(i[e]||[]).forEach(t=>t(r,e)),o},off:function(e,t){return i[e]=(i[e]||[]).filter(e=>e!==t),o},on:function(e,t){return i[e]=(i[e]||[]).concat([t]),o},clear:function(){i={}}}),{mergeOptions:z,optionsAtMedia:L,optionsMediaQueries:F}=E,{on:T,off:B,emit:H}=D,V=!1,q=z(C,S.globalOptions),U=z(q),$=[];function K(t,n){V||(U=L(q=z(q,t)),$=n||$,function(){let{container:t,slides:n}=U;R=(u(t)?e.querySelector(t):t)||e.children[0];let r=u(n)?R.querySelectorAll(n):n;N=[].slice.call(r||R.children)}(),k=function t(n){let r=function(e,t,n,r,i,o,c){var C,S;let k,O,R,N,j,A,I,E,M,P,D,z,L,F,{align:T,axis:B,direction:H,startIndex:V,loop:q,duration:U,dragFree:$,dragThreshold:K,inViewThreshold:J,slidesToScroll:X,skipSnaps:_,containScroll:G,watchResize:Q,watchSlides:W,watchDrag:Y,watchFocus:Z}=o,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=(O="rtl"===H,N=(R="y"===B)||!O?1:-1,j=R?"top":O?"right":"left",A=R?"bottom":O?"left":"right",{scroll:R?"y":"x",cross:R?"x":"y",startEdge:j,endEdge:A,measureSize:function(e){let{height:t,width:n}=e;return R?t:n},direction:function(e){return e*N}}),ei=er.measureSize(et),eo={measure:function(e){return e/100*ei}},el=(C=T,S=ei,k={start:function(){return 0},center:function(e){return(S-e)/2},end:function(e){return S-e}},{measure:function(e,t){return u(C)?k[C](e):C(S,e,t)}}),eu=!q&&!!G,{slideSizes:es,slideSizesWithGaps:ec,startGap:ea,endGap:ef}=function(e,t,n,r,i,o){let{measureSize:l,startEdge:u,endEdge:s}=e,c=n[0]&&i,f=function(){if(!c)return 0;let e=n[0];return a(t[u]-e[u])}(),d=c?parseFloat(o.getComputedStyle(p(r)).getPropertyValue(`margin-${s}`)):0,m=n.map(l),y=n.map((e,t,n)=>{let r=t===h(n);return t?r?m[t]+d:n[t+1][u]-e[u]:m[t]+f}).map(a);return{slideSizes:m,slideSizesWithGaps:y,startGap:f,endGap:d}}(er,et,en,n,q||!!G,i),ed=function(e,t,n,r,i,o,u,s){let{startEdge:c,endEdge:f,direction:m}=e,y=l(n);return{groupSlides:function(e){return y?d(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?d(e).reduce((n,l,d)=>{let y=p(n)||0,g=l===h(e),v=i[c]-o[y][c],x=i[c]-o[l][f],b=r||0!==y?0:m(u),w=a(x-(!r&&g?m(s):0)-(v+b));return d&&w>t+2&&n.push(l),g&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(er,ei,X,q,et,en,ea,ef),{snaps:ep,snapsAligned:eh}=function(e,t,n,r,i){let{startEdge:o,endEdge:l}=e,{groupSlides:u}=i,s=u(r).map(e=>p(e)[l]-e[0][o]).map(a).map(t.measure),c=r.map(e=>n[o]-e[o]).map(e=>-a(e)),f=u(c).map(e=>e[0]).map((e,t)=>e+s[t]);return{snaps:c,snapsAligned:f}}(er,el,et,en,ed),em=-p(ep)+p(ec),{snapsContained:ey,scrollContainLimit:eg}=function(e,t,n,r){let i,o,l=x(-t+e,0),u=n.map((e,t)=>{let{min:r,max:i}=l,o=l.constrain(e),u=t===h(n);return t?u||function(e,t){return 1>=a(e-t)}(r,o)?r:function(e,t){return 1>=a(e-t)}(i,o)?i:o:i}).map(e=>parseFloat(e.toFixed(3))),s=(i=u[0],o=p(u),x(u.lastIndexOf(i),u.indexOf(o)+1));return{snapsContained:function(){if(t<=e+2)return[l.max];if("keepSnaps"===r)return u;let{min:n,max:i}=s;return u.slice(n,i)}(),scrollContainLimit:s}}(ei,em,eh,G),ev=eu?ey:eh,{limit:ex}=(I=ev[0],{limit:x(q?I-em:p(ev),I)}),eb=function e(t,n,r){let{constrain:i}=x(0,t),o=t+1,l=u(n);function u(e){return r?a((o+e)%o):i(e)}function s(){return e(t,l,r)}let c={get:function(){return l},set:function(e){return l=u(e),c},add:function(e){return s().set(l+e)},clone:s};return c}(h(ev),V,q),ew=eb.clone(),eC=d(n),eS=function(e,t,n,r){let i=v(),o=1e3/60,l=null,u=0,s=0;function c(e){if(!s)return;l||(l=e,n(),n());let i=e-l;for(l=e,u+=i;u>=o;)n(),u-=o;r(u/o),s&&(s=t.requestAnimationFrame(c))}function a(){t.cancelAnimationFrame(s),l=null,u=0,s=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(l=null,u=0)})},destroy:function(){a(),i.clear()},start:function(){s||(s=t.requestAnimationFrame(c))},stop:a,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eF),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:l,dragHandler:u,animation:s,eventHandler:c,scrollBounds:a,options:{loop:f}},d)=>{let p=e.settled(),h=!a.shouldConstrain(),m=f?p:p&&h,y=m&&!u.pointerDown();y&&s.stop();let g=n.get()*d+i.get()*(1-d);r.set(g),f&&(o.loop(e.direction()),l.loop()),t.to(r.get()),y&&c.emit("settle"),m||c.emit("scroll")})(eF,e)),ek=ev[eb.get()],eO=b(ek),eR=b(ek),eN=b(ek),ej=b(ek),eA=function(e,t,n,r,i){let o=0,l=0,u=i,s=.68,c=e.get(),d=0;function p(e){return u=e,m}function h(e){return s=e,m}let m={direction:function(){return l},duration:function(){return u},velocity:function(){return o},seek:function(){let t=r.get()-e.get(),i=0;return u?(n.set(e),o+=t/u,o*=s,c+=o,e.add(o),i=c-d):(o=0,n.set(r),e.set(r),i=t),l=f(i),d=c,m},settled:function(){return .001>a(r.get()-t.get())},useBaseFriction:function(){return h(.68)},useBaseDuration:function(){return p(i)},useFriction:h,useDuration:p};return m}(eO,eN,eR,ej,U),eI=function(e,t,n,r,i){let{reachedAny:o,removeOffset:l,constrain:u}=r;function s(e){return e.concat().sort((e,t)=>
1a(e)-a(t))[0]}function c(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return s(i);let o=i.filter(e=>f(e)===r);return o.length?s(o):p(i)-n}return{byDistance:function(n,r){let s=i.get()+n,{index:f,distance:d}=function(n){let r=e?l(n):u(n),{index:i}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>a(e.diff)-a(t.diff))[0];return{index:i,distance:r}}(s),p=!e&&o(s);if(!r||p)return{index:f,distance:n};let h=n+c(t[f]-d,0);return{index:f,distance:h}},byIndex:function(e,n){let r=c(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:c}}(q,ev,em,ex,ej),eE=function(e,t,n,r,i,o,l){function u(i){let u=i.distance,s=i.index!==t.get();o.add(u),u&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),s&&(n.set(t.get()),t.set(i.index),l.emit("select"))}return{distance:function(e,t){u(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);u(i.byIndex(r.get(),n))}}}(eS,eb,ew,eA,eI,ej,c),eM=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ex),eP=v(),eD=(M={},P=null,D=null,z=!1,{init:function(){E=new IntersectionObserver(e=>{z||(e.forEach(e=>{M[n.indexOf(e.target)]=e}),P=null,D=null,c.emit("slidesInView"))},{root:t.parentElement,threshold:J}),n.forEach(e=>E.observe(e))},destroy:function(){E&&E.disconnect(),z=!0},get:function(e=!0){if(e&&P)return P;if(!e&&D)return D;let t=y(M).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=M[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(P=t),e||(D=t),t}}),{slideRegistry:ez}=function(e,t,n,r,i,o){let l,{groupSlides:u}=i,{min:s,max:c}=r;return{slideRegistry:(l=u(o),1===n.length?[o]:e&&"keepSnaps"!==t?l.slice(s,c).map((e,t,n)=>{let r=t===h(n);return t?r?m(h(o)-p(n)[0]+1,p(n)[0]):e:m(p(n[0])+1)}):l)}}(eu,G,ev,eg,ed,eC),eL=function(e,t,n,r,i,o,u,c){let a={passive:!0,capture:!0},f=0;function d(e){"Tab"===e.code&&(f=new Date().getTime())}return{init:function(p){c&&(o.add(document,"keydown",d,!1),t.forEach((t,d)=>{o.add(t,"focus",t=>{(s(c)||c(p,t))&&function(t){if(new Date().getTime()-f>10)return;u.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));l(o)&&(i.useDuration(0),r.index(o,0),u.emit("slideFocus"))}(d)},a)}))}}}(e,n,ez,eE,eA,eP,c,Z),eF={ownerDocument:r,ownerWindow:i,eventHandler:c,containerRect:et,slideRects:en,animation:eS,axis:er,dragHandler:function(e,t,n,r,i,o,l,u,c,d,p,h,m,y,b,w,C,S){let{cross:k,direction:O}=e,R=["INPUT","SELECT","TEXTAREA"],N={passive:!1},j=v(),A=v(),I=x(50,225).constrain(y.measure(20)),E={mouse:300,touch:400},M={mouse:500,touch:600},P=b?43:25,D=!1,z=0,L=0,F=!1,T=!1,B=!1,H=!1;function V(e){if(!g(e,r)&&e.touches.length>=2)return q(e);let t=o.readPoint(e),n=o.readPoint(e,k),l=a(t-z),s=a(n-L);if(!T&&!H&&(!e.cancelable||!(T=l>s)))return q(e);let c=o.pointerMove(e);l>w&&(B=!0),d.useFriction(.3).useDuration(.75),u.start(),i.add(O(c)),e.preventDefault()}function q(e){var t;let n,r,i=p.byDistance(0,!1).index!==h.get(),l=o.pointerUp(e)*(b?M:E)[H?"mouse":"touch"],u=(t=O(l),n=h.add(-1*f(t)),r=p.byDistance(t,!b).distance,b||a(t)<I?r:C&&i?.5*r:p.byIndex(n.get(),0).distance),s=function(e,t){var n,r;if(0===e||0===t||a(e)<=a(t))return 0;let i=(n=a(e),r=a(t),a(n-r));return a(i/e)}(l,u);T=!1,F=!1,A.clear(),d.useDuration(P-10*s).useFriction(.68+s/50),c.distance(u,!b),H=!1,m.emit("pointerUp")}function U(e){B&&(e.stopPropagation(),e.preventDefault(),B=!1)}return{init:function(e){S&&j.add(t,"dragstart",e=>e.preventDefault(),N).add(t,"touchmove",()=>void 0,N).add(t,"touchend",()=>void 0).add(t,"touchstart",u).add(t,"mousedown",u).add(t,"touchcancel",q).add(t,"contextmenu",q).add(t,"click",U,!0);function u(u){(s(S)||S(e,u))&&function(e){let u,s=g(e,r);if((H=s,B=b&&s&&!e.buttons&&D,D=a(i.get()-l.get())>=2,!s||0===e.button)&&(u=e.target.nodeName||"",!R.includes(u))){let r;F=!0,o.pointerDown(e),d.useFriction(0).useDuration(0),i.set(l),r=H?n:t,A.add(r,"touchmove",V,N).add(r,"touchend",q).add(r,"mousemove",V,N).add(r,"mouseup",q),z=o.readPoint(e),L=o.readPoint(e,k),m.emit("pointerDown")}}(u)}},destroy:function(){j.clear(),A.clear()},pointerDown:function(){return F}}}(er,e,r,i,ej,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(g(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),l=i(e)-i(n)>170;return r=e,l&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),l=i(e)-i(n),u=i(e)-i(r)>170,s=t/l;return l&&!u&&a(s)>.1?s:0},readPoint:o}}(er,i),eO,eS,eE,eA,eI,eb,c,eo,$,K,_,Y),eventStore:eP,percentOfView:eo,index:eb,indexPrevious:ew,limit:ex,location:eO,offsetLocation:eN,previousLocation:eR,options:o,resizeHandler:function(e,t,n,r,i,o,l){let u,c,f=[e].concat(r),d=[],p=!1;function h(e){return i.measureSize(l.measure(e))}return{init:function(i){o&&(c=h(e),d=r.map(h),u=new ResizeObserver(n=>{(s(o)||o(i,n))&&function(n){for(let o of n){if(p)return;let n=o.target===e,l=r.indexOf(o.target),u=n?c:d[l];if(a(h(n?e:r[l])-u)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
1{f.forEach(e=>u.observe(e))}))},destroy:function(){p=!0,u&&u.disconnect()}}}(t,c,i,n,er,Q,ee),scrollBody:eA,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),l=i.measure(50),u=x(.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",f=a(e[s]-t.get()),d=n.get()-t.get(),p=u.constrain(f/l);n.subtract(d*p),!i&&a(d)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){s=!e}}}(ex,eN,ej,eA,eo),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:o}=x(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&i(n.get())))return;let l=-1*t*e;r.forEach(e=>e.add(l))}}}(em,ex,eN,[eO,eN,eR,ej]),scrollProgress:eM,scrollSnapList:ev.map(eM.get),scrollSnaps:ev,scrollTarget:eI,scrollTo:eE,slideLooper:function(e,t,n,r,i,o,l,u,s){let c=d(i),a=d(i).reverse(),f=m(h(a,l[0]),n,!1).concat(m(h(c,t-l[0]-1),-n,!0));function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function h(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function m(i,l,c){let a=o.map((e,n)=>({start:e-r[n]+.5+l,end:e+t-.5+l}));return i.map(t=>{let r=c?0:-n,i=c?n:0,o=a[t][c?"end":"start"];return{index:t,loopPoint:o,slideLocation:b(-1),translate:w(e,s[t]),target:()=>u.get()>o?r:i}})}return{canLoop:function(){return f.every(({index:e})=>.1>=p(c.filter(t=>t!==e),t))},clear:function(){f.forEach(e=>e.translate.clear())},loop:function(){f.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:f}}(er,ei,em,es,ec,ep,ev,eN,n),slideFocus:eL,slidesHandler:(F=!1,{init:function(e){W&&(L=new MutationObserver(t=>{!F&&(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(),F=!0}}),slidesInView:eD,slideIndexes:eC,slideRegistry:ez,slidesToScroll:ed,target:ej,translate:w(er,t)};return eF}(e,R,N,A,I,n,D);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(U),F([q,...$.map(({options:e})=>e)]).forEach(e=>P.add(e,"change",J)),U.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(),R.offsetParent&&N.length&&k.dragHandler.init(Q),O=M.init(Q,$)))}function J(e,t){let n=G();X(),K(z({startIndex:n},e),t),D.emit("reInit")}function X(){k.dragHandler.destroy(),k.eventStore.clear(),k.translate.clear(),k.slideLooper.clear(),k.resizeHandler.destroy(),k.slidesHandler.destroy(),k.slidesInView.destroy(),k.animation.destroy(),M.destroy(),P.clear()}function _(e,t,n){U.active&&!V&&(k.scrollBody.useBaseFriction().useDuration(!0===t?0:U.duration),k.scrollTo.index(e,n||0))}function G(){return k.index.get()}let Q={canScrollNext:function(){return k.index.add(1).get()!==G()},canScrollPrev:function(){return k.index.add(-1).get()!==G()},containerNode:function(){return R},internalEngine:function(){return k},destroy:function(){V||(V=!0,P.clear(),X(),D.emit("destroy"),D.clear())},off:B,on:T,emit:H,plugins:function(){return O},previousScrollSnap:function(){return k.indexPrevious.get()},reInit:J,rootNode:function(){return e},scrollNext:function(e){_(k.index.add(1).get(),e,-1)},scrollPrev:function(e){_(k.index.add(-1).get(),e,1)},scrollProgress:function(){return k.scrollProgress.get(k.offsetLocation.get())},scrollSnapList:function(){return k.scrollSnapList},scrollTo:_,selectedScrollSnap:G,slideNodes:function(){return N},slidesInView:function(){return k.slidesInView.get()},slidesNotInView:function(){return k.slidesInView.get(!1)}};return K(t,n),setTimeout(()=>D.emit("init"),0),Q}function k(e={},t=[]){let r=(0,n.useRef)(e),l=(0,n.useRef)(t),[u,s]=(0,n.useState)(),[c,a]=(0,n.useState)(),f=(0,n.useCallback)(()=>{u&&u.reInit(r.current,l.current)},[u]);return(0,n.useEffect)(()=>{i(r.current,e)||(r.current=e,f())},[e,f]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=o(e),r=o(t);return n.every((e,t)=>i(e,r[t]))}(l.current,t)&&(l.current=t,f())},[t,f]),(0,n.useEffect)(()=>
1{if("u">typeof window&&window.document&&window.document.createElement&&c){S.globalOptions=k.globalOptions;let e=S(c,r.current,l.current);return s(e),()=>e.destroy()}s(void 0)},[c,s]),[a,u]}S.globalOptions=void 0,k.globalOptions=void 0;var O=e.i(71689);let R=(0,e.i(75254).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var N=e.i(47163),j=e.i(67881);let A=n.createContext(null);function I(){let e=n.useContext(A);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let E=n.forwardRef(({orientation:e="horizontal",opts:r,setApi:i,plugins:o,className:l,children:u,...s},c)=>{let[a,f]=k({...r,axis:"horizontal"===e?"x":"y"},o),[d,p]=n.useState(!1),[h,m]=n.useState(!1),y=n.useCallback(e=>{e&&(p(e.canScrollPrev()),m(e.canScrollNext()))},[]),g=n.useCallback(()=>{f?.scrollPrev()},[f]),v=n.useCallback(()=>{f?.scrollNext()},[f]),x=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),g()):"ArrowRight"===e.key&&(e.preventDefault(),v())},[g,v]);return n.useEffect(()=>{f&&i&&i(f)},[f,i]),n.useEffect(()=>{if(f)return y(f),f.on("reInit",y),f.on("select",y),()=>{f?.off("select",y)}},[f,y]),(0,t.jsx)(A.Provider,{value:{carouselRef:a,api:f,opts:r,orientation:e||(r?.axis==="y"?"vertical":"horizontal"),scrollPrev:g,scrollNext:v,canScrollPrev:d,canScrollNext:h},children:(0,t.jsx)("div",{ref:c,onKeyDownCapture:x,className:(0,N.cn)("relative",l),role:"region","aria-roledescription":"carousel",...s,children:u})})});E.displayName="Carousel";let M=n.forwardRef(({className:e,...n},r)=>{let{carouselRef:i,orientation:o}=I();return(0,t.jsx)("div",{ref:i,className:"overflow-hidden",children:(0,t.jsx)("div",{ref:r,className:(0,N.cn)("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",e),...n})})});M.displayName="CarouselContent";let P=n.forwardRef(({className:e,...n},r)=>{let{orientation:i}=I();return(0,t.jsx)("div",{ref:r,role:"group","aria-roledescription":"slide",className:(0,N.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===i?"pl-4":"pt-4",e),...n})});P.displayName="CarouselItem";let D=n.forwardRef(({className:e,variant:n="outline",size:r="icon",...i},o)=>{let{orientation:l,scrollPrev:u,canScrollPrev:s}=I();return(0,t.jsxs)(j.Button,{ref:o,variant:n,size:r,className:(0,N.cn)("absolute h-8 w-8 rounded-full","horizontal"===l?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!s,onClick:u,...i,children:[(0,t.jsx)(O.ArrowLeft,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});D.displayName="CarouselPrevious";let z=n.forwardRef(({className:e,variant:n="outline",size:r="icon",...i},o)=>{let{orientation:l,scrollNext:u,canScrollNext:s}=I();return(0,t.jsxs)(j.Button,{ref:o,variant:n,size:r,className:(0,N.cn)("absolute h-8 w-8 rounded-full","horizontal"===l?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!s,onClick:u,...i,children:[(0,t.jsx)(R,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})});z.displayName="CarouselNext",e.s(["Carousel",0,E,"CarouselContent",0,M,"CarouselItem",0,P,"CarouselNext",0,z,"CarouselPrevious",0,D],19737)}]);
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.