cortex-react-components 1.58.7 → 1.58.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/dist/{chunk-KIICLHKI.mjs → chunk-23BDC5JG.mjs} +1 -1
  2. package/dist/{chunk-KB6PO4K4.mjs → chunk-2IKC7MAP.mjs} +1 -1
  3. package/dist/{chunk-RGNXTAFZ.mjs → chunk-2RVL66MW.mjs} +1 -1
  4. package/dist/{chunk-NCHGLVBP.mjs → chunk-2SU53XDR.mjs} +1 -1
  5. package/dist/{chunk-QWIPKYIZ.mjs → chunk-2U53LYZN.mjs} +1 -1
  6. package/dist/{chunk-MCSTFFZG.mjs → chunk-2W4IMTIV.mjs} +1 -1
  7. package/dist/{chunk-Z7P4QOKT.mjs → chunk-4TCLIMFP.mjs} +1 -1
  8. package/dist/{chunk-MQJD6N67.mjs → chunk-5DBGTQXM.mjs} +1 -1
  9. package/dist/{chunk-UP27Z4JX.mjs → chunk-5FTK7M24.mjs} +1 -1
  10. package/dist/{chunk-KO65QOS5.mjs → chunk-5VBW5FB7.mjs} +1 -1
  11. package/dist/{chunk-BCLUGJ2Q.mjs → chunk-67JKMTJF.mjs} +1 -1
  12. package/dist/{chunk-3GYJDXNA.mjs → chunk-6YWAX7NS.mjs} +1 -1
  13. package/dist/{chunk-ICWR76CT.mjs → chunk-7OBH6AB6.mjs} +1 -1
  14. package/dist/{chunk-CSNKYRV5.mjs → chunk-7XB4Y3U2.mjs} +1 -1
  15. package/dist/chunk-CFAC7SPP.mjs +1 -0
  16. package/dist/{chunk-T4I5D4XZ.mjs → chunk-D44ZXHH4.mjs} +1 -1
  17. package/dist/{chunk-ZQQDJGJY.mjs → chunk-DJUA7Y5M.mjs} +1 -1
  18. package/dist/{chunk-GTEZREKW.mjs → chunk-E5JYGW3N.mjs} +1 -1
  19. package/dist/{chunk-2NHLKRCX.mjs → chunk-E7435ZAX.mjs} +1 -1
  20. package/dist/chunk-G6JBMV6L.mjs +1 -0
  21. package/dist/{chunk-SBAFXZVU.mjs → chunk-IO222G5L.mjs} +1 -1
  22. package/dist/{chunk-HZM4OKZH.mjs → chunk-IXQCI4MS.mjs} +1 -1
  23. package/dist/chunk-KCNRSNZG.mjs +4 -0
  24. package/dist/{chunk-EGLMLI2W.mjs → chunk-KIRUMRMR.mjs} +1 -1
  25. package/dist/chunk-L2QAYSRV.mjs +4 -0
  26. package/dist/{chunk-36EAXL6N.mjs → chunk-MSOWUU4F.mjs} +1 -1
  27. package/dist/{chunk-QT6BO6YZ.mjs → chunk-OAPZSHCC.mjs} +1 -1
  28. package/dist/{chunk-TRQODJCW.mjs → chunk-OD73JG7G.mjs} +1 -1
  29. package/dist/{chunk-VDDWSLGQ.mjs → chunk-OH22UHIS.mjs} +1 -1
  30. package/dist/{chunk-7A4OSPVQ.mjs → chunk-OH2S6BBQ.mjs} +1 -1
  31. package/dist/{chunk-OUKKI47A.mjs → chunk-PIM2JQYT.mjs} +1 -1
  32. package/dist/{chunk-PY53YVFX.mjs → chunk-QMFZRG7O.mjs} +1 -1
  33. package/dist/{chunk-WRPTP2UD.mjs → chunk-S7I4XJS6.mjs} +1 -1
  34. package/dist/{chunk-ISHEP5MI.mjs → chunk-SKE7TSLO.mjs} +1 -1
  35. package/dist/{chunk-7IZ2X75V.mjs → chunk-SMD2U5NY.mjs} +1 -1
  36. package/dist/{chunk-Y3XN73Z4.mjs → chunk-SYL22HOJ.mjs} +1 -1
  37. package/dist/{chunk-5MMZE4EE.mjs → chunk-SZ4YPF72.mjs} +1 -1
  38. package/dist/{chunk-KQJLOUAU.mjs → chunk-T67YJGQO.mjs} +1 -1
  39. package/dist/{chunk-TEUAGEUG.mjs → chunk-X6ZPGBTM.mjs} +1 -1
  40. package/dist/{chunk-BQWQWWJI.mjs → chunk-XNAHLO24.mjs} +1 -1
  41. package/dist/{chunk-MQX2OF6Q.mjs → chunk-ZOHEYTN6.mjs} +1 -1
  42. package/dist/components/Blocks/Banner.js +1 -1
  43. package/dist/components/Blocks/Banner.mjs +1 -1
  44. package/dist/components/Blocks/CallToAction.js +1 -1
  45. package/dist/components/Blocks/CallToAction.mjs +1 -1
  46. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  47. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  48. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  49. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  50. package/dist/components/Blocks/CollapsibleArea.stories.js +1 -1
  51. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  52. package/dist/components/Blocks/Content.js +1 -1
  53. package/dist/components/Blocks/Content.mjs +1 -1
  54. package/dist/components/Blocks/Content.stories.js +1 -1
  55. package/dist/components/Blocks/Content.stories.mjs +1 -1
  56. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  57. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  58. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  59. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  60. package/dist/components/Blocks/RelatedPosts.js +1 -1
  61. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  62. package/dist/components/Blocks/RenderBlocks.js +1 -1
  63. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  64. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  65. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  66. package/dist/components/Blocks/index.js +1 -1
  67. package/dist/components/Blocks/index.mjs +1 -1
  68. package/dist/components/CRM/DealDetails.mjs +1 -1
  69. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  70. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  71. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  72. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  73. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  74. package/dist/components/CRM/NewDealForm.mjs +1 -1
  75. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  76. package/dist/components/CRM/index.mjs +1 -1
  77. package/dist/components/Cards/ContentCard.js +1 -1
  78. package/dist/components/Cards/ContentCard.mjs +1 -1
  79. package/dist/components/Cards/ContentCard.stories.js +1 -1
  80. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  81. package/dist/components/Cards/FeatureCard.js +1 -1
  82. package/dist/components/Cards/FeatureCard.mjs +1 -1
  83. package/dist/components/Cards/FeatureCard.stories.js +1 -1
  84. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  85. package/dist/components/Cards/index.js +2 -2
  86. package/dist/components/Cards/index.mjs +1 -1
  87. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  88. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  89. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  90. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  91. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  92. package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
  93. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  94. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  95. package/dist/components/Heros/HighImpact/index.js +1 -1
  96. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  97. package/dist/components/Heros/LowImpact/index.js +1 -1
  98. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  99. package/dist/components/Heros/MediumImpact/index.js +1 -1
  100. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  101. package/dist/components/Heros/PostHero/index.mjs +1 -1
  102. package/dist/components/Heros/RenderHero.js +1 -1
  103. package/dist/components/Heros/RenderHero.mjs +1 -1
  104. package/dist/components/Heros/index.js +1 -1
  105. package/dist/components/Heros/index.mjs +1 -1
  106. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  107. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  108. package/dist/components/Holidays/index.mjs +1 -1
  109. package/dist/components/Layouts/FeatureGrid.stories.js +1 -1
  110. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  111. package/dist/components/Layouts/OutputHeaderFooter.js +1 -1
  112. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  113. package/dist/components/Layouts/Print.js +1 -1
  114. package/dist/components/Layouts/Print.mjs +1 -1
  115. package/dist/components/Layouts/Print.stories.js +1 -1
  116. package/dist/components/Layouts/Print.stories.mjs +1 -1
  117. package/dist/components/Layouts/SlideShow.js +1 -1
  118. package/dist/components/Layouts/SlideShow.mjs +1 -1
  119. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  120. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  121. package/dist/components/Layouts/index.js +3 -3
  122. package/dist/components/Layouts/index.mjs +1 -1
  123. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  124. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  125. package/dist/components/Menus/SidebarRight.mjs +1 -1
  126. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  127. package/dist/components/Menus/index.mjs +1 -1
  128. package/dist/components/Payload/RichText/index.js +1 -1
  129. package/dist/components/Payload/RichText/index.mjs +1 -1
  130. package/dist/components/Payload/RichText/serialize.js +1 -1
  131. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  132. package/dist/components/Payload/RichText.stories.js +1 -1
  133. package/dist/components/Payload/RichText.stories.mjs +1 -1
  134. package/dist/components/Payload/index.js +1 -1
  135. package/dist/components/Payload/index.mjs +1 -1
  136. package/dist/components/index.js +3 -3
  137. package/dist/components/index.mjs +1 -1
  138. package/dist/components/ui/index.mjs +1 -1
  139. package/dist/components/ui/sidebar.mjs +1 -1
  140. package/dist/globals.css +1 -1
  141. package/dist/index.js +6 -6
  142. package/dist/index.mjs +1 -1
  143. package/dist/metafile-cjs.json +1 -1
  144. package/dist/metafile-esm.json +1 -1
  145. package/dist/pages/Blog.js +1 -1
  146. package/dist/pages/Blog.mjs +1 -1
  147. package/dist/pages/Blog.stories.js +1 -1
  148. package/dist/pages/Blog.stories.mjs +1 -1
  149. package/dist/pages/Documentation.mjs +1 -1
  150. package/dist/pages/Documentation.stories.mjs +1 -1
  151. package/dist/pages/IndexPage.mjs +1 -1
  152. package/dist/pages/IndexPage.stories.mjs +1 -1
  153. package/dist/pages/Intranet.mjs +1 -1
  154. package/dist/pages/Intranet.stories.mjs +1 -1
  155. package/dist/pages/LandingPage.js +2 -2
  156. package/dist/pages/LandingPage.mjs +1 -1
  157. package/dist/pages/LandingPage.stories.js +2 -2
  158. package/dist/pages/LandingPage.stories.mjs +1 -1
  159. package/dist/pages/Page.js +1 -1
  160. package/dist/pages/Page.mjs +1 -1
  161. package/dist/pages/Page.stories.js +20 -20
  162. package/dist/pages/Page.stories.mjs +1 -1
  163. package/dist/pages/Printable.stories.js +1 -1
  164. package/dist/pages/Printable.stories.mjs +1 -1
  165. package/dist/pages/Publish.js +1 -1
  166. package/dist/pages/Publish.mjs +1 -1
  167. package/dist/pages/Publish.stories.js +1 -1
  168. package/dist/pages/Publish.stories.mjs +1 -1
  169. package/dist/pages/Website.js +1 -1
  170. package/dist/pages/Website.mjs +1 -1
  171. package/dist/pages/Website.stories.js +1 -1
  172. package/dist/pages/Website.stories.mjs +1 -1
  173. package/dist/sections/AboutSection.js +1 -1
  174. package/dist/sections/AboutSection.mjs +1 -1
  175. package/dist/sections/AboutSection.stories.js +1 -1
  176. package/dist/sections/AboutSection.stories.mjs +1 -1
  177. package/dist/sections/BlogDetail.js +1 -1
  178. package/dist/sections/BlogDetail.mjs +1 -1
  179. package/dist/sections/BlogDetail.stories.js +1 -1
  180. package/dist/sections/BlogDetail.stories.mjs +1 -1
  181. package/dist/sections/BlogList.js +2 -2
  182. package/dist/sections/BlogList.mjs +1 -1
  183. package/dist/sections/BlogList.stories.js +2 -2
  184. package/dist/sections/BlogList.stories.mjs +1 -1
  185. package/dist/sections/BlogListSection.mjs +1 -1
  186. package/dist/sections/BlogListSection.stories.mjs +1 -1
  187. package/dist/sections/ContactSection.js +1 -1
  188. package/dist/sections/ContactSection.mjs +1 -1
  189. package/dist/sections/ContactSection.stories.js +1 -1
  190. package/dist/sections/ContactSection.stories.mjs +1 -1
  191. package/dist/sections/ImageSection.stories.js +1 -1
  192. package/dist/sections/ImageSection.stories.mjs +1 -1
  193. package/dist/sections/PageSections.js +3 -3
  194. package/dist/sections/PageSections.mjs +1 -1
  195. package/dist/sections/PageSections.stories.js +3 -3
  196. package/dist/sections/PageSections.stories.mjs +1 -1
  197. package/dist/sections/PricingSection.js +1 -1
  198. package/dist/sections/PricingSection.mjs +1 -1
  199. package/dist/sections/PricingSection.stories.js +1 -1
  200. package/dist/sections/PricingSection.stories.mjs +1 -1
  201. package/dist/sections/ServiceDetail.js +1 -1
  202. package/dist/sections/ServiceDetail.mjs +1 -1
  203. package/dist/sections/ServiceDetailSection.js +1 -1
  204. package/dist/sections/ServiceDetailSection.mjs +1 -1
  205. package/dist/sections/ServiceDetailSection.stories.js +1 -1
  206. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  207. package/dist/sections/ServiceSection.js +1 -1
  208. package/dist/sections/ServiceSection.mjs +1 -1
  209. package/dist/sections/ServiceSection.stories.js +1 -1
  210. package/dist/sections/ServiceSection.stories.mjs +1 -1
  211. package/dist/sections/form/index.js +1 -1
  212. package/dist/sections/form/index.mjs +1 -1
  213. package/dist/sections/index.js +2 -2
  214. package/dist/sections/index.mjs +1 -1
  215. package/package.json +1 -1
  216. package/dist/chunk-ACML7DJK.mjs +0 -1
  217. package/dist/chunk-DRCWKHJ3.mjs +0 -1
  218. package/dist/chunk-GHWZZAOE.mjs +0 -4
  219. package/dist/chunk-NNVCDURD.mjs +0 -4
@@ -1 +0,0 @@
1
- import{a as n}from"./chunk-DRCWKHJ3.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-GHWZZAOE.mjs";import{a as m}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(m,{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(n,{...t,invert:!0})}),e(l,{})]})})})]})}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 +0,0 @@
1
- import{f as s}from"./chunk-NNVCDURD.mjs";import{a as n}from"./chunk-NIQ4466A.mjs";import{jsx as t,jsxs as c}from"react/jsx-runtime";function f({subtitle:r,title:o,description:e,alignment:a="start",hasBottomSpacing:i=!1,className:m,invert:l=!1}){let p=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},"prose",m);return c("div",{className:p,children:[r&&t("span",{className:"mb-[.625rem] block font-bold uppercase text-accent md:text-md",children:r}),t("h2",{className:n("text-primary mt-0"),children:o}),typeof e=="string"?e&&t("p",{className:"mt-5 whitespace-pre-line text-foreground",children:e}):e&&t(s,{content:e,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{f as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{a as p}from"./chunk-NOEITQK2.mjs";import{a as C}from"./chunk-EG6XIOOJ.mjs";import{a as f}from"./chunk-CTKUF2I6.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as h}from"formik";import{FaUser as N}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as r}from"react/jsx-runtime";var t={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,t.tooShort).max(50,t.tooLong).required(t.required),email:m.string().email(t.email).required(t.required),subject:m.string().min(2,t.tooShort).max(50,t.tooLong).required(t.required),message:m.string().min(2,t.tooShort).max(300,t.tooLong).required(t.required)}),u=i("!pr-[44px] text-foreground"),g=i("!border-red-600 border"),d=i("sr-only");function T(){return e(h,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:s})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),s())},children:({errors:a,touched:s,values:o,handleChange:n,handleBlur:c,isSubmitting:l,handleSubmit:x})=>r("form",{onSubmit:x,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[r("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:n,onBlur:c,disabled:l,icon:e(N,{className:"text-primary"}),className:i(u,a.name&&s.name&&g)}),a.name&&s.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),r("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:n,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.email&&s.email&&g)}),a.email&&s.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),r("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:n,onBlur:c,disabled:l,className:i(u,a.subject&&s.subject&&g)}),a.subject&&s.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),r("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:n,onBlur:c,disabled:l,icon:e(y,{}),className:i(u,a.message&&s.message&&g)}),a.message&&s.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2 light",children:e(v,{type:"submit",className:"w-full outline rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:l,children:e("span",{children:"Send"})})})]})})}function w(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function y(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{T as a};
@@ -1,4 +0,0 @@
1
- "use client";
2
- "use strict";
3
-
4
- import{i as G,j as _,k as O,l as $,m as J,n as U,o as X}from"./chunk-O5BAW5XQ.mjs";import{a as b}from"./chunk-44VMK4FL.mjs";import{a as S}from"./chunk-GHWZZAOE.mjs";import{a as F}from"./chunk-2A6JF3LE.mjs";import{a as D}from"./chunk-4YJ3HV64.mjs";import{a as R}from"./chunk-2NFKSNJW.mjs";import{b as I}from"./chunk-BDX257W2.mjs";import{a as x}from"./chunk-SFLOMJ2U.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import{useState as q}from"react";import{jsx as u,jsxs as w}from"react/jsx-runtime";var ie=({links:a,richText:e})=>u("div",{className:"container",children:w("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[u("div",{className:"max-w-[48rem] flex items-center",children:e&&u(f,{className:"mb-0",content:e,enableGutter:!1})}),u("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:t},s)=>u(b,{size:"lg",...t},s))})]})}),z=({links:a,richText:e})=>{let[t,s]=q(!1),c="accent",r=()=>s(!0),l=()=>s(!1),d=n=>{n.target===n.currentTarget&&l()};return w("div",{className:o("relative isolate overflow-hidden",c==="accent"?"bg-accent":"bg-black"),children:[u("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:w("div",{className:"mx-auto max-w-2xl text-center prose",children:[e&&u(f,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:e,enableGutter:!1}),u("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:u("div",{className:"flex flex-col gap-8 text-white",children:(a||[]).map(({link:n},y)=>(n==null?void 0:n.url)==="/contact"?u("div",{onClick:r,className:o("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",c==="accent"?"border-white bg-accent":"border-accent bg-black"),children:n.label},y):u(b,{size:"lg",className:o("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",c==="accent"?"border-white bg-accent":"border-accent bg-black"),...n},y))})})]})}),t&&u("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:d,children:w("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg relative",children:[u("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:l,children:"\u2715"}),u(S,{})," "]})})]})};import K from"next/image";import{jsx as m,jsxs as B}from"react/jsx-runtime";function A(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function C({image:a,icon:e,title:t,subtitle:s,content:c,statistic:r,settings:l,link:d,className:n}){var k,v;let y={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"},N={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return B("div",{className:o("min-w-56 max-w-xl h-full flex flex-col group",a?"p-0 md:p-0":"p-8 md:p-8",l&&!a&&y[(l==null?void 0:l.card)==="default"?"solid":l==null?void 0:l.card],a&&"bg-foreground",l&&(l==null?void 0:l.card)==="outline"?"text-gray-900":"text-white",N[(k=l==null?void 0:l.width)!=null?k:"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",l&&`intersect:animate-delay-${l.order||1}00`,n),children:[a&&m("div",{className:"relative h-1/2 lg:h-2/3 w-full mb-0",children:m(K,{src:a.url||"/placeholder.svg",alt:a.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),B("div",{className:o(a?"p-4 md:p-1 md:px-8":"p-0 md:p-0","flex h-2/5 md:max-h-1/2 flex-col flex-grow"),children:[s&&m("div",{className:"mb-4 text-primary uppercase font-light",children:s}),m("div",{className:"flex items-center gap-4 mb-2 md:mb-0",children:m(Q,{icon:{type:(e==null?void 0:e.type)||"fa-light",iconName:(e==null?void 0:e.icon)||"no-icon-error"},heading:t!=null?t:"",variant:(l==null?void 0:l.card)==="default"?"solid":(v=l==null?void 0:l.card)!=null?v:"solid",iconSize:(l==null?void 0:l.iconSize)||"large"})}),r&&m("div",{className:"mb-6",children:m("div",{className:o("text-4xl text-wrap font-bold leading-none overflow-hidden",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"text-brand-green":"text-white"),children:r})}),c&&typeof c=="object"&&m(f,{enableGutter:!1,content:c,enableProse:!1,className:o("space-y-6",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100",a&&"prose prose-headings:text-background prose-p:text-background")}),c&&typeof c=="string"&&m("div",{className:o("space-y-6",(l==null?void 0:l.card)==="outline"||(l==null?void 0:l.card)==="light"?"prose text-foreground":"prose text-gray-100",a&&"prose text-background"),children:c}),d&&d.url&&m("div",{className:"pt-6 h-full flex items-end justify-start",children:m("a",{className:"text-accent justify-start font-semibold uppercase",href:d.url||"#",children:(d==null?void 0:d.label)||"Find out more"})}),(l==null?void 0:l.card)==="radial"&&m("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 Q=({icon:a,heading:e,variant:t,iconSize:s,subtitle:c})=>a&&s==="small"&&a.iconName!="no-icon-error"?B("div",{className:"flex items-start justify-between w-full mb-2",children:[m("div",{className:o(t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e}),A(a)&&m("div",{className:o("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"-mr-2 ml-1 mt-1":""),children:m(x,{type:a.type,iconName:a.iconName,size:"2x"})})]}):a&&a.iconName!="no-icon-error"?B("div",{className:"flex flex-col gap-4",children:[A(a)&&m("div",{className:o("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:m(x,{type:a.type,iconName:a.iconName,size:"4x"})}),m("h3",{className:o("font-normal",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl text-white"),children:e})]}):m("div",{className:"flex items-center gap-4 mb-2",children:m("div",{className:o("font-regular",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as p,jsxs as P}from"react/jsx-runtime";function M(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function he({variant:a="outline",className:e,icon:t,iconSize:s="large",width:c="auto",order:r=0,heading:l,subheading:d,content:n,statistic:y,buttonText:N,buttonHref:k}){let v={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:""},H={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return P("div",{className:o("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",v[a],a==="outline"?"text-gray-900":"text-white",e,H[c],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${r+1}00`),children:[p("div",{className:"flex items-center gap-4 mb-2",children:p(V,{icon:t,heading:l,variant:a,iconSize:s})}),y&&p("div",{className:"mb-6",children:p("div",{className:o("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:y})}),d&&p("div",{className:"mb-4 text-xl md:text-2xl font-light",children:d}),n&&typeof n=="object"&&p("div",{className:o("space-y-6"),children:p(f,{enableGutter:!1,content:n,enableProse:!1,className:o(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),n&&typeof n=="string"&&p("div",{className:o("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:n}),N&&p("div",{className:"mt-auto pt-6 flex items-center justify-center",children:p(I,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:p("a",{href:k,children:N})})}),a==="radial"&&p("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 V=({icon:a,heading:e,variant:t,iconSize:s})=>a&&s==="small"?P("div",{className:"flex items-start gap-4 mb-2",children:[M(a)&&p("div",{className:o("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"mt-2":""),children:p(x,{type:a.type,iconName:a.iconName,size:"2x"})}),p("div",{className:o("font-semibold",t==="outline"||t==="light"?"text-primary":"text-white",s==="small"?"text-2xl":"text-3xl"),children:e})]}):a?P("div",{className:"flex flex-col gap-4",children:[M(a)&&p("div",{className:o("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",t==="outline"||t==="light"?"text-accent":""),children:p(x,{type:a.type,iconName:a.iconName,size:"4x"})}),p("h3",{className:o("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):p("div",{className:"flex items-center gap-4 mb-2",children:p("div",{className:o("font-semibold",t==="outline"||t==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as g,jsxs as L}from"react/jsx-runtime";var j=({title:a,description:e,features:t,id:s,nested:c=!1})=>L("section",{className:o(c?"w-full":"container",""),children:[L("div",{className:"prose prose:max-w-none",children:[a&&g("h2",{className:"mb-6 mt-0 text-primary",id:s||"",children:a}),e&&typeof e=="string"&&g("p",{className:"mb-5 text-foreground",children:e}),e&&typeof e=="object"&&g("div",{className:"mb-5 text-foreground",children:g(f,{content:e,enableGutter:!1})})]}),g("div",{className:`grid gap-6 mt-6 md:grid-cols-${t?t.length>2?2:t.length:1} lg:grid-cols-${t?t.length>3?3:t.length:1}`,children:t&&t.map((r,l)=>{var n;let d=()=>{if(r.icon&&"type"in r.icon&&r.icon.type!=="none")return{type:r.icon.type,icon:r.icon.icon}};return g(C,{title:r.title||"",content:r.content||void 0,statistic:r.statistic||void 0,settings:{...r.settings,width:"auto",order:l},link:r.link?{...r.link,label:"Learn more"}:void 0,icon:(n=d())!=null?n:{type:"none",icon:null}},l)})})]});import W,{Fragment as Y}from"react";import{jsx as i}from"react/jsx-runtime";function h({nodes:a}){return i(Y,{children:a==null?void 0:a.map((e,t)=>{if(e==null)return null;if(e.type==="text"&&e.text){let r=i(W.Fragment,{children:e.text},t);return e.format&1&&(r=i("strong",{children:r},t)),e.format&2&&(r=i("em",{children:r},t)),e.format&4&&(r=i("span",{style:{textDecoration:"line-through"},children:r},t)),e.format&8&&(r=i("span",{style:{textDecoration:"underline"},children:r},t)),e.format&16&&(r=i("code",{children:e.text},t)),e.format&32&&(r=i("sub",{children:r},t)),e.format&64&&(r=i("sup",{children:r},t)),r}if(e.type==="table")return i("table",{children:i("tbody",{children:e.children.map((r,l)=>i("tr",{children:r.children.map((d,n)=>i("td",{children:h({nodes:d.children})},n))},l))})},t);let s=r=>{if(r.children==null)return null;if((r==null?void 0:r.type)==="list"&&(r==null?void 0:r.listType)==="check")for(let l of r.children)"checked"in l&&(l!=null&&l.checked||(l.checked=!1));return h({nodes:r.children})},c="children"in e?s(e):"";if(e.type==="block"){let r=e.fields,l=r==null?void 0:r.blockType;if(!r||!l)return null;switch(l){case"cta":return i(z,{...r},t);case"mediaBlock":return i(F,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"imageBlock":return i(D,{className:"col-start-1 col-span-3",imgClassName:"m-0",...r,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},t);case"banner":return i(E,{className:"col-start-2 mb-4",...r},t);case"code":return i(R,{className:"col-start-2",...r},t);case"features":return i(j,{...r,nested:!0},t);case"reusableContentBlock":h({nodes:r.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return i("br",{className:"col-start-2"},t);case"paragraph":return i("p",{className:"col-start-2",children:c},t);case"heading":{let r=e==null?void 0:e.tag;return i(r,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:c},t)}case"list":{let r=e==null?void 0:e.tag;return i(r,{className:"list col-start-2",children:c},t)}case"listitem":return(e==null?void 0:e.checked)!=null?i("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:c},t):i("li",{value:e==null?void 0:e.value,children:c},t);case"quote":return i("blockquote",{className:"col-start-2",children:c},t);case"link":{let r=e.fields;return i(b,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}case"autolink":{let r=e.fields;return i(b,{newTab:!!(r!=null&&r.newTab),reference:r.doc,type:r.linkType==="internal"?"reference":"custom",url:r.url,children:c},t)}default:return null}})})}import{jsx as Z}from"react/jsx-runtime";var f=({className:a,content:e,enableGutter:t=!0,enableProse:s=!0})=>{var c;return e?Z("div",{className:o({"container ":t,"max-w-none":!t,"mx-auto prose dark:prose-invert ":s},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&h({nodes:(c=e==null?void 0:e.root)==null?void 0:c.children})}):null};import{jsx as T}from"react/jsx-runtime";var E=({className:a,content:e,style:t})=>T("div",{className:o("mx-auto my-8 w-full",a),children:T("div",{className:o("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:T(f,{content:e,enableGutter:!1,enableProse:!1})})});export{E as a,ie as b,z as c,j as d,h as e,f,C as g,he as h};