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 +1 @@
1
- import{a as c,c as d,d as p,g as m,i as g}from"./chunk-WLM2ZFHF.mjs";import{a as f}from"./chunk-VXZPPTQQ.mjs";import{a as i}from"./chunk-RAAY7PEH.mjs";import{a as v,f as b,g as D,h,i as S}from"./chunk-AG6IN5S7.mjs";import{a as o}from"./chunk-GJUA2KUH.mjs";import{b as s}from"./chunk-7Z3TOFNL.mjs";import{useState as O}from"react";import{jsx as a,jsxs as l}from"react/jsx-runtime";var R=({isOpen:y,onClose:r,onAddEpic:C})=>{let[t,u]=O({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),N=["bg-blue-500","bg-green-500","bg-purple-500","bg-orange-500","bg-red-500","bg-yellow-500","bg-pink-500","bg-indigo-500"],w=[{value:"low",label:"Low"},{value:"medium",label:"Medium"},{value:"high",label:"High"}],E=[{value:1,label:"Planning"},{value:2,label:"Development"},{value:3,label:"Testing"},{value:4,label:"Done"}],T=e=>{e.preventDefault(),t.name.trim()&&(C({name:t.name.trim(),description:t.description.trim(),color:t.color,confidence:t.confidence,phase:t.phase,startDate:new Date(t.startDate),endDate:new Date(t.endDate),progress:t.progress,isSelected:!0}),u({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),r())},n=(e,I)=>{u(L=>({...L,[e]:I}))};return a(v,{open:y,onOpenChange:r,children:l(b,{className:"sm:max-w-md",children:[a(D,{children:a(S,{children:"Add New Epic"})}),l("form",{onSubmit:T,className:"space-y-4",children:[l("div",{className:"space-y-2",children:[a(i,{htmlFor:"name",children:"Epic Name"}),a(o,{id:"name",value:t.name,onChange:e=>n("name",e.target.value),placeholder:"Enter epic name",required:!0})]}),l("div",{className:"space-y-2",children:[a(i,{htmlFor:"description",children:"Description"}),a(f,{id:"description",value:t.description,onChange:e=>n("description",e.target.value),placeholder:"Enter epic description (optional)",rows:3})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Color"}),a("div",{className:"flex gap-2 flex-wrap",children:N.map(e=>a("button",{type:"button",onClick:()=>n("color",e),className:`w-8 h-8 rounded-full ${e} ${t.color===e?"ring-2 ring-gray-400":""}`},e))})]}),l("div",{className:"grid grid-cols-2 gap-4",children:[l("div",{className:"space-y-2",children:[a(i,{children:"Confidence"}),l(c,{value:t.confidence,onValueChange:e=>n("confidence",e),children:[a(p,{children:a(d,{})}),a(m,{children:w.map(e=>a(g,{value:e.value,children:e.label},e.value))})]})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Phase"}),l(c,{value:t.phase.toString(),onValueChange:e=>n("phase",parseInt(e)),children:[a(p,{children:a(d,{})}),a(m,{children:E.map(e=>a(g,{value:e.value.toString(),children:e.label},e.value))})]})]})]}),l("div",{className:"grid grid-cols-2 gap-4",children:[l("div",{className:"space-y-2",children:[a(i,{children:"Start Date"}),a(o,{type:"date",value:t.startDate,onChange:e=>n("startDate",e.target.value)})]}),l("div",{className:"space-y-2",children:[a(i,{children:"End Date"}),a(o,{type:"date",value:t.endDate,onChange:e=>n("endDate",e.target.value)})]})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Progress (%)"}),a(o,{type:"number",min:"0",max:"100",value:t.progress,onChange:e=>n("progress",parseInt(e.target.value)||0)})]}),l(h,{children:[a(s,{type:"button",variant:"outline",onClick:r,children:"Cancel"}),a(s,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Epic"})]})]})]})})};export{R as a};
1
+ import{a as c,c as d,d as p,g as m,i as g}from"./chunk-YFAZQYK4.mjs";import{a as f}from"./chunk-B4H6T2GP.mjs";import{a as i}from"./chunk-TVZOULLL.mjs";import{a as v,f as b,g as D,h,i as S}from"./chunk-3UMMMQEH.mjs";import{a as o}from"./chunk-L5JPAKPM.mjs";import{b as s}from"./chunk-ZUA4KNIR.mjs";import{useState as O}from"react";import{jsx as a,jsxs as l}from"react/jsx-runtime";var R=({isOpen:y,onClose:r,onAddEpic:C})=>{let[t,u]=O({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),N=["bg-blue-500","bg-green-500","bg-purple-500","bg-orange-500","bg-red-500","bg-yellow-500","bg-pink-500","bg-indigo-500"],w=[{value:"low",label:"Low"},{value:"medium",label:"Medium"},{value:"high",label:"High"}],E=[{value:1,label:"Planning"},{value:2,label:"Development"},{value:3,label:"Testing"},{value:4,label:"Done"}],T=e=>{e.preventDefault(),t.name.trim()&&(C({name:t.name.trim(),description:t.description.trim(),color:t.color,confidence:t.confidence,phase:t.phase,startDate:new Date(t.startDate),endDate:new Date(t.endDate),progress:t.progress,isSelected:!0}),u({name:"",description:"",color:"bg-blue-500",confidence:"medium",phase:1,startDate:new Date().toISOString().split("T")[0],endDate:new Date().toISOString().split("T")[0],progress:0}),r())},n=(e,I)=>{u(L=>({...L,[e]:I}))};return a(v,{open:y,onOpenChange:r,children:l(b,{className:"sm:max-w-md",children:[a(D,{children:a(S,{children:"Add New Epic"})}),l("form",{onSubmit:T,className:"space-y-4",children:[l("div",{className:"space-y-2",children:[a(i,{htmlFor:"name",children:"Epic Name"}),a(o,{id:"name",value:t.name,onChange:e=>n("name",e.target.value),placeholder:"Enter epic name",required:!0})]}),l("div",{className:"space-y-2",children:[a(i,{htmlFor:"description",children:"Description"}),a(f,{id:"description",value:t.description,onChange:e=>n("description",e.target.value),placeholder:"Enter epic description (optional)",rows:3})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Color"}),a("div",{className:"flex gap-2 flex-wrap",children:N.map(e=>a("button",{type:"button",onClick:()=>n("color",e),className:`w-8 h-8 rounded-full ${e} ${t.color===e?"ring-2 ring-gray-400":""}`},e))})]}),l("div",{className:"grid grid-cols-2 gap-4",children:[l("div",{className:"space-y-2",children:[a(i,{children:"Confidence"}),l(c,{value:t.confidence,onValueChange:e=>n("confidence",e),children:[a(p,{children:a(d,{})}),a(m,{children:w.map(e=>a(g,{value:e.value,children:e.label},e.value))})]})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Phase"}),l(c,{value:t.phase.toString(),onValueChange:e=>n("phase",parseInt(e)),children:[a(p,{children:a(d,{})}),a(m,{children:E.map(e=>a(g,{value:e.value.toString(),children:e.label},e.value))})]})]})]}),l("div",{className:"grid grid-cols-2 gap-4",children:[l("div",{className:"space-y-2",children:[a(i,{children:"Start Date"}),a(o,{type:"date",value:t.startDate,onChange:e=>n("startDate",e.target.value)})]}),l("div",{className:"space-y-2",children:[a(i,{children:"End Date"}),a(o,{type:"date",value:t.endDate,onChange:e=>n("endDate",e.target.value)})]})]}),l("div",{className:"space-y-2",children:[a(i,{children:"Progress (%)"}),a(o,{type:"number",min:"0",max:"100",value:t.progress,onChange:e=>n("progress",parseInt(e.target.value)||0)})]}),l(h,{children:[a(s,{type:"button",variant:"outline",onClick:r,children:"Cancel"}),a(s,{type:"submit",className:"bg-blue-600 hover:bg-blue-700",children:"Add Epic"})]})]})]})})};export{R as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as k}from"./chunk-VFPS3FYN.mjs";import{a as C}from"./chunk-A5TPL5CB.mjs";import{a as S,b as w}from"./chunk-6GDVIZS5.mjs";import{a as g}from"./chunk-BOG3XLGP.mjs";import{a as v}from"./chunk-BXVJNWFA.mjs";import{a as f}from"./chunk-GCIWMQMK.mjs";import{a as u}from"./chunk-DFWWQRJ2.mjs";import{c as m,f as p}from"./chunk-TR52MKZR.mjs";import{a as d}from"./chunk-QXA6C5VE.mjs";import{a as s}from"./chunk-ESTO675Y.mjs";import{a as x}from"./chunk-OGN7YDFB.mjs";import{a as N}from"./chunk-WJZDHRGO.mjs";import{a as h}from"./chunk-TNCD5YIY.mjs";import{a as n}from"./chunk-TSEOL53Y.mjs";import{a as b}from"./chunk-WU3JMLSC.mjs";import{a as y}from"./chunk-BZAYEKYC.mjs";import z from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var H=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),T=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),R=()=>o(T,{children:[o("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(h,{children:o("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),L={highImpact:u,lowImpact:v,mediumImpact:f,sectionHero:g,dummy:R};function P({...t}){let i=t.style;return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(N,{isMenuOpen:!0,logoLight:y,logoDark:b,...t.header}),e(I,{...t.hero}),e(c,{theme:"light",style:i,children:e(k,{...t.service})}),e(c,{theme:"dark",style:i,image:t.service.services[0].image,children:e(j,{})}),e(c,{theme:"light",style:i,children:e(j,{})}),e(c,{theme:"dark",style:i,children:e(S,{...t.contact})}),e(c,{theme:"light",style:i,children:e(w,{...t.contact})}),e(c,{theme:"last",style:i,children:e(C,{...t.blog})}),e(m,{...t.cta}),e(x,{...t.footer})]})}var I=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let l=L[i];return l?e(l,{...t}):null},j=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:n("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(p,{enableGutter:!1,content:H("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:n("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(z,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},c=({children:t,theme:i,style:l,neighbours:M,shape:D,image:B,id:r,continueTheme:F})=>{let G=a=>o("div",{className:"select-none",children:[a&&typeof a=="object"&&e(d,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:a}),a&&typeof a=="string"&&e("div",{children:e(z,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:a})})]});if(i==="dark"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"z-10",position:"dark-bottom"})]})]})});if(i==="light"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky top-0 light pt-0 h-screen",children:o("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:r||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:r||"next-section",className:"",children:e("div",{className:n("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{P as a,c as b};
4
+ import{a as S,b as w}from"./chunk-7R47MHQE.mjs";import{a as k}from"./chunk-75F3LJMX.mjs";import{a as C}from"./chunk-KWYJ3XZI.mjs";import{a as g}from"./chunk-MZP7RIQZ.mjs";import{a as u}from"./chunk-RGOKBIQ5.mjs";import{a as v}from"./chunk-NINFDOV5.mjs";import{a as f}from"./chunk-C4RWEPVF.mjs";import{c as m,f as p}from"./chunk-2BRDNDUB.mjs";import{a as d}from"./chunk-2BR55L74.mjs";import{a as s}from"./chunk-7WIO2CIC.mjs";import{a as x}from"./chunk-6C4WESLL.mjs";import{a as N}from"./chunk-75WE6ZXB.mjs";import{a as h}from"./chunk-FMJBJ3HN.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{a as b}from"./chunk-WU3JMLSC.mjs";import{a as y}from"./chunk-BZAYEKYC.mjs";import z from"next/image";import{jsx as e,jsxs as o}from"react/jsx-runtime";var H=t=>({root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:t,type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}}),T=({children:t})=>e("div",{children:o("div",{className:"sticky top-0 h-screen",children:[t,e(s,{className:"text-black z-10",position:"header"})]})}),R=()=>o(T,{children:[o("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(h,{children:o("div",{className:"flex flex-col items-start md:w-1/2 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:"Lorum ipsum."}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:"Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio."})]})})})]}),L={highImpact:u,lowImpact:v,mediumImpact:f,sectionHero:g,dummy:R};function P({...t}){let i=t.style;return o("div",{className:"relative overflow-y-none scroll-smooth snap-y snap-mandatory",children:[e(N,{isMenuOpen:!0,logoLight:y,logoDark:b,...t.header}),e(I,{...t.hero}),e(c,{theme:"light",style:i,children:e(k,{...t.service})}),e(c,{theme:"dark",style:i,image:t.service.services[0].image,children:e(j,{})}),e(c,{theme:"light",style:i,children:e(j,{})}),e(c,{theme:"dark",style:i,children:e(S,{...t.contact})}),e(c,{theme:"light",style:i,children:e(w,{...t.contact})}),e(c,{theme:"last",style:i,children:e(C,{...t.blog})}),e(m,{...t.cta}),e(x,{...t.footer})]})}var I=t=>{let{type:i}=t||{};if(!i||i==="none")return null;let l=L[i];return l?e(l,{...t}):null},j=()=>{let t={blurDataURL:"/assets/props/Cortex-Handshake-BG.jpg",height:1315,url:"/assets/props/Cortex-Handshake-BG.jpg",width:1920};return e("div",{className:"container",children:o("div",{className:"w-full grid grid-cols-1 md:grid-cols-2 gap-1 items-center justify-center",children:[o("div",{className:n("w-full text-left"),children:[e("h2",{className:"text-3xl md:text-5xl text-primary",children:"Lorum ipsum..."}),e("p",{className:"mt-4 text-gray-700 text-lg",children:e(p,{enableGutter:!1,content:H("Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Lorum ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec dui ac odio. Nulla facilisi. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies. Nullam nec nisi nec odio ultricies ultricies."),enableProse:!1,className:n("prose prose-headings:text-foreground prose-p:text-foreground")})}),e("button",{className:"mt-6 px-6 py-3 border border-1 border-accent text-foreground rounded-full text-base hover:bg-accent hover:text-accent-foreground transition",children:"Click here"})]}),e("div",{className:"w-full h-full min-h-96 p-6 md:p-6 flex justify-center",children:e(z,{src:t.url,alt:"image",width:t.width,height:t.height,className:"max-w-full"})})]})})},c=({children:t,theme:i,style:l,neighbours:M,shape:D,image:B,id:r,continueTheme:F})=>{let G=a=>o("div",{className:"select-none",children:[a&&typeof a=="object"&&e(d,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:a}),a&&typeof a=="string"&&e("div",{children:e(z,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:a})})]});if(i==="dark"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky md:top-0 h-screen",children:o("div",{className:"dark pt-0 min-h-[80vh]",children:[e(s,{className:"z-10",position:"dark-top"}),o("div",{className:"relative",children:[e("div",{className:"flex items-center bg-black justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"z-10",position:"dark-bottom"})]})]})});if(i==="light"&&l==="slide")return e("section",{id:r||"next-section",className:"sticky top-0 light pt-0 h-screen",children:o("div",{className:"sticky top-0 light pt-0 h-screen",children:[e(s,{className:"z-10",position:"light-top"}),o("div",{className:"relative bg-white",children:[e("div",{className:"flex items-center bg-white justify-center pt-12",children:e("div",{className:"container",children:t})}),e("div",{className:"h-[200px] bg-white"})]})]})});if(i==="first")return e("section",{id:r||"next-section",className:"",children:e("div",{className:"sticky top-0 light bg-background pt-6 min-h-[80vh]",children:o("div",{className:"relative",children:[e("div",{className:"flex items-center justify-center pt-12",children:e("div",{className:"container",children:t})}),e(s,{className:"text-black z-10",position:"bottom-right"})]})})});if(i==="light")return e("section",{id:r||"next-section",className:"",children:e("div",{className:n("sticky top-0 light bg-background min-h-[50vh]","pb-10"),children:e("div",{className:"flex items-center pt-8 justify-center",children:e("div",{className:"container",children:t})})})});if(i==="dark")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pt-12 bg-black",children:e("div",{className:"container",children:t})}),e(s,{className:"text-accent z-10",position:"top"})]})});if(i==="last")return e("section",{id:r||"next-section",className:"",children:o("div",{className:"sticky -top-[1px] dark min-h-[80vh] bg-white",children:[e(s,{className:"text-black z-10",position:"bottom-right"}),e("div",{className:"flex items-center justify-center pb-12 bg-black min-h-[80vh]",children:e("div",{className:"container",children:t})})]})})};export{P as a,c as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as e,b as i,c as T,e as n,f as p,g as m}from"./chunk-PMOMDGBA.mjs";import{c as r}from"./chunk-CV7PH2KH.mjs";import{jsx as o,jsxs as t}from"react/jsx-runtime";function g(){let{toasts:c}=r();return t(e,{children:[c.map(function({id:f,title:s,description:a,action:u,...d}){return t(T,{...d,children:[t("div",{className:"grid gap-1",children:[s&&o(p,{children:s}),a&&o(m,{children:a})]}),u,o(n,{})]},f)}),o(i,{})]})}export{g as a};
4
+ import{a as e,b as i,c as T,e as n,f as p,g as m}from"./chunk-5NRGSTPV.mjs";import{c as r}from"./chunk-CV7PH2KH.mjs";import{jsx as o,jsxs as t}from"react/jsx-runtime";function g(){let{toasts:c}=r();return t(e,{children:[c.map(function({id:f,title:s,description:a,action:u,...d}){return t(T,{...d,children:[t("div",{className:"grid gap-1",children:[s&&o(p,{children:s}),a&&o(m,{children:a})]}),u,o(n,{})]},f)}),o(i,{})]})}export{g as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as c}from"./chunk-532HP37G.mjs";import{a as h}from"./chunk-TSEOL53Y.mjs";import{useState as d,useEffect as b}from"react";import{Dialog as k,DialogPanel as N,Disclosure as w,DisclosureButton as x,DisclosurePanel as D}from"@headlessui/react";import{Bars3Icon as S,XMarkIcon as M}from"@heroicons/react/24/outline";import{useTheme as P}from"next-themes";import{Fragment as H,jsx as e,jsxs as r}from"react/jsx-runtime";var m=["light","dark"];function _({logoLight:o,logoDark:a,menuItems:l,isMenuOpen:n=!0}){let[s,u]=d(!1),{theme:g,setTheme:v}=P(),[p,i]=d(!1),[y,f]=d("light");b(()=>{let t=()=>{window.scrollY>100?u(!0):u(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),b(()=>{f(g||"dark")},[g]);let T=()=>{let t=m[(m.indexOf(y)+1)%m.length];f(t),v(t)};return e(H,{children:r("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${s||n?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[e("nav",{className:h("backdrop-blur-sm text-white p-0",p&&"hidden"),children:r("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[e(c,{logoDark:a,logoLight:o,mobile:!0}),e("div",{className:"flex items-center space-x-4",children:r("button",{type:"button",onClick:()=>i(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(S,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),r(k,{open:p,onClose:i,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),r(N,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[r("div",{className:"flex items-stretch justify-between",children:[e(c,{logoDark:a,logoLight:o,mobile:!0}),r("button",{type:"button",onClick:()=>i(!1),className:"-m-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[e("span",{className:"sr-only",children:"Close menu"}),e(M,{"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 px-2 py-6",children:l&&l.map(t=>e(I,{...t},t.name))})})})]})]})]})})}function I({name:o,items:a,actions:l,href:n}){return!a&&n?e("a",{href:n,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:o}):r(w,{as:"div",className:"-mx-3",children:[e(x,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:o}),e(D,{className:"mt-2 space-y-2",children:a&&a.map(s=>e(x,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:s.name},s.name))})]})}export{_ as a};
4
+ import{a as c}from"./chunk-Q5XT55O3.mjs";import{a as h}from"./chunk-MDJREBVI.mjs";import{useState as d,useEffect as b}from"react";import{Dialog as k,DialogPanel as N,Disclosure as w,DisclosureButton as x,DisclosurePanel as D}from"@headlessui/react";import{Bars3Icon as S,XMarkIcon as M}from"@heroicons/react/24/outline";import{useTheme as P}from"next-themes";import{Fragment as H,jsx as e,jsxs as r}from"react/jsx-runtime";var m=["light","dark"];function _({logoLight:o,logoDark:a,menuItems:l,isMenuOpen:n=!0}){let[s,u]=d(!1),{theme:g,setTheme:v}=P(),[p,i]=d(!1),[y,f]=d("light");b(()=>{let t=()=>{window.scrollY>100?u(!0):u(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),b(()=>{f(g||"dark")},[g]);let T=()=>{let t=m[(m.indexOf(y)+1)%m.length];f(t),v(t)};return e(H,{children:r("header",{className:`z-50 pb-10 transition-all duration-300 block lg:hidden ${s||n?"translate-y-0":"-translate-y-full bg-transparent"}`,children:[e("nav",{className:h("backdrop-blur-sm text-white p-0",p&&"hidden"),children:r("div",{className:"flex items-stretch justify-between bg-background px-2 py-0 dark:bg-[#212124] [&_.logo-light]:[filter:brightness(0)_invert(1)] dark:border-b dark:border-accent",children:[e(c,{logoDark:a,logoLight:o,mobile:!0}),e("div",{className:"flex items-center space-x-4",children:r("button",{type:"button",onClick:()=>i(!0),className:"fixed right-4 z-[60] p-2 rounded-full bg-white/10 backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-white dark:hover:text-accent",children:[e("span",{className:"sr-only",children:"Open main menu"}),e(S,{"aria-hidden":"true",className:"h-4 w-4"})]})})]})}),r(k,{open:p,onClose:i,className:"lg:hidden",children:[e("div",{className:"fixed inset-0 z-10 bg-black bg-opacity-50","aria-hidden":"true"}),r(N,{className:"fixed inset-y-0 right-0 z-20 w-full overflow-y-auto bg-background dark:bg-[#212124] px-2 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10",children:[r("div",{className:"flex items-stretch justify-between",children:[e(c,{logoDark:a,logoLight:o,mobile:!0}),r("button",{type:"button",onClick:()=>i(!1),className:"-m-2.5 rounded-md p-2.5 text-foreground dark:text-foreground outline-none hover:text-accent",children:[e("span",{className:"sr-only",children:"Close menu"}),e(M,{"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 px-2 py-6",children:l&&l.map(t=>e(I,{...t},t.name))})})})]})]})]})})}function I({name:o,items:a,actions:l,href:n}){return!a&&n?e("a",{href:n,className:"-mx-3 block rounded-lg px-3 py-2 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:o}):r(w,{as:"div",className:"-mx-3",children:[e(x,{className:"group flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:o}),e(D,{className:"mt-2 space-y-2",children:a&&a.map(s=>e(x,{as:"a",href:s.href,className:"block rounded-lg py-2 pl-6 pr-3 text-sm dark:text-foreground text-foreground hover:bg-gray-50 hover:text-accent",children:s.name},s.name))})]})}export{_ as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as c}from"./chunk-GJUA2KUH.mjs";import{b as p}from"./chunk-7Z3TOFNL.mjs";import{a as v,b as N,c as f}from"./chunk-RFNYVF6F.mjs";import{b as o}from"./chunk-2JKLBLDE.mjs";import{a as i,b as g,c as x,e as r}from"./chunk-7WKUKFCT.mjs";import{useState as U,useMemo as b}from"react";import{Search as L,User as u,Check as T,ChevronLeft as A}from"lucide-react";import{motion as h,AnimatePresence as B}from"motion/react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function $({users:m,onUserSelect:C,onCancel:y,selectedUserId:d}){let[s,w]=U(""),n=b(()=>m.filter(a=>a.name.toLowerCase().includes(s.toLowerCase())||a.email.toLowerCase().includes(s.toLowerCase())||a.role.toLowerCase().includes(s.toLowerCase())||(a.skills||[]).some(S=>S.toLowerCase().includes(s.toLowerCase()))),[m,s]),k=a=>{C(a)};return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(B,{mode:"wait",children:t(h.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[t("div",{className:"flex items-center gap-4 mb-6",children:[t(p,{variant:"ghost",onClick:y,className:"gap-2",children:[e(A,{className:"h-4 w-4"}),"Back"]}),t("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Select User"}),e("p",{className:"text-muted-foreground",children:"Choose a user to add as a colleague"})]})]}),e(i,{className:"container",children:e(r,{className:"pt-6",children:e("div",{className:"flex flex-col md:flex-row gap-4",children:e("div",{className:"flex-1",children:t("div",{className:"relative",children:[e(L,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(c,{placeholder:"Search users by name, email, role, or skills...",value:s,onChange:a=>w(a.target.value),className:"pl-9"})]})})})})}),e("div",{className:"container grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:n.map(a=>e(h.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.2},children:t(i,{className:`cursor-pointer transition-all hover:shadow-lg ${d===a.id?"ring-2 ring-primary":""}`,onClick:()=>k(a),children:[e(g,{className:"pb-3",children:t("div",{className:"flex items-start justify-between",children:[t("div",{className:"flex items-center gap-3",children:[t(v,{children:[e(N,{src:a.avatar,alt:a.name}),e(f,{children:e(u,{className:"h-4 w-4"})})]}),t("div",{children:[e(x,{className:"text-lg",children:a.name}),e("p",{className:"text-sm text-muted-foreground",children:a.role})]})]}),d===a.id&&e(T,{className:"h-5 w-5 text-primary"})]})}),e(r,{className:"pt-0",children:t("div",{className:"space-y-3",children:[t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Email"}),e("p",{className:"text-sm font-medium",children:a.email})]}),t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Department"}),e(o,{variant:"secondary",children:a.department})]}),a.location&&t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Location"}),e("p",{className:"text-sm",children:a.location})]}),a.skills&&a.skills.length>0&&t("div",{children:[e("p",{className:"text-sm text-muted-foreground mb-2",children:"Skills"}),t("div",{className:"flex flex-wrap gap-1",children:[a.skills.slice(0,3).map(l=>e(o,{variant:"outline",className:"text-xs",children:l},l)),a.skills.length>3&&t(o,{variant:"outline",className:"text-xs",children:["+",a.skills.length-3]})]})]})]})})]})},a.id))}),n.length===0&&e(i,{className:"container mt-4",children:e(r,{className:"pt-6",children:t("div",{className:"text-center py-8",children:[e(u,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e("h3",{className:"text-lg font-semibold mb-2",children:"No users found"}),e("p",{className:"text-muted-foreground",children:"Try adjusting your search terms or filters."})]})})})]},"user-selection")})})}export{$ as a};
4
+ import{a as c}from"./chunk-L5JPAKPM.mjs";import{b as p}from"./chunk-ZUA4KNIR.mjs";import{a as v,b as N,c as f}from"./chunk-SOLZ4VQH.mjs";import{b as o}from"./chunk-CSBGSBEU.mjs";import{a as i,b as g,c as x,e as r}from"./chunk-YO3GQYRJ.mjs";import{useState as U,useMemo as b}from"react";import{Search as L,User as u,Check as T,ChevronLeft as A}from"lucide-react";import{motion as h,AnimatePresence as B}from"motion/react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function $({users:m,onUserSelect:C,onCancel:y,selectedUserId:d}){let[s,w]=U(""),n=b(()=>m.filter(a=>a.name.toLowerCase().includes(s.toLowerCase())||a.email.toLowerCase().includes(s.toLowerCase())||a.role.toLowerCase().includes(s.toLowerCase())||(a.skills||[]).some(S=>S.toLowerCase().includes(s.toLowerCase()))),[m,s]),k=a=>{C(a)};return e("div",{className:"px-2 md:px-4 py-4 space-y-6",children:e(B,{mode:"wait",children:t(h.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:[t("div",{className:"flex items-center gap-4 mb-6",children:[t(p,{variant:"ghost",onClick:y,className:"gap-2",children:[e(A,{className:"h-4 w-4"}),"Back"]}),t("div",{children:[e("h1",{className:"text-3xl font-bold",children:"Select User"}),e("p",{className:"text-muted-foreground",children:"Choose a user to add as a colleague"})]})]}),e(i,{className:"container",children:e(r,{className:"pt-6",children:e("div",{className:"flex flex-col md:flex-row gap-4",children:e("div",{className:"flex-1",children:t("div",{className:"relative",children:[e(L,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(c,{placeholder:"Search users by name, email, role, or skills...",value:s,onChange:a=>w(a.target.value),className:"pl-9"})]})})})})}),e("div",{className:"container grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:n.map(a=>e(h.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.2},children:t(i,{className:`cursor-pointer transition-all hover:shadow-lg ${d===a.id?"ring-2 ring-primary":""}`,onClick:()=>k(a),children:[e(g,{className:"pb-3",children:t("div",{className:"flex items-start justify-between",children:[t("div",{className:"flex items-center gap-3",children:[t(v,{children:[e(N,{src:a.avatar,alt:a.name}),e(f,{children:e(u,{className:"h-4 w-4"})})]}),t("div",{children:[e(x,{className:"text-lg",children:a.name}),e("p",{className:"text-sm text-muted-foreground",children:a.role})]})]}),d===a.id&&e(T,{className:"h-5 w-5 text-primary"})]})}),e(r,{className:"pt-0",children:t("div",{className:"space-y-3",children:[t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Email"}),e("p",{className:"text-sm font-medium",children:a.email})]}),t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Department"}),e(o,{variant:"secondary",children:a.department})]}),a.location&&t("div",{children:[e("p",{className:"text-sm text-muted-foreground",children:"Location"}),e("p",{className:"text-sm",children:a.location})]}),a.skills&&a.skills.length>0&&t("div",{children:[e("p",{className:"text-sm text-muted-foreground mb-2",children:"Skills"}),t("div",{className:"flex flex-wrap gap-1",children:[a.skills.slice(0,3).map(l=>e(o,{variant:"outline",className:"text-xs",children:l},l)),a.skills.length>3&&t(o,{variant:"outline",className:"text-xs",children:["+",a.skills.length-3]})]})]})]})})]})},a.id))}),n.length===0&&e(i,{className:"container mt-4",children:e(r,{className:"pt-6",children:t("div",{className:"text-center py-8",children:[e(u,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e("h3",{className:"text-lg font-semibold mb-2",children:"No users found"}),e("p",{className:"text-muted-foreground",children:"Try adjusting your search terms or filters."})]})})})]},"user-selection")})})}export{$ as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as i}from"./chunk-RAAY7PEH.mjs";import{b as m}from"./chunk-7Z3TOFNL.mjs";import{useState as v,useEffect as u}from"react";import{FileText as p,ListChecks as f,AlertTriangle as N,Users as k,Briefcase as h,ShieldAlert as z,Calendar as w,User as j,Building as L,X as D}from"lucide-react";import{Fragment as S,jsx as e,jsxs as a}from"react/jsx-runtime";var g={"On-Track":"bg-green-100 text-green-800 border-green-200","Off-Track":"bg-red-100 text-red-800 border-red-200","At Risk":"bg-yellow-100 text-yellow-800 border-yellow-200",Complete:"bg-blue-100 text-blue-800 border-blue-200"};function E({submissions:l,isLoading:y=!1}){let[n,s]=v(null);u(()=>{let t=d=>{d.key==="Escape"&&s(null)};if(n)return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[n]);let c=t=>new Date(t).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}),r=l.find(t=>t.id.toString()===n);function o(t){return typeof t=="object"&&t!==null&&"projectName"in t?t.projectName:`Project #${t}`}function x(t){return typeof t=="object"&&t!==null&&"name"in t?t.name:`Customer #${t}`}return y?e("div",{className:"container mx-auto p-4 max-w-6xl",children:e("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:a("div",{className:"animate-pulse",children:[e("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),e("div",{className:"space-y-4",children:[...Array(5)].map((t,d)=>e("div",{className:"h-16 bg-gray-200 rounded"},d))})]})})}):l.length===0?e("div",{className:"container mx-auto p-4 max-w-6xl",children:e("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:a("div",{className:"text-center py-12",children:[e(p,{className:"mx-auto h-12 w-12 text-gray-400"}),e("h3",{className:"mt-2 text-sm font-semibold text-gray-900 dark:text-zinc-100",children:"No submissions found"}),e("p",{className:"mt-1 text-sm text-gray-500 dark:text-zinc-400",children:"You haven't submitted any delivery lead reports yet."})]})})}):a(S,{children:[e("div",{className:"container mx-auto p-4 max-w-6xl",children:a("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:[a("div",{className:"mb-6",children:[e("h2",{className:"text-2xl font-bold text-gray-900 dark:text-zinc-100",children:"My Delivery Lead Submissions"}),e("p",{className:"text-sm text-gray-500 dark:text-zinc-400 mt-1",children:"View all your submitted delivery lead reports"})]}),e("div",{className:"overflow-y-auto max-h-96",children:a("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-zinc-700",children:[e("thead",{className:"bg-gray-50 dark:bg-zinc-800 sticky top-0 z-10",children:a("tr",{children:[e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Project Details"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Delivery Lead"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Milestones"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Submitted"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Actions"})]})}),e("tbody",{className:"bg-white dark:bg-zinc-900 divide-y divide-gray-200 dark:divide-zinc-700",children:l.map(t=>a("tr",{className:"hover:bg-gray-50 dark:hover:bg-zinc-800/50",children:[e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{children:[e("div",{className:"text-sm font-medium text-gray-900 dark:text-zinc-100",children:o(t.project)}),a("div",{className:"text-sm text-gray-500 dark:text-zinc-400 flex items-center gap-1",children:[e(L,{className:"h-3 w-3"}),x(t.customer)]})]})}),e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{className:"text-sm text-gray-900 dark:text-zinc-100 flex items-center gap-1",children:[e(j,{className:"h-3 w-3"}),typeof t.project=="object"&&t.project!==null&&"deliveryLead"in t.project&&typeof t.project.deliveryLead=="object"&&t.project.deliveryLead!==null&&"name"in t.project.deliveryLead?t.project.deliveryLead.name:"\u2014"]})}),e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{className:"flex flex-wrap gap-1",children:[t.milestones?.slice(0,3).map((d,b)=>e("span",{className:`inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${g[d.rag]}`,children:d.rag},b)),t.milestones&&t.milestones.length>3&&a("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-gray-100 text-gray-800 border border-gray-200",children:["+",t.milestones.length-3," more"]}),!t.milestones&&e("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-gray-100 text-gray-800 border border-gray-200",children:"No milestones"})]})}),e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{className:"text-sm text-gray-500 dark:text-zinc-400 flex items-center gap-1",children:[e(w,{className:"h-3 w-3"}),c(t.createdAt)]})}),e("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium",children:e(m,{variant:"ghost",size:"sm",onClick:()=>s(t.id.toString()),className:"text-accent hover:text-accent/80",children:"View Details"})})]},t.id))})]})})]})}),r&&e("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:a("div",{className:"bg-white dark:bg-zinc-900 rounded-xl shadow-xl max-w-4xl w-full max-h-[90vh] overflow-y-auto",children:[a("div",{className:"flex items-center justify-between p-6 border-b border-gray-200 dark:border-zinc-700",children:[a("div",{children:[e("h2",{className:"text-xl font-semibold text-gray-900 dark:text-zinc-100",children:o(r.project)}),a("p",{className:"text-sm text-gray-500 dark:text-zinc-400",children:[x(r.customer)," \u2022"," ",c(r.createdAt)]})]}),e("button",{onClick:()=>s(null),className:"text-gray-400 hover:text-gray-600 dark:hover:text-zinc-300",children:e(D,{className:"h-6 w-6"})})]}),a("div",{className:"p-6 space-y-6",children:[a("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(p,{className:"h-4 w-4"}),"Project Summary"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.projectSummary})]}),a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(k,{className:"h-4 w-4"}),"Project Update"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.projectUpdate})]}),r.projectConcerns&&a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(N,{className:"h-4 w-4"}),"Project Concerns"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.projectConcerns})]}),r.commercialOpportunities&&a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(h,{className:"h-4 w-4"}),"Commercial Opportunities"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.commercialOpportunities})]}),r.commercialRisks&&a("div",{className:"lg:col-span-2",children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(z,{className:"h-4 w-4"}),"Commercial Risks"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.commercialRisks})]})]}),a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(f,{className:"h-4 w-4"}),"Milestones"]}),r.milestones&&r.milestones.length>0?e("div",{className:"bg-gray-50 dark:bg-zinc-800 rounded-lg border overflow-hidden",children:a("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-zinc-700",children:[e("thead",{className:"bg-gray-100 dark:bg-zinc-700",children:a("tr",{children:[e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Name"}),e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Commentary"}),e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Due Date"}),e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Status"})]})}),e("tbody",{className:"divide-y divide-gray-200 dark:divide-zinc-700",children:r.milestones.map((t,d)=>a("tr",{children:[e("td",{className:"px-4 py-2 text-sm text-gray-900 dark:text-zinc-100",children:t.name}),e("td",{className:"px-4 py-2 text-sm text-gray-600 dark:text-zinc-400",children:t.commentary||"-"}),e("td",{className:"px-4 py-2 text-sm text-gray-600 dark:text-zinc-400",children:t.dueDate?c(t.dueDate):"-"}),e("td",{className:"px-4 py-2",children:e("span",{className:`inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${g[t.rag]}`,children:t.rag})})]},d))})]})}):e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:"No milestones defined for this project."})]})]}),e("div",{className:"flex justify-end p-6 border-t border-gray-200 dark:border-zinc-700",children:e(m,{onClick:()=>s(null),variant:"outline",children:"Close"})})]})})]})}export{E as a};
4
+ import{a as i}from"./chunk-TVZOULLL.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{useState as v,useEffect as u}from"react";import{FileText as p,ListChecks as f,AlertTriangle as N,Users as k,Briefcase as h,ShieldAlert as z,Calendar as w,User as j,Building as L,X as D}from"lucide-react";import{Fragment as S,jsx as e,jsxs as a}from"react/jsx-runtime";var g={"On-Track":"bg-green-100 text-green-800 border-green-200","Off-Track":"bg-red-100 text-red-800 border-red-200","At Risk":"bg-yellow-100 text-yellow-800 border-yellow-200",Complete:"bg-blue-100 text-blue-800 border-blue-200"};function E({submissions:l,isLoading:y=!1}){let[n,s]=v(null);u(()=>{let t=d=>{d.key==="Escape"&&s(null)};if(n)return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[n]);let c=t=>new Date(t).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}),r=l.find(t=>t.id.toString()===n);function o(t){return typeof t=="object"&&t!==null&&"projectName"in t?t.projectName:`Project #${t}`}function x(t){return typeof t=="object"&&t!==null&&"name"in t?t.name:`Customer #${t}`}return y?e("div",{className:"container mx-auto p-4 max-w-6xl",children:e("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:a("div",{className:"animate-pulse",children:[e("div",{className:"h-8 bg-gray-200 rounded w-1/4 mb-6"}),e("div",{className:"space-y-4",children:[...Array(5)].map((t,d)=>e("div",{className:"h-16 bg-gray-200 rounded"},d))})]})})}):l.length===0?e("div",{className:"container mx-auto p-4 max-w-6xl",children:e("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:a("div",{className:"text-center py-12",children:[e(p,{className:"mx-auto h-12 w-12 text-gray-400"}),e("h3",{className:"mt-2 text-sm font-semibold text-gray-900 dark:text-zinc-100",children:"No submissions found"}),e("p",{className:"mt-1 text-sm text-gray-500 dark:text-zinc-400",children:"You haven't submitted any delivery lead reports yet."})]})})}):a(S,{children:[e("div",{className:"container mx-auto p-4 max-w-6xl",children:a("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:[a("div",{className:"mb-6",children:[e("h2",{className:"text-2xl font-bold text-gray-900 dark:text-zinc-100",children:"My Delivery Lead Submissions"}),e("p",{className:"text-sm text-gray-500 dark:text-zinc-400 mt-1",children:"View all your submitted delivery lead reports"})]}),e("div",{className:"overflow-y-auto max-h-96",children:a("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-zinc-700",children:[e("thead",{className:"bg-gray-50 dark:bg-zinc-800 sticky top-0 z-10",children:a("tr",{children:[e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Project Details"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Delivery Lead"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Milestones"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Submitted"}),e("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-zinc-400 uppercase tracking-wider",children:"Actions"})]})}),e("tbody",{className:"bg-white dark:bg-zinc-900 divide-y divide-gray-200 dark:divide-zinc-700",children:l.map(t=>a("tr",{className:"hover:bg-gray-50 dark:hover:bg-zinc-800/50",children:[e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{children:[e("div",{className:"text-sm font-medium text-gray-900 dark:text-zinc-100",children:o(t.project)}),a("div",{className:"text-sm text-gray-500 dark:text-zinc-400 flex items-center gap-1",children:[e(L,{className:"h-3 w-3"}),x(t.customer)]})]})}),e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{className:"text-sm text-gray-900 dark:text-zinc-100 flex items-center gap-1",children:[e(j,{className:"h-3 w-3"}),typeof t.project=="object"&&t.project!==null&&"deliveryLead"in t.project&&typeof t.project.deliveryLead=="object"&&t.project.deliveryLead!==null&&"name"in t.project.deliveryLead?t.project.deliveryLead.name:"\u2014"]})}),e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{className:"flex flex-wrap gap-1",children:[t.milestones?.slice(0,3).map((d,b)=>e("span",{className:`inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${g[d.rag]}`,children:d.rag},b)),t.milestones&&t.milestones.length>3&&a("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-gray-100 text-gray-800 border border-gray-200",children:["+",t.milestones.length-3," more"]}),!t.milestones&&e("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-gray-100 text-gray-800 border border-gray-200",children:"No milestones"})]})}),e("td",{className:"px-6 py-4 whitespace-nowrap",children:a("div",{className:"text-sm text-gray-500 dark:text-zinc-400 flex items-center gap-1",children:[e(w,{className:"h-3 w-3"}),c(t.createdAt)]})}),e("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium",children:e(m,{variant:"ghost",size:"sm",onClick:()=>s(t.id.toString()),className:"text-accent hover:text-accent/80",children:"View Details"})})]},t.id))})]})})]})}),r&&e("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center p-4 z-50",children:a("div",{className:"bg-white dark:bg-zinc-900 rounded-xl shadow-xl max-w-4xl w-full max-h-[90vh] overflow-y-auto",children:[a("div",{className:"flex items-center justify-between p-6 border-b border-gray-200 dark:border-zinc-700",children:[a("div",{children:[e("h2",{className:"text-xl font-semibold text-gray-900 dark:text-zinc-100",children:o(r.project)}),a("p",{className:"text-sm text-gray-500 dark:text-zinc-400",children:[x(r.customer)," \u2022"," ",c(r.createdAt)]})]}),e("button",{onClick:()=>s(null),className:"text-gray-400 hover:text-gray-600 dark:hover:text-zinc-300",children:e(D,{className:"h-6 w-6"})})]}),a("div",{className:"p-6 space-y-6",children:[a("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(p,{className:"h-4 w-4"}),"Project Summary"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.projectSummary})]}),a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(k,{className:"h-4 w-4"}),"Project Update"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.projectUpdate})]}),r.projectConcerns&&a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(N,{className:"h-4 w-4"}),"Project Concerns"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.projectConcerns})]}),r.commercialOpportunities&&a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(h,{className:"h-4 w-4"}),"Commercial Opportunities"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.commercialOpportunities})]}),r.commercialRisks&&a("div",{className:"lg:col-span-2",children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(z,{className:"h-4 w-4"}),"Commercial Risks"]}),e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:r.commercialRisks})]})]}),a("div",{children:[a(i,{className:"text-sm font-semibold text-gray-700 dark:text-zinc-300 mb-2 flex items-center gap-1",children:[e(f,{className:"h-4 w-4"}),"Milestones"]}),r.milestones&&r.milestones.length>0?e("div",{className:"bg-gray-50 dark:bg-zinc-800 rounded-lg border overflow-hidden",children:a("table",{className:"min-w-full divide-y divide-gray-200 dark:divide-zinc-700",children:[e("thead",{className:"bg-gray-100 dark:bg-zinc-700",children:a("tr",{children:[e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Name"}),e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Commentary"}),e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Due Date"}),e("th",{className:"px-4 py-2 text-left text-xs font-medium text-gray-500 dark:text-zinc-400",children:"Status"})]})}),e("tbody",{className:"divide-y divide-gray-200 dark:divide-zinc-700",children:r.milestones.map((t,d)=>a("tr",{children:[e("td",{className:"px-4 py-2 text-sm text-gray-900 dark:text-zinc-100",children:t.name}),e("td",{className:"px-4 py-2 text-sm text-gray-600 dark:text-zinc-400",children:t.commentary||"-"}),e("td",{className:"px-4 py-2 text-sm text-gray-600 dark:text-zinc-400",children:t.dueDate?c(t.dueDate):"-"}),e("td",{className:"px-4 py-2",children:e("span",{className:`inline-flex items-center px-2 py-1 rounded-full text-xs font-medium border ${g[t.rag]}`,children:t.rag})})]},d))})]})}):e("p",{className:"text-sm text-gray-600 dark:text-zinc-400 bg-gray-50 dark:bg-zinc-800 p-3 rounded-lg border",children:"No milestones defined for this project."})]})]}),e("div",{className:"flex justify-end p-6 border-t border-gray-200 dark:border-zinc-700",children:e(m,{onClick:()=>s(null),variant:"outline",children:"Close"})})]})})]})}export{E 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-hover-card";import{jsx as m}from"react/jsx-runtime";var p=e.Root,v=e.Trigger,s=o.forwardRef(({className:a,align:r="center",sideOffset:i=4,...d},n)=>m(e.Content,{ref:n,align:r,sideOffset:i,className:t("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...d}));s.displayName=e.Content.displayName;export{p as a,v as b,s as c};
4
+ import{a as t}from"./chunk-MDJREBVI.mjs";import*as o from"react";import*as e from"@radix-ui/react-hover-card";import{jsx as m}from"react/jsx-runtime";var p=e.Root,v=e.Trigger,s=o.forwardRef(({className:a,align:r="center",sideOffset:i=4,...d},n)=>m(e.Content,{ref:n,align:r,sideOffset:i,className:t("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a),...d}));s.displayName=e.Content.displayName;export{p as a,v as b,s as c};
@@ -1 +1 @@
1
- import{a as e}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-TSEOL53Y.mjs";import o from"next/image";import{jsx as l,jsxs as h}from"react/jsx-runtime";function m({logoLight:t,logoDark:a,mobile:r=!1}){return h(e,{href:"/",className:i(r?"py-1":"py-2"),children:[l(o,{className:"logo-light dark:hidden",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),l(o,{className:"hidden dark:block",src:a.src,width:a.width,height:a.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}export{m as a};
1
+ import{a as e}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-MDJREBVI.mjs";import o from"next/image";import{jsx as l,jsxs as h}from"react/jsx-runtime";function m({logoLight:t,logoDark:a,mobile:r=!1}){return h(e,{href:"/",className:i(r?"py-1":"py-2"),children:[l(o,{className:"logo-light dark:hidden",src:t.src,width:t.width,height:t.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}}),l(o,{className:"hidden dark:block",src:a.src,width:a.width,height:a.height,alt:`${process.env.NEXT_PUBLIC_SITE_NAME} brand logo`,sizes:"100vw",priority:!0,style:{width:"auto",height:r?35:50}})]})}export{m as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as u}from"./chunk-GIGKJZGA.mjs";import{a as b}from"./chunk-6CAO4IKW.mjs";import{a as N}from"./chunk-3GLK3JM6.mjs";import{a as m,b as d,c as p,d as f}from"./chunk-BIAOADJS.mjs";import{b as a}from"./chunk-7Z3TOFNL.mjs";import{a as v,b as g,c as h}from"./chunk-RFNYVF6F.mjs";import{useState as T}from"react";import{motion as e}from"motion/react";import{Bell as $,Menu as q,PanelLeft as E,Bot as G}from"lucide-react";import{Fragment as J,jsx as t,jsxs as i}from"react/jsx-runtime";function at({title:Q,notifications:x=[],onToggleSidebar:w,onToggleMobileMenu:y,sidebarOpen:C=!0,className:A,activeTab:k="assistant",onTabChange:P,showTabs:O=!0,tabOptions:R=[{value:"home",label:"Home"},{value:"chat",label:"Chat"},{value:"projects",label:"Projects"},{value:"colleagues",label:"Colleagues"},{value:"knowledge",label:"Knowledge"}],onActionClick:B,actionIcon:H=t(G,{className:"mr-2 h-4 w-4"}),actionText:j="Action",onNotificationRemove:z,onRemoveAll:D,logo:I="/headerlogo.png",appName:L="Nuvia",tagline:M="Collaboration Platform"}){let[F,l]=T(!1),[r,c]=T(x),n=r.filter(o=>!o.read).length,S=o=>{c(s=>s.filter(U=>U.id!==o)),z?.(o)},K=()=>{c(o=>o.filter(s=>s.read)),D?.()};return i(J,{children:[i("header",{className:`sticky top-0 z-10 flex h-16 items-center gap-3 pl-2 pr-4 backdrop-blur ${A||""}`,children:[t(a,{variant:"ghost",size:"icon",className:"md:hidden",onClick:y,children:t(q,{className:"h-5 w-5"})}),t(a,{variant:"ghost",size:"icon",className:"hidden md:flex",onClick:w,children:t(E,{className:"h-5 w-5"})}),!C&&i(e.div,{className:"flex items-center gap-3",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.3},children:[t("div",{className:"flex h-10 w-10 items-center justify-center",children:t("img",{src:I,alt:"Logo",className:"h-10 w-10 object-contain"})}),i("div",{children:[t("h2",{className:"font-semibold text-sm",children:L}),t("p",{className:"text-xs text-muted-foreground",children:M})]})]}),i("div",{className:"flex flex-1 items-center",children:[O&&t(b,{activeTab:k,onTabChange:P,tabOptions:R}),i("div",{className:"flex items-center gap-3 ml-auto",children:[t(e.div,{className:"hidden md:flex gap-2",initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.3,ease:"easeOut",delay:.1},children:t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(a,{className:"rounded-2xl transition-all duration-200 hover:shadow-md",onClick:B,children:[H,j]})})}),t(u,{}),t(m,{children:i(d,{children:[t(p,{asChild:!0,children:t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(a,{variant:"ghost",size:"icon",className:"rounded-2xl relative transition-all duration-200",onClick:()=>l(!0),children:[t(e.div,{animate:n>0?{rotate:[0,-10,10,-10,0]}:{},transition:{duration:.5,repeat:n>0?1/0:0,repeatDelay:3},children:t($,{className:"h-5 w-5"})}),n>0&&t(e.span,{className:"absolute -right-1 -top-1 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-xs text-white",initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:500,damping:15},children:n})]})})}),t(f,{children:"Notifications"})]})}),t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(v,{className:"h-9 w-9 border-2 border-primary transition-all duration-200 hover:shadow-md cursor-pointer",children:[t(g,{src:"/placeholder.svg?height=40&width=40",alt:"User"}),t(h,{})]})})]})]})]}),t(N,{notifications:r,open:F,onClose:()=>l(!1),onNotificationRemove:S,onRemoveAll:K})]})}export{at as a};
4
+ import{a as u}from"./chunk-AZKOVKSK.mjs";import{a as b}from"./chunk-FGEFYI5E.mjs";import{a as N}from"./chunk-MU5WPW4N.mjs";import{a as m,b as d,c as p,d as f}from"./chunk-KY7WQYN4.mjs";import{b as a}from"./chunk-ZUA4KNIR.mjs";import{a as v,b as g,c as h}from"./chunk-SOLZ4VQH.mjs";import{useState as T}from"react";import{motion as e}from"motion/react";import{Bell as $,Menu as q,PanelLeft as E,Bot as G}from"lucide-react";import{Fragment as J,jsx as t,jsxs as i}from"react/jsx-runtime";function at({title:Q,notifications:x=[],onToggleSidebar:w,onToggleMobileMenu:y,sidebarOpen:C=!0,className:A,activeTab:k="assistant",onTabChange:P,showTabs:O=!0,tabOptions:R=[{value:"home",label:"Home"},{value:"chat",label:"Chat"},{value:"projects",label:"Projects"},{value:"colleagues",label:"Colleagues"},{value:"knowledge",label:"Knowledge"}],onActionClick:B,actionIcon:H=t(G,{className:"mr-2 h-4 w-4"}),actionText:j="Action",onNotificationRemove:z,onRemoveAll:D,logo:I="/headerlogo.png",appName:L="Nuvia",tagline:M="Collaboration Platform"}){let[F,l]=T(!1),[r,c]=T(x),n=r.filter(o=>!o.read).length,S=o=>{c(s=>s.filter(U=>U.id!==o)),z?.(o)},K=()=>{c(o=>o.filter(s=>s.read)),D?.()};return i(J,{children:[i("header",{className:`sticky top-0 z-10 flex h-16 items-center gap-3 pl-2 pr-4 backdrop-blur ${A||""}`,children:[t(a,{variant:"ghost",size:"icon",className:"md:hidden",onClick:y,children:t(q,{className:"h-5 w-5"})}),t(a,{variant:"ghost",size:"icon",className:"hidden md:flex",onClick:w,children:t(E,{className:"h-5 w-5"})}),!C&&i(e.div,{className:"flex items-center gap-3",initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{duration:.3},children:[t("div",{className:"flex h-10 w-10 items-center justify-center",children:t("img",{src:I,alt:"Logo",className:"h-10 w-10 object-contain"})}),i("div",{children:[t("h2",{className:"font-semibold text-sm",children:L}),t("p",{className:"text-xs text-muted-foreground",children:M})]})]}),i("div",{className:"flex flex-1 items-center",children:[O&&t(b,{activeTab:k,onTabChange:P,tabOptions:R}),i("div",{className:"flex items-center gap-3 ml-auto",children:[t(e.div,{className:"hidden md:flex gap-2",initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.3,ease:"easeOut",delay:.1},children:t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(a,{className:"rounded-2xl transition-all duration-200 hover:shadow-md",onClick:B,children:[H,j]})})}),t(u,{}),t(m,{children:i(d,{children:[t(p,{asChild:!0,children:t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(a,{variant:"ghost",size:"icon",className:"rounded-2xl relative transition-all duration-200",onClick:()=>l(!0),children:[t(e.div,{animate:n>0?{rotate:[0,-10,10,-10,0]}:{},transition:{duration:.5,repeat:n>0?1/0:0,repeatDelay:3},children:t($,{className:"h-5 w-5"})}),n>0&&t(e.span,{className:"absolute -right-1 -top-1 flex h-5 w-5 items-center justify-center rounded-full bg-red-500 text-xs text-white",initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:500,damping:15},children:n})]})})}),t(f,{children:"Notifications"})]})}),t(e.div,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:i(v,{className:"h-9 w-9 border-2 border-primary transition-all duration-200 hover:shadow-md cursor-pointer",children:[t(g,{src:"/placeholder.svg?height=40&width=40",alt:"User"}),t(h,{})]})})]})]})]}),t(N,{notifications:r,open:F,onClose:()=>l(!1),onNotificationRemove:S,onRemoveAll:K})]})}export{at as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as d}from"./chunk-TSEOL53Y.mjs";import{useState as x,useEffect as P}from"react";import y from"next/link";import{Printer as V,Presentation as $}from"lucide-react";import{usePathname as R}from"next/navigation";import{ExternalLink as M}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";var H=({children:m,pageId:g,tableOfContents:v=[],edit:h=!0,path:r="/admin/collections/pages/",relatedContent:u=[{title:"Related Content",links:[]}]})=>{let[c,b]=x(!1),w=()=>{b(!c)};return P(()=>{if(typeof window>"u")return;let l=()=>{let i=window.location.hash;if(i){let f=i.substring(1),n=document.getElementById(f);if(n){let p=n.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:p,behavior:"smooth"})}}};return l(),window.addEventListener("hashchange",l),()=>{window.removeEventListener("hashchange",l)}},[]),a("div",{className:"",children:[e("div",{className:d(c?"col-span-3":"col-span-4","xl:col-span-3"),children:m}),e(I,{pageId:g,tableOfContents:v,edit:h,path:r,relatedContent:u,isSidebarVisible:c}),e("div",{className:"block md:hidden mt-8",children:e("div",{className:"space-y-6",children:m})})]})};var I=({pageId:m,tableOfContents:g=[],edit:v=!0,path:h="/admin/collections/pages/",relatedContent:r=[{title:"Related Content",links:[]}],isSidebarVisible:u})=>{let[c,b]=x(""),[w,l]=x(!1),[i,f]=x(!1),n=R(),C=()=>{l(!w),f(!1)},p=()=>{f(!i),l(!1)},N=t=>{switch(t){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},k=()=>{let t=n.split("/"),o="/print"+n,s=window.open(o,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");s&&s.focus()},L=()=>{let t=n.split("/"),o="/present"+n,s=window.open(o,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");s&&s.focus()};return e("div",{className:d("fixed right-2 z-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-x-full",u?"translate-x-0":"md:translate-x-0"),children:a("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[a("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card p-2.5 shadow-lg backdrop-blur-lg min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[a(y,{href:`${h}${m}`,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),e("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),a("a",{onClick:C,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:e("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),e("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),a("a",{onClick:p,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),e("small",{className:"text-center text-xs font-medium",children:" Related "})]}),e("hr",{className:"dark:border-gray-400"}),a("a",{onClick:L,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),e("small",{className:"text-xs font-medium",children:"Present"})]}),a("a",{onClick:k,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]})]}),w&&e("div",{className:d("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:a("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[e("div",{className:"flex text-accent",children:"On this Page"}),e("ul",{className:"flex flex-col space-y-2",children:g.map((t,o)=>e("li",{className:N(t.tag),children:e("a",{href:`#${t.id}`,className:`text-xs ${c===t.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:t.text})},o))})]})}),i&&r&&r.length>0&&e("div",{className:d("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:a("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[e("div",{className:"flex text-accent",children:"Related Content"}),e("ul",{className:"flex flex-col space-y-2",children:r.map((t,o)=>t.links&&t.links.length>0?t.links.map((s,z)=>a(y,{href:s.href,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[s.name,s.href.startsWith("http")&&e(M,{className:"ml-1 h-3 w-3"})]},z)):null)})]})})]})})};export{H as a};
4
+ import{a as d}from"./chunk-MDJREBVI.mjs";import{useState as x,useEffect as P}from"react";import y from"next/link";import{Printer as V,Presentation as $}from"lucide-react";import{usePathname as R}from"next/navigation";import{ExternalLink as M}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";var H=({children:m,pageId:g,tableOfContents:v=[],edit:h=!0,path:r="/admin/collections/pages/",relatedContent:u=[{title:"Related Content",links:[]}]})=>{let[c,b]=x(!1),w=()=>{b(!c)};return P(()=>{if(typeof window>"u")return;let l=()=>{let i=window.location.hash;if(i){let f=i.substring(1),n=document.getElementById(f);if(n){let p=n.getBoundingClientRect().top+window.pageYOffset+-300;window.scrollTo({top:p,behavior:"smooth"})}}};return l(),window.addEventListener("hashchange",l),()=>{window.removeEventListener("hashchange",l)}},[]),a("div",{className:"",children:[e("div",{className:d(c?"col-span-3":"col-span-4","xl:col-span-3"),children:m}),e(I,{pageId:g,tableOfContents:v,edit:h,path:r,relatedContent:u,isSidebarVisible:c}),e("div",{className:"block md:hidden mt-8",children:e("div",{className:"space-y-6",children:m})})]})};var I=({pageId:m,tableOfContents:g=[],edit:v=!0,path:h="/admin/collections/pages/",relatedContent:r=[{title:"Related Content",links:[]}],isSidebarVisible:u})=>{let[c,b]=x(""),[w,l]=x(!1),[i,f]=x(!1),n=R(),C=()=>{l(!w),f(!1)},p=()=>{f(!i),l(!1)},N=t=>{switch(t){case"h3":return"ml-4";case"h4":return"ml-8";default:return""}},k=()=>{let t=n.split("/"),o="/print"+n,s=window.open(o,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");s&&s.focus()},L=()=>{let t=n.split("/"),o="/present"+n,s=window.open(o,"Print","width=1754,height=1240,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");s&&s.focus()};return e("div",{className:d("fixed right-2 z-20 top-1/4 space-y-6 transform transition-transform duration-300 translate-x-full",u?"translate-x-0":"md:translate-x-0"),children:a("div",{className:"flex flex-row-reverse z-20 min-w-64 gap-4",children:[a("nav",{className:"z-20 flex grow-0 justify-end gap-4 border-gray-200 bg-card p-2.5 shadow-lg backdrop-blur-lg min-h-[auto] min-w-[54px] flex-col rounded-lg border",children:[a(y,{href:`${h}${m}`,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M454.6 45.3l12.1 12.1c12.5 12.5 12.5 32.8 0 45.3L440 129.4 382.6 72l26.7-26.7c12.5-12.5 32.8-12.5 45.3 0zM189 265.6l171-171L417.4 152l-171 171c-4.2 4.2-9.6 7.2-15.4 8.6l-65.6 15.1L180.5 281c1.3-5.8 4.3-11.2 8.6-15.4zm197.7-243L166.4 243c-8.5 8.5-14.4 19.2-17.1 30.9l-20.9 90.6c-1.2 5.4 .4 11 4.3 14.9s9.5 5.5 14.9 4.3l90.6-20.9c11.7-2.7 22.4-8.6 30.9-17.1L489.4 125.3c25-25 25-65.5 0-90.5L477.3 22.6c-25-25-65.5-25-90.5 0zM80 64C35.8 64 0 99.8 0 144L0 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-128c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 128c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48l128 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 64z"})}),e("small",{className:"text-center text-xs font-medium",children:" Edit "})]}),a("a",{onClick:C,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",fill:"currentColor",children:e("path",{d:"M16 80C7.2 80 0 87.2 0 96s7.2 16 16 16l416 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 80zM144 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0zM128 416c0 8.8 7.2 16 16 16l288 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-288 0c-8.8 0-16 7.2-16 16zM0 432c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16s-16 7.2-16 16L0 432z"})}),e("small",{className:"text-center text-xs font-medium",children:" Contents "})]}),a("a",{onClick:p,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M136 64c13.3 0 24 10.7 24 24l0 24 0 32 0 24c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0zm56 104l0-24 192 0 0 24c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-30.9 0-56 25.1-56 56l0 24-192 0 0-24c0-30.9-25.1-56-56-56L56 32C25.1 32 0 57.1 0 88l0 80c0 30.9 25.1 56 56 56l80 0c8.6 0 16.7-1.9 24-5.4l72.2 96.3c-5.2 8.5-8.2 18.5-8.2 29.1l0 80c0 30.9 25.1 56 56 56l80 0c30.9 0 56-25.1 56-56l0-80c0-30.9-25.1-56-56-56l-80 0c-8.6 0-16.7 1.9-24 5.4l-72.2-96.3c5.2-8.5 8.2-18.5 8.2-29.1zm224 0l0-24 0-32 0-24c0-13.3 10.7-24 24-24l80 0c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24zM360 320c13.3 0 24 10.7 24 24l0 80c0 13.3-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24l0-80c0-13.3 10.7-24 24-24l80 0z"})}),e("small",{className:"text-center text-xs font-medium",children:" Related "})]}),e("hr",{className:"dark:border-gray-400"}),a("a",{onClick:L,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",fill:"currentColor",children:e("path",{d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l544 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L16 0zM32 64l0 224c0 35.3 28.7 64 64 64l176 0 0 41.4-91.3 91.3c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L288 422.6l84.7 84.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L304 393.4l0-41.4 176 0c35.3 0 64-28.7 64-64l0-224-32 0 0 224c0 17.7-14.3 32-32 32l-192 0L96 320c-17.7 0-32-14.3-32-32L64 64 32 64z"})}),e("small",{className:"text-xs font-medium",children:"Present"})]}),a("a",{onClick:k,className:"flex aspect-square min-h-[25px] w-12 flex-col items-center justify-center gap-1 rounded-md p-1.5 text-gray-700 dark:text-gray-400 hover:text-accent",children:[e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor",children:e("path",{d:"M96 160l-32 0 0-96C64 28.7 92.7 0 128 0L357.5 0c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 18.7 28.3 18.7 45.3l0 69.5-32 0 0-69.5c0-8.5-3.4-16.6-9.4-22.6L380.1 41.4c-6-6-14.1-9.4-22.6-9.4L128 32c-17.7 0-32 14.3-32 32l0 96zm352 64L64 224c-17.7 0-32 14.3-32 32l0 128 32 0 0-32c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l0 32 32 0 0-128c0-17.7-14.3-32-32-32zm0 192l0 64c0 17.7-14.3 32-32 32L96 512c-17.7 0-32-14.3-32-32l0-64-32 0c-17.7 0-32-14.3-32-32L0 256c0-35.3 28.7-64 64-64l384 0c35.3 0 64 28.7 64 64l0 128c0 17.7-14.3 32-32 32l-32 0zM96 352l0 128 320 0 0-128L96 352zM432 248a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"})}),e("small",{className:"text-xs font-medium",children:"Print"})]})]}),w&&e("div",{className:d("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:a("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[e("div",{className:"flex text-accent",children:"On this Page"}),e("ul",{className:"flex flex-col space-y-2",children:g.map((t,o)=>e("li",{className:N(t.tag),children:e("a",{href:`#${t.id}`,className:`text-xs ${c===t.id?"text-accent font-semibold":"text-primary dark:text-foreground"} hover:text-accent`,children:t.text})},o))})]})}),i&&r&&r.length>0&&e("div",{className:d("z-50 flex shrink-0 grow-0 gap-4 border-t border-gray-200 bg-white/50 p-2.5 shadow-lg backdrop-blur-lg dark:border-slate-600/60 dark:bg-slate-800/50 min-h-[auto] min-w-[54px] flex-col rounded-lg border"),children:a("div",{className:"flex flex-col m-2 justify-start z-50 min-w-64",children:[e("div",{className:"flex text-accent",children:"Related Content"}),e("ul",{className:"flex flex-col space-y-2",children:r.map((t,o)=>t.links&&t.links.length>0?t.links.map((s,z)=>a(y,{href:s.href,className:"inline-flex items-center text-sm text-primary dark:text-foreground hover:text-accent",children:[s.name,s.href.startsWith("http")&&e(M,{className:"ml-1 h-3 w-3"})]},z)):null)})]})})]})})};export{H as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as n}from"./chunk-AQIMDHFI.mjs";import{a as x}from"./chunk-BM2ZNFM6.mjs";import{a as A}from"./chunk-6CAO4IKW.mjs";import{a as w}from"./chunk-GJUA2KUH.mjs";import{b as v}from"./chunk-7Z3TOFNL.mjs";import{a as g,e as y}from"./chunk-7WKUKFCT.mjs";import{useEffect as U,useState as r}from"react";import{Plus as V,Search as $,File as R,Filter as q}from"lucide-react";import{motion as z,AnimatePresence as G}from"motion/react";import{jsx as e,jsxs as i}from"react/jsx-runtime";function M({initialFiles:c=[],onFileAdd:k,onFileEdit:S,onFileDelete:D,onFileClick:E,compactView:d=!1,className:H}){let[h,C]=r(c),[a,N]=r(""),[o,P]=r("all"),[s,B]=r("all");U(()=>{C(c)},[c]);let O=Array.from(new Set(h.map(l=>l.mimeType))),t=h.filter(l=>{let F=l.name.toLowerCase().includes(a.toLowerCase()),u=o==="all"||l.mimeType===o;return F&&u}),b=t.slice(0,10),I=t.filter(Boolean),T=()=>{k?.()},m=l=>{S?.(l)},p=l=>{console.log("deleting file",l),C(F=>F.filter(u=>u.name!==l.name)),D?.(l.id)},f=l=>{E?.(l)},L=()=>{N(""),P("all")};return e("div",{className:"px-2 md:px-4 py-4 space-y-8",children:e(G,{mode:"wait",children:e(z.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:i("div",{className:`space-y-6 ${H||""}`,children:[e(x,{title:"Files",description:"Manage and organize your files and documents.",gradient:"bg-gradient-to-r from-blue-600 via-indigo-600 to-purple-600",primaryAction:{label:"Upload file",onClick:T},secondaryAction:{label:"Download all",onClick:()=>console.log("Download all clicked")}}),e(g,{children:e(y,{className:"pt-6",children:i("div",{className:"flex flex-col md:flex-row gap-4",children:[e("div",{className:"flex-1",children:i("div",{className:"relative",children:[e($,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(w,{placeholder:"Search files...",value:a,onChange:l=>N(l.target.value),className:"pl-9"})]})}),(a||o!=="all")&&i(v,{variant:"outline",onClick:L,className:"gap-2",children:[e(q,{className:"h-4 w-4"}),"Clear"]})]})})}),i("div",{className:"space-y-4",children:[e(A,{activeTab:s,onTabChange:B,tabOptions:[{value:"all",label:`All Files (${t.length})`},{value:"recent",label:`Recent (${b.length})`}],maxWidth:"500px",gridCols:3}),s==="all"&&e(n,{files:t,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d}),s==="recent"&&e(n,{files:b,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d}),s==="shared"&&e(n,{files:I,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d})]}),t.length===0&&e(g,{children:e(y,{className:"pt-6",children:i("div",{className:"text-center py-8",children:[e(R,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e("h3",{className:"text-lg font-semibold mb-2",children:"No files found"}),e("p",{className:"text-muted-foreground mb-4",children:a||o!=="all"?"Try adjusting your filters to see more results.":"Get started by uploading your first file."}),i(v,{onClick:T,className:"gap-2",children:[e(V,{className:"h-4 w-4"}),"Upload File"]})]})})})]})},"files-view")})})}export{M as a};
4
+ import{a as n}from"./chunk-DSSHQ6K7.mjs";import{a as x}from"./chunk-Z22NSJMF.mjs";import{a as A}from"./chunk-FGEFYI5E.mjs";import{a as w}from"./chunk-L5JPAKPM.mjs";import{b as v}from"./chunk-ZUA4KNIR.mjs";import{a as g,e as y}from"./chunk-YO3GQYRJ.mjs";import{useEffect as U,useState as r}from"react";import{Plus as V,Search as $,File as R,Filter as q}from"lucide-react";import{motion as z,AnimatePresence as G}from"motion/react";import{jsx as e,jsxs as i}from"react/jsx-runtime";function M({initialFiles:c=[],onFileAdd:k,onFileEdit:S,onFileDelete:D,onFileClick:E,compactView:d=!1,className:H}){let[h,C]=r(c),[a,N]=r(""),[o,P]=r("all"),[s,B]=r("all");U(()=>{C(c)},[c]);let O=Array.from(new Set(h.map(l=>l.mimeType))),t=h.filter(l=>{let F=l.name.toLowerCase().includes(a.toLowerCase()),u=o==="all"||l.mimeType===o;return F&&u}),b=t.slice(0,10),I=t.filter(Boolean),T=()=>{k?.()},m=l=>{S?.(l)},p=l=>{console.log("deleting file",l),C(F=>F.filter(u=>u.name!==l.name)),D?.(l.id)},f=l=>{E?.(l)},L=()=>{N(""),P("all")};return e("div",{className:"px-2 md:px-4 py-4 space-y-8",children:e(G,{mode:"wait",children:e(z.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:i("div",{className:`space-y-6 ${H||""}`,children:[e(x,{title:"Files",description:"Manage and organize your files and documents.",gradient:"bg-gradient-to-r from-blue-600 via-indigo-600 to-purple-600",primaryAction:{label:"Upload file",onClick:T},secondaryAction:{label:"Download all",onClick:()=>console.log("Download all clicked")}}),e(g,{children:e(y,{className:"pt-6",children:i("div",{className:"flex flex-col md:flex-row gap-4",children:[e("div",{className:"flex-1",children:i("div",{className:"relative",children:[e($,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),e(w,{placeholder:"Search files...",value:a,onChange:l=>N(l.target.value),className:"pl-9"})]})}),(a||o!=="all")&&i(v,{variant:"outline",onClick:L,className:"gap-2",children:[e(q,{className:"h-4 w-4"}),"Clear"]})]})})}),i("div",{className:"space-y-4",children:[e(A,{activeTab:s,onTabChange:B,tabOptions:[{value:"all",label:`All Files (${t.length})`},{value:"recent",label:`Recent (${b.length})`}],maxWidth:"500px",gridCols:3}),s==="all"&&e(n,{files:t,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d}),s==="recent"&&e(n,{files:b,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d}),s==="shared"&&e(n,{files:I,onFileClick:f,onFileEdit:m,onFileDelete:p,showHeader:!d})]}),t.length===0&&e(g,{children:e(y,{className:"pt-6",children:i("div",{className:"text-center py-8",children:[e(R,{className:"h-12 w-12 text-muted-foreground mx-auto mb-4"}),e("h3",{className:"text-lg font-semibold mb-2",children:"No files found"}),e("p",{className:"text-muted-foreground mb-4",children:a||o!=="all"?"Try adjusting your filters to see more results.":"Get started by uploading your first file."}),i(v,{onClick:T,className:"gap-2",children:[e(V,{className:"h-4 w-4"}),"Upload File"]})]})})})]})},"files-view")})})}export{M as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as K}from"./chunk-RAAY7PEH.mjs";import{a as y}from"./chunk-JVJG2LOA.mjs";import{a as k}from"./chunk-GJUA2KUH.mjs";import{b as p}from"./chunk-7Z3TOFNL.mjs";import{b as d}from"./chunk-2JKLBLDE.mjs";import{a as u,e as v}from"./chunk-7WKUKFCT.mjs";import{useState as h,useEffect as A}from"react";import{Search as D,X as F,FileText as L,Tag as I}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function H({selectedDocuments:l,onDocumentsChange:N,availableDocuments:x,label:S,placeholder:B="Search knowledge documents...",maxSelections:r,disabled:c=!1}){let[i,w]=h(""),[f,C]=h([]),[g,n]=h(!1);A(()=>{if(!i.trim()){C([]),n(!1);return}let e=x.filter(a=>{if(l.map(m=>m.id).includes(a.id))return!1;let o=i.toLowerCase();return a.title.toLowerCase().includes(o)||a.description?.toLowerCase().includes(o)||a.tags?.some(m=>m.toLowerCase().includes(o))||Object.values(a.metadata||{}).some(m=>String(m).toLowerCase().includes(o))});C(e),n(!0)},[i,l,x]);let z=e=>{r&&l.length>=r||(N([...l,e]),w(""),n(!1))},T=e=>{N(l.filter(a=>a.id!==e))},b=!r||l.length<r;return s("div",{className:"space-y-2",children:[t(K,{children:S}),s("div",{className:"relative",children:[s("div",{className:"relative",children:[t(D,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t(k,{value:i,onChange:e=>w(e.target.value),placeholder:b?B:`Maximum ${r} documents selected`,className:"pl-9",disabled:c||!b,onFocus:()=>i&&n(!0)})]}),g&&f.length>0&&t(u,{className:"absolute top-full left-0 right-0 z-10 mt-1 max-h-60",children:t(y,{className:"h-full",children:t(v,{className:"p-2",children:f.map(e=>t(p,{variant:"ghost",className:"w-full justify-start h-auto p-3 mb-1",onClick:()=>z(e),disabled:c,children:s("div",{className:"flex items-start gap-3 w-full",children:[t(L,{className:"h-4 w-4 mt-0.5 text-muted-foreground flex-shrink-0"}),s("div",{className:"text-left flex-1 min-w-0",children:[t("div",{className:"font-medium text-sm truncate",children:e.title}),e.description&&t("div",{className:"text-xs text-muted-foreground mt-1 line-clamp-2",children:e.description}),e.tags&&e.tags.length>0&&s("div",{className:"flex flex-wrap gap-1 mt-2",children:[e.tags.slice(0,3).map(a=>t(d,{variant:"outline",className:"text-xs",children:a},a)),e.tags.length>3&&s(d,{variant:"outline",className:"text-xs",children:["+",e.tags.length-3," more"]})]})]})]})},e.id))})})}),g&&i&&f.length===0&&t(u,{className:"absolute top-full left-0 right-0 z-10 mt-1",children:s(v,{className:"p-4 text-center text-sm text-muted-foreground",children:['No knowledge documents found for "',i,'"']})})]}),l.length>0&&s("div",{className:"space-y-2",children:[s("div",{className:"text-sm text-muted-foreground",children:["Selected (",l.length,r&&`/${r}`,")"]}),t("div",{className:"space-y-2",children:l.map(e=>t(u,{className:"p-3",children:s("div",{className:"flex items-start gap-3",children:[t(L,{className:"h-4 w-4 mt-0.5 text-muted-foreground flex-shrink-0"}),s("div",{className:"flex-1 min-w-0",children:[t("div",{className:"font-medium text-sm",children:e.title}),e.description&&t("div",{className:"text-xs text-muted-foreground mt-1",children:e.description}),e.tags&&e.tags.length>0&&t("div",{className:"flex flex-wrap gap-1 mt-2",children:e.tags.map(a=>s(d,{variant:"outline",className:"text-xs",children:[t(I,{className:"h-3 w-3 mr-1"}),a]},a))})]}),t(p,{type:"button",variant:"ghost",size:"icon",className:"h-6 w-6 flex-shrink-0",onClick:()=>T(e.id),disabled:c,children:t(F,{className:"h-3 w-3"})})]})},e.id))})]}),g&&t("div",{className:"fixed inset-0 z-0",onClick:()=>n(!1)})]})}export{H as a};
4
+ import{a as K}from"./chunk-TVZOULLL.mjs";import{a as y}from"./chunk-FT3AE7L2.mjs";import{a as k}from"./chunk-L5JPAKPM.mjs";import{b as p}from"./chunk-ZUA4KNIR.mjs";import{b as d}from"./chunk-CSBGSBEU.mjs";import{a as u,e as v}from"./chunk-YO3GQYRJ.mjs";import{useState as h,useEffect as A}from"react";import{Search as D,X as F,FileText as L,Tag as I}from"lucide-react";import{jsx as t,jsxs as s}from"react/jsx-runtime";function H({selectedDocuments:l,onDocumentsChange:N,availableDocuments:x,label:S,placeholder:B="Search knowledge documents...",maxSelections:r,disabled:c=!1}){let[i,w]=h(""),[f,C]=h([]),[g,n]=h(!1);A(()=>{if(!i.trim()){C([]),n(!1);return}let e=x.filter(a=>{if(l.map(m=>m.id).includes(a.id))return!1;let o=i.toLowerCase();return a.title.toLowerCase().includes(o)||a.description?.toLowerCase().includes(o)||a.tags?.some(m=>m.toLowerCase().includes(o))||Object.values(a.metadata||{}).some(m=>String(m).toLowerCase().includes(o))});C(e),n(!0)},[i,l,x]);let z=e=>{r&&l.length>=r||(N([...l,e]),w(""),n(!1))},T=e=>{N(l.filter(a=>a.id!==e))},b=!r||l.length<r;return s("div",{className:"space-y-2",children:[t(K,{children:S}),s("div",{className:"relative",children:[s("div",{className:"relative",children:[t(D,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t(k,{value:i,onChange:e=>w(e.target.value),placeholder:b?B:`Maximum ${r} documents selected`,className:"pl-9",disabled:c||!b,onFocus:()=>i&&n(!0)})]}),g&&f.length>0&&t(u,{className:"absolute top-full left-0 right-0 z-10 mt-1 max-h-60",children:t(y,{className:"h-full",children:t(v,{className:"p-2",children:f.map(e=>t(p,{variant:"ghost",className:"w-full justify-start h-auto p-3 mb-1",onClick:()=>z(e),disabled:c,children:s("div",{className:"flex items-start gap-3 w-full",children:[t(L,{className:"h-4 w-4 mt-0.5 text-muted-foreground flex-shrink-0"}),s("div",{className:"text-left flex-1 min-w-0",children:[t("div",{className:"font-medium text-sm truncate",children:e.title}),e.description&&t("div",{className:"text-xs text-muted-foreground mt-1 line-clamp-2",children:e.description}),e.tags&&e.tags.length>0&&s("div",{className:"flex flex-wrap gap-1 mt-2",children:[e.tags.slice(0,3).map(a=>t(d,{variant:"outline",className:"text-xs",children:a},a)),e.tags.length>3&&s(d,{variant:"outline",className:"text-xs",children:["+",e.tags.length-3," more"]})]})]})]})},e.id))})})}),g&&i&&f.length===0&&t(u,{className:"absolute top-full left-0 right-0 z-10 mt-1",children:s(v,{className:"p-4 text-center text-sm text-muted-foreground",children:['No knowledge documents found for "',i,'"']})})]}),l.length>0&&s("div",{className:"space-y-2",children:[s("div",{className:"text-sm text-muted-foreground",children:["Selected (",l.length,r&&`/${r}`,")"]}),t("div",{className:"space-y-2",children:l.map(e=>t(u,{className:"p-3",children:s("div",{className:"flex items-start gap-3",children:[t(L,{className:"h-4 w-4 mt-0.5 text-muted-foreground flex-shrink-0"}),s("div",{className:"flex-1 min-w-0",children:[t("div",{className:"font-medium text-sm",children:e.title}),e.description&&t("div",{className:"text-xs text-muted-foreground mt-1",children:e.description}),e.tags&&e.tags.length>0&&t("div",{className:"flex flex-wrap gap-1 mt-2",children:e.tags.map(a=>s(d,{variant:"outline",className:"text-xs",children:[t(I,{className:"h-3 w-3 mr-1"}),a]},a))})]}),t(p,{type:"button",variant:"ghost",size:"icon",className:"h-6 w-6 flex-shrink-0",onClick:()=>T(e.id),disabled:c,children:t(F,{className:"h-3 w-3"})})]})},e.id))})]}),g&&t("div",{className:"fixed inset-0 z-0",onClick:()=>n(!1)})]})}export{H as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{f as l}from"./chunk-TR52MKZR.mjs";import{a as r}from"./chunk-JULD2KZR.mjs";import{a as s}from"./chunk-QXA6C5VE.mjs";import h from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var x=({links:o,media:i,children:m,richText:a})=>e("div",{children:t("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[m||a&&e(l,{className:"max-w-none p-0 mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(o)&&o.length>0&&e("ul",{className:"flex justify-center gap-4",children:o.map(({link:n},d)=>e("li",{children:e(r,{...n})},d))})]}),t("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[i&&typeof i=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:i}),i&&typeof i=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:i})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(p,{})]})}),p=()=>e("div",{className:"w-full h-[1240px] z-10",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[e("defs",{children:t("mask",{id:"mask",children:[e("rect",{width:"1920",height:"332",fill:"white"}),e("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),e("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),e("rect",{y:"330",width:"1920",height:"7",fill:"white"})," "]})});export{x as a};
4
+ import{f as l}from"./chunk-2BRDNDUB.mjs";import{a as r}from"./chunk-2QZUKVBA.mjs";import{a as s}from"./chunk-2BR55L74.mjs";import h from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var x=({links:o,media:i,children:m,richText:a})=>e("div",{children:t("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[m||a&&e(l,{className:"max-w-none p-0 mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(o)&&o.length>0&&e("ul",{className:"flex justify-center gap-4",children:o.map(({link:n},d)=>e("li",{children:e(r,{...n})},d))})]}),t("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[i&&typeof i=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:i}),i&&typeof i=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:i})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(p,{})]})}),p=()=>e("div",{className:"w-full h-[1240px] z-10",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[e("defs",{children:t("mask",{id:"mask",children:[e("rect",{width:"1920",height:"332",fill:"white"}),e("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),e("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),e("rect",{y:"330",width:"1920",height:"7",fill:"white"})," "]})});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-YVNVQONM.mjs";import{b as n}from"./chunk-7Z3TOFNL.mjs";import{motion as D}from"motion/react";import{File as l,FileText as m,Edit3 as $,Type as C}from"lucide-react";import{useState as T}from"react";import{jsx as e,jsxs as r}from"react/jsx-runtime";var u=t=>e("div",{className:"prose prose-slate dark:prose-invert max-w-none",dangerouslySetInnerHTML:{__html:t.replace(/\n/g,"<br>").replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\*(.*?)\*/g,"<em>$1</em>").replace(/`(.*?)`/g,'<code class="bg-muted px-1 py-0.5 rounded text-sm">$1</code>').replace(/^# (.*$)/gm,'<h1 class="text-2xl font-bold mb-4">$1</h1>').replace(/^## (.*$)/gm,'<h2 class="text-xl font-semibold mb-3">$1</h2>').replace(/^### (.*$)/gm,'<h3 class="text-lg font-medium mb-2">$1</h3>')}}),c=t=>e("div",{className:"whitespace-pre-wrap font-mono text-sm leading-relaxed",children:t}),K=t=>r("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[e("div",{className:"bg-amber-50 dark:bg-amber-950/20 border border-amber-200 dark:border-amber-800 rounded-lg p-4 mb-4",children:r("p",{className:"text-amber-800 dark:text-amber-200 text-sm",children:[e("strong",{children:"RichText Renderer:"})," This is a placeholder. Integrate with @payloadcms/richtext-lexical for full rendering."]})}),e("pre",{className:"text-sm",children:t})]}),M=t=>r("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[e("div",{className:"bg-blue-50 dark:bg-blue-950/20 border border-blue-200 dark:border-blue-800 rounded-lg p-4 mb-4",children:r("p",{className:"text-blue-800 dark:text-blue-200 text-sm",children:[e("strong",{children:"MDX Renderer:"})," This is a placeholder. Integrate with @mdx-js/react for full MDX rendering."]})}),u(t)]});function B({document:t,onDocumentUpdate:g,editable:p=!0,renderers:x,availableDocuments:b=[],knowledgeContexts:f=[]}){let[v,d]=T(!1),N=a=>{switch(a){case"markdown":case"mdx":return e(m,{className:"h-6 w-6 text-primary"});case"richtext":return e(l,{className:"h-6 w-6 text-success"});case"text":return e(C,{className:"h-6 w-6 text-muted-foreground"});default:return e(l,{className:"h-6 w-6 text-muted-foreground"})}},h=a=>{switch(a){case"markdown":return"bg-primary/10 text-primary border-primary/20";case"mdx":return"bg-secondary/10 text-secondary border-secondary/20";case"richtext":return"bg-success/10 text-success border-success/20";case"text":return"bg-muted/50 text-muted-foreground border-muted-foreground/20";default:return"bg-muted text-muted-foreground border-border"}},w=(a,s)=>{let R={markdown:u,mdx:M,richtext:K,text:c},o=x?.[s]||R[s];return o?o(a):c(a)},y=a=>{d(!1),g?.(a)},k=()=>{d(!1)};return v?e(i,{document:t,onSave:y,onCancel:k,availableDocuments:b,knowledgeContexts:f}):r(D.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[r("div",{className:"border-b border-border bg-card p-8",children:[r("div",{className:"flex items-start justify-between gap-4 mb-4",children:[r("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:[e("div",{className:"flex-shrink-0 p-3 rounded-xl bg-muted border border-border",children:N(t.format)}),r("div",{className:"flex-1 min-w-0",children:[e("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:t.title}),t.description&&e("p",{className:"text-muted-foreground text-lg leading-relaxed mb-4",children:t.description})]})]}),p&&e("div",{className:"flex-shrink-0",children:r(n,{variant:"outline",size:"sm",onClick:()=>d(!0),className:"gap-2",children:[e($,{className:"h-4 w-4"}),"Edit"]})})]}),r("div",{className:"flex flex-wrap gap-2",children:[e("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${h(t.format)}`,children:t.format.toUpperCase()}),t.tags?.map(a=>r("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-sm bg-muted text-muted-foreground border border-border",children:["#",a]},a))]})]}),e("div",{className:"flex-1 overflow-auto",children:r("div",{className:"p-8",children:[t.metadata&&Object.keys(t.metadata).length>0&&r("div",{className:"mb-6",children:[e("h3",{className:"text-sm font-semibold text-foreground mb-2",children:"Metadata"}),e("div",{className:"bg-muted rounded-lg p-3 border border-border",children:e("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-4 gap-y-1 text-xs",children:Object.entries(t.metadata).map(([a,s])=>r("div",{className:"flex gap-1",children:[r("span",{className:"text-muted-foreground font-medium",children:[a.replace(/([A-Z])/g," $1").trim(),":"]}),e("span",{className:"text-foreground truncate",children:String(s)})]},a))})})]}),e("div",{className:"space-y-4",children:t.content?e("div",{className:"relative",children:e("div",{className:"bg-card border border-border rounded-xl p-6 overflow-hidden",children:w(t.content,t.format)})}):r("div",{className:"text-center py-12 bg-muted rounded-xl border-2 border-dashed border-border",children:[e("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-background flex items-center justify-center",children:e(m,{className:"h-8 w-8 text-muted-foreground"})}),e("h4",{className:"text-foreground font-medium mb-1",children:"No content available"}),e("p",{className:"text-muted-foreground text-sm",children:"This document doesn't have preview content"})]})})]})})]})}export{B as a};
4
+ import{a as i}from"./chunk-AREQGH47.mjs";import{b as n}from"./chunk-ZUA4KNIR.mjs";import{motion as D}from"motion/react";import{File as l,FileText as m,Edit3 as $,Type as C}from"lucide-react";import{useState as T}from"react";import{jsx as e,jsxs as r}from"react/jsx-runtime";var u=t=>e("div",{className:"prose prose-slate dark:prose-invert max-w-none",dangerouslySetInnerHTML:{__html:t.replace(/\n/g,"<br>").replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\*(.*?)\*/g,"<em>$1</em>").replace(/`(.*?)`/g,'<code class="bg-muted px-1 py-0.5 rounded text-sm">$1</code>').replace(/^# (.*$)/gm,'<h1 class="text-2xl font-bold mb-4">$1</h1>').replace(/^## (.*$)/gm,'<h2 class="text-xl font-semibold mb-3">$1</h2>').replace(/^### (.*$)/gm,'<h3 class="text-lg font-medium mb-2">$1</h3>')}}),c=t=>e("div",{className:"whitespace-pre-wrap font-mono text-sm leading-relaxed",children:t}),K=t=>r("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[e("div",{className:"bg-amber-50 dark:bg-amber-950/20 border border-amber-200 dark:border-amber-800 rounded-lg p-4 mb-4",children:r("p",{className:"text-amber-800 dark:text-amber-200 text-sm",children:[e("strong",{children:"RichText Renderer:"})," This is a placeholder. Integrate with @payloadcms/richtext-lexical for full rendering."]})}),e("pre",{className:"text-sm",children:t})]}),M=t=>r("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[e("div",{className:"bg-blue-50 dark:bg-blue-950/20 border border-blue-200 dark:border-blue-800 rounded-lg p-4 mb-4",children:r("p",{className:"text-blue-800 dark:text-blue-200 text-sm",children:[e("strong",{children:"MDX Renderer:"})," This is a placeholder. Integrate with @mdx-js/react for full MDX rendering."]})}),u(t)]});function B({document:t,onDocumentUpdate:g,editable:p=!0,renderers:x,availableDocuments:b=[],knowledgeContexts:f=[]}){let[v,d]=T(!1),N=a=>{switch(a){case"markdown":case"mdx":return e(m,{className:"h-6 w-6 text-primary"});case"richtext":return e(l,{className:"h-6 w-6 text-success"});case"text":return e(C,{className:"h-6 w-6 text-muted-foreground"});default:return e(l,{className:"h-6 w-6 text-muted-foreground"})}},h=a=>{switch(a){case"markdown":return"bg-primary/10 text-primary border-primary/20";case"mdx":return"bg-secondary/10 text-secondary border-secondary/20";case"richtext":return"bg-success/10 text-success border-success/20";case"text":return"bg-muted/50 text-muted-foreground border-muted-foreground/20";default:return"bg-muted text-muted-foreground border-border"}},w=(a,s)=>{let R={markdown:u,mdx:M,richtext:K,text:c},o=x?.[s]||R[s];return o?o(a):c(a)},y=a=>{d(!1),g?.(a)},k=()=>{d(!1)};return v?e(i,{document:t,onSave:y,onCancel:k,availableDocuments:b,knowledgeContexts:f}):r(D.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-full flex flex-col",children:[r("div",{className:"border-b border-border bg-card p-8",children:[r("div",{className:"flex items-start justify-between gap-4 mb-4",children:[r("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:[e("div",{className:"flex-shrink-0 p-3 rounded-xl bg-muted border border-border",children:N(t.format)}),r("div",{className:"flex-1 min-w-0",children:[e("h1",{className:"text-2xl font-bold text-foreground mb-2 leading-tight",children:t.title}),t.description&&e("p",{className:"text-muted-foreground text-lg leading-relaxed mb-4",children:t.description})]})]}),p&&e("div",{className:"flex-shrink-0",children:r(n,{variant:"outline",size:"sm",onClick:()=>d(!0),className:"gap-2",children:[e($,{className:"h-4 w-4"}),"Edit"]})})]}),r("div",{className:"flex flex-wrap gap-2",children:[e("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${h(t.format)}`,children:t.format.toUpperCase()}),t.tags?.map(a=>r("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-sm bg-muted text-muted-foreground border border-border",children:["#",a]},a))]})]}),e("div",{className:"flex-1 overflow-auto",children:r("div",{className:"p-8",children:[t.metadata&&Object.keys(t.metadata).length>0&&r("div",{className:"mb-6",children:[e("h3",{className:"text-sm font-semibold text-foreground mb-2",children:"Metadata"}),e("div",{className:"bg-muted rounded-lg p-3 border border-border",children:e("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-x-4 gap-y-1 text-xs",children:Object.entries(t.metadata).map(([a,s])=>r("div",{className:"flex gap-1",children:[r("span",{className:"text-muted-foreground font-medium",children:[a.replace(/([A-Z])/g," $1").trim(),":"]}),e("span",{className:"text-foreground truncate",children:String(s)})]},a))})})]}),e("div",{className:"space-y-4",children:t.content?e("div",{className:"relative",children:e("div",{className:"bg-card border border-border rounded-xl p-6 overflow-hidden",children:w(t.content,t.format)})}):r("div",{className:"text-center py-12 bg-muted rounded-xl border-2 border-dashed border-border",children:[e("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-background flex items-center justify-center",children:e(m,{className:"h-8 w-8 text-muted-foreground"})}),e("h4",{className:"text-foreground font-medium mb-1",children:"No content available"}),e("p",{className:"text-muted-foreground text-sm",children:"This document doesn't have preview content"})]})})]})})]})}export{B as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-CXXPSCV3.mjs";import{a as o}from"./chunk-GYTXBVCX.mjs";import{a as e}from"./chunk-TNCD5YIY.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S as a};
1
+ import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-3HNU2NYP.mjs";import{a as o}from"./chunk-KX2NCNCS.mjs";import{a as e}from"./chunk-FMJBJ3HN.mjs";import{jsx as i,jsxs as c}from"react/jsx-runtime";function S({sectionHeading:p,cards:a}){return i("section",{className:"section-padding-primary !pt-0",children:c(e,{children:[i("div",{className:"mx-auto max-w-[630px]","data-aos":"fade-up","data-aos-delay":"100",children:i(r,{...p,alignment:"center",hasBottomSpacing:!0})}),a&&a.length>0&&i("div",{className:"grid gap-30px",children:a.map((d,t)=>i("div",{"data-aos":"fade-up","data-aos-delay":n([200,400,600],t),className:"py-2",children:i(o,{...d})},t))})]})})}export{S 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*as t from"@radix-ui/react-tabs";import{jsx as o}from"react/jsx-runtime";function a({className:e,...i}){return o(t.Root,{"data-slot":"tabs",className:s("flex flex-col gap-2",e),...i})}function r({className:e,...i}){return o(t.List,{"data-slot":"tabs-list",className:s("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...i})}function c({className:e,...i}){return o(t.Trigger,{"data-slot":"tabs-trigger",className:s("data-[state=active]:bg-accent data-[state=active]:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...i})}function l({className:e,...i}){return o(t.Content,{"data-slot":"tabs-content",className:s("flex-1 outline-none",e),...i})}export{a,r as b,c,l as d};
4
+ import{a as s}from"./chunk-MDJREBVI.mjs";import*as t from"@radix-ui/react-tabs";import{jsx as o}from"react/jsx-runtime";function a({className:e,...i}){return o(t.Root,{"data-slot":"tabs",className:s("flex flex-col gap-2",e),...i})}function r({className:e,...i}){return o(t.List,{"data-slot":"tabs-list",className:s("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...i})}function c({className:e,...i}){return o(t.Trigger,{"data-slot":"tabs-trigger",className:s("data-[state=active]:bg-accent data-[state=active]:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...i})}function l({className:e,...i}){return o(t.Content,{"data-slot":"tabs-content",className:s("flex-1 outline-none",e),...i})}export{a,r as b,c,l as d};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-NQPBIFGO.mjs";import{a as u}from"./chunk-VXZPPTQQ.mjs";import{a as m}from"./chunk-RAAY7PEH.mjs";import{a as i}from"./chunk-GJUA2KUH.mjs";import{b as s}from"./chunk-7Z3TOFNL.mjs";import{useState as l}from"react";import{jsx as o,jsxs as a}from"react/jsx-runtime";function N({onSubmit:c}){let[e,r]=l({name:"",intro:"",active:!1});return a("form",{onSubmit:t=>{t.preventDefault(),e.name&&(c({...e,name:e.name,updatedAt:new Date().toISOString(),createdAt:new Date().toISOString()}),r({name:"",intro:"",active:!0}))},className:"space-y-4",children:[a("div",{className:"space-y-2",children:[o(m,{htmlFor:"customerName",children:"Customer Name"}),o(i,{id:"customerName",value:e.name,onChange:t=>r({...e,name:t.target.value}),placeholder:"Enter customer name",required:!0})]}),a("div",{className:"space-y-2",children:[o(m,{htmlFor:"customerIntro",children:"Intro"}),o(u,{id:"customerIntro",value:e.intro??"",onChange:t=>r({...e,intro:t.target.value}),placeholder:"Enter customer intro"})]}),a("div",{className:"flex items-center space-x-2",children:[o(n,{id:"activeCustomer",checked:!!e.active,onCheckedChange:t=>r({...e,active:t})}),o(m,{htmlFor:"activeCustomer",children:"Active Customer"})]}),o(s,{type:"submit",className:"w-full",children:"Add Customer"})]})}export{N as a};
1
+ import{a as n}from"./chunk-INCYANPB.mjs";import{a as u}from"./chunk-B4H6T2GP.mjs";import{a as m}from"./chunk-TVZOULLL.mjs";import{a as i}from"./chunk-L5JPAKPM.mjs";import{b as s}from"./chunk-ZUA4KNIR.mjs";import{useState as l}from"react";import{jsx as o,jsxs as a}from"react/jsx-runtime";function N({onSubmit:c}){let[e,r]=l({name:"",intro:"",active:!1});return a("form",{onSubmit:t=>{t.preventDefault(),e.name&&(c({...e,name:e.name,updatedAt:new Date().toISOString(),createdAt:new Date().toISOString()}),r({name:"",intro:"",active:!0}))},className:"space-y-4",children:[a("div",{className:"space-y-2",children:[o(m,{htmlFor:"customerName",children:"Customer Name"}),o(i,{id:"customerName",value:e.name,onChange:t=>r({...e,name:t.target.value}),placeholder:"Enter customer name",required:!0})]}),a("div",{className:"space-y-2",children:[o(m,{htmlFor:"customerIntro",children:"Intro"}),o(u,{id:"customerIntro",value:e.intro??"",onChange:t=>r({...e,intro:t.target.value}),placeholder:"Enter customer intro"})]}),a("div",{className:"flex items-center space-x-2",children:[o(n,{id:"activeCustomer",checked:!!e.active,onCheckedChange:t=>r({...e,active:t})}),o(m,{htmlFor:"activeCustomer",children:"Active Customer"})]}),o(s,{type:"submit",className:"w-full",children:"Add Customer"})]})}export{N as a};
@@ -1 +1 @@
1
- import{a as i,b as r,c as n,e as o}from"./chunk-7WKUKFCT.mjs";import{Users as g,FileText as u,Lightbulb as f,PoundSterling as h,User as d,Users2 as v}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function y({teamMembers:l={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:m=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:c=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:p="\xA3150,000 for delivery of listed outputs"}){return t("div",{className:"grid gap-6 lg:grid-cols-3",children:[t("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[t(i,{className:"flex-grow",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(g,{className:"h-5 w-5"}),"Team"]})}),t(o,{className:"p-6",children:[e("p",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),t("div",{className:"space-y-6",children:[e("div",{className:"space-y-2",children:l.leadership.map((a,s)=>t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e(d,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:a.role})]}),a.isFTE&&e("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),e("div",{className:"space-y-2",children:l.core.map((a,s)=>t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e(d,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:a.role}),a.count&&t("span",{children:["(",a.count,"x)"]})]}),a.isFTE&&e("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),t("div",{children:[t("div",{className:"flex items-center gap-2 mb-2",children:[e(v,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:"SME input:"})]}),e("div",{className:"ml-6 text-sm text-muted-foreground",children:l.sme.join(", ")})]})]})]})]}),t(i,{children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(h,{className:"h-5 w-5"}),"Fee"]})}),e(o,{className:"p-6",children:e("p",{className:"text-lg font-semibold",children:p})})]})]}),t(i,{className:"lg:col-span-1 flex flex-col",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(u,{className:"h-5 w-5"}),"Outputs"]})}),t(o,{className:"p-6 flex-grow overflow-auto",children:[e("ol",{className:"list-decimal list-inside space-y-4",children:m.map((a,s)=>t("li",{className:"text-sm",children:[t("span",{className:"font-medium",children:[a.title,":"]})," ",e("span",{className:"text-muted-foreground",children:a.description})]},s))}),e("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),t(i,{className:"lg:col-span-1 flex flex-col",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(f,{className:"h-5 w-5"}),"Benefits"]})}),e(o,{className:"p-6 flex-grow overflow-auto",children:e("ul",{className:"space-y-4",children:c.map((a,s)=>t("li",{className:"flex gap-2 text-sm",children:[e("span",{className:"text-primary",children:"\u2713"}),e("span",{children:a})]},s))})})]})]})}export{y as a};
1
+ import{a as i,b as r,c as n,e as o}from"./chunk-YO3GQYRJ.mjs";import{Users as g,FileText as u,Lightbulb as f,PoundSterling as h,User as d,Users2 as v}from"lucide-react";import{jsx as e,jsxs as t}from"react/jsx-runtime";function y({teamMembers:l={leadership:[{role:"CTO oversight"},{role:"Senior Delivery Lead",isFTE:!0}],core:[{role:"Lead Cloud Architect",isFTE:!0},{role:"Senior Business Analyst",isFTE:!0}],sme:["Security Architecture","Engineering","Data Architecture"]},outputs:m=[{title:"Discovery Report",description:"A detailed report summarising the findings from the initial assessment, including insights from stakeholder interviews and document reviews."},{title:"Cloud and Data Estate Assessment Report",description:"A comprehensive analysis of the current cloud and data infrastructure, highlighting strengths, weaknesses, and opportunities for improvement."},{title:"Gap Analysis Report",description:"Identification of gaps between current capabilities and the requirements for adopting GenAI, along with a detailed analysis of these gaps."},{title:"Recommendations Report",description:"A set of actionable recommendations for enhancing the cloud infrastructure, data management practices, and operating model."},{title:"Implementation Roadmap",description:"A phased roadmap outlining the steps to implement the recommended changes, including timelines, milestones, and prioritisation of initiatives."},{title:"Risk Management Plan",description:"A detailed plan outlining potential risks and mitigation strategies to ensure a smooth transition."}],benefits:c=["Strategic Alignment: Ensures that the adoption of GenAI aligns with the overall business strategy and objectives.","Enhanced Efficiency: Optimises cloud and data operations, leading to improved performance and cost savings.","Risk Mitigation: Identifies potential risks early and provides strategies to mitigate them, ensuring a smooth transition.","Scalability: Prepares the organisation for future growth and scalability by enhancing the underlying technology infrastructure.","Competitive Advantage: Positions the organisation to leverage Generative AI effectively, providing a competitive edge in the market."],fee:p="\xA3150,000 for delivery of listed outputs"}){return t("div",{className:"grid gap-6 lg:grid-cols-3",children:[t("div",{className:"lg:col-span-1 space-y-6 flex flex-col",children:[t(i,{className:"flex-grow",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(g,{className:"h-5 w-5"}),"Team"]})}),t(o,{className:"p-6",children:[e("p",{className:"mb-6 text-sm text-muted-foreground",children:"A small team of highly-skilled consultants with significant Cloud, Data and AI experience will execute this phase:"}),t("div",{className:"space-y-6",children:[e("div",{className:"space-y-2",children:l.leadership.map((a,s)=>t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e(d,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:a.role})]}),a.isFTE&&e("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),e("div",{className:"space-y-2",children:l.core.map((a,s)=>t("div",{className:"flex items-center justify-between",children:[t("div",{className:"flex items-center gap-2",children:[e(d,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:a.role}),a.count&&t("span",{children:["(",a.count,"x)"]})]}),a.isFTE&&e("span",{className:"text-xs text-muted-foreground",children:"(FTE)"})]},s))}),t("div",{children:[t("div",{className:"flex items-center gap-2 mb-2",children:[e(v,{className:"h-4 w-4 text-muted-foreground"}),e("span",{children:"SME input:"})]}),e("div",{className:"ml-6 text-sm text-muted-foreground",children:l.sme.join(", ")})]})]})]})]}),t(i,{children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(h,{className:"h-5 w-5"}),"Fee"]})}),e(o,{className:"p-6",children:e("p",{className:"text-lg font-semibold",children:p})})]})]}),t(i,{className:"lg:col-span-1 flex flex-col",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(u,{className:"h-5 w-5"}),"Outputs"]})}),t(o,{className:"p-6 flex-grow overflow-auto",children:[e("ol",{className:"list-decimal list-inside space-y-4",children:m.map((a,s)=>t("li",{className:"text-sm",children:[t("span",{className:"font-medium",children:[a.title,":"]})," ",e("span",{className:"text-muted-foreground",children:a.description})]},s))}),e("p",{className:"mt-6 text-sm italic text-muted-foreground",children:"Delivered within 8 weeks from start date of engagement."})]})]}),t(i,{className:"lg:col-span-1 flex flex-col",children:[e(r,{className:"bg-primary text-primary-foreground",children:t(n,{className:"flex items-center gap-2",children:[e(f,{className:"h-5 w-5"}),"Benefits"]})}),e(o,{className:"p-6 flex-grow overflow-auto",children:e("ul",{className:"space-y-4",children:c.map((a,s)=>t("li",{className:"flex gap-2 text-sm",children:[e("span",{className:"text-primary",children:"\u2713"}),e("span",{children:a})]},s))})})]})]})}export{y as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as v}from"./chunk-HK52LPE3.mjs";import{a as y}from"./chunk-ZNV6MCYI.mjs";import{a as f}from"./chunk-JKPUXPHP.mjs";import{a as g}from"./chunk-FDJHY37W.mjs";import{useState as N}from"react";import{ChevronDown as q}from"lucide-react";import{CalendarDays as P,Grid as R,PlusCircle as k,CheckSquare as A}from"lucide-react";import{useRouter as V}from"next/navigation";import{format as S,parseISO as H}from"date-fns";import{jsx as r,jsxs as t}from"react/jsx-runtime";function b(...s){return s.filter(Boolean).join(" ")}function z({holidays:s,currentUser:o,currentDate:h,leaveApprovals:w,employees:x,submitLeaveRequest:n,approveLeave:i,rejectLeave:m}){let[a,c]=N("Calendar View"),L=V(),C=!1,d=H(h),l=async e=>{let D=S(e,"dd-MM-yyyy"),p=new URL(window.location.href);return p.searchParams.set("date",D),L.push(p.toString()),{success:!0}};if(C)return r("div",{className:"flex justify-center items-center h-screen",children:r("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let u=[{name:"Grid View",icon:R,current:a==="Grid View"},{name:"Calendar View",icon:P,current:a==="Calendar View"},{name:"Request Leave",icon:k,current:a==="Request Leave"},{name:"Approve Leave",icon:A,current:a==="Approve Leave"}];return t("div",{className:"container mx-auto p-4 h-full",children:[t("div",{className:"mb-8",children:[t("div",{className:"sm:hidden",children:[r("select",{value:a,onChange:e=>c(e.target.value),className:"block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm",children:u.map(e=>r("option",{children:e.name},e.name))}),r(q,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),r("div",{className:"hidden sm:block",children:r("div",{className:"border-b border-gray-200",children:r("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:u.map(e=>t("a",{onClick:()=>{(e.name!=="Approve Leave"||o.grade==="Manager"||o.grade==="Senior Manager"||o.grade==="Partner")&&c(e.name)},className:b(e.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",e.name==="Approve Leave"&&o.grade!=="Manager"&&o.grade!=="Senior Manager"&&o.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-sm font-medium"),"aria-current":e.current?"page":void 0,children:[r(e.icon,{className:b(e.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),r("span",{children:e.name})]},e.name))})})})]}),a==="Grid View"&&r(f,{currentDate:d,setCurrentDate:l,holidays:s,employees:x}),a==="Calendar View"&&r(y,{currentDate:d,setCurrentDate:l,holidays:s}),a==="Request Leave"&&r(g,{remainingDays:o.remainingLeaveDays,submitLeaveRequest:e=>n?n(e):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),a==="Approve Leave"&&r(v,{leaveRequests:w,onApprove:e=>i?i(e):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:e=>m?m(e):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}export{z as a};
4
+ import{a as v}from"./chunk-TZKQXT7Y.mjs";import{a as y}from"./chunk-5AWZJAK3.mjs";import{a as f}from"./chunk-B3F6F2S4.mjs";import{a as g}from"./chunk-MAAKU7PN.mjs";import{useState as N}from"react";import{ChevronDown as q}from"lucide-react";import{CalendarDays as P,Grid as R,PlusCircle as k,CheckSquare as A}from"lucide-react";import{useRouter as V}from"next/navigation";import{format as S,parseISO as H}from"date-fns";import{jsx as r,jsxs as t}from"react/jsx-runtime";function b(...s){return s.filter(Boolean).join(" ")}function z({holidays:s,currentUser:o,currentDate:h,leaveApprovals:w,employees:x,submitLeaveRequest:n,approveLeave:i,rejectLeave:m}){let[a,c]=N("Calendar View"),L=V(),C=!1,d=H(h),l=async e=>{let D=S(e,"dd-MM-yyyy"),p=new URL(window.location.href);return p.searchParams.set("date",D),L.push(p.toString()),{success:!0}};if(C)return r("div",{className:"flex justify-center items-center h-screen",children:r("div",{className:"animate-spin rounded-full h-32 w-32 border-t-2 border-b-2 border-gray-900"})});let u=[{name:"Grid View",icon:R,current:a==="Grid View"},{name:"Calendar View",icon:P,current:a==="Calendar View"},{name:"Request Leave",icon:k,current:a==="Request Leave"},{name:"Approve Leave",icon:A,current:a==="Approve Leave"}];return t("div",{className:"container mx-auto p-4 h-full",children:[t("div",{className:"mb-8",children:[t("div",{className:"sm:hidden",children:[r("select",{value:a,onChange:e=>c(e.target.value),className:"block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm",children:u.map(e=>r("option",{children:e.name},e.name))}),r(q,{className:"pointer-events-none absolute right-3 top-3 h-5 w-5 text-gray-400","aria-hidden":"true"})]}),r("div",{className:"hidden sm:block",children:r("div",{className:"border-b border-gray-200",children:r("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:u.map(e=>t("a",{onClick:()=>{(e.name!=="Approve Leave"||o.grade==="Manager"||o.grade==="Senior Manager"||o.grade==="Partner")&&c(e.name)},className:b(e.current?"border-accent text-accent":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700",e.name==="Approve Leave"&&o.grade!=="Manager"&&o.grade!=="Senior Manager"&&o.grade!=="Partner"?"cursor-not-allowed opacity-50":"","group inline-flex items-center border-b-2 py-4 px-1 text-sm font-medium"),"aria-current":e.current?"page":void 0,children:[r(e.icon,{className:b(e.current?"text-accent":"text-gray-400 group-hover:text-gray-500","-ml-0.5 mr-2 h-5 w-5"),"aria-hidden":"true"}),r("span",{children:e.name})]},e.name))})})})]}),a==="Grid View"&&r(f,{currentDate:d,setCurrentDate:l,holidays:s,employees:x}),a==="Calendar View"&&r(y,{currentDate:d,setCurrentDate:l,holidays:s}),a==="Request Leave"&&r(g,{remainingDays:o.remainingLeaveDays,submitLeaveRequest:e=>n?n(e):Promise.resolve({success:!1,message:"Submit leave request function not provided"})}),a==="Approve Leave"&&r(v,{leaveRequests:w,onApprove:e=>i?i(e):Promise.resolve({success:!1,message:"Approve leave request function not provided"}),onReject:e=>m?m(e):Promise.resolve({success:!1,message:"Reject leave request function not provided"})})]})}export{z as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-7WKUKFCT.mjs";import{Users as m}from"lucide-react";import l from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function v({title:s,members:o}){return e(r,{className:"mb-6",children:t("div",{className:"p-6",children:[t("div",{className:"flex items-center mb-4",children:[e(m,{className:"w-6 h-6 text-accent mr-2"}),e("h2",{className:"text-xl font-semibold text-foreground",children:s})]}),e("div",{className:"space-y-4",children:o.map((a,i)=>t("div",{className:"flex items-center space-x-4",children:[e("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&e(l,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),t("div",{children:[e("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&e("p",{className:"text-sm text-muted-foreground",children:a.role})]})]},i))})]})})}export{v as a};
1
+ import{a as r}from"./chunk-YO3GQYRJ.mjs";import{Users as m}from"lucide-react";import l from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";function v({title:s,members:o}){return e(r,{className:"mb-6",children:t("div",{className:"p-6",children:[t("div",{className:"flex items-center mb-4",children:[e(m,{className:"w-6 h-6 text-accent mr-2"}),e("h2",{className:"text-xl font-semibold text-foreground",children:s})]}),e("div",{className:"space-y-4",children:o.map((a,i)=>t("div",{className:"flex items-center space-x-4",children:[e("div",{className:"relative w-12 h-12 rounded-full overflow-hidden",children:a.avatar&&e(l,{src:a.avatar,alt:a.name,layout:"fill",objectFit:"cover"})}),t("div",{children:[e("p",{className:"font-semibold text-foreground",children:a.name}),a.role&&e("p",{className:"text-sm text-muted-foreground",children:a.role})]})]},i))})]})})}export{v as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as r}from"./chunk-TSEOL53Y.mjs";import*as o from"react";import*as a from"@radix-ui/react-avatar";import{jsx as m}from"react/jsx-runtime";var l=o.forwardRef(({className:e,...t},i)=>m(a.Root,{ref:i,className:r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));l.displayName=a.Root.displayName;var f=o.forwardRef(({className:e,...t},i)=>m(a.Image,{ref:i,className:r("aspect-square h-full w-full",e),...t}));f.displayName=a.Image.displayName;var v=o.forwardRef(({className:e,...t},i)=>m(a.Fallback,{ref:i,className:r("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));v.displayName=a.Fallback.displayName;export{l as a,f as b,v as c};
4
+ import{a as r}from"./chunk-MDJREBVI.mjs";import*as o from"react";import*as a from"@radix-ui/react-avatar";import{jsx as m}from"react/jsx-runtime";var l=o.forwardRef(({className:e,...t},i)=>m(a.Root,{ref:i,className:r("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));l.displayName=a.Root.displayName;var f=o.forwardRef(({className:e,...t},i)=>m(a.Image,{ref:i,className:r("aspect-square h-full w-full",e),...t}));f.displayName=a.Image.displayName;var v=o.forwardRef(({className:e,...t},i)=>m(a.Fallback,{ref:i,className:r("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));v.displayName=a.Fallback.displayName;export{l as a,f as b,v as c};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as m}from"./chunk-TSEOL53Y.mjs";import Q from"next/image";import{jsx as B}from"react/jsx-runtime";var u={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",h=d=>{let{alt:p,fill:t,imgClassName:I,priority:C,resource:g,size:r,src:D,loading:F}=d,i,o,l=p,a=D||"";if(!a&&g&&typeof g=="object"){let{alt:e,filename:y,height:A,url:P,width:s}=g;if(A&&A>500){let c=500/A;i=s*c,o=A*c}else i=s,o=A;l=e||"",a=P||w}let n=F||"lazy",M=r||Object.entries(u).map(([,e])=>`(max-width: ${e}px) ${e*2}w`).join(", ");return B("picture",{children:B(Q,{alt:l||"",className:m(I),fill:t,height:t?void 0:o,placeholder:"blur",blurDataURL:w,priority:n!=="lazy"&&C,quality:100,loading:n,sizes:M,src:a,width:t?void 0:i})})};export{h as a};
4
+ import{a as m}from"./chunk-MDJREBVI.mjs";import Q from"next/image";import{jsx as B}from"react/jsx-runtime";var u={"3xl":1920,"2xl":1536,xl:1280,lg:1024,md:768,sm:640},w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABchJREFUWEdtlwtTG0kMhHtGM7N+AAdcDsjj///EBLzenbtuadbLJaZUTlHB+tRqSesETB3IABqQG1KbUFqDlQorBSmboqeEBcC1d8zrCixXYGZcgMsFmH8B+AngHdurAmXKOE8nHOoBrU6opcGswPi5KSP9CcBaQ9kACJH/ALAA1xm4zMD8AczvQCcAQeJVAZsy7nYApTSUzwCHUKACeUJi9TsFci7AHmDtuHYqQIC9AgQYKnSwNAig4NyOOwXq/xU47gDYggarjIpsRSEA3Fqw7AGkwgW4fgALAdiC2btKgNZwbgdMbEFpqFR2UyCR8xwAhf8bUHIGk1ckMyB5C1YkeWAdAPQBAeiD6wVYPoD1HUgXwFagZAGc6oSpTmilopoD5GzISQD3odcNIFca0BUQQM5YA2DpHV0AYURBDIAL0C+ugC0C4GedSsVUmwC8/4w8TPiwU6AClJ5RWL1PgQNkrABWdKB3YF3cBwRY5lsI4ApkKpCQi+FIgFJU/TDgDuAxAAwonJuKpGD1rkCXCR1ALyrAUSSEQAhwBdYZ6DPAgSUA2c1wKIZmRcHxMzMYR9DH8NlbkAwwApSAcABwBwTAbb6owAr0AFiZPILVEyCtMmK2jCkTwFDNUNj7nJETQx744gCUmgkZVGJUHyakEZE4W91jtGFA9KsD8Z3JFYDlhGYZLWcllwJMnplcPy+csFAgAAaIDOgeuAGoB96GLZg4kmtfMjnr6ig5oSoySsoy3ya/FMivXZWxwr0KIf9nACbfqcBEgmBSAtAlIT83R+70IWpyACamIjf5E1Iqb9ECVmnoI/FvAIRk8s2J0Y5IquQDgB+5wpScw5AUTC75VTmTs+72NUzoCvQIaAXv5Q8PDAZKLD+MxLv3RFE7KlsQChgBIlKiCv5ByaZv3gJZNm8AnVMhAN+EjrtTYQMICJpu6/0aiQnhClANlz+Bw0cIWa8ev0sBrtrhAyaXEnrfGfATQJiRKih5vKeOHNXXPFrgyamAADh0Q4F2/sESojomDS9o9k0b0H83xjB8qL+JNoTjN+enjpaBpingRh4e8MSugudM030A8FeqMI6PFIgNyPehkpZWGFEAARIQdH5LcAAqIACHkAJqg4OoBccHAuz76wr4BbzFOEa8iBuAZB8AtJHLP2VgMgJw/EIBowo7HxCAH3V6dAXEE/vZ5aZIA8BP8RKhm7Cp8BnAMnAQADdgQDA520AVIpScP+enHz0Gwp25h4i2dPg5FkDXrbsdJikQwXuWgaM5gEMk1AgH4DKKFjDf3bMD+FjEeIxLlRKYnBk2BbquvSDCAQ4gwZiMAAmH4gBTyRtEsYxi7gP6QSrc//39BrDNqG8rtYTmC4BV1SfMhOhaumFCT87zy4pPhQBZEK1kQVRjJBBi7AOlePgyAPYjwlvtagx9e/dnQraAyS894TIkkAIEYMKEc8k4EqJ68lZ5jjNqcQC2QteQOf7659umwBgPybNtK4dg9WvnMyFwXYGP7uEO1lwJgAnPNeMYMVXbIIYKFioI4PGFt+BWPVfmWJdjW2lTUnLGCswECAgaUy86iwA1464ajo0QhgMBFGyBoZahANsMpMfXr1JA1SN29m5lqgXj+UPV85uRA7yv/KYUO4Tk7Hc1AZwbIRzg0AyNj2UlAMwfSLSMnl7fdAbcxHuA27YaAMvaQ4GOjwX4RTUGAG8Ge14N963g1AynqUiFqRX9noasxT4b8entNRQYyamk/3tYcHsO7R3XJRRYOn4tw4iUnwBM5gDnySGOreAwAGo8F9IDHEcq8Pz2Kg/oXCpuIL6tOPD8LsDn0ABYQoGFRowlsAEUPPDrGAGowAbgKsgDMmE8mDy/vXQ9IAwI7u4wta+gAdAdgB64Ah9SgD4IgGKhwACoAjgNgFDhtxY8f33ZTMjqdTAiHMBPrn8ZWkEfzFdX4Oc1AHg3+ADbvN8PU8WdFKg4Tt6CQy2+D4YHaMT/JP4XzbAq98cPDIUAAAAASUVORK5CYII=",h=d=>{let{alt:p,fill:t,imgClassName:I,priority:C,resource:g,size:r,src:D,loading:F}=d,i,o,l=p,a=D||"";if(!a&&g&&typeof g=="object"){let{alt:e,filename:y,height:A,url:P,width:s}=g;if(A&&A>500){let c=500/A;i=s*c,o=A*c}else i=s,o=A;l=e||"",a=P||w}let n=F||"lazy",M=r||Object.entries(u).map(([,e])=>`(max-width: ${e}px) ${e*2}w`).join(", ");return B("picture",{children:B(Q,{alt:l||"",className:m(I),fill:t,height:t?void 0:o,placeholder:"blur",blurDataURL:w,priority:n!=="lazy"&&C,quality:100,loading:n,sizes:M,src:a,width:t?void 0:i})})};export{h as a};
@@ -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-switch";import{jsx as s,jsxs as x}from"react/jsx-runtime";function S({className:t,onCheckedChange:a,checked:n,defaultChecked:d,...h}){let[r,l]=i.useState(!1),[m,c]=i.useState(!1),[f,p]=i.useState(d||!1),g=n!==void 0?n:f;return s(o.Root,{"data-slot":"switch","data-pressed":r,checked:n,defaultChecked:d,onMouseDown:()=>{l(!0),c(!1)},onMouseUp:()=>{l(!1),c(!1)},onMouseLeave:()=>{r&&(l(!1),c(!0))},onCheckedChange:u=>{m||(n===void 0&&p(u),a?.(u))},className:e("relative shadow-inner ring ring-black/5 inline-flex shrink-0 items-center rounded-full outline-none cursor-pointer","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[0.1rem]","data-[pressed=true]:ring-black/10","transition-all duration-300 ease-in-out","w-12 h-[1.65rem]","data-[state=checked]:bg-accent","data-[state=unchecked]:bg-neutral-500/100","data-[state=checked]:data-[pressed=true]:bg-accent/80","data-[state=unchecked]:data-[pressed=true]:bg-neutral-500/50",t),...h,children:s(o.Thumb,{"data-slot":"switch-thumb","data-pressed":r,className:e("absolute flex items-center justify-center bg-background pointer-events-none left-0 rounded-full","transition-all duration-200 ease-in-out","w-[1.3rem] h-[1.3rem]","data-[pressed=true]:w-[1.7rem]","data-[pressed=true]:h-[1.1rem]","translate-x-[0.2rem]","data-[state=checked]:translate-x-[1.5rem]","data-[state=checked]:data-[pressed=true]:translate-x-[1.1rem]","data-[state=checked]:data-[pressed=true]:left-[-0.15rem]","data-[state=unchecked]:data-[pressed=true]:left-[0.15rem]"),children:s(w,{isChecked:g,isPressed:r})})})}var w=({isChecked:t,isPressed:a})=>x("svg",{viewBox:"0 0 20 20",className:e("inline-flex w-fit items-center justify-center","transition-all duration-100 ease-in-out",a?"fill-neutral-500/50":t?"fill-accent-foreground":"fill-neutral-500"),children:[s("rect",{x:"4",y:"8.5",height:"3",className:e("origin-center transition-all duration-100 ease-in-out",a?"rotate-0 translate-x-[0.2rem] translate-y-[0.05rem] w-1.5 h-0.5":t?"rotate-45 w-[6px] -translate-x-[1px] translate-y-1":"rotate-45 w-[12px] translate-x-0 translate-y-0")}),s("rect",{x:"4",y:"8.5",height:"3",className:e("origin-center transition-all duration-100 ease-in-out",a?"rotate-0 translate-x-[0.2rem] translate-y-[0.05rem] w-1.5 h-0.5":t?"-rotate-45 w-[11px] translate-x-[1.5px] translate-y-0":"-rotate-45 w-[12px] translate-x-0 translate-y-0")})]});export{S as a};
4
+ import{a as e}from"./chunk-MDJREBVI.mjs";import*as i from"react";import*as o from"@radix-ui/react-switch";import{jsx as s,jsxs as x}from"react/jsx-runtime";function S({className:t,onCheckedChange:a,checked:n,defaultChecked:d,...h}){let[r,l]=i.useState(!1),[m,c]=i.useState(!1),[f,p]=i.useState(d||!1),g=n!==void 0?n:f;return s(o.Root,{"data-slot":"switch","data-pressed":r,checked:n,defaultChecked:d,onMouseDown:()=>{l(!0),c(!1)},onMouseUp:()=>{l(!1),c(!1)},onMouseLeave:()=>{r&&(l(!1),c(!0))},onCheckedChange:u=>{m||(n===void 0&&p(u),a?.(u))},className:e("relative shadow-inner ring ring-black/5 inline-flex shrink-0 items-center rounded-full outline-none cursor-pointer","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[0.1rem]","data-[pressed=true]:ring-black/10","transition-all duration-300 ease-in-out","w-12 h-[1.65rem]","data-[state=checked]:bg-accent","data-[state=unchecked]:bg-neutral-500/100","data-[state=checked]:data-[pressed=true]:bg-accent/80","data-[state=unchecked]:data-[pressed=true]:bg-neutral-500/50",t),...h,children:s(o.Thumb,{"data-slot":"switch-thumb","data-pressed":r,className:e("absolute flex items-center justify-center bg-background pointer-events-none left-0 rounded-full","transition-all duration-200 ease-in-out","w-[1.3rem] h-[1.3rem]","data-[pressed=true]:w-[1.7rem]","data-[pressed=true]:h-[1.1rem]","translate-x-[0.2rem]","data-[state=checked]:translate-x-[1.5rem]","data-[state=checked]:data-[pressed=true]:translate-x-[1.1rem]","data-[state=checked]:data-[pressed=true]:left-[-0.15rem]","data-[state=unchecked]:data-[pressed=true]:left-[0.15rem]"),children:s(w,{isChecked:g,isPressed:r})})})}var w=({isChecked:t,isPressed:a})=>x("svg",{viewBox:"0 0 20 20",className:e("inline-flex w-fit items-center justify-center","transition-all duration-100 ease-in-out",a?"fill-neutral-500/50":t?"fill-accent-foreground":"fill-neutral-500"),children:[s("rect",{x:"4",y:"8.5",height:"3",className:e("origin-center transition-all duration-100 ease-in-out",a?"rotate-0 translate-x-[0.2rem] translate-y-[0.05rem] w-1.5 h-0.5":t?"rotate-45 w-[6px] -translate-x-[1px] translate-y-1":"rotate-45 w-[12px] translate-x-0 translate-y-0")}),s("rect",{x:"4",y:"8.5",height:"3",className:e("origin-center transition-all duration-100 ease-in-out",a?"rotate-0 translate-x-[0.2rem] translate-y-[0.05rem] w-1.5 h-0.5":t?"-rotate-45 w-[11px] translate-x-[1.5px] translate-y-0":"-rotate-45 w-[12px] translate-x-0 translate-y-0")})]});export{S as a};
@@ -1 +1 @@
1
- import{a as r,b as s,i,j as t,m as l,n as d}from"./chunk-DGJHJHFF.mjs";import{b as o}from"./chunk-7Z3TOFNL.mjs";import{a as m,b as p,c}from"./chunk-RFNYVF6F.mjs";import{Bell as g,Settings as h,User as b,Menu as v}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";var k=({isRightSidebarOpen:f,onToggleRightSidebar:w,onToggleLeftSidebar:n,onToggleNotifications:u})=>e("header",{className:"border-b bg-white/80 backdrop-blur-md dark:bg-slate-900/80 sticky top-0 z-50",children:e("div",{className:"container mx-auto px-6 py-4",children:a("div",{className:"flex items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[n&&e(o,{variant:"ghost",size:"icon",className:"md:hidden",onClick:n,children:e(v,{className:"h-5 w-5"})}),e("h1",{className:"text-2xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent",children:"Cortex Copilot"})]}),a("div",{className:"flex items-center space-x-4",children:[a(o,{variant:"ghost",size:"icon",className:"relative",onClick:u,children:[e(g,{className:"h-5 w-5"}),e("span",{className:"absolute -top-1 -right-1 h-3 w-3 bg-red-500 rounded-full text-xs text-white flex items-center justify-center",children:"3"})]}),a(r,{children:[e(s,{asChild:!0,children:e(o,{variant:"ghost",className:"relative h-10 w-10 rounded-full",children:a(m,{className:"h-10 w-10",children:[e(p,{src:"/avatars/01.png",alt:"@user"}),e(c,{children:"JD"})]})})}),a(i,{className:"w-56",align:"end",forceMount:!0,children:[e(l,{className:"font-normal",children:a("div",{className:"flex flex-col space-y-1",children:[e("p",{className:"text-sm font-medium leading-none",children:"John Doe"}),e("p",{className:"text-xs leading-none text-muted-foreground",children:"john.doe@company.com"})]})}),e(d,{}),a(t,{children:[e(b,{className:"mr-2 h-4 w-4"}),e("span",{children:"Profile"})]}),a(t,{children:[e(h,{className:"mr-2 h-4 w-4"}),e("span",{children:"Settings"})]})]})]})]})]})})});export{k as a};
1
+ import{a as r,b as s,i,j as t,m as l,n as d}from"./chunk-OCPX4QPC.mjs";import{b as o}from"./chunk-ZUA4KNIR.mjs";import{a as m,b as p,c}from"./chunk-SOLZ4VQH.mjs";import{Bell as g,Settings as h,User as b,Menu as v}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";var k=({isRightSidebarOpen:f,onToggleRightSidebar:w,onToggleLeftSidebar:n,onToggleNotifications:u})=>e("header",{className:"border-b bg-white/80 backdrop-blur-md dark:bg-slate-900/80 sticky top-0 z-50",children:e("div",{className:"container mx-auto px-6 py-4",children:a("div",{className:"flex items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[n&&e(o,{variant:"ghost",size:"icon",className:"md:hidden",onClick:n,children:e(v,{className:"h-5 w-5"})}),e("h1",{className:"text-2xl font-bold bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent",children:"Cortex Copilot"})]}),a("div",{className:"flex items-center space-x-4",children:[a(o,{variant:"ghost",size:"icon",className:"relative",onClick:u,children:[e(g,{className:"h-5 w-5"}),e("span",{className:"absolute -top-1 -right-1 h-3 w-3 bg-red-500 rounded-full text-xs text-white flex items-center justify-center",children:"3"})]}),a(r,{children:[e(s,{asChild:!0,children:e(o,{variant:"ghost",className:"relative h-10 w-10 rounded-full",children:a(m,{className:"h-10 w-10",children:[e(p,{src:"/avatars/01.png",alt:"@user"}),e(c,{children:"JD"})]})})}),a(i,{className:"w-56",align:"end",forceMount:!0,children:[e(l,{className:"font-normal",children:a("div",{className:"flex flex-col space-y-1",children:[e("p",{className:"text-sm font-medium leading-none",children:"John Doe"}),e("p",{className:"text-xs leading-none text-muted-foreground",children:"john.doe@company.com"})]})}),e(d,{}),a(t,{children:[e(b,{className:"mr-2 h-4 w-4"}),e("span",{children:"Profile"})]}),a(t,{children:[e(h,{className:"mr-2 h-4 w-4"}),e("span",{children:"Settings"})]})]})]})]})]})})});export{k 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-label";import{cva as l}from"class-variance-authority";import{jsx as s}from"react/jsx-runtime";var m=l("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=o.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:t(m(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
4
+ import{a as t}from"./chunk-MDJREBVI.mjs";import*as o from"react";import*as e from"@radix-ui/react-label";import{cva as l}from"class-variance-authority";import{jsx as s}from"react/jsx-runtime";var m=l("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=o.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:t(m(),a),...i}));p.displayName=e.Root.displayName;export{p as a};