cortex-react-components 2.12.0 → 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 (665) 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-AQ6RGBGI.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-QG5P52CK.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-XFPTR527.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-WUA65ZZB.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-LJOWXPWW.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-RNMPX2AU.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-M7ZG6HLI.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-7YQNB57R.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-52GADV2R.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-JB7IQQ3N.mjs → chunk-ENRNRNPQ.mjs} +1 -1
  69. package/dist/{chunk-5RTGHMF3.mjs → chunk-EPDV35LO.mjs} +1 -1
  70. package/dist/{chunk-7WIO2CIC.mjs → chunk-ESTO675Y.mjs} +1 -1
  71. package/dist/{chunk-RR4QSUV2.mjs → chunk-EUXJZBRI.mjs} +1 -1
  72. package/dist/{chunk-67QPOSVV.mjs → chunk-EYQ4UGAJ.mjs} +1 -1
  73. package/dist/{chunk-JVN7KTZV.mjs → chunk-EYRTGZWR.mjs} +1 -1
  74. package/dist/{chunk-7BXIU4ZM.mjs → chunk-F5JHHMZQ.mjs} +1 -1
  75. package/dist/{chunk-WUOWA2IX.mjs → chunk-F6KHZ4OS.mjs} +1 -1
  76. package/dist/{chunk-MAAKU7PN.mjs → chunk-FDJHY37W.mjs} +1 -1
  77. package/dist/{chunk-ZGQC6O62.mjs → chunk-FHPZSG7W.mjs} +1 -1
  78. package/dist/{chunk-SRUG246N.mjs → chunk-FJUAYJF4.mjs} +1 -1
  79. package/dist/{chunk-OYZDAMCS.mjs → chunk-FPWCCVDI.mjs} +1 -1
  80. package/dist/{chunk-FOEPKY7T.mjs → chunk-FSV7RCTY.mjs} +1 -1
  81. package/dist/{chunk-2RQDJ5XT.mjs → chunk-FT6JQ4AC.mjs} +1 -1
  82. package/dist/{chunk-YKG4FNS4.mjs → chunk-GCIWMQMK.mjs} +1 -1
  83. package/dist/{chunk-R7ILTSZR.mjs → chunk-GFLX67DN.mjs} +1 -1
  84. package/dist/{chunk-AZKOVKSK.mjs → chunk-GIGKJZGA.mjs} +1 -1
  85. package/dist/{chunk-L5JPAKPM.mjs → chunk-GJUA2KUH.mjs} +1 -1
  86. package/dist/{chunk-KGEIN56Y.mjs → chunk-GNIVCF53.mjs} +1 -1
  87. package/dist/{chunk-KX2NCNCS.mjs → chunk-GYTXBVCX.mjs} +1 -1
  88. package/dist/{chunk-AMV3MECK.mjs → chunk-GZQ7JEUL.mjs} +1 -1
  89. package/dist/{chunk-5WV5ZFEP.mjs → chunk-H45UTXIK.mjs} +1 -1
  90. package/dist/{chunk-7GSXNSLD.mjs → chunk-HH4JDBUN.mjs} +1 -1
  91. package/dist/{chunk-TZKQXT7Y.mjs → chunk-HK52LPE3.mjs} +1 -1
  92. package/dist/{chunk-WI2RL3XQ.mjs → chunk-HLWGNTZD.mjs} +1 -1
  93. package/dist/{chunk-LEC6GEWS.mjs → chunk-HPZPRZWG.mjs} +1 -1
  94. package/dist/{chunk-KVD6XDZT.mjs → chunk-HTCM27MI.mjs} +1 -1
  95. package/dist/{chunk-D275F3RT.mjs → chunk-HTQIVWYI.mjs} +1 -1
  96. package/dist/{chunk-U5PBLRRV.mjs → chunk-HYIRE7BK.mjs} +1 -1
  97. package/dist/chunk-I2BNJCJ7.mjs +1 -0
  98. package/dist/{chunk-Q5NHYYRS.mjs → chunk-IG6J62QA.mjs} +1 -1
  99. package/dist/{chunk-B3F6F2S4.mjs → chunk-JKPUXPHP.mjs} +1 -1
  100. package/dist/{chunk-QQVPLMPJ.mjs → chunk-JTFMN7OL.mjs} +1 -1
  101. package/dist/{chunk-2QZUKVBA.mjs → chunk-JULD2KZR.mjs} +1 -1
  102. package/dist/{chunk-FT3AE7L2.mjs → chunk-JVJG2LOA.mjs} +1 -1
  103. package/dist/{chunk-Q6PKGY27.mjs → chunk-K5GFFN67.mjs} +1 -1
  104. package/dist/chunk-KCOLYVJX.mjs +1 -0
  105. package/dist/{chunk-74JNWOJQ.mjs → chunk-KUVPOOSW.mjs} +1 -1
  106. package/dist/{chunk-HHYHENVF.mjs → chunk-KZTONTWM.mjs} +1 -1
  107. package/dist/{chunk-LVFMFRBR.mjs → chunk-LARQXED4.mjs} +1 -1
  108. package/dist/{chunk-Q3EVV5MV.mjs → chunk-LCIKBYDR.mjs} +1 -1
  109. package/dist/{chunk-76M7JE4D.mjs → chunk-LQDJWEHX.mjs} +1 -1
  110. package/dist/{chunk-LJLV5GUS.mjs → chunk-MZKVGPNQ.mjs} +1 -1
  111. package/dist/{chunk-JVG4XS2E.mjs → chunk-N5BLWWDM.mjs} +1 -1
  112. package/dist/{chunk-DFIXTV2M.mjs → chunk-N5GHL7UZ.mjs} +1 -1
  113. package/dist/{chunk-ISBVFNWD.mjs → chunk-NGC3C4FW.mjs} +1 -1
  114. package/dist/{chunk-I2ZLKSWR.mjs → chunk-NM6U4PLY.mjs} +1 -1
  115. package/dist/{chunk-DBY4SXQI.mjs → chunk-NMAMUYGQ.mjs} +1 -1
  116. package/dist/{chunk-NSMXJCXE.mjs → chunk-NN2RHTGW.mjs} +1 -1
  117. package/dist/{chunk-INCYANPB.mjs → chunk-NQPBIFGO.mjs} +1 -1
  118. package/dist/{chunk-TR6RBROH.mjs → chunk-OF63XSJ4.mjs} +1 -1
  119. package/dist/{chunk-6C4WESLL.mjs → chunk-OGN7YDFB.mjs} +1 -1
  120. package/dist/{chunk-I3E2TYYZ.mjs → chunk-OHDNPAPI.mjs} +1 -1
  121. package/dist/{chunk-FTZRG54P.mjs → chunk-OKAETRO6.mjs} +1 -1
  122. package/dist/{chunk-22LHS2J6.mjs → chunk-OU7KVCBI.mjs} +1 -1
  123. package/dist/{chunk-RLVKIMGU.mjs → chunk-P5U27QUJ.mjs} +1 -1
  124. package/dist/{chunk-5NRGSTPV.mjs → chunk-PMOMDGBA.mjs} +1 -1
  125. package/dist/{chunk-PDY7JYY3.mjs → chunk-PUAHE5VJ.mjs} +1 -1
  126. package/dist/{chunk-56X4PU43.mjs → chunk-PXAKUW3U.mjs} +1 -1
  127. package/dist/{chunk-MGYV46AJ.mjs → chunk-Q6FPZ6J3.mjs} +1 -1
  128. package/dist/{chunk-6WQXZ6IE.mjs → chunk-QAIS2C6W.mjs} +1 -1
  129. package/dist/{chunk-7GMAMIHM.mjs → chunk-QB63WPDB.mjs} +1 -1
  130. package/dist/{chunk-6HLXIE4P.mjs → chunk-QEFMYXHA.mjs} +1 -1
  131. package/dist/{chunk-IJQC7T2R.mjs → chunk-QIDPNZOL.mjs} +1 -1
  132. package/dist/{chunk-RVHCTANZ.mjs → chunk-QMTI6672.mjs} +1 -1
  133. package/dist/{chunk-D3B2YO7G.mjs → chunk-QUDKEIE6.mjs} +1 -1
  134. package/dist/{chunk-2BR55L74.mjs → chunk-QXA6C5VE.mjs} +1 -1
  135. package/dist/{chunk-Q6VAKKW3.mjs → chunk-QXNCGSQE.mjs} +1 -1
  136. package/dist/{chunk-TVZOULLL.mjs → chunk-RAAY7PEH.mjs} +1 -1
  137. package/dist/{chunk-AM2SRWFU.mjs → chunk-RARAKOXE.mjs} +1 -1
  138. package/dist/{chunk-Q67RF7VO.mjs → chunk-RD7LJPUV.mjs} +1 -1
  139. package/dist/{chunk-SOLZ4VQH.mjs → chunk-RFNYVF6F.mjs} +1 -1
  140. package/dist/{chunk-SOIRB5TV.mjs → chunk-RHYQ4V7N.mjs} +1 -1
  141. package/dist/{chunk-TUI4S4GI.mjs → chunk-RPUSKO6J.mjs} +1 -1
  142. package/dist/{chunk-OM5ZUHCN.mjs → chunk-RU435LAU.mjs} +1 -1
  143. package/dist/{chunk-LVK4QE5D.mjs → chunk-S7N4CSMJ.mjs} +1 -1
  144. package/dist/{chunk-AZ4VR5JX.mjs → chunk-SIFQNSEM.mjs} +1 -1
  145. package/dist/{chunk-XBCYPOFD.mjs → chunk-T3BIRW2W.mjs} +1 -1
  146. package/dist/{chunk-4UIARERB.mjs → chunk-T3NMKARZ.mjs} +1 -1
  147. package/dist/{chunk-CTAIR3TE.mjs → chunk-TAVSBP7M.mjs} +1 -1
  148. package/dist/{chunk-TKSXXSHY.mjs → chunk-TFPWTJ2V.mjs} +1 -1
  149. package/dist/{chunk-FMJBJ3HN.mjs → chunk-TNCD5YIY.mjs} +1 -1
  150. package/dist/{chunk-N3B3XNV3.mjs → chunk-TR52MKZR.mjs} +1 -1
  151. package/dist/chunk-TSEOL53Y.mjs +1 -0
  152. package/dist/{chunk-6SWKEZN6.mjs → chunk-TUTSJOO4.mjs} +1 -1
  153. package/dist/{chunk-6XUIHSKG.mjs → chunk-TYMRNSJ3.mjs} +1 -1
  154. package/dist/{chunk-XGIYNUGC.mjs → chunk-TZTQENNX.mjs} +1 -1
  155. package/dist/{chunk-BMA4266L.mjs → chunk-U5UV7T63.mjs} +1 -1
  156. package/dist/{chunk-ZXPDSSCF.mjs → chunk-UBCJPXKD.mjs} +1 -1
  157. package/dist/{chunk-CGDLOY7W.mjs → chunk-UJ6M7EV5.mjs} +1 -1
  158. package/dist/{chunk-KFCSVEI6.mjs → chunk-UXCCCQCB.mjs} +1 -1
  159. package/dist/{chunk-WISC5QJV.mjs → chunk-UY4BSKPK.mjs} +1 -1
  160. package/dist/{chunk-H3CJOE6S.mjs → chunk-VB7K44IF.mjs} +1 -1
  161. package/dist/{chunk-5SHZBJ5R.mjs → chunk-VFPS3FYN.mjs} +1 -1
  162. package/dist/{chunk-FMH5CZ7X.mjs → chunk-VRZHKAJK.mjs} +1 -1
  163. package/dist/{chunk-B4H6T2GP.mjs → chunk-VXZPPTQQ.mjs} +1 -1
  164. package/dist/{chunk-TJVEQJW3.mjs → chunk-WH24BWZV.mjs} +1 -1
  165. package/dist/{chunk-75WE6ZXB.mjs → chunk-WJZDHRGO.mjs} +1 -1
  166. package/dist/{chunk-RULSHTXR.mjs → chunk-WKLJU63E.mjs} +1 -1
  167. package/dist/{chunk-YFAZQYK4.mjs → chunk-WLM2ZFHF.mjs} +1 -1
  168. package/dist/{chunk-EHSOO47V.mjs → chunk-WNBJ7C5Y.mjs} +1 -1
  169. package/dist/{chunk-5BV4MHV6.mjs → chunk-WWTVAR4J.mjs} +1 -1
  170. package/dist/chunk-WXTJ6DVT.mjs +4 -0
  171. package/dist/{chunk-FA7PGHVM.mjs → chunk-X5RHYJW3.mjs} +1 -1
  172. package/dist/{chunk-BG7QXNV5.mjs → chunk-XXFUUOSB.mjs} +1 -1
  173. package/dist/{chunk-TK4JC5PG.mjs → chunk-XXWSCTF5.mjs} +1 -1
  174. package/dist/{chunk-ERJXTG6X.mjs → chunk-YHTFEWSZ.mjs} +1 -1
  175. package/dist/{chunk-OPLUKFRN.mjs → chunk-YUW3HHAK.mjs} +1 -1
  176. package/dist/{chunk-AREQGH47.mjs → chunk-YVNVQONM.mjs} +1 -1
  177. package/dist/{chunk-5BT4EWU5.mjs → chunk-Z756RYIZ.mjs} +1 -1
  178. package/dist/{chunk-4QRKVSTE.mjs → chunk-ZJBZTPLD.mjs} +1 -1
  179. package/dist/{chunk-BA3I4XZE.mjs → chunk-ZKLSTUIP.mjs} +1 -1
  180. package/dist/{chunk-5AWZJAK3.mjs → chunk-ZNV6MCYI.mjs} +1 -1
  181. package/dist/components/AdvancedComponents/AppSidebar.js +1 -1
  182. package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
  183. package/dist/components/AdvancedComponents/CommentSection.js +1 -1
  184. package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
  185. package/dist/components/AdvancedComponents/EditableField.js +1 -1
  186. package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
  187. package/dist/components/AdvancedComponents/app-header.d.ts +2 -2
  188. package/dist/components/AdvancedComponents/app-header.js +1 -1
  189. package/dist/components/AdvancedComponents/app-header.mjs +1 -1
  190. package/dist/components/AdvancedComponents/index.js +2 -2
  191. package/dist/components/AdvancedComponents/index.mjs +1 -1
  192. package/dist/components/AdvancedComponents/navigation-tabs.js +2 -2
  193. package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
  194. package/dist/components/AdvancedComponents/notifications-panel.js +1 -1
  195. package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
  196. package/dist/components/AdvancedComponents/switch.js +1 -1
  197. package/dist/components/AdvancedComponents/switch.mjs +1 -1
  198. package/dist/components/AdvancedComponents/theme-toggle.js +1 -1
  199. package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
  200. package/dist/components/AdvancedComponents/user-selection.js +1 -1
  201. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  202. package/dist/components/Blocks/Banner.js +1 -1
  203. package/dist/components/Blocks/Banner.mjs +1 -1
  204. package/dist/components/Blocks/CallToAction.js +1 -1
  205. package/dist/components/Blocks/CallToAction.mjs +1 -1
  206. package/dist/components/Blocks/CaseStudy.js +1 -1
  207. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  208. package/dist/components/Blocks/Code.client.js +1 -1
  209. package/dist/components/Blocks/Code.client.mjs +1 -1
  210. package/dist/components/Blocks/Code.js +1 -1
  211. package/dist/components/Blocks/Code.mjs +1 -1
  212. package/dist/components/Blocks/CollapsibleArea.js +1 -1
  213. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  214. package/dist/components/Blocks/ConsultantProfile.js +1 -1
  215. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  216. package/dist/components/Blocks/Content.js +1 -1
  217. package/dist/components/Blocks/Content.mjs +1 -1
  218. package/dist/components/Blocks/CopyButton.js +1 -1
  219. package/dist/components/Blocks/CopyButton.mjs +1 -1
  220. package/dist/components/Blocks/FeaturesBlock.js +1 -1
  221. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  222. package/dist/components/Blocks/ImageBlock.js +1 -1
  223. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  224. package/dist/components/Blocks/MediaBlock.js +1 -1
  225. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  226. package/dist/components/Blocks/ProposalSummary.js +1 -1
  227. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  228. package/dist/components/Blocks/RelatedPosts.js +1 -1
  229. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  230. package/dist/components/Blocks/RenderBlocks.js +1 -1
  231. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  232. package/dist/components/Blocks/ReusableContentBlock.js +1 -1
  233. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  234. package/dist/components/Blocks/index.js +1 -1
  235. package/dist/components/Blocks/index.mjs +1 -1
  236. package/dist/components/CRM/CogeBoard.js +1 -1
  237. package/dist/components/CRM/CogeBoard.mjs +1 -1
  238. package/dist/components/CRM/DealCard.js +1 -1
  239. package/dist/components/CRM/DealCard.mjs +1 -1
  240. package/dist/components/CRM/DealDetails.js +1 -1
  241. package/dist/components/CRM/DealDetails.mjs +1 -1
  242. package/dist/components/CRM/KanbanBoard.js +1 -1
  243. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  244. package/dist/components/CRM/KanbanColumn.js +1 -1
  245. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  246. package/dist/components/CRM/NewCustomerForm.js +1 -1
  247. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  248. package/dist/components/CRM/NewDealForm.js +1 -1
  249. package/dist/components/CRM/NewDealForm.mjs +1 -1
  250. package/dist/components/CRM/index.js +1 -1
  251. package/dist/components/CRM/index.mjs +1 -1
  252. package/dist/components/Cards/ContentCard.js +1 -1
  253. package/dist/components/Cards/ContentCard.mjs +1 -1
  254. package/dist/components/Cards/CustomerCard.js +1 -1
  255. package/dist/components/Cards/CustomerCard.mjs +1 -1
  256. package/dist/components/Cards/EventCard.js +1 -1
  257. package/dist/components/Cards/EventCard.mjs +1 -1
  258. package/dist/components/Cards/FeatureCard.js +1 -1
  259. package/dist/components/Cards/FeatureCard.mjs +1 -1
  260. package/dist/components/Cards/HeroCard.js +1 -1
  261. package/dist/components/Cards/HeroCard.mjs +1 -1
  262. package/dist/components/Cards/Image.js +1 -1
  263. package/dist/components/Cards/Image.mjs +1 -1
  264. package/dist/components/Cards/PricingCard.js +1 -1
  265. package/dist/components/Cards/PricingCard.mjs +1 -1
  266. package/dist/components/Cards/ProjectCard.js +3 -3
  267. package/dist/components/Cards/ProjectCard.mjs +1 -1
  268. package/dist/components/Cards/ServiceCard.js +1 -1
  269. package/dist/components/Cards/ServiceCard.mjs +1 -1
  270. package/dist/components/Cards/index.js +4 -4
  271. package/dist/components/Cards/index.mjs +1 -1
  272. package/dist/components/Chat/ChatCardArtefact.js +1 -1
  273. package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
  274. package/dist/components/Chat/ChatCardTask.js +1 -1
  275. package/dist/components/Chat/ChatCardTask.mjs +1 -1
  276. package/dist/components/Chat/ChatInterface.js +2 -2
  277. package/dist/components/Chat/ChatInterface.mjs +1 -1
  278. package/dist/components/Chat/ChatInterfaceMessages.js +2 -2
  279. package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
  280. package/dist/components/Chat/ChatMessage.js +2 -2
  281. package/dist/components/Chat/ChatMessage.mjs +1 -1
  282. package/dist/components/Chat/CopilotInterface.js +3 -3
  283. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  284. package/dist/components/Chat/capability-menu.js +1 -1
  285. package/dist/components/Chat/capability-menu.mjs +1 -1
  286. package/dist/components/Chat/chat-session-sidebar.js +1 -1
  287. package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
  288. package/dist/components/Chat/demo-long-messages.js +9 -9
  289. package/dist/components/Chat/demo-long-messages.mjs +1 -1
  290. package/dist/components/Chat/demo-tests.js +24 -24
  291. package/dist/components/Chat/demo-tests.mjs +1 -1
  292. package/dist/components/Chat/demo.js +3 -3
  293. package/dist/components/Chat/demo.mjs +1 -1
  294. package/dist/components/Chat/example-usage.js +2 -2
  295. package/dist/components/Chat/example-usage.mjs +1 -1
  296. package/dist/components/Chat/example-with-file-uploads.js +1 -1
  297. package/dist/components/Chat/example-with-file-uploads.mjs +1 -1
  298. package/dist/components/Chat/example-with-vercel-ai.js +3 -3
  299. package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
  300. package/dist/components/Chat/index.js +3 -3
  301. package/dist/components/Chat/index.mjs +1 -1
  302. package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +2 -2
  303. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
  304. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +1 -1
  305. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
  306. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +2 -2
  307. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
  308. package/dist/components/DeliveryLead/index.js +2 -2
  309. package/dist/components/DeliveryLead/index.mjs +1 -1
  310. package/dist/components/DigitalColleagues/AppSidebarLeft.js +1 -1
  311. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  312. package/dist/components/DigitalColleagues/DashboardHeader.js +1 -1
  313. package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
  314. package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
  315. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
  316. package/dist/components/DigitalColleagues/MainPage.js +1 -1
  317. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  318. package/dist/components/DigitalColleagues/ManagementSidebar.js +1 -1
  319. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
  320. package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
  321. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
  322. package/dist/components/DigitalColleagues/SearchableSelect.js +1 -1
  323. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
  324. package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
  325. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
  326. package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
  327. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
  328. package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
  329. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
  330. package/dist/components/DigitalColleagues/Views/index.js +1 -1
  331. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  332. package/dist/components/DigitalColleagues/colleague-card.js +1 -1
  333. package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
  334. package/dist/components/DigitalColleagues/colleague-form.js +1 -1
  335. package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
  336. package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
  337. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
  338. package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
  339. package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
  340. package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
  341. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
  342. package/dist/components/DigitalColleagues/document-edit.js +1 -1
  343. package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
  344. package/dist/components/DigitalColleagues/document-preview-examples.js +5 -5
  345. package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
  346. package/dist/components/DigitalColleagues/document-preview.js +1 -1
  347. package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
  348. package/dist/components/DigitalColleagues/index.js +1 -1
  349. package/dist/components/DigitalColleagues/index.mjs +1 -1
  350. package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
  351. package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
  352. package/dist/components/DigitalColleagues/knowledge-search.js +1 -1
  353. package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
  354. package/dist/components/DigitalColleagues/team-form.js +1 -1
  355. package/dist/components/DigitalColleagues/team-form.mjs +1 -1
  356. package/dist/components/DigitalColleagues/test-data.js +1 -1
  357. package/dist/components/DigitalColleagues/test-data.mjs +1 -1
  358. package/dist/components/DigitalColleagues/types.d.ts +1 -0
  359. package/dist/components/HeaderFooter/BrandLogo.js +1 -1
  360. package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
  361. package/dist/components/HeaderFooter/Footer.js +1 -1
  362. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  363. package/dist/components/HeaderFooter/Header.js +1 -1
  364. package/dist/components/HeaderFooter/Header.mjs +1 -1
  365. package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
  366. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  367. package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
  368. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  369. package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
  370. package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
  371. package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
  372. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  373. package/dist/components/HeaderFooter/SectionHeading.js +1 -1
  374. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  375. package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
  376. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  377. package/dist/components/HeaderFooter/VideoHeader.js +1 -1
  378. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  379. package/dist/components/HeaderFooter/enhanced-header.js +1 -1
  380. package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
  381. package/dist/components/HeaderFooter/index.js +1 -1
  382. package/dist/components/HeaderFooter/index.mjs +1 -1
  383. package/dist/components/Heros/DashboardHero/DashboardHero.js +1 -1
  384. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
  385. package/dist/components/Heros/DashboardHero/index.js +1 -1
  386. package/dist/components/Heros/DashboardHero/index.mjs +1 -1
  387. package/dist/components/Heros/HighImpact/index.js +1 -1
  388. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  389. package/dist/components/Heros/LowImpact/index.js +1 -1
  390. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  391. package/dist/components/Heros/MediumImpact/index.js +1 -1
  392. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  393. package/dist/components/Heros/PostHero/index.js +1 -1
  394. package/dist/components/Heros/PostHero/index.mjs +1 -1
  395. package/dist/components/Heros/RenderHero.js +1 -1
  396. package/dist/components/Heros/RenderHero.mjs +1 -1
  397. package/dist/components/Heros/SectionHero/index.js +1 -1
  398. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  399. package/dist/components/Heros/index.js +1 -1
  400. package/dist/components/Heros/index.mjs +1 -1
  401. package/dist/components/Holidays/ApproveLeave.js +1 -1
  402. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  403. package/dist/components/Holidays/CalendarView.js +1 -1
  404. package/dist/components/Holidays/CalendarView.mjs +1 -1
  405. package/dist/components/Holidays/HolidayGrid.js +1 -1
  406. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  407. package/dist/components/Holidays/HolidayTracker.js +1 -1
  408. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  409. package/dist/components/Holidays/RequestLeave.js +1 -1
  410. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  411. package/dist/components/Holidays/index.js +1 -1
  412. package/dist/components/Holidays/index.mjs +1 -1
  413. package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
  414. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  415. package/dist/components/Layouts/Print.js +2 -2
  416. package/dist/components/Layouts/Print.mjs +1 -1
  417. package/dist/components/Layouts/SlideShow.js +3 -3
  418. package/dist/components/Layouts/SlideShow.mjs +1 -1
  419. package/dist/components/Layouts/index.js +4 -4
  420. package/dist/components/Layouts/index.mjs +1 -1
  421. package/dist/components/Menus/Categories.js +1 -1
  422. package/dist/components/Menus/Categories.mjs +1 -1
  423. package/dist/components/Menus/Filter.js +1 -1
  424. package/dist/components/Menus/Filter.mjs +1 -1
  425. package/dist/components/Menus/Pagination.js +1 -1
  426. package/dist/components/Menus/Pagination.mjs +1 -1
  427. package/dist/components/Menus/ProjectTeam.js +1 -1
  428. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  429. package/dist/components/Menus/RelatedContent.js +1 -1
  430. package/dist/components/Menus/RelatedContent.mjs +1 -1
  431. package/dist/components/Menus/SidebarLeft.js +1 -1
  432. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  433. package/dist/components/Menus/SidebarRight.js +1 -1
  434. package/dist/components/Menus/SidebarRight.mjs +1 -1
  435. package/dist/components/Menus/index.js +1 -1
  436. package/dist/components/Menus/index.mjs +1 -1
  437. package/dist/components/Other/Container.js +1 -1
  438. package/dist/components/Other/Container.mjs +1 -1
  439. package/dist/components/Other/PageShape.js +1 -1
  440. package/dist/components/Other/PageShape.mjs +1 -1
  441. package/dist/components/Other/index.js +1 -1
  442. package/dist/components/Other/index.mjs +1 -1
  443. package/dist/components/Payload/Card/index.js +1 -1
  444. package/dist/components/Payload/Card/index.mjs +1 -1
  445. package/dist/components/Payload/CollectionArchive/index.js +1 -1
  446. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  447. package/dist/components/Payload/Link/index.js +1 -1
  448. package/dist/components/Payload/Link/index.mjs +1 -1
  449. package/dist/components/Payload/Media/ImageMedia/index.js +1 -1
  450. package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
  451. package/dist/components/Payload/Media/VideoMedia/index.js +1 -1
  452. package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
  453. package/dist/components/Payload/Media/index.js +1 -1
  454. package/dist/components/Payload/Media/index.mjs +1 -1
  455. package/dist/components/Payload/Pagination/index.js +1 -1
  456. package/dist/components/Payload/Pagination/index.mjs +1 -1
  457. package/dist/components/Payload/RichText/index.js +1 -1
  458. package/dist/components/Payload/RichText/index.mjs +1 -1
  459. package/dist/components/Payload/RichText/serialize.js +1 -1
  460. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  461. package/dist/components/Payload/index.js +1 -1
  462. package/dist/components/Payload/index.mjs +1 -1
  463. package/dist/components/Projects/AddEpicModal.js +1 -1
  464. package/dist/components/Projects/AddEpicModal.mjs +1 -1
  465. package/dist/components/Projects/AddSprintModal.js +1 -1
  466. package/dist/components/Projects/AddSprintModal.mjs +1 -1
  467. package/dist/components/Projects/AddTaskModal.js +1 -1
  468. package/dist/components/Projects/AddTaskModal.mjs +1 -1
  469. package/dist/components/Projects/EpicFilter.js +1 -1
  470. package/dist/components/Projects/EpicFilter.mjs +1 -1
  471. package/dist/components/Projects/EpicsView.js +1 -1
  472. package/dist/components/Projects/EpicsView.mjs +1 -1
  473. package/dist/components/Projects/FileView.js +1 -1
  474. package/dist/components/Projects/FileView.mjs +1 -1
  475. package/dist/components/Projects/KanbanBoardView.js +1 -1
  476. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  477. package/dist/components/Projects/KanbanColumn.js +1 -1
  478. package/dist/components/Projects/KanbanColumn.mjs +1 -1
  479. package/dist/components/Projects/PlanningView.js +1 -1
  480. package/dist/components/Projects/PlanningView.mjs +1 -1
  481. package/dist/components/Projects/ProjectPage.js +1 -1
  482. package/dist/components/Projects/ProjectPage.mjs +1 -1
  483. package/dist/components/Projects/ProjectView.js +1 -1
  484. package/dist/components/Projects/ProjectView.mjs +1 -1
  485. package/dist/components/Projects/ProjectsIndexView.js +1 -1
  486. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  487. package/dist/components/Projects/TaskCard.js +1 -1
  488. package/dist/components/Projects/TaskCard.mjs +1 -1
  489. package/dist/components/Projects/TaskDetailsModal.js +1 -1
  490. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  491. package/dist/components/Projects/TaskSelect.js +1 -1
  492. package/dist/components/Projects/TaskSelect.mjs +1 -1
  493. package/dist/components/Projects/TaskSidebar.js +1 -1
  494. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  495. package/dist/components/Projects/TasksView.js +1 -1
  496. package/dist/components/Projects/TasksView.mjs +1 -1
  497. package/dist/components/Projects/TeamSwitcher.js +1 -1
  498. package/dist/components/Projects/TeamSwitcher.mjs +1 -1
  499. package/dist/components/Projects/business-unit-switcher.js +1 -1
  500. package/dist/components/Projects/business-unit-switcher.mjs +1 -1
  501. package/dist/components/Projects/file-list.js +1 -1
  502. package/dist/components/Projects/file-list.mjs +1 -1
  503. package/dist/components/Projects/index.css +1 -0
  504. package/dist/components/Projects/index.d.ts +1 -0
  505. package/dist/components/Projects/index.js +4 -0
  506. package/dist/components/Projects/index.mjs +1 -0
  507. package/dist/components/Projects/project-card.js +1 -1
  508. package/dist/components/Projects/project-card.mjs +1 -1
  509. package/dist/components/Projects/project-form.js +1 -1
  510. package/dist/components/Projects/project-form.mjs +1 -1
  511. package/dist/components/Projects/team-card.js +1 -1
  512. package/dist/components/Projects/team-card.mjs +1 -1
  513. package/dist/components/Projects/team-switcher-bar.js +1 -1
  514. package/dist/components/Projects/team-switcher-bar.mjs +1 -1
  515. package/dist/components/Projects/test-data.js +1 -1
  516. package/dist/components/Projects/test-data.mjs +1 -1
  517. package/dist/components/dc-temp/creative.js +1 -1
  518. package/dist/components/dc-temp/creative.mjs +1 -1
  519. package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
  520. package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
  521. package/dist/components/dc-temp/index.js +1 -1
  522. package/dist/components/dc-temp/index.mjs +1 -1
  523. package/dist/components/dc-temp/markdown-renderer.js +1 -1
  524. package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
  525. package/dist/components/dc-temp/mock-data.js +1 -1
  526. package/dist/components/dc-temp/mock-data.mjs +1 -1
  527. package/dist/components/dc-temp/utils.js +1 -1
  528. package/dist/components/dc-temp/utils.mjs +1 -1
  529. package/dist/components/index.d.ts +1 -0
  530. package/dist/components/index.js +13 -13
  531. package/dist/components/index.mjs +1 -1
  532. package/dist/components/ui/alert.js +1 -1
  533. package/dist/components/ui/alert.mjs +1 -1
  534. package/dist/components/ui/avatar.js +1 -1
  535. package/dist/components/ui/avatar.mjs +1 -1
  536. package/dist/components/ui/badge.js +1 -1
  537. package/dist/components/ui/badge.mjs +1 -1
  538. package/dist/components/ui/breadcrumb.js +1 -1
  539. package/dist/components/ui/breadcrumb.mjs +1 -1
  540. package/dist/components/ui/button.js +1 -1
  541. package/dist/components/ui/button.mjs +1 -1
  542. package/dist/components/ui/calendar.js +1 -1
  543. package/dist/components/ui/calendar.mjs +1 -1
  544. package/dist/components/ui/card.js +1 -1
  545. package/dist/components/ui/card.mjs +1 -1
  546. package/dist/components/ui/checkbox.js +1 -1
  547. package/dist/components/ui/checkbox.mjs +1 -1
  548. package/dist/components/ui/command.js +1 -1
  549. package/dist/components/ui/command.mjs +1 -1
  550. package/dist/components/ui/dialog.js +1 -1
  551. package/dist/components/ui/dialog.mjs +1 -1
  552. package/dist/components/ui/dropdown-menu.js +1 -1
  553. package/dist/components/ui/dropdown-menu.mjs +1 -1
  554. package/dist/components/ui/hover-card.js +1 -1
  555. package/dist/components/ui/hover-card.mjs +1 -1
  556. package/dist/components/ui/index.js +1 -1
  557. package/dist/components/ui/index.mjs +1 -1
  558. package/dist/components/ui/input.js +1 -1
  559. package/dist/components/ui/input.mjs +1 -1
  560. package/dist/components/ui/inputs/common/styles/index.js +1 -1
  561. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  562. package/dist/components/ui/inputs/text-input/index.js +1 -1
  563. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  564. package/dist/components/ui/inputs/textarea-input/index.js +1 -1
  565. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  566. package/dist/components/ui/label.js +1 -1
  567. package/dist/components/ui/label.mjs +1 -1
  568. package/dist/components/ui/pagination.js +1 -1
  569. package/dist/components/ui/pagination.mjs +1 -1
  570. package/dist/components/ui/popover.js +1 -1
  571. package/dist/components/ui/popover.mjs +1 -1
  572. package/dist/components/ui/progress.js +1 -1
  573. package/dist/components/ui/progress.mjs +1 -1
  574. package/dist/components/ui/scroll-area.js +1 -1
  575. package/dist/components/ui/scroll-area.mjs +1 -1
  576. package/dist/components/ui/select.js +1 -1
  577. package/dist/components/ui/select.mjs +1 -1
  578. package/dist/components/ui/separator.js +1 -1
  579. package/dist/components/ui/separator.mjs +1 -1
  580. package/dist/components/ui/sheet.js +1 -1
  581. package/dist/components/ui/sheet.mjs +1 -1
  582. package/dist/components/ui/sidebar.js +1 -1
  583. package/dist/components/ui/sidebar.mjs +1 -1
  584. package/dist/components/ui/skeleton.js +1 -1
  585. package/dist/components/ui/skeleton.mjs +1 -1
  586. package/dist/components/ui/switch.js +1 -1
  587. package/dist/components/ui/switch.mjs +1 -1
  588. package/dist/components/ui/tabs.js +1 -1
  589. package/dist/components/ui/tabs.mjs +1 -1
  590. package/dist/components/ui/textarea.js +1 -1
  591. package/dist/components/ui/textarea.mjs +1 -1
  592. package/dist/components/ui/toast.js +1 -1
  593. package/dist/components/ui/toast.mjs +1 -1
  594. package/dist/components/ui/toaster.js +1 -1
  595. package/dist/components/ui/toaster.mjs +1 -1
  596. package/dist/components/ui/toggle-group.js +1 -1
  597. package/dist/components/ui/toggle-group.mjs +1 -1
  598. package/dist/components/ui/toggle.js +1 -1
  599. package/dist/components/ui/toggle.mjs +1 -1
  600. package/dist/components/ui/tooltip.js +1 -1
  601. package/dist/components/ui/tooltip.mjs +1 -1
  602. package/dist/globals.css +1 -1
  603. package/dist/index.js +18 -18
  604. package/dist/index.mjs +1 -1
  605. package/dist/metafile-cjs.json +1 -1
  606. package/dist/metafile-esm.json +1 -1
  607. package/dist/pages/Blog.js +1 -1
  608. package/dist/pages/Blog.mjs +1 -1
  609. package/dist/pages/Documentation.js +1 -1
  610. package/dist/pages/Documentation.mjs +1 -1
  611. package/dist/pages/IndexPage.js +1 -1
  612. package/dist/pages/IndexPage.mjs +1 -1
  613. package/dist/pages/Intranet.js +1 -1
  614. package/dist/pages/Intranet.mjs +1 -1
  615. package/dist/pages/LandingPage.js +3 -3
  616. package/dist/pages/LandingPage.mjs +1 -1
  617. package/dist/pages/Page.js +1 -1
  618. package/dist/pages/Page.mjs +1 -1
  619. package/dist/pages/Publish.js +4 -4
  620. package/dist/pages/Publish.mjs +1 -1
  621. package/dist/pages/Website.js +1 -1
  622. package/dist/pages/Website.mjs +1 -1
  623. package/dist/sections/AboutSection.js +1 -1
  624. package/dist/sections/AboutSection.mjs +1 -1
  625. package/dist/sections/BlogDetail.js +1 -1
  626. package/dist/sections/BlogDetail.mjs +1 -1
  627. package/dist/sections/BlogList.js +3 -3
  628. package/dist/sections/BlogList.mjs +1 -1
  629. package/dist/sections/BlogListSection.js +1 -1
  630. package/dist/sections/BlogListSection.mjs +1 -1
  631. package/dist/sections/ContactSection.js +1 -1
  632. package/dist/sections/ContactSection.mjs +1 -1
  633. package/dist/sections/ImageSection.js +1 -1
  634. package/dist/sections/ImageSection.mjs +1 -1
  635. package/dist/sections/MainPageSection.js +1 -1
  636. package/dist/sections/MainPageSection.mjs +1 -1
  637. package/dist/sections/PageSections.js +3 -3
  638. package/dist/sections/PageSections.mjs +1 -1
  639. package/dist/sections/PricingSection.js +1 -1
  640. package/dist/sections/PricingSection.mjs +1 -1
  641. package/dist/sections/ServiceDetail.js +1 -1
  642. package/dist/sections/ServiceDetail.mjs +1 -1
  643. package/dist/sections/ServiceDetailSection.js +1 -1
  644. package/dist/sections/ServiceDetailSection.mjs +1 -1
  645. package/dist/sections/ServiceSection.js +1 -1
  646. package/dist/sections/ServiceSection.mjs +1 -1
  647. package/dist/sections/form/index.js +1 -1
  648. package/dist/sections/form/index.mjs +1 -1
  649. package/dist/sections/index.js +3 -3
  650. package/dist/sections/index.mjs +1 -1
  651. package/dist/styles/Colors.js +1 -1
  652. package/dist/styles/Colors.mjs +1 -1
  653. package/dist/utils/AOSInit.js +2 -2
  654. package/dist/utils/AOSInit.mjs +1 -1
  655. package/dist/utils/cn.js +1 -1
  656. package/dist/utils/cn.mjs +1 -1
  657. package/dist/utils/index.js +2 -2
  658. package/dist/utils/index.mjs +1 -1
  659. package/package.json +1 -1
  660. package/dist/chunk-MDJREBVI.mjs +0 -1
  661. package/dist/chunk-O46BOA4T.mjs +0 -1
  662. package/dist/chunk-PA4ZBJDO.mjs +0 -1
  663. package/dist/chunk-XGRRLABA.mjs +0 -8
  664. package/dist/chunk-ZFUP5NVF.mjs +0 -4
  665. 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 x}from"./chunk-Q2DPE66H.mjs";import{b as C}from"./chunk-ZUA4KNIR.mjs";import{b as h}from"./chunk-CSBGSBEU.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{useState as y,useEffect as B,useMemo as H}from"react";import{motion as m,AnimatePresence as D}from"motion/react";import{ChevronRight as N,ChevronLeft as I,Menu as L,X as M}from"lucide-react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function K({capabilities:n,isOpen:u,onToggle:r,onActionSelect:e,onContextChange:d,colorScheme:l=x,className:w}){let[s,b]=y([]),[v,f]=y([]),c=s[s.length-1],k=c?.children||n,z=(i,p)=>{switch(i.type){case"category":return l.categories[p%l.categories.length];case"list":return l.lists[p%l.lists.length];case"item":return l.items[p%l.items.length];default:return l.primary}},g=H(()=>({path:s,selectedItems:v,filters:{}}),[s,v]);B(()=>{d&&d(g)},[g,d]);let P=i=>{i.type==="category"||i.type==="list"?b([...s,i]):i.type==="item"&&f([...v,i])},A=()=>{b(s.slice(0,-1))},S=i=>{b(s.slice(0,i+1))},E=()=>c?.actions?c.actions:[];return u?o("div",{className:a("w-full",w),children:[o("div",{className:"flex items-center justify-between mb-3",children:[o("div",{className:"flex items-center gap-2",children:[s.length>0&&t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:A,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(I,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:-translate-x-0.5")})}),t("h4",{className:"font-medium text-sm",children:c?.name||"Capabilities"})]}),t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:r,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(M,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:rotate-90")})})]}),s.length>0&&o("div",{className:"flex items-center gap-1 mb-3 text-xs text-muted-foreground",children:[t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>b([]),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:["Capabilities",t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})}),s.map((i,p)=>o("div",{className:"flex items-center gap-1",children:[t(N,{className:"h-2 w-2"}),t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>S(p),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:[i.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})})]},i.id))]}),t("div",{className:"max-h-40 overflow-y-auto",children:t(D,{mode:"wait",children:t(m.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:4},transition:{duration:.2,ease:[.4,0,.2,1]},children:c?.type==="list"&&c.data?t(R,{data:c.data,onItemSelect:i=>f([...v,i]),colorScheme:l}):t(T,{capabilities:k,onSelect:P,colorScheme:l})},c?.id||"root")})})]}):o(C,{onClick:r,size:"sm",variant:"outline",className:"rounded-full",children:[t(L,{className:"h-4 w-4"}),t("span",{className:"ml-2",children:"Capabilities"})]})}function T({capabilities:n,onSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>t(G,{capability:e,onClick:()=>u(e),color:r.categories[d%r.categories.length]},e.id))})}function G({capability:n,onClick:u,selected:r,color:e}){return o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm",r&&"border-primary bg-accent scale-105"),onClick:u,children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",e)}),o("span",{className:"truncate relative",children:[n.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),(n.children||n.data)&&t(N,{className:a("h-3 w-3 text-muted-foreground flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:translate-x-0.5")}),n.type==="list"&&n.data&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:n.data.length})]})}function R({data:n,onItemSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm"),onClick:()=>u(e),children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",r.items[d%r.items.length])}),o("div",{className:"flex-1 min-w-0",children:[o("span",{className:"truncate relative font-medium",children:[e.title,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),e.subtitle&&t("div",{className:a("text-xs text-muted-foreground truncate","transition-colors duration-300 ease-in-out group-hover:text-accent/80"),children:e.subtitle})]}),e.value&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0 ml-2","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:e.value})]},e.id))})}export{K as a};
4
+ import{a as x}from"./chunk-Q2DPE66H.mjs";import{b as C}from"./chunk-7Z3TOFNL.mjs";import{b as h}from"./chunk-2JKLBLDE.mjs";import{a}from"./chunk-TSEOL53Y.mjs";import{useState as y,useEffect as B,useMemo as H}from"react";import{motion as m,AnimatePresence as D}from"motion/react";import{ChevronRight as N,ChevronLeft as I,Menu as L,X as M}from"lucide-react";import{jsx as t,jsxs as o}from"react/jsx-runtime";function K({capabilities:n,isOpen:u,onToggle:r,onActionSelect:e,onContextChange:d,colorScheme:l=x,className:w}){let[s,b]=y([]),[v,f]=y([]),c=s[s.length-1],k=c?.children||n,z=(i,p)=>{switch(i.type){case"category":return l.categories[p%l.categories.length];case"list":return l.lists[p%l.lists.length];case"item":return l.items[p%l.items.length];default:return l.primary}},g=H(()=>({path:s,selectedItems:v,filters:{}}),[s,v]);B(()=>{d&&d(g)},[g,d]);let P=i=>{i.type==="category"||i.type==="list"?b([...s,i]):i.type==="item"&&f([...v,i])},A=()=>{b(s.slice(0,-1))},S=i=>{b(s.slice(0,i+1))},E=()=>c?.actions?c.actions:[];return u?o("div",{className:a("w-full",w),children:[o("div",{className:"flex items-center justify-between mb-3",children:[o("div",{className:"flex items-center gap-2",children:[s.length>0&&t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:A,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(I,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:-translate-x-0.5")})}),t("h4",{className:"font-medium text-sm",children:c?.name||"Capabilities"})]}),t(m.button,{whileHover:{scale:1.1,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.9,transition:{duration:.15,ease:[.4,0,.2,1]}},onClick:r,className:a("group p-1 h-6 w-6 rounded-md backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:shadow-sm"),children:t(M,{className:a("h-3 w-3 transition-transform duration-300 ease-in-out","group-hover:rotate-90")})})]}),s.length>0&&o("div",{className:"flex items-center gap-1 mb-3 text-xs text-muted-foreground",children:[t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>b([]),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:["Capabilities",t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})}),s.map((i,p)=>o("div",{className:"flex items-center gap-1",children:[t(N,{className:"h-2 w-2"}),t(m.button,{whileHover:{scale:1.05,transition:{duration:.3,ease:[.4,0,.2,1]}},onClick:()=>S(p),className:a("group relative transition-colors duration-300 ease-in-out hover:text-accent"),children:o("span",{className:"relative",children:[i.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]})})]},i.id))]}),t("div",{className:"max-h-40 overflow-y-auto",children:t(D,{mode:"wait",children:t(m.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:4},transition:{duration:.2,ease:[.4,0,.2,1]},children:c?.type==="list"&&c.data?t(R,{data:c.data,onItemSelect:i=>f([...v,i]),colorScheme:l}):t(T,{capabilities:k,onSelect:P,colorScheme:l})},c?.id||"root")})})]}):o(C,{onClick:r,size:"sm",variant:"outline",className:"rounded-full",children:[t(L,{className:"h-4 w-4"}),t("span",{className:"ml-2",children:"Capabilities"})]})}function T({capabilities:n,onSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>t(G,{capability:e,onClick:()=>u(e),color:r.categories[d%r.categories.length]},e.id))})}function G({capability:n,onClick:u,selected:r,color:e}){return o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm",r&&"border-primary bg-accent scale-105"),onClick:u,children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",e)}),o("span",{className:"truncate relative",children:[n.name,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),(n.children||n.data)&&t(N,{className:a("h-3 w-3 text-muted-foreground flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:translate-x-0.5")}),n.type==="list"&&n.data&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:n.data.length})]})}function R({data:n,onItemSelect:u,colorScheme:r}){return t("div",{className:"flex flex-wrap gap-2",children:n.map((e,d)=>o(m.button,{whileHover:{scale:1.02,transition:{duration:.3,ease:[.4,0,.2,1]}},whileTap:{scale:.95,transition:{duration:.15,ease:[.4,0,.2,1]}},className:a("group relative inline-flex items-center gap-2 px-3 py-2 rounded-lg border cursor-pointer","bg-background text-left text-sm font-medium backdrop-blur-sm","transition-all duration-300 ease-in-out","hover:bg-accent/50 hover:border-accent/50 hover:shadow-sm"),onClick:()=>u(e),children:[t("div",{className:a("w-2 h-2 rounded-full flex-shrink-0 transition-transform duration-300 ease-in-out","group-hover:scale-125",r.items[d%r.items.length])}),o("div",{className:"flex-1 min-w-0",children:[o("span",{className:"truncate relative font-medium",children:[e.title,t("span",{className:"absolute -bottom-0.5 left-1/2 w-0 h-0.5 bg-accent transform -translate-x-1/2 transition-all duration-300 ease-in-out group-hover:w-full"})]}),e.subtitle&&t("div",{className:a("text-xs text-muted-foreground truncate","transition-colors duration-300 ease-in-out group-hover:text-accent/80"),children:e.subtitle})]}),e.value&&t(h,{variant:"secondary",className:a("text-xs h-5 px-1.5 flex-shrink-0 ml-2","transition-transform duration-300 ease-in-out group-hover:scale-110"),children:e.value})]},e.id))})}export{K as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as m,b as r,c as t,d as o,e as c,f as l,g as e}from"./chunk-5BT4EWU5.mjs";import{a as p}from"./chunk-MDJREBVI.mjs";import{useRouter as I}from"next/navigation";import{jsx as a,jsxs as d}from"react/jsx-runtime";var $=u=>{let i=I(),{className:C,page:n,totalPages:s}=u,g=n<s,P=n>1,h=n-1>1,k=n+1<s;return a("div",{className:p("my-12",C),children:a(m,{children:d(r,{children:[a(t,{children:a(c,{disabled:!P,onClick:()=>{i.push(`/posts/page/${n-1}`)}})}),h&&a(t,{children:a(e,{})}),P&&a(t,{children:a(o,{onClick:()=>{i.push(`/posts/page/${n-1}`)},children:n-1})}),a(t,{children:a(o,{isActive:!0,onClick:()=>{i.push(`/posts/page/${n}`)},children:n})}),g&&a(t,{children:a(o,{onClick:()=>{i.push(`/posts/page/${n+1}`)},children:n+1})}),k&&a(t,{children:a(e,{})}),a(t,{children:a(l,{disabled:!g,onClick:()=>{i.push(`/posts/page/${n+1}`)}})})]})})})};export{$ as a};
4
+ import{a as m,b as r,c as t,d as o,e as c,f as l,g as e}from"./chunk-Z756RYIZ.mjs";import{a as p}from"./chunk-TSEOL53Y.mjs";import{useRouter as I}from"next/navigation";import{jsx as a,jsxs as d}from"react/jsx-runtime";var $=u=>{let i=I(),{className:C,page:n,totalPages:s}=u,g=n<s,P=n>1,h=n-1>1,k=n+1<s;return a("div",{className:p("my-12",C),children:a(m,{children:d(r,{children:[a(t,{children:a(c,{disabled:!P,onClick:()=>{i.push(`/posts/page/${n-1}`)}})}),h&&a(t,{children:a(e,{})}),P&&a(t,{children:a(o,{onClick:()=>{i.push(`/posts/page/${n-1}`)},children:n-1})}),a(t,{children:a(o,{isActive:!0,onClick:()=>{i.push(`/posts/page/${n}`)},children:n})}),g&&a(t,{children:a(o,{onClick:()=>{i.push(`/posts/page/${n+1}`)},children:n+1})}),k&&a(t,{children:a(e,{})}),a(t,{children:a(l,{disabled:!g,onClick:()=>{i.push(`/posts/page/${n+1}`)}})})]})})})};export{$ as a};
@@ -1 +1 @@
1
- import{f as u}from"./chunk-N3B3XNV3.mjs";import{a as m}from"./chunk-2QZUKVBA.mjs";import{a as d}from"./chunk-MDJREBVI.mjs";import{jsx as r,jsxs as h}from"react/jsx-runtime";var B=g=>{let{columns:a,theme:i}=g,y={full:"12",half:"6",oneThird:"4",twoThirds:"8"},b={none:"",line:"border border-primary p-4 rounded-lg"},c=e=>{if(e.type&&e.type==="block"&&e.fields&&(e.fields.blockType==="imageBlock"||e.fields.blockType==="mediaBlock"))return!0;if(e.root&&e.root.children){for(let o of e.root.children)if(c(o))return!0}if(e.children){for(let o of e.children)if(c(o))return!0}return!1},k=(e,o,n)=>{if(o==="none"||n==="full")return{processedRichText:e,heading:null};let l=e,t=null;return e&&e.root&&e.root.children&&e.root.children[0].tag==="h2"&&(l={...e,root:{...e.root,children:e.root.children.slice(1)}},t=e.root.children[0]),{processedRichText:l,heading:t}};return r("div",{className:"my-6",children:r("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",i?.settings?.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((e,o)=>{let{enableLink:n,link:l,richText:t,size:s}=e,{processedRichText:p,heading:f}=k(t,i?.settings?.box||"none",s||"full");return h("div",{className:d(`col-span-4 lg:col-span-${y[s]}`,{"md:col-span-2":s!=="full"},b[s!=="full"&&!c(t)&&i?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[f&&r("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:f.children[0].text}),p&&r(u,{content:p,enableGutter:!1,className:"rich-text"}),n&&r(m,{...l})]},o)})})})};export{B as a};
1
+ import{f as u}from"./chunk-TR52MKZR.mjs";import{a as m}from"./chunk-JULD2KZR.mjs";import{a as d}from"./chunk-TSEOL53Y.mjs";import{jsx as r,jsxs as h}from"react/jsx-runtime";var B=g=>{let{columns:a,theme:i}=g,y={full:"12",half:"6",oneThird:"4",twoThirds:"8"},b={none:"",line:"border border-primary p-4 rounded-lg"},c=e=>{if(e.type&&e.type==="block"&&e.fields&&(e.fields.blockType==="imageBlock"||e.fields.blockType==="mediaBlock"))return!0;if(e.root&&e.root.children){for(let o of e.root.children)if(c(o))return!0}if(e.children){for(let o of e.children)if(c(o))return!0}return!1},k=(e,o,n)=>{if(o==="none"||n==="full")return{processedRichText:e,heading:null};let l=e,t=null;return e&&e.root&&e.root.children&&e.root.children[0].tag==="h2"&&(l={...e,root:{...e.root,children:e.root.children.slice(1)}},t=e.root.children[0]),{processedRichText:l,heading:t}};return r("div",{className:"my-6",children:r("div",{className:d("grid grid-cols-4 lg:grid-cols-12 gap-y-8",i?.settings?.box?"gap-x-8":"gap-x-16"),children:a&&a.length>0&&a.map((e,o)=>{let{enableLink:n,link:l,richText:t,size:s}=e,{processedRichText:p,heading:f}=k(t,i?.settings?.box||"none",s||"full");return h("div",{className:d(`col-span-4 lg:col-span-${y[s]}`,{"md:col-span-2":s!=="full"},b[s!=="full"&&!c(t)&&i?.settings?.box||"none"],"intersect-once intersect:animate-flip-up opacity-0 intersect:opacity-100 intersect:animate-duration-500",`intersect:animate-delay-${o+1}00`),children:[f&&r("div",{className:"bg-primary text-primary-foreground mb-4 -mt-4 -mx-4 px-4 py-2 text-xl",children:f.children[0].text}),p&&r(u,{content:p,enableGutter:!1,className:"rich-text"}),n&&r(m,{...l})]},o)})})})};export{B as a};
@@ -1 +1 @@
1
- import{a as u,c as g,d as p,g as v,i as b}from"./chunk-YFAZQYK4.mjs";import{a as B}from"./chunk-INCYANPB.mjs";import{a as F}from"./chunk-B4H6T2GP.mjs";import{a as l}from"./chunk-TVZOULLL.mjs";import{a as S}from"./chunk-FT3AE7L2.mjs";import{a as d}from"./chunk-L5JPAKPM.mjs";import{a as w,f as P,g as L,i as A}from"./chunk-3UMMMQEH.mjs";import{b as m}from"./chunk-ZUA4KNIR.mjs";import{b as I}from"./chunk-CSBGSBEU.mjs";import{useState as x,useEffect as M}from"react";import{UserIcon as Q,CalendarIcon as $,SaveIcon as j,PlusIcon as q}from"lucide-react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function ie({deal:c,users:f,customer:T,categories:U,onClose:E,onSave:O,onAddComment:V}){let[t,h]=x({...c,value:c.value||0,comments:c.comments||[],customer:c.customer||{}}),[C,D]=x(""),[H,y]=x(!1),[i,s]=x(null);M(()=>{y(JSON.stringify(c)!==JSON.stringify(t))},[c,t]);let R=async()=>{try{let e=await O(t);e.success?(y(!1),s(null)):console.error("Failed to save deal:",e.errors)}catch(e){console.error("Failed to save deal:",e)}},n=(e,o)=>{h(N=>({...N,[e]:o}))},G=e=>{let o=(t.categories||[]).includes(e)?(t.categories||[]).filter(N=>N!==e):[...t.categories||[],e];n("categories",o)},J=async()=>{if(C.trim()){let e={text:C,timestamp:new Date().toISOString()};try{let o=await V(e);if(!o.success){console.error("Failed to add comment:",o.errors);return}}catch(o){console.error("Failed to add comment:",o)}h(o=>({...o,comments:[...o.comments||[],e]})),D("")}},k=e=>{switch(e){case"proposition":return"border-blue-800 text-blue-800";case"source":return"border-green-800 text-green-800";case"sector":return"border-purple-800 text-purple-800";default:return"border-gray-800 text-gray-800"}},W=e=>f?.find(o=>o.id===Number(e));return a(w,{open:!0,children:r(P,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[r(L,{className:"flex flex-row items-center justify-between",children:[a(A,{className:"text-2xl font-bold",children:T?.name||"no customer"}),r("div",{className:"flex space-x-2",children:[a(m,{variant:"outline",onClick:E,children:"Close"}),r(m,{onClick:R,disabled:!H,children:[a(j,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),r(S,{className:"flex-grow pr-4",children:[r("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[a("div",{className:"grid gap-2 m-1",children:i==="value"?a(d,{type:"number",value:t.value,onChange:e=>n("value",Number(e.target.value)),onBlur:()=>s(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):r("div",{className:"text-3xl font-bold text-green-600 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("value"),children:["\xA3",t.value?.toLocaleString()]})}),r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Assignee"}),i==="assignee"?r(u,{value:t?.assignee?.id?.toString()||"",onValueChange:e=>n("assignee",W(e)),children:[a(p,{children:a(g,{placeholder:"Select assignee"})}),a(v,{children:f&&f.map(e=>a(b,{value:e?.id?.toString()||"",children:e.name},e.id))})]}):r("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("assignee"),children:[a(Q,{className:"w-4 h-4 text-gray-400"}),a("span",{children:t?.assignee?.name})]})]}),r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Closure Date"}),i==="closureDate"?a(d,{type:"date",value:t.closureDate?.split("T")[0]??"",onChange:e=>n("closureDate",e.target.value),onBlur:()=>s(null),className:"mr-2",autoFocus:!0}):r("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("closureDate"),children:[a($,{className:"w-4 h-4 text-gray-400"}),a("span",{children:t.closureDate?new Date(t.closureDate).toLocaleDateString("en-GB"):"N/A"})]})]})]}),a("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Description"}),i==="description"?a(F,{value:t.description||"",onChange:e=>n("description",e.target.value),onBlur:()=>s(null),className:"min-h-[100px]",autoFocus:!0}):a("div",{className:"cursor-pointer p-1 border border-background hover:border-accent pb-5 rounded",onClick:()=>s("description"),children:t.description})]})}),r("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Status"}),i==="status"?r(u,{value:t.status,onValueChange:e=>{n("status",e),s(null)},children:[a(p,{children:a(g,{placeholder:"Select status"})}),a(v,{children:["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"].map(e=>a(b,{value:e,children:e},e))})]}):a("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("status"),children:t.status})]}),r("div",{className:"grid col-span-2 gap-2",children:[a(l,{className:"text-sm font-medium text-accent",children:"Categories"}),i==="categories"?a("div",{className:"grid grid-cols-2 gap-2 m-1",children:U.map(e=>r("div",{className:"flex items-center space-x-2",children:[a(B,{id:e.id?.toString()||"",checked:(t.categories||[]).some(o=>o.id===e.id),onCheckedChange:()=>e.id!==void 0&&G(e)}),a("label",{htmlFor:(e.id??"").toString(),className:`text-sm font-medium ${k(e.type||"sector")} px-2 py-1 rounded`,children:e.name})]},e.id))}):a("div",{className:"flex flex-wrap gap-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("categories"),children:t.categories&&t.categories.map(e=>{let o=e;return o?a(I,{variant:"outline",className:k(o.type||"sector"),children:o.name},o.id):null})})]}),r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"COGE Status"}),i==="gecoStatus"?r(u,{value:t.gecoStatus??void 0,onValueChange:e=>{n("gecoStatus",e),s(null)},children:[a(p,{children:a(g,{placeholder:"Select status"})}),a(v,{children:["firm","forecast","other"].map(e=>a(b,{value:e,children:e.charAt(0).toUpperCase()+e.slice(1)},e))})]}):a("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("gecoStatus"),children:t.gecoStatus?t.gecoStatus.charAt(0).toUpperCase()+t.gecoStatus.slice(1):"N/A"})]})]}),r("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[r("div",{className:"grid gap-2",children:[a(l,{className:"text-sm font-medium text-accent",children:"Comments"}),a(S,{className:"h-[200px] overflow-y-auto",children:a("div",{className:"space-y-2",children:t.comments&&t.comments.slice().sort((e,o)=>new Date(o.timestamp||"").getTime()-new Date(e.timestamp||"").getTime()).map(e=>r("div",{className:"p-3 rounded-lg",children:[a("p",{className:"text-sm text-foreground",children:e.text}),r("p",{className:"text-xs text-foreground mt-1",children:[e?.author?.name," - ",new Date(e.timestamp||"").toLocaleString()]})]},e.id))})}),r("div",{className:"flex mt-2",children:[a(d,{value:C,onChange:e=>D(e.target.value),placeholder:"Add a comment...",className:"flex-grow ml-1"}),r(m,{onClick:J,className:"ml-2",children:[a(q,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),r("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(t.updatedAt||"").toLocaleString()]})]})]})]})})}export{ie as a};
1
+ import{a as u,c as g,d as p,g as v,i as b}from"./chunk-WLM2ZFHF.mjs";import{a as B}from"./chunk-NQPBIFGO.mjs";import{a as F}from"./chunk-VXZPPTQQ.mjs";import{a as l}from"./chunk-RAAY7PEH.mjs";import{a as S}from"./chunk-JVJG2LOA.mjs";import{a as w,f as P,g as L,i as A}from"./chunk-AG6IN5S7.mjs";import{a as d}from"./chunk-GJUA2KUH.mjs";import{b as m}from"./chunk-7Z3TOFNL.mjs";import{b as I}from"./chunk-2JKLBLDE.mjs";import{useState as x,useEffect as M}from"react";import{UserIcon as Q,CalendarIcon as $,SaveIcon as j,PlusIcon as q}from"lucide-react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function ie({deal:c,users:f,customer:T,categories:U,onClose:E,onSave:O,onAddComment:V}){let[t,h]=x({...c,value:c.value||0,comments:c.comments||[],customer:c.customer||{}}),[C,D]=x(""),[H,y]=x(!1),[i,s]=x(null);M(()=>{y(JSON.stringify(c)!==JSON.stringify(t))},[c,t]);let R=async()=>{try{let e=await O(t);e.success?(y(!1),s(null)):console.error("Failed to save deal:",e.errors)}catch(e){console.error("Failed to save deal:",e)}},n=(e,o)=>{h(N=>({...N,[e]:o}))},G=e=>{let o=(t.categories||[]).includes(e)?(t.categories||[]).filter(N=>N!==e):[...t.categories||[],e];n("categories",o)},J=async()=>{if(C.trim()){let e={text:C,timestamp:new Date().toISOString()};try{let o=await V(e);if(!o.success){console.error("Failed to add comment:",o.errors);return}}catch(o){console.error("Failed to add comment:",o)}h(o=>({...o,comments:[...o.comments||[],e]})),D("")}},k=e=>{switch(e){case"proposition":return"border-blue-800 text-blue-800";case"source":return"border-green-800 text-green-800";case"sector":return"border-purple-800 text-purple-800";default:return"border-gray-800 text-gray-800"}},W=e=>f?.find(o=>o.id===Number(e));return a(w,{open:!0,children:r(P,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[r(L,{className:"flex flex-row items-center justify-between",children:[a(A,{className:"text-2xl font-bold",children:T?.name||"no customer"}),r("div",{className:"flex space-x-2",children:[a(m,{variant:"outline",onClick:E,children:"Close"}),r(m,{onClick:R,disabled:!H,children:[a(j,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),r(S,{className:"flex-grow pr-4",children:[r("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[a("div",{className:"grid gap-2 m-1",children:i==="value"?a(d,{type:"number",value:t.value,onChange:e=>n("value",Number(e.target.value)),onBlur:()=>s(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):r("div",{className:"text-3xl font-bold text-green-600 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("value"),children:["\xA3",t.value?.toLocaleString()]})}),r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Assignee"}),i==="assignee"?r(u,{value:t?.assignee?.id?.toString()||"",onValueChange:e=>n("assignee",W(e)),children:[a(p,{children:a(g,{placeholder:"Select assignee"})}),a(v,{children:f&&f.map(e=>a(b,{value:e?.id?.toString()||"",children:e.name},e.id))})]}):r("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("assignee"),children:[a(Q,{className:"w-4 h-4 text-gray-400"}),a("span",{children:t?.assignee?.name})]})]}),r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Closure Date"}),i==="closureDate"?a(d,{type:"date",value:t.closureDate?.split("T")[0]??"",onChange:e=>n("closureDate",e.target.value),onBlur:()=>s(null),className:"mr-2",autoFocus:!0}):r("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("closureDate"),children:[a($,{className:"w-4 h-4 text-gray-400"}),a("span",{children:t.closureDate?new Date(t.closureDate).toLocaleDateString("en-GB"):"N/A"})]})]})]}),a("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Description"}),i==="description"?a(F,{value:t.description||"",onChange:e=>n("description",e.target.value),onBlur:()=>s(null),className:"min-h-[100px]",autoFocus:!0}):a("div",{className:"cursor-pointer p-1 border border-background hover:border-accent pb-5 rounded",onClick:()=>s("description"),children:t.description})]})}),r("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"Status"}),i==="status"?r(u,{value:t.status,onValueChange:e=>{n("status",e),s(null)},children:[a(p,{children:a(g,{placeholder:"Select status"})}),a(v,{children:["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"].map(e=>a(b,{value:e,children:e},e))})]}):a("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("status"),children:t.status})]}),r("div",{className:"grid col-span-2 gap-2",children:[a(l,{className:"text-sm font-medium text-accent",children:"Categories"}),i==="categories"?a("div",{className:"grid grid-cols-2 gap-2 m-1",children:U.map(e=>r("div",{className:"flex items-center space-x-2",children:[a(B,{id:e.id?.toString()||"",checked:(t.categories||[]).some(o=>o.id===e.id),onCheckedChange:()=>e.id!==void 0&&G(e)}),a("label",{htmlFor:(e.id??"").toString(),className:`text-sm font-medium ${k(e.type||"sector")} px-2 py-1 rounded`,children:e.name})]},e.id))}):a("div",{className:"flex flex-wrap gap-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("categories"),children:t.categories&&t.categories.map(e=>{let o=e;return o?a(I,{variant:"outline",className:k(o.type||"sector"),children:o.name},o.id):null})})]}),r("div",{className:"grid gap-2 m-1",children:[a(l,{className:"text-sm font-medium text-accent",children:"COGE Status"}),i==="gecoStatus"?r(u,{value:t.gecoStatus??void 0,onValueChange:e=>{n("gecoStatus",e),s(null)},children:[a(p,{children:a(g,{placeholder:"Select status"})}),a(v,{children:["firm","forecast","other"].map(e=>a(b,{value:e,children:e.charAt(0).toUpperCase()+e.slice(1)},e))})]}):a("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>s("gecoStatus"),children:t.gecoStatus?t.gecoStatus.charAt(0).toUpperCase()+t.gecoStatus.slice(1):"N/A"})]})]}),r("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[r("div",{className:"grid gap-2",children:[a(l,{className:"text-sm font-medium text-accent",children:"Comments"}),a(S,{className:"h-[200px] overflow-y-auto",children:a("div",{className:"space-y-2",children:t.comments&&t.comments.slice().sort((e,o)=>new Date(o.timestamp||"").getTime()-new Date(e.timestamp||"").getTime()).map(e=>r("div",{className:"p-3 rounded-lg",children:[a("p",{className:"text-sm text-foreground",children:e.text}),r("p",{className:"text-xs text-foreground mt-1",children:[e?.author?.name," - ",new Date(e.timestamp||"").toLocaleString()]})]},e.id))})}),r("div",{className:"flex mt-2",children:[a(d,{value:C,onChange:e=>D(e.target.value),placeholder:"Add a comment...",className:"flex-grow ml-1"}),r(m,{onClick:J,className:"ml-2",children:[a(q,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),r("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(t.updatedAt||"").toLocaleString()]})]})]})]})})}export{ie as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s}from"./chunk-JFFTEK6Z.mjs";import{a as m}from"./chunk-MDJREBVI.mjs";import*as e from"react";import*as t from"@radix-ui/react-toggle-group";import{jsx as l}from"react/jsx-runtime";var f=e.createContext({size:"default",variant:"default"}),u=e.forwardRef(({className:o,variant:r,size:i,children:a,...p},g)=>l(t.Root,{ref:g,className:m("flex items-center justify-center gap-1",o),...p,children:l(f.Provider,{value:{variant:r,size:i},children:a})}));u.displayName=t.Root.displayName;var c=e.forwardRef(({className:o,children:r,variant:i,size:a,...p},g)=>{let n=e.useContext(f);return l(t.Item,{ref:g,className:m(s({variant:n.variant||i,size:n.size||a}),o),...p,children:r})});c.displayName=t.Item.displayName;export{u as a,c as b};
4
+ import{a as s}from"./chunk-7QBPKUWN.mjs";import{a as m}from"./chunk-TSEOL53Y.mjs";import*as e from"react";import*as t from"@radix-ui/react-toggle-group";import{jsx as l}from"react/jsx-runtime";var f=e.createContext({size:"default",variant:"default"}),u=e.forwardRef(({className:o,variant:r,size:i,children:a,...p},g)=>l(t.Root,{ref:g,className:m("flex items-center justify-center gap-1",o),...p,children:l(f.Provider,{value:{variant:r,size:i},children:a})}));u.displayName=t.Root.displayName;var c=e.forwardRef(({className:o,children:r,variant:i,size:a,...p},g)=>{let n=e.useContext(f);return l(t.Item,{ref:g,className:m(s({variant:n.variant||i,size:n.size||a}),o),...p,children:r})});c.displayName=t.Item.displayName;export{u as a,c as b};
@@ -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-toggle";import{cva as g}from"class-variance-authority";import{jsx as d}from"react/jsx-runtime";var l=g("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),m=o.forwardRef(({className:i,variant:n,size:r,...a},s)=>d(e.Root,{ref:s,className:t(l({variant:n,size:r,className:i})),...a}));m.displayName=e.Root.displayName;export{l as a,m as b};
4
+ import{a as t}from"./chunk-TSEOL53Y.mjs";import*as o from"react";import*as e from"@radix-ui/react-toggle";import{cva as g}from"class-variance-authority";import{jsx as d}from"react/jsx-runtime";var l=g("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"},size:{default:"h-9 px-2 min-w-9",sm:"h-8 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),m=o.forwardRef(({className:i,variant:n,size:r,...a},s)=>d(e.Root,{ref:s,className:t(l({variant:n,size:r,className:i})),...a}));m.displayName=e.Root.displayName;export{l as a,m as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as i}from"./chunk-WISC5QJV.mjs";import{a as c}from"./chunk-Q5XT55O3.mjs";import{a as l}from"./chunk-MDJREBVI.mjs";import{useState as m,useEffect as d}from"react";import{useTheme as S}from"next-themes";import{Moon as N,Sun as y}from"lucide-react";import{PopoverGroup as D}from"@headlessui/react";import{Fragment as H,jsx as e,jsxs as p}from"react/jsx-runtime";function z({isMenuOpen:u,logoLight:h,logoDark:f,menuItems:o,themeControl:g=!1,wide:b=!1}){let[v,a]=m(!1),[k,n]=m(""),r=["light","dark"],{theme:s,setTheme:w}=S();d(()=>{n(s||"dark")},[s]);let x=()=>{let t=r[(r.indexOf(k)+1)%r.length];n(t),w(t)};return d(()=>{let t=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),e(H,{children:e("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${v||u?"translate-y-0":"-translate-y-full bg-transparent"}`,children:e("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:p("div",{className:l("flex items-center justify-between px-9 py-0",!b&&"container"),children:[e(c,{logoDark:f,logoLight:h}),e(D,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(t=>e(i,{...t},t.name))}),g&&e("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:x,children:p("div",{className:"relative",children:[e(y,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),e(N,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}export{z as a};
4
+ import{a as i}from"./chunk-UY4BSKPK.mjs";import{a as c}from"./chunk-532HP37G.mjs";import{a as l}from"./chunk-TSEOL53Y.mjs";import{useState as m,useEffect as d}from"react";import{useTheme as S}from"next-themes";import{Moon as N,Sun as y}from"lucide-react";import{PopoverGroup as D}from"@headlessui/react";import{Fragment as H,jsx as e,jsxs as p}from"react/jsx-runtime";function z({isMenuOpen:u,logoLight:h,logoDark:f,menuItems:o,themeControl:g=!1,wide:b=!1}){let[v,a]=m(!1),[k,n]=m(""),r=["light","dark"],{theme:s,setTheme:w}=S();d(()=>{n(s||"dark")},[s]);let x=()=>{let t=r[(r.indexOf(k)+1)%r.length];n(t),w(t)};return d(()=>{let t=()=>{window.scrollY>100?a(!0):a(!1)};return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[]),e(H,{children:e("header",{className:`z-50 pb-10 transition-all duration-300 hidden lg:block ${v||u?"translate-y-0":"-translate-y-full bg-transparent"}`,children:e("nav",{className:"backdrop-blur-sm bg-background/80 text-white p-0",children:p("div",{className:l("flex items-center justify-between px-9 py-0",!b&&"container"),children:[e(c,{logoDark:f,logoLight:h}),e(D,{className:"hidden lg:flex lg:gap-x-12",children:o&&o.map(t=>e(i,{...t},t.name))}),g&&e("button",{className:"fixed right-4 z-[60] p-2 rounded-full hover:border hover:border-accent backdrop-blur-sm transition-all duration-300 hover:bg-white/20 text-primary dark:text-white hover:text-accent hover:scale-125",onClick:x,children:p("div",{className:"relative",children:[e(y,{className:"absolute h-6 w-6 rotate-0 scale-100 transition-transform dark:-rotate-90 dark:scale-0"}),e(N,{className:"absoulte h-6 w-6 rotate-0 scale-0 transition-transform dark:rotate-0 dark:scale-100"})]})})]})})})})}export{z as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-MDJREBVI.mjs";import*as d from"react";import{jsx as i}from"react/jsx-runtime";var s=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));s.displayName="Card";var o=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("flex flex-col space-y-1.5 p-6",e),...t}));o.displayName="CardHeader";var c=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("font-semibold leading-none tracking-tight",e),...t}));c.displayName="CardTitle";var l=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("text-sm text-muted-foreground",e),...t}));l.displayName="CardDescription";var n=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("p-6 pt-0",e),...t}));n.displayName="CardContent";var m=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("flex items-center p-6 pt-0",e),...t}));m.displayName="CardFooter";export{s as a,o as b,c,l as d,n as e,m as f};
1
+ import{a as r}from"./chunk-TSEOL53Y.mjs";import*as d from"react";import{jsx as i}from"react/jsx-runtime";var s=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));s.displayName="Card";var o=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("flex flex-col space-y-1.5 p-6",e),...t}));o.displayName="CardHeader";var c=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("font-semibold leading-none tracking-tight",e),...t}));c.displayName="CardTitle";var l=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("text-sm text-muted-foreground",e),...t}));l.displayName="CardDescription";var n=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("p-6 pt-0",e),...t}));n.displayName="CardContent";var m=d.forwardRef(({className:e,...t},a)=>i("div",{ref:a,className:r("flex items-center p-6 pt-0",e),...t}));m.displayName="CardFooter";export{s as a,o as b,c,l as d,n as e,m as f};
@@ -1 +1 @@
1
- import{a as e}from"./chunk-MDJREBVI.mjs";import{Slot as c}from"@radix-ui/react-slot";import{cva as d}from"class-variance-authority";import*as t from"react";import{jsx as l}from"react/jsx-runtime";var u=d("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),f=t.forwardRef(({asChild:r=!1,className:o,size:n,variant:a,...i},s)=>l(r?c:"button",{className:e(u({className:o,size:n,variant:a})),ref:s,...i}));f.displayName="Button";export{u as a,f as b};
1
+ import{a as e}from"./chunk-TSEOL53Y.mjs";import{Slot as c}from"@radix-ui/react-slot";import{cva as d}from"class-variance-authority";import*as t from"react";import{jsx as l}from"react/jsx-runtime";var u=d("inline-flex items-center justify-center whitespace-nowrap rounded text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{defaultVariants:{size:"default",variant:"default"},variants:{size:{clear:"",default:"h-10 px-4 py-2",icon:"h-10 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),f=t.forwardRef(({asChild:r=!1,className:o,size:n,variant:a,...i},s)=>l(r?c:"button",{className:e(u({className:o,size:n,variant:a})),ref:s,...i}));f.displayName="Button";export{u as a,f as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s}from"./chunk-7WIO2CIC.mjs";import{a as m}from"./chunk-FMJBJ3HN.mjs";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f({logoVideo:r,logoLight:l,logoDark:n,menuItems:d,title:o,subtitle:i}){let c=()=>{let a=document.getElementById("next-section");a&&a.scrollIntoView({behavior:"smooth"})};return e("div",{children:t("div",{className:"sticky top-0 h-screen",children:[t("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(m,{children:t("div",{className:"flex flex-col items-start md:w-2/3 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:o&&o}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:i&&i})]})})}),e(s,{className:"text-black z-10",position:"header"})]})})}export{f as a};
4
+ import{a as s}from"./chunk-ESTO675Y.mjs";import{a as m}from"./chunk-TNCD5YIY.mjs";import{jsx as e,jsxs as t}from"react/jsx-runtime";function f({logoVideo:r,logoLight:l,logoDark:n,menuItems:d,title:o,subtitle:i}){let c=()=>{let a=document.getElementById("next-section");a&&a.scrollIntoView({behavior:"smooth"})};return e("div",{children:t("div",{className:"sticky top-0 h-screen",children:[t("video",{className:"fixed inset-0 object-cover w-full h-full z-0",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,children:[e("source",{src:"assets/videos/background2.mp4",type:"video/mp4"}),"Your browser does not support the video tag."]}),e("div",{className:"fixed inset-0 h-full z-10 flex flex-col items-start justify-center text-white px-4",children:e(m,{children:t("div",{className:"flex flex-col items-start md:w-2/3 mb-10 z-0 md:mb-0",children:[e("h1",{className:"text-5xl md:text-7xl mb-6",children:o&&o}),e("div",{className:"text-lg md:text-2xl text-gray-300 mb-8 max-w-lg",children:i&&i})]})})}),e(s,{className:"text-black z-10",position:"header"})]})})}export{f as a};
@@ -1,4 +1,4 @@
1
- import{a as c}from"./chunk-SV7NMNDI.mjs";import{a as d}from"./chunk-M7NV6EFH.mjs";import{c as g}from"./chunk-YNNW2C2U.mjs";import{a as p}from"./chunk-FMJBJ3HN.mjs";import{a as l}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-MDJREBVI.mjs";import f from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function z({blogs:a,sectionHeading:t,base:n="insights"}){return r(p,{children:[e("div",{className:"",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(d,{...t,alignment:"start",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:a.map((s,o)=>e("div",{"data-aos":"fade-up","data-aos-delay":c([200,400,600],o),className:"w-full h-full md:w-1/2 md:px-4 lg:w-1/3",children:e(v,{...s,base:n})},o))})]})}var u=i("inline-flex items-center gap-2 text-white"),L=i("text-sm text-white");function v({slug:a,meta:t,authors:n,title:s,publishedAt:o,categories:h,base:m}){return r("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(f,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
1
+ import{a as c}from"./chunk-SV7NMNDI.mjs";import{a as d}from"./chunk-CXXPSCV3.mjs";import{c as g}from"./chunk-YNNW2C2U.mjs";import{a as p}from"./chunk-TNCD5YIY.mjs";import{a as l}from"./chunk-WISCWNL2.mjs";import{a as i}from"./chunk-TSEOL53Y.mjs";import f from"next/image";import{FaArrowRight as x}from"react-icons/fa6";import{jsx as e,jsxs as r}from"react/jsx-runtime";function z({blogs:a,sectionHeading:t,base:n="insights"}){return r(p,{children:[e("div",{className:"",children:t&&e("div",{"data-aos":"fade-up","data-aos-delay":"100",children:e(d,{...t,alignment:"start",hasBottomSpacing:!0})})}),a&&a.length>0&&e("div",{className:"-mx-4 flex flex-wrap justify-start gap-y-4",children:a.map((s,o)=>e("div",{"data-aos":"fade-up","data-aos-delay":c([200,400,600],o),className:"w-full h-full md:w-1/2 md:px-4 lg:w-1/3",children:e(v,{...s,base:n})},o))})]})}var u=i("inline-flex items-center gap-2 text-white"),L=i("text-sm text-white");function v({slug:a,meta:t,authors:n,title:s,publishedAt:o,categories:h,base:m}){return r("article",{className:"group/blog relative z-1 flex h-full min-h-[452px] flex-col overflow-hidden rounded-5 p-0",children:[e("span",{className:"absolute inset-0 z-[2] "}),e(f,{src:t?.image?.url||"/assets/images/brand/cortex-reply-gradient.png",alt:t?.image?.alt||"Blog image",fill:!0,sizes:`
2
2
  (min-width:768px) 50vw,
3
3
  (min-width:1024px) 33vw,
4
4
  100vw
@@ -1,4 +1,4 @@
1
- import{a as g}from"./chunk-I3E2TYYZ.mjs";import{a as n,b as l,c}from"./chunk-SOLZ4VQH.mjs";import f from"react";import{jsx as a,jsxs as s}from"react/jsx-runtime";var h={task:g},u=`
1
+ import{a as g}from"./chunk-OHDNPAPI.mjs";import{a as n,b as l,c}from"./chunk-RFNYVF6F.mjs";import f from"react";import{jsx as a,jsxs as s}from"react/jsx-runtime";var h={task:g},u=`
2
2
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="white" width="20" height="20">
3
3
  <path d="M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z"/>
4
4
  </svg>`,x=`data:image/svg+xml;utf8,${encodeURIComponent(u)}`,A=f.memo(function(v){let{id:i,message:e,currentUser:o,role:p}=v,t=p==="user",r=t?o?.name||"You":o?.name||"AI Assistant",d=t?o?.avatar||"/placeholder-user.jpg":"/placeholder.svg?height=40&width=40";switch(e.type){case"forwarding":return s("div",{className:`flex items-start gap-3 text-primary text-xs ${t?"flex-row-reverse":""}`,children:["Forwarding to ",e?.data?.content]},i);case"text":return s("div",{className:`flex items-start gap-3 ${t?"flex-row-reverse":""}`,children:[t?s(n,{children:[a(l,{src:d,alt:r}),a(c,{children:r.substring(0,2).toUpperCase()})]}):a("img",{src:x,alt:"AI Assistant",className:"w-10 h-10"}),s("div",{className:`grid gap-1.5 ${t?"text-right":""}`,children:[a("div",{className:"flex items-center gap-2",children:a("span",{className:"font-medium",children:r})}),a("div",{className:`rounded-lg p-3 text-sm ${t?"bg-primary text-primary-foreground":"bg-muted"}`,style:{whiteSpace:"pre-line"},children:e?.data?.content})]})]},i);case"image":return s("div",{className:`flex items-start gap-3 ${t?"flex-row-reverse":""}`,children:[s(n,{className:t?"":"ai-border",children:[a(l,{src:d,alt:r}),a(c,{children:r.substring(0,2).toUpperCase()})]}),s("div",{className:`grid gap-1.5 ${t?"text-right":""}`,children:[a("div",{className:"flex items-center gap-2",children:a("span",{className:"font-medium",children:r})}),a("img",{src:e?.data?.image,alt:"User uploaded content",className:`rounded-lg p-3 text-sm ${t?"bg-primary text-primary-foreground":"bg-muted"}`,style:{maxWidth:"100%",height:"auto"}})]})]},i);case"tool-invocation":if(e.data&&e.data.tool){let m=h[e.data.tool];return m?a("div",{className:"mt-2",children:a(m,{data:e.data})}):(console.warn(`Tool ${e.data.tool} is not defined.`),a("div",{className:"mt-2",children:"......"}))}}});export{A as a};
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as b,c as v,d as f,g as h,i as z}from"./chunk-YFAZQYK4.mjs";import{a as o}from"./chunk-TVZOULLL.mjs";import{b as g}from"./chunk-ZUA4KNIR.mjs";import{useState as i}from"react";import{FileText as H,ListChecks as D,AlertTriangle as J,Users as _,Briefcase as $,ShieldAlert as K,PlusCircle as Q,Trash2 as W}from"lucide-react";import{jsx as r,jsxs as n}from"react/jsx-runtime";var X=[{name:"",commentary:"",dueDate:"",rag:"On-Track"}],P=["On-Track","Off-Track","At Risk","Complete"],L=[{name:"Project Summary",icon:H},{name:"Milestones",icon:D},{name:"Project Update",icon:_},{name:"Project Concerns",icon:J},{name:"Opportunities",icon:$},{name:"Risks",icon:K}];function ie({onSubmit:k,customerProjectPairs:y}){let[c,M]=i(L[0].name),[s,T]=i(null),[x,O]=i(null),[Y,Z]=i(""),[C,R]=i(""),[u,m]=i(X),[S,I]=i(""),[N,A]=i(""),[j,F]=i(""),[w,U]=i(""),q=Array.from(new Map((y??[]).map(e=>[e.customer.id,e.customer])).values()),B=(y??[]).filter(e=>e.customer.id===s).map(e=>e.project),d=(e,a,t)=>{m(l=>{let p=[...l];return a==="rag"&&!P.includes(t)?l:(p[e]={...p[e],[a]:t},p)})},E=()=>{m(e=>[...e,{name:"",commentary:"",dueDate:"",rag:"On-Track"}])},V=e=>{m(a=>a.filter((t,l)=>l!==e))},G=async e=>{e.preventDefault();let a={customer:s,project:x,projectSummary:C,milestones:u.length>0?u:null,projectUpdate:S,projectConcerns:N||null,commercialOpportunities:j||null,commercialRisks:w||null};if(k)return k(a);try{let t=await fetch("/api/delivery-lead-submission",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!t.ok)throw new Error("Failed to submit delivery lead");let l=await t.json();return{success:!0,message:"Delivery lead submitted successfully"}}catch(t){return console.error("Error submitting delivery lead:",t),{success:!1,message:"Failed to submit delivery lead"}}};return r("div",{className:"container mx-auto p-4 max-w-3xl",children:n("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:[r("div",{className:"mb-6 flex border-b border-zinc-200 dark:border-zinc-700 flex-wrap justify-evenly",children:L.map(e=>n("button",{className:`flex items-center gap-2 py-2 px-4 font-semibold border-b-2 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/60
4
+ import{a as b,c as v,d as f,g as h,i as z}from"./chunk-WLM2ZFHF.mjs";import{a as o}from"./chunk-RAAY7PEH.mjs";import{b as g}from"./chunk-7Z3TOFNL.mjs";import{useState as i}from"react";import{FileText as H,ListChecks as D,AlertTriangle as J,Users as _,Briefcase as $,ShieldAlert as K,PlusCircle as Q,Trash2 as W}from"lucide-react";import{jsx as r,jsxs as n}from"react/jsx-runtime";var X=[{name:"",commentary:"",dueDate:"",rag:"On-Track"}],P=["On-Track","Off-Track","At Risk","Complete"],L=[{name:"Project Summary",icon:H},{name:"Milestones",icon:D},{name:"Project Update",icon:_},{name:"Project Concerns",icon:J},{name:"Opportunities",icon:$},{name:"Risks",icon:K}];function ie({onSubmit:k,customerProjectPairs:y}){let[c,M]=i(L[0].name),[s,T]=i(null),[x,O]=i(null),[Y,Z]=i(""),[C,R]=i(""),[u,m]=i(X),[S,I]=i(""),[N,A]=i(""),[j,F]=i(""),[w,U]=i(""),q=Array.from(new Map((y??[]).map(e=>[e.customer.id,e.customer])).values()),B=(y??[]).filter(e=>e.customer.id===s).map(e=>e.project),d=(e,a,t)=>{m(l=>{let p=[...l];return a==="rag"&&!P.includes(t)?l:(p[e]={...p[e],[a]:t},p)})},E=()=>{m(e=>[...e,{name:"",commentary:"",dueDate:"",rag:"On-Track"}])},V=e=>{m(a=>a.filter((t,l)=>l!==e))},G=async e=>{e.preventDefault();let a={customer:s,project:x,projectSummary:C,milestones:u.length>0?u:null,projectUpdate:S,projectConcerns:N||null,commercialOpportunities:j||null,commercialRisks:w||null};if(k)return k(a);try{let t=await fetch("/api/delivery-lead-submission",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!t.ok)throw new Error("Failed to submit delivery lead");let l=await t.json();return{success:!0,message:"Delivery lead submitted successfully"}}catch(t){return console.error("Error submitting delivery lead:",t),{success:!1,message:"Failed to submit delivery lead"}}};return r("div",{className:"container mx-auto p-4 max-w-3xl",children:n("div",{className:"rounded-xl shadow-lg bg-white dark:bg-zinc-900/80 border border-zinc-200 dark:border-zinc-800 p-6",children:[r("div",{className:"mb-6 flex border-b border-zinc-200 dark:border-zinc-700 flex-wrap justify-evenly",children:L.map(e=>n("button",{className:`flex items-center gap-2 py-2 px-4 font-semibold border-b-2 transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-accent/60
5
5
  ${c===e.name?"border-accent text-accent bg-accent/10 dark:bg-accent/20":"border-transparent text-gray-500 dark:text-zinc-400 hover:text-accent hover:bg-accent/5 dark:hover:bg-accent/10"}
6
6
  text-sm sm:text-base flex-1 basis-1/4 min-w-[180px] max-w-xs justify-center`,onClick:()=>M(e.name),type:"button",children:[r(e.icon,{className:"w-5 h-5"}),r("span",{children:e.name})]},e.name))}),n("form",{onSubmit:G,className:"space-y-8",children:[c==="Project Summary"&&n("div",{className:"space-y-6",children:[n("div",{children:[r(o,{children:"Client Name"}),n(b,{value:s?.toString()??"",onValueChange:e=>T(Number(e)),children:[r(f,{children:r(v,{placeholder:"Select client"})}),r(h,{children:q.map(e=>r(z,{value:e.id.toString(),children:e.name},e.id))})]})]}),n("div",{children:[r(o,{children:"Project Name"}),n(b,{value:x?.toString()??"",onValueChange:e=>O(Number(e)),disabled:!s,children:[r(f,{children:r(v,{placeholder:s?"Select project":"Select client first"})}),r(h,{children:B.map(e=>r(z,{value:e.id.toString(),children:e.name},e.id))})]})]}),n("div",{children:[r(o,{children:"Project Summary"}),r("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:C,onChange:e=>R(e.target.value),required:!0,placeholder:"Provide a summary of the project, objectives, and outcomes"})]})]}),c==="Milestones"&&n("div",{children:[n("div",{className:"mb-4 flex justify-between items-center",children:[n(o,{className:"text-lg flex items-center gap-2",children:[r(D,{className:"w-5 h-5"}),"Milestones"]}),n(g,{type:"button",onClick:E,variant:"outline",className:"flex items-center gap-1",children:[r(Q,{className:"w-5 h-5"})," Add Milestone"]})]}),r("div",{className:"space-y-4",children:u.map((e,a)=>n("div",{className:"grid grid-cols-5 gap-2 items-end border border-zinc-200 dark:border-zinc-700 p-2 rounded-lg bg-zinc-50 dark:bg-zinc-800 relative group",children:[n("div",{className:"col-span-1",children:[r(o,{children:"Milestone"}),r("input",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:e.name,onChange:t=>d(a,"name",t.target.value),required:!0,placeholder:"Milestone name"})]}),n("div",{className:"col-span-2",children:[r(o,{children:"Commentary"}),r("input",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:e.commentary,onChange:t=>d(a,"commentary",t.target.value),placeholder:"Commentary"})]}),n("div",{className:"col-span-1",children:[r(o,{children:"Due Date"}),r("input",{type:"date",className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none",value:e.dueDate,onChange:t=>d(a,"dueDate",t.target.value),placeholder:"Due date"})]}),n("div",{className:"col-span-1",children:[r(o,{children:"RAG"}),r("select",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 p-1 focus:ring-2 focus:ring-accent/40 focus:outline-none",value:e.rag,onChange:t=>d(a,"rag",t.target.value),children:P.map(t=>r("option",{value:t,children:t},t))})]}),r("button",{type:"button",className:"absolute -top-2 -right-2 bg-white dark:bg-zinc-900 rounded-full shadow p-1 border border-gray-200 dark:border-zinc-700 opacity-0 group-hover:opacity-100 transition-opacity hover:bg-red-50 dark:hover:bg-red-900",onClick:()=>V(a),"aria-label":"Remove Milestone",children:r(W,{className:"w-5 h-5 text-red-500"})})]},a))})]}),c==="Project Update"&&n("div",{children:[r(o,{children:"Project Update & Immediate Focus"}),r("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:S,onChange:e=>I(e.target.value),required:!0,placeholder:"[Provide a brief project update, including current progress and any immediate areas of focus or priority for the coming weeks]"})]}),c==="Project Concerns"&&n("div",{children:[r(o,{children:"Project Concerns"}),r("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:N,onChange:e=>A(e.target.value),placeholder:"\u200B\u200B[Please highlight any project concerns, that may require escalation or support from the Cortex Reply senior leadership team]"})]}),c==="Opportunities"&&n("div",{children:[r(o,{children:"Commercial Opportunities"}),r("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:j,onChange:e=>F(e.target.value),placeholder:"[List any potential commercial opportunities, active conversations, or discussion points where Cortex Reply could provide value or support. These may highlight areas for expansion or collaboration across our service offerings]"})]}),c==="Risks"&&n("div",{children:[r(o,{children:"Commercial Risk/Issue Details"}),r("textarea",{className:"w-full rounded-lg border border-zinc-300 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 p-2 min-h-[140px] focus:ring-2 focus:ring-accent/40 focus:outline-none placeholder-zinc-400 dark:placeholder-zinc-500",value:w,onChange:e=>U(e.target.value),placeholder:"[Please highlight any risks that could impact our commercial engagement, such as reputational concerns, risks to fixed-outcome milestones, changes in key client stakeholders, or challenges with project resourcing]"})]}),r("div",{className:"flex justify-end pt-4",children:r(g,{type:"submit",className:"px-6",children:"Submit"})})]})]})})}export{ie as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as l}from"./chunk-MDJREBVI.mjs";import*as s from"react";import*as e from"@radix-ui/react-dialog";import{X as d}from"lucide-react";import{jsx as i,jsxs as r}from"react/jsx-runtime";var y=e.Root,R=e.Trigger,c=e.Portal,N=e.Close,n=s.forwardRef(({className:t,...a},o)=>i(e.Overlay,{ref:o,className:l("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...a}));n.displayName=e.Overlay.displayName;var g=s.forwardRef(({className:t,children:a,...o},m)=>r(c,{children:[i(n,{}),r(e.Content,{ref:m,className:l("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[a,r(e.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[i(d,{className:"h-4 w-4"}),i("span",{className:"sr-only",children:"Close"})]})]})]}));g.displayName=e.Content.displayName;var f=({className:t,...a})=>i("div",{className:l("flex flex-col space-y-1.5 text-center sm:text-left",t),...a});f.displayName="DialogHeader";var p=({className:t,...a})=>i("div",{className:l("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a});p.displayName="DialogFooter";var D=s.forwardRef(({className:t,...a},o)=>i(e.Title,{ref:o,className:l("text-lg font-semibold leading-none tracking-tight",t),...a}));D.displayName=e.Title.displayName;var v=s.forwardRef(({className:t,...a},o)=>i(e.Description,{ref:o,className:l("text-sm text-muted-foreground",t),...a}));v.displayName=e.Description.displayName;export{y as a,R as b,c,N as d,n as e,g as f,f as g,p as h,D as i,v as j};
4
+ import{a as l}from"./chunk-TSEOL53Y.mjs";import*as s from"react";import*as e from"@radix-ui/react-dialog";import{X as d}from"lucide-react";import{jsx as i,jsxs as r}from"react/jsx-runtime";var y=e.Root,R=e.Trigger,c=e.Portal,N=e.Close,n=s.forwardRef(({className:t,...a},o)=>i(e.Overlay,{ref:o,className:l("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...a}));n.displayName=e.Overlay.displayName;var g=s.forwardRef(({className:t,children:a,...o},m)=>r(c,{children:[i(n,{}),r(e.Content,{ref:m,className:l("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...o,children:[a,r(e.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[i(d,{className:"h-4 w-4"}),i("span",{className:"sr-only",children:"Close"})]})]})]}));g.displayName=e.Content.displayName;var f=({className:t,...a})=>i("div",{className:l("flex flex-col space-y-1.5 text-center sm:text-left",t),...a});f.displayName="DialogHeader";var p=({className:t,...a})=>i("div",{className:l("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a});p.displayName="DialogFooter";var D=s.forwardRef(({className:t,...a},o)=>i(e.Title,{ref:o,className:l("text-lg font-semibold leading-none tracking-tight",t),...a}));D.displayName=e.Title.displayName;var v=s.forwardRef(({className:t,...a},o)=>i(e.Description,{ref:o,className:l("text-sm text-muted-foreground",t),...a}));v.displayName=e.Description.displayName;export{y as a,R as b,c,N as d,n as e,g as f,f as g,p as h,D as i,v as j};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as t}from"./chunk-ZUA4KNIR.mjs";import{motion as n}from"motion/react";import{Trash2 as c}from"lucide-react";import{jsx as e,jsxs as d}from"react/jsx-runtime";function x({files:s,onFileClick:a,onFileEdit:v,onFileDelete:o,showHeader:l=!0,className:m}){return d("div",{className:`rounded-3xl border overflow-hidden ${m||""}`,children:[l&&d("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[e("div",{className:"col-span-6",children:"Name"}),e("div",{className:"col-span-2",children:"Size"}),e("div",{className:"col-span-2",children:"Modified"})]}),e("div",{className:"divide-y",children:s.map(i=>d(n.div,{whileHover:{backgroundColor:"rgba(0,0,0,0.02)"},className:"p-3 md:grid md:grid-cols-10 items-center flex flex-col md:flex-row gap-3 md:gap-0 cursor-pointer",onClick:()=>a?.(i),children:[d("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted"}),e("div",{children:e("p",{className:"font-medium",children:i.name})})]}),e("div",{className:"col-span-2 text-sm md:text-base",children:i.filesize}),d("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[e("span",{className:"text-sm md:text-base",children:typeof i.createdAt=="string"?i.createdAt:i.createdAt.toLocaleDateString()}),e("div",{className:"flex gap-1",children:e(t,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:r=>{r.stopPropagation(),o?.(i)},children:e(c,{className:"h-4 w-4"})})})]})]},i.name))})]})}export{x as a};
4
+ import{b as t}from"./chunk-7Z3TOFNL.mjs";import{motion as n}from"motion/react";import{Trash2 as c}from"lucide-react";import{jsx as e,jsxs as d}from"react/jsx-runtime";function x({files:s,onFileClick:a,onFileEdit:v,onFileDelete:o,showHeader:l=!0,className:m}){return d("div",{className:`rounded-3xl border overflow-hidden ${m||""}`,children:[l&&d("div",{className:"bg-muted/50 p-3 hidden md:grid md:grid-cols-10 text-sm font-medium",children:[e("div",{className:"col-span-6",children:"Name"}),e("div",{className:"col-span-2",children:"Size"}),e("div",{className:"col-span-2",children:"Modified"})]}),e("div",{className:"divide-y",children:s.map(i=>d(n.div,{whileHover:{backgroundColor:"rgba(0,0,0,0.02)"},className:"p-3 md:grid md:grid-cols-10 items-center flex flex-col md:flex-row gap-3 md:gap-0 cursor-pointer",onClick:()=>a?.(i),children:[d("div",{className:"col-span-6 flex items-center gap-3 w-full md:w-auto",children:[e("div",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-muted"}),e("div",{children:e("p",{className:"font-medium",children:i.name})})]}),e("div",{className:"col-span-2 text-sm md:text-base",children:i.filesize}),d("div",{className:"col-span-2 flex items-center justify-between w-full md:w-auto",children:[e("span",{className:"text-sm md:text-base",children:typeof i.createdAt=="string"?i.createdAt:i.createdAt.toLocaleDateString()}),e("div",{className:"flex gap-1",children:e(t,{variant:"ghost",size:"icon",className:"h-8 w-8 rounded-xl text-red-500 hover:text-red-600",onClick:r=>{r.stopPropagation(),o?.(i)},children:e(c,{className:"h-4 w-4"})})})]})]},i.name))})]})}export{x as a};
@@ -1 +1 @@
1
- import{a as u}from"./chunk-KML6U7IE.mjs";import{a as C}from"./chunk-KGEIN56Y.mjs";import{f as g}from"./chunk-N3B3XNV3.mjs";import{b as f}from"./chunk-ZUA4KNIR.mjs";import{a as c,b as x,c as v,e as p}from"./chunk-YO3GQYRJ.mjs";import{a as b}from"./chunk-FMJBJ3HN.mjs";import{a as h}from"./chunk-WISCWNL2.mjs";import U from"next/image";import{notFound as M}from"next/navigation";import w from"next/link";import{FaLinkedin as I}from"react-icons/fa6";import{jsx as e,jsxs as s}from"react/jsx-runtime";function L({image:t,name:i,about:l,socialLinks:o}){return!t||!t.src||t.src.length<3||!i?null:e("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:e(c,{children:s(p,{className:"flex flex-col items-center",children:[t&&t.src&&e(U,{src:t.src,alt:t.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:u,className:"mx-auto mt-6 rounded-full object-cover"}),s("h3",{className:"flex items-center ali font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:[i,o&&o.length>0&&e("nav",{"aria-label":"social links",children:e("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((a,m)=>a.href&&e("li",{children:e(h,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:e("span",{children:a.icon})})},m))})})]}),e("p",{children:l})]})})})}function j({page:t,categoryList:i,edit:l=!1,path:o="/admin/collections/posts/"}){if(!t)return M();let{meta:a,populatedAuthors:m,authors:P,categories:N,content:k,title:y}=t,A={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:m?.[0]?.name||"",category:N,commentCount:0,title:y,description:a?.description||""},d=P?.map(r=>{let n=r.profilePicture&&r.profilePicture.sizes?.square?.url||r.profilePicture&&r.profilePicture.sizes?.thumbnail?.url||"";return console.log("val:",n),{name:r.name||"",about:r.about||"",image:{src:n,alt:r.name||"blog author"},socialLinks:[{icon:e(I,{}),href:r.linkedIn??""}]}});return console.log(d),e(b,{children:s("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[e("div",{children:s("div",{className:"[&_p+P]:mt-4",children:[e("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),e(g,{content:k,enableGutter:!1,className:"prose-invert"})]})}),s("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[l&&e("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:s(c,{children:[e(x,{children:e(v,{className:"text-accent",children:"Content Actions"})}),s(p,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),e(w,{href:`${o}${t.id}`,children:e(f,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),d&&d.map((r,n)=>e(L,{...r},n)),i&&i.links&&e("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:e(C,{links:i.links,title:i.title})})]})]})})}export{j as a};
1
+ import{a as u}from"./chunk-KML6U7IE.mjs";import{a as C}from"./chunk-GNIVCF53.mjs";import{f as g}from"./chunk-TR52MKZR.mjs";import{b as f}from"./chunk-7Z3TOFNL.mjs";import{a as c,b as x,c as v,e as p}from"./chunk-7WKUKFCT.mjs";import{a as b}from"./chunk-TNCD5YIY.mjs";import{a as h}from"./chunk-WISCWNL2.mjs";import U from"next/image";import{notFound as M}from"next/navigation";import w from"next/link";import{FaLinkedin as I}from"react-icons/fa6";import{jsx as e,jsxs as s}from"react/jsx-runtime";function L({image:t,name:i,about:l,socialLinks:o}){return!t||!t.src||t.src.length<3||!i?null:e("div",{className:"mt-1 z-10 px-0 pt-0 lg:px-10",children:e(c,{children:s(p,{className:"flex flex-col items-center",children:[t&&t.src&&e(U,{src:t.src,alt:t.alt||"",width:127,height:127,placeholder:"blur",blurDataURL:u,className:"mx-auto mt-6 rounded-full object-cover"}),s("h3",{className:"flex items-center ali font-secondary text-center py-2 text-lg leading-[1.25] text-accent md:text-xl",children:[i,o&&o.length>0&&e("nav",{"aria-label":"social links",children:e("ul",{className:"inline-flex items-center divide-x divide-accent/50 text-accent dark:divide-accent/50 dark:text-white",children:o.map((a,m)=>a.href&&e("li",{children:e(h,{href:a.href,openNewTab:!0,className:"block px-4 text-base/[1.75] transition-transform duration-350 hover:-translate-y-1 hover:text-accents",children:e("span",{children:a.icon})})},m))})})]}),e("p",{children:l})]})})})}function j({page:t,categoryList:i,edit:l=!1,path:o="/admin/collections/posts/"}){if(!t)return M();let{meta:a,populatedAuthors:m,authors:P,categories:N,content:k,title:y}=t,A={image:{src:a&&a.image&&a.image.url||void 0,alt:a&&a.image&&a.image.alt||void 0},authorName:m?.[0]?.name||"",category:N,commentCount:0,title:y,description:a?.description||""},d=P?.map(r=>{let n=r.profilePicture&&r.profilePicture.sizes?.square?.url||r.profilePicture&&r.profilePicture.sizes?.thumbnail?.url||"";return console.log("val:",n),{name:r.name||"",about:r.about||"",image:{src:n,alt:r.name||"blog author"},socialLinks:[{icon:e(I,{}),href:r.linkedIn??""}]}});return console.log(d),e(b,{children:s("div",{className:"grid gap-30px lg:grid-cols-[1fr_410px]",children:[e("div",{children:s("div",{className:"[&_p+P]:mt-4",children:[e("div",{className:"my-4 h-px bg-body/30 lg:my-5"}),e(g,{content:k,enableGutter:!1,className:"prose-invert"})]})}),s("div",{className:"grid gap-30px self-baseline max-md:mx-auto max-md:max-w-[410px] lg:gap-10",children:[l&&e("div",{className:"mt-4 lg:-mt-10 z-10 px-0 pt-0 lg:px-10",children:s(c,{children:[e(x,{children:e(v,{className:"text-accent",children:"Content Actions"})}),s(p,{children:[e("p",{className:"mb-4 text-sm text-muted-foreground",children:"Edit this page in the CMS"}),e(w,{href:`${o}${t.id}`,children:e(f,{variant:"outline",className:"w-full text-accent hover:text-foreground",children:"Edit"})})]})]})}),d&&d.map((r,n)=>e(L,{...r},n)),i&&i.links&&e("div",{className:"mt-4 px-0 pt-0 lg:px-10",children:e(C,{links:i.links,title:i.title})})]})]})})}export{j as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as s}from"./chunk-MDJREBVI.mjs";import*as r from"react";import*as e from"@radix-ui/react-dialog";import{Cross2Icon as c}from"@radix-ui/react-icons";import{cva as f}from"class-variance-authority";import{jsx as o,jsxs as n}from"react/jsx-runtime";var x=e.Root,N=e.Trigger,C=e.Close,p=e.Portal,m=r.forwardRef(({className:t,...i},a)=>o(e.Overlay,{className:s("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...i,ref:a}));m.displayName=e.Overlay.displayName;var h=f("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),S=r.forwardRef(({side:t="right",className:i,children:a,...l},d)=>n(p,{children:[o(m,{}),n(e.Content,{ref:d,className:s(h({side:t}),i),...l,children:[n(e.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[o(c,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Close"})]}),a]})]}));S.displayName=e.Content.displayName;var v=({className:t,...i})=>o("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",t),...i});v.displayName="SheetHeader";var P=({className:t,...i})=>o("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});P.displayName="SheetFooter";var y=r.forwardRef(({className:t,...i},a)=>o(e.Title,{ref:a,className:s("text-lg font-semibold text-foreground",t),...i}));y.displayName=e.Title.displayName;var u=r.forwardRef(({className:t,...i},a)=>o(e.Description,{ref:a,className:s("text-sm text-muted-foreground",t),...i}));u.displayName=e.Description.displayName;export{x as a,N as b,C as c,p as d,m as e,S as f,v as g,P as h,y as i,u as j};
4
+ import{a as s}from"./chunk-TSEOL53Y.mjs";import*as r from"react";import*as e from"@radix-ui/react-dialog";import{Cross2Icon as c}from"@radix-ui/react-icons";import{cva as f}from"class-variance-authority";import{jsx as o,jsxs as n}from"react/jsx-runtime";var x=e.Root,N=e.Trigger,C=e.Close,p=e.Portal,m=r.forwardRef(({className:t,...i},a)=>o(e.Overlay,{className:s("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...i,ref:a}));m.displayName=e.Overlay.displayName;var h=f("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),S=r.forwardRef(({side:t="right",className:i,children:a,...l},d)=>n(p,{children:[o(m,{}),n(e.Content,{ref:d,className:s(h({side:t}),i),...l,children:[n(e.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[o(c,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Close"})]}),a]})]}));S.displayName=e.Content.displayName;var v=({className:t,...i})=>o("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",t),...i});v.displayName="SheetHeader";var P=({className:t,...i})=>o("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});P.displayName="SheetFooter";var y=r.forwardRef(({className:t,...i},a)=>o(e.Title,{ref:a,className:s("text-lg font-semibold text-foreground",t),...i}));y.displayName=e.Title.displayName;var u=r.forwardRef(({className:t,...i},a)=>o(e.Description,{ref:a,className:s("text-sm text-muted-foreground",t),...i}));u.displayName=e.Description.displayName;export{x as a,N as b,C as c,p as d,m as e,S as f,v as g,P as h,y as i,u as j};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as o}from"./chunk-MDJREBVI.mjs";import*as e from"react";import*as t from"@radix-ui/react-tooltip";import{jsx as i}from"react/jsx-runtime";var p=t.Provider,s=t.Root,f=t.Trigger,l=e.forwardRef(({className:r,sideOffset:a=4,...m},d)=>i(t.Portal,{children:i(t.Content,{ref:d,sideOffset:a,className:o("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...m})}));l.displayName=t.Content.displayName;export{p as a,s as b,f as c,l as d};
4
+ import{a as o}from"./chunk-TSEOL53Y.mjs";import*as e from"react";import*as t from"@radix-ui/react-tooltip";import{jsx as i}from"react/jsx-runtime";var p=t.Provider,s=t.Root,f=t.Trigger,l=e.forwardRef(({className:r,sideOffset:a=4,...m},d)=>i(t.Portal,{children:i(t.Content,{ref:d,sideOffset:a,className:o("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...m})}));l.displayName=t.Content.displayName;export{p as a,s as b,f as c,l as d};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{b as s}from"./chunk-ZUA4KNIR.mjs";import{b as c}from"./chunk-CSBGSBEU.mjs";import{a as h}from"./chunk-FLHDNCNY.mjs";import{motion as x}from"motion/react";import{FaChevronDown as w,FaChevronUp as f}from"react-icons/fa";import{jsx as e,jsxs as t}from"react/jsx-runtime";function z({title:n,description:a,badge:r,primaryAction:i,secondaryAction:o,gradient:g,children:d,className:v}){let[l,b]=h(`hero-section-minimized-${n.replace(/\s+/g,"-").toLowerCase()}`,!o&&!a),m=!o&&!a||l;return t(x.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${g} p-8 text-white ${v||""}`,children:[t("div",{className:"flex items-center justify-between mb-2",children:[t("div",{className:"flex items-center gap-3",children:[r&&e(c,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:r}),e("h2",{className:"text-3xl font-bold m-0",children:n})]}),t("div",{className:"flex items-center gap-3",children:[m&&i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),(o||a)&&e("button",{"aria-label":l?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>b(!l),style:{lineHeight:0},children:l?e(w,{size:22}):e(f,{size:22})})]})]}),!m&&t("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[t("div",{className:"space-y-4",children:[e("p",{className:"max-w-[600px] text-white/80",children:a}),t("div",{className:"flex flex-wrap gap-3",children:[i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),o&&e(s,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:o.onClick,children:o.label})]})]}),d&&e("div",{className:"hidden lg:block",children:d})]})]})}export{z as a};
4
+ import{b as s}from"./chunk-7Z3TOFNL.mjs";import{b as c}from"./chunk-2JKLBLDE.mjs";import{a as h}from"./chunk-FLHDNCNY.mjs";import{motion as x}from"motion/react";import{FaChevronDown as w,FaChevronUp as f}from"react-icons/fa";import{jsx as e,jsxs as t}from"react/jsx-runtime";function z({title:n,description:a,badge:r,primaryAction:i,secondaryAction:o,gradient:g,children:d,className:v}){let[l,b]=h(`hero-section-minimized-${n.replace(/\s+/g,"-").toLowerCase()}`,!o&&!a),m=!o&&!a||l;return t(x.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${g} p-8 text-white ${v||""}`,children:[t("div",{className:"flex items-center justify-between mb-2",children:[t("div",{className:"flex items-center gap-3",children:[r&&e(c,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:r}),e("h2",{className:"text-3xl font-bold m-0",children:n})]}),t("div",{className:"flex items-center gap-3",children:[m&&i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),(o||a)&&e("button",{"aria-label":l?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>b(!l),style:{lineHeight:0},children:l?e(w,{size:22}):e(f,{size:22})})]})]}),!m&&t("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[t("div",{className:"space-y-4",children:[e("p",{className:"max-w-[600px] text-white/80",children:a}),t("div",{className:"flex flex-wrap gap-3",children:[i&&e(s,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:i.onClick,children:i.label}),o&&e(s,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:o.onClick,children:o.label})]})]}),d&&e("div",{className:"hidden lg:block",children:d})]})]})}export{z as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-7WIO2CIC.mjs";import a from"next/image";import{jsx as t,jsxs as i}from"react/jsx-runtime";var n=({title:o,image:e})=>t("div",{children:i("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:t("h1",{className:"text-5xl md:text-6xl",children:o})}),i("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[e&&typeof e=="object"&&t(a,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),e&&typeof e=="string"&&t("div",{children:t(a,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:e})}),t("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),t(r,{className:"text-black z-10",position:"header"})]})});export{n as a};
1
+ import{a as r}from"./chunk-ESTO675Y.mjs";import a from"next/image";import{jsx as t,jsxs as i}from"react/jsx-runtime";var n=({title:o,image:e})=>t("div",{children:i("div",{className:"sticky top-0 h-[50vh] min-h-[400px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-start",children:t("h1",{className:"text-5xl md:text-6xl",children:o})}),i("div",{className:"fixed inset-0 h-[50vh] min-h-[400px] select-none",children:[e&&typeof e=="object"&&t(a,{priority:!0,src:e.src,alt:`${process.env.NEXT_PUBLIC_SITE_NAME}`,layout:"fill",style:{objectFit:"cover"},sizes:"100vw",className:"pointer-events-none object-cover"}),e&&typeof e=="string"&&t("div",{children:t(a,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:e})}),t("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),t(r,{className:"text-black z-10",position:"header"})]})});export{n as a};
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as g,b as h,c as b}from"./chunk-7GMAMIHM.mjs";import{b as y}from"./chunk-2RQDJ5XT.mjs";import{a as l}from"./chunk-MDJREBVI.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"motion/react";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
4
+ import{a as g,b as h,c as b}from"./chunk-QB63WPDB.mjs";import{b as y}from"./chunk-FT6JQ4AC.mjs";import{a as l}from"./chunk-TSEOL53Y.mjs";import{useState as C,useEffect as D,useCallback as A}from"react";import{AnimatePresence as k,motion as v}from"motion/react";import"pagedjs";import{Fragment as I,jsx as t,jsxs as w}from"react/jsx-runtime";var K=c=>{let[s,i]=C(0),{blocks:a,hero:x,logoImage:m}=c,N=a&&Array.isArray(a)&&a.length>0,n=[{id:"0000000000000000000",blockName:null,columns:[],blockType:"content",theme:{settings:{theme:"dark",background:"solid",overlay:!0}}},...a],S=e=>{i(e)},r=()=>{i(e=>(e+1)%n.length)},d=()=>{i(e=>(e-1+n.length)%n.length)},u=A(((e,o)=>{let f;return(...T)=>{clearTimeout(f),f=setTimeout(()=>e(...T),o)}})(e=>{e.deltaY>0?r():d()},300),[]),p=e=>{e.key==="ArrowDown"?r():e.key==="ArrowUp"&&d()};return D(()=>(window.addEventListener("wheel",u),window.addEventListener("keydown",p),()=>{window.removeEventListener("wheel",u),window.removeEventListener("keydown",p)}),[]),w("div",{className:"flex flex-col min-h-screen relative overflow-hidden",children:[t("div",{className:"fixed left-0 top-0 flex h-screen w-9 z-10 flex-col items-center justify-center bg-gray-900",children:N&&n.map((e,o)=>t("button",{className:`group relative flex items-center justify-center my-2 h-16 w-4 rounded-full transition-all hover:bg-accent duration-300 ${s===o?"bg-accent":"bg-gray-600"}`,onClick:()=>S(o),children:t("span",{className:"absolute ml-7 left-full text-left transform -translate-y-1/2 translate-x-0 rotate-90 origin-left whitespace-nowrap opacity-0 group-hover:opacity-100 group-hover:translate-x-2 transition-all duration-300",children:e.blockName})},e.id))}),t(k,{children:n.map((e,o)=>t("div",{id:`slide-${o}`,className:"print-section",children:t("div",{className:`absolute flex items-center justify-center transition-opacity duration-1000
5
5
  ${o===s?"opacity-100":"opacity-0"}
6
6
  w-full h-full bg-cover bg-center`,children:o===0?t(b,{hero:x,title:c.title,logoImage:m}):w(I,{children:[e.blockName&&t(h,{title:e.blockName}),t(y,{blocks:[e],fill:!0}),t(g,{logoImage:m})]})})},o))}),t("button",{className:"absolute bottom-4 left-1 z-20 text-3xl text-primary transition-all duration-300 hover:scale-110",onClick:r,children:t(E,{})})]})},E=()=>t(k,{children:t(v.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.7,ease:[.76,0,.24,1]},className:l("w-fit min-h-[50px] min-w-[20px] p-1 border-2 rounded-full","border-accent"),children:t(v.div,{initial:{y:0},animate:{y:[0,25],opacity:[1,0]},transition:{duration:1,ease:"easeOut",repeat:1/0,repeatDelay:1},className:l("w-[12px] h-[12px] rounded-full","bg-accent")})})});export{K as a};
@@ -1 +1 @@
1
- import{f as r}from"./chunk-N3B3XNV3.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
1
+ import{f as r}from"./chunk-TR52MKZR.mjs";import{jsx as e}from"react/jsx-runtime";var c=({children:o,richText:t})=>e("div",{className:"min-w-full py-10 bg-muted mt-24",children:e("div",{className:"container",children:o||t&&e(r,{content:t,enableGutter:!1})})});export{c as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-MZP7RIQZ.mjs";import{a as m}from"./chunk-YKG4FNS4.mjs";import{a as i}from"./chunk-255P6K5W.mjs";import{a as l}from"./chunk-HKGW6JI2.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
1
+ import{a as n}from"./chunk-BOG3XLGP.mjs";import{a as l}from"./chunk-BXVJNWFA.mjs";import{a as m}from"./chunk-GCIWMQMK.mjs";import{a as i}from"./chunk-DFWWQRJ2.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as oa,b as da}from"./chunk-YEKQJ4YC.mjs";var aa=oa((J,U)=>{"use strict";(function(h,e){typeof J=="object"&&typeof U=="object"?U.exports=e():typeof define=="function"&&define.amd?define([],e):typeof J=="object"?J.AOS=e():h.AOS=e()})(J,function(){return(function(h){function e(o){if(n[o])return n[o].exports;var l=n[o]={exports:{},id:o,loaded:!1};return h[o].call(l.exports,l,l.exports,e),l.loaded=!0,l.exports}var n={};return e.m=h,e.c=n,e.p="dist/",e(0)})([function(h,e,n){"use strict";function o(d){return d&&d.__esModule?d:{default:d}}var l=Object.assign||function(d){for(var x=1;x<arguments.length;x++){var A=arguments[x];for(var D in A)Object.prototype.hasOwnProperty.call(A,D)&&(d[D]=A[D])}return d},m=n(1),w=(o(m),n(6)),s=o(w),b=n(7),i=o(b),y=n(8),r=o(y),f=n(9),z=o(f),O=n(10),X=o(O),B=n(11),F=o(B),K=n(14),C=o(K),S=[],Z=!1,p={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},_=function(){var d=arguments.length>0&&arguments[0]!==void 0&&arguments[0];if(d&&(Z=!0),Z)return S=(0,F.default)(S,p),(0,X.default)(S,p.once),S},P=function(){S=(0,C.default)(),_()},t=function(){S.forEach(function(d,x){d.node.removeAttribute("data-aos"),d.node.removeAttribute("data-aos-easing"),d.node.removeAttribute("data-aos-duration"),d.node.removeAttribute("data-aos-delay")})},a=function(d){return d===!0||d==="mobile"&&z.default.mobile()||d==="phone"&&z.default.phone()||d==="tablet"&&z.default.tablet()||typeof d=="function"&&d()===!0},u=function(d){p=l(p,d),S=(0,C.default)();var x=document.all&&!window.atob;return a(p.disable)||x?t():(p.disableMutationObserver||r.default.isSupported()||(console.info(`
5
+ aos: MutationObserver is not supported on this browser,
6
+ code mutations observing has been disabled.
7
+ You may have to call "refreshHard()" by yourself.
8
+ `),p.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",p.easing),document.querySelector("body").setAttribute("data-aos-duration",p.duration),document.querySelector("body").setAttribute("data-aos-delay",p.delay),p.startEvent==="DOMContentLoaded"&&["complete","interactive"].indexOf(document.readyState)>-1?_(!0):p.startEvent==="load"?window.addEventListener(p.startEvent,function(){_(!0)}):document.addEventListener(p.startEvent,function(){_(!0)}),window.addEventListener("resize",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("orientationchange",(0,i.default)(_,p.debounceDelay,!0)),window.addEventListener("scroll",(0,s.default)(function(){(0,X.default)(S,p.once)},p.throttleDelay)),p.disableMutationObserver||r.default.ready("[data-aos]",P),S)};h.exports={init:u,refresh:_,refreshHard:P}},function(h,e){},,,,,function(h,e){(function(n){"use strict";function o(a,u,d){function x(c){var j=M,$=N;return M=N=void 0,H=c,k=a.apply($,j)}function A(c){return H=c,v=setTimeout(I,u),Y?x(c):k}function D(c){var j=c-q,$=c-H,V=u-j;return L?P(V,T-$):V}function W(c){var j=c-q,$=c-H;return q===void 0||j>=u||j<0||L&&$>=T}function I(){var c=t();return W(c)?Q(c):void(v=setTimeout(I,D(c)))}function Q(c){return v=void 0,g&&M?x(c):(M=N=void 0,k)}function R(){v!==void 0&&clearTimeout(v),H=0,M=q=N=v=void 0}function G(){return v===void 0?k:Q(t())}function E(){var c=t(),j=W(c);if(M=arguments,N=this,q=c,j){if(v===void 0)return A(q);if(L)return v=setTimeout(I,u),x(q)}return v===void 0&&(v=setTimeout(I,u)),k}var M,N,T,k,v,q,H=0,Y=!1,L=!1,g=!0;if(typeof a!="function")throw new TypeError(y);return u=b(u)||0,m(d)&&(Y=!!d.leading,L="maxWait"in d,T=L?_(b(d.maxWait)||0,u):T,g="trailing"in d?!!d.trailing:g),E.cancel=R,E.flush=G,E}function l(a,u,d){var x=!0,A=!0;if(typeof a!="function")throw new TypeError(y);return m(d)&&(x="leading"in d?!!d.leading:x,A="trailing"in d?!!d.trailing:A),o(a,u,{leading:x,maxWait:u,trailing:A})}function m(a){var u=typeof a>"u"?"undefined":i(a);return!!a&&(u=="object"||u=="function")}function w(a){return!!a&&(typeof a>"u"?"undefined":i(a))=="object"}function s(a){return(typeof a>"u"?"undefined":i(a))=="symbol"||w(a)&&p.call(a)==f}function b(a){if(typeof a=="number")return a;if(s(a))return r;if(m(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=m(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=a.replace(z,"");var d=X.test(a);return d||B.test(a)?F(a.slice(2),d?2:8):O.test(a)?r:+a}var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},y="Expected a function",r=NaN,f="[object Symbol]",z=/^\s+|\s+$/g,O=/^[-+]0x[0-9a-f]+$/i,X=/^0b[01]+$/i,B=/^0o[0-7]+$/i,F=parseInt,K=(typeof n>"u"?"undefined":i(n))=="object"&&n&&n.Object===Object&&n,C=(typeof self>"u"?"undefined":i(self))=="object"&&self&&self.Object===Object&&self,S=K||C||Function("return this")(),Z=Object.prototype,p=Z.toString,_=Math.max,P=Math.min,t=function(){return S.Date.now()};h.exports=l}).call(e,(function(){return this})())},function(h,e){(function(n){"use strict";function o(t,a,u){function d(g){var c=E,j=M;return E=M=void 0,q=g,T=t.apply(j,c)}function x(g){return q=g,k=setTimeout(W,a),H?d(g):T}function A(g){var c=g-v,j=g-q,$=a-c;return Y?_($,N-j):$}function D(g){var c=g-v,j=g-q;return v===void 0||c>=a||c<0||Y&&j>=N}function W(){var g=P();return D(g)?I(g):void(k=setTimeout(W,A(g)))}function I(g){return k=void 0,L&&E?d(g):(E=M=void 0,T)}function Q(){k!==void 0&&clearTimeout(k),q=0,E=v=M=k=void 0}function R(){return k===void 0?T:I(P())}function G(){var g=P(),c=D(g);if(E=arguments,M=this,v=g,c){if(k===void 0)return x(v);if(Y)return k=setTimeout(W,a),d(v)}return k===void 0&&(k=setTimeout(W,a)),T}var E,M,N,T,k,v,q=0,H=!1,Y=!1,L=!0;if(typeof t!="function")throw new TypeError(i);return a=s(a)||0,l(u)&&(H=!!u.leading,Y="maxWait"in u,N=Y?p(s(u.maxWait)||0,a):N,L="trailing"in u?!!u.trailing:L),G.cancel=Q,G.flush=R,G}function l(t){var a=typeof t>"u"?"undefined":b(t);return!!t&&(a=="object"||a=="function")}function m(t){return!!t&&(typeof t>"u"?"undefined":b(t))=="object"}function w(t){return(typeof t>"u"?"undefined":b(t))=="symbol"||m(t)&&Z.call(t)==r}function s(t){if(typeof t=="number")return t;if(w(t))return y;if(l(t)){var a=typeof t.valueOf=="function"?t.valueOf():t;t=l(a)?a+"":a}if(typeof t!="string")return t===0?t:+t;t=t.replace(f,"");var u=O.test(t);return u||X.test(t)?B(t.slice(2),u?2:8):z.test(t)?y:+t}var b=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i="Expected a function",y=NaN,r="[object Symbol]",f=/^\s+|\s+$/g,z=/^[-+]0x[0-9a-f]+$/i,O=/^0b[01]+$/i,X=/^0o[0-7]+$/i,B=parseInt,F=(typeof n>"u"?"undefined":b(n))=="object"&&n&&n.Object===Object&&n,K=(typeof self>"u"?"undefined":b(self))=="object"&&self&&self.Object===Object&&self,C=F||K||Function("return this")(),S=Object.prototype,Z=S.toString,p=Math.max,_=Math.min,P=function(){return C.Date.now()};h.exports=o}).call(e,(function(){return this})())},function(h,e){"use strict";function n(b){var i=void 0,y=void 0,r=void 0;for(i=0;i<b.length;i+=1)if(y=b[i],y.dataset&&y.dataset.aos||(r=y.children&&n(y.children)))return!0;return!1}function o(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function l(){return!!o()}function m(b,i){var y=window.document,r=o(),f=new r(w);s=i,f.observe(y.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}function w(b){b&&b.forEach(function(i){var y=Array.prototype.slice.call(i.addedNodes),r=Array.prototype.slice.call(i.removedNodes),f=y.concat(r);if(n(f))return s()})}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){};e.default={isSupported:l,ready:m}},function(h,e){"use strict";function n(y,r){if(!(y instanceof r))throw new TypeError("Cannot call a class as a function")}function o(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(e,"__esModule",{value:!0});var l=(function(){function y(r,f){for(var z=0;z<f.length;z++){var O=f[z];O.enumerable=O.enumerable||!1,O.configurable=!0,"value"in O&&(O.writable=!0),Object.defineProperty(r,O.key,O)}}return function(r,f,z){return f&&y(r.prototype,f),z&&y(r,z),r}})(),m=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,w=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,b=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,i=(function(){function y(){n(this,y)}return l(y,[{key:"phone",value:function(){var r=o();return!(!m.test(r)&&!w.test(r.substr(0,4)))}},{key:"mobile",value:function(){var r=o();return!(!s.test(r)&&!b.test(r.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),y})();e.default=new i},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(l,m,w){var s=l.node.getAttribute("data-aos-once");m>l.position?l.node.classList.add("aos-animate"):typeof s<"u"&&(s==="false"||!w&&s!=="true")&&l.node.classList.remove("aos-animate")},o=function(l,m){var w=window.pageYOffset,s=window.innerHeight;l.forEach(function(b,i){n(b,s+w,m)})};e.default=o},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(12),m=o(l),w=function(s,b){return s.forEach(function(i,y){i.node.classList.add("aos-init"),i.position=(0,m.default)(i.node,b.offset)}),s};e.default=w},function(h,e,n){"use strict";function o(s){return s&&s.__esModule?s:{default:s}}Object.defineProperty(e,"__esModule",{value:!0});var l=n(13),m=o(l),w=function(s,b){var i=0,y=0,r=window.innerHeight,f={offset:s.getAttribute("data-aos-offset"),anchor:s.getAttribute("data-aos-anchor"),anchorPlacement:s.getAttribute("data-aos-anchor-placement")};switch(f.offset&&!isNaN(f.offset)&&(y=parseInt(f.offset)),f.anchor&&document.querySelectorAll(f.anchor)&&(s=document.querySelectorAll(f.anchor)[0]),i=(0,m.default)(s).top,f.anchorPlacement){case"top-bottom":break;case"center-bottom":i+=s.offsetHeight/2;break;case"bottom-bottom":i+=s.offsetHeight;break;case"top-center":i+=r/2;break;case"bottom-center":i+=r/2+s.offsetHeight;break;case"center-center":i+=r/2+s.offsetHeight/2;break;case"top-top":i+=r;break;case"bottom-top":i+=s.offsetHeight+r;break;case"center-top":i+=s.offsetHeight/2+r}return f.anchorPlacement||f.offset||isNaN(b)||(y=b),i+y};e.default=w},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){for(var l=0,m=0;o&&!isNaN(o.offsetLeft)&&!isNaN(o.offsetTop);)l+=o.offsetLeft-(o.tagName!="BODY"?o.scrollLeft:0),m+=o.offsetTop-(o.tagName!="BODY"?o.scrollTop:0),o=o.offsetParent;return{top:m,left:l}};e.default=n},function(h,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(o){return o=o||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(o,function(l){return{node:l}})};e.default=n}])})});var ta=da(aa());import{useEffect as sa}from"react";function la(){return sa(()=>{ta.default.init({duration:1e3,offset:0,once:!0})},[]),null}export{la as a};
@@ -1 +1 @@
1
- import{a as u,d as g,g as v,i as p}from"./chunk-YFAZQYK4.mjs";import{a as d}from"./chunk-TVZOULLL.mjs";import{b as m}from"./chunk-CSBGSBEU.mjs";import{useState as b}from"react";import{jsx as a,jsxs as t}from"react/jsx-runtime";var y=({label:S,value:n,onValueChange:f,options:r,showColor:s=!1,disabled:l=!1})=>{let[c,i]=b(!1),o=r.find(e=>e.value===n);return t("div",{className:"space-y-1",children:[a(d,{className:"text-xs text-muted-foreground",children:S}),t(u,{value:n,onValueChange:f,open:c,onOpenChange:e=>{l||i(e)},disabled:l,children:[a(g,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:t(m,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&i(!c),children:[s&&o?.color&&a("div",{className:`w-2 h-2 rounded-full ${o.color} mr-1`}),o?.label||"Select..."]})}),a(v,{children:r.map(e=>a(p,{value:e.value,children:s&&e.color?t("div",{className:"flex items-center gap-2",children:[a("div",{className:`w-3 h-3 rounded-full ${e.color}`}),e.label]}):e.label},e.value))})]})]})};export{y as a};
1
+ import{a as u,d as g,g as v,i as p}from"./chunk-WLM2ZFHF.mjs";import{a as d}from"./chunk-RAAY7PEH.mjs";import{b as m}from"./chunk-2JKLBLDE.mjs";import{useState as b}from"react";import{jsx as a,jsxs as t}from"react/jsx-runtime";var y=({label:S,value:n,onValueChange:f,options:r,showColor:s=!1,disabled:l=!1})=>{let[c,i]=b(!1),o=r.find(e=>e.value===n);return t("div",{className:"space-y-1",children:[a(d,{className:"text-xs text-muted-foreground",children:S}),t(u,{value:n,onValueChange:f,open:c,onOpenChange:e=>{l||i(e)},disabled:l,children:[a(g,{className:"h-auto p-0 border-none bg-transparent hover:bg-muted/50 rounded-md",children:t(m,{variant:"secondary",className:`${l?"cursor-not-allowed opacity-50":"cursor-pointer"} hover:bg-muted transition-colors`,onClick:()=>!l&&i(!c),children:[s&&o?.color&&a("div",{className:`w-2 h-2 rounded-full ${o.color} mr-1`}),o?.label||"Select..."]})}),a(v,{children:r.map(e=>a(p,{value:e.value,children:s&&e.color?t("div",{className:"flex items-center gap-2",children:[a("div",{className:`w-3 h-3 rounded-full ${e.color}`}),e.label]}):e.label},e.value))})]})]})};export{y as a};
@@ -1 +1 @@
1
- import{f as r}from"./chunk-N3B3XNV3.mjs";import{a as n}from"./chunk-MDJREBVI.mjs";import{jsx as t,jsxs as c}from"react/jsx-runtime";function f({subtitle:s,title:o,description:e,alignment:a="start",hasBottomSpacing:i=!1,className:m,invert:l=!1}){let p=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},"prose",m);return c("div",{className:p,children:[s&&t("span",{className:"mb-[.625rem] block font-semibold uppercase text-accent md:text-md",children:s}),t("h2",{className:n("text-primary mt-0"),children:o}),typeof e=="string"?e&&t("p",{className:"mt-5 whitespace-pre-line text-foreground",children:e}):e&&t(r,{content:e,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{f as a};
1
+ import{f as r}from"./chunk-TR52MKZR.mjs";import{a as n}from"./chunk-TSEOL53Y.mjs";import{jsx as t,jsxs as c}from"react/jsx-runtime";function f({subtitle:s,title:o,description:e,alignment:a="start",hasBottomSpacing:i=!1,className:m,invert:l=!1}){let p=n(a==="start"&&"text-left",a==="center"&&"text-center",a==="end"&&"text-right",{"mb-10 md:mb-[3.75rem]":i},"prose",m);return c("div",{className:p,children:[s&&t("span",{className:"mb-[.625rem] block font-semibold uppercase text-accent md:text-md",children:s}),t("h2",{className:n("text-primary mt-0"),children:o}),typeof e=="string"?e&&t("p",{className:"mt-5 whitespace-pre-line text-foreground",children:e}):e&&t(r,{content:e,enableGutter:!1,className:"prose-headings:text-accent prose-p:text-primary"})]})}export{f as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{c as L}from"./chunk-PA4ZBJDO.mjs";import{a as I}from"./chunk-INCYANPB.mjs";import{a as f}from"./chunk-FT3AE7L2.mjs";import{a as C}from"./chunk-L5JPAKPM.mjs";import{a as D,f as B,g as F,i as U}from"./chunk-3UMMMQEH.mjs";import{b as k}from"./chunk-ZUA4KNIR.mjs";import{b as m}from"./chunk-CSBGSBEU.mjs";import{a as o}from"./chunk-MDJREBVI.mjs";import{a as A}from"./chunk-FLHDNCNY.mjs";import*as u from"react";import R from"next/link";import{ChevronDown as J,Search as Y,Settings as Z,X as _}from"lucide-react";import{Fragment as $,jsx as t,jsxs as n}from"react/jsx-runtime";function he({items:v,isOpen:x,isMobile:l=!1,onClose:g,currentBusinessUnit:ee=L[0],onBusinessUnitChange:E,onSearch:H,className:h,logo:P="/headerlogo.png",appName:j="Nuvia",tagline:T="Collaboration Platform"}){let[b,z]=u.useState({}),[d,K]=A("sidebar-favorites",{}),[N,y]=u.useState(null),[p,Q]=u.useState(""),q=e=>{z(a=>({...a,[e]:!a[e]}))},te=e=>{E?.(e)},M=()=>{p.trim()&&H?.(p.trim())},O=e=>{e.key==="Enter"&&(e.preventDefault(),M())},V=(e,a)=>{let s=d[e]||[],r=s.includes(a)?s.filter(i=>i!==a):s.concat(a);K({...d,[e]:r})},c=e=>{if(!e.items||!e.maxItems||e.items.length<=e.maxItems)return e.items||[];let a=d[e.id]||[],s=e.items.filter(i=>a.includes(i.id)),r=e.items.filter(i=>!a.includes(i.id));return[...s,...r].slice(0,e.maxItems)},S=e=>e.maxItems&&e.items&&e.items.length>e.maxItems,W=v,X=e=>{let a=S(e),s=c(e),r=n($,{children:[n("div",{className:"flex items-center gap-3",children:[e.icon,t("span",{children:e.title})]}),e.badge&&t(m,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:e.badge}),e.items&&t(J,{className:o("ml-2 h-4 w-4 transition-transform",b[e.title]?"rotate-180":"")})]}),i=o("flex w-full items-center justify-between rounded-2xl px-3 py-2 text-sm font-medium",e.isActive?"bg-primary/10 text-primary":"hover:bg-muted");return e.url?t(R,{href:e.url,className:i,onClick:l?g:void 0,children:r}):t("button",{className:i,onClick:()=>e.items&&q(e.title),children:r})},G=()=>{let e=v.find(s=>s.id===N);if(!e||!e.items||!e.maxItems)return null;let a=d[e.id]||[];return t(D,{open:!!N,onOpenChange:s=>!s&&y(null),children:n(B,{className:"sm:max-w-md",children:[n(F,{children:[n(U,{children:["Manage ",e.title," Favorites"]}),n("p",{className:"text-sm text-muted-foreground",children:["Select up to ",e.maxItems," items to show in ",e.title.toLowerCase(),"."]})]}),t(f,{className:"max-h-96 pr-4",children:t("div",{className:"space-y-4",children:e.items.map(s=>n("div",{className:"flex items-center space-x-2",children:[t(I,{id:s.id,checked:a.includes(s.id),onCheckedChange:()=>V(e.id,s.id),disabled:!a.includes(s.id)&&a.length>=(e.maxItems||0)}),n("label",{htmlFor:s.id,className:"flex items-center gap-2 text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer flex-1",children:[s.title,s.badge&&t(m,{variant:"outline",className:"text-xs",children:s.badge})]})]},s.id))})})]})})},w=n("div",{className:"flex h-full flex-col bg-background",children:[n("div",{className:"flex items-center justify-between p-4",children:[n("div",{className:"flex items-center gap-3",children:[t("div",{className:"flex h-14 w-14 items-center justify-center",children:t("img",{src:P,alt:"Header Logo",className:"h-14 w-14 object-contain"})}),n("div",{children:[t("h2",{className:"font-semibold",children:j}),t("p",{className:"text-xs text-muted-foreground",children:T})]})]}),l&&t(k,{variant:"ghost",size:"icon",onClick:g,children:t(_,{className:"h-5 w-5"})})]}),t("div",{className:"px-3 py-2",children:n("div",{className:"relative",children:[t(Y,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t(C,{type:"search",placeholder:"Search...",className:"w-full rounded-2xl bg-muted pl-9 pr-4 py-2",value:p,onChange:e=>Q(e.target.value),onKeyPress:O})]})}),t(f,{className:"flex-1 px-3 py-2",children:t("div",{className:"space-y-1",children:W.map(e=>n("div",{className:"mb-1",children:[X(e),e.items&&b[e.title]&&n("div",{className:"mt-1 ml-6 space-y-1 border-l pl-3",children:[c(e).map(a=>n(R,{href:a.url,className:"flex items-center justify-between rounded-2xl px-3 py-2 text-sm hover:bg-muted",onClick:l?g:void 0,children:[a.title,a.badge&&t(m,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:a.badge})]},a.id)),S(e)&&e.items&&e.items.length>c(e).length&&n("button",{onClick:()=>y(e.id),className:"w-full px-3 py-2 text-xs text-muted-foreground hover:text-foreground hover:bg-muted rounded-2xl transition-colors text-left",children:["...",e.items.length-c(e).length," more available"]})]})]},e.id))})}),t("div",{className:"p-3",children:t("div",{className:"space-y-1",children:n("button",{className:"flex w-full items-center gap-3 rounded-2xl px-3 py-2 text-sm font-medium hover:bg-muted",children:[t(Z,{className:"h-5 w-5"}),t("span",{children:"Settings"})]})})}),t(G,{})]});return l?t("div",{className:o("fixed inset-y-0 left-0 z-50 w-64 transform bg-background transition-transform duration-300 ease-in-out",x?"translate-x-0":"-translate-x-full",h),children:w}):t("div",{className:o("fixed inset-y-0 left-0 z-30 w-64 transform bg-background transition-transform duration-300 ease-in-out",x?"translate-x-0":"-translate-x-full",h),children:w})}export{he as a};
4
+ import{c as L}from"./chunk-KCOLYVJX.mjs";import{a as I}from"./chunk-NQPBIFGO.mjs";import{a as f}from"./chunk-JVJG2LOA.mjs";import{a as D,f as B,g as F,i as U}from"./chunk-AG6IN5S7.mjs";import{a as C}from"./chunk-GJUA2KUH.mjs";import{b as k}from"./chunk-7Z3TOFNL.mjs";import{b as m}from"./chunk-2JKLBLDE.mjs";import{a as o}from"./chunk-TSEOL53Y.mjs";import{a as A}from"./chunk-FLHDNCNY.mjs";import*as u from"react";import R from"next/link";import{ChevronDown as J,Search as Y,Settings as Z,X as _}from"lucide-react";import{Fragment as $,jsx as t,jsxs as n}from"react/jsx-runtime";function he({items:v,isOpen:x,isMobile:l=!1,onClose:g,currentBusinessUnit:ee=L[0],onBusinessUnitChange:E,onSearch:H,className:h,logo:P="/headerlogo.png",appName:j="Nuvia",tagline:T="Collaboration Platform"}){let[b,z]=u.useState({}),[d,K]=A("sidebar-favorites",{}),[N,y]=u.useState(null),[p,Q]=u.useState(""),q=e=>{z(a=>({...a,[e]:!a[e]}))},te=e=>{E?.(e)},M=()=>{p.trim()&&H?.(p.trim())},O=e=>{e.key==="Enter"&&(e.preventDefault(),M())},V=(e,a)=>{let s=d[e]||[],r=s.includes(a)?s.filter(i=>i!==a):s.concat(a);K({...d,[e]:r})},c=e=>{if(!e.items||!e.maxItems||e.items.length<=e.maxItems)return e.items||[];let a=d[e.id]||[],s=e.items.filter(i=>a.includes(i.id)),r=e.items.filter(i=>!a.includes(i.id));return[...s,...r].slice(0,e.maxItems)},S=e=>e.maxItems&&e.items&&e.items.length>e.maxItems,W=v,X=e=>{let a=S(e),s=c(e),r=n($,{children:[n("div",{className:"flex items-center gap-3",children:[e.icon,t("span",{children:e.title})]}),e.badge&&t(m,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:e.badge}),e.items&&t(J,{className:o("ml-2 h-4 w-4 transition-transform",b[e.title]?"rotate-180":"")})]}),i=o("flex w-full items-center justify-between rounded-2xl px-3 py-2 text-sm font-medium",e.isActive?"bg-primary/10 text-primary":"hover:bg-muted");return e.url?t(R,{href:e.url,className:i,onClick:l?g:void 0,children:r}):t("button",{className:i,onClick:()=>e.items&&q(e.title),children:r})},G=()=>{let e=v.find(s=>s.id===N);if(!e||!e.items||!e.maxItems)return null;let a=d[e.id]||[];return t(D,{open:!!N,onOpenChange:s=>!s&&y(null),children:n(B,{className:"sm:max-w-md",children:[n(F,{children:[n(U,{children:["Manage ",e.title," Favorites"]}),n("p",{className:"text-sm text-muted-foreground",children:["Select up to ",e.maxItems," items to show in ",e.title.toLowerCase(),"."]})]}),t(f,{className:"max-h-96 pr-4",children:t("div",{className:"space-y-4",children:e.items.map(s=>n("div",{className:"flex items-center space-x-2",children:[t(I,{id:s.id,checked:a.includes(s.id),onCheckedChange:()=>V(e.id,s.id),disabled:!a.includes(s.id)&&a.length>=(e.maxItems||0)}),n("label",{htmlFor:s.id,className:"flex items-center gap-2 text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer flex-1",children:[s.title,s.badge&&t(m,{variant:"outline",className:"text-xs",children:s.badge})]})]},s.id))})})]})})},w=n("div",{className:"flex h-full flex-col bg-background",children:[n("div",{className:"flex items-center justify-between p-4",children:[n("div",{className:"flex items-center gap-3",children:[t("div",{className:"flex h-14 w-14 items-center justify-center",children:t("img",{src:P,alt:"Header Logo",className:"h-14 w-14 object-contain"})}),n("div",{children:[t("h2",{className:"font-semibold",children:j}),t("p",{className:"text-xs text-muted-foreground",children:T})]})]}),l&&t(k,{variant:"ghost",size:"icon",onClick:g,children:t(_,{className:"h-5 w-5"})})]}),t("div",{className:"px-3 py-2",children:n("div",{className:"relative",children:[t(Y,{className:"absolute left-3 top-3 h-4 w-4 text-muted-foreground"}),t(C,{type:"search",placeholder:"Search...",className:"w-full rounded-2xl bg-muted pl-9 pr-4 py-2",value:p,onChange:e=>Q(e.target.value),onKeyPress:O})]})}),t(f,{className:"flex-1 px-3 py-2",children:t("div",{className:"space-y-1",children:W.map(e=>n("div",{className:"mb-1",children:[X(e),e.items&&b[e.title]&&n("div",{className:"mt-1 ml-6 space-y-1 border-l pl-3",children:[c(e).map(a=>n(R,{href:a.url,className:"flex items-center justify-between rounded-2xl px-3 py-2 text-sm hover:bg-muted",onClick:l?g:void 0,children:[a.title,a.badge&&t(m,{variant:"outline",className:"ml-auto rounded-full px-2 py-0.5 text-xs",children:a.badge})]},a.id)),S(e)&&e.items&&e.items.length>c(e).length&&n("button",{onClick:()=>y(e.id),className:"w-full px-3 py-2 text-xs text-muted-foreground hover:text-foreground hover:bg-muted rounded-2xl transition-colors text-left",children:["...",e.items.length-c(e).length," more available"]})]})]},e.id))})}),t("div",{className:"p-3",children:t("div",{className:"space-y-1",children:n("button",{className:"flex w-full items-center gap-3 rounded-2xl px-3 py-2 text-sm font-medium hover:bg-muted",children:[t(Z,{className:"h-5 w-5"}),t("span",{children:"Settings"})]})})}),t(G,{})]});return l?t("div",{className:o("fixed inset-y-0 left-0 z-50 w-64 transform bg-background transition-transform duration-300 ease-in-out",x?"translate-x-0":"-translate-x-full",h),children:w}):t("div",{className:o("fixed inset-y-0 left-0 z-30 w-64 transform bg-background transition-transform duration-300 ease-in-out",x?"translate-x-0":"-translate-x-full",h),children:w})}export{he as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as p,b as d,c}from"./chunk-YNCJATT7.mjs";import{c as R,h as v,i as w,j as B,k as P,l,m as s,o as b,p as o,q as n,r as u,v as C,w as g,x as y}from"./chunk-ZFUP5NVF.mjs";import{a as f}from"./chunk-7GSXNSLD.mjs";import{a as M}from"./chunk-FVM5SQT2.mjs";import{PencilLine as z,ChevronDown as h,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as T,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(M,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:x,editorComponent:N,loading:m=!1,editMode:k=!1,onAddDocument:A,onEditDocument:L,onPrintDocument:O,onGithubClick:G,onNavClick:S,LinkComponent:I,...D}){let F=I?t=>e(I,{...t}):S?({item:t,children:r,...j})=>e("button",{onClick:()=>S&&S(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...j,children:r}):t=>e("a",{href:t.href,...t});return a(R,{side:"right",variant:"inset",...D,children:[a(v,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(u,{onClick:A,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),G&&e(n,{children:e(u,{onClick:G,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(u,{onClick:()=>L(),variant:k?"outline":"default",className:$(k&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(u,{onClick:O,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),N&&a(T,{children:[e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Editor Controls",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:N})})]})}),e(B,{className:"mx-0"})]}),a(P,{className:"overflow-auto",children:[m&&a(T,{children:[a(l,{children:[e(s,{children:"Related Content"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(l,{children:[e(s,{children:"Table of Contents"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!m&&Object.keys(i).length>0&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Related Content",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(C,{children:i[t].map(r=>e(g,{children:e(y,{asChild:!0,isActive:!1,size:"sm",children:a(F,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(M,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),x&&!m&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Table of Contents",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:x.map(t=>a(n,{children:[e(u,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),t.items?.length?e(C,{children:t.items.map(r=>e(g,{children:e(y,{asChild:!0,isActive:r.isActive,size:"sm",children:e("a",{href:`#${r.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:r.title})})})},r.title))}):null]},t.title))})})})]})})]}),e(w,{})]})}export{Z as a};
4
+ import{a as p,b as d,c}from"./chunk-YNCJATT7.mjs";import{c as R,h as v,i as w,j as B,k as P,l,m as s,o as b,p as o,q as n,r as u,v as C,w as g,x as y}from"./chunk-WXTJ6DVT.mjs";import{a as f}from"./chunk-HH4JDBUN.mjs";import{a as M}from"./chunk-FVM5SQT2.mjs";import{PencilLine as z,ChevronDown as h,FilePlus as E,Edit as H,Printer as _}from"lucide-react";import $ from"clsx";import{Fragment as T,jsx as e,jsxs as a}from"react/jsx-runtime";var q=()=>e(M,{iconName:"github",size:"10x"});function Z({relatedContent:i,tableOfContents:x,editorComponent:N,loading:m=!1,editMode:k=!1,onAddDocument:A,onEditDocument:L,onPrintDocument:O,onGithubClick:G,onNavClick:S,LinkComponent:I,...D}){let F=I?t=>e(I,{...t}):S?({item:t,children:r,...j})=>e("button",{onClick:()=>S&&S(t),className:"flex items-center justify-start w-full text-sm text-left px-4 py-2",...j,children:r}):t=>e("a",{href:t.href,...t});return a(R,{side:"right",variant:"inset",...D,children:[a(v,{className:"border-b border-sidebar-border",children:[a(o,{className:"flex-row space-x-1",children:[e(n,{children:a(u,{onClick:A,children:[e(E,{})," ",e("span",{children:"Add Document"})]})}),G&&e(n,{children:e(u,{onClick:G,tooltip:"Open in GitHub",children:e(q,{})})})]}),a(o,{className:"flex-row space-x-1",children:[e(n,{className:"w-5/12",children:a(u,{onClick:()=>L(),variant:k?"outline":"default",className:$(k&&"text-accent"),children:[e(H,{})," ",e("span",{children:"Edit"})]})}),e(n,{className:"w-5/12",children:a(u,{onClick:O,children:[e(_,{})," ",e("span",{children:"Print"})]})})]})]}),N&&a(T,{children:[e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Editor Controls",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:N})})]})}),e(B,{className:"mx-0"})]}),a(P,{className:"overflow-auto",children:[m&&a(T,{children:[a(l,{children:[e(s,{children:"Related Content"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]}),a(l,{children:[e(s,{children:"Table of Contents"}),e(b,{children:e(o,{children:Array.from({length:3}).map((t,r)=>e(n,{children:e(f,{className:"bg-gray-200 w-full h-10"})},r))})})]})]}),i&&!m&&Object.keys(i).length>0&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Related Content",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:i&&Object.keys(i).map(t=>a(n,{children:[a("span",{className:"p-2 text-xs text-sidebar-foreground",children:[" ",t.charAt(0).toUpperCase()+t.slice(1)]}),t&&i[t]&&e(C,{children:i[t].map(r=>e(g,{children:e(y,{asChild:!0,isActive:!1,size:"sm",children:a(F,{href:r.url,item:r,className:"flex justify-between items-center w-full text-xs",children:[e("span",{children:r.label}),r.type==="note"&&e(z,{className:"ml-2 text-gray-400 !important",size:16}),r.type==="draft"&&e(M,{iconName:"code-pull-request-draft",className:"ml-2 text-gray-400 !important"})]})})},r.label))})]},t))})})})]})}),x&&!m&&e(p,{defaultOpen:!0,className:"group/collapsible",children:a(l,{children:[e(s,{asChild:!0,children:a(d,{children:["Table of Contents",e(h,{className:"ml-auto transition-transform group-data-[state=open]/collapsible:rotate-180"})]})}),e(b,{children:e(c,{children:e(o,{children:x.map(t=>a(n,{children:[e(u,{asChild:!0,children:e("a",{href:`#${t.url}`,className:"text-xs",children:t.title})}),t.items?.length?e(C,{children:t.items.map(r=>e(g,{children:e(y,{asChild:!0,isActive:r.isActive,size:"sm",children:e("a",{href:`#${r.url}`,className:"flex justify-between items-center w-full text-xs",children:e("span",{children:r.title})})})},r.title))}):null]},t.title))})})})]})})]}),e(w,{})]})}export{Z as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{f as l}from"./chunk-N3B3XNV3.mjs";import{a as r}from"./chunk-2QZUKVBA.mjs";import{a as s}from"./chunk-2BR55L74.mjs";import h from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var x=({links:o,media:i,children:m,richText:a})=>e("div",{children:t("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[m||a&&e(l,{className:"max-w-none p-0 mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(o)&&o.length>0&&e("ul",{className:"flex justify-center gap-4",children:o.map(({link:n},d)=>e("li",{children:e(r,{...n})},d))})]}),t("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[i&&typeof i=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:i}),i&&typeof i=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:i})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(p,{})]})}),p=()=>e("div",{className:"w-full h-[1240px] z-10",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[e("defs",{children:t("mask",{id:"mask",children:[e("rect",{width:"1920",height:"332",fill:"white"}),e("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),e("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),e("rect",{y:"330",width:"1920",height:"7",fill:"white"})," "]})});export{x as a};
4
+ import{f as l}from"./chunk-TR52MKZR.mjs";import{a as r}from"./chunk-JULD2KZR.mjs";import{a as s}from"./chunk-QXA6C5VE.mjs";import h from"next/image";import{jsx as e,jsxs as t}from"react/jsx-runtime";var x=({links:o,media:i,children:m,richText:a})=>e("div",{children:t("div",{className:"sticky top-0 h-[70vh] min-h-[600px]",children:[t("div",{className:"fixed inset-0 container mt-24 mb-8 z-10 flex items-start justify-center",children:[m||a&&e(l,{className:"max-w-none p-0 mb-6 ml-0 prose prose-headings:text-foreground prose-p:text-foreground",content:a,enableGutter:!0}),Array.isArray(o)&&o.length>0&&e("ul",{className:"flex justify-center gap-4",children:o.map(({link:n},d)=>e("li",{children:e(r,{...n})},d))})]}),t("div",{className:"fixed inset-0 h-[70vh] min-h-[600px] select-none",children:[i&&typeof i=="object"&&e(s,{fill:!0,imgClassName:"z-5 object-cover",priority:!1,loading:"lazy",resource:i}),i&&typeof i=="string"&&e("div",{children:e(h,{className:"-z-10 object-cover",alt:"",fill:!0,priority:!0,src:i})}),e("span",{className:"absolute inset-0 bg-gradient-to-b from-white dark:from-black"})]}),e(p,{})]})}),p=()=>e("div",{className:"w-full h-[1240px] z-10",children:t("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1920 337",style:{fontSize:0,float:"left",zIndex:20},className:"absolute -bottom-[2px] flex",children:[e("defs",{children:t("mask",{id:"mask",children:[e("rect",{width:"1920",height:"332",fill:"white"}),e("polygon",{points:"0 0 0 135 1255 330 1920 0 1920 0 1920 0 0 0"})]})}),e("rect",{width:"1920",height:"332",fill:"white",mask:"url(#mask)"}),e("rect",{y:"330",width:"1920",height:"7",fill:"white"})," "]})});export{x as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a}from"./chunk-MDJREBVI.mjs";import*as d from"react";import*as e from"@radix-ui/react-dropdown-menu";import{CheckIcon as m,ChevronRightIcon as u,DotFilledIcon as c}from"@radix-ui/react-icons";import{jsx as i,jsxs as s}from"react/jsx-runtime";var h=e.Root,N=e.Trigger,x=e.Group,I=e.Portal,C=e.Sub,S=e.RadioGroup,l=d.forwardRef(({className:o,inset:t,children:n,...r},p)=>s(e.SubTrigger,{ref:p,className:a("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",o),...r,children:[n,i(u,{className:"ml-auto"})]}));l.displayName=e.SubTrigger.displayName;var f=d.forwardRef(({className:o,...t},n)=>i(e.SubContent,{ref:n,className:a("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o),...t}));f.displayName=e.SubContent.displayName;var w=d.forwardRef(({className:o,sideOffset:t=4,...n},r)=>i(e.Portal,{children:i(e.Content,{ref:r,sideOffset:t,className:a("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o),...n})}));w.displayName=e.Content.displayName;var v=d.forwardRef(({className:o,inset:t,...n},r)=>i(e.Item,{ref:r,className:a("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",o),...n}));v.displayName=e.Item.displayName;var M=d.forwardRef(({className:o,children:t,checked:n,...r},p)=>s(e.CheckboxItem,{ref:p,className:a("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o),checked:n,...r,children:[i("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i(e.ItemIndicator,{children:i(m,{className:"h-4 w-4"})})}),t]}));M.displayName=e.CheckboxItem.displayName;var D=d.forwardRef(({className:o,children:t,...n},r)=>s(e.RadioItem,{ref:r,className:a("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o),...n,children:[i("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i(e.ItemIndicator,{children:i(c,{className:"h-4 w-4 fill-current"})})}),t]}));D.displayName=e.RadioItem.displayName;var P=d.forwardRef(({className:o,inset:t,...n},r)=>i(e.Label,{ref:r,className:a("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",o),...n}));P.displayName=e.Label.displayName;var R=d.forwardRef(({className:o,...t},n)=>i(e.Separator,{ref:n,className:a("-mx-1 my-1 h-px bg-muted",o),...t}));R.displayName=e.Separator.displayName;var b=({className:o,...t})=>i("span",{className:a("ml-auto text-xs tracking-widest opacity-60",o),...t});b.displayName="DropdownMenuShortcut";export{h as a,N as b,x as c,I as d,C as e,S as f,l as g,f as h,w as i,v as j,M as k,D as l,P as m,R as n,b as o};
4
+ import{a}from"./chunk-TSEOL53Y.mjs";import*as d from"react";import*as e from"@radix-ui/react-dropdown-menu";import{CheckIcon as m,ChevronRightIcon as u,DotFilledIcon as c}from"@radix-ui/react-icons";import{jsx as i,jsxs as s}from"react/jsx-runtime";var h=e.Root,N=e.Trigger,x=e.Group,I=e.Portal,C=e.Sub,S=e.RadioGroup,l=d.forwardRef(({className:o,inset:t,children:n,...r},p)=>s(e.SubTrigger,{ref:p,className:a("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",o),...r,children:[n,i(u,{className:"ml-auto"})]}));l.displayName=e.SubTrigger.displayName;var f=d.forwardRef(({className:o,...t},n)=>i(e.SubContent,{ref:n,className:a("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o),...t}));f.displayName=e.SubContent.displayName;var w=d.forwardRef(({className:o,sideOffset:t=4,...n},r)=>i(e.Portal,{children:i(e.Content,{ref:r,sideOffset:t,className:a("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o),...n})}));w.displayName=e.Content.displayName;var v=d.forwardRef(({className:o,inset:t,...n},r)=>i(e.Item,{ref:r,className:a("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",o),...n}));v.displayName=e.Item.displayName;var M=d.forwardRef(({className:o,children:t,checked:n,...r},p)=>s(e.CheckboxItem,{ref:p,className:a("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o),checked:n,...r,children:[i("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i(e.ItemIndicator,{children:i(m,{className:"h-4 w-4"})})}),t]}));M.displayName=e.CheckboxItem.displayName;var D=d.forwardRef(({className:o,children:t,...n},r)=>s(e.RadioItem,{ref:r,className:a("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o),...n,children:[i("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:i(e.ItemIndicator,{children:i(c,{className:"h-4 w-4 fill-current"})})}),t]}));D.displayName=e.RadioItem.displayName;var P=d.forwardRef(({className:o,inset:t,...n},r)=>i(e.Label,{ref:r,className:a("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",o),...n}));P.displayName=e.Label.displayName;var R=d.forwardRef(({className:o,...t},n)=>i(e.Separator,{ref:n,className:a("-mx-1 my-1 h-px bg-muted",o),...t}));R.displayName=e.Separator.displayName;var b=({className:o,...t})=>i("span",{className:a("ml-auto text-xs tracking-widest opacity-60",o),...t});b.displayName="DropdownMenuShortcut";export{h as a,N as b,x as c,I as d,C as e,S as f,l as g,f as h,w as i,v as j,M as k,D as l,P as m,R as n,b as o};