cortex-react-components 2.12.2 → 2.12.4

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 (684) hide show
  1. package/dist/{chunk-OU7KVCBI.mjs → chunk-22LHS2J6.mjs} +1 -1
  2. package/dist/{chunk-QXA6C5VE.mjs → chunk-2BR55L74.mjs} +1 -1
  3. package/dist/{chunk-TR52MKZR.mjs → chunk-2BRDNDUB.mjs} +1 -1
  4. package/dist/{chunk-6PQ67CC6.mjs → chunk-2LINLX4S.mjs} +1 -1
  5. package/dist/{chunk-JULD2KZR.mjs → chunk-2QZUKVBA.mjs} +1 -1
  6. package/dist/{chunk-5N2D3BGH.mjs → chunk-2RGAV55J.mjs} +1 -1
  7. package/dist/chunk-33XEFJDE.mjs +4 -0
  8. package/dist/{chunk-E6IIUYQ7.mjs → chunk-3AWUWWR4.mjs} +1 -1
  9. package/dist/{chunk-CXXPSCV3.mjs → chunk-3HNU2NYP.mjs} +1 -1
  10. package/dist/{chunk-4OAROJ4M.mjs → chunk-3NRXQBBS.mjs} +1 -1
  11. package/dist/{chunk-AG6IN5S7.mjs → chunk-3UMMMQEH.mjs} +1 -1
  12. package/dist/chunk-4A3MGS6I.mjs +1 -0
  13. package/dist/{chunk-2C3C5SQQ.mjs → chunk-4CU7D3X2.mjs} +1 -1
  14. package/dist/{chunk-ZJBZTPLD.mjs → chunk-4QRKVSTE.mjs} +1 -1
  15. package/dist/{chunk-X5RHYJW3.mjs → chunk-4RX6WI4T.mjs} +1 -1
  16. package/dist/{chunk-T3NMKARZ.mjs → chunk-4UIARERB.mjs} +1 -1
  17. package/dist/{chunk-D42KIYIO.mjs → chunk-4WA47ZQA.mjs} +1 -1
  18. package/dist/chunk-54K53IWE.mjs +4 -0
  19. package/dist/{chunk-PXAKUW3U.mjs → chunk-56X4PU43.mjs} +1 -1
  20. package/dist/{chunk-ZNV6MCYI.mjs → chunk-5AWZJAK3.mjs} +1 -1
  21. package/dist/{chunk-Z756RYIZ.mjs → chunk-5BT4EWU5.mjs} +1 -1
  22. package/dist/{chunk-WWTVAR4J.mjs → chunk-5BV4MHV6.mjs} +1 -1
  23. package/dist/{chunk-3ZXW3WQU.mjs → chunk-5MWZTJYP.mjs} +1 -1
  24. package/dist/{chunk-PMOMDGBA.mjs → chunk-5NRGSTPV.mjs} +1 -1
  25. package/dist/{chunk-EPDV35LO.mjs → chunk-5RTGHMF3.mjs} +1 -1
  26. package/dist/{chunk-H45UTXIK.mjs → chunk-5WV5ZFEP.mjs} +1 -1
  27. package/dist/{chunk-OGN7YDFB.mjs → chunk-6C4WESLL.mjs} +1 -1
  28. package/dist/{chunk-GFLX67DN.mjs → chunk-6DEY5ZDD.mjs} +1 -1
  29. package/dist/{chunk-QEFMYXHA.mjs → chunk-6HLXIE4P.mjs} +1 -1
  30. package/dist/{chunk-C4SUCDRQ.mjs → chunk-6MSM3CZ6.mjs} +1 -1
  31. package/dist/{chunk-TUTSJOO4.mjs → chunk-6SWKEZN6.mjs} +1 -1
  32. package/dist/{chunk-QAIS2C6W.mjs → chunk-6WQXZ6IE.mjs} +1 -1
  33. package/dist/{chunk-TYMRNSJ3.mjs → chunk-6XUIHSKG.mjs} +1 -1
  34. package/dist/{chunk-VFPS3FYN.mjs → chunk-75F3LJMX.mjs} +1 -1
  35. package/dist/{chunk-WJZDHRGO.mjs → chunk-75WE6ZXB.mjs} +1 -1
  36. package/dist/{chunk-LQDJWEHX.mjs → chunk-76M7JE4D.mjs} +1 -1
  37. package/dist/{chunk-F5JHHMZQ.mjs → chunk-7BXIU4ZM.mjs} +1 -1
  38. package/dist/{chunk-HH4JDBUN.mjs → chunk-7GSXNSLD.mjs} +1 -1
  39. package/dist/{chunk-6GDVIZS5.mjs → chunk-7R47MHQE.mjs} +1 -1
  40. package/dist/{chunk-52UFJIL4.mjs → chunk-7VDNUJZC.mjs} +1 -1
  41. package/dist/{chunk-ESTO675Y.mjs → chunk-7WIO2CIC.mjs} +1 -1
  42. package/dist/{chunk-CXK2IY4V.mjs → chunk-AB43AQKL.mjs} +1 -1
  43. package/dist/{chunk-6UVEJCVM.mjs → chunk-AJQHGVZ5.mjs} +1 -1
  44. package/dist/{chunk-TFPWTJ2V.mjs → chunk-AMVJPDM3.mjs} +1 -1
  45. package/dist/{chunk-FSV7RCTY.mjs → chunk-AP32JABH.mjs} +1 -1
  46. package/dist/{chunk-YVNVQONM.mjs → chunk-AREQGH47.mjs} +1 -1
  47. package/dist/{chunk-SIFQNSEM.mjs → chunk-AZ4VR5JX.mjs} +1 -1
  48. package/dist/{chunk-GIGKJZGA.mjs → chunk-AZKOVKSK.mjs} +1 -1
  49. package/dist/{chunk-DA5SDQDL.mjs → chunk-B2EJGXDG.mjs} +1 -1
  50. package/dist/{chunk-JKPUXPHP.mjs → chunk-B3F6F2S4.mjs} +1 -1
  51. package/dist/{chunk-VXZPPTQQ.mjs → chunk-B4H6T2GP.mjs} +1 -1
  52. package/dist/{chunk-XXFUUOSB.mjs → chunk-BG7QXNV5.mjs} +1 -1
  53. package/dist/{chunk-U5UV7T63.mjs → chunk-BMA4266L.mjs} +1 -1
  54. package/dist/{chunk-GCIWMQMK.mjs → chunk-C4RWEPVF.mjs} +1 -1
  55. package/dist/{chunk-UJ6M7EV5.mjs → chunk-CGDLOY7W.mjs} +1 -1
  56. package/dist/{chunk-3JEM6RIR.mjs → chunk-CO6AQNZ5.mjs} +1 -1
  57. package/dist/{chunk-2JKLBLDE.mjs → chunk-CSBGSBEU.mjs} +1 -1
  58. package/dist/{chunk-TAVSBP7M.mjs → chunk-CTAIR3TE.mjs} +1 -1
  59. package/dist/{chunk-QB63WPDB.mjs → chunk-CXOVEABI.mjs} +1 -1
  60. package/dist/{chunk-QUDKEIE6.mjs → chunk-D3B2YO7G.mjs} +1 -1
  61. package/dist/{chunk-BEPKJ67R.mjs → chunk-D4IMQTVU.mjs} +1 -1
  62. package/dist/{chunk-NMAMUYGQ.mjs → chunk-DBY4SXQI.mjs} +1 -1
  63. package/dist/{chunk-N5GHL7UZ.mjs → chunk-DFIXTV2M.mjs} +1 -1
  64. package/dist/{chunk-AQIMDHFI.mjs → chunk-DSSHQ6K7.mjs} +1 -1
  65. package/dist/{chunk-7EEEXU54.mjs → chunk-E4TE4NV6.mjs} +1 -1
  66. package/dist/{chunk-6PBOA7BL.mjs → chunk-EAFH3DTH.mjs} +1 -1
  67. package/dist/{chunk-WNBJ7C5Y.mjs → chunk-EHSOO47V.mjs} +1 -1
  68. package/dist/{chunk-BUTUPCGN.mjs → chunk-EM3T2XYC.mjs} +1 -1
  69. package/dist/{chunk-3KBY7FKD.mjs → chunk-EOXVYLPB.mjs} +1 -1
  70. package/dist/{chunk-44JXFP6W.mjs → chunk-F5N6KQA2.mjs} +1 -1
  71. package/dist/{chunk-5AYDHF5U.mjs → chunk-FE7ZGUPU.mjs} +1 -1
  72. package/dist/{chunk-6CAO4IKW.mjs → chunk-FGEFYI5E.mjs} +1 -1
  73. package/dist/{chunk-A4XWPIEI.mjs → chunk-FHMQVAKQ.mjs} +1 -1
  74. package/dist/{chunk-VRZHKAJK.mjs → chunk-FMH5CZ7X.mjs} +1 -1
  75. package/dist/{chunk-TNCD5YIY.mjs → chunk-FMJBJ3HN.mjs} +1 -1
  76. package/dist/{chunk-JVJG2LOA.mjs → chunk-FT3AE7L2.mjs} +1 -1
  77. package/dist/{chunk-VB7K44IF.mjs → chunk-GHOL5L32.mjs} +1 -1
  78. package/dist/{chunk-HTQIVWYI.mjs → chunk-GNXLNZ6A.mjs} +1 -1
  79. package/dist/{chunk-FT6JQ4AC.mjs → chunk-GTZJWMZR.mjs} +1 -1
  80. package/dist/{chunk-OHDNPAPI.mjs → chunk-I3E2TYYZ.mjs} +1 -1
  81. package/dist/{chunk-2LLMXGTP.mjs → chunk-IC2ABKAM.mjs} +1 -1
  82. package/dist/{chunk-QIDPNZOL.mjs → chunk-IJQC7T2R.mjs} +1 -1
  83. package/dist/{chunk-NQPBIFGO.mjs → chunk-INCYANPB.mjs} +1 -1
  84. package/dist/{chunk-XXWSCTF5.mjs → chunk-INPV5MBU.mjs} +1 -1
  85. package/dist/{chunk-AWMXVMUW.mjs → chunk-IPIDKLAW.mjs} +1 -1
  86. package/dist/{chunk-N5BLWWDM.mjs → chunk-IQQ7ZWCP.mjs} +1 -1
  87. package/dist/{chunk-NGC3C4FW.mjs → chunk-ISBVFNWD.mjs} +1 -1
  88. package/dist/{chunk-EBO2R46A.mjs → chunk-J4IHIM6A.mjs} +1 -1
  89. package/dist/{chunk-7QBPKUWN.mjs → chunk-JFFTEK6Z.mjs} +1 -1
  90. package/dist/{chunk-E6W2YMC3.mjs → chunk-JHNVX4UB.mjs} +1 -1
  91. package/dist/chunk-JXIKSSGH.mjs +1 -0
  92. package/dist/{chunk-4OK6PUOO.mjs → chunk-JYL3XIJX.mjs} +1 -1
  93. package/dist/{chunk-UXCCCQCB.mjs → chunk-KFCSVEI6.mjs} +1 -1
  94. package/dist/{chunk-GNIVCF53.mjs → chunk-KGEIN56Y.mjs} +1 -1
  95. package/dist/chunk-KGKGZ4H2.mjs +4 -0
  96. package/dist/{chunk-HTCM27MI.mjs → chunk-KVD6XDZT.mjs} +1 -1
  97. package/dist/chunk-KW6L6KBY.mjs +1 -0
  98. package/dist/{chunk-A5TPL5CB.mjs → chunk-KWYJ3XZI.mjs} +1 -1
  99. package/dist/{chunk-GYTXBVCX.mjs → chunk-KX2NCNCS.mjs} +1 -1
  100. package/dist/{chunk-BIAOADJS.mjs → chunk-KY7WQYN4.mjs} +1 -1
  101. package/dist/{chunk-GJUA2KUH.mjs → chunk-L5JPAKPM.mjs} +1 -1
  102. package/dist/{chunk-HPZPRZWG.mjs → chunk-LEC6GEWS.mjs} +1 -1
  103. package/dist/{chunk-67RPQW7V.mjs → chunk-LKGCU7H6.mjs} +1 -1
  104. package/dist/{chunk-6WVIXUXX.mjs → chunk-LLED3RQS.mjs} +1 -1
  105. package/dist/{chunk-LARQXED4.mjs → chunk-LVFMFRBR.mjs} +1 -1
  106. package/dist/{chunk-S7N4CSMJ.mjs → chunk-LVK4QE5D.mjs} +1 -1
  107. package/dist/{chunk-EESKUTPD.mjs → chunk-LXZAOORS.mjs} +1 -1
  108. package/dist/{chunk-OKAETRO6.mjs → chunk-M4UVNIK2.mjs} +1 -1
  109. package/dist/{chunk-FDJHY37W.mjs → chunk-MAAKU7PN.mjs} +1 -1
  110. package/dist/chunk-MBPTBEOX.mjs +1 -0
  111. package/dist/chunk-MDJREBVI.mjs +1 -0
  112. package/dist/{chunk-EYRTGZWR.mjs → chunk-MFCVMJBO.mjs} +1 -1
  113. package/dist/{chunk-Q6FPZ6J3.mjs → chunk-MGYV46AJ.mjs} +1 -1
  114. package/dist/{chunk-3GLK3JM6.mjs → chunk-MU5WPW4N.mjs} +1 -1
  115. package/dist/{chunk-BOG3XLGP.mjs → chunk-MZP7RIQZ.mjs} +1 -1
  116. package/dist/{chunk-BXVJNWFA.mjs → chunk-NINFDOV5.mjs} +1 -1
  117. package/dist/chunk-NKDFAFWH.mjs +1 -0
  118. package/dist/chunk-NO3FZ27F.mjs +1 -0
  119. package/dist/chunk-NPVUICIF.mjs +1 -0
  120. package/dist/{chunk-NN2RHTGW.mjs → chunk-NSMXJCXE.mjs} +1 -1
  121. package/dist/{chunk-2WLZ5T2D.mjs → chunk-NUHGPB5U.mjs} +1 -1
  122. package/dist/chunk-O5P35LEY.mjs +4 -0
  123. package/dist/{chunk-DGJHJHFF.mjs → chunk-OCPX4QPC.mjs} +1 -1
  124. package/dist/{chunk-RU435LAU.mjs → chunk-OM5ZUHCN.mjs} +1 -1
  125. package/dist/{chunk-YUW3HHAK.mjs → chunk-OPLUKFRN.mjs} +1 -1
  126. package/dist/{chunk-KUVPOOSW.mjs → chunk-ORNGKQM7.mjs} +1 -1
  127. package/dist/{chunk-F6KHZ4OS.mjs → chunk-OSXK6NGG.mjs} +1 -1
  128. package/dist/{chunk-FPWCCVDI.mjs → chunk-OYZDAMCS.mjs} +1 -1
  129. package/dist/{chunk-PUAHE5VJ.mjs → chunk-PDY7JYY3.mjs} +1 -1
  130. package/dist/{chunk-E2MPOOEL.mjs → chunk-PWXCBW2H.mjs} +1 -1
  131. package/dist/{chunk-IG6J62QA.mjs → chunk-Q5NHYYRS.mjs} +1 -1
  132. package/dist/{chunk-3HD7RAT7.mjs → chunk-Q5Q3DJWU.mjs} +1 -1
  133. package/dist/{chunk-532HP37G.mjs → chunk-Q5XT55O3.mjs} +1 -1
  134. package/dist/{chunk-RD7LJPUV.mjs → chunk-Q67RF7VO.mjs} +1 -1
  135. package/dist/{chunk-K5GFFN67.mjs → chunk-Q6PKGY27.mjs} +1 -1
  136. package/dist/{chunk-HLWGNTZD.mjs → chunk-QBUU2AQL.mjs} +1 -1
  137. package/dist/{chunk-JTFMN7OL.mjs → chunk-QQVPLMPJ.mjs} +1 -1
  138. package/dist/{chunk-DFWWQRJ2.mjs → chunk-RGOKBIQ5.mjs} +1 -1
  139. package/dist/{chunk-E7SIU5SS.mjs → chunk-RHR3YOLG.mjs} +1 -1
  140. package/dist/{chunk-EYQ4UGAJ.mjs → chunk-RJGYVDOU.mjs} +1 -1
  141. package/dist/{chunk-P5U27QUJ.mjs → chunk-RLVKIMGU.mjs} +1 -1
  142. package/dist/{chunk-EUXJZBRI.mjs → chunk-RR4QSUV2.mjs} +1 -1
  143. package/dist/{chunk-WKLJU63E.mjs → chunk-RULSHTXR.mjs} +1 -1
  144. package/dist/{chunk-QMTI6672.mjs → chunk-RVHCTANZ.mjs} +1 -1
  145. package/dist/{chunk-RHYQ4V7N.mjs → chunk-SOIRB5TV.mjs} +1 -1
  146. package/dist/{chunk-RFNYVF6F.mjs → chunk-SOLZ4VQH.mjs} +1 -1
  147. package/dist/{chunk-55OESIAK.mjs → chunk-TEB67NCD.mjs} +1 -1
  148. package/dist/{chunk-WH24BWZV.mjs → chunk-TJVEQJW3.mjs} +1 -1
  149. package/dist/{chunk-OF63XSJ4.mjs → chunk-TR6RBROH.mjs} +1 -1
  150. package/dist/{chunk-RAAY7PEH.mjs → chunk-TVZOULLL.mjs} +1 -1
  151. package/dist/{chunk-FJUAYJF4.mjs → chunk-TXVA6XJT.mjs} +1 -1
  152. package/dist/{chunk-HK52LPE3.mjs → chunk-TZKQXT7Y.mjs} +1 -1
  153. package/dist/{chunk-HYIRE7BK.mjs → chunk-U5PBLRRV.mjs} +1 -1
  154. package/dist/{chunk-5T4OPJ7F.mjs → chunk-U67OTPTT.mjs} +1 -1
  155. package/dist/{chunk-AARMIMMZ.mjs → chunk-UWEU6TLS.mjs} +1 -1
  156. package/dist/{chunk-5YJFMMVM.mjs → chunk-V6GC3UGV.mjs} +1 -1
  157. package/dist/chunk-VFUTR2R2.mjs +4 -0
  158. package/dist/{chunk-E43QS242.mjs → chunk-VGWDYD6Z.mjs} +1 -1
  159. package/dist/{chunk-6TLGI4P6.mjs → chunk-VMAPGGGW.mjs} +1 -1
  160. package/dist/chunk-WDI7JGA6.mjs +1 -0
  161. package/dist/{chunk-YHTFEWSZ.mjs → chunk-WIRQ5IRT.mjs} +1 -1
  162. package/dist/{chunk-UY4BSKPK.mjs → chunk-WISC5QJV.mjs} +1 -1
  163. package/dist/{chunk-7RKPUKFH.mjs → chunk-WUA65ZZB.mjs} +1 -1
  164. package/dist/{chunk-EGERAM4Q.mjs → chunk-X3JZSN3W.mjs} +1 -1
  165. package/dist/{chunk-T3BIRW2W.mjs → chunk-XBCYPOFD.mjs} +1 -1
  166. package/dist/{chunk-TZTQENNX.mjs → chunk-XGIYNUGC.mjs} +1 -1
  167. package/dist/chunk-XGRRLABA.mjs +8 -0
  168. package/dist/{chunk-WLM2ZFHF.mjs → chunk-YFAZQYK4.mjs} +1 -1
  169. package/dist/{chunk-7WKUKFCT.mjs → chunk-YO3GQYRJ.mjs} +1 -1
  170. package/dist/{chunk-EFIJNPMM.mjs → chunk-YRMNCHFO.mjs} +1 -1
  171. package/dist/{chunk-BM2ZNFM6.mjs → chunk-Z22NSJMF.mjs} +1 -1
  172. package/dist/{chunk-5WDNNO37.mjs → chunk-ZEALRBXW.mjs} +1 -1
  173. package/dist/{chunk-FHPZSG7W.mjs → chunk-ZGQC6O62.mjs} +1 -1
  174. package/dist/{chunk-LCIKBYDR.mjs → chunk-ZMB6R6JX.mjs} +1 -1
  175. package/dist/chunk-ZMSNHKKT.mjs +1 -0
  176. package/dist/{chunk-A7S4L4P2.mjs → chunk-ZSIYEVUV.mjs} +1 -1
  177. package/dist/{chunk-7Z3TOFNL.mjs → chunk-ZUA4KNIR.mjs} +1 -1
  178. package/dist/chunk-ZWHGOTSF.mjs +1 -0
  179. package/dist/{chunk-UBCJPXKD.mjs → chunk-ZXPDSSCF.mjs} +1 -1
  180. package/dist/components/AdvancedComponents/AppSidebar.js +1 -1
  181. package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
  182. package/dist/components/AdvancedComponents/CommentSection.js +1 -1
  183. package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
  184. package/dist/components/AdvancedComponents/EditableField.js +1 -1
  185. package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
  186. package/dist/components/AdvancedComponents/app-header.js +1 -1
  187. package/dist/components/AdvancedComponents/app-header.mjs +1 -1
  188. package/dist/components/AdvancedComponents/index.js +1 -1
  189. package/dist/components/AdvancedComponents/index.mjs +1 -1
  190. package/dist/components/AdvancedComponents/navigation-tabs.js +1 -1
  191. package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
  192. package/dist/components/AdvancedComponents/notifications-panel.js +1 -1
  193. package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
  194. package/dist/components/AdvancedComponents/switch.js +1 -1
  195. package/dist/components/AdvancedComponents/switch.mjs +1 -1
  196. package/dist/components/AdvancedComponents/theme-toggle.js +1 -1
  197. package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
  198. package/dist/components/AdvancedComponents/user-selection.js +1 -1
  199. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  200. package/dist/components/Blocks/Banner.js +1 -1
  201. package/dist/components/Blocks/Banner.mjs +1 -1
  202. package/dist/components/Blocks/CallToAction.js +1 -1
  203. package/dist/components/Blocks/CallToAction.mjs +1 -1
  204. package/dist/components/Blocks/CaseStudy.js +1 -1
  205. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  206. package/dist/components/Blocks/Code.client.js +1 -1
  207. package/dist/components/Blocks/Code.client.mjs +1 -1
  208. package/dist/components/Blocks/Code.js +1 -1
  209. package/dist/components/Blocks/Code.mjs +1 -1
  210. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  211. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  212. package/dist/components/Blocks/ConsultantProfile.js +1 -1
  213. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  214. package/dist/components/Blocks/Content.js +1 -1
  215. package/dist/components/Blocks/Content.mjs +1 -1
  216. package/dist/components/Blocks/CopyButton.js +1 -1
  217. package/dist/components/Blocks/CopyButton.mjs +1 -1
  218. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  219. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  220. package/dist/components/Blocks/ImageBlock.js +1 -1
  221. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  222. package/dist/components/Blocks/MediaBlock.js +1 -1
  223. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  224. package/dist/components/Blocks/ProposalSummary.js +1 -1
  225. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  226. package/dist/components/Blocks/RelatedPosts.js +1 -1
  227. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  228. package/dist/components/Blocks/RenderBlocks.js +1 -1
  229. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  230. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  231. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  232. package/dist/components/Blocks/index.js +1 -1
  233. package/dist/components/Blocks/index.mjs +1 -1
  234. package/dist/components/CRM/CogeBoard.js +1 -1
  235. package/dist/components/CRM/CogeBoard.mjs +1 -1
  236. package/dist/components/CRM/DealCard.js +1 -1
  237. package/dist/components/CRM/DealCard.mjs +1 -1
  238. package/dist/components/CRM/DealDetails.js +1 -1
  239. package/dist/components/CRM/DealDetails.mjs +1 -1
  240. package/dist/components/CRM/KanbanBoard.js +1 -1
  241. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  242. package/dist/components/CRM/KanbanColumn.js +1 -1
  243. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  244. package/dist/components/CRM/NewCustomerForm.js +1 -1
  245. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  246. package/dist/components/CRM/NewDealForm.js +1 -1
  247. package/dist/components/CRM/NewDealForm.mjs +1 -1
  248. package/dist/components/CRM/index.js +1 -1
  249. package/dist/components/CRM/index.mjs +1 -1
  250. package/dist/components/Cards/ContentCard.js +1 -1
  251. package/dist/components/Cards/ContentCard.mjs +1 -1
  252. package/dist/components/Cards/CustomerCard.js +1 -1
  253. package/dist/components/Cards/CustomerCard.mjs +1 -1
  254. package/dist/components/Cards/EventCard.js +1 -1
  255. package/dist/components/Cards/EventCard.mjs +1 -1
  256. package/dist/components/Cards/FeatureCard.js +1 -1
  257. package/dist/components/Cards/FeatureCard.mjs +1 -1
  258. package/dist/components/Cards/HeroCard.js +1 -1
  259. package/dist/components/Cards/HeroCard.mjs +1 -1
  260. package/dist/components/Cards/Image.js +1 -1
  261. package/dist/components/Cards/Image.mjs +1 -1
  262. package/dist/components/Cards/PricingCard.js +1 -1
  263. package/dist/components/Cards/PricingCard.mjs +1 -1
  264. package/dist/components/Cards/ProjectCard.js +3 -3
  265. package/dist/components/Cards/ProjectCard.mjs +1 -1
  266. package/dist/components/Cards/ServiceCard.js +1 -1
  267. package/dist/components/Cards/ServiceCard.mjs +1 -1
  268. package/dist/components/Cards/index.js +4 -4
  269. package/dist/components/Cards/index.mjs +1 -1
  270. package/dist/components/Chat/ChatCardArtefact.js +1 -1
  271. package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
  272. package/dist/components/Chat/ChatCardTask.js +1 -1
  273. package/dist/components/Chat/ChatCardTask.mjs +1 -1
  274. package/dist/components/Chat/ChatInterface.js +2 -2
  275. package/dist/components/Chat/ChatInterface.mjs +1 -1
  276. package/dist/components/Chat/ChatInterfaceMessages.js +2 -2
  277. package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
  278. package/dist/components/Chat/ChatMessage.js +2 -2
  279. package/dist/components/Chat/ChatMessage.mjs +1 -1
  280. package/dist/components/Chat/CopilotInterface.js +3 -3
  281. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  282. package/dist/components/Chat/capability-menu.js +1 -1
  283. package/dist/components/Chat/capability-menu.mjs +1 -1
  284. package/dist/components/Chat/chat-session-sidebar.js +1 -1
  285. package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
  286. package/dist/components/Chat/demo-long-messages.js +9 -9
  287. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  288. package/dist/components/Chat/demo-tests.js +22 -22
  289. package/dist/components/Chat/demo-tests.mjs +1 -1
  290. package/dist/components/Chat/demo.js +3 -3
  291. package/dist/components/Chat/demo.mjs +1 -1
  292. package/dist/components/Chat/example-usage.js +3 -3
  293. package/dist/components/Chat/example-usage.mjs +1 -1
  294. package/dist/components/Chat/example-with-file-uploads.js +1 -1
  295. package/dist/components/Chat/example-with-file-uploads.mjs +1 -1
  296. package/dist/components/Chat/example-with-vercel-ai.js +3 -3
  297. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  298. package/dist/components/Chat/index.js +3 -3
  299. package/dist/components/Chat/index.mjs +1 -1
  300. package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +2 -2
  301. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
  302. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +1 -1
  303. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
  304. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +2 -2
  305. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
  306. package/dist/components/DeliveryLead/index.js +2 -2
  307. package/dist/components/DeliveryLead/index.mjs +1 -1
  308. package/dist/components/DigitalColleagues/AppSidebarLeft.js +1 -1
  309. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  310. package/dist/components/DigitalColleagues/DashboardHeader.js +1 -1
  311. package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
  312. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
  313. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
  314. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  315. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  316. package/dist/components/DigitalColleagues/ManagementSidebar.d.ts +0 -3
  317. package/dist/components/DigitalColleagues/ManagementSidebar.js +1 -1
  318. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
  319. package/dist/components/DigitalColleagues/Pages/dashboardpage.d.ts +1 -1
  320. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
  321. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  322. package/dist/components/DigitalColleagues/SearchableSelect.js +1 -1
  323. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
  324. package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +1 -1
  325. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
  326. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
  327. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
  328. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
  329. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
  330. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
  331. package/dist/components/DigitalColleagues/Views/index.js +1 -1
  332. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  333. package/dist/components/DigitalColleagues/colleague-card.d.ts +1 -1
  334. package/dist/components/DigitalColleagues/colleague-card.js +1 -2
  335. package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
  336. package/dist/components/DigitalColleagues/colleague-form.js +1 -1
  337. package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
  338. package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
  339. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
  340. package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
  341. package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
  342. package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
  343. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
  344. package/dist/components/DigitalColleagues/document-edit.js +1 -1
  345. package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
  346. package/dist/components/DigitalColleagues/document-preview-examples.js +5 -5
  347. package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
  348. package/dist/components/DigitalColleagues/document-preview.js +1 -1
  349. package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
  350. package/dist/components/DigitalColleagues/index.js +1 -1
  351. package/dist/components/DigitalColleagues/index.mjs +1 -1
  352. package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
  353. package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
  354. package/dist/components/DigitalColleagues/knowledge-search.js +1 -1
  355. package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
  356. package/dist/components/DigitalColleagues/team-form.js +1 -1
  357. package/dist/components/DigitalColleagues/team-form.mjs +1 -1
  358. package/dist/components/DigitalColleagues/test-data.js +1 -1
  359. package/dist/components/DigitalColleagues/test-data.mjs +1 -1
  360. package/dist/components/DigitalColleagues/types.d.ts +10 -1
  361. package/dist/components/HeaderFooter/BrandLogo.js +1 -1
  362. package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
  363. package/dist/components/HeaderFooter/Footer.js +1 -1
  364. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  365. package/dist/components/HeaderFooter/Header.js +1 -1
  366. package/dist/components/HeaderFooter/Header.mjs +1 -1
  367. package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
  368. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  369. package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
  370. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  371. package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
  372. package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
  373. package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
  374. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  375. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  376. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  377. package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
  378. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  379. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  380. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  381. package/dist/components/HeaderFooter/enhanced-header.js +1 -1
  382. package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
  383. package/dist/components/HeaderFooter/index.js +1 -1
  384. package/dist/components/HeaderFooter/index.mjs +1 -1
  385. package/dist/components/Heros/DashboardHero/DashboardHero.js +1 -1
  386. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
  387. package/dist/components/Heros/DashboardHero/index.js +1 -1
  388. package/dist/components/Heros/DashboardHero/index.mjs +1 -1
  389. package/dist/components/Heros/HighImpact/index.js +1 -1
  390. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  391. package/dist/components/Heros/LowImpact/index.js +1 -1
  392. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  393. package/dist/components/Heros/MediumImpact/index.js +1 -1
  394. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  395. package/dist/components/Heros/PostHero/index.js +1 -1
  396. package/dist/components/Heros/PostHero/index.mjs +1 -1
  397. package/dist/components/Heros/RenderHero.js +1 -1
  398. package/dist/components/Heros/RenderHero.mjs +1 -1
  399. package/dist/components/Heros/SectionHero/index.js +1 -1
  400. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  401. package/dist/components/Heros/index.js +1 -1
  402. package/dist/components/Heros/index.mjs +1 -1
  403. package/dist/components/Holidays/ApproveLeave.js +1 -1
  404. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  405. package/dist/components/Holidays/CalendarView.js +1 -1
  406. package/dist/components/Holidays/CalendarView.mjs +1 -1
  407. package/dist/components/Holidays/HolidayGrid.js +1 -1
  408. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  409. package/dist/components/Holidays/HolidayTracker.js +1 -1
  410. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  411. package/dist/components/Holidays/RequestLeave.js +1 -1
  412. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  413. package/dist/components/Holidays/index.js +1 -1
  414. package/dist/components/Holidays/index.mjs +1 -1
  415. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  416. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  417. package/dist/components/Layouts/Print.js +2 -2
  418. package/dist/components/Layouts/Print.mjs +1 -1
  419. package/dist/components/Layouts/SlideShow.js +3 -3
  420. package/dist/components/Layouts/SlideShow.mjs +1 -1
  421. package/dist/components/Layouts/index.js +4 -4
  422. package/dist/components/Layouts/index.mjs +1 -1
  423. package/dist/components/Menus/Categories.js +1 -1
  424. package/dist/components/Menus/Categories.mjs +1 -1
  425. package/dist/components/Menus/Filter.js +1 -1
  426. package/dist/components/Menus/Filter.mjs +1 -1
  427. package/dist/components/Menus/Pagination.js +1 -1
  428. package/dist/components/Menus/Pagination.mjs +1 -1
  429. package/dist/components/Menus/ProjectTeam.js +1 -1
  430. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  431. package/dist/components/Menus/RelatedContent.js +1 -1
  432. package/dist/components/Menus/RelatedContent.mjs +1 -1
  433. package/dist/components/Menus/SidebarLeft.js +1 -1
  434. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  435. package/dist/components/Menus/SidebarRight.js +1 -1
  436. package/dist/components/Menus/SidebarRight.mjs +1 -1
  437. package/dist/components/Menus/index.js +1 -1
  438. package/dist/components/Menus/index.mjs +1 -1
  439. package/dist/components/Other/Container.js +1 -1
  440. package/dist/components/Other/Container.mjs +1 -1
  441. package/dist/components/Other/PageShape.js +1 -1
  442. package/dist/components/Other/PageShape.mjs +1 -1
  443. package/dist/components/Other/index.js +1 -1
  444. package/dist/components/Other/index.mjs +1 -1
  445. package/dist/components/Payload/Card/index.js +1 -1
  446. package/dist/components/Payload/Card/index.mjs +1 -1
  447. package/dist/components/Payload/CollectionArchive/index.js +1 -1
  448. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  449. package/dist/components/Payload/Link/index.js +1 -1
  450. package/dist/components/Payload/Link/index.mjs +1 -1
  451. package/dist/components/Payload/Media/ImageMedia/index.js +1 -1
  452. package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
  453. package/dist/components/Payload/Media/VideoMedia/index.js +1 -1
  454. package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
  455. package/dist/components/Payload/Media/index.js +1 -1
  456. package/dist/components/Payload/Media/index.mjs +1 -1
  457. package/dist/components/Payload/Pagination/index.js +1 -1
  458. package/dist/components/Payload/Pagination/index.mjs +1 -1
  459. package/dist/components/Payload/RichText/index.js +1 -1
  460. package/dist/components/Payload/RichText/index.mjs +1 -1
  461. package/dist/components/Payload/RichText/serialize.js +1 -1
  462. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  463. package/dist/components/Payload/index.js +1 -1
  464. package/dist/components/Payload/index.mjs +1 -1
  465. package/dist/components/Projects/AddEpicModal.js +1 -1
  466. package/dist/components/Projects/AddEpicModal.mjs +1 -1
  467. package/dist/components/Projects/AddSprintModal.js +1 -1
  468. package/dist/components/Projects/AddSprintModal.mjs +1 -1
  469. package/dist/components/Projects/AddTaskModal.js +1 -1
  470. package/dist/components/Projects/AddTaskModal.mjs +1 -1
  471. package/dist/components/Projects/EpicFilter.js +1 -1
  472. package/dist/components/Projects/EpicFilter.mjs +1 -1
  473. package/dist/components/Projects/EpicsView.js +1 -2
  474. package/dist/components/Projects/EpicsView.mjs +1 -1
  475. package/dist/components/Projects/FileView.js +1 -1
  476. package/dist/components/Projects/FileView.mjs +1 -1
  477. package/dist/components/Projects/KanbanBoardView.d.ts +4 -0
  478. package/dist/components/Projects/KanbanBoardView.js +1 -1
  479. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  480. package/dist/components/Projects/KanbanColumn.d.ts +1 -0
  481. package/dist/components/Projects/KanbanColumn.js +1 -1
  482. package/dist/components/Projects/KanbanColumn.mjs +1 -1
  483. package/dist/components/Projects/PlanningView.d.ts +2 -0
  484. package/dist/components/Projects/PlanningView.js +1 -1
  485. package/dist/components/Projects/PlanningView.mjs +1 -1
  486. package/dist/components/Projects/PlanningView_broken_backup.css +1 -0
  487. package/dist/components/Projects/PlanningView_broken_backup.d.ts +14 -0
  488. package/dist/components/Projects/PlanningView_broken_backup.js +5 -0
  489. package/dist/components/Projects/PlanningView_broken_backup.mjs +1 -0
  490. package/dist/components/Projects/ProjectPage.d.ts +3 -3
  491. package/dist/components/Projects/ProjectPage.js +2 -2
  492. package/dist/components/Projects/ProjectPage.mjs +1 -1
  493. package/dist/components/Projects/ProjectView.d.ts +9 -4
  494. package/dist/components/Projects/ProjectView.js +1 -1
  495. package/dist/components/Projects/ProjectView.mjs +1 -1
  496. package/dist/components/Projects/ProjectsIndexView.js +1 -1
  497. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  498. package/dist/components/Projects/TaskCard.js +1 -1
  499. package/dist/components/Projects/TaskCard.mjs +1 -1
  500. package/dist/components/Projects/TaskDetailsModal.d.ts +8 -3
  501. package/dist/components/Projects/TaskDetailsModal.js +1 -1
  502. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  503. package/dist/components/Projects/TaskSelect.js +1 -1
  504. package/dist/components/Projects/TaskSelect.mjs +1 -1
  505. package/dist/components/Projects/TaskSidebar.d.ts +2 -1
  506. package/dist/components/Projects/TaskSidebar.js +1 -1
  507. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  508. package/dist/components/Projects/TasksView.js +1 -1
  509. package/dist/components/Projects/TasksView.mjs +1 -1
  510. package/dist/components/Projects/TeamSwitcher.js +1 -1
  511. package/dist/components/Projects/TeamSwitcher.mjs +1 -1
  512. package/dist/components/Projects/business-unit-switcher.js +1 -1
  513. package/dist/components/Projects/business-unit-switcher.mjs +1 -1
  514. package/dist/components/Projects/file-list.js +1 -1
  515. package/dist/components/Projects/file-list.mjs +1 -1
  516. package/dist/components/Projects/index.js +1 -1
  517. package/dist/components/Projects/index.mjs +1 -1
  518. package/dist/components/Projects/project-card.js +1 -1
  519. package/dist/components/Projects/project-card.mjs +1 -1
  520. package/dist/components/Projects/project-form.js +1 -1
  521. package/dist/components/Projects/project-form.mjs +1 -1
  522. package/dist/components/Projects/team-card.js +1 -1
  523. package/dist/components/Projects/team-card.mjs +1 -1
  524. package/dist/components/Projects/team-switcher-bar.js +1 -1
  525. package/dist/components/Projects/team-switcher-bar.mjs +1 -1
  526. package/dist/components/Projects/test-data.js +1 -1
  527. package/dist/components/Projects/test-data.mjs +1 -1
  528. package/dist/components/dc-temp/creative.js +1 -1
  529. package/dist/components/dc-temp/creative.mjs +1 -1
  530. package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
  531. package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
  532. package/dist/components/dc-temp/index.js +1 -1
  533. package/dist/components/dc-temp/index.mjs +1 -1
  534. package/dist/components/dc-temp/markdown-renderer.js +1 -1
  535. package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
  536. package/dist/components/dc-temp/utils.js +1 -1
  537. package/dist/components/dc-temp/utils.mjs +1 -1
  538. package/dist/components/index.js +14 -14
  539. package/dist/components/index.mjs +1 -1
  540. package/dist/components/ui/alert.js +1 -1
  541. package/dist/components/ui/alert.mjs +1 -1
  542. package/dist/components/ui/avatar.js +1 -1
  543. package/dist/components/ui/avatar.mjs +1 -1
  544. package/dist/components/ui/badge.js +1 -1
  545. package/dist/components/ui/badge.mjs +1 -1
  546. package/dist/components/ui/breadcrumb.js +1 -1
  547. package/dist/components/ui/breadcrumb.mjs +1 -1
  548. package/dist/components/ui/button.js +1 -1
  549. package/dist/components/ui/button.mjs +1 -1
  550. package/dist/components/ui/calendar.js +1 -1
  551. package/dist/components/ui/calendar.mjs +1 -1
  552. package/dist/components/ui/card.js +1 -1
  553. package/dist/components/ui/card.mjs +1 -1
  554. package/dist/components/ui/checkbox.js +1 -1
  555. package/dist/components/ui/checkbox.mjs +1 -1
  556. package/dist/components/ui/command.js +1 -1
  557. package/dist/components/ui/command.mjs +1 -1
  558. package/dist/components/ui/dialog.js +1 -1
  559. package/dist/components/ui/dialog.mjs +1 -1
  560. package/dist/components/ui/dropdown-menu.js +1 -1
  561. package/dist/components/ui/dropdown-menu.mjs +1 -1
  562. package/dist/components/ui/hover-card.js +1 -1
  563. package/dist/components/ui/hover-card.mjs +1 -1
  564. package/dist/components/ui/index.js +1 -1
  565. package/dist/components/ui/index.mjs +1 -1
  566. package/dist/components/ui/input.js +1 -1
  567. package/dist/components/ui/input.mjs +1 -1
  568. package/dist/components/ui/inputs/common/styles/index.js +1 -1
  569. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  570. package/dist/components/ui/inputs/text-input/index.js +1 -1
  571. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  572. package/dist/components/ui/inputs/textarea-input/index.js +1 -1
  573. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  574. package/dist/components/ui/label.js +1 -1
  575. package/dist/components/ui/label.mjs +1 -1
  576. package/dist/components/ui/pagination.js +1 -1
  577. package/dist/components/ui/pagination.mjs +1 -1
  578. package/dist/components/ui/popover.js +1 -1
  579. package/dist/components/ui/popover.mjs +1 -1
  580. package/dist/components/ui/progress.js +1 -1
  581. package/dist/components/ui/progress.mjs +1 -1
  582. package/dist/components/ui/scroll-area.js +1 -1
  583. package/dist/components/ui/scroll-area.mjs +1 -1
  584. package/dist/components/ui/select.js +1 -1
  585. package/dist/components/ui/select.mjs +1 -1
  586. package/dist/components/ui/separator.js +1 -1
  587. package/dist/components/ui/separator.mjs +1 -1
  588. package/dist/components/ui/sheet.js +1 -1
  589. package/dist/components/ui/sheet.mjs +1 -1
  590. package/dist/components/ui/sidebar.js +1 -1
  591. package/dist/components/ui/sidebar.mjs +1 -1
  592. package/dist/components/ui/skeleton.js +1 -1
  593. package/dist/components/ui/skeleton.mjs +1 -1
  594. package/dist/components/ui/switch.js +1 -1
  595. package/dist/components/ui/switch.mjs +1 -1
  596. package/dist/components/ui/tabs.js +1 -1
  597. package/dist/components/ui/tabs.mjs +1 -1
  598. package/dist/components/ui/textarea.js +1 -1
  599. package/dist/components/ui/textarea.mjs +1 -1
  600. package/dist/components/ui/toast.js +1 -1
  601. package/dist/components/ui/toast.mjs +1 -1
  602. package/dist/components/ui/toaster.js +1 -1
  603. package/dist/components/ui/toaster.mjs +1 -1
  604. package/dist/components/ui/toggle-group.js +1 -1
  605. package/dist/components/ui/toggle-group.mjs +1 -1
  606. package/dist/components/ui/toggle.js +1 -1
  607. package/dist/components/ui/toggle.mjs +1 -1
  608. package/dist/components/ui/tooltip.js +1 -1
  609. package/dist/components/ui/tooltip.mjs +1 -1
  610. package/dist/globals.css +1 -1
  611. package/dist/index.js +19 -19
  612. package/dist/index.mjs +1 -1
  613. package/dist/metafile-cjs.json +1 -1
  614. package/dist/metafile-esm.json +1 -1
  615. package/dist/pages/Blog.js +1 -1
  616. package/dist/pages/Blog.mjs +1 -1
  617. package/dist/pages/Documentation.js +1 -1
  618. package/dist/pages/Documentation.mjs +1 -1
  619. package/dist/pages/IndexPage.js +1 -1
  620. package/dist/pages/IndexPage.mjs +1 -1
  621. package/dist/pages/Intranet.js +1 -1
  622. package/dist/pages/Intranet.mjs +1 -1
  623. package/dist/pages/LandingPage.js +3 -3
  624. package/dist/pages/LandingPage.mjs +1 -1
  625. package/dist/pages/Page.js +1 -1
  626. package/dist/pages/Page.mjs +1 -1
  627. package/dist/pages/Publish.js +4 -4
  628. package/dist/pages/Publish.mjs +1 -1
  629. package/dist/pages/Website.js +1 -1
  630. package/dist/pages/Website.mjs +1 -1
  631. package/dist/sections/AboutSection.js +1 -1
  632. package/dist/sections/AboutSection.mjs +1 -1
  633. package/dist/sections/BlogDetail.js +1 -1
  634. package/dist/sections/BlogDetail.mjs +1 -1
  635. package/dist/sections/BlogList.js +3 -3
  636. package/dist/sections/BlogList.mjs +1 -1
  637. package/dist/sections/BlogListSection.js +1 -1
  638. package/dist/sections/BlogListSection.mjs +1 -1
  639. package/dist/sections/ContactSection.js +1 -1
  640. package/dist/sections/ContactSection.mjs +1 -1
  641. package/dist/sections/ImageSection.js +1 -1
  642. package/dist/sections/ImageSection.mjs +1 -1
  643. package/dist/sections/MainPageSection.js +1 -1
  644. package/dist/sections/MainPageSection.mjs +1 -1
  645. package/dist/sections/PageSections.js +3 -3
  646. package/dist/sections/PageSections.mjs +1 -1
  647. package/dist/sections/PricingSection.js +1 -1
  648. package/dist/sections/PricingSection.mjs +1 -1
  649. package/dist/sections/ServiceDetail.js +1 -1
  650. package/dist/sections/ServiceDetail.mjs +1 -1
  651. package/dist/sections/ServiceDetailSection.js +1 -1
  652. package/dist/sections/ServiceDetailSection.mjs +1 -1
  653. package/dist/sections/ServiceSection.js +1 -1
  654. package/dist/sections/ServiceSection.mjs +1 -1
  655. package/dist/sections/form/index.js +1 -1
  656. package/dist/sections/form/index.mjs +1 -1
  657. package/dist/sections/index.js +3 -3
  658. package/dist/sections/index.mjs +1 -1
  659. package/dist/styles/Colors.js +1 -1
  660. package/dist/styles/Colors.mjs +1 -1
  661. package/dist/utils/AOSInit.js +2 -2
  662. package/dist/utils/AOSInit.mjs +1 -1
  663. package/dist/utils/cn.js +1 -1
  664. package/dist/utils/cn.mjs +1 -1
  665. package/dist/utils/index.js +2 -2
  666. package/dist/utils/index.mjs +1 -1
  667. package/package.json +1 -1
  668. package/dist/chunk-4RQ27GTD.mjs +0 -1
  669. package/dist/chunk-56AGUZR5.mjs +0 -1
  670. package/dist/chunk-5WH7SFOR.mjs +0 -4
  671. package/dist/chunk-CDH5ONCJ.mjs +0 -8
  672. package/dist/chunk-E3NWG6B4.mjs +0 -4
  673. package/dist/chunk-GZQ7JEUL.mjs +0 -1
  674. package/dist/chunk-I2BNJCJ7.mjs +0 -1
  675. package/dist/chunk-KCOLYVJX.mjs +0 -1
  676. package/dist/chunk-KZTONTWM.mjs +0 -1
  677. package/dist/chunk-MZKVGPNQ.mjs +0 -1
  678. package/dist/chunk-NM6U4PLY.mjs +0 -1
  679. package/dist/chunk-QXNCGSQE.mjs +0 -4
  680. package/dist/chunk-RARAKOXE.mjs +0 -1
  681. package/dist/chunk-RPUSKO6J.mjs +0 -4
  682. package/dist/chunk-TSEOL53Y.mjs +0 -1
  683. package/dist/chunk-WXTJ6DVT.mjs +0 -4
  684. package/dist/chunk-ZKLSTUIP.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s}from"./chunk-TSEOL53Y.mjs";import*as r from"react";import*as e from"@radix-ui/react-dialog";import{Cross2Icon as c}from"@radix-ui/react-icons";import{cva as f}from"class-variance-authority";import{jsx as o,jsxs as n}from"react/jsx-runtime";var x=e.Root,N=e.Trigger,C=e.Close,p=e.Portal,m=r.forwardRef(({className:t,...i},a)=>o(e.Overlay,{className:s("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",t),...i,ref:a}));m.displayName=e.Overlay.displayName;var h=f("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"}}),S=r.forwardRef(({side:t="right",className:i,children:a,...l},d)=>n(p,{children:[o(m,{}),n(e.Content,{ref:d,className:s(h({side:t}),i),...l,children:[n(e.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:[o(c,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Close"})]}),a]})]}));S.displayName=e.Content.displayName;var v=({className:t,...i})=>o("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",t),...i});v.displayName="SheetHeader";var P=({className:t,...i})=>o("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});P.displayName="SheetFooter";var y=r.forwardRef(({className:t,...i},a)=>o(e.Title,{ref:a,className:s("text-lg font-semibold text-foreground",t),...i}));y.displayName=e.Title.displayName;var u=r.forwardRef(({className:t,...i},a)=>o(e.Description,{ref:a,className:s("text-sm text-muted-foreground",t),...i}));u.displayName=e.Description.displayName;export{x as a,N as b,C as c,p as d,m as e,S as f,v as g,P as h,y as i,u as j};
4
+ import{a as s}from"./chunk-MDJREBVI.mjs";import*as r from"react";import*as e from"@radix-ui/react-dialog";import{Cross2Icon as c}from"@radix-ui/react-icons";import{cva as f}from"class-variance-authority";import{jsx as o,jsxs as n}from"react/jsx-runtime";var x=e.Root,N=e.Trigger,C=e.Close,p=e.Portal,m=r.forwardRef(({className:t,...i},a)=>o(e.Overlay,{className:s("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",t),...i,ref:a}));m.displayName=e.Overlay.displayName;var h=f("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"}}),S=r.forwardRef(({side:t="right",className:i,children:a,...l},d)=>n(p,{children:[o(m,{}),n(e.Content,{ref:d,className:s(h({side:t}),i),...l,children:[n(e.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:[o(c,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Close"})]}),a]})]}));S.displayName=e.Content.displayName;var v=({className:t,...i})=>o("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",t),...i});v.displayName="SheetHeader";var P=({className:t,...i})=>o("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});P.displayName="SheetFooter";var y=r.forwardRef(({className:t,...i},a)=>o(e.Title,{ref:a,className:s("text-lg font-semibold text-foreground",t),...i}));y.displayName=e.Title.displayName;var u=r.forwardRef(({className:t,...i},a)=>o(e.Description,{ref:a,className:s("text-sm text-muted-foreground",t),...i}));u.displayName=e.Description.displayName;export{x as a,N as b,C as c,p as d,m as e,S as f,v as g,P as h,y as i,u as j};
@@ -1 +1 @@
1
- import{a as d,b as m,c as n,e as i,f as c}from"./chunk-7WKUKFCT.mjs";import{Clock as g}from"lucide-react";import{formatDistanceToNow as N}from"date-fns";import{jsx as a,jsxs as e}from"react/jsx-runtime";function T({artefact:l,taskId:f,taskData:p,loading:s=!1,error:C=null}){let t=p||{id:f,name:"Loading...",description:"",status:"done",dateLogged:new Date().toISOString(),project:{id:-1,name:""}},o=t.dateLogged;try{let r=new Date(t.dateLogged);isNaN(r.getTime())||(o=N(r,{addSuffix:!0}))}catch{}return e(d,{className:"w-full max-w-md shadow-md",children:[a(m,{className:"pb-2",children:a("div",{className:"flex justify-between items-start",children:a(n,{className:"text-lg font-semibold",children:s?"Loading...":t.name})})}),a(i,{className:"pb-2",children:s?a("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):C?a("p",{className:"text-sm text-red-500",children:"Error loading task details"}):a("p",{className:"text-sm text-foreground",children:l})}),a(c,{className:"pt-2 flex items-center justify-between",children:e("div",{className:"flex items-center text-xs text-gray-500",children:[a(g,{className:"h-3 w-3 mr-1"}),e("span",{children:["Created ",o]}),a("span",{className:"mx-2",children:"\u2022"}),e("span",{children:["Task #",t.id]})]})})]})}export{T as a};
1
+ import{a as d,b as m,c as n,e as i,f as c}from"./chunk-YO3GQYRJ.mjs";import{Clock as g}from"lucide-react";import{formatDistanceToNow as N}from"date-fns";import{jsx as a,jsxs as e}from"react/jsx-runtime";function T({artefact:l,taskId:f,taskData:p,loading:s=!1,error:C=null}){let t=p||{id:f,name:"Loading...",description:"",status:"done",dateLogged:new Date().toISOString(),project:{id:-1,name:""}},o=t.dateLogged;try{let r=new Date(t.dateLogged);isNaN(r.getTime())||(o=N(r,{addSuffix:!0}))}catch{}return e(d,{className:"w-full max-w-md shadow-md",children:[a(m,{className:"pb-2",children:a("div",{className:"flex justify-between items-start",children:a(n,{className:"text-lg font-semibold",children:s?"Loading...":t.name})})}),a(i,{className:"pb-2",children:s?a("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):C?a("p",{className:"text-sm text-red-500",children:"Error loading task details"}):a("p",{className:"text-sm text-foreground",children:l})}),a(c,{className:"pt-2 flex items-center justify-between",children:e("div",{className:"flex items-center text-xs text-gray-500",children:[a(g,{className:"h-3 w-3 mr-1"}),e("span",{children:["Created ",o]}),a("span",{className:"mx-2",children:"\u2022"}),e("span",{children:["Task #",t.id]})]})})]})}export{T as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk-VXZPPTQQ.mjs";import{a as m}from"./chunk-RAAY7PEH.mjs";import{a as c}from"./chunk-GJUA2KUH.mjs";import{useState as u}from"react";import{Edit as E}from"lucide-react";import{jsx as o,jsxs as f}from"react/jsx-runtime";var P=({fieldName:g,value:n,label:v,multiline:t=!1,onSave:y,className:b="",disabled:i=!1})=>{let[h,l]=u(!1),[a,r]=u(""),x=()=>{i||(l(!0),r(n))},s=async()=>{a!==n&&await y(g,a),l(!1)},d=e=>{e.key==="Enter"&&!t||e.key==="Enter"&&e.ctrlKey&&t?s():e.key==="Escape"&&(l(!1),r(""))};return f("div",{className:`space-y-2 ${b}`,children:[o(m,{children:v}),h?t?o(p,{value:a,onChange:e=>r(e.target.value),onBlur:s,onKeyDown:d,autoFocus:!0,rows:4,className:"resize-none"}):o(c,{value:a,onChange:e=>r(e.target.value),onBlur:s,onKeyPress:d,autoFocus:!0,className:"text-lg font-medium"}):f("div",{onClick:x,className:`${i?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted/50 p-2 rounded border border-transparent hover:border-border transition-colors group ${t?"min-h-[100px]":"min-h-[40px]"} flex items-start gap-2`,children:[o("span",{className:t?"text-sm text-muted-foreground":"text-lg font-medium text-foreground",children:n||"Click to edit..."}),!i&&o(E,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})]})};export{P as a};
1
+ import{a as p}from"./chunk-B4H6T2GP.mjs";import{a as m}from"./chunk-TVZOULLL.mjs";import{a as c}from"./chunk-L5JPAKPM.mjs";import{useState as u}from"react";import{Edit as E}from"lucide-react";import{jsx as o,jsxs as f}from"react/jsx-runtime";var P=({fieldName:g,value:n,label:v,multiline:t=!1,onSave:y,className:b="",disabled:i=!1})=>{let[h,l]=u(!1),[a,r]=u(""),x=()=>{i||(l(!0),r(n))},s=async()=>{a!==n&&await y(g,a),l(!1)},d=e=>{e.key==="Enter"&&!t||e.key==="Enter"&&e.ctrlKey&&t?s():e.key==="Escape"&&(l(!1),r(""))};return f("div",{className:`space-y-2 ${b}`,children:[o(m,{children:v}),h?t?o(p,{value:a,onChange:e=>r(e.target.value),onBlur:s,onKeyDown:d,autoFocus:!0,rows:4,className:"resize-none"}):o(c,{value:a,onChange:e=>r(e.target.value),onBlur:s,onKeyPress:d,autoFocus:!0,className:"text-lg font-medium"}):f("div",{onClick:x,className:`${i?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted/50 p-2 rounded border border-transparent hover:border-border transition-colors group ${t?"min-h-[100px]":"min-h-[40px]"} flex items-start gap-2`,children:[o("span",{className:t?"text-sm text-muted-foreground":"text-lg font-medium text-foreground",children:n||"Click to edit..."}),!i&&o(E,{className:"h-4 w-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity"})]})]})};export{P as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as t}from"./chunk-7Z3TOFNL.mjs";import{motion as n}from"motion/react";import{Trash2 as c}from"lucide-react";import{jsx as e,jsxs as d}from"react/jsx-runtime";function x({files:s,onFileClick:a,onFileEdit:v,onFileDelete:o,showHeader:l=!0,className:m}){return d("div",{className:`rounded-3xl border overflow-hidden ${m||""}`,children:[l&&d("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[e("div",{className:"col-span-6",children:"Name"}),e("div",{className:"col-span-2",children:"Size"}),e("div",{className:"col-span-2",children:"Modified"})]}),e("div",{className:"divide-y",children:s.map(i=>d(n.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:()=>a?.(i),children:[d("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted"}),e("div",{children:e("p",{className:"font-medium",children:i.name})})]}),e("div",{className:"col-span-2 text-sm md:text-base",children:i.filesize}),d("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[e("span",{className:"text-sm md:text-base",children:typeof i.createdAt=="string"?i.createdAt:i.createdAt.toLocaleDateString()}),e("div",{className:"flex gap-1",children:e(t,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:r=>{r.stopPropagation(),o?.(i)},children:e(c,{className:"h-4 w-4"})})})]})]},i.name))})]})}export{x as a};
4
+ import{b as t}from"./chunk-ZUA4KNIR.mjs";import{motion as n}from"motion/react";import{Trash2 as c}from"lucide-react";import{jsx as e,jsxs as d}from"react/jsx-runtime";function x({files:a,onFileClick:s,onFileEdit:v,onFileDelete:o,showHeader:l=!0,className:m}){return d("div",{className:`rounded-3xl border overflow-hidden ${m||""}`,children:[l&&d("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[e("div",{className:"col-span-6",children:"Name"}),e("div",{className:"col-span-2",children:"Size"}),e("div",{className:"col-span-2",children:"Modified"})]}),e("div",{className:"divide-y",children:a.map(i=>d(n.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:()=>s?.(i),children:[d("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted"}),e("div",{children:e("p",{className:"font-medium",children:i.name})})]}),e("div",{className:"col-span-2 text-sm md:text-base",children:i.filesize}),d("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[e("span",{className:"text-sm md:text-base",children:typeof i.createdAt=="string"?i.createdAt:new Date(i.createdAt).toLocaleDateString()}),e("div",{className:"flex gap-1",children:e(t,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:r=>{r.stopPropagation(),o?.(i)},children:e(c,{className:"h-4 w-4"})})})]})]},i.name))})]})}export{x as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s}from"./chunk-7QBPKUWN.mjs";import{a as m}from"./chunk-TSEOL53Y.mjs";import*as e from"react";import*as t from"@radix-ui/react-toggle-group";import{jsx as l}from"react/jsx-runtime";var f=e.createContext({size:"default",variant:"default"}),u=e.forwardRef(({className:o,variant:r,size:i,children:a,...p},g)=>l(t.Root,{ref:g,className:m("flex items-center justify-center gap-1",o),...p,children:l(f.Provider,{value:{variant:r,size:i},children:a})}));u.displayName=t.Root.displayName;var c=e.forwardRef(({className:o,children:r,variant:i,size:a,...p},g)=>{let n=e.useContext(f);return l(t.Item,{ref:g,className:m(s({variant:n.variant||i,size:n.size||a}),o),...p,children:r})});c.displayName=t.Item.displayName;export{u as a,c as b};
4
+ import{a as s}from"./chunk-JFFTEK6Z.mjs";import{a as m}from"./chunk-MDJREBVI.mjs";import*as e from"react";import*as t from"@radix-ui/react-toggle-group";import{jsx as l}from"react/jsx-runtime";var f=e.createContext({size:"default",variant:"default"}),u=e.forwardRef(({className:o,variant:r,size:i,children:a,...p},g)=>l(t.Root,{ref:g,className:m("flex items-center justify-center gap-1",o),...p,children:l(f.Provider,{value:{variant:r,size:i},children:a})}));u.displayName=t.Root.displayName;var c=e.forwardRef(({className:o,children:r,variant:i,size:a,...p},g)=>{let n=e.useContext(f);return l(t.Item,{ref:g,className:m(s({variant:n.variant||i,size:n.size||a}),o),...p,children:r})});c.displayName=t.Item.displayName;export{u as a,c as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as w}from"./chunk-JTFMN7OL.mjs";import{a as g}from"./chunk-VXZPPTQQ.mjs";import{a as p}from"./chunk-RAAY7PEH.mjs";import{a as C}from"./chunk-GJUA2KUH.mjs";import{b as u}from"./chunk-7Z3TOFNL.mjs";import{b as h}from"./chunk-2JKLBLDE.mjs";import{a as k,b as N,c as S,e as x}from"./chunk-7WKUKFCT.mjs";import{useState as b,useEffect as J}from"react";import{Bot as O,Plus as W,X,Edit as _}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function le({colleague:d,onSave:I,onCancel:A,isLoading:i=!1,title:F,submitLabel:K,cancelLabel:B="Cancel",readOnly:E=!1,availableKnowledgeDocuments:D=[]}){let[e,r]=b({type:"digital",name:"",description:"",jobDescription:"",workInstructions:"",capabilities:[],knowledge:[],coreKnowledge:[],version:"1",...d}),[G,Q]=b(""),[j,P]=b(""),[l,T]=b(!E);J(()=>{d&&r(d)},[d]);let R=t=>{t.preventDefault();let s=e.version?parseInt(e.version):0,n=d?(s+1).toString():"1",c={id:e.id||Date.now().toString(),name:e.name,type:"digital",status:"active",joinedDate:e.joinedDate||new Date,lastActive:e.lastActive||new Date,description:e.description,jobDescription:e.jobDescription||"",workInstructions:e.workInstructions||"",capabilities:e.capabilities||[],knowledge:e.knowledge||[],coreKnowledge:e.coreKnowledge||[],version:n,lastUpdated:e.lastUpdated||new Date,isActive:!0};I(c)},f=(t,s,n)=>{if(!s.trim())return;let c=e[t]||[];r({...e,[t]:[...c,s.trim()]}),n("")},U=(t,s)=>{let n=e[t]||[];r({...e,[t]:n.filter((c,v)=>v!==s)})},$=t=>{t.preventDefault(),T(!l)},q=(t,s,n,c,v)=>{let M=e[t]||[];return o("div",{className:"space-y-2",children:[a(p,{children:s}),l&&o("div",{className:"flex gap-2",children:[a(C,{value:n,onChange:m=>c(m.target.value),placeholder:v,onKeyPress:m=>{m.key==="Enter"&&(m.preventDefault(),f(t,n,c))},disabled:i}),a(u,{type:"button",variant:"outline",size:"icon",onClick:()=>f(t,n,c),disabled:i,children:a(W,{className:"h-4 w-4"})})]}),a("div",{className:"flex flex-wrap gap-2",children:M.map((m,y)=>o(h,{className:"gap-1",children:[m,l&&a(u,{type:"button",variant:"ghost",size:"icon",className:"h-4 w-4 p-0 hover:bg-accent hover:text-accent-foreground",onClick:()=>U(t,y),disabled:i,children:a(X,{className:"h-3 w-3"})})]},`${t}-${y}-${m}`))})]})},z=F||(l?d?"Edit Colleague":"Add New Colleague":"View Colleague"),H=K||(d?"Update Colleague":"Add Colleague");return o(k,{className:"m-8 w-full max-w-4xl mx-auto",children:[a(N,{children:o(S,{className:"flex items-center gap-2",children:[a(O,{className:"h-5 w-5"}),z]})}),a(x,{children:o("form",{onSubmit:R,className:"space-y-6",children:[o("div",{className:"space-y-4",children:[o("div",{className:"space-y-2",children:[a(p,{htmlFor:"name",children:"Name *"}),a(C,{id:"name",value:e.name||"",onChange:t=>r({...e,name:t.target.value}),required:!0,disabled:i||!l})]}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"description",children:"Description"}),a(g,{id:"description",value:e.description||"",onChange:t=>r({...e,description:t.target.value}),rows:3,placeholder:"Brief description of this digital colleague...",disabled:i||!l})]})]}),o("div",{className:"space-y-4",children:[a("h3",{className:"text-lg font-semibold",children:"Digital Colleague Details"}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"jobDescription",children:"Job Description *"}),a(g,{id:"jobDescription",value:e.jobDescription||"",onChange:t=>r({...e,jobDescription:t.target.value}),rows:4,required:e.type==="digital",disabled:i||!l})]}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"workInstructions",children:"Work Instructions"}),a(g,{id:"workInstructions",value:e.workInstructions||"",onChange:t=>r({...e,workInstructions:t.target.value}),rows:4,placeholder:"Enter detailed work instructions for this digital colleague...",disabled:i||!l})]}),q("capabilities","Capabilities",j,P,"Add capability"),a(w,{selectedDocuments:e.knowledge||[],onDocumentsChange:t=>r({...e,knowledge:t}),label:"Knowledge",placeholder:"Search for knowledge documents to add...",disabled:i||!l,availableDocuments:D}),a(w,{selectedDocuments:e.coreKnowledge||[],onDocumentsChange:t=>r({...e,coreKnowledge:t}),label:"Core Knowledge",placeholder:"Search for core knowledge documents...",maxSelections:5,disabled:i||!l,availableDocuments:D})]}),o("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[a(u,{type:"button",variant:"outline",onClick:A,disabled:i,children:l?B:"Close"}),l?a(u,{type:"submit",disabled:i,children:i?"Saving...":H}):o(u,{type:"button",onClick:$,disabled:i,className:"gap-2",children:[a(_,{className:"h-4 w-4"}),"Edit"]})]})]})})]})}export{le as a};
4
+ import{a as w}from"./chunk-QQVPLMPJ.mjs";import{a as g}from"./chunk-B4H6T2GP.mjs";import{a as p}from"./chunk-TVZOULLL.mjs";import{a as C}from"./chunk-L5JPAKPM.mjs";import{b as u}from"./chunk-ZUA4KNIR.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{a as k,b as N,c as S,e as x}from"./chunk-YO3GQYRJ.mjs";import{useState as b,useEffect as J}from"react";import{Bot as O,Plus as W,X,Edit as _}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function le({colleague:d,onSave:I,onCancel:A,isLoading:i=!1,title:F,submitLabel:K,cancelLabel:B="Cancel",readOnly:E=!1,availableKnowledgeDocuments:D=[]}){let[e,r]=b({type:"digital",name:"",description:"",jobDescription:"",workInstructions:"",capabilities:[],knowledge:[],coreKnowledge:[],version:"1",...d}),[G,Q]=b(""),[j,P]=b(""),[l,T]=b(!E);J(()=>{d&&r(d)},[d]);let R=t=>{t.preventDefault();let s=e.version?parseInt(e.version):0,n=d?(s+1).toString():"1",c={id:e.id||Date.now().toString(),name:e.name,type:"digital",status:"active",joinedDate:e.joinedDate||new Date,lastActive:e.lastActive||new Date,description:e.description,jobDescription:e.jobDescription||"",workInstructions:e.workInstructions||"",capabilities:e.capabilities||[],knowledge:e.knowledge||[],coreKnowledge:e.coreKnowledge||[],version:n,lastUpdated:e.lastUpdated||new Date,isActive:!0};I(c)},f=(t,s,n)=>{if(!s.trim())return;let c=e[t]||[];r({...e,[t]:[...c,s.trim()]}),n("")},U=(t,s)=>{let n=e[t]||[];r({...e,[t]:n.filter((c,v)=>v!==s)})},$=t=>{t.preventDefault(),T(!l)},q=(t,s,n,c,v)=>{let M=e[t]||[];return o("div",{className:"space-y-2",children:[a(p,{children:s}),l&&o("div",{className:"flex gap-2",children:[a(C,{value:n,onChange:m=>c(m.target.value),placeholder:v,onKeyPress:m=>{m.key==="Enter"&&(m.preventDefault(),f(t,n,c))},disabled:i}),a(u,{type:"button",variant:"outline",size:"icon",onClick:()=>f(t,n,c),disabled:i,children:a(W,{className:"h-4 w-4"})})]}),a("div",{className:"flex flex-wrap gap-2",children:M.map((m,y)=>o(h,{className:"gap-1",children:[m,l&&a(u,{type:"button",variant:"ghost",size:"icon",className:"h-4 w-4 p-0 hover:bg-accent hover:text-accent-foreground",onClick:()=>U(t,y),disabled:i,children:a(X,{className:"h-3 w-3"})})]},`${t}-${y}-${m}`))})]})},z=F||(l?d?"Edit Colleague":"Add New Colleague":"View Colleague"),H=K||(d?"Update Colleague":"Add Colleague");return o(k,{className:"m-8 w-full max-w-4xl mx-auto",children:[a(N,{children:o(S,{className:"flex items-center gap-2",children:[a(O,{className:"h-5 w-5"}),z]})}),a(x,{children:o("form",{onSubmit:R,className:"space-y-6",children:[o("div",{className:"space-y-4",children:[o("div",{className:"space-y-2",children:[a(p,{htmlFor:"name",children:"Name *"}),a(C,{id:"name",value:e.name||"",onChange:t=>r({...e,name:t.target.value}),required:!0,disabled:i||!l})]}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"description",children:"Description"}),a(g,{id:"description",value:e.description||"",onChange:t=>r({...e,description:t.target.value}),rows:3,placeholder:"Brief description of this digital colleague...",disabled:i||!l})]})]}),o("div",{className:"space-y-4",children:[a("h3",{className:"text-lg font-semibold",children:"Digital Colleague Details"}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"jobDescription",children:"Job Description *"}),a(g,{id:"jobDescription",value:e.jobDescription||"",onChange:t=>r({...e,jobDescription:t.target.value}),rows:4,required:e.type==="digital",disabled:i||!l})]}),o("div",{className:"space-y-2",children:[a(p,{htmlFor:"workInstructions",children:"Work Instructions"}),a(g,{id:"workInstructions",value:e.workInstructions||"",onChange:t=>r({...e,workInstructions:t.target.value}),rows:4,placeholder:"Enter detailed work instructions for this digital colleague...",disabled:i||!l})]}),q("capabilities","Capabilities",j,P,"Add capability"),a(w,{selectedDocuments:e.knowledge||[],onDocumentsChange:t=>r({...e,knowledge:t}),label:"Knowledge",placeholder:"Search for knowledge documents to add...",disabled:i||!l,availableDocuments:D}),a(w,{selectedDocuments:e.coreKnowledge||[],onDocumentsChange:t=>r({...e,coreKnowledge:t}),label:"Core Knowledge",placeholder:"Search for core knowledge documents...",maxSelections:5,disabled:i||!l,availableDocuments:D})]}),o("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[a(u,{type:"button",variant:"outline",onClick:A,disabled:i,children:l?B:"Close"}),l?a(u,{type:"submit",disabled:i,children:i?"Saving...":H}):o(u,{type:"button",onClick:$,disabled:i,className:"gap-2",children:[a(_,{className:"h-4 w-4"}),"Edit"]})]})]})})]})}export{le as a};
@@ -1 +1 @@
1
- import{a as s}from"./chunk-AEBUMA72.mjs";import{a as e}from"./chunk-RU435LAU.mjs";import{a as r}from"./chunk-VRZHKAJK.mjs";import{a as o}from"./chunk-TNCD5YIY.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function c({blogs:n,pages:g,categories:p,types:i,base:a}){return t("section",{children:t(o,{children:t("div",{className:"grid",children:m("div",{children:[i&&t(e,{types:i}),t(s,{blogs:n,base:a}),t(r,{pages:g})]})})})})}export{c as a};
1
+ import{a as s}from"./chunk-AEBUMA72.mjs";import{a as e}from"./chunk-OM5ZUHCN.mjs";import{a as r}from"./chunk-FMH5CZ7X.mjs";import{a as o}from"./chunk-FMJBJ3HN.mjs";import{jsx as t,jsxs as m}from"react/jsx-runtime";function c({blogs:n,pages:g,categories:p,types:i,base:a}){return t("section",{children:t(o,{children:t("div",{className:"grid",children:m("div",{children:[i&&t(e,{types:i}),t(s,{blogs:n,base:a}),t(r,{pages:g})]})})})})}export{c as a};
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as g,b as h,c as b}from"./chunk-QB63WPDB.mjs";import{b as y}from"./chunk-FT6JQ4AC.mjs";import{a as l}from"./chunk-TSEOL53Y.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"motion/react";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
4
+ import{a as g,b as h,c as b}from"./chunk-CXOVEABI.mjs";import{b as y}from"./chunk-GTZJWMZR.mjs";import{a as l}from"./chunk-MDJREBVI.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"motion/react";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
5
5
  ${o===s?"opacity-100":"opacity-0"}
6
6
  w-full h-full bg-cover bg-center`,children:o===0?t(b,{hero:x,title:c.title,logoImage:m}):w(I,{children:[e.blockName&&t(h,{title:e.blockName}),t(y,{blocks:[e],fill:!0}),t(g,{logoImage:m})]})})},o))}),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:r,children:t(E,{})})]})},E=()=>t(k,{children:t(v.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:t(v.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});export{K as a};
@@ -1 +1 @@
1
- import{a as f,d as b,g as v,i as m}from"./chunk-WLM2ZFHF.mjs";import{a as g}from"./chunk-RAAY7PEH.mjs";import{a as u}from"./chunk-GJUA2KUH.mjs";import{b as h}from"./chunk-2JKLBLDE.mjs";import{useState as C}from"react";import{jsx as a,jsxs as n}from"react/jsx-runtime";var A=({label:O,value:o,onValueChange:d,options:c,placeholder:y="Search...",allowCustomValue:s=!1,disabled:l=!1})=>{let[p,r]=C(!1),[t,i]=C(""),N=c.find(e=>e.value===o),S=c.filter(e=>e.label.toLowerCase().includes(t.toLowerCase())),I=e=>{d(e),r(!1),i("")},L=()=>{s&&t.trim()&&!c.find(e=>e.value===t.trim())&&(d(t.trim()),r(!1),i(""))};return n("div",{className:"space-y-1",children:[a(g,{className:"text-xs text-muted-foreground",children:O}),n(f,{value:o,onValueChange:I,open:p,onOpenChange:e=>{l||r(e)},disabled:l,children:[a(b,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:a(h,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&r(!p),children:N?.label||o||"Select..."})}),n(v,{children:[a("div",{className:"p-2",children:a(u,{placeholder:y,value:t,onChange:e=>i(e.target.value),onKeyDown:e=>{e.key==="Enter"&&s&&L()},className:"mb-2"})}),S.map(e=>a(m,{value:e.value,children:e.label},e.value)),s&&t.trim()&&!S.find(e=>e.value===t.trim())&&n(m,{value:t.trim(),children:['Add "',t.trim(),'"']})]})]})]})};export{A as a};
1
+ import{a as f,d as b,g as v,i as m}from"./chunk-YFAZQYK4.mjs";import{a as g}from"./chunk-TVZOULLL.mjs";import{a as u}from"./chunk-L5JPAKPM.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{useState as C}from"react";import{jsx as a,jsxs as n}from"react/jsx-runtime";var A=({label:O,value:o,onValueChange:d,options:c,placeholder:y="Search...",allowCustomValue:s=!1,disabled:l=!1})=>{let[p,r]=C(!1),[t,i]=C(""),N=c.find(e=>e.value===o),S=c.filter(e=>e.label.toLowerCase().includes(t.toLowerCase())),I=e=>{d(e),r(!1),i("")},L=()=>{s&&t.trim()&&!c.find(e=>e.value===t.trim())&&(d(t.trim()),r(!1),i(""))};return n("div",{className:"space-y-1",children:[a(g,{className:"text-xs text-muted-foreground",children:O}),n(f,{value:o,onValueChange:I,open:p,onOpenChange:e=>{l||r(e)},disabled:l,children:[a(b,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:a(h,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&r(!p),children:N?.label||o||"Select..."})}),n(v,{children:[a("div",{className:"p-2",children:a(u,{placeholder:y,value:t,onChange:e=>i(e.target.value),onKeyDown:e=>{e.key==="Enter"&&s&&L()},className:"mb-2"})}),S.map(e=>a(m,{value:e.value,children:e.label},e.value)),s&&t.trim()&&!S.find(e=>e.value===t.trim())&&n(m,{value:t.trim(),children:['Add "',t.trim(),'"']})]})]})]})};export{A as a};
@@ -1 +1 @@
1
- import{a as d}from"./chunk-YNNW2C2U.mjs";import{b as r}from"./chunk-2JKLBLDE.mjs";import f from"react";import c from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var h=({post:p})=>{let{categories:o,meta:n,populatedAuthors:a,publishedAt:i,title:m}=p;return t("div",{className:"relative grid pt-24",children:[e("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:t("div",{className:"container mx-auto",children:[e("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:m}),t("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&t("div",{className:"flex flex-col gap-1",children:[t("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),e("p",{children:a.map((l,s)=>t(f.Fragment,{children:[l.name,s<a.length-2&&", ",s===a.length-2&&(a.length>2?", and ":" and ")]},l.id))})]}),i&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Date Published"}),e("time",{dateTime:i,children:d(i)})]}),o&&o.length>0&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm font-medium",children:"Categories"}),e("div",{className:"flex flex-wrap gap-2",children:o.map((l,s)=>typeof l=="object"&&l!==null&&e(r,{className:"px-3 py-1 mx-1",children:l.title||"Untitled category"},l.id||s))})]})]})]})}),t("div",{className:"absolute inset-0 w-full h-full",children:[e(c,{className:"object-cover",alt:`Cover image for ${m}`,src:n?.image?.url||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),e("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"})]})]})};export{h as a};
1
+ import{a as d}from"./chunk-YNNW2C2U.mjs";import{b as r}from"./chunk-CSBGSBEU.mjs";import f from"react";import c from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var h=({post:p})=>{let{categories:o,meta:n,populatedAuthors:a,publishedAt:i,title:m}=p;return t("div",{className:"relative grid pt-24",children:[e("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:t("div",{className:"container mx-auto",children:[e("h1",{className:"mb-6 text-[clamp(2rem,1.5rem+1.5vw,3.5rem)] font-bold leading-tight ",children:m}),t("div",{className:"flex flex-col gap-4 md:flex-row md:gap-16 ",children:[a&&a.length>0&&t("div",{className:"flex flex-col gap-1",children:[t("p",{className:"text-sm",children:["Author",a.length>1?"s":""]}),e("p",{children:a.map((l,s)=>t(f.Fragment,{children:[l.name,s<a.length-2&&", ",s===a.length-2&&(a.length>2?", and ":" and ")]},l.id))})]}),i&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm",children:"Date Published"}),e("time",{dateTime:i,children:d(i)})]}),o&&o.length>0&&t("div",{className:"flex flex-col gap-1",children:[e("p",{className:"text-sm font-medium",children:"Categories"}),e("div",{className:"flex flex-wrap gap-2",children:o.map((l,s)=>typeof l=="object"&&l!==null&&e(r,{className:"px-3 py-1 mx-1",children:l.title||"Untitled category"},l.id||s))})]})]})]})}),t("div",{className:"absolute inset-0 w-full h-full",children:[e(c,{className:"object-cover",alt:`Cover image for ${m}`,src:n?.image?.url||"/assets/images/blog/gradient.png",fill:!0,priority:!0,sizes:"100vw"}),e("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"})]})]})};export{h as a};
@@ -1,5 +1,5 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as w,c as C}from"./chunk-QB63WPDB.mjs";import{b as y}from"./chunk-FT6JQ4AC.mjs";import{a as P}from"./chunk-TSEOL53Y.mjs";import{a as b}from"./chunk-Q3G5UAAD.mjs";import{useEffect as d,useRef as s,useState as H,useCallback as x}from"react";import{Previewer as p}from"pagedjs";import{Fragment as N,jsx as n,jsxs as l}from"react/jsx-runtime";function T(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var m=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},F=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(E,{page:r,layout:e,logoImage:i}):n(B,{page:r,layout:e,logoImage:i}),E=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let o=document.getElementById("printable-content");if(o){let t=document.createElement("style");return t.textContent=`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; width: ${m(o.offsetWidth)}mm }; .container : { max-width: ${m(o.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=x(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let o=document.getElementById("printable-content");o&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...c];return l("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:l("div",{id:"printable-content",ref:u,children:[g.map((o,t)=>n(N,{children:t===0?n("section",{className:"title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},t):l("section",{className:"normal-page overflow-hidden",children:[o.blockName&&n(w,{title:o.blockName}),n(y,{blocks:[o],fill:!0})]},t)})),n("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
4
+ import{b as w,c as C}from"./chunk-CXOVEABI.mjs";import{b as y}from"./chunk-GTZJWMZR.mjs";import{a as P}from"./chunk-MDJREBVI.mjs";import{a as b}from"./chunk-Q3G5UAAD.mjs";import{useEffect as d,useRef as s,useState as H,useCallback as x}from"react";import{Previewer as p}from"pagedjs";import{Fragment as N,jsx as n,jsxs as l}from"react/jsx-runtime";function T(r){var e=document.createElement("div");e.style.display="block",e.style.height=r,document.body.appendChild(e);var i=parseFloat(window.getComputedStyle(e,null).height);return e.parentNode&&e.parentNode.removeChild(e),Math.floor(i)}var m=r=>{let e=document.createElement("div");e.style.height="1mm",document.body.appendChild(e);let i=parseFloat(window.getComputedStyle(e).height);return document.body.removeChild(e),Math.floor(r/i)},F=({page:r,layout:e="portrait",logoImage:i})=>e==="flow"?n(E,{page:r,layout:e,logoImage:i}):n(B,{page:r,layout:e,logoImage:i}),E=({page:r,layout:e="portrait",logoImage:i})=>{let{contentWithIds:c}=b(r),u=s(null),a=s(null),h=s(new p),f={id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}};d(()=>{let o=document.getElementById("printable-content");if(o){let t=document.createElement("style");return t.textContent=`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; width: ${m(o.offsetWidth)}mm }; .container : { max-width: ${m(o.offsetWidth)}mm; } .container : { max-width: 100%; }; html body * :not(#prinable-content, #printable-content *) { visibility: hidden !important; }`,document.head.appendChild(t),()=>{document.head.removeChild(t)}}},[e]);let k=x(()=>{if(!a.current)return;a.current&&(a.current.innerHTML="");let o=document.getElementById("printable-content");o&&h.current.preview(document.getElementById("printable-content").innerHTML,[`@page { size: ${m(o.offsetWidth)}mm ${m(o.offsetHeight)}mm ; margin: 0mm; }; .container : { max-width: 100%; }; body { zoom: 100%;}`],a.current).catch(t=>console.error("Paged.js error:",t))},[e]);d(()=>{h.current=new p},[k,e]);let g=[f,...c];return l("div",{children:[n("div",{className:"w-[1123px] print:w-[1123px]",children:l("div",{id:"printable-content",ref:u,children:[g.map((o,t)=>n(N,{children:t===0?n("section",{className:"title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},t):l("section",{className:"normal-page overflow-hidden",children:[o.blockName&&n(w,{title:o.blockName}),n(y,{blocks:[o],fill:!0})]},t)})),n("section",{className:"normal-page",children:l("div",{className:`w-full py-2 px-8 flex justify-between items-center
5
5
  dark bg-background text-primary`,children:[l("div",{className:"flex px-6 items-center space-x-2",children:[i&&n("img",{src:i.src,alt:"Cortex Reply Logo",className:"h-8"}),n("span",{className:"pl-12 text-sm",children:"Power up your people"})]}),n("a",{href:"https://cortexreply.com",className:"text-sm hover:underline",children:"cortexreply.com"})]})})]})}),n("div",{ref:a,className:"preview-container"})]})},B=({page:r,layout:e="portrait"})=>{let{contentWithIds:i}=b(r),c=s(null),u=s(null),a=s(new p),[h,f]=H(0),g=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...i],o=x(()=>{c.current&&(c.current&&(c.current.innerHTML=""),a.current.preview(document.getElementById("printable-content").innerHTML,["./print.css",e==="landscape"?"./landscape.css":"./portrait.css"],c.current).then(t=>f(t.pageCount)).catch(t=>console.error("Paged.js error:",t)))},[e]);return d(()=>{a.current=new p,o()},[o,e]),d(()=>{let t=document.createElement("style");return t.textContent=`@page { size: A4 ${e} ; margin: 0mm; };`,document.head.appendChild(t),()=>{document.head.removeChild(t)}},[]),l("div",{className:"pagedjs-container",children:[n("div",{id:"printable-content",ref:u,style:{display:"none"},className:"pagedjs-content",children:g.map((t,v)=>n(N,{children:v===0?n("section",{className:"pagedjs-section title-page w-full h-full",children:n(C,{hero:r.hero,title:r.title})},v):l("section",{className:P("pagedjs-section normal-page h-[699px]",`h-[${T("185mm")}px]`,t.theme?.settings?.theme==="dark"?"dark":"light"),children:[t.blockName&&n(w,{title:t.blockName}),n(y,{blocks:[t],fill:!0})]},v)}))}),n("div",{ref:c,className:"preview-container"})]})};export{F as a,E as b,B as c};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as u,b as p,c}from"./chunk-P5U27QUJ.mjs";import{a as t,b as l,i as s,j as d}from"./chunk-DGJHJHFF.mjs";import{b as m}from"./chunk-7Z3TOFNL.mjs";import{motion as g}from"motion/react";import{ChevronDown as x}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function M({activeTab:i,onTabChange:r,tabOptions:n,className:v="",maxWidth:f="700px",gridCols:h=6}){let w=n.find(e=>e.value===i);return o(g.div,{className:`flex-1 flex justify-center ${v}`,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.3,ease:"easeOut"},children:[a("div",{className:"hidden lg:block",children:a(u,{value:i,onValueChange:r,children:a(p,{className:"grid w-full rounded-2xl p-0 h-10",style:{maxWidth:f,gridTemplateColumns:`repeat(${Math.min(h,n.length)}, minmax(0, 1fr))`},children:n.map(e=>a(g.div,{whileHover:{scale:1.1},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:"flex-1 px-2",children:a(c,{value:e.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:e.label})},e.value))})})}),a("div",{className:"lg:hidden",children:o(t,{children:[a(l,{asChild:!0,children:o(m,{variant:"outline",className:"rounded-2xl min-w-[140px] justify-between",children:[w?.label||"Select",a(x,{className:"h-4 w-4 ml-2"})]})}),a(s,{align:"center",className:"w-[180px]",children:n.map(e=>a(d,{onClick:()=>r?.(e.value),className:`cursor-pointer ${i===e.value?"bg-accent":""}`,children:e.label},e.value))})]})})]})}export{M as a};
4
+ import{a as u,b as p,c}from"./chunk-RLVKIMGU.mjs";import{a as t,b as l,i as s,j as d}from"./chunk-OCPX4QPC.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{motion as g}from"motion/react";import{ChevronDown as x}from"lucide-react";import{jsx as a,jsxs as o}from"react/jsx-runtime";function M({activeTab:i,onTabChange:r,tabOptions:n,className:v="",maxWidth:f="700px",gridCols:h=6}){let w=n.find(e=>e.value===i);return o(g.div,{className:`flex-1 flex justify-center ${v}`,initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.3,ease:"easeOut"},children:[a("div",{className:"hidden lg:block",children:a(u,{value:i,onValueChange:r,children:a(p,{className:"grid w-full rounded-2xl p-0 h-10",style:{maxWidth:f,gridTemplateColumns:`repeat(${Math.min(h,n.length)}, minmax(0, 1fr))`},children:n.map(e=>a(g.div,{whileHover:{scale:1.1},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:"flex-1 px-2",children:a(c,{value:e.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:e.label})},e.value))})})}),a("div",{className:"lg:hidden",children:o(t,{children:[a(l,{asChild:!0,children:o(m,{variant:"outline",className:"rounded-2xl min-w-[140px] justify-between",children:[w?.label||"Select",a(x,{className:"h-4 w-4 ml-2"})]})}),a(s,{align:"center",className:"w-[180px]",children:n.map(e=>a(d,{onClick:()=>r?.(e.value),className:`cursor-pointer ${i===e.value?"bg-accent":""}`,children:e.label},e.value))})]})})]})}export{M as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s}from"./chunk-ESTO675Y.mjs";import{a as m}from"./chunk-TNCD5YIY.mjs";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f({logoVideo:r,logoLight:l,logoDark:n,menuItems:d,title:o,subtitle:i}){let c=()=>{let a=document.getElementById("next-section");a&&a.scrollIntoView({behavior:"smooth"})};return e("div",{children:t("div",{className:"sticky top-0 h-screen",children:[t("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(m,{children:t("div",{className:"flex flex-col items-start md:w-2/3 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:o&&o}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:i&&i})]})})}),e(s,{className:"text-black z-10",position:"header"})]})})}export{f as a};
4
+ import{a as s}from"./chunk-7WIO2CIC.mjs";import{a as m}from"./chunk-FMJBJ3HN.mjs";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f({logoVideo:r,logoLight:l,logoDark:n,menuItems:d,title:o,subtitle:i}){let c=()=>{let a=document.getElementById("next-section");a&&a.scrollIntoView({behavior:"smooth"})};return e("div",{children:t("div",{className:"sticky top-0 h-screen",children:[t("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(m,{children:t("div",{className:"flex flex-col items-start md:w-2/3 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:o&&o}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:i&&i})]})})}),e(s,{className:"text-black z-10",position:"header"})]})})}export{f as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as n}from"./chunk-TSEOL53Y.mjs";import{useSearchParams as h,usePathname as P,useRouter as x}from"next/navigation";import{FaArrowRight as N,FaArrowLeft as S}from"react-icons/fa6";import{useState as v}from"react";import{jsx as a,jsxs as w}from"react/jsx-runtime";var s=n("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 $({pages:u}){let b=h(),d=P(),{replace:m}=x(),{totalPages:l,page:o}=u,[r,c]=v({start:o>3?o-3:1,end:o+2}),i=e=>{e==="left"&&r.start>1?c(t=>({start:t.start-1,end:t.end-1})):e==="right"&&r.end<l&&c(t=>({start:t.start+1,end:t.end+1}))};function f(e){let t=new URLSearchParams(b);e?t.set("page",e):t.delete("page"),m(`${d}?${t.toString()}`)}if(l<=1)return null;let g=[];for(let e=r.start;e<=r.end;e++)g.push(e);return a("div",{className:"mt-12",children:w("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[r.start>1&&a("li",{children:a("button",{className:n(s,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>i("left"),children:a(S,{})})}),g.map((e,t)=>a("li",{children:a("a",{className:n(s,e===o?"border-accent bg-accent text-accent-foreground":"border-accent"),href:"#","aria-label":`pagination button ${e}`,role:"button",onClick:p=>{p.preventDefault(),f(e.toString())},children:e})},t)),r.end<l&&a("li",{children:a("button",{className:n(s,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>i("right"),children:a(N,{})})})]})})}export{$ as a};
4
+ import{a as n}from"./chunk-MDJREBVI.mjs";import{useSearchParams as h,usePathname as P,useRouter as x}from"next/navigation";import{FaArrowRight as N,FaArrowLeft as S}from"react-icons/fa6";import{useState as v}from"react";import{jsx as a,jsxs as w}from"react/jsx-runtime";var s=n("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 $({pages:u}){let b=h(),d=P(),{replace:m}=x(),{totalPages:l,page:o}=u,[r,c]=v({start:o>3?o-3:1,end:o+2}),i=e=>{e==="left"&&r.start>1?c(t=>({start:t.start-1,end:t.end-1})):e==="right"&&r.end<l&&c(t=>({start:t.start+1,end:t.end+1}))};function f(e){let t=new URLSearchParams(b);e?t.set("page",e):t.delete("page"),m(`${d}?${t.toString()}`)}if(l<=1)return null;let g=[];for(let e=r.start;e<=r.end;e++)g.push(e);return a("div",{className:"mt-12",children:w("ul",{className:"flex flex-wrap items-center justify-center gap-3 md:gap-5","aria-label":"pagination",children:[r.start>1&&a("li",{children:a("button",{className:n(s,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll left",onClick:()=>i("left"),children:a(S,{})})}),g.map((e,t)=>a("li",{children:a("a",{className:n(s,e===o?"border-accent bg-accent text-accent-foreground":"border-accent"),href:"#","aria-label":`pagination button ${e}`,role:"button",onClick:p=>{p.preventDefault(),f(e.toString())},children:e})},t)),r.end<l&&a("li",{children:a("button",{className:n(s,"border-accent bg-accent text-accent-foreground"),"aria-label":"scroll right",onClick:()=>i("right"),children:a(N,{})})})]})})}export{$ as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-TSEOL53Y.mjs";import{jsx as r}from"react/jsx-runtime";function l({children:e,isFluid:a=!1,isNoPadding:o=!1,className:i=""}){let t=n("container",a&&"full-width",o&&"no-padding",i);return r("div",{className:t,children:e})}export{l as a};
1
+ import{a as n}from"./chunk-MDJREBVI.mjs";import{jsx as r}from"react/jsx-runtime";function l({children:e,isFluid:a=!1,isNoPadding:o=!1,className:i=""}){let t=n("container",a&&"full-width",o&&"no-padding",i);return r("div",{className:t,children:e})}export{l as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as t}from"./chunk-TSEOL53Y.mjs";import*as c from"react";import*as r from"@radix-ui/react-scroll-area";import{jsx as l,jsxs as f}from"react/jsx-runtime";var S=c.forwardRef(({className:o,children:e,...i},a)=>f(r.Root,{ref:a,className:t("relative overflow-hidden",o),...i,children:[l(r.Viewport,{className:"h-full w-full rounded-[inherit]",children:e}),l(m,{}),l(r.Corner,{})]}));S.displayName=r.Root.displayName;var m=c.forwardRef(({className:o,orientation:e="vertical",...i},a)=>l(r.ScrollAreaScrollbar,{ref:a,orientation:e,className:t("flex touch-none select-none transition-colors",e==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",o),...i,children:l(r.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));m.displayName=r.ScrollAreaScrollbar.displayName;export{S as a,m as b};
4
+ import{a as t}from"./chunk-MDJREBVI.mjs";import*as c from"react";import*as r from"@radix-ui/react-scroll-area";import{jsx as l,jsxs as f}from"react/jsx-runtime";var S=c.forwardRef(({className:o,children:e,...i},a)=>f(r.Root,{ref:a,className:t("relative overflow-hidden",o),...i,children:[l(r.Viewport,{className:"h-full w-full rounded-[inherit]",children:e}),l(m,{}),l(r.Corner,{})]}));S.displayName=r.Root.displayName;var m=c.forwardRef(({className:o,orientation:e="vertical",...i},a)=>l(r.ScrollAreaScrollbar,{ref:a,orientation:e,className:t("flex touch-none select-none transition-colors",e==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",o),...i,children:l(r.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));m.displayName=r.ScrollAreaScrollbar.displayName;export{S as a,m as b};
@@ -1 +1 @@
1
- import{f as t}from"./chunk-TR52MKZR.mjs";import{b as o}from"./chunk-7Z3TOFNL.mjs";import{a as r}from"./chunk-TSEOL53Y.mjs";import s from"next/link";import{jsx as i,jsxs as n}from"react/jsx-runtime";var p=({dynamicServiceDetail:c,style:a})=>{let e=c;return i("div",{className:"container",children:n("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[n("div",{className:r("w-full text-left prose"),children:[i("h2",{className:"text-primary",children:e.title}),i("div",{className:"",children:i(t,{enableGutter:!1,content:e.description,enableProse:!1,className:r("prose prose-headings:text-foreground prose-p:text-foreground")})}),i(o,{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:i(s,{href:`/${e.slug}`,children:"Learn more"})})]}),e.icon&&typeof e.icon=="object"&&"type"in e.icon&&"iconName"in e.icon&&i("div",{className:r("w-full h-full min-h-96 py-6 p-0 md:p-16 flex justify-center"),children:i("i",{className:`${e.icon.type} fa-${e.icon.iconName} fa-10x w-3/4 h-full text-foreground fill-gradient-linear`,style:{width:"90%"}})})]})})};export{p as a};
1
+ import{f as t}from"./chunk-2BRDNDUB.mjs";import{b as o}from"./chunk-ZUA4KNIR.mjs";import{a as r}from"./chunk-MDJREBVI.mjs";import s from"next/link";import{jsx as i,jsxs as n}from"react/jsx-runtime";var p=({dynamicServiceDetail:c,style:a})=>{let e=c;return i("div",{className:"container",children:n("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[n("div",{className:r("w-full text-left prose"),children:[i("h2",{className:"text-primary",children:e.title}),i("div",{className:"",children:i(t,{enableGutter:!1,content:e.description,enableProse:!1,className:r("prose prose-headings:text-foreground prose-p:text-foreground")})}),i(o,{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:i(s,{href:`/${e.slug}`,children:"Learn more"})})]}),e.icon&&typeof e.icon=="object"&&"type"in e.icon&&"iconName"in e.icon&&i("div",{className:r("w-full h-full min-h-96 py-6 p-0 md:p-16 flex justify-center"),children:i("i",{className:`${e.icon.type} fa-${e.icon.iconName} fa-10x w-3/4 h-full text-foreground fill-gradient-linear`,style:{width:"90%"}})})]})})};export{p as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as b}from"./chunk-E6IIUYQ7.mjs";import{a as I}from"./chunk-PXAKUW3U.mjs";import{a as S}from"./chunk-2WLZ5T2D.mjs";import{useChat as me}from"@ai-sdk/react";import{useState as r}from"react";import{motion as fe,AnimatePresence as he}from"motion/react";import{Users as ye}from"lucide-react";import{jsx as n,jsxs as Ce}from"react/jsx-runtime";function Le({aiConfig:w,useCustomChat:F,enableAI:D=!0,messages:T=[],businessUnits:B=[],capabilities:R=[],sidebarItems:x=[],notifications:N=[],sessions:M=[],onNewChat:A,onSessionSelect:L,onSessionDelete:P,onSessionEdit:k=()=>{},onBusinessUnitChange:E=()=>{},onNotificationRemove:K=()=>{},onRemoveAll:O=()=>{},onActionClick:$=()=>{},onSearch:q=p=>console.log("Search query:",p),initialTeam:z="design",currentSession:m=null,showCapabilities:ve=!0,title:W="Digital Colleagues",enableFileUpload:f=!0,maxFileSize:h=10,allowedFileTypes:y=["image/*","text/*","application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],logo:H="/headerlogo.png",appName:X="Nuvia",tagline:G="AI-Powered Workspace",actionIcon:J=n(ye,{className:"mr-2 h-4 w-4"}),actionText:Q="Collaborate",sidebarInitiallyClosed:V=!1}){let p={...w,onError:e=>{i?.setMessages(t=>[...t,{role:"assistant",id:`error-${Date.now()}`,createdAt:new Date,parts:[{type:"text",text:e.message}]}]),console.error("Error in CopilotInterface:",e)}},Y=me(p||{}),i=D?F||Y:null,[Z,u]=r(""),[_,C]=r(!1),j=i?.messages||T,l=Z,ee=i?.status==="submitted"||_,se=i?.addToolResult?(e,t,s)=>{i.addToolResult({tool:t,toolCallId:e,output:s}),i.sendMessage()}:()=>{},o=B||[],te={id:"default",name:"Default Team",description:"Default team when no business units are available",icon:"\u{1F3E2}",color:"bg-gray-500",accentColor:"bg-gray-600"},[ie,ne]=r(()=>o.length===0?te:o.find(e=>e.id===z)||o[0]),[a,c]=r([]),[oe,ae]=r(!1),re=e=>{if(!e||!f)return;let t=[];Array.from(e).forEach(s=>{if(s.size>h*1024*1024){alert(`File ${s.name} is too large. Maximum size is ${h}MB.`);return}if(y.length>0&&!y.some(d=>s.type.match(d))){alert(`File type ${s.type} is not allowed.`);return}let U={id:Date.now().toString()+Math.random().toString(36).substr(2,9),file:s,status:"pending",progress:0};if(s.type.startsWith("image/")){let d=new FileReader;d.onload=ue=>{c(ge=>ge.map(g=>g.id===U.id?{...g,preview:ue.target?.result}:g))},d.readAsDataURL(s)}t.push(U)}),c(s=>[...s,...t])},le=e=>{c(t=>t.filter(s=>s.id!==e))},v=()=>{if(!(!l.trim()&&a.length===0)){if(i){let e=a.length>0?ce(a.map(t=>t.file)):void 0;i.sendMessage({text:l,files:e},{body:{timestamp:Date.now()}}),u("")}else console.log("Message to send:",l),console.log("Files to upload:",a),u(""),C(!0),setTimeout(()=>{C(!1)},1500);c([])}},ce=e=>{let t=new DataTransfer;return e.forEach(s=>t.items.add(s)),t.files},de=e=>{e.key==="Enter"&&!e.shiftKey&&(e.preventDefault(),v())},pe=e=>{u(e)};return n(b,{sidebarItems:x||[],title:W,notifications:N||[],businessUnits:o,currentBusinessUnit:ie,onBusinessUnitChange:e=>{e&&(ne(e),E?.(e))},onSearch:q,showTabs:!1,onActionClick:$,actionIcon:J,actionText:Q,onNotificationRemove:K,onRemoveAll:O,logo:H,appName:X,tagline:G,sidebarInitiallyClosed:V,children:n(he,{mode:"wait",children:n(fe.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:Ce("div",{className:"h-full flex",children:[n("div",{className:"w-80 flex-shrink-0 h-full p-2",children:n(I,{sessions:M||[],currentSession:m,teams:o,onNewChat:A,onSessionSelect:L,onSessionEdit:k,onSessionDelete:P})}),n("div",{className:"flex-1 h-full p-2",children:n(S,{messages:j||[],input:l,isTyping:ee,currentSessionTitle:m?.title,capabilities:R||[],onInputChange:pe,addToolResult:se,onSendMessage:v,onKeyPress:de,fileUploads:a,isDragOver:oe,enableFileUpload:f,onFileUpload:re,onRemoveFile:le,onDragOver:ae})})]})},"chat-interface")})})}export{Le as a};
4
+ import{a as b}from"./chunk-3AWUWWR4.mjs";import{a as I}from"./chunk-56X4PU43.mjs";import{a as S}from"./chunk-NUHGPB5U.mjs";import{useChat as me}from"@ai-sdk/react";import{useState as r}from"react";import{motion as fe,AnimatePresence as he}from"motion/react";import{Users as ye}from"lucide-react";import{jsx as n,jsxs as Ce}from"react/jsx-runtime";function Le({aiConfig:w,useCustomChat:F,enableAI:D=!0,messages:T=[],businessUnits:B=[],capabilities:R=[],sidebarItems:x=[],notifications:N=[],sessions:M=[],onNewChat:A,onSessionSelect:L,onSessionDelete:P,onSessionEdit:k=()=>{},onBusinessUnitChange:E=()=>{},onNotificationRemove:K=()=>{},onRemoveAll:O=()=>{},onActionClick:$=()=>{},onSearch:q=p=>console.log("Search query:",p),initialTeam:z="design",currentSession:m=null,showCapabilities:ve=!0,title:W="Digital Colleagues",enableFileUpload:f=!0,maxFileSize:h=10,allowedFileTypes:y=["image/*","text/*","application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],logo:H="/headerlogo.png",appName:X="Nuvia",tagline:G="AI-Powered Workspace",actionIcon:J=n(ye,{className:"mr-2 h-4 w-4"}),actionText:Q="Collaborate",sidebarInitiallyClosed:V=!1}){let p={...w,onError:e=>{i?.setMessages(t=>[...t,{role:"assistant",id:`error-${Date.now()}`,createdAt:new Date,parts:[{type:"text",text:e.message}]}]),console.error("Error in CopilotInterface:",e)}},Y=me(p||{}),i=D?F||Y:null,[Z,u]=r(""),[_,C]=r(!1),j=i?.messages||T,l=Z,ee=i?.status==="submitted"||_,se=i?.addToolResult?(e,t,s)=>{i.addToolResult({tool:t,toolCallId:e,output:s}),i.sendMessage()}:()=>{},o=B||[],te={id:"default",name:"Default Team",description:"Default team when no business units are available",icon:"\u{1F3E2}",color:"bg-gray-500",accentColor:"bg-gray-600"},[ie,ne]=r(()=>o.length===0?te:o.find(e=>e.id===z)||o[0]),[a,c]=r([]),[oe,ae]=r(!1),re=e=>{if(!e||!f)return;let t=[];Array.from(e).forEach(s=>{if(s.size>h*1024*1024){alert(`File ${s.name} is too large. Maximum size is ${h}MB.`);return}if(y.length>0&&!y.some(d=>s.type.match(d))){alert(`File type ${s.type} is not allowed.`);return}let U={id:Date.now().toString()+Math.random().toString(36).substr(2,9),file:s,status:"pending",progress:0};if(s.type.startsWith("image/")){let d=new FileReader;d.onload=ue=>{c(ge=>ge.map(g=>g.id===U.id?{...g,preview:ue.target?.result}:g))},d.readAsDataURL(s)}t.push(U)}),c(s=>[...s,...t])},le=e=>{c(t=>t.filter(s=>s.id!==e))},v=()=>{if(!(!l.trim()&&a.length===0)){if(i){let e=a.length>0?ce(a.map(t=>t.file)):void 0;i.sendMessage({text:l,files:e},{body:{timestamp:Date.now()}}),u("")}else console.log("Message to send:",l),console.log("Files to upload:",a),u(""),C(!0),setTimeout(()=>{C(!1)},1500);c([])}},ce=e=>{let t=new DataTransfer;return e.forEach(s=>t.items.add(s)),t.files},de=e=>{e.key==="Enter"&&!e.shiftKey&&(e.preventDefault(),v())},pe=e=>{u(e)};return n(b,{sidebarItems:x||[],title:W,notifications:N||[],businessUnits:o,currentBusinessUnit:ie,onBusinessUnitChange:e=>{e&&(ne(e),E?.(e))},onSearch:q,showTabs:!1,onActionClick:$,actionIcon:J,actionText:Q,onNotificationRemove:K,onRemoveAll:O,logo:H,appName:X,tagline:G,sidebarInitiallyClosed:V,children:n(he,{mode:"wait",children:n(fe.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:Ce("div",{className:"h-full flex",children:[n("div",{className:"w-80 flex-shrink-0 h-full p-2",children:n(I,{sessions:M||[],currentSession:m,teams:o,onNewChat:A,onSessionSelect:L,onSessionEdit:k,onSessionDelete:P})}),n("div",{className:"flex-1 h-full p-2",children:n(S,{messages:j||[],input:l,isTyping:ee,currentSessionTitle:m?.title,capabilities:R||[],onInputChange:pe,addToolResult:se,onSendMessage:v,onKeyPress:de,fileUploads:a,isDragOver:oe,enableFileUpload:f,onFileUpload:re,onRemoveFile:le,onDragOver:ae})})]})},"chat-interface")})})}export{Le as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk-3ZXW3WQU.mjs";import{a as v}from"./chunk-6UVEJCVM.mjs";import{c as b,d as h}from"./chunk-TR52MKZR.mjs";import{a as k}from"./chunk-EGERAM4Q.mjs";import{a}from"./chunk-TSEOL53Y.mjs";import{Fragment as x}from"react";import R from"next/image";import{jsx as t,jsxs as g}from"react/jsx-runtime";var y={content:v,cta:b,mediaBlock:k,collapsibleArea:p,imageBlock:k,features:h,reusableContentBlock:C},P=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?t("section",{id:"render-blocks",className:a(e.fill?"h-full w-full":""),children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in y){let o=y[r];if(r==="reusableContentBlock")return t(x,{children:t(P,{blocks:i.reusableContent.layout})},s);if(o)return g("div",{className:a("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[t(B,{block:i,index:s}),t("div",{className:a("container h-full relative",m?.settings?.theme||"dark"),children:t(o,{...i})})]},s)}return null})}):null},B=e=>{if(!("theme"in e.block))return t("div",{className:a("absolute inset-0 w-screen h-full dark bg-background")});let n=e.block?.theme;if(n.settings.background==="image"){let u={imagePosition:n.settings.imagePosition||"left",overlay:n.settings.overlay!==void 0?n.settings.overlay:!0};return g("div",{className:a("absolute inset-0 w-full h-full bg-background",n.settings.theme||"dark"),children:[t(R,{src:n.settings?.image?.url||"/placeholder.svg",alt:n.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),n.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:u.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 t("div",{className:a("absolute inset-0 w-screen h-full bg-background",n.settings.theme||"dark")})},E=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?t("main",{id:"content-blocks",className:a(e.fill?"h-full w-full":""),children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in y){let o=y[r];if(r==="reusableContentBlock")return t(x,{children:t(P,{blocks:i.reusableContent.layout})},s);if(o)return t(A,{block:i,allBlocks:n,index:s,children:t(o,{...i})})}return null})}):null},A=e=>{if(e.index===0)return g("section",{className:"relative flex w-full",children:[t("div",{className:a("absolute inset-0 w-screen h-full light bg-background")}),t("div",{className:a("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let n=l=>l%2===0?"light":"dark",u=({index:l,allBlocks:c})=>l===1?t(N,{position:"left"}):s(l,c)==="dark"&&m(l,c)==="light"?t(w,{position:"left"}):s(l,c)==="light"&&m(l,c)==="dark"?t(N,{position:"left"}):null,i=({index:l,allBlocks:c})=>r(l,c)==="light"&&m(l,c)==="dark"?t(w,{position:"left"}):null,s=(l,c)=>{if(l===1)return"light";let d=c[l-1];return"theme"in d&&d.theme?.settings?.theme==="light"?"light":"dark"},r=(l,c)=>{if(l===c.length-1)return"dark";if(l===0)return"light";let d=c[l+1];return"theme"in d&&d.theme?.settings?.theme==="light"?"light":"dark"},m=(l,c)=>{if(l===c.length-1)return"dark";let d=c[l];return d.theme&&d.theme?.settings?.theme==="light"?"light":"dark"};if(!e.block.theme||!e.block.theme.settings)return s(e.index,e.allBlocks)==="dark"?g("section",{id:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[t("div",{className:a("absolute inset-0 w-screen dark bg-background")}),t("div",{className:a("container relative","dark bg-background py-1"),children:e.children})]}):g("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[t(u,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:a("absolute inset-0 w-screen")}),t("div",{className:"bg-black",children:t("div",{className:a("container relative","dark bg-background py-1"),children:e.children})})]});if(!("theme"in e.block)||s(e.index,e.allBlocks)===m(e.index,e.allBlocks)){let l=m(e.index,e.allBlocks);return g("section",{id:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[t("div",{className:a("absolute inset-0 w-screen bg-background",l)}),t("div",{className:a("container relative bg-background py-1",l,l==="light"&&"py-12"),children:e.children})]})}if(s(e.index,e.allBlocks)!==m(e.index,e.allBlocks)){let l=m(e.index,e.allBlocks);return g("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[t(u,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:a("absolute inset-0 w-screen bg-background",l)}),t("div",{className:a("container relative bg-background min-h-[22em] content-center py-1",l,l==="light"&&"py-12"),children:e.children})]})}if(!("theme"in e.block))return g("div",{className:a("container h-full relative","dark"),children:[t("div",{className:a("absolute inset-0 w-screen h-full dark bg-background py-1")}),e.children]});let o=e.block?.theme;if(o.settings.background==="image"){let l={imagePosition:o.settings.imagePosition||"left",overlay:o.settings.overlay!==void 0?o.settings.overlay:!0};return g("div",{className:a("absolute inset-0 w-full h-full bg-background",o.settings.theme||"dark"),children:[t(R,{src:o.settings?.image?.url||"/placeholder.svg",alt:o.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),o.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:l.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return t("div",{className:a("absolute inset-0 w-screen h-full bg-background",o.settings.theme||"dark")})},N=({position:e})=>t("div",{className:"w-full aspect-[1920/360] z-20 relative -top-[2px] bg-white",children:t("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:a("w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),w=({position:e})=>t("div",{className:"w-full relative z-20 aspect-[1920/332] overflow-hidden ",children:g("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:a("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[t("defs",{children:g("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});import{Fragment as F,jsx as f,jsxs as I}from"react/jsx-runtime";var C=e=>{let{customId:n,reusableContent:u}=e;return typeof u=="object"&&u!==null?f(S,{blocks:u.layout}):f(F,{})},T={content:v,cta:b,mediaBlock:k,imageBlock:k,features:h},S=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?f(F,{children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in T){let o=T[r];if(o)return I("div",{className:"py-6 relative",children:[f(B,{block:i,index:s}),f("div",{className:a(m?.settings?.theme==="dark"?"dark":m?.settings?.theme==="green"?"green":""),children:f(o,{...i})})]},s)}return null})}):null};export{C as a,P as b,B as c,E as d,A as e,N as f,w as g};
1
+ import{a as p}from"./chunk-5MWZTJYP.mjs";import{a as v}from"./chunk-AJQHGVZ5.mjs";import{c as b,d as h}from"./chunk-2BRDNDUB.mjs";import{a as k}from"./chunk-X3JZSN3W.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{Fragment as x}from"react";import R from"next/image";import{jsx as t,jsxs as g}from"react/jsx-runtime";var y={content:v,cta:b,mediaBlock:k,collapsibleArea:p,imageBlock:k,features:h,reusableContentBlock:C},P=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?t("section",{id:"render-blocks",className:a(e.fill?"h-full w-full":""),children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in y){let o=y[r];if(r==="reusableContentBlock")return t(x,{children:t(P,{blocks:i.reusableContent.layout})},s);if(o)return g("div",{className:a("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[t(B,{block:i,index:s}),t("div",{className:a("container h-full relative",m?.settings?.theme||"dark"),children:t(o,{...i})})]},s)}return null})}):null},B=e=>{if(!("theme"in e.block))return t("div",{className:a("absolute inset-0 w-screen h-full dark bg-background")});let n=e.block?.theme;if(n.settings.background==="image"){let u={imagePosition:n.settings.imagePosition||"left",overlay:n.settings.overlay!==void 0?n.settings.overlay:!0};return g("div",{className:a("absolute inset-0 w-full h-full bg-background",n.settings.theme||"dark"),children:[t(R,{src:n.settings?.image?.url||"/placeholder.svg",alt:n.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),n.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:u.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 t("div",{className:a("absolute inset-0 w-screen h-full bg-background",n.settings.theme||"dark")})},E=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?t("main",{id:"content-blocks",className:a(e.fill?"h-full w-full":""),children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in y){let o=y[r];if(r==="reusableContentBlock")return t(x,{children:t(P,{blocks:i.reusableContent.layout})},s);if(o)return t(A,{block:i,allBlocks:n,index:s,children:t(o,{...i})})}return null})}):null},A=e=>{if(e.index===0)return g("section",{className:"relative flex w-full",children:[t("div",{className:a("absolute inset-0 w-screen h-full light bg-background")}),t("div",{className:a("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let n=l=>l%2===0?"light":"dark",u=({index:l,allBlocks:c})=>l===1?t(N,{position:"left"}):s(l,c)==="dark"&&m(l,c)==="light"?t(w,{position:"left"}):s(l,c)==="light"&&m(l,c)==="dark"?t(N,{position:"left"}):null,i=({index:l,allBlocks:c})=>r(l,c)==="light"&&m(l,c)==="dark"?t(w,{position:"left"}):null,s=(l,c)=>{if(l===1)return"light";let d=c[l-1];return"theme"in d&&d.theme?.settings?.theme==="light"?"light":"dark"},r=(l,c)=>{if(l===c.length-1)return"dark";if(l===0)return"light";let d=c[l+1];return"theme"in d&&d.theme?.settings?.theme==="light"?"light":"dark"},m=(l,c)=>{if(l===c.length-1)return"dark";let d=c[l];return d.theme&&d.theme?.settings?.theme==="light"?"light":"dark"};if(!e.block.theme||!e.block.theme.settings)return s(e.index,e.allBlocks)==="dark"?g("section",{id:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[t("div",{className:a("absolute inset-0 w-screen dark bg-background")}),t("div",{className:a("container relative","dark bg-background py-1"),children:e.children})]}):g("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[t(u,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:a("absolute inset-0 w-screen")}),t("div",{className:"bg-black",children:t("div",{className:a("container relative","dark bg-background py-1"),children:e.children})})]});if(!("theme"in e.block)||s(e.index,e.allBlocks)===m(e.index,e.allBlocks)){let l=m(e.index,e.allBlocks);return g("section",{id:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[t("div",{className:a("absolute inset-0 w-screen bg-background",l)}),t("div",{className:a("container relative bg-background py-1",l,l==="light"&&"py-12"),children:e.children})]})}if(s(e.index,e.allBlocks)!==m(e.index,e.allBlocks)){let l=m(e.index,e.allBlocks);return g("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[t(u,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:a("absolute inset-0 w-screen bg-background",l)}),t("div",{className:a("container relative bg-background min-h-[22em] content-center py-1",l,l==="light"&&"py-12"),children:e.children})]})}if(!("theme"in e.block))return g("div",{className:a("container h-full relative","dark"),children:[t("div",{className:a("absolute inset-0 w-screen h-full dark bg-background py-1")}),e.children]});let o=e.block?.theme;if(o.settings.background==="image"){let l={imagePosition:o.settings.imagePosition||"left",overlay:o.settings.overlay!==void 0?o.settings.overlay:!0};return g("div",{className:a("absolute inset-0 w-full h-full bg-background",o.settings.theme||"dark"),children:[t(R,{src:o.settings?.image?.url||"/placeholder.svg",alt:o.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),o.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:l.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return t("div",{className:a("absolute inset-0 w-screen h-full bg-background",o.settings.theme||"dark")})},N=({position:e})=>t("div",{className:"w-full aspect-[1920/360] z-20 relative -top-[2px] bg-white",children:t("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:a("w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),w=({position:e})=>t("div",{className:"w-full relative z-20 aspect-[1920/332] overflow-hidden ",children:g("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:a("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[t("defs",{children:g("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});import{Fragment as F,jsx as f,jsxs as I}from"react/jsx-runtime";var C=e=>{let{customId:n,reusableContent:u}=e;return typeof u=="object"&&u!==null?f(S,{blocks:u.layout}):f(F,{})},T={content:v,cta:b,mediaBlock:k,imageBlock:k,features:h},S=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?f(F,{children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in T){let o=T[r];if(o)return I("div",{className:"py-6 relative",children:[f(B,{block:i,index:s}),f("div",{className:a(m?.settings?.theme==="dark"?"dark":m?.settings?.theme==="green"?"green":""),children:f(o,{...i})})]},s)}return null})}):null};export{C as a,P as b,B as c,E as d,A as e,N as f,w as g};
@@ -1 +1 @@
1
- import{a as h}from"./chunk-LTTO57ZK.mjs";import{b as u}from"./chunk-2JKLBLDE.mjs";import{a as f,b as p,c as C,d as k,e as x,f as b}from"./chunk-7WKUKFCT.mjs";import{a as g}from"./chunk-TSEOL53Y.mjs";import{Clock as S}from"lucide-react";import{formatDistanceToNow as v}from"date-fns";import{jsx as e,jsxs as r}from"react/jsx-runtime";var P=a=>{switch(a){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"}},j=a=>{switch(a){case"inProgress":return"In Progress";default:return a.charAt(0).toUpperCase()+a.slice(1)}};function $({data:a}){let{id:s,system:l,fetchLatest:i,taskData:N,error:w}=a||{};if(!s)return null;let t=null,n=!0,d=w,c=i!==void 0?i:!0;if(t=N||{id:s,name:"Loading...",description:"",status:"todo",dateLogged:new Date().toISOString(),project:void 0},console.log("ChatCardTask",{data:a,id:s,initialFetchLatest:i,system:l,fetchLatest:c,taskData:t,error:d}),c){let{task:o,loading:D,error:L}=h({taskId:s,system:l});t=o,n=D,d=L}else n=!1;let T=P(t?.status||"todo"),y=j(t?.status||"todo"),m=t?.dateLogged||new Date().toISOString();try{let o=new Date(t?.dateLogged||"");isNaN(o.getTime())||(m=v(o,{addSuffix:!0}))}catch{}return r(f,{className:g("w-full max-w-md shadow-md",d&&"border border-destructive"),children:[r(p,{className:"pb-2",children:[r("div",{className:"flex justify-between items-start",children:[e(C,{className:"text-lg font-semibold",children:n?"Loading...":t?.name||"Task"}),e(u,{className:`${T}`,children:y})]}),t?.project&&r(k,{className:"text-sm text-gray-500",children:["Project: ",t.project.name]})]}),e(x,{className:"pb-2",children:n?e("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):d?e("p",{className:"text-sm text-red-500",children:"Error loading task details"}):e("p",{className:"text-sm text-foreground",children:t?.description||"......."})}),e(b,{className:"pt-2 flex items-center justify-between",children:r("div",{className:"flex items-center text-xs text-gray-500",children:[e(S,{className:"h-3 w-3 mr-1"}),r("span",{children:["Created ",m]}),e("span",{className:"mx-2",children:"\u2022"}),r("span",{children:["Task #",s]})]})})]})}export{$ as a};
1
+ import{a as h}from"./chunk-LTTO57ZK.mjs";import{b as u}from"./chunk-CSBGSBEU.mjs";import{a as f,b as p,c as C,d as k,e as x,f as b}from"./chunk-YO3GQYRJ.mjs";import{a as g}from"./chunk-MDJREBVI.mjs";import{Clock as S}from"lucide-react";import{formatDistanceToNow as v}from"date-fns";import{jsx as e,jsxs as r}from"react/jsx-runtime";var P=a=>{switch(a){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"}},j=a=>{switch(a){case"inProgress":return"In Progress";default:return a.charAt(0).toUpperCase()+a.slice(1)}};function $({data:a}){let{id:s,system:l,fetchLatest:i,taskData:N,error:w}=a||{};if(!s)return null;let t=null,n=!0,d=w,c=i!==void 0?i:!0;if(t=N||{id:s,name:"Loading...",description:"",status:"todo",dateLogged:new Date().toISOString(),project:void 0},console.log("ChatCardTask",{data:a,id:s,initialFetchLatest:i,system:l,fetchLatest:c,taskData:t,error:d}),c){let{task:o,loading:D,error:L}=h({taskId:s,system:l});t=o,n=D,d=L}else n=!1;let T=P(t?.status||"todo"),y=j(t?.status||"todo"),m=t?.dateLogged||new Date().toISOString();try{let o=new Date(t?.dateLogged||"");isNaN(o.getTime())||(m=v(o,{addSuffix:!0}))}catch{}return r(f,{className:g("w-full max-w-md shadow-md",d&&"border border-destructive"),children:[r(p,{className:"pb-2",children:[r("div",{className:"flex justify-between items-start",children:[e(C,{className:"text-lg font-semibold",children:n?"Loading...":t?.name||"Task"}),e(u,{className:`${T}`,children:y})]}),t?.project&&r(k,{className:"text-sm text-gray-500",children:["Project: ",t.project.name]})]}),e(x,{className:"pb-2",children:n?e("div",{className:"animate-pulse h-4 bg-gray-200 rounded w-3/4 mb-2"}):d?e("p",{className:"text-sm text-red-500",children:"Error loading task details"}):e("p",{className:"text-sm text-foreground",children:t?.description||"......."})}),e(b,{className:"pt-2 flex items-center justify-between",children:r("div",{className:"flex items-center text-xs text-gray-500",children:[e(S,{className:"h-3 w-3 mr-1"}),r("span",{children:["Created ",m]}),e("span",{className:"mx-2",children:"\u2022"}),r("span",{children:["Task #",s]})]})})]})}export{$ as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as h}from"./chunk-UY4BSKPK.mjs";import{useState as m,useEffect as v}from"react";import{Dialog as w,DialogPanel as k,Disclosure as D,DisclosureButton as y,DisclosurePanel as P,PopoverGroup as M}from"@headlessui/react";import{Bars3Icon as I,XMarkIcon as $}from"@heroicons/react/24/outline";import{SunIcon as N,MoonIcon as C}from"@heroicons/react/20/solid";import{jsx as e,jsxs as s}from"react/jsx-runtime";var c=["light","dark","green"];function A({title:l,logo:t,menuItems:d}){let[n,o]=m(!1),[S,T]=m(!1),[u,g]=m("light"),r=t?.split(".")[0],i=t?.split(".")[1],[b,p]=m(`${r}.${i}`),f=a=>{c.includes(a)?p(a==="light"?`${r}.${i}`:`${r}-${a}.${i}`):p(`${r}.${i}`)};v(()=>{let a=localStorage.getItem("theme")||"light";g(a),document.documentElement.setAttribute("class",a),f(a)},[]);let x=()=>{let a=c[(c.indexOf(u)+1)%c.length];g(a),document.documentElement.setAttribute("class",a),localStorage.setItem("theme",a),f(a)};return s("header",{className:"relative isolate z-10 bg-background h-14",children:[s("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[e("div",{className:"flex lg:flex-1",children:s("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:l}),e("img",{alt:l,src:b,className:"h-9 w-auto"})]})}),e("div",{className:"flex lg:hidden",children:s("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(I,{"aria-hidden":"true",className:"h-6 w-6"})]})}),e(M,{className:"hidden lg:flex lg:gap-x-12",children:d.map(a=>e(h,{...a},a.name))}),e("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:e("button",{onClick:x,className:"p-2 text-gray-700 outline-none",children:u==="dark"?e(N,{className:"h-6 w-6"}):u==="green"?e(C,{className:"h-6 w-6"}):e(N,{className:"h-6 w-6"})})})]}),s(w,{open:n,onClose:o,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),s(k,{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:[s("div",{className:"flex items-center justify-between",children:[s("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:"Your Company"}),e("img",{alt:l,src:t,className:"h-8 w-auto"})]}),s("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Close menu"}),e($,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),e("div",{className:"mt-6 flow-root",children:e("div",{className:"-my-6 divide-y divide-gray-500/10",children:e("div",{className:"space-y-2 py-6",children:d.map(a=>e(H,{...a},a.name))})})})]})]})]})}function H({name:l,items:t,actions:d,href:n}){return!t&&n?e("a",{href:n,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}):s(D,{as:"div",className:"-mx-3",children:[e(y,{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:l}),e(P,{className:"mt-2 space-y-2",children:t&&t.map(o=>e(y,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}export{A as a};
4
+ import{a as h}from"./chunk-WISC5QJV.mjs";import{useState as m,useEffect as v}from"react";import{Dialog as w,DialogPanel as k,Disclosure as D,DisclosureButton as y,DisclosurePanel as P,PopoverGroup as M}from"@headlessui/react";import{Bars3Icon as I,XMarkIcon as $}from"@heroicons/react/24/outline";import{SunIcon as N,MoonIcon as C}from"@heroicons/react/20/solid";import{jsx as e,jsxs as s}from"react/jsx-runtime";var c=["light","dark","green"];function A({title:l,logo:t,menuItems:d}){let[n,o]=m(!1),[S,T]=m(!1),[u,g]=m("light"),r=t?.split(".")[0],i=t?.split(".")[1],[b,p]=m(`${r}.${i}`),f=a=>{c.includes(a)?p(a==="light"?`${r}.${i}`:`${r}-${a}.${i}`):p(`${r}.${i}`)};v(()=>{let a=localStorage.getItem("theme")||"light";g(a),document.documentElement.setAttribute("class",a),f(a)},[]);let x=()=>{let a=c[(c.indexOf(u)+1)%c.length];g(a),document.documentElement.setAttribute("class",a),localStorage.setItem("theme",a),f(a)};return s("header",{className:"relative isolate z-10 bg-background h-14",children:[s("nav",{"aria-label":"Global",className:"relative mx-auto flex items-center justify-between p-3 lg:px-8",children:[e("div",{className:"flex lg:flex-1",children:s("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:l}),e("img",{alt:l,src:b,className:"h-9 w-auto"})]})}),e("div",{className:"flex lg:hidden",children:s("button",{type:"button",onClick:()=>o(!0),className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(I,{"aria-hidden":"true",className:"h-6 w-6"})]})}),e(M,{className:"hidden lg:flex lg:gap-x-12",children:d.map(a=>e(h,{...a},a.name))}),e("div",{className:"hidden lg:flex lg:flex-1 lg:justify-end",children:e("button",{onClick:x,className:"p-2 text-gray-700 outline-none",children:u==="dark"?e(N,{className:"h-6 w-6"}):u==="green"?e(C,{className:"h-6 w-6"}):e(N,{className:"h-6 w-6"})})})]}),s(w,{open:n,onClose:o,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),s(k,{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:[s("div",{className:"flex items-center justify-between",children:[s("a",{href:"#",className:"-m-1.5 p-1.5 outline-none",children:[e("span",{className:"sr-only",children:"Your Company"}),e("img",{alt:l,src:t,className:"h-8 w-auto"})]}),s("button",{type:"button",onClick:()=>o(!1),className:"-m-2.5 rounded-md p-2.5 text-gray-700 outline-none",children:[e("span",{className:"sr-only",children:"Close menu"}),e($,{"aria-hidden":"true",className:"h-6 w-6"})]})]}),e("div",{className:"mt-6 flow-root",children:e("div",{className:"-my-6 divide-y divide-gray-500/10",children:e("div",{className:"space-y-2 py-6",children:d.map(a=>e(H,{...a},a.name))})})})]})]})]})}function H({name:l,items:t,actions:d,href:n}){return!t&&n?e("a",{href:n,className:"-mx-3 block rounded-lg px-3 py-2 text-base font-semibold text-gray-900 hover:bg-gray-50",children:l}):s(D,{as:"div",className:"-mx-3",children:[e(y,{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:l}),e(P,{className:"mt-2 space-y-2",children:t&&t.map(o=>e(y,{as:"a",href:o.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm font-semibold text-gray-900 hover:bg-gray-50",children:o.name},o.name))})]})}export{A as a};
@@ -1 +1 @@
1
- import{b as c}from"./chunk-2JKLBLDE.mjs";import{a as m,e as g}from"./chunk-7WKUKFCT.mjs";import f from"next/image";import{Quote as u}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function p(l){let s=l.replace("#",""),r=parseInt(s.substring(0,2),16),n=parseInt(s.substring(2,4),16),e=parseInt(s.substring(4,6),16);return(r*299+n*587+e*114)/1e3<128}function x({customerName:l="Acme Corporation",logoUrl:s,industry:r,projectDescription:n="Revolutionizing widget production with cloud technology",color:e="#3B82F6",quote:o,metrics:b=[],children:v=null}){let d=[{label:"Technology",value:"technology"},{label:"Finance",value:"finance"},{label:"Healthcare",value:"healthcare"},{label:"Retail",value:"retail"}].find(i=>i.value===r)?.label||void 0,h=p(e)?"text-white":"text-gray-900",C=p(e)?"white":e;return t(m,{className:"w-full max-w-4xl mx-auto overflow-hidden shadow-lg",children:a(g,{className:"p-0",children:[a("div",{className:`flex items-center ${h}`,style:{background:`linear-gradient(to right, ${e}, ${e}80)`,padding:"1.5rem"},children:[a("div",{className:"flex-grow pr-4",children:[t("h2",{className:"text-2xl font-bold mb-2",children:l}),d&&t(c,{variant:"secondary",className:"text-sm font-medium",children:d}),t("p",{className:"mt-4 text-lg",children:n})]}),s&&t("div",{className:"flex items-center justify-center bg-white rounded-lg",style:{padding:"1rem",height:"100px"},children:t(f,{src:s,alt:`${l} logo`,width:120,height:60,className:"object-contain h-full"})})]}),a("div",{className:"p-6",children:[o&&a("blockquote",{className:"border-l-4 pl-4 py-2 mb-6 italic",style:{borderColor:e,color:e},children:[t(u,{className:"inline-block mr-2",size:24,style:{color:e}}),o,t(u,{className:"inline-block ml-2",size:24,style:{color:e}})]}),t("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mt-6",children:b.map((i,y)=>a("div",{className:"text-center",children:[t("div",{className:"text-3xl font-bold",style:{color:e},children:i.value}),t("div",{className:"text-sm text-gray-600",children:i.label})]},y))})]}),t("div",{className:"p-6",children:v})]})})}export{x as a};
1
+ import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as m,e as g}from"./chunk-YO3GQYRJ.mjs";import f from"next/image";import{Quote as u}from"lucide-react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function p(l){let s=l.replace("#",""),r=parseInt(s.substring(0,2),16),n=parseInt(s.substring(2,4),16),e=parseInt(s.substring(4,6),16);return(r*299+n*587+e*114)/1e3<128}function x({customerName:l="Acme Corporation",logoUrl:s,industry:r,projectDescription:n="Revolutionizing widget production with cloud technology",color:e="#3B82F6",quote:o,metrics:b=[],children:v=null}){let d=[{label:"Technology",value:"technology"},{label:"Finance",value:"finance"},{label:"Healthcare",value:"healthcare"},{label:"Retail",value:"retail"}].find(i=>i.value===r)?.label||void 0,h=p(e)?"text-white":"text-gray-900",C=p(e)?"white":e;return t(m,{className:"w-full max-w-4xl mx-auto overflow-hidden shadow-lg",children:a(g,{className:"p-0",children:[a("div",{className:`flex items-center ${h}`,style:{background:`linear-gradient(to right, ${e}, ${e}80)`,padding:"1.5rem"},children:[a("div",{className:"flex-grow pr-4",children:[t("h2",{className:"text-2xl font-bold mb-2",children:l}),d&&t(c,{variant:"secondary",className:"text-sm font-medium",children:d}),t("p",{className:"mt-4 text-lg",children:n})]}),s&&t("div",{className:"flex items-center justify-center bg-white rounded-lg",style:{padding:"1rem",height:"100px"},children:t(f,{src:s,alt:`${l} logo`,width:120,height:60,className:"object-contain h-full"})})]}),a("div",{className:"p-6",children:[o&&a("blockquote",{className:"border-l-4 pl-4 py-2 mb-6 italic",style:{borderColor:e,color:e},children:[t(u,{className:"inline-block mr-2",size:24,style:{color:e}}),o,t(u,{className:"inline-block ml-2",size:24,style:{color:e}})]}),t("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mt-6",children:b.map((i,y)=>a("div",{className:"text-center",children:[t("div",{className:"text-3xl font-bold",style:{color:e},children:i.value}),t("div",{className:"text-sm text-gray-600",children:i.label})]},y))})]}),t("div",{className:"p-6",children:v})]})})}export{x as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as i}from"./chunk-TSEOL53Y.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as s}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var m=t.forwardRef(({className:r,...c},a)=>o(e.Root,{className:i("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",r),ref:a,...c,children:o(e.Indicator,{className:i("flex items-center justify-center text-current"),children:o(s,{className:"h-4 w-4"})})}));m.displayName=e.Root.displayName;export{m as a};
4
+ import{a as i}from"./chunk-MDJREBVI.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as s}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var m=t.forwardRef(({className:r,...c},a)=>o(e.Root,{className:i("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",r),ref:a,...c,children:o(e.Indicator,{className:i("flex items-center justify-center text-current"),children:o(s,{className:"h-4 w-4"})})}));m.displayName=e.Root.displayName;export{m as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-WXTJ6DVT.mjs";import{a as n}from"./chunk-HH4JDBUN.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as r}from"react/jsx-runtime";function J({mainNav:l,secondaryNav:s,title:o,subTitle:a,pathName:b,menuHeading:i,onNavClick:d,loading:p=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):d?({href:t,children:m,...I})=>e("button",{onClick:()=>d&&d(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return r(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:p?r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:o}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),p&&r(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),r(S,{children:[l&&!p&&l.map((t,m)=>e(G,{subNav:t,pathName:b,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:s&&!p&&s.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:r(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:l,pathName:s,Link:o}){let a=l,b=!1;return a.links&&a.links.map(i=>{i.url===s&&(b=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:r(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(b&&"font-bold text-accent"),children:r(o,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),a.links?.length?r(H,{children:[e(N,{asChild:!0,children:r(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:a.links?.map(i=>e(B,{children:e(L,{asChild:!0,className:T(i.url===s&&"font-bold text-accent"),children:e(o,{href:i.url,children:e("span",{children:i.label})})})},i.label))})})]}):null]})},a.label)})})})}export{J as a};
4
+ import{a as g,b as N,c as M}from"./chunk-YNCJATT7.mjs";import{c as k,h as R,i as v,k as S,l as f,o as x,p as u,q as c,r as y,s as w,v as P,w as B,x as L}from"./chunk-O5P35LEY.mjs";import{a as n}from"./chunk-7GSXNSLD.mjs";import{ChevronRight as A}from"lucide-react";import T from"clsx";import{Fragment as H,jsx as e,jsxs as r}from"react/jsx-runtime";function J({mainNav:l,secondaryNav:s,title:o,subTitle:a,pathName:b,menuHeading:i,onNavClick:d,loading:p=!1,LinkComponent:h,...F}){let C=h?t=>e(h,{...t}):d?({href:t,children:m,...I})=>e("button",{onClick:()=>d&&d(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...I,children:m}):t=>e("a",{...t});return r(k,{...F,variant:"inset",children:[e(R,{children:e(u,{children:e(c,{children:p?r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e(n,{className:"bg-gray-200 my-2 w-full h-7"}),e(n,{className:"bg-gray-200 w-3/4 my-2 h-5"})]}):r("div",{className:"grid flex-1 p-2 text-left text-m leading-tight",children:[e("span",{className:"truncate font-semibold",children:o}),a&&e("span",{className:"truncate text-sm",children:a})]})})})}),p&&r(S,{children:[e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"}),e(n,{className:"bg-gray-200 w-3/4 h-5"})]}),r(S,{children:[l&&!p&&l.map((t,m)=>e(G,{subNav:t,pathName:b,Link:C},m)),e(f,{className:"mt-auto",children:e(x,{children:e(u,{children:s&&!p&&s.map(t=>e(c,{children:e(y,{asChild:!0,size:"sm",children:r(C,{href:t.url||"",children:[t.icon&&e(t.icon,{}),e("span",{children:t.label})]})})},t.label))})})})]}),e(v,{})]})}function G({subNav:l,pathName:s,Link:o}){let a=l,b=!1;return a.links&&a.links.map(i=>{i.url===s&&(b=!0)}),e(g,{defaultOpen:!0,className:"group/collapsible",children:e(f,{className:"py-0",children:e(u,{children:e(g,{asChild:!0,defaultOpen:a.isActive,children:r(c,{children:[e(y,{asChild:!0,tooltip:a.label,className:T(b&&"font-bold text-accent"),children:r(o,{href:a.url,children:[a.icon&&e(a.icon,{}),e("span",{children:a.label})]})}),a.links?.length?r(H,{children:[e(N,{asChild:!0,children:r(w,{className:"data-[state=open]:rotate-90",children:[e(A,{}),e("span",{className:"sr-only",children:"Toggle"})]})}),e(M,{children:e(P,{children:a.links?.map(i=>e(B,{children:e(L,{asChild:!0,className:T(i.url===s&&"font-bold text-accent"),children:e(o,{href:i.url,children:e("span",{children:i.label})})})},i.label))})})]}):null]})},a.label)})})})}export{J as a};
@@ -1 +1 @@
1
- import{a as u}from"./chunk-KML6U7IE.mjs";import{a as C}from"./chunk-GNIVCF53.mjs";import{f as g}from"./chunk-TR52MKZR.mjs";import{b as f}from"./chunk-7Z3TOFNL.mjs";import{a as c,b as x,c as v,e as p}from"./chunk-7WKUKFCT.mjs";import{a as b}from"./chunk-TNCD5YIY.mjs";import{a as h}from"./chunk-WISCWNL2.mjs";import U from"next/image";import{notFound as M}from"next/navigation";import w from"next/link";import{FaLinkedin as I}from"react-icons/fa6";import{jsx as e,jsxs as s}from"react/jsx-runtime";function L({image:t,name:i,about:l,socialLinks:o}){return!t||!t.src||t.src.length<3||!i?null:e("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:e(c,{children:s(p,{className:"flex flex-col items-center",children:[t&&t.src&&e(U,{src:t.src,alt:t.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:u,className:"mx-auto mt-6 rounded-full object-cover"}),s("h3",{className:"flex items-center ali font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:[i,o&&o.length>0&&e("nav",{"aria-label":"social links",children:e("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((a,m)=>a.href&&e("li",{children:e(h,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:e("span",{children:a.icon})})},m))})})]}),e("p",{children:l})]})})})}function j({page:t,categoryList:i,edit:l=!1,path:o="/admin/collections/posts/"}){if(!t)return M();let{meta:a,populatedAuthors:m,authors:P,categories:N,content:k,title:y}=t,A={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:m?.[0]?.name||"",category:N,commentCount:0,title:y,description:a?.description||""},d=P?.map(r=>{let n=r.profilePicture&&r.profilePicture.sizes?.square?.url||r.profilePicture&&r.profilePicture.sizes?.thumbnail?.url||"";return console.log("val:",n),{name:r.name||"",about:r.about||"",image:{src:n,alt:r.name||"blog author"},socialLinks:[{icon:e(I,{}),href:r.linkedIn??""}]}});return console.log(d),e(b,{children:s("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[e("div",{children:s("div",{className:"[&_p+P]:mt-4",children:[e("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),e(g,{content:k,enableGutter:!1,className:"prose-invert"})]})}),s("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[l&&e("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:s(c,{children:[e(x,{children:e(v,{className:"text-accent",children:"Content Actions"})}),s(p,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),e(w,{href:`${o}${t.id}`,children:e(f,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),d&&d.map((r,n)=>e(L,{...r},n)),i&&i.links&&e("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:e(C,{links:i.links,title:i.title})})]})]})})}export{j as a};
1
+ import{a as u}from"./chunk-KML6U7IE.mjs";import{a as C}from"./chunk-KGEIN56Y.mjs";import{f as g}from"./chunk-2BRDNDUB.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as c,b as x,c as v,e as p}from"./chunk-YO3GQYRJ.mjs";import{a as h}from"./chunk-WISCWNL2.mjs";import{a as b}from"./chunk-FMJBJ3HN.mjs";import U from"next/image";import{notFound as M}from"next/navigation";import w from"next/link";import{FaLinkedin as I}from"react-icons/fa6";import{jsx as e,jsxs as s}from"react/jsx-runtime";function L({image:t,name:i,about:l,socialLinks:o}){return!t||!t.src||t.src.length<3||!i?null:e("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:e(c,{children:s(p,{className:"flex flex-col items-center",children:[t&&t.src&&e(U,{src:t.src,alt:t.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:u,className:"mx-auto mt-6 rounded-full object-cover"}),s("h3",{className:"flex items-center ali font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:[i,o&&o.length>0&&e("nav",{"aria-label":"social links",children:e("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((a,m)=>a.href&&e("li",{children:e(h,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:e("span",{children:a.icon})})},m))})})]}),e("p",{children:l})]})})})}function j({page:t,categoryList:i,edit:l=!1,path:o="/admin/collections/posts/"}){if(!t)return M();let{meta:a,populatedAuthors:m,authors:P,categories:N,content:k,title:y}=t,A={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:m?.[0]?.name||"",category:N,commentCount:0,title:y,description:a?.description||""},d=P?.map(r=>{let n=r.profilePicture&&r.profilePicture.sizes?.square?.url||r.profilePicture&&r.profilePicture.sizes?.thumbnail?.url||"";return console.log("val:",n),{name:r.name||"",about:r.about||"",image:{src:n,alt:r.name||"blog author"},socialLinks:[{icon:e(I,{}),href:r.linkedIn??""}]}});return console.log(d),e(b,{children:s("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[e("div",{children:s("div",{className:"[&_p+P]:mt-4",children:[e("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),e(g,{content:k,enableGutter:!1,className:"prose-invert"})]})}),s("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[l&&e("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:s(c,{children:[e(x,{children:e(v,{className:"text-accent",children:"Content Actions"})}),s(p,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),e(w,{href:`${o}${t.id}`,children:e(f,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),d&&d.map((r,n)=>e(L,{...r},n)),i&&i.links&&e("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:e(C,{links:i.links,title:i.title})})]})]})})}export{j as a};
@@ -1 +1 @@
1
- import{a as A}from"./chunk-EUXJZBRI.mjs";import{a as g,c as v,d as f,g as C,i as h}from"./chunk-WLM2ZFHF.mjs";import{a as F}from"./chunk-NQPBIFGO.mjs";import{a as k}from"./chunk-VXZPPTQQ.mjs";import{a as l}from"./chunk-RAAY7PEH.mjs";import{a as N}from"./chunk-JVJG2LOA.mjs";import{a as S,f as y,g as x,i as w}from"./chunk-AG6IN5S7.mjs";import{a as u}from"./chunk-GJUA2KUH.mjs";import{b as p}from"./chunk-7Z3TOFNL.mjs";import{useState as D,useEffect as M}from"react";import{PlusIcon as z}from"lucide-react";import{Fragment as j,jsx as t,jsxs as r}from"react/jsx-runtime";function se({customers:b,users:d,categories:I,onSubmit:E,initialDeal:n,onAddCustomer:P,onClose:L}){let[a,o]=D(n||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[T,m]=D(!1),[i,c]=D({});M(()=>{n&&o(n)},[n]);let U=()=>{let e={};return a.customer||(e.customer="Customer is required"),a.value||(e.value="Value is required"),a.assignee||(e.assignee="Assignee is required"),a.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},B=async e=>{e.preventDefault(),c({});try{if(U()){let s=await E({...a});s.success?(o({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),L?.()):c(s.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},O=e=>{o(s=>({...s,categories:(s.categories||[]).includes(e.id)?(s.categories||[]).filter(H=>H!==e.id):[...s.categories||[],e.id]}))},V=async e=>{o({...a,customer:e});try{let s=await P(e);s.success?m(!1):c(s.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},q=e=>d?.find(s=>s.id===Number(e)),R=e=>b?.find(s=>s.id===Number(e));return r(j,{children:[r("form",{onSubmit:B,className:"space-y-6",children:[t(N,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(g,{value:a.customer?.id?.toString(),onValueChange:e=>o({...a,customer:R(e)}),children:[t(f,{children:t(v,{placeholder:"Select customer"})}),t(C,{children:b.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),t(p,{variant:"outline",size:"icon",onClick:()=>m(!0),children:t(z,{className:"w-5 h-5"})})]}),i.customerId&&t("p",{className:"text-red-500 text-sm",children:i.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(u,{id:"value",type:"number",value:a.value||"",onChange:e=>o({...a,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),i.value&&t("p",{className:"text-red-500 text-sm",children:i.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(g,{value:a.assignee?.id?.toString(),onValueChange:e=>o({...a,assignee:q(e)}),children:[t(f,{children:t(v,{placeholder:"Select assignee"})}),t(C,{children:d&&d.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),i.assignee&&t("p",{className:"text-red-500 text-sm",children:i.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(k,{id:"description",value:a.description||"",onChange:e=>o({...a,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:I.filter(s=>s.type===e).map(s=>r("div",{className:"flex items-center space-x-2",children:[t(F,{id:s.id.toString(),checked:a.categories?.includes(s.id),onCheckedChange:()=>O(s)}),t("label",{htmlFor:s.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:s.name})]},s.id))})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(u,{id:"closureDate",type:"date",value:a.closureDate||"",onChange:e=>o({...a,closureDate:e.target.value})}),i.closureDate&&t("p",{className:"text-red-500 text-sm",children:i.closureDate})]})]})}),t(p,{type:"submit",className:"w-full",children:n?"Update Deal":"Add Deal"})]}),t(S,{open:T,onOpenChange:m,children:r(y,{children:[t(x,{children:t(w,{children:"Add New Customer"})}),t(A,{onSubmit:V})]})})]})}export{se as a};
1
+ import{a as A}from"./chunk-RR4QSUV2.mjs";import{a as g,c as v,d as f,g as C,i as h}from"./chunk-YFAZQYK4.mjs";import{a as F}from"./chunk-INCYANPB.mjs";import{a as k}from"./chunk-B4H6T2GP.mjs";import{a as l}from"./chunk-TVZOULLL.mjs";import{a as N}from"./chunk-FT3AE7L2.mjs";import{a as S,f as y,g as x,i as w}from"./chunk-3UMMMQEH.mjs";import{a as u}from"./chunk-L5JPAKPM.mjs";import{b as p}from"./chunk-ZUA4KNIR.mjs";import{useState as D,useEffect as M}from"react";import{PlusIcon as z}from"lucide-react";import{Fragment as j,jsx as t,jsxs as r}from"react/jsx-runtime";function se({customers:b,users:d,categories:I,onSubmit:E,initialDeal:n,onAddCustomer:P,onClose:L}){let[a,o]=D(n||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[T,m]=D(!1),[i,c]=D({});M(()=>{n&&o(n)},[n]);let U=()=>{let e={};return a.customer||(e.customer="Customer is required"),a.value||(e.value="Value is required"),a.assignee||(e.assignee="Assignee is required"),a.closureDate||(e.closureDate="Closure Date is required"),c(e),Object.keys(e).length===0},B=async e=>{e.preventDefault(),c({});try{if(U()){let s=await E({...a});s.success?(o({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),L?.()):c(s.errors||{})}}catch{c({submit:"An error occurred while submitting the form."})}},O=e=>{o(s=>({...s,categories:(s.categories||[]).includes(e.id)?(s.categories||[]).filter(H=>H!==e.id):[...s.categories||[],e.id]}))},V=async e=>{o({...a,customer:e});try{let s=await P(e);s.success?m(!1):c(s.errors||{})}catch{c({submit:"An error occurred while submitting the form."})}},q=e=>d?.find(s=>s.id===Number(e)),R=e=>b?.find(s=>s.id===Number(e));return r(j,{children:[r("form",{onSubmit:B,className:"space-y-6",children:[t(N,{className:"h-[60vh] pr-4",children:r("div",{className:"space-y-6 px-4",children:[r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"customer",children:"Customer"}),r("div",{className:"flex items-center space-x-2",children:[r(g,{value:a.customer?.id?.toString(),onValueChange:e=>o({...a,customer:R(e)}),children:[t(f,{children:t(v,{placeholder:"Select customer"})}),t(C,{children:b.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),t(p,{variant:"outline",size:"icon",onClick:()=>m(!0),children:t(z,{className:"w-5 h-5"})})]}),i.customerId&&t("p",{className:"text-red-500 text-sm",children:i.customerId})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"value",children:"Value"}),t(u,{id:"value",type:"number",value:a.value||"",onChange:e=>o({...a,value:Number.parseFloat(e.target.value)}),placeholder:"Enter deal value"}),i.value&&t("p",{className:"text-red-500 text-sm",children:i.value})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"assignee",children:"Assignee"}),r(g,{value:a.assignee?.id?.toString(),onValueChange:e=>o({...a,assignee:q(e)}),children:[t(f,{children:t(v,{placeholder:"Select assignee"})}),t(C,{children:d&&d.map(e=>t(h,{value:e.id?.toString()||"",children:e.name},e.id))})]}),i.assignee&&t("p",{className:"text-red-500 text-sm",children:i.assignee})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"description",children:"Description"}),t(k,{id:"description",value:a.description||"",onChange:e=>o({...a,description:e.target.value}),placeholder:"Enter deal description"})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{children:"Categories"}),t("div",{className:"space-y-4",children:["proposition","source","sector"].map(e=>r("div",{className:"space-y-2",children:[t("h4",{className:"text-sm font-medium",children:e.charAt(0).toUpperCase()+e.slice(1)}),t("div",{className:"grid grid-cols-2 gap-2",children:I.filter(s=>s.type===e).map(s=>r("div",{className:"flex items-center space-x-2",children:[t(F,{id:s.id.toString(),checked:a.categories?.includes(s.id),onCheckedChange:()=>O(s)}),t("label",{htmlFor:s.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:s.name})]},s.id))})]},e))})]}),r("div",{className:"space-y-2 space-x-2",children:[t(l,{htmlFor:"closureDate",children:"Closure Date"}),t(u,{id:"closureDate",type:"date",value:a.closureDate||"",onChange:e=>o({...a,closureDate:e.target.value})}),i.closureDate&&t("p",{className:"text-red-500 text-sm",children:i.closureDate})]})]})}),t(p,{type:"submit",className:"w-full",children:n?"Update Deal":"Add Deal"})]}),t(S,{open:T,onOpenChange:m,children:r(y,{children:[t(x,{children:t(w,{children:"Add New Customer"})}),t(A,{onSubmit:V})]})})]})}export{se as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as p}from"./chunk-RYZTCMVC.mjs";import{a as d}from"./chunk-QXA6C5VE.mjs";import{a as m}from"./chunk-TSEOL53Y.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:i,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:s,image:r}=F||{},a=t&&Array.isArray(t)&&t.length>0,c=b||k,w=s?.replace(/\s/g," "),T=`/${y}/${C}`;return o("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[o("div",{className:"relative w-full ",children:[!r&&e("div",{className:"",children:"No image"}),r&&typeof r!="string"&&e(d,{resource:r,size:"33vw"})]}),o("div",{className:"p-4",children:[i&&a&&e("div",{className:"uppercase text-sm mb-4",children:i&&a&&e("div",{children:t?.map((l,n)=>{if(typeof l=="object"){let{title:L}=l,P=L||"Untitled category",z=n===t.length-1;return o(g,{children:[P,!z&&e(g,{children:", \xA0"})]},n)}return null})})}),c&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:c})})}),s&&e("div",{className:"mt-2",children:s&&e("p",{children:w})})]})]})};export{j as a};
4
+ import{a as p}from"./chunk-RYZTCMVC.mjs";import{a as d}from"./chunk-2BR55L74.mjs";import{a as m}from"./chunk-MDJREBVI.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:N,relationTo:y,showCategories:i,title:b}=v,{slug:C,categories:t,meta:F,title:k}=N||{},{description:s,image:r}=F||{},a=t&&Array.isArray(t)&&t.length>0,c=b||k,w=s?.replace(/\s/g," "),T=`/${y}/${C}`;return o("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[o("div",{className:"relative w-full ",children:[!r&&e("div",{className:"",children:"No image"}),r&&typeof r!="string"&&e(d,{resource:r,size:"33vw"})]}),o("div",{className:"p-4",children:[i&&a&&e("div",{className:"uppercase text-sm mb-4",children:i&&a&&e("div",{children:t?.map((l,n)=>{if(typeof l=="object"){let{title:L}=l,P=L||"Untitled category",z=n===t.length-1;return o(g,{children:[P,!z&&e(g,{children:", \xA0"})]},n)}return null})})}),c&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:T,ref:h.ref,children:c})})}),s&&e("div",{className:"mt-2",children:s&&e("p",{children:w})})]})]})};export{j as a};
@@ -1 +1 @@
1
- import{b as p}from"./chunk-2JKLBLDE.mjs";import{a as s,b as i,c as l,e as d}from"./chunk-7WKUKFCT.mjs";import f from"next/image";import{jsx as a,jsxs as t}from"react/jsx-runtime";var N=({name:o,email:x,profilePicture:n,workHistory:m=[],certifications:c=[],areasOfExpertise:g=[]})=>a("div",{className:"bg-gray-100 p-6 rounded-lg shadow-lg max-w-6xl mx-auto",children:t("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t(s,{className:"md:col-span-1",children:[t(i,{children:[a("div",{className:"w-32 h-32 mx-auto bg-gray-300 rounded-full overflow-hidden",children:n?a(f,{src:n,alt:o,width:128,height:128,className:"object-cover w-full h-full"}):a("div",{className:"w-full h-full flex items-center justify-center text-gray-500",children:"No Image"})}),a(l,{className:"text-2xl font-bold text-center mt-4",children:o||"Consultant Name"}),a("p",{className:"text-gray-600 text-center",children:x||"email@example.com"})]}),t(d,{children:[a("h3",{className:"text-xl font-semibold mb-2 text-gray-700",children:"Areas of Expertise"}),a("div",{className:"flex flex-wrap gap-2",children:g.length>0?g.map((e,r)=>a(p,{variant:"secondary",className:"text-sm",children:e.area},r)):a("p",{className:"text-gray-600",children:"No areas of expertise available"})})]})]}),t(s,{className:"md:col-span-2",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Work History"})}),a(d,{children:m.length>0?m.map((e,r)=>t("div",{className:"mb-4 pb-4 border-b border-gray-200 last:border-b-0",children:[t("h4",{className:"font-medium text-gray-800",children:[e.position," at ",e.company]}),t("p",{className:"text-sm text-gray-600",children:[e.startDate," - ",e.endDate||"Present"]}),e.description&&a("p",{className:"mt-1 text-gray-700",children:e.description})]},r)):a("p",{className:"text-gray-600",children:"No work history available"})})]}),t(s,{className:"md:col-span-3",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Certifications"})}),a(d,{children:c.length>0?a("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:c.map((e,r)=>t("div",{className:"bg-white p-4 rounded-lg shadow",children:[a("h4",{className:"font-medium text-gray-800",children:e.name}),e.issuer&&a("p",{className:"text-sm text-gray-600",children:e.issuer}),e.dateObtained&&t("p",{className:"text-xs text-gray-500 mt-1",children:["Obtained: ",e.dateObtained]})]},r))}):a("p",{className:"text-gray-600",children:"No certifications available"})})]})]})}),u=N;export{u as a};
1
+ import{b as p}from"./chunk-CSBGSBEU.mjs";import{a as s,b as i,c as l,e as d}from"./chunk-YO3GQYRJ.mjs";import f from"next/image";import{jsx as a,jsxs as t}from"react/jsx-runtime";var N=({name:o,email:x,profilePicture:n,workHistory:m=[],certifications:c=[],areasOfExpertise:g=[]})=>a("div",{className:"bg-gray-100 p-6 rounded-lg shadow-lg max-w-6xl mx-auto",children:t("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t(s,{className:"md:col-span-1",children:[t(i,{children:[a("div",{className:"w-32 h-32 mx-auto bg-gray-300 rounded-full overflow-hidden",children:n?a(f,{src:n,alt:o,width:128,height:128,className:"object-cover w-full h-full"}):a("div",{className:"w-full h-full flex items-center justify-center text-gray-500",children:"No Image"})}),a(l,{className:"text-2xl font-bold text-center mt-4",children:o||"Consultant Name"}),a("p",{className:"text-gray-600 text-center",children:x||"email@example.com"})]}),t(d,{children:[a("h3",{className:"text-xl font-semibold mb-2 text-gray-700",children:"Areas of Expertise"}),a("div",{className:"flex flex-wrap gap-2",children:g.length>0?g.map((e,r)=>a(p,{variant:"secondary",className:"text-sm",children:e.area},r)):a("p",{className:"text-gray-600",children:"No areas of expertise available"})})]})]}),t(s,{className:"md:col-span-2",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Work History"})}),a(d,{children:m.length>0?m.map((e,r)=>t("div",{className:"mb-4 pb-4 border-b border-gray-200 last:border-b-0",children:[t("h4",{className:"font-medium text-gray-800",children:[e.position," at ",e.company]}),t("p",{className:"text-sm text-gray-600",children:[e.startDate," - ",e.endDate||"Present"]}),e.description&&a("p",{className:"mt-1 text-gray-700",children:e.description})]},r)):a("p",{className:"text-gray-600",children:"No work history available"})})]}),t(s,{className:"md:col-span-3",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Certifications"})}),a(d,{children:c.length>0?a("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:c.map((e,r)=>t("div",{className:"bg-white p-4 rounded-lg shadow",children:[a("h4",{className:"font-medium text-gray-800",children:e.name}),e.issuer&&a("p",{className:"text-sm text-gray-600",children:e.issuer}),e.dateObtained&&t("p",{className:"text-xs text-gray-500 mt-1",children:["Obtained: ",e.dateObtained]})]},r))}):a("p",{className:"text-gray-600",children:"No certifications available"})})]})]})}),u=N;export{u as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as t}from"./chunk-TSEOL53Y.mjs";import*as o from"react";import*as e from"@radix-ui/react-toggle";import{cva as g}from"class-variance-authority";import{jsx as d}from"react/jsx-runtime";var l=g("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"}}),m=o.forwardRef(({className:i,variant:n,size:r,...a},s)=>d(e.Root,{ref:s,className:t(l({variant:n,size:r,className:i})),...a}));m.displayName=e.Root.displayName;export{l as a,m as b};
4
+ import{a as t}from"./chunk-MDJREBVI.mjs";import*as o from"react";import*as e from"@radix-ui/react-toggle";import{cva as g}from"class-variance-authority";import{jsx as d}from"react/jsx-runtime";var l=g("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"}}),m=o.forwardRef(({className:i,variant:n,size:r,...a},s)=>d(e.Root,{ref:s,className:t(l({variant:n,size:r,className:i})),...a}));m.displayName=e.Root.displayName;export{l as a,m as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as e}from"./chunk-TSEOL53Y.mjs";import*as i from"react";import*as o from"@radix-ui/react-popover";import{jsx as t}from"react/jsx-runtime";var P=o.Root,v=o.Trigger,f=o.Anchor,m=i.forwardRef(({className:r,align:a="center",sideOffset:n=4,...d},p)=>t(o.Portal,{children:t(o.Content,{ref:p,align:a,sideOffset:n,className:e("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",r),...d})}));m.displayName=o.Content.displayName;export{P as a,v as b,f as c,m as d};
4
+ import{a as e}from"./chunk-MDJREBVI.mjs";import*as i from"react";import*as o from"@radix-ui/react-popover";import{jsx as t}from"react/jsx-runtime";var P=o.Root,v=o.Trigger,f=o.Anchor,m=i.forwardRef(({className:r,align:a="center",sideOffset:n=4,...d},p)=>t(o.Portal,{children:t(o.Content,{ref:p,align:a,sideOffset:n,className:e("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",r),...d})}));m.displayName=o.Content.displayName;export{P as a,v as b,f as c,m as d};
@@ -0,0 +1 @@
1
+ import{b as o}from"./chunk-CSBGSBEU.mjs";import{a as n}from"./chunk-YO3GQYRJ.mjs";import{jsx as r,jsxs as s}from"react/jsx-runtime";var p=({title:l,status:t,taskCount:d,children:c,onDrop:i,isCompact:a=!1,height:m})=>{let u=e=>{e.preventDefault()},g=e=>{e.preventDefault(),i(t)};return s(n,{className:`p-4 bg-card border-l-4 ${(()=>{switch(t){case"todo":return"border-l-gray-400";case"in-progress":return"border-l-blue-500";case"review":return"border-l-orange-500";case"done":return"border-l-green-500";default:return"border-l-gray-400"}})()} shadow-sm hover:shadow-md transition-shadow duration-200 flex flex-col ${a?"lg:max-w-xs":""}`,style:{height:m||"calc(100vh - 350px)"},onDragOver:u,onDrop:g,children:[s("div",{className:"flex items-center justify-between mb-4 flex-shrink-0",children:[r("h3",{className:`font-semibold text-foreground select-none-important ${a?"text-base":"text-lg"}`,children:l}),r(o,{variant:"secondary",className:"bg-muted text-muted-foreground",children:d})]}),r("div",{className:"flex-1 overflow-y-auto space-y-4 min-h-0",children:c})]})};export{p as a};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-S7N4CSMJ.mjs";import{a}from"./chunk-TSEOL53Y.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function p({className:e,...t}){return r("textarea",{...t,className:a(o({}),"resize-none md:min-h-[130px]",e)})}function m({icon:e,...t}){return n("div",{className:"relative w-full",children:[r(p,{...t}),e&&r("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}export{m as a};
1
+ import{a as o}from"./chunk-LVK4QE5D.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function p({className:e,...t}){return r("textarea",{...t,className:a(o({}),"resize-none md:min-h-[130px]",e)})}function m({icon:e,...t}){return n("div",{className:"relative w-full",children:[r(p,{...t}),e&&r("span",{className:"absolute right-5 top-[18px] w-[14px] text-accent",children:e})]})}export{m as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s}from"./chunk-TSEOL53Y.mjs";import{useEffect as c,useRef as a}from"react";import{jsx as r}from"react/jsx-runtime";var u=i=>{let{onClick:n,resource:e,videoClassName:l}=i,t=a(null);if(c(()=>{let{current:o}=t;o&&o.addEventListener("suspend",()=>{})},[]),e&&typeof e=="object"){let{filename:o}=e;return r("video",{autoPlay:!0,className:s(l),controls:!1,loop:!0,muted:!0,onClick:n,playsInline:!0,ref:t,children:r("source",{src:e.url||""})})}return null};export{u as a};
4
+ import{a as s}from"./chunk-MDJREBVI.mjs";import{useEffect as c,useRef as a}from"react";import{jsx as r}from"react/jsx-runtime";var u=i=>{let{onClick:n,resource:e,videoClassName:l}=i,t=a(null);if(c(()=>{let{current:o}=t;o&&o.addEventListener("suspend",()=>{})},[]),e&&typeof e=="object"){let{filename:o}=e;return r("video",{autoPlay:!0,className:s(l),controls:!1,loop:!0,muted:!0,onClick:n,playsInline:!0,ref:t,children:r("source",{src:e.url||""})})}return null};export{u as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s,b as i,c,e as l}from"./chunk-7WKUKFCT.mjs";import{a as n}from"./chunk-TSEOL53Y.mjs";import{useSearchParams as u,usePathname as h,useRouter as x}from"next/navigation";import{ExternalLink as y}from"lucide-react";import{jsx as e,jsxs as m}from"react/jsx-runtime";var N=n("transition-colors duration-400 hover:text-primary ease-in-out");function S({title:o,links:a}){let p=u(),d=h(),{replace:C}=x();function f(r){let t=new URLSearchParams(p);r?t.set("category",r):t.delete("category"),C(`${d}?${t.toString()}`)}return m(s,{children:[e(i,{children:e(c,{className:"text-accent",children:o&&o})}),e(l,{children:a&&a.length>0&&e("nav",{"aria-label":"footer links navigation",children:e("ul",{className:"grid gap-2.5 ",children:a.map((r,t)=>m("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:g=>{g.preventDefault(),f(r.href)},children:[r.label,e(y,{className:"ml-1 h-3 w-3"})]},t))})})})]})}export{S as a};
4
+ import{a as s,b as i,c,e as l}from"./chunk-YO3GQYRJ.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{useSearchParams as u,usePathname as h,useRouter as x}from"next/navigation";import{ExternalLink as y}from"lucide-react";import{jsx as e,jsxs as m}from"react/jsx-runtime";var N=n("transition-colors duration-400 hover:text-primary ease-in-out");function S({title:o,links:a}){let p=u(),d=h(),{replace:C}=x();function f(r){let t=new URLSearchParams(p);r?t.set("category",r):t.delete("category"),C(`${d}?${t.toString()}`)}return m(s,{children:[e(i,{children:e(c,{className:"text-accent",children:o&&o})}),e(l,{children:a&&a.length>0&&e("nav",{"aria-label":"footer links navigation",children:e("ul",{className:"grid gap-2.5 ",children:a.map((r,t)=>m("li",{className:"flex items-center text-sm text-primary hover:text-accent dark:text-foreground first:pt-0 hover:cursor-pointer",onClick:g=>{g.preventDefault(),f(r.href)},children:[r.label,e(y,{className:"ml-1 h-3 w-3"})]},t))})})})]})}export{S as a};