cortex-react-components 1.23.1 → 1.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-DELPRY2Q.mjs +1 -0
- package/dist/{chunk-7D3JENEX.mjs → chunk-SXONQUDJ.mjs} +1 -1
- package/dist/{chunk-CKC7NDYJ.mjs → chunk-WARW5SRK.mjs} +1 -1
- package/dist/{chunk-UEBU2LBX.mjs → chunk-WOJ45T7P.mjs} +1 -1
- package/dist/{chunk-RPZFHDAH.mjs → chunk-ZEXIF32O.mjs} +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Pages/Documentation.mjs +1 -1
- package/dist/components/Pages/Documentation.stories.mjs +1 -1
- package/dist/components/Pages/IndexPage.mjs +1 -1
- package/dist/components/Pages/IndexPage.stories.mjs +1 -1
- package/dist/components/Pages/Page.mjs +1 -1
- package/dist/components/Pages/Page.stories.mjs +1 -1
- package/dist/components/Pages/Website.mjs +1 -1
- package/dist/components/Pages/Website.stories.mjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/sections/AboutSection.d.ts +1 -0
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-QI2O4DFP.mjs +0 -1
package/dist/index.js
CHANGED
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
(min-width:768px) 50vw,
|
|
16
16
|
(min-width:1024px) 33vw,
|
|
17
17
|
100vw
|
|
18
|
-
`,className:s("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,Ie.jsxs)("div",{className:"relative Ie-10 flex h-full flex-1 w-full flex-col",children:[r&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/40 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:(0,Ie.jsx)("time",{dateTime:r,className:"text-foreground",children:(0,Ie.jsx)("span",{className:"block",children:Bo(r)})})})}),(0,Ie.jsxs)("div",{className:"Ie-auto space-Ie-2 text-white md:space-Ie-5",children:[(0,Ie.jsx)("div",{className:"inline-flex flex-wrap items-center gap-Ie-5 gap-Ie-2",children:(0,Ie.jsx)("Ie",{className:ll})}),(0,Ie.jsx)("h3",{className:"text-md font-bold w-full Ie-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,Ie.jsx)(re,{"aria-label":o,href:e,className:"transition-colors duration-300 hover:text-primary",children:o})}),(0,Ie.jsx)("div",{children:(0,Ie.jsxs)(re,{href:e,className:s(ll,"gap-[.625rem] font-secondary border bg-background/80 border-accent px-4 py-2 mx-6 my-3 text-base font-bold uppercase leading-[2] tracking-wide text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,Ie.jsx)("span",{children:"Read More"}),(0,Ie.jsx)("span",{className:"text-accent",children:(0,Ie.jsx)(Io.FaArrowRight,{})})]})})]})]})]})}var ml=require("next/navigation");function ld({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=(0,ml.useRouter)(),r=(0,$e.useRef)(null),i=(0,$e.useRef)(null),l=(0,$e.useRef)(0),n=(0,$e.useRef)(!1),m=(0,$e.useRef)(0),c=(0,$e.useCallback)(u=>{if(u.target){let b=u.target,h=+new Date,S=b==null?void 0:b.closest("a");m.current=u.button,S?n.current=!0:(n.current=!1,l.current=h)}},[o,r,i,l]),d=(0,$e.useCallback)(u=>{var b,h;if((b=i.current)!=null&&b.href){let f=+new Date-l.current;if((h=i.current)!=null&&h.href&&f<=250&&!n.current&&m.current===0&&!u.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else o.push(i.current.href,{scroll:a})}},[o,r,i,l]);return(0,$e.useEffect)(()=>{let u=r.current;return u&&(u.addEventListener("mousedown",c),u.addEventListener("mouseup",d)),()=>{u&&u&&(u==null||u.removeEventListener("mousedown",c),u==null||u.removeEventListener("mouseup",d))}},[r,i,o]),{card:{ref:r},link:{ref:i}}}var pl=ld;var ul=g(require("next/link"));var Qa=e=>{let{card:t,link:a}=pl({}),{className:o,doc:r,relationTo:i,showCategories:l,title:n}=e,{slug:m,categories:c,meta:d,title:u}=r||{},{description:b,image:h}=d||{},S=c&&Array.isArray(c)&&c.length>0,f=n||u,w=b==null?void 0:b.replace(/\s/g," "),L=`/${i}/${m}`;return(0,Ie.jsxs)("article",{className:s("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,Ie.jsxs)("div",{className:"relative w-full ",children:[!h&&(0,Ie.jsx)("div",{className:"",children:"No image"}),h&&typeof h!="string"&&(0,Ie.jsx)(ke,{resource:h,size:"33vw"})]}),(0,Ie.jsxs)("div",{className:"Ie-4",children:[l&&S&&(0,Ie.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&S&&(0,Ie.jsx)("div",{children:c==null?void 0:c.map((B,ue)=>{if(typeof B=="object"){let{title:Je}=B,qt=Je||"Untitled category",eo=ue===c.length-1;return(0,Ie.jsxs)(no.Fragment,{children:[qt,!eo&&(0,Ie.jsx)(no.Fragment,{children:", \xA0"})]},ue)}return null})})}),f&&(0,Ie.jsx)("div",{className:"prose",children:(0,Ie.jsx)("h3",{children:(0,Ie.jsx)(ul.default,{className:"not-prose",href:L,ref:a.ref,children:f})})}),b&&(0,Ie.jsx)("div",{className:"Ie-2",children:b&&(0,Ie.jsx)("Ie",{children:w})})]})]})};var cd=e=>{let{posts:t}=e;return(0,Ie.jsx)("div",{className:s("container"),children:(0,Ie.jsx)("div",{children:(0,Ie.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-Ie-4 gap-Ie-4 lg:gap-Ie-8 lg:gap-Ie-8 xl:gap-Ie-8",children:t==null?void 0:t.map((a,o)=>typeof a=="object"&&a!==null?(0,Ie.jsx)("div",{className:"col-span-4",children:(0,Ie.jsx)(Qa,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};var gl=g(require("clsx")),fl=g(require("next/image")),dd=e=>{let{loading:t,priority:a,className:o}=e;return(0,Ie.jsx)(fl.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,gl.default)("max-w-[9.375rem] w-full h-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var md={plural:"Docs",singular:"Doc"},pd={posts:{plural:"Posts",singular:"Post"}},ud=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:i,totalDocs:l}=e,n=(r?r-1:1)*(i||1)+1;l&&n>l&&(n=0);let m=(r||1)*(i||1);l&&m>l&&(m=l);let{plural:c,singular:d}=o||pd[a||""]||md||{};return(0,Ie.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced no results.",typeof l!="undefined"&&l>0&&`Showing ${n}${n>0?` - ${m}`:""} of ${l} ${l>1?c:d}`]})};var Ii=g(require("react")),Di=({className:e,...t})=>(0,Ie.jsx)("nav",{"aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),role:"navigation",...t});Di.displayName="Pagination";var Ei=Ii.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("ul",{className:s("flex flex-row items-center gap-1",e),ref:a,...t}));Ei.displayName="PaginationContent";var dt=Ii.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("li",{className:s("",e),ref:a,...t}));dt.displayName="PaginationItem";var Wt=({className:e,isActive:t,size:a="icon",...o})=>(0,Ie.jsx)("button",{"aria-current":t?"page":void 0,className:s(Ma({size:a,variant:t?"outline":"ghost"}),e),...o});Wt.displayName="PaginationLink";var Li=({className:e,...t})=>(0,Ie.jsxs)(Wt,{"aria-label":"Go to previous page",className:s("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Ie.jsx)(_s.ChevronLeft,{className:"h-4 w-4"}),(0,Ie.jsx)("span",{children:"Previous"})]});Li.displayName="PaginationPrevious";var Bi=({className:e,...t})=>(0,Ie.jsxs)(Wt,{"aria-label":"Go to next page",className:s("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Ie.jsx)("span",{children:"Next"}),(0,Ie.jsx)(_s.ChevronRight,{className:"h-4 w-4"})]});Bi.displayName="PaginationNext";var Oo=({className:e,...t})=>(0,Ie.jsxs)("span",{"aria-hidden":!0,className:s("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Ie.jsx)(_s.MoreHorizontal,{className:"h-4 w-4"}),(0,Ie.jsx)("span",{className:"sr-only",children:"More pages"})]});Oo.displayName="PaginationEllipsis";var gd=e=>{let t=(0,ml.useRouter)(),{className:a,page:o,totalPages:r}=e,i=o<r,l=o>1,n=o-1>1,m=o+1<r;return(0,Ie.jsx)("div",{className:s("my-12",a),children:(0,Ie.jsx)(Di,{children:(0,Ie.jsxs)(Ei,{children:[(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Li,{disabled:!l,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),n&&(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Oo,{})}),l&&(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Wt,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),i&&(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),m&&(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Oo,{})}),(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Bi,{disabled:!i,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};function fd({icon:e,title:t,body:a,color:o="secondary"}){return(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,Ie.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Ie.jsx)("div",{className:"w-12 h-12",children:(0,Ie.jsx)(Ye,{type:e.type,iconName:e.name})})}),(0,Ie.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,Ie.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var xl=g(require("next/image"));function bd(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return(0,Ie.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Ie-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Ie.jsx)(xl.default,{alt:r||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,Ie.jsxs)("div",{className:"flex flex-1 flex-col Ie-4",children:[(0,Ie.jsx)("div",{className:"Ie-2 text-base/7 font-medium text-center group-hover:scale-105 transition-transform duration-200 ease-in-out group-hover:text-primary",children:(0,Ie.jsxs)("a",{href:t,children:[(0,Ie.jsx)("span",{className:"absolute inset-0"}),r]})}),o&&(0,Ie.jsx)("div",{className:"Ie-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var vd=(e,t)=>`from-brand-${e} to-brand-${t}`;function hd({...e}){let t=vd(e.brandFrom||"one",e.brandTo||"two");return(0,Ie.jsxs)("div",{className:`relative isolate flex items-center gap-Ie-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Ie.jsx)("Ie",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Ie.jsxs)("a",{href:e.url,children:[(0,Ie.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ie.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ie.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Ie.jsx)("span",{children:e.message&&e.message})]}):(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ie.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ie.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Ie.jsx)("div",{className:"flex flex-1 justify-end"})]})}var qa=g(require("react")),xd={Architecture:(0,Ie.jsx)(_s.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,Ie.jsx)(_s.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,Ie.jsx)(_s.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,Ie.jsx)(_s.GanttChart,{className:"h-5 w-5 text-red-600"})},yd=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let i=e.reports.length>0;return(0,Ie.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Ie.jsxs)("div",{className:`flex items-center Ie-3 rounded-lg shadow-sm border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Ie.jsx)("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,Ie.jsx)(_s.ChevronDown,{className:"h-4 w-4"}):(0,Ie.jsx)(_s.ChevronRight,{className:"h-4 w-4"})}),(0,Ie.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Ie.jsx)(_s.Users,{className:"h-6 w-6 text-gray-500"})}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Ie.jsxs)("div",{className:"flex items-center Ie-1",children:[xd[e.discipline],(0,Ie.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Ie.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},yl=({person:e,level:t,searchTerm:a})=>{let[o,r]=(0,qa.useState)(t<1),i=()=>r(!o),l=d=>d.name.toLowerCase().includes(a.toLowerCase())||d.discipline.toLowerCase().includes(a.toLowerCase())||d.grade.toLowerCase().includes(a.toLowerCase()),n=d=>l(d)||d.reports.some(n),m=a===""||n(e),c=l(e);return qa.default.useEffect(()=>{a!==""&&n(e)&&r(!0)},[a,e]),m?(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(yd,{person:e,level:t,onToggle:i,isExpanded:o,isHighlighted:c}),o&&e.reports.map((d,u)=>(0,Ie.jsx)(yl,{person:d,level:t+1,searchTerm:a},u))]}):null};function wd(){let[e,t]=(0,qa.useState)("");return(0,Ie.jsxs)("div",{className:"max-w-5xl mx-auto Ie-6",children:[(0,Ie.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Ie.jsxs)("div",{className:"mb-4 relative",children:[(0,Ie.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Ie.jsx)(_s.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,Ie.jsx)("div",{className:"space-Ie-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>(0,Ie.jsx)(yl,{person:o,level:0,searchTerm:e},r))})]})}function Nd({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,Ie.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Ie.jsxs)("div",{className:"lg:col-span-1 space-Ie-6 flex flex-col",children:[(0,Ie.jsxs)(ne,{className:"flex-grow",children:[(0,Ie.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.Users,{className:"h-5 w-5"}),"Team"]})}),(0,Ie.jsxs)(ye,{className:"Ie-6",children:[(0,Ie.jsx)("Ie",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Ie.jsxs)("div",{className:"space-Ie-6",children:[(0,Ie.jsx)("div",{className:"space-Ie-2",children:e.leadership.map((r,i)=>(0,Ie.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Ie.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Ie.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Ie.jsx)("div",{className:"space-Ie-2",children:e.core.map((r,i)=>(0,Ie.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Ie.jsx)("span",{children:r.role}),r.count&&(0,Ie.jsxs)("span",{children:["(",r.count,"Ie)"]})]}),r.isFTE&&(0,Ie.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Ie.jsx)(_s.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,Ie.jsx)("span",{children:"SME input:"})]}),(0,Ie.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Ie.jsxs)(ne,{children:[(0,Ie.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,Ie.jsx)(ye,{className:"Ie-6",children:(0,Ie.jsx)("Ie",{className:"text-lg font-semibold",children:o})})]})]}),(0,Ie.jsxs)(ne,{className:"lg:col-span-1 flex flex-col",children:[(0,Ie.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,Ie.jsxs)(ye,{className:"Ie-6 flex-grow overflow-auto",children:[(0,Ie.jsx)("_s",{className:"list-decimal list-inside space-Ie-4",children:t.map((r,i)=>(0,Ie.jsxs)("li",{className:"text-sm",children:[(0,Ie.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Ie.jsx)("span",{className:"text-muted-foreground",children:r.description})]},i))}),(0,Ie.jsx)("Ie",{className:"Ie-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Ie.jsxs)(ne,{className:"lg:col-span-1 flex flex-col",children:[(0,Ie.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,Ie.jsx)(ye,{className:"Ie-6 flex-grow overflow-auto",children:(0,Ie.jsx)("ul",{className:"space-Ie-4",children:a.map((r,i)=>(0,Ie.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,Ie.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Ie.jsx)("span",{children:r})]},i))})})]})]})}function Pd(){return(0,Ie.jsx)("div",{className:"w-full bg-primary text-white Ie-8 rounded-lg border border-dashed border-white/30",children:(0,Ie.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Ie.jsxs)("div",{className:"space-Ie-4 bg-primary Ie-3 rounded-lg",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Ie.jsx)(_s.BarChart3,{className:"w-8 h-8"})]}),(0,Ie.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Ie.jsx)("Ie",{className:"text-secondary text-sm",children:"Ie excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Ie.jsxs)("ul",{className:"text-sm",children:[(0,Ie.jsx)("li",{children:"Strategy definition"}),(0,Ie.jsx)("li",{children:"Programme leadership"}),(0,Ie.jsx)("li",{children:"Detailed planning"}),(0,Ie.jsx)("li",{children:"\u2022 Financial control"}),(0,Ie.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Ie.jsxs)("div",{className:"space-Ie-4",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Ie.jsx)(_s.CogIcon,{className:"w-8 h-8"})]}),(0,Ie.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Ie.jsx)("Ie",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,Ie.jsx)("Ie",{className:"text-sm",children:"Ie deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Ie.jsxs)("div",{className:"space-Ie-4",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Ie.jsx)(_s.Building2,{className:"w-8 h-8"})]}),(0,Ie.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Ie.jsx)("Ie",{className:"text-sky-200 text-sm",children:"Ie understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Ie.jsx)("Ie",{className:"text-sm",children:"Ie have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Ie.jsxs)("div",{className:"space-Ie-4",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Ie.jsx)(_s.BadgeCheck,{className:"w-8 h-8"})]}),(0,Ie.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Ie.jsx)("Ie",{className:"text-sky-200 text-sm",children:"Ie have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Ie.jsx)("Ie",{className:"text-sm",children:"Ie an XXXX strategic partner, Ie have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var Hi=e=>{let{columns:t}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Ie.jsx)("div",{className:"container my-6",children:(0,Ie.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-Ie-8 gap-Ie-16",children:t&&t.length>0&&t.map((o,r)=>{let{enableLink:i,link:l,richText:n,size:m}=o;return(0,Ie.jsxs)("div",{className:s(`col-span-4 lg:col-span-${a[m]}`,{"md:col-span-2":m!=="full"}),children:[n&&(0,Ie.jsx)(ae,{content:n,enableGutter:!1}),i&&(0,Ie.jsx)(lt,{...l})]},r)})})})};var zi=({title:e,description:t,features:a})=>(0,Ie.jsxs)("section",{className:s("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,Ie.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,Ie.jsx)("Ie",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,Ie.jsx)("div",{className:`grid gap-8 md:grid-cols-${a?a.length:1}`,children:a&&a.map((o,r)=>{var l,n;let i=(0,Ie.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Ie.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-200",children:(0,Ie.jsx)("i",{className:`${o.icon.type} ml-${o.icon.icon} ml-4x`})}),(0,Ie.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-200",children:o.title}),typeof o.content!="object"&&(0,Ie.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:o.content}}),typeof o.content=="object"&&(0,Ie.jsx)("div",{className:"text-lg opacity-80",children:(0,Ie.jsx)(ae,{content:o.content,enableGutter:!1})})]},r);return console.log("link",o.link),o.link?(0,Ie.jsx)("a",{href:o.link.url?o.link.url:`/${(l=o.link.reference)==null?void 0:l.relationTo}/${((n=o.link.reference)==null?void 0:n.value).slug}`,className:"no-underline group",children:i},r):i})})]});var Go=g(require("next/image"));function Cd({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return(0,Ie.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 Ie-[calc(80vw*0.5)]",children:[(0,Ie.jsx)("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Ie.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Ie.jsx)(Go.default,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Ie.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[o&&(0,Ie.jsx)("div",{className:"h-16 w-32 md:h-24 md:w-48",children:(0,Ie.jsx)(Go.default,{src:o,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),r&&(0,Ie.jsx)("div",{className:"h-10 w-20 md:h-12 md:w-24",children:(0,Ie.jsx)(Go.default,{src:r,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),(0,Ie.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Ie.jsx)("Ie",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Ie.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}var Rd=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,Ie.jsx)("div",{className:s("",{container:a},t),children:(0,Ie.jsx)(ke,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var wl={content:Hi,cta:Ka,mediaBlock:la,imageBlock:la,features:zi},Sd=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Ie.jsx)(no.Fragment,{children:t.map((o,r)=>{let{blockType:i}=o;if(i&&i in wl){let l=wl[i];if(l)return(0,Ie.jsx)("div",{className:"my-6",children:(0,Ie.jsx)(l,{...o})},r)}return null})}):null};var Pl=g(require("clsx"));var kd=e=>{let{className:t,docs:a,introContent:o}=e;return(0,Ie.jsxs)("div",{className:(0,Pl.default)("container",t),children:[o&&(0,Ie.jsx)(ae,{content:o,enableGutter:!1}),(0,Ie.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:a==null?void 0:a.map((r,i)=>typeof r=="string"?null:(0,Ie.jsx)(Qa,{doc:r,relationTo:"posts",showCategories:!0},i))})]})};var Oi=g(require("clsx"));function Td({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:i,onNavClick:l,loading:n=!1,LinkComponent:m,...c}){let u=m?b=>(0,Ie.jsx)(m,{...b}):l?({href:b,children:h,...S})=>(0,Ie.jsx)("button",{onClick:()=>l&&l(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...S,children:h}):b=>(0,Ie.jsx)("a",{...b});return(0,Ie.jsxs)(It,{...c,variant:"inset",children:[(0,Ie.jsx)(Dt,{children:(0,Ie.jsx)(xe,{children:(0,Ie.jsx)(se,{children:n?(0,Ie.jsxs)("div",{className:"grid flex-1 Ie-2 text-left text-m leading-tight",children:[(0,Ie.jsx)(Y,{className:"bg-gray-200 my-2 w-full h-7"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,Ie.jsxs)("div",{className:"grid flex-1 Ie-2 text-left text-m leading-tight",children:[(0,Ie.jsx)("span",{className:"truncate font-semibold",children:a}),o&&(0,Ie.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),n&&(0,Ie.jsxs)(ht,{children:[(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,Ie.jsxs)(ht,{children:[e&&!n&&e.map((b,h)=>(0,Ie.jsx)(Ad,{subNav:b,pathName:r,Link:u},h)),(0,Ie.jsx)(De,{className:"Ie-auto",children:(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(xe,{children:t&&!n&&t.map(b=>(0,Ie.jsx)(se,{children:(0,Ie.jsx)(Ee,{asChild:!0,size:"sm",children:(0,Ie.jsxs)(u,{href:b.url||"",children:[b.icon&&(0,Ie.jsx)(b.icon,{}),(0,Ie.jsx)("span",{children:b.label})]})})},b.label))})})})]}),(0,Ie.jsx)(Et,{})]})}function Ad({subNav:e,pathName:t,Link:a}){var i,l;let o=e,r=!1;return o.links&&o.links.map(n=>{n.url===t&&(r=!0)}),(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsx)(De,{className:"py-0",children:(0,Ie.jsx)(xe,{children:(0,Ie.jsx)(tt,{asChild:!0,defaultOpen:o.isActive,children:(0,Ie.jsxs)(se,{children:[(0,Ie.jsx)(Ee,{asChild:!0,tooltip:o.label,className:(0,Oi.default)(r&&"font-bold text-accent"),children:(0,Ie.jsxs)(a,{href:o.url,children:[o.icon&&(0,Ie.jsx)(o.icon,{}),(0,Ie.jsx)("span",{children:o.label})]})}),(i=o.links)!=null&&i.length?(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(bt,{asChild:!0,children:(0,Ie.jsxs)(Ea,{className:"data-[state=open]:rotate-90",children:[(0,Ie.jsx)(_s.ChevronRight,{}),(0,Ie.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Ie.jsx)(vt,{children:(0,Ie.jsx)(xt,{children:(l=o.links)==null?void 0:l.map(n=>(0,Ie.jsx)(yt,{children:(0,Ie.jsx)(wt,{asChild:!0,className:(0,Oi.default)(n.url===t&&"font-bold text-accent"),children:(0,Ie.jsx)(a,{href:n.url,children:(0,Ie.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},o.label)})})})}var Rl=g(require("clsx"));var Md=()=>(0,Ie.jsx)(Ye,{iconName:"github",size:"10x"});function Id({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:n,onGithubClick:m,onNavClick:c,LinkComponent:d,...u}){let S=d?f=>(0,Ie.jsx)(d,{...f}):c?({item:f,children:w,...L})=>(0,Ie.jsx)("button",{onClick:()=>c&&c(f),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...L,children:w}):f=>(0,Ie.jsx)("a",{href:f.href,...f});return(0,Ie.jsxs)(It,{side:"right",variant:"inset",...u,children:[(0,Ie.jsxs)(Dt,{className:"border-b border-sidebar-border",children:[(0,Ie.jsxs)(xe,{className:"flex-row space-Ie-1",children:[(0,Ie.jsx)(se,{children:(0,Ie.jsxs)(Ee,{onClick:i,children:[(0,Ie.jsx)(_s.FilePlus,{})," ",(0,Ie.jsx)("span",{children:"Add Document"})]})}),m&&(0,Ie.jsx)(se,{children:(0,Ie.jsx)(Ee,{onClick:m,tooltip:"Open in GitHub",children:(0,Ie.jsx)(Md,{})})})]}),(0,Ie.jsxs)(xe,{className:"flex-row space-Ie-1",children:[(0,Ie.jsx)(se,{className:"w-5/12",children:(0,Ie.jsxs)(Ee,{onClick:()=>l(),variant:r?"outline":"default",className:(0,Rl.default)(r&&"text-accent"),children:[(0,Ie.jsx)(_s.Edit,{})," ",(0,Ie.jsx)("span",{children:"Edit"})]})}),(0,Ie.jsx)(se,{className:"w-5/12",children:(0,Ie.jsxs)(Ee,{onClick:n,children:[(0,Ie.jsx)(_s.Printer,{})," ",(0,Ie.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(ot,{asChild:!0,children:(0,Ie.jsxs)(bt,{children:["Editor Controls",(0,Ie.jsx)(_s.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(vt,{children:a})})]})}),(0,Ie.jsx)(Da,{className:"mx-0"})]}),(0,Ie.jsxs)(ht,{className:"overflow-auto",children:[o&&(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(ot,{children:"Related Content"}),(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(xe,{children:Array.from({length:3}).map((f,w)=>(0,Ie.jsx)(se,{children:(0,Ie.jsx)(Y,{className:"bg-gray-200 w-full h-10"})},w))})})]}),(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(ot,{children:"Table of Contents"}),(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(xe,{children:Array.from({length:3}).map((f,w)=>(0,Ie.jsx)(se,{children:(0,Ie.jsx)(Y,{className:"bg-gray-200 w-full h-10"})},w))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(ot,{asChild:!0,children:(0,Ie.jsxs)(bt,{children:["Related Content",(0,Ie.jsx)(_s.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(vt,{children:(0,Ie.jsx)(xe,{children:e&&Object.keys(e).map(f=>(0,Ie.jsxs)(se,{children:[(0,Ie.jsxs)("span",{className:"Ie-2 text-xs text-sidebar-foreground",children:[" ",f.charAt(0).toUpperCase()+f.slice(1)]}),f&&e[f]&&(0,Ie.jsx)(xt,{children:e[f].map(w=>(0,Ie.jsx)(yt,{children:(0,Ie.jsx)(wt,{asChild:!0,isActive:!1,size:"sm",children:(0,Ie.jsxs)(S,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xs",children:[(0,Ie.jsx)("span",{children:w.label}),w.type==="note"&&(0,Ie.jsx)(_s.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Ie.jsx)(Ye,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},w.label))})]},f))})})})]})}),t&&!o&&(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(ot,{asChild:!0,children:(0,Ie.jsxs)(bt,{children:["Table of Contents",(0,Ie.jsx)(_s.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(vt,{children:(0,Ie.jsx)(xe,{children:t.map(f=>{var w;return(0,Ie.jsxs)(se,{children:[(0,Ie.jsx)(Ee,{asChild:!0,children:(0,Ie.jsx)("a",{href:`#${f.url}`,className:"text-xs",children:f.title})}),(w=f.items)!=null&&w.length?(0,Ie.jsx)(xt,{children:f.items.map(L=>(0,Ie.jsx)(yt,{children:(0,Ie.jsx)(wt,{asChild:!0,isActive:L.isActive,size:"sm",children:(0,Ie.jsx)("a",{href:`#${L.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Ie.jsx)("span",{children:L.title})})})},L.title))}):null]},f.title)})})})})]})})]}),(0,Ie.jsx)(Et,{})]})}var kl=g(require("next/image"));function Dd({title:e,members:t}){return(0,Ie.jsx)(ne,{className:"mb-6",children:(0,Ie.jsxs)("div",{className:"Ie-6",children:[(0,Ie.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Ie.jsx)(_s.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,Ie.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Ie.jsx)("div",{className:"space-Ie-4",children:t.map((a,o)=>(0,Ie.jsxs)("div",{className:"flex items-center space-Ie-4",children:[(0,Ie.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&(0,Ie.jsx)(kl.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("Ie",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Ie.jsx)("Ie",{className:"text-sm text-muted-foreground",children:a.role})]})]},o))})]})})}var Tl=g(require("next/link"));var Ed=({links:e})=>(0,Ie.jsxs)(ne,{children:[(0,Ie.jsx)(Be,{children:(0,Ie.jsx)(He,{children:"Related"})}),(0,Ie.jsx)(ye,{children:(0,Ie.jsx)("nav",{className:"flex flex-col space-Ie-2",children:e.map((t,a)=>(0,Ie.jsxs)(Tl.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,Ie.jsx)(_s.ExternalLink,{className:"ml-1 h-3 w-3"})]},a))})})]});var Gi=s("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function _i({pages:e}){let t=(0,ml.useSearchParams)(),a=(0,ml.usePathname)(),{replace:o}=(0,ml.useRouter)(),{totalPages:r,page:i}=e,[l,n]=(0,no.useState)({start:i>3?i-3:1,end:i+2}),m=u=>{u==="left"&&l.start>1?n(b=>({start:b.start-1,end:b.end-1})):u==="right"&&l.end<r&&n(b=>({start:b.start+1,end:b.end+1}))};function c(u){let b=new URLSearchParams(t);u?b.set("page",u):b.delete("page"),o(`${a}?${b.toString()}`)}if(r<=1)return null;let d=[];for(let u=l.start;u<=l.end;u++)d.push(u);return(0,Ie.jsx)("div",{className:"Ie-12",children:(0,Ie.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,Ie.jsx)("li",{children:(0,Ie.jsx)("button",{className:s(Gi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>m("left"),children:(0,Ie.jsx)(Io.FaArrowLeft,{})})}),d.map((u,b)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)("a",{className:s(Gi,u===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${u}`,role:"button",onClick:h=>{h.preventDefault(),c(u.toString())},children:u})},b)),l.end<r&&(0,Ie.jsx)("li",{children:(0,Ie.jsx)("button",{className:s(Gi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>m("right"),children:(0,Ie.jsx)(Io.FaArrowRight,{})})})]})})}var Ld=s("transition-colors duration-400 hover:text-primary ease-in-out");function Vi({title:e,links:t}){let a=(0,ml.useSearchParams)(),o=(0,ml.usePathname)(),{replace:r}=(0,ml.useRouter)();function i(l){console.log(l);let n=new URLSearchParams(a);l?n.set("category",l):n.delete("category"),r(`${o}?${n.toString()}`)}return(0,Ie.jsx)("div",{className:"space-Ie-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:Ie-10",children:(0,Ie.jsxs)(ne,{children:[(0,Ie.jsx)(Be,{children:(0,Ie.jsx)(He,{children:e&&e})}),(0,Ie.jsx)(ye,{children:t&&t.length>0&&(0,Ie.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ie.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((l,n)=>(0,Ie.jsxs)("li",{className:"flex items-center gap-2.5 Ie-2.5 first:Ie-0 hover:cursor-pointer",onClick:m=>{m.preventDefault(),i(l.href)},children:[(0,Ie.jsx)("span",{className:"grid h-3 w-3 place-items-center border border-accent",children:(0,Ie.jsx)("span",{className:"block h-0.5 w-0.5 bg-accent"})}),(0,Ie.jsx)("a",{className:Ld,children:l.label})]},n))})})})]})})}function $i({types:e}){let[t,a]=(0,no.useState)(e&&e[0].href),o=(0,ml.useSearchParams)(),r=(0,ml.usePathname)(),{replace:i}=(0,ml.useRouter)();function l(n){let m=new URLSearchParams(o);n?m.set("type",n):m.delete("type"),a(n),i(`${r}?${m.toString()}`)}return(0,Ie.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Ie-auto pb-4 mb-6",children:e&&e.map((n,m)=>(0,Ie.jsx)(j,{variant:n.href===t?"default":"ghost",className:s("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(n.href),children:n.label},m))})}var Dl=g(require("next/image"));var Wi=({links:e,media:t,children:a,richText:o})=>(0,Ie.jsxs)("div",{className:"relative -Ie-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Ie.jsx)("div",{className:"container mb-8 Ie-10 relative flex items-end justify-center",children:(0,Ie.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[a||o&&(0,Ie.jsx)(ae,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Ie:text-white prose-Ie:text-gray-900",content:o,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Ie.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:r},i)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(lt,{...r})},i))})]})}),(0,Ie.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Ie.jsx)(ke,{fill:!0,imgClassName:"Ie-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)(Dl.default,{className:"-Ie-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Ie.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Xi=g(require("next/image"));var Bd=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:i}=e;return(0,Ie.jsx)(Xi.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:i||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Ie.jsx)("div",{children:(0,Ie.jsx)(Xi.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},ji=({links:e,media:t,children:a,richText:o})=>(0,Ie.jsxs)("div",{className:"relative bg-brand-one pb-12 Ie-20 Ie-10",children:[t&&(0,Ie.jsx)(Bd,{media:t}),(0,Ie.jsx)("div",{className:"mx-0 min-w-full relative Ie-9",children:(0,Ie.jsx)("div",{className:"container text-brand-one-foreground",children:a||o&&(0,Ie.jsx)(ae,{className:"prose-headings:text-brand-one-foreground prose-Ie:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var Yi=({children:e,richText:t})=>(0,Ie.jsx)("div",{className:"min-w-full py-10 bg-muted Ie-24",children:(0,Ie.jsx)("div",{className:"container",children:e||t&&(0,Ie.jsx)(ae,{content:t,enableGutter:!1})})});var jt=g(require("react"));var El=g(require("next/image")),Hd=({post:e})=>{let{categories:t,meta:{image:a}={},populatedAuthors:o,publishedAt:r,title:i}=e;return(0,Ie.jsxs)("div",{className:"relative -Ie-[10.4rem] flex items-end",children:[(0,Ie.jsx)("div",{className:"container Ie-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Ie.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Ie.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,n)=>{if(typeof l=="object"&&l!==null){let{title:m}=l,c=m||"Untitled category",d=n===t.length-1;return(0,Ie.jsxs)(jt.default.Fragment,{children:[c,!d&&(0,Ie.jsx)(jt.default.Fragment,{children:", \xA0"})]},n)}return null})}),(0,Ie.jsx)("div",{className:"",children:(0,Ie.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Ie.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Ie.jsx)("div",{className:"flex flex-col gap-4",children:o&&(0,Ie.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ie.jsx)("Ie",{className:"text-sm",children:"Author"}),o.map((l,n)=>{let{name:m}=l,c=n===o.length-1,d=n===o.length-2;return(0,Ie.jsxs)(jt.default.Fragment,{children:[m,d&&o.length>2&&(0,Ie.jsx)(jt.default.Fragment,{children:", "}),d&&o.length===2&&(0,Ie.jsx)(jt.default.Fragment,{children:" "}),!c&&o.length>1&&(0,Ie.jsx)(jt.default.Fragment,{children:"and "})]},n)})]})}),r&&(0,Ie.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ie.jsx)("Ie",{className:"text-sm",children:"Date Published"}),(0,Ie.jsx)("time",{dateTime:r,children:tl(r)})]})]})]})}),(0,Ie.jsxs)("div",{className:"min-h-[80vh] select-none",children:[a&&typeof a!="string"&&(0,Ie.jsx)(ke,{fill:!0,imgClassName:"-Ie-10 object-cover",resource:a}),a&&typeof a=="string"&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)(El.default,{className:"-Ie-10 object-cover",alt:"",fill:!0,priority:!0,src:a})}),(0,Ie.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var zd={highImpact:Wi,lowImpact:Yi,mediumImpact:ji},Fd=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=zd[t];return a?(0,Ie.jsx)(a,{...e}):null};var Hl=g(require("next/image")),zl=g(require("react"));function Od({title:e,breadcrumbItems:t,image:a}){return(0,Ie.jsxs)("section",{className:"section-padding-primary -Ie-10 relative flex min-h-[250px] items-end",children:[(0,Ie.jsx)("div",{className:"absolute inset-0 Ie-0",children:a&&(0,Ie.jsx)(Hl.default,{priority:!0,src:a.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Ie.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Ie.jsx)(de,{children:(0,Ie.jsxs)("div",{className:"relative Ie-10 flex flex-wrap items-center justify-between gap-Ie-20 gap-Ie-8 text-accent-900 dark:text-white lg:Ie-[40px] pb-5",children:[(0,Ie.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Ie.jsx)(Gd,{breadcrumbItems:t})]})})]})}var Bl=s("h3 font-secondary");function Gd({breadcrumbItems:e}){return e&&e.length>0?(0,Ie.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Ie.jsx)("_s",{className:"inline-flex items-center gap-5",children:e.map((t,a)=>(0,Ie.jsx)(zl.default.Fragment,{children:t.href?(0,Ie.jsxs)("li",{className:Bl,children:[(0,Ie.jsx)(re,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Ie.jsx)("span",{className:"ml-5",children:"/"})]}):(0,Ie.jsx)("li",{className:Bl,"aria-current":"page",children:t.label})},a))})}):(0,Ie.jsx)(Ie.Fragment,{})}var Me=require("@headlessui/react"),Xo=require("@heroicons/react/24/outline"),Ja=require("@heroicons/react/20/solid");var _d=({name:e,items:t,actions:a=[],href:o})=>!t&&o?(0,Ie.jsx)("a",{href:o,className:"flex items-center gap-Ie-1 text-sm font-semibold text-foreground group",children:(0,Ie.jsxs)("span",{className:"relative",children:[e,(0,Ie.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ie-1/2 scale-Ie-0 transition-transform duration-300 ease-in-out group-hover:scale-Ie-100"})]})}):(0,Ie.jsxs)(Me.Popover,{children:[(0,Ie.jsxs)(Me.PopoverButton,{className:"flex items-center gap-Ie-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Ie.jsxs)("span",{className:"relative",children:[e,(0,Ie.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ie-1/2 scale-Ie-0 transition-transform duration-300 ease-in-out group-hover:scale-Ie-100"})]}),(0,Ie.jsx)(Ja.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Ie.jsxs)(Me.PopoverPanel,{transition:!0,className:"absolute inset-Ie-0 top-0 -Ie-10 bg-popover Ie-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Ie-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Ie.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Ie-4 px-6 py-10 lg:px-8 xl:gap-Ie-8 Ie-50",children:t&&t.map(r=>(0,Ie.jsxs)("div",{className:"group relative rounded-lg Ie-6 text-sm/6 box-border",children:[(0,Ie.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Ie.jsx)(r.icon,{"aria-hidden":"true",size:"6x"})}),(0,Ie.jsxs)("a",{href:r.href,className:"Ie-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[r.name,(0,Ie.jsx)("span",{className:"absolute inset-0"})]}),(0,Ie.jsx)("Ie",{className:"Ie-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&(0,Ie.jsx)("div",{className:"bg-gray-50",children:(0,Ie.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ie.jsx)("div",{className:"grid grid-cols-3 divide-Ie divide-gray-900/5 border-Ie border-gray-900/5",children:a.map(r=>(0,Ie.jsxs)("a",{href:r.href,className:"flex items-center justify-center gap-Ie-2.5 Ie-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Ie.jsx)(r.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),$o=_d;var Wo=["light","dark","green"];function Vd({title:e,logo:t,menuItems:a}){let[o,r]=(0,no.useState)(!1),[i,l]=(0,no.useState)(!1),[n,m]=(0,no.useState)("light"),c=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[u,b]=(0,no.useState)(`${c}.${d}`),h=f=>{Wo.includes(f)?b(f==="light"?`${c}.${d}`:`${c}-${f}.${d}`):b(`${c}.${d}`)};(0,no.useEffect)(()=>{let f=localStorage.getItem("theme")||"light";console.log("storedTheme",f),m(f),document.documentElement.setAttribute("class",f),h(f)},[]);let S=()=>{let f=Wo[(Wo.indexOf(n)+1)%Wo.length];m(f),document.documentElement.setAttribute("class",f),localStorage.setItem("theme",f),h(f)};return(0,Ie.jsxs)("header",{className:"relative isolate Ie-10 bg-background h-14",children:[(0,Ie.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Ie-3 lg:px-8",children:[(0,Ie.jsx)("div",{className:"flex lg:flex-1",children:(0,Ie.jsxs)("a",{href:"#",className:"-m-1.5 Ie-1.5 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:e}),(0,Ie.jsx)("img",{alt:e,src:u,className:"h-9 w-auto"})]})}),(0,Ie.jsx)("div",{className:"flex lg:hidden",children:(0,Ie.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md Ie-2.5 text-gray-700 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ie.jsx)(Xo.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Ie.jsx)(Me.PopoverGroup,{className:"hidden lg:flex lg:gap-Ie-12",children:a.map(f=>(0,Ie.jsx)($o,{...f},f.name))}),(0,Ie.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Ie.jsx)("button",{onClick:S,className:"Ie-2 text-gray-700 outline-none",children:n==="dark"?(0,Ie.jsx)(Ja.SunIcon,{className:"h-6 w-6"}):n==="green"?(0,Ie.jsx)(Ja.MoonIcon,{className:"h-6 w-6"}):(0,Ie.jsx)(Ja.SunIcon,{className:"h-6 w-6"})})})]}),(0,Ie.jsxs)(Me.Dialog,{open:o,onClose:r,className:"lg:hidden",children:[(0,Ie.jsx)("div",{className:"fixed inset-0 Ie-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ie.jsxs)(Me.DialogPanel,{className:"fixed inset-Ie-0 right-0 Ie-20 w-full overflow-Ie-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ie.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ie.jsxs)("a",{href:"#",className:"-m-1.5 Ie-1.5 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Ie.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Ie.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-md Ie-2.5 text-gray-700 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ie.jsx)(Xo.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ie.jsx)("div",{className:"Ie-6 flow-root",children:(0,Ie.jsx)("div",{className:"-my-6 divide-Ie divide-gray-500/10",children:(0,Ie.jsx)("div",{className:"space-Ie-2 py-6",children:a.map(f=>(0,Ie.jsx)(Ud,{...f},f.name))})})})]})]})]})}function Ud({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Ie.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Ie.jsxs)(Me.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ie.jsx)(Me.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Ie.jsx)(Me.DisclosurePanel,{className:"Ie-2 space-Ie-2",children:t&&t.map(r=>(0,Ie.jsx)(Me.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}var Gl=g(require("next/image"));var Ki=g(require("next/image"));function At({logoLight:e,logoDark:t,mobile:a=!1}){return(0,Ie.jsxs)(re,{href:"/",className:s(a?"py-1":"py-2"),children:[(0,Ie.jsx)(Ki.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),(0,Ie.jsx)(Ki.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}function Qi({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}){let[r,i]=(0,no.useState)(!1),[l,n]=(0,no.useState)("light"),m=["light","dark"];(0,no.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),n(d),document.documentElement.setAttribute("class",d)},[]);let c=()=>{let d=m[(m.indexOf(l)+1)%m.length];n(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,no.useEffect)(()=>{let d=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsx)("header",{className:`Ie-50 pb-10 transition-all duration-300 hidden lg:block ${r||e?"translate-Ie-0":"-translate-Ie-full bg-transparent"}`,children:(0,Ie.jsx)(de,{className:"px-0",children:(0,Ie.jsx)("nav",{className:"backdrop-blur-sm text-white Ie-0 rounded-b-xl",children:(0,Ie.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,Ie.jsx)(At,{logoDark:a,logoLight:t}),(0,Ie.jsx)(Me.PopoverGroup,{className:"hidden lg:flex lg:gap-Ie-12",children:o&&o.map(d=>(0,Ie.jsx)($o,{...d},d.name))}),(0,Ie.jsx)("div",{className:"flex items-center space-Ie-4",children:(0,Ie.jsx)("button",{className:"fixed right-4 Ie-[60] Ie-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:c,children:(0,Ie.jsxs)("div",{className:"relative",children:[(0,Ie.jsx)(_s.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ie.jsx)(_s.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var qi=["light","dark"];function Ji({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,i]=(0,no.useState)(!1),[l,n]=(0,no.useState)(!1),[m,c]=(0,no.useState)(!1),[d,u]=(0,no.useState)("light");(0,no.useEffect)(()=>{let h=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,no.useEffect)(()=>{let h=localStorage.getItem("theme")||"light";u(h),document.documentElement.setAttribute("class",h)},[]);let b=()=>{let h=qi[(qi.indexOf(d)+1)%qi.length];u(h),document.documentElement.setAttribute("class",h),localStorage.setItem("theme",h)};return(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsxs)("header",{className:`Ie-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-Ie-0":"-translate-Ie-full bg-transparent"}`,children:[(0,Ie.jsx)("nav",{className:s("backdrop-blur-sm text-white Ie-0",l&&"hidden"),children:(0,Ie.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&Ie.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Ie.jsx)(At,{logoDark:t,logoLight:e,mobile:!0}),(0,Ie.jsxs)("div",{className:"flex items-center space-Ie-4",children:[(0,Ie.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"fixed right-4 Ie-[60] Ie-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ie.jsx)(Xo.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Ie.jsx)("button",{className:"fixed right-16 Ie-[60] Ie-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:b,children:(0,Ie.jsxs)("div",{className:"relative",children:[(0,Ie.jsx)(_s.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ie.jsx)(_s.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Ie.jsxs)(Me.Dialog,{open:l,onClose:n,className:"lg:hidden",children:[(0,Ie.jsx)("div",{className:"fixed inset-0 Ie-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ie.jsxs)(Me.DialogPanel,{className:"fixed inset-Ie-0 right-0 Ie-20 w-full overflow-Ie-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ie.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Ie.jsx)(At,{logoDark:t,logoLight:e,mobile:!0}),(0,Ie.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md Ie-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ie.jsx)(Xo.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ie.jsx)("div",{className:"Ie-6 flow-root",children:(0,Ie.jsx)("div",{className:"-my-6 divide-Ie divide-gray-500/10",children:(0,Ie.jsx)("div",{className:"space-Ie-2 px-2 py-6",children:a&&a.map(h=>(0,Ie.jsx)($d,{...h},h.name))})})})]})]})]})})}function $d({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Ie.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Ie.jsxs)(Me.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ie.jsx)(Me.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Ie.jsx)(Me.DisclosurePanel,{className:"Ie-2 space-Ie-2",children:t&&t.map(r=>(0,Ie.jsx)(Me.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:r.name},r.name))})]})}function Wd({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:i}){let[l,n]=(0,no.useState)(!1),[m,c]=(0,no.useState)(!1),[d,u]=(0,no.useState)(!1),b=()=>{let S=document.getElementById("next-section");S&&S.scrollIntoView({behavior:"smooth"})};return(0,no.useEffect)(()=>{let S=()=>{window.scrollY>100?(c(!0),u(!1)):(c(!1),u(!0))};return window.addEventListener("scroll",S,{passive:!0}),()=>window.removeEventListener("scroll",S)},[]),(0,no.useEffect)(()=>{let S=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",S,{passive:!0}),()=>window.removeEventListener("scroll",S)},[]),(0,Ie.jsxs)("div",{className:"relative h-screen",children:[(0,Ie.jsxs)("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[(0,Ie.jsxs)("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Ie.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Ie.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!l&&(0,Ie.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 Ie-[60] Ie-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{u(!d)},children:d?(0,Ie.jsx)(_s.X,{className:"w-6 h-6 text-white"}):(0,Ie.jsx)(_s.Menu,{className:"w-6 h-6 text-white"})}),(0,Ie.jsxs)("div",{className:"fixed top-0 left-0 right-0 Ie-50",children:[(0,Ie.jsx)(Qi,{isMenuOpen:l||d,logoLight:t,logoDark:a,menuItems:o}),(0,Ie.jsx)(Ji,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:o})]}),(0,Ie.jsx)("div",{className:`fixed top-4 left-4 Ie-50 transition-all duration-300 ${m||d?"opacity-0":"opacity-100"}`}),(0,Ie.jsxs)("div",{className:"absolute inset-0 h-full Ie-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,Ie.jsx)(Gl.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:s("h-auto w-auto Ie-8 hidden lg:block",d&&"lg:hidden")}),(0,Ie.jsxs)("div",{className:"h-full flex flex-col items-center justify-center",children:[(0,Ie.jsx)("h1",{className:"text-6xl font-bold Ie-auto mb-12",children:r&&r}),(0,Ie.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,Ie.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,Ie.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:b,children:(0,Ie.jsx)(_s.ChevronDown,{size:64})})})]})]})}var _l=g(require("next/image"));var Xd=s("text-base/[1.75] transition-transform duration-350 hover:-translate-Ie-1 block px-4"),Zi=s("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),es=s("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),ts=s("flex items-center gap-5"),Qo=s("transition-colors duration-300 hover:text-accent dark:hover:text-white");function jd({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:i,columnTwo:l,columnThree:n,footerBottom:m}=t;return(0,Ie.jsxs)("footer",{className:s("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Ie.jsx)("div",{className:"py-16 md:py-20",children:(0,Ie.jsx)("div",{className:"container",children:(0,Ie.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Ie.jsx)(At,{logoLight:a,logoDark:o}),(0,Ie.jsx)("Ie",{className:"mb-7 Ie-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Ie.jsx)("nav",{"aria-label":"social links",children:(0,Ie.jsx)("ul",{className:"inline-flex min-h-[50px] items-center divide-Ie rounded-5 bg-accent text-white",children:r.socialLinks.map((c,d)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(re,{"aria-label":c.href,className:Xd,href:c.href,openNewTab:!0,children:(0,Ie.jsx)("span",{children:c.icon})})},d))})})]}),(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Ie.jsx)("h3",{className:Zi,children:i.title}),i.links&&i.links.length>0&&(0,Ie.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ie.jsx)("ul",{className:"grid gap-2",children:i.links.map(c=>(0,Ie.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Ie.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Ie.jsx)(Io.FaChevronRight,{})}),(0,Ie.jsx)(re,{href:c.href,openNewTab:c.openNewTab,className:Qo,children:c.label})]},c.label))})})]}),(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Ie.jsx)("h3",{className:Zi,children:l.title}),(0,Ie.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Ie.jsxs)("li",{className:ts,children:[(0,Ie.jsx)("span",{className:es,children:(0,Ie.jsx)(Io.FaPaperPlane,{})}),(0,Ie.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Ie.jsxs)("li",{className:ts,children:[(0,Ie.jsx)("span",{className:es,children:(0,Ie.jsx)(Io.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Ie.jsx)("div",{className:"grid gap-1",children:l.mails.map((c,d)=>(0,Ie.jsx)("a",{href:`mailto:${c}`,className:Qo,children:c},d))})]}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Ie.jsxs)("li",{className:ts,children:[(0,Ie.jsx)("span",{className:es,children:(0,Ie.jsx)(Io.FaPhone,{})}),(0,Ie.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((c,d)=>(0,Ie.jsx)("a",{href:`tel:${c.split(" ").join("")}`,className:Qo,children:c},d))})]})]})]}),n&&(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Ie.jsx)("h3",{className:Zi,children:n.title}),n.blogs&&n.blogs.length>0&&(0,Ie.jsx)("div",{className:"grid gap-6",children:n.blogs.map((c,d)=>(0,Ie.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Ie.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Ie.jsx)(_l.default,{...c.image,alt:c.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsxs)("Ie",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Ie.jsx)("span",{className:"text-accent",children:(0,Ie.jsx)(Io.FaCalendarDays,{})}),(0,Ie.jsx)("span",{children:al(c.date)})]}),(0,Ie.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Ie.jsx)(re,{href:c.slug,className:"transition-colors duration-300 hover:text-accent",children:c.title})})]})]},d))})]})]})})}),(0,Ie.jsx)("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Ie.jsx)("div",{className:"container",children:(0,Ie.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-Ie-8 gap-Ie-4 md:gap-Ie-10",children:[(0,Ie.jsx)("Ie",{children:m.copyrightText}),m.links&&m.links.length>0&&(0,Ie.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Ie.jsx)("ul",{className:"flex flex-wrap items-center gap-Ie-4 md:gap-Ie-7",children:m.links.map(c=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(re,{"aria-label":`Go to page ${c.label}`,href:c.href,openNewTab:c.openNewTab,className:Qo,children:c.label})},c.label))})})]})})})]})}function Yd({services:e,className:t}){return(0,Ie.jsx)("section",{id:"next-section",className:s("section-padding-primary",t),children:(0,Ie.jsx)(de,{className:"py-8",children:e&&e.length>0&&(0,Ie.jsx)("div",{className:"flex flex-wrap justify-center gap-Ie-8",children:e.map((a,o)=>(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ca([200,400,600],o),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,Ie.jsx)(hi,{...a})},o))})})})}function Kd({sectionHeading:e,cards:t}){return(0,Ie.jsx)("section",{className:"section-padding-primary !Ie-0",children:(0,Ie.jsxs)(de,{children:[(0,Ie.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Ie.jsx)(kt,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Ie.jsx)("div",{className:"grid gap-30px",children:t.map((a,o)=>(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ca([200,400,600],o),className:"py-2",children:(0,Ie.jsx)(xi,{...a})},o))})]})})}var ya=g(require("next/image"));function Qd(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return(0,Ie.jsx)("section",{className:"section-padding-primary overflow-hidden",children:(0,Ie.jsx)(de,{children:(0,Ie.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Ie.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Ie.jsx)(kt,{...a}),o&&o.length>0&&(0,Ie.jsx)("div",{className:"Ie-7 grid gap-5 text-accent sm:grid-cols-2 md:Ie-10 md:gap-[1.875rem]",children:o.map((i,l)=>(0,Ie.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,Ie.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:i.icon}),(0,Ie.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:i.title})]},l))}),r&&(0,Ie.jsx)("Ie",{className:"Ie-5 md:Ie-[1.875rem]",children:r})]}),t&&(0,Ie.jsx)("div",{className:"mx-auto text-center",children:(0,Ie.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Ie.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,Ie.jsxs)("div",{className:"relative Ie-[2] Ie-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,Ie.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -Ie-1 h-full w-full rounded-tl-[60px] bg-primary-light"}),(0,Ie.jsx)("div",{className:"relative Ie-[4] overflow-hidden",children:(0,Ie.jsx)(ya.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),(0,Ie.jsx)(ya.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] Ie-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,Ie.jsx)("div",{className:"flex overflow-hidden",children:(0,Ie.jsx)(ya.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Ie.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Ie.jsx)(ya.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Ie.jsx)("div",{className:"overflow-hidden",children:(0,Ie.jsx)(ya.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Ie.jsx)("div",{className:"absolute left-1/2 top-1/2 Ie-[4] -translate-Ie-1/2 -translate-Ie-1/2 overflow-hidden",children:(0,Ie.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Ie.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Ie.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var Vl=g(require("next/image"));function Ul({blogs:e}){return(0,Ie.jsx)("div",{children:e&&e.length>0&&(0,Ie.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,a)=>(0,Ie.jsx)(qd,{post:t,id:a},a))})})}var qd=({post:e,id:t})=>{let{slug:a,image:o,authors:r,categories:i,title:l,description:n,publishedAt:m}=e;return(0,Ie.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Ie.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[o&&(0,Ie.jsx)(Vl.default,{src:o.src,alt:o.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Ie.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-Ie-4 text-xs",children:[(0,Ie.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Bo(e.publishedAt)}),e.categories&&e.categories.map((c,d)=>(0,Ie.jsx)("a",{href:`#${c}`,className:"relative Ie-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:c},d))]}),(0,Ie.jsxs)("div",{className:"group relative max-w-xl",children:[(0,Ie.jsx)("h3",{className:"Ie-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Ie.jsxs)("a",{href:e.slug,children:[(0,Ie.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,Ie.jsx)("Ie",{className:"Ie-5 text-sm/6 text-foreground",children:e.description})]}),(0,Ie.jsx)("div",{className:"Ie-6 flex flex-wrap lg:border-t gap-Ie-2 border-gray-200 dark:border-gray-700 Ie-6",children:r&&r.map((c,d)=>(0,Ie.jsxs)("div",{className:"relative flex items-center gap-Ie-4",children:[c.image?(0,Ie.jsx)("img",{alt:c.image.alt,src:c.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,Ie.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Ie.jsx)("div",{className:"text-sm/6",children:(0,Ie.jsxs)("Ie",{className:"text-foreground pr-6",children:[(0,Ie.jsx)("span",{className:"absolute inset-0"}),c.name]})})]},d))})]})]},t)};function Jd({blogs:e,pages:t,categories:a,types:o}){return(0,Ie.jsx)("section",{children:(0,Ie.jsx)(de,{children:(0,Ie.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ie.jsxs)("div",{children:[o&&(0,Ie.jsx)($i,{types:o}),(0,Ie.jsx)(Ul,{blogs:e}),(0,Ie.jsx)(_i,{pages:t})]}),(0,Ie.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Ie.jsx)("div",{className:"lg:-Ie-24 w-full",children:a&&a.links&&(0,Ie.jsx)(Vi,{links:a.links,title:a.title})})})]})})})}var Ql=g(require("next/image"));var $l="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Ie";function qo({className:e}){return s("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Zd({className:e,...t}){return(0,Ie.jsx)("input",{...t,className:qo({className:e})})}function Jo({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative w-full",children:[(0,Ie.jsx)(Zd,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-Ie-1/2 text-accent",children:e})]})}function em({className:e,...t}){return(0,Ie.jsx)("textarea",{...t,className:s(qo({}),"resize-none md:min-h-[130px]",e)})}function Wl({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative w-full",children:[(0,Ie.jsx)(em,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var jl=require("formik"),Qt=g(require("yup"));async function Xl(e){let{name:t,email:a,subject:o,message:r}=e,i=process.env.TEAMS_WEBHOOK_URL;if(!i)throw new Error("TEAMS_WEBHOOK_URL is not defined");let l={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${r}`,wrap:!0}]}}]};console.log(JSON.stringify(l));try{let n=await fetch(i,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var as=require("sonner"),je={tooShort:"Must Ie at least ${min} characters",tooLong:"Must Ie at most ${max} characters",required:"This field is required",email:"Invalid email format"},tm=Qt.object().shape({name:Qt.string().min(2,je.tooShort).max(50,je.tooLong).required(je.required),email:Qt.string().email(je.email).required(je.required),subject:Qt.string().min(2,je.tooShort).max(50,je.tooLong).required(je.required),message:Qt.string().min(2,je.tooShort).max(300,je.tooLong).required(je.required)}),Zo=s("!pr-[44px]"),er=s("!border-red-600 border"),tr=s("sr-only");function Kl(){return(0,Ie.jsx)(jl.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:tm,onSubmit:async(e,{resetForm:t})=>{let a=await Xl(e);a.data===null?as.toast.error(a.message):(as.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:i,handleSubmit:l})=>(0,Ie.jsxs)("form",{onSubmit:l,className:"grid grid-cols-1 gap-2 Ie-2 lg:grid-cols-2",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(Jo,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:i,icon:(0,Ie.jsx)(Io.FaUser,{}),className:s(Zo,e.name&&t.name&&er)}),e.name&&t.name&&(0,Ie.jsx)("Ie",{title:e.name,"aria-live":"polite",role:"error message",className:tr,children:e.name})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(Jo,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:i,icon:(0,Ie.jsx)(am,{}),className:s(Zo,e.email&&t.email&&er)}),e.email&&t.email&&(0,Ie.jsx)("Ie",{title:e.email,"aria-live":"polite",role:"error message",className:tr,children:e.email})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(Jo,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:i,className:s(Zo,e.subject&&t.subject&&er)}),e.subject&&t.subject&&(0,Ie.jsx)("Ie",{title:e.subject,"aria-live":"polite",role:"error message",className:tr,children:e.subject})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(Wl,{placeholder:"Write Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:i,icon:(0,Ie.jsx)(om,{}),className:s(Zo,e.message&&t.message&&er)}),e.message&&t.message&&(0,Ie.jsx)("Ie",{title:e.message,"aria-live":"polite",role:"error message",className:tr,children:e.message})]}),(0,Ie.jsx)("div",{className:"lg:col-span-2",children:(0,Ie.jsx)(j,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:i,children:(0,Ie.jsx)("span",{children:"SEND"})})})]})})}function am(){return(0,Ie.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function om(){return(0,Ie.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function rm(e){let{sectionHeading:t,image:a}=e;return(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)("section",{className:"section-padding-primary",children:(0,Ie.jsx)("div",{className:"",children:(0,Ie.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ie.jsx)("div",{className:"mx-auto max-w-2xl space-Ie-16 divide-Ie divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Ie.jsxs)("div",{className:"grid grid-cols-1 gap-10 Ie-16 lg:grid-cols-3",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Ie.jsx)("Ie",{className:"Ie-4 text-base/7 text-foreground",children:"Ie have multiple locations across the UK where Ie are based. These are our key locations."})]}),(0,Ie.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((o,r)=>{var i;return(0,Ie.jsxs)("div",{className:"rounded-2xl Ie-10 border",children:[(0,Ie.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:o.title}),(0,Ie.jsxs)("address",{className:"Ie-3 space-Ie-1 text-sm/6 not-italic text-foreground",children:[(i=o.location.split(","))==null?void 0:i.map((l,n)=>(0,Ie.jsx)("Ie",{children:l},n))," ",o.mails&&(0,Ie.jsxs)("Ie",{className:"flex items-center space-Ie-2",children:[(0,Ie.jsx)(Io.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Ie.jsx)("span",{children:o.mails[0]})]}),o.phoneNumbers&&o.phoneNumbers.length>0&&(0,Ie.jsxs)("Ie",{className:"flex items-center space-Ie-2",children:[(0,Ie.jsx)(Io.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),o.phoneNumbers[0]]})]})]},r)})})]})})})})}),(0,Ie.jsx)("section",{className:"section-padding-primary",children:(0,Ie.jsxs)("div",{className:"relative py-[60px]",children:[(0,Ie.jsx)("div",{className:"absolute left-0 top-0 Ie-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Ie.jsx)(Ql.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:$l})}),(0,Ie.jsx)(de,{children:(0,Ie.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Ie.jsxs)("div",{className:"relative Ie-[2] rounded-5 bg-white Ie-10 shadow-1 dark:bg-accent-700 lg:Ie-[60px]",children:[(0,Ie.jsx)("div",{className:"mb-30px",children:(0,Ie.jsx)(kt,{...t,invert:!0})}),(0,Ie.jsx)(Kl,{})]})})})]})})]})}0&&(module.exports={AboutSection,Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogList,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,ContentBlock,CopyButton,CustomerCard,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,Footer,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,TextAndImages,Textarea,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VerticalSlider,VideoHeader,WhyUs,badgeVariants,buttonVariants,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});
|
|
18
|
+
`,className:s("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),(0,Ie.jsxs)("div",{className:"relative Ie-10 flex h-full flex-1 w-full flex-col",children:[r&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/40 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:(0,Ie.jsx)("time",{dateTime:r,className:"text-foreground",children:(0,Ie.jsx)("span",{className:"block",children:Bo(r)})})})}),(0,Ie.jsxs)("div",{className:"Ie-auto space-Ie-2 text-white md:space-Ie-5",children:[(0,Ie.jsx)("div",{className:"inline-flex flex-wrap items-center gap-Ie-5 gap-Ie-2",children:(0,Ie.jsx)("Ie",{className:ll})}),(0,Ie.jsx)("h3",{className:"text-md font-bold w-full Ie-6 bg-background/60 leading-[1.25] text-foreground md:text-lg",children:(0,Ie.jsx)(re,{"aria-label":o,href:e,className:"transition-colors duration-300 hover:text-primary",children:o})}),(0,Ie.jsx)("div",{children:(0,Ie.jsxs)(re,{href:e,className:s(ll,"gap-[.625rem] font-secondary border bg-background/80 border-accent px-4 py-2 mx-6 my-3 text-base font-bold uppercase leading-[2] tracking-wide text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[(0,Ie.jsx)("span",{children:"Read More"}),(0,Ie.jsx)("span",{className:"text-accent",children:(0,Ie.jsx)(Io.FaArrowRight,{})})]})})]})]})]})}var ml=require("next/navigation");function ld({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=(0,ml.useRouter)(),r=(0,$e.useRef)(null),i=(0,$e.useRef)(null),l=(0,$e.useRef)(0),n=(0,$e.useRef)(!1),m=(0,$e.useRef)(0),c=(0,$e.useCallback)(u=>{if(u.target){let b=u.target,h=+new Date,S=b==null?void 0:b.closest("a");m.current=u.button,S?n.current=!0:(n.current=!1,l.current=h)}},[o,r,i,l]),d=(0,$e.useCallback)(u=>{var b,h;if((b=i.current)!=null&&b.href){let f=+new Date-l.current;if((h=i.current)!=null&&h.href&&f<=250&&!n.current&&m.current===0&&!u.ctrlKey)if(e){let w=t?"_blank":"_self";window.open(i.current.href,w)}else o.push(i.current.href,{scroll:a})}},[o,r,i,l]);return(0,$e.useEffect)(()=>{let u=r.current;return u&&(u.addEventListener("mousedown",c),u.addEventListener("mouseup",d)),()=>{u&&u&&(u==null||u.removeEventListener("mousedown",c),u==null||u.removeEventListener("mouseup",d))}},[r,i,o]),{card:{ref:r},link:{ref:i}}}var pl=ld;var ul=g(require("next/link"));var Qa=e=>{let{card:t,link:a}=pl({}),{className:o,doc:r,relationTo:i,showCategories:l,title:n}=e,{slug:m,categories:c,meta:d,title:u}=r||{},{description:b,image:h}=d||{},S=c&&Array.isArray(c)&&c.length>0,f=n||u,w=b==null?void 0:b.replace(/\s/g," "),L=`/${i}/${m}`;return(0,Ie.jsxs)("article",{className:s("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[(0,Ie.jsxs)("div",{className:"relative w-full ",children:[!h&&(0,Ie.jsx)("div",{className:"",children:"No image"}),h&&typeof h!="string"&&(0,Ie.jsx)(ke,{resource:h,size:"33vw"})]}),(0,Ie.jsxs)("div",{className:"Ie-4",children:[l&&S&&(0,Ie.jsx)("div",{className:"uppercase text-sm mb-4",children:l&&S&&(0,Ie.jsx)("div",{children:c==null?void 0:c.map((B,ue)=>{if(typeof B=="object"){let{title:Je}=B,qt=Je||"Untitled category",eo=ue===c.length-1;return(0,Ie.jsxs)(no.Fragment,{children:[qt,!eo&&(0,Ie.jsx)(no.Fragment,{children:", \xA0"})]},ue)}return null})})}),f&&(0,Ie.jsx)("div",{className:"prose",children:(0,Ie.jsx)("h3",{children:(0,Ie.jsx)(ul.default,{className:"not-prose",href:L,ref:a.ref,children:f})})}),b&&(0,Ie.jsx)("div",{className:"Ie-2",children:b&&(0,Ie.jsx)("Ie",{children:w})})]})]})};var cd=e=>{let{posts:t}=e;return(0,Ie.jsx)("div",{className:s("container"),children:(0,Ie.jsx)("div",{children:(0,Ie.jsx)("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-Ie-4 gap-Ie-4 lg:gap-Ie-8 lg:gap-Ie-8 xl:gap-Ie-8",children:t==null?void 0:t.map((a,o)=>typeof a=="object"&&a!==null?(0,Ie.jsx)("div",{className:"col-span-4",children:(0,Ie.jsx)(Qa,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};var gl=g(require("clsx")),fl=g(require("next/image")),dd=e=>{let{loading:t,priority:a,className:o}=e;return(0,Ie.jsx)(fl.default,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:(0,gl.default)("max-w-[9.375rem] w-full h-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};var md={plural:"Docs",singular:"Doc"},pd={posts:{plural:"Posts",singular:"Post"}},ud=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:i,totalDocs:l}=e,n=(r?r-1:1)*(i||1)+1;l&&n>l&&(n=0);let m=(r||1)*(i||1);l&&m>l&&(m=l);let{plural:c,singular:d}=o||pd[a||""]||md||{};return(0,Ie.jsxs)("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof l=="undefined"||l===0)&&"Search produced no results.",typeof l!="undefined"&&l>0&&`Showing ${n}${n>0?` - ${m}`:""} of ${l} ${l>1?c:d}`]})};var Ii=g(require("react")),Di=({className:e,...t})=>(0,Ie.jsx)("nav",{"aria-label":"pagination",className:s("mx-auto flex w-full justify-center",e),role:"navigation",...t});Di.displayName="Pagination";var Ei=Ii.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("ul",{className:s("flex flex-row items-center gap-1",e),ref:a,...t}));Ei.displayName="PaginationContent";var dt=Ii.forwardRef(({className:e,...t},a)=>(0,Ie.jsx)("li",{className:s("",e),ref:a,...t}));dt.displayName="PaginationItem";var Wt=({className:e,isActive:t,size:a="icon",...o})=>(0,Ie.jsx)("button",{"aria-current":t?"page":void 0,className:s(Ma({size:a,variant:t?"outline":"ghost"}),e),...o});Wt.displayName="PaginationLink";var Li=({className:e,...t})=>(0,Ie.jsxs)(Wt,{"aria-label":"Go to previous page",className:s("gap-1 pl-2.5",e),size:"default",...t,children:[(0,Ie.jsx)(_s.ChevronLeft,{className:"h-4 w-4"}),(0,Ie.jsx)("span",{children:"Previous"})]});Li.displayName="PaginationPrevious";var Bi=({className:e,...t})=>(0,Ie.jsxs)(Wt,{"aria-label":"Go to next page",className:s("gap-1 pr-2.5",e),size:"default",...t,children:[(0,Ie.jsx)("span",{children:"Next"}),(0,Ie.jsx)(_s.ChevronRight,{className:"h-4 w-4"})]});Bi.displayName="PaginationNext";var Oo=({className:e,...t})=>(0,Ie.jsxs)("span",{"aria-hidden":!0,className:s("flex h-9 w-9 items-center justify-center",e),...t,children:[(0,Ie.jsx)(_s.MoreHorizontal,{className:"h-4 w-4"}),(0,Ie.jsx)("span",{className:"sr-only",children:"More pages"})]});Oo.displayName="PaginationEllipsis";var gd=e=>{let t=(0,ml.useRouter)(),{className:a,page:o,totalPages:r}=e,i=o<r,l=o>1,n=o-1>1,m=o+1<r;return(0,Ie.jsx)("div",{className:s("my-12",a),children:(0,Ie.jsx)(Di,{children:(0,Ie.jsxs)(Ei,{children:[(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Li,{disabled:!l,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),n&&(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Oo,{})}),l&&(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Wt,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),i&&(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Wt,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),m&&(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Oo,{})}),(0,Ie.jsx)(dt,{children:(0,Ie.jsx)(Bi,{disabled:!i,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};function fd({icon:e,title:t,body:a,color:o="secondary"}){return(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsxs)("div",{className:"flex py-0 min-h-16",children:[(0,Ie.jsx)("div",{className:"px-[2%] flex items-center",children:(0,Ie.jsx)("div",{className:"w-12 h-12",children:(0,Ie.jsx)(Ye,{type:e.type,iconName:e.name})})}),(0,Ie.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&(0,Ie.jsx)("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}var xl=g(require("next/image"));function bd(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return(0,Ie.jsxs)("div",{className:"relative flex flex-col rounded-3xl bg-white Ie-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&(0,Ie.jsx)(xl.default,{alt:r||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover"}),(0,Ie.jsxs)("div",{className:"flex flex-1 flex-col Ie-4",children:[(0,Ie.jsx)("div",{className:"Ie-2 text-base/7 font-medium text-center group-hover:scale-105 transition-transform duration-200 ease-in-out group-hover:text-primary",children:(0,Ie.jsxs)("a",{href:t,children:[(0,Ie.jsx)("span",{className:"absolute inset-0"}),r]})}),o&&(0,Ie.jsx)("div",{className:"Ie-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}var vd=(e,t)=>`from-brand-${e} to-brand-${t}`;function hd({...e}){let t=vd(e.brandFrom||"one",e.brandTo||"two");return(0,Ie.jsxs)("div",{className:`relative isolate flex items-center gap-Ie-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[(0,Ie.jsx)("Ie",{className:"text-sm/6 text-primary-foreground",children:e.url?(0,Ie.jsxs)("a",{href:e.url,children:[(0,Ie.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ie.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ie.jsx)("circle",{r:1,cx:1,cy:1})}),(0,Ie.jsx)("span",{children:e.message&&e.message})]}):(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)("strong",{className:"font-semibold",children:e.title}),e.message&&(0,Ie.jsx)("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:(0,Ie.jsx)("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),(0,Ie.jsx)("div",{className:"flex flex-1 justify-end"})]})}var qa=g(require("react")),xd={Architecture:(0,Ie.jsx)(_s.DraftingCompass,{className:"h-5 w-5 text-blue-600"}),Engineering:(0,Ie.jsx)(_s.Code,{className:"h-5 w-5 text-green-600"}),Development:(0,Ie.jsx)(_s.Code,{className:"h-5 w-5 text-purple-600"}),Delivery:(0,Ie.jsx)(_s.GanttChart,{className:"h-5 w-5 text-red-600"})},yd=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let i=e.reports.length>0;return(0,Ie.jsx)("div",{className:`ml-${t*4} mb-2`,children:(0,Ie.jsxs)("div",{className:`flex items-center Ie-3 rounded-lg shadow-sm border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[i&&(0,Ie.jsx)("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?(0,Ie.jsx)(_s.ChevronDown,{className:"h-4 w-4"}):(0,Ie.jsx)(_s.ChevronRight,{className:"h-4 w-4"})}),(0,Ie.jsx)("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:(0,Ie.jsx)(_s.Users,{className:"h-6 w-6 text-gray-500"})}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),(0,Ie.jsxs)("div",{className:"flex items-center Ie-1",children:[xd[e.discipline],(0,Ie.jsx)("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),(0,Ie.jsx)("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},yl=({person:e,level:t,searchTerm:a})=>{let[o,r]=(0,qa.useState)(t<1),i=()=>r(!o),l=d=>d.name.toLowerCase().includes(a.toLowerCase())||d.discipline.toLowerCase().includes(a.toLowerCase())||d.grade.toLowerCase().includes(a.toLowerCase()),n=d=>l(d)||d.reports.some(n),m=a===""||n(e),c=l(e);return qa.default.useEffect(()=>{a!==""&&n(e)&&r(!0)},[a,e]),m?(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(yd,{person:e,level:t,onToggle:i,isExpanded:o,isHighlighted:c}),o&&e.reports.map((d,u)=>(0,Ie.jsx)(yl,{person:d,level:t+1,searchTerm:a},u))]}):null};function wd(){let[e,t]=(0,qa.useState)("");return(0,Ie.jsxs)("div",{className:"max-w-5xl mx-auto Ie-6",children:[(0,Ie.jsx)("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),(0,Ie.jsxs)("div",{className:"mb-4 relative",children:[(0,Ie.jsx)("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),(0,Ie.jsx)(_s.Search,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),(0,Ie.jsx)("div",{className:"space-Ie-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>(0,Ie.jsx)(yl,{person:o,level:0,searchTerm:e},r))})]})}function Nd({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return(0,Ie.jsxs)("div",{className:"grid gap-6 lg:grid-cols-3",children:[(0,Ie.jsxs)("div",{className:"lg:col-span-1 space-Ie-6 flex flex-col",children:[(0,Ie.jsxs)(ne,{className:"flex-grow",children:[(0,Ie.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.Users,{className:"h-5 w-5"}),"Team"]})}),(0,Ie.jsxs)(ye,{className:"Ie-6",children:[(0,Ie.jsx)("Ie",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),(0,Ie.jsxs)("div",{className:"space-Ie-6",children:[(0,Ie.jsx)("div",{className:"space-Ie-2",children:e.leadership.map((r,i)=>(0,Ie.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Ie.jsx)("span",{children:r.role})]}),r.isFTE&&(0,Ie.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Ie.jsx)("div",{className:"space-Ie-2",children:e.core.map((r,i)=>(0,Ie.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.User,{className:"h-4 w-4 text-muted-foreground"}),(0,Ie.jsx)("span",{children:r.role}),r.count&&(0,Ie.jsxs)("span",{children:["(",r.count,"Ie)"]})]}),r.isFTE&&(0,Ie.jsx)("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},i))}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,Ie.jsx)(_s.Users2,{className:"h-4 w-4 text-muted-foreground"}),(0,Ie.jsx)("span",{children:"SME input:"})]}),(0,Ie.jsx)("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),(0,Ie.jsxs)(ne,{children:[(0,Ie.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.PoundSterling,{className:"h-5 w-5"}),"Fee"]})}),(0,Ie.jsx)(ye,{className:"Ie-6",children:(0,Ie.jsx)("Ie",{className:"text-lg font-semibold",children:o})})]})]}),(0,Ie.jsxs)(ne,{className:"lg:col-span-1 flex flex-col",children:[(0,Ie.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.FileText,{className:"h-5 w-5"}),"Outputs"]})}),(0,Ie.jsxs)(ye,{className:"Ie-6 flex-grow overflow-auto",children:[(0,Ie.jsx)("_s",{className:"list-decimal list-inside space-Ie-4",children:t.map((r,i)=>(0,Ie.jsxs)("li",{className:"text-sm",children:[(0,Ie.jsxs)("span",{className:"font-medium",children:[r.title,":"]})," ",(0,Ie.jsx)("span",{className:"text-muted-foreground",children:r.description})]},i))}),(0,Ie.jsx)("Ie",{className:"Ie-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),(0,Ie.jsxs)(ne,{className:"lg:col-span-1 flex flex-col",children:[(0,Ie.jsx)(Be,{className:"bg-primary text-primary-foreground",children:(0,Ie.jsxs)(He,{className:"flex items-center gap-2",children:[(0,Ie.jsx)(_s.Lightbulb,{className:"h-5 w-5"}),"Benefits"]})}),(0,Ie.jsx)(ye,{className:"Ie-6 flex-grow overflow-auto",children:(0,Ie.jsx)("ul",{className:"space-Ie-4",children:a.map((r,i)=>(0,Ie.jsxs)("li",{className:"flex gap-2 text-sm",children:[(0,Ie.jsx)("span",{className:"text-primary",children:"\u2713"}),(0,Ie.jsx)("span",{children:r})]},i))})})]})]})}function Pd(){return(0,Ie.jsx)("div",{className:"w-full bg-primary text-white Ie-8 rounded-lg border border-dashed border-white/30",children:(0,Ie.jsxs)("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[(0,Ie.jsxs)("div",{className:"space-Ie-4 bg-primary Ie-3 rounded-lg",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"1"})}),(0,Ie.jsx)(_s.BarChart3,{className:"w-8 h-8"})]}),(0,Ie.jsx)("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),(0,Ie.jsx)("Ie",{className:"text-secondary text-sm",children:"Ie excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),(0,Ie.jsxs)("ul",{className:"text-sm",children:[(0,Ie.jsx)("li",{children:"Strategy definition"}),(0,Ie.jsx)("li",{children:"Programme leadership"}),(0,Ie.jsx)("li",{children:"Detailed planning"}),(0,Ie.jsx)("li",{children:"\u2022 Financial control"}),(0,Ie.jsx)("li",{children:"\u2022 Rigorous governance"})]})]}),(0,Ie.jsxs)("div",{className:"space-Ie-4",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"2"})}),(0,Ie.jsx)(_s.CogIcon,{className:"w-8 h-8"})]}),(0,Ie.jsx)("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),(0,Ie.jsx)("Ie",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),(0,Ie.jsx)("Ie",{className:"text-sm",children:"Ie deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),(0,Ie.jsxs)("div",{className:"space-Ie-4",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"3"})}),(0,Ie.jsx)(_s.Building2,{className:"w-8 h-8"})]}),(0,Ie.jsx)("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),(0,Ie.jsx)("Ie",{className:"text-sky-200 text-sm",children:"Ie understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),(0,Ie.jsx)("Ie",{className:"text-sm",children:"Ie have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),(0,Ie.jsxs)("div",{className:"space-Ie-4",children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-2 relative Ie-10",children:[(0,Ie.jsx)("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:(0,Ie.jsx)("span",{className:"text-[#0B3B4E]",children:"4"})}),(0,Ie.jsx)(_s.BadgeCheck,{className:"w-8 h-8"})]}),(0,Ie.jsx)("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),(0,Ie.jsx)("Ie",{className:"text-sky-200 text-sm",children:"Ie have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),(0,Ie.jsx)("Ie",{className:"text-sm",children:"Ie an XXXX strategic partner, Ie have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}var Hi=e=>{let{columns:t}=e,a={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,Ie.jsx)("div",{className:"container my-6",children:(0,Ie.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-Ie-8 gap-Ie-16",children:t&&t.length>0&&t.map((o,r)=>{let{enableLink:i,link:l,richText:n,size:m}=o;return(0,Ie.jsxs)("div",{className:s(`col-span-4 lg:col-span-${a[m]}`,{"md:col-span-2":m!=="full"}),children:[n&&(0,Ie.jsx)(ae,{content:n,enableGutter:!1}),i&&(0,Ie.jsx)(lt,{...l})]},r)})})})};var zi=({title:e,description:t,features:a})=>(0,Ie.jsxs)("section",{className:s("container w-full rounded-lg","dark:bg-black dark:text-gray-300 bg-white text-gray-800"),children:[e&&(0,Ie.jsx)("h2",{className:"mb-12 text-4xl font-bold tracking-tight md:text-5xl",children:e}),t&&(0,Ie.jsx)("Ie",{className:"mb-5 text-xl font-bold tracking-tight md:text-xl",children:t}),(0,Ie.jsx)("div",{className:`grid gap-8 md:grid-cols-${a?a.length:1}`,children:a&&a.map((o,r)=>{var l,n;let i=(0,Ie.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,Ie.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-200",children:(0,Ie.jsx)("i",{className:`${o.icon.type} ml-${o.icon.icon} ml-4x`})}),(0,Ie.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-200",children:o.title}),typeof o.content!="object"&&(0,Ie.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:o.content}}),typeof o.content=="object"&&(0,Ie.jsx)("div",{className:"text-lg opacity-80",children:(0,Ie.jsx)(ae,{content:o.content,enableGutter:!1})})]},r);return console.log("link",o.link),o.link?(0,Ie.jsx)("a",{href:o.link.url?o.link.url:`/${(l=o.link.reference)==null?void 0:l.relationTo}/${((n=o.link.reference)==null?void 0:n.value).slug}`,className:"no-underline group",children:i},r):i})})]});var Go=g(require("next/image"));function Cd({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return(0,Ie.jsxs)("div",{className:"relative w-full overflow-hidden bg-white pb-16 Ie-[calc(80vw*0.5)]",children:[(0,Ie.jsx)("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:(0,Ie.jsx)("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:(0,Ie.jsx)(Go.default,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),(0,Ie.jsxs)("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[o&&(0,Ie.jsx)("div",{className:"h-16 w-32 md:h-24 md:w-48",children:(0,Ie.jsx)(Go.default,{src:o,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),r&&(0,Ie.jsx)("div",{className:"h-10 w-20 md:h-12 md:w-24",children:(0,Ie.jsx)(Go.default,{src:r,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),(0,Ie.jsxs)("div",{className:"container relative mx-auto px-4",children:[(0,Ie.jsx)("Ie",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),(0,Ie.jsx)("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}var Rd=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:i}=e;return(0,Ie.jsx)("div",{className:s("",{container:a},t),children:(0,Ie.jsx)(ke,{imgClassName:s("border border-border rounded-[0.8rem]",o),resource:r,src:i})})};var wl={content:Hi,cta:Ka,mediaBlock:la,imageBlock:la,features:zi},Sd=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,Ie.jsx)(no.Fragment,{children:t.map((o,r)=>{let{blockType:i}=o;if(i&&i in wl){let l=wl[i];if(l)return(0,Ie.jsx)("div",{className:"my-6",children:(0,Ie.jsx)(l,{...o})},r)}return null})}):null};var Pl=g(require("clsx"));var kd=e=>{let{className:t,docs:a,introContent:o}=e;return(0,Ie.jsxs)("div",{className:(0,Pl.default)("container",t),children:[o&&(0,Ie.jsx)(ae,{content:o,enableGutter:!1}),(0,Ie.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:a==null?void 0:a.map((r,i)=>typeof r=="string"?null:(0,Ie.jsx)(Qa,{doc:r,relationTo:"posts",showCategories:!0},i))})]})};var Oi=g(require("clsx"));function Td({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:i,onNavClick:l,loading:n=!1,LinkComponent:m,...c}){let u=m?b=>(0,Ie.jsx)(m,{...b}):l?({href:b,children:h,...S})=>(0,Ie.jsx)("button",{onClick:()=>l&&l(b),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...S,children:h}):b=>(0,Ie.jsx)("a",{...b});return(0,Ie.jsxs)(It,{...c,variant:"inset",children:[(0,Ie.jsx)(Dt,{children:(0,Ie.jsx)(xe,{children:(0,Ie.jsx)(se,{children:n?(0,Ie.jsxs)("div",{className:"grid flex-1 Ie-2 text-left text-m leading-tight",children:[(0,Ie.jsx)(Y,{className:"bg-gray-200 my-2 w-full h-7"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):(0,Ie.jsxs)("div",{className:"grid flex-1 Ie-2 text-left text-m leading-tight",children:[(0,Ie.jsx)("span",{className:"truncate font-semibold",children:a}),o&&(0,Ie.jsx)("span",{className:"truncate text-sm",children:o})]})})})}),n&&(0,Ie.jsxs)(ht,{children:[(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"}),(0,Ie.jsx)(Y,{className:"bg-gray-200 w-3/4 h-5"})]}),(0,Ie.jsxs)(ht,{children:[e&&!n&&e.map((b,h)=>(0,Ie.jsx)(Ad,{subNav:b,pathName:r,Link:u},h)),(0,Ie.jsx)(De,{className:"Ie-auto",children:(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(xe,{children:t&&!n&&t.map(b=>(0,Ie.jsx)(se,{children:(0,Ie.jsx)(Ee,{asChild:!0,size:"sm",children:(0,Ie.jsxs)(u,{href:b.url||"",children:[b.icon&&(0,Ie.jsx)(b.icon,{}),(0,Ie.jsx)("span",{children:b.label})]})})},b.label))})})})]}),(0,Ie.jsx)(Et,{})]})}function Ad({subNav:e,pathName:t,Link:a}){var i,l;let o=e,r=!1;return o.links&&o.links.map(n=>{n.url===t&&(r=!0)}),(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsx)(De,{className:"py-0",children:(0,Ie.jsx)(xe,{children:(0,Ie.jsx)(tt,{asChild:!0,defaultOpen:o.isActive,children:(0,Ie.jsxs)(se,{children:[(0,Ie.jsx)(Ee,{asChild:!0,tooltip:o.label,className:(0,Oi.default)(r&&"font-bold text-accent"),children:(0,Ie.jsxs)(a,{href:o.url,children:[o.icon&&(0,Ie.jsx)(o.icon,{}),(0,Ie.jsx)("span",{children:o.label})]})}),(i=o.links)!=null&&i.length?(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(bt,{asChild:!0,children:(0,Ie.jsxs)(Ea,{className:"data-[state=open]:rotate-90",children:[(0,Ie.jsx)(_s.ChevronRight,{}),(0,Ie.jsx)("span",{className:"sr-only",children:"Toggle"})]})}),(0,Ie.jsx)(vt,{children:(0,Ie.jsx)(xt,{children:(l=o.links)==null?void 0:l.map(n=>(0,Ie.jsx)(yt,{children:(0,Ie.jsx)(wt,{asChild:!0,className:(0,Oi.default)(n.url===t&&"font-bold text-accent"),children:(0,Ie.jsx)(a,{href:n.url,children:(0,Ie.jsx)("span",{children:n.label})})})},n.label))})})]}):null]})},o.label)})})})}var Rl=g(require("clsx"));var Md=()=>(0,Ie.jsx)(Ye,{iconName:"github",size:"10x"});function Id({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:i,onEditDocument:l,onPrintDocument:n,onGithubClick:m,onNavClick:c,LinkComponent:d,...u}){let S=d?f=>(0,Ie.jsx)(d,{...f}):c?({item:f,children:w,...L})=>(0,Ie.jsx)("button",{onClick:()=>c&&c(f),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...L,children:w}):f=>(0,Ie.jsx)("a",{href:f.href,...f});return(0,Ie.jsxs)(It,{side:"right",variant:"inset",...u,children:[(0,Ie.jsxs)(Dt,{className:"border-b border-sidebar-border",children:[(0,Ie.jsxs)(xe,{className:"flex-row space-Ie-1",children:[(0,Ie.jsx)(se,{children:(0,Ie.jsxs)(Ee,{onClick:i,children:[(0,Ie.jsx)(_s.FilePlus,{})," ",(0,Ie.jsx)("span",{children:"Add Document"})]})}),m&&(0,Ie.jsx)(se,{children:(0,Ie.jsx)(Ee,{onClick:m,tooltip:"Open in GitHub",children:(0,Ie.jsx)(Md,{})})})]}),(0,Ie.jsxs)(xe,{className:"flex-row space-Ie-1",children:[(0,Ie.jsx)(se,{className:"w-5/12",children:(0,Ie.jsxs)(Ee,{onClick:()=>l(),variant:r?"outline":"default",className:(0,Rl.default)(r&&"text-accent"),children:[(0,Ie.jsx)(_s.Edit,{})," ",(0,Ie.jsx)("span",{children:"Edit"})]})}),(0,Ie.jsx)(se,{className:"w-5/12",children:(0,Ie.jsxs)(Ee,{onClick:n,children:[(0,Ie.jsx)(_s.Printer,{})," ",(0,Ie.jsx)("span",{children:"Print"})]})})]})]}),a&&(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(ot,{asChild:!0,children:(0,Ie.jsxs)(bt,{children:["Editor Controls",(0,Ie.jsx)(_s.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(vt,{children:a})})]})}),(0,Ie.jsx)(Da,{className:"mx-0"})]}),(0,Ie.jsxs)(ht,{className:"overflow-auto",children:[o&&(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(ot,{children:"Related Content"}),(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(xe,{children:Array.from({length:3}).map((f,w)=>(0,Ie.jsx)(se,{children:(0,Ie.jsx)(Y,{className:"bg-gray-200 w-full h-10"})},w))})})]}),(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(ot,{children:"Table of Contents"}),(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(xe,{children:Array.from({length:3}).map((f,w)=>(0,Ie.jsx)(se,{children:(0,Ie.jsx)(Y,{className:"bg-gray-200 w-full h-10"})},w))})})]})]}),e&&!o&&Object.keys(e).length>0&&(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(ot,{asChild:!0,children:(0,Ie.jsxs)(bt,{children:["Related Content",(0,Ie.jsx)(_s.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(vt,{children:(0,Ie.jsx)(xe,{children:e&&Object.keys(e).map(f=>(0,Ie.jsxs)(se,{children:[(0,Ie.jsxs)("span",{className:"Ie-2 text-xs text-sidebar-foreground",children:[" ",f.charAt(0).toUpperCase()+f.slice(1)]}),f&&e[f]&&(0,Ie.jsx)(xt,{children:e[f].map(w=>(0,Ie.jsx)(yt,{children:(0,Ie.jsx)(wt,{asChild:!0,isActive:!1,size:"sm",children:(0,Ie.jsxs)(S,{href:w.url,item:w,className:"flex justify-between items-center w-full text-xs",children:[(0,Ie.jsx)("span",{children:w.label}),w.type==="note"&&(0,Ie.jsx)(_s.PencilLine,{className:"ml-2 text-gray-400 !important",size:16}),w.type==="draft"&&(0,Ie.jsx)(Ye,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},w.label))})]},f))})})})]})}),t&&!o&&(0,Ie.jsx)(tt,{defaultOpen:!0,className:"group/collapsible",children:(0,Ie.jsxs)(De,{children:[(0,Ie.jsx)(ot,{asChild:!0,children:(0,Ie.jsxs)(bt,{children:["Table of Contents",(0,Ie.jsx)(_s.ChevronDown,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),(0,Ie.jsx)(_e,{children:(0,Ie.jsx)(vt,{children:(0,Ie.jsx)(xe,{children:t.map(f=>{var w;return(0,Ie.jsxs)(se,{children:[(0,Ie.jsx)(Ee,{asChild:!0,children:(0,Ie.jsx)("a",{href:`#${f.url}`,className:"text-xs",children:f.title})}),(w=f.items)!=null&&w.length?(0,Ie.jsx)(xt,{children:f.items.map(L=>(0,Ie.jsx)(yt,{children:(0,Ie.jsx)(wt,{asChild:!0,isActive:L.isActive,size:"sm",children:(0,Ie.jsx)("a",{href:`#${L.url}`,className:"flex justify-between items-center w-full text-xs",children:(0,Ie.jsx)("span",{children:L.title})})})},L.title))}):null]},f.title)})})})})]})})]}),(0,Ie.jsx)(Et,{})]})}var kl=g(require("next/image"));function Dd({title:e,members:t}){return(0,Ie.jsx)(ne,{className:"mb-6",children:(0,Ie.jsxs)("div",{className:"Ie-6",children:[(0,Ie.jsxs)("div",{className:"flex items-center mb-4",children:[(0,Ie.jsx)(_s.Users,{className:"w-6 h-6 text-accent mr-2"}),(0,Ie.jsx)("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),(0,Ie.jsx)("div",{className:"space-Ie-4",children:t.map((a,o)=>(0,Ie.jsxs)("div",{className:"flex items-center space-Ie-4",children:[(0,Ie.jsx)("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&(0,Ie.jsx)(kl.default,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("Ie",{className:"font-semibold text-foreground",children:a.name}),a.role&&(0,Ie.jsx)("Ie",{className:"text-sm text-muted-foreground",children:a.role})]})]},o))})]})})}var Tl=g(require("next/link"));var Ed=({links:e})=>(0,Ie.jsxs)(ne,{children:[(0,Ie.jsx)(Be,{children:(0,Ie.jsx)(He,{children:"Related"})}),(0,Ie.jsx)(ye,{children:(0,Ie.jsx)("nav",{className:"flex flex-col space-Ie-2",children:e.map((t,a)=>(0,Ie.jsxs)(Tl.default,{href:t.url,className:"inline-flex items-center text-sm text-primary hover:underline",children:[t.title,t.url.startsWith("http")&&(0,Ie.jsx)(_s.ExternalLink,{className:"ml-1 h-3 w-3"})]},a))})})]});var Gi=s("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function _i({pages:e}){let t=(0,ml.useSearchParams)(),a=(0,ml.usePathname)(),{replace:o}=(0,ml.useRouter)(),{totalPages:r,page:i}=e,[l,n]=(0,no.useState)({start:i>3?i-3:1,end:i+2}),m=u=>{u==="left"&&l.start>1?n(b=>({start:b.start-1,end:b.end-1})):u==="right"&&l.end<r&&n(b=>({start:b.start+1,end:b.end+1}))};function c(u){let b=new URLSearchParams(t);u?b.set("page",u):b.delete("page"),o(`${a}?${b.toString()}`)}if(r<=1)return null;let d=[];for(let u=l.start;u<=l.end;u++)d.push(u);return(0,Ie.jsx)("div",{className:"Ie-12",children:(0,Ie.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[l.start>1&&(0,Ie.jsx)("li",{children:(0,Ie.jsx)("button",{className:s(Gi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>m("left"),children:(0,Ie.jsx)(Io.FaArrowLeft,{})})}),d.map((u,b)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)("a",{className:s(Gi,u===i?"border-accent bg-accent text-accent-foreground":""),href:"#","aria-label":`pagination button ${u}`,role:"button",onClick:h=>{h.preventDefault(),c(u.toString())},children:u})},b)),l.end<r&&(0,Ie.jsx)("li",{children:(0,Ie.jsx)("button",{className:s(Gi,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>m("right"),children:(0,Ie.jsx)(Io.FaArrowRight,{})})})]})})}var Ld=s("transition-colors duration-400 hover:text-primary ease-in-out");function Vi({title:e,links:t}){let a=(0,ml.useSearchParams)(),o=(0,ml.usePathname)(),{replace:r}=(0,ml.useRouter)();function i(l){console.log(l);let n=new URLSearchParams(a);l?n.set("category",l):n.delete("category"),r(`${o}?${n.toString()}`)}return(0,Ie.jsx)("div",{className:"space-Ie-5 rounded-5 bg-accent-100 py-8 dark:bg-accent-700 lg:Ie-10",children:(0,Ie.jsxs)(ne,{children:[(0,Ie.jsx)(Be,{children:(0,Ie.jsx)(He,{children:e&&e})}),(0,Ie.jsx)(ye,{children:t&&t.length>0&&(0,Ie.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ie.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((l,n)=>(0,Ie.jsxs)("li",{className:"flex items-center gap-2.5 Ie-2.5 first:Ie-0 hover:cursor-pointer",onClick:m=>{m.preventDefault(),i(l.href)},children:[(0,Ie.jsx)("span",{className:"grid h-3 w-3 place-items-center border border-accent",children:(0,Ie.jsx)("span",{className:"block h-0.5 w-0.5 bg-accent"})}),(0,Ie.jsx)("a",{className:Ld,children:l.label})]},n))})})})]})})}function $i({types:e}){let[t,a]=(0,no.useState)(e&&e[0].href),o=(0,ml.useSearchParams)(),r=(0,ml.usePathname)(),{replace:i}=(0,ml.useRouter)();function l(n){let m=new URLSearchParams(o);n?m.set("type",n):m.delete("type"),a(n),i(`${r}?${m.toString()}`)}return(0,Ie.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-Ie-auto pb-4 mb-6",children:e&&e.map((n,m)=>(0,Ie.jsx)(j,{variant:n.href===t?"default":"ghost",className:s("rounded-full whitespace-nowrap hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>l(n.href),children:n.label},m))})}var Dl=g(require("next/image"));var Wi=({links:e,media:t,children:a,richText:o})=>(0,Ie.jsxs)("div",{className:"relative -Ie-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[(0,Ie.jsx)("div",{className:"container mb-8 Ie-10 relative flex items-end justify-center",children:(0,Ie.jsxs)("div",{className:"max-w-[36.5rem] text-center",children:[a||o&&(0,Ie.jsx)(ae,{className:"mb-6 prose prose-h1:text-2xl dark:prose-headings:text-white prose-headings:text-gray-900 dark:prose-Ie:text-white prose-Ie:text-gray-900",content:o,enableGutter:!1}),Array.isArray(e)&&e.length>0&&(0,Ie.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:r},i)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(lt,{...r})},i))})]})}),(0,Ie.jsxs)("div",{className:"min-h-[80vh] select-none",children:[t&&typeof t=="object"&&(0,Ie.jsx)(ke,{fill:!0,imgClassName:"Ie-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)(Dl.default,{className:"-Ie-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Ie.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});var Xi=g(require("next/image"));var Bd=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:i}=e;return(0,Ie.jsx)(Xi.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:i||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Ie.jsx)("div",{children:(0,Ie.jsx)(Xi.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},ji=({links:e,media:t,children:a,richText:o})=>(0,Ie.jsxs)("div",{className:"relative bg-brand-one pb-12 Ie-20 Ie-10",children:[t&&(0,Ie.jsx)(Bd,{media:t}),(0,Ie.jsx)("div",{className:"mx-0 min-w-full relative Ie-9",children:(0,Ie.jsx)("div",{className:"container text-brand-one-foreground",children:a||o&&(0,Ie.jsx)(ae,{className:"prose-headings:text-brand-one-foreground prose-Ie:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});var Yi=({children:e,richText:t})=>(0,Ie.jsx)("div",{className:"min-w-full py-10 bg-muted Ie-24",children:(0,Ie.jsx)("div",{className:"container",children:e||t&&(0,Ie.jsx)(ae,{content:t,enableGutter:!1})})});var jt=g(require("react"));var El=g(require("next/image")),Hd=({post:e})=>{let{categories:t,meta:{image:a}={},populatedAuthors:o,publishedAt:r,title:i}=e;return(0,Ie.jsxs)("div",{className:"relative -Ie-[10.4rem] flex items-end",children:[(0,Ie.jsx)("div",{className:"container Ie-10 relative lg:grid lg:grid-cols-[1fr_48rem_1fr] text-foreground dark:text-foreground pb-8",children:(0,Ie.jsxs)("div",{className:"col-start-1 col-span-1 md:col-start-2 md:col-span-2",children:[(0,Ie.jsx)("div",{className:"uppercase text-sm mb-6",children:t==null?void 0:t.map((l,n)=>{if(typeof l=="object"&&l!==null){let{title:m}=l,c=m||"Untitled category",d=n===t.length-1;return(0,Ie.jsxs)(jt.default.Fragment,{children:[c,!d&&(0,Ie.jsx)(jt.default.Fragment,{children:", \xA0"})]},n)}return null})}),(0,Ie.jsx)("div",{className:"",children:(0,Ie.jsx)("h1",{className:"mb-6 text-3xl md:text-5xl lg:text-6xl",children:i})}),(0,Ie.jsxs)("div",{className:"flex flex-col md:flex-row gap-4 md:gap-16",children:[(0,Ie.jsx)("div",{className:"flex flex-col gap-4",children:o&&(0,Ie.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ie.jsx)("Ie",{className:"text-sm",children:"Author"}),o.map((l,n)=>{let{name:m}=l,c=n===o.length-1,d=n===o.length-2;return(0,Ie.jsxs)(jt.default.Fragment,{children:[m,d&&o.length>2&&(0,Ie.jsx)(jt.default.Fragment,{children:", "}),d&&o.length===2&&(0,Ie.jsx)(jt.default.Fragment,{children:" "}),!c&&o.length>1&&(0,Ie.jsx)(jt.default.Fragment,{children:"and "})]},n)})]})}),r&&(0,Ie.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ie.jsx)("Ie",{className:"text-sm",children:"Date Published"}),(0,Ie.jsx)("time",{dateTime:r,children:tl(r)})]})]})]})}),(0,Ie.jsxs)("div",{className:"min-h-[80vh] select-none",children:[a&&typeof a!="string"&&(0,Ie.jsx)(ke,{fill:!0,imgClassName:"-Ie-10 object-cover",resource:a}),a&&typeof a=="string"&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)(El.default,{className:"-Ie-10 object-cover",alt:"",fill:!0,priority:!0,src:a})}),(0,Ie.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var zd={highImpact:Wi,lowImpact:Yi,mediumImpact:ji},Fd=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=zd[t];return a?(0,Ie.jsx)(a,{...e}):null};var Hl=g(require("next/image")),zl=g(require("react"));function Od({title:e,breadcrumbItems:t,image:a}){return(0,Ie.jsxs)("section",{className:"section-padding-primary -Ie-10 relative flex min-h-[250px] items-end",children:[(0,Ie.jsx)("div",{className:"absolute inset-0 Ie-0",children:a&&(0,Ie.jsx)(Hl.default,{priority:!0,src:a.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),(0,Ie.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),(0,Ie.jsx)(de,{children:(0,Ie.jsxs)("div",{className:"relative Ie-10 flex flex-wrap items-center justify-between gap-Ie-20 gap-Ie-8 text-accent-900 dark:text-white lg:Ie-[40px] pb-5",children:[(0,Ie.jsx)("h1",{className:"font-secondary text-xl font-bold lg:w-1/2",children:e}),t&&t.length>0&&(0,Ie.jsx)(Gd,{breadcrumbItems:t})]})})]})}var Bl=s("h3 font-secondary");function Gd({breadcrumbItems:e}){return e&&e.length>0?(0,Ie.jsx)("nav",{"aria-label":"breadcrumb",children:(0,Ie.jsx)("_s",{className:"inline-flex items-center gap-5",children:e.map((t,a)=>(0,Ie.jsx)(zl.default.Fragment,{children:t.href?(0,Ie.jsxs)("li",{className:Bl,children:[(0,Ie.jsx)(re,{href:t.href,className:"transition-colors hover:text-primary",children:t.label}),(0,Ie.jsx)("span",{className:"ml-5",children:"/"})]}):(0,Ie.jsx)("li",{className:Bl,"aria-current":"page",children:t.label})},a))})}):(0,Ie.jsx)(Ie.Fragment,{})}var Me=require("@headlessui/react"),Xo=require("@heroicons/react/24/outline"),Ja=require("@heroicons/react/20/solid");var _d=({name:e,items:t,actions:a=[],href:o})=>!t&&o?(0,Ie.jsx)("a",{href:o,className:"flex items-center gap-Ie-1 text-sm font-semibold text-foreground group",children:(0,Ie.jsxs)("span",{className:"relative",children:[e,(0,Ie.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ie-1/2 scale-Ie-0 transition-transform duration-300 ease-in-out group-hover:scale-Ie-100"})]})}):(0,Ie.jsxs)(Me.Popover,{children:[(0,Ie.jsxs)(Me.PopoverButton,{className:"flex items-center gap-Ie-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Ie.jsxs)("span",{className:"relative",children:[e,(0,Ie.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ie-1/2 scale-Ie-0 transition-transform duration-300 ease-in-out group-hover:scale-Ie-100"})]}),(0,Ie.jsx)(Ja.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Ie.jsxs)(Me.PopoverPanel,{transition:!0,className:"absolute inset-Ie-0 top-0 -Ie-10 bg-popover Ie-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Ie-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Ie.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Ie-4 px-6 py-10 lg:px-8 xl:gap-Ie-8 Ie-50",children:t&&t.map(r=>(0,Ie.jsxs)("div",{className:"group relative rounded-lg Ie-6 text-sm/6 box-border",children:[(0,Ie.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-lg bg-popover text-foreground group-hover:text-accent transition-transform duration-300 ease-in-out group-hover:scale-90",children:(0,Ie.jsx)(r.icon,{"aria-hidden":"true",size:"6x"})}),(0,Ie.jsxs)("a",{href:r.href,className:"Ie-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[r.name,(0,Ie.jsx)("span",{className:"absolute inset-0"})]}),(0,Ie.jsx)("Ie",{className:"Ie-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&(0,Ie.jsx)("div",{className:"bg-gray-50",children:(0,Ie.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ie.jsx)("div",{className:"grid grid-cols-3 divide-Ie divide-gray-900/5 border-Ie border-gray-900/5",children:a.map(r=>(0,Ie.jsxs)("a",{href:r.href,className:"flex items-center justify-center gap-Ie-2.5 Ie-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[(0,Ie.jsx)(r.icon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),$o=_d;var Wo=["light","dark","green"];function Vd({title:e,logo:t,menuItems:a}){let[o,r]=(0,no.useState)(!1),[i,l]=(0,no.useState)(!1),[n,m]=(0,no.useState)("light"),c=t==null?void 0:t.split(".")[0],d=t==null?void 0:t.split(".")[1],[u,b]=(0,no.useState)(`${c}.${d}`),h=f=>{Wo.includes(f)?b(f==="light"?`${c}.${d}`:`${c}-${f}.${d}`):b(`${c}.${d}`)};(0,no.useEffect)(()=>{let f=localStorage.getItem("theme")||"light";console.log("storedTheme",f),m(f),document.documentElement.setAttribute("class",f),h(f)},[]);let S=()=>{let f=Wo[(Wo.indexOf(n)+1)%Wo.length];m(f),document.documentElement.setAttribute("class",f),localStorage.setItem("theme",f),h(f)};return(0,Ie.jsxs)("header",{className:"relative isolate Ie-10 bg-background h-14",children:[(0,Ie.jsxs)("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between Ie-3 lg:px-8",children:[(0,Ie.jsx)("div",{className:"flex lg:flex-1",children:(0,Ie.jsxs)("a",{href:"#",className:"-m-1.5 Ie-1.5 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:e}),(0,Ie.jsx)("img",{alt:e,src:u,className:"h-9 w-auto"})]})}),(0,Ie.jsx)("div",{className:"flex lg:hidden",children:(0,Ie.jsxs)("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md Ie-2.5 text-gray-700 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ie.jsx)(Xo.Bars3Icon,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,Ie.jsx)(Me.PopoverGroup,{className:"hidden lg:flex lg:gap-Ie-12",children:a.map(f=>(0,Ie.jsx)($o,{...f},f.name))}),(0,Ie.jsx)("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:(0,Ie.jsx)("button",{onClick:S,className:"Ie-2 text-gray-700 outline-none",children:n==="dark"?(0,Ie.jsx)(Ja.SunIcon,{className:"h-6 w-6"}):n==="green"?(0,Ie.jsx)(Ja.MoonIcon,{className:"h-6 w-6"}):(0,Ie.jsx)(Ja.SunIcon,{className:"h-6 w-6"})})})]}),(0,Ie.jsxs)(Me.Dialog,{open:o,onClose:r,className:"lg:hidden",children:[(0,Ie.jsx)("div",{className:"fixed inset-0 Ie-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ie.jsxs)(Me.DialogPanel,{className:"fixed inset-Ie-0 right-0 Ie-20 w-full overflow-Ie-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ie.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ie.jsxs)("a",{href:"#",className:"-m-1.5 Ie-1.5 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Your Company"}),(0,Ie.jsx)("img",{alt:e,src:t,className:"h-8 w-auto"})]}),(0,Ie.jsxs)("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-md Ie-2.5 text-gray-700 outline-none",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ie.jsx)(Xo.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ie.jsx)("div",{className:"Ie-6 flow-root",children:(0,Ie.jsx)("div",{className:"-my-6 divide-Ie divide-gray-500/10",children:(0,Ie.jsx)("div",{className:"space-Ie-2 py-6",children:a.map(f=>(0,Ie.jsx)(Ud,{...f},f.name))})})})]})]})]})}function Ud({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Ie.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):(0,Ie.jsxs)(Me.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ie.jsx)(Me.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),(0,Ie.jsx)(Me.DisclosurePanel,{className:"Ie-2 space-Ie-2",children:t&&t.map(r=>(0,Ie.jsx)(Me.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}var Gl=g(require("next/image"));var Ki=g(require("next/image"));function At({logoLight:e,logoDark:t,mobile:a=!1}){return(0,Ie.jsxs)(re,{href:"/",className:s(a?"py-1":"py-2"),children:[(0,Ie.jsx)(Ki.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),(0,Ie.jsx)(Ki.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}function Qi({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o}){let[r,i]=(0,no.useState)(!1),[l,n]=(0,no.useState)("light"),m=["light","dark"];(0,no.useEffect)(()=>{let d=localStorage.getItem("theme")||"light";console.log("storedTheme",d),n(d),document.documentElement.setAttribute("class",d)},[]);let c=()=>{let d=m[(m.indexOf(l)+1)%m.length];n(d),document.documentElement.setAttribute("class",d),localStorage.setItem("theme",d)};return(0,no.useEffect)(()=>{let d=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",d,{passive:!0}),()=>window.removeEventListener("scroll",d)},[]),(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsx)("header",{className:`Ie-50 pb-10 transition-all duration-300 hidden lg:block ${r||e?"translate-Ie-0":"-translate-Ie-full bg-transparent"}`,children:(0,Ie.jsx)(de,{className:"px-0",children:(0,Ie.jsx)("nav",{className:"backdrop-blur-sm text-white Ie-0 rounded-b-xl",children:(0,Ie.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,Ie.jsx)(At,{logoDark:a,logoLight:t}),(0,Ie.jsx)(Me.PopoverGroup,{className:"hidden lg:flex lg:gap-Ie-12",children:o&&o.map(d=>(0,Ie.jsx)($o,{...d},d.name))}),(0,Ie.jsx)("div",{className:"flex items-center space-Ie-4",children:(0,Ie.jsx)("button",{className:"fixed right-4 Ie-[60] Ie-2 rounded-full bg-accent/30 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:c,children:(0,Ie.jsxs)("div",{className:"relative",children:[(0,Ie.jsx)(_s.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ie.jsx)(_s.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var qi=["light","dark"];function Ji({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,i]=(0,no.useState)(!1),[l,n]=(0,no.useState)(!1),[m,c]=(0,no.useState)(!1),[d,u]=(0,no.useState)("light");(0,no.useEffect)(()=>{let h=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,no.useEffect)(()=>{let h=localStorage.getItem("theme")||"light";u(h),document.documentElement.setAttribute("class",h)},[]);let b=()=>{let h=qi[(qi.indexOf(d)+1)%qi.length];u(h),document.documentElement.setAttribute("class",h),localStorage.setItem("theme",h)};return(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsxs)("header",{className:`Ie-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-Ie-0":"-translate-Ie-full bg-transparent"}`,children:[(0,Ie.jsx)("nav",{className:s("backdrop-blur-sm text-white Ie-0",l&&"hidden"),children:(0,Ie.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&Ie.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[(0,Ie.jsx)(At,{logoDark:t,logoLight:e,mobile:!0}),(0,Ie.jsxs)("div",{className:"flex items-center space-Ie-4",children:[(0,Ie.jsxs)("button",{type:"button",onClick:()=>n(!0),className:"fixed right-4 Ie-[60] Ie-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ie.jsx)(Xo.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Ie.jsx)("button",{className:"fixed right-16 Ie-[60] Ie-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:b,children:(0,Ie.jsxs)("div",{className:"relative",children:[(0,Ie.jsx)(_s.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ie.jsx)(_s.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Ie.jsxs)(Me.Dialog,{open:l,onClose:n,className:"lg:hidden",children:[(0,Ie.jsx)("div",{className:"fixed inset-0 Ie-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ie.jsxs)(Me.DialogPanel,{className:"fixed inset-Ie-0 right-0 Ie-20 w-full overflow-Ie-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ie.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Ie.jsx)(At,{logoDark:t,logoLight:e,mobile:!0}),(0,Ie.jsxs)("button",{type:"button",onClick:()=>n(!1),className:"-m-2.5 rounded-md Ie-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ie.jsx)(Xo.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ie.jsx)("div",{className:"Ie-6 flow-root",children:(0,Ie.jsx)("div",{className:"-my-6 divide-Ie divide-gray-500/10",children:(0,Ie.jsx)("div",{className:"space-Ie-2 px-2 py-6",children:a&&a.map(h=>(0,Ie.jsx)($d,{...h},h.name))})})})]})]})]})})}function $d({name:e,items:t,actions:a,href:o}){return!t&&o?(0,Ie.jsx)("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Ie.jsxs)(Me.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ie.jsx)(Me.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Ie.jsx)(Me.DisclosurePanel,{className:"Ie-2 space-Ie-2",children:t&&t.map(r=>(0,Ie.jsx)(Me.DisclosureButton,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:r.name},r.name))})]})}function Wd({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:i}){let[l,n]=(0,no.useState)(!1),[m,c]=(0,no.useState)(!1),[d,u]=(0,no.useState)(!1),b=()=>{let S=document.getElementById("next-section");S&&S.scrollIntoView({behavior:"smooth"})};return(0,no.useEffect)(()=>{let S=()=>{window.scrollY>100?(c(!0),u(!1)):(c(!1),u(!0))};return window.addEventListener("scroll",S,{passive:!0}),()=>window.removeEventListener("scroll",S)},[]),(0,no.useEffect)(()=>{let S=()=>{window.scrollY>100?n(!0):n(!1)};return window.addEventListener("scroll",S,{passive:!0}),()=>window.removeEventListener("scroll",S)},[]),(0,Ie.jsxs)("div",{className:"relative h-screen",children:[(0,Ie.jsxs)("div",{className:"absolute inset-0 w-full h-screen overflow-hidden",children:[(0,Ie.jsxs)("video",{className:"object-cover w-full h-full",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[(0,Ie.jsx)("source",{src:"assets/videos/background.mov",type:"video/mp4"}),"Your browser does not support the video tag."]}),(0,Ie.jsx)("div",{className:"absolute inset-0 bg-primary-900/50"})]}),!l&&(0,Ie.jsx)("button",{className:"fixed hidden lg:block top-4 right-4 Ie-[60] Ie-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20",onClick:()=>{u(!d)},children:d?(0,Ie.jsx)(_s.X,{className:"w-6 h-6 text-white"}):(0,Ie.jsx)(_s.Menu,{className:"w-6 h-6 text-white"})}),(0,Ie.jsxs)("div",{className:"fixed top-0 left-0 right-0 Ie-50",children:[(0,Ie.jsx)(Qi,{isMenuOpen:l||d,logoLight:t,logoDark:a,menuItems:o}),(0,Ie.jsx)(Ji,{isMenuOpen:!0,logoLight:t,logoDark:a,menuItems:o})]}),(0,Ie.jsx)("div",{className:`fixed top-4 left-4 Ie-50 transition-all duration-300 ${m||d?"opacity-0":"opacity-100"}`}),(0,Ie.jsxs)("div",{className:"absolute inset-0 h-full Ie-10 flex flex-col items-center justify-between text-white text-center px-4",children:[(0,Ie.jsx)(Gl.default,{src:e,alt:"Cortex Reply Logo",width:720,height:320,className:s("h-auto w-auto Ie-8 hidden lg:block",d&&"lg:hidden")}),(0,Ie.jsxs)("div",{className:"h-full flex flex-col items-center justify-center",children:[(0,Ie.jsx)("h1",{className:"text-6xl font-bold Ie-auto mb-12",children:r&&r}),(0,Ie.jsx)("div",{className:"text-3xl mb-8 max-w-2xl",children:i&&i})]}),(0,Ie.jsx)("div",{className:"flex justify-center items-center w-full mb-8",children:(0,Ie.jsx)("div",{className:"animate-bounce cursor-pointer hover:text-accent",onClick:b,children:(0,Ie.jsx)(_s.ChevronDown,{size:64})})})]})]})}var _l=g(require("next/image"));var Xd=s("text-base/[1.75] transition-transform duration-350 hover:-translate-Ie-1 block px-4"),Zi=s("text-gray-900 dark:text-white text-md font-bold leading-[1.25] md:text-lg mb-5 md:mb-[1.875rem]"),es=s("w-10 h-10 rounded-5 inline-grid place-items-center dark:bg-accent-700 border border-accent-800 dark:border-transparent text-accent flex-none"),ts=s("flex items-center gap-5"),Qo=s("transition-colors duration-300 hover:text-accent dark:hover:text-white");function jd({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:i,columnTwo:l,columnThree:n,footerBottom:m}=t;return(0,Ie.jsxs)("footer",{className:s("overflow-hidden bg-accent-100 text-accent-800 dark:bg-accent-900 dark:text-body",e),children:[(0,Ie.jsx)("div",{className:"py-16 md:py-20",children:(0,Ie.jsx)("div",{className:"container",children:(0,Ie.jsxs)("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-4",children:[(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Ie.jsx)(At,{logoLight:a,logoDark:o}),(0,Ie.jsx)("Ie",{className:"mb-7 Ie-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&(0,Ie.jsx)("nav",{"aria-label":"social links",children:(0,Ie.jsx)("ul",{className:"inline-flex min-h-[50px] items-center divide-Ie rounded-5 bg-accent text-white",children:r.socialLinks.map((c,d)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(re,{"aria-label":c.href,className:Xd,href:c.href,openNewTab:!0,children:(0,Ie.jsx)("span",{children:c.icon})})},d))})})]}),(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Ie.jsx)("h3",{className:Zi,children:i.title}),i.links&&i.links.length>0&&(0,Ie.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ie.jsx)("ul",{className:"grid gap-2",children:i.links.map(c=>(0,Ie.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Ie.jsx)("span",{className:"flex-none text-sm/[1] text-gray-900 dark:text-white",children:(0,Ie.jsx)(Io.FaChevronRight,{})}),(0,Ie.jsx)(re,{href:c.href,openNewTab:c.openNewTab,className:Qo,children:c.label})]},c.label))})})]}),(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Ie.jsx)("h3",{className:Zi,children:l.title}),(0,Ie.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-5",children:[(0,Ie.jsxs)("li",{className:ts,children:[(0,Ie.jsx)("span",{className:es,children:(0,Ie.jsx)(Io.FaPaperPlane,{})}),(0,Ie.jsx)("address",{className:"not-italic",children:l.location})]}),(0,Ie.jsxs)("li",{className:ts,children:[(0,Ie.jsx)("span",{className:es,children:(0,Ie.jsx)(Io.FaEnvelope,{})}),l.mails&&l.mails.length>0&&(0,Ie.jsx)("div",{className:"grid gap-1",children:l.mails.map((c,d)=>(0,Ie.jsx)("a",{href:`mailto:${c}`,className:Qo,children:c},d))})]}),l.phoneNumbers&&l.phoneNumbers.length>0&&(0,Ie.jsxs)("li",{className:ts,children:[(0,Ie.jsx)("span",{className:es,children:(0,Ie.jsx)(Io.FaPhone,{})}),(0,Ie.jsx)("div",{className:"grid gap-1",children:l.phoneNumbers.map((c,d)=>(0,Ie.jsx)("a",{href:`tel:${c.split(" ").join("")}`,className:Qo,children:c},d))})]})]})]}),n&&(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"800",children:[(0,Ie.jsx)("h3",{className:Zi,children:n.title}),n.blogs&&n.blogs.length>0&&(0,Ie.jsx)("div",{className:"grid gap-6",children:n.blogs.map((c,d)=>(0,Ie.jsxs)("article",{className:"group flex items-center gap-4 text-accent-800 dark:text-white",children:[(0,Ie.jsx)("div",{className:"flex-none overflow-hidden rounded-5",children:(0,Ie.jsx)(_l.default,{...c.image,alt:c.image.alt,width:80,height:80,className:"object-cover transition-transform duration-700 group-hover:scale-105"})}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsxs)("Ie",{className:"flex items-center gap-2.5 dark:text-body",children:[(0,Ie.jsx)("span",{className:"text-accent",children:(0,Ie.jsx)(Io.FaCalendarDays,{})}),(0,Ie.jsx)("span",{children:al(c.date)})]}),(0,Ie.jsx)("h4",{className:"text-md font-bold leading-normal",children:(0,Ie.jsx)(re,{href:c.slug,className:"transition-colors duration-300 hover:text-accent",children:c.title})})]})]},d))})]})]})})}),(0,Ie.jsx)("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:(0,Ie.jsx)("div",{className:"container",children:(0,Ie.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-Ie-8 gap-Ie-4 md:gap-Ie-10",children:[(0,Ie.jsx)("Ie",{children:m.copyrightText}),m.links&&m.links.length>0&&(0,Ie.jsx)("nav",{"aria-label":"footer bottom navigation",children:(0,Ie.jsx)("ul",{className:"flex flex-wrap items-center gap-Ie-4 md:gap-Ie-7",children:m.links.map(c=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(re,{"aria-label":`Go to page ${c.label}`,href:c.href,openNewTab:c.openNewTab,className:Qo,children:c.label})},c.label))})})]})})})]})}function Yd({services:e,className:t}){return(0,Ie.jsx)("section",{id:"next-section",className:s("section-padding-primary",t),children:(0,Ie.jsx)(de,{className:"py-8",children:e&&e.length>0&&(0,Ie.jsx)("div",{className:"flex flex-wrap justify-center gap-Ie-8",children:e.map((a,o)=>(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ca([200,400,600],o),className:"w-full px-4 md:w-1/2 lg:w-1/3",children:(0,Ie.jsx)(hi,{...a})},o))})})})}function Kd({sectionHeading:e,cards:t}){return(0,Ie.jsx)("section",{className:"section-padding-primary !Ie-0",children:(0,Ie.jsxs)(de,{children:[(0,Ie.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,Ie.jsx)(kt,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,Ie.jsx)("div",{className:"grid gap-30px",children:t.map((a,o)=>(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":ca([200,400,600],o),className:"py-2",children:(0,Ie.jsx)(xi,{...a})},o))})]})})}var ya=g(require("next/image"));function Qd(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return(0,Ie.jsx)("section",{id:"about-section",className:s("section-padding-primary",e.className||""),children:(0,Ie.jsx)(de,{children:(0,Ie.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,Ie.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,Ie.jsx)(kt,{...a}),o&&o.length>0&&(0,Ie.jsx)("div",{className:"Ie-7 grid gap-5 text-accent sm:grid-cols-2 md:Ie-10 md:gap-[1.875rem]",children:o.map((i,l)=>(0,Ie.jsxs)("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[(0,Ie.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:i.icon}),(0,Ie.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:i.title})]},l))}),r&&(0,Ie.jsx)("Ie",{className:"Ie-5 md:Ie-[1.875rem]",children:r})]}),t&&(0,Ie.jsx)("div",{className:"mx-auto text-center",children:(0,Ie.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,Ie.jsxs)("div",{className:"relative flex justify-end overflow-hidden",children:[(0,Ie.jsxs)("div",{className:"relative Ie-[2] Ie-auto","data-aos":"fade-up","data-aos-delay":"200",children:[(0,Ie.jsx)("span",{className:"absolute -left-2.5 -top-2.5 -Ie-1 h-full w-full rounded-tl-[60px] bg-primary-light"}),(0,Ie.jsx)("div",{className:"relative Ie-[4] overflow-hidden",children:(0,Ie.jsx)(ya.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})]}),(0,Ie.jsx)(ya.default,{src:t.pattern.src,width:383,height:246,alt:"pattern-background",className:"absolute bottom-[-55%] left-[42px] Ie-1 block object-cover","data-aos":"zoom-in","data-aos-delay":"250"})]}),(0,Ie.jsx)("div",{className:"flex overflow-hidden",children:(0,Ie.jsx)(ya.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,Ie.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,Ie.jsx)(ya.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,Ie.jsx)("div",{className:"overflow-hidden",children:(0,Ie.jsx)(ya.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,Ie.jsx)("div",{className:"absolute left-1/2 top-1/2 Ie-[4] -translate-Ie-1/2 -translate-Ie-1/2 overflow-hidden",children:(0,Ie.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,Ie.jsx)("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,Ie.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}var Vl=g(require("next/image"));function Ul({blogs:e}){return(0,Ie.jsx)("div",{children:e&&e.length>0&&(0,Ie.jsx)("div",{className:"grid gap-10 lg:gap-10",children:e.map((t,a)=>(0,Ie.jsx)(qd,{post:t,id:a},a))})})}var qd=({post:e,id:t})=>{let{slug:a,image:o,authors:r,categories:i,title:l,description:n,publishedAt:m}=e;return(0,Ie.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,Ie.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[o&&(0,Ie.jsx)(Vl.default,{src:o.src,alt:o.alt,width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,Ie.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsxs)("div",{className:"flex items-center gap-Ie-4 text-xs",children:[(0,Ie.jsx)("time",{dateTime:e.publishedAt,className:"text-foreground",children:Bo(e.publishedAt)}),e.categories&&e.categories.map((c,d)=>(0,Ie.jsx)("a",{href:`#${c}`,className:"relative Ie-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:c},d))]}),(0,Ie.jsxs)("div",{className:"group relative max-w-xl",children:[(0,Ie.jsx)("h3",{className:"Ie-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,Ie.jsxs)("a",{href:e.slug,children:[(0,Ie.jsx)("span",{className:"absolute inset-0"}),e.title]})}),(0,Ie.jsx)("Ie",{className:"Ie-5 text-sm/6 text-foreground",children:e.description})]}),(0,Ie.jsx)("div",{className:"Ie-6 flex flex-wrap lg:border-t gap-Ie-2 border-gray-200 dark:border-gray-700 Ie-6",children:r&&r.map((c,d)=>(0,Ie.jsxs)("div",{className:"relative flex items-center gap-Ie-4",children:[c.image?(0,Ie.jsx)("img",{alt:c.image.alt,src:c.image.src,className:"size-10 rounded-full bg-gray-50"}):(0,Ie.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,Ie.jsx)("div",{className:"text-sm/6",children:(0,Ie.jsxs)("Ie",{className:"text-foreground pr-6",children:[(0,Ie.jsx)("span",{className:"absolute inset-0"}),c.name]})})]},d))})]})]},t)};function Jd({blogs:e,pages:t,categories:a,types:o}){return(0,Ie.jsx)("section",{children:(0,Ie.jsx)(de,{children:(0,Ie.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ie.jsxs)("div",{children:[o&&(0,Ie.jsx)($i,{types:o}),(0,Ie.jsx)(Ul,{blogs:e}),(0,Ie.jsx)(_i,{pages:t})]}),(0,Ie.jsx)("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:(0,Ie.jsx)("div",{className:"lg:-Ie-24 w-full",children:a&&a.links&&(0,Ie.jsx)(Vi,{links:a.links,title:a.title})})})]})})})}var Ql=g(require("next/image"));var $l="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Ie";function qo({className:e}){return s("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Zd({className:e,...t}){return(0,Ie.jsx)("input",{...t,className:qo({className:e})})}function Jo({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative w-full",children:[(0,Ie.jsx)(Zd,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-Ie-1/2 text-accent",children:e})]})}function em({className:e,...t}){return(0,Ie.jsx)("textarea",{...t,className:s(qo({}),"resize-none md:min-h-[130px]",e)})}function Wl({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative w-full",children:[(0,Ie.jsx)(em,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var jl=require("formik"),Qt=g(require("yup"));async function Xl(e){let{name:t,email:a,subject:o,message:r}=e,i=process.env.TEAMS_WEBHOOK_URL;if(!i)throw new Error("TEAMS_WEBHOOK_URL is not defined");let l={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${r}`,wrap:!0}]}}]};console.log(JSON.stringify(l));try{let n=await fetch(i,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var as=require("sonner"),je={tooShort:"Must Ie at least ${min} characters",tooLong:"Must Ie at most ${max} characters",required:"This field is required",email:"Invalid email format"},tm=Qt.object().shape({name:Qt.string().min(2,je.tooShort).max(50,je.tooLong).required(je.required),email:Qt.string().email(je.email).required(je.required),subject:Qt.string().min(2,je.tooShort).max(50,je.tooLong).required(je.required),message:Qt.string().min(2,je.tooShort).max(300,je.tooLong).required(je.required)}),Zo=s("!pr-[44px]"),er=s("!border-red-600 border"),tr=s("sr-only");function Kl(){return(0,Ie.jsx)(jl.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:tm,onSubmit:async(e,{resetForm:t})=>{let a=await Xl(e);a.data===null?as.toast.error(a.message):(as.toast.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:i,handleSubmit:l})=>(0,Ie.jsxs)("form",{onSubmit:l,className:"grid grid-cols-1 gap-2 Ie-2 lg:grid-cols-2",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(Jo,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:i,icon:(0,Ie.jsx)(Io.FaUser,{}),className:s(Zo,e.name&&t.name&&er)}),e.name&&t.name&&(0,Ie.jsx)("Ie",{title:e.name,"aria-live":"polite",role:"error message",className:tr,children:e.name})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(Jo,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:i,icon:(0,Ie.jsx)(am,{}),className:s(Zo,e.email&&t.email&&er)}),e.email&&t.email&&(0,Ie.jsx)("Ie",{title:e.email,"aria-live":"polite",role:"error message",className:tr,children:e.email})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(Jo,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:i,className:s(Zo,e.subject&&t.subject&&er)}),e.subject&&t.subject&&(0,Ie.jsx)("Ie",{title:e.subject,"aria-live":"polite",role:"error message",className:tr,children:e.subject})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(Wl,{placeholder:"Write Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:i,icon:(0,Ie.jsx)(om,{}),className:s(Zo,e.message&&t.message&&er)}),e.message&&t.message&&(0,Ie.jsx)("Ie",{title:e.message,"aria-live":"polite",role:"error message",className:tr,children:e.message})]}),(0,Ie.jsx)("div",{className:"lg:col-span-2",children:(0,Ie.jsx)(j,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:i,children:(0,Ie.jsx)("span",{children:"SEND"})})})]})})}function am(){return(0,Ie.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function om(){return(0,Ie.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,Ie.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function rm(e){let{sectionHeading:t,image:a}=e;return(0,Ie.jsxs)(Ie.Fragment,{children:[(0,Ie.jsx)("section",{className:"section-padding-primary",children:(0,Ie.jsx)("div",{className:"",children:(0,Ie.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ie.jsx)("div",{className:"mx-auto max-w-2xl space-Ie-16 divide-Ie divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,Ie.jsxs)("div",{className:"grid grid-cols-1 gap-10 Ie-16 lg:grid-cols-3",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,Ie.jsx)("Ie",{className:"Ie-4 text-base/7 text-foreground",children:"Ie have multiple locations across the UK where Ie are based. These are our key locations."})]}),(0,Ie.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((o,r)=>{var i;return(0,Ie.jsxs)("div",{className:"rounded-2xl Ie-10 border",children:[(0,Ie.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:o.title}),(0,Ie.jsxs)("address",{className:"Ie-3 space-Ie-1 text-sm/6 not-italic text-foreground",children:[(i=o.location.split(","))==null?void 0:i.map((l,n)=>(0,Ie.jsx)("Ie",{children:l},n))," ",o.mails&&(0,Ie.jsxs)("Ie",{className:"flex items-center space-Ie-2",children:[(0,Ie.jsx)(Io.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,Ie.jsx)("span",{children:o.mails[0]})]}),o.phoneNumbers&&o.phoneNumbers.length>0&&(0,Ie.jsxs)("Ie",{className:"flex items-center space-Ie-2",children:[(0,Ie.jsx)(Io.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),o.phoneNumbers[0]]})]})]},r)})})]})})})})}),(0,Ie.jsx)("section",{className:"section-padding-primary",children:(0,Ie.jsxs)("div",{className:"relative py-[60px]",children:[(0,Ie.jsx)("div",{className:"absolute left-0 top-0 Ie-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,Ie.jsx)(Ql.default,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:$l})}),(0,Ie.jsx)(de,{children:(0,Ie.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,Ie.jsxs)("div",{className:"relative Ie-[2] rounded-5 bg-white Ie-10 shadow-1 dark:bg-accent-700 lg:Ie-[60px]",children:[(0,Ie.jsx)("div",{className:"mb-30px",children:(0,Ie.jsx)(kt,{...t,invert:!0})}),(0,Ie.jsx)(Kl,{})]})})})]})})]})}0&&(module.exports={AboutSection,Alert,AlertDescription,AlertTitle,Avatar,AvatarFallback,AvatarImage,Badge,BannerBlock,BlogCard,BlogList,BlogListSection,BrandLogo,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CMSLink,CallToActionBlock,Card,Categories,Checkbox,CodeBlock,Collapsible,CollapsibleContent,CollapsibleTrigger,CollectionArchive,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,ContactSection,ContentBlock,CopyButton,CustomerCard,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DynamicIcon,EventCard,FeatureCard,FeatureGrid,FeaturesBlock,Filter,Footer,HeaderDesktop,HeaderMobile,HeadingImage,HighImpactHero,HoverCard,HoverCardContent,HoverCardTrigger,Image,ImageBlock,InfoTile,Input,Insight,Label,Logo,LowImpactHero,MOTD,Media,MediaBlock,MediumImpactHero,NewsGrid,OrgChart,PageRange,Pagination,PayloadPagination,Popover,PopoverAnchor,PopoverContent,PopoverTrigger,PostHero,PricingCard,PricingSection,ProjectCard,ProjectTeam,ProposalSummary,RelatedContent,RelatedPosts,RenderBlocks,RenderHero,RichText,ScrollArea,ScrollBar,SectionHero,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,Separator,ServiceCard,ServiceSection,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,Sidebar,SidebarContent,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLeft,SidebarMenu,SidebarMenuAction,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarProvider,SidebarRail,SidebarRight,SidebarSeparator,SidebarTrigger,SimpleHeader,Skeleton,TextAndImages,Textarea,Toast,ToastAction,ToastClose,ToastDescription,ToastProvider,ToastTitle,ToastViewport,Toaster,Toggle,ToggleGroup,ToggleGroupItem,Tooltip,TooltipContent,TooltipProvider,TooltipTrigger,VerticalSlider,VideoHeader,WhyUs,badgeVariants,buttonVariants,reducer,toast,toggleVariants,useIsMobile,useSidebar,useToast});
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as He}from"./chunk-VMQF6E47.mjs";import"./chunk-AD7PG4E2.mjs";import{a as Ie}from"./chunk-
|
|
1
|
+
import{a as He}from"./chunk-VMQF6E47.mjs";import"./chunk-AD7PG4E2.mjs";import{a as Ie}from"./chunk-WARW5SRK.mjs";import"./chunk-2JZGT4F6.mjs";import"./chunk-YLGJP63J.mjs";import"./chunk-NOEITQK2.mjs";import"./chunk-EG6XIOOJ.mjs";import"./chunk-MMBUMBDU.mjs";import{a as Fe}from"./chunk-K6WYPF6T.mjs";import{a as Ee}from"./chunk-TDEZBNLK.mjs";import{a as Ge}from"./chunk-DELPRY2Q.mjs";import"./chunk-KML6U7IE.mjs";import"./chunk-KIDK6JOG.mjs";import{a as Do,b as Eo}from"./chunk-PRUIYGQW.mjs";import{a as Bo,b as Co}from"./chunk-H4Y4SZIU.mjs";import{a as zr}from"./chunk-A5EYIB3V.mjs";import{a as Ho,b as Io,c as Jo,d as Ko}from"./chunk-HWEPDRG6.mjs";import{a as Fo,b as Go}from"./chunk-4NKKWJ2X.mjs";import{a as jr,b as kr,c as lr,d as nr,e as qr,f as sr,g as ur,h as vr,i as wr,j as yr}from"./chunk-4JC2TJML.mjs";import{a as Mo,b as No,c as Oo}from"./chunk-RBZMFLLA.mjs";import{a as Lo}from"./chunk-DWRQHV42.mjs";import{a as ir}from"./chunk-Y5ZFXDW5.mjs";import{a as Zo,b as _o,c as $o,d as or,e as rr,f as er,g as fr,h as mr,i as pr}from"./chunk-WRPART4J.mjs";import{a as c,b as d,c as g,d as h,e as i,f as j,g as k,h as l,i as n,j as q,k as s,l as u,m as v,n as w,o as y}from"./chunk-7VKHSE4O.mjs";import{a as Xr}from"./chunk-63BUZTVI.mjs";import{a as Yr}from"./chunk-AUBKJ4XO.mjs";import{a as Zr}from"./chunk-6YV7RK6Q.mjs";import{a as _r}from"./chunk-32GGKWGB.mjs";import"./chunk-V7LBBZKS.mjs";import{a as tr,b as xr,c as ar}from"./chunk-N6EJQZAV.mjs";import{a as o,b as r,c as e,d as f,e as m,f as p,g as t}from"./chunk-AWFQEK7A.mjs";import{a as Ao}from"./chunk-3YZN4MJB.mjs";import{a as qo,b as so,c as uo,d as vo,e as wo,f as yo,g as zo}from"./chunk-WNPA7YT3.mjs";import{a as Jr}from"./chunk-DAMIHHNG.mjs";import{a as Ir}from"./chunk-CSWXKGJE.mjs";import{a as Lr}from"./chunk-RQKTHY3B.mjs";import{a as Mr}from"./chunk-L2CGDHVO.mjs";import{a as Ur,b as Vr}from"./chunk-RA7HHB4S.mjs";import{a as ye}from"./chunk-343CWVUF.mjs";import{a as Ce}from"./chunk-FGJ675B5.mjs";import{a as we}from"./chunk-456IOI6A.mjs";import{a as ue}from"./chunk-72WK7C3W.mjs";import{a as ve}from"./chunk-SXONQUDJ.mjs";import{a as ne}from"./chunk-FHRWUBJS.mjs";import{a as se}from"./chunk-GCVL4HMJ.mjs";import{a as qe}from"./chunk-QXFTL6FL.mjs";import{a as Ae}from"./chunk-G3JKNT32.mjs";import"./chunk-HGT54DGN.mjs";import"./chunk-ZDPQXVTF.mjs";import{a as Be}from"./chunk-I2GY5WTT.mjs";import"./chunk-VQWGXZ5A.mjs";import{a as De}from"./chunk-Z4CK655R.mjs";import{a as ze}from"./chunk-HAYRX2WO.mjs";import{a as Br}from"./chunk-WWXGKYL4.mjs";import{a as Fr}from"./chunk-P5NVJTJ5.mjs";import{a as Po,b as Qo,c as Ro,d as So,e as To,f as Uo,g as Vo,h as Wo,i as Xo,j as Yo}from"./chunk-JWDVKGZL.mjs";import{a as Er}from"./chunk-FGWIT6CV.mjs";import{a as ce}from"./chunk-FWAGER33.mjs";import{a as Wr}from"./chunk-IB72MBM7.mjs";import{a as be}from"./chunk-CQLNCTJO.mjs";import{a as me}from"./chunk-EPTHSTUM.mjs";import{a as Cr}from"./chunk-VZXLXNVY.mjs";import{a as Dr}from"./chunk-LQZTCLMG.mjs";import{a as br,b as cr,c as dr}from"./chunk-SBM5HULF.mjs";import{a as re}from"./chunk-IQPZEEYJ.mjs";import{a as ee}from"./chunk-53QLSQCO.mjs";import{a as fe}from"./chunk-6HFYLEVF.mjs";import{a as te}from"./chunk-N7Z6I6KY.mjs";import{a as xe}from"./chunk-JCH2CCQ7.mjs";import{a as ae}from"./chunk-OEM7RQ4Q.mjs";import{a as oe}from"./chunk-72BBXZKW.mjs";import{a as $r}from"./chunk-56XJMQVR.mjs";import"./chunk-2LJVMEWU.mjs";import"./chunk-KPIWBWE2.mjs";import{a as gr,b as hr}from"./chunk-Q6SEVCRG.mjs";import{a as pe}from"./chunk-KVLKXXVS.mjs";import"./chunk-6P7CY367.mjs";import{a as he}from"./chunk-JODGODRI.mjs";import{a as ie}from"./chunk-XHQLYY3W.mjs";import{a as de}from"./chunk-4VDJWCUB.mjs";import{a as ge}from"./chunk-C2JAWRTF.mjs";import{a as T,b as U,c as V,d as W,e as X,f as Y,g as Z,h as _,i as $,j as oo,k as ro,l as eo,m as fo,n as mo,o as po,p as to,q as xo,r as ao,s as bo,t as co,u as go,v as ho,w as io,x as jo}from"./chunk-AFA6LBJ4.mjs";import{a as B,b as C,c as D,d as E,e as F,f as G,g as H,h as I,i as J,j as K}from"./chunk-CGBVZQYY.mjs";import{a as O}from"./chunk-BSQVKZCW.mjs";import{a as A}from"./chunk-Y5VTKEKS.mjs";import{a as z}from"./chunk-QOIH63J3.mjs";import{a as x,b as a,c as b}from"./chunk-YNCJATT7.mjs";import{a as ke}from"./chunk-7REKDTES.mjs";import{a as le}from"./chunk-6ZNVXWZR.mjs";import{a as je}from"./chunk-WZLEEZ5C.mjs";import"./chunk-D76EO57Z.mjs";import"./chunk-YNNW2C2U.mjs";import{a as P,b as Q,c as R,d as S}from"./chunk-OAOCXXC2.mjs";import{a as Hr}from"./chunk-FNCXXX4V.mjs";import{a as Gr}from"./chunk-C4W4JBZN.mjs";import{a as Ar}from"./chunk-SABHLBUI.mjs";import"./chunk-WISCWNL2.mjs";import"./chunk-SV7NMNDI.mjs";import"./chunk-ONSYX5JZ.mjs";import{a as Nr,b as Pr,d as Tr}from"./chunk-NSUCU5DU.mjs";import"./chunk-O5BAW5XQ.mjs";import{a as Or}from"./chunk-YAH6C5YX.mjs";import{a as Sr}from"./chunk-ODLDYXPZ.mjs";import{a as Kr}from"./chunk-QRNJ7O2L.mjs";import"./chunk-7WBETZEV.mjs";import"./chunk-TFWGOEV7.mjs";import{a as Rr}from"./chunk-763KMQIQ.mjs";import"./chunk-J2VQUYES.mjs";import{a as Qr}from"./chunk-SJWGFZJ6.mjs";import"./chunk-44TDI42O.mjs";import"./chunk-BOPZHZ27.mjs";import"./chunk-UESKYRNK.mjs";import{a as M,b as N}from"./chunk-GLEWUUGS.mjs";import"./chunk-NIQ4466A.mjs";import{a as L}from"./chunk-FRWX5YES.mjs";import{a as ko,b as lo,c as no}from"./chunk-CV7PH2KH.mjs";import"./chunk-D2WXBUVJ.mjs";export{Ge as AboutSection,tr as Alert,ar as AlertDescription,xr as AlertTitle,br as Avatar,dr as AvatarFallback,cr as AvatarImage,hr as Badge,Nr as BannerBlock,Vr as BlogCard,Ur as BlogList,He as BlogListSection,ze as BrandLogo,o as Breadcrumb,t as BreadcrumbEllipsis,e as BreadcrumbItem,f as BreadcrumbLink,r as BreadcrumbList,m as BreadcrumbPage,p as BreadcrumbSeparator,N as Button,Or as CMSLink,Pr as CallToActionBlock,Wr as Card,ke as Categories,ir as Checkbox,Rr as CodeBlock,x as Collapsible,b as CollapsibleContent,a as CollapsibleTrigger,Xr as CollectionArchive,Zo as Command,_o as CommandDialog,rr as CommandEmpty,er as CommandGroup,$o as CommandInput,mr as CommandItem,or as CommandList,fr as CommandSeparator,pr as CommandShortcut,Ie as ContactSection,pe as ContentBlock,Qr as CopyButton,Cr as CustomerCard,Po as Dialog,So as DialogClose,Uo as DialogContent,Yo as DialogDescription,Wo as DialogFooter,Vo as DialogHeader,To as DialogOverlay,Ro as DialogPortal,Xo as DialogTitle,Qo as DialogTrigger,c as DropdownMenu,s as DropdownMenuCheckboxItem,n as DropdownMenuContent,g as DropdownMenuGroup,q as DropdownMenuItem,v as DropdownMenuLabel,h as DropdownMenuPortal,j as DropdownMenuRadioGroup,u as DropdownMenuRadioItem,w as DropdownMenuSeparator,y as DropdownMenuShortcut,i as DropdownMenuSub,l as DropdownMenuSubContent,k as DropdownMenuSubTrigger,d as DropdownMenuTrigger,Ar as DynamicIcon,Dr as EventCard,Br as FeatureCard,Ir as FeatureGrid,te as FeaturesBlock,le as Filter,De as Footer,Ae as HeaderDesktop,Be as HeaderMobile,xe as HeadingImage,ne as HighImpactHero,Mo as HoverCard,Oo as HoverCardContent,No as HoverCardTrigger,Fr as Image,ae as ImageBlock,oe as InfoTile,z as Input,$r as Insight,Lo as Label,Yr as Logo,se as LowImpactHero,re as MOTD,Kr as Media,Sr as MediaBlock,qe as MediumImpactHero,Lr as NewsGrid,ee as OrgChart,Zr as PageRange,je as Pagination,_r as PayloadPagination,Ho as Popover,Jo as PopoverAnchor,Ko as PopoverContent,Io as PopoverTrigger,ue as PostHero,Hr as PricingCard,Fe as PricingSection,Er as ProjectCard,he as ProjectTeam,fe as ProposalSummary,ie as RelatedContent,ce as RelatedPosts,be as RenderBlocks,ve as RenderHero,Tr as RichText,Fo as ScrollArea,Go as ScrollBar,we as SectionHero,jr as Select,ur as SelectContent,kr as SelectGroup,wr as SelectItem,vr as SelectLabel,sr as SelectScrollDownButton,qr as SelectScrollUpButton,yr as SelectSeparator,nr as SelectTrigger,lr as SelectValue,A as Separator,Gr as ServiceCard,Ee as ServiceSection,B as Sheet,D as SheetClose,G as SheetContent,K as SheetDescription,I as SheetFooter,H as SheetHeader,F as SheetOverlay,E as SheetPortal,J as SheetTitle,C as SheetTrigger,V as Sidebar,ro as SidebarContent,$ as SidebarFooter,eo as SidebarGroup,mo as SidebarGroupAction,po as SidebarGroupContent,fo as SidebarGroupLabel,_ as SidebarHeader,Z as SidebarInput,Y as SidebarInset,de as SidebarLeft,to as SidebarMenu,bo as SidebarMenuAction,co as SidebarMenuBadge,ao as SidebarMenuButton,xo as SidebarMenuItem,go as SidebarMenuSkeleton,ho as SidebarMenuSub,jo as SidebarMenuSubButton,io as SidebarMenuSubItem,U as SidebarProvider,X as SidebarRail,ge as SidebarRight,oo as SidebarSeparator,W as SidebarTrigger,ye as SimpleHeader,O as Skeleton,Mr as TextAndImages,zr as Textarea,uo as Toast,vo as ToastAction,wo as ToastClose,zo as ToastDescription,qo as ToastProvider,yo as ToastTitle,so as ToastViewport,Ao as Toaster,Co as Toggle,Do as ToggleGroup,Eo as ToggleGroupItem,Q as Tooltip,S as TooltipContent,P as TooltipProvider,R as TooltipTrigger,Jr as VerticalSlider,Ce as VideoHeader,me as WhyUs,gr as badgeVariants,M as buttonVariants,ko as reducer,lo as toast,Bo as toggleVariants,L as useIsMobile,T as useSidebar,no as useToast};
|