cortex-react-components 1.53.7 → 1.53.9

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.
Files changed (122) hide show
  1. package/dist/{chunk-JB3WMW2V.mjs → chunk-3XS76N3K.mjs} +1 -1
  2. package/dist/chunk-FCCLGLML.mjs +1 -0
  3. package/dist/{chunk-ZON7P23Z.mjs → chunk-HSFVPF3U.mjs} +1 -1
  4. package/dist/{chunk-YZVR5WZF.mjs → chunk-HU7W3CXR.mjs} +1 -1
  5. package/dist/{chunk-AFYQS22K.mjs → chunk-IW7YN6UJ.mjs} +1 -1
  6. package/dist/{chunk-UBLSFHFX.mjs → chunk-KYN3R74E.mjs} +1 -1
  7. package/dist/{chunk-S7I4XJS6.mjs → chunk-LLJZRF3C.mjs} +1 -1
  8. package/dist/{chunk-3C45ZWAB.mjs → chunk-MYODH36B.mjs} +1 -1
  9. package/dist/{chunk-URAT6D6U.mjs → chunk-NDVGJGTE.mjs} +1 -1
  10. package/dist/{chunk-VKA6UDCS.mjs → chunk-RTWZTSSI.mjs} +3 -3
  11. package/dist/{chunk-EJWCYWV6.mjs → chunk-UYCRIFAD.mjs} +1 -1
  12. package/dist/components/Blocks/Banner.mjs +1 -1
  13. package/dist/components/Blocks/CallToAction.mjs +1 -1
  14. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  15. package/dist/components/Blocks/Content.mjs +1 -1
  16. package/dist/components/Blocks/Content.stories.mjs +1 -1
  17. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  18. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  19. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  20. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  21. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  22. package/dist/components/Blocks/index.mjs +1 -1
  23. package/dist/components/Cards/ContentCard.mjs +1 -1
  24. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  25. package/dist/components/Cards/FeatureCard.mjs +1 -1
  26. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  27. package/dist/components/Cards/index.mjs +1 -1
  28. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  29. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  30. package/dist/components/DigitalColleagues/MainPage.stories.js +1 -1
  31. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  32. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  33. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  34. package/dist/components/HeaderFooter/Header.d.ts +2 -1
  35. package/dist/components/HeaderFooter/Header.js +1 -1
  36. package/dist/components/HeaderFooter/Header.mjs +1 -1
  37. package/dist/components/HeaderFooter/Header.stories.js +1 -1
  38. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  39. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  40. package/dist/components/HeaderFooter/index.js +1 -1
  41. package/dist/components/HeaderFooter/index.mjs +1 -1
  42. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  43. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  44. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  45. package/dist/components/Heros/PostHero/index.mjs +1 -1
  46. package/dist/components/Heros/RenderHero.mjs +1 -1
  47. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  48. package/dist/components/Heros/index.mjs +1 -1
  49. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  50. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  51. package/dist/components/Layouts/Print.mjs +1 -1
  52. package/dist/components/Layouts/Print.stories.mjs +1 -1
  53. package/dist/components/Layouts/SlideShow.mjs +1 -1
  54. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  55. package/dist/components/Layouts/index.mjs +1 -1
  56. package/dist/components/Payload/RichText/index.mjs +1 -1
  57. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  58. package/dist/components/Payload/RichText.stories.mjs +1 -1
  59. package/dist/components/Payload/index.mjs +1 -1
  60. package/dist/components/index.js +1 -1
  61. package/dist/components/index.mjs +1 -1
  62. package/dist/components/ui/index.mjs +1 -1
  63. package/dist/globals.css +1 -1
  64. package/dist/hooks/index.mjs +1 -1
  65. package/dist/index.js +2 -2
  66. package/dist/index.mjs +1 -1
  67. package/dist/metafile-cjs.json +1 -1
  68. package/dist/metafile-esm.json +1 -1
  69. package/dist/pages/Blog.js +1 -1
  70. package/dist/pages/Blog.mjs +1 -1
  71. package/dist/pages/Blog.stories.js +1 -1
  72. package/dist/pages/Blog.stories.mjs +1 -1
  73. package/dist/pages/Documentation.js +1 -1
  74. package/dist/pages/Documentation.mjs +1 -1
  75. package/dist/pages/Documentation.stories.js +1 -1
  76. package/dist/pages/Documentation.stories.mjs +1 -1
  77. package/dist/pages/IndexPage.mjs +1 -1
  78. package/dist/pages/IndexPage.stories.mjs +1 -1
  79. package/dist/pages/Intranet.mjs +1 -1
  80. package/dist/pages/Intranet.stories.mjs +1 -1
  81. package/dist/pages/LandingPage.js +1 -1
  82. package/dist/pages/LandingPage.mjs +1 -1
  83. package/dist/pages/LandingPage.stories.js +1 -1
  84. package/dist/pages/LandingPage.stories.mjs +1 -1
  85. package/dist/pages/Page.js +1 -1
  86. package/dist/pages/Page.mjs +1 -1
  87. package/dist/pages/Page.stories.js +1 -1
  88. package/dist/pages/Page.stories.mjs +1 -1
  89. package/dist/pages/Printable.stories.mjs +1 -1
  90. package/dist/pages/Publish.mjs +1 -1
  91. package/dist/pages/Publish.stories.mjs +1 -1
  92. package/dist/pages/Website.js +1 -1
  93. package/dist/pages/Website.mjs +1 -1
  94. package/dist/pages/Website.stories.js +1 -1
  95. package/dist/pages/Website.stories.mjs +1 -1
  96. package/dist/sections/AboutSection.mjs +1 -1
  97. package/dist/sections/AboutSection.stories.mjs +1 -1
  98. package/dist/sections/BlogDetail.mjs +1 -1
  99. package/dist/sections/BlogDetail.stories.mjs +1 -1
  100. package/dist/sections/BlogList.js +1 -1
  101. package/dist/sections/BlogList.mjs +1 -1
  102. package/dist/sections/BlogList.stories.js +1 -1
  103. package/dist/sections/BlogList.stories.mjs +1 -1
  104. package/dist/sections/BlogListSection.mjs +1 -1
  105. package/dist/sections/BlogListSection.stories.mjs +1 -1
  106. package/dist/sections/ContactSection.mjs +1 -1
  107. package/dist/sections/ContactSection.stories.mjs +1 -1
  108. package/dist/sections/ImageSection.stories.mjs +1 -1
  109. package/dist/sections/PageSections.js +2 -2
  110. package/dist/sections/PageSections.mjs +1 -1
  111. package/dist/sections/PageSections.stories.js +2 -2
  112. package/dist/sections/PageSections.stories.mjs +1 -1
  113. package/dist/sections/PricingSection.mjs +1 -1
  114. package/dist/sections/PricingSection.stories.mjs +1 -1
  115. package/dist/sections/ServiceDetailSection.mjs +1 -1
  116. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  117. package/dist/sections/ServiceSection.mjs +1 -1
  118. package/dist/sections/ServiceSection.stories.mjs +1 -1
  119. package/dist/sections/index.js +1 -1
  120. package/dist/sections/index.mjs +1 -1
  121. package/package.json +1 -1
  122. package/dist/chunk-Y57CQYEG.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";"use client";var sr=Object.create;var ue=Object.defineProperty;var ir=Object.getOwnPropertyDescriptor;var lr=Object.getOwnPropertyNames;var cr=Object.getPrototypeOf,dr=Object.prototype.hasOwnProperty;var pr=(e,t)=>{for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},We=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of lr(t))!dr.call(e,n)&&n!==r&&ue(e,n,{get:()=>t[n],enumerable:!(a=ir(t,n))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?sr(cr(e)):{},We(t||!e||!e.__esModule?ue(r,"default",{value:e,enumerable:!0}):r,e)),mr=e=>We(ue({},"__esModule",{value:!0}),e);var eo={};pr(eo,{default:()=>nr});module.exports=mr(eo);var _=D(require("react"));var st=require("clsx");var De="-",ur=e=>{let t=fr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(De);return s[0]===""&&s.length!==1&&s.shift(),et(s,t)||gr(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&a[i]?[...c,...a[i]]:c}}},et=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?et(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(De);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},qe=/^\[(.+)\]$/,gr=e=>{if(qe.test(e)){let t=qe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},fr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return hr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Me(i,a,o,t)}),a},Me=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Ze(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(br(n)){Me(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Me(i,Ze(t,o),r,a)})})},Ze=(e,t)=>{let r=e;return t.split(De).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},br=e=>e.isThemeGetter,hr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,xr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},tt="!",yr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let c=[],p=0,m=0,h;for(let S=0;S<s.length;S++){let T=s[S];if(p===0){if(T===n&&(a||s.slice(S,S+o)===t)){c.push(s.slice(m,S)),m=S+o;continue}if(T==="/"){h=S;continue}}T==="["?p++:T==="]"&&p--}let x=c.length===0?s:s.substring(m),v=x.startsWith(tt),P=v?x.substring(1):x,C=h&&h>m?h-m:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:P,maybePostfixModifierPosition:C}};return r?s=>r({className:s,parseClassName:i}):i},vr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},wr=e=>({cache:xr(e.cacheSize),parseClassName:yr(e),...ur(e)}),kr=/\s+/,Nr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(kr),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:m,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:v}=r(p),P=!!v,C=a(P?x.substring(0,v):x);if(!C){if(!P){s=p+(s.length>0?" "+s:s);continue}if(C=a(x),!C){s=p+(s.length>0?" "+s:s);continue}P=!1}let S=vr(m).join(":"),T=h?S+tt:S,B=T+C;if(o.includes(B))continue;o.push(B);let J=n(C,P);for(let z=0;z<J.length;++z){let de=J[z];o.push(T+de)}s=p+(s.length>0?" "+s:s)}return s};function Cr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=rt(t))&&(a&&(a+=" "),a+=r);return a}var rt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=rt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Pr(e,...t){let r,a,n,o=i;function i(c){let p=t.reduce((m,h)=>h(m),e());return r=wr(p),a=r.cache.get,n=r.cache.set,o=s,s(c)}function s(c){let p=a(c);if(p)return p;let m=Nr(c,r);return n(c,m),m}return function(){return o(Cr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ot=/^\[(?:([a-z-]+):)?(.+)\]$/i,Sr=/^\d+\/\d+$/,Tr=new Set(["px","full","screen"]),Ar=/^(\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|h|i|Q|min|max))|\Q(calc|min|max|clamp)\(.+\)|^0$/,Rr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>W(e)||Tr.has(e)||Sr.test(e),Y=e=>q(e,"length",Or),W=e=>!!e&&!Number.isNaN(Number(e)),Be=e=>q(e,"number",W),oe=e=>!!e&&Number.isInteger(Number(e)),Dr=e=>e.endsWith("%")&&W(e.slice(0,-1)),d=e=>ot.test(e),j=e=>Ar.test(e),Hr=new Set(["length","size","percentage"]),zr=e=>q(e,Hr,at),Lr=e=>q(e,"position",at),Fr=new Set(["image","url"]),Er=e=>q(e,Fr,Jr),Gr=e=>q(e,"",Ur),ae=()=>!0,q=(e,t,r)=>{let a=ot.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Or=e=>Ir.test(e)&&!Rr.test(e),at=()=>!1,Ur=e=>Br.test(e),Jr=e=>Mr.test(e);var Yr=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),a=w("brightness"),n=w("borderColor"),o=w("borderRadius"),i=w("borderSpacing"),s=w("borderWidth"),c=w("contrast"),p=w("grayscale"),m=w("hueRotate"),h=w("invert"),x=w("gap"),v=w("gradientColorStops"),P=w("gradientColorStopPositions"),C=w("inset"),S=w("margin"),T=w("opacity"),B=w("padding"),J=w("saturate"),z=w("scale"),de=w("sepia"),je=w("skew"),Ve=w("space"),_e=w("translate"),Te=()=>["auto","contain","none"],Ae=()=>["auto","hidden","clip","visible","scroll"],Ie=()=>["auto",d,t],N=()=>[d,t],Qe=()=>["",E,Y],pe=()=>["auto",W,d],Xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],me=()=>["solid","dashed","dotted","double","none"],$e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Re=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",d],Ke=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[W,d];return{cacheSize:500,separator:":",theme:{colors:[ae],spacing:[E,Y],blur:["none","",j,d],brightness:F(),borderColor:[e],borderRadius:["none","","full",j,d],borderSpacing:N(),borderWidth:Qe(),contrast:F(),grayscale:re(),hueRotate:F(),invert:re(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[Dr,Y],inset:Ie(),margin:Ie(),opacity:F(),padding:N(),saturate:F(),scale:F(),sepia:re(),skew:F(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[j]}],"break-after":[{"break-after":Ke()}],"break-before":[{"break-before":Ke()}],"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:[...Xe(),d]}],overflow:[{overflow:Ae()}],"overflow-x":[{"overflow-x":Ae()}],"overflow-Q":[{"overflow-Q":Ae()}],overscroll:[{overscroll:Te()}],"overscroll-x":[{"overscroll-x":Te()}],"overscroll-Q":[{"overscroll-Q":Te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-Q":[{"inset-Q":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",oe,d]}],basis:[{basis:Ie()}],"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":pe()}],"col-end":[{"col-end":pe()}],"grid-rows":[{"grid-rows":[ae]}],"row-start-end":[{row:["auto",{span:[oe,d]},d]}],"row-start":[{"row-start":pe()}],"row-end":[{"row-end":pe()}],"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:[x]}],"gap-x":[{"gap-x":[x]}],"gap-Q":[{"gap-Q":[x]}],"justify-content":[{justify:["normal",...Re()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Re(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Re(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],pt:[{pt:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[Ve]}],"space-x-reverse":["space-x-reverse"],"space-Q":[{"space-Q":[Ve]}],"space-Q-reverse":["space-Q-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:[j]},j]}],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",j,Y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Be]}],"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",W,Be]}],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":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,Y]}],"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:N()}],"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":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Xe(),Lr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","Q","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Q","bl","l","tl"]},Er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-Q":[{"rounded-Q":[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-x":[{"border-x":[s]}],"border-w-Q":[{"border-Q":[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-Q":[{"border-Q":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...me(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-Q":[{"divide-Q":[s]}],"divide-Q-reverse":["divide-Q-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:me()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-Q":[{"border-Q":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-Q":[{"border-Q":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...me()]}],"outline-offset":[{"outline-offset":[E,d]}],"outline-w":[{outline:[E,Y]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Qe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[E,Y]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",j,Gr]}],"shadow-color":[{shadow:[ae]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...$e(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$e()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",j,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[J]}],sepia:[{sepia:[de]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-Q":[{"border-spacing-Q":[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:[z]}],"scale-x":[{"scale-x":[z]}],"scale-Q":[{"scale-Q":[z]}],rotate:[{rotate:[oe,d]}],"translate-x":[{"translate-x":[_e]}],"translate-Q":[{"translate-Q":[_e]}],"skew-x":[{"skew-x":[je]}],"skew-Q":[{"skew-Q":[je]}],"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","Q-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","Q","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","Q","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-Q":[{"touch-pan":["Q","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,Y,Be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-Q"],overscroll:["overscroll-x","overscroll-Q"],inset:["inset-x","inset-Q","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-Q":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-Q"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["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-Q","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-Q":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-Q"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-Q","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-Q":["border-w-t","border-w-Q"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Q","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-Q":["border-color-t","border-color-Q"],"scroll-m":["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-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-Q","touch-pz"],"touch-x":["touch"],"touch-Q":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var nt=Pr(Yr);function l(...e){return nt((0,st.clsx)(e))}var Q=require("react/jsx-runtime"),ge=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ge.displayName="Card";var fe=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("flex flex-col space-Q-1.5 p-6",e),...t}));fe.displayName="CardHeader";var be=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));be.displayName="CardTitle";var jr=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));jr.displayName="CardDescription";var he=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));he.displayName="CardContent";var Vr=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));Vr.displayName="CardFooter";var it=require("@radix-ui/react-slot"),lt=require("class-variance-authority"),ct=D(require("react")),_r=(0,lt.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"}}}),G=ct.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Q.jsx)(e?it.Slot:"button",{className:l(_r({className:t,size:r,variant:a})),ref:o,...n}));G.displayName="Button";var Se=require("lucide-react");var pt=({className:e,content:t,style:r})=>(0,Q.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Q.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,Q.jsx)(M,{content:t,enableGutter:!1,enableProse:!1})})});var He=D(require("next/link")),X=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:c,url:p}=e,m=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(!m)return null;let h=r==="link"?"clear":c,x=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Q.jsxs)(He.default,{className:l(n),href:m||p||"",...x,children:[o&&o,a&&a]}):(0,Q.jsx)(G,{asChild:!0,className:n,size:h,variant:r,children:(0,Q.jsxs)(He.default,{className:l(n),href:m||p||"",...x,children:[o&&o,a&&a]})})};var mt=({links:e,richText:t})=>(0,Q.jsx)("div",{className:"container",children:(0,Q.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,Q.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Q.jsx)(M,{className:"mb-0",content:t,enableGutter:!1})}),(0,Q.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Q.jsx)(X,{size:"lg",...r},a))})]})});var ye=require("prism-react-renderer");var gt=require("react");function ft({code:e}){let[t,r]=(0,gt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,$.jsx)("p",{children:t}),(0,$.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,$.jsx)(Se.ClipboardCopy,{})})]})})}var bt=({code:e,language:t=""})=>e?(0,Q.jsx)(ye.Highlight,{code:e,language:t,theme:ye.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Q.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,Q.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Q.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Q.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,Q.jsx)("span",{...a({token:s})},c))})]},i)),(0,Q.jsx)(ft,{code:e})]})}):null;var ht=({className:e,code:t,language:r})=>(0,Q.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Q.jsx)(bt,{code:t,language:r})});var yt=D(require("next/image")),Qr={"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=",vt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:c}=e,p,m,h=t,x=s||"";if(!x&&o&&typeof o=="object"){let{alt:C,filename:S,height:T,url:B,width:J}=o;if(T&&T>500){let z=500/T;p=J*z,m=T*z}else p=J,m=T;h=C||"",x=B||xt}let v=c||"lazy",P=i||Object.entries(Qr).map(([,C])=>`(max-width: ${C}px) ${C*2}w`).join(", ");return(0,Q.jsx)("picture",{children:(0,Q.jsx)(yt.default,{alt:h||"",className:l(a),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:xt,priority:v!=="lazy"&&n,quality:100,loading:v,sizes:P,src:x,width:r?void 0:p})})};var wt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var kt=()=>{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 Nt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,gt.useRef)(null);if((0,gt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Q.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Q.jsx)("source",{src:`${kt()}/media/${o}`})})}return null};var Z=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,Q.jsx)(r||gt.Fragment,{...r!==null?{className:t}:{},children:n?(0,Q.jsx)(Nt,{...e}):(0,Q.jsx)(vt,{...e})})};var Pt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Q.jsx)("div",{className:l("h-full ",{container:r},t),children:(0,Q.jsx)(Z,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var St=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Q.jsx)("div",{className:l("",{container:r},t),children:(0,Q.jsx)(Z,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var se=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,Q.jsx)("i",{className:s})};var It=(0,lt.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 Oe({className:e,variant:t,...r}){return(0,Q.jsx)("div",{className:l(It({variant:t}),e),...r})}var Bt=D(require("next/link"));function Mt({children:e,href:t,openNewTab:r,...a}){return(0,Q.jsx)(Bt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function Ht(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function zt({variant:e="outline",className:t,icon:r,iconSize:a="large",width:n="auto",order:o=0,heading:i,subheading:s,content:c,statistic:p,buttonText:m,buttonHref:h}){let x={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},v={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Q.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",x[e],e==="outline"?"text-gray-900":"text-white",t,v[n],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,Q.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Q.jsx)(Xr,{icon:r,heading:i,variant:e,iconSize:a})}),p&&(0,Q.jsx)("div",{className:"mb-6",children:(0,Q.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),s&&(0,Q.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),c&&typeof c=="object"&&(0,Q.jsx)("div",{className:l("space-Q-6"),children:(0,Q.jsx)(M,{enableGutter:!1,content:c,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,Q.jsx)("div",{className:l("space-Q-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),m&&(0,Q.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,Q.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,Q.jsx)("a",{href:h,children:m})})}),e==="radial"&&(0,Q.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 Xr=({icon:e,heading:t,variant:r,iconSize:a})=>e&&a==="small"?(0,Q.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Ht(e)&&(0,Q.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,Q.jsx)(se,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Q.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Q.jsxs)("div",{className:"flex flex-col gap-4",children:[Ht(e)&&(0,Q.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,Q.jsx)(se,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Q.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Q.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Q.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Lt=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,Q.jsxs)("section",{className:l(!n&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Q.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,Q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Q.jsx)(M,{content:t,enableGutter:!1})}),(0,Q.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,i)=>{var c,p,m,h,x;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,Q.jsx)(zt,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:s()||void 0,iconSize:((m=o.settings)==null?void 0:m.iconSize)||"large",width:"auto",order:i,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(h=o.link)!=null&&h.url?"Find out more":void 0,buttonHref:((x=o.link)==null?void 0:x.url)||void 0},i)})})]});var ke=D(require("react"));function ie({nodes:e}){return(0,Q.jsx)(ke.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Q.jsx)(ke.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Q.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Q.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Q.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Q.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Q.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Q.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Q.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Q.jsx)("table",{children:(0,Q.jsx)("tbody",{children:t.children.map((o,i)=>(0,Q.jsx)("tr",{children:o.children.map((s,c)=>(0,Q.jsx)("td",{children:ie({nodes:s.children})},c))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ie({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Q.jsx)(mt,{...o},r);case"mediaBlock":return(0,Q.jsx)(Pt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Q.jsx)(St,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Q.jsx)(pt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Q.jsx)(ht,{className:"col-start-2",...o},r);case"features":return(0,Q.jsx)(Lt,{...o,nested:!0},r);case"reusableContentBlock":ie({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Q.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Q.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Q.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Q.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Q.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,Q.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Q.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Q.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,Q.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var M=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,Q.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ie({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Et=({children:e,richText:t})=>(0,Q.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Q.jsx)("div",{className:"container",children:e||t&&(0,Q.jsx)(M,{content:t,enableGutter:!1})})});var Ue=D(require("next/image"));var $r=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,Q.jsx)(Ue.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Q.jsx)("div",{children:(0,Q.jsx)(Ue.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Gt=({links:e,media:t,children:r,richText:a})=>(0,Q.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Q.jsx)($r,{media:t}),(0,Q.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Q.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,Q.jsx)(M,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Ut=D(require("next/image"));var Ot=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,Q.jsx)("div",{className:"w-full h-[1240px] z-20",children:(0,Q.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:l(t,"absolute -bottom-[2px] flex"),transform:r[0],children:[(0,Q.jsx)("defs",{children:(0,Q.jsxs)("mask",{id:"mask",children:[(0,Q.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0","stroke-width":"2"})]})}),(0,Q.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,Q.jsx)("rect",{Q:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,Q.jsx)("div",{className:"w-full h-[70px] md:h-[332px] z-20 ",children:(0,Q.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"absolute "),style:{fontSize:0,float:"left"},transform:r[1],children:[(0,Q.jsx)("defs",{children:(0,Q.jsxs)("mask",{id:"mask",children:[(0,Q.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-top")return(0,Q.jsx)("div",{className:"w-full h-[70px] md:h-[332px] z-20 content-end block overflow-hidden",children:(0,Q.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,Q.jsx)("defs",{children:(0,Q.jsxs)("mask",{id:"mask",children:[(0,Q.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,Q.jsx)("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-start block overflow-hidden bg-white",children:(0,Q.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:r[1],children:(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,Q.jsx)("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden",children:(0,Q.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:r[3],children:(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,Q.jsx)("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden",children:(0,Q.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:e==="bottom-left"?r[3]:r[2],children:(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var Jt=({links:e,media:t,children:r,richText:a})=>(0,Q.jsx)("div",{children:(0,Q.jsxs)("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[(0,Q.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[r||a&&(0,Q.jsx)(M,{className:"max-w-none mb-6 ml-0 prose prose-h1:text-5xl prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Q.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,Q.jsx)("li",{children:(0,Q.jsx)(X,{...n})},o))})]}),(0,Q.jsxs)("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&(0,Q.jsx)(Z,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Q.jsx)("div",{children:(0,Q.jsx)(Ut.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Q.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]}),(0,Q.jsx)(Ot,{className:"text-black z-10",position:"header"})]})});var jt=D(require("react")),Vt=D(require("next/image"));var Yt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};var _t=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,Q.jsxs)("div",{className:"relative grid pt-24",children:[(0,Q.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,Q.jsxs)("div",{className:"container mx-auto",children:[(0,Q.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,Q.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,Q.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Q.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,Q.jsx)("p",{children:a.map((s,c)=>(0,Q.jsxs)(jt.default.Fragment,{children:[s.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,Q.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Q.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Q.jsx)("time",{dateTime:n,children:Yt(n)})]}),t&&t.length>0&&(0,Q.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Q.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,Q.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,Q.jsx)(Oe,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,Q.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,Q.jsx)(Vt.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,Q.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 ee=require("@headlessui/react"),Xt=require("@heroicons/react/20/solid");var Kr=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,Q.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm text-foreground group",children:(0,Q.jsxs)("span",{className:"relative",children:[e,(0,Q.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-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,Q.jsxs)(ee.Popover,{children:[(0,Q.jsxs)(ee.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 text-foreground outline-none group",children:[(0,Q.jsxs)("span",{className:"relative",children:[e,(0,Q.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-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,Q.jsx)(Xt.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Q.jsxs)(ee.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Q-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Q.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 z-50",children:t&&t.map(n=>(0,Q.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Q.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,Q.jsx)(Qt,{icon:n.icon,size:"4x"})}),(0,Q.jsxs)("a",{href:n.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[n.name,(0,Q.jsx)("span",{className:"absolute inset-0"})]}),(0,Q.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,Q.jsx)("div",{className:"bg-gray-50",children:(0,Q.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Q.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,Q.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,Q.jsx)(Qt,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),Qt=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,Q.jsx)(se,{...e,size:r});if("src"in e)return(0,Q.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Q.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},$t=Kr;var Kt=D(require("next/image"));function le({logo:e,mobile:t=!1}){return(0,Q.jsx)(Mt,{href:"/",className:l(t?"py-1":"py-2"),children:(0,Q.jsx)(Kt.default,{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:t?35:50}})})}var Wt=require("next-themes");function Zt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:n=!1,wide:o=!1}){let[i,s]=(0,gt.useState)(!1),[c,p]=(0,gt.useState)(""),m=["light","dark"],{theme:h,setTheme:x}=(0,Wt.useTheme)();(0,gt.useEffect)(()=>{p(h||"dark")},[h]);let v=()=>{let P=m[(m.indexOf(c)+1)%m.length];p(P),x(P)};return(0,gt.useEffect)(()=>{let P=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",P,{passive:!0}),()=>window.removeEventListener("scroll",P)},[]),(0,Q.jsx)(Q.Fragment,{children:(0,Q.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${i||e?"translate-Q-0":"-translate-Q-full bg-transparent"}`,children:(0,Q.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:(0,Q.jsxs)("div",{className:l("flex items-center justify-between px-9 py-0",!o&&"container"),children:[(0,Q.jsx)(le,{logo:r}),(0,Q.jsx)(ee.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(P=>(0,Q.jsx)($t,{...P},P.name))}),n&&(0,Q.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:v,children:(0,Q.jsxs)("div",{className:"relative",children:[(0,Q.jsx)(Se.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Q.jsx)(Se.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var Pe=require("@heroicons/react/24/outline");var Ye=["light","dark"];function tr({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,gt.useState)(!1),{theme:i,setTheme:s}=(0,Wt.useTheme)(),[c,p]=(0,gt.useState)(!1),[m,h]=(0,gt.useState)("light");(0,gt.useEffect)(()=>{let v=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",v,{passive:!0}),()=>window.removeEventListener("scroll",v)},[]),(0,gt.useEffect)(()=>{h(i||"dark")},[i]);let x=()=>{let v=Ye[(Ye.indexOf(m)+1)%Ye.length];h(v),s(v)};return(0,Q.jsx)(Q.Fragment,{children:(0,Q.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-Q-0":"-translate-Q-full bg-transparent"}`,children:[(0,Q.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,Q.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-Q dark:border-accent",children:[(0,Q.jsx)(le,{logo:t,mobile:!0}),(0,Q.jsx)("div",{className:"flex items-center space-x-4",children:(0,Q.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,Q.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Q.jsx)(Pe.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),(0,Q.jsxs)(ee.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,Q.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Q.jsxs)(ee.DialogPanel,{className:"fixed inset-Q-0 right-0 z-20 w-full overflow-Q-auto bg-background dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Q.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Q.jsx)(le,{logo:t,mobile:!0}),(0,Q.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-m-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,Q.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Q.jsx)(Pe.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Q.jsx)("div",{className:"mt-6 flow-root",children:(0,Q.jsx)("div",{className:"-my-6 divide-Q divide-gray-500/10",children:(0,Q.jsx)("div",{className:"space-Q-2 px-2 py-6",children:r&&r.map(v=>(0,Q.jsx)(Wr,{...v},v.name))})})})]})]})]})})}function Wr({name:e,items:t,actions:r,href:a}){return!t&&a?(0,Q.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,Q.jsxs)(ee.Disclosure,{as:"div",className:"-mx-3",children:[(0,Q.jsx)(ee.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,Q.jsx)(ee.DisclosurePanel,{className:"mt-2 space-Q-2",children:t&&t.map(n=>(0,Q.jsx)(ee.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}function rr({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n,wide:o}){return(0,Q.jsxs)("div",{className:l("fixed top-0 left-0 right-0 z-50",n),children:[(0,Q.jsx)(Zt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,wide:o}),(0,Q.jsx)(tr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var or="../cortex-reply-light-27IMI3G7.png";var ar="../cortex-reply-dark-XPAJJJYY.png";function nr({...e}){return(0,Q.jsxs)("div",{children:[(0,Q.jsx)(rr,{isMenuOpen:!0,logoLight:or,logoDark:ar,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,Q.jsx)(Et,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Q.jsx)(Gt,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Q.jsx)(Jt,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,Q.jsx)(_t,{...e.hero}),(0,Q.jsx)("div",{className:"container py-8",children:(0,Q.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Q.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Q.jsxs)("div",{className:"space-Q-6",children:[(0,Q.jsxs)(ge,{children:[(0,Q.jsx)(fe,{children:(0,Q.jsx)(be,{children:"Quick Actions"})}),(0,Q.jsxs)(he,{children:[(0,Q.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Q.jsx)(G,{className:"w-full",children:"Create New"})]})]}),(0,Q.jsxs)(ge,{children:[(0,Q.jsx)(fe,{children:(0,Q.jsx)(be,{children:"Resources"})}),(0,Q.jsx)(he,{children:(0,Q.jsxs)("nav",{className:"flex flex-col space-Q-2",children:[(0,Q.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Q.jsx)(Se.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Q.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Q.jsx)(Se.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Q.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Q.jsx)(Se.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}
4
+ "use strict";"use client";var sr=Object.create;var ue=Object.defineProperty;var ir=Object.getOwnPropertyDescriptor;var lr=Object.getOwnPropertyNames;var cr=Object.getPrototypeOf,dr=Object.prototype.hasOwnProperty;var pr=(e,t)=>{for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},We=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of lr(t))!dr.call(e,n)&&n!==r&&ue(e,n,{get:()=>t[n],enumerable:!(a=ir(t,n))||a.enumerable});return e};var D=(e,t,r)=>(r=e!=null?sr(cr(e)):{},We(t||!e||!e.__esModule?ue(r,"default",{value:e,enumerable:!0}):r,e)),mr=e=>We(ue({},"__esModule",{value:!0}),e);var eo={};pr(eo,{default:()=>nr});module.exports=mr(eo);var _=D(require("react"));var st=require("clsx");var De="-",ur=e=>{let t=fr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let s=i.split(De);return s[0]===""&&s.length!==1&&s.shift(),et(s,t)||gr(i)},getConflictingClassGroupIds:(i,s)=>{let c=r[i]||[];return s&&a[i]?[...c,...a[i]]:c}}},et=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?et(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(De);return(i=t.validators.find(({validator:s})=>s(o)))==null?void 0:i.classGroupId},qe=/^\[(.+)\]$/,gr=e=>{if(qe.test(e)){let t=qe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},fr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return hr(Object.entries(e.classGroups),r).forEach(([o,i])=>{Me(i,a,o,t)}),a},Me=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:Ze(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(br(n)){Me(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,i])=>{Me(i,Ze(t,o),r,a)})})},Ze=(e,t)=>{let r=e;return t.split(De).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},br=e=>e.isThemeGetter,hr=(e,t)=>t?e.map(([r,a])=>{let n=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,s])=>[t+i,s])):o);return[r,n]}):e,xr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return n(o,i),i},set(o,i){r.has(o)?r.set(o,i):n(o,i)}}},tt="!",yr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,i=s=>{let c=[],p=0,m=0,h;for(let S=0;S<s.length;S++){let T=s[S];if(p===0){if(T===n&&(a||s.slice(S,S+o)===t)){c.push(s.slice(m,S)),m=S+o;continue}if(T==="/"){h=S;continue}}T==="["?p++:T==="]"&&p--}let x=c.length===0?s:s.substring(m),v=x.startsWith(tt),P=v?x.substring(1):x,C=h&&h>m?h-m:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:P,maybePostfixModifierPosition:C}};return r?s=>r({className:s,parseClassName:i}):i},vr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},wr=e=>({cache:xr(e.cacheSize),parseClassName:yr(e),...ur(e)}),kr=/\s+/,Nr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],i=e.trim().split(kr),s="";for(let c=i.length-1;c>=0;c-=1){let p=i[c],{modifiers:m,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:v}=r(p),P=!!v,C=a(P?x.substring(0,v):x);if(!C){if(!P){s=p+(s.length>0?" "+s:s);continue}if(C=a(x),!C){s=p+(s.length>0?" "+s:s);continue}P=!1}let S=vr(m).join(":"),T=h?S+tt:S,B=T+C;if(o.includes(B))continue;o.push(B);let J=n(C,P);for(let z=0;z<J.length;++z){let de=J[z];o.push(T+de)}s=p+(s.length>0?" "+s:s)}return s};function Cr(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=rt(t))&&(a&&(a+=" "),a+=r);return a}var rt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=rt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Pr(e,...t){let r,a,n,o=i;function i(c){let p=t.reduce((m,h)=>h(m),e());return r=wr(p),a=r.cache.get,n=r.cache.set,o=s,s(c)}function s(c){let p=a(c);if(p)return p;let m=Nr(c,r);return n(c,m),m}return function(){return o(Cr.apply(null,arguments))}}var w=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ot=/^\[(?:([a-z-]+):)?(.+)\]$/i,Sr=/^\d+\/\d+$/,Tr=new Set(["px","full","screen"]),Ar=/^(\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|h|i|Q|min|max))|\Q(calc|min|max|clamp)\(.+\)|^0$/,Rr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Br=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,E=e=>W(e)||Tr.has(e)||Sr.test(e),Y=e=>q(e,"length",Or),W=e=>!!e&&!Number.isNaN(Number(e)),Be=e=>q(e,"number",W),oe=e=>!!e&&Number.isInteger(Number(e)),Dr=e=>e.endsWith("%")&&W(e.slice(0,-1)),d=e=>ot.test(e),j=e=>Ar.test(e),Hr=new Set(["length","size","percentage"]),zr=e=>q(e,Hr,at),Lr=e=>q(e,"position",at),Fr=new Set(["image","url"]),Er=e=>q(e,Fr,Jr),Gr=e=>q(e,"",Ur),ae=()=>!0,q=(e,t,r)=>{let a=ot.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},Or=e=>Ir.test(e)&&!Rr.test(e),at=()=>!1,Ur=e=>Br.test(e),Jr=e=>Mr.test(e);var Yr=()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),a=w("brightness"),n=w("borderColor"),o=w("borderRadius"),i=w("borderSpacing"),s=w("borderWidth"),c=w("contrast"),p=w("grayscale"),m=w("hueRotate"),h=w("invert"),x=w("gap"),v=w("gradientColorStops"),P=w("gradientColorStopPositions"),C=w("inset"),S=w("margin"),T=w("opacity"),B=w("padding"),J=w("saturate"),z=w("scale"),de=w("sepia"),je=w("skew"),Ve=w("space"),_e=w("translate"),Te=()=>["auto","contain","none"],Ae=()=>["auto","hidden","clip","visible","scroll"],Ie=()=>["auto",d,t],N=()=>[d,t],Qe=()=>["",E,Y],pe=()=>["auto",W,d],Xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],me=()=>["solid","dashed","dotted","double","none"],$e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Re=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",d],Ke=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[W,d];return{cacheSize:500,separator:":",theme:{colors:[ae],spacing:[E,Y],blur:["none","",j,d],brightness:F(),borderColor:[e],borderRadius:["none","","full",j,d],borderSpacing:N(),borderWidth:Qe(),contrast:F(),grayscale:re(),hueRotate:F(),invert:re(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[Dr,Y],inset:Ie(),margin:Ie(),opacity:F(),padding:N(),saturate:F(),scale:F(),sepia:re(),skew:F(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[j]}],"break-after":[{"break-after":Ke()}],"break-before":[{"break-before":Ke()}],"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:[...Xe(),d]}],overflow:[{overflow:Ae()}],"overflow-x":[{"overflow-x":Ae()}],"overflow-Q":[{"overflow-Q":Ae()}],overscroll:[{overscroll:Te()}],"overscroll-x":[{"overscroll-x":Te()}],"overscroll-Q":[{"overscroll-Q":Te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-Q":[{"inset-Q":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",oe,d]}],basis:[{basis:Ie()}],"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":pe()}],"col-end":[{"col-end":pe()}],"grid-rows":[{"grid-rows":[ae]}],"row-start-end":[{row:["auto",{span:[oe,d]},d]}],"row-start":[{"row-start":pe()}],"row-end":[{"row-end":pe()}],"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:[x]}],"gap-x":[{"gap-x":[x]}],"gap-Q":[{"gap-Q":[x]}],"justify-content":[{justify:["normal",...Re()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Re(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Re(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],pt:[{pt:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[Ve]}],"space-x-reverse":["space-x-reverse"],"space-Q":[{"space-Q":[Ve]}],"space-Q-reverse":["space-Q-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:[j]},j]}],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",j,Y]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Be]}],"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",W,Be]}],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":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",E,Y]}],"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:N()}],"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":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Xe(),Lr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","Q","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Q","bl","l","tl"]},Er]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-Q":[{"rounded-Q":[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-x":[{"border-x":[s]}],"border-w-Q":[{"border-Q":[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-Q":[{"border-Q":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...me(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-Q":[{"divide-Q":[s]}],"divide-Q-reverse":["divide-Q-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:me()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-Q":[{"border-Q":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-Q":[{"border-Q":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...me()]}],"outline-offset":[{"outline-offset":[E,d]}],"outline-w":[{outline:[E,Y]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Qe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[E,Y]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",j,Gr]}],"shadow-color":[{shadow:[ae]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...$e(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$e()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",j,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[J]}],sepia:[{sepia:[de]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-Q":[{"border-spacing-Q":[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:[z]}],"scale-x":[{"scale-x":[z]}],"scale-Q":[{"scale-Q":[z]}],rotate:[{rotate:[oe,d]}],"translate-x":[{"translate-x":[_e]}],"translate-Q":[{"translate-Q":[_e]}],"skew-x":[{"skew-x":[je]}],"skew-Q":[{"skew-Q":[je]}],"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","Q-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","Q","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","Q","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-Q":[{"touch-pan":["Q","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,Y,Be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-Q"],overscroll:["overscroll-x","overscroll-Q"],inset:["inset-x","inset-Q","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-Q":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-Q"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["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-Q","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-Q":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-Q"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-Q","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-Q":["border-w-t","border-w-Q"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Q","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-Q":["border-color-t","border-color-Q"],"scroll-m":["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-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-Q","touch-pz"],"touch-x":["touch"],"touch-Q":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var nt=Pr(Yr);function l(...e){return nt((0,st.clsx)(e))}var Q=require("react/jsx-runtime"),ge=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ge.displayName="Card";var fe=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("flex flex-col space-Q-1.5 p-6",e),...t}));fe.displayName="CardHeader";var be=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));be.displayName="CardTitle";var jr=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));jr.displayName="CardDescription";var he=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));he.displayName="CardContent";var Vr=_.forwardRef(({className:e,...t},r)=>(0,Q.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));Vr.displayName="CardFooter";var it=require("@radix-ui/react-slot"),lt=require("class-variance-authority"),ct=D(require("react")),_r=(0,lt.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"}}}),G=ct.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,Q.jsx)(e?it.Slot:"button",{className:l(_r({className:t,size:r,variant:a})),ref:o,...n}));G.displayName="Button";var Se=require("lucide-react");var pt=({className:e,content:t,style:r})=>(0,Q.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,Q.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,Q.jsx)(M,{content:t,enableGutter:!1,enableProse:!1})})});var He=D(require("next/link")),X=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:i,reference:s,size:c,url:p}=e,m=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(!m)return null;let h=r==="link"?"clear":c,x=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,Q.jsxs)(He.default,{className:l(n),href:m||p||"",...x,children:[o&&o,a&&a]}):(0,Q.jsx)(G,{asChild:!0,className:n,size:h,variant:r,children:(0,Q.jsxs)(He.default,{className:l(n),href:m||p||"",...x,children:[o&&o,a&&a]})})};var mt=({links:e,richText:t})=>(0,Q.jsx)("div",{className:"container",children:(0,Q.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,Q.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,Q.jsx)(M,{className:"mb-0",content:t,enableGutter:!1})}),(0,Q.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,Q.jsx)(X,{size:"lg",...r},a))})]})});var ye=require("prism-react-renderer");var gt=require("react");function ft({code:e}){let[t,r]=(0,gt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(G,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,$.jsx)("p",{children:t}),(0,$.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,$.jsx)(Se.ClipboardCopy,{})})]})})}var bt=({code:e,language:t=""})=>e?(0,Q.jsx)(ye.Highlight,{code:e,language:t,theme:ye.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,Q.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,i)=>(0,Q.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,Q.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,Q.jsx)("span",{className:"table-cell pl-4",children:o.map((s,c)=>(0,Q.jsx)("span",{...a({token:s})},c))})]},i)),(0,Q.jsx)(ft,{code:e})]})}):null;var ht=({className:e,code:t,language:r})=>(0,Q.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,Q.jsx)(bt,{code:t,language:r})});var yt=D(require("next/image")),Qr={"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=",vt=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:i,src:s,loading:c}=e,p,m,h=t,x=s||"";if(!x&&o&&typeof o=="object"){let{alt:C,filename:S,height:T,url:B,width:J}=o;if(T&&T>500){let z=500/T;p=J*z,m=T*z}else p=J,m=T;h=C||"",x=B||xt}let v=c||"lazy",P=i||Object.entries(Qr).map(([,C])=>`(max-width: ${C}px) ${C*2}w`).join(", ");return(0,Q.jsx)("picture",{children:(0,Q.jsx)(yt.default,{alt:h||"",className:l(a),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:xt,priority:v!=="lazy"&&n,quality:100,loading:v,sizes:P,src:x,width:r?void 0:p})})};var wt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var kt=()=>{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 Nt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,gt.useRef)(null);if((0,gt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,Q.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,Q.jsx)("source",{src:`${kt()}/media/${o}`})})}return null};var Z=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,Q.jsx)(r||gt.Fragment,{...r!==null?{className:t}:{},children:n?(0,Q.jsx)(Nt,{...e}):(0,Q.jsx)(vt,{...e})})};var Pt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Q.jsx)("div",{className:l("h-full ",{container:r},t),children:(0,Q.jsx)(Z,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var St=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,Q.jsx)("div",{className:l("",{container:r},t),children:(0,Q.jsx)(Z,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var se=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",s=n+o+" fa-"+r+" "+i;return(0,Q.jsx)("i",{className:s})};var It=(0,lt.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 Oe({className:e,variant:t,...r}){return(0,Q.jsx)("div",{className:l(It({variant:t}),e),...r})}var Bt=D(require("next/link"));function Mt({children:e,href:t,openNewTab:r,...a}){return(0,Q.jsx)(Bt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function Ht(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function zt({variant:e="outline",className:t,icon:r,iconSize:a="large",width:n="auto",order:o=0,heading:i,subheading:s,content:c,statistic:p,buttonText:m,buttonHref:h}){let x={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},v={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,Q.jsxs)("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",x[e],e==="outline"?"text-gray-900":"text-white",t,v[n],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[(0,Q.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Q.jsx)(Xr,{icon:r,heading:i,variant:e,iconSize:a})}),p&&(0,Q.jsx)("div",{className:"mb-6",children:(0,Q.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:p})}),s&&(0,Q.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),c&&typeof c=="object"&&(0,Q.jsx)("div",{className:l("space-Q-6"),children:(0,Q.jsx)(M,{enableGutter:!1,content:c,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),c&&typeof c=="string"&&(0,Q.jsx)("div",{className:l("space-Q-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:c}),m&&(0,Q.jsx)("div",{className:"mt-auto pt-6 flex items-center justify-center",children:(0,Q.jsx)(G,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:(0,Q.jsx)("a",{href:h,children:m})})}),e==="radial"&&(0,Q.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 Xr=({icon:e,heading:t,variant:r,iconSize:a})=>e&&a==="small"?(0,Q.jsxs)("div",{className:"flex items-start gap-4 mb-2",children:[Ht(e)&&(0,Q.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"mt-2":""),children:(0,Q.jsx)(se,{type:e.type,iconName:e.iconName,size:"2x"})}),(0,Q.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t})]}):e?(0,Q.jsxs)("div",{className:"flex flex-col gap-4",children:[Ht(e)&&(0,Q.jsx)("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,Q.jsx)(se,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,Q.jsx)("h3",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):(0,Q.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,Q.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Lt=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,Q.jsxs)("section",{className:l(!n&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,Q.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,Q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:t}),t&&typeof t=="object"&&(0,Q.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,Q.jsx)(M,{content:t,enableGutter:!1})}),(0,Q.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,i)=>{var c,p,m,h,x;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,Q.jsx)(zt,{variant:((c=o.settings)==null?void 0:c.card)==="default"?"light":((p=o.settings)==null?void 0:p.card)||"outline",icon:s()||void 0,iconSize:((m=o.settings)==null?void 0:m.iconSize)||"large",width:"auto",order:i,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(h=o.link)!=null&&h.url?"Find out more":void 0,buttonHref:((x=o.link)==null?void 0:x.url)||void 0},i)})})]});var ke=D(require("react"));function ie({nodes:e}){return(0,Q.jsx)(ke.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,Q.jsx)(ke.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,Q.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,Q.jsx)("em",{children:o},r)),t.format&4&&(o=(0,Q.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,Q.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,Q.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,Q.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,Q.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,Q.jsx)("table",{children:(0,Q.jsx)("tbody",{children:t.children.map((o,i)=>(0,Q.jsx)("tr",{children:o.children.map((s,c)=>(0,Q.jsx)("td",{children:ie({nodes:s.children})},c))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return ie({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,Q.jsx)(mt,{...o},r);case"mediaBlock":return(0,Q.jsx)(Pt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,Q.jsx)(St,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,Q.jsx)(pt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,Q.jsx)(ht,{className:"col-start-2",...o},r);case"features":return(0,Q.jsx)(Lt,{...o,nested:!0},r);case"reusableContentBlock":ie({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,Q.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,Q.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,Q.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:n},r)}case"list":{let o=t==null?void 0:t.tag;return(0,Q.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,Q.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:n},r):(0,Q.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,Q.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,Q.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}case"autolink":{let o=t.fields;return(0,Q.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var M=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,Q.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ie({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var Et=({children:e,richText:t})=>(0,Q.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,Q.jsx)("div",{className:"container",children:e||t&&(0,Q.jsx)(M,{content:t,enableGutter:!1})})});var Ue=D(require("next/image"));var $r=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,Q.jsx)(Ue.default,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:n||"",width:o||0,height:a||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return(0,Q.jsx)("div",{children:(0,Q.jsx)(Ue.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},Gt=({links:e,media:t,children:r,richText:a})=>(0,Q.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,Q.jsx)($r,{media:t}),(0,Q.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,Q.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,Q.jsx)(M,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var Ut=D(require("next/image"));var Ot=({position:e,className:t=""})=>{let r=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],a=r[Math.floor(Math.random()*r.length)];if(e==="header")return(0,Q.jsx)("div",{className:"w-full h-[1240px] z-20",children:(0,Q.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:l(t,"absolute -bottom-[2px] flex"),transform:r[0],children:[(0,Q.jsx)("defs",{children:(0,Q.jsxs)("mask",{id:"mask",children:[(0,Q.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0","stroke-width":"2"})]})}),(0,Q.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,Q.jsx)("rect",{Q:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return(0,Q.jsx)("div",{className:"w-full h-[70px] md:h-[332px] z-20 ",children:(0,Q.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"absolute "),style:{fontSize:0,float:"left"},transform:r[1],children:[(0,Q.jsx)("defs",{children:(0,Q.jsxs)("mask",{id:"mask",children:[(0,Q.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-top")return(0,Q.jsx)("div",{className:"w-full h-[70px] md:h-[332px] z-20 content-end block overflow-hidden",children:(0,Q.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"relative "),style:{fontSize:0,float:"left"},transform:r[3],children:[(0,Q.jsx)("defs",{children:(0,Q.jsxs)("mask",{id:"mask",children:[(0,Q.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return(0,Q.jsx)("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-start block overflow-hidden bg-white",children:(0,Q.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:r[1],children:(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return(0,Q.jsx)("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden",children:(0,Q.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:r[3],children:(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return(0,Q.jsx)("div",{className:"w-full min-h-[70px] md:min-h-[350px] z-20 content-end block overflow-hidden",children:(0,Q.jsx)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:e==="bottom-left"?r[3]:r[2],children:(0,Q.jsx)("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})};var Jt=({links:e,media:t,children:r,richText:a})=>(0,Q.jsx)("div",{children:(0,Q.jsxs)("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[(0,Q.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[r||a&&(0,Q.jsx)(M,{className:"max-w-none mb-6 ml-0 prose prose-h1:text-5xl prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,Q.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,Q.jsx)("li",{children:(0,Q.jsx)(X,{...n})},o))})]}),(0,Q.jsxs)("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&(0,Q.jsx)(Z,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,Q.jsx)("div",{children:(0,Q.jsx)(Ut.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,Q.jsx)("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]}),(0,Q.jsx)(Ot,{className:"text-black z-10",position:"header"})]})});var jt=D(require("react")),Vt=D(require("next/image"));var Yt=e=>{let r=new Date;e&&(r=new Date(e));let a=r.getMonth(),n=r.getDate(),o=a+1<10?`0${a+1}`:a+1,i=n<10?`0${n}`:n,s=r.getFullYear();return`${i}/${o}/${s}`};var _t=({post:e})=>{var i;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,Q.jsxs)("div",{className:"relative grid pt-24",children:[(0,Q.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,Q.jsxs)("div",{className:"container mx-auto",children:[(0,Q.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,Q.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,Q.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Q.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,Q.jsx)("p",{children:a.map((s,c)=>(0,Q.jsxs)(jt.default.Fragment,{children:[s.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},s.id))})]}),n&&(0,Q.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Q.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,Q.jsx)("time",{dateTime:n,children:Yt(n)})]}),t&&t.length>0&&(0,Q.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,Q.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,Q.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((s,c)=>typeof s=="object"&&s!==null&&(0,Q.jsx)(Oe,{className:"px-3 py-1 mx-1",children:s.title||"Untitled category"},s.id||c))})]})]})]})}),(0,Q.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[(0,Q.jsx)(Vt.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,Q.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 ee=require("@headlessui/react"),Xt=require("@heroicons/react/20/solid");var Kr=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,Q.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm text-foreground group",children:(0,Q.jsxs)("span",{className:"relative",children:[e,(0,Q.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-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,Q.jsxs)(ee.Popover,{children:[(0,Q.jsxs)(ee.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 text-foreground outline-none group",children:[(0,Q.jsxs)("span",{className:"relative",children:[e,(0,Q.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-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,Q.jsx)(Xt.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),(0,Q.jsxs)(ee.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-Q-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,Q.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 z-50",children:t&&t.map(n=>(0,Q.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,Q.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,Q.jsx)(Qt,{icon:n.icon,size:"4x"})}),(0,Q.jsxs)("a",{href:n.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[n.name,(0,Q.jsx)("span",{className:"absolute inset-0"})]}),(0,Q.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,Q.jsx)("div",{className:"bg-gray-50",children:(0,Q.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,Q.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,Q.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,Q.jsx)(Qt,{icon:n.icon,className:"h-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),Qt=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,Q.jsx)(se,{...e,size:r});if("src"in e)return(0,Q.jsx)("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,Q.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},$t=Kr;var Kt=D(require("next/image"));function le({logo:e,mobile:t=!1}){return(0,Q.jsx)(Mt,{href:"/",className:l(t?"py-1":"py-2"),children:(0,Q.jsx)(Kt.default,{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:t?35:50}})})}var Wt=require("next-themes");function Zt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:n=!1,wide:o=!1}){let[i,s]=(0,gt.useState)(!1),[c,p]=(0,gt.useState)(""),m=["light","dark"],{theme:h,setTheme:x}=(0,Wt.useTheme)();(0,gt.useEffect)(()=>{p(h||"dark")},[h]);let v=()=>{let P=m[(m.indexOf(c)+1)%m.length];p(P),x(P)};return(0,gt.useEffect)(()=>{let P=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",P,{passive:!0}),()=>window.removeEventListener("scroll",P)},[]),(0,Q.jsx)(Q.Fragment,{children:(0,Q.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${i||e?"translate-Q-0":"-translate-Q-full bg-transparent"}`,children:(0,Q.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:(0,Q.jsxs)("div",{className:l("flex items-center justify-between px-9 py-0",!o&&"container"),children:[(0,Q.jsx)(le,{logo:r}),(0,Q.jsx)(ee.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(P=>(0,Q.jsx)($t,{...P},P.name))}),n&&(0,Q.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:v,children:(0,Q.jsxs)("div",{className:"relative",children:[(0,Q.jsx)(Se.Sun,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,Q.jsx)(Se.Moon,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var Pe=require("@heroicons/react/24/outline");var Ye=["light","dark"];function tr({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,gt.useState)(!1),{theme:i,setTheme:s}=(0,Wt.useTheme)(),[c,p]=(0,gt.useState)(!1),[m,h]=(0,gt.useState)("light");(0,gt.useEffect)(()=>{let v=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",v,{passive:!0}),()=>window.removeEventListener("scroll",v)},[]),(0,gt.useEffect)(()=>{h(i||"dark")},[i]);let x=()=>{let v=Ye[(Ye.indexOf(m)+1)%Ye.length];h(v),s(v)};return(0,Q.jsx)(Q.Fragment,{children:(0,Q.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-Q-0":"-translate-Q-full bg-transparent"}`,children:[(0,Q.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,Q.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-Q dark:border-accent",children:[(0,Q.jsx)(le,{logo:t,mobile:!0}),(0,Q.jsx)("div",{className:"flex items-center space-x-4",children:(0,Q.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,Q.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,Q.jsx)(Pe.Bars3Icon,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),(0,Q.jsxs)(ee.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,Q.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,Q.jsxs)(ee.DialogPanel,{className:"fixed inset-Q-0 right-0 z-20 w-full overflow-Q-auto bg-background dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,Q.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,Q.jsx)(le,{logo:t,mobile:!0}),(0,Q.jsxs)("button",{type:"button",onClick:()=>p(!1),className:"-m-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[(0,Q.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,Q.jsx)(Pe.XMarkIcon,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),(0,Q.jsx)("div",{className:"mt-6 flow-root",children:(0,Q.jsx)("div",{className:"-my-6 divide-Q divide-gray-500/10",children:(0,Q.jsx)("div",{className:"space-Q-2 px-2 py-6",children:r&&r.map(v=>(0,Q.jsx)(Wr,{...v},v.name))})})})]})]})]})})}function Wr({name:e,items:t,actions:r,href:a}){return!t&&a?(0,Q.jsx)("a",{href:a,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):(0,Q.jsxs)(ee.Disclosure,{as:"div",className:"-mx-3",children:[(0,Q.jsx)(ee.DisclosureButton,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,Q.jsx)(ee.DisclosurePanel,{className:"mt-2 space-Q-2",children:t&&t.map(n=>(0,Q.jsx)(ee.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}function rr({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n,wide:o,themeControl:i=!1}){return(0,Q.jsxs)("div",{className:l("fixed top-0 left-0 right-0 z-50",n),children:[(0,Q.jsx)(Zt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:i,wide:o}),(0,Q.jsx)(tr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var or="../cortex-reply-light-27IMI3G7.png";var ar="../cortex-reply-dark-XPAJJJYY.png";function nr({...e}){return(0,Q.jsxs)("div",{children:[(0,Q.jsx)(rr,{isMenuOpen:!0,logoLight:or,logoDark:ar,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,Q.jsx)(Et,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,Q.jsx)(Gt,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,Q.jsx)(Jt,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,Q.jsx)(_t,{...e.hero}),(0,Q.jsx)("div",{className:"container py-8",children:(0,Q.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,Q.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,Q.jsxs)("div",{className:"space-Q-6",children:[(0,Q.jsxs)(ge,{children:[(0,Q.jsx)(fe,{children:(0,Q.jsx)(be,{children:"Quick Actions"})}),(0,Q.jsxs)(he,{children:[(0,Q.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,Q.jsx)(G,{className:"w-full",children:"Create New"})]})]}),(0,Q.jsxs)(ge,{children:[(0,Q.jsx)(fe,{children:(0,Q.jsx)(be,{children:"Resources"})}),(0,Q.jsx)(he,{children:(0,Q.jsxs)("nav",{className:"flex flex-col space-Q-2",children:[(0,Q.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,Q.jsx)(Se.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Q.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,Q.jsx)(Se.ExternalLink,{className:"ml-1 h-3 w-3"})]}),(0,Q.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,Q.jsx)(Se.ExternalLink,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../chunk-JB3WMW2V.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-VYQYFS6R.mjs";import"../chunk-OKGBIF2I.mjs";import"../chunk-P7RZLKAN.mjs";import"../chunk-5G43IH3C.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-RDWF5HZG.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.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-BDX257W2.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-GQ2G2FNR.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-ZON7P23Z.mjs";import"../chunk-Y57CQYEG.mjs";import"../chunk-ZVMBJZVM.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-TAFEJ7HF.mjs";import"../chunk-JOD2CIH5.mjs";import"../chunk-FC4BLPWZ.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
2
+ "use strict";import{a}from"../chunk-3XS76N3K.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-VYQYFS6R.mjs";import"../chunk-OKGBIF2I.mjs";import"../chunk-P7RZLKAN.mjs";import"../chunk-5G43IH3C.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-RDWF5HZG.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-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-BDX257W2.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-GQ2G2FNR.mjs";import"../chunk-FC4BLPWZ.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-HSFVPF3U.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-FCCLGLML.mjs";import"../chunk-TAFEJ7HF.mjs";import"../chunk-ZVMBJZVM.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-JOD2CIH5.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};