cortex-react-components 2.12.1 → 2.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (657) hide show
  1. package/dist/{chunk-4CU7D3X2.mjs → chunk-2C3C5SQQ.mjs} +1 -1
  2. package/dist/{chunk-CSBGSBEU.mjs → chunk-2JKLBLDE.mjs} +1 -1
  3. package/dist/{chunk-IC2ABKAM.mjs → chunk-2LLMXGTP.mjs} +1 -1
  4. package/dist/chunk-2WLZ5T2D.mjs +1 -0
  5. package/dist/{chunk-MU5WPW4N.mjs → chunk-3GLK3JM6.mjs} +1 -1
  6. package/dist/{chunk-Q5Q3DJWU.mjs → chunk-3HD7RAT7.mjs} +1 -1
  7. package/dist/{chunk-CO6AQNZ5.mjs → chunk-3JEM6RIR.mjs} +1 -1
  8. package/dist/{chunk-EOXVYLPB.mjs → chunk-3KBY7FKD.mjs} +1 -1
  9. package/dist/{chunk-PK3OBSCB.mjs → chunk-3ZXW3WQU.mjs} +1 -1
  10. package/dist/{chunk-F5N6KQA2.mjs → chunk-44JXFP6W.mjs} +1 -1
  11. package/dist/{chunk-FKU4VQR6.mjs → chunk-4OAROJ4M.mjs} +1 -1
  12. package/dist/{chunk-JYL3XIJX.mjs → chunk-4OK6PUOO.mjs} +1 -1
  13. package/dist/{chunk-PFLESLNT.mjs → chunk-4RQ27GTD.mjs} +1 -1
  14. package/dist/{chunk-RAGDUV7M.mjs → chunk-52UFJIL4.mjs} +1 -1
  15. package/dist/{chunk-Q5XT55O3.mjs → chunk-532HP37G.mjs} +1 -1
  16. package/dist/{chunk-TEB67NCD.mjs → chunk-55OESIAK.mjs} +1 -1
  17. package/dist/{chunk-LUM6KEWN.mjs → chunk-56AGUZR5.mjs} +1 -1
  18. package/dist/{chunk-IF3425JX.mjs → chunk-5AYDHF5U.mjs} +1 -1
  19. package/dist/{chunk-2RGAV55J.mjs → chunk-5N2D3BGH.mjs} +1 -1
  20. package/dist/{chunk-74U3NYS2.mjs → chunk-5T4OPJ7F.mjs} +1 -1
  21. package/dist/{chunk-LBUC4M6L.mjs → chunk-5WDNNO37.mjs} +1 -1
  22. package/dist/{chunk-CRAZSEFO.mjs → chunk-5WH7SFOR.mjs} +1 -1
  23. package/dist/{chunk-V6GC3UGV.mjs → chunk-5YJFMMVM.mjs} +1 -1
  24. package/dist/{chunk-LKGCU7H6.mjs → chunk-67RPQW7V.mjs} +1 -1
  25. package/dist/{chunk-FGEFYI5E.mjs → chunk-6CAO4IKW.mjs} +1 -1
  26. package/dist/{chunk-MXCW6SOT.mjs → chunk-6GDVIZS5.mjs} +1 -1
  27. package/dist/{chunk-EAFH3DTH.mjs → chunk-6PBOA7BL.mjs} +1 -1
  28. package/dist/{chunk-2LINLX4S.mjs → chunk-6PQ67CC6.mjs} +1 -1
  29. package/dist/{chunk-VMAPGGGW.mjs → chunk-6TLGI4P6.mjs} +1 -1
  30. package/dist/{chunk-LJQPLE4S.mjs → chunk-6UVEJCVM.mjs} +1 -1
  31. package/dist/{chunk-LLED3RQS.mjs → chunk-6WVIXUXX.mjs} +1 -1
  32. package/dist/{chunk-E4TE4NV6.mjs → chunk-7EEEXU54.mjs} +1 -1
  33. package/dist/{chunk-JFFTEK6Z.mjs → chunk-7QBPKUWN.mjs} +1 -1
  34. package/dist/{chunk-L3BLBPSR.mjs → chunk-7RKPUKFH.mjs} +1 -1
  35. package/dist/{chunk-YO3GQYRJ.mjs → chunk-7WKUKFCT.mjs} +1 -1
  36. package/dist/{chunk-ZUA4KNIR.mjs → chunk-7Z3TOFNL.mjs} +1 -1
  37. package/dist/{chunk-FHMQVAKQ.mjs → chunk-A4XWPIEI.mjs} +1 -1
  38. package/dist/{chunk-I2GNNRFH.mjs → chunk-A5TPL5CB.mjs} +1 -1
  39. package/dist/{chunk-ZSIYEVUV.mjs → chunk-A7S4L4P2.mjs} +1 -1
  40. package/dist/{chunk-UWEU6TLS.mjs → chunk-AARMIMMZ.mjs} +1 -1
  41. package/dist/{chunk-3UMMMQEH.mjs → chunk-AG6IN5S7.mjs} +1 -1
  42. package/dist/{chunk-GHZ6CUY3.mjs → chunk-AQIMDHFI.mjs} +1 -1
  43. package/dist/{chunk-YOETYY5S.mjs → chunk-AWMXVMUW.mjs} +1 -1
  44. package/dist/{chunk-D4IMQTVU.mjs → chunk-BEPKJ67R.mjs} +1 -1
  45. package/dist/{chunk-KY7WQYN4.mjs → chunk-BIAOADJS.mjs} +1 -1
  46. package/dist/{chunk-Z22NSJMF.mjs → chunk-BM2ZNFM6.mjs} +1 -1
  47. package/dist/{chunk-MZP7RIQZ.mjs → chunk-BOG3XLGP.mjs} +1 -1
  48. package/dist/{chunk-5WVFEIMC.mjs → chunk-BUTUPCGN.mjs} +1 -1
  49. package/dist/{chunk-HKGW6JI2.mjs → chunk-BXVJNWFA.mjs} +1 -1
  50. package/dist/{chunk-GSOFCLPO.mjs → chunk-C4SUCDRQ.mjs} +1 -1
  51. package/dist/chunk-CDH5ONCJ.mjs +8 -0
  52. package/dist/{chunk-AB43AQKL.mjs → chunk-CXK2IY4V.mjs} +1 -1
  53. package/dist/{chunk-M7NV6EFH.mjs → chunk-CXXPSCV3.mjs} +1 -1
  54. package/dist/{chunk-SS6TXSY6.mjs → chunk-D42KIYIO.mjs} +1 -1
  55. package/dist/{chunk-QTILVWJA.mjs → chunk-DA5SDQDL.mjs} +1 -1
  56. package/dist/{chunk-255P6K5W.mjs → chunk-DFWWQRJ2.mjs} +1 -1
  57. package/dist/{chunk-OCPX4QPC.mjs → chunk-DGJHJHFF.mjs} +1 -1
  58. package/dist/{chunk-PWXCBW2H.mjs → chunk-E2MPOOEL.mjs} +1 -1
  59. package/dist/{chunk-CTAQQFEO.mjs → chunk-E3NWG6B4.mjs} +1 -1
  60. package/dist/{chunk-VGWDYD6Z.mjs → chunk-E43QS242.mjs} +1 -1
  61. package/dist/{chunk-BQAK2HDY.mjs → chunk-E6IIUYQ7.mjs} +1 -1
  62. package/dist/{chunk-JHNVX4UB.mjs → chunk-E6W2YMC3.mjs} +1 -1
  63. package/dist/{chunk-RHR3YOLG.mjs → chunk-E7SIU5SS.mjs} +1 -1
  64. package/dist/{chunk-J4IHIM6A.mjs → chunk-EBO2R46A.mjs} +1 -1
  65. package/dist/{chunk-LXZAOORS.mjs → chunk-EESKUTPD.mjs} +1 -1
  66. package/dist/{chunk-YRMNCHFO.mjs → chunk-EFIJNPMM.mjs} +1 -1
  67. package/dist/{chunk-X3JZSN3W.mjs → chunk-EGERAM4Q.mjs} +1 -1
  68. package/dist/{chunk-5RTGHMF3.mjs → chunk-EPDV35LO.mjs} +1 -1
  69. package/dist/{chunk-7WIO2CIC.mjs → chunk-ESTO675Y.mjs} +1 -1
  70. package/dist/{chunk-RR4QSUV2.mjs → chunk-EUXJZBRI.mjs} +1 -1
  71. package/dist/{chunk-67QPOSVV.mjs → chunk-EYQ4UGAJ.mjs} +1 -1
  72. package/dist/{chunk-MFCVMJBO.mjs → chunk-EYRTGZWR.mjs} +1 -1
  73. package/dist/{chunk-7BXIU4ZM.mjs → chunk-F5JHHMZQ.mjs} +1 -1
  74. package/dist/{chunk-FEI5NFYO.mjs → chunk-F6KHZ4OS.mjs} +1 -1
  75. package/dist/{chunk-MAAKU7PN.mjs → chunk-FDJHY37W.mjs} +1 -1
  76. package/dist/{chunk-ZGQC6O62.mjs → chunk-FHPZSG7W.mjs} +1 -1
  77. package/dist/{chunk-SRUG246N.mjs → chunk-FJUAYJF4.mjs} +1 -1
  78. package/dist/{chunk-OYZDAMCS.mjs → chunk-FPWCCVDI.mjs} +1 -1
  79. package/dist/{chunk-GRNYF3HM.mjs → chunk-FSV7RCTY.mjs} +1 -1
  80. package/dist/{chunk-2RQDJ5XT.mjs → chunk-FT6JQ4AC.mjs} +1 -1
  81. package/dist/{chunk-YKG4FNS4.mjs → chunk-GCIWMQMK.mjs} +1 -1
  82. package/dist/{chunk-6DEY5ZDD.mjs → chunk-GFLX67DN.mjs} +1 -1
  83. package/dist/{chunk-AZKOVKSK.mjs → chunk-GIGKJZGA.mjs} +1 -1
  84. package/dist/{chunk-L5JPAKPM.mjs → chunk-GJUA2KUH.mjs} +1 -1
  85. package/dist/{chunk-KGEIN56Y.mjs → chunk-GNIVCF53.mjs} +1 -1
  86. package/dist/{chunk-KX2NCNCS.mjs → chunk-GYTXBVCX.mjs} +1 -1
  87. package/dist/{chunk-AMV3MECK.mjs → chunk-GZQ7JEUL.mjs} +1 -1
  88. package/dist/{chunk-5WV5ZFEP.mjs → chunk-H45UTXIK.mjs} +1 -1
  89. package/dist/{chunk-7GSXNSLD.mjs → chunk-HH4JDBUN.mjs} +1 -1
  90. package/dist/{chunk-TZKQXT7Y.mjs → chunk-HK52LPE3.mjs} +1 -1
  91. package/dist/{chunk-WI2RL3XQ.mjs → chunk-HLWGNTZD.mjs} +1 -1
  92. package/dist/{chunk-LEC6GEWS.mjs → chunk-HPZPRZWG.mjs} +1 -1
  93. package/dist/{chunk-KVD6XDZT.mjs → chunk-HTCM27MI.mjs} +1 -1
  94. package/dist/{chunk-CNOX2DT2.mjs → chunk-HTQIVWYI.mjs} +1 -1
  95. package/dist/{chunk-U5PBLRRV.mjs → chunk-HYIRE7BK.mjs} +1 -1
  96. package/dist/chunk-I2BNJCJ7.mjs +1 -0
  97. package/dist/{chunk-Q5NHYYRS.mjs → chunk-IG6J62QA.mjs} +1 -1
  98. package/dist/{chunk-B3F6F2S4.mjs → chunk-JKPUXPHP.mjs} +1 -1
  99. package/dist/{chunk-QQVPLMPJ.mjs → chunk-JTFMN7OL.mjs} +1 -1
  100. package/dist/{chunk-2QZUKVBA.mjs → chunk-JULD2KZR.mjs} +1 -1
  101. package/dist/{chunk-FT3AE7L2.mjs → chunk-JVJG2LOA.mjs} +1 -1
  102. package/dist/{chunk-Q6PKGY27.mjs → chunk-K5GFFN67.mjs} +1 -1
  103. package/dist/{chunk-M25ZFLSL.mjs → chunk-KCOLYVJX.mjs} +1 -1
  104. package/dist/{chunk-ORNGKQM7.mjs → chunk-KUVPOOSW.mjs} +1 -1
  105. package/dist/{chunk-HHYHENVF.mjs → chunk-KZTONTWM.mjs} +1 -1
  106. package/dist/{chunk-LVFMFRBR.mjs → chunk-LARQXED4.mjs} +1 -1
  107. package/dist/{chunk-ZMB6R6JX.mjs → chunk-LCIKBYDR.mjs} +1 -1
  108. package/dist/{chunk-76M7JE4D.mjs → chunk-LQDJWEHX.mjs} +1 -1
  109. package/dist/{chunk-DGNL64K3.mjs → chunk-MZKVGPNQ.mjs} +1 -1
  110. package/dist/{chunk-IQQ7ZWCP.mjs → chunk-N5BLWWDM.mjs} +1 -1
  111. package/dist/{chunk-DFIXTV2M.mjs → chunk-N5GHL7UZ.mjs} +1 -1
  112. package/dist/{chunk-ISBVFNWD.mjs → chunk-NGC3C4FW.mjs} +1 -1
  113. package/dist/{chunk-I2ZLKSWR.mjs → chunk-NM6U4PLY.mjs} +1 -1
  114. package/dist/{chunk-DBY4SXQI.mjs → chunk-NMAMUYGQ.mjs} +1 -1
  115. package/dist/{chunk-NSMXJCXE.mjs → chunk-NN2RHTGW.mjs} +1 -1
  116. package/dist/{chunk-INCYANPB.mjs → chunk-NQPBIFGO.mjs} +1 -1
  117. package/dist/{chunk-TR6RBROH.mjs → chunk-OF63XSJ4.mjs} +1 -1
  118. package/dist/{chunk-6C4WESLL.mjs → chunk-OGN7YDFB.mjs} +1 -1
  119. package/dist/{chunk-I3E2TYYZ.mjs → chunk-OHDNPAPI.mjs} +1 -1
  120. package/dist/{chunk-FTZRG54P.mjs → chunk-OKAETRO6.mjs} +1 -1
  121. package/dist/{chunk-22LHS2J6.mjs → chunk-OU7KVCBI.mjs} +1 -1
  122. package/dist/{chunk-RLVKIMGU.mjs → chunk-P5U27QUJ.mjs} +1 -1
  123. package/dist/{chunk-5NRGSTPV.mjs → chunk-PMOMDGBA.mjs} +1 -1
  124. package/dist/{chunk-PDY7JYY3.mjs → chunk-PUAHE5VJ.mjs} +1 -1
  125. package/dist/{chunk-56X4PU43.mjs → chunk-PXAKUW3U.mjs} +1 -1
  126. package/dist/{chunk-MGYV46AJ.mjs → chunk-Q6FPZ6J3.mjs} +1 -1
  127. package/dist/{chunk-6WQXZ6IE.mjs → chunk-QAIS2C6W.mjs} +1 -1
  128. package/dist/{chunk-7GMAMIHM.mjs → chunk-QB63WPDB.mjs} +1 -1
  129. package/dist/{chunk-6HLXIE4P.mjs → chunk-QEFMYXHA.mjs} +1 -1
  130. package/dist/{chunk-IJQC7T2R.mjs → chunk-QIDPNZOL.mjs} +1 -1
  131. package/dist/{chunk-RVHCTANZ.mjs → chunk-QMTI6672.mjs} +1 -1
  132. package/dist/{chunk-D3B2YO7G.mjs → chunk-QUDKEIE6.mjs} +1 -1
  133. package/dist/{chunk-2BR55L74.mjs → chunk-QXA6C5VE.mjs} +1 -1
  134. package/dist/{chunk-Q6VAKKW3.mjs → chunk-QXNCGSQE.mjs} +1 -1
  135. package/dist/{chunk-TVZOULLL.mjs → chunk-RAAY7PEH.mjs} +1 -1
  136. package/dist/{chunk-AM2SRWFU.mjs → chunk-RARAKOXE.mjs} +1 -1
  137. package/dist/{chunk-Q67RF7VO.mjs → chunk-RD7LJPUV.mjs} +1 -1
  138. package/dist/{chunk-SOLZ4VQH.mjs → chunk-RFNYVF6F.mjs} +1 -1
  139. package/dist/{chunk-SOIRB5TV.mjs → chunk-RHYQ4V7N.mjs} +1 -1
  140. package/dist/{chunk-TUI4S4GI.mjs → chunk-RPUSKO6J.mjs} +1 -1
  141. package/dist/{chunk-OM5ZUHCN.mjs → chunk-RU435LAU.mjs} +1 -1
  142. package/dist/{chunk-LVK4QE5D.mjs → chunk-S7N4CSMJ.mjs} +1 -1
  143. package/dist/{chunk-AZ4VR5JX.mjs → chunk-SIFQNSEM.mjs} +1 -1
  144. package/dist/{chunk-XBCYPOFD.mjs → chunk-T3BIRW2W.mjs} +1 -1
  145. package/dist/{chunk-4UIARERB.mjs → chunk-T3NMKARZ.mjs} +1 -1
  146. package/dist/{chunk-CTAIR3TE.mjs → chunk-TAVSBP7M.mjs} +1 -1
  147. package/dist/{chunk-AMVJPDM3.mjs → chunk-TFPWTJ2V.mjs} +1 -1
  148. package/dist/{chunk-FMJBJ3HN.mjs → chunk-TNCD5YIY.mjs} +1 -1
  149. package/dist/{chunk-N3B3XNV3.mjs → chunk-TR52MKZR.mjs} +1 -1
  150. package/dist/chunk-TSEOL53Y.mjs +1 -0
  151. package/dist/{chunk-6SWKEZN6.mjs → chunk-TUTSJOO4.mjs} +1 -1
  152. package/dist/{chunk-6XUIHSKG.mjs → chunk-TYMRNSJ3.mjs} +1 -1
  153. package/dist/{chunk-XGIYNUGC.mjs → chunk-TZTQENNX.mjs} +1 -1
  154. package/dist/{chunk-BMA4266L.mjs → chunk-U5UV7T63.mjs} +1 -1
  155. package/dist/{chunk-ZXPDSSCF.mjs → chunk-UBCJPXKD.mjs} +1 -1
  156. package/dist/{chunk-CGDLOY7W.mjs → chunk-UJ6M7EV5.mjs} +1 -1
  157. package/dist/{chunk-KFCSVEI6.mjs → chunk-UXCCCQCB.mjs} +1 -1
  158. package/dist/{chunk-WISC5QJV.mjs → chunk-UY4BSKPK.mjs} +1 -1
  159. package/dist/{chunk-H3CJOE6S.mjs → chunk-VB7K44IF.mjs} +1 -1
  160. package/dist/{chunk-5SHZBJ5R.mjs → chunk-VFPS3FYN.mjs} +1 -1
  161. package/dist/{chunk-FMH5CZ7X.mjs → chunk-VRZHKAJK.mjs} +1 -1
  162. package/dist/{chunk-B4H6T2GP.mjs → chunk-VXZPPTQQ.mjs} +1 -1
  163. package/dist/{chunk-TJVEQJW3.mjs → chunk-WH24BWZV.mjs} +1 -1
  164. package/dist/{chunk-LAQ3QAUW.mjs → chunk-WJZDHRGO.mjs} +1 -1
  165. package/dist/{chunk-RULSHTXR.mjs → chunk-WKLJU63E.mjs} +1 -1
  166. package/dist/{chunk-YFAZQYK4.mjs → chunk-WLM2ZFHF.mjs} +1 -1
  167. package/dist/{chunk-EHSOO47V.mjs → chunk-WNBJ7C5Y.mjs} +1 -1
  168. package/dist/{chunk-5BV4MHV6.mjs → chunk-WWTVAR4J.mjs} +1 -1
  169. package/dist/chunk-WXTJ6DVT.mjs +4 -0
  170. package/dist/{chunk-WROUZ25H.mjs → chunk-X5RHYJW3.mjs} +1 -1
  171. package/dist/{chunk-BG7QXNV5.mjs → chunk-XXFUUOSB.mjs} +1 -1
  172. package/dist/{chunk-TK4JC5PG.mjs → chunk-XXWSCTF5.mjs} +1 -1
  173. package/dist/{chunk-ERJXTG6X.mjs → chunk-YHTFEWSZ.mjs} +1 -1
  174. package/dist/{chunk-OPLUKFRN.mjs → chunk-YUW3HHAK.mjs} +1 -1
  175. package/dist/{chunk-AREQGH47.mjs → chunk-YVNVQONM.mjs} +1 -1
  176. package/dist/{chunk-5BT4EWU5.mjs → chunk-Z756RYIZ.mjs} +1 -1
  177. package/dist/{chunk-4QRKVSTE.mjs → chunk-ZJBZTPLD.mjs} +1 -1
  178. package/dist/{chunk-PFDPO3UX.mjs → chunk-ZKLSTUIP.mjs} +1 -1
  179. package/dist/{chunk-5AWZJAK3.mjs → chunk-ZNV6MCYI.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.d.ts +2 -2
  187. package/dist/components/AdvancedComponents/app-header.js +1 -1
  188. package/dist/components/AdvancedComponents/app-header.mjs +1 -1
  189. package/dist/components/AdvancedComponents/index.js +2 -2
  190. package/dist/components/AdvancedComponents/index.mjs +1 -1
  191. package/dist/components/AdvancedComponents/navigation-tabs.js +2 -2
  192. package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
  193. package/dist/components/AdvancedComponents/notifications-panel.js +1 -1
  194. package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
  195. package/dist/components/AdvancedComponents/switch.js +1 -1
  196. package/dist/components/AdvancedComponents/switch.mjs +1 -1
  197. package/dist/components/AdvancedComponents/theme-toggle.js +1 -1
  198. package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
  199. package/dist/components/AdvancedComponents/user-selection.js +1 -1
  200. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  201. package/dist/components/Blocks/Banner.js +1 -1
  202. package/dist/components/Blocks/Banner.mjs +1 -1
  203. package/dist/components/Blocks/CallToAction.js +1 -1
  204. package/dist/components/Blocks/CallToAction.mjs +1 -1
  205. package/dist/components/Blocks/CaseStudy.js +1 -1
  206. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  207. package/dist/components/Blocks/Code.client.js +1 -1
  208. package/dist/components/Blocks/Code.client.mjs +1 -1
  209. package/dist/components/Blocks/Code.js +1 -1
  210. package/dist/components/Blocks/Code.mjs +1 -1
  211. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  212. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  213. package/dist/components/Blocks/ConsultantProfile.js +1 -1
  214. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  215. package/dist/components/Blocks/Content.js +1 -1
  216. package/dist/components/Blocks/Content.mjs +1 -1
  217. package/dist/components/Blocks/CopyButton.js +1 -1
  218. package/dist/components/Blocks/CopyButton.mjs +1 -1
  219. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  220. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  221. package/dist/components/Blocks/ImageBlock.js +1 -1
  222. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  223. package/dist/components/Blocks/MediaBlock.js +1 -1
  224. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  225. package/dist/components/Blocks/ProposalSummary.js +1 -1
  226. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  227. package/dist/components/Blocks/RelatedPosts.js +1 -1
  228. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  229. package/dist/components/Blocks/RenderBlocks.js +1 -1
  230. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  231. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  232. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  233. package/dist/components/Blocks/index.js +1 -1
  234. package/dist/components/Blocks/index.mjs +1 -1
  235. package/dist/components/CRM/CogeBoard.js +1 -1
  236. package/dist/components/CRM/CogeBoard.mjs +1 -1
  237. package/dist/components/CRM/DealCard.js +1 -1
  238. package/dist/components/CRM/DealCard.mjs +1 -1
  239. package/dist/components/CRM/DealDetails.js +1 -1
  240. package/dist/components/CRM/DealDetails.mjs +1 -1
  241. package/dist/components/CRM/KanbanBoard.js +1 -1
  242. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  243. package/dist/components/CRM/KanbanColumn.js +1 -1
  244. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  245. package/dist/components/CRM/NewCustomerForm.js +1 -1
  246. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  247. package/dist/components/CRM/NewDealForm.js +1 -1
  248. package/dist/components/CRM/NewDealForm.mjs +1 -1
  249. package/dist/components/CRM/index.js +1 -1
  250. package/dist/components/CRM/index.mjs +1 -1
  251. package/dist/components/Cards/ContentCard.js +1 -1
  252. package/dist/components/Cards/ContentCard.mjs +1 -1
  253. package/dist/components/Cards/CustomerCard.js +1 -1
  254. package/dist/components/Cards/CustomerCard.mjs +1 -1
  255. package/dist/components/Cards/EventCard.js +1 -1
  256. package/dist/components/Cards/EventCard.mjs +1 -1
  257. package/dist/components/Cards/FeatureCard.js +1 -1
  258. package/dist/components/Cards/FeatureCard.mjs +1 -1
  259. package/dist/components/Cards/HeroCard.js +1 -1
  260. package/dist/components/Cards/HeroCard.mjs +1 -1
  261. package/dist/components/Cards/Image.js +1 -1
  262. package/dist/components/Cards/Image.mjs +1 -1
  263. package/dist/components/Cards/PricingCard.js +1 -1
  264. package/dist/components/Cards/PricingCard.mjs +1 -1
  265. package/dist/components/Cards/ProjectCard.js +3 -3
  266. package/dist/components/Cards/ProjectCard.mjs +1 -1
  267. package/dist/components/Cards/ServiceCard.js +1 -1
  268. package/dist/components/Cards/ServiceCard.mjs +1 -1
  269. package/dist/components/Cards/index.js +4 -4
  270. package/dist/components/Cards/index.mjs +1 -1
  271. package/dist/components/Chat/ChatCardArtefact.js +1 -1
  272. package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
  273. package/dist/components/Chat/ChatCardTask.js +1 -1
  274. package/dist/components/Chat/ChatCardTask.mjs +1 -1
  275. package/dist/components/Chat/ChatInterface.js +2 -2
  276. package/dist/components/Chat/ChatInterface.mjs +1 -1
  277. package/dist/components/Chat/ChatInterfaceMessages.js +2 -2
  278. package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
  279. package/dist/components/Chat/ChatMessage.js +2 -2
  280. package/dist/components/Chat/ChatMessage.mjs +1 -1
  281. package/dist/components/Chat/CopilotInterface.js +3 -3
  282. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  283. package/dist/components/Chat/capability-menu.js +1 -1
  284. package/dist/components/Chat/capability-menu.mjs +1 -1
  285. package/dist/components/Chat/chat-session-sidebar.js +1 -1
  286. package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
  287. package/dist/components/Chat/demo-long-messages.js +9 -9
  288. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  289. package/dist/components/Chat/demo-tests.js +24 -24
  290. package/dist/components/Chat/demo-tests.mjs +1 -1
  291. package/dist/components/Chat/demo.js +3 -3
  292. package/dist/components/Chat/demo.mjs +1 -1
  293. package/dist/components/Chat/example-usage.js +2 -2
  294. package/dist/components/Chat/example-usage.mjs +1 -1
  295. package/dist/components/Chat/example-with-file-uploads.js +1 -1
  296. package/dist/components/Chat/example-with-file-uploads.mjs +1 -1
  297. package/dist/components/Chat/example-with-vercel-ai.js +3 -3
  298. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  299. package/dist/components/Chat/index.js +3 -3
  300. package/dist/components/Chat/index.mjs +1 -1
  301. package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +2 -2
  302. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
  303. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +1 -1
  304. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
  305. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +2 -2
  306. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
  307. package/dist/components/DeliveryLead/index.js +2 -2
  308. package/dist/components/DeliveryLead/index.mjs +1 -1
  309. package/dist/components/DigitalColleagues/AppSidebarLeft.js +1 -1
  310. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  311. package/dist/components/DigitalColleagues/DashboardHeader.js +1 -1
  312. package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
  313. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
  314. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
  315. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  316. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  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.js +1 -1
  320. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  321. package/dist/components/DigitalColleagues/SearchableSelect.js +1 -1
  322. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
  323. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
  324. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
  325. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
  326. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
  327. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
  328. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
  329. package/dist/components/DigitalColleagues/Views/index.js +1 -1
  330. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  331. package/dist/components/DigitalColleagues/colleague-card.js +1 -1
  332. package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
  333. package/dist/components/DigitalColleagues/colleague-form.js +1 -1
  334. package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
  335. package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
  336. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
  337. package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
  338. package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
  339. package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
  340. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
  341. package/dist/components/DigitalColleagues/document-edit.js +1 -1
  342. package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
  343. package/dist/components/DigitalColleagues/document-preview-examples.js +5 -5
  344. package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
  345. package/dist/components/DigitalColleagues/document-preview.js +1 -1
  346. package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
  347. package/dist/components/DigitalColleagues/index.js +1 -1
  348. package/dist/components/DigitalColleagues/index.mjs +1 -1
  349. package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
  350. package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
  351. package/dist/components/DigitalColleagues/knowledge-search.js +1 -1
  352. package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
  353. package/dist/components/DigitalColleagues/team-form.js +1 -1
  354. package/dist/components/DigitalColleagues/team-form.mjs +1 -1
  355. package/dist/components/DigitalColleagues/test-data.js +1 -1
  356. package/dist/components/DigitalColleagues/test-data.mjs +1 -1
  357. package/dist/components/HeaderFooter/BrandLogo.js +1 -1
  358. package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
  359. package/dist/components/HeaderFooter/Footer.js +1 -1
  360. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  361. package/dist/components/HeaderFooter/Header.js +1 -1
  362. package/dist/components/HeaderFooter/Header.mjs +1 -1
  363. package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
  364. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  365. package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
  366. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  367. package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
  368. package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
  369. package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
  370. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  371. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  372. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  373. package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
  374. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  375. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  376. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  377. package/dist/components/HeaderFooter/enhanced-header.js +1 -1
  378. package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
  379. package/dist/components/HeaderFooter/index.js +1 -1
  380. package/dist/components/HeaderFooter/index.mjs +1 -1
  381. package/dist/components/Heros/DashboardHero/DashboardHero.js +1 -1
  382. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
  383. package/dist/components/Heros/DashboardHero/index.js +1 -1
  384. package/dist/components/Heros/DashboardHero/index.mjs +1 -1
  385. package/dist/components/Heros/HighImpact/index.js +1 -1
  386. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  387. package/dist/components/Heros/LowImpact/index.js +1 -1
  388. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  389. package/dist/components/Heros/MediumImpact/index.js +1 -1
  390. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  391. package/dist/components/Heros/PostHero/index.js +1 -1
  392. package/dist/components/Heros/PostHero/index.mjs +1 -1
  393. package/dist/components/Heros/RenderHero.js +1 -1
  394. package/dist/components/Heros/RenderHero.mjs +1 -1
  395. package/dist/components/Heros/SectionHero/index.js +1 -1
  396. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  397. package/dist/components/Heros/index.js +1 -1
  398. package/dist/components/Heros/index.mjs +1 -1
  399. package/dist/components/Holidays/ApproveLeave.js +1 -1
  400. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  401. package/dist/components/Holidays/CalendarView.js +1 -1
  402. package/dist/components/Holidays/CalendarView.mjs +1 -1
  403. package/dist/components/Holidays/HolidayGrid.js +1 -1
  404. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  405. package/dist/components/Holidays/HolidayTracker.js +1 -1
  406. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  407. package/dist/components/Holidays/RequestLeave.js +1 -1
  408. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  409. package/dist/components/Holidays/index.js +1 -1
  410. package/dist/components/Holidays/index.mjs +1 -1
  411. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  412. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  413. package/dist/components/Layouts/Print.js +2 -2
  414. package/dist/components/Layouts/Print.mjs +1 -1
  415. package/dist/components/Layouts/SlideShow.js +3 -3
  416. package/dist/components/Layouts/SlideShow.mjs +1 -1
  417. package/dist/components/Layouts/index.js +4 -4
  418. package/dist/components/Layouts/index.mjs +1 -1
  419. package/dist/components/Menus/Categories.js +1 -1
  420. package/dist/components/Menus/Categories.mjs +1 -1
  421. package/dist/components/Menus/Filter.js +1 -1
  422. package/dist/components/Menus/Filter.mjs +1 -1
  423. package/dist/components/Menus/Pagination.js +1 -1
  424. package/dist/components/Menus/Pagination.mjs +1 -1
  425. package/dist/components/Menus/ProjectTeam.js +1 -1
  426. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  427. package/dist/components/Menus/RelatedContent.js +1 -1
  428. package/dist/components/Menus/RelatedContent.mjs +1 -1
  429. package/dist/components/Menus/SidebarLeft.js +1 -1
  430. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  431. package/dist/components/Menus/SidebarRight.js +1 -1
  432. package/dist/components/Menus/SidebarRight.mjs +1 -1
  433. package/dist/components/Menus/index.js +1 -1
  434. package/dist/components/Menus/index.mjs +1 -1
  435. package/dist/components/Other/Container.js +1 -1
  436. package/dist/components/Other/Container.mjs +1 -1
  437. package/dist/components/Other/PageShape.js +1 -1
  438. package/dist/components/Other/PageShape.mjs +1 -1
  439. package/dist/components/Other/index.js +1 -1
  440. package/dist/components/Other/index.mjs +1 -1
  441. package/dist/components/Payload/Card/index.js +1 -1
  442. package/dist/components/Payload/Card/index.mjs +1 -1
  443. package/dist/components/Payload/CollectionArchive/index.js +1 -1
  444. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  445. package/dist/components/Payload/Link/index.js +1 -1
  446. package/dist/components/Payload/Link/index.mjs +1 -1
  447. package/dist/components/Payload/Media/ImageMedia/index.js +1 -1
  448. package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
  449. package/dist/components/Payload/Media/VideoMedia/index.js +1 -1
  450. package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
  451. package/dist/components/Payload/Media/index.js +1 -1
  452. package/dist/components/Payload/Media/index.mjs +1 -1
  453. package/dist/components/Payload/Pagination/index.js +1 -1
  454. package/dist/components/Payload/Pagination/index.mjs +1 -1
  455. package/dist/components/Payload/RichText/index.js +1 -1
  456. package/dist/components/Payload/RichText/index.mjs +1 -1
  457. package/dist/components/Payload/RichText/serialize.js +1 -1
  458. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  459. package/dist/components/Payload/index.js +1 -1
  460. package/dist/components/Payload/index.mjs +1 -1
  461. package/dist/components/Projects/AddEpicModal.js +1 -1
  462. package/dist/components/Projects/AddEpicModal.mjs +1 -1
  463. package/dist/components/Projects/AddSprintModal.js +1 -1
  464. package/dist/components/Projects/AddSprintModal.mjs +1 -1
  465. package/dist/components/Projects/AddTaskModal.js +1 -1
  466. package/dist/components/Projects/AddTaskModal.mjs +1 -1
  467. package/dist/components/Projects/EpicFilter.js +1 -1
  468. package/dist/components/Projects/EpicFilter.mjs +1 -1
  469. package/dist/components/Projects/EpicsView.js +1 -1
  470. package/dist/components/Projects/EpicsView.mjs +1 -1
  471. package/dist/components/Projects/FileView.js +1 -1
  472. package/dist/components/Projects/FileView.mjs +1 -1
  473. package/dist/components/Projects/KanbanBoardView.js +1 -1
  474. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  475. package/dist/components/Projects/KanbanColumn.js +1 -1
  476. package/dist/components/Projects/KanbanColumn.mjs +1 -1
  477. package/dist/components/Projects/PlanningView.js +1 -1
  478. package/dist/components/Projects/PlanningView.mjs +1 -1
  479. package/dist/components/Projects/ProjectPage.js +1 -1
  480. package/dist/components/Projects/ProjectPage.mjs +1 -1
  481. package/dist/components/Projects/ProjectView.js +1 -1
  482. package/dist/components/Projects/ProjectView.mjs +1 -1
  483. package/dist/components/Projects/ProjectsIndexView.js +1 -1
  484. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  485. package/dist/components/Projects/TaskCard.js +1 -1
  486. package/dist/components/Projects/TaskCard.mjs +1 -1
  487. package/dist/components/Projects/TaskDetailsModal.js +1 -1
  488. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  489. package/dist/components/Projects/TaskSelect.js +1 -1
  490. package/dist/components/Projects/TaskSelect.mjs +1 -1
  491. package/dist/components/Projects/TaskSidebar.js +1 -1
  492. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  493. package/dist/components/Projects/TasksView.js +1 -1
  494. package/dist/components/Projects/TasksView.mjs +1 -1
  495. package/dist/components/Projects/TeamSwitcher.js +1 -1
  496. package/dist/components/Projects/TeamSwitcher.mjs +1 -1
  497. package/dist/components/Projects/business-unit-switcher.js +1 -1
  498. package/dist/components/Projects/business-unit-switcher.mjs +1 -1
  499. package/dist/components/Projects/file-list.js +1 -1
  500. package/dist/components/Projects/file-list.mjs +1 -1
  501. package/dist/components/Projects/index.js +1 -1
  502. package/dist/components/Projects/index.mjs +1 -1
  503. package/dist/components/Projects/project-card.js +1 -1
  504. package/dist/components/Projects/project-card.mjs +1 -1
  505. package/dist/components/Projects/project-form.js +1 -1
  506. package/dist/components/Projects/project-form.mjs +1 -1
  507. package/dist/components/Projects/team-card.js +1 -1
  508. package/dist/components/Projects/team-card.mjs +1 -1
  509. package/dist/components/Projects/team-switcher-bar.js +1 -1
  510. package/dist/components/Projects/team-switcher-bar.mjs +1 -1
  511. package/dist/components/Projects/test-data.js +1 -1
  512. package/dist/components/Projects/test-data.mjs +1 -1
  513. package/dist/components/dc-temp/creative.js +1 -1
  514. package/dist/components/dc-temp/creative.mjs +1 -1
  515. package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
  516. package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
  517. package/dist/components/dc-temp/index.js +1 -1
  518. package/dist/components/dc-temp/index.mjs +1 -1
  519. package/dist/components/dc-temp/markdown-renderer.js +1 -1
  520. package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
  521. package/dist/components/dc-temp/utils.js +1 -1
  522. package/dist/components/dc-temp/utils.mjs +1 -1
  523. package/dist/components/index.js +13 -13
  524. package/dist/components/index.mjs +1 -1
  525. package/dist/components/ui/alert.js +1 -1
  526. package/dist/components/ui/alert.mjs +1 -1
  527. package/dist/components/ui/avatar.js +1 -1
  528. package/dist/components/ui/avatar.mjs +1 -1
  529. package/dist/components/ui/badge.js +1 -1
  530. package/dist/components/ui/badge.mjs +1 -1
  531. package/dist/components/ui/breadcrumb.js +1 -1
  532. package/dist/components/ui/breadcrumb.mjs +1 -1
  533. package/dist/components/ui/button.js +1 -1
  534. package/dist/components/ui/button.mjs +1 -1
  535. package/dist/components/ui/calendar.js +1 -1
  536. package/dist/components/ui/calendar.mjs +1 -1
  537. package/dist/components/ui/card.js +1 -1
  538. package/dist/components/ui/card.mjs +1 -1
  539. package/dist/components/ui/checkbox.js +1 -1
  540. package/dist/components/ui/checkbox.mjs +1 -1
  541. package/dist/components/ui/command.js +1 -1
  542. package/dist/components/ui/command.mjs +1 -1
  543. package/dist/components/ui/dialog.js +1 -1
  544. package/dist/components/ui/dialog.mjs +1 -1
  545. package/dist/components/ui/dropdown-menu.js +1 -1
  546. package/dist/components/ui/dropdown-menu.mjs +1 -1
  547. package/dist/components/ui/hover-card.js +1 -1
  548. package/dist/components/ui/hover-card.mjs +1 -1
  549. package/dist/components/ui/index.js +1 -1
  550. package/dist/components/ui/index.mjs +1 -1
  551. package/dist/components/ui/input.js +1 -1
  552. package/dist/components/ui/input.mjs +1 -1
  553. package/dist/components/ui/inputs/common/styles/index.js +1 -1
  554. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  555. package/dist/components/ui/inputs/text-input/index.js +1 -1
  556. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  557. package/dist/components/ui/inputs/textarea-input/index.js +1 -1
  558. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  559. package/dist/components/ui/label.js +1 -1
  560. package/dist/components/ui/label.mjs +1 -1
  561. package/dist/components/ui/pagination.js +1 -1
  562. package/dist/components/ui/pagination.mjs +1 -1
  563. package/dist/components/ui/popover.js +1 -1
  564. package/dist/components/ui/popover.mjs +1 -1
  565. package/dist/components/ui/progress.js +1 -1
  566. package/dist/components/ui/progress.mjs +1 -1
  567. package/dist/components/ui/scroll-area.js +1 -1
  568. package/dist/components/ui/scroll-area.mjs +1 -1
  569. package/dist/components/ui/select.js +1 -1
  570. package/dist/components/ui/select.mjs +1 -1
  571. package/dist/components/ui/separator.js +1 -1
  572. package/dist/components/ui/separator.mjs +1 -1
  573. package/dist/components/ui/sheet.js +1 -1
  574. package/dist/components/ui/sheet.mjs +1 -1
  575. package/dist/components/ui/sidebar.js +1 -1
  576. package/dist/components/ui/sidebar.mjs +1 -1
  577. package/dist/components/ui/skeleton.js +1 -1
  578. package/dist/components/ui/skeleton.mjs +1 -1
  579. package/dist/components/ui/switch.js +1 -1
  580. package/dist/components/ui/switch.mjs +1 -1
  581. package/dist/components/ui/tabs.js +1 -1
  582. package/dist/components/ui/tabs.mjs +1 -1
  583. package/dist/components/ui/textarea.js +1 -1
  584. package/dist/components/ui/textarea.mjs +1 -1
  585. package/dist/components/ui/toast.js +1 -1
  586. package/dist/components/ui/toast.mjs +1 -1
  587. package/dist/components/ui/toaster.js +1 -1
  588. package/dist/components/ui/toaster.mjs +1 -1
  589. package/dist/components/ui/toggle-group.js +1 -1
  590. package/dist/components/ui/toggle-group.mjs +1 -1
  591. package/dist/components/ui/toggle.js +1 -1
  592. package/dist/components/ui/toggle.mjs +1 -1
  593. package/dist/components/ui/tooltip.js +1 -1
  594. package/dist/components/ui/tooltip.mjs +1 -1
  595. package/dist/globals.css +1 -1
  596. package/dist/index.js +18 -18
  597. package/dist/index.mjs +1 -1
  598. package/dist/metafile-cjs.json +1 -1
  599. package/dist/metafile-esm.json +1 -1
  600. package/dist/pages/Blog.js +1 -1
  601. package/dist/pages/Blog.mjs +1 -1
  602. package/dist/pages/Documentation.js +1 -1
  603. package/dist/pages/Documentation.mjs +1 -1
  604. package/dist/pages/IndexPage.js +1 -1
  605. package/dist/pages/IndexPage.mjs +1 -1
  606. package/dist/pages/Intranet.js +1 -1
  607. package/dist/pages/Intranet.mjs +1 -1
  608. package/dist/pages/LandingPage.js +3 -3
  609. package/dist/pages/LandingPage.mjs +1 -1
  610. package/dist/pages/Page.js +1 -1
  611. package/dist/pages/Page.mjs +1 -1
  612. package/dist/pages/Publish.js +4 -4
  613. package/dist/pages/Publish.mjs +1 -1
  614. package/dist/pages/Website.js +1 -1
  615. package/dist/pages/Website.mjs +1 -1
  616. package/dist/sections/AboutSection.js +1 -1
  617. package/dist/sections/AboutSection.mjs +1 -1
  618. package/dist/sections/BlogDetail.js +1 -1
  619. package/dist/sections/BlogDetail.mjs +1 -1
  620. package/dist/sections/BlogList.js +3 -3
  621. package/dist/sections/BlogList.mjs +1 -1
  622. package/dist/sections/BlogListSection.js +1 -1
  623. package/dist/sections/BlogListSection.mjs +1 -1
  624. package/dist/sections/ContactSection.js +1 -1
  625. package/dist/sections/ContactSection.mjs +1 -1
  626. package/dist/sections/ImageSection.js +1 -1
  627. package/dist/sections/ImageSection.mjs +1 -1
  628. package/dist/sections/MainPageSection.js +1 -1
  629. package/dist/sections/MainPageSection.mjs +1 -1
  630. package/dist/sections/PageSections.js +3 -3
  631. package/dist/sections/PageSections.mjs +1 -1
  632. package/dist/sections/PricingSection.js +1 -1
  633. package/dist/sections/PricingSection.mjs +1 -1
  634. package/dist/sections/ServiceDetail.js +1 -1
  635. package/dist/sections/ServiceDetail.mjs +1 -1
  636. package/dist/sections/ServiceDetailSection.js +1 -1
  637. package/dist/sections/ServiceDetailSection.mjs +1 -1
  638. package/dist/sections/ServiceSection.js +1 -1
  639. package/dist/sections/ServiceSection.mjs +1 -1
  640. package/dist/sections/form/index.js +1 -1
  641. package/dist/sections/form/index.mjs +1 -1
  642. package/dist/sections/index.js +3 -3
  643. package/dist/sections/index.mjs +1 -1
  644. package/dist/styles/Colors.js +1 -1
  645. package/dist/styles/Colors.mjs +1 -1
  646. package/dist/utils/AOSInit.js +2 -2
  647. package/dist/utils/AOSInit.mjs +1 -1
  648. package/dist/utils/cn.js +1 -1
  649. package/dist/utils/cn.mjs +1 -1
  650. package/dist/utils/index.js +2 -2
  651. package/dist/utils/index.mjs +1 -1
  652. package/package.json +1 -1
  653. package/dist/chunk-MDJREBVI.mjs +0 -1
  654. package/dist/chunk-O46BOA4T.mjs +0 -1
  655. package/dist/chunk-XGRRLABA.mjs +0 -8
  656. package/dist/chunk-ZFUP5NVF.mjs +0 -4
  657. package/dist/chunk-ZWHGOTSF.mjs +0 -1
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
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};
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};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as I,c as T,d as F,g as $,i as M}from"./chunk-YFAZQYK4.mjs";import{a as w}from"./chunk-B4H6T2GP.mjs";import{b as _}from"./chunk-ZFUP5NVF.mjs";import{a as r}from"./chunk-L5JPAKPM.mjs";import{b as i}from"./chunk-ZUA4KNIR.mjs";import{a as S}from"./chunk-YO3GQYRJ.mjs";import{useState as d}from"react";import{X as De,Plus as O,Edit2 as L,Trash2 as R,Calendar as K,Kanban as Pe,FileText as je,FolderOpen as V,Target as Ee,Layers as Ae}from"lucide-react";import{Fragment as H,jsx as e,jsxs as t}from"react/jsx-runtime";var ee=({projects:g,epics:ae,sprints:te,currentView:b,onUpdateProject:U,onDeleteProject:se,onAddProject:ne,onUpdateEpic:X,onDeleteEpic:ie,onAddEpic:le,onAddSprint:re,onUpdateSprint:q,onDeleteSprint:oe,onViewChange:h,mobileMenuOpen:G,onToggleMobileMenu:de})=>{let[o,u]=d(null),[k,C]=d(null),[D,P]=d(null),[j,E]=d(null),[x,y]=d({name:"",description:""}),[l,c]=d({name:"",description:"",color:"",confidence:"medium",phase:1,startDate:"",endDate:"",progress:0}),[m,v]=d({name:"",description:"",startDate:"",endDate:"",isActive:!1}),[ce,A]=d(!1),[me,z]=d(!1),[f,B]=d({name:"",description:""}),[p,N]=d({name:"",description:"",startDate:"",endDate:"",isActive:!1}),pe=["bg-brand-blue","bg-brand-green","bg-brand-plum","bg-brand-orange","bg-destructive","bg-warning","bg-brand-cyan","bg-accent"],J=[{value:"low",label:"Low",color:"text-destructive"},{value:"medium",label:"Medium",color:"text-warning"},{value:"high",label:"High",color:"text-success"}],Q=[{value:1,label:"Phase 1",color:"text-brand-blue"},{value:2,label:"Phase 2",color:"text-brand-plum"},{value:3,label:"Phase 3",color:"text-brand-orange"},{value:4,label:"Phase 4",color:"text-brand-green"},{value:5,label:"Phase 5",color:"text-destructive"},{value:6,label:"Phase 6",color:"text-warning"},{value:7,label:"Phase 7",color:"text-brand-cyan"},{value:8,label:"Phase 8",color:"text-accent"},{value:9,label:"Phase 9",color:"text-muted-foreground"}],ue=a=>{C(a.id),y({name:a.name,description:a.description||""})},ve=()=>{k&&x.name.trim()&&(U(k,{name:x.name.trim(),description:x.description.trim()}),C(null))},ge=()=>{C(null),y({name:"",description:""})},be=()=>{f.name.trim()&&(ne({name:f.name.trim(),description:f.description.trim(),isSelected:!1}),B({name:"",description:""}),A(!1))},he=a=>{U(a,{isSelected:!0})},xe=a=>{P(a.id),c({name:a.name,description:a.description||"",color:a.color,confidence:a.confidence,phase:a.phase,startDate:a.startDate.toISOString().split("T")[0],endDate:a.endDate.toISOString().split("T")[0],progress:a.progress})},fe=()=>{D&&l.name.trim()&&(X(D,{name:l.name.trim(),description:l.description.trim(),color:l.color,confidence:l.confidence,phase:l.phase,startDate:new Date(l.startDate),endDate:new Date(l.endDate),progress:l.progress}),P(null))},Ne=()=>{P(null),c({name:"",description:"",color:"",confidence:"medium",phase:1,startDate:"",endDate:"",progress:0})},ye=a=>{E(a.id),v({name:a.name,description:a.description||"",startDate:a.startDate.toISOString().split("T")[0],endDate:a.endDate.toISOString().split("T")[0],isActive:a.isActive})},we=()=>{j&&m.name.trim()&&(q(j,{name:m.name.trim(),description:m.description.trim(),startDate:new Date(m.startDate),endDate:new Date(m.endDate),isActive:m.isActive}),E(null))},Se=()=>{E(null),v({name:"",description:"",startDate:"",endDate:"",isActive:!1})},ke=()=>{p.name.trim()&&(re({name:p.name.trim(),description:p.description.trim(),startDate:new Date(p.startDate),endDate:new Date(p.endDate),isActive:p.isActive,isSelected:!1}),N({name:"",description:"",startDate:"",endDate:"",isActive:!1}),z(!1))},Ce=a=>{q(a,{isSelected:!0})},W=a=>a.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}),Y=a=>{let s=J.find(n=>n.value===a);return s?{label:s.label,color:s.color}:{label:"Medium",color:"text-warning"}},Z=a=>{let s=Q.find(n=>n.value===a);return s?{label:s.label,color:s.color}:{label:"Phase 1",color:"text-primary"}};return t(H,{children:[t("div",{className:`absolute h-full w-12 bg-sidebar-background flex flex-col z-50 flex-shrink-0 transition-transform duration-300 group ${G?"translate-x-0":"-translate-x-full"} md:translate-x-0`,children:[t("div",{className:"border-b border-sidebar-border",children:[t("button",{onClick:()=>{h("kanban"),u(null)},className:`w-12 h-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="kanban"?"bg-primary":"bg-primary/75 hover:bg-primary"} hover:w-28 hover:justify-start hover:pl-3 z-50`,title:"Kanban View",children:[e(Pe,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Kanban"})]}),t("button",{onClick:()=>{h("planning"),u(null)},className:`w-12 h-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="planning"?"bg-brand-plum":"bg-brand-plum/75 hover:bg-brand-plum"} hidden md:flex hover:w-28 hover:justify-start hover:pl-3`,title:"Planning View",children:[e(K,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Planning"})]})]}),t("button",{onClick:()=>u(o==="projects"?null:"projects"),className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${o==="projects"?"bg-sidebar-accent":"bg-sidebar-primary hover:bg-sidebar-accent"} hover:w-28 hover:justify-start hover:pl-3`,title:"Projects",children:[e(V,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Projects"})]}),t("button",{onClick:()=>{h("epics"),u(null)},className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="epics"?"bg-primary":"bg-primary/75 hover:bg-primary"} hover:w-28 hover:justify-start hover:pl-3`,title:"Epic Planning",children:[e(Ee,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Epics"})]}),t("button",{onClick:()=>u(o==="sprints"?null:"sprints"),className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${o==="sprints"?"bg-brand-green":"bg-brand-green/75 hover:bg-brand-green"} hover:w-28 hover:justify-start hover:pl-3`,title:"Sprints",children:[e(Ae,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Sprints"})]}),t("button",{onClick:()=>{h("files"),u(null)},className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="files"?"bg-brand-orange":"bg-brand-orange/75 hover:bg-brand-orange"} hover:w-28 hover:justify-start hover:pl-3`,title:"Files",children:[e(je,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Files"})]}),t("button",{onClick:()=>{h("tasks"),u(null)},className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="tasks"?"bg-brand-cyan":"bg-brand-cyan/75 hover:bg-brand-cyan"} hover:w-28 hover:justify-start hover:pl-3`,title:"Tasks",children:[e(K,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Tasks"})]})]}),G&&e("div",{className:"md:hidden fixed inset-0 bg-background/80 backdrop-blur-sm z-20",onClick:de}),o&&t(H,{children:[e("div",{className:"fixed inset-0 bg-background/80 backdrop-blur-sm z-40",onClick:()=>u(null)}),t("div",{className:"absolute left-12 w-80 md:w-96 bg-card shadow-lg z-40 transform transition-transform max-w-[calc(100vw-3rem)] md:max-w-none top-0 h-full",children:[t("div",{className:"p-3 md:p-4 border-b flex items-center justify-between",children:[t("h2",{className:"text-base md:text-lg font-semibold",children:[o==="projects"&&"Projects",o==="epics"&&"Manage Epics",o==="sprints"&&"Manage Sprints",o==="files"&&"Files"]}),e(i,{variant:"ghost",size:"sm",onClick:()=>u(null),children:e(De,{className:"h-4 w-4"})})]}),t("div",{className:"p-3 md:p-4 space-y-4 h-full overflow-y-auto",children:[o==="projects"&&e(S,{className:"p-3",children:t("div",{className:"space-y-3",children:[t("div",{className:"flex items-center justify-between",children:[e("h3",{className:"font-medium text-foreground",children:"Projects"}),t(i,{size:"sm",onClick:()=>A(!0),className:"gap-1",children:[e(O,{className:"h-3 w-3"}),"Add Project"]})]}),ce&&t("div",{className:"border rounded-lg p-2 space-y-2",children:[e(r,{value:f.name,onChange:a=>B(s=>({...s,name:a.target.value})),placeholder:"Project name",className:"text-sm"}),e(w,{value:f.description,onChange:a=>B(s=>({...s,description:a.target.value})),placeholder:"Project description",rows:2,className:"text-sm"}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:be,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:()=>A(!1),className:"text-xs h-6",children:"Cancel"})]})]}),e("div",{className:"space-y-2",children:g.map(a=>e("div",{className:"border rounded p-2",children:k===a.id?t("div",{className:"space-y-2",children:[e(r,{value:x.name,onChange:s=>y(n=>({...n,name:s.target.value})),placeholder:"Project name",className:"text-sm"}),e(w,{value:x.description,onChange:s=>y(n=>({...n,description:s.target.value})),placeholder:"Project description",rows:2,className:"text-sm"}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:ve,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:ge,className:"text-xs h-6",children:"Cancel"})]})]}):t("div",{className:`cursor-pointer p-1 rounded transition-colors ${a.isSelected?"bg-primary/10 border-primary ring-2 ring-primary/20":"hover:bg-muted"}`,onClick:()=>he(a.id),children:[t("div",{className:"flex items-center gap-2 mb-1",children:[e(V,{className:"h-3 w-3 text-muted-foreground"}),e("span",{className:"font-medium text-xs",children:a.name})]}),a.description&&e("p",{className:"text-xs text-muted-foreground mb-1",children:a.description}),t("div",{className:"flex gap-1",onClick:s=>s.stopPropagation(),children:[e(i,{size:"sm",variant:"ghost",onClick:()=>ue(a),className:"h-5 px-1",children:e(L,{className:"h-3 w-3"})}),e(i,{size:"sm",variant:"ghost",onClick:()=>se(a.id),className:"h-5 px-1 text-destructive hover:text-destructive",children:e(R,{className:"h-3 w-3"})})]})]})},a.id))})]})}),o==="epics"&&e(S,{className:"p-3",children:t("div",{className:"space-y-3",children:[t("div",{className:"flex items-center justify-between",children:[e("h3",{className:"font-medium text-foreground",children:"Epics"}),t(i,{size:"sm",onClick:le,className:"gap-1",children:[e(O,{className:"h-3 w-3"}),"Add Epic"]})]}),e("div",{className:"space-y-4",children:ae.map(a=>e("div",{className:"border rounded-lg p-3",children:D===a.id?t("div",{className:"space-y-3",children:[e(r,{value:l.name,onChange:s=>c(n=>({...n,name:s.target.value})),placeholder:"Epic name",className:"text-sm"}),e(w,{value:l.description,onChange:s=>c(n=>({...n,description:s.target.value})),placeholder:"Epic description",rows:2,className:"text-sm"}),t("div",{className:"space-y-2",children:[e("label",{className:"text-xs font-medium",children:"Color"}),e("div",{className:"flex gap-1 flex-wrap",children:pe.map(s=>e("button",{onClick:()=>c(n=>({...n,color:s})),className:`w-6 h-6 rounded-full ${s} ${l.color===s?"ring-2 ring-ring":""}`},s))})]}),t("div",{className:"grid grid-cols-2 gap-2",children:[t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Confidence"}),t(I,{value:l.confidence,onValueChange:s=>c(n=>({...n,confidence:s})),children:[e(F,{className:"h-8 text-xs",children:e(T,{})}),e($,{children:J.map(s=>e(M,{value:s.value,children:e("span",{className:s.color,children:s.label})},s.value))})]})]}),t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Phase"}),t(I,{value:l.phase.toString(),onValueChange:s=>c(n=>({...n,phase:parseInt(s)})),children:[e(F,{className:"h-8 text-xs",children:e(T,{})}),e($,{children:Q.map(s=>e(M,{value:s.value.toString(),children:e("span",{className:s.color,children:s.label})},s.value))})]})]})]}),t("div",{className:"grid grid-cols-2 gap-2",children:[t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Start Date"}),e(r,{type:"date",value:l.startDate,onChange:s=>c(n=>({...n,startDate:s.target.value})),className:"text-xs h-8"})]}),t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"End Date"}),e(r,{type:"date",value:l.endDate,onChange:s=>c(n=>({...n,endDate:s.target.value})),className:"text-xs h-8"})]})]}),t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Progress (%)"}),e(r,{type:"number",min:"0",max:"100",value:l.progress,onChange:s=>c(n=>({...n,progress:parseInt(s.target.value)||0})),className:"text-xs h-8"})]}),t("div",{className:"flex gap-2",children:[e(i,{size:"sm",onClick:fe,className:"text-xs",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:Ne,className:"text-xs",children:"Cancel"})]})]}):t("div",{className:`cursor-pointer p-2 rounded transition-colors ${a.isSelected?"bg-primary/10 border-primary":"hover:bg-muted"}`,onClick:()=>X(a.id,{isSelected:!a.isSelected}),children:[t("div",{className:"flex items-center gap-2 mb-2",children:[e("div",{className:`w-3 h-3 rounded-full ${a.color}`}),e("span",{className:"font-medium text-sm",children:a.name})]}),a.description&&e("p",{className:"text-xs text-muted-foreground mb-2",children:a.description}),t("div",{className:"space-y-1 mb-2",children:[t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Confidence:"}),e("span",{className:Y(a.confidence).color,children:Y(a.confidence).label})]}),t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Phase:"}),e("span",{className:Z(a.phase).color,children:Z(a.phase).label})]}),t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Timeline:"}),t("span",{className:"text-foreground",children:[W(a.startDate)," - ",W(a.endDate)]})]}),t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Progress:"}),t("div",{className:"flex items-center gap-2",children:[e("div",{className:"w-12 h-2 bg-muted rounded-full",children:e("div",{className:"h-2 bg-primary rounded-full",style:{width:`${a.progress}%`}})}),t("span",{className:"text-foreground",children:[a.progress,"%"]})]})]})]}),t("div",{className:"flex gap-1",onClick:s=>s.stopPropagation(),children:[e(i,{size:"sm",variant:"ghost",onClick:()=>xe(a),className:"h-6 px-2",children:e(L,{className:"h-3 w-3"})}),e(i,{size:"sm",variant:"ghost",onClick:()=>ie(a.id),className:"h-6 px-2 text-destructive hover:text-destructive",children:e(R,{className:"h-3 w-3"})})]})]})},a.id))})]})}),o==="sprints"&&e(S,{className:"p-3",children:t("div",{className:"space-y-3",children:[t("div",{className:"flex items-center justify-between",children:[e("h3",{className:"font-medium text-foreground",children:"Sprints (Select One)"}),t(i,{size:"sm",onClick:()=>z(!0),className:"gap-1",children:[e(O,{className:"h-3 w-3"}),"Add Sprint"]})]}),me&&t("div",{className:"border rounded-lg p-2 space-y-2",children:[e(r,{value:p.name,onChange:a=>N(s=>({...s,name:a.target.value})),placeholder:"Sprint name",className:"text-sm"}),t("div",{className:"grid grid-cols-2 gap-1",children:[e(r,{type:"date",value:p.startDate,onChange:a=>N(s=>({...s,startDate:a.target.value})),className:"text-xs"}),e(r,{type:"date",value:p.endDate,onChange:a=>N(s=>({...s,endDate:a.target.value})),className:"text-xs"})]}),t("div",{className:"flex items-center gap-2",children:[e("input",{type:"checkbox",checked:p.isActive,onChange:a=>N(s=>({...s,isActive:a.target.checked})),className:"w-3 h-3"}),e("span",{className:"text-xs",children:"Active"})]}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:ke,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:()=>z(!1),className:"text-xs h-6",children:"Cancel"})]})]}),e("div",{className:"space-y-2",children:te.map(a=>e("div",{className:"border rounded p-2",children:j===a.id?t("div",{className:"space-y-2",children:[e(r,{value:m.name,onChange:s=>v(n=>({...n,name:s.target.value})),placeholder:"Sprint name",className:"text-sm",disabled:a.id==="backlog"||a.id==="all-tasks"}),a.id!=="backlog"&&a.id!=="all-tasks"&&t(H,{children:[t("div",{className:"grid grid-cols-2 gap-1",children:[e(r,{type:"date",value:m.startDate,onChange:s=>v(n=>({...n,startDate:s.target.value})),className:"text-xs"}),e(r,{type:"date",value:m.endDate,onChange:s=>v(n=>({...n,endDate:s.target.value})),className:"text-xs"})]}),t("div",{className:"flex items-center gap-2",children:[e("input",{type:"checkbox",checked:m.isActive,onChange:s=>v(n=>({...n,isActive:s.target.checked})),className:"w-3 h-3"}),e("span",{className:"text-xs",children:"Active"})]})]}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:we,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:Se,className:"text-xs h-6",children:"Cancel"})]})]}):t("div",{className:`cursor-pointer p-1 rounded transition-colors ${a.isSelected?"bg-brand-green/10 border-brand-green ring-2 ring-brand-green/20":"hover:bg-muted"}`,onClick:()=>Ce(a.id),children:[t("div",{className:"flex items-center gap-2 mb-1",children:[e(K,{className:"h-3 w-3 text-muted-foreground"}),e("span",{className:"font-medium text-xs",children:a.name}),a.isActive&&e("span",{className:"text-xs bg-brand-green/20 text-brand-green px-1 py-0.5 rounded",children:"Active"}),(a.id==="backlog"||a.id==="all-tasks")&&e("span",{className:"text-xs bg-muted text-muted-foreground px-1 py-0.5 rounded",children:"System"})]}),a.id!=="backlog"&&a.id!=="all-tasks"&&t("p",{className:"text-xs text-muted-foreground mb-1",children:[a.startDate.toLocaleDateString()," - ",a.endDate.toLocaleDateString()]}),t("div",{className:"flex gap-1",onClick:s=>s.stopPropagation(),children:[e(i,{size:"sm",variant:"ghost",onClick:()=>ye(a),className:"h-5 px-1",children:e(L,{className:"h-3 w-3"})}),a.id!=="backlog"&&a.id!=="all-tasks"&&e(i,{size:"sm",variant:"ghost",onClick:()=>oe(a.id),className:"h-5 px-1 text-destructive hover:text-destructive",children:e(R,{className:"h-3 w-3"})})]})]})},a.id))})]})})]})]})]})]})},Xe=g=>e(_,{children:t("div",{className:"flex w-full",children:[e("div",{className:"hidden md:block w-12 fixed h-full",children:e(ee,{...g})}),e("div",{className:"md:hidden",children:e(ee,{...g})}),e("div",{className:"flex-1 min-w-0 ml-16 px-4 md:px-6",children:e("div",{className:"w-full",children:g.children})})]})});export{Xe as a};
4
+ import{a as I,c as T,d as F,g as $,i as M}from"./chunk-WLM2ZFHF.mjs";import{a as w}from"./chunk-VXZPPTQQ.mjs";import{b as _}from"./chunk-WXTJ6DVT.mjs";import{a as r}from"./chunk-GJUA2KUH.mjs";import{b as i}from"./chunk-7Z3TOFNL.mjs";import{a as S}from"./chunk-7WKUKFCT.mjs";import{useState as d}from"react";import{X as De,Plus as O,Edit2 as L,Trash2 as R,Calendar as K,Kanban as Pe,FileText as je,FolderOpen as V,Target as Ee,Layers as Ae}from"lucide-react";import{Fragment as H,jsx as e,jsxs as t}from"react/jsx-runtime";var ee=({projects:g,epics:ae,sprints:te,currentView:b,onUpdateProject:U,onDeleteProject:se,onAddProject:ne,onUpdateEpic:X,onDeleteEpic:ie,onAddEpic:le,onAddSprint:re,onUpdateSprint:q,onDeleteSprint:oe,onViewChange:h,mobileMenuOpen:G,onToggleMobileMenu:de})=>{let[o,u]=d(null),[k,C]=d(null),[D,P]=d(null),[j,E]=d(null),[x,y]=d({name:"",description:""}),[l,c]=d({name:"",description:"",color:"",confidence:"medium",phase:1,startDate:"",endDate:"",progress:0}),[m,v]=d({name:"",description:"",startDate:"",endDate:"",isActive:!1}),[ce,A]=d(!1),[me,z]=d(!1),[f,B]=d({name:"",description:""}),[p,N]=d({name:"",description:"",startDate:"",endDate:"",isActive:!1}),pe=["bg-brand-blue","bg-brand-green","bg-brand-plum","bg-brand-orange","bg-destructive","bg-warning","bg-brand-cyan","bg-accent"],J=[{value:"low",label:"Low",color:"text-destructive"},{value:"medium",label:"Medium",color:"text-warning"},{value:"high",label:"High",color:"text-success"}],Q=[{value:1,label:"Phase 1",color:"text-brand-blue"},{value:2,label:"Phase 2",color:"text-brand-plum"},{value:3,label:"Phase 3",color:"text-brand-orange"},{value:4,label:"Phase 4",color:"text-brand-green"},{value:5,label:"Phase 5",color:"text-destructive"},{value:6,label:"Phase 6",color:"text-warning"},{value:7,label:"Phase 7",color:"text-brand-cyan"},{value:8,label:"Phase 8",color:"text-accent"},{value:9,label:"Phase 9",color:"text-muted-foreground"}],ue=a=>{C(a.id),y({name:a.name,description:a.description||""})},ve=()=>{k&&x.name.trim()&&(U(k,{name:x.name.trim(),description:x.description.trim()}),C(null))},ge=()=>{C(null),y({name:"",description:""})},be=()=>{f.name.trim()&&(ne({name:f.name.trim(),description:f.description.trim(),isSelected:!1}),B({name:"",description:""}),A(!1))},he=a=>{U(a,{isSelected:!0})},xe=a=>{P(a.id),c({name:a.name,description:a.description||"",color:a.color,confidence:a.confidence,phase:a.phase,startDate:a.startDate.toISOString().split("T")[0],endDate:a.endDate.toISOString().split("T")[0],progress:a.progress})},fe=()=>{D&&l.name.trim()&&(X(D,{name:l.name.trim(),description:l.description.trim(),color:l.color,confidence:l.confidence,phase:l.phase,startDate:new Date(l.startDate),endDate:new Date(l.endDate),progress:l.progress}),P(null))},Ne=()=>{P(null),c({name:"",description:"",color:"",confidence:"medium",phase:1,startDate:"",endDate:"",progress:0})},ye=a=>{E(a.id),v({name:a.name,description:a.description||"",startDate:a.startDate.toISOString().split("T")[0],endDate:a.endDate.toISOString().split("T")[0],isActive:a.isActive})},we=()=>{j&&m.name.trim()&&(q(j,{name:m.name.trim(),description:m.description.trim(),startDate:new Date(m.startDate),endDate:new Date(m.endDate),isActive:m.isActive}),E(null))},Se=()=>{E(null),v({name:"",description:"",startDate:"",endDate:"",isActive:!1})},ke=()=>{p.name.trim()&&(re({name:p.name.trim(),description:p.description.trim(),startDate:new Date(p.startDate),endDate:new Date(p.endDate),isActive:p.isActive,isSelected:!1}),N({name:"",description:"",startDate:"",endDate:"",isActive:!1}),z(!1))},Ce=a=>{q(a,{isSelected:!0})},W=a=>a.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}),Y=a=>{let s=J.find(n=>n.value===a);return s?{label:s.label,color:s.color}:{label:"Medium",color:"text-warning"}},Z=a=>{let s=Q.find(n=>n.value===a);return s?{label:s.label,color:s.color}:{label:"Phase 1",color:"text-primary"}};return t(H,{children:[t("div",{className:`absolute h-full w-12 bg-sidebar-background flex flex-col z-50 flex-shrink-0 transition-transform duration-300 group ${G?"translate-x-0":"-translate-x-full"} md:translate-x-0`,children:[t("div",{className:"border-b border-sidebar-border",children:[t("button",{onClick:()=>{h("kanban"),u(null)},className:`w-12 h-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="kanban"?"bg-primary":"bg-primary/75 hover:bg-primary"} hover:w-28 hover:justify-start hover:pl-3 z-50`,title:"Kanban View",children:[e(Pe,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Kanban"})]}),t("button",{onClick:()=>{h("planning"),u(null)},className:`w-12 h-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="planning"?"bg-brand-plum":"bg-brand-plum/75 hover:bg-brand-plum"} hidden md:flex hover:w-28 hover:justify-start hover:pl-3`,title:"Planning View",children:[e(K,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Planning"})]})]}),t("button",{onClick:()=>u(o==="projects"?null:"projects"),className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${o==="projects"?"bg-sidebar-accent":"bg-sidebar-primary hover:bg-sidebar-accent"} hover:w-28 hover:justify-start hover:pl-3`,title:"Projects",children:[e(V,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Projects"})]}),t("button",{onClick:()=>{h("epics"),u(null)},className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="epics"?"bg-primary":"bg-primary/75 hover:bg-primary"} hover:w-28 hover:justify-start hover:pl-3`,title:"Epic Planning",children:[e(Ee,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Epics"})]}),t("button",{onClick:()=>u(o==="sprints"?null:"sprints"),className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${o==="sprints"?"bg-brand-green":"bg-brand-green/75 hover:bg-brand-green"} hover:w-28 hover:justify-start hover:pl-3`,title:"Sprints",children:[e(Ae,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Sprints"})]}),t("button",{onClick:()=>{h("files"),u(null)},className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="files"?"bg-brand-orange":"bg-brand-orange/75 hover:bg-brand-orange"} hover:w-28 hover:justify-start hover:pl-3`,title:"Files",children:[e(je,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Files"})]}),t("button",{onClick:()=>{h("tasks"),u(null)},className:`flex-1 w-12 flex items-center justify-center text-sidebar-foreground transition-all duration-200 relative overflow-hidden group/btn ${b==="tasks"?"bg-brand-cyan":"bg-brand-cyan/75 hover:bg-brand-cyan"} hover:w-28 hover:justify-start hover:pl-3`,title:"Tasks",children:[e(K,{className:"h-4 w-4 flex-shrink-0"}),e("span",{className:"text-xs font-medium whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity duration-200 absolute left-8",children:"Tasks"})]})]}),G&&e("div",{className:"md:hidden fixed inset-0 bg-background/80 backdrop-blur-sm z-20",onClick:de}),o&&t(H,{children:[e("div",{className:"fixed inset-0 bg-background/80 backdrop-blur-sm z-40",onClick:()=>u(null)}),t("div",{className:"absolute left-12 w-80 md:w-96 bg-card shadow-lg z-40 transform transition-transform max-w-[calc(100vw-3rem)] md:max-w-none top-0 h-full",children:[t("div",{className:"p-3 md:p-4 border-b flex items-center justify-between",children:[t("h2",{className:"text-base md:text-lg font-semibold",children:[o==="projects"&&"Projects",o==="epics"&&"Manage Epics",o==="sprints"&&"Manage Sprints",o==="files"&&"Files"]}),e(i,{variant:"ghost",size:"sm",onClick:()=>u(null),children:e(De,{className:"h-4 w-4"})})]}),t("div",{className:"p-3 md:p-4 space-y-4 h-full overflow-y-auto",children:[o==="projects"&&e(S,{className:"p-3",children:t("div",{className:"space-y-3",children:[t("div",{className:"flex items-center justify-between",children:[e("h3",{className:"font-medium text-foreground",children:"Projects"}),t(i,{size:"sm",onClick:()=>A(!0),className:"gap-1",children:[e(O,{className:"h-3 w-3"}),"Add Project"]})]}),ce&&t("div",{className:"border rounded-lg p-2 space-y-2",children:[e(r,{value:f.name,onChange:a=>B(s=>({...s,name:a.target.value})),placeholder:"Project name",className:"text-sm"}),e(w,{value:f.description,onChange:a=>B(s=>({...s,description:a.target.value})),placeholder:"Project description",rows:2,className:"text-sm"}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:be,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:()=>A(!1),className:"text-xs h-6",children:"Cancel"})]})]}),e("div",{className:"space-y-2",children:g.map(a=>e("div",{className:"border rounded p-2",children:k===a.id?t("div",{className:"space-y-2",children:[e(r,{value:x.name,onChange:s=>y(n=>({...n,name:s.target.value})),placeholder:"Project name",className:"text-sm"}),e(w,{value:x.description,onChange:s=>y(n=>({...n,description:s.target.value})),placeholder:"Project description",rows:2,className:"text-sm"}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:ve,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:ge,className:"text-xs h-6",children:"Cancel"})]})]}):t("div",{className:`cursor-pointer p-1 rounded transition-colors ${a.isSelected?"bg-primary/10 border-primary ring-2 ring-primary/20":"hover:bg-muted"}`,onClick:()=>he(a.id),children:[t("div",{className:"flex items-center gap-2 mb-1",children:[e(V,{className:"h-3 w-3 text-muted-foreground"}),e("span",{className:"font-medium text-xs",children:a.name})]}),a.description&&e("p",{className:"text-xs text-muted-foreground mb-1",children:a.description}),t("div",{className:"flex gap-1",onClick:s=>s.stopPropagation(),children:[e(i,{size:"sm",variant:"ghost",onClick:()=>ue(a),className:"h-5 px-1",children:e(L,{className:"h-3 w-3"})}),e(i,{size:"sm",variant:"ghost",onClick:()=>se(a.id),className:"h-5 px-1 text-destructive hover:text-destructive",children:e(R,{className:"h-3 w-3"})})]})]})},a.id))})]})}),o==="epics"&&e(S,{className:"p-3",children:t("div",{className:"space-y-3",children:[t("div",{className:"flex items-center justify-between",children:[e("h3",{className:"font-medium text-foreground",children:"Epics"}),t(i,{size:"sm",onClick:le,className:"gap-1",children:[e(O,{className:"h-3 w-3"}),"Add Epic"]})]}),e("div",{className:"space-y-4",children:ae.map(a=>e("div",{className:"border rounded-lg p-3",children:D===a.id?t("div",{className:"space-y-3",children:[e(r,{value:l.name,onChange:s=>c(n=>({...n,name:s.target.value})),placeholder:"Epic name",className:"text-sm"}),e(w,{value:l.description,onChange:s=>c(n=>({...n,description:s.target.value})),placeholder:"Epic description",rows:2,className:"text-sm"}),t("div",{className:"space-y-2",children:[e("label",{className:"text-xs font-medium",children:"Color"}),e("div",{className:"flex gap-1 flex-wrap",children:pe.map(s=>e("button",{onClick:()=>c(n=>({...n,color:s})),className:`w-6 h-6 rounded-full ${s} ${l.color===s?"ring-2 ring-ring":""}`},s))})]}),t("div",{className:"grid grid-cols-2 gap-2",children:[t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Confidence"}),t(I,{value:l.confidence,onValueChange:s=>c(n=>({...n,confidence:s})),children:[e(F,{className:"h-8 text-xs",children:e(T,{})}),e($,{children:J.map(s=>e(M,{value:s.value,children:e("span",{className:s.color,children:s.label})},s.value))})]})]}),t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Phase"}),t(I,{value:l.phase.toString(),onValueChange:s=>c(n=>({...n,phase:parseInt(s)})),children:[e(F,{className:"h-8 text-xs",children:e(T,{})}),e($,{children:Q.map(s=>e(M,{value:s.value.toString(),children:e("span",{className:s.color,children:s.label})},s.value))})]})]})]}),t("div",{className:"grid grid-cols-2 gap-2",children:[t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Start Date"}),e(r,{type:"date",value:l.startDate,onChange:s=>c(n=>({...n,startDate:s.target.value})),className:"text-xs h-8"})]}),t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"End Date"}),e(r,{type:"date",value:l.endDate,onChange:s=>c(n=>({...n,endDate:s.target.value})),className:"text-xs h-8"})]})]}),t("div",{className:"space-y-1",children:[e("label",{className:"text-xs font-medium",children:"Progress (%)"}),e(r,{type:"number",min:"0",max:"100",value:l.progress,onChange:s=>c(n=>({...n,progress:parseInt(s.target.value)||0})),className:"text-xs h-8"})]}),t("div",{className:"flex gap-2",children:[e(i,{size:"sm",onClick:fe,className:"text-xs",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:Ne,className:"text-xs",children:"Cancel"})]})]}):t("div",{className:`cursor-pointer p-2 rounded transition-colors ${a.isSelected?"bg-primary/10 border-primary":"hover:bg-muted"}`,onClick:()=>X(a.id,{isSelected:!a.isSelected}),children:[t("div",{className:"flex items-center gap-2 mb-2",children:[e("div",{className:`w-3 h-3 rounded-full ${a.color}`}),e("span",{className:"font-medium text-sm",children:a.name})]}),a.description&&e("p",{className:"text-xs text-muted-foreground mb-2",children:a.description}),t("div",{className:"space-y-1 mb-2",children:[t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Confidence:"}),e("span",{className:Y(a.confidence).color,children:Y(a.confidence).label})]}),t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Phase:"}),e("span",{className:Z(a.phase).color,children:Z(a.phase).label})]}),t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Timeline:"}),t("span",{className:"text-foreground",children:[W(a.startDate)," - ",W(a.endDate)]})]}),t("div",{className:"flex items-center justify-between text-xs",children:[e("span",{className:"text-muted-foreground",children:"Progress:"}),t("div",{className:"flex items-center gap-2",children:[e("div",{className:"w-12 h-2 bg-muted rounded-full",children:e("div",{className:"h-2 bg-primary rounded-full",style:{width:`${a.progress}%`}})}),t("span",{className:"text-foreground",children:[a.progress,"%"]})]})]})]}),t("div",{className:"flex gap-1",onClick:s=>s.stopPropagation(),children:[e(i,{size:"sm",variant:"ghost",onClick:()=>xe(a),className:"h-6 px-2",children:e(L,{className:"h-3 w-3"})}),e(i,{size:"sm",variant:"ghost",onClick:()=>ie(a.id),className:"h-6 px-2 text-destructive hover:text-destructive",children:e(R,{className:"h-3 w-3"})})]})]})},a.id))})]})}),o==="sprints"&&e(S,{className:"p-3",children:t("div",{className:"space-y-3",children:[t("div",{className:"flex items-center justify-between",children:[e("h3",{className:"font-medium text-foreground",children:"Sprints (Select One)"}),t(i,{size:"sm",onClick:()=>z(!0),className:"gap-1",children:[e(O,{className:"h-3 w-3"}),"Add Sprint"]})]}),me&&t("div",{className:"border rounded-lg p-2 space-y-2",children:[e(r,{value:p.name,onChange:a=>N(s=>({...s,name:a.target.value})),placeholder:"Sprint name",className:"text-sm"}),t("div",{className:"grid grid-cols-2 gap-1",children:[e(r,{type:"date",value:p.startDate,onChange:a=>N(s=>({...s,startDate:a.target.value})),className:"text-xs"}),e(r,{type:"date",value:p.endDate,onChange:a=>N(s=>({...s,endDate:a.target.value})),className:"text-xs"})]}),t("div",{className:"flex items-center gap-2",children:[e("input",{type:"checkbox",checked:p.isActive,onChange:a=>N(s=>({...s,isActive:a.target.checked})),className:"w-3 h-3"}),e("span",{className:"text-xs",children:"Active"})]}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:ke,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:()=>z(!1),className:"text-xs h-6",children:"Cancel"})]})]}),e("div",{className:"space-y-2",children:te.map(a=>e("div",{className:"border rounded p-2",children:j===a.id?t("div",{className:"space-y-2",children:[e(r,{value:m.name,onChange:s=>v(n=>({...n,name:s.target.value})),placeholder:"Sprint name",className:"text-sm",disabled:a.id==="backlog"||a.id==="all-tasks"}),a.id!=="backlog"&&a.id!=="all-tasks"&&t(H,{children:[t("div",{className:"grid grid-cols-2 gap-1",children:[e(r,{type:"date",value:m.startDate,onChange:s=>v(n=>({...n,startDate:s.target.value})),className:"text-xs"}),e(r,{type:"date",value:m.endDate,onChange:s=>v(n=>({...n,endDate:s.target.value})),className:"text-xs"})]}),t("div",{className:"flex items-center gap-2",children:[e("input",{type:"checkbox",checked:m.isActive,onChange:s=>v(n=>({...n,isActive:s.target.checked})),className:"w-3 h-3"}),e("span",{className:"text-xs",children:"Active"})]})]}),t("div",{className:"flex gap-1",children:[e(i,{size:"sm",onClick:we,className:"text-xs h-6",children:"Save"}),e(i,{size:"sm",variant:"outline",onClick:Se,className:"text-xs h-6",children:"Cancel"})]})]}):t("div",{className:`cursor-pointer p-1 rounded transition-colors ${a.isSelected?"bg-brand-green/10 border-brand-green ring-2 ring-brand-green/20":"hover:bg-muted"}`,onClick:()=>Ce(a.id),children:[t("div",{className:"flex items-center gap-2 mb-1",children:[e(K,{className:"h-3 w-3 text-muted-foreground"}),e("span",{className:"font-medium text-xs",children:a.name}),a.isActive&&e("span",{className:"text-xs bg-brand-green/20 text-brand-green px-1 py-0.5 rounded",children:"Active"}),(a.id==="backlog"||a.id==="all-tasks")&&e("span",{className:"text-xs bg-muted text-muted-foreground px-1 py-0.5 rounded",children:"System"})]}),a.id!=="backlog"&&a.id!=="all-tasks"&&t("p",{className:"text-xs text-muted-foreground mb-1",children:[a.startDate.toLocaleDateString()," - ",a.endDate.toLocaleDateString()]}),t("div",{className:"flex gap-1",onClick:s=>s.stopPropagation(),children:[e(i,{size:"sm",variant:"ghost",onClick:()=>ye(a),className:"h-5 px-1",children:e(L,{className:"h-3 w-3"})}),a.id!=="backlog"&&a.id!=="all-tasks"&&e(i,{size:"sm",variant:"ghost",onClick:()=>oe(a.id),className:"h-5 px-1 text-destructive hover:text-destructive",children:e(R,{className:"h-3 w-3"})})]})]})},a.id))})]})})]})]})]})]})},Xe=g=>e(_,{children:t("div",{className:"flex w-full",children:[e("div",{className:"hidden md:block w-12 fixed h-full",children:e(ee,{...g})}),e("div",{className:"md:hidden",children:e(ee,{...g})}),e("div",{className:"flex-1 min-w-0 ml-16 px-4 md:px-6",children:e("div",{className:"w-full",children:g.children})})]})});export{Xe as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as t}from"./chunk-ZUA4KNIR.mjs";import{a as r,b as i,c as m,d as l,e as n,f as o}from"./chunk-YO3GQYRJ.mjs";import{motion as p}from"motion/react";import{Users as u,Bot as f,FolderOpen as v}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function y({team:s,onOpen:d,className:c}){return e(p.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:c,children:a(r,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[a(i,{children:[e(m,{className:"text-lg",children:s.name}),e(l,{className:"mt-1 text-sm",children:s.description})]}),a(n,{className:"space-y-4",children:[a("div",{className:"grid grid-cols-2 gap-4",children:[a("div",{className:"flex items-center justify-between text-sm",children:[a("div",{className:"flex items-center gap-2",children:[e(u,{className:"h-4 w-4 text-blue-500"}),e("span",{children:"Human"})]}),e("span",{className:"font-medium",children:s.humanColleagues})]}),a("div",{className:"flex items-center justify-between text-sm",children:[a("div",{className:"flex items-center gap-2",children:[e(f,{className:"h-4 w-4 text-purple-500"}),e("span",{children:"Digital"})]}),e("span",{className:"font-medium",children:s.digitalColleagues})]})]}),a("div",{className:"flex items-center justify-between text-sm border-t pt-4",children:[a("div",{className:"flex items-center gap-2",children:[e(v,{className:"h-4 w-4 text-green-500"}),e("span",{children:"Projects"})]}),e("span",{className:"font-medium",children:s.projects})]})]}),e(o,{className:"flex gap-2",children:e(t,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>d?.(s),children:"View Team"})})]})})}export{y as a};
4
+ import{b as t}from"./chunk-7Z3TOFNL.mjs";import{a as r,b as i,c as m,d as l,e as n,f as o}from"./chunk-7WKUKFCT.mjs";import{motion as p}from"motion/react";import{Users as u,Bot as f,FolderOpen as v}from"lucide-react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function y({team:s,onOpen:d,className:c}){return e(p.div,{whileHover:{scale:1.02,y:-5},whileTap:{scale:.98},className:c,children:a(r,{className:"overflow-hidden rounded-3xl border hover:border-primary/50 transition-all duration-300",children:[a(i,{children:[e(m,{className:"text-lg",children:s.name}),e(l,{className:"mt-1 text-sm",children:s.description})]}),a(n,{className:"space-y-4",children:[a("div",{className:"grid grid-cols-2 gap-4",children:[a("div",{className:"flex items-center justify-between text-sm",children:[a("div",{className:"flex items-center gap-2",children:[e(u,{className:"h-4 w-4 text-blue-500"}),e("span",{children:"Human"})]}),e("span",{className:"font-medium",children:s.humanColleagues})]}),a("div",{className:"flex items-center justify-between text-sm",children:[a("div",{className:"flex items-center gap-2",children:[e(f,{className:"h-4 w-4 text-purple-500"}),e("span",{children:"Digital"})]}),e("span",{className:"font-medium",children:s.digitalColleagues})]})]}),a("div",{className:"flex items-center justify-between text-sm border-t pt-4",children:[a("div",{className:"flex items-center gap-2",children:[e(v,{className:"h-4 w-4 text-green-500"}),e("span",{children:"Projects"})]}),e("span",{className:"font-medium",children:s.projects})]})]}),e(o,{className:"flex gap-2",children:e(t,{variant:"secondary",className:"flex-1 rounded-2xl",onClick:()=>d?.(s),children:"View Team"})})]})})}export{y as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a}from"./chunk-SS6TXSY6.mjs";import{a as f}from"./chunk-Q67RF7VO.mjs";import{a as g}from"./chunk-MDJREBVI.mjs";import{useState as l}from"react";import{User as P}from"lucide-react";import{jsx as e,jsxs as v}from"react/jsx-runtime";var b=[{id:"copilot",name:"Peronal Copilot",description:"Your personal AI assistant for all tasks",icon:e(P,{className:"h-4 w-4"}),color:"bg-orange-600",accentColor:"text-orange-600"}];function E({sidebarItems:r,children:h,title:U="Digital Colleagues",notifications:C=[],currentBusinessUnit:N=b[0],onBusinessUnitChange:B,onSearch:c,businessUnits:D=b,activeTab:x,onTabChange:T,showTabs:y=!1,onActionClick:A,actionIcon:R,actionText:S="Action",onNotificationRemove:k,onRemoveAll:w,logo:n="/headerlogo.png",appName:o="Nuvia",tagline:s="Collaboration Platform",sidebarInitiallyClosed:M=!1}){let[i,O]=l(!M),[d,t]=l(!1),[u,I]=l(N),m=p=>{I(p),B?.(p)};return v("div",{className:"flex h-full flex-col overflow-hidden rounded-xl bg-background w-[]",children:[d&&e("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>t(!1)}),e("div",{className:"md:hidden",children:e(a,{items:r,isOpen:d,isMobile:!0,onClose:()=>t(!1),currentBusinessUnit:u,onBusinessUnitChange:m,onSearch:c,logo:n,appName:o,tagline:s})}),e("div",{className:"hidden md:block",children:e(a,{items:r,isOpen:i,isMobile:!1,currentBusinessUnit:u,onBusinessUnitChange:m,onSearch:c,logo:n,appName:o,tagline:s})}),v("div",{className:g("min-h-screen fixed w-full transition-all duration-300 ease-in-out",i?"md:pl-64":"md:pl-0"),children:[e(f,{title:U,notifications:C,onToggleSidebar:()=>O(!i),onToggleMobileMenu:()=>t(!0),sidebarOpen:i,activeTab:x,onTabChange:T,showTabs:y,onActionClick:A,actionIcon:R,actionText:S,onNotificationRemove:k,onRemoveAll:w,logo:n,appName:o,tagline:s}),e("main",{className:"flex-1 p-0 flex flex-col h-[calc(100vh-4rem)] overflow-auto",children:h})]})]})}export{E as a};
4
+ import{a}from"./chunk-D42KIYIO.mjs";import{a as f}from"./chunk-RD7LJPUV.mjs";import{a as g}from"./chunk-TSEOL53Y.mjs";import{useState as l}from"react";import{User as P}from"lucide-react";import{jsx as e,jsxs as v}from"react/jsx-runtime";var b=[{id:"copilot",name:"Peronal Copilot",description:"Your personal AI assistant for all tasks",icon:e(P,{className:"h-4 w-4"}),color:"bg-orange-600",accentColor:"text-orange-600"}];function E({sidebarItems:r,children:h,title:U="Digital Colleagues",notifications:C=[],currentBusinessUnit:N=b[0],onBusinessUnitChange:B,onSearch:c,businessUnits:D=b,activeTab:x,onTabChange:T,showTabs:y=!1,onActionClick:A,actionIcon:R,actionText:S="Action",onNotificationRemove:k,onRemoveAll:w,logo:n="/headerlogo.png",appName:o="Nuvia",tagline:s="Collaboration Platform",sidebarInitiallyClosed:M=!1}){let[i,O]=l(!M),[d,t]=l(!1),[u,I]=l(N),m=p=>{I(p),B?.(p)};return v("div",{className:"flex h-full flex-col overflow-hidden rounded-xl bg-background w-[]",children:[d&&e("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>t(!1)}),e("div",{className:"md:hidden",children:e(a,{items:r,isOpen:d,isMobile:!0,onClose:()=>t(!1),currentBusinessUnit:u,onBusinessUnitChange:m,onSearch:c,logo:n,appName:o,tagline:s})}),e("div",{className:"hidden md:block",children:e(a,{items:r,isOpen:i,isMobile:!1,currentBusinessUnit:u,onBusinessUnitChange:m,onSearch:c,logo:n,appName:o,tagline:s})}),v("div",{className:g("min-h-screen fixed w-full transition-all duration-300 ease-in-out",i?"md:pl-64":"md:pl-0"),children:[e(f,{title:U,notifications:C,onToggleSidebar:()=>O(!i),onToggleMobileMenu:()=>t(!0),sidebarOpen:i,activeTab:x,onTabChange:T,showTabs:y,onActionClick:A,actionIcon:R,actionText:S,onNotificationRemove:k,onRemoveAll:w,logo:n,appName:o,tagline:s}),e("main",{className:"flex-1 p-0 flex flex-col h-[calc(100vh-4rem)] overflow-auto",children:h})]})]})}export{E as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as e}from"./chunk-MDJREBVI.mjs";import*as i from"react";import*as o from"@radix-ui/react-popover";import{jsx as t}from"react/jsx-runtime";var P=o.Root,v=o.Trigger,f=o.Anchor,m=i.forwardRef(({className:r,align:a="center",sideOffset:n=4,...d},p)=>t(o.Portal,{children:t(o.Content,{ref:p,align:a,sideOffset:n,className:e("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...d})}));m.displayName=o.Content.displayName;export{P as a,v as b,f as c,m as d};
4
+ import{a as e}from"./chunk-TSEOL53Y.mjs";import*as i from"react";import*as o from"@radix-ui/react-popover";import{jsx as t}from"react/jsx-runtime";var P=o.Root,v=o.Trigger,f=o.Anchor,m=i.forwardRef(({className:r,align:a="center",sideOffset:n=4,...d},p)=>t(o.Portal,{children:t(o.Content,{ref:p,align:a,sideOffset:n,className:e("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...d})}));m.displayName=o.Content.displayName;export{P as a,v as b,f as c,m as d};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
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};
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};
@@ -1 +1 @@
1
- import{b as p}from"./chunk-CSBGSBEU.mjs";import{a as s,b as i,c as l,e as d}from"./chunk-YO3GQYRJ.mjs";import f from"next/image";import{jsx as a,jsxs as t}from"react/jsx-runtime";var N=({name:o,email:x,profilePicture:n,workHistory:m=[],certifications:c=[],areasOfExpertise:g=[]})=>a("div",{className:"bg-gray-100 p-6 rounded-lg shadow-lg max-w-6xl mx-auto",children:t("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t(s,{className:"md:col-span-1",children:[t(i,{children:[a("div",{className:"w-32 h-32 mx-auto bg-gray-300 rounded-full overflow-hidden",children:n?a(f,{src:n,alt:o,width:128,height:128,className:"object-cover w-full h-full"}):a("div",{className:"w-full h-full flex items-center justify-center text-gray-500",children:"No Image"})}),a(l,{className:"text-2xl font-bold text-center mt-4",children:o||"Consultant Name"}),a("p",{className:"text-gray-600 text-center",children:x||"email@example.com"})]}),t(d,{children:[a("h3",{className:"text-xl font-semibold mb-2 text-gray-700",children:"Areas of Expertise"}),a("div",{className:"flex flex-wrap gap-2",children:g.length>0?g.map((e,r)=>a(p,{variant:"secondary",className:"text-sm",children:e.area},r)):a("p",{className:"text-gray-600",children:"No areas of expertise available"})})]})]}),t(s,{className:"md:col-span-2",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Work History"})}),a(d,{children:m.length>0?m.map((e,r)=>t("div",{className:"mb-4 pb-4 border-b border-gray-200 last:border-b-0",children:[t("h4",{className:"font-medium text-gray-800",children:[e.position," at ",e.company]}),t("p",{className:"text-sm text-gray-600",children:[e.startDate," - ",e.endDate||"Present"]}),e.description&&a("p",{className:"mt-1 text-gray-700",children:e.description})]},r)):a("p",{className:"text-gray-600",children:"No work history available"})})]}),t(s,{className:"md:col-span-3",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Certifications"})}),a(d,{children:c.length>0?a("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:c.map((e,r)=>t("div",{className:"bg-white p-4 rounded-lg shadow",children:[a("h4",{className:"font-medium text-gray-800",children:e.name}),e.issuer&&a("p",{className:"text-sm text-gray-600",children:e.issuer}),e.dateObtained&&t("p",{className:"text-xs text-gray-500 mt-1",children:["Obtained: ",e.dateObtained]})]},r))}):a("p",{className:"text-gray-600",children:"No certifications available"})})]})]})}),u=N;export{u as a};
1
+ import{b as p}from"./chunk-2JKLBLDE.mjs";import{a as s,b as i,c as l,e as d}from"./chunk-7WKUKFCT.mjs";import f from"next/image";import{jsx as a,jsxs as t}from"react/jsx-runtime";var N=({name:o,email:x,profilePicture:n,workHistory:m=[],certifications:c=[],areasOfExpertise:g=[]})=>a("div",{className:"bg-gray-100 p-6 rounded-lg shadow-lg max-w-6xl mx-auto",children:t("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[t(s,{className:"md:col-span-1",children:[t(i,{children:[a("div",{className:"w-32 h-32 mx-auto bg-gray-300 rounded-full overflow-hidden",children:n?a(f,{src:n,alt:o,width:128,height:128,className:"object-cover w-full h-full"}):a("div",{className:"w-full h-full flex items-center justify-center text-gray-500",children:"No Image"})}),a(l,{className:"text-2xl font-bold text-center mt-4",children:o||"Consultant Name"}),a("p",{className:"text-gray-600 text-center",children:x||"email@example.com"})]}),t(d,{children:[a("h3",{className:"text-xl font-semibold mb-2 text-gray-700",children:"Areas of Expertise"}),a("div",{className:"flex flex-wrap gap-2",children:g.length>0?g.map((e,r)=>a(p,{variant:"secondary",className:"text-sm",children:e.area},r)):a("p",{className:"text-gray-600",children:"No areas of expertise available"})})]})]}),t(s,{className:"md:col-span-2",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Work History"})}),a(d,{children:m.length>0?m.map((e,r)=>t("div",{className:"mb-4 pb-4 border-b border-gray-200 last:border-b-0",children:[t("h4",{className:"font-medium text-gray-800",children:[e.position," at ",e.company]}),t("p",{className:"text-sm text-gray-600",children:[e.startDate," - ",e.endDate||"Present"]}),e.description&&a("p",{className:"mt-1 text-gray-700",children:e.description})]},r)):a("p",{className:"text-gray-600",children:"No work history available"})})]}),t(s,{className:"md:col-span-3",children:[a(i,{children:a(l,{className:"text-xl font-semibold text-gray-700",children:"Certifications"})}),a(d,{children:c.length>0?a("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:c.map((e,r)=>t("div",{className:"bg-white p-4 rounded-lg shadow",children:[a("h4",{className:"font-medium text-gray-800",children:e.name}),e.issuer&&a("p",{className:"text-sm text-gray-600",children:e.issuer}),e.dateObtained&&t("p",{className:"text-xs text-gray-500 mt-1",children:["Obtained: ",e.dateObtained]})]},r))}):a("p",{className:"text-gray-600",children:"No certifications available"})})]})]})}),u=N;export{u as a};
@@ -1 +1 @@
1
- import{a as o}from"./chunk-MGYV46AJ.mjs";import{jsx as e}from"react/jsx-runtime";var c=({className:r,code:t,language:p})=>e("div",{className:[r,"not-prose"].filter(Boolean).join(" "),children:e(o,{code:t,language:p})});export{c as a};
1
+ import{a as o}from"./chunk-Q6FPZ6J3.mjs";import{jsx as e}from"react/jsx-runtime";var c=({className:r,code:t,language:p})=>e("div",{className:[r,"not-prose"].filter(Boolean).join(" "),children:e(o,{code:t,language:p})});export{c as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as t}from"./chunk-MDJREBVI.mjs";import*as o from"react";import*as e from"@radix-ui/react-switch";import{jsx as i}from"react/jsx-runtime";var n=o.forwardRef(({className:r,...s},a)=>i(e.Root,{className:t("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r),...s,ref:a,children:i(e.Thumb,{className:t("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));n.displayName=e.Root.displayName;export{n as a};
4
+ import{a as t}from"./chunk-TSEOL53Y.mjs";import*as o from"react";import*as e from"@radix-ui/react-switch";import{jsx as i}from"react/jsx-runtime";var n=o.forwardRef(({className:r,...s},a)=>i(e.Root,{className:t("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",r),...s,ref:a,children:i(e.Thumb,{className:t("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));n.displayName=e.Root.displayName;export{n as a};
@@ -1 +1 @@
1
- import{a}from"./chunk-2BR55L74.mjs";import{a as e}from"./chunk-MDJREBVI.mjs";import{jsx as r}from"react/jsx-runtime";var d=o=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=o;return r("div",{className:e("h-full ",{container:s},t),children:r(a,{imgClassName:e("rounded-[0.8rem]",m),className:"flex justify-center",resource:i,src:l})})};export{d as a};
1
+ import{a}from"./chunk-QXA6C5VE.mjs";import{a as e}from"./chunk-TSEOL53Y.mjs";import{jsx as r}from"react/jsx-runtime";var d=o=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=o;return r("div",{className:e("h-full ",{container:s},t),children:r(a,{imgClassName:e("rounded-[0.8rem]",m),className:"flex justify-center",resource:i,src:l})})};export{d as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as e}from"./chunk-MDJREBVI.mjs";import*as t from"react";import*as r from"@radix-ui/react-progress";import{jsx as o}from"react/jsx-runtime";var m=t.forwardRef(({className:i,value:s,...a},l)=>o(r.Root,{ref:l,className:e("relative h-4 w-full overflow-hidden rounded-full bg-secondary",i),...a,children:o(r.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(s||0)}%)`}})}));m.displayName=r.Root.displayName;export{m as a};
4
+ import{a as e}from"./chunk-TSEOL53Y.mjs";import*as t from"react";import*as r from"@radix-ui/react-progress";import{jsx as o}from"react/jsx-runtime";var m=t.forwardRef(({className:i,value:s,...a},l)=>o(r.Root,{ref:l,className:e("relative h-4 w-full overflow-hidden rounded-full bg-secondary",i),...a,children:o(r.Indicator,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:`translateX(-${100-(s||0)}%)`}})}));m.displayName=r.Root.displayName;export{m as a};
@@ -1 +1 @@
1
- import{a as s}from"./chunk-MDJREBVI.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";var n=({position:e,className:l=""})=>{let a=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],i=a[Math.floor(Math.random()*a.length)];if(e==="header")return t("div",{className:"w-full h-[1240px] z-20",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:s(l,"absolute -bottom-[2px] flex"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"1920",height:"332",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),t("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),t("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return o("div",{className:"w-full z-20 aspect-[1920/332] overflow-hidden ",children:[o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:s(l,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),t("div",{className:"absolute -bottom-[5px] border-none left-0 w-full h-[6px] z-10 bg-white"})]});if(e==="dark-top")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:s(l,"relative "),style:{fontSize:0,float:"left"},transform:a[3],children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:s(l,"w-full block overflow-hidden"),transform:a[3],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return t("div",{className:"w-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},d=({className:e})=>o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:s(e,"absolute w-full h-full"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"black"}),t("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),t("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});export{n as a,d as b};
1
+ import{a as s}from"./chunk-TSEOL53Y.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";var n=({position:e,className:l=""})=>{let a=["","scale(-1, 1)","scale(1, -1)","scale(-1, -1)"],i=a[Math.floor(Math.random()*a.length)];if(e==="header")return t("div",{className:"w-full h-[1240px] z-20",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",preserveAspectRatio:"xMidYMax meet",style:{fontSize:0,float:"left"},className:s(l,"absolute -bottom-[2px] flex"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"1920",height:"332",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),t("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),t("rect",{y:"331",width:"1920",height:"7",fill:"white"})," "]})});if(e==="top")return o("div",{className:"w-full z-20 aspect-[1920/332] overflow-hidden ",children:[o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:s(l,"absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end",transform:"scale(-1, 1)"},children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]}),t("div",{className:"absolute -bottom-[5px] border-none left-0 w-full h-[6px] z-10 bg-white"})]});if(e==="dark-top")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:o("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"xMidYMax meet",className:s(l,"relative "),style:{fontSize:0,float:"left"},transform:a[3],children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});if(e==="dark-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-start block overflow-hidden bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"scale(1, -1)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="light-bottom")return t("div",{className:"w-full aspect-[1920/332] z-20 content-end block overflow-hidden",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain"},className:s(l,"w-full block overflow-hidden"),transform:a[3],children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})});if(e==="bottom-left"||e==="bottom-right")return t("div",{className:"w-full aspect-[1920/332] z-20 relative -bottom-[1px]",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",preserveAspectRatio:"none",style:{fontSize:0,float:"left",alignContent:"flex-end",objectFit:"contain",transform:"rotateX(180deg)"},className:s(l,"w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})})},d=({className:e})=>o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 1245",className:s(e,"absolute w-full h-full"),children:[t("defs",{children:o("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"black"}),t("polygon",{fill:"white",points:"0 0 0 201.561092 0 1036.200679 0 1087.625789 1255.099121 1240.909908 1920 908.450984 1920 201.561092 1920 0 0 0"})]})}),t("rect",{width:"100%",height:"100%",fill:"black",mask:"url(#mask)"})]});export{n as a,d as b};
@@ -1 +1 @@
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
+ 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 +1 @@
1
- import{a as n}from"./chunk-SV7NMNDI.mjs";import{a as r}from"./chunk-M7NV6EFH.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
+ 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,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as i}from"./chunk-V6GC3UGV.mjs";import{a as m}from"./chunk-LLED3RQS.mjs";import{useState as f,useCallback as R}from"react";import{DragDropContext as P}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as r,jsxs as M}from"react/jsx-runtime";var w=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost","Dormant"];function h({initialData:s,addNewDeal:v,updateDeal:l,addComment:p,addNewCustomer:N}){let[a,u]=f(null),C=e=>(s.deals??[]).filter(t=>t.status===e),D=e=>e.reduce((t,o)=>t+(o.value||0),0),g=(e,t)=>{let o={Cold:0,Qualified:.1,"Proposal Made":.25,"SoW Submitted":.8,Won:1,Lost:0,Dormant:0};return e.reduce((c,d)=>c+(d.value||0)*o[t],0)},b=R(e=>{let{source:t,destination:o}=e;if(!o||t.droppableId===o.droppableId&&t.index===o.index)return;let c=t.droppableId,d=o.droppableId,n=s.deals?.filter(S=>S.id===t.index)[0],x=[...s.deals??[]];n&&(n.status=d,l(n))},[l]);return r(P,{onDragEnd:b,children:M("div",{className:"p-4 h-full overflow-auto",children:[r("div",{className:"flex space-x-4 pb-4",children:w.filter(e=>e!=="Lost").map(e=>{let t=C(e);return r(i,{status:e,deals:t,customers:s.customers??[],users:s.users,categories:s.categories??[],onDealClick:u,calculateColumnValue:D,calculateWeightedValue:g},e)})}),a&&r(m,{deal:a,users:s.users,customer:a.customer,categories:s.categories??[],onClose:()=>u(null),onSave:l,onAddComment:e=>p(a.id.toString(),e)})]})})}export{h as a};
4
+ import{a as i}from"./chunk-5YJFMMVM.mjs";import{a as m}from"./chunk-6WVIXUXX.mjs";import{useState as f,useCallback as R}from"react";import{DragDropContext as P}from"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration";import{jsx as r,jsxs as M}from"react/jsx-runtime";var w=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost","Dormant"];function h({initialData:s,addNewDeal:v,updateDeal:l,addComment:p,addNewCustomer:N}){let[a,u]=f(null),C=e=>(s.deals??[]).filter(t=>t.status===e),D=e=>e.reduce((t,o)=>t+(o.value||0),0),g=(e,t)=>{let o={Cold:0,Qualified:.1,"Proposal Made":.25,"SoW Submitted":.8,Won:1,Lost:0,Dormant:0};return e.reduce((c,d)=>c+(d.value||0)*o[t],0)},b=R(e=>{let{source:t,destination:o}=e;if(!o||t.droppableId===o.droppableId&&t.index===o.index)return;let c=t.droppableId,d=o.droppableId,n=s.deals?.filter(S=>S.id===t.index)[0],x=[...s.deals??[]];n&&(n.status=d,l(n))},[l]);return r(P,{onDragEnd:b,children:M("div",{className:"p-4 h-full overflow-auto",children:[r("div",{className:"flex space-x-4 pb-4",children:w.filter(e=>e!=="Lost").map(e=>{let t=C(e);return r(i,{status:e,deals:t,customers:s.customers??[],users:s.users,categories:s.categories??[],onDealClick:u,calculateColumnValue:D,calculateWeightedValue:g},e)})}),a&&r(m,{deal:a,users:s.users,customer:a.customer,categories:s.categories??[],onClose:()=>u(null),onSave:l,onAddComment:e=>p(a.id.toString(),e)})]})})}export{h as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a}from"./chunk-ZUA4KNIR.mjs";import{a as e}from"./chunk-MDJREBVI.mjs";import{DayPicker as s}from"react-day-picker";import{jsx as c}from"react/jsx-runtime";function d({className:r,classNames:o,showOutsideDays:n=!0,...t}){return c(s,{showOutsideDays:n,weekStartsOn:1,className:e("p-3",r),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:e(a({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:e("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",t.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:e(a({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...o},...t})}d.displayName="Calendar";export{d as a};
4
+ import{a}from"./chunk-7Z3TOFNL.mjs";import{a as e}from"./chunk-TSEOL53Y.mjs";import{DayPicker as s}from"react-day-picker";import{jsx as c}from"react/jsx-runtime";function d({className:r,classNames:o,showOutsideDays:n=!0,...t}){return c(s,{showOutsideDays:n,weekStartsOn:1,className:e("p-3",r),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",month:"space-y-4",caption:"flex justify-center pt-1 relative items-center",caption_label:"text-sm font-medium",nav:"space-x-1 flex items-center",nav_button:e(a({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-8 font-normal text-[0.8rem]",row:"flex w-full mt-2",cell:e("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([aria-selected])]:bg-accent [&:has([aria-selected].day-outside)]:bg-accent/50 [&:has([aria-selected].day-range-end)]:rounded-r-md",t.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md [&:has(>.day-range-start)]:rounded-l-md first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md":"[&:has([aria-selected])]:rounded-md"),day:e(a({variant:"ghost"}),"h-8 w-8 p-0 font-normal aria-selected:opacity-100"),day_range_start:"day-range-start",day_range_end:"day-range-end",day_selected:"bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",day_today:"bg-accent text-accent-foreground",day_outside:"day-outside text-muted-foreground aria-selected:bg-accent/50 aria-selected:text-muted-foreground",day_disabled:"text-muted-foreground opacity-50",day_range_middle:"aria-selected:bg-accent aria-selected:text-accent-foreground",day_hidden:"invisible",...o},...t})}d.displayName="Calendar";export{d as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as S,b as w}from"./chunk-MXCW6SOT.mjs";import{a as k}from"./chunk-5SHZBJ5R.mjs";import{a as C}from"./chunk-I2GNNRFH.mjs";import{a as g}from"./chunk-MZP7RIQZ.mjs";import{a as v}from"./chunk-HKGW6JI2.mjs";import{a as f}from"./chunk-YKG4FNS4.mjs";import{a as u}from"./chunk-255P6K5W.mjs";import{c as m,f as p}from"./chunk-N3B3XNV3.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-LAQ3QAUW.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};
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};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as F,c as L}from"./chunk-PC6TVU7J.mjs";import{a as b,b as h,d as P}from"./chunk-JHNVX4UB.mjs";import{a as x}from"./chunk-7BXIU4ZM.mjs";import{a as f}from"./chunk-TVZOULLL.mjs";import{b as c}from"./chunk-ZUA4KNIR.mjs";import{a as D}from"./chunk-MDJREBVI.mjs";import{useState as m,useEffect as w}from"react";import{format as C}from"date-fns";import{CalendarIcon as T}from"lucide-react";import{useRouter as E}from"next/navigation";import{Toaster as k,toast as v}from"sonner";import{jsx as e,jsxs as o}from"react/jsx-runtime";var I=({options:r,value:l,onChange:a,disabled:n=[]})=>e("div",{className:"flex space-x-2",children:r.map((t,i)=>e(c,{type:"button",variant:l===t?"default":"outline",onClick:()=>a(t),disabled:n[i],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:t},t))});function V({remainingDays:r,submitLeaveRequest:l}){let[a,n]=m(new Date),[t,i]=m(new Date),[d,g]=m("Full Day"),[N,R]=m(!1),[p,S]=m(1),B=E();w(()=>{let s=L(a,t);R(s),s&&g("Full Day")},[a,t]),w(()=>{if(!a||!t){S(0);return}let s=F(a,t,d!=="Full Day");S(s)},[a,t,d]);let q=s=>{g(s)};return o("div",{className:"max-w-2xl",children:[e("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),o("p",{className:"text-sm text-gray-500 mb-4",children:["Remaining leave days: ",r]}),o("form",{onSubmit:async s=>{if(s.preventDefault(),!a||!t){v.error("Please select both start and end dates");return}if(p>r){v.error("You do not have enough leave days remaining");return}let u=new FormData;u.append("startDate",a.toISOString()),u.append("endDate",t.toISOString()),u.append("leaveType",d),u.append("duration",p.toString());let y=await(l||M)(u);y.success?(v.success(y.message),n(void 0),i(void 0),g("Full Day"),B.refresh()):v.error(`Error: ${y.message}`)},className:"space-y-4",children:[o("div",{className:"grid grid-cols-2 gap-4",children:[o("div",{className:"flex flex-col space-y-2",children:[e(f,{htmlFor:"startDate",children:"Start Date"}),o(b,{children:[e(h,{asChild:!0,children:o(c,{variant:"outline",className:D("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[e(T,{className:"mr-2 h-4 w-4"}),a?C(a,"PPP"):e("span",{children:"Pick a date"})]})}),e(P,{className:"w-auto p-0",align:"start",children:e(x,{mode:"single",selected:a,onSelect:s=>{n(s),s&&(!t||s>t)&&i(s)},initialFocus:!0})})]})]}),o("div",{className:"flex flex-col space-y-2",children:[e(f,{htmlFor:"endDate",children:"End Date"}),o(b,{children:[e(h,{asChild:!0,children:o(c,{variant:"outline",className:D("w-full justify-start text-left font-normal",!t&&"text-muted-foreground"),children:[e(T,{className:"mr-2 h-4 w-4"}),t?C(t,"PPP"):e("span",{children:"Pick a date"})]})}),e(P,{className:"w-auto p-0",align:"start",children:e(x,{mode:"single",selected:t,onSelect:i,disabled:s=>a?s<a:!1,initialFocus:!0})})]})]})]}),o("div",{className:"space-y-2",children:[e(f,{children:"Leave Type"}),e(I,{options:["Full Day","Morning","Afternoon"],value:d,onChange:q,disabled:[!1,N,N]})]}),o("p",{className:"text-sm text-gray-500",children:["Total days: ",p]}),e(c,{disabled:p<=0,type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),e(k,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"z-50"})]})}var M=async r=>{let l={};return r.forEach((a,n)=>{l[n]=a}),{success:!0,message:`Leave request submitted successfully for ${r.get("duration")}`}};export{V as a};
4
+ import{b as F,c as L}from"./chunk-PC6TVU7J.mjs";import{a as b,b as h,d as P}from"./chunk-E6W2YMC3.mjs";import{a as x}from"./chunk-F5JHHMZQ.mjs";import{a as f}from"./chunk-RAAY7PEH.mjs";import{b as c}from"./chunk-7Z3TOFNL.mjs";import{a as D}from"./chunk-TSEOL53Y.mjs";import{useState as m,useEffect as w}from"react";import{format as C}from"date-fns";import{CalendarIcon as T}from"lucide-react";import{useRouter as E}from"next/navigation";import{Toaster as k,toast as v}from"sonner";import{jsx as e,jsxs as o}from"react/jsx-runtime";var I=({options:r,value:l,onChange:a,disabled:n=[]})=>e("div",{className:"flex space-x-2",children:r.map((t,i)=>e(c,{type:"button",variant:l===t?"default":"outline",onClick:()=>a(t),disabled:n[i],className:"flex-1 hover:bg-accent hover:text-accent-foreground",children:t},t))});function V({remainingDays:r,submitLeaveRequest:l}){let[a,n]=m(new Date),[t,i]=m(new Date),[d,g]=m("Full Day"),[N,R]=m(!1),[p,S]=m(1),B=E();w(()=>{let s=L(a,t);R(s),s&&g("Full Day")},[a,t]),w(()=>{if(!a||!t){S(0);return}let s=F(a,t,d!=="Full Day");S(s)},[a,t,d]);let q=s=>{g(s)};return o("div",{className:"max-w-2xl",children:[e("h2",{className:"text-lg font-semibold mb-4",children:"Request Leave"}),o("p",{className:"text-sm text-gray-500 mb-4",children:["Remaining leave days: ",r]}),o("form",{onSubmit:async s=>{if(s.preventDefault(),!a||!t){v.error("Please select both start and end dates");return}if(p>r){v.error("You do not have enough leave days remaining");return}let u=new FormData;u.append("startDate",a.toISOString()),u.append("endDate",t.toISOString()),u.append("leaveType",d),u.append("duration",p.toString());let y=await(l||M)(u);y.success?(v.success(y.message),n(void 0),i(void 0),g("Full Day"),B.refresh()):v.error(`Error: ${y.message}`)},className:"space-y-4",children:[o("div",{className:"grid grid-cols-2 gap-4",children:[o("div",{className:"flex flex-col space-y-2",children:[e(f,{htmlFor:"startDate",children:"Start Date"}),o(b,{children:[e(h,{asChild:!0,children:o(c,{variant:"outline",className:D("w-full justify-start text-left font-normal",!a&&"text-muted-foreground"),children:[e(T,{className:"mr-2 h-4 w-4"}),a?C(a,"PPP"):e("span",{children:"Pick a date"})]})}),e(P,{className:"w-auto p-0",align:"start",children:e(x,{mode:"single",selected:a,onSelect:s=>{n(s),s&&(!t||s>t)&&i(s)},initialFocus:!0})})]})]}),o("div",{className:"flex flex-col space-y-2",children:[e(f,{htmlFor:"endDate",children:"End Date"}),o(b,{children:[e(h,{asChild:!0,children:o(c,{variant:"outline",className:D("w-full justify-start text-left font-normal",!t&&"text-muted-foreground"),children:[e(T,{className:"mr-2 h-4 w-4"}),t?C(t,"PPP"):e("span",{children:"Pick a date"})]})}),e(P,{className:"w-auto p-0",align:"start",children:e(x,{mode:"single",selected:t,onSelect:i,disabled:s=>a?s<a:!1,initialFocus:!0})})]})]})]}),o("div",{className:"space-y-2",children:[e(f,{children:"Leave Type"}),e(I,{options:["Full Day","Morning","Afternoon"],value:d,onChange:q,disabled:[!1,N,N]})]}),o("p",{className:"text-sm text-gray-500",children:["Total days: ",p]}),e(c,{disabled:p<=0,type:"submit",className:"w-full hover:bg-accent hover:text-accent-foreground",children:"Submit Request"})]}),e(k,{richColors:!0,position:"top-right",closeButton:!0,visibleToasts:9,className:"z-50"})]})}var M=async r=>{let l={};return r.forEach((a,n)=>{l[n]=a}),{success:!0,message:`Leave request submitted successfully for ${r.get("duration")}`}};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-UWEU6TLS.mjs";import{a}from"./chunk-Q5NHYYRS.mjs";import{useState as l}from"react";import{ChevronDown as c,ChevronUp as v,List as b}from"lucide-react";import{jsx as e,jsxs as i}from"react/jsx-runtime";function f({submissions:t,onSubmit:o,isLoading:n=!1,customerProjectPairs:m}){let[s,d]=l(!1);return e("div",{className:"min-h-screen ",children:i("div",{className:"container mx-auto p-4 max-w-6xl",children:[i("div",{className:"mb-8",children:[e("h1",{className:"text-3xl font-bold text-gray-900 dark:text-zinc-100 mb-2",children:"Delivery Report Management"}),e("p",{className:"text-gray-600 dark:text-zinc-400",children:"Submit new delivery reports and view your previous submissions"})]}),e("div",{className:"mb-8",children:e(r,{onSubmit:o,customerProjectPairs:m})}),i("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800",children:[i("button",{onClick:()=>d(!s),className:"w-full px-6 py-4 flex items-center justify-between hover:bg-gray-50 dark:hover:bg-zinc-800/50 transition-colors",children:[i("div",{className:"flex items-center gap-3",children:[e(b,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"}),e("h2",{className:"text-lg font-semibold text-gray-900 dark:text-zinc-100",children:"Previous Submissions"}),i("span",{className:"text-sm text-gray-500 dark:text-zinc-400",children:["(",t.length,")"]})]}),e("div",{className:"flex items-center gap-2",children:s?e(v,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"}):e(c,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"})})]}),s&&e("div",{className:"border-t border-gray-200 dark:border-zinc-700",children:e(a,{submissions:t,isLoading:n})})]})]})})}export{f as a};
4
+ import{a as r}from"./chunk-AARMIMMZ.mjs";import{a}from"./chunk-IG6J62QA.mjs";import{useState as l}from"react";import{ChevronDown as c,ChevronUp as v,List as b}from"lucide-react";import{jsx as e,jsxs as i}from"react/jsx-runtime";function f({submissions:t,onSubmit:o,isLoading:n=!1,customerProjectPairs:m}){let[s,d]=l(!1);return e("div",{className:"min-h-screen ",children:i("div",{className:"container mx-auto p-4 max-w-6xl",children:[i("div",{className:"mb-8",children:[e("h1",{className:"text-3xl font-bold text-gray-900 dark:text-zinc-100 mb-2",children:"Delivery Report Management"}),e("p",{className:"text-gray-600 dark:text-zinc-400",children:"Submit new delivery reports and view your previous submissions"})]}),e("div",{className:"mb-8",children:e(r,{onSubmit:o,customerProjectPairs:m})}),i("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800",children:[i("button",{onClick:()=>d(!s),className:"w-full px-6 py-4 flex items-center justify-between hover:bg-gray-50 dark:hover:bg-zinc-800/50 transition-colors",children:[i("div",{className:"flex items-center gap-3",children:[e(b,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"}),e("h2",{className:"text-lg font-semibold text-gray-900 dark:text-zinc-100",children:"Previous Submissions"}),i("span",{className:"text-sm text-gray-500 dark:text-zinc-400",children:["(",t.length,")"]})]}),e("div",{className:"flex items-center gap-2",children:s?e(v,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"}):e(c,{className:"h-5 w-5 text-gray-500 dark:text-zinc-400"})})]}),s&&e("div",{className:"border-t border-gray-200 dark:border-zinc-700",children:e(a,{submissions:t,isLoading:n})})]})]})})}export{f as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as p}from"./chunk-4CU7D3X2.mjs";import{a as b}from"./chunk-JYL3XIJX.mjs";import{b as C}from"./chunk-ZUA4KNIR.mjs";import{a as i}from"./chunk-MDJREBVI.mjs";import{Formik as h}from"formik";import{FaUser as N}from"react-icons/fa6";import*as m from"yup";import{toast as v}from"sonner";import{jsx as a,jsxs as l}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},y=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px] text-foreground"),g=i("!border-red-600 border"),d=i("sr-only");function k({onSubmit:f}={}){return a(h,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:y,onSubmit:async(e,{resetForm:o})=>{if(!f){v.error("Form submission not configured");return}let t=await f(e);t.data===null?v.error(t.message):(v.success(t.message),o())},children:({errors:e,touched:o,values:t,handleChange:n,handleBlur:c,isSubmitting:r,handleSubmit:x})=>l("form",{onSubmit:x,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[l("div",{children:[a(p,{placeholder:"Your Name",type:"text",name:"name",value:t.name,onChange:n,onBlur:c,disabled:r,icon:a(N,{className:"text-primary"}),className:i(u,e.name&&o.name&&g)}),e.name&&o.name&&a("p",{title:e.name,"aria-live":"polite",role:"error message",className:d,children:e.name})]}),l("div",{children:[a(p,{placeholder:"Your Email",type:"email",name:"email",value:t.email,onChange:n,onBlur:c,disabled:r,icon:a(L,{}),className:i(u,e.email&&o.email&&g)}),e.email&&o.email&&a("p",{title:e.email,"aria-live":"polite",role:"error message",className:d,children:e.email})]}),l("div",{className:"lg:col-span-2",children:[a(p,{placeholder:"Subject",type:"text",name:"subject",value:t.subject,onChange:n,onBlur:c,disabled:r,className:i(u,e.subject&&o.subject&&g)}),e.subject&&o.subject&&a("p",{title:e.subject,"aria-live":"polite",role:"error message",className:d,children:e.subject})]}),l("div",{className:"lg:col-span-2",children:[a(b,{placeholder:"Message...",name:"message",value:t.message,onChange:n,onBlur:c,disabled:r,icon:a(S,{}),className:i(u,e.message&&o.message&&g)}),e.message&&o.message&&a("p",{title:e.message,"aria-live":"polite",role:"error message",className:d,children:e.message})]}),a("div",{className:"lg:col-span-2 light grid justify-items-center",children:a(C,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:r,children:"Send"})})]})})}function L(){return a("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:a("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function S(){return a("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:a("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{k as a};
4
+ import{a as p}from"./chunk-2C3C5SQQ.mjs";import{a as b}from"./chunk-4OK6PUOO.mjs";import{b as C}from"./chunk-7Z3TOFNL.mjs";import{a as i}from"./chunk-TSEOL53Y.mjs";import{Formik as h}from"formik";import{FaUser as N}from"react-icons/fa6";import*as m from"yup";import{toast as v}from"sonner";import{jsx as a,jsxs as l}from"react/jsx-runtime";var s={tooShort:"Must be at least ${min} characters",tooLong:"Must be at most ${max} characters",required:"This field is required",email:"Invalid email format"},y=m.object().shape({name:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),email:m.string().email(s.email).required(s.required),subject:m.string().min(2,s.tooShort).max(50,s.tooLong).required(s.required),message:m.string().min(2,s.tooShort).max(300,s.tooLong).required(s.required)}),u=i("!pr-[44px] text-foreground"),g=i("!border-red-600 border"),d=i("sr-only");function k({onSubmit:f}={}){return a(h,{initialValues:{name:"",email:"",subject:"",message:""},validationSchema:y,onSubmit:async(e,{resetForm:o})=>{if(!f){v.error("Form submission not configured");return}let t=await f(e);t.data===null?v.error(t.message):(v.success(t.message),o())},children:({errors:e,touched:o,values:t,handleChange:n,handleBlur:c,isSubmitting:r,handleSubmit:x})=>l("form",{onSubmit:x,className:"grid grid-cols-1 gap-2 pt-2 lg:grid-cols-2",children:[l("div",{children:[a(p,{placeholder:"Your Name",type:"text",name:"name",value:t.name,onChange:n,onBlur:c,disabled:r,icon:a(N,{className:"text-primary"}),className:i(u,e.name&&o.name&&g)}),e.name&&o.name&&a("p",{title:e.name,"aria-live":"polite",role:"error message",className:d,children:e.name})]}),l("div",{children:[a(p,{placeholder:"Your Email",type:"email",name:"email",value:t.email,onChange:n,onBlur:c,disabled:r,icon:a(L,{}),className:i(u,e.email&&o.email&&g)}),e.email&&o.email&&a("p",{title:e.email,"aria-live":"polite",role:"error message",className:d,children:e.email})]}),l("div",{className:"lg:col-span-2",children:[a(p,{placeholder:"Subject",type:"text",name:"subject",value:t.subject,onChange:n,onBlur:c,disabled:r,className:i(u,e.subject&&o.subject&&g)}),e.subject&&o.subject&&a("p",{title:e.subject,"aria-live":"polite",role:"error message",className:d,children:e.subject})]}),l("div",{className:"lg:col-span-2",children:[a(b,{placeholder:"Message...",name:"message",value:t.message,onChange:n,onBlur:c,disabled:r,icon:a(S,{}),className:i(u,e.message&&o.message&&g)}),e.message&&o.message&&a("p",{title:e.message,"aria-live":"polite",role:"error message",className:d,children:e.message})]}),a("div",{className:"lg:col-span-2 light grid justify-items-center",children:a(C,{type:"submit",className:"outline px-6 rounded-full outline-accent bg-background text-foreground hover:bg-accent hover:text-accent-foreground",disabled:r,children:"Send"})})]})})}function L(){return a("svg",{width:16,height:15,viewBox:"0 0 16 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:a("path",{d:"M14.9727 1.76172L13.2227 13.1094C13.1953 13.3828 13.0312 13.6289 12.7852 13.7656C12.6484 13.8203 12.5117 13.875 12.3477 13.875C12.2383 13.875 12.1289 13.8477 12.0195 13.793L8.68359 12.3984L7.28906 14.4766C7.17969 14.668 6.98828 14.75 6.79688 14.75C6.49609 14.75 6.25 14.5039 6.25 14.2031V11.5781C6.25 11.3594 6.30469 11.168 6.41406 11.0312L12.375 3.375L4.33594 10.6211L1.51953 9.44531C1.21875 9.30859 1 9.03516 1 8.67969C0.972656 8.29688 1.13672 8.02344 1.4375 7.85938L13.6875 0.886719C13.9609 0.722656 14.3438 0.722656 14.6172 0.914062C14.8906 1.10547 15.0273 1.43359 14.9727 1.76172Z"})})}function S(){return a("svg",{width:"14",height:"11",viewBox:"0 0 14 11",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",className:"text-primary",children:a("path",{d:"M12.6875 0.5C13.3984 0.5 14 1.10156 14 1.8125C14 2.25 13.7812 2.63281 13.4531 2.87891L7.51953 7.33594C7.19141 7.58203 6.78125 7.58203 6.45312 7.33594L0.519531 2.87891C0.191406 2.63281 0 2.25 0 1.8125C0 1.10156 0.574219 0.5 1.3125 0.5H12.6875ZM5.93359 8.04688C6.5625 8.51172 7.41016 8.51172 8.03906 8.04688L14 3.5625V9.25C14 10.2344 13.207 11 12.25 11H1.75C0.765625 11 0 10.2344 0 9.25V3.5625L5.93359 8.04688Z"})})}export{k as a};
@@ -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-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};
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};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as S}from"./chunk-RAGDUV7M.mjs";import{a as d,b as o,c as a,d as m,e as t,f as l}from"./chunk-76M7JE4D.mjs";import{a as u}from"./chunk-OYZDAMCS.mjs";import{b as n,d as b,f as c}from"./chunk-ZFUP5NVF.mjs";import{a as s}from"./chunk-4UIARERB.mjs";import{a as p}from"./chunk-LAQ3QAUW.mjs";import{a as g}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...i}){return r("div",{className:"bg-sidebar",children:[e(p,{isMenuOpen:!0,logoLight:f,logoDark:g,...i.header,className:"bg-sidebar",wide:!0}),r(n,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(S,{...i.sidebarLeft,className:"flex-none top-24"}),r(c,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(s,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(a,{className:"hidden md:block",children:e(m,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(a,{children:e(t,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]})]}),e(u,{})]})}export{h as a};
4
+ import{a as S}from"./chunk-52UFJIL4.mjs";import{a as d,b as o,c as a,d as m,e as t,f as l}from"./chunk-LQDJWEHX.mjs";import{a as u}from"./chunk-FPWCCVDI.mjs";import{b as n,d as b,f as c}from"./chunk-WXTJ6DVT.mjs";import{a as s}from"./chunk-T3NMKARZ.mjs";import{a as p}from"./chunk-WJZDHRGO.mjs";import{a as g}from"./chunk-WU3JMLSC.mjs";import{a as f}from"./chunk-BZAYEKYC.mjs";import{jsx as e,jsxs as r}from"react/jsx-runtime";function h({...i}){return r("div",{className:"bg-sidebar",children:[e(p,{isMenuOpen:!0,logoLight:f,logoDark:g,...i.header,className:"bg-sidebar",wide:!0}),r(n,{className:"top-24 mb-4 h-full max-h-[calc(100vh-3.5rem)] flex-1 flex-row overflow-y-clip",children:[e(S,{...i.sidebarLeft,className:"flex-none top-24"}),r(c,{className:"grow overflow-hidden",children:[e("header",{className:"flex h-16 shrink-0 items-center gap-2",children:r("div",{className:"flex items-center gap-2 px-4",children:[e(b,{className:"-ml-1"}),e(s,{orientation:"vertical",className:"mr-2 h-4"}),e(d,{children:r(o,{children:[e(a,{className:"hidden md:block",children:e(m,{href:"#",children:"Building Your Application"})}),e(l,{className:"hidden md:block"}),e(a,{children:e(t,{children:"Data Fetching"})})]})})]})}),r("div",{className:"flex flex-1 flex-col gap-4 p-4 pt-0",children:[r("div",{className:"grid auto-rows-min gap-4 md:grid-cols-3",children:[e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"}),e("div",{className:"aspect-video rounded-xl bg-muted/50"})]}),e("div",{className:"flex-1 rounded-xl bg-muted/50 md:min-h-min"})]})]})]}),e(u,{})]})}export{h as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk-PK3OBSCB.mjs";import{a as v}from"./chunk-LJQPLE4S.mjs";import{c as b,d as h}from"./chunk-N3B3XNV3.mjs";import{a as k}from"./chunk-X3JZSN3W.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{Fragment as x}from"react";import R from"next/image";import{jsx as t,jsxs as g}from"react/jsx-runtime";var y={content:v,cta:b,mediaBlock:k,collapsibleArea:p,imageBlock:k,features:h,reusableContentBlock:C},P=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?t("section",{id:"render-blocks",className:a(e.fill?"h-full w-full":""),children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in y){let o=y[r];if(r==="reusableContentBlock")return t(x,{children:t(P,{blocks:i.reusableContent.layout})},s);if(o)return g("div",{className:a("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[t(B,{block:i,index:s}),t("div",{className:a("container h-full relative",m?.settings?.theme||"dark"),children:t(o,{...i})})]},s)}return null})}):null},B=e=>{if(!("theme"in e.block))return t("div",{className:a("absolute inset-0 w-screen h-full dark bg-background")});let n=e.block?.theme;if(n.settings.background==="image"){let u={imagePosition:n.settings.imagePosition||"left",overlay:n.settings.overlay!==void 0?n.settings.overlay:!0};return g("div",{className:a("absolute inset-0 w-full h-full bg-background",n.settings.theme||"dark"),children:[t(R,{src:n.settings?.image?.url||"/placeholder.svg",alt:n.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),n.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:u.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return t("div",{className:a("absolute inset-0 w-screen h-full bg-background",n.settings.theme||"dark")})},E=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?t("main",{id:"content-blocks",className:a(e.fill?"h-full w-full":""),children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in y){let o=y[r];if(r==="reusableContentBlock")return t(x,{children:t(P,{blocks:i.reusableContent.layout})},s);if(o)return t(A,{block:i,allBlocks:n,index:s,children:t(o,{...i})})}return null})}):null},A=e=>{if(e.index===0)return g("section",{className:"relative flex w-full",children:[t("div",{className:a("absolute inset-0 w-screen h-full light bg-background")}),t("div",{className:a("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let n=l=>l%2===0?"light":"dark",u=({index:l,allBlocks:c})=>l===1?t(N,{position:"left"}):s(l,c)==="dark"&&m(l,c)==="light"?t(w,{position:"left"}):s(l,c)==="light"&&m(l,c)==="dark"?t(N,{position:"left"}):null,i=({index:l,allBlocks:c})=>r(l,c)==="light"&&m(l,c)==="dark"?t(w,{position:"left"}):null,s=(l,c)=>{if(l===1)return"light";let d=c[l-1];return"theme"in d&&d.theme?.settings?.theme==="light"?"light":"dark"},r=(l,c)=>{if(l===c.length-1)return"dark";if(l===0)return"light";let d=c[l+1];return"theme"in d&&d.theme?.settings?.theme==="light"?"light":"dark"},m=(l,c)=>{if(l===c.length-1)return"dark";let d=c[l];return d.theme&&d.theme?.settings?.theme==="light"?"light":"dark"};if(!e.block.theme||!e.block.theme.settings)return s(e.index,e.allBlocks)==="dark"?g("section",{id:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[t("div",{className:a("absolute inset-0 w-screen dark bg-background")}),t("div",{className:a("container relative","dark bg-background py-1"),children:e.children})]}):g("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[t(u,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:a("absolute inset-0 w-screen")}),t("div",{className:"bg-black",children:t("div",{className:a("container relative","dark bg-background py-1"),children:e.children})})]});if(!("theme"in e.block)||s(e.index,e.allBlocks)===m(e.index,e.allBlocks)){let l=m(e.index,e.allBlocks);return g("section",{id:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[t("div",{className:a("absolute inset-0 w-screen bg-background",l)}),t("div",{className:a("container relative bg-background py-1",l,l==="light"&&"py-12"),children:e.children})]})}if(s(e.index,e.allBlocks)!==m(e.index,e.allBlocks)){let l=m(e.index,e.allBlocks);return g("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[t(u,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:a("absolute inset-0 w-screen bg-background",l)}),t("div",{className:a("container relative bg-background min-h-[22em] content-center py-1",l,l==="light"&&"py-12"),children:e.children})]})}if(!("theme"in e.block))return g("div",{className:a("container h-full relative","dark"),children:[t("div",{className:a("absolute inset-0 w-screen h-full dark bg-background py-1")}),e.children]});let o=e.block?.theme;if(o.settings.background==="image"){let l={imagePosition:o.settings.imagePosition||"left",overlay:o.settings.overlay!==void 0?o.settings.overlay:!0};return g("div",{className:a("absolute inset-0 w-full h-full bg-background",o.settings.theme||"dark"),children:[t(R,{src:o.settings?.image?.url||"/placeholder.svg",alt:o.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),o.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:l.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return t("div",{className:a("absolute inset-0 w-screen h-full bg-background",o.settings.theme||"dark")})},N=({position:e})=>t("div",{className:"w-full aspect-[1920/360] z-20 relative -top-[2px] bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"2 2 1920 360",preserveAspectRatio:"none",style:{transform:"rotateX(180deg)",position:"absolute",bottom:"-2px"},className:a("w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),w=({position:e})=>t("div",{className:"w-full relative z-20 aspect-[1920/332] overflow-hidden ",children:g("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:a("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[t("defs",{children:g("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});import{Fragment as F,jsx as f,jsxs as I}from"react/jsx-runtime";var C=e=>{let{customId:n,reusableContent:u}=e;return typeof u=="object"&&u!==null?f(S,{blocks:u.layout}):f(F,{})},T={content:v,cta:b,mediaBlock:k,imageBlock:k,features:h},S=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?f(F,{children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in T){let o=T[r];if(o)return I("div",{className:"py-6 relative",children:[f(B,{block:i,index:s}),f("div",{className:a(m?.settings?.theme==="dark"?"dark":m?.settings?.theme==="green"?"green":""),children:f(o,{...i})})]},s)}return null})}):null};export{C as a,P as b,B as c,E as d,A as e,N as f,w as g};
1
+ import{a as p}from"./chunk-3ZXW3WQU.mjs";import{a as v}from"./chunk-6UVEJCVM.mjs";import{c as b,d as h}from"./chunk-TR52MKZR.mjs";import{a as k}from"./chunk-EGERAM4Q.mjs";import{a}from"./chunk-TSEOL53Y.mjs";import{Fragment as x}from"react";import R from"next/image";import{jsx as t,jsxs as g}from"react/jsx-runtime";var y={content:v,cta:b,mediaBlock:k,collapsibleArea:p,imageBlock:k,features:h,reusableContentBlock:C},P=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?t("section",{id:"render-blocks",className:a(e.fill?"h-full w-full":""),children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in y){let o=y[r];if(r==="reusableContentBlock")return t(x,{children:t(P,{blocks:i.reusableContent.layout})},s);if(o)return g("div",{className:a("py-6 relative",e.fill&&"flex h-full items-center justify-center"),children:[t(B,{block:i,index:s}),t("div",{className:a("container h-full relative",m?.settings?.theme||"dark"),children:t(o,{...i})})]},s)}return null})}):null},B=e=>{if(!("theme"in e.block))return t("div",{className:a("absolute inset-0 w-screen h-full dark bg-background")});let n=e.block?.theme;if(n.settings.background==="image"){let u={imagePosition:n.settings.imagePosition||"left",overlay:n.settings.overlay!==void 0?n.settings.overlay:!0};return g("div",{className:a("absolute inset-0 w-full h-full bg-background",n.settings.theme||"dark"),children:[t(R,{src:n.settings?.image?.url||"/placeholder.svg",alt:n.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),n.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:u.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return t("div",{className:a("absolute inset-0 w-screen h-full bg-background",n.settings.theme||"dark")})},E=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?t("main",{id:"content-blocks",className:a(e.fill?"h-full w-full":""),children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in y){let o=y[r];if(r==="reusableContentBlock")return t(x,{children:t(P,{blocks:i.reusableContent.layout})},s);if(o)return t(A,{block:i,allBlocks:n,index:s,children:t(o,{...i})})}return null})}):null},A=e=>{if(e.index===0)return g("section",{className:"relative flex w-full",children:[t("div",{className:a("absolute inset-0 w-screen h-full light bg-background")}),t("div",{className:a("container h-full relative pt-6 pb-12 min-h-[22em] content-center light bg-background"),children:e.children})]});let n=l=>l%2===0?"light":"dark",u=({index:l,allBlocks:c})=>l===1?t(N,{position:"left"}):s(l,c)==="dark"&&m(l,c)==="light"?t(w,{position:"left"}):s(l,c)==="light"&&m(l,c)==="dark"?t(N,{position:"left"}):null,i=({index:l,allBlocks:c})=>r(l,c)==="light"&&m(l,c)==="dark"?t(w,{position:"left"}):null,s=(l,c)=>{if(l===1)return"light";let d=c[l-1];return"theme"in d&&d.theme?.settings?.theme==="light"?"light":"dark"},r=(l,c)=>{if(l===c.length-1)return"dark";if(l===0)return"light";let d=c[l+1];return"theme"in d&&d.theme?.settings?.theme==="light"?"light":"dark"},m=(l,c)=>{if(l===c.length-1)return"dark";let d=c[l];return d.theme&&d.theme?.settings?.theme==="light"?"light":"dark"};if(!e.block.theme||!e.block.theme.settings)return s(e.index,e.allBlocks)==="dark"?g("section",{id:e.block.name||"content-block",className:"relative flex flex-col w-full pt-12",children:[t("div",{className:a("absolute inset-0 w-screen dark bg-background")}),t("div",{className:a("container relative","dark bg-background py-1"),children:e.children})]}):g("section",{id:e.block.name||"content-block-start",className:"relative flex flex-col w-full",children:[t(u,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:a("absolute inset-0 w-screen")}),t("div",{className:"bg-black",children:t("div",{className:a("container relative","dark bg-background py-1"),children:e.children})})]});if(!("theme"in e.block)||s(e.index,e.allBlocks)===m(e.index,e.allBlocks)){let l=m(e.index,e.allBlocks);return g("section",{id:e.block.name||"content-block-continue",className:" relative flex flex-col w-full pt-20",children:[t("div",{className:a("absolute inset-0 w-screen bg-background",l)}),t("div",{className:a("container relative bg-background py-1",l,l==="light"&&"py-12"),children:e.children})]})}if(s(e.index,e.allBlocks)!==m(e.index,e.allBlocks)){let l=m(e.index,e.allBlocks);return g("section",{id:e.block.blockName||"content-block-continue",className:"relative flex flex-col w-full",children:[t(u,{index:e.index,allBlocks:e.allBlocks}),t("div",{className:a("absolute inset-0 w-screen bg-background",l)}),t("div",{className:a("container relative bg-background min-h-[22em] content-center py-1",l,l==="light"&&"py-12"),children:e.children})]})}if(!("theme"in e.block))return g("div",{className:a("container h-full relative","dark"),children:[t("div",{className:a("absolute inset-0 w-screen h-full dark bg-background py-1")}),e.children]});let o=e.block?.theme;if(o.settings.background==="image"){let l={imagePosition:o.settings.imagePosition||"left",overlay:o.settings.overlay!==void 0?o.settings.overlay:!0};return g("div",{className:a("absolute inset-0 w-full h-full bg-background",o.settings.theme||"dark"),children:[t(R,{src:o.settings?.image?.url||"/placeholder.svg",alt:o.settings?.image?.alt||"",fill:!0,className:"object-cover",priority:!0}),o.settings.overlay&&t("div",{className:"absolute inset-0",style:{background:l.imagePosition==="left"?"linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)":"linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%)"}})]})}return t("div",{className:a("absolute inset-0 w-screen h-full bg-background",o.settings.theme||"dark")})},N=({position:e})=>t("div",{className:"w-full aspect-[1920/360] z-20 relative -top-[2px] bg-white",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"2 2 1920 360",preserveAspectRatio:"none",style:{transform:"rotateX(180deg)",position:"absolute",bottom:"-2px"},className:a("w-full block overflow-hidden"),children:t("polygon",{points:"0 0 0 135 1255 332 1920 5 1920 0 1920 0 0 0",fill:"black"})})}),w=({position:e})=>t("div",{className:"w-full relative z-20 aspect-[1920/332] overflow-hidden ",children:g("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 332",className:a("absolute "),style:{fontSize:0,float:"left",alignContent:"flex-end"},children:[t("defs",{children:g("mask",{id:"mask",children:[t("rect",{width:"100%",height:"100%",fill:"white"}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0"})]})}),t("polygon",{points:"0 0 0 135 1255 332 1920 0 1920 0 1920 0 0 0",fill:"black"})]})});import{Fragment as F,jsx as f,jsxs as I}from"react/jsx-runtime";var C=e=>{let{customId:n,reusableContent:u}=e;return typeof u=="object"&&u!==null?f(S,{blocks:u.layout}):f(F,{})},T={content:v,cta:b,mediaBlock:k,imageBlock:k,features:h},S=e=>{let{blocks:n}=e;return n&&Array.isArray(n)&&n.length>0?f(F,{children:n.map((i,s)=>{let{blockType:r}=i,m=i?.theme;if(r&&r in T){let o=T[r];if(o)return I("div",{className:"py-6 relative",children:[f(B,{block:i,index:s}),f("div",{className:a(m?.settings?.theme==="dark"?"dark":m?.settings?.theme==="green"?"green":""),children:f(o,{...i})})]},s)}return null})}):null};export{C as a,P as b,B as c,E as d,A as e,N as f,w as g};
@@ -1 +1 @@
1
- import{f as o}from"./chunk-N3B3XNV3.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
1
+ import{f as o}from"./chunk-TR52MKZR.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
@@ -1 +1 @@
1
- import{a as l,b as m,d as c}from"./chunk-JHNVX4UB.mjs";import{a as p}from"./chunk-7BXIU4ZM.mjs";import{a as N}from"./chunk-B4H6T2GP.mjs";import{a as r}from"./chunk-TVZOULLL.mjs";import{a as D,f as g,g as P,i as h}from"./chunk-3UMMMQEH.mjs";import{a as v}from"./chunk-L5JPAKPM.mjs";import{b as s}from"./chunk-ZUA4KNIR.mjs";import{a as d}from"./chunk-MDJREBVI.mjs";import{useState as x}from"react";import{CalendarIcon as S}from"lucide-react";import{format as C}from"date-fns";import{jsx as t,jsxs as i}from"react/jsx-runtime";var I=({isOpen:b,onClose:f,onAddSprint:A})=>{let[e,o]=x({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),y=a=>{a.preventDefault(),!(!e.name||!e.startDate||!e.endDate)&&(A({name:e.name,description:e.description,startDate:e.startDate,endDate:e.endDate,isActive:e.isActive,isSelected:!1}),o({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),f())},u=()=>{o({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),f()};return t(D,{open:b,onOpenChange:u,children:i(g,{className:"sm:max-w-md",children:[t(P,{children:t(h,{children:"Add New Sprint"})}),i("form",{onSubmit:y,className:"space-y-4",children:[i("div",{className:"space-y-2",children:[t(r,{htmlFor:"name",children:"Sprint Name *"}),t(v,{id:"name",value:e.name,onChange:a=>o(n=>({...n,name:a.target.value})),placeholder:"e.g., Sprint 3",required:!0})]}),i("div",{className:"space-y-2",children:[t(r,{htmlFor:"description",children:"Description"}),t(N,{id:"description",value:e.description,onChange:a=>o(n=>({...n,description:a.target.value})),placeholder:"Brief description of sprint goals",rows:3})]}),i("div",{className:"grid grid-cols-2 gap-4",children:[i("div",{className:"space-y-2",children:[t(r,{children:"Start Date *"}),i(l,{children:[t(m,{asChild:!0,children:i(s,{variant:"outline",className:d("w-full justify-start text-left font-normal",!e.startDate&&"text-muted-foreground"),children:[t(S,{className:"mr-2 h-4 w-4"}),e.startDate?C(e.startDate,"PPP"):"Pick a date"]})}),t(c,{className:"w-auto p-0",align:"start",children:t(p,{mode:"single",selected:e.startDate,onSelect:a=>o(n=>({...n,startDate:a})),initialFocus:!0})})]})]}),i("div",{className:"space-y-2",children:[t(r,{children:"End Date *"}),i(l,{children:[t(m,{asChild:!0,children:i(s,{variant:"outline",className:d("w-full justify-start text-left font-normal",!e.endDate&&"text-muted-foreground"),children:[t(S,{className:"mr-2 h-4 w-4"}),e.endDate?C(e.endDate,"PPP"):"Pick a date"]})}),t(c,{className:"w-auto p-0",align:"start",children:t(p,{mode:"single",selected:e.endDate,onSelect:a=>o(n=>({...n,endDate:a})),initialFocus:!0,disabled:a=>e.startDate?a<e.startDate:!1})})]})]})]}),i("div",{className:"flex items-center space-x-2",children:[t("input",{type:"checkbox",id:"isActive",checked:e.isActive,onChange:a=>o(n=>({...n,isActive:a.target.checked})),className:"rounded border-gray-300"}),t(r,{htmlFor:"isActive",children:"Set as active sprint"})]}),i("div",{className:"flex justify-end gap-3 pt-4",children:[t(s,{type:"button",variant:"outline",onClick:u,children:"Cancel"}),t(s,{type:"submit",disabled:!e.name||!e.startDate||!e.endDate,children:"Add Sprint"})]})]})]})})};export{I as a};
1
+ import{a as l,b as m,d as c}from"./chunk-E6W2YMC3.mjs";import{a as p}from"./chunk-F5JHHMZQ.mjs";import{a as N}from"./chunk-VXZPPTQQ.mjs";import{a as r}from"./chunk-RAAY7PEH.mjs";import{a as D,f as g,g as P,i as h}from"./chunk-AG6IN5S7.mjs";import{a as v}from"./chunk-GJUA2KUH.mjs";import{b as s}from"./chunk-7Z3TOFNL.mjs";import{a as d}from"./chunk-TSEOL53Y.mjs";import{useState as x}from"react";import{CalendarIcon as S}from"lucide-react";import{format as C}from"date-fns";import{jsx as t,jsxs as i}from"react/jsx-runtime";var I=({isOpen:b,onClose:f,onAddSprint:A})=>{let[e,o]=x({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),y=a=>{a.preventDefault(),!(!e.name||!e.startDate||!e.endDate)&&(A({name:e.name,description:e.description,startDate:e.startDate,endDate:e.endDate,isActive:e.isActive,isSelected:!1}),o({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),f())},u=()=>{o({name:"",description:"",startDate:void 0,endDate:void 0,isActive:!1}),f()};return t(D,{open:b,onOpenChange:u,children:i(g,{className:"sm:max-w-md",children:[t(P,{children:t(h,{children:"Add New Sprint"})}),i("form",{onSubmit:y,className:"space-y-4",children:[i("div",{className:"space-y-2",children:[t(r,{htmlFor:"name",children:"Sprint Name *"}),t(v,{id:"name",value:e.name,onChange:a=>o(n=>({...n,name:a.target.value})),placeholder:"e.g., Sprint 3",required:!0})]}),i("div",{className:"space-y-2",children:[t(r,{htmlFor:"description",children:"Description"}),t(N,{id:"description",value:e.description,onChange:a=>o(n=>({...n,description:a.target.value})),placeholder:"Brief description of sprint goals",rows:3})]}),i("div",{className:"grid grid-cols-2 gap-4",children:[i("div",{className:"space-y-2",children:[t(r,{children:"Start Date *"}),i(l,{children:[t(m,{asChild:!0,children:i(s,{variant:"outline",className:d("w-full justify-start text-left font-normal",!e.startDate&&"text-muted-foreground"),children:[t(S,{className:"mr-2 h-4 w-4"}),e.startDate?C(e.startDate,"PPP"):"Pick a date"]})}),t(c,{className:"w-auto p-0",align:"start",children:t(p,{mode:"single",selected:e.startDate,onSelect:a=>o(n=>({...n,startDate:a})),initialFocus:!0})})]})]}),i("div",{className:"space-y-2",children:[t(r,{children:"End Date *"}),i(l,{children:[t(m,{asChild:!0,children:i(s,{variant:"outline",className:d("w-full justify-start text-left font-normal",!e.endDate&&"text-muted-foreground"),children:[t(S,{className:"mr-2 h-4 w-4"}),e.endDate?C(e.endDate,"PPP"):"Pick a date"]})}),t(c,{className:"w-auto p-0",align:"start",children:t(p,{mode:"single",selected:e.endDate,onSelect:a=>o(n=>({...n,endDate:a})),initialFocus:!0,disabled:a=>e.startDate?a<e.startDate:!1})})]})]})]}),i("div",{className:"flex items-center space-x-2",children:[t("input",{type:"checkbox",id:"isActive",checked:e.isActive,onChange:a=>o(n=>({...n,isActive:a.target.checked})),className:"rounded border-gray-300"}),t(r,{htmlFor:"isActive",children:"Set as active sprint"})]}),i("div",{className:"flex justify-end gap-3 pt-4",children:[t(s,{type:"button",variant:"outline",onClick:u,children:"Cancel"}),t(s,{type:"submit",disabled:!e.name||!e.startDate||!e.endDate,children:"Add Sprint"})]})]})]})})};export{I as a};