cortex-react-components 1.51.2 → 1.51.3
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-Z4CK655R.mjs → chunk-23L5ZJ2U.mjs} +1 -1
- package/dist/{chunk-KKSMDJRP.mjs → chunk-2JGEXP2O.mjs} +1 -1
- package/dist/{chunk-23EQTK7B.mjs → chunk-423OEU3K.mjs} +1 -1
- package/dist/chunk-4Y4IPE52.mjs +1 -0
- package/dist/{chunk-65OD4DLE.mjs → chunk-5WS3LL7J.mjs} +1 -1
- package/dist/{chunk-PFWQLNIT.mjs → chunk-6DLX67SZ.mjs} +1 -1
- package/dist/{chunk-LT2AK4G5.mjs → chunk-7OUNEQNT.mjs} +1 -1
- package/dist/{chunk-GL6F4PKJ.mjs → chunk-ALTFHQW6.mjs} +1 -1
- package/dist/{chunk-JKXEWZ7M.mjs → chunk-DSUL2K64.mjs} +1 -1
- package/dist/{chunk-OI7AIO33.mjs → chunk-EVKYY4AE.mjs} +1 -1
- package/dist/{chunk-DCEF2LYO.mjs → chunk-EZ3I4MMX.mjs} +1 -1
- package/dist/{chunk-55GJBCU5.mjs → chunk-FR7LDOVB.mjs} +1 -1
- package/dist/chunk-HFU6TQLF.mjs +1 -0
- package/dist/{chunk-RWDDYYDT.mjs → chunk-HPIXBZWF.mjs} +1 -1
- package/dist/{chunk-RHPFEIP4.mjs → chunk-IBV34MLI.mjs} +1 -1
- package/dist/{chunk-NGK3IDFP.mjs → chunk-ICTOXY7D.mjs} +1 -1
- package/dist/{chunk-XHNZFKKI.mjs → chunk-LEO3X5GA.mjs} +1 -1
- package/dist/{chunk-FM7CBLYK.mjs → chunk-LLGYRD34.mjs} +1 -1
- package/dist/{chunk-UD7JYMRU.mjs → chunk-MANZDSTF.mjs} +1 -1
- package/dist/{chunk-QO2Z7WXW.mjs → chunk-MTMQVLB3.mjs} +1 -1
- package/dist/{chunk-LVHQ5ZSP.mjs → chunk-ODHS7GXR.mjs} +1 -1
- package/dist/{chunk-IYERYBWZ.mjs → chunk-P5KTTDP2.mjs} +1 -1
- package/dist/{chunk-F6Q7HP23.mjs → chunk-PCCBWQD7.mjs} +1 -1
- package/dist/chunk-PPWX73XF.mjs +1 -0
- package/dist/{chunk-2GFBBWC2.mjs → chunk-PT5NTB4Y.mjs} +1 -1
- package/dist/chunk-UXX4Q6IQ.mjs +1 -0
- package/dist/{chunk-ATONX5RA.mjs → chunk-VLUAFB54.mjs} +1 -1
- package/dist/{chunk-4VPOPPLA.mjs → chunk-WRX5GLJV.mjs} +1 -1
- package/dist/{chunk-MJLCSHUM.mjs → chunk-X6UKMJDE.mjs} +1 -1
- package/dist/{chunk-CTMMLDMU.mjs → chunk-XXPOYQ7J.mjs} +1 -1
- package/dist/{chunk-ZGX3P2RY.mjs → chunk-YPDFTCBL.mjs} +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CallToAction.stories.js +1 -1
- package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/Content.stories.js +1 -1
- package/dist/components/Blocks/Content.stories.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.d.ts +1 -0
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/ContentCard.stories.js +1 -1
- package/dist/components/Cards/ContentCard.stories.mjs +1 -1
- package/dist/components/Cards/index.js +2 -2
- 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/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +1 -1
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +1 -1
- package/dist/components/Layouts/BlogList.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 +2 -2
- 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 +4 -4
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +4 -4
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +6 -6
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/RichText.stories.js +1 -1
- package/dist/components/Payload/RichText.stories.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/globals.css +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.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Blog.stories.js +1 -1
- package/dist/pages/Blog.stories.mjs +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/Documentation.stories.mjs +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/IndexPage.stories.mjs +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/Intranet.stories.mjs +1 -1
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/LandingPage.stories.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Page.stories.js +1 -1
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Printable.stories.js +5 -5
- package/dist/pages/Printable.stories.mjs +1 -1
- package/dist/pages/Publish.js +5 -5
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +5 -5
- 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 -5
- package/dist/pages/Website.stories.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/AboutSection.stories.js +1 -1
- package/dist/sections/AboutSection.stories.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogDetail.stories.js +1 -1
- package/dist/sections/BlogDetail.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/PricingSection.stories.js +1 -1
- package/dist/sections/PricingSection.stories.mjs +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +1 -1
- package/dist/sections/index.mjs +1 -1
- package/dist/tests/payload.d.ts +705 -0
- package/dist/tests/payload.js +1 -1
- package/dist/tests/payload.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-IE5KIWR5.mjs +0 -1
- package/dist/chunk-IKD535M2.mjs +0 -1
- package/dist/chunk-MHVWWZUW.mjs +0 -1
- package/dist/chunk-X5FDSTRM.mjs +0 -1
package/dist/pages/Blog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
"use strict";var lr=Object.create;var he=Object.defineProperty;var cr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var pr=Object.getPrototypeOf,mr=Object.prototype.hasOwnProperty;var ur=(e,t)=>{for(var r in t)he(e,r,{get:t[r],enumerable:!0})},qe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of dr(t))!mr.call(e,a)&&a!==r&&he(e,a,{get:()=>t[a],enumerable:!(n=cr(t,a))||n.enumerable});return e};var T=(e,t,r)=>(r=e!=null?lr(pr(e)):{},qe(t||!e||!e.__esModule?he(r,"default",{value:e,enumerable:!0}):r,e)),gr=e=>qe(he({},"__esModule",{value:!0}),e);var ro={};ur(ro,{default:()=>ir});module.exports=gr(ro);var Ze=require("react/jsx-runtime"),oe=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let a=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=n!=null?n:"",s=a+o+" fa-"+r+" "+i;return(0,Ze.jsx)("i",{className:s})};var j=require("@headlessui/react"),dt=require("@heroicons/react/20/solid");var lt=require("clsx");var He="-",fr=e=>{let t=hr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(He);return s[0]===""&&s.length!==1&&s.shift(),rt(s,t)||br(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&n[i]?[...c,...n[i]]:c}}},rt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?rt(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(He);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},et=/^\[(.+)\]$/,br=e=>{if(et.test(e)){let t=et.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},hr=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return yr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Le(i,n,o,t)}),n},Le=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:tt(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(xr(a)){Le(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{Le(i,tt(t,o),r,n)})})},tt=(e,t)=>{let r=e;return t.split(He).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},xr=e=>e.isThemeGetter,yr=(e,t)=>t?e.map(([r,n])=>{let a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,a]}):e,vr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,a=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}},ot="!",wr=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let c=[],p=0,g=0,h;for(let N=0;N<s.length;N++){let S=s[N];if(p===0){if(S===a&&(n||s.slice(N,N+o)===t)){c.push(s.slice(g,N)),g=N+o;continue}if(S==="/"){h=N;continue}}S==="["?p++:S==="]"&&p--}let m=c.length===0?s:s.substring(g),f=m.startsWith(ot),P=f?m.substring(1):m,v=h&&h>g?h-g:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:P,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},Cr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},kr=e=>({cache:vr(e.cacheSize),parseClassName:wr(e),...fr(e)}),Nr=/\s+/,Ar=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Nr),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:g,hasImportantModifier:h,baseClassName:m,maybePostfixModifierPosition:f}=r(p),P=!!f,v=n(P?m.substring(0,f):m);if(!v){if(!P){s=p+(s.length>0?" "+s:s);continue}if(v=n(m),!v){s=p+(s.length>0?" "+s:s);continue}P=!1}let N=Cr(g).join(":"),S=h?N+ot:N,B=S+v;if(o.includes(B))continue;o.push(B);let J=a(v,P);for(let Y=0;Y<J.length;++Y){let ge=J[Y];o.push(S+ge)}s=p+(s.length>0?" "+s:s)}return s};function Pr(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=at(t))&&(n&&(n+=" "),n+=r);return n}var at=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=at(e[n]))&&(r&&(r+=" "),r+=t);return r};function Sr(e,...t){let r,n,a,o=i;function i(c){let p=t.reduce((g,h)=>h(g),e());return r=kr(p),n=r.cache.get,a=r.cache.set,o=s,s(c)}function s(c){let p=n(c);if(p)return p;let g=Ar(c,r);return a(c,g),g}return function(){return o(Pr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},nt=/^\[(?:([a-Ze-]+):)?(.+)\]$/i,Ir=/^\d+\/\d+$/,Br=new Set(["px","full","screen"]),Tr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|Ze|min|max))|\Ze(calc|min|max|clamp)\(.+\)|^0$/,Dr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mr=/^(inset_)?-?((\d+)?\.?(\d+)[a-Ze]+|0)Ze-?((\d+)?\.?(\d+)[a-Ze]+|0)/,Lr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=e=>X(e)||Br.has(e)||Ir.test(e),G=e=>$(e,"length",Jr),X=e=>!!e&&!Number.isNaN(Number(e)),Me=e=>$(e,"number",X),ae=e=>!!e&&Number.isInteger(Number(e)),Hr=e=>e.endsWith("%")&&X(e.slice(0,-1)),d=e=>nt.test(e),U=e=>Tr.test(e),Er=new Set(["length","size","percentage"]),Fr=e=>$(e,Er,st),zr=e=>$(e,"position",st),Gr=new Set(["image","url"]),Ur=e=>$(e,Gr,Kr),Or=e=>$(e,"",Yr),ne=()=>!0,$=(e,t,r)=>{let n=nt.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},Jr=e=>Rr.test(e)&&!Dr.test(e),st=()=>!1,Yr=e=>Mr.test(e),Kr=e=>Lr.test(e);var Qr=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),n=w("brightness"),a=w("borderColor"),o=w("borderRadius"),i=w("borderSpacing"),s=w("borderWidth"),c=w("contrast"),p=w("grayscale"),g=w("hueRotate"),h=w("invert"),m=w("gap"),f=w("gradientColorStops"),P=w("gradientColorStopPositions"),v=w("inset"),N=w("margin"),S=w("opacity"),B=w("padding"),J=w("saturate"),Y=w("scale"),ge=w("sepia"),Qe=w("skew"),Ve=w("space"),_e=w("translate"),Be=()=>["auto","contain","none"],Te=()=>["auto","hidden","clip","visible","scroll"],Re=()=>["auto",d,t],k=()=>[d,t],Xe=()=>["",H,G],fe=()=>["auto",X,d],$e=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],be=()=>["solid","dashed","dotted","double","none"],je=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],De=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",d],We=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[X,d];return{cacheSize:500,separator:":",theme:{colors:[ne],spacing:[H,G],blur:["none","",U,d],brightness:L(),borderColor:[e],borderRadius:["none","","full",U,d],borderSpacing:k(),borderWidth:Xe(),contrast:L(),grayscale:re(),hueRotate:L(),invert:re(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Hr,G],inset:Re(),margin:Re(),opacity:L(),padding:k(),saturate:L(),scale:L(),sepia:re(),skew:L(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":We()}],"break-before":[{"break-before":We()}],"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:[...$e(),d]}],overflow:[{overflow:Te()}],"overflow-Ze":[{"overflow-Ze":Te()}],"overflow-Ze":[{"overflow-Ze":Te()}],overscroll:[{overscroll:Be()}],"overscroll-Ze":[{"overscroll-Ze":Be()}],"overscroll-Ze":[{"overscroll-Ze":Be()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-Ze":[{"inset-Ze":[v]}],"inset-Ze":[{"inset-Ze":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],Ze:[{Ze:["auto",ae,d]}],basis:[{basis:Re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",ae,d]}],"grid-cols":[{"grid-cols":[ne]}],"col-start-end":[{col:["auto",{span:["full",ae,d]},d]}],"col-start":[{"col-start":fe()}],"col-end":[{"col-end":fe()}],"grid-rows":[{"grid-rows":[ne]}],"row-start-end":[{row:["auto",{span:[ae,d]},d]}],"row-start":[{"row-start":fe()}],"row-end":[{"row-end":fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[m]}],"gap-Ze":[{"gap-Ze":[m]}],"gap-Ze":[{"gap-Ze":[m]}],"justify-content":[{justify:["normal",...De()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...De(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...De(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],pt:[{pt:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],m:[{m:[N]}],mx:[{mx:[N]}],my:[{my:[N]}],ms:[{ms:[N]}],me:[{me:[N]}],Ze:[{Ze:[N]}],mr:[{mr:[N]}],mb:[{mb:[N]}],ml:[{ml:[N]}],"space-Ze":[{"space-Ze":[Ve]}],"space-Ze-reverse":["space-Ze-reverse"],"space-Ze":[{"space-Ze":[Ve]}],"space-Ze-reverse":["space-Ze-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Me]}],"font-family":[{font:[ne]}],"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",d]}],"line-clamp":[{"line-clamp":["none",X,Me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",H,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...be(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",H,G]}],"underline-offset":[{"underline-offset":["auto",H,d]}],"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:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$e(),zr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Ze","Ze","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Fr]}],"bg-image":[{bg:["none",{"gradient-to":["t","ve","r","br","Ze","bl","l","tl"]},Ur]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-Ze":[{"rounded-Ze":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-Ze":[{"rounded-Ze":[o]}],"rounded-ar":[{"rounded-ar":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-ve":[{"rounded-ve":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-Ze":[{"border-Ze":[s]}],"border-w-Ze":[{"border-Ze":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-Ze":[{"border-Ze":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[S]}],"border-style":[{border:[...be(),"hidden"]}],"divide-Ze":[{"divide-Ze":[s]}],"divide-Ze-reverse":["divide-Ze-reverse"],"divide-Ze":[{"divide-Ze":[s]}],"divide-Ze-reverse":["divide-Ze-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:be()}],"border-color":[{border:[a]}],"border-color-Ze":[{"border-Ze":[a]}],"border-color-Ze":[{"border-Ze":[a]}],"border-color-s":[{"border-s":[a]}],"border-color-e":[{"border-e":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-Ze":[{"border-Ze":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...be()]}],"outline-offset":[{"outline-offset":[H,d]}],"outline-w":[{outline:[H,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[H,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,Or]}],"shadow-color":[{shadow:[ne]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":[...je(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":je()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",U,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[h]}],saturate:[{saturate:[J]}],sepia:[{sepia:[ge]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[g]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Ze":[{"border-spacing-Ze":[i]}],"border-spacing-Ze":[{"border-spacing-Ze":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Y]}],"scale-Ze":[{"scale-Ze":[Y]}],"scale-Ze":[{"scale-Ze":[Y]}],rotate:[{rotate:[ae,d]}],"translate-Ze":[{"translate-Ze":[_e]}],"translate-Ze":[{"translate-Ze":[_e]}],"skew-Ze":[{"skew-Ze":[Qe]}],"skew-Ze":[{"skew-Ze":[Qe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],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","ne-resize","nw-resize","Ze-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Ze","Ze",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-Ze":[{"scroll-Ze":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Ze","Ze","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Ze":[{"touch-pan":["Ze","left","right"]}],"touch-Ze":[{"touch-pan":["Ze","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[H,G,Me]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Ze","overflow-Ze"],overscroll:["overscroll-Ze","overscroll-Ze"],inset:["inset-Ze","inset-Ze","start","end","top","right","bottom","left"],"inset-Ze":["right","left"],"inset-Ze":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Ze","gap-Ze"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","Ze","mr","mb","ml"],mx:["mr","ml"],my:["Ze","mb"],size:["w","h"],"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-Ze","rounded-l","rounded-ss","rounded-Ze","rounded-ar","rounded-es","rounded-tl","rounded-ve","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Ze","rounded-ar"],"rounded-t":["rounded-tl","rounded-ve"],"rounded-r":["rounded-ve","rounded-br"],"rounded-Ze":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Ze","border-spacing-Ze"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-Ze","border-w-l"],"border-w-Ze":["border-w-r","border-w-l"],"border-w-Ze":["border-w-t","border-w-Ze"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ze","border-color-l"],"border-color-Ze":["border-color-r","border-color-l"],"border-color-Ze":["border-color-t","border-color-Ze"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-Ze","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Ze","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-Ze","touch-Ze","touch-pz"],"touch-Ze":["touch"],"touch-Ze":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var it=Sr(Qr);function l(...e){return it((0,lt.clsx)(e))}var Vr=({name:e,items:t,actions:r=[],href:n})=>!t&&n?(0,Ze.jsx)("a",{href:n,className:"flex items-center gap-Ze-1 text-sm font-semibold text-foreground group",children:(0,Ze.jsxs)("span",{className:"relative",children:[e,(0,Ze.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ze-1/2 scale-Ze-0 transition-transform duration-300 ease-in-out group-hover:scale-Ze-100"})]})}):(0,Ze.jsxs)(j.Popover,{children:[(0,Ze.jsxs)(j.PopoverButton,{className:"flex items-center gap-Ze-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Ze.jsxs)("span",{className:"relative",children:[e,(0,Ze.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ze-1/2 scale-Ze-0 transition-transform duration-300 ease-in-out group-hover:scale-Ze-100"})]}),(0,Ze.jsx)(dt.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Ze.jsxs)(j.PopoverPanel,{transition:!0,className:"absolute inset-Ze-0 top-0 -Ze-10 bg-popover Ze-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Ze-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Ze.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Ze-4 px-6 py-10 lg:px-8 xl:gap-Ze-8 Ze-50",children:t&&t.map(a=>(0,Ze.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Ze.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:a.icon&&(0,Ze.jsx)(ct,{icon:a.icon,size:"4x"})}),(0,Ze.jsxs)("a",{href:a.href,className:"Ze-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,Ze.jsx)("span",{className:"absolute inset-0"})]}),(0,Ze.jsx)("p",{className:"Ze-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,Ze.jsx)("div",{className:"bg-gray-50",children:(0,Ze.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ze.jsx)("div",{className:"grid grid-cols-3 divide-Ze divide-gray-900/5 border-Ze border-gray-900/5",children:r.map(a=>(0,Ze.jsxs)("a",{href:a.href,className:"flex items-center max-h-12 justify-center gap-Ze-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[a.icon&&(0,Ze.jsx)(ct,{icon:a.icon,className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),ct=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,Ze.jsx)(oe,{...e,size:r});if("src"in e)return(0,Ze.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Ze.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},pt=Vr;var W=require("react");function xe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let a=l("container",t&&"full-width",r&&"no-padding",n);return(0,Ze.jsx)("div",{className:a,children:e})}var ut=T(require("next/link"));function ye({children:e,href:t,openNewTab:r,...n}){return(0,Ze.jsx)(ut.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var Ee=T(require("next/image"));function ie({logoLight:e,logoDark:t,mobile:r=!1}){return(0,Ze.jsxs)(ye,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,Ze.jsx)(Ee.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,Ze.jsx)(Ee.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var ft=require("next-themes"),ve=require("lucide-react");function ht({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n}){let[a,o]=(0,W.useState)(!1),[i,s]=(0,W.useState)(""),c=["light","dark"],{theme:p,setTheme:g}=(0,ft.useTheme)();(0,W.useEffect)(()=>{s(p||"dark")},[p]);let h=()=>{let m=c[(c.indexOf(i)+1)%c.length];s(m),g(m)};return(0,W.useEffect)(()=>{let m=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Ze.jsx)(Ze.Fragment,{children:(0,Ze.jsx)("header",{className:`Ze-50 pb-10 transition-all duration-300 hidden lg:block ${a||e?"translate-Ze-0":"-translate-Ze-full bg-transparent"}`,children:(0,Ze.jsx)(xe,{className:"px-0",children:(0,Ze.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-Ze-xl",children:(0,Ze.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-Ze-xl border border-t-0 border-accent",children:[(0,Ze.jsx)(ie,{logoDark:r,logoLight:t}),(0,Ze.jsx)(j.PopoverGroup,{className:"hidden lg:flex lg:gap-Ze-12",children:n&&n.map(m=>(0,Ze.jsx)(pt,{...m},m.name))}),(0,Ze.jsx)("div",{className:"flex items-center space-Ze-4",children:(0,Ze.jsx)("button",{className:"fixed right-4 Ze-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:h,children:(0,Ze.jsxs)("div",{className:"relative",children:[(0,Ze.jsx)(ve.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ze.jsx)(ve.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var we=require("@heroicons/react/24/outline");var Fe=["light","dark"];function yt({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:n=!0}){let[a,o]=(0,W.useState)(!1),{theme:i,setTheme:s}=(0,ft.useTheme)(),[c,p]=(0,W.useState)(!1),[g,h]=(0,W.useState)("light");(0,W.useEffect)(()=>{let f=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,W.useEffect)(()=>{h(i||"dark")},[i]);let m=()=>{let f=Fe[(Fe.indexOf(g)+1)%Fe.length];h(f),s(f)};return(0,Ze.jsx)(Ze.Fragment,{children:(0,Ze.jsxs)("header",{className:`Ze-50 pb-10 transition-all duration-300 block lg:hidden ${a||n?"translate-Ze-0":"-translate-Ze-full bg-transparent"}`,children:[(0,Ze.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,Ze.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&Ze.logo-light]:[filter:brightness(0)_invert(1)] dark:border-Ze dark:border-accent",children:[(0,Ze.jsx)(ie,{logoDark:t,logoLight:e,mobile:!0}),(0,Ze.jsxs)("div",{className:"flex items-center space-Ze-4",children:[(0,Ze.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 Ze-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Ze.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ze.jsx)(we.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Ze.jsx)("button",{className:"fixed right-16 Ze-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:m,children:(0,Ze.jsxs)("div",{className:"relative",children:[(0,Ze.jsx)(ve.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ze.jsx)(ve.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Ze.jsxs)(j.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,Ze.jsx)("div",{className:"fixed inset-0 Ze-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ze.jsxs)(j.DialogPanel,{className:"fixed inset-Ze-0 right-0 Ze-20 w-full overflow-Ze-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ze.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Ze.jsx)(ie,{logoDark:t,logoLight:e,mobile:!0}),(0,Ze.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Ze.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ze.jsx)(we.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ze.jsx)("div",{className:"Ze-6 flow-root",children:(0,Ze.jsx)("div",{className:"-my-6 divide-Ze divide-gray-500/10",children:(0,Ze.jsx)("div",{className:"space-Ze-2 px-2 py-6",children:r&&r.map(f=>(0,Ze.jsx)(_r,{...f},f.name))})})})]})]})]})})}function _r({name:e,items:t,actions:r,href:n}){return!t&&n?(0,Ze.jsx)("a",{href:n,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Ze.jsxs)(j.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ze.jsx)(j.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Ze.jsx)(j.DisclosurePanel,{className:"Ze-2 space-Ze-2",children:t&&t.map(a=>(0,Ze.jsx)(j.DisclosureButton,{as:"a",href:a.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:a.name},a.name))})]})}var vt=e=>{let r=new Date;e&&(r=new Date(e));let n=r.getMonth(),a=r.getDate(),o=n+1<10?`0${n+1}`:n+1,i=a<10?`0${a}`:a,s=r.getFullYear();return`${i}/${o}/${s}`};function wt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n,className:a}){return(0,Ze.jsxs)("div",{className:l("fixed top-0 left-0 right-0 Ze-50",a),children:[(0,Ze.jsx)(ht,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n}),(0,Ze.jsx)(yt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n})]})}var Bt=T(require("react")),Tt=T(require("next/image"));var Ct=require("@radix-ui/react-slot"),kt=require("class-variance-authority"),Nt=T(require("react")),Xr=(0,kt.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:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-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"}}}),E=Nt.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,Ze.jsx)(e?Ct.Slot:"button",{className:l(Xr({className:t,size:r,variant:n})),ref:o,...a}));E.displayName="Button";var St=(0,kt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ze({className:e,variant:t,...r}){return(0,Ze.jsx)("div",{className:l(St({variant:t}),e),...r})}var Rt=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:n,publishedAt:a,title:o}=e;return(0,Ze.jsxs)("div",{className:"relative grid",children:[(0,Ze.jsx)("div",{className:"relative Ze-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground p-6 lg:p-12",children:(0,Ze.jsxs)("div",{className:"container mx-auto",children:[(0,Ze.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,Ze.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[n&&n.length>0&&(0,Ze.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ze.jsxs)("p",{className:"text-sm",children:["Author",n.length>1?"s":""]}),(0,Ze.jsx)("p",{children:n.map((s,c)=>(0,Ze.jsxs)(Bt.default.Fragment,{children:[s.name,c<n.length-2&&", ",c===n.length-2&&(n.length>2?", and ":" and ")]},s.id))})]}),a&&(0,Ze.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ze.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Ze.jsx)("time",{dateTime:a,children:vt(a)})]}),t&&t.length>0&&(0,Ze.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ze.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,Ze.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,Ze.jsx)(ze,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,Ze.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,Ze.jsx)(Tt.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((i=r==null?void 0:r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,Ze.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Dt="../cortex-reply-light-27IMI3G7.png";var Mt="../cortex-reply-dark-XPAJJJYY.png";var Lt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var or=T(require("next/image"));var Ht=({className:e,content:t,style:r})=>(0,Ze.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Ze.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,Ze.jsx)(D,{content:t,enableGutter:!1,enableProse:!1})})});var Ge=T(require("next/link")),de=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:c,url:p}=e,g=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:p;if(!g)return null;let h=r==="link"?"clear":c,m=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ze.jsxs)(Ge.default,{className:l(a),href:g||p||"",...m,children:[o&&o,n&&n]}):(0,Ze.jsx)(E,{asChild:!0,className:a,size:h,variant:r,children:(0,Ze.jsxs)(Ge.default,{className:l(a),href:g||p||"",...m,children:[o&&o,n&&n]})})};var Et=({links:e,richText:t})=>(0,Ze.jsx)("div",{className:"container",children:(0,Ze.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,Ze.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ze.jsx)(D,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ze.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,Ze.jsx)(de,{size:"lg",...r},n))})]})});var Ne=require("prism-react-renderer");function Gt({code:e}){let[t,r]=(0,W.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ze.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ze.jsxs)(E,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,Ze.jsx)("p",{children:t}),(0,Ze.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ze.jsx)(ve.ClipboardCopy,{})})]})})}var Ut=({code:e,language:t=""})=>e?(0,Ze.jsx)(Ne.Highlight,{code:e,language:t,theme:Ne.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,Ze.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Ze-auto",children:[a.map((o,i)=>(0,Ze.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ze.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Ze.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,Ze.jsx)("span",{...n({token:s})},c))})]},i)),(0,Ze.jsx)(Gt,{code:e})]})}):null;var Ot=({className:e,code:t,language:r})=>(0,Ze.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ze.jsx)(Ut,{code:t,language:r})});var Yt=T(require("next/image")),Wr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Jt="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=",Kt=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:c}=e,p,g,h=t,m=s||"";if(!m&&o&&typeof o=="object"){let{alt:v,filename:N,height:S,url:B,width:J}=o;p=J,g=S,h=v||"",m=B||Jt}let f=c||"lazy",P=i||Object.entries(Wr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,Ze.jsx)("picture",{children:(0,Ze.jsx)(Yt.default,{alt:h||"",className:l(n),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:Jt,priority:f!=="lazy"&&a,quality:100,loading:f,sizes:P,src:m,width:r?void 0:p})})};var Qt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Vt=()=>{if(Qt){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 _t=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,W.useRef)(null);if((0,W.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ze.jsx)("video",{autoPlay:!0,className:l(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,Ze.jsx)("source",{src:`${Vt()}/media/${o}`})})}return null};var Se=e=>{var i;let{className:t,htmlElement:r="div",resource:n}=e,a=typeof n=="object"&&((i=n==null?void 0:n.mimeType)==null?void 0:i.includes("video"));return(0,Ze.jsx)(r||W.Fragment,{...r!==null?{className:t}:{},children:a?(0,Ze.jsx)(_t,{...e}):(0,Ze.jsx)(Kt,{...e})})};var $t=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,Ze.jsx)("div",{className:l("h-full",{container:r},t),children:(0,Ze.jsx)(Se,{imgClassName:l("rounded-[0.8rem] max-h-full",n),className:"h-full",resource:a,src:o})})};var jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,Ze.jsx)("div",{className:l("",{container:r},t),children:(0,Ze.jsx)(Se,{imgClassName:l("rounded-[0.8rem]",n),resource:a,src:o})})};var V=T(require("react"));var q=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));q.displayName="Card";var pe=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("flex flex-col space-Ze-1.5 p-6",e),...t}));pe.displayName="CardHeader";var me=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));me.displayName="CardTitle";var qr=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));qr.displayName="CardDescription";var Z=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));Z.displayName="CardContent";var Zr=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));Zr.displayName="CardFooter";function Wt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function qt({variant:e="outline",className:t,icon:r,iconSize:n="large",width:a="auto",order:o=0,heading:i,subheading:s,content:c,statistic:p,buttonText:g,buttonHref:h}){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:""},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Ze.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,f[a],"intersect intersect-full animate-flip-up",o===0?"":`animate-delay-${o}00`),children:[(0,Ze.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ze.jsx)(eo,{icon:r,heading:i,variant:e,iconSize:n})}),p&&(0,Ze.jsx)("div",{className:"mb-6",children:(0,Ze.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),s&&(0,Ze.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),c&&typeof c=="object"&&(0,Ze.jsx)("div",{className:l("space-Ze-6"),children:(0,Ze.jsx)(D,{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,Ze.jsx)("div",{className:l("space-Ze-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),g&&(0,Ze.jsx)("div",{className:"Ze-auto pt-6 flex items-center justify-center",children:(0,Ze.jsx)(E,{size:"lg",className:"text-white text-lg rounded-xl w-full Ze-auto items-center justify-center",asChild:!0,children:(0,Ze.jsx)("a",{href:h,children:g})})}),e==="radial"&&(0,Ze.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-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 eo=({icon:e,heading:t,variant:r,iconSize:n})=>e&&n==="small"?(0,Ze.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Wt(e)&&(0,Ze.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",n==="small"?"Ze-2":""),children:(0,Ze.jsx)(oe,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Ze.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Ze.jsxs)("div",{className:"flex flex-col gap-4",children:[Wt(e)&&(0,Ze.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,Ze.jsx)(oe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Ze.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Ze.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ze.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Zt=({title:e,description:t,features:r,id:n})=>(0,Ze.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Ze.jsx)("h2",{className:"mb-6 Ze-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,Ze.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Ze.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Ze.jsx)(D,{content:t,enableGutter:!1})}),(0,Ze.jsx)("div",{className:`grid gap-8 Ze-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var s,c,p,g,h;let i=()=>{if(a.icon&&"type"in a.icon&&a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,Ze.jsx)(qt,{variant:((s=a.settings)==null?void 0:s.card)==="default"?"light":((c=a.settings)==null?void 0:c.card)||"outline",icon:i()||void 0,iconSize:((p=a.settings)==null?void 0:p.iconSize)||"large",width:"auto",order:o,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(g=a.link)!=null&&g.url?"Find out more":void 0,buttonHref:((h=a.link)==null?void 0:h.url)||void 0},o)})})]});var Ie=T(require("react"));function ue({nodes:e}){return(0,Ze.jsx)(Ie.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Ze.jsx)(Ie.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ze.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ze.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ze.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ze.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ze.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ze.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ze.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ze.jsx)("table",{children:(0,Ze.jsx)("tbody",{children:t.children.map((o,i)=>(0,Ze.jsx)("ve",{children:o.children.map((s,c)=>(0,Ze.jsx)("td",{children:ue({nodes:s.children})},c))},i))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ue({nodes:o.children})},a="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Ze.jsx)(Et,{...o},r);case"mediaBlock":return(0,Ze.jsx)($t,{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,Ze.jsx)(jt,{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,Ze.jsx)(Ht,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ze.jsx)(Ot,{className:"col-start-2",...o},r);case"features":return(0,Ze.jsx)(Zt,{...o},r);case"reusableContentBlock":ue({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ze.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ze.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ze.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:a},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ze.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ze.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:a},r):(0,Ze.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,Ze.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,Ze.jsx)(de,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}case"autolink":{let o=t.fields;return(0,Ze.jsx)(de,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var D=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,Ze.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ue({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var ar=require("next/navigation");var gn=l("transition-colors duration-400 hover:text-primary ease-in-out");function rr({title:e,links:t}){let r=(0,ar.useSearchParams)(),n=(0,ar.usePathname)(),{replace:a}=(0,ar.useRouter)();function o(i){let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),a(`${n}?${s.toString()}`)}return(0,Ze.jsxs)(q,{children:[(0,Ze.jsx)(pe,{children:(0,Ze.jsx)(me,{className:"text-accent",children:e&&e})}),(0,Ze.jsx)(Z,{children:t&&t.length>0&&(0,Ze.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ze.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,Ze.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(i.href)},children:[i.label,(0,Ze.jsx)(ve.ExternalLink,{className:"ml-1 h-3 w-3"})]},s))})})})]})}var nr=T(require("next/link"));function to({image:e,name:t,about:r,socialLinks:n}){return!e||!e.src||e.src.length<3||!t?null:(0,Ze.jsx)("div",{className:"Ze-1 Ze-10 px-0 pt-0 lg:px-10",children:(0,Ze.jsx)(q,{children:(0,Ze.jsxs)(Z,{children:[e&&e.src&&(0,Ze.jsx)(or.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Lt,className:"mx-auto Ze-6 rounded-full object-cover"}),(0,Ze.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,Ze.jsx)("p",{children:r}),n&&n.length>0&&(0,Ze.jsx)("nav",{"aria-label":"social links",children:(0,Ze.jsx)("ul",{className:"inline-flex items-center divide-Ze divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((a,o)=>(0,Ze.jsx)("li",{children:(0,Ze.jsx)(ye,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-Ze-1 hover:text-accents",children:(0,Ze.jsx)("span",{children:a.icon})})},o))})})]})})})}function sr({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var m;if(!e)return(0,ar.notFound)();let{meta:a,populatedAuthors:o,authors:i,categories:s,content:c,title:p}=e,g={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:((m=o==null?void 0:o[0])==null?void 0:m.name)||"",category:s,commentCount:0,title:p,description:(a==null?void 0:a.description)||""},h=i==null?void 0:i.map(f=>{var P,v;return{name:f.name||"",about:"",image:{src:f.profilePicture&&((v=(P=f.profilePicture.sizes)==null?void 0:P.square)==null?void 0:v.url)||"",alt:f.name||"blog author"},socialLinks:[]}});return(0,Ze.jsx)(xe,{children:(0,Ze.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ze.jsx)("div",{children:(0,Ze.jsxs)("div",{className:"[&_p+P]:Ze-4",children:[(0,Ze.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Ze.jsx)(D,{content:c,enableGutter:!1})]})}),(0,Ze.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,Ze.jsx)("div",{className:"Ze-4 lg:-Ze-10 Ze-10 px-0 pt-0 lg:px-10",children:(0,Ze.jsxs)(q,{children:[(0,Ze.jsx)(pe,{children:(0,Ze.jsx)(me,{className:"text-accent",children:"Content Actions"})}),(0,Ze.jsxs)(Z,{children:[(0,Ze.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Ze.jsx)(nr.default,{href:`${n}${e.id}`,children:(0,Ze.jsx)(E,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),h&&h.map((f,P)=>(0,Ze.jsx)(to,{...f},P)),t&&t.links&&(0,Ze.jsx)("div",{className:"Ze-4 px-0 pt-0 lg:px-10",children:(0,Ze.jsx)(rr,{links:t.links,title:t.title})})]})]})})}function ir({...e}){return(0,Ze.jsxs)("div",{children:[(0,Ze.jsx)(wt,{isMenuOpen:!0,logoLight:Dt,logoDark:Mt}),(0,Ze.jsx)(Rt,{...e.hero}),(0,Ze.jsx)(sr,{className:"!pb-0",...e.blog})]})}
|
|
4
|
+
"use strict";var lr=Object.create;var he=Object.defineProperty;var cr=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var pr=Object.getPrototypeOf,mr=Object.prototype.hasOwnProperty;var ur=(e,t)=>{for(var r in t)he(e,r,{get:t[r],enumerable:!0})},qe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of dr(t))!mr.call(e,n)&&n!==r&&he(e,n,{get:()=>t[n],enumerable:!(a=cr(t,n))||a.enumerable});return e};var T=(e,t,r)=>(r=e!=null?lr(pr(e)):{},qe(t||!e||!e.__esModule?he(r,"default",{value:e,enumerable:!0}):r,e)),gr=e=>qe(he({},"__esModule",{value:!0}),e);var ro={};ur(ro,{default:()=>ir});module.exports=gr(ro);var Ze=require("react/jsx-runtime"),oe=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,Ze.jsx)("i",{className:s})};var j=require("@headlessui/react"),dt=require("@heroicons/react/20/solid");var lt=require("clsx");var He="-",fr=e=>{let t=hr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(He);return s[0]===""&&s.length!==1&&s.shift(),rt(s,t)||br(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&a[i]?[...c,...a[i]]:c}}},rt=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?rt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(He);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},et=/^\[(.+)\]$/,br=e=>{if(et.test(e)){let t=et.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},hr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return yr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Le(i,a,o,t)}),a},Le=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:tt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(xr(n)){Le(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Le(i,tt(t,o),r,a)})})},tt=(e,t)=>{let r=e;return t.split(He).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},xr=e=>e.isThemeGetter,yr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,vr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},ot="!",wr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let c=[],p=0,g=0,h;for(let N=0;N<s.length;N++){let S=s[N];if(p===0){if(S===n&&(a||s.slice(N,N+o)===t)){c.push(s.slice(g,N)),g=N+o;continue}if(S==="/"){h=N;continue}}S==="["?p++:S==="]"&&p--}let m=c.length===0?s:s.substring(g),f=m.startsWith(ot),P=f?m.substring(1):m,v=h&&h>g?h-g:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:P,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},Cr=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},kr=e=>({cache:vr(e.cacheSize),parseClassName:wr(e),...fr(e)}),Nr=/\s+/,Ar=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(Nr),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:g,hasImportantModifier:h,baseClassName:m,maybePostfixModifierPosition:f}=r(p),P=!!f,v=a(P?m.substring(0,f):m);if(!v){if(!P){s=p+(s.length>0?" "+s:s);continue}if(v=a(m),!v){s=p+(s.length>0?" "+s:s);continue}P=!1}let N=Cr(g).join(":"),S=h?N+ot:N,B=S+v;if(o.includes(B))continue;o.push(B);let J=n(v,P);for(let Y=0;Y<J.length;++Y){let ge=J[Y];o.push(S+ge)}s=p+(s.length>0?" "+s:s)}return s};function Pr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=at(t))&&(a&&(a+=" "),a+=r);return a}var at=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=at(e[a]))&&(r&&(r+=" "),r+=t);return r};function Sr(e,...t){let r,a,n,o=i;function i(c){let p=t.reduce((g,h)=>h(g),e());return r=kr(p),a=r.cache.get,n=r.cache.set,o=s,s(c)}function s(c){let p=a(c);if(p)return p;let g=Ar(c,r);return n(c,g),g}return function(){return o(Pr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},nt=/^\[(?:([a-Ze-]+):)?(.+)\]$/i,Ir=/^\d+\/\d+$/,Br=new Set(["px","full","screen"]),Tr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|Ze|min|max))|\Ze(calc|min|max|clamp)\(.+\)|^0$/,Dr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mr=/^(inset_)?-?((\d+)?\.?(\d+)[a-Ze]+|0)Ze-?((\d+)?\.?(\d+)[a-Ze]+|0)/,Lr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=e=>X(e)||Br.has(e)||Ir.test(e),G=e=>$(e,"length",Jr),X=e=>!!e&&!Number.isNaN(Number(e)),Me=e=>$(e,"number",X),ae=e=>!!e&&Number.isInteger(Number(e)),Hr=e=>e.endsWith("%")&&X(e.slice(0,-1)),d=e=>nt.test(e),U=e=>Tr.test(e),Er=new Set(["length","size","percentage"]),Fr=e=>$(e,Er,st),zr=e=>$(e,"position",st),Gr=new Set(["image","url"]),Ur=e=>$(e,Gr,Kr),Or=e=>$(e,"",Yr),ne=()=>!0,$=(e,t,r)=>{let a=nt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Jr=e=>Rr.test(e)&&!Dr.test(e),st=()=>!1,Yr=e=>Mr.test(e),Kr=e=>Lr.test(e);var Qr=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),a=w("brightness"),n=w("borderColor"),o=w("borderRadius"),i=w("borderSpacing"),s=w("borderWidth"),c=w("contrast"),p=w("grayscale"),g=w("hueRotate"),h=w("invert"),m=w("gap"),f=w("gradientColorStops"),P=w("gradientColorStopPositions"),v=w("inset"),N=w("margin"),S=w("opacity"),B=w("padding"),J=w("saturate"),Y=w("scale"),ge=w("sepia"),Qe=w("skew"),Ve=w("space"),_e=w("translate"),Be=()=>["auto","contain","none"],Te=()=>["auto","hidden","clip","visible","scroll"],Re=()=>["auto",d,t],k=()=>[d,t],Xe=()=>["",H,G],fe=()=>["auto",X,d],$e=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],be=()=>["solid","dashed","dotted","double","none"],je=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],De=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",d],We=()=>["auto","avoid","all","avoid-page","page","left","right","column"],L=()=>[X,d];return{cacheSize:500,separator:":",theme:{colors:[ne],spacing:[H,G],blur:["none","",U,d],brightness:L(),borderColor:[e],borderRadius:["none","","full",U,d],borderSpacing:k(),borderWidth:Xe(),contrast:L(),grayscale:re(),hueRotate:L(),invert:re(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Hr,G],inset:Re(),margin:Re(),opacity:L(),padding:k(),saturate:L(),scale:L(),sepia:re(),skew:L(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[U]}],"break-after":[{"break-after":We()}],"break-before":[{"break-before":We()}],"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:[...$e(),d]}],overflow:[{overflow:Te()}],"overflow-Ze":[{"overflow-Ze":Te()}],"overflow-Ze":[{"overflow-Ze":Te()}],overscroll:[{overscroll:Be()}],"overscroll-Ze":[{"overscroll-Ze":Be()}],"overscroll-Ze":[{"overscroll-Ze":Be()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-Ze":[{"inset-Ze":[v]}],"inset-Ze":[{"inset-Ze":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],Ze:[{Ze:["auto",ae,d]}],basis:[{basis:Re()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",ae,d]}],"grid-cols":[{"grid-cols":[ne]}],"col-start-end":[{col:["auto",{span:["full",ae,d]},d]}],"col-start":[{"col-start":fe()}],"col-end":[{"col-end":fe()}],"grid-rows":[{"grid-rows":[ne]}],"row-start-end":[{row:["auto",{span:[ae,d]},d]}],"row-start":[{"row-start":fe()}],"row-end":[{"row-end":fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[m]}],"gap-Ze":[{"gap-Ze":[m]}],"gap-Ze":[{"gap-Ze":[m]}],"justify-content":[{justify:["normal",...De()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...De(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...De(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],pt:[{pt:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],m:[{m:[N]}],mx:[{mx:[N]}],my:[{my:[N]}],ms:[{ms:[N]}],me:[{me:[N]}],Ze:[{Ze:[N]}],mr:[{mr:[N]}],mb:[{mb:[N]}],ml:[{ml:[N]}],"space-Ze":[{"space-Ze":[Ve]}],"space-Ze-reverse":["space-Ze-reverse"],"space-Ze":[{"space-Ze":[Ve]}],"space-Ze-reverse":["space-Ze-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[U]},U]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",U,G]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Me]}],"font-family":[{font:[ne]}],"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",d]}],"line-clamp":[{"line-clamp":["none",X,Me]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",H,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[S]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[S]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...be(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",H,G]}],"underline-offset":[{"underline-offset":["auto",H,d]}],"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:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[S]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$e(),zr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","Ze","Ze","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Fr]}],"bg-image":[{bg:["none",{"gradient-to":["t","ve","r","br","Ze","bl","l","tl"]},Ur]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-Ze":[{"rounded-Ze":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-Ze":[{"rounded-Ze":[o]}],"rounded-ar":[{"rounded-ar":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-ve":[{"rounded-ve":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-Ze":[{"border-Ze":[s]}],"border-w-Ze":[{"border-Ze":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-Ze":[{"border-Ze":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[S]}],"border-style":[{border:[...be(),"hidden"]}],"divide-Ze":[{"divide-Ze":[s]}],"divide-Ze-reverse":["divide-Ze-reverse"],"divide-Ze":[{"divide-Ze":[s]}],"divide-Ze-reverse":["divide-Ze-reverse"],"divide-opacity":[{"divide-opacity":[S]}],"divide-style":[{divide:be()}],"border-color":[{border:[n]}],"border-color-Ze":[{"border-Ze":[n]}],"border-color-Ze":[{"border-Ze":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-Ze":[{"border-Ze":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...be()]}],"outline-offset":[{"outline-offset":[H,d]}],"outline-w":[{outline:[H,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[S]}],"ring-offset-w":[{"ring-offset":[H,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,Or]}],"shadow-color":[{shadow:[ne]}],opacity:[{opacity:[S]}],"mix-blend":[{"mix-blend":[...je(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":je()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",U,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[g]}],invert:[{invert:[h]}],saturate:[{saturate:[J]}],sepia:[{sepia:[ge]}],"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":[g]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[S]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-Ze":[{"border-spacing-Ze":[i]}],"border-spacing-Ze":[{"border-spacing-Ze":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:L()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:L()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Y]}],"scale-Ze":[{"scale-Ze":[Y]}],"scale-Ze":[{"scale-Ze":[Y]}],rotate:[{rotate:[ae,d]}],"translate-Ze":[{"translate-Ze":[_e]}],"translate-Ze":[{"translate-Ze":[_e]}],"skew-Ze":[{"skew-Ze":[Qe]}],"skew-Ze":[{"skew-Ze":[Qe]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],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","ne-resize","nw-resize","Ze-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Ze","Ze",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-Ze":[{"scroll-Ze":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","Ze","Ze","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-Ze":[{"touch-pan":["Ze","left","right"]}],"touch-Ze":[{"touch-pan":["Ze","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[H,G,Me]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-Ze","overflow-Ze"],overscroll:["overscroll-Ze","overscroll-Ze"],inset:["inset-Ze","inset-Ze","start","end","top","right","bottom","left"],"inset-Ze":["right","left"],"inset-Ze":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-Ze","gap-Ze"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","Ze","mr","mb","ml"],mx:["mr","ml"],my:["Ze","mb"],size:["w","h"],"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-Ze","rounded-l","rounded-ss","rounded-Ze","rounded-ar","rounded-es","rounded-tl","rounded-ve","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-Ze","rounded-ar"],"rounded-t":["rounded-tl","rounded-ve"],"rounded-r":["rounded-ve","rounded-br"],"rounded-Ze":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-Ze","border-spacing-Ze"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-Ze","border-w-l"],"border-w-Ze":["border-w-r","border-w-l"],"border-w-Ze":["border-w-t","border-w-Ze"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ze","border-color-l"],"border-color-Ze":["border-color-r","border-color-l"],"border-color-Ze":["border-color-t","border-color-Ze"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-Ze","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-Ze","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-Ze","touch-Ze","touch-pz"],"touch-Ze":["touch"],"touch-Ze":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var it=Sr(Qr);function l(...e){return it((0,lt.clsx)(e))}var Vr=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,Ze.jsx)("a",{href:a,className:"flex items-center gap-Ze-1 text-sm font-semibold text-foreground group",children:(0,Ze.jsxs)("span",{className:"relative",children:[e,(0,Ze.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ze-1/2 scale-Ze-0 transition-transform duration-300 ease-in-out group-hover:scale-Ze-100"})]})}):(0,Ze.jsxs)(j.Popover,{children:[(0,Ze.jsxs)(j.PopoverButton,{className:"flex items-center gap-Ze-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,Ze.jsxs)("span",{className:"relative",children:[e,(0,Ze.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-Ze-1/2 scale-Ze-0 transition-transform duration-300 ease-in-out group-hover:scale-Ze-100"})]}),(0,Ze.jsx)(dt.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Ze.jsxs)(j.PopoverPanel,{transition:!0,className:"absolute inset-Ze-0 top-0 -Ze-10 bg-popover Ze-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Ze-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Ze.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-Ze-4 px-6 py-10 lg:px-8 xl:gap-Ze-8 Ze-50",children:t&&t.map(n=>(0,Ze.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Ze.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,Ze.jsx)(ct,{icon:n.icon,size:"4x"})}),(0,Ze.jsxs)("a",{href:n.href,className:"Ze-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[n.name,(0,Ze.jsx)("span",{className:"absolute inset-0"})]}),(0,Ze.jsx)("p",{className:"Ze-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,Ze.jsx)("div",{className:"bg-gray-50",children:(0,Ze.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Ze.jsx)("div",{className:"grid grid-cols-3 divide-Ze divide-gray-900/5 border-Ze border-gray-900/5",children:r.map(n=>(0,Ze.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-Ze-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,Ze.jsx)(ct,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),ct=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,Ze.jsx)(oe,{...e,size:r});if("src"in e)return(0,Ze.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Ze.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},pt=Vr;var W=require("react");function xe({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,Ze.jsx)("div",{className:n,children:e})}var ut=T(require("next/link"));function ye({children:e,href:t,openNewTab:r,...a}){return(0,Ze.jsx)(ut.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var Ee=T(require("next/image"));function ie({logoLight:e,logoDark:t,mobile:r=!1}){return(0,Ze.jsxs)(ye,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,Ze.jsx)(Ee.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,Ze.jsx)(Ee.default,{className:"logo-dark hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var ft=require("next-themes"),ve=require("lucide-react");function ht({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}){let[n,o]=(0,W.useState)(!1),[i,s]=(0,W.useState)(""),c=["light","dark"],{theme:p,setTheme:g}=(0,ft.useTheme)();(0,W.useEffect)(()=>{s(p||"dark")},[p]);let h=()=>{let m=c[(c.indexOf(i)+1)%c.length];s(m),g(m)};return(0,W.useEffect)(()=>{let m=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",m,{passive:!0}),()=>window.removeEventListener("scroll",m)},[]),(0,Ze.jsx)(Ze.Fragment,{children:(0,Ze.jsx)("header",{className:`Ze-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-Ze-0":"-translate-Ze-full bg-transparent"}`,children:(0,Ze.jsx)(xe,{className:"px-0",children:(0,Ze.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-Ze-xl",children:(0,Ze.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-Ze-xl border border-t-0 border-accent",children:[(0,Ze.jsx)(ie,{logoDark:r,logoLight:t}),(0,Ze.jsx)(j.PopoverGroup,{className:"hidden lg:flex lg:gap-Ze-12",children:a&&a.map(m=>(0,Ze.jsx)(pt,{...m},m.name))}),(0,Ze.jsx)("div",{className:"flex items-center space-Ze-4",children:(0,Ze.jsx)("button",{className:"fixed right-4 Ze-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:h,children:(0,Ze.jsxs)("div",{className:"relative",children:[(0,Ze.jsx)(ve.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ze.jsx)(ve.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var we=require("@heroicons/react/24/outline");var Fe=["light","dark"];function yt({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,W.useState)(!1),{theme:i,setTheme:s}=(0,ft.useTheme)(),[c,p]=(0,W.useState)(!1),[g,h]=(0,W.useState)("light");(0,W.useEffect)(()=>{let f=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,W.useEffect)(()=>{h(i||"dark")},[i]);let m=()=>{let f=Fe[(Fe.indexOf(g)+1)%Fe.length];h(f),s(f)};return(0,Ze.jsx)(Ze.Fragment,{children:(0,Ze.jsxs)("header",{className:`Ze-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-Ze-0":"-translate-Ze-full bg-transparent"}`,children:[(0,Ze.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,Ze.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&Ze.logo-light]:[filter:brightness(0)_invert(1)] dark:border-Ze dark:border-accent",children:[(0,Ze.jsx)(ie,{logoDark:t,logoLight:e,mobile:!0}),(0,Ze.jsxs)("div",{className:"flex items-center space-Ze-4",children:[(0,Ze.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 Ze-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,Ze.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Ze.jsx)(we.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,Ze.jsx)("button",{className:"fixed right-16 Ze-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:m,children:(0,Ze.jsxs)("div",{className:"relative",children:[(0,Ze.jsx)(ve.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ze.jsx)(ve.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,Ze.jsxs)(j.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,Ze.jsx)("div",{className:"fixed inset-0 Ze-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Ze.jsxs)(j.DialogPanel,{className:"fixed inset-Ze-0 right-0 Ze-20 w-full overflow-Ze-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Ze.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Ze.jsx)(ie,{logoDark:t,logoLight:e,mobile:!0}),(0,Ze.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,Ze.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Ze.jsx)(we.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Ze.jsx)("div",{className:"Ze-6 flow-root",children:(0,Ze.jsx)("div",{className:"-my-6 divide-Ze divide-gray-500/10",children:(0,Ze.jsx)("div",{className:"space-Ze-2 px-2 py-6",children:r&&r.map(f=>(0,Ze.jsx)(_r,{...f},f.name))})})})]})]})]})})}function _r({name:e,items:t,actions:r,href:a}){return!t&&a?(0,Ze.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}):(0,Ze.jsxs)(j.Disclosure,{as:"div",className:"-mx-3",children:[(0,Ze.jsx)(j.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:e}),(0,Ze.jsx)(j.DisclosurePanel,{className:"Ze-2 space-Ze-2",children:t&&t.map(n=>(0,Ze.jsx)(j.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold dark:text-foreground text-gray-900 hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}var vt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};function wt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n}){return(0,Ze.jsxs)("div",{className:l("fixed top-0 left-0 right-0 Ze-50",n),children:[(0,Ze.jsx)(ht,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a}),(0,Ze.jsx)(yt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var Bt=T(require("react")),Tt=T(require("next/image"));var Ct=require("@radix-ui/react-slot"),kt=require("class-variance-authority"),Nt=T(require("react")),Xr=(0,kt.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:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-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"}}}),E=Nt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Ze.jsx)(e?Ct.Slot:"button",{className:l(Xr({className:t,size:r,variant:a})),ref:o,...n}));E.displayName="Button";var St=(0,kt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function ze({className:e,variant:t,...r}){return(0,Ze.jsx)("div",{className:l(St({variant:t}),e),...r})}var Rt=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,Ze.jsxs)("div",{className:"relative grid",children:[(0,Ze.jsx)("div",{className:"relative Ze-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground p-6 lg:p-12",children:(0,Ze.jsxs)("div",{className:"container mx-auto",children:[(0,Ze.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,Ze.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,Ze.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ze.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,Ze.jsx)("p",{children:a.map((s,c)=>(0,Ze.jsxs)(Bt.default.Fragment,{children:[s.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,Ze.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ze.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Ze.jsx)("time",{dateTime:n,children:vt(n)})]}),t&&t.length>0&&(0,Ze.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Ze.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,Ze.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,Ze.jsx)(ze,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,Ze.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,Ze.jsx)(Tt.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((i=r==null?void 0:r.image)==null?void 0:i.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,Ze.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Dt="../cortex-reply-light-27IMI3G7.png";var Mt="../cortex-reply-dark-XPAJJJYY.png";var Lt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var or=T(require("next/image"));var Ht=({className:e,content:t,style:r})=>(0,Ze.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Ze.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,Ze.jsx)(D,{content:t,enableGutter:!1,enableProse:!1})})});var Ge=T(require("next/link")),de=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:c,url:p}=e,g=t==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:p;if(!g)return null;let h=r==="link"?"clear":c,m=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ze.jsxs)(Ge.default,{className:l(n),href:g||p||"",...m,children:[o&&o,a&&a]}):(0,Ze.jsx)(E,{asChild:!0,className:n,size:h,variant:r,children:(0,Ze.jsxs)(Ge.default,{className:l(n),href:g||p||"",...m,children:[o&&o,a&&a]})})};var Et=({links:e,richText:t})=>(0,Ze.jsx)("div",{className:"container",children:(0,Ze.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,Ze.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Ze.jsx)(D,{className:"mb-0",content:t,enableGutter:!1})}),(0,Ze.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Ze.jsx)(de,{size:"lg",...r},a))})]})});var Ne=require("prism-react-renderer");function Gt({code:e}){let[t,r]=(0,W.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,Ze.jsx)("div",{className:"flex justify-end align-middle",children:(0,Ze.jsxs)(E,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,Ze.jsx)("p",{children:t}),(0,Ze.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,Ze.jsx)(ve.ClipboardCopy,{})})]})})}var Ut=({code:e,language:t=""})=>e?(0,Ze.jsx)(Ne.Highlight,{code:e,language:t,theme:Ne.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Ze.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-Ze-auto",children:[n.map((o,i)=>(0,Ze.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Ze.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Ze.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,Ze.jsx)("span",{...a({token:s})},c))})]},i)),(0,Ze.jsx)(Gt,{code:e})]})}):null;var Ot=({className:e,code:t,language:r})=>(0,Ze.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Ze.jsx)(Ut,{code:t,language:r})});var Yt=T(require("next/image")),Wr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Jt="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=",Kt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:c}=e,p,g,h=t,m=s||"";if(!m&&o&&typeof o=="object"){let{alt:v,filename:N,height:S,url:B,width:J}=o;p=J,g=S,h=v||"",m=B||Jt}let f=c||"lazy",P=i||Object.entries(Wr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,Ze.jsx)("picture",{children:(0,Ze.jsx)(Yt.default,{alt:h||"",className:l(a),fill:r,height:r?void 0:g,placeholder:"blur",blurDataURL:Jt,priority:f!=="lazy"&&n,quality:100,loading:f,sizes:P,src:m,width:r?void 0:p})})};var Qt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Vt=()=>{if(Qt){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 _t=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,W.useRef)(null);if((0,W.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Ze.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Ze.jsx)("source",{src:`${Vt()}/media/${o}`})})}return null};var Se=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,Ze.jsx)(r||W.Fragment,{...r!==null?{className:t}:{},children:n?(0,Ze.jsx)(_t,{...e}):(0,Ze.jsx)(Kt,{...e})})};var $t=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Ze.jsx)("div",{className:l("h-full",{container:r},t),children:(0,Ze.jsx)(Se,{imgClassName:l("rounded-[0.8rem] max-h-full",a),className:"h-full",resource:n,src:o})})};var jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Ze.jsx)("div",{className:l("",{container:r},t),children:(0,Ze.jsx)(Se,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var V=T(require("react"));var q=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));q.displayName="Card";var pe=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("flex flex-col space-Ze-1.5 p-6",e),...t}));pe.displayName="CardHeader";var me=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));me.displayName="CardTitle";var qr=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));qr.displayName="CardDescription";var Z=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));Z.displayName="CardContent";var Zr=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));Zr.displayName="CardFooter";function Wt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function qt({variant:e="outline",className:t,icon:r,iconSize:a="large",width:n="auto",order:o=0,heading:i,subheading:s,content:c,statistic:p,buttonText:g,buttonHref:h}){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:""},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Ze.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,f[n],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,Ze.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ze.jsx)(eo,{icon:r,heading:i,variant:e,iconSize:a})}),p&&(0,Ze.jsx)("div",{className:"mb-6",children:(0,Ze.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),s&&(0,Ze.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),c&&typeof c=="object"&&(0,Ze.jsx)("div",{className:l("space-Ze-6"),children:(0,Ze.jsx)(D,{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,Ze.jsx)("div",{className:l("space-Ze-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),g&&(0,Ze.jsx)("div",{className:"Ze-auto pt-6 flex items-center justify-center",children:(0,Ze.jsx)(E,{size:"lg",className:"text-white text-lg rounded-xl w-full Ze-auto items-center justify-center",asChild:!0,children:(0,Ze.jsx)("a",{href:h,children:g})})}),e==="radial"&&(0,Ze.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-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 eo=({icon:e,heading:t,variant:r,iconSize:a})=>e&&a==="small"?(0,Ze.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Wt(e)&&(0,Ze.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"?"Ze-2":""),children:(0,Ze.jsx)(oe,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Ze.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Ze.jsxs)("div",{className:"flex flex-col gap-4",children:[Wt(e)&&(0,Ze.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,Ze.jsx)(oe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Ze.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Ze.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Ze.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Zt=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,Ze.jsxs)("section",{className:l(!n&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Ze.jsx)("h2",{className:"mb-6 Ze-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,Ze.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Ze.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Ze.jsx)(D,{content:t,enableGutter:!1})}),(0,Ze.jsx)("div",{className:`grid gap-8 Ze-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,i)=>{var c,p,g,h,m;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,Ze.jsx)(qt,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:s()||void 0,iconSize:((g=o.settings)==null?void 0:g.iconSize)||"large",width:"auto",order:i,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(h=o.link)!=null&&h.url?"Find out more":void 0,buttonHref:((m=o.link)==null?void 0:m.url)||void 0},i)})})]});var Ie=T(require("react"));function ue({nodes:e}){return(0,Ze.jsx)(Ie.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Ze.jsx)(Ie.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Ze.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Ze.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Ze.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Ze.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Ze.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Ze.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Ze.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Ze.jsx)("table",{children:(0,Ze.jsx)("tbody",{children:t.children.map((o,i)=>(0,Ze.jsx)("ve",{children:o.children.map((s,c)=>(0,Ze.jsx)("td",{children:ue({nodes:s.children})},c))},i))})},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 i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ue({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Ze.jsx)(Et,{...o},r);case"mediaBlock":return(0,Ze.jsx)($t,{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,Ze.jsx)(jt,{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,Ze.jsx)(Ht,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Ze.jsx)(Ot,{className:"col-start-2",...o},r);case"features":return(0,Ze.jsx)(Zt,{...o,nested:!0},r);case"reusableContentBlock":ue({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Ze.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Ze.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Ze.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Ze.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Ze.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,Ze.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Ze.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Ze.jsx)(de,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,Ze.jsx)(de,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var D=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,Ze.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&&ue({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var ar=require("next/navigation");var gn=l("transition-colors duration-400 hover:text-primary ease-in-out");function rr({title:e,links:t}){let r=(0,ar.useSearchParams)(),a=(0,ar.usePathname)(),{replace:n}=(0,ar.useRouter)();function o(i){let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),n(`${a}?${s.toString()}`)}return(0,Ze.jsxs)(q,{children:[(0,Ze.jsx)(pe,{children:(0,Ze.jsx)(me,{className:"text-accent",children:e&&e})}),(0,Ze.jsx)(Z,{children:t&&t.length>0&&(0,Ze.jsx)("nav",{"aria-label":"footer links navigation",children:(0,Ze.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,Ze.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(i.href)},children:[i.label,(0,Ze.jsx)(ve.ExternalLink,{className:"ml-1 h-3 w-3"})]},s))})})})]})}var nr=T(require("next/link"));function to({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,Ze.jsx)("div",{className:"Ze-1 Ze-10 px-0 pt-0 lg:px-10",children:(0,Ze.jsx)(q,{children:(0,Ze.jsxs)(Z,{children:[e&&e.src&&(0,Ze.jsx)(or.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Lt,className:"mx-auto Ze-6 rounded-full object-cover"}),(0,Ze.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,Ze.jsx)("p",{children:r}),a&&a.length>0&&(0,Ze.jsx)("nav",{"aria-label":"social links",children:(0,Ze.jsx)("ul",{className:"inline-flex items-center divide-Ze divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,Ze.jsx)("li",{children:(0,Ze.jsx)(ye,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-Ze-1 hover:text-accents",children:(0,Ze.jsx)("span",{children:n.icon})})},o))})})]})})})}function sr({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var m;if(!e)return(0,ar.notFound)();let{meta:n,populatedAuthors:o,authors:i,categories:s,content:c,title:p}=e,g={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((m=o==null?void 0:o[0])==null?void 0:m.name)||"",category:s,commentCount:0,title:p,description:(n==null?void 0:n.description)||""},h=i==null?void 0:i.map(f=>{var P,v;return{name:f.name||"",about:"",image:{src:f.profilePicture&&((v=(P=f.profilePicture.sizes)==null?void 0:P.square)==null?void 0:v.url)||"",alt:f.name||"blog author"},socialLinks:[]}});return(0,Ze.jsx)(xe,{children:(0,Ze.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,Ze.jsx)("div",{children:(0,Ze.jsxs)("div",{className:"[&_p+P]:Ze-4",children:[(0,Ze.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,Ze.jsx)(D,{content:c,enableGutter:!1})]})}),(0,Ze.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,Ze.jsx)("div",{className:"Ze-4 lg:-Ze-10 Ze-10 px-0 pt-0 lg:px-10",children:(0,Ze.jsxs)(q,{children:[(0,Ze.jsx)(pe,{children:(0,Ze.jsx)(me,{className:"text-accent",children:"Content Actions"})}),(0,Ze.jsxs)(Z,{children:[(0,Ze.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,Ze.jsx)(nr.default,{href:`${a}${e.id}`,children:(0,Ze.jsx)(E,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),h&&h.map((f,P)=>(0,Ze.jsx)(to,{...f},P)),t&&t.links&&(0,Ze.jsx)("div",{className:"Ze-4 px-0 pt-0 lg:px-10",children:(0,Ze.jsx)(rr,{links:t.links,title:t.title})})]})]})})}function ir({...e}){return(0,Ze.jsxs)("div",{children:[(0,Ze.jsx)(wt,{isMenuOpen:!0,logoLight:Dt,logoDark:Mt}),(0,Ze.jsx)(Rt,{...e.hero}),(0,Ze.jsx)(sr,{className:"!pb-0",...e.blog})]})}
|
package/dist/pages/Blog.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-5WS3LL7J.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-EVKYY4AE.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-KSCHUMVE.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-AWFQEK7A.mjs";import"../chunk-4Y4IPE52.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-ALTFHQW6.mjs";import"../chunk-IBV34MLI.mjs";import"../chunk-ICTOXY7D.mjs";import"../chunk-YNDKGRL6.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-KDGEXDC5.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-DRJBYVJB.mjs";import"../chunk-GOMLTG5W.mjs";import"../chunk-DESYC5BB.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-23L5ZJ2U.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-22FHCZJD.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
|