cortex-react-components 1.47.0 → 1.48.0
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-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
- package/dist/{chunk-5BPR3YKT.mjs → chunk-35XLNF3G.mjs} +1 -1
- package/dist/{chunk-W6VKKBUG.mjs → chunk-4GX7CE6Y.mjs} +1 -1
- package/dist/{chunk-ENDXPA4H.mjs → chunk-4NYS3NVA.mjs} +1 -1
- package/dist/chunk-5F7XZ6XK.mjs +1 -0
- package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
- package/dist/{chunk-H5DKU4M5.mjs → chunk-6KJKKF7P.mjs} +1 -1
- package/dist/chunk-74KJ5V34.mjs +1 -0
- package/dist/{chunk-DLCGGIZW.mjs → chunk-7FMMXR7S.mjs} +1 -1
- package/dist/chunk-7FR5BXX2.mjs +1 -0
- package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
- package/dist/{chunk-UDH5ASIW.mjs → chunk-ABQMNGD4.mjs} +1 -1
- package/dist/{chunk-DIPGFDJV.mjs → chunk-ATONX5RA.mjs} +1 -1
- package/dist/{chunk-Z5PNO5CB.mjs → chunk-B7DV5BIM.mjs} +1 -1
- package/dist/{chunk-QCIJUDO4.mjs → chunk-BI3AMPYD.mjs} +1 -1
- package/dist/{chunk-7SSOLQR5.mjs → chunk-BWT2MAIT.mjs} +1 -1
- package/dist/{chunk-HFSHDEMQ.mjs → chunk-E2LKSCDR.mjs} +1 -1
- package/dist/{chunk-5EFOKBKA.mjs → chunk-EQDX6HFN.mjs} +1 -1
- package/dist/{chunk-KVIQW2PH.mjs → chunk-EQFBRT7L.mjs} +1 -1
- package/dist/{chunk-O7R6EGBU.mjs → chunk-ETZFHPXX.mjs} +1 -1
- package/dist/{chunk-IJU5INGM.mjs → chunk-FR65RGJD.mjs} +1 -1
- package/dist/{chunk-SEG6IDDX.mjs → chunk-G5HD4IFA.mjs} +1 -1
- package/dist/{chunk-ECOVEIOV.mjs → chunk-I3JB7SE2.mjs} +1 -1
- package/dist/{chunk-XGKZLSIS.mjs → chunk-I5EBXVLE.mjs} +1 -1
- package/dist/{chunk-MY3PX5GI.mjs → chunk-IQ7LAP7P.mjs} +1 -1
- package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
- package/dist/{chunk-TGHOEITH.mjs → chunk-KTVHPTON.mjs} +1 -1
- package/dist/{chunk-US6CSL53.mjs → chunk-LIAT3JG5.mjs} +1 -1
- package/dist/{chunk-3ODCIQYB.mjs → chunk-MLLI6A3T.mjs} +1 -1
- package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
- package/dist/{chunk-ZLEW2CSB.mjs → chunk-NRE4HHK7.mjs} +1 -1
- package/dist/{chunk-UK4IPFAO.mjs → chunk-PVRWMAHW.mjs} +1 -1
- package/dist/{chunk-UMILL4LR.mjs → chunk-QO2Z7WXW.mjs} +1 -1
- package/dist/{chunk-HHUI6PDP.mjs → chunk-QZA2ZGA2.mjs} +1 -1
- package/dist/{chunk-GT43S672.mjs → chunk-TUQRCNY6.mjs} +1 -1
- package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
- package/dist/{chunk-HUN2X4VH.mjs → chunk-Y6CZVVJF.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/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/ReusableContent.js +1 -1
- package/dist/components/Blocks/ReusableContent.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/DealDetails.stories.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
- package/dist/components/CRM/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 +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/BlogList.js +3 -3
- package/dist/components/Layouts/BlogList.mjs +1 -1
- package/dist/components/Layouts/BlogList.stories.js +3 -3
- package/dist/components/Layouts/BlogList.stories.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +1 -1
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/SlideShow.stories.js +1 -1
- package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
- package/dist/components/Layouts/index.js +3 -3
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
- package/dist/components/Menus/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 +6 -6
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/index.js +7 -7
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.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 +186 -186
- package/dist/pages/Page.stories.mjs +1 -1
- package/dist/pages/Publish.js +1 -1
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Publish.stories.js +1 -1
- package/dist/pages/Publish.stories.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/pages/Website.stories.js +2 -2
- 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/BlogListSection.mjs +1 -1
- package/dist/sections/BlogListSection.stories.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ContactSection.stories.js +1 -1
- package/dist/sections/ContactSection.stories.mjs +1 -1
- package/dist/sections/ImageSection.stories.js +1 -1
- package/dist/sections/ImageSection.stories.mjs +1 -1
- package/dist/sections/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/package.json +1 -1
- package/dist/chunk-G6K3PK47.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 fr=Object.create;var xe=Object.defineProperty;var br=Object.getOwnPropertyDescriptor;var hr=Object.getOwnPropertyNames;var yr=Object.getPrototypeOf,xr=Object.prototype.hasOwnProperty;var vr=(e,t)=>{for(var r in t)xe(e,r,{get:t[r],enumerable:!0})},nt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of hr(t))!xr.call(e,a)&&a!==r&&xe(e,a,{get:()=>t[a],enumerable:!(n=br(t,a))||n.enumerable});return e};var D=(e,t,r)=>(r=e!=null?fr(yr(e)):{},nt(t||!e||!e.__esModule?xe(r,"default",{value:e,enumerable:!0}):r,e)),Cr=e=>nt(xe({},"__esModule",{value:!0}),e);var mo={};vr(mo,{default:()=>gr});module.exports=Cr(mo);var st=require("react/jsx-runtime"),ve=({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,st.jsx)("i",{className:s})};var Z=require("@headlessui/react"),ht=require("@heroicons/react/20/solid");var ft=require("clsx");var Je="-",kr=e=>{let t=Ar(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{let s=i.split(Je);return s[0]===""&&s.length!==1&&s.shift(),ct(s,t)||wr(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&n[i]?[...c,...n[i]]:c}}},ct=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),a=n?ct(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;let o=e.join(Je);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},it=/^\[(.+)\]$/,wr=e=>{if(it.test(e)){let t=it.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Ar=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Pr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Oe(i,n,o,t)}),n},Oe=(e,t,r,n)=>{e.forEach(a=>{if(typeof a=="string"){let o=a===""?t:lt(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(Nr(a)){Oe(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{Oe(i,lt(t,o),r,n)})})},lt=(e,t)=>{let r=e;return t.split(Je).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Nr=e=>e.isThemeGetter,Pr=(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,Sr=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)}}},dt="!",Br=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let c=[],p=0,f=0,y;for(let w=0;w<s.length;w++){let P=s[w];if(p===0){if(P===a&&(n||s.slice(w,w+o)===t)){c.push(s.slice(f,w)),f=w+o;continue}if(P==="/"){y=w;continue}}P==="["?p++:P==="]"&&p--}let u=c.length===0?s:s.substring(f),h=u.startsWith(dt),N=h?u.substring(1):u,v=y&&y>f?y-f:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:N,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},Tr=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},Ir=e=>({cache:Sr(e.cacheSize),parseClassName:Br(e),...kr(e)}),Rr=/\s+/,Dr=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(Rr),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:f,hasImportantModifier:y,baseClassName:u,maybePostfixModifierPosition:h}=r(p),N=!!h,v=n(N?u.substring(0,h):u);if(!v){if(!N){s=p+(s.length>0?" "+s:s);continue}if(v=n(u),!v){s=p+(s.length>0?" "+s:s);continue}N=!1}let w=Tr(f).join(":"),P=y?w+dt:w,I=P+v;if(o.includes(I))continue;o.push(I);let Y=a(v,N);for(let K=0;K<Y.length;++K){let be=Y[K];o.push(P+be)}s=p+(s.length>0?" "+s:s)}return s};function Mr(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=pt(t))&&(n&&(n+=" "),n+=r);return n}var pt=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=pt(e[n]))&&(r&&(r+=" "),r+=t);return r};function Lr(e,...t){let r,n,a,o=i;function i(c){let p=t.reduce((f,y)=>y(f),e());return r=Ir(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 f=Dr(c,r);return a(c,f),f}return function(){return o(Mr.apply(null,arguments))}}var C=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},mt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Hr=/^\d+\/\d+$/,Fr=new Set(["px","full","screen"]),Er=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,zr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|st|min|max))|\st(calc|min|max|clamp)\(.+\)|^0$/,Gr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ur=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)st-?((\d+)?\.?(\d+)[a-z]+|0)/,Or=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>W(e)||Fr.has(e)||Hr.test(e),U=e=>q(e,"length",$r),W=e=>!!e&&!Number.isNaN(Number(e)),Ue=e=>q(e,"number",W),se=e=>!!e&&Number.isInteger(Number(e)),Jr=e=>e.endsWith("%")&&W(e.slice(0,-1)),d=e=>mt.test(e),O=e=>Er.test(e),Yr=new Set(["length","size","percentage"]),Kr=e=>q(e,Yr,ut),Qr=e=>q(e,"position",ut),Vr=new Set(["image","url"]),_r=e=>q(e,Vr,Wr),Xr=e=>q(e,"",jr),ie=()=>!0,q=(e,t,r)=>{let n=mt.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},$r=e=>zr.test(e)&&!Gr.test(e),ut=()=>!1,jr=e=>Ur.test(e),Wr=e=>Or.test(e);var qr=()=>{let e=C("colors"),t=C("spacing"),r=C("blur"),n=C("brightness"),a=C("borderColor"),o=C("borderRadius"),i=C("borderSpacing"),s=C("borderWidth"),c=C("contrast"),p=C("grayscale"),f=C("hueRotate"),y=C("invert"),u=C("gap"),h=C("gradientColorStops"),N=C("gradientColorStopPositions"),v=C("inset"),w=C("margin"),P=C("opacity"),I=C("padding"),Y=C("saturate"),K=C("scale"),be=C("sepia"),qe=C("skew"),Ze=C("space"),et=C("translate"),Fe=()=>["auto","contain","none"],Ee=()=>["auto","hidden","clip","visible","scroll"],ze=()=>["auto",d,t],k=()=>[d,t],tt=()=>["",E,U],he=()=>["auto",W,d],rt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ye=()=>["solid","dashed","dotted","double","none"],ot=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ge=()=>["start","end","center","between","around","evenly","stretch"],ne=()=>["","0",d],at=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[W,d];return{cacheSize:500,separator:":",theme:{colors:[ie],spacing:[E,U],blur:["none","",O,d],brightness:F(),borderColor:[e],borderRadius:["none","","full",O,d],borderSpacing:k(),borderWidth:tt(),contrast:F(),grayscale:ne(),hueRotate:F(),invert:ne(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Jr,U],inset:ze(),margin:ze(),opacity:F(),padding:k(),saturate:F(),scale:F(),sepia:ne(),skew:F(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[O]}],"break-after":[{"break-after":at()}],"break-before":[{"break-before":at()}],"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:[...rt(),d]}],overflow:[{overflow:Ee()}],"overflow-st":[{"overflow-st":Ee()}],"overflow-y":[{"overflow-y":Ee()}],overscroll:[{overscroll:Fe()}],"overscroll-st":[{"overscroll-st":Fe()}],"overscroll-y":[{"overscroll-y":Fe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-st":[{"inset-st":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",se,d]}],basis:[{basis:ze()}],"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:ne()}],shrink:[{shrink:ne()}],order:[{order:["first","last","none",se,d]}],"grid-cols":[{"grid-cols":[ie]}],"col-start-end":[{col:["auto",{span:["full",se,d]},d]}],"col-start":[{"col-start":he()}],"col-end":[{"col-end":he()}],"grid-rows":[{"grid-rows":[ie]}],"row-start-end":[{row:["auto",{span:[se,d]},d]}],"row-start":[{"row-start":he()}],"row-end":[{"row-end":he()}],"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:[u]}],"gap-st":[{"gap-st":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...Ge()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ge(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ge(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],st:[{st:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],st:[{st:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-st":[{"space-st":[Ze]}],"space-st-reverse":["space-st-reverse"],"space-y":[{"space-y":[Ze]}],"space-y-reverse":["space-y-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:[O]},O]}],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",O,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ue]}],"font-family":[{font:[ie]}],"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",W,Ue]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",E,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":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ye(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,U]}],"underline-offset":[{"underline-offset":["auto",E,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":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...rt(),Qr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","st","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","st","bl","l","tl"]},_r]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-st":[{"rounded-st":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-st":[{"border-st":[s]}],"border-w-y":[{"border-y":[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-st":[{"border-st":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...ye(),"hidden"]}],"divide-st":[{"divide-st":[s]}],"divide-st-reverse":["divide-st-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:ye()}],"border-color":[{border:[a]}],"border-color-st":[{"border-st":[a]}],"border-color-y":[{"border-y":[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-st":[{"border-st":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...ye()]}],"outline-offset":[{"outline-offset":[E,d]}],"outline-w":[{outline:[E,U]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:tt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[E,U]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",O,Xr]}],"shadow-color":[{shadow:[ie]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...ot(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ot()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",O,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[y]}],saturate:[{saturate:[Y]}],sepia:[{sepia:[be]}],"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":[f]}],"backdrop-invert":[{"backdrop-invert":[y]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[Y]}],"backdrop-sepia":[{"backdrop-sepia":[be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-st":[{"border-spacing-st":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[K]}],"scale-st":[{"scale-st":[K]}],"scale-y":[{"scale-y":[K]}],rotate:[{rotate:[se,d]}],"translate-st":[{"translate-st":[et]}],"translate-y":[{"translate-y":[et]}],"skew-st":[{"skew-st":[qe]}],"skew-y":[{"skew-y":[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","se-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","y","st",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-st":[{"scroll-st":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":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-st":[{"scroll-st":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","st","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-st":[{"touch-pan":["st","left","right"]}],"touch-y":[{"touch-pan":["y","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:[E,U,Ue]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-st","overflow-y"],overscroll:["overscroll-st","overscroll-y"],inset:["inset-st","inset-y","start","end","top","right","bottom","left"],"inset-st":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-st","gap-y"],p:["px","py","ps","st","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],st:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","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-st","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-st":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-st","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-st","border-w-l"],"border-w-st":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-st"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-st","border-color-l"],"border-color-st":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-st"],"scroll-st":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-st","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-st","touch-y","touch-pz"],"touch-st":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var gt=Lr(qr);function l(...e){return gt((0,ft.clsx)(e))}var Zr=({name:e,items:t,actions:r=[],href:n})=>!t&&n?(0,st.jsx)("a",{href:n,className:"flex items-center gap-st-1 text-sm font-semibold text-foreground group",children:(0,st.jsxs)("span",{className:"relative",children:[e,(0,st.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-st-1/2 scale-st-0 transition-transform duration-300 ease-in-out group-hover:scale-st-100"})]})}):(0,st.jsxs)(Z.Popover,{children:[(0,st.jsxs)(Z.PopoverButton,{className:"flex items-center gap-st-1 text-sm/6 font-semibold text-foreground outline-none group",children:[(0,st.jsxs)("span",{className:"relative",children:[e,(0,st.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-st-1/2 scale-st-0 transition-transform duration-300 ease-in-out group-hover:scale-st-100"})]}),(0,st.jsx)(ht.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,st.jsxs)(Z.PopoverPanel,{transition:!0,className:"absolute inset-st-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,st.jsx)("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-st-4 px-6 py-10 lg:px-8 xl:gap-st-8 z-50",children:t&&t.map(a=>(0,st.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,st.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,st.jsx)(bt,{icon:a.icon,size:"4x"})}),(0,st.jsxs)("a",{href:a.href,className:"mt-6 block font-semibold text-popover-foreground group-hover:text-accent",children:[a.name,(0,st.jsx)("span",{className:"absolute inset-0"})]}),(0,st.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:a.description})]},a.name))}),r.length>0&&(0,st.jsx)("div",{className:"bg-gray-50",children:(0,st.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,st.jsx)("div",{className:"grid grid-cols-3 divide-st divide-gray-900/5 border-st border-gray-900/5",children:r.map(a=>(0,st.jsxs)("a",{href:a.href,className:"flex items-center max-h-12 justify-center gap-st-2.5 p-3 text-sm/6 font-semibold text-gray-900 hover:bg-gray-100",children:[a.icon&&(0,st.jsx)(bt,{icon:a.icon,className:"h-5 w-5 flex-none text-gray-400"}),a.name]},a.name))})})})]})]}),bt=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,st.jsx)(ve,{...e,size:r});if("src"in e)return(0,st.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,st.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},yt=Zr;var ee=require("react");function Ce({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let a=l("container",t&&"full-width",r&&"no-padding",n);return(0,st.jsx)("div",{className:a,children:e})}var vt=D(require("next/link"));function ke({children:e,href:t,openNewTab:r,...n}){return(0,st.jsx)(vt.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var Ye=D(require("next/image"));function ce({logoLight:e,logoDark:t,mobile:r=!1}){return(0,st.jsxs)(ke,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,st.jsx)(Ye.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,st.jsx)(Ye.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 kt=require("next-themes"),we=require("lucide-react");function At({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n}){let[a,o]=(0,ee.useState)(!1),[i,s]=(0,ee.useState)(""),c=["light","dark"],{theme:p,setTheme:f}=(0,kt.useTheme)();(0,ee.useEffect)(()=>{s(p||"dark")},[p]);let y=()=>{let u=c[(c.indexOf(i)+1)%c.length];s(u),f(u)};return(0,ee.useEffect)(()=>{let u=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),(0,st.jsx)(st.Fragment,{children:(0,st.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${a||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,st.jsx)(Ce,{className:"px-0",children:(0,st.jsx)("nav",{className:"backdrop-blur-sm text-white p-0 rounded-st-xl",children:(0,st.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-st-xl border border-t-0 border-accent",children:[(0,st.jsx)(ce,{logoDark:r,logoLight:t}),(0,st.jsx)(Z.PopoverGroup,{className:"hidden lg:flex lg:gap-st-12",children:n&&n.map(u=>(0,st.jsx)(yt,{...u},u.name))}),(0,st.jsx)("div",{className:"flex items-center space-st-4",children:(0,st.jsx)("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:y,children:(0,st.jsxs)("div",{className:"relative",children:[(0,st.jsx)(we.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,st.jsx)(we.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})})]})})})})})}var Ae=require("@heroicons/react/24/outline");var Ke=["light","dark"];function Pt({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:n=!0}){let[a,o]=(0,ee.useState)(!1),{theme:i,setTheme:s}=(0,kt.useTheme)(),[c,p]=(0,ee.useState)(!1),[f,y]=(0,ee.useState)("light");(0,ee.useEffect)(()=>{let h=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),(0,ee.useEffect)(()=>{y(i||"dark")},[i]);let u=()=>{let h=Ke[(Ke.indexOf(f)+1)%Ke.length];y(h),s(h)};return(0,st.jsx)(st.Fragment,{children:(0,st.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${a||n?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,st.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,st.jsxs)("div",{className:"flex items-stretch justify-between bg-accent px-2 py-0 dark:bg-[#212124] [&st.logo-light]:[filter:brightness(0)_invert(1)] dark:border-st dark:border-accent",children:[(0,st.jsx)(ce,{logoDark:t,logoLight:e,mobile:!0}),(0,st.jsxs)("div",{className:"flex items-center space-st-4",children:[(0,st.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[(0,st.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,st.jsx)(Ae.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,st.jsx)("button",{className:"fixed right-16 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",onClick:u,children:(0,st.jsxs)("div",{className:"relative",children:[(0,st.jsx)(we.Sun,{className:"absolute h-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,st.jsx)(we.Moon,{className:"absoulte h-4 w-4 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})]})}),(0,st.jsxs)(Z.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,st.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,st.jsxs)(Z.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,st.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,st.jsx)(ce,{logoDark:t,logoLight:e,mobile:!0}),(0,st.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-st-2.5 rounded-md p-2.5 text-gray-700 dark:text-foreground outline-none hover:text-accent",children:[(0,st.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,st.jsx)(Ae.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,st.jsx)("div",{className:"mt-6 flow-root",children:(0,st.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,st.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(h=>(0,st.jsx)(eo,{...h},h.name))})})})]})]})]})})}function eo({name:e,items:t,actions:r,href:n}){return!t&&n?(0,st.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,st.jsxs)(Z.Disclosure,{as:"div",className:"-mx-3",children:[(0,st.jsx)(Z.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,st.jsx)(Z.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(a=>(0,st.jsx)(Z.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 St=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 Bt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n,className:a}){return(0,st.jsxs)("div",{className:l("fixed top-0 left-0 right-0 z-50",a),children:[(0,st.jsx)(At,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n}),(0,st.jsx)(Pt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:n})]})}var Ft=D(require("react")),Et=D(require("next/image"));var Tt=require("@radix-ui/react-slot"),It=require("class-variance-authority"),Rt=D(require("react")),to=(0,It.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"}}}),z=Rt.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,st.jsx)(e?Tt.Slot:"button",{className:l(to({className:t,size:r,variant:n})),ref:o,...a}));z.displayName="Button";var Lt=(0,It.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 Qe({className:e,variant:t,...r}){return(0,st.jsx)("div",{className:l(Lt({variant:t}),e),...r})}var zt=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:n,publishedAt:a,title:o}=e;return(0,st.jsxs)("div",{className:"relative grid",children:[(0,st.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground p-6 lg:p-12",children:(0,st.jsxs)("div",{className:"container mx-auto",children:[(0,st.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,st.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[n&&n.length>0&&(0,st.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,st.jsxs)("p",{className:"text-sm",children:["Author",n.length>1?"s":""]}),(0,st.jsx)("p",{children:n.map((s,c)=>(0,st.jsxs)(Ft.default.Fragment,{children:[s.name,c<n.length-2&&", ",c===n.length-2&&(n.length>2?", and ":" and ")]},s.id))})]}),a&&(0,st.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,st.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,st.jsx)("time",{dateTime:a,children:St(a)})]}),t&&t.length>0&&(0,st.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,st.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,st.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,st.jsx)(Qe,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,st.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,st.jsx)(Et.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,st.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 Gt="../cortex-reply-light-27IMI3G7.png";var Ut="../cortex-reply-dark-XPAJJJYY.png";var Ot="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var dr=D(require("next/image"));var Jt=({className:e,content:t,style:r})=>(0,st.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,st.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,st.jsx)(R,{content:t,enableGutter:!1,enableProse:!1})})});var Ve=D(require("next/link")),V=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:c,url:p}=e,f=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(!f)return null;let y=r==="link"?"clear":c,u=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,st.jsxs)(Ve.default,{className:l(a),href:f||p||"",...u,children:[o&&o,n&&n]}):(0,st.jsx)(z,{asChild:!0,className:a,size:y,variant:r,children:(0,st.jsxs)(Ve.default,{className:l(a),href:f||p||"",...u,children:[o&&o,n&&n]})})};var Se=({links:e,richText:t})=>(0,st.jsx)("div",{className:"container",children:(0,st.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,st.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,st.jsx)(R,{className:"mb-0",content:t,enableGutter:!1})}),(0,st.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},n)=>(0,st.jsx)(V,{size:"lg",...r},n))})]})});var Be=require("prism-react-renderer");function Qt({code:e}){let[t,r]=(0,ee.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,st.jsx)("div",{className:"flex justify-end align-middle",children:(0,st.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,st.jsx)("p",{children:t}),(0,st.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,st.jsx)(we.ClipboardCopy,{})})]})})}var Vt=({code:e,language:t=""})=>e?(0,st.jsx)(Be.Highlight,{code:e,language:t,theme:Be.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:a})=>(0,st.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-st-auto",children:[a.map((o,i)=>(0,st.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,st.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,st.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,st.jsx)("span",{...n({token:s})},c))})]},i)),(0,st.jsx)(Qt,{code:e})]})}):null;var _t=({className:e,code:t,language:r})=>(0,st.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,st.jsx)(Vt,{code:t,language:r})});var $t=D(require("next/image")),ao={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Xt="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=",jt=e=>{let{alt:t,fill:r,imgClassName:n,priority:a,resource:o,size:i,src:s,loading:c}=e,p,f,y=t,u=s||"";if(!u&&o&&typeof o=="object"){let{alt:v,filename:w,height:P,url:I,width:Y}=o;p=Y,f=P,y=v||"",u=I||Xt}let h=c||"lazy",N=i||Object.entries(ao).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,st.jsx)("picture",{children:(0,st.jsx)($t.default,{alt:y||"",className:l(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Xt,priority:h!=="lazy"&&a,quality:100,loading:h,sizes:N,src:u,width:r?void 0:p})})};var Wt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var qt=()=>{if(Wt){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var Zt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,a=(0,ee.useRef)(null);if((0,ee.useEffect)(()=>{let{current:o}=a;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,$e.jsx)("video",{autoPlay:!0,className:l(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:a,children:(0,$e.jsx)("source",{src:`${qt()}/media/${o}`})})}return null};var Re=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,st.jsx)(r||ee.Fragment,{...r!==null?{className:t}:{},children:a?(0,st.jsx)(Zt,{...e}):(0,st.jsx)(jt,{...e})})};var me=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,st.jsx)("div",{className:l("",{container:r},t),children:(0,st.jsx)(Re,{imgClassName:l("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var tr=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:a,staticImage:o}=e;return(0,st.jsx)("div",{className:l("",{container:r},t),children:(0,st.jsx)(Re,{imgClassName:l("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var X=D(require("react"));var te=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));te.displayName="Card";var ue=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 p-6",e),...t}));ue.displayName="CardHeader";var ge=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));ge.displayName="CardTitle";var no=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));no.displayName="CardDescription";var re=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));re.displayName="CardContent";var so=X.forwardRef(({className:e,...t},r)=>(0,$.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));so.displayName="CardFooter";function io(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function rr({variant:e="light",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:c}){let p={solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"};return console.log("content",typeof o),(0,st.jsxs)("div",{className:l("rounded-3xl p-8 md:p-12",p[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,st.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,st.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:io(r)?(0,st.jsx)(ve,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,st.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&i&&(0,st.jsx)("div",{className:"mb-6",children:(0,st.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),a&&(0,st.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,st.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,st.jsx)(R,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,st.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,st.jsx)("div",{className:"mt-8",children:(0,st.jsx)(z,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,st.jsxs)("a",{href:c,children:[s,(0,st.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,st.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 De=({title:e,description:t,features:r,id:n})=>(0,st.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,st.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl",id:n||"",children:e}),t&&typeof t=="string"&&(0,st.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,st.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,st.jsx)(R,{content:t,enableGutter:!1})}),(0,st.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((a,o)=>{var i,s,c,p,f;if(((i=a.settings)==null?void 0:i.contents)==="icon")return(0,st.jsx)(lo,{section:a,index:o},o);{let y=()=>{if(a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,st.jsx)(rr,{variant:((s=a.settings)==null?void 0:s.card)==="default"?"solid":((c=a.settings)==null?void 0:c.card)||"solid",icon:y()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(p=a.link)!=null&&p.url?"Find out more":void 0,buttonHref:((f=a.link)==null?void 0:f.url)||void 0},o)}})})]}),lo=({section:e,index:t})=>{if(!e)return null;let r=(0,st.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,st.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,st.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,st.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,st.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,st.jsx)("div",{className:"text-lg opacity-80",children:(0,st.jsx)(R,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,st.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var nr=D(require("next/image"));var or=e=>{let{columns:t}=e,r={full:"12",half:"6",oneThird:"4",twoThirds:"8"};return(0,st.jsx)("div",{className:"container my-6",children:(0,st.jsx)("div",{className:"grid grid-cols-4 lg:grid-cols-12 gap-y-8 gap-st-16",children:t&&t.length>0&&t.map((n,a)=>{let{enableLink:o,link:i,richText:s,size:c}=n;return(0,st.jsxs)("div",{className:l(`col-span-4 lg:col-span-${r[c]}`,{"md:col-span-2":c!=="full"}),children:[s&&(0,st.jsx)(R,{content:s,enableGutter:!1}),o&&(0,st.jsx)(V,{...i})]},a)})})})};var ar={content:or,cta:Se,mediaBlock:me,imageBlock:me,features:De,reusableContentBlock:Me},sr=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?(0,st.jsx)("section",{id:"render-blocks",children:t.map((n,a)=>{var s;let{blockType:o}=n,i=n==null?void 0:n.theme;if(o&&o in ar){let c=ar[o];if(c)return(0,st.jsxs)("div",{className:"py-6 relative",children:[(0,st.jsx)(co,{block:n,index:a}),(0,st.jsx)("div",{className:l("container",((s=i==null?void 0:i.settings)==null?void 0:s.theme)==="dark"?"dark":""),children:(0,st.jsx)(c,{...n})})]},a)}return null})}):null},co=e=>{var r;if(console.log("props",e),!("theme"in e.block))return null;let t=(r=e.block)==null?void 0:r.theme;if(console.log("theme",t),t.settings.background==="image"){let n={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return console.log("themeSettings",n),(0,st.jsxs)("div",{className:l("absolute inset-0 w-full h-full -z-10",t.settings.theme==="dark"?"dark bg-background":""),children:[(0,st.jsx)(nr.default,{src:t.settings.image.url||"/placeholder.svg",alt:t.settings.image.alt,fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&(0,st.jsx)("div",{className:"absolute inset-0",style:{background:n.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return(0,st.jsx)("div",{className:l("absolute inset-0 -z-10 w-screen h-full",t.settings.theme==="dark"?"dark bg-background":"")})};var Me=e=>{let{customId:t,reusableContent:r}=e;return typeof r=="object"&&r!==null?(0,st.jsx)(sr,{blocks:r.layout}):(0,st.jsx)(st.Fragment,{})};var He=D(require("react"));function Le({nodes:e}){return(0,st.jsx)(He.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,st.jsx)(He.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,st.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,st.jsx)("em",{children:o},r)),t.format&4&&(o=(0,st.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,st.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,st.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,st.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,st.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,st.jsx)("table",{children:(0,st.jsx)("tbody",{children:t.children.map((o,i)=>(0,st.jsx)("tr",{children:o.children.map((s,c)=>(0,st.jsx)("td",{children:Le({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 Le({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,st.jsx)(Se,{...o},r);case"mediaBlock":return(0,st.jsx)(me,{className:"col-start-1 col-span-3",imgClassName:"st-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,st.jsx)(tr,{className:"col-start-1 col-span-3",imgClassName:"st-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,st.jsx)(Jt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,st.jsx)(_t,{className:"col-start-2",...o},r);case"features":return(0,st.jsx)(De,{...o},r);case"reusableContentBlock":return(0,st.jsx)(Me,{...o,reusableContent:o.reusableContent},r);default:return null}}else switch(t.type){case"linebreak":return(0,st.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,st.jsx)("p",{className:"col-start-2",children:a},r);case"heading":{let o=t==null?void 0:t.tag;return(0,st.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,st.jsx)(o,{className:"list col-start-2",children:a},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,st.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,st.jsx)("li",{value:t==null?void 0:t.value,children:a},r);case"quote":return(0,st.jsx)("blockquote",{className:"col-start-2",children:a},r);case"link":{let o=t.fields;return(0,st.jsx)(V,{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,st.jsx)(V,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var R=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var a;return t?(0,st.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&&Le({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var pr=require("next/navigation");var En=l("transition-colors duration-400 hover:text-primary ease-in-out");function cr({title:e,links:t}){let r=(0,pr.useSearchParams)(),n=(0,pr.usePathname)(),{replace:a}=(0,pr.useRouter)();function o(i){let s=new URLSearchParams(r);i?s.set("category",i):s.delete("category"),a(`${n}?${s.toString()}`)}return(0,st.jsxs)(te,{children:[(0,st.jsx)(ue,{children:(0,st.jsx)(ge,{className:"text-accent",children:e&&e})}),(0,st.jsx)(re,{children:t&&t.length>0&&(0,st.jsx)("nav",{"aria-label":"footer links navigation",children:(0,st.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((i,s)=>(0,st.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,st.jsx)(we.ExternalLink,{className:"ml-1 h-3 w-3"})]},s))})})})]})}var mr=D(require("next/link"));function po({image:e,name:t,about:r,socialLinks:n}){return!e||!e.src||e.src.length<3||!t?null:(0,st.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,st.jsx)(te,{children:(0,st.jsxs)(re,{children:[e&&e.src&&(0,st.jsx)(dr.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Ot,className:"mx-auto mt-6 rounded-full object-cover"}),(0,st.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,st.jsx)("p",{children:r}),n&&n.length>0&&(0,st.jsx)("nav",{"aria-label":"social links",children:(0,st.jsx)("ul",{className:"inline-flex items-center divide-st divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((a,o)=>(0,st.jsx)("li",{children:(0,st.jsx)(ke,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,st.jsx)("span",{children:a.icon})})},o))})})]})})})}function ur({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var u;if(!e)return(0,pr.notFound)();let{meta:a,populatedAuthors:o,authors:i,categories:s,content:c,title:p}=e,f={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:s,commentCount:0,title:p,description:(a==null?void 0:a.description)||""},y=i==null?void 0:i.map(h=>{var N,v;return{name:h.name||"",about:"",image:{src:h.profilePicture&&((v=(N=h.profilePicture.sizes)==null?void 0:N.square)==null?void 0:v.url)||"",alt:h.name||"blog author"},socialLinks:[]}});return(0,st.jsx)(Ce,{children:(0,st.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,st.jsx)("div",{children:(0,st.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,st.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,st.jsx)(R,{content:c,enableGutter:!1})]})}),(0,st.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,st.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,st.jsxs)(te,{children:[(0,st.jsx)(ue,{children:(0,st.jsx)(ge,{className:"text-accent",children:"Content Actions"})}),(0,st.jsxs)(re,{children:[(0,st.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,st.jsx)(mr.default,{href:`${n}${e.id}`,children:(0,st.jsx)(z,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),y&&y.map((h,N)=>(0,st.jsx)(po,{...h},N)),t&&t.links&&(0,st.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,st.jsx)(cr,{links:t.links,title:t.title})})]})]})})}function gr({...e}){return(0,st.jsxs)("div",{children:[(0,st.jsx)(Bt,{isMenuOpen:!0,logoLight:Gt,logoDark:Ut}),(0,st.jsx)(zt,{...e.hero}),(0,st.jsx)(ur,{className:"!pb-0",...e.blog})]})}
|
|
4
|
+
"use strict";var ir=Object.create;var be=Object.defineProperty;var lr=Object.getOwnPropertyDescriptor;var cr=Object.getOwnPropertyNames;var dr=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty;var mr=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},qe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of cr(t))!pr.call(e,a)&&a!==r&&be(e,a,{get:()=>t[a],enumerable:!(n=lr(t,a))||n.enumerable});return e};var R=(e,t,r)=>(r=e!=null?ir(dr(e)):{},qe(t||!e||!e.__esModule?be(r,"default",{value:e,enumerable:!0}):r,e)),ur=e=>qe(be({},"__esModule",{value:!0}),e);var ro={};mr(ro,{default:()=>sr});module.exports=ur(ro);var Ze=require("react/jsx-runtime"),he=({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="-",gr=e=>{let t=br(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)||fr(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=/^\[(.+)\]$/,fr=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}},br=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return xr(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(hr(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},hr=e=>e.isThemeGetter,xr=(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,yr=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="!",vr=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,a=t[0],o=t.length,i=s=>{let c=[],p=0,f=0,x;for(let k=0;k<s.length;k++){let P=s[k];if(p===0){if(P===a&&(n||s.slice(k,k+o)===t)){c.push(s.slice(f,k)),f=k+o;continue}if(P==="/"){x=k;continue}}P==="["?p++:P==="]"&&p--}let u=c.length===0?s:s.substring(f),b=u.startsWith(ot),N=b?u.substring(1):u,v=x&&x>f?x-f:void 0;return{modifiers:c,hasImportantModifier:b,baseClassName:N,maybePostfixModifierPosition:v}};return r?s=>r({className:s,parseClassName:i}):i},wr=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},Cr=e=>({cache:yr(e.cacheSize),parseClassName:vr(e),...gr(e)}),kr=/\s+/,Ar=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=[],i=e.trim().split(kr),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:f,hasImportantModifier:x,baseClassName:u,maybePostfixModifierPosition:b}=r(p),N=!!b,v=n(N?u.substring(0,b):u);if(!v){if(!N){s=p+(s.length>0?" "+s:s);continue}if(v=n(u),!v){s=p+(s.length>0?" "+s:s);continue}N=!1}let k=wr(f).join(":"),P=x?k+ot:k,I=P+v;if(o.includes(I))continue;o.push(I);let J=a(v,N);for(let Y=0;Y<J.length;++Y){let ue=J[Y];o.push(P+ue)}s=p+(s.length>0?" "+s:s)}return s};function Nr(){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 Pr(e,...t){let r,n,a,o=i;function i(c){let p=t.reduce((f,x)=>x(f),e());return r=Cr(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 f=Ar(c,r);return a(c,f),f}return function(){return o(Nr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},nt=/^\[(?:([a-Ze-]+):)?(.+)\]$/i,Sr=/^\d+\/\d+$/,Br=new Set(["px","full","screen"]),Tr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ir=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|Ze|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Dr=/^(inset_)?-?((\d+)?\.?(\d+)[a-Ze]+|0)Ze-?((\d+)?\.?(\d+)[a-Ze]+|0)/,Mr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>X(e)||Br.has(e)||Sr.test(e),G=e=>$(e,"length",Or),X=e=>!!e&&!Number.isNaN(Number(e)),Me=e=>$(e,"number",X),oe=e=>!!e&&Number.isInteger(Number(e)),Lr=e=>e.endsWith("%")&&X(e.slice(0,-1)),d=e=>nt.test(e),U=e=>Tr.test(e),Hr=new Set(["length","size","percentage"]),Er=e=>$(e,Hr,st),Fr=e=>$(e,"position",st),zr=new Set(["image","url"]),Gr=e=>$(e,zr,Yr),Ur=e=>$(e,"",Jr),ae=()=>!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},Or=e=>Ir.test(e)&&!Rr.test(e),st=()=>!1,Jr=e=>Dr.test(e),Yr=e=>Mr.test(e);var Kr=()=>{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"),f=w("hueRotate"),x=w("invert"),u=w("gap"),b=w("gradientColorStops"),N=w("gradientColorStopPositions"),v=w("inset"),k=w("margin"),P=w("opacity"),I=w("padding"),J=w("saturate"),Y=w("scale"),ue=w("sepia"),Qe=w("skew"),Ve=w("space"),_e=w("translate"),Te=()=>["auto","contain","none"],Ie=()=>["auto","hidden","clip","visible","scroll"],Re=()=>["auto",d,t],C=()=>[d,t],Xe=()=>["",E,G],ge=()=>["auto",X,d],$e=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],fe=()=>["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"],H=()=>[X,d];return{cacheSize:500,separator:":",theme:{colors:[ae],spacing:[E,G],blur:["none","",U,d],brightness:H(),borderColor:[e],borderRadius:["none","","full",U,d],borderSpacing:C(),borderWidth:Xe(),contrast:H(),grayscale:re(),hueRotate:H(),invert:re(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[Lr,G],inset:Re(),margin:Re(),opacity:H(),padding:C(),saturate:H(),scale:H(),sepia:re(),skew:H(),space:C(),translate:C()},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:Ie()}],"overflow-x":[{"overflow-x":Ie()}],"overflow-Ze":[{"overflow-Ze":Ie()}],overscroll:[{overscroll:Te()}],"overscroll-x":[{"overscroll-x":Te()}],"overscroll-Ze":[{"overscroll-Ze":Te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[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",oe,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",oe,d]}],"grid-cols":[{"grid-cols":[ae]}],"col-start-end":[{col:["auto",{span:["full",oe,d]},d]}],"col-start":[{"col-start":ge()}],"col-end":[{"col-end":ge()}],"grid-rows":[{"grid-rows":[ae]}],"row-start-end":[{row:["auto",{span:[oe,d]},d]}],"row-start":[{"row-start":ge()}],"row-end":[{"row-end":ge()}],"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:[u]}],"gap-x":[{"gap-x":[u]}],"gap-Ze":[{"gap-Ze":[u]}],"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:[I]}],px:[{px:[I]}],py:[{py:[I]}],ps:[{ps:[I]}],pe:[{pe:[I]}],pt:[{pt:[I]}],pr:[{pr:[I]}],pb:[{pb:[I]}],pl:[{pl:[I]}],Ze:[{Ze:[k]}],mx:[{mx:[k]}],my:[{my:[k]}],ms:[{ms:[k]}],me:[{me:[k]}],Ze:[{Ze:[k]}],mr:[{mr:[k]}],mb:[{mb:[k]}],ml:[{ml:[k]}],"space-x":[{"space-x":[Ve]}],"space-x-reverse":["space-x-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]}],Ze:[{Ze:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-Ze":[{"min-Ze":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-Ze":[{"max-Ze":[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:[ae]}],"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",E,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":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...fe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,G]}],"underline-offset":[{"underline-offset":["auto",E,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:C()}],"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":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$e(),Fr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","Ze","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Er]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Gr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-or":[{"rounded-or":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[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-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...fe(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-Ze":[{"divide-Ze":[s]}],"divide-Ze-reverse":["divide-Ze-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:fe()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[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-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...fe()]}],"outline-offset":[{"outline-offset":[E,d]}],"outline-w":[{outline:[E,G]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Xe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[E,G]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",U,Ur]}],"shadow-color":[{shadow:[ae]}],opacity:[{opacity:[P]}],"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":[f]}],invert:[{invert:[x]}],saturate:[{saturate:[J]}],sepia:[{sepia:[ue]}],"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":[f]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[ue]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[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:H()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Y]}],"scale-x":[{"scale-x":[Y]}],"scale-Ze":[{"scale-Ze":[Y]}],rotate:[{rotate:[oe,d]}],"translate-x":[{"translate-x":[_e]}],"translate-Ze":[{"translate-Ze":[_e]}],"skew-x":[{"skew-x":[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","Ze-resize","nw-resize","se-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","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ze":[{"scroll-Ze":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-Ze":[{"scroll-Ze":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","Ze","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","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:[E,G,Me]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-Ze"],overscroll:["overscroll-x","overscroll-Ze"],inset:["inset-x","inset-Ze","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-Ze":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-Ze"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ze:["mx","my","ms","me","Ze","mr","mb","ml"],mx:["mr","ml"],my:["Ze","mb"],size:["w","Ze"],"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-b","rounded-l","rounded-ss","rounded-se","rounded-or","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-or"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-Ze"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-Ze":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-Ze":["border-color-t","border-color-b"],"scroll-Ze":["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-x","touch-Ze","touch-pz"],"touch-x":["touch"],"touch-Ze":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var it=Pr(Kr);function l(...e){return it((0,lt.clsx)(e))}var Qr=({name:e,items:t,actions:r=[],href:n})=>!t&&n?(0,Ze.jsx)("a",{href:n,className:"flex items-center gap-x-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 Ze-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,Ze.jsxs)(j.Popover,{children:[(0,Ze.jsxs)(j.PopoverButton,{className:"flex items-center gap-x-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 Ze-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,Ze.jsx)(dt.ChevronDownIcon,{"aria-hidden":"true",className:"Ze-5 w-5 flex-none text-accent"})]}),(0,Ze.jsxs)(j.PopoverPanel,{transition:!0,className:"absolute inset-x-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-x-4 px-6 py-10 lg:px-8 xl:gap-x-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 Ze-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-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(a=>(0,Ze.jsxs)("a",{href:a.href,className:"flex items-center max-Ze-12 justify-center gap-x-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:"Ze-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)(he,{...e,size:r});if("src"in e)return(0,Ze.jsx)("div",{className:l(t,"Ze-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=Qr;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=R(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=R(require("next/image"));function se({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:f}=(0,ft.useTheme)();(0,W.useEffect)(()=>{s(p||"dark")},[p]);let x=()=>{let u=c[(c.indexOf(i)+1)%c.length];s(u),f(u)};return(0,W.useEffect)(()=>{let u=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",u,{passive:!0}),()=>window.removeEventListener("scroll",u)},[]),(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-b-xl",children:(0,Ze.jsxs)("div",{className:"flex items-center justify-between bg-background px-9 py-0 dark:bg-[#212124] rounded-b-xl border border-t-0 border-accent",children:[(0,Ze.jsx)(se,{logoDark:r,logoLight:t}),(0,Ze.jsx)(j.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:n&&n.map(u=>(0,Ze.jsx)(pt,{...u},u.name))}),(0,Ze.jsx)("div",{className:"flex items-center space-x-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:x,children:(0,Ze.jsxs)("div",{className:"relative",children:[(0,Ze.jsx)(ve.Sun,{className:"absolute Ze-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ze.jsx)(ve.Moon,{className:"absoulte Ze-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),[f,x]=(0,W.useState)("light");(0,W.useEffect)(()=>{let b=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),(0,W.useEffect)(()=>{x(i||"dark")},[i]);let u=()=>{let b=Fe[(Fe.indexOf(f)+1)%Fe.length];x(b),s(b)};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-b dark:border-accent",children:[(0,Ze.jsx)(se,{logoDark:t,logoLight:e,mobile:!0}),(0,Ze.jsxs)("div",{className:"flex items-center space-x-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:"Ze-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:u,children:(0,Ze.jsxs)("div",{className:"relative",children:[(0,Ze.jsx)(ve.Sun,{className:"absolute Ze-4 w-4 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Ze.jsx)(ve.Moon,{className:"absoulte Ze-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)(se,{logoDark:t,logoLight:e,mobile:!0}),(0,Ze.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-Ze-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:"Ze-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(b=>(0,Ze.jsx)(Vr,{...b},b.name))})})})]})]})]})})}function Vr({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 Tt=R(require("react")),It=R(require("next/image"));var Ct=require("@radix-ui/react-slot"),kt=require("class-variance-authority"),At=R(require("react")),_r=(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:"Ze-10 px-4 py-2",icon:"Ze-10 w-10",lg:"Ze-11 rounded px-8",sm:"Ze-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"}}}),F=At.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...a},o)=>(0,Ze.jsx)(e?Ct.Slot:"button",{className:l(_r({className:t,size:r,variant:n})),ref:o,...a}));F.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-Ze-[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)(Tt.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 Ze-full",children:[(0,Ze.jsx)(It.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 Ze-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 rr=R(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)(M,{content:t,enableGutter:!1,enableProse:!1})})});var Ge=R(require("next/link")),ce=e=>{let{type:t,appearance:r="inline",children:n,className:a,label:o,newTab:i,reference:s,size:c,url:p}=e,f=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(!f)return null;let x=r==="link"?"clear":c,u=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Ze.jsxs)(Ge.default,{className:l(a),href:f||p||"",...u,children:[o&&o,n&&n]}):(0,Ze.jsx)(F,{asChild:!0,className:a,size:x,variant:r,children:(0,Ze.jsxs)(Ge.default,{className:l(a),href:f||p||"",...u,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)(M,{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)(ce,{size:"lg",...r},n))})]})});var Ae=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)(F,{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 Ze-6 dark:invert",children:(0,Ze.jsx)(ve.ClipboardCopy,{})})]})})}var Ut=({code:e,language:t=""})=>e?(0,Ze.jsx)(Ae.Highlight,{code:e,language:t,theme:Ae.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-x-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=R(require("next/image")),jr={"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,f,x=t,u=s||"";if(!u&&o&&typeof o=="object"){let{alt:v,filename:k,height:P,url:I,width:J}=o;p=J,f=P,x=v||"",u=I||Jt}let b=c||"lazy",N=i||Object.entries(jr).map(([,v])=>`(max-width: ${v}px) ${v*2}w`).join(", ");return(0,Ze.jsx)("picture",{children:(0,Ze.jsx)(Yt.default,{alt:x||"",className:l(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:Jt,priority:b!=="lazy"&&a,quality:100,loading:b,sizes:N,src:u,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("",{container:r},t),children:(0,Ze.jsx)(Se,{imgClassName:l("border border-border rounded-[0.8rem]",n),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("border border-border rounded-[0.8rem]",n),resource:a,src:o})})};var V=R(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 de=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}));de.displayName="CardHeader";var pe=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));pe.displayName="CardTitle";var Wr=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Wr.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 qr=V.forwardRef(({className:e,...t},r)=>(0,Ze.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));qr.displayName="CardFooter";function Zr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Wt({variant:e="light",className:t,icon:r,heading:n,subheading:a,content:o,statistic:i,buttonText:s,buttonHref:c}){return(0,Ze.jsxs)("div",{className:l("rounded-3xl p-8 md:p-12",{solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,Ze.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,Ze.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:Zr(r)?(0,Ze.jsx)(he,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,Ze.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:n})]}),e==="solid"&&i&&(0,Ze.jsx)("div",{className:"mb-6",children:(0,Ze.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),a&&(0,Ze.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:a}),o&&typeof o=="object"&&(0,Ze.jsx)("div",{className:l("space-Ze-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,Ze.jsx)(M,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,Ze.jsx)("div",{className:l("space-Ze-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),s&&(0,Ze.jsx)("div",{className:"Ze-8",children:(0,Ze.jsx)(F,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,Ze.jsxs)("a",{href:c,children:[s,(0,Ze.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,Ze.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 Ze-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 qt=({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",id:n||"",children:e}),t&&typeof t=="string"&&(0,Ze.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,Ze.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,Ze.jsx)(M,{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 i,s,c,p,f;if(((i=a.settings)==null?void 0:i.contents)==="icon")return(0,Ze.jsx)(eo,{section:a,index:o},o);{let x=()=>{if(a.icon.type!=="none")return{type:a.icon.type,iconName:a.icon.icon}};return(0,Ze.jsx)(Wt,{variant:((s=a.settings)==null?void 0:s.card)==="default"?"solid":((c=a.settings)==null?void 0:c.card)||"solid",icon:x()||void 0,heading:a.title||"",content:a.content||void 0,statistic:a.statistic||void 0,buttonText:(p=a.link)!=null&&p.url?"Find out more":void 0,buttonHref:((f=a.link)==null?void 0:f.url)||void 0},o)}})})]}),eo=({section:e,index:t})=>{if(!e)return null;let r=(0,Ze.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,Ze.jsx)("div",{className:"text-accent Ze-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,Ze.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,Ze.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,Ze.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,Ze.jsx)("div",{className:"text-lg opacity-80",children:(0,Ze.jsx)(M,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,Ze.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var Be=R(require("react"));function me({nodes:e}){return(0,Ze.jsx)(Be.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)(Be.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)("tr",{children:o.children.map((s,c)=>(0,Ze.jsx)("td",{children:me({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 me({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:"Ze-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:"Ze-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)(qt,{...o},r);case"reusableContentBlock":me({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)(ce,{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)(ce,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:a},r)}default:return null}})})}var M=({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&&me({nodes:(a=t==null?void 0:t.root)==null?void 0:a.children})}):null};var or=require("next/navigation");var gn=l("transition-colors duration-400 hover:text-primary ease-in-out");function tr({title:e,links:t}){let r=(0,or.useSearchParams)(),n=(0,or.usePathname)(),{replace:a}=(0,or.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)(de,{children:(0,Ze.jsx)(pe,{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 Ze-3 w-3"})]},s))})})})]})}var ar=R(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)(rr.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-x 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 nr({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var u;if(!e)return(0,or.notFound)();let{meta:a,populatedAuthors:o,authors:i,categories:s,content:c,title:p}=e,f={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:((u=o==null?void 0:o[0])==null?void 0:u.name)||"",category:s,commentCount:0,title:p,description:(a==null?void 0:a.description)||""},x=i==null?void 0:i.map(b=>{var N,v;return{name:b.name||"",about:"",image:{src:b.profilePicture&&((v=(N=b.profilePicture.sizes)==null?void 0:N.square)==null?void 0:v.url)||"",alt:b.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 Ze-px bg-body/30 lg:my-5"}),(0,Ze.jsx)(M,{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)(de,{children:(0,Ze.jsx)(pe,{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)(ar.default,{href:`${n}${e.id}`,children:(0,Ze.jsx)(F,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),x&&x.map((b,N)=>(0,Ze.jsx)(to,{...b},N)),t&&t.links&&(0,Ze.jsx)("div",{className:"Ze-4 px-0 pt-0 lg:px-10",children:(0,Ze.jsx)(tr,{links:t.links,title:t.title})})]})]})})}function sr({...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)(nr,{className:"!pb-0",...e.blog})]})}
|
package/dist/pages/Blog.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-MLLI6A3T.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-LIAT3JG5.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-KSCHUMVE.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-VW33NKNZ.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-7FR5BXX2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-DRJBYVJB.mjs";import"../chunk-RZTXT4UD.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-Z4CK655R.mjs";import"../chunk-GHBJK554.mjs";import"../chunk-3TIFSACL.mjs";import"../chunk-SV3TTIPR.mjs";import"../chunk-XDP6BKTK.mjs";import"../chunk-HAYRX2WO.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-NSBNDXRL.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
|