1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84753,e=>{"use strict";var t=e.i(58256),n=e.i(64022),r=e.i(78559),i=e.i(87735),o=e.i(46686),a=e.i(91398),s=e.i(30559),l=e.i(53892),u=e.i(91788),c=e.i(58021);e.s(["default",0,function(e){var d=e.className,f=e.title,p=e.description,v=(0,c.useForm)(),m=v.register,h=v.handleSubmit,b=v.reset,g=(0,i._)(u.useState("idle"),2),x=g[0],y=g[1],w=(0,i._)(u.useState("Sorry, something went wrong please try again later"),2),_=w[0],k=w[1];return(0,a.jsxs)("div",{className:(0,l.default)("rounded-none border border-line bg-surface p-4 shadow-sm",d),children:[(0,a.jsx)("h3",{children:null!=f?f:"Contact Us"}),(0,a.jsx)("p",{className:"mt-2 text-ink-2",children:null!=p?p:"Reach out to one of our technical expert."}),(0,a.jsxs)("form",{onSubmit:h(function(e){return(0,t._)(function(){return(0,o._)(this,function(t){return y("loading"),s.default.post("/api/contactform",{name:e.name,email:e.email,phone:e.phone,company:e.company,message:e.message}).then(function(){b(),y("Submitted.")}).catch(function(e){if(s.default.isAxiosError(e)){var t,n,r,i,o;(null==(r=e.response)||null==(n=r.data)||null==(t=n.message)?void 0:t.includes("subscribed"))?y("subscribed"):(y("error"),k(null!=(i=null==(o=e.response)?void 0:o.data.message)?i:"Something is wrong with the API."))}else y("error"),k("Something is wrong with the API.")}),[2]})})()}),className:"mt-2 grid items-end gap-2",children:[(0,a.jsxs)("div",{className:"flex-auto",children:[(0,a.jsx)("label",{className:"text-sm font-medium",htmlFor:"name",children:"Name"}),(0,a.jsx)("input",(0,r._)((0,n._)({},m("name")),{className:(0,l.default)("mb-2 mt-2 h-10 ","w-full rounded-none border border-line bg-canvas text-ink","text-sm placeholder:text-ink-3 md:text-base","focus:border-pine focus:outline-none focus:ring-1 focus:ring-pine"),type:"text",placeholder:"Full Name",required:!0})),(0,a.jsx)("label",{className:"mt-2 text-sm font-medium",htmlFor:"email",children:"Please provide your work email"}),(0,a.jsx)("input",(0,r._)((0,n._)({},m("email")),{className:(0,l.default)("mb-2 mt-2 h-10","w-full rounded-none border border-line bg-canvas text-ink","text-sm placeholder:text-ink-3 md:text-base","focus:border-pine focus:outline-none focus:ring-1 focus:ring-pine"),type:"email",placeholder:"Work Email",required:!0})),(0,a.jsx)("label",{className:"mt-2 text-sm font-medium",htmlFor:"phone",children:"Phone Number"}),(0,a.jsx)("input",(0,r._)((0,n._)({},m("phone")),{className:(0,l.default)("mb-2 mt-2 h-10","w-full rounded-none border border-line bg-canvas text-ink","text-sm placeholder:text-ink-3 md:text-base","focus:border-pine focus:outline-none focus:ring-1 focus:ring-pine"),type:"tel",placeholder:"Phone Number",maxLength:15})),(0,a.jsx)("label",{className:"mt-2 text-sm font-medium",htmlFor:"company",children:"Company"}),(0,a.jsx)("input",(0,r._)((0,n._)({},m("company")),{className:(0,l.default)("mb-2 mt-2 h-10","w-full rounded-none border border-line bg-canvas text-ink","text-sm placeholder:text-ink-3 md:text-base","focus:border-pine focus:outline-none focus:ring-1 focus:ring-pine"),type:"text",placeholder:"Company",required:!0})),(0,a.jsx)("label",{className:"mt-2 text-sm font-medium",htmlFor:"message",children:"Your message"}),(0,a.jsx)("textarea",(0,r._)((0,n._)({},m("message")),{rows:3,className:(0,l.default)("mb-2 mt-2 min-h-[88px] w-full resize-y rounded-none border border-line bg-canvas text-ink","text-sm placeholder:text-ink-3 md:text-base","focus:border-pine focus:outline-none focus:ring-1 focus:ring-pine"),placeholder:"Tell us about your project, goals, and timelines",required:!0}))]}),(0,a.jsx)("button",{type:"submit",disabled:"loading"===x,className:"rounded-none bg-primary-300 px-6 py-3 font-bold text-dark transition-colors hover:bg-primary-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-pine disabled:cursor-wait disabled:opacity-70",children:"loading"===x?"Submittingâ¦":"Submit"})]}),(0,a.jsx)("p",{className:(0,l.default)("mt-3 text-sm","success"===x?"text-pine":"subscribed"===x?"text-yellow-500":"error"===x?"text-red-500 dark:text-red-400":"text-ink-2"),children:"success"===x?"Thanks, we will c
1ontact you soon.":"subscribed"===x?"":"error"===x?(0,a.jsxs)(a.Fragment,{children:[_," Sorry! Error occurred."]}):"loading"===x?"Loading...":""})]})}])},15125,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return o},imageConfigDefault:function(){return a}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});var o=["default","imgix","cloudinary","akamai","custom"],a={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},13521,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"ImageConfigContext",{enumerable:!0,get:function(){return o}});var r=e.r(41705)._(e.r(91788)),i=e.r(15125),o=r.default.createContext(i.imageConfigDefault)},12270,e=>{"use strict";var t=e.i(91398),n=e.i(53892);e.s(["default",0,function(e){var r=e.children,i=e.className;return(0,t.jsx)("span",{className:(0,n.default)(i,"transition-colors","bg-gradient-to-tr from-pine to-aqua bg-clip-text text-transparent"),children:r})}])},87243,e=>{"use strict";var t=e.i(87735),n=e.i(91788),r=e.i(23602);e.s(["default",0,function(){var e=(0,r.usePreloadState)(),i=(0,t._)(n.useState(!1),2),o=i[0],a=i[1];return n.useEffect(function(){e?a(!0):setTimeout(function(){a(!0)},200)},[e]),o}])},38248,e=>{"use strict";var t=e.i(60722),n=e.i(91398),r=["https://res.cloudinary.com/dfee67kdq/image/upload/v1761282494/logo_collections/partners/composio.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1761282492/logo_collections/partners/andino-labs.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1742632365/logo_collections/partners/ditto.png","https://res.cloudinary.com/dfee67kdq/image/upload/v1741928508/logo_collections/partners/clika-logo_pdkokg.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1742633304/logo_collections/partners/zycus.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1725962731/logo_collections/partners/enkryptai.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1725962731/logo_collections/partners/skyswitch.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1719864177/logo_collections/partners/neevcloud_light_yj4icf.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1720376895/logo_collections/partners/hearzap_light_miwfmm.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1720183063/logo_collections/partners/resolve_light_i1ni7u.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1720183133/logo_collections/partners/truefoundary_light_ap6i7v.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1723205417/logo_collections/partners/iff-logo1.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1720376857/logo_collections/partners/dyte_light_gqkgy4.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1719860485/logo_collections/partners/doctordroid_light_xdq7ps.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1719863953/logo_collections/partners/primer_light_dtxkbb.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1750878922/logos/hify-logo_ur4syd.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1719864017/logo_collections/partners/wertech_light_nxda2a.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1719861128/logo_collections/partners/lynks_light_g9whvf.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1720182891/logo_collections/partners/breathe_light_wsdh12.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1725962731/logo_collections/partners/revest.webp","https://res.cloudinary.com/dfee67kdq/image/upload/v1725962731/logo_collections/partners/charcoaleats.webp"];e.s(["default",0,function(){return(0,n.jsx)("div",{id:"infinite",className:"highway-slider",children:(0,n.jsx)("div",{className:"highway-barrier container",children:(0,n.jsx)("ul",{className:"highway-lane",children:(0,t._)(r).map(function(e){return(0,n.jsx)("li",{className:"highway-car w-28 px-4 sm:w-8 sm:px-2 md:w-[300px]",children:(0,n.jsx)("img",{src:e,className:"w-32 invert dark:invert-0",alt:"Clients"})},Math.random().toString(32))})})})})}])},97391,e=>{"use strict";var t=e.i(64022),n=e.i(78559);e.s(["pickContentMeta",0,function(e,r){var i;return null!=(i=null==e?void 0:e.filter(function(e){return e.slug.startsWith(r.slice(0,1))}).map(function(e){return(0,n._)((0,t._)({},e),{slug:e.slug.slice(2)})}))?i:[]}])},31916,e=>{"use strict";var t=e.i(64022),n=e.i(78559),r=e.i(87735),i=e.i(60722),o=e.i(91788),a=e.i(95686),s=e.i(97391),l=e.i(35688),u=e.i(4161);e.s(["default",0,function(e,c){var d=(0,a.default)(u.contentMetaFlag?"/api/content":null),f=d.data,p=!d.error&&!f,v=o.useMemo(function(){return(0,s.pickContentMeta)(f,e)}
1,[f,e]),m=(0,r._)(o.useState(function(){return(0,i._)(c)}),2),h=m[0],b=m[1];return o.useEffect(function(){v&&b(c.map(function(e){var r,i,o=null==(r=v.find(function(t){return t.slug===(0,l.cleanBlogPrefix)(e.slug)}))?void 0:r.views,a=null==(i=v.find(function(t){return t.slug===(0,l.cleanBlogPrefix)(e.slug)}))?void 0:i.likes;return(0,n._)((0,t._)({},e),{views:o,likes:a})}))},[v,p,c]),h}])},15424,e=>{"use strict";var t=e.i(91788);function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=new Map,o=new WeakMap,a=0,s=void 0,l=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function u(e){return"function"!=typeof e.children}var c=function(e){function c(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){n.node&&(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),u(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}c.prototype=Object.create(e.prototype),c.prototype.constructor=c,r(c,e);var d=c.prototype;return d.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},d.componentWillUnmount=function(){this.unobserve(),this.node=null},d.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,n=e.root,r=e.rootMargin,l=e.trackVisibility,u=e.delay,c=e.fallbackInView;this._unobserveCb=function(e,t,n,r){if(void 0===n&&(n={}),void 0===r&&(r=s),void 0===window.IntersectionObserver&&void 0!==r){var l=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:l,intersectionRect:l,rootBounds:l}),function(){}}var u=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var n;return t+"_"+("root"===t?(n=e.root)?(o.has(n)||(a+=1,o.set(n,a.toString())),o.get(n)):"0":e[t])}).toString(),n=i.get(t);if(!n){var r,s=new Map,l=new IntersectionObserver(function(t){t.forEach(function(t){var n,i=t.isIntersecting&&r.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(n=s.get(t.target))||n.forEach(function(e){e(i,t)})})},e);r=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:l,elements:s},i.set(t,n)}return n}(n),c=u.id,d=u.observer,f=u.elements,p=f.get(e)||[];return f.has(e)||f.set(e,p),p.push(t),d.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(f.delete(e),d.unobserve(e)),0===f.size&&(d.disconnect(),i.delete(c))}}(this.node,this.handleChange,{threshold:t,root:n,rootMargin:r,trackVisibility:l,delay:u},c)}},d.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},d.render=function(){if(!u(this.props)){var e=this.state,r=e.inView,i=e.entry;return this.props.children({inView:r,entry:i,ref:this.handleNode})}var o=this.props,a=o.children,s=o.as,c=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(o,l);return t.createElement(s||"div",n({ref:this.handleNode},c),a)},c}(t.Component);c.displayName="InView",c.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1},e.s(["InView",0,c])},18251,e=>{"use strict";var t=e.i(91398),n=e.i(53892),r=e.i(3937),i=e.i(52934);e.s(["default",0,function(e){var o=e.casestudy,a=e.onClick;return(0,t.jsx)("li",{className:(0,n.default)("flex flex-col overflow-hidden border border-gray-300 bg-white dark:border-gray-600 dark:bg-dark","scale-100 hover:scale-[1.02] active:scale-[0.97] motion-safe:transform-gpu","transition-all duration-200 hover:border-primary-300/40 hover:shadow-md hover:shadow-
1primary-300/5","motion-reduce:hover:scale-100","animate-shadow"),onClick:a,children:(0,t.jsxs)(i.default,{className:"flex flex-1 flex-col focus:outline-none focus-visible:ring focus-visible:ring-primary-300",href:"/case-studies/".concat(o.slug),children:[(0,t.jsx)("div",{className:"relative overflow-hidden",children:(0,t.jsx)(r.default,{noStyle:!0,className:"pointer-events-none",publicId:"banner/".concat(o.banner),alt:o.title,width:1200,height:480,aspect:{height:2,width:5},preview:!1})}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,t.jsx)("h3",{className:"text-lg font-bold leading-snug text-gray-800 dark:text-gray-100 md:text-xl",children:o.title}),(0,t.jsx)("p",{className:"line-clamp-2 mt-2 flex-1 text-sm leading-relaxed text-gray-600 dark:text-gray-400",children:o.description}),(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)("span",{className:"text-primary-600 text-xs font-semibold uppercase tracking-wider dark:text-primary-300",children:"Read Case Study â"})})]})]})})}])},60600,e=>{"use strict";var t,n,r,i,o,a,s,l,u,c,d,f,p,v=e.i(46349),m=e.i(64022),h=e.i(78559),b=e.i(34554),g=e.i(87735),x=e.i(60722),y=e.i(91788),w=e.i(26171),_=e.i(64728),k=e.i(27544),S=e.i(81093),N=null!=(f=y.default.useId)?f:function(){var e=(0,k.useServerHandoffComplete)(),t=(0,g._)(y.default.useState(e?function(){return S.env.nextId()}:null),2),n=t[0],r=t[1];return(0,_.useIsoMorphicEffect)(function(){null===n&&r(S.env.nextId())},[n]),null!=n?""+n:void 0},j=e.i(15067);function O(e,t){var n=(0,g._)((0,y.useState)(e),2),r=n[0],i=n[1],o=(0,j.useLatestValue)(e);return(0,_.useIsoMorphicEffect)(function(){return i(o.current)},[o,i].concat((0,x._)(t))),r}var E=e.i(56833),R=e.i(74664),I=e.i(26417),C=e.i(60004),L=((t=L||{}).Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t),P=((n=P||{})[n.First=0]="First",n[n.Previous=1]="Previous",n[n.Next=2]="Next",n[n.Last=3]="Last",n[n.Specific=4]="Specific",n[n.Nothing=5]="Nothing",n),T=e.i(99914);function D(e){return S.env.isServer?null:(0,T._)(e,Node)?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&(0,T._)(e.current,Node)?e.current.ownerDocument:document}var M=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(function(e){return"".concat(e,":not([tabindex='-1'])")}).join(","),A=((r=A||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),F=((i=F||{})[i.Error=0]="Error",i[i.Overflow=1]="Overflow",i[i.Success=2]="Success",i[i.Underflow=3]="Underflow",i),V=((o=V||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o),q=((a=q||{})[a.Strict=0]="Strict",a[a.Loose=1]="Loose",a);function z(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=D(e))?void 0:t.body)&&(0,I.match)(r,(n={},(0,v._)(n,0,function(){return e.matches(M)}),(0,v._)(n,1,function(){for(var t=e;null!==t;){if(t.matches(M))return!0;t=t.parentElement}return!1}),n))}var U=e.i(96694);function H(e){if(e.type)return e.type;var t,n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function B(e,t,n){var r=(0,j.useLatestValue)(t);(0,y.useEffect)(function(){var t=function(e){r.current(e)};return document.addEventListener(e,t,n),function(){return document.removeEventListener(e,t,n)}},[e,n])}var W=((s=W||{})[s.None=1]="None",s[s.Focusable=2]="Focusable",s[s.Hidden=4]="Hidden",s),K=(0,R.forwardRefWithAs)(function(e,t){var n=e.features,r=void 0===n?1:n,i=(0,b._)(e,["features"]),o={ref:t,"aria-hidden":(2&r)==2||void 0,style:(0,m._)({position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},(4&r)==4&&(2&r)!=2&&{display:"none"})};return(0,R.render)({ourProps:o,theirProps:i,slot:{},defaultTag:"div",name:"Hidden"})});function Q(e,t){return e?e+"["+t+"]":t}var G=e.i(93481);function X(e){return[e.screenX,e.screenY]}var Y=((l=Y||{})[l.Open=0]="Open",l[l.Closed=1]="Closed",l),J=((u=J||{})[u.Single=0]="Single",u[u.Multi=1]="Multi",u),Z=((c=Z||{})[c.Pointer=0]="Pointer",c[c.Other=1]="Other",c),$=((d=$||{})[d.OpenListbox=0]="OpenListbox",d[d.CloseListbox=1]="CloseListbox",d[d.GoToOption=2]="GoToOption",d[d.Search=3]="Search",d[d.ClearSearch=4]="ClearSearch",d[d.RegisterOption=5]="RegisterOption",d[d.UnregisterOption=6]="UnregisterOption",d[d.RegisterLabel=7]="RegisterLabel",d);function ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};return e.slice().sort(function(e,n){var r=t(e),i=t(n);if(null===r||null===i)return 0;var o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}(t(e.options.slice()),function(e){return e.dataRef.current.domRef.current}),i=n?r.indexOf(n):null;return -1===i&&(i=null),{options:r,activeOptionIndex:i}}var et=(p={},(0,v._)(p,1,function(e){return e.dataRef.current.disabled||1===e.listboxState?e:(0,h._)((0,m._)({},e),{activeOptionIndex:null,listboxState:1})}),(0,v._)(p,0,function(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;var t=e.activeOptionIndex,n=e.dataRef.current.isSelected,r=e.options.findIndex(function(e){return n(e.dataRef.current.value)});return -1!==r&&(t=r),(0,h._)((0,m._)({},e),{listboxState:0,activeOptionIndex:t})}),(0,v._)(p,2,function(e,t){if(e.dataRef.current.disabled||1===e.listboxState)return e;var n,r=ee(e),i=function(e,t){var n=t.resolveItems();if(n.length<=0)return null;var r=t.resolveActiveIndex(),i=null!=r?r:-1,o=function(){switch(e.focus){case 0:return n.findIndex(function(e){return!t.resolveDisabled(e)});case 1:var r=n.slice().reverse().findIndex(function(e,n,r){return(-1===i||!(r.length-n-1>=i))&&!t.resolveDisabled(e)});return -1===r?r:n.length-1-r;case 2:return n.findIndex(function(e,n){return!(n<=i)&&!t.resolveDisabled(e)});case 3:var o=n.slice().reverse().findIndex(function(e){return!t.resolveDisabled(e)});return -1===o?o:n.length-1-o;case 4:return n.findIndex(function(n){return t.resolveId(n)===e.id});case 5:return null;default:throw Error("Unexpected object: "+e)}}();return -1===o?r:o}(t,{resolveItems:function(){return r.options},resolveActiveIndex:function(){return r.activeOptionIndex},resolveId:function(e){return e.id},resolveDisabled:function(e){return e.dataRef.current.disabled}});return(0,h._)((0,m._)({},e,r),{searchQuery:"",activeOptionIndex:i,activationTrigger:null!=(n=t.trigger)?n:1})}),(0,v._)(p,3,function(e,t){if(e.dataRef.current.disabled||1===e.listboxState)return e;var n=+(""===e.searchQuery),r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(function(e){var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))}),o=i?e.options.indexOf(i):-1;return -1===o||o===e.activeOptionIndex?(0,h._)((0,m._)({},e),{searchQuery:r}):(0,h._)((0,m._)({},e),{searchQuery:r,activeOptionIndex:o,activationTrigger:1})}),(0,v._)(p,4,function(e){return e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:(0,h._)((0,m._)({},e),{searchQuery:""})}),(0,v._)(p,5,function(e,t){var n={id:t.id,dataRef:t.dataRef},r=ee(e,function(e){return(0,x._)(e).concat([n])});return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),(0,m._)({},e,r)}),(0,v._)(p,6,function(e,t){var n=ee(e,function(e){var n=e.findIndex(function(e){return e.id===t.id});return -1!==n&&e.splice(n,1),e});return(0,h._)((0,m._)({},e,n),{activationTrigger:1})}),(0,v._)(p,7,function(e,t){return(0,h._)((0,m._)({},e),{labelId:t.id})}),p),en=(0,y.createContext)(null);function er(e){var t=(0,y.useContext)(en);if(null===t){var n=Error("<".concat(e," /> is missing a parent <Listbox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(n,er),n}return t}en.displayName="ListboxActionsContext";var ei=(0,y.createContext)(null);function eo(e){var t=(0,y.useContext)(ei);if(null===t){var n=Error("<".concat(e," /> is missing a parent <Listbox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(n,eo),n}return t}function ea(e,t){return(0,I.match)(t.type,et,e,t)}ei.displayName="ListboxDataContext";var es=y.Fragment,el=(0,R.forwardRefWithAs)(function(e,t){var n,r,i,o,a,s,l,u,c=e.value,d=e.defaultValue,f=e.name,p=e.onChange,x=e.by,k=void 0===x?function(e,t){return e===t}:x,S=e.disabled,N=void 0!==S&&S,j=e.horizontal,O=e.multiple,C=void 0!==O&&O,L=(0,b._)(e,["value","defaultValue","name","onChange","by","disabled","horizontal","multiple"]),D=void 0!==j&&j?"horizontal":"vertical",M=(0,E.useSyncRefs)(t),A=(0,g._)((r=(n=(0,g._)((0,y.useState)(d),2))[0],i=n[1],o=void 0!==c,a=(0,y.useRef)(o),s=(0,y.useRef)(!1),l=(0,y.useRef)(!1),!o||a.current||s.current?o||!a.current||l.current||(l.current=!0,a.current=o,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(s.current=!0,a.current=o,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[o?c:r,(0,G.useEvent)(function(e){return o||i(e),null==p?void 0:p(e)})]),2),F=A[0],V=void 0===F?C?[]:void 0:F,H=A[1],X=(0,g._)((0,y.useReducer)(ea,{dataRef:(0,y.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),2),Y=X[0],J=X[1],Z=(0,y.useRef)({static:!1,hold:!1}),$=(0,y.useRef)(null),ee=(0,y.useRef)(null),et=(0,y.useRef)(null),er=(0,G.useEvent)("string"==typeof k?function(e,t){return(null==e?void 0:e[k])===(null==t?void 0:t[k])}:k),eo=(0,y.useCallback)(function(e){var t;return(0,I.match)(el.mode,(t={},(0,v._)(t,1,function(){return V.some(function(t){return er(t,e)})}),(0,v._)(t,0,function(){return er(V,e)}),t))},[V]),el=(0,y.useMemo)(function(){return(0,h._)((0,m._)({},Y),{value:V,disabled:N,mode:+!!C,orientation:D,compare:er,isSelected:eo,optionsPropsRef:Z,labelRef:$,buttonRef:ee,optionsRef:et})},[V,N,C,Y]);(0,_.useIsoMorphicEffect)(function(){Y.dataRef.current=el},[el]),function(e,t){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=(0,y.useRef)(!1);
1function i(n,i){if(r.current&&!n.defaultPrevented){var o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||(0,T._)(t,Set)?t:[t]}(e),a=i(n);if(null!==a&&a.getRootNode().contains(a)){var s=!0,l=!1,u=void 0;try{for(var c,d=o[Symbol.iterator]();!(s=(c=d.next()).done);s=!0){var f=c.value;if(null!==f){var p=(0,T._)(f,HTMLElement)?f:f.current;if(null!=p&&p.contains(a)||n.composed&&n.composedPath().includes(p))return}}}catch(e){l=!0,u=e}finally{try{s||null==d.return||d.return()}finally{if(l)throw u}}return z(a,q.Loose)||-1===a.tabIndex||n.preventDefault(),t(n,a)}}}(0,y.useEffect)(function(){requestAnimationFrame(function(){r.current=n})},[n]);var o=(0,y.useRef)(null);B("mousedown",function(e){var t,n;r.current&&(o.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),B("click",function(e){o.current&&(i(e,function(){return o.current}),o.current=null)},!0),B("blur",function(e){return i(e,function(){return(0,T._)(window.document.activeElement,HTMLIFrameElement)?window.document.activeElement:null})},!0)}([el.buttonRef,el.optionsRef],function(e,t){var n;J({type:1}),z(t,q.Loose)||(e.preventDefault(),null==(n=el.buttonRef.current)||n.focus())},0===el.listboxState);var eu=(0,y.useMemo)(function(){return{open:0===el.listboxState,disabled:N,value:V}},[el,N,V]),ec=(0,G.useEvent)(function(e){var t=el.options.find(function(t){return t.id===e});t&&eb(t.dataRef.current.value)}),ed=(0,G.useEvent)(function(){if(null!==el.activeOptionIndex){var e=el.options[el.activeOptionIndex],t=e.dataRef,n=e.id;eb(t.current.value),J({type:2,focus:P.Specific,id:n})}}),ef=(0,G.useEvent)(function(){return J({type:0})}),ep=(0,G.useEvent)(function(){return J({type:1})}),ev=(0,G.useEvent)(function(e,t,n){return e===P.Specific?J({type:2,focus:P.Specific,id:t,trigger:n}):J({type:2,focus:e,trigger:n})}),em=(0,G.useEvent)(function(e,t){return J({type:5,id:e,dataRef:t}),function(){return J({type:6,id:e})}}),eh=(0,G.useEvent)(function(e){return J({type:7,id:e}),function(){return J({type:7,id:null})}}),eb=(0,G.useEvent)(function(e){var t;return(0,I.match)(el.mode,(t={},(0,v._)(t,0,function(){return null==H?void 0:H(e)}),(0,v._)(t,1,function(){var t=el.value.slice(),n=t.findIndex(function(t){return er(t,e)});return -1===n?t.push(e):t.splice(n,1),null==H?void 0:H(t)}),t))}),eg=(0,G.useEvent)(function(e){return J({type:3,value:e})}),ex=(0,G.useEvent)(function(){return J({type:4})}),ey=(0,y.useMemo)(function(){return{onChange:eb,registerOption:em,registerLabel:eh,goToOption:ev,closeListbox:ep,openListbox:ef,selectActiveOption:ed,selectOption:ec,search:eg,clearSearch:ex}},[]),ew=(0,y.useRef)(null),e_=(0,w.useDisposables)();return(0,y.useEffect)(function(){ew.current&&void 0!==d&&e_.addEventListener(ew.current,"reset",function(){eb(d)})},[ew,eb]),y.default.createElement(en.Provider,{value:ey},y.default.createElement(ei.Provider,{value:el},y.default.createElement(U.OpenClosedProvider,{value:(0,I.match)(el.listboxState,(u={},(0,v._)(u,0,U.State.Open),(0,v._)(u,1,U.State.Closed),u))},null!=f&&null!=V&&(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=!0,o=!1,a=void 0;try{for(var s,l=Object.entries(t)[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var u=(0,g._)(s.value,2),c=u[0],d=u[1];!function t(n,r,i){var o=!0,a=!1,s=void 0;if(Array.isArray(i))try{for(var l,u=i.entries()[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var c=(0,g._)(l.value,2),d=c[0],f=c[1];t(n,Q(r,d.toString()),f)}}catch(e){a=!0,s=e}finally{try{o||null==u.return||u.return()}finally{if(a)throw s}}else(0,T._)(i,Date)?n.push([r,i.toISOString()]):"boolean"==typeof i?n.push([r,i?"1":"0"]):"string"==typeof i?n.push([r,i]):"number"==typeof i?n.push([r,"".concat(i)]):null==i?n.push([r,""]):e(i,r,n)}(r,Q(n,c),d)}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}return r})((0,v._)({},f,V)).map(function(e,t){var n=(0,g._)(e,2),r=n[0],i=n[1];return y.default.createElement(K,(0,m._)({features:W.Hidden,ref:0===t?function(e){var t;ew.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0},(0,R.compact)({key:r,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:r,value:i})))}),(0,R.render)({ourProps:{ref:M},theirProps:L,slot:eu,defaultTag:es,name:"Listbox"}))))}),eu=(0,R.forwardRefWithAs)(function(e,t){var n,r,i,o,a,s=N(),l=e.id,u=void 0===l?"headlessui-listbox-button-".concat(s):l,c=(0,b._)(e,["id"]),d=eo("Listbox.Button"),f=er("Listbox.Button"),p=(0,E.useSyncRefs)(d.buttonRef,t),v=(0,w.useDisposables)(),m=(0,G.useEvent)(function(e){switch(e.key){case L.Space:case L.Enter:case L.ArrowDown:e.preventDefault(),f.openListbox(),v.nextFrame(function(){d.value||f.goToOption(P.First)});break;case L.ArrowUp:e.preventDefault(),f.openListbox(),v.nextFrame(function(){d.value||f.goToOption(P.Last)})}}),h=(0,G.useEvent)(function(e){e.key===L.Space&&e.preventDefault()}),x=(0,G.useEvent)(function(e){if(function(e){for(var t=e.parentElement,n=null;t&&!(0,T._)(t,HTMLFieldSetElement);)(0,T._)(t,HTMLLegendElement)&&(n=t),t=t.parentElement;var r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;for(var t=e.previousElementSibling;null!==t;){if((0,T._)(t,HTMLLegendElement))return!1;t=t.previousElementSibling}return!0}(n))&&r}(e.currentTarget))return e.preventDefault();0===d.listboxState?(f.closeListbox(),v.nextFrame(function(){var e;
1return null==(e=d.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(e.preventDefault(),f.openListbox())}),k=O(function(){if(d.labelId)return[d.labelId,u].join(" ")},[d.labelId,u]),S=(0,y.useMemo)(function(){return{open:0===d.listboxState,disabled:d.disabled,value:d.value}},[d]),j={ref:p,id:u,type:(n=d.buttonRef,i=(r=(0,g._)((0,y.useState)(function(){return H(e)}),2))[0],o=r[1],(0,_.useIsoMorphicEffect)(function(){o(H(e))},[e.type,e.as]),(0,_.useIsoMorphicEffect)(function(){i||!n.current||(0,T._)(n.current,HTMLButtonElement)&&!n.current.hasAttribute("type")&&o("button")},[i,n]),i),"aria-haspopup":"listbox","aria-controls":null==(a=d.optionsRef.current)?void 0:a.id,"aria-expanded":d.disabled?void 0:0===d.listboxState,"aria-labelledby":k,disabled:d.disabled,onKeyDown:m,onKeyUp:h,onClick:x};return(0,R.render)({ourProps:j,theirProps:c,slot:S,defaultTag:"button",name:"Listbox.Button"})}),ec=(0,R.forwardRefWithAs)(function(e,t){var n=N(),r=e.id,i=void 0===r?"headlessui-listbox-label-".concat(n):r,o=(0,b._)(e,["id"]),a=eo("Listbox.Label"),s=er("Listbox.Label"),l=(0,E.useSyncRefs)(a.labelRef,t);(0,_.useIsoMorphicEffect)(function(){return s.registerLabel(i)},[i]);var u=(0,G.useEvent)(function(){var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),c=(0,y.useMemo)(function(){return{open:0===a.listboxState,disabled:a.disabled}},[a]);return(0,R.render)({ourProps:{ref:l,id:i,onClick:u},theirProps:o,slot:c,defaultTag:"label",name:"Listbox.Label"})}),ed=R.Features.RenderStrategy|R.Features.Static,ef=Object.assign(el,{Button:eu,Label:ec,Options:(0,R.forwardRefWithAs)(function(e,t){var n,r=N(),i=e.id,o=(0,b._)(e,["id"]),a=eo("Listbox.Options"),s=er("Listbox.Options"),l=(0,E.useSyncRefs)(a.optionsRef,t),u=(0,w.useDisposables)(),c=(0,w.useDisposables)(),d=(0,U.useOpenClosed)(),f=null!==d?d===U.State.Open:0===a.listboxState;(0,y.useEffect)(function(){var e,t=a.optionsRef.current;t&&0===a.listboxState&&t!==(null==(e=D(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})},[a.listboxState,a.optionsRef]);var p=(0,G.useEvent)(function(e){switch(c.dispose(),e.key){case L.Space:if(""!==a.searchQuery)return e.preventDefault(),e.stopPropagation(),s.search(e.key);case L.Enter:if(e.preventDefault(),e.stopPropagation(),null!==a.activeOptionIndex){var t=a.options[a.activeOptionIndex].dataRef;s.onChange(t.current.value)}0===a.mode&&(s.closeListbox(),(0,C.disposables)().nextFrame(function(){var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1));break;case(0,I.match)(a.orientation,{vertical:L.ArrowDown,horizontal:L.ArrowRight}):return e.preventDefault(),e.stopPropagation(),s.goToOption(P.Next);case(0,I.match)(a.orientation,{vertical:L.ArrowUp,horizontal:L.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),s.goToOption(P.Previous);case L.Home:case L.PageUp:return e.preventDefault(),e.stopPropagation(),s.goToOption(P.First);case L.End:case L.PageDown:return e.preventDefault(),e.stopPropagation(),s.goToOption(P.Last);case L.Escape:return e.preventDefault(),e.stopPropagation(),s.closeListbox(),u.nextFrame(function(){var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})});case L.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(s.search(e.key),c.setTimeout(function(){return s.clearSearch()},350))}}),v=O(function(){var e,t,n;return null!=(n=null==(e=a.labelRef.current)?void 0:e.id)?n:null==(t=a.buttonRef.current)?void 0:t.id},[a.labelRef.current,a.buttonRef.current]),m=(0,y.useMemo)(function(){return{open:0===a.listboxState}},[a]),h={"aria-activedescendant":null===a.activeOptionIndex||null==(n=a.options[a.activeOptionIndex])?void 0:n.id,"aria-multiselectable":1===a.mode||void 0,"aria-labelledby":v,"aria-orientation":a.orientation,id:void 0===i?"headlessui-listbox-options-".concat(r):i,onKeyDown:p,role:"listbox",tabIndex:0,ref:l};return(0,R.render)({ourProps:h,theirProps:o,slot:m,defaultTag:"ul",features:ed,visible:f,name:"Listbox.Options"})}),Option:(0,R.forwardRefWithAs)(function(e,t){var n,r=N(),i=e.id,o=void 0===i?"headlessui-listbox-option-".concat(r):i,a=e.disabled,s=void 0!==a&&a,l=e.value,u=(0,b._)(e,["id","disabled","value"]),c=eo("Listbox.Option"),d=er("Listbox.Option"),f=null!==c.activeOptionIndex&&c.options[c.activeOptionIndex].id===o,p=c.isSelected(l),v=(0,y.useRef)(null),m=(0,j.useLatestValue)({disabled:s,value:l,domRef:v,get textValue(){var h,g;return null==(g=null==(h=v.current)?void 0:h.textContent)?void 0:g.toLowerCase()}}),x=(0,E.useSyncRefs)(t,v);(0,_.useIsoMorphicEffect)(function(){if(0===c.listboxState&&f&&0!==c.activationTrigger){var e=(0,C.disposables)();return e.requestAnimationFrame(function(){var e,t;null==(t=null==(e=v.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose}},[v,f,c.listboxState,c.activationTrigger,c.activeOptionIndex]),(0,_.useIsoMorphicEffect)(function(){return d.registerOption(o,m)},[m,o]);var w=(0,G.useEvent)(function(e){if(s)return e.preventDefault();d.onChange(l),0===c.mode&&(d.closeListbox(),(0,C.disposables)().nextFrame(function(){var e;return null==(e=c.buttonRef.current)?void 0:e.focus({preventScroll:!0})}
1))}),k=(0,G.useEvent)(function(){if(s)return d.goToOption(P.Nothing);d.goToOption(P.Specific,o)}),S=(n=(0,y.useRef)([-1,-1]),{wasMoved:function(e){var t=X(e);return(n.current[0]!==t[0]||n.current[1]!==t[1])&&(n.current=t,!0)},update:function(e){n.current=X(e)}}),O=(0,G.useEvent)(function(e){return S.update(e)}),I=(0,G.useEvent)(function(e){!S.wasMoved(e)||s||f||d.goToOption(P.Specific,o,0)}),L=(0,G.useEvent)(function(e){S.wasMoved(e)&&!s&&f&&d.goToOption(P.Nothing)}),T=(0,y.useMemo)(function(){return{active:f,selected:p,disabled:s}},[f,p,s]);return(0,R.render)({ourProps:{id:o,ref:x,role:"option",tabIndex:!0===s?void 0:-1,"aria-disabled":!0===s||void 0,"aria-selected":p,disabled:void 0,onClick:w,onFocus:k,onPointerEnter:O,onMouseEnter:O,onPointerMove:I,onMouseMove:I,onPointerLeave:L,onMouseLeave:L},theirProps:u,slot:T,defaultTag:"li",name:"Listbox.Option"})})});e.s(["Listbox",0,ef],60600)},14874,e=>{"use strict";var t=e.i(87735),n=e.i(60722),r=e.i(91398),i=e.i(60600),o=e.i(95695),a=e.i(53892),s=e.i(91788),l=e.i(78487),u=e.i(15424),c=e.i(35688),d=e.i(35043),f=e.i(31916),p=e.i(87243),v=e.i(12270),m=e.i(18251),h=e.i(52934);function b(e){var t=e.casestudy,n=e.className;return(0,r.jsx)("div",{className:(0,a.default)("group relative overflow-hidden border-l-4 border-primary-400 bg-white dark:border-primary-300 dark:bg-dark","transition-all duration-300 hover:shadow-lg hover:shadow-primary-300/5","border border-l-4 border-gray-300 dark:border-gray-600",n),children:(0,r.jsx)(h.default,{className:"block p-6 md:p-10 lg:p-14",href:"/case-studies/".concat(t.slug),children:(0,r.jsxs)("div",{className:"max-w-4xl",children:[(0,r.jsx)("span",{className:(0,a.default)("mb-4 inline-block border border-primary-400/30 px-3 py-1 text-xs font-semibold uppercase tracking-widest","text-primary-600 bg-primary-400/10 dark:text-primary-300"),children:(0,r.jsx)(v.default,{children:"Featured Case Study"})}),(0,r.jsx)("h2",{className:"group-hover:text-primary-600 mt-3 text-2xl font-extrabold text-gray-800 transition-colors dark:text-gray-100 dark:group-hover:text-primary-300 md:text-4xl lg:text-5xl",children:t.title}),(0,r.jsx)("p",{className:"line-clamp-3 mt-4 max-w-3xl text-base leading-relaxed text-gray-600 dark:text-gray-300 md:text-lg",children:t.description}),(0,r.jsx)("div",{className:"mt-6",children:(0,r.jsx)(v.default,{className:"text-sm font-bold uppercase tracking-wider",children:"Read Case Study â"})})]})})})}var g=e.i(84753),x=e.i(37861),y=e.i(45788),w=e.i(12124),_=e.i(98014),k=e.i(38248),S=[{id:"date",name:"Sort by date",icon:l.HiCheck},{id:"views",name:"Sort by views",icon:l.HiCheck}];e.s(["__N_SSG",0,!0,"default",0,function(e){var h=e.casestudies,N=(0,t._)(s.useState(function(){return S[Number((0,c.getFromSessionStorage)("casestudy-sort"))||0]}),1)[0],j=(0,p.default)(),O=(0,f.default)("casestudy",h),E=(0,t._)(s.useState(""),2),R=E[0],I=E[1],C=(0,t._)(s.useState(function(){return(0,n._)(h)}),2),L=C[0],P=C[1];s.useEffect(function(){var e=O.filter(function(e){return e.title.toLowerCase().includes(R.toLowerCase())||e.description.toLowerCase().includes(R.toLowerCase())||R.toLowerCase().split(" ").every(function(t){return e.tags.includes(t)})});"date"===N.id?(e.sort(d.sortDateFn),sessionStorage.setItem("casestudy-sort","0")):"views"===N.id&&(e.sort(function(e,t){var n,r;return(null!=(n=null==t?void 0:t.views)?n:0)-(null!=(r=null==e?void 0:e.views)?r:0)}),sessionStorage.setItem("casestudy-sort","1")),P(e)},[R,N.id,O]);var T=s.useMemo(function(){return(0,n._)(new Set(h.flatMap(function(e){var t;return(null!=(t=e.tags)?t:"").split(",").map(function(e){return e.trim()}).filter(Boolean)})))},[h]),D={id:"all",name:"All Categories"},M=[D].concat((0,n._)(T.map(function(e){return{id:e,name:e}}))),A=(0,t._)(s.useState(D),2),F=A[0],V=A[1],q=s.useMemo(function(){return"all"===F.id?L:L.filter(function(e){return e.tags.split(",").some(function(e){return e.trim()===F.id})})},[L,F]),z=(0,t._)(s.useState(10),2),U=z[0],H=z[1];s.useEffect(function(){H(10)},[R,F]);var B=q.length-1>U,W=q.slice(1,1+U);return(0,r.jsxs)(w.default,{children:[(0,r.jsx)(_.default,{templateTitle:"Case Studies on AI, Cloud Native, Kubernetes, Platform Engineering and more",description:"Cloud Native Success Stories, Cloud Native Solutions, Kubernetes, Observability, DevOps and Platform engineering.",keywords:"CloudRaft, Cloud Native Success stories, Cloud Native, Platform Engineering, Kubernetes Consulting, disaster recovery, building ai cloud, ai cloud, cloud native case studies, postgres",banner:"https://res.cloudinary.com/dfee67kdq/image/upload/v1759842243/banner/main-og-cloudraft.webp"}),(0,r.jsxs)("main",{children:[(0,r.jsx)("section",{className:(0,a.default)(j&&"fade-in-start"),children:(0,r.jsxs)("div",{className:"layout py-20",children:[(0,r.jsxs)("div",{className:"mb-12",children:[(0,r.jsx)("h1",{className:"text-3xl font-bold md:text-5xl lg:text-6xl","data-fade":"0",children:(0,r.jsx)(v.default,{children:"Our Work"})}),(0,r.jsx)("p",{className:"mt-4 max-w-2xl text-lg text-gray-600 dark:text-gray-300","data-fade":"1",children:"Some of our selected success stories in Cloud Native, Kubernetes and AI Cloud."})]}),(0,r.jsx)("div",{className:"relative z-[1] mb-16 border border-gray-300 bg-gray-50/50 p-6 dark:border-gray-800 dark:bg-zinc-900/50 md:p-8","data-fade":"2",children:(0,r.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-end",children:[(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)(y.default,{placeholder:"Search case studies...",onChange:function(e){I(e.target.value)},value:R,type:"text"})}),M.length>1&&(0,r.jsxs)("div",{className:"flex shrink-0 items-center gap-3",children:[(0,r.jsx)("span",{className:"whitespace-nowrap text-sm font-medium text-gray-600 dark:text-gray-400",children:"Browse:"}),(0,r.jsxs)("div",{className:"relative w-48",children:[(0,r.jsxs)("span",{className:(0,a.default)("flex w-full items-center justify-between rounded-none border border-gray-300 bg-white px-3 py-2 text-left text-sm font-medium dark:border-gray-600 dark:bg-dark"),children:[(0,r.jsx)("span",{className:"block truncate",children:F.name}),(0,r.jsx)(l.HiSelector,{className:"h-4 w-4 text-gray-400","aria-hidden":"true"})]}),(0,r.jsx)("div",{className:"absolute inset-0 z-10",children:(0,r.jsxs)(i.Listbox,{value:F,onChange:V,children:[(0,r.jsx)(i.Listbox.Button,{className:"absolute inset-0 left-0 w-full cursor-pointer opacity-0"}),(0,r.jsx)(o.Transition,{as:s.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,r.jsx)(i.Listbox.Options,{className:"absolute left-0 z-50 mt-1 max-h-60 w-48 overflow-auto rounded-none border border-gray-300 bg-white py-1 text-sm shadow-lg focus:outline-none dark:border-gray-600 dark:bg-dark",children:M.map(function(e){return(0,r.jsx)(i.Listbox.Option,{className:function(e){var t=e.active;return(0,a.default)("relative cursor-default select-none py-2 pr-4 pl-10",t?"bg-primary-300/10 dark:bg-primary-300/25":"text-gray-700 dark:text-gray-300")},value:e,children:function(t){var n=t.selected;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:(0,a.default)(n?"font-medium":"font-normal","block truncate"),children:e.name}),n?(0,r.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3 text-primary-500 dark:text-primary-300",children:(0,r.jsx)(l.HiCheck,{className:"h-4 w-4","aria-hidden":"true"})}):null]})}},e.id)})})})]})})]})]})]})}),(0,r.jsx)("div",{className:"space-y-12",children:q.length>0?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{"data-fade":"4",children:(0,r.jsx)(b,{casestudy:q[0]})}),(0,r.jsx)("ul",{className:"grid gap-8 sm:grid-cols-2 xl:grid-cols-3","data-fade":"5",children:W.map(function(e){return(0,r.jsx)(m.default,{casestudy:e},e.slug)})}),B&&(0,r.jsx)("div",{className:"flex justify-center pt-4",children:(0,r.jsx)("button",{onClick:function(){return H(function(e){return e+10})},className:(0,a.default)("border border-gray-300 px-8 py-3 text-sm font-medium transition-all duration-200","hover:text-primary-600 text-gray-700 hover:border-primary-300/50","dark:border-gray-600 dark:text-gray-300 dark:hover:border-primary-300/50 dark:hover:text-primary-300","focus:outline-none focus-visible:ring focus-visible:ring-primary-300"),children:"Load More Case Studies"})})]}):(0,r.jsx)(x.default,{})})]})}),(0,r.jsx)(u.InView,{triggerOnce:!0,rootMargin:"-40% 0px",children:function(e){var t=e.ref,n=e.inView;return(0,r.jsxs)("section",{ref:t,id:"services",className:(0,a.default)("py-20",n&&"fade-in-start"),children:[(0,r.jsxs)("article",{className:"mt-4",children:[(0,r.jsx)("div",{className:"grid items-center justify-center","data-fade":"6",children:(0,r.jsx)("h3",{className:"text-center dark:text-zinc-200 lg:text-lg lg:uppercase",children:"Trusted by leading organizations"})}),(0,r.jsx)("div",{"data-fade":"7",children:(0,r.jsx)(k.default,{})})]}),(0,r.jsx)("article",{className:"layout py-16",children:(0,r.jsxs)("div",{"data-fade":"8",children:[(0,r.jsx)("h3",{className:"text-center dark:text-zinc-200 lg:text-lg lg:uppercase",children:"Connect with us to discu
1ss your challenge"}),(0,r.jsx)(g.default,{className:"mt-8"})]})})]})}})]})]})}],14874)},83888,(e,t,n)=>{var r="/case-studies";(window.__NEXT_P=window.__NEXT_P||[]).push([r,function(){return e.r(14874)}]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([r])})},48761,e=>{e.v(t=>Promise.all(["static/chunks/0srz.rwm5fdb4.js"].map(t=>e.l(t))).then(()=>t(93594)))},28805,e=>{e.v(t=>Promise.all(["static/chunks/0z7mjxpxxa6c~.js"].map(t=>e.l(t))).then(()=>t(79466)))}]);
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.