cortex-react-components 1.53.18 → 1.53.19
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-TZE7RZAV.mjs → chunk-3BBZH3T3.mjs} +1 -1
- package/dist/{chunk-ZODTQZTN.mjs → chunk-3PTHLA3K.mjs} +1 -1
- package/dist/{chunk-IQ7LAP7P.mjs → chunk-4TCLIMFP.mjs} +1 -1
- package/dist/{chunk-F7BI5FYX.mjs → chunk-5J5WPYIM.mjs} +1 -1
- package/dist/chunk-5TMU7KTC.mjs +2 -0
- package/dist/{chunk-BRFSZTQJ.mjs → chunk-6YWAX7NS.mjs} +1 -1
- package/dist/{chunk-LCJZMDQF.mjs → chunk-7WSF7CDA.mjs} +1 -1
- package/dist/{chunk-XMTEY7XQ.mjs → chunk-ANAWSXMS.mjs} +1 -1
- package/dist/{chunk-NFLAGBIE.mjs → chunk-CM5OUS2S.mjs} +1 -1
- package/dist/{chunk-OGKJF5LR.mjs → chunk-CSNKYRV5.mjs} +1 -1
- package/dist/{chunk-D7A7EUEW.mjs → chunk-DFB6DJCW.mjs} +1 -1
- package/dist/{chunk-GZLUDIN3.mjs → chunk-E6MYDQ3V.mjs} +1 -1
- package/dist/{chunk-RQ23CZK5.mjs → chunk-F55C2C5H.mjs} +1 -1
- package/dist/chunk-FUJT4M2J.mjs +5 -0
- package/dist/{chunk-FK6Y5G5N.mjs → chunk-GF62H2LB.mjs} +1 -1
- package/dist/{chunk-VCC562W2.mjs → chunk-HFN2NHXV.mjs} +1 -1
- package/dist/{chunk-OLKBLOEH.mjs → chunk-I6OTINHS.mjs} +1 -1
- package/dist/{chunk-WV4NLWRU.mjs → chunk-ICM6QD7O.mjs} +1 -1
- package/dist/{chunk-LLJZRF3C.mjs → chunk-KLCZHZKQ.mjs} +1 -1
- package/dist/{chunk-65KP55SA.mjs → chunk-KXGA6R7U.mjs} +1 -1
- package/dist/chunk-L4FTRAKV.mjs +4 -0
- package/dist/{chunk-GFX7ISZC.mjs → chunk-LY5LYSJP.mjs} +1 -1
- package/dist/{chunk-XRSFJHOZ.mjs → chunk-NO4A4H5A.mjs} +1 -1
- package/dist/{chunk-XDFXEM2U.mjs → chunk-O6CPA4ET.mjs} +1 -1
- package/dist/{chunk-4MQV5KBS.mjs → chunk-OJPHYSRN.mjs} +1 -1
- package/dist/chunk-PIM2JQYT.mjs +1 -0
- package/dist/{chunk-TATBOD3E.mjs → chunk-PYOE47AG.mjs} +1 -1
- package/dist/{chunk-2QVJBFPH.mjs → chunk-QFWNMI4Q.mjs} +1 -1
- package/dist/chunk-RHGDR5Z3.mjs +1 -0
- package/dist/{chunk-QSIJJSKA.mjs → chunk-S3LKALPI.mjs} +1 -1
- package/dist/{chunk-HDVYZQKY.mjs → chunk-SWROLJQ7.mjs} +1 -1
- package/dist/{chunk-TTY5DT75.mjs → chunk-TOO2CCBL.mjs} +1 -1
- package/dist/chunk-VP6NKH2R.mjs +1 -0
- package/dist/{chunk-BRYLOPR4.mjs → chunk-WXN6BK2F.mjs} +1 -1
- package/dist/{chunk-DHLQCOMJ.mjs → chunk-YJMQPBXM.mjs} +1 -1
- package/dist/chunk-ZL6WMZEV.mjs +4 -0
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.js +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.js +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.js +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.js +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.js +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.js +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.js +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.js +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/index.js +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.mjs +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 +1 -1
- 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/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.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/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +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.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/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 +4 -4
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +5 -5
- 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 +7 -7
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.mjs +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.mjs +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +4 -4
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +4 -4
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +4 -4
- 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.mjs +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.mjs +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.mjs +1 -1
- package/dist/sections/ContactSection.stories.mjs +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 +3 -3
- package/dist/sections/PageSections.stories.mjs +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/ServiceDetailSection.mjs +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-2GAB2DAK.mjs +0 -5
- package/dist/chunk-6ZTACGHK.mjs +0 -4
- package/dist/chunk-G5HD4IFA.mjs +0 -1
- package/dist/chunk-KDC7QCYU.mjs +0 -4
- package/dist/chunk-KQ3VIRWA.mjs +0 -1
- package/dist/chunk-ST57SBGX.mjs +0 -1
- package/dist/chunk-TUFJTJCO.mjs +0 -2
package/dist/sections/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
'use server'
|
|
4
4
|
|
|
5
|
-
"use strict";var Er=Object.create;var Fe=Object.defineProperty;var Hr=Object.getOwnPropertyDescriptor;var Ur=Object.getOwnPropertyNames;var jr=Object.getPrototypeOf,Gr=Object.prototype.hasOwnProperty;var Or=(e,t)=>{for(var r in t)Fe(e,r,{get:t[r],enumerable:!0})},kt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ur(t))!Gr.call(e,i)&&i!==r&&Fe(e,i,{get:()=>t[i],enumerable:!(a=Hr(t,i))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?Er(jr(e)):{},kt(t||!e||!e.__esModule?Fe(r,"default",{value:e,enumerable:!0}):r,e)),$r=e=>kt(Fe({},"__esModule",{value:!0}),e);var Qo={};Or(Qo,{AboutSection:()=>Io,BlogCard:()=>zr,BlogDetail:()=>Go,BlogList:()=>Yo,BlogListSection:()=>Lo,ContactSection:()=>Ho,ImageSection:()=>Vo,LocationsSection:()=>Uo,MainPageSection:()=>Oo,PricingSection:()=>Ro,Section:()=>Ko,ServiceDetailSection:()=>_o,ServiceSection:()=>Bo});module.exports=$r(Qo);var Mt=require("clsx");var at="-",Vr=e=>{let t=_r(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let n=s.split(at);return n[0]===""&&n.length!==1&&n.shift(),St(n,t)||Yr(s)},getConflictingClassGroupIds:(s,n)=>{let c=r[s]||[];return n&&a[s]?[...c,...a[s]]:c}}},St=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),i=a?St(e.slice(1),a):void 0;if(i)return i;if(t.validators.length===0)return;let o=e.join(at);return(s=t.validators.find(({validator:n})=>n(o)))==null?void 0:s.classGroupId},Pt=/^\[(.+)\]$/,Yr=e=>{if(Pt.test(e)){let t=Pt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},_r=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Qr(Object.entries(e.classGroups),r).forEach(([o,s])=>{ot(s,a,o,t)}),a},ot=(e,t,r,a)=>{e.forEach(i=>{if(typeof i=="string"){let o=i===""?t:At(t,i);o.classGroupId=r;return}if(typeof i=="function"){if(Kr(i)){ot(i(a),t,r,a);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([o,s])=>{ot(s,At(t,o),r,a)})})},At=(e,t)=>{let r=e;return t.split(at).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Kr=e=>e.isThemeGetter,Qr=(e,t)=>t?e.map(([r,a])=>{let i=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,n])=>[t+s,n])):o);return[r,i]}):e,Wr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,i=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return i(o,s),s},set(o,s){r.has(o)?r.set(o,s):i(o,s)}}},Bt="!",qr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,i=t[0],o=t.length,s=n=>{let c=[],p=0,u=0,d;for(let I=0;I<n.length;I++){let T=n[I];if(p===0){if(T===i&&(a||n.slice(I,I+o)===t)){c.push(n.slice(u,I)),u=I+o;continue}if(T==="/"){d=I;continue}}T==="["?p++:T==="]"&&p--}let m=c.length===0?n:n.substring(u),x=m.startsWith(Bt),z=x?m.substring(1):m,w=d&&d>u?d-u:void 0;return{modifiers:c,hasImportantModifier:x,baseClassName:z,maybePostfixModifierPosition:w}};return r?n=>r({className:n,parseClassName:s}):s},Jr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Xr=e=>({cache:Wr(e.cacheSize),parseClassName:qr(e),...Vr(e)}),Zr=/\s+/,eo=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split(Zr),n="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:u,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:x}=r(p),z=!!x,w=a(z?m.substring(0,x):m);if(!w){if(!z){n=p+(n.length>0?" "+n:n);continue}if(w=a(m),!w){n=p+(n.length>0?" "+n:n);continue}z=!1}let I=Jr(u).join(":"),T=d?I+Bt:I,P=T+w;if(o.includes(P))continue;o.push(P);let U=i(w,z);for(let F=0;F<U.length;++F){let pe=U[F];o.push(T+pe)}n=p+(n.length>0?" "+n:n)}return n};function to(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Rt(t))&&(a&&(a+=" "),a+=r);return a}var Rt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Rt(e[a]))&&(r&&(r+=" "),r+=t);return r};function ro(e,...t){let r,a,i,o=s;function s(c){let p=t.reduce((u,d)=>d(u),e());return r=Xr(p),a=r.cache.get,i=r.cache.set,o=n,n(c)}function n(c){let p=a(c);if(p)return p;let u=eo(c,r);return i(c,u),u}return function(){return o(to.apply(null,arguments))}}var B=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},It=/^\[(?:([a-z-]+):)?(.+)\]$/i,oo=/^\d+\/\d+$/,ao=new Set(["px","full","screen"]),so=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,io=/\d+(%|px|r?em|[sdl]?zt([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|zt|i|zt|min|max))|\zt(calc|min|max|clamp)\(.+\)|^0$/,no=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,lo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)zt-?((\d+)?\.?(\d+)[a-z]+|0)/,co=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Q=e=>ue(e)||ao.has(e)||oo.test(e),Z=e=>ge(e,"length",bo),ue=e=>!!e&&!Number.isNaN(Number(e)),rt=e=>ge(e,"number",ue),Ae=e=>!!e&&Number.isInteger(Number(e)),mo=e=>e.endsWith("%")&&ue(e.slice(0,-1)),f=e=>It.test(e),ee=e=>so.test(e),po=new Set(["length","size","percentage"]),uo=e=>ge(e,po,Tt),go=e=>ge(e,"position",Tt),fo=new Set(["image","url"]),ho=e=>ge(e,fo,yo),xo=e=>ge(e,"",vo),Se=()=>!0,ge=(e,t,r)=>{let a=It.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},bo=e=>io.test(e)&&!no.test(e),Tt=()=>!1,vo=e=>lo.test(e),yo=e=>co.test(e);var wo=()=>{let e=B("colors"),t=B("spacing"),r=B("blur"),a=B("brightness"),i=B("borderColor"),o=B("borderRadius"),s=B("borderSpacing"),n=B("borderWidth"),c=B("contrast"),p=B("grayscale"),u=B("hueRotate"),d=B("invert"),m=B("gap"),x=B("gradientColorStops"),z=B("gradientColorStopPositions"),w=B("inset"),I=B("margin"),T=B("opacity"),P=B("padding"),U=B("saturate"),F=B("scale"),pe=B("sepia"),xt=B("skew"),bt=B("space"),vt=B("translate"),Xe=()=>["auto","contain","none"],Ze=()=>["auto","hidden","clip","visible","scroll"],et=()=>["auto",f,t],L=()=>[f,t],yt=()=>["",Q,Z],ze=()=>["auto",ue,f],wt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],De=()=>["solid","dashed","dotted","double","none"],Nt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],tt=()=>["start","end","center","between","around","evenly","stretch"],Pe=()=>["","0",f],Ct=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[ue,f];return{cacheSize:500,separator:":",theme:{colors:[Se],spacing:[Q,Z],blur:["none","",ee,f],brightness:K(),borderColor:[e],borderRadius:["none","","full",ee,f],borderSpacing:L(),borderWidth:yt(),contrast:K(),grayscale:Pe(),hueRotate:K(),invert:Pe(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[mo,Z],inset:et(),margin:et(),opacity:K(),padding:L(),saturate:K(),scale:K(),sepia:Pe(),skew:K(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",f]}],container:["container"],columns:[{columns:[ee]}],"break-after":[{"break-after":Ct()}],"break-before":[{"break-before":Ct()}],"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:[...wt(),f]}],overflow:[{overflow:Ze()}],"overflow-x":[{"overflow-x":Ze()}],"overflow-zt":[{"overflow-zt":Ze()}],overscroll:[{overscroll:Xe()}],"overscroll-x":[{"overscroll-x":Xe()}],"overscroll-zt":[{"overscroll-zt":Xe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-zt":[{"inset-zt":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ae,f]}],basis:[{basis:et()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",f]}],grow:[{grow:Pe()}],shrink:[{shrink:Pe()}],order:[{order:["first","last","none",Ae,f]}],"grid-cols":[{"grid-cols":[Se]}],"col-start-end":[{col:["auto",{span:["full",Ae,f]},f]}],"col-start":[{"col-start":ze()}],"col-end":[{"col-end":ze()}],"grid-rows":[{"grid-rows":[Se]}],"row-start-end":[{row:["auto",{span:[Ae,f]},f]}],"row-start":[{"row-start":ze()}],"row-end":[{"row-end":ze()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","Ot",f]}],"auto-rows":[{"auto-rows":["auto","min","max","Ot",f]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-zt":[{"gap-zt":[m]}],"justify-content":[{justify:["normal",...tt()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...tt(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...tt(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[I]}],mx:[{mx:[I]}],my:[{my:[I]}],ms:[{ms:[I]}],Ot:[{Ot:[I]}],mt:[{mt:[I]}],Ot:[{Ot:[I]}],mb:[{mb:[I]}],ml:[{ml:[I]}],"space-x":[{"space-x":[bt]}],"space-x-reverse":["space-x-reverse"],"space-zt":[{"space-zt":[bt]}],"space-zt-reverse":["space-zt-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",f,t]}],"min-w":[{"min-w":[f,t,"min","max","fit"]}],"max-w":[{"max-w":[f,t,"none","full","min","max","fit","prose",{screen:[ee]},ee]}],zt:[{zt:[f,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-zt":[{"min-zt":[f,t,"min","max","fit","svh","lvh","dvh"]}],"max-zt":[{"max-zt":[f,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[f,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ee,Z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",rt]}],"font-family":[{font:[Se]}],"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",f]}],"line-clamp":[{"line-clamp":["none",ue,rt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Q,f]}],"list-image":[{"list-image":["none",f]}],"list-style-type":[{list:["none","disc","decimal",f]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...De(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Q,Z]}],"underline-offset":[{"underline-offset":["auto",Q,f]}],"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:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",f]}],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",f]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...wt(),go]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","zt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",uo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","zt","bl","l","tl"]},ho]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-zt":[{"rounded-zt":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-zt":[{"rounded-zt":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-zt":[{"border-zt":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-zt":[{"border-zt":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...De(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-zt":[{"divide-zt":[n]}],"divide-zt-reverse":["divide-zt-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:De()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-zt":[{"border-zt":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-zt":[{"border-zt":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...De()]}],"outline-offset":[{"outline-offset":[Q,f]}],"outline-w":[{outline:[Q,Z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:yt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[Q,Z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ee,xo]}],"shadow-color":[{shadow:[Se]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...Nt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Nt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",ee,f]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[U]}],sepia:[{sepia:[pe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"backdrop-sepia":[{"backdrop-sepia":[pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-zt":[{"border-spacing-zt":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",f]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",f]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",f]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-zt":[{"scale-zt":[F]}],rotate:[{rotate:[Ae,f]}],"translate-x":[{"translate-x":[vt]}],"translate-zt":[{"translate-zt":[vt]}],"skew-x":[{"skew-x":[xt]}],"skew-zt":[{"skew-zt":[xt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",f]}],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","w-resize","zt-resize","nw-resize","zt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",f]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","zt","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-Ot":[{"scroll-Ot":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-Ot":[{"scroll-Ot":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","zt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-zt":[{"touch-pan":["zt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",f]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Q,Z,rt]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-zt"],overscroll:["overscroll-x","overscroll-zt"],inset:["inset-x","inset-zt","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-zt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-zt"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","Ot","mt","Ot","mb","ml"],mx:["Ot","ml"],my:["mt","mb"],size:["w","zt"],"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-zt","rounded-l","rounded-ss","rounded-zt","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-zt","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-zt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-zt"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-zt","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-zt":["border-w-t","border-w-zt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-zt","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-zt":["border-color-t","border-color-zt"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Ot","scroll-mt","scroll-Ot","scroll-mb","scroll-ml"],"scroll-mx":["scroll-Ot","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-zt","touch-pz"],"touch-x":["touch"],"touch-zt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Lt=ro(wo);function l(...e){return Lt((0,Mt.clsx)(e))}var zt=require("react/jsx-runtime");function j({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let i=l("container",t&&"full-width",r&&"no-padding",a);return(0,zt.jsx)("div",{className:i,children:e})}var fe=(e,t)=>e[t%e.length];var Dt=require("@radix-ui/react-slot"),Ft=require("class-variance-authority"),Et=E(require("react")),No=(0,Ft.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:"zt-10 px-4 py-2",icon:"zt-10 w-10",lg:"zt-11 rounded px-8",sm:"zt-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"}}}),G=Et.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...i},o)=>(0,zt.jsx)(e?Dt.Slot:"button",{className:l(No({className:t,size:r,variant:a})),ref:o,...i}));G.displayName="Button";var Ut=({className:e,content:t,style:r})=>(0,zt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,zt.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,zt.jsx)(H,{content:t,enableGutter:!1,enableProse:!1})})});var st=E(require("next/link")),Re=e=>{let{type:t,appearance:r="inline",children:a,className:i,label:o,newTab:s,reference:n,size:c,url:p}=e,u=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:p;if(!u)return null;let d=r==="link"?"clear":c,m=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,zt.jsxs)(st.default,{className:l(i),href:u||p||"",...m,children:[o&&o,a&&a]}):(0,zt.jsx)(G,{asChild:!0,className:i,size:d,variant:r,children:(0,zt.jsxs)(st.default,{className:l(i),href:u||p||"",...m,children:[o&&o,a&&a]})})};var jt=({links:e,richText:t})=>(0,zt.jsx)("div",{className:"container",children:(0,zt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,zt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,zt.jsx)(H,{className:"mb-0",content:t,enableGutter:!1})}),(0,zt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,zt.jsx)(Re,{size:"lg",...r},a))})]})});var He=require("prism-react-renderer");var Gt=require("lucide-react"),Ot=require("react");function $t({code:e}){let[t,r]=(0,Ot.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,zt.jsx)("div",{className:"flex justify-end align-middle",children:(0,zt.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,zt.jsx)("p",{children:t}),(0,zt.jsx)("div",{className:"w-6 zt-6 dark:invert",children:(0,zt.jsx)(Gt.ClipboardCopy,{})})]})})}var Vt=({code:e,language:t=""})=>e?(0,zt.jsx)(He.Highlight,{code:e,language:t,theme:He.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:i})=>(0,zt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[i.map((o,s)=>(0,zt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,zt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,zt.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,zt.jsx)("span",{...a({token:n})},c))})]},s)),(0,zt.jsx)($t,{code:e})]})}):null;var Yt=({className:e,code:t,language:r})=>(0,zt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,zt.jsx)(Vt,{code:t,language:r})});var Kt=E(require("next/image")),Co={"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=",Qt=e=>{let{alt:t,fill:r,imgClassName:a,priority:i,resource:o,size:s,src:n,loading:c}=e,p,u,d=t,m=n||"";if(!m&&o&&typeof o=="object"){let{alt:w,filename:I,height:T,url:P,width:U}=o;if(T&&T>500){let F=500/T;p=U*F,u=T*F}else p=U,u=T;d=w||"",m=P||_t}let x=c||"lazy",z=s||Object.entries(Co).map(([,w])=>`(max-width: ${w}px) ${w*2}w`).join(", ");return(0,zt.jsx)("picture",{children:(0,zt.jsx)(Kt.default,{alt:d||"",className:l(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:_t,priority:x!=="lazy"&&i,quality:100,loading:x,sizes:z,src:m,width:r?void 0:p})})};var Wt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var qt=()=>{if(Wt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Jt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,i=(0,Ot.useRef)(null);if((0,Ot.useEffect)(()=>{let{current:o}=i;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,zt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:i,children:(0,zt.jsx)("source",{src:`${qt()}/media/${o}`})})}return null};var he=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,i=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,zt.jsx)(r||Ot.Fragment,{...r!==null?{className:t}:{},children:i?(0,zt.jsx)(Jt,{...e}):(0,zt.jsx)(Qt,{...e})})};var Zt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:i,staticImage:o}=e;return(0,zt.jsx)("div",{className:l("zt-full ",{container:r},t),children:(0,zt.jsx)(he,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:i,src:o})})};var er=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:i,staticImage:o}=e;return(0,zt.jsx)("div",{className:l("",{container:r},t),children:(0,zt.jsx)(he,{imgClassName:l("rounded-[0.8rem]",a),resource:i,src:o})})};var tr=({title:e,description:t,features:r,id:a,nested:i=!1})=>(0,zt.jsxs)("section",{className:l(!i&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,zt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,zt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,zt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,zt.jsx)(H,{content:t,enableGutter:!1})}),(0,zt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,s)=>{var c,p,u,d,m;let n=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,zt.jsx)(rr,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:n()||void 0,iconSize:((u=o.settings)==null?void 0:u.iconSize)||"large",width:"auto",order:s,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(d=o.link)!=null&&d.url?"Find out more":void 0,buttonHref:((m=o.link)==null?void 0:m.url)||void 0},s)})})]});var Ge=E(require("react"));function Ie({nodes:e}){return(0,zt.jsx)(Ge.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,zt.jsx)(Ge.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,zt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,zt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,zt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,zt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,zt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,zt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,zt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,zt.jsx)("table",{children:(0,zt.jsx)("tbody",{children:t.children.map((o,s)=>(0,zt.jsx)("tr",{children:o.children.map((n,c)=>(0,zt.jsx)("td",{children:Ie({nodes:n.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Ie({nodes:o.children})},i="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,zt.jsx)(jt,{...o},r);case"mediaBlock":return(0,zt.jsx)(Zt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,zt.jsx)(er,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,zt.jsx)(Ut,{className:"col-start-2 mb-4",...o},r);case"code":return(0,zt.jsx)(Yt,{className:"col-start-2",...o},r);case"features":return(0,zt.jsx)(tr,{...o,nested:!0},r);case"reusableContentBlock":Ie({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,zt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,zt.jsx)("p",{className:"col-start-2",children:i},r);case"heading":{let o=t==null?void 0:t.tag;return(0,zt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:i},r)}case"list":{let o=t==null?void 0:t.tag;return(0,zt.jsx)(o,{className:"list col-start-2",children:i},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,zt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:i},r):(0,zt.jsx)("li",{value:t==null?void 0:t.value,children:i},r);case"quote":return(0,zt.jsx)("blockquote",{className:"col-start-2",children:i},r);case"link":{let o=t.fields;return(0,zt.jsx)(Re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:i},r)}case"autolink":{let o=t.fields;return(0,zt.jsx)(Re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:i},r)}default:return null}})})}var H=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var i;return t?(0,zt.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ie({nodes:(i=t==null?void 0:t.root)==null?void 0:i.children})}):null};var xe=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let i=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a!=null?a:"",n=i+o+" fa-"+r+" "+s;return(0,zt.jsx)("i",{className:n})};var ir=E(require("next/image"));function sr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function mt({image:e,icon:t,title:r,subtitle:a,content:i,statistic:o,settings:s,link:n,className:c}){var d,m;let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},u={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return console.log("image",e),(0,zt.jsxs)("div",{className:l("min-w-56 max-w-xl zt-full flex flex-col group",e?"p-0 md:p-0":"p-8 md:p-8",s&&!e&&p[(s==null?void 0:s.card)==="default"?"solid":s==null?void 0:s.card],e&&"bg-foreground",s&&(s==null?void 0:s.card)==="outline"?"text-gray-900":"text-white",u[(d=s==null?void 0:s.width)!=null?d:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,zt.jsx)("div",{className:"relative zt-64 w-full mb-0",children:(0,zt.jsx)(ir.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,zt.jsxs)("div",{className:l(e?"p-4 pb-8 md:px-12":"p-0 md:p-0","flex flex-col flex-grow"),children:[a&&(0,zt.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:a}),(0,zt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,zt.jsx)(ko,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(s==null?void 0:s.card)==="default"?"solid":(m=s==null?void 0:s.card)!=null?m:"solid",iconSize:(s==null?void 0:s.iconSize)||"large"})}),o&&(0,zt.jsx)("div",{className:"mb-6",children:(0,zt.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"text-brand-green":"text-white"),children:o})}),i&&typeof i=="object"&&(0,zt.jsx)(H,{enableGutter:!1,content:i,enableProse:!1,className:l("space-zt-6",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),i&&typeof i=="string"&&(0,zt.jsx)("div",{className:l("space-zt-6",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background"),children:i}),n&&n.url&&(0,zt.jsx)("div",{className:"pt-6 zt-full flex items-end justify-start",children:(0,zt.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:n.url||"#",children:(n==null?void 0:n.label)||"Find out more"})}),(s==null?void 0:s.card)==="radial"&&(0,zt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 zt-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var ko=({icon:e,heading:t,variant:r,iconSize:a,subtitle:i})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,zt.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,zt.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),sr(e)&&(0,zt.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,zt.jsx)(xe,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,zt.jsxs)("div",{className:"flex flex-col gap-4",children:[sr(e)&&(0,zt.jsx)("div",{className:l("zt-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,zt.jsx)(xe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,zt.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,zt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,zt.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var ie=E(require("react"));var be=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));be.displayName="Card";var Te=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("flex flex-col space-zt-1.5 p-6",e),...t}));Te.displayName="CardHeader";var Le=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));Le.displayName="CardTitle";var Po=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Po.displayName="CardDescription";var ve=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));ve.displayName="CardContent";var Ao=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));Ao.displayName="CardFooter";var nr=E(require("next/link"));function le({children:e,href:t,openNewTab:r,...a}){return(0,zt.jsx)(nr.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Oe=require("react-icons/fa6");function cr({title:e,description:t,features:r,price:a,duration:i,button:o}){return(0,zt.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,zt.jsxs)("div",{className:"zt-full border-card p-6 dark:border-opacity-20 max-lg:border-zt max-lg:pt-14 lg:border-r lg:p-10",children:[(0,zt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,zt.jsx)("p",{children:t})]}),(0,zt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,zt.jsxs)("div",{className:"flex flex-col justify-stretch gap-x-14 gap-zt-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,zt.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((s,n)=>(0,zt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,zt.jsx)("span",{className:"text-accent pt-1",children:(0,zt.jsx)(Oe.FaCircleCheck,{})}),(0,zt.jsx)("span",{children:s})]},n))}),(0,zt.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,zt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:i&&i})]}),o&&(0,zt.jsx)("div",{className:"flex-none Ot-0 sm:ml-auto",children:(0,zt.jsx)(G,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,zt.jsxs)(le,{href:o.href,openNewTab:o.openNewTab,children:[(0,zt.jsx)("span",{className:"relative z-1",children:o.label}),(0,zt.jsx)("span",{className:"relative z-1 pl-2",children:(0,zt.jsx)(Oe.FaAnglesRight,{})})]})})})]})})]})}function dr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function rr({variant:e="outline",className:t,icon:r,iconSize:a="large",width:i="auto",order:o=0,heading:s,subheading:n,content:c,statistic:p,buttonText:u,buttonHref:d}){let m={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},x={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,zt.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",m[e],e==="outline"?"text-gray-900":"text-white",t,x[i],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,zt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,zt.jsx)(So,{icon:r,heading:s,variant:e,iconSize:a})}),p&&(0,zt.jsx)("div",{className:"mb-6",children:(0,zt.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),n&&(0,zt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),c&&typeof c=="object"&&(0,zt.jsx)("div",{className:l("space-zt-6"),children:(0,zt.jsx)(H,{enableGutter:!1,content:c,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,zt.jsx)("div",{className:l("space-zt-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),u&&(0,zt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,zt.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,zt.jsx)("a",{href:d,children:u})})}),e==="radial"&&(0,zt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 zt-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var So=({icon:e,heading:t,variant:r,iconSize:a})=>e&&a==="small"?(0,zt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[dr(e)&&(0,zt.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,zt.jsx)(xe,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,zt.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,zt.jsxs)("div",{className:"flex flex-col gap-4",children:[dr(e)&&(0,zt.jsx)("div",{className:l("zt-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,zt.jsx)(xe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,zt.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,zt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,zt.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var ye=require("next/navigation"),pt=l("grid zt-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function pr({pages:e}){let t=(0,ye.useSearchParams)(),r=(0,ye.usePathname)(),{replace:a}=(0,ye.useRouter)(),{totalPages:i,page:o}=e,[s,n]=(0,Ot.useState)({start:o>3?o-3:1,end:o+2}),c=d=>{d==="left"&&s.start>1?n(m=>({start:m.start-1,end:m.end-1})):d==="right"&&s.end<i&&n(m=>({start:m.start+1,end:m.end+1}))};function p(d){let m=new URLSearchParams(t);d?m.set("page",d):m.delete("page"),a(`${r}?${m.toString()}`)}if(i<=1)return null;let u=[];for(let d=s.start;d<=s.end;d++)u.push(d);return(0,$.jsx)("div",{className:"mt-12",children:(0,$.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[s.start>1&&(0,$.jsx)("li",{children:(0,$.jsx)("button",{className:l(pt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,$.jsx)($e.FaArrowLeft,{})})}),u.map((d,m)=>(0,$.jsx)("li",{children:(0,$.jsx)("a",{className:l(pt,d===o?"border-accent bg-accent text-accent-foreground":"border-accent"),href:"#","aria-label":`pagination button ${d}`,role:"button",onClick:x=>{x.preventDefault(),p(d.toString())},children:d})},m)),s.end<i&&(0,$.jsx)("li",{children:(0,$.jsx)("button",{className:l(pt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,$.jsx)($e.FaArrowRight,{})})})]})})}var Us=l("transition-colors duration-400 hover:text-primary ease-in-out");function gr({title:e,links:t}){let r=(0,ye.useSearchParams)(),a=(0,ye.usePathname)(),{replace:i}=(0,ye.useRouter)();function o(s){let n=new URLSearchParams(r);s?n.set("category",s):n.delete("category"),i(`${a}?${n.toString()}`)}return(0,zt.jsxs)(be,{children:[(0,zt.jsx)(Te,{children:(0,zt.jsx)(Le,{className:"text-accent",children:e&&e})}),(0,zt.jsx)(ve,{children:t&&t.length>0&&(0,zt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,zt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((s,n)=>(0,zt.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(s.href)},children:[s.label,(0,zt.jsx)(Gt.ExternalLink,{className:"ml-1 zt-3 w-3"})]},n))})})})]})}function hr({types:e}){let[t,r]=(0,Ot.useState)(e&&e[0].href),a=(0,ye.useSearchParams)(),i=(0,ye.usePathname)(),{replace:o}=(0,ye.useRouter)();function s(n){let c=new URLSearchParams(a);n?c.set("type",n):c.delete("type"),r(n),o(`${i}?${c.toString()}`)}return(0,zt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,zt.jsx)(G,{variant:n.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap text-foreground border border-accent hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>s(n.href),children:n.label},c))})}var re=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,zt.jsx)("div",{className:"w-full zt-[1240px] z-20",children:(0,zt.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:l(t,"absolute -bottom-[2px] flex"),transform:r[0],children:[(0,zt.jsx)("defs",{children:(0,zt.jsxs)("mask",{id:"mask",children:[(0,zt.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,zt.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0","stroke-width":"2"})]})}),(0,zt.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,zt.jsx)("rect",{zt:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,zt.jsx)("div",{className:"w-full zt-[70px] md:zt-[332px] z-20 ",children:(0,zt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"absolute "),style:{fontSize:0,float:"left"},transform:r[1],children:[(0,zt.jsx)("defs",{children:(0,zt.jsxs)("mask",{id:"mask",children:[(0,zt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,zt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,zt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-top")return(0,zt.jsx)("div",{className:"w-full zt-[70px] md:zt-[332px] z-20 content-end block overflow-hidden",children:(0,zt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,zt.jsx)("defs",{children:(0,zt.jsxs)("mask",{id:"mask",children:[(0,zt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,zt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,zt.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,zt.jsx)("div",{className:"w-full min-zt-[70px] md:min-zt-[350px] z-20 content-start block overflow-hidden bg-white",children:(0,zt.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:l(t,"w-full block overflow-hidden"),transform:r[1],children:(0,zt.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,zt.jsx)("div",{className:"w-full min-zt-[70px] md:min-zt-[350px] z-20 content-end block overflow-hidden",children:(0,zt.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:l(t,"w-full block overflow-hidden"),transform:r[3],children:(0,zt.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,zt.jsx)("div",{className:"w-full min-zt-[70px] md:min-zt-[350px] z-20 content-end block overflow-hidden",children:(0,zt.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:l(t,"w-full block overflow-hidden"),transform:e==="bottom-left"?r[3]:r[2],children:(0,zt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var Ve=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),i=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(s=>{if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${i}`};function Bo({services:e,className:t,title:r,content:a}){let i={settings:{width:"full",card:"light"}};return(0,zt.jsxs)(j,{className:"py-8",children:[(0,zt.jsxs)("div",{className:l("w-full text-left"),children:[r&&(0,zt.jsx)("h2",{className:"text-3xl md:text-5xl text-primary",children:r}),(0,zt.jsx)("div",{className:"mt-4 text-gray-700 py-12 ",children:a&&(0,zt.jsx)(H,{enableGutter:!1,content:a,enableProse:!1,className:l("prose prose-headings:text-3xl prose-p:text-2xl prose-headings:text-foreground prose-p:text-foreground")})})]}),e&&e.length>0&&(0,zt.jsx)("div",{className:"-mx-4 flex zt-[32rem] flex-wrap justify-between gap-zt-4",children:e.map((o,s)=>(0,zt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":fe([200,400,600],s),className:"w-full zt-full md:px-4 md:w-1/2 lg:w-1/3",children:(0,zt.jsx)(mt,{...i,icon:{type:"none"},title:o.title,image:o.image,content:o.content,link:o.link})},s))})]})}function oe({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:i=!1,className:o,invert:s=!1}){let n=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},o);return(0,zt.jsxs)("div",{className:n,children:[e&&(0,zt.jsx)("span",{className:"mb-[.625rem] block text-semibold uppercase text-accent md:text-md",children:e}),(0,zt.jsx)("h2",{className:l("text-primary text-2xl md:text-4xl"),children:t}),typeof r=="string"?r&&(0,zt.jsx)("p",{className:"mt-5 whitespace-pre-line text-foreground",children:r}):r&&(0,zt.jsx)(H,{content:r,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}function Ro({sectionHeading:e,cards:t}){return(0,zt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,zt.jsxs)(j,{children:[(0,zt.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,zt.jsx)(oe,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,zt.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,zt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":fe([200,400,600],a),className:"py-2",children:(0,zt.jsx)(cr,{...r})},a))})]})})}var Me=E(require("next/image"));function Io(e){let{images:t,sectionHeading:r,keyPoints:a,description:i}=e;return(0,zt.jsx)(zt.Fragment,{children:(0,zt.jsx)("section",{id:"about-section",className:l(" clip-custom-top-l sticky md:top-0 md:zt-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",e.className||""),children:(0,zt.jsx)(j,{children:(0,zt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,zt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,zt.jsx)(oe,{...r}),a&&a.length>0&&(0,zt.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:a.map((o,s)=>(0,zt.jsxs)("div",{className:"group flex min-zt-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-zt-[85px] md:px-[1.875rem] md:py-3",children:[(0,zt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,zt.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},s))}),i&&(0,zt.jsx)("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:i})]}),t&&(0,zt.jsx)("div",{className:"mx-auto text-center",children:(0,zt.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,zt.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,zt.jsx)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,zt.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,zt.jsx)(Me.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),(0,zt.jsx)("div",{className:"flex overflow-hidden",children:(0,zt.jsx)(Me.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,zt.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,zt.jsx)(Me.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,zt.jsx)("div",{className:"overflow-hidden",children:(0,zt.jsx)(Me.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,zt.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-zt-1/2 overflow-hidden",children:(0,zt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,zt.jsx)("span",{className:"grid zt-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,zt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,zt.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}var xr=E(require("next/image"));function br({blogs:e,base:t}){return(0,zt.jsx)("div",{children:e&&e.length>0&&(0,zt.jsx)("div",{className:"grid gap-10 lg:gap-10 md:grid-cols-2",children:e.map((r,a)=>(0,zt.jsx)(To,{post:r,id:a,base:t},a))})})}var To=({post:e,id:t,base:r})=>{var p,u,d,m;let{slug:a,meta:i,authors:o,categories:s,title:n,publishedAt:c}=e;return(0,zt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,zt.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[(0,zt.jsx)(xr.default,{src:((p=i==null?void 0:i.image)==null?void 0:p.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((u=i==null?void 0:i.image)==null?void 0:u.alt)||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,zt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,zt.jsxs)("div",{children:[(0,zt.jsxs)("div",{className:"flex flex-wrap items-center gap-x-4 text-xs",children:[(0,zt.jsx)("time",{dateTime:(d=e.publishedAt)!=null?d:void 0,className:"text-foreground",children:Ve((m=e.publishedAt)!=null?m:"")}),e.categories&&e.categories.map((x,z)=>(0,zt.jsx)("a",{href:`#${x}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:x.title},z))]}),(0,zt.jsx)("div",{className:"group relative max-w-xl",children:(0,zt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,zt.jsxs)("a",{href:`/${r}/${e.slug}`||"#",children:[(0,zt.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,zt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-zt-2 border-gray-200 dark:border-gray-700 pt-6",children:o&&o.map((x,z)=>{var w;return(0,zt.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[x.profilePicture?(0,zt.jsx)("img",{alt:x.name||"Author",src:((w=x.profilePicture)==null?void 0:w.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,zt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,zt.jsx)("div",{className:"text-sm/6",children:(0,zt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,zt.jsx)("span",{className:"absolute inset-0"}),x.name]})})]},z)})})]})]},t)};function Lo({blogs:e,pages:t,categories:r,types:a,base:i}){return(0,zt.jsx)("section",{children:(0,zt.jsx)(j,{children:(0,zt.jsx)("div",{className:"grid",children:(0,zt.jsxs)("div",{children:[a&&(0,zt.jsx)(hr,{types:a}),(0,zt.jsx)(br,{blogs:e,base:i}),(0,zt.jsx)(pr,{pages:t})]})})})})}var kr=E(require("next/image"));var Ye="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function _e({className:e}){return l("flex items-center min-zt-[3.5rem] md:min-zt-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Mo({className:e,...t}){return(0,zt.jsx)("input",{...t,className:_e({className:e})})}function Ke({icon:e,...t}){return(0,zt.jsxs)("div",{className:"relative w-full",children:[(0,zt.jsx)(Mo,{...t}),e&&(0,zt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-zt-1/2 text-accent",children:e})]})}function zo({className:e,...t}){return(0,zt.jsx)("textarea",{...t,className:l(_e({}),"resize-none md:min-zt-[130px]",e)})}function vr({icon:e,...t}){return(0,zt.jsxs)("div",{className:"relative w-full",children:[(0,zt.jsx)(zo,{...t}),e&&(0,zt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var wr=require("formik"),de=E(require("yup"));async function yr(e){let{name:t,email:r,subject:a,message:i}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${i}`,wrap:!0}]}}]};try{let n=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var gt=require("sonner"),V={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Do=de.object().shape({name:de.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),email:de.string().email(V.email).required(V.required),subject:de.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),message:de.string().min(2,V.tooShort).max(300,V.tooLong).required(V.required)}),Qe=l("!pr-[44px]"),We=l("!border-red-600 border"),qe=l("sr-only");function Cr(){return(0,zt.jsx)(wr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Do,onSubmit:async(e,{resetForm:t})=>{let r=await yr(e);r.data===null?gt.toast.error(r.message):(gt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:i,isSubmitting:o,handleSubmit:s})=>(0,zt.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,zt.jsxs)("div",{children:[(0,zt.jsx)(Ke,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:i,disabled:o,icon:(0,zt.jsx)(Oe.FaUser,{className:"text-primary"}),className:l(Qe,e.name&&t.name&&We)}),e.name&&t.name&&(0,zt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:qe,children:e.name})]}),(0,zt.jsxs)("div",{children:[(0,zt.jsx)(Ke,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:i,disabled:o,icon:(0,zt.jsx)(Fo,{}),className:l(Qe,e.email&&t.email&&We)}),e.email&&t.email&&(0,zt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:qe,children:e.email})]}),(0,zt.jsxs)("div",{className:"lg:col-span-2",children:[(0,zt.jsx)(Ke,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:i,disabled:o,className:l(Qe,e.subject&&t.subject&&We)}),e.subject&&t.subject&&(0,zt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:qe,children:e.subject})]}),(0,zt.jsxs)("div",{className:"lg:col-span-2",children:[(0,zt.jsx)(vr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:i,disabled:o,icon:(0,zt.jsx)(Eo,{}),className:l(Qe,e.message&&t.message&&We)}),e.message&&t.message&&(0,zt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:qe,children:e.message})]}),(0,zt.jsx)("div",{className:"lg:col-span-2 light",children:(0,zt.jsx)(G,{type:"submit",className:"w-full outline rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:(0,zt.jsx)("span",{children:"Send"})})})]})})}function Fo(){return(0,zt.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,zt.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 Eo(){return(0,zt.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,zt.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function Ho(e){let{sectionHeading:t,image:r}=e;return(0,zt.jsxs)("div",{className:"relative w-full py-[60px]",children:[(0,zt.jsx)("div",{className:"absolute left-0 top-0 z-1 zt-full w-full overflow-hidden md:w-[56%] md:rounded-r-5",children:(0,zt.jsx)(kr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ye})}),(0,zt.jsx)(j,{children:(0,zt.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,zt.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,zt.jsx)("div",{className:"mb-30px",children:(0,zt.jsx)(oe,{...t,invert:!0})}),(0,zt.jsx)(Cr,{})]})})})]})}function Uo(e){return(0,zt.jsx)("div",{className:"",children:(0,zt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,zt.jsx)("div",{className:"mx-auto max-w-2xl space-zt-16 divide-zt divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,zt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,zt.jsxs)("div",{children:[(0,zt.jsx)("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),(0,zt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),(0,zt.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,r)=>{var a;return(0,zt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,zt.jsx)("h3",{className:"text-base/7 text-primary",children:t.title}),(0,zt.jsxs)("address",{className:"mt-3 space-zt-1 text-sm/6 not-italic text-foreground",children:[(a=t.location.split(","))==null?void 0:a.map((i,o)=>(0,zt.jsx)("p",{children:i},o))," ",t.mails&&(0,zt.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,zt.jsx)(Oe.FaEnvelope,{className:"pr-2 text-primary size-auto"}),(0,zt.jsx)("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&(0,zt.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,zt.jsx)(Oe.FaPhoneFlip,{className:"pr-2 text-primary size-auto"}),t.phoneNumbers[0]]})]})]},r)})})]})})})})}var Pr=E(require("next/image"));var Sr=E(require("next/link"));function jo({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,zt.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,zt.jsx)(be,{children:(0,zt.jsxs)(ve,{children:[e&&e.src&&(0,zt.jsx)(Pr.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Ye,className:"mx-auto mt-6 rounded-full object-cover"}),(0,zt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,zt.jsx)("p",{children:r}),a&&a.length>0&&(0,zt.jsx)("nav",{"aria-label":"social links",children:(0,zt.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((i,o)=>(0,zt.jsx)("li",{children:(0,zt.jsx)(le,{href:i.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-zt-1 hover:text-accents",children:(0,zt.jsx)("span",{children:i.icon})})},o))})})]})})})}function Go({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var m;if(!e)return(0,ye.notFound)();let{meta:i,populatedAuthors:o,authors:s,categories:n,content:c,title:p}=e,u={image:{src:i&&i.image&&i.image.url||void 0,alt:i&&i.image&&i.image.alt||void 0},authorName:((m=o==null?void 0:o[0])==null?void 0:m.name)||"",category:n,commentCount:0,title:p,description:(i==null?void 0:i.description)||""},d=s==null?void 0:s.map(x=>{var z,w;return{name:x.name||"",about:"",image:{src:x.profilePicture&&((w=(z=x.profilePicture.sizes)==null?void 0:z.square)==null?void 0:w.url)||"",alt:x.name||"blog author"},socialLinks:[]}});return(0,zt.jsx)(j,{children:(0,zt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,zt.jsx)("div",{children:(0,zt.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,zt.jsx)("div",{className:"my-4 zt-px bg-body/30 lg:my-5"}),(0,zt.jsx)(H,{content:c,enableGutter:!1})]})}),(0,zt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,zt.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,zt.jsxs)(be,{children:[(0,zt.jsx)(Te,{children:(0,zt.jsx)(Le,{className:"text-accent",children:"Content Actions"})}),(0,zt.jsxs)(ve,{children:[(0,zt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,zt.jsx)(Sr.default,{href:`${a}${e.id}`,children:(0,zt.jsx)(G,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),d&&d.map((x,z)=>(0,zt.jsx)(jo,{...x},z)),t&&t.links&&(0,zt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,zt.jsx)(gr,{links:t.links,title:t.title})})]})]})})}var ft=E(require("next/link"));var Ir=require("lucide-react"),Oo=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:i="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[s,n]=(0,Ot.useState)(!1),c=()=>{n(!s)};return(0,Ot.useEffect)(()=>{let p=window.location.hash;if(p){let u=p.substring(1),d=document.getElementById(u);if(d){let x=d.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:x,behavior:"smooth"})}}},[window.location.hash]),(0,zt.jsxs)("div",{children:[(0,zt.jsx)("div",{className:l(s?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,zt.jsx)($o,{pageId:t,tableOfContents:r,edit:a,path:i,relatedContent:o,isSidebarVisible:s}),(0,zt.jsx)("div",{className:"block md:hidden mt-8",children:(0,zt.jsx)("div",{className:"space-zt-6",children:e})})]})};var $o=({pageId:e,tableOfContents:t=[],edit:r=!0,path:a="/admin/collections/pages/",relatedContent:i=[{title:"Related Content",links:[]}],isSidebarVisible:o})=>{let[s,n]=(0,Ot.useState)(""),[c,p]=(0,Ot.useState)(!1),[u,d]=(0,Ot.useState)(!1),m=(0,ye.usePathname)(),x=()=>{p(!c),d(!1)},z=()=>{d(!u),p(!1)},w=P=>{switch(P){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},I=()=>{let P=m.split("/"),U="/print"+m,F=window.open(U,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");F&&F.focus()},T=()=>{let P=m.split("/"),U="/present"+m;console.log(U);let F=window.open(U,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");F&&F.focus()};return(0,zt.jsx)("div",{className:l("fixed right-2 z-20 top-1/4 space-zt-6 transform transition-transform duration-300 translate-x-full",o?"translate-x-0":"md:translate-x-0"),children:(0,zt.jsxs)("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[(0,zt.jsxs)("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card p-2.5 shadow-lg backdrop-blur-lg min-zt-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,zt.jsxs)(ft.default,{href:`${a}${e}`,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,zt.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,zt.jsxs)("a",{onClick:x,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,zt.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,zt.jsxs)("a",{onClick:z,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,zt.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,zt.jsx)("hr",{className:"dark:border-gray-400"}),(0,zt.jsxs)("a",{onClick:T,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,zt.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,zt.jsxs)("a",{onClick:I,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,zt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,zt.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-zt-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,zt.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,zt.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,zt.jsx)("ul",{className:"flex flex-col space-zt-2",children:t.map((P,U)=>(0,zt.jsx)("li",{className:w(P.tag),children:(0,zt.jsx)("a",{href:`#${P.id}`,className:`text-xs ${s===P.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:P.text})},U))})]})}),u&&i&&i.length>0&&(0,zt.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-zt-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,zt.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,zt.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,zt.jsx)("ul",{className:"flex flex-col space-zt-2",children:i.map((P,U)=>P.links&&P.links.length>0?P.links.map((F,pe)=>(0,zt.jsxs)(ft.default,{href:F.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[F.title,F.url.startsWith("http")&&(0,zt.jsx)(Ir.ExternalLink,{className:"ml-1 zt-3 w-3"})]},pe)):null)})]})})]})})};var Tr=E(require("next/image"));function Vo({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?zt=80&w=2574&auto=format&fit=crop",imageAlt:a="Professional presentation in modern office setting",imagePosition:i="left",overlay:o=!0}){return(0,zt.jsxs)("section",{className:l("relative min-zt-[50vh] w-full overflow-hidden",e),children:[(0,zt.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,zt.jsx)(Tr.default,{src:r||"/placeholder.svg",alt:a,fill:!0,className:"object-cover",priority:!0}),o&&(0,zt.jsx)("div",{className:"absolute inset-0",style:{background:i==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,zt.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",i==="left"?"justify-end":"justify-start"),children:(0,zt.jsx)("div",{className:l("w-full max-w-xl py-12",i==="left"?"ml-auto":"Ot-auto"),children:t})})]})}var ht=E(require("next/image"));function Yo({blogs:e,sectionHeading:t,base:r="insights"}){return console.log(e),(0,zt.jsxs)(j,{children:[(0,zt.jsx)("div",{className:"",children:t&&(0,zt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,zt.jsx)(oe,{...t,alignment:"start",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,zt.jsx)("div",{className:"-mx-4 flex flex-wrap justify-start gap-zt-4",children:e.map((a,i)=>(0,zt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":fe([200,400,600],i),className:"w-full zt-full md:w-1/2 md:px-4 lg:w-1/3",children:(0,zt.jsx)(zr,{...a,base:r})},i))})]})}var Lr=l("inline-flex items-center gap-2 text-white"),un=l("text-sm text-white");function zr({slug:e,meta:t,authors:r,title:a,publishedAt:i,categories:o,base:s}){var n,c,p,u;return(0,zt.jsxs)("article",{className:"group/blog relative z-1 flex zt-full min-zt-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,zt.jsx)("span",{className:"absolute inset-0 z-[2] "}),(0,zt.jsx)(ht.default,{src:((n=t==null?void 0:t.image)==null?void 0:n.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((c=t==null?void 0:t.image)==null?void 0:c.alt)||"Blog image",fill:!0,sizes:`
|
|
5
|
+
"use strict";var Er=Object.create;var Fe=Object.defineProperty;var Hr=Object.getOwnPropertyDescriptor;var Ur=Object.getOwnPropertyNames;var jr=Object.getPrototypeOf,Gr=Object.prototype.hasOwnProperty;var Or=(e,t)=>{for(var r in t)Fe(e,r,{get:t[r],enumerable:!0})},kt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ur(t))!Gr.call(e,i)&&i!==r&&Fe(e,i,{get:()=>t[i],enumerable:!(a=Hr(t,i))||a.enumerable});return e};var E=(e,t,r)=>(r=e!=null?Er(jr(e)):{},kt(t||!e||!e.__esModule?Fe(r,"default",{value:e,enumerable:!0}):r,e)),$r=e=>kt(Fe({},"__esModule",{value:!0}),e);var Qo={};Or(Qo,{AboutSection:()=>Io,BlogCard:()=>zr,BlogDetail:()=>Go,BlogList:()=>Yo,BlogListSection:()=>Lo,ContactSection:()=>Ho,ImageSection:()=>Vo,LocationsSection:()=>Uo,MainPageSection:()=>Oo,PricingSection:()=>Ro,Section:()=>Ko,ServiceDetailSection:()=>_o,ServiceSection:()=>Bo});module.exports=$r(Qo);var Mt=require("clsx");var at="-",Vr=e=>{let t=_r(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let n=s.split(at);return n[0]===""&&n.length!==1&&n.shift(),St(n,t)||Yr(s)},getConflictingClassGroupIds:(s,n)=>{let c=r[s]||[];return n&&a[s]?[...c,...a[s]]:c}}},St=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),i=a?St(e.slice(1),a):void 0;if(i)return i;if(t.validators.length===0)return;let o=e.join(at);return(s=t.validators.find(({validator:n})=>n(o)))==null?void 0:s.classGroupId},Pt=/^\[(.+)\]$/,Yr=e=>{if(Pt.test(e)){let t=Pt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},_r=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Qr(Object.entries(e.classGroups),r).forEach(([o,s])=>{ot(s,a,o,t)}),a},ot=(e,t,r,a)=>{e.forEach(i=>{if(typeof i=="string"){let o=i===""?t:At(t,i);o.classGroupId=r;return}if(typeof i=="function"){if(Kr(i)){ot(i(a),t,r,a);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([o,s])=>{ot(s,At(t,o),r,a)})})},At=(e,t)=>{let r=e;return t.split(at).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Kr=e=>e.isThemeGetter,Qr=(e,t)=>t?e.map(([r,a])=>{let i=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,n])=>[t+s,n])):o);return[r,i]}):e,Wr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,i=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return i(o,s),s},set(o,s){r.has(o)?r.set(o,s):i(o,s)}}},Bt="!",qr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,i=t[0],o=t.length,s=n=>{let c=[],p=0,u=0,d;for(let I=0;I<n.length;I++){let T=n[I];if(p===0){if(T===i&&(a||n.slice(I,I+o)===t)){c.push(n.slice(u,I)),u=I+o;continue}if(T==="/"){d=I;continue}}T==="["?p++:T==="]"&&p--}let m=c.length===0?n:n.substring(u),x=m.startsWith(Bt),z=x?m.substring(1):m,w=d&&d>u?d-u:void 0;return{modifiers:c,hasImportantModifier:x,baseClassName:z,maybePostfixModifierPosition:w}};return r?n=>r({className:n,parseClassName:s}):s},Jr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Xr=e=>({cache:Wr(e.cacheSize),parseClassName:qr(e),...Vr(e)}),Zr=/\s+/,eo=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:i}=t,o=[],s=e.trim().split(Zr),n="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:u,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:x}=r(p),z=!!x,w=a(z?m.substring(0,x):m);if(!w){if(!z){n=p+(n.length>0?" "+n:n);continue}if(w=a(m),!w){n=p+(n.length>0?" "+n:n);continue}z=!1}let I=Jr(u).join(":"),T=d?I+Bt:I,P=T+w;if(o.includes(P))continue;o.push(P);let U=i(w,z);for(let F=0;F<U.length;++F){let pe=U[F];o.push(T+pe)}n=p+(n.length>0?" "+n:n)}return n};function to(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Rt(t))&&(a&&(a+=" "),a+=r);return a}var Rt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=Rt(e[a]))&&(r&&(r+=" "),r+=t);return r};function ro(e,...t){let r,a,i,o=s;function s(c){let p=t.reduce((u,d)=>d(u),e());return r=Xr(p),a=r.cache.get,i=r.cache.set,o=n,n(c)}function n(c){let p=a(c);if(p)return p;let u=eo(c,r);return i(c,u),u}return function(){return o(to.apply(null,arguments))}}var B=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},It=/^\[(?:([a-z-]+):)?(.+)\]$/i,oo=/^\d+\/\d+$/,ao=new Set(["px","full","screen"]),so=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,io=/\d+(%|px|r?em|[sdl]?zt([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|zt|i|zt|min|max))|\zt(calc|min|max|clamp)\(.+\)|^0$/,no=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,lo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)zt-?((\d+)?\.?(\d+)[a-z]+|0)/,co=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Q=e=>ue(e)||ao.has(e)||oo.test(e),Z=e=>ge(e,"length",bo),ue=e=>!!e&&!Number.isNaN(Number(e)),rt=e=>ge(e,"number",ue),Ae=e=>!!e&&Number.isInteger(Number(e)),mo=e=>e.endsWith("%")&&ue(e.slice(0,-1)),f=e=>It.test(e),ee=e=>so.test(e),po=new Set(["length","size","percentage"]),uo=e=>ge(e,po,Tt),go=e=>ge(e,"position",Tt),fo=new Set(["image","url"]),ho=e=>ge(e,fo,yo),xo=e=>ge(e,"",vo),Se=()=>!0,ge=(e,t,r)=>{let a=It.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},bo=e=>io.test(e)&&!no.test(e),Tt=()=>!1,vo=e=>lo.test(e),yo=e=>co.test(e);var wo=()=>{let e=B("colors"),t=B("spacing"),r=B("blur"),a=B("brightness"),i=B("borderColor"),o=B("borderRadius"),s=B("borderSpacing"),n=B("borderWidth"),c=B("contrast"),p=B("grayscale"),u=B("hueRotate"),d=B("invert"),m=B("gap"),x=B("gradientColorStops"),z=B("gradientColorStopPositions"),w=B("inset"),I=B("margin"),T=B("opacity"),P=B("padding"),U=B("saturate"),F=B("scale"),pe=B("sepia"),xt=B("skew"),bt=B("space"),vt=B("translate"),Xe=()=>["auto","contain","none"],Ze=()=>["auto","hidden","clip","visible","scroll"],et=()=>["auto",f,t],L=()=>[f,t],yt=()=>["",Q,Z],ze=()=>["auto",ue,f],wt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],De=()=>["solid","dashed","dotted","double","none"],Nt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],tt=()=>["start","end","center","between","around","evenly","stretch"],Pe=()=>["","0",f],Ct=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[ue,f];return{cacheSize:500,separator:":",theme:{colors:[Se],spacing:[Q,Z],blur:["none","",ee,f],brightness:K(),borderColor:[e],borderRadius:["none","","full",ee,f],borderSpacing:L(),borderWidth:yt(),contrast:K(),grayscale:Pe(),hueRotate:K(),invert:Pe(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[mo,Z],inset:et(),margin:et(),opacity:K(),padding:L(),saturate:K(),scale:K(),sepia:Pe(),skew:K(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",f]}],container:["container"],columns:[{columns:[ee]}],"break-after":[{"break-after":Ct()}],"break-before":[{"break-before":Ct()}],"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:[...wt(),f]}],overflow:[{overflow:Ze()}],"overflow-x":[{"overflow-x":Ze()}],"overflow-zt":[{"overflow-zt":Ze()}],overscroll:[{overscroll:Xe()}],"overscroll-x":[{"overscroll-x":Xe()}],"overscroll-zt":[{"overscroll-zt":Xe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[w]}],"inset-x":[{"inset-x":[w]}],"inset-zt":[{"inset-zt":[w]}],start:[{start:[w]}],end:[{end:[w]}],top:[{top:[w]}],right:[{right:[w]}],bottom:[{bottom:[w]}],left:[{left:[w]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ae,f]}],basis:[{basis:et()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",f]}],grow:[{grow:Pe()}],shrink:[{shrink:Pe()}],order:[{order:["first","last","none",Ae,f]}],"grid-cols":[{"grid-cols":[Se]}],"col-start-end":[{col:["auto",{span:["full",Ae,f]},f]}],"col-start":[{"col-start":ze()}],"col-end":[{"col-end":ze()}],"grid-rows":[{"grid-rows":[Se]}],"row-start-end":[{row:["auto",{span:[Ae,f]},f]}],"row-start":[{"row-start":ze()}],"row-end":[{"row-end":ze()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","Ot",f]}],"auto-rows":[{"auto-rows":["auto","min","max","Ot",f]}],gap:[{gap:[m]}],"gap-x":[{"gap-x":[m]}],"gap-zt":[{"gap-zt":[m]}],"justify-content":[{justify:["normal",...tt()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...tt(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...tt(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[I]}],mx:[{mx:[I]}],my:[{my:[I]}],ms:[{ms:[I]}],Ot:[{Ot:[I]}],mt:[{mt:[I]}],Ot:[{Ot:[I]}],mb:[{mb:[I]}],ml:[{ml:[I]}],"space-x":[{"space-x":[bt]}],"space-x-reverse":["space-x-reverse"],"space-zt":[{"space-zt":[bt]}],"space-zt-reverse":["space-zt-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",f,t]}],"min-w":[{"min-w":[f,t,"min","max","fit"]}],"max-w":[{"max-w":[f,t,"none","full","min","max","fit","prose",{screen:[ee]},ee]}],zt:[{zt:[f,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-zt":[{"min-zt":[f,t,"min","max","fit","svh","lvh","dvh"]}],"max-zt":[{"max-zt":[f,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[f,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ee,Z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",rt]}],"font-family":[{font:[Se]}],"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",f]}],"line-clamp":[{"line-clamp":["none",ue,rt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Q,f]}],"list-image":[{"list-image":["none",f]}],"list-style-type":[{list:["none","disc","decimal",f]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...De(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Q,Z]}],"underline-offset":[{"underline-offset":["auto",Q,f]}],"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:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",f]}],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",f]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...wt(),go]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","zt","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",uo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","zt","bl","l","tl"]},ho]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[z]}],"gradient-via-pos":[{via:[z]}],"gradient-to-pos":[{to:[z]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-zt":[{"rounded-zt":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-zt":[{"rounded-zt":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-zt":[{"border-zt":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-zt":[{"border-zt":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...De(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-zt":[{"divide-zt":[n]}],"divide-zt-reverse":["divide-zt-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:De()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-zt":[{"border-zt":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-zt":[{"border-zt":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...De()]}],"outline-offset":[{"outline-offset":[Q,f]}],"outline-w":[{outline:[Q,Z]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:yt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[Q,Z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ee,xo]}],"shadow-color":[{shadow:[Se]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...Nt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Nt()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",ee,f]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[U]}],sepia:[{sepia:[pe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"backdrop-sepia":[{"backdrop-sepia":[pe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-zt":[{"border-spacing-zt":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",f]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",f]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",f]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-zt":[{"scale-zt":[F]}],rotate:[{rotate:[Ae,f]}],"translate-x":[{"translate-x":[vt]}],"translate-zt":[{"translate-zt":[vt]}],"skew-x":[{"skew-x":[xt]}],"skew-zt":[{"skew-zt":[xt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",f]}],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","w-resize","zt-resize","nw-resize","zt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",f]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","zt","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-Ot":[{"scroll-Ot":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-Ot":[{"scroll-Ot":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","zt","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-zt":[{"touch-pan":["zt","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",f]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Q,Z,rt]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-zt"],overscroll:["overscroll-x","overscroll-zt"],inset:["inset-x","inset-zt","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-zt":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-zt"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","Ot","mt","Ot","mb","ml"],mx:["Ot","ml"],my:["mt","mb"],size:["w","zt"],"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-zt","rounded-l","rounded-ss","rounded-zt","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-zt","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-zt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-zt"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-zt","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-zt":["border-w-t","border-w-zt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-zt","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-zt":["border-color-t","border-color-zt"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-Ot","scroll-mt","scroll-Ot","scroll-mb","scroll-ml"],"scroll-mx":["scroll-Ot","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-zt","touch-pz"],"touch-x":["touch"],"touch-zt":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Lt=ro(wo);function l(...e){return Lt((0,Mt.clsx)(e))}var zt=require("react/jsx-runtime");function j({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let i=l("container",t&&"full-width",r&&"no-padding",a);return(0,zt.jsx)("div",{className:i,children:e})}var fe=(e,t)=>e[t%e.length];var Dt=require("@radix-ui/react-slot"),Ft=require("class-variance-authority"),Et=E(require("react")),No=(0,Ft.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:"zt-10 px-4 py-2",icon:"zt-10 w-10",lg:"zt-11 rounded px-8",sm:"zt-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"}}}),G=Et.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...i},o)=>(0,zt.jsx)(e?Dt.Slot:"button",{className:l(No({className:t,size:r,variant:a})),ref:o,...i}));G.displayName="Button";var Ut=({className:e,content:t,style:r})=>(0,zt.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,zt.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,zt.jsx)(H,{content:t,enableGutter:!1,enableProse:!1})})});var st=E(require("next/link")),Re=e=>{let{type:t,appearance:r="inline",children:a,className:i,label:o,newTab:s,reference:n,size:c,url:p}=e,u=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:p;if(!u)return null;let d=r==="link"?"clear":c,m=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,zt.jsxs)(st.default,{className:l(i),href:u||p||"",...m,children:[o&&o,a&&a]}):(0,zt.jsx)(G,{asChild:!0,className:i,size:d,variant:r,children:(0,zt.jsxs)(st.default,{className:l(i),href:u||p||"",...m,children:[o&&o,a&&a]})})};var jt=({links:e,richText:t})=>(0,zt.jsx)("div",{className:"container",children:(0,zt.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,zt.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,zt.jsx)(H,{className:"mb-0",content:t,enableGutter:!1})}),(0,zt.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,zt.jsx)(Re,{size:"lg",...r},a))})]})});var He=require("prism-react-renderer");var Gt=require("lucide-react"),Ot=require("react");function $t({code:e}){let[t,r]=(0,Ot.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,zt.jsx)("div",{className:"flex justify-end align-middle",children:(0,zt.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,zt.jsx)("p",{children:t}),(0,zt.jsx)("div",{className:"w-6 zt-6 dark:invert",children:(0,zt.jsx)(Gt.ClipboardCopy,{})})]})})}var Vt=({code:e,language:t=""})=>e?(0,zt.jsx)(He.Highlight,{code:e,language:t,theme:He.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:i})=>(0,zt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[i.map((o,s)=>(0,zt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,zt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,zt.jsx)("span",{className:"table-cell pl-4",children:o.map((n,c)=>(0,zt.jsx)("span",{...a({token:n})},c))})]},s)),(0,zt.jsx)($t,{code:e})]})}):null;var Yt=({className:e,code:t,language:r})=>(0,zt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,zt.jsx)(Vt,{code:t,language:r})});var Kt=E(require("next/image")),Co={"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=",Qt=e=>{let{alt:t,fill:r,imgClassName:a,priority:i,resource:o,size:s,src:n,loading:c}=e,p,u,d=t,m=n||"";if(!m&&o&&typeof o=="object"){let{alt:w,filename:I,height:T,url:P,width:U}=o;if(T&&T>500){let F=500/T;p=U*F,u=T*F}else p=U,u=T;d=w||"",m=P||_t}let x=c||"lazy",z=s||Object.entries(Co).map(([,w])=>`(max-width: ${w}px) ${w*2}w`).join(", ");return(0,zt.jsx)("picture",{children:(0,zt.jsx)(Kt.default,{alt:d||"",className:l(a),fill:r,height:r?void 0:u,placeholder:"blur",blurDataURL:_t,priority:x!=="lazy"&&i,quality:100,loading:x,sizes:z,src:m,width:r?void 0:p})})};var Wt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var qt=()=>{if(Wt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Jt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,i=(0,Ot.useRef)(null);if((0,Ot.useEffect)(()=>{let{current:o}=i;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,zt.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:i,children:(0,zt.jsx)("source",{src:`${qt()}/media/${o}`})})}return null};var he=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,i=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,zt.jsx)(r||Ot.Fragment,{...r!==null?{className:t}:{},children:i?(0,zt.jsx)(Jt,{...e}):(0,zt.jsx)(Qt,{...e})})};var Zt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:i,staticImage:o}=e;return(0,zt.jsx)("div",{className:l("zt-full ",{container:r},t),children:(0,zt.jsx)(he,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:i,src:o})})};var er=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:i,staticImage:o}=e;return(0,zt.jsx)("div",{className:l("",{container:r},t),children:(0,zt.jsx)(he,{imgClassName:l("rounded-[0.8rem]",a),resource:i,src:o})})};var tr=({title:e,description:t,features:r,id:a,nested:i=!1})=>(0,zt.jsxs)("section",{className:l(!i&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,zt.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,zt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,zt.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,zt.jsx)(H,{content:t,enableGutter:!1})}),(0,zt.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,s)=>{var c,p,u,d,m;let n=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,zt.jsx)(rr,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:n()||void 0,iconSize:((u=o.settings)==null?void 0:u.iconSize)||"large",width:"auto",order:s,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(d=o.link)!=null&&d.url?"Find out more":void 0,buttonHref:((m=o.link)==null?void 0:m.url)||void 0},s)})})]});var Ge=E(require("react"));function Ie({nodes:e}){return(0,zt.jsx)(Ge.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,zt.jsx)(Ge.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,zt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,zt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,zt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,zt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,zt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,zt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,zt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,zt.jsx)("table",{children:(0,zt.jsx)("tbody",{children:t.children.map((o,s)=>(0,zt.jsx)("tr",{children:o.children.map((n,c)=>(0,zt.jsx)("td",{children:Ie({nodes:n.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return Ie({nodes:o.children})},i="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,zt.jsx)(jt,{...o},r);case"mediaBlock":return(0,zt.jsx)(Zt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,zt.jsx)(er,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,zt.jsx)(Ut,{className:"col-start-2 mb-4",...o},r);case"code":return(0,zt.jsx)(Yt,{className:"col-start-2",...o},r);case"features":return(0,zt.jsx)(tr,{...o,nested:!0},r);case"reusableContentBlock":Ie({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,zt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,zt.jsx)("p",{className:"col-start-2",children:i},r);case"heading":{let o=t==null?void 0:t.tag;return(0,zt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:i},r)}case"list":{let o=t==null?void 0:t.tag;return(0,zt.jsx)(o,{className:"list col-start-2",children:i},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,zt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:i},r):(0,zt.jsx)("li",{value:t==null?void 0:t.value,children:i},r);case"quote":return(0,zt.jsx)("blockquote",{className:"col-start-2",children:i},r);case"link":{let o=t.fields;return(0,zt.jsx)(Re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:i},r)}case"autolink":{let o=t.fields;return(0,zt.jsx)(Re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:i},r)}default:return null}})})}var H=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var i;return t?(0,zt.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Ie({nodes:(i=t==null?void 0:t.root)==null?void 0:i.children})}):null};var xe=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let i=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a!=null?a:"",n=i+o+" fa-"+r+" "+s;return(0,zt.jsx)("i",{className:n})};var ir=E(require("next/image"));function sr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function mt({image:e,icon:t,title:r,subtitle:a,content:i,statistic:o,settings:s,link:n,className:c}){var d,m;let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},u={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,zt.jsxs)("div",{className:l("min-w-56 max-w-xl zt-full flex flex-col group",e?"p-0 md:p-0":"p-8 md:p-8",s&&!e&&p[(s==null?void 0:s.card)==="default"?"solid":s==null?void 0:s.card],e&&"bg-foreground",s&&(s==null?void 0:s.card)==="outline"?"text-gray-900":"text-white",u[(d=s==null?void 0:s.width)!=null?d:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,zt.jsx)("div",{className:"relative zt-64 w-full mb-0",children:(0,zt.jsx)(ir.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,zt.jsxs)("div",{className:l(e?"p-4 pb-8 md:px-12":"p-0 md:p-0","flex flex-col flex-grow"),children:[a&&(0,zt.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:a}),(0,zt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,zt.jsx)(ko,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(s==null?void 0:s.card)==="default"?"solid":(m=s==null?void 0:s.card)!=null?m:"solid",iconSize:(s==null?void 0:s.iconSize)||"large"})}),o&&(0,zt.jsx)("div",{className:"mb-6",children:(0,zt.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"text-brand-green":"text-white"),children:o})}),i&&typeof i=="object"&&(0,zt.jsx)(H,{enableGutter:!1,content:i,enableProse:!1,className:l("space-zt-6",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),i&&typeof i=="string"&&(0,zt.jsx)("div",{className:l("space-zt-6",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:i}),n&&n.url&&(0,zt.jsx)("div",{className:"pt-6 zt-full flex items-end justify-start",children:(0,zt.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:n.url||"#",children:(n==null?void 0:n.label)||"Find out more"})}),(s==null?void 0:s.card)==="radial"&&(0,zt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 zt-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var ko=({icon:e,heading:t,variant:r,iconSize:a,subtitle:i})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,zt.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,zt.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),sr(e)&&(0,zt.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,zt.jsx)(xe,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,zt.jsxs)("div",{className:"flex flex-col gap-4",children:[sr(e)&&(0,zt.jsx)("div",{className:l("zt-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,zt.jsx)(xe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,zt.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,zt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,zt.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var ie=E(require("react"));var be=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));be.displayName="Card";var Te=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("flex flex-col space-zt-1.5 p-6",e),...t}));Te.displayName="CardHeader";var Le=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));Le.displayName="CardTitle";var Po=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Po.displayName="CardDescription";var ve=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));ve.displayName="CardContent";var Ao=ie.forwardRef(({className:e,...t},r)=>(0,zt.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));Ao.displayName="CardFooter";var nr=E(require("next/link"));function le({children:e,href:t,openNewTab:r,...a}){return(0,zt.jsx)(nr.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Oe=require("react-icons/fa6");function cr({title:e,description:t,features:r,price:a,duration:i,button:o}){return(0,zt.jsxs)("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[(0,zt.jsxs)("div",{className:"zt-full border-card p-6 dark:border-opacity-20 max-lg:border-zt max-lg:pt-14 lg:border-r lg:p-10",children:[(0,zt.jsx)("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),(0,zt.jsx)("p",{children:t})]}),(0,zt.jsx)("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:(0,zt.jsxs)("div",{className:"flex flex-col justify-stretch gap-x-14 gap-zt-5 md:flex-row md:items-center",children:[r&&r.length>0&&(0,zt.jsx)("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:r.map((s,n)=>(0,zt.jsxs)("li",{className:"flex items-start gap-3 lg:gap-4",children:[(0,zt.jsx)("span",{className:"text-accent pt-1",children:(0,zt.jsx)(Oe.FaCircleCheck,{})}),(0,zt.jsx)("span",{children:s})]},n))}),(0,zt.jsxs)("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[a&&a,(0,zt.jsx)("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:i&&i})]}),o&&(0,zt.jsx)("div",{className:"flex-none Ot-0 sm:ml-auto",children:(0,zt.jsx)(G,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:(0,zt.jsxs)(le,{href:o.href,openNewTab:o.openNewTab,children:[(0,zt.jsx)("span",{className:"relative z-1",children:o.label}),(0,zt.jsx)("span",{className:"relative z-1 pl-2",children:(0,zt.jsx)(Oe.FaAnglesRight,{})})]})})})]})})]})}function dr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function rr({variant:e="outline",className:t,icon:r,iconSize:a="large",width:i="auto",order:o=0,heading:s,subheading:n,content:c,statistic:p,buttonText:u,buttonHref:d}){let m={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},x={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,zt.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",m[e],e==="outline"?"text-gray-900":"text-white",t,x[i],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,zt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,zt.jsx)(So,{icon:r,heading:s,variant:e,iconSize:a})}),p&&(0,zt.jsx)("div",{className:"mb-6",children:(0,zt.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),n&&(0,zt.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:n}),c&&typeof c=="object"&&(0,zt.jsx)("div",{className:l("space-zt-6"),children:(0,zt.jsx)(H,{enableGutter:!1,content:c,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,zt.jsx)("div",{className:l("space-zt-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),u&&(0,zt.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,zt.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,zt.jsx)("a",{href:d,children:u})})}),e==="radial"&&(0,zt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 zt-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})}var So=({icon:e,heading:t,variant:r,iconSize:a})=>e&&a==="small"?(0,zt.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[dr(e)&&(0,zt.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,zt.jsx)(xe,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,zt.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,zt.jsxs)("div",{className:"flex flex-col gap-4",children:[dr(e)&&(0,zt.jsx)("div",{className:l("zt-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,zt.jsx)(xe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,zt.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,zt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,zt.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var ye=require("next/navigation"),pt=l("grid zt-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function pr({pages:e}){let t=(0,ye.useSearchParams)(),r=(0,ye.usePathname)(),{replace:a}=(0,ye.useRouter)(),{totalPages:i,page:o}=e,[s,n]=(0,Ot.useState)({start:o>3?o-3:1,end:o+2}),c=d=>{d==="left"&&s.start>1?n(m=>({start:m.start-1,end:m.end-1})):d==="right"&&s.end<i&&n(m=>({start:m.start+1,end:m.end+1}))};function p(d){let m=new URLSearchParams(t);d?m.set("page",d):m.delete("page"),a(`${r}?${m.toString()}`)}if(i<=1)return null;let u=[];for(let d=s.start;d<=s.end;d++)u.push(d);return(0,$.jsx)("div",{className:"mt-12",children:(0,$.jsxs)("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[s.start>1&&(0,$.jsx)("li",{children:(0,$.jsx)("button",{className:l(pt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>c("left"),children:(0,$.jsx)($e.FaArrowLeft,{})})}),u.map((d,m)=>(0,$.jsx)("li",{children:(0,$.jsx)("a",{className:l(pt,d===o?"border-accent bg-accent text-accent-foreground":"border-accent"),href:"#","aria-label":`pagination button ${d}`,role:"button",onClick:x=>{x.preventDefault(),p(d.toString())},children:d})},m)),s.end<i&&(0,$.jsx)("li",{children:(0,$.jsx)("button",{className:l(pt,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>c("right"),children:(0,$.jsx)($e.FaArrowRight,{})})})]})})}var Us=l("transition-colors duration-400 hover:text-primary ease-in-out");function gr({title:e,links:t}){let r=(0,ye.useSearchParams)(),a=(0,ye.usePathname)(),{replace:i}=(0,ye.useRouter)();function o(s){let n=new URLSearchParams(r);s?n.set("category",s):n.delete("category"),i(`${a}?${n.toString()}`)}return(0,zt.jsxs)(be,{children:[(0,zt.jsx)(Te,{children:(0,zt.jsx)(Le,{className:"text-accent",children:e&&e})}),(0,zt.jsx)(ve,{children:t&&t.length>0&&(0,zt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,zt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((s,n)=>(0,zt.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(s.href)},children:[s.label,(0,zt.jsx)(Gt.ExternalLink,{className:"ml-1 zt-3 w-3"})]},n))})})})]})}function hr({types:e}){let[t,r]=(0,Ot.useState)(e&&e[0].href),a=(0,ye.useSearchParams)(),i=(0,ye.usePathname)(),{replace:o}=(0,ye.useRouter)();function s(n){let c=new URLSearchParams(a);n?c.set("type",n):c.delete("type"),r(n),o(`${i}?${c.toString()}`)}return(0,zt.jsx)("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((n,c)=>(0,zt.jsx)(G,{variant:n.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap text-foreground border border-accent hover:bg-accent hover:text-accent-foreground",n.href===t&&"bg-accent text-accent-foreground"),onClick:()=>s(n.href),children:n.label},c))})}var re=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,zt.jsx)("div",{className:"w-full zt-[1240px] z-20",children:(0,zt.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:l(t,"absolute -bottom-[2px] flex"),transform:r[0],children:[(0,zt.jsx)("defs",{children:(0,zt.jsxs)("mask",{id:"mask",children:[(0,zt.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,zt.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0","stroke-width":"2"})]})}),(0,zt.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,zt.jsx)("rect",{zt:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,zt.jsx)("div",{className:"w-full zt-[70px] md:zt-[332px] z-20 ",children:(0,zt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"absolute "),style:{fontSize:0,float:"left"},transform:r[1],children:[(0,zt.jsx)("defs",{children:(0,zt.jsxs)("mask",{id:"mask",children:[(0,zt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,zt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,zt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-top")return(0,zt.jsx)("div",{className:"w-full zt-[70px] md:zt-[332px] z-20 content-end block overflow-hidden",children:(0,zt.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,zt.jsx)("defs",{children:(0,zt.jsxs)("mask",{id:"mask",children:[(0,zt.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,zt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,zt.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,zt.jsx)("div",{className:"w-full min-zt-[70px] md:min-zt-[350px] z-20 content-start block overflow-hidden bg-white",children:(0,zt.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:l(t,"w-full block overflow-hidden"),transform:r[1],children:(0,zt.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,zt.jsx)("div",{className:"w-full min-zt-[70px] md:min-zt-[350px] z-20 content-end block overflow-hidden",children:(0,zt.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:l(t,"w-full block overflow-hidden"),transform:r[3],children:(0,zt.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,zt.jsx)("div",{className:"w-full min-zt-[70px] md:min-zt-[350px] z-20 content-end block overflow-hidden",children:(0,zt.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:l(t,"w-full block overflow-hidden"),transform:e==="bottom-left"?r[3]:r[2],children:(0,zt.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var Ve=e=>{let t=e?new Date(e):new Date,r=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),a=t.getDate(),i=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${r} ${a}${(s=>{if(s>3&&s<21)return"th";switch(s%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(a)} ${i}`};function Bo({services:e,className:t,title:r,content:a}){let i={settings:{width:"full",card:"light"}};return(0,zt.jsxs)(j,{className:"py-8",children:[(0,zt.jsxs)("div",{className:l("w-full text-left"),children:[r&&(0,zt.jsx)("h2",{className:"text-3xl md:text-5xl text-primary",children:r}),(0,zt.jsx)("div",{className:"mt-4 text-gray-700 py-12 ",children:a&&(0,zt.jsx)(H,{enableGutter:!1,content:a,enableProse:!1,className:l("prose prose-headings:text-3xl prose-p:text-2xl prose-headings:text-foreground prose-p:text-foreground")})})]}),e&&e.length>0&&(0,zt.jsx)("div",{className:"-mx-4 flex zt-[32rem] flex-wrap justify-between gap-zt-4",children:e.map((o,s)=>(0,zt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":fe([200,400,600],s),className:"w-full zt-full md:px-4 md:w-1/2 lg:w-1/3",children:(0,zt.jsx)(mt,{...i,icon:{type:"none"},title:o.title,image:o.image,content:o.content,link:o.link})},s))})]})}function oe({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:i=!1,className:o,invert:s=!1}){let n=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},o);return(0,zt.jsxs)("div",{className:n,children:[e&&(0,zt.jsx)("span",{className:"mb-[.625rem] block text-semibold uppercase text-accent md:text-md",children:e}),(0,zt.jsx)("h2",{className:l("text-primary text-2xl md:text-4xl"),children:t}),typeof r=="string"?r&&(0,zt.jsx)("p",{className:"mt-5 whitespace-pre-line text-foreground",children:r}):r&&(0,zt.jsx)(H,{content:r,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}function Ro({sectionHeading:e,cards:t}){return(0,zt.jsx)("section",{className:"section-padding-primary !pt-0",children:(0,zt.jsxs)(j,{children:[(0,zt.jsx)("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:(0,zt.jsx)(oe,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&(0,zt.jsx)("div",{className:"grid gap-30px",children:t.map((r,a)=>(0,zt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":fe([200,400,600],a),className:"py-2",children:(0,zt.jsx)(cr,{...r})},a))})]})})}var Me=E(require("next/image"));function Io(e){let{images:t,sectionHeading:r,keyPoints:a,description:i}=e;return(0,zt.jsx)(zt.Fragment,{children:(0,zt.jsx)("section",{id:"about-section",className:l(" clip-custom-top-l sticky md:top-0 md:zt-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",e.className||""),children:(0,zt.jsx)(j,{children:(0,zt.jsxs)("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[(0,zt.jsxs)("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[(0,zt.jsx)(oe,{...r}),a&&a.length>0&&(0,zt.jsx)("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:a.map((o,s)=>(0,zt.jsxs)("div",{className:"group flex min-zt-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-zt-[85px] md:px-[1.875rem] md:py-3",children:[(0,zt.jsx)("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:o.icon}),(0,zt.jsx)("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:o.title})]},s))}),i&&(0,zt.jsx)("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:i})]}),t&&(0,zt.jsx)("div",{className:"mx-auto text-center",children:(0,zt.jsxs)("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[(0,zt.jsx)("div",{className:"relative flex justify-end overflow-hidden",children:(0,zt.jsx)("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:(0,zt.jsx)("div",{className:"relative z-[4] overflow-hidden",children:(0,zt.jsx)(Me.default,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),(0,zt.jsx)("div",{className:"flex overflow-hidden",children:(0,zt.jsx)(Me.default,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),(0,zt.jsx)("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:(0,zt.jsx)(Me.default,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),(0,zt.jsx)("div",{className:"overflow-hidden",children:(0,zt.jsx)(Me.default,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),(0,zt.jsx)("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-zt-1/2 overflow-hidden",children:(0,zt.jsx)("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:(0,zt.jsx)("span",{className:"grid zt-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:(0,zt.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,zt.jsx)("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})})}var xr=E(require("next/image"));function br({blogs:e,base:t}){return(0,zt.jsx)("div",{children:e&&e.length>0&&(0,zt.jsx)("div",{className:"grid gap-10 lg:gap-10 md:grid-cols-2",children:e.map((r,a)=>(0,zt.jsx)(To,{post:r,id:a,base:t},a))})})}var To=({post:e,id:t,base:r})=>{var p,u,d,m;let{slug:a,meta:i,authors:o,categories:s,title:n,publishedAt:c}=e;return(0,zt.jsxs)("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[(0,zt.jsxs)("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[(0,zt.jsx)(xr.default,{src:((p=i==null?void 0:i.image)==null?void 0:p.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((u=i==null?void 0:i.image)==null?void 0:u.alt)||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),(0,zt.jsx)("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),(0,zt.jsxs)("div",{children:[(0,zt.jsxs)("div",{className:"flex flex-wrap items-center gap-x-4 text-xs",children:[(0,zt.jsx)("time",{dateTime:(d=e.publishedAt)!=null?d:void 0,className:"text-foreground",children:Ve((m=e.publishedAt)!=null?m:"")}),e.categories&&e.categories.map((x,z)=>(0,zt.jsx)("a",{href:`#${x}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:x.title},z))]}),(0,zt.jsx)("div",{className:"group relative max-w-xl",children:(0,zt.jsx)("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:(0,zt.jsxs)("a",{href:`/${r}/${e.slug}`||"#",children:[(0,zt.jsx)("span",{className:"absolute inset-0"}),e.title]})})}),(0,zt.jsx)("div",{className:"mt-6 flex flex-wrap lg:border-t gap-zt-2 border-gray-200 dark:border-gray-700 pt-6",children:o&&o.map((x,z)=>{var w;return(0,zt.jsxs)("div",{className:"relative flex items-center gap-x-4",children:[x.profilePicture?(0,zt.jsx)("img",{alt:x.name||"Author",src:((w=x.profilePicture)==null?void 0:w.url)||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):(0,zt.jsx)("div",{className:"size-10 rounded-full bg-gray-50"})," ",(0,zt.jsx)("div",{className:"text-sm/6",children:(0,zt.jsxs)("p",{className:"text-foreground pr-6",children:[(0,zt.jsx)("span",{className:"absolute inset-0"}),x.name]})})]},z)})})]})]},t)};function Lo({blogs:e,pages:t,categories:r,types:a,base:i}){return(0,zt.jsx)("section",{children:(0,zt.jsx)(j,{children:(0,zt.jsx)("div",{className:"grid",children:(0,zt.jsxs)("div",{children:[a&&(0,zt.jsx)(hr,{types:a}),(0,zt.jsx)(br,{blogs:e,base:i}),(0,zt.jsx)(pr,{pages:t})]})})})})}var kr=E(require("next/image"));var Ye="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";function _e({className:e}){return l("flex items-center min-zt-[3.5rem] md:min-zt-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Mo({className:e,...t}){return(0,zt.jsx)("input",{...t,className:_e({className:e})})}function Ke({icon:e,...t}){return(0,zt.jsxs)("div",{className:"relative w-full",children:[(0,zt.jsx)(Mo,{...t}),e&&(0,zt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-zt-1/2 text-accent",children:e})]})}function zo({className:e,...t}){return(0,zt.jsx)("textarea",{...t,className:l(_e({}),"resize-none md:min-zt-[130px]",e)})}function vr({icon:e,...t}){return(0,zt.jsxs)("div",{className:"relative w-full",children:[(0,zt.jsx)(zo,{...t}),e&&(0,zt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var wr=require("formik"),de=E(require("yup"));async function yr(e){let{name:t,email:r,subject:a,message:i}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${i}`,wrap:!0}]}}]};try{let n=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var gt=require("sonner"),V={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Do=de.object().shape({name:de.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),email:de.string().email(V.email).required(V.required),subject:de.string().min(2,V.tooShort).max(50,V.tooLong).required(V.required),message:de.string().min(2,V.tooShort).max(300,V.tooLong).required(V.required)}),Qe=l("!pr-[44px]"),We=l("!border-red-600 border"),qe=l("sr-only");function Cr(){return(0,zt.jsx)(wr.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Do,onSubmit:async(e,{resetForm:t})=>{let r=await yr(e);r.data===null?gt.toast.error(r.message):(gt.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:i,isSubmitting:o,handleSubmit:s})=>(0,zt.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,zt.jsxs)("div",{children:[(0,zt.jsx)(Ke,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:i,disabled:o,icon:(0,zt.jsx)(Oe.FaUser,{className:"text-primary"}),className:l(Qe,e.name&&t.name&&We)}),e.name&&t.name&&(0,zt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:qe,children:e.name})]}),(0,zt.jsxs)("div",{children:[(0,zt.jsx)(Ke,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:i,disabled:o,icon:(0,zt.jsx)(Fo,{}),className:l(Qe,e.email&&t.email&&We)}),e.email&&t.email&&(0,zt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:qe,children:e.email})]}),(0,zt.jsxs)("div",{className:"lg:col-span-2",children:[(0,zt.jsx)(Ke,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:i,disabled:o,className:l(Qe,e.subject&&t.subject&&We)}),e.subject&&t.subject&&(0,zt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:qe,children:e.subject})]}),(0,zt.jsxs)("div",{className:"lg:col-span-2",children:[(0,zt.jsx)(vr,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:i,disabled:o,icon:(0,zt.jsx)(Eo,{}),className:l(Qe,e.message&&t.message&&We)}),e.message&&t.message&&(0,zt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:qe,children:e.message})]}),(0,zt.jsx)("div",{className:"lg:col-span-2 light",children:(0,zt.jsx)(G,{type:"submit",className:"w-full outline rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:(0,zt.jsx)("span",{children:"Send"})})})]})})}function Fo(){return(0,zt.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,zt.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 Eo(){return(0,zt.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,zt.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}function Ho(e){let{sectionHeading:t,image:r}=e;return(0,zt.jsxs)("div",{className:"relative w-full py-[60px]",children:[(0,zt.jsx)("div",{className:"absolute left-0 top-0 z-1 zt-full w-full overflow-hidden md:w-[56%] md:rounded-r-5",children:(0,zt.jsx)(kr.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ye})}),(0,zt.jsx)(j,{children:(0,zt.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,zt.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,zt.jsx)("div",{className:"mb-30px",children:(0,zt.jsx)(oe,{...t,invert:!0})}),(0,zt.jsx)(Cr,{})]})})})]})}function Uo(e){return(0,zt.jsx)("div",{className:"",children:(0,zt.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,zt.jsx)("div",{className:"mx-auto max-w-2xl space-zt-16 divide-zt divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,zt.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,zt.jsxs)("div",{children:[(0,zt.jsx)("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),(0,zt.jsx)("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),(0,zt.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,r)=>{var a;return(0,zt.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,zt.jsx)("h3",{className:"text-base/7 text-primary",children:t.title}),(0,zt.jsxs)("address",{className:"mt-3 space-zt-1 text-sm/6 not-italic text-foreground",children:[(a=t.location.split(","))==null?void 0:a.map((i,o)=>(0,zt.jsx)("p",{children:i},o))," ",t.mails&&(0,zt.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,zt.jsx)(Oe.FaEnvelope,{className:"pr-2 text-primary size-auto"}),(0,zt.jsx)("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&(0,zt.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,zt.jsx)(Oe.FaPhoneFlip,{className:"pr-2 text-primary size-auto"}),t.phoneNumbers[0]]})]})]},r)})})]})})})})}var Pr=E(require("next/image"));var Sr=E(require("next/link"));function jo({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,zt.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,zt.jsx)(be,{children:(0,zt.jsxs)(ve,{children:[e&&e.src&&(0,zt.jsx)(Pr.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Ye,className:"mx-auto mt-6 rounded-full object-cover"}),(0,zt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,zt.jsx)("p",{children:r}),a&&a.length>0&&(0,zt.jsx)("nav",{"aria-label":"social links",children:(0,zt.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((i,o)=>(0,zt.jsx)("li",{children:(0,zt.jsx)(le,{href:i.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-zt-1 hover:text-accents",children:(0,zt.jsx)("span",{children:i.icon})})},o))})})]})})})}function Go({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var m;if(!e)return(0,ye.notFound)();let{meta:i,populatedAuthors:o,authors:s,categories:n,content:c,title:p}=e,u={image:{src:i&&i.image&&i.image.url||void 0,alt:i&&i.image&&i.image.alt||void 0},authorName:((m=o==null?void 0:o[0])==null?void 0:m.name)||"",category:n,commentCount:0,title:p,description:(i==null?void 0:i.description)||""},d=s==null?void 0:s.map(x=>{var z,w;return{name:x.name||"",about:"",image:{src:x.profilePicture&&((w=(z=x.profilePicture.sizes)==null?void 0:z.square)==null?void 0:w.url)||"",alt:x.name||"blog author"},socialLinks:[]}});return(0,zt.jsx)(j,{children:(0,zt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,zt.jsx)("div",{children:(0,zt.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,zt.jsx)("div",{className:"my-4 zt-px bg-body/30 lg:my-5"}),(0,zt.jsx)(H,{content:c,enableGutter:!1})]})}),(0,zt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,zt.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,zt.jsxs)(be,{children:[(0,zt.jsx)(Te,{children:(0,zt.jsx)(Le,{className:"text-accent",children:"Content Actions"})}),(0,zt.jsxs)(ve,{children:[(0,zt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,zt.jsx)(Sr.default,{href:`${a}${e.id}`,children:(0,zt.jsx)(G,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),d&&d.map((x,z)=>(0,zt.jsx)(jo,{...x},z)),t&&t.links&&(0,zt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,zt.jsx)(gr,{links:t.links,title:t.title})})]})]})})}var ft=E(require("next/link"));var Ir=require("lucide-react"),Oo=({children:e,pageId:t,tableOfContents:r=[],edit:a=!0,path:i="/admin/collections/pages/",relatedContent:o=[{title:"Related Content",links:[]}]})=>{let[s,n]=(0,Ot.useState)(!1),c=()=>{n(!s)};return(0,Ot.useEffect)(()=>{let p=window.location.hash;if(p){let u=p.substring(1),d=document.getElementById(u);if(d){let x=d.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:x,behavior:"smooth"})}}},[window.location.hash]),(0,zt.jsxs)("div",{children:[(0,zt.jsx)("div",{className:l(s?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),(0,zt.jsx)($o,{pageId:t,tableOfContents:r,edit:a,path:i,relatedContent:o,isSidebarVisible:s}),(0,zt.jsx)("div",{className:"block md:hidden mt-8",children:(0,zt.jsx)("div",{className:"space-zt-6",children:e})})]})};var $o=({pageId:e,tableOfContents:t=[],edit:r=!0,path:a="/admin/collections/pages/",relatedContent:i=[{title:"Related Content",links:[]}],isSidebarVisible:o})=>{let[s,n]=(0,Ot.useState)(""),[c,p]=(0,Ot.useState)(!1),[u,d]=(0,Ot.useState)(!1),m=(0,ye.usePathname)(),x=()=>{p(!c),d(!1)},z=()=>{d(!u),p(!1)},w=P=>{switch(P){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},I=()=>{let P=m.split("/"),U="/print"+m,F=window.open(U,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");F&&F.focus()},T=()=>{let P=m.split("/"),U="/present"+m,F=window.open(U,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");F&&F.focus()};return(0,zt.jsx)("div",{className:l("fixed right-2 z-20 top-1/4 space-zt-6 transform transition-transform duration-300 translate-x-full",o?"translate-x-0":"md:translate-x-0"),children:(0,zt.jsxs)("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[(0,zt.jsxs)("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card p-2.5 shadow-lg backdrop-blur-lg min-zt-[auto] min-w-[54px] flex-col rounded-lg border",children:[(0,zt.jsxs)(ft.default,{href:`${a}${e}`,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),(0,zt.jsx)("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),(0,zt.jsxs)("a",{onClick:x,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),(0,zt.jsx)("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),(0,zt.jsxs)("a",{onClick:z,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),(0,zt.jsx)("small",{className:"text-center text-xs font-medium",children:" Related "})]}),(0,zt.jsx)("hr",{className:"dark:border-gray-400"}),(0,zt.jsxs)("a",{onClick:T,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),(0,zt.jsx)("small",{className:"text-xs font-medium",children:"Present"})]}),(0,zt.jsxs)("a",{onClick:I,className:"flex aspect-square min-zt-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[(0,zt.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:(0,zt.jsx)("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),(0,zt.jsx)("small",{className:"text-xs font-medium",children:"Print"})]})]}),c&&(0,zt.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-zt-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,zt.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,zt.jsx)("div",{className:"flex text-accent",children:"On this Page"}),(0,zt.jsx)("ul",{className:"flex flex-col space-zt-2",children:t.map((P,U)=>(0,zt.jsx)("li",{className:w(P.tag),children:(0,zt.jsx)("a",{href:`#${P.id}`,className:`text-xs ${s===P.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:P.text})},U))})]})}),u&&i&&i.length>0&&(0,zt.jsx)("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-zt-[auto] min-w-[54px] flex-col rounded-lg border"),children:(0,zt.jsxs)("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[(0,zt.jsx)("div",{className:"flex text-accent",children:"Related Content"}),(0,zt.jsx)("ul",{className:"flex flex-col space-zt-2",children:i.map((P,U)=>P.links&&P.links.length>0?P.links.map((F,pe)=>(0,zt.jsxs)(ft.default,{href:F.url,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[F.title,F.url.startsWith("http")&&(0,zt.jsx)(Ir.ExternalLink,{className:"ml-1 zt-3 w-3"})]},pe)):null)})]})})]})})};var Tr=E(require("next/image"));function Vo({className:e,children:t,image:r="https://images.unsplash.com/photo-1557804506-669a67965ba0?zt=80&w=2574&auto=format&fit=crop",imageAlt:a="Professional presentation in modern office setting",imagePosition:i="left",overlay:o=!0}){return(0,zt.jsxs)("section",{className:l("relative min-zt-[50vh] w-full overflow-hidden",e),children:[(0,zt.jsxs)("div",{className:"absolute inset-0 w-full",children:[(0,zt.jsx)(Tr.default,{src:r||"/placeholder.svg",alt:a,fill:!0,className:"object-cover",priority:!0}),o&&(0,zt.jsx)("div",{className:"absolute inset-0",style:{background:i==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]}),(0,zt.jsx)("div",{className:l("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",i==="left"?"justify-end":"justify-start"),children:(0,zt.jsx)("div",{className:l("w-full max-w-xl py-12",i==="left"?"ml-auto":"Ot-auto"),children:t})})]})}var ht=E(require("next/image"));function Yo({blogs:e,sectionHeading:t,base:r="insights"}){return(0,zt.jsxs)(j,{children:[(0,zt.jsx)("div",{className:"",children:t&&(0,zt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":"100",children:(0,zt.jsx)(oe,{...t,alignment:"start",hasBottomSpacing:!0})})}),e&&e.length>0&&(0,zt.jsx)("div",{className:"-mx-4 flex flex-wrap justify-start gap-zt-4",children:e.map((a,i)=>(0,zt.jsx)("div",{"data-aos":"fade-up","data-aos-delay":fe([200,400,600],i),className:"w-full zt-full md:w-1/2 md:px-4 lg:w-1/3",children:(0,zt.jsx)(zr,{...a,base:r})},i))})]})}var Lr=l("inline-flex items-center gap-2 text-white"),un=l("text-sm text-white");function zr({slug:e,meta:t,authors:r,title:a,publishedAt:i,categories:o,base:s}){var n,c,p,u;return(0,zt.jsxs)("article",{className:"group/blog relative z-1 flex zt-full min-zt-[452px] flex-col overflow-hidden rounded-5 p-0",children:[(0,zt.jsx)("span",{className:"absolute inset-0 z-[2] "}),(0,zt.jsx)(ht.default,{src:((n=t==null?void 0:t.image)==null?void 0:n.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((c=t==null?void 0:t.image)==null?void 0:c.alt)||"Blog image",fill:!0,sizes:`
|
|
6
6
|
(min-width:768px) 50vw,
|
|
7
7
|
(min-width:1024px) 33vw,
|
|
8
8
|
100vw
|
package/dist/sections/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as m}from"../chunk-
|
|
1
|
+
import{b as m}from"../chunk-5J5WPYIM.mjs";import{a as b}from"../chunk-NO4A4H5A.mjs";import{a as l}from"../chunk-ICM6QD7O.mjs";import{a}from"../chunk-WXN6BK2F.mjs";import{a as d}from"../chunk-QYDMXCQU.mjs";import"../chunk-WGLZUKVS.mjs";import{a as e,b as f}from"../chunk-S3LKALPI.mjs";import"../chunk-VSNDROOR.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-MMBUMBDU.mjs";import{a as i}from"../chunk-X76XZNRS.mjs";import{a as h}from"../chunk-L4FTRAKV.mjs";import{a as c}from"../chunk-LY5LYSJP.mjs";import{a as j,b as k}from"../chunk-GF62H2LB.mjs";import"../chunk-SV7NMNDI.mjs";import"../chunk-PYOE47AG.mjs";import{a as g}from"../chunk-3PTHLA3K.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-L2CGDHVO.mjs";import"../chunk-7DINW2AE.mjs";import"../chunk-FUJT4M2J.mjs";import"../chunk-KXGA6R7U.mjs";import"../chunk-5TMU7KTC.mjs";import"../chunk-NRL4U42W.mjs";import"../chunk-AUBKJ4XO.mjs";import"../chunk-ZIWHUQ4D.mjs";import"../chunk-6YV7RK6Q.mjs";import"../chunk-6LKCK2EH.mjs";import"../chunk-CSNKYRV5.mjs";import"../chunk-XB5WL3OT.mjs";import"../chunk-CSWXKGJE.mjs";import"../chunk-SPAW5K3E.mjs";import"../chunk-IJCMUPNH.mjs";import"../chunk-PJSCXNH4.mjs";import"../chunk-OJPHYSRN.mjs";import"../chunk-6YWAX7NS.mjs";import"../chunk-4TCLIMFP.mjs";import"../chunk-PIM2JQYT.mjs";import"../chunk-OWBJTXZL.mjs";import"../chunk-BRYZOZKY.mjs";import"../chunk-A24EPYUY.mjs";import"../chunk-QKGEV7LG.mjs";import"../chunk-IT7DSLCX.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-TXB5Y6PG.mjs";import"../chunk-7WSF7CDA.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-QFWNMI4Q.mjs";import"../chunk-CM5OUS2S.mjs";import"../chunk-O6CPA4ET.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-5G43IH3C.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-IO222G5L.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-6HFYLEVF.mjs";import"../chunk-SWROLJQ7.mjs";import"../chunk-MGS3DQ22.mjs";import"../chunk-EPTHSTUM.mjs";import"../chunk-UZ2XYB7D.mjs";import"../chunk-53QLSQCO.mjs";import"../chunk-JCH2CCQ7.mjs";import"../chunk-2LJVMEWU.mjs";import"../chunk-KPIWBWE2.mjs";import"../chunk-6P7CY367.mjs";import"../chunk-HFN2NHXV.mjs";import"../chunk-YJMQPBXM.mjs";import"../chunk-VP6NKH2R.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-QMFZRG7O.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-2IKC7MAP.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-H7D3PZKE.mjs";import"../chunk-IQPZEEYJ.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-GQ2G2FNR.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-E6MYDQ3V.mjs";import"../chunk-F55C2C5H.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-VQJUNVRU.mjs";import"../chunk-FC4BLPWZ.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{c as AboutSection,k as BlogCard,g as BlogDetail,j as BlogList,d as BlogListSection,e as ContactSection,i as ImageSection,f as LocationsSection,h as MainPageSection,b as PricingSection,m as Section,l as ServiceDetailSection,a as ServiceSection};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "cortex-react-components",
|
|
3
3
|
"author": "Cortex Reply",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.53.
|
|
5
|
+
"version": "1.53.19",
|
|
6
6
|
"description": "A library of React components with styles. Designed to seamlessly integrate with React and Next.js.",
|
|
7
7
|
"license": "MPL-2.0",
|
|
8
8
|
"main": "./dist/index.js",
|
package/dist/chunk-2GAB2DAK.mjs
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
import{b as w,c as C}from"./chunk-TUFJTJCO.mjs";import{b as y}from"./chunk-VCC562W2.mjs";import{a as N}from"./chunk-NIQ4466A.mjs";import{a as b}from"./chunk-C5XNOZXC.mjs";import{useEffect as d,useRef as s,useState as E,useCallback as H}from"react";import{Previewer as p}from"pagedjs";import{Fragment as T,jsx as o,jsxs as c}from"react/jsx-runtime";function B(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var l=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},z=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?o(I,{page:r,layout:e,logoImage:i}):o(W,{page:r,layout:e,logoImage:i}),I=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:m}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let n=document.getElementById("printable-content");if(n){console.log("Width: "+n.offsetWidth+"px"),console.log("Width in mm: "+l(n.offsetWidth)+"mm"),console.log("Height: "+n.offsetHeight+"px"),console.log("Height in mm: "+l(n.offsetHeight)+"mm");let t=document.createElement("style");return t.textContent=`@page { size: ${l(n.offsetWidth)}mm ${l(n.offsetHeight)}mm ; margin: 0mm; width: ${l(n.offsetWidth)}mm }; .container : { max-width: ${l(n.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=H(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let n=document.getElementById("printable-content");n&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${l(n.offsetWidth)}mm ${l(n.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...m];return c("div",{children:[o("div",{className:"w-[1123px] print:w-[1123px]",children:c("div",{id:"printable-content",ref:u,children:[g.map((n,t)=>o(T,{children:t===0?o("section",{className:"title-page w-full h-full",children:o(C,{hero:r.hero,title:r.title})},t):c("section",{className:"normal-page overflow-hidden",children:[n.blockName&&o(w,{title:n.blockName}),o(y,{blocks:[n],fill:!0})]},t)})),o("section",{className:"normal-page",children:c("div",{className:`w-full py-2 px-8 flex justify-between items-center
|
|
5
|
-
dark bg-background text-primary`,children:[c("div",{className:"flex px-6 items-center space-x-2",children:[i&&o("img",{src:i.src,alt:"Cortex Reply Logo",className:"h-8"}),o("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),o("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),o("div",{ref:a,className:"preview-container"})]})},W=({page:r,layout:e="portrait"})=>{let{contentWithIds:i}=b(r),m=s(null),u=s(null),a=s(new p),[h,f]=E(0),g=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],n=H(()=>{m.current&&(m.current&&(m.current.innerHTML=""),a.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",e==="landscape"?"./landscape.css":"./portrait.css"],m.current).then(t=>f(t.pageCount)).catch(t=>console.error("Paged.js error:",t)))},[e]);return d(()=>{a.current=new p,n()},[n,e]),d(()=>{let t=document.createElement("style");return t.textContent=`@page { size: A4 ${e} ; margin: 0mm; };`,document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),c("div",{className:"pagedjs-container",children:[o("div",{id:"printable-content",ref:u,style:{display:"none"},className:"pagedjs-content",children:g.map((t,v)=>{var x,P;return o(T,{children:v===0?o("section",{className:"pagedjs-section title-page w-full h-full",children:o(C,{hero:r.hero,title:r.title})},v):c("section",{className:N("pagedjs-section normal-page h-[699px]",`h-[${B("185mm")}px]`,((P=(x=t.theme)==null?void 0:x.settings)==null?void 0:P.theme)==="dark"?"dark":"light"),children:[t.blockName&&o(w,{title:t.blockName}),o(y,{blocks:[t],fill:!0})]},v)})})}),o("div",{ref:m,className:"preview-container"})]})};export{z as a,I as b,W as c};
|