cortex-react-components 1.56.4 → 1.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/dist/{chunk-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
  2. package/dist/{chunk-43TBC2ZH.mjs → chunk-266LJXBZ.mjs} +1 -1
  3. package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
  4. package/dist/{chunk-ILTBXZKO.mjs → chunk-2PGNGIFG.mjs} +1 -1
  5. package/dist/chunk-34BK5A3H.mjs +1 -0
  6. package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
  7. package/dist/{chunk-IUW2STPH.mjs → chunk-65KHY3N2.mjs} +1 -1
  8. package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
  9. package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
  10. package/dist/{chunk-F7WTJLZQ.mjs → chunk-BGOXSZO2.mjs} +1 -1
  11. package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
  12. package/dist/{chunk-5RBQ77B3.mjs → chunk-D7A7EUEW.mjs} +1 -1
  13. package/dist/{chunk-ZR2EHFQ7.mjs → chunk-DCNOQTXQ.mjs} +1 -1
  14. package/dist/{chunk-7UKMCL5L.mjs → chunk-DQEHH4CP.mjs} +1 -1
  15. package/dist/{chunk-NV6DJCV4.mjs → chunk-E2GQ2UH4.mjs} +1 -1
  16. package/dist/{chunk-MG76MN3Q.mjs → chunk-F6DSJZ6G.mjs} +1 -1
  17. package/dist/{chunk-4RAPLTKA.mjs → chunk-FSYU6GF6.mjs} +1 -1
  18. package/dist/{chunk-XFNVJTZJ.mjs → chunk-GFBRIWHO.mjs} +1 -1
  19. package/dist/{chunk-7F7S63JI.mjs → chunk-GHWZZAOE.mjs} +1 -1
  20. package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
  21. package/dist/{chunk-6DRKICKB.mjs → chunk-KGFHW5KZ.mjs} +1 -1
  22. package/dist/{chunk-LLJZRF3C.mjs → chunk-KLCZHZKQ.mjs} +1 -1
  23. package/dist/{chunk-ZNHNOPYF.mjs → chunk-NLU4IHO6.mjs} +1 -1
  24. package/dist/{chunk-Z2HNL6F6.mjs → chunk-NUKPO5ZV.mjs} +1 -1
  25. package/dist/{chunk-GYUMEOL2.mjs → chunk-OJPHYSRN.mjs} +1 -1
  26. package/dist/{chunk-56GKZ4U2.mjs → chunk-OPCNQTDN.mjs} +1 -1
  27. package/dist/{chunk-PFASTV4A.mjs → chunk-OPV35HTE.mjs} +1 -1
  28. package/dist/chunk-P5QTMPTP.mjs +1 -0
  29. package/dist/chunk-PDUZAE2B.mjs +4 -0
  30. package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
  31. package/dist/chunk-PKAWVXZZ.mjs +4 -0
  32. package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
  33. package/dist/{chunk-F55C2C5H.mjs → chunk-RQ23CZK5.mjs} +1 -1
  34. package/dist/{chunk-ZRUQIDWQ.mjs → chunk-RXNOA32M.mjs} +1 -1
  35. package/dist/{chunk-UEY6HPXN.mjs → chunk-SEYRH7IM.mjs} +1 -1
  36. package/dist/{chunk-V5N56VWG.mjs → chunk-TZE7RZAV.mjs} +1 -1
  37. package/dist/{chunk-V7EILEQH.mjs → chunk-WFGGJBQS.mjs} +1 -1
  38. package/dist/{chunk-XLWVEKEK.mjs → chunk-XDWPQKFP.mjs} +1 -1
  39. package/dist/{chunk-J7HJZ7IS.mjs → chunk-XZLY4ZDO.mjs} +2 -2
  40. package/dist/{chunk-Z6AOKSZU.mjs → chunk-YC53LS6B.mjs} +1 -1
  41. package/dist/{chunk-7ZKGCT6M.mjs → chunk-Z7GQVIJO.mjs} +1 -1
  42. package/dist/{chunk-NVFHMFFW.mjs → chunk-ZWII7FHR.mjs} +1 -1
  43. package/dist/components/Blocks/Banner.js +2 -1
  44. package/dist/components/Blocks/Banner.mjs +1 -1
  45. package/dist/components/Blocks/CallToAction.d.ts +1 -0
  46. package/dist/components/Blocks/CallToAction.js +2 -1
  47. package/dist/components/Blocks/CallToAction.mjs +2 -1
  48. package/dist/components/Blocks/CallToAction.stories.js +2 -1
  49. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  50. package/dist/components/Blocks/CollapsibleArea.js +2 -1
  51. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  52. package/dist/components/Blocks/CollapsibleArea.stories.js +2 -1
  53. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  54. package/dist/components/Blocks/Content.js +2 -1
  55. package/dist/components/Blocks/Content.mjs +1 -1
  56. package/dist/components/Blocks/Content.stories.js +2 -1
  57. package/dist/components/Blocks/Content.stories.mjs +1 -1
  58. package/dist/components/Blocks/FeaturesBlock.js +2 -1
  59. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  60. package/dist/components/Blocks/FeaturesBlock.stories.js +2 -1
  61. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  62. package/dist/components/Blocks/RelatedPosts.js +2 -1
  63. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  64. package/dist/components/Blocks/RenderBlocks.js +2 -1
  65. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  66. package/dist/components/Blocks/ReusableContentBlock.js +2 -1
  67. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  68. package/dist/components/Blocks/index.js +2 -1
  69. package/dist/components/Blocks/index.mjs +1 -1
  70. package/dist/components/CRM/DealDetails.mjs +1 -1
  71. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  72. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  73. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  74. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  75. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  76. package/dist/components/CRM/NewDealForm.mjs +1 -1
  77. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  78. package/dist/components/CRM/index.mjs +1 -1
  79. package/dist/components/Cards/ContentCard.js +2 -1
  80. package/dist/components/Cards/ContentCard.mjs +1 -1
  81. package/dist/components/Cards/ContentCard.stories.js +2 -1
  82. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  83. package/dist/components/Cards/FeatureCard.js +2 -1
  84. package/dist/components/Cards/FeatureCard.mjs +1 -1
  85. package/dist/components/Cards/FeatureCard.stories.js +2 -1
  86. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  87. package/dist/components/Cards/index.js +5 -4
  88. package/dist/components/Cards/index.mjs +1 -1
  89. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  90. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  91. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  92. package/dist/components/HeaderFooter/Header.mjs +1 -1
  93. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  94. package/dist/components/HeaderFooter/SectionHeading.js +2 -1
  95. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  96. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  97. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  98. package/dist/components/HeaderFooter/index.js +1 -1
  99. package/dist/components/HeaderFooter/index.mjs +1 -1
  100. package/dist/components/Heros/HighImpact/index.js +2 -1
  101. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  102. package/dist/components/Heros/LowImpact/index.js +2 -1
  103. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  104. package/dist/components/Heros/MediumImpact/index.js +2 -1
  105. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  106. package/dist/components/Heros/PostHero/index.mjs +1 -1
  107. package/dist/components/Heros/RenderHero.js +2 -1
  108. package/dist/components/Heros/RenderHero.mjs +1 -1
  109. package/dist/components/Heros/index.js +2 -1
  110. package/dist/components/Heros/index.mjs +1 -1
  111. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  112. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  113. package/dist/components/Holidays/index.mjs +1 -1
  114. package/dist/components/Layouts/FeatureGrid.stories.js +2 -1
  115. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  116. package/dist/components/Layouts/OutputHeaderFooter.js +3 -2
  117. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  118. package/dist/components/Layouts/Print.js +3 -2
  119. package/dist/components/Layouts/Print.mjs +1 -1
  120. package/dist/components/Layouts/Print.stories.js +2 -1
  121. package/dist/components/Layouts/Print.stories.mjs +1 -1
  122. package/dist/components/Layouts/SlideShow.js +4 -3
  123. package/dist/components/Layouts/SlideShow.mjs +1 -1
  124. package/dist/components/Layouts/SlideShow.stories.js +4 -3
  125. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  126. package/dist/components/Layouts/index.js +6 -5
  127. package/dist/components/Layouts/index.mjs +1 -1
  128. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  129. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  130. package/dist/components/Menus/SidebarRight.mjs +1 -1
  131. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  132. package/dist/components/Menus/index.mjs +1 -1
  133. package/dist/components/Payload/RichText/index.js +2 -1
  134. package/dist/components/Payload/RichText/index.mjs +1 -1
  135. package/dist/components/Payload/RichText/serialize.js +2 -1
  136. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  137. package/dist/components/Payload/RichText.stories.js +2 -1
  138. package/dist/components/Payload/RichText.stories.mjs +1 -1
  139. package/dist/components/Payload/index.js +2 -1
  140. package/dist/components/Payload/index.mjs +1 -1
  141. package/dist/components/index.js +8 -7
  142. package/dist/components/index.mjs +1 -1
  143. package/dist/components/ui/index.mjs +1 -1
  144. package/dist/components/ui/sidebar.mjs +1 -1
  145. package/dist/globals.css +1 -1
  146. package/dist/hooks/index.mjs +1 -1
  147. package/dist/index.js +13 -13
  148. package/dist/index.mjs +1 -1
  149. package/dist/metafile-cjs.json +1 -1
  150. package/dist/metafile-esm.json +1 -1
  151. package/dist/pages/Blog.js +2 -1
  152. package/dist/pages/Blog.mjs +1 -1
  153. package/dist/pages/Blog.stories.js +2 -1
  154. package/dist/pages/Blog.stories.mjs +1 -1
  155. package/dist/pages/Documentation.mjs +1 -1
  156. package/dist/pages/Documentation.stories.mjs +1 -1
  157. package/dist/pages/IndexPage.mjs +1 -1
  158. package/dist/pages/IndexPage.stories.mjs +1 -1
  159. package/dist/pages/Intranet.mjs +1 -1
  160. package/dist/pages/Intranet.stories.mjs +1 -1
  161. package/dist/pages/LandingPage.js +3 -3
  162. package/dist/pages/LandingPage.mjs +1 -1
  163. package/dist/pages/LandingPage.stories.js +3 -3
  164. package/dist/pages/LandingPage.stories.mjs +1 -1
  165. package/dist/pages/Page.js +2 -1
  166. package/dist/pages/Page.mjs +1 -1
  167. package/dist/pages/Page.stories.js +222 -221
  168. package/dist/pages/Page.stories.mjs +1 -1
  169. package/dist/pages/Printable.stories.js +6 -5
  170. package/dist/pages/Printable.stories.mjs +1 -1
  171. package/dist/pages/Publish.js +6 -5
  172. package/dist/pages/Publish.mjs +1 -1
  173. package/dist/pages/Publish.stories.js +6 -5
  174. package/dist/pages/Publish.stories.mjs +1 -1
  175. package/dist/pages/Website.js +2 -1
  176. package/dist/pages/Website.mjs +1 -1
  177. package/dist/pages/Website.stories.js +2 -1
  178. package/dist/pages/Website.stories.mjs +1 -1
  179. package/dist/sections/AboutSection.js +2 -1
  180. package/dist/sections/AboutSection.mjs +1 -1
  181. package/dist/sections/AboutSection.stories.js +2 -1
  182. package/dist/sections/AboutSection.stories.mjs +1 -1
  183. package/dist/sections/BlogDetail.js +2 -1
  184. package/dist/sections/BlogDetail.mjs +1 -1
  185. package/dist/sections/BlogDetail.stories.js +2 -1
  186. package/dist/sections/BlogDetail.stories.mjs +1 -1
  187. package/dist/sections/BlogList.js +4 -3
  188. package/dist/sections/BlogList.mjs +1 -1
  189. package/dist/sections/BlogList.stories.js +4 -3
  190. package/dist/sections/BlogList.stories.mjs +1 -1
  191. package/dist/sections/BlogListSection.mjs +1 -1
  192. package/dist/sections/BlogListSection.stories.mjs +1 -1
  193. package/dist/sections/ContactSection.js +1 -1
  194. package/dist/sections/ContactSection.mjs +1 -1
  195. package/dist/sections/ContactSection.stories.js +1 -1
  196. package/dist/sections/ContactSection.stories.mjs +1 -1
  197. package/dist/sections/ImageSection.stories.js +2 -1
  198. package/dist/sections/ImageSection.stories.mjs +1 -1
  199. package/dist/sections/PageSections.js +3 -3
  200. package/dist/sections/PageSections.mjs +1 -1
  201. package/dist/sections/PageSections.stories.js +3 -3
  202. package/dist/sections/PageSections.stories.mjs +1 -1
  203. package/dist/sections/PricingSection.js +2 -1
  204. package/dist/sections/PricingSection.mjs +1 -1
  205. package/dist/sections/PricingSection.stories.js +2 -1
  206. package/dist/sections/PricingSection.stories.mjs +1 -1
  207. package/dist/sections/ServiceDetailList.js +2 -1
  208. package/dist/sections/ServiceDetailList.mjs +1 -1
  209. package/dist/sections/ServiceDetailSection.js +2 -1
  210. package/dist/sections/ServiceDetailSection.mjs +1 -1
  211. package/dist/sections/ServiceDetailSection.stories.js +2 -1
  212. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  213. package/dist/sections/ServiceSection.js +2 -1
  214. package/dist/sections/ServiceSection.mjs +1 -1
  215. package/dist/sections/ServiceSection.stories.js +2 -1
  216. package/dist/sections/ServiceSection.stories.mjs +1 -1
  217. package/dist/sections/form/index.mjs +1 -1
  218. package/dist/sections/index.js +3 -3
  219. package/dist/sections/index.mjs +1 -1
  220. package/package.json +1 -1
  221. package/dist/chunk-3LUYXQWZ.mjs +0 -1
  222. package/dist/chunk-6IVK75UA.mjs +0 -1
  223. package/dist/chunk-HF7UYIME.mjs +0 -1
  224. package/dist/chunk-RZWTH6SF.mjs +0 -4
@@ -1,4 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
+ 'use server'
3
4
 
4
- "use strict";var lt=Object.create;var he=Object.defineProperty;var ct=Object.getOwnPropertyDescriptor;var dt=Object.getOwnPropertyNames;var pt=Object.getPrototypeOf,mt=Object.prototype.hasOwnProperty;var ut=(e,r)=>{for(var t in r)he(e,t,{get:r[t],enumerable:!0})},We=(e,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let s of dt(r))!mt.call(e,s)&&s!==t&&he(e,s,{get:()=>r[s],enumerable:!(a=ct(r,s))||a.enumerable});return e};var T=(e,r,t)=>(t=e!=null?lt(pt(e)):{},We(r||!e||!e.__esModule?he(t,"default",{value:e,enumerable:!0}):t,e)),ft=e=>We(he({},"__esModule",{value:!0}),e);var to={};ut(to,{default:()=>it});module.exports=ft(to);var qe=require("react/jsx-runtime"),oe=({type:e="solid",iconName:r="cloud",size:t="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+r,n=a!=null?a:"",i=s+o+" fa-"+t+" "+n;return(0,qe.jsx)("i",{className:i})};var j=require("@headlessui/react"),cr=require("@heroicons/react/20/solid");var ir=require("clsx");var Me="-",gt=e=>{let r=ht(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:n=>{let i=n.split(Me);return i[0]===""&&i.length!==1&&i.shift(),rr(i,r)||bt(n)},getConflictingClassGroupIds:(n,i)=>{let c=t[n]||[];return i&&a[n]?[...c,...a[n]]:c}}},rr=(e,r)=>{var n;if(e.length===0)return r.classGroupId;let t=e[0],a=r.nextPart.get(t),s=a?rr(e.slice(1),a):void 0;if(s)return s;if(r.validators.length===0)return;let o=e.join(Me);return(n=r.validators.find(({validator:i})=>i(o)))==null?void 0:n.classGroupId},Ze=/^\[(.+)\]$/,bt=e=>{if(Ze.test(e)){let r=Ze.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},ht=e=>{let{theme:r,prefix:t}=e,a={nextPart:new Map,validators:[]};return yt(Object.entries(e.classGroups),t).forEach(([o,n])=>{Re(n,a,o,r)}),a},Re=(e,r,t,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?r:er(r,s);o.classGroupId=t;return}if(typeof s=="function"){if(xt(s)){Re(s(a),r,t,a);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([o,n])=>{Re(n,er(r,o),t,a)})})},er=(e,r)=>{let t=e;return r.split(Me).forEach(a=>{t.nextPart.has(a)||t.nextPart.set(a,{nextPart:new Map,validators:[]}),t=t.nextPart.get(a)}),t},xt=e=>e.isThemeGetter,yt=(e,r)=>r?e.map(([t,a])=>{let s=a.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([n,i])=>[r+n,i])):o);return[t,s]}):e,vt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,a=new Map,s=(o,n)=>{t.set(o,n),r++,r>e&&(r=0,a=t,t=new Map)};return{get(o){let n=t.get(o);if(n!==void 0)return n;if((n=a.get(o))!==void 0)return s(o,n),n},set(o,n){t.has(o)?t.set(o,n):s(o,n)}}},tr="!",wt=e=>{let{separator:r,experimentalParseClassName:t}=e,a=r.length===1,s=r[0],o=r.length,n=i=>{let c=[],p=0,m=0,h;for(let A=0;A<i.length;A++){let P=i[A];if(p===0){if(P===s&&(a||i.slice(A,A+o)===r)){c.push(i.slice(m,A)),m=A+o;continue}if(P==="/"){h=A;continue}}P==="["?p++:P==="]"&&p--}let x=c.length===0?i:i.substring(m),f=x.startsWith(tr),y=f?x.substring(1):x,v=h&&h>m?h-m:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:y,maybePostfixModifierPosition:v}};return t?i=>t({className:i,parseClassName:n}):n},Ct=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(a=>{a[0]==="["?(r.push(...t.sort(),a),t=[]):t.push(a)}),r.push(...t.sort()),r},kt=e=>({cache:vt(e.cacheSize),parseClassName:wt(e),...gt(e)}),Nt=/\s+/,At=(e,r)=>{let{parseClassName:t,getClassGroupId:a,getConflictingClassGroupIds:s}=r,o=[],n=e.trim().split(Nt),i="";for(let c=n.length-1;c>=0;c-=1){let p=n[c],{modifiers:m,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:f}=t(p),y=!!f,v=a(y?x.substring(0,f):x);if(!v){if(!y){i=p+(i.length>0?" "+i:i);continue}if(v=a(x),!v){i=p+(i.length>0?" "+i:i);continue}y=!1}let A=Ct(m).join(":"),P=h?A+tr:A,B=P+v;if(o.includes(B))continue;o.push(B);let G=s(v,y);for(let R=0;R<G.length;++R){let fe=G[R];o.push(P+fe)}i=p+(i.length>0?" "+i:i)}return i};function Pt(){let e=0,r,t,a="";for(;e<arguments.length;)(r=arguments[e++])&&(t=or(r))&&(a&&(a+=" "),a+=t);return a}var or=e=>{if(typeof e=="string")return e;let r,t="";for(let a=0;a<e.length;a++)e[a]&&(r=or(e[a]))&&(t&&(t+=" "),t+=r);return t};function St(e,...r){let t,a,s,o=n;function n(c){let p=r.reduce((m,h)=>h(m),e());return t=kt(p),a=t.cache.get,s=t.cache.set,o=i,i(c)}function i(c){let p=a(c);if(p)return p;let m=At(c,t);return s(c,m),m}return function(){return o(Pt.apply(null,arguments))}}var k=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},ar=/^\[(?:([a-qe-]+):)?(.+)\]$/i,It=/^\d+\/\d+$/,Bt=new Set(["px","full","screen"]),Tt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Dt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(qe|h|i|qe|min|max))|\qe(calc|min|max|clamp)\(.+\)|^0$/,Rt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Mt=/^(inset_)?-?((\d+)?\.?(\d+)[a-qe]+|0)qe-?((\d+)?\.?(\d+)[a-qe]+|0)/,Lt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,H=e=>X(e)||Bt.has(e)||It.test(e),U=e=>$(e,"length",Jt),X=e=>!!e&&!Number.isNaN(Number(e)),De=e=>$(e,"number",X),ae=e=>!!e&&Number.isInteger(Number(e)),Ft=e=>e.endsWith("%")&&X(e.slice(0,-1)),d=e=>ar.test(e),O=e=>Tt.test(e),Ht=new Set(["length","size","percentage"]),Et=e=>$(e,Ht,nr),zt=e=>$(e,"position",nr),Gt=new Set(["image","url"]),Ut=e=>$(e,Gt,Kt),Ot=e=>$(e,"",Yt),ne=()=>!0,$=(e,r,t)=>{let a=ar.exec(e);return a?a[1]?typeof r=="string"?a[1]===r:r.has(a[1]):t(a[2]):!1},Jt=e=>Dt.test(e)&&!Rt.test(e),nr=()=>!1,Yt=e=>Mt.test(e),Kt=e=>Lt.test(e);var Qt=()=>{let e=k("colors"),r=k("spacing"),t=k("blur"),a=k("brightness"),s=k("borderColor"),o=k("borderRadius"),n=k("borderSpacing"),i=k("borderWidth"),c=k("contrast"),p=k("grayscale"),m=k("hueRotate"),h=k("invert"),x=k("gap"),f=k("gradientColorStops"),y=k("gradientColorStopPositions"),v=k("inset"),A=k("margin"),P=k("opacity"),B=k("padding"),G=k("saturate"),R=k("scale"),fe=k("sepia"),Ke=k("skew"),Qe=k("space"),Ve=k("translate"),Se=()=>["auto","contain","none"],Ie=()=>["auto","hidden","clip","visible","scroll"],Be=()=>["auto",d,r],N=()=>[d,r],_e=()=>["",H,U],ge=()=>["auto",X,d],Xe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],be=()=>["solid","dashed","dotted","double","none"],$e=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Te=()=>["start","end","center","between","around","evenly","stretch"],te=()=>["","0",d],je=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[X,d];return{cacheSize:500,separator:":",theme:{colors:[ne],spacing:[H,U],blur:["none","",O,d],brightness:F(),borderColor:[e],borderRadius:["none","","full",O,d],borderSpacing:N(),borderWidth:_e(),contrast:F(),grayscale:te(),hueRotate:F(),invert:te(),gap:N(),gradientColorStops:[e],gradientColorStopPositions:[Ft,U],inset:Be(),margin:Be(),opacity:F(),padding:N(),saturate:F(),scale:F(),sepia:te(),skew:F(),space:N(),translate:N()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[O]}],"break-after":[{"break-after":je()}],"break-before":[{"break-before":je()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Xe(),d]}],overflow:[{overflow:Ie()}],"overflow-x":[{"overflow-x":Ie()}],"overflow-y":[{"overflow-y":Ie()}],overscroll:[{overscroll:Se()}],"overscroll-x":[{"overscroll-x":Se()}],"overscroll-y":[{"overscroll-y":Se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],qe:[{qe:["auto",ae,d]}],basis:[{basis:Be()}],"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:te()}],shrink:[{shrink:te()}],order:[{order:["first","last","none",ae,d]}],"grid-cols":[{"grid-cols":[ne]}],"col-start-end":[{col:["auto",{span:["full",ae,d]},d]}],"col-start":[{"col-start":ge()}],"col-end":[{"col-end":ge()}],"grid-rows":[{"grid-rows":[ne]}],"row-start-end":[{row:["auto",{span:[ae,d]},d]}],"row-start":[{"row-start":ge()}],"row-end":[{"row-end":ge()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","qe",d]}],"auto-rows":[{"auto-rows":["auto","min","max","qe",d]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...Te()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Te(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Te(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[B]}],px:[{px:[B]}],py:[{py:[B]}],ps:[{ps:[B]}],pe:[{pe:[B]}],pt:[{pt:[B]}],pr:[{pr:[B]}],pb:[{pb:[B]}],pl:[{pl:[B]}],m:[{m:[A]}],mx:[{mx:[A]}],my:[{my:[A]}],ms:[{ms:[A]}],me:[{me:[A]}],mt:[{mt:[A]}],qe:[{qe:[A]}],mb:[{mb:[A]}],ml:[{ml:[A]}],"space-x":[{"space-x":[Qe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Qe]}],"space-y-reverse":["space-y-reverse"],qe:[{qe:["auto","min","max","fit","svw","lvw","dvw",d,r]}],"min-qe":[{"min-qe":[d,r,"min","max","fit"]}],"max-qe":[{"max-qe":[d,r,"none","full","min","max","fit","prose",{screen:[O]},O]}],h:[{h:[d,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,r,"auto","min","max","fit"]}],"font-size":[{text:["base",O,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",De]}],"font-family":[{font:[ne]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",d]}],"line-clamp":[{"line-clamp":["none",X,De]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",H,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...be(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",H,U]}],"underline-offset":[{"underline-offset":["auto",H,d]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Xe(),zt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Et]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","j","qe","bl","l","tl"]},Ut]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-qe":[{"rounded-qe":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-qe":[{"rounded-qe":[o]}],"rounded-at":[{"rounded-at":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-j":[{"rounded-j":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-qe":[{border:[i]}],"border-qe-x":[{"border-x":[i]}],"border-qe-y":[{"border-y":[i]}],"border-qe-s":[{"border-s":[i]}],"border-qe-e":[{"border-e":[i]}],"border-qe-t":[{"border-t":[i]}],"border-qe-r":[{"border-r":[i]}],"border-qe-qe":[{"border-qe":[i]}],"border-qe-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...be(),"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":[P]}],"divide-style":[{divide:be()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-qe":[{"border-qe":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...be()]}],"outline-offset":[{"outline-offset":[H,d]}],"outline-qe":[{outline:[H,U]}],"outline-color":[{outline:[e]}],"ring-qe":[{ring:_e()}],"ring-qe-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-qe":[{"ring-offset":[H,U]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",O,Ot]}],"shadow-color":[{shadow:[ne]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...$e(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":$e()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",O,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[G]}],sepia:[{sepia:[fe]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[R]}],"scale-x":[{"scale-x":[R]}],"scale-y":[{"scale-y":[R]}],rotate:[{rotate:[ae,d]}],"translate-x":[{"translate-x":[Ve]}],"translate-y":[{"translate-y":[Ve]}],"skew-x":[{"skew-x":[Ke]}],"skew-y":[{"skew-y":[Ke]}],"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","qe-resize","ne-resize","nw-resize","qe-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":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-qe":[{"scroll-qe":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","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-qe":[{stroke:[H,U,De]}],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","me","mt","qe","mb","ml"],mx:["qe","ml"],my:["mt","mb"],size:["qe","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-qe","rounded-l","rounded-ss","rounded-qe","rounded-at","rounded-es","rounded-tl","rounded-tr","rounded-j","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-qe","rounded-at"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-j"],"rounded-qe":["rounded-j","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-qe":["border-qe-s","border-qe-e","border-qe-t","border-qe-r","border-qe-qe","border-qe-l"],"border-qe-x":["border-qe-r","border-qe-l"],"border-qe-y":["border-qe-t","border-qe-qe"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-qe","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-qe"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-qe","scroll-mb","scroll-ml"],"scroll-mx":["scroll-qe","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 sr=St(Qt);function l(...e){return sr((0,ir.clsx)(e))}var Vt=({name:e,items:r,actions:t=[],href:a})=>!r&&a?(0,qe.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm text-foreground group",children:(0,qe.jsxs)("span",{className:"relative",children:[e,(0,qe.jsx)("span",{className:"absolute -bottom-1 left-1/2 qe-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,qe.jsxs)(j.Popover,{children:[(0,qe.jsxs)(j.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 text-foreground outline-none group",children:[(0,qe.jsxs)("span",{className:"relative",children:[e,(0,qe.jsx)("span",{className:"absolute bottom-0 left-1/2 qe-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,qe.jsx)(cr.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 qe-5 flex-none text-accent"})]}),(0,qe.jsxs)(j.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -qe-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,qe.jsx)("div",{className:"mx-auto grid max-qe-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 qe-50",children:r&&r.map(s=>(0,qe.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,qe.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:s.icon&&(0,qe.jsx)(lr,{icon:s.icon,size:"4x"})}),(0,qe.jsxs)("a",{href:s.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[s.name,(0,qe.jsx)("span",{className:"absolute inset-0"})]}),(0,qe.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:s.description})]},s.name))}),t.length>0&&(0,qe.jsx)("div",{className:"bg-gray-50",children:(0,qe.jsx)("div",{className:"mx-auto max-qe-7xl px-6 lg:px-8",children:(0,qe.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:t.map(s=>(0,qe.jsxs)("a",{href:s.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[s.icon&&(0,qe.jsx)(lr,{icon:s.icon,className:"h-5 qe-5 flex-none text-gray-400"}),s.name]},s.name))})})})]})]}),lr=({icon:e,className:r,size:t="lg"})=>{if(!e)return null;if("type"in e)return(0,qe.jsx)(oe,{...e,size:t});if("src"in e)return(0,qe.jsx)("div",{className:l(r,"h-full max-qe-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,qe.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},dr=Vt;var pr=T(require("next/link"));function xe({children:e,href:r,openNewTab:t,...a}){return(0,qe.jsx)(pr.default,{href:r,target:t?"_blank":"_self",...a,children:e})}function ur({children:e,isFluid:r=!1,isNoPadding:t=!1,className:a=""}){let s=l("container",r&&"full-width",t&&"no-padding",a);return(0,qe.jsx)("div",{className:s,children:e})}var W=require("react");var Le=T(require("next/image"));function ie({logoLight:e,logoDark:r,mobile:t=!1}){return(0,qe.jsxs)(xe,{href:"/",className:l(t?"py-1":"py-2"),children:[(0,qe.jsx)(Le.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:t?35:50}}),(0,qe.jsx)(Le.default,{className:"hidden dark:block",src:r.src,width:r.width,height:r.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:t?35:50}})]})}var gr=require("next-themes"),ye=require("lucide-react");function hr({isMenuOpen:e,logoLight:r,logoDark:t,menuItems:a,themeControl:s=!1,wide:o=!1}){let[n,i]=(0,W.useState)(!1),[c,p]=(0,W.useState)(""),m=["light","dark"],{theme:h,setTheme:x}=(0,gr.useTheme)();(0,W.useEffect)(()=>{p(h||"dark")},[h]);let f=()=>{let y=m[(m.indexOf(c)+1)%m.length];p(y),x(y)};return(0,W.useEffect)(()=>{let y=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",y,{passive:!0}),()=>window.removeEventListener("scroll",y)},[]),(0,qe.jsx)(qe.Fragment,{children:(0,qe.jsx)("header",{className:`qe-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,qe.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:(0,qe.jsxs)("div",{className:l("flex items-center justify-between px-9 py-0",!o&&"container"),children:[(0,qe.jsx)(ie,{logoDark:t,logoLight:r}),(0,qe.jsx)(j.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(y=>(0,qe.jsx)(dr,{...y},y.name))}),s&&(0,qe.jsx)("button",{className:"fixed right-4 qe-[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:f,children:(0,qe.jsxs)("div",{className:"relative",children:[(0,qe.jsx)(ye.Sun,{className:"absolute h-6 qe-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,qe.jsx)(ye.Moon,{className:"absoulte h-6 qe-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var ve=require("@heroicons/react/24/outline");var Fe=["light","dark"];function yr({logoLight:e,logoDark:r,menuItems:t,isMenuOpen:a=!0}){let[s,o]=(0,W.useState)(!1),{theme:n,setTheme:i}=(0,gr.useTheme)(),[c,p]=(0,W.useState)(!1),[m,h]=(0,W.useState)("light");(0,W.useEffect)(()=>{let f=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,W.useEffect)(()=>{h(n||"dark")},[n]);let x=()=>{let f=Fe[(Fe.indexOf(m)+1)%Fe.length];h(f),i(f)};return(0,qe.jsx)(qe.Fragment,{children:(0,qe.jsxs)("header",{className:`qe-50 pb-10 transition-all duration-300 block lg:hidden ${s||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,qe.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,qe.jsxs)("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&qe.logo-light]:[filter:brightness(0)_invert(1)] dark:border-qe dark:border-accent",children:[(0,qe.jsx)(ie,{logoDark:r,logoLight:e,mobile:!0}),(0,qe.jsx)("div",{className:"flex items-center space-x-4",children:(0,qe.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 qe-[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,qe.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,qe.jsx)(ve.Bars3Icon,{"aria-hidden":"true",className:"h-4 qe-4"})]})})]})}),(0,qe.jsxs)(j.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,qe.jsx)("div",{className:"fixed inset-0 qe-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,qe.jsxs)(j.DialogPanel,{className:"fixed inset-y-0 right-0 qe-20 qe-full overflow-y-auto bg-background dark:bg-[#212124] px-2 sm:max-qe-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,qe.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,qe.jsx)(ie,{logoDark:r,logoLight:e,mobile:!0}),(0,qe.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,qe.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,qe.jsx)(ve.XMarkIcon,{"aria-hidden":"true",className:"h-6 qe-6"})]})]}),(0,qe.jsx)("div",{className:"mt-6 flow-root",children:(0,qe.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,qe.jsx)("div",{className:"space-y-2 px-2 py-6",children:t&&t.map(f=>(0,qe.jsx)(_t,{...f},f.name))})})})]})]})]})})}function _t({name:e,items:r,actions:t,href:a}){return!r&&a?(0,qe.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,qe.jsxs)(j.Disclosure,{as:"div",className:"-mx-3",children:[(0,qe.jsx)(j.DisclosureButton,{className:"group flex qe-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,qe.jsx)(j.DisclosurePanel,{className:"mt-2 space-y-2",children:r&&r.map(s=>(0,qe.jsx)(j.DisclosureButton,{as:"a",href:s.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:s.name},s.name))})]})}var vr=e=>{let t=new Date;e&&(t=new Date(e));let a=t.getMonth(),s=t.getDate(),o=a+1<10?`0${a+1}`:a+1,n=s<10?`0${s}`:s,i=t.getFullYear();return`${n}/${o}/${i}`};function wr({isMenuOpen:e,logoLight:r,logoDark:t,menuItems:a,className:s,wide:o,themeControl:n=!1}){return(0,qe.jsxs)("div",{className:l("fixed top-0 left-0 right-0 qe-50",s),children:[(0,qe.jsx)(hr,{isMenuOpen:e,logoLight:r,logoDark:t,menuItems:a,themeControl:n,wide:o}),(0,qe.jsx)(yr,{isMenuOpen:e,logoLight:r,logoDark:t,menuItems:a})]})}var Br=T(require("react")),Tr=T(require("next/image"));var Cr=require("@radix-ui/react-slot"),kr=require("class-variance-authority"),Nr=T(require("react")),Xt=(0,kr.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 qe-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),K=Nr.forwardRef(({asChild:e=!1,className:r,size:t,variant:a,...s},o)=>(0,qe.jsx)(e?Cr.Slot:"button",{className:l(Xt({className:r,size:t,variant:a})),ref:o,...s}));K.displayName="Button";var Sr=(0,kr.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 He({className:e,variant:r,...t}){return(0,qe.jsx)("div",{className:l(Sr({variant:r}),e),...t})}var Dr=({post:e})=>{var n;let{categories:r,meta:t,populatedAuthors:a,publishedAt:s,title:o}=e;return(0,qe.jsxs)("div",{className:"relative grid pt-24",children:[(0,qe.jsx)("div",{className:"relative qe-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,qe.jsxs)("div",{className:"container mx-auto",children:[(0,qe.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,qe.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,qe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,qe.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,qe.jsx)("p",{children:a.map((i,c)=>(0,qe.jsxs)(Br.default.Fragment,{children:[i.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},i.id))})]}),s&&(0,qe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,qe.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,qe.jsx)("time",{dateTime:s,children:vr(s)})]}),r&&r.length>0&&(0,qe.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,qe.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,qe.jsx)("div",{className:"flex flex-wrap gap-2",children:r.map((i,c)=>typeof i=="object"&&i!==null&&(0,qe.jsx)(He,{className:"px-3 py-1 mx-1",children:i.title||"Untitled category"},i.id||c))})]})]})]})}),(0,qe.jsxs)("div",{className:"absolute inset-0 qe-full h-full",children:[(0,qe.jsx)(Tr.default,{className:"object-cover",alt:`Cover image for ${o}`,src:((n=t==null?void 0:t.image)==null?void 0:n.url)||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),(0,qe.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 qe-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Rr="../cortex-reply-light-27IMI3G7.png";var Mr="../cortex-reply-dark-XPAJJJYY.png";var Lr="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var ot=T(require("next/image"));var Fr=({className:e,content:r,style:t})=>(0,qe.jsx)("div",{className:l("mx-auto my-8 qe-full",e),children:(0,qe.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,qe.jsx)(M,{content:r,enableGutter:!1,enableProse:!1})})});var Ee=T(require("next/link")),de=e=>{let{type:r,appearance:t="inline",children:a,className:s,label:o,newTab:n,reference:i,size:c,url:p}=e,m=r==="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 h=t==="link"?"clear":c,x=n?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,qe.jsxs)(Ee.default,{className:l(s),href:m||p||"",...x,children:[o&&o,a&&a]}):(0,qe.jsx)(K,{asChild:!0,className:s,size:h,variant:t,children:(0,qe.jsxs)(Ee.default,{className:l(s),href:m||p||"",...x,children:[o&&o,a&&a]})})};var Hr=({links:e,richText:r})=>(0,qe.jsx)("div",{className:"container",children:(0,qe.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,qe.jsx)("div",{className:"max-qe-[48rem] flex items-center",children:r&&(0,qe.jsx)(M,{className:"mb-0",content:r,enableGutter:!1})}),(0,qe.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},a)=>(0,qe.jsx)(de,{size:"lg",...t},a))})]})});var Ce=require("prism-react-renderer");function Gr({code:e}){let[r,t]=(0,W.useState)("Copy");function a(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"Copy")},1e3))}return(0,qe.jsx)("div",{className:"flex justify-end align-middle",children:(0,qe.jsxs)(K,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,qe.jsx)("p",{children:r}),(0,qe.jsx)("div",{className:"qe-6 h-6 dark:invert",children:(0,qe.jsx)(ye.ClipboardCopy,{})})]})})}var Ur=({code:e,language:r=""})=>e?(0,qe.jsx)(Ce.Highlight,{code:e,language:r,theme:Ce.themes.vsDark,children:({getLineProps:t,getTokenProps:a,tokens:s})=>(0,qe.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,n)=>(0,qe.jsxs)("div",{...t({className:"table-row",line:o}),children:[(0,qe.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),(0,qe.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,qe.jsx)("span",{...a({token:i})},c))})]},n)),(0,qe.jsx)(Gr,{code:e})]})}):null;var Or=({className:e,code:r,language:t})=>(0,qe.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,qe.jsx)(Ur,{code:r,language:t})});var Yr=T(require("next/image")),Wt={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Jr="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=",Kr=e=>{let{alt:r,fill:t,imgClassName:a,priority:s,resource:o,size:n,src:i,loading:c}=e,p,m,h=r,x=i||"";if(!x&&o&&typeof o=="object"){let{alt:v,filename:A,height:P,url:B,width:G}=o;if(P&&P>500){let R=500/P;p=G*R,m=P*R}else p=G,m=P;h=v||"",x=B||Jr}let f=c||"lazy",y=n||Object.entries(Wt).map(([,v])=>`(max-width: ${v}px) ${v*2}qe`).join(", ");return(0,qe.jsx)("picture",{children:(0,qe.jsx)(Yr.default,{alt:h||"",className:l(a),fill:t,height:t?void 0:m,placeholder:"blur",blurDataURL:Jr,priority:f!=="lazy"&&s,quality:100,loading:f,sizes:y,src:x,width:t?void 0:p})})};var Qr=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Vr=()=>{if(Qr){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var _r=e=>{let{onClick:r,resource:t,videoClassName:a}=e,s=(0,W.useRef)(null);if((0,W.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,qe.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:s,children:(0,qe.jsx)("source",{src:`${Vr()}/media/${o}`})})}return null};var Ae=e=>{var n;let{className:r,htmlElement:t="div",resource:a}=e,s=typeof a=="object"&&((n=a==null?void 0:a.mimeType)==null?void 0:n.includes("video"));return(0,qe.jsx)(t||W.Fragment,{...t!==null?{className:r}:{},children:s?(0,qe.jsx)(_r,{...e}):(0,qe.jsx)(Kr,{...e})})};var $r=e=>{let{className:r,enableGutter:t=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,qe.jsx)("div",{className:l("h-full ",{container:t},r),children:(0,qe.jsx)(Ae,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:s,src:o})})};var jr=e=>{let{className:r,enableGutter:t=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,qe.jsx)("div",{className:l("",{container:t},r),children:(0,qe.jsx)(Ae,{imgClassName:l("rounded-[0.8rem]",a),resource:s,src:o})})};var qr=T(require("next/image"));function Wr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Ye({image:e,icon:r,title:t,subtitle:a,content:s,statistic:o,settings:n,link:i,className:c}){var h,x;let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-j from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-j from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},m={"1/4":"qe-1/4","1/3":"qe-1/3","1/2":"qe-1/2",full:"qe-full",auto:"qe-full"};return(0,qe.jsxs)("div",{className:l("min-qe-56 max-qe-xl h-full flex flex-col group",e?"p-0 md:p-0":"p-8 md:p-8",n&&!e&&p[(n==null?void 0:n.card)==="default"?"solid":n==null?void 0:n.card],e&&"bg-foreground",n&&(n==null?void 0:n.card)==="outline"?"text-gray-900":"text-white",m[(h=n==null?void 0:n.width)!=null?h:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,c),children:[e&&(0,qe.jsx)("div",{className:"relative h-1/2 lg:h-2/3 qe-full mb-0",children:(0,qe.jsx)(qr.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,qe.jsxs)("div",{className:l(e?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[a&&(0,qe.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:a}),(0,qe.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,qe.jsx)(qt,{icon:{type:(r==null?void 0:r.type)||"fa-light",iconName:(r==null?void 0:r.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(n==null?void 0:n.card)==="default"?"solid":(x=n==null?void 0:n.card)!=null?x:"solid",iconSize:(n==null?void 0:n.iconSize)||"large"})}),o&&(0,qe.jsx)("div",{className:"mb-6",children:(0,qe.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"text-brand-green":"text-white"),children:o})}),s&&typeof s=="object"&&(0,qe.jsx)(M,{enableGutter:!1,content:s,enableProse:!1,className:l("space-y-6",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),s&&typeof s=="string"&&(0,qe.jsx)("div",{className:l("space-y-6",(n==null?void 0:n.card)==="outline"||(n==null?void 0:n.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s}),i&&i.url&&(0,qe.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,qe.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:i.url||"#",children:(i==null?void 0:i.label)||"Find out more"})}),(n==null?void 0:n.card)==="radial"&&(0,qe.jsx)("div",{className:"absolute bottom-0 right-0 qe-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var qt=({icon:e,heading:r,variant:t,iconSize:a,subtitle:s})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,qe.jsxs)("div",{className:"flex items-start justify-between qe-full mb-2",children:[(0,qe.jsx)("div",{className:l("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:r}),Wr(e)&&(0,qe.jsx)("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",a==="small"?"-qe-2 ml-1 mt-1":""),children:(0,qe.jsx)(oe,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,qe.jsxs)("div",{className:"flex flex-col gap-4",children:[Wr(e)&&(0,qe.jsx)("div",{className:l("h-12 qe-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:(0,qe.jsx)(oe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,qe.jsx)("h3",{className:l("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})]}):(0,qe.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,qe.jsx)("div",{className:l("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})});var V=T(require("react"));var q=V.forwardRef(({className:e,...r},t)=>(0,qe.jsx)("div",{ref:t,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...r}));q.displayName="Card";var pe=V.forwardRef(({className:e,...r},t)=>(0,qe.jsx)("div",{ref:t,className:l("flex flex-col space-y-1.5 p-6",e),...r}));pe.displayName="CardHeader";var me=V.forwardRef(({className:e,...r},t)=>(0,qe.jsx)("div",{ref:t,className:l("font-semibold leading-none tracking-tight",e),...r}));me.displayName="CardTitle";var Zt=V.forwardRef(({className:e,...r},t)=>(0,qe.jsx)("div",{ref:t,className:l("text-sm text-muted-foreground",e),...r}));Zt.displayName="CardDescription";var Z=V.forwardRef(({className:e,...r},t)=>(0,qe.jsx)("div",{ref:t,className:l("p-6 pt-0",e),...r}));Z.displayName="CardContent";var eo=V.forwardRef(({className:e,...r},t)=>(0,qe.jsx)("div",{ref:t,className:l("flex items-center p-6 pt-0",e),...r}));eo.displayName="CardFooter";var Zr=({title:e,description:r,features:t,id:a,nested:s=!1})=>(0,qe.jsxs)("section",{className:l(!s&&"container","qe-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,qe.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:a||"",children:e}),r&&typeof r=="string"&&(0,qe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:r}),r&&typeof r=="object"&&(0,qe.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,qe.jsx)(M,{content:r,enableGutter:!1})}),(0,qe.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length>2?2:t.length:1} lg:grid-cols-${t?t.length>3?3:t.length:1}`,children:t&&t.map((o,n)=>{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,qe.jsx)(Ye,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:n},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=i())!=null?c:{type:"none",icon:null}},n)})})]});var Pe=T(require("react"));function ue({nodes:e}){return(0,qe.jsx)(Pe.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"&&r.text){let o=(0,qe.jsx)(Pe.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,qe.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,qe.jsx)("em",{children:o},t)),r.format&4&&(o=(0,qe.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,qe.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,qe.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,qe.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,qe.jsx)("sup",{children:o},t)),o}if(r.type==="table")return(0,qe.jsx)("table",{children:(0,qe.jsx)("tbody",{children:r.children.map((o,n)=>(0,qe.jsx)("tr",{children:o.children.map((i,c)=>(0,qe.jsx)("td",{children:ue({nodes:i.children})},c))},n))})},t);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 n of o.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return ue({nodes:o.children})},s="children"in r?a(r):"";if(r.type==="block"){let o=r.fields,n=o==null?void 0:o.blockType;if(!o||!n)return null;switch(n){case"cta":return(0,qe.jsx)(Hr,{...o},t);case"mediaBlock":return(0,qe.jsx)($r,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-qe-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return(0,qe.jsx)(jr,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-qe-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,qe.jsx)(Fr,{className:"col-start-2 mb-4",...o},t);case"code":return(0,qe.jsx)(Or,{className:"col-start-2",...o},t);case"features":return(0,qe.jsx)(Zr,{...o,nested:!0},t);case"reusableContentBlock":ue({nodes:o.reusableContent.layout});default:return null}}else switch(r.type){case"linebreak":return(0,qe.jsx)("j",{className:"col-start-2"},t);case"paragraph":return(0,qe.jsx)("p",{className:"col-start-2",children:s},t);case"heading":{let o=r==null?void 0:r.tag;return(0,qe.jsx)(o,{className:"col-start-2",id:(r==null?void 0:r.id)||"",children:s},t)}case"list":{let o=r==null?void 0:r.tag;return(0,qe.jsx)(o,{className:"list col-start-2",children:s},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,qe.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:s},t):(0,qe.jsx)("li",{value:r==null?void 0:r.value,children:s},t);case"quote":return(0,qe.jsx)("blockquote",{className:"col-start-2",children:s},t);case"link":{let o=r.fields;return(0,qe.jsx)(de,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},t)}case"autolink":{let o=r.fields;return(0,qe.jsx)(de,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},t)}default:return null}})})}var M=({className:e,content:r,enableGutter:t=!0,enableProse:a=!0})=>{var s;return r?(0,qe.jsx)("div",{className:l({"container ":t,"max-qe-none":!t,"mx-auto prose dark:prose-invert ":a},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&ue({nodes:(s=r==null?void 0:r.root)==null?void 0:s.children})}):null};var at=require("next/navigation");var vn=l("transition-colors duration-400 hover:text-primary ease-in-out");function tt({title:e,links:r}){let t=(0,at.useSearchParams)(),a=(0,at.usePathname)(),{replace:s}=(0,at.useRouter)();function o(n){let i=new URLSearchParams(t);n?i.set("category",n):i.delete("category"),s(`${a}?${i.toString()}`)}return(0,qe.jsxs)(q,{children:[(0,qe.jsx)(pe,{children:(0,qe.jsx)(me,{className:"text-accent",children:e&&e})}),(0,qe.jsx)(Z,{children:r&&r.length>0&&(0,qe.jsx)("nav",{"aria-label":"footer links navigation",children:(0,qe.jsx)("ul",{className:"grid gap-2.5 ",children:r.map((n,i)=>(0,qe.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(n.href)},children:[n.label,(0,qe.jsx)(ye.ExternalLink,{className:"ml-1 h-3 qe-3"})]},i))})})})]})}var nt=T(require("next/link"));function ro({image:e,name:r,about:t,socialLinks:a}){return!e||!e.src||e.src.length<3||!r?null:(0,qe.jsx)("div",{className:"mt-1 qe-10 px-0 pt-0 lg:px-10",children:(0,qe.jsx)(q,{children:(0,qe.jsxs)(Z,{children:[e&&e.src&&(0,qe.jsx)(ot.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Lr,className:"mx-auto mt-6 rounded-full object-cover"}),(0,qe.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),(0,qe.jsx)("p",{children:t}),a&&a.length>0&&(0,qe.jsx)("nav",{"aria-label":"social links",children:(0,qe.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((s,o)=>(0,qe.jsx)("li",{children:(0,qe.jsx)(xe,{href:s.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,qe.jsx)("span",{children:s.icon})})},o))})})]})})})}function st({page:e,categoryList:r,edit:t=!1,path:a="/admin/collections/posts/"}){var x;if(!e)return(0,at.notFound)();let{meta:s,populatedAuthors:o,authors:n,categories:i,content:c,title:p}=e,m={image:{src:s&&s.image&&s.image.url||void 0,alt:s&&s.image&&s.image.alt||void 0},authorName:((x=o==null?void 0:o[0])==null?void 0:x.name)||"",category:i,commentCount:0,title:p,description:(s==null?void 0:s.description)||""},h=n==null?void 0:n.map(f=>{var y,v;return{name:f.name||"",about:"",image:{src:f.profilePicture&&((v=(y=f.profilePicture.sizes)==null?void 0:y.square)==null?void 0:v.url)||"",alt:f.name||"blog author"},socialLinks:[]}});return(0,qe.jsx)(ur,{children:(0,qe.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,qe.jsx)("div",{children:(0,qe.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,qe.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,qe.jsx)(M,{content:c,enableGutter:!1})]})}),(0,qe.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-qe-[410px] lg:gap-10",children:[t&&(0,qe.jsx)("div",{className:"mt-4 lg:-mt-10 qe-10 px-0 pt-0 lg:px-10",children:(0,qe.jsxs)(q,{children:[(0,qe.jsx)(pe,{children:(0,qe.jsx)(me,{className:"text-accent",children:"Content Actions"})}),(0,qe.jsxs)(Z,{children:[(0,qe.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,qe.jsx)(nt.default,{href:`${a}${e.id}`,children:(0,qe.jsx)(K,{variant:"outline",className:"qe-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),h&&h.map((f,y)=>(0,qe.jsx)(ro,{...f},y)),r&&r.links&&(0,qe.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,qe.jsx)(tt,{links:r.links,title:r.title})})]})]})})}function it({...e}){return(0,qe.jsxs)("div",{children:[(0,qe.jsx)(wr,{isMenuOpen:!0,logoLight:Rr,logoDark:Mr}),(0,qe.jsx)(Dr,{...e.hero}),(0,qe.jsx)(st,{className:"!pb-0",...e.blog})]})}
5
+ "use strict";var Ar=Object.create;var Ce=Object.defineProperty;var Sr=Object.getOwnPropertyDescriptor;var Pr=Object.getOwnPropertyNames;var Tr=Object.getPrototypeOf,Br=Object.prototype.hasOwnProperty;var Ir=(e,t)=>{for(var r in t)Ce(e,r,{get:t[r],enumerable:!0})},lt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Pr(t))!Br.call(e,n)&&n!==r&&Ce(e,n,{get:()=>t[n],enumerable:!(a=Sr(t,n))||a.enumerable});return e};var R=(e,t,r)=>(r=e!=null?Ar(Tr(e)):{},lt(t||!e||!e.__esModule?Ce(r,"default",{value:e,enumerable:!0}):r,e)),Mr=e=>lt(Ce({},"__esModule",{value:!0}),e);var Ao={};Ir(Ao,{default:()=>Nr});module.exports=Mr(Ao);var ct=require("react/jsx-runtime"),le=({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,ct.jsx)("i",{className:i})};var Z=require("@headlessui/react"),vt=require("@heroicons/react/20/solid");var xt=require("clsx");var Je="-",Rr=e=>{let t=Lr(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)||Dr(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=/^\[(.+)\]$/,Dr=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}},Lr=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Er(Object.entries(e.classGroups),r).forEach(([o,s])=>{Ye(s,a,o,t)}),a},Ye=(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(Fr(n)){Ye(n(a),t,r,a);return}t.validators.push({validator:n,classGroupId:r});return}Object.entries(n).forEach(([o,s])=>{Ye(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},Fr=e=>e.isThemeGetter,Er=(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,Hr=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="!",zr=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,h;for(let S=0;S<i.length;S++){let P=i[S];if(p===0){if(P===n&&(a||i.slice(S,S+o)===t)){c.push(i.slice(m,S)),m=S+o;continue}if(P==="/"){h=S;continue}}P==="["?p++:P==="]"&&p--}let x=c.length===0?i:i.substring(m),f=x.startsWith(ut),y=f?x.substring(1):x,v=h&&h>m?h-m:void 0;return{modifiers:c,hasImportantModifier:f,baseClassName:y,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:s}):s},Gr=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},Ur=e=>({cache:Hr(e.cacheSize),parseClassName:zr(e),...Rr(e)}),Or=/\s+/,Yr=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:n}=t,o=[],s=e.trim().split(Or),i="";for(let c=s.length-1;c>=0;c-=1){let p=s[c],{modifiers:m,hasImportantModifier:h,baseClassName:x,maybePostfixModifierPosition:f}=r(p),y=!!f,v=a(y?x.substring(0,f):x);if(!v){if(!y){i=p+(i.length>0?" "+i:i);continue}if(v=a(x),!v){i=p+(i.length>0?" "+i:i);continue}y=!1}let S=Gr(m).join(":"),P=h?S+ut:S,M=P+v;if(o.includes(M))continue;o.push(M);let J=n(v,y);for(let F=0;F<J.length;++F){let ye=J[F];o.push(P+ye)}i=p+(i.length>0?" "+i:i)}return i};function Jr(){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 jr(e,...t){let r,a,n,o=s;function s(c){let p=t.reduce((m,h)=>h(m),e());return r=Ur(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=Yr(c,r);return n(c,m),m}return function(){return o(Jr.apply(null,arguments))}}var N=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},gt=/^\[(?:([a-ct-]+):)?(.+)\]$/i,Kr=/^\d+\/\d+$/,Vr=new Set(["px","full","screen"]),Qr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$r=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(ct|h|i|ct|min|max))|\ct(calc|min|max|clamp)\(.+\)|^0$/,_r=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Xr=/^(inset_)?-?((\d+)?\.?(\d+)[a-ct]+|0)_-?((\d+)?\.?(\d+)[a-ct]+|0)/,qr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,U=e=>q(e)||Vr.has(e)||Kr.test(e),j=e=>W(e,"length",no),q=e=>!!e&&!Number.isNaN(Number(e)),Oe=e=>W(e,"number",q),ce=e=>!!e&&Number.isInteger(Number(e)),Wr=e=>e.endsWith("%")&&q(e.slice(0,-1)),d=e=>gt.test(e),K=e=>Qr.test(e),Zr=new Set(["length","size","percentage"]),eo=e=>W(e,Zr,bt),to=e=>W(e,"position",bt),ro=new Set(["image","url"]),oo=e=>W(e,ro,io),ao=e=>W(e,"",so),de=()=>!0,W=(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},no=e=>$r.test(e)&&!_r.test(e),bt=()=>!1,so=e=>Xr.test(e),io=e=>qr.test(e);var lo=()=>{let e=N("colors"),t=N("spacing"),r=N("blur"),a=N("brightness"),n=N("borderColor"),o=N("borderRadius"),s=N("borderSpacing"),i=N("borderWidth"),c=N("contrast"),p=N("grayscale"),m=N("hueRotate"),h=N("invert"),x=N("gap"),f=N("gradientColorStops"),y=N("gradientColorStopPositions"),v=N("inset"),S=N("margin"),P=N("opacity"),M=N("padding"),J=N("saturate"),F=N("scale"),ye=N("sepia"),tt=N("skew"),rt=N("space"),ot=N("translate"),He=()=>["auto","contain","none"],ze=()=>["auto","hidden","clip","visible","scroll"],Ge=()=>["auto",d,t],A=()=>[d,t],at=()=>["",U,j],ve=()=>["auto",q,d],nt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],we=()=>["solid","dashed","dotted","double","none"],st=()=>["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"],ie=()=>["","0",d],it=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[q,d];return{cacheSize:500,separator:":",theme:{colors:[de],spacing:[U,j],blur:["none","",K,d],brightness:G(),borderColor:[e],borderRadius:["none","","full",K,d],borderSpacing:A(),borderWidth:at(),contrast:G(),grayscale:ie(),hueRotate:G(),invert:ie(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[Wr,j],inset:Ge(),margin:Ge(),opacity:G(),padding:A(),saturate:G(),scale:G(),sepia:ie(),skew:G(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[K]}],"break-after":[{"break-after":it()}],"break-before":[{"break-before":it()}],"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:[...nt(),d]}],overflow:[{overflow:ze()}],"overflow-x":[{"overflow-x":ze()}],"overflow-y":[{"overflow-y":ze()}],overscroll:[{overscroll:He()}],"overscroll-x":[{"overscroll-x":He()}],"overscroll-y":[{"overscroll-y":He()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],ct:[{ct:["auto",ce,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:ie()}],shrink:[{shrink:ie()}],order:[{order:["first","last","none",ce,d]}],"grid-cols":[{"grid-cols":[de]}],"col-start-end":[{col:["auto",{span:["full",ce,d]},d]}],"col-start":[{"col-start":ve()}],"col-end":[{"col-end":ve()}],"grid-rows":[{"grid-rows":[de]}],"row-start-end":[{row:["auto",{span:[ce,d]},d]}],"row-start":[{"row-start":ve()}],"row-end":[{"row-end":ve()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"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:[M]}],px:[{px:[M]}],py:[{py:[M]}],ps:[{ps:[M]}],ct:[{ct:[M]}],pt:[{pt:[M]}],ee:[{ee:[M]}],pb:[{pb:[M]}],pl:[{pl:[M]}],m:[{m:[S]}],mx:[{mx:[S]}],my:[{my:[S]}],ms:[{ms:[S]}],me:[{me:[S]}],mt:[{mt:[S]}],mr:[{mr:[S]}],mb:[{mb:[S]}],ml:[{ml:[S]}],"space-x":[{"space-x":[rt]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[rt]}],"space-y-reverse":["space-y-reverse"],ct:[{ct:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-ct":[{"min-ct":[d,t,"min","max","fit"]}],"max-ct":[{"max-ct":[d,t,"none","full","min","max","fit","prose",{screen:[K]},K]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",K,j]}],"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:[de]}],"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",q,Oe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",U,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",U,j]}],"underline-offset":[{"underline-offset":["auto",U,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:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...nt(),to]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",eo]}],"bg-image":[{bg:["none",{"gradient-to":["t","ee","r","br","ct","bl","l","tl"]},oo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-ct":[{"rounded-ct":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-ct":[{"rounded-ct":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-ct":[{border:[i]}],"border-ct-x":[{"border-x":[i]}],"border-ct-y":[{"border-y":[i]}],"border-ct-s":[{"border-s":[i]}],"border-ct-e":[{"border-e":[i]}],"border-ct-t":[{"border-t":[i]}],"border-ct-r":[{"border-r":[i]}],"border-ct-ct":[{"border-ct":[i]}],"border-ct-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...we(),"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":[P]}],"divide-style":[{divide:we()}],"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-ct":[{"border-ct":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...we()]}],"outline-offset":[{"outline-offset":[U,d]}],"outline-ct":[{outline:[U,j]}],"outline-color":[{outline:[e]}],"ring-ct":[{ring:at()}],"ring-ct-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-ct":[{"ring-offset":[U,j]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",K,ao]}],"shadow-color":[{shadow:[de]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...st(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":st()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",K,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[h]}],saturate:[{saturate:[J]}],sepia:[{sepia:[ye]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[J]}],"backdrop-sepia":[{"backdrop-sepia":[ye]}],"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:G()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[ce,d]}],"translate-x":[{"translate-x":[ot]}],"translate-y":[{"translate-y":[ot]}],"skew-x":[{"skew-x":[tt]}],"skew-y":[{"skew-y":[tt]}],"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","ct-resize","wr-resize","nw-resize","ct-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":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-ct":[{"scroll-ct":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-ee":[{"scroll-ee":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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-ct":[{stroke:[U,j,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","ct","pt","ee","pb","pl"],px:["ee","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["ct","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-ct","rounded-l","rounded-ss","rounded-ct","rounded-ee","rounded-es","rounded-tl","rounded-ee","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-ct","rounded-ee"],"rounded-t":["rounded-tl","rounded-ee"],"rounded-r":["rounded-ee","rounded-br"],"rounded-ct":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-ct":["border-ct-s","border-ct-e","border-ct-t","border-ct-r","border-ct-ct","border-ct-l"],"border-ct-x":["border-ct-r","border-ct-l"],"border-ct-y":["border-ct-t","border-ct-ct"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-ct","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-ct"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-ct","scroll-pt","scroll-ee","scroll-pb","scroll-pl"],"scroll-px":["scroll-ee","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=jr(lo);function l(...e){return ht((0,xt.clsx)(e))}var co=({name:e,items:t,actions:r=[],href:a})=>!t&&a?(0,ct.jsx)("a",{href:a,className:"flex items-center gap-x-1 text-sm text-foreground group",children:(0,ct.jsxs)("span",{className:"relative",children:[e,(0,ct.jsx)("span",{className:"absolute -bottom-1 left-1/2 ct-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):(0,ct.jsxs)(Z.Popover,{children:[(0,ct.jsxs)(Z.PopoverButton,{className:"flex items-center gap-x-1 text-sm/6 text-foreground outline-none group",children:[(0,ct.jsxs)("span",{className:"relative",children:[e,(0,ct.jsx)("span",{className:"absolute bottom-0 left-1/2 ct-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),(0,ct.jsx)(vt.ChevronDownIcon,{"aria-hidden":"true",className:"h-5 ct-5 flex-none text-accent"})]}),(0,ct.jsxs)(Z.PopoverPanel,{transition:!0,className:"absolute inset-x-0 top-0 -ct-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,ct.jsx)("div",{className:"mx-auto grid max-ct-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 ct-50",children:t&&t.map(n=>(0,ct.jsxs)("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[(0,ct.jsx)("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:n.icon&&(0,ct.jsx)(yt,{icon:n.icon,size:"4x"})}),(0,ct.jsxs)("a",{href:n.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[n.name,(0,ct.jsx)("span",{className:"absolute inset-0"})]}),(0,ct.jsx)("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:n.description})]},n.name))}),r.length>0&&(0,ct.jsx)("div",{className:"bg-gray-50",children:(0,ct.jsx)("div",{className:"mx-auto max-ct-7xl px-6 lg:px-8",children:(0,ct.jsx)("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:r.map(n=>(0,ct.jsxs)("a",{href:n.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[n.icon&&(0,ct.jsx)(yt,{icon:n.icon,className:"h-5 ct-5 flex-none text-gray-400"}),n.name]},n.name))})})})]})]}),yt=({icon:e,className:t,size:r="lg"})=>{if(!e)return null;if("type"in e)return(0,ct.jsx)(le,{...e,size:r});if("src"in e)return(0,ct.jsx)("div",{className:l(t,"h-full max-ct-32 items-start text-left"),children:e&&typeof e.src=="string"&&(0,ct.jsx)("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},wt=co;var Ct=R(require("next/link"));function ke({children:e,href:t,openNewTab:r,...a}){return(0,ct.jsx)(Ct.default,{href:t,target:r?"_blank":"_self",...a,children:e})}function Nt({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let n=l("container",t&&"full-width",r&&"no-padding",a);return(0,ct.jsx)("div",{className:n,children:e})}var ee=require("react");var je=R(require("next/image"));function me({logoLight:e,logoDark:t,mobile:r=!1}){return(0,ct.jsxs)(ke,{href:"/",className:l(r?"py-1":"py-2"),children:[(0,ct.jsx)(je.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,ct.jsx)(je.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 St=require("next-themes"),Ne=require("lucide-react");function Tt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:n=!1,wide:o=!1}){let[s,i]=(0,ee.useState)(!1),[c,p]=(0,ee.useState)(""),m=["light","dark"],{theme:h,setTheme:x}=(0,St.useTheme)();(0,ee.useEffect)(()=>{p(h||"dark")},[h]);let f=()=>{let y=m[(m.indexOf(c)+1)%m.length];p(y),x(y)};return(0,ee.useEffect)(()=>{let y=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",y,{passive:!0}),()=>window.removeEventListener("scroll",y)},[]),(0,ct.jsx)(ct.Fragment,{children:(0,ct.jsx)("header",{className:`ct-50 pb-10 transition-all duration-300 hidden lg:block ${s||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:(0,ct.jsx)("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:(0,ct.jsxs)("div",{className:l("flex items-center justify-between px-9 py-0",!o&&"container"),children:[(0,ct.jsx)(me,{logoDark:r,logoLight:t}),(0,ct.jsx)(Z.PopoverGroup,{className:"hidden lg:flex lg:gap-x-12",children:a&&a.map(y=>(0,ct.jsx)(wt,{...y},y.name))}),n&&(0,ct.jsx)("button",{className:"fixed right-4 ct-[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:f,children:(0,ct.jsxs)("div",{className:"relative",children:[(0,ct.jsx)(Ne.Sun,{className:"absolute h-6 ct-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),(0,ct.jsx)(Ne.Moon,{className:"absoulte h-6 ct-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}var Ae=require("@heroicons/react/24/outline");var Ke=["light","dark"];function It({logoLight:e,logoDark:t,menuItems:r,isMenuOpen:a=!0}){let[n,o]=(0,ee.useState)(!1),{theme:s,setTheme:i}=(0,St.useTheme)(),[c,p]=(0,ee.useState)(!1),[m,h]=(0,ee.useState)("light");(0,ee.useEffect)(()=>{let f=()=>{window.scrollY>100?o(!0):o(!1)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]),(0,ee.useEffect)(()=>{h(s||"dark")},[s]);let x=()=>{let f=Ke[(Ke.indexOf(m)+1)%Ke.length];h(f),i(f)};return(0,ct.jsx)(ct.Fragment,{children:(0,ct.jsxs)("header",{className:`ct-50 pb-10 transition-all duration-300 block lg:hidden ${n||a?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[(0,ct.jsx)("nav",{className:l("backdrop-blur-sm text-white p-0",c&&"hidden"),children:(0,ct.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-ct dark:border-accent",children:[(0,ct.jsx)(me,{logoDark:t,logoLight:e,mobile:!0}),(0,ct.jsx)("div",{className:"flex items-center space-x-4",children:(0,ct.jsxs)("button",{type:"button",onClick:()=>p(!0),className:"fixed right-4 ct-[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,ct.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,ct.jsx)(Ae.Bars3Icon,{"aria-hidden":"true",className:"h-4 ct-4"})]})})]})}),(0,ct.jsxs)(Z.Dialog,{open:c,onClose:p,className:"lg:hidden",children:[(0,ct.jsx)("div",{className:"fixed inset-0 ct-10 bg-black bg-opacity-50","aria-hidden":"true"}),(0,ct.jsxs)(Z.DialogPanel,{className:"fixed inset-y-0 right-0 ct-20 ct-full overflow-y-auto bg-background dark:bg-[#212124] px-2 sm:max-ct-sm sm:ring-1 sm:ring-gray-900/10",children:[(0,ct.jsxs)("div",{className:"flex items-stretch justify-between",children:[(0,ct.jsx)(me,{logoDark:t,logoLight:e,mobile:!0}),(0,ct.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,ct.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,ct.jsx)(Ae.XMarkIcon,{"aria-hidden":"true",className:"h-6 ct-6"})]})]}),(0,ct.jsx)("div",{className:"mt-6 flow-root",children:(0,ct.jsx)("div",{className:"-my-6 divide-y divide-gray-500/10",children:(0,ct.jsx)("div",{className:"space-y-2 px-2 py-6",children:r&&r.map(f=>(0,ct.jsx)(po,{...f},f.name))})})})]})]})]})})}function po({name:e,items:t,actions:r,href:a}){return!t&&a?(0,ct.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,ct.jsxs)(Z.Disclosure,{as:"div",className:"-mx-3",children:[(0,ct.jsx)(Z.DisclosureButton,{className:"group flex ct-full items-center justify-between rounded-lg py-2 pl-3 ee-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),(0,ct.jsx)(Z.DisclosurePanel,{className:"mt-2 space-y-2",children:t&&t.map(n=>(0,ct.jsx)(Z.DisclosureButton,{as:"a",href:n.href,className:"block rounded-lg py-2 pl-6 ee-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:n.name},n.name))})]})}var Mt=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}`};function Rt({isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,className:n,wide:o,themeControl:s=!1}){return(0,ct.jsxs)("div",{className:l("fixed top-0 left-0 right-0 ct-50",n),children:[(0,ct.jsx)(Tt,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a,themeControl:s,wide:o}),(0,ct.jsx)(It,{isMenuOpen:e,logoLight:t,logoDark:r,menuItems:a})]})}var Ut=R(require("react")),Ot=R(require("next/image"));var Dt=require("@radix-ui/react-slot"),Lt=require("class-variance-authority"),Ft=R(require("react")),mo=(0,Lt.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 ct-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),O=Ft.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...n},o)=>(0,ct.jsx)(e?Dt.Slot:"button",{className:l(mo({className:t,size:r,variant:a})),ref:o,...n}));O.displayName="Button";var zt=(0,Lt.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ve({className:e,variant:t,...r}){return(0,ct.jsx)("div",{className:l(zt({variant:t}),e),...r})}var Yt=({post:e})=>{var s;let{categories:t,meta:r,populatedAuthors:a,publishedAt:n,title:o}=e;return(0,ct.jsxs)("div",{className:"relative grid pt-24",children:[(0,ct.jsx)("div",{className:"relative ct-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:(0,ct.jsxs)("div",{className:"container mx-auto",children:[(0,ct.jsx)("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:o}),(0,ct.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&(0,ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ct.jsxs)("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),(0,ct.jsx)("p",{children:a.map((i,c)=>(0,ct.jsxs)(Ut.default.Fragment,{children:[i.name,c<a.length-2&&", ",c===a.length-2&&(a.length>2?", and ":" and ")]},i.id))})]}),n&&(0,ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ct.jsx)("p",{className:"text-sm",children:"Date Published"}),(0,ct.jsx)("time",{dateTime:n,children:Mt(n)})]}),t&&t.length>0&&(0,ct.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,ct.jsx)("p",{className:"text-sm font-medium",children:"Categories"}),(0,ct.jsx)("div",{className:"flex flex-wrap gap-2",children:t.map((i,c)=>typeof i=="object"&&i!==null&&(0,ct.jsx)(Ve,{className:"px-3 py-1 mx-1",children:i.title||"Untitled category"},i.id||c))})]})]})]})}),(0,ct.jsxs)("div",{className:"absolute inset-0 ct-full h-full",children:[(0,ct.jsx)(Ot.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,ct.jsx)("div",{className:"absolute pointer-events-none left-0 bottom-0 ct-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};var Jt="../cortex-reply-light-27IMI3G7.png";var jt="../cortex-reply-dark-XPAJJJYY.png";var Kt="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var vr=R(require("next/image"));var Vt=({className:e,content:t,style:r})=>(0,ct.jsx)("div",{className:l("mx-auto my-8 ct-full",e),children:(0,ct.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,ct.jsx)(E,{content:t,enableGutter:!1,enableProse:!1})})});var Qe=R(require("next/link")),ge=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 h=r==="link"?"clear":c,x=s?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,ct.jsxs)(Qe.default,{className:l(n),href:m||p||"",...x,children:[o&&o,a&&a]}):(0,ct.jsx)(O,{asChild:!0,className:n,size:h,variant:r,children:(0,ct.jsxs)(Qe.default,{className:l(n),href:m||p||"",...x,children:[o&&o,a&&a]})})};function Pe({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] ct-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 go({className:e,...t}){return(0,ct.jsx)("input",{...t,className:Pe({className:e})})}function Te({icon:e,...t}){return(0,ct.jsxs)("div",{className:"relative ct-full",children:[(0,ct.jsx)(go,{...t}),e&&(0,ct.jsx)("span",{className:"absolute right-5 top-1/2 ct-[14px] -translate-y-1/2 text-accent",children:e})]})}function bo({className:e,...t}){return(0,ct.jsx)("textarea",{...t,className:l(Pe({}),"resize-none md:min-h-[130px]",e)})}function Qt({icon:e,...t}){return(0,ct.jsxs)("div",{className:"relative ct-full",children:[(0,ct.jsx)(bo,{...t}),e&&(0,ct.jsx)("span",{className:"absolute right-5 top-[18px] ct-[14px] text-accent",children:e})]})}var _t=require("formik"),Xt=require("react-icons/fa6"),Q=R(require("yup"));async function $t(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 $e=require("sonner"),L={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},ho=Q.object().shape({name:Q.string().min(2,L.tooShort).max(50,L.tooLong).required(L.required),email:Q.string().email(L.email).required(L.required),subject:Q.string().min(2,L.tooShort).max(50,L.tooLong).required(L.required),message:Q.string().min(2,L.tooShort).max(300,L.tooLong).required(L.required)}),Be=l("!ee-[44px] text-foreground"),Ie=l("!border-red-600 border"),Me=l("sr-only");function qt(){return(0,ct.jsx)(_t.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:ho,onSubmit:async(e,{resetForm:t})=>{let r=await $t(e);r.data===null?$e.toast.error(r.message):($e.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:n,isSubmitting:o,handleSubmit:s})=>(0,ct.jsxs)("form",{onSubmit:s,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,ct.jsxs)("div",{children:[(0,ct.jsx)(Te,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:n,disabled:o,icon:(0,ct.jsx)(Xt.FaUser,{className:"text-primary"}),className:l(Be,e.name&&t.name&&Ie)}),e.name&&t.name&&(0,ct.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:Me,children:e.name})]}),(0,ct.jsxs)("div",{children:[(0,ct.jsx)(Te,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:n,disabled:o,icon:(0,ct.jsx)(xo,{}),className:l(Be,e.email&&t.email&&Ie)}),e.email&&t.email&&(0,ct.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:Me,children:e.email})]}),(0,ct.jsxs)("div",{className:"lg:col-span-2",children:[(0,ct.jsx)(Te,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:n,disabled:o,className:l(Be,e.subject&&t.subject&&Ie)}),e.subject&&t.subject&&(0,ct.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Me,children:e.subject})]}),(0,ct.jsxs)("div",{className:"lg:col-span-2",children:[(0,ct.jsx)(Qt,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:n,disabled:o,icon:(0,ct.jsx)(yo,{}),className:l(Be,e.message&&t.message&&Ie)}),e.message&&t.message&&(0,ct.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:Me,children:e.message})]}),(0,ct.jsx)("div",{className:"lg:col-span-2 light",children:(0,ct.jsx)(O,{type:"submit",className:"ct-full outline rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:(0,ct.jsx)("span",{children:"Send"})})})]})})}function xo(){return(0,ct.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,ct.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 yo(){return(0,ct.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,ct.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 Zt=({links:e,richText:t})=>{let[r,a]=(0,ee.useState)(!1),n=()=>a(!0),o=()=>a(!1),s=i=>{i.target===i.currentTarget&&o()};return(0,ct.jsxs)("div",{className:"relative isolate overflow-hidden bg-black",children:[(0,ct.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,ct.jsxs)("div",{className:"mx-auto max-ct-2xl text-center prose",children:[t&&(0,ct.jsx)(E,{className:"mb-0 prose-p:text-white text-white",content:t,enableGutter:!1}),(0,ct.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,ct.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:i},c)=>(i==null?void 0:i.url)==="/contact"?(0,ct.jsx)("div",{onClick:n,className:"rounded-full px-3.5 py-2.5 border border-accent text-white no-underline cursor-pointer",children:i.label},c):(0,ct.jsx)(ge,{size:"lg",className:"rounded-full px-3.5 py-2.5 border border-accent text-white no-underline",...i},c))})})]})}),r&&(0,ct.jsx)("div",{className:"fixed inset-0 ct-50 flex items-center justify-center bg-black bg-opacity-50",onClick:s,children:(0,ct.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg ct-full max-ct-lg relative",children:[(0,ct.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:o,children:"\u2715"}),(0,ct.jsx)(qt,{})," "]})}),(0,ct.jsxs)("svg",{viewBox:"0 0 1024 1024","aria-hidden":"true",className:"absolute left-1/2 top-1/2 -ct-10 size-[64rem] -translate-x-1/2 [mask-image:radial-gradient(closest-side,white,transparent)]",children:[(0,ct.jsx)("circle",{r:512,cx:512,cy:512,fill:"url(#8d958450-c69f-4251-94bc-4e091a323369)",fillOpacity:"0.7"}),(0,ct.jsx)("defs",{children:(0,ct.jsxs)("radialGradient",{id:"8d958450-c69f-4251-94bc-4e091a323369",children:[(0,ct.jsx)("stop",{stopColor:"#22B2AA"}),(0,ct.jsx)("stop",{offset:1,stopColor:"#22B2AA"})]})})]})]})};var Re=require("prism-react-renderer");function rr({code:e}){let[t,r]=(0,ee.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,$.jsx)("div",{className:"flex justify-end align-middle",children:(0,$.jsxs)(O,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,$.jsx)("p",{children:t}),(0,$.jsx)("div",{className:"ct-6 h-6 dark:invert",children:(0,$.jsx)(Ne.ClipboardCopy,{})})]})})}var or=({code:e,language:t=""})=>e?(0,ct.jsx)(Re.Highlight,{code:e,language:t,theme:Re.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:n})=>(0,ct.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[n.map((o,s)=>(0,ct.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,ct.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:s+1}),(0,ct.jsx)("span",{className:"table-cell pl-4",children:o.map((i,c)=>(0,ct.jsx)("span",{...a({token:i})},c))})]},s)),(0,ct.jsx)(rr,{code:e})]})}):null;var ar=({className:e,code:t,language:r})=>(0,ct.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,ct.jsx)(or,{code:t,language:r})});var sr=R(require("next/image")),vo={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},nr="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=",ir=e=>{let{alt:t,fill:r,imgClassName:a,priority:n,resource:o,size:s,src:i,loading:c}=e,p,m,h=t,x=i||"";if(!x&&o&&typeof o=="object"){let{alt:v,filename:S,height:P,url:M,width:J}=o;if(P&&P>500){let F=500/P;p=J*F,m=P*F}else p=J,m=P;h=v||"",x=M||nr}let f=c||"lazy",y=s||Object.entries(vo).map(([,v])=>`(max-width: ${v}px) ${v*2}ct`).join(", ");return(0,ct.jsx)("picture",{children:(0,ct.jsx)(sr.default,{alt:h||"",className:l(a),fill:r,height:r?void 0:m,placeholder:"blur",blurDataURL:nr,priority:f!=="lazy"&&n,quality:100,loading:f,sizes:y,src:x,width:r?void 0:p})})};var lr=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var cr=()=>{if(lr){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 dr=e=>{let{onClick:t,resource:r,videoClassName:a}=e,n=(0,ee.useRef)(null);if((0,ee.useEffect)(()=>{let{current:o}=n;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,ct.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:n,children:(0,ct.jsx)("source",{src:`${cr()}/media/${o}`})})}return null};var Fe=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,ct.jsx)(r||ee.Fragment,{...r!==null?{className:t}:{},children:n?(0,ct.jsx)(dr,{...e}):(0,ct.jsx)(ir,{...e})})};var mr=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,ct.jsx)("div",{className:l("h-full ",{container:r},t),children:(0,ct.jsx)(Fe,{imgClassName:l("rounded-[0.8rem]",a),className:"flex justify-center",resource:n,src:o})})};var ur=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:n,staticImage:o}=e;return(0,ct.jsx)("div",{className:l("",{container:r},t),children:(0,ct.jsx)(Fe,{imgClassName:l("rounded-[0.8rem]",a),resource:n,src:o})})};var gr=R(require("next/image"));function fr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function et({image:e,icon:t,title:r,subtitle:a,content:n,statistic:o,settings:s,link:i,className:c}){var h,x;let p={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},m={"1/4":"ct-1/4","1/3":"ct-1/3","1/2":"ct-1/2",full:"ct-full",auto:"ct-full"};return(0,ct.jsxs)("div",{className:l("min-ct-56 max-ct-xl h-full flex flex-col group",e?"p-0 md:p-0":"p-8 md:p-8",s&&!e&&p[(s==null?void 0:s.card)==="default"?"solid":s==null?void 0:s.card],e&&"bg-foreground",s&&(s==null?void 0:s.card)==="outline"?"text-gray-900":"text-white",m[(h=s==null?void 0:s.width)!=null?h:"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,ct.jsx)("div",{className:"relative h-1/2 lg:h-2/3 ct-full mb-0",children:(0,ct.jsx)(gr.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,ct.jsxs)("div",{className:l(e?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[a&&(0,ct.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:a}),(0,ct.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,ct.jsx)(wo,{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":(x=s==null?void 0:s.card)!=null?x:"solid",iconSize:(s==null?void 0:s.iconSize)||"large"})}),o&&(0,ct.jsx)("div",{className:"mb-6",children:(0,ct.jsx)("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"text-brand-green":"text-white"),children:o})}),n&&typeof n=="object"&&(0,ct.jsx)(E,{enableGutter:!1,content:n,enableProse:!1,className:l("space-y-6",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",e&&"prose prose-headings:text-background prose-p:text-background")}),n&&typeof n=="string"&&(0,ct.jsx)("div",{className:l("space-y-6",(s==null?void 0:s.card)==="outline"||(s==null?void 0:s.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:n}),i&&i.url&&(0,ct.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,ct.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:i.url||"#",children:(i==null?void 0:i.label)||"Find out more"})}),(s==null?void 0:s.card)==="radial"&&(0,ct.jsx)("div",{className:"absolute bottom-0 right-0 ct-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var wo=({icon:e,heading:t,variant:r,iconSize:a,subtitle:n})=>e&&a==="small"&&e.iconName!="no-icon-error"?(0,ct.jsxs)("div",{className:"flex items-start justify-between ct-full mb-2",children:[(0,ct.jsx)("div",{className:l("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",a==="small"?"text-2xl":"text-3xl"),children:t}),fr(e)&&(0,ct.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,ct.jsx)(le,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,ct.jsxs)("div",{className:"flex flex-col gap-4",children:[fr(e)&&(0,ct.jsx)("div",{className:l("h-12 ct-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,ct.jsx)(le,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,ct.jsx)("h3",{className:l("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,ct.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,ct.jsx)("div",{className:l("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var _=R(require("react"));var oe=_.forwardRef(({className:e,...t},r)=>(0,ct.jsx)("div",{ref:r,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));oe.displayName="Card";var be=_.forwardRef(({className:e,...t},r)=>(0,ct.jsx)("div",{ref:r,className:l("flex flex-col space-y-1.5 p-6",e),...t}));be.displayName="CardHeader";var he=_.forwardRef(({className:e,...t},r)=>(0,ct.jsx)("div",{ref:r,className:l("font-semibold leading-none tracking-tight",e),...t}));he.displayName="CardTitle";var Co=_.forwardRef(({className:e,...t},r)=>(0,ct.jsx)("div",{ref:r,className:l("text-sm text-muted-foreground",e),...t}));Co.displayName="CardDescription";var ae=_.forwardRef(({className:e,...t},r)=>(0,ct.jsx)("div",{ref:r,className:l("p-6 pt-0",e),...t}));ae.displayName="CardContent";var ko=_.forwardRef(({className:e,...t},r)=>(0,ct.jsx)("div",{ref:r,className:l("flex items-center p-6 pt-0",e),...t}));ko.displayName="CardFooter";var br=({title:e,description:t,features:r,id:a,nested:n=!1})=>(0,ct.jsxs)("section",{className:l(n?"ct-full":"container",""),children:[(0,ct.jsxs)("div",{className:"prose prose:max-ct-none",children:[e&&(0,ct.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:a||"",children:e}),t&&typeof t=="string"&&(0,ct.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,ct.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,ct.jsx)(E,{content:t,enableGutter:!1})})]}),(0,ct.jsx)("div",{className:`grid gap-8 mt-10 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,ct.jsx)(et,{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 Ee=R(require("react"));function xe({nodes:e}){return(0,ct.jsx)(Ee.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,ct.jsx)(Ee.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,ct.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,ct.jsx)("em",{children:o},r)),t.format&4&&(o=(0,ct.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,ct.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,ct.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,ct.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,ct.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,ct.jsx)("table",{children:(0,ct.jsx)("tbody",{children:t.children.map((o,s)=>(0,ct.jsx)("ee",{children:o.children.map((i,c)=>(0,ct.jsx)("td",{children:xe({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 xe({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,ct.jsx)(Zt,{...o},r);case"mediaBlock":return(0,ct.jsx)(mr,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-ct-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,ct.jsx)(ur,{className:"col-start-1 col-span-3",imgClassName:"m-0",...o,captionClassName:"mx-auto max-ct-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,ct.jsx)(Vt,{className:"col-start-2 mb-4",...o},r);case"code":return(0,ct.jsx)(ar,{className:"col-start-2",...o},r);case"features":return(0,ct.jsx)(br,{...o,nested:!0},r);case"reusableContentBlock":xe({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,ct.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,ct.jsx)("p",{className:"col-start-2",children:n},r);case"heading":{let o=t==null?void 0:t.tag;return(0,ct.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,ct.jsx)(o,{className:"list col-start-2",children:n},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,ct.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,ct.jsx)("li",{value:t==null?void 0:t.value,children:n},r);case"quote":return(0,ct.jsx)("blockquote",{className:"col-start-2",children:n},r);case"link":{let o=t.fields;return(0,ct.jsx)(ge,{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,ct.jsx)(ge,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:n},r)}default:return null}})})}var E=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var n;return t?(0,ct.jsx)("div",{className:l({"container ":r,"max-ct-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&xe({nodes:(n=t==null?void 0:t.root)==null?void 0:n.children})}):null};var wr=require("next/navigation");var ns=l("transition-colors duration-400 hover:text-primary ease-in-out");function yr({title:e,links:t}){let r=(0,wr.useSearchParams)(),a=(0,wr.usePathname)(),{replace:n}=(0,wr.useRouter)();function o(s){let i=new URLSearchParams(r);s?i.set("category",s):i.delete("category"),n(`${a}?${i.toString()}`)}return(0,ct.jsxs)(oe,{children:[(0,ct.jsx)(be,{children:(0,ct.jsx)(he,{className:"text-accent",children:e&&e})}),(0,ct.jsx)(ae,{children:t&&t.length>0&&(0,ct.jsx)("nav",{"aria-label":"footer links navigation",children:(0,ct.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((s,i)=>(0,ct.jsxs)("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:c=>{c.preventDefault(),o(s.href)},children:[s.label,(0,ct.jsx)(Ne.ExternalLink,{className:"ml-1 h-3 ct-3"})]},i))})})})]})}var Cr=R(require("next/link"));function No({image:e,name:t,about:r,socialLinks:a}){return!e||!e.src||e.src.length<3||!t?null:(0,ct.jsx)("div",{className:"mt-1 ct-10 px-0 pt-0 lg:px-10",children:(0,ct.jsx)(oe,{children:(0,ct.jsxs)(ae,{children:[e&&e.src&&(0,ct.jsx)(vr.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Kt,className:"mx-auto mt-6 rounded-full object-cover"}),(0,ct.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,ct.jsx)("p",{children:r}),a&&a.length>0&&(0,ct.jsx)("nav",{"aria-label":"social links",children:(0,ct.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:a.map((n,o)=>(0,ct.jsx)("li",{children:(0,ct.jsx)(ke,{href:n.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:(0,ct.jsx)("span",{children:n.icon})})},o))})})]})})})}function kr({page:e,categoryList:t,edit:r=!1,path:a="/admin/collections/posts/"}){var x;if(!e)return(0,wr.notFound)();let{meta:n,populatedAuthors:o,authors:s,categories:i,content:c,title:p}=e,m={image:{src:n&&n.image&&n.image.url||void 0,alt:n&&n.image&&n.image.alt||void 0},authorName:((x=o==null?void 0:o[0])==null?void 0:x.name)||"",category:i,commentCount:0,title:p,description:(n==null?void 0:n.description)||""},h=s==null?void 0:s.map(f=>{var y,v;return{name:f.name||"",about:"",image:{src:f.profilePicture&&((v=(y=f.profilePicture.sizes)==null?void 0:y.square)==null?void 0:v.url)||"",alt:f.name||"blog author"},socialLinks:[]}});return(0,ct.jsx)(Nt,{children:(0,ct.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,ct.jsx)("div",{children:(0,ct.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,ct.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,ct.jsx)(E,{content:c,enableGutter:!1})]})}),(0,ct.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-ct-[410px] lg:gap-10",children:[r&&(0,ct.jsx)("div",{className:"mt-4 lg:-mt-10 ct-10 px-0 pt-0 lg:px-10",children:(0,ct.jsxs)(oe,{children:[(0,ct.jsx)(be,{children:(0,ct.jsx)(he,{className:"text-accent",children:"Content Actions"})}),(0,ct.jsxs)(ae,{children:[(0,ct.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,ct.jsx)(Cr.default,{href:`${a}${e.id}`,children:(0,ct.jsx)(O,{variant:"outline",className:"ct-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),h&&h.map((f,y)=>(0,ct.jsx)(No,{...f},y)),t&&t.links&&(0,ct.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,ct.jsx)(yr,{links:t.links,title:t.title})})]})]})})}function Nr({...e}){return(0,ct.jsxs)("div",{children:[(0,ct.jsx)(Rt,{isMenuOpen:!0,logoLight:Jt,logoDark:jt}),(0,ct.jsx)(Yt,{...e.hero}),(0,ct.jsx)(kr,{className:"!pb-0",...e.blog})]})}
@@ -1 +1 @@
1
- import{a}from"../chunk-NV6DJCV4.mjs";import"../chunk-56GKZ4U2.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-5G43IH3C.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-6IVK75UA.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-3YZN4MJB.mjs";import"../chunk-WNPA7YT3.mjs";import"../chunk-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-43TBC2ZH.mjs";import"../chunk-LCJIXE22.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-E6MYDQ3V.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-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};
1
+ import{a}from"../chunk-E2GQ2UH4.mjs";import"../chunk-OPCNQTDN.mjs";import"../chunk-WU3JMLSC.mjs";import"../chunk-BZAYEKYC.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-5G43IH3C.mjs";import"../chunk-PRUIYGQW.mjs";import"../chunk-H4Y4SZIU.mjs";import"../chunk-7VKHSE4O.mjs";import"../chunk-RBZMFLLA.mjs";import"../chunk-WRPART4J.mjs";import"../chunk-N6EJQZAV.mjs";import"../chunk-HWEPDRG6.mjs";import"../chunk-3LJZCM5A.mjs";import"../chunk-4NKKWJ2X.mjs";import"../chunk-4JC2TJML.mjs";import"../chunk-A5EYIB3V.mjs";import"../chunk-DWRQHV42.mjs";import"../chunk-Y5ZFXDW5.mjs";import"../chunk-AWFQEK7A.mjs";import"../chunk-PDUZAE2B.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-GHWZZAOE.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-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-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-54Y2MUCQ.mjs";import"../chunk-266LJXBZ.mjs";import"../chunk-RQ23CZK5.mjs";import"../chunk-DHEI2PBB.mjs";import"../chunk-CQOXWC6U.mjs";import"../chunk-AY65F2J7.mjs";import"../chunk-ZDPQXVTF.mjs";import"../chunk-LCJIXE22.mjs";import"../chunk-X5KZKO2V.mjs";import"../chunk-CS77R54Z.mjs";import"../chunk-E6MYDQ3V.mjs";import"../chunk-VQJUNVRU.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-CV7PH2KH.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as default};