cortex-react-components 2.0.1 → 2.0.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 (1086) hide show
  1. package/dist/Manrope-Bold-CPQACTSE.ttf +0 -0
  2. package/dist/Manrope-ExtraBold-WMIW3IUY.ttf +0 -0
  3. package/dist/Manrope-ExtraLight-73PSLEHW.ttf +0 -0
  4. package/dist/Manrope-Light-Y5DQMGPD.ttf +0 -0
  5. package/dist/Manrope-Medium-EG6W7WPF.ttf +0 -0
  6. package/dist/Manrope-Regular-XVH52NWZ.ttf +0 -0
  7. package/dist/Manrope-SemiBold-UGY74FUV.ttf +0 -0
  8. package/dist/about-1-ANS44UVM.png +0 -0
  9. package/dist/about-2-NDWHP4QV.png +0 -0
  10. package/dist/about-3-RNUOVF6S.png +0 -0
  11. package/dist/about-4-V5ITRBOZ.png +0 -0
  12. package/dist/chunk-22LHS2J6.mjs +4 -0
  13. package/dist/chunk-2BR55L74.mjs +1 -0
  14. package/dist/chunk-2QZUKVBA.mjs +1 -0
  15. package/dist/chunk-2VZWOBGP.mjs +1 -0
  16. package/dist/chunk-3ALU5XV6.mjs +1 -0
  17. package/dist/chunk-3MKCQLBY.mjs +4 -0
  18. package/dist/chunk-3OKVKXQT.mjs +4 -0
  19. package/dist/chunk-3RJA57BI.mjs +4 -0
  20. package/dist/chunk-3SK6PULC.mjs +4 -0
  21. package/dist/chunk-3SZR5DC2.mjs +1 -0
  22. package/dist/chunk-3TVLETYW.mjs +1 -0
  23. package/dist/chunk-3U3PZBHQ.mjs +4 -0
  24. package/dist/chunk-3UMMMQEH.mjs +4 -0
  25. package/dist/chunk-3WPEAKCQ.mjs +4 -0
  26. package/dist/chunk-43IUXVGW.mjs +4 -0
  27. package/dist/chunk-44QDT35M.mjs +1 -0
  28. package/dist/chunk-4BUBW5TX.mjs +4 -0
  29. package/dist/chunk-4CU7D3X2.mjs +1 -0
  30. package/dist/chunk-4DJ6HKHR.mjs +1 -0
  31. package/dist/chunk-4QRKVSTE.mjs +1 -0
  32. package/dist/chunk-4TU4OACM.mjs +4 -0
  33. package/dist/chunk-4TVYOBYI.mjs +4 -0
  34. package/dist/chunk-4UIARERB.mjs +4 -0
  35. package/dist/chunk-53QLSQCO.mjs +4 -0
  36. package/dist/chunk-55EX54R7.mjs +4 -0
  37. package/dist/chunk-5AWZJAK3.mjs +4 -0
  38. package/dist/chunk-5BT4EWU5.mjs +1 -0
  39. package/dist/chunk-5C2TR5P3.mjs +4 -0
  40. package/dist/chunk-5ME75SQ2.mjs +218 -0
  41. package/dist/chunk-5NRGSTPV.mjs +4 -0
  42. package/dist/chunk-5OQF3MNO.mjs +1 -0
  43. package/dist/chunk-5RTGHMF3.mjs +4 -0
  44. package/dist/chunk-5WV5ZFEP.mjs +4 -0
  45. package/dist/chunk-5Z5PL7N3.mjs +1 -0
  46. package/dist/chunk-637VXITY.mjs +4 -0
  47. package/dist/chunk-66WBIP2O.mjs +1 -0
  48. package/dist/chunk-6AFX6PFG.mjs +470 -0
  49. package/dist/chunk-6C4WESLL.mjs +1 -0
  50. package/dist/chunk-6DEY5ZDD.mjs +1 -0
  51. package/dist/chunk-6HLXIE4P.mjs +1 -0
  52. package/dist/chunk-6LZRVGXZ.mjs +4 -0
  53. package/dist/chunk-6QSBVWNG.mjs +4 -0
  54. package/dist/chunk-6U2XBCMC.mjs +4 -0
  55. package/dist/chunk-6VPRGZON.mjs +4 -0
  56. package/dist/chunk-6XXAI7IR.mjs +1 -0
  57. package/dist/chunk-6YHVVP3S.mjs +1 -0
  58. package/dist/chunk-75WE6ZXB.mjs +1 -0
  59. package/dist/chunk-76M7JE4D.mjs +1 -0
  60. package/dist/chunk-7A3BV5SJ.mjs +1 -0
  61. package/dist/chunk-7BXIU4ZM.mjs +4 -0
  62. package/dist/chunk-7DICAJS4.mjs +1 -0
  63. package/dist/chunk-7EXAS7HK.mjs +4 -0
  64. package/dist/chunk-7GSXNSLD.mjs +1 -0
  65. package/dist/chunk-7WIO2CIC.mjs +1 -0
  66. package/dist/chunk-A24EPYUY.mjs +1 -0
  67. package/dist/chunk-A24IEDVI.mjs +1 -0
  68. package/dist/chunk-AB43AQKL.mjs +1 -0
  69. package/dist/chunk-AEBUMA72.mjs +1 -0
  70. package/dist/chunk-ALI7Z4HH.mjs +4 -0
  71. package/dist/chunk-AMV3MECK.mjs +1 -0
  72. package/dist/chunk-AQLCYCLG.mjs +1 -0
  73. package/dist/chunk-AUBKJ4XO.mjs +1 -0
  74. package/dist/chunk-AV5SA2JB.mjs +9 -0
  75. package/dist/chunk-AZ4VR5JX.mjs +3 -0
  76. package/dist/chunk-AZKOVKSK.mjs +4 -0
  77. package/dist/chunk-B4H6T2GP.mjs +1 -0
  78. package/dist/chunk-BG7QXNV5.mjs +1 -0
  79. package/dist/chunk-BHKBIYMM.mjs +4 -0
  80. package/dist/chunk-BMA4266L.mjs +1 -0
  81. package/dist/chunk-BPTRLIWH.mjs +1 -0
  82. package/dist/chunk-BUC3OG2I.mjs +4 -0
  83. package/dist/chunk-BWTA3BKK.mjs +4 -0
  84. package/dist/chunk-BXHNSQWH.mjs +1 -0
  85. package/dist/chunk-BZAYEKYC.mjs +1 -0
  86. package/dist/chunk-C4UPRDGQ.mjs +1 -0
  87. package/dist/chunk-CA7JDZIQ.mjs +4 -0
  88. package/dist/chunk-CG2SBWT7.mjs +4 -0
  89. package/dist/chunk-CGDLOY7W.mjs +4 -0
  90. package/dist/chunk-CSBGSBEU.mjs +1 -0
  91. package/dist/chunk-CSWXKGJE.mjs +4 -0
  92. package/dist/chunk-CTKUF2I6.mjs +4 -0
  93. package/dist/chunk-CV7PH2KH.mjs +4 -0
  94. package/dist/chunk-CXV6AWOX.mjs +4 -0
  95. package/dist/chunk-D4IMQTVU.mjs +4 -0
  96. package/dist/chunk-D6W4VUUS.mjs +1 -0
  97. package/dist/chunk-DBVX4BDP.mjs +4 -0
  98. package/dist/chunk-DBY4SXQI.mjs +1 -0
  99. package/dist/chunk-DFIXTV2M.mjs +1 -0
  100. package/dist/chunk-DYHW653F.mjs +1 -0
  101. package/dist/chunk-E37JPSPB.mjs +4 -0
  102. package/dist/chunk-E4TE4NV6.mjs +4 -0
  103. package/dist/chunk-EGHHWTFA.mjs +1 -0
  104. package/dist/chunk-EHSOO47V.mjs +1 -0
  105. package/dist/chunk-EPTHSTUM.mjs +1 -0
  106. package/dist/chunk-F4UGWCXY.mjs +1 -0
  107. package/dist/chunk-F5N6KQA2.mjs +1 -0
  108. package/dist/chunk-FHMQVAKQ.mjs +4 -0
  109. package/dist/chunk-FLHDNCNY.mjs +1 -0
  110. package/dist/chunk-FMH5CZ7X.mjs +4 -0
  111. package/dist/chunk-FMJBJ3HN.mjs +1 -0
  112. package/dist/chunk-FRWX5YES.mjs +4 -0
  113. package/dist/chunk-FT3AE7L2.mjs +4 -0
  114. package/dist/chunk-FVM5SQT2.mjs +4 -0
  115. package/dist/chunk-GLLR2OOI.mjs +1 -0
  116. package/dist/chunk-GQVNL534.mjs +4 -0
  117. package/dist/chunk-H4X3VQIN.mjs +4 -0
  118. package/dist/chunk-H7D3PZKE.mjs +1 -0
  119. package/dist/chunk-HIHXHTK3.mjs +1 -0
  120. package/dist/chunk-HNCC3AOT.mjs +4 -0
  121. package/dist/chunk-HR6PBSS5.mjs +1 -0
  122. package/dist/chunk-I3E2TYYZ.mjs +1 -0
  123. package/dist/chunk-IB6VPDZQ.mjs +1 -0
  124. package/dist/chunk-IC2ABKAM.mjs +4 -0
  125. package/dist/chunk-IEUDWPYZ.mjs +1 -0
  126. package/dist/chunk-IJQC7T2R.mjs +1 -0
  127. package/dist/chunk-IN55EBPV.mjs +1 -0
  128. package/dist/chunk-INCYANPB.mjs +4 -0
  129. package/dist/chunk-IQKWNF37.mjs +5 -0
  130. package/dist/chunk-IQPZEEYJ.mjs +1 -0
  131. package/dist/chunk-ISBVFNWD.mjs +4 -0
  132. package/dist/chunk-IZ3PDOST.mjs +1 -0
  133. package/dist/chunk-J4IHIM6A.mjs +1 -0
  134. package/dist/chunk-JCH2CCQ7.mjs +1 -0
  135. package/dist/chunk-JFFTEK6Z.mjs +4 -0
  136. package/dist/chunk-JHNVX4UB.mjs +4 -0
  137. package/dist/chunk-JYL3XIJX.mjs +1 -0
  138. package/dist/chunk-KCCDR7HB.mjs +4 -0
  139. package/dist/chunk-KDSAOIPC.mjs +1 -0
  140. package/dist/chunk-KFCSVEI6.mjs +4 -0
  141. package/dist/chunk-KGEIN56Y.mjs +4 -0
  142. package/dist/chunk-KGYX6TIY.mjs +4 -0
  143. package/dist/chunk-KLEXMJR2.mjs +1 -0
  144. package/dist/chunk-KML6U7IE.mjs +1 -0
  145. package/dist/chunk-KN65DDFI.mjs +1 -0
  146. package/dist/chunk-KSYES4GX.mjs +1 -0
  147. package/dist/chunk-KUVGGKGR.mjs +4 -0
  148. package/dist/chunk-KVD6XDZT.mjs +1 -0
  149. package/dist/chunk-KX2NCNCS.mjs +1 -0
  150. package/dist/chunk-KY7WQYN4.mjs +4 -0
  151. package/dist/chunk-L2CGDHVO.mjs +1 -0
  152. package/dist/chunk-L5JPAKPM.mjs +1 -0
  153. package/dist/chunk-LALFQI3P.mjs +4 -0
  154. package/dist/chunk-LEC6GEWS.mjs +5 -0
  155. package/dist/chunk-LKGCU7H6.mjs +1 -0
  156. package/dist/chunk-LTTO57ZK.mjs +1 -0
  157. package/dist/chunk-LVFMFRBR.mjs +4 -0
  158. package/dist/chunk-LVK4QE5D.mjs +1 -0
  159. package/dist/chunk-LXZAOORS.mjs +1 -0
  160. package/dist/chunk-M245YHYF.mjs +4 -0
  161. package/dist/chunk-M6LJ4BNZ.mjs +1 -0
  162. package/dist/chunk-MDJREBVI.mjs +1 -0
  163. package/dist/chunk-MGJTWNXD.mjs +1 -0
  164. package/dist/chunk-MGYV46AJ.mjs +4 -0
  165. package/dist/chunk-MWXZUSRT.mjs +4 -0
  166. package/dist/chunk-MZP7RIQZ.mjs +1 -0
  167. package/dist/chunk-N25B5TQ5.mjs +4 -0
  168. package/dist/chunk-N5SEZED7.mjs +1 -0
  169. package/dist/chunk-NOHO4XDS.mjs +1 -0
  170. package/dist/chunk-NSMXJCXE.mjs +1 -0
  171. package/dist/chunk-O5BAW5XQ.mjs +3 -0
  172. package/dist/chunk-OCPX4QPC.mjs +4 -0
  173. package/dist/chunk-OFFFATED.mjs +4 -0
  174. package/dist/chunk-OFXZKSCN.mjs +1 -0
  175. package/dist/chunk-OJLQ6G4W.mjs +4 -0
  176. package/dist/chunk-OM5ZUHCN.mjs +4 -0
  177. package/dist/chunk-ORNGKQM7.mjs +1 -0
  178. package/dist/chunk-OYZDAMCS.mjs +4 -0
  179. package/dist/chunk-PA3BZDTY.mjs +245 -0
  180. package/dist/chunk-PANOPGUW.mjs +4 -0
  181. package/dist/chunk-PDY7JYY3.mjs +4 -0
  182. package/dist/chunk-PPZXBKTO.mjs +4 -0
  183. package/dist/chunk-Q2DPE66H.mjs +1 -0
  184. package/dist/chunk-Q3G5UAAD.mjs +1 -0
  185. package/dist/chunk-Q5NHYYRS.mjs +4 -0
  186. package/dist/chunk-Q5Q3DJWU.mjs +4 -0
  187. package/dist/chunk-Q5XT55O3.mjs +1 -0
  188. package/dist/chunk-Q6PKGY27.mjs +4 -0
  189. package/dist/chunk-QDYF4Z2F.mjs +4 -0
  190. package/dist/chunk-QKGEV7LG.mjs +1 -0
  191. package/dist/chunk-QQ36F4C4.mjs +1 -0
  192. package/dist/chunk-QRJOCPHI.mjs +1 -0
  193. package/dist/chunk-QTILVWJA.mjs +4 -0
  194. package/dist/chunk-RAGDUV7M.mjs +4 -0
  195. package/dist/chunk-RENPEB5D.mjs +1 -0
  196. package/dist/chunk-RIK7YEA6.mjs +2 -0
  197. package/dist/chunk-RLVKIMGU.mjs +4 -0
  198. package/dist/chunk-RR4QSUV2.mjs +1 -0
  199. package/dist/chunk-RTAA6HZ2.mjs +1 -0
  200. package/dist/chunk-RULSHTXR.mjs +1 -0
  201. package/dist/chunk-RVRIMD6M.mjs +4 -0
  202. package/dist/chunk-RYZTCMVC.mjs +4 -0
  203. package/dist/chunk-S7SHOCHM.mjs +1 -0
  204. package/dist/chunk-SG5QL77J.mjs +4 -0
  205. package/dist/chunk-SOIRB5TV.mjs +1 -0
  206. package/dist/chunk-SOLZ4VQH.mjs +4 -0
  207. package/dist/chunk-SRCJSWQF.mjs +1 -0
  208. package/dist/chunk-SV7NMNDI.mjs +1 -0
  209. package/dist/chunk-TAYYCGWX.mjs +4 -0
  210. package/dist/chunk-TEB67NCD.mjs +4 -0
  211. package/dist/chunk-TJVEQJW3.mjs +4 -0
  212. package/dist/chunk-TK4JC5PG.mjs +4 -0
  213. package/dist/chunk-TLBLUYXL.mjs +1 -0
  214. package/dist/chunk-TVZOULLL.mjs +4 -0
  215. package/dist/chunk-U3ZHU3UY.mjs +1 -0
  216. package/dist/chunk-U5PBLRRV.mjs +4 -0
  217. package/dist/chunk-UDPQ4MXR.mjs +4 -0
  218. package/dist/chunk-UEBQJNVT.mjs +4 -0
  219. package/dist/chunk-UG7D3VNG.mjs +1 -0
  220. package/dist/chunk-UKYWLNKE.mjs +1 -0
  221. package/dist/chunk-UWEU6TLS.mjs +6 -0
  222. package/dist/chunk-V6GC3UGV.mjs +1 -0
  223. package/dist/chunk-VBGNLDO6.mjs +4 -0
  224. package/dist/chunk-VM25PG5R.mjs +4 -0
  225. package/dist/chunk-VMAPGGGW.mjs +4 -0
  226. package/dist/chunk-VN7TASR4.mjs +1 -0
  227. package/dist/chunk-VNMKCJBJ.mjs +6 -0
  228. package/dist/chunk-WISC5QJV.mjs +1 -0
  229. package/dist/chunk-WISCWNL2.mjs +1 -0
  230. package/dist/chunk-WU3JMLSC.mjs +1 -0
  231. package/dist/chunk-WUA65ZZB.mjs +4 -0
  232. package/dist/chunk-WV2LZOPM.mjs +1 -0
  233. package/dist/chunk-X3JZSN3W.mjs +1 -0
  234. package/dist/chunk-X5KZKO2V.mjs +4 -0
  235. package/dist/chunk-XBCYPOFD.mjs +1 -0
  236. package/dist/chunk-XCCL5CIT.mjs +4 -0
  237. package/dist/chunk-XGIYNUGC.mjs +1 -0
  238. package/dist/chunk-XHMVS6GT.mjs +4 -0
  239. package/dist/chunk-XP4XLR2J.mjs +4 -0
  240. package/dist/chunk-YFAZQYK4.mjs +4 -0
  241. package/dist/chunk-YNCJATT7.mjs +4 -0
  242. package/dist/chunk-YNNW2C2U.mjs +1 -0
  243. package/dist/chunk-YO3GQYRJ.mjs +1 -0
  244. package/dist/chunk-YVI5URXW.mjs +4 -0
  245. package/dist/chunk-YX3BAJ2N.mjs +1 -0
  246. package/dist/chunk-ZDOLX6I2.mjs +4 -0
  247. package/dist/chunk-ZDPQXVTF.mjs +1 -0
  248. package/dist/chunk-ZFBEBFCI.mjs +4 -0
  249. package/dist/chunk-ZFUP5NVF.mjs +4 -0
  250. package/dist/chunk-ZLSF5YXT.mjs +8 -0
  251. package/dist/chunk-ZSIYEVUV.mjs +4 -0
  252. package/dist/chunk-ZUA4KNIR.mjs +1 -0
  253. package/dist/chunk-ZWHGOTSF.mjs +1 -0
  254. package/dist/common-types.js +1 -0
  255. package/dist/common-types.mjs +1 -0
  256. package/dist/components/AdvancedComponents/CommentSection.css +1 -0
  257. package/dist/components/AdvancedComponents/CommentSection.js +4 -0
  258. package/dist/components/AdvancedComponents/CommentSection.mjs +1 -0
  259. package/dist/components/AdvancedComponents/EditableField.css +1 -0
  260. package/dist/components/AdvancedComponents/EditableField.js +4 -0
  261. package/dist/components/AdvancedComponents/EditableField.mjs +1 -0
  262. package/dist/components/AdvancedComponents/NAVIGATION_TABS_README.js +108 -0
  263. package/dist/components/AdvancedComponents/NAVIGATION_TABS_README.mjs +108 -0
  264. package/dist/components/AdvancedComponents/app-header.css +1 -0
  265. package/dist/components/AdvancedComponents/app-header.js +5 -0
  266. package/dist/components/AdvancedComponents/app-header.mjs +2 -0
  267. package/dist/components/AdvancedComponents/index.css +1 -0
  268. package/dist/components/AdvancedComponents/index.js +6 -0
  269. package/dist/components/AdvancedComponents/index.mjs +1 -0
  270. package/dist/components/AdvancedComponents/navigation-tabs.css +1 -0
  271. package/dist/components/AdvancedComponents/navigation-tabs.js +5 -0
  272. package/dist/components/AdvancedComponents/navigation-tabs.mjs +2 -0
  273. package/dist/components/AdvancedComponents/notifications-panel.css +1 -0
  274. package/dist/components/AdvancedComponents/notifications-panel.js +5 -0
  275. package/dist/components/AdvancedComponents/notifications-panel.mjs +2 -0
  276. package/dist/components/AdvancedComponents/sidebar.css +1 -0
  277. package/dist/components/AdvancedComponents/sidebar.js +5 -0
  278. package/dist/components/AdvancedComponents/sidebar.mjs +2 -0
  279. package/dist/components/AdvancedComponents/switch.css +1 -0
  280. package/dist/components/AdvancedComponents/switch.js +4 -0
  281. package/dist/components/AdvancedComponents/switch.mjs +2 -0
  282. package/dist/components/AdvancedComponents/theme-provider.js +4 -0
  283. package/dist/components/AdvancedComponents/theme-provider.mjs +2 -0
  284. package/dist/components/AdvancedComponents/theme-toggle.css +1 -0
  285. package/dist/components/AdvancedComponents/theme-toggle.js +5 -0
  286. package/dist/components/AdvancedComponents/theme-toggle.mjs +2 -0
  287. package/dist/components/AdvancedComponents/user-selection.css +1 -0
  288. package/dist/components/AdvancedComponents/user-selection.js +5 -0
  289. package/dist/components/AdvancedComponents/user-selection.mjs +2 -0
  290. package/dist/components/Blocks/Banner.css +1 -0
  291. package/dist/components/Blocks/Banner.js +5 -0
  292. package/dist/components/Blocks/Banner.mjs +1 -0
  293. package/dist/components/Blocks/CallToAction.css +1 -0
  294. package/dist/components/Blocks/CallToAction.js +5 -0
  295. package/dist/components/Blocks/CallToAction.mjs +2 -0
  296. package/dist/components/Blocks/CaseStudy.css +1 -0
  297. package/dist/components/Blocks/CaseStudy.js +1 -0
  298. package/dist/components/Blocks/CaseStudy.mjs +1 -0
  299. package/dist/components/Blocks/Code.client.css +1 -0
  300. package/dist/components/Blocks/Code.client.js +4 -0
  301. package/dist/components/Blocks/Code.client.mjs +2 -0
  302. package/dist/components/Blocks/Code.css +1 -0
  303. package/dist/components/Blocks/Code.js +4 -0
  304. package/dist/components/Blocks/Code.mjs +1 -0
  305. package/dist/components/Blocks/CollapsibleArea.css +1 -0
  306. package/dist/components/Blocks/CollapsibleArea.js +5 -0
  307. package/dist/components/Blocks/CollapsibleArea.mjs +2 -0
  308. package/dist/components/Blocks/ConsultantProfile.css +1 -0
  309. package/dist/components/Blocks/ConsultantProfile.js +1 -0
  310. package/dist/components/Blocks/ConsultantProfile.mjs +1 -0
  311. package/dist/components/Blocks/Content.css +1 -0
  312. package/dist/components/Blocks/Content.js +5 -0
  313. package/dist/components/Blocks/Content.mjs +1 -0
  314. package/dist/components/Blocks/CopyButton.css +1 -0
  315. package/dist/components/Blocks/CopyButton.js +4 -0
  316. package/dist/components/Blocks/CopyButton.mjs +2 -0
  317. package/dist/components/Blocks/FeaturesBlock.css +1 -0
  318. package/dist/components/Blocks/FeaturesBlock.js +5 -0
  319. package/dist/components/Blocks/FeaturesBlock.mjs +1 -0
  320. package/dist/components/Blocks/HeadingImage.js +1 -0
  321. package/dist/components/Blocks/HeadingImage.mjs +1 -0
  322. package/dist/components/Blocks/ImageBlock.js +4 -0
  323. package/dist/components/Blocks/ImageBlock.mjs +1 -0
  324. package/dist/components/Blocks/InfoTile.js +1 -0
  325. package/dist/components/Blocks/InfoTile.mjs +1 -0
  326. package/dist/components/Blocks/Insight.js +4 -0
  327. package/dist/components/Blocks/Insight.mjs +2 -0
  328. package/dist/components/Blocks/MOTD.js +1 -0
  329. package/dist/components/Blocks/MOTD.mjs +1 -0
  330. package/dist/components/Blocks/MediaBlock.js +4 -0
  331. package/dist/components/Blocks/MediaBlock.mjs +1 -0
  332. package/dist/components/Blocks/OrgChart.js +4 -0
  333. package/dist/components/Blocks/OrgChart.mjs +2 -0
  334. package/dist/components/Blocks/ProposalSummary.css +1 -0
  335. package/dist/components/Blocks/ProposalSummary.js +1 -0
  336. package/dist/components/Blocks/ProposalSummary.mjs +1 -0
  337. package/dist/components/Blocks/RelatedPosts.css +1 -0
  338. package/dist/components/Blocks/RelatedPosts.js +5 -0
  339. package/dist/components/Blocks/RelatedPosts.mjs +1 -0
  340. package/dist/components/Blocks/RenderBlocks.css +1 -0
  341. package/dist/components/Blocks/RenderBlocks.js +5 -0
  342. package/dist/components/Blocks/RenderBlocks.mjs +1 -0
  343. package/dist/components/Blocks/ReusableContentBlock.css +1 -0
  344. package/dist/components/Blocks/ReusableContentBlock.js +5 -0
  345. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -0
  346. package/dist/components/Blocks/WhyUs.js +1 -0
  347. package/dist/components/Blocks/WhyUs.mjs +1 -0
  348. package/dist/components/Blocks/index.css +1 -0
  349. package/dist/components/Blocks/index.js +5 -0
  350. package/dist/components/Blocks/index.mjs +1 -0
  351. package/dist/components/CRM/CogeBoard.css +1 -0
  352. package/dist/components/CRM/CogeBoard.js +4 -0
  353. package/dist/components/CRM/CogeBoard.mjs +2 -0
  354. package/dist/components/CRM/DealCard.css +1 -0
  355. package/dist/components/CRM/DealCard.js +1 -0
  356. package/dist/components/CRM/DealCard.mjs +1 -0
  357. package/dist/components/CRM/DealDetails.css +1 -0
  358. package/dist/components/CRM/DealDetails.js +4 -0
  359. package/dist/components/CRM/DealDetails.mjs +1 -0
  360. package/dist/components/CRM/KanbanBoard.css +1 -0
  361. package/dist/components/CRM/KanbanBoard.js +4 -0
  362. package/dist/components/CRM/KanbanBoard.mjs +2 -0
  363. package/dist/components/CRM/KanbanColumn.css +1 -0
  364. package/dist/components/CRM/KanbanColumn.js +1 -0
  365. package/dist/components/CRM/KanbanColumn.mjs +1 -0
  366. package/dist/components/CRM/NewCustomerForm.css +1 -0
  367. package/dist/components/CRM/NewCustomerForm.js +4 -0
  368. package/dist/components/CRM/NewCustomerForm.mjs +1 -0
  369. package/dist/components/CRM/NewDealForm.css +1 -0
  370. package/dist/components/CRM/NewDealForm.js +4 -0
  371. package/dist/components/CRM/NewDealForm.mjs +1 -0
  372. package/dist/components/CRM/index.css +1 -0
  373. package/dist/components/CRM/index.js +4 -0
  374. package/dist/components/CRM/index.mjs +1 -0
  375. package/dist/components/CRM/mockData.js +1 -0
  376. package/dist/components/CRM/mockData.mjs +1 -0
  377. package/dist/components/CRM/types.js +1 -0
  378. package/dist/components/Cards/ContentCard.css +1 -0
  379. package/dist/components/Cards/ContentCard.js +5 -0
  380. package/dist/components/Cards/ContentCard.mjs +1 -0
  381. package/dist/components/Cards/CustomerCard.css +1 -0
  382. package/dist/components/Cards/CustomerCard.js +1 -0
  383. package/dist/components/Cards/CustomerCard.mjs +1 -0
  384. package/dist/components/Cards/EventCard.css +1 -0
  385. package/dist/components/Cards/EventCard.js +4 -0
  386. package/dist/components/Cards/EventCard.mjs +1 -0
  387. package/dist/components/Cards/FeatureCard.css +1 -0
  388. package/dist/components/Cards/FeatureCard.js +5 -0
  389. package/dist/components/Cards/FeatureCard.mjs +1 -0
  390. package/dist/components/Cards/HeroCard.css +1 -0
  391. package/dist/components/Cards/HeroCard.js +1 -0
  392. package/dist/components/Cards/HeroCard.mjs +1 -0
  393. package/dist/components/Cards/Image.css +1 -0
  394. package/dist/components/Cards/Image.js +4 -0
  395. package/dist/components/Cards/Image.mjs +2 -0
  396. package/dist/components/Cards/PricingCard.css +1 -0
  397. package/dist/components/Cards/PricingCard.js +1 -0
  398. package/dist/components/Cards/PricingCard.mjs +1 -0
  399. package/dist/components/Cards/ProjectCard.js +5 -0
  400. package/dist/components/Cards/ProjectCard.mjs +1 -0
  401. package/dist/components/Cards/ServiceCard.css +1 -0
  402. package/dist/components/Cards/ServiceCard.js +4 -0
  403. package/dist/components/Cards/ServiceCard.mjs +1 -0
  404. package/dist/components/Cards/index.css +1 -0
  405. package/dist/components/Cards/index.js +10 -0
  406. package/dist/components/Cards/index.mjs +1 -0
  407. package/dist/components/Chat/CAPABILITIES_README.js +199 -0
  408. package/dist/components/Chat/CAPABILITIES_README.mjs +199 -0
  409. package/dist/components/Chat/ChatCardArtefact.css +1 -0
  410. package/dist/components/Chat/ChatCardArtefact.js +1 -0
  411. package/dist/components/Chat/ChatCardArtefact.mjs +1 -0
  412. package/dist/components/Chat/ChatCardTask.css +1 -0
  413. package/dist/components/Chat/ChatCardTask.js +1 -0
  414. package/dist/components/Chat/ChatCardTask.mjs +1 -0
  415. package/dist/components/Chat/ChatInterfaceMessages.css +1 -0
  416. package/dist/components/Chat/ChatInterfaceMessages.js +7 -0
  417. package/dist/components/Chat/ChatInterfaceMessages.mjs +2 -0
  418. package/dist/components/Chat/ChatMessage.css +1 -0
  419. package/dist/components/Chat/ChatMessage.js +7 -0
  420. package/dist/components/Chat/ChatMessage.mjs +1 -0
  421. package/dist/components/Chat/CopilotInterface.css +1 -0
  422. package/dist/components/Chat/CopilotInterface.js +5 -0
  423. package/dist/components/Chat/CopilotInterface.mjs +2 -0
  424. package/dist/components/Chat/EnhancedChatInterface.css +1 -0
  425. package/dist/components/Chat/EnhancedChatInterface.js +5 -0
  426. package/dist/components/Chat/EnhancedChatInterface.mjs +4 -0
  427. package/dist/components/Chat/ai-chat-interface.css +1 -0
  428. package/dist/components/Chat/ai-chat-interface.js +5 -0
  429. package/dist/components/Chat/ai-chat-interface.mjs +2 -0
  430. package/dist/components/Chat/capabilities-config.js +1 -0
  431. package/dist/components/Chat/capabilities-config.mjs +1 -0
  432. package/dist/components/Chat/capabilities-data.js +1 -0
  433. package/dist/components/Chat/capabilities-data.mjs +1 -0
  434. package/dist/components/Chat/capabilities.js +1 -0
  435. package/dist/components/Chat/capabilities.mjs +1 -0
  436. package/dist/components/Chat/capability-menu.css +1 -0
  437. package/dist/components/Chat/capability-menu.js +4 -0
  438. package/dist/components/Chat/capability-menu.mjs +2 -0
  439. package/dist/components/Chat/chat-session-sidebar.css +1 -0
  440. package/dist/components/Chat/chat-session-sidebar.js +5 -0
  441. package/dist/components/Chat/chat-session-sidebar.mjs +2 -0
  442. package/dist/components/Chat/hooks/useTask.js +1 -0
  443. package/dist/components/Chat/hooks/useTask.mjs +1 -0
  444. package/dist/components/Chat/index.css +1 -0
  445. package/dist/components/Chat/index.js +8 -0
  446. package/dist/components/Chat/index.mjs +1 -0
  447. package/dist/components/DeliveryLead/DeliveryLeadSubmission.css +1 -0
  448. package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +6 -0
  449. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +2 -0
  450. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.css +1 -0
  451. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +4 -0
  452. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +2 -0
  453. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.css +1 -0
  454. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +6 -0
  455. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +2 -0
  456. package/dist/components/DeliveryLead/index.css +1 -0
  457. package/dist/components/DeliveryLead/index.js +6 -0
  458. package/dist/components/DeliveryLead/index.mjs +1 -0
  459. package/dist/components/DeliveryLead/types.js +1 -0
  460. package/dist/components/DigitalColleagues/AppSidebarLeft.css +1 -0
  461. package/dist/components/DigitalColleagues/AppSidebarLeft.js +4 -0
  462. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +2 -0
  463. package/dist/components/DigitalColleagues/DashboardHeader.css +1 -0
  464. package/dist/components/DigitalColleagues/DashboardHeader.js +4 -0
  465. package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -0
  466. package/dist/components/DigitalColleagues/DigitalColleageusLayout.css +1 -0
  467. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +5 -0
  468. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +2 -0
  469. package/dist/components/DigitalColleagues/MainPage.css +1 -0
  470. package/dist/components/DigitalColleagues/MainPage.js +4 -0
  471. package/dist/components/DigitalColleagues/MainPage.mjs +2 -0
  472. package/dist/components/DigitalColleagues/ManagementSidebar.css +1 -0
  473. package/dist/components/DigitalColleagues/ManagementSidebar.js +4 -0
  474. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -0
  475. package/dist/components/DigitalColleagues/Pages/dashboardpage.css +1 -0
  476. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +5 -0
  477. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +2 -0
  478. package/dist/components/DigitalColleagues/SearchableSelect.css +1 -0
  479. package/dist/components/DigitalColleagues/SearchableSelect.js +4 -0
  480. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -0
  481. package/dist/components/DigitalColleagues/Views/ColleaguesView.css +1 -0
  482. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +5 -0
  483. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +2 -0
  484. package/dist/components/DigitalColleagues/Views/KnowledgeView.css +1 -0
  485. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +5 -0
  486. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -0
  487. package/dist/components/DigitalColleagues/Views/TeamsIndexView.css +1 -0
  488. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +5 -0
  489. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +2 -0
  490. package/dist/components/DigitalColleagues/Views/index.css +1 -0
  491. package/dist/components/DigitalColleagues/Views/index.js +5 -0
  492. package/dist/components/DigitalColleagues/Views/index.mjs +1 -0
  493. package/dist/components/DigitalColleagues/colleague-card.css +1 -0
  494. package/dist/components/DigitalColleagues/colleague-card.js +5 -0
  495. package/dist/components/DigitalColleagues/colleague-card.mjs +2 -0
  496. package/dist/components/DigitalColleagues/colleague-form.css +1 -0
  497. package/dist/components/DigitalColleagues/colleague-form.js +5 -0
  498. package/dist/components/DigitalColleagues/colleague-form.mjs +2 -0
  499. package/dist/components/DigitalColleagues/colleague-type-selection.css +1 -0
  500. package/dist/components/DigitalColleagues/colleague-type-selection.js +4 -0
  501. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +2 -0
  502. package/dist/components/DigitalColleagues/digital-colleague-clone.css +1 -0
  503. package/dist/components/DigitalColleagues/digital-colleague-clone.js +5 -0
  504. package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +2 -0
  505. package/dist/components/DigitalColleagues/digital-colleague-options.css +1 -0
  506. package/dist/components/DigitalColleagues/digital-colleague-options.js +4 -0
  507. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +2 -0
  508. package/dist/components/DigitalColleagues/test-data.js +1 -0
  509. package/dist/components/DigitalColleagues/test-data.mjs +1 -0
  510. package/dist/components/DigitalColleagues/types.js +1 -0
  511. package/dist/components/HeaderFooter/AppLauncher.js +4 -0
  512. package/dist/components/HeaderFooter/AppLauncher.mjs +2 -0
  513. package/dist/components/HeaderFooter/BrandLogo.js +1 -0
  514. package/dist/components/HeaderFooter/BrandLogo.mjs +1 -0
  515. package/dist/components/HeaderFooter/Footer.css +1 -0
  516. package/dist/components/HeaderFooter/Footer.js +1 -0
  517. package/dist/components/HeaderFooter/Footer.mjs +1 -0
  518. package/dist/components/HeaderFooter/Header.css +1 -0
  519. package/dist/components/HeaderFooter/Header.js +4 -0
  520. package/dist/components/HeaderFooter/Header.mjs +1 -0
  521. package/dist/components/HeaderFooter/HeaderDesktop.css +1 -0
  522. package/dist/components/HeaderFooter/HeaderDesktop.js +4 -0
  523. package/dist/components/HeaderFooter/HeaderDesktop.mjs +2 -0
  524. package/dist/components/HeaderFooter/HeaderMenu.css +1 -0
  525. package/dist/components/HeaderFooter/HeaderMenu.js +4 -0
  526. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -0
  527. package/dist/components/HeaderFooter/HeaderMenuItem.js +1 -0
  528. package/dist/components/HeaderFooter/HeaderMenuItem.mjs +1 -0
  529. package/dist/components/HeaderFooter/HeaderMobile.js +4 -0
  530. package/dist/components/HeaderFooter/HeaderMobile.mjs +2 -0
  531. package/dist/components/HeaderFooter/RelatedPagesMenu.css +1 -0
  532. package/dist/components/HeaderFooter/RelatedPagesMenu.js +4 -0
  533. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +2 -0
  534. package/dist/components/HeaderFooter/SectionHeading.css +1 -0
  535. package/dist/components/HeaderFooter/SectionHeading.js +5 -0
  536. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -0
  537. package/dist/components/HeaderFooter/SimpleHeader.css +1 -0
  538. package/dist/components/HeaderFooter/SimpleHeader.js +4 -0
  539. package/dist/components/HeaderFooter/SimpleHeader.mjs +2 -0
  540. package/dist/components/HeaderFooter/VideoHeader.css +1 -0
  541. package/dist/components/HeaderFooter/VideoHeader.js +4 -0
  542. package/dist/components/HeaderFooter/VideoHeader.mjs +2 -0
  543. package/dist/components/HeaderFooter/index.css +1 -0
  544. package/dist/components/HeaderFooter/index.js +4 -0
  545. package/dist/components/HeaderFooter/index.mjs +1 -0
  546. package/dist/components/Heros/DashboardHero/DashboardHero.css +1 -0
  547. package/dist/components/Heros/DashboardHero/DashboardHero.js +4 -0
  548. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +2 -0
  549. package/dist/components/Heros/DashboardHero/index.css +1 -0
  550. package/dist/components/Heros/DashboardHero/index.js +4 -0
  551. package/dist/components/Heros/DashboardHero/index.mjs +1 -0
  552. package/dist/components/Heros/HighImpact/index.css +1 -0
  553. package/dist/components/Heros/HighImpact/index.js +5 -0
  554. package/dist/components/Heros/HighImpact/index.mjs +2 -0
  555. package/dist/components/Heros/LowImpact/index.css +1 -0
  556. package/dist/components/Heros/LowImpact/index.js +5 -0
  557. package/dist/components/Heros/LowImpact/index.mjs +1 -0
  558. package/dist/components/Heros/MediumImpact/index.css +1 -0
  559. package/dist/components/Heros/MediumImpact/index.js +5 -0
  560. package/dist/components/Heros/MediumImpact/index.mjs +1 -0
  561. package/dist/components/Heros/PostHero/index.css +1 -0
  562. package/dist/components/Heros/PostHero/index.js +1 -0
  563. package/dist/components/Heros/PostHero/index.mjs +1 -0
  564. package/dist/components/Heros/RenderHero.css +1 -0
  565. package/dist/components/Heros/RenderHero.js +5 -0
  566. package/dist/components/Heros/RenderHero.mjs +1 -0
  567. package/dist/components/Heros/SectionHero/index.css +1 -0
  568. package/dist/components/Heros/SectionHero/index.js +1 -0
  569. package/dist/components/Heros/SectionHero/index.mjs +1 -0
  570. package/dist/components/Heros/index.css +1 -0
  571. package/dist/components/Heros/index.js +6 -0
  572. package/dist/components/Heros/index.mjs +1 -0
  573. package/dist/components/Holidays/ApproveLeave.css +1 -0
  574. package/dist/components/Holidays/ApproveLeave.js +4 -0
  575. package/dist/components/Holidays/ApproveLeave.mjs +2 -0
  576. package/dist/components/Holidays/CalendarView.css +1 -0
  577. package/dist/components/Holidays/CalendarView.js +4 -0
  578. package/dist/components/Holidays/CalendarView.mjs +2 -0
  579. package/dist/components/Holidays/HolidayGrid.css +1 -0
  580. package/dist/components/Holidays/HolidayGrid.js +4 -0
  581. package/dist/components/Holidays/HolidayGrid.mjs +1 -0
  582. package/dist/components/Holidays/HolidayTracker.css +1 -0
  583. package/dist/components/Holidays/HolidayTracker.js +4 -0
  584. package/dist/components/Holidays/HolidayTracker.mjs +2 -0
  585. package/dist/components/Holidays/RequestLeave.css +1 -0
  586. package/dist/components/Holidays/RequestLeave.js +4 -0
  587. package/dist/components/Holidays/RequestLeave.mjs +2 -0
  588. package/dist/components/Holidays/index.css +1 -0
  589. package/dist/components/Holidays/index.js +4 -0
  590. package/dist/components/Holidays/index.mjs +1 -0
  591. package/dist/components/Icons/ScrollDownIcon.js +4 -0
  592. package/dist/components/Icons/ScrollDownIcon.mjs +2 -0
  593. package/dist/components/Images/DynamicIcon.js +4 -0
  594. package/dist/components/Images/DynamicIcon.mjs +2 -0
  595. package/dist/components/Images/IconIndex.js +18 -0
  596. package/dist/components/Images/IconIndex.mjs +18 -0
  597. package/dist/components/Images/customIconList.js +1 -0
  598. package/dist/components/Images/customIconList.mjs +1 -0
  599. package/dist/components/Images/index.js +4 -0
  600. package/dist/components/Images/index.mjs +1 -0
  601. package/dist/components/Layouts/FeatureGrid.js +4 -0
  602. package/dist/components/Layouts/FeatureGrid.mjs +2 -0
  603. package/dist/components/Layouts/NewsGrid.js +4 -0
  604. package/dist/components/Layouts/NewsGrid.mjs +2 -0
  605. package/dist/components/Layouts/NewsList.js +1 -0
  606. package/dist/components/Layouts/NewsList.mjs +1 -0
  607. package/dist/components/Layouts/OutputHeaderFooter.css +1 -0
  608. package/dist/components/Layouts/OutputHeaderFooter.js +6 -0
  609. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -0
  610. package/dist/components/Layouts/Print.css +1 -0
  611. package/dist/components/Layouts/Print.js +6 -0
  612. package/dist/components/Layouts/Print.mjs +2 -0
  613. package/dist/components/Layouts/SlideShow.css +1 -0
  614. package/dist/components/Layouts/SlideShow.js +8 -0
  615. package/dist/components/Layouts/SlideShow.mjs +2 -0
  616. package/dist/components/Layouts/TextAndImages.js +1 -0
  617. package/dist/components/Layouts/TextAndImages.mjs +1 -0
  618. package/dist/components/Layouts/index.css +1 -0
  619. package/dist/components/Layouts/index.js +9 -0
  620. package/dist/components/Layouts/index.mjs +1 -0
  621. package/dist/components/Menus/Categories.css +1 -0
  622. package/dist/components/Menus/Categories.js +4 -0
  623. package/dist/components/Menus/Categories.mjs +2 -0
  624. package/dist/components/Menus/Filter.css +1 -0
  625. package/dist/components/Menus/Filter.js +4 -0
  626. package/dist/components/Menus/Filter.mjs +2 -0
  627. package/dist/components/Menus/Pagination.js +4 -0
  628. package/dist/components/Menus/Pagination.mjs +2 -0
  629. package/dist/components/Menus/ProjectTeam.css +1 -0
  630. package/dist/components/Menus/ProjectTeam.js +1 -0
  631. package/dist/components/Menus/ProjectTeam.mjs +1 -0
  632. package/dist/components/Menus/RelatedContent.css +1 -0
  633. package/dist/components/Menus/RelatedContent.js +1 -0
  634. package/dist/components/Menus/RelatedContent.mjs +1 -0
  635. package/dist/components/Menus/SidebarLeft.css +1 -0
  636. package/dist/components/Menus/SidebarLeft.js +4 -0
  637. package/dist/components/Menus/SidebarLeft.mjs +2 -0
  638. package/dist/components/Menus/SidebarRight.css +1 -0
  639. package/dist/components/Menus/SidebarRight.js +4 -0
  640. package/dist/components/Menus/SidebarRight.mjs +2 -0
  641. package/dist/components/Menus/index.css +1 -0
  642. package/dist/components/Menus/index.js +4 -0
  643. package/dist/components/Menus/index.mjs +1 -0
  644. package/dist/components/Other/AnimatedBorder.js +4 -0
  645. package/dist/components/Other/AnimatedBorder.mjs +2 -0
  646. package/dist/components/Other/Container.css +1 -0
  647. package/dist/components/Other/Container.js +1 -0
  648. package/dist/components/Other/Container.mjs +1 -0
  649. package/dist/components/Other/CustomLink.js +1 -0
  650. package/dist/components/Other/CustomLink.mjs +1 -0
  651. package/dist/components/Other/PageShape.js +1 -0
  652. package/dist/components/Other/PageShape.mjs +1 -0
  653. package/dist/components/Other/ThemeProvider.js +4 -0
  654. package/dist/components/Other/ThemeProvider.mjs +2 -0
  655. package/dist/components/Other/index.css +1 -0
  656. package/dist/components/Other/index.js +4 -0
  657. package/dist/components/Other/index.mjs +1 -0
  658. package/dist/components/Payload/Card/index.js +4 -0
  659. package/dist/components/Payload/Card/index.mjs +2 -0
  660. package/dist/components/Payload/CollectionArchive/index.js +4 -0
  661. package/dist/components/Payload/CollectionArchive/index.mjs +1 -0
  662. package/dist/components/Payload/Link/index.css +1 -0
  663. package/dist/components/Payload/Link/index.js +1 -0
  664. package/dist/components/Payload/Link/index.mjs +1 -0
  665. package/dist/components/Payload/Logo/index.js +1 -0
  666. package/dist/components/Payload/Logo/index.mjs +1 -0
  667. package/dist/components/Payload/Media/ImageMedia/index.js +4 -0
  668. package/dist/components/Payload/Media/ImageMedia/index.mjs +2 -0
  669. package/dist/components/Payload/Media/VideoMedia/index.js +4 -0
  670. package/dist/components/Payload/Media/VideoMedia/index.mjs +2 -0
  671. package/dist/components/Payload/Media/index.js +4 -0
  672. package/dist/components/Payload/Media/index.mjs +1 -0
  673. package/dist/components/Payload/Media/types.js +1 -0
  674. package/dist/components/Payload/PageRange/index.js +1 -0
  675. package/dist/components/Payload/PageRange/index.mjs +1 -0
  676. package/dist/components/Payload/Pagination/index.css +1 -0
  677. package/dist/components/Payload/Pagination/index.js +4 -0
  678. package/dist/components/Payload/Pagination/index.mjs +2 -0
  679. package/dist/components/Payload/RichText/index.css +1 -0
  680. package/dist/components/Payload/RichText/index.js +5 -0
  681. package/dist/components/Payload/RichText/index.mjs +1 -0
  682. package/dist/components/Payload/RichText/nodeFormat.js +3 -0
  683. package/dist/components/Payload/RichText/nodeFormat.mjs +1 -0
  684. package/dist/components/Payload/RichText/serialize.css +1 -0
  685. package/dist/components/Payload/RichText/serialize.js +5 -0
  686. package/dist/components/Payload/RichText/serialize.mjs +1 -0
  687. package/dist/components/Payload/index.css +1 -0
  688. package/dist/components/Payload/index.js +5 -0
  689. package/dist/components/Payload/index.mjs +1 -0
  690. package/dist/components/Projects/AddEpicModal.css +1 -0
  691. package/dist/components/Projects/AddEpicModal.js +4 -0
  692. package/dist/components/Projects/AddEpicModal.mjs +1 -0
  693. package/dist/components/Projects/AddSprintModal.css +1 -0
  694. package/dist/components/Projects/AddSprintModal.js +4 -0
  695. package/dist/components/Projects/AddSprintModal.mjs +1 -0
  696. package/dist/components/Projects/AddTaskModal.css +1 -0
  697. package/dist/components/Projects/AddTaskModal.js +4 -0
  698. package/dist/components/Projects/AddTaskModal.mjs +1 -0
  699. package/dist/components/Projects/EpicFilter.css +1 -0
  700. package/dist/components/Projects/EpicFilter.js +4 -0
  701. package/dist/components/Projects/EpicFilter.mjs +1 -0
  702. package/dist/components/Projects/EpicsView.css +1 -0
  703. package/dist/components/Projects/EpicsView.js +5 -0
  704. package/dist/components/Projects/EpicsView.mjs +1 -0
  705. package/dist/components/Projects/FileView.css +1 -0
  706. package/dist/components/Projects/FileView.js +5 -0
  707. package/dist/components/Projects/FileView.mjs +2 -0
  708. package/dist/components/Projects/KanbanBoardView.css +1 -0
  709. package/dist/components/Projects/KanbanBoardView.js +5 -0
  710. package/dist/components/Projects/KanbanBoardView.mjs +1 -0
  711. package/dist/components/Projects/KanbanColumn.css +1 -0
  712. package/dist/components/Projects/KanbanColumn.js +1 -0
  713. package/dist/components/Projects/KanbanColumn.mjs +1 -0
  714. package/dist/components/Projects/PlanningView.css +1 -0
  715. package/dist/components/Projects/PlanningView.js +5 -0
  716. package/dist/components/Projects/PlanningView.mjs +1 -0
  717. package/dist/components/Projects/ProjectPage.css +1 -0
  718. package/dist/components/Projects/ProjectPage.js +5 -0
  719. package/dist/components/Projects/ProjectPage.mjs +2 -0
  720. package/dist/components/Projects/ProjectView.css +1 -0
  721. package/dist/components/Projects/ProjectView.js +5 -0
  722. package/dist/components/Projects/ProjectView.mjs +1 -0
  723. package/dist/components/Projects/ProjectsIndexView.css +1 -0
  724. package/dist/components/Projects/ProjectsIndexView.js +5 -0
  725. package/dist/components/Projects/ProjectsIndexView.mjs +2 -0
  726. package/dist/components/Projects/TaskCard.css +1 -0
  727. package/dist/components/Projects/TaskCard.js +1 -0
  728. package/dist/components/Projects/TaskCard.mjs +1 -0
  729. package/dist/components/Projects/TaskDetailsModal.css +1 -0
  730. package/dist/components/Projects/TaskDetailsModal.js +4 -0
  731. package/dist/components/Projects/TaskDetailsModal.mjs +1 -0
  732. package/dist/components/Projects/TaskSelect.css +1 -0
  733. package/dist/components/Projects/TaskSelect.js +4 -0
  734. package/dist/components/Projects/TaskSelect.mjs +1 -0
  735. package/dist/components/Projects/TaskSidebar.css +1 -0
  736. package/dist/components/Projects/TaskSidebar.js +4 -0
  737. package/dist/components/Projects/TaskSidebar.mjs +1 -0
  738. package/dist/components/Projects/TasksView.css +1 -0
  739. package/dist/components/Projects/TasksView.js +5 -0
  740. package/dist/components/Projects/TasksView.mjs +1 -0
  741. package/dist/components/Projects/TeamSwitcher.css +1 -0
  742. package/dist/components/Projects/TeamSwitcher.js +4 -0
  743. package/dist/components/Projects/TeamSwitcher.mjs +1 -0
  744. package/dist/components/Projects/business-unit-switcher.css +1 -0
  745. package/dist/components/Projects/business-unit-switcher.js +5 -0
  746. package/dist/components/Projects/business-unit-switcher.mjs +2 -0
  747. package/dist/components/Projects/business-units.js +1 -0
  748. package/dist/components/Projects/business-units.mjs +1 -0
  749. package/dist/components/Projects/file-list.css +1 -0
  750. package/dist/components/Projects/file-list.js +4 -0
  751. package/dist/components/Projects/file-list.mjs +2 -0
  752. package/dist/components/Projects/project-card.css +1 -0
  753. package/dist/components/Projects/project-card.js +4 -0
  754. package/dist/components/Projects/project-card.mjs +2 -0
  755. package/dist/components/Projects/project-form.css +1 -0
  756. package/dist/components/Projects/project-form.js +4 -0
  757. package/dist/components/Projects/project-form.mjs +2 -0
  758. package/dist/components/Projects/team-card.css +1 -0
  759. package/dist/components/Projects/team-card.js +4 -0
  760. package/dist/components/Projects/team-card.mjs +2 -0
  761. package/dist/components/Projects/team-switcher-bar.css +1 -0
  762. package/dist/components/Projects/team-switcher-bar.js +5 -0
  763. package/dist/components/Projects/team-switcher-bar.mjs +2 -0
  764. package/dist/components/Projects/test-data.js +1 -0
  765. package/dist/components/Projects/test-data.mjs +1 -0
  766. package/dist/components/dc-temp/CHANGES_SUMMARY.js +104 -0
  767. package/dist/components/dc-temp/CHANGES_SUMMARY.mjs +104 -0
  768. package/dist/components/dc-temp/COLLEAGUE_SELECTION_README.js +117 -0
  769. package/dist/components/dc-temp/COLLEAGUE_SELECTION_README.mjs +117 -0
  770. package/dist/components/dc-temp/DIGITAL_COLLEAGUE_UPDATES.js +207 -0
  771. package/dist/components/dc-temp/DIGITAL_COLLEAGUE_UPDATES.mjs +207 -0
  772. package/dist/components/dc-temp/IMPLEMENTATION_SUMMARY.js +121 -0
  773. package/dist/components/dc-temp/IMPLEMENTATION_SUMMARY.mjs +121 -0
  774. package/dist/components/dc-temp/TEAMS_README.js +92 -0
  775. package/dist/components/dc-temp/TEAMS_README.mjs +92 -0
  776. package/dist/components/dc-temp/creative.css +1 -0
  777. package/dist/components/dc-temp/creative.js +5 -0
  778. package/dist/components/dc-temp/creative.mjs +4 -0
  779. package/dist/components/dc-temp/dashboard-integration-example.css +1 -0
  780. package/dist/components/dc-temp/dashboard-integration-example.js +8 -0
  781. package/dist/components/dc-temp/dashboard-integration-example.mjs +4 -0
  782. package/dist/components/dc-temp/enhanced-header.css +1 -0
  783. package/dist/components/dc-temp/enhanced-header.js +5 -0
  784. package/dist/components/dc-temp/enhanced-header.mjs +2 -0
  785. package/dist/components/dc-temp/headerlogo.js +1 -0
  786. package/dist/components/dc-temp/headerlogo.mjs +1 -0
  787. package/dist/components/dc-temp/icon-mapper.js +1 -0
  788. package/dist/components/dc-temp/icon-mapper.mjs +1 -0
  789. package/dist/components/dc-temp/index.css +1 -0
  790. package/dist/components/dc-temp/index.js +5 -0
  791. package/dist/components/dc-temp/index.mjs +1 -0
  792. package/dist/components/dc-temp/knowledge-browser.css +1 -0
  793. package/dist/components/dc-temp/knowledge-browser.js +5 -0
  794. package/dist/components/dc-temp/knowledge-browser.mjs +2 -0
  795. package/dist/components/dc-temp/knowledge-search.css +1 -0
  796. package/dist/components/dc-temp/knowledge-search.js +5 -0
  797. package/dist/components/dc-temp/knowledge-search.mjs +2 -0
  798. package/dist/components/dc-temp/loading.js +1 -0
  799. package/dist/components/dc-temp/loading.mjs +1 -0
  800. package/dist/components/dc-temp/markdown-renderer.css +1 -0
  801. package/dist/components/dc-temp/markdown-renderer.js +4 -0
  802. package/dist/components/dc-temp/markdown-renderer.mjs +4 -0
  803. package/dist/components/dc-temp/mock-data.js +1 -0
  804. package/dist/components/dc-temp/mock-data.mjs +1 -0
  805. package/dist/components/dc-temp/sidebar.css +1 -0
  806. package/dist/components/dc-temp/sidebar.js +5 -0
  807. package/dist/components/dc-temp/sidebar.mjs +2 -0
  808. package/dist/components/dc-temp/utils.js +1 -0
  809. package/dist/components/dc-temp/utils.mjs +1 -0
  810. package/dist/components/index.css +1 -0
  811. package/dist/components/index.js +21 -0
  812. package/dist/components/index.mjs +1 -0
  813. package/dist/components/ui/alert.css +1 -0
  814. package/dist/components/ui/alert.js +1 -0
  815. package/dist/components/ui/alert.mjs +1 -0
  816. package/dist/components/ui/avatar.css +1 -0
  817. package/dist/components/ui/avatar.js +4 -0
  818. package/dist/components/ui/avatar.mjs +2 -0
  819. package/dist/components/ui/badge.css +1 -0
  820. package/dist/components/ui/badge.js +1 -0
  821. package/dist/components/ui/badge.mjs +1 -0
  822. package/dist/components/ui/breadcrumb.css +1 -0
  823. package/dist/components/ui/breadcrumb.js +1 -0
  824. package/dist/components/ui/breadcrumb.mjs +1 -0
  825. package/dist/components/ui/button.css +1 -0
  826. package/dist/components/ui/button.js +1 -0
  827. package/dist/components/ui/button.mjs +1 -0
  828. package/dist/components/ui/calendar.css +1 -0
  829. package/dist/components/ui/calendar.js +4 -0
  830. package/dist/components/ui/calendar.mjs +2 -0
  831. package/dist/components/ui/card.css +1 -0
  832. package/dist/components/ui/card.js +1 -0
  833. package/dist/components/ui/card.mjs +1 -0
  834. package/dist/components/ui/checkbox.css +1 -0
  835. package/dist/components/ui/checkbox.js +4 -0
  836. package/dist/components/ui/checkbox.mjs +2 -0
  837. package/dist/components/ui/collapsible.js +4 -0
  838. package/dist/components/ui/collapsible.mjs +2 -0
  839. package/dist/components/ui/command.css +1 -0
  840. package/dist/components/ui/command.js +4 -0
  841. package/dist/components/ui/command.mjs +2 -0
  842. package/dist/components/ui/dialog.css +1 -0
  843. package/dist/components/ui/dialog.js +4 -0
  844. package/dist/components/ui/dialog.mjs +2 -0
  845. package/dist/components/ui/dropdown-menu.css +1 -0
  846. package/dist/components/ui/dropdown-menu.js +4 -0
  847. package/dist/components/ui/dropdown-menu.mjs +2 -0
  848. package/dist/components/ui/hover-card.css +1 -0
  849. package/dist/components/ui/hover-card.js +4 -0
  850. package/dist/components/ui/hover-card.mjs +2 -0
  851. package/dist/components/ui/index.css +1 -0
  852. package/dist/components/ui/index.js +5 -0
  853. package/dist/components/ui/index.mjs +1 -0
  854. package/dist/components/ui/input.css +1 -0
  855. package/dist/components/ui/input.js +1 -0
  856. package/dist/components/ui/input.mjs +1 -0
  857. package/dist/components/ui/inputs/common/styles/index.css +1 -0
  858. package/dist/components/ui/inputs/common/styles/index.js +1 -0
  859. package/dist/components/ui/inputs/common/styles/index.mjs +1 -0
  860. package/dist/components/ui/inputs/text-input/index.css +1 -0
  861. package/dist/components/ui/inputs/text-input/index.js +1 -0
  862. package/dist/components/ui/inputs/text-input/index.mjs +1 -0
  863. package/dist/components/ui/inputs/textarea-input/index.css +1 -0
  864. package/dist/components/ui/inputs/textarea-input/index.js +1 -0
  865. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -0
  866. package/dist/components/ui/label.css +1 -0
  867. package/dist/components/ui/label.js +4 -0
  868. package/dist/components/ui/label.mjs +2 -0
  869. package/dist/components/ui/pagination.css +1 -0
  870. package/dist/components/ui/pagination.js +1 -0
  871. package/dist/components/ui/pagination.mjs +1 -0
  872. package/dist/components/ui/popover.css +1 -0
  873. package/dist/components/ui/popover.js +4 -0
  874. package/dist/components/ui/popover.mjs +2 -0
  875. package/dist/components/ui/progress.css +1 -0
  876. package/dist/components/ui/progress.js +4 -0
  877. package/dist/components/ui/progress.mjs +2 -0
  878. package/dist/components/ui/scroll-area.css +1 -0
  879. package/dist/components/ui/scroll-area.js +4 -0
  880. package/dist/components/ui/scroll-area.mjs +2 -0
  881. package/dist/components/ui/select.css +1 -0
  882. package/dist/components/ui/select.js +4 -0
  883. package/dist/components/ui/select.mjs +2 -0
  884. package/dist/components/ui/separator.css +1 -0
  885. package/dist/components/ui/separator.js +4 -0
  886. package/dist/components/ui/separator.mjs +2 -0
  887. package/dist/components/ui/sheet.css +1 -0
  888. package/dist/components/ui/sheet.js +4 -0
  889. package/dist/components/ui/sheet.mjs +2 -0
  890. package/dist/components/ui/sidebar.css +1 -0
  891. package/dist/components/ui/sidebar.js +4 -0
  892. package/dist/components/ui/sidebar.mjs +2 -0
  893. package/dist/components/ui/skeleton.css +1 -0
  894. package/dist/components/ui/skeleton.js +1 -0
  895. package/dist/components/ui/skeleton.mjs +1 -0
  896. package/dist/components/ui/switch.css +1 -0
  897. package/dist/components/ui/switch.js +4 -0
  898. package/dist/components/ui/switch.mjs +4 -0
  899. package/dist/components/ui/tabs.css +1 -0
  900. package/dist/components/ui/tabs.js +4 -0
  901. package/dist/components/ui/tabs.mjs +2 -0
  902. package/dist/components/ui/textarea.css +1 -0
  903. package/dist/components/ui/textarea.js +1 -0
  904. package/dist/components/ui/textarea.mjs +1 -0
  905. package/dist/components/ui/toast.css +1 -0
  906. package/dist/components/ui/toast.js +4 -0
  907. package/dist/components/ui/toast.mjs +2 -0
  908. package/dist/components/ui/toaster.css +1 -0
  909. package/dist/components/ui/toaster.js +4 -0
  910. package/dist/components/ui/toaster.mjs +2 -0
  911. package/dist/components/ui/toggle-group.css +1 -0
  912. package/dist/components/ui/toggle-group.js +4 -0
  913. package/dist/components/ui/toggle-group.mjs +2 -0
  914. package/dist/components/ui/toggle.css +1 -0
  915. package/dist/components/ui/toggle.js +4 -0
  916. package/dist/components/ui/toggle.mjs +2 -0
  917. package/dist/components/ui/tooltip.css +1 -0
  918. package/dist/components/ui/tooltip.js +4 -0
  919. package/dist/components/ui/tooltip.mjs +2 -0
  920. package/dist/constants.js +1 -0
  921. package/dist/constants.mjs +1 -0
  922. package/dist/cortex-reply-27IMI3G7.png +0 -0
  923. package/dist/cortex-reply-bw-TFX4Q54O.png +0 -0
  924. package/dist/cortex-reply-dark-XPAJJJYY.png +0 -0
  925. package/dist/cortex-reply-gradient-LS56SYPD.png +0 -0
  926. package/dist/cortex-reply-light-27IMI3G7.png +0 -0
  927. package/dist/declaration.d.js +1 -0
  928. package/dist/fonts/Manrope-Bold.js +1 -0
  929. package/dist/fonts/Manrope-Bold.mjs +1 -0
  930. package/dist/fonts/Manrope-ExtraBold.js +1 -0
  931. package/dist/fonts/Manrope-ExtraBold.mjs +1 -0
  932. package/dist/fonts/Manrope-ExtraLight.js +1 -0
  933. package/dist/fonts/Manrope-ExtraLight.mjs +1 -0
  934. package/dist/fonts/Manrope-Light.js +1 -0
  935. package/dist/fonts/Manrope-Light.mjs +1 -0
  936. package/dist/fonts/Manrope-Medium.js +1 -0
  937. package/dist/fonts/Manrope-Medium.mjs +1 -0
  938. package/dist/fonts/Manrope-Regular.js +1 -0
  939. package/dist/fonts/Manrope-Regular.mjs +1 -0
  940. package/dist/fonts/Manrope-SemiBold.js +1 -0
  941. package/dist/fonts/Manrope-SemiBold.mjs +1 -0
  942. package/dist/globals.css +1 -0
  943. package/dist/graphql-NFIL2UYH.mjs +177 -0
  944. package/dist/headerlogo-7HRUF72W.png +0 -0
  945. package/dist/hero-3-N2CBGEV6.jpg +0 -0
  946. package/dist/hooks/index.js +4 -0
  947. package/dist/hooks/index.mjs +1 -0
  948. package/dist/hooks/use-local-storage.js +1 -0
  949. package/dist/hooks/use-local-storage.mjs +1 -0
  950. package/dist/hooks/use-mobile.js +4 -0
  951. package/dist/hooks/use-mobile.mjs +2 -0
  952. package/dist/hooks/use-toast.js +4 -0
  953. package/dist/hooks/use-toast.mjs +2 -0
  954. package/dist/image-hero1-V6MPFDQ6.webp +0 -0
  955. package/dist/images/cortex-reply-bw.js +1 -0
  956. package/dist/images/cortex-reply-bw.mjs +1 -0
  957. package/dist/images/cortex-reply-dark.js +1 -0
  958. package/dist/images/cortex-reply-dark.mjs +1 -0
  959. package/dist/images/cortex-reply-gradient.js +1 -0
  960. package/dist/images/cortex-reply-gradient.mjs +1 -0
  961. package/dist/images/cortex-reply-light.js +1 -0
  962. package/dist/images/cortex-reply-light.mjs +1 -0
  963. package/dist/images/cortex-reply.js +1 -0
  964. package/dist/images/cortex-reply.mjs +1 -0
  965. package/dist/images/hero/hero-3.js +1 -0
  966. package/dist/images/hero/hero-3.mjs +1 -0
  967. package/dist/images/hero/image-hero1.js +1 -0
  968. package/dist/images/hero/image-hero1.mjs +1 -0
  969. package/dist/images/hero/pattern-1.js +1 -0
  970. package/dist/images/hero/pattern-1.mjs +1 -0
  971. package/dist/images/hero/pattern-2.js +1 -0
  972. package/dist/images/hero/pattern-2.mjs +1 -0
  973. package/dist/index.mjs +1 -33
  974. package/dist/metafile-cjs.json +1 -1
  975. package/dist/metafile-esm.json +1 -1
  976. package/dist/model/Employee.js +1 -0
  977. package/dist/model/Holiday.js +1 -0
  978. package/dist/model/LeaveRequest.js +1 -0
  979. package/dist/pages/Blog.css +1 -0
  980. package/dist/pages/Blog.js +5 -0
  981. package/dist/pages/Blog.mjs +1 -0
  982. package/dist/pages/Documentation.css +1 -0
  983. package/dist/pages/Documentation.js +4 -0
  984. package/dist/pages/Documentation.mjs +2 -0
  985. package/dist/pages/IndexPage.css +1 -0
  986. package/dist/pages/IndexPage.js +4 -0
  987. package/dist/pages/IndexPage.mjs +2 -0
  988. package/dist/pages/Intranet.css +1 -0
  989. package/dist/pages/Intranet.js +5 -0
  990. package/dist/pages/Intranet.mjs +1 -0
  991. package/dist/pages/LandingPage.css +1 -0
  992. package/dist/pages/LandingPage.js +13 -0
  993. package/dist/pages/LandingPage.mjs +2 -0
  994. package/dist/pages/Page.css +1 -0
  995. package/dist/pages/Page.js +5 -0
  996. package/dist/pages/Page.mjs +2 -0
  997. package/dist/pages/Publish.css +1 -0
  998. package/dist/pages/Publish.js +9 -0
  999. package/dist/pages/Publish.mjs +2 -0
  1000. package/dist/pages/Website.css +1 -0
  1001. package/dist/pages/Website.js +5 -0
  1002. package/dist/pages/Website.mjs +1 -0
  1003. package/dist/pattern-1-B7SDCBJ3.png +0 -0
  1004. package/dist/pattern-1-EKFV67R7.png +0 -0
  1005. package/dist/pattern-2-6AZH7ORR.png +0 -0
  1006. package/dist/payload-types.js +1 -0
  1007. package/dist/sections/AboutSection.css +1 -0
  1008. package/dist/sections/AboutSection.js +5 -0
  1009. package/dist/sections/AboutSection.mjs +1 -0
  1010. package/dist/sections/BlogDetail.css +1 -0
  1011. package/dist/sections/BlogDetail.js +5 -0
  1012. package/dist/sections/BlogDetail.mjs +1 -0
  1013. package/dist/sections/BlogList.css +1 -0
  1014. package/dist/sections/BlogList.js +13 -0
  1015. package/dist/sections/BlogList.mjs +1 -0
  1016. package/dist/sections/BlogListSection.css +1 -0
  1017. package/dist/sections/BlogListSection.js +4 -0
  1018. package/dist/sections/BlogListSection.mjs +1 -0
  1019. package/dist/sections/ContactSection.css +1 -0
  1020. package/dist/sections/ContactSection.js +5 -0
  1021. package/dist/sections/ContactSection.mjs +1 -0
  1022. package/dist/sections/ImageSection.css +1 -0
  1023. package/dist/sections/ImageSection.js +1 -0
  1024. package/dist/sections/ImageSection.mjs +1 -0
  1025. package/dist/sections/MainPageSection.css +1 -0
  1026. package/dist/sections/MainPageSection.js +4 -0
  1027. package/dist/sections/MainPageSection.mjs +2 -0
  1028. package/dist/sections/PageSections.css +1 -0
  1029. package/dist/sections/PageSections.js +13 -0
  1030. package/dist/sections/PageSections.mjs +2 -0
  1031. package/dist/sections/PricingSection.css +1 -0
  1032. package/dist/sections/PricingSection.js +5 -0
  1033. package/dist/sections/PricingSection.mjs +1 -0
  1034. package/dist/sections/ServiceDetail.css +1 -0
  1035. package/dist/sections/ServiceDetail.js +5 -0
  1036. package/dist/sections/ServiceDetail.mjs +1 -0
  1037. package/dist/sections/ServiceDetailSection.css +1 -0
  1038. package/dist/sections/ServiceDetailSection.js +5 -0
  1039. package/dist/sections/ServiceDetailSection.mjs +1 -0
  1040. package/dist/sections/ServiceSection.css +1 -0
  1041. package/dist/sections/ServiceSection.js +5 -0
  1042. package/dist/sections/ServiceSection.mjs +1 -0
  1043. package/dist/sections/form/index.css +1 -0
  1044. package/dist/sections/form/index.js +5 -0
  1045. package/dist/sections/form/index.mjs +2 -0
  1046. package/dist/sections/form/server/contact-us-form-submit.js +4 -0
  1047. package/dist/sections/form/server/contact-us-form-submit.mjs +2 -0
  1048. package/dist/sections/index.css +1 -0
  1049. package/dist/sections/index.js +13 -0
  1050. package/dist/sections/index.mjs +1 -0
  1051. package/dist/server/index.js +1 -0
  1052. package/dist/styles/Colors.css +1 -0
  1053. package/dist/styles/Colors.js +4 -0
  1054. package/dist/styles/Colors.mjs +1 -0
  1055. package/dist/styles/Typography.js +48 -0
  1056. package/dist/styles/Typography.mjs +48 -0
  1057. package/dist/test-data/capabilities.js +1 -0
  1058. package/dist/test-data/capabilities.mjs +1 -0
  1059. package/dist/tests/payload.js +1 -0
  1060. package/dist/tests/payload.mjs +1 -0
  1061. package/dist/utils/AOSInit.css +1 -0
  1062. package/dist/utils/AOSInit.js +8 -0
  1063. package/dist/utils/AOSInit.mjs +2 -0
  1064. package/dist/utils/BankHolidays.js +1 -0
  1065. package/dist/utils/BankHolidays.mjs +1 -0
  1066. package/dist/utils/DaysUtil.js +1 -0
  1067. package/dist/utils/DaysUtil.mjs +1 -0
  1068. package/dist/utils/canUseDOM.js +1 -0
  1069. package/dist/utils/canUseDOM.mjs +1 -0
  1070. package/dist/utils/cn.js +1 -0
  1071. package/dist/utils/cn.mjs +1 -0
  1072. package/dist/utils/formatDateTime.js +1 -0
  1073. package/dist/utils/formatDateTime.mjs +1 -0
  1074. package/dist/utils/getTableOfContents.js +1 -0
  1075. package/dist/utils/getTableOfContents.mjs +1 -0
  1076. package/dist/utils/getURL.js +1 -0
  1077. package/dist/utils/getURL.mjs +1 -0
  1078. package/dist/utils/index.css +1 -0
  1079. package/dist/utils/index.js +8 -0
  1080. package/dist/utils/index.mjs +1 -0
  1081. package/dist/utils/setStaggeredDelay.js +1 -0
  1082. package/dist/utils/setStaggeredDelay.mjs +1 -0
  1083. package/dist/utils/useClickableCard.js +4 -0
  1084. package/dist/utils/useClickableCard.mjs +2 -0
  1085. package/dist/waves-6HGOFMRK.jpg +0 -0
  1086. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1,33 +1 @@
1
- "use client";
2
- "use strict";
3
- "use client"
4
- 'use server'
5
- 'use strict'
6
- 'use client';
7
-
8
- var Cm=Object.create;var Fn=Object.defineProperty;var km=Object.getOwnPropertyDescriptor;var Pm=Object.getOwnPropertyNames;var Sm=Object.getPrototypeOf,Rm=Object.prototype.hasOwnProperty;var Tm=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Dm=(e,t,a,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Pm(t))!Rm.call(e,r)&&r!==a&&Fn(e,r,{get:()=>t[r],enumerable:!(o=km(t,r))||o.enumerable});return e};var Am=(e,t,a)=>(a=e!=null?Cm(Sm(e)):{},Dm(t||!e||!e.__esModule?Fn(a,"default",{value:e,enumerable:!0}):a,e));var Wn=Tm((Cr,vi)=>{"use strict";(function(e,t){typeof Cr=="object"&&typeof vi=="object"?vi.exports=t():typeof define=="function"&&define.amd?define([],t):typeof Cr=="object"?Cr.AOS=t():e.AOS=t()})(Cr,function(){return function(e){function t(o){if(a[o])return a[o].exports;var r=a[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var a={};return t.m=e,t.c=a,t.p="dist/",t(0)}([function(e,t,a){"use strict";function o(v){return v&&v.__esModule?v:{default:v}}var r=Object.assign||function(v){for(var G=1;G<arguments.length;G++){var E=arguments[G];for(var fe in E)Object.prototype.hasOwnProperty.call(E,fe)&&(v[fe]=E[fe])}return v},s=a(1),n=(o(s),a(6)),i=o(n),d=a(7),m=o(d),c=a(8),p=o(c),u=a(9),g=o(u),b=a(10),f=o(b),y=a(11),R=o(y),P=a(14),h=o(P),w=[],x=!1,k={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},V=function(){var v=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(v&&(x=!0),x)return w=(0,R.default)(w,k),(0,f.default)(w,k.once),w},M=function(){w=(0,h.default)(),V()},T=function(){w.forEach(function(v,G){v.node.removeAttribute("data-aos"),v.node.removeAttribute("data-aos-easing"),v.node.removeAttribute("data-aos-duration"),v.node.removeAttribute("data-aos-delay")})},N=function(v){return v===!0||v==="mobile"&&g.default.mobile()||v==="phone"&&g.default.phone()||v==="tablet"&&g.default.tablet()||typeof v=="function"&&v()===!0},z=function(v){k=r(k,v),w=(0,h.default)();var G=document.all&&!window.atob;return N(k.disable)||G?T():(k.disableMutationObserver||p.default.isSupported()||(console.info(`
9
- aos: MutationObserver is not supported on this browser,
10
- code mutations observing has been disabled.
11
- You may have to call "refreshHard()" by yourself.
12
- `),k.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",k.easing),document.querySelector("body").setAttribute("data-aos-duration",k.duration),document.querySelector("body").setAttribute("data-aos-delay",k.delay),k.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?V(!0):k.startEvent==="load"?window.addEventListener(k.startEvent,function(){V(!0)}):document.addEventListener(k.startEvent,function(){V(!0)}),window.addEventListener("resize",(0,m.default)(V,k.debounceDelay,!0)),window.addEventListener("orientationchange",(0,m.default)(V,k.debounceDelay,!0)),window.addEventListener("scroll",(0,i.default)(function(){(0,f.default)(w,k.once)},k.throttleDelay)),k.disableMutationObserver||p.default.ready("[data-aos]",M),w)};e.exports={init:z,refresh:V,refreshHard:M}},function(e,t){},,,,,function(e,t){(function(a){"use strict";function o(N,z,v){function G(se){var ct=re,ja=pe;return re=pe=void 0,Fa=se,Ue=N.apply(ja,ct)}function E(se){return Fa=se,Ee=setTimeout(Mt,z),Ha?G(se):Ue}function fe(se){var ct=se-Nt,ja=se-Fa,En=z-ct;return Ca?M(En,oa-ja):En}function Oe(se){var ct=se-Nt,ja=se-Fa;return Nt===void 0||ct>=z||ct<0||Ca&&ja>=oa}function Mt(){var se=T();return Oe(se)?wt(se):void(Ee=setTimeout(Mt,fe(se)))}function wt(se){return Ee=void 0,ye&&re?G(se):(re=pe=void 0,Ue)}function lt(){Ee!==void 0&&clearTimeout(Ee),Fa=0,re=Nt=pe=Ee=void 0}function dt(){return Ee===void 0?Ue:wt(T())}function le(){var se=T(),ct=Oe(se);if(re=arguments,pe=this,Nt=se,ct){if(Ee===void 0)return E(Nt);if(Ca)return Ee=setTimeout(Mt,z),G(Nt)}return Ee===void 0&&(Ee=setTimeout(Mt,z)),Ue}var re,pe,oa,Ue,Ee,Nt,Fa=0,Ha=!1,Ca=!1,ye=!0;if(typeof N!="function")throw new TypeError(c);return z=d(z)||0,s(v)&&(Ha=!!v.leading,Ca="maxWait"in v,oa=Ca?V(d(v.maxWait)||0,z):oa,ye="trailing"in v?!!v.trailing:ye),le.cancel=lt,le.flush=dt,le}function r(N,z,v){var G=!0,E=!0;if(typeof N!="function")throw new TypeError(c);return s(v)&&(G="leading"in v?!!v.leading:G,E="trailing"in v?!!v.trailing:E),o(N,z,{leading:G,maxWait:z,trailing:E})}function s(N){var z=typeof N>"u"?"undefined":m(N);return!!N&&(z=="object"||z=="function")}function n(N){return!!N&&(typeof N>"u"?"undefined":m(N))=="object"}function i(N){return(typeof N>"u"?"undefined":m(N))=="symbol"||n(N)&&k.call(N)==u}function d(N){if(typeof N=="number")return N;if(i(N))return p;if(s(N)){var z=typeof N.valueOf=="function"?N.valueOf():N;N=s(z)?z+"":z}if(typeof N!="string")return N===0?N:+N;N=N.replace(g,"");var v=f.test(N);return v||y.test(N)?R(N.slice(2),v?2:8):b.test(N)?p:+N}var m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(N){return typeof N}:function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},c="Expected a function",p=NaN,u="[object Symbol]",g=/^\s+|\s+$/g,b=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,y=/^0o[0-7]+$/i,R=parseInt,P=(typeof a>"u"?"undefined":m(a))=="object"&&a&&a.Object===Object&&a,h=(typeof self>"u"?"undefined":m(self))=="object"&&self&&self.Object===Object&&self,w=P||h||Function("return this")(),x=Object.prototype,k=x.toString,V=Math.max,M=Math.min,T=function(){return w.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t){(function(a){"use strict";function o(T,N,z){function v(ye){var se=le,ct=re;return le=re=void 0,Nt=ye,oa=T.apply(ct,se)}function G(ye){return Nt=ye,Ue=setTimeout(Oe,N),Fa?v(ye):oa}function E(ye){var se=ye-Ee,ct=ye-Nt,ja=N-se;return Ha?V(ja,pe-ct):ja}function fe(ye){var se=ye-Ee,ct=ye-Nt;return Ee===void 0||se>=N||se<0||Ha&&ct>=pe}function Oe(){var ye=M();return fe(ye)?Mt(ye):void(Ue=setTimeout(Oe,E(ye)))}function Mt(ye){return Ue=void 0,Ca&&le?v(ye):(le=re=void 0,oa)}function wt(){Ue!==void 0&&clearTimeout(Ue),Nt=0,le=Ee=re=Ue=void 0}function lt(){return Ue===void 0?oa:Mt(M())}function dt(){var ye=M(),se=fe(ye);if(le=arguments,re=this,Ee=ye,se){if(Ue===void 0)return G(Ee);if(Ha)return Ue=setTimeout(Oe,N),v(Ee)}return Ue===void 0&&(Ue=setTimeout(Oe,N)),oa}var le,re,pe,oa,Ue,Ee,Nt=0,Fa=!1,Ha=!1,Ca=!0;if(typeof T!="function")throw new TypeError(m);return N=i(N)||0,r(z)&&(Fa=!!z.leading,Ha="maxWait"in z,pe=Ha?k(i(z.maxWait)||0,N):pe,Ca="trailing"in z?!!z.trailing:Ca),dt.cancel=wt,dt.flush=lt,dt}function r(T){var N=typeof T>"u"?"undefined":d(T);return!!T&&(N=="object"||N=="function")}function s(T){return!!T&&(typeof T>"u"?"undefined":d(T))=="object"}function n(T){return(typeof T>"u"?"undefined":d(T))=="symbol"||s(T)&&x.call(T)==p}function i(T){if(typeof T=="number")return T;if(n(T))return c;if(r(T)){var N=typeof T.valueOf=="function"?T.valueOf():T;T=r(N)?N+"":N}if(typeof T!="string")return T===0?T:+T;T=T.replace(u,"");var z=b.test(T);return z||f.test(T)?y(T.slice(2),z?2:8):g.test(T)?c:+T}var d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(T){return typeof T}:function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},m="Expected a function",c=NaN,p="[object Symbol]",u=/^\s+|\s+$/g,g=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,f=/^0o[0-7]+$/i,y=parseInt,R=(typeof a>"u"?"undefined":d(a))=="object"&&a&&a.Object===Object&&a,P=(typeof self>"u"?"undefined":d(self))=="object"&&self&&self.Object===Object&&self,h=R||P||Function("return this")(),w=Object.prototype,x=w.toString,k=Math.max,V=Math.min,M=function(){return h.Date.now()};e.exports=o}).call(t,function(){return this}())},function(e,t){"use strict";function a(d){var m=void 0,c=void 0,p=void 0;for(m=0;m<d.length;m+=1)if(c=d[m],c.dataset&&c.dataset.aos||(p=c.children&&a(c.children)))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function r(){return!!o()}function s(d,m){var c=window.document,p=o(),u=new p(n);i=m,u.observe(c.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function n(d){d&&d.forEach(function(m){var c=Array.prototype.slice.call(m.addedNodes),p=Array.prototype.slice.call(m.removedNodes),u=c.concat(p);if(a(u))return i()})}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){};t.default={isSupported:r,ready:s}},function(e,t){"use strict";function a(c,p){if(!(c instanceof p))throw new TypeError("Cannot call a class as a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function c(p,u){for(var g=0;g<u.length;g++){var b=u[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(p,b.key,b)}}return function(p,u,g){return u&&c(p.prototype,u),g&&c(p,g),p}}(),s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,n=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,d=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,m=function(){function c(){a(this,c)}return r(c,[{key:"phone",value:function(){var p=o();return!(!s.test(p)&&!n.test(p.substr(0,4)))}},{key:"mobile",value:function(){var p=o();return!(!i.test(p)&&!d.test(p.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),c}();t.default=new m},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(r,s,n){var i=r.node.getAttribute("data-aos-once");s>r.position?r.node.classList.add("aos-animate"):typeof i<"u"&&(i==="false"||!n&&i!=="true")&&r.node.classList.remove("aos-animate")},o=function(r,s){var n=window.pageYOffset,i=window.innerHeight;r.forEach(function(d,m){a(d,i+n,s)})};t.default=o},function(e,t,a){"use strict";function o(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(12),s=o(r),n=function(i,d){return i.forEach(function(m,c){m.node.classList.add("aos-init"),m.position=(0,s.default)(m.node,d.offset)}),i};t.default=n},function(e,t,a){"use strict";function o(i){return i&&i.__esModule?i:{default:i}}Object.defineProperty(t,"__esModule",{value:!0});var r=a(13),s=o(r),n=function(i,d){var m=0,c=0,p=window.innerHeight,u={offset:i.getAttribute("data-aos-offset"),anchor:i.getAttribute("data-aos-anchor"),anchorPlacement:i.getAttribute("data-aos-anchor-placement")};switch(u.offset&&!isNaN(u.offset)&&(c=parseInt(u.offset)),u.anchor&&document.querySelectorAll(u.anchor)&&(i=document.querySelectorAll(u.anchor)[0]),m=(0,s.default)(i).top,u.anchorPlacement){case"top-bottom":break;case"center-bottom":m+=i.offsetHeight/2;break;case"bottom-bottom":m+=i.offsetHeight;break;case"top-center":m+=p/2;break;case"bottom-center":m+=p/2+i.offsetHeight;break;case"center-center":m+=p/2+i.offsetHeight/2;break;case"top-top":m+=p;break;case"bottom-top":m+=i.offsetHeight+p;break;case"center-top":m+=i.offsetHeight/2+p}return u.anchorPlacement||u.offset||isNaN(d)||(c=d),m+c};t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(o){for(var r=0,s=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)r+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),s+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:s,left:r}};t.default=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(r){return{node:r}})};t.default=a}])})});import*as Vo from"react";import{ChevronRightIcon as mp,DotsHorizontalIcon as pp}from"@radix-ui/react-icons";import{Slot as up}from"@radix-ui/react-slot";import{clsx as lp}from"clsx";var bi="-",Mm=e=>{let t=Lm(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:n=>{let i=n.split(bi);return i[0]===""&&i.length!==1&&i.shift(),On(i,t)||Im(n)},getConflictingClassGroupIds:(n,i)=>{let d=a[n]||[];return i&&o[n]?[...d,...o[n]]:d}}},On=(e,t)=>{if(e.length===0)return t.classGroupId;let a=e[0],o=t.nextPart.get(a),r=o?On(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;let s=e.join(bi);return t.validators.find(({validator:n})=>n(s))?.classGroupId},Hn=/^\[(.+)\]$/,Im=e=>{if(Hn.test(e)){let t=Hn.exec(e)[1],a=t?.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},Lm=e=>{let{theme:t,prefix:a}=e,o={nextPart:new Map,validators:[]};return zm(Object.entries(e.classGroups),a).forEach(([s,n])=>{fi(n,o,s,t)}),o},fi=(e,t,a,o)=>{e.forEach(r=>{if(typeof r=="string"){let s=r===""?t:jn(t,r);s.classGroupId=a;return}if(typeof r=="function"){if(Bm(r)){fi(r(o),t,a,o);return}t.validators.push({validator:r,classGroupId:a});return}Object.entries(r).forEach(([s,n])=>{fi(n,jn(t,s),a,o)})})},jn=(e,t)=>{let a=e;return t.split(bi).forEach(o=>{a.nextPart.has(o)||a.nextPart.set(o,{nextPart:new Map,validators:[]}),a=a.nextPart.get(o)}),a},Bm=e=>e.isThemeGetter,zm=(e,t)=>t?e.map(([a,o])=>{let r=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([n,i])=>[t+n,i])):s);return[a,r]}):e,Em=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,o=new Map,r=(s,n)=>{a.set(s,n),t++,t>e&&(t=0,o=a,a=new Map)};return{get(s){let n=a.get(s);if(n!==void 0)return n;if((n=o.get(s))!==void 0)return r(s,n),n},set(s,n){a.has(s)?a.set(s,n):r(s,n)}}},$n="!",Fm=e=>{let{separator:t,experimentalParseClassName:a}=e,o=t.length===1,r=t[0],s=t.length,n=i=>{let d=[],m=0,c=0,p;for(let y=0;y<i.length;y++){let R=i[y];if(m===0){if(R===r&&(o||i.slice(y,y+s)===t)){d.push(i.slice(c,y)),c=y+s;continue}if(R==="/"){p=y;continue}}R==="["?m++:R==="]"&&m--}let u=d.length===0?i:i.substring(c),g=u.startsWith($n),b=g?u.substring(1):u,f=p&&p>c?p-c:void 0;return{modifiers:d,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:f}};return a?i=>a({className:i,parseClassName:n}):n},Hm=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(o=>{o[0]==="["?(t.push(...a.sort(),o),a=[]):a.push(o)}),t.push(...a.sort()),t},jm=e=>({cache:Em(e.cacheSize),parseClassName:Fm(e),...Mm(e)}),Om=/\s+/,$m=(e,t)=>{let{parseClassName:a,getClassGroupId:o,getConflictingClassGroupIds:r}=t,s=[],n=e.trim().split(Om),i="";for(let d=n.length-1;d>=0;d-=1){let m=n[d],{modifiers:c,hasImportantModifier:p,baseClassName:u,maybePostfixModifierPosition:g}=a(m),b=!!g,f=o(b?u.substring(0,g):u);if(!f){if(!b){i=m+(i.length>0?" "+i:i);continue}if(f=o(u),!f){i=m+(i.length>0?" "+i:i);continue}b=!1}let y=Hm(c).join(":"),R=p?y+$n:y,P=R+f;if(s.includes(P))continue;s.push(P);let h=r(f,b);for(let w=0;w<h.length;++w){let x=h[w];s.push(R+x)}i=m+(i.length>0?" "+i:i)}return i};function Gm(){let e=0,t,a,o="";for(;e<arguments.length;)(t=arguments[e++])&&(a=Gn(t))&&(o&&(o+=" "),o+=a);return o}var Gn=e=>{if(typeof e=="string")return e;let t,a="";for(let o=0;o<e.length;o++)e[o]&&(t=Gn(e[o]))&&(a&&(a+=" "),a+=t);return a};function _m(e,...t){let a,o,r,s=n;function n(d){let m=t.reduce((c,p)=>p(c),e());return a=jm(m),o=a.cache.get,r=a.cache.set,s=i,i(d)}function i(d){let m=o(d);if(m)return m;let c=$m(d,a);return r(d,c),c}return function(){return s(Gm.apply(null,arguments))}}var ge=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},_n=/^\[(?:([a-z-]+):)?(.+)\]$/i,Vm=/^\d+\/\d+$/,Um=new Set(["px","full","screen"]),Wm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Km=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Xm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ym=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ka=e=>Go(e)||Um.has(e)||Vm.test(e),Oa=e=>_o(e,"length",rp),Go=e=>!!e&&!Number.isNaN(Number(e)),gi=e=>_o(e,"number",Go),xr=e=>!!e&&Number.isInteger(Number(e)),Qm=e=>e.endsWith("%")&&Go(e.slice(0,-1)),H=e=>_n.test(e),$a=e=>Wm.test(e),Jm=new Set(["length","size","percentage"]),Zm=e=>_o(e,Jm,Vn),ep=e=>_o(e,"position",Vn),tp=new Set(["image","url"]),ap=e=>_o(e,tp,ip),op=e=>_o(e,"",sp),wr=()=>!0,_o=(e,t,a)=>{let o=_n.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):a(o[2]):!1},rp=e=>Km.test(e)&&!Xm.test(e),Vn=()=>!1,sp=e=>Ym.test(e),ip=e=>qm.test(e);var np=()=>{let e=ge("colors"),t=ge("spacing"),a=ge("blur"),o=ge("brightness"),r=ge("borderColor"),s=ge("borderRadius"),n=ge("borderSpacing"),i=ge("borderWidth"),d=ge("contrast"),m=ge("grayscale"),c=ge("hueRotate"),p=ge("invert"),u=ge("gap"),g=ge("gradientColorStops"),b=ge("gradientColorStopPositions"),f=ge("inset"),y=ge("margin"),R=ge("opacity"),P=ge("padding"),h=ge("saturate"),w=ge("scale"),x=ge("sepia"),k=ge("skew"),V=ge("space"),M=ge("translate"),T=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",H,t],v=()=>[H,t],G=()=>["",ka,Oa],E=()=>["auto",Go,H],fe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Oe=()=>["solid","dashed","dotted","double","none"],Mt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],wt=()=>["start","end","center","between","around","evenly","stretch"],lt=()=>["","0",H],dt=()=>["auto","avoid","all","avoid-page","page","left","right","column"],le=()=>[Go,H];return{cacheSize:500,separator:":",theme:{colors:[wr],spacing:[ka,Oa],blur:["none","",$a,H],brightness:le(),borderColor:[e],borderRadius:["none","","full",$a,H],borderSpacing:v(),borderWidth:G(),contrast:le(),grayscale:lt(),hueRotate:le(),invert:lt(),gap:v(),gradientColorStops:[e],gradientColorStopPositions:[Qm,Oa],inset:z(),margin:z(),opacity:le(),padding:v(),saturate:le(),scale:le(),sepia:lt(),skew:le(),space:v(),translate:v()},classGroups:{aspect:[{aspect:["auto","square","video",H]}],container:["container"],columns:[{columns:[$a]}],"break-after":[{"break-after":dt()}],"break-before":[{"break-before":dt()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...fe(),H]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",xr,H]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",H]}],grow:[{grow:lt()}],shrink:[{shrink:lt()}],order:[{order:["first","last","none",xr,H]}],"grid-cols":[{"grid-cols":[wr]}],"col-start-end":[{col:["auto",{span:["full",xr,H]},H]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[wr]}],"row-start-end":[{row:["auto",{span:[xr,H]},H]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",H]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",H]}],gap:[{gap:[u]}],"gap-x":[{"gap-x":[u]}],"gap-y":[{"gap-y":[u]}],"justify-content":[{justify:["normal",...wt()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...wt(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...wt(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[P]}],px:[{px:[P]}],py:[{py:[P]}],ps:[{ps:[P]}],pe:[{pe:[P]}],pt:[{pt:[P]}],pr:[{pr:[P]}],pb:[{pb:[P]}],pl:[{pl:[P]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[V]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[V]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",H,t]}],"min-w":[{"min-w":[H,t,"min","max","fit"]}],"max-w":[{"max-w":[H,t,"none","full","min","max","fit","prose",{screen:[$a]},$a]}],h:[{h:[H,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[H,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[H,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[H,t,"auto","min","max","fit"]}],"font-size":[{text:["base",$a,Oa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",gi]}],"font-family":[{font:[wr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",H]}],"line-clamp":[{"line-clamp":["none",Go,gi]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ka,H]}],"list-image":[{"list-image":["none",H]}],"list-style-type":[{list:["none","disc","decimal",H]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[R]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[R]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Oe(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",ka,Oa]}],"underline-offset":[{"underline-offset":["auto",ka,H]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",H]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",H]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[R]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...fe(),ep]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Zm]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ap]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[i]}],"border-w-x":[{"border-x":[i]}],"border-w-y":[{"border-y":[i]}],"border-w-s":[{"border-s":[i]}],"border-w-e":[{"border-e":[i]}],"border-w-t":[{"border-t":[i]}],"border-w-r":[{"border-r":[i]}],"border-w-b":[{"border-b":[i]}],"border-w-l":[{"border-l":[i]}],"border-opacity":[{"border-opacity":[R]}],"border-style":[{border:[...Oe(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[R]}],"divide-style":[{divide:Oe()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...Oe()]}],"outline-offset":[{"outline-offset":[ka,H]}],"outline-w":[{outline:[ka,Oa]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[R]}],"ring-offset-w":[{"ring-offset":[ka,Oa]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",$a,op]}],"shadow-color":[{shadow:[wr]}],opacity:[{opacity:[R]}],"mix-blend":[{"mix-blend":[...Mt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Mt()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[o]}],contrast:[{contrast:[d]}],"drop-shadow":[{"drop-shadow":["","none",$a,H]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[p]}],saturate:[{saturate:[h]}],sepia:[{sepia:[x]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[d]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[R]}],"backdrop-saturate":[{"backdrop-saturate":[h]}],"backdrop-sepia":[{"backdrop-sepia":[x]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",H]}],duration:[{duration:le()}],ease:[{ease:["linear","in","out","in-out",H]}],delay:[{delay:le()}],animate:[{animate:["none","spin","ping","pulse","bounce",H]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[xr,H]}],"translate-x":[{"translate-x":[M]}],"translate-y":[{"translate-y":[M]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",H]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",H]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",H]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ka,Oa,gi]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Un=_m(np);function l(...e){return Un(lp(e))}function Nr(e){let t=0,a=(s,n)=>`${s.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${n}`,o=e.layout.flatMap(s=>{let n=[];return"title"in s&&s.title&&n.push({text:s.title,id:a(s.title,t++),tag:"h2"}),"columns"in s&&Array.isArray(s.columns)&&s.columns.forEach(i=>{if(i.title&&n.push({text:i.title,id:a(i.title,t++),tag:"h2"}),i.richText?.root?.children&&i.richText?.root?.children.length===1){let d=i.richText.root.children.filter(m=>m!==void 0&&m.type==="heading");for(let m of d)m.children[0]&&n.push({text:m.children[0].text??"",id:a(m.children[0].text,t++),tag:m.tag||"h2"})}}),n}),r=dp(e.layout);return{tableOfContents:o,contentWithIds:r}}function dp(e){let t=(o,r)=>`${o.toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]/g,"")}-${r}`,a=0;return e.map(o=>(o.title&&(o.id=t(o.title,a++)),o.columns&&(o.columns=o.columns.map(r=>(r.title&&(r.id=t(r.title,a++)),r.richText&&(r.richText.root.children=r.richText.root.children.filter(s=>s!==void 0).map(s=>(s.type==="heading"&&s.children&&s.children[0].text?s.id=t(s.children[0].text,a++):s.type==="block"&&s.fields?.media&&(s.id=t(`image-${a}`,a++)),s))),r))),o))}var Kn=Am(Wn());import{useEffect as cp}from"react";function sy(){return cp(()=>{Kn.default.init({duration:1e3,offset:0,once:!0})},[]),null}import{jsx as Pa,jsxs as gp}from"react/jsx-runtime";var Xn=Vo.forwardRef(({...e},t)=>Pa("nav",{ref:t,"aria-label":"breadcrumb",...e}));Xn.displayName="Breadcrumb";var Yn=Vo.forwardRef(({className:e,...t},a)=>Pa("ol",{ref:a,className:l("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",e),...t}));Yn.displayName="BreadcrumbList";var qn=Vo.forwardRef(({className:e,...t},a)=>Pa("li",{ref:a,className:l("inline-flex items-center gap-1.5",e),...t}));qn.displayName="BreadcrumbItem";var Qn=Vo.forwardRef(({asChild:e,className:t,...a},o)=>Pa(e?up:"a",{ref:o,className:l("transition-colors hover:text-foreground",t),...a}));Qn.displayName="BreadcrumbLink";var Jn=Vo.forwardRef(({className:e,...t},a)=>Pa("span",{ref:a,role:"link","aria-disabled":"true","aria-current":"page",className:l("font-normal text-foreground",e),...t}));Jn.displayName="BreadcrumbPage";var Zn=({children:e,className:t,...a})=>Pa("li",{role:"presentation","aria-hidden":"true",className:l("[&>svg]:w-3.5 [&>svg]:h-3.5",t),...a,children:e??Pa(mp,{})});Zn.displayName="BreadcrumbSeparator";var el=({className:e,...t})=>gp("span",{role:"presentation","aria-hidden":"true",className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[Pa(pp,{className:"h-4 w-4"}),Pa("span",{className:"sr-only",children:"More"})]});el.displayName="BreadcrumbElipssis";import*as Uo from"@radix-ui/react-collapsible";var Ga=Uo.Root,no=Uo.CollapsibleTrigger,lo=Uo.CollapsibleContent;import*as Sa from"react";import*as j from"@radix-ui/react-dropdown-menu";import{CheckIcon as fp,ChevronRightIcon as bp,DotFilledIcon as vp}from"@radix-ui/react-icons";import{jsx as mt,jsxs as xi}from"react/jsx-runtime";var hi=j.Root,yi=j.Trigger,hp=j.Group,yp=j.Portal,xp=j.Sub,wp=j.RadioGroup,tl=Sa.forwardRef(({className:e,inset:t,children:a,...o},r)=>xi(j.SubTrigger,{ref:r,className:l("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...o,children:[a,mt(bp,{className:"ml-auto"})]}));tl.displayName=j.SubTrigger.displayName;var al=Sa.forwardRef(({className:e,...t},a)=>mt(j.SubContent,{ref:a,className:l("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));al.displayName=j.SubContent.displayName;var Jr=Sa.forwardRef(({className:e,sideOffset:t=4,...a},o)=>mt(j.Portal,{children:mt(j.Content,{ref:o,sideOffset:t,className:l("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Jr.displayName=j.Content.displayName;var Zr=Sa.forwardRef(({className:e,inset:t,...a},o)=>mt(j.Item,{ref:o,className:l("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...a}));Zr.displayName=j.Item.displayName;var ol=Sa.forwardRef(({className:e,children:t,checked:a,...o},r)=>xi(j.CheckboxItem,{ref:r,className:l("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...o,children:[mt("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:mt(j.ItemIndicator,{children:mt(fp,{className:"h-4 w-4"})})}),t]}));ol.displayName=j.CheckboxItem.displayName;var rl=Sa.forwardRef(({className:e,children:t,...a},o)=>xi(j.RadioItem,{ref:o,className:l("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[mt("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:mt(j.ItemIndicator,{children:mt(vp,{className:"h-4 w-4 fill-current"})})}),t]}));rl.displayName=j.RadioItem.displayName;var sl=Sa.forwardRef(({className:e,inset:t,...a},o)=>mt(j.Label,{ref:o,className:l("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));sl.displayName=j.Label.displayName;var il=Sa.forwardRef(({className:e,...t},a)=>mt(j.Separator,{ref:a,className:l("-mx-1 my-1 h-px bg-muted",e),...t}));il.displayName=j.Separator.displayName;var nl=({className:e,...t})=>mt("span",{className:l("ml-auto text-xs tracking-widest opacity-60",e),...t});nl.displayName="DropdownMenuShortcut";import*as ll from"react";import{jsx as Np}from"react/jsx-runtime";var Fe=ll.forwardRef(({className:e,type:t,...a},o)=>Np("input",{type:t,className:l("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...a}));Fe.displayName="Input";import*as dl from"react";import*as wi from"@radix-ui/react-separator";import{jsx as Cp}from"react/jsx-runtime";var es=dl.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...o},r)=>Cp(wi.Root,{ref:r,decorative:a,orientation:t,className:l("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...o}));es.displayName=wi.Root.displayName;import*as kr from"react";import*as Pe from"@radix-ui/react-dialog";import{Cross2Icon as kp}from"@radix-ui/react-icons";import{cva as Pp}from"class-variance-authority";import{jsx as _a,jsxs as Ni}from"react/jsx-runtime";var Ci=Pe.Root,Sp=Pe.Trigger,Rp=Pe.Close,cl=Pe.Portal,ki=kr.forwardRef(({className:e,...t},a)=>_a(Pe.Overlay,{className:l("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));ki.displayName=Pe.Overlay.displayName;var Tp=Pp("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),ts=kr.forwardRef(({side:e="right",className:t,children:a,...o},r)=>Ni(cl,{children:[_a(ki,{}),Ni(Pe.Content,{ref:r,className:l(Tp({side:e}),t),...o,children:[Ni(Pe.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[_a(kp,{className:"h-4 w-4"}),_a("span",{className:"sr-only",children:"Close"})]}),a]})]}));ts.displayName=Pe.Content.displayName;var ml=({className:e,...t})=>_a("div",{className:l("flex flex-col space-y-2 text-center sm:text-left",e),...t});ml.displayName="SheetHeader";var pl=({className:e,...t})=>_a("div",{className:l("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});pl.displayName="SheetFooter";var ul=kr.forwardRef(({className:e,...t},a)=>_a(Pe.Title,{ref:a,className:l("text-lg font-semibold text-foreground",e),...t}));ul.displayName=Pe.Title.displayName;var gl=kr.forwardRef(({className:e,...t},a)=>_a(Pe.Description,{ref:a,className:l("text-sm text-muted-foreground",e),...t}));gl.displayName=Pe.Description.displayName;import*as $ from"react";import{Slot as Pr}from"@radix-ui/react-slot";import{cva as zp}from"class-variance-authority";import{PanelLeft as Ep}from"lucide-react";import{useState as Dp,useEffect as Ap}from"react";var Pi=(e=768)=>{let[t,a]=Dp(!1);return Ap(()=>{let o=()=>{a(window.innerWidth<e)};return o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[e]),t};import{Slot as Mp}from"@radix-ui/react-slot";import{cva as Ip}from"class-variance-authority";import*as fl from"react";import{jsx as Lp}from"react/jsx-runtime";var co=Ip("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),C=fl.forwardRef(({asChild:e=!1,className:t,size:a,variant:o,...r},s)=>Lp(e?Mp:"button",{className:l(co({className:t,size:a,variant:o})),ref:s,...r}));C.displayName="Button";import{jsx as Bp}from"react/jsx-runtime";function De({className:e,...t}){return Bp("div",{className:l("animate-pulse rounded-md bg-primary/10",e),...t})}import*as vl from"react";import*as _t from"@radix-ui/react-tooltip";import{jsx as bl}from"react/jsx-runtime";var Si=_t.Provider,Ri=_t.Root,Ti=_t.Trigger,as=vl.forwardRef(({className:e,sideOffset:t=4,...a},o)=>bl(_t.Portal,{children:bl(_t.Content,{ref:o,sideOffset:t,className:l("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));as.displayName=_t.Content.displayName;import{jsx as U,jsxs as ss}from"react/jsx-runtime";var Fp="sidebar:state",Hp=60*60*24*7,jp="16rem",Op="18rem",$p="3rem",Gp="b",hl=$.createContext(null);function Sr(){let e=$.useContext(hl);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}var yl=$.forwardRef(({defaultOpen:e=!0,open:t,onOpenChange:a,className:o,style:r,children:s,...n},i)=>{let d=Pi(),[m,c]=$.useState(!1),[p,u]=$.useState(e),g=t??p,b=$.useCallback(P=>{if(a)return a?.(typeof P=="function"?P(g):P);u(P),document.cookie=`${Fp}=${g}; path=/; max-age=${Hp}`},[a,g]),f=$.useCallback(()=>d?c(P=>!P):b(P=>!P),[d,b,c]);$.useEffect(()=>{let P=h=>{h.key===Gp&&(h.metaKey||h.ctrlKey)&&(h.preventDefault(),f())};return window.addEventListener("keydown",P),()=>window.removeEventListener("keydown",P)},[f]);let y=g?"expanded":"collapsed",R=$.useMemo(()=>({state:y,open:g,setOpen:b,isMobile:d,openMobile:m,setOpenMobile:c,toggleSidebar:f}),[y,g,b,d,m,c,f]);return U(hl.Provider,{value:R,children:U(Si,{delayDuration:0,children:U("div",{style:{"--sidebar-width":jp,"--sidebar-width-icon":$p,...r},className:l("group/sidebar-wrapper flex w-full has-[[data-variant=inset]]:bg-sidebar",o),ref:i,...n,children:s})})})});yl.displayName="SidebarProvider";var Wo=$.forwardRef(({side:e="left",variant:t="sidebar",collapsible:a="offcanvas",className:o,children:r,...s},n)=>{let{isMobile:i,state:d,openMobile:m,setOpenMobile:c}=Sr();return a==="none"?U("div",{className:l("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",o),ref:n,...s,children:r}):i?U(Ci,{open:m,onOpenChange:c,...s,children:U(ts,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Op},side:e,children:U("div",{className:"flex h-full w-full flex-col",children:r})})}):ss("div",{ref:n,className:"group peer hidden md:block text-sidebar-foreground","data-state":d,"data-collapsible":d==="collapsed"?a:"","data-variant":t,"data-side":e,children:[U("div",{className:l("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),U("div",{className:l("duration-200 fixed top-14 bottom-0 z-10 hidden w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",e==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",o),...s,children:U("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:r})})]})});Wo.displayName="Sidebar";var xl=$.forwardRef(({className:e,onClick:t,...a},o)=>{let{toggleSidebar:r}=Sr();return ss(C,{ref:o,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:l("h-7 w-7",e),onClick:s=>{t?.(s),r()},...a,children:[U(Ep,{}),U("span",{className:"sr-only",children:"Toggle Sidebar"})]})});xl.displayName="SidebarTrigger";var wl=$.forwardRef(({className:e,...t},a)=>{let{toggleSidebar:o}=Sr();return U("button",{ref:a,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:o,title:"Toggle Sidebar",className:l("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})});wl.displayName="SidebarRail";var Nl=$.forwardRef(({className:e,...t},a)=>U("main",{ref:a,className:l("flex flex-1 flex-col bg-background overflow-y-auto relative max-h-full","md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",e),...t}));Nl.displayName="SidebarInset";var Cl=$.forwardRef(({className:e,...t},a)=>U(Fe,{ref:a,"data-sidebar":"input",className:l("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",e),...t}));Cl.displayName="SidebarInput";var Ko=$.forwardRef(({className:e,...t},a)=>U("div",{ref:a,"data-sidebar":"header",className:l("flex flex-col gap-2 p-2",e),...t}));Ko.displayName="SidebarHeader";var Xo=$.forwardRef(({className:e,...t},a)=>U("div",{ref:a,"data-sidebar":"footer",className:l("flex flex-col gap-2 p-2",e),...t}));Xo.displayName="SidebarFooter";var os=$.forwardRef(({className:e,...t},a)=>U(es,{ref:a,"data-sidebar":"separator",className:l("mx-2 w-auto bg-sidebar-border",e),...t}));os.displayName="SidebarSeparator";var mo=$.forwardRef(({className:e,...t},a)=>U("div",{ref:a,"data-sidebar":"content",className:l("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t}));mo.displayName="SidebarContent";var Vt=$.forwardRef(({className:e,...t},a)=>U("div",{ref:a,"data-sidebar":"group",className:l("relative flex w-full min-w-0 flex-col p-2",e),...t}));Vt.displayName="SidebarGroup";var Va=$.forwardRef(({className:e,asChild:t=!1,...a},o)=>U(t?Pr:"div",{ref:o,"data-sidebar":"group-label",className:l("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...a}));Va.displayName="SidebarGroupLabel";var kl=$.forwardRef(({className:e,asChild:t=!1,...a},o)=>U(t?Pr:"button",{ref:o,"data-sidebar":"group-action",className:l("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",e),...a}));kl.displayName="SidebarGroupAction";var ra=$.forwardRef(({className:e,...t},a)=>U("div",{ref:a,"data-sidebar":"group-content",className:l("w-full text-sm",e),...t}));ra.displayName="SidebarGroupContent";var Ct=$.forwardRef(({className:e,...t},a)=>U("ul",{ref:a,"data-sidebar":"menu",className:l("flex w-full min-w-0 flex-col gap-1",e),...t}));Ct.displayName="SidebarMenu";var Ze=$.forwardRef(({className:e,...t},a)=>U("li",{ref:a,"data-sidebar":"menu-item",className:l("group/menu-item relative",e),...t}));Ze.displayName="SidebarMenuItem";var _p=zp("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Ut=$.forwardRef(({asChild:e=!1,isActive:t=!1,variant:a="default",size:o="default",tooltip:r,className:s,...n},i)=>{let d=e?Pr:"button",{isMobile:m,state:c}=Sr(),p=U(d,{ref:i,"data-sidebar":"menu-button","data-size":o,"data-active":t,className:l(_p({variant:a,size:o}),s),...n});return r?(typeof r=="string"&&(r={children:r}),ss(Ri,{children:[U(Ti,{asChild:!0,children:p}),U(as,{side:"right",align:"center",hidden:c!=="collapsed"||m,...r})]})):p});Ut.displayName="SidebarMenuButton";var rs=$.forwardRef(({className:e,asChild:t=!1,showOnHover:a=!1,...o},r)=>U(t?Pr:"button",{ref:r,"data-sidebar":"menu-action",className:l("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",e),...o}));rs.displayName="SidebarMenuAction";var Pl=$.forwardRef(({className:e,...t},a)=>U("div",{ref:a,"data-sidebar":"menu-badge",className:l("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t}));Pl.displayName="SidebarMenuBadge";var Sl=$.forwardRef(({className:e,showIcon:t=!1,...a},o)=>{let r=$.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return ss("div",{ref:o,"data-sidebar":"menu-skeleton",className:l("rounded-md h-8 flex gap-2 px-2 items-center",e),...a,children:[t&&U(De,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),U(De,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":r}})]})});Sl.displayName="SidebarMenuSkeleton";var po=$.forwardRef(({className:e,...t},a)=>U("ul",{ref:a,"data-sidebar":"menu-sub",className:l("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t}));po.displayName="SidebarMenuSub";var uo=$.forwardRef(({...e},t)=>U("li",{ref:t,...e}));uo.displayName="SidebarMenuSubItem";var go=$.forwardRef(({asChild:e=!1,size:t="md",isActive:a,className:o,...r},s)=>U(e?Pr:"a",{ref:s,"data-sidebar":"menu-sub-button","data-size":t,"data-active":a,className:l("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",o),...r}));go.displayName="SidebarMenuSubButton";import*as ls from"react";var Vp=1,Up=1e6;var Di=0;function Wp(){return Di=(Di+1)%Number.MAX_SAFE_INTEGER,Di.toString()}var Ai=new Map,Rl=e=>{if(Ai.has(e))return;let t=setTimeout(()=>{Ai.delete(e),Rr({type:"REMOVE_TOAST",toastId:e})},Up);Ai.set(e,t)},Kp=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Vp)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{let{toastId:a}=t;return a?Rl(a):e.toasts.forEach(o=>{Rl(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===a||a===void 0?{...o,open:!1}:o)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},is=[],ns={toasts:[]};function Rr(e){ns=Kp(ns,e),is.forEach(t=>{t(ns)})}function Xp({...e}){let t=Wp(),a=r=>Rr({type:"UPDATE_TOAST",toast:{...r,id:t}}),o=()=>Rr({type:"DISMISS_TOAST",toastId:t});return Rr({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||o()}}}),{id:t,dismiss:o,update:a}}function Mi(){let[e,t]=ls.useState(ns);return ls.useEffect(()=>(is.push(t),()=>{let a=is.indexOf(t);a>-1&&is.splice(a,1)}),[e]),{...e,toast:Xp,dismiss:a=>Rr({type:"DISMISS_TOAST",toastId:a})}}import*as bo from"react";import*as Ae from"@radix-ui/react-toast";import{cva as Yp}from"class-variance-authority";import{X as qp}from"lucide-react";import{jsx as fo}from"react/jsx-runtime";var Ii=Ae.Provider,ds=bo.forwardRef(({className:e,...t},a)=>fo(Ae.Viewport,{ref:a,className:l("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));ds.displayName=Ae.Viewport.displayName;var Qp=Yp("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),cs=bo.forwardRef(({className:e,variant:t,...a},o)=>fo(Ae.Root,{ref:o,className:l(Qp({variant:t}),e),...a}));cs.displayName=Ae.Root.displayName;var Tl=bo.forwardRef(({className:e,...t},a)=>fo(Ae.Action,{ref:a,className:l("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Tl.displayName=Ae.Action.displayName;var ms=bo.forwardRef(({className:e,...t},a)=>fo(Ae.Close,{ref:a,className:l("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:fo(qp,{className:"h-4 w-4"})}));ms.displayName=Ae.Close.displayName;var ps=bo.forwardRef(({className:e,...t},a)=>fo(Ae.Title,{ref:a,className:l("text-sm font-semibold [&+div]:text-xs",e),...t}));ps.displayName=Ae.Title.displayName;var us=bo.forwardRef(({className:e,...t},a)=>fo(Ae.Description,{ref:a,className:l("text-sm opacity-90",e),...t}));us.displayName=Ae.Description.displayName;import{jsx as gs,jsxs as Li}from"react/jsx-runtime";function Jp(){let{toasts:e}=Mi();return Li(Ii,{children:[e.map(function({id:t,title:a,description:o,action:r,...s}){return Li(cs,{...s,children:[Li("div",{className:"grid gap-1",children:[a&&gs(ps,{children:a}),o&&gs(us,{children:o})]}),r,gs(ms,{})]},t)}),gs(ds,{})]})}import*as Dl from"react";import*as Bi from"@radix-ui/react-toggle";import{cva as Zp}from"class-variance-authority";import{jsx as eu}from"react/jsx-runtime";var fs=Zp("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),Al=Dl.forwardRef(({className:e,variant:t,size:a,...o},r)=>eu(Bi.Root,{ref:r,className:l(fs({variant:t,size:a,className:e})),...o}));Al.displayName=Bi.Root.displayName;import*as vo from"react";import*as Yo from"@radix-ui/react-toggle-group";import{jsx as zi}from"react/jsx-runtime";var Ml=vo.createContext({size:"default",variant:"default"}),Il=vo.forwardRef(({className:e,variant:t,size:a,children:o,...r},s)=>zi(Yo.Root,{ref:s,className:l("flex items-center justify-center gap-1",e),...r,children:zi(Ml.Provider,{value:{variant:t,size:a},children:o})}));Il.displayName=Yo.Root.displayName;var Ll=vo.forwardRef(({className:e,children:t,variant:a,size:o,...r},s)=>{let n=vo.useContext(Ml);return zi(Yo.Item,{ref:s,className:l(fs({variant:n.variant||a,size:n.size||o}),e),...r,children:t})});Ll.displayName=Yo.Item.displayName;import*as Ei from"react";import*as It from"@radix-ui/react-scroll-area";import{jsx as Tr,jsxs as tu}from"react/jsx-runtime";var Wt=Ei.forwardRef(({className:e,children:t,...a},o)=>tu(It.Root,{ref:o,className:l("relative overflow-hidden",e),...a,children:[Tr(It.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),Tr(Fi,{}),Tr(It.Corner,{})]}));Wt.displayName=It.Root.displayName;var Fi=Ei.forwardRef(({className:e,orientation:t="vertical",...a},o)=>Tr(It.ScrollAreaScrollbar,{ref:o,orientation:t,className:l("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...a,children:Tr(It.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Fi.displayName=It.ScrollAreaScrollbar.displayName;import*as zl from"react";import*as Kt from"@radix-ui/react-popover";import{jsx as Bl}from"react/jsx-runtime";var bs=Kt.Root,vs=Kt.Trigger,au=Kt.Anchor,Dr=zl.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>Bl(Kt.Portal,{children:Bl(Kt.Content,{ref:r,align:t,sideOffset:a,className:l("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Dr.displayName=Kt.Content.displayName;import*as El from"react";import*as Hi from"@radix-ui/react-label";import{cva as ou}from"class-variance-authority";import{jsx as su}from"react/jsx-runtime";var ru=ou("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),I=El.forwardRef(({className:e,...t},a)=>su(Hi.Root,{ref:a,className:l(ru(),e),...t}));I.displayName=Hi.Root.displayName;import*as Fl from"react";import*as ho from"@radix-ui/react-hover-card";import{jsx as lu}from"react/jsx-runtime";var iu=ho.Root,nu=ho.Trigger,Hl=Fl.forwardRef(({className:e,align:t="center",sideOffset:a=4,...o},r)=>lu(ho.Content,{ref:r,align:t,sideOffset:a,className:l("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o}));Hl.displayName=ho.Content.displayName;import*as Ar from"react";import*as Se from"@radix-ui/react-dialog";import{X as du}from"lucide-react";import{jsx as Ua,jsxs as ji}from"react/jsx-runtime";var Xt=Se.Root,cu=Se.Trigger,jl=Se.Portal,Oi=Se.Close,$i=Ar.forwardRef(({className:e,...t},a)=>Ua(Se.Overlay,{ref:a,className:l("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));$i.displayName=Se.Overlay.displayName;var Lt=Ar.forwardRef(({className:e,children:t,...a},o)=>ji(jl,{children:[Ua($i,{}),ji(Se.Content,{ref:o,className:l("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[t,ji(Se.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[Ua(du,{className:"h-4 w-4"}),Ua("span",{className:"sr-only",children:"Close"})]})]})]}));Lt.displayName=Se.Content.displayName;var sa=({className:e,...t})=>Ua("div",{className:l("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});sa.displayName="DialogHeader";var Ol=({className:e,...t})=>Ua("div",{className:l("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Ol.displayName="DialogFooter";var ia=Ar.forwardRef(({className:e,...t},a)=>Ua(Se.Title,{ref:a,className:l("text-lg font-semibold leading-none tracking-tight",e),...t}));ia.displayName=Se.Title.displayName;var hs=Ar.forwardRef(({className:e,...t},a)=>Ua(Se.Description,{ref:a,className:l("text-sm text-muted-foreground",e),...t}));hs.displayName=Se.Description.displayName;import*as Wa from"react";import{Command as pt}from"cmdk";import{Search as mu}from"lucide-react";import{jsx as Bt,jsxs as uu}from"react/jsx-runtime";var Gi=Wa.forwardRef(({className:e,...t},a)=>Bt(pt,{ref:a,className:l("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));Gi.displayName=pt.displayName;var pu=({children:e,...t})=>Bt(Xt,{...t,children:Bt(Lt,{className:"overflow-hidden p-0",children:Bt(Gi,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),$l=Wa.forwardRef(({className:e,...t},a)=>uu("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[Bt(mu,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),Bt(pt.Input,{ref:a,className:l("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));$l.displayName=pt.Input.displayName;var Gl=Wa.forwardRef(({className:e,...t},a)=>Bt(pt.List,{ref:a,className:l("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));Gl.displayName=pt.List.displayName;var _l=Wa.forwardRef((e,t)=>Bt(pt.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));_l.displayName=pt.Empty.displayName;var Vl=Wa.forwardRef(({className:e,...t},a)=>Bt(pt.Group,{ref:a,className:l("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));Vl.displayName=pt.Group.displayName;var Ul=Wa.forwardRef(({className:e,...t},a)=>Bt(pt.Separator,{ref:a,className:l("-mx-1 h-px bg-border",e),...t}));Ul.displayName=pt.Separator.displayName;var Wl=Wa.forwardRef(({className:e,...t},a)=>Bt(pt.Item,{ref:a,className:l("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",e),...t}));Wl.displayName=pt.Item.displayName;var Kl=({className:e,...t})=>Bt("span",{className:l("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});Kl.displayName="CommandShortcut";import*as ys from"react";import{cva as gu}from"class-variance-authority";import{jsx as _i}from"react/jsx-runtime";var fu=gu("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Xl=ys.forwardRef(({className:e,variant:t,...a},o)=>_i("div",{ref:o,role:"alert",className:l(fu({variant:t}),e),...a}));Xl.displayName="Alert";var Yl=ys.forwardRef(({className:e,...t},a)=>_i("h5",{ref:a,className:l("mb-1 font-medium leading-none tracking-tight",e),...t}));Yl.displayName="AlertTitle";var ql=ys.forwardRef(({className:e,...t},a)=>_i("div",{ref:a,className:l("text-sm [&_p]:leading-relaxed",e),...t}));ql.displayName="AlertDescription";import*as xs from"react";import*as Ra from"@radix-ui/react-avatar";import{jsx as Vi}from"react/jsx-runtime";var et=xs.forwardRef(({className:e,...t},a)=>Vi(Ra.Root,{ref:a,className:l("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));et.displayName=Ra.Root.displayName;var kt=xs.forwardRef(({className:e,...t},a)=>Vi(Ra.Image,{ref:a,className:l("aspect-square h-full w-full",e),...t}));kt.displayName=Ra.Image.displayName;var tt=xs.forwardRef(({className:e,...t},a)=>Vi(Ra.Fallback,{ref:a,className:l("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));tt.displayName=Ra.Fallback.displayName;import{cva as bu}from"class-variance-authority";import{jsx as vu}from"react/jsx-runtime";var Ql=bu("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Me({className:e,variant:t,...a}){return vu("div",{className:l(Ql({variant:t}),e),...a})}import*as Mr from"@radix-ui/react-checkbox";import{Check as hu}from"lucide-react";import*as Jl from"react";import{jsx as Ui}from"react/jsx-runtime";var na=Jl.forwardRef(({className:e,...t},a)=>Ui(Mr.Root,{className:l("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:a,...t,children:Ui(Mr.Indicator,{className:l("flex items-center justify-center text-current"),children:Ui(hu,{className:"h-4 w-4"})})}));na.displayName=Mr.Root.displayName;import*as _ from"@radix-ui/react-select";import{Check as yu,ChevronDown as Zl,ChevronUp as xu}from"lucide-react";import*as Ka from"react";import{jsx as Ke,jsxs as Wi}from"react/jsx-runtime";var zt=_.Root,lw=_.Group,Et=_.Value,Pt=Ka.forwardRef(({children:e,className:t,...a},o)=>Wi(_.Trigger,{className:l("flex h-10 w-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:o,...a,children:[e,Ke(_.Icon,{asChild:!0,children:Ke(Zl,{className:"h-4 w-4 opacity-50"})})]}));Pt.displayName=_.Trigger.displayName;var ed=Ka.forwardRef(({className:e,...t},a)=>Ke(_.ScrollUpButton,{className:l("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:Ke(xu,{className:"h-4 w-4"})}));ed.displayName=_.ScrollUpButton.displayName;var td=Ka.forwardRef(({className:e,...t},a)=>Ke(_.ScrollDownButton,{className:l("flex cursor-default items-center justify-center py-1",e),ref:a,...t,children:Ke(Zl,{className:"h-4 w-4"})}));td.displayName=_.ScrollDownButton.displayName;var St=Ka.forwardRef(({children:e,className:t,position:a="popper",...o},r)=>Ke(_.Portal,{children:Wi(_.Content,{className:l("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:a,ref:r,...o,children:[Ke(ed,{}),Ke(_.Viewport,{className:l("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),Ke(td,{})]})}));St.displayName=_.Content.displayName;var wu=Ka.forwardRef(({className:e,...t},a)=>Ke(_.Label,{className:l("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:a,...t}));wu.displayName=_.Label.displayName;var ut=Ka.forwardRef(({children:e,className:t,...a},o)=>Wi(_.Item,{className:l("relative flex w-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:o,...a,children:[Ke("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:Ke(_.ItemIndicator,{children:Ke(yu,{className:"h-4 w-4"})})}),Ke(_.ItemText,{children:e})]}));ut.displayName=_.Item.displayName;var Nu=Ka.forwardRef(({className:e,...t},a)=>Ke(_.Separator,{className:l("-mx-1 my-1 h-px bg-muted",e),ref:a,...t}));Nu.displayName=_.Separator.displayName;import*as ad from"react";import{jsx as Cu}from"react/jsx-runtime";var Yt=ad.forwardRef(({className:e,...t},a)=>Cu("textarea",{className:l("flex min-h-[80px] w-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t}));Yt.displayName="Textarea";import{DayPicker as ku}from"react-day-picker";import{jsx as Pu}from"react/jsx-runtime";function ws({className:e,classNames:t,showOutsideDays:a=!0,...o}){return Pu(ku,{showOutsideDays:a,weekStartsOn:1,className:l("p-3",e),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:l(co({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:l("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",o.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:l(co({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",...t},...o})}ws.displayName="Calendar";import*as Xa from"@radix-ui/react-tabs";import{jsx as Ns}from"react/jsx-runtime";function od({className:e,...t}){return Ns(Xa.Root,{"data-slot":"tabs",className:l("flex flex-col gap-2",e),...t})}function rd({className:e,...t}){return Ns(Xa.List,{"data-slot":"tabs-list",className:l("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...t})}function sd({className:e,...t}){return Ns(Xa.Trigger,{"data-slot":"tabs-trigger",className:l("data-[state=active]:bg-accent data-[state=active]:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}function xw({className:e,...t}){return Ns(Xa.Content,{"data-slot":"tabs-content",className:l("flex-1 outline-none",e),...t})}import{jsx as Ki}from"react/jsx-runtime";var id=({className:e,content:t,style:a})=>Ki("div",{className:l("mx-auto my-8 w-full",e),children:Ki("div",{className:l("border py-3 px-6 flex items-center rounded",{"border-border bg-card":a==="info","border-error bg-error/30":a==="error","border-success bg-success/30":a==="success","border-warning bg-warning/30":a==="warning"}),children:Ki(W,{content:t,enableGutter:!1,enableProse:!1})})});import{useState as Eu}from"react";import nd from"next/link";import{jsx as Su,jsxs as ld}from"react/jsx-runtime";var la=e=>{let{type:t,appearance:a="inline",children:o,className:r,label:s,newTab:n,reference:i,size:d,url:m}=e,c=t==="reference"&&typeof i?.value=="object"&&i.value.slug?`${i?.relationTo!=="pages"?`/${i?.relationTo}`:""}/${i.value.slug}`:m;if(!c)return null;let p=a==="link"?"clear":d,u=n?{rel:"noopener noreferrer",target:"_blank"}:{};return a==="inline"?ld(nd,{className:l(r),href:c||m||"",...u,children:[s&&s,o&&o]}):Su(C,{asChild:!0,className:r,size:p,variant:a,children:ld(nd,{className:l(r),href:c||m||"",...u,children:[s&&s,o&&o]})})};function Cs({className:e}){return l("flex items-center min-h-[3.5rem] md:min-h-[3.75rem] w-full rounded-5 px-4 md:px-5 py-2"," bg-transparent text-accent-800 placeholder:text-accent-800 dark:text-body dark:placeholder:text-body"," border border-solid border-accent-900 border-opacity-20 dark:border-opacity-20 dark:border-accent-200"," focus:border-accent-900 focus:ring-0 focus-visible:outline-0 focus-visible:ring-0 focus-visible:ring-offset-0","transition-all duration-300",e)}import{jsx as Xi,jsxs as Tu}from"react/jsx-runtime";function Ru({className:e,...t}){return Xi("input",{...t,className:Cs({className:e})})}function ks({icon:e,...t}){return Tu("div",{className:"relative w-full",children:[Xi(Ru,{...t}),e&&Xi("span",{className:"absolute right-5 top-1/2 w-[14px] -translate-y-1/2 text-accent",children:e})]})}import{jsx as Yi,jsxs as Au}from"react/jsx-runtime";function Du({className:e,...t}){return Yi("textarea",{...t,className:l(Cs({}),"resize-none md:min-h-[130px]",e)})}function dd({icon:e,...t}){return Au("div",{className:"relative w-full",children:[Yi(Du,{...t}),e&&Yi("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}import{Formik as Mu}from"formik";import{FaUser as Iu}from"react-icons/fa6";import*as yo from"yup";async function cd(e){let{name:t,email:a,subject:o,message:r}=e,s=process.env.TEAMS_WEBHOOK_URL;if(!s)throw new Error("TEAMS_WEBHOOK_URL is not defined");let n={type:"message",attachments:[{contentType:"application/vnd.microsoft.card.adaptive",content:{$schema:"http://adaptivecards.io/schemas/adaptive-card.json",type:"AdaptiveCard",version:"1.2",body:[{type:"TextBlock",text:"Contact Us Form",wrap:!0,style:"heading",weight:"Bolder"},{type:"ColumnSet",columns:[{type:"Column",width:"stretch",items:[{type:"TextBlock",text:"Name",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Email",wrap:!0,weight:"Bolder"},{type:"TextBlock",text:"Subject",wrap:!0,weight:"Bolder"}]},{type:"Column",width:"stretch",items:[{type:"TextBlock",text:`${t}`,wrap:!0},{type:"TextBlock",text:`${a}`,wrap:!0},{type:"TextBlock",text:`${o}`,wrap:!0}]}]},{type:"TextBlock",text:`${r}`,wrap:!0}]}}]};try{let i=await fetch(s,{method:"POST",mode:"no-cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!i.ok)throw console.error(i),new Error("Network response was not ok");return{isSuccess:!0,data:!0,message:"Thanks for getting in touch"}}catch(i){return console.error(i),{isSuccess:!1,data:null,message:"Internal Server Error"}}}import{toast as md}from"sonner";import{jsx as $e,jsxs as Ir}from"react/jsx-runtime";var qt={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},Lu=yo.object().shape({name:yo.string().min(2,qt.tooShort).max(50,qt.tooLong).required(qt.required),email:yo.string().email(qt.email).required(qt.required),subject:yo.string().min(2,qt.tooShort).max(50,qt.tooLong).required(qt.required),message:yo.string().min(2,qt.tooShort).max(300,qt.tooLong).required(qt.required)}),Ps=l("!pr-[44px] text-foreground"),Ss=l("!border-red-600 border"),Rs=l("sr-only");function Ts(){return $e(Mu,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:Lu,onSubmit:async(e,{resetForm:t})=>{let a=await cd(e);a.data===null?md.error(a.message):(md.success(a.message),t())},children:({errors:e,touched:t,values:a,handleChange:o,handleBlur:r,isSubmitting:s,handleSubmit:n})=>Ir("form",{onSubmit:n,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[Ir("div",{children:[$e(ks,{placeholder:"Your Name",type:"text",name:"name",value:a.name,onChange:o,onBlur:r,disabled:s,icon:$e(Iu,{className:"text-primary"}),className:l(Ps,e.name&&t.name&&Ss)}),e.name&&t.name&&$e("p",{title:e.name,"aria-live":"polite",role:"error message",className:Rs,children:e.name})]}),Ir("div",{children:[$e(ks,{placeholder:"Your Email",type:"email",name:"email",value:a.email,onChange:o,onBlur:r,disabled:s,icon:$e(Bu,{}),className:l(Ps,e.email&&t.email&&Ss)}),e.email&&t.email&&$e("p",{title:e.email,"aria-live":"polite",role:"error message",className:Rs,children:e.email})]}),Ir("div",{className:"lg:col-span-2",children:[$e(ks,{placeholder:"Subject",type:"text",name:"subject",value:a.subject,onChange:o,onBlur:r,disabled:s,className:l(Ps,e.subject&&t.subject&&Ss)}),e.subject&&t.subject&&$e("p",{title:e.subject,"aria-live":"polite",role:"error message",className:Rs,children:e.subject})]}),Ir("div",{className:"lg:col-span-2",children:[$e(dd,{placeholder:"Message...",name:"message",value:a.message,onChange:o,onBlur:r,disabled:s,icon:$e(zu,{}),className:l(Ps,e.message&&t.message&&Ss)}),e.message&&t.message&&$e("p",{title:e.message,"aria-live":"polite",role:"error message",className:Rs,children:e.message})]}),$e("div",{className:"lg:col-span-2 light grid justify-items-center",children:$e(C,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:s,children:"Send"})})]})})}function Bu(){return $e("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:$e("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function zu(){return $e("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:$e("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}import{jsx as gt,jsxs as Ds}from"react/jsx-runtime";var E1=({links:e,richText:t})=>gt("div",{className:"container",children:Ds("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:[gt("div",{className:"max-w-[48rem] flex items-center",children:t&&gt(W,{className:"mb-0",content:t,enableGutter:!1})}),gt("div",{className:"flex flex-col gap-8",children:(e||[]).map(({link:a},o)=>gt(la,{size:"lg",...a},o))})]})}),qo=({links:e,richText:t})=>{let[a,o]=Eu(!1),r="accent",s=()=>o(!0),n=()=>o(!1),i=d=>{d.target===d.currentTarget&&n()};return Ds("div",{className:l("relative isolate overflow-hidden",r==="accent"?"bg-accent":"bg-black"),children:[gt("div",{className:"px-6 py-24 sm:px-6 sm:py-32 lg:px-8",children:Ds("div",{className:"mx-auto max-w-2xl text-center prose",children:[t&&gt(W,{className:"mb-0 prose-headings:text-white prose-h2:text-white prose-p:text-white text-white",content:t,enableGutter:!1}),gt("div",{className:"mt-10 flex items-center justify-center gap-x-6",children:gt("div",{className:"flex flex-col gap-8 text-white",children:(e||[]).map(({link:d},m)=>d?.url==="/contact"?gt("div",{onClick:s,className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",r==="accent"?"border-white bg-accent":"border-accent bg-black"),children:d.label},m):gt(la,{size:"lg",className:l("rounded-full px-3.5 py-2.5 border border-accent bg-black text-white no-underline cursor-pointer",r==="accent"?"border-white bg-accent":"border-accent bg-black"),...d},m))})})]})}),a&&gt("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:i,children:Ds("div",{className:"bg-white p-6 pt-10 rounded-lg shadow-lg w-full max-w-lg light relative",children:[gt("button",{className:"absolute top-4 right-4 text-gray-500 hover:text-gray-700",onClick:n,children:"\u2715"}),gt(Ts,{})," "]})})]})};import{Highlight as Ou,themes as $u}from"prism-react-renderer";import{ClipboardCopy as Fu}from"lucide-react";import{useState as Hu}from"react";import{jsx as As,jsxs as ju}from"react/jsx-runtime";function pd({code:e}){let[t,a]=Hu("Copy");function o(){t==="Copy"&&(a(()=>"Copied!"),setTimeout(()=>{a(()=>"Copy")},1e3))}return As("div",{className:"flex justify-end align-middle",children:ju(C,{className:"flex gap-1",variant:"secondary",onClick:async()=>{await navigator.clipboard.writeText(e),o()},children:[As("p",{children:t}),As("div",{className:"w-6 h-6",children:As(Fu,{})})]})})}import{jsx as Lr,jsxs as ud}from"react/jsx-runtime";var gd=({code:e,language:t=""})=>e?Lr(Ou,{code:e,language:t,theme:$u.vsDark,children:({getLineProps:a,getTokenProps:o,tokens:r})=>ud("pre",{className:"bg-black p-4 border text-xs border-border rounded overflow-x-auto",children:[r.map((s,n)=>ud("div",{...a({className:"table-row",line:s}),children:[Lr("span",{className:"table-cell select-none text-right text-white/25",children:n+1}),Lr("span",{className:"table-cell pl-4",children:s.map((i,d)=>Lr("span",{...o({token:i})},d))})]},n)),Lr(pd,{code:e})]})}):null;import{jsx as fd}from"react/jsx-runtime";var bd=({className:e,code:t,language:a})=>fd("div",{className:[e,"not-prose"].filter(Boolean).join(" "),children:fd(gd,{code:t,language:a})});import{Fragment as Wu}from"react";import Gu from"next/image";import{jsx as hd}from"react/jsx-runtime";var _u={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},vd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",yd=e=>{let{alt:t,fill:a,imgClassName:o,priority:r,resource:s,size:n,src:i,loading:d}=e,m,c,p=t,u=i||"";if(!u&&s&&typeof s=="object"){let{alt:f,filename:y,height:R,url:P,width:h}=s;if(R&&R>500){let w=500/R;m=h*w,c=R*w}else m=h,c=R;p=f||"",u=P||vd}let g=d||"lazy",b=n||Object.entries(_u).map(([,f])=>`(max-width: ${f}px) ${f*2}w`).join(", ");return hd("picture",{children:hd(Gu,{alt:p||"",className:l(o),fill:a,height:a?void 0:c,placeholder:"blur",blurDataURL:vd,priority:g!=="lazy"&&r,quality:100,loading:g,sizes:b,src:u,width:a?void 0:m})})};import{useEffect as Vu,useRef as Uu}from"react";import{jsx as xd}from"react/jsx-runtime";var wd=e=>{let{onClick:t,resource:a,videoClassName:o}=e,r=Uu(null);if(Vu(()=>{let{current:s}=r;s&&s.addEventListener("suspend",()=>{})},[]),a&&typeof a=="object"){let{filename:s}=a;return xd("video",{autoPlay:!0,className:l(o),controls:!1,loop:!0,muted:!0,onClick:t,playsInline:!0,ref:r,children:xd("source",{src:a.url||""})})}return null};import{jsx as qi}from"react/jsx-runtime";var da=e=>{let{className:t,htmlElement:a="div",resource:o}=e,r=typeof o=="object"&&o?.mimeType?.includes("video");return qi(a||Wu,{...a!==null?{className:t}:{},children:r?qi(wd,{...e}):qi(yd,{...e})})};import{jsx as Nd}from"react/jsx-runtime";var Ya=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:s}=e;return Nd("div",{className:l("h-full ",{container:a},t),children:Nd(da,{imgClassName:l("rounded-[0.8rem]",o),className:"flex justify-center",resource:r,src:s})})};import{jsx as Cd}from"react/jsx-runtime";var kd=e=>{let{className:t,enableGutter:a=!0,imgClassName:o,media:r,staticImage:s}=e;return Cd("div",{className:l("",{container:a},t),children:Cd(da,{imgClassName:l("rounded-[0.8rem]",o),resource:r,src:s})})};import{jsx as Qo,jsxs as Pd}from"react/jsx-runtime";var Jo=({title:e,description:t,features:a,id:o,nested:r=!1})=>Pd("section",{className:l(r?"w-full":"",""),children:[Pd("div",{className:"prose prose:max-w-none",children:[e&&Qo("h2",{className:"mb-6 mt-0 text-primary",id:o||"",children:e}),t&&typeof t=="string"&&Qo("p",{className:"mb-5 text-foreground",children:t}),t&&typeof t=="object"&&Qo("div",{className:"mb-5 text-foreground",children:Qo(W,{content:t,enableGutter:!1})})]}),Qo("div",{className:`grid gap-6 mt-6 md:grid-cols-${a?a.length>2?2:a.length:1} lg:grid-cols-${a?a.length>3?3:a.length:1}`,children:a&&a.map((s,n)=>{let i=()=>{if(s.icon&&"type"in s.icon&&s.icon.type!=="none")return{type:s.icon.type,icon:s.icon.icon}};return Qo(Br,{title:s.title||"",content:s.content||void 0,statistic:s.statistic||void 0,settings:{...s.settings,width:"auto",order:n},link:s.link?{...s.link,label:"Learn more"}:void 0,icon:i()??{type:"none",icon:null}},n)})})]});import Ku,{Fragment as Xu}from"react";import{jsx as ie}from"react/jsx-runtime";function zr({nodes:e}){return ie(Xu,{children:e?.map((t,a)=>{if(t==null)return null;if(t.type==="text"&&t.text){let s=ie(Ku.Fragment,{children:t.text},a);return t.format&1&&(s=ie("strong",{children:s},a)),t.format&2&&(s=ie("em",{children:s},a)),t.format&4&&(s=ie("span",{style:{textDecoration:"line-through"},children:s},a)),t.format&8&&(s=ie("span",{style:{textDecoration:"underline"},children:s},a)),t.format&16&&(s=ie("code",{children:t.text},a)),t.format&32&&(s=ie("sub",{children:s},a)),t.format&64&&(s=ie("sup",{children:s},a)),s}if(t.type==="table")return ie("table",{children:ie("tbody",{children:t.children.map((s,n)=>ie("tr",{children:s.children.map((i,d)=>ie("td",{children:zr({nodes:i.children})},d))},n))})},a);let o=s=>{if(s.children==null)return null;if(s?.type==="list"&&s?.listType==="check")for(let n of s.children)"checked"in n&&(n?.checked||(n.checked=!1));return zr({nodes:s.children})},r="children"in t?o(t):"";if(t.type==="block"){let s=t.fields,n=s?.blockType;if(!s||!n)return null;switch(n){case"cta":return ie(qo,{...s},a);case"mediaBlock":return ie(Ya,{className:"col-start-1 col-span-3",imgClassName:"m-0",...s,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"imageBlock":return ie(kd,{className:"col-start-1 col-span-3",imgClassName:"m-0",...s,captionClassName:"mx-auto max-w-[48rem]",enableGutter:!1,disableInnerContainer:!0},a);case"banner":return ie(id,{className:"col-start-2 mb-4",...s},a);case"code":return ie(bd,{className:"col-start-2",...s},a);case"features":return ie(Jo,{...s,nested:!0},a);case"reusableContentBlock":zr({nodes:s.reusableContent.layout});default:return null}}else switch(t.type){case"linebreak":return ie("br",{className:"col-start-2"},a);case"paragraph":return ie("p",{className:"col-start-2",children:r},a);case"heading":{let s=t?.tag;return ie(s,{className:"col-start-2",id:t?.id||"",children:r},a)}case"list":{let s=t?.tag;return ie(s,{className:"list col-start-2",children:r},a)}case"listitem":return t?.checked!=null?ie("li",{"aria-checked":t.checked?"true":"false",className:` ${t.checked,""}`,role:"checkbox",tabIndex:-1,value:t?.value,children:r},a):ie("li",{value:t?.value,children:r},a);case"quote":return ie("blockquote",{className:"col-start-2",children:r},a);case"link":{let s=t.fields;return ie(la,{newTab:!!s?.newTab,reference:s.doc,type:s.linkType==="internal"?"reference":"custom",url:s.url,children:r},a)}case"autolink":{let s=t.fields;return ie(la,{newTab:!!s?.newTab,reference:s.doc,type:s.linkType==="internal"?"reference":"custom",url:s.url,children:r},a)}default:return null}})})}import{jsx as Yu}from"react/jsx-runtime";var W=({className:e,content:t,enableGutter:a=!0,enableProse:o=!0})=>t?Yu("div",{className:l({"container ":a,"max-w-none":!a,"mx-auto prose":o},e),children:t&&!Array.isArray(t)&&typeof t=="object"&&"root"in t&&zr({nodes:t?.root?.children})}):null;import{jsx as qu}from"react/jsx-runtime";var at=({type:e="solid",iconName:t="cloud",size:a="lg",className:o})=>{let r=e.includes("fa-")?e+" ":"fa-"+e+" ",s="fa-"+t,n=o??"",i=r+s+" fa-"+a+" "+n;return qu("i",{className:i})};import Qu from"next/image";import{jsx as We,jsxs as Er}from"react/jsx-runtime";function Sd(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Br({image:e,icon:t,title:a,subtitle:o,content:r,statistic:s,settings:n,link:i,className:d}){let m={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:"bg-background"},c={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return Er("a",{href:i?.url||"#",className:l("min-w-56 max-w-xl h-full flex flex-col group bg-background",e?"p-0":"p-6 md:p-8",n&&!e&&m[n?.card==="default"?"solid":n?.card],e&&"bg-foreground",n&&n?.card==="outline"?"text-gray-900":"text-white",c[n?.width??"auto"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",n&&`intersect:animate-delay-${n.order||1}00`,d),children:[e&&We("div",{className:"relative aspect-[16/9] w-full",children:We(Qu,{src:e.url||"/placeholder.svg",alt:e.alt||"card header image",fill:!0,style:{objectFit:"cover"},priority:!0})}),Er("div",{className:l(e?"p-6 md:p-8":"p-0","flex flex-col flex-grow"),children:[Er("div",{className:"flex flex-col flex-grow",children:[o&&We("div",{className:"text-primary uppercase text-sm font-light mb-4",children:o}),We("div",{className:"flex items-start gap-4 mb-4",children:We(Ju,{icon:{type:t?.type||"fa-light",iconName:t?.icon||"no-icon-error"},heading:a??"",variant:n?.card==="default"?"solid":n?.card??"solid",iconSize:n?.iconSize||"large"})}),r&&typeof r=="object"&&We(W,{enableGutter:!1,content:r,enableProse:!1,className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",n?.card==="outline"||n?.card==="light"?"prose-headings:text-foreground prose-p:text-foreground prose-a:text-foreground":"prose-headings:text-white prose-p:text-gray-100 prose-a:text-gray-100",e&&"prose-headings:text-background prose-p:text-background")}),r&&typeof r=="string"&&We("div",{className:l("prose-sm prose-p:text-lg prose-headings:text-xl","space-y-3",n?.card==="outline"||n?.card==="light"?"prose text-foreground":"prose text-gray-100",e&&"prose text-background"),children:r})]}),i&&i.url&&We("div",{className:"mt-6",children:We("span",{className:"text-accent font-semibold uppercase text-sm block hover:text-accent/80 transition-colors",children:i?.label||"Find out more"})})]})]})}var Ju=({icon:e,heading:t,variant:a,iconSize:o,subtitle:r})=>e&&o==="small"&&e.iconName!="no-icon-error"?Er("div",{className:"flex items-start justify-between w-full mb-2",children:[We("div",{className:l(a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"text-2xl":"text-3xl"),children:t}),Sd(e)&&We("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"-mr-2 ml-1 mt-1":""),children:We(at,{type:e.type,iconName:e.iconName,size:"2x"})})]}):e&&e.iconName!="no-icon-error"?Er("div",{className:"flex flex-col gap-4",children:[Sd(e)&&We("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-accent":""),children:We(at,{type:e.type,iconName:e.iconName,size:"4x"})}),We("h3",{className:l("font-normal",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl text-white"),children:t})]}):We("div",{className:"flex items-center gap-4 mb-2",children:We("div",{className:l("font-regular",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import Zu from"next/image";import eg from"next/link";import*as xo from"react";import{jsx as Zo}from"react/jsx-runtime";var Y=xo.forwardRef(({className:e,...t},a)=>Zo("div",{ref:a,className:l("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Y.displayName="Card";var de=xo.forwardRef(({className:e,...t},a)=>Zo("div",{ref:a,className:l("flex flex-col space-y-1.5 p-6",e),...t}));de.displayName="CardHeader";var ce=xo.forwardRef(({className:e,...t},a)=>Zo("div",{ref:a,className:l("font-semibold leading-none tracking-tight",e),...t}));ce.displayName="CardTitle";var Fr=xo.forwardRef(({className:e,...t},a)=>Zo("div",{ref:a,className:l("text-sm text-muted-foreground",e),...t}));Fr.displayName="CardDescription";var J=xo.forwardRef(({className:e,...t},a)=>Zo("div",{ref:a,className:l("p-6 pt-0",e),...t}));J.displayName="CardContent";var wo=xo.forwardRef(({className:e,...t},a)=>Zo("div",{ref:a,className:l("flex items-center p-6 pt-0",e),...t}));wo.displayName="CardFooter";import{jsx as er,jsxs as ag}from"react/jsx-runtime";function tg({name:e,logo:t,href:a}){return er(Y,{className:"w-full max-w-sm overflow-hidden transition-all duration-300 ring-0 hover:shadow-lg group",children:ag(eg,{href:a,className:"block",children:[er("div",{className:"bg-white p-2 flex items-center justify-center h-24",children:er("div",{className:"relative w-full h-full",children:t&&er(Zu,{src:t,alt:`${e} logo`,layout:"fill",objectFit:"contain"})})}),er(J,{className:"p-3 flex items-center justify-center h-18 bg-gradient-to-br from-gray-900 via-brand-one to-gray-900",children:er("p",{className:"font-medium text-lg text-white text-center group-hover:scale-105 transition-transform duration-200 ease-in-out",children:e})})]})})}import{CalendarDays as Rd,Cake as og,Award as rg,PartyPopper as sg}from"lucide-react";import{jsx as ca,jsxs as No}from"react/jsx-runtime";function ig({eventType:e="birthday",date:t="",title:a="",description:o="",avatarSrc:r}){let s=i=>{switch(i){case"birthday":return ca(og,{className:"h-4 w-4"});case"workAnniversary":return ca(rg,{className:"h-4 w-4"});case"companyEvent":return ca(sg,{className:"h-4 w-4"});default:return ca(Rd,{className:"h-4 w-4"})}},n=i=>{switch(i){case"birthday":return"bg-brand-one";case"workAnniversary":return"bg-brand-two";case"companyEvent":return"bg-brand-three";default:return"from-gray-500 to-slate-500"}};return No(Y,{className:`w-full max-w-md overflow-hidden bg-gradient-to-br ${n(e)}`,children:[No(de,{className:"flex flex-row items-center gap-3 text-white",children:[r&&No(et,{className:"h-14 w-14 border-2 border-white",children:[ca(kt,{src:r,alt:a||"Event"}),ca(tt,{className:"bg-white text-gray-900",children:a?a.charAt(0).toUpperCase():"?"})]}),No("div",{className:"flex flex-col",children:[ca(ce,{className:"text-xl",children:a||"Untitled Event"}),No("p",{className:"text-sm text-white/80",children:[ca(Rd,{className:"mr-1 inline-block h-4 w-4"}),t?new Date(t).toLocaleDateString("en-GB"):"Date not specified"]})]})]}),No(J,{className:"bg-white bg-opacity-80 p-4",children:[o&&ca("p",{className:"mb-2 text-sm text-gray-700",children:o}),No(Me,{variant:"secondary",className:`${n(e)} text-white/80`,children:[s(e),ca("span",{className:"ml-1",children:e?e.replace(/([a-z])([A-Z])/g,"$1 $2").split(" ").map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join(" "):"Event"})]})]})]})}import ng from"next/link";import lg from"next/image";import{jsx as Co,jsxs as Dd}from"react/jsx-runtime";var Td={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1400px"};function dg({slug:e,image:t,title:a,description:o}){return Dd(ng,{href:e,className:"group/portfolio relative z-1 block aspect-[640/916] overflow-hidden rounded-5 p-6 md:p-[1.875rem]",children:[Co("span",{className:l("absolute inset-0 z-[2] bg-gradient-1 from-primary/0 to-primary [transition:all_500ms_ease] md:[transform:perspective(400px)_rotateX(90deg)_scaleY(0.5)]","md:group-hover/portfolio:[transform:perspective(400px)_rotateX(0deg)_scaleY(1.0)] md:group-hover/portfolio:[transition-delay:.1s] md:group-hover/portfolio:[transition:all_.7s_ease]")}),Co(lg,{src:t.src,alt:t.alt,fill:!0,sizes:`
13
- (min-width:${Td.md}) 50vw,
14
- (min-width:${Td.lg}) 25vw,
15
- 100vw
16
- `,className:"pointer-events-none [transform:scale(1.05)] [transition:.9s_ease] group-hover/portfolio:[transform:scale(1)]"}),Co("div",{className:"relative z-10 flex h-full flex-col",children:Dd("div",{className:"mt-auto divide-y md:opacity-0 md:transition-[transform,opacity] md:duration-500 md:group-hover/portfolio:opacity-100",children:[Co("h3",{className:"overflow-hidden text-md font-bold leading-[1.25] text-white md:text-lg",children:Co("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(-100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:a})}),Co("p",{className:"mt-[13px] overflow-hidden pt-[11px] text-body",children:Co("span",{className:"block [transition-delay:500ms] [transition:all_.9s_ease] md:[transform:translateY(100%)] md:group-hover/portfolio:[transform:translateY(0)]",children:o})})]})})]})}import Ad from"next/image";import Qi from"path";import{useState as Ji}from"react";import{Fragment as fg,jsx as qa,jsxs as Zi}from"react/jsx-runtime";function cg(e){try{let t=new URL(e),{hostname:a}=t;return a.endsWith("sharepoint.com")}catch{return!1}}function mg(e){return e.startsWith("http")}function pg(e,t){let a=e;if(cg(e))a=`/docs/api/content/sharepoint?url=${e}`;else if(mg(e))a=e;else if(t.source==="github"){let o=e.replace("./","");if(o.startsWith("/")&&(o=o.slice(1)),t.linked){if(t.linked.path){let r=Qi.dirname(t.linked.path);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/api/github/content?owner=${t.linked.owner}&repo=${t.linked.repo}&path=${o}&branch=${t.linked.branch}`}else{if(t.file){let r=Qi.dirname(t.file);r.startsWith(".")||(o=`${r}/${o}`)}a=`/docs/api/github/content?owner=${t.owner}&repo=${t.repo}&path=${o}&branch=${t.branch}`}}else if(e.startsWith("/"))a=e;else if(e.startsWith("./")){let o=e.replace("./","");t.file&&(o=`/${Qi.dirname(t.file)}/${o}`),a=o}else a="/image-not-found.png";return a}function ug({src:e,alt:t}){let[a,o]=Ji(!1),[r,s]=Ji(!1),[n,i]=Ji({width:0,height:0}),d=()=>{r&&o(!0)},m=()=>{o(!1)},c=p=>{let{naturalWidth:u,naturalHeight:g}=p.target;i({width:u,height:g}),s(u>300||g>300)};return Zi(fg,{children:[qa("div",{className:`relative mx-auto my-4 flex justify-center items-center cursor-pointer ${n.height>300?"h-[300px]":`h-[${n.height}px]`}`,onClick:d,children:qa(Ad,{sizes:"100vw",height:n.height,width:n.width,src:e,alt:t||"",onLoad:c,unoptimized:!0,className:"object-contain max-w-full max-h-full"})}),qa(Xt,{open:a,onOpenChange:o,children:Zi(Lt,{className:"flex flex-col items-center justify-center",children:[Zi(sa,{className:"flex w-full justify-end",children:[qa(ia,{className:"hidden",children:t}),qa(Oi,{})]}),qa("div",{className:"flex items-center justify-center",children:qa(Ad,{height:n.height,width:n.width,src:e,alt:t||"",unoptimized:!0,className:"object-contain"})})]})})]})}function gg({props:e,baseContext:t}){let{src:a}=e;return a=pg(a,t),qa(ug,{src:a,alt:e.alt})}import bg from"next/link";import{jsx as vg}from"react/jsx-runtime";function Xe({children:e,href:t,openNewTab:a,...o}){return vg(bg,{href:t,target:a?"_blank":"_self",...o,children:e})}import{jsx as Qt,jsxs as en}from"react/jsx-runtime";function hg(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function F2({icon:e,title:t,description:a,slug:o}){return en("article",{className:l(["group/service bg-card shadow-3 transition-transform duration-350 dark:shadow-none","relative z-1 block h-full space-y-6 overflow-hidden rounded-5 p-6 md:space-y-7 md:p-10","hover:[transform:translateY(-.5rem)]"]),children:[en("div",{className:"flex items-center text-foreground gap-5",children:[Qt("span",{className:"flex-none text-[2.5rem] transition-all duration-300 group-hover/service:scale-90 group-hover/service:text-accent md:text-[4rem]",children:hg(e)?Qt(at,{type:e.type,iconName:e.iconName,size:"sm"}):e}),Qt("h2",{className:"text-md font-medium leading-[1.25] md:text-lg",children:o?Qt(Xe,{href:o,children:t}):t})]}),Qt("p",{className:"text-foreground",children:a}),o&&Qt(C,{asChild:!0,className:l(["rounded-5 border p-5","group-hover/service:border-accent","border-current bg-transparent text-foreground hover:bg-transparent hover:text-accent","before:hidden after:hidden"]),children:en(Xe,{href:o,children:[Qt("span",{children:"Read More"}),Qt("span",{className:"relative pl-3 text-sm/[1] text-accent",children:Qt("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Qt("path",{d:"M11.8125 5.75C11.8125 6.24219 11.4023 6.65234 10.9375 6.65234H7V10.5898C7 11.0547 6.58984 11.4375 6.125 11.4375C5.63281 11.4375 5.25 11.0547 5.25 10.5898V6.65234H1.3125C0.820312 6.65234 0.4375 6.24219 0.4375 5.75C0.4375 5.28516 0.820312 4.90234 1.3125 4.90234H5.25V0.964844C5.25 0.472656 5.63281 0.0625 6.125 0.0625C6.58984 0.0625 7 0.472656 7 0.964844V4.90234H10.9375C11.4023 4.875 11.8125 5.28516 11.8125 5.75Z"})})})]})}),Qt("span",{className:"invisible absolute bottom-0 left-0 h-[2px] w-full scale-x-[30%] bg-accent opacity-0 transition-all duration-400 group-hover/service:visible group-hover/service:scale-x-100 group-hover/service:opacity-100"})]})}import{FaCircleCheck as yg,FaAnglesRight as xg}from"react-icons/fa6";import{jsx as Rt,jsxs as tr}from"react/jsx-runtime";function Md({title:e,description:t,features:a,price:o,duration:r,button:s}){return tr("div",{className:"relative grid rounded-5 border border-accent-200 dark:border-opacity-20 lg:grid-cols-[300px_1fr] 2xl:grid-cols-[386px_1fr]",children:[tr("div",{className:"h-full border-card p-6 dark:border-opacity-20 max-lg:border-b max-lg:pt-14 lg:border-r lg:p-10",children:[Rt("h3",{className:"mb-4 text-lg font-bold leading-[1.3] text-foreground lg:mb-5 lg:text-xl",children:e}),Rt("p",{children:t})]}),Rt("div",{className:"relative my-auto p-6 max-lg:pb-14 md:p-10",children:tr("div",{className:"flex flex-col justify-stretch gap-x-14 gap-y-5 md:flex-row md:items-center",children:[a&&a.length>0&&Rt("ul",{"aria-label":"pricing point list",className:"grid w-full grid-cols-1 md:grid-cols-2 gap-1 md:gap-2",style:{gridAutoFlow:"row"},children:a.map((n,i)=>tr("li",{className:"flex items-start gap-3 lg:gap-4",children:[Rt("span",{className:"text-accent pt-1",children:Rt(yg,{})}),Rt("span",{children:n})]},i))}),tr("p",{className:"font-secondary ml-auto text-xl font-bold leading-[1.25] text-accent-900 dark:text-white lg:text-2xl",children:[o&&o,Rt("sub",{className:"relative bottom-0 ml-1.5 inline-block text-base lg:text-md",children:r&&r})]}),s&&Rt("div",{className:"flex-none mr-0 sm:ml-auto",children:Rt(C,{asChild:!0,className:"border-2 p-5 border-accent bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground",children:tr(Xe,{href:s.href,openNewTab:s.openNewTab,children:[Rt("span",{className:"relative z-1",children:s.label}),Rt("span",{className:"relative z-1 pl-2",children:Rt(xg,{})})]})})})]})})]})}import{jsx as Qa,jsxs as Id}from"react/jsx-runtime";function W2({className:e,badge:t,title:a,subtitle:o}){return Id("div",{className:l("relative overflow-hidden rounded-xl bg-gradient-to-br from-[#A42368] to-[#A42368] m-6 px-6 py-16 md:px-12 md:py-24",e),children:[Id("div",{className:"relative z-10 mx-auto max-w-4xl text-center",children:[t&&Qa("div",{className:"mb-4",children:Qa("span",{className:"inline-block rounded-lg bg-[#A42368]/50 px-4 py-1.5 text-sm font-medium text-white backdrop-blur-sm",children:t})}),Qa("h1",{className:"mt-6 text-3xl font-bold tracking-tight text-white sm:text-4xl md:text-5xl lg:text-6xl",children:a}),Qa("p",{className:"mt-6 text-base text-gray-300 sm:text-lg md:text-xl",children:o})]}),Qa("div",{className:"absolute bottom-0 left-1/2 h-48 w-full -translate-x-1/2",style:{background:"radial-gradient(50% 50% at 50% 100%, rgba(164, 35, 104, 0.1) 0%, rgba(164, 35, 104, 0) 100%)"}}),Qa("div",{className:"absolute bottom-0 left-1/2 h-32 w-full -translate-x-1/2",children:Qa("svg",{viewBox:"0 0 1113 170",fill:"none",className:"absolute bottom-0 opacity-10",children:Qa("path",{d:"M-19 170H1113V0C1113 0 1001.5 101.5 547.5 101.5C93.5 101.5 -19 170 -19 170Z",fill:"currentColor",className:"text-white"})})})]})}import{jsx as Ie,jsxs as tn}from"react/jsx-runtime";function Ld(e){return e&&typeof e=="object"&&"type"in e&&"iconName"in e}function Z2({variant:e="outline",className:t,icon:a,iconSize:o="large",width:r="auto",order:s=0,heading:n,subheading:i,content:d,statistic:m,buttonText:c,buttonHref:p}){let u={solid:"bg-accent",outline:"bg-background border border-accent",gradient:"bg-gradient-to-br from-[#A42368] to-[#4A1030]",radial:"bg-gradient-to-br from-[#4A1030] to-[#2D0A1D] relative overflow-hidden",light:""},g={"1/4":"w-1/4","1/3":"w-1/3","1/2":"w-1/2",full:"w-full",auto:"w-full"};return tn("div",{className:l("rounded-3xl p-8 md:p-8 min-w-56 flex flex-col group",u[e],e==="outline"?"text-gray-900":"text-white",t,g[r],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${s+1}00`),children:[Ie("div",{className:"flex items-center gap-4 mb-2",children:Ie(wg,{icon:a,heading:n,variant:e,iconSize:o})}),m&&Ie("div",{className:"mb-6",children:Ie("div",{className:l("text-4xl text-wrap font-bold leading-none overflow-hidden",e==="outline"||e==="light"?"text-primary":"text-white"),children:m})}),i&&Ie("div",{className:"mb-4 text-xl md:text-2xl font-light",children:i}),d&&typeof d=="object"&&Ie("div",{className:l("space-y-6"),children:Ie(W,{enableGutter:!1,content:d,enableProse:!1,className:l(e==="outline"||e==="light"?"prose prose-headings:text-foreground prose-p:text-foreground":"prose prose-headings:text-white prose-p:text-gray-100")})}),d&&typeof d=="string"&&Ie("div",{className:l("space-y-6",e==="outline"||e==="light"?"text-gray-900":"text-gray-100"),children:d}),c&&Ie("div",{className:"mt-auto pt-6 flex items-center justify-center",children:Ie(C,{size:"lg",className:"text-white text-lg rounded-xl w-full mt-auto items-center justify-center",asChild:!0,children:Ie("a",{href:p,children:c})})}),e==="radial"&&Ie("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 wg=({icon:e,heading:t,variant:a,iconSize:o})=>e&&o==="small"?tn("div",{className:"flex items-start gap-4 mb-2",children:[Ld(e)&&Ie("div",{className:l("rounded-full p-0 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"mt-2":""),children:Ie(at,{type:e.type,iconName:e.iconName,size:"2x"})}),Ie("div",{className:l("font-semibold",a==="outline"||a==="light"?"text-primary":"text-white",o==="small"?"text-2xl":"text-3xl"),children:t})]}):e?tn("div",{className:"flex flex-col gap-4",children:[Ld(e)&&Ie("div",{className:l("h-12 w-12 mb-3 transform group-hover:scale-110 transition-transform duration-400",a==="outline"||a==="light"?"text-accent":""),children:Ie(at,{type:e.type,iconName:e.iconName,size:"4x"})}),Ie("h3",{className:l("font-semibold",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})]}):Ie("div",{className:"flex items-center gap-4 mb-2",children:Ie("div",{className:l("font-semibold",a==="outline"||a==="light"?"text-2xl text-primary":"text-3xl"),children:t})});import{jsx as Cg}from"react/jsx-runtime";var Ng=({children:e,cardsPerRow:t=3})=>{let a=`repeat(${t}, minmax(0, 1fr))`;return Cg("div",{className:"grid gap-6",style:{gridTemplateColumns:a},children:e})};import{useState as hf,useEffect as yf,useCallback as xf}from"react";import{Fragment as Pg,jsx as ar,jsxs as kg}from"react/jsx-runtime";function fC({icon:e,title:t,body:a,color:o="secondary"}){return ar(Pg,{children:kg("div",{className:"flex py-0 min-h-16",children:[ar("div",{className:"px-[2%] flex items-center",children:ar("div",{className:"w-12 h-12",children:ar(at,{type:e.type,iconName:e.name})})}),ar("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[30%]",children:t}),a&&ar("div",{className:"px-[1%] py-1.5 flex items-center text-2xl min-w-[50%]",children:a})]})})}import Sg from"next/image";import{jsx as Ms,jsxs as an}from"react/jsx-runtime";function yC(e){let{url:t,mainImage:a,excerpt:o,title:r}=e;return an("div",{className:"relative flex flex-col rounded-3xl bg-white p-2 shadow-md shadow-black/5 ring-1 ring-black/5 hover:shadow-lg transition-shadow group",children:[a&&Ms(Sg,{alt:r||"",src:a,layout:"responsive",width:1170,height:780,className:"rounded-2xl object-cover transform group-hover:scale-95 transition-transform duration-400"}),an("div",{className:"flex flex-1 flex-col p-4",children:[Ms("div",{className:"mt-2 font-medium text-center group-hover:scale-110 transition-transform duration-400 ease-in-out text-foreground dark:text-background group-hover:text-accent",children:an("a",{href:t,children:[Ms("span",{className:"absolute inset-0"}),r]})}),o&&Ms("div",{className:"mt-2 flex-1 text-sm/6 text-gray-500",children:o})]})]},t)}import{Fragment as Tg,jsx as Ta,jsxs as on}from"react/jsx-runtime";var Rg=(e,t)=>`from-brand-${e} to-brand-${t}`;function NC({...e}){let t=Rg(e.brandFrom||"one",e.brandTo||"two");return on("div",{className:`relative isolate flex items-center gap-x-6 overflow-hidden px-6 py-2.5 sm:px-3.5 sm:before:flex-1 bg-gradient-to-r ${t}`,children:[Ta("p",{className:"text-sm/6 text-primary-foreground",children:e.url?on("a",{href:e.url,children:[Ta("strong",{className:"font-semibold",children:e.title}),e.message&&Ta("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:Ta("circle",{r:1,cx:1,cy:1})}),Ta("span",{children:e.message&&e.message})]}):on(Tg,{children:[Ta("strong",{className:"font-semibold",children:e.title}),e.message&&Ta("svg",{viewBox:"0 0 2 2","aria-hidden":"true",className:"mx-2 inline size-0.5 fill-current",children:Ta("circle",{r:1,cx:1,cy:1})}),e.message&&e.message]})}),Ta("div",{className:"flex flex-1 justify-end"})]})}import Dg,{useState as zd}from"react";import{ChevronRight as Ag,ChevronDown as Mg,Users as Ig,Code as Bd,GanttChart as Lg,DraftingCompass as Bg,Search as zg}from"lucide-react";import{jsx as Le,jsxs as or}from"react/jsx-runtime";var Eg={Architecture:Le(Bg,{className:"h-5 w-5 text-blue-600"}),Engineering:Le(Bd,{className:"h-5 w-5 text-green-600"}),Development:Le(Bd,{className:"h-5 w-5 text-purple-600"}),Delivery:Le(Lg,{className:"h-5 w-5 text-red-600"})},Fg=({person:e,level:t,onToggle:a,isExpanded:o,isHighlighted:r})=>{let s=e.reports.length>0;return Le("div",{className:`ml-${t*4} mb-2`,children:or("div",{className:`flex items-center p-3 rounded-lg shadow-sm border ${r?"bg-card border-primary":"bg-white border-gray-200"}`,children:[s&&Le("button",{onClick:a,className:"mr-2","aria-label":o?"Collapse":"Expand",children:o?Le(Mg,{className:"h-4 w-4"}):Le(Ag,{className:"h-4 w-4"})}),Le("div",{className:"w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3",children:Le(Ig,{className:"h-6 w-6 text-gray-500"})}),or("div",{children:[Le("h3",{className:"text-sm font-semibold text-gray-800",children:e.name}),or("div",{className:"flex items-center mt-1",children:[Eg[e.discipline],Le("span",{className:"ml-1 text-xs text-gray-600",children:e.discipline})]})]}),Le("span",{className:"ml-auto text-xs font-medium text-gray-500 bg-gray-100 px-2 py-1 rounded",children:e.grade})]})})},Ed=({person:e,level:t,searchTerm:a})=>{let[o,r]=zd(t<1),s=()=>r(!o),n=c=>c.name.toLowerCase().includes(a.toLowerCase())||c.discipline.toLowerCase().includes(a.toLowerCase())||c.grade.toLowerCase().includes(a.toLowerCase()),i=c=>n(c)||c.reports.some(i),d=a===""||i(e),m=n(e);return Dg.useEffect(()=>{a!==""&&i(e)&&r(!0)},[a,e]),d?or("div",{children:[Le(Fg,{person:e,level:t,onToggle:s,isExpanded:o,isHighlighted:m}),o&&e.reports.map((c,p)=>Le(Ed,{person:c,level:t+1,searchTerm:a},p))]}):null};function AC(){let[e,t]=zd("");return or("div",{className:"max-w-5xl mx-auto p-6",children:[Le("h2",{className:"text-2xl font-bold mb-6 text-center text-gray-800",children:"Who's who"}),or("div",{className:"mb-4 relative",children:[Le("input",{type:"text",placeholder:"Search by name, discipline, or grade",value:e,onChange:o=>t(o.target.value),className:"w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500","aria-label":"Search the organization chart"}),Le(zg,{className:"absolute right-3 top-2.5 h-5 w-5 text-gray-400"})]}),Le("div",{className:"space-y-4",children:[{name:"Alice Johnson",discipline:"Architecture",grade:"Director",reports:[{name:"Bob Smith",discipline:"Engineering",grade:"Senior Manager",reports:[{name:"Charlie Brown",discipline:"Development",grade:"Manager",reports:[]},{name:"Diana Ross",discipline:"Engineering",grade:"Manager",reports:[]},{name:"Edward Norton",discipline:"Engineering",grade:"Manager",reports:[]}]},{name:"Fiona Apple",discipline:"Architecture",grade:"Senior Manager",reports:[{name:"George Clooney",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Helen Mirren",discipline:"Architecture",grade:"Manager",reports:[]},{name:"Ian McKellen",discipline:"Architecture",grade:"Manager",reports:[]}]},{name:"Julia Roberts",discipline:"Development",grade:"Senior Manager",reports:[{name:"Kevin Spacey",discipline:"Development",grade:"Manager",reports:[]},{name:"Liam Neeson",discipline:"Development",grade:"Manager",reports:[]},{name:"Meryl Streep",discipline:"Development",grade:"Manager",reports:[]}]}]},{name:"Nicole Kidman",discipline:"Delivery",grade:"Director",reports:[{name:"Owen Wilson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Penelope Cruz",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Quentin Tarantino",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Rachel McAdams",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Samuel L. Jackson",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Tom Hanks",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Uma Thurman",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Viola Davis",discipline:"Delivery",grade:"Manager",reports:[]}]},{name:"Will Smith",discipline:"Delivery",grade:"Senior Manager",reports:[{name:"Xavier Dolan",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Yalitza Aparicio",discipline:"Delivery",grade:"Manager",reports:[]},{name:"Zoe Saldana",discipline:"Delivery",grade:"Manager",reports:[]}]}]}].map((o,r)=>Le(Ed,{person:o,level:0,searchTerm:e},r))})]})}import{Users as Hg,FileText as jg,Lightbulb as Og,PoundSterling as $g,User as Fd,Users2 as Gg}from"lucide-react";import{jsx as te,jsxs as xe}from"react/jsx-runtime";function zC({teamMembers:e={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:t=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:a=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:o="\xA3150,000 for delivery of listed outputs"}){return xe("div",{className:"grid gap-6 lg:grid-cols-3",children:[xe("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[xe(Y,{className:"flex-grow",children:[te(de,{className:"bg-primary text-primary-foreground",children:xe(ce,{className:"flex items-center gap-2",children:[te(Hg,{className:"h-5 w-5"}),"Team"]})}),xe(J,{className:"p-6",children:[te("p",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),xe("div",{className:"space-y-6",children:[te("div",{className:"space-y-2",children:e.leadership.map((r,s)=>xe("div",{className:"flex items-center justify-between",children:[xe("div",{className:"flex items-center gap-2",children:[te(Fd,{className:"h-4 w-4 text-muted-foreground"}),te("span",{children:r.role})]}),r.isFTE&&te("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),te("div",{className:"space-y-2",children:e.core.map((r,s)=>xe("div",{className:"flex items-center justify-between",children:[xe("div",{className:"flex items-center gap-2",children:[te(Fd,{className:"h-4 w-4 text-muted-foreground"}),te("span",{children:r.role}),r.count&&xe("span",{children:["(",r.count,"x)"]})]}),r.isFTE&&te("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),xe("div",{children:[xe("div",{className:"flex items-center gap-2 mb-2",children:[te(Gg,{className:"h-4 w-4 text-muted-foreground"}),te("span",{children:"SME input:"})]}),te("div",{className:"ml-6 text-sm text-muted-foreground",children:e.sme.join(", ")})]})]})]})]}),xe(Y,{children:[te(de,{className:"bg-primary text-primary-foreground",children:xe(ce,{className:"flex items-center gap-2",children:[te($g,{className:"h-5 w-5"}),"Fee"]})}),te(J,{className:"p-6",children:te("p",{className:"text-lg font-semibold",children:o})})]})]}),xe(Y,{className:"lg:col-span-1 flex flex-col",children:[te(de,{className:"bg-primary text-primary-foreground",children:xe(ce,{className:"flex items-center gap-2",children:[te(jg,{className:"h-5 w-5"}),"Outputs"]})}),xe(J,{className:"p-6 flex-grow overflow-auto",children:[te("ol",{className:"list-decimal list-inside space-y-4",children:t.map((r,s)=>xe("li",{className:"text-sm",children:[xe("span",{className:"font-medium",children:[r.title,":"]})," ",te("span",{className:"text-muted-foreground",children:r.description})]},s))}),te("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),xe(Y,{className:"lg:col-span-1 flex flex-col",children:[te(de,{className:"bg-primary text-primary-foreground",children:xe(ce,{className:"flex items-center gap-2",children:[te(Og,{className:"h-5 w-5"}),"Benefits"]})}),te(J,{className:"p-6 flex-grow overflow-auto",children:te("ul",{className:"space-y-4",children:a.map((r,s)=>xe("li",{className:"flex gap-2 text-sm",children:[te("span",{className:"text-primary",children:"\u2713"}),te("span",{children:r})]},s))})})]})]})}import{BarChart3 as _g,CogIcon as Vg,Building2 as Ug,BadgeCheck as Wg}from"lucide-react";import{jsx as ae,jsxs as ma}from"react/jsx-runtime";function jC(){return ae("div",{className:"w-full bg-primary text-white p-8 rounded-lg border border-dashed border-white/30",children:ma("div",{className:"grid md:grid-cols-4 gap-8 relative",children:[ma("div",{className:"space-y-4 bg-primary p-3 rounded-lg",children:[ma("div",{className:"flex items-center gap-2 relative z-10",children:[ae("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:ae("span",{className:"text-[#0B3B4E]",children:"1"})}),ae(_g,{className:"w-8 h-8"})]}),ae("h2",{className:"text-xl font-semibold",children:"Agile Delivery and Leadership in Complex Environments"}),ae("p",{className:"text-secondary text-sm",children:"We excel in delivering technology solutions in complex environments with evolving customer needs, regulatory constraints, and resource limitations."}),ma("ul",{className:"text-sm",children:[ae("li",{children:"Strategy definition"}),ae("li",{children:"Programme leadership"}),ae("li",{children:"Detailed planning"}),ae("li",{children:"\u2022 Financial control"}),ae("li",{children:"\u2022 Rigorous governance"})]})]}),ma("div",{className:"space-y-4",children:[ma("div",{className:"flex items-center gap-2 relative z-10",children:[ae("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:ae("span",{className:"text-[#0B3B4E]",children:"2"})}),ae(Vg,{className:"w-8 h-8"})]}),ae("h2",{className:"text-xl font-semibold",children:"Significant Technical Expertise in Cloud, AI, & Data"}),ae("p",{className:"text-sky-200 text-sm",children:"Our architects and engineers possess extensive expertise in designing, building, and operating modern, leading-edge technologies and enterprise-class solutions."}),ae("p",{className:"text-sm",children:"We deploy highly experienced, multidisciplinary teams skilled in product delivery, architecture, software development, DevOps, and security."})]}),ma("div",{className:"space-y-4",children:[ma("div",{className:"flex items-center gap-2 relative z-10",children:[ae("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:ae("span",{className:"text-[#0B3B4E]",children:"3"})}),ae(Ug,{className:"w-8 h-8"})]}),ae("h2",{className:"text-xl font-semibold",children:"Deep Public Sector, FS, Regulatory & Security Expertise"}),ae("p",{className:"text-sky-200 text-sm",children:"We understand how to navigate public sector and financial services regulation and how to deliver compliant and robustly secure cutting-edge solutions in this context."}),ae("p",{className:"text-sm",children:"We have successfully completed projects for numerous public sector and Financial Services engagements, including XXX, XXXXXX XXXXXX, XXXXX XXXXXXXXXXXXXXX, XXXXXXXXXXXXXX and many other institutions."})]}),ma("div",{className:"space-y-4",children:[ma("div",{className:"flex items-center gap-2 relative z-10",children:[ae("div",{className:"w-10 h-10 rounded-full border-2 flex items-center justify-center bg-white",children:ae("span",{className:"text-[#0B3B4E]",children:"4"})}),ae(Wg,{className:"w-8 h-8"})]}),ae("h2",{className:"text-xl font-semibold",children:"Extensive track record of delivery within XXXX"}),ae("p",{className:"text-sky-200 text-sm",children:"We have collaborated closely with the XXXX since 2020 and understand its technology landscape and ambitions."}),ae("p",{className:"text-sm",children:"As an XXXX strategic partner, we have led numerous transformation programmes, providing expertise in architectural design, engineering standards and technical leadership, and optimisations."})]})]})})}import{jsx as Hr,jsxs as Kg}from"react/jsx-runtime";var Is=e=>{let{columns:t,theme:a}=e,o={full:"12",half:"6",oneThird:"4",twoThirds:"8"},r={none:"",line:"border border-primary p-4 rounded-lg"},s=i=>{if(i.type&&i.type==="block"&&i.fields&&(i.fields.blockType==="imageBlock"||i.fields.blockType==="mediaBlock"))return!0;if(i.root&&i.root.children){for(let d of i.root.children)if(s(d))return!0}if(i.children){for(let d of i.children)if(s(d))return!0}return!1},n=(i,d,m)=>{if(d==="none"||m==="full")return{processedRichText:i,heading:null};let c=i,p=null;return i&&i.root&&i.root.children&&i.root.children[0].tag==="h2"&&(c={...i,root:{...i.root,children:i.root.children.slice(1)}},p=i.root.children[0]),{processedRichText:c,heading:p}};return Hr("div",{className:"my-6",children:Hr("div",{className:l("grid grid-cols-4 lg:grid-cols-12 gap-y-8",a?.settings?.box?"gap-x-8":"gap-x-16"),children:t&&t.length>0&&t.map((i,d)=>{let{enableLink:m,link:c,richText:p,size:u}=i,{processedRichText:g,heading:b}=n(p,a?.settings?.box||"none",u||"full");return Kg("div",{className:l(`col-span-4 lg:col-span-${o[u]}`,{"md:col-span-2":u!=="full"},r[u!=="full"&&!s(p)&&a?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${d+1}00`),children:[b&&Hr("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:b.children[0].text}),g&&Hr(W,{content:g,enableGutter:!1,className:"rich-text"}),m&&Hr(la,{...c})]},d)})})})};import rn from"next/image";import{jsx as Da,jsxs as sn}from"react/jsx-runtime";function YC({image:e,subtitle:t="Case study",title:a,companyLogo:o,customerLogo:r}){return sn("div",{className:"relative w-full overflow-hidden bg-white pb-16 pt-[calc(80vw*0.5)]",children:[Da("div",{className:"absolute left-0 top-0 h-[calc(100%+80vw*0.5)] w-full overflow-hidden",children:Da("div",{className:"absolute left-[calc(50%-40vw*0.5)] top-[calc(40vw*0.5*-0.29)] h-[80vw] w-[80vw] origin-top-left -rotate-45 overflow-hidden rounded-[24vw]",children:Da(rn,{src:e,alt:"Header background",className:"h-full w-full rotate-45 scale-[1.42] object-cover object-center",width:1e3,height:1e3,priority:!0})})}),sn("div",{className:"absolute left-4 top-4 flex flex-col items-start gap-4 md:left-8 md:top-8",children:[o&&Da("div",{className:"h-16 w-32 md:h-24 md:w-48",children:Da(rn,{src:o,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})}),r&&Da("div",{className:"h-10 w-20 md:h-12 md:w-24",children:Da(rn,{src:r,alt:"Customer logo",className:"h-full w-full object-contain",width:96,height:48})})]}),sn("div",{className:"container relative mx-auto px-4",children:[Da("p",{className:"mb-4 text-lg font-medium text-sky-400",children:t}),Da("h1",{className:"max-w-4xl text-[2.75rem] font-bold leading-[1.15] tracking-tight text-[#051527] md:text-6xl",children:a})]})]})}import{Fragment as Ud}from"react";import Wd from"next/image";import{Fragment as Od,jsx as rr,jsxs as Yg}from"react/jsx-runtime";var jd=e=>{let{customId:t,reusableContent:a}=e;return typeof a=="object"&&a!==null?rr(Xg,{blocks:a.layout}):rr(Od,{})},Hd={content:Is,cta:qo,mediaBlock:Ya,imageBlock:Ya,features:Jo},Xg=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?rr(Od,{children:t.map((o,r)=>{let{blockType:s}=o,n=o?.theme;if(s&&s in Hd){let i=Hd[s];if(i)return Yg("div",{className:"py-6 relative",children:[rr(nn,{block:o,index:r}),rr("div",{className:l(n?.settings?.theme==="dark"?"dark":n?.settings?.theme==="green"?"green":""),children:rr(i,{...o})})]},r)}return null})}):null};import qg from"react";import*as sr from"@radix-ui/react-collapsible";import{ChevronDownIcon as Qg,ChevronUpIcon as Jg}from"@radix-ui/react-icons";import{jsx as ko,jsxs as $d}from"react/jsx-runtime";var Gd=({title:e,richText:t})=>{let[a,o]=qg.useState(!1);return ko("div",{className:"border rounded-lg overflow-hidden",children:$d(sr.Root,{className:l("w-full"),open:a,onOpenChange:o,children:[$d(sr.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[ko("h2",{className:"text-lg font-medium",children:e}),a?ko(Jg,{className:"h-6 w-6"}):ko(Qg,{className:"h-6 w-6"})]}),ko(sr.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:ko("div",{className:"px-4 py-3 bg-white",children:ko(W,{content:t||{},enableGutter:!1})})})]})})};import{jsx as F,jsxs as Jt}from"react/jsx-runtime";var Ls={content:Is,cta:qo,mediaBlock:Ya,collapsibleArea:Gd,imageBlock:Ya,features:Jo,reusableContentBlock:jd},Po=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?F("section",{id:"render-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((o,r)=>{let{blockType:s}=o,n=o?.theme;if(s&&s in Ls){let i=Ls[s];if(s==="reusableContentBlock")return F(Ud,{children:F(Po,{blocks:o.reusableContent.layout})},r);if(i)return Jt("div",{className:l("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[F(nn,{block:o,index:r}),F("div",{className:l("container h-full relative",n?.settings?.theme||"dark"),children:F(i,{...o})})]},r)}return null})}):null},nn=e=>{if(!("theme"in e.block))return F("div",{className:l("absolute inset-0 w-screen h-full dark bg-background")});let t=e.block?.theme;if(t.settings.background==="image"){let a={imagePosition:t.settings.imagePosition||"left",overlay:t.settings.overlay!==void 0?t.settings.overlay:!0};return Jt("div",{className:l("absolute inset-0 w-full h-full bg-background",t.settings.theme||"dark"),children:[F(Wd,{src:t.settings?.image?.url||"/placeholder.svg",alt:t.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),t.settings.overlay&&F("div",{className:"absolute inset-0",style:{background:a.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 F("div",{className:l("absolute inset-0 w-screen h-full bg-background",t.settings.theme||"dark")})},Nk=e=>{let{blocks:t}=e;return t&&Array.isArray(t)&&t.length>0?F("main",{id:"content-blocks",className:l(e.fill?"h-full w-full":""),children:t.map((o,r)=>{let{blockType:s}=o,n=o?.theme;if(s&&s in Ls){let i=Ls[s];if(s==="reusableContentBlock")return F(Ud,{children:F(Po,{blocks:o.reusableContent.layout})},r);if(i)return F(Zg,{block:o,allBlocks:t,index:r,children:F(i,{...o})})}return null})}):null},Zg=e=>{if(e.index===0)return Jt("section",{className:"relative flex w-full",children:[F("div",{className:l("absolute inset-0 w-screen h-full light bg-background")}),F("div",{className:l("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let t=d=>d%2===0?"light":"dark",a=({index:d,allBlocks:m})=>d===1?F(_d,{position:"left"}):r(d,m)==="dark"&&n(d,m)==="light"?F(Vd,{position:"left"}):r(d,m)==="light"&&n(d,m)==="dark"?F(_d,{position:"left"}):null,o=({index:d,allBlocks:m})=>s(d,m)==="light"&&n(d,m)==="dark"?F(Vd,{position:"left"}):null,r=(d,m)=>{if(d===1)return"light";let c=m[d-1];return"theme"in c&&c.theme?.settings?.theme==="light"?"light":"dark"},s=(d,m)=>{if(d===m.length-1)return"dark";if(d===0)return"light";let c=m[d+1];return"theme"in c&&c.theme?.settings?.theme==="light"?"light":"dark"},n=(d,m)=>{if(d===m.length-1)return"dark";let c=m[d];return c.theme&&c.theme?.settings?.theme==="light"?"light":"dark"};if(!e.block.theme||!e.block.theme.settings)return r(e.index,e.allBlocks)==="dark"?Jt("section",{id:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[F("div",{className:l("absolute inset-0 w-screen dark bg-background")}),F("div",{className:l("container relative","dark bg-background py-1"),children:e.children})]}):Jt("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[F(a,{index:e.index,allBlocks:e.allBlocks}),F("div",{className:l("absolute inset-0 w-screen")}),F("div",{className:"bg-black",children:F("div",{className:l("container relative","dark bg-background py-1"),children:e.children})})]});if(!("theme"in e.block)||r(e.index,e.allBlocks)===n(e.index,e.allBlocks)){let d=n(e.index,e.allBlocks);return Jt("section",{id:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[F("div",{className:l("absolute inset-0 w-screen bg-background",d)}),F("div",{className:l("container relative bg-background py-1",d,d==="light"&&"py-12"),children:e.children})]})}if(r(e.index,e.allBlocks)!==n(e.index,e.allBlocks)){let d=n(e.index,e.allBlocks);return Jt("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[F(a,{index:e.index,allBlocks:e.allBlocks}),F("div",{className:l("absolute inset-0 w-screen bg-background",d)}),F("div",{className:l("container relative bg-background min-h-[22em] content-center py-1",d,d==="light"&&"py-12"),children:e.children})]})}if(!("theme"in e.block))return Jt("div",{className:l("container h-full relative","dark"),children:[F("div",{className:l("absolute inset-0 w-screen h-full dark bg-background py-1")}),e.children]});let i=e.block?.theme;if(i.settings.background==="image"){let d={imagePosition:i.settings.imagePosition||"left",overlay:i.settings.overlay!==void 0?i.settings.overlay:!0};return Jt("div",{className:l("absolute inset-0 w-full h-full bg-background",i.settings.theme||"dark"),children:[F(Wd,{src:i.settings?.image?.url||"/placeholder.svg",alt:i.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),i.settings.overlay&&F("div",{className:"absolute inset-0",style:{background:d.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 F("div",{className:l("absolute inset-0 w-screen h-full bg-background",i.settings.theme||"dark")})},_d=({position:e})=>F("div",{className:"w-full aspect-[1920/360] z-20 relative -top-[2px] bg-white",children:F("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"2 2 1920 360",preserveAspectRatio:"none",style:{transform:"rotateX(180deg)",position:"absolute",bottom:"-2px"},className:l("w-full block overflow-hidden"),children:F("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),Vd=({position:e})=>F("div",{className:"w-full relative z-20 aspect-[1920/332] overflow-hidden ",children:Jt("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[F("defs",{children:Jt("mask",{id:"mask",children:[F("rect",{width:"100%",height:"100%",fill:"white"}),F("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),F("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});import rf from"clsx";import{useRouter as ef}from"next/navigation";import{useCallback as Kd,useEffect as tf,useRef as jr}from"react";function af({external:e=!1,newTab:t=!1,scroll:a=!0}){let o=ef(),r=jr(null),s=jr(null),n=jr(0),i=jr(!1),d=jr(0),m=Kd(p=>{if(p.target){let u=p.target,g=+new Date,b=u?.closest("a");d.current=p.button,b?i.current=!0:(i.current=!1,n.current=g)}},[o,r,s,n]),c=Kd(p=>{if(s.current?.href){let g=+new Date-n.current;if(s.current?.href&&g<=250&&!i.current&&d.current===0&&!p.ctrlKey)if(e){let b=t?"_blank":"_self";window.open(s.current.href,b)}else o.push(s.current.href,{scroll:a})}},[o,r,s,n]);return tf(()=>{let p=r.current;return p&&(p.addEventListener("mousedown",m),p.addEventListener("mouseup",c)),()=>{p&&p&&(p?.removeEventListener("mousedown",m),p?.removeEventListener("mouseup",c))}},[r,s,o]),{card:{ref:r},link:{ref:s}}}var Xd=af;import of from"next/link";import{Fragment as Yd}from"react";import{jsx as pa,jsxs as Bs}from"react/jsx-runtime";var zs=e=>{let{card:t,link:a}=Xd({}),{className:o,doc:r,relationTo:s,showCategories:n,title:i}=e,{slug:d,categories:m,meta:c,title:p}=r||{},{description:u,image:g}=c||{},b=m&&Array.isArray(m)&&m.length>0,f=i||p,y=u?.replace(/\s/g," "),R=`/${s}/${d}`;return Bs("article",{className:l("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",o),ref:t.ref,children:[Bs("div",{className:"relative w-full ",children:[!g&&pa("div",{className:"",children:"No image"}),g&&typeof g!="string"&&pa(da,{resource:g,size:"33vw"})]}),Bs("div",{className:"p-4",children:[n&&b&&pa("div",{className:"uppercase text-sm mb-4",children:n&&b&&pa("div",{children:m?.map((P,h)=>{if(typeof P=="object"){let{title:w}=P,x=w||"Untitled category",k=h===m.length-1;return Bs(Yd,{children:[x,!k&&pa(Yd,{children:", \xA0"})]},h)}return null})})}),f&&pa("div",{className:"prose",children:pa("h3",{children:pa(of,{className:"not-prose",href:R,ref:a.ref,children:f})})}),u&&pa("div",{className:"mt-2",children:u&&pa("p",{children:y})})]})]})};import{jsx as ln,jsxs as sf}from"react/jsx-runtime";var jk=e=>{let{className:t,docs:a,introContent:o}=e;return sf("div",{className:rf("container",t),children:[o&&ln(W,{content:o,enableGutter:!1}),ln("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 md:gap-8 items-stretch",children:a?.map((r,s)=>typeof r=="string"?null:ln(zs,{doc:r,relationTo:"posts",showCategories:!0},s))})]})};import{AnimatePresence as ec,motion as Jd}from"framer-motion";import"pagedjs";import{jsx as Or}from"react/jsx-runtime";var Vk=e=>{let{posts:t}=e;return Or("div",{className:l("container"),children:Or("div",{children:Or("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:t?.map((a,o)=>typeof a=="object"&&a!==null?Or("div",{className:"col-span-4",children:Or(zs,{className:"h-full",doc:a,relationTo:"posts",showCategories:!0})},o):null)})})})};import nf from"clsx";import lf from"next/image";import{jsx as df}from"react/jsx-runtime";var Yk=e=>{let{loading:t,priority:a,className:o}=e;return df(lf,{alt:"Payload Logo",width:193,height:34,loading:t||"lazy",fetchPriority:a||"low",decoding:"async",className:nf("max-w-[9.375rem] w-full h-[34px]",o),src:"https://raw.githubusercontent.com/payloadcms/payload/main/packages/ui/src/assets/payload-logo-light.svg"})};import{jsxs as pf}from"react/jsx-runtime";var cf={plural:"Docs",singular:"Doc"},mf={posts:{plural:"Posts",singular:"Post"}},Jk=e=>{let{className:t,collection:a,collectionLabels:o,currentPage:r,limit:s,totalDocs:n}=e,i=(r?r-1:1)*(s||1)+1;n&&i>n&&(i=0);let d=(r||1)*(s||1);n&&d>n&&(d=n);let{plural:m,singular:c}=o||mf[a||""]||cf||{};return pf("div",{className:[t,"font-semibold"].filter(Boolean).join(" "),children:[(typeof n>"u"||n===0)&&"Search produced no results.",typeof n<"u"&&n>0&&`Showing ${i}${i>0?` - ${d}`:""} of ${n} ${n>1?m:c}`]})};import{ChevronLeft as uf,ChevronRight as gf,MoreHorizontal as ff}from"lucide-react";import*as dn from"react";import{jsx as ua,jsxs as gn}from"react/jsx-runtime";var cn=({className:e,...t})=>ua("nav",{"aria-label":"pagination",className:l("mx-auto flex w-full justify-center",e),role:"navigation",...t});cn.displayName="Pagination";var mn=dn.forwardRef(({className:e,...t},a)=>ua("ul",{className:l("flex flex-row items-center gap-1",e),ref:a,...t}));mn.displayName="PaginationContent";var Aa=dn.forwardRef(({className:e,...t},a)=>ua("li",{className:l("",e),ref:a,...t}));Aa.displayName="PaginationItem";var So=({className:e,isActive:t,size:a="icon",...o})=>ua("button",{"aria-current":t?"page":void 0,className:l(co({size:a,variant:t?"outline":"ghost"}),e),...o});So.displayName="PaginationLink";var pn=({className:e,...t})=>gn(So,{"aria-label":"Go to previous page",className:l("gap-1 pl-2.5",e),size:"default",...t,children:[ua(uf,{className:"h-4 w-4"}),ua("span",{children:"Previous"})]});pn.displayName="PaginationPrevious";var un=({className:e,...t})=>gn(So,{"aria-label":"Go to next page",className:l("gap-1 pr-2.5",e),size:"default",...t,children:[ua("span",{children:"Next"}),ua(gf,{className:"h-4 w-4"})]});un.displayName="PaginationNext";var Es=({className:e,...t})=>gn("span",{"aria-hidden":!0,className:l("flex h-9 w-9 items-center justify-center",e),...t,children:[ua(ff,{className:"h-4 w-4"}),ua("span",{className:"sr-only",children:"More pages"})]});Es.displayName="PaginationEllipsis";import{useRouter as bf}from"next/navigation";import{jsx as Ye,jsxs as vf}from"react/jsx-runtime";var d5=e=>{let t=bf(),{className:a,page:o,totalPages:r}=e,s=o<r,n=o>1,i=o-1>1,d=o+1<r;return Ye("div",{className:l("my-12",a),children:Ye(cn,{children:vf(mn,{children:[Ye(Aa,{children:Ye(pn,{disabled:!n,onClick:()=>{t.push(`/posts/page/${o-1}`)}})}),i&&Ye(Aa,{children:Ye(Es,{})}),n&&Ye(Aa,{children:Ye(So,{onClick:()=>{t.push(`/posts/page/${o-1}`)},children:o-1})}),Ye(Aa,{children:Ye(So,{isActive:!0,onClick:()=>{t.push(`/posts/page/${o}`)},children:o})}),s&&Ye(Aa,{children:Ye(So,{onClick:()=>{t.push(`/posts/page/${o+1}`)},children:o+1})}),d&&Ye(Aa,{children:Ye(Es,{})}),Ye(Aa,{children:Ye(un,{disabled:!s,onClick:()=>{t.push(`/posts/page/${o+1}`)}})})]})})})};import qd from"next/image";import{jsx as ft,jsxs as Fs}from"react/jsx-runtime";var Qd=({logoImage:e})=>Fs("footer",{className:`absolute bottom-0 left-0 w-full py-2 px-8 flex justify-between items-center transition-colors duration-300
17
- dark bg-background text-primary`,children:[Fs("div",{className:"flex px-6 items-center space-x-2",children:[e&&ft("img",{src:e.src,alt:"Cortex Reply Logo",className:"h-8"}),ft("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),ft("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]}),$r=({title:e})=>ft("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:ft("div",{className:"container",children:ft("span",{className:"container text-4xl px-6",children:e})})}),Gr=e=>{let{title:t,hero:a,logoImage:o}=e;return Fs("div",{className:"relative w-full h-full flex flex-col justify-center min-h-[500px] p-10",children:[ft("div",{className:"absolute inset-0",children:ft(qd,{src:a.media&&a.media.url?a.media.url:"/hero.png",alt:"Background",width:a.media&&a.media.width?a.media.width??1920:1920,height:a.media&&a.media.height?a.media.height??1080:1080,style:{objectFit:"cover"},className:"opacity-80 h-full dark:opacity-60"})}),ft("div",{className:"absolute left-16 z-50 top-4 flex flex-col items-start gap-4",children:o&&ft("div",{className:"h-24",children:ft(qd,{src:o.src,alt:"Company logo",className:"h-full w-full object-contain",width:192,height:96})})}),ft("div",{className:"absolute inset-0 bg-black/30 dark:bg-black/50"}),Fs("div",{className:"relative pl-24 z-10 max-w-3xl",children:[ft("p",{className:"text-lg font-medium pt-48 text-accent mb-2",children:t}),a.richText&&ft(W,{content:a.richText,enableGutter:!1,className:"prose-headings:text-white prose-p:text-white"})]})]})};import{Fragment as Nf,jsx as ot,jsxs as Zd}from"react/jsx-runtime";var fn=e=>{let[t,a]=hf(0),{blocks:o,hero:r,logoImage:s}=e,n=o&&Array.isArray(o)&&o.length>0,d=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...o],m=f=>{a(f)},c=()=>{a(f=>(f+1)%d.length)},p=()=>{a(f=>(f-1+d.length)%d.length)},g=xf(((f,y)=>{let R;return(...P)=>{clearTimeout(R),R=setTimeout(()=>f(...P),y)}})(f=>{f.deltaY>0?c():p()},300),[]),b=f=>{f.key==="ArrowDown"?c():f.key==="ArrowUp"&&p()};return yf(()=>(window.addEventListener("wheel",g),window.addEventListener("keydown",b),()=>{window.removeEventListener("wheel",g),window.removeEventListener("keydown",b)}),[]),Zd("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[ot("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&&d.map((f,y)=>ot("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${t===y?"bg-accent":"bg-gray-600"}`,onClick:()=>m(y),children:ot("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:f.blockName})},f.id))}),ot(ec,{children:d.map((f,y)=>ot("div",{id:`slide-${y}`,className:"print-section",children:ot("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
18
- ${y===t?"opacity-100":"opacity-0"}
19
- w-full h-full bg-cover bg-center`,children:y===0?ot(Gr,{hero:r,title:e.title,logoImage:s}):Zd(Nf,{children:[f.blockName&&ot($r,{title:f.blockName}),ot(Po,{blocks:[f],fill:!0}),ot(Qd,{logoImage:s})]})})},y))}),ot("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:c,children:ot(wf,{})})]})},wf=()=>ot(ec,{children:ot(Jd.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:ot(Jd.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")})})});import Cf from"next/link";import kf from"next/image";import{jsx as _r,jsxs as bn}from"react/jsx-runtime";function Pf({blogs:e,width:t=3}){return _r("div",{className:"w-full max-w-7xl mx-auto px-4 py-8",children:_r("div",{className:`grid md:grid-cols-2 lg:grid-cols-${t} gap-6`,children:e&&e.map((a,o)=>_r(Cf,{href:`/insights/${a.slug}`,className:"group rounded-2xl overflow-hidden border bg-card text-card-foreground shadow hover:shadow-lg transition-shadow",children:bn("div",{className:"relative size-full",children:[_r(kf,{src:a.image?.src||"/assets/images/blog/gradient.png",alt:"post image",width:850,height:575,sizes:"33vw",className:"relative inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),bn("div",{className:"absolute inset-0 px-4 pb-2 bg-gradient-to-t from-card to-transparrent flex flex-col justify-end",children:[bn("div",{className:"text-sm text-card-foreground mb-2",children:[a.authors&&a.authors.map(r=>`${r.name} \xB7 `),a.publishedAt&&new Date(a.publishedAt).toLocaleDateString("en-GB",{day:"numeric",month:"long"})]}),_r("h2",{className:"text-xl font-bold text-foreground group-hover:text-accent group-hover:scale-105 transition-transform duration-200 ease-in-out",children:a.title})]})]})},o))})})}import{jsx as qe,jsxs as bt}from"react/jsx-runtime";function Sf({title:e,subtitle:t,description:a,missionTitle:o,missionDescription:r,images:s,raisedAmount:n,companiesCount:i,dealsClosed:d,leadsGenerated:m}){return qe("div",{className:"overflow-hidden bg-white py-24 sm:py-32",children:bt("div",{className:"mx-auto max-w-2xl px-6 lg:max-w-7xl lg:px-8",children:[bt("div",{className:"max-w-4xl",children:[qe("p",{className:"text-base/7 font-semibold text-indigo-600",children:t}),qe("h1",{className:"mt-2 text-pretty text-4xl font-semibold tracking-tight text-gray-900 sm:text-5xl",children:e}),qe("p",{className:"mt-6 text-balance text-xl/8 text-gray-700",children:a})]}),bt("section",{className:"mt-20 grid grid-cols-1 lg:grid-cols-2 lg:gap-x-8 lg:gap-y-16",children:[bt("div",{className:"lg:pr-8",children:[qe("h2",{className:"text-pretty text-2xl font-semibold tracking-tight text-gray-900",children:o}),qe("p",{className:"mt-6 text-base/7 text-gray-600",children:r})]}),qe("div",{className:"pt-16 lg:row-span-2 lg:-mr-16 xl:mr-auto",children:qe("div",{className:"-mx-8 grid grid-cols-2 gap-4 sm:-mx-16 sm:grid-cols-4 lg:mx-0 lg:grid-cols-2 lg:gap-4 xl:gap-8",children:s.map((c,p)=>qe("div",{className:"aspect-square overflow-hidden rounded-xl shadow-xl outline-1 -outline-offset-1 outline-black/10",children:qe("img",{alt:"",src:c,className:"block size-full object-cover"})},p))})}),bt("div",{className:"max-lg:mt-16 lg:col-span-1",children:[qe("p",{className:"text-base/7 font-semibold text-gray-500",children:"The numbers"}),qe("hr",{className:"mt-6 border-t border-gray-200"}),bt("dl",{className:"mt-6 grid grid-cols-1 gap-x-8 gap-y-4 sm:grid-cols-2",children:[bt("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[qe("dt",{className:"text-sm/6 text-gray-600",children:"Raised"}),bt("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:["$",n]})]}),bt("div",{className:"flex flex-col gap-y-2 border-b border-dotted border-gray-200 pb-4",children:[qe("dt",{className:"text-sm/6 text-gray-600",children:"Companies"}),bt("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[i,"K"]})]}),bt("div",{className:"flex flex-col gap-y-2 max-sm:border-b max-sm:border-dotted max-sm:border-gray-200 max-sm:pb-4",children:[qe("dt",{className:"text-sm/6 text-gray-600",children:"Deals Closed"}),bt("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[d,"M"]})]}),bt("div",{className:"flex flex-col gap-y-2",children:[qe("dt",{className:"text-sm/6 text-gray-600",children:"Leads Generated"}),bt("dd",{className:"order-first text-6xl font-semibold tracking-tight",children:[m,"M"]})]})]})]})]})]})})}import{useEffect as Hs,useRef as nr,useState as Rf,useCallback as tc}from"react";import{Previewer as js}from"pagedjs";import{Fragment as oc,jsx as Be,jsxs as Ro}from"react/jsx-runtime";function Tf(e){var t=document.createElement("div");t.style.display="block",t.style.height=e,document.body.appendChild(t);var a=parseFloat(window.getComputedStyle(t,null).height);return t.parentNode&&t.parentNode.removeChild(t),Math.floor(a)}var ir=e=>{let t=document.createElement("div");t.style.height="1mm",document.body.appendChild(t);let a=parseFloat(window.getComputedStyle(t).height);return document.body.removeChild(t),Math.floor(e/a)},ac=({page:e,layout:t="portrait",logoImage:a})=>t==="flow"?Be(Df,{page:e,layout:t,logoImage:a}):Be(Af,{page:e,layout:t,logoImage:a}),Df=({page:e,layout:t="portrait",logoImage:a})=>{let{contentWithIds:o}=Nr(e),r=nr(null),s=nr(null),n=nr(new js),i={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};Hs(()=>{let c=document.getElementById("printable-content");if(c){let p=document.createElement("style");return p.textContent=`@page { size: ${ir(c.offsetWidth)}mm ${ir(c.offsetHeight)}mm ; margin: 0mm; width: ${ir(c.offsetWidth)}mm }; .container : { max-width: ${ir(c.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(p),()=>{document.head.removeChild(p)}}},[t]);let d=tc(()=>{if(!s.current)return;s.current&&(s.current.innerHTML="");let c=document.getElementById("printable-content");c&&n.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${ir(c.offsetWidth)}mm ${ir(c.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],s.current).catch(p=>console.error("Paged.js error:",p))},[t]);Hs(()=>{n.current=new js},[d,t]);let m=[i,...o];return Ro("div",{children:[Be("div",{className:"w-[1123px] print:w-[1123px]",children:Ro("div",{id:"printable-content",ref:r,children:[m.map((c,p)=>Be(oc,{children:p===0?Be("section",{className:"title-page w-full h-full",children:Be(Gr,{hero:e.hero,title:e.title})},p):Ro("section",{className:"normal-page overflow-hidden",children:[c.blockName&&Be($r,{title:c.blockName}),Be(Po,{blocks:[c],fill:!0})]},p)})),Be("section",{className:"normal-page",children:Ro("div",{className:`w-full py-2 px-8 flex justify-between items-center
20
- dark bg-background text-primary`,children:[Ro("div",{className:"flex px-6 items-center space-x-2",children:[a&&Be("img",{src:a.src,alt:"Cortex Reply Logo",className:"h-8"}),Be("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),Be("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),Be("div",{ref:s,className:"preview-container"})]})},Af=({page:e,layout:t="portrait"})=>{let{contentWithIds:a}=Nr(e),o=nr(null),r=nr(null),s=nr(new js),[n,i]=Rf(0),m=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],c=tc(()=>{o.current&&(o.current&&(o.current.innerHTML=""),s.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",t==="landscape"?"./landscape.css":"./portrait.css"],o.current).then(p=>i(p.pageCount)).catch(p=>console.error("Paged.js error:",p)))},[t]);return Hs(()=>{s.current=new js,c()},[c,t]),Hs(()=>{let p=document.createElement("style");return p.textContent=`@page { size: A4 ${t} ; margin: 0mm; };`,document.head.appendChild(p),()=>{document.head.removeChild(p)}},[]),Ro("div",{className:"pagedjs-container",children:[Be("div",{id:"printable-content",ref:r,style:{display:"none"},className:"pagedjs-content",children:m.map((p,u)=>Be(oc,{children:u===0?Be("section",{className:"pagedjs-section title-page w-full h-full",children:Be(Gr,{hero:e.hero,title:e.title})},u):Ro("section",{className:l("pagedjs-section normal-page h-[699px]",`h-[${Tf("185mm")}px]`,p.theme?.settings?.theme==="dark"?"dark":"light"),children:[p.blockName&&Be($r,{title:p.blockName}),Be(Po,{blocks:[p],fill:!0})]},u)}))}),Be("div",{ref:o,className:"preview-container"})]})};import{ChevronRight as Mf}from"lucide-react";import rc from"clsx";import{Fragment as Lf,jsx as L,jsxs as ga}from"react/jsx-runtime";function eP({mainNav:e,secondaryNav:t,title:a,subTitle:o,pathName:r,menuHeading:s,onNavClick:n,loading:i=!1,LinkComponent:d,...m}){let p=d?u=>L(d,{...u}):n?({href:u,children:g,...b})=>L("button",{onClick:()=>n&&n(u),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...b,children:g}):u=>L("a",{...u});return ga(Wo,{...m,variant:"inset",children:[L(Ko,{children:L(Ct,{children:L(Ze,{children:i?ga("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[L(De,{className:"bg-gray-200 my-2 w-full h-7"}),L(De,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):ga("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[L("span",{className:"truncate font-semibold",children:a}),o&&L("span",{className:"truncate text-sm",children:o})]})})})}),i&&ga(mo,{children:[L(De,{className:"bg-gray-200 w-3/4 h-5"}),L(De,{className:"bg-gray-200 w-3/4 h-5"}),L(De,{className:"bg-gray-200 w-3/4 h-5"}),L(De,{className:"bg-gray-200 w-3/4 h-5"}),L(De,{className:"bg-gray-200 w-3/4 h-5"}),L(De,{className:"bg-gray-200 w-3/4 h-5"}),L(De,{className:"bg-gray-200 w-3/4 h-5"}),L(De,{className:"bg-gray-200 w-3/4 h-5"}),L(De,{className:"bg-gray-200 w-3/4 h-5"}),L(De,{className:"bg-gray-200 w-3/4 h-5"})]}),ga(mo,{children:[e&&!i&&e.map((u,g)=>L(If,{subNav:u,pathName:r,Link:p},g)),L(Vt,{className:"mt-auto",children:L(ra,{children:L(Ct,{children:t&&!i&&t.map(u=>L(Ze,{children:L(Ut,{asChild:!0,size:"sm",children:ga(p,{href:u.url||"",children:[u.icon&&L(u.icon,{}),L("span",{children:u.label})]})})},u.label))})})})]}),L(Xo,{})]})}function If({subNav:e,pathName:t,Link:a}){let o=e,r=!1;return o.links&&o.links.map(s=>{s.url===t&&(r=!0)}),L(Ga,{defaultOpen:!0,className:"group/collapsible",children:L(Vt,{className:"py-0",children:L(Ct,{children:L(Ga,{asChild:!0,defaultOpen:o.isActive,children:ga(Ze,{children:[L(Ut,{asChild:!0,tooltip:o.label,className:rc(r&&"font-bold text-accent"),children:ga(a,{href:o.url,children:[o.icon&&L(o.icon,{}),L("span",{children:o.label})]})}),o.links?.length?ga(Lf,{children:[L(no,{asChild:!0,children:ga(rs,{className:"data-[state=open]:rotate-90",children:[L(Mf,{}),L("span",{className:"sr-only",children:"Toggle"})]})}),L(lo,{children:L(po,{children:o.links?.map(s=>L(uo,{children:L(go,{asChild:!0,className:rc(s.url===t&&"font-bold text-accent"),children:L(a,{href:s.url,children:L("span",{children:s.label})})})},s.label))})})]}):null]})},o.label)})})})}import{PencilLine as Bf,ChevronDown as vn,FilePlus as zf,Edit as Ef,Printer as Ff}from"lucide-react";import Hf from"clsx";import{Fragment as sc,jsx as D,jsxs as Ce}from"react/jsx-runtime";var jf=()=>D(at,{iconName:"github",size:"10x"});function dP({relatedContent:e,tableOfContents:t,editorComponent:a,loading:o=!1,editMode:r=!1,onAddDocument:s,onEditDocument:n,onPrintDocument:i,onGithubClick:d,onNavClick:m,LinkComponent:c,...p}){let b=c?f=>D(c,{...f}):m?({item:f,children:y,...R})=>D("button",{onClick:()=>m&&m(f),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...R,children:y}):f=>D("a",{href:f.href,...f});return Ce(Wo,{side:"right",variant:"inset",...p,children:[Ce(Ko,{className:"border-b border-sidebar-border",children:[Ce(Ct,{className:"flex-row space-x-1",children:[D(Ze,{children:Ce(Ut,{onClick:s,children:[D(zf,{})," ",D("span",{children:"Add Document"})]})}),d&&D(Ze,{children:D(Ut,{onClick:d,tooltip:"Open in GitHub",children:D(jf,{})})})]}),Ce(Ct,{className:"flex-row space-x-1",children:[D(Ze,{className:"w-5/12",children:Ce(Ut,{onClick:()=>n(),variant:r?"outline":"default",className:Hf(r&&"text-accent"),children:[D(Ef,{})," ",D("span",{children:"Edit"})]})}),D(Ze,{className:"w-5/12",children:Ce(Ut,{onClick:i,children:[D(Ff,{})," ",D("span",{children:"Print"})]})})]})]}),a&&Ce(sc,{children:[D(Ga,{defaultOpen:!0,className:"group/collapsible",children:Ce(Vt,{children:[D(Va,{asChild:!0,children:Ce(no,{children:["Editor Controls",D(vn,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),D(ra,{children:D(lo,{children:a})})]})}),D(os,{className:"mx-0"})]}),Ce(mo,{className:"overflow-auto",children:[o&&Ce(sc,{children:[Ce(Vt,{children:[D(Va,{children:"Related Content"}),D(ra,{children:D(Ct,{children:Array.from({length:3}).map((f,y)=>D(Ze,{children:D(De,{className:"bg-gray-200 w-full h-10"})},y))})})]}),Ce(Vt,{children:[D(Va,{children:"Table of Contents"}),D(ra,{children:D(Ct,{children:Array.from({length:3}).map((f,y)=>D(Ze,{children:D(De,{className:"bg-gray-200 w-full h-10"})},y))})})]})]}),e&&!o&&Object.keys(e).length>0&&D(Ga,{defaultOpen:!0,className:"group/collapsible",children:Ce(Vt,{children:[D(Va,{asChild:!0,children:Ce(no,{children:["Related Content",D(vn,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),D(ra,{children:D(lo,{children:D(Ct,{children:e&&Object.keys(e).map(f=>Ce(Ze,{children:[Ce("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",f.charAt(0).toUpperCase()+f.slice(1)]}),f&&e[f]&&D(po,{children:e[f].map(y=>D(uo,{children:D(go,{asChild:!0,isActive:!1,size:"sm",children:Ce(b,{href:y.url,item:y,className:"flex justify-between items-center w-full text-xs",children:[D("span",{children:y.label}),y.type==="note"&&D(Bf,{className:"ml-2 text-gray-400 !important",size:16}),y.type==="draft"&&D(at,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},y.label))})]},f))})})})]})}),t&&!o&&D(Ga,{defaultOpen:!0,className:"group/collapsible",children:Ce(Vt,{children:[D(Va,{asChild:!0,children:Ce(no,{children:["Table of Contents",D(vn,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),D(ra,{children:D(lo,{children:D(Ct,{children:t.map(f=>Ce(Ze,{children:[D(Ut,{asChild:!0,children:D("a",{href:`#${f.url}`,className:"text-xs",children:f.title})}),f.items?.length?D(po,{children:f.items.map(y=>D(uo,{children:D(go,{asChild:!0,isActive:y.isActive,size:"sm",children:D("a",{href:`#${y.url}`,className:"flex justify-between items-center w-full text-xs",children:D("span",{children:y.title})})})},y.title))}):null]},f.title))})})})]})})]}),D(Xo,{})]})}import{Users as Of}from"lucide-react";import $f from"next/image";import{jsx as Ja,jsxs as Os}from"react/jsx-runtime";function fP({title:e,members:t}){return Ja(Y,{className:"mb-6",children:Os("div",{className:"p-6",children:[Os("div",{className:"flex items-center mb-4",children:[Ja(Of,{className:"w-6 h-6 text-accent mr-2"}),Ja("h2",{className:"text-xl font-semibold text-foreground",children:e})]}),Ja("div",{className:"space-y-4",children:t.map((a,o)=>Os("div",{className:"flex items-center space-x-4",children:[Ja("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&Ja($f,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),Os("div",{children:[Ja("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&Ja("p",{className:"text-sm text-muted-foreground",children:a.role})]})]},o))})]})})}import Gf from"next/link";import{ExternalLink as _f}from"lucide-react";import{jsx as Vr,jsxs as ic}from"react/jsx-runtime";var wP=({links:e,title:t="Related Content"})=>ic(Y,{children:[Vr(de,{children:Vr(ce,{className:"text-accent",children:t})}),Vr(J,{children:Vr("nav",{className:"flex flex-col space-y-2",children:e.map((a,o)=>ic(Gf,{href:a.href,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[a.name,a.href.startsWith("http")&&Vr(_f,{className:"ml-1 h-3 w-3"})]},o))})})]});import{useSearchParams as Vf,usePathname as Uf,useRouter as Wf}from"next/navigation";import{FaArrowRight as Kf,FaArrowLeft as Xf}from"react-icons/fa6";import{useState as Yf}from"react";import{jsx as Ma,jsxs as qf}from"react/jsx-runtime";var hn=l("grid h-[45px] w-[45px] place-items-center border border-[#3b3b3b] font-secondary text-base text-foreground rounded-full transition-colors duration-300 hover:bg-accent hover:border-accent hover:text-accent-foreground");function nc({pages:e}){let t=Vf(),a=Uf(),{replace:o}=Wf(),{totalPages:r,page:s}=e,[n,i]=Yf({start:s>3?s-3:1,end:s+2}),d=p=>{p==="left"&&n.start>1?i(u=>({start:u.start-1,end:u.end-1})):p==="right"&&n.end<r&&i(u=>({start:u.start+1,end:u.end+1}))};function m(p){let u=new URLSearchParams(t);p?u.set("page",p):u.delete("page"),o(`${a}?${u.toString()}`)}if(r<=1)return null;let c=[];for(let p=n.start;p<=n.end;p++)c.push(p);return Ma("div",{className:"mt-12",children:qf("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[n.start>1&&Ma("li",{children:Ma("button",{className:l(hn,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>d("left"),children:Ma(Xf,{})})}),c.map((p,u)=>Ma("li",{children:Ma("a",{className:l(hn,p===s?"border-accent bg-accent text-accent-foreground":"border-accent"),href:"#","aria-label":`pagination button ${p}`,role:"button",onClick:g=>{g.preventDefault(),m(p.toString())},children:p})},u)),n.end<r&&Ma("li",{children:Ma("button",{className:l(hn,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>d("right"),children:Ma(Kf,{})})})]})})}import{useSearchParams as Qf,usePathname as Jf,useRouter as Zf}from"next/navigation";import{ExternalLink as e0}from"lucide-react";import{jsx as lr,jsxs as lc}from"react/jsx-runtime";var BP=l("transition-colors duration-400 hover:text-primary ease-in-out");function dc({title:e,links:t}){let a=Qf(),o=Jf(),{replace:r}=Zf();function s(n){let i=new URLSearchParams(a);n?i.set("category",n):i.delete("category"),r(`${o}?${i.toString()}`)}return lc(Y,{children:[lr(de,{children:lr(ce,{className:"text-accent",children:e&&e})}),lr(J,{children:t&&t.length>0&&lr("nav",{"aria-label":"footer links navigation",children:lr("ul",{className:"grid gap-2.5 ",children:t.map((n,i)=>lc("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:d=>{d.preventDefault(),s(n.href)},children:[n.label,lr(e0,{className:"ml-1 h-3 w-3"})]},i))})})})]})}import{useState as t0}from"react";import{useSearchParams as a0,usePathname as o0,useRouter as r0}from"next/navigation";import{jsx as cc}from"react/jsx-runtime";function mc({types:e}){let[t,a]=t0(e&&e[0].href),o=a0(),r=o0(),{replace:s}=r0();function n(i){let d=new URLSearchParams(o);i?d.set("type",i):d.delete("type"),a(i),s(`${r}?${d.toString()}`)}return cc("div",{className:"flex gap-2 flex-wrap items-center justify-center overflow-x-auto pb-4 mb-6",children:e&&e.map((i,d)=>cc(C,{variant:i.href===t?"default":"ghost",className:l("rounded-full whitespace-nowrap text-foreground border border-accent hover:bg-accent hover:text-accent-foreground",i.href===t&&"bg-accent text-accent-foreground"),onClick:()=>n(i.href),children:i.label},d))})}import s0 from"next/image";import{jsx as Re,jsxs as To}from"react/jsx-runtime";var pc=({links:e,media:t,children:a,richText:o})=>Re("div",{children:To("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[To("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[a||o&&Re(W,{className:"max-w-none p-0 mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:o,enableGutter:!0}),Array.isArray(e)&&e.length>0&&Re("ul",{className:"flex justify-center gap-4",children:e.map(({link:r},s)=>Re("li",{children:Re(la,{...r})},s))})]}),To("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[t&&typeof t=="object"&&Re(da,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:t}),t&&typeof t=="string"&&Re("div",{children:Re(s0,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),Re("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),Re(i0,{})]})}),i0=()=>Re("div",{className:"w-full h-[1240px] z-10",children:To("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[Re("defs",{children:To("mask",{id:"mask",children:[Re("rect",{width:"1920",height:"332",fill:"white"}),Re("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),Re("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),Re("rect",{y:"330",width:"1920",height:"7",fill:"white"})," "]})});import uc from"next/image";import{jsx as Do,jsxs as l0}from"react/jsx-runtime";var n0=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:o,url:r,width:s}=e;return Do(uc,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:r||"",width:s||0,height:o||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return Do("div",{children:Do(uc,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},gc=({links:e,media:t,children:a,richText:o})=>l0("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&Do(n0,{media:t}),Do("div",{className:"mx-0 min-w-full relative z-9",children:Do("div",{className:"container text-brand-one-foreground",children:a||o&&Do(W,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:o,enableProse:!0,enableGutter:!1})})})]});import{jsx as yn}from"react/jsx-runtime";var fc=({children:e,richText:t})=>yn("div",{className:"min-w-full py-10 bg-muted mt-24",children:yn("div",{className:"container",children:e||t&&yn(W,{content:t,enableGutter:!1})})});import d0 from"react";import c0 from"next/image";var bc=e=>{let a=new Date;e&&(a=new Date(e));let o=a.getMonth(),r=a.getDate(),s=o+1<10?`0${o+1}`:o+1,n=r<10?`0${r}`:r,i=a.getFullYear();return`${n}/${s}/${i}`};var $s=e=>{let t=e?new Date(e):new Date,a=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(t),o=t.getDate(),r=new Intl.DateTimeFormat("en-US",{month:"short"}).format(t);return`${a} ${o}${(n=>{if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}})(o)} ${r}`};import{jsx as fa,jsxs as Ia}from"react/jsx-runtime";var lS=({post:e})=>{let{categories:t,meta:a,populatedAuthors:o,publishedAt:r,title:s}=e;return Ia("div",{className:"relative grid pt-24",children:[fa("div",{className:"relative z-10 flex flex-col justify-end min-h-[50vh] text-foreground dark:text-foreground pt-24 p-6 lg:p-12",children:Ia("div",{className:"container mx-auto",children:[fa("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:s}),Ia("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[o&&o.length>0&&Ia("div",{className:"flex flex-col gap-1",children:[Ia("p",{className:"text-sm",children:["Author",o.length>1?"s":""]}),fa("p",{children:o.map((n,i)=>Ia(d0.Fragment,{children:[n.name,i<o.length-2&&", ",i===o.length-2&&(o.length>2?", and ":" and ")]},n.id))})]}),r&&Ia("div",{className:"flex flex-col gap-1",children:[fa("p",{className:"text-sm",children:"Date Published"}),fa("time",{dateTime:r,children:bc(r)})]}),t&&t.length>0&&Ia("div",{className:"flex flex-col gap-1",children:[fa("p",{className:"text-sm font-medium",children:"Categories"}),fa("div",{className:"flex flex-wrap gap-2",children:t.map((n,i)=>typeof n=="object"&&n!==null&&fa(Me,{className:"px-3 py-1 mx-1",children:n.title||"Untitled category"},n.id||i))})]})]})]})}),Ia("div",{className:"absolute inset-0 w-full h-full",children:[fa(c0,{className:"object-cover",alt:`Cover image for ${s}`,src:a?.image?.url||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),fa("div",{className:"absolute pointer-events-none left-0 bottom-0 w-full h-1/2 bg-gradient-to-t from-background dark:from-black to-transparent"})]})]})};import{ChevronRightIcon as g0,HomeIcon as f0}from"@heroicons/react/20/solid";import vc from"next/image";import{jsx as m0}from"react/jsx-runtime";function Tt({children:e,isFluid:t=!1,isNoPadding:a=!1,className:o=""}){let r=l("container",t&&"full-width",a&&"no-padding",o);return m0("div",{className:r,children:e})}import{ThemeProvider as p0}from"next-themes";import{jsx as u0}from"react/jsx-runtime";function fS({children:e,...t}){return u0(p0,{...t,children:e})}import{jsx as oe,jsxs as La}from"react/jsx-runtime";var Ft=({position:e,className:t=""})=>{let a=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],o=a[Math.floor(Math.random()*a.length)];if(e==="header")return oe("div",{className:"w-full h-[1240px] z-20",children:La("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:l(t,"absolute -bottom-[2px] flex"),children:[oe("defs",{children:La("mask",{id:"mask",children:[oe("rect",{width:"1920",height:"332",fill:"white"}),oe("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),oe("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),oe("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return La("div",{className:"w-full z-20 aspect-[1920/332] overflow-hidden ",children:[La("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:l(t,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[oe("defs",{children:La("mask",{id:"mask",children:[oe("rect",{width:"100%",height:"100%",fill:"white"}),oe("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),oe("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),oe("div",{className:"absolute -bottom-[5px] border-none left-0 w-full h-[6px] z-10 bg-white"})]});if(e==="dark-top")return oe("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:La("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:l(t,"relative "),style:{fontSize:0,float:"left"},transform:a[3],children:[oe("defs",{children:La("mask",{id:"mask",children:[oe("rect",{width:"100%",height:"100%",fill:"white"}),oe("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),oe("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return oe("div",{className:"w-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:oe("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:l(t,"w-full block overflow-hidden"),children:oe("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return oe("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:oe("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:l(t,"w-full block overflow-hidden"),transform:a[3],children:oe("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return oe("div",{className:"w-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:oe("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:l(t,"w-full block overflow-hidden"),children:oe("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},yS=({className:e})=>La("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:l(e,"absolute w-full h-full"),children:[oe("defs",{children:La("mask",{id:"mask",children:[oe("rect",{width:"100%",height:"100%",fill:"black"}),oe("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),oe("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});import{jsx as Za,jsxs as hc}from"react/jsx-runtime";var yc=({title:e,image:t})=>Za("div",{children:hc("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[Za("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:Za("h1",{className:"text-5xl md:text-6xl",children:e})}),hc("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[t&&typeof t=="object"&&Za(vc,{priority:!0,src:t.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),t&&typeof t=="string"&&Za("div",{children:Za(vc,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:t})}),Za("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),Za(Ft,{className:"text-black z-10",position:"header"})]})});import{Fragment as v0,jsx as Zt,jsxs as xn}from"react/jsx-runtime";var b0={highImpact:pc,lowImpact:fc,mediumImpact:gc,sectionHero:yc},MS=e=>{let{type:t}=e||{};if(!t||t==="none")return null;let a=b0[t];return a?Zt(a,{...e}):null};function IS({breadcrumbItems:e}){if(e&&e.length>0){let t=e.filter(a=>a.label.toLowerCase()!=="home");return Zt("nav",{"aria-label":"Breadcrumb",className:"flex",children:xn("ol",{role:"list",className:"flex items-center space-x-4",children:[Zt("li",{children:Zt("div",{children:xn("a",{href:"/",className:"text-foreground hover:text-accent",children:[Zt(f0,{"aria-hidden":"true",className:"size-5 shrink-0"}),Zt("span",{className:"sr-only",children:"Home"})]})})}),t.map((a,o)=>Zt("li",{children:xn("div",{className:"flex items-center",children:[Zt(g0,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),a.href?Zt("a",{href:a.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:a.label}):Zt("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:a.label})]})},o))]})})}return Zt(v0,{})}import{motion as x0}from"framer-motion";import{useState as h0,useEffect as y0}from"react";function xc(e,t){let[a,o]=h0(()=>{if(typeof window>"u")return t;try{let s=window.localStorage.getItem(e);return s?JSON.parse(s):t}catch{return t}}),r=s=>{try{o(s),typeof window<"u"&&window.localStorage.setItem(e,JSON.stringify(s))}catch{}};return y0(()=>{r(a)},[]),[a,r]}import{FaChevronDown as w0,FaChevronUp as N0}from"react-icons/fa";import{jsx as ba,jsxs as Ao}from"react/jsx-runtime";function dr({title:e,description:t,badge:a,primaryAction:o,secondaryAction:r,gradient:s,children:n,className:i}){let[d,m]=xc(`hero-section-minimized-${e.replace(/\s+/g,"-").toLowerCase()}`,!r&&!t),c=!r&&!t||d;return Ao(x0.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${s} p-8 text-white ${i||""}`,children:[Ao("div",{className:"flex items-center justify-between mb-2",children:[Ao("div",{className:"flex items-center gap-3",children:[a&&ba(Me,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:a}),ba("h2",{className:"text-3xl font-bold m-0",children:e})]}),Ao("div",{className:"flex items-center gap-3",children:[c&&o&&ba(C,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:o.onClick,children:o.label}),(r||t)&&ba("button",{"aria-label":d?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>m(!d),style:{lineHeight:0},children:d?ba(w0,{size:22}):ba(N0,{size:22})})]})]}),!c&&Ao("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[Ao("div",{className:"space-y-4",children:[ba("p",{className:"max-w-[600px] text-white/80",children:t}),Ao("div",{className:"flex flex-wrap gap-3",children:[o&&ba(C,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:o.onClick,children:o.label}),r&&ba(C,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:r.onClick,children:r.label})]})]}),n&&ba("div",{className:"hidden lg:block",children:n})]})]})}import{useState as Gs,useEffect as T0}from"react";import{Dialog as D0,DialogPanel as A0,Disclosure as M0,DisclosureButton as Nc,DisclosurePanel as I0,PopoverGroup as L0}from"@headlessui/react";import{Bars3Icon as B0,XMarkIcon as z0}from"@heroicons/react/24/outline";import{SunIcon as Cc,MoonIcon as E0}from"@heroicons/react/20/solid";import{Popover as C0,PopoverButton as k0,PopoverPanel as P0}from"@headlessui/react";import{ChevronDownIcon as S0}from"@heroicons/react/20/solid";import{jsx as Qe,jsxs as eo}from"react/jsx-runtime";var R0=({name:e,items:t,actions:a=[],href:o})=>!t&&o?Qe("a",{href:o,className:"flex items-center gap-x-1 text-sm text-foreground group",children:eo("span",{className:"relative",children:[e,Qe("span",{className:"absolute -bottom-1 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]})}):eo(C0,{children:[eo(k0,{className:"flex items-center gap-x-1 text-sm/6 text-foreground outline-none group",children:[eo("span",{className:"relative",children:[e,Qe("span",{className:"absolute bottom-0 left-1/2 w-1/2 h-0.5 bg-accent transform -translate-x-1/2 scale-x-0 transition-transform duration-300 ease-in-out group-hover:scale-x-100"})]}),Qe(S0,{"aria-hidden":"true",className:"h-5 w-5 flex-none text-accent"})]}),eo(P0,{transition:!0,className:"absolute inset-x-0 top-0 -z-10 bg-popover mt-14 shadow-lg ring-1 ring-ring/5 transition data-[closed]:-translate-y-1 data-[closed]:opacity-0 data-[enter]:duration-200 data-[leave]:duration-150 data-[enter]:ease-out data-[leave]:ease-in",children:[Qe("div",{className:"mx-auto grid max-w-7xl grid-cols-4 gap-x-4 px-6 py-10 lg:px-8 xl:gap-x-8 z-50",children:t&&t.map(r=>eo("div",{className:"group relative rounded-lg p-6 text-sm/6 box-border",children:[Qe("div",{className:"flex h-16 items-center justify-start rounded-lg bg-popover text-muted-foreground group-hover:text-accent transition-transform duration-400 ease-in-out group-hover:scale-90",children:r.icon&&Qe(wc,{icon:r.icon,size:"4x"})}),eo("a",{href:r.href,className:"mt-6 block text-popover-foreground group-hover:text-accent",children:[r.name,Qe("span",{className:"absolute inset-0"})]}),Qe("p",{className:"mt-1 text-popover-foreground/80 group-hover:text-accent",children:r.description})]},r.name))}),a.length>0&&Qe("div",{className:"bg-gray-50",children:Qe("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:Qe("div",{className:"grid grid-cols-3 divide-x divide-gray-900/5 border-x border-gray-900/5",children:a.map(r=>eo("a",{href:r.href,className:"flex items-center max-h-12 justify-center gap-x-2.5 p-3 text-sm/6 text-gray-900 hover:bg-gray-100",children:[r.icon&&Qe(wc,{icon:r.icon,className:"h-5 w-5 flex-none text-gray-400"}),r.name]},r.name))})})})]})]}),wc=({icon:e,className:t,size:a="lg"})=>{if(!e)return null;if("type"in e)return Qe(at,{...e,size:a});if("src"in e)return Qe("div",{className:l(t,"h-full max-w-32 items-start text-left"),children:e&&typeof e.src=="string"&&Qe("img",{src:e.src,style:{objectFit:"contain",width:"100%",height:"100%"}})})},cr=R0;import{jsx as ue,jsxs as va}from"react/jsx-runtime";var _s=["light","dark","green"];function r4({title:e,logo:t,menuItems:a}){let[o,r]=Gs(!1),[s,n]=Gs(!1),[i,d]=Gs("light"),m=t?.split(".")[0],c=t?.split(".")[1],[p,u]=Gs(`${m}.${c}`),g=f=>{_s.includes(f)?u(f==="light"?`${m}.${c}`:`${m}-${f}.${c}`):u(`${m}.${c}`)};T0(()=>{let f=localStorage.getItem("theme")||"light";d(f),document.documentElement.setAttribute("class",f),g(f)},[]);let b=()=>{let f=_s[(_s.indexOf(i)+1)%_s.length];d(f),document.documentElement.setAttribute("class",f),localStorage.setItem("theme",f),g(f)};return va("header",{className:"relative isolate z-10 bg-background h-14",children:[va("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[ue("div",{className:"flex lg:flex-1",children:va("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[ue("span",{className:"sr-only",children:e}),ue("img",{alt:e,src:p,className:"h-9 w-auto"})]})}),ue("div",{className:"flex lg:hidden",children:va("button",{type:"button",onClick:()=>r(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[ue("span",{className:"sr-only",children:"Open main menu"}),ue(B0,{"aria-hidden":"true",className:"h-6 w-6"})]})}),ue(L0,{className:"hidden lg:flex lg:gap-x-12",children:a.map(f=>ue(cr,{...f},f.name))}),ue("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:ue("button",{onClick:b,className:"p-2 text-gray-700 outline-none",children:i==="dark"?ue(Cc,{className:"h-6 w-6"}):i==="green"?ue(E0,{className:"h-6 w-6"}):ue(Cc,{className:"h-6 w-6"})})})]}),va(D0,{open:o,onClose:r,className:"lg:hidden",children:[ue("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),va(A0,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[va("div",{className:"flex items-center justify-between",children:[va("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[ue("span",{className:"sr-only",children:"Your Company"}),ue("img",{alt:e,src:t,className:"h-8 w-auto"})]}),va("button",{type:"button",onClick:()=>r(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[ue("span",{className:"sr-only",children:"Close menu"}),ue(z0,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),ue("div",{className:"mt-6 flow-root",children:ue("div",{className:"-my-6 divide-y divide-gray-500/10",children:ue("div",{className:"space-y-2 py-6",children:a.map(f=>ue(F0,{...f},f.name))})})})]})]})]})}function F0({name:e,items:t,actions:a,href:o}){return!t&&o?ue("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}):va(M0,{as:"div",className:"-mx-3",children:[ue(Nc,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold text-gray-900 hover:bg-gray-50",children:e}),ue(I0,{className:"mt-2 space-y-2",children:t&&t.map(r=>ue(Nc,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:r.name},r.name))})]})}import{jsx as Mo,jsxs as wn}from"react/jsx-runtime";function l4({logoVideo:e,logoLight:t,logoDark:a,menuItems:o,title:r,subtitle:s}){let n=()=>{let i=document.getElementById("next-section");i&&i.scrollIntoView({behavior:"smooth"})};return Mo("div",{children:wn("div",{className:"sticky top-0 h-screen",children:[wn("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[Mo("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),Mo("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:Mo(Tt,{children:wn("div",{className:"flex flex-col items-start md:w-2/3 mb-10 z-0 md:mb-0",children:[Mo("h1",{className:"text-5xl md:text-7xl mb-6",children:r&&r}),Mo("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:s&&s})]})})}),Mo(Ft,{className:"text-black z-10",position:"header"})]})})}import{useState as Sc,useEffect as Rc}from"react";import kc from"next/image";import{jsx as Pc,jsxs as H0}from"react/jsx-runtime";function Io({logoLight:e,logoDark:t,mobile:a=!1}){return H0(Xe,{href:"/",className:l(a?"py-1":"py-2"),children:[Pc(kc,{className:"logo-light dark:hidden",src:e.src,width:e.width,height:e.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}}),Pc(kc,{className:"hidden dark:block",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:a?35:50}})]})}import{useTheme as j0}from"next-themes";import{Moon as O0,Sun as $0}from"lucide-react";import{PopoverGroup as G0}from"@headlessui/react";import{Fragment as _0,jsx as Ba,jsxs as Tc}from"react/jsx-runtime";function Dc({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,themeControl:r=!1,wide:s=!1}){let[n,i]=Sc(!1),[d,m]=Sc(""),c=["light","dark"],{theme:p,setTheme:u}=j0();Rc(()=>{m(p||"dark")},[p]);let g=()=>{let b=c[(c.indexOf(d)+1)%c.length];m(b),u(b)};return Rc(()=>{let b=()=>{window.scrollY>100?i(!0):i(!1)};return window.addEventListener("scroll",b,{passive:!0}),()=>window.removeEventListener("scroll",b)},[]),Ba(_0,{children:Ba("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${n||e?"translate-y-0":"-translate-y-full bg-transparent"}`,children:Ba("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:Tc("div",{className:l("flex items-center justify-between px-9 py-0",!s&&"container"),children:[Ba(Io,{logoDark:a,logoLight:t}),Ba(G0,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(b=>Ba(cr,{...b},b.name))}),r&&Ba("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:g,children:Tc("div",{className:"relative",children:[Ba($0,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),Ba(O0,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}import{useState as Nn,useEffect as Ac}from"react";import{Dialog as V0,DialogPanel as U0,Disclosure as W0,DisclosureButton as Mc,DisclosurePanel as K0}from"@headlessui/react";import{Bars3Icon as X0,XMarkIcon as Y0}from"@heroicons/react/24/outline";import{useTheme as q0}from"next-themes";import{Fragment as J0,jsx as Ge,jsxs as to}from"react/jsx-runtime";var Cn=["light","dark"];function Ic({logoLight:e,logoDark:t,menuItems:a,isMenuOpen:o=!0}){let[r,s]=Nn(!1),{theme:n,setTheme:i}=q0(),[d,m]=Nn(!1),[c,p]=Nn("light");Ac(()=>{let g=()=>{window.scrollY>100?s(!0):s(!1)};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[]),Ac(()=>{p(n||"dark")},[n]);let u=()=>{let g=Cn[(Cn.indexOf(c)+1)%Cn.length];p(g),i(g)};return Ge(J0,{children:to("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${r||o?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[Ge("nav",{className:l("backdrop-blur-sm text-white p-0",d&&"hidden"),children:to("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[Ge(Io,{logoDark:t,logoLight:e,mobile:!0}),Ge("div",{className:"flex items-center space-x-4",children:to("button",{type:"button",onClick:()=>m(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[Ge("span",{className:"sr-only",children:"Open main menu"}),Ge(X0,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),to(V0,{open:d,onClose:m,className:"lg:hidden",children:[Ge("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),to(U0,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[to("div",{className:"flex items-stretch justify-between",children:[Ge(Io,{logoDark:t,logoLight:e,mobile:!0}),to("button",{type:"button",onClick:()=>m(!1),className:"-m-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[Ge("span",{className:"sr-only",children:"Close menu"}),Ge(Y0,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),Ge("div",{className:"mt-6 flow-root",children:Ge("div",{className:"-my-6 divide-y divide-gray-500/10",children:Ge("div",{className:"space-y-2 px-2 py-6",children:a&&a.map(g=>Ge(Q0,{...g},g.name))})})})]})]})]})})}function Q0({name:e,items:t,actions:a,href:o}){return!t&&o?Ge("a",{href:o,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}):to(W0,{as:"div",className:"-mx-3",children:[Ge(Mc,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:e}),Ge(K0,{className:"mt-2 space-y-2",children:t&&t.map(r=>Ge(Mc,{as:"a",href:r.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:r.name},r.name))})]})}import{FaChevronRight as Z0,FaEnvelope as eb,FaPaperPlane as tb,FaPhone as ab}from"react-icons/fa6";import{jsx as q,jsxs as ea}from"react/jsx-runtime";var O4=l("text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 block px-4"),Lc=l("text-brand-green text-md leading-[1.25] md:text-lg mb-5 md:mb-[1.5rem]"),kn=l("bg-brand-green rounded-full p-3 mr-4 text-2xl"),Pn=l("flex items-center text-white gap-3"),Vs=l("transition-colors duration-300 hover:text-accent dark:hover:text-white");function $4({className:e,footerData:t,logoLight:a,logoDark:o}){let{about:r,columnOne:s,columnTwo:n,footerBottom:i}=t,d=void 0;return ea("footer",{className:l("sticky z-2 flex flex-col dark bg-black overflow-hidden pt-12 prose-base",e),children:[q("div",{className:"py-16 md:py-20",children:q("div",{className:"container",children:ea("div",{className:"grid gap-10 md:grid-cols-2 xl:grid-cols-3",children:[ea("div",{"data-aos":"fade-up","data-aos-delay":"200",children:[q(Io,{logoDark:o,logoLight:a}),q("p",{className:"mb-7 mt-3",children:r.description}),r.socialLinks&&r.socialLinks.length>0&&q("nav",{"aria-label":"social links",children:q("ul",{className:"inline-flex pl-0 min-h-[50px] items-center rounded-5 text-white gap-2",children:r.socialLinks.map((m,c)=>q("li",{className:"bg-primary rounded-full p-3",children:q(Xe,{"aria-label":m.href,className:"text-2xl",href:m.href,openNewTab:!0,children:q("span",{children:m.icon})})},c))})})]}),ea("div",{"data-aos":"fade-up","data-aos-delay":"400",children:[q("h3",{className:Lc,children:s.title}),s.links&&s.links.length>0&&q("nav",{"aria-label":"footer links navigation",children:q("ul",{className:"grid pl-0 gap-2",children:s.links.map(m=>ea("li",{className:"flex items-center gap-2.5",children:[q("span",{className:"flex-none text-sm/[1] text-white",children:q(Z0,{})}),q(Xe,{href:m.href,openNewTab:m.openNewTab,className:Vs,children:m.label})]},m.label))})})]}),ea("div",{"data-aos":"fade-up","data-aos-delay":"600",children:[q("h3",{className:Lc,children:n.title}),ea("ul",{"aria-label":"addresses",className:"grid gap-2 pl-0",children:[ea("li",{className:Pn,children:[q("span",{className:kn,children:q(tb,{})}),q("address",{className:"not-italic",children:n.location})]}),ea("li",{className:Pn,children:[q("span",{className:kn,children:q(eb,{})}),n.mails&&n.mails.length>0&&q("div",{className:"grid gap-1",children:n.mails.map((m,c)=>q("a",{href:`mailto:${m}`,className:Vs,children:m},c))})]}),n.phoneNumbers&&n.phoneNumbers.length>0&&ea("li",{className:Pn,children:[q("span",{className:kn,children:q(ab,{})}),q("div",{className:"grid gap-1",children:n.phoneNumbers.map((m,c)=>q("a",{href:`tel:${m.split(" ").join("")}`,className:Vs,children:m},c))})]})]})]})]})})}),q("div",{className:"flex min-h-[90px] items-center border-t border-accent-800 border-opacity-20 py-5 dark:border-body dark:border-opacity-20",children:q("div",{className:"container",children:ea("div",{className:"flex flex-wrap items-center text-xs justify-between gap-x-8 gap-y-4 md:gap-x-10",children:[q("p",{children:i.copyrightText}),i.links&&i.links.length>0&&q("nav",{"aria-label":"footer bottom navigation",children:q("ul",{className:"flex flex-wrap items-center gap-x-4 md:gap-x-7",children:i.links.map(m=>q("li",{children:q(Xe,{"aria-label":`Go to page ${m.label}`,href:m.href,openNewTab:m.openNewTab,className:Vs,children:m.label})},m.label))})})]})})})]})}import{jsx as Bc,jsxs as ob}from"react/jsx-runtime";function K4({isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,className:r,wide:s,themeControl:n=!1}){return ob("div",{className:l("fixed top-0 left-0 right-0 z-50",r),children:[Bc(Dc,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o,themeControl:n,wide:s}),Bc(Ic,{isMenuOpen:e,logoLight:t,logoDark:a,menuItems:o})]})}import{PopoverGroup as rb}from"@headlessui/react";import{Fragment as sb,jsx as mr}from"react/jsx-runtime";function Z4({menuItems:e,wide:t=!1,dark:a=!0}){return mr(sb,{children:mr("menu",{className:l("w-full relative py-2 transition-all duration-300",a?"bg-black text-white":"light bg-background text-foreground border-b border-accent"),children:mr("div",{className:"container backdrop-blur-sm",children:mr("div",{className:l("flex items-center justify-between py-0",!t&&"container"),children:mr(rb,{className:"flex gap-x-12",children:e&&e.map(o=>mr(cr,{...o},o.name))})})})})})}import{useState as ib}from"react";import{Toaster as nb,toast as Us}from"sonner";import{useRouter as lb}from"next/navigation";import{jsx as rt,jsxs as Dt}from"react/jsx-runtime";function zc({leaveRequests:e,onApprove:t,onReject:a}){let[o,r]=ib([]),s=lb(),n=()=>{o.length===e.length?r([]):r(e.map(c=>c.id))},i=c=>{r(p=>p.includes(c)?p.filter(u=>u!==c):[...p,c])},d=async()=>{let c=await t(o);c.success?(Us.success(c.message),s.refresh()):Us.error(`Error: ${c.message}`),r([])},m=async()=>{let c=await a(o);c.success?(Us.success(c.message),s.refresh()):Us.error(`Error: ${c.message}`),r([])};return Dt("div",{className:"space-y-4",children:[Dt("div",{className:"flex justify-between items-center",children:[rt("h2",{className:"text-2xl font-bold",children:"Approve Leave Requests"}),Dt("div",{className:"space-x-2",children:[rt(C,{onClick:d,disabled:o.length===0,variant:"default",children:"Approve Selected"}),rt(C,{onClick:m,disabled:o.length===0,variant:"destructive",children:"Reject Selected"})]})]}),rt("div",{className:"overflow-hidden sm:rounded-md",children:Dt("ul",{className:"divide-y divide-gray-200",children:[rt("li",{className:"px-4 py-4 sm:px-6",children:Dt("div",{className:"flex items-center justify-between",children:[Dt("div",{className:"flex items-center",children:[rt(na,{id:"select-all",checked:o.length===e.length,onCheckedChange:n,className:"border-accent"}),rt("label",{htmlFor:"select-all",className:"ml-2 text-sm font-medium text-foreground",children:"Select All"})]}),Dt("span",{className:"text-sm font-medium text-gray-500",children:[o.length," of ",e.length," selected"]})]})}),e.map(c=>rt("li",{className:"px-4 py-4 sm:px-6 group hover:bg-gray-50",children:Dt("div",{className:"flex items-center justify-between",children:[Dt("div",{className:"flex items-center",children:[rt(na,{id:`select-${c.id}`,checked:o.includes(c.id),onCheckedChange:()=>i(c.id),className:"border-accent"}),Dt("div",{className:"ml-3 flex items-center",children:[Dt(et,{className:"h-10 w-10",children:[rt(kt,{src:c.userImage,alt:c.userName}),rt(tt,{children:c.userName.split(" ").map(p=>p[0]).join("")})]}),rt("div",{className:"ml-3",children:rt("p",{className:"text-sm font-medium text-foreground group-hover:text-accent",children:c.userName})})]})]}),Dt("div",{className:"flex items-center space-x-2",children:[Dt("span",{className:"text-sm text-gray-500",children:[new Date(c.startDate).toLocaleDateString(),c.startDate!==c.endDate&&` - ${new Date(c.endDate).toLocaleDateString()}`,c.leaveType!="Full Day"&&` (${c.leaveType})`,` - ${c.totalDays} day${c.totalDays!==1?"s":""}`]}),rt(Me,{variant:c.status==="approved"?"default":c.status==="rejected"?"destructive":"secondary",children:c.status})]})]})},c.id))]})}),rt(nb,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"z-50"})]})}import{useState as Wr,useEffect as jc}from"react";import{format as Oc}from"date-fns";import{CalendarIcon as $c}from"lucide-react";import{useRouter as db}from"next/navigation";import{Toaster as cb,toast as Ws}from"sonner";var Ec=[{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"}];var Ur=e=>{let t=e.getDay()===0,a=e.getDay()===6,o=Ec.some(r=>r.date.toISOString()===e.toISOString());return t||a||o},Fc=(e,t,a=!1)=>{let o=new Date(e),r=new Date(t),s=0;if(a&&!Ur(o))return .5;for(;o<=r;)Ur(o)||s++,o.setDate(o.getDate()+1);return s},Hc=(e,t)=>!e||!t?!1:e.toDateString()!==t.toDateString();import{jsx as He,jsxs as Ht}from"react/jsx-runtime";var mb=({options:e,value:t,onChange:a,disabled:o=[]})=>He("div",{className:"flex space-x-2",children:e.map((r,s)=>He(C,{type:"button",variant:t===r?"default":"outline",onClick:()=>a(r),disabled:o[s],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:r},r))});function Gc({remainingDays:e,submitLeaveRequest:t}){let[a,o]=Wr(new Date),[r,s]=Wr(new Date),[n,i]=Wr("Full Day"),[d,m]=Wr(!1),[c,p]=Wr(1),u=db();jc(()=>{let f=Hc(a,r);m(f),f&&i("Full Day")},[a,r]),jc(()=>{if(!a||!r){p(0);return}let f=Fc(a,r,n!=="Full Day");p(f)},[a,r,n]);let g=f=>{i(f)};return Ht("div",{className:"max-w-2xl",children:[He("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),Ht("p",{className:"text-sm text-gray-500 mb-4",children:["Remaining leave days: ",e]}),Ht("form",{onSubmit:async f=>{if(f.preventDefault(),!a||!r){Ws.error("Please select both start and end dates");return}if(c>e){Ws.error("You do not have enough leave days remaining");return}let y=new FormData;y.append("startDate",a.toISOString()),y.append("endDate",r.toISOString()),y.append("leaveType",n),y.append("duration",c.toString());let R=await(t||pb)(y);R.success?(Ws.success(R.message),o(void 0),s(void 0),i("Full Day"),u.refresh()):Ws.error(`Error: ${R.message}`)},className:"space-y-4",children:[Ht("div",{className:"grid grid-cols-2 gap-4",children:[Ht("div",{className:"flex flex-col space-y-2",children:[He(I,{htmlFor:"startDate",children:"Start Date"}),Ht(bs,{children:[He(vs,{asChild:!0,children:Ht(C,{variant:"outline",className:l("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[He($c,{className:"mr-2 h-4 w-4"}),a?Oc(a,"PPP"):He("span",{children:"Pick a date"})]})}),He(Dr,{className:"w-auto p-0",align:"start",children:He(ws,{mode:"single",selected:a,onSelect:f=>{o(f),f&&(!r||f>r)&&s(f)},initialFocus:!0})})]})]}),Ht("div",{className:"flex flex-col space-y-2",children:[He(I,{htmlFor:"endDate",children:"End Date"}),Ht(bs,{children:[He(vs,{asChild:!0,children:Ht(C,{variant:"outline",className:l("w-full justify-start text-left font-normal",!r&&"text-muted-foreground"),children:[He($c,{className:"mr-2 h-4 w-4"}),r?Oc(r,"PPP"):He("span",{children:"Pick a date"})]})}),He(Dr,{className:"w-auto p-0",align:"start",children:He(ws,{mode:"single",selected:r,onSelect:s,disabled:f=>a?f<a:!1,initialFocus:!0})})]})]})]}),Ht("div",{className:"space-y-2",children:[He(I,{children:"Leave Type"}),He(mb,{options:["Full Day","Morning","Afternoon"],value:n,onChange:g,disabled:[!1,d,d]})]}),Ht("p",{className:"text-sm text-gray-500",children:["Total days: ",c]}),He(C,{disabled:c<=0,type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),He(cb,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"z-50"})]})}var pb=async e=>{let t={};return e.forEach((a,o)=>{t[o]=a}),{success:!0,message:`Leave request submitted successfully for ${e.get("duration")}`}};import{ChevronLeft as ub,ChevronRight as gb}from"lucide-react";import{jsx as we,jsxs as jt}from"react/jsx-runtime";function _c(...e){return e.filter(Boolean).join(" ")}function Vc({currentDate:e,setCurrentDate:t,holidays:a,employees:o}){let r=new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),s=()=>{t(new Date(e.getFullYear(),e.getMonth()-1,1))},n=()=>{t(new Date(e.getFullYear(),e.getMonth()+1,1))},i=()=>{t(new Date)},d=m=>m.toLocaleString("default",{weekday:"short"}).charAt(0);return jt("div",{className:"px-4 sm:px-6 lg:px-8",children:[jt("div",{className:"sm:flex sm:items-center",children:[jt("div",{className:"sm:flex-auto",children:[we("h1",{className:"text-2xl font-semibold text-accent",children:e.toLocaleString("default",{month:"long",year:"numeric"})}),we("p",{className:"mt-2 text-sm text-foreground",children:"All staff with holidays for the current month."})]}),jt("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[jt(C,{onClick:s,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[we("span",{className:"sr-only",children:"Previous month"}),we(ub,{className:"h-5 w-5","aria-hidden":"true"})]}),we(C,{variant:"outline",onClick:i,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"}),jt(C,{onClick:n,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[we("span",{className:"sr-only",children:"Next month"}),we(gb,{className:"h-5 w-5","aria-hidden":"true"})]})]})]}),we("div",{className:"mt-8 flow-root",children:we("div",{className:"-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8",children:we("div",{className:"max-h-[60vh] overflow-y-auto",children:jt("table",{className:"min-w-full border-separate border-spacing-0",children:[we("thead",{className:"sticky top-0 z-20 bg-white",children:jt("tr",{children:[we("th",{scope:"col",className:"sticky left-0 top-0 z-30 border-b border-r border-gray-300 bg-white bg-opacity-75 py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter sm:pl-6 lg:pl-8",children:"Employee"}),[...Array(r)].map((m,c)=>{let p=new Date(e.getFullYear(),e.getMonth(),c+1);return jt("th",{scope:"col",className:`sticky top-0 z-10 border-b border-r border-gray-300 bg-white bg-opacity-75 px-0 py-3.5 text-center text-sm font-semibold text-gray-900 backdrop-blur backdrop-filter ${Ur(p)?"bg-gray-200":""}`,children:[we("div",{children:d(p)}),we("div",{children:c+1})]},c)})]})}),we("tbody",{children:o.map((m,c)=>jt("tr",{children:[we("td",{className:_c(c!==o.length-1?"border-gray-200":"","sticky left-0 z-10 bg-white border-r pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6 lg:pl-8"),children:jt("div",{className:"flex items-center",children:[jt(et,{className:"h-11 w-11",children:[we(kt,{src:m.image,alt:m.name}),we(tt,{children:m.name.split(" ").map(p=>p[0]).join("")})]}),we("div",{className:"ml-4",children:we("div",{className:"font-medium text-accent",children:m.name})})]})}),[...Array(r)].map((p,u)=>{let g=new Date(e.getFullYear(),e.getMonth(),u+1),b=a.find(f=>f.userId===m.id&&new Date(f.startDate)<=g&&new Date(f.endDate)>=g);return we("td",{className:_c(c!==o.length-1?"border-r border-gray-200":"","whitespace-nowrap border-r border-gray-200",Ur(g)?"bg-gray-200":"bg-white"),children:we("div",{className:`h-6 w-6 mx-auto rounded-full overflow-hidden ${b?b.status==="approved"?"bg-green-500":b.status==="rejected"?"bg-red-500":"bg-gray-600":"bg-gray-100"}`,title:b?`${m.name}: ${b.status} (${b.startDate} - ${b.endDate}) - ${b.leaveType}`:"",children:b&&b.leaveType!=="Full Day"&&we("div",{className:`h-3 w-6 ${b.leaveType==="Morning","bg-white rounded-t-full"}`})})},`${m.id}-${u}`)})]},m.id))})]})})})})]})}import{useState as fb}from"react";import{ChevronLeft as bb,ChevronRight as vb}from"lucide-react";import{jsx as be,jsxs as _e}from"react/jsx-runtime";function Uc({currentDate:e,setCurrentDate:t,holidays:a}){let[o,r]=fb(null),s=(new Date(e.getFullYear(),e.getMonth(),1).getDay()+6)%7,n=Array.from({length:42},(c,p)=>{let u=new Date(e.getFullYear(),e.getMonth(),p-s+1);return{date:u,isCurrentMonth:u.getMonth()===e.getMonth(),isToday:u.toDateString()===new Date().toDateString(),holidays:a.filter(g=>new Date(g.startDate)<=u&&new Date(g.endDate)>=u)}}),i=()=>{t(new Date(e.getFullYear(),e.getMonth()-1,1))},d=()=>{t(new Date(e.getFullYear(),e.getMonth()+1,1))},m=()=>{t(new Date)};return _e("div",{className:"lg:flex lg:h-full lg:flex-col",children:[_e("header",{className:"flex items-center justify-between border-b border-gray-200 px-6 py-4 lg:flex-none",children:[be("h1",{className:"text-base font-semibold text-foreground",children:be("time",{dateTime:e.toISOString(),children:e.toLocaleString("default",{month:"long",year:"numeric"})})}),be("div",{className:"flex items-center",children:_e("div",{className:"relative flex items-center rounded-md gap-1 md:items-stretch",children:[_e(C,{onClick:i,variant:"outline",size:"icon",className:"rounded-l-md border-accent hover:text-accent",children:[be("span",{className:"sr-only",children:"Previous month"}),be(bb,{className:"h-5 w-5","aria-hidden":"true"})]}),be(C,{variant:"outline",onClick:m,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"}),_e(C,{onClick:d,variant:"outline",size:"icon",className:"rounded-r-md border-accent hover:text-accent",children:[be("span",{className:"sr-only",children:"Next month"}),be(vb,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]}),_e("div",{className:"shadow ring-1 ring-black ring-opacity-5 lg:flex lg:flex-auto lg:flex-col",children:[_e("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:[_e("div",{className:"bg-white py-2",children:["M",be("span",{className:"sr-only sm:not-sr-only",children:"on"})]}),_e("div",{className:"bg-white py-2",children:["T",be("span",{className:"sr-only sm:not-sr-only",children:"ue"})]}),_e("div",{className:"bg-white py-2",children:["W",be("span",{className:"sr-only sm:not-sr-only",children:"ed"})]}),_e("div",{className:"bg-white py-2",children:["T",be("span",{className:"sr-only sm:not-sr-only",children:"hu"})]}),_e("div",{className:"bg-white py-2",children:["F",be("span",{className:"sr-only sm:not-sr-only",children:"ri"})]}),_e("div",{className:"bg-white py-2",children:["S",be("span",{className:"sr-only sm:not-sr-only",children:"at"})]}),_e("div",{className:"bg-white py-2",children:["S",be("span",{className:"sr-only sm:not-sr-only",children:"un"})]})]}),_e("div",{className:"flex bg-gray-200 text-xs leading-6 text-gray-700 lg:flex-auto overflow-visible",children:[be("div",{className:"hidden w-full lg:grid lg:grid-cols-7 lg:grid-rows-6 lg:gap-px overflow-visible",children:n.map(c=>_e("div",{className:l(c.isCurrentMonth?"bg-white":"bg-gray-50 text-gray-500","relative px-3 py-2 overflow-visible"),children:[be("time",{dateTime:c.date.toISOString(),className:l("flex h-6 w-6 items-center justify-center rounded-full",c.isToday&&"bg-indigo-600 font-semibold text-white"),children:c.date.getDate()}),c.holidays.length>0&&be("ol",{className:"mt-2 space-y-1 overflow-visible",children:c.holidays.map(p=>be("li",{className:"overflow-visible",children:be("div",{className:`text-xs px-1 py-0.5 rounded ${p.status==="approved"?"border-green-500":"border-gray-500"} border overflow-visible`,children:p.userName})},p.id))})]},c.date.toISOString()))}),be("div",{className:"isolate grid w-full grid-cols-7 grid-rows-6 gap-px lg:hidden",children:n.map(c=>_e("button",{type:"button",className:l(c.isCurrentMonth?"bg-white":"bg-gray-50",(c.date===o||c.isToday)&&"font-semibold",c.date===o&&"text-white",!c.date&&c.isToday&&"text-indigo-600",c.date!==o&&c.isCurrentMonth&&!c.isToday&&"text-gray-900",c.date!==o&&!c.isCurrentMonth&&!c.isToday&&"text-gray-500","flex h-14 flex-col px-3 py-2 hover:bg-gray-100 focus:z-10"),children:[be("time",{dateTime:c.date.toISOString(),className:l("ml-auto",c.date===o&&c.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-indigo-600",c.date===o&&!c.isToday&&"flex h-6 w-6 items-center justify-center rounded-full bg-gray-900"),children:c.date.getDate()}),_e("span",{className:"sr-only",children:[c.holidays.length," holidays"]}),c.holidays.length>0&&be("span",{className:"-mx-0.5 mt-auto flex flex-wrap-reverse",children:c.holidays.map(p=>be("span",{className:`mx-0.5 mb-1 h-1.5 w-1.5 rounded-full ${p.status==="approved"?"bg-green-500":"bg-gray-500"}`},p.id))})]},c.date.toISOString()))})]})]})]})}import{useState as hb}from"react";import{ChevronDown as yb}from"lucide-react";import{CalendarDays as xb,Grid as wb,PlusCircle as Nb,CheckSquare as Cb}from"lucide-react";import{useRouter as kb}from"next/navigation";import{format as Pb,parseISO as Sb}from"date-fns";import{jsx as vt,jsxs as Ks}from"react/jsx-runtime";function Wc(...e){return e.filter(Boolean).join(" ")}function J3({holidays:e,currentUser:t,currentDate:a,leaveApprovals:o,employees:r,submitLeaveRequest:s,approveLeave:n,rejectLeave:i}){let[d,m]=hb("Calendar View"),c=kb(),p=!1,u=Sb(a),g=async f=>{let y=Pb(f,"dd-MM-yyyy"),R=new URL(window.location.href);return R.searchParams.set("date",y),c.push(R.toString()),{success:!0}};if(p)return vt("div",{className:"flex justify-center items-center h-screen",children:vt("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let b=[{name:"Grid View",icon:wb,current:d==="Grid View"},{name:"Calendar View",icon:xb,current:d==="Calendar View"},{name:"Request Leave",icon:Nb,current:d==="Request Leave"},{name:"Approve Leave",icon:Cb,current:d==="Approve Leave"}];return Ks("div",{className:"container mx-auto p-4 h-full",children:[Ks("div",{className:"mb-8",children:[Ks("div",{className:"sm:hidden",children:[vt("select",{value:d,onChange:f=>m(f.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:b.map(f=>vt("option",{children:f.name},f.name))}),vt(yb,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),vt("div",{className:"hidden sm:block",children:vt("div",{className:"border-b border-gray-200",children:vt("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:b.map(f=>Ks("a",{onClick:()=>{(f.name!=="Approve Leave"||t.grade==="Manager"||t.grade==="Senior Manager"||t.grade==="Partner")&&m(f.name)},className:Wc(f.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",f.name==="Approve Leave"&&t.grade!=="Manager"&&t.grade!=="Senior Manager"&&t.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":f.current?"page":void 0,children:[vt(f.icon,{className:Wc(f.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),vt("span",{children:f.name})]},f.name))})})})]}),d==="Grid View"&&vt(Vc,{currentDate:u,setCurrentDate:g,holidays:e,employees:r}),d==="Calendar View"&&vt(Uc,{currentDate:u,setCurrentDate:g,holidays:e}),d==="Request Leave"&&vt(Gc,{remainingDays:t.remainingLeaveDays,submitLeaveRequest:f=>s?s(f):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),d==="Approve Leave"&&vt(zc,{leaveRequests:o,onApprove:f=>n?n(f):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:f=>i?i(f):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}import{useState as Eb,useCallback as Fb}from"react";import{useState as Xs,useEffect as Rb}from"react";import{UserIcon as Tb,CalendarIcon as Db,SaveIcon as Ab,PlusIcon as Mb}from"lucide-react";import{jsx as B,jsxs as me}from"react/jsx-runtime";function Ys({deal:e,users:t,customer:a,categories:o,onClose:r,onSave:s,onAddComment:n}){let[i,d]=Xs({...e,value:e.value||0,comments:e.comments||[],customer:e.customer||{}}),[m,c]=Xs(""),[p,u]=Xs(!1),[g,b]=Xs(null);Rb(()=>{u(JSON.stringify(e)!==JSON.stringify(i))},[e,i]);let f=async()=>{try{let x=await s(i);x.success?(u(!1),b(null)):console.error("Failed to save deal:",x.errors)}catch(x){console.error("Failed to save deal:",x)}},y=(x,k)=>{d(V=>({...V,[x]:k}))},R=x=>{let k=(i.categories||[]).includes(x)?(i.categories||[]).filter(V=>V!==x):[...i.categories||[],x];y("categories",k)},P=async()=>{if(m.trim()){let x={text:m,timestamp:new Date().toISOString()};try{let k=await n(x);if(!k.success){console.error("Failed to add comment:",k.errors);return}}catch(k){console.error("Failed to add comment:",k)}d(k=>({...k,comments:[...k.comments||[],x]})),c("")}},h=x=>{switch(x){case"proposition":return"border-blue-800 text-blue-800";case"source":return"border-green-800 text-green-800";case"sector":return"border-purple-800 text-purple-800";default:return"border-gray-800 text-gray-800"}},w=x=>t?.find(k=>k.id===Number(x));return B(Xt,{open:!0,children:me(Lt,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[me(sa,{className:"flex flex-row items-center justify-between",children:[B(ia,{className:"text-2xl font-bold",children:a?.name||"no customer"}),me("div",{className:"flex space-x-2",children:[B(C,{variant:"outline",onClick:r,children:"Close"}),me(C,{onClick:f,disabled:!p,children:[B(Ab,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),me(Wt,{className:"flex-grow pr-4",children:[me("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[B("div",{className:"grid gap-2 m-1",children:g==="value"?B(Fe,{type:"number",value:i.value,onChange:x=>y("value",Number(x.target.value)),onBlur:()=>b(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):me("div",{className:"text-3xl font-bold text-green-600 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("value"),children:["\xA3",i.value?.toLocaleString()]})}),me("div",{className:"grid gap-2 m-1",children:[B(I,{className:"text-sm font-medium text-accent",children:"Assignee"}),g==="assignee"?me(zt,{value:i?.assignee?.id?.toString()||"",onValueChange:x=>y("assignee",w(x)),children:[B(Pt,{children:B(Et,{placeholder:"Select assignee"})}),B(St,{children:t&&t.map(x=>B(ut,{value:x?.id?.toString()||"",children:x.name},x.id))})]}):me("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("assignee"),children:[B(Tb,{className:"w-4 h-4 text-gray-400"}),B("span",{children:i?.assignee?.name})]})]}),me("div",{className:"grid gap-2 m-1",children:[B(I,{className:"text-sm font-medium text-accent",children:"Closure Date"}),g==="closureDate"?B(Fe,{type:"date",value:i.closureDate?.split("T")[0]??"",onChange:x=>y("closureDate",x.target.value),onBlur:()=>b(null),className:"mr-2",autoFocus:!0}):me("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("closureDate"),children:[B(Db,{className:"w-4 h-4 text-gray-400"}),B("span",{children:i.closureDate?new Date(i.closureDate).toLocaleDateString("en-GB"):"N/A"})]})]})]}),B("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:me("div",{className:"grid gap-2 m-1",children:[B(I,{className:"text-sm font-medium text-accent",children:"Description"}),g==="description"?B(Yt,{value:i.description||"",onChange:x=>y("description",x.target.value),onBlur:()=>b(null),className:"min-h-[100px]",autoFocus:!0}):B("div",{className:"cursor-pointer p-1 border border-background hover:border-accent pb-5 rounded",onClick:()=>b("description"),children:i.description})]})}),me("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[me("div",{className:"grid gap-2 m-1",children:[B(I,{className:"text-sm font-medium text-accent",children:"Status"}),g==="status"?me(zt,{value:i.status,onValueChange:x=>{y("status",x),b(null)},children:[B(Pt,{children:B(Et,{placeholder:"Select status"})}),B(St,{children:["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"].map(x=>B(ut,{value:x,children:x},x))})]}):B("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("status"),children:i.status})]}),me("div",{className:"grid col-span-2 gap-2",children:[B(I,{className:"text-sm font-medium text-accent",children:"Categories"}),g==="categories"?B("div",{className:"grid grid-cols-2 gap-2 m-1",children:o.map(x=>me("div",{className:"flex items-center space-x-2",children:[B(na,{id:x.id?.toString()||"",checked:(i.categories||[]).some(k=>k.id===x.id),onCheckedChange:()=>x.id!==void 0&&R(x)}),B("label",{htmlFor:(x.id??"").toString(),className:`text-sm font-medium ${h(x.type||"sector")} px-2 py-1 rounded`,children:x.name})]},x.id))}):B("div",{className:"flex flex-wrap gap-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("categories"),children:i.categories&&i.categories.map(x=>{let k=x;return k?B(Me,{variant:"outline",className:h(k.type||"sector"),children:k.name},k.id):null})})]}),me("div",{className:"grid gap-2 m-1",children:[B(I,{className:"text-sm font-medium text-accent",children:"COGE Status"}),g==="gecoStatus"?me(zt,{value:i.gecoStatus??void 0,onValueChange:x=>{y("gecoStatus",x),b(null)},children:[B(Pt,{children:B(Et,{placeholder:"Select status"})}),B(St,{children:["firm","forecast","other"].map(x=>B(ut,{value:x,children:x.charAt(0).toUpperCase()+x.slice(1)},x))})]}):B("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>b("gecoStatus"),children:i.gecoStatus?i.gecoStatus.charAt(0).toUpperCase()+i.gecoStatus.slice(1):"N/A"})]})]}),me("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[me("div",{className:"grid gap-2",children:[B(I,{className:"text-sm font-medium text-accent",children:"Comments"}),B(Wt,{className:"h-[200px] overflow-y-auto",children:B("div",{className:"space-y-2",children:i.comments&&i.comments.slice().sort((x,k)=>new Date(k.timestamp||"").getTime()-new Date(x.timestamp||"").getTime()).map(x=>me("div",{className:"p-3 rounded-lg",children:[B("p",{className:"text-sm text-foreground",children:x.text}),me("p",{className:"text-xs text-foreground mt-1",children:[x?.author?.name," - ",new Date(x.timestamp||"").toLocaleString()]})]},x.id))})}),me("div",{className:"flex mt-2",children:[B(Fe,{value:m,onChange:x=>c(x.target.value),placeholder:"Add a comment...",className:"flex-grow ml-1"}),me(C,{onClick:P,className:"ml-2",children:[B(Mb,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),me("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(i.updatedAt||"").toLocaleString()]})]})]})]})})}import{CalendarIcon as Ib,UserIcon as Lb}from"lucide-react";import{jsx as Je,jsxs as ha}from"react/jsx-runtime";function Kc({deal:e,customer:t,categories:a,onClick:o,compact:r=!1}){let s=a.find(n=>n.type==="proposition"&&(e.categories??[]).includes(n.id));return r?ha(Y,{className:"mb-1 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:o,children:[ha(de,{className:"pb-1 pt-2",children:[Je(ce,{className:"text-sm font-semibold text-foreground",children:t?.name}),Je("p",{className:"text-sm text-foreground mt-1",children:e.description})]}),Je(J,{className:"text-xs text-gray-200 pb-2",children:Je("div",{className:"flex justify-between items-center mb-1",children:Je("div",{className:"flex items-center text-sm font-bold text-green-600",children:ha("span",{children:["\xA3",e.value.toLocaleString()]})})})})]}):ha(Y,{className:"mb-4 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:o,children:[ha(de,{className:"pb-2",children:[Je("div",{className:"flex justify-between items-center",children:Je(ce,{className:"text-lg font-semibold text-foreground",children:t?.name})}),Je("p",{className:"text-sm text-foreground mt-1",children:e.description})]}),ha(J,{children:[ha("div",{className:"flex justify-between items-center mb-3",children:[ha("div",{className:"flex items-center text-sm text-foreground",children:[Je(Lb,{className:"w-4 h-4 mr-1 text-xs"}),Je("span",{children:e.assignee.name})]}),Je("div",{className:"flex items-center text-sm font-bold text-green-600",children:ha("span",{children:["\xA3",e.value.toLocaleString()]})})]}),Je("div",{className:"flex justify-between items-left mb-3",children:ha("div",{className:"flex items-center text-xs text-gray-200",children:[Je(Ib,{className:"w-3 h-3 mr-1"}),Je("span",{children:new Date(e.updatedAt).toLocaleDateString()})]})}),Je("div",{className:"flex justify-between items-left",children:s&&Je(Me,{variant:"secondary",className:"bg-blue-100 text-blue-800 text-xs",children:s.name})})]})]})}import{Droppable as Bb,Draggable as zb}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as qs,jsxs as ao}from"react/jsx-runtime";function Qs({status:e,deals:t,users:a,customers:o,categories:r,onDealClick:s,calculateColumnValue:n,calculateWeightedValue:i,compact:d=!1}){return ao("div",{className:"flex flex-col w-80",children:[ao("h2",{className:"text-xl font-semibold mb-4",children:[" ",e.charAt(0).toUpperCase()+e.slice(1)]}),qs(Bb,{droppableId:e,isDropDisabled:!1,children:m=>ao("div",{ref:m.innerRef,...m.droppableProps,className:"bg-background/90 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[t.map((c,p)=>qs(zb,{draggableId:c.id.toString(),index:c.id,children:u=>qs("div",{ref:u.innerRef,...u.draggableProps,...u.dragHandleProps,children:qs(Kc,{deal:c,customer:c.customer,categories:r,onClick:()=>s(c),compact:d})})},c.id.toString())),m.placeholder]})}),ao("div",{className:"mt-4 text-sm p-3 rounded-lg shadow",children:[ao("p",{className:"font-semibold",children:["Total:"," ",ao("span",{className:"text-green-600",children:["\xA3",n(t).toLocaleString()]})]}),ao("p",{className:"font-semibold",children:["Weighted:"," ",ao("span",{className:"text-blue-600",children:["\xA3",i(t,e).toLocaleString()]})]})]})]})}import{DragDropContext as Hb}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as Js,jsxs as Ob}from"react/jsx-runtime";var jb=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost","Dormant"];function MR({initialData:e,addNewDeal:t,updateDeal:a,addComment:o,addNewCustomer:r}){let[s,n]=Eb(null),i=p=>(e.deals??[]).filter(u=>u.status===p),d=p=>p.reduce((u,g)=>u+(g.value||0),0),m=(p,u)=>{let g={Cold:0,Qualified:.1,"Proposal Made":.25,"SoW Submitted":.8,Won:1,Lost:0,Dormant:0};return p.reduce((b,f)=>b+(f.value||0)*g[u],0)},c=Fb(p=>{let{source:u,destination:g}=p;if(!g||u.droppableId===g.droppableId&&u.index===g.index)return;let b=u.droppableId,f=g.droppableId,y=e.deals?.filter(P=>P.id===u.index)[0],R=[...e.deals??[]];y&&(y.status=f,a(y))},[a]);return Js(Hb,{onDragEnd:c,children:Ob("div",{className:"p-4 h-full overflow-auto",children:[Js("div",{className:"flex space-x-4 pb-4",children:jb.filter(p=>p!=="Lost").map(p=>{let u=i(p);return Js(Qs,{status:p,deals:u,customers:e.customers??[],users:e.users,categories:e.categories??[],onDealClick:n,calculateColumnValue:d,calculateWeightedValue:m},p)})}),s&&Js(Ys,{deal:s,users:e.users,customer:s.customer,categories:e.categories??[],onClose:()=>n(null),onSave:a,onAddComment:p=>o(s.id.toString(),p)})]})})}import{useState as Sn,useEffect as Gb}from"react";import{PlusIcon as _b}from"lucide-react";import{useState as $b}from"react";import{jsx as Lo,jsxs as Zs}from"react/jsx-runtime";function Xc({onSubmit:e}){let[t,a]=$b({name:"",intro:"",active:!1});return Zs("form",{onSubmit:r=>{r.preventDefault(),t.name&&(e({...t,name:t.name,updatedAt:new Date().toISOString(),createdAt:new Date().toISOString()}),a({name:"",intro:"",active:!0}))},className:"space-y-4",children:[Zs("div",{className:"space-y-2",children:[Lo(I,{htmlFor:"customerName",children:"Customer Name"}),Lo(Fe,{id:"customerName",value:t.name,onChange:r=>a({...t,name:r.target.value}),placeholder:"Enter customer name",required:!0})]}),Zs("div",{className:"space-y-2",children:[Lo(I,{htmlFor:"customerIntro",children:"Intro"}),Lo(Yt,{id:"customerIntro",value:t.intro??"",onChange:r=>a({...t,intro:r.target.value}),placeholder:"Enter customer intro"})]}),Zs("div",{className:"flex items-center space-x-2",children:[Lo(na,{id:"activeCustomer",checked:!!t.active,onCheckedChange:r=>a({...t,active:r})}),Lo(I,{htmlFor:"activeCustomer",children:"Active Customer"})]}),Lo(C,{type:"submit",className:"w-full",children:"Add Customer"})]})}import{Fragment as Vb,jsx as Q,jsxs as st}from"react/jsx-runtime";function eT({customers:e,users:t,categories:a,onSubmit:o,initialDeal:r,onAddCustomer:s,onClose:n}){let[i,d]=Sn(r||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[m,c]=Sn(!1),[p,u]=Sn({});Gb(()=>{r&&d(r)},[r]);let g=()=>{let h={};return i.customer||(h.customer="Customer is required"),i.value||(h.value="Value is required"),i.assignee||(h.assignee="Assignee is required"),i.closureDate||(h.closureDate="Closure Date is required"),u(h),Object.keys(h).length===0},b=async h=>{h.preventDefault(),u({});try{if(g()){let w=await o({...i});w.success?(d({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),n?.()):u(w.errors||{})}}catch{u({submit:"An error occurred while submitting the form."})}},f=h=>{d(w=>({...w,categories:(w.categories||[]).includes(h.id)?(w.categories||[]).filter(x=>x!==h.id):[...w.categories||[],h.id]}))},y=async h=>{d({...i,customer:h});try{let w=await s(h);w.success?c(!1):u(w.errors||{})}catch{u({submit:"An error occurred while submitting the form."})}},R=h=>t?.find(w=>w.id===Number(h)),P=h=>e?.find(w=>w.id===Number(h));return st(Vb,{children:[st("form",{onSubmit:b,className:"space-y-6",children:[Q(Wt,{className:"h-[60vh] pr-4",children:st("div",{className:"space-y-6 px-4",children:[st("div",{className:"space-y-2 space-x-2",children:[Q(I,{htmlFor:"customer",children:"Customer"}),st("div",{className:"flex items-center space-x-2",children:[st(zt,{value:i.customer?.id?.toString(),onValueChange:h=>d({...i,customer:P(h)}),children:[Q(Pt,{children:Q(Et,{placeholder:"Select customer"})}),Q(St,{children:e.map(h=>Q(ut,{value:h.id?.toString()||"",children:h.name},h.id))})]}),Q(C,{variant:"outline",size:"icon",onClick:()=>c(!0),children:Q(_b,{className:"w-5 h-5"})})]}),p.customerId&&Q("p",{className:"text-red-500 text-sm",children:p.customerId})]}),st("div",{className:"space-y-2 space-x-2",children:[Q(I,{htmlFor:"value",children:"Value"}),Q(Fe,{id:"value",type:"number",value:i.value||"",onChange:h=>d({...i,value:Number.parseFloat(h.target.value)}),placeholder:"Enter deal value"}),p.value&&Q("p",{className:"text-red-500 text-sm",children:p.value})]}),st("div",{className:"space-y-2 space-x-2",children:[Q(I,{htmlFor:"assignee",children:"Assignee"}),st(zt,{value:i.assignee?.id?.toString(),onValueChange:h=>d({...i,assignee:R(h)}),children:[Q(Pt,{children:Q(Et,{placeholder:"Select assignee"})}),Q(St,{children:t&&t.map(h=>Q(ut,{value:h.id?.toString()||"",children:h.name},h.id))})]}),p.assignee&&Q("p",{className:"text-red-500 text-sm",children:p.assignee})]}),st("div",{className:"space-y-2 space-x-2",children:[Q(I,{htmlFor:"description",children:"Description"}),Q(Yt,{id:"description",value:i.description||"",onChange:h=>d({...i,description:h.target.value}),placeholder:"Enter deal description"})]}),st("div",{className:"space-y-2 space-x-2",children:[Q(I,{children:"Categories"}),Q("div",{className:"space-y-4",children:["proposition","source","sector"].map(h=>st("div",{className:"space-y-2",children:[Q("h4",{className:"text-sm font-medium",children:h.charAt(0).toUpperCase()+h.slice(1)}),Q("div",{className:"grid grid-cols-2 gap-2",children:a.filter(w=>w.type===h).map(w=>st("div",{className:"flex items-center space-x-2",children:[Q(na,{id:w.id.toString(),checked:i.categories?.includes(w.id),onCheckedChange:()=>f(w)}),Q("label",{htmlFor:w.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:w.name})]},w.id))})]},h))})]}),st("div",{className:"space-y-2 space-x-2",children:[Q(I,{htmlFor:"closureDate",children:"Closure Date"}),Q(Fe,{id:"closureDate",type:"date",value:i.closureDate||"",onChange:h=>d({...i,closureDate:h.target.value})}),p.closureDate&&Q("p",{className:"text-red-500 text-sm",children:p.closureDate})]})]})}),Q(C,{type:"submit",className:"w-full",children:r?"Update Deal":"Add Deal"})]}),Q(Xt,{open:m,onOpenChange:c,children:st(Lt,{children:[Q(sa,{children:Q(ia,{children:"Add New Customer"})}),Q(Xc,{onSubmit:y})]})})]})}import{useState as Ub,useCallback as Wb}from"react";import{DragDropContext as Kb}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as ei,jsxs as Yb}from"react/jsx-runtime";var Xb=["firm","forecast","other"];function lT({initialData:e,updateDeal:t,addComment:a}){let[o,r]=Ub(null),s=m=>(e.deals??[]).filter(c=>c.gecoStatus===m).filter(c=>c.status!=="Lost").filter(c=>c.status!=="Cold"),n=m=>m.reduce((c,p)=>c+(p.value||0),0),i=(m,c)=>{let p={Cold:0,Qualified:.1,"Proposal Made":.25,"SoW Submitted":.8,Won:1,Lost:0,Dormant:0};return m.reduce((u,g)=>u+(g.value||0)*(p[g.status]??0),0)},d=Wb(m=>{let{source:c,destination:p}=m;if(!p||c.droppableId===p.droppableId&&c.index===p.index)return;let u=c.droppableId,g=p.droppableId,b=e.deals?.filter(y=>y.id===c.index)[0],f=[...e.deals??[]];b&&(b.gecoStatus=g,t(b))},[t]);return ei(Kb,{onDragEnd:d,children:Yb("div",{className:"p-4 h-full overflow-auto",children:[ei("div",{className:"flex space-x-4 pb-4",children:Xb.map(m=>{let c=s(m);return ei(Qs,{status:m,deals:c,customers:e.customers??[],users:e.users,categories:e.categories??[],onDealClick:r,calculateColumnValue:n,calculateWeightedValue:i,compact:!0},m)})}),o&&ei(Ys,{deal:o,users:e.users,customer:o.customer,categories:e.categories??[],onClose:()=>r(null),onSave:t,onAddComment:m=>a(o.id.toString(),m)})]})})}import tv from"react";import{Clock as Qb}from"lucide-react";import{formatDistanceToNow as Jb}from"date-fns";import{useState as Rn,useEffect as qb}from"react";function Yc({taskId:e,polling:t=!0,system:a="payload"}){let[o,r]=Rn(null),[s,n]=Rn(!1),[i,d]=Rn(null),m=async(p=!0)=>{if(e){p&&n(!0);try{let u=await fetch(`/api/tasks/${e}`);if(!u.ok)throw new Error(`Failed to fetch task: ${u.statusText}`);let g=await u.json();r(g)}catch(u){console.error("Error fetching task:",u),d(u instanceof Error?u:new Error("Unknown error occurred"))}finally{p&&n(!1)}}},c=()=>m(!1);return qb(()=>{e&&m(!0);let p=null;return e&&t&&(p=setInterval(c,5e3)),()=>{p&&clearInterval(p)}},[e,t]),{task:o,loading:s,error:i}}import{jsx as za,jsxs as Bo}from"react/jsx-runtime";var Zb=e=>{switch(e){case"backlog":return"bg-gray-200 text-gray-800";case"todo":return"bg-blue-200 text-blue-800";case"inProgress":return"bg-yellow-200 text-yellow-800";case"done":return"bg-green-200 text-green-800";case"cancelled":return"bg-red-200 text-red-800";default:return"bg-gray-200 text-gray-800"}},ev=e=>{switch(e){case"inProgress":return"In Progress";default:return e.charAt(0).toUpperCase()+e.slice(1)}};function qc({data:e}){let{id:t,system:a,fetchLatest:o,taskData:r,error:s}=e||{};if(!t)return null;let n=null,i=!0,d=s,m=o!==void 0?o:!0;if(n=r||{id:t,name:"Loading...",description:"",status:"todo",dateLogged:new Date().toISOString(),project:void 0},console.log("ChatCardTask",{data:e,id:t,initialFetchLatest:o,system:a,fetchLatest:m,taskData:n,error:d}),m){let{task:g,loading:b,error:f}=Yc({taskId:t,system:a});n=g,i=b,d=f}else i=!1;let c=Zb(n?.status||"todo"),p=ev(n?.status||"todo"),u=n?.dateLogged||new Date().toISOString();try{let g=new Date(n?.dateLogged||"");isNaN(g.getTime())||(u=Jb(g,{addSuffix:!0}))}catch{}return Bo(Y,{className:l("w-full max-w-md shadow-md",d&&"border border-destructive"),children:[Bo(de,{className:"pb-2",children:[Bo("div",{className:"flex justify-between items-start",children:[za(ce,{className:"text-lg font-semibold",children:i?"Loading...":n?.name||"Task"}),za(Me,{className:`${c}`,children:p})]}),n?.project&&Bo(Fr,{className:"text-sm text-gray-500",children:["Project: ",n.project.name]})]}),za(J,{className:"pb-2",children:i?za("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):d?za("p",{className:"text-sm text-red-500",children:"Error loading task details"}):za("p",{className:"text-sm text-foreground",children:n?.description||"......."})}),za(wo,{className:"pt-2 flex items-center justify-between",children:Bo("div",{className:"flex items-center text-xs text-gray-500",children:[za(Qb,{className:"h-3 w-3 mr-1"}),Bo("span",{children:["Created ",u]}),za("span",{className:"mx-2",children:"\u2022"}),Bo("span",{children:["Task #",t]})]})})]})}import{jsx as ht,jsxs as zo}from"react/jsx-runtime";var av={task:qc},ov=`
21
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white" width="20" height="20">
22
- <path d="M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z"/>
23
- </svg>`,rv=`data:image/svg+xml;utf8,${encodeURIComponent(ov)}`,Qc=tv.memo(function(t){let{id:a,message:o,currentUser:r,role:s}=t,n=s==="user",i=n?r?.name||"You":r?.name||"AI Assistant",d=n?r?.avatar||"/placeholder-user.jpg":"/placeholder.svg?height=40&width=40";switch(o.type){case"forwarding":return zo("div",{className:`flex items-start gap-3 text-primary text-xs ${n?"flex-row-reverse":""}`,children:["Forwarding to ",o?.data?.content]},a);case"text":return zo("div",{className:`flex items-start gap-3 ${n?"flex-row-reverse":""}`,children:[n?zo(et,{children:[ht(kt,{src:d,alt:i}),ht(tt,{children:i.substring(0,2).toUpperCase()})]}):ht("img",{src:rv,alt:"AI Assistant",className:"w-10 h-10"}),zo("div",{className:`grid gap-1.5 ${n?"text-right":""}`,children:[ht("div",{className:"flex items-center gap-2",children:ht("span",{className:"font-medium",children:i})}),ht("div",{className:`rounded-lg p-3 text-sm ${n?"bg-primary text-primary-foreground":"bg-muted"}`,style:{whiteSpace:"pre-line"},children:o?.data?.content})]})]},a);case"image":return zo("div",{className:`flex items-start gap-3 ${n?"flex-row-reverse":""}`,children:[zo(et,{className:n?"":"ai-border",children:[ht(kt,{src:d,alt:i}),ht(tt,{children:i.substring(0,2).toUpperCase()})]}),zo("div",{className:`grid gap-1.5 ${n?"text-right":""}`,children:[ht("div",{className:"flex items-center gap-2",children:ht("span",{className:"font-medium",children:i})}),ht("img",{src:o?.data?.image,alt:"User uploaded content",className:`rounded-lg p-3 text-sm ${n?"bg-primary text-primary-foreground":"bg-muted"}`,style:{maxWidth:"100%",height:"auto"}})]})]},a);case"tool-invocation":if(o.data&&o.data.tool){let m=av[o.data.tool];return m?ht("div",{className:"mt-2",children:ht(m,{data:o.data})}):(console.warn(`Tool ${o.data.tool} is not defined.`),ht("div",{className:"mt-2",children:"......"}))}}});import{useEffect as sv,useRef as iv}from"react";import{jsx as yt,jsxs as Eo}from"react/jsx-runtime";function BT({messages:e,isLoading:t}){let a=iv(null);return sv(()=>{a.current?.scrollIntoView({behavior:"smooth"})},[e]),yt("div",{className:"flex flex-col h-full overflow-hidden",children:Eo(Wt,{className:"container flex-1 p-4",children:[Eo("div",{className:"space-y-6",children:[e.length===0&&yt("div",{className:"flex items-center justify-center h-full pt-60",children:Eo("div",{className:"text-center max-w-md",children:[yt("h2",{className:"text-2xl font-bold mb-2",children:"Welcome to Dexter"}),yt("p",{className:"text-zinc-400",children:"Ask me anything or direct your question to a business function directly using the toolbar below."})]})}),t&&Eo("div",{className:"flex items-start gap-3",children:[Eo(et,{className:"ai-border",children:[yt(kt,{src:"/placeholder.svg?height=40&width=40",alt:"AI Assistant"}),yt(tt,{children:"AI"})]}),Eo("div",{className:"grid gap-1.5",children:[yt("div",{className:"flex items-center gap-2",children:yt("span",{className:"font-medium",children:"AI Assistant"})}),yt("div",{className:"rounded-lg p-3 text-sm bg-muted",children:Eo("div",{className:"flex space-x-2",children:[yt("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce"}),yt("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce [animation-delay:0.2s]"}),yt("div",{className:"w-2 h-2 rounded-full bg-current animate-bounce [animation-delay:0.4s]"})]})})]})]}),e.map((o,r)=>yt(Qc,{...o},r))]}),yt("div",{ref:a})]})})}var Jc={primary:"bg-blue-500",secondary:"bg-gray-500",accent:"bg-purple-500",categories:["bg-green-500","bg-blue-500","bg-purple-500","bg-pink-500","bg-indigo-500","bg-orange-500"],lists:["bg-green-400","bg-blue-400","bg-purple-400","bg-pink-400","bg-indigo-400","bg-orange-400"],items:["bg-green-300","bg-blue-300","bg-purple-300","bg-pink-300","bg-indigo-300","bg-orange-300"]},Tn=[{id:"sales",name:"Sales",description:"Revenue and customer management",iconName:"DollarSign",color:"bg-green-600",type:"category",actions:[{id:"view-pipeline",label:"View Pipeline",description:"See all opportunities in pipeline",iconName:"BarChart",action:e=>console.log("View pipeline",e)},{id:"create-opportunity",label:"Create Opportunity",iconName:"Target",action:e=>console.log("Create opportunity",e)}],children:[{id:"customers",name:"Customers",description:"Customer accounts and contacts",iconName:"Users",color:"bg-blue-500",type:"list",actions:[{id:"add-customer",label:"Add Customer",iconName:"User",action:e=>console.log("Add customer",e)},{id:"export-customers",label:"Export List",iconName:"FileText",action:e=>console.log("Export customers",e)}],data:[{id:"acme-corp",title:"Acme Corp",subtitle:"Enterprise Customer",value:"$125K ARR",metadata:{industry:"Technology",employees:500,lastContact:"2024-01-15"}},{id:"beta-inc",title:"Beta Inc",subtitle:"Mid-market",value:"$45K ARR",metadata:{industry:"Healthcare",employees:150,lastContact:"2024-01-10"}},{id:"gamma-llc",title:"Gamma LLC",subtitle:"Small Business",value:"$15K ARR",metadata:{industry:"Manufacturing",employees:50,lastContact:"2024-01-08"}}]},{id:"opportunities",name:"Opportunities",description:"Sales opportunities and deals",iconName:"Target",color:"bg-yellow-500",type:"list",actions:[{id:"close-won",label:"Mark as Won",iconName:"CheckCircle",action:e=>console.log("Close won",e)},{id:"schedule-followup",label:"Schedule Follow-up",iconName:"Clock",action:e=>console.log("Schedule follow-up",e)}],data:[{id:"opp-1",title:"Acme Corp - Enterprise License",subtitle:"Closing Q1 2024",value:"$85K",metadata:{stage:"Negotiation",probability:80,closeDate:"2024-03-31"}},{id:"opp-2",title:"Beta Inc - Platform Upgrade",subtitle:"Closing Q2 2024",value:"$32K",metadata:{stage:"Proposal",probability:65,closeDate:"2024-06-15"}}]}]},{id:"marketing",name:"Marketing",description:"Marketing campaigns and analytics",iconName:"TrendingUp",color:"bg-pink-600",type:"category",actions:[{id:"view-analytics",label:"View Analytics",iconName:"BarChart",action:e=>console.log("View analytics",e)}],children:[{id:"campaigns",name:"Campaigns",description:"Marketing campaigns and performance",iconName:"TrendingUp",color:"bg-pink-500",type:"list",data:[{id:"campaign-1",title:"Q1 Product Launch",subtitle:"Active Campaign",value:"45% CTR",metadata:{budget:"$50K",spend:"$32K",leads:1250}},{id:"campaign-2",title:"Holiday Promotion",subtitle:"Completed",value:"38% CTR",metadata:{budget:"$25K",spend:"$24K",leads:890}}]}]},{id:"projects",name:"Projects",description:"Project management and tracking",iconName:"Briefcase",color:"bg-blue-600",type:"category",children:[{id:"active-projects",name:"Active Projects",description:"Currently active projects",iconName:"Activity",color:"bg-blue-500",type:"list",data:[{id:"project-1",title:"Website Redesign",subtitle:"In Progress",value:"75% Complete",metadata:{team:"Design",deadline:"2024-02-15",status:"On Track"}},{id:"project-2",title:"Mobile App Development",subtitle:"Planning",value:"25% Complete",metadata:{team:"Engineering",deadline:"2024-03-31",status:"On Track"}}]}]},{id:"engineering",name:"Engineering",description:"Development and technical operations",iconName:"Code",color:"bg-purple-600",type:"category",actions:[{id:"view-repos",label:"View Repositories",description:"See all code repositories",iconName:"Git",action:e=>console.log("View repositories",e)},{id:"create-task",label:"Create Task",iconName:"Plus",action:e=>console.log("Create task",e)}],children:[{id:"repositories",name:"Repositories",description:"Code repositories and projects",iconName:"GitBranch",color:"bg-purple-500",type:"list",actions:[{id:"create-repo",label:"Create Repository",iconName:"Plus",action:e=>console.log("Create repository",e)},{id:"view-commits",label:"View Commits",iconName:"Git",action:e=>console.log("View commits",e)}],data:[{id:"repo-1",title:"frontend-app",subtitle:"React Application",value:"Main Branch",metadata:{language:"TypeScript",commits:1247,contributors:8}},{id:"repo-2",title:"backend-api",subtitle:"Node.js API",value:"Main Branch",metadata:{language:"Node.js",commits:892,contributors:5}}]},{id:"tasks",name:"Tasks",description:"Development tasks and issues",iconName:"CheckSquare",color:"bg-blue-500",type:"list",actions:[{id:"create-task",label:"Create Task",iconName:"Plus",action:e=>console.log("Create task",e)},{id:"assign-task",label:"Assign Task",iconName:"UserPlus",action:e=>console.log("Assign task",e)}],data:[{id:"task-1",title:"Fix authentication bug",subtitle:"High Priority",value:"In Progress",metadata:{assignee:"John Doe",priority:"High",estimate:"4h"}},{id:"task-2",title:"Implement dark mode",subtitle:"Feature Request",value:"Todo",metadata:{assignee:"Jane Smith",priority:"Medium",estimate:"8h"}}]}]},{id:"design",name:"Design",description:"User experience and visual design",iconName:"Palette",color:"bg-pink-600",type:"category",actions:[{id:"view-designs",label:"View Designs",description:"See all design assets",iconName:"Image",action:e=>console.log("View designs",e)},{id:"create-mockup",label:"Create Mockup",iconName:"Plus",action:e=>console.log("Create mockup",e)}],children:[{id:"assets",name:"Assets",description:"Design assets and components",iconName:"Package",color:"bg-pink-500",type:"list",actions:[{id:"add-asset",label:"Add Asset",iconName:"Plus",action:e=>console.log("Add asset",e)},{id:"organize-assets",label:"Organize",iconName:"FolderOpen",action:e=>console.log("Organize assets",e)}],data:[{id:"asset-1",title:"Logo Variations",subtitle:"Brand Assets",value:"12 files",metadata:{format:"SVG",size:"2.4MB",updated:"2024-01-20"}},{id:"asset-2",title:"UI Components",subtitle:"Component Library",value:"45 components",metadata:{format:"Figma",size:"18.7MB",updated:"2024-01-22"}}]}]},{id:"product",name:"Product",description:"Product management and strategy",iconName:"Layers",color:"bg-indigo-600",type:"category",actions:[{id:"view-roadmap",label:"View Roadmap",description:"See product roadmap",iconName:"Map",action:e=>console.log("View roadmap",e)},{id:"create-feature",label:"Create Feature",iconName:"Plus",action:e=>console.log("Create feature",e)}],children:[{id:"features",name:"Features",description:"Product features and requirements",iconName:"Star",color:"bg-indigo-500",type:"list",actions:[{id:"add-feature",label:"Add Feature",iconName:"Plus",action:e=>console.log("Add feature",e)},{id:"prioritize-features",label:"Prioritize",iconName:"ArrowUp",action:e=>console.log("Prioritize features",e)}],data:[{id:"feature-1",title:"User Authentication",subtitle:"Security Feature",value:"In Development",metadata:{priority:"High",effort:"Large",impact:"High"}},{id:"feature-2",title:"Dark Mode",subtitle:"UI Enhancement",value:"Backlog",metadata:{priority:"Medium",effort:"Small",impact:"Medium"}}]}]}];function FT(e){let t=Tn,a=null;for(let o of e){if(a=t.find(r=>r.id===o||r.name===o)||null,!a)return null;t=a.children||[]}return a}function HT(e){let t=e.path[e.path.length-1];return t?.actions?t.actions:[]}function jT(e){return Tn.filter(t=>t.name.toLowerCase().includes(e.toLowerCase())||e.toLowerCase().includes(t.name.toLowerCase()))}function OT(){return Tn}import{Clock as nv}from"lucide-react";import{formatDistanceToNow as lv}from"date-fns";import{jsx as ya,jsxs as ti}from"react/jsx-runtime";function YT({artefact:e,taskId:t,taskData:a,loading:o=!1,error:r=null}){let s=a||{id:t,name:"Loading...",description:"",status:"done",dateLogged:new Date().toISOString(),project:{id:-1,name:""}},n=s.dateLogged;try{let i=new Date(s.dateLogged);isNaN(i.getTime())||(n=lv(i,{addSuffix:!0}))}catch{}return ti(Y,{className:"w-full max-w-md shadow-md",children:[ya(de,{className:"pb-2",children:ya("div",{className:"flex justify-between items-start",children:ya(ce,{className:"text-lg font-semibold",children:o?"Loading...":s.name})})}),ya(J,{className:"pb-2",children:o?ya("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):r?ya("p",{className:"text-sm text-red-500",children:"Error loading task details"}):ya("p",{className:"text-sm text-foreground",children:e})}),ya(wo,{className:"pt-2 flex items-center justify-between",children:ti("div",{className:"flex items-center text-xs text-gray-500",children:[ya(nv,{className:"h-3 w-3 mr-1"}),ti("span",{children:["Created ",n]}),ya("span",{className:"mx-2",children:"\u2022"}),ti("span",{children:["Task #",s.id]})]})})]})}import{motion as Zc}from"framer-motion";import{ChevronDown as dv}from"lucide-react";import{jsx as xa,jsxs as Dn}from"react/jsx-runtime";function em({activeTab:e,onTabChange:t,tabOptions:a,className:o="",maxWidth:r="700px",gridCols:s=6}){let n=a.find(i=>i.value===e);return Dn(Zc.div,{className:`flex-1 flex justify-center ${o}`,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.3,ease:"easeOut"},children:[xa("div",{className:"hidden md:block",children:xa(od,{value:e,onValueChange:t,children:xa(rd,{className:"grid w-full rounded-2xl p-0 h-10",style:{maxWidth:r,gridTemplateColumns:`repeat(${Math.min(s,a.length)}, minmax(0, 1fr))`},children:a.map(i=>xa(Zc.div,{whileHover:{scale:1.1},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:"flex-1 px-2",children:xa(sd,{value:i.value,className:"w-full h-8 rounded-xl data-[state=active]:rounded-xl transition-all duration-200 hover:border hover:border-accent hover:bg-accent/10 px-4 py-2 text-sm font-medium",children:i.label})},i.value))})})}),xa("div",{className:"md:hidden",children:Dn(hi,{children:[xa(yi,{asChild:!0,children:Dn(C,{variant:"outline",className:"rounded-2xl min-w-[140px] justify-between",children:[n?.label||"Select",xa(dv,{className:"h-4 w-4 ml-2"})]})}),xa(Jr,{align:"center",className:"w-[180px]",children:a.map(i=>xa(Zr,{onClick:()=>t?.(i.value),className:`cursor-pointer ${e===i.value?"bg-accent":""}`,children:i.label},i.value))})]})})]})}import{useState as tm,useEffect as cv,useMemo as mv}from"react";import{motion as Fo,AnimatePresence as pv}from"framer-motion";import{ChevronRight as am,ChevronLeft as uv,Menu as gv,X as fv}from"lucide-react";import{jsx as ne,jsxs as At}from"react/jsx-runtime";function pD({capabilities:e,isOpen:t,onToggle:a,onActionSelect:o,onContextChange:r,colorScheme:s=Jc,className:n}){let[i,d]=tm([]),[m,c]=tm([]),p=i[i.length-1],u=p?.children||e,g=(h,w)=>{switch(h.type){case"category":return s.categories[w%s.categories.length];case"list":return s.lists[w%s.lists.length];case"item":return s.items[w%s.items.length];default:return s.primary}},b=mv(()=>({path:i,selectedItems:m,filters:{}}),[i,m]);cv(()=>{r&&r(b)},[b,r]);let f=h=>{h.type==="category"||h.type==="list"?d([...i,h]):h.type==="item"&&c([...m,h])},y=()=>{d(i.slice(0,-1))},R=h=>{d(i.slice(0,h+1))},P=()=>p?.actions?p.actions:[];return t?At("div",{className:l("w-full",n),children:[At("div",{className:"flex items-center justify-between mb-3",children:[At("div",{className:"flex items-center gap-2",children:[i.length>0&&ne(Fo.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:y,className:l("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:ne(uv,{className:l("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:-translate-x-0.5")})}),ne("h4",{className:"font-medium text-sm",children:p?.name||"Capabilities"})]}),ne(Fo.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:a,className:l("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:ne(fv,{className:l("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:rotate-90")})})]}),i.length>0&&At("div",{className:"flex items-center gap-1 mb-3 text-xs text-muted-foreground",children:[ne(Fo.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>d([]),className:l("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:At("span",{className:"relative",children:["Capabilities",ne("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})}),i.map((h,w)=>At("div",{className:"flex items-center gap-1",children:[ne(am,{className:"h-2 w-2"}),ne(Fo.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>R(w),className:l("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:At("span",{className:"relative",children:[h.name,ne("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})})]},h.id))]}),ne("div",{className:"max-h-40 overflow-y-auto",children:ne(pv,{mode:"wait",children:ne(Fo.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:4},transition:{duration:.2,ease:[.4,0,.2,1]},children:p?.type==="list"&&p.data?ne(hv,{data:p.data,onItemSelect:h=>c([...m,h]),colorScheme:s}):ne(bv,{capabilities:u,onSelect:f,colorScheme:s})},p?.id||"root")})})]}):At(C,{onClick:a,size:"sm",variant:"outline",className:"rounded-full",children:[ne(gv,{className:"h-4 w-4"}),ne("span",{className:"ml-2",children:"Capabilities"})]})}function bv({capabilities:e,onSelect:t,colorScheme:a}){return ne("div",{className:"flex flex-wrap gap-2",children:e.map((o,r)=>ne(vv,{capability:o,onClick:()=>t(o),color:a.categories[r%a.categories.length]},o.id))})}function vv({capability:e,onClick:t,selected:a,color:o}){return At(Fo.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:l("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm",a&&"border-primary bg-accent scale-105"),onClick:t,children:[ne("div",{className:l("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",o)}),At("span",{className:"truncate relative",children:[e.name,ne("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),(e.children||e.data)&&ne(am,{className:l("h-3 w-3 text-muted-foreground flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:translate-x-0.5")}),e.type==="list"&&e.data&&ne(Me,{variant:"secondary",className:l("text-xs h-5 px-1.5 flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:e.data.length})]})}function hv({data:e,onItemSelect:t,colorScheme:a}){return ne("div",{className:"flex flex-wrap gap-2",children:e.map((o,r)=>At(Fo.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:l("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm"),onClick:()=>t(o),children:[ne("div",{className:l("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",a.items[r%a.items.length])}),At("div",{className:"flex-1 min-w-0",children:[At("span",{className:"truncate relative font-medium",children:[o.title,ne("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),o.subtitle&&ne("div",{className:l("text-xs text-muted-foreground truncate","transition-colors duration-300 ease-in-out group-hover:text-accent/80"),children:o.subtitle})]}),o.value&&ne(Me,{variant:"secondary",className:l("text-xs h-5 px-1.5 flex-shrink-0 ml-2","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:o.value})]},o.id))})}import{useState as wa}from"react";import{FileText as yv,ListChecks as sm,AlertTriangle as xv,Users as wv,Briefcase as Nv,ShieldAlert as Cv,PlusCircle as kv,Trash2 as Pv}from"lucide-react";import{jsx as O,jsxs as ke}from"react/jsx-runtime";var Sv=[{name:"",commentary:"",dueDate:"",rag:"On-Track"}],om=["On-Track","Off-Track","At Risk","Complete"],rm=[{name:"Project Summary",icon:yv},{name:"Milestones",icon:sm},{name:"Project Update",icon:wv},{name:"Project Concerns",icon:xv},{name:"Opportunities",icon:Nv},{name:"Risks",icon:Cv}];function An({onSubmit:e,customerProjectPairs:t}){let[a,o]=wa(rm[0].name),[r,s]=wa(null),[n,i]=wa(null),[d,m]=wa(""),[c,p]=wa(""),[u,g]=wa(Sv),[b,f]=wa(""),[y,R]=wa(""),[P,h]=wa(""),[w,x]=wa(""),k=Array.from(new Map((t??[]).map(v=>[v.customer.id,v.customer])).values()),V=(t??[]).filter(v=>v.customer.id===r).map(v=>v.project),M=(v,G,E)=>{g(fe=>{let Oe=[...fe];return G==="rag"&&!om.includes(E)?fe:(Oe[v]={...Oe[v],[G]:E},Oe)})},T=()=>{g(v=>[...v,{name:"",commentary:"",dueDate:"",rag:"On-Track"}])},N=v=>{g(G=>G.filter((E,fe)=>fe!==v))},z=async v=>{v.preventDefault();let G={customer:r,project:n,projectSummary:c,milestones:u.length>0?u:null,projectUpdate:b,projectConcerns:y||null,commercialOpportunities:P||null,commercialRisks:w||null};if(e)return e(G);try{let E=await fetch("/api/delivery-lead-submission",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(G)});if(!E.ok)throw new Error("Failed to submit delivery lead");let fe=await E.json();return{success:!0,message:"Delivery lead submitted successfully"}}catch(E){return console.error("Error submitting delivery lead:",E),{success:!1,message:"Failed to submit delivery lead"}}};return O("div",{className:"container mx-auto p-4 max-w-3xl",children:ke("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:[O("div",{className:"mb-6 flex border-b border-zinc-200 dark:border-zinc-700 flex-wrap justify-evenly",children:rm.map(v=>ke("button",{className:`flex items-center gap-2 py-2 px-4 font-semibold border-b-2 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/60
24
- ${a===v.name?"border-accent text-accent bg-accent/10 dark:bg-accent/20":"border-transparent text-gray-500 dark:text-zinc-400 hover:text-accent hover:bg-accent/5 dark:hover:bg-accent/10"}
25
- text-sm sm:text-base flex-1 basis-1/4 min-w-[180px] max-w-xs justify-center`,onClick:()=>o(v.name),type:"button",children:[O(v.icon,{className:"w-5 h-5"}),O("span",{children:v.name})]},v.name))}),ke("form",{onSubmit:z,className:"space-y-8",children:[a==="Project Summary"&&ke("div",{className:"space-y-6",children:[ke("div",{children:[O(I,{children:"Client Name"}),ke(zt,{value:r?.toString()??"",onValueChange:v=>s(Number(v)),children:[O(Pt,{children:O(Et,{placeholder:"Select client"})}),O(St,{children:k.map(v=>O(ut,{value:v.id.toString(),children:v.name},v.id))})]})]}),ke("div",{children:[O(I,{children:"Project Name"}),ke(zt,{value:n?.toString()??"",onValueChange:v=>i(Number(v)),disabled:!r,children:[O(Pt,{children:O(Et,{placeholder:r?"Select project":"Select client first"})}),O(St,{children:V.map(v=>O(ut,{value:v.id.toString(),children:v.name},v.id))})]})]}),ke("div",{children:[O(I,{children:"Project Summary"}),O("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:c,onChange:v=>p(v.target.value),required:!0,placeholder:"Provide a summary of the project, objectives, and outcomes"})]})]}),a==="Milestones"&&ke("div",{children:[ke("div",{className:"mb-4 flex justify-between items-center",children:[ke(I,{className:"text-lg flex items-center gap-2",children:[O(sm,{className:"w-5 h-5"}),"Milestones"]}),ke(C,{type:"button",onClick:T,variant:"outline",className:"flex items-center gap-1",children:[O(kv,{className:"w-5 h-5"})," Add Milestone"]})]}),O("div",{className:"space-y-4",children:u.map((v,G)=>ke("div",{className:"grid grid-cols-5 gap-2 items-end border border-zinc-200 dark:border-zinc-700 p-2 rounded-lg bg-zinc-50 dark:bg-zinc-800 relative group",children:[ke("div",{className:"col-span-1",children:[O(I,{children:"Milestone"}),O("input",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:v.name,onChange:E=>M(G,"name",E.target.value),required:!0,placeholder:"Milestone name"})]}),ke("div",{className:"col-span-2",children:[O(I,{children:"Commentary"}),O("input",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:v.commentary,onChange:E=>M(G,"commentary",E.target.value),placeholder:"Commentary"})]}),ke("div",{className:"col-span-1",children:[O(I,{children:"Due Date"}),O("input",{type:"date",className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none",value:v.dueDate,onChange:E=>M(G,"dueDate",E.target.value),placeholder:"Due date"})]}),ke("div",{className:"col-span-1",children:[O(I,{children:"RAG"}),O("select",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none",value:v.rag,onChange:E=>M(G,"rag",E.target.value),children:om.map(E=>O("option",{value:E,children:E},E))})]}),O("button",{type:"button",className:"absolute -top-2 -right-2 bg-white dark:bg-zinc-900 rounded-full shadow p-1 border border-gray-200 dark:border-zinc-700 opacity-0 group-hover:opacity-100 transition-opacity hover:bg-red-50 dark:hover:bg-red-900",onClick:()=>N(G),"aria-label":"Remove Milestone",children:O(Pv,{className:"w-5 h-5 text-red-500"})})]},G))})]}),a==="Project Update"&&ke("div",{children:[O(I,{children:"Project Update & Immediate Focus"}),O("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:b,onChange:v=>f(v.target.value),required:!0,placeholder:"[Provide a brief project update, including current progress and any immediate areas of focus or priority for the coming weeks]"})]}),a==="Project Concerns"&&ke("div",{children:[O(I,{children:"Project Concerns"}),O("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:y,onChange:v=>R(v.target.value),placeholder:"\u200B\u200B[Please highlight any project concerns, that may require escalation or support from the Cortex Reply senior leadership team]"})]}),a==="Opportunities"&&ke("div",{children:[O(I,{children:"Commercial Opportunities"}),O("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:P,onChange:v=>h(v.target.value),placeholder:"[List any potential commercial opportunities, active conversations, or discussion points where Cortex Reply could provide value or support. These may highlight areas for expansion or collaboration across our service offerings]"})]}),a==="Risks"&&ke("div",{children:[O(I,{children:"Commercial Risk/Issue Details"}),O("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:w,onChange:v=>x(v.target.value),placeholder:"[Please highlight any risks that could impact our commercial engagement, such as reputational concerns, risks to fixed-outcome milestones, changes in key client stakeholders, or challenges with project resourcing]"})]}),O("div",{className:"flex justify-end pt-4",children:O(C,{type:"submit",className:"px-6",children:"Submit"})})]})]})})}import{useState as Rv,useEffect as Tv}from"react";import{FileText as im,ListChecks as Dv,AlertTriangle as Av,Users as Mv,Briefcase as Iv,ShieldAlert as Lv,Calendar as Bv,User as zv,Building as Ev,X as Fv}from"lucide-react";import{Fragment as Hv,jsx as S,jsxs as K}from"react/jsx-runtime";var nm={"On-Track":"bg-green-100 text-green-800 border-green-200","Off-Track":"bg-red-100 text-red-800 border-red-200","At Risk":"bg-yellow-100 text-yellow-800 border-yellow-200",Complete:"bg-blue-100 text-blue-800 border-blue-200"};function Mn({submissions:e,isLoading:t=!1}){let[a,o]=Rv(null);Tv(()=>{let d=m=>{m.key==="Escape"&&o(null)};if(a)return document.addEventListener("keydown",d),()=>document.removeEventListener("keydown",d)},[a]);let r=d=>new Date(d).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}),s=e.find(d=>d.id.toString()===a);function n(d){return typeof d=="object"&&d!==null&&"projectName"in d?d.projectName:`Project #${d}`}function i(d){return typeof d=="object"&&d!==null&&"name"in d?d.name:`Customer #${d}`}return t?S("div",{className:"container mx-auto p-4 max-w-6xl",children:S("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:K("div",{className:"animate-pulse",children:[S("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),S("div",{className:"space-y-4",children:[...Array(5)].map((d,m)=>S("div",{className:"h-16 bg-gray-200 rounded"},m))})]})})}):e.length===0?S("div",{className:"container mx-auto p-4 max-w-6xl",children:S("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:K("div",{className:"text-center py-12",children:[S(im,{className:"mx-auto h-12 w-12 text-gray-400"}),S("h3",{className:"mt-2 text-sm font-semibold text-gray-900 dark:text-zinc-100",children:"No submissions found"}),S("p",{className:"mt-1 text-sm text-gray-500 dark:text-zinc-400",children:"You haven't submitted any delivery lead reports yet."})]})})}):K(Hv,{children:[S("div",{className:"container mx-auto p-4 max-w-6xl",children:K("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:[K("div",{className:"mb-6",children:[S("h2",{className:"text-2xl font-bold text-gray-900 dark:text-zinc-100",children:"My Delivery Lead Submissions"}),S("p",{className:"text-sm text-gray-500 dark:text-zinc-400 mt-1",children:"View all your submitted delivery lead reports"})]}),S("div",{className:"overflow-y-auto max-h-96",children:K("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-zinc-700",children:[S("thead",{className:"bg-gray-50 dark:bg-zinc-800 sticky top-0 z-10",children:K("tr",{children:[S("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Project Details"}),S("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Delivery Lead"}),S("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Milestones"}),S("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Submitted"}),S("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Actions"})]})}),S("tbody",{className:"bg-white dark:bg-zinc-900 divide-y divide-gray-200 dark:divide-zinc-700",children:e.map(d=>K("tr",{className:"hover:bg-gray-50 dark:hover:bg-zinc-800/50",children:[S("td",{className:"px-6 py-4 whitespace-nowrap",children:K("div",{children:[S("div",{className:"text-sm font-medium text-gray-900 dark:text-zinc-100",children:n(d.project)}),K("div",{className:"text-sm text-gray-500 dark:text-zinc-400 flex items-center gap-1",children:[S(Ev,{className:"h-3 w-3"}),i(d.customer)]})]})}),S("td",{className:"px-6 py-4 whitespace-nowrap",children:K("div",{className:"text-sm text-gray-900 dark:text-zinc-100 flex items-center gap-1",children:[S(zv,{className:"h-3 w-3"}),typeof d.project=="object"&&d.project!==null&&"deliveryLead"in d.project&&typeof d.project.deliveryLead=="object"&&d.project.deliveryLead!==null&&"name"in d.project.deliveryLead?d.project.deliveryLead.name:"\u2014"]})}),S("td",{className:"px-6 py-4 whitespace-nowrap",children:K("div",{className:"flex flex-wrap gap-1",children:[d.milestones?.slice(0,3).map((m,c)=>S("span",{className:`inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${nm[m.rag]}`,children:m.rag},c)),d.milestones&&d.milestones.length>3&&K("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-gray-100 text-gray-800 border border-gray-200",children:["+",d.milestones.length-3," more"]}),!d.milestones&&S("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-gray-100 text-gray-800 border border-gray-200",children:"No milestones"})]})}),S("td",{className:"px-6 py-4 whitespace-nowrap",children:K("div",{className:"text-sm text-gray-500 dark:text-zinc-400 flex items-center gap-1",children:[S(Bv,{className:"h-3 w-3"}),r(d.createdAt)]})}),S("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium",children:S(C,{variant:"ghost",size:"sm",onClick:()=>o(d.id.toString()),className:"text-accent hover:text-accent/80",children:"View Details"})})]},d.id))})]})})]})}),s&&S("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:K("div",{className:"bg-white dark:bg-zinc-900 rounded-xl shadow-xl max-w-4xl w-full max-h-[90vh] overflow-y-auto",children:[K("div",{className:"flex items-center justify-between p-6 border-b border-gray-200 dark:border-zinc-700",children:[K("div",{children:[S("h2",{className:"text-xl font-semibold text-gray-900 dark:text-zinc-100",children:n(s.project)}),K("p",{className:"text-sm text-gray-500 dark:text-zinc-400",children:[i(s.customer)," \u2022"," ",r(s.createdAt)]})]}),S("button",{onClick:()=>o(null),className:"text-gray-400 hover:text-gray-600 dark:hover:text-zinc-300",children:S(Fv,{className:"h-6 w-6"})})]}),K("div",{className:"p-6 space-y-6",children:[K("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[K("div",{children:[K(I,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[S(im,{className:"h-4 w-4"}),"Project Summary"]}),S("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:s.projectSummary})]}),K("div",{children:[K(I,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[S(Mv,{className:"h-4 w-4"}),"Project Update"]}),S("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:s.projectUpdate})]}),s.projectConcerns&&K("div",{children:[K(I,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[S(Av,{className:"h-4 w-4"}),"Project Concerns"]}),S("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:s.projectConcerns})]}),s.commercialOpportunities&&K("div",{children:[K(I,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[S(Iv,{className:"h-4 w-4"}),"Commercial Opportunities"]}),S("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:s.commercialOpportunities})]}),s.commercialRisks&&K("div",{className:"lg:col-span-2",children:[K(I,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[S(Lv,{className:"h-4 w-4"}),"Commercial Risks"]}),S("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:s.commercialRisks})]})]}),K("div",{children:[K(I,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[S(Dv,{className:"h-4 w-4"}),"Milestones"]}),s.milestones&&s.milestones.length>0?S("div",{className:"bg-gray-50 dark:bg-zinc-800 rounded-lg border overflow-hidden",children:K("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-zinc-700",children:[S("thead",{className:"bg-gray-100 dark:bg-zinc-700",children:K("tr",{children:[S("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Name"}),S("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Commentary"}),S("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Due Date"}),S("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Status"})]})}),S("tbody",{className:"divide-y divide-gray-200 dark:divide-zinc-700",children:s.milestones.map((d,m)=>K("tr",{children:[S("td",{className:"px-4 py-2 text-sm text-gray-900 dark:text-zinc-100",children:d.name}),S("td",{className:"px-4 py-2 text-sm text-gray-600 dark:text-zinc-400",children:d.commentary||"-"}),S("td",{className:"px-4 py-2 text-sm text-gray-600 dark:text-zinc-400",children:d.dueDate?r(d.dueDate):"-"}),S("td",{className:"px-4 py-2",children:S("span",{className:`inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${nm[d.rag]}`,children:d.rag})})]},m))})]})}):S("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:"No milestones defined for this project."})]})]}),S("div",{className:"flex justify-end p-6 border-t border-gray-200 dark:border-zinc-700",children:S(C,{onClick:()=>o(null),variant:"outline",children:"Close"})})]})})]})}import{useState as jv}from"react";import{ChevronDown as Ov,ChevronUp as $v,List as Gv}from"lucide-react";import{jsx as Ot,jsxs as pr}from"react/jsx-runtime";function _v({submissions:e,onSubmit:t,isLoading:a=!1,customerProjectPairs:o}){let[r,s]=jv(!1);return Ot("div",{className:"min-h-screen ",children:pr("div",{className:"container mx-auto p-4 max-w-6xl",children:[pr("div",{className:"mb-8",children:[Ot("h1",{className:"text-3xl font-bold text-gray-900 dark:text-zinc-100 mb-2",children:"Delivery Report Management"}),Ot("p",{className:"text-gray-600 dark:text-zinc-400",children:"Submit new delivery reports and view your previous submissions"})]}),Ot("div",{className:"mb-8",children:Ot(An,{onSubmit:t,customerProjectPairs:o})}),pr("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800",children:[pr("button",{onClick:()=>s(!r),className:"w-full px-6 py-4 flex items-center justify-between hover:bg-gray-50 dark:hover:bg-zinc-800/50 transition-colors",children:[pr("div",{className:"flex items-center gap-3",children:[Ot(Gv,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"}),Ot("h2",{className:"text-lg font-semibold text-gray-900 dark:text-zinc-100",children:"Previous Submissions"}),pr("span",{className:"text-sm text-gray-500 dark:text-zinc-400",children:["(",e.length,")"]})]}),Ot("div",{className:"flex items-center gap-2",children:r?Ot($v,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"}):Ot(Ov,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"})})]}),r&&Ot("div",{className:"border-t border-gray-200 dark:border-zinc-700",children:Ot(Mn,{submissions:e,isLoading:a})})]})]})})}import*as ai from"react";import*as oi from"@radix-ui/react-switch";import{jsx as Kr,jsxs as Uv}from"react/jsx-runtime";function _D({className:e,onCheckedChange:t,checked:a,defaultChecked:o,...r}){let[s,n]=ai.useState(!1),[i,d]=ai.useState(!1),[m,c]=ai.useState(o||!1),p=a!==void 0?a:m;return Kr(oi.Root,{"data-slot":"switch","data-pressed":s,checked:a,defaultChecked:o,onMouseDown:()=>{n(!0),d(!1)},onMouseUp:()=>{n(!1),d(!1)},onMouseLeave:()=>{s&&(n(!1),d(!0))},onCheckedChange:y=>{i||(a===void 0&&c(y),t?.(y))},className:l("relative shadow-inner ring ring-black/5 inline-flex shrink-0 items-center rounded-full outline-none cursor-pointer","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[0.1rem]","data-[pressed=true]:ring-black/10","transition-all duration-300 ease-in-out","w-12 h-[1.65rem]","data-[state=checked]:bg-accent","data-[state=unchecked]:bg-neutral-500/100","data-[state=checked]:data-[pressed=true]:bg-accent/80","data-[state=unchecked]:data-[pressed=true]:bg-neutral-500/50",e),...r,children:Kr(oi.Thumb,{"data-slot":"switch-thumb","data-pressed":s,className:l("absolute flex items-center justify-center bg-background pointer-events-none left-0 rounded-full","transition-all duration-200 ease-in-out","w-[1.3rem] h-[1.3rem]","data-[pressed=true]:w-[1.7rem]","data-[pressed=true]:h-[1.1rem]","translate-x-[0.2rem]","data-[state=checked]:translate-x-[1.5rem]","data-[state=checked]:data-[pressed=true]:translate-x-[1.1rem]","data-[state=checked]:data-[pressed=true]:left-[-0.15rem]","data-[state=unchecked]:data-[pressed=true]:left-[0.15rem]"),children:Kr(Vv,{isChecked:p,isPressed:s})})})}var Vv=({isChecked:e,isPressed:t})=>Uv("svg",{viewBox:"0 0 20 20",className:l("inline-flex w-fit items-center justify-center","transition-all duration-100 ease-in-out",t?"fill-neutral-500/50":e?"fill-accent-foreground":"fill-neutral-500"),children:[Kr("rect",{x:"4",y:"8.5",height:"3",className:l("origin-center transition-all duration-100 ease-in-out",t?"rotate-0 translate-x-[0.2rem] translate-y-[0.05rem] w-1.5 h-0.5":e?"rotate-45 w-[6px] -translate-x-[1px] translate-y-1":"rotate-45 w-[12px] translate-x-0 translate-y-0")}),Kr("rect",{x:"4",y:"8.5",height:"3",className:l("origin-center transition-all duration-100 ease-in-out",t?"rotate-0 translate-x-[0.2rem] translate-y-[0.05rem] w-1.5 h-0.5":e?"-rotate-45 w-[11px] translate-x-[1.5px] translate-y-0":"-rotate-45 w-[12px] translate-x-0 translate-y-0")})]});import{useState as Wv}from"react";import{MessageSquare as Kv,Send as Xv}from"lucide-react";import{jsx as ta,jsxs as Ho}from"react/jsx-runtime";var e6=({comments:e,onAddComment:t})=>{let[a,o]=Wv(""),r=n=>n.split(" ").map(i=>i[0]).join("").toUpperCase(),s=()=>{a.trim()&&(t(a),o(""))};return Ho("div",{className:"space-y-4",children:[Ho("div",{className:"flex items-center gap-2",children:[ta(Kv,{className:"h-5 w-5"}),ta(I,{className:"text-lg font-medium",children:"Comments"}),ta(Me,{variant:"secondary",children:e.length})]}),ta("div",{className:"space-y-4 max-h-60 overflow-y-auto",children:e.map(n=>Ho("div",{className:"flex gap-3 p-3 bg-muted/50 rounded-lg",children:[ta(et,{className:"h-8 w-8 mt-1",children:ta(tt,{className:"text-xs bg-muted text-muted-foreground",children:r(n.author)})}),Ho("div",{className:"flex-1",children:[Ho("div",{className:"flex items-center gap-2 mb-1",children:[ta("span",{className:"font-medium text-sm",children:n.author}),Ho("span",{className:"text-xs text-muted-foreground",children:[n.createdAt.toLocaleDateString()," at ",n.createdAt.toLocaleTimeString()]})]}),ta("p",{className:"text-sm text-muted-foreground",children:n.text})]})]},n.id))}),Ho("div",{className:"flex gap-2",children:[ta(Yt,{value:a,onChange:n=>o(n.target.value),placeholder:"Add a comment...",rows:2,className:"flex-1 resize-none"}),ta(C,{onClick:s,disabled:!a.trim(),size:"sm",className:"self-end",children:ta(Xv,{className:"h-4 w-4"})})]})]})};import{useState as lm}from"react";import{Edit as Yv}from"lucide-react";import{jsx as Xr,jsxs as dm}from"react/jsx-runtime";var d6=({fieldName:e,value:t,label:a,multiline:o=!1,onSave:r,className:s="",disabled:n=!1})=>{let[i,d]=lm(!1),[m,c]=lm(""),p=()=>{n||(d(!0),c(t))},u=async()=>{m!==t&&await r(e,m),d(!1)},g=b=>{b.key==="Enter"&&!o||b.key==="Enter"&&b.ctrlKey&&o?u():b.key==="Escape"&&(d(!1),c(""))};return dm("div",{className:`space-y-2 ${s}`,children:[Xr(I,{children:a}),i?o?Xr(Yt,{value:m,onChange:b=>c(b.target.value),onBlur:u,onKeyDown:g,autoFocus:!0,rows:4,className:"resize-none"}):Xr(Fe,{value:m,onChange:b=>c(b.target.value),onBlur:u,onKeyPress:g,autoFocus:!0,className:"text-lg font-medium"}):dm("div",{onClick:p,className:`${n?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted/50 p-2 rounded border border-transparent hover:border-border transition-colors group ${o?"min-h-[100px]":"min-h-[40px]"} flex items-start gap-2`,children:[Xr("span",{className:o?"text-sm text-muted-foreground":"text-lg font-medium text-foreground",children:t||"Click to edit..."}),!n&&Xr(Yv,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})]})};import{useState as Zv}from"react";import{motion as jo}from"framer-motion";import{ChevronRight as qv,File as ri,FileText as Yr,Search as Qv}from"lucide-react";import{useState as In,useMemo as cm}from"react";import{jsx as A,jsxs as ve}from"react/jsx-runtime";function mm({label:e,documents:t,children:a,level:o,onDocumentClick:r,selectedDocumentId:s,showDocumentCount:n=!0}){let[i,d]=In(o===0),m=a&&Object.keys(a).length>0,c=t.length+(a?Object.values(a).reduce((g,b)=>g+b.documents.length,0):0),p=g=>{switch(g){case"markdown":case"mdx":return A(Yr,{className:"h-3.5 w-3.5 text-muted-foreground"});case"richtext":return A(ri,{className:"h-3.5 w-3.5 text-muted-foreground"});default:return A(ri,{className:"h-3.5 w-3.5 text-muted-foreground"})}},u=g=>{let b=["bg-primary","bg-secondary","bg-accent","bg-chart-1"];return b[g%b.length]};return ve("div",{className:"space-y-1",children:[(m||t.length>0)&&ve(jo.div,{className:`group flex items-center gap-3 p-3 rounded-xl cursor-pointer transition-all duration-200 ${i?"bg-card shadow-sm border border-border":"hover:bg-muted/50 hover:shadow-sm"}`,style:{marginLeft:`${o*20}px`},onClick:()=>d(!i),whileHover:{scale:1.01},whileTap:{scale:.99},children:[A("div",{className:`w-1 h-6 rounded-full ${u(o)}`}),A(jo.div,{animate:{rotate:i?90:0},transition:{duration:.2},className:"flex-shrink-0",children:A(qv,{className:"h-4 w-4 text-muted-foreground"})}),ve("div",{className:"flex-1 flex items-center justify-between min-w-0",children:[A("div",{className:"flex items-center gap-2 min-w-0",children:A("span",{className:"font-medium text-foreground truncate",children:e})}),n&&c>0&&A("div",{className:"flex-shrink-0 ml-2",children:A("span",{className:"inline-flex items-center justify-center w-6 h-6 text-xs font-medium bg-muted text-muted-foreground rounded-full",children:c})})]})]}),A(jo.div,{initial:!1,animate:{height:i?"auto":0,opacity:i?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:ve("div",{className:"pt-2 space-y-1",children:[t.map((g,b)=>ve(jo.div,{initial:{opacity:0,x:-10},animate:{opacity:1,x:0},transition:{delay:b*.05,duration:.2},className:`group flex items-center gap-3 p-2.5 mx-2 rounded-lg cursor-pointer transition-all duration-150 ${s===g.id?"bg-primary/10 border-l-2 border-primary shadow-sm":"hover:bg-muted/50 hover:translate-x-1"}`,style:{marginLeft:`${o*20+20}px`},onClick:()=>r?.(g),whileHover:{scale:1.01},whileTap:{scale:.99},children:[A("div",{className:"flex-shrink-0",children:p(g.format)}),ve("div",{className:"flex-1 min-w-0",children:[A("p",{className:`text-sm truncate transition-colors ${s===g.id?"text-primary font-medium":"text-foreground group-hover:text-foreground"}`,children:g.title}),g.description&&A("p",{className:"text-xs text-muted-foreground truncate mt-0.5",children:g.description})]}),g.tags&&g.tags.length>0&&A("div",{className:"flex-shrink-0",children:A("span",{className:"inline-flex items-center px-2 py-1 rounded-md text-xs font-medium bg-muted text-muted-foreground group-hover:bg-muted/80 transition-colors",children:g.tags[0]})})]},g.id)),a&&Object.entries(a).map(([g,b])=>A(mm,{label:g,documents:b.documents,children:b.children,level:o+1,onDocumentClick:r,selectedDocumentId:s,showDocumentCount:n},g))]})})]})}function Jv({document:e}){let t=o=>{switch(o){case"markdown":case"mdx":return A(Yr,{className:"h-6 w-6 text-primary"});case"richtext":return A(ri,{className:"h-6 w-6 text-success"});default:return A(ri,{className:"h-6 w-6 text-muted-foreground"})}},a=o=>{switch(o){case"markdown":return"bg-primary/10 text-primary border-primary/20";case"mdx":return"bg-secondary/10 text-secondary border-secondary/20";case"richtext":return"bg-success/10 text-success border-success/20";default:return"bg-muted text-muted-foreground border-border"}};return ve(jo.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[A("div",{className:"border-b border-border bg-card p-8",children:ve("div",{className:"flex items-start gap-4",children:[A("div",{className:"flex-shrink-0 p-3 rounded-xl bg-muted border border-border",children:t(e.format)}),ve("div",{className:"flex-1 min-w-0",children:[A("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:e.title}),e.description&&A("p",{className:"text-muted-foreground text-lg leading-relaxed mb-4",children:e.description}),ve("div",{className:"flex flex-wrap gap-2",children:[A("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${a(e.format)}`,children:e.format.toUpperCase()}),e.tags?.map(o=>ve("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-sm bg-muted text-muted-foreground border border-border",children:["#",o]},o))]})]})]})}),A("div",{className:"flex-1 overflow-auto",children:ve("div",{className:"p-8",children:[e.metadata&&Object.keys(e.metadata).length>0&&ve("div",{className:"mb-6",children:[A("h3",{className:"text-sm font-semibold text-foreground mb-2",children:"Metadata"}),A("div",{className:"bg-muted rounded-lg p-3 border border-border",children:A("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-4 gap-y-1 text-xs",children:Object.entries(e.metadata).map(([o,r])=>ve("div",{className:"flex gap-1",children:[ve("span",{className:"text-muted-foreground font-medium",children:[o.replace(/([A-Z])/g," $1").trim(),":"]}),A("span",{className:"text-foreground truncate",children:String(r)})]},o))})})]}),A("div",{className:"space-y-4",children:e.content?ve("div",{className:"relative",children:[A("div",{className:"bg-card border border-border rounded-xl p-6 overflow-hidden",children:ve("pre",{className:"text-card-foreground text-sm leading-relaxed whitespace-pre-wrap font-mono",children:[e.content.substring(0,1500),e.content.length>1500&&"..."]})}),e.content.length>1500&&A("div",{className:"absolute bottom-0 left-0 right-0 h-16 bg-gradient-to-t from-card to-transparent rounded-b-xl flex items-end justify-center pb-2",children:A("span",{className:"text-muted-foreground text-xs",children:"Content truncated"})})]}):ve("div",{className:"text-center py-12 bg-muted rounded-xl border-2 border-dashed border-border",children:[A("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-background flex items-center justify-center",children:A(Yr,{className:"h-8 w-8 text-muted-foreground"})}),A("h4",{className:"text-foreground font-medium mb-1",children:"No content available"}),A("p",{className:"text-muted-foreground text-sm",children:"This document doesn't have preview content"})]})})]})})]})}function Ln({documents:e,menuConfig:t,onDocumentClick:a,onDocumentShare:o,selectedDocumentId:r,className:s}){let[n,i]=In(""),[d,m]=In(null),c=cm(()=>n?e.filter(g=>g.title.toLowerCase().includes(n.toLowerCase())||g.description?.toLowerCase().includes(n.toLowerCase())||g.tags?.some(b=>b.toLowerCase().includes(n.toLowerCase()))||Object.values(g.metadata||{}).some(b=>String(b).toLowerCase().includes(n.toLowerCase()))):e,[e,n]),p=cm(()=>{let g=(b,f)=>{if(f.length===0)return{};let[y,...R]=f;return b.reduce((h,w)=>{let x=w.metadata?.[y]||"Uncategorized",k=String(x);if(h[k]||(h[k]={documents:[],children:{}}),R.length===0)h[k].documents.push(w);else{let V=g([w],R),M=Object.keys(V)[0];M&&(h[k].children||(h[k].children={}),h[k].children[M]?h[k].children[M].documents.push(...V[M].documents):h[k].children[M]=V[M])}return h},{})};return g(c,t.groupBy)},[c,t.groupBy]),u=g=>{m(g),a?.(g)};return ve("div",{className:`flex h-full ${s||""}`,children:[ve("div",{className:"w-1/3 border-r border-border bg-muted/20",children:[A("div",{className:"p-6 border-b border-border",children:ve("div",{className:"relative",children:[A("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:A(Qv,{className:"h-4 w-4 text-muted-foreground"})}),A(Fe,{placeholder:"Search knowledge base...",value:n,onChange:g=>i(g.target.value),className:"pl-10 bg-background/80 border-border focus:border-primary/50 focus:ring-primary/20 rounded-xl h-11 text-sm placeholder:text-muted-foreground"})]})}),A(Wt,{className:"h-[calc(100%-100px)]",children:ve("div",{className:"p-4 space-y-3",children:[Object.entries(p).map(([g,b])=>A(mm,{label:g,documents:b.documents,children:b.children,level:0,onDocumentClick:u,selectedDocumentId:r,showDocumentCount:t.showDocumentCount},g)),Object.keys(p).length===0&&ve(jo.div,{initial:{opacity:0},animate:{opacity:1},className:"text-center text-muted-foreground py-12",children:[A("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-muted flex items-center justify-center",children:A(Yr,{className:"h-8 w-8 text-muted-foreground"})}),A("p",{className:"text-sm font-medium",children:"No documents found"}),A("p",{className:"text-xs mt-1",children:"Try adjusting your search terms"})]})]})})]}),A("div",{className:"flex-1 bg-background",children:d?A(Jv,{document:d}):A("div",{className:"h-full flex items-center justify-center text-center",children:ve(jo.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4},className:"max-w-sm",children:[A("div",{className:"w-20 h-20 mx-auto mb-6 rounded-full bg-primary/10 flex items-center justify-center",children:A(Yr,{className:"h-10 w-10 text-primary"})}),A("h3",{className:"text-xl font-semibold text-foreground mb-2",children:"Select a document"}),A("p",{className:"text-muted-foreground leading-relaxed",children:"Choose any document from the knowledge base to view its content and details"})]})})})]})}import{Server as eh,Code as th,Users as ah,BookOpen as oh}from"lucide-react";import{jsx as $t,jsxs as si}from"react/jsx-runtime";var rh=[{id:"all",label:"All Documentation",description:"Browse all documentation organized by category and type",icon:$t(oh,{className:"h-4 w-4"}),menuConfig:{groupBy:["category","type"],sortBy:"title",sortOrder:"asc",showDocumentCount:!0}},{id:"services",label:"Services",description:"Documentation organized by service and team",icon:$t(eh,{className:"h-4 w-4"}),menuConfig:{groupBy:["service","team"],sortBy:"updatedAt",sortOrder:"desc",showDocumentCount:!0}},{id:"architecture",label:"Architecture",description:"System architecture documentation by component and layer",icon:$t(th,{className:"h-4 w-4"}),menuConfig:{groupBy:["component","layer"],sortBy:"title",sortOrder:"asc",showDocumentCount:!0}},{id:"teams",label:"Teams",description:"Documentation organized by team and project",icon:$t(ah,{className:"h-4 w-4"}),menuConfig:{groupBy:["team","project"],sortBy:"updatedAt",sortOrder:"desc",showDocumentCount:!0}}];function pm({documents:e=[],contexts:t=rh,onDocumentClick:a=s=>console.log("Document clicked:",s),onDocumentShare:o=s=>console.log("Share document:",s),selectedDocumentId:r}){let[s,n]=Zv(t[0]);return si("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[si("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:[$t(dr,{title:"Knowledge",description:"Access, manage, and share all your team knowledge in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Create",onClick:()=>console.log("Create document clicked")}}),si("div",{className:"mt-6",children:[$t("div",{className:"border-b border-border",children:$t("nav",{className:"-mb-px flex space-x-8 overflow-x-auto",children:t.map(i=>si("button",{onClick:()=>n(i),className:`group inline-flex items-center gap-2 py-3 px-1 border-b-2 font-medium text-sm whitespace-nowrap transition-colors ${s.id===i.id?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground"}`,children:[i.icon,i.label]},i.id))})}),s.description&&$t("div",{className:"mt-3 px-1",children:$t("p",{className:"text-sm text-muted-foreground",children:s.description})})]})]}),$t("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4",children:$t("div",{className:"h-full rounded-3xl border overflow-hidden",children:$t(Ln,{documents:e,menuConfig:s.menuConfig,onDocumentClick:a,onDocumentShare:o,selectedDocumentId:r})})})]})}import{useState as dh}from"react";import{motion as ch,AnimatePresence as mh}from"framer-motion";import{motion as sh}from"framer-motion";import{Users as ih,Bot as nh,FolderOpen as lh}from"lucide-react";import{jsx as xt,jsxs as Na}from"react/jsx-runtime";function Bn({team:e,onOpen:t,className:a}){return xt(sh.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:a,children:Na(Y,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[Na(de,{children:[xt(ce,{className:"text-lg",children:e.name}),xt(Fr,{className:"mt-1 text-sm",children:e.description})]}),Na(J,{className:"space-y-4",children:[Na("div",{className:"grid grid-cols-2 gap-4",children:[Na("div",{className:"flex items-center justify-between text-sm",children:[Na("div",{className:"flex items-center gap-2",children:[xt(ih,{className:"h-4 w-4 text-blue-500"}),xt("span",{children:"Human"})]}),xt("span",{className:"font-medium",children:e.humanColleagues})]}),Na("div",{className:"flex items-center justify-between text-sm",children:[Na("div",{className:"flex items-center gap-2",children:[xt(nh,{className:"h-4 w-4 text-purple-500"}),xt("span",{children:"Digital"})]}),xt("span",{className:"font-medium",children:e.digitalColleagues})]})]}),Na("div",{className:"flex items-center justify-between text-sm border-t pt-4",children:[Na("div",{className:"flex items-center gap-2",children:[xt(lh,{className:"h-4 w-4 text-green-500"}),xt("span",{children:"Projects"})]}),xt("span",{className:"font-medium",children:e.projects})]})]}),xt(wo,{className:"flex gap-2",children:xt(C,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>t?.(e),children:"View Team"})})]})})}import{jsx as Gt,jsxs as ur}from"react/jsx-runtime";function um({teams:e=[],onCreateTeam:t,onTeamOpen:a}){let[o,r]=dh(!1),s=()=>{r(!0),t?.()},n=i=>{a?.(i)};return ur("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[Gt(mh,{mode:"wait",children:ur(ch.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[Gt(dr,{title:"My Teams",description:"Collaborate with your human and digital colleagues across different teams and projects.",gradient:"bg-gradient-to-r from-blue-600 via-cyan-600 to-teal-600",primaryAction:{label:"Create Team",onClick:s}}),ur("section",{className:"space-y-4 mt-8",children:[Gt("h2",{className:"text-2xl font-semibold",children:"Active Teams"}),e.length===0?ur("div",{className:"text-center py-12",children:[Gt("p",{className:"text-muted-foreground text-lg",children:"You're not part of any teams yet."}),Gt("p",{className:"text-muted-foreground text-sm mt-2",children:"Create a new team or ask to be added to an existing one."})]}):Gt("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",children:e.map(i=>Gt(Bn,{team:i,onOpen:n},i.id))})]})]},"teams-index-view")}),Gt(Xt,{open:o,onOpenChange:r,children:ur(Lt,{className:"max-w-3xl max-h-[90vh] overflow-y-auto",children:[ur(sa,{children:[Gt(ia,{children:"Create New Team"}),Gt(hs,{children:"Set up a new team to collaborate with colleagues on projects."})]}),Gt("div",{className:"p-6 text-center text-muted-foreground",children:Gt("p",{children:"Team creation form coming soon..."})})]})})]})}import{useState as ii}from"react";import{Plus as bh,Search as vh,File as ni,Filter as hh}from"lucide-react";import{motion as ph}from"framer-motion";import{MoreHorizontal as uh,Trash2 as gh,Edit as fh}from"lucide-react";import{jsx as it,jsxs as gr}from"react/jsx-runtime";function qr({files:e,onFileClick:t,onFileEdit:a,onFileDelete:o,showHeader:r=!0,className:s}){return gr("div",{className:`rounded-3xl border overflow-hidden ${s||""}`,children:[r&&gr("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[it("div",{className:"col-span-6",children:"Name"}),it("div",{className:"col-span-2",children:"Size"}),it("div",{className:"col-span-2",children:"Modified"})]}),it("div",{className:"divide-y",children:e.map(n=>gr(ph.div,{whileHover:{backgroundColor:"rgba(0,0,0,0.02)"},className:"p-3 md:grid md:grid-cols-10 items-center flex flex-col md:flex-row gap-3 md:gap-0 cursor-pointer",onClick:()=>t?.(n),children:[gr("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[it("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted",children:n.icon}),it("div",{children:it("p",{className:"font-medium",children:n.name})})]}),it("div",{className:"col-span-2 text-sm md:text-base",children:n.size}),gr("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[it("span",{className:"text-sm md:text-base",children:n.modified}),gr("div",{className:"flex gap-1",children:[it(C,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl",onClick:i=>{i.stopPropagation(),a?.(n)},children:it(fh,{className:"h-4 w-4"})}),it(C,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:i=>{i.stopPropagation(),o?.(n)},children:it(gh,{className:"h-4 w-4"})}),it(C,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl",children:it(uh,{className:"h-4 w-4"})})]})]})]},n.name))})]})}import{motion as yh,AnimatePresence as xh}from"framer-motion";import{jsx as X,jsxs as ze}from"react/jsx-runtime";function gm({initialFiles:e=[],onFileAdd:t,onFileEdit:a,onFileDelete:o,onFileClick:r,compactView:s=!1,className:n}){let[i,d]=ii(e),[m,c]=ii(""),[p,u]=ii("all"),[g,b]=ii("all"),f=Array.from(new Set(i.map(M=>M.app))),y=i.filter(M=>{let T=M.name.toLowerCase().includes(m.toLowerCase()),N=p==="all"||M.app===p;return T&&N}),R=y.slice(0,10),P=y.filter(M=>M.shared),h=()=>{console.log("Add file clicked")},w=M=>{console.log("Edit file:",M.name),a?.(M)},x=M=>{d(T=>T.filter(N=>N.name!==M.name)),o?.(M.name)},k=M=>{console.log("File clicked:",M.name),r?.(M)},V=()=>{c(""),u("all")};return X("div",{className:"px-2 md:px-4 py-4 space-y-8",children:X(xh,{mode:"wait",children:X(yh.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:ze("div",{className:`space-y-6 ${n||""}`,children:[X(dr,{title:"Files",description:"Manage and organize your files and documents.",gradient:"bg-gradient-to-r from-blue-600 via-indigo-600 to-purple-600",primaryAction:{label:"Upload file",onClick:h},secondaryAction:{label:"Download all",onClick:()=>console.log("Download all clicked")}}),ze("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[ze(Y,{children:[ze(de,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[X(ce,{className:"text-sm font-medium",children:"Total Files"}),X(ni,{className:"h-4 w-4 text-muted-foreground"})]}),ze(J,{children:[X("div",{className:"text-2xl font-bold",children:i.length}),ze("p",{className:"text-xs text-muted-foreground",children:[i.filter(M=>M.shared).length," shared"]})]})]}),ze(Y,{children:[ze(de,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[X(ce,{className:"text-sm font-medium",children:"Storage Used"}),X(ni,{className:"h-4 w-4 text-muted-foreground"})]}),ze(J,{children:[X("div",{className:"text-2xl font-bold",children:"2.4 GB"}),X("p",{className:"text-xs text-muted-foreground",children:"of 10 GB used"})]})]}),ze(Y,{children:[ze(de,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[X(ce,{className:"text-sm font-medium",children:"Recent Activity"}),X(ni,{className:"h-4 w-4 text-muted-foreground"})]}),ze(J,{children:[X("div",{className:"text-2xl font-bold",children:"12"}),X("p",{className:"text-xs text-muted-foreground",children:"files modified today"})]})]})]}),X(Y,{children:X(J,{className:"pt-6",children:ze("div",{className:"flex flex-col md:flex-row gap-4",children:[X("div",{className:"flex-1",children:ze("div",{className:"relative",children:[X(vh,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),X(Fe,{placeholder:"Search files...",value:m,onChange:M=>c(M.target.value),className:"pl-9"})]})}),ze(zt,{value:p,onValueChange:u,children:[X(Pt,{className:"w-full md:w-[180px]",children:X(Et,{placeholder:"Filter by app"})}),ze(St,{children:[X(ut,{value:"all",children:"All Apps"}),f.map(M=>X(ut,{value:M,children:M},M))]})]}),(m||p!=="all")&&ze(C,{variant:"outline",onClick:V,className:"gap-2",children:[X(hh,{className:"h-4 w-4"}),"Clear"]})]})})}),ze("div",{className:"space-y-4",children:[X(em,{activeTab:g,onTabChange:b,tabOptions:[{value:"all",label:`All Files (${y.length})`},{value:"recent",label:`Recent (${R.length})`},{value:"shared",label:`Shared (${P.length})`}],maxWidth:"500px",gridCols:3}),g==="all"&&X(qr,{files:y,onFileClick:k,onFileEdit:w,onFileDelete:x,showHeader:!s}),g==="recent"&&X(qr,{files:R,onFileClick:k,onFileEdit:w,onFileDelete:x,showHeader:!s}),g==="shared"&&X(qr,{files:P,onFileClick:k,onFileEdit:w,onFileDelete:x,showHeader:!s})]}),y.length===0&&X(Y,{children:X(J,{className:"pt-6",children:ze("div",{className:"text-center py-8",children:[X(ni,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),X("h3",{className:"text-lg font-semibold mb-2",children:"No files found"}),X("p",{className:"text-muted-foreground mb-4",children:m||p!=="all"?"Try adjusting your filters to see more results.":"Get started by uploading your first file."}),ze(C,{onClick:h,className:"gap-2",children:[X(bh,{className:"h-4 w-4"}),"Upload File"]})]})})})]})},"files-view")})})}var fr=(e,t)=>e[t%e.length];import{jsx as br,jsxs as fm}from"react/jsx-runtime";function yA({services:e,className:t,title:a,content:o}){let r={settings:{width:"full",card:"light"}};return fm("div",{className:"pb-4 md:pb-0",children:[fm("div",{className:l("w-full text-left prose"),children:[a&&br("h2",{className:"text-primary",children:a}),br("div",{className:"pb-12 ",children:o&&br(W,{enableGutter:!1,content:o,enableProse:!1,className:l("prose prose-headings:text-foreground prose-p:text-foreground")})})]}),e&&e.length>0&&br("div",{className:"-mx-4 flex flex-wrap justify-between gap-y-8",children:e.map((s,n)=>br("div",{"data-aos":"fade-up","data-aos-delay":fr([200,400,600],n),className:"w-full px-4 md:w-1/2 lg:w-1/3 flex",children:br(Br,{...r,icon:{type:"none"},title:s.title,image:s.image,content:s.content,link:s.link,className:"w-full"})},n))})]})}import{jsx as li,jsxs as wh}from"react/jsx-runtime";function oo({subtitle:e,title:t,description:a,alignment:o="start",hasBottomSpacing:r=!1,className:s,invert:n=!1}){let i=l(o==="start"&&"text-left",o==="center"&&"text-center",o==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":r},"prose",s);return wh("div",{className:i,children:[e&&li("span",{className:"mb-[.625rem] block font-semibold uppercase text-accent md:text-md",children:e}),li("h2",{className:l("text-primary mt-0"),children:t}),typeof a=="string"?a&&li("p",{className:"mt-5 whitespace-pre-line text-foreground",children:a}):a&&li(W,{content:a,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}import{jsx as vr,jsxs as Nh}from"react/jsx-runtime";function MA({sectionHeading:e,cards:t}){return vr("section",{className:"section-padding-primary !pt-0",children:Nh(Tt,{children:[vr("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:vr(oo,{...e,alignment:"center",hasBottomSpacing:!0})}),t&&t.length>0&&vr("div",{className:"grid gap-30px",children:t.map((a,o)=>vr("div",{"data-aos":"fade-up","data-aos-delay":fr([200,400,600],o),className:"py-2",children:vr(Md,{...a})},o))})]})})}import di from"next/image";import{Fragment as Ch,jsx as he,jsxs as ci}from"react/jsx-runtime";function jA(e){let{images:t,sectionHeading:a,keyPoints:o,description:r}=e;return he(Ch,{children:he("section",{id:"about-section",className:l(" clip-custom-top-l sticky md:top-0 md:h-screen z-2 flex flex-col items-center justify-center section-padding-primary dark bg-background",e.className||""),children:he(Tt,{children:ci("div",{className:"grid items-center gap-12 lg:grid-cols-[.92fr_1fr] 2xl:gap-20",children:[ci("div",{className:"lg:order-2","data-aos":"fade-left","data-aos-delay":"200",children:[he(oo,{...a}),o&&o.length>0&&he("div",{className:"mt-7 grid gap-5 text-accent sm:grid-cols-2 md:mt-10 md:gap-[1.875rem]",children:o.map((s,n)=>ci("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:[he("span",{className:"duration flex-none scale-100 transition-transform ease-linear group-hover:scale-90",children:s.icon}),he("h3",{className:"text-md font-bold leading-[1.25] md:text-lg",children:s.title})]},n))}),r&&he("p",{className:"mt-5 text-primary md:mt-[1.875rem]",children:r})]}),t&&he("div",{className:"mx-auto text-center",children:ci("div",{className:"relative mx-auto grid max-w-[580px] grid-cols-2 gap-2.5 overflow-hidden",children:[he("div",{className:"relative flex justify-end overflow-hidden",children:he("div",{className:"relative z-[2] mt-auto","data-aos":"fade-up","data-aos-delay":"200",children:he("div",{className:"relative z-[4] overflow-hidden",children:he(di,{src:t.image1.src,alt:t.image1.alt,width:t.image1.width,height:t.image1.height,className:"rounded-tl-[60px] object-cover object-top"})})})}),he("div",{className:"flex overflow-hidden",children:he(di,{src:t.image2.src,alt:t.image2.alt,width:t.image2.width,height:t.image2.height,className:"rounded-[80px_10px] object-cover","data-aos":"fade-right","data-aos-delay":"300"})}),he("div",{className:"ml-auto flex max-w-[250px] justify-end overflow-hidden",children:he(di,{src:t.image3.src,alt:t.image4.alt,width:t.image3.width,height:t.image3.height,className:"rounded-[50px_10px] object-cover","data-aos":"fade-left","data-aos-delay":"350"})}),he("div",{className:"overflow-hidden",children:he(di,{src:t.image4.src,alt:t.image4.alt,width:t.image4.width,height:t.image4.height,className:"rounded-10 rounded-br-[80px] object-cover","data-aos":"fade-right","data-aos-delay":"400"})}),he("div",{className:"absolute left-1/2 top-1/2 z-[4] -translate-x-1/2 -translate-y-1/2 overflow-hidden",children:he("div",{"data-aos":"zoom-in","data-aos-delay":"450",children:he("span",{className:"grid h-[100px] w-[100px] place-items-center rounded-full border-[12px] border-white bg-accent text-[30px] text-white",children:he("svg",{width:"1em",height:"1em",viewBox:"0 0 27 27",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:he("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"})})})})})]})})]})})})})}import kh from"next/image";import{jsx as nt,jsxs as Oo}from"react/jsx-runtime";function bm({blogs:e,base:t}){return nt("div",{children:e&&e.length>0&&nt("div",{className:"grid gap-10 lg:gap-10 md:grid-cols-2",children:e.map((a,o)=>nt(Ph,{post:a,id:o,base:t},o))})})}var Ph=({post:e,id:t,base:a})=>{let{slug:o,meta:r,authors:s,categories:n,title:i,publishedAt:d}=e;return Oo("article",{className:"relative isolate flex flex-col gap-8 lg:flex-row",children:[Oo("div",{className:"relative aspect-video sm:aspect-[2/1] lg:aspect-square lg:w-64 lg:shrink-0",children:[nt(kh,{src:r?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:r?.image?.alt||"Post image",width:850,height:575,sizes:"100vw",className:"absolute inset-0 size-full rounded-2xl bg-gray-50 object-cover"}),nt("div",{className:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"})]}),Oo("div",{children:[Oo("div",{className:"flex flex-wrap items-center gap-x-4 text-xs",children:[nt("time",{dateTime:e.publishedAt??void 0,className:"text-foreground",children:$s(e.publishedAt??"")}),e.categories&&e.categories.map((m,c)=>nt("a",{href:`#${m}`,className:"relative z-10 rounded-full bg-gray-50 px-3 py-1.5 font-medium text-gray-600 hover:bg-gray-100",children:m.title},c))]}),nt("div",{className:"group relative max-w-xl",children:nt("h3",{className:"mt-3 text-lg/6 font-semibold text-accent group-hover:text-xl/6",children:Oo("a",{href:`/${a}/${e.slug}`||"#",children:[nt("span",{className:"absolute inset-0"}),e.title]})})}),nt("div",{className:"mt-6 flex flex-wrap lg:border-t gap-y-2 border-gray-200 dark:border-gray-700 pt-6",children:s&&s.map((m,c)=>Oo("div",{className:"relative flex items-center gap-x-4",children:[m.profilePicture?nt("img",{alt:m.name||"Author",src:m.profilePicture?.url||"/assets/images/placeholder.jpg",className:"size-10 rounded-full bg-gray-50"}):nt("div",{className:"size-10 rounded-full bg-gray-50"})," ",nt("div",{className:"text-sm/6",children:Oo("p",{className:"text-foreground pr-6",children:[nt("span",{className:"absolute inset-0"}),m.name]})})]},c))})]})]},t)};import{jsx as hr,jsxs as Sh}from"react/jsx-runtime";function YA({blogs:e,pages:t,categories:a,types:o,base:r}){return hr("section",{children:hr(Tt,{children:hr("div",{className:"grid",children:Sh("div",{children:[o&&hr(mc,{types:o}),hr(bm,{blogs:e,base:r}),hr(nc,{pages:t})]})})})})}import Rh from"next/image";var mi="data:image/jpeg;base64,/9j/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAALABQDASIAAhEBAxEB/8QAGAAAAgMAAAAAAAAAAAAAAAAAAAYEBQf/xAAgEAABBAICAwEAAAAAAAAAAAABAAIDBBEhEjEFBhMi/8QAFgEBAQEAAAAAAAAAAAAAAAAABAMF/8QAHBEAAgICAwAAAAAAAAAAAAAAAQIAIQMEBRFR/9oADAMBAAIRAxEAPwBqrV3PcNFL3s1Blny9eX7uYa7mtLAN95yFp9StCHajCp/YIImeUi4xtHLGdd7V9wkoOvZncagXIS10ZENFzsEA7GUJybBHxb+B0EJIeBOG5//Z";import{FaEnvelope as Th,FaPhoneFlip as Dh}from"react-icons/fa6";import{jsx as Ve,jsxs as ro}from"react/jsx-runtime";function s8(e){let{sectionHeading:t,image:a}=e;return Ve("div",{className:"relative w-full light py-[60px]",children:ro("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[Ve("div",{className:"relative h-full w-full",children:Ve(Rh,{src:a.src,alt:a.alt,fill:!0,objectFit:"contain",sizes:"(min-width: 768px) 30vw, 50vw",placeholder:"blur",blurDataURL:mi})}),Ve("div",{className:"w-full h-full",children:ro("div",{className:"bg-white p-10",children:[Ve("div",{className:"mb-30px",children:Ve(oo,{...t,invert:!0})}),Ve(Ts,{})]})})]})})}function i8(e){return Ve("div",{className:"",children:Ve("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:Ve("div",{className:"mx-auto max-w-2xl space-y-16 divide-y divide-gray-100 lg:mx-0 lg:max-w-none",children:ro("div",{className:"grid grid-cols-1 gap-10 pt-16 lg:grid-cols-3",children:[ro("div",{children:[Ve("h2",{className:"text-pretty text-4xl text-primary",children:"Locations"}),Ve("p",{className:"mt-4 text-base/7 text-foreground",children:"We have multiple locations across the UK."})]}),Ve("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2 lg:col-span-2 lg:gap-8",children:e.locations&&e.locations.map((t,a)=>ro("div",{className:"rounded-2xl p-10 border",children:[Ve("h3",{className:"text-base/7 text-primary",children:t.title}),ro("address",{className:"mt-3 space-y-1 text-sm/6 not-italic text-foreground",children:[t.location.split(",")?.map((o,r)=>Ve("p",{children:o},r))," ",t.mails&&ro("p",{className:"flex items-center space-x-2",children:[Ve(Th,{className:"pr-2 text-primary size-auto"}),Ve("span",{children:t.mails[0]})]}),t.phoneNumbers&&t.phoneNumbers.length>0&&ro("p",{className:"flex items-center space-x-2",children:[Ve(Dh,{className:"pr-2 text-primary size-auto"}),t.phoneNumbers[0]]})]})]},a))})]})})})})}import Ah from"next/image";import{notFound as Mh}from"next/navigation";import Ih from"next/link";import{FaLinkedin as Lh}from"react-icons/fa6";import{jsx as Ne,jsxs as $o}from"react/jsx-runtime";function Bh({image:e,name:t,about:a,socialLinks:o}){return!e||!e.src||e.src.length<3||!t?null:Ne("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:Ne(Y,{children:$o(J,{className:"flex flex-col items-center",children:[e&&e.src&&Ne(Ah,{src:e.src,alt:e.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:mi,className:"mx-auto mt-6 rounded-full object-cover"}),$o("h3",{className:"flex items-center ali font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:[t,o&&o.length>0&&Ne("nav",{"aria-label":"social links",children:Ne("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((r,s)=>r.href&&Ne("li",{children:Ne(Xe,{href:r.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:Ne("span",{children:r.icon})})},s))})})]}),Ne("p",{children:a})]})})})}function C8({page:e,categoryList:t,edit:a=!1,path:o="/admin/collections/posts/"}){if(!e)return Mh();let{meta:r,populatedAuthors:s,authors:n,categories:i,content:d,title:m}=e,c={image:{src:r&&r.image&&r.image.url||void 0,alt:r&&r.image&&r.image.alt||void 0},authorName:s?.[0]?.name||"",category:i,commentCount:0,title:m,description:r?.description||""},p=n?.map(u=>{let g=u.profilePicture&&u.profilePicture.sizes?.square?.url||u.profilePicture&&u.profilePicture.sizes?.thumbnail?.url||"";return console.log("val:",g),{name:u.name||"",about:u.about||"",image:{src:g,alt:u.name||"blog author"},socialLinks:[{icon:Ne(Lh,{}),href:u.linkedIn??""}]}});return console.log(p),Ne(Tt,{children:$o("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[Ne("div",{children:$o("div",{className:"[&_p+P]:mt-4",children:[Ne("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),Ne(W,{content:d,enableGutter:!1,className:"prose-invert"})]})}),$o("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[a&&Ne("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:$o(Y,{children:[Ne(de,{children:Ne(ce,{className:"text-accent",children:"Content Actions"})}),$o(J,{children:[Ne("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),Ne(Ih,{href:`${o}${e.id}`,children:Ne(C,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),p&&p.map((u,g)=>Ne(Bh,{...u},g)),t&&t.links&&Ne("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:Ne(dc,{links:t.links,title:t.title})})]})]})})}import{useState as pi,useEffect as zh}from"react";import vm from"next/link";import{Printer as M8,Presentation as I8}from"lucide-react";import{usePathname as Eh}from"next/navigation";import{ExternalLink as Fh}from"lucide-react";import{jsx as ee,jsxs as aa}from"react/jsx-runtime";var z8=({children:e,pageId:t,tableOfContents:a=[],edit:o=!0,path:r="/admin/collections/pages/",relatedContent:s=[{title:"Related Content",links:[]}]})=>{let[n,i]=pi(!1),d=()=>{i(!n)};return zh(()=>{if(typeof window>"u")return;let m=()=>{let c=window.location.hash;if(c){let p=c.substring(1),u=document.getElementById(p);if(u){let b=u.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:b,behavior:"smooth"})}}};return m(),window.addEventListener("hashchange",m),()=>{window.removeEventListener("hashchange",m)}},[]),aa("div",{className:"",children:[ee("div",{className:l(n?"col-span-3":"col-span-4","xl:col-span-3"),children:e}),ee(Hh,{pageId:t,tableOfContents:a,edit:o,path:r,relatedContent:s,isSidebarVisible:n}),ee("div",{className:"block md:hidden mt-8",children:ee("div",{className:"space-y-6",children:e})})]})};var Hh=({pageId:e,tableOfContents:t=[],edit:a=!0,path:o="/admin/collections/pages/",relatedContent:r=[{title:"Related Content",links:[]}],isSidebarVisible:s})=>{let[n,i]=pi(""),[d,m]=pi(!1),[c,p]=pi(!1),u=Eh(),g=()=>{m(!d),p(!1)},b=()=>{p(!c),m(!1)},f=P=>{switch(P){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},y=()=>{let P=u.split("/"),h="/print"+u,w=window.open(h,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");w&&w.focus()},R=()=>{let P=u.split("/"),h="/present"+u,w=window.open(h,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");w&&w.focus()};return ee("div",{className:l("fixed right-2 z-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-x-full",s?"translate-x-0":"md:translate-x-0"),children:aa("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[aa("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card p-2.5 shadow-lg backdrop-blur-lg min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[aa(vm,{href:`${o}${e}`,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:ee("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),ee("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),aa("a",{onClick:g,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:ee("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),ee("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),aa("a",{onClick:b,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:ee("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),ee("small",{className:"text-center text-xs font-medium",children:" Related "})]}),ee("hr",{className:"dark:border-gray-400"}),aa("a",{onClick:R,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:ee("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),ee("small",{className:"text-xs font-medium",children:"Present"})]}),aa("a",{onClick:y,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[ee("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:ee("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),ee("small",{className:"text-xs font-medium",children:"Print"})]})]}),d&&ee("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:aa("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[ee("div",{className:"flex text-accent",children:"On this Page"}),ee("ul",{className:"flex flex-col space-y-2",children:t.map((P,h)=>ee("li",{className:f(P.tag),children:ee("a",{href:`#${P.id}`,className:`text-xs ${n===P.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:P.text})},h))})]})}),c&&r&&r.length>0&&ee("div",{className:l("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:aa("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[ee("div",{className:"flex text-accent",children:"Related Content"}),ee("ul",{className:"flex flex-col space-y-2",children:r.map((P,h)=>P.links&&P.links.length>0?P.links.map((w,x)=>aa(vm,{href:w.href,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[w.name,w.href.startsWith("http")&&ee(Fh,{className:"ml-1 h-3 w-3"})]},x)):null)})]})})]})})};import jh from"next/image";import{jsx as ui,jsxs as hm}from"react/jsx-runtime";function O8({className:e,children:t,image:a="https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&w=2574&auto=format&fit=crop",imageAlt:o="Professional presentation in modern office setting",imagePosition:r="left",overlay:s=!0}){return hm("section",{className:l("relative min-h-[50vh] w-full overflow-hidden",e),children:[hm("div",{className:"absolute inset-0 w-full",children:[ui(jh,{src:a||"/placeholder.svg",alt:o,fill:!0,className:"object-cover",priority:!0}),s&&ui("div",{className:"absolute inset-0",style:{background:r==="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%)"}})]}),ui("div",{className:l("relative w-full max-w-8xl mx-auto px-4 md:px-6 lg:px-8","flex items-center",r==="left"?"justify-end":"justify-start"),children:ui("div",{className:l("w-full max-w-xl py-12",r==="left"?"ml-auto":"mr-auto"),children:t})})]})}import ym from"next/image";import{FaArrowRight as Oh}from"react-icons/fa6";import{jsx as Te,jsxs as Qr}from"react/jsx-runtime";function Z8({blogs:e,sectionHeading:t,base:a="insights"}){return Qr(Tt,{children:[Te("div",{className:"",children:t&&Te("div",{"data-aos":"fade-up","data-aos-delay":"100",children:Te(oo,{...t,alignment:"start",hasBottomSpacing:!0})})}),e&&e.length>0&&Te("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:e.map((o,r)=>Te("div",{"data-aos":"fade-up","data-aos-delay":fr([200,400,600],r),className:"w-full h-full md:w-1/2 md:px-4 lg:w-1/3",children:Te($h,{...o,base:a})},r))})]})}var xm=l("inline-flex items-center gap-2 text-white"),eM=l("text-sm text-white");function $h({slug:e,meta:t,authors:a,title:o,publishedAt:r,categories:s,base:n}){return Qr("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[Te("span",{className:"absolute inset-0 z-[2] "}),Te(ym,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
26
- (min-width:768px) 50vw,
27
- (min-width:1024px) 33vw,
28
- 100vw
29
- `,className:l("pointer-events-none object-cover opacity-0 [filter:blur(10px)] [transform:translatex(50%)_scalex(2)] [transition:all_500ms_ease]","group-hover/blog:opacity-100 group-hover/blog:[filter:blur(0px)] group-hover/blog:[transform:translatex(0)_scalex(1)]")}),Te(ym,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
30
- (min-width:768px) 50vw,
31
- (min-width:1024px) 33vw,
32
- 100vw
33
- `,className:l("pointer-events-none object-cover [transition:all_500ms_ease]","group-hover/blog:opacity-0 group-hover/blog:[filter:blur(10px)] group-hover/blog:[transform:translatex(-50%)_scalex(2)]")}),Qr("div",{className:"relative z-10 flex h-full flex-1 w-full flex-col",children:[r&&Te("div",{children:Te("div",{className:"inline-grid w-full items-center justify-center rounded-5 bg-background/70 px-4 py-3 text-center font-secondary text-md font-bold text-foreground transition-colors group-hover/blog:bg-accent group-hover/blog:text-accent-foreground md:text-lg",children:Te("time",{dateTime:r,className:"text-foreground",children:Te("span",{className:"block",children:$s(r)})})})}),Qr("div",{className:"mt-auto space-y-2 text-white md:space-y-5",children:[Te("div",{className:"inline-flex flex-wrap items-center gap-x-5 gap-y-2",children:Te("p",{className:xm})}),Te("h3",{className:"text-md font-bold w-full h-28 p-6 bg-background/70 text-foreground md:text-lg",children:Te(Xe,{"aria-label":o,href:`/${n}/${e}`||"#",className:"transition-colors duration-300 hover:text-primary",children:o})}),Te("div",{children:Qr(Xe,{href:`/${n}/${e}`||"#",className:l(xm,"gap-[.625rem] bg-background/80 px-4 py-2 mx-6 my-3 text-base font-semibold uppercase text-foreground transition-colors duration-300 hover:text-accent-foreground"),children:[Te("span",{children:"Read article"}),Te("span",{className:"text-accent",children:Te(Oh,{})})]})})]})]})]})}import Gh from"next/image";import{jsx as Ea,jsxs as zn}from"react/jsx-runtime";function iM({image:e,title:t,content:a,link:o,theme:r}){return zn("section",{className:"container relative",children:[Ea("div",{className:l("absolute mt-[50%] w-full h-full",r==="dark"?"bg-white":"bg-black")}),Ea("div",{className:l("flex flex-col md:flex-row items-center justify-between gap-12 px-6 md:px-16 py-16 bg-background",r,r==="dark"&&"bg-black clip-custom-top-r"),children:zn("div",{className:"w-full flex flex-row items-center justify-center",children:[zn("div",{className:l("w-full md:w-1/2 max-w-lg text-left",r==="dark"&&"mt-48"),children:[Ea("h2",{className:"text-3xl md:text-5xl text-primary",children:t}),Ea("p",{className:"mt-4 text-gray-700 text-lg",children:a&&Ea(W,{enableGutter:!1,content:a,enableProse:!1,className:l("prose prose-headings:text-gray-700 prose-p:text-gray-700")})}),Ea("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground bg-background rounded-full text-base hover:bg-accent hover:text-white transition",children:Ea("a",{href:o.url||"#",children:o.label||"Learn more"})})]}),Ea("div",{className:"w-full md:w-1/2 flex justify-center",children:e&&e.url&&Ea(Gh,{src:e.url,alt:e.alt||`Image of ${t}`,width:400,height:400,className:"max-w-full"})})]})})]})}import _h from"next/image";import{jsx as Z,jsxs as so}from"react/jsx-runtime";var uM=({children:e,theme:t,style:a,neighbours:o,shape:r,image:s,id:n,continueTheme:i})=>{let d=m=>so("div",{className:"select-none",children:[m&&typeof m=="object"&&Z(da,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:m}),m&&typeof m=="string"&&Z("div",{children:Z(_h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:m})})]});if(t==="dark"&&a==="slide")return Z("section",{id:n||"next-section",className:"sticky md:top-0 h-screen",children:so("div",{className:"dark pt-0 min-h-[80vh]",children:[Z(Ft,{className:"z-10",position:"dark-top"}),so("div",{className:"relative",children:[Z("div",{className:"flex items-center bg-black justify-center pt-12",children:Z("div",{className:"container",children:e})}),Z(Ft,{className:"z-10",position:"dark-bottom"})]})]})});if(t==="light"&&a==="slide")return Z("section",{id:n||"next-section",className:"sticky top-0 light pt-0 h-screen",children:so("div",{className:"sticky top-0 light pt-0 h-screen",children:[Z(Ft,{className:"z-10",position:"light-top"}),so("div",{className:"relative bg-white",children:[Z("div",{className:"flex items-center bg-white justify-center pt-12",children:Z("div",{className:"container",children:e})}),Z("div",{className:"h-[200px] bg-white"})]})]})});if(t==="first")return Z("section",{id:n||"next-section",className:"",children:Z("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:so("div",{className:"relative",children:[Z("div",{className:"flex items-center justify-center pt-12",children:Z("div",{className:"container",children:e})}),Z(Ft,{className:"text-black z-10",position:"bottom-right"})]})})});if(t==="light")return Z("section",{id:n||"next-section",className:"",children:Z("div",{className:l("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:Z("div",{className:"flex items-center pt-8 justify-center",children:Z("div",{className:"container",children:e})})})});if(t==="dark")return Z("section",{id:n||"next-section",className:"",children:so("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[Z(Ft,{className:"text-black z-10",position:"bottom-right"}),Z("div",{className:"flex items-center justify-center pt-12 bg-black",children:Z("div",{className:"container",children:e})}),Z(Ft,{className:"text-accent z-10",position:"top"})]})});if(t==="last")return Z("section",{id:n||"next-section",className:"",children:so("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[Z(Ft,{className:"text-black z-10",position:"bottom-right"}),Z("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:Z("div",{className:"container",children:e})})]})})};import Vh from"next/link";import{jsx as io,jsxs as wm}from"react/jsx-runtime";var xM=({dynamicServiceDetail:e,style:t})=>{let a=e;return io("div",{className:"container",children:wm("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[wm("div",{className:l("w-full text-left prose"),children:[io("h2",{className:"text-primary",children:a.title}),io("div",{className:"",children:io(W,{enableGutter:!1,content:a.description,enableProse:!1,className:l("prose prose-headings:text-foreground prose-p:text-foreground")})}),io(C,{asChild:!0,className:"mt-6 px-6 py-3 border border-accent text-foreground bg-background rounded-full hover:bg-accent hover:text-accent-foreground transition no-underline",children:io(Vh,{href:`/${a.slug}`,children:"Learn more"})})]}),a.icon&&typeof a.icon=="object"&&"type"in a.icon&&"iconName"in a.icon&&io("div",{className:l("w-full h-full min-h-96 py-6 p-0 md:p-16 flex justify-center"),children:io("i",{className:`${a.icon.type} fa-${a.icon.iconName} fa-10x w-3/4 h-full text-foreground fill-gradient-linear`,style:{width:"90%"}})})]})})};import{useState as Uh}from"react";import Wh from"html2canvas";import{jsPDF as Nm}from"jspdf";import{Fragment as Xh,jsx as je,jsxs as yr}from"react/jsx-runtime";function DM({type:e="slideshow",orientation:t="landscape",...a}){let o=a.page,[r,s]=Uh(t),{contentWithIds:n,tableOfContents:i}=Nr(o);if(e==="slideshow")return je("div",{className:"flex fixed flex-col w-screen h-screen max-h-screen overflow-auto overscroll-contain",children:je(fn,{blocks:n,hero:a.hero,title:a.page.title,logoImage:a.logoImage})});if(e==="print")return yr(Xh,{children:[je(Kh,{layout:r,changeLayout:s}),je(ac,{page:a.page,layout:r,logoImage:a.logoImage})]})}var Kh=({changeLayout:e,layout:t="landscape"})=>{let a=async()=>{if(t==="flow"){let n=document.getElementById("printable-content")?.innerHTML;if(n){var s=window.document.body.innerHTML;window.document.body.innerHTML=n,window.print(),window.document.body.innerHTML=s}}else await new Promise(n=>setTimeout(n,300)),window.print()},o=s=>{e&&e(s)},r=async s=>{let n=document.getElementById(s);if(!n)throw new Error(`Element with id ${s} not found`);let i=document.createElement("canvas"),d=window.devicePixelRatio;i.width=Math.max(n.clientWidth||0)*d,i.height=Math.max(n.clientHeight||0)*d+100;let m=i.getContext("2d");if(!m)throw new Error("Failed to get 2D context");let c=m.drawImage,p=Array.from(n.getElementsByTagName("img")).reduce((k,V)=>(k[V.src]=V,k),{});m.drawImage=function(...k){let[V,M,T,N,z,v,G,E,fe]=k;if(V instanceof HTMLImageElement){let Oe=p[V.src].style.objectFit||"fill",Mt=p[V.src].style.objectPosition||"center center";z=V.height,N=V.width;let wt=N/z,lt=E/fe,[dt,le]=Mt.split(" ");switch(le||(le=dt),Oe){case"cover":if(wt>lt){let re=z*lt,pe=(N-re)/2;dt==="left"&&(pe=0),dt==="right"&&(pe=N-re),M+=pe,N=re}else{let re=N/lt,pe=(z-re)/2;le==="top"&&(pe=0),le==="bottom"&&(pe=z-re),T+=pe,z=re}break;case"contain":if(wt>lt){let re=E/wt,pe=(fe-re)/2;le==="top"&&(pe=0),le==="bottom"&&(pe=fe-re),G+=pe,fe=re}else{let re=fe*wt,pe=(E-re)/2;dt==="left"&&(pe=0),dt==="right"&&(pe=E-re),v+=pe,E=re}break;case"fill":break}}return c.call(m,V,M,T,N,z,v,G,E,fe)};let u=document.getElementById(s);if(!u)throw new Error(`Element with id ${s} not found`);var g=i.width,b=i.height;let y=(await Wh(u,{canvas:i,windowHeight:b,windowWidth:g,scale:window.devicePixelRatio})).toDataURL("image/png"),P=new Nm({}).getImageProperties(y),h=297,w=h*(P.height/P.width),x=new Nm({unit:"mm",format:[h,w]});x.addImage(y,"PNG",0,0,h,w),x.save("print.pdf")};return je("div",{className:l("fixed right-2 z-20 top-20 space-y-6 print:hidden"),children:je("div",{className:"flex flex-row-reverse z-20 min-w-70 gap-4",children:yr("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[yr("a",{onClick:a,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[je("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:je("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),je("small",{className:"text-xs font-medium",children:"Print"})]}),je("div",{className:"flex-grow border-t border-gray-200 dark:border-slate-600/60"}),yr("a",{onClick:()=>o("portrait"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",t==="portrait"?"text-accent":"hover:text-accent"),children:[je("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",fill:"currentColor",children:je("path",{d:"M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l256 0c17.7 0 32 14.3 32 32l0 384zM384 64c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-384z"})}),je("small",{className:"text-xs",children:"Portrait"})]}),yr("a",{onClick:()=>o("landscape"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",t==="landscape"?"text-accent":"hover:text-accent"),children:[je("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",fill:"currentColor",children:je("path",{d:"M576 96c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32L64 416c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l512 0zM64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l512 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64z"})}),je("small",{className:"text-xs",children:"Landscape"})]}),yr("a",{onClick:()=>o("flow"),className:l("flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 hover:text-accent",t==="flow"?"text-accent":"hover:text-accent"),children:[je("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:je("path",{d:"M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"})}),je("small",{className:"text-xs",children:"Continuous"})]})]})})})};export{sy as AOSInit,jA as AboutSection,Xl as Alert,ql as AlertDescription,Yl as AlertTitle,zc as ApproveLeave,et as Avatar,tt as AvatarFallback,kt as AvatarImage,Me as Badge,id as BannerBlock,$h as BlogCard,C8 as BlogDetail,Z8 as BlogList,YA as BlogListSection,Io as BrandLogo,Xn as Breadcrumb,el as BreadcrumbEllipsis,qn as BreadcrumbItem,Qn as BreadcrumbLink,Yn as BreadcrumbList,Jn as BreadcrumbPage,Zn as BreadcrumbSeparator,IS as Breadcrumbs,C as Button,la as CMSLink,lT as CRMCogeBoard,MR as CRMKanbanBoard,ws as Calendar,Uc as CalendarView,qo as CallToActionBlock,E1 as CallToActionBlockOld,pD as CapabilityMenu,zs as Card,dc as Categories,YT as ChatCardArtefact,qc as ChatCardTask,BT as ChatInterfaceMessages,Qc as ChatMessage,na as Checkbox,bd as CodeBlock,Ga as Collapsible,lo as CollapsibleContent,no as CollapsibleTrigger,Vk as CollectionArchive,Gi as Command,pu as CommandDialog,_l as CommandEmpty,Vl as CommandGroup,$l as CommandInput,Wl as CommandItem,Gl as CommandList,Ul as CommandSeparator,Kl as CommandShortcut,e6 as CommentSection,s8 as ContactSection,Tt as Container,Is as ContentBlock,Z2 as ContentCard,pd as CopyButton,Xe as CustomLink,tg as CustomerCard,_d as DarkTop,dr as DashboardHero,Kc as DealCard,Ys as DealDetails,An as DeliveryLeadSubmission,Mn as DeliveryLeadSubmissionList,_v as DeliveryLeadSubmissionWithList,Xt as Dialog,Oi as DialogClose,Lt as DialogContent,hs as DialogDescription,Ol as DialogFooter,sa as DialogHeader,$i as DialogOverlay,jl as DialogPortal,ia as DialogTitle,cu as DialogTrigger,hi as DropdownMenu,ol as DropdownMenuCheckboxItem,Jr as DropdownMenuContent,hp as DropdownMenuGroup,Zr as DropdownMenuItem,sl as DropdownMenuLabel,yp as DropdownMenuPortal,wp as DropdownMenuRadioGroup,rl as DropdownMenuRadioItem,il as DropdownMenuSeparator,nl as DropdownMenuShortcut,xp as DropdownMenuSub,al as DropdownMenuSubContent,tl as DropdownMenuSubTrigger,yi as DropdownMenuTrigger,at as DynamicIcon,d6 as EditableField,ig as EventCard,Br as FeatureCard,Ng as FeatureGrid,Jo as FeaturesBlock,qr as FileList,gm as FileView,mc as Filter,Df as FlowPrintable,$4 as Footer,K4 as Header,Dc as HeaderDesktop,Ic as HeaderMobile,YC as HeadingImage,W2 as Hero,pc as HighImpactHero,Vc as HolidayGrid,J3 as HolidayTracker,iu as HoverCard,Hl as HoverCardContent,nu as HoverCardTrigger,gg as Image,kd as ImageBlock,O8 as ImageSection,yC as InfoTile,Fe as Input,fC as Insight,Qs as KanbanColumn,Ln as KnowledgeBrowser,pm as KnowledgeView,I as Label,Vd as LightTop,i8 as LocationsSection,Yk as Logo,fc as LowImpactHero,NC as MOTD,z8 as MainPageSection,yS as Mask,da as Media,Ya as MediaBlock,gc as MediumImpactHero,em as NavigationTabs,Xc as NewCustomerForm,eT as NewDealForm,Pf as NewsGrid,AC as OrgChart,Af as PagePrintable,Jk as PageRange,Ft as PageShape,nc as Pagination,d5 as PayloadPagination,bs as Popover,au as PopoverAnchor,Dr as PopoverContent,vs as PopoverTrigger,lS as PostHero,Md as PricingCard,MA as PricingSection,ac as Printable,dg as ProjectCard,fP as ProjectTeam,zC as ProposalSummary,DM as Publish,wP as RelatedContent,Z4 as RelatedPagesMenu,jk as RelatedPosts,Po as RenderBlocks,Nk as RenderBlocksWithShapes,MS as RenderHero,Gc as RequestLeave,jd as ReusableContentBlock,W as RichText,Wt as ScrollArea,Fi as ScrollBar,uM as Section,yc as SectionHero,zt as Select,St as SelectContent,lw as SelectGroup,ut as SelectItem,wu as SelectLabel,td as SelectScrollDownButton,ed as SelectScrollUpButton,Nu as SelectSeparator,Pt as SelectTrigger,Et as SelectValue,es as Separator,F2 as ServiceCard,xM as ServiceDetail,iM as ServiceDetailSection,yA as ServiceSection,Ci as Sheet,Rp as SheetClose,ts as SheetContent,gl as SheetDescription,pl as SheetFooter,ml as SheetHeader,ki as SheetOverlay,cl as SheetPortal,ul as SheetTitle,Sp as SheetTrigger,Wo as Sidebar,mo as SidebarContent,Xo as SidebarFooter,Vt as SidebarGroup,kl as SidebarGroupAction,ra as SidebarGroupContent,Va as SidebarGroupLabel,Ko as SidebarHeader,Cl as SidebarInput,Nl as SidebarInset,eP as SidebarLeft,Ct as SidebarMenu,rs as SidebarMenuAction,Pl as SidebarMenuBadge,Ut as SidebarMenuButton,Ze as SidebarMenuItem,Sl as SidebarMenuSkeleton,po as SidebarMenuSub,go as SidebarMenuSubButton,uo as SidebarMenuSubItem,yl as SidebarProvider,wl as SidebarRail,dP as SidebarRight,os as SidebarSeparator,xl as SidebarTrigger,r4 as SimpleHeader,De as Skeleton,fn as SlideShow,_D as Switch,od as Tabs,xw as TabsContent,rd as TabsList,sd as TabsTrigger,Bn as TeamCard,um as TeamsIndexView,Sf as TextAndImages,Yt as Textarea,nn as Theme,fS as ThemeProvider,Zg as ThemeWithShapes,cs as Toast,Tl as ToastAction,ms as ToastClose,us as ToastDescription,Ii as ToastProvider,ps as ToastTitle,ds as ToastViewport,Jp as Toaster,Al as Toggle,Il as ToggleGroup,Ll as ToggleGroupItem,Ri as Tooltip,as as TooltipContent,Si as TooltipProvider,Ti as TooltipTrigger,l4 as VideoHeader,jC as WhyUs,Ql as badgeVariants,co as buttonVariants,l as cn,Jc as defaultColorScheme,FT as findCapabilityByPath,OT as getAllCapabilities,jT as getCapabilityByTeam,HT as getContextualActions,Nr as getTableOfContents,Kp as reducer,Tn as testCapabilities,Xp as toast,fs as toggleVariants,Pi as useIsMobile,Sr as useSidebar,Mi as useToast};
1
+ import{b as _f}from"./chunk-XCCL5CIT.mjs";import{a as Pf}from"./chunk-D6W4VUUS.mjs";import{a as $f}from"./chunk-EGHHWTFA.mjs";import{a as Zf}from"./chunk-66WBIP2O.mjs";import{a as Of}from"./chunk-IEUDWPYZ.mjs";import{a as Rf}from"./chunk-EHSOO47V.mjs";import"./chunk-AEBUMA72.mjs";import{a as Sf,b as Tf}from"./chunk-RTAA6HZ2.mjs";import{a as Wf}from"./chunk-6HLXIE4P.mjs";import{a as Vf}from"./chunk-Q6PKGY27.mjs";import{a as Qf}from"./chunk-UKYWLNKE.mjs";import{a as Xf,b as Yf}from"./chunk-AV5SA2JB.mjs";import"./chunk-SV7NMNDI.mjs";import"./chunk-C4UPRDGQ.mjs";import{a as om}from"./chunk-CG2SBWT7.mjs";import{a as Uf}from"./chunk-MGJTWNXD.mjs";import"./chunk-BZAYEKYC.mjs";import"./chunk-WU3JMLSC.mjs";import"./chunk-KML6U7IE.mjs";import{a as Jf}from"./chunk-QRJOCPHI.mjs";import{a as If}from"./chunk-637VXITY.mjs";import{a as Lf}from"./chunk-E37JPSPB.mjs";import{a as Kf}from"./chunk-6VPRGZON.mjs";import{a as Nf}from"./chunk-XHMVS6GT.mjs";import{a as Mf}from"./chunk-3U3PZBHQ.mjs";import{a as Be,b as Ce,c as De}from"./chunk-IQKWNF37.mjs";import{a as ye}from"./chunk-VNMKCJBJ.mjs";import"./chunk-RIK7YEA6.mjs";import{a as ve}from"./chunk-3SZR5DC2.mjs";import{a as we}from"./chunk-VMAPGGGW.mjs";import{a as se}from"./chunk-XBCYPOFD.mjs";import{a as ue}from"./chunk-AUBKJ4XO.mjs";import"./chunk-5BT4EWU5.mjs";import{a as Ae}from"./chunk-L2CGDHVO.mjs";import{a as ee}from"./chunk-CSWXKGJE.mjs";import{a as ze}from"./chunk-KCCDR7HB.mjs";import{a as xf}from"./chunk-ALI7Z4HH.mjs";import{a as mf}from"./chunk-7EXAS7HK.mjs";import{a as We}from"./chunk-YVI5URXW.mjs";import{a as ff}from"./chunk-N25B5TQ5.mjs";import{a as tf}from"./chunk-5AWZJAK3.mjs";import{a as pf}from"./chunk-IN55EBPV.mjs";import{a as Ef}from"./chunk-UEBQJNVT.mjs";import{a as Df}from"./chunk-Q5NHYYRS.mjs";import{a as Cf}from"./chunk-UWEU6TLS.mjs";import"./chunk-6U2XBCMC.mjs";import"./chunk-SG5QL77J.mjs";import"./chunk-UDPQ4MXR.mjs";import{a as Bf}from"./chunk-VM25PG5R.mjs";import{a as zf}from"./chunk-DBY4SXQI.mjs";import{a as nf}from"./chunk-LVFMFRBR.mjs";import{a as lf}from"./chunk-ZSIYEVUV.mjs";import{a as kf}from"./chunk-I3E2TYYZ.mjs";import"./chunk-LTTO57ZK.mjs";import{a as hf}from"./chunk-F4UGWCXY.mjs";import{a as df}from"./chunk-LALFQI3P.mjs";import{a as gf}from"./chunk-RR4QSUV2.mjs";import{a as jf}from"./chunk-4TVYOBYI.mjs";import{a as af}from"./chunk-KN65DDFI.mjs";import{a as cf}from"./chunk-V6GC3UGV.mjs";import{a as bf}from"./chunk-KVD6XDZT.mjs";import"./chunk-TAYYCGWX.mjs";import"./chunk-AZKOVKSK.mjs";import{a as Ff}from"./chunk-TJVEQJW3.mjs";import{a as Af}from"./chunk-M245YHYF.mjs";import"./chunk-ZFBEBFCI.mjs";import"./chunk-DBVX4BDP.mjs";import"./chunk-HNCC3AOT.mjs";import"./chunk-5Z5PL7N3.mjs";import{a as Gf}from"./chunk-S7SHOCHM.mjs";import{a as Hf}from"./chunk-DFIXTV2M.mjs";import"./chunk-A24EPYUY.mjs";import"./chunk-QKGEV7LG.mjs";import{a as qf,b as sf,c as uf,d as vf,e as wf,f as yf}from"./chunk-Q2DPE66H.mjs";import{a as Ge}from"./chunk-SOIRB5TV.mjs";import{a as Ke}from"./chunk-OM5ZUHCN.mjs";import{a as Ie}from"./chunk-FMH5CZ7X.mjs";import{a as He}from"./chunk-BMA4266L.mjs";import{a as Ue,b as Ve}from"./chunk-BPTRLIWH.mjs";import{a as Te}from"./chunk-MZP7RIQZ.mjs";import{a as Le}from"./chunk-MWXZUSRT.mjs";import{a as Ne}from"./chunk-OFXZKSCN.mjs";import{a as Me}from"./chunk-VN7TASR4.mjs";import{a as Je}from"./chunk-KGEIN56Y.mjs";import{a as Oe}from"./chunk-F5N6KQA2.mjs";import{a as Po,b as Qo,c as Ro}from"./chunk-Q5Q3DJWU.mjs";import{a as or,b as rr,c as er,d as fr,e as mr,f as pr,g as tr,h as xr,i as ar}from"./chunk-U5PBLRRV.mjs";import{a as br,b as cr,c as dr}from"./chunk-4QRKVSTE.mjs";import{a as Go,b as Ho}from"./chunk-E4TE4NV6.mjs";import{a as Eo,b as Fo}from"./chunk-JFFTEK6Z.mjs";import{a as Ko,b as Lo,c as Mo,d as No}from"./chunk-JHNVX4UB.mjs";import{a as Dr}from"./chunk-7BXIU4ZM.mjs";import{a as nr,b as qr,c as sr,d as ur,e as vr,f as wr,g as yr,h as zr,i as Ar,j as Br}from"./chunk-YFAZQYK4.mjs";import{a as lr}from"./chunk-INCYANPB.mjs";import{a as Er,b as Fr,c as Gr,d as Hr}from"./chunk-RLVKIMGU.mjs";import{a as h,b as i,c as j,d as k,e as l,f as n,g as q,h as s,i as u,j as v,k as w,l as y,m as z,n as A,o as B}from"./chunk-OCPX4QPC.mjs";import{a as Io,b as Jo}from"./chunk-FT3AE7L2.mjs";import{a as Cr}from"./chunk-B4H6T2GP.mjs";import{a as Oo}from"./chunk-TVZOULLL.mjs";import"./chunk-YNNW2C2U.mjs";import{a as Fe}from"./chunk-QTILVWJA.mjs";import{a as f,b as m,c as p,d as t,e as x,f as a,g as b}from"./chunk-76M7JE4D.mjs";import{a as ae}from"./chunk-EPTHSTUM.mjs";import{a as te}from"./chunk-53QLSQCO.mjs";import{a as xe}from"./chunk-RULSHTXR.mjs";import{a as qe}from"./chunk-RENPEB5D.mjs";import{a as ne}from"./chunk-ISBVFNWD.mjs";import{a as ce}from"./chunk-JCH2CCQ7.mjs";import{a as fe}from"./chunk-RVRIMD6M.mjs";import"./chunk-J4IHIM6A.mjs";import"./chunk-IJQC7T2R.mjs";import"./chunk-RYZTCMVC.mjs";import{a as de,b as ge,c as he,d as ie,e as je,f as ke,g as le}from"./chunk-DYHW653F.mjs";import{a as be}from"./chunk-7A3BV5SJ.mjs";import"./chunk-3OKVKXQT.mjs";import{a as me}from"./chunk-H7D3PZKE.mjs";import{a as pe}from"./chunk-IQPZEEYJ.mjs";import{a as Ir,b as Kr,c as Lr,d as Rr,f as Sr,g as Ur,h as re}from"./chunk-6LZRVGXZ.mjs";import"./chunk-O5BAW5XQ.mjs";import{a as Jr}from"./chunk-2QZUKVBA.mjs";import"./chunk-H4X3VQIN.mjs";import"./chunk-4CU7D3X2.mjs";import"./chunk-JYL3XIJX.mjs";import"./chunk-LVK4QE5D.mjs";import"./chunk-CTKUF2I6.mjs";import{a as $r}from"./chunk-KX2NCNCS.mjs";import{a as Xr}from"./chunk-LEC6GEWS.mjs";import{a as _r}from"./chunk-NSMXJCXE.mjs";import{a as oe}from"./chunk-LKGCU7H6.mjs";import{a as Yr}from"./chunk-5WV5ZFEP.mjs";import{a as So,b as To,c as Uo,d as Vo,e as Wo,f as Xo,g as Yo,h as Zo,i as _o,j as $o}from"./chunk-3UMMMQEH.mjs";import{a as Pr}from"./chunk-X3JZSN3W.mjs";import{a as Qr}from"./chunk-XGIYNUGC.mjs";import{a as Or}from"./chunk-2BR55L74.mjs";import"./chunk-TEB67NCD.mjs";import"./chunk-KFCSVEI6.mjs";import{a as Nr}from"./chunk-LXZAOORS.mjs";import"./chunk-MGYV46AJ.mjs";import{a as Mr}from"./chunk-CGDLOY7W.mjs";import{a as Wr}from"./chunk-AZ4VR5JX.mjs";import{a as Vr}from"./chunk-BG7QXNV5.mjs";import{a as gr,b as hr,c as ir}from"./chunk-SOLZ4VQH.mjs";import{a as jr,b as kr}from"./chunk-CSBGSBEU.mjs";import"./chunk-YO3GQYRJ.mjs";import{a as Ee}from"./chunk-TK4JC5PG.mjs";import{a as Do}from"./chunk-OYZDAMCS.mjs";import{a as vo,b as wo,c as yo,d as zo,e as Ao,f as Bo,g as Co}from"./chunk-5NRGSTPV.mjs";import{a as c,b as d,c as g}from"./chunk-YNCJATT7.mjs";import{a as W,b as X,c as Y,d as Z,e as _,f as $,g as oo,h as ro,i as eo,j as fo,k as mo,l as po,m as to,n as xo,o as ao,p as bo,q as co,r as go,s as ho,t as io,u as jo,v as ko,w as lo,x as no}from"./chunk-ZFUP5NVF.mjs";import{a as D}from"./chunk-4UIARERB.mjs";import{a as E,b as F,c as G,d as H,e as I,f as J,g as K,h as L,i as M,j as N}from"./chunk-D4IMQTVU.mjs";import{a as R}from"./chunk-7GSXNSLD.mjs";import{a as C}from"./chunk-L5JPAKPM.mjs";import{a as S,b as T,c as U,d as V}from"./chunk-KY7WQYN4.mjs";import{a as P,b as Q}from"./chunk-ZUA4KNIR.mjs";import{a as ef}from"./chunk-22LHS2J6.mjs";import{a as Xe}from"./chunk-IC2ABKAM.mjs";import{a as Ye}from"./chunk-FHMQVAKQ.mjs";import{a as Re,b as Se}from"./chunk-7WIO2CIC.mjs";import{a as Qe}from"./chunk-X5KZKO2V.mjs";import{a as rf}from"./chunk-75WE6ZXB.mjs";import{a as $e}from"./chunk-PDY7JYY3.mjs";import{a as _e}from"./chunk-WUA65ZZB.mjs";import"./chunk-WISC5QJV.mjs";import"./chunk-ZDPQXVTF.mjs";import"./chunk-55EX54R7.mjs";import{a as of}from"./chunk-6C4WESLL.mjs";import{a as Ze}from"./chunk-Q5XT55O3.mjs";import{a as Pe}from"./chunk-FMJBJ3HN.mjs";import{a as Zr}from"./chunk-WISCWNL2.mjs";import{a as Tr}from"./chunk-FVM5SQT2.mjs";import{a as e}from"./chunk-ZLSF5YXT.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import"./chunk-ZWHGOTSF.mjs";import{a as r}from"./chunk-Q3G5UAAD.mjs";import"./chunk-FLHDNCNY.mjs";import{a as O}from"./chunk-FRWX5YES.mjs";import{a as qo,b as so,c as uo}from"./chunk-CV7PH2KH.mjs";import"./chunk-M6LJ4BNZ.mjs";export{e as AOSInit,Qf as AboutSection,br as Alert,dr as AlertDescription,cr as AlertTitle,ff as ApproveLeave,gr as Avatar,ir as AvatarFallback,hr as AvatarImage,kr as Badge,Ir as BannerBlock,Yf as BlogCard,Uf as BlogDetail,Xf as BlogList,Rf as BlogListSection,Ze as BrandLogo,f as Breadcrumb,b as BreadcrumbEllipsis,p as BreadcrumbItem,t as BreadcrumbLink,m as BreadcrumbList,x as BreadcrumbPage,a as BreadcrumbSeparator,Ve as Breadcrumbs,Q as Button,Jr as CMSLink,jf as CRMCogeBoard,df as CRMKanbanBoard,Dr as Calendar,tf as CalendarView,Lr as CallToActionBlock,Kr as CallToActionBlockOld,Bf as CapabilityMenu,ne as Card,Je as Categories,zf as ChatCardArtefact,kf as ChatCardTask,nf as ChatInterfaceMessages,lf as ChatMessage,lr as Checkbox,Nr as CodeBlock,c as Collapsible,g as CollapsibleContent,d as CollapsibleTrigger,se as CollectionArchive,or as Command,rr as CommandDialog,mr as CommandEmpty,pr as CommandGroup,er as CommandInput,xr as CommandItem,fr as CommandList,tr as CommandSeparator,ar as CommandShortcut,Gf as CommentSection,Sf as ContactSection,Pe as Container,be as ContentBlock,re as ContentCard,Mr as CopyButton,Zr as CustomLink,Vr as CustomerCard,ke as DarkTop,We as DashboardHero,bf as DealCard,af as DealDetails,Cf as DeliveryLeadSubmission,Df as DeliveryLeadSubmissionList,Ef as DeliveryLeadSubmissionWithList,So as Dialog,Vo as DialogClose,Xo as DialogContent,$o as DialogDescription,Zo as DialogFooter,Yo as DialogHeader,Wo as DialogOverlay,Uo as DialogPortal,_o as DialogTitle,To as DialogTrigger,h as DropdownMenu,w as DropdownMenuCheckboxItem,u as DropdownMenuContent,j as DropdownMenuGroup,v as DropdownMenuItem,z as DropdownMenuLabel,k as DropdownMenuPortal,n as DropdownMenuRadioGroup,y as DropdownMenuRadioItem,A as DropdownMenuSeparator,B as DropdownMenuShortcut,l as DropdownMenuSub,s as DropdownMenuSubContent,q as DropdownMenuSubTrigger,i as DropdownMenuTrigger,Tr as DynamicIcon,Hf as EditableField,Wr as EventCard,Ur as FeatureCard,ee as FeatureGrid,Rr as FeaturesBlock,Mf as FileList,Nf as FileView,Ke as Filter,Ce as FlowPrintable,of as Footer,rf as Header,_e as HeaderDesktop,$e as HeaderMobile,ce as HeadingImage,oe as Hero,Le as HighImpactHero,pf as HolidayGrid,xf as HolidayTracker,Po as HoverCard,Ro as HoverCardContent,Qo as HoverCardTrigger,Yr as Image,Qr as ImageBlock,Wf as ImageSection,me as InfoTile,C as Input,fe as Insight,cf as KanbanColumn,If as KnowledgeBrowser,Jf as KnowledgeView,Oo as Label,le as LightTop,Tf as LocationsSection,ue as Logo,Ne as LowImpactHero,pe as MOTD,Vf as MainPageSection,Se as Mask,Or as Media,Pr as MediaBlock,Me as MediumImpactHero,Af as NavigationTabs,gf as NewCustomerForm,hf as NewDealForm,ze as NewsGrid,te as OrgChart,De as PagePrintable,ve as PageRange,Re as PageShape,Ie as Pagination,we as PayloadPagination,Ko as Popover,Mo as PopoverAnchor,No as PopoverContent,Lo as PopoverTrigger,Oe as PostHero,$r as PricingCard,Pf as PricingSection,Be as Printable,Xr as ProjectCard,Ge as ProjectTeam,xe as ProposalSummary,om as Publish,He as RelatedContent,ef as RelatedPagesMenu,qe as RelatedPosts,ge as RenderBlocks,ie as RenderBlocksWithShapes,Ue as RenderHero,mf as RequestLeave,de as ReusableContentBlock,Sr as RichText,Io as ScrollArea,Jo as ScrollBar,_f as Section,Te as SectionHero,nr as Select,yr as SelectContent,qr as SelectGroup,Ar as SelectItem,zr as SelectLabel,wr as SelectScrollDownButton,vr as SelectScrollUpButton,Br as SelectSeparator,ur as SelectTrigger,sr as SelectValue,D as Separator,_r as ServiceCard,$f as ServiceDetail,Zf as ServiceDetailSection,Of as ServiceSection,E as Sheet,G as SheetClose,J as SheetContent,N as SheetDescription,L as SheetFooter,K as SheetHeader,I as SheetOverlay,H as SheetPortal,M as SheetTitle,F as SheetTrigger,Y as Sidebar,mo as SidebarContent,eo as SidebarFooter,po as SidebarGroup,xo as SidebarGroupAction,ao as SidebarGroupContent,to as SidebarGroupLabel,ro as SidebarHeader,oo as SidebarInput,$ as SidebarInset,Ee as SidebarLeft,bo as SidebarMenu,ho as SidebarMenuAction,io as SidebarMenuBadge,go as SidebarMenuButton,co as SidebarMenuItem,jo as SidebarMenuSkeleton,ko as SidebarMenuSub,no as SidebarMenuSubButton,lo as SidebarMenuSubItem,X as SidebarProvider,_ as SidebarRail,Fe as SidebarRight,fo as SidebarSeparator,Z as SidebarTrigger,Xe as SimpleHeader,R as Skeleton,ye as SlideShow,Ff as Switch,Er as Tabs,Hr as TabsContent,Fr as TabsList,Gr as TabsTrigger,Kf as TeamCard,Lf as TeamsIndexView,Ae as TextAndImages,Cr as Textarea,he as Theme,Qe as ThemeProvider,je as ThemeWithShapes,yo as Toast,zo as ToastAction,Ao as ToastClose,Co as ToastDescription,vo as ToastProvider,Bo as ToastTitle,wo as ToastViewport,Do as Toaster,Fo as Toggle,Go as ToggleGroup,Ho as ToggleGroupItem,T as Tooltip,V as TooltipContent,S as TooltipProvider,U as TooltipTrigger,Ye as VideoHeader,ae as WhyUs,jr as badgeVariants,P as buttonVariants,o as cn,qf as defaultColorScheme,uf as findCapabilityByPath,yf as getAllCapabilities,wf as getCapabilityByTeam,vf as getContextualActions,r as getTableOfContents,qo as reducer,sf as testCapabilities,so as toast,Eo as toggleVariants,O as useIsMobile,W as useSidebar,uo as useToast};