cortex-react-components 1.48.5 → 1.48.7

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 (185) hide show
  1. package/dist/{chunk-74KJ5V34.mjs → chunk-4J2HMR3M.mjs} +1 -1
  2. package/dist/{chunk-ABQMNGD4.mjs → chunk-4Z5RNIJS.mjs} +1 -1
  3. package/dist/{chunk-KB6PO4K4.mjs → chunk-5YTDIEDJ.mjs} +1 -1
  4. package/dist/chunk-6LTYVYSU.mjs +1 -0
  5. package/dist/chunk-7QQXXEMN.mjs +1 -0
  6. package/dist/{chunk-SBAFXZVU.mjs → chunk-AAI2VZST.mjs} +1 -1
  7. package/dist/{chunk-6FRJZXX4.mjs → chunk-B4N2AO3O.mjs} +1 -1
  8. package/dist/chunk-D4NKFRUO.mjs +1 -0
  9. package/dist/{chunk-V6QZFOJH.mjs → chunk-DIPGFDJV.mjs} +1 -1
  10. package/dist/{chunk-7FMMXR7S.mjs → chunk-DLCGGIZW.mjs} +1 -1
  11. package/dist/{chunk-5SEB2VCD.mjs → chunk-E2LKSCDR.mjs} +1 -1
  12. package/dist/{chunk-LIAT3JG5.mjs → chunk-EFL3B4LN.mjs} +1 -1
  13. package/dist/{chunk-5EFOKBKA.mjs → chunk-EQDX6HFN.mjs} +1 -1
  14. package/dist/{chunk-RRL4ZH6T.mjs → chunk-FZ2WYNIY.mjs} +1 -1
  15. package/dist/{chunk-SEG6IDDX.mjs → chunk-G5HD4IFA.mjs} +1 -1
  16. package/dist/{chunk-DESYC5BB.mjs → chunk-GHBJK554.mjs} +1 -1
  17. package/dist/{chunk-BWT2MAIT.mjs → chunk-HZRY77JK.mjs} +1 -1
  18. package/dist/{chunk-ECOVEIOV.mjs → chunk-I3JB7SE2.mjs} +1 -1
  19. package/dist/{chunk-72Z4T7BT.mjs → chunk-I5EBXVLE.mjs} +1 -1
  20. package/dist/{chunk-MY3PX5GI.mjs → chunk-IQ7LAP7P.mjs} +1 -1
  21. package/dist/{chunk-RY75YBKF.mjs → chunk-JRCLJPTB.mjs} +1 -1
  22. package/dist/{chunk-TUQRCNY6.mjs → chunk-K56DRD3X.mjs} +1 -1
  23. package/dist/{chunk-PY53YVFX.mjs → chunk-KEUZSK3N.mjs} +1 -1
  24. package/dist/{chunk-FR65RGJD.mjs → chunk-OWEP2U4M.mjs} +1 -1
  25. package/dist/{chunk-JBRBY7EX.mjs → chunk-PVFLV5NN.mjs} +1 -1
  26. package/dist/{chunk-UMILL4LR.mjs → chunk-QO2Z7WXW.mjs} +1 -1
  27. package/dist/{chunk-N25OHVNY.mjs → chunk-QZA2ZGA2.mjs} +1 -1
  28. package/dist/{chunk-Y6CZVVJF.mjs → chunk-RHPFEIP4.mjs} +1 -1
  29. package/dist/{chunk-GOMLTG5W.mjs → chunk-RZTXT4UD.mjs} +1 -1
  30. package/dist/{chunk-EQFBRT7L.mjs → chunk-T3M2VHKT.mjs} +1 -1
  31. package/dist/chunk-U273RBBL.mjs +1 -0
  32. package/dist/{chunk-VQXQZ5TQ.mjs → chunk-WX5WBQM3.mjs} +1 -1
  33. package/dist/{chunk-NRE4HHK7.mjs → chunk-XB5YGSYM.mjs} +1 -1
  34. package/dist/{chunk-KTVHPTON.mjs → chunk-XBQBJTNI.mjs} +1 -1
  35. package/dist/chunk-YKY5E6KS.mjs +1 -0
  36. package/dist/{chunk-A2CXTTX4.mjs → chunk-YQUBQIDC.mjs} +1 -1
  37. package/dist/{chunk-23L5ZJ2U.mjs → chunk-Z4CK655R.mjs} +1 -1
  38. package/dist/{chunk-JGAQ62DH.mjs → chunk-ZYDXLN4L.mjs} +1 -1
  39. package/dist/components/Blocks/Banner.js +1 -1
  40. package/dist/components/Blocks/Banner.mjs +1 -1
  41. package/dist/components/Blocks/CallToAction.js +1 -1
  42. package/dist/components/Blocks/CallToAction.mjs +1 -1
  43. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  44. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  45. package/dist/components/Blocks/Content.js +1 -1
  46. package/dist/components/Blocks/Content.mjs +1 -1
  47. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  48. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  49. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  50. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  51. package/dist/components/Blocks/ImageBlock.js +1 -1
  52. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  53. package/dist/components/Blocks/MediaBlock.js +1 -1
  54. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  55. package/dist/components/Blocks/RelatedPosts.js +1 -1
  56. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  57. package/dist/components/Blocks/RenderBlocks.d.ts +4 -0
  58. package/dist/components/Blocks/RenderBlocks.js +1 -1
  59. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  60. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  61. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  62. package/dist/components/Blocks/index.js +1 -1
  63. package/dist/components/Blocks/index.mjs +1 -1
  64. package/dist/components/CRM/DealDetails.mjs +1 -1
  65. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  66. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  67. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  68. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  69. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  70. package/dist/components/CRM/NewDealForm.mjs +1 -1
  71. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  72. package/dist/components/CRM/index.mjs +1 -1
  73. package/dist/components/Cards/ContentCard.js +1 -1
  74. package/dist/components/Cards/ContentCard.mjs +1 -1
  75. package/dist/components/Cards/ContentCard.stories.js +1 -1
  76. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  77. package/dist/components/Cards/index.js +1 -1
  78. package/dist/components/Cards/index.mjs +1 -1
  79. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  80. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  81. package/dist/components/HeaderFooter/Header.mjs +1 -1
  82. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  83. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  84. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  85. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  86. package/dist/components/HeaderFooter/index.mjs +1 -1
  87. package/dist/components/Heros/HighImpact/index.js +1 -1
  88. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  89. package/dist/components/Heros/LowImpact/index.js +1 -1
  90. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  91. package/dist/components/Heros/MediumImpact/index.js +1 -1
  92. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  93. package/dist/components/Heros/PostHero/index.mjs +1 -1
  94. package/dist/components/Heros/RenderHero.js +1 -1
  95. package/dist/components/Heros/RenderHero.mjs +1 -1
  96. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  97. package/dist/components/Heros/index.js +1 -1
  98. package/dist/components/Heros/index.mjs +1 -1
  99. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  100. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  101. package/dist/components/Holidays/index.mjs +1 -1
  102. package/dist/components/Layouts/BlogList.js +3 -3
  103. package/dist/components/Layouts/BlogList.mjs +1 -1
  104. package/dist/components/Layouts/BlogList.stories.js +1 -1
  105. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  106. package/dist/components/Layouts/SlideShow.js +1 -1
  107. package/dist/components/Layouts/SlideShow.mjs +1 -1
  108. package/dist/components/Layouts/SlideShow.stories.js +1 -1
  109. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  110. package/dist/components/Layouts/index.js +3 -3
  111. package/dist/components/Layouts/index.mjs +1 -1
  112. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  113. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  114. package/dist/components/Menus/SidebarRight.mjs +1 -1
  115. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  116. package/dist/components/Menus/index.mjs +1 -1
  117. package/dist/components/Payload/RichText/index.js +1 -1
  118. package/dist/components/Payload/RichText/index.mjs +1 -1
  119. package/dist/components/Payload/RichText/serialize.js +1 -1
  120. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  121. package/dist/components/Payload/RichText.stories.js +1 -1
  122. package/dist/components/Payload/RichText.stories.mjs +1 -1
  123. package/dist/components/Payload/index.js +1 -1
  124. package/dist/components/Payload/index.mjs +1 -1
  125. package/dist/components/index.js +6 -6
  126. package/dist/components/index.mjs +1 -1
  127. package/dist/components/ui/index.mjs +1 -1
  128. package/dist/components/ui/sidebar.mjs +1 -1
  129. package/dist/globals.css +1 -1
  130. package/dist/index.js +8 -8
  131. package/dist/index.mjs +1 -1
  132. package/dist/metafile-cjs.json +1 -1
  133. package/dist/metafile-esm.json +1 -1
  134. package/dist/pages/Blog.js +1 -1
  135. package/dist/pages/Blog.mjs +1 -1
  136. package/dist/pages/Blog.stories.js +1 -1
  137. package/dist/pages/Blog.stories.mjs +1 -1
  138. package/dist/pages/Documentation.mjs +1 -1
  139. package/dist/pages/Documentation.stories.mjs +1 -1
  140. package/dist/pages/IndexPage.mjs +1 -1
  141. package/dist/pages/IndexPage.stories.mjs +1 -1
  142. package/dist/pages/Intranet.mjs +1 -1
  143. package/dist/pages/Intranet.stories.mjs +1 -1
  144. package/dist/pages/LandingPage.mjs +1 -1
  145. package/dist/pages/LandingPage.stories.mjs +1 -1
  146. package/dist/pages/Page.js +1 -1
  147. package/dist/pages/Page.mjs +1 -1
  148. package/dist/pages/Page.stories.js +85 -85
  149. package/dist/pages/Page.stories.mjs +1 -1
  150. package/dist/pages/Publish.js +1 -1
  151. package/dist/pages/Publish.mjs +1 -1
  152. package/dist/pages/Publish.stories.js +1 -1
  153. package/dist/pages/Publish.stories.mjs +1 -1
  154. package/dist/pages/Website.js +1 -1
  155. package/dist/pages/Website.mjs +1 -1
  156. package/dist/pages/Website.stories.js +2 -2
  157. package/dist/pages/Website.stories.mjs +1 -1
  158. package/dist/sections/AboutSection.js +1 -1
  159. package/dist/sections/AboutSection.mjs +1 -1
  160. package/dist/sections/AboutSection.stories.js +1 -1
  161. package/dist/sections/AboutSection.stories.mjs +1 -1
  162. package/dist/sections/BlogDetail.js +1 -1
  163. package/dist/sections/BlogDetail.mjs +1 -1
  164. package/dist/sections/BlogDetail.stories.js +1 -1
  165. package/dist/sections/BlogDetail.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/PricingSection.js +1 -1
  175. package/dist/sections/PricingSection.mjs +1 -1
  176. package/dist/sections/PricingSection.stories.js +1 -1
  177. package/dist/sections/PricingSection.stories.mjs +1 -1
  178. package/dist/sections/form/index.mjs +1 -1
  179. package/dist/sections/index.js +1 -1
  180. package/dist/sections/index.mjs +1 -1
  181. package/package.json +1 -1
  182. package/dist/chunk-7FR5BXX2.mjs +0 -1
  183. package/dist/chunk-D2VK2HQD.mjs +0 -1
  184. package/dist/chunk-PVRWMAHW.mjs +0 -1
  185. package/dist/chunk-WKHESSJP.mjs +0 -1
@@ -1 +1 @@
1
- import{a as i}from"../chunk-LIAT3JG5.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-7FR5BXX2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as r}from"react/jsx-runtime";var u={title:"Website Components/BlogDetail",component:i,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[a=>r(a,{})]},e=a=>r(i,{...a}),t=e.bind({});t.args={categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}};var l=e.bind({});l.args={...t.args,pages:{totalPages:40,page:20}};var o=e.bind({});o.args={...t.args,page:{...t.args.page,categoryList:{title:"Categories"}},categoryList:null};var s=e.bind({});s.args={...t.args,page:{...t.args.page,authors:[{id:1,name:"Dave Brown",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:""}],populatedAuthors:[{id:1,name:"Dave Brown"}]}};export{t as Default,l as LoadsOfBlogs,s as NoAuthorImage,o as NoCategories,u as default};
1
+ import{a as i}from"../chunk-EFL3B4LN.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-D4NKFRUO.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-7QQXXEMN.mjs";import"../chunk-RHPFEIP4.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as r}from"react/jsx-runtime";var u={title:"Website Components/BlogDetail",component:i,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[a=>r(a,{})]},e=a=>r(i,{...a}),t=e.bind({});t.args={categoryList:{title:"Categories",links:[{label:"Category 1",href:1},{label:"Category 2",href:2},{label:"Category 3",href:3}]},page:{id:2,title:"Test Post 2",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum. Cras vehicula, libero a pharetra dictum, urna lectus porttitor lacus, at dapibus justo quam vel metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non velit nec arcu volutpat dignissim in a lorem.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Proin sagittis sem et elit fringilla, nec fringilla eros maximus. Nulla facilisi. Ut sit amet facilisis lectus. Fusce ornare metus at ante tristique, nec elementum eros fermentum. Integer volutpat magna sed justo tincidunt, sit amet aliquam arcu pellentesque. Phasellus imperdiet mi vitae ligula pharetra, a dignissim velit vehicula.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Suspendisse potenti. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus. Praesent faucibus, orci a varius dapibus, lorem libero convallis est, et consequat libero magna sit amet risus. Maecenas tincidunt erat et felis sodales, nec malesuada sem tincidunt. Duis sed nisl euismod, ullamcorper augue at, rutrum felis.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[],direction:null,textStyle:"",textFormat:0},{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Aenean ut ligula ac libero vehicula luctus. Integer ultricies nisl id mi dictum, eget tincidunt augue interdum. Sed eu malesuada erat. Nam fringilla lectus id dolor gravida lacinia. Aliquam erat volutpat. Vestibulum nec ipsum vitae elit dapibus suscipit vel at ipsum.",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},relatedPosts:[],categories:[{id:1,title:"Test Category 1",slug:"test-category-1",updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",_status:"published"}],meta:{title:"Test Post 1",image:null,description:null},publishedAt:"2025-01-06T20:17:25.595Z",authors:[{id:1,name:"Rob",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:"rob@sdsdd.com",loginAttempts:0}],populatedAuthors:[{id:1,name:"Rob Ellison"}],publishedToWebsite:!1,slug:"test-post-2",slugLock:!0,updatedAt:"2025-01-06T20:17:31.465Z",createdAt:"2025-01-06T20:17:27.818Z",_status:"published"}};var l=e.bind({});l.args={...t.args,pages:{totalPages:40,page:20}};var o=e.bind({});o.args={...t.args,page:{...t.args.page,categoryList:{title:"Categories"}},categoryList:null};var s=e.bind({});s.args={...t.args,page:{...t.args.page,authors:[{id:1,name:"Dave Brown",jobRole:null,profilePicture:null,workHistory:[],certifications:[],areasOfExpertise:[],dateOfBirth:null,joinDate:null,role:"admin",sub:null,updatedAt:"2025-01-06T20:16:54.416Z",createdAt:"2025-01-06T20:16:54.416Z",enableAPIKey:null,apiKey:null,email:""}],populatedAuthors:[{id:1,name:"Dave Brown"}]}};export{t as Default,l as LoadsOfBlogs,s as NoAuthorImage,o as NoCategories,u as default};
@@ -1 +1 @@
1
- import{a}from"../chunk-BOZT7Z5K.mjs";import"../chunk-AD7PG4E2.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-SBAFXZVU.mjs";import"../chunk-PY53YVFX.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as BlogListSection};
1
+ import{a}from"../chunk-BOZT7Z5K.mjs";import"../chunk-AD7PG4E2.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-AAI2VZST.mjs";import"../chunk-KEUZSK3N.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";export{a as BlogListSection};
@@ -1 +1 @@
1
- import{a as t}from"../chunk-BOZT7Z5K.mjs";import"../chunk-AD7PG4E2.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-SBAFXZVU.mjs";import"../chunk-PY53YVFX.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-KB6PO4K4.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as a}from"react/jsx-runtime";var l={title:"Website Components/BlogListSection",component:t,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>a(e,{})]},o=e=>a(t,{...e}),s=o.bind({});s.args={pages:{totalPages:4,page:1},types:[{label:"All",href:"1"},{label:"Announcements",href:"3"},{label:"Blogs",href:"4"},{label:"Articles",href:"5"},{label:"Case Studies",href:"6"}],categories:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"2"},{label:"Stock market",href:"3"},{label:"Regular start",href:"4"},{label:"Regular start",href:"5"}]},blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/blog-lg-1.png",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/blog-lg-2.png",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/blog-lg-3.png",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var r=o.bind({});r.args={...s.args,pages:{totalPages:40,page:20}};var i=o.bind({});i.args={...s.args,categories:{title:"Categories"}};export{s as Default,r as LoadsOfBlogs,i as NoCategories,l as default};
1
+ import{a as t}from"../chunk-BOZT7Z5K.mjs";import"../chunk-AD7PG4E2.mjs";import"../chunk-JODGODRI.mjs";import"../chunk-KJ2C7CBU.mjs";import"../chunk-WZLEEZ5C.mjs";import"../chunk-MGZMAVEP.mjs";import"../chunk-AAI2VZST.mjs";import"../chunk-KEUZSK3N.mjs";import"../chunk-TXXFXCXB.mjs";import"../chunk-5YTDIEDJ.mjs";import"../chunk-BSQVKZCW.mjs";import"../chunk-Y5VTKEKS.mjs";import"../chunk-CGBVZQYY.mjs";import"../chunk-YNCJATT7.mjs";import"../chunk-QOIH63J3.mjs";import"../chunk-OAOCXXC2.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-YNNW2C2U.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-FRWX5YES.mjs";import"../chunk-S7OK7D5I.mjs";import{jsx as a}from"react/jsx-runtime";var l={title:"Website Components/BlogListSection",component:t,tags:["autodocs"],parameters:{nextjs:{appDirectory:!0},docs:{description:{component:"A card component that displays a service with an icon, title, description, and a link."}}},argTypes:{icon:{control:"text"},title:{control:"text"},description:{control:"text"},slug:{control:"text"}},decorators:[e=>a(e,{})]},o=e=>a(t,{...e}),s=o.bind({});s.args={pages:{totalPages:4,page:1},types:[{label:"All",href:"1"},{label:"Announcements",href:"3"},{label:"Blogs",href:"4"},{label:"Articles",href:"5"},{label:"Case Studies",href:"6"}],categories:{title:"Categories",links:[{label:"General",href:"1"},{label:"Business Advice",href:"2"},{label:"Stock market",href:"3"},{label:"Regular start",href:"4"},{label:"Regular start",href:"5"}]},blogs:[{slug:"/blog/pioneering-progress",image:{src:"/assets/images/blog/blog-lg-1.png",alt:"Pioneering Progress, One Algorithm at a Time"},authors:[{name:"admin with a long name"},{name:"demo"}],categories:["Technology","Other"],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"05",title:"Pioneering Progress, One Algorithm at a Time",description:"Aliquam eros justo, posuere lobortis non, viverra laoreet augue mattis start fermentum ullamcorper viverra laoreet. By Admin. Technology. 28th February 2022. Leave a comment."},{slug:"/blog/innovative-solutions",image:{src:"/assets/images/blog/blog-lg-2.png",alt:"Innovative Solutions for Modern Problems"},publishedAt:"2025-01-01T17:19:41.270Z",categories:[],commentCount:"10",title:"Innovative Solutions for Modern Problems",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. By John Doe. Innovation. 15th March 2022. Leave a comment."},{slug:"/blog/future-of-tech",image:{src:"/assets/images/blog/blog-lg-3.png",alt:"The Future of Technology"},authors:[{name:"admin"},{name:"demo"}],publishedAt:"2025-01-01T17:19:41.270Z",commentCount:"08",title:"The Future of Technology",description:"Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. By Jane Doe. Future. 22nd April 2022. Leave a comment."}]};var r=o.bind({});r.args={...s.args,pages:{totalPages:40,page:20}};var i=o.bind({});i.args={...s.args,categories:{title:"Categories"}};export{s as Default,r as LoadsOfBlogs,i as NoCategories,l as default};
@@ -2,4 +2,4 @@
2
2
  "use strict";
3
3
  'use server'
4
4
 
5
- "use strict";var Pt=Object.create;var re=Object.defineProperty;var St=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var Tt=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty;var Mt=(e,t)=>{for(var r in t)re(e,r,{get:t[r],enumerable:!0})},Le=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of It(t))!Rt.call(e,s)&&s!==r&&re(e,s,{get:()=>t[s],enumerable:!(a=St(t,s))||a.enumerable});return e};var j=(e,t,r)=>(r=e!=null?Pt(Tt(e)):{},Le(t||!e||!e.__esModule?re(r,"default",{value:e,enumerable:!0}):r,e)),Et=e=>Le(re({},"__esModule",{value:!0}),e);var wr={};Mt(wr,{ContactSection:()=>vr});module.exports=Et(wr);var Bt=j(require("next/image"));var Ge="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Oe=require("clsx");var we="-",Ft=e=>{let t=Lt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let n=i.split(we);return n[0]===""&&n.length!==1&&n.shift(),He(n,t)||zt(i)},getConflictingClassGroupIds:(i,n)=>{let p=r[i]||[];return n&&a[i]?[...p,...a[i]]:p}}},He=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?He(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(we);return(i=t.validators.find(({validator:n})=>n(o)))==null?void 0:i.classGroupId},Ue=/^\[(.+)\]$/,zt=e=>{if(Ue.test(e)){let t=Ue.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Lt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Ut(Object.entries(e.classGroups),r).forEach(([o,i])=>{ve(i,a,o,t)}),a},ve=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:De(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Gt(s)){ve(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{ve(i,De(t,o),r,a)})})},De=(e,t)=>{let r=e;return t.split(we).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Gt=e=>e.isThemeGetter,Ut=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,n])=>[t+i,n])):o);return[r,s]}):e,Dt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},Ke="!",Ht=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,i=n=>{let p=[],u=0,f=0,v;for(let x=0;x<n.length;x++){let A=n[x];if(u===0){if(A===s&&(a||n.slice(x,x+o)===t)){p.push(n.slice(f,x)),f=x+o;continue}if(A==="/"){v=x;continue}}A==="["?u++:A==="]"&&u--}let w=p.length===0?n:n.substring(f),B=w.startsWith(Ke),P=B?w.substring(1):w,h=v&&v>f?v-f:void 0;return{modifiers:p,hasImportantModifier:B,baseClassName:P,maybePostfixModifierPosition:h}};return r?n=>r({className:n,parseClassName:i}):i},Kt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},jt=e=>({cache:Dt(e.cacheSize),parseClassName:Ht(e),...Ft(e)}),Yt=/\s+/,Qt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(Yt),n="";for(let p=i.length-1;p>=0;p-=1){let u=i[p],{modifiers:f,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:B}=r(u),P=!!B,h=a(P?w.substring(0,B):w);if(!h){if(!P){n=u+(n.length>0?" "+n:n);continue}if(h=a(w),!h){n=u+(n.length>0?" "+n:n);continue}P=!1}let x=Kt(f).join(":"),A=v?x+Ke:x,N=A+h;if(o.includes(N))continue;o.push(N);let G=s(h,P);for(let U=0;U<G.length;++U){let $=G[U];o.push(A+$)}n=u+(n.length>0?" "+n:n)}return n};function Vt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=je(t))&&(a&&(a+=" "),a+=r);return a}var je=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=je(e[a]))&&(r&&(r+=" "),r+=t);return r};function Ot(e,...t){let r,a,s,o=i;function i(p){let u=t.reduce((f,v)=>v(f),e());return r=jt(u),a=r.cache.get,s=r.cache.set,o=n,n(p)}function n(p){let u=a(p);if(u)return u;let f=Qt(p,r);return s(p,f),f}return function(){return o(Vt.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ye=/^\[(?:([a-z-]+):)?(.+)\]$/i,Jt=/^\_e+\/\_e+$/,_t=new Set(["px","full","screen"]),qt=/^(\_e+(\.\_e+)?)?(xs|sm|md|lg|xl)$/,Wt=/\_e+(%|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$/,Xt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Zt=/^(inset_)?-?((\_e+)?\.?(\_e+)[a-z]+|0)_-?((\_e+)?\.?(\_e+)[a-z]+|0)/,$t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>Y(e)||_t.has(e)||Jt.test(e),F=e=>Q(e,"length",ir),Y=e=>!!e&&!Number.isNaN(Number(e)),xe=e=>Q(e,"number",Y),_=e=>!!e&&Number.isInteger(Number(e)),er=e=>e.endsWith("%")&&Y(e.slice(0,-1)),c=e=>Ye.test(e),z=e=>qt.test(e),tr=new Set(["length","size","percentage"]),rr=e=>Q(e,tr,Qe),or=e=>Q(e,"position",Qe),ar=new Set(["image","url"]),sr=e=>Q(e,ar,cr),nr=e=>Q(e,"",lr),q=()=>!0,Q=(e,t,r)=>{let a=Ye.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},ir=e=>Wt.test(e)&&!Xt.test(e),Qe=()=>!1,lr=e=>Zt.test(e),cr=e=>$t.test(e);var pr=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),a=b("brightness"),s=b("borderColor"),o=b("borderRadius"),i=b("borderSpacing"),n=b("borderWidth"),p=b("contrast"),u=b("grayscale"),f=b("hueRotate"),v=b("invert"),w=b("gap"),B=b("gradientColorStops"),P=b("gradientColorStopPositions"),h=b("inset"),x=b("margin"),A=b("opacity"),N=b("padding"),G=b("saturate"),U=b("scale"),$=b("sepia"),Ie=b("skew"),Te=b("space"),Re=b("translate"),fe=()=>["auto","contain","none"],be=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",c,t],y=()=>[c,t],Me=()=>["",R,F],ee=()=>["auto",Y,c],Ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],te=()=>["solid","dashed","dotted","double","none"],Fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],he=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",c],ze=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[Y,c];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[R,F],blur:["none","",z,c],brightness:T(),borderColor:[e],borderRadius:["none","","full",z,c],borderSpacing:y(),borderWidth:Me(),contrast:T(),grayscale:J(),hueRotate:T(),invert:J(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[er,F],inset:ye(),margin:ye(),opacity:T(),padding:y(),saturate:T(),scale:T(),sepia:J(),skew:T(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":ze()}],"break-before":[{"break-before":ze()}],"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:[...Ee(),c]}],overflow:[{overflow:be()}],"overflow-x":[{"overflow-x":be()}],"overflow-y":[{"overflow-y":be()}],overscroll:[{overscroll:fe()}],"overscroll-x":[{"overscroll-x":fe()}],"overscroll-y":[{"overscroll-y":fe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,c]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",_,c]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",_,c]},c]}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[_,c]},c]}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...he()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...he(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...he(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],_e:[{_e:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],rt:[{rt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[Te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xe]}],"font-family":[{font:[q]}],"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",c]}],"line-clamp":[{"line-clamp":["none",Y,xe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,F]}],"underline-offset":[{"underline-offset":["auto",R,c]}],"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:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ee(),or]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",rr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},sr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[B]}],"gradient-via":[{via:[B]}],"gradient-to":[{to:[B]}],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-rt":[{"rounded-rt":[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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...te(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:te()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...te()]}],"outline-offset":[{"outline-offset":[R,c]}],"outline-w":[{outline:[R,F]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Me()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[R,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,nr]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",z,c]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[v]}],saturate:[{saturate:[G]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-x":[{"scale-x":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[_,c]}],"translate-x":[{"translate-x":[Re]}],"translate-y":[{"translate-y":[Re]}],"skew-x":[{"skew-x":[Ie]}],"skew-y":[{"skew-y":[Ie]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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","_e-resize","nw-resize","rt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-_e":[{"scroll-_e":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-rt":[{"scroll-rt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,F,xe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],_e:["mx","my","ms","me","rt","mr","mb","ml"],mx:["mr","ml"],my:["rt","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-rt","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-rt","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-_e":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-rt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-rt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ve=Ot(pr);function l(...e){return Ve((0,Oe.clsx)(e))}var _e=require("react/jsx-runtime");function Je({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,_e.jsx)("div",{className:s,children:e})}var qe=({className:e,content:t,style:r})=>(0,_e.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,_e.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,_e.jsx)(S,{content:t,enableGutter:!1,enableProse:!1})})});var We=require("@radix-ui/react-slot"),Xe=require("class-variance-authority"),Ze=j(require("react")),dr=(0,Xe.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"}}}),M=Ze.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,$e.jsx)(e?We.Slot:"button",{className:l(dr({className:t,size:r,variant:a})),ref:o,...s}));M.displayName="Button";var Ae=j(require("next/link")),X=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:i,reference:n,size:p,url:u}=e,f=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:u;if(!f)return null;let v=r==="link"?"clear":p,w=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,_e.jsxs)(Ae.default,{className:l(s),href:f||u||"",...w,children:[o&&o,a&&a]}):(0,_e.jsx)(M,{asChild:!0,className:s,size:v,variant:r,children:(0,_e.jsxs)(Ae.default,{className:l(s),href:f||u||"",...w,children:[o&&o,a&&a]})})};var et=({links:e,richText:t})=>(0,_e.jsx)("div",{className:"container",children:(0,_e.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,_e.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,_e.jsx)(S,{className:"mb-0",content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,_e.jsx)(X,{size:"lg",...r},a))})]})});var ae=require("prism-react-renderer");var tt=require("lucide-react"),rt=require("react");function ot({code:e}){let[t,r]=(0,rt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,_e.jsx)("div",{className:"flex justify-end align-middle",children:(0,_e.jsxs)(M,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,_e.jsx)("p",{children:t}),(0,_e.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,_e.jsx)(tt.ClipboardCopy,{})})]})})}var at=({code:e,language:t=""})=>e?(0,_e.jsx)(ae.Highlight,{code:e,language:t,theme:ae.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,_e.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,i)=>(0,_e.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,_e.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,_e.jsx)("span",{className:"table-cell pl-4",children:o.map((n,p)=>(0,_e.jsx)("span",{...a({token:n})},p))})]},i)),(0,_e.jsx)(ot,{code:e})]})}):null;var st=({className:e,code:t,language:r})=>(0,_e.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,_e.jsx)(at,{code:t,language:r})});var it=j(require("next/image")),mr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},nt="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=",lt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:i,src:n,loading:p}=e,u,f,v=t,w=n||"";if(!w&&o&&typeof o=="object"){let{alt:h,filename:x,height:A,url:N,width:G}=o;u=G,f=A,v=h||"",w=N||nt}let B=p||"lazy",P=i||Object.entries(mr).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,_e.jsx)("picture",{children:(0,_e.jsx)(it.default,{alt:v||"",className:l(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:nt,priority:B!=="lazy"&&s,quality:100,loading:B,sizes:P,src:w,width:r?void 0:u})})};var ct=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var pt=()=>{if(ct){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var dt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,rt.useRef)(null);if((0,rt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,_e.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,_e.jsx)("source",{src:`${pt()}/media/${o}`})})}return null};var ie=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,_e.jsx)(r||rt.Fragment,{...r!==null?{className:t}:{},children:s?(0,_e.jsx)(dt,{...e}):(0,_e.jsx)(lt,{...e})})};var ut=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,_e.jsx)("div",{className:l("",{container:r},t),children:(0,_e.jsx)(ie,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var gt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,_e.jsx)("div",{className:l("",{container:r},t),children:(0,_e.jsx)(ie,{imgClassName:l("border border-border rounded-[0.8rem]",a),resource:s,src:o})})};var ft=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",n=s+o+" fa-"+r+" "+i;return(0,_e.jsx)("i",{className:n})};function ur(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function yt({variant:e="light",className:t,icon:r,heading:a,subheading:s,content:o,statistic:i,buttonText:n,buttonHref:p}){return(0,_e.jsxs)("div",{className:l("rounded-3xl p-8 md:p-12",{solid:"bg-[#A42368]",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,_e.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,_e.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:ur(r)?(0,_e.jsx)(ft,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,_e.jsx)("h2",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&i&&(0,_e.jsx)("div",{className:"mb-6",children:(0,_e.jsx)("div",{className:"text-[8rem] font-bold leading-none",children:i})}),s&&(0,_e.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),o&&typeof o=="object"&&(0,_e.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,_e.jsx)(S,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,_e.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),n&&(0,_e.jsx)("div",{className:"rt-8",children:(0,_e.jsx)(M,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,_e.jsxs)("a",{href:p,children:[n,(0,_e.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,_e.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 ht=({title:e,description:t,features:r,id:a})=>(0,_e.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,_e.jsx)("h2",{className:"mb-6 rt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,_e.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,_e.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,_e.jsx)(S,{content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:`grid gap-8 rt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{var i,n,p,u,f;if(((i=s.settings)==null?void 0:i.contents)==="icon")return(0,_e.jsx)(gr,{section:s,index:o},o);{let v=()=>{if(s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,_e.jsx)(yt,{variant:((n=s.settings)==null?void 0:n.card)==="default"?"solid":((p=s.settings)==null?void 0:p.card)||"solid",icon:v()||void 0,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(u=s.link)!=null&&u.url?"Find out more":void 0,buttonHref:((f=s.link)==null?void 0:f.url)||void 0},o)}})})]}),gr=({section:e,index:t})=>{if(!e)return null;let r=(0,_e.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,_e.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,_e.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,_e.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,_e.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,_e.jsx)("div",{className:"text-lg opacity-80",children:(0,_e.jsx)(S,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,_e.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var le=j(require("react"));function Z({nodes:e}){return(0,_e.jsx)(le.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,_e.jsx)(le.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,_e.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,_e.jsx)("em",{children:o},r)),t.format&4&&(o=(0,_e.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,_e.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,_e.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,_e.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,_e.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,_e.jsx)("table",{children:(0,_e.jsx)("tbody",{children:t.children.map((o,i)=>(0,_e.jsx)("tr",{children:o.children.map((n,p)=>(0,_e.jsx)("td",{children:Z({nodes:n.children})},p))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Z({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,_e.jsx)(et,{...o},r);case"mediaBlock":return(0,_e.jsx)(ut,{className:"col-start-1 col-span-3",imgClassName:"_e-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,_e.jsx)(gt,{className:"col-start-1 col-span-3",imgClassName:"_e-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,_e.jsx)(qe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,_e.jsx)(st,{className:"col-start-2",...o},r);case"features":return(0,_e.jsx)(ht,{...o},r);case"reusableContentBlock":Z({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,_e.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,_e.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,_e.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,_e.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,_e.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,_e.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,_e.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var S=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,_e.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Z({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function vt({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:s=!1,className:o,invert:i=!1}){let n=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},o);return(0,_e.jsxs)("div",{className:n,children:[e&&(0,_e.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,_e.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",i&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,_e.jsx)("p",{className:"rt-5 whitespace-pre-line",children:r}):r&&(0,_e.jsx)(S,{content:r,enableGutter:!1})]})}function ce({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function fr({className:e,...t}){return(0,_e.jsx)("input",{...t,className:ce({className:e})})}function pe({icon:e,...t}){return(0,_e.jsxs)("div",{className:"relative w-full",children:[(0,_e.jsx)(fr,{...t}),e&&(0,_e.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function br({className:e,...t}){return(0,_e.jsx)("textarea",{...t,className:l(ce({}),"resize-none md:min-h-[130px]",e)})}function wt({icon:e,...t}){return(0,_e.jsxs)("div",{className:"relative w-full",children:[(0,_e.jsx)(br,{...t}),e&&(0,_e.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Ct=require("formik"),kt=require("react-icons/fa6"),K=j(require("yup"));async function At(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let i={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let n=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Se=require("sonner"),I={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},yr=K.object().shape({name:K.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),email:K.string().email(I.email).required(I.required),subject:K.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),message:K.string().min(2,I.tooShort).max(300,I.tooLong).required(I.required)}),de=l("!pr-[44px]"),me=l("!border-red-600 border"),ue=l("sr-only");function Nt(){return(0,_e.jsx)(Ct.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:yr,onSubmit:async(e,{resetForm:t})=>{let r=await At(e);r.data===null?Se.toast.error(r.message):(Se.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:i})=>(0,_e.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(pe,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,_e.jsx)(kt.FaUser,{}),className:l(de,e.name&&t.name&&me)}),e.name&&t.name&&(0,_e.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ue,children:e.name})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(pe,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,_e.jsx)(hr,{}),className:l(de,e.email&&t.email&&me)}),e.email&&t.email&&(0,_e.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ue,children:e.email})]}),(0,_e.jsxs)("div",{className:"lg:col-span-2",children:[(0,_e.jsx)(pe,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(de,e.subject&&t.subject&&me)}),e.subject&&t.subject&&(0,_e.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ue,children:e.subject})]}),(0,_e.jsxs)("div",{className:"lg:col-span-2",children:[(0,_e.jsx)(wt,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,_e.jsx)(xr,{}),className:l(de,e.message&&t.message&&me)}),e.message&&t.message&&(0,_e.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ue,children:e.message})]}),(0,_e.jsx)("div",{className:"lg:col-span-2",children:(0,_e.jsx)(M,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,_e.jsx)("span",{children:"SEND"})})})]})})}function hr(){return(0,_e.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,_e.jsx)("path",{_e:"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 xr(){return(0,_e.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,_e.jsx)("path",{_e:"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"})})}function vr(e){let{sectionHeading:t,image:r}=e;return(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)("section",{className:"section-padding-primary",children:(0,_e.jsx)("div",{className:"",children:(0,_e.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,_e.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,_e.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,_e.jsx)("p",{className:"rt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,_e.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,s)=>{var o;return(0,_e.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,_e.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,_e.jsxs)("address",{className:"rt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((i,n)=>(0,_e.jsx)("p",{children:i},n))," ",a.mails&&(0,_e.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,_e.jsx)(kt.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,_e.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,_e.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,_e.jsx)(kt.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,_e.jsx)("section",{className:"section-padding-primary",children:(0,_e.jsxs)("div",{className:"relative py-[60px]",children:[(0,_e.jsx)("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,_e.jsx)(Bt.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ge})}),(0,_e.jsx)(Je,{children:(0,_e.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,_e.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,_e.jsx)("div",{className:"mb-30px",children:(0,_e.jsx)(vt,{...t,invert:!0})}),(0,_e.jsx)(Nt,{})]})})})]})})]})}0&&(module.exports={ContactSection});
5
+ "use strict";var Pt=Object.create;var re=Object.defineProperty;var St=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var Tt=Object.getPrototypeOf,Rt=Object.prototype.hasOwnProperty;var Mt=(e,t)=>{for(var r in t)re(e,r,{get:t[r],enumerable:!0})},Le=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of It(t))!Rt.call(e,s)&&s!==r&&re(e,s,{get:()=>t[s],enumerable:!(a=St(t,s))||a.enumerable});return e};var j=(e,t,r)=>(r=e!=null?Pt(Tt(e)):{},Le(t||!e||!e.__esModule?re(r,"default",{value:e,enumerable:!0}):r,e)),Et=e=>Le(re({},"__esModule",{value:!0}),e);var wr={};Mt(wr,{ContactSection:()=>vr});module.exports=Et(wr);var Bt=j(require("next/image"));var Ge="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";var Oe=require("clsx");var we="-",Ft=e=>{let t=Lt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:i=>{let n=i.split(we);return n[0]===""&&n.length!==1&&n.shift(),He(n,t)||zt(i)},getConflictingClassGroupIds:(i,n)=>{let p=r[i]||[];return n&&a[i]?[...p,...a[i]]:p}}},He=(e,t)=>{var i;if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),s=a?He(e.slice(1),a):void 0;if(s)return s;if(t.validators.length===0)return;let o=e.join(we);return(i=t.validators.find(({validator:n})=>n(o)))==null?void 0:i.classGroupId},Ue=/^\[(.+)\]$/,zt=e=>{if(Ue.test(e)){let t=Ue.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Lt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return Ut(Object.entries(e.classGroups),r).forEach(([o,i])=>{ve(i,a,o,t)}),a},ve=(e,t,r,a)=>{e.forEach(s=>{if(typeof s=="string"){let o=s===""?t:De(t,s);o.classGroupId=r;return}if(typeof s=="function"){if(Gt(s)){ve(s(a),t,r,a);return}t.validators.push({validator:s,classGroupId:r});return}Object.entries(s).forEach(([o,i])=>{ve(i,De(t,o),r,a)})})},De=(e,t)=>{let r=e;return t.split(we).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Gt=e=>e.isThemeGetter,Ut=(e,t)=>t?e.map(([r,a])=>{let s=a.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,n])=>[t+i,n])):o);return[r,s]}):e,Dt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,s=(o,i)=>{r.set(o,i),t++,t>e&&(t=0,a=r,r=new Map)};return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=a.get(o))!==void 0)return s(o,i),i},set(o,i){r.has(o)?r.set(o,i):s(o,i)}}},Ke="!",Ht=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,s=t[0],o=t.length,i=n=>{let p=[],u=0,f=0,v;for(let x=0;x<n.length;x++){let A=n[x];if(u===0){if(A===s&&(a||n.slice(x,x+o)===t)){p.push(n.slice(f,x)),f=x+o;continue}if(A==="/"){v=x;continue}}A==="["?u++:A==="]"&&u--}let w=p.length===0?n:n.substring(f),B=w.startsWith(Ke),P=B?w.substring(1):w,h=v&&v>f?v-f:void 0;return{modifiers:p,hasImportantModifier:B,baseClassName:P,maybePostfixModifierPosition:h}};return r?n=>r({className:n,parseClassName:i}):i},Kt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},jt=e=>({cache:Dt(e.cacheSize),parseClassName:Ht(e),...Ft(e)}),Yt=/\s+/,Qt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:s}=t,o=[],i=e.trim().split(Yt),n="";for(let p=i.length-1;p>=0;p-=1){let u=i[p],{modifiers:f,hasImportantModifier:v,baseClassName:w,maybePostfixModifierPosition:B}=r(u),P=!!B,h=a(P?w.substring(0,B):w);if(!h){if(!P){n=u+(n.length>0?" "+n:n);continue}if(h=a(w),!h){n=u+(n.length>0?" "+n:n);continue}P=!1}let x=Kt(f).join(":"),A=v?x+Ke:x,N=A+h;if(o.includes(N))continue;o.push(N);let G=s(h,P);for(let U=0;U<G.length;++U){let $=G[U];o.push(A+$)}n=u+(n.length>0?" "+n:n)}return n};function Vt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=je(t))&&(a&&(a+=" "),a+=r);return a}var je=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=je(e[a]))&&(r&&(r+=" "),r+=t);return r};function Ot(e,...t){let r,a,s,o=i;function i(p){let u=t.reduce((f,v)=>v(f),e());return r=jt(u),a=r.cache.get,s=r.cache.set,o=n,n(p)}function n(p){let u=a(p);if(u)return u;let f=Qt(p,r);return s(p,f),f}return function(){return o(Vt.apply(null,arguments))}}var b=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ye=/^\[(?:([a-z-]+):)?(.+)\]$/i,Jt=/^\_e+\/\_e+$/,_t=new Set(["px","full","screen"]),qt=/^(\_e+(\.\_e+)?)?(xs|sm|md|lg|xl)$/,Wt=/\_e+(%|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$/,Xt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Zt=/^(inset_)?-?((\_e+)?\.?(\_e+)[a-z]+|0)_-?((\_e+)?\.?(\_e+)[a-z]+|0)/,$t=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,R=e=>Y(e)||_t.has(e)||Jt.test(e),F=e=>Q(e,"length",ir),Y=e=>!!e&&!Number.isNaN(Number(e)),xe=e=>Q(e,"number",Y),_=e=>!!e&&Number.isInteger(Number(e)),er=e=>e.endsWith("%")&&Y(e.slice(0,-1)),c=e=>Ye.test(e),z=e=>qt.test(e),tr=new Set(["length","size","percentage"]),rr=e=>Q(e,tr,Qe),or=e=>Q(e,"position",Qe),ar=new Set(["image","url"]),sr=e=>Q(e,ar,cr),nr=e=>Q(e,"",lr),q=()=>!0,Q=(e,t,r)=>{let a=Ye.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},ir=e=>Wt.test(e)&&!Xt.test(e),Qe=()=>!1,lr=e=>Zt.test(e),cr=e=>$t.test(e);var pr=()=>{let e=b("colors"),t=b("spacing"),r=b("blur"),a=b("brightness"),s=b("borderColor"),o=b("borderRadius"),i=b("borderSpacing"),n=b("borderWidth"),p=b("contrast"),u=b("grayscale"),f=b("hueRotate"),v=b("invert"),w=b("gap"),B=b("gradientColorStops"),P=b("gradientColorStopPositions"),h=b("inset"),x=b("margin"),A=b("opacity"),N=b("padding"),G=b("saturate"),U=b("scale"),$=b("sepia"),Ie=b("skew"),Te=b("space"),Re=b("translate"),fe=()=>["auto","contain","none"],be=()=>["auto","hidden","clip","visible","scroll"],ye=()=>["auto",c,t],y=()=>[c,t],Me=()=>["",R,F],ee=()=>["auto",Y,c],Ee=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],te=()=>["solid","dashed","dotted","double","none"],Fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],he=()=>["start","end","center","between","around","evenly","stretch"],J=()=>["","0",c],ze=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[Y,c];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[R,F],blur:["none","",z,c],brightness:T(),borderColor:[e],borderRadius:["none","","full",z,c],borderSpacing:y(),borderWidth:Me(),contrast:T(),grayscale:J(),hueRotate:T(),invert:J(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[er,F],inset:ye(),margin:ye(),opacity:T(),padding:y(),saturate:T(),scale:T(),sepia:J(),skew:T(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",c]}],container:["container"],columns:[{columns:[z]}],"break-after":[{"break-after":ze()}],"break-before":[{"break-before":ze()}],"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:[...Ee(),c]}],overflow:[{overflow:be()}],"overflow-x":[{"overflow-x":be()}],"overflow-y":[{"overflow-y":be()}],overscroll:[{overscroll:fe()}],"overscroll-x":[{"overscroll-x":fe()}],"overscroll-y":[{"overscroll-y":fe()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",_,c]}],basis:[{basis:ye()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",c]}],grow:[{grow:J()}],shrink:[{shrink:J()}],order:[{order:["first","last","none",_,c]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",_,c]},c]}],"col-start":[{"col-start":ee()}],"col-end":[{"col-end":ee()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[_,c]},c]}],"row-start":[{"row-start":ee()}],"row-end":[{"row-end":ee()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",c]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",c]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...he()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...he(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...he(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[N]}],px:[{px:[N]}],py:[{py:[N]}],ps:[{ps:[N]}],pe:[{pe:[N]}],pt:[{pt:[N]}],pr:[{pr:[N]}],pb:[{pb:[N]}],pl:[{pl:[N]}],_e:[{_e:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],rt:[{rt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[Te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",c,t]}],"min-w":[{"min-w":[c,t,"min","max","fit"]}],"max-w":[{"max-w":[c,t,"none","full","min","max","fit","prose",{screen:[z]},z]}],h:[{h:[c,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[c,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[c,t,"auto","min","max","fit"]}],"font-size":[{text:["base",z,F]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xe]}],"font-family":[{font:[q]}],"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",c]}],"line-clamp":[{"line-clamp":["none",Y,xe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",R,c]}],"list-image":[{"list-image":["none",c]}],"list-style-type":[{list:["none","disc","decimal",c]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",R,F]}],"underline-offset":[{"underline-offset":["auto",R,c]}],"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:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c]}],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",c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Ee(),or]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",rr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},sr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[P]}],"gradient-via-pos":[{via:[P]}],"gradient-to-pos":[{to:[P]}],"gradient-from":[{from:[B]}],"gradient-via":[{via:[B]}],"gradient-to":[{to:[B]}],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-rt":[{"rounded-rt":[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:[n]}],"border-w-x":[{"border-x":[n]}],"border-w-y":[{"border-y":[n]}],"border-w-s":[{"border-s":[n]}],"border-w-e":[{"border-e":[n]}],"border-w-t":[{"border-t":[n]}],"border-w-r":[{"border-r":[n]}],"border-w-b":[{"border-b":[n]}],"border-w-l":[{"border-l":[n]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...te(),"hidden"]}],"divide-x":[{"divide-x":[n]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[n]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:te()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...te()]}],"outline-offset":[{"outline-offset":[R,c]}],"outline-w":[{outline:[R,F]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Me()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[R,F]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",z,nr]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":[...Fe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Fe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",z,c]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[v]}],saturate:[{saturate:[G]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[v]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[G]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",c]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",c]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",c]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[U]}],"scale-x":[{"scale-x":[U]}],"scale-y":[{"scale-y":[U]}],rotate:[{rotate:[_,c]}],"translate-x":[{"translate-x":[Re]}],"translate-y":[{"translate-y":[Re]}],"skew-x":[{"skew-x":[Ie]}],"skew-y":[{"skew-y":[Ie]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",c]}],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","_e-resize","nw-resize","rt-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-_e":[{"scroll-_e":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-rt":[{"scroll-rt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",c]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[R,F,xe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],_e:["mx","my","ms","me","rt","mr","mb","ml"],mx:["mr","ml"],my:["rt","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-rt","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-rt","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-_e":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-rt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-rt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Ve=Ot(pr);function l(...e){return Ve((0,Oe.clsx)(e))}var _e=require("react/jsx-runtime");function Je({children:e,isFluid:t=!1,isNoPadding:r=!1,className:a=""}){let s=l("container",t&&"full-width",r&&"no-padding",a);return(0,_e.jsx)("div",{className:s,children:e})}var qe=({className:e,content:t,style:r})=>(0,_e.jsx)("div",{className:l("mx-auto my-8 w-full",e),children:(0,_e.jsx)("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:(0,_e.jsx)(S,{content:t,enableGutter:!1,enableProse:!1})})});var We=require("@radix-ui/react-slot"),Xe=require("class-variance-authority"),Ze=j(require("react")),dr=(0,Xe.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"}}}),M=Ze.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...s},o)=>(0,$e.jsx)(e?We.Slot:"button",{className:l(dr({className:t,size:r,variant:a})),ref:o,...s}));M.displayName="Button";var Ae=j(require("next/link")),X=e=>{let{type:t,appearance:r="inline",children:a,className:s,label:o,newTab:i,reference:n,size:p,url:u}=e,f=t==="reference"&&typeof(n==null?void 0:n.value)=="object"&&n.value.slug?`${(n==null?void 0:n.relationTo)!=="pages"?`/${n==null?void 0:n.relationTo}`:""}/${n.value.slug}`:u;if(!f)return null;let v=r==="link"?"clear":p,w=i?{rel:"noopener noreferrer",target:"_blank"}:{};return r==="inline"?(0,_e.jsxs)(Ae.default,{className:l(s),href:f||u||"",...w,children:[o&&o,a&&a]}):(0,_e.jsx)(M,{asChild:!0,className:s,size:v,variant:r,children:(0,_e.jsxs)(Ae.default,{className:l(s),href:f||u||"",...w,children:[o&&o,a&&a]})})};var et=({links:e,richText:t})=>(0,_e.jsx)("div",{className:"container",children:(0,_e.jsxs)("div",{className:"bg-card rounded border-border border p-4 flex flex-col gap-8 md:flex-row md:justify-between md:items-center",children:[(0,_e.jsx)("div",{className:"max-w-[48rem] flex items-center",children:t&&(0,_e.jsx)(S,{className:"mb-0",content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:r},a)=>(0,_e.jsx)(X,{size:"lg",...r},a))})]})});var ae=require("prism-react-renderer");var tt=require("lucide-react"),rt=require("react");function ot({code:e}){let[t,r]=(0,rt.useState)("Copy");function a(){t==="Copy"&&(r(()=>"Copied!"),setTimeout(()=>{r(()=>"Copy")},1e3))}return(0,_e.jsx)("div",{className:"flex justify-end align-middle",children:(0,_e.jsxs)(M,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),a()},children:[(0,_e.jsx)("p",{children:t}),(0,_e.jsx)("div",{className:"w-6 h-6 dark:invert",children:(0,_e.jsx)(tt.ClipboardCopy,{})})]})})}var at=({code:e,language:t=""})=>e?(0,_e.jsx)(ae.Highlight,{code:e,language:t,theme:ae.themes.vsDark,children:({getLineProps:r,getTokenProps:a,tokens:s})=>(0,_e.jsxs)("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[s.map((o,i)=>(0,_e.jsxs)("div",{...r({className:"table-row",line:o}),children:[(0,_e.jsx)("span",{className:"table-cell select-none text-right text-white/25",children:i+1}),(0,_e.jsx)("span",{className:"table-cell pl-4",children:o.map((n,p)=>(0,_e.jsx)("span",{...a({token:n})},p))})]},i)),(0,_e.jsx)(ot,{code:e})]})}):null;var st=({className:e,code:t,language:r})=>(0,_e.jsx)("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:(0,_e.jsx)(at,{code:t,language:r})});var it=j(require("next/image")),mr={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},nt="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=",lt=e=>{let{alt:t,fill:r,imgClassName:a,priority:s,resource:o,size:i,src:n,loading:p}=e,u,f,v=t,w=n||"";if(!w&&o&&typeof o=="object"){let{alt:h,filename:x,height:A,url:N,width:G}=o;u=G,f=A,v=h||"",w=N||nt}let B=p||"lazy",P=i||Object.entries(mr).map(([,h])=>`(max-width: ${h}px) ${h*2}w`).join(", ");return(0,_e.jsx)("picture",{children:(0,_e.jsx)(it.default,{alt:v||"",className:l(a),fill:r,height:r?void 0:f,placeholder:"blur",blurDataURL:nt,priority:B!=="lazy"&&s,quality:100,loading:B,sizes:P,src:w,width:r?void 0:u})})};var ct=!!(typeof window!="undefined"&&window.document&&window.document.createElement);var pt=()=>{if(ct){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return process.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}`:process.env.NEXT_PUBLIC_SERVER_URL||""};var dt=e=>{let{onClick:t,resource:r,videoClassName:a}=e,s=(0,rt.useRef)(null);if((0,rt.useEffect)(()=>{let{current:o}=s;o&&o.addEventListener("suspend",()=>{})},[]),r&&typeof r=="object"){let{filename:o}=r;return(0,_e.jsx)("video",{autoPlay:!0,className:l(a),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:s,children:(0,_e.jsx)("source",{src:`${pt()}/media/${o}`})})}return null};var ie=e=>{var i;let{className:t,htmlElement:r="div",resource:a}=e,s=typeof a=="object"&&((i=a==null?void 0:a.mimeType)==null?void 0:i.includes("video"));return(0,_e.jsx)(r||rt.Fragment,{...r!==null?{className:t}:{},children:s?(0,_e.jsx)(dt,{...e}):(0,_e.jsx)(lt,{...e})})};var ut=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,_e.jsx)("div",{className:l("",{container:r},t),children:(0,_e.jsx)(ie,{imgClassName:l("rounded-[0.8rem]",a),resource:s,src:o})})};var gt=e=>{let{className:t,enableGutter:r=!0,imgClassName:a,media:s,staticImage:o}=e;return(0,_e.jsx)("div",{className:l("",{container:r},t),children:(0,_e.jsx)(ie,{imgClassName:l("rounded-[0.8rem]",a),resource:s,src:o})})};var ft=({type:e="solid",iconName:t="cloud",size:r="lg",className:a})=>{let s=e.includes("fa-")?e+" ":"fa-"+e+" ",o="fa-"+t,i=a!=null?a:"",n=s+o+" fa-"+r+" "+i;return(0,_e.jsx)("i",{className:n})};function ur(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function yt({variant:e="light",className:t,icon:r,heading:a,subheading:s,content:o,statistic:i,buttonText:n,buttonHref:p}){return(0,_e.jsxs)("div",{className:l("rounded-3xl p-8 md:p-12 min-w-56",{solid:"bg-accent",light:"bg-white",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden"}[e],e==="light"?"text-gray-900":"text-white",t),children:[(0,_e.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[r&&(0,_e.jsx)("div",{className:l("rounded-full p-0",e==="light"?"text-[#A42368]":"text-white"),children:ur(r)?(0,_e.jsx)(ft,{type:r.type,iconName:r.iconName,size:"2x"}):r}),(0,_e.jsx)("div",{className:l("font-semibold",e==="solid"||e==="light"?"text-2xl":"text-4xl"),children:a})]}),e==="solid"&&i&&(0,_e.jsx)("div",{className:"mb-6",children:(0,_e.jsx)("div",{className:"text-4xl text-wrap font-bold leading-none overflow-hidden",children:i})}),s&&(0,_e.jsx)("div",{className:"mb-4 text-xl md:text-2xl font-light",children:s}),o&&typeof o=="object"&&(0,_e.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:(0,_e.jsx)(S,{enableGutter:!1,content:o,enableProse:!1,className:l(e==="light"?"prose":"prose prose-headings:text-white prose-p:text-gray-300")})}),o&&typeof o=="string"&&(0,_e.jsx)("div",{className:l("space-y-6",e==="light"?"text-gray-600":"text-gray-300"),children:o}),n&&(0,_e.jsx)("div",{className:"rt-8",children:(0,_e.jsx)(M,{size:"lg",className:"text-white text-lg rounded-xl",asChild:!0,children:(0,_e.jsxs)("a",{href:p,children:[n,(0,_e.jsx)("span",{className:"ml-2",children:"\u2193"})]})})}),e==="radial"&&(0,_e.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 ht=({title:e,description:t,features:r,id:a})=>(0,_e.jsxs)("section",{className:l("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[e&&(0,_e.jsx)("h2",{className:"mb-6 rt-0 text-2xl font-bold md:text-3xl",id:a||"",children:e}),t&&typeof t=="string"&&(0,_e.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:t}),t&&typeof t=="object"&&(0,_e.jsx)("p",{className:"mb-5 text-xl tracking-tight md:text-xl",children:(0,_e.jsx)(S,{content:t,enableGutter:!1})}),(0,_e.jsx)("div",{className:`grid gap-8 rt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((s,o)=>{var i,n,p,u,f;if(((i=s.settings)==null?void 0:i.contents)==="icon")return(0,_e.jsx)(gr,{section:s,index:o},o);{let v=()=>{if(s.icon.type!=="none")return{type:s.icon.type,iconName:s.icon.icon}};return(0,_e.jsx)(yt,{variant:((n=s.settings)==null?void 0:n.card)==="default"?"solid":((p=s.settings)==null?void 0:p.card)||"solid",icon:v()||void 0,heading:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,buttonText:(u=s.link)!=null&&u.url?"Find out more":void 0,buttonHref:((f=s.link)==null?void 0:f.url)||void 0},o)}})})]}),gr=({section:e,index:t})=>{if(!e)return null;let r=(0,_e.jsxs)("div",{className:"flex flex-col gap-4",children:[e.icon&&(0,_e.jsx)("div",{className:"text-accent h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",children:(0,_e.jsx)("i",{className:`${e.icon.type} fa-${e.icon.icon} fa-4x`})}),(0,_e.jsx)("h3",{className:"text-2xl font-semibold group-hover:text-accent transition-colors duration-400",children:e.title}),e.content&&typeof e.content!="object"&&(0,_e.jsx)("div",{className:"text-lg opacity-80",dangerouslySetInnerHTML:{__html:e.content}}),e.content&&typeof e.content=="object"&&(0,_e.jsx)("div",{className:"text-lg opacity-80",children:(0,_e.jsx)(S,{content:e.content,enableGutter:!1})})]},t);return e.link?(0,_e.jsx)("a",{href:e.link.url?e.link.url:"#",className:"no-underline group",children:r},t):r};var le=j(require("react"));function Z({nodes:e}){return(0,_e.jsx)(le.Fragment,{children:e==null?void 0:e.map((t,r)=>{if(t==null)return null;if(t.type==="text"&&t.text){let o=(0,_e.jsx)(le.default.Fragment,{children:t.text},r);return t.format&1&&(o=(0,_e.jsx)("strong",{children:o},r)),t.format&2&&(o=(0,_e.jsx)("em",{children:o},r)),t.format&4&&(o=(0,_e.jsx)("span",{style:{textDecoration:"line-through"},children:o},r)),t.format&8&&(o=(0,_e.jsx)("span",{style:{textDecoration:"underline"},children:o},r)),t.format&16&&(o=(0,_e.jsx)("code",{children:t.text},r)),t.format&32&&(o=(0,_e.jsx)("sub",{children:o},r)),t.format&64&&(o=(0,_e.jsx)("sup",{children:o},r)),o}if(t.type==="table")return(0,_e.jsx)("table",{children:(0,_e.jsx)("tbody",{children:t.children.map((o,i)=>(0,_e.jsx)("tr",{children:o.children.map((n,p)=>(0,_e.jsx)("td",{children:Z({nodes:n.children})},p))},i))})},r);let a=o=>{if(o.children==null)return null;if((o==null?void 0:o.type)==="list"&&(o==null?void 0:o.listType)==="check")for(let i of o.children)"checked"in i&&(i!=null&&i.checked||(i.checked=!1));return Z({nodes:o.children})},s="children"in t?a(t):"";if(t.type==="block"){let o=t.fields,i=o==null?void 0:o.blockType;if(!o||!i)return null;switch(i){case"cta":return(0,_e.jsx)(et,{...o},r);case"mediaBlock":return(0,_e.jsx)(ut,{className:"col-start-1 col-span-3",imgClassName:"_e-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return(0,_e.jsx)(gt,{className:"col-start-1 col-span-3",imgClassName:"_e-0",...o,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return(0,_e.jsx)(qe,{className:"col-start-2 mb-4",...o},r);case"code":return(0,_e.jsx)(st,{className:"col-start-2",...o},r);case"features":return(0,_e.jsx)(ht,{...o},r);case"reusableContentBlock":Z({nodes:o.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return(0,_e.jsx)("br",{className:"col-start-2"},r);case"paragraph":return(0,_e.jsx)("p",{className:"col-start-2",children:s},r);case"heading":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"col-start-2",id:(t==null?void 0:t.id)||"",children:s},r)}case"list":{let o=t==null?void 0:t.tag;return(0,_e.jsx)(o,{className:"list col-start-2",children:s},r)}case"listitem":return(t==null?void 0:t.checked)!=null?(0,_e.jsx)("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t==null?void 0:t.value,children:s},r):(0,_e.jsx)("li",{value:t==null?void 0:t.value,children:s},r);case"quote":return(0,_e.jsx)("blockquote",{className:"col-start-2",children:s},r);case"link":{let o=t.fields;return(0,_e.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}case"autolink":{let o=t.fields;return(0,_e.jsx)(X,{newTab:!!(o!=null&&o.newTab),reference:o.doc,type:o.linkType==="internal"?"reference":"custom",url:o.url,children:s},r)}default:return null}})})}var S=({className:e,content:t,enableGutter:r=!0,enableProse:a=!0})=>{var s;return t?(0,_e.jsx)("div",{className:l({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":a},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&Z({nodes:(s=t==null?void 0:t.root)==null?void 0:s.children})}):null};function vt({subtitle:e,title:t,description:r,alignment:a="start",hasBottomSpacing:s=!1,className:o,invert:i=!1}){let n=l(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":s},o);return(0,_e.jsxs)("div",{className:n,children:[e&&(0,_e.jsx)("span",{className:"mb-[.625rem] block font-secondary text-base font-bold uppercase leading-[1.5] tracking-widest text-accent md:text-md",children:e}),(0,_e.jsx)("h2",{className:l("font-secondary text-xl font-bold leading-[1.25] text-foreground md:text-2xl",i&&"text-gray-900"),children:t}),typeof r=="string"?r&&(0,_e.jsx)("p",{className:"rt-5 whitespace-pre-line",children:r}):r&&(0,_e.jsx)(S,{content:r,enableGutter:!1})]})}function ce({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}function fr({className:e,...t}){return(0,_e.jsx)("input",{...t,className:ce({className:e})})}function pe({icon:e,...t}){return(0,_e.jsxs)("div",{className:"relative w-full",children:[(0,_e.jsx)(fr,{...t}),e&&(0,_e.jsx)("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}function br({className:e,...t}){return(0,_e.jsx)("textarea",{...t,className:l(ce({}),"resize-none md:min-h-[130px]",e)})}function wt({icon:e,...t}){return(0,_e.jsxs)("div",{className:"relative w-full",children:[(0,_e.jsx)(br,{...t}),e&&(0,_e.jsx)("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}var Ct=require("formik"),kt=require("react-icons/fa6"),K=j(require("yup"));async function At(e){let{name:t,email:r,subject:a,message:s}=e,o=process.env.TEAMS_WEBHOOK_URL;if(!o)throw new Error("TEAMS_WEBHOOK_URL is not defined");let i={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${r}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0}]}]},{type:"TextBlock",text:`${s}`,wrap:!0}]}}]};try{let n=await fetch(o,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!n.ok)throw console.error(n),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(n){return console.error(n),{isSuccess:!1,data:null,message:"Internal Server Error"}}}var Se=require("sonner"),I={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},yr=K.object().shape({name:K.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),email:K.string().email(I.email).required(I.required),subject:K.string().min(2,I.tooShort).max(50,I.tooLong).required(I.required),message:K.string().min(2,I.tooShort).max(300,I.tooLong).required(I.required)}),de=l("!pr-[44px]"),me=l("!border-red-600 border"),ue=l("sr-only");function Nt(){return(0,_e.jsx)(Ct.Formik,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:yr,onSubmit:async(e,{resetForm:t})=>{let r=await At(e);r.data===null?Se.toast.error(r.message):(Se.toast.success(r.message),t())},children:({errors:e,touched:t,values:r,handleChange:a,handleBlur:s,isSubmitting:o,handleSubmit:i})=>(0,_e.jsxs)("form",{onSubmit:i,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)(pe,{placeholder:"Your Name",type:"text",name:"name",value:r.name,onChange:a,onBlur:s,disabled:o,icon:(0,_e.jsx)(kt.FaUser,{}),className:l(de,e.name&&t.name&&me)}),e.name&&t.name&&(0,_e.jsx)("p",{title:e.name,"aria-live":"polite",role:"error message",className:ue,children:e.name})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)(pe,{placeholder:"Your Email",type:"email",name:"email",value:r.email,onChange:a,onBlur:s,disabled:o,icon:(0,_e.jsx)(hr,{}),className:l(de,e.email&&t.email&&me)}),e.email&&t.email&&(0,_e.jsx)("p",{title:e.email,"aria-live":"polite",role:"error message",className:ue,children:e.email})]}),(0,_e.jsxs)("div",{className:"lg:col-span-2",children:[(0,_e.jsx)(pe,{placeholder:"Subject",type:"text",name:"subject",value:r.subject,onChange:a,onBlur:s,disabled:o,className:l(de,e.subject&&t.subject&&me)}),e.subject&&t.subject&&(0,_e.jsx)("p",{title:e.subject,"aria-live":"polite",role:"error message",className:ue,children:e.subject})]}),(0,_e.jsxs)("div",{className:"lg:col-span-2",children:[(0,_e.jsx)(wt,{placeholder:"Write Message...",name:"message",value:r.message,onChange:a,onBlur:s,disabled:o,icon:(0,_e.jsx)(xr,{}),className:l(de,e.message&&t.message&&me)}),e.message&&t.message&&(0,_e.jsx)("p",{title:e.message,"aria-live":"polite",role:"error message",className:ue,children:e.message})]}),(0,_e.jsx)("div",{className:"lg:col-span-2",children:(0,_e.jsx)(M,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:o,children:(0,_e.jsx)("span",{children:"SEND"})})})]})})}function hr(){return(0,_e.jsx)("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,_e.jsx)("path",{_e:"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 xr(){return(0,_e.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,_e.jsx)("path",{_e:"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"})})}function vr(e){let{sectionHeading:t,image:r}=e;return(0,_e.jsxs)(_e.Fragment,{children:[(0,_e.jsx)("section",{className:"section-padding-primary",children:(0,_e.jsx)("div",{className:"",children:(0,_e.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,_e.jsx)("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:(0,_e.jsxs)("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[(0,_e.jsxs)("div",{children:[(0,_e.jsx)("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),(0,_e.jsx)("p",{className:"rt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),(0,_e.jsx)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((a,s)=>{var o;return(0,_e.jsxs)("div",{className:"rounded-2xl p-10 border",children:[(0,_e.jsx)("h3",{className:"text-base/7 font-semibold text-accent",children:a.title}),(0,_e.jsxs)("address",{className:"rt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=a.location.split(","))==null?void 0:o.map((i,n)=>(0,_e.jsx)("p",{children:i},n))," ",a.mails&&(0,_e.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,_e.jsx)(kt.FaEnvelope,{className:"pr-2 text-accent size-auto"}),(0,_e.jsx)("span",{children:a.mails[0]})]}),a.phoneNumbers&&a.phoneNumbers.length>0&&(0,_e.jsxs)("p",{className:"flex items-center space-x-2",children:[(0,_e.jsx)(kt.FaPhoneFlip,{className:"pr-2 text-accent size-auto"}),a.phoneNumbers[0]]})]})]},s)})})]})})})})}),(0,_e.jsx)("section",{className:"section-padding-primary",children:(0,_e.jsxs)("div",{className:"relative py-[60px]",children:[(0,_e.jsx)("div",{className:"absolute left-0 top-0 z-1 h-full w-full overflow-hidden bg-red-500 md:w-[56%] md:rounded-r-5",children:(0,_e.jsx)(Bt.default,{src:r.src,alt:r.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:Ge})}),(0,_e.jsx)(Je,{children:(0,_e.jsx)("div",{className:"ml-auto md:w-1/2",children:(0,_e.jsxs)("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[(0,_e.jsx)("div",{className:"mb-30px",children:(0,_e.jsx)(vt,{...t,invert:!0})}),(0,_e.jsx)(Nt,{})]})})})]})})]})}0&&(module.exports={ContactSection});
@@ -1 +1 @@
1
- import{a}from"../chunk-JBRBY7EX.mjs";import"../chunk-UMILL4LR.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-KTVHPTON.mjs";import"../chunk-7FR5BXX2.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-PVRWMAHW.mjs";import"../chunk-Y6CZVVJF.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-S7OK7D5I.mjs";export{a as ContactSection};
1
+ import{a}from"../chunk-PVFLV5NN.mjs";import"../chunk-QO2Z7WXW.mjs";import"../chunk-CTKUF2I6.mjs";import"../chunk-EG6XIOOJ.mjs";import"../chunk-NOEITQK2.mjs";import"../chunk-MMBUMBDU.mjs";import"../chunk-KML6U7IE.mjs";import"../chunk-XBQBJTNI.mjs";import"../chunk-D4NKFRUO.mjs";import"../chunk-O5BAW5XQ.mjs";import"../chunk-44VMK4FL.mjs";import"../chunk-M6M43TLT.mjs";import"../chunk-FGWIT6CV.mjs";import"../chunk-ZWKWU7U4.mjs";import"../chunk-EY5QX73B.mjs";import"../chunk-YCX5N23N.mjs";import"../chunk-JWDVKGZL.mjs";import"../chunk-7QQXXEMN.mjs";import"../chunk-RHPFEIP4.mjs";import"../chunk-NGK3IDFP.mjs";import"../chunk-TFWGOEV7.mjs";import"../chunk-YNDKGRL6.mjs";import"../chunk-2NFKSNJW.mjs";import"../chunk-FI4SMRAR.mjs";import"../chunk-5IQPAE6K.mjs";import"../chunk-44TDI42O.mjs";import"../chunk-BOPZHZ27.mjs";import"../chunk-KDGEXDC5.mjs";import"../chunk-Y2KKUQDU.mjs";import"../chunk-SBM5HULF.mjs";import"../chunk-VZXLXNVY.mjs";import"../chunk-Q6SEVCRG.mjs";import"../chunk-BDX257W2.mjs";import"../chunk-D76EO57Z.mjs";import"../chunk-WISCWNL2.mjs";import"../chunk-UESKYRNK.mjs";import"../chunk-SFLOMJ2U.mjs";import"../chunk-SPOYKTBR.mjs";import"../chunk-NIQ4466A.mjs";import"../chunk-C5XNOZXC.mjs";import"../chunk-S7OK7D5I.mjs";export{a as ContactSection};