1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[182],{1614:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var l=n(5893),i=n(1664),s=n.n(i),r=n(7294),a=n(990),o=n(3854);function c(e){var t,n,i=e.data,c=e.sideVersion,d=void 0===c||c,u=e.lightColourTheme,m=void 0===u||u,x=e.ctaButton,p=void 0===x||x,f=e.widthFull,h=void 0!==f&&f;((null===(t=i.blogMiniBanner)||void 0===t?void 0:t.showBubbles)||i.showBubbles||!1)&&(0,r.useEffect)((function(){var e=a.p8.timeline({repeat:-1}),t=2.5,n="Sine.easeInOut";return d?e.to(".bubbles .bubble1",{x:"random(-150, -80, 5)",y:"random(-150, -80, 3)",duration:t,ease:n,repeat:-1,repeatRefresh:!0},0).to(".bubbles .bubble2",{x:"random(110, 130, 5)",y:"random(10, 30, 3)",ease:n,duration:t,repeat:-1,repeatRefresh:!0},0):e.to(".bubbles .bubble3",{x:"random(-200, -150, 5)",y:"random(-200, -200, 3)",ease:n,duration:t,repeat:-1,repeatRefresh:!0},0).to(".bubbles .bubble4",{x:"random(50, 80, 5)",y:"random(-50, -20, 3)",ease:n,duration:t,repeat:-1,repeatRefresh:!0},0),e.play(),function(){e.kill()}}),[]);var v=null===(n=i.blogMiniBanner)||void 0===n?void 0:n.logos.length;return d?(0,l.jsxs)("div",{className:"relative flex w-full flex-col justify-center overflow-hidden rounded-lg p-6 lg:min-h-[280px] h-full ".concat(h?"max-w-full":"lg:max-w-[300px]"," ").concat(m?"bg-grey-100":"bg-darkblue"," lg:px-3 lg:py-7"),children:[i.blogMiniBanner.showBubbles&&(0,l.jsxs)("div",{className:"bubbles absolute top-0 left-0 z-0 h-full w-full",children:[(0,l.jsx)("img",{className:"bubble1 absolute scale-110 opacity-50 lg:opacity-100",src:"/images/bubbles/pink-bubble.png",alt:"bubble"}),(0,l.jsx)("img",{className:"bubble2 absolute scale-50 opacity-30 lg:opacity-70",src:"/images/bubbles/blue-bubble.png",alt:"bubble"})]}),(0,l.jsxs)("div",{className:"relative z-10 flex flex-col xs:flex-row items-center lg:flex-col",children:[i.showFeatureImg&&(0,l.jsx)("div",{className:"hidden px-3 pb-6 lg:flex",children:(0,l.jsx)("img",{src:i.featuredImage.slug.url,className:"h-auto w-full rounded object-cover drop-shadow-img ",alt:i.featuredImage.alt,width:"240",height:"160"})}),(0,l.jsxs)("div",{className:"grow-1 flex w-full flex-col xs:pr-4 items-center xs:items-start lg:items-center lg:pr-0",children:[i.blogMiniBanner.showLogos&&i.blogMiniBanner.logos&&(0,l.jsx)("div",{className:"flex flex-row items-center justify-center xs:justify-start pb-4 lg:justify-between lg:px-3 ml-1 xs:ml-0 ".concat(v<3?"w-fit":"w-full max-w-[250px] "),children:i.blogMiniBanner.logos.map((function(e,t){return t<3&&(0,l.jsxs)(l.Fragment,{children:[0!==t&&(0,l.jsx)(o.r7I,{className:"mr-1 xs:mr-3 text-magenta ".concat(v<3?"lg:mx-3":"lg:mr-0")},t),(0,l.jsx)("div",{className:"mr-1 xs:mr-3 rounded-[2px] bg-white p-1 lg:mr-0",children:(0,l.jsx)("img",{src:e.icon.slug,className:"object-fit h-7 w-7 drop-shadow-img lg:h-9 lg:w-9",alt:e.name,width:"36",height:"36"})},t)]})}))}),(0,l.jsx)("h6",{className:"".concat(m?"text-darkblue":"text-white"," w-full max-w-[300px] text-lg font-bold pb-3 xs:pb-0 lg:pb-4 text-center xs:text-left lg:text-center"),children:i.blogMiniBanner.title})]}),i.blogMiniBanner.buttonUrl&&i.blogMiniBanner.buttonTitle&&(0,l.jsx)(s(),{href:i.blogMiniBanner.buttonUrl,passHref:!0,children:(0,l.jsx)("a",{className:"".concat(p?"btn btn-yellow ":m?"text-magenta":"text-yellow"," px-0 w-fit flex-none grow-0 lg:flex"),children:(0,l.jsx)("span",{children:i.blogMiniBanner.buttonTitle})})})]})]}):(0,l.jsxs)("div",{className:"blog-mini-banner relative mb-8 flex min-h-[140px] w-full justify-center overflow-hidden rounded-lg ".concat(m?"bg-grey-100":"bg-darkblue"," p-6"),children:[i.showBubbles?(0,l.jsxs)("div",{className:"bubbles absolute top-0 left-0 z-0 h-full w-full",children:[(0,l.jsx)("img",{className:"bubble3 absolute scale-110 opacity-50 md:opacity-70",src:"/images/bubbles/pink-bubble.png",alt:"bubble"}),(0,l.jsx)("img",{className:"bubble4 absolute scale-50 opacity-30 md:opacity-100",src:"/images/bubbles/blue-bubble.png",alt:"bubble"})]}):"",(0,l.jsxs)("div",{className:"banner-content relative z-10 flex w-full flex-col items-start justify-between sm:flex-row sm:items-center",children:[(0,l.jsxs)("div",{className:"grow-1 max-w-full pb-4 sm:mr-4 sm:pb-0",children:[i.showLogos&&i.logos?(0,l.jsx)("div",{className:"flex flex-row items-center pb-2",children:i.logos.map((function(e,t){return t<3&&(0,l.jsxs)(l.Fragment,{children:[0!==t&&(0,l.jsx)(o.r7I,{className:"mr-3 text-magenta"},t),(0,l.jsx)("div",{className:"mr-3 rounded-[2px] bg-white p-1",children:(0,l.jsx)("img",{src:e.icon.slug,className:"object-fit h-7 w-7 drop-shadow-img",alt:e.name,width:"28",height:"28"})},t)]})}))}):"",(0,l.jsx)("h5",{className:"".concat(m?"text-darkblue":"text-white"," text-lg font-bold"),children:i.title})]}),i.buttonUrl&&i.buttonTitle&&(0,l.jsx)(s(),{href:i.buttonUrl,passHref:!0,children:(0,l.jsx)("a",{className:"".concat(p?"btn btn-yellow":m?"text-magenta":"text-yellow"," btn-small h-fit min-w-fit flex-none grow-0"),children:(0,l.jsx)("span",{children:i.buttonTitle})})})]})]})}},4109:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var l=n(6042),i=n(5893),s=n(1548),r=n(8107),a=n(5675),o=n.n(a),c=n(7294);function d(e){var t=e.data,n=e.classes,a=void 0===n?"":n,d=e.alt,u=(e.debug,e.fill),m=void 0!==u&&u,x=(0,c.useState)((0,r.iQ)(t)),p=x[0],f=x[1],h=(0,c.useState)(0),v=h[0],g=h[1],b=null!==d&&void 0!==d?d:"";return(0,c.useEffect)((function(){f((0,r.iQ)(t))}),[t]),(0,c.useEffect)((function(){p.url&&g((0,s.pz)(p.url()))}),[p]),p&&(m||v)?(0,i.jsx)(o(),(0,l.Z)({src:p.url(),className:a,alt:b},m?{layout:"fill"}:{width:v.width,height:v.height})):(0,i.jsx)(i.Fragment,{})}},4539:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var l=n(5893),i=n(1664),s=n.n(i),r=n(3085),a=n(3967),o=n.n(a);function c(e){var t=e.children,n=e.link,i=e.classes,a=void 0===i?"":i,c=e.styledBtn,d=void 0!==c&&c,u=e.hideTitle,m=void 0!==u&&u,x=e.arrow,p=void 0!==x&&x,f=e.cir
1cleArrow,h=void 0!==f&&f,v=e.transStyle,g=e.debug,b=void 0!==g&&g;if(!n)return(0,l.jsx)("span",{className:a,children:t});var j=(0,r.Z)(n,b);b&&console.log("debug sanitylink",j,n);var y=o()({btn:d,"flex items-center":p}),k=o()({"!text-white":v});return b&&console.log("sanitylink children",t),(0,l.jsx)(l.Fragment,{children:j.external?(0,l.jsxs)("a",{href:j.href,target:"_blank",rel:"noreferrer",className:"".concat(a," ").concat(y," ").concat(k),children:[n.title&&!m&&(0,l.jsx)("span",{children:n.title}),t]}):(0,l.jsx)(s(),{href:j.href,passHref:!0,children:(0,l.jsxs)("a",{className:"".concat(a," ").concat(y," ").concat(k),children:[n.title&&!m&&(0,l.jsx)("span",{children:n.title}),t,h&&(0,l.jsxs)("svg",{className:"ml-2 mb-0.5",width:"14",height:"14",viewBox:"0 0 16 16",fill:"none",children:[(0,l.jsx)("path",{d:"M10.8069 7.71418L6.46774 5.06705C6.22966 4.92144 6.03169 5.02125 6.00388 5.28651C6.00194 5.30769 6 5.32957 6 5.35283V10.6478C6 10.9616 6.21026 11.0901 6.46776 10.9328L10.7241 8.33562L10.8069 8.28504C11.0644 8.12848 11.0644 7.87141 10.8069 7.71418L10.8069 7.71418Z",fill:"#FF4942"}),(0,l.jsx)("rect",{x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5",stroke:"#FF4942"})]}),p&&(0,l.jsx)(l.Fragment,{children:"\ud83d\udc49"})]})})})}},8182:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var l=n(5893),i=n(1664),s=n.n(i),r=n(4539),a=n(7294);function o(e){var t=e.open;return(0,l.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 16 16",fill:"none",className:"transition-transform duration-200 shrink-0 ".concat(t?"rotate-180":""),children:[(0,l.jsx)("title",{children:"Chevron Down"}),(0,l.jsx)("path",{d:"M3 6l5 5 5-5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}var c=function(e){var t=e.navigation.footer.links,n=(0,a.useState)(null),i=n[0],s=n[1];return(0,l.jsxs)("div",{className:"font-heading text-white lg:pt-5 mb-10 lg:mb-0",children:[(0,l.jsx)("div",{className:"lg:hidden flex flex-col gap-1.5 mb-16 md:mb-8",children:null===t||void 0===t?void 0:t.map((function(e,t){var n;return(0,l.jsxs)("div",{className:"bg-white/10 ",children:[(0,l.jsxs)("button",{onClick:function(){return function(e){return s((function(t){return t===e?null:e}))}(t)},type:"button",className:"flex w-full items-center justify-between px-4 py-4.5 text-left font-medium text-base",children:[e.title,(0,l.jsx)(o,{open:i===t})]}),i===t&&(0,l.jsx)("ul",{className:"",children:null===(n=e.links)||void 0===n?void 0:n.map((function(e){return(0,l.jsx)("li",{className:"hover:text-orange transition-colors mx-4 py-3.5 border-t md:border-none border-darkblue ",children:(0,l.jsx)(r.Z,{link:e,classes:"font-light text-sm md:text-base"})},e._key)}))})]},e._key)}))}),(0,l.jsx)("div",{className:"hidden lg:flex flex-wrap justify-center gap-x-8 gap-y-10",children:null===t||void 0===t?void 0:t.map((function(e){var t;return(0,l.jsxs)("div",{className:"w-1/6",children:[e.title&&(0,l.jsx)("span",{className:"block font-medium text-xs mb-5 md:text-sm",children:e.title}),(0,l.jsx)("ul",{children:null===(t=e.links)||void 0===t?void 0:t.map((function(e){return(0,l.jsx)("li",{className:"hover:translate-x-1 hover:text-orange transition-all mb-2",children:(0,l.jsx)(r.Z,{link:e,classes:"font-light text-sm"})},e._key)}))})]},e._key)}))})]})},d=n(8107);var u=function(e){var t=e.socialLinks;return(0,l.jsx)("ul",{className:"flex items-center justify-between md:justify-start mt-4 mb-6 md:mb-0",children:t.map((function(e){var t;return(0,l.jsx)("li",{className:"mx-5",children:(0,l.jsx)("a",{href:e.link,target:"_blank",rel:"noreferrer",className:"block hover:-translate-y-0.5 transition-transform",children:(0,l.jsx)("img",{src:(0,d.iQ)(null===(t=e.icon)||void 0===t?void 0:t.asset),alt:e.name,width:"24px",height:"24px"})})},e._key)}))})},m=n(4109);var x=function(e){var t=e.logos;return(0,l.jsx)("ul",{className:"flex items-center justify-between w-full lg:justify-end",children:t.map((function(e){return(0,l.jsx)("li",{className:"mx-2",children:(0,l.jsx)(r.Z,{link:e.link,children:(0,l.jsx)(m.Z,{data:e.image.asset,alt:e.image.alt})})},e._key)}))})};function p(e){var t=e.data,n=t.title.slice(0,t.title.length-t.highlightWord.length);return(0,l.jsx)("div",{className:"relative overflow-hidden pt-10 pb-0 lg:px-20 flex justify-center text-center lg:py-40 mb-10 md:mb-20",children:(0,l.jsxs)("div",{className:"relative z-20 text-white md:max-w-5xl mx-auto",children:[t.title&&(0,l.jsxs)("h2",{className:"mb-4 lg:mb-6 text-[38px] lg:text-[64px] leading-[1.15] lg:leading-[4rem]",children:[n,(0,l.jsx)("span",{className:"gradient-text",children:t.highlightWord})]}),t.description&&(0,l.jsx)("p",{className:"text-base md:text-lg mb-10 text-white leading-relaxed",children:t.description}),t.button&&(0,l.jsxs)("div",{className:"flex flex-row justify-center gap-4",children:[(0,l.jsx)(r.Z,{link:t.button,classes:"btn flex-1 max-w-[155px] px-2 md:px-4 py-3 bg-magenta text-white font-medium text-md transition-opacity hover:opacity-90"}),t.button2&&(0,l.jsx)(r.Z,{link:t.button2,classes:"flex-1 max-w-[155px] px-2 md:px-4 py-3 transition hover:-translate-y-0.5 rounded-md border border-white text-white font-medium text-md transition-opacity hover:opacity-70"})]})]})})}var f=n(990);function h(e){var t=e.logo,n=(0,a.useRef)(null),i=(0,a.useRef)(null);return(0,a.useEffect)((function(){var e=function(){l.width=window.innerWidth,l.height=window.innerHeight},t=function(){var e=l.width,t=l.height,n=f.p8.ticker.time;if(s.clearRect(0,0,e,t),i.current){r||(r=document.querySelector("footer"));var a=r?r.getBoundingClientRect().top:t+1;if(!(a>=t)){var o=i.current.getBoundingClientRect(),c=o.left+o.width/2-170,d=o.top+o.height/2,u=108*Math.PI/180,m=Math.sin(u),x=-Math.cos(u),p=(e*Math.abs(m)+t*Math.abs(x))/2,h=s.createLinearGradient(e/2-m*p,t/2-x*p,e/2+m*p,t/2+x*p);h.addColorStop(.0083,"#1C1D43"),h.addColorStop(.4838,"#252655"),h.addColorStop(.8729,"#151636"),s.fillStyle=h,s.fillRect(0,0,e,t);for(var v=8*Math.max(e,t),g=0;g<240;g++){var b=(n+1*g)%240/240,j=10+b*(v-10),y=b<.08?b/.08*.3:.3*(1-(b-.08)/.92);y<=0||(s.beginPath(),s.arc(c,d,j,0,2*Math.PI),s.strokeStyle="rgba(255,255,255,".concat(y,")"),s.lineWidth=.35,s.stroke())}var k=a+200,N=s.createLinearGradient(0,k-300,0,k);N.addColorStop(0,"rgba(0,0,0,0)"),N.addColorStop(1,"rgba(0,0,0,1)"),s.globalCompositeOperation="destination-in",s.fillStyle=N,s.fillRect(0,0,e,t),s.globalCompositeOperation="source-over"}}},l=n.current;if(l){var s=l.getContext("2d");e(),window.addEventListener("resize",e);var r=null;return window.innerWidth<1024||f.p8.ticker.add(t),function(){f.p8.ticker.remove(t),window.removeEventListener("resize",e)}}}),[]),(0,l.jsxs)("div",{ref:i,className:"relative w-[260px] lg:w-[400px] max-w-full",children:[(0,l.jsx)("canvas",{ref:n,className:"pointer-events-none",style:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",zIndex:-1}}),(0,l.jsx)(s(),{href:"/",children:(0,l.jsxs)("a",{className:"relative block",style:{zIndex:10},children:[t&&(0,l.jsx)("img",{src:(0,d.iQ)(t).url(),alt:"",className:"w-full h-auto block"}),(0,l.jsx)("span",{className:"sr-only",children:"Home"})]})})]})}var v=function(e){var t,n,i=e.pageSettings,s=e.navigation,a=e.settings,o=s.footer.copyrightLinks,d=(new Date).getFullYear();return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("footer",{className:"relative overflow-visible pt-10 pb-8 px-6 lg:px-20 lg:pt-20 lg:pb-12",children:[(null===(t=s.footer)||void 0===t?void 0:t.footerCta)&&!(null===i||void 0===i||null===(n=i.hideSections)||void 0===n?void 0:n.footerCta)&&(0,l.jsx)(p,{data:s.footer.footerCta}),(0,l.jsxs)("div",{className:"relative z-10",children:[(0,l.jsx)(c,{navigation:s}),(0,l.jsxs)("div",{className:"lg:hidden mt-1 mb-6 flex flex-col gap-6",children:[a.socialLinks&&(0,l.jsx)(u,{socialLinks:a.socialLinks}),(0,l.jsx)(h,{logo:a.lightLogo}),s.footer.footerLogos&&(0,l.jsx)(x,{logos:s.footer.footerLogos}),(0,l.jsx)("p",{className:"text-white text-xs",children:"I.F. Technology Limited Trading as Integrated Finance is a UK registered business."}),(0,l.jsx)("ul",{className:"text-white text-xs flex gap-x-8",children:o&&o.map((function(e){return(0,l.jsx)("li",{className:"hover:text-orange transition-colors",children:(0,l.jsx)(r.Z,{link:e})},e._key)}
1))}),(0,l.jsxs)("span",{className:"text-white text-xs",children:["\xa9 Copyright ",d," ",s.footer.copyrightText]})]}),(0,l.jsxs)("div",{className:"hidden lg:flex mt-24 mb-6 flex-row justify-between items-stretch gap-12",children:[(0,l.jsxs)("div",{className:"flex flex-col justify-between gap-6",children:[(0,l.jsx)(h,{logo:a.lightLogo}),(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)("p",{className:"text-white text-xs",children:"I.F. Technology Limited Trading as Integrated Finance is a UK registered business."}),(0,l.jsxs)("div",{className:"text-white text-xs flex flex-row items-center gap-8",children:[(0,l.jsxs)("span",{children:["\xa9 Copyright ",d," ",s.footer.copyrightText]}),(0,l.jsx)("ul",{className:"flex gap-x-8",children:o&&o.map((function(e){return(0,l.jsx)("li",{className:"hover:text-orange transition-colors",children:(0,l.jsx)(r.Z,{link:e})},e._key)}))})]})]})]}),(0,l.jsxs)("div",{className:"flex flex-col items-end justify-end gap-0 mb-0",children:[s.footer.footerLogos&&(0,l.jsx)(x,{logos:s.footer.footerLogos}),a.socialLinks&&(0,l.jsx)(u,{socialLinks:a.socialLinks})]})]})]})]})})},g=n(2670),b=n(3609),j=n(6042),y=n(9396),k=function(e){return e&&Array.isArray(e)?e.map((function(e){var n;return null!==(t=null===(n=e.children)||void 0===n?void 0:n.map((function(e){return e.text})).join(""))&&void 0!==t?t:""})).join(" "):"";var t},N=function(e){var t,n,i=e.section,o=e.id,c=e.dropdownActive,d=(0,a.useRef)(null),u=(0,a.useContext)(b._)[0].mobileActiveSubDropdown===o&&c,x=i.columns||[];return(0,l.jsxs)("nav",{ref:d,className:"mobile-nav-dropdown h-0 overflow-hidden transition-all duration-500 ease-in-out flex flex-col",style:{height:u&&d.current?"".concat(d.current.scrollHeight,"px"):"0"},children:[i.pageblock&&(0,l.jsxs)("div",{className:"pt-4 mb-4 border-t border-gray-100",children:[(null===(t=i.pageblock.image)||void 0===t?void 0:t.asset)&&(0,l.jsx)("div",{className:"mb-4 overflow-hidden rounded-xl bg-black max-h-[150px]",children:(0,l.jsx)(m.Z,{data:i.pageblock.image.asset,alt:i.pageblock.title||"",classes:"w-full object-cover opacity-90"})}),i.pageblock.title&&(0,l.jsx)("h3",{className:"font-medium text-sm mb-2",children:i.pageblock.title}),i.pageblock.copy&&(0,l.jsx)("p",{className:"text-xs text-grey-350 mb-3 leading-relaxed",children:i.pageblock.copy}),i.pageblock.link&&(0,l.jsx)(r.Z,{link:i.pageblock.link,classes:"text-xs font-[500] underline underline-offset-2"})]}),x.map((function(e,t){var n;return(0,l.jsxs)("ul",{className:"mb-6 last-of-type:mb-0 ".concat(0!==t||i.featured?"":"pt-8"),children:[e.label&&(0,l.jsxs)(l.Fragment,{children:[e.label.toLowerCase().includes("use case")&&(0,l.jsx)("hr",{className:"border-[#363635]/10 mb-10"}),(0,l.jsx)("header",{className:"mb-4 font-body text-xs uppercase tracking-widest text-primary",children:(0,l.jsx)("p",{children:e.label})})]}),null===(n=e.links)||void 0===n?void 0:n.map((function(e){return(0,l.jsx)("li",{className:"mb-4 flex flex-row text-sm items-start ".concat(e.icon?"flex gap-x-2":""),children:(0,l.jsx)(r.Z,{link:e,classes:"font-heading font-medium",children:e.description&&(0,l.jsx)("p",{className:"mt-1 text-[#868686] font-light",children:e.description})})},e._key)}))]},e._key)})),"solutions"===o&&(0,l.jsx)("div",{className:"mb-6 mt-2",children:(0,l.jsx)(s(),{href:"/use-cases",passHref:!0,children:(0,l.jsx)("a",{className:"font-heading font-[400] underline text-sm text-black",children:"View all use cases"})})}),i.partnersBlock&&(0,l.jsxs)("div",{className:"py-4 mb-6 mt-4",children:[(0,l.jsx)("p",{className:"font-body text-xs uppercase tracking-widest text-primary mb-4 mt-1",children:"Partners Directory"}),(0,l.jsx)("ul",{className:"mb-4",children:null===(n=i.partnersBlock.partners)||void 0===n?void 0:n.map((function(e){var t;return(0,l.jsxs)("li",{className:"flex items-center gap-4 mb-4 last:mb-0",children:[(null===(t=e.image)||void 0===t?void 0:t.asset)&&(0,l.jsx)("div",{className:"w-8 h-8 flex-shrink-0 overflow-hidden rounded-lg flex items-center justify-center",children:(0,l.jsx)(m.Z,{data:e.image.asset,alt:e.name,classes:"w-full h-full object-contain"})}),(0,l.jsx)("span",{className:"font-heading font-medium text-md",children:e.name})]},e._id)}))}),i.partnersBlock.link&&(0,l.jsxs)(r.Z,{link:i.partnersBlock.link,classes:"block text-xs opacity-70",hideTitle:!0,children:[(0,l.jsx)("span",{className:"underline underline-offset-2",children:i.partnersBlock.link.title||"View all ".concat(i.partnersBlock.partnersCount," partners")}),i.partnersBlock.link.description&&(0,l.jsx)("span",{className:"block mt-1 no-underline text-[#868686] font-light",children:i.partnersBlock.link.description})]})]}),i.items&&(0,l.jsx)("div",{className:"pt-6 mb-6 flex flex-col gap-3",children:i.items.map((function(e){var t;return(0,l.jsxs)(r.Z,{link:e.link,hideTitle:!0,classes:"flex flex-col rounded-xl bg-gray-100 active:bg-[#DCDCE1] p-5",children:[e.title&&(0,l.jsx)("h3",{className:"font-heading font-[500] text-darkblue text-sm mb-1",children:e.title}),e.copy&&(0,l.jsx)("p",{className:"text-sm text-gray-500 mb-3 font-normal",children:k(e.copy)}
1),(null===(t=e.link)||void 0===t?void 0:t.title)&&(0,l.jsx)("span",{className:"text-xs font-normal underline underline-offset-2 text-darkblue",children:e.link.title})]},e._key)}))}),i.companyItems&&(0,l.jsx)("div",{className:"pt-6 mb-6 flex flex-col gap-3",children:i.companyItems.map((function(e,t){var n;return(0,l.jsxs)(r.Z,{link:e.link,hideTitle:!0,classes:"flex flex-col rounded-xl bg-gray-100 active:bg-[#DCDCE1] p-5",children:[e.title&&(0,l.jsx)("h3",{className:"font-heading font-[500] text-darkblue text-sm mb-1",children:e.title}),e.copy&&(0,l.jsx)("p",{className:"text-sm text-gray-500 mb-3 font-normal",children:k(e.copy)}),(null===(n=e.link)||void 0===n?void 0:n.title)&&(0,l.jsx)("span",{className:"text-xs font-normal underline underline-offset-2 text-darkblue",children:e.link.title})]},e._key||t)}))}),(i.resourcesItems||i.resourceType)&&(0,l.jsx)("div",{className:"pt-6 mb-6",children:i.resourcesItems&&(0,l.jsx)("div",{className:"flex flex-col gap-3 mb-6",children:i.resourcesItems.map((function(e,t){var n;return(0,l.jsxs)(r.Z,{link:e.link,hideTitle:!0,classes:"flex flex-col rounded-xl bg-gray-100 active:bg-[#DCDCE1] p-5",children:[e.title&&(0,l.jsx)("h3",{className:"font-heading font-[500] text-darkblue text-sm mb-1",children:e.title}),e.copy&&(0,l.jsx)("p",{className:"text-sm text-gray-500 mb-3 font-normal",children:k(e.copy)}),(null===(n=e.link)||void 0===n?void 0:n.title)&&(0,l.jsx)("span",{className:"text-xs font-normal underline underline-offset-2 text-darkblue",children:e.link.title})]},e._key||t)}))})})]})},w=function(e){var t=e.sectionKey,n=e.label,i=e.section,s=(0,a.useContext)(b._),r=s[0],o=s[1],c=(0,a.useRef)(null),d=r.mobileActiveSubDropdown===t;return(0,l.jsxs)("li",{ref:c,className:"border-b border-b-gray-200",children:[(0,l.jsxs)("button",{className:"w-full text-lg font-medium flex items-center py-4",onClick:function(){var e=!d;o({type:"SET_MOBILE_ACTIVE_SUBDROPDOWN",payload:d?null:t}),e&&c.current&&setTimeout((function(){var e,t=null===(e=c.current)||void 0===e?void 0:e.closest(".mobile-nav-list");t&&t.scrollTo({top:c.current.offsetTop-170,behavior:"smooth"})}),520)},children:[n,(0,l.jsx)("span",{className:"icon-chevron ml-auto transition-transform duration-500 ease-in-out ".concat(d?"rotate-[-45deg]":"rotate-[135deg]")})]}),(0,l.jsx)(N,{section:i,id:t,dropdownActive:d})]})},_=[{key:"product",label:"Product"},{key:"solutions",label:"Solutions"},{key:"developers",label:"Developers"},{key:"company",label:"Company"},{key:"resources",label:"Resources"}];var T=function(e){var t,n,i=e.nav,s=(0,a.useContext)(b._)[0];return(0,l.jsxs)("nav",{className:"mobile-nav mobile-nav-list z-40 fixed top-0 left-0 right-0 h-[100dvh] w-full overflow-y-auto bg-white pt-24 px-6 transition-all duration-500 ease-in-out lg:hidden lg:invisible opacity-0 ".concat(s.mobileDropdownOpen?"translate-y-0 !opacity-100":"-translate-y-full invisible"),children:[(0,l.jsx)("ul",{children:_.map((function(e){var t=function(e,t){return"product"===t?e.product?(0,y.Z)((0,j.Z)({},e.product),{pageblock:e.productPageblock,partnersBlock:e.productPartnersBlock}):null:"developers"===t?(null===(n=e.developerItems)||void 0===n?void 0:n.length)?{items:e.developerItems}:null:"company"===t?(null===(l=e.companyItems)||void 0===l?void 0:l.length)?{companyItems:e.companyItems}:null:"resources"===t?(null===(i=e.resourcesItems)||void 0===i?void 0:i.length)||(null===(s=e.resourceType)||void 0===s?void 0:s.length)?{resourcesItems:e.resourcesItems,resourceType:e.resourceType}:null:e[t]||null;var n,l,i,s}(i,e.key);return t?(0,l.jsx)(w,{sectionKey:e.key,label:e.label,section:t},e.key):null}))}),(0,l.jsxs)("div",{className:"pb-10 pt-6 flex flex-col gap-4",children:[(null===(t=i.secondary)||void 0===t?void 0:t.title)&&(0,l.jsx)(r.Z,{link:i.secondary,classes:"flex border px-4 py-3 rounded justify-center border-magenta text-magenta"}),(null===(n=i.booking)||void 0===n?void 0:n.title)&&(0,l.jsx)(r.Z,{link:i.booking,styledBtn:!0,classes:"w-full block"})]})]})},I=(n(2728),n(3071)),Z=n.n(I),E=n(663),L=n.n(E),C=n(3967),D=n.n(C),S=[{key:"product",label:"Product"},{key:"solutions",label:"Solutions"},{key:"developers",label:"Developers"},{key:"company",label:"Company"},{key:"resources",label:"Resources"}];var O=function(e){var t,n,i=e.nav,s=(e.invert,e.closeDropdown),o=(0,a.useContext)(b._),c=o[0],d=o[1];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("ul",{className:"primary-navigation-list",children:S.map((function(e){var t,n,s,r,a="developers"===e.key?(null===(t=i.developerItems)||void 0===t?void 0:t.length)?{items:i.developerItems}:null:"company"===e.key?(null===(n=i.companyItems)||void 0===n?void 0:n.length)?{companyItems:i.companyItems}:null:"resources"===e.key?(null===(s=i.resourcesItems)||void 0===s?void 0:s.length)||(null===(r=i.resourceType)||void 0===r?void 0:r.length)?{resourcesItems:i.resourcesItems,resourceType:i.resourceType}:null:i[e.key];if(!a)return null;var o=c.primaryNavigationDropdownData&&c.primaryNavigationDropdownData._key===e.key?"is-active":"";return(0,l.jsx)("li",{children:(0,l.jsx)("button",{onMouseOver:function(t){return function(e,t,n,l){var s="product"===t?i.productPageblock:void 0,r="product"===t?i.productPartnersBlock:void 0,a="solutions"===t?i.solutionsArticle:void 0;d({type:"SET_PRIMARY_NAVIGATION_OPEN",payload:!0}),d({type:"SET_PRIMARY_NAVIGATION_DATA",payload:(0,y.Z)((0,j.Z)({},n),{_key:t,category:l,pageblock:s,partnersBlock:r,featuredArticle:a})})}(0,e.key,a,e.label)},className:"text-sm primary-navigation-link ".concat(o),children:e.label})},e.key)}))}),(0,l.jsx)("nav",{className:"primary-navigation",children:(0,l.jsxs)("ul",{onMouseEnter:function(){return s()},className:"primary-navigation-sublist text-sm",children:[(null===(t=i.secondary)||void 0===t?void 0:t.t
1itle)&&(0,l.jsxs)("li",{children:[(0,l.jsx)(r.Z,{link:i.secondary,classes:"flex border px-4 py-3 rounded"})," "]}),(null===(n=i.booking)||void 0===n?void 0:n.title)&&(0,l.jsx)("li",{children:(0,l.jsx)(r.Z,{link:i.booking,styledBtn:!0,classes:"block"})})]})})]})},M=n(1468);var A=function(e){var t,n,i,o,c,d,u,x=e.className,p=(0,a.useContext)(b._),h=p[0],v=p[1],j=(0,a.useRef)(null),y=(0,a.useRef)(null),k=h.primaryNavigationDropdownData,N=k.columns||[],w=k.featured,_=k.pageblock,T=k.partnersBlock,I=k.featuredArticle,Z="developers"===k._key&&(null===(t=k.items)||void 0===t?void 0:t.length)?k.items:null,E=(null===(n=k.companyItems)||void 0===n?void 0:n.length)?k.companyItems:null,C=(null===(i=k.resourcesItems)||void 0===i?void 0:i.length)?k.resourcesItems:null,S=(null===(o=k.resourceType)||void 0===o?void 0:o.length)?k.resourceType:null,O=D()(L().primaryNavigationDropdown,x),A=f.ZP.timeline();f.ZP.timeline(),(0,a.useEffect)((function(){A.to(j.current,{opacity:1,duration:.25})}),[h.primaryNavigationDropdownOpen,A]),(0,a.useEffect)((function(){f.ZP.fromTo(y.current,{opacity:0},{opacity:1,duration:.2,ease:"Power2.out"})}),[h.primaryNavigationDropdownData]);var B=N.length-1;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{ref:j,onMouseLeave:function(e){var t,n=e.toElement||e.relatedTarget,l=document.querySelector(".primaryHeader");!n||n==j.current||(0,g.Z)(n,Node)&&(null===(t=j.current)||void 0===t?void 0:t.contains(n))||(0,g.Z)(n,Node)&&(null===l||void 0===l?void 0:l.contains(n))||A.to(j.current,{opacity:0,duration:.2,onComplete:function(){v({type:"SET_PRIMARY_NAVIGATION_OPEN",payload:!1}),v({type:"SET_PRIMARY_NAVIGATION_DATA",payload:null})}})},className:"primary-dropdown mt-[-124px] invisible z-40 hidden w-full pt-4 opacity-0 lg:visible lg:block ".concat(O),children:(0,l.jsx)("div",{className:"px-[20px]",children:(0,l.jsx)("div",{className:"overflow-hidden rounded-[4px] bg-white shadow-lg pt-[84px]",children:(0,l.jsxs)("div",{ref:y,className:"w-full border-t border-[#363635]/20 ".concat(Z||E||C?"":_?"grid grid-cols-3":I?"grid grid-cols-[1fr_2fr_304px]":"flex justify-center"),children:[_&&(0,l.jsxs)("div",{className:"px-8 py-9",children:[(null===(c=_.image)||void 0===c?void 0:c.asset)&&(0,l.jsx)(r.Z,{link:_.link,hideTitle:!0,classes:"mb-6 overflow-hidden rounded-xl bg-black max-w-[350px] max-h-[150px] block",children:(0,l.jsx)(m.Z,{data:_.image.asset,alt:_.title||"",classes:"w-full object-cover opacity-90"})}),_.title&&(0,l.jsx)(r.Z,{link:_.link,hideTitle:!0,classes:"block",children:(0,l.jsx)("h3",{className:"font-medium text-base mb-4",children:_.title})}),_.copy&&(0,l.jsx)(r.Z,{link:_.link,hideTitle:!0,classes:"block",children:(0,l.jsx)("p",{className:"text-xs text-grey-350 mb-4 leading-relaxed xl:w-2/3",children:_.copy})}),_.link&&(0,l.jsx)(r.Z,{link:_.link,classes:"text-xs font-normal opacity-70 underline underline-offset-2 mb-7 flex"})]}),w&&(0,l.jsxs)("div",{className:"p-10",children:[(0,l.jsx)(r.Z,{link:w,classes:"font-heading font-medium block mb-2"}),w.description&&(0,l.jsx)("p",{className:"mb-4 text-xs text-grey-350",children:w.description})]}),N.map((function(e,t){var n,i;return(0,l.jsxs)("nav",{className:"pt-5 pb-10 px-10 ".concat(_||I?"":"flex-1"," ").concat(t===B&&N.length>1&&!I?"bg-gray-50":""," ").concat(0===t&&I?"border-r border-[#36363514]":""),children:[e.label&&(0,l.jsx)("h3",{className:"font-body text-xs text-primary uppercase mb-3 mt-1 tracking-widest leading-6",children:e.label}),(0,l.jsxs)("ul",{className:t===B&&N.length>1?"grid grid-cols-2 gap-x-6":"",children:[null===(n=e.links)||void 0===n?void 0:n.map((function(e){return(0,l.jsx)("li",{className:"mb-4 last:mb-0 duration-300 ease-in-out transition-transform hover:translate-x-1",children:(0,l.jsx)(r.Z,{link:e,classes:"font-heading font-medium text-base",children:e.description&&(0,l.jsx)("p",{className:"mt-0.5 text-xs font-normal opacity-80",children:e.description})})},e._key)})),(null===(i=e.label)||void 0===i?void 0:i.toLowerCase().includes("use case"))&&(0,l.jsx)("li",{className:"mt-1 pt-4 border-t border-[#363635]/20 duration-300 ease-in-out transition-transform hover:translate-x-1",children:(0,l.jsx)(s(),{href:"/use-cases",passHref:!0,children:(0,l.jsx)("a",{className:"font-heading font-medium text-base text-primary",children:"View all use cases"})})})]})]},e._key)}
1)),I&&(0,l.jsxs)("a",{href:"/insights/".concat(I.categorySlug,"/").concat(I.slug),className:"relative overflow-hidden bg-black flex flex-col justify-end m-8 rounded-xl min-h-0 group",children:[(null===(d=I.featuredImage)||void 0===d?void 0:d.asset)&&(0,l.jsx)("div",{className:"absolute inset-0",children:(0,l.jsx)(m.Z,{data:I.featuredImage.asset,alt:I.title,fill:!0,classes:"object-cover opacity-70"})}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent"}),(0,l.jsx)("div",{className:"absolute top-4 left-4",children:(0,l.jsx)("span",{className:"text-white text-[11px] font-medium uppercase tracking-widest border border-white rounded-full px-3 py-2",children:"Blog"})}),(0,l.jsxs)("div",{className:"relative p-5",children:[(0,l.jsx)("p",{className:"text-white font-heading font-medium text-md leading-snug mb-3",children:I.title}),(0,l.jsx)("span",{className:"text-white/60 text-xs underline underline-offset-2 group-hover:text-white transition-colors",children:"Read more"})]})]}),Z&&(0,l.jsx)("div",{className:"grid grid-cols-4 gap-4 px-6 pt-[40px] pb-[60px] w-full max-w-[1330px] mx-auto",children:Z.map((function(e){var t;return(0,l.jsxs)(r.Z,{link:e.link,hideTitle:!0,classes:"group flex flex-col rounded-xl bg-[#E8E8EB] hover:bg-[#D1D1D8] p-6 transition-colors duration-300 ease-in-out",children:[e.title&&(0,l.jsx)("h3",{className:"font-heading font-medium text-darkblue text-[24px] leading-snug mb-3 pr-16",children:e.title}),e.copy&&(0,l.jsx)("div",{className:"text-sm leading-relaxed mb-12 flex-1 [&>p]:font-normal text-darkblue [&>p]:mb-0",children:(0,l.jsx)(M.Z,{content:e.copy})}),(null===(t=e.link)||void 0===t?void 0:t.title)&&(0,l.jsx)("span",{className:"text-xs font-normal underline-offset-2 text-darkblue mt-auto group-hover:underline",children:e.link.title})]},e._key)}))}),E&&(0,l.jsx)("div",{className:"grid grid-cols-3 gap-4 px-6 pt-[40px] pb-[60px] w-full max-w-[850px] mx-auto",children:E.map((function(e,t){var n,i;return(0,l.jsxs)(r.Z,{link:e.link,hideTitle:!0,classes:"group relative flex flex-col rounded-xl overflow-hidden cursor-pointer transition-colors duration-300 ease-in-out min-h-[310px]",children:[(null===(n=e.image)||void 0===n?void 0:n.asset)&&(0,l.jsxs)("div",{className:"absolute inset-0",children:[(0,l.jsx)(m.Z,{data:e.image.asset,alt:e.title||"",fill:!0,classes:"object-cover"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/50 group-hover:bg-darkblue/60 transition-colors duration-300"})]}),(0,l.jsxs)("div",{className:"relative flex flex-col flex-1 p-6 justify-end",children:[e.title&&(0,l.jsx)("h3",{className:"font-heading font-medium text-white text-[24px] leading-snug mb-3",children:e.title}),e.copy&&(0,l.jsx)("div",{className:"text-sm leading-relaxed mb-4 flex-1 [&>p]:font-normal text-white [&>p]:mb-0",children:(0,l.jsx)(M.Z,{content:e.copy})}),(null===(i=e.link)||void 0===i?void 0:i.title)&&(0,l.jsx)("span",{className:"text-xs font-normal underline-offset-2 text-white mt-auto group-hover:underline transition-colors",children:e.link.title})]})]},e._key||t)}))}),C&&(0,l.jsxs)("div",{className:"flex w-full max-w-[1330px] mx-auto",children:[(0,l.jsx)("div",{className:"grid grid-cols-4 gap-4 px-6 pt-[40px] pb-[60px] flex-1 pr-10",children:C.map((function(e,t){var n,i;return(0,l.jsxs)(r.Z,{link:e.link,hideTitle:!0,classes:"group relative flex flex-col rounded-xl cursor-pointer overflow-hidden transition-colors duration-300 ease-in-out min-h-[310px]",children:[(null===(n=e.image)||void 0===n?void 0:n.asset)&&(0,l.jsxs)("div",{className:"absolute inset-0",children:[(0,l.jsx)(m.Z,{data:e.image.asset,alt:e.title||"",fill:!0,classes:"object-cover"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/50 group-hover:bg-darkblue/60 transition-colors duration-300"})]}),(0,l.jsxs)("div",{className:"relative flex flex-col flex-1 p-6 justify-end",children:[e.title&&(0,l.jsx)("h3",{className:"font-heading font-medium text-white text-[24px] leading-snug mb-3",children:e.title}),e.copy&&(0,l.jsx)("div",{className:"text-sm leading-relaxed mb-4 flex-1 [&>p]:font-normal text-white [&>p]:mb-0",children:(0,l.jsx)(M.Z,{content:e.copy})}),(null===(i=e.link)||void 0===i?void 0:i.title)&&(0,l.jsx)("span",{className:"text-xs font-normal underline-offset-2 text-white mt-auto group-hover:underline transition-colors",children:e.link.title})]})]},e._key||t)}))}),S&&(0,l.jsxs)("div",{className:"relative bg-[#f0f2f8] px-8 py-9 flex flex-col min-w-[350px] after:content-[''] after:absolute after:top-0 after:bottom-0 after:left-full after:w-screen after:bg-[#f0f2f8]",children:[(0,l.jsx)("p",{className:"font-body text-xs uppercase tracking-widest text-primary mb-4 mt-1",children:"Resource Types"}),(0,l.jsx)("ul",{children:S.map((function(e,t){return(0,l.jsx)("li",{className:"mb-4 last:mb-0 duration-300 ease-in-out transition-transform hover:translate-x-1",children:(0,l.jsx)(r.Z,{link:e.link,classes:"font-heading font-medium text-base",hideTitle:!0,children:e.title})},e._key||t)}))})]})]}),T&&(0,l.jsxs)("div",{className:"bg-[#f0f2f8] px-8 py-9 flex flex-col",children:[(0,l.jsx)("p",{className:"font-body text-xs uppercase tracking-widest text-primary mb-6 mt-1",children:"Partners Directory"}),(0,l.jsx)("ul",{className:"mb-7",children:null===(u=T.partners)||void 0===u?void 0:u.map((function(e){var t;return(0,l.jsxs)("li",{className:"flex items-center gap-4 mb-4 last:mb-0",children:[(null===(t=e.image)||void 0===t?void 0:t.asset)&&(0,l.jsx)("div",{className:"w-8 h-8 flex-shrink-0 overflow-hidden rounded-lg flex items-center justify-center",children:(0,l.jsx)(m.Z,{data:e.image.asset,alt:e.name,classes:"w-full h-full object-contain"})}),(0,l.jsx)("span",{className:"font-heading font-medium text-md",children:e.name})]},e._id)}))}),T.link&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("hr",{className:"border-[#36363533] mt-0 mb-5"}),(0,l.jsxs)(r.Z,{link:T.link,classes:"block text-xs opacity-70",hideTitle:!0,children:[(0,l.jsx)("span",{className:"underline underline-offset-2",children:T.link.title||"View all ".concat(T.partnersCount," partners")}),T.link.description&&(0,l.jsx)("span",{className:"block mt-1 no-underline text-[#868686] font-light",children:T.link.description})]})]})]})]})})})})})},B=n(1163);var R=function(e){var t,n,i=e.navigation,o=e.preview,c=e.settings,d=e.pageOptions,u=i.header,x=(0,B.useRouter)(),p=(0,a.useContext)(b._),f=p[0],h=p[1],v=x.asPath,j=f.mobileDropdownOpen,y=(0,a.useRef)(null),k=(0,a.useState)(!1),N=k[0],w=k[1],_=(0,a.useState)(!0),I=_[0],E=_[1],C=(0,a.useState)(!0),S=C[0],M=C[1],R="darkblue"===(null===d||void 0===d?void 0:d.background)?c.lightLogo:c.darkLogo,P="darkblue"===(null===d||void 0===d?void 0:d.background),H=40;n=function(e){e&&!f.mobileDropdownOpen&&(e.pos>H&&!e.scrollType?(E(!1),M(!1)):e.pos<H&&(E(!1),M(!0)),e.scrollType&&E(!0))},(0,a.useEffect)((function(){window.onscroll=function(){n({scrollType:this.oldScroll>this.scrollY,pos:this.scrollY}),this.oldScroll=this.scrollY}}),[n]);var F=D()(L().primaryHeader,{"show-header":I&&!S,"hide-header":!I}),z=D()({pinned:!S}),V=D()(Z().hamburger,{"is-active":f.mobileDropdownOpen,"is-dark":!(I&&!S)&&P}),Y=function(e){if(e){var t=e.relatedTarget,n=document.querySelector(".primary-dropdown");
1if((0,g.Z)(t,Node)&&(null===n||void 0===n?void 0:n.contains(t)))return}f.primaryNavigationDropdownOpen&&(h({type:"SET_PRIMARY_NAVIGATION_OPEN",payload:!1}),h({type:"SET_PRIMARY_NAVIGATION_DATA",payload:null}))};return(0,a.useEffect)((function(){h({type:"SET_MOBILE_DROPDOWN_OPEN",payload:!1}),h({type:"SET_MOBILE_ACTIVE_SUBDROPDOWN",payload:!1}),h({type:"SET_PRIMARY_NAVIGATION_OPEN",payload:!1}),h({type:"SET_PRIMARY_NAVIGATION_DATA",payload:null}),document.documentElement.classList.remove("overflow-hidden")}),[v]),(0,a.useEffect)((function(){var e=R;f.mobileDropdownOpen||f.primaryNavigationDropdownOpen?w(c.darkLogo):w(I&&!S?c.darkLogo:e)}),[I,S,f.mobileDropdownOpen,f.primaryNavigationDropdownOpen,c.darkLogo]),(0,a.useEffect)((function(){j?document.documentElement.classList.add("overflow-hidden"):document.documentElement.classList.remove("overflow-hidden")}),[j]),(0,a.useEffect)((function(){f.primaryNavigationDropdownOpen?document.documentElement.classList.add("overflow-hidden"):document.documentElement.classList.remove("overflow-hidden")}),[f.primaryNavigationDropdownOpen]),(null===d||void 0===d?void 0:d.background)&&"grey"!==(null===d||void 0===d?void 0:d.background)||(d.background="white"),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("header",{ref:y,onMouseLeave:Y,className:"!bg-transparent theme-".concat(null===d||void 0===d?void 0:d.background," primaryHeader relative z-50 py-6 px-4 md:px-8 ").concat(!I||S||f.primaryNavigationDropdownOpen?"md:pt-8 md:pb-4":"md:pt-4 md:pb-4"," ").concat(F," ").concat(j?"!bg-white":""," ").concat(f.primaryNavigationDropdownOpen?"dropdown-active":""),children:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"relative z-10 flex items-center justify-center",onMouseEnter:function(){return Y()},children:(0,l.jsx)(s(),{href:"/",children:(0,l.jsxs)("a",{className:"inline-flex w-[222px]",children:[(0,l.jsx)(m.Z,{data:N,classes:"w-full"}),(0,l.jsx)("span",{className:"block h-0 w-0 overflow-hidden text-clip",children:"Home"})]})})}),!(null===d||void 0===d||null===(t=d.hideSections)||void 0===t?void 0:t.headerNav)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(O,{nav:u,closeDropdown:Y}),(0,l.jsxs)("div",{className:"book-demo ml-auto flex items-center lg:hidden",children:[i.header.booking&&i.header.booking.title&&(0,l.jsx)(r.Z,{link:i.header.booking,classes:"text-sm btn font-medium mr-6 hidden md:block"}),(0,l.jsx)("button",{onClick:function(){h({type:"SET_MOBILE_DROPDOWN_OPEN",payload:!j})},className:"hamburger hamburger--spring ".concat(V),type:"button",children:(0,l.jsx)("span",{className:"hamburger-box",children:(0,l.jsx)("span",{className:"hamburger-inner"})})})]})]})]})}),(0,l.jsx)(T,{nav:u}),f.primaryNavigationDropdownOpen&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"fixed inset-0 z-30 backdrop-blur-sm bg-black/30 transition-opacity cursor-pointer",onClick:function(){return Y()}}),(0,l.jsx)(A,{className:z})]}),o&&(0,l.jsx)("div",{className:"fixed bottom-0 z-[999] block w-full bg-orange py-2 text-center font-bold text-white",children:(0,l.jsx)(s(),{href:"/api/exit-preview",children:"Preview mode - click to exit"})})]})},P=n(979);function H(e){var t,n,i=e.children,s=e.navigation,r=e.settings,a=e.pageOptions,o=e.preview,c=e.slug;return(0,l.jsxs)(l.Fragment,{children:[!(null===a||void 0===a||null===(t=a.hideSections)||void 0===t?void 0:t.header)&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(R,{settings:r,pageOptions:a,navigation:s,slug:c,preview:o})}),(0,l.jsx)("div",{className:"overflow-hidden bg-theme-bg text-theme-body theme-".concat(null===a||void 0===a?void 0:a.background),children:(0,l.jsx)(P.E.main,{variants:{hidden:{opacity:0,x:0,y:-20},enter:{opacity:1,x:0,y:0},exit:{opacity:0,x:0,y:-20}},initial:"hidden",animate:"enter",exit:"exit",transition:{type:"easeInOut",duration:.3},children:i})}),!(null===a||void 0===a||null===(n=a.hideSections)||void 0===n?void 0:n.footer)&&(0,l.jsx)(v,{pageSettings:a,navigation:s,settings:r})]})}},1468:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var l=n(1438),i=n(2951),s=n(8029),r=n(6567),a=n(5893),o=n(7294),c=n(9260),d=n.n(c),u=n(1906),m=n(7808),x=n.n(m);var p=function(e){var t=e.data;return(0,a.jsx)("div",{className:"py-9 w-full",dangerouslySetInnerHTML:{__html:t.html}})};var f=n(6042),h=n(9396);n(9008),n(4298);function v(e){var t,n=e.value,l=(0,o.useRef)(null),i="hs-form-embed-".concat(n.key),s=function(){window.hbspt&&(null===l||void 0===l?void 0:l.current)?window.hbspt.forms.create((0,h.Z)((0,f.Z)({},t),{target:"#"+l.current.id})):setTimeout((function(){s()}),1e3)};return(0,o.useEffect)((function(){var e=document.createElement("script"),i="HubspotEmbedScripts",r=document.createElement("div"),a=!1;return document.getElementById(i)?a=!0:(e.id=i,e.src="https://js.hsforms.net/forms/v2.js",document.body.appendChild(e)),r.innerHTML=n.html,Array.from(r.children).forEac
1h((function(e){if("SCRIPT"===e.nodeName&&!e.getAttribute("src")){var n=e.innerHTML.match(/\{([^)]+)\}/g);n[0]&&(n[0]=n[0].replace("region:",'"region":'),n[0]=n[0].replace("portalId:",'"portalId":'),n[0]=n[0].replace("formId:",'"formId":')),t=JSON.parse(n[0])}})),t&&(a?s():e.addEventListener("load",s)),function(){(null===l||void 0===l?void 0:l.current)&&(l.current.innerHTML="")}}),[]),(0,a.jsx)("div",{children:(0,a.jsx)("div",{ref:l,id:i})})}var g=n(1548),b=n(4109),j=function(e,t){e.innerHTML.includes("hbspt")&&"undefined"===typeof hbspt||!t.current?setTimeout((function(){j(e,t)}),200):t.current.appendChild(e)};var y=n(155),k=n(1614),N=function(e){var t=e.value,n=(e.isInline,(0,g.pz)(t.asset)),l=n.width,i=n.height;return(0,a.jsx)("div",{className:"my-12 overflow-hidden rounded-2xl lg:my-24 lg:scale-110",children:(0,a.jsx)(b.Z,{data:t.asset,width:l,height:i,alt:t.alt,size:1600})})},w={types:{iframe:function(e){var t=e.value;return(0,a.jsx)(p,{data:t})},scriptEmbed:function(e){var t=e.value,n=(0,o.useState)([]),l=n[0],i=n[1],s=(0,o.useRef)(null);return(0,o.useEffect)((function(){var e=document.createElement("div");e.innerHTML=t.html;var n=Array.from(e.children),l=n.filter((function(e){return"SCRIPT"===e.nodeName})),r=n.filter((function(e){return"DIV"===e.nodeName}));r.length>0&&s.current.appendChild(r[0]),setTimeout((function(){i(l)}),100)}),[]),(0,o.useEffect)((function(){var e=[];if(l.length>0){var t=l.length;if(t)for(var n=0;n<t;n++){var i=document.createElement("script");i.async=!0,l[n].innerHTML?(i.innerHTML=l[n].innerHTML,i.defer=!0,j(i,s)):(i.src=l[n].src,document.body.appendChild(i),e.push(i))}}return function(){if(l.length>0)for(var t=0;t<e.length;t++){var n=e[t];document.body.removeChild(n)}}}),[l]),(0,a.jsx)("div",{ref:s})},image:N,mainImage:N,table:function(e){var t=e.value,n="";return t&&t.rows&&(n=t.rows.map((function(e){var t,n="<tr>";return(null===(t=e.cells)||void 0===t?void 0:t.length)>0&&(n+=e.cells.map((function(e){return"<td>".concat(e,"</td>")})).join("")),n+="</tr>"})).join("")),(0,a.jsx)("table",{dangerouslySetInnerHTML:{__html:n}})},html:function(e){var t=e.value;return t.html.indexOf("hbspt.forms.create")?(0,a.jsx)(v,{value:t}):(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t.html}})},animation:function(e){var t=e.value;if(null===t||void 0===t?void 0:t.json){var n,l,i=JSON.parse(t.json);return(0,a.jsx)(d(),{animationData:i,loop:null===(n=t.options)||void 0===n?void 0:n.loop,autoplay:null===(l=t.options)||void 0===l?void 0:l.autoplay})}return null},styledList:function(e){var t=e.value;return(0,a.jsx)("ul",{className:"!list-none !pl-0 my-16",children:t.list&&t.list.map((function(e,t){return(0,a.jsxs)("li",{className:"".concat("before:h-4 before:w-4 before:absolute before:left-0 before:top-1 before:border-2 before:border-orange before:rounded-full"," ").concat("relative pl-8 my-10"),children:[(0,a.jsx)("span",{className:"block font-medium",children:e.heading}),(0,a.jsx)(_,{className:"text-grey-400",content:e.content})]},"sl-".concat(e.heading,"-").concat(t))}))})},blogMiniBanner:function(e){var t=e.value;return(0,a.jsx)("div",{children:(0,a.jsx)(k.Z,{sideVersion:!1,data:t})})}},marks:{checkmark:function(e){var t=e.text;return(0,a.jsxs)("span",{className:"checkmark",children:[(0,a.jsx)(y.vYr,{className:"mr-[0.5em] inline rounded-full border p-1 text-2xl"}),t]})}},block:{large:function(e){var t=e.children;if(!t[0].props)return(0,a.jsx)("h1",{className:"leading-1 text-[48px]",children:t});if(t[0].props.text){var n=t[0].props.text.replace(/\s+/g,"-").toLowerCase();return(0,a.jsx)("h1",{className:"leading-1 text-[48px]","data-id":"".concat(n),children:t})}},medium:function(e){var t=e.children;if(!t[0].props)return(0,a.jsx)("h2",{className:"text-light text-[28px] leading-10",children:t});if(t[0].props.text){var n=t[0].props.text.replace(/\s+/g,"-").toLowerCase();return(0,a.jsx)("h2",{className:"text-light text-[28px] leading-10","data-id":"".concat(n),children:t})}},small:function(e){var t=e.children;if(!t[0].props)return(0,a.jsx)("h3",{className:"text-light text-[16px]",children:t});if(t[0].props.text){var n=t[0].props.text.replace(/\s+/g,"-").toLowerCase();return(0,a.jsx)("h3",{className:"text-light text-[16px]","data-id":"".concat(n),children:t})}},eyebrow:function(e){return(0,a.jsx)("span",{className:"mb-2 mt-2
10 flex text-[12px] uppercase tracking-wider text-magenta",children:e.children})},eyebrowLight:function(e){return(0,a.jsx)("span",{className:"mb-2 flex text-[12px] uppercase tracking-wider text-darkblue opacity-50",children:e.children})}}},_=function(e){(0,s.Z)(n,e);var t=(0,r.Z)(n);function n(){return(0,l.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.content,n=e.className;return(0,a.jsx)("div",{className:"".concat(x().richText," ").concat(null!==n&&void 0!==n?n:""," ").concat(x().sitebanner),children:(0,a.jsx)(u.YI,{value:t,components:w})})}}]),n}(o.Component)},9159:function(e,t,n){"use strict";n.d(t,{v:function(){return l}});var l={dataset:"production",projectId:"sn58uoiq",apiVersion:"2022-02-22",useCdn:!1}},3085:function(e,t,n){"use strict";function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t&&console.log("format",e),"submit"===e)return{external:!1,href:"#",formSubmit:!0};if(e._type&&"slug"===e._type)return{external:!1,href:"/".concat(e.current)};if(e.link&&"string"===typeof e.link)return e.link.startsWith("http")?{external:!0,href:e.link}:{external:!1,href:e.link};if(e.page){var n="string"===typeof e.page?e.page:null,l="string"===typeof e.slug?e.slug:null,i=l||n;if(!i)return{external:!1,href:"/"};var s="home"===i?"/":"/".concat(i);if("solution"===e.resourceType&&(s="/solutions".concat(s)),"industry"===e.resourceType&&(s="/industries".concat(s)),"article"===e.resourceType){var r=e.category?e.category+"/":"";s="/insights/".concat(r).concat(i)}return"caseStudy"===e.resourceType&&(s="/case-studies".concat(s)),"infrastructureFor"===e.resourceType&&(s="/infrastructure-for".concat(s)),"consumptionPathwaysSingle"===e.resourceType&&(s="/ways-to-use-if".concat(s)),{external:!1,href:s}}return{external:!1,href:"/"}}n.d(t,{Z:function(){return l}})},8107:function(e,t,n){"use strict";n.d(t,{hr:function(){return d},iQ:function(){return c}});var l=n(1561),i=n(6803),s=n.n(i),r=n(1548),a=n(9159),o=s()(a.v),c=function(e){return e?o.image(e).quality(75).auto("format").fit("max"):""},d=function(e){return e?(0,r.hn)(e,a.v):{}};(0,l.KF)(a.v),(0,l.Iy)(a.v)},3071:function(e){e.exports={hamburger:"Hamburger_hamburger__jizaR","is-active":"Hamburger_is-active__c_yJc"}},663:function(e){e.exports={primaryHeader:"Header_primaryHeader__GnXHw",primaryNavigationDropdown:"Header_primaryNavigationDropdown__qKBLx"}},7808:function(e){e.exports={richText:"RichText_richText__2A_Dn"}}}]);
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.