1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,203860,e=>{e.q("/_next/static/media/flowdapt_dark.2gyomrjqw097q.png")},164720,e=>{e.q("/_next/static/media/flowdapt_grey.1xqkf0ii1ljqc.png")},172157,e=>{e.q("/_next/static/media/flowdapt_light.1pct8dje85s5o.png")},420367,e=>{"use strict";var t=e.i(226344),n=e.i(311853),r=e.i(437502),i=e.i(920269);e.s(["Footer",0,function(){return(0,t.jsxs)("div",{className:"flex flex-col xl:flex-row border-t bg-background content-center items-center",children:[(0,t.jsxs)("div",{className:"flex-1 hidden xl:flex flex-wrap py-6",children:[(0,t.jsx)("div",{className:"px-2",children:(0,t.jsx)(n.FooterLinks,{})}),(0,t.jsx)("div",{className:"basis-full h-0"}),(0,t.jsx)(r.ChatPanelCopyright,{})]}),(0,t.jsxs)("div",{className:"flex-1 justify-center xl:justify-end w-full",children:[(0,t.jsx)(i.ChatPanelFooterLogos,{}),(0,t.jsxs)("div",{className:"xl:hidden mb-4 text-center",children:[(0,t.jsx)(r.ChatPanelCopyright,{}),(0,t.jsx)("div",{className:"text-center pb-3",children:(0,t.jsx)(n.FooterLinks,{})})]})]})]})}])},45008,e=>{"use strict";let t=(0,e.i(731563).default)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,t],45008)},311853,994665,437502,875596,822609,842141,920269,e=>{"use strict";var t=e.i(226344),n=e.i(720748),r=e.i(808306),i=e.i(627144),o=e.i(690923);e.s(["FooterLinks",0,function({showCookiePreferences:e=!0,textClassName:a}){let l=(0,n.useRouter)(),s=(0,r.useLanguageClient)(),c=(0,r.useDictionaries)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Button,{variant:"link",className:(0,o.cn)("px-2 text-xs text-gray-700 dark:text-gray-400",a),onClick:()=>l.push(`/${s}/terms`),children:c.footer.terms}),(0,t.jsx)(i.Button,{variant:"link",className:(0,o.cn)("px-2 text-xs text-gray-700 dark:text-gray-400",a),onClick:()=>l.push(`/${s}/privacy`),children:c.footer.privacy}),e&&(0,t.jsx)(i.Button,{variant:"link",className:(0,o.cn)("px-2 text-xs text-gray-700 dark:text-gray-400",a),onClick:()=>{window.dispatchEvent(new Event("showCookiePreferences"))},children:c.footer.cookiePreferences})]})}],311853);var a=e.i(18173),l=e.i(819469),s=e.i(247753);let c=s.forwardRef(function({title:e,titleId:t,...n},r){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?s.createElement("title",{id:t},e):null,s.createElement("path",{fillRule:"evenodd",d:"M15.75 2.25H21a.75.75 0 0 1 .75.75v5.25a.75.75 0 0 1-1.5 0V4.81L8.03 17.03a.75.75 0 0 1-1.06-1.06L19.19 3.75h-3.44a.75.75 0 0 1 0-1.5Zm-10.5 4.5a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h10.5a1.5 1.5 0 0 0 1.5-1.5V10.5a.75.75 0 0 1 1.5 0v8.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V8.25a3 3 0 0 1 3-3h8.25a.75.75 0 0 1 0 1.5H5.25Z",clipRule:"evenodd"}))}),u=e=>{let{href:n,children:r,className:i,iconEnabled:o=!0}=e;return o?(0,t.jsx)("div",{className:i,children:(0,t.jsx)(l.TooltipProvider,{delayDuration:200,children:(0,t.jsxs)(l.Tooltip,{children:[(0,t.jsx)(l.TooltipTrigger,{asChild:!0,children:(0,t.jsx)(a.default,{href:n,target:"_blank",rel:"noopener noreferrer",children:r})}),(0,t.jsx)(l.TooltipContent,{side:"right",children:(0,t.jsx)(c,{className:"h-4 w-4"})})]})})}):(0,t.jsx)(a.default,{href:n,target:"_blank",rel:"noopener noreferrer",children:r})};e.s(["default",0,u],994665);var d=e.i(726810);e.s(["ChatPanelCopyright",0,function({textClassName:e}){return(0,t.jsx)(u,{href:"https://emergentmethods.ai",children:(0,t.jsx)("p",{className:(0,o.cn)("justify-center text-center text-gray-500 text-sm pl-2",e),children:(0,t.jsxs)("span",{className:"ml-2",suppressHydrationWarning:!0,children:["Made with â¤ï¸ by ©"," ",(0,t.jsx)(d.IconEmergentMethodsColor,{className:"inline-block mx-1"}),"Emergent Methods, LLC"]})})})}],437502);var f=e.i(486986);let p={src:e.i(164720).default,width:4657,height:1907,blurWidth:8,blurHeight:3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAAbklEQVR42gFjAJz/ANrR4EPf2+Q55OXoLuXm6C34+fkL////AP///wD///8AAOGz1ljx0tU/9u/rHPLz9BX4+fkM9fb3EPf3+A729vcQAPDEtl72zbJZ6d3UPs/R1lLN0NRVzc/UVcnM0VzNz9RWhWZE3PcxTFQAAAAASUVORK5CYII="};e.s(["flowdapt_grey",0,p],875596);let h={src:e.i(172157).default,width:4657,height:1752,blurWidth:8,blurHeight:3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAAbklEQVR42gFjAJz/AMCvw1DIwco90dHRLdra2iT9/f0C////AP///wD///8AAOGw0V7wzMpL7OPdJeLi4h3u7u4Q6OjoF+vr6xTp6ekVAPHGtV330LVW28/EPaqqqlSlpaVZpaWlWZ2dnWClpaVZ5sFAb4f5HVYAAAAASUVORK5CYII="};e.s(["flowdapt_light",0,h],822609);let m={src:e.i(203860).default,width:4657,height:1752,blurWidth:8,blurHeight:3,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAYAAACuyE5IAAAAYUlEQVR42jXMsQpAUBjF8S9PYCCTjdEjeAKLQcpAHtFyX8EgA08gi1H3oiTdPueWO/w6dYY/yeX
1Mn+NNmTmBCBwgi9ZubuQ4ZPraYxwhuBCABz6pXtT3JEqtNlMpoPq1Zj8xMEnGntqxEAAAAABJRU5ErkJggg=="};e.s(["flowdapt_dark",0,m],842141);var g=e.i(174323);e.s(["ChatPanelFooterLogos",0,function({isNewsplunker:e}){return(0,t.jsx)("div",{className:"flex space-x-8 w-full content-end justify-center xl:justify-end xl:pr-6 py-4",children:(0,t.jsx)(u,{href:"https://flowdapt.ai",children:e?(0,t.jsx)(g.ImageThemeHelper,{imageLight:(0,t.jsx)(f.default,{src:m,height:40,alt:"Flowdapt Logo"}),imageDark:(0,t.jsx)(f.default,{src:h,height:40,alt:"Flowdapt Logo"})}):(0,t.jsx)(f.default,{src:p,height:40,alt:"Flowdapt Logo"})})})}],920269)},722844,65746,e=>{"use strict";var t=e.i(226344),n=e.i(627144),r=e.i(247753);let i=r.forwardRef(function({title:e,titleId:t,...n},i){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:i,"aria-labelledby":t},n),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M11.47 2.47a.75.75 0 0 1 1.06 0l7.5 7.5a.75.75 0 1 1-1.06 1.06l-6.22-6.22V21a.75.75 0 0 1-1.5 0V4.81l-6.22 6.22a.75.75 0 1 1-1.06-1.06l7.5-7.5Z",clipRule:"evenodd"}))});var o=e.i(808306);function a(e=0){let[t,n]=r.useState(!1);return r.useEffect(()=>{let t=()=>{n(window.innerHeight+window.scrollY>=document.body.offsetHeight-e)};return window.addEventListener("scroll",t,{passive:!0}),t(),()=>{window.removeEventListener("scroll",t)}},[e]),t}e.s(["useAtBottom",0,a],65746);var l=e.i(690923);e.s(["ScrollTopButton",0,e=>{let{className:s,arrowClassName:c,hasFooterChat:u=!1}=e,d=(0,o.useDictionaries)().buttonScrollToTop,f=(()=>{let[e,t]=(0,r.useState)(0),n=()=>{t(window.scrollY)};return(0,r.useEffect)(()=>(window.addEventListener("scroll",n),()=>{window.removeEventListener("scroll",n)}),[]),e})(),p=a(12);if(f<100)return null;let h=`rounded-2xl fixed z-50 right-4 bg-sky-700 hover:bg-sky-900 border border-sky-700 hover:border-sky-900 transition-opacity duration-300 sm:right-8 ${u?"bottom-28":p&&!u?"bottom-32 md:bottom-6 xl:bottom-32":"bottom-4"}`;return(0,t.jsx)(n.Button,{variant:"outline",size:"icon",title:d.scrollToTop,onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:(0,l.cn)(h,s),children:(0,t.jsx)(i,{className:(0,l.cn)("h-5 w-5 text-white",c)})})}],722844)},726810,e=>{"use strict";var t=e.i(226344),n=e.i(690923);e.s(["IconEmergentMethodsColor",0,function({className:e,...r}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",viewBox:"0 0 71.332 71.909",fill:"currentColor",role:"img",className:(0,n.cn)("h-4 w-4",e),...r,children:(0,t.jsxs)("g",{fillOpacity:"1",stroke:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeOpacity:"1",transform:"translate(-38.41 -130.366)",children:[(0,t.jsx)("path",{fill:"#5e2056",strokeWidth:"0.077",d:"M94.95 138.157l-40.847 25.774 14.76 2.833z",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#c16dc1",strokeWidth:"0.067",d:"M71.405 202.274l38.336-30.58-10.257 5.36z",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#19b8ec",strokeDasharray:"none",strokeWidth:"0.014",d:"M38.41 173.184l32.995 29.09-23.046-23.577z",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#00496a",strokeWidth:"0.077",d:"M60.072 130.366l16.552 19.354-4.848 3.06z",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#ae3092",strokeWidth:"0.077",d:"M94.95 138.157l14.791 33.537-10.257 5.36z",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#722869",strokeWidth:"0.077",d:"M94.95 138.157l-26.087 28.607 17.67 13.671z",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#01dafd",strokeWidth:"0.067",d:"M60.072 130.366L38.41 173.184l9.95 5.513 11.713-48.331",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#0a7dab",strokeDasharray:"none",strokeWidth:"0.014",d:"M71.405 202.274l15.129-21.839-25.396.232z",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#9b2381",strokeWidth:"0.077",d:"M94.95 138.157l-8.416 42.278 12.95-3.38z",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#9d459c",strokeDasharray:"none",strokeWidth:"0.014",d:"M86.534 180.435l-15.13 21.84 28.08-25.22z",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#0b98cc",strokeWidth:"0.067",d:"M60.072 130.366l1.066 50.3 25.396-.23",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#02c2ee",strokeWidth:"0.067",d:"M60.072 130.366l1.066 50.3-12.779-1.969 11.713-48.331",display:"inline",opacity:"0.998"}),(0,t.jsx)("path",{fill:"#19a1d0",strokeDasharray:"none",strokeWidth:"0.014",d:"M61.138 180.667l10.267 21.607-23.046-23.577z",display:"inline",opacity:"0.998"})]})})}])},196365,e=>{"use strict";var t=e.i(226344),n=e.i(247753),r=e.i(690923);let i=n.forwardRef(({className:e,...n},i)=>(0,t.jsx)("div",{ref:i,className:(0,r.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",e),...n}));
1i.displayName="Card";let o=n.forwardRef(({className:e,...n},i)=>(0,t.jsx)("div",{ref:i,className:(0,r.cn)("flex flex-col space-y-1.5 p-6",e),...n}));o.displayName="CardHeader";let a=n.forwardRef(({className:e,...n},i)=>(0,t.jsx)("h3",{ref:i,className:(0,r.cn)("text-2xl font-semibold leading-none tracking-tight",e),...n}));a.displayName="CardTitle";let l=n.forwardRef(({className:e,...n},i)=>(0,t.jsx)("p",{ref:i,className:(0,r.cn)("text-sm text-muted-foreground",e),...n}));l.displayName="CardDescription";let s=n.forwardRef(({className:e,...n},i)=>(0,t.jsx)("div",{ref:i,className:(0,r.cn)("p-6 pt-0",e),...n}));s.displayName="CardContent";let c=n.forwardRef(({className:e,...n},i)=>(0,t.jsx)("div",{ref:i,className:(0,r.cn)("flex items-center p-6 pt-0",e),...n}));c.displayName="CardFooter",e.s(["Card",0,i,"CardContent",0,s,"CardDescription",0,l,"CardFooter",0,c,"CardHeader",0,o,"CardTitle",0,a])},39136,e=>{"use strict";var t=e.i(226344),n=e.i(247753);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],a=t[n];return"function"==typeof o?`${o}`==`${a}`:r(o)&&r(a)?i(o,a):o===a})}function o(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function a(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 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 g(e){return Object.keys(e)}function x(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function y(){let e=[],t={add:function(n,r,i,o={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(r,i,o),a=()=>n.removeEventListener(r,i,o)):(n.addListener(i),a=()=>n.removeListener(i)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function v(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 w(e){let t=e;function n(e){return a(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 b(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=!1;return{clear:function(){!i&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){i||(r.transform=n(e.direction(t)))},toggleActive:function(e){i=!e}}}let A={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};function j(e,t,n){let r,i,o,k,C,N,E,L,D=e.ownerDocument,S=D.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],o=n[r],a=c(i)&&c(o);t[r]=a?e(i,o):o}),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)}}}(S),R=(L=[],{init:function(e,t){return(L=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(){L=L.filter(e=>e.destroy())}}),O=y(),P=(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:T,optionsMediaQueries:F}=M,{on:I,off:V,emit:B}=P,H=!1,W=z(A,j.globalOptions),U=z(W),q=[];function Y(t,n){H||(U=T(W=z(W,t)),q=n||q,function(){let{container:t,slides:n}=U;N=(l(t)?e.querySelector(t):t)||e.children[0];let r=l(n)?N.querySelectorAll(n):n;E=[].slice.call(r||N.children)}(),k=function t(n){let r=function(e,t,n,r,i,o,c){var A,j;let k,C,N,E,L,D,S,M,R,O,P,z,T,F,I,V,B,H,{align:W,axis:U,direction:q,startIndex:Y,loop:Q,duration:Z,dragFree:_,dragThreshold:J,inViewThreshold:K,slidesToScroll:X,skipSnaps:$,containScroll:G,
1watchResize:ee,watchSlides:et,watchDrag:en}=o,er={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}}},ei=er.measure(t),eo=n.map(er.measure),ea=(C="rtl"===q,E=(N="y"===U)||!C?1:-1,L=N?"top":C?"right":"left",D=N?"bottom":C?"left":"right",{scroll:N?"y":"x",cross:N?"x":"y",startEdge:L,endEdge:D,measureSize:function(e){let{height:t,width:n}=e;return N?t:n},direction:function(e){return e*E}}),el=ea.measureSize(ei),es={measure:function(e){return e/100*el}},ec=(A=W,j=el,k={start:function(){return 0},center:function(e){return(j-e)/2},end:function(e){return j-e}},{measure:function(e,t){return l(A)?k[A](e):A(j,e,t)}}),eu=!Q&&!!G,{slideSizes:ed,slideSizesWithGaps:ef,startGap:ep,endGap:eh}=function(e,t,n,r,i,o){let{measureSize:a,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(o.getComputedStyle(p(r)).getPropertyValue(`margin-${s}`)):0,m=n.map(a),g=n.map((e,t,n)=>{let r=t===h(n);return t?r?m[t]+f:n[t+1][l]-e[l]:m[t]+d}).map(u);return{slideSizes:m,slideSizesWithGaps:g,startGap:d,endGap:f}}(ea,ei,eo,n,Q||!!G,i),em=function(e,t,n,r,i,o,l,s){let{startEdge:c,endEdge:d,direction:m}=e,g=a(n);return{groupSlides:function(e){return g?f(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?f(e).reduce((n,a,f)=>{let g=p(n)||0,x=a===h(e),y=i[c]-o[g][c],v=i[c]-o[a][d],w=r||0!==g?0:m(l),b=u(v-(!r&&x?m(s):0)-(y+w));return f&&b>t+2&&n.push(a),x&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(ea,el,X,Q,ei,eo,ep,eh),{snaps:eg,snapsAligned:ex}=function(e,t,n,r,i){let{startEdge:o,endEdge:a}=e,{groupSlides:l}=i,s=l(r).map(e=>p(e)[a]-e[0][o]).map(u).map(t.measure),c=r.map(e=>n[o]-e[o]).map(e=>-u(e)),d=l(c).map(e=>e[0]).map((e,t)=>e+s[t]);return{snaps:c,snapsAligned:d}}(ea,ec,ei,eo,em),ey=-p(eg)+p(ef),{snapsContained:ev,scrollContainLimit:ew}=function(e,t,n,r){let i,o,a=v(-t+e,0),l=n.map((e,t)=>{let{min:r,max:i}=a,o=a.constrain(e),l=t===h(n);return t?l||function(e,t){return 1>u(e-t)}(r,o)?r:function(e,t){return 1>u(e-t)}(i,o)?i:o:i}).map(e=>parseFloat(e.toFixed(3))),s=(i=l[0],o=p(l),v(l.lastIndexOf(i),l.indexOf(o)+1));return{snapsContained:function(){if(t<=e+2)return[a.max];if("keepSnaps"===r)return l;let{min:n,max:i}=s;return l.slice(n,i)}(),scrollContainLimit:s}}(el,ey,ex,G),eb=eu?ev:ex,{limit:eA}=(S=eb[0],{limit:v(Q?S-ey:p(eb),S)}),ej=function e(t,n,r){let{constrain:i}=v(0,t),o=t+1,a=l(n);function l(e){return r?u((o+e)%o):i(e)}function s(){return e(t,a,r)}let c={get:function(){return a}
1,set:function(e){return a=l(e),c},add:function(e){return s().set(a+e)},clone:s};return c}(h(eb),Y,Q),ek=ej.clone(),eC=f(n),eN=function(e,t,n,r){let i=y(),o=1e3/60,a=null,l=0,s=0;function c(e){if(!s)return;a||(a=e);let i=e-a;for(a=e,l+=i;l>=o;)n(),l-=o;r(u(l/o)),s&&t.requestAnimationFrame(c)}function d(){t.cancelAnimationFrame(s),a=null,l=0,s=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,l=0)})},destroy:function(){d(),i.clear()},start:function(){s||(s=t.requestAnimationFrame(c))},stop:d,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eV),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,scrollLooper:i,slideLooper:o,dragHandler:a,animation:l,eventHandler:s,options:{loop:c}},u)=>{let d=e.velocity(),f=e.settled();f&&!a.pointerDown()&&(l.stop(),s.emit("settle")),f||s.emit("scroll"),r.set(n.get()-d+d*u),c&&(i.loop(e.direction()),o.loop()),t.to(r.get())})(eV,e)),eE=eb[ej.get()],eL=w(eE),eD=w(eE),eS=w(eE),eM=function(e,t,n,r){let i=0,o=0,a=r,l=.68,s=e.get(),c=0;function f(e){return a=e,h}function p(e){return l=e,h}let h={direction:function(){return o},duration:function(){return a},velocity:function(){return i},seek:function(){let t=n.get()-e.get(),r=0;return a?(i+=t/a,i*=l,s+=i,e.add(i),r=s-c):(i=0,e.set(n),r=t),o=d(r),c=s,h},settled:function(){return .001>u(n.get()-t.get())},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return f(r)},useFriction:p,useDuration:f};return h}(eL,eD,eS,Z),eR=function(e,t,n,r,i){let{reachedAny:o,removeOffset:a,constrain:l}=r;function s(e){return e.concat().sort((e,t)=>u(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 o=i.filter(e=>d(e)===r);return o.length?s(o):p(i)-n}return{byDistance:function(n,r){let s=i.get()+n,{index:d,distance:f}=function(n){let r=e?a(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),p=!e&&o(s);if(!r||p)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,eb,ey,eA,eS),eO=function(e,t,n,r,i,o,a){function l(i){let l=i.distance,s=i.index!==t.get();
1o.add(l),l&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),s&&(n.set(t.get()),t.set(i.index),a.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,ej,ek,eM,eR,eS,c),eP=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eA),ez=y(),eT=(R={},O=null,P=null,z=!1,{init:function(){M=new IntersectionObserver(e=>{z||(e.forEach(e=>{R[n.indexOf(e.target)]=e}),O=null,P=null,c.emit("slidesInView"))},{root:t.parentElement,threshold:K}),n.forEach(e=>M.observe(e))},destroy:function(){M&&M.disconnect(),z=!0},get:function(e=!0){if(e&&O)return O;if(!e&&P)return P;let t=g(R).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=R[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(O=t),e||(P=t),t}}),{slideRegistry:eF}=function(e,t,n,r,i,o){let a,{groupSlides:l}=i,{min:s,max:c}=r;return{slideRegistry:(a=l(o),1===n.length?[o]:e&&"keepSnaps"!==t?a.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)}):a)}}(eu,G,eb,ew,em,eC),eI=function(e,t,n,r,i,o,l){let s=0;function c(e){"Tab"===e.code&&(s=new Date().getTime())}function u(c){o.add(c,"focus",()=>{if(new Date().getTime()-s>10)return;e.scrollLeft=0;let o=t.indexOf(c),u=n.findIndex(e=>e.includes(o));a(u)&&(i.useDuration(0),r.index(u,0),l.emit("slideFocus"))},{passive:!0,capture:!0})}return{init:function(){o.add(document,"keydown",c,!1),t.forEach(u)}}}(e,n,eF,eO,eM,ez,c),eV={ownerDocument:r,ownerWindow:i,eventHandler:c,containerRect:ei,slideRects:eo,animation:eN,axis:ea,dragHandler:function(e,t,n,r,i,o,a,l,c,f,p,h,m,g,w,b,A,j){let{cross:k,direction:C}=e,N=["INPUT","SELECT","TEXTAREA"],E={passive:!1},L=y(),D=y(),S=v(50,225).constrain(g.measure(20)),M={mouse:300,touch:400},R={mouse:500,touch:600},O=w?43:25,P=!1,z=0,T=0,F=!1,I=!1,V=!1,B=!1;function H(e){if(!x(e,r)&&e.touches.length>=2)return W(e);let t=o.readPoint(e),n=o.readPoint(e,k),a=u(t-z),s=u(n-T);if(!I&&!B&&(!e.cancelable||!(I=a>s)))return W(e);let c=o.pointerMove(e);a>b&&(V=!0),f.useFriction(.3).useDuration(.75),l.start(),i.add(C(c)),e.preventDefault()}function W(e){var t;let n,r,i=p.byDistance(0,!1).index!==h.get(),a=o.pointerUp(e)*(w?R:M)[B?"mouse":"touch"],l=(t=C(a),n=h.add(-1*d(t)),r=p.byDistance(t,!w).distance,w||u(t)<S?r:A&&i?.5*r:p.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)}(a,l);I=!1,F=!1,D.clear(),f.useDuration(O-10*s).useFriction(.68+s/50),c.distance(l,!w),B=!1,m.emit("pointerUp")}function U(e){V&&(e.stopPropagation(),e.preventDefault(),V=!1)}return{init:function(e){j&&L.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",W).add(t,"contextmenu",W).add(t,"click",U,!0);function l(l){(s(j)||j(e,l))&&function(e){let l,s=x(e,r);if((B=s,V=w&&s&&!e.buttons&&P,P=u(i.get()-a.get())>=2,!s||0===e.button)&&(l=e.target.nodeName||"",!N.includes(l))){let r;F=!0,o.pointerDown(e),f.useFriction(0).useDuration(0),i.set(a),r=B?n:t,D.add(r,"touchmove",H,E).add(r,"touchend",W).add(r,"mousemove",H,E).add(r,"mouseup",W),z=o.readPoint(e),T=o.readPoint(e,k),m.emit("pointerDown")}}(l)}},destroy:function(){L.clear(),D.clear()},pointerDown:function(){return F}}}(ea,e,r,i,eS,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(x(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),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),a=i(e)-i(n),l=i(e)-i(r)>170,s=t/a;return a&&!l&&u(s)>.1?s:0},readPoint:o}}(ea,i),eL,eN,eO,eM,eR,ej,c,es,_,J,$,en),eventStore:ez,percentOfView:es,index:ej,indexPrevious:ek,limit:eA,location:eL,offsetLocation:eD,options:o,resizeHandler:function(e,t,n,r,i,o,a){let l,c,d=[],f=!1;function p(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(c=p(e),d=r.map(p),l=new ResizeObserver(a=>{!f&&(s(o)||o(i,a))&&function(o){for(let a of o){let o=a.target===e,l=r.indexOf(a.target),s=o?c:d[l];if(u(p(o?e:r[l])-s)>=.5){n.requestAnimationFrame(()=>{i.reInit(),t.emit("resize")});break}}}(a)}
1),[e].concat(r).forEach(e=>l.observe(e)))},destroy:function(){l&&l.disconnect(),f=!0}}}(t,c,i,n,ea,ee,er),scrollBody:eM,scrollBounds:(T=es.measure(10),F=es.measure(50),I=v(.1,.99),V=!1,{constrain:function(e){if(!(!V&&eA.reachedAny(eS.get())&&eA.reachedAny(eD.get())&&1))return;let t=eA.reachedMin(eD.get())?"min":"max",n=u(eA[t]-eD.get()),r=eS.get()-eD.get(),i=I.constrain(n/F);eS.subtract(r*i),!e&&u(r)<T&&(eS.set(eA.constrain(eS.get())),eM.useDuration(25).useBaseFriction())},toggleActive:function(e){V=!e}}),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:o}=v(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&i(n.get())))return;let a=-1*t*e;r.forEach(e=>e.add(a))}}}(ey,eA,eD,[eL,eD,eS]),scrollProgress:eP,scrollSnapList:eb.map(eP.get),scrollSnaps:eb,scrollTarget:eR,scrollTo:eO,slideLooper:function(e,t,n,r,i,o,a,l,s){let c=f(i),u=f(i).reverse(),d=m(h(u,a[0]),n,!1).concat(m(h(c,t-a[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,a,c){let u=o.map((e,n)=>({start:e-r[n]+.5+a,end:e+t-.5+a}));return i.map(t=>{let r=c?0:-n,i=c?n:0,o=u[t][c?"end":"start"];return{index:t,loopPoint:o,slideLocation:w(-1),translate:b(e,s[t]),target:()=>l.get()>o?r:i}})}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,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:d}}(ea,el,ey,ed,ef,eg,eb,eD,n),slideFocus:eI,slidesHandler:(H=!1,{init:function(e){et&&(B=new MutationObserver(t=>{!H&&(s(et)||et(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(){B&&B.disconnect(),H=!0}}),slidesInView:eT,slideIndexes:eC,slideRegistry:eF,slidesToScroll:em,target:eS,translate:b(ea,t)};return eV}(e,N,E,D,S,n,P);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(U),F([W,...q.map(({options:e})=>e)]).forEach(e=>O.add(e,"change",Q)),U.active&&(k.translate.to(k.location.get()),k.animation.init(),k.slidesInView.init(),k.slideFocus.init(),k.eventHandler.init(K),k.resizeHandler.init(K),k.slidesHandler.init(K),k.options.loop&&k.slideLooper.loop(),N.offsetParent&&E.length&&k.dragHandler.init(K),C=R.init(K,q)))}function Q(e,t){let n=J();Z(),Y(z({startIndex:n},e),t),P.emit("reInit")}function Z(){k.dragHandler.destroy(),k.eventStore.clear(),k.translate.clear(),k.slideLooper.clear(),k.resizeHandler.destroy(),k.slidesHandler.destroy(),k.slidesInView.destroy(),k.animation.destroy(),R.destroy(),O.clear()}function _(e,t,n){U.active&&!H&&(k.scrollBody.useBaseFriction().useDuration(!0===t?0:U.duration),k.scrollTo.index(e,n||0))}function J(){return k.index.get()}let K={canScrollNext:function(){return k.index.add(1).get()!==J()},canScrollPrev:function(){return k.index.add(-1).get()!==J()},containerNode:function(){return N},internalEngine:function(){return k},destroy:function(){H||(H=!0,O.clear(),Z(),P.emit("destroy"),P.clear())},off:V,on:I,emit:B,plugins:function(){return C},previousScrollSnap:function(){return k.indexPrevious.get()},reInit:Q,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.location.get())},scrollSnapList:function(){return k.scrollSnapList},scrollTo:_,selectedScrollSnap:J,slideNodes:function(){return E},slidesInView:function(){return k.slidesInView.get()},slidesNotInView:function(){return k.slidesInView.get(!1)}};return Y(t,n),setTimeout(()=>P.emit("init"),0),K}function k(e={},t=[]){let r=(0,n.useRef)(e),a=(0,n.useRef)(t),[l,s]=(0,n.useState)(),[c,u]=(0,n.use
1State)(),d=(0,n.useCallback)(()=>{l&&l.reInit(r.current,a.current)},[l]);return(0,n.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&c){j.globalOptions=k.globalOptions;let e=j(c,r.current,a.current);return s(e),()=>e.destroy()}s(void 0)},[c,s]),(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=o(e),r=o(t);return n.every((e,t)=>i(e,r[t]))}(a.current,t)&&(a.current=t,d())},[t,d]),[u,l]}j.globalOptions=void 0,k.globalOptions=void 0;var C=e.i(45008),N=e.i(595574),E=e.i(690923),L=e.i(627144);let D=n.createContext(null);function S(){let e=n.useContext(D);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:o,className:a,children:l,...s},c)=>{let[u,d]=k({...r,axis:"horizontal"===e?"x":"y"},o),[f,p]=n.useState(!1),[h,m]=n.useState(!1),g=n.useCallback(e=>{e&&(p(e.canScrollPrev()),m(e.canScrollNext()))},[]),x=n.useCallback(()=>{d?.scrollPrev()},[d]),y=n.useCallback(()=>{d?.scrollNext()},[d]),v=n.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),x()):"ArrowRight"===e.key&&(e.preventDefault(),y())},[x,y]);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)(D.Provider,{value:{carouselRef:u,api:d,opts:r,orientation:e||(r?.axis==="y"?"vertical":"horizontal"),scrollPrev:x,scrollNext:y,canScrollPrev:f,canScrollNext:h},children:(0,t.jsx)("div",{ref:c,onKeyDownCapture:v,className:(0,E.cn)("relative",a),role:"region","aria-roledescription":"carousel",...s,children:l})})});M.displayName="Carousel";let R=n.forwardRef(({className:e,...n},r)=>{let{carouselRef:i,orientation:o}=S();return(0,t.jsx)("div",{ref:i,className:"overflow-hidden",children:(0,t.jsx)("div",{ref:r,className:(0,E.cn)("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",e),...n})})});R.displayName="CarouselContent";let O=n.forwardRef(({className:e,...n},r)=>{let{orientation:i}=S();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"===i?"pl-4":"pt-4",e),...n})});O.displayName="CarouselItem";let P=n.forwardRef(({className:e,variant:n="outline",size:r="icon",...i},o)=>{let{orientation:a,scrollPrev:l,canScrollPrev:s}=S();return(0,t.jsxs)(L.Button,{ref:o,variant:n,size:r,className:(0,E.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-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)(C.ArrowLeft,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});P.displayName="CarouselPrevious";let z=n.forwardRef(({className:e,variant:n="outline",size:r="icon",...i},o)=>{let{orientation:a,scrollNext:l,canScrollNext:s}=S();return(0,t.jsxs)(L.Button,{ref:o,variant:n,size:r,className:(0,E.cn)("absolute h-8 w-8 rounded-full","horizontal"===a?"-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)(N.ArrowRight,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})});z.displayName="CarouselNext",e.s(["Carousel",0,M,"CarouselContent",0,R,"CarouselItem",0,O,"CarouselNext",0,z,"CarouselPrevious",0,P,"useCarousel",0,S],39136)}]);
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.