cortex-react-components 1.51.0 → 1.51.2

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 (346) hide show
  1. package/dist/{chunk-423OEU3K.mjs → chunk-23EQTK7B.mjs} +1 -1
  2. package/dist/{chunk-5EFOKBKA.mjs → chunk-2FDK3K3W.mjs} +1 -1
  3. package/dist/{chunk-37V4PVTS.mjs → chunk-2GFBBWC2.mjs} +1 -1
  4. package/dist/chunk-3LJZCM5A.mjs +4 -0
  5. package/dist/{chunk-VA4VHZQ4.mjs → chunk-4VPOPPLA.mjs} +1 -1
  6. package/dist/{chunk-UG3V7GTW.mjs → chunk-55GJBCU5.mjs} +1 -1
  7. package/dist/{chunk-DCR7IH2M.mjs → chunk-65OD4DLE.mjs} +1 -1
  8. package/dist/chunk-A24EPYUY.mjs +1 -0
  9. package/dist/{chunk-V6QZFOJH.mjs → chunk-ATONX5RA.mjs} +1 -1
  10. package/dist/{chunk-CYECAKIW.mjs → chunk-BOZT7Z5K.mjs} +1 -1
  11. package/dist/chunk-BXLP27FT.mjs +4 -0
  12. package/dist/{chunk-5GMSJQA2.mjs → chunk-CTMMLDMU.mjs} +1 -1
  13. package/dist/{chunk-7HBGRPQN.mjs → chunk-DCEF2LYO.mjs} +1 -1
  14. package/dist/{chunk-UMEESL5A.mjs → chunk-F6Q7HP23.mjs} +1 -1
  15. package/dist/{chunk-IJICNQTM.mjs → chunk-FEBBHXAP.mjs} +1 -1
  16. package/dist/{chunk-6A46EVGW.mjs → chunk-FM7CBLYK.mjs} +1 -1
  17. package/dist/{chunk-SEG6IDDX.mjs → chunk-G5HD4IFA.mjs} +1 -1
  18. package/dist/{chunk-ALTFHQW6.mjs → chunk-GL6F4PKJ.mjs} +1 -1
  19. package/dist/{chunk-W6NKD4H5.mjs → chunk-IE5KIWR5.mjs} +1 -1
  20. package/dist/chunk-IJCMUPNH.mjs +4 -0
  21. package/dist/{chunk-MY3PX5GI.mjs → chunk-IQ7LAP7P.mjs} +1 -1
  22. package/dist/{chunk-UU4NDOU7.mjs → chunk-IYERYBWZ.mjs} +1 -1
  23. package/dist/{chunk-LKHCZTYP.mjs → chunk-JKXEWZ7M.mjs} +1 -1
  24. package/dist/{chunk-5J3MWP62.mjs → chunk-KKSMDJRP.mjs} +1 -1
  25. package/dist/{chunk-4RQM7UAG.mjs → chunk-LT2AK4G5.mjs} +1 -1
  26. package/dist/{chunk-ZLQFQW4R.mjs → chunk-LVHQ5ZSP.mjs} +1 -1
  27. package/dist/chunk-MHVWWZUW.mjs +1 -0
  28. package/dist/{chunk-RNCMCAZX.mjs → chunk-MJLCSHUM.mjs} +1 -1
  29. package/dist/{chunk-ECOVEIOV.mjs → chunk-NETY6BCN.mjs} +1 -1
  30. package/dist/{chunk-ICTOXY7D.mjs → chunk-NGK3IDFP.mjs} +1 -1
  31. package/dist/{chunk-LR6RU2SF.mjs → chunk-OI7AIO33.mjs} +1 -1
  32. package/dist/{chunk-TBYWZYI6.mjs → chunk-PFWQLNIT.mjs} +1 -1
  33. package/dist/chunk-QKGEV7LG.mjs +1 -0
  34. package/dist/{chunk-UMILL4LR.mjs → chunk-QO2Z7WXW.mjs} +1 -1
  35. package/dist/{chunk-IBV34MLI.mjs → chunk-RHPFEIP4.mjs} +1 -1
  36. package/dist/{chunk-ZMX4L6QJ.mjs → chunk-RJFBQZFX.mjs} +1 -1
  37. package/dist/{chunk-HKBNK7DA.mjs → chunk-RWDDYYDT.mjs} +1 -1
  38. package/dist/{chunk-MANZDSTF.mjs → chunk-UD7JYMRU.mjs} +1 -1
  39. package/dist/{chunk-HHUI6PDP.mjs → chunk-VZWV4G25.mjs} +1 -1
  40. package/dist/chunk-X5FDSTRM.mjs +1 -0
  41. package/dist/chunk-XB5WL3OT.mjs +4 -0
  42. package/dist/{chunk-7UHGKJPF.mjs → chunk-XHNZFKKI.mjs} +1 -1
  43. package/dist/chunk-Y74ENEUN.mjs +4 -0
  44. package/dist/{chunk-65C6PZZX.mjs → chunk-ZGX3P2RY.mjs} +1 -1
  45. package/dist/chunk-ZSUPFOXY.mjs +1 -0
  46. package/dist/components/Blocks/Banner.js +1 -1
  47. package/dist/components/Blocks/Banner.mjs +1 -1
  48. package/dist/components/Blocks/CallToAction.js +1 -1
  49. package/dist/components/Blocks/CallToAction.mjs +1 -1
  50. package/dist/components/Blocks/CallToAction.stories.js +1 -1
  51. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  52. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  53. package/dist/components/Blocks/CaseStudy.stories.mjs +1 -1
  54. package/dist/components/Blocks/Code.client.mjs +1 -1
  55. package/dist/components/Blocks/Code.mjs +1 -1
  56. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  57. package/dist/components/Blocks/ConsultantProfile.stories.mjs +1 -1
  58. package/dist/components/Blocks/Content.js +1 -1
  59. package/dist/components/Blocks/Content.mjs +1 -1
  60. package/dist/components/Blocks/Content.stories.js +1 -1
  61. package/dist/components/Blocks/Content.stories.mjs +1 -1
  62. package/dist/components/Blocks/CopyButton.mjs +1 -1
  63. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  64. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  65. package/dist/components/Blocks/FeaturesBlock.stories.js +1 -1
  66. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  67. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  68. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  69. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  70. package/dist/components/Blocks/ProposalSummary.stories.mjs +1 -1
  71. package/dist/components/Blocks/RelatedPosts.js +1 -1
  72. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  73. package/dist/components/Blocks/RenderBlocks.js +1 -1
  74. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  75. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  76. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  77. package/dist/components/Blocks/index.js +1 -1
  78. package/dist/components/Blocks/index.mjs +1 -1
  79. package/dist/components/CRM/DealCard.mjs +1 -1
  80. package/dist/components/CRM/DealCard.stories.mjs +1 -1
  81. package/dist/components/CRM/DealDetails.mjs +1 -1
  82. package/dist/components/CRM/DealDetails.stories.mjs +1 -1
  83. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  84. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  85. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  86. package/dist/components/CRM/KanbanColumn.stories.mjs +1 -1
  87. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  88. package/dist/components/CRM/NewCustomerForm.stories.mjs +1 -1
  89. package/dist/components/CRM/NewDealForm.mjs +1 -1
  90. package/dist/components/CRM/NewDealForm.stories.mjs +1 -1
  91. package/dist/components/CRM/index.mjs +1 -1
  92. package/dist/components/Cards/ContentCard.d.ts +2 -1
  93. package/dist/components/Cards/ContentCard.js +1 -1
  94. package/dist/components/Cards/ContentCard.mjs +1 -1
  95. package/dist/components/Cards/ContentCard.stories.js +1 -1
  96. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  97. package/dist/components/Cards/CustomerCard.mjs +1 -1
  98. package/dist/components/Cards/CustomerCard.stories.mjs +1 -1
  99. package/dist/components/Cards/EventCard.mjs +1 -1
  100. package/dist/components/Cards/EventCard.stories.mjs +1 -1
  101. package/dist/components/Cards/HeroCard.mjs +1 -1
  102. package/dist/components/Cards/HeroCard.stories.mjs +1 -1
  103. package/dist/components/Cards/Image.mjs +1 -1
  104. package/dist/components/Cards/Image.stories.mjs +1 -1
  105. package/dist/components/Cards/PricingCard.mjs +1 -1
  106. package/dist/components/Cards/PricingCard.stories.mjs +1 -1
  107. package/dist/components/Cards/ServiceCard.mjs +1 -1
  108. package/dist/components/Cards/ServiceCard.stories.mjs +1 -1
  109. package/dist/components/Cards/index.js +2 -2
  110. package/dist/components/Cards/index.mjs +1 -1
  111. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  112. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  113. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  114. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  115. package/dist/components/HeaderFooter/Footer.stories.mjs +1 -1
  116. package/dist/components/HeaderFooter/Header.mjs +1 -1
  117. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  118. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  119. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  120. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  121. package/dist/components/HeaderFooter/HeaderMenu.stories.mjs +1 -1
  122. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  123. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  124. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  125. package/dist/components/HeaderFooter/SimpleHeader.stories.mjs +1 -1
  126. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  127. package/dist/components/HeaderFooter/index.mjs +1 -1
  128. package/dist/components/Heros/HighImpact/index.js +1 -1
  129. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  130. package/dist/components/Heros/LowImpact/index.js +1 -1
  131. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  132. package/dist/components/Heros/MediumImpact/index.js +1 -1
  133. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  134. package/dist/components/Heros/PostHero/index.mjs +1 -1
  135. package/dist/components/Heros/RenderHero.js +1 -1
  136. package/dist/components/Heros/RenderHero.mjs +1 -1
  137. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  138. package/dist/components/Heros/index.js +1 -1
  139. package/dist/components/Heros/index.mjs +1 -1
  140. package/dist/components/Holidays/ApproveLeave.d.ts +1 -12
  141. package/dist/components/Holidays/ApproveLeave.js +1 -1
  142. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  143. package/dist/components/Holidays/ApproveLeave.stories.mjs +1 -1
  144. package/dist/components/Holidays/CalendarView.js +1 -1
  145. package/dist/components/Holidays/CalendarView.mjs +1 -1
  146. package/dist/components/Holidays/CalendarView.stories.js +1 -1
  147. package/dist/components/Holidays/CalendarView.stories.mjs +1 -1
  148. package/dist/components/Holidays/HolidayGrid.d.ts +2 -16
  149. package/dist/components/Holidays/HolidayGrid.js +1 -1
  150. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  151. package/dist/components/Holidays/HolidayGrid.stories.js +1 -1
  152. package/dist/components/Holidays/HolidayGrid.stories.mjs +1 -1
  153. package/dist/components/Holidays/HolidayTracker.d.ts +3 -28
  154. package/dist/components/Holidays/HolidayTracker.js +1 -2
  155. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  156. package/dist/components/Holidays/HolidayTracker.stories.js +189 -190
  157. package/dist/components/Holidays/HolidayTracker.stories.mjs +1 -1
  158. package/dist/components/Holidays/RequestLeave.js +1 -2
  159. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  160. package/dist/components/Holidays/RequestLeave.stories.js +38 -39
  161. package/dist/components/Holidays/RequestLeave.stories.mjs +1 -1
  162. package/dist/components/Holidays/index.js +1 -2
  163. package/dist/components/Holidays/index.mjs +1 -1
  164. package/dist/components/Layouts/BlogList.js +1 -1
  165. package/dist/components/Layouts/BlogList.mjs +1 -1
  166. package/dist/components/Layouts/BlogList.stories.js +1 -1
  167. package/dist/components/Layouts/BlogList.stories.mjs +1 -1
  168. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  169. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  170. package/dist/components/Layouts/Print.js +2 -2
  171. package/dist/components/Layouts/Print.mjs +1 -1
  172. package/dist/components/Layouts/Print.stories.js +1 -1
  173. package/dist/components/Layouts/Print.stories.mjs +1 -1
  174. package/dist/components/Layouts/SlideShow.js +4 -4
  175. package/dist/components/Layouts/SlideShow.mjs +1 -1
  176. package/dist/components/Layouts/SlideShow.stories.js +4 -4
  177. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  178. package/dist/components/Layouts/index.js +1 -1
  179. package/dist/components/Layouts/index.mjs +1 -1
  180. package/dist/components/Menus/Categories.mjs +1 -1
  181. package/dist/components/Menus/Categories.stories.mjs +1 -1
  182. package/dist/components/Menus/Filter.mjs +1 -1
  183. package/dist/components/Menus/Filter.stories.mjs +1 -1
  184. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  185. package/dist/components/Menus/ProjectTeam.stories.mjs +1 -1
  186. package/dist/components/Menus/RelatedContent.mjs +1 -1
  187. package/dist/components/Menus/RelatedContent.stories.mjs +1 -1
  188. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  189. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  190. package/dist/components/Menus/SidebarRight.mjs +1 -1
  191. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  192. package/dist/components/Menus/index.mjs +1 -1
  193. package/dist/components/Other/Container.mjs +1 -1
  194. package/dist/components/Other/index.mjs +1 -1
  195. package/dist/components/Payload/Card/index.mjs +1 -1
  196. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  197. package/dist/components/Payload/Link/index.mjs +1 -1
  198. package/dist/components/Payload/Media/index.mjs +1 -1
  199. package/dist/components/Payload/Pagination/index.mjs +1 -1
  200. package/dist/components/Payload/RichText/index.js +1 -1
  201. package/dist/components/Payload/RichText/index.mjs +1 -1
  202. package/dist/components/Payload/RichText/serialize.js +1 -1
  203. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  204. package/dist/components/Payload/RichText.stories.js +1 -1
  205. package/dist/components/Payload/RichText.stories.mjs +1 -1
  206. package/dist/components/Payload/index.js +1 -1
  207. package/dist/components/Payload/index.mjs +1 -1
  208. package/dist/components/index.js +13 -14
  209. package/dist/components/index.mjs +1 -1
  210. package/dist/components/ui/alert.mjs +1 -1
  211. package/dist/components/ui/alert.stories.mjs +1 -1
  212. package/dist/components/ui/avatar.mjs +1 -1
  213. package/dist/components/ui/avatar.stories.mjs +1 -1
  214. package/dist/components/ui/badge.mjs +1 -1
  215. package/dist/components/ui/badge.stories.mjs +1 -1
  216. package/dist/components/ui/breadcrumb.mjs +1 -1
  217. package/dist/components/ui/breadcrumb.stories.mjs +1 -1
  218. package/dist/components/ui/button.mjs +1 -1
  219. package/dist/components/ui/button.stories.mjs +1 -1
  220. package/dist/components/ui/calendar.d.ts +2 -2
  221. package/dist/components/ui/calendar.js +1 -1
  222. package/dist/components/ui/calendar.mjs +1 -1
  223. package/dist/components/ui/card.mjs +1 -1
  224. package/dist/components/ui/card.stories.mjs +1 -1
  225. package/dist/components/ui/checkbox.mjs +1 -1
  226. package/dist/components/ui/command.mjs +1 -1
  227. package/dist/components/ui/command.stories.mjs +1 -1
  228. package/dist/components/ui/dialog.mjs +1 -1
  229. package/dist/components/ui/dialog.stories.mjs +1 -1
  230. package/dist/components/ui/dropdown-menu.mjs +1 -1
  231. package/dist/components/ui/dropdown-menu.stories.mjs +1 -1
  232. package/dist/components/ui/hover-card.mjs +1 -1
  233. package/dist/components/ui/hover-card.stories.mjs +1 -1
  234. package/dist/components/ui/index.js +1 -2
  235. package/dist/components/ui/index.mjs +1 -1
  236. package/dist/components/ui/input.mjs +1 -1
  237. package/dist/components/ui/input.stories.mjs +1 -1
  238. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  239. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  240. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  241. package/dist/components/ui/label.mjs +1 -1
  242. package/dist/components/ui/label.stories.mjs +1 -1
  243. package/dist/components/ui/pagination.mjs +1 -1
  244. package/dist/components/ui/popover.mjs +1 -1
  245. package/dist/components/ui/popover.stories.mjs +1 -1
  246. package/dist/components/ui/scroll-area.mjs +1 -1
  247. package/dist/components/ui/scroll-area.stories.mjs +1 -1
  248. package/dist/components/ui/select.mjs +1 -1
  249. package/dist/components/ui/separator.mjs +1 -1
  250. package/dist/components/ui/separator.stories.mjs +1 -1
  251. package/dist/components/ui/sheet.mjs +1 -1
  252. package/dist/components/ui/sheet.stories.mjs +1 -1
  253. package/dist/components/ui/sidebar.mjs +1 -1
  254. package/dist/components/ui/skeleton.mjs +1 -1
  255. package/dist/components/ui/skeleton.stories.mjs +1 -1
  256. package/dist/components/ui/textarea.mjs +1 -1
  257. package/dist/components/ui/toast.mjs +1 -1
  258. package/dist/components/ui/toast.stories.mjs +1 -1
  259. package/dist/components/ui/toaster.mjs +1 -1
  260. package/dist/components/ui/toggle-group.mjs +1 -1
  261. package/dist/components/ui/toggle.mjs +1 -1
  262. package/dist/components/ui/toggle.stories.mjs +1 -1
  263. package/dist/components/ui/tooltip.mjs +1 -1
  264. package/dist/components/ui/tooltip.stories.mjs +1 -1
  265. package/dist/globals.css +1 -1
  266. package/dist/index.js +12 -13
  267. package/dist/index.mjs +1 -1
  268. package/dist/metafile-cjs.json +1 -1
  269. package/dist/metafile-esm.json +1 -1
  270. package/dist/model/Employee.d.ts +6 -0
  271. package/dist/model/Employee.js +1 -0
  272. package/dist/model/Holiday.d.ts +10 -0
  273. package/dist/model/Holiday.js +1 -0
  274. package/dist/model/LeaveRequest.d.ts +12 -0
  275. package/dist/model/LeaveRequest.js +1 -0
  276. package/dist/pages/Blog.js +1 -1
  277. package/dist/pages/Blog.mjs +1 -1
  278. package/dist/pages/Blog.stories.js +1 -1
  279. package/dist/pages/Blog.stories.mjs +1 -1
  280. package/dist/pages/Documentation.mjs +1 -1
  281. package/dist/pages/Documentation.stories.mjs +1 -1
  282. package/dist/pages/IndexPage.mjs +1 -1
  283. package/dist/pages/IndexPage.stories.mjs +1 -1
  284. package/dist/pages/Intranet.mjs +1 -1
  285. package/dist/pages/Intranet.stories.mjs +1 -1
  286. package/dist/pages/LandingPage.mjs +1 -1
  287. package/dist/pages/LandingPage.stories.mjs +1 -1
  288. package/dist/pages/Page.js +1 -1
  289. package/dist/pages/Page.mjs +1 -1
  290. package/dist/pages/Page.stories.js +63 -63
  291. package/dist/pages/Page.stories.mjs +1 -1
  292. package/dist/pages/Printable.stories.js +5 -5
  293. package/dist/pages/Printable.stories.mjs +1 -1
  294. package/dist/pages/Publish.js +5 -5
  295. package/dist/pages/Publish.mjs +1 -1
  296. package/dist/pages/Publish.stories.js +1 -1
  297. package/dist/pages/Publish.stories.mjs +1 -1
  298. package/dist/pages/Website.js +1 -1
  299. package/dist/pages/Website.mjs +1 -1
  300. package/dist/pages/Website.stories.js +1 -1
  301. package/dist/pages/Website.stories.mjs +1 -1
  302. package/dist/sections/AboutSection.js +1 -1
  303. package/dist/sections/AboutSection.mjs +1 -1
  304. package/dist/sections/AboutSection.stories.js +1 -1
  305. package/dist/sections/AboutSection.stories.mjs +1 -1
  306. package/dist/sections/BlogDetail.js +1 -1
  307. package/dist/sections/BlogDetail.mjs +1 -1
  308. package/dist/sections/BlogDetail.stories.js +1 -1
  309. package/dist/sections/BlogDetail.stories.mjs +1 -1
  310. package/dist/sections/BlogListSection.mjs +1 -1
  311. package/dist/sections/BlogListSection.stories.mjs +1 -1
  312. package/dist/sections/ContactSection.js +1 -1
  313. package/dist/sections/ContactSection.mjs +1 -1
  314. package/dist/sections/ContactSection.stories.js +1 -1
  315. package/dist/sections/ContactSection.stories.mjs +1 -1
  316. package/dist/sections/ImageSection.mjs +1 -1
  317. package/dist/sections/ImageSection.stories.js +1 -1
  318. package/dist/sections/ImageSection.stories.mjs +1 -1
  319. package/dist/sections/MainPageSection.mjs +1 -1
  320. package/dist/sections/PricingSection.js +1 -1
  321. package/dist/sections/PricingSection.mjs +1 -1
  322. package/dist/sections/PricingSection.stories.js +1 -1
  323. package/dist/sections/PricingSection.stories.mjs +1 -1
  324. package/dist/sections/ServiceSection.mjs +1 -1
  325. package/dist/sections/ServiceSection.stories.mjs +1 -1
  326. package/dist/sections/form/index.mjs +1 -1
  327. package/dist/sections/index.js +1 -1
  328. package/dist/sections/index.mjs +1 -1
  329. package/dist/styles/Colors.mjs +1 -1
  330. package/dist/styles/Colors.stories.mjs +1 -1
  331. package/dist/utils/BankHolidays.d.ts +4 -0
  332. package/dist/utils/BankHolidays.js +1 -0
  333. package/dist/utils/BankHolidays.mjs +1 -0
  334. package/dist/utils/DaysUtil.d.ts +3 -0
  335. package/dist/utils/DaysUtil.js +1 -0
  336. package/dist/utils/DaysUtil.mjs +1 -0
  337. package/dist/utils/index.mjs +1 -1
  338. package/package.json +3 -2
  339. package/dist/chunk-2MC5DSC7.mjs +0 -4
  340. package/dist/chunk-FG7NJIJK.mjs +0 -1
  341. package/dist/chunk-ITZ5HFK6.mjs +0 -1
  342. package/dist/chunk-KJBMLPHS.mjs +0 -4
  343. package/dist/chunk-MNDA6BQL.mjs +0 -4
  344. package/dist/chunk-NLFCSX3M.mjs +0 -4
  345. package/dist/chunk-THOLC3E6.mjs +0 -1
  346. package/dist/chunk-VW33NKNZ.mjs +0 -4
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-ICTOXY7D.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:r,image:o}=F||{},i=t&&Array.isArray(t)&&t.length>0,l=b||k,w=r==null?void 0:r.replace(/\s/g," "),T=`/${y}/${C}`;return s("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[s("div",{className:"relative w-full ",children:[!o&&e("div",{className:"",children:"No image"}),o&&typeof o!="string"&&e(d,{resource:o,size:"33vw"})]}),s("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t==null?void 0:t.map((n,c)=>{if(typeof n=="object"){let{title:L}=n,P=L||"Untitled category",z=c===t.length-1;return s(g,{children:[P,!z&&e(g,{children:", \xA0"})]},c)}return null})})}),l&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:l})})}),r&&e("div",{className:"mt-2",children:r&&e("p",{children:w})})]})]})};export{j as a};
4
+ import{a as p}from"./chunk-6P7CY367.mjs";import{a as d}from"./chunk-NGK3IDFP.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:r,image:o}=F||{},i=t&&Array.isArray(t)&&t.length>0,l=b||k,w=r==null?void 0:r.replace(/\s/g," "),T=`/${y}/${C}`;return s("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[s("div",{className:"relative w-full ",children:[!o&&e("div",{className:"",children:"No image"}),o&&typeof o!="string"&&e(d,{resource:o,size:"33vw"})]}),s("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t==null?void 0:t.map((n,c)=>{if(typeof n=="object"){let{title:L}=n,P=L||"Untitled category",z=c===t.length-1;return s(g,{children:[P,!z&&e(g,{children:", \xA0"})]},c)}return null})})}),l&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:l})})}),r&&e("div",{className:"mt-2",children:r&&e("p",{children:w})})]})]})};export{j as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as d}from"./chunk-PY53YVFX.mjs";import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-3YZN4MJB.mjs";import{b as i,f as o}from"./chunk-KB6PO4K4.mjs";import{a as s}from"./chunk-DRJBYVJB.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
4
+ import{a as l}from"./chunk-H7D3PZKE.mjs";import{a as d}from"./chunk-PY53YVFX.mjs";import{a as m}from"./chunk-3YZN4MJB.mjs";import{b as i,f as o}from"./chunk-KB6PO4K4.mjs";import{a as s}from"./chunk-DRJBYVJB.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function n({...t}){return r("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[e(s,{...t.header}),r(i,{className:"top-14 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(d,{...t.sidebarLeft,className:"flex-none"}),e(o,{className:"grow overflow-hidden",children:r("div",{className:"max-h-full top-0 absolute max-w-full",children:[e("div",{"aria-hidden":"true",className:"inset-x-0 -z-10 transform-gpu overflow-hidden blur-3xl",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-secondary opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"})}),e("div",{className:"absolute top-0 w-full",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:r("div",{className:"mx-auto max-w-2xl text-center pt-4",children:[e("h1",{className:"text-balance text-5xl font-semibold tracking-tight text-primary sm:text-7xl",children:"Anim aute id magna aliqua ad ad non deserunt sunt."}),e("p",{className:"mt-8 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8",children:"Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat."}),e("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:e("div",{className:"mt-6 px-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:t.tiles.map(a=>e(l,{url:a.slug,title:a.title,mainImage:a.mainImage,excerpt:a.excerpt},a.slug))})})]})})}),e("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]",children:e("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"})})]})})]}),e(m,{})]})}export{n as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as p}from"./chunk-6A46EVGW.mjs";import{a as c}from"./chunk-7UHGKJPF.mjs";import{a as u}from"./chunk-7HBGRPQN.mjs";import{a as s}from"./chunk-KSCHUMVE.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{a as h}from"./chunk-DESYC5BB.mjs";import{a as l}from"./chunk-WU3JMLSC.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(h,{isMenuOpen:!0,logoLight:f,logoDark:l,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(c,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(s,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
4
+ import{a as f}from"./chunk-BZAYEKYC.mjs";import{a as c}from"./chunk-XHNZFKKI.mjs";import{a as p}from"./chunk-FM7CBLYK.mjs";import{a as u}from"./chunk-DCEF2LYO.mjs";import{a as s}from"./chunk-KSCHUMVE.mjs";import{a as o,b as a,c as i,e as m}from"./chunk-D76EO57Z.mjs";import{b as n}from"./chunk-BDX257W2.mjs";import{a as h}from"./chunk-DESYC5BB.mjs";import{a as l}from"./chunk-WU3JMLSC.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function b({...r}){return t("div",{children:[e(h,{isMenuOpen:!0,logoLight:f,logoDark:l,...r.header}),r.hero&&r.hero.type==="lowImpact"&&e(c,{...r.hero}),r.hero&&r.hero.type==="mediumImpact"&&e(u,{...r.hero}),r.hero&&r.hero.type==="highImpact"&&e(p,{...r.hero}),r.hero&&r.hero.type==="postHero"&&e(s,{...r.hero}),e("div",{className:"container py-8",children:t("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:r.children}),t("div",{className:"space-y-6",children:[t(o,{children:[e(a,{children:e(i,{children:"Quick Actions"})}),t(m,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(n,{className:"w-full",children:"Create New"})]})]}),t(o,{children:[e(a,{children:e(i,{children:"Resources"})}),e(m,{children:t("nav",{className:"flex flex-col space-y-2",children:[t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),t("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})}export{b as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a}from"./chunk-BDX257W2.mjs";import{a as e}from"./chunk-NIQ4466A.mjs";import{DayPicker as s}from"react-day-picker";import{jsx as c}from"react/jsx-runtime";function d({className:r,classNames:o,showOutsideDays:n=!0,...t}){return c(s,{showOutsideDays:n,weekStartsOn:1,className:e("p-3",r),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:e(a({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:e("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",t.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:e(a({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...o},...t})}d.displayName="Calendar";export{d as a};
@@ -1 +1 @@
1
- import{a as f}from"./chunk-FG7NJIJK.mjs";import{b as u,c as y}from"./chunk-THOLC3E6.mjs";import{a as c}from"./chunk-ALTFHQW6.mjs";import{a as p}from"./chunk-NIQ4466A.mjs";import{Fragment as g,jsx as t}from"react/jsx-runtime";var F=s=>{let{customId:o,reusableContent:r}=s;return typeof r=="object"&&r!==null?t(C,{blocks:r.layout}):t(g,{})},k={content:f,cta:u,mediaBlock:c,imageBlock:c,features:y},C=s=>{let{blocks:o}=s;return o&&Array.isArray(o)&&o.length>0?t("section",{id:"render-blocks",children:o.map((n,d)=>{var l,i;let{blockType:a}=n,e=n==null?void 0:n.theme;if(a&&a in k){let m=k[a];if(m)return t("div",{className:"py-6 relative",children:t("div",{className:p(((l=e==null?void 0:e.settings)==null?void 0:l.theme)==="dark"?"dark":((i=e==null?void 0:e.settings)==null?void 0:i.theme)==="green"?"green":""),children:t(m,{...n})})},d)}return null})}):null};export{F as a};
1
+ import{a as f}from"./chunk-X5FDSTRM.mjs";import{b as u,c as y}from"./chunk-MHVWWZUW.mjs";import{a as c}from"./chunk-GL6F4PKJ.mjs";import{a as p}from"./chunk-NIQ4466A.mjs";import{Fragment as g,jsx as t}from"react/jsx-runtime";var F=s=>{let{customId:o,reusableContent:r}=s;return typeof r=="object"&&r!==null?t(C,{blocks:r.layout}):t(g,{})},k={content:f,cta:u,mediaBlock:c,imageBlock:c,features:y},C=s=>{let{blocks:o}=s;return o&&Array.isArray(o)&&o.length>0?t("section",{id:"render-blocks",children:o.map((n,d)=>{var l,i;let{blockType:a}=n,e=n==null?void 0:n.theme;if(a&&a in k){let m=k[a];if(m)return t("div",{className:"py-6 relative",children:t("div",{className:p(((l=e==null?void 0:e.settings)==null?void 0:l.theme)==="dark"?"dark":((i=e==null?void 0:e.settings)==null?void 0:i.theme)==="green"?"green":""),children:t(m,{...n})})},d)}return null})}):null};export{F as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-ZLQFQW4R.mjs";import{a as i}from"./chunk-LKHCZTYP.mjs";import{a as r}from"./chunk-C5XNOZXC.mjs";import{jsx as o}from"react/jsx-runtime";function f({type:t="slideshow",orientation:a="landscape",...e}){let l=e.page;console.log("args",e);let{contentWithIds:s,tableOfContents:p}=r(l);if(t==="slideshow")return o("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:o(i,{blocks:s,hero:e.hero,title:e.page.title})});if(t==="print")return o(n,{page:e.page,layout:a})}export{f as a};
1
+ import{a as n}from"./chunk-LVHQ5ZSP.mjs";import{a as i}from"./chunk-JKXEWZ7M.mjs";import{a as r}from"./chunk-C5XNOZXC.mjs";import{jsx as o}from"react/jsx-runtime";function f({type:t="slideshow",orientation:a="landscape",...e}){let l=e.page;console.log("args",e);let{contentWithIds:s,tableOfContents:p}=r(l);if(t==="slideshow")return o("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:o(i,{blocks:s,hero:e.hero,title:e.page.title})});if(t==="print")return o(n,{page:e.page,layout:a})}export{f as a};
@@ -1 +1 @@
1
- import{a as m}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-LR6RU2SF.mjs";import{a as t}from"./chunk-KSCHUMVE.mjs";import{a as i}from"./chunk-DESYC5BB.mjs";import{a as o}from"./chunk-WU3JMLSC.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(i,{isMenuOpen:!0,logoLight:m,logoDark:o}),r(t,{...e.hero}),r(a,{className:"!pb-0",...e.blog})]})}export{d as a};
1
+ import{a as m}from"./chunk-BZAYEKYC.mjs";import{a}from"./chunk-OI7AIO33.mjs";import{a as t}from"./chunk-KSCHUMVE.mjs";import{a as i}from"./chunk-DESYC5BB.mjs";import{a as o}from"./chunk-WU3JMLSC.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function d({...e}){return n("div",{children:[r(i,{isMenuOpen:!0,logoLight:m,logoDark:o}),r(t,{...e.hero}),r(a,{className:"!pb-0",...e.blog})]})}export{d as a};
@@ -0,0 +1 @@
1
+ import{a as i}from"./chunk-QKGEV7LG.mjs";var r=t=>{let a=t.getDay()===0,n=t.getDay()===6,e=i.some(s=>s.date.toISOString()===t.toISOString());return a||n||e},l=(t,a,n=!1)=>{let e=new Date(t),s=new Date(a),o=0;if(n&&!r(e))return .5;for(;e<=s;)r(e)||o++,e.setDate(e.getDate()+1);return o},u=(t,a)=>!t||!a?!1:t.toDateString()!==a.toDateString();export{r as a,l as b,u as c};
@@ -1 +1 @@
1
- import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a}from"./chunk-H7D3PZKE.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as s}from"./chunk-Y2KKUQDU.mjs";import{a as d}from"./chunk-DRJBYVJB.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{x as a};
1
+ import{a}from"./chunk-H7D3PZKE.mjs";import{a as m}from"./chunk-IQPZEEYJ.mjs";import{a as s}from"./chunk-Y2KKUQDU.mjs";import{a as o}from"./chunk-VZXLXNVY.mjs";import{a as d}from"./chunk-DRJBYVJB.mjs";import{Fragment as p,jsx as e,jsxs as l}from"react/jsx-runtime";function x({...t}){return e(p,{children:l("div",{className:"flex min-h-full flex-col",children:[e("div",{className:"relative isolate"}),e(d,{...t.header}),e(m,{...t.motd}),l("div",{className:"mx-auto w-full max-w-screen-2xl grow lg:flex xl:px-2",children:[l("div",{className:"flex-1 xl:flex",children:[e("div",{className:"border-b border-gray-200 px-4 py-6 sm:px-6 lg:pl-8 xl:w-64 xl:shrink-0 xl:border-b-0 xl:border-r xl:pl-6",children:t.customers.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(o,{...r})},i))}),l("div",{className:"px-4 py-4 sm:px-6 lg:pl-8 xl:flex-1 xl:pl-6",children:[l("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:[e(a,{mainImage:"/placeholder/ai.png",title:"AI Enablement",color:"primary"}),e(a,{mainImage:"/placeholder/finops.png",title:"FinOps",color:"primary2"}),e(a,{mainImage:"/placeholder/metahuman.png",title:"Metahumans",color:"primary3"})]}),e("h1",{className:"text-balance text-3xl m-5 font-semibold tracking-tight text-primary sm:text-5xl",children:"News & Updates"})]})]}),l("div",{className:"shrink-0 border-t border-gray-200 px-4 py-4 sm:px-4 lg:w-96 lg:border-l lg:border-t-0 lg:pr-8 xl:pr-6",children:[e("div",{className:"mx-auto max-w-7xl",children:l("div",{className:"relative isolate overflow-hidden bg-gradient-to-br from-gray-900 via-brand-one to-brand-two px-2 py-4 text-center shadow-2xl sm:rounded-xl sm:px-2",children:[e("h2",{className:"text-balance text-xl font-semibold tracking-tight text-white sm:text-2xl",children:"Ways of working"}),e("p",{className:"mx-3 mt-4 max-w-xl text-pretty text-lg/8 text-gray-300",children:"Guides, Templates and Tools to help you work smarter."}),e("div",{className:"mt-4 flex items-center justify-center gap-x-6",children:e("a",{href:"#",className:"rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-accent focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",children:"Get started"})})]})}),e("div",{className:"mx-auto max-w-7xl flex flex-col items-center",children:t.events.map((r,i)=>e("div",{className:"py-2 w-full flex justify-center",children:e(s,{...r})},i))})]})]})]})})}export{x as a};
@@ -1 +1 @@
1
- import{a as g}from"./chunk-AD7PG4E2.mjs";import{a as e}from"./chunk-WZLEEZ5C.mjs";import{a as n}from"./chunk-KJ2C7CBU.mjs";import{a as o}from"./chunk-TXXFXCXB.mjs";import{a as s}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as a}from"react/jsx-runtime";function f({blogs:l,pages:m,categories:t,types:r}){return i("section",{children:i(s,{children:a("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[a("div",{children:[r&&i(n,{types:r}),i(g,{blogs:l}),i(e,{pages:m})]}),i("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:i("div",{className:"lg:-mt-24 w-full",children:t&&t.links&&i(o,{links:t.links,title:t.title})})})]})})})}export{f as a};
1
+ import{a as g}from"./chunk-AD7PG4E2.mjs";import{a as n}from"./chunk-KJ2C7CBU.mjs";import{a as e}from"./chunk-WZLEEZ5C.mjs";import{a as o}from"./chunk-TXXFXCXB.mjs";import{a as s}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as a}from"react/jsx-runtime";function f({blogs:l,pages:m,categories:t,types:r}){return i("section",{children:i(s,{children:a("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[a("div",{children:[r&&i(n,{types:r}),i(g,{blogs:l}),i(e,{pages:m})]}),i("div",{className:"grid gap-30px w-full self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:i("div",{className:"lg:-mt-24 w-full",children:t&&t.links&&i(o,{links:t.links,title:t.title})})})]})})})}export{f as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as y}from"./chunk-IJCMUPNH.mjs";import{a as f}from"./chunk-ZSUPFOXY.mjs";import{a as g}from"./chunk-XB5WL3OT.mjs";import{a as v}from"./chunk-Y74ENEUN.mjs";import{useState as N}from"react";import{ChevronDown as q}from"lucide-react";import{CalendarDays as P,Grid as R,PlusCircle as k,CheckSquare as A}from"lucide-react";import{useRouter as V}from"next/navigation";import{format as S,parseISO as H}from"date-fns";import{jsx as r,jsxs as t}from"react/jsx-runtime";function b(...s){return s.filter(Boolean).join(" ")}function z({holidays:s,currentUser:o,currentDate:h,leaveApprovals:x,employees:w,submitLeaveRequest:n,approveLeave:i,rejectLeave:m}){let[a,d]=N("Calendar View"),L=V(),C=!1,c=H(h),l=async e=>{let D=S(e,"dd-MM-yyyy"),p=new URL(window.location.href);return p.searchParams.set("date",D),L.push(p.toString()),{success:!0}};if(C)return r("div",{className:"flex justify-center items-center h-screen",children:r("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let u=[{name:"Grid View",icon:R,current:a==="Grid View"},{name:"Calendar View",icon:P,current:a==="Calendar View"},{name:"Request Leave",icon:k,current:a==="Request Leave"},{name:"Approve Leave",icon:A,current:a==="Approve Leave"}];return t("div",{className:"container fixed mx-auto p-4",children:[t("div",{className:"mb-8",children:[t("div",{className:"sm:hidden",children:[r("select",{value:a,onChange:e=>d(e.target.value),className:"block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm",children:u.map(e=>r("option",{children:e.name},e.name))}),r(q,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),r("div",{className:"hidden sm:block",children:r("div",{className:"border-b border-gray-200",children:r("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:u.map(e=>t("a",{onClick:()=>{(e.name!=="Approve Leave"||o.grade==="Manager"||o.grade==="Senior Manager"||o.grade==="Partner")&&d(e.name)},className:b(e.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",e.name==="Approve Leave"&&o.grade!=="Manager"&&o.grade!=="Senior Manager"&&o.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-sm font-medium"),"aria-current":e.current?"page":void 0,children:[r(e.icon,{className:b(e.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),r("span",{children:e.name})]},e.name))})})})]}),a==="Grid View"&&r(f,{currentDate:c,setCurrentDate:l,holidays:s,employees:w}),a==="Calendar View"&&r(y,{currentDate:c,setCurrentDate:l,holidays:s}),a==="Request Leave"&&r(g,{remainingDays:o.remainingLeaveDays,submitLeaveRequest:e=>n?n(e):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),a==="Approve Leave"&&r(v,{leaveRequests:x,onApprove:e=>i?i(e):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:e=>m?m(e):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}export{z as a};
@@ -1 +1 @@
1
- import{a as s}from"./chunk-6A46EVGW.mjs";import{a as l}from"./chunk-7UHGKJPF.mjs";import{a as c}from"./chunk-7HBGRPQN.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as i}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function f({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:i("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:i("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:i("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as d}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return d("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(n,{children:d("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(f,{breadcrumbItems:r})]})})]})}export{m as a,k as b,f as c};
1
+ import{a as l}from"./chunk-XHNZFKKI.mjs";import{a as s}from"./chunk-FM7CBLYK.mjs";import{a as c}from"./chunk-DCEF2LYO.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import b from"next/image";import{ChevronRightIcon as u,HomeIcon as g}from"@heroicons/react/20/solid";import{Fragment as x,jsx as t,jsxs as i}from"react/jsx-runtime";var h={highImpact:s,lowImpact:l,mediumImpact:c,sectionHero:m},k=a=>{let{type:r}=a||{};if(!r||r==="none")return null;let e=h[r];return e?t(e,{...a}):null};function f({breadcrumbItems:a}){if(a&&a.length>0){let r=a.filter(e=>e.label.toLowerCase()!=="home");return t("nav",{"aria-label":"Breadcrumb",className:"flex",children:i("ol",{role:"list",className:"flex items-center space-x-4",children:[t("li",{children:t("div",{children:i("a",{href:"/",className:"text-foreground hover:text-accent",children:[t(g,{"aria-hidden":"true",className:"size-5 shrink-0"}),t("span",{className:"sr-only",children:"Home"})]})})}),r.map((e,p)=>t("li",{children:i("div",{className:"flex items-center",children:[t(u,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),e.href?t("a",{href:e.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label}):t("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:e.label})]})},p))]})})}return t(x,{})}import{jsx as o,jsxs as d}from"react/jsx-runtime";function m({title:a,breadcrumbItems:r,image:e}){return d("section",{className:"-z-10 relative flex min-h-[250px] pt-auto items-end",children:[o("div",{className:"absolute inset-0 z-0",children:e&&o(b,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"})}),o("span",{className:"absolute inset-0 bg-gradient-1 from-background/0 to-background dark:from-background/0 dark:to-background"}),o(n,{children:d("div",{className:"relative z-10 flex flex-wrap items-center justify-between gap-x-20 gap-y-8 text-accent-900 dark:text-white lg:pt-[40px] pb-5",children:[o("h1",{className:"font-secondary text-5xl font-bold lg:w-1/2",children:a}),r&&r.length>0&&o(f,{breadcrumbItems:r})]})})]})}export{m as a,k as b,f as c};
@@ -1 +1 @@
1
- import{e as o}from"./chunk-THOLC3E6.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
1
+ import{e as o}from"./chunk-MHVWWZUW.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
@@ -1 +1 @@
1
- import{a as m}from"./chunk-UMILL4LR.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-65C6PZZX.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import v from"next/image";import{FaEnvelope as x,FaPhoneFlip as h}from"react-icons/fa6";import{Fragment as N,jsx as e,jsxs as t}from"react/jsx-runtime";function H(s){let{sectionHeading:d,image:a}=s;return t(N,{children:[e("section",{className:"section-padding-primary",children:e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,c)=>{var o;return t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 font-semibold text-accent",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=i.location.split(","))==null?void 0:o.map((p,g)=>e("p",{children:p},g))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(x,{className:"pr-2 text-accent size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(h,{className:"pr-2 text-accent size-auto"}),i.phoneNumbers[0]]})]})]},c)})})]})})})})}),e("section",{className:"section-padding-primary",children:t("div",{className:"relative py-[60px]",children:[e("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:e(v,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(n,{children:e("div",{className:"ml-auto md:w-1/2",children:t("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(l,{...d,invert:!0})}),e(m,{})]})})})]})})]})}export{H as a};
1
+ import{a as m}from"./chunk-QO2Z7WXW.mjs";import{a as r}from"./chunk-KML6U7IE.mjs";import{a as l}from"./chunk-ZGX3P2RY.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import v from"next/image";import{FaEnvelope as x,FaPhoneFlip as h}from"react-icons/fa6";import{Fragment as N,jsx as e,jsxs as t}from"react/jsx-runtime";function H(s){let{sectionHeading:d,image:a}=s;return t(N,{children:[e("section",{className:"section-padding-primary",children:e("div",{className:"",children:e("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:e("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:t("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[t("div",{children:[e("h2",{className:"text-pretty text-4xl font-semibold tracking-tight text-accent",children:"Locations"}),e("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK where we are based. These are our key locations."})]}),e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:s.locations&&s.locations.map((i,c)=>{var o;return t("div",{className:"rounded-2xl p-10 border",children:[e("h3",{className:"text-base/7 font-semibold text-accent",children:i.title}),t("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[(o=i.location.split(","))==null?void 0:o.map((p,g)=>e("p",{children:p},g))," ",i.mails&&t("p",{className:"flex items-center space-x-2",children:[e(x,{className:"pr-2 text-accent size-auto"}),e("span",{children:i.mails[0]})]}),i.phoneNumbers&&i.phoneNumbers.length>0&&t("p",{className:"flex items-center space-x-2",children:[e(h,{className:"pr-2 text-accent size-auto"}),i.phoneNumbers[0]]})]})]},c)})})]})})})})}),e("section",{className:"section-padding-primary",children:t("div",{className:"relative py-[60px]",children:[e("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:e(v,{src:a.src,alt:a.alt,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 60vw, 100vw",placeholder:"blur",blurDataURL:r})}),e(n,{children:e("div",{className:"ml-auto md:w-1/2",children:t("div",{className:"relative z-[2] rounded-5 bg-white p-10 shadow-1 dark:bg-accent-700 lg:p-[60px]",children:[e("div",{className:"mb-30px",children:e(l,{...d,invert:!0})}),e(m,{})]})})})]})})]})}export{H as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as c}from"./chunk-4DJ6HKHR.mjs";import{a as u}from"./chunk-BZAYEKYC.mjs";import{b as l}from"./chunk-BDX257W2.mjs";import{a,b as i,c as t,e as o}from"./chunk-D76EO57Z.mjs";import{a as s}from"./chunk-GOMLTG5W.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function b({...n}){return r("div",{className:"relative",children:[e("div",{className:"h-screen relative overflow-hidden",children:e(s,{...n.header,logoVideo:c,logoLight:u,logoDark:m})}),r("div",{id:"next-section",className:"mt-16 pt-16 min-h-screen",children:[" ",e("div",{className:"container py-8",children:r("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:n.children}),r("div",{className:"space-y-6",children:[r(a,{children:[e(i,{children:e(t,{children:"Quick Actions"})}),r(o,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(l,{className:"w-full",children:"Create New"})]})]}),r(a,{children:[e(i,{children:e(t,{children:"Resources"})}),e(o,{children:r("nav",{className:"flex flex-col space-y-2",children:[r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{b as a};
4
+ import{a as c}from"./chunk-4DJ6HKHR.mjs";import{a as u}from"./chunk-BZAYEKYC.mjs";import{a,b as i,c as t,e as o}from"./chunk-D76EO57Z.mjs";import{b as l}from"./chunk-BDX257W2.mjs";import{a as s}from"./chunk-GOMLTG5W.mjs";import{a as m}from"./chunk-WU3JMLSC.mjs";import{ExternalLink as d}from"lucide-react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function b({...n}){return r("div",{className:"relative",children:[e("div",{className:"h-screen relative overflow-hidden",children:e(s,{...n.header,logoVideo:c,logoLight:u,logoDark:m})}),r("div",{id:"next-section",className:"mt-16 pt-16 min-h-screen",children:[" ",e("div",{className:"container py-8",children:r("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[e("div",{className:"lg:col-span-2",children:n.children}),r("div",{className:"space-y-6",children:[r(a,{children:[e(i,{children:e(t,{children:"Quick Actions"})}),r(o,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Get started with your first action in just a few clicks."}),e(l,{className:"w-full",children:"Create New"})]})]}),r(a,{children:[e(i,{children:e(t,{children:"Resources"})}),e(o,{children:r("nav",{className:"flex flex-col space-y-2",children:[r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["User Guide",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["API Documentation",e(d,{className:"ml-1 h-3 w-3"})]}),r("a",{href:"#",className:"inline-flex items-center text-sm text-blue-600 hover:underline",children:["View Pricing Details",e(d,{className:"ml-1 h-3 w-3"})]})]})})]})]})]})})]})]})}export{b as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{e as c}from"./chunk-THOLC3E6.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-ICTOXY7D.mjs";import p from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var y=({links:r,media:t,children:m,richText:i})=>a("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[e("div",{className:"container mt-[20rem] mb-8 z-10 relative flex items-end justify-center",children:a("div",{className:"text-center container",children:[m||i&&e(c,{className:"mb-6 prose prose-h1:text-5xl prose-headings:text-foreground prose-p:text-foreground",content:i,enableGutter:!0}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:n},l)=>e("li",{children:e(o,{...n})},l))})]})}),a("div",{className:"min-h-96 select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(p,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});export{y as a};
4
+ import{e as c}from"./chunk-MHVWWZUW.mjs";import{a as o}from"./chunk-44VMK4FL.mjs";import{a as s}from"./chunk-NGK3IDFP.mjs";import p from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var y=({links:r,media:t,children:m,richText:i})=>a("div",{className:"relative -mt-[10.4rem] flex items-end justify-center text-white","data-theme":"dark",children:[e("div",{className:"container mt-[20rem] mb-8 z-10 relative flex items-end justify-center",children:a("div",{className:"text-center container",children:[m||i&&e(c,{className:"mb-6 prose prose-h1:text-5xl prose-headings:text-foreground prose-p:text-foreground",content:i,enableGutter:!0}),Array.isArray(r)&&r.length>0&&e("ul",{className:"flex justify-center gap-4",children:r.map(({link:n},l)=>e("li",{children:e(o,{...n})},l))})]})}),a("div",{className:"min-h-96 select-none",children:[t&&typeof t=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&e("div",{children:e(p,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),e("span",{className:"absolute inset-0 bg-gradient-1 from-white/0 to-white dark:from-background/0 dark:to-background"})]})]});export{y as a};
@@ -1 +1 @@
1
- import{a as U}from"./chunk-OWBJTXZL.mjs";import{a as C,c as h,d as D,g as b,i as N}from"./chunk-4JC2TJML.mjs";import{a as k}from"./chunk-4NKKWJ2X.mjs";import{a as T}from"./chunk-A5EYIB3V.mjs";import{a as l}from"./chunk-DWRQHV42.mjs";import{a as L}from"./chunk-Y5ZFXDW5.mjs";import{a as A,f as I,g as E,i as P}from"./chunk-JWDVKGZL.mjs";import{a as v}from"./chunk-QOIH63J3.mjs";import{b as f}from"./chunk-BDX257W2.mjs";import{useState as S,useEffect as J}from"react";import{PlusIcon as K}from"lucide-react";import{Fragment as Q,jsx as t,jsxs as r}from"react/jsx-runtime";function ie({customers:m,users:n,categories:B,onSubmit:O,initialDeal:d,onAddCustomer:V,onClose:p}){var y,x,w,F;let[s,o]=S(d||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[q,g]=S(!1),[i,c]=S({});J(()=>{d&&o(d)},[d]);let R=()=>{let e={};return s.customer||(e.customer="Customer is required"),s.value||(e.value="Value is required"),s.assignee||(e.assignee="Assignee is required"),s.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},H=async e=>{e.preventDefault(),c({});try{if(R()){let a=await O({...s});a.success?(o({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),p==null||p()):c(a.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},M=e=>{console.log(e),o(a=>({...a,categories:(a.categories||[]).includes(e.id)?(a.categories||[]).filter(u=>u!==e.id):[...a.categories||[],e.id]}))},z=async e=>{o({...s,customer:e});try{let a=await V(e);a.success?g(!1):c(a.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},j=e=>n==null?void 0:n.find(a=>a.id===Number(e)),G=e=>m==null?void 0:m.find(a=>a.id===Number(e));return r(Q,{children:[r("form",{onSubmit:H,className:"space-y-6",children:[t(k,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(C,{value:(x=(y=s.customer)==null?void 0:y.id)==null?void 0:x.toString(),onValueChange:e=>o({...s,customer:G(e)}),children:[t(D,{children:t(h,{placeholder:"Select customer"})}),t(b,{children:m.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),t(f,{variant:"outline",size:"icon",onClick:()=>g(!0),children:t(K,{className:"w-5 h-5"})})]}),i.customerId&&t("p",{className:"text-red-500 text-sm",children:i.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(v,{id:"value",type:"number",value:s.value||"",onChange:e=>o({...s,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),i.value&&t("p",{className:"text-red-500 text-sm",children:i.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(C,{value:(F=(w=s.assignee)==null?void 0:w.id)==null?void 0:F.toString(),onValueChange:e=>o({...s,assignee:j(e)}),children:[t(D,{children:t(h,{placeholder:"Select assignee"})}),t(b,{children:n&&n.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),i.assignee&&t("p",{className:"text-red-500 text-sm",children:i.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(T,{id:"description",value:s.description||"",onChange:e=>o({...s,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:B.filter(a=>a.type===e).map(a=>{var u;return r("div",{className:"flex items-center space-x-2",children:[t(L,{id:a.id.toString(),checked:(u=s.categories)==null?void 0:u.includes(a.id),onCheckedChange:()=>M(a)}),t("label",{htmlFor:a.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:a.name})]},a.id)})})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(v,{id:"closureDate",type:"date",value:s.closureDate||"",onChange:e=>o({...s,closureDate:e.target.value})}),i.closureDate&&t("p",{className:"text-red-500 text-sm",children:i.closureDate})]})]})}),t(f,{type:"submit",className:"w-full",children:d?"Update Deal":"Add Deal"})]}),t(A,{open:q,onOpenChange:g,children:r(I,{children:[t(E,{children:t(P,{children:"Add New Customer"})}),t(U,{onSubmit:z})]})})]})}export{ie as a};
1
+ import{a as U}from"./chunk-OWBJTXZL.mjs";import{a as k}from"./chunk-4NKKWJ2X.mjs";import{a as C,c as h,d as D,g as b,i as N}from"./chunk-4JC2TJML.mjs";import{a as T}from"./chunk-A5EYIB3V.mjs";import{a as l}from"./chunk-DWRQHV42.mjs";import{a as L}from"./chunk-Y5ZFXDW5.mjs";import{a as A,f as I,g as E,i as P}from"./chunk-JWDVKGZL.mjs";import{a as v}from"./chunk-QOIH63J3.mjs";import{b as f}from"./chunk-BDX257W2.mjs";import{useState as S,useEffect as J}from"react";import{PlusIcon as K}from"lucide-react";import{Fragment as Q,jsx as t,jsxs as r}from"react/jsx-runtime";function ie({customers:m,users:n,categories:B,onSubmit:O,initialDeal:d,onAddCustomer:V,onClose:p}){var y,x,w,F;let[s,o]=S(d||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[q,g]=S(!1),[i,c]=S({});J(()=>{d&&o(d)},[d]);let R=()=>{let e={};return s.customer||(e.customer="Customer is required"),s.value||(e.value="Value is required"),s.assignee||(e.assignee="Assignee is required"),s.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},H=async e=>{e.preventDefault(),c({});try{if(R()){let a=await O({...s});a.success?(o({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),p==null||p()):c(a.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},M=e=>{console.log(e),o(a=>({...a,categories:(a.categories||[]).includes(e.id)?(a.categories||[]).filter(u=>u!==e.id):[...a.categories||[],e.id]}))},z=async e=>{o({...s,customer:e});try{let a=await V(e);a.success?g(!1):c(a.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},j=e=>n==null?void 0:n.find(a=>a.id===Number(e)),G=e=>m==null?void 0:m.find(a=>a.id===Number(e));return r(Q,{children:[r("form",{onSubmit:H,className:"space-y-6",children:[t(k,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(C,{value:(x=(y=s.customer)==null?void 0:y.id)==null?void 0:x.toString(),onValueChange:e=>o({...s,customer:G(e)}),children:[t(D,{children:t(h,{placeholder:"Select customer"})}),t(b,{children:m.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),t(f,{variant:"outline",size:"icon",onClick:()=>g(!0),children:t(K,{className:"w-5 h-5"})})]}),i.customerId&&t("p",{className:"text-red-500 text-sm",children:i.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(v,{id:"value",type:"number",value:s.value||"",onChange:e=>o({...s,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),i.value&&t("p",{className:"text-red-500 text-sm",children:i.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(C,{value:(F=(w=s.assignee)==null?void 0:w.id)==null?void 0:F.toString(),onValueChange:e=>o({...s,assignee:j(e)}),children:[t(D,{children:t(h,{placeholder:"Select assignee"})}),t(b,{children:n&&n.map(e=>{var a;return t(N,{value:((a=e.id)==null?void 0:a.toString())||"",children:e.name},e.id)})})]}),i.assignee&&t("p",{className:"text-red-500 text-sm",children:i.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(T,{id:"description",value:s.description||"",onChange:e=>o({...s,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:B.filter(a=>a.type===e).map(a=>{var u;return r("div",{className:"flex items-center space-x-2",children:[t(L,{id:a.id.toString(),checked:(u=s.categories)==null?void 0:u.includes(a.id),onCheckedChange:()=>M(a)}),t("label",{htmlFor:a.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:a.name})]},a.id)})})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(v,{id:"closureDate",type:"date",value:s.closureDate||"",onChange:e=>o({...s,closureDate:e.target.value})}),i.closureDate&&t("p",{className:"text-red-500 text-sm",children:i.closureDate})]})]})}),t(f,{type:"submit",className:"w-full",children:d?"Update Deal":"Add Deal"})]}),t(A,{open:q,onOpenChange:g,children:r(I,{children:[t(E,{children:t(P,{children:"Add New Customer"})}),t(U,{onSubmit:z})]})})]})}export{ie as a};
@@ -1 +1 @@
1
- import{a as e}from"./chunk-ICTOXY7D.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var d=r=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=r;return o("div",{className:a("h-full",{container:s},t),children:o(e,{imgClassName:a("rounded-[0.8rem] max-h-full",m),className:"h-full",resource:i,src:l})})};export{d as a};
1
+ import{a as e}from"./chunk-NGK3IDFP.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var d=r=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=r;return o("div",{className:a("h-full",{container:s},t),children:o(e,{imgClassName:a("rounded-[0.8rem] max-h-full",m),className:"h-full",resource:i,src:l})})};export{d as a};
@@ -1 +1 @@
1
- import{a as l}from"./chunk-BZAYEKYC.mjs";import{a as s}from"./chunk-WKD2UQGO.mjs";import{b as i}from"./chunk-5GMSJQA2.mjs";import{a as n}from"./chunk-UU4NDOU7.mjs";import{a}from"./chunk-DESYC5BB.mjs";import{a as o}from"./chunk-C5XNOZXC.mjs";import{a as r}from"./chunk-WU3JMLSC.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function g({...e}){let f=e.page,{contentWithIds:c,tableOfContents:p}=o(f);return m("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(a,{isMenuOpen:!0,logoLight:l,logoDark:r}),t(i,{...e.hero}),t(s,{edit:e.edit,pageId:e.page.id,tableOfContents:p,relatedContent:e.relatedContent,children:t(n,{blocks:c})})]})}export{g as a};
1
+ import{a as l}from"./chunk-BZAYEKYC.mjs";import{a as s}from"./chunk-WKD2UQGO.mjs";import{b as i}from"./chunk-CTMMLDMU.mjs";import{a as n}from"./chunk-IYERYBWZ.mjs";import{a}from"./chunk-DESYC5BB.mjs";import{a as o}from"./chunk-C5XNOZXC.mjs";import{a as r}from"./chunk-WU3JMLSC.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function g({...e}){let f=e.page,{contentWithIds:c,tableOfContents:p}=o(f);return m("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:[t(a,{isMenuOpen:!0,logoLight:l,logoDark:r}),t(i,{...e.hero}),t(s,{edit:e.edit,pageId:e.page.id,tableOfContents:p,relatedContent:e.relatedContent,children:t(n,{blocks:c})})]})}export{g as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{b as r}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{useState as v}from"react";import{ChevronLeft as f,ChevronRight as x}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function k({currentDate:s,setCurrentDate:d,holidays:c}){let[o,b]=v(null),p=(new Date(s.getFullYear(),s.getMonth(),1).getDay()+6)%7,g=Array.from({length:42},(e,n)=>{let l=new Date(s.getFullYear(),s.getMonth(),n-p+1);return{date:l,isCurrentMonth:l.getMonth()===s.getMonth(),isToday:l.toDateString()===new Date().toDateString(),holidays:c.filter(m=>new Date(m.startDate)<=l&&new Date(m.endDate)>=l)}}),h=()=>{d(new Date(s.getFullYear(),s.getMonth()-1,1))},u=()=>{d(new Date(s.getFullYear(),s.getMonth()+1,1))},y=()=>{d(new Date)};return a("div",{className:"lg:flex lg:h-full lg:flex-col",children:[a("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[t("h1",{className:"text-base font-semibold text-foreground",children:t("time",{dateTime:s.toISOString(),children:s.toLocaleString("default",{month:"long",year:"numeric"})})}),t("div",{className:"flex items-center",children:a("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[a(r,{onClick:h,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Previous month"}),t(f,{className:"h-5 w-5","aria-hidden":"true"})]}),t(r,{variant:"outline",onClick:y,className:"hidden border-l border-r border-accent px-3.5 text-sm font-semibold text-accent hover:bg-gray-50 focus:relative md:block",children:"Today"}),a(r,{onClick:u,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[t("span",{className:"sr-only",children:"Next month"}),t(x,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),a("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[a("div",{className:"grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700 lg:flex-none",children:[a("div",{className:"bg-white py-2",children:["M",t("span",{className:"sr-only sm:not-sr-only",children:"on"})]}),a("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"ue"})]}),a("div",{className:"bg-white py-2",children:["W",t("span",{className:"sr-only sm:not-sr-only",children:"ed"})]}),a("div",{className:"bg-white py-2",children:["T",t("span",{className:"sr-only sm:not-sr-only",children:"hu"})]}),a("div",{className:"bg-white py-2",children:["F",t("span",{className:"sr-only sm:not-sr-only",children:"ri"})]}),a("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"at"})]}),a("div",{className:"bg-white py-2",children:["S",t("span",{className:"sr-only sm:not-sr-only",children:"un"})]})]}),a("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto",children:[t("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px",children:g.map(e=>a("div",{className:i(e.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2"),children:[t("time",{dateTime:e.date.toISOString(),className:i("flex h-6 w-6 items-center justify-center rounded-full",e.isToday&&"bg-indigo-600 font-semibold text-white"),children:e.date.getDate()}),e.holidays.length>0&&t("ol",{className:"mt-2 space-y-1",children:e.holidays.map(n=>t("li",{children:t("div",{className:`text-xs px-1 py-0.5 rounded ${n.status==="approved"?"border-green-500":"border-gray-500"} border`,children:n.userName})},n.id))})]},e.date.toISOString()))}),t("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:g.map(e=>a("button",{type:"button",className:i(e.isCurrentMonth?"bg-white":"bg-gray-50",(e.date===o||e.isToday)&&"font-semibold",e.date===o&&"text-white",!e.date&&e.isToday&&"text-indigo-600",e.date!==o&&e.isCurrentMonth&&!e.isToday&&"text-gray-900",e.date!==o&&!e.isCurrentMonth&&!e.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:z-10"),children:[t("time",{dateTime:e.date.toISOString(),className:i("ml-auto",e.date===o&&e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",e.date===o&&!e.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:e.date.getDate()}),a("span",{className:"sr-only",children:[e.holidays.length," holidays"]}),e.holidays.length>0&&t("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:e.holidays.map(n=>t("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${n.status==="approved"?"bg-green-500":"bg-gray-500"}`},n.id))})]},e.date.toISOString()))})]})]})]})}export{k as a};
@@ -1 +1 @@
1
- import{a as C}from"./chunk-SEG6IDDX.mjs";import{a as b}from"./chunk-BRYZOZKY.mjs";import{a as p,b as d,f as u,g as c,i as D}from"./chunk-JWDVKGZL.mjs";import{b as g}from"./chunk-BDX257W2.mjs";import{useState as R}from"react";import{PlusCircle as y}from"lucide-react";import{Droppable as v,Draggable as T}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as e,jsxs as o}from"react/jsx-runtime";function L({status:r,deals:s,users:f,customers:h,categories:i,onDealClick:N,calculateColumnValue:w,calculateWeightedValue:x,addNewDeal:n,onAddCustomer:P}){let[S,m]=R(!1);return o("div",{className:"flex flex-col w-80",children:[e("h2",{className:"text-xl font-semibold mb-4",children:r}),n&&o(p,{open:S,onOpenChange:m,children:[e(d,{asChild:!0,children:o(g,{className:"mb-4 w-full bg-green-500 hover:bg-green-600 text-white",children:[e(y,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),o(u,{children:[e(c,{children:e(D,{children:"Add New Deal"})}),e(C,{customers:h,users:f,categories:i,onSubmit:n,onAddCustomer:P,onClose:()=>m(!1)})]})]}),e(v,{droppableId:r,isDropDisabled:!1,children:l=>o("div",{ref:l.innerRef,...l.droppableProps,className:"bg-gray-100 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[s.map((a,A)=>e(T,{draggableId:a.id.toString(),index:a.id,children:t=>e("div",{ref:t.innerRef,...t.draggableProps,...t.dragHandleProps,children:e(b,{deal:a,customer:a.customer,categories:i,onClick:()=>N(a)})})},a.id.toString())),l.placeholder]})}),o("div",{className:"mt-4 text-sm bg-white p-3 rounded-lg shadow",children:[o("p",{className:"font-semibold",children:["Total:"," ",o("span",{className:"text-green-600",children:["\xA3",w(s).toLocaleString()]})]}),o("p",{className:"font-semibold",children:["Weighted:"," ",o("span",{className:"text-blue-600",children:["\xA3",x(s,r).toLocaleString()]})]})]})]})}export{L as a};
1
+ import{a as C}from"./chunk-G5HD4IFA.mjs";import{a as b}from"./chunk-BRYZOZKY.mjs";import{a as p,b as d,f as u,g as c,i as D}from"./chunk-JWDVKGZL.mjs";import{b as g}from"./chunk-BDX257W2.mjs";import{useState as R}from"react";import{PlusCircle as y}from"lucide-react";import{Droppable as v,Draggable as T}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as e,jsxs as o}from"react/jsx-runtime";function L({status:r,deals:s,users:f,customers:h,categories:i,onDealClick:N,calculateColumnValue:w,calculateWeightedValue:x,addNewDeal:n,onAddCustomer:P}){let[S,m]=R(!1);return o("div",{className:"flex flex-col w-80",children:[e("h2",{className:"text-xl font-semibold mb-4",children:r}),n&&o(p,{open:S,onOpenChange:m,children:[e(d,{asChild:!0,children:o(g,{className:"mb-4 w-full bg-green-500 hover:bg-green-600 text-white",children:[e(y,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),o(u,{children:[e(c,{children:e(D,{children:"Add New Deal"})}),e(C,{customers:h,users:f,categories:i,onSubmit:n,onAddCustomer:P,onClose:()=>m(!1)})]})]}),e(v,{droppableId:r,isDropDisabled:!1,children:l=>o("div",{ref:l.innerRef,...l.droppableProps,className:"bg-gray-100 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[s.map((a,A)=>e(T,{draggableId:a.id.toString(),index:a.id,children:t=>e("div",{ref:t.innerRef,...t.draggableProps,...t.dragHandleProps,children:e(b,{deal:a,customer:a.customer,categories:i,onClick:()=>N(a)})})},a.id.toString())),l.placeholder]})}),o("div",{className:"mt-4 text-sm bg-white p-3 rounded-lg shadow",children:[o("p",{className:"font-semibold",children:["Total:"," ",o("span",{className:"text-green-600",children:["\xA3",w(s).toLocaleString()]})]}),o("p",{className:"font-semibold",children:["Weighted:"," ",o("span",{className:"text-blue-600",children:["\xA3",x(s,r).toLocaleString()]})]})]})]})}export{L as a};
@@ -1 +1 @@
1
- import{a as b}from"./chunk-VA4VHZQ4.mjs";import{a as k}from"./chunk-FG7NJIJK.mjs";import{b as u,c as f}from"./chunk-THOLC3E6.mjs";import{a as g}from"./chunk-ALTFHQW6.mjs";import{a as s}from"./chunk-NIQ4466A.mjs";import p from"next/image";import{jsx as a,jsxs as h}from"react/jsx-runtime";var y={content:k,cta:u,mediaBlock:g,imageBlock:g,features:f,reusableContentBlock:b},w=r=>{let{blocks:e}=r;return e&&Array.isArray(e)&&e.length>0?a("section",{id:"render-blocks",className:s(r.fill?"h-full w-full":""),children:e.map((t,i)=>{var l,m;let{blockType:o}=t,n=t==null?void 0:t.theme;if(o&&o in y){let d=y[o];if(d)return h("div",{className:s("py-6 relative",r.fill&&"flex h-full items-center justify-center"),children:[a(v,{block:t,index:i}),a("div",{className:s("container h-full",((l=n==null?void 0:n.settings)==null?void 0:l.theme)==="dark"?"dark":((m=n==null?void 0:n.settings)==null?void 0:m.theme)==="green"?"green":""),children:a(d,{...t})})]},i)}return null})}):null},v=r=>{var c,t,i,o,n;if(!("theme"in r.block))return null;let e=(c=r.block)==null?void 0:c.theme;if(e.settings.background==="image"){let l={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return h("div",{className:s("absolute inset-0 w-full h-full -z-10",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":""),children:[a(p,{src:((i=(t=e.settings)==null?void 0:t.image)==null?void 0:i.url)||"/placeholder.svg",alt:((n=(o=e.settings)==null?void 0:o.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&a("div",{className:"absolute inset-0",style:{background:l.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return a("div",{className:s("absolute inset-0 -z-10 w-screen h-full",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":"")})};export{w as a,v as b};
1
+ import{a as b}from"./chunk-4VPOPPLA.mjs";import{a as k}from"./chunk-X5FDSTRM.mjs";import{b as u,c as f}from"./chunk-MHVWWZUW.mjs";import{a as g}from"./chunk-GL6F4PKJ.mjs";import{a as s}from"./chunk-NIQ4466A.mjs";import p from"next/image";import{jsx as a,jsxs as h}from"react/jsx-runtime";var y={content:k,cta:u,mediaBlock:g,imageBlock:g,features:f,reusableContentBlock:b},w=r=>{let{blocks:e}=r;return e&&Array.isArray(e)&&e.length>0?a("section",{id:"render-blocks",className:s(r.fill?"h-full w-full":""),children:e.map((t,i)=>{var l,m;let{blockType:o}=t,n=t==null?void 0:t.theme;if(o&&o in y){let d=y[o];if(d)return h("div",{className:s("py-6 relative",r.fill&&"flex h-full items-center justify-center"),children:[a(v,{block:t,index:i}),a("div",{className:s("container h-full",((l=n==null?void 0:n.settings)==null?void 0:l.theme)==="dark"?"dark":((m=n==null?void 0:n.settings)==null?void 0:m.theme)==="green"?"green":""),children:a(d,{...t})})]},i)}return null})}):null},v=r=>{var c,t,i,o,n;if(!("theme"in r.block))return null;let e=(c=r.block)==null?void 0:c.theme;if(e.settings.background==="image"){let l={imagePosition:e.settings.imagePosition||"left",overlay:e.settings.overlay!==void 0?e.settings.overlay:!0};return h("div",{className:s("absolute inset-0 w-full h-full -z-10",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":""),children:[a(p,{src:((i=(t=e.settings)==null?void 0:t.image)==null?void 0:i.url)||"/placeholder.svg",alt:((n=(o=e.settings)==null?void 0:o.image)==null?void 0:n.alt)||"",fill:!0,className:"object-cover",priority:!0}),e.settings.overlay&&a("div",{className:"absolute inset-0",style:{background:l.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return a("div",{className:s("absolute inset-0 -z-10 w-screen h-full",e.settings.theme==="dark"?"dark bg-background":e.settings.theme==="green"?"green bg-background":"")})};export{w as a,v as b};
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as y,b as h,c as b}from"./chunk-5J3MWP62.mjs";import{a as f}from"./chunk-UU4NDOU7.mjs";import{a as A}from"./chunk-22FHCZJD.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{d as C}from"./chunk-S7OK7D5I.mjs";import{useState as D,useEffect as E,useCallback as P}from"react";import{AnimatePresence as w,motion as v}from"framer-motion";var k=C(A());import"pagedjs";import{Fragment as W,jsx as t,jsxs as g}from"react/jsx-runtime";var Y=c=>{let[s,r]=D(0),{blocks:i,hero:x}=c,N=i&&Array.isArray(i)&&i.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],S=e=>{r(e)},a=()=>{r(e=>(e+1)%n.length)},m=()=>{r(e=>(e-1+n.length)%n.length)},d=P(((e,o)=>{let p;return(...T)=>{clearTimeout(p),p=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?a():m()},300),[]),u=e=>{e.key==="ArrowDown"?a():e.key==="ArrowUp"&&m()};return E(()=>(k.default.init({duration:1e3}),window.addEventListener("wheel",d),window.addEventListener("keydown",u),()=>{window.removeEventListener("wheel",d),window.removeEventListener("keydown",u)}),[]),g("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(w,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
4
+ import{a as y,b as h,c as b}from"./chunk-KKSMDJRP.mjs";import{a as f}from"./chunk-IYERYBWZ.mjs";import{a as A}from"./chunk-22FHCZJD.mjs";import{a as l}from"./chunk-NIQ4466A.mjs";import{d as C}from"./chunk-S7OK7D5I.mjs";import{useState as D,useEffect as E,useCallback as P}from"react";import{AnimatePresence as w,motion as v}from"framer-motion";var k=C(A());import"pagedjs";import{Fragment as W,jsx as t,jsxs as g}from"react/jsx-runtime";var Y=c=>{let[s,r]=D(0),{blocks:i,hero:x}=c,N=i&&Array.isArray(i)&&i.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],S=e=>{r(e)},a=()=>{r(e=>(e+1)%n.length)},m=()=>{r(e=>(e-1+n.length)%n.length)},d=P(((e,o)=>{let p;return(...T)=>{clearTimeout(p),p=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?a():m()},300),[]),u=e=>{e.key==="ArrowDown"?a():e.key==="ArrowUp"&&m()};return E(()=>(k.default.init({duration:1e3}),window.addEventListener("wheel",d),window.addEventListener("keydown",u),()=>{window.removeEventListener("wheel",d),window.removeEventListener("keydown",u)}),[]),g("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(w,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
5
5
  ${o===s?"opacity-100":"opacity-0"}
6
6
  w-full h-full bg-cover bg-center`,children:o===0?t(b,{hero:x,title:c.title}):g(W,{children:[e.blockName&&t(h,{title:e.blockName}),t(f,{blocks:[e],fill:!0}),t(y,{})]})})},o))}),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:a,children:t(R,{})})]})},R=()=>t(w,{children:t(v.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:t(v.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});export{Y as a};
@@ -1,2 +1,2 @@
1
- import{a as c}from"./chunk-X6QN5C6U.mjs";import{e as l}from"./chunk-THOLC3E6.mjs";import{a}from"./chunk-WU3JMLSC.mjs";import m from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var h=()=>i("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
1
+ import{a as c}from"./chunk-X6QN5C6U.mjs";import{e as l}from"./chunk-MHVWWZUW.mjs";import{a}from"./chunk-WU3JMLSC.mjs";import m from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";var h=()=>i("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
2
2
  dark bg-background text-primary`,children:[i("div",{className:"flex px-6 items-center space-x-2",children:[e("img",{src:a.src,alt:"Cortex Reply Logo",className:"h-8"}),e("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),e("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),u=({title:s})=>e("header",{className:"absolute top-0 left-0 w-full py-4 px-8 flex justify-between items-center transition-colors duration-300 dark bg-background text-foreground",children:e("div",{className:"container",children:e("span",{className:"container text-4xl px-6",children:s})})}),g=s=>{var o,r;let{title:d,hero:t}=s;return i("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[e("div",{className:"absolute inset-0",children:e(m,{src:t.media?t.media.url:c,alt:"Background",width:t.media&&t.media.width&&(o=t.media.width)!=null?o:1920,height:t.media&&t.media.height&&(r=t.media.height)!=null?r:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),e("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:a&&e("div",{className:"h-24",children:e(m,{src:a,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),e("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),i("div",{className:"relative pl-24 z-10 max-w-3xl",children:[e("p",{className:"text-lg font-medium text-accent mb-2",children:d}),t.richText&&e(l,{content:t.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};export{h as a,u as b,g as c};
@@ -1,4 +1,4 @@
1
- import{a as d}from"./chunk-SV7NMNDI.mjs";import{a as p}from"./chunk-65C6PZZX.mjs";import{c}from"./chunk-YNNW2C2U.mjs";import{a as n}from"./chunk-WISCWNL2.mjs";import{a as m}from"./chunk-UESKYRNK.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import g from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function _({blogs:a,sectionHeading:t}){return e("section",{className:o("section-padding-primary overflow-hidden "),children:i(m,{children:[e("div",{className:"mx-auto max-w-[630px]",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(p,{...t,alignment:"center",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:a.map((l,r)=>e("div",{"data-aos":"fade-up","data-aos-delay":d([200,400,600],r),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:e(u,{...l})},r))})]})})}var f=o("inline-flex items-center gap-2 text-white"),z=o("text-sm text-white");function u({slug:a,image:t,authors:l,title:r,publishedAt:s,categories:v}){return i("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(g,{src:t.src,alt:t.alt,fill:!0,sizes:`
1
+ import{a as d}from"./chunk-SV7NMNDI.mjs";import{a as p}from"./chunk-ZGX3P2RY.mjs";import{c}from"./chunk-YNNW2C2U.mjs";import{a as n}from"./chunk-WISCWNL2.mjs";import{a as m}from"./chunk-UESKYRNK.mjs";import{a as o}from"./chunk-NIQ4466A.mjs";import g from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as i}from"react/jsx-runtime";function _({blogs:a,sectionHeading:t}){return e("section",{className:o("section-padding-primary overflow-hidden "),children:i(m,{children:[e("div",{className:"mx-auto max-w-[630px]",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(p,{...t,alignment:"center",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-center gap-y-30px",children:a.map((l,r)=>e("div",{"data-aos":"fade-up","data-aos-delay":d([200,400,600],r),className:"w-full px-4 md:w-1/2 md:px-[15px] lg:w-1/3",children:e(u,{...l})},r))})]})})}var f=o("inline-flex items-center gap-2 text-white"),z=o("text-sm text-white");function u({slug:a,image:t,authors:l,title:r,publishedAt:s,categories:v}){return i("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(g,{src:t.src,alt:t.alt,fill:!0,sizes:`
2
2
  (min-width:768px) 50vw,
3
3
  (min-width:1024px) 33vw,
4
4
  100vw
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as D,c as j}from"./chunk-5J3MWP62.mjs";import{a as T}from"./chunk-UU4NDOU7.mjs";import{b as I}from"./chunk-BDX257W2.mjs";import{a as F}from"./chunk-C5XNOZXC.mjs";import{a as O}from"./chunk-NIQ4466A.mjs";import{a as U}from"./chunk-WU3JMLSC.mjs";import{useEffect as _,useRef as L,useState as ee,useCallback as te}from"react";import{Previewer as q}from"pagedjs";import oe from"html2canvas";import{jsPDF as J}from"jspdf";import{Fragment as K,jsx as e,jsxs as f}from"react/jsx-runtime";function ne(i){var n=document.createElement("div");n.style.display="block",n.style.height=i,document.body.appendChild(n);var v=parseFloat(window.getComputedStyle(n,null).height);return n.parentNode&&n.parentNode.removeChild(n),Math.floor(v)}var be=({page:i,layout:n="portrait"})=>n==="flow"?e(ie,{page:i,layout:n}):e(re,{page:i,layout:n}),ie=({page:i,layout:n="portrait"})=>{let{contentWithIds:v}=F(i),m={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},R=async()=>{x("printable-content")},x=async a=>{let s=document.getElementById(a);if(!s)throw new Error(`Element with id ${a} not found`);let l=document.createElement("canvas"),y=window.devicePixelRatio;l.width=Math.max(s.clientWidth||0)*y,l.height=Math.max(s.clientHeight||0)*y+100;let b=l.getContext("2d");if(!b)throw new Error("Failed to get 2D context");let r=b.drawImage,g=Array.from(s.getElementsByTagName("img")).reduce((C,c)=>(C[c.src]=c,C),{});b.drawImage=function(...C){let[c,X,Y,d,p,A,G,h,u]=C;if(c instanceof HTMLImageElement){let V=g[c.src].style.objectFit||"fill",Z=g[c.src].style.objectPosition||"center center";p=c.height,d=c.width;let E=d/p,H=h/u,[P,w]=Z.split(" ");switch(w||(w=P),V){case"cover":if(E>H){let t=p*H,o=(d-t)/2;P==="left"&&(o=0),P==="right"&&(o=d-t),X+=o,d=t}else{let t=d/H,o=(p-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=p-t),Y+=o,p=t}break;case"contain":if(E>H){let t=h/E,o=(u-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=u-t),G+=o,u=t}else{let t=u*E,o=(h-t)/2;P==="left"&&(o=0),P==="right"&&(o=h-t),A+=o,h=t}break;case"fill":break}}return r.call(b,c,X,Y,d,p,A,G,h,u)};let k=document.getElementById(a);if(!k)throw new Error(`Element with id ${a} not found`);var N=l.width,Q=l.height;let W=(await oe(k,{canvas:l,windowHeight:Q,windowWidth:N,scale:window.devicePixelRatio})).toDataURL("image/png"),S=new J({}).getImageProperties(W),B=297,z=B*(S.height/S.width),$=new J({unit:"mm",format:[B,z]});$.addImage(W,"PNG",0,0,B,z),$.save("print.pdf")},M=[m,...v];return f("div",{className:"w-[297mm]",children:[e("div",{className:"fixed top-20 right-4 z-[1000] print:hidden",children:e(I,{onClick:R,variant:"outline",className:"px-5 py-2 text-sm font-semibold",children:"Print to PDF"})}),f("div",{id:"printable-content",children:[M.map((a,s)=>e(K,{children:s===0?e("section",{className:"title-page w-full h-full",children:e(j,{hero:i.hero,title:i.title})},s):f("section",{className:"normal-page",children:[a.blockName&&e(D,{title:a.blockName}),e(T,{blocks:[a],fill:!0})]},s)})),e("section",{className:"normal-page",children:f("div",{className:`w-full py-2 px-8 flex justify-between items-center
4
+ import{b as D,c as j}from"./chunk-KKSMDJRP.mjs";import{a as T}from"./chunk-IYERYBWZ.mjs";import{b as I}from"./chunk-BDX257W2.mjs";import{a as O}from"./chunk-NIQ4466A.mjs";import{a as F}from"./chunk-C5XNOZXC.mjs";import{a as U}from"./chunk-WU3JMLSC.mjs";import{useEffect as _,useRef as L,useState as ee,useCallback as te}from"react";import{Previewer as q}from"pagedjs";import oe from"html2canvas";import{jsPDF as J}from"jspdf";import{Fragment as K,jsx as e,jsxs as f}from"react/jsx-runtime";function ne(i){var n=document.createElement("div");n.style.display="block",n.style.height=i,document.body.appendChild(n);var v=parseFloat(window.getComputedStyle(n,null).height);return n.parentNode&&n.parentNode.removeChild(n),Math.floor(v)}var be=({page:i,layout:n="portrait"})=>n==="flow"?e(ie,{page:i,layout:n}):e(re,{page:i,layout:n}),ie=({page:i,layout:n="portrait"})=>{let{contentWithIds:v}=F(i),m={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},R=async()=>{x("printable-content")},x=async a=>{let s=document.getElementById(a);if(!s)throw new Error(`Element with id ${a} not found`);let l=document.createElement("canvas"),y=window.devicePixelRatio;l.width=Math.max(s.clientWidth||0)*y,l.height=Math.max(s.clientHeight||0)*y+100;let b=l.getContext("2d");if(!b)throw new Error("Failed to get 2D context");let r=b.drawImage,g=Array.from(s.getElementsByTagName("img")).reduce((C,c)=>(C[c.src]=c,C),{});b.drawImage=function(...C){let[c,X,Y,d,p,A,G,h,u]=C;if(c instanceof HTMLImageElement){let V=g[c.src].style.objectFit||"fill",Z=g[c.src].style.objectPosition||"center center";p=c.height,d=c.width;let E=d/p,H=h/u,[P,w]=Z.split(" ");switch(w||(w=P),V){case"cover":if(E>H){let t=p*H,o=(d-t)/2;P==="left"&&(o=0),P==="right"&&(o=d-t),X+=o,d=t}else{let t=d/H,o=(p-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=p-t),Y+=o,p=t}break;case"contain":if(E>H){let t=h/E,o=(u-t)/2;w==="top"&&(o=0),w==="bottom"&&(o=u-t),G+=o,u=t}else{let t=u*E,o=(h-t)/2;P==="left"&&(o=0),P==="right"&&(o=h-t),A+=o,h=t}break;case"fill":break}}return r.call(b,c,X,Y,d,p,A,G,h,u)};let k=document.getElementById(a);if(!k)throw new Error(`Element with id ${a} not found`);var N=l.width,Q=l.height;let W=(await oe(k,{canvas:l,windowHeight:Q,windowWidth:N,scale:window.devicePixelRatio})).toDataURL("image/png"),S=new J({}).getImageProperties(W),B=297,z=B*(S.height/S.width),$=new J({unit:"mm",format:[B,z]});$.addImage(W,"PNG",0,0,B,z),$.save("print.pdf")},M=[m,...v];return f("div",{className:"w-[297mm]",children:[e("div",{className:"fixed top-20 right-4 z-[1000] print:hidden",children:e(I,{onClick:R,variant:"outline",className:"px-5 py-2 text-sm font-semibold",children:"Print to PDF"})}),f("div",{id:"printable-content",children:[M.map((a,s)=>e(K,{children:s===0?e("section",{className:"title-page w-full h-full",children:e(j,{hero:i.hero,title:i.title})},s):f("section",{className:"normal-page",children:[a.blockName&&e(D,{title:a.blockName}),e(T,{blocks:[a],fill:!0})]},s)})),e("section",{className:"normal-page",children:f("div",{className:`w-full py-2 px-8 flex justify-between items-center
5
5
  dark bg-background text-primary`,children:[f("div",{className:"flex px-6 items-center space-x-2",children:[e("img",{src:U.src,alt:"Cortex Reply Logo",className:"h-8"}),e("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),e("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})]})},re=({page:i,layout:n="portrait"})=>{let{contentWithIds:v}=F(i),m=L(null),R=L(null),x=L(new q),[M,a]=ee(0),l=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...v],y=te(()=>{m.current&&(m.current&&(m.current.innerHTML=""),x.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",n==="landscape"?"./landscape.css":"./portrait.css"],m.current).then(r=>a(r.pageCount)).catch(r=>console.error("Paged.js error:",r)))},[]);return _(()=>{x.current=new q,y()},[y]),f("div",{className:"pagedjs-container",children:[e("div",{className:"fixed top-20 right-4 z-[1000] print:hidden",children:e(I,{onClick:async()=>{await new Promise(r=>setTimeout(r,300)),window.print()},variant:"outline",className:"px-5 py-2 text-sm font-semibold",children:"Print to PDF"})}),e("div",{id:"printable-content",ref:R,style:{display:"block"},className:"pagedjs-content",children:l.map((r,g)=>{var k,N;return e(K,{children:g===0?e("section",{className:"pagedjs-section title-page w-full h-full",children:e(j,{hero:i.hero,title:i.title})},g):f("section",{className:O("pagedjs-section normal-page h-[699px]",`h-[${ne("185mm")}px]`,((N=(k=r.theme)==null?void 0:k.settings)==null?void 0:N.theme)==="dark"?"dark":"light"),children:[r.blockName&&e(D,{title:r.blockName}),e(T,{blocks:[r],fill:!0})]},g)})})}),e("div",{ref:m,className:"preview-container"})]})};export{be as a,ie as b,re as c};
@@ -0,0 +1 @@
1
+ import{a as g}from"./chunk-44VMK4FL.mjs";import{i as D,j as H,k as L,l as E,m as M,n as _,o as G}from"./chunk-O5BAW5XQ.mjs";import{a as T}from"./chunk-GL6F4PKJ.mjs";import{a as P}from"./chunk-RHPFEIP4.mjs";import{a as C}from"./chunk-2NFKSNJW.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as N}from"./chunk-SFLOMJ2U.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as b,jsxs as j}from"react/jsx-runtime";var w=({links:a,richText:e})=>b("div",{className:"container",children:j("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:[b("div",{className:"max-w-[48rem] flex items-center",children:e&&b(p,{className:"mb-0",content:e,enableGutter:!1})}),b("div",{className:"flex flex-col gap-8",children:(a||[]).map(({link:r},c)=>b(g,{size:"lg",...r},c))})]})});import{jsx as s,jsxs as h}from"react/jsx-runtime";function R(a){return a&&typeof a=="object"&&"type"in a&&"iconName"in a}function S({variant:a="outline",className:e,icon:r,iconSize:c="large",width:o="auto",order:t=0,heading:n,subheading:u,content:m,statistic:f,buttonText:y,buttonHref:x}){let z={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},A={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return h("div",{className:i("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",z[a],a==="outline"?"text-gray-900":"text-white",e,A[o],"intersect intersect-full animate-flip-up",t===0?"":`animate-delay-${t}00`),children:[s("div",{className:"flex items-center gap-4 mb-2",children:s($,{icon:r,heading:n,variant:a,iconSize:c})}),f&&s("div",{className:"mb-6",children:s("div",{className:i("text-4xl text-wrap font-bold leading-none overflow-hidden",a==="outline"||a==="light"?"text-primary":"text-white"),children:f})}),u&&s("div",{className:"mb-4 text-xl md:text-2xl font-light",children:u}),m&&typeof m=="object"&&s("div",{className:i("space-y-6"),children:s(p,{enableGutter:!1,content:m,enableProse:!1,className:i(a==="outline"||a==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),m&&typeof m=="string"&&s("div",{className:i("space-y-6",a==="outline"||a==="light"?"text-gray-900":"text-gray-100"),children:m}),y&&s("div",{className:"mt-auto pt-6 flex items-center justify-center",children:s(v,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:s("a",{href:x,children:y})})}),a==="radial"&&s("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 $=({icon:a,heading:e,variant:r,iconSize:c})=>a&&c==="small"?h("div",{className:"flex items-start gap-4 mb-2",children:[R(a)&&s("div",{className:i("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-primary":"text-white",c==="small"?"mt-2":""),children:s(N,{type:a.type,iconName:a.iconName,size:"2x"})}),s("div",{className:i("font-semibold",r==="outline"||r==="light"?"text-primary":"text-white",c==="small"?"text-2xl":"text-3xl"),children:e})]}):a?h("div",{className:"flex flex-col gap-4",children:[R(a)&&s("div",{className:i("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",r==="outline"||r==="light"?"text-accent":""),children:s(N,{type:a.type,iconName:a.iconName,size:"4x"})}),s("h3",{className:i("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:e})]}):s("div",{className:"flex items-center gap-4 mb-2",children:s("div",{className:i("font-semibold",r==="outline"||r==="light"?"text-2xl text-primary":"text-3xl"),children:e})});import{jsx as d,jsxs as J}from"react/jsx-runtime";var I=({title:a,description:e,features:r,id:c})=>J("section",{className:i("container w-full rounded-lg","dark:text-gray-300 text-gray-800"),children:[a&&d("h2",{className:"mb-6 mt-0 text-2xl font-bold md:text-3xl text-primary",id:c||"",children:a}),e&&typeof e=="string"&&d("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:e}),e&&typeof e=="object"&&d("p",{className:"mb-5 text-xl tracking-tight md:text-xl text-foreground",children:d(p,{content:e,enableGutter:!1})}),d("div",{className:`grid gap-8 mt-10 md:grid-cols-${r?r.length:1}`,children:r&&r.map((o,t)=>{var u,m,f,y,x;let n=()=>{if(o.icon&&"type"in o.icon&&o.icon.type!=="none")return{type:o.icon.type,iconName:o.icon.icon}};return d(S,{variant:((u=o.settings)==null?void 0:u.card)==="default"?"light":((m=o.settings)==null?void 0:m.card)||"outline",icon:n()||void 0,iconSize:((f=o.settings)==null?void 0:f.iconSize)||"large",width:"auto",order:t,heading:o.title||"",content:o.content||void 0,statistic:o.statistic||void 0,buttonText:(y=o.link)!=null&&y.url?"Find out more":void 0,buttonHref:((x=o.link)==null?void 0:x.url)||void 0},t)})})]});import U,{Fragment as X}from"react";import{jsx as l}from"react/jsx-runtime";function k({nodes:a}){return l(X,{children:a==null?void 0:a.map((e,r)=>{if(e==null)return null;if(e.type==="text"&&e.text){let t=l(U.Fragment,{children:e.text},r);return e.format&1&&(t=l("strong",{children:t},r)),e.format&2&&(t=l("em",{children:t},r)),e.format&4&&(t=l("span",{style:{textDecoration:"line-through"},children:t},r)),e.format&8&&(t=l("span",{style:{textDecoration:"underline"},children:t},r)),e.format&16&&(t=l("code",{children:e.text},r)),e.format&32&&(t=l("sub",{children:t},r)),e.format&64&&(t=l("sup",{children:t},r)),t}if(e.type==="table")return l("table",{children:l("tbody",{children:e.children.map((t,n)=>l("tr",{children:t.children.map((u,m)=>l("td",{children:k({nodes:u.children})},m))},n))})},r);let c=t=>{if(t.children==null)return null;if((t==null?void 0:t.type)==="list"&&(t==null?void 0:t.listType)==="check")for(let n of t.children)"checked"in n&&(n!=null&&n.checked||(n.checked=!1));return k({nodes:t.children})},o="children"in e?c(e):"";if(e.type==="block"){let t=e.fields,n=t==null?void 0:t.blockType;if(!t||!n)return null;switch(n){case"cta":return l(w,{...t},r);case"mediaBlock":return l(T,{className:"col-start-1 col-span-3",imgClassName:"m-0",...t,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"imageBlock":return l(P,{className:"col-start-1 col-span-3",imgClassName:"m-0",...t,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},r);case"banner":return l(F,{className:"col-start-2 mb-4",...t},r);case"code":return l(C,{className:"col-start-2",...t},r);case"features":return l(I,{...t},r);case"reusableContentBlock":k({nodes:t.reusableContent.layout});default:return null}}else switch(e.type){case"linebreak":return l("br",{className:"col-start-2"},r);case"paragraph":return l("p",{className:"col-start-2",children:o},r);case"heading":{let t=e==null?void 0:e.tag;return l(t,{className:"col-start-2",id:(e==null?void 0:e.id)||"",children:o},r)}case"list":{let t=e==null?void 0:e.tag;return l(t,{className:"list col-start-2",children:o},r)}case"listitem":return(e==null?void 0:e.checked)!=null?l("li",{"aria-checked":e.checked?"true":"false",className:` ${e.checked,""}`,role:"checkbox",tabIndex:-1,value:e==null?void 0:e.value,children:o},r):l("li",{value:e==null?void 0:e.value,children:o},r);case"quote":return l("blockquote",{className:"col-start-2",children:o},r);case"link":{let t=e.fields;return l(g,{newTab:!!(t!=null&&t.newTab),reference:t.doc,type:t.linkType==="internal"?"reference":"custom",url:t.url,children:o},r)}case"autolink":{let t=e.fields;return l(g,{newTab:!!(t!=null&&t.newTab),reference:t.doc,type:t.linkType==="internal"?"reference":"custom",url:t.url,children:o},r)}default:return null}})})}import{jsx as q}from"react/jsx-runtime";var p=({className:a,content:e,enableGutter:r=!0,enableProse:c=!0})=>{var o;return e?q("div",{className:i({"container ":r,"max-w-none":!r,"mx-auto prose dark:prose-invert ":c},a),children:e&&!Array.isArray(e)&&typeof e=="object"&&"root"in e&&k({nodes:(o=e==null?void 0:e.root)==null?void 0:o.children})}):null};import{jsx as B}from"react/jsx-runtime";var F=({className:a,content:e,style:r})=>B("div",{className:i("mx-auto my-8 w-full",a),children:B("div",{className:i("border py-3 px-6 flex items-center rounded",{"border-border bg-card":r==="info","border-error bg-error/30":r==="error","border-success bg-success/30":r==="success","border-warning bg-warning/30":r==="warning"}),children:B(p,{content:e,enableGutter:!1,enableProse:!1})})});export{F as a,w as b,I as c,k as d,p as e,S as f};
@@ -1 +1 @@
1
- import{a}from"./chunk-423OEU3K.mjs";import{e as r}from"./chunk-THOLC3E6.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
1
+ import{a}from"./chunk-23EQTK7B.mjs";import{e as r}from"./chunk-MHVWWZUW.mjs";import m from"clsx";import{jsx as o,jsxs as l}from"react/jsx-runtime";var g=i=>{let{className:n,docs:t,introContent:e}=i;return l("div",{className:m("container",n),children:[e&&o(r,{content:e,enableGutter:!1}),o("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:t==null?void 0:t.map((s,p)=>typeof s=="string"?null:o(a,{doc:s,relationTo:"posts",showCategories:!0},p))})]})};export{g as a};
@@ -1 +1 @@
1
- import{a as f,c as C,d as y,g as h,i as D}from"./chunk-4JC2TJML.mjs";import{a as N}from"./chunk-4NKKWJ2X.mjs";import{a as R}from"./chunk-A5EYIB3V.mjs";import{a as r}from"./chunk-DWRQHV42.mjs";import{a as O}from"./chunk-Y5ZFXDW5.mjs";import{a as F,f as T,g as E,i as U}from"./chunk-JWDVKGZL.mjs";import{a as g}from"./chunk-QOIH63J3.mjs";import{b as H}from"./chunk-Q6SEVCRG.mjs";import{b as u}from"./chunk-BDX257W2.mjs";import{useState as p,useEffect as K}from"react";import{UserIcon as X,CalendarIcon as Y,SaveIcon as Z,PlusIcon as _}from"lucide-react";import{jsx as a,jsxs as l}from"react/jsx-runtime";function ue({deal:i,users:m,customer:v,categories:V,onClose:J,onSave:G,onAddComment:M}){var P,L,B,I,A;let[s,b]=p({...i,value:i.value||0,comments:i.comments||[],customer:i.customer||{}}),[x,S]=p(""),[Q,w]=p(!1),[n,o]=p(null);K(()=>{w(JSON.stringify(i)!==JSON.stringify(s))},[i,s]);let W=async()=>{try{let e=await G(s);e.success?(w(!1),o(null)):console.error("Failed to save deal:",e.errors)}catch(e){console.error("Failed to save deal:",e)}},c=(e,t)=>{b(d=>({...d,[e]:t}))},$=e=>{let t=(s.categories||[]).includes(e)?(s.categories||[]).filter(d=>d!==e):[...s.categories||[],e];c("categories",t)},j=async()=>{if(x.trim()){let e={text:x,timestamp:new Date().toISOString()};try{let t=await M(e);if(!t.success){console.error("Failed to add comment:",t.errors);return}}catch(t){console.error("Failed to add comment:",t)}b(t=>({...t,comments:[...t.comments||[],e]})),S("")}},k=e=>{switch(e){case"proposition":return"bg-blue-100 text-blue-800";case"source":return"bg-green-100 text-green-800";case"sector":return"bg-purple-100 text-purple-800";default:return"bg-gray-100 text-gray-800"}},q=e=>m==null?void 0:m.find(t=>t.id===Number(e));return a(F,{open:!0,children:l(T,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[l(E,{className:"flex flex-row items-center justify-between",children:[a(U,{className:"text-2xl font-bold",children:v==null?void 0:v.name}),l("div",{className:"flex space-x-2",children:[a(u,{variant:"outline",onClick:J,children:"Close"}),l(u,{onClick:W,disabled:!Q,children:[a(Z,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),l(N,{className:"flex-grow pr-4",children:[l("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[a("div",{className:"grid gap-2",children:n==="value"?a(g,{type:"number",value:s.value,onChange:e=>c("value",Number(e.target.value)),onBlur:()=>o(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):l("div",{className:"text-3xl font-bold text-green-600 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("value"),children:["\xA3",(P=s.value)==null?void 0:P.toLocaleString()]})}),l("div",{className:"grid gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Assignee"}),n==="assignee"?l(f,{value:((B=(L=s==null?void 0:s.assignee)==null?void 0:L.id)==null?void 0:B.toString())||"",onValueChange:e=>c("assignee",q(e)),children:[a(y,{children:a(C,{placeholder:"Select assignee"})}),a(h,{children:m&&m.map(e=>{var t;return a(D,{value:((t=e==null?void 0:e.id)==null?void 0:t.toString())||"",children:e.name},e.id)})})]}):l("div",{className:"flex items-center space-x-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("assignee"),children:[a(X,{className:"w-4 h-4 text-gray-400"}),a("span",{children:s.assignee.name})]})]}),l("div",{className:"grid gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Closure Date"}),n==="closureDate"?a(g,{type:"date",value:(A=(I=s.closureDate)==null?void 0:I.split("T")[0])!=null?A:"",onChange:e=>c("closureDate",e.target.value),onBlur:()=>o(null),autoFocus:!0}):l("div",{className:"flex items-center space-x-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("closureDate"),children:[a(Y,{className:"w-4 h-4 text-gray-400"}),a("span",{children:s.closureDate?new Date(s.closureDate).toLocaleDateString("en-GB"):"N/A"})]})]})]}),a("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:l("div",{className:"grid gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Description"}),n==="description"?a(R,{value:s.description||"",onChange:e=>c("description",e.target.value),onBlur:()=>o(null),className:"min-h-[100px]",autoFocus:!0}):a("div",{className:"cursor-pointer hover:bg-gray-100 pb-5 rounded",onClick:()=>o("description"),children:s.description})]})}),l("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[l("div",{className:"grid gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Status"}),n==="status"?l(f,{value:s.status,onValueChange:e=>{c("status",e),o(null)},children:[a(y,{children:a(C,{placeholder:"Select status"})}),a(h,{children:["Cold","Qualified","Proposal Made","Won","Lost"].map(e=>a(D,{value:e,children:e},e))})]}):a("div",{className:"cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("status"),children:s.status})]}),l("div",{className:"grid col-span-2 gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Categories"}),n==="categories"?a("div",{className:"grid grid-cols-2 gap-2",children:V.map(e=>{var t,d;return l("div",{className:"flex items-center space-x-2",children:[a(O,{id:((t=e.id)==null?void 0:t.toString())||"",checked:(s.categories||[]).some(z=>z.id===e.id),onCheckedChange:()=>e.id!==void 0&&$(e)}),a("label",{htmlFor:((d=e.id)!=null?d:"").toString(),className:`text-sm font-medium ${k(e.type||"sector")} px-2 py-1 rounded`,children:e.name})]},e.id)})}):a("div",{className:"flex flex-wrap gap-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("categories"),children:s.categories&&s.categories.map(e=>{console.log("cat",e);let t=e;return t?a(H,{variant:"secondary",className:k(t.type||"sector"),children:t.name},t.id):null})})]})]}),l("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[l("div",{className:"grid gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Comments"}),a(N,{className:"h-[200px] overflow-y-auto",children:a("div",{className:"space-y-2",children:s.comments&&s.comments.slice().sort((e,t)=>new Date(t.timestamp||"").getTime()-new Date(e.timestamp||"").getTime()).map(e=>{var t;return l("div",{className:"bg-gray-50 p-3 rounded-lg",children:[a("p",{className:"text-sm text-gray-700",children:e.text}),l("p",{className:"text-xs text-gray-500 mt-1",children:[(t=e==null?void 0:e.author)==null?void 0:t.name," - ",new Date(e.timestamp||"").toLocaleString()]})]},e.id)})})}),l("div",{className:"flex mt-2",children:[a(g,{value:x,onChange:e=>S(e.target.value),placeholder:"Add a comment...",className:"flex-grow"}),l(u,{onClick:j,className:"ml-2",children:[a(_,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),l("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(s.updatedAt||"").toLocaleString()]})]})]})]})})}export{ue as a};
1
+ import{a as N}from"./chunk-4NKKWJ2X.mjs";import{a as f,c as C,d as y,g as h,i as D}from"./chunk-4JC2TJML.mjs";import{a as R}from"./chunk-A5EYIB3V.mjs";import{a as r}from"./chunk-DWRQHV42.mjs";import{a as O}from"./chunk-Y5ZFXDW5.mjs";import{a as F,f as T,g as E,i as U}from"./chunk-JWDVKGZL.mjs";import{b as H}from"./chunk-Q6SEVCRG.mjs";import{a as g}from"./chunk-QOIH63J3.mjs";import{b as u}from"./chunk-BDX257W2.mjs";import{useState as p,useEffect as K}from"react";import{UserIcon as X,CalendarIcon as Y,SaveIcon as Z,PlusIcon as _}from"lucide-react";import{jsx as a,jsxs as l}from"react/jsx-runtime";function ue({deal:i,users:m,customer:v,categories:V,onClose:J,onSave:G,onAddComment:M}){var P,L,B,I,A;let[s,b]=p({...i,value:i.value||0,comments:i.comments||[],customer:i.customer||{}}),[x,S]=p(""),[Q,w]=p(!1),[n,o]=p(null);K(()=>{w(JSON.stringify(i)!==JSON.stringify(s))},[i,s]);let W=async()=>{try{let e=await G(s);e.success?(w(!1),o(null)):console.error("Failed to save deal:",e.errors)}catch(e){console.error("Failed to save deal:",e)}},c=(e,t)=>{b(d=>({...d,[e]:t}))},$=e=>{let t=(s.categories||[]).includes(e)?(s.categories||[]).filter(d=>d!==e):[...s.categories||[],e];c("categories",t)},j=async()=>{if(x.trim()){let e={text:x,timestamp:new Date().toISOString()};try{let t=await M(e);if(!t.success){console.error("Failed to add comment:",t.errors);return}}catch(t){console.error("Failed to add comment:",t)}b(t=>({...t,comments:[...t.comments||[],e]})),S("")}},k=e=>{switch(e){case"proposition":return"bg-blue-100 text-blue-800";case"source":return"bg-green-100 text-green-800";case"sector":return"bg-purple-100 text-purple-800";default:return"bg-gray-100 text-gray-800"}},q=e=>m==null?void 0:m.find(t=>t.id===Number(e));return a(F,{open:!0,children:l(T,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[l(E,{className:"flex flex-row items-center justify-between",children:[a(U,{className:"text-2xl font-bold",children:v==null?void 0:v.name}),l("div",{className:"flex space-x-2",children:[a(u,{variant:"outline",onClick:J,children:"Close"}),l(u,{onClick:W,disabled:!Q,children:[a(Z,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),l(N,{className:"flex-grow pr-4",children:[l("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[a("div",{className:"grid gap-2",children:n==="value"?a(g,{type:"number",value:s.value,onChange:e=>c("value",Number(e.target.value)),onBlur:()=>o(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):l("div",{className:"text-3xl font-bold text-green-600 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("value"),children:["\xA3",(P=s.value)==null?void 0:P.toLocaleString()]})}),l("div",{className:"grid gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Assignee"}),n==="assignee"?l(f,{value:((B=(L=s==null?void 0:s.assignee)==null?void 0:L.id)==null?void 0:B.toString())||"",onValueChange:e=>c("assignee",q(e)),children:[a(y,{children:a(C,{placeholder:"Select assignee"})}),a(h,{children:m&&m.map(e=>{var t;return a(D,{value:((t=e==null?void 0:e.id)==null?void 0:t.toString())||"",children:e.name},e.id)})})]}):l("div",{className:"flex items-center space-x-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("assignee"),children:[a(X,{className:"w-4 h-4 text-gray-400"}),a("span",{children:s.assignee.name})]})]}),l("div",{className:"grid gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Closure Date"}),n==="closureDate"?a(g,{type:"date",value:(A=(I=s.closureDate)==null?void 0:I.split("T")[0])!=null?A:"",onChange:e=>c("closureDate",e.target.value),onBlur:()=>o(null),autoFocus:!0}):l("div",{className:"flex items-center space-x-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("closureDate"),children:[a(Y,{className:"w-4 h-4 text-gray-400"}),a("span",{children:s.closureDate?new Date(s.closureDate).toLocaleDateString("en-GB"):"N/A"})]})]})]}),a("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:l("div",{className:"grid gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Description"}),n==="description"?a(R,{value:s.description||"",onChange:e=>c("description",e.target.value),onBlur:()=>o(null),className:"min-h-[100px]",autoFocus:!0}):a("div",{className:"cursor-pointer hover:bg-gray-100 pb-5 rounded",onClick:()=>o("description"),children:s.description})]})}),l("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[l("div",{className:"grid gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Status"}),n==="status"?l(f,{value:s.status,onValueChange:e=>{c("status",e),o(null)},children:[a(y,{children:a(C,{placeholder:"Select status"})}),a(h,{children:["Cold","Qualified","Proposal Made","Won","Lost"].map(e=>a(D,{value:e,children:e},e))})]}):a("div",{className:"cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("status"),children:s.status})]}),l("div",{className:"grid col-span-2 gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Categories"}),n==="categories"?a("div",{className:"grid grid-cols-2 gap-2",children:V.map(e=>{var t,d;return l("div",{className:"flex items-center space-x-2",children:[a(O,{id:((t=e.id)==null?void 0:t.toString())||"",checked:(s.categories||[]).some(z=>z.id===e.id),onCheckedChange:()=>e.id!==void 0&&$(e)}),a("label",{htmlFor:((d=e.id)!=null?d:"").toString(),className:`text-sm font-medium ${k(e.type||"sector")} px-2 py-1 rounded`,children:e.name})]},e.id)})}):a("div",{className:"flex flex-wrap gap-2 cursor-pointer hover:bg-gray-100 p-0 rounded",onClick:()=>o("categories"),children:s.categories&&s.categories.map(e=>{console.log("cat",e);let t=e;return t?a(H,{variant:"secondary",className:k(t.type||"sector"),children:t.name},t.id):null})})]})]}),l("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[l("div",{className:"grid gap-2",children:[a(r,{className:"text-sm font-medium text-gray-500",children:"Comments"}),a(N,{className:"h-[200px] overflow-y-auto",children:a("div",{className:"space-y-2",children:s.comments&&s.comments.slice().sort((e,t)=>new Date(t.timestamp||"").getTime()-new Date(e.timestamp||"").getTime()).map(e=>{var t;return l("div",{className:"bg-gray-50 p-3 rounded-lg",children:[a("p",{className:"text-sm text-gray-700",children:e.text}),l("p",{className:"text-xs text-gray-500 mt-1",children:[(t=e==null?void 0:e.author)==null?void 0:t.name," - ",new Date(e.timestamp||"").toLocaleString()]})]},e.id)})})}),l("div",{className:"flex mt-2",children:[a(g,{value:x,onChange:e=>S(e.target.value),placeholder:"Add a comment...",className:"flex-grow"}),l(u,{onClick:j,className:"ml-2",children:[a(_,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),l("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(s.updatedAt||"").toLocaleString()]})]})]})]})})}export{ue as a};
@@ -1 +1 @@
1
- import{a}from"./chunk-YNDKGRL6.mjs";import{a as n}from"./chunk-TFWGOEV7.mjs";import{Fragment as c}from"react";import{jsx as o}from"react/jsx-runtime";var T=t=>{var m;let{className:s,htmlElement:i="div",resource:e}=t,r=typeof e=="object"&&((m=e==null?void 0:e.mimeType)==null?void 0:m.includes("video"));return o(i||c,{...i!==null?{className:s}:{},children:r?o(n,{...t}):o(a,{...t})})};export{T as a};
1
+ import{a as n}from"./chunk-TFWGOEV7.mjs";import{a}from"./chunk-YNDKGRL6.mjs";import{Fragment as c}from"react";import{jsx as o}from"react/jsx-runtime";var T=t=>{var m;let{className:s,htmlElement:i="div",resource:e}=t,r=typeof e=="object"&&((m=e==null?void 0:e.mimeType)==null?void 0:m.includes("video"));return o(i||c,{...i!==null?{className:s}:{},children:r?o(n,{...t}):o(a,{...t})})};export{T as a};
@@ -1 +1 @@
1
- import{a as x}from"./chunk-KML6U7IE.mjs";import{a as k}from"./chunk-TXXFXCXB.mjs";import{e as P}from"./chunk-THOLC3E6.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as c,b as h,c as C,e as p}from"./chunk-D76EO57Z.mjs";import{a as b}from"./chunk-WISCWNL2.mjs";import{a as N}from"./chunk-UESKYRNK.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(b,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(N,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(P,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(h,{children:t(C,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(k,{links:r.links,title:r.title})})]})]})})}export{j as a};
1
+ import{a as x}from"./chunk-KML6U7IE.mjs";import{a as k}from"./chunk-TXXFXCXB.mjs";import{e as P}from"./chunk-MHVWWZUW.mjs";import{a as c,b as h,c as C,e as p}from"./chunk-D76EO57Z.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as b}from"./chunk-WISCWNL2.mjs";import{a as N}from"./chunk-UESKYRNK.mjs";import L from"next/image";import{notFound as M}from"next/navigation";import I from"next/link";import{jsx as t,jsxs as o}from"react/jsx-runtime";function T({image:a,name:r,about:m,socialLinks:n}){return!a||!a.src||a.src.length<3||!r?null:t("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:t(c,{children:o(p,{children:[a&&a.src&&t(L,{src:a.src,alt:a.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:x,className:"mx-auto mt-6 rounded-full object-cover"}),t("h3",{className:"font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:r}),t("p",{children:m}),n&&n.length>0&&t("nav",{"aria-label":"social links",children:t("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:n.map((e,s)=>t("li",{children:t(b,{href:e.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:t("span",{children:e.icon})})},s))})})]})})})}function j({page:a,categoryList:r,edit:m=!1,path:n="/admin/collections/posts/"}){var g;if(!a)return M();let{meta:e,populatedAuthors:s,authors:d,categories:y,content:U,title:w}=a,z={image:{src:e&&e.image&&e.image.url||void 0,alt:e&&e.image&&e.image.alt||void 0},authorName:((g=s==null?void 0:s[0])==null?void 0:g.name)||"",category:y,commentCount:0,title:w,description:(e==null?void 0:e.description)||""},u=d==null?void 0:d.map(i=>{var l,f;return{name:i.name||"",about:"",image:{src:i.profilePicture&&((f=(l=i.profilePicture.sizes)==null?void 0:l.square)==null?void 0:f.url)||"",alt:i.name||"blog author"},socialLinks:[]}});return t(N,{children:o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[t("div",{children:o("div",{className:"[&_p+P]:mt-4",children:[t("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),t(P,{content:U,enableGutter:!1})]})}),o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[m&&t("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:o(c,{children:[t(h,{children:t(C,{className:"text-accent",children:"Content Actions"})}),o(p,{children:[t("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),t(I,{href:`${n}${a.id}`,children:t(v,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),u&&u.map((i,l)=>t(T,{...i},l)),r&&r.links&&t("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:t(k,{links:r.links,title:r.title})})]})]})})}export{j as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-SV7NMNDI.mjs";import{a as e}from"./chunk-65C6PZZX.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(n,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(e,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":r([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
1
+ import{a as r}from"./chunk-SV7NMNDI.mjs";import{a as e}from"./chunk-ZGX3P2RY.mjs";import{a as o}from"./chunk-M6M43TLT.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(n,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(e,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":r([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
@@ -0,0 +1 @@
1
+ var a=[{date:new Date(2025,3,18),name:"Good Friday"},{date:new Date(2025,3,21),name:"Easter Monday"},{date:new Date(2025,4,5),name:"Early May bank holiday"},{date:new Date(2025,5,26),name:"Spring bank holiday"},{date:new Date(2025,7,25),name:"Summer bank holiday"},{date:new Date(2025,11,25),name:"Christmas Day"},{date:new Date(2025,11,26),name:"Boxing Day"}];export{a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{a as C}from"./chunk-EG6XIOOJ.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as x}from"formik";import{FaUser as w}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as n}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px]"),g=i("!border-red-600 border"),d=i("sr-only");function U(){return e(x,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:t})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),t())},children:({errors:a,touched:t,values:o,handleChange:r,handleBlur:c,isSubmitting:l,handleSubmit:h})=>n("form",{onSubmit:h,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[n("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:r,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.name&&t.name&&g)}),a.name&&t.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),n("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:r,onBlur:c,disabled:l,icon:e(N,{}),className:i(u,a.email&&t.email&&g)}),a.email&&t.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),n("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:r,onBlur:c,disabled:l,className:i(u,a.subject&&t.subject&&g)}),a.subject&&t.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),n("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:r,onBlur:c,disabled:l,icon:e(S,{}),className:i(u,a.message&&t.message&&g)}),a.message&&t.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2",children:e(v,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:l,children:e("span",{children:"SEND"})})})]})})}function N(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function S(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{U as a};
4
+ import{a as f}from"./chunk-CTKUF2I6.mjs";import{a as C}from"./chunk-EG6XIOOJ.mjs";import{a as p}from"./chunk-NOEITQK2.mjs";import{b as v}from"./chunk-BDX257W2.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{Formik as x}from"formik";import{FaUser as w}from"react-icons/fa6";import*as m from"yup";import{toast as b}from"sonner";import{jsx as e,jsxs as n}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},L=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px]"),g=i("!border-red-600 border"),d=i("sr-only");function U(){return e(x,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:L,onSubmit:async(a,{resetForm:t})=>{let o=await f(a);o.data===null?b.error(o.message):(b.success(o.message),t())},children:({errors:a,touched:t,values:o,handleChange:r,handleBlur:c,isSubmitting:l,handleSubmit:h})=>n("form",{onSubmit:h,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[n("div",{children:[e(p,{placeholder:"Your Name",type:"text",name:"name",value:o.name,onChange:r,onBlur:c,disabled:l,icon:e(w,{}),className:i(u,a.name&&t.name&&g)}),a.name&&t.name&&e("p",{title:a.name,"aria-live":"polite",role:"error message",className:d,children:a.name})]}),n("div",{children:[e(p,{placeholder:"Your Email",type:"email",name:"email",value:o.email,onChange:r,onBlur:c,disabled:l,icon:e(N,{}),className:i(u,a.email&&t.email&&g)}),a.email&&t.email&&e("p",{title:a.email,"aria-live":"polite",role:"error message",className:d,children:a.email})]}),n("div",{className:"lg:col-span-2",children:[e(p,{placeholder:"Subject",type:"text",name:"subject",value:o.subject,onChange:r,onBlur:c,disabled:l,className:i(u,a.subject&&t.subject&&g)}),a.subject&&t.subject&&e("p",{title:a.subject,"aria-live":"polite",role:"error message",className:d,children:a.subject})]}),n("div",{className:"lg:col-span-2",children:[e(C,{placeholder:"Write Message...",name:"message",value:o.message,onChange:r,onBlur:c,disabled:l,icon:e(S,{}),className:i(u,a.message&&t.message&&g)}),a.message&&t.message&&e("p",{title:a.message,"aria-live":"polite",role:"error message",className:d,children:a.message})]}),e("div",{className:"lg:col-span-2",children:e(v,{type:"submit",className:"w-full outline outline-accent bg-accent text-accent-foreground hover:bg-white hover:text-accent",disabled:l,children:e("span",{children:"SEND"})})})]})})}function N(){return e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function S(){return e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{U as a};
@@ -1 +1 @@
1
- import{a as e}from"./chunk-ICTOXY7D.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var g=r=>{let{className:t,enableGutter:m=!0,imgClassName:s,media:i,staticImage:n}=r;return o("div",{className:a("",{container:m},t),children:o(e,{imgClassName:a("rounded-[0.8rem]",s),resource:i,src:n})})};export{g as a};
1
+ import{a as e}from"./chunk-NGK3IDFP.mjs";import{a}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var g=r=>{let{className:t,enableGutter:m=!0,imgClassName:s,media:i,staticImage:n}=r;return o("div",{className:a("",{container:m},t),children:o(e,{imgClassName:a("rounded-[0.8rem]",s),resource:i,src:n})})};export{g as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-SBAFXZVU.mjs";import{a as S}from"./chunk-PY53YVFX.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-KB6PO4K4.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as g}from"./chunk-DESYC5BB.mjs";import{a as p}from"./chunk-WU3JMLSC.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(g,{isMenuOpen:!0,logoLight:h,logoDark:p,...a.header,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(S,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(f,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
4
+ import{a as h}from"./chunk-BZAYEKYC.mjs";import{a as f}from"./chunk-SBAFXZVU.mjs";import{a as o,b as d,c as i,d as t,e as m,f as l}from"./chunk-AWFQEK7A.mjs";import{a as S}from"./chunk-PY53YVFX.mjs";import{a as c}from"./chunk-3YZN4MJB.mjs";import{b as s,d as b,f as u}from"./chunk-KB6PO4K4.mjs";import{a as n}from"./chunk-Y5VTKEKS.mjs";import{a as g}from"./chunk-DESYC5BB.mjs";import{a as p}from"./chunk-WU3JMLSC.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function v({...a}){return r("div",{className:"bg-sidebar",children:[e(g,{isMenuOpen:!0,logoLight:h,logoDark:p,...a.header,className:"bg-sidebar"}),r(s,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(S,{...a.sidebarLeft,className:"flex-none top-24"}),r(u,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(n,{orientation:"vertical",className:"mr-2 h-4"}),e(o,{children:r(d,{children:[e(i,{className:"hidden md:block",children:e(t,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(i,{children:e(m,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]}),e(f,{...a.sidebarRight,className:"flex-none top-24"})]}),e(c,{})]})}export{v as a};
@@ -1 +1 @@
1
- import{a as l}from"./chunk-65C6PZZX.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";function u(o){let{images:a,sectionHeading:c,keyPoints:d,description:s}=o;return e("section",{id:"about-section",className:m("section-padding-primary",o.className||""),children:e(n,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(l,{...c}),d&&d.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:d.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),s&&e("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}export{u as a};
1
+ import{a as l}from"./chunk-ZGX3P2RY.mjs";import{a as n}from"./chunk-UESKYRNK.mjs";import{a as m}from"./chunk-NIQ4466A.mjs";import t from"next/image";import{jsx as e,jsxs as i}from"react/jsx-runtime";function u(o){let{images:a,sectionHeading:c,keyPoints:d,description:s}=o;return e("section",{id:"about-section",className:m("section-padding-primary",o.className||""),children:e(n,{children:i("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[i("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[e(l,{...c}),d&&d.length>0&&e("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:d.map((r,g)=>i("div",{className:"group flex min-h-[64px] items-center gap-5 rounded-5 border border-accent px-6 py-2 md:min-h-[85px] md:px-[1.875rem] md:py-3",children:[e("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:r.icon}),e("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:r.title})]},g))}),s&&e("p",{className:"mt-5 md:mt-[1.875rem]",children:s})]}),a&&e("div",{className:"mx-auto text-center",children:i("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[e("div",{className:"relative flex justify-end overflow-hidden",children:e("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:e("div",{className:"relative z-[4] overflow-hidden",children:e(t,{src:a.image1.src,alt:a.image1.alt,width:a.image1.width,height:a.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),e("div",{className:"flex overflow-hidden",children:e(t,{src:a.image2.src,alt:a.image2.alt,width:a.image2.width,height:a.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),e("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:e(t,{src:a.image3.src,alt:a.image4.alt,width:a.image3.width,height:a.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),e("div",{className:"overflow-hidden",children:e(t,{src:a.image4.src,alt:a.image4.alt,width:a.image4.width,height:a.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),e("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:e("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:e("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:e("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M26.8125 13.8672C26.8125 14.9922 25.875 15.9297 24.8125 15.9297H15.8125V24.9297C15.8125 25.9922 14.875 26.8672 13.8125 26.8672C12.6875 26.8672 11.8125 25.9922 11.8125 24.9297V15.9297H2.8125C1.6875 15.9297 0.8125 14.9922 0.8125 13.8672C0.8125 12.8047 1.6875 11.9297 2.8125 11.9297H11.8125V2.92969C11.8125 1.80469 12.6875 0.867188 13.8125 0.867188C14.875 0.867188 15.8125 1.80469 15.8125 2.92969V11.9297H24.8125C25.875 11.8672 26.8125 12.8047 26.8125 13.8672Z"})})})})})]})})]})})})}export{u as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk-423OEU3K.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var c=s=>{let{posts:r}=s;return o("div",{className:i("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:r==null?void 0:r.map((a,t)=>typeof a=="object"&&a!==null?o("div",{className:"col-span-4",children:o(p,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},t):null)})})})};export{c as a};
1
+ import{a as p}from"./chunk-23EQTK7B.mjs";import{a as i}from"./chunk-NIQ4466A.mjs";import{jsx as o}from"react/jsx-runtime";var c=s=>{let{posts:r}=s;return o("div",{className:i("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:r==null?void 0:r.map((a,t)=>typeof a=="object"&&a!==null?o("div",{className:"col-span-4",children:o(p,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},t):null)})})})};export{c as a};