cortex-react-components 1.58.8 → 1.58.10

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 (227) hide show
  1. package/dist/{chunk-RJGKFNZL.mjs → chunk-2A6JF3LE.mjs} +1 -1
  2. package/dist/{chunk-3DFRWKIF.mjs → chunk-2U53LYZN.mjs} +1 -1
  3. package/dist/{chunk-EEKJDWGI.mjs → chunk-2W4IMTIV.mjs} +1 -1
  4. package/dist/{chunk-6YWAX7NS.mjs → chunk-3GYJDXNA.mjs} +1 -1
  5. package/dist/{chunk-6DHYRATS.mjs → chunk-4YJ3HV64.mjs} +1 -1
  6. package/dist/{chunk-4NXJ76O5.mjs → chunk-5B4ISROY.mjs} +1 -1
  7. package/dist/{chunk-DJBBBN5I.mjs → chunk-5DBGTQXM.mjs} +1 -1
  8. package/dist/{chunk-5X4PB3FA.mjs → chunk-5FTK7M24.mjs} +1 -1
  9. package/dist/{chunk-D7A7EUEW.mjs → chunk-5RBQ77B3.mjs} +1 -1
  10. package/dist/{chunk-LGM6MCN3.mjs → chunk-7OBH6AB6.mjs} +1 -1
  11. package/dist/{chunk-6IRYD7Q7.mjs → chunk-BP7TH4IX.mjs} +1 -1
  12. package/dist/chunk-CFAC7SPP.mjs +1 -0
  13. package/dist/{chunk-34X6LQ6U.mjs → chunk-DJUA7Y5M.mjs} +1 -1
  14. package/dist/{chunk-GPG2PNPR.mjs → chunk-E5JYGW3N.mjs} +1 -1
  15. package/dist/{chunk-RI6VIXR6.mjs → chunk-E7435ZAX.mjs} +1 -1
  16. package/dist/{chunk-RQ23CZK5.mjs → chunk-F55C2C5H.mjs} +1 -1
  17. package/dist/{chunk-JPFBD2KD.mjs → chunk-FCCL6W7R.mjs} +1 -1
  18. package/dist/chunk-G6JBMV6L.mjs +1 -0
  19. package/dist/{chunk-SOXWIWAO.mjs → chunk-HGI7EHXL.mjs} +1 -1
  20. package/dist/{chunk-IIWZASBB.mjs → chunk-HJEBPSC5.mjs} +1 -1
  21. package/dist/chunk-I2W7RMTH.mjs +1 -0
  22. package/dist/{chunk-BIYVBANC.mjs → chunk-IHZ3OSBS.mjs} +1 -1
  23. package/dist/{chunk-2IKC7MAP.mjs → chunk-KB6PO4K4.mjs} +1 -1
  24. package/dist/{chunk-VHNDMY6M.mjs → chunk-KCNRSNZG.mjs} +1 -1
  25. package/dist/{chunk-HVPBVC33.mjs → chunk-KDTY4EY6.mjs} +1 -1
  26. package/dist/{chunk-23BDC5JG.mjs → chunk-KIICLHKI.mjs} +1 -1
  27. package/dist/{chunk-EJNRZ4WV.mjs → chunk-KIRUMRMR.mjs} +1 -1
  28. package/dist/chunk-L2QAYSRV.mjs +4 -0
  29. package/dist/{chunk-5NOCE5PC.mjs → chunk-LEEJPYVV.mjs} +1 -1
  30. package/dist/{chunk-XXTN5HMN.mjs → chunk-MGS3DQ22.mjs} +1 -1
  31. package/dist/{chunk-PDC45KCW.mjs → chunk-MSOWUU4F.mjs} +1 -1
  32. package/dist/{chunk-OJPHYSRN.mjs → chunk-NCHGLVBP.mjs} +1 -1
  33. package/dist/{chunk-OHCQJVFB.mjs → chunk-OD73JG7G.mjs} +1 -1
  34. package/dist/{chunk-GB6KVID5.mjs → chunk-OH22UHIS.mjs} +1 -1
  35. package/dist/{chunk-PIM2JQYT.mjs → chunk-OUKKI47A.mjs} +1 -1
  36. package/dist/{chunk-2SAIVBET.mjs → chunk-OVXCQ4OD.mjs} +1 -1
  37. package/dist/{chunk-D3YYAZOY.mjs → chunk-PKVCK4QY.mjs} +1 -1
  38. package/dist/{chunk-QMFZRG7O.mjs → chunk-PY53YVFX.mjs} +1 -1
  39. package/dist/{chunk-IO222G5L.mjs → chunk-SBAFXZVU.mjs} +1 -1
  40. package/dist/{chunk-I5RCZXFX.mjs → chunk-SYL22HOJ.mjs} +1 -1
  41. package/dist/{chunk-D44ZXHH4.mjs → chunk-T4I5D4XZ.mjs} +1 -1
  42. package/dist/{chunk-TZE7RZAV.mjs → chunk-V5N56VWG.mjs} +1 -1
  43. package/dist/{chunk-KLCZHZKQ.mjs → chunk-WRPTP2UD.mjs} +1 -1
  44. package/dist/{chunk-4TCLIMFP.mjs → chunk-Z7P4QOKT.mjs} +1 -1
  45. package/dist/{chunk-HER7J6HM.mjs → chunk-ZIWHUQ4D.mjs} +1 -1
  46. package/dist/{chunk-OYHKHCKZ.mjs → chunk-ZOHEYTN6.mjs} +1 -1
  47. package/dist/components/Blocks/Banner.js +1 -1
  48. package/dist/components/Blocks/Banner.mjs +1 -1
  49. package/dist/components/Blocks/CallToAction.js +1 -1
  50. package/dist/components/Blocks/CallToAction.mjs +1 -1
  51. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  52. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  53. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  54. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  55. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  56. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  57. package/dist/components/Blocks/Content.js +1 -1
  58. package/dist/components/Blocks/Content.mjs +1 -1
  59. package/dist/components/Blocks/Content.stories.js +1 -1
  60. package/dist/components/Blocks/Content.stories.mjs +1 -1
  61. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  62. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  63. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  64. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  65. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  66. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  67. package/dist/components/Blocks/RelatedPosts.js +1 -1
  68. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  69. package/dist/components/Blocks/RenderBlocks.js +1 -1
  70. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  71. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  72. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  73. package/dist/components/Blocks/index.js +1 -1
  74. package/dist/components/Blocks/index.mjs +1 -1
  75. package/dist/components/CRM/DealDetails.mjs +1 -1
  76. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  77. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  78. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  79. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  80. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  81. package/dist/components/CRM/NewDealForm.mjs +1 -1
  82. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  83. package/dist/components/CRM/index.mjs +1 -1
  84. package/dist/components/Cards/ContentCard.js +1 -1
  85. package/dist/components/Cards/ContentCard.mjs +1 -1
  86. package/dist/components/Cards/ContentCard.stories.js +1 -1
  87. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  88. package/dist/components/Cards/FeatureCard.js +1 -1
  89. package/dist/components/Cards/FeatureCard.mjs +1 -1
  90. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  91. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  92. package/dist/components/Cards/index.js +2 -2
  93. package/dist/components/Cards/index.mjs +1 -1
  94. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  95. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  96. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  97. package/dist/components/HeaderFooter/Header.mjs +1 -1
  98. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  99. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  100. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  101. package/dist/components/HeaderFooter/index.mjs +1 -1
  102. package/dist/components/Heros/HighImpact/index.js +1 -1
  103. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  104. package/dist/components/Heros/LowImpact/index.js +1 -1
  105. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  106. package/dist/components/Heros/MediumImpact/index.js +1 -1
  107. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  108. package/dist/components/Heros/PostHero/index.mjs +1 -1
  109. package/dist/components/Heros/RenderHero.js +1 -1
  110. package/dist/components/Heros/RenderHero.mjs +1 -1
  111. package/dist/components/Heros/index.js +1 -1
  112. package/dist/components/Heros/index.mjs +1 -1
  113. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  114. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  115. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  116. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  117. package/dist/components/Layouts/Print.js +2 -2
  118. package/dist/components/Layouts/Print.mjs +1 -1
  119. package/dist/components/Layouts/Print.stories.js +1 -1
  120. package/dist/components/Layouts/Print.stories.mjs +1 -1
  121. package/dist/components/Layouts/SlideShow.js +3 -3
  122. package/dist/components/Layouts/SlideShow.mjs +1 -1
  123. package/dist/components/Layouts/SlideShow.stories.js +3 -3
  124. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  125. package/dist/components/Layouts/index.js +3 -3
  126. package/dist/components/Layouts/index.mjs +1 -1
  127. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  128. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  129. package/dist/components/Menus/SidebarRight.mjs +1 -1
  130. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  131. package/dist/components/Menus/index.mjs +1 -1
  132. package/dist/components/Payload/Card/index.mjs +1 -1
  133. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  134. package/dist/components/Payload/Media/index.mjs +1 -1
  135. package/dist/components/Payload/RichText/index.js +1 -1
  136. package/dist/components/Payload/RichText/index.mjs +1 -1
  137. package/dist/components/Payload/RichText/serialize.js +1 -1
  138. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  139. package/dist/components/Payload/RichText.stories.js +1 -1
  140. package/dist/components/Payload/RichText.stories.mjs +1 -1
  141. package/dist/components/Payload/index.js +1 -1
  142. package/dist/components/Payload/index.mjs +1 -1
  143. package/dist/components/index.js +5 -5
  144. package/dist/components/index.mjs +1 -1
  145. package/dist/components/ui/index.mjs +1 -1
  146. package/dist/components/ui/sidebar.mjs +1 -1
  147. package/dist/globals.css +1 -1
  148. package/dist/hooks/index.mjs +1 -1
  149. package/dist/index.js +7 -7
  150. package/dist/index.mjs +1 -1
  151. package/dist/metafile-cjs.json +1 -1
  152. package/dist/metafile-esm.json +1 -1
  153. package/dist/pages/Blog.js +1 -1
  154. package/dist/pages/Blog.mjs +1 -1
  155. package/dist/pages/Blog.stories.js +1 -1
  156. package/dist/pages/Blog.stories.mjs +1 -1
  157. package/dist/pages/Documentation.mjs +1 -1
  158. package/dist/pages/Documentation.stories.mjs +1 -1
  159. package/dist/pages/IndexPage.mjs +1 -1
  160. package/dist/pages/IndexPage.stories.mjs +1 -1
  161. package/dist/pages/Intranet.mjs +1 -1
  162. package/dist/pages/Intranet.stories.mjs +1 -1
  163. package/dist/pages/LandingPage.js +2 -2
  164. package/dist/pages/LandingPage.mjs +1 -1
  165. package/dist/pages/LandingPage.stories.js +2 -2
  166. package/dist/pages/LandingPage.stories.mjs +1 -1
  167. package/dist/pages/Page.js +1 -1
  168. package/dist/pages/Page.mjs +1 -1
  169. package/dist/pages/Page.stories.js +20 -20
  170. package/dist/pages/Page.stories.mjs +1 -1
  171. package/dist/pages/Printable.stories.js +4 -4
  172. package/dist/pages/Printable.stories.mjs +1 -1
  173. package/dist/pages/Publish.js +1 -1
  174. package/dist/pages/Publish.mjs +1 -1
  175. package/dist/pages/Publish.stories.js +4 -4
  176. package/dist/pages/Publish.stories.mjs +1 -1
  177. package/dist/pages/Website.js +1 -1
  178. package/dist/pages/Website.mjs +1 -1
  179. package/dist/pages/Website.stories.js +1 -1
  180. package/dist/pages/Website.stories.mjs +1 -1
  181. package/dist/sections/AboutSection.js +1 -1
  182. package/dist/sections/AboutSection.mjs +1 -1
  183. package/dist/sections/AboutSection.stories.js +1 -1
  184. package/dist/sections/AboutSection.stories.mjs +1 -1
  185. package/dist/sections/BlogDetail.js +1 -1
  186. package/dist/sections/BlogDetail.mjs +1 -1
  187. package/dist/sections/BlogDetail.stories.js +1 -1
  188. package/dist/sections/BlogDetail.stories.mjs +1 -1
  189. package/dist/sections/BlogList.js +2 -2
  190. package/dist/sections/BlogList.mjs +1 -1
  191. package/dist/sections/BlogList.stories.js +2 -2
  192. package/dist/sections/BlogList.stories.mjs +1 -1
  193. package/dist/sections/BlogListSection.mjs +1 -1
  194. package/dist/sections/BlogListSection.stories.mjs +1 -1
  195. package/dist/sections/ContactSection.js +1 -1
  196. package/dist/sections/ContactSection.mjs +1 -1
  197. package/dist/sections/ContactSection.stories.js +1 -1
  198. package/dist/sections/ContactSection.stories.mjs +1 -1
  199. package/dist/sections/ImageSection.stories.js +1 -1
  200. package/dist/sections/ImageSection.stories.mjs +1 -1
  201. package/dist/sections/PageSections.js +3 -3
  202. package/dist/sections/PageSections.mjs +1 -1
  203. package/dist/sections/PageSections.stories.js +3 -3
  204. package/dist/sections/PageSections.stories.mjs +1 -1
  205. package/dist/sections/PricingSection.js +1 -1
  206. package/dist/sections/PricingSection.mjs +1 -1
  207. package/dist/sections/PricingSection.stories.js +1 -1
  208. package/dist/sections/PricingSection.stories.mjs +1 -1
  209. package/dist/sections/ServiceDetail.js +1 -1
  210. package/dist/sections/ServiceDetail.mjs +1 -1
  211. package/dist/sections/ServiceDetailSection.js +1 -1
  212. package/dist/sections/ServiceDetailSection.mjs +1 -1
  213. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  214. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  215. package/dist/sections/ServiceSection.js +1 -1
  216. package/dist/sections/ServiceSection.mjs +1 -1
  217. package/dist/sections/ServiceSection.stories.js +1 -1
  218. package/dist/sections/ServiceSection.stories.mjs +1 -1
  219. package/dist/sections/form/index.js +1 -1
  220. package/dist/sections/form/index.mjs +1 -1
  221. package/dist/sections/index.js +2 -2
  222. package/dist/sections/index.mjs +1 -1
  223. package/package.json +1 -1
  224. package/dist/chunk-4BFLJVX2.mjs +0 -1
  225. package/dist/chunk-65RRHBNH.mjs +0 -1
  226. package/dist/chunk-7F7S63JI.mjs +0 -4
  227. package/dist/chunk-CHZM24IX.mjs +0 -1
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var Kt=Object.create;var ce=Object.defineProperty;var Ot=Object.getOwnPropertyDescriptor;var Yt=Object.getOwnPropertyNames;var Qt=Object.getPrototypeOf,Vt=Object.prototype.hasOwnProperty;var _t=(e,t)=>{for(var r in t)ce(e,r,{get:t[r],enumerable:!0})},Ye=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Yt(t))!Vt.call(e,s)&&s!==r&&ce(e,s,{get:()=>t[s],enumerable:!(n=Ot(t,s))||n.enumerable});return e};var I=(e,t,r)=>(r=e!=null?Kt(Qt(e)):{},Ye(t||!e||!e.__esModule?ce(r,"default",{value:e,enumerable:!0}):r,e)),qt=e=>Ye(ce({},"__esModule",{value:!0}),e);var Ur={};_t(Ur,{BlogDetail:()=>Dr});module.exports=qt(Ur);var Qe="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var et=require("clsx");var Be="-",Jt=e=>{let t=Wt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let l=a.split(Be);return l[0]===""&&l.length!==1&&l.shift(),qe(l,t)||$t(a)},getConflictingClassGroupIds:(a,l)=>{let c=r[a]||[];return l&&n[a]?[...c,...n[a]]:c}}},qe=(e,t)=>{var a;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?qe(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Be);return(a=t.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId},Ve=/^\[(.+)\]$/,$t=e=>{if(Ve.test(e)){let t=Ve.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Wt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Zt(Object.entries(e.classGroups),r).forEach(([o,a])=>{Pe(a,n,o,t)}),n},Pe=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:_e(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Xt(s)){Pe(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,a])=>{Pe(a,_e(t,o),r,n)})})},_e=(e,t)=>{let r=e;return t.split(Be).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Xt=e=>e.isThemeGetter,Zt=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[t+a,l])):o);return[r,s]}):e,er=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,a)=>{r.set(o,a),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let a=r.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return s(o,a),a},set(o,a){r.has(o)?r.set(o,a):s(o,a)}}},Je="!",tr=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,a=l=>{let c=[],p=0,f=0,C;for(let w=0;w<l.length;w++){let A=l[w];if(p===0){if(A===s&&(n||l.slice(w,w+o)===t)){c.push(l.slice(f,w)),f=w+o;continue}if(A==="/"){C=w;continue}}A==="["?p++:A==="]"&&p--}let x=c.length===0?l:l.substring(f),k=x.startsWith(Je),N=k?x.substring(1):x,y=C&&C>f?C-f:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:y}};return r?l=>r({className:l,parseClassName:a}):a},rr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},or=e=>({cache:er(e.cacheSize),parseClassName:tr(e),...Jt(e)}),ar=/\s+/,nr=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],a=e.trim().split(ar),l="";for(let c=a.length-1;c>=0;c-=1){let p=a[c],{modifiers:f,hasImportantModifier:C,baseClassName:x,maybePostfixModifierPosition:k}=r(p),N=!!k,y=n(N?x.substring(0,k):x);if(!y){if(!N){l=p+(l.length>0?" "+l:l);continue}if(y=n(x),!y){l=p+(l.length>0?" "+l:l);continue}N=!1}let w=rr(f).join(":"),A=C?w+Je:w,P=A+y;if(o.includes(P))continue;o.push(P);let U=s(y,N);for(let R=0;R<U.length;++R){let se=U[R];o.push(A+se)}l=p+(l.length>0?" "+l:l)}return l};function sr(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=$e(t))&&(n&&(n+=" "),n+=r);return n}var $e=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=$e(e[n]))&&(r&&(r+=" "),r+=t);return r};function lr(e,...t){let r,n,s,o=a;function a(c){let p=t.reduce((f,C)=>C(f),e());return r=or(p),n=r.cache.get,s=r.cache.set,o=l,l(c)}function l(c){let p=n(c);if(p)return p;let f=nr(c,r);return s(c,f),f}return function(){return o(sr.apply(null,arguments))}}var h=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},We=/^\[(?:([a-z-]+):)?(.+)\]$/i,ir=/^\d+\/\d+$/,cr=new Set(["px","full","screen"]),dr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|rt|min|max))|\rt(calc|min|max|clamp)\(.+\)|^0$/,mr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ur=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)rt-?((\d+)?\.?(\d+)[a-z]+|0)/,fr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>Q(e)||cr.has(e)||ir.test(e),H=e=>V(e,"length",wr),Q=e=>!!e&&!Number.isNaN(Number(e)),Ne=e=>V(e,"number",Q),Z=e=>!!e&&Number.isInteger(Number(e)),gr=e=>e.endsWith("%")&&Q(e.slice(0,-1)),d=e=>We.test(e),G=e=>dr.test(e),br=new Set(["length","size","percentage"]),yr=e=>V(e,br,Xe),hr=e=>V(e,"position",Xe),xr=new Set(["image","url"]),vr=e=>V(e,xr,kr),Cr=e=>V(e,"",Ar),ee=()=>!0,V=(e,t,r)=>{let n=We.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},wr=e=>pr.test(e)&&!mr.test(e),Xe=()=>!1,Ar=e=>ur.test(e),kr=e=>fr.test(e);var Nr=()=>{let e=h("colors"),t=h("spacing"),r=h("blur"),n=h("brightness"),s=h("borderColor"),o=h("borderRadius"),a=h("borderSpacing"),l=h("borderWidth"),c=h("contrast"),p=h("grayscale"),f=h("hueRotate"),C=h("invert"),x=h("gap"),k=h("gradientColorStops"),N=h("gradientColorStopPositions"),y=h("inset"),w=h("margin"),A=h("opacity"),P=h("padding"),U=h("saturate"),R=h("scale"),se=h("sepia"),De=h("skew"),Ue=h("space"),He=h("translate"),Ce=()=>["auto","contain","none"],we=()=>["auto","hidden","clip","visible","scroll"],Ae=()=>["auto",d,t],v=()=>[d,t],Ge=()=>["",F,H],le=()=>["auto",Q,d],je=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ie=()=>["solid","dashed","dotted","double","none"],Ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ke=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",d],Oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>[Q,d];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[F,H],blur:["none","",G,d],brightness:E(),borderColor:[e],borderRadius:["none","","full",G,d],borderSpacing:v(),borderWidth:Ge(),contrast:E(),grayscale:X(),hueRotate:E(),invert:X(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[gr,H],inset:Ae(),margin:Ae(),opacity:E(),padding:v(),saturate:E(),scale:E(),sepia:X(),skew:E(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":Oe()}],"break-before":[{"break-before":Oe()}],"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:[...je(),d]}],overflow:[{overflow:we()}],"overflow-x":[{"overflow-x":we()}],"overflow-y":[{"overflow-y":we()}],overscroll:[{overscroll:Ce()}],"overscroll-x":[{"overscroll-x":Ce()}],"overscroll-y":[{"overscroll-y":Ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Z,d]}],basis:[{basis:Ae()}],"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:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",Z,d]}],"grid-cols":[{"grid-cols":[ee]}],"col-start-end":[{col:["auto",{span:["full",Z,d]},d]}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":[ee]}],"row-start-end":[{row:["auto",{span:[Z,d]},d]}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"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",...ke()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ke(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ke(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],rt:[{rt:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Ue]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ue]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],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",G,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ne]}],"font-family":[{font:[ee]}],"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,Ne]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,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":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ie(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,H]}],"underline-offset":[{"underline-offset":["auto",F,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:v()}],"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":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...je(),hr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","rt","bl","l","tl"]},vr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-rt":[{"rounded-rt":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-rt":[{"border-rt":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...ie(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:ie()}],"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-rt":[{"border-rt":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ie()]}],"outline-offset":[{"outline-offset":[F,d]}],"outline-w":[{outline:[F,H]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ge()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[F,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,Cr]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ke()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",G,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[C]}],saturate:[{saturate:[U]}],sepia:[{sepia:[se]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"backdrop-sepia":[{"backdrop-sepia":[se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:E()}],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:[Z,d]}],"translate-x":[{"translate-x":[He]}],"translate-y":[{"translate-y":[He]}],"skew-x":[{"skew-x":[De]}],"skew-y":[{"skew-y":[De]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-rt":[{"scroll-rt":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[F,H,Ne]}],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"],rt:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-rt","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-rt":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-rt","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-rt"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-rt","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-rt"],"scroll-rt":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ze=lr(Nr);function i(...e){return Ze((0,et.clsx)(e))}var rt=require("react/jsx-runtime");function tt({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let s=i("container",t&&"full-width",r&&"no-padding",n);return(0,rt.jsx)("div",{className:s,children:e})}var ot=I(require("next/link"));function at({children:e,href:t,openNewTab:r,...n}){return(0,rt.jsx)(ot.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var Ht=I(require("next/image"));var st=({className:e,content:t,style:r})=>(0,rt.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,rt.jsx)("div",{className:i("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,rt.jsx)(S,{content:t,enableGutter:!1,enableProse:!1})})});var bt=require("react");var lt=require("@radix-ui/react-slot"),it=require("class-variance-authority"),ct=I(require("react")),Pr=(0,it.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),z=ct.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,rt.jsx)(e?lt.Slot:"button",{className:i(Pr({className:t,size:r,variant:n})),ref:o,...s}));z.displayName="Button";var Te=I(require("next/link")),re=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:a,reference:l,size:c,url:p}=e,f=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:p;if(!f)return null;let C=r==="link"?"clear":c,x=a?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,rt.jsxs)(Te.default,{className:i(s),href:f||p||"",...x,children:[o&&o,n&&n]}):(0,rt.jsx)(z,{asChild:!0,className:s,size:C,variant:r,children:(0,rt.jsxs)(Te.default,{className:i(s),href:f||p||"",...x,children:[o&&o,n&&n]})})};function pe({className:e}){return i("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Br({className:e,...t}){return(0,rt.jsx)("input",{...t,className:pe({className:e})})}function me({icon:e,...t}){return(0,rt.jsxs)("div",{className:"relative w-full",children:[(0,rt.jsx)(Br,{...t}),e&&(0,rt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function Tr({className:e,...t}){return(0,rt.jsx)("textarea",{...t,className:i(pe({}),"resize-none md:min-h-[130px]",e)})}function pt({icon:e,...t}){return(0,rt.jsxs)("div",{className:"relative w-full",children:[(0,rt.jsx)(Tr,{...t}),e&&(0,rt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var ut=require("formik"),ft=require("react-icons/fa6"),j=I(require("yup"));async function mt(e){let{name:t,email:r,subject:n,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let a={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:`${n}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let l=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Re=require("sonner"),T={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Rr=j.object().shape({name:j.string().min(2,T.tooShort).max(50,T.tooLong).required(T.required),email:j.string().email(T.email).required(T.required),subject:j.string().min(2,T.tooShort).max(50,T.tooLong).required(T.required),message:j.string().min(2,T.tooShort).max(300,T.tooLong).required(T.required)}),ue=i("!pr-[44px] text-foreground"),fe=i("!border-red-600 border"),ge=i("sr-only");function gt(){return(0,rt.jsx)(ut.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Rr,onSubmit:async(e,{resetForm:t})=>{let r=await mt(e);r.data===null?Re.toast.error(r.message):(Re.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:n,handleBlur:s,isSubmitting:o,handleSubmit:a})=>(0,rt.jsxs)("form",{onSubmit:a,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,rt.jsxs)("div",{children:[(0,rt.jsx)(me,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:n,onBlur:s,disabled:o,icon:(0,rt.jsx)(ft.FaUser,{className:"text-primary"}),className:i(ue,e.name&&t.name&&fe)}),e.name&&t.name&&(0,rt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ge,children:e.name})]}),(0,rt.jsxs)("div",{children:[(0,rt.jsx)(me,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:n,onBlur:s,disabled:o,icon:(0,rt.jsx)(Ir,{}),className:i(ue,e.email&&t.email&&fe)}),e.email&&t.email&&(0,rt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ge,children:e.email})]}),(0,rt.jsxs)("div",{className:"lg:col-span-2",children:[(0,rt.jsx)(me,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:n,onBlur:s,disabled:o,className:i(ue,e.subject&&t.subject&&fe)}),e.subject&&t.subject&&(0,rt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ge,children:e.subject})]}),(0,rt.jsxs)("div",{className:"lg:col-span-2",children:[(0,rt.jsx)(pt,{placeholder:"Write Message...",name:"message",value:r.message,onChange:n,onBlur:s,disabled:o,icon:(0,rt.jsx)(Sr,{}),className:i(ue,e.message&&t.message&&fe)}),e.message&&t.message&&(0,rt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ge,children:e.message})]}),(0,rt.jsx)("div",{className:"lg:col-span-2 light",children:(0,rt.jsx)(z,{type:"submit",className:"w-full outline rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:(0,rt.jsx)("span",{children:"Send"})})})]})})}function Ir(){return(0,rt.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,rt.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 Sr(){return(0,rt.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,rt.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 yt=({links:e,richText:t})=>{let[r,n]=(0,bt.useState)(!1),s="accent",o=()=>n(!0),a=()=>n(!1),l=c=>{c.target===c.currentTarget&&a()};return(0,rt.jsxs)("div",{className:i("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,rt.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,rt.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,rt.jsx)(S,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,rt.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,rt.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>(c==null?void 0:c.url)==="/contact"?(0,rt.jsx)("div",{onClick:o,className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,rt.jsx)(re,{size:"lg",className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),r&&(0,rt.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:(0,rt.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[(0,rt.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:a,children:"\u2715"}),(0,rt.jsx)(gt,{})," "]})})]})};var be=require("prism-react-renderer");var ht=require("lucide-react");function vt({code:e}){let[t,r]=(0,bt.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,rt.jsx)("div",{className:"flex justify-end align-middle",children:(0,rt.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,rt.jsx)("p",{children:t}),(0,rt.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,rt.jsx)(ht.ClipboardCopy,{})})]})})}var Ct=({code:e,language:t=""})=>e?(0,rt.jsx)(be.Highlight,{code:e,language:t,theme:be.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,rt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,a)=>(0,rt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,rt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,rt.jsx)("span",{className:"table-cell pl-4",children:o.map((l,c)=>(0,rt.jsx)("span",{...n({token:l})},c))})]},a)),(0,rt.jsx)(vt,{code:e})]})}):null;var wt=({className:e,code:t,language:r})=>(0,rt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,rt.jsx)(Ct,{code:t,language:r})});var kt=I(require("next/image")),Mr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},At="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=",Nt=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:a,src:l,loading:c}=e,p,f,C=t,x=l||"";if(!x&&o&&typeof o=="object"){let{alt:y,filename:w,height:A,url:P,width:U}=o;if(A&&A>500){let R=500/A;p=U*R,f=A*R}else p=U,f=A;C=y||"",x=P||At}let k=c||"lazy",N=a||Object.entries(Mr).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,rt.jsx)("picture",{children:(0,rt.jsx)(kt.default,{alt:C||"",className:i(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:At,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:N,src:x,width:r?void 0:p})})};var Pt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Bt=()=>{if(Pt){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 Tt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,bt.useRef)(null);if((0,bt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,rt.jsx)("video",{autoPlay:!0,className:i(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,rt.jsx)("source",{src:`${Bt()}/media/${o}`})})}return null};var xe=e=>{var a;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,rt.jsx)(r||bt.Fragment,{...r!==null?{className:t}:{},children:s?(0,rt.jsx)(Tt,{...e}):(0,rt.jsx)(Nt,{...e})})};var It=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,rt.jsx)("div",{className:i("h-full ",{container:r},t),children:(0,rt.jsx)(xe,{imgClassName:i("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var St=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,rt.jsx)("div",{className:i("",{container:r},t),children:(0,rt.jsx)(xe,{imgClassName:i("rounded-[0.8rem]",n),resource:s,src:o})})};var Fe=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,a=n!=null?n:"",l=s+o+" fa-"+r+" "+a;return(0,rt.jsx)("i",{className:l})};var Et=I(require("next/image"));function Lt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ze({image:e,icon:t,title:r,subtitle:n,content:s,statistic:o,settings:a,link:l,className:c}){var C,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"},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,rt.jsxs)("div",{className:i("min-w-56 max-w-xl h-full flex flex-col group",e?"p-0 pb-4":"p-8",a&&!e&&p[(a==null?void 0:a.card)==="default"?"solid":a==null?void 0:a.card],e&&"bg-foreground",a&&(a==null?void 0:a.card)==="outline"?"text-gray-900":"text-white",f[(C=a==null?void 0:a.width)!=null?C:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,c),children:[e&&(0,rt.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:(0,rt.jsx)(Et.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,rt.jsxs)("div",{className:i(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:[n&&(0,rt.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,rt.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,rt.jsx)(Lr,{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:(a==null?void 0:a.card)==="default"?"solid":(x=a==null?void 0:a.card)!=null?x:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,rt.jsx)("div",{className:"mb-6",children:(0,rt.jsx)("div",{className:i("text-4xl text-wrap font-bold leading-none overflow-hidden",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"text-brand-green":"text-white"),children:o})}),s&&typeof s=="object"&&(0,rt.jsx)(S,{enableGutter:!1,content:s,enableProse:!1,className:i("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.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,rt.jsx)("div",{className:i("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s}),l&&l.url&&(0,rt.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,rt.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:l.url||"#",children:(l==null?void 0:l.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,rt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 h-2/3 blur-3xl rounded-full",style:{background:"radial-gradient(circle, rgba(164,35,104,0.3) 0%, rgba(74,16,48,0) 70%)"}})]})]})}var Lr=({icon:e,heading:t,variant:r,iconSize:n,subtitle:s})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,rt.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,rt.jsx)("div",{className:i(r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),Lt(e)&&(0,rt.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:(0,rt.jsx)(Fe,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,rt.jsxs)("div",{className:"flex flex-col gap-4",children:[Lt(e)&&(0,rt.jsx)("div",{className:i("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,rt.jsx)(Fe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,rt.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,rt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,rt.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var O=I(require("react"));var J=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("rounded-xl border bg-card text-card-foreground shadow",e),...t}));J.displayName="Card";var oe=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("flex flex-col space-y-1.5 p-6",e),...t}));oe.displayName="CardHeader";var ae=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("font-semibold leading-none tracking-tight",e),...t}));ae.displayName="CardTitle";var Er=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("text-sm text-muted-foreground",e),...t}));Er.displayName="CardDescription";var $=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("p-6 pt-0",e),...t}));$.displayName="CardContent";var Fr=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("flex items-center p-6 pt-0",e),...t}));Fr.displayName="CardFooter";var Ft=({title:e,description:t,features:r,id:n,nested:s=!1})=>(0,rt.jsxs)("section",{className:i(s?"w-full":"container",""),children:[(0,rt.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,rt.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,rt.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,rt.jsx)("div",{className:"mb-5 text-foreground",children:(0,rt.jsx)(S,{content:t,enableGutter:!1})})]}),(0,rt.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,a)=>{var c;let l=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,rt.jsx)(ze,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:a},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=l())!=null?c:{type:"none",icon:null}},a)})})]});var ve=I(require("react"));function ne({nodes:e}){return(0,rt.jsx)(ve.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,rt.jsx)(ve.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,rt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,rt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,rt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,rt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,rt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,rt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,rt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,rt.jsx)("table",{children:(0,rt.jsx)("tbody",{children:t.children.map((o,a)=>(0,rt.jsx)("tr",{children:o.children.map((l,c)=>(0,rt.jsx)("td",{children:ne({nodes:l.children})},c))},a))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let a of o.children)"checked"in a&&(a!=null&&a.checked||(a.checked=!1));return ne({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,rt.jsx)(yt,{...o},r);case"mediaBlock":return(0,rt.jsx)(It,{className:"col-start-1 col-span-3",imgClassName:"rt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,rt.jsx)(St,{className:"col-start-1 col-span-3",imgClassName:"rt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,rt.jsx)(st,{className:"col-start-2 mb-4",...o},r);case"code":return(0,rt.jsx)(wt,{className:"col-start-2",...o},r);case"features":return(0,rt.jsx)(Ft,{...o,nested:!0},r);case"reusableContentBlock":ne({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,rt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,rt.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,rt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,rt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,rt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,rt.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,rt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,rt.jsx)(re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,rt.jsx)(re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var S=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,rt.jsx)("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ne({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var Gt=require("next/navigation");var Ha=i("transition-colors duration-400 hover:text-primary ease-in-out");function Ut({title:e,links:t}){let r=(0,Gt.useSearchParams)(),n=(0,Gt.usePathname)(),{replace:s}=(0,Gt.useRouter)();function o(a){let l=new URLSearchParams(r);a?l.set("category",a):l.delete("category"),s(`${n}?${l.toString()}`)}return(0,rt.jsxs)(J,{children:[(0,rt.jsx)(oe,{children:(0,rt.jsx)(ae,{className:"text-accent",children:e&&e})}),(0,rt.jsx)($,{children:t&&t.length>0&&(0,rt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,rt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((a,l)=>(0,rt.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(a.href)},children:[a.label,(0,rt.jsx)(ht.ExternalLink,{className:"ml-1 h-3 w-3"})]},l))})})})]})}var jt=I(require("next/link"));function zr({image:e,name:t,about:r,socialLinks:n}){return!e||!e.src||e.src.length<3||!t?null:(0,rt.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,rt.jsx)(J,{children:(0,rt.jsxs)($,{children:[e&&e.src&&(0,rt.jsx)(Ht.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Qe,className:"mx-auto mt-6 rounded-full object-cover"}),(0,rt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,rt.jsx)("p",{children:r}),n&&n.length>0&&(0,rt.jsx)("nav",{"aria-label":"social links",children:(0,rt.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((s,o)=>(0,rt.jsx)("li",{children:(0,rt.jsx)(at,{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,rt.jsx)("span",{children:s.icon})})},o))})})]})})})}function Dr({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var x;if(!e)return(0,Gt.notFound)();let{meta:s,populatedAuthors:o,authors:a,categories:l,content:c,title:p}=e,f={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:l,commentCount:0,title:p,description:(s==null?void 0:s.description)||""},C=a==null?void 0:a.map(k=>{var N,y;return{name:k.name||"",about:"",image:{src:k.profilePicture&&((y=(N=k.profilePicture.sizes)==null?void 0:N.square)==null?void 0:y.url)||"",alt:k.name||"blog author"},socialLinks:[]}});return(0,rt.jsx)(tt,{children:(0,rt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,rt.jsx)("div",{children:(0,rt.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,rt.jsx)("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),(0,rt.jsx)(S,{content:c,enableGutter:!1})]})}),(0,rt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,rt.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,rt.jsxs)(J,{children:[(0,rt.jsx)(oe,{children:(0,rt.jsx)(ae,{className:"text-accent",children:"Content Actions"})}),(0,rt.jsxs)($,{children:[(0,rt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,rt.jsx)(jt.default,{href:`${n}${e.id}`,children:(0,rt.jsx)(z,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),C&&C.map((k,N)=>(0,rt.jsx)(zr,{...k},N)),t&&t.links&&(0,rt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,rt.jsx)(Ut,{links:t.links,title:t.title})})]})]})})}0&&(module.exports={BlogDetail});
5
+ "use strict";var Kt=Object.create;var ce=Object.defineProperty;var Ot=Object.getOwnPropertyDescriptor;var Yt=Object.getOwnPropertyNames;var Qt=Object.getPrototypeOf,Vt=Object.prototype.hasOwnProperty;var _t=(e,t)=>{for(var r in t)ce(e,r,{get:t[r],enumerable:!0})},Ye=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Yt(t))!Vt.call(e,s)&&s!==r&&ce(e,s,{get:()=>t[s],enumerable:!(n=Ot(t,s))||n.enumerable});return e};var I=(e,t,r)=>(r=e!=null?Kt(Qt(e)):{},Ye(t||!e||!e.__esModule?ce(r,"default",{value:e,enumerable:!0}):r,e)),qt=e=>Ye(ce({},"__esModule",{value:!0}),e);var Ur={};_t(Ur,{BlogDetail:()=>Dr});module.exports=qt(Ur);var Qe="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var et=require("clsx");var Be="-",Jt=e=>{let t=Xt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let l=a.split(Be);return l[0]===""&&l.length!==1&&l.shift(),qe(l,t)||$t(a)},getConflictingClassGroupIds:(a,l)=>{let c=r[a]||[];return l&&n[a]?[...c,...n[a]]:c}}},qe=(e,t)=>{var a;if(e.length===0)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),s=n?qe(e.slice(1),n):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(Be);return(a=t.validators.find(({validator:l})=>l(o)))==null?void 0:a.classGroupId},Ve=/^\[(.+)\]$/,$t=e=>{if(Ve.test(e)){let t=Ve.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Xt=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return Zt(Object.entries(e.classGroups),r).forEach(([o,a])=>{Pe(a,n,o,t)}),n},Pe=(e,t,r,n)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:_e(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Wt(s)){Pe(s(n),t,r,n);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,a])=>{Pe(a,_e(t,o),r,n)})})},_e=(e,t)=>{let r=e;return t.split(Be).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Wt=e=>e.isThemeGetter,Zt=(e,t)=>t?e.map(([r,n])=>{let s=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,l])=>[t+a,l])):o);return[r,s]}):e,er=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map,s=(o,a)=>{r.set(o,a),t++,t>e&&(t=0,n=r,r=new Map)};return{get(o){let a=r.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return s(o,a),a},set(o,a){r.has(o)?r.set(o,a):s(o,a)}}},Je="!",tr=e=>{let{separator:t,experimentalParseClassName:r}=e,n=t.length===1,s=t[0],o=t.length,a=l=>{let c=[],p=0,f=0,C;for(let w=0;w<l.length;w++){let A=l[w];if(p===0){if(A===s&&(n||l.slice(w,w+o)===t)){c.push(l.slice(f,w)),f=w+o;continue}if(A==="/"){C=w;continue}}A==="["?p++:A==="]"&&p--}let x=c.length===0?l:l.substring(f),k=x.startsWith(Je),N=k?x.substring(1):x,b=C&&C>f?C-f:void 0;return{modifiers:c,hasImportantModifier:k,baseClassName:N,maybePostfixModifierPosition:b}};return r?l=>r({className:l,parseClassName:a}):a},rr=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t},or=e=>({cache:er(e.cacheSize),parseClassName:tr(e),...Jt(e)}),ar=/\s+/,nr=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:s}=t,o=[],a=e.trim().split(ar),l="";for(let c=a.length-1;c>=0;c-=1){let p=a[c],{modifiers:f,hasImportantModifier:C,baseClassName:x,maybePostfixModifierPosition:k}=r(p),N=!!k,b=n(N?x.substring(0,k):x);if(!b){if(!N){l=p+(l.length>0?" "+l:l);continue}if(b=n(x),!b){l=p+(l.length>0?" "+l:l);continue}N=!1}let w=rr(f).join(":"),A=C?w+Je:w,P=A+b;if(o.includes(P))continue;o.push(P);let U=s(b,N);for(let R=0;R<U.length;++R){let se=U[R];o.push(A+se)}l=p+(l.length>0?" "+l:l)}return l};function sr(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=$e(t))&&(n&&(n+=" "),n+=r);return n}var $e=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=$e(e[n]))&&(r&&(r+=" "),r+=t);return r};function lr(e,...t){let r,n,s,o=a;function a(c){let p=t.reduce((f,C)=>C(f),e());return r=or(p),n=r.cache.get,s=r.cache.set,o=l,l(c)}function l(c){let p=n(c);if(p)return p;let f=nr(c,r);return s(c,f),f}return function(){return o(sr.apply(null,arguments))}}var y=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Xe=/^\[(?:([a-z-]+):)?(.+)\]$/i,ir=/^\d+\/\d+$/,cr=new Set(["px","full","screen"]),dr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|rt|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,mr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ur=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)rt-?((\d+)?\.?(\d+)[a-z]+|0)/,fr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>Q(e)||cr.has(e)||ir.test(e),H=e=>V(e,"length",wr),Q=e=>!!e&&!Number.isNaN(Number(e)),Ne=e=>V(e,"number",Q),Z=e=>!!e&&Number.isInteger(Number(e)),gr=e=>e.endsWith("%")&&Q(e.slice(0,-1)),d=e=>Xe.test(e),G=e=>dr.test(e),br=new Set(["length","size","percentage"]),yr=e=>V(e,br,We),hr=e=>V(e,"position",We),xr=new Set(["image","url"]),vr=e=>V(e,xr,kr),Cr=e=>V(e,"",Ar),ee=()=>!0,V=(e,t,r)=>{let n=Xe.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},wr=e=>pr.test(e)&&!mr.test(e),We=()=>!1,Ar=e=>ur.test(e),kr=e=>fr.test(e);var Nr=()=>{let e=y("colors"),t=y("spacing"),r=y("blur"),n=y("brightness"),s=y("borderColor"),o=y("borderRadius"),a=y("borderSpacing"),l=y("borderWidth"),c=y("contrast"),p=y("grayscale"),f=y("hueRotate"),C=y("invert"),x=y("gap"),k=y("gradientColorStops"),N=y("gradientColorStopPositions"),b=y("inset"),w=y("margin"),A=y("opacity"),P=y("padding"),U=y("saturate"),R=y("scale"),se=y("sepia"),De=y("skew"),Ue=y("space"),He=y("translate"),Ce=()=>["auto","contain","none"],we=()=>["auto","hidden","clip","visible","scroll"],Ae=()=>["auto",d,t],v=()=>[d,t],Ge=()=>["",F,H],le=()=>["auto",Q,d],je=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ie=()=>["solid","dashed","dotted","double","none"],Ke=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ke=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",d],Oe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>[Q,d];return{cacheSize:500,separator:":",theme:{colors:[ee],spacing:[F,H],blur:["none","",G,d],brightness:E(),borderColor:[e],borderRadius:["none","","full",G,d],borderSpacing:v(),borderWidth:Ge(),contrast:E(),grayscale:W(),hueRotate:E(),invert:W(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[gr,H],inset:Ae(),margin:Ae(),opacity:E(),padding:v(),saturate:E(),scale:E(),sepia:W(),skew:E(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[G]}],"break-after":[{"break-after":Oe()}],"break-before":[{"break-before":Oe()}],"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:[...je(),d]}],overflow:[{overflow:we()}],"overflow-x":[{"overflow-x":we()}],"overflow-y":[{"overflow-y":we()}],overscroll:[{overscroll:Ce()}],"overscroll-x":[{"overscroll-x":Ce()}],"overscroll-y":[{"overscroll-y":Ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Z,d]}],basis:[{basis:Ae()}],"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:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",Z,d]}],"grid-cols":[{"grid-cols":[ee]}],"col-start-end":[{col:["auto",{span:["full",Z,d]},d]}],"col-start":[{"col-start":le()}],"col-end":[{"col-end":le()}],"grid-rows":[{"grid-rows":[ee]}],"row-start-end":[{row:["auto",{span:[Z,d]},d]}],"row-start":[{"row-start":le()}],"row-end":[{"row-end":le()}],"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",...ke()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ke(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ke(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],rt:[{rt:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[Ue]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Ue]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-w":[{"min-w":[d,t,"min","max","fit"]}],"max-w":[{"max-w":[d,t,"none","full","min","max","fit","prose",{screen:[G]},G]}],rt:[{rt:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-rt":[{"min-rt":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-rt":[{"max-rt":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",G,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ne]}],"font-family":[{font:[ee]}],"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,Ne]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",F,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":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ie(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",F,H]}],"underline-offset":[{"underline-offset":["auto",F,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:v()}],"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":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...je(),hr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},vr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[N]}],"gradient-via-pos":[{via:[N]}],"gradient-to-pos":[{to:[N]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...ie(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:ie()}],"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-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...ie()]}],"outline-offset":[{"outline-offset":[F,d]}],"outline-w":[{outline:[F,H]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Ge()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[F,H]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",G,Cr]}],"shadow-color":[{shadow:[ee]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Ke(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ke()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",G,d]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[C]}],saturate:[{saturate:[U]}],sepia:[{sepia:[se]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[U]}],"backdrop-sepia":[{"backdrop-sepia":[se]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:E()}],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:[Z,d]}],"translate-x":[{"translate-x":[He]}],"translate-y":[{"translate-y":[He]}],"skew-x":[{"skew-x":[De]}],"skew-y":[{"skew-y":[De]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-rt":[{"scroll-rt":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[F,H,Ne]}],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"],rt:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","rt"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-rt":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ze=lr(Nr);function i(...e){return Ze((0,et.clsx)(e))}var rt=require("react/jsx-runtime");function tt({children:e,isFluid:t=!1,isNoPadding:r=!1,className:n=""}){let s=i("container",t&&"full-width",r&&"no-padding",n);return(0,rt.jsx)("div",{className:s,children:e})}var ot=I(require("next/link"));function at({children:e,href:t,openNewTab:r,...n}){return(0,rt.jsx)(ot.default,{href:t,target:r?"_blank":"_self",...n,children:e})}var Ht=I(require("next/image"));var st=({className:e,content:t,style:r})=>(0,rt.jsx)("div",{className:i("mx-auto my-8 w-full",e),children:(0,rt.jsx)("div",{className:i("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,rt.jsx)(S,{content:t,enableGutter:!1,enableProse:!1})})});var bt=require("react");var lt=require("@radix-ui/react-slot"),it=require("class-variance-authority"),ct=I(require("react")),Pr=(0,it.cva)("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"rt-10 px-4 py-2",icon:"rt-10 w-10",lg:"rt-11 rounded px-8",sm:"rt-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),z=ct.forwardRef(({asChild:e=!1,className:t,size:r,variant:n,...s},o)=>(0,rt.jsx)(e?lt.Slot:"button",{className:i(Pr({className:t,size:r,variant:n})),ref:o,...s}));z.displayName="Button";var Te=I(require("next/link")),re=e=>{let{type:t,appearance:r="inline",children:n,className:s,label:o,newTab:a,reference:l,size:c,url:p}=e,f=t==="reference"&&typeof(l==null?void 0:l.value)=="object"&&l.value.slug?`${(l==null?void 0:l.relationTo)!=="pages"?`/${l==null?void 0:l.relationTo}`:""}/${l.value.slug}`:p;if(!f)return null;let C=r==="link"?"clear":c,x=a?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,rt.jsxs)(Te.default,{className:i(s),href:f||p||"",...x,children:[o&&o,n&&n]}):(0,rt.jsx)(z,{asChild:!0,className:s,size:C,variant:r,children:(0,rt.jsxs)(Te.default,{className:i(s),href:f||p||"",...x,children:[o&&o,n&&n]})})};function pe({className:e}){return i("flex items-center min-rt-[3.5rem] md:min-rt-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function Br({className:e,...t}){return(0,rt.jsx)("input",{...t,className:pe({className:e})})}function me({icon:e,...t}){return(0,rt.jsxs)("div",{className:"relative w-full",children:[(0,rt.jsx)(Br,{...t}),e&&(0,rt.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function Tr({className:e,...t}){return(0,rt.jsx)("textarea",{...t,className:i(pe({}),"resize-none md:min-rt-[130px]",e)})}function pt({icon:e,...t}){return(0,rt.jsxs)("div",{className:"relative w-full",children:[(0,rt.jsx)(Tr,{...t}),e&&(0,rt.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var ut=require("formik"),ft=require("react-icons/fa6"),j=I(require("yup"));async function mt(e){let{name:t,email:r,subject:n,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let a={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:`${n}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let l=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!l.ok)throw console.error(l),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(l){return console.error(l),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Re=require("sonner"),T={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Rr=j.object().shape({name:j.string().min(2,T.tooShort).max(50,T.tooLong).required(T.required),email:j.string().email(T.email).required(T.required),subject:j.string().min(2,T.tooShort).max(50,T.tooLong).required(T.required),message:j.string().min(2,T.tooShort).max(300,T.tooLong).required(T.required)}),ue=i("!pr-[44px] text-foreground"),fe=i("!border-red-600 border"),ge=i("sr-only");function gt(){return(0,rt.jsx)(ut.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Rr,onSubmit:async(e,{resetForm:t})=>{let r=await mt(e);r.data===null?Re.toast.error(r.message):(Re.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:n,handleBlur:s,isSubmitting:o,handleSubmit:a})=>(0,rt.jsxs)("form",{onSubmit:a,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,rt.jsxs)("div",{children:[(0,rt.jsx)(me,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:n,onBlur:s,disabled:o,icon:(0,rt.jsx)(ft.FaUser,{className:"text-primary"}),className:i(ue,e.name&&t.name&&fe)}),e.name&&t.name&&(0,rt.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ge,children:e.name})]}),(0,rt.jsxs)("div",{children:[(0,rt.jsx)(me,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:n,onBlur:s,disabled:o,icon:(0,rt.jsx)(Ir,{}),className:i(ue,e.email&&t.email&&fe)}),e.email&&t.email&&(0,rt.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ge,children:e.email})]}),(0,rt.jsxs)("div",{className:"lg:col-span-2",children:[(0,rt.jsx)(me,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:n,onBlur:s,disabled:o,className:i(ue,e.subject&&t.subject&&fe)}),e.subject&&t.subject&&(0,rt.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ge,children:e.subject})]}),(0,rt.jsxs)("div",{className:"lg:col-span-2",children:[(0,rt.jsx)(pt,{placeholder:"Message...",name:"message",value:r.message,onChange:n,onBlur:s,disabled:o,icon:(0,rt.jsx)(Sr,{}),className:i(ue,e.message&&t.message&&fe)}),e.message&&t.message&&(0,rt.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ge,children:e.message})]}),(0,rt.jsx)("div",{className:"lg:col-span-2 light grid justify-items-center",children:(0,rt.jsx)(z,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:o,children:"Send"})})]})})}function Ir(){return(0,rt.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,rt.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 Sr(){return(0,rt.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,rt.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 yt=({links:e,richText:t})=>{let[r,n]=(0,bt.useState)(!1),s="accent",o=()=>n(!0),a=()=>n(!1),l=c=>{c.target===c.currentTarget&&a()};return(0,rt.jsxs)("div",{className:i("relative isolate overflow-hidden",s==="accent"?"bg-accent":"bg-black"),children:[(0,rt.jsx)("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:(0,rt.jsxs)("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&(0,rt.jsx)(S,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),(0,rt.jsx)("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:(0,rt.jsx)("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:c},p)=>(c==null?void 0:c.url)==="/contact"?(0,rt.jsx)("div",{onClick:o,className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),children:c.label},p):(0,rt.jsx)(re,{size:"lg",className:i("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",s==="accent"?"border-white bg-accent":"border-accent bg-black"),...c},p))})})]})}),r&&(0,rt.jsx)("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:l,children:(0,rt.jsxs)("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[(0,rt.jsx)("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:a,children:"\u2715"}),(0,rt.jsx)(gt,{})," "]})})]})};var be=require("prism-react-renderer");var ht=require("lucide-react");function vt({code:e}){let[t,r]=(0,bt.useState)("Copy");function n(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,rt.jsx)("div",{className:"flex justify-end align-middle",children:(0,rt.jsxs)(z,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,rt.jsx)("p",{children:t}),(0,rt.jsx)("div",{className:"w-6 rt-6 dark:invert",children:(0,rt.jsx)(ht.ClipboardCopy,{})})]})})}var Ct=({code:e,language:t=""})=>e?(0,rt.jsx)(be.Highlight,{code:e,language:t,theme:be.themes.vsDark,children:({getLineProps:r,getTokenProps:n,tokens:s})=>(0,rt.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,a)=>(0,rt.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,rt.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,rt.jsx)("span",{className:"table-cell pl-4",children:o.map((l,c)=>(0,rt.jsx)("span",{...n({token:l})},c))})]},a)),(0,rt.jsx)(vt,{code:e})]})}):null;var wt=({className:e,code:t,language:r})=>(0,rt.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,rt.jsx)(Ct,{code:t,language:r})});var kt=I(require("next/image")),Mr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},At="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=",Nt=e=>{let{alt:t,fill:r,imgClassName:n,priority:s,resource:o,size:a,src:l,loading:c}=e,p,f,C=t,x=l||"";if(!x&&o&&typeof o=="object"){let{alt:b,filename:w,height:A,url:P,width:U}=o;if(A&&A>500){let R=500/A;p=U*R,f=A*R}else p=U,f=A;C=b||"",x=P||At}let k=c||"lazy",N=a||Object.entries(Mr).map(([,b])=>`(max-width: ${b}px) ${b*2}w`).join(", ");return(0,rt.jsx)("picture",{children:(0,rt.jsx)(kt.default,{alt:C||"",className:i(n),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:At,priority:k!=="lazy"&&s,quality:100,loading:k,sizes:N,src:x,width:r?void 0:p})})};var Pt=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Bt=()=>{if(Pt){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 Tt=e=>{let{onClick:t,resource:r,videoClassName:n}=e,s=(0,bt.useRef)(null);if((0,bt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,rt.jsx)("video",{autoPlay:!0,className:i(n),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,rt.jsx)("source",{src:`${Bt()}/media/${o}`})})}return null};var xe=e=>{var a;let{className:t,htmlElement:r="div",resource:n}=e,s=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,rt.jsx)(r||bt.Fragment,{...r!==null?{className:t}:{},children:s?(0,rt.jsx)(Tt,{...e}):(0,rt.jsx)(Nt,{...e})})};var It=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,rt.jsx)("div",{className:i("rt-full ",{container:r},t),children:(0,rt.jsx)(xe,{imgClassName:i("rounded-[0.8rem]",n),className:"flex justify-center",resource:s,src:o})})};var St=e=>{let{className:t,enableGutter:r=!0,imgClassName:n,media:s,staticImage:o}=e;return(0,rt.jsx)("div",{className:i("",{container:r},t),children:(0,rt.jsx)(xe,{imgClassName:i("rounded-[0.8rem]",n),resource:s,src:o})})};var Fe=({type:e="solid",iconName:t="cloud",size:r="lg",className:n})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,a=n!=null?n:"",l=s+o+" fa-"+r+" "+a;return(0,rt.jsx)("i",{className:l})};var Et=I(require("next/image"));function Lt(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ze({image:e,icon:t,title:r,subtitle:n,content:s,statistic:o,settings:a,link:l,className:c}){var C,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"},f={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return(0,rt.jsxs)("div",{className:i("min-w-56 max-w-xl rt-full flex flex-col group",e?"p-0 pb-4":"p-8",a&&!e&&p[(a==null?void 0:a.card)==="default"?"solid":a==null?void 0:a.card],e&&"bg-foreground",a&&(a==null?void 0:a.card)==="outline"?"text-gray-900":"text-white",f[(C=a==null?void 0:a.width)!=null?C:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,c),children:[e&&(0,rt.jsx)("div",{className:"relative rt-1/2 lg:rt-2/3 w-full mb-0",children:(0,rt.jsx)(Et.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,rt.jsxs)("div",{className:i(e?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex rt-2/5 md:max-rt-1/2 flex-col flex-grow"),children:[n&&(0,rt.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,rt.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,rt.jsx)(Lr,{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:(a==null?void 0:a.card)==="default"?"solid":(x=a==null?void 0:a.card)!=null?x:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,rt.jsx)("div",{className:"mb-6",children:(0,rt.jsx)("div",{className:i("text-4xl text-wrap font-bold leading-none overflow-hidden",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"text-brand-green":"text-white"),children:o})}),s&&typeof s=="object"&&(0,rt.jsx)(S,{enableGutter:!1,content:s,enableProse:!1,className:i("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.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,rt.jsx)("div",{className:i("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:s}),l&&l.url&&(0,rt.jsx)("div",{className:"pt-6 rt-full flex items-end justify-start",children:(0,rt.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:l.url||"#",children:(l==null?void 0:l.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,rt.jsx)("div",{className:"absolute bottom-0 right-0 w-2/3 rt-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 Lr=({icon:e,heading:t,variant:r,iconSize:n,subtitle:s})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,rt.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,rt.jsx)("div",{className:i(r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:t}),Lt(e)&&(0,rt.jsx)("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:(0,rt.jsx)(Fe,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,rt.jsxs)("div",{className:"flex flex-col gap-4",children:[Lt(e)&&(0,rt.jsx)("div",{className:i("rt-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:(0,rt.jsx)(Fe,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,rt.jsx)("h3",{className:i("font-normal",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):(0,rt.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,rt.jsx)("div",{className:i("font-regular",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:t})});var O=I(require("react"));var J=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("rounded-xl border bg-card text-card-foreground shadow",e),...t}));J.displayName="Card";var oe=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("flex flex-col space-y-1.5 p-6",e),...t}));oe.displayName="CardHeader";var ae=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("font-semibold leading-none tracking-tight",e),...t}));ae.displayName="CardTitle";var Er=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("text-sm text-muted-foreground",e),...t}));Er.displayName="CardDescription";var $=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("p-6 pt-0",e),...t}));$.displayName="CardContent";var Fr=O.forwardRef(({className:e,...t},r)=>(0,rt.jsx)("div",{ref:r,className:i("flex items-center p-6 pt-0",e),...t}));Fr.displayName="CardFooter";var Ft=({title:e,description:t,features:r,id:n,nested:s=!1})=>(0,rt.jsxs)("section",{className:i(s?"w-full":"container",""),children:[(0,rt.jsxs)("div",{className:"prose prose:max-w-none",children:[e&&(0,rt.jsx)("h2",{className:"mb-6 mt-0 text-primary",id:n||"",children:e}),t&&typeof t=="string"&&(0,rt.jsx)("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&(0,rt.jsx)("div",{className:"mb-5 text-foreground",children:(0,rt.jsx)(S,{content:t,enableGutter:!1})})]}),(0,rt.jsx)("div",{className:`grid gap-6 mt-6 md:grid-cols-${r?r.length>2?2:r.length:1} lg:grid-cols-${r?r.length>3?3:r.length:1}`,children:r&&r.map((o,a)=>{var c;let l=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,rt.jsx)(ze,{title:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,settings:{...o.settings,width:"auto",order:a},link:o.link?{...o.link,label:"Learn more"}:void 0,icon:(c=l())!=null?c:{type:"none",icon:null}},a)})})]});var ve=I(require("react"));function ne({nodes:e}){return(0,rt.jsx)(ve.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,rt.jsx)(ve.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,rt.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,rt.jsx)("em",{children:o},r)),t.format&4&&(o=(0,rt.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,rt.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,rt.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,rt.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,rt.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,rt.jsx)("table",{children:(0,rt.jsx)("tbody",{children:t.children.map((o,a)=>(0,rt.jsx)("tr",{children:o.children.map((l,c)=>(0,rt.jsx)("td",{children:ne({nodes:l.children})},c))},a))})},r);let n=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let a of o.children)"checked"in a&&(a!=null&&a.checked||(a.checked=!1));return ne({nodes:o.children})},s="children"in t?n(t):"";if(t.type==="block"){let o=t.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,rt.jsx)(yt,{...o},r);case"mediaBlock":return(0,rt.jsx)(It,{className:"col-start-1 col-span-3",imgClassName:"rt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,rt.jsx)(St,{className:"col-start-1 col-span-3",imgClassName:"rt-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,rt.jsx)(st,{className:"col-start-2 mb-4",...o},r);case"code":return(0,rt.jsx)(wt,{className:"col-start-2",...o},r);case"features":return(0,rt.jsx)(Ft,{...o,nested:!0},r);case"reusableContentBlock":ne({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,rt.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,rt.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,rt.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,rt.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,rt.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,rt.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,rt.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,rt.jsx)(re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,rt.jsx)(re,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var S=({className:e,content:t,enableGutter:r=!0,enableProse:n=!0})=>{var s;return t?(0,rt.jsx)("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":n},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&ne({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};var Gt=require("next/navigation");var Ha=i("transition-colors duration-400 hover:text-primary ease-in-out");function Ut({title:e,links:t}){let r=(0,Gt.useSearchParams)(),n=(0,Gt.usePathname)(),{replace:s}=(0,Gt.useRouter)();function o(a){let l=new URLSearchParams(r);a?l.set("category",a):l.delete("category"),s(`${n}?${l.toString()}`)}return(0,rt.jsxs)(J,{children:[(0,rt.jsx)(oe,{children:(0,rt.jsx)(ae,{className:"text-accent",children:e&&e})}),(0,rt.jsx)($,{children:t&&t.length>0&&(0,rt.jsx)("nav",{"aria-label":"footer links navigation",children:(0,rt.jsx)("ul",{className:"grid gap-2.5 ",children:t.map((a,l)=>(0,rt.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(a.href)},children:[a.label,(0,rt.jsx)(ht.ExternalLink,{className:"ml-1 rt-3 w-3"})]},l))})})})]})}var jt=I(require("next/link"));function zr({image:e,name:t,about:r,socialLinks:n}){return!e||!e.src||e.src.length<3||!t?null:(0,rt.jsx)("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:(0,rt.jsx)(J,{children:(0,rt.jsxs)($,{children:[e&&e.src&&(0,rt.jsx)(Ht.default,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:Qe,className:"mx-auto mt-6 rounded-full object-cover"}),(0,rt.jsx)("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:t}),(0,rt.jsx)("p",{children:r}),n&&n.length>0&&(0,rt.jsx)("nav",{"aria-label":"social links",children:(0,rt.jsx)("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((s,o)=>(0,rt.jsx)("li",{children:(0,rt.jsx)(at,{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,rt.jsx)("span",{children:s.icon})})},o))})})]})})})}function Dr({page:e,categoryList:t,edit:r=!1,path:n="/admin/collections/posts/"}){var x;if(!e)return(0,Gt.notFound)();let{meta:s,populatedAuthors:o,authors:a,categories:l,content:c,title:p}=e,f={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:l,commentCount:0,title:p,description:(s==null?void 0:s.description)||""},C=a==null?void 0:a.map(k=>{var N,b;return{name:k.name||"",about:"",image:{src:k.profilePicture&&((b=(N=k.profilePicture.sizes)==null?void 0:N.square)==null?void 0:b.url)||"",alt:k.name||"blog author"},socialLinks:[]}});return(0,rt.jsx)(tt,{children:(0,rt.jsxs)("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[(0,rt.jsx)("div",{children:(0,rt.jsxs)("div",{className:"[&_p+P]:mt-4",children:[(0,rt.jsx)("div",{className:"my-4 rt-px bg-body/30 lg:my-5"}),(0,rt.jsx)(S,{content:c,enableGutter:!1})]})}),(0,rt.jsxs)("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[r&&(0,rt.jsx)("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:(0,rt.jsxs)(J,{children:[(0,rt.jsx)(oe,{children:(0,rt.jsx)(ae,{className:"text-accent",children:"Content Actions"})}),(0,rt.jsxs)($,{children:[(0,rt.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),(0,rt.jsx)(jt.default,{href:`${n}${e.id}`,children:(0,rt.jsx)(z,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),C&&C.map((k,N)=>(0,rt.jsx)(zr,{...k},N)),t&&t.links&&(0,rt.jsx)("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:(0,rt.jsx)(Ut,{links:t.links,title:t.title})})]})]})})}0&&(module.exports={BlogDetail});
@@ -1 +1 @@
1
- import{a}from"../chunk-LGM6MCN3.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-VHNDMY6M.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-7F7S63JI.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-NOEITQK2.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-RJGKFNZL.mjs";import"../chunk-6DHYRATS.mjs";import"../chunk-JPFBD2KD.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-WLBZXBU3.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-BDX257W2.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-D76EO57Z.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-S7OK7D5I.mjs";export{a as BlogDetail};
1
+ import{a}from"../chunk-7OBH6AB6.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-KCNRSNZG.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-L2QAYSRV.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-OI2YT2ZF.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-2A6JF3LE.mjs";import"../chunk-4YJ3HV64.mjs";import"../chunk-FCCL6W7R.mjs";import"../chunk-WLBZXBU3.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.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-UESKYRNK.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-S7OK7D5I.mjs";export{a as BlogDetail};