cortex-react-components 1.62.0 → 1.62.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-2ZB6Z7XN.mjs +4 -0
- package/dist/chunk-326JXRIS.mjs +1 -0
- package/dist/{chunk-X7BL4XNE.mjs → chunk-5ALQQYYE.mjs} +1 -1
- package/dist/{chunk-CKHMERFD.mjs → chunk-65BHP4TM.mjs} +1 -1
- package/dist/{chunk-W44AKXM4.mjs → chunk-B7STYVDB.mjs} +1 -1
- package/dist/{chunk-YRSOMSFW.mjs → chunk-CJF6GVGP.mjs} +1 -1
- package/dist/{chunk-WLNBPCJF.mjs → chunk-DVGPU4EL.mjs} +1 -1
- package/dist/{chunk-24APRFWG.mjs → chunk-EVVDCPEA.mjs} +1 -1
- package/dist/chunk-FGHN2OHF.mjs +1 -0
- package/dist/{chunk-YCHCFTKF.mjs → chunk-FN5C27GW.mjs} +1 -1
- package/dist/chunk-FSYU3D5O.mjs +1 -0
- package/dist/{chunk-RR4HR3KN.mjs → chunk-GHXEOXV4.mjs} +1 -1
- package/dist/{chunk-DJMYL5YL.mjs → chunk-HFT5KFCM.mjs} +1 -1
- package/dist/{chunk-7J7FNKHF.mjs → chunk-IH37BDR2.mjs} +1 -1
- package/dist/{chunk-2H6ELPBB.mjs → chunk-JLCWVIEP.mjs} +1 -1
- package/dist/{chunk-KGIOLQSJ.mjs → chunk-JU7C3V5N.mjs} +1 -1
- package/dist/{chunk-YH4UFIEW.mjs → chunk-L5MDFQGH.mjs} +1 -1
- package/dist/{chunk-ZD7HSIMS.mjs → chunk-MUBDAI2K.mjs} +1 -1
- package/dist/{chunk-PARG2DLL.mjs → chunk-NP2M5K7O.mjs} +1 -1
- package/dist/{chunk-V4JGZT55.mjs → chunk-OMVXDUX7.mjs} +1 -1
- package/dist/{chunk-TLE6V6RN.mjs → chunk-RG5W7B5K.mjs} +1 -1
- package/dist/{chunk-W77KSAW7.mjs → chunk-RZUYAUCR.mjs} +1 -1
- package/dist/{chunk-2LZPPRWJ.mjs → chunk-U7Q6ZRR3.mjs} +1 -1
- package/dist/{chunk-FC3MJHFL.mjs → chunk-UDQTFQR7.mjs} +1 -1
- package/dist/{chunk-LSDSIUTM.mjs → chunk-VEWTPB7K.mjs} +1 -1
- package/dist/{chunk-T6FBWMZR.mjs → chunk-WKFNZUIR.mjs} +1 -1
- package/dist/{chunk-KYZKHJAK.mjs → chunk-WPL2QWNG.mjs} +1 -1
- package/dist/{chunk-Q5OSKAPP.mjs → chunk-X4EKDFOJ.mjs} +1 -1
- package/dist/{chunk-BZ2FTWEK.mjs → chunk-X4Q7WZZS.mjs} +1 -1
- package/dist/{chunk-DXDSW6OM.mjs → chunk-XIVKVQK2.mjs} +1 -1
- package/dist/{chunk-DIM5GGBK.mjs → chunk-XZ4GLJWK.mjs} +1 -1
- package/dist/chunk-YPK6OLRS.mjs +4 -0
- package/dist/{chunk-ITA62TPJ.mjs → chunk-ZJCHVWSF.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.stories.js +1 -1
- package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
- package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
- package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.d.ts +1 -0
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
- package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +1 -1
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/Print.stories.js +1 -1
- package/dist/components/Layouts/Print.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +1 -1
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/RelatedContent.d.ts +2 -2
- package/dist/components/Menus/RelatedContent.js +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/RelatedContent.stories.js +1 -1
- package/dist/components/Menus/RelatedContent.stories.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +8 -8
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.js +13 -13
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.js +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.js +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +1 -1
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +1 -1
- package/dist/pages/Website.stories.mjs +1 -1
- 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/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/BlogList.js +1 -1
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogList.stories.js +1 -1
- package/dist/sections/BlogList.stories.mjs +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PageSections.js +1 -1
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PageSections.stories.js +1 -1
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetail.js +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceDetailSection.stories.js +1 -1
- package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/ServiceSection.stories.js +1 -1
- package/dist/sections/ServiceSection.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-4CCX3VUG.mjs +0 -1
- package/dist/chunk-F75HZ4ID.mjs +0 -4
- package/dist/chunk-TNHG4LC5.mjs +0 -1
- package/dist/chunk-WQVJEFK2.mjs +0 -4
- package/dist/chunk-WWAAWBLR.mjs +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";"use client";var Eo=Object.create;var Se=Object.defineProperty;var jo=Object.getOwnPropertyDescriptor;var Uo=Object.getOwnPropertyNames;var Oo=Object.getPrototypeOf,Yo=Object.prototype.hasOwnProperty;var Jo=(e,t)=>{for(var o in t)Se(e,o,{get:t[o],enumerable:!0})},kt=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Uo(t))!Yo.call(e,s)&&s!==o&&Se(e,s,{get:()=>t[s],enumerable:!(a=jo(t,s))||a.enumerable});return e};var L=(e,t,o)=>(o=e!=null?Eo(Oo(e)):{},kt(t||!e||!e.__esModule?Se(o,"default",{value:e,enumerable:!0}):o,e)),Ko=e=>kt(Se({},"__esModule",{value:!0}),e);var Yr={};Jo(Yr,{Section:()=>le,default:()=>Go});module.exports=Ko(Yr);var ft=L(require("next/image"));var Mt=require("clsx");var et="-",Qo=e=>{let t=_o(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let l=n.split(et);return l[0]===""&&l.length!==1&&l.shift(),Pt(l,t)||Vo(n)},getConflictingClassGroupIds:(n,l)=>{let p=o[n]||[];return l&&a[n]?[...p,...a[n]]:p}}},Pt=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],a=t.nextPart.get(o),s=a?Pt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let r=e.join(et);return t.validators.find(({validator:n})=>n(r))?.classGroupId},Ct=/^\[(.+)\]$/,Vo=e=>{if(Ct.test(e)){let t=Ct.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},_o=e=>{let{theme:t,prefix:o}=e,a={nextPart:new Map,validators:[]};return Xo(Object.entries(e.classGroups),o).forEach(([r,n])=>{Ze(n,a,r,t)}),a},Ze=(e,t,o,a)=>{e.forEach(s=>{if(typeof s=="string"){let r=s===""?t:At(t,s);r.classGroupId=o;return}if(typeof s=="function"){if($o(s)){Ze(s(a),t,o,a);return}t.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([r,n])=>{Ze(n,At(t,r),o,a)})})},At=(e,t)=>{let o=e;return t.split(et).forEach(a=>{o.nextPart.has(a)||o.nextPart.set(a,{nextPart:new Map,validators:[]}),o=o.nextPart.get(a)}),o},$o=e=>e.isThemeGetter,Xo=(e,t)=>t?e.map(([o,a])=>{let s=a.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([n,l])=>[t+n,l])):r);return[o,s]}):e,Wo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,a=new Map,s=(r,n)=>{o.set(r,n),t++,t>e&&(t=0,a=o,o=new Map)};return{get(r){let n=o.get(r);if(n!==void 0)return n;if((n=a.get(r))!==void 0)return s(r,n),n},set(r,n){o.has(r)?o.set(r,n):s(r,n)}}},St="!",qo=e=>{let{separator:t,experimentalParseClassName:o}=e,a=t.length===1,s=t[0],r=t.length,n=l=>{let p=[],d=0,g=0,I;for(let T=0;T<l.length;T++){let R=l[T];if(d===0){if(R===s&&(a||l.slice(T,T+r)===t)){p.push(l.slice(g,T)),g=T+r;continue}if(R==="/"){I=T;continue}}R==="["?d++:R==="]"&&d--}let M=p.length===0?l:l.substring(g),P=M.startsWith(St),B=P?M.substring(1):M,S=I&&I>g?I-g:void 0;return{modifiers:p,hasImportantModifier:P,baseClassName:B,maybePostfixModifierPosition:S}};return o?l=>o({className:l,parseClassName:n}):n},Zo=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(a=>{a[0]==="["?(t.push(...o.sort(),a),o=[]):o.push(a)}),t.push(...o.sort()),t},er=e=>({cache:Wo(e.cacheSize),parseClassName:qo(e),...Qo(e)}),tr=/\s+/,or=(e,t)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:s}=t,r=[],n=e.trim().split(tr),l="";for(let p=n.length-1;p>=0;p-=1){let d=n[p],{modifiers:g,hasImportantModifier:I,baseClassName:M,maybePostfixModifierPosition:P}=o(d),B=!!P,S=a(B?M.substring(0,P):M);if(!S){if(!B){l=d+(l.length>0?" "+l:l);continue}if(S=a(M),!S){l=d+(l.length>0?" "+l:l);continue}B=!1}let T=Zo(g).join(":"),R=I?T+St:T,z=R+S;if(r.includes(z))continue;r.push(z);let X=s(S,B);for(let O=0;O<X.length;++O){let Ce=X[O];r.push(R+Ce)}l=d+(l.length>0?" "+l:l)}return l};function rr(){let e=0,t,o,a="";for(;e<arguments.length;)(t=arguments[e++])&&(o=It(t))&&(a&&(a+=" "),a+=o);return a}var It=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=It(e[a]))&&(o&&(o+=" "),o+=t);return o};function ar(e,...t){let o,a,s,r=n;function n(p){let d=t.reduce((g,I)=>I(g),e());return o=er(d),a=o.cache.get,s=o.cache.set,r=l,l(p)}function l(p){let d=a(p);if(d)return d;let g=or(p,o);return s(p,g),g}return function(){return r(rr.apply(null,arguments))}}var N=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Bt=/^\[(?:([a-z-]+):)?(.+)\]$/i,sr=/^\d+\/\d+$/,nr=new Set(["px","full","screen"]),ir=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lr=/\d+(%|px|r?em|[sdl]?Ie([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(Ie|Ie|i|Ie|min|max))|\Ie(calc|min|max|clamp)\(.+\)|^0$/,cr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,dr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Ie-?((\d+)?\.?(\d+)[a-z]+|0)/,mr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>ce(e)||nr.has(e)||sr.test(e),W=e=>de(e,"length",vr),ce=e=>!!e&&!Number.isNaN(Number(e)),qe=e=>de(e,"number",ce),he=e=>!!e&&Number.isInteger(Number(e)),pr=e=>e.endsWith("%")&&ce(e.slice(0,-1)),u=e=>Bt.test(e),q=e=>ir.test(e),ur=new Set(["length","size","percentage"]),gr=e=>de(e,ur,Tt),fr=e=>de(e,"position",Tt),hr=new Set(["image","url"]),br=e=>de(e,hr,wr),xr=e=>de(e,"",yr),be=()=>!0,de=(e,t,o)=>{let a=Bt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):o(a[2]):!1},vr=e=>lr.test(e)&&!cr.test(e),Tt=()=>!1,yr=e=>dr.test(e),wr=e=>mr.test(e);var Nr=()=>{let e=N("colors"),t=N("spacing"),o=N("blur"),a=N("brightness"),s=N("borderColor"),r=N("borderRadius"),n=N("borderSpacing"),l=N("borderWidth"),p=N("contrast"),d=N("grayscale"),g=N("hueRotate"),I=N("invert"),M=N("gap"),P=N("gradientColorStops"),B=N("gradientColorStopPositions"),S=N("inset"),T=N("margin"),R=N("opacity"),z=N("padding"),X=N("saturate"),O=N("scale"),Ce=N("sepia"),ht=N("skew"),bt=N("space"),xt=N("translate"),_e=()=>["auto","contain","none"],$e=()=>["auto","hidden","clip","visible","scroll"],Xe=()=>["auto",u,t],C=()=>[u,t],vt=()=>["",V,W],Ae=()=>["auto",ce,u],yt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Pe=()=>["solid","dashed","dotted","double","none"],wt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],We=()=>["start","end","center","between","around","evenly","stretch"],fe=()=>["","0",u],Nt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[ce,u];return{cacheSize:500,separator:":",theme:{colors:[be],spacing:[V,W],blur:["none","",q,u],brightness:Q(),borderColor:[e],borderRadius:["none","","full",q,u],borderSpacing:C(),borderWidth:vt(),contrast:Q(),grayscale:fe(),hueRotate:Q(),invert:fe(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[pr,W],inset:Xe(),margin:Xe(),opacity:Q(),padding:C(),saturate:Q(),scale:Q(),sepia:fe(),skew:Q(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[q]}],"break-after":[{"break-after":Nt()}],"break-before":[{"break-before":Nt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...yt(),u]}],overflow:[{overflow:$e()}],"overflow-Ie":[{"overflow-Ie":$e()}],"overflow-Ie":[{"overflow-Ie":$e()}],overscroll:[{overscroll:_e()}],"overscroll-Ie":[{"overscroll-Ie":_e()}],"overscroll-Ie":[{"overscroll-Ie":_e()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-Ie":[{"inset-Ie":[S]}],"inset-Ie":[{"inset-Ie":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",he,u]}],basis:[{basis:Xe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:fe()}],shrink:[{shrink:fe()}],order:[{order:["first","last","none",he,u]}],"grid-cols":[{"grid-cols":[be]}],"col-start-end":[{col:["auto",{span:["full",he,u]},u]}],"col-start":[{"col-start":Ae()}],"col-end":[{"col-end":Ae()}],"grid-rows":[{"grid-rows":[be]}],"row-start-end":[{row:["auto",{span:[he,u]},u]}],"row-start":[{"row-start":Ae()}],"row-end":[{"row-end":Ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[M]}],"gap-Ie":[{"gap-Ie":[M]}],"gap-Ie":[{"gap-Ie":[M]}],"justify-content":[{justify:["normal",...We()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...We(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...We(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[z]}],px:[{px:[z]}],py:[{py:[z]}],ps:[{ps:[z]}],Ie:[{Ie:[z]}],pt:[{pt:[z]}],pr:[{pr:[z]}],pb:[{pb:[z]}],pl:[{pl:[z]}],Ie:[{Ie:[T]}],mx:[{mx:[T]}],my:[{my:[T]}],ms:[{ms:[T]}],Ie:[{Ie:[T]}],mt:[{mt:[T]}],mr:[{mr:[T]}],mb:[{mb:[T]}],ml:[{ml:[T]}],"space-Ie":[{"space-Ie":[bt]}],"space-Ie-reverse":["space-Ie-reverse"],"space-Ie":[{"space-Ie":[bt]}],"space-Ie-reverse":["space-Ie-reverse"],Ie:[{Ie:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-Ie":[{"min-Ie":[u,t,"min","max","fit"]}],"max-Ie":[{"max-Ie":[u,t,"none","full","min","max","fit","prose",{screen:[q]},q]}],Ie:[{Ie:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Ie":[{"min-Ie":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-Ie":[{"max-Ie":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",q,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",qe]}],"font-family":[{font:[be]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",u]}],"line-clamp":[{"line-clamp":["none",ce,qe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[R]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[R]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Pe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,W]}],"underline-offset":[{"underline-offset":["auto",V,u]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[R]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...yt(),fr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Ie","Ie","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gr]}],"bg-image":[{bg:["none",{"gradient-Ie":["t","tr","r","br","Ie","bl","l","tl"]},br]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-Ie-pos":[{Ie:[B]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-Ie":[{Ie:[P]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-Ie":[{"rounded-Ie":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-Ut":[{"rounded-Ut":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-Ie":[{border:[l]}],"border-Ie-Ie":[{"border-Ie":[l]}],"border-Ie-Ie":[{"border-Ie":[l]}],"border-Ie-s":[{"border-s":[l]}],"border-Ie-e":[{"border-e":[l]}],"border-Ie-t":[{"border-t":[l]}],"border-Ie-r":[{"border-r":[l]}],"border-Ie-Ie":[{"border-Ie":[l]}],"border-Ie-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[R]}],"border-style":[{border:[...Pe(),"hidden"]}],"divide-Ie":[{"divide-Ie":[l]}],"divide-Ie-reverse":["divide-Ie-reverse"],"divide-Ie":[{"divide-Ie":[l]}],"divide-Ie-reverse":["divide-Ie-reverse"],"divide-opacity":[{"divide-opacity":[R]}],"divide-style":[{divide:Pe()}],"border-color":[{border:[s]}],"border-color-Ie":[{"border-Ie":[s]}],"border-color-Ie":[{"border-Ie":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-Ie":[{"border-Ie":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Pe()]}],"outline-offset":[{"outline-offset":[V,u]}],"outline-Ie":[{outline:[V,W]}],"outline-color":[{outline:[e]}],"ring-Ie":[{ring:vt()}],"ring-Ie-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[R]}],"ring-offset-Ie":[{"ring-offset":[V,W]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",q,xr]}],"shadow-color":[{shadow:[be]}],opacity:[{opacity:[R]}],"mix-blend":[{"mix-blend":[...wt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":wt()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",q,u]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[I]}],saturate:[{saturate:[X]}],sepia:[{sepia:[Ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[I]}],"backdrop-opacity":[{"backdrop-opacity":[R]}],"backdrop-saturate":[{"backdrop-saturate":[X]}],"backdrop-sepia":[{"backdrop-sepia":[Ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-Ie":[{"border-spacing-Ie":[n]}],"border-spacing-Ie":[{"border-spacing-Ie":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:Q()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-Ie":[{"scale-Ie":[O]}],"scale-Ie":[{"scale-Ie":[O]}],rotate:[{rotate:[he,u]}],"translate-Ie":[{"translate-Ie":[xt]}],"translate-Ie":[{"translate-Ie":[xt]}],"skew-Ie":[{"skew-Ie":[ht]}],"skew-Ie":[{"skew-Ie":[ht]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","Ie-resize","Ot-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Ie","Ie",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ie":[{"scroll-Ie":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-Ie":[{"scroll-Ie":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-Ie":[{"scroll-Ie":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Ie","Ie","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Ie":[{"touch-pan":["Ie","left","right"]}],"touch-Ie":[{"touch-pan":["Ie","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[e,"none"]}],"stroke-Ie":[{stroke:[V,W,qe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Ie","overflow-Ie"],overscroll:["overscroll-Ie","overscroll-Ie"],inset:["inset-Ie","inset-Ie","start","end","top","right","bottom","left"],"inset-Ie":["right","left"],"inset-Ie":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Ie","gap-Ie"],p:["px","py","ps","Ie","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ie:["mx","my","ms","Ie","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["Ie","Ie"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-Ie","rounded-l","rounded-ss","rounded-se","rounded-Ut","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Ut"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-Ie":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Ie","border-spacing-Ie"],"border-Ie":["border-Ie-s","border-Ie-e","border-Ie-t","border-Ie-r","border-Ie-Ie","border-Ie-l"],"border-Ie-Ie":["border-Ie-r","border-Ie-l"],"border-Ie-Ie":["border-Ie-t","border-Ie-Ie"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ie","border-color-l"],"border-color-Ie":["border-color-r","border-color-l"],"border-color-Ie":["border-color-t","border-color-Ie"],"scroll-Ie":["scroll-mx","scroll-my","scroll-ms","scroll-Ie","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-Ie","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Ie","touch-Ie","touch-pz"],"touch-Ie":["touch"],"touch-Ie":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Rt=ar(Nr);function i(...e){return Rt((0,Mt.clsx)(e))}var Ie=require("react/jsx-runtime"),Ft=({className:e,content:t,style:o})=>(0,Ie.jsx)("div",{className:i("mx-auto my-8 Ie-full",e),children:(0,Ie.jsx)("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Ie.jsx)(F,{content:t,enableGutter:!1,enableProse:!1})})});var Ot=require("react");var Dt=require("@radix-ui/react-slot"),zt=require("class-variance-authority"),Lt=L(require("react")),kr=(0,zt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"Ie-10 px-4 py-2",icon:"Ie-10 Ie-10",lg:"Ie-11 rounded px-8",sm:"Ie-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),te=Lt.forwardRef(({asChild:e=!1,className:t,size:o,variant:a,...s},r)=>(0,Ie.jsx)(e?Dt.Slot:"button",{className:i(kr({className:t,size:o,variant:a})),ref:r,...s}));te.displayName="Button";var tt=L(require("next/link")),oe=e=>{let{type:t,appearance:o="inline",children:a,className:s,label:r,newTab:n,reference:l,size:p,url:d}=e,g=t==="reference"&&typeof l?.value=="object"&&l.value.slug?`${l?.relationTo!=="pages"?`/${l?.relationTo}`:""}/${l.value.slug}`:d;if(!g)return null;let I=o==="link"?"clear":p,M=n?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Ie.jsxs)(tt.default,{className:i(s),href:g||d||"",...M,children:[r&&r,a&&a]}):(0,Ie.jsx)(te,{asChild:!0,className:s,size:I,variant:o,children:(0,Ie.jsxs)(tt.default,{className:i(s),href:g||d||"",...M,children:[r&&r,a&&a]})})};function Be({className:e}){return i("flex items-center min-Ie-[3.5rem] md:min-Ie-[3.75rem] Ie-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 Cr({className:e,...t}){return(0,Ie.jsx)("input",{...t,className:Be({className:e})})}function Te({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative Ie-full",children:[(0,Ie.jsx)(Cr,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-1/2 Ie-[14px] -translate-Ie-1/2 text-accent",children:e})]})}function Ar({className:e,...t}){return(0,Ie.jsx)("textarea",{...t,className:i(Be({}),"resize-none md:min-Ie-[130px]",e)})}function Gt({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative Ie-full",children:[(0,Ie.jsx)(Ar,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-[18px] Ie-[14px] text-accent",children:e})]})}var jt=require("formik"),Ut=require("react-icons/fa6"),re=L(require("yup"));async function Et(e){let{name:t,email:o,subject:a,message:s}=e,r=process.env.TEAMS_WEBHOOK_URL;if(!r)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.Ie/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:`${o}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let l=await fetch(r,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var ot=require("sonner"),E={tooShort:"Must be Ie least ${min} characters",tooLong:"Must be Ie most ${max} characters",required:"This field is required",email:"Invalid email format"},Pr=re.object().shape({name:re.string().min(2,E.tooShort).max(50,E.tooLong).required(E.required),email:re.string().email(E.email).required(E.required),subject:re.string().min(2,E.tooShort).max(50,E.tooLong).required(E.required),message:re.string().min(2,E.tooShort).max(300,E.tooLong).required(E.required)}),Re=i("!pr-[44px] text-foreground"),Me=i("!border-red-600 border"),Fe=i("sr-only");function De(){return(0,Ie.jsx)(jt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Pr,onSubmit:async(e,{resetForm:t})=>{let o=await Et(e);o.data===null?ot.toast.error(o.message):(ot.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:a,handleBlur:s,isSubmitting:r,handleSubmit:n})=>(0,Ie.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(Te,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:a,onBlur:s,disabled:r,icon:(0,Ie.jsx)(Ut.FaUser,{className:"text-primary"}),className:i(Re,e.name&&t.name&&Me)}),e.name&&t.name&&(0,Ie.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Fe,children:e.name})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(Te,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:a,onBlur:s,disabled:r,icon:(0,Ie.jsx)(Sr,{}),className:i(Re,e.email&&t.email&&Me)}),e.email&&t.email&&(0,Ie.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Fe,children:e.email})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(Te,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:a,onBlur:s,disabled:r,className:i(Re,e.subject&&t.subject&&Me)}),e.subject&&t.subject&&(0,Ie.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Fe,children:e.subject})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(Gt,{placeholder:"Message...",name:"message",value:o.message,onChange:a,onBlur:s,disabled:r,icon:(0,Ie.jsx)(Ir,{}),className:i(Re,e.message&&t.message&&Me)}),e.message&&t.message&&(0,Ie.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Fe,children:e.message})]}),(0,Ie.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,Ie.jsx)(te,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:r,children:"Send"})})]})})}function Sr(){return(0,Ie.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",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 Ir(){return(0,Ie.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",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"})})}var ze=({links:e,richText:t})=>{let[o,a]=(0,Ot.useState)(!1),s="accent",r=()=>a(!0),n=()=>a(!1),l=p=>{p.target===p.currentTarget&&n()};return(0,Ie.jsxs)("div",{className:i("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,Ie.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,Ie.jsxs)("div",{className:"mx-auto max-Ie-2xl text-center prose",children:[t&&(0,Ie.jsx)(F,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,Ie.jsx)("div",{className:"mt-10 flex items-center justify-center gap-Ie-6",children:(0,Ie.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:p},d)=>p?.url==="/contact"?(0,Ie.jsx)("div",{onClick:r,className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),children:p.label},d):(0,Ie.jsx)(oe,{size:"lg",className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),...p},d))})})]})}),o&&(0,Ie.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:(0,Ie.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg Ie-full max-Ie-lg light relative",children:[(0,Ie.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:n,children:"\u2715"}),(0,Ie.jsx)(De,{})," "]})})]})};var Le=require("prism-react-renderer");var Yt=require("lucide-react");function Kt({code:e}){let[t,o]=(0,Ot.useState)("Copy");function a(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Ie.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ie.jsxs)(te,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Ie.jsx)("p",{children:t}),(0,Ie.jsx)("div",{className:"Ie-6 Ie-6",children:(0,Ie.jsx)(Yt.ClipboardCopy,{})})]})})}var Qt=({code:e,language:t=""})=>e?(0,Ie.jsx)(Le.Highlight,{code:e,language:t,theme:Le.themes.vsDark,children:({getLineProps:o,getTokenProps:a,tokens:s})=>(0,Ie.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Ie-auto",children:[s.map((r,n)=>(0,Ie.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,Ie.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,Ie.jsx)("span",{className:"table-cell pl-4",children:r.map((l,p)=>(0,Ie.jsx)("span",{...a({token:l})},p))})]},n)),(0,Ie.jsx)(Kt,{code:e})]})}):null;var Vt=({className:e,code:t,language:o})=>(0,Ie.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ie.jsx)(Qt,{code:t,language:o})});var $t=L(require("next/image")),Br={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},_t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Xt=e=>{let{alt:t,fill:o,imgClassName:a,priority:s,resource:r,size:n,src:l,loading:p}=e,d,g,I=t,M=l||"";if(!M&&r&&typeof r=="object"){let{alt:S,filename:T,height:R,url:z,width:X}=r;if(R&&R>500){let O=500/R;d=X*O,g=R*O}else d=X,g=R;I=S||"",M=z||_t}let P=p||"lazy",B=n||Object.entries(Br).map(([,S])=>`(max-width: ${S}px) ${S*2}Ie`).join(", ");return(0,Ie.jsx)("picture",{children:(0,Ie.jsx)($t.default,{alt:I||"",className:i(a),fill:o,height:o?void 0:g,placeholder:"blur",blurDataURL:_t,priority:P!=="lazy"&&s,quality:100,loading:P,sizes:B,src:M,width:o?void 0:d})})};var Wt=e=>{let{onClick:t,resource:o,videoClassName:a}=e,s=(0,Ot.useRef)(null);if((0,Ot.useEffect)(()=>{let{current:r}=s;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,Ie.jsx)("video",{autoPlay:!0,className:i(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Ie.jsx)("source",{src:o.url||""})})}return null};var Z=e=>{let{className:t,htmlElement:o="div",resource:a}=e,s=typeof a=="object"&&a?.mimeType?.includes("video");return(0,Ie.jsx)(o||Ot.Fragment,{...o!==null?{className:t}:{},children:s?(0,Ie.jsx)(Wt,{...e}):(0,Ie.jsx)(Xt,{...e})})};var Zt=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:s,staticImage:r}=e;return(0,Ie.jsx)("div",{className:i("Ie-full ",{container:o},t),children:(0,Ie.jsx)(Z,{imgClassName:i("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:r})})};var eo=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:s,staticImage:r}=e;return(0,Ie.jsx)("div",{className:i("",{container:o},t),children:(0,Ie.jsx)(Z,{imgClassName:i("rounded-[0.8rem]",a),resource:s,src:r})})};var ve=({type:e="solid",iconName:t="cloud",size:o="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",r="fa-"+t,n=a??"",l=s+r+" fa-"+o+" "+n;return(0,Ie.jsx)("i",{className:l})};var ro=L(require("next/image"));function oo(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ye({image:e,icon:t,title:o,subtitle:a,content:s,statistic:r,settings:n,link:l,className:p}){let d={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-Ie-br from-[#A42368] Ie-[#4A1030]",radial:"bg-gradient-Ie-br from-[#4A1030] Ie-[#2D0A1D] relative overflow-hidden",light:"bg-background"},g={"1/4":"Ie-1/4","1/3":"Ie-1/3","1/2":"Ie-1/2",full:"Ie-full",auto:"Ie-full"};return(0,Ie.jsxs)("a",{href:l?.url||"#",className:i("min-Ie-56 max-Ie-xl Ie-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",n&&!e&&d[n?.card==="default"?"solid":n?.card],e&&"bg-foreground",n&&n?.card==="outline"?"text-gray-900":"text-white",g[n?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,p),children:[e&&(0,Ie.jsx)("div",{className:"relative aspect-[16/9] Ie-full",children:(0,Ie.jsx)(ro.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,Ie.jsxs)("div",{className:i(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,Ie.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,Ie.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,Ie.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,Ie.jsx)(Tr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:o??"",variant:n?.card==="default"?"solid":n?.card??"solid",iconSize:n?.iconSize||"large"})}),s&&typeof s=="object"&&(0,Ie.jsx)(F,{enableGutter:!1,content:s,enableProse:!1,className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-Ie-3",n?.card==="outline"||n?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,Ie.jsx)("div",{className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-Ie-3",n?.card==="outline"||n?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s})]}),l&&l.url&&(0,Ie.jsx)("div",{className:"mt-6",children:(0,Ie.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:l?.label||"Find out more"})})]})]})}var Tr=({icon:e,heading:t,variant:o,iconSize:a,subtitle:s})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,Ie.jsxs)("div",{className:"flex items-start justify-between Ie-full mb-2",children:[(0,Ie.jsx)("div",{className:i(o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),oo(e)&&(0,Ie.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,Ie.jsx)(ve,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,Ie.jsxs)("div",{className:"flex flex-col gap-4",children:[oo(e)&&(0,Ie.jsx)("div",{className:i("Ie-12 Ie-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,Ie.jsx)(ve,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Ie.jsx)("h3",{className:i("font-normal",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,Ie.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ie.jsx)("div",{className:i("font-regular",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var ao=L(require("next/link"));function $({children:e,href:t,openNewTab:o,...a}){return(0,Ie.jsx)(ao.default,{href:t,target:o?"_blank":"_self",...a,children:e})}var no=({title:e,description:t,features:o,id:a,nested:s=!1})=>(0,Ie.jsxs)("section",{className:i(s?"Ie-full":"container",""),children:[(0,Ie.jsxs)("div",{className:"prose prose:max-Ie-none",children:[e&&(0,Ie.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,Ie.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,Ie.jsx)("div",{className:"mb-5 text-foreground",children:(0,Ie.jsx)(F,{content:t,enableGutter:!1})})]}),(0,Ie.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${o?o.length>2?2:o.length:1} lg:grid-cols-${o?o.length>3?3:o.length:1}`,children:o&&o.map((r,n)=>{let l=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,icon:r.icon.icon}};return(0,Ie.jsx)(ye,{title:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,settings:{...r.settings,width:"auto",order:n},link:r.link?{...r.link,label:"Learn more"}:void 0,icon:l()??{type:"none",icon:null}},n)})})]});var Ee=L(require("react"));function we({nodes:e}){return(0,Ie.jsx)(Ee.Fragment,{children:e?.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,Ie.jsx)(Ee.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,Ie.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,Ie.jsx)("em",{children:r},o)),t.format&4&&(r=(0,Ie.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,Ie.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,Ie.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,Ie.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,Ie.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,Ie.jsx)("table",{children:(0,Ie.jsx)("tbody",{children:t.children.map((r,n)=>(0,Ie.jsx)("tr",{children:r.children.map((l,p)=>(0,Ie.jsx)("td",{children:we({nodes:l.children})},p))},n))})},o);let a=r=>{if(r.children==null)return null;if(r?.type==="list"&&r?.listType==="check")for(let n of r.children)"checked"in n&&(n?.checked||(n.checked=!1));return we({nodes:r.children})},s="children"in t?a(t):"";if(t.type==="block"){let r=t.fields,n=r?.blockType;if(!r||!n)return null;switch(n){case"cta":return(0,Ie.jsx)(ze,{...r},o);case"mediaBlock":return(0,Ie.jsx)(Zt,{className:"col-start-1 col-span-3",imgClassName:"Ie-0",...r,captionClassName:"mx-auto max-Ie-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,Ie.jsx)(eo,{className:"col-start-1 col-span-3",imgClassName:"Ie-0",...r,captionClassName:"mx-auto max-Ie-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Ie.jsx)(Ft,{className:"col-start-2 mb-4",...r},o);case"code":return(0,Ie.jsx)(Vt,{className:"col-start-2",...r},o);case"features":return(0,Ie.jsx)(no,{...r,nested:!0},o);case"reusableContentBlock":we({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ie.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Ie.jsx)("p",{className:"col-start-2",children:s},o);case"heading":{let r=t?.tag;return(0,Ie.jsx)(r,{className:"col-start-2",id:t?.id||"",children:s},o)}case"list":{let r=t?.tag;return(0,Ie.jsx)(r,{className:"list col-start-2",children:s},o)}case"listitem":return t?.checked!=null?(0,Ie.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:s},o):(0,Ie.jsx)("li",{value:t?.value,children:s},o);case"quote":return(0,Ie.jsx)("blockquote",{className:"col-start-2",children:s},o);case"link":{let r=t.fields;return(0,Ie.jsx)(oe,{newTab:!!r?.newTab,reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}case"autolink":{let r=t.fields;return(0,Ie.jsx)(oe,{newTab:!!r?.newTab,reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}default:return null}})})}var F=({className:e,content:t,enableGutter:o=!0,enableProse:a=!0})=>t?(0,Ie.jsx)("div",{className:i({"container ":o,"max-Ie-none":!o,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&we({nodes:t?.root?.children})}):null;var lo=({children:e,richText:t})=>(0,Ie.jsx)("div",{className:"min-Ie-full py-10 bg-muted mt-24",children:(0,Ie.jsx)("div",{className:"container",children:e||t&&(0,Ie.jsx)(F,{content:t,enableGutter:!1})})});var lt=L(require("next/image"));var Rr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:o,height:a,url:s,width:r}=e;return(0,Ie.jsx)(lt.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:s||"",width:r||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Ie.jsx)("div",{children:(0,Ie.jsx)(lt.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},co=({links:e,media:t,children:o,richText:a})=>(0,Ie.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Ie.jsx)(Rr,{media:t}),(0,Ie.jsx)("div",{className:"mx-0 min-Ie-full relative z-9",children:(0,Ie.jsx)("div",{className:"container text-brand-one-foreground",children:o||a&&(0,Ie.jsx)(F,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var mo=L(require("next/image"));var po=({links:e,media:t,children:o,richText:a})=>(0,Ie.jsx)("div",{children:(0,Ie.jsxs)("div",{className:"sticky top-0 Ie-[70vh] min-Ie-[600px]",children:[(0,Ie.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[o||a&&(0,Ie.jsx)(F,{className:"max-Ie-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Ie.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:s},r)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(oe,{...s})},r))})]}),(0,Ie.jsxs)("div",{className:"fixed inset-0 Ie-[70vh] min-Ie-[600px] select-none",children:[t&&typeof t=="object"&&(0,Ie.jsx)(Z,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)(mo.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Ie.jsx)("span",{className:"absolute inset-0 bg-gradient-Ie-Ie from-white dark:from-black"})]}),(0,Ie.jsx)(Mr,{})]})}),Mr=()=>(0,Ie.jsx)("div",{className:"Ie-full Ie-[1240px] z-10",children:(0,Ie.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[(0,Ie.jsx)("defs",{children:(0,Ie.jsxs)("mask",{id:"mask",children:[(0,Ie.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,Ie.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,Ie.jsx)("rect",{Ie:"330",width:"1920",height:"7",fill:"white"})," "]})});var ue=require("@headlessui/react"),go=require("@heroicons/react/20/solid");var Fr=({name:e,items:t,actions:o=[],href:a})=>!t&&a?(0,Ie.jsx)("a",{href:a,className:"flex items-center gap-Ie-1 text-sm text-foreground group",children:(0,Ie.jsxs)("span",{className:"relative",children:[e,(0,Ie.jsx)("span",{className:"absolute -bottom-1 left-1/2 Ie-1/2 Ie-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)(ue.Popover,{children:[(0,Ie.jsxs)(ue.PopoverButton,{className:"flex items-center gap-Ie-1 text-sm/6 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 Ie-1/2 Ie-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)(go.ChevronDownIcon,{"aria-hidden":"true",className:"Ie-5 Ie-5 flex-none text-accent"})]}),(0,Ie.jsxs)(ue.PopoverPanel,{transition:!0,className:"absolute inset-Ie-0 top-0 -z-10 bg-popover mt-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-Ie-7xl grid-cols-4 gap-Ie-4 px-6 py-10 lg:px-8 xl:gap-Ie-8 z-50",children:t&&t.map(s=>(0,Ie.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Ie.jsx)("div",{className:"flex Ie-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:s.icon&&(0,Ie.jsx)(uo,{icon:s.icon,size:"4x"})}),(0,Ie.jsxs)("a",{href:s.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[s.name,(0,Ie.jsx)("span",{className:"absolute inset-0"})]}),(0,Ie.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),o.length>0&&(0,Ie.jsx)("div",{className:"bg-gray-50",children:(0,Ie.jsx)("div",{className:"mx-auto max-Ie-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:o.map(s=>(0,Ie.jsxs)("a",{href:s.href,className:"flex items-center max-Ie-12 justify-center gap-Ie-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[s.icon&&(0,Ie.jsx)(uo,{icon:s.icon,className:"Ie-5 Ie-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),uo=({icon:e,className:t,size:o="lg"})=>{if(!e)return null;if("type"in e)return(0,Ie.jsx)(ve,{...e,size:o});if("src"in e)return(0,Ie.jsx)("div",{className:i(t,"Ie-full max-Ie-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Ie.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},fo=Fr;function Ue({children:e,isFluid:t=!1,isNoPadding:o=!1,className:a=""}){let s=i("container",t&&"full-width",o&&"no-padding",a);return(0,Ie.jsx)("div",{className:s,children:e})}var j=({position:e,className:t=""})=>{let o=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=o[Math.floor(Math.random()*o.length)];if(e==="header")return(0,Ie.jsx)("div",{className:"Ie-full Ie-[1240px] z-20",children:(0,Ie.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:i(t,"absolute -bottom-[2px] flex"),children:[(0,Ie.jsx)("defs",{children:(0,Ie.jsxs)("mask",{id:"mask",children:[(0,Ie.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,Ie.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,Ie.jsx)("rect",{Ie:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,Ie.jsxs)("div",{className:"Ie-full z-20 aspect-[1920/332] overflow-hidden ",children:[(0,Ie.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:i(t,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[(0,Ie.jsx)("defs",{children:(0,Ie.jsxs)("mask",{id:"mask",children:[(0,Ie.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),(0,Ie.jsx)("div",{className:"absolute -bottom-[5px] border-none left-0 Ie-full Ie-[6px] z-10 bg-white"})]});if(e==="dark-top")return(0,Ie.jsx)("div",{className:"Ie-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,Ie.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:i(t,"relative "),style:{fontSize:0,float:"left"},transform:o[3],children:[(0,Ie.jsx)("defs",{children:(0,Ie.jsxs)("mask",{id:"mask",children:[(0,Ie.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,Ie.jsx)("div",{className:"Ie-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:(0,Ie.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:i(t,"Ie-full block overflow-hidden"),children:(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,Ie.jsx)("div",{className:"Ie-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,Ie.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:i(t,"Ie-full block overflow-hidden"),transform:o[3],children:(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,Ie.jsx)("div",{className:"Ie-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:(0,Ie.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:i(t,"Ie-full block overflow-hidden"),children:(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var ct=L(require("next/image"));function se({logoLight:e,logoDark:t,mobile:o=!1}){return(0,Ie.jsxs)($,{href:"/",className:i(o?"py-1":"py-2"),children:[(0,Ie.jsx)(ct.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:o?35:50}}),(0,Ie.jsx)(ct.default,{className:"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:o?35:50}})]})}var bo=require("next-themes");function vo({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:a,themeControl:s=!1,wide:r=!1}){let[n,l]=(0,Ot.useState)(!1),[p,d]=(0,Ot.useState)(""),g=["light","dark"],{theme:I,setTheme:M}=(0,bo.useTheme)();(0,Ot.useEffect)(()=>{d(I||"dark")},[I]);let P=()=>{let B=g[(g.indexOf(p)+1)%g.length];d(B),M(B)};return(0,Ot.useEffect)(()=>{let B=()=>{window.scrollY>100?l(!0):l(!1)};return window.addEventListener("scroll",B,{passive:!0}),()=>window.removeEventListener("scroll",B)},[]),(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-Ie-0":"-translate-Ie-full bg-transparent"}`,children:(0,Ie.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:(0,Ie.jsxs)("div",{className:i("flex items-center justify-between px-9 py-0",!r&&"container"),children:[(0,Ie.jsx)(se,{logoDark:o,logoLight:t}),(0,Ie.jsx)(ue.PopoverGroup,{className:"hidden lg:flex lg:gap-Ie-12",children:a&&a.map(B=>(0,Ie.jsx)(fo,{...B},B.name))}),s&&(0,Ie.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:P,children:(0,Ie.jsxs)("div",{className:"relative",children:[(0,Ie.jsx)(Yt.Sun,{className:"absolute Ie-6 Ie-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ie.jsx)(Yt.Moon,{className:"absoulte Ie-6 Ie-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var Ye=require("@heroicons/react/24/outline");var dt=["light","dark"];function wo({logoLight:e,logoDark:t,menuItems:o,isMenuOpen:a=!0}){let[s,r]=(0,Ot.useState)(!1),{theme:n,setTheme:l}=(0,bo.useTheme)(),[p,d]=(0,Ot.useState)(!1),[g,I]=(0,Ot.useState)("light");(0,Ot.useEffect)(()=>{let P=()=>{window.scrollY>100?r(!0):r(!1)};return window.addEventListener("scroll",P,{passive:!0}),()=>window.removeEventListener("scroll",P)},[]),(0,Ot.useEffect)(()=>{I(n||"dark")},[n]);let M=()=>{let P=dt[(dt.indexOf(g)+1)%dt.length];I(P),l(P)};return(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${s||a?"translate-Ie-0":"-translate-Ie-full bg-transparent"}`,children:[(0,Ie.jsx)("nav",{className:i("backdrop-blur-sm text-white p-0",p&&"hidden"),children:(0,Ie.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&Ie.logo-light]:[filter:brightness(0)_invert(1)] dark:border-Ie dark:border-accent",children:[(0,Ie.jsx)(se,{logoDark:t,logoLight:e,mobile:!0}),(0,Ie.jsx)("div",{className:"flex items-center space-Ie-4",children:(0,Ie.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"fixed right-4 z-[60] p-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)(Ye.Bars3Icon,{"aria-hidden":"true",className:"Ie-4 Ie-4"})]})})]})}),(0,Ie.jsxs)(ue.Dialog,{open:p,onClose:d,className:"lg:hidden",children:[(0,Ie.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ie.jsxs)(ue.DialogPanel,{className:"fixed inset-Ie-0 right-0 z-20 Ie-full overflow-Ie-auto bg-background dark:bg-[#212124] px-2 sm:max-Ie-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ie.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Ie.jsx)(se,{logoDark:t,logoLight:e,mobile:!0}),(0,Ie.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-Ie-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ie.jsx)(Ye.XMarkIcon,{"aria-hidden":"true",className:"Ie-6 Ie-6"})]})]}),(0,Ie.jsx)("div",{className:"mt-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:o&&o.map(P=>(0,Ie.jsx)(Dr,{...P},P.name))})})})]})]})]})})}function Dr({name:e,items:t,actions:o,href:a}){return!t&&a?(0,Ie.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,Ie.jsxs)(ue.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ie.jsx)(ue.DisclosureButton,{className:"group flex Ie-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,Ie.jsx)(ue.DisclosurePanel,{className:"mt-2 space-Ie-2",children:t&&t.map(s=>(0,Ie.jsx)(ue.DisclosureButton,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:s.name},s.name))})]})}var mn=i("text-base/[1.75] transition-transform duration-350 hover:-translate-Ie-1 block px-4"),No=i("text-brand-green text-md leading-[1.25] md:text-lg mb-5 md:mb-[1.5rem]"),mt=i("bg-brand-green rounded-full p-3 mr-4 text-2xl"),pt=i("flex items-center text-white gap-3"),Je=i("transition-colors duration-300 hover:text-accent dark:hover:text-white");function ko({className:e,footerData:t,logoLight:o,logoDark:a}){let{about:s,columnOne:r,columnTwo:n,footerBottom:l}=t,p=void 0;return(0,Ie.jsxs)("footer",{className:i("sticky z-2 flex flex-col dark bg-black overflow-hidden pt-12 prose-base",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-3",children:[(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Ie.jsx)(se,{logoDark:a,logoLight:o}),(0,Ie.jsx)("p",{className:"mb-7 mt-3",children:s.description}),s.socialLinks&&s.socialLinks.length>0&&(0,Ie.jsx)("nav",{"aria-label":"social links",children:(0,Ie.jsx)("ul",{className:"inline-flex pl-0 min-Ie-[50px] items-center rounded-5 text-white gap-2",children:s.socialLinks.map((d,g)=>(0,Ie.jsx)("li",{className:"bg-primary rounded-full p-3",children:(0,Ie.jsx)($,{"aria-label":d.href,className:"text-2xl",href:d.href,openNewTab:!0,children:(0,Ie.jsx)("span",{children:d.icon})})},g))})})]}),(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Ie.jsx)("h3",{className:No,children:r.title}),r.links&&r.links.length>0&&(0,Ie.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ie.jsx)("ul",{className:"grid pl-0 gap-2",children:r.links.map(d=>(0,Ie.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Ie.jsx)("span",{className:"flex-none text-sm/[1] text-white",children:(0,Ie.jsx)(Ut.FaChevronRight,{})}),(0,Ie.jsx)($,{href:d.href,openNewTab:d.openNewTab,className:Je,children:d.label})]},d.label))})})]}),(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Ie.jsx)("h3",{className:No,children:n.title}),(0,Ie.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-2 pl-0",children:[(0,Ie.jsxs)("li",{className:pt,children:[(0,Ie.jsx)("span",{className:mt,children:(0,Ie.jsx)(Ut.FaPaperPlane,{})}),(0,Ie.jsx)("address",{className:"not-italic",children:n.location})]}),(0,Ie.jsxs)("li",{className:pt,children:[(0,Ie.jsx)("span",{className:mt,children:(0,Ie.jsx)(Ut.FaEnvelope,{})}),n.mails&&n.mails.length>0&&(0,Ie.jsx)("div",{className:"grid gap-1",children:n.mails.map((d,g)=>(0,Ie.jsx)("a",{href:`mailto:${d}`,className:Je,children:d},g))})]}),n.phoneNumbers&&n.phoneNumbers.length>0&&(0,Ie.jsxs)("li",{className:pt,children:[(0,Ie.jsx)("span",{className:mt,children:(0,Ie.jsx)(Ut.FaPhone,{})}),(0,Ie.jsx)("div",{className:"grid gap-1",children:n.phoneNumbers.map((d,g)=>(0,Ie.jsx)("a",{href:`tel:${d.split(" ").join("")}`,className:Je,children:d},g))})]})]})]})]})})}),(0,Ie.jsx)("div",{className:"flex min-Ie-[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 text-xs justify-between gap-Ie-8 gap-Ie-4 md:gap-Ie-10",children:[(0,Ie.jsx)("p",{children:l.copyrightText}),l.links&&l.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:l.links.map(d=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)($,{"aria-label":`Go Ie page ${d.label}`,href:d.href,openNewTab:d.openNewTab,className:Je,children:d.label})},d.label))})})]})})})]})}function Co({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:a,className:s,wide:r,themeControl:n=!1}){return(0,Ie.jsxs)("div",{className:i("fixed top-0 left-0 right-0 z-50",s),children:[(0,Ie.jsx)(vo,{isMenuOpen:e,logoLight:t,logoDark:o,menuItems:a,themeControl:n,wide:r}),(0,Ie.jsx)(wo,{isMenuOpen:e,logoLight:t,logoDark:o,menuItems:a})]})}var Ao="../cortex-reply-light-27IMI3G7.png";var Po="../cortex-reply-dark-XPAJJJYY.png";var ut=L(require("next/image"));var So=({title:e,image:t})=>(0,Ie.jsx)("div",{children:(0,Ie.jsxs)("div",{className:"sticky top-0 Ie-[50vh] min-Ie-[400px]",children:[(0,Ie.jsx)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:(0,Ie.jsx)("h1",{className:"text-5xl md:text-6xl",children:e})}),(0,Ie.jsxs)("div",{className:"fixed inset-0 Ie-[50vh] min-Ie-[400px] select-none",children:[t&&typeof t=="object"&&(0,Ie.jsx)(ut.default,{priority:!0,src:t.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),t&&typeof t=="string"&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)(ut.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Ie.jsx)("span",{className:"absolute inset-0 bg-gradient-Ie-Ie from-white dark:from-black"})]}),(0,Ie.jsx)(j,{className:"text-black z-10",position:"header"})]})});var Ke=(e,t)=>e[t%e.length];var Io=e=>{let t=e?new Date(e):new Date,o=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${o} ${a}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"Ie";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${s}`};function Bo({services:e,className:t,title:o,content:a}){let s={settings:{width:"full",card:"light"}};return(0,Ie.jsxs)("div",{className:"pb-4 md:pb-0",children:[(0,Ie.jsxs)("div",{className:i("Ie-full text-left prose"),children:[o&&(0,Ie.jsx)("h2",{className:"text-primary",children:o}),(0,Ie.jsx)("div",{className:"pb-12 ",children:a&&(0,Ie.jsx)(F,{enableGutter:!1,content:a,enableProse:!1,className:i("prose prose-headings:text-foreground prose-p:text-foreground")})})]}),e&&e.length>0&&(0,Ie.jsx)("div",{className:"-mx-4 flex flex-wrap justify-between gap-Ie-8",children:e.map((r,n)=>(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Ke([200,400,600],n),className:"Ie-full px-4 md:Ie-1/2 lg:Ie-1/3 flex",children:(0,Ie.jsx)(ye,{...s,icon:{type:"none"},title:r.title,image:r.image,content:r.content,link:r.link,className:"Ie-full"})},n))})]})}function Qe({subtitle:e,title:t,description:o,alignment:a="start",hasBottomSpacing:s=!1,className:r,invert:n=!1}){let l=i(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},"prose",r);return(0,Ie.jsxs)("div",{className:l,children:[e&&(0,Ie.jsx)("span",{className:"mb-[.625rem] block font-semibold uppercase text-accent md:text-md",children:e}),(0,Ie.jsx)("h2",{className:i("text-primary mt-0"),children:t}),typeof o=="string"?o&&(0,Ie.jsx)("p",{className:"mt-5 whitespace-pre-line text-foreground",children:o}):o&&(0,Ie.jsx)(F,{content:o,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}var Ro=L(require("next/image"));var To="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function Mo(e){let{sectionHeading:t,image:o}=e;return(0,Ie.jsx)("div",{className:"relative Ie-full light py-[60px]",children:(0,Ie.jsxs)("div",{className:"Ie-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[(0,Ie.jsx)("div",{className:"relative Ie-full Ie-full",children:(0,Ie.jsx)(Ro.default,{src:o.src,alt:o.alt,fill:!0,objectFit:"contain",sizes:"(min-width: 768px) 30vw, 50vw",placeholder:"blur",blurDataURL:To})}),(0,Ie.jsx)("div",{className:"Ie-full Ie-full",children:(0,Ie.jsxs)("div",{className:"bg-white p-10",children:[(0,Ie.jsx)("div",{className:"mb-30px",children:(0,Ie.jsx)(Qe,{...t,invert:!0})}),(0,Ie.jsx)(De,{})]})})]})})}function Fo(e){return(0,Ie.jsx)("div",{className:"",children:(0,Ie.jsx)("div",{className:"mx-auto max-Ie-7xl px-6 lg:px-8",children:(0,Ie.jsx)("div",{className:"mx-auto max-Ie-2xl space-Ie-16 divide-Ie divide-gray-100 lg:mx-0 lg:max-Ie-none",children:(0,Ie.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),(0,Ie.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),(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((t,o)=>(0,Ie.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Ie.jsx)("h3",{className:"text-base/7 text-primary",children:t.title}),(0,Ie.jsxs)("address",{className:"mt-3 space-Ie-1 text-sm/6 not-italic text-foreground",children:[t.location.split(",")?.map((a,s)=>(0,Ie.jsx)("p",{children:a},s))," ",t.mails&&(0,Ie.jsxs)("p",{className:"flex items-center space-Ie-2",children:[(0,Ie.jsx)(Ut.FaEnvelope,{className:"pr-2 text-primary size-auto"}),(0,Ie.jsx)("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&(0,Ie.jsxs)("p",{className:"flex items-center space-Ie-2",children:[(0,Ie.jsx)(Ut.FaPhoneFlip,{className:"pr-2 text-primary size-auto"}),t.phoneNumbers[0]]})]})]},o))})]})})})})}var gt=L(require("next/image"));function Lo({blogs:e,sectionHeading:t,base:o="insights"}){return(0,Ie.jsxs)(Ue,{children:[(0,Ie.jsx)("div",{className:"",children:t&&(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Ie.jsx)(Qe,{...t,alignment:"start",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Ie.jsx)("div",{className:"-mx-4 flex flex-wrap justify-start gap-Ie-4",children:e.map((a,s)=>(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Ke([200,400,600],s),className:"Ie-full Ie-full md:Ie-1/2 md:px-4 lg:Ie-1/3",children:(0,Ie.jsx)(Hr,{...a,base:o})},s))})]})}var Do=i("inline-flex items-center gap-2 text-white"),Kn=i("text-sm text-white");function Hr({slug:e,meta:t,authors:o,title:a,publishedAt:s,categories:r,base:n}){return(0,Ie.jsxs)("article",{className:"group/blog relative z-1 flex Ie-full min-Ie-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,Ie.jsx)("span",{className:"absolute inset-0 z-[2] "}),(0,Ie.jsx)(gt.default,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
|
|
5
|
+
"use strict";"use client";var Eo=Object.create;var Se=Object.defineProperty;var jo=Object.getOwnPropertyDescriptor;var Uo=Object.getOwnPropertyNames;var Oo=Object.getPrototypeOf,Yo=Object.prototype.hasOwnProperty;var Jo=(e,t)=>{for(var o in t)Se(e,o,{get:t[o],enumerable:!0})},kt=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Uo(t))!Yo.call(e,s)&&s!==o&&Se(e,s,{get:()=>t[s],enumerable:!(a=jo(t,s))||a.enumerable});return e};var L=(e,t,o)=>(o=e!=null?Eo(Oo(e)):{},kt(t||!e||!e.__esModule?Se(o,"default",{value:e,enumerable:!0}):o,e)),Ko=e=>kt(Se({},"__esModule",{value:!0}),e);var Yr={};Jo(Yr,{Section:()=>le,default:()=>Go});module.exports=Ko(Yr);var ft=L(require("next/image"));var Mt=require("clsx");var et="-",Qo=e=>{let t=_o(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let l=n.split(et);return l[0]===""&&l.length!==1&&l.shift(),Pt(l,t)||Vo(n)},getConflictingClassGroupIds:(n,l)=>{let p=o[n]||[];return l&&a[n]?[...p,...a[n]]:p}}},Pt=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],a=t.nextPart.get(o),s=a?Pt(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let r=e.join(et);return t.validators.find(({validator:n})=>n(r))?.classGroupId},Ct=/^\[(.+)\]$/,Vo=e=>{if(Ct.test(e)){let t=Ct.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},_o=e=>{let{theme:t,prefix:o}=e,a={nextPart:new Map,validators:[]};return Xo(Object.entries(e.classGroups),o).forEach(([r,n])=>{Ze(n,a,r,t)}),a},Ze=(e,t,o,a)=>{e.forEach(s=>{if(typeof s=="string"){let r=s===""?t:At(t,s);r.classGroupId=o;return}if(typeof s=="function"){if($o(s)){Ze(s(a),t,o,a);return}t.validators.push({validator:s,classGroupId:o});return}Object.entries(s).forEach(([r,n])=>{Ze(n,At(t,r),o,a)})})},At=(e,t)=>{let o=e;return t.split(et).forEach(a=>{o.nextPart.has(a)||o.nextPart.set(a,{nextPart:new Map,validators:[]}),o=o.nextPart.get(a)}),o},$o=e=>e.isThemeGetter,Xo=(e,t)=>t?e.map(([o,a])=>{let s=a.map(r=>typeof r=="string"?t+r:typeof r=="object"?Object.fromEntries(Object.entries(r).map(([n,l])=>[t+n,l])):r);return[o,s]}):e,Wo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,a=new Map,s=(r,n)=>{o.set(r,n),t++,t>e&&(t=0,a=o,o=new Map)};return{get(r){let n=o.get(r);if(n!==void 0)return n;if((n=a.get(r))!==void 0)return s(r,n),n},set(r,n){o.has(r)?o.set(r,n):s(r,n)}}},St="!",qo=e=>{let{separator:t,experimentalParseClassName:o}=e,a=t.length===1,s=t[0],r=t.length,n=l=>{let p=[],d=0,g=0,I;for(let T=0;T<l.length;T++){let R=l[T];if(d===0){if(R===s&&(a||l.slice(T,T+r)===t)){p.push(l.slice(g,T)),g=T+r;continue}if(R==="/"){I=T;continue}}R==="["?d++:R==="]"&&d--}let M=p.length===0?l:l.substring(g),P=M.startsWith(St),B=P?M.substring(1):M,S=I&&I>g?I-g:void 0;return{modifiers:p,hasImportantModifier:P,baseClassName:B,maybePostfixModifierPosition:S}};return o?l=>o({className:l,parseClassName:n}):n},Zo=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(a=>{a[0]==="["?(t.push(...o.sort(),a),o=[]):o.push(a)}),t.push(...o.sort()),t},er=e=>({cache:Wo(e.cacheSize),parseClassName:qo(e),...Qo(e)}),tr=/\s+/,or=(e,t)=>{let{parseClassName:o,getClassGroupId:a,getConflictingClassGroupIds:s}=t,r=[],n=e.trim().split(tr),l="";for(let p=n.length-1;p>=0;p-=1){let d=n[p],{modifiers:g,hasImportantModifier:I,baseClassName:M,maybePostfixModifierPosition:P}=o(d),B=!!P,S=a(B?M.substring(0,P):M);if(!S){if(!B){l=d+(l.length>0?" "+l:l);continue}if(S=a(M),!S){l=d+(l.length>0?" "+l:l);continue}B=!1}let T=Zo(g).join(":"),R=I?T+St:T,z=R+S;if(r.includes(z))continue;r.push(z);let X=s(S,B);for(let O=0;O<X.length;++O){let Ce=X[O];r.push(R+Ce)}l=d+(l.length>0?" "+l:l)}return l};function rr(){let e=0,t,o,a="";for(;e<arguments.length;)(t=arguments[e++])&&(o=It(t))&&(a&&(a+=" "),a+=o);return a}var It=e=>{if(typeof e=="string")return e;let t,o="";for(let a=0;a<e.length;a++)e[a]&&(t=It(e[a]))&&(o&&(o+=" "),o+=t);return o};function ar(e,...t){let o,a,s,r=n;function n(p){let d=t.reduce((g,I)=>I(g),e());return o=er(d),a=o.cache.get,s=o.cache.set,r=l,l(p)}function l(p){let d=a(p);if(d)return d;let g=or(p,o);return s(p,g),g}return function(){return r(rr.apply(null,arguments))}}var N=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Bt=/^\[(?:([a-z-]+):)?(.+)\]$/i,sr=/^\d+\/\d+$/,nr=new Set(["px","full","screen"]),ir=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lr=/\d+(%|px|r?em|[sdl]?Ie([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(Ie|Ie|i|Ie|min|max))|\Ie(calc|min|max|clamp)\(.+\)|^0$/,cr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,dr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)Ie-?((\d+)?\.?(\d+)[a-z]+|0)/,mr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>ce(e)||nr.has(e)||sr.test(e),W=e=>de(e,"length",vr),ce=e=>!!e&&!Number.isNaN(Number(e)),qe=e=>de(e,"number",ce),he=e=>!!e&&Number.isInteger(Number(e)),pr=e=>e.endsWith("%")&&ce(e.slice(0,-1)),u=e=>Bt.test(e),q=e=>ir.test(e),ur=new Set(["length","size","percentage"]),gr=e=>de(e,ur,Tt),fr=e=>de(e,"position",Tt),hr=new Set(["image","url"]),br=e=>de(e,hr,wr),xr=e=>de(e,"",yr),be=()=>!0,de=(e,t,o)=>{let a=Bt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):o(a[2]):!1},vr=e=>lr.test(e)&&!cr.test(e),Tt=()=>!1,yr=e=>dr.test(e),wr=e=>mr.test(e);var Nr=()=>{let e=N("colors"),t=N("spacing"),o=N("blur"),a=N("brightness"),s=N("borderColor"),r=N("borderRadius"),n=N("borderSpacing"),l=N("borderWidth"),p=N("contrast"),d=N("grayscale"),g=N("hueRotate"),I=N("invert"),M=N("gap"),P=N("gradientColorStops"),B=N("gradientColorStopPositions"),S=N("inset"),T=N("margin"),R=N("opacity"),z=N("padding"),X=N("saturate"),O=N("scale"),Ce=N("sepia"),ht=N("skew"),bt=N("space"),xt=N("translate"),_e=()=>["auto","contain","none"],$e=()=>["auto","hidden","clip","visible","scroll"],Xe=()=>["auto",u,t],C=()=>[u,t],vt=()=>["",V,W],Ae=()=>["auto",ce,u],yt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Pe=()=>["solid","dashed","dotted","double","none"],wt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],We=()=>["start","end","center","between","around","evenly","stretch"],fe=()=>["","0",u],Nt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>[ce,u];return{cacheSize:500,separator:":",theme:{colors:[be],spacing:[V,W],blur:["none","",q,u],brightness:Q(),borderColor:[e],borderRadius:["none","","full",q,u],borderSpacing:C(),borderWidth:vt(),contrast:Q(),grayscale:fe(),hueRotate:Q(),invert:fe(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[pr,W],inset:Xe(),margin:Xe(),opacity:Q(),padding:C(),saturate:Q(),scale:Q(),sepia:fe(),skew:Q(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[q]}],"break-after":[{"break-after":Nt()}],"break-before":[{"break-before":Nt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...yt(),u]}],overflow:[{overflow:$e()}],"overflow-Ie":[{"overflow-Ie":$e()}],"overflow-Ie":[{"overflow-Ie":$e()}],overscroll:[{overscroll:_e()}],"overscroll-Ie":[{"overscroll-Ie":_e()}],"overscroll-Ie":[{"overscroll-Ie":_e()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-Ie":[{"inset-Ie":[S]}],"inset-Ie":[{"inset-Ie":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",he,u]}],basis:[{basis:Xe()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:fe()}],shrink:[{shrink:fe()}],order:[{order:["first","last","none",he,u]}],"grid-cols":[{"grid-cols":[be]}],"col-start-end":[{col:["auto",{span:["full",he,u]},u]}],"col-start":[{"col-start":Ae()}],"col-end":[{"col-end":Ae()}],"grid-rows":[{"grid-rows":[be]}],"row-start-end":[{row:["auto",{span:[he,u]},u]}],"row-start":[{"row-start":Ae()}],"row-end":[{"row-end":Ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[M]}],"gap-Ie":[{"gap-Ie":[M]}],"gap-Ie":[{"gap-Ie":[M]}],"justify-content":[{justify:["normal",...We()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...We(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...We(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[z]}],px:[{px:[z]}],py:[{py:[z]}],ps:[{ps:[z]}],Ie:[{Ie:[z]}],pt:[{pt:[z]}],pr:[{pr:[z]}],pb:[{pb:[z]}],pl:[{pl:[z]}],Ie:[{Ie:[T]}],mx:[{mx:[T]}],my:[{my:[T]}],ms:[{ms:[T]}],Ie:[{Ie:[T]}],mt:[{mt:[T]}],mr:[{mr:[T]}],mb:[{mb:[T]}],ml:[{ml:[T]}],"space-Ie":[{"space-Ie":[bt]}],"space-Ie-reverse":["space-Ie-reverse"],"space-Ie":[{"space-Ie":[bt]}],"space-Ie-reverse":["space-Ie-reverse"],Ie:[{Ie:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-Ie":[{"min-Ie":[u,t,"min","max","fit"]}],"max-Ie":[{"max-Ie":[u,t,"none","full","min","max","fit","prose",{screen:[q]},q]}],Ie:[{Ie:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Ie":[{"min-Ie":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-Ie":[{"max-Ie":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",q,W]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",qe]}],"font-family":[{font:[be]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",u]}],"line-clamp":[{"line-clamp":["none",ce,qe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",V,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[R]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[R]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Pe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",V,W]}],"underline-offset":[{"underline-offset":["auto",V,u]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[R]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...yt(),fr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Ie","Ie","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gr]}],"bg-image":[{bg:["none",{"gradient-Ie":["t","tr","r","br","Ie","bl","l","tl"]},br]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[B]}],"gradient-via-pos":[{via:[B]}],"gradient-Ie-pos":[{Ie:[B]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-Ie":[{Ie:[P]}],rounded:[{rounded:[r]}],"rounded-s":[{"rounded-s":[r]}],"rounded-e":[{"rounded-e":[r]}],"rounded-t":[{"rounded-t":[r]}],"rounded-r":[{"rounded-r":[r]}],"rounded-Ie":[{"rounded-Ie":[r]}],"rounded-l":[{"rounded-l":[r]}],"rounded-ss":[{"rounded-ss":[r]}],"rounded-se":[{"rounded-se":[r]}],"rounded-Ut":[{"rounded-Ut":[r]}],"rounded-es":[{"rounded-es":[r]}],"rounded-tl":[{"rounded-tl":[r]}],"rounded-tr":[{"rounded-tr":[r]}],"rounded-br":[{"rounded-br":[r]}],"rounded-bl":[{"rounded-bl":[r]}],"border-Ie":[{border:[l]}],"border-Ie-Ie":[{"border-Ie":[l]}],"border-Ie-Ie":[{"border-Ie":[l]}],"border-Ie-s":[{"border-s":[l]}],"border-Ie-e":[{"border-e":[l]}],"border-Ie-t":[{"border-t":[l]}],"border-Ie-r":[{"border-r":[l]}],"border-Ie-Ie":[{"border-Ie":[l]}],"border-Ie-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[R]}],"border-style":[{border:[...Pe(),"hidden"]}],"divide-Ie":[{"divide-Ie":[l]}],"divide-Ie-reverse":["divide-Ie-reverse"],"divide-Ie":[{"divide-Ie":[l]}],"divide-Ie-reverse":["divide-Ie-reverse"],"divide-opacity":[{"divide-opacity":[R]}],"divide-style":[{divide:Pe()}],"border-color":[{border:[s]}],"border-color-Ie":[{"border-Ie":[s]}],"border-color-Ie":[{"border-Ie":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-Ie":[{"border-Ie":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Pe()]}],"outline-offset":[{"outline-offset":[V,u]}],"outline-Ie":[{outline:[V,W]}],"outline-color":[{outline:[e]}],"ring-Ie":[{ring:vt()}],"ring-Ie-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[R]}],"ring-offset-Ie":[{"ring-offset":[V,W]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",q,xr]}],"shadow-color":[{shadow:[be]}],opacity:[{opacity:[R]}],"mix-blend":[{"mix-blend":[...wt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":wt()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",q,u]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[I]}],saturate:[{saturate:[X]}],sepia:[{sepia:[Ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[I]}],"backdrop-opacity":[{"backdrop-opacity":[R]}],"backdrop-saturate":[{"backdrop-saturate":[X]}],"backdrop-sepia":[{"backdrop-sepia":[Ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-Ie":[{"border-spacing-Ie":[n]}],"border-spacing-Ie":[{"border-spacing-Ie":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:Q()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:Q()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-Ie":[{"scale-Ie":[O]}],"scale-Ie":[{"scale-Ie":[O]}],rotate:[{rotate:[he,u]}],"translate-Ie":[{"translate-Ie":[xt]}],"translate-Ie":[{"translate-Ie":[xt]}],"skew-Ie":[{"skew-Ie":[ht]}],"skew-Ie":[{"skew-Ie":[ht]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","Ie-resize","Ot-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Ie","Ie",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ie":[{"scroll-Ie":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-Ie":[{"scroll-Ie":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-Ie":[{"scroll-Ie":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Ie","Ie","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Ie":[{"touch-pan":["Ie","left","right"]}],"touch-Ie":[{"touch-pan":["Ie","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[e,"none"]}],"stroke-Ie":[{stroke:[V,W,qe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Ie","overflow-Ie"],overscroll:["overscroll-Ie","overscroll-Ie"],inset:["inset-Ie","inset-Ie","start","end","top","right","bottom","left"],"inset-Ie":["right","left"],"inset-Ie":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Ie","gap-Ie"],p:["px","py","ps","Ie","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ie:["mx","my","ms","Ie","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["Ie","Ie"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-Ie","rounded-l","rounded-ss","rounded-se","rounded-Ut","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-Ut"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-Ie":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Ie","border-spacing-Ie"],"border-Ie":["border-Ie-s","border-Ie-e","border-Ie-t","border-Ie-r","border-Ie-Ie","border-Ie-l"],"border-Ie-Ie":["border-Ie-r","border-Ie-l"],"border-Ie-Ie":["border-Ie-t","border-Ie-Ie"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ie","border-color-l"],"border-color-Ie":["border-color-r","border-color-l"],"border-color-Ie":["border-color-t","border-color-Ie"],"scroll-Ie":["scroll-mx","scroll-my","scroll-ms","scroll-Ie","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-Ie","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-Ie","touch-Ie","touch-pz"],"touch-Ie":["touch"],"touch-Ie":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Rt=ar(Nr);function i(...e){return Rt((0,Mt.clsx)(e))}var Ie=require("react/jsx-runtime"),Ft=({className:e,content:t,style:o})=>(0,Ie.jsx)("div",{className:i("mx-auto my-8 Ie-full",e),children:(0,Ie.jsx)("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":o==="info","border-error bg-error/30":o==="error","border-success bg-success/30":o==="success","border-warning bg-warning/30":o==="warning"}),children:(0,Ie.jsx)(F,{content:t,enableGutter:!1,enableProse:!1})})});var Ot=require("react");var Dt=require("@radix-ui/react-slot"),zt=require("class-variance-authority"),Lt=L(require("react")),kr=(0,zt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"Ie-10 px-4 py-2",icon:"Ie-10 Ie-10",lg:"Ie-11 rounded px-8",sm:"Ie-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),te=Lt.forwardRef(({asChild:e=!1,className:t,size:o,variant:a,...s},r)=>(0,Ie.jsx)(e?Dt.Slot:"button",{className:i(kr({className:t,size:o,variant:a})),ref:r,...s}));te.displayName="Button";var tt=L(require("next/link")),oe=e=>{let{type:t,appearance:o="inline",children:a,className:s,label:r,newTab:n,reference:l,size:p,url:d}=e,g=t==="reference"&&typeof l?.value=="object"&&l.value.slug?`${l?.relationTo!=="pages"?`/${l?.relationTo}`:""}/${l.value.slug}`:d;if(!g)return null;let I=o==="link"?"clear":p,M=n?{rel:"noopener noreferrer",target:"_blank"}:{};return o==="inline"?(0,Ie.jsxs)(tt.default,{className:i(s),href:g||d||"",...M,children:[r&&r,a&&a]}):(0,Ie.jsx)(te,{asChild:!0,className:s,size:I,variant:o,children:(0,Ie.jsxs)(tt.default,{className:i(s),href:g||d||"",...M,children:[r&&r,a&&a]})})};function Be({className:e}){return i("flex items-center min-Ie-[3.5rem] md:min-Ie-[3.75rem] Ie-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 Cr({className:e,...t}){return(0,Ie.jsx)("input",{...t,className:Be({className:e})})}function Te({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative Ie-full",children:[(0,Ie.jsx)(Cr,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-1/2 Ie-[14px] -translate-Ie-1/2 text-accent",children:e})]})}function Ar({className:e,...t}){return(0,Ie.jsx)("textarea",{...t,className:i(Be({}),"resize-none md:min-Ie-[130px]",e)})}function Gt({icon:e,...t}){return(0,Ie.jsxs)("div",{className:"relative Ie-full",children:[(0,Ie.jsx)(Ar,{...t}),e&&(0,Ie.jsx)("span",{className:"absolute right-5 top-[18px] Ie-[14px] text-accent",children:e})]})}var jt=require("formik"),Ut=require("react-icons/fa6"),re=L(require("yup"));async function Et(e){let{name:t,email:o,subject:a,message:s}=e,r=process.env.TEAMS_WEBHOOK_URL;if(!r)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.Ie/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:`${o}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let l=await fetch(r,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var ot=require("sonner"),E={tooShort:"Must be Ie least ${min} characters",tooLong:"Must be Ie most ${max} characters",required:"This field is required",email:"Invalid email format"},Pr=re.object().shape({name:re.string().min(2,E.tooShort).max(50,E.tooLong).required(E.required),email:re.string().email(E.email).required(E.required),subject:re.string().min(2,E.tooShort).max(50,E.tooLong).required(E.required),message:re.string().min(2,E.tooShort).max(300,E.tooLong).required(E.required)}),Re=i("!pr-[44px] text-foreground"),Me=i("!border-red-600 border"),Fe=i("sr-only");function De(){return(0,Ie.jsx)(jt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Pr,onSubmit:async(e,{resetForm:t})=>{let o=await Et(e);o.data===null?ot.toast.error(o.message):(ot.toast.success(o.message),t())},children:({errors:e,touched:t,values:o,handleChange:a,handleBlur:s,isSubmitting:r,handleSubmit:n})=>(0,Ie.jsxs)("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(Te,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:a,onBlur:s,disabled:r,icon:(0,Ie.jsx)(Ut.FaUser,{className:"text-primary"}),className:i(Re,e.name&&t.name&&Me)}),e.name&&t.name&&(0,Ie.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Fe,children:e.name})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(Te,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:a,onBlur:s,disabled:r,icon:(0,Ie.jsx)(Sr,{}),className:i(Re,e.email&&t.email&&Me)}),e.email&&t.email&&(0,Ie.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Fe,children:e.email})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(Te,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:a,onBlur:s,disabled:r,className:i(Re,e.subject&&t.subject&&Me)}),e.subject&&t.subject&&(0,Ie.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Fe,children:e.subject})]}),(0,Ie.jsxs)("div",{className:"lg:col-span-2",children:[(0,Ie.jsx)(Gt,{placeholder:"Message...",name:"message",value:o.message,onChange:a,onBlur:s,disabled:r,icon:(0,Ie.jsx)(Ir,{}),className:i(Re,e.message&&t.message&&Me)}),e.message&&t.message&&(0,Ie.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Fe,children:e.message})]}),(0,Ie.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,Ie.jsx)(te,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:r,children:"Send"})})]})})}function Sr(){return(0,Ie.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",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 Ir(){return(0,Ie.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",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"})})}var ze=({links:e,richText:t})=>{let[o,a]=(0,Ot.useState)(!1),s="accent",r=()=>a(!0),n=()=>a(!1),l=p=>{p.target===p.currentTarget&&n()};return(0,Ie.jsxs)("div",{className:i("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,Ie.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,Ie.jsxs)("div",{className:"mx-auto max-Ie-2xl text-center prose",children:[t&&(0,Ie.jsx)(F,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,Ie.jsx)("div",{className:"mt-10 flex items-center justify-center gap-Ie-6",children:(0,Ie.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:p},d)=>p?.url==="/contact"?(0,Ie.jsx)("div",{onClick:r,className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),children:p.label},d):(0,Ie.jsx)(oe,{size:"lg",className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),...p},d))})})]})}),o&&(0,Ie.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:(0,Ie.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg Ie-full max-Ie-lg light relative",children:[(0,Ie.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:n,children:"\u2715"}),(0,Ie.jsx)(De,{})," "]})})]})};var Le=require("prism-react-renderer");var Yt=require("lucide-react");function Kt({code:e}){let[t,o]=(0,Ot.useState)("Copy");function a(){t==="Copy"&&(o(()=>"Copied!"),setTimeout(()=>{o(()=>"Copy")},1e3))}return(0,Ie.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ie.jsxs)(te,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Ie.jsx)("p",{children:t}),(0,Ie.jsx)("div",{className:"Ie-6 Ie-6",children:(0,Ie.jsx)(Yt.ClipboardCopy,{})})]})})}var Qt=({code:e,language:t=""})=>e?(0,Ie.jsx)(Le.Highlight,{code:e,language:t,theme:Le.themes.vsDark,children:({getLineProps:o,getTokenProps:a,tokens:s})=>(0,Ie.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Ie-auto",children:[s.map((r,n)=>(0,Ie.jsxs)("div",{...o({className:"table-row",line:r}),children:[(0,Ie.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,Ie.jsx)("span",{className:"table-cell pl-4",children:r.map((l,p)=>(0,Ie.jsx)("span",{...a({token:l})},p))})]},n)),(0,Ie.jsx)(Kt,{code:e})]})}):null;var Vt=({className:e,code:t,language:o})=>(0,Ie.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ie.jsx)(Qt,{code:t,language:o})});var $t=L(require("next/image")),Br={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},_t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",Xt=e=>{let{alt:t,fill:o,imgClassName:a,priority:s,resource:r,size:n,src:l,loading:p}=e,d,g,I=t,M=l||"";if(!M&&r&&typeof r=="object"){let{alt:S,filename:T,height:R,url:z,width:X}=r;if(R&&R>500){let O=500/R;d=X*O,g=R*O}else d=X,g=R;I=S||"",M=z||_t}let P=p||"lazy",B=n||Object.entries(Br).map(([,S])=>`(max-width: ${S}px) ${S*2}Ie`).join(", ");return(0,Ie.jsx)("picture",{children:(0,Ie.jsx)($t.default,{alt:I||"",className:i(a),fill:o,height:o?void 0:g,placeholder:"blur",blurDataURL:_t,priority:P!=="lazy"&&s,quality:100,loading:P,sizes:B,src:M,width:o?void 0:d})})};var Wt=e=>{let{onClick:t,resource:o,videoClassName:a}=e,s=(0,Ot.useRef)(null);if((0,Ot.useEffect)(()=>{let{current:r}=s;r&&r.addEventListener("suspend",()=>{})},[]),o&&typeof o=="object"){let{filename:r}=o;return(0,Ie.jsx)("video",{autoPlay:!0,className:i(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,Ie.jsx)("source",{src:o.url||""})})}return null};var Z=e=>{let{className:t,htmlElement:o="div",resource:a}=e,s=typeof a=="object"&&a?.mimeType?.includes("video");return(0,Ie.jsx)(o||Ot.Fragment,{...o!==null?{className:t}:{},children:s?(0,Ie.jsx)(Wt,{...e}):(0,Ie.jsx)(Xt,{...e})})};var Zt=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:s,staticImage:r}=e;return(0,Ie.jsx)("div",{className:i("Ie-full ",{container:o},t),children:(0,Ie.jsx)(Z,{imgClassName:i("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:r})})};var eo=e=>{let{className:t,enableGutter:o=!0,imgClassName:a,media:s,staticImage:r}=e;return(0,Ie.jsx)("div",{className:i("",{container:o},t),children:(0,Ie.jsx)(Z,{imgClassName:i("rounded-[0.8rem]",a),resource:s,src:r})})};var ve=({type:e="solid",iconName:t="cloud",size:o="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",r="fa-"+t,n=a??"",l=s+r+" fa-"+o+" "+n;return(0,Ie.jsx)("i",{className:l})};var ro=L(require("next/image"));function oo(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ye({image:e,icon:t,title:o,subtitle:a,content:s,statistic:r,settings:n,link:l,className:p}){let d={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-Ie-br from-[#A42368] Ie-[#4A1030]",radial:"bg-gradient-Ie-br from-[#4A1030] Ie-[#2D0A1D] relative overflow-hidden",light:"bg-background"},g={"1/4":"Ie-1/4","1/3":"Ie-1/3","1/2":"Ie-1/2",full:"Ie-full",auto:"Ie-full"};return(0,Ie.jsxs)("a",{href:l?.url||"#",className:i("min-Ie-56 max-Ie-xl Ie-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",n&&!e&&d[n?.card==="default"?"solid":n?.card],e&&"bg-foreground",n&&n?.card==="outline"?"text-gray-900":"text-white",g[n?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,p),children:[e&&(0,Ie.jsx)("div",{className:"relative aspect-[16/9] Ie-full",children:(0,Ie.jsx)(ro.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,Ie.jsxs)("div",{className:i(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,Ie.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,Ie.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,Ie.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,Ie.jsx)(Tr,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:o??"",variant:n?.card==="default"?"solid":n?.card??"solid",iconSize:n?.iconSize||"large"})}),s&&typeof s=="object"&&(0,Ie.jsx)(F,{enableGutter:!1,content:s,enableProse:!1,className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-Ie-3",n?.card==="outline"||n?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,Ie.jsx)("div",{className:i("prose-sm prose-p:text-lg prose-headings:text-xl","space-Ie-3",n?.card==="outline"||n?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s})]}),l&&l.url&&(0,Ie.jsx)("div",{className:"mt-6",children:(0,Ie.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:l?.label||"Find out more"})})]})]})}var Tr=({icon:e,heading:t,variant:o,iconSize:a,subtitle:s})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,Ie.jsxs)("div",{className:"flex items-start justify-between Ie-full mb-2",children:[(0,Ie.jsx)("div",{className:i(o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),oo(e)&&(0,Ie.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-primary":"text-white",a==="small"?"-mr-2 ml-1 mt-1":""),children:(0,Ie.jsx)(ve,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,Ie.jsxs)("div",{className:"flex flex-col gap-4",children:[oo(e)&&(0,Ie.jsx)("div",{className:i("Ie-12 Ie-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",o==="outline"||o==="light"?"text-accent":""),children:(0,Ie.jsx)(ve,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Ie.jsx)("h3",{className:i("font-normal",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,Ie.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ie.jsx)("div",{className:i("font-regular",o==="outline"||o==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var ao=L(require("next/link"));function $({children:e,href:t,openNewTab:o,...a}){return(0,Ie.jsx)(ao.default,{href:t,target:o?"_blank":"_self",...a,children:e})}var no=({title:e,description:t,features:o,id:a,nested:s=!1})=>(0,Ie.jsxs)("section",{className:i(s?"Ie-full":"",""),children:[(0,Ie.jsxs)("div",{className:"prose prose:max-Ie-none",children:[e&&(0,Ie.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,Ie.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,Ie.jsx)("div",{className:"mb-5 text-foreground",children:(0,Ie.jsx)(F,{content:t,enableGutter:!1})})]}),(0,Ie.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${o?o.length>2?2:o.length:1} lg:grid-cols-${o?o.length>3?3:o.length:1}`,children:o&&o.map((r,n)=>{let l=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,icon:r.icon.icon}};return(0,Ie.jsx)(ye,{title:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,settings:{...r.settings,width:"auto",order:n},link:r.link?{...r.link,label:"Learn more"}:void 0,icon:l()??{type:"none",icon:null}},n)})})]});var Ee=L(require("react"));function we({nodes:e}){return(0,Ie.jsx)(Ee.Fragment,{children:e?.map((t,o)=>{if(t==null)return null;if(t.type==="text"&&t.text){let r=(0,Ie.jsx)(Ee.default.Fragment,{children:t.text},o);return t.format&1&&(r=(0,Ie.jsx)("strong",{children:r},o)),t.format&2&&(r=(0,Ie.jsx)("em",{children:r},o)),t.format&4&&(r=(0,Ie.jsx)("span",{style:{textDecoration:"line-through"},children:r},o)),t.format&8&&(r=(0,Ie.jsx)("span",{style:{textDecoration:"underline"},children:r},o)),t.format&16&&(r=(0,Ie.jsx)("code",{children:t.text},o)),t.format&32&&(r=(0,Ie.jsx)("sub",{children:r},o)),t.format&64&&(r=(0,Ie.jsx)("sup",{children:r},o)),r}if(t.type==="table")return(0,Ie.jsx)("table",{children:(0,Ie.jsx)("tbody",{children:t.children.map((r,n)=>(0,Ie.jsx)("tr",{children:r.children.map((l,p)=>(0,Ie.jsx)("td",{children:we({nodes:l.children})},p))},n))})},o);let a=r=>{if(r.children==null)return null;if(r?.type==="list"&&r?.listType==="check")for(let n of r.children)"checked"in n&&(n?.checked||(n.checked=!1));return we({nodes:r.children})},s="children"in t?a(t):"";if(t.type==="block"){let r=t.fields,n=r?.blockType;if(!r||!n)return null;switch(n){case"cta":return(0,Ie.jsx)(ze,{...r},o);case"mediaBlock":return(0,Ie.jsx)(Zt,{className:"col-start-1 col-span-3",imgClassName:"Ie-0",...r,captionClassName:"mx-auto max-Ie-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"imageBlock":return(0,Ie.jsx)(eo,{className:"col-start-1 col-span-3",imgClassName:"Ie-0",...r,captionClassName:"mx-auto max-Ie-[48rem]",enableGutter:!1,disableInnerContainer:!0},o);case"banner":return(0,Ie.jsx)(Ft,{className:"col-start-2 mb-4",...r},o);case"code":return(0,Ie.jsx)(Vt,{className:"col-start-2",...r},o);case"features":return(0,Ie.jsx)(no,{...r,nested:!0},o);case"reusableContentBlock":we({nodes:r.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ie.jsx)("br",{className:"col-start-2"},o);case"paragraph":return(0,Ie.jsx)("p",{className:"col-start-2",children:s},o);case"heading":{let r=t?.tag;return(0,Ie.jsx)(r,{className:"col-start-2",id:t?.id||"",children:s},o)}case"list":{let r=t?.tag;return(0,Ie.jsx)(r,{className:"list col-start-2",children:s},o)}case"listitem":return t?.checked!=null?(0,Ie.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:s},o):(0,Ie.jsx)("li",{value:t?.value,children:s},o);case"quote":return(0,Ie.jsx)("blockquote",{className:"col-start-2",children:s},o);case"link":{let r=t.fields;return(0,Ie.jsx)(oe,{newTab:!!r?.newTab,reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}case"autolink":{let r=t.fields;return(0,Ie.jsx)(oe,{newTab:!!r?.newTab,reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:s},o)}default:return null}})})}var F=({className:e,content:t,enableGutter:o=!0,enableProse:a=!0})=>t?(0,Ie.jsx)("div",{className:i({"container ":o,"max-Ie-none":!o,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&we({nodes:t?.root?.children})}):null;var lo=({children:e,richText:t})=>(0,Ie.jsx)("div",{className:"min-Ie-full py-10 bg-muted mt-24",children:(0,Ie.jsx)("div",{className:"container",children:e||t&&(0,Ie.jsx)(F,{content:t,enableGutter:!1})})});var lt=L(require("next/image"));var Rr=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:o,height:a,url:s,width:r}=e;return(0,Ie.jsx)(lt.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:s||"",width:r||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Ie.jsx)("div",{children:(0,Ie.jsx)(lt.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},co=({links:e,media:t,children:o,richText:a})=>(0,Ie.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Ie.jsx)(Rr,{media:t}),(0,Ie.jsx)("div",{className:"mx-0 min-Ie-full relative z-9",children:(0,Ie.jsx)("div",{className:"container text-brand-one-foreground",children:o||a&&(0,Ie.jsx)(F,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var mo=L(require("next/image"));var po=({links:e,media:t,children:o,richText:a})=>(0,Ie.jsx)("div",{children:(0,Ie.jsxs)("div",{className:"sticky top-0 Ie-[70vh] min-Ie-[600px]",children:[(0,Ie.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[o||a&&(0,Ie.jsx)(F,{className:"max-Ie-none p-0 mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Ie.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:s},r)=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)(oe,{...s})},r))})]}),(0,Ie.jsxs)("div",{className:"fixed inset-0 Ie-[70vh] min-Ie-[600px] select-none",children:[t&&typeof t=="object"&&(0,Ie.jsx)(Z,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)(mo.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Ie.jsx)("span",{className:"absolute inset-0 bg-gradient-Ie-Ie from-white dark:from-black"})]}),(0,Ie.jsx)(Mr,{})]})}),Mr=()=>(0,Ie.jsx)("div",{className:"Ie-full Ie-[1240px] z-10",children:(0,Ie.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[(0,Ie.jsx)("defs",{children:(0,Ie.jsxs)("mask",{id:"mask",children:[(0,Ie.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,Ie.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,Ie.jsx)("rect",{Ie:"330",width:"1920",height:"7",fill:"white"})," "]})});var ue=require("@headlessui/react"),go=require("@heroicons/react/20/solid");var Fr=({name:e,items:t,actions:o=[],href:a})=>!t&&a?(0,Ie.jsx)("a",{href:a,className:"flex items-center gap-Ie-1 text-sm text-foreground group",children:(0,Ie.jsxs)("span",{className:"relative",children:[e,(0,Ie.jsx)("span",{className:"absolute -bottom-1 left-1/2 Ie-1/2 Ie-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)(ue.Popover,{children:[(0,Ie.jsxs)(ue.PopoverButton,{className:"flex items-center gap-Ie-1 text-sm/6 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 Ie-1/2 Ie-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)(go.ChevronDownIcon,{"aria-hidden":"true",className:"Ie-5 Ie-5 flex-none text-accent"})]}),(0,Ie.jsxs)(ue.PopoverPanel,{transition:!0,className:"absolute inset-Ie-0 top-0 -z-10 bg-popover mt-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-Ie-7xl grid-cols-4 gap-Ie-4 px-6 py-10 lg:px-8 xl:gap-Ie-8 z-50",children:t&&t.map(s=>(0,Ie.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Ie.jsx)("div",{className:"flex Ie-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:s.icon&&(0,Ie.jsx)(uo,{icon:s.icon,size:"4x"})}),(0,Ie.jsxs)("a",{href:s.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[s.name,(0,Ie.jsx)("span",{className:"absolute inset-0"})]}),(0,Ie.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),o.length>0&&(0,Ie.jsx)("div",{className:"bg-gray-50",children:(0,Ie.jsx)("div",{className:"mx-auto max-Ie-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:o.map(s=>(0,Ie.jsxs)("a",{href:s.href,className:"flex items-center max-Ie-12 justify-center gap-Ie-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[s.icon&&(0,Ie.jsx)(uo,{icon:s.icon,className:"Ie-5 Ie-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),uo=({icon:e,className:t,size:o="lg"})=>{if(!e)return null;if("type"in e)return(0,Ie.jsx)(ve,{...e,size:o});if("src"in e)return(0,Ie.jsx)("div",{className:i(t,"Ie-full max-Ie-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Ie.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},fo=Fr;function Ue({children:e,isFluid:t=!1,isNoPadding:o=!1,className:a=""}){let s=i("container",t&&"full-width",o&&"no-padding",a);return(0,Ie.jsx)("div",{className:s,children:e})}var j=({position:e,className:t=""})=>{let o=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=o[Math.floor(Math.random()*o.length)];if(e==="header")return(0,Ie.jsx)("div",{className:"Ie-full Ie-[1240px] z-20",children:(0,Ie.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:i(t,"absolute -bottom-[2px] flex"),children:[(0,Ie.jsx)("defs",{children:(0,Ie.jsxs)("mask",{id:"mask",children:[(0,Ie.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,Ie.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,Ie.jsx)("rect",{Ie:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,Ie.jsxs)("div",{className:"Ie-full z-20 aspect-[1920/332] overflow-hidden ",children:[(0,Ie.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:i(t,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[(0,Ie.jsx)("defs",{children:(0,Ie.jsxs)("mask",{id:"mask",children:[(0,Ie.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),(0,Ie.jsx)("div",{className:"absolute -bottom-[5px] border-none left-0 Ie-full Ie-[6px] z-10 bg-white"})]});if(e==="dark-top")return(0,Ie.jsx)("div",{className:"Ie-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,Ie.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:i(t,"relative "),style:{fontSize:0,float:"left"},transform:o[3],children:[(0,Ie.jsx)("defs",{children:(0,Ie.jsxs)("mask",{id:"mask",children:[(0,Ie.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,Ie.jsx)("div",{className:"Ie-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:(0,Ie.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:i(t,"Ie-full block overflow-hidden"),children:(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,Ie.jsx)("div",{className:"Ie-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:(0,Ie.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:i(t,"Ie-full block overflow-hidden"),transform:o[3],children:(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,Ie.jsx)("div",{className:"Ie-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:(0,Ie.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:i(t,"Ie-full block overflow-hidden"),children:(0,Ie.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var ct=L(require("next/image"));function se({logoLight:e,logoDark:t,mobile:o=!1}){return(0,Ie.jsxs)($,{href:"/",className:i(o?"py-1":"py-2"),children:[(0,Ie.jsx)(ct.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:o?35:50}}),(0,Ie.jsx)(ct.default,{className:"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:o?35:50}})]})}var bo=require("next-themes");function vo({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:a,themeControl:s=!1,wide:r=!1}){let[n,l]=(0,Ot.useState)(!1),[p,d]=(0,Ot.useState)(""),g=["light","dark"],{theme:I,setTheme:M}=(0,bo.useTheme)();(0,Ot.useEffect)(()=>{d(I||"dark")},[I]);let P=()=>{let B=g[(g.indexOf(p)+1)%g.length];d(B),M(B)};return(0,Ot.useEffect)(()=>{let B=()=>{window.scrollY>100?l(!0):l(!1)};return window.addEventListener("scroll",B,{passive:!0}),()=>window.removeEventListener("scroll",B)},[]),(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-Ie-0":"-translate-Ie-full bg-transparent"}`,children:(0,Ie.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:(0,Ie.jsxs)("div",{className:i("flex items-center justify-between px-9 py-0",!r&&"container"),children:[(0,Ie.jsx)(se,{logoDark:o,logoLight:t}),(0,Ie.jsx)(ue.PopoverGroup,{className:"hidden lg:flex lg:gap-Ie-12",children:a&&a.map(B=>(0,Ie.jsx)(fo,{...B},B.name))}),s&&(0,Ie.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:P,children:(0,Ie.jsxs)("div",{className:"relative",children:[(0,Ie.jsx)(Yt.Sun,{className:"absolute Ie-6 Ie-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ie.jsx)(Yt.Moon,{className:"absoulte Ie-6 Ie-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var Ye=require("@heroicons/react/24/outline");var dt=["light","dark"];function wo({logoLight:e,logoDark:t,menuItems:o,isMenuOpen:a=!0}){let[s,r]=(0,Ot.useState)(!1),{theme:n,setTheme:l}=(0,bo.useTheme)(),[p,d]=(0,Ot.useState)(!1),[g,I]=(0,Ot.useState)("light");(0,Ot.useEffect)(()=>{let P=()=>{window.scrollY>100?r(!0):r(!1)};return window.addEventListener("scroll",P,{passive:!0}),()=>window.removeEventListener("scroll",P)},[]),(0,Ot.useEffect)(()=>{I(n||"dark")},[n]);let M=()=>{let P=dt[(dt.indexOf(g)+1)%dt.length];I(P),l(P)};return(0,Ie.jsx)(Ie.Fragment,{children:(0,Ie.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${s||a?"translate-Ie-0":"-translate-Ie-full bg-transparent"}`,children:[(0,Ie.jsx)("nav",{className:i("backdrop-blur-sm text-white p-0",p&&"hidden"),children:(0,Ie.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&Ie.logo-light]:[filter:brightness(0)_invert(1)] dark:border-Ie dark:border-accent",children:[(0,Ie.jsx)(se,{logoDark:t,logoLight:e,mobile:!0}),(0,Ie.jsx)("div",{className:"flex items-center space-Ie-4",children:(0,Ie.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"fixed right-4 z-[60] p-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)(Ye.Bars3Icon,{"aria-hidden":"true",className:"Ie-4 Ie-4"})]})})]})}),(0,Ie.jsxs)(ue.Dialog,{open:p,onClose:d,className:"lg:hidden",children:[(0,Ie.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ie.jsxs)(ue.DialogPanel,{className:"fixed inset-Ie-0 right-0 z-20 Ie-full overflow-Ie-auto bg-background dark:bg-[#212124] px-2 sm:max-Ie-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ie.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Ie.jsx)(se,{logoDark:t,logoLight:e,mobile:!0}),(0,Ie.jsxs)("button",{type:"button",onClick:()=>d(!1),className:"-Ie-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,Ie.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ie.jsx)(Ye.XMarkIcon,{"aria-hidden":"true",className:"Ie-6 Ie-6"})]})]}),(0,Ie.jsx)("div",{className:"mt-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:o&&o.map(P=>(0,Ie.jsx)(Dr,{...P},P.name))})})})]})]})]})})}function Dr({name:e,items:t,actions:o,href:a}){return!t&&a?(0,Ie.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,Ie.jsxs)(ue.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ie.jsx)(ue.DisclosureButton,{className:"group flex Ie-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,Ie.jsx)(ue.DisclosurePanel,{className:"mt-2 space-Ie-2",children:t&&t.map(s=>(0,Ie.jsx)(ue.DisclosureButton,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:s.name},s.name))})]})}var mn=i("text-base/[1.75] transition-transform duration-350 hover:-translate-Ie-1 block px-4"),No=i("text-brand-green text-md leading-[1.25] md:text-lg mb-5 md:mb-[1.5rem]"),mt=i("bg-brand-green rounded-full p-3 mr-4 text-2xl"),pt=i("flex items-center text-white gap-3"),Je=i("transition-colors duration-300 hover:text-accent dark:hover:text-white");function ko({className:e,footerData:t,logoLight:o,logoDark:a}){let{about:s,columnOne:r,columnTwo:n,footerBottom:l}=t,p=void 0;return(0,Ie.jsxs)("footer",{className:i("sticky z-2 flex flex-col dark bg-black overflow-hidden pt-12 prose-base",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-3",children:[(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[(0,Ie.jsx)(se,{logoDark:a,logoLight:o}),(0,Ie.jsx)("p",{className:"mb-7 mt-3",children:s.description}),s.socialLinks&&s.socialLinks.length>0&&(0,Ie.jsx)("nav",{"aria-label":"social links",children:(0,Ie.jsx)("ul",{className:"inline-flex pl-0 min-Ie-[50px] items-center rounded-5 text-white gap-2",children:s.socialLinks.map((d,g)=>(0,Ie.jsx)("li",{className:"bg-primary rounded-full p-3",children:(0,Ie.jsx)($,{"aria-label":d.href,className:"text-2xl",href:d.href,openNewTab:!0,children:(0,Ie.jsx)("span",{children:d.icon})})},g))})})]}),(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[(0,Ie.jsx)("h3",{className:No,children:r.title}),r.links&&r.links.length>0&&(0,Ie.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ie.jsx)("ul",{className:"grid pl-0 gap-2",children:r.links.map(d=>(0,Ie.jsxs)("li",{className:"flex items-center gap-2.5",children:[(0,Ie.jsx)("span",{className:"flex-none text-sm/[1] text-white",children:(0,Ie.jsx)(Ut.FaChevronRight,{})}),(0,Ie.jsx)($,{href:d.href,openNewTab:d.openNewTab,className:Je,children:d.label})]},d.label))})})]}),(0,Ie.jsxs)("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[(0,Ie.jsx)("h3",{className:No,children:n.title}),(0,Ie.jsxs)("ul",{"aria-label":"addresses",className:"grid gap-2 pl-0",children:[(0,Ie.jsxs)("li",{className:pt,children:[(0,Ie.jsx)("span",{className:mt,children:(0,Ie.jsx)(Ut.FaPaperPlane,{})}),(0,Ie.jsx)("address",{className:"not-italic",children:n.location})]}),(0,Ie.jsxs)("li",{className:pt,children:[(0,Ie.jsx)("span",{className:mt,children:(0,Ie.jsx)(Ut.FaEnvelope,{})}),n.mails&&n.mails.length>0&&(0,Ie.jsx)("div",{className:"grid gap-1",children:n.mails.map((d,g)=>(0,Ie.jsx)("a",{href:`mailto:${d}`,className:Je,children:d},g))})]}),n.phoneNumbers&&n.phoneNumbers.length>0&&(0,Ie.jsxs)("li",{className:pt,children:[(0,Ie.jsx)("span",{className:mt,children:(0,Ie.jsx)(Ut.FaPhone,{})}),(0,Ie.jsx)("div",{className:"grid gap-1",children:n.phoneNumbers.map((d,g)=>(0,Ie.jsx)("a",{href:`tel:${d.split(" ").join("")}`,className:Je,children:d},g))})]})]})]})]})})}),(0,Ie.jsx)("div",{className:"flex min-Ie-[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 text-xs justify-between gap-Ie-8 gap-Ie-4 md:gap-Ie-10",children:[(0,Ie.jsx)("p",{children:l.copyrightText}),l.links&&l.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:l.links.map(d=>(0,Ie.jsx)("li",{children:(0,Ie.jsx)($,{"aria-label":`Go Ie page ${d.label}`,href:d.href,openNewTab:d.openNewTab,className:Je,children:d.label})},d.label))})})]})})})]})}function Co({isMenuOpen:e,logoLight:t,logoDark:o,menuItems:a,className:s,wide:r,themeControl:n=!1}){return(0,Ie.jsxs)("div",{className:i("fixed top-0 left-0 right-0 z-50",s),children:[(0,Ie.jsx)(vo,{isMenuOpen:e,logoLight:t,logoDark:o,menuItems:a,themeControl:n,wide:r}),(0,Ie.jsx)(wo,{isMenuOpen:e,logoLight:t,logoDark:o,menuItems:a})]})}var Ao="../cortex-reply-light-27IMI3G7.png";var Po="../cortex-reply-dark-XPAJJJYY.png";var ut=L(require("next/image"));var So=({title:e,image:t})=>(0,Ie.jsx)("div",{children:(0,Ie.jsxs)("div",{className:"sticky top-0 Ie-[50vh] min-Ie-[400px]",children:[(0,Ie.jsx)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:(0,Ie.jsx)("h1",{className:"text-5xl md:text-6xl",children:e})}),(0,Ie.jsxs)("div",{className:"fixed inset-0 Ie-[50vh] min-Ie-[400px] select-none",children:[t&&typeof t=="object"&&(0,Ie.jsx)(ut.default,{priority:!0,src:t.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),t&&typeof t=="string"&&(0,Ie.jsx)("div",{children:(0,Ie.jsx)(ut.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Ie.jsx)("span",{className:"absolute inset-0 bg-gradient-Ie-Ie from-white dark:from-black"})]}),(0,Ie.jsx)(j,{className:"text-black z-10",position:"header"})]})});var Ke=(e,t)=>e[t%e.length];var Io=e=>{let t=e?new Date(e):new Date,o=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),s=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${o} ${a}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"Ie";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${s}`};function Bo({services:e,className:t,title:o,content:a}){let s={settings:{width:"full",card:"light"}};return(0,Ie.jsxs)("div",{className:"pb-4 md:pb-0",children:[(0,Ie.jsxs)("div",{className:i("Ie-full text-left prose"),children:[o&&(0,Ie.jsx)("h2",{className:"text-primary",children:o}),(0,Ie.jsx)("div",{className:"pb-12 ",children:a&&(0,Ie.jsx)(F,{enableGutter:!1,content:a,enableProse:!1,className:i("prose prose-headings:text-foreground prose-p:text-foreground")})})]}),e&&e.length>0&&(0,Ie.jsx)("div",{className:"-mx-4 flex flex-wrap justify-between gap-Ie-8",children:e.map((r,n)=>(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Ke([200,400,600],n),className:"Ie-full px-4 md:Ie-1/2 lg:Ie-1/3 flex",children:(0,Ie.jsx)(ye,{...s,icon:{type:"none"},title:r.title,image:r.image,content:r.content,link:r.link,className:"Ie-full"})},n))})]})}function Qe({subtitle:e,title:t,description:o,alignment:a="start",hasBottomSpacing:s=!1,className:r,invert:n=!1}){let l=i(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},"prose",r);return(0,Ie.jsxs)("div",{className:l,children:[e&&(0,Ie.jsx)("span",{className:"mb-[.625rem] block font-semibold uppercase text-accent md:text-md",children:e}),(0,Ie.jsx)("h2",{className:i("text-primary mt-0"),children:t}),typeof o=="string"?o&&(0,Ie.jsx)("p",{className:"mt-5 whitespace-pre-line text-foreground",children:o}):o&&(0,Ie.jsx)(F,{content:o,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}var Ro=L(require("next/image"));var To="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function Mo(e){let{sectionHeading:t,image:o}=e;return(0,Ie.jsx)("div",{className:"relative Ie-full light py-[60px]",children:(0,Ie.jsxs)("div",{className:"Ie-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[(0,Ie.jsx)("div",{className:"relative Ie-full Ie-full",children:(0,Ie.jsx)(Ro.default,{src:o.src,alt:o.alt,fill:!0,objectFit:"contain",sizes:"(min-width: 768px) 30vw, 50vw",placeholder:"blur",blurDataURL:To})}),(0,Ie.jsx)("div",{className:"Ie-full Ie-full",children:(0,Ie.jsxs)("div",{className:"bg-white p-10",children:[(0,Ie.jsx)("div",{className:"mb-30px",children:(0,Ie.jsx)(Qe,{...t,invert:!0})}),(0,Ie.jsx)(De,{})]})})]})})}function Fo(e){return(0,Ie.jsx)("div",{className:"",children:(0,Ie.jsx)("div",{className:"mx-auto max-Ie-7xl px-6 lg:px-8",children:(0,Ie.jsx)("div",{className:"mx-auto max-Ie-2xl space-Ie-16 divide-Ie divide-gray-100 lg:mx-0 lg:max-Ie-none",children:(0,Ie.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),(0,Ie.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),(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((t,o)=>(0,Ie.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,Ie.jsx)("h3",{className:"text-base/7 text-primary",children:t.title}),(0,Ie.jsxs)("address",{className:"mt-3 space-Ie-1 text-sm/6 not-italic text-foreground",children:[t.location.split(",")?.map((a,s)=>(0,Ie.jsx)("p",{children:a},s))," ",t.mails&&(0,Ie.jsxs)("p",{className:"flex items-center space-Ie-2",children:[(0,Ie.jsx)(Ut.FaEnvelope,{className:"pr-2 text-primary size-auto"}),(0,Ie.jsx)("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&(0,Ie.jsxs)("p",{className:"flex items-center space-Ie-2",children:[(0,Ie.jsx)(Ut.FaPhoneFlip,{className:"pr-2 text-primary size-auto"}),t.phoneNumbers[0]]})]})]},o))})]})})})})}var gt=L(require("next/image"));function Lo({blogs:e,sectionHeading:t,base:o="insights"}){return(0,Ie.jsxs)(Ue,{children:[(0,Ie.jsx)("div",{className:"",children:t&&(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,Ie.jsx)(Qe,{...t,alignment:"start",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,Ie.jsx)("div",{className:"-mx-4 flex flex-wrap justify-start gap-Ie-4",children:e.map((a,s)=>(0,Ie.jsx)("div",{"data-aos":"fade-up","data-aos-delay":Ke([200,400,600],s),className:"Ie-full Ie-full md:Ie-1/2 md:px-4 lg:Ie-1/3",children:(0,Ie.jsx)(Hr,{...a,base:o})},s))})]})}var Do=i("inline-flex items-center gap-2 text-white"),Kn=i("text-sm text-white");function Hr({slug:e,meta:t,authors:o,title:a,publishedAt:s,categories:r,base:n}){return(0,Ie.jsxs)("article",{className:"group/blog relative z-1 flex Ie-full min-Ie-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,Ie.jsx)("span",{className:"absolute inset-0 z-[2] "}),(0,Ie.jsx)(gt.default,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
|
|
6
6
|
(min-width:768px) 50vw,
|
|
7
7
|
(min-width:1024px) 33vw,
|
|
8
8
|
100vw
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a,b}from"../chunk-
|
|
2
|
+
"use strict";import{a,b}from"../chunk-XIVKVQK2.mjs";import"../chunk-U7Q6ZRR3.mjs";import"../chunk-WPL2QWNG.mjs";import"../chunk-65BHP4TM.mjs";import"../chunk-X4Q7WZZS.mjs";import"../chunk-6XGUOJCN.mjs";import"../chunk-AEBUMA72.mjs";import"../chunk-GHXEOXV4.mjs";import"../chunk-IAEVNAKR.mjs";import"../chunk-HFT5KFCM.mjs";import"../chunk-DVGPU4EL.mjs";import"../chunk-IH37BDR2.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-UDQTFQR7.mjs";import"../chunk-B7STYVDB.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-RG5W7B5K.mjs";import"../chunk-ZJCHVWSF.mjs";import"../chunk-EVVDCPEA.mjs";import"../chunk-FYEE5UWZ.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-3SZR5DC2.mjs";import"../chunk-GNMQAGIE.mjs";import"../chunk-3A4UGUFM.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-KCCDR7HB.mjs";import"../chunk-Z3YAIJQT.mjs";import"../chunk-AJWSKECP.mjs";import"../chunk-CZIRJUID.mjs";import"../chunk-I6X4KLR3.mjs";import"../chunk-JTQWVSV5.mjs";import"../chunk-W7KPRGG2.mjs";import"../chunk-7PDGAGJL.mjs";import"../chunk-YMBNEJBV.mjs";import"../chunk-LTTO57ZK.mjs";import"../chunk-JPGNI5UZ.mjs";import"../chunk-LF7I56HN.mjs";import"../chunk-A544CNOK.mjs";import"../chunk-COI2LCY2.mjs";import"../chunk-VGQTRTPZ.mjs";import"../chunk-QVIJOCZ5.mjs";import"../chunk-A24EPYUY.mjs";import"../chunk-QKGEV7LG.mjs";import"../chunk-WHH4AVZT.mjs";import"../chunk-EDLBPAEH.mjs";import"../chunk-KNJGZBXS.mjs";import"../chunk-326JXRIS.mjs";import"../chunk-CJF6GVGP.mjs";import"../chunk-LHL2AONM.mjs";import"../chunk-YPK6OLRS.mjs";import"../chunk-MUBDAI2K.mjs";import"../chunk-NP2M5K7O.mjs";import"../chunk-MCEK7XUK.mjs";import"../chunk-JHTGGDU5.mjs";import"../chunk-63W64WWD.mjs";import"../chunk-IKTCLX2C.mjs";import"../chunk-K4RVBOIC.mjs";import"../chunk-DOJR2RDB.mjs";import"../chunk-64UGFPFV.mjs";import"../chunk-KHGZULZP.mjs";import"../chunk-MU4ETGDT.mjs";import"../chunk-BMN3FVZS.mjs";import"../chunk-OGZERPA4.mjs";import"../chunk-6T322YHB.mjs";import"../chunk-CX4XB5W2.mjs";import"../chunk-EECIYMTX.mjs";import"../chunk-KJIBE57R.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-GYDVBUKO.mjs";import"../chunk-ZJ56IQPQ.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-UMBMLD26.mjs";import"../chunk-OMVXDUX7.mjs";import"../chunk-ZY2PDUUB.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-RVRIMD6M.mjs";import"../chunk-UF3I2XE2.mjs";import"../chunk-GXC2S7UQ.mjs";import"../chunk-RYZTCMVC.mjs";import"../chunk-RZUYAUCR.mjs";import"../chunk-FSYU3D5O.mjs";import"../chunk-JLCWVIEP.mjs";import"../chunk-5ALQQYYE.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-C4DU747D.mjs";import"../chunk-DIAK5C43.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-56RXRTGZ.mjs";import"../chunk-L3PFZ7PW.mjs";import"../chunk-WDDAVAVV.mjs";import"../chunk-E6KVX2UG.mjs";import"../chunk-LLNCOMIM.mjs";import"../chunk-6HORFOA3.mjs";import"../chunk-KUZCFJTH.mjs";import"../chunk-VIS6GPCT.mjs";import"../chunk-IC57R2EU.mjs";import"../chunk-PBRC3UOA.mjs";import"../chunk-SX5U74MW.mjs";import"../chunk-KHZPOMKL.mjs";import"../chunk-FRTYO74I.mjs";import"../chunk-7PBTM4J4.mjs";import"../chunk-4BDIVC2Q.mjs";import"../chunk-TQQVBE66.mjs";import"../chunk-BUCI7BPM.mjs";import"../chunk-R7IAPAL5.mjs";import"../chunk-WGEMXPWB.mjs";import"../chunk-PWBAD26X.mjs";import"../chunk-SUO6GOJS.mjs";import"../chunk-GRCMMAFX.mjs";import"../chunk-HJK6BCTE.mjs";import"../chunk-RHFLBRXF.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-JPZJET3B.mjs";import"../chunk-NACHOXV5.mjs";import"../chunk-BPSLUO5I.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-BLD454AX.mjs";import"../chunk-4BHOIXJM.mjs";import"../chunk-FHJDQP4I.mjs";import"../chunk-J2IHT57D.mjs";import"../chunk-4YFMDLHL.mjs";import"../chunk-2ZB6Z7XN.mjs";import"../chunk-VFXHLJ45.mjs";import"../chunk-FVPWO556.mjs";import"../chunk-INOUDNCK.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-55EX54R7.mjs";import"../chunk-BONRVXMX.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-WKFNZUIR.mjs";import"../chunk-6MWXSKBH.mjs";import"../chunk-VR6QUPNE.mjs";import"../chunk-H6POT4A7.mjs";import"../chunk-TEMKCAXW.mjs";import"../chunk-KTXQBXXJ.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-FVM5SQT2.mjs";import"../chunk-HTVHCBXQ.mjs";import"../chunk-Q3G5UAAD.mjs";import"../chunk-ZLSF5YXT.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-M6LJ4BNZ.mjs";export{b as Section,a as default};
|