cortex-react-components 1.56.1 → 1.56.3

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 (196) hide show
  1. package/dist/{chunk-F3T5Y252.mjs → chunk-26C6ONSL.mjs} +1 -1
  2. package/dist/{chunk-5MZPZWUU.mjs → chunk-32GUWMNB.mjs} +1 -1
  3. package/dist/{chunk-BZL64Q7H.mjs → chunk-4B76XRQC.mjs} +1 -1
  4. package/dist/{chunk-3KF3RVWX.mjs → chunk-4PPO2TP6.mjs} +1 -1
  5. package/dist/{chunk-XWYK6BVD.mjs → chunk-5JIRX57M.mjs} +1 -1
  6. package/dist/{chunk-E5KP7CNY.mjs → chunk-5V2OYZ3Q.mjs} +1 -1
  7. package/dist/{chunk-2IKC7MAP.mjs → chunk-5YTDIEDJ.mjs} +1 -1
  8. package/dist/{chunk-VDDV2Y4U.mjs → chunk-67XI2VEX.mjs} +1 -1
  9. package/dist/{chunk-55QIP3TP.mjs → chunk-6ZESQNYQ.mjs} +1 -1
  10. package/dist/{chunk-IO222G5L.mjs → chunk-AAI2VZST.mjs} +1 -1
  11. package/dist/{chunk-VIUIIZ3L.mjs → chunk-B4QA2TFN.mjs} +1 -1
  12. package/dist/chunk-CELZCB5S.mjs +1 -0
  13. package/dist/{chunk-HFSODCS3.mjs → chunk-E7V3UXSY.mjs} +1 -1
  14. package/dist/{chunk-GEIWTB5J.mjs → chunk-F6O436OS.mjs} +1 -1
  15. package/dist/{chunk-7F7S63JI.mjs → chunk-GHWZZAOE.mjs} +1 -1
  16. package/dist/{chunk-4WZTO2ZR.mjs → chunk-IMFTPKPG.mjs} +1 -1
  17. package/dist/{chunk-I6LTSJ42.mjs → chunk-J6MXBTXI.mjs} +1 -1
  18. package/dist/{chunk-LXNMVBBN.mjs → chunk-JSNDDVUF.mjs} +1 -1
  19. package/dist/{chunk-QMFZRG7O.mjs → chunk-KEUZSK3N.mjs} +1 -1
  20. package/dist/{chunk-JFSDQVSM.mjs → chunk-KZIPZL2R.mjs} +1 -1
  21. package/dist/{chunk-UITUJ54J.mjs → chunk-L67K44RY.mjs} +1 -1
  22. package/dist/{chunk-D44ZXHH4.mjs → chunk-NOLDWELD.mjs} +1 -1
  23. package/dist/{chunk-PKS4USIV.mjs → chunk-OETJG2WV.mjs} +1 -1
  24. package/dist/{chunk-GEUGC2OO.mjs → chunk-OMRTVOZ4.mjs} +1 -1
  25. package/dist/{chunk-PAD57NB3.mjs → chunk-PKNQCNMD.mjs} +1 -1
  26. package/dist/{chunk-SVJCBR6O.mjs → chunk-QU42VZ2D.mjs} +1 -1
  27. package/dist/{chunk-7VF6TVAW.mjs → chunk-QYDMXCQU.mjs} +1 -1
  28. package/dist/{chunk-R5RMSELA.mjs → chunk-RKVMVZU2.mjs} +1 -1
  29. package/dist/{chunk-GZN4EKV3.mjs → chunk-SXSHRH5V.mjs} +1 -1
  30. package/dist/{chunk-UFBMHFLY.mjs → chunk-U7AONVNL.mjs} +1 -1
  31. package/dist/{chunk-23BDC5JG.mjs → chunk-UBA3ZRKC.mjs} +1 -1
  32. package/dist/{chunk-CXQRNOSF.mjs → chunk-VADDCWLR.mjs} +1 -1
  33. package/dist/{chunk-AVJT4UGJ.mjs → chunk-WBRVYXOC.mjs} +1 -1
  34. package/dist/{chunk-OIOU57SA.mjs → chunk-Y73D5IQQ.mjs} +1 -1
  35. package/dist/{chunk-WO2JJOVE.mjs → chunk-Z7CSQAWG.mjs} +1 -1
  36. package/dist/components/Blocks/Banner.js +1 -1
  37. package/dist/components/Blocks/Banner.mjs +1 -1
  38. package/dist/components/Blocks/CallToAction.js +1 -1
  39. package/dist/components/Blocks/CallToAction.mjs +1 -1
  40. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  41. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  42. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  43. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  44. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  45. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  46. package/dist/components/Blocks/Content.js +1 -1
  47. package/dist/components/Blocks/Content.mjs +1 -1
  48. package/dist/components/Blocks/Content.stories.js +1 -1
  49. package/dist/components/Blocks/Content.stories.mjs +1 -1
  50. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  51. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  52. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  53. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  54. package/dist/components/Blocks/RelatedPosts.js +1 -1
  55. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  56. package/dist/components/Blocks/RenderBlocks.js +1 -1
  57. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  58. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  59. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  60. package/dist/components/Blocks/index.js +1 -1
  61. package/dist/components/Blocks/index.mjs +1 -1
  62. package/dist/components/Cards/ContentCard.js +1 -1
  63. package/dist/components/Cards/ContentCard.mjs +1 -1
  64. package/dist/components/Cards/ContentCard.stories.js +1 -1
  65. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  66. package/dist/components/Cards/FeatureCard.js +1 -1
  67. package/dist/components/Cards/FeatureCard.mjs +1 -1
  68. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  69. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  70. package/dist/components/Cards/index.js +1 -1
  71. package/dist/components/Cards/index.mjs +1 -1
  72. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  73. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  74. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  75. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  76. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  77. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  78. package/dist/components/HeaderFooter/index.mjs +1 -1
  79. package/dist/components/Heros/HighImpact/index.js +1 -1
  80. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  81. package/dist/components/Heros/LowImpact/index.js +1 -1
  82. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  83. package/dist/components/Heros/MediumImpact/index.js +1 -1
  84. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  85. package/dist/components/Heros/PostHero/index.mjs +1 -1
  86. package/dist/components/Heros/RenderHero.js +1 -1
  87. package/dist/components/Heros/RenderHero.mjs +1 -1
  88. package/dist/components/Heros/index.js +1 -1
  89. package/dist/components/Heros/index.mjs +1 -1
  90. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  91. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  92. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  93. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  94. package/dist/components/Layouts/Print.js +1 -1
  95. package/dist/components/Layouts/Print.mjs +1 -1
  96. package/dist/components/Layouts/Print.stories.js +1 -1
  97. package/dist/components/Layouts/Print.stories.mjs +1 -1
  98. package/dist/components/Layouts/SlideShow.js +2 -2
  99. package/dist/components/Layouts/SlideShow.mjs +1 -1
  100. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  101. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  102. package/dist/components/Layouts/index.js +1 -1
  103. package/dist/components/Layouts/index.mjs +1 -1
  104. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  105. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  106. package/dist/components/Menus/SidebarRight.mjs +1 -1
  107. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  108. package/dist/components/Menus/index.mjs +1 -1
  109. package/dist/components/Payload/RichText/index.js +1 -1
  110. package/dist/components/Payload/RichText/index.mjs +1 -1
  111. package/dist/components/Payload/RichText/serialize.js +1 -1
  112. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  113. package/dist/components/Payload/RichText.stories.js +1 -1
  114. package/dist/components/Payload/RichText.stories.mjs +1 -1
  115. package/dist/components/Payload/index.js +1 -1
  116. package/dist/components/Payload/index.mjs +1 -1
  117. package/dist/components/index.js +5 -5
  118. package/dist/components/index.mjs +1 -1
  119. package/dist/components/ui/index.mjs +1 -1
  120. package/dist/components/ui/sidebar.mjs +1 -1
  121. package/dist/globals.css +1 -1
  122. package/dist/index.js +1 -1
  123. package/dist/index.mjs +1 -1
  124. package/dist/metafile-cjs.json +1 -1
  125. package/dist/metafile-esm.json +1 -1
  126. package/dist/pages/Blog.js +1 -1
  127. package/dist/pages/Blog.mjs +1 -1
  128. package/dist/pages/Blog.stories.js +1 -1
  129. package/dist/pages/Blog.stories.mjs +1 -1
  130. package/dist/pages/Documentation.mjs +1 -1
  131. package/dist/pages/Documentation.stories.mjs +1 -1
  132. package/dist/pages/IndexPage.mjs +1 -1
  133. package/dist/pages/IndexPage.stories.mjs +1 -1
  134. package/dist/pages/Intranet.mjs +1 -1
  135. package/dist/pages/Intranet.stories.mjs +1 -1
  136. package/dist/pages/LandingPage.js +1 -1
  137. package/dist/pages/LandingPage.mjs +1 -1
  138. package/dist/pages/LandingPage.stories.js +1 -1
  139. package/dist/pages/LandingPage.stories.mjs +1 -1
  140. package/dist/pages/Page.js +1 -1
  141. package/dist/pages/Page.mjs +1 -1
  142. package/dist/pages/Page.stories.js +1 -1
  143. package/dist/pages/Page.stories.mjs +1 -1
  144. package/dist/pages/Printable.stories.js +1 -1
  145. package/dist/pages/Printable.stories.mjs +1 -1
  146. package/dist/pages/Publish.js +1 -1
  147. package/dist/pages/Publish.mjs +1 -1
  148. package/dist/pages/Publish.stories.js +1 -1
  149. package/dist/pages/Publish.stories.mjs +1 -1
  150. package/dist/pages/Website.js +1 -1
  151. package/dist/pages/Website.mjs +1 -1
  152. package/dist/pages/Website.stories.js +1 -1
  153. package/dist/pages/Website.stories.mjs +1 -1
  154. package/dist/sections/AboutSection.js +1 -1
  155. package/dist/sections/AboutSection.mjs +1 -1
  156. package/dist/sections/AboutSection.stories.js +1 -1
  157. package/dist/sections/AboutSection.stories.mjs +1 -1
  158. package/dist/sections/BlogDetail.js +1 -1
  159. package/dist/sections/BlogDetail.mjs +1 -1
  160. package/dist/sections/BlogDetail.stories.js +1 -1
  161. package/dist/sections/BlogDetail.stories.mjs +1 -1
  162. package/dist/sections/BlogList.js +1 -1
  163. package/dist/sections/BlogList.mjs +1 -1
  164. package/dist/sections/BlogList.stories.js +1 -1
  165. package/dist/sections/BlogList.stories.mjs +1 -1
  166. package/dist/sections/BlogListSection.mjs +1 -1
  167. package/dist/sections/BlogListSection.stories.mjs +1 -1
  168. package/dist/sections/ContactSection.js +1 -1
  169. package/dist/sections/ContactSection.mjs +1 -1
  170. package/dist/sections/ContactSection.stories.js +1 -1
  171. package/dist/sections/ContactSection.stories.mjs +1 -1
  172. package/dist/sections/ImageSection.stories.js +1 -1
  173. package/dist/sections/ImageSection.stories.mjs +1 -1
  174. package/dist/sections/PageSections.js +1 -1
  175. package/dist/sections/PageSections.mjs +1 -1
  176. package/dist/sections/PageSections.stories.js +1 -1
  177. package/dist/sections/PageSections.stories.mjs +1 -1
  178. package/dist/sections/PricingSection.js +1 -1
  179. package/dist/sections/PricingSection.mjs +1 -1
  180. package/dist/sections/PricingSection.stories.js +1 -1
  181. package/dist/sections/PricingSection.stories.mjs +1 -1
  182. package/dist/sections/ServiceDetailList.js +1 -1
  183. package/dist/sections/ServiceDetailList.mjs +1 -1
  184. package/dist/sections/ServiceDetailSection.js +1 -1
  185. package/dist/sections/ServiceDetailSection.mjs +1 -1
  186. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  187. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  188. package/dist/sections/ServiceSection.js +1 -1
  189. package/dist/sections/ServiceSection.mjs +1 -1
  190. package/dist/sections/ServiceSection.stories.js +1 -1
  191. package/dist/sections/ServiceSection.stories.mjs +1 -1
  192. package/dist/sections/form/index.mjs +1 -1
  193. package/dist/sections/index.js +1 -1
  194. package/dist/sections/index.mjs +1 -1
  195. package/package.json +1 -1
  196. package/dist/chunk-XJF3K46N.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{c as v,h as R,i as x,k as y,l as h,o as w,p as d,q as m,r as N,s as L,v as P,w as B,x as T}from"./chunk-2IKC7MAP.mjs";import{a as n}from"./chunk-BSQVKZCW.mjs";import{a as f,b as M,c as k}from"./chunk-YNCJATT7.mjs";import{ChevronRight as H}from"lucide-react";import F from"clsx";import{Fragment as O,jsx as e,jsxs as i}from"react/jsx-runtime";function J({mainNav:c,secondaryNav:s,ongoingWork:l,title:t,subTitle:o,pathName:b,menuHeading:g,onNavClick:r,loading:p=!1,LinkComponent:C,...I}){let S=C?a=>e(C,{...a}):r?({href:a,children:u,...G})=>e("button",{onClick:()=>r&&r(a),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...G,children:u}):a=>e("a",{...a});return i(v,{...I,variant:"inset",children:[e(R,{children:e(d,{children:e(m,{children:p?i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:t}),o&&e("span",{className:"truncate text-sm",children:o})]})})})}),p&&i(y,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),i(y,{children:[e("div",{className:"px-4 text-sm",children:"Recent Work"}),l&&!p&&l.map((a,u)=>e(A,{subNav:a,pathName:b,Link:S},u)),e("div",{className:"border-t border-gray-200 my-4"}),c&&!p&&c.map((a,u)=>e(A,{subNav:a,pathName:b,Link:S},u)),e(h,{className:"mt-auto",children:e(w,{children:e(d,{children:s&&!p&&s.map(a=>e(m,{children:e(N,{asChild:!0,size:"sm",children:i(S,{href:a.url||"",children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})})},a.label))})})})]}),e(x,{})]})}function A({subNav:c,pathName:s,Link:l}){var b,g;let t=c,o=!1;return t.links&&t.links.map(r=>{r.url===s&&(o=!0)}),e(f,{defaultOpen:!0,className:"group/collapsible",children:e(h,{className:"py-0",children:e(d,{children:e(f,{asChild:!0,defaultOpen:t.isActive,children:i(m,{children:[e(N,{asChild:!0,tooltip:t.label,className:F(o&&"font-bold text-accent"),children:i(l,{href:t.url,children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})}),(b=t.links)!=null&&b.length?i(O,{children:[e(M,{asChild:!0,children:i(L,{className:"data-[state=open]:rotate-90",children:[e(H,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(k,{children:e(P,{children:(g=t.links)==null?void 0:g.map(r=>e(B,{children:e(T,{asChild:!0,className:F(r.url===s&&"font-bold text-accent"),children:e(l,{href:r.url,children:e("span",{children:r.label})})})},r.label))})})]}):null]})},t.label)})})})}export{J as a};
4
+ import{c as v,h as R,i as x,k as y,l as h,o as w,p as d,q as m,r as N,s as L,v as P,w as B,x as T}from"./chunk-5YTDIEDJ.mjs";import{a as n}from"./chunk-BSQVKZCW.mjs";import{a as f,b as M,c as k}from"./chunk-YNCJATT7.mjs";import{ChevronRight as H}from"lucide-react";import F from"clsx";import{Fragment as O,jsx as e,jsxs as i}from"react/jsx-runtime";function J({mainNav:c,secondaryNav:s,ongoingWork:l,title:t,subTitle:o,pathName:b,menuHeading:g,onNavClick:r,loading:p=!1,LinkComponent:C,...I}){let S=C?a=>e(C,{...a}):r?({href:a,children:u,...G})=>e("button",{onClick:()=>r&&r(a),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...G,children:u}):a=>e("a",{...a});return i(v,{...I,variant:"inset",children:[e(R,{children:e(d,{children:e(m,{children:p?i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):i("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:t}),o&&e("span",{className:"truncate text-sm",children:o})]})})})}),p&&i(y,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),i(y,{children:[e("div",{className:"px-4 text-sm",children:"Recent Work"}),l&&!p&&l.map((a,u)=>e(A,{subNav:a,pathName:b,Link:S},u)),e("div",{className:"border-t border-gray-200 my-4"}),c&&!p&&c.map((a,u)=>e(A,{subNav:a,pathName:b,Link:S},u)),e(h,{className:"mt-auto",children:e(w,{children:e(d,{children:s&&!p&&s.map(a=>e(m,{children:e(N,{asChild:!0,size:"sm",children:i(S,{href:a.url||"",children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})})},a.label))})})})]}),e(x,{})]})}function A({subNav:c,pathName:s,Link:l}){var b,g;let t=c,o=!1;return t.links&&t.links.map(r=>{r.url===s&&(o=!0)}),e(f,{defaultOpen:!0,className:"group/collapsible",children:e(h,{className:"py-0",children:e(d,{children:e(f,{asChild:!0,defaultOpen:t.isActive,children:i(m,{children:[e(N,{asChild:!0,tooltip:t.label,className:F(o&&"font-bold text-accent"),children:i(l,{href:t.url,children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})}),(b=t.links)!=null&&b.length?i(O,{children:[e(M,{asChild:!0,children:i(L,{className:"data-[state=open]:rotate-90",children:[e(H,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(k,{children:e(P,{children:(g=t.links)==null?void 0:g.map(r=>e(B,{children:e(T,{asChild:!0,className:F(r.url===s&&"font-bold text-accent"),children:e(l,{href:r.url,children:e("span",{children:r.label})})})},r.label))})})]}):null]})},t.label)})})})}export{J as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-7F7S63JI.mjs";import{a as m}from"./chunk-55QIP3TP.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import c from"next/image";import{FaEnvelope as g,FaPhoneFlip as v}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function y(a){let{sectionHeading:t,image:s}=a;return i("div",{className:"relative w-full light py-[60px]",children:[e("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden md:w-[56%] md:rounded-r-5",children:e(c,{src:s.src,alt:s.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(l,{children:e("div",{className:"ml-auto md:w-1/2",children:i("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(m,{...t,invert:!0})}),e(n,{})]})})})]})}function S(a){return e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:i("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[i("div",{children:[e("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:a.locations&&a.locations.map((t,s)=>{var o;return i("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 text-primary",children:t.title}),i("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=t.location.split(","))==null?void 0:o.map((d,p)=>e("p",{children:d},p))," ",t.mails&&i("p",{className:"flex items-center space-x-2",children:[e(g,{className:"pr-2 text-primary size-auto"}),e("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&i("p",{className:"flex items-center space-x-2",children:[e(v,{className:"pr-2 text-primary size-auto"}),t.phoneNumbers[0]]})]})]},s)})})]})})})})}export{y as a,S as b};
1
+ import{a as n}from"./chunk-GHWZZAOE.mjs";import{a as m}from"./chunk-6ZESQNYQ.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-UESKYRNK.mjs";import c from"next/image";import{FaEnvelope as g,FaPhoneFlip as v}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function y(a){let{sectionHeading:t,image:s}=a;return i("div",{className:"relative w-full light py-[60px]",children:[e("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden md:w-[56%] md:rounded-r-5",children:e(c,{src:s.src,alt:s.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(l,{children:e("div",{className:"ml-auto md:w-1/2",children:i("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(m,{...t,invert:!0})}),e(n,{})]})})})]})}function S(a){return e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:i("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[i("div",{children:[e("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:a.locations&&a.locations.map((t,s)=>{var o;return i("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 text-primary",children:t.title}),i("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=t.location.split(","))==null?void 0:o.map((d,p)=>e("p",{children:d},p))," ",t.mails&&i("p",{className:"flex items-center space-x-2",children:[e(g,{className:"pr-2 text-primary size-auto"}),e("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&i("p",{className:"flex items-center space-x-2",children:[e(v,{className:"pr-2 text-primary size-auto"}),t.phoneNumbers[0]]})]})]},s)})})]})})})})}export{y as a,S as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as F}from"./chunk-3KF3RVWX.mjs";import{a as T}from"./chunk-WO2JJOVE.mjs";import{a as v}from"./chunk-NIQ4466A.mjs";import{a as R}from"./chunk-C5XNOZXC.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...i}){let h=i.page,[C,n]=A(d),{contentWithIds:s,tableOfContents:a}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:s,hero:i.hero,title:i.page.title,logoImage:i.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:i.page,layout:C,logoImage:i.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let i=async()=>{var s;if(d==="flow"){let a=(s=document.getElementById("printable-content"))==null?void 0:s.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{let s=document.getElementById(n);if(!s)throw new Error(`Element with id ${n} not found`);let a=document.createElement("canvas"),P=window.devicePixelRatio;a.width=Math.max(s.clientWidth||0)*P,a.height=Math.max(s.clientHeight||0)*P+100;let u=a.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(s.getElementsByTagName("img")).reduce((y,c)=>(y[c.src]=c,y),{});u.drawImage=function(...y){let[c,S,j,l,r,D,B,m,w]=y;if(c instanceof HTMLImageElement){let Y=z[c.src].style.objectFit||"fill",$=z[c.src].style.objectPosition||"center center";r=c.height,l=c.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,c,S,j,l,r,D,B,m,w)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=a.width,X=a.height;let I=(await G(k,{canvas:a,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:g("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[g("a",{onClick:i,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),g("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),g("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),g("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
4
+ import{a as F}from"./chunk-4PPO2TP6.mjs";import{a as T}from"./chunk-Z7CSQAWG.mjs";import{a as v}from"./chunk-NIQ4466A.mjs";import{a as R}from"./chunk-C5XNOZXC.mjs";import{useState as A}from"react";import G from"html2canvas";import{jsPDF as W}from"jspdf";import{Fragment as J,jsx as e,jsxs as g}from"react/jsx-runtime";function ae({type:p="slideshow",orientation:d="landscape",...i}){let h=i.page,[C,n]=A(d),{contentWithIds:s,tableOfContents:a}=R(h);if(p==="slideshow")return e("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:e(T,{blocks:s,hero:i.hero,title:i.page.title,logoImage:i.logoImage})});if(p==="print")return g(J,{children:[e(U,{layout:C,changeLayout:n}),e(F,{page:i.page,layout:C,logoImage:i.logoImage})]})}var U=({changeLayout:p,layout:d="landscape"})=>{let i=async()=>{var s;if(d==="flow"){let a=(s=document.getElementById("printable-content"))==null?void 0:s.innerHTML;if(a){var n=window.document.body.innerHTML;window.document.body.innerHTML=a,window.print(),window.document.body.innerHTML=n}}else await new Promise(a=>setTimeout(a,300)),window.print()},h=n=>{p&&p(n)},C=async n=>{let s=document.getElementById(n);if(!s)throw new Error(`Element with id ${n} not found`);let a=document.createElement("canvas"),P=window.devicePixelRatio;a.width=Math.max(s.clientWidth||0)*P,a.height=Math.max(s.clientHeight||0)*P+100;let u=a.getContext("2d");if(!u)throw new Error("Failed to get 2D context");let q=u.drawImage,z=Array.from(s.getElementsByTagName("img")).reduce((y,c)=>(y[c.src]=c,y),{});u.drawImage=function(...y){let[c,S,j,l,r,D,B,m,w]=y;if(c instanceof HTMLImageElement){let Y=z[c.src].style.objectFit||"fill",$=z[c.src].style.objectPosition||"center center";r=c.height,l=c.width;let L=l/r,b=m/w,[x,f]=$.split(" ");switch(f||(f=x),Y){case"cover":if(L>b){let t=r*b,o=(l-t)/2;x==="left"&&(o=0),x==="right"&&(o=l-t),S+=o,l=t}else{let t=l/b,o=(r-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=r-t),j+=o,r=t}break;case"contain":if(L>b){let t=m/L,o=(w-t)/2;f==="top"&&(o=0),f==="bottom"&&(o=w-t),B+=o,w=t}else{let t=w*L,o=(m-t)/2;x==="left"&&(o=0),x==="right"&&(o=m-t),D+=o,m=t}break;case"fill":break}}return q.call(u,c,S,j,l,r,D,B,m,w)};let k=document.getElementById(n);if(!k)throw new Error(`Element with id ${n} not found`);var O=a.width,X=a.height;let I=(await G(k,{canvas:a,windowHeight:X,windowWidth:O,scale:window.devicePixelRatio})).toDataURL("image/png"),N=new W({}).getImageProperties(I),M=297,E=M*(N.height/N.width),H=new W({unit:"mm",format:[M,E]});H.addImage(I,"PNG",0,0,M,E),H.save("print.pdf")};return e("div",{className:v("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:e("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:g("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[g("a",{onClick:i,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]}),e("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),g("a",{onClick:()=>h("portrait"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="portrait"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:e("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),e("small",{className:"text-xs",children:"Portrait"})]}),g("a",{onClick:()=>h("landscape"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="landscape"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:e("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),e("small",{className:"text-xs",children:"Landscape"})]}),g("a",{onClick:()=>h("flow"),className:v("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",d==="flow"?"text-accent":"hover:text-accent"),children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),e("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{ae as a};
@@ -1,4 +1,4 @@
1
- import{a as x}from"./chunk-SV7NMNDI.mjs";import{a as v}from"./chunk-55QIP3TP.mjs";import{c as u}from"./chunk-YNNW2C2U.mjs";import{a as f}from"./chunk-UESKYRNK.mjs";import{a as l}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import h from"next/image";import{FaArrowRight as w}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function $({blogs:a,sectionHeading:t,base:n="insights"}){return r(f,{children:[e("div",{className:"",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(v,{...t,alignment:"start",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:a.map((s,o)=>e("div",{"data-aos":"fade-up","data-aos-delay":x([200,400,600],o),className:"w-full h-full md:w-1/2 md:px-4 lg:w-1/3",children:e(y,{...s,base:n})},o))})]})}var b=i("inline-flex items-center gap-2 text-white"),j=i("text-sm text-white");function y({slug:a,meta:t,authors:n,title:s,publishedAt:o,categories:N,base:g}){var p,c,d,m;return r("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(h,{src:((p=t==null?void 0:t.image)==null?void 0:p.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((c=t==null?void 0:t.image)==null?void 0:c.alt)||"Blog image",fill:!0,sizes:`
1
+ import{a as x}from"./chunk-SV7NMNDI.mjs";import{a as v}from"./chunk-6ZESQNYQ.mjs";import{c as u}from"./chunk-YNNW2C2U.mjs";import{a as f}from"./chunk-UESKYRNK.mjs";import{a as l}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import h from"next/image";import{FaArrowRight as w}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function $({blogs:a,sectionHeading:t,base:n="insights"}){return r(f,{children:[e("div",{className:"",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(v,{...t,alignment:"start",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:a.map((s,o)=>e("div",{"data-aos":"fade-up","data-aos-delay":x([200,400,600],o),className:"w-full h-full md:w-1/2 md:px-4 lg:w-1/3",children:e(y,{...s,base:n})},o))})]})}var b=i("inline-flex items-center gap-2 text-white"),j=i("text-sm text-white");function y({slug:a,meta:t,authors:n,title:s,publishedAt:o,categories:N,base:g}){var p,c,d,m;return r("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(h,{src:((p=t==null?void 0:t.image)==null?void 0:p.url)||"/assets/images/brand/cortex-reply-gradient.png",alt:((c=t==null?void 0:t.image)==null?void 0:c.alt)||"Blog image",fill:!0,sizes:`
2
2
  (min-width:768px) 50vw,
3
3
  (min-width:1024px) 33vw,
4
4
  100vw
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as g,b as h,c as b}from"./chunk-JFSDQVSM.mjs";import{b as y}from"./chunk-SVJCBR6O.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"framer-motion";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
4
+ import{a as g,b as h,c as b}from"./chunk-KZIPZL2R.mjs";import{b as y}from"./chunk-QU42VZ2D.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"framer-motion";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
5
5
  ${o===s?"opacity-100":"opacity-0"}
6
6
  w-full h-full bg-cover bg-center`,children:o===0?t(b,{hero:x,title:c.title,logoImage:m}):w(I,{children:[e.blockName&&t(h,{title:e.blockName}),t(y,{blocks:[e],fill:!0}),t(g,{logoImage:m})]})})},o))}),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:r,children:t(E,{})})]})},E=()=>t(k,{children:t(v.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:t(v.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});export{K as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var nr=Object.create;var X=Object.defineProperty;var lr=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var ir=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty;var dr=(e,r)=>{for(var t in r)X(e,t,{get:r[t],enumerable:!0})},Ne=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of sr(r))!cr.call(e,l)&&l!==t&&X(e,l,{get:()=>r[l],enumerable:!(n=lr(r,l))||n.enumerable});return e};var U=(e,r,t)=>(t=e!=null?nr(ir(e)):{},Ne(r||!e||!e.__esModule?X(t,"default",{value:e,enumerable:!0}):t,e)),pr=e=>Ne(X({},"__esModule",{value:!0}),e);var _r={};dr(_r,{BannerBlock:()=>ye});module.exports=pr(_r);var Fe=require("clsx");var ie="-",ur=e=>{let r=fr(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let s=a.split(ie);return s[0]===""&&s.length!==1&&s.shift(),Re(s,r)||mr(a)},getConflictingClassGroupIds:(a,s)=>{let d=t[a]||[];return s&&n[a]?[...d,...n[a]]:d}}},Re=(e,r)=>{var a;if(e.length===0)return r.classGroupId;let t=e[0],n=r.nextPart.get(t),l=n?Re(e.slice(1),n):void 0;if(l)return l;if(r.validators.length===0)return;let o=e.join(ie);return(a=r.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},Pe=/^\[(.+)\]$/,mr=e=>{if(Pe.test(e)){let r=Pe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},fr=e=>{let{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return gr(Object.entries(e.classGroups),t).forEach(([o,a])=>{se(a,n,o,r)}),n},se=(e,r,t,n)=>{e.forEach(l=>{if(typeof l=="string"){let o=l===""?r:Be(r,l);o.classGroupId=t;return}if(typeof l=="function"){if(br(l)){se(l(n),r,t,n);return}r.validators.push({validator:l,classGroupId:t});return}Object.entries(l).forEach(([o,a])=>{se(a,Be(r,o),t,n)})})},Be=(e,r)=>{let t=e;return r.split(ie).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t},br=e=>e.isThemeGetter,gr=(e,r)=>r?e.map(([t,n])=>{let l=n.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[r+a,s])):o);return[t,l]}):e,yr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,n=new Map,l=(o,a)=>{t.set(o,a),r++,r>e&&(r=0,n=t,t=new Map)};return{get(o){let a=t.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return l(o,a),a},set(o,a){t.has(o)?t.set(o,a):l(o,a)}}},Ie="!",hr=e=>{let{separator:r,experimentalParseClassName:t}=e,n=r.length===1,l=r[0],o=r.length,a=s=>{let d=[],u=0,f=0,w;for(let h=0;h<s.length;h++){let x=s[h];if(u===0){if(x===l&&(n||s.slice(h,h+o)===r)){d.push(s.slice(f,h)),f=h+o;continue}if(x==="/"){w=h;continue}}x==="["?u++:x==="]"&&u--}let v=d.length===0?s:s.substring(f),C=v.startsWith(Ie),A=C?v.substring(1):v,y=w&&w>f?w-f:void 0;return{modifiers:d,hasImportantModifier:C,baseClassName:A,maybePostfixModifierPosition:y}};return t?s=>t({className:s,parseClassName:a}):a},xr=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(n=>{n[0]==="["?(r.push(...t.sort(),n),t=[]):t.push(n)}),r.push(...t.sort()),r},vr=e=>({cache:yr(e.cacheSize),parseClassName:hr(e),...ur(e)}),wr=/\s+/,kr=(e,r)=>{let{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:l}=r,o=[],a=e.trim().split(wr),s="";for(let d=a.length-1;d>=0;d-=1){let u=a[d],{modifiers:f,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:C}=t(u),A=!!C,y=n(A?v.substring(0,C):v);if(!y){if(!A){s=u+(s.length>0?" "+s:s);continue}if(y=n(v),!y){s=u+(s.length>0?" "+s:s);continue}A=!1}let h=xr(f).join(":"),x=w?h+Ie:h,k=x+y;if(o.includes(k))continue;o.push(k);let T=l(y,A);for(let N=0;N<T.length;++N){let _=T[N];o.push(x+_)}s=u+(s.length>0?" "+s:s)}return s};function Cr(){let e=0,r,t,n="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Te(r))&&(n&&(n+=" "),n+=t);return n}var Te=e=>{if(typeof e=="string")return e;let r,t="";for(let n=0;n<e.length;n++)e[n]&&(r=Te(e[n]))&&(t&&(t+=" "),t+=r);return t};function Ar(e,...r){let t,n,l,o=a;function a(d){let u=r.reduce((f,w)=>w(f),e());return t=vr(u),n=t.cache.get,l=t.cache.set,o=s,s(d)}function s(d){let u=n(d);if(u)return u;let f=kr(d,t);return l(d,f),f}return function(){return o(Cr.apply(null,arguments))}}var b=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},Se=/^\[(?:([a-De-]+):)?(.+)\]$/i,Nr=/^\d+\/\d+$/,Pr=new Set(["px","full","screen"]),Br=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ir=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Tr=/^(inset_)?-?((\d+)?\.?(\d+)[a-De]+|0)_-?((\d+)?\.?(\d+)[a-De]+|0)/,Sr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>G(e)||Pr.has(e)||Nr.test(e),S=e=>L(e,"length",Ur),G=e=>!!e&&!Number.isNaN(Number(e)),le=e=>L(e,"number",G),H=e=>!!e&&Number.isInteger(Number(e)),Mr=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>Se.test(e),M=e=>Br.test(e),zr=new Set(["length","size","percentage"]),Fr=e=>L(e,zr,Me),Er=e=>L(e,"position",Me),Gr=new Set(["image","url"]),Lr=e=>L(e,Gr,jr),Dr=e=>L(e,"",Hr),j=()=>!0,L=(e,r,t)=>{let n=Se.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):t(n[2]):!1},Ur=e=>Rr.test(e)&&!Ir.test(e),Me=()=>!1,Hr=e=>Tr.test(e),jr=e=>Sr.test(e);var Vr=()=>{let e=b("colors"),r=b("spacing"),t=b("blur"),n=b("brightness"),l=b("borderColor"),o=b("borderRadius"),a=b("borderSpacing"),s=b("borderWidth"),d=b("contrast"),u=b("grayscale"),f=b("hueRotate"),w=b("invert"),v=b("gap"),C=b("gradientColorStops"),A=b("gradientColorStopPositions"),y=b("inset"),h=b("margin"),x=b("opacity"),k=b("padding"),T=b("saturate"),N=b("scale"),_=b("sepia"),he=b("skew"),xe=b("space"),ve=b("translate"),te=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",i,r],g=()=>[i,r],we=()=>["",B,S],K=()=>["auto",G,i],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",i],Ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[B,S],blur:["none","",M,i],brightness:P(),borderColor:[e],borderRadius:["none","","full",M,i],borderSpacing:g(),borderWidth:we(),contrast:P(),grayscale:D(),hueRotate:P(),invert:D(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[Mr,S],inset:ae(),margin:ae(),opacity:P(),padding:g(),saturate:P(),scale:P(),sepia:D(),skew:P(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Ae()}],"break-before":[{"break-before":Ae()}],"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:[...ke(),i]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],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"],De:[{De:["auto",H,i]}],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",i]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...ne()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ne(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ne(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],De:[{De:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],De:[{De:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],De:[{De:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],De:[{De:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[xe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[xe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"font-family":[{font:[j]}],"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",i]}],"line-clamp":[{"line-clamp":["none",G,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,S]}],"underline-offset":[{"underline-offset":["auto",B,i]}],"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:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ke(),Er]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Fr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Lr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],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:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:Y()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:we()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[B,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,Dr]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Ce(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ce()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",M,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[w]}],saturate:[{saturate:[T]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"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",i]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[ve]}],"translate-y":[{"translate-y":[ve]}],"skew-x":[{"skew-x":[he]}],"skew-y":[{"skew-y":[he]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-De":[{"scroll-De":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,S,le]}],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"],De:["px","py","ps","De","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],De:["mx","my","ms","De","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-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-De":["scroll-mx","scroll-my","scroll-ms","scroll-De","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-De":["scroll-px","scroll-py","scroll-ps","scroll-De","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=Ar(Vr);function c(...e){return ze((0,Fe.clsx)(e))}var Ee=require("@radix-ui/react-slot"),Ge=require("class-variance-authority"),Le=U(require("react")),De=require("react/jsx-runtime"),Qr=(0,Ge.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"}}}),V=Le.forwardRef(({asChild:e=!1,className:r,size:t,variant:n,...l},o)=>(0,De.jsx)(e?Ee.Slot:"button",{className:c(Qr({className:r,size:t,variant:n})),ref:o,...l}));V.displayName="Button";var ce=U(require("next/link")),O=e=>{let{type:r,appearance:t="inline",children:n,className:l,label:o,newTab:a,reference:s,size:d,url:u}=e,f=r==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:u;if(!f)return null;let w=t==="link"?"clear":d,v=a?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,De.jsxs)(ce.default,{className:c(l),href:f||u||"",...v,children:[o&&o,n&&n]}):(0,De.jsx)(V,{asChild:!0,className:l,size:w,variant:t,children:(0,De.jsxs)(ce.default,{className:c(l),href:f||u||"",...v,children:[o&&o,n&&n]})})};var Ue=({links:e,richText:r})=>(0,De.jsx)("div",{className:"container",children:(0,De.jsxs)("div",{className:"bg-card rounded border-border border De-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,De.jsx)("div",{className:"max-w-[48rem] flex items-center",children:r&&(0,De.jsx)(F,{className:"mb-0",content:r,enableGutter:!1})}),(0,De.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},n)=>(0,De.jsx)(O,{size:"lg",...t},n))})]})});var q=require("prism-react-renderer");var He=require("lucide-react"),je=require("react");function Ve({code:e}){let[r,t]=(0,je.useState)("Copy");function n(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"Copy")},1e3))}return(0,De.jsx)("div",{className:"flex justify-end align-middle",children:(0,De.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,De.jsx)("De",{children:r}),(0,De.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,De.jsx)(He.ClipboardCopy,{})})]})})}var Qe=({code:e,language:r=""})=>e?(0,De.jsx)(q.Highlight,{code:e,language:r,theme:q.themes.vsDark,children:({getLineProps:t,getTokenProps:n,tokens:l})=>(0,De.jsxs)("pre",{className:"bg-black De-4 border text-xs border-border rounded overflow-x-auto",children:[l.map((o,a)=>(0,De.jsxs)("div",{...t({className:"table-row",line:o}),children:[(0,De.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,De.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,De.jsx)("span",{...n({token:s})},d))})]},a)),(0,De.jsx)(Ve,{code:e})]})}):null;var Oe=({className:e,code:r,language:t})=>(0,De.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,De.jsx)(Qe,{code:r,language:t})});var _e=U(require("next/image")),Or={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Je="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=",Ke=e=>{let{alt:r,fill:t,imgClassName:n,priority:l,resource:o,size:a,src:s,loading:d}=e,u,f,w=r,v=s||"";if(!v&&o&&typeof o=="object"){let{alt:y,filename:h,height:x,url:k,width:T}=o;if(x&&x>500){let N=500/x;u=T*N,f=x*N}else u=T,f=x;w=y||"",v=k||Je}let C=d||"lazy",A=a||Object.entries(Or).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,De.jsx)("picture",{children:(0,De.jsx)(_e.default,{alt:w||"",className:c(n),fill:t,height:t?void 0:f,placeholder:"blur",blurDataURL:Je,priority:C!=="lazy"&&l,quality:100,loading:C,sizes:A,src:v,width:t?void 0:u})})};var Ye=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Xe=()=>{if(Ye){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var qe=e=>{let{onClick:r,resource:t,videoClassName:n}=e,l=(0,je.useRef)(null);if((0,je.useEffect)(()=>{let{current:o}=l;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,De.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:l,children:(0,De.jsx)("source",{src:`${Xe()}/media/${o}`})})}return null};var $=e=>{var a;let{className:r,htmlElement:t="div",resource:n}=e,l=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,De.jsx)(t||je.Fragment,{...t!==null?{className:r}:{},children:l?(0,De.jsx)(qe,{...e}):(0,De.jsx)(Ke,{...e})})};var Ze=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:l,staticImage:o}=e;return(0,De.jsx)("div",{className:c("h-full ",{container:t},r),children:(0,De.jsx)($,{imgClassName:c("rounded-[0.8rem]",n),className:"flex justify-center",resource:l,src:o})})};var $e=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:l,staticImage:o}=e;return(0,De.jsx)("div",{className:c("",{container:t},r),children:(0,De.jsx)($,{imgClassName:c("rounded-[0.8rem]",n),resource:l,src:o})})};var be=({type:e="solid",iconName:r="cloud",size:t="lg",className:n})=>{let l=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+r,a=n!=null?n:"",s=l+o+" fa-"+t+" "+a;return(0,De.jsx)("i",{className:s})};var tr=U(require("next/image"));function rr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ge({image:e,icon:r,title:t,subtitle:n,content:l,statistic:o,settings:a,link:s,className:d}){var w,v;let u={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,De.jsxs)("div",{className:c("min-w-56 max-w-xl h-full flex flex-col group",e?"De-0 md:De-0":"De-8 md:De-8",a&&!e&&u[(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[(w=a==null?void 0:a.width)!=null?w:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,d),children:[e&&(0,De.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:(0,De.jsx)(tr.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,De.jsxs)("div",{className:c(e?"De-4 md:De-1 md:px-8":"De-0 md:De-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[n&&(0,De.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,De.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,De.jsx)(Jr,{icon:{type:(r==null?void 0:r.type)||"fa-light",iconName:(r==null?void 0:r.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(a==null?void 0:a.card)==="default"?"solid":(v=a==null?void 0:a.card)!=null?v:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,De.jsx)("div",{className:"mb-6",children:(0,De.jsx)("div",{className:c("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})}),l&&typeof l=="object"&&(0,De.jsx)(F,{enableGutter:!1,content:l,enableProse:!1,className:c("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose prose-headings:text-foreground prose-De:text-foreground":"prose prose-headings:text-white prose-De:text-gray-100",e&&"prose prose-headings:text-background prose-De:text-background")}),l&&typeof l=="string"&&(0,De.jsx)("div",{className:c("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:l}),s&&s.url&&(0,De.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,De.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:s.url||"#",children:(s==null?void 0:s.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,De.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 Jr=({icon:e,heading:r,variant:t,iconSize:n,subtitle:l})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,De.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,De.jsx)("div",{className:c("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:r}),rr(e)&&(0,De.jsx)("div",{className:c("rounded-full De-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",n==="small"?"mt-2":""),children:(0,De.jsx)(be,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,De.jsxs)("div",{className:"flex flex-col gap-4",children:[rr(e)&&(0,De.jsx)("div",{className:c("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:(0,De.jsx)(be,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,De.jsx)("h3",{className:c("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})]}):(0,De.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,De.jsx)("div",{className:c("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})});var or=({title:e,description:r,features:t,id:n,nested:l=!1})=>(0,De.jsxs)("section",{className:c(!l&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,De.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),r&&typeof r=="string"&&(0,De.jsx)("De",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:r}),r&&typeof r=="object"&&(0,De.jsx)("De",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,De.jsx)(F,{content:r,enableGutter:!1})}),(0,De.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((o,a)=>{var d;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return(0,De.jsx)(ge,{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:(d=s())!=null?d:{type:"none",iconName:null}},a)})})]});var ee=U(require("react"));function J({nodes:e}){return(0,De.jsx)(ee.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"&&r.text){let o=(0,De.jsx)(ee.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,De.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,De.jsx)("em",{children:o},t)),r.format&4&&(o=(0,De.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,De.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,De.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,De.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,De.jsx)("sup",{children:o},t)),o}if(r.type==="table")return(0,De.jsx)("table",{children:(0,De.jsx)("tbody",{children:r.children.map((o,a)=>(0,De.jsx)("tr",{children:o.children.map((s,d)=>(0,De.jsx)("td",{children:J({nodes:s.children})},d))},a))})},t);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 J({nodes:o.children})},l="children"in r?n(r):"";if(r.type==="block"){let o=r.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,De.jsx)(Ue,{...o},t);case"mediaBlock":return(0,De.jsx)(Ze,{className:"col-start-1 col-span-3",imgClassName:"De-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return(0,De.jsx)($e,{className:"col-start-1 col-span-3",imgClassName:"De-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,De.jsx)(ye,{className:"col-start-2 mb-4",...o},t);case"code":return(0,De.jsx)(Oe,{className:"col-start-2",...o},t);case"features":return(0,De.jsx)(or,{...o,nested:!0},t);case"reusableContentBlock":J({nodes:o.reusableContent.layout});default:return null}}else switch(r.type){case"linebreak":return(0,De.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,De.jsx)("De",{className:"col-start-2",children:l},t);case"heading":{let o=r==null?void 0:r.tag;return(0,De.jsx)(o,{className:"col-start-2",id:(r==null?void 0:r.id)||"",children:l},t)}case"list":{let o=r==null?void 0:r.tag;return(0,De.jsx)(o,{className:"list col-start-2",children:l},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,De.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:l},t):(0,De.jsx)("li",{value:r==null?void 0:r.value,children:l},t);case"quote":return(0,De.jsx)("blockquote",{className:"col-start-2",children:l},t);case"link":{let o=r.fields;return(0,De.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:l},t)}case"autolink":{let o=r.fields;return(0,De.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:l},t)}default:return null}})})}var F=({className:e,content:r,enableGutter:t=!0,enableProse:n=!0})=>{var l;return r?(0,De.jsx)("div",{className:c({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":n},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&J({nodes:(l=r==null?void 0:r.root)==null?void 0:l.children})}):null};var ye=({className:e,content:r,style:t})=>(0,De.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,De.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,De.jsx)(F,{content:r,enableGutter:!1,enableProse:!1})})});0&&(module.exports={BannerBlock});
4
+ "use strict";var nr=Object.create;var X=Object.defineProperty;var lr=Object.getOwnPropertyDescriptor;var sr=Object.getOwnPropertyNames;var ir=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty;var dr=(e,r)=>{for(var t in r)X(e,t,{get:r[t],enumerable:!0})},Ne=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of sr(r))!cr.call(e,l)&&l!==t&&X(e,l,{get:()=>r[l],enumerable:!(n=lr(r,l))||n.enumerable});return e};var U=(e,r,t)=>(t=e!=null?nr(ir(e)):{},Ne(r||!e||!e.__esModule?X(t,"default",{value:e,enumerable:!0}):t,e)),pr=e=>Ne(X({},"__esModule",{value:!0}),e);var _r={};dr(_r,{BannerBlock:()=>ye});module.exports=pr(_r);var Fe=require("clsx");var ie="-",ur=e=>{let r=fr(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:a=>{let s=a.split(ie);return s[0]===""&&s.length!==1&&s.shift(),Re(s,r)||mr(a)},getConflictingClassGroupIds:(a,s)=>{let d=t[a]||[];return s&&n[a]?[...d,...n[a]]:d}}},Re=(e,r)=>{var a;if(e.length===0)return r.classGroupId;let t=e[0],n=r.nextPart.get(t),l=n?Re(e.slice(1),n):void 0;if(l)return l;if(r.validators.length===0)return;let o=e.join(ie);return(a=r.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},Pe=/^\[(.+)\]$/,mr=e=>{if(Pe.test(e)){let r=Pe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},fr=e=>{let{theme:r,prefix:t}=e,n={nextPart:new Map,validators:[]};return gr(Object.entries(e.classGroups),t).forEach(([o,a])=>{se(a,n,o,r)}),n},se=(e,r,t,n)=>{e.forEach(l=>{if(typeof l=="string"){let o=l===""?r:Be(r,l);o.classGroupId=t;return}if(typeof l=="function"){if(br(l)){se(l(n),r,t,n);return}r.validators.push({validator:l,classGroupId:t});return}Object.entries(l).forEach(([o,a])=>{se(a,Be(r,o),t,n)})})},Be=(e,r)=>{let t=e;return r.split(ie).forEach(n=>{t.nextPart.has(n)||t.nextPart.set(n,{nextPart:new Map,validators:[]}),t=t.nextPart.get(n)}),t},br=e=>e.isThemeGetter,gr=(e,r)=>r?e.map(([t,n])=>{let l=n.map(o=>typeof o=="string"?r+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[r+a,s])):o);return[t,l]}):e,yr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,n=new Map,l=(o,a)=>{t.set(o,a),r++,r>e&&(r=0,n=t,t=new Map)};return{get(o){let a=t.get(o);if(a!==void 0)return a;if((a=n.get(o))!==void 0)return l(o,a),a},set(o,a){t.has(o)?t.set(o,a):l(o,a)}}},Ie="!",hr=e=>{let{separator:r,experimentalParseClassName:t}=e,n=r.length===1,l=r[0],o=r.length,a=s=>{let d=[],u=0,f=0,w;for(let h=0;h<s.length;h++){let x=s[h];if(u===0){if(x===l&&(n||s.slice(h,h+o)===r)){d.push(s.slice(f,h)),f=h+o;continue}if(x==="/"){w=h;continue}}x==="["?u++:x==="]"&&u--}let v=d.length===0?s:s.substring(f),C=v.startsWith(Ie),A=C?v.substring(1):v,y=w&&w>f?w-f:void 0;return{modifiers:d,hasImportantModifier:C,baseClassName:A,maybePostfixModifierPosition:y}};return t?s=>t({className:s,parseClassName:a}):a},xr=e=>{if(e.length<=1)return e;let r=[],t=[];return e.forEach(n=>{n[0]==="["?(r.push(...t.sort(),n),t=[]):t.push(n)}),r.push(...t.sort()),r},vr=e=>({cache:yr(e.cacheSize),parseClassName:hr(e),...ur(e)}),wr=/\s+/,kr=(e,r)=>{let{parseClassName:t,getClassGroupId:n,getConflictingClassGroupIds:l}=r,o=[],a=e.trim().split(wr),s="";for(let d=a.length-1;d>=0;d-=1){let u=a[d],{modifiers:f,hasImportantModifier:w,baseClassName:v,maybePostfixModifierPosition:C}=t(u),A=!!C,y=n(A?v.substring(0,C):v);if(!y){if(!A){s=u+(s.length>0?" "+s:s);continue}if(y=n(v),!y){s=u+(s.length>0?" "+s:s);continue}A=!1}let h=xr(f).join(":"),x=w?h+Ie:h,k=x+y;if(o.includes(k))continue;o.push(k);let T=l(y,A);for(let N=0;N<T.length;++N){let _=T[N];o.push(x+_)}s=u+(s.length>0?" "+s:s)}return s};function Cr(){let e=0,r,t,n="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Te(r))&&(n&&(n+=" "),n+=t);return n}var Te=e=>{if(typeof e=="string")return e;let r,t="";for(let n=0;n<e.length;n++)e[n]&&(r=Te(e[n]))&&(t&&(t+=" "),t+=r);return t};function Ar(e,...r){let t,n,l,o=a;function a(d){let u=r.reduce((f,w)=>w(f),e());return t=vr(u),n=t.cache.get,l=t.cache.set,o=s,s(d)}function s(d){let u=n(d);if(u)return u;let f=kr(d,t);return l(d,f),f}return function(){return o(Cr.apply(null,arguments))}}var b=e=>{let r=t=>t[e]||[];return r.isThemeGetter=!0,r},Se=/^\[(?:([a-De-]+):)?(.+)\]$/i,Nr=/^\d+\/\d+$/,Pr=new Set(["px","full","screen"]),Br=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Rr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ir=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Tr=/^(inset_)?-?((\d+)?\.?(\d+)[a-De]+|0)_-?((\d+)?\.?(\d+)[a-De]+|0)/,Sr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=e=>G(e)||Pr.has(e)||Nr.test(e),S=e=>L(e,"length",Ur),G=e=>!!e&&!Number.isNaN(Number(e)),le=e=>L(e,"number",G),H=e=>!!e&&Number.isInteger(Number(e)),Mr=e=>e.endsWith("%")&&G(e.slice(0,-1)),i=e=>Se.test(e),M=e=>Br.test(e),zr=new Set(["length","size","percentage"]),Fr=e=>L(e,zr,Me),Er=e=>L(e,"position",Me),Gr=new Set(["image","url"]),Lr=e=>L(e,Gr,jr),Dr=e=>L(e,"",Hr),j=()=>!0,L=(e,r,t)=>{let n=Se.exec(e);return n?n[1]?typeof r=="string"?n[1]===r:r.has(n[1]):t(n[2]):!1},Ur=e=>Rr.test(e)&&!Ir.test(e),Me=()=>!1,Hr=e=>Tr.test(e),jr=e=>Sr.test(e);var Vr=()=>{let e=b("colors"),r=b("spacing"),t=b("blur"),n=b("brightness"),l=b("borderColor"),o=b("borderRadius"),a=b("borderSpacing"),s=b("borderWidth"),d=b("contrast"),u=b("grayscale"),f=b("hueRotate"),w=b("invert"),v=b("gap"),C=b("gradientColorStops"),A=b("gradientColorStopPositions"),y=b("inset"),h=b("margin"),x=b("opacity"),k=b("padding"),T=b("saturate"),N=b("scale"),_=b("sepia"),he=b("skew"),xe=b("space"),ve=b("translate"),te=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto",i,r],g=()=>[i,r],we=()=>["",B,S],K=()=>["auto",G,i],ke=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>["start","end","center","between","around","evenly","stretch"],D=()=>["","0",i],Ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>[G,i];return{cacheSize:500,separator:":",theme:{colors:[j],spacing:[B,S],blur:["none","",M,i],brightness:P(),borderColor:[e],borderRadius:["none","","full",M,i],borderSpacing:g(),borderWidth:we(),contrast:P(),grayscale:D(),hueRotate:P(),invert:D(),gap:g(),gradientColorStops:[e],gradientColorStopPositions:[Mr,S],inset:ae(),margin:ae(),opacity:P(),padding:g(),saturate:P(),scale:P(),sepia:D(),skew:P(),space:g(),translate:g()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":Ae()}],"break-before":[{"break-before":Ae()}],"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:[...ke(),i]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],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"],De:[{De:["auto",H,i]}],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",i]}],grow:[{grow:D()}],shrink:[{shrink:D()}],order:[{order:["first","last","none",H,i]}],"grid-cols":[{"grid-cols":[j]}],"col-start-end":[{col:["auto",{span:["full",H,i]},i]}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":[j]}],"row-start-end":[{row:["auto",{span:[H,i]},i]}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...ne()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ne(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ne(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],De:[{De:[k]}],px:[{px:[k]}],py:[{py:[k]}],ps:[{ps:[k]}],De:[{De:[k]}],pt:[{pt:[k]}],pr:[{pr:[k]}],pb:[{pb:[k]}],pl:[{pl:[k]}],De:[{De:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],De:[{De:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[xe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[xe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",M,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"font-family":[{font:[j]}],"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",i]}],"line-clamp":[{"line-clamp":["none",G,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",B,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",B,S]}],"underline-offset":[{"underline-offset":["auto",B,i]}],"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:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],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",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ke(),Er]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Fr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Lr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[A]}],"gradient-via-pos":[{via:[A]}],"gradient-to-pos":[{to:[A]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],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:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:Y()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-s":[{"border-s":[l]}],"border-color-e":[{"border-e":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[B,i]}],"outline-w":[{outline:[B,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:we()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[B,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,Dr]}],"shadow-color":[{shadow:[j]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":[...Ce(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Ce()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[n]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",M,i]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[w]}],saturate:[{saturate:[T]}],sepia:[{sepia:[_]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[w]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[_]}],"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",i]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[H,i]}],"translate-x":[{"translate-x":[ve]}],"translate-y":[{"translate-y":[ve]}],"skew-x":[{"skew-x":[he]}],"skew-y":[{"skew-y":[he]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],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",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-De":[{"scroll-De":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-De":[{"scroll-De":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"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",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[B,S,le]}],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"],De:["px","py","ps","De","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],De:["mx","my","ms","De","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-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-De":["scroll-mx","scroll-my","scroll-ms","scroll-De","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-De":["scroll-px","scroll-py","scroll-ps","scroll-De","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=Ar(Vr);function c(...e){return ze((0,Fe.clsx)(e))}var Ee=require("@radix-ui/react-slot"),Ge=require("class-variance-authority"),Le=U(require("react")),De=require("react/jsx-runtime"),Qr=(0,Ge.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"}}}),V=Le.forwardRef(({asChild:e=!1,className:r,size:t,variant:n,...l},o)=>(0,De.jsx)(e?Ee.Slot:"button",{className:c(Qr({className:r,size:t,variant:n})),ref:o,...l}));V.displayName="Button";var ce=U(require("next/link")),O=e=>{let{type:r,appearance:t="inline",children:n,className:l,label:o,newTab:a,reference:s,size:d,url:u}=e,f=r==="reference"&&typeof(s==null?void 0:s.value)=="object"&&s.value.slug?`${(s==null?void 0:s.relationTo)!=="pages"?`/${s==null?void 0:s.relationTo}`:""}/${s.value.slug}`:u;if(!f)return null;let w=t==="link"?"clear":d,v=a?{rel:"noopener noreferrer",target:"_blank"}:{};return t==="inline"?(0,De.jsxs)(ce.default,{className:c(l),href:f||u||"",...v,children:[o&&o,n&&n]}):(0,De.jsx)(V,{asChild:!0,className:l,size:w,variant:t,children:(0,De.jsxs)(ce.default,{className:c(l),href:f||u||"",...v,children:[o&&o,n&&n]})})};var Ue=({links:e,richText:r})=>(0,De.jsx)("div",{className:"container",children:(0,De.jsxs)("div",{className:"bg-card rounded border-border border De-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,De.jsx)("div",{className:"max-w-[48rem] flex items-center",children:r&&(0,De.jsx)(F,{className:"mb-0",content:r,enableGutter:!1})}),(0,De.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:t},n)=>(0,De.jsx)(O,{size:"lg",...t},n))})]})});var q=require("prism-react-renderer");var He=require("lucide-react"),je=require("react");function Ve({code:e}){let[r,t]=(0,je.useState)("Copy");function n(){r==="Copy"&&(t(()=>"Copied!"),setTimeout(()=>{t(()=>"Copy")},1e3))}return(0,De.jsx)("div",{className:"flex justify-end align-middle",children:(0,De.jsxs)(V,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),n()},children:[(0,De.jsx)("De",{children:r}),(0,De.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,De.jsx)(He.ClipboardCopy,{})})]})})}var Qe=({code:e,language:r=""})=>e?(0,De.jsx)(q.Highlight,{code:e,language:r,theme:q.themes.vsDark,children:({getLineProps:t,getTokenProps:n,tokens:l})=>(0,De.jsxs)("pre",{className:"bg-black De-4 border text-xs border-border rounded overflow-x-auto",children:[l.map((o,a)=>(0,De.jsxs)("div",{...t({className:"table-row",line:o}),children:[(0,De.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:a+1}),(0,De.jsx)("span",{className:"table-cell pl-4",children:o.map((s,d)=>(0,De.jsx)("span",{...n({token:s})},d))})]},a)),(0,De.jsx)(Ve,{code:e})]})}):null;var Oe=({className:e,code:r,language:t})=>(0,De.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,De.jsx)(Qe,{code:r,language:t})});var _e=U(require("next/image")),Or={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},Je="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=",Ke=e=>{let{alt:r,fill:t,imgClassName:n,priority:l,resource:o,size:a,src:s,loading:d}=e,u,f,w=r,v=s||"";if(!v&&o&&typeof o=="object"){let{alt:y,filename:h,height:x,url:k,width:T}=o;if(x&&x>500){let N=500/x;u=T*N,f=x*N}else u=T,f=x;w=y||"",v=k||Je}let C=d||"lazy",A=a||Object.entries(Or).map(([,y])=>`(max-width: ${y}px) ${y*2}w`).join(", ");return(0,De.jsx)("picture",{children:(0,De.jsx)(_e.default,{alt:w||"",className:c(n),fill:t,height:t?void 0:f,placeholder:"blur",blurDataURL:Je,priority:C!=="lazy"&&l,quality:100,loading:C,sizes:A,src:v,width:t?void 0:u})})};var Ye=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var Xe=()=>{if(Ye){let e=window.location.protocol,r=window.location.hostname,t=window.location.port;return`${e}//${r}${t?`:${t}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var qe=e=>{let{onClick:r,resource:t,videoClassName:n}=e,l=(0,je.useRef)(null);if((0,je.useEffect)(()=>{let{current:o}=l;o&&o.addEventListener("suspend",()=>{})},[]),t&&typeof t=="object"){let{filename:o}=t;return(0,De.jsx)("video",{autoPlay:!0,className:c(n),controls:!1,loop:!0,muted:!0,onClick:r,playsInline:!0,ref:l,children:(0,De.jsx)("source",{src:`${Xe()}/media/${o}`})})}return null};var $=e=>{var a;let{className:r,htmlElement:t="div",resource:n}=e,l=typeof n=="object"&&((a=n==null?void 0:n.mimeType)==null?void 0:a.includes("video"));return(0,De.jsx)(t||je.Fragment,{...t!==null?{className:r}:{},children:l?(0,De.jsx)(qe,{...e}):(0,De.jsx)(Ke,{...e})})};var Ze=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:l,staticImage:o}=e;return(0,De.jsx)("div",{className:c("h-full ",{container:t},r),children:(0,De.jsx)($,{imgClassName:c("rounded-[0.8rem]",n),className:"flex justify-center",resource:l,src:o})})};var $e=e=>{let{className:r,enableGutter:t=!0,imgClassName:n,media:l,staticImage:o}=e;return(0,De.jsx)("div",{className:c("",{container:t},r),children:(0,De.jsx)($,{imgClassName:c("rounded-[0.8rem]",n),resource:l,src:o})})};var be=({type:e="solid",iconName:r="cloud",size:t="lg",className:n})=>{let l=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+r,a=n!=null?n:"",s=l+o+" fa-"+t+" "+a;return(0,De.jsx)("i",{className:s})};var tr=U(require("next/image"));function rr(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function ge({image:e,icon:r,title:t,subtitle:n,content:l,statistic:o,settings:a,link:s,className:d}){var w,v;let u={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,De.jsxs)("div",{className:c("min-w-56 max-w-xl h-full flex flex-col group",e?"De-0 md:De-0":"De-8 md:De-8",a&&!e&&u[(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[(w=a==null?void 0:a.width)!=null?w:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",a&&`intersect:animate-delay-${a.order||1}00`,d),children:[e&&(0,De.jsx)("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:(0,De.jsx)(tr.default,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),(0,De.jsxs)("div",{className:c(e?"De-4 md:De-1 md:px-8":"De-0 md:De-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[n&&(0,De.jsx)("div",{className:"mb-4 text-primary uppercase font-light",children:n}),(0,De.jsx)("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:(0,De.jsx)(Jr,{icon:{type:(r==null?void 0:r.type)||"fa-light",iconName:(r==null?void 0:r.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(a==null?void 0:a.card)==="default"?"solid":(v=a==null?void 0:a.card)!=null?v:"solid",iconSize:(a==null?void 0:a.iconSize)||"large"})}),o&&(0,De.jsx)("div",{className:"mb-6",children:(0,De.jsx)("div",{className:c("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})}),l&&typeof l=="object"&&(0,De.jsx)(F,{enableGutter:!1,content:l,enableProse:!1,className:c("space-y-6",(a==null?void 0:a.card)==="outline"||(a==null?void 0:a.card)==="light"?"prose prose-headings:text-foreground prose-De:text-foreground":"prose prose-headings:text-white prose-De:text-gray-100",e&&"prose prose-headings:text-background prose-De:text-background")}),l&&typeof l=="string"&&(0,De.jsx)("div",{className:c("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:l}),s&&s.url&&(0,De.jsx)("div",{className:"pt-6 h-full flex items-end justify-start",children:(0,De.jsx)("a",{className:"text-accent justify-start font-semibold uppercase",href:s.url||"#",children:(s==null?void 0:s.label)||"Find out more"})}),(a==null?void 0:a.card)==="radial"&&(0,De.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 Jr=({icon:e,heading:r,variant:t,iconSize:n,subtitle:l})=>e&&n==="small"&&e.iconName!="no-icon-error"?(0,De.jsxs)("div",{className:"flex items-start justify-between w-full mb-2",children:[(0,De.jsx)("div",{className:c("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",n==="small"?"text-2xl":"text-3xl"),children:r}),rr(e)&&(0,De.jsx)("div",{className:c("rounded-full De-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",n==="small"?"-mr-2 ml-1 mt-1":""),children:(0,De.jsx)(be,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?(0,De.jsxs)("div",{className:"flex flex-col gap-4",children:[rr(e)&&(0,De.jsx)("div",{className:c("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:(0,De.jsx)(be,{type:e.type,iconName:e.iconName,size:"4x"})}),(0,De.jsx)("h3",{className:c("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})]}):(0,De.jsx)("div",{className:"flex items-center gap-4 mb-2",children:(0,De.jsx)("div",{className:c("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:r})});var or=({title:e,description:r,features:t,id:n,nested:l=!1})=>(0,De.jsxs)("section",{className:c(!l&&"container","w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,De.jsx)("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:n||"",children:e}),r&&typeof r=="string"&&(0,De.jsx)("De",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:r}),r&&typeof r=="object"&&(0,De.jsx)("De",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:(0,De.jsx)(F,{content:r,enableGutter:!1})}),(0,De.jsx)("div",{className:`grid gap-8 mt-10 md:grid-cols-${t?t.length:1}`,children:t&&t.map((o,a)=>{var d;let s=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,icon:o.icon.icon}};return(0,De.jsx)(ge,{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:(d=s())!=null?d:{type:"none",icon:null}},a)})})]});var ee=U(require("react"));function J({nodes:e}){return(0,De.jsx)(ee.Fragment,{children:e==null?void 0:e.map((r,t)=>{if(r==null)return null;if(r.type==="text"&&r.text){let o=(0,De.jsx)(ee.default.Fragment,{children:r.text},t);return r.format&1&&(o=(0,De.jsx)("strong",{children:o},t)),r.format&2&&(o=(0,De.jsx)("em",{children:o},t)),r.format&4&&(o=(0,De.jsx)("span",{style:{textDecoration:"line-through"},children:o},t)),r.format&8&&(o=(0,De.jsx)("span",{style:{textDecoration:"underline"},children:o},t)),r.format&16&&(o=(0,De.jsx)("code",{children:r.text},t)),r.format&32&&(o=(0,De.jsx)("sub",{children:o},t)),r.format&64&&(o=(0,De.jsx)("sup",{children:o},t)),o}if(r.type==="table")return(0,De.jsx)("table",{children:(0,De.jsx)("tbody",{children:r.children.map((o,a)=>(0,De.jsx)("tr",{children:o.children.map((s,d)=>(0,De.jsx)("td",{children:J({nodes:s.children})},d))},a))})},t);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 J({nodes:o.children})},l="children"in r?n(r):"";if(r.type==="block"){let o=r.fields,a=o==null?void 0:o.blockType;if(!o||!a)return null;switch(a){case"cta":return(0,De.jsx)(Ue,{...o},t);case"mediaBlock":return(0,De.jsx)(Ze,{className:"col-start-1 col-span-3",imgClassName:"De-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return(0,De.jsx)($e,{className:"col-start-1 col-span-3",imgClassName:"De-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return(0,De.jsx)(ye,{className:"col-start-2 mb-4",...o},t);case"code":return(0,De.jsx)(Oe,{className:"col-start-2",...o},t);case"features":return(0,De.jsx)(or,{...o,nested:!0},t);case"reusableContentBlock":J({nodes:o.reusableContent.layout});default:return null}}else switch(r.type){case"linebreak":return(0,De.jsx)("br",{className:"col-start-2"},t);case"paragraph":return(0,De.jsx)("De",{className:"col-start-2",children:l},t);case"heading":{let o=r==null?void 0:r.tag;return(0,De.jsx)(o,{className:"col-start-2",id:(r==null?void 0:r.id)||"",children:l},t)}case"list":{let o=r==null?void 0:r.tag;return(0,De.jsx)(o,{className:"list col-start-2",children:l},t)}case"listitem":return(r==null?void 0:r.checked)!=null?(0,De.jsx)("li",{"aria-checked":r.checked?"true":"false",className:` ${r.checked,""}`,role:"checkbox",tabIndex:-1,value:r==null?void 0:r.value,children:l},t):(0,De.jsx)("li",{value:r==null?void 0:r.value,children:l},t);case"quote":return(0,De.jsx)("blockquote",{className:"col-start-2",children:l},t);case"link":{let o=r.fields;return(0,De.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:l},t)}case"autolink":{let o=r.fields;return(0,De.jsx)(O,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:l},t)}default:return null}})})}var F=({className:e,content:r,enableGutter:t=!0,enableProse:n=!0})=>{var l;return r?(0,De.jsx)("div",{className:c({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":n},e),children:r&&!Array.isArray(r)&&typeof r=="object"&&"root"in r&&J({nodes:(l=r==null?void 0:r.root)==null?void 0:l.children})}):null};var ye=({className:e,content:r,style:t})=>(0,De.jsx)("div",{className:c("mx-auto my-8 w-full",e),children:(0,De.jsx)("div",{className:c("border py-3 px-6 flex items-center rounded",{"border-border bg-card":t==="info","border-error bg-error/30":t==="error","border-success bg-success/30":t==="success","border-warning bg-warning/30":t==="warning"}),children:(0,De.jsx)(F,{content:r,enableGutter:!1,enableProse:!1})})});0&&(module.exports={BannerBlock});
@@ -1 +1 @@
1
- import{a}from"../../chunk-XJF3K46N.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.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 BannerBlock};
1
+ import{a}from"../../chunk-CELZCB5S.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-44VMK4FL.mjs";import"../../chunk-M6M43TLT.mjs";import"../../chunk-FGWIT6CV.mjs";import"../../chunk-OI2YT2ZF.mjs";import"../../chunk-EY5QX73B.mjs";import"../../chunk-YCX5N23N.mjs";import"../../chunk-2A6JF3LE.mjs";import"../../chunk-4YJ3HV64.mjs";import"../../chunk-FCCL6W7R.mjs";import"../../chunk-WLBZXBU3.mjs";import"../../chunk-TFWGOEV7.mjs";import"../../chunk-2NFKSNJW.mjs";import"../../chunk-FI4SMRAR.mjs";import"../../chunk-5IQPAE6K.mjs";import"../../chunk-JWDVKGZL.mjs";import"../../chunk-44TDI42O.mjs";import"../../chunk-BOPZHZ27.mjs";import"../../chunk-BDX257W2.mjs";import"../../chunk-Y2KKUQDU.mjs";import"../../chunk-VZXLXNVY.mjs";import"../../chunk-SBM5HULF.mjs";import"../../chunk-Q6SEVCRG.mjs";import"../../chunk-D76EO57Z.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 BannerBlock};