cortex-react-components 1.58.20 → 1.58.22

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 (225) hide show
  1. package/dist/{chunk-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
  2. package/dist/{chunk-C2CNUHF6.mjs → chunk-2DGZ2JZ5.mjs} +1 -1
  3. package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
  4. package/dist/{chunk-7IZ2X75V.mjs → chunk-3BBZH3T3.mjs} +1 -1
  5. package/dist/{chunk-3PYAHZHP.mjs → chunk-46OVI6RB.mjs} +1 -1
  6. package/dist/{chunk-JMORELR3.mjs → chunk-477T4CBB.mjs} +1 -1
  7. package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
  8. package/dist/{chunk-4YJ3HV64.mjs → chunk-6DHYRATS.mjs} +1 -1
  9. package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
  10. package/dist/{chunk-36F5TWXE.mjs → chunk-7WDAODFS.mjs} +1 -1
  11. package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
  12. package/dist/chunk-AX52NWUN.mjs +1 -0
  13. package/dist/{chunk-6JYP6ZBW.mjs → chunk-BBCS6735.mjs} +1 -1
  14. package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
  15. package/dist/{chunk-KQJLOUAU.mjs → chunk-DFB6DJCW.mjs} +1 -1
  16. package/dist/{chunk-PND45VCR.mjs → chunk-F4JKB4UG.mjs} +1 -1
  17. package/dist/{chunk-RQ23CZK5.mjs → chunk-F55C2C5H.mjs} +1 -1
  18. package/dist/{chunk-EXTWUYDK.mjs → chunk-FGNLLSPZ.mjs} +1 -1
  19. package/dist/chunk-FPJFWQB5.mjs +4 -0
  20. package/dist/{chunk-UZJDRWWU.mjs → chunk-G2BJSFF4.mjs} +1 -1
  21. package/dist/{chunk-OGTNLC5E.mjs → chunk-G3J6AOMR.mjs} +1 -1
  22. package/dist/{chunk-5PDSL4PB.mjs → chunk-H5ZJ5FZ6.mjs} +1 -1
  23. package/dist/{chunk-ZIWHUQ4D.mjs → chunk-HER7J6HM.mjs} +1 -1
  24. package/dist/{chunk-KLVFLKTE.mjs → chunk-I2PJ5ANT.mjs} +1 -1
  25. package/dist/{chunk-6CPP4L4R.mjs → chunk-IGYTQN3S.mjs} +1 -1
  26. package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
  27. package/dist/{chunk-X475DPML.mjs → chunk-IREQMG2S.mjs} +1 -1
  28. package/dist/{chunk-FCCL6W7R.mjs → chunk-JPFBD2KD.mjs} +1 -1
  29. package/dist/{chunk-S7I4XJS6.mjs → chunk-LLJZRF3C.mjs} +1 -1
  30. package/dist/{chunk-FZVAP6KB.mjs → chunk-MGBLZM7Q.mjs} +1 -1
  31. package/dist/{chunk-QVQTV5MF.mjs → chunk-MTIC2X6C.mjs} +1 -1
  32. package/dist/{chunk-NCHGLVBP.mjs → chunk-OJPHYSRN.mjs} +1 -1
  33. package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
  34. package/dist/{chunk-GJ26BCL2.mjs → chunk-QBLN27FA.mjs} +1 -1
  35. package/dist/{chunk-DJTYWMLM.mjs → chunk-QID6JIRX.mjs} +1 -1
  36. package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
  37. package/dist/{chunk-UH7BC6FX.mjs → chunk-QNE2DK3R.mjs} +1 -1
  38. package/dist/{chunk-U3HKOEIA.mjs → chunk-QSBB2P4N.mjs} +1 -1
  39. package/dist/{chunk-7ZCQD3RO.mjs → chunk-QTO5C7WM.mjs} +1 -1
  40. package/dist/{chunk-2A6JF3LE.mjs → chunk-RJGKFNZL.mjs} +1 -1
  41. package/dist/{chunk-2XVOBJPI.mjs → chunk-S3KRL344.mjs} +1 -1
  42. package/dist/{chunk-BKZC5RJ4.mjs → chunk-UIBWSN7F.mjs} +1 -1
  43. package/dist/{chunk-I4JU6QG6.mjs → chunk-X5XG7LVM.mjs} +1 -1
  44. package/dist/{chunk-TQGKLEQ5.mjs → chunk-XP6N7473.mjs} +1 -1
  45. package/dist/{chunk-MGS3DQ22.mjs → chunk-XXTN5HMN.mjs} +1 -1
  46. package/dist/{chunk-2PV2ADTC.mjs → chunk-ZQGSLXFF.mjs} +1 -1
  47. package/dist/components/Blocks/Banner.js +1 -1
  48. package/dist/components/Blocks/Banner.mjs +1 -1
  49. package/dist/components/Blocks/CallToAction.js +1 -1
  50. package/dist/components/Blocks/CallToAction.mjs +1 -1
  51. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  52. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  53. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  54. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  55. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  56. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  57. package/dist/components/Blocks/Content.js +1 -1
  58. package/dist/components/Blocks/Content.mjs +1 -1
  59. package/dist/components/Blocks/Content.stories.js +1 -1
  60. package/dist/components/Blocks/Content.stories.mjs +1 -1
  61. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  62. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  63. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  64. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  65. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  66. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  67. package/dist/components/Blocks/RelatedPosts.js +1 -1
  68. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  69. package/dist/components/Blocks/RenderBlocks.js +1 -1
  70. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  71. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  72. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  73. package/dist/components/Blocks/index.js +1 -1
  74. package/dist/components/Blocks/index.mjs +1 -1
  75. package/dist/components/CRM/DealDetails.mjs +1 -1
  76. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  77. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  78. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  79. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  80. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  81. package/dist/components/CRM/NewDealForm.mjs +1 -1
  82. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  83. package/dist/components/CRM/index.mjs +1 -1
  84. package/dist/components/Cards/ContentCard.js +1 -1
  85. package/dist/components/Cards/ContentCard.mjs +1 -1
  86. package/dist/components/Cards/ContentCard.stories.js +1 -1
  87. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  88. package/dist/components/Cards/FeatureCard.js +1 -1
  89. package/dist/components/Cards/FeatureCard.mjs +1 -1
  90. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  91. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  92. package/dist/components/Cards/index.js +1 -1
  93. package/dist/components/Cards/index.mjs +1 -1
  94. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  95. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  96. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  97. package/dist/components/HeaderFooter/Header.mjs +1 -1
  98. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  99. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  100. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  101. package/dist/components/HeaderFooter/index.mjs +1 -1
  102. package/dist/components/Heros/HighImpact/index.js +1 -1
  103. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  104. package/dist/components/Heros/LowImpact/index.js +1 -1
  105. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  106. package/dist/components/Heros/MediumImpact/index.js +1 -1
  107. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  108. package/dist/components/Heros/PostHero/index.mjs +1 -1
  109. package/dist/components/Heros/RenderHero.js +1 -1
  110. package/dist/components/Heros/RenderHero.mjs +1 -1
  111. package/dist/components/Heros/index.js +1 -1
  112. package/dist/components/Heros/index.mjs +1 -1
  113. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  114. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  115. package/dist/components/Holidays/index.mjs +1 -1
  116. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  117. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  118. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  119. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  120. package/dist/components/Layouts/Print.js +2 -2
  121. package/dist/components/Layouts/Print.mjs +1 -1
  122. package/dist/components/Layouts/Print.stories.js +1 -1
  123. package/dist/components/Layouts/Print.stories.mjs +1 -1
  124. package/dist/components/Layouts/SlideShow.js +1 -1
  125. package/dist/components/Layouts/SlideShow.mjs +1 -1
  126. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  127. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  128. package/dist/components/Layouts/index.js +1 -1
  129. package/dist/components/Layouts/index.mjs +1 -1
  130. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  131. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  132. package/dist/components/Menus/SidebarRight.mjs +1 -1
  133. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  134. package/dist/components/Menus/index.mjs +1 -1
  135. package/dist/components/Payload/Card/index.mjs +1 -1
  136. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  137. package/dist/components/Payload/Media/index.mjs +1 -1
  138. package/dist/components/Payload/RichText/index.js +1 -1
  139. package/dist/components/Payload/RichText/index.mjs +1 -1
  140. package/dist/components/Payload/RichText/serialize.js +1 -1
  141. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  142. package/dist/components/Payload/RichText.stories.js +1 -1
  143. package/dist/components/Payload/RichText.stories.mjs +1 -1
  144. package/dist/components/Payload/index.js +1 -1
  145. package/dist/components/Payload/index.mjs +1 -1
  146. package/dist/components/index.js +2 -2
  147. package/dist/components/index.mjs +1 -1
  148. package/dist/components/ui/index.mjs +1 -1
  149. package/dist/components/ui/sidebar.mjs +1 -1
  150. package/dist/globals.css +1 -1
  151. package/dist/index.js +2 -2
  152. package/dist/index.mjs +1 -1
  153. package/dist/metafile-cjs.json +1 -1
  154. package/dist/metafile-esm.json +1 -1
  155. package/dist/pages/Blog.js +1 -1
  156. package/dist/pages/Blog.mjs +1 -1
  157. package/dist/pages/Blog.stories.js +1 -1
  158. package/dist/pages/Blog.stories.mjs +1 -1
  159. package/dist/pages/Documentation.mjs +1 -1
  160. package/dist/pages/Documentation.stories.mjs +1 -1
  161. package/dist/pages/IndexPage.mjs +1 -1
  162. package/dist/pages/IndexPage.stories.mjs +1 -1
  163. package/dist/pages/Intranet.mjs +1 -1
  164. package/dist/pages/Intranet.stories.mjs +1 -1
  165. package/dist/pages/LandingPage.js +1 -1
  166. package/dist/pages/LandingPage.mjs +1 -1
  167. package/dist/pages/LandingPage.stories.js +1 -1
  168. package/dist/pages/LandingPage.stories.mjs +1 -1
  169. package/dist/pages/Page.js +1 -1
  170. package/dist/pages/Page.mjs +1 -1
  171. package/dist/pages/Page.stories.js +1 -1
  172. package/dist/pages/Page.stories.mjs +1 -1
  173. package/dist/pages/Printable.stories.js +1 -1
  174. package/dist/pages/Printable.stories.mjs +1 -1
  175. package/dist/pages/Publish.js +1 -1
  176. package/dist/pages/Publish.mjs +1 -1
  177. package/dist/pages/Publish.stories.js +1 -1
  178. package/dist/pages/Publish.stories.mjs +1 -1
  179. package/dist/pages/Website.js +1 -1
  180. package/dist/pages/Website.mjs +1 -1
  181. package/dist/pages/Website.stories.js +1 -1
  182. package/dist/pages/Website.stories.mjs +1 -1
  183. package/dist/sections/AboutSection.js +1 -1
  184. package/dist/sections/AboutSection.mjs +1 -1
  185. package/dist/sections/AboutSection.stories.js +1 -1
  186. package/dist/sections/AboutSection.stories.mjs +1 -1
  187. package/dist/sections/BlogDetail.js +1 -1
  188. package/dist/sections/BlogDetail.mjs +1 -1
  189. package/dist/sections/BlogDetail.stories.js +1 -1
  190. package/dist/sections/BlogDetail.stories.mjs +1 -1
  191. package/dist/sections/BlogList.js +1 -1
  192. package/dist/sections/BlogList.mjs +1 -1
  193. package/dist/sections/BlogList.stories.js +1 -1
  194. package/dist/sections/BlogList.stories.mjs +1 -1
  195. package/dist/sections/BlogListSection.mjs +1 -1
  196. package/dist/sections/BlogListSection.stories.mjs +1 -1
  197. package/dist/sections/ContactSection.js +1 -1
  198. package/dist/sections/ContactSection.mjs +1 -1
  199. package/dist/sections/ContactSection.stories.js +1 -1
  200. package/dist/sections/ContactSection.stories.mjs +1 -1
  201. package/dist/sections/ImageSection.stories.js +1 -1
  202. package/dist/sections/ImageSection.stories.mjs +1 -1
  203. package/dist/sections/PageSections.js +1 -1
  204. package/dist/sections/PageSections.mjs +1 -1
  205. package/dist/sections/PageSections.stories.js +1 -1
  206. package/dist/sections/PageSections.stories.mjs +1 -1
  207. package/dist/sections/PricingSection.js +1 -1
  208. package/dist/sections/PricingSection.mjs +1 -1
  209. package/dist/sections/PricingSection.stories.js +1 -1
  210. package/dist/sections/PricingSection.stories.mjs +1 -1
  211. package/dist/sections/ServiceDetail.js +1 -1
  212. package/dist/sections/ServiceDetail.mjs +1 -1
  213. package/dist/sections/ServiceDetailSection.js +1 -1
  214. package/dist/sections/ServiceDetailSection.mjs +1 -1
  215. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  216. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  217. package/dist/sections/ServiceSection.js +1 -1
  218. package/dist/sections/ServiceSection.mjs +1 -1
  219. package/dist/sections/ServiceSection.stories.js +1 -1
  220. package/dist/sections/ServiceSection.stories.mjs +1 -1
  221. package/dist/sections/index.js +1 -1
  222. package/dist/sections/index.mjs +1 -1
  223. package/package.json +1 -1
  224. package/dist/chunk-EW2RPJBD.mjs +0 -1
  225. package/dist/chunk-L26GNUUD.mjs +0 -4
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";"use client";var Cr=Object.create;var xe=Object.defineProperty;var kr=Object.getOwnPropertyDescriptor;var Nr=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,Pr=Object.prototype.hasOwnProperty;var Tr=(e,t)=>{for(var r in t)xe(e,r,{get:t[r],enumerable:!0})},ct=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Nr(t))!Pr.call(e,n)&&n!==r&&xe(e,n,{get:()=>t[n],enumerable:!(a=kr(t,n))||a.enumerable});return e};var L=(e,t,r)=>(r=e!=null?Cr(Sr(e)):{},ct(t||!e||!e.__esModule?xe(r,"default",{value:e,enumerable:!0}):r,e)),Ir=e=>ct(xe({},"__esModule",{value:!0}),e);var ko={};Tr(ko,{default:()=>wr});module.exports=Ir(ko);var $=L(require("react"));var xt=require("clsx");var Je="-",Br=e=>{let t=Rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Je);return i[0]===""&&i.length!==1&&i.shift(),mt(i,t)||Ar(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},mt=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?mt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Je);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},dt=/^\[(.+)\]$/,Ar=e=>{if(dt.test(e)){let t=dt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Rr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Dr(Object.entries(e.classGroups),r).forEach(([o,s])=>{je(s,a,o,t)}),a},je=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:pt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Mr(n)){je(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{je(s,pt(t,o),r,a)})})},pt=(e,t)=>{let r=e;return t.split(Je).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Mr=e=>e.isThemeGetter,Dr=(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(([s,i])=>[t+s,i])):o);return[r,n]}):e,Lr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},ut="!",Fr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],p=0,m=0,x;for(let T=0;T<i.length;T++){let I=i[T];if(p===0){if(I===n&&(a||i.slice(T,T+o)===t)){c.push(i.slice(m,T)),m=T+o;continue}if(I==="/"){x=T;continue}}I==="["?p++:I==="]"&&p--}let w=c.length===0?i:i.substring(m),N=w.startsWith(ut),P=N?w.substring(1):w,S=x&&x>m?x-m:void 0;return{modifiers:c,hasImportantModifier:N,baseClassName:P,maybePostfixModifierPosition:S}};return r?i=>r({className:i,parseClassName:s}):s},Hr=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},zr=e=>({cache:Lr(e.cacheSize),parseClassName:Fr(e),...Br(e)}),Er=/\s+/,Gr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Er),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:m,hasImportantModifier:x,baseClassName:w,maybePostfixModifierPosition:N}=r(p),P=!!N,S=a(P?w.substring(0,N):w);if(!S){if(!P){i=p+(i.length>0?" "+i:i);continue}if(S=a(w),!S){i=p+(i.length>0?" "+i:i);continue}P=!1}let T=Hr(m).join(":"),I=x?T+ut:T,R=I+S;if(o.includes(R))continue;o.push(R);let Y=n(S,P);for(let z=0;z<Y.length;++z){let ge=Y[z];o.push(I+ge)}i=p+(i.length>0?" "+i:i)}return i};function Ur(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ft(t))&&(a&&(a+=" "),a+=r);return a}var ft=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=ft(e[a]))&&(r&&(r+=" "),r+=t);return r};function Or(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((m,x)=>x(m),e());return r=zr(p),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let m=Gr(c,r);return n(c,m),m}return function(){return o(Ur.apply(null,arguments))}}var y=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},gt=/^\[(?:([a-z-]+):)?(.+)\]$/i,jr=/^\d+\/\d+$/,Jr=new Set(["px","full","screen"]),Yr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vr=/\d+(%|px|r?em|[sdl]?X([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|X|i|X|min|max))|\X(calc|min|max|clamp)\(.+\)|^0$/,_r=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$r=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Xr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>Z(e)||Jr.has(e)||jr.test(e),V=e=>ee(e,"length",ro),Z=e=>!!e&&!Number.isNaN(Number(e)),Oe=e=>ee(e,"number",Z),ie=e=>!!e&&Number.isInteger(Number(e)),Qr=e=>e.endsWith("%")&&Z(e.slice(0,-1)),d=e=>gt.test(e),_=e=>Yr.test(e),qr=new Set(["length","size","percentage"]),Kr=e=>ee(e,qr,bt),Wr=e=>ee(e,"position",bt),Zr=new Set(["image","url"]),eo=e=>ee(e,Zr,ao),to=e=>ee(e,"",oo),le=()=>!0,ee=(e,t,r)=>{let a=gt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},ro=e=>Vr.test(e)&&!_r.test(e),bt=()=>!1,oo=e=>$r.test(e),ao=e=>Xr.test(e);var no=()=>{let e=y("colors"),t=y("spacing"),r=y("blur"),a=y("brightness"),n=y("borderColor"),o=y("borderRadius"),s=y("borderSpacing"),i=y("borderWidth"),c=y("contrast"),p=y("grayscale"),m=y("hueRotate"),x=y("invert"),w=y("gap"),N=y("gradientColorStops"),P=y("gradientColorStopPositions"),S=y("inset"),T=y("margin"),I=y("opacity"),R=y("padding"),Y=y("saturate"),z=y("scale"),ge=y("sepia"),rt=y("skew"),ot=y("space"),at=y("translate"),ze=()=>["auto","contain","none"],Ee=()=>["auto","hidden","clip","visible","scroll"],Ge=()=>["auto",d,t],C=()=>[d,t],nt=()=>["",O,V],be=()=>["auto",Z,d],st=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],he=()=>["solid","dashed","dotted","double","none"],it=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ue=()=>["start","end","center","between","around","evenly","stretch"],se=()=>["","0",d],lt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Z,d];return{cacheSize:500,separator:":",theme:{colors:[le],spacing:[O,V],blur:["none","",_,d],brightness:U(),borderColor:[e],borderRadius:["none","","full",_,d],borderSpacing:C(),borderWidth:nt(),contrast:U(),grayscale:se(),hueRotate:U(),invert:se(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[Qr,V],inset:Ge(),margin:Ge(),opacity:U(),padding:C(),saturate:U(),scale:U(),sepia:se(),skew:U(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[_]}],"break-after":[{"break-after":lt()}],"break-before":[{"break-before":lt()}],"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:[...st(),d]}],overflow:[{overflow:Ee()}],"overflow-x":[{"overflow-x":Ee()}],"overflow-y":[{"overflow-y":Ee()}],overscroll:[{overscroll:ze()}],"overscroll-x":[{"overscroll-x":ze()}],"overscroll-y":[{"overscroll-y":ze()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-y":[{"inset-y":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ie,d]}],basis:[{basis:Ge()}],"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:se()}],shrink:[{shrink:se()}],order:[{order:["first","last","none",ie,d]}],"grid-cols":[{"grid-cols":[le]}],"col-start-end":[{col:["auto",{span:["full",ie,d]},d]}],"col-start":[{"col-start":be()}],"col-end":[{"col-end":be()}],"grid-rows":[{"grid-rows":[le]}],"row-start-end":[{row:["auto",{span:[ie,d]},d]}],"row-start":[{"row-start":be()}],"row-end":[{"row-end":be()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","ae",d]}],"auto-rows":[{"auto-rows":["auto","min","max","ae",d]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...Ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[T]}],mx:[{mx:[T]}],my:[{my:[T]}],ms:[{ms:[T]}],X:[{X:[T]}],mt:[{mt:[T]}],mr:[{mr:[T]}],mb:[{mb:[T]}],ml:[{ml:[T]}],"space-x":[{"space-x":[ot]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ot]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[_]},_]}],X:[{X:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-X":[{"min-X":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-X":[{"max-X":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",_,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Oe]}],"font-family":[{font:[le]}],"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",Z,Oe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,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":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",O,V]}],"underline-offset":[{"underline-offset":["auto",O,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...st(),Wr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","X","r","ur","X","bl","l","tl"]},eo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-X":[{"rounded-X":[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-X":[{"rounded-X":[o]}],"rounded-ur":[{"rounded-ur":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-X":[{"border-X":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...he(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:he()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[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-X":[{"border-X":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...he()]}],"outline-offset":[{"outline-offset":[O,d]}],"outline-w":[{outline:[O,V]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:nt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[O,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_,to]}],"shadow-color":[{shadow:[le]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...it(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":it()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",_,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[Y]}],sepia:[{sepia:[ge]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[Y]}],"backdrop-sepia":[{"backdrop-sepia":[ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[ie,d]}],"translate-x":[{"translate-x":[at]}],"translate-y":[{"translate-y":[at]}],"skew-x":[{"skew-x":[rt]}],"skew-y":[{"skew-y":[rt]}],"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","Bt-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-X":[{"scroll-X":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[O,V,Oe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","X","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","X"],"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-X","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-X","rounded-ur","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-X"],"rounded-r":["rounded-X","rounded-ur"],"rounded-X":["rounded-ur","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-X","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-X"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-X","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-X"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-X","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-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ht=Or(no);function l(...e){return ht((0,xt.clsx)(e))}var X=require("react/jsx-runtime"),ye=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ye.displayName="Card";var ve=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 p-6",e),...t}));ve.displayName="CardHeader";var we=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));we.displayName="CardTitle";var so=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));so.displayName="CardDescription";var Ce=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));Ce.displayName="CardContent";var io=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));io.displayName="CardFooter";var yt=require("@radix-ui/react-slot"),vt=require("class-variance-authority"),wt=L(require("react")),lo=(0,vt.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:"X-10 px-4 py-2",icon:"X-10 w-10",lg:"X-11 rounded px-8",sm:"X-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"}}}),j=wt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,X.jsx)(e?yt.Slot:"button",{className:l(lo({className:t,size:r,variant:a})),ref:o,...n}));j.displayName="Button";var He=require("lucide-react");var kt=({className:e,content:t,style:r})=>(0,X.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,X.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,X.jsx)(M,{content:t,enableGutter:!1,enableProse:!1})})});var Bt=require("react");var Ye=L(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:p}=e,m=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!m)return null;let x=r==="link"?"clear":c,w=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,X.jsxs)(Ye.default,{className:l(n),href:m||p||"",...w,children:[o&&o,a&&a]}):(0,X.jsx)(j,{asChild:!0,className:n,size:x,variant:r,children:(0,X.jsxs)(Ye.default,{className:l(n),href:m||p||"",...w,children:[o&&o,a&&a]})})};function Ne({className:e}){return l("flex items-center min-X-[3.5rem] md:min-X-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function co({className:e,...t}){return(0,X.jsx)("input",{...t,className:Ne({className:e})})}function Se({icon:e,...t}){return(0,X.jsxs)("div",{className:"relative w-full",children:[(0,X.jsx)(co,{...t}),e&&(0,X.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function po({className:e,...t}){return(0,X.jsx)("textarea",{...t,className:l(Ne({}),"resize-none md:min-X-[130px]",e)})}function Nt({icon:e,...t}){return(0,X.jsxs)("div",{className:"relative w-full",children:[(0,X.jsx)(po,{...t}),e&&(0,X.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Pt=require("formik"),Tt=require("react-icons/fa6"),q=L(require("yup"));async function St(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ve=require("sonner"),F={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},mo=q.object().shape({name:q.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),email:q.string().email(F.email).required(F.required),subject:q.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),message:q.string().min(2,F.tooShort).max(300,F.tooLong).required(F.required)}),Pe=l("!pr-[44px] text-foreground"),Te=l("!border-red-600 border"),Ie=l("sr-only");function It(){return(0,X.jsx)(Pt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:mo,onSubmit:async(e,{resetForm:t})=>{let r=await St(e);r.data===null?Ve.toast.error(r.message):(Ve.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,X.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,X.jsxs)("div",{children:[(0,X.jsx)(Se,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,X.jsx)(Tt.FaUser,{className:"text-primary"}),className:l(Pe,e.name&&t.name&&Te)}),e.name&&t.name&&(0,X.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ie,children:e.name})]}),(0,X.jsxs)("div",{children:[(0,X.jsx)(Se,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,X.jsx)(uo,{}),className:l(Pe,e.email&&t.email&&Te)}),e.email&&t.email&&(0,X.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ie,children:e.email})]}),(0,X.jsxs)("div",{className:"lg:col-span-2",children:[(0,X.jsx)(Se,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Pe,e.subject&&t.subject&&Te)}),e.subject&&t.subject&&(0,X.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ie,children:e.subject})]}),(0,X.jsxs)("div",{className:"lg:col-span-2",children:[(0,X.jsx)(Nt,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,X.jsx)(fo,{}),className:l(Pe,e.message&&t.message&&Te)}),e.message&&t.message&&(0,X.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ie,children:e.message})]}),(0,X.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,X.jsx)(j,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function uo(){return(0,X.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,X.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function fo(){return(0,X.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,X.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var At=({links:e,richText:t})=>{let[r,a]=(0,Bt.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),i=c=>{c.target===c.currentTarget&&s()};return(0,X.jsxs)("div",{className:l("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,X.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,X.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,X.jsx)(M,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,X.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,X.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>(c==null?void 0:c.url)==="/contact"?(0,X.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,X.jsx)(Q,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),r&&(0,X.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,X.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[(0,X.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,X.jsx)(It,{})," "]})})]})};var Be=require("prism-react-renderer");function Dt({code:e}){let[t,r]=(0,Bt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,X.jsx)("div",{className:"flex justify-end align-middle",children:(0,X.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,X.jsx)("p",{children:t}),(0,X.jsx)("div",{className:"w-6 X-6",children:(0,X.jsx)(He.ClipboardCopy,{})})]})})}var Lt=({code:e,language:t=""})=>e?(0,X.jsx)(Be.Highlight,{code:e,language:t,theme:Be.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,X.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,X.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,X.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,X.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,X.jsx)("span",{...a({token:i})},c))})]},s)),(0,X.jsx)(Dt,{code:e})]})}):null;var Ft=({className:e,code:t,language:r})=>(0,X.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,X.jsx)(Lt,{code:t,language:r})});var zt=L(require("next/image")),go={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ht="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=",Et=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,p,m,x=t,w=i||"";if(!w&&o&&typeof o=="object"){let{alt:S,filename:T,height:I,url:R,width:Y}=o;if(I&&I>500){let z=500/I;p=Y*z,m=I*z}else p=Y,m=I;x=S||"",w=R||Ht}let N=c||"lazy",P=s||Object.entries(go).map(([,S])=>`(max-width: ${S}px) ${S*2}w`).join(", ");return(0,$e.jsx)("picture",{children:(0,$e.jsx)(zt.default,{alt:x||"",className:l(a),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:Ht,priority:N!=="lazy"&&n,quality:100,loading:N,sizes:P,src:w,width:r?void 0:p})})};var Gt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ut=()=>{if(Gt){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 Ot=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Bt.useRef)(null);if((0,Bt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,X.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,X.jsx)("source",{src:`${Ut()}/media/${o}`})})}return null};var oe=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,X.jsx)(r||Bt.Fragment,{...r!==null?{className:t}:{},children:n?(0,X.jsx)(Ot,{...e}):(0,X.jsx)(Et,{...e})})};var Jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,X.jsx)("div",{className:l("X-full ",{container:r},t),children:(0,X.jsx)(oe,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var Yt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,X.jsx)("div",{className:l("",{container:r},t),children:(0,X.jsx)(oe,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var de=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a!=null?a:"",i=n+o+" fa-"+r+" "+s;return(0,X.jsx)("i",{className:i})};var $t=L(require("next/image"));function _t(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ke({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:i,className:c}){var x,w;let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-ur from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-ur from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},m={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,X.jsxs)("a",{href:(i==null?void 0:i.url)||"#",className:l("min-w-56 max-w-xl X-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",s&&!e&&p[(s==null?void 0:s.card)==="default"?"solid":s==null?void 0:s.card],e&&"bg-foreground",s&&(s==null?void 0:s.card)==="outline"?"text-gray-900":"text-white",m[(x=s==null?void 0:s.width)!=null?x:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,X.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,X.jsx)($t.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,X.jsxs)("div",{className:l(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,X.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,X.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,X.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,X.jsx)(bo,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(s==null?void 0:s.card)==="default"?"solid":(w=s==null?void 0:s.card)!=null?w:"solid",iconSize:(s==null?void 0:s.iconSize)||"large"})}),n&&typeof n=="object"&&(0,X.jsx)(M,{enableGutter:!1,content:n,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),n&&typeof n=="string"&&(0,X.jsx)("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),i&&i.url&&(0,X.jsx)("div",{className:"mt-6",children:(0,X.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:(i==null?void 0:i.label)||"Find out more"})})]})]})}var bo=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,X.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,X.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),_t(e)&&(0,X.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"?"-mr-2 ml-1 mt-1":""),children:(0,X.jsx)(de,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,X.jsxs)("div",{className:"flex flex-col gap-4",children:[_t(e)&&(0,X.jsx)("div",{className:l("X-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,X.jsx)(de,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,X.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,X.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,X.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Qt=(0,vt.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 We({className:e,variant:t,...r}){return(0,X.jsx)("div",{className:l(Qt({variant:t}),e),...r})}var Kt=L(require("next/link"));function Wt({children:e,href:t,openNewTab:r,...a}){return(0,X.jsx)(Kt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var er=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,X.jsxs)("section",{className:l(n?"w-full":"container",""),children:[(0,X.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,X.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,X.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,X.jsx)("div",{className:"mb-5 text-foreground",children:(0,X.jsx)(M,{content:t,enableGutter:!1})})]}),(0,X.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,s)=>{var c;let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,X.jsx)(Ke,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=i())!=null?c:{type:"none",icon:null}},s)})})]});var Me=L(require("react"));function pe({nodes:e}){return(0,X.jsx)(Me.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,X.jsx)(Me.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,X.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,X.jsx)("em",{children:o},r)),t.format&4&&(o=(0,X.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,X.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,X.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,X.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,X.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,X.jsx)("table",{children:(0,X.jsx)("tbody",{children:t.children.map((o,s)=>(0,X.jsx)("X",{children:o.children.map((i,c)=>(0,X.jsx)("td",{children:pe({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return pe({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,X.jsx)(At,{...o},r);case"mediaBlock":return(0,X.jsx)(Jt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,X.jsx)(Yt,{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,X.jsx)(kt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,X.jsx)(Ft,{className:"col-start-2",...o},r);case"features":return(0,X.jsx)(er,{...o,nested:!0},r);case"reusableContentBlock":pe({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,X.jsx)("ur",{className:"col-start-2"},r);case"paragraph":return(0,X.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,X.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,X.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,X.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,X.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,X.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,X.jsx)(Q,{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,X.jsx)(Q,{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,X.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&pe({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var rr=({children:e,richText:t})=>(0,X.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,X.jsx)("div",{className:"container",children:e||t&&(0,X.jsx)(M,{content:t,enableGutter:!1})})});var Ze=L(require("next/image"));var ho=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,X.jsx)(Ze.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,X.jsx)("div",{children:(0,X.jsx)(Ze.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},or=({links:e,media:t,children:r,richText:a})=>(0,X.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,X.jsx)(ho,{media:t}),(0,X.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,X.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,X.jsx)(M,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var ar=L(require("next/image"));var nr=({links:e,media:t,children:r,richText:a})=>(0,X.jsx)("div",{children:(0,X.jsxs)("div",{className:"sticky top-0 X-[70vh] min-X-[600px]",children:[(0,X.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[r||a&&(0,X.jsx)(M,{className:"max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,X.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,X.jsx)("li",{children:(0,X.jsx)(Q,{...n})},o))})]}),(0,X.jsxs)("div",{className:"fixed inset-0 X-[70vh] min-X-[600px] select-none",children:[t&&typeof t=="object"&&(0,X.jsx)(oe,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,X.jsx)("div",{children:(0,X.jsx)(ar.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,X.jsx)("span",{className:"absolute inset-0 bg-gradient-to-X from-white dark:from-black"})]}),(0,X.jsx)(xo,{})]})}),xo=()=>(0,X.jsx)("div",{className:"w-full X-[1240px] z-10",children:(0,X.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[(0,X.jsx)("defs",{children:(0,X.jsxs)("mask",{id:"mask",children:[(0,X.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,X.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,X.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,X.jsx)("rect",{y:"330",width:"1920",height:"7",fill:"white"})," "]})});var ir=L(require("react")),lr=L(require("next/image"));var sr=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,s=n<10?`0${n}`:n,i=r.getFullYear();return`${s}/${o}/${i}`};var cr=({post:e})=>{var s;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,X.jsxs)("div",{className:"relative grid pt-24",children:[(0,X.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-X-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,X.jsxs)("div",{className:"container mx-auto",children:[(0,X.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,X.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,X.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,X.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,X.jsx)("p",{children:a.map((i,c)=>(0,X.jsxs)(ir.default.Fragment,{children:[i.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},i.id))})]}),n&&(0,X.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,X.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,X.jsx)("time",{dateTime:n,children:sr(n)})]}),t&&t.length>0&&(0,X.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,X.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,X.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((i,c)=>typeof i=="object"&&i!==null&&(0,X.jsx)(We,{className:"px-3 py-1 mx-1",children:i.title||"Untitled category"},i.id||c))})]})]})]})}),(0,X.jsxs)("div",{className:"absolute inset-0 w-full X-full",children:[(0,X.jsx)(lr.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((s=r==null?void 0:r.image)==null?void 0:s.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,X.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full X-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var ae=require("@headlessui/react"),pr=require("@heroicons/react/20/solid");var yo=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,X.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm text-foreground group",children:(0,X.jsxs)("span",{className:"relative",children:[e,(0,X.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 X-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,X.jsxs)(ae.Popover,{children:[(0,X.jsxs)(ae.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 text-foreground outline-none group",children:[(0,X.jsxs)("span",{className:"relative",children:[e,(0,X.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 X-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,X.jsx)(pr.ChevronDownIcon,{"aria-hidden":"true",className:"X-5 w-5 flex-none text-accent"})]}),(0,X.jsxs)(ae.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-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,X.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,X.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,X.jsx)("div",{className:"flex X-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,X.jsx)(dr,{icon:n.icon,size:"4x"})}),(0,X.jsxs)("a",{href:n.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[n.name,(0,X.jsx)("span",{className:"absolute inset-0"})]}),(0,X.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,X.jsx)("div",{className:"bg-gray-50",children:(0,X.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,X.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,X.jsxs)("a",{href:n.href,className:"flex items-center max-X-12 justify-center gap-x-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,X.jsx)(dr,{icon:n.icon,className:"X-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),dr=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,X.jsx)(de,{...e,size:r});if("src"in e)return(0,X.jsx)("div",{className:l(t,"X-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,X.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},mr=yo;var et=L(require("next/image"));function ue({logoLight:e,logoDark:t,mobile:r=!1}){return(0,X.jsxs)(Wt,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,X.jsx)(et.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,X.jsx)(et.default,{className:"hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var ur=require("next-themes");function gr({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:n=!1,wide:o=!1}){let[s,i]=(0,Bt.useState)(!1),[c,p]=(0,Bt.useState)(""),m=["light","dark"],{theme:x,setTheme:w}=(0,ur.useTheme)();(0,Bt.useEffect)(()=>{p(x||"dark")},[x]);let N=()=>{let P=m[(m.indexOf(c)+1)%m.length];p(P),w(P)};return(0,Bt.useEffect)(()=>{let P=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",P,{passive:!0}),()=>window.removeEventListener("scroll",P)},[]),(0,X.jsx)(X.Fragment,{children:(0,X.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${s||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,X.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:(0,X.jsxs)("div",{className:l("flex items-center justify-between px-9 py-0",!o&&"container"),children:[(0,X.jsx)(ue,{logoDark:r,logoLight:t}),(0,X.jsx)(ae.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(P=>(0,X.jsx)(mr,{...P},P.name))}),n&&(0,X.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:N,children:(0,X.jsxs)("div",{className:"relative",children:[(0,X.jsx)(He.Sun,{className:"absolute X-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,X.jsx)(He.Moon,{className:"absoulte X-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var Fe=require("@heroicons/react/24/outline");var tt=["light","dark"];function hr({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,Bt.useState)(!1),{theme:s,setTheme:i}=(0,ur.useTheme)(),[c,p]=(0,Bt.useState)(!1),[m,x]=(0,Bt.useState)("light");(0,Bt.useEffect)(()=>{let N=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",N,{passive:!0}),()=>window.removeEventListener("scroll",N)},[]),(0,Bt.useEffect)(()=>{x(s||"dark")},[s]);let w=()=>{let N=tt[(tt.indexOf(m)+1)%tt.length];x(N),i(N)};return(0,X.jsx)(X.Fragment,{children:(0,X.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,X.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,X.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-X dark:border-accent",children:[(0,X.jsx)(ue,{logoDark:t,logoLight:e,mobile:!0}),(0,X.jsx)("div",{className:"flex items-center space-x-4",children:(0,X.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,X.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,X.jsx)(Fe.Bars3Icon,{"aria-hidden":"true",className:"X-4 w-4"})]})})]})}),(0,X.jsxs)(ae.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,X.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,X.jsxs)(ae.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,X.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,X.jsx)(ue,{logoDark:t,logoLight:e,mobile:!0}),(0,X.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,X.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,X.jsx)(Fe.XMarkIcon,{"aria-hidden":"true",className:"X-6 w-6"})]})]}),(0,X.jsx)("div",{className:"mt-6 flow-root",children:(0,X.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,X.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(N=>(0,X.jsx)(vo,{...N},N.name))})})})]})]})]})})}function vo({name:e,items:t,actions:r,href:a}){return!t&&a?(0,X.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,X.jsxs)(ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,X.jsx)(ae.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,X.jsx)(ae.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(n=>(0,X.jsx)(ae.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 xr({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n,wide:o,themeControl:s=!1}){return(0,X.jsxs)("div",{className:l("fixed top-0 left-0 right-0 z-50",n),children:[(0,X.jsx)(gr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:s,wide:o}),(0,X.jsx)(hr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var yr="../cortex-reply-light-27IMI3G7.png";var vr="../cortex-reply-dark-XPAJJJYY.png";function wr({...e}){return(0,X.jsxs)("div",{children:[(0,X.jsx)(xr,{isMenuOpen:!0,logoLight:yr,logoDark:vr,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,X.jsx)(rr,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,X.jsx)(or,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,X.jsx)(nr,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,X.jsx)(cr,{...e.hero}),(0,X.jsx)("div",{className:"container py-8",children:(0,X.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,X.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,X.jsxs)("div",{className:"space-y-6",children:[(0,X.jsxs)(ye,{children:[(0,X.jsx)(ve,{children:(0,X.jsx)(we,{children:"Quick Actions"})}),(0,X.jsxs)(Ce,{children:[(0,X.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,X.jsx)(j,{className:"w-full",children:"Create New"})]})]}),(0,X.jsxs)(ye,{children:[(0,X.jsx)(ve,{children:(0,X.jsx)(we,{children:"Resources"})}),(0,X.jsx)(Ce,{children:(0,X.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,X.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,X.jsx)(He.ExternalLink,{className:"ml-1 X-3 w-3"})]}),(0,X.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,X.jsx)(He.ExternalLink,{className:"ml-1 X-3 w-3"})]}),(0,X.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,X.jsx)(He.ExternalLink,{className:"ml-1 X-3 w-3"})]})]})})]})]})]})})]})}
5
+ "use strict";"use client";var Cr=Object.create;var xe=Object.defineProperty;var kr=Object.getOwnPropertyDescriptor;var Nr=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,Pr=Object.prototype.hasOwnProperty;var Tr=(e,t)=>{for(var r in t)xe(e,r,{get:t[r],enumerable:!0})},ct=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Nr(t))!Pr.call(e,n)&&n!==r&&xe(e,n,{get:()=>t[n],enumerable:!(a=kr(t,n))||a.enumerable});return e};var L=(e,t,r)=>(r=e!=null?Cr(Sr(e)):{},ct(t||!e||!e.__esModule?xe(r,"default",{value:e,enumerable:!0}):r,e)),Ir=e=>ct(xe({},"__esModule",{value:!0}),e);var ko={};Tr(ko,{default:()=>wr});module.exports=Ir(ko);var $=L(require("react"));var xt=require("clsx");var Je="-",Br=e=>{let t=Rr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:s=>{let i=s.split(Je);return i[0]===""&&i.length!==1&&i.shift(),mt(i,t)||Ar(s)},getConflictingClassGroupIds:(s,i)=>{let c=r[s]||[];return i&&a[s]?[...c,...a[s]]:c}}},mt=(e,t)=>{var s;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),n=a?mt(e.slice(1),a):void 0;if(n)return n;if(t.validators.length===0)return;let o=e.join(Je);return(s=t.validators.find(({validator:i})=>i(o)))==null?void 0:s.classGroupId},dt=/^\[(.+)\]$/,Ar=e=>{if(dt.test(e)){let t=dt.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Rr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Dr(Object.entries(e.classGroups),r).forEach(([o,s])=>{je(s,a,o,t)}),a},je=(e,t,r,a)=>{e.forEach(n=>{if(typeof n=="string"){let o=n===""?t:pt(t,n);o.classGroupId=r;return}if(typeof n=="function"){if(Mr(n)){je(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{je(s,pt(t,o),r,a)})})},pt=(e,t)=>{let r=e;return t.split(Je).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Mr=e=>e.isThemeGetter,Dr=(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(([s,i])=>[t+s,i])):o);return[r,n]}):e,Lr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,n=(o,s)=>{r.set(o,s),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let s=r.get(o);if(s!==void 0)return s;if((s=a.get(o))!==void 0)return n(o,s),s},set(o,s){r.has(o)?r.set(o,s):n(o,s)}}},ut="!",Fr=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,n=t[0],o=t.length,s=i=>{let c=[],p=0,m=0,x;for(let T=0;T<i.length;T++){let I=i[T];if(p===0){if(I===n&&(a||i.slice(T,T+o)===t)){c.push(i.slice(m,T)),m=T+o;continue}if(I==="/"){x=T;continue}}I==="["?p++:I==="]"&&p--}let w=c.length===0?i:i.substring(m),N=w.startsWith(ut),P=N?w.substring(1):w,S=x&&x>m?x-m:void 0;return{modifiers:c,hasImportantModifier:N,baseClassName:P,maybePostfixModifierPosition:S}};return r?i=>r({className:i,parseClassName:s}):s},Hr=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},zr=e=>({cache:Lr(e.cacheSize),parseClassName:Fr(e),...Br(e)}),Er=/\s+/,Gr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Er),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:m,hasImportantModifier:x,baseClassName:w,maybePostfixModifierPosition:N}=r(p),P=!!N,S=a(P?w.substring(0,N):w);if(!S){if(!P){i=p+(i.length>0?" "+i:i);continue}if(S=a(w),!S){i=p+(i.length>0?" "+i:i);continue}P=!1}let T=Hr(m).join(":"),I=x?T+ut:T,R=I+S;if(o.includes(R))continue;o.push(R);let Y=n(S,P);for(let z=0;z<Y.length;++z){let ge=Y[z];o.push(I+ge)}i=p+(i.length>0?" "+i:i)}return i};function Ur(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ft(t))&&(a&&(a+=" "),a+=r);return a}var ft=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=ft(e[a]))&&(r&&(r+=" "),r+=t);return r};function Or(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((m,x)=>x(m),e());return r=zr(p),a=r.cache.get,n=r.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let m=Gr(c,r);return n(c,m),m}return function(){return o(Ur.apply(null,arguments))}}var y=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},gt=/^\[(?:([a-z-]+):)?(.+)\]$/i,jr=/^\d+\/\d+$/,Jr=new Set(["px","full","screen"]),Yr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vr=/\d+(%|px|r?em|[sdl]?X([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|X|i|X|min|max))|\X(calc|min|max|clamp)\(.+\)|^0$/,_r=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$r=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Xr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,O=e=>Z(e)||Jr.has(e)||jr.test(e),V=e=>ee(e,"length",ro),Z=e=>!!e&&!Number.isNaN(Number(e)),Oe=e=>ee(e,"number",Z),ie=e=>!!e&&Number.isInteger(Number(e)),Qr=e=>e.endsWith("%")&&Z(e.slice(0,-1)),d=e=>gt.test(e),_=e=>Yr.test(e),qr=new Set(["length","size","percentage"]),Kr=e=>ee(e,qr,bt),Wr=e=>ee(e,"position",bt),Zr=new Set(["image","url"]),eo=e=>ee(e,Zr,ao),to=e=>ee(e,"",oo),le=()=>!0,ee=(e,t,r)=>{let a=gt.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},ro=e=>Vr.test(e)&&!_r.test(e),bt=()=>!1,oo=e=>$r.test(e),ao=e=>Xr.test(e);var no=()=>{let e=y("colors"),t=y("spacing"),r=y("blur"),a=y("brightness"),n=y("borderColor"),o=y("borderRadius"),s=y("borderSpacing"),i=y("borderWidth"),c=y("contrast"),p=y("grayscale"),m=y("hueRotate"),x=y("invert"),w=y("gap"),N=y("gradientColorStops"),P=y("gradientColorStopPositions"),S=y("inset"),T=y("margin"),I=y("opacity"),R=y("padding"),Y=y("saturate"),z=y("scale"),ge=y("sepia"),rt=y("skew"),ot=y("space"),at=y("translate"),ze=()=>["auto","contain","none"],Ee=()=>["auto","hidden","clip","visible","scroll"],Ge=()=>["auto",d,t],C=()=>[d,t],nt=()=>["",O,V],be=()=>["auto",Z,d],st=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],he=()=>["solid","dashed","dotted","double","none"],it=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ue=()=>["start","end","center","between","around","evenly","stretch"],se=()=>["","0",d],lt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Z,d];return{cacheSize:500,separator:":",theme:{colors:[le],spacing:[O,V],blur:["none","",_,d],brightness:U(),borderColor:[e],borderRadius:["none","","full",_,d],borderSpacing:C(),borderWidth:nt(),contrast:U(),grayscale:se(),hueRotate:U(),invert:se(),gap:C(),gradientColorStops:[e],gradientColorStopPositions:[Qr,V],inset:Ge(),margin:Ge(),opacity:U(),padding:C(),saturate:U(),scale:U(),sepia:se(),skew:U(),space:C(),translate:C()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[_]}],"break-after":[{"break-after":lt()}],"break-before":[{"break-before":lt()}],"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:[...st(),d]}],overflow:[{overflow:Ee()}],"overflow-x":[{"overflow-x":Ee()}],"overflow-y":[{"overflow-y":Ee()}],overscroll:[{overscroll:ze()}],"overscroll-x":[{"overscroll-x":ze()}],"overscroll-y":[{"overscroll-y":ze()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-y":[{"inset-y":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ie,d]}],basis:[{basis:Ge()}],"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:se()}],shrink:[{shrink:se()}],order:[{order:["first","last","none",ie,d]}],"grid-cols":[{"grid-cols":[le]}],"col-start-end":[{col:["auto",{span:["full",ie,d]},d]}],"col-start":[{"col-start":be()}],"col-end":[{"col-end":be()}],"grid-rows":[{"grid-rows":[le]}],"row-start-end":[{row:["auto",{span:[ie,d]},d]}],"row-start":[{"row-start":be()}],"row-end":[{"row-end":be()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","ae",d]}],"auto-rows":[{"auto-rows":["auto","min","max","ae",d]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...Ue()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ue(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ue(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[T]}],mx:[{mx:[T]}],my:[{my:[T]}],ms:[{ms:[T]}],X:[{X:[T]}],mt:[{mt:[T]}],mr:[{mr:[T]}],mb:[{mb:[T]}],ml:[{ml:[T]}],"space-x":[{"space-x":[ot]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ot]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[_]},_]}],X:[{X:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-X":[{"min-X":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-X":[{"max-X":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",_,V]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Oe]}],"font-family":[{font:[le]}],"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",Z,Oe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",O,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":[I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[I]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",O,V]}],"underline-offset":[{"underline-offset":["auto",O,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[I]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...st(),Wr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Kr]}],"bg-image":[{bg:["none",{"gradient-to":["t","X","r","ur","X","bl","l","tl"]},eo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[N]}],"gradient-via":[{via:[N]}],"gradient-to":[{to:[N]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-X":[{"rounded-X":[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-X":[{"rounded-X":[o]}],"rounded-ur":[{"rounded-ur":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-X":[{"border-X":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[I]}],"border-style":[{border:[...he(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[I]}],"divide-style":[{divide:he()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[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-X":[{"border-X":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...he()]}],"outline-offset":[{"outline-offset":[O,d]}],"outline-w":[{outline:[O,V]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:nt()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[I]}],"ring-offset-w":[{"ring-offset":[O,V]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_,to]}],"shadow-color":[{shadow:[le]}],opacity:[{opacity:[I]}],"mix-blend":[{"mix-blend":[...it(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":it()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",_,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[Y]}],sepia:[{sepia:[ge]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[I]}],"backdrop-saturate":[{"backdrop-saturate":[Y]}],"backdrop-sepia":[{"backdrop-sepia":[ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[z]}],"scale-x":[{"scale-x":[z]}],"scale-y":[{"scale-y":[z]}],rotate:[{rotate:[ie,d]}],"translate-x":[{"translate-x":[at]}],"translate-y":[{"translate-y":[at]}],"skew-x":[{"skew-x":[rt]}],"skew-y":[{"skew-y":[rt]}],"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","Bt-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-X":[{"scroll-X":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[O,V,Oe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","X","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","X"],"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-X","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-X","rounded-ur","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-X"],"rounded-r":["rounded-X","rounded-ur"],"rounded-X":["rounded-ur","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-X","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-X"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-X","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-X"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-X","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-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var ht=Or(no);function l(...e){return ht((0,xt.clsx)(e))}var X=require("react/jsx-runtime"),ye=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ye.displayName="Card";var ve=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 p-6",e),...t}));ve.displayName="CardHeader";var we=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));we.displayName="CardTitle";var so=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));so.displayName="CardDescription";var Ce=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));Ce.displayName="CardContent";var io=$.forwardRef(({className:e,...t},r)=>(0,X.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));io.displayName="CardFooter";var yt=require("@radix-ui/react-slot"),vt=require("class-variance-authority"),wt=L(require("react")),lo=(0,vt.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:"X-10 px-4 py-2",icon:"X-10 w-10",lg:"X-11 rounded px-8",sm:"X-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"}}}),j=wt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,X.jsx)(e?yt.Slot:"button",{className:l(lo({className:t,size:r,variant:a})),ref:o,...n}));j.displayName="Button";var He=require("lucide-react");var kt=({className:e,content:t,style:r})=>(0,X.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,X.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,X.jsx)(M,{content:t,enableGutter:!1,enableProse:!1})})});var Bt=require("react");var Ye=L(require("next/link")),Q=e=>{let{type:t,appearance:r="inline",children:a,className:n,label:o,newTab:s,reference:i,size:c,url:p}=e,m=t==="reference"&&typeof(i==null?void 0:i.value)=="object"&&i.value.slug?`${(i==null?void 0:i.relationTo)!=="pages"?`/${i==null?void 0:i.relationTo}`:""}/${i.value.slug}`:p;if(!m)return null;let x=r==="link"?"clear":c,w=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,X.jsxs)(Ye.default,{className:l(n),href:m||p||"",...w,children:[o&&o,a&&a]}):(0,X.jsx)(j,{asChild:!0,className:n,size:x,variant:r,children:(0,X.jsxs)(Ye.default,{className:l(n),href:m||p||"",...w,children:[o&&o,a&&a]})})};function Ne({className:e}){return l("flex items-center min-X-[3.5rem] md:min-X-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function co({className:e,...t}){return(0,X.jsx)("input",{...t,className:Ne({className:e})})}function Se({icon:e,...t}){return(0,X.jsxs)("div",{className:"relative w-full",children:[(0,X.jsx)(co,{...t}),e&&(0,X.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function po({className:e,...t}){return(0,X.jsx)("textarea",{...t,className:l(Ne({}),"resize-none md:min-X-[130px]",e)})}function Nt({icon:e,...t}){return(0,X.jsxs)("div",{className:"relative w-full",children:[(0,X.jsx)(po,{...t}),e&&(0,X.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Pt=require("formik"),Tt=require("react-icons/fa6"),q=L(require("yup"));async function St(e){let{name:t,email:r,subject:a,message:n}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let s={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${n}`,wrap:!0}]}}]};try{let i=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Ve=require("sonner"),F={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},mo=q.object().shape({name:q.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),email:q.string().email(F.email).required(F.required),subject:q.string().min(2,F.tooShort).max(50,F.tooLong).required(F.required),message:q.string().min(2,F.tooShort).max(300,F.tooLong).required(F.required)}),Pe=l("!pr-[44px] text-foreground"),Te=l("!border-red-600 border"),Ie=l("sr-only");function It(){return(0,X.jsx)(Pt.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:mo,onSubmit:async(e,{resetForm:t})=>{let r=await St(e);r.data===null?Ve.toast.error(r.message):(Ve.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,X.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,X.jsxs)("div",{children:[(0,X.jsx)(Se,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,X.jsx)(Tt.FaUser,{className:"text-primary"}),className:l(Pe,e.name&&t.name&&Te)}),e.name&&t.name&&(0,X.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Ie,children:e.name})]}),(0,X.jsxs)("div",{children:[(0,X.jsx)(Se,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,X.jsx)(uo,{}),className:l(Pe,e.email&&t.email&&Te)}),e.email&&t.email&&(0,X.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Ie,children:e.email})]}),(0,X.jsxs)("div",{className:"lg:col-span-2",children:[(0,X.jsx)(Se,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Pe,e.subject&&t.subject&&Te)}),e.subject&&t.subject&&(0,X.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Ie,children:e.subject})]}),(0,X.jsxs)("div",{className:"lg:col-span-2",children:[(0,X.jsx)(Nt,{placeholder:"Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,X.jsx)(fo,{}),className:l(Pe,e.message&&t.message&&Te)}),e.message&&t.message&&(0,X.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Ie,children:e.message})]}),(0,X.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,X.jsx)(j,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function uo(){return(0,X.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,X.jsx)("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function fo(){return(0,X.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:(0,X.jsx)("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}var At=({links:e,richText:t})=>{let[r,a]=(0,Bt.useState)(!1),n="accent",o=()=>a(!0),s=()=>a(!1),i=c=>{c.target===c.currentTarget&&s()};return(0,X.jsxs)("div",{className:l("relative isolate overflow-hidden",n==="accent"?"bg-accent":"bg-black"),children:[(0,X.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,X.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,X.jsx)(M,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,X.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,X.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>(c==null?void 0:c.url)==="/contact"?(0,X.jsx)("div",{onClick:o,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,X.jsx)(Q,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",n==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),r&&(0,X.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:(0,X.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[(0,X.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:s,children:"\u2715"}),(0,X.jsx)(It,{})," "]})})]})};var Be=require("prism-react-renderer");function Dt({code:e}){let[t,r]=(0,Bt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,X.jsx)("div",{className:"flex justify-end align-middle",children:(0,X.jsxs)(j,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,X.jsx)("p",{children:t}),(0,X.jsx)("div",{className:"w-6 X-6",children:(0,X.jsx)(He.ClipboardCopy,{})})]})})}var Lt=({code:e,language:t=""})=>e?(0,X.jsx)(Be.Highlight,{code:e,language:t,theme:Be.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,X.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,X.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,X.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,X.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,X.jsx)("span",{...a({token:i})},c))})]},s)),(0,X.jsx)(Dt,{code:e})]})}):null;var Ft=({className:e,code:t,language:r})=>(0,X.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,X.jsx)(Lt,{code:t,language:r})});var zt=L(require("next/image")),go={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Ht="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=",Et=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,p,m,x=t,w=i||"";if(!w&&o&&typeof o=="object"){let{alt:S,filename:T,height:I,url:R,width:Y}=o;if(I&&I>500){let z=500/I;p=Y*z,m=I*z}else p=Y,m=I;x=S||"",w=R||Ht}let N=c||"lazy",P=s||Object.entries(go).map(([,S])=>`(max-width: ${S}px) ${S*2}w`).join(", ");return(0,$e.jsx)("picture",{children:(0,$e.jsx)(zt.default,{alt:x||"",className:l(a),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:Ht,priority:N!=="lazy"&&n,quality:100,loading:N,sizes:P,src:w,width:r?void 0:p})})};var Gt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Ut=()=>{if(Gt){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 Ot=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,Bt.useRef)(null);if((0,Bt.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,X.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,X.jsx)("source",{src:`${Ut()}/media/${o}`})})}return null};var oe=e=>{var s;let{className:t,htmlElement:r="div",resource:a}=e,n=typeof a=="object"&&((s=a==null?void 0:a.mimeType)==null?void 0:s.includes("video"));return(0,X.jsx)(r||Bt.Fragment,{...r!==null?{className:t}:{},children:n?(0,X.jsx)(Ot,{...e}):(0,X.jsx)(Et,{...e})})};var Jt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,X.jsx)("div",{className:l("X-full ",{container:r},t),children:(0,X.jsx)(oe,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var Yt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,X.jsx)("div",{className:l("",{container:r},t),children:(0,X.jsx)(oe,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var de=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let n=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,s=a!=null?a:"",i=n+o+" fa-"+r+" "+s;return(0,X.jsx)("i",{className:i})};var $t=L(require("next/image"));function _t(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ke({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:i,className:c}){var x,w;let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-ur from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-ur from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},m={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,X.jsxs)("a",{href:(i==null?void 0:i.url)||"#",className:l("min-w-56 max-w-xl X-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",s&&!e&&p[(s==null?void 0:s.card)==="default"?"solid":s==null?void 0:s.card],e&&"bg-foreground",s&&(s==null?void 0:s.card)==="outline"?"text-gray-900":"text-white",m[(x=s==null?void 0:s.width)!=null?x:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",s&&`intersect:animate-delay-${s.order||1}00`,c),children:[e&&(0,X.jsx)("div",{className:"relative aspect-[16/9] w-full",children:(0,X.jsx)($t.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,X.jsxs)("div",{className:l(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[(0,X.jsxs)("div",{className:"flex flex-col flex-grow",children:[a&&(0,X.jsx)("div",{className:"text-primary uppercase text-sm font-light mb-4",children:a}),(0,X.jsx)("div",{className:"flex items-start gap-4 mb-4",children:(0,X.jsx)(bo,{icon:{type:(t==null?void 0:t.type)||"fa-light",iconName:(t==null?void 0:t.icon)||"no-icon-error"},heading:r!=null?r:"",variant:(s==null?void 0:s.card)==="default"?"solid":(w=s==null?void 0:s.card)!=null?w:"solid",iconSize:(s==null?void 0:s.iconSize)||"large"})}),n&&typeof n=="object"&&(0,X.jsx)(M,{enableGutter:!1,content:n,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),n&&typeof n=="string"&&(0,X.jsx)("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n})]}),i&&i.url&&(0,X.jsx)("div",{className:"mt-6",children:(0,X.jsx)("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:(i==null?void 0:i.label)||"Find out more"})})]})]})}var bo=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,X.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,X.jsx)("div",{className:l(r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),_t(e)&&(0,X.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"?"-mr-2 ml-1 mt-1":""),children:(0,X.jsx)(de,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,X.jsxs)("div",{className:"flex flex-col gap-4",children:[_t(e)&&(0,X.jsx)("div",{className:l("X-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,X.jsx)(de,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,X.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,X.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,X.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var Qt=(0,vt.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 We({className:e,variant:t,...r}){return(0,X.jsx)("div",{className:l(Qt({variant:t}),e),...r})}var Kt=L(require("next/link"));function Wt({children:e,href:t,openNewTab:r,...a}){return(0,X.jsx)(Kt.default,{href:t,target:r?"_blank":"_self",...a,children:e})}var er=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,X.jsxs)("section",{className:l(n?"w-full":"container",""),children:[(0,X.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,X.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,X.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,X.jsx)("div",{className:"mb-5 text-foreground",children:(0,X.jsx)(M,{content:t,enableGutter:!1})})]}),(0,X.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,s)=>{var c;let i=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,X.jsx)(Ke,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:s},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=i())!=null?c:{type:"none",icon:null}},s)})})]});var Me=L(require("react"));function pe({nodes:e}){return(0,X.jsx)(Me.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,X.jsx)(Me.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,X.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,X.jsx)("em",{children:o},r)),t.format&4&&(o=(0,X.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,X.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,X.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,X.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,X.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,X.jsx)("table",{children:(0,X.jsx)("tbody",{children:t.children.map((o,s)=>(0,X.jsx)("X",{children:o.children.map((i,c)=>(0,X.jsx)("td",{children:pe({nodes:i.children})},c))},s))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let s of o.children)"checked"in s&&(s!=null&&s.checked||(s.checked=!1));return pe({nodes:o.children})},n="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,s=o==null?void 0:o.blockType;if(!o||!s)return null;switch(s){case"cta":return(0,X.jsx)(At,{...o},r);case"mediaBlock":return(0,X.jsx)(Jt,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,X.jsx)(Yt,{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,X.jsx)(kt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,X.jsx)(Ft,{className:"col-start-2",...o},r);case"features":return(0,X.jsx)(er,{...o,nested:!0},r);case"reusableContentBlock":pe({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,X.jsx)("ur",{className:"col-start-2"},r);case"paragraph":return(0,X.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,X.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,X.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,X.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,X.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,X.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,X.jsx)(Q,{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,X.jsx)(Q,{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,X.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&pe({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var rr=({children:e,richText:t})=>(0,X.jsx)("div",{className:"min-w-full py-10 bg-muted mt-24",children:(0,X.jsx)("div",{className:"container",children:e||t&&(0,X.jsx)(M,{content:t,enableGutter:!1})})});var Ze=L(require("next/image"));var ho=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:r,height:a,url:n,width:o}=e;return(0,X.jsx)(Ze.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,X.jsx)("div",{children:(0,X.jsx)(Ze.default,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},or=({links:e,media:t,children:r,richText:a})=>(0,X.jsxs)("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&(0,X.jsx)(ho,{media:t}),(0,X.jsx)("div",{className:"mx-0 min-w-full relative z-9",children:(0,X.jsx)("div",{className:"container text-brand-one-foreground",children:r||a&&(0,X.jsx)(M,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:a,enableProse:!0,enableGutter:!1})})})]});var ar=L(require("next/image"));var nr=({links:e,media:t,children:r,richText:a})=>(0,X.jsx)("div",{children:(0,X.jsxs)("div",{className:"sticky top-0 X-[70vh] min-X-[600px]",children:[(0,X.jsxs)("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[r||a&&(0,X.jsx)(M,{className:"max-w-none mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(e)&&e.length>0&&(0,X.jsx)("ul",{className:"flex justify-center gap-4",children:e.map(({link:n},o)=>(0,X.jsx)("li",{children:(0,X.jsx)(Q,{...n})},o))})]}),(0,X.jsxs)("div",{className:"fixed inset-0 X-[70vh] min-X-[600px] select-none",children:[t&&typeof t=="object"&&(0,X.jsx)(oe,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&(0,X.jsx)("div",{children:(0,X.jsx)(ar.default,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),(0,X.jsx)("span",{className:"absolute inset-0 bg-gradient-to-X from-white dark:from-black"})]}),(0,X.jsx)(xo,{})]})}),xo=()=>(0,X.jsx)("div",{className:"w-full X-[1240px] z-10",children:(0,X.jsxs)("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[(0,X.jsx)("defs",{children:(0,X.jsxs)("mask",{id:"mask",children:[(0,X.jsx)("rect",{width:"1920",height:"332",fill:"white"}),(0,X.jsx)("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),(0,X.jsx)("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),(0,X.jsx)("rect",{y:"330",width:"1920",height:"7",fill:"white"})," "]})});var ir=L(require("react")),lr=L(require("next/image"));var sr=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,s=n<10?`0${n}`:n,i=r.getFullYear();return`${s}/${o}/${i}`};var cr=({post:e})=>{var s;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,X.jsxs)("div",{className:"relative grid pt-24",children:[(0,X.jsx)("div",{className:"relative z-10 flex flex-col justify-end min-X-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,X.jsxs)("div",{className:"container mx-auto",children:[(0,X.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,X.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,X.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,X.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,X.jsx)("p",{children:a.map((i,c)=>(0,X.jsxs)(ir.default.Fragment,{children:[i.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},i.id))})]}),n&&(0,X.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,X.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,X.jsx)("time",{dateTime:n,children:sr(n)})]}),t&&t.length>0&&(0,X.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,X.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,X.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((i,c)=>typeof i=="object"&&i!==null&&(0,X.jsx)(We,{className:"px-3 py-1 mx-1",children:i.title||"Untitled category"},i.id||c))})]})]})]})}),(0,X.jsxs)("div",{className:"absolute inset-0 w-full X-full",children:[(0,X.jsx)(lr.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((s=r==null?void 0:r.image)==null?void 0:s.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,X.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full X-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var ae=require("@headlessui/react"),pr=require("@heroicons/react/20/solid");var yo=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,X.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm text-foreground group",children:(0,X.jsxs)("span",{className:"relative",children:[e,(0,X.jsx)("span",{className:"absolute -bottom-1 left-1/2 w-1/2 X-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,X.jsxs)(ae.Popover,{children:[(0,X.jsxs)(ae.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 text-foreground outline-none group",children:[(0,X.jsxs)("span",{className:"relative",children:[e,(0,X.jsx)("span",{className:"absolute bottom-0 left-1/2 w-1/2 X-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,X.jsx)(pr.ChevronDownIcon,{"aria-hidden":"true",className:"X-5 w-5 flex-none text-accent"})]}),(0,X.jsxs)(ae.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-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[(0,X.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,X.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,X.jsx)("div",{className:"flex X-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,X.jsx)(dr,{icon:n.icon,size:"4x"})}),(0,X.jsxs)("a",{href:n.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[n.name,(0,X.jsx)("span",{className:"absolute inset-0"})]}),(0,X.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,X.jsx)("div",{className:"bg-gray-50",children:(0,X.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,X.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,X.jsxs)("a",{href:n.href,className:"flex items-center max-X-12 justify-center gap-x-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,X.jsx)(dr,{icon:n.icon,className:"X-5 w-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),dr=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,X.jsx)(de,{...e,size:r});if("src"in e)return(0,X.jsx)("div",{className:l(t,"X-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,X.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},mr=yo;var et=L(require("next/image"));function ue({logoLight:e,logoDark:t,mobile:r=!1}){return(0,X.jsxs)(Wt,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,X.jsx)(et.default,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),(0,X.jsx)(et.default,{className:"hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}var ur=require("next-themes");function gr({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:n=!1,wide:o=!1}){let[s,i]=(0,Bt.useState)(!1),[c,p]=(0,Bt.useState)(""),m=["light","dark"],{theme:x,setTheme:w}=(0,ur.useTheme)();(0,Bt.useEffect)(()=>{p(x||"dark")},[x]);let N=()=>{let P=m[(m.indexOf(c)+1)%m.length];p(P),w(P)};return(0,Bt.useEffect)(()=>{let P=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",P,{passive:!0}),()=>window.removeEventListener("scroll",P)},[]),(0,X.jsx)(X.Fragment,{children:(0,X.jsx)("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${s||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,X.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:(0,X.jsxs)("div",{className:l("flex items-center justify-between px-9 py-0",!o&&"container"),children:[(0,X.jsx)(ue,{logoDark:r,logoLight:t}),(0,X.jsx)(ae.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(P=>(0,X.jsx)(mr,{...P},P.name))}),n&&(0,X.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:N,children:(0,X.jsxs)("div",{className:"relative",children:[(0,X.jsx)(He.Sun,{className:"absolute X-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,X.jsx)(He.Moon,{className:"absoulte X-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var Fe=require("@heroicons/react/24/outline");var tt=["light","dark"];function hr({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,Bt.useState)(!1),{theme:s,setTheme:i}=(0,ur.useTheme)(),[c,p]=(0,Bt.useState)(!1),[m,x]=(0,Bt.useState)("light");(0,Bt.useEffect)(()=>{let N=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",N,{passive:!0}),()=>window.removeEventListener("scroll",N)},[]),(0,Bt.useEffect)(()=>{x(s||"dark")},[s]);let w=()=>{let N=tt[(tt.indexOf(m)+1)%tt.length];x(N),i(N)};return(0,X.jsx)(X.Fragment,{children:(0,X.jsxs)("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,X.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,X.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-X dark:border-accent",children:[(0,X.jsx)(ue,{logoDark:t,logoLight:e,mobile:!0}),(0,X.jsx)("div",{className:"flex items-center space-x-4",children:(0,X.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,X.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,X.jsx)(Fe.Bars3Icon,{"aria-hidden":"true",className:"X-4 w-4"})]})})]})}),(0,X.jsxs)(ae.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,X.jsx)("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,X.jsxs)(ae.DialogPanel,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,X.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,X.jsx)(ue,{logoDark:t,logoLight:e,mobile:!0}),(0,X.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,X.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,X.jsx)(Fe.XMarkIcon,{"aria-hidden":"true",className:"X-6 w-6"})]})]}),(0,X.jsx)("div",{className:"mt-6 flow-root",children:(0,X.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,X.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(N=>(0,X.jsx)(vo,{...N},N.name))})})})]})]})]})})}function vo({name:e,items:t,actions:r,href:a}){return!t&&a?(0,X.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,X.jsxs)(ae.Disclosure,{as:"div",className:"-mx-3",children:[(0,X.jsx)(ae.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,X.jsx)(ae.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(n=>(0,X.jsx)(ae.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 xr({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n,wide:o,themeControl:s=!1}){return(0,X.jsxs)("div",{className:l("fixed top-0 left-0 right-0 z-50",n),children:[(0,X.jsx)(gr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:s,wide:o}),(0,X.jsx)(hr,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var yr="../cortex-reply-light-27IMI3G7.png";var vr="../cortex-reply-dark-XPAJJJYY.png";function wr({...e}){return(0,X.jsxs)("div",{children:[(0,X.jsx)(xr,{isMenuOpen:!0,logoLight:yr,logoDark:vr,...e.header}),e.hero&&e.hero.type==="lowImpact"&&(0,X.jsx)(rr,{...e.hero}),e.hero&&e.hero.type==="mediumImpact"&&(0,X.jsx)(or,{...e.hero}),e.hero&&e.hero.type==="highImpact"&&(0,X.jsx)(nr,{...e.hero}),e.hero&&e.hero.type==="postHero"&&(0,X.jsx)(cr,{...e.hero}),(0,X.jsx)("div",{className:"container py-8",children:(0,X.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,X.jsx)("div",{className:"lg:col-span-2",children:e.children}),(0,X.jsxs)("div",{className:"space-y-6",children:[(0,X.jsxs)(ye,{children:[(0,X.jsx)(ve,{children:(0,X.jsx)(we,{children:"Quick Actions"})}),(0,X.jsxs)(Ce,{children:[(0,X.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),(0,X.jsx)(j,{className:"w-full",children:"Create New"})]})]}),(0,X.jsxs)(ye,{children:[(0,X.jsx)(ve,{children:(0,X.jsx)(we,{children:"Resources"})}),(0,X.jsx)(Ce,{children:(0,X.jsxs)("nav",{className:"flex flex-col space-y-2",children:[(0,X.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",(0,X.jsx)(He.ExternalLink,{className:"ml-1 X-3 w-3"})]}),(0,X.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",(0,X.jsx)(He.ExternalLink,{className:"ml-1 X-3 w-3"})]}),(0,X.jsxs)("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",(0,X.jsx)(He.ExternalLink,{className:"ml-1 X-3 w-3"})]})]})})]})]})]})})]})}
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../chunk-DJTYWMLM.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-KLVFLKTE.mjs";import"../chunk-6JYP6ZBW.mjs";import"../chunk-2XVOBJPI.mjs";import"../chunk-A7563CVR.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-L26GNUUD.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-L2QAYSRV.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-CTKUF2I6.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-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-Z2PPN7EJ.mjs";import"../chunk-6WLJQKDF.mjs";import"../chunk-PZT3KAUV.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-TEORJDWG.mjs";import"../chunk-RQ23CZK5.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-4YUYG6QU.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-JFR3WUHP.mjs";import"../chunk-VQJUNVRU.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-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
2
+ "use strict";import{a}from"../chunk-QID6JIRX.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-S3KRL344.mjs";import"../chunk-I2PJ5ANT.mjs";import"../chunk-BBCS6735.mjs";import"../chunk-A7563CVR.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-FPJFWQB5.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-L2QAYSRV.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-6DHYRATS.mjs";import"../chunk-RJGKFNZL.mjs";import"../chunk-JPFBD2KD.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-Z2PPN7EJ.mjs";import"../chunk-6WLJQKDF.mjs";import"../chunk-PZT3KAUV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-2IKC7MAP.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-TEORJDWG.mjs";import"../chunk-4YUYG6QU.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-JFR3WUHP.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-F55C2C5H.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-VQJUNVRU.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-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};