cortex-react-components 2.12.2 → 2.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-OU7KVCBI.mjs → chunk-22LHS2J6.mjs} +1 -1
- package/dist/{chunk-QXA6C5VE.mjs → chunk-2BR55L74.mjs} +1 -1
- package/dist/{chunk-TR52MKZR.mjs → chunk-2BRDNDUB.mjs} +1 -1
- package/dist/{chunk-6PQ67CC6.mjs → chunk-2LINLX4S.mjs} +1 -1
- package/dist/{chunk-JULD2KZR.mjs → chunk-2QZUKVBA.mjs} +1 -1
- package/dist/{chunk-5N2D3BGH.mjs → chunk-2RGAV55J.mjs} +1 -1
- package/dist/chunk-33XEFJDE.mjs +4 -0
- package/dist/{chunk-E6IIUYQ7.mjs → chunk-3AWUWWR4.mjs} +1 -1
- package/dist/{chunk-CXXPSCV3.mjs → chunk-3HNU2NYP.mjs} +1 -1
- package/dist/{chunk-4OAROJ4M.mjs → chunk-3NRXQBBS.mjs} +1 -1
- package/dist/{chunk-AG6IN5S7.mjs → chunk-3UMMMQEH.mjs} +1 -1
- package/dist/chunk-4A3MGS6I.mjs +1 -0
- package/dist/{chunk-2C3C5SQQ.mjs → chunk-4CU7D3X2.mjs} +1 -1
- package/dist/{chunk-ZJBZTPLD.mjs → chunk-4QRKVSTE.mjs} +1 -1
- package/dist/{chunk-X5RHYJW3.mjs → chunk-4RX6WI4T.mjs} +1 -1
- package/dist/{chunk-T3NMKARZ.mjs → chunk-4UIARERB.mjs} +1 -1
- package/dist/{chunk-D42KIYIO.mjs → chunk-4WA47ZQA.mjs} +1 -1
- package/dist/chunk-54K53IWE.mjs +4 -0
- package/dist/{chunk-PXAKUW3U.mjs → chunk-56X4PU43.mjs} +1 -1
- package/dist/{chunk-ZNV6MCYI.mjs → chunk-5AWZJAK3.mjs} +1 -1
- package/dist/{chunk-Z756RYIZ.mjs → chunk-5BT4EWU5.mjs} +1 -1
- package/dist/{chunk-WWTVAR4J.mjs → chunk-5BV4MHV6.mjs} +1 -1
- package/dist/{chunk-3ZXW3WQU.mjs → chunk-5MWZTJYP.mjs} +1 -1
- package/dist/{chunk-PMOMDGBA.mjs → chunk-5NRGSTPV.mjs} +1 -1
- package/dist/{chunk-EPDV35LO.mjs → chunk-5RTGHMF3.mjs} +1 -1
- package/dist/{chunk-H45UTXIK.mjs → chunk-5WV5ZFEP.mjs} +1 -1
- package/dist/{chunk-OGN7YDFB.mjs → chunk-6C4WESLL.mjs} +1 -1
- package/dist/{chunk-GFLX67DN.mjs → chunk-6DEY5ZDD.mjs} +1 -1
- package/dist/{chunk-QEFMYXHA.mjs → chunk-6HLXIE4P.mjs} +1 -1
- package/dist/{chunk-C4SUCDRQ.mjs → chunk-6MSM3CZ6.mjs} +1 -1
- package/dist/{chunk-TUTSJOO4.mjs → chunk-6SWKEZN6.mjs} +1 -1
- package/dist/{chunk-QAIS2C6W.mjs → chunk-6WQXZ6IE.mjs} +1 -1
- package/dist/{chunk-TYMRNSJ3.mjs → chunk-6XUIHSKG.mjs} +1 -1
- package/dist/{chunk-VFPS3FYN.mjs → chunk-75F3LJMX.mjs} +1 -1
- package/dist/{chunk-WJZDHRGO.mjs → chunk-75WE6ZXB.mjs} +1 -1
- package/dist/{chunk-LQDJWEHX.mjs → chunk-76M7JE4D.mjs} +1 -1
- package/dist/{chunk-F5JHHMZQ.mjs → chunk-7BXIU4ZM.mjs} +1 -1
- package/dist/{chunk-HH4JDBUN.mjs → chunk-7GSXNSLD.mjs} +1 -1
- package/dist/{chunk-6GDVIZS5.mjs → chunk-7R47MHQE.mjs} +1 -1
- package/dist/{chunk-52UFJIL4.mjs → chunk-7VDNUJZC.mjs} +1 -1
- package/dist/{chunk-ESTO675Y.mjs → chunk-7WIO2CIC.mjs} +1 -1
- package/dist/{chunk-CXK2IY4V.mjs → chunk-AB43AQKL.mjs} +1 -1
- package/dist/{chunk-6UVEJCVM.mjs → chunk-AJQHGVZ5.mjs} +1 -1
- package/dist/{chunk-TFPWTJ2V.mjs → chunk-AMVJPDM3.mjs} +1 -1
- package/dist/{chunk-FSV7RCTY.mjs → chunk-AP32JABH.mjs} +1 -1
- package/dist/{chunk-YVNVQONM.mjs → chunk-AREQGH47.mjs} +1 -1
- package/dist/{chunk-SIFQNSEM.mjs → chunk-AZ4VR5JX.mjs} +1 -1
- package/dist/{chunk-GIGKJZGA.mjs → chunk-AZKOVKSK.mjs} +1 -1
- package/dist/{chunk-DA5SDQDL.mjs → chunk-B2EJGXDG.mjs} +1 -1
- package/dist/{chunk-JKPUXPHP.mjs → chunk-B3F6F2S4.mjs} +1 -1
- package/dist/{chunk-VXZPPTQQ.mjs → chunk-B4H6T2GP.mjs} +1 -1
- package/dist/{chunk-XXFUUOSB.mjs → chunk-BG7QXNV5.mjs} +1 -1
- package/dist/{chunk-U5UV7T63.mjs → chunk-BMA4266L.mjs} +1 -1
- package/dist/{chunk-GCIWMQMK.mjs → chunk-C4RWEPVF.mjs} +1 -1
- package/dist/{chunk-UJ6M7EV5.mjs → chunk-CGDLOY7W.mjs} +1 -1
- package/dist/{chunk-3JEM6RIR.mjs → chunk-CO6AQNZ5.mjs} +1 -1
- package/dist/{chunk-2JKLBLDE.mjs → chunk-CSBGSBEU.mjs} +1 -1
- package/dist/{chunk-TAVSBP7M.mjs → chunk-CTAIR3TE.mjs} +1 -1
- package/dist/{chunk-QB63WPDB.mjs → chunk-CXOVEABI.mjs} +1 -1
- package/dist/{chunk-QUDKEIE6.mjs → chunk-D3B2YO7G.mjs} +1 -1
- package/dist/{chunk-BEPKJ67R.mjs → chunk-D4IMQTVU.mjs} +1 -1
- package/dist/{chunk-NMAMUYGQ.mjs → chunk-DBY4SXQI.mjs} +1 -1
- package/dist/{chunk-N5GHL7UZ.mjs → chunk-DFIXTV2M.mjs} +1 -1
- package/dist/{chunk-AQIMDHFI.mjs → chunk-DSSHQ6K7.mjs} +1 -1
- package/dist/{chunk-7EEEXU54.mjs → chunk-E4TE4NV6.mjs} +1 -1
- package/dist/{chunk-6PBOA7BL.mjs → chunk-EAFH3DTH.mjs} +1 -1
- package/dist/{chunk-WNBJ7C5Y.mjs → chunk-EHSOO47V.mjs} +1 -1
- package/dist/{chunk-BUTUPCGN.mjs → chunk-EM3T2XYC.mjs} +1 -1
- package/dist/{chunk-3KBY7FKD.mjs → chunk-EOXVYLPB.mjs} +1 -1
- package/dist/{chunk-44JXFP6W.mjs → chunk-F5N6KQA2.mjs} +1 -1
- package/dist/{chunk-5AYDHF5U.mjs → chunk-FE7ZGUPU.mjs} +1 -1
- package/dist/{chunk-6CAO4IKW.mjs → chunk-FGEFYI5E.mjs} +1 -1
- package/dist/{chunk-A4XWPIEI.mjs → chunk-FHMQVAKQ.mjs} +1 -1
- package/dist/{chunk-VRZHKAJK.mjs → chunk-FMH5CZ7X.mjs} +1 -1
- package/dist/{chunk-TNCD5YIY.mjs → chunk-FMJBJ3HN.mjs} +1 -1
- package/dist/{chunk-JVJG2LOA.mjs → chunk-FT3AE7L2.mjs} +1 -1
- package/dist/{chunk-VB7K44IF.mjs → chunk-GHOL5L32.mjs} +1 -1
- package/dist/{chunk-HTQIVWYI.mjs → chunk-GNXLNZ6A.mjs} +1 -1
- package/dist/{chunk-FT6JQ4AC.mjs → chunk-GTZJWMZR.mjs} +1 -1
- package/dist/{chunk-OHDNPAPI.mjs → chunk-I3E2TYYZ.mjs} +1 -1
- package/dist/{chunk-2LLMXGTP.mjs → chunk-IC2ABKAM.mjs} +1 -1
- package/dist/{chunk-QIDPNZOL.mjs → chunk-IJQC7T2R.mjs} +1 -1
- package/dist/{chunk-NQPBIFGO.mjs → chunk-INCYANPB.mjs} +1 -1
- package/dist/{chunk-XXWSCTF5.mjs → chunk-INPV5MBU.mjs} +1 -1
- package/dist/{chunk-AWMXVMUW.mjs → chunk-IPIDKLAW.mjs} +1 -1
- package/dist/{chunk-N5BLWWDM.mjs → chunk-IQQ7ZWCP.mjs} +1 -1
- package/dist/{chunk-NGC3C4FW.mjs → chunk-ISBVFNWD.mjs} +1 -1
- package/dist/{chunk-EBO2R46A.mjs → chunk-J4IHIM6A.mjs} +1 -1
- package/dist/{chunk-7QBPKUWN.mjs → chunk-JFFTEK6Z.mjs} +1 -1
- package/dist/{chunk-E6W2YMC3.mjs → chunk-JHNVX4UB.mjs} +1 -1
- package/dist/chunk-JXIKSSGH.mjs +1 -0
- package/dist/{chunk-4OK6PUOO.mjs → chunk-JYL3XIJX.mjs} +1 -1
- package/dist/{chunk-UXCCCQCB.mjs → chunk-KFCSVEI6.mjs} +1 -1
- package/dist/{chunk-GNIVCF53.mjs → chunk-KGEIN56Y.mjs} +1 -1
- package/dist/chunk-KGKGZ4H2.mjs +4 -0
- package/dist/{chunk-HTCM27MI.mjs → chunk-KVD6XDZT.mjs} +1 -1
- package/dist/chunk-KW6L6KBY.mjs +1 -0
- package/dist/{chunk-A5TPL5CB.mjs → chunk-KWYJ3XZI.mjs} +1 -1
- package/dist/{chunk-GYTXBVCX.mjs → chunk-KX2NCNCS.mjs} +1 -1
- package/dist/{chunk-BIAOADJS.mjs → chunk-KY7WQYN4.mjs} +1 -1
- package/dist/{chunk-GJUA2KUH.mjs → chunk-L5JPAKPM.mjs} +1 -1
- package/dist/{chunk-HPZPRZWG.mjs → chunk-LEC6GEWS.mjs} +1 -1
- package/dist/{chunk-67RPQW7V.mjs → chunk-LKGCU7H6.mjs} +1 -1
- package/dist/{chunk-6WVIXUXX.mjs → chunk-LLED3RQS.mjs} +1 -1
- package/dist/{chunk-LARQXED4.mjs → chunk-LVFMFRBR.mjs} +1 -1
- package/dist/{chunk-S7N4CSMJ.mjs → chunk-LVK4QE5D.mjs} +1 -1
- package/dist/{chunk-EESKUTPD.mjs → chunk-LXZAOORS.mjs} +1 -1
- package/dist/{chunk-OKAETRO6.mjs → chunk-M4UVNIK2.mjs} +1 -1
- package/dist/{chunk-FDJHY37W.mjs → chunk-MAAKU7PN.mjs} +1 -1
- package/dist/chunk-MBPTBEOX.mjs +1 -0
- package/dist/chunk-MDJREBVI.mjs +1 -0
- package/dist/{chunk-EYRTGZWR.mjs → chunk-MFCVMJBO.mjs} +1 -1
- package/dist/{chunk-Q6FPZ6J3.mjs → chunk-MGYV46AJ.mjs} +1 -1
- package/dist/{chunk-3GLK3JM6.mjs → chunk-MU5WPW4N.mjs} +1 -1
- package/dist/{chunk-BOG3XLGP.mjs → chunk-MZP7RIQZ.mjs} +1 -1
- package/dist/{chunk-BXVJNWFA.mjs → chunk-NINFDOV5.mjs} +1 -1
- package/dist/chunk-NKDFAFWH.mjs +1 -0
- package/dist/chunk-NO3FZ27F.mjs +1 -0
- package/dist/chunk-NPVUICIF.mjs +1 -0
- package/dist/{chunk-NN2RHTGW.mjs → chunk-NSMXJCXE.mjs} +1 -1
- package/dist/{chunk-2WLZ5T2D.mjs → chunk-NUHGPB5U.mjs} +1 -1
- package/dist/chunk-O5P35LEY.mjs +4 -0
- package/dist/{chunk-DGJHJHFF.mjs → chunk-OCPX4QPC.mjs} +1 -1
- package/dist/{chunk-RU435LAU.mjs → chunk-OM5ZUHCN.mjs} +1 -1
- package/dist/{chunk-YUW3HHAK.mjs → chunk-OPLUKFRN.mjs} +1 -1
- package/dist/{chunk-KUVPOOSW.mjs → chunk-ORNGKQM7.mjs} +1 -1
- package/dist/{chunk-F6KHZ4OS.mjs → chunk-OSXK6NGG.mjs} +1 -1
- package/dist/{chunk-FPWCCVDI.mjs → chunk-OYZDAMCS.mjs} +1 -1
- package/dist/{chunk-PUAHE5VJ.mjs → chunk-PDY7JYY3.mjs} +1 -1
- package/dist/{chunk-E2MPOOEL.mjs → chunk-PWXCBW2H.mjs} +1 -1
- package/dist/{chunk-IG6J62QA.mjs → chunk-Q5NHYYRS.mjs} +1 -1
- package/dist/{chunk-3HD7RAT7.mjs → chunk-Q5Q3DJWU.mjs} +1 -1
- package/dist/{chunk-532HP37G.mjs → chunk-Q5XT55O3.mjs} +1 -1
- package/dist/{chunk-RD7LJPUV.mjs → chunk-Q67RF7VO.mjs} +1 -1
- package/dist/{chunk-K5GFFN67.mjs → chunk-Q6PKGY27.mjs} +1 -1
- package/dist/{chunk-HLWGNTZD.mjs → chunk-QBUU2AQL.mjs} +1 -1
- package/dist/{chunk-JTFMN7OL.mjs → chunk-QQVPLMPJ.mjs} +1 -1
- package/dist/{chunk-DFWWQRJ2.mjs → chunk-RGOKBIQ5.mjs} +1 -1
- package/dist/{chunk-E7SIU5SS.mjs → chunk-RHR3YOLG.mjs} +1 -1
- package/dist/{chunk-EYQ4UGAJ.mjs → chunk-RJGYVDOU.mjs} +1 -1
- package/dist/{chunk-P5U27QUJ.mjs → chunk-RLVKIMGU.mjs} +1 -1
- package/dist/{chunk-EUXJZBRI.mjs → chunk-RR4QSUV2.mjs} +1 -1
- package/dist/{chunk-WKLJU63E.mjs → chunk-RULSHTXR.mjs} +1 -1
- package/dist/{chunk-QMTI6672.mjs → chunk-RVHCTANZ.mjs} +1 -1
- package/dist/{chunk-RHYQ4V7N.mjs → chunk-SOIRB5TV.mjs} +1 -1
- package/dist/{chunk-RFNYVF6F.mjs → chunk-SOLZ4VQH.mjs} +1 -1
- package/dist/{chunk-55OESIAK.mjs → chunk-TEB67NCD.mjs} +1 -1
- package/dist/{chunk-WH24BWZV.mjs → chunk-TJVEQJW3.mjs} +1 -1
- package/dist/{chunk-OF63XSJ4.mjs → chunk-TR6RBROH.mjs} +1 -1
- package/dist/{chunk-RAAY7PEH.mjs → chunk-TVZOULLL.mjs} +1 -1
- package/dist/{chunk-FJUAYJF4.mjs → chunk-TXVA6XJT.mjs} +1 -1
- package/dist/{chunk-HK52LPE3.mjs → chunk-TZKQXT7Y.mjs} +1 -1
- package/dist/{chunk-HYIRE7BK.mjs → chunk-U5PBLRRV.mjs} +1 -1
- package/dist/{chunk-5T4OPJ7F.mjs → chunk-U67OTPTT.mjs} +1 -1
- package/dist/{chunk-AARMIMMZ.mjs → chunk-UWEU6TLS.mjs} +1 -1
- package/dist/{chunk-5YJFMMVM.mjs → chunk-V6GC3UGV.mjs} +1 -1
- package/dist/chunk-VFUTR2R2.mjs +4 -0
- package/dist/{chunk-E43QS242.mjs → chunk-VGWDYD6Z.mjs} +1 -1
- package/dist/{chunk-6TLGI4P6.mjs → chunk-VMAPGGGW.mjs} +1 -1
- package/dist/chunk-WDI7JGA6.mjs +1 -0
- package/dist/{chunk-YHTFEWSZ.mjs → chunk-WIRQ5IRT.mjs} +1 -1
- package/dist/{chunk-UY4BSKPK.mjs → chunk-WISC5QJV.mjs} +1 -1
- package/dist/{chunk-7RKPUKFH.mjs → chunk-WUA65ZZB.mjs} +1 -1
- package/dist/{chunk-EGERAM4Q.mjs → chunk-X3JZSN3W.mjs} +1 -1
- package/dist/{chunk-T3BIRW2W.mjs → chunk-XBCYPOFD.mjs} +1 -1
- package/dist/{chunk-TZTQENNX.mjs → chunk-XGIYNUGC.mjs} +1 -1
- package/dist/chunk-XGRRLABA.mjs +8 -0
- package/dist/{chunk-WLM2ZFHF.mjs → chunk-YFAZQYK4.mjs} +1 -1
- package/dist/{chunk-7WKUKFCT.mjs → chunk-YO3GQYRJ.mjs} +1 -1
- package/dist/{chunk-EFIJNPMM.mjs → chunk-YRMNCHFO.mjs} +1 -1
- package/dist/{chunk-BM2ZNFM6.mjs → chunk-Z22NSJMF.mjs} +1 -1
- package/dist/{chunk-5WDNNO37.mjs → chunk-ZEALRBXW.mjs} +1 -1
- package/dist/{chunk-FHPZSG7W.mjs → chunk-ZGQC6O62.mjs} +1 -1
- package/dist/{chunk-LCIKBYDR.mjs → chunk-ZMB6R6JX.mjs} +1 -1
- package/dist/chunk-ZMSNHKKT.mjs +1 -0
- package/dist/{chunk-A7S4L4P2.mjs → chunk-ZSIYEVUV.mjs} +1 -1
- package/dist/{chunk-7Z3TOFNL.mjs → chunk-ZUA4KNIR.mjs} +1 -1
- package/dist/chunk-ZWHGOTSF.mjs +1 -0
- package/dist/{chunk-UBCJPXKD.mjs → chunk-ZXPDSSCF.mjs} +1 -1
- package/dist/components/AdvancedComponents/AppSidebar.js +1 -1
- package/dist/components/AdvancedComponents/AppSidebar.mjs +1 -1
- package/dist/components/AdvancedComponents/CommentSection.js +1 -1
- package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
- package/dist/components/AdvancedComponents/EditableField.js +1 -1
- package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
- package/dist/components/AdvancedComponents/app-header.js +1 -1
- package/dist/components/AdvancedComponents/app-header.mjs +1 -1
- package/dist/components/AdvancedComponents/index.js +1 -1
- package/dist/components/AdvancedComponents/index.mjs +1 -1
- package/dist/components/AdvancedComponents/navigation-tabs.js +1 -1
- package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
- package/dist/components/AdvancedComponents/notifications-panel.js +1 -1
- package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
- package/dist/components/AdvancedComponents/switch.js +1 -1
- package/dist/components/AdvancedComponents/switch.mjs +1 -1
- package/dist/components/AdvancedComponents/theme-toggle.js +1 -1
- package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
- package/dist/components/AdvancedComponents/user-selection.js +1 -1
- package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
- package/dist/components/Blocks/Banner.js +1 -1
- package/dist/components/Blocks/Banner.mjs +1 -1
- package/dist/components/Blocks/CallToAction.js +1 -1
- package/dist/components/Blocks/CallToAction.mjs +1 -1
- package/dist/components/Blocks/CaseStudy.js +1 -1
- package/dist/components/Blocks/CaseStudy.mjs +1 -1
- package/dist/components/Blocks/Code.client.js +1 -1
- package/dist/components/Blocks/Code.client.mjs +1 -1
- package/dist/components/Blocks/Code.js +1 -1
- package/dist/components/Blocks/Code.mjs +1 -1
- package/dist/components/Blocks/CollapsibleArea.js +1 -1
- package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
- package/dist/components/Blocks/ConsultantProfile.js +1 -1
- package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
- package/dist/components/Blocks/Content.js +1 -1
- package/dist/components/Blocks/Content.mjs +1 -1
- package/dist/components/Blocks/CopyButton.js +1 -1
- package/dist/components/Blocks/CopyButton.mjs +1 -1
- package/dist/components/Blocks/FeaturesBlock.js +1 -1
- package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
- package/dist/components/Blocks/ImageBlock.js +1 -1
- package/dist/components/Blocks/ImageBlock.mjs +1 -1
- package/dist/components/Blocks/MediaBlock.js +1 -1
- package/dist/components/Blocks/MediaBlock.mjs +1 -1
- package/dist/components/Blocks/ProposalSummary.js +1 -1
- package/dist/components/Blocks/ProposalSummary.mjs +1 -1
- package/dist/components/Blocks/RelatedPosts.js +1 -1
- package/dist/components/Blocks/RelatedPosts.mjs +1 -1
- package/dist/components/Blocks/RenderBlocks.js +1 -1
- package/dist/components/Blocks/RenderBlocks.mjs +1 -1
- package/dist/components/Blocks/ReusableContentBlock.js +1 -1
- package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
- package/dist/components/Blocks/index.js +1 -1
- package/dist/components/Blocks/index.mjs +1 -1
- package/dist/components/CRM/CogeBoard.js +1 -1
- package/dist/components/CRM/CogeBoard.mjs +1 -1
- package/dist/components/CRM/DealCard.js +1 -1
- package/dist/components/CRM/DealCard.mjs +1 -1
- package/dist/components/CRM/DealDetails.js +1 -1
- package/dist/components/CRM/DealDetails.mjs +1 -1
- package/dist/components/CRM/KanbanBoard.js +1 -1
- package/dist/components/CRM/KanbanBoard.mjs +1 -1
- package/dist/components/CRM/KanbanColumn.js +1 -1
- package/dist/components/CRM/KanbanColumn.mjs +1 -1
- package/dist/components/CRM/NewCustomerForm.js +1 -1
- package/dist/components/CRM/NewCustomerForm.mjs +1 -1
- package/dist/components/CRM/NewDealForm.js +1 -1
- package/dist/components/CRM/NewDealForm.mjs +1 -1
- package/dist/components/CRM/index.js +1 -1
- package/dist/components/CRM/index.mjs +1 -1
- package/dist/components/Cards/ContentCard.js +1 -1
- package/dist/components/Cards/ContentCard.mjs +1 -1
- package/dist/components/Cards/CustomerCard.js +1 -1
- package/dist/components/Cards/CustomerCard.mjs +1 -1
- package/dist/components/Cards/EventCard.js +1 -1
- package/dist/components/Cards/EventCard.mjs +1 -1
- package/dist/components/Cards/FeatureCard.js +1 -1
- package/dist/components/Cards/FeatureCard.mjs +1 -1
- package/dist/components/Cards/HeroCard.js +1 -1
- package/dist/components/Cards/HeroCard.mjs +1 -1
- package/dist/components/Cards/Image.js +1 -1
- package/dist/components/Cards/Image.mjs +1 -1
- package/dist/components/Cards/PricingCard.js +1 -1
- package/dist/components/Cards/PricingCard.mjs +1 -1
- package/dist/components/Cards/ProjectCard.js +3 -3
- package/dist/components/Cards/ProjectCard.mjs +1 -1
- package/dist/components/Cards/ServiceCard.js +1 -1
- package/dist/components/Cards/ServiceCard.mjs +1 -1
- package/dist/components/Cards/index.js +4 -4
- package/dist/components/Cards/index.mjs +1 -1
- package/dist/components/Chat/ChatCardArtefact.js +1 -1
- package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
- package/dist/components/Chat/ChatCardTask.js +1 -1
- package/dist/components/Chat/ChatCardTask.mjs +1 -1
- package/dist/components/Chat/ChatInterface.js +2 -2
- package/dist/components/Chat/ChatInterface.mjs +1 -1
- package/dist/components/Chat/ChatInterfaceMessages.js +2 -2
- package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
- package/dist/components/Chat/ChatMessage.js +2 -2
- package/dist/components/Chat/ChatMessage.mjs +1 -1
- package/dist/components/Chat/CopilotInterface.js +3 -3
- package/dist/components/Chat/CopilotInterface.mjs +1 -1
- package/dist/components/Chat/capability-menu.js +1 -1
- package/dist/components/Chat/capability-menu.mjs +1 -1
- package/dist/components/Chat/chat-session-sidebar.js +1 -1
- package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
- package/dist/components/Chat/demo-long-messages.js +9 -9
- package/dist/components/Chat/demo-long-messages.mjs +1 -1
- package/dist/components/Chat/demo-tests.js +22 -22
- package/dist/components/Chat/demo-tests.mjs +1 -1
- package/dist/components/Chat/demo.js +3 -3
- package/dist/components/Chat/demo.mjs +1 -1
- package/dist/components/Chat/example-usage.js +3 -3
- package/dist/components/Chat/example-usage.mjs +1 -1
- package/dist/components/Chat/example-with-file-uploads.js +1 -1
- package/dist/components/Chat/example-with-file-uploads.mjs +1 -1
- package/dist/components/Chat/example-with-vercel-ai.js +3 -3
- package/dist/components/Chat/example-with-vercel-ai.mjs +1 -1
- package/dist/components/Chat/index.js +3 -3
- package/dist/components/Chat/index.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.js +2 -2
- package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.js +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.js +2 -2
- package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
- package/dist/components/DeliveryLead/index.js +2 -2
- package/dist/components/DeliveryLead/index.mjs +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.js +1 -1
- package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
- package/dist/components/DigitalColleagues/DashboardHeader.js +1 -1
- package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.js +1 -1
- package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
- package/dist/components/DigitalColleagues/MainPage.js +1 -1
- package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
- package/dist/components/DigitalColleagues/ManagementSidebar.d.ts +0 -3
- package/dist/components/DigitalColleagues/ManagementSidebar.js +1 -1
- package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.d.ts +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.js +1 -1
- package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +1 -1
- package/dist/components/DigitalColleagues/SearchableSelect.js +1 -1
- package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.d.ts +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.js +1 -1
- package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.js +1 -1
- package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.js +1 -1
- package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
- package/dist/components/DigitalColleagues/Views/index.js +1 -1
- package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-card.d.ts +1 -1
- package/dist/components/DigitalColleagues/colleague-card.js +1 -2
- package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-form.js +1 -1
- package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
- package/dist/components/DigitalColleagues/colleague-type-selection.js +1 -1
- package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-clone.js +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-options.js +1 -1
- package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
- package/dist/components/DigitalColleagues/document-edit.js +1 -1
- package/dist/components/DigitalColleagues/document-edit.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview-examples.js +5 -5
- package/dist/components/DigitalColleagues/document-preview-examples.mjs +1 -1
- package/dist/components/DigitalColleagues/document-preview.js +1 -1
- package/dist/components/DigitalColleagues/document-preview.mjs +1 -1
- package/dist/components/DigitalColleagues/index.js +1 -1
- package/dist/components/DigitalColleagues/index.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-browser.js +1 -1
- package/dist/components/DigitalColleagues/knowledge-browser.mjs +1 -1
- package/dist/components/DigitalColleagues/knowledge-search.js +1 -1
- package/dist/components/DigitalColleagues/knowledge-search.mjs +1 -1
- package/dist/components/DigitalColleagues/team-form.js +1 -1
- package/dist/components/DigitalColleagues/team-form.mjs +1 -1
- package/dist/components/DigitalColleagues/test-data.js +1 -1
- package/dist/components/DigitalColleagues/test-data.mjs +1 -1
- package/dist/components/DigitalColleagues/types.d.ts +10 -1
- package/dist/components/HeaderFooter/BrandLogo.js +1 -1
- package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
- package/dist/components/HeaderFooter/Footer.js +1 -1
- package/dist/components/HeaderFooter/Footer.mjs +1 -1
- package/dist/components/HeaderFooter/Header.js +1 -1
- package/dist/components/HeaderFooter/Header.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.js +1 -1
- package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.js +1 -1
- package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.js +1 -1
- package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
- package/dist/components/HeaderFooter/RelatedPagesMenu.js +1 -1
- package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
- package/dist/components/HeaderFooter/SectionHeading.js +1 -1
- package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.js +1 -1
- package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
- package/dist/components/HeaderFooter/VideoHeader.js +1 -1
- package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
- package/dist/components/HeaderFooter/enhanced-header.js +1 -1
- package/dist/components/HeaderFooter/enhanced-header.mjs +1 -1
- package/dist/components/HeaderFooter/index.js +1 -1
- package/dist/components/HeaderFooter/index.mjs +1 -1
- package/dist/components/Heros/DashboardHero/DashboardHero.js +1 -1
- package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
- package/dist/components/Heros/DashboardHero/index.js +1 -1
- package/dist/components/Heros/DashboardHero/index.mjs +1 -1
- package/dist/components/Heros/HighImpact/index.js +1 -1
- package/dist/components/Heros/HighImpact/index.mjs +1 -1
- package/dist/components/Heros/LowImpact/index.js +1 -1
- package/dist/components/Heros/LowImpact/index.mjs +1 -1
- package/dist/components/Heros/MediumImpact/index.js +1 -1
- package/dist/components/Heros/MediumImpact/index.mjs +1 -1
- package/dist/components/Heros/PostHero/index.js +1 -1
- package/dist/components/Heros/PostHero/index.mjs +1 -1
- package/dist/components/Heros/RenderHero.js +1 -1
- package/dist/components/Heros/RenderHero.mjs +1 -1
- package/dist/components/Heros/SectionHero/index.js +1 -1
- package/dist/components/Heros/SectionHero/index.mjs +1 -1
- package/dist/components/Heros/index.js +1 -1
- package/dist/components/Heros/index.mjs +1 -1
- package/dist/components/Holidays/ApproveLeave.js +1 -1
- package/dist/components/Holidays/ApproveLeave.mjs +1 -1
- package/dist/components/Holidays/CalendarView.js +1 -1
- package/dist/components/Holidays/CalendarView.mjs +1 -1
- package/dist/components/Holidays/HolidayGrid.js +1 -1
- package/dist/components/Holidays/HolidayGrid.mjs +1 -1
- package/dist/components/Holidays/HolidayTracker.js +1 -1
- package/dist/components/Holidays/HolidayTracker.mjs +1 -1
- package/dist/components/Holidays/RequestLeave.js +1 -1
- package/dist/components/Holidays/RequestLeave.mjs +1 -1
- package/dist/components/Holidays/index.js +1 -1
- package/dist/components/Holidays/index.mjs +1 -1
- package/dist/components/Layouts/OutputHeaderFooter.js +2 -2
- package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
- package/dist/components/Layouts/Print.js +2 -2
- package/dist/components/Layouts/Print.mjs +1 -1
- package/dist/components/Layouts/SlideShow.js +3 -3
- package/dist/components/Layouts/SlideShow.mjs +1 -1
- package/dist/components/Layouts/index.js +4 -4
- package/dist/components/Layouts/index.mjs +1 -1
- package/dist/components/Menus/Categories.js +1 -1
- package/dist/components/Menus/Categories.mjs +1 -1
- package/dist/components/Menus/Filter.js +1 -1
- package/dist/components/Menus/Filter.mjs +1 -1
- package/dist/components/Menus/Pagination.js +1 -1
- package/dist/components/Menus/Pagination.mjs +1 -1
- package/dist/components/Menus/ProjectTeam.js +1 -1
- package/dist/components/Menus/ProjectTeam.mjs +1 -1
- package/dist/components/Menus/RelatedContent.js +1 -1
- package/dist/components/Menus/RelatedContent.mjs +1 -1
- package/dist/components/Menus/SidebarLeft.js +1 -1
- package/dist/components/Menus/SidebarLeft.mjs +1 -1
- package/dist/components/Menus/SidebarRight.js +1 -1
- package/dist/components/Menus/SidebarRight.mjs +1 -1
- package/dist/components/Menus/index.js +1 -1
- package/dist/components/Menus/index.mjs +1 -1
- package/dist/components/Other/Container.js +1 -1
- package/dist/components/Other/Container.mjs +1 -1
- package/dist/components/Other/PageShape.js +1 -1
- package/dist/components/Other/PageShape.mjs +1 -1
- package/dist/components/Other/index.js +1 -1
- package/dist/components/Other/index.mjs +1 -1
- package/dist/components/Payload/Card/index.js +1 -1
- package/dist/components/Payload/Card/index.mjs +1 -1
- package/dist/components/Payload/CollectionArchive/index.js +1 -1
- package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
- package/dist/components/Payload/Link/index.js +1 -1
- package/dist/components/Payload/Link/index.mjs +1 -1
- package/dist/components/Payload/Media/ImageMedia/index.js +1 -1
- package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
- package/dist/components/Payload/Media/VideoMedia/index.js +1 -1
- package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
- package/dist/components/Payload/Media/index.js +1 -1
- package/dist/components/Payload/Media/index.mjs +1 -1
- package/dist/components/Payload/Pagination/index.js +1 -1
- package/dist/components/Payload/Pagination/index.mjs +1 -1
- package/dist/components/Payload/RichText/index.js +1 -1
- package/dist/components/Payload/RichText/index.mjs +1 -1
- package/dist/components/Payload/RichText/serialize.js +1 -1
- package/dist/components/Payload/RichText/serialize.mjs +1 -1
- package/dist/components/Payload/index.js +1 -1
- package/dist/components/Payload/index.mjs +1 -1
- package/dist/components/Projects/AddEpicModal.js +1 -1
- package/dist/components/Projects/AddEpicModal.mjs +1 -1
- package/dist/components/Projects/AddSprintModal.js +1 -1
- package/dist/components/Projects/AddSprintModal.mjs +1 -1
- package/dist/components/Projects/AddTaskModal.js +1 -1
- package/dist/components/Projects/AddTaskModal.mjs +1 -1
- package/dist/components/Projects/EpicFilter.js +1 -1
- package/dist/components/Projects/EpicFilter.mjs +1 -1
- package/dist/components/Projects/EpicsView.js +1 -2
- package/dist/components/Projects/EpicsView.mjs +1 -1
- package/dist/components/Projects/FileView.js +1 -1
- package/dist/components/Projects/FileView.mjs +1 -1
- package/dist/components/Projects/KanbanBoardView.d.ts +4 -0
- package/dist/components/Projects/KanbanBoardView.js +1 -1
- package/dist/components/Projects/KanbanBoardView.mjs +1 -1
- package/dist/components/Projects/KanbanColumn.d.ts +1 -0
- package/dist/components/Projects/KanbanColumn.js +1 -1
- package/dist/components/Projects/KanbanColumn.mjs +1 -1
- package/dist/components/Projects/PlanningView.d.ts +2 -0
- package/dist/components/Projects/PlanningView.js +1 -1
- package/dist/components/Projects/PlanningView.mjs +1 -1
- package/dist/components/Projects/PlanningView_broken_backup.css +1 -0
- package/dist/components/Projects/PlanningView_broken_backup.d.ts +14 -0
- package/dist/components/Projects/PlanningView_broken_backup.js +5 -0
- package/dist/components/Projects/PlanningView_broken_backup.mjs +1 -0
- package/dist/components/Projects/ProjectPage.d.ts +3 -3
- package/dist/components/Projects/ProjectPage.js +2 -2
- package/dist/components/Projects/ProjectPage.mjs +1 -1
- package/dist/components/Projects/ProjectView.d.ts +9 -4
- package/dist/components/Projects/ProjectView.js +1 -1
- package/dist/components/Projects/ProjectView.mjs +1 -1
- package/dist/components/Projects/ProjectsIndexView.js +1 -1
- package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
- package/dist/components/Projects/TaskCard.js +1 -1
- package/dist/components/Projects/TaskCard.mjs +1 -1
- package/dist/components/Projects/TaskDetailsModal.d.ts +8 -3
- package/dist/components/Projects/TaskDetailsModal.js +1 -1
- package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
- package/dist/components/Projects/TaskSelect.js +1 -1
- package/dist/components/Projects/TaskSelect.mjs +1 -1
- package/dist/components/Projects/TaskSidebar.d.ts +2 -1
- package/dist/components/Projects/TaskSidebar.js +1 -1
- package/dist/components/Projects/TaskSidebar.mjs +1 -1
- package/dist/components/Projects/TasksView.js +1 -1
- package/dist/components/Projects/TasksView.mjs +1 -1
- package/dist/components/Projects/TeamSwitcher.js +1 -1
- package/dist/components/Projects/TeamSwitcher.mjs +1 -1
- package/dist/components/Projects/business-unit-switcher.js +1 -1
- package/dist/components/Projects/business-unit-switcher.mjs +1 -1
- package/dist/components/Projects/file-list.js +1 -1
- package/dist/components/Projects/file-list.mjs +1 -1
- package/dist/components/Projects/index.js +1 -1
- package/dist/components/Projects/index.mjs +1 -1
- package/dist/components/Projects/project-card.js +1 -1
- package/dist/components/Projects/project-card.mjs +1 -1
- package/dist/components/Projects/project-form.js +1 -1
- package/dist/components/Projects/project-form.mjs +1 -1
- package/dist/components/Projects/team-card.js +1 -1
- package/dist/components/Projects/team-card.mjs +1 -1
- package/dist/components/Projects/team-switcher-bar.js +1 -1
- package/dist/components/Projects/team-switcher-bar.mjs +1 -1
- package/dist/components/Projects/test-data.js +1 -1
- package/dist/components/Projects/test-data.mjs +1 -1
- package/dist/components/dc-temp/creative.js +1 -1
- package/dist/components/dc-temp/creative.mjs +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.js +1 -1
- package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
- package/dist/components/dc-temp/index.js +1 -1
- package/dist/components/dc-temp/index.mjs +1 -1
- package/dist/components/dc-temp/markdown-renderer.js +1 -1
- package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
- package/dist/components/dc-temp/utils.js +1 -1
- package/dist/components/dc-temp/utils.mjs +1 -1
- package/dist/components/index.js +14 -14
- package/dist/components/index.mjs +1 -1
- package/dist/components/ui/alert.js +1 -1
- package/dist/components/ui/alert.mjs +1 -1
- package/dist/components/ui/avatar.js +1 -1
- package/dist/components/ui/avatar.mjs +1 -1
- package/dist/components/ui/badge.js +1 -1
- package/dist/components/ui/badge.mjs +1 -1
- package/dist/components/ui/breadcrumb.js +1 -1
- package/dist/components/ui/breadcrumb.mjs +1 -1
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/button.mjs +1 -1
- package/dist/components/ui/calendar.js +1 -1
- package/dist/components/ui/calendar.mjs +1 -1
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/card.mjs +1 -1
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/checkbox.mjs +1 -1
- package/dist/components/ui/command.js +1 -1
- package/dist/components/ui/command.mjs +1 -1
- package/dist/components/ui/dialog.js +1 -1
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/dropdown-menu.js +1 -1
- package/dist/components/ui/dropdown-menu.mjs +1 -1
- package/dist/components/ui/hover-card.js +1 -1
- package/dist/components/ui/hover-card.mjs +1 -1
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/index.mjs +1 -1
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/input.mjs +1 -1
- package/dist/components/ui/inputs/common/styles/index.js +1 -1
- package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
- package/dist/components/ui/inputs/text-input/index.js +1 -1
- package/dist/components/ui/inputs/text-input/index.mjs +1 -1
- package/dist/components/ui/inputs/textarea-input/index.js +1 -1
- package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/label.mjs +1 -1
- package/dist/components/ui/pagination.js +1 -1
- package/dist/components/ui/pagination.mjs +1 -1
- package/dist/components/ui/popover.js +1 -1
- package/dist/components/ui/popover.mjs +1 -1
- package/dist/components/ui/progress.js +1 -1
- package/dist/components/ui/progress.mjs +1 -1
- package/dist/components/ui/scroll-area.js +1 -1
- package/dist/components/ui/scroll-area.mjs +1 -1
- package/dist/components/ui/select.js +1 -1
- package/dist/components/ui/select.mjs +1 -1
- package/dist/components/ui/separator.js +1 -1
- package/dist/components/ui/separator.mjs +1 -1
- package/dist/components/ui/sheet.js +1 -1
- package/dist/components/ui/sheet.mjs +1 -1
- package/dist/components/ui/sidebar.js +1 -1
- package/dist/components/ui/sidebar.mjs +1 -1
- package/dist/components/ui/skeleton.js +1 -1
- package/dist/components/ui/skeleton.mjs +1 -1
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/switch.mjs +1 -1
- package/dist/components/ui/tabs.js +1 -1
- package/dist/components/ui/tabs.mjs +1 -1
- package/dist/components/ui/textarea.js +1 -1
- package/dist/components/ui/textarea.mjs +1 -1
- package/dist/components/ui/toast.js +1 -1
- package/dist/components/ui/toast.mjs +1 -1
- package/dist/components/ui/toaster.js +1 -1
- package/dist/components/ui/toaster.mjs +1 -1
- package/dist/components/ui/toggle-group.js +1 -1
- package/dist/components/ui/toggle-group.mjs +1 -1
- package/dist/components/ui/toggle.js +1 -1
- package/dist/components/ui/toggle.mjs +1 -1
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/components/ui/tooltip.mjs +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.js +19 -19
- package/dist/index.mjs +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/pages/Blog.js +1 -1
- package/dist/pages/Blog.mjs +1 -1
- package/dist/pages/Documentation.js +1 -1
- package/dist/pages/Documentation.mjs +1 -1
- package/dist/pages/IndexPage.js +1 -1
- package/dist/pages/IndexPage.mjs +1 -1
- package/dist/pages/Intranet.js +1 -1
- package/dist/pages/Intranet.mjs +1 -1
- package/dist/pages/LandingPage.js +3 -3
- package/dist/pages/LandingPage.mjs +1 -1
- package/dist/pages/Page.js +1 -1
- package/dist/pages/Page.mjs +1 -1
- package/dist/pages/Publish.js +4 -4
- package/dist/pages/Publish.mjs +1 -1
- package/dist/pages/Website.js +1 -1
- package/dist/pages/Website.mjs +1 -1
- package/dist/sections/AboutSection.js +1 -1
- package/dist/sections/AboutSection.mjs +1 -1
- package/dist/sections/BlogDetail.js +1 -1
- package/dist/sections/BlogDetail.mjs +1 -1
- package/dist/sections/BlogList.js +3 -3
- package/dist/sections/BlogList.mjs +1 -1
- package/dist/sections/BlogListSection.js +1 -1
- package/dist/sections/BlogListSection.mjs +1 -1
- package/dist/sections/ContactSection.js +1 -1
- package/dist/sections/ContactSection.mjs +1 -1
- package/dist/sections/ImageSection.js +1 -1
- package/dist/sections/ImageSection.mjs +1 -1
- package/dist/sections/MainPageSection.js +1 -1
- package/dist/sections/MainPageSection.mjs +1 -1
- package/dist/sections/PageSections.js +3 -3
- package/dist/sections/PageSections.mjs +1 -1
- package/dist/sections/PricingSection.js +1 -1
- package/dist/sections/PricingSection.mjs +1 -1
- package/dist/sections/ServiceDetail.js +1 -1
- package/dist/sections/ServiceDetail.mjs +1 -1
- package/dist/sections/ServiceDetailSection.js +1 -1
- package/dist/sections/ServiceDetailSection.mjs +1 -1
- package/dist/sections/ServiceSection.js +1 -1
- package/dist/sections/ServiceSection.mjs +1 -1
- package/dist/sections/form/index.js +1 -1
- package/dist/sections/form/index.mjs +1 -1
- package/dist/sections/index.js +3 -3
- package/dist/sections/index.mjs +1 -1
- package/dist/styles/Colors.js +1 -1
- package/dist/styles/Colors.mjs +1 -1
- package/dist/utils/AOSInit.js +2 -2
- package/dist/utils/AOSInit.mjs +1 -1
- package/dist/utils/cn.js +1 -1
- package/dist/utils/cn.mjs +1 -1
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-4RQ27GTD.mjs +0 -1
- package/dist/chunk-56AGUZR5.mjs +0 -1
- package/dist/chunk-5WH7SFOR.mjs +0 -4
- package/dist/chunk-CDH5ONCJ.mjs +0 -8
- package/dist/chunk-E3NWG6B4.mjs +0 -4
- package/dist/chunk-GZQ7JEUL.mjs +0 -1
- package/dist/chunk-I2BNJCJ7.mjs +0 -1
- package/dist/chunk-KCOLYVJX.mjs +0 -1
- package/dist/chunk-KZTONTWM.mjs +0 -1
- package/dist/chunk-MZKVGPNQ.mjs +0 -1
- package/dist/chunk-NM6U4PLY.mjs +0 -1
- package/dist/chunk-QXNCGSQE.mjs +0 -4
- package/dist/chunk-RARAKOXE.mjs +0 -1
- package/dist/chunk-RPUSKO6J.mjs +0 -4
- package/dist/chunk-TSEOL53Y.mjs +0 -1
- package/dist/chunk-WXTJ6DVT.mjs +0 -4
- package/dist/chunk-ZKLSTUIP.mjs +0 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
"use client"
|
|
4
4
|
|
|
5
|
-
"use strict";"use client";var go=Object.create;var Ye=Object.defineProperty;var vo=Object.getOwnPropertyDescriptor;var bo=Object.getOwnPropertyNames;var ho=Object.getPrototypeOf,xo=Object.prototype.hasOwnProperty;var wo=(e,t)=>{for(var o in t)Ye(e,o,{get:t[o],enumerable:!0})},Pt=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of bo(t))!xo.call(e,i)&&i!==o&&Ye(e,i,{get:()=>t[i],enumerable:!(r=vo(t,i))||r.enumerable});return e};var Q=(e,t,o)=>(o=e!=null?go(ho(e)):{},Pt(t||!e||!e.__esModule?Ye(o,"default",{value:e,enumerable:!0}):o,e)),yo=e=>Pt(Ye({},"__esModule",{value:!0}),e);var ur={};wo(ur,{default:()=>co});module.exports=yo(ur);var le=require("react"),oe=require("lucide-react");var Lt=require("clsx");var Co=e=>{let t=So(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:p=>{let s=p.split("-");return s[0]===""&&s.length!==1&&s.shift(),kt(s,t)||No(p)},getConflictingClassGroupIds:(p,s)=>{let c=o[p]||[];return s&&r[p]?[...c,...r[p]]:c}}},kt=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),i=r?kt(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let a=e.join("-");return t.validators.find(({validator:p})=>p(a))?.classGroupId},Rt=/^\[(.+)\]$/,No=e=>{if(Rt.test(e)){let t=Rt.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},So=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return Ro(Object.entries(e.classGroups),o).forEach(([a,p])=>{gt(p,r,a,t)}),r},gt=(e,t,o,r)=>{e.forEach(i=>{if(typeof i=="string"){let a=i===""?t:Dt(t,i);a.classGroupId=o;return}if(typeof i=="function"){if(Po(i)){gt(i(r),t,o,r);return}t.validators.push({validator:i,classGroupId:o});return}Object.entries(i).forEach(([a,p])=>{gt(p,Dt(t,a),o,r)})})},Dt=(e,t)=>{let o=e;return t.split("-").forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},Po=e=>e.isThemeGetter,Ro=(e,t)=>t?e.map(([o,r])=>{let i=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([p,s])=>[t+p,s])):a);return[o,i]}):e,Do=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,i=(a,p)=>{o.set(a,p),t++,t>e&&(t=0,r=o,o=new Map)};return{get(a){let p=o.get(a);if(p!==void 0)return p;if((p=r.get(a))!==void 0)return i(a,p),p},set(a,p){o.has(a)?o.set(a,p):i(a,p)}}};var ko=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,i=t[0],a=t.length,p=s=>{let c=[],d=0,x=0,u;for(let v=0;v<s.length;v++){let P=s[v];if(d===0){if(P===i&&(r||s.slice(v,v+a)===t)){c.push(s.slice(x,v)),x=v+a;continue}if(P==="/"){u=v;continue}}P==="["?d++:P==="]"&&d--}let h=c.length===0?s:s.substring(x),j=h.startsWith("!"),E=j?h.substring(1):h,S=u&&u>x?u-x:void 0;return{modifiers:c,hasImportantModifier:j,baseClassName:E,maybePostfixModifierPosition:S}};return o?s=>o({className:s,parseClassName:p}):p},To=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},Mo=e=>({cache:Do(e.cacheSize),parseClassName:ko(e),...Co(e)}),Ao=/\s+/,Io=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],p=e.trim().split(Ao),s="";for(let c=p.length-1;c>=0;c-=1){let d=p[c],{modifiers:x,hasImportantModifier:u,baseClassName:h,maybePostfixModifierPosition:j}=o(d),E=!!j,S=r(E?h.substring(0,j):h);if(!S){if(!E){s=d+(s.length>0?" "+s:s);continue}if(S=r(h),!S){s=d+(s.length>0?" "+s:s);continue}E=!1}let v=To(x).join(":"),P=u?v+"!":v,_=P+S;if(a.includes(_))continue;a.push(_);let X=i(S,E);for(let F=0;F<X.length;++F){let de=X[F];a.push(P+de)}s=d+(s.length>0?" "+s:s)}return s};function Lo(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Tt(t))&&(r&&(r+=" "),r+=o);return r}var Tt=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Tt(e[r]))&&(o&&(o+=" "),o+=t);return o};function Bo(e,...t){let o,r,i,a=p;function p(c){let d=t.reduce((x,u)=>u(x),e());return o=Mo(d),r=o.cache.get,i=o.cache.set,a=s,s(c)}function s(c){let d=r(c);if(d)return d;let x=Io(c,o);return i(c,x),x}return function(){return a(Lo.apply(null,arguments))}}var H=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Mt=/^\[(?:([a-z-]+):)?(.+)\]$/i,Eo=/^\d+\/\d+$/,zo=new Set(["px","full","screen"]),Ho=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(Ht|h|i|Ht|min|max))|\Ht(calc|min|max|clamp)\(.+\)|^0$/,Uo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Fo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Vo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pe=e=>ze(e)||zo.has(e)||Eo.test(e),xe=e=>He(e,"length",Jo),ze=e=>!!e&&!Number.isNaN(Number(e)),ft=e=>He(e,"number",ze),Ge=e=>!!e&&Number.isInteger(Number(e)),$o=e=>e.endsWith("%")&&ze(e.slice(0,-1)),C=e=>Mt.test(e),we=e=>Ho.test(e),Wo=new Set(["length","size","percentage"]),Go=e=>He(e,Wo,At),Ko=e=>He(e,"position",At),Oo=new Set(["image","url"]),_o=e=>He(e,Oo,Zo),qo=e=>He(e,"",Xo),Ke=()=>!0,He=(e,t,o)=>{let r=Mt.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Jo=e=>jo.test(e)&&!Uo.test(e),At=()=>!1,Xo=e=>Fo.test(e),Zo=e=>Vo.test(e);var Qo=()=>{let e=H("colors"),t=H("spacing"),o=H("blur"),r=H("brightness"),i=H("borderColor"),a=H("borderRadius"),p=H("borderSpacing"),s=H("borderWidth"),c=H("contrast"),d=H("grayscale"),x=H("hueRotate"),u=H("invert"),h=H("gap"),j=H("gradientColorStops"),E=H("gradientColorStopPositions"),S=H("inset"),v=H("margin"),P=H("opacity"),_=H("padding"),X=H("saturate"),F=H("scale"),de=H("sepia"),ce=H("skew"),Ee=H("space"),M=H("translate"),W=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",C,t],I=()=>[C,t],Se=()=>["",pe,xe],Z=()=>["auto",ze,C],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],he=()=>["solid","dashed","dotted","double","none"],Qe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$e=()=>["start","end","center","between","around","evenly","stretch"],Pe=()=>["","0",C],We=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ne=()=>[ze,C];return{cacheSize:500,separator:":",theme:{colors:[Ke],spacing:[pe,xe],blur:["none","",we,C],brightness:ne(),borderColor:[e],borderRadius:["none","","full",we,C],borderSpacing:I(),borderWidth:Se(),contrast:ne(),grayscale:Pe(),hueRotate:ne(),invert:Pe(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[$o,xe],inset:q(),margin:q(),opacity:ne(),padding:I(),saturate:ne(),scale:ne(),sepia:Pe(),skew:ne(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",C]}],container:["container"],columns:[{columns:[we]}],"break-after":[{"break-after":We()}],"break-before":[{"break-before":We()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...me(),C]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-Ht":[{"overflow-Ht":A()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-Ht":[{"overscroll-Ht":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-Ht":[{"inset-Ht":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ge,C]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",C]}],grow:[{grow:Pe()}],shrink:[{shrink:Pe()}],order:[{order:["first","last","none",Ge,C]}],"grid-cols":[{"grid-cols":[Ke]}],"col-start-end":[{col:["auto",{span:["full",Ge,C]},C]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[Ke]}],"row-start-end":[{row:["auto",{span:[Ge,C]},C]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",C]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",C]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-Ht":[{"gap-Ht":[h]}],"justify-content":[{justify:["normal",...$e()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$e(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$e(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],Ht:[{Ht:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],ht:[{ht:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[Ee]}],"space-x-reverse":["space-x-reverse"],"space-Ht":[{"space-Ht":[Ee]}],"space-Ht-reverse":["space-Ht-reverse"],Ht:[{Ht:["auto","min","max","fit","svw","lvw","dvw",C,t]}],"min-Ht":[{"min-Ht":[C,t,"min","max","fit"]}],"max-Ht":[{"max-Ht":[C,t,"none","full","min","max","fit","prose",{screen:[we]},we]}],h:[{h:[C,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[C,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[C,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[C,t,"auto","min","max","fit"]}],"font-size":[{text:["base",we,xe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ft]}],"font-family":[{font:[Ke]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",C]}],"line-clamp":[{"line-clamp":["none",ze,ft]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",pe,C]}],"list-image":[{"list-image":["none",C]}],"list-style-type":[{list:["none","disc","decimal",C]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",pe,xe]}],"underline-offset":[{"underline-offset":["auto",pe,C]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",C]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",C]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),Ko]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","Ht","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Go]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Ht","bl","Ht","tl"]},_o]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[j]}],"gradient-via":[{via:[j]}],"gradient-to":[{to:[j]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-Ht":[{"rounded-Ht":[a]}],"rounded-Ht":[{"rounded-Ht":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-oe":[{"rounded-oe":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-Ht":[{border:[s]}],"border-Ht-x":[{"border-x":[s]}],"border-Ht-Ht":[{"border-Ht":[s]}],"border-Ht-s":[{"border-s":[s]}],"border-Ht-e":[{"border-e":[s]}],"border-Ht-t":[{"border-t":[s]}],"border-Ht-r":[{"border-r":[s]}],"border-Ht-Ht":[{"border-Ht":[s]}],"border-Ht-Ht":[{"border-Ht":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...he(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-Ht":[{"divide-Ht":[s]}],"divide-Ht-reverse":["divide-Ht-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:he()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-Ht":[{"border-Ht":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-Ht":[{"border-Ht":[i]}],"border-color-Ht":[{"border-Ht":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...he()]}],"outline-offset":[{"outline-offset":[pe,C]}],"outline-Ht":[{outline:[pe,xe]}],"outline-color":[{outline:[e]}],"ring-Ht":[{ring:Se()}],"ring-Ht-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-Ht":[{"ring-offset":[pe,xe]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",we,qo]}],"shadow-color":[{shadow:[Ke]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...Qe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Qe()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",we,C]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[u]}],saturate:[{saturate:[X]}],sepia:[{sepia:[de]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[X]}],"backdrop-sepia":[{"backdrop-sepia":[de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[p]}],"border-spacing-x":[{"border-spacing-x":[p]}],"border-spacing-Ht":[{"border-spacing-Ht":[p]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",C]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",C]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",C]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-Ht":[{"scale-Ht":[F]}],rotate:[{rotate:[Ge,C]}],"translate-x":[{"translate-x":[M]}],"translate-Ht":[{"translate-Ht":[M]}],"skew-x":[{"skew-x":[ce]}],"skew-Ht":[{"skew-Ht":[ce]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",C]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","Ht-resize","ne-resize","nw-resize","oe-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",C]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Ht","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ht":[{"scroll-Ht":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-ht":[{"scroll-ht":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","Ht","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-Ht":[{"touch-pan":["Ht","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",C]}],fill:[{fill:[e,"none"]}],"stroke-Ht":[{stroke:[pe,xe,ft]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-Ht"],overscroll:["overscroll-x","overscroll-Ht"],inset:["inset-x","inset-Ht","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-Ht":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-Ht"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ht:["mx","my","ms","me","ht","mr","mb","ml"],mx:["mr","ml"],my:["ht","mb"],size:["Ht","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-Ht","rounded-Ht","rounded-ss","rounded-oe","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-oe","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-Ht":["rounded-br","rounded-bl"],"rounded-Ht":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-Ht"],"border-Ht":["border-Ht-s","border-Ht-e","border-Ht-t","border-Ht-r","border-Ht-Ht","border-Ht-Ht"],"border-Ht-x":["border-Ht-r","border-Ht-Ht"],"border-Ht-Ht":["border-Ht-t","border-Ht-Ht"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ht","border-color-Ht"],"border-color-x":["border-color-r","border-color-Ht"],"border-color-Ht":["border-color-t","border-color-Ht"],"scroll-Ht":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-ht","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-ht","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-Ht","touch-pz"],"touch-x":["touch"],"touch-Ht":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var It=Bo(Qo);function g(...e){return It((0,Lt.clsx)(e))}var Bt=require("@radix-ui/react-slot"),Et=require("class-variance-authority"),zt=Q(require("react")),Ht=require("react/jsx-runtime"),Yo=(0,Et.cva)("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 Ht-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"}}}),D=zt.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...i},a)=>(0,Ht.jsx)(e?Bt.Slot:"button",{className:g(Yo({className:t,size:o,variant:r})),ref:a,...i}));D.displayName="Button";var Re=Q(require("react"));var L=Re.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)("div",{ref:o,className:g("rounded-xl border bg-card text-card-foreground shadow",e),...t}));L.displayName="Card";var G=Re.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)("div",{ref:o,className:g("flex flex-col space-Ht-1.5 p-6",e),...t}));G.displayName="CardHeader";var J=Re.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)("div",{ref:o,className:g("font-semibold leading-none tracking-tight",e),...t}));J.displayName="CardTitle";var er=Re.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)("div",{ref:o,className:g("text-sm text-muted-foreground",e),...t}));er.displayName="CardDescription";var B=Re.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)("div",{ref:o,className:g("p-6 pt-0",e),...t}));B.displayName="CardContent";var tr=Re.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)("div",{ref:o,className:g("flex items-center p-6 pt-0",e),...t}));tr.displayName="CardFooter";var jt=Q(require("react"));var re=jt.forwardRef(({className:e,type:t,...o},r)=>(0,Ht.jsx)("input",{type:t,className:g("flex h-9 Ht-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...o}));re.displayName="Input";var k=Q(require("@radix-ui/react-select")),ye=Q(require("react")),vt=k.Root;var bt=k.Value,et=ye.forwardRef(({children:e,className:t,...o},r)=>(0,Ht.jsxs)(k.Trigger,{className:g("flex h-10 Ht-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...o,children:[e,(0,Ht.jsx)(k.Icon,{asChild:!0,children:(0,Ht.jsx)(oe.ChevronDown,{className:"h-4 Ht-4 opacity-50"})})]}));et.displayName=k.Trigger.displayName;var Ft=ye.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)(k.ScrollUpButton,{className:g("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Ht.jsx)(oe.ChevronUp,{className:"h-4 Ht-4"})}));Ft.displayName=k.ScrollUpButton.displayName;var Vt=ye.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)(k.ScrollDownButton,{className:g("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Ht.jsx)(oe.ChevronDown,{className:"h-4 Ht-4"})}));Vt.displayName=k.ScrollDownButton.displayName;var tt=ye.forwardRef(({children:e,className:t,position:o="popper",...r},i)=>(0,Ht.jsx)(k.Portal,{children:(0,Ht.jsxs)(k.Content,{className:g("relative z-50 max-h-96 min-Ht-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-Ht-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-Ht-1",t),position:o,ref:i,...r,children:[(0,Ht.jsx)(Ft,{}),(0,Ht.jsx)(k.Viewport,{className:g("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] Ht-full min-Ht-[var(--radix-select-trigger-width)]"),children:e}),(0,Ht.jsx)(Vt,{})]})}));tt.displayName=k.Content.displayName;var or=ye.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)(k.Label,{className:g("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));or.displayName=k.Label.displayName;var Te=ye.forwardRef(({children:e,className:t,...o},r)=>(0,Ht.jsxs)(k.Item,{className:g("relative flex Ht-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...o,children:[(0,Ht.jsx)("span",{className:"absolute left-2 flex h-3.5 Ht-3.5 items-center justify-center",children:(0,Ht.jsx)(k.ItemIndicator,{children:(0,Ht.jsx)(oe.Check,{className:"h-4 Ht-4"})})}),(0,Ht.jsx)(k.ItemText,{children:e})]}));Te.displayName=k.Item.displayName;var rr=ye.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)(k.Separator,{className:g("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));rr.displayName=k.Separator.displayName;var ht=require("motion/react");var Me=Q(require("@radix-ui/react-tabs"));function $t({className:e,...t}){return(0,Ht.jsx)(Me.Root,{"data-slot":"tabs",className:g("flex flex-col gap-2",e),...t})}function Wt({className:e,...t}){return(0,Ht.jsx)(Me.List,{"data-slot":"tabs-list",className:g("bg-muted text-muted-foreground inline-flex h-9 Ht-fit items-center justify-center rounded-lg p-[3px]",e),...t})}function Gt({className:e,...t}){return(0,Ht.jsx)(Me.Trigger,{"data-slot":"tabs-trigger",className:g("data-[state=active]:bg-accent data-[state=active]:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}var ue=Q(require("react")),T=Q(require("@radix-ui/react-dropdown-menu")),je=require("@radix-ui/react-icons");var rt=T.Root,at=T.Trigger;var ar=ue.forwardRef(({className:e,inset:t,children:o,...r},i)=>(0,Ht.jsxs)(T.SubTrigger,{ref:i,className:g("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[o,(0,Ht.jsx)(je.ChevronRightIcon,{className:"ml-auto"})]}));ar.displayName=T.SubTrigger.displayName;var ir=ue.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)(T.SubContent,{ref:o,className:g("z-50 min-Ht-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));ir.displayName=T.SubContent.displayName;var Oe=ue.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,Ht.jsx)(T.Portal,{children:(0,Ht.jsx)(T.Content,{ref:r,sideOffset:t,className:g("z-50 min-Ht-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Oe.displayName=T.Content.displayName;var Ae=ue.forwardRef(({className:e,inset:t,...o},r)=>(0,Ht.jsx)(T.Item,{ref:r,className:g("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...o}));Ae.displayName=T.Item.displayName;var nr=ue.forwardRef(({className:e,children:t,checked:o,...r},i)=>(0,Ht.jsxs)(T.CheckboxItem,{ref:i,className:g("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...r,children:[(0,Ht.jsx)("span",{className:"absolute left-2 flex h-3.5 Ht-3.5 items-center justify-center",children:(0,Ht.jsx)(T.ItemIndicator,{children:(0,Ht.jsx)(je.CheckIcon,{className:"h-4 Ht-4"})})}),t]}));nr.displayName=T.CheckboxItem.displayName;var sr=ue.forwardRef(({className:e,children:t,...o},r)=>(0,Ht.jsxs)(T.RadioItem,{ref:r,className:g("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,Ht.jsx)("span",{className:"absolute left-2 flex h-3.5 Ht-3.5 items-center justify-center",children:(0,Ht.jsx)(T.ItemIndicator,{children:(0,Ht.jsx)(je.DotFilledIcon,{className:"h-4 Ht-4 fill-current"})})}),t]}));sr.displayName=T.RadioItem.displayName;var lr=ue.forwardRef(({className:e,inset:t,...o},r)=>(0,Ht.jsx)(T.Label,{ref:r,className:g("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));lr.displayName=T.Label.displayName;var dr=ue.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)(T.Separator,{ref:o,className:g("-mx-1 my-1 h-px bg-muted",e),...t}));dr.displayName=T.Separator.displayName;var cr=({className:e,...t})=>(0,Ht.jsx)("span",{className:g("ml-auto text-xs tracking-widest opacity-60",e),...t});cr.displayName="DropdownMenuShortcut";function Ot({activeTab:e,onTabChange:t,tabOptions:o,className:r="",maxWidth:i="700px",gridCols:a=6}){let p=o.find(s=>s.value===e);return(0,Ht.jsxs)(ht.motion.div,{className:`flex-1 flex justify-center ${r}`,initial:{opacity:0,Ht:-20},animate:{opacity:1,Ht:0},transition:{duration:.3,ease:"easeOut"},children:[(0,Ht.jsx)("div",{className:"hidden lg:block",children:(0,Ht.jsx)($t,{value:e,onValueChange:t,children:(0,Ht.jsx)(Wt,{className:"grid Ht-full rounded-2xl p-0 h-10",style:{maxWidth:i,gridTemplateColumns:`repeat(${Math.min(a,o.length)}, minmax(0, 1fr))`},children:o.map(s=>(0,Ht.jsx)(ht.motion.div,{whileHover:{scale:1.1},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:"flex-1 px-2",children:(0,Ht.jsx)(Gt,{value:s.value,className:"Ht-full h-8 rounded-xl data-[state=active]:rounded-xl transition-all duration-200 hover:border hover:border-accent hover:bg-accent/10 px-4 py-2 text-sm font-medium",children:s.label})},s.value))})})}),(0,Ht.jsx)("div",{className:"lg:hidden",children:(0,Ht.jsxs)(rt,{children:[(0,Ht.jsx)(at,{asChild:!0,children:(0,Ht.jsxs)(D,{variant:"outline",className:"rounded-2xl min-Ht-[140px] justify-between",children:[p?.label||"Select",(0,Ht.jsx)(oe.ChevronDown,{className:"h-4 Ht-4 ml-2"})]})}),(0,Ht.jsx)(Oe,{align:"center",className:"Ht-[180px]",children:o.map(s=>(0,Ht.jsx)(Ae,{onClick:()=>t?.(s.value),className:`cursor-pointer ${e===s.value?"bg-accent":""}`,children:s.label},s.value))})]})})]})}var it=Q(require("react")),fe=Q(require("@radix-ui/react-avatar"));var Ie=it.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)(fe.Root,{ref:o,className:g("relative flex h-10 Ht-10 shrink-0 overflow-hidden rounded-full",e),...t}));Ie.displayName=fe.Root.displayName;var _e=it.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)(fe.Image,{ref:o,className:g("aspect-square h-full Ht-full",e),...t}));_e.displayName=fe.Image.displayName;var Le=it.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)(fe.Fallback,{ref:o,className:g("flex h-full Ht-full items-center justify-center rounded-full bg-muted",e),...t}));Le.displayName=fe.Fallback.displayName;var mr=(0,Et.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function U({className:e,variant:t,...o}){return(0,Ht.jsx)("div",{className:g(mr({variant:t}),e),...o})}function st({colleague:e,onEdit:t,onDelete:o,onViewDetails:r,showActions:i=!0,compact:a=!1,className:p}){let[s,c]=(0,le.useState)(!1),d=h=>{switch(h){case"active":return"bg-green-500";case"inactive":return"bg-gray-500";default:return"bg-gray-500"}},x=h=>{switch(h){case"active":return"Active";case"inactive":return"Inactive";default:return"Unknown"}},u=h=>{if(!h)return"Never";let E=Math.floor((new Date().getTime()-h.getTime())/(1e3*60));return E<1?"Just now":E<60?`${E}Ht ago`:E<1440?`${Math.floor(E/60)}h ago`:`${Math.floor(E/1440)}d ago`};return(0,Ht.jsxs)(L,{className:g("hover:shadow-md transition-shadow",a&&"p-2",p),children:[(0,Ht.jsx)(G,{className:g("pb-3",a&&"pb-2"),children:(0,Ht.jsxs)("div",{className:"flex items-start justify-between",children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-3",children:[(0,Ht.jsx)("div",{className:"relative",children:(0,Ht.jsxs)(Ie,{className:g("h-12 Ht-12",a&&"h-8 Ht-8"),children:[(0,Ht.jsx)(_e,{src:"/placeholder.svg",alt:e.name}),(0,Ht.jsx)(Le,{children:e.name.split(" ").map(h=>h[0]).join("")})]})}),(0,Ht.jsxs)("div",{className:"flex-1 min-Ht-0",children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ht.jsx)("h3",{className:g("font-semibold text-sm truncate",a&&"text-xs"),children:e.name}),e.type==="digital"?(0,Ht.jsx)($.Bot,{className:g("h-4 Ht-4 text-blue-500",a&&"h-3 Ht-3")}):(0,Ht.jsx)($.User,{className:g("h-4 Ht-4 text-green-500",a&&"h-3 Ht-3")})]}),(0,Ht.jsx)("p",{className:g("text-sm text-muted-foreground truncate",a&&"text-xs"),children:e.type==="human"?e.role:e.description}),!a&&(0,Ht.jsxs)("div",{className:"flex items-center gap-2 ht-1",children:[e.type==="human"&&(0,Ht.jsx)(U,{variant:"secondary",className:"text-xs",children:e.department}),e.type==="digital"&&(0,Ht.jsxs)(U,{variant:"secondary",className:"text-xs",children:["v",e.version]}),(0,Ht.jsx)(U,{variant:"outline",className:"text-xs",children:x(e.status)})]})]})]}),i&&(0,Ht.jsxs)(rt,{children:[(0,Ht.jsx)(at,{asChild:!0,children:(0,Ht.jsx)(D,{variant:"ghost",size:"icon",className:g("h-8 Ht-8",a&&"h-6 Ht-6"),children:(0,Ht.jsx)($.MoreHorizontal,{className:g("h-4 Ht-4",a&&"h-3 Ht-3")})})}),(0,Ht.jsxs)(Oe,{align:"end",children:[(0,Ht.jsxs)(Ae,{onClick:()=>r?.(e),children:[(0,Ht.jsx)($.Settings,{className:"h-4 Ht-4 mr-2"}),"View Details"]}),(0,Ht.jsxs)(Ae,{onClick:()=>t?.(e),children:[(0,Ht.jsx)($.Edit,{className:"h-4 Ht-4 mr-2"}),"Edit"]}),(0,Ht.jsxs)(Ae,{onClick:()=>o?.(e.id),className:"text-destructive focus:text-destructive",children:[(0,Ht.jsx)($.Trash2,{className:"h-4 Ht-4 mr-2"}),"Delete"]})]})]})]})}),!a&&(0,Ht.jsxs)(B,{className:"pt-0",children:[(0,Ht.jsxs)("div",{className:"space-Ht-2 text-sm",children:[e.type==="human"&&(0,Ht.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,Ht.jsx)($.Mail,{className:"h-3 Ht-3"}),(0,Ht.jsx)("span",{className:"truncate",children:e.email})]}),e.type==="human"&&(0,Ht.jsxs)(Ht.Fragment,{children:[e.phone&&(0,Ht.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,Ht.jsx)($.Phone,{className:"h-3 Ht-3"}),(0,Ht.jsx)("span",{children:e.phone})]}),e.location&&(0,Ht.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,Ht.jsx)($.MapPin,{className:"h-3 Ht-3"}),(0,Ht.jsx)("span",{children:e.location})]})]}),e.type==="digital"&&(0,Ht.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,Ht.jsx)($.Settings,{className:"h-3 Ht-3"}),(0,Ht.jsxs)("span",{children:["v",e.version]})]}),(0,Ht.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,Ht.jsx)($.Clock,{className:"h-3 Ht-3"}),(0,Ht.jsxs)("span",{children:["Last active: ",u(e.lastActive)]})]})]}),e.type==="human"&&e.skills&&(0,Ht.jsx)("div",{className:"ht-3",children:(0,Ht.jsxs)("div",{className:"flex flex-wrap gap-1",children:[e.skills.slice(0,s?e.skills.length:3).map(h=>(0,Ht.jsx)(U,{variant:"outline",className:"text-xs",children:h},h)),e.skills.length>3&&(0,Ht.jsx)(D,{variant:"ghost",size:"sm",className:"h-5 px-2 text-xs",onClick:()=>c(!s),children:s?"Show less":`+${e.skills.length-3} more`})]})}),e.type==="digital"&&(0,Ht.jsx)("div",{className:"ht-3",children:(0,Ht.jsxs)("div",{className:"flex flex-wrap gap-1",children:[e.capabilities.slice(0,s?e.capabilities.length:2).map(h=>(0,Ht.jsx)(U,{variant:"outline",className:"text-xs",children:h},h)),e.capabilities.length>2&&(0,Ht.jsx)(D,{variant:"ghost",size:"sm",className:"h-5 px-2 text-xs",onClick:()=>c(!s),children:s?"Show less":`+${e.capabilities.length-2} more`})]})})]})]})}var Xt=Q(require("react")),xt=Q(require("@radix-ui/react-label"));var pr=(0,Et.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ge=Xt.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)(xt.Root,{ref:o,className:g(pr(),e),...t}));ge.displayName=xt.Root.displayName;var Yt=Q(require("react")),qe=Yt.forwardRef(({className:e,...t},o)=>(0,Ht.jsx)("textarea",{className:g("flex min-h-[80px] Ht-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));qe.displayName="Textarea";var wt=Q(require("react")),ae=Q(require("@radix-ui/react-scroll-area"));var yt=wt.forwardRef(({className:e,children:t,...o},r)=>(0,Ht.jsxs)(ae.Root,{ref:r,className:g("relative overflow-hidden",e),...o,children:[(0,Ht.jsx)(ae.Viewport,{className:"h-full Ht-full rounded-[inherit]",children:t}),(0,Ht.jsx)(to,{}),(0,Ht.jsx)(ae.Corner,{})]}));yt.displayName=ae.Root.displayName;var to=wt.forwardRef(({className:e,orientation:t="vertical",...o},r)=>(0,Ht.jsx)(ae.ScrollAreaScrollbar,{ref:r,orientation:t,className:g("flex touch-none select-none transition-colors",t==="vertical"&&"h-full Ht-2.5 border-Ht border-Ht-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...o,children:(0,Ht.jsx)(ae.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));to.displayName=ae.ScrollAreaScrollbar.displayName;function Ct({selectedDocuments:e,onDocumentsChange:t,availableDocuments:o,label:r,placeholder:i="Search knowledge documents...",maxSelections:a,disabled:p=!1}){let[s,c]=(0,le.useState)(""),[d,x]=(0,le.useState)([]),[u,h]=(0,le.useState)(!1);(0,le.useEffect)(()=>{if(!s.trim()){x([]),h(!1);return}let v=o.filter(P=>{if(e.map(F=>F.id).includes(P.id))return!1;let X=s.toLowerCase();return P.title.toLowerCase().includes(X)||P.description?.toLowerCase().includes(X)||P.tags?.some(F=>F.toLowerCase().includes(X))||Object.values(P.metadata||{}).some(F=>String(F).toLowerCase().includes(X))});x(v),h(!0)},[s,e,o]);let j=v=>{a&&e.length>=a||(t([...e,v]),c(""),h(!1))},E=v=>{t(e.filter(P=>P.id!==v))},S=!a||e.length<a;return(0,Ht.jsxs)("div",{className:"space-Ht-2",children:[(0,Ht.jsx)(ge,{children:r}),(0,Ht.jsxs)("div",{className:"relative",children:[(0,Ht.jsxs)("div",{className:"relative",children:[(0,Ht.jsx)(oe.Search,{className:"absolute left-3 top-3 h-4 Ht-4 text-muted-foreground"}),(0,Ht.jsx)(re,{value:s,onChange:v=>c(v.target.value),placeholder:S?i:`Maximum ${a} documents selected`,className:"pl-9",disabled:p||!S,onFocus:()=>s&&h(!0)})]}),u&&d.length>0&&(0,Ht.jsx)(L,{className:"absolute top-full left-0 right-0 z-10 ht-1 max-h-60",children:(0,Ht.jsx)(yt,{className:"h-full",children:(0,Ht.jsx)(B,{className:"p-2",children:d.map(v=>(0,Ht.jsx)(D,{variant:"ghost",className:"Ht-full justify-start h-auto p-3 mb-1",onClick:()=>j(v),disabled:p,children:(0,Ht.jsxs)("div",{className:"flex items-start gap-3 Ht-full",children:[(0,Ht.jsx)(oe.FileText,{className:"h-4 Ht-4 ht-0.5 text-muted-foreground flex-shrink-0"}),(0,Ht.jsxs)("div",{className:"text-left flex-1 min-Ht-0",children:[(0,Ht.jsx)("div",{className:"font-medium text-sm truncate",children:v.title}),v.description&&(0,Ht.jsx)("div",{className:"text-xs text-muted-foreground ht-1 line-clamp-2",children:v.description}),v.tags&&v.tags.length>0&&(0,Ht.jsxs)("div",{className:"flex flex-wrap gap-1 ht-2",children:[v.tags.slice(0,3).map(P=>(0,Ht.jsx)(U,{variant:"outline",className:"text-xs",children:P},P)),v.tags.length>3&&(0,Ht.jsxs)(U,{variant:"outline",className:"text-xs",children:["+",v.tags.length-3," more"]})]})]})]})},v.id))})})}),u&&s&&d.length===0&&(0,Ht.jsx)(L,{className:"absolute top-full left-0 right-0 z-10 ht-1",children:(0,Ht.jsxs)(B,{className:"p-4 text-center text-sm text-muted-foreground",children:['No knowledge documents found for "',s,'"']})})]}),e.length>0&&(0,Ht.jsxs)("div",{className:"space-Ht-2",children:[(0,Ht.jsxs)("div",{className:"text-sm text-muted-foreground",children:["Selected (",e.length,a&&`/${a}`,")"]}),(0,Ht.jsx)("div",{className:"space-Ht-2",children:e.map(v=>(0,Ht.jsx)(L,{className:"p-3",children:(0,Ht.jsxs)("div",{className:"flex items-start gap-3",children:[(0,Ht.jsx)(oe.FileText,{className:"h-4 Ht-4 ht-0.5 text-muted-foreground flex-shrink-0"}),(0,Ht.jsxs)("div",{className:"flex-1 min-Ht-0",children:[(0,Ht.jsx)("div",{className:"font-medium text-sm",children:v.title}),v.description&&(0,Ht.jsx)("div",{className:"text-xs text-muted-foreground ht-1",children:v.description}),v.tags&&v.tags.length>0&&(0,Ht.jsx)("div",{className:"flex flex-wrap gap-1 ht-2",children:v.tags.map(P=>(0,Ht.jsxs)(U,{variant:"outline",className:"text-xs",children:[(0,Ht.jsx)(oe.Tag,{className:"h-3 Ht-3 mr-1"}),P]},P))})]}),(0,Ht.jsx)(D,{type:"button",variant:"ghost",size:"icon",className:"h-6 Ht-6 flex-shrink-0",onClick:()=>E(v.id),disabled:p,children:(0,Ht.jsx)(oe.X,{className:"h-3 Ht-3"})})]})},v.id))})]}),u&&(0,Ht.jsx)("div",{className:"fixed inset-0 z-0",onClick:()=>h(!1)})]})}function Nt({colleague:e,onSave:t,onCancel:o,isLoading:r=!1,title:i,submitLabel:a,cancelLabel:p="Cancel",readOnly:s=!1,availableKnowledgeDocuments:c=[]}){let[d,x]=(0,le.useState)({type:"digital",name:"",description:"",jobDescription:"",workInstructions:"",capabilities:[],knowledge:[],coreKnowledge:[],version:"1",...e}),[u,h]=(0,le.useState)(""),[j,E]=(0,le.useState)(""),[S,v]=(0,le.useState)(!s);(0,le.useEffect)(()=>{e&&x(e)},[e]);let P=M=>{M.preventDefault();let W=d.version?parseInt(d.version):0,A=e?(W+1).toString():"1",q={id:d.id||Date.now().toString(),name:d.name,type:"digital",status:"active",joinedDate:d.joinedDate||new Date,lastActive:d.lastActive||new Date,description:d.description,jobDescription:d.jobDescription||"",workInstructions:d.workInstructions||"",capabilities:d.capabilities||[],knowledge:d.knowledge||[],coreKnowledge:d.coreKnowledge||[],version:A,lastUpdated:d.lastUpdated||new Date,isActive:!0};t(q)},_=(M,W,A)=>{if(!W.trim())return;let q=d[M]||[];x({...d,[M]:[...q,W.trim()]}),A("")},X=(M,W)=>{let A=d[M]||[];x({...d,[M]:A.filter((q,I)=>I!==W)})},F=M=>{M.preventDefault(),v(!S)},de=(M,W,A,q,I)=>{let Se=d[M]||[];return(0,Ht.jsxs)("div",{className:"space-Ht-2",children:[(0,Ht.jsx)(ge,{children:W}),S&&(0,Ht.jsxs)("div",{className:"flex gap-2",children:[(0,Ht.jsx)(re,{value:A,onChange:Z=>q(Z.target.value),placeholder:I,onKeyPress:Z=>{Z.key==="Enter"&&(Z.preventDefault(),_(M,A,q))},disabled:r}),(0,Ht.jsx)(D,{type:"button",variant:"outline",size:"icon",onClick:()=>_(M,A,q),disabled:r,children:(0,Ht.jsx)(oe.Plus,{className:"h-4 Ht-4"})})]}),(0,Ht.jsx)("div",{className:"flex flex-wrap gap-2",children:Se.map((Z,me)=>(0,Ht.jsxs)(U,{className:"gap-1",children:[Z,S&&(0,Ht.jsx)(D,{type:"button",variant:"ghost",size:"icon",className:"h-4 Ht-4 p-0 hover:bg-accent hover:text-accent-foreground",onClick:()=>X(M,me),disabled:r,children:(0,Ht.jsx)(oe.X,{className:"h-3 Ht-3"})})]},`${M}-${me}-${Z}`))})]})},ce=i||(S?e?"Edit Colleague":"Add New Colleague":"View Colleague"),Ee=a||(e?"Update Colleague":"Add Colleague");return(0,Ht.jsxs)(L,{className:"Ht-8 Ht-full max-Ht-4xl mx-auto",children:[(0,Ht.jsx)(G,{children:(0,Ht.jsxs)(J,{className:"flex items-center gap-2",children:[(0,Ht.jsx)(oe.Bot,{className:"h-5 Ht-5"}),ce]})}),(0,Ht.jsx)(B,{children:(0,Ht.jsxs)("form",{onSubmit:P,className:"space-Ht-6",children:[(0,Ht.jsxs)("div",{className:"space-Ht-4",children:[(0,Ht.jsxs)("div",{className:"space-Ht-2",children:[(0,Ht.jsx)(ge,{htmlFor:"name",children:"Name *"}),(0,Ht.jsx)(re,{id:"name",value:d.name||"",onChange:M=>x({...d,name:M.target.value}),required:!0,disabled:r||!S})]}),(0,Ht.jsxs)("div",{className:"space-Ht-2",children:[(0,Ht.jsx)(ge,{htmlFor:"description",children:"Description"}),(0,Ht.jsx)(qe,{id:"description",value:d.description||"",onChange:M=>x({...d,description:M.target.value}),rows:3,placeholder:"Brief description of this digital colleague...",disabled:r||!S})]})]}),(0,Ht.jsxs)("div",{className:"space-Ht-4",children:[(0,Ht.jsx)("h3",{className:"text-lg font-semibold",children:"Digital Colleague Details"}),(0,Ht.jsxs)("div",{className:"space-Ht-2",children:[(0,Ht.jsx)(ge,{htmlFor:"jobDescription",children:"Job Description *"}),(0,Ht.jsx)(qe,{id:"jobDescription",value:d.jobDescription||"",onChange:M=>x({...d,jobDescription:M.target.value}),rows:4,required:d.type==="digital",disabled:r||!S})]}),(0,Ht.jsxs)("div",{className:"space-Ht-2",children:[(0,Ht.jsx)(ge,{htmlFor:"workInstructions",children:"Work Instructions"}),(0,Ht.jsx)(qe,{id:"workInstructions",value:d.workInstructions||"",onChange:M=>x({...d,workInstructions:M.target.value}),rows:4,placeholder:"Enter detailed work instructions for this digital colleague...",disabled:r||!S})]}),de("capabilities","Capabilities",j,E,"Add capability"),(0,Ht.jsx)(Ct,{selectedDocuments:d.knowledge||[],onDocumentsChange:M=>x({...d,knowledge:M}),label:"Knowledge",placeholder:"Search for knowledge documents to add...",disabled:r||!S,availableDocuments:c}),(0,Ht.jsx)(Ct,{selectedDocuments:d.coreKnowledge||[],onDocumentsChange:M=>x({...d,coreKnowledge:M}),label:"Core Knowledge",placeholder:"Search for core knowledge documents...",maxSelections:5,disabled:r||!S,availableDocuments:c})]}),(0,Ht.jsxs)("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[(0,Ht.jsx)(D,{type:"button",variant:"outline",onClick:o,disabled:r,children:S?p:"Close"}),S?(0,Ht.jsx)(D,{type:"submit",disabled:r,children:r?"Saving...":Ee}):(0,Ht.jsxs)(D,{type:"button",onClick:F,disabled:r,className:"gap-2",children:[(0,Ht.jsx)(oe.Edit,{className:"h-4 Ht-4"}),"Edit"]})]})]})})]})}function oo({users:e,onUserSelect:t,onCancel:o,selectedUserId:r}){let[i,a]=(0,le.useState)(""),p=(0,le.useMemo)(()=>e.filter(c=>c.name.toLowerCase().includes(i.toLowerCase())||c.email.toLowerCase().includes(i.toLowerCase())||c.role.toLowerCase().includes(i.toLowerCase())||(c.skills||[]).some(x=>x.toLowerCase().includes(i.toLowerCase()))),[e,i]),s=c=>{t(c)};return(0,Ht.jsx)("div",{className:"px-2 md:px-4 py-4 space-Ht-6",children:(0,Ht.jsx)(ht.AnimatePresence,{mode:"wait",children:(0,Ht.jsxs)(ht.motion.div,{initial:{opacity:0,Ht:10},animate:{opacity:1,Ht:0},exit:{opacity:0,Ht:-10},transition:{duration:.2},children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,Ht.jsxs)(D,{variant:"ghost",onClick:o,className:"gap-2",children:[(0,Ht.jsx)(oe.ChevronLeft,{className:"h-4 Ht-4"}),"Back"]}),(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)("h1",{className:"text-3xl font-bold",children:"Select User"}),(0,Ht.jsx)("p",{className:"text-muted-foreground",children:"Choose a user to add as a colleague"})]})]}),(0,Ht.jsx)(L,{className:"container",children:(0,Ht.jsx)(B,{className:"pt-6",children:(0,Ht.jsx)("div",{className:"flex flex-col md:flex-row gap-4",children:(0,Ht.jsx)("div",{className:"flex-1",children:(0,Ht.jsxs)("div",{className:"relative",children:[(0,Ht.jsx)(oe.Search,{className:"absolute left-3 top-3 h-4 Ht-4 text-muted-foreground"}),(0,Ht.jsx)(re,{placeholder:"Search users by name, email, role, or skills...",value:i,onChange:c=>a(c.target.value),className:"pl-9"})]})})})})}),(0,Ht.jsx)("div",{className:"container grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:p.map(c=>(0,Ht.jsx)(ht.motion.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.2},children:(0,Ht.jsxs)(L,{className:`cursor-pointer transition-all hover:shadow-lg ${r===c.id?"ring-2 ring-primary":""}`,onClick:()=>s(c),children:[(0,Ht.jsx)(G,{className:"pb-3",children:(0,Ht.jsxs)("div",{className:"flex items-start justify-between",children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-3",children:[(0,Ht.jsxs)(Ie,{children:[(0,Ht.jsx)(_e,{src:c.avatar,alt:c.name}),(0,Ht.jsx)(Le,{children:(0,Ht.jsx)(oe.User,{className:"h-4 Ht-4"})})]}),(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)(J,{className:"text-lg",children:c.name}),(0,Ht.jsx)("p",{className:"text-sm text-muted-foreground",children:c.role})]})]}),r===c.id&&(0,Ht.jsx)(oe.Check,{className:"h-5 Ht-5 text-primary"})]})}),(0,Ht.jsx)(B,{className:"pt-0",children:(0,Ht.jsxs)("div",{className:"space-Ht-3",children:[(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)("p",{className:"text-sm text-muted-foreground",children:"Email"}),(0,Ht.jsx)("p",{className:"text-sm font-medium",children:c.email})]}),(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)("p",{className:"text-sm text-muted-foreground",children:"Department"}),(0,Ht.jsx)(U,{variant:"secondary",children:c.department})]}),c.location&&(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)("p",{className:"text-sm text-muted-foreground",children:"Location"}),(0,Ht.jsx)("p",{className:"text-sm",children:c.location})]}),c.skills&&c.skills.length>0&&(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)("p",{className:"text-sm text-muted-foreground mb-2",children:"Skills"}),(0,Ht.jsxs)("div",{className:"flex flex-wrap gap-1",children:[c.skills.slice(0,3).map(d=>(0,Ht.jsx)(U,{variant:"outline",className:"text-xs",children:d},d)),c.skills.length>3&&(0,Ht.jsxs)(U,{variant:"outline",className:"text-xs",children:["+",c.skills.length-3]})]})]})]})})]})},c.id))}),p.length===0&&(0,Ht.jsx)(L,{className:"container ht-4",children:(0,Ht.jsx)(B,{className:"pt-6",children:(0,Ht.jsxs)("div",{className:"text-center py-8",children:[(0,Ht.jsx)(oe.User,{className:"h-12 Ht-12 text-muted-foreground mx-auto mb-4"}),(0,Ht.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No users found"}),(0,Ht.jsx)("p",{className:"text-muted-foreground",children:"Try adjusting your search terms or filters."})]})})})]},"user-selection")})})}function ro({digitalColleagues:e,onColleagueClone:t,onCancel:o,selectedColleagueId:r}){let[i,a]=(0,le.useState)(""),[p,s]=(0,le.useState)("all"),c=(0,le.useMemo)(()=>e.filter(u=>{let h=u.name.toLowerCase().includes(i.toLowerCase())||u.jobDescription.toLowerCase().includes(i.toLowerCase())||u.capabilities.some(E=>E.toLowerCase().includes(i.toLowerCase()))||u.workInstructions.toLowerCase().includes(i.toLowerCase()),j=p==="all"||u.status===p;return h&&j}),[e,i,p]),d=u=>{let h={...u,id:`${u.id}-clone-${Date.now()}`,name:`${u.name} (Copy)`,joinedDate:new Date,lastActive:new Date,lastUpdated:new Date,version:"1.0.0"};t(h)},x=u=>new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric"}).format(u);return(0,Ht.jsx)("div",{className:"px-2 md:px-4 py-4 space-Ht-6",children:(0,Ht.jsx)(ht.AnimatePresence,{mode:"wait",children:(0,Ht.jsxs)(ht.motion.div,{initial:{opacity:0,Ht:10},animate:{opacity:1,Ht:0},exit:{opacity:0,Ht:-10},transition:{duration:.2},children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,Ht.jsxs)(D,{variant:"ghost",onClick:o,className:"gap-2",children:[(0,Ht.jsx)(oe.ChevronLeft,{className:"h-4 Ht-4"}),"Back"]}),(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)("h1",{className:"text-3xl font-bold",children:"Clone Digital Colleague"}),(0,Ht.jsx)("p",{className:"text-muted-foreground",children:"Select a digital colleague to clone"})]})]}),(0,Ht.jsx)(L,{children:(0,Ht.jsx)(B,{className:"pt-6",children:(0,Ht.jsxs)("div",{className:"flex flex-col md:flex-row gap-4",children:[(0,Ht.jsx)("div",{className:"flex-1",children:(0,Ht.jsxs)("div",{className:"relative",children:[(0,Ht.jsx)(oe.Search,{className:"absolute left-3 top-3 h-4 Ht-4 text-muted-foreground"}),(0,Ht.jsx)(re,{placeholder:"Search by name, job description, or capabilities...",value:i,onChange:u=>a(u.target.value),className:"pl-9"})]})}),(0,Ht.jsxs)("select",{value:p,onChange:u=>s(u.target.value),className:"h-10 px-3 rounded-md border border-input bg-background text-sm ring-offset-background",children:[(0,Ht.jsx)("option",{value:"all",children:"All Status"}),(0,Ht.jsx)("option",{value:"active",children:"Active"}),(0,Ht.jsx)("option",{value:"inactive",children:"Inactive"})]})]})})}),(0,Ht.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:c.map(u=>(0,Ht.jsx)(ht.motion.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.2},children:(0,Ht.jsxs)(L,{className:`cursor-pointer transition-all hover:shadow-lg ${r===u.id?"ring-2 ring-primary":""}`,onClick:()=>d(u),children:[(0,Ht.jsx)(G,{className:"pb-3",children:(0,Ht.jsxs)("div",{className:"flex items-start justify-between",children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-3",children:[(0,Ht.jsx)(Ie,{children:(0,Ht.jsx)(Le,{className:"bg-blue-100",children:(0,Ht.jsx)(oe.Bot,{className:"h-4 Ht-4 text-blue-600"})})}),(0,Ht.jsxs)("div",{children:[(0,Ht.jsxs)(J,{className:"text-lg flex items-center gap-2",children:[u.name,(0,Ht.jsx)(U,{variant:u.status==="active"?"default":"secondary",className:"text-xs",children:u.status})]}),(0,Ht.jsxs)("p",{className:"text-sm text-muted-foreground",children:["v",u.version]})]})]}),(0,Ht.jsxs)(D,{size:"sm",variant:"outline",className:"gap-2 h-8",onClick:h=>{h.stopPropagation(),d(u)},children:[(0,Ht.jsx)(oe.Copy,{className:"h-3 Ht-3"}),"Clone"]})]})}),(0,Ht.jsx)(B,{className:"pt-0",children:(0,Ht.jsxs)("div",{className:"space-Ht-3",children:[(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)("p",{className:"text-sm text-muted-foreground",children:"Job Description"}),(0,Ht.jsx)("p",{className:"text-sm line-clamp-2",children:u.jobDescription})]}),u.capabilities&&u.capabilities.length>0&&(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)("p",{className:"text-sm text-muted-foreground mb-2",children:"Capabilities"}),(0,Ht.jsxs)("div",{className:"flex flex-wrap gap-1",children:[u.capabilities.slice(0,3).map(h=>(0,Ht.jsx)(U,{variant:"outline",className:"text-xs",children:h},h)),u.capabilities.length>3&&(0,Ht.jsxs)(U,{variant:"outline",className:"text-xs",children:["+",u.capabilities.length-3]})]})]}),(0,Ht.jsxs)("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-1",children:[(0,Ht.jsx)(oe.Calendar,{className:"h-3 Ht-3"}),(0,Ht.jsxs)("span",{children:["Updated ",x(u.lastUpdated)]})]}),u.knowledge&&(0,Ht.jsxs)("div",{className:"flex items-center gap-1",children:[(0,Ht.jsx)(oe.Users,{className:"h-3 Ht-3"}),(0,Ht.jsxs)("span",{children:[u.knowledge.length," docs"]})]})]}),u.workInstructions&&(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)("p",{className:"text-sm text-muted-foreground",children:"Instructions"}),(0,Ht.jsx)("p",{className:"text-xs line-clamp-2",children:u.workInstructions})]})]})})]})},u.id))}),c.length===0&&(0,Ht.jsx)(L,{children:(0,Ht.jsx)(B,{className:"pt-6",children:(0,Ht.jsxs)("div",{className:"text-center py-8",children:[(0,Ht.jsx)(oe.Bot,{className:"h-12 Ht-12 text-muted-foreground mx-auto mb-4"}),(0,Ht.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No digital colleagues found"}),(0,Ht.jsx)("p",{className:"text-muted-foreground",children:"Try adjusting your search terms or filters."})]})})})]},"colleague-clone")})})}function ao({onSelectHuman:e,onSelectDigital:t,onCancel:o}){return(0,Ht.jsx)("div",{className:"px-2 md:px-4 py-4 space-Ht-6",children:(0,Ht.jsx)(ht.AnimatePresence,{mode:"wait",children:(0,Ht.jsxs)(ht.motion.div,{initial:{opacity:0,Ht:10},animate:{opacity:1,Ht:0},exit:{opacity:0,Ht:-10},transition:{duration:.2},children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,Ht.jsxs)(D,{variant:"ghost",onClick:o,className:"gap-2",children:[(0,Ht.jsx)(oe.ChevronLeft,{className:"h-4 Ht-4"}),"Back"]}),(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)("h1",{className:"text-3xl font-bold",children:"Add Colleague"}),(0,Ht.jsx)("p",{className:"text-muted-foreground",children:"Choose the type of colleague to add"})]})]}),(0,Ht.jsxs)("div",{className:"grid gap-6 md:grid-cols-2 max-Ht-4xl mx-auto",children:[(0,Ht.jsx)(ht.motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:(0,Ht.jsxs)(L,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:e,children:[(0,Ht.jsxs)(G,{className:"text-center pb-4",children:[(0,Ht.jsx)("div",{className:"mx-auto Ht-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:(0,Ht.jsx)(oe.User,{className:"h-8 Ht-8 text-blue-600"})}),(0,Ht.jsx)(J,{className:"text-xl",children:"Add Human Colleague"})]}),(0,Ht.jsxs)(B,{className:"text-center",children:[(0,Ht.jsx)("p",{className:"text-muted-foreground mb-4",children:"Select from existing users in your organization to add as team members."}),(0,Ht.jsxs)("div",{className:"space-Ht-2 text-sm",children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ht.jsx)(oe.Users,{className:"h-4 Ht-4 text-blue-600"}),(0,Ht.jsx)("span",{children:"Browse existing users"})]}),(0,Ht.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ht.jsx)(oe.User,{className:"h-4 Ht-4 text-blue-600"}),(0,Ht.jsx)("span",{children:"Import user details automatically"})]})]}),(0,Ht.jsx)(D,{className:"ht-6 Ht-full",onClick:e,children:"Select User"})]})]})}),(0,Ht.jsx)(ht.motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:(0,Ht.jsxs)(L,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:t,children:[(0,Ht.jsxs)(G,{className:"text-center pb-4",children:[(0,Ht.jsx)("div",{className:"mx-auto Ht-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-4",children:(0,Ht.jsx)(oe.Bot,{className:"h-8 Ht-8 text-purple-600"})}),(0,Ht.jsx)(J,{className:"text-xl",children:"Add Digital Colleague"})]}),(0,Ht.jsxs)(B,{className:"text-center",children:[(0,Ht.jsx)("p",{className:"text-muted-foreground mb-4",children:"Clone an existing digital colleague or create a new AI assistant for your team."}),(0,Ht.jsxs)("div",{className:"space-Ht-2 text-sm",children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ht.jsx)(oe.Bot,{className:"h-4 Ht-4 text-purple-600"}),(0,Ht.jsx)("span",{children:"Clone existing colleagues"})]}),(0,Ht.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ht.jsx)(oe.Users,{className:"h-4 Ht-4 text-purple-600"}),(0,Ht.jsx)("span",{children:"Create from templates"})]})]}),(0,Ht.jsx)(D,{className:"ht-6 Ht-full",onClick:t,children:"Add Digital Colleague"})]})]})})]})]},"colleague-type-selection")})})}function io({onCloneExisting:e,onCreateNew:t,onCancel:o}){return(0,Ht.jsx)("div",{className:"px-2 md:px-4 py-4 space-Ht-6",children:(0,Ht.jsx)(ht.AnimatePresence,{mode:"wait",children:(0,Ht.jsxs)(ht.motion.div,{initial:{opacity:0,Ht:10},animate:{opacity:1,Ht:0},exit:{opacity:0,Ht:-10},transition:{duration:.2},children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,Ht.jsxs)(D,{variant:"ghost",onClick:o,className:"gap-2",children:[(0,Ht.jsx)(oe.ChevronLeft,{className:"h-4 Ht-4"}),"Back"]}),(0,Ht.jsxs)("div",{children:[(0,Ht.jsx)("h1",{className:"text-3xl font-bold",children:"Add Digital Colleague"}),(0,Ht.jsx)("p",{className:"text-muted-foreground",children:"Choose how to create your digital colleague"})]})]}),(0,Ht.jsxs)("div",{className:"grid gap-6 md:grid-cols-2 max-Ht-4xl mx-auto",children:[(0,Ht.jsx)(ht.motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:(0,Ht.jsxs)(L,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:e,children:[(0,Ht.jsxs)(G,{className:"text-center pb-4",children:[(0,Ht.jsx)("div",{className:"mx-auto Ht-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:(0,Ht.jsx)(oe.Copy,{className:"h-8 Ht-8 text-blue-600"})}),(0,Ht.jsx)(J,{className:"text-xl",children:"Clone Existing"})]}),(0,Ht.jsxs)(B,{className:"text-center",children:[(0,Ht.jsx)("p",{className:"text-muted-foreground mb-4",children:"Start with an existing digital colleague and customize it for your needs."}),(0,Ht.jsxs)("div",{className:"space-Ht-2 text-sm",children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ht.jsx)(oe.Bot,{className:"h-4 Ht-4 text-blue-600"}),(0,Ht.jsx)("span",{children:"Pre-configured capabilities"})]}),(0,Ht.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ht.jsx)(oe.Copy,{className:"h-4 Ht-4 text-blue-600"}),(0,Ht.jsx)("span",{children:"Inherit knowledge base"})]})]}),(0,Ht.jsx)(D,{className:"ht-6 Ht-full",onClick:e,children:"Browse & Clone"})]})]})}),(0,Ht.jsx)(ht.motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:(0,Ht.jsxs)(L,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:t,children:[(0,Ht.jsxs)(G,{className:"text-center pb-4",children:[(0,Ht.jsx)("div",{className:"mx-auto Ht-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-4",children:(0,Ht.jsx)(oe.Sparkles,{className:"h-8 Ht-8 text-green-600"})}),(0,Ht.jsx)(J,{className:"text-xl",children:"Create New"})]}),(0,Ht.jsxs)(B,{className:"text-center",children:[(0,Ht.jsx)("p",{className:"text-muted-foreground mb-4",children:"Build a completely new digital colleague from scratch with custom specifications."}),(0,Ht.jsxs)("div",{className:"space-Ht-2 text-sm",children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ht.jsx)(oe.Plus,{className:"h-4 Ht-4 text-green-600"}),(0,Ht.jsx)("span",{children:"Custom job description"})]}),(0,Ht.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ht.jsx)(oe.Sparkles,{className:"h-4 Ht-4 text-green-600"}),(0,Ht.jsx)("span",{children:"Define unique capabilities"})]})]}),(0,Ht.jsx)(D,{className:"ht-6 Ht-full",onClick:t,children:"Create from Scratch"})]})]})})]})]},"digital-colleague-options")})})}function no(e,t){let[o,r]=(0,le.useState)(()=>{if(typeof window>"u")return t;try{let a=window.localStorage.getItem(e);return a?JSON.parse(a):t}catch{return t}}),i=a=>{try{r(a),typeof window<"u"&&window.localStorage.setItem(e,JSON.stringify(a))}catch{}};return(0,le.useEffect)(()=>{i(o)},[]),[o,i]}var ct=require("react-icons/fa");function lo({title:e,description:t,badge:o,primaryAction:r,secondaryAction:i,gradient:a,children:p,className:s}){let[c,d]=no(`hero-section-minimized-${e.replace(/\s+/g,"-").toLowerCase()}`,!i&&!t),x=!i&&!t||c;return(0,Ht.jsxs)(ht.motion.div,{initial:{opacity:0,Ht:20},animate:{opacity:1,Ht:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${a} p-8 text-white ${s||""}`,children:[(0,Ht.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,Ht.jsxs)("div",{className:"flex items-center gap-3",children:[o&&(0,Ht.jsx)(U,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:o}),(0,Ht.jsx)("h2",{className:"text-3xl font-bold Ht-0",children:e})]}),(0,Ht.jsxs)("div",{className:"flex items-center gap-3",children:[x&&r&&(0,Ht.jsx)(D,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:r.onClick,children:r.label}),(i||t)&&(0,Ht.jsx)("button",{"aria-label":c?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>d(!c),style:{lineHeight:0},children:c?(0,Ht.jsx)(ct.FaChevronDown,{size:22}):(0,Ht.jsx)(ct.FaChevronUp,{size:22})})]})]}),!x&&(0,Ht.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,Ht.jsxs)("div",{className:"space-Ht-4",children:[(0,Ht.jsx)("p",{className:"max-Ht-[600px] text-white/80",children:t}),(0,Ht.jsxs)("div",{className:"flex flex-wrap gap-3",children:[r&&(0,Ht.jsx)(D,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:r.onClick,children:r.label}),i&&(0,Ht.jsx)(D,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:i.onClick,children:i.label})]})]}),p&&(0,Ht.jsx)("div",{className:"hidden lg:block",children:p})]})]})}function co({initialColleagues:e,onColleagueAdd:t,onColleagueEdit:o,onColleagueDelete:r,compactView:i=!1,departments:a=["Design","Engineering","Marketing","Product","Sales","Operations"],className:p,availableUsers:s=[],existingDigitalColleagues:c=[]}){let[d,x]=(0,le.useState)(e||[]),[u,h]=(0,le.useState)(""),[j,E]=(0,le.useState)("all"),[S,v]=(0,le.useState)("all"),[P,_]=(0,le.useState)("all"),[X,F]=(0,le.useState)(null),[de,ce]=(0,le.useState)(null);(0,le.useEffect)(()=>{x(e||[])},[e]);let Ee=Array.isArray(s)?s:[],M=Array.isArray(c)?c:[],[W,A]=(0,le.useState)("main"),q=d.filter(n=>{if(!n||!n.name)return!1;let ee=n.name.toLowerCase().includes(u.toLowerCase())||n.type==="human"&&(n.email?.toLowerCase().includes(u.toLowerCase())||n.role?.toLowerCase().includes(u.toLowerCase()))||n.type==="digital"&&n.jobDescription?.toLowerCase().includes(u.toLowerCase()),z=j==="all"||n.type==="human"&&n.department===j,ut=S==="all"||n.status===S;return ee&&z&&ut}),I=q.filter(n=>n.type==="human"),Se=q.filter(n=>n.type==="digital"),Z=()=>{A("typeSelection")},me=n=>{n.type==="digital"&&(F(n),A("form")),console.log("Editing colleague:",n),o?.(n)},he=n=>{n.type==="digital"&&(ce(n),A("view"))},Qe=n=>{let ee={id:`human-${Date.now()}`,type:"human",name:n.name,email:n.email,role:n.role,department:n.department,phone:n.phone,location:n.location,timezone:n.timezone,skills:n.skills||[],bio:n.bio,status:"active",joinedDate:new Date,lastActive:new Date};x(z=>[...z,ee]),t?.(ee),A("main")},$e=n=>{if(!n||!n.id){console.error("Invalid cloned colleague provided to handleDigitalColleagueClone:",n);return}x(ee=>[...ee,n]),t?.(n),A("main")},Pe=()=>{F(null),A("form")},We=n=>{if(!n||!n.id){console.error("Invalid colleague provided to handleSaveColleague:",n);return}X?(x(ee=>ee.map(z=>z.id===n.id?n:z)),o?.(n)):(x(ee=>[...ee,n]),t?.(n)),A("main"),F(null)},ne=()=>{A("main"),F(null),ce(null)},mo=()=>{A("main"),ce(null)},fr=()=>{de&&(F(de),ce(null),A("form"))},pt=n=>{console.log("handling delete colleague",n),x(ee=>ee.filter(z=>z.id!==n)),r?.(n)},po=()=>{h(""),E("all"),v("all")},St=()=>{let n=[];return M.forEach(z=>{z.knowledge&&Array.isArray(z.knowledge)&&n.push(...z.knowledge),z.coreKnowledge&&Array.isArray(z.coreKnowledge)&&n.push(...z.coreKnowledge)}),d.forEach(z=>{z.type==="digital"&&(z.knowledge&&Array.isArray(z.knowledge)&&n.push(...z.knowledge),z.coreKnowledge&&Array.isArray(z.coreKnowledge)&&n.push(...z.coreKnowledge))}),n.filter((z,ut,uo)=>ut===uo.findIndex(fo=>fo.id===z.id))};return W==="typeSelection"?(0,Ht.jsx)(ao,{onSelectHuman:()=>A("userSelection"),onSelectDigital:()=>A("digitalOptions"),onCancel:()=>A("main")}):W==="userSelection"?(0,Ht.jsx)(oo,{users:Ee,onUserSelect:Qe,onCancel:()=>A("typeSelection")}):W==="digitalOptions"?(0,Ht.jsx)(io,{onCloneExisting:()=>A("digitalClone"),onCreateNew:Pe,onCancel:()=>A("typeSelection")}):W==="digitalClone"?(0,Ht.jsx)(ro,{digitalColleagues:M,onColleagueClone:$e,onCancel:()=>A("digitalOptions")}):W==="form"?(0,Ht.jsx)(Nt,{colleague:X||void 0,onSave:We,onCancel:ne,availableKnowledgeDocuments:St()}):W==="view"?(0,Ht.jsx)(Nt,{colleague:de||void 0,onSave:We,onCancel:mo,readOnly:!0,availableKnowledgeDocuments:St()}):(0,Ht.jsx)("div",{className:"px-2 md:px-4 py-4 space-Ht-8",children:(0,Ht.jsx)(ht.AnimatePresence,{mode:"wait",children:(0,Ht.jsx)(ht.motion.div,{initial:{opacity:0,Ht:10},animate:{opacity:1,Ht:0},exit:{opacity:0,Ht:-10},transition:{duration:.2},children:(0,Ht.jsxs)("div",{className:`space-Ht-6 ${p||""}`,children:[(0,Ht.jsx)(lo,{title:"Colleagues",description:"Manage your team members and digital colleagues.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Add colleague",onClick:Z}}),(0,Ht.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,Ht.jsxs)(L,{children:[(0,Ht.jsxs)(G,{className:"flex flex-row items-center justify-between space-Ht-0 pb-2",children:[(0,Ht.jsx)(J,{className:"text-sm font-medium",children:"Total Colleagues"}),(0,Ht.jsx)(oe.Users,{className:"h-4 Ht-4 text-muted-foreground"})]}),(0,Ht.jsxs)(B,{children:[(0,Ht.jsx)("div",{className:"text-2xl font-bold",children:d.length}),(0,Ht.jsxs)("p",{className:"text-xs text-muted-foreground",children:[d.filter(n=>n.status==="active").length," active"]})]})]}),(0,Ht.jsxs)(L,{children:[(0,Ht.jsxs)(G,{className:"flex flex-row items-center justify-between space-Ht-0 pb-2",children:[(0,Ht.jsx)(J,{className:"text-sm font-medium",children:"Human Members"}),(0,Ht.jsx)(oe.User,{className:"h-4 Ht-4 text-muted-foreground"})]}),(0,Ht.jsxs)(B,{children:[(0,Ht.jsx)("div",{className:"text-2xl font-bold",children:d.filter(n=>n.type==="human").length}),(0,Ht.jsxs)("p",{className:"text-xs text-muted-foreground",children:[d.filter(n=>n.type==="human"&&n.status==="active").length," ","active"]})]})]}),(0,Ht.jsxs)(L,{children:[(0,Ht.jsxs)(G,{className:"flex flex-row items-center justify-between space-Ht-0 pb-2",children:[(0,Ht.jsx)(J,{className:"text-sm font-medium",children:"Digital Colleagues"}),(0,Ht.jsx)(oe.Bot,{className:"h-4 Ht-4 text-muted-foreground"})]}),(0,Ht.jsxs)(B,{children:[(0,Ht.jsx)("div",{className:"text-2xl font-bold",children:d.filter(n=>n.type==="digital").length}),(0,Ht.jsxs)("p",{className:"text-xs text-muted-foreground",children:[d.filter(n=>n.type==="digital"&&n.status==="active").length," ","active"]})]})]})]}),(0,Ht.jsx)(L,{children:(0,Ht.jsx)(B,{className:"pt-6",children:(0,Ht.jsxs)("div",{className:"flex flex-col md:flex-row gap-4",children:[(0,Ht.jsx)("div",{className:"flex-1",children:(0,Ht.jsxs)("div",{className:"relative",children:[(0,Ht.jsx)(oe.Search,{className:"absolute left-3 top-3 h-4 Ht-4 text-muted-foreground"}),(0,Ht.jsx)(re,{placeholder:"Search colleagues...",value:u,onChange:n=>h(n.target.value),className:"pl-9"})]})}),(0,Ht.jsxs)(vt,{value:j,onValueChange:E,children:[(0,Ht.jsx)(et,{className:"Ht-full md:Ht-[180px]",children:(0,Ht.jsx)(bt,{placeholder:"Department"})}),(0,Ht.jsxs)(tt,{children:[(0,Ht.jsx)(Te,{value:"all",children:"All Departments"}),a.map(n=>(0,Ht.jsx)(Te,{value:n,children:n},n))]})]}),(0,Ht.jsxs)(vt,{value:S,onValueChange:v,children:[(0,Ht.jsx)(et,{className:"Ht-full md:Ht-[140px]",children:(0,Ht.jsx)(bt,{placeholder:"Status"})}),(0,Ht.jsxs)(tt,{children:[(0,Ht.jsx)(Te,{value:"all",children:"All Status"}),(0,Ht.jsx)(Te,{value:"active",children:"Active"}),(0,Ht.jsx)(Te,{value:"inactive",children:"Inactive"})]})]}),(u||j!=="all"||S!=="all")&&(0,Ht.jsxs)(D,{variant:"outline",onClick:po,className:"gap-2",children:[(0,Ht.jsx)(oe.Filter,{className:"h-4 Ht-4"}),"Clear"]})]})})}),(0,Ht.jsxs)("div",{className:"space-Ht-4",children:[(0,Ht.jsx)(Ot,{activeTab:P,onTabChange:_,tabOptions:[{value:"all",label:`All (${q.length})`},{value:"human",label:`Human (${I.length})`},{value:"digital",label:`Digital (${Se.length})`}],maxWidth:"400px",gridCols:3}),P==="all"&&(0,Ht.jsx)("div",{className:`grid gap-4 ${i?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:q.map(n=>(0,Ht.jsx)(st,{colleague:n,onEdit:me,onDelete:pt,onViewDetails:he,compact:i},`${n}-${n.id}`))}),P==="human"&&(0,Ht.jsx)("div",{className:`grid gap-4 ${i?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:I.map(n=>(0,Ht.jsx)(st,{colleague:n,onEdit:me,onDelete:pt,onViewDetails:he,compact:i},n.id))}),P==="digital"&&(0,Ht.jsx)("div",{className:`grid gap-4 ${i?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:Se.map(n=>(0,Ht.jsx)(st,{colleague:n,onEdit:me,onDelete:pt,onViewDetails:he,compact:i},n.id))})]}),q.length===0&&(0,Ht.jsx)(L,{children:(0,Ht.jsx)(B,{className:"pt-6",children:(0,Ht.jsxs)("div",{className:"text-center py-8",children:[(0,Ht.jsx)(oe.Users,{className:"h-12 Ht-12 text-muted-foreground mx-auto mb-4"}),(0,Ht.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No colleagues found"}),(0,Ht.jsx)("p",{className:"text-muted-foreground mb-4",children:u||j!=="all"||S!=="all"?"Try adjusting your filters to see more results.":"Get started by adding your first colleague."}),(0,Ht.jsxs)(D,{onClick:Z,className:"gap-2",children:[(0,Ht.jsx)(oe.Plus,{className:"h-4 Ht-4"}),"Add Colleague"]})]})})})]})},"projects-index-view")})})}
|
|
5
|
+
"use strict";"use client";var bo=Object.create;var Ye=Object.defineProperty;var ho=Object.getOwnPropertyDescriptor;var xo=Object.getOwnPropertyNames;var wo=Object.getPrototypeOf,yo=Object.prototype.hasOwnProperty;var Co=(e,t)=>{for(var o in t)Ye(e,o,{get:t[o],enumerable:!0})},Rt=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of xo(t))!yo.call(e,i)&&i!==o&&Ye(e,i,{get:()=>t[i],enumerable:!(r=ho(t,i))||r.enumerable});return e};var Y=(e,t,o)=>(o=e!=null?bo(wo(e)):{},Rt(t||!e||!e.__esModule?Ye(o,"default",{value:e,enumerable:!0}):o,e)),No=e=>Rt(Ye({},"__esModule",{value:!0}),e);var gr={};Co(gr,{default:()=>po});module.exports=No(gr);var le=require("react"),oe=require("lucide-react");var Et=require("clsx");var vt="-",So=e=>{let t=Ro(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:p=>{let s=p.split(vt);return s[0]===""&&s.length!==1&&s.shift(),Tt(s,t)||Po(p)},getConflictingClassGroupIds:(p,s)=>{let c=o[p]||[];return s&&r[p]?[...c,...r[p]]:c}}},Tt=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),i=r?Tt(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let a=e.join(vt);return t.validators.find(({validator:p})=>p(a))?.classGroupId},Dt=/^\[(.+)\]$/,Po=e=>{if(Dt.test(e)){let t=Dt.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},Ro=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return ko(Object.entries(e.classGroups),o).forEach(([a,p])=>{gt(p,r,a,t)}),r},gt=(e,t,o,r)=>{e.forEach(i=>{if(typeof i=="string"){let a=i===""?t:kt(t,i);a.classGroupId=o;return}if(typeof i=="function"){if(Do(i)){gt(i(r),t,o,r);return}t.validators.push({validator:i,classGroupId:o});return}Object.entries(i).forEach(([a,p])=>{gt(p,kt(t,a),o,r)})})},kt=(e,t)=>{let o=e;return t.split(vt).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},Do=e=>e.isThemeGetter,ko=(e,t)=>t?e.map(([o,r])=>{let i=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([p,s])=>[t+p,s])):a);return[o,i]}):e,To=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,i=(a,p)=>{o.set(a,p),t++,t>e&&(t=0,r=o,o=new Map)};return{get(a){let p=o.get(a);if(p!==void 0)return p;if((p=r.get(a))!==void 0)return i(a,p),p},set(a,p){o.has(a)?o.set(a,p):i(a,p)}}},Mt="!",Mo=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,i=t[0],a=t.length,p=s=>{let c=[],d=0,x=0,u;for(let v=0;v<s.length;v++){let P=s[v];if(d===0){if(P===i&&(r||s.slice(v,v+a)===t)){c.push(s.slice(x,v)),x=v+a;continue}if(P==="/"){u=v;continue}}P==="["?d++:P==="]"&&d--}let h=c.length===0?s:s.substring(x),j=h.startsWith(Mt),E=j?h.substring(1):h,S=u&&u>x?u-x:void 0;return{modifiers:c,hasImportantModifier:j,baseClassName:E,maybePostfixModifierPosition:S}};return o?s=>o({className:s,parseClassName:p}):p},Ao=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},Io=e=>({cache:To(e.cacheSize),parseClassName:Mo(e),...So(e)}),Lo=/\s+/,Bo=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],p=e.trim().split(Lo),s="";for(let c=p.length-1;c>=0;c-=1){let d=p[c],{modifiers:x,hasImportantModifier:u,baseClassName:h,maybePostfixModifierPosition:j}=o(d),E=!!j,S=r(E?h.substring(0,j):h);if(!S){if(!E){s=d+(s.length>0?" "+s:s);continue}if(S=r(h),!S){s=d+(s.length>0?" "+s:s);continue}E=!1}let v=Ao(x).join(":"),P=u?v+Mt:v,_=P+S;if(a.includes(_))continue;a.push(_);let X=i(S,E);for(let F=0;F<X.length;++F){let de=X[F];a.push(P+de)}s=d+(s.length>0?" "+s:s)}return s};function Eo(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=At(t))&&(r&&(r+=" "),r+=o);return r}var At=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=At(e[r]))&&(o&&(o+=" "),o+=t);return o};function zo(e,...t){let o,r,i,a=p;function p(c){let d=t.reduce((x,u)=>u(x),e());return o=Io(d),r=o.cache.get,i=o.cache.set,a=s,s(c)}function s(c){let d=r(c);if(d)return d;let x=Bo(c,o);return i(c,x),x}return function(){return a(Eo.apply(null,arguments))}}var H=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},It=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ho=/^\d+\/\d+$/,jo=new Set(["px","full","screen"]),Uo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Fo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(Ut|h|i|Ut|min|max))|\Ut(calc|min|max|clamp)\(.+\)|^0$/,Vo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,$o=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Wo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,pe=e=>ze(e)||jo.has(e)||Ho.test(e),xe=e=>He(e,"length",Zo),ze=e=>!!e&&!Number.isNaN(Number(e)),ft=e=>He(e,"number",ze),Ge=e=>!!e&&Number.isInteger(Number(e)),Go=e=>e.endsWith("%")&&ze(e.slice(0,-1)),C=e=>It.test(e),we=e=>Uo.test(e),Ko=new Set(["length","size","percentage"]),Oo=e=>He(e,Ko,Lt),_o=e=>He(e,"position",Lt),qo=new Set(["image","url"]),Jo=e=>He(e,qo,Yo),Xo=e=>He(e,"",Qo),Ke=()=>!0,He=(e,t,o)=>{let r=It.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Zo=e=>Fo.test(e)&&!Vo.test(e),Lt=()=>!1,Qo=e=>$o.test(e),Yo=e=>Wo.test(e);var er=()=>{let e=H("colors"),t=H("spacing"),o=H("blur"),r=H("brightness"),i=H("borderColor"),a=H("borderRadius"),p=H("borderSpacing"),s=H("borderWidth"),c=H("contrast"),d=H("grayscale"),x=H("hueRotate"),u=H("invert"),h=H("gap"),j=H("gradientColorStops"),E=H("gradientColorStopPositions"),S=H("inset"),v=H("margin"),P=H("opacity"),_=H("padding"),X=H("saturate"),F=H("scale"),de=H("sepia"),ce=H("skew"),Ee=H("space"),M=H("translate"),W=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],q=()=>["auto",C,t],I=()=>[C,t],Se=()=>["",pe,xe],Z=()=>["auto",ze,C],me=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],he=()=>["solid","dashed","dotted","double","none"],Qe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$e=()=>["start","end","center","between","around","evenly","stretch"],Pe=()=>["","0",C],We=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ne=()=>[ze,C];return{cacheSize:500,separator:":",theme:{colors:[Ke],spacing:[pe,xe],blur:["none","",we,C],brightness:ne(),borderColor:[e],borderRadius:["none","","full",we,C],borderSpacing:I(),borderWidth:Se(),contrast:ne(),grayscale:Pe(),hueRotate:ne(),invert:Pe(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[Go,xe],inset:q(),margin:q(),opacity:ne(),padding:I(),saturate:ne(),scale:ne(),sepia:Pe(),skew:ne(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",C]}],container:["container"],columns:[{columns:[we]}],"break-after":[{"break-after":We()}],"break-before":[{"break-before":We()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...me(),C]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-Ut":[{"overflow-Ut":A()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-Ut":[{"overscroll-Ut":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[S]}],"inset-x":[{"inset-x":[S]}],"inset-Ut":[{"inset-Ut":[S]}],start:[{start:[S]}],end:[{end:[S]}],top:[{top:[S]}],right:[{right:[S]}],bottom:[{bottom:[S]}],left:[{left:[S]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ge,C]}],basis:[{basis:q()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",C]}],grow:[{grow:Pe()}],shrink:[{shrink:Pe()}],order:[{order:["first","last","none",Ge,C]}],"grid-cols":[{"grid-cols":[Ke]}],"col-start-end":[{col:["auto",{span:["full",Ge,C]},C]}],"col-start":[{"col-start":Z()}],"col-end":[{"col-end":Z()}],"grid-rows":[{"grid-rows":[Ke]}],"row-start-end":[{row:["auto",{span:[Ge,C]},C]}],"row-start":[{"row-start":Z()}],"row-end":[{"row-end":Z()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",C]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",C]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-Ut":[{"gap-Ut":[h]}],"justify-content":[{justify:["normal",...$e()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...$e(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...$e(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[_]}],px:[{px:[_]}],py:[{py:[_]}],ps:[{ps:[_]}],pe:[{pe:[_]}],pt:[{pt:[_]}],pr:[{pr:[_]}],pb:[{pb:[_]}],pl:[{pl:[_]}],Ut:[{Ut:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],xt:[{xt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[Ee]}],"space-x-reverse":["space-x-reverse"],"space-Ut":[{"space-Ut":[Ee]}],"space-Ut-reverse":["space-Ut-reverse"],Ut:[{Ut:["auto","min","max","fit","svw","lvw","dvw",C,t]}],"min-Ut":[{"min-Ut":[C,t,"min","max","fit"]}],"max-Ut":[{"max-Ut":[C,t,"none","full","min","max","fit","prose",{screen:[we]},we]}],h:[{h:[C,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[C,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[C,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[C,t,"auto","min","max","fit"]}],"font-size":[{text:["base",we,xe]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ft]}],"font-family":[{font:[Ke]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",C]}],"line-clamp":[{"line-clamp":["none",ze,ft]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",pe,C]}],"list-image":[{"list-image":["none",C]}],"list-style-type":[{list:["none","disc","decimal",C]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...he(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",pe,xe]}],"underline-offset":[{"underline-offset":["auto",pe,C]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",C]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",C]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...me(),_o]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","Ut","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Oo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","Ut","bl","Ut","tl"]},Jo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[j]}],"gradient-via":[{via:[j]}],"gradient-to":[{to:[j]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-Ut":[{"rounded-Ut":[a]}],"rounded-Ut":[{"rounded-Ut":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-oe":[{"rounded-oe":[a]}],"rounded-Ut":[{"rounded-Ut":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-Ut":[{border:[s]}],"border-Ut-x":[{"border-x":[s]}],"border-Ut-Ut":[{"border-Ut":[s]}],"border-Ut-s":[{"border-s":[s]}],"border-Ut-e":[{"border-e":[s]}],"border-Ut-t":[{"border-t":[s]}],"border-Ut-r":[{"border-r":[s]}],"border-Ut-Ut":[{"border-Ut":[s]}],"border-Ut-Ut":[{"border-Ut":[s]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...he(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-Ut":[{"divide-Ut":[s]}],"divide-Ut-reverse":["divide-Ut-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:he()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-Ut":[{"border-Ut":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-Ut":[{"border-Ut":[i]}],"border-color-Ut":[{"border-Ut":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...he()]}],"outline-offset":[{"outline-offset":[pe,C]}],"outline-Ut":[{outline:[pe,xe]}],"outline-color":[{outline:[e]}],"ring-Ut":[{ring:Se()}],"ring-Ut-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-Ut":[{"ring-offset":[pe,xe]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",we,Xo]}],"shadow-color":[{shadow:[Ke]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...Qe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Qe()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",we,C]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[x]}],invert:[{invert:[u]}],saturate:[{saturate:[X]}],sepia:[{sepia:[de]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[X]}],"backdrop-sepia":[{"backdrop-sepia":[de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[p]}],"border-spacing-x":[{"border-spacing-x":[p]}],"border-spacing-Ut":[{"border-spacing-Ut":[p]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",C]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",C]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",C]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-Ut":[{"scale-Ut":[F]}],rotate:[{rotate:[Ge,C]}],"translate-x":[{"translate-x":[M]}],"translate-Ut":[{"translate-Ut":[M]}],"skew-x":[{"skew-x":[ce]}],"skew-Ut":[{"skew-Ut":[ce]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",C]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","Ut-resize","ne-resize","nw-resize","oe-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",C]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","Ut","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-Ut":[{"scroll-Ut":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-xt":[{"scroll-xt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","Ut","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-Ut":[{"touch-pan":["Ut","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",C]}],fill:[{fill:[e,"none"]}],"stroke-Ut":[{stroke:[pe,xe,ft]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-Ut"],overscroll:["overscroll-x","overscroll-Ut"],inset:["inset-x","inset-Ut","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-Ut":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-Ut"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],Ut:["mx","my","ms","me","xt","mr","mb","ml"],mx:["mr","ml"],my:["xt","mb"],size:["Ut","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-Ut","rounded-Ut","rounded-ss","rounded-oe","rounded-Ut","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-oe","rounded-Ut"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-Ut":["rounded-br","rounded-bl"],"rounded-Ut":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-Ut"],"border-Ut":["border-Ut-s","border-Ut-e","border-Ut-t","border-Ut-r","border-Ut-Ut","border-Ut-Ut"],"border-Ut-x":["border-Ut-r","border-Ut-Ut"],"border-Ut-Ut":["border-Ut-t","border-Ut-Ut"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-Ut","border-color-Ut"],"border-color-x":["border-color-r","border-color-Ut"],"border-color-Ut":["border-color-t","border-color-Ut"],"scroll-Ut":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-xt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-xt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-Ut","touch-pz"],"touch-x":["touch"],"touch-Ut":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var Bt=zo(er);function g(...e){return Bt((0,Et.clsx)(e))}var zt=require("@radix-ui/react-slot"),Ht=require("class-variance-authority"),jt=Y(require("react")),Ut=require("react/jsx-runtime"),tr=(0,Ht.cva)("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 Ut-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"}}}),D=jt.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...i},a)=>(0,Ut.jsx)(e?zt.Slot:"button",{className:g(tr({className:t,size:o,variant:r})),ref:a,...i}));D.displayName="Button";var Re=Y(require("react"));var L=Re.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)("div",{ref:o,className:g("rounded-xl border bg-card text-card-foreground shadow",e),...t}));L.displayName="Card";var G=Re.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)("div",{ref:o,className:g("flex flex-col space-Ut-1.5 p-6",e),...t}));G.displayName="CardHeader";var J=Re.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)("div",{ref:o,className:g("font-semibold leading-none tracking-tight",e),...t}));J.displayName="CardTitle";var or=Re.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)("div",{ref:o,className:g("text-sm text-muted-foreground",e),...t}));or.displayName="CardDescription";var B=Re.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)("div",{ref:o,className:g("p-6 pt-0",e),...t}));B.displayName="CardContent";var rr=Re.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)("div",{ref:o,className:g("flex items-center p-6 pt-0",e),...t}));rr.displayName="CardFooter";var Ft=Y(require("react"));var re=Ft.forwardRef(({className:e,type:t,...o},r)=>(0,Ut.jsx)("input",{type:t,className:g("flex h-9 Ut-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...o}));re.displayName="Input";var k=Y(require("@radix-ui/react-select")),ye=Y(require("react")),bt=k.Root;var ht=k.Value,et=ye.forwardRef(({children:e,className:t,...o},r)=>(0,Ut.jsxs)(k.Trigger,{className:g("flex h-10 Ut-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...o,children:[e,(0,Ut.jsx)(k.Icon,{asChild:!0,children:(0,Ut.jsx)(oe.ChevronDown,{className:"h-4 Ut-4 opacity-50"})})]}));et.displayName=k.Trigger.displayName;var $t=ye.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)(k.ScrollUpButton,{className:g("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Ut.jsx)(oe.ChevronUp,{className:"h-4 Ut-4"})}));$t.displayName=k.ScrollUpButton.displayName;var Wt=ye.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)(k.ScrollDownButton,{className:g("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Ut.jsx)(oe.ChevronDown,{className:"h-4 Ut-4"})}));Wt.displayName=k.ScrollDownButton.displayName;var tt=ye.forwardRef(({children:e,className:t,position:o="popper",...r},i)=>(0,Ut.jsx)(k.Portal,{children:(0,Ut.jsxs)(k.Content,{className:g("relative z-50 max-h-96 min-Ut-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-Ut-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-Ut-1",t),position:o,ref:i,...r,children:[(0,Ut.jsx)($t,{}),(0,Ut.jsx)(k.Viewport,{className:g("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] Ut-full min-Ut-[var(--radix-select-trigger-width)]"),children:e}),(0,Ut.jsx)(Wt,{})]})}));tt.displayName=k.Content.displayName;var ar=ye.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)(k.Label,{className:g("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));ar.displayName=k.Label.displayName;var Te=ye.forwardRef(({children:e,className:t,...o},r)=>(0,Ut.jsxs)(k.Item,{className:g("relative flex Ut-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...o,children:[(0,Ut.jsx)("span",{className:"absolute left-2 flex h-3.5 Ut-3.5 items-center justify-center",children:(0,Ut.jsx)(k.ItemIndicator,{children:(0,Ut.jsx)(oe.Check,{className:"h-4 Ut-4"})})}),(0,Ut.jsx)(k.ItemText,{children:e})]}));Te.displayName=k.Item.displayName;var ir=ye.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)(k.Separator,{className:g("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));ir.displayName=k.Separator.displayName;var xt=require("motion/react");var Me=Y(require("@radix-ui/react-tabs"));function Gt({className:e,...t}){return(0,Ut.jsx)(Me.Root,{"data-slot":"tabs",className:g("flex flex-col gap-2",e),...t})}function Kt({className:e,...t}){return(0,Ut.jsx)(Me.List,{"data-slot":"tabs-list",className:g("bg-muted text-muted-foreground inline-flex h-9 Ut-fit items-center justify-center rounded-lg p-[3px]",e),...t})}function Ot({className:e,...t}){return(0,Ut.jsx)(Me.Trigger,{"data-slot":"tabs-trigger",className:g("data-[state=active]:bg-accent data-[state=active]:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...t})}var ue=Y(require("react")),T=Y(require("@radix-ui/react-dropdown-menu")),je=require("@radix-ui/react-icons");var rt=T.Root,at=T.Trigger;var nr=ue.forwardRef(({className:e,inset:t,children:o,...r},i)=>(0,Ut.jsxs)(T.SubTrigger,{ref:i,className:g("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...r,children:[o,(0,Ut.jsx)(je.ChevronRightIcon,{className:"ml-auto"})]}));nr.displayName=T.SubTrigger.displayName;var sr=ue.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)(T.SubContent,{ref:o,className:g("z-50 min-Ut-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));sr.displayName=T.SubContent.displayName;var Oe=ue.forwardRef(({className:e,sideOffset:t=4,...o},r)=>(0,Ut.jsx)(T.Portal,{children:(0,Ut.jsx)(T.Content,{ref:r,sideOffset:t,className:g("z-50 min-Ut-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...o})}));Oe.displayName=T.Content.displayName;var Ae=ue.forwardRef(({className:e,inset:t,...o},r)=>(0,Ut.jsx)(T.Item,{ref:r,className:g("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",t&&"pl-8",e),...o}));Ae.displayName=T.Item.displayName;var lr=ue.forwardRef(({className:e,children:t,checked:o,...r},i)=>(0,Ut.jsxs)(T.CheckboxItem,{ref:i,className:g("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:o,...r,children:[(0,Ut.jsx)("span",{className:"absolute left-2 flex h-3.5 Ut-3.5 items-center justify-center",children:(0,Ut.jsx)(T.ItemIndicator,{children:(0,Ut.jsx)(je.CheckIcon,{className:"h-4 Ut-4"})})}),t]}));lr.displayName=T.CheckboxItem.displayName;var dr=ue.forwardRef(({className:e,children:t,...o},r)=>(0,Ut.jsxs)(T.RadioItem,{ref:r,className:g("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[(0,Ut.jsx)("span",{className:"absolute left-2 flex h-3.5 Ut-3.5 items-center justify-center",children:(0,Ut.jsx)(T.ItemIndicator,{children:(0,Ut.jsx)(je.DotFilledIcon,{className:"h-4 Ut-4 fill-current"})})}),t]}));dr.displayName=T.RadioItem.displayName;var cr=ue.forwardRef(({className:e,inset:t,...o},r)=>(0,Ut.jsx)(T.Label,{ref:r,className:g("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));cr.displayName=T.Label.displayName;var mr=ue.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)(T.Separator,{ref:o,className:g("-mx-1 my-1 h-px bg-muted",e),...t}));mr.displayName=T.Separator.displayName;var pr=({className:e,...t})=>(0,Ut.jsx)("span",{className:g("ml-auto text-xs tracking-widest opacity-60",e),...t});pr.displayName="DropdownMenuShortcut";function qt({activeTab:e,onTabChange:t,tabOptions:o,className:r="",maxWidth:i="700px",gridCols:a=6}){let p=o.find(s=>s.value===e);return(0,Ut.jsxs)(xt.motion.div,{className:`flex-1 flex justify-center ${r}`,initial:{opacity:0,Ut:-20},animate:{opacity:1,Ut:0},transition:{duration:.3,ease:"easeOut"},children:[(0,Ut.jsx)("div",{className:"hidden lg:block",children:(0,Ut.jsx)(Gt,{value:e,onValueChange:t,children:(0,Ut.jsx)(Kt,{className:"grid Ut-full rounded-2xl p-0 h-10",style:{maxWidth:i,gridTemplateColumns:`repeat(${Math.min(a,o.length)}, minmax(0, 1fr))`},children:o.map(s=>(0,Ut.jsx)(xt.motion.div,{whileHover:{scale:1.1},whileTap:{scale:.98},transition:{type:"spring",stiffness:400,damping:17},className:"flex-1 px-2",children:(0,Ut.jsx)(Ot,{value:s.value,className:"Ut-full h-8 rounded-xl data-[state=active]:rounded-xl transition-all duration-200 hover:border hover:border-accent hover:bg-accent/10 px-4 py-2 text-sm font-medium",children:s.label})},s.value))})})}),(0,Ut.jsx)("div",{className:"lg:hidden",children:(0,Ut.jsxs)(rt,{children:[(0,Ut.jsx)(at,{asChild:!0,children:(0,Ut.jsxs)(D,{variant:"outline",className:"rounded-2xl min-Ut-[140px] justify-between",children:[p?.label||"Select",(0,Ut.jsx)(oe.ChevronDown,{className:"h-4 Ut-4 ml-2"})]})}),(0,Ut.jsx)(Oe,{align:"center",className:"Ut-[180px]",children:o.map(s=>(0,Ut.jsx)(Ae,{onClick:()=>t?.(s.value),className:`cursor-pointer ${e===s.value?"bg-accent":""}`,children:s.label},s.value))})]})})]})}var it=Y(require("react")),fe=Y(require("@radix-ui/react-avatar"));var Ie=it.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)(fe.Root,{ref:o,className:g("relative flex h-10 Ut-10 shrink-0 overflow-hidden rounded-full",e),...t}));Ie.displayName=fe.Root.displayName;var _e=it.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)(fe.Image,{ref:o,className:g("aspect-square h-full Ut-full",e),...t}));_e.displayName=fe.Image.displayName;var Le=it.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)(fe.Fallback,{ref:o,className:g("flex h-full Ut-full items-center justify-center rounded-full bg-muted",e),...t}));Le.displayName=fe.Fallback.displayName;var ur=(0,Ht.cva)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function U({className:e,variant:t,...o}){return(0,Ut.jsx)("div",{className:g(ur({variant:t}),e),...o})}function st({colleague:e,onEdit:t,onDelete:o,onViewDetails:r,showActions:i=!0,compact:a=!1,className:p}){let[s,c]=(0,le.useState)(!1),d=h=>{switch(h){case"active":return"bg-green-500";case"inactive":return"bg-gray-500";default:return"bg-gray-500"}},x=h=>{switch(h){case"active":return"Active";case"inactive":return"Inactive";default:return"Unknown"}},u=h=>{if(!h)return"Never";let E=Math.floor((new Date().getTime()-h.getTime())/(1e3*60));return E<1?"Just now":E<60?`${E}Ut ago`:E<1440?`${Math.floor(E/60)}h ago`:`${Math.floor(E/1440)}d ago`};return(0,Ut.jsxs)(L,{className:g("hover:shadow-md transition-shadow",a&&"p-2",p),children:[(0,Ut.jsx)(G,{className:g("pb-3",a&&"pb-2"),children:(0,Ut.jsxs)("div",{className:"flex items-start justify-between",children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-3",children:[(0,Ut.jsx)("div",{className:"relative",children:(0,Ut.jsxs)(Ie,{className:g("h-12 Ut-12",a&&"h-8 Ut-8"),children:[(0,Ut.jsx)(_e,{src:"/placeholder.svg",alt:e.name}),(0,Ut.jsx)(Le,{children:e.name.split(" ").map(h=>h[0]).join("")})]})}),(0,Ut.jsxs)("div",{className:"flex-1 min-Ut-0",children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-2",children:[(0,Ut.jsx)("h3",{className:g("font-semibold text-sm truncate",a&&"text-xs"),children:e.name}),e.type==="digital"?(0,Ut.jsx)($.Bot,{className:g("h-4 Ut-4 text-blue-500",a&&"h-3 Ut-3")}):(0,Ut.jsx)($.User,{className:g("h-4 Ut-4 text-green-500",a&&"h-3 Ut-3")})]}),(0,Ut.jsx)("p",{className:g("text-sm text-muted-foreground truncate",a&&"text-xs"),children:e.type==="human"?e.role:e.description}),!a&&(0,Ut.jsxs)("div",{className:"flex items-center gap-2 xt-1",children:[e.type==="human"&&(0,Ut.jsx)(U,{variant:"secondary",className:"text-xs",children:e.department}),e.type==="digital"&&(0,Ut.jsxs)(U,{variant:"secondary",className:"text-xs",children:["v",e.version]}),(0,Ut.jsx)(U,{variant:"outline",className:"text-xs",children:x(e.status)})]})]})]}),i&&(0,Ut.jsxs)(rt,{children:[(0,Ut.jsx)(at,{asChild:!0,children:(0,Ut.jsx)(D,{variant:"ghost",size:"icon",className:g("h-8 Ut-8",a&&"h-6 Ut-6"),children:(0,Ut.jsx)($.MoreHorizontal,{className:g("h-4 Ut-4",a&&"h-3 Ut-3")})})}),(0,Ut.jsxs)(Oe,{align:"end",children:[e.type==="digital"&&(0,Ut.jsxs)(Ut.Fragment,{children:[(0,Ut.jsxs)(Ae,{onClick:()=>r?.(e),children:[(0,Ut.jsx)($.Settings,{className:"h-4 Ut-4 mr-2"}),"View Details"]}),(0,Ut.jsxs)(Ae,{onClick:()=>t?.(e),children:[(0,Ut.jsx)($.Edit,{className:"h-4 Ut-4 mr-2"}),"Edit"]})]}),(0,Ut.jsxs)(Ae,{onClick:()=>o?.(e.id),className:"text-destructive focus:text-destructive",children:[(0,Ut.jsx)($.Trash2,{className:"h-4 Ut-4 mr-2"}),e.type==="digital"?"Delete":"Remove from team"]})]})]})]})}),!a&&(0,Ut.jsxs)(B,{className:"pt-0",children:[(0,Ut.jsxs)("div",{className:"space-Ut-2 text-sm",children:[e.type==="human"&&(0,Ut.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,Ut.jsx)($.Mail,{className:"h-3 Ut-3"}),(0,Ut.jsx)("span",{className:"truncate",children:e.email})]}),e.type==="human"&&(0,Ut.jsxs)(Ut.Fragment,{children:[e.phone&&(0,Ut.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,Ut.jsx)($.Phone,{className:"h-3 Ut-3"}),(0,Ut.jsx)("span",{children:e.phone})]}),e.location&&(0,Ut.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,Ut.jsx)($.MapPin,{className:"h-3 Ut-3"}),(0,Ut.jsx)("span",{children:e.location})]})]}),e.type==="digital"&&(0,Ut.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,Ut.jsx)($.Settings,{className:"h-3 Ut-3"}),(0,Ut.jsxs)("span",{children:["v",e.version]})]}),(0,Ut.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,Ut.jsx)($.Clock,{className:"h-3 Ut-3"}),(0,Ut.jsxs)("span",{children:["Last active: ",u(e.lastActive)]})]})]}),e.type==="human"&&e.skills&&(0,Ut.jsx)("div",{className:"xt-3",children:(0,Ut.jsxs)("div",{className:"flex flex-wrap gap-1",children:[e.skills.slice(0,s?e.skills.length:3).map(h=>(0,Ut.jsx)(U,{variant:"outline",className:"text-xs",children:h},h)),e.skills.length>3&&(0,Ut.jsx)(D,{variant:"ghost",size:"sm",className:"h-5 px-2 text-xs",onClick:()=>c(!s),children:s?"Show less":`+${e.skills.length-3} more`})]})}),e.type==="digital"&&(0,Ut.jsx)("div",{className:"xt-3",children:(0,Ut.jsxs)("div",{className:"flex flex-wrap gap-1",children:[e.capabilities.slice(0,s?e.capabilities.length:2).map(h=>(0,Ut.jsx)(U,{variant:"outline",className:"text-xs",children:h},h)),e.capabilities.length>2&&(0,Ut.jsx)(D,{variant:"ghost",size:"sm",className:"h-5 px-2 text-xs",onClick:()=>c(!s),children:s?"Show less":`+${e.capabilities.length-2} more`})]})})]})]})}var Qt=Y(require("react")),wt=Y(require("@radix-ui/react-label"));var fr=(0,Ht.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ge=Qt.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)(wt.Root,{ref:o,className:g(fr(),e),...t}));ge.displayName=wt.Root.displayName;var to=Y(require("react")),qe=to.forwardRef(({className:e,...t},o)=>(0,Ut.jsx)("textarea",{className:g("flex min-h-[80px] Ut-full rounded border border-border bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:o,...t}));qe.displayName="Textarea";var yt=Y(require("react")),ae=Y(require("@radix-ui/react-scroll-area"));var Ct=yt.forwardRef(({className:e,children:t,...o},r)=>(0,Ut.jsxs)(ae.Root,{ref:r,className:g("relative overflow-hidden",e),...o,children:[(0,Ut.jsx)(ae.Viewport,{className:"h-full Ut-full rounded-[inherit]",children:t}),(0,Ut.jsx)(ro,{}),(0,Ut.jsx)(ae.Corner,{})]}));Ct.displayName=ae.Root.displayName;var ro=yt.forwardRef(({className:e,orientation:t="vertical",...o},r)=>(0,Ut.jsx)(ae.ScrollAreaScrollbar,{ref:r,orientation:t,className:g("flex touch-none select-none transition-colors",t==="vertical"&&"h-full Ut-2.5 border-Ut border-Ut-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...o,children:(0,Ut.jsx)(ae.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));ro.displayName=ae.ScrollAreaScrollbar.displayName;function Nt({selectedDocuments:e,onDocumentsChange:t,availableDocuments:o,label:r,placeholder:i="Search knowledge documents...",maxSelections:a,disabled:p=!1}){let[s,c]=(0,le.useState)(""),[d,x]=(0,le.useState)([]),[u,h]=(0,le.useState)(!1);(0,le.useEffect)(()=>{if(!s.trim()){x([]),h(!1);return}let v=o.filter(P=>{if(e.map(F=>F.id).includes(P.id))return!1;let X=s.toLowerCase();return P.title.toLowerCase().includes(X)||P.description?.toLowerCase().includes(X)||P.tags?.some(F=>F.toLowerCase().includes(X))||Object.values(P.metadata||{}).some(F=>String(F).toLowerCase().includes(X))});x(v),h(!0)},[s,e,o]);let j=v=>{a&&e.length>=a||(t([...e,v]),c(""),h(!1))},E=v=>{t(e.filter(P=>P.id!==v))},S=!a||e.length<a;return(0,Ut.jsxs)("div",{className:"space-Ut-2",children:[(0,Ut.jsx)(ge,{children:r}),(0,Ut.jsxs)("div",{className:"relative",children:[(0,Ut.jsxs)("div",{className:"relative",children:[(0,Ut.jsx)(oe.Search,{className:"absolute left-3 top-3 h-4 Ut-4 text-muted-foreground"}),(0,Ut.jsx)(re,{value:s,onChange:v=>c(v.target.value),placeholder:S?i:`Maximum ${a} documents selected`,className:"pl-9",disabled:p||!S,onFocus:()=>s&&h(!0)})]}),u&&d.length>0&&(0,Ut.jsx)(L,{className:"absolute top-full left-0 right-0 z-10 xt-1 max-h-60",children:(0,Ut.jsx)(Ct,{className:"h-full",children:(0,Ut.jsx)(B,{className:"p-2",children:d.map(v=>(0,Ut.jsx)(D,{variant:"ghost",className:"Ut-full justify-start h-auto p-3 mb-1",onClick:()=>j(v),disabled:p,children:(0,Ut.jsxs)("div",{className:"flex items-start gap-3 Ut-full",children:[(0,Ut.jsx)(oe.FileText,{className:"h-4 Ut-4 xt-0.5 text-muted-foreground flex-shrink-0"}),(0,Ut.jsxs)("div",{className:"text-left flex-1 min-Ut-0",children:[(0,Ut.jsx)("div",{className:"font-medium text-sm truncate",children:v.title}),v.description&&(0,Ut.jsx)("div",{className:"text-xs text-muted-foreground xt-1 line-clamp-2",children:v.description}),v.tags&&v.tags.length>0&&(0,Ut.jsxs)("div",{className:"flex flex-wrap gap-1 xt-2",children:[v.tags.slice(0,3).map(P=>(0,Ut.jsx)(U,{variant:"outline",className:"text-xs",children:P},P)),v.tags.length>3&&(0,Ut.jsxs)(U,{variant:"outline",className:"text-xs",children:["+",v.tags.length-3," more"]})]})]})]})},v.id))})})}),u&&s&&d.length===0&&(0,Ut.jsx)(L,{className:"absolute top-full left-0 right-0 z-10 xt-1",children:(0,Ut.jsxs)(B,{className:"p-4 text-center text-sm text-muted-foreground",children:['No knowledge documents found for "',s,'"']})})]}),e.length>0&&(0,Ut.jsxs)("div",{className:"space-Ut-2",children:[(0,Ut.jsxs)("div",{className:"text-sm text-muted-foreground",children:["Selected (",e.length,a&&`/${a}`,")"]}),(0,Ut.jsx)("div",{className:"space-Ut-2",children:e.map(v=>(0,Ut.jsx)(L,{className:"p-3",children:(0,Ut.jsxs)("div",{className:"flex items-start gap-3",children:[(0,Ut.jsx)(oe.FileText,{className:"h-4 Ut-4 xt-0.5 text-muted-foreground flex-shrink-0"}),(0,Ut.jsxs)("div",{className:"flex-1 min-Ut-0",children:[(0,Ut.jsx)("div",{className:"font-medium text-sm",children:v.title}),v.description&&(0,Ut.jsx)("div",{className:"text-xs text-muted-foreground xt-1",children:v.description}),v.tags&&v.tags.length>0&&(0,Ut.jsx)("div",{className:"flex flex-wrap gap-1 xt-2",children:v.tags.map(P=>(0,Ut.jsxs)(U,{variant:"outline",className:"text-xs",children:[(0,Ut.jsx)(oe.Tag,{className:"h-3 Ut-3 mr-1"}),P]},P))})]}),(0,Ut.jsx)(D,{type:"button",variant:"ghost",size:"icon",className:"h-6 Ut-6 flex-shrink-0",onClick:()=>E(v.id),disabled:p,children:(0,Ut.jsx)(oe.X,{className:"h-3 Ut-3"})})]})},v.id))})]}),u&&(0,Ut.jsx)("div",{className:"fixed inset-0 z-0",onClick:()=>h(!1)})]})}function St({colleague:e,onSave:t,onCancel:o,isLoading:r=!1,title:i,submitLabel:a,cancelLabel:p="Cancel",readOnly:s=!1,availableKnowledgeDocuments:c=[]}){let[d,x]=(0,le.useState)({type:"digital",name:"",description:"",jobDescription:"",workInstructions:"",capabilities:[],knowledge:[],coreKnowledge:[],version:"1",...e}),[u,h]=(0,le.useState)(""),[j,E]=(0,le.useState)(""),[S,v]=(0,le.useState)(!s);(0,le.useEffect)(()=>{e&&x(e)},[e]);let P=M=>{M.preventDefault();let W=d.version?parseInt(d.version):0,A=e?(W+1).toString():"1",q={id:d.id||Date.now().toString(),name:d.name,type:"digital",status:"active",joinedDate:d.joinedDate||new Date,lastActive:d.lastActive||new Date,description:d.description,jobDescription:d.jobDescription||"",workInstructions:d.workInstructions||"",capabilities:d.capabilities||[],knowledge:d.knowledge||[],coreKnowledge:d.coreKnowledge||[],version:A,lastUpdated:d.lastUpdated||new Date,isActive:!0};t(q)},_=(M,W,A)=>{if(!W.trim())return;let q=d[M]||[];x({...d,[M]:[...q,W.trim()]}),A("")},X=(M,W)=>{let A=d[M]||[];x({...d,[M]:A.filter((q,I)=>I!==W)})},F=M=>{M.preventDefault(),v(!S)},de=(M,W,A,q,I)=>{let Se=d[M]||[];return(0,Ut.jsxs)("div",{className:"space-Ut-2",children:[(0,Ut.jsx)(ge,{children:W}),S&&(0,Ut.jsxs)("div",{className:"flex gap-2",children:[(0,Ut.jsx)(re,{value:A,onChange:Z=>q(Z.target.value),placeholder:I,onKeyPress:Z=>{Z.key==="Enter"&&(Z.preventDefault(),_(M,A,q))},disabled:r}),(0,Ut.jsx)(D,{type:"button",variant:"outline",size:"icon",onClick:()=>_(M,A,q),disabled:r,children:(0,Ut.jsx)(oe.Plus,{className:"h-4 Ut-4"})})]}),(0,Ut.jsx)("div",{className:"flex flex-wrap gap-2",children:Se.map((Z,me)=>(0,Ut.jsxs)(U,{className:"gap-1",children:[Z,S&&(0,Ut.jsx)(D,{type:"button",variant:"ghost",size:"icon",className:"h-4 Ut-4 p-0 hover:bg-accent hover:text-accent-foreground",onClick:()=>X(M,me),disabled:r,children:(0,Ut.jsx)(oe.X,{className:"h-3 Ut-3"})})]},`${M}-${me}-${Z}`))})]})},ce=i||(S?e?"Edit Colleague":"Add New Colleague":"View Colleague"),Ee=a||(e?"Update Colleague":"Add Colleague");return(0,Ut.jsxs)(L,{className:"Ut-8 Ut-full max-Ut-4xl mx-auto",children:[(0,Ut.jsx)(G,{children:(0,Ut.jsxs)(J,{className:"flex items-center gap-2",children:[(0,Ut.jsx)(oe.Bot,{className:"h-5 Ut-5"}),ce]})}),(0,Ut.jsx)(B,{children:(0,Ut.jsxs)("form",{onSubmit:P,className:"space-Ut-6",children:[(0,Ut.jsxs)("div",{className:"space-Ut-4",children:[(0,Ut.jsxs)("div",{className:"space-Ut-2",children:[(0,Ut.jsx)(ge,{htmlFor:"name",children:"Name *"}),(0,Ut.jsx)(re,{id:"name",value:d.name||"",onChange:M=>x({...d,name:M.target.value}),required:!0,disabled:r||!S})]}),(0,Ut.jsxs)("div",{className:"space-Ut-2",children:[(0,Ut.jsx)(ge,{htmlFor:"description",children:"Description"}),(0,Ut.jsx)(qe,{id:"description",value:d.description||"",onChange:M=>x({...d,description:M.target.value}),rows:3,placeholder:"Brief description of this digital colleague...",disabled:r||!S})]})]}),(0,Ut.jsxs)("div",{className:"space-Ut-4",children:[(0,Ut.jsx)("h3",{className:"text-lg font-semibold",children:"Digital Colleague Details"}),(0,Ut.jsxs)("div",{className:"space-Ut-2",children:[(0,Ut.jsx)(ge,{htmlFor:"jobDescription",children:"Job Description *"}),(0,Ut.jsx)(qe,{id:"jobDescription",value:d.jobDescription||"",onChange:M=>x({...d,jobDescription:M.target.value}),rows:4,required:d.type==="digital",disabled:r||!S})]}),(0,Ut.jsxs)("div",{className:"space-Ut-2",children:[(0,Ut.jsx)(ge,{htmlFor:"workInstructions",children:"Work Instructions"}),(0,Ut.jsx)(qe,{id:"workInstructions",value:d.workInstructions||"",onChange:M=>x({...d,workInstructions:M.target.value}),rows:4,placeholder:"Enter detailed work instructions for this digital colleague...",disabled:r||!S})]}),de("capabilities","Capabilities",j,E,"Add capability"),(0,Ut.jsx)(Nt,{selectedDocuments:d.knowledge||[],onDocumentsChange:M=>x({...d,knowledge:M}),label:"Knowledge",placeholder:"Search for knowledge documents to add...",disabled:r||!S,availableDocuments:c}),(0,Ut.jsx)(Nt,{selectedDocuments:d.coreKnowledge||[],onDocumentsChange:M=>x({...d,coreKnowledge:M}),label:"Core Knowledge",placeholder:"Search for core knowledge documents...",maxSelections:5,disabled:r||!S,availableDocuments:c})]}),(0,Ut.jsxs)("div",{className:"flex justify-end gap-2 pt-4 border-t",children:[(0,Ut.jsx)(D,{type:"button",variant:"outline",onClick:o,disabled:r,children:S?p:"Close"}),S?(0,Ut.jsx)(D,{type:"submit",disabled:r,children:r?"Saving...":Ee}):(0,Ut.jsxs)(D,{type:"button",onClick:F,disabled:r,className:"gap-2",children:[(0,Ut.jsx)(oe.Edit,{className:"h-4 Ut-4"}),"Edit"]})]})]})})]})}function ao({users:e,onUserSelect:t,onCancel:o,selectedUserId:r}){let[i,a]=(0,le.useState)(""),p=(0,le.useMemo)(()=>e.filter(c=>c.name.toLowerCase().includes(i.toLowerCase())||c.email.toLowerCase().includes(i.toLowerCase())||c.role.toLowerCase().includes(i.toLowerCase())||(c.skills||[]).some(x=>x.toLowerCase().includes(i.toLowerCase()))),[e,i]),s=c=>{t(c)};return(0,Ut.jsx)("div",{className:"px-2 md:px-4 py-4 space-Ut-6",children:(0,Ut.jsx)(xt.AnimatePresence,{mode:"wait",children:(0,Ut.jsxs)(xt.motion.div,{initial:{opacity:0,Ut:10},animate:{opacity:1,Ut:0},exit:{opacity:0,Ut:-10},transition:{duration:.2},children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,Ut.jsxs)(D,{variant:"ghost",onClick:o,className:"gap-2",children:[(0,Ut.jsx)(oe.ChevronLeft,{className:"h-4 Ut-4"}),"Back"]}),(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)("h1",{className:"text-3xl font-bold",children:"Select User"}),(0,Ut.jsx)("p",{className:"text-muted-foreground",children:"Choose a user to add as a colleague"})]})]}),(0,Ut.jsx)(L,{className:"container",children:(0,Ut.jsx)(B,{className:"pt-6",children:(0,Ut.jsx)("div",{className:"flex flex-col md:flex-row gap-4",children:(0,Ut.jsx)("div",{className:"flex-1",children:(0,Ut.jsxs)("div",{className:"relative",children:[(0,Ut.jsx)(oe.Search,{className:"absolute left-3 top-3 h-4 Ut-4 text-muted-foreground"}),(0,Ut.jsx)(re,{placeholder:"Search users by name, email, role, or skills...",value:i,onChange:c=>a(c.target.value),className:"pl-9"})]})})})})}),(0,Ut.jsx)("div",{className:"container grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:p.map(c=>(0,Ut.jsx)(xt.motion.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.2},children:(0,Ut.jsxs)(L,{className:`cursor-pointer transition-all hover:shadow-lg ${r===c.id?"ring-2 ring-primary":""}`,onClick:()=>s(c),children:[(0,Ut.jsx)(G,{className:"pb-3",children:(0,Ut.jsxs)("div",{className:"flex items-start justify-between",children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-3",children:[(0,Ut.jsxs)(Ie,{children:[(0,Ut.jsx)(_e,{src:c.avatar,alt:c.name}),(0,Ut.jsx)(Le,{children:(0,Ut.jsx)(oe.User,{className:"h-4 Ut-4"})})]}),(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)(J,{className:"text-lg",children:c.name}),(0,Ut.jsx)("p",{className:"text-sm text-muted-foreground",children:c.role})]})]}),r===c.id&&(0,Ut.jsx)(oe.Check,{className:"h-5 Ut-5 text-primary"})]})}),(0,Ut.jsx)(B,{className:"pt-0",children:(0,Ut.jsxs)("div",{className:"space-Ut-3",children:[(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)("p",{className:"text-sm text-muted-foreground",children:"Email"}),(0,Ut.jsx)("p",{className:"text-sm font-medium",children:c.email})]}),(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)("p",{className:"text-sm text-muted-foreground",children:"Department"}),(0,Ut.jsx)(U,{variant:"secondary",children:c.department})]}),c.location&&(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)("p",{className:"text-sm text-muted-foreground",children:"Location"}),(0,Ut.jsx)("p",{className:"text-sm",children:c.location})]}),c.skills&&c.skills.length>0&&(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)("p",{className:"text-sm text-muted-foreground mb-2",children:"Skills"}),(0,Ut.jsxs)("div",{className:"flex flex-wrap gap-1",children:[c.skills.slice(0,3).map(d=>(0,Ut.jsx)(U,{variant:"outline",className:"text-xs",children:d},d)),c.skills.length>3&&(0,Ut.jsxs)(U,{variant:"outline",className:"text-xs",children:["+",c.skills.length-3]})]})]})]})})]})},c.id))}),p.length===0&&(0,Ut.jsx)(L,{className:"container xt-4",children:(0,Ut.jsx)(B,{className:"pt-6",children:(0,Ut.jsxs)("div",{className:"text-center py-8",children:[(0,Ut.jsx)(oe.User,{className:"h-12 Ut-12 text-muted-foreground mx-auto mb-4"}),(0,Ut.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No users found"}),(0,Ut.jsx)("p",{className:"text-muted-foreground",children:"Try adjusting your search terms or filters."})]})})})]},"user-selection")})})}function io({digitalColleagues:e,onColleagueClone:t,onCancel:o,selectedColleagueId:r}){let[i,a]=(0,le.useState)(""),[p,s]=(0,le.useState)("all"),c=(0,le.useMemo)(()=>e.filter(u=>{let h=u.name.toLowerCase().includes(i.toLowerCase())||u.jobDescription.toLowerCase().includes(i.toLowerCase())||u.capabilities.some(E=>E.toLowerCase().includes(i.toLowerCase()))||u.workInstructions.toLowerCase().includes(i.toLowerCase()),j=p==="all"||u.status===p;return h&&j}),[e,i,p]),d=u=>{let h={...u,id:`${u.id}-clone-${Date.now()}`,name:`${u.name} (Copy)`,joinedDate:new Date,lastActive:new Date,lastUpdated:new Date,version:"1.0.0"};t(h)},x=u=>new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric"}).format(u);return(0,Ut.jsx)("div",{className:"px-2 md:px-4 py-4 space-Ut-6",children:(0,Ut.jsx)(xt.AnimatePresence,{mode:"wait",children:(0,Ut.jsxs)(xt.motion.div,{initial:{opacity:0,Ut:10},animate:{opacity:1,Ut:0},exit:{opacity:0,Ut:-10},transition:{duration:.2},children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,Ut.jsxs)(D,{variant:"ghost",onClick:o,className:"gap-2",children:[(0,Ut.jsx)(oe.ChevronLeft,{className:"h-4 Ut-4"}),"Back"]}),(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)("h1",{className:"text-3xl font-bold",children:"Clone Digital Colleague"}),(0,Ut.jsx)("p",{className:"text-muted-foreground",children:"Select a digital colleague to clone"})]})]}),(0,Ut.jsx)(L,{children:(0,Ut.jsx)(B,{className:"pt-6",children:(0,Ut.jsxs)("div",{className:"flex flex-col md:flex-row gap-4",children:[(0,Ut.jsx)("div",{className:"flex-1",children:(0,Ut.jsxs)("div",{className:"relative",children:[(0,Ut.jsx)(oe.Search,{className:"absolute left-3 top-3 h-4 Ut-4 text-muted-foreground"}),(0,Ut.jsx)(re,{placeholder:"Search by name, job description, or capabilities...",value:i,onChange:u=>a(u.target.value),className:"pl-9"})]})}),(0,Ut.jsxs)("select",{value:p,onChange:u=>s(u.target.value),className:"h-10 px-3 rounded-md border border-input bg-background text-sm ring-offset-background",children:[(0,Ut.jsx)("option",{value:"all",children:"All Status"}),(0,Ut.jsx)("option",{value:"active",children:"Active"}),(0,Ut.jsx)("option",{value:"inactive",children:"Inactive"})]})]})})}),(0,Ut.jsx)("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:c.map(u=>(0,Ut.jsx)(xt.motion.div,{layout:!0,initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.2},children:(0,Ut.jsxs)(L,{className:`cursor-pointer transition-all hover:shadow-lg ${r===u.id?"ring-2 ring-primary":""}`,onClick:()=>d(u),children:[(0,Ut.jsx)(G,{className:"pb-3",children:(0,Ut.jsxs)("div",{className:"flex items-start justify-between",children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-3",children:[(0,Ut.jsx)(Ie,{children:(0,Ut.jsx)(Le,{className:"bg-blue-100",children:(0,Ut.jsx)(oe.Bot,{className:"h-4 Ut-4 text-blue-600"})})}),(0,Ut.jsxs)("div",{children:[(0,Ut.jsxs)(J,{className:"text-lg flex items-center gap-2",children:[u.name,(0,Ut.jsx)(U,{variant:u.status==="active"?"default":"secondary",className:"text-xs",children:u.status})]}),(0,Ut.jsxs)("p",{className:"text-sm text-muted-foreground",children:["v",u.version]})]})]}),(0,Ut.jsxs)(D,{size:"sm",variant:"outline",className:"gap-2 h-8",onClick:h=>{h.stopPropagation(),d(u)},children:[(0,Ut.jsx)(oe.Copy,{className:"h-3 Ut-3"}),"Clone"]})]})}),(0,Ut.jsx)(B,{className:"pt-0",children:(0,Ut.jsxs)("div",{className:"space-Ut-3",children:[(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)("p",{className:"text-sm text-muted-foreground",children:"Job Description"}),(0,Ut.jsx)("p",{className:"text-sm line-clamp-2",children:u.jobDescription})]}),u.capabilities&&u.capabilities.length>0&&(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)("p",{className:"text-sm text-muted-foreground mb-2",children:"Capabilities"}),(0,Ut.jsxs)("div",{className:"flex flex-wrap gap-1",children:[u.capabilities.slice(0,3).map(h=>(0,Ut.jsx)(U,{variant:"outline",className:"text-xs",children:h},h)),u.capabilities.length>3&&(0,Ut.jsxs)(U,{variant:"outline",className:"text-xs",children:["+",u.capabilities.length-3]})]})]}),(0,Ut.jsxs)("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-1",children:[(0,Ut.jsx)(oe.Calendar,{className:"h-3 Ut-3"}),(0,Ut.jsxs)("span",{children:["Updated ",x(u.lastUpdated)]})]}),u.knowledge&&(0,Ut.jsxs)("div",{className:"flex items-center gap-1",children:[(0,Ut.jsx)(oe.Users,{className:"h-3 Ut-3"}),(0,Ut.jsxs)("span",{children:[u.knowledge.length," docs"]})]})]}),u.workInstructions&&(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)("p",{className:"text-sm text-muted-foreground",children:"Instructions"}),(0,Ut.jsx)("p",{className:"text-xs line-clamp-2",children:u.workInstructions})]})]})})]})},u.id))}),c.length===0&&(0,Ut.jsx)(L,{children:(0,Ut.jsx)(B,{className:"pt-6",children:(0,Ut.jsxs)("div",{className:"text-center py-8",children:[(0,Ut.jsx)(oe.Bot,{className:"h-12 Ut-12 text-muted-foreground mx-auto mb-4"}),(0,Ut.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No digital colleagues found"}),(0,Ut.jsx)("p",{className:"text-muted-foreground",children:"Try adjusting your search terms or filters."})]})})})]},"colleague-clone")})})}function no({onSelectHuman:e,onSelectDigital:t,onCancel:o}){return(0,Ut.jsx)("div",{className:"px-2 md:px-4 py-4 space-Ut-6",children:(0,Ut.jsx)(xt.AnimatePresence,{mode:"wait",children:(0,Ut.jsxs)(xt.motion.div,{initial:{opacity:0,Ut:10},animate:{opacity:1,Ut:0},exit:{opacity:0,Ut:-10},transition:{duration:.2},children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,Ut.jsxs)(D,{variant:"ghost",onClick:o,className:"gap-2",children:[(0,Ut.jsx)(oe.ChevronLeft,{className:"h-4 Ut-4"}),"Back"]}),(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)("h1",{className:"text-3xl font-bold",children:"Add Colleague"}),(0,Ut.jsx)("p",{className:"text-muted-foreground",children:"Choose the type of colleague to add"})]})]}),(0,Ut.jsxs)("div",{className:"grid gap-6 md:grid-cols-2 max-Ut-4xl mx-auto",children:[(0,Ut.jsx)(xt.motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:(0,Ut.jsxs)(L,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:e,children:[(0,Ut.jsxs)(G,{className:"text-center pb-4",children:[(0,Ut.jsx)("div",{className:"mx-auto Ut-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:(0,Ut.jsx)(oe.User,{className:"h-8 Ut-8 text-blue-600"})}),(0,Ut.jsx)(J,{className:"text-xl",children:"Add Human Colleague"})]}),(0,Ut.jsxs)(B,{className:"text-center",children:[(0,Ut.jsx)("p",{className:"text-muted-foreground mb-4",children:"Select from existing users in your organization to add as team members."}),(0,Ut.jsxs)("div",{className:"space-Ut-2 text-sm",children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ut.jsx)(oe.Users,{className:"h-4 Ut-4 text-blue-600"}),(0,Ut.jsx)("span",{children:"Browse existing users"})]}),(0,Ut.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ut.jsx)(oe.User,{className:"h-4 Ut-4 text-blue-600"}),(0,Ut.jsx)("span",{children:"Import user details automatically"})]})]}),(0,Ut.jsx)(D,{className:"xt-6 Ut-full",onClick:e,children:"Select User"})]})]})}),(0,Ut.jsx)(xt.motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:(0,Ut.jsxs)(L,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:t,children:[(0,Ut.jsxs)(G,{className:"text-center pb-4",children:[(0,Ut.jsx)("div",{className:"mx-auto Ut-16 h-16 bg-purple-100 rounded-full flex items-center justify-center mb-4",children:(0,Ut.jsx)(oe.Bot,{className:"h-8 Ut-8 text-purple-600"})}),(0,Ut.jsx)(J,{className:"text-xl",children:"Add Digital Colleague"})]}),(0,Ut.jsxs)(B,{className:"text-center",children:[(0,Ut.jsx)("p",{className:"text-muted-foreground mb-4",children:"Clone an existing digital colleague or create a new AI assistant for your team."}),(0,Ut.jsxs)("div",{className:"space-Ut-2 text-sm",children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ut.jsx)(oe.Bot,{className:"h-4 Ut-4 text-purple-600"}),(0,Ut.jsx)("span",{children:"Clone existing colleagues"})]}),(0,Ut.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ut.jsx)(oe.Users,{className:"h-4 Ut-4 text-purple-600"}),(0,Ut.jsx)("span",{children:"Create from templates"})]})]}),(0,Ut.jsx)(D,{className:"xt-6 Ut-full",onClick:t,children:"Add Digital Colleague"})]})]})})]})]},"colleague-type-selection")})})}function so({onCloneExisting:e,onCreateNew:t,onCancel:o}){return(0,Ut.jsx)("div",{className:"px-2 md:px-4 py-4 space-Ut-6",children:(0,Ut.jsx)(xt.AnimatePresence,{mode:"wait",children:(0,Ut.jsxs)(xt.motion.div,{initial:{opacity:0,Ut:10},animate:{opacity:1,Ut:0},exit:{opacity:0,Ut:-10},transition:{duration:.2},children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,Ut.jsxs)(D,{variant:"ghost",onClick:o,className:"gap-2",children:[(0,Ut.jsx)(oe.ChevronLeft,{className:"h-4 Ut-4"}),"Back"]}),(0,Ut.jsxs)("div",{children:[(0,Ut.jsx)("h1",{className:"text-3xl font-bold",children:"Add Digital Colleague"}),(0,Ut.jsx)("p",{className:"text-muted-foreground",children:"Choose how to create your digital colleague"})]})]}),(0,Ut.jsxs)("div",{className:"grid gap-6 md:grid-cols-2 max-Ut-4xl mx-auto",children:[(0,Ut.jsx)(xt.motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:(0,Ut.jsxs)(L,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:e,children:[(0,Ut.jsxs)(G,{className:"text-center pb-4",children:[(0,Ut.jsx)("div",{className:"mx-auto Ut-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4",children:(0,Ut.jsx)(oe.Copy,{className:"h-8 Ut-8 text-blue-600"})}),(0,Ut.jsx)(J,{className:"text-xl",children:"Clone Existing"})]}),(0,Ut.jsxs)(B,{className:"text-center",children:[(0,Ut.jsx)("p",{className:"text-muted-foreground mb-4",children:"Start with an existing digital colleague and customize it for your needs."}),(0,Ut.jsxs)("div",{className:"space-Ut-2 text-sm",children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ut.jsx)(oe.Bot,{className:"h-4 Ut-4 text-blue-600"}),(0,Ut.jsx)("span",{children:"Pre-configured capabilities"})]}),(0,Ut.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ut.jsx)(oe.Copy,{className:"h-4 Ut-4 text-blue-600"}),(0,Ut.jsx)("span",{children:"Inherit knowledge base"})]})]}),(0,Ut.jsx)(D,{className:"xt-6 Ut-full",onClick:e,children:"Browse & Clone"})]})]})}),(0,Ut.jsx)(xt.motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{type:"spring",stiffness:300,damping:20},children:(0,Ut.jsxs)(L,{className:"cursor-pointer transition-all hover:shadow-lg border-2 hover:border-primary/50",onClick:t,children:[(0,Ut.jsxs)(G,{className:"text-center pb-4",children:[(0,Ut.jsx)("div",{className:"mx-auto Ut-16 h-16 bg-green-100 rounded-full flex items-center justify-center mb-4",children:(0,Ut.jsx)(oe.Sparkles,{className:"h-8 Ut-8 text-green-600"})}),(0,Ut.jsx)(J,{className:"text-xl",children:"Create New"})]}),(0,Ut.jsxs)(B,{className:"text-center",children:[(0,Ut.jsx)("p",{className:"text-muted-foreground mb-4",children:"Build a completely new digital colleague from scratch with custom specifications."}),(0,Ut.jsxs)("div",{className:"space-Ut-2 text-sm",children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ut.jsx)(oe.Plus,{className:"h-4 Ut-4 text-green-600"}),(0,Ut.jsx)("span",{children:"Custom job description"})]}),(0,Ut.jsxs)("div",{className:"flex items-center gap-2 justify-center",children:[(0,Ut.jsx)(oe.Sparkles,{className:"h-4 Ut-4 text-green-600"}),(0,Ut.jsx)("span",{children:"Define unique capabilities"})]})]}),(0,Ut.jsx)(D,{className:"xt-6 Ut-full",onClick:t,children:"Create from Scratch"})]})]})})]})]},"digital-colleague-options")})})}function lo(e,t){let[o,r]=(0,le.useState)(()=>{if(typeof window>"u")return t;try{let a=window.localStorage.getItem(e);return a?JSON.parse(a):t}catch{return t}}),i=a=>{try{r(a),typeof window<"u"&&window.localStorage.setItem(e,JSON.stringify(a))}catch{}};return(0,le.useEffect)(()=>{i(o)},[]),[o,i]}var ct=require("react-icons/fa");function mo({title:e,description:t,badge:o,primaryAction:r,secondaryAction:i,gradient:a,children:p,className:s}){let[c,d]=lo(`hero-section-minimized-${e.replace(/\s+/g,"-").toLowerCase()}`,!i&&!t),x=!i&&!t||c;return(0,Ut.jsxs)(xt.motion.div,{initial:{opacity:0,Ut:20},animate:{opacity:1,Ut:0},transition:{duration:.5},className:`overflow-hidden rounded-3xl ${a} p-8 text-white ${s||""}`,children:[(0,Ut.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,Ut.jsxs)("div",{className:"flex items-center gap-3",children:[o&&(0,Ut.jsx)(U,{className:"bg-white/20 text-white hover:bg-white/30 rounded-xl",children:o}),(0,Ut.jsx)("h2",{className:"text-3xl font-bold Ut-0",children:e})]}),(0,Ut.jsxs)("div",{className:"flex items-center gap-3",children:[x&&r&&(0,Ut.jsx)(D,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:r.onClick,children:r.label}),(i||t)&&(0,Ut.jsx)("button",{"aria-label":c?"Expand hero section":"Minimize hero section",className:"rounded-full bg-white/20 hover:bg-white/30 p-1 text-white transition-colors",onClick:()=>d(!c),style:{lineHeight:0},children:c?(0,Ut.jsx)(ct.FaChevronDown,{size:22}):(0,Ut.jsx)(ct.FaChevronUp,{size:22})})]})]}),!x&&(0,Ut.jsxs)("div",{className:"flex flex-col gap-6 md:flex-row md:items-center md:justify-between",children:[(0,Ut.jsxs)("div",{className:"space-Ut-4",children:[(0,Ut.jsx)("p",{className:"max-Ut-[600px] text-white/80",children:t}),(0,Ut.jsxs)("div",{className:"flex flex-wrap gap-3",children:[r&&(0,Ut.jsx)(D,{className:"rounded-2xl bg-white text-indigo-700 hover:bg-white/90",onClick:r.onClick,children:r.label}),i&&(0,Ut.jsx)(D,{variant:"outline",className:"rounded-2xl bg-transparent border-white text-white hover:bg-white/10",onClick:i.onClick,children:i.label})]})]}),p&&(0,Ut.jsx)("div",{className:"hidden lg:block",children:p})]})]})}function po({initialColleagues:e,onColleagueAdd:t,onColleagueEdit:o,onColleagueDelete:r,compactView:i=!1,departments:a=["Design","Engineering","Marketing","Product","Sales","Operations"],className:p,availableUsers:s=[],existingDigitalColleagues:c=[]}){let[d,x]=(0,le.useState)(e||[]),[u,h]=(0,le.useState)(""),[j,E]=(0,le.useState)("all"),[S,v]=(0,le.useState)("all"),[P,_]=(0,le.useState)("all"),[X,F]=(0,le.useState)(null),[de,ce]=(0,le.useState)(null);(0,le.useEffect)(()=>{x(e||[])},[e]);let Ee=Array.isArray(s)?s:[],M=Array.isArray(c)?c:[],[W,A]=(0,le.useState)("main"),q=d.filter(n=>{if(!n||!n.name)return!1;let Q=n.name.toLowerCase().includes(u.toLowerCase())||n.type==="human"&&(n.email?.toLowerCase().includes(u.toLowerCase())||n.role?.toLowerCase().includes(u.toLowerCase()))||n.type==="digital"&&n.jobDescription?.toLowerCase().includes(u.toLowerCase()),z=j==="all"||n.type==="human"&&n.department===j,ut=S==="all"||n.status===S;return Q&&z&&ut}),I=q.filter(n=>n.type==="human"),Se=q.filter(n=>n.type==="digital"),Z=()=>{A("typeSelection")},me=n=>{n.type==="digital"&&(F(n),A("form")),console.log("Editing colleague:",n),o?.(n)},he=n=>{n.type==="digital"&&(ce(n),A("view"))},Qe=n=>{let Q={id:`human-${Date.now()}`,type:"human",name:n.name,email:n.email,role:n.role,department:n.department,phone:n.phone,location:n.location,timezone:n.timezone,skills:n.skills||[],bio:n.bio,status:"active",joinedDate:new Date,lastActive:new Date};x(z=>[...z,Q]),t?.(Q),A("main")},$e=n=>{if(!n||!n.id){console.error("Invalid cloned colleague provided to handleDigitalColleagueClone:",n);return}x(Q=>[...Q,n]),t?.(n),A("main")},Pe=()=>{F(null),A("form")},We=n=>{if(!n||!n.id){console.error("Invalid colleague provided to handleSaveColleague:",n);return}X?(x(Q=>Q.map(z=>z.id===n.id?n:z)),o?.(n)):(x(Q=>[...Q,n]),t?.(n)),A("main"),F(null)},ne=()=>{A("main"),F(null),ce(null)},uo=()=>{A("main"),ce(null)},vr=()=>{de&&(F(de),ce(null),A("form"))},pt=n=>{r?.(n,d.find(Q=>Q.id===n).type),x(Q=>Q.filter(z=>z.id!==n))},fo=()=>{h(""),E("all"),v("all")},Pt=()=>{let n=[];return M.forEach(z=>{z.knowledge&&Array.isArray(z.knowledge)&&n.push(...z.knowledge),z.coreKnowledge&&Array.isArray(z.coreKnowledge)&&n.push(...z.coreKnowledge)}),d.forEach(z=>{z.type==="digital"&&(z.knowledge&&Array.isArray(z.knowledge)&&n.push(...z.knowledge),z.coreKnowledge&&Array.isArray(z.coreKnowledge)&&n.push(...z.coreKnowledge))}),n.filter((z,ut,go)=>ut===go.findIndex(vo=>vo.id===z.id))};return W==="typeSelection"?(0,Ut.jsx)(no,{onSelectHuman:()=>A("userSelection"),onSelectDigital:()=>A("digitalOptions"),onCancel:()=>A("main")}):W==="userSelection"?(0,Ut.jsx)(ao,{users:Ee,onUserSelect:Qe,onCancel:()=>A("typeSelection")}):W==="digitalOptions"?(0,Ut.jsx)(so,{onCloneExisting:()=>A("digitalClone"),onCreateNew:Pe,onCancel:()=>A("typeSelection")}):W==="digitalClone"?(0,Ut.jsx)(io,{digitalColleagues:M,onColleagueClone:$e,onCancel:()=>A("digitalOptions")}):W==="form"?(0,Ut.jsx)(St,{colleague:X||void 0,onSave:We,onCancel:ne,availableKnowledgeDocuments:Pt()}):W==="view"?(0,Ut.jsx)(St,{colleague:de||void 0,onSave:We,onCancel:uo,readOnly:!0,availableKnowledgeDocuments:Pt()}):(0,Ut.jsx)("div",{className:"px-2 md:px-4 py-4 space-Ut-8",children:(0,Ut.jsx)(xt.AnimatePresence,{mode:"wait",children:(0,Ut.jsx)(xt.motion.div,{initial:{opacity:0,Ut:10},animate:{opacity:1,Ut:0},exit:{opacity:0,Ut:-10},transition:{duration:.2},children:(0,Ut.jsxs)("div",{className:`space-Ut-6 ${p||""}`,children:[(0,Ut.jsx)(mo,{title:"Colleagues",description:"Manage your team members and digital colleagues.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Add colleague",onClick:Z}}),(0,Ut.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,Ut.jsxs)(L,{children:[(0,Ut.jsxs)(G,{className:"flex flex-row items-center justify-between space-Ut-0 pb-2",children:[(0,Ut.jsx)(J,{className:"text-sm font-medium",children:"Total Colleagues"}),(0,Ut.jsx)(oe.Users,{className:"h-4 Ut-4 text-muted-foreground"})]}),(0,Ut.jsxs)(B,{children:[(0,Ut.jsx)("div",{className:"text-2xl font-bold",children:d.length}),(0,Ut.jsxs)("p",{className:"text-xs text-muted-foreground",children:[d.filter(n=>n.status==="active").length," active"]})]})]}),(0,Ut.jsxs)(L,{children:[(0,Ut.jsxs)(G,{className:"flex flex-row items-center justify-between space-Ut-0 pb-2",children:[(0,Ut.jsx)(J,{className:"text-sm font-medium",children:"Human Members"}),(0,Ut.jsx)(oe.User,{className:"h-4 Ut-4 text-muted-foreground"})]}),(0,Ut.jsxs)(B,{children:[(0,Ut.jsx)("div",{className:"text-2xl font-bold",children:d.filter(n=>n.type==="human").length}),(0,Ut.jsxs)("p",{className:"text-xs text-muted-foreground",children:[d.filter(n=>n.type==="human"&&n.status==="active").length," ","active"]})]})]}),(0,Ut.jsxs)(L,{children:[(0,Ut.jsxs)(G,{className:"flex flex-row items-center justify-between space-Ut-0 pb-2",children:[(0,Ut.jsx)(J,{className:"text-sm font-medium",children:"Digital Colleagues"}),(0,Ut.jsx)(oe.Bot,{className:"h-4 Ut-4 text-muted-foreground"})]}),(0,Ut.jsxs)(B,{children:[(0,Ut.jsx)("div",{className:"text-2xl font-bold",children:d.filter(n=>n.type==="digital").length}),(0,Ut.jsxs)("p",{className:"text-xs text-muted-foreground",children:[d.filter(n=>n.type==="digital"&&n.status==="active").length," ","active"]})]})]})]}),(0,Ut.jsx)(L,{children:(0,Ut.jsx)(B,{className:"pt-6",children:(0,Ut.jsxs)("div",{className:"flex flex-col md:flex-row gap-4",children:[(0,Ut.jsx)("div",{className:"flex-1",children:(0,Ut.jsxs)("div",{className:"relative",children:[(0,Ut.jsx)(oe.Search,{className:"absolute left-3 top-3 h-4 Ut-4 text-muted-foreground"}),(0,Ut.jsx)(re,{placeholder:"Search colleagues...",value:u,onChange:n=>h(n.target.value),className:"pl-9"})]})}),(0,Ut.jsxs)(bt,{value:j,onValueChange:E,children:[(0,Ut.jsx)(et,{className:"Ut-full md:Ut-[180px]",children:(0,Ut.jsx)(ht,{placeholder:"Department"})}),(0,Ut.jsxs)(tt,{children:[(0,Ut.jsx)(Te,{value:"all",children:"All Departments"}),a.map(n=>(0,Ut.jsx)(Te,{value:n,children:n},n))]})]}),(0,Ut.jsxs)(bt,{value:S,onValueChange:v,children:[(0,Ut.jsx)(et,{className:"Ut-full md:Ut-[140px]",children:(0,Ut.jsx)(ht,{placeholder:"Status"})}),(0,Ut.jsxs)(tt,{children:[(0,Ut.jsx)(Te,{value:"all",children:"All Status"}),(0,Ut.jsx)(Te,{value:"active",children:"Active"}),(0,Ut.jsx)(Te,{value:"inactive",children:"Inactive"})]})]}),(u||j!=="all"||S!=="all")&&(0,Ut.jsxs)(D,{variant:"outline",onClick:fo,className:"gap-2",children:[(0,Ut.jsx)(oe.Filter,{className:"h-4 Ut-4"}),"Clear"]})]})})}),(0,Ut.jsxs)("div",{className:"space-Ut-4",children:[(0,Ut.jsx)(qt,{activeTab:P,onTabChange:_,tabOptions:[{value:"all",label:`All (${q.length})`},{value:"human",label:`Human (${I.length})`},{value:"digital",label:`Digital (${Se.length})`}],maxWidth:"400px",gridCols:3}),P==="all"&&(0,Ut.jsx)("div",{className:`grid gap-4 ${i?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:q.map(n=>(0,Ut.jsx)(st,{colleague:n,onEdit:me,onDelete:pt,onViewDetails:he,compact:i},`${n}-${n.id}`))}),P==="human"&&(0,Ut.jsx)("div",{className:`grid gap-4 ${i?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:I.map(n=>(0,Ut.jsx)(st,{colleague:n,onEdit:me,onDelete:pt,onViewDetails:he,compact:i},n.id))}),P==="digital"&&(0,Ut.jsx)("div",{className:`grid gap-4 ${i?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"}`,children:Se.map(n=>(0,Ut.jsx)(st,{colleague:n,onEdit:me,onDelete:pt,onViewDetails:he,compact:i},n.id))})]}),q.length===0&&(0,Ut.jsx)(L,{children:(0,Ut.jsx)(B,{className:"pt-6",children:(0,Ut.jsxs)("div",{className:"text-center py-8",children:[(0,Ut.jsx)(oe.Users,{className:"h-12 Ut-12 text-muted-foreground mx-auto mb-4"}),(0,Ut.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"No colleagues found"}),(0,Ut.jsx)("p",{className:"text-muted-foreground mb-4",children:u||j!=="all"||S!=="all"?"Try adjusting your filters to see more results.":"Get started by adding your first colleague."}),(0,Ut.jsxs)(D,{onClick:Z,className:"gap-2",children:[(0,Ut.jsx)(oe.Plus,{className:"h-4 Ut-4"}),"Add Colleague"]})]})})})]})},"projects-index-view")})})}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";import{a}from"../../../chunk-
|
|
2
|
+
"use strict";import{a}from"../../../chunk-54K53IWE.mjs";import"../../../chunk-Z22NSJMF.mjs";import"../../../chunk-33XEFJDE.mjs";import"../../../chunk-EAFH3DTH.mjs";import"../../../chunk-QQVPLMPJ.mjs";import"../../../chunk-6XUIHSKG.mjs";import"../../../chunk-6WQXZ6IE.mjs";import"../../../chunk-CO6AQNZ5.mjs";import"../../../chunk-PWXCBW2H.mjs";import"../../../chunk-FGEFYI5E.mjs";import"../../../chunk-YFAZQYK4.mjs";import"../../../chunk-B4H6T2GP.mjs";import"../../../chunk-TVZOULLL.mjs";import"../../../chunk-RLVKIMGU.mjs";import"../../../chunk-OCPX4QPC.mjs";import"../../../chunk-FT3AE7L2.mjs";import"../../../chunk-L5JPAKPM.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-FLHDNCNY.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as default};
|