cortex-react-components 1.64.0 → 1.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/dist/{chunk-4ZRLE77J.mjs → chunk-2ELJOFU3.mjs} +1 -1
  2. package/dist/{chunk-Q2MJWHFZ.mjs → chunk-3QWSFRVM.mjs} +1 -1
  3. package/dist/{chunk-QNIE2MLB.mjs → chunk-3UA62APP.mjs} +1 -1
  4. package/dist/{chunk-UQASICDL.mjs → chunk-3XV6OBSL.mjs} +1 -1
  5. package/dist/{chunk-2ELCHEGN.mjs → chunk-4A43BI3C.mjs} +1 -1
  6. package/dist/{chunk-T2ZS5P67.mjs → chunk-4GL57G4E.mjs} +1 -1
  7. package/dist/{chunk-TFIAEOF6.mjs → chunk-5DJ7VOAO.mjs} +1 -1
  8. package/dist/{chunk-IE5CASFG.mjs → chunk-5OMUHSTO.mjs} +1 -1
  9. package/dist/{chunk-G72SIYN7.mjs → chunk-6BOIU52Z.mjs} +1 -1
  10. package/dist/{chunk-EDY4LLVN.mjs → chunk-6OS3ZJBB.mjs} +1 -1
  11. package/dist/{chunk-STQACD6R.mjs → chunk-AKH3ER3D.mjs} +1 -1
  12. package/dist/{chunk-XFEBBW2G.mjs → chunk-AN6TXGAM.mjs} +1 -1
  13. package/dist/{chunk-PY7TFY5K.mjs → chunk-APNL5YEF.mjs} +1 -1
  14. package/dist/{chunk-QUOLG5NC.mjs → chunk-BGQKHEB3.mjs} +1 -1
  15. package/dist/{chunk-WLU4QF2Z.mjs → chunk-BYSEFJFA.mjs} +1 -1
  16. package/dist/chunk-DJQUKJMH.mjs +1 -0
  17. package/dist/chunk-DVF55CWB.mjs +4 -0
  18. package/dist/{chunk-L45A6K4C.mjs → chunk-E7W2GFKO.mjs} +1 -1
  19. package/dist/{chunk-NWEA3O2Q.mjs → chunk-EGYV6SU2.mjs} +1 -1
  20. package/dist/{chunk-UVPODMUO.mjs → chunk-FYEE5UWZ.mjs} +1 -1
  21. package/dist/{chunk-OIQ6GXBY.mjs → chunk-H3V6RZEI.mjs} +1 -1
  22. package/dist/{chunk-VCZPEEMH.mjs → chunk-I5DSZMH2.mjs} +1 -1
  23. package/dist/{chunk-VXGRJCCM.mjs → chunk-IC57R2EU.mjs} +1 -1
  24. package/dist/{chunk-VZVXDVOI.mjs → chunk-IDRYG7HP.mjs} +1 -1
  25. package/dist/{chunk-DINASYAM.mjs → chunk-IISHIQBQ.mjs} +1 -1
  26. package/dist/{chunk-4HUH5XA2.mjs → chunk-ILBKV7ZM.mjs} +1 -1
  27. package/dist/{chunk-CVJOGMQM.mjs → chunk-L7FUS5TO.mjs} +1 -1
  28. package/dist/{chunk-ANTK5LAD.mjs → chunk-N363IQBL.mjs} +1 -1
  29. package/dist/{chunk-VFTAB4PN.mjs → chunk-NVN7UJT6.mjs} +1 -1
  30. package/dist/{chunk-37NBXA5G.mjs → chunk-PADGOK5C.mjs} +1 -1
  31. package/dist/{chunk-DAJNZDN6.mjs → chunk-PBRC3UOA.mjs} +1 -1
  32. package/dist/{chunk-FLGGV2UV.mjs → chunk-R64KZZJP.mjs} +1 -1
  33. package/dist/{chunk-YVADLIYB.mjs → chunk-SKQYQ4SD.mjs} +1 -1
  34. package/dist/{chunk-KETV2XVN.mjs → chunk-SX5U74MW.mjs} +1 -1
  35. package/dist/{chunk-WKFNZUIR.mjs → chunk-T6FBWMZR.mjs} +1 -1
  36. package/dist/{chunk-AVBIHINB.mjs → chunk-U5XA76PE.mjs} +1 -1
  37. package/dist/{chunk-MRJQKF4Z.mjs → chunk-VNGK6ACI.mjs} +1 -1
  38. package/dist/{chunk-NAGM6QT5.mjs → chunk-WSKZ2N7J.mjs} +1 -1
  39. package/dist/{chunk-I4GEIHT2.mjs → chunk-XDLNQPZY.mjs} +1 -1
  40. package/dist/{chunk-CLYDQSRN.mjs → chunk-Y6RAHEXF.mjs} +1 -1
  41. package/dist/{chunk-C7TTHOHB.mjs → chunk-YWUPEMYN.mjs} +1 -1
  42. package/dist/{chunk-CGBMXBIY.mjs → chunk-YZ47PIHK.mjs} +1 -1
  43. package/dist/{chunk-RHB4QMWH.mjs → chunk-ZJSR6A6I.mjs} +1 -1
  44. package/dist/{chunk-Z6NED523.mjs → chunk-ZY2PDUUB.mjs} +1 -1
  45. package/dist/{chunk-SUO6GOJS.mjs → chunk-ZYYWN6XG.mjs} +1 -1
  46. package/dist/components/Blocks/Banner.mjs +1 -1
  47. package/dist/components/Blocks/CallToAction.mjs +1 -1
  48. package/dist/components/Blocks/CallToAction.stories.mjs +1 -1
  49. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  50. package/dist/components/Blocks/CollapsibleArea.stories.mjs +1 -1
  51. package/dist/components/Blocks/Content.mjs +1 -1
  52. package/dist/components/Blocks/Content.stories.mjs +1 -1
  53. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  54. package/dist/components/Blocks/FeaturesBlock.stories.mjs +1 -1
  55. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  56. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  57. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  58. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  59. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  60. package/dist/components/Blocks/index.mjs +1 -1
  61. package/dist/components/CRM/CogeBoard.mjs +1 -1
  62. package/dist/components/CRM/CogeBoard.stories.mjs +1 -1
  63. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  64. package/dist/components/CRM/KanbanBoard.stories.mjs +1 -1
  65. package/dist/components/CRM/index.d.ts +1 -0
  66. package/dist/components/CRM/index.js +1 -1
  67. package/dist/components/CRM/index.mjs +1 -1
  68. package/dist/components/Cards/ContentCard.mjs +1 -1
  69. package/dist/components/Cards/ContentCard.stories.mjs +1 -1
  70. package/dist/components/Cards/FeatureCard.mjs +1 -1
  71. package/dist/components/Cards/FeatureCard.stories.mjs +1 -1
  72. package/dist/components/Cards/index.mjs +1 -1
  73. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  74. package/dist/components/DigitalColleagues/KanbanBoard.mjs +1 -1
  75. package/dist/components/DigitalColleagues/KanbanBoard.stories.mjs +1 -1
  76. package/dist/components/DigitalColleagues/MainPage.mjs +1 -1
  77. package/dist/components/DigitalColleagues/MainPage.stories.mjs +1 -1
  78. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
  79. package/dist/components/DigitalColleagues/ManagementSidebar.stories.mjs +1 -1
  80. package/dist/components/HeaderFooter/Header.mjs +1 -1
  81. package/dist/components/HeaderFooter/Header.stories.mjs +1 -1
  82. package/dist/components/HeaderFooter/HeaderDesktop.stories.mjs +1 -1
  83. package/dist/components/HeaderFooter/HeaderMobile.stories.mjs +1 -1
  84. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  85. package/dist/components/HeaderFooter/index.mjs +1 -1
  86. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  87. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  88. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  89. package/dist/components/Heros/PostHero/index.mjs +1 -1
  90. package/dist/components/Heros/RenderHero.mjs +1 -1
  91. package/dist/components/Heros/index.mjs +1 -1
  92. package/dist/components/Layouts/FeatureGrid.stories.mjs +1 -1
  93. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  94. package/dist/components/Layouts/Print.mjs +1 -1
  95. package/dist/components/Layouts/Print.stories.mjs +1 -1
  96. package/dist/components/Layouts/SlideShow.mjs +1 -1
  97. package/dist/components/Layouts/SlideShow.stories.mjs +1 -1
  98. package/dist/components/Layouts/index.mjs +1 -1
  99. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  100. package/dist/components/Menus/SidebarLeft.stories.mjs +1 -1
  101. package/dist/components/Menus/SidebarRight.mjs +1 -1
  102. package/dist/components/Menus/SidebarRight.stories.mjs +1 -1
  103. package/dist/components/Menus/index.mjs +1 -1
  104. package/dist/components/Payload/Card/index.mjs +1 -1
  105. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  106. package/dist/components/Payload/Media/index.mjs +1 -1
  107. package/dist/components/Payload/RichText/index.mjs +1 -1
  108. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  109. package/dist/components/Payload/RichText.stories.mjs +1 -1
  110. package/dist/components/Payload/index.mjs +1 -1
  111. package/dist/components/index.js +9 -8
  112. package/dist/components/index.mjs +1 -1
  113. package/dist/components/ui/index.d.ts +1 -0
  114. package/dist/components/ui/index.js +2 -1
  115. package/dist/components/ui/index.mjs +1 -1
  116. package/dist/components/ui/sidebar.mjs +1 -1
  117. package/dist/components/ui/tabs.css +1 -0
  118. package/dist/components/ui/tabs.d.ts +7 -0
  119. package/dist/components/ui/tabs.js +4 -0
  120. package/dist/components/ui/tabs.mjs +2 -0
  121. package/dist/globals.css +1 -1
  122. package/dist/hooks/index.mjs +1 -1
  123. package/dist/index.js +14 -13
  124. package/dist/index.mjs +1 -1
  125. package/dist/metafile-cjs.json +1 -1
  126. package/dist/metafile-esm.json +1 -1
  127. package/dist/pages/Blog.js +1 -1
  128. package/dist/pages/Blog.mjs +1 -1
  129. package/dist/pages/Blog.stories.js +1 -1
  130. package/dist/pages/Blog.stories.mjs +1 -1
  131. package/dist/pages/Documentation.mjs +1 -1
  132. package/dist/pages/Documentation.stories.mjs +1 -1
  133. package/dist/pages/IndexPage.mjs +1 -1
  134. package/dist/pages/IndexPage.stories.mjs +1 -1
  135. package/dist/pages/Intranet.mjs +1 -1
  136. package/dist/pages/Intranet.stories.mjs +1 -1
  137. package/dist/pages/LandingPage.mjs +1 -1
  138. package/dist/pages/LandingPage.stories.mjs +1 -1
  139. package/dist/pages/Page.mjs +1 -1
  140. package/dist/pages/Page.stories.js +8 -8
  141. package/dist/pages/Page.stories.mjs +1 -1
  142. package/dist/pages/Printable.stories.mjs +1 -1
  143. package/dist/pages/Publish.mjs +1 -1
  144. package/dist/pages/Publish.stories.mjs +1 -1
  145. package/dist/pages/Website.mjs +1 -1
  146. package/dist/pages/Website.stories.mjs +1 -1
  147. package/dist/sections/AboutSection.mjs +1 -1
  148. package/dist/sections/AboutSection.stories.mjs +1 -1
  149. package/dist/sections/BlogDetail.mjs +1 -1
  150. package/dist/sections/BlogDetail.stories.mjs +1 -1
  151. package/dist/sections/BlogList.mjs +1 -1
  152. package/dist/sections/BlogList.stories.mjs +1 -1
  153. package/dist/sections/BlogListSection.mjs +1 -1
  154. package/dist/sections/BlogListSection.stories.mjs +1 -1
  155. package/dist/sections/ContactSection.mjs +1 -1
  156. package/dist/sections/ContactSection.stories.mjs +1 -1
  157. package/dist/sections/ImageSection.stories.mjs +1 -1
  158. package/dist/sections/PageSections.mjs +1 -1
  159. package/dist/sections/PageSections.stories.mjs +1 -1
  160. package/dist/sections/PricingSection.mjs +1 -1
  161. package/dist/sections/PricingSection.stories.mjs +1 -1
  162. package/dist/sections/ServiceDetail.mjs +1 -1
  163. package/dist/sections/ServiceDetailSection.mjs +1 -1
  164. package/dist/sections/ServiceDetailSection.stories.mjs +1 -1
  165. package/dist/sections/ServiceSection.mjs +1 -1
  166. package/dist/sections/ServiceSection.stories.mjs +1 -1
  167. package/dist/sections/index.mjs +1 -1
  168. package/package.json +2 -1
  169. package/dist/chunk-MFDZCI2F.mjs +0 -1
@@ -1 +1 @@
1
- import{d as a}from"../../chunk-QNIE2MLB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as FeaturesBlock};
1
+ import{d as a}from"../../chunk-3UA62APP.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as FeaturesBlock};
@@ -1 +1 @@
1
- import{b as t}from"../../chunk-3TVLETYW.mjs";import{d as e}from"../../chunk-QNIE2MLB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";var i={title:"Reusable Blocks/FeaturesBlock",component:e,tags:["autodocs"],parameters:{layout:"padded"}},l=i,c={args:{title:"Lorem ipsum dolor sit amet",description:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus.",features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"outline",icon:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",statistic:"80%",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation.",settings:{card:"light"}},{icon:{type:"fa-kit",icon:"software"},title:"Collaborative Partners",statistic:"80%",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance.",settings:{card:"solid"}}]}},u={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,statistic:"80%",settings:{card:"radial",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"large"}}]}},d={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"small"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"light",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"small"}}]}},m={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},p={args:{title:"Lorum ipsum dolor sit amet",features:[{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Sed at eros vel lacus varius varius nec id metus",content:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Sed at eros vel lacus varius varius nec id metus",content:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."}]}},g={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},y={args:{title:"What Are Digital Colleagues?",features:[{title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},v={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},f={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}},h={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}};export{f as Cards,c as Default,p as FiveFeatures,u as MoreOptions,y as NoIcon,v as NoTitle,g as OneFeature,d as OtherOptions,h as ThreeCards,m as TwoFeatures,l as default};
1
+ import{b as t}from"../../chunk-3TVLETYW.mjs";import{d as e}from"../../chunk-3UA62APP.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";var i={title:"Reusable Blocks/FeaturesBlock",component:e,tags:["autodocs"],parameters:{layout:"padded"}},l=i,c={args:{title:"Lorem ipsum dolor sit amet",description:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus.",features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"outline",icon:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Intelligent Insights",statistic:"80%",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation.",settings:{card:"light"}},{icon:{type:"fa-kit",icon:"software"},title:"Collaborative Partners",statistic:"80%",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance.",settings:{card:"solid"}}]}},u={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"large"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,statistic:"80%",settings:{card:"radial",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"large"}}]}},d={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"small"}},{icon:{type:"fa-thin",icon:"lightbulb"},link:{label:"label",type:"custom",url:"#"},title:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"light",iconSize:"small"}},{icon:{type:"fa-kit",icon:"software"},title:"Sed at eros vel lacus.",content:t.simple,statistic:"80%",settings:{card:"gradient",iconSize:"small"}}]}},m={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."}]}},p={args:{title:"Lorum ipsum dolor sit amet",features:[{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Sed at eros vel lacus varius varius nec id metus",content:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Sed at eros vel lacus varius varius nec id metus",content:"Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."},{icon:{type:"fa-thin",icon:"robot"},title:"Lorem ipsum dolor sit amet",content:"lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec malesuada arcu at velit laoreet convallis. Sed at eros vel lacus varius varius nec id metus."}]}},g={args:{title:"What Are Digital Colleagues?",features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},y={args:{title:"What Are Digital Colleagues?",features:[{title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."}]}},v={args:{features:[{icon:{type:"fa-thin",icon:"robot"},title:"AI-Powered Assistants",content:"Digital colleagues are generative AI tools that augment your existing workforce, enhancing productivity and customer experience."},{icon:{type:"fa-thin",icon:"lightbulb"},title:"Intelligent Insights",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation."},{icon:{type:"fa-kit",icon:"delivery"},title:"Collaborative Partners",content:"Digital colleagues work alongside human employees, assisting with tasks and enhancing overall performance."}]}},f={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}},h={args:{title:"Test Content",features:[{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}},{id:"67a8f0ffa2a234ac414429cb",title:"Test Feature",statistic:"80%",content:{root:{type:"root",format:"",indent:0,version:1,children:[{type:"paragraph",format:"",indent:0,version:1,children:[{mode:"normal",text:"Some text here!",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr",textStyle:"",textFormat:0}],direction:"ltr"}},settings:{card:"default",contents:"statistic"},link:{type:"none",newTab:null,url:null},icon:{type:"fa-thin",icon:"cloud"}}],blockType:"features",theme:{settings:{theme:"default",background:"transparent",image:null,overlay:null}}}};export{f as Cards,c as Default,p as FiveFeatures,u as MoreOptions,y as NoIcon,v as NoTitle,g as OneFeature,d as OtherOptions,h as ThreeCards,m as TwoFeatures,l as default};
@@ -1 +1 @@
1
- import{a}from"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as ImageBlock};
1
+ import{a}from"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as ImageBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-VXGRJCCM.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as MediaBlock};
1
+ import{a}from"../../chunk-IC57R2EU.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as MediaBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-TFIAEOF6.mjs";import"../../chunk-Z6NED523.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-QNIE2MLB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as RelatedPosts};
1
+ import{a}from"../../chunk-5DJ7VOAO.mjs";import"../../chunk-ZY2PDUUB.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-3UA62APP.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as RelatedPosts};
@@ -1 +1 @@
1
- import{b as a,c as b,d as c,e as d,f as e,g as f}from"../../chunk-DINASYAM.mjs";import"../../chunk-RHB4QMWH.mjs";import"../../chunk-PY7TFY5K.mjs";import"../../chunk-QNIE2MLB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{e as DarkTop,f as LightTop,a as RenderBlocks,c as RenderBlocksWithShapes,b as Theme,d as ThemeWithShapes};
1
+ import{b as a,c as b,d as c,e as d,f as e,g as f}from"../../chunk-IISHIQBQ.mjs";import"../../chunk-ZJSR6A6I.mjs";import"../../chunk-APNL5YEF.mjs";import"../../chunk-3UA62APP.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{e as DarkTop,f as LightTop,a as RenderBlocks,c as RenderBlocksWithShapes,b as Theme,d as ThemeWithShapes};
@@ -1 +1 @@
1
- import{a}from"../../chunk-DINASYAM.mjs";import"../../chunk-RHB4QMWH.mjs";import"../../chunk-PY7TFY5K.mjs";import"../../chunk-QNIE2MLB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as ReusableContentBlock};
1
+ import{a}from"../../chunk-IISHIQBQ.mjs";import"../../chunk-ZJSR6A6I.mjs";import"../../chunk-APNL5YEF.mjs";import"../../chunk-3UA62APP.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as ReusableContentBlock};
@@ -1 +1 @@
1
- import{a as x}from"../../chunk-TFIAEOF6.mjs";import"../../chunk-Z6NED523.mjs";import{a as n}from"../../chunk-EPTHSTUM.mjs";import{a as l}from"../../chunk-53QLSQCO.mjs";import{a as m}from"../../chunk-UMBMLD26.mjs";import{a as p}from"../../chunk-JCH2CCQ7.mjs";import{a as i}from"../../chunk-RVRIMD6M.mjs";import"../../chunk-UF3I2XE2.mjs";import"../../chunk-GXC2S7UQ.mjs";import"../../chunk-RYZTCMVC.mjs";import{a as q,b as r,c as s,d as t,e as u,f as v,g as w}from"../../chunk-DINASYAM.mjs";import"../../chunk-RHB4QMWH.mjs";import{a as o}from"../../chunk-PY7TFY5K.mjs";import{a,b,c,d as h}from"../../chunk-QNIE2MLB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import{a as f}from"../../chunk-VXGRJCCM.mjs";import{a as g}from"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import{a as e}from"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import{a as d}from"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import{a as k}from"../../chunk-IQPZEEYJ.mjs";import{a as j}from"../../chunk-H7D3PZKE.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as BannerBlock,c as CallToActionBlock,b as CallToActionBlockOld,e as CodeBlock,o as ContentBlock,d as CopyButton,v as DarkTop,h as FeaturesBlock,p as HeadingImage,g as ImageBlock,j as InfoTile,i as Insight,w as LightTop,k as MOTD,f as MediaBlock,l as OrgChart,m as ProposalSummary,x as RelatedPosts,r as RenderBlocks,t as RenderBlocksWithShapes,q as ReusableContentBlock,s as Theme,u as ThemeWithShapes,n as WhyUs};
1
+ import{a as n}from"../../chunk-EPTHSTUM.mjs";import{a as l}from"../../chunk-53QLSQCO.mjs";import{a as m}from"../../chunk-UMBMLD26.mjs";import{a as x}from"../../chunk-5DJ7VOAO.mjs";import"../../chunk-ZY2PDUUB.mjs";import{a as p}from"../../chunk-JCH2CCQ7.mjs";import{a as i}from"../../chunk-RVRIMD6M.mjs";import"../../chunk-UF3I2XE2.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-GXC2S7UQ.mjs";import{a as q,b as r,c as s,d as t,e as u,f as v,g as w}from"../../chunk-IISHIQBQ.mjs";import"../../chunk-ZJSR6A6I.mjs";import{a as o}from"../../chunk-APNL5YEF.mjs";import{a,b,c,d as h}from"../../chunk-3UA62APP.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-BUCI7BPM.mjs";import{a as f}from"../../chunk-IC57R2EU.mjs";import{a as g}from"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import{a as e}from"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import{a as d}from"../../chunk-TQQVBE66.mjs";import"../../chunk-BPSLUO5I.mjs";import{a as k}from"../../chunk-IQPZEEYJ.mjs";import{a as j}from"../../chunk-H7D3PZKE.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as BannerBlock,c as CallToActionBlock,b as CallToActionBlockOld,e as CodeBlock,o as ContentBlock,d as CopyButton,v as DarkTop,h as FeaturesBlock,p as HeadingImage,g as ImageBlock,j as InfoTile,i as Insight,w as LightTop,k as MOTD,f as MediaBlock,l as OrgChart,m as ProposalSummary,x as RelatedPosts,r as RenderBlocks,t as RenderBlocksWithShapes,q as ReusableContentBlock,s as Theme,u as ThemeWithShapes,n as WhyUs};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-OIQ6GXBY.mjs";import"../../chunk-PFWODHNV.mjs";import"../../chunk-TASJS6US.mjs";import"../../chunk-ERUB6LU6.mjs";import"../../chunk-FFESN4FM.mjs";import"../../chunk-MEWCJ4MA.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as CRMCogeBoard};
2
+ "use strict";import{a}from"../../chunk-H3V6RZEI.mjs";import"../../chunk-MEWCJ4MA.mjs";import"../../chunk-PFWODHNV.mjs";import"../../chunk-TASJS6US.mjs";import"../../chunk-ERUB6LU6.mjs";import"../../chunk-FFESN4FM.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as CRMCogeBoard};
@@ -1 +1 @@
1
- import{a as s}from"../../chunk-OIQ6GXBY.mjs";import{a as e,b as r,c as n}from"../../chunk-TLBLUYXL.mjs";import"../../chunk-PFWODHNV.mjs";import"../../chunk-TASJS6US.mjs";import"../../chunk-ERUB6LU6.mjs";import"../../chunk-FFESN4FM.mjs";import"../../chunk-MEWCJ4MA.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";import{useState as c}from"react";import{jsx as p}from"react/jsx-runtime";var h={title:"CRM/CogeBoard",tags:["autodocs"],component:s},y=h,m=a=>{let[t,g]=c(a.initialData);return p(s,{...a,initialData:t,updateDeal:async o=>(console.log("Updating deal:",o),g(d=>({...d,deals:(d.deals??[]).map(l=>l.id===o.id?o:l)})),o)})},i=m.bind({});i.args={initialData:{deals:Array.from({length:13},(a,t)=>({id:t+1,customer:e[t%e.length],value:Math.floor(Math.random()*1e5)+5e3,assignee:n[Math.floor(Math.random()*n.length)].name,status:["Cold","Qualified","Proposal Made","Won","Lost"][Math.floor(Math.random()*5)],gecoStatus:["firm","forecast","other"][t%3],categories:[r[t%r.length].id],dateLogged:new Date(Date.now()-Math.floor(Math.random()*30)*24*60*60*1e3).toISOString(),closureDate:new Date(Date.now()+Math.floor(Math.random()*90)*24*60*60*1e3).toISOString(),comments:[],updatedAt:new Date().toISOString(),description:`This is a mock description for deal ${t+1}. It's a ${["small","medium","large"][t%3]} deal with high potential.`})),customers:e,users:n,categories:r},addComment:async(a,t)=>(console.log("Adding comment to deal:",a,t),{...t,id:"new-comment-id"})};var f=m.bind({});f.args={...i.args,initialData:{...i.args.initialData,deals:[]}};export{i as Default,f as NoDeals,y as default};
1
+ import{a as e,b as r,c as n}from"../../chunk-TLBLUYXL.mjs";import{a as s}from"../../chunk-H3V6RZEI.mjs";import"../../chunk-MEWCJ4MA.mjs";import"../../chunk-PFWODHNV.mjs";import"../../chunk-TASJS6US.mjs";import"../../chunk-ERUB6LU6.mjs";import"../../chunk-FFESN4FM.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";import{useState as c}from"react";import{jsx as p}from"react/jsx-runtime";var h={title:"CRM/CogeBoard",tags:["autodocs"],component:s},y=h,m=a=>{let[t,g]=c(a.initialData);return p(s,{...a,initialData:t,updateDeal:async o=>(console.log("Updating deal:",o),g(d=>({...d,deals:(d.deals??[]).map(l=>l.id===o.id?o:l)})),o)})},i=m.bind({});i.args={initialData:{deals:Array.from({length:13},(a,t)=>({id:t+1,customer:e[t%e.length],value:Math.floor(Math.random()*1e5)+5e3,assignee:n[Math.floor(Math.random()*n.length)].name,status:["Cold","Qualified","Proposal Made","Won","Lost"][Math.floor(Math.random()*5)],gecoStatus:["firm","forecast","other"][t%3],categories:[r[t%r.length].id],dateLogged:new Date(Date.now()-Math.floor(Math.random()*30)*24*60*60*1e3).toISOString(),closureDate:new Date(Date.now()+Math.floor(Math.random()*90)*24*60*60*1e3).toISOString(),comments:[],updatedAt:new Date().toISOString(),description:`This is a mock description for deal ${t+1}. It's a ${["small","medium","large"][t%3]} deal with high potential.`})),customers:e,users:n,categories:r},addComment:async(a,t)=>(console.log("Adding comment to deal:",a,t),{...t,id:"new-comment-id"})};var f=m.bind({});f.args={...i.args,initialData:{...i.args.initialData,deals:[]}};export{i as Default,f as NoDeals,y as default};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-G72SIYN7.mjs";import"../../chunk-PFWODHNV.mjs";import"../../chunk-TASJS6US.mjs";import"../../chunk-ERUB6LU6.mjs";import"../../chunk-FFESN4FM.mjs";import"../../chunk-MEWCJ4MA.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as CRMKanbanBoard};
2
+ "use strict";import{a}from"../../chunk-6BOIU52Z.mjs";import"../../chunk-MEWCJ4MA.mjs";import"../../chunk-PFWODHNV.mjs";import"../../chunk-TASJS6US.mjs";import"../../chunk-ERUB6LU6.mjs";import"../../chunk-FFESN4FM.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as CRMKanbanBoard};
@@ -1 +1 @@
1
- import{a as e,b as n,c as r}from"../../chunk-TLBLUYXL.mjs";import{a as d}from"../../chunk-G72SIYN7.mjs";import"../../chunk-PFWODHNV.mjs";import"../../chunk-TASJS6US.mjs";import"../../chunk-ERUB6LU6.mjs";import"../../chunk-FFESN4FM.mjs";import"../../chunk-MEWCJ4MA.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";import{useState as g}from"react";import{jsx as p}from"react/jsx-runtime";var h={title:"CRM/KanbanBoard",component:d},C=h,m=a=>{let[t,c]=g(a.initialData);return p(d,{...a,initialData:t,updateDeal:async o=>(console.log("Updating deal:",o),c(i=>({...i,deals:(i.deals??[]).map(l=>l.id===o.id?o:l)})),o)})},s=m.bind({});s.args={initialData:{deals:Array.from({length:13},(a,t)=>({id:t+1,customer:e[t%e.length],value:Math.floor(Math.random()*1e5)+5e3,assignee:r[Math.floor(Math.random()*r.length)].name,status:["Cold","Qualified","Proposal Made","Won","Lost"][Math.floor(Math.random()*5)],categories:[n[t%n.length].id],dateLogged:new Date(Date.now()-Math.floor(Math.random()*30)*24*60*60*1e3).toISOString(),closureDate:new Date(Date.now()+Math.floor(Math.random()*90)*24*60*60*1e3).toISOString(),comments:[],updatedAt:new Date().toISOString(),description:`This is a mock description for deal ${t+1}. It's a ${["small","medium","large"][t%3]} deal with high potential.`})),customers:e,users:r,categories:n},addNewDeal:async a=>(console.log("Adding deal:",a),{...a,id:"new-deal-id"}),addNewCustomer:async a=>(console.log("Adding customer:",a),{...a,id:"new-customer-id"}),addComment:async(a,t)=>(console.log("Adding comment to deal:",a,t),{...t,id:"new-comment-id"})};var u=m.bind({});u.args={...s.args,initialData:{...s.args.initialData,deals:[]}};export{s as Default,u as NoDeals,C as default};
1
+ import{a as e,b as n,c as r}from"../../chunk-TLBLUYXL.mjs";import{a as d}from"../../chunk-6BOIU52Z.mjs";import"../../chunk-MEWCJ4MA.mjs";import"../../chunk-PFWODHNV.mjs";import"../../chunk-TASJS6US.mjs";import"../../chunk-ERUB6LU6.mjs";import"../../chunk-FFESN4FM.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";import{useState as g}from"react";import{jsx as p}from"react/jsx-runtime";var h={title:"CRM/KanbanBoard",component:d},C=h,m=a=>{let[t,c]=g(a.initialData);return p(d,{...a,initialData:t,updateDeal:async o=>(console.log("Updating deal:",o),c(i=>({...i,deals:(i.deals??[]).map(l=>l.id===o.id?o:l)})),o)})},s=m.bind({});s.args={initialData:{deals:Array.from({length:13},(a,t)=>({id:t+1,customer:e[t%e.length],value:Math.floor(Math.random()*1e5)+5e3,assignee:r[Math.floor(Math.random()*r.length)].name,status:["Cold","Qualified","Proposal Made","Won","Lost"][Math.floor(Math.random()*5)],categories:[n[t%n.length].id],dateLogged:new Date(Date.now()-Math.floor(Math.random()*30)*24*60*60*1e3).toISOString(),closureDate:new Date(Date.now()+Math.floor(Math.random()*90)*24*60*60*1e3).toISOString(),comments:[],updatedAt:new Date().toISOString(),description:`This is a mock description for deal ${t+1}. It's a ${["small","medium","large"][t%3]} deal with high potential.`})),customers:e,users:r,categories:n},addNewDeal:async a=>(console.log("Adding deal:",a),{...a,id:"new-deal-id"}),addNewCustomer:async a=>(console.log("Adding customer:",a),{...a,id:"new-customer-id"}),addComment:async(a,t)=>(console.log("Adding comment to deal:",a,t),{...t,id:"new-comment-id"})};var u=m.bind({});u.args={...s.args,initialData:{...s.args.initialData,deals:[]}};export{s as Default,u as NoDeals,C as default};
@@ -5,3 +5,4 @@ export * from './NewCustomerForm';
5
5
  export * from './KanbanColumn';
6
6
  export * from './types';
7
7
  export * from './DealCard';
8
+ export * from './CogeBoard';
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var Mt=Object.create;var we=Object.defineProperty;var Et=Object.getOwnPropertyDescriptor;var zt=Object.getOwnPropertyNames;var Bt=Object.getPrototypeOf,Ht=Object.prototype.hasOwnProperty;var Vt=(e,t)=>{for(var r in t)we(e,r,{get:t[r],enumerable:!0})},Xe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of zt(t))!Ht.call(e,i)&&i!==r&&we(e,i,{get:()=>t[i],enumerable:!(a=Et(t,i))||a.enumerable});return e};var z=(e,t,r)=>(r=e!=null?Mt(Bt(e)):{},Xe(t||!e||!e.__esModule?we(r,"default",{value:e,enumerable:!0}):r,e)),Ft=e=>Xe(we({},"__esModule",{value:!0}),e);var Ar={};Vt(Ar,{CRMKanbanBoard:()=>kr,DealCard:()=>Ge,DealDetails:()=>We,KanbanColumn:()=>_e,NewCustomerForm:()=>Oe,NewDealForm:()=>je});module.exports=Ft(Ar);var Le=require("react");var he=z(require("react")),I=z(require("@radix-ui/react-dialog")),nt=require("lucide-react");var it=require("clsx");var Ve="-",Ut=e=>{let t=Gt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:m=>{let o=m.split(Ve);return o[0]===""&&o.length!==1&&o.shift(),et(o,t)||Wt(m)},getConflictingClassGroupIds:(m,o)=>{let b=r[m]||[];return o&&a[m]?[...b,...a[m]]:b}}},et=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),i=a?et(e.slice(1),a):void 0;if(i)return i;if(t.validators.length===0)return;let l=e.join(Ve);return t.validators.find(({validator:m})=>m(l))?.classGroupId},Ze=/^\[(.+)\]$/,Wt=e=>{if(Ze.test(e)){let t=Ze.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},Gt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return jt(Object.entries(e.classGroups),r).forEach(([l,m])=>{He(m,a,l,t)}),a},He=(e,t,r,a)=>{e.forEach(i=>{if(typeof i=="string"){let l=i===""?t:Ye(t,i);l.classGroupId=r;return}if(typeof i=="function"){if(Ot(i)){He(i(a),t,r,a);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([l,m])=>{He(m,Ye(t,l),r,a)})})},Ye=(e,t)=>{let r=e;return t.split(Ve).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Ot=e=>e.isThemeGetter,jt=(e,t)=>t?e.map(([r,a])=>{let i=a.map(l=>typeof l=="string"?t+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([m,o])=>[t+m,o])):l);return[r,i]}):e,_t=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,i=(l,m)=>{r.set(l,m),t++,t>e&&(t=0,a=r,r=new Map)};return{get(l){let m=r.get(l);if(m!==void 0)return m;if((m=a.get(l))!==void 0)return i(l,m),m},set(l,m){r.has(l)?r.set(l,m):i(l,m)}}},tt="!",Kt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,i=t[0],l=t.length,m=o=>{let b=[],S=0,N=0,p;for(let g=0;g<o.length;g++){let T=o[g];if(S===0){if(T===i&&(a||o.slice(g,g+l)===t)){b.push(o.slice(N,g)),N=g+l;continue}if(T==="/"){p=g;continue}}T==="["?S++:T==="]"&&S--}let v=b.length===0?o:o.substring(N),C=v.startsWith(tt),h=C?v.substring(1):v,P=p&&p>N?p-N:void 0;return{modifiers:b,hasImportantModifier:C,baseClassName:h,maybePostfixModifierPosition:P}};return r?o=>r({className:o,parseClassName:m}):m},$t=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},qt=e=>({cache:_t(e.cacheSize),parseClassName:Kt(e),...Ut(e)}),Jt=/\B+/,Qt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:i}=t,l=[],m=e.trim().split(Jt),o="";for(let b=m.length-1;b>=0;b-=1){let S=m[b],{modifiers:N,hasImportantModifier:p,baseClassName:v,maybePostfixModifierPosition:C}=r(S),h=!!C,P=a(h?v.substring(0,C):v);if(!P){if(!h){o=S+(o.length>0?" "+o:o);continue}if(P=a(v),!P){o=S+(o.length>0?" "+o:o);continue}h=!1}let g=$t(N).join(":"),T=p?g+tt:g,E=T+P;if(l.includes(E))continue;l.push(E);let d=i(P,h);for(let y=0;y<d.length;++y){let n=d[y];l.push(T+n)}o=S+(o.length>0?" "+o:o)}return o};function Xt(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=rt(t))&&(a&&(a+=" "),a+=r);return a}var rt=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=rt(e[a]))&&(r&&(r+=" "),r+=t);return r};function Zt(e,...t){let r,a,i,l=m;function m(b){let S=t.reduce((N,p)=>p(N),e());return r=qt(S),a=r.cache.get,i=r.cache.set,l=o,o(b)}function o(b){let S=a(b);if(S)return S;let N=Qt(b,r);return i(b,N),N}return function(){return l(Xt.apply(null,arguments))}}var R=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},ot=/^\[(?:([a-z-]+):)?(.+)\]$/i,Yt=/^\d+\/\d+$/,er=new Set(["px","full","screen"]),tr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(B|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,or=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ar=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,sr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,G=e=>de(e)||er.has(e)||Yt.test(e),O=e=>me(e,"length",ur),de=e=>!!e&&!Number.isNaN(Number(e)),Be=e=>me(e,"number",de),be=e=>!!e&&Number.isInteger(Number(e)),ir=e=>e.endsWith("%")&&de(e.slice(0,-1)),u=e=>ot.test(e),j=e=>tr.test(e),nr=new Set(["length","size","percentage"]),lr=e=>me(e,nr,at),cr=e=>me(e,"position",at),dr=new Set(["image","url"]),mr=e=>me(e,dr,gr),pr=e=>me(e,"",fr),ve=()=>!0,me=(e,t,r)=>{let a=ot.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},ur=e=>rr.test(e)&&!or.test(e),at=()=>!1,fr=e=>ar.test(e),gr=e=>sr.test(e);var br=()=>{let e=R("colors"),t=R("spacing"),r=R("blur"),a=R("brightness"),i=R("borderColor"),l=R("borderRadius"),m=R("borderSpacing"),o=R("borderWidth"),b=R("contrast"),S=R("grayscale"),N=R("hueRotate"),p=R("invert"),v=R("gap"),C=R("gradientColorStops"),h=R("gradientColorStopPositions"),P=R("inset"),g=R("margin"),T=R("opacity"),E=R("padding"),d=R("saturate"),y=R("scale"),n=R("sepia"),D=R("skew"),ce=R("space"),Ke=R("translate"),Ie=()=>["auto","contain","none"],Me=()=>["auto","hidden","clip","visible","scroll"],Ee=()=>["auto",u,t],k=()=>[u,t],$e=()=>["",G,O],ye=()=>["auto",de,u],qe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ce=()=>["solid","dashed","dotted","double","none"],Je=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ze=()=>["start","end","center","between","around","evenly","stretch"],ge=()=>["","0",u],Qe=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[de,u];return{cacheSize:500,separator:":",theme:{colors:[ve],spacing:[G,O],blur:["none","",j,u],brightness:W(),borderColor:[e],borderRadius:["none","","full",j,u],borderSpacing:k(),borderWidth:$e(),contrast:W(),grayscale:ge(),hueRotate:W(),invert:ge(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[ir,O],inset:Ee(),margin:Ee(),opacity:W(),padding:k(),saturate:W(),scale:W(),sepia:ge(),skew:W(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[j]}],"break-after":[{"break-after":Qe()}],"break-before":[{"break-before":Qe()}],"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:[...qe(),u]}],overflow:[{overflow:Me()}],"overflow-x":[{"overflow-x":Me()}],"overflow-y":[{"overflow-y":Me()}],overscroll:[{overscroll:Ie()}],"overscroll-x":[{"overscroll-x":Ie()}],"overscroll-y":[{"overscroll-y":Ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[P]}],"inset-x":[{"inset-x":[P]}],"inset-y":[{"inset-y":[P]}],start:[{start:[P]}],end:[{end:[P]}],top:[{top:[P]}],right:[{right:[P]}],bottom:[{bottom:[P]}],left:[{left:[P]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",be,u]}],basis:[{basis:Ee()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:ge()}],shrink:[{shrink:ge()}],order:[{order:["first","last","none",be,u]}],"grid-cols":[{"grid-cols":[ve]}],"col-start-end":[{col:["auto",{span:["full",be,u]},u]}],"col-start":[{"col-start":ye()}],"col-end":[{"col-end":ye()}],"grid-rows":[{"grid-rows":[ve]}],"row-start-end":[{row:["auto",{span:[be,u]},u]}],"row-start":[{"row-start":ye()}],"row-end":[{"row-end":ye()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...ze()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...ze(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...ze(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],pe:[{pe:[E]}],pt:[{pt:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[ce]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ce]}],"space-y-reverse":["space-y-reverse"],B:[{B:["auto","min","max","fit","svw","lvw","dvw",u,t]}],"min-B":[{"min-B":[u,t,"min","max","fit"]}],"max-B":[{"max-B":[u,t,"none","full","min","max","fit","prose",{screen:[j]},j]}],h:[{h:[u,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,t,"auto","min","max","fit"]}],"font-size":[{text:["base",j,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Be]}],"font-family":[{font:[ve]}],"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",u]}],"line-clamp":[{"line-clamp":["none",de,Be]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",G,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ce(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",G,O]}],"underline-offset":[{"underline-offset":["auto",G,u]}],"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:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],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",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...qe(),cr]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",lr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},mr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[l]}],"rounded-B":[{"rounded-B":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-Le":[{"rounded-Le":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-B":[{border:[o]}],"border-B-x":[{"border-x":[o]}],"border-B-y":[{"border-y":[o]}],"border-B-B":[{"border-B":[o]}],"border-B-e":[{"border-e":[o]}],"border-B-t":[{"border-t":[o]}],"border-B-r":[{"border-r":[o]}],"border-B-b":[{"border-b":[o]}],"border-B-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...Ce(),"hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:Ce()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-B":[{"border-B":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...Ce()]}],"outline-offset":[{"outline-offset":[G,u]}],"outline-B":[{outline:[G,O]}],"outline-color":[{outline:[e]}],"ring-B":[{ring:$e()}],"ring-B-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-B":[{"ring-offset":[G,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",j,pr]}],"shadow-color":[{shadow:[ve]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...Je(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Je()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[b]}],"drop-shadow":[{"drop-shadow":["","none",j,u]}],grayscale:[{grayscale:[S]}],"hue-rotate":[{"hue-rotate":[N]}],invert:[{invert:[p]}],saturate:[{saturate:[d]}],sepia:[{sepia:[n]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[b]}],"backdrop-grayscale":[{"backdrop-grayscale":[S]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[N]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[d]}],"backdrop-sepia":[{"backdrop-sepia":[n]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[m]}],"border-spacing-x":[{"border-spacing-x":[m]}],"border-spacing-y":[{"border-spacing-y":[m]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[y]}],"scale-x":[{"scale-x":[y]}],"scale-y":[{"scale-y":[y]}],rotate:[{rotate:[be,u]}],"translate-x":[{"translate-x":[Ke]}],"translate-y":[{"translate-y":[Ke]}],"skew-x":[{"skew-x":[D]}],"skew-y":[{"skew-y":[D]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],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","B-resize","B-resize","B-resize","nw-resize","Le-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[e,"none"]}],"stroke-B":[{stroke:[G,O,Be]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["B","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-B","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-Le","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-B":["rounded-ss","rounded-es"],"rounded-e":["rounded-Le","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-B":["border-B-B","border-B-e","border-B-t","border-B-r","border-B-b","border-B-l"],"border-B-x":["border-B-r","border-B-l"],"border-B-y":["border-B-t","border-B-b"],"border-color":["border-color-B","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","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-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var st=Zt(br);function f(...e){return st((0,it.clsx)(e))}var B=require("react/jsx-runtime"),pe=I.Root,lt=I.Trigger,vr=I.Portal;var ct=he.forwardRef(({className:e,...t},r)=>(0,B.jsx)(I.Overlay,{ref:r,className:f("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));ct.displayName=I.Overlay.displayName;var X=he.forwardRef(({className:e,children:t,...r},a)=>(0,B.jsxs)(vr,{children:[(0,B.jsx)(ct,{}),(0,B.jsxs)(I.Content,{ref:a,className:f("fixed left-[50%] top-[50%] z-50 grid B-full max-B-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...r,children:[t,(0,B.jsxs)(I.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,B.jsx)(nt.X,{className:"h-4 B-4"}),(0,B.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));X.displayName=I.Content.displayName;var Z=({className:e,...t})=>(0,B.jsx)("div",{className:f("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Z.displayName="DialogHeader";var hr=({className:e,...t})=>(0,B.jsx)("div",{className:f("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});hr.displayName="DialogFooter";var Y=he.forwardRef(({className:e,...t},r)=>(0,B.jsx)(I.Title,{ref:r,className:f("text-lg font-semibold leading-none tracking-tight",e),...t}));Y.displayName=I.Title.displayName;var xr=he.forwardRef(({className:e,...t},r)=>(0,B.jsx)(I.Description,{ref:r,className:f("text-sm text-muted-foreground",e),...t}));xr.displayName=I.Description.displayName;var dt=require("@radix-ui/react-slot"),mt=require("class-variance-authority"),pt=z(require("react")),yr=(0,mt.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 B-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-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),V=pt.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...i},l)=>(0,B.jsx)(e?dt.Slot:"button",{className:f(yr({className:t,size:r,variant:a})),ref:l,...i}));V.displayName="Button";var ft=z(require("react"));var U=ft.forwardRef(({className:e,type:t,...r},a)=>(0,B.jsx)("input",{type:t,className:f("flex h-9 B-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:a,...r}));U.displayName="Input";var bt=z(require("react")),Fe=z(require("@radix-ui/react-label"));var Cr=(0,mt.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),M=bt.forwardRef(({className:e,...t},r)=>(0,B.jsx)(Fe.Root,{ref:r,className:f(Cr(),e),...t}));M.displayName=Fe.Root.displayName;var xt=z(require("react")),ee=xt.forwardRef(({className:e,...t},r)=>(0,B.jsx)("textarea",{className:f("flex min-h-[80px] B-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:r,...t}));ee.displayName="Textarea";var x=z(require("@radix-ui/react-select")),_=z(require("react")),re=x.Root;var oe=x.Value,K=_.forwardRef(({children:e,className:t,...r},a)=>(0,B.jsxs)(x.Trigger,{className:f("flex h-10 B-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:a,...r,children:[e,(0,B.jsx)(x.Icon,{asChild:!0,children:(0,B.jsx)(nt.ChevronDown,{className:"h-4 B-4 opacity-50"})})]}));K.displayName=x.Trigger.displayName;var Ct=_.forwardRef(({className:e,...t},r)=>(0,B.jsx)(x.ScrollUpButton,{className:f("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,B.jsx)(nt.ChevronUp,{className:"h-4 B-4"})}));Ct.displayName=x.ScrollUpButton.displayName;var wt=_.forwardRef(({className:e,...t},r)=>(0,B.jsx)(x.ScrollDownButton,{className:f("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,B.jsx)(nt.ChevronDown,{className:"h-4 B-4"})}));wt.displayName=x.ScrollDownButton.displayName;var $=_.forwardRef(({children:e,className:t,position:r="popper",...a},i)=>(0,B.jsx)(x.Portal,{children:(0,B.jsxs)(x.Content,{className:f("relative z-50 max-h-96 min-B-[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",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,ref:i,...a,children:[(0,B.jsx)(Ct,{}),(0,B.jsx)(x.Viewport,{className:f("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] B-full min-B-[var(--radix-select-trigger-width)]"),children:e}),(0,B.jsx)(wt,{})]})}));$.displayName=x.Content.displayName;var wr=_.forwardRef(({className:e,...t},r)=>(0,B.jsx)(x.Label,{className:f("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:r,...t}));wr.displayName=x.Label.displayName;var q=_.forwardRef(({children:e,className:t,...r},a)=>(0,B.jsxs)(x.Item,{className:f("relative flex B-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:a,...r,children:[(0,B.jsx)("span",{className:"absolute left-2 flex h-3.5 B-3.5 items-center justify-center",children:(0,B.jsx)(x.ItemIndicator,{children:(0,B.jsx)(nt.Check,{className:"h-4 B-4"})})}),(0,B.jsx)(x.ItemText,{children:e})]}));q.displayName=x.Item.displayName;var Sr=_.forwardRef(({className:e,...t},r)=>(0,B.jsx)(x.Separator,{className:f("-mx-1 my-1 h-px bg-muted",e),ref:r,...t}));Sr.displayName=x.Separator.displayName;var xe=z(require("@radix-ui/react-checkbox")),Nt=z(require("react")),ae=Nt.forwardRef(({className:e,...t},r)=>(0,B.jsx)(xe.Root,{className:f("peer h-4 B-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:r,...t,children:(0,B.jsx)(xe.Indicator,{className:f("flex items-center justify-center text-current"),children:(0,B.jsx)(nt.Check,{className:"h-4 B-4"})})}));ae.displayName=xe.Root.displayName;var Nr=(0,mt.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 Ne({className:e,variant:t,...r}){return(0,B.jsx)("div",{className:f(Nr({variant:t}),e),...r})}var Ue=z(require("react")),F=z(require("@radix-ui/react-scroll-area"));var ue=Ue.forwardRef(({className:e,children:t,...r},a)=>(0,B.jsxs)(F.Root,{ref:a,className:f("relative overflow-hidden",e),...r,children:[(0,B.jsx)(F.Viewport,{className:"h-full B-full rounded-[inherit]",children:t}),(0,B.jsx)(Rt,{}),(0,B.jsx)(F.Corner,{})]}));ue.displayName=F.Root.displayName;var Rt=Ue.forwardRef(({className:e,orientation:t="vertical",...r},a)=>(0,B.jsx)(F.ScrollAreaScrollbar,{ref:a,orientation:t,className:f("flex touch-none select-none transition-colors",t==="vertical"&&"h-full B-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...r,children:(0,B.jsx)(F.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));Rt.displayName=F.ScrollAreaScrollbar.displayName;function We({deal:e,users:t,customer:r,categories:a,onClose:i,onSave:l,onAddComment:m}){let[o,b]=(0,Le.useState)({...e,value:e.value||0,comments:e.comments||[],customer:e.customer||{}}),[S,N]=(0,Le.useState)(""),[p,v]=(0,Le.useState)(!1),[C,h]=(0,Le.useState)(null);(0,Le.useEffect)(()=>{v(JSON.stringify(e)!==JSON.stringify(o))},[e,o]);let P=async()=>{try{let n=await l(o);n.success?(v(!1),h(null)):console.error("Failed to save deal:",n.errors)}catch(n){console.error("Failed to save deal:",n)}},g=(n,D)=>{b(ce=>({...ce,[n]:D}))},T=n=>{let D=(o.categories||[]).includes(n)?(o.categories||[]).filter(ce=>ce!==n):[...o.categories||[],n];g("categories",D)},E=async()=>{if(S.trim()){let n={text:S,timestamp:new Date().toISOString()};try{let D=await m(n);if(!D.success){console.error("Failed to add comment:",D.errors);return}}catch(D){console.error("Failed to add comment:",D)}b(D=>({...D,comments:[...D.comments||[],n]})),N("")}},d=n=>{switch(n){case"proposition":return"border-blue-800 text-blue-800";case"source":return"border-green-800 text-green-800";case"sector":return"border-purple-800 text-purple-800";default:return"border-gray-800 text-gray-800"}},y=n=>t?.find(D=>D.id===Number(n));return(0,B.jsx)(pe,{open:!0,children:(0,B.jsxs)(X,{className:"max-B-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[(0,B.jsxs)(Z,{className:"flex flex-row items-center justify-between",children:[(0,B.jsx)(Y,{className:"text-2xl font-bold",children:r?.name}),(0,B.jsxs)("div",{className:"flex space-x-2",children:[(0,B.jsx)(V,{variant:"outline",onClick:i,children:"Close"}),(0,B.jsxs)(V,{onClick:P,disabled:!p,children:[(0,B.jsx)(nt.SaveIcon,{className:"B-4 h-4 mr-2"}),"Save"]})]})]}),(0,B.jsxs)(ue,{className:"flex-grow pr-4",children:[(0,B.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[(0,B.jsx)("div",{className:"grid gap-2 m-1",children:C==="value"?(0,B.jsx)(U,{type:"number",value:o.value,onChange:n=>g("value",Number(n.target.value)),onBlur:()=>h(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):(0,B.jsxs)("div",{className:"text-3xl font-bold text-green-600 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>h("value"),children:["\xA3",o.value?.toLocaleString()]})}),(0,B.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,B.jsx)(M,{className:"text-sm font-medium text-accent",children:"Assignee"}),C==="assignee"?(0,B.jsxs)(re,{value:o?.assignee?.id?.toString()||"",onValueChange:n=>g("assignee",y(n)),children:[(0,B.jsx)(K,{children:(0,B.jsx)(oe,{placeholder:"Select assignee"})}),(0,B.jsx)($,{children:t&&t.map(n=>(0,B.jsx)(q,{value:n?.id?.toString()||"",children:n.name},n.id))})]}):(0,B.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>h("assignee"),children:[(0,B.jsx)(nt.UserIcon,{className:"B-4 h-4 text-gray-400"}),(0,B.jsx)("span",{children:o.assignee.name})]})]}),(0,B.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,B.jsx)(M,{className:"text-sm font-medium text-accent",children:"Closure Date"}),C==="closureDate"?(0,B.jsx)(U,{type:"date",value:o.closureDate?.split("T")[0]??"",onChange:n=>g("closureDate",n.target.value),onBlur:()=>h(null),className:"mr-2",autoFocus:!0}):(0,B.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>h("closureDate"),children:[(0,B.jsx)(nt.CalendarIcon,{className:"B-4 h-4 text-gray-400"}),(0,B.jsx)("span",{children:o.closureDate?new Date(o.closureDate).toLocaleDateString("en-GB"):"N/B"})]})]})]}),(0,B.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:(0,B.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,B.jsx)(M,{className:"text-sm font-medium text-accent",children:"Description"}),C==="description"?(0,B.jsx)(ee,{value:o.description||"",onChange:n=>g("description",n.target.value),onBlur:()=>h(null),className:"min-h-[100px]",autoFocus:!0}):(0,B.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent pb-5 rounded",onClick:()=>h("description"),children:o.description})]})}),(0,B.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[(0,B.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,B.jsx)(M,{className:"text-sm font-medium text-accent",children:"Status"}),C==="status"?(0,B.jsxs)(re,{value:o.status,onValueChange:n=>{g("status",n),h(null)},children:[(0,B.jsx)(K,{children:(0,B.jsx)(oe,{placeholder:"Select status"})}),(0,B.jsx)($,{children:["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"].map(n=>(0,B.jsx)(q,{value:n,children:n},n))})]}):(0,B.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>h("status"),children:o.status})]}),(0,B.jsxs)("div",{className:"grid col-span-2 gap-2",children:[(0,B.jsx)(M,{className:"text-sm font-medium text-accent",children:"Categories"}),C==="categories"?(0,B.jsx)("div",{className:"grid grid-cols-2 gap-2 m-1",children:a.map(n=>(0,B.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,B.jsx)(ae,{id:n.id?.toString()||"",checked:(o.categories||[]).some(D=>D.id===n.id),onCheckedChange:()=>n.id!==void 0&&T(n)}),(0,B.jsx)("label",{htmlFor:(n.id??"").toString(),className:`text-sm font-medium ${d(n.type||"sector")} px-2 py-1 rounded`,children:n.name})]},n.id))}):(0,B.jsx)("div",{className:"flex flex-wrap gap-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>h("categories"),children:o.categories&&o.categories.map(n=>{let D=n;return D?(0,B.jsx)(Ne,{variant:"outline",className:d(D.type||"sector"),children:D.name},D.id):null})})]}),(0,B.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,B.jsx)(M,{className:"text-sm font-medium text-accent",children:"COGE Status"}),C==="gecoStatus"?(0,B.jsxs)(re,{value:o.gecoStatus??void 0,onValueChange:n=>{g("gecoStatus",n),h(null)},children:[(0,B.jsx)(K,{children:(0,B.jsx)(oe,{placeholder:"Select status"})}),(0,B.jsx)($,{children:["firm","forecast","other"].map(n=>(0,B.jsx)(q,{value:n,children:n.charAt(0).toUpperCase()+n.slice(1)},n))})]}):(0,B.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>h("gecoStatus"),children:o.gecoStatus?o.gecoStatus.charAt(0).toUpperCase()+o.gecoStatus.slice(1):"N/B"})]})]}),(0,B.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[(0,B.jsxs)("div",{className:"grid gap-2",children:[(0,B.jsx)(M,{className:"text-sm font-medium text-accent",children:"Comments"}),(0,B.jsx)(ue,{className:"h-[200px] overflow-y-auto",children:(0,B.jsx)("div",{className:"space-y-2",children:o.comments&&o.comments.slice().sort((n,D)=>new Date(D.timestamp||"").getTime()-new Date(n.timestamp||"").getTime()).map(n=>(0,B.jsxs)("div",{className:"p-3 rounded-lg",children:[(0,B.jsx)("p",{className:"text-sm text-foreground",children:n.text}),(0,B.jsxs)("p",{className:"text-xs text-foreground mt-1",children:[n?.author?.name," - ",new Date(n.timestamp||"").toLocaleString()]})]},n.id))})}),(0,B.jsxs)("div",{className:"flex mt-2",children:[(0,B.jsx)(U,{value:S,onChange:n=>N(n.target.value),placeholder:"Add a comment...",className:"flex-grow ml-1"}),(0,B.jsxs)(V,{onClick:E,className:"ml-2",children:[(0,B.jsx)(nt.PlusIcon,{className:"B-4 h-4 mr-2"}),"Add"]})]})]}),(0,B.jsxs)("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(o.updatedAt||"").toLocaleString()]})]})]})]})})}var ie=z(require("react"));var Pe=ie.forwardRef(({className:e,...t},r)=>(0,B.jsx)("div",{ref:r,className:f("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Pe.displayName="Card";var De=ie.forwardRef(({className:e,...t},r)=>(0,B.jsx)("div",{ref:r,className:f("flex flex-col space-y-1.5 p-6",e),...t}));De.displayName="CardHeader";var Re=ie.forwardRef(({className:e,...t},r)=>(0,B.jsx)("div",{ref:r,className:f("font-semibold leading-none tracking-tight",e),...t}));Re.displayName="CardTitle";var Pr=ie.forwardRef(({className:e,...t},r)=>(0,B.jsx)("div",{ref:r,className:f("text-sm text-muted-foreground",e),...t}));Pr.displayName="CardDescription";var ke=ie.forwardRef(({className:e,...t},r)=>(0,B.jsx)("div",{ref:r,className:f("p-6 pt-0",e),...t}));ke.displayName="CardContent";var Dr=ie.forwardRef(({className:e,...t},r)=>(0,B.jsx)("div",{ref:r,className:f("flex items-center p-6 pt-0",e),...t}));Dr.displayName="CardFooter";function Ge({deal:e,customer:t,categories:r,onClick:a,compact:i=!1}){let l=r.find(m=>m.type==="proposition"&&(e.categories??[]).includes(m.id));return i?(0,B.jsxs)(Pe,{className:"mb-1 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:a,children:[(0,B.jsxs)(De,{className:"pb-1 pt-2",children:[(0,B.jsx)(Re,{className:"text-sm font-semibold text-foreground",children:t?.name}),(0,B.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:e.description})]}),(0,B.jsx)(ke,{className:"text-xs text-gray-500 pb-2",children:(0,B.jsx)("div",{className:"flex justify-between items-center mb-1",children:(0,B.jsx)("div",{className:"flex items-center text-sm font-bold text-green-600",children:(0,B.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})})})]}):(0,B.jsxs)(Pe,{className:"mb-4 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:a,children:[(0,B.jsxs)(De,{className:"pb-2",children:[(0,B.jsx)("div",{className:"flex justify-between items-center",children:(0,B.jsx)(Re,{className:"text-lg font-semibold text-foreground",children:t?.name})}),(0,B.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:e.description})]}),(0,B.jsxs)(ke,{children:[(0,B.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,B.jsxs)("div",{className:"flex items-center text-sm text-accent",children:[(0,B.jsx)(nt.UserIcon,{className:"B-4 h-4 mr-1 text-xs"}),(0,B.jsx)("span",{children:e.assignee.name})]}),(0,B.jsx)("div",{className:"flex items-center text-sm font-bold text-green-600",children:(0,B.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})]}),(0,B.jsx)("div",{className:"flex justify-between items-left mb-3",children:(0,B.jsxs)("div",{className:"flex items-center text-xs text-gray-500",children:[(0,B.jsx)(nt.CalendarIcon,{className:"B-3 h-3 mr-1"}),(0,B.jsx)("span",{children:new Date(e.updatedAt).toLocaleDateString()})]})}),(0,B.jsx)("div",{className:"flex justify-between items-left",children:l&&(0,B.jsx)(Ne,{variant:"secondary",className:"bg-blue-100 text-blue-800 text-xs",children:l.name})})]})]})}var Te=require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration");function Oe({onSubmit:e}){let[t,r]=(0,Le.useState)({name:"",intro:"",active:!1});return(0,B.jsxs)("form",{onSubmit:i=>{i.preventDefault(),t.name&&(e({...t,name:t.name,updatedAt:new Date().toISOString(),createdAt:new Date().toISOString()}),r({name:"",intro:"",active:!0}))},className:"space-y-4",children:[(0,B.jsxs)("div",{className:"space-y-2",children:[(0,B.jsx)(M,{htmlFor:"customerName",children:"Customer Name"}),(0,B.jsx)(U,{id:"customerName",value:t.name,onChange:i=>r({...t,name:i.target.value}),placeholder:"Enter customer name",required:!0})]}),(0,B.jsxs)("div",{className:"space-y-2",children:[(0,B.jsx)(M,{htmlFor:"customerIntro",children:"Intro"}),(0,B.jsx)(ee,{id:"customerIntro",value:t.intro??"",onChange:i=>r({...t,intro:i.target.value}),placeholder:"Enter customer intro"})]}),(0,B.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,B.jsx)(ae,{id:"activeCustomer",checked:!!t.active,onCheckedChange:i=>r({...t,active:i})}),(0,B.jsx)(M,{htmlFor:"activeCustomer",children:"Active Customer"})]}),(0,B.jsx)(V,{type:"submit",className:"B-full",children:"Add Customer"})]})}function je({customers:e,users:t,categories:r,onSubmit:a,initialDeal:i,onAddCustomer:l,onClose:m}){let[o,b]=(0,Le.useState)(i||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[S,N]=(0,Le.useState)(!1),[p,v]=(0,Le.useState)({});(0,Le.useEffect)(()=>{i&&b(i)},[i]);let C=()=>{let d={};return o.customer||(d.customer="Customer is required"),o.value||(d.value="Value is required"),o.assignee||(d.assignee="Assignee is required"),o.closureDate||(d.closureDate="Closure Date is required"),v(d),Object.keys(d).length===0},h=async d=>{d.preventDefault(),v({});try{if(C()){let y=await a({...o});y.success?(b({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),m?.()):v(y.errors||{})}}catch{v({submit:"An error occurred while submitting the form."})}},P=d=>{b(y=>({...y,categories:(y.categories||[]).includes(d.id)?(y.categories||[]).filter(n=>n!==d.id):[...y.categories||[],d.id]}))},g=async d=>{b({...o,customer:d});try{let y=await l(d);y.success?N(!1):v(y.errors||{})}catch{v({submit:"An error occurred while submitting the form."})}},T=d=>t?.find(y=>y.id===Number(d)),E=d=>e?.find(y=>y.id===Number(d));return(0,B.jsxs)(B.Fragment,{children:[(0,B.jsxs)("form",{onSubmit:h,className:"space-y-6",children:[(0,B.jsx)(ue,{className:"h-[60vh] pr-4",children:(0,B.jsxs)("div",{className:"space-y-6 px-4",children:[(0,B.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,B.jsx)(M,{htmlFor:"customer",children:"Customer"}),(0,B.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,B.jsxs)(re,{value:o.customer?.id?.toString(),onValueChange:d=>b({...o,customer:E(d)}),children:[(0,B.jsx)(K,{children:(0,B.jsx)(oe,{placeholder:"Select customer"})}),(0,B.jsx)($,{children:e.map(d=>(0,B.jsx)(q,{value:d.id?.toString()||"",children:d.name},d.id))})]}),(0,B.jsx)(V,{variant:"outline",size:"icon",onClick:()=>N(!0),children:(0,B.jsx)(nt.PlusIcon,{className:"B-5 h-5"})})]}),p.customerId&&(0,B.jsx)("p",{className:"text-red-500 text-sm",children:p.customerId})]}),(0,B.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,B.jsx)(M,{htmlFor:"value",children:"Value"}),(0,B.jsx)(U,{id:"value",type:"number",value:o.value||"",onChange:d=>b({...o,value:Number.parseFloat(d.target.value)}),placeholder:"Enter deal value"}),p.value&&(0,B.jsx)("p",{className:"text-red-500 text-sm",children:p.value})]}),(0,B.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,B.jsx)(M,{htmlFor:"assignee",children:"Assignee"}),(0,B.jsxs)(re,{value:o.assignee?.id?.toString(),onValueChange:d=>b({...o,assignee:T(d)}),children:[(0,B.jsx)(K,{children:(0,B.jsx)(oe,{placeholder:"Select assignee"})}),(0,B.jsx)($,{children:t&&t.map(d=>(0,B.jsx)(q,{value:d.id?.toString()||"",children:d.name},d.id))})]}),p.assignee&&(0,B.jsx)("p",{className:"text-red-500 text-sm",children:p.assignee})]}),(0,B.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,B.jsx)(M,{htmlFor:"description",children:"Description"}),(0,B.jsx)(ee,{id:"description",value:o.description||"",onChange:d=>b({...o,description:d.target.value}),placeholder:"Enter deal description"})]}),(0,B.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,B.jsx)(M,{children:"Categories"}),(0,B.jsx)("div",{className:"space-y-4",children:["proposition","source","sector"].map(d=>(0,B.jsxs)("div",{className:"space-y-2",children:[(0,B.jsx)("h4",{className:"text-sm font-medium",children:d.charAt(0).toUpperCase()+d.slice(1)}),(0,B.jsx)("div",{className:"grid grid-cols-2 gap-2",children:r.filter(y=>y.type===d).map(y=>(0,B.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,B.jsx)(ae,{id:y.id.toString(),checked:o.categories?.includes(y.id),onCheckedChange:()=>P(y)}),(0,B.jsx)("label",{htmlFor:y.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:y.name})]},y.id))})]},d))})]}),(0,B.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,B.jsx)(M,{htmlFor:"closureDate",children:"Closure Date"}),(0,B.jsx)(U,{id:"closureDate",type:"date",value:o.closureDate||"",onChange:d=>b({...o,closureDate:d.target.value})}),p.closureDate&&(0,B.jsx)("p",{className:"text-red-500 text-sm",children:p.closureDate})]})]})}),(0,B.jsx)(V,{type:"submit",className:"B-full",children:i?"Update Deal":"Add Deal"})]}),(0,B.jsx)(pe,{open:S,onOpenChange:N,children:(0,B.jsxs)(X,{children:[(0,B.jsx)(Z,{children:(0,B.jsx)(Y,{children:"Add New Customer"})}),(0,B.jsx)(Oe,{onSubmit:g})]})})]})}function _e({status:e,deals:t,users:r,customers:a,categories:i,onDealClick:l,calculateColumnValue:m,calculateWeightedValue:o,addNewDeal:b,onAddCustomer:S,compact:N=!1}){let[p,v]=(0,Le.useState)(!1);return(0,B.jsxs)("div",{className:"flex flex-col B-80",children:[(0,B.jsxs)("h2",{className:"text-xl font-semibold mb-4",children:[" ",e.charAt(0).toUpperCase()+e.slice(1)]}),b&&(0,B.jsxs)(pe,{open:p,onOpenChange:v,children:[(0,B.jsx)(lt,{asChild:!0,children:(0,B.jsxs)(V,{className:"mb-4 B-full",children:[(0,B.jsx)(nt.PlusCircle,{className:"mr-2 h-4 B-4"}),"Add New Deal"]})}),(0,B.jsxs)(X,{children:[(0,B.jsx)(Z,{children:(0,B.jsx)(Y,{children:"Add New Deal"})}),(0,B.jsx)(je,{customers:a,users:r,categories:i,onSubmit:b,onAddCustomer:S??(async()=>Promise.resolve({success:!1})),onClose:()=>v(!1)})]})]}),(0,B.jsx)(Te.Droppable,{droppableId:e,isDropDisabled:!1,children:C=>(0,B.jsxs)("div",{ref:C.innerRef,...C.droppableProps,className:"bg-background/90 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[t.map((h,P)=>(0,B.jsx)(Te.Draggable,{draggableId:h.id.toString(),index:h.id,children:g=>(0,B.jsx)("div",{ref:g.innerRef,...g.draggableProps,...g.dragHandleProps,children:(0,B.jsx)(Ge,{deal:h,customer:h.customer,categories:i,onClick:()=>l(h),compact:N})})},h.id.toString())),C.placeholder]})}),(0,B.jsxs)("div",{className:"mt-4 text-sm p-3 rounded-lg shadow",children:[(0,B.jsxs)("p",{className:"font-semibold",children:["Total:"," ",(0,B.jsxs)("span",{className:"text-green-600",children:["\xA3",m(t).toLocaleString()]})]}),(0,B.jsxs)("p",{className:"font-semibold",children:["Weighted:"," ",(0,B.jsxs)("span",{className:"text-blue-600",children:["\xA3",o(t,e).toLocaleString()]})]})]})]})}var Rr=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function kr({initialData:e,addNewDeal:t,updateDeal:r,addComment:a,addNewCustomer:i}){let[l,m]=(0,Le.useState)(null),o=p=>(e.deals??[]).filter(v=>v.status===p),b=p=>p.reduce((v,C)=>v+(C.value||0),0),S=(p,v)=>{let C={Cold:0,Qualified:.2,"Proposal Made":.5,"SoW Submitted":.8,Won:1,Lost:0};return p.reduce((h,P)=>h+(P.value||0)*C[v],0)},N=(0,Le.useCallback)(p=>{let{source:v,destination:C}=p;if(!C||v.droppableId===C.droppableId&&v.index===C.index)return;let h=v.droppableId,P=C.droppableId,g=e.deals?.filter(E=>E.id===v.index)[0],T=[...e.deals??[]];g&&(g.status=P,r(g))},[r]);return(0,B.jsx)(Te.DragDropContext,{onDragEnd:N,children:(0,B.jsxs)("div",{className:"p-4 h-full overflow-auto",children:[(0,B.jsx)("div",{className:"flex space-x-4 pb-4",children:Rr.filter(p=>p!=="Lost").map(p=>{let v=o(p);return(0,B.jsx)(_e,{status:p,deals:v,customers:e.customers??[],users:e.users,categories:e.categories??[],onDealClick:m,calculateColumnValue:b,calculateWeightedValue:S,addNewDeal:p==="Cold"?t:void 0,onAddCustomer:i},p)})}),l&&(0,B.jsx)(We,{deal:l,users:e.users,customer:l.customer,categories:e.categories??[],onClose:()=>m(null),onSave:r,onAddComment:p=>a(l.id.toString(),p)})]})})}0&&(module.exports={CRMKanbanBoard,DealCard,DealDetails,KanbanColumn,NewCustomerForm,NewDealForm});
4
+ "use strict";var zt=Object.create;var Pe=Object.defineProperty;var Vt=Object.getOwnPropertyDescriptor;var Ht=Object.getOwnPropertyNames;var Wt=Object.getPrototypeOf,Ft=Object.prototype.hasOwnProperty;var Ut=(e,t)=>{for(var r in t)Pe(e,r,{get:t[r],enumerable:!0})},Ye=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ht(t))!Ft.call(e,i)&&i!==r&&Pe(e,i,{get:()=>t[i],enumerable:!(a=Vt(t,i))||a.enumerable});return e};var B=(e,t,r)=>(r=e!=null?zt(Wt(e)):{},Ye(t||!e||!e.__esModule?Pe(r,"default",{value:e,enumerable:!0}):r,e)),Gt=e=>Ye(Pe({},"__esModule",{value:!0}),e);var Er={};Ut(Er,{CRMCogeBoard:()=>Ir,CRMKanbanBoard:()=>Lr,DealCard:()=>je,DealDetails:()=>Ce,KanbanColumn:()=>we,NewCustomerForm:()=>Ke,NewDealForm:()=>$e});module.exports=Gt(Er);var Ee=require("react");var xe=B(require("react")),M=B(require("@radix-ui/react-dialog")),ct=require("lucide-react");var lt=require("clsx");var Ge="-",Ot=e=>{let t=jt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:d=>{let o=d.split(Ge);return o[0]===""&&o.length!==1&&o.shift(),rt(o,t)||_t(d)},getConflictingClassGroupIds:(d,o)=>{let b=r[d]||[];return o&&a[d]?[...b,...a[d]]:b}}},rt=(e,t)=>{if(e.length===0)return t.classGroupId;let r=e[0],a=t.nextPart.get(r),i=a?rt(e.slice(1),a):void 0;if(i)return i;if(t.validators.length===0)return;let l=e.join(Ge);return t.validators.find(({validator:d})=>d(l))?.classGroupId},et=/^\[(.+)\]$/,_t=e=>{if(et.test(e)){let t=et.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},jt=e=>{let{theme:t,prefix:r}=e,a={nextPart:new Map,validators:[]};return $t(Object.entries(e.classGroups),r).forEach(([l,d])=>{Ue(d,a,l,t)}),a},Ue=(e,t,r,a)=>{e.forEach(i=>{if(typeof i=="string"){let l=i===""?t:tt(t,i);l.classGroupId=r;return}if(typeof i=="function"){if(Kt(i)){Ue(i(a),t,r,a);return}t.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([l,d])=>{Ue(d,tt(t,l),r,a)})})},tt=(e,t)=>{let r=e;return t.split(Ge).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Kt=e=>e.isThemeGetter,$t=(e,t)=>t?e.map(([r,a])=>{let i=a.map(l=>typeof l=="string"?t+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([d,o])=>[t+d,o])):l);return[r,i]}):e,qt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,a=new Map,i=(l,d)=>{r.set(l,d),t++,t>e&&(t=0,a=r,r=new Map)};return{get(l){let d=r.get(l);if(d!==void 0)return d;if((d=a.get(l))!==void 0)return i(l,d),d},set(l,d){r.has(l)?r.set(l,d):i(l,d)}}},ot="!",Qt=e=>{let{separator:t,experimentalParseClassName:r}=e,a=t.length===1,i=t[0],l=t.length,d=o=>{let b=[],v=0,p=0,u;for(let f=0;f<o.length;f++){let T=o[f];if(v===0){if(T===i&&(a||o.slice(f,f+l)===t)){b.push(o.slice(p,f)),p=f+l;continue}if(T==="/"){u=f;continue}}T==="["?v++:T==="]"&&v--}let h=b.length===0?o:o.substring(p),C=h.startsWith(ot),x=C?h.substring(1):h,P=u&&u>p?u-p:void 0;return{modifiers:b,hasImportantModifier:C,baseClassName:x,maybePostfixModifierPosition:P}};return r?o=>r({className:o,parseClassName:d}):d},Jt=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(a=>{a[0]==="["?(t.push(...r.sort(),a),r=[]):r.push(a)}),t.push(...r.sort()),t},Xt=e=>({cache:qt(e.cacheSize),parseClassName:Qt(e),...Ot(e)}),Zt=/\z+/,Yt=(e,t)=>{let{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:i}=t,l=[],d=e.trim().split(Zt),o="";for(let b=d.length-1;b>=0;b-=1){let v=d[b],{modifiers:p,hasImportantModifier:u,baseClassName:h,maybePostfixModifierPosition:C}=r(v),x=!!C,P=a(x?h.substring(0,C):h);if(!P){if(!x){o=v+(o.length>0?" "+o:o);continue}if(P=a(h),!P){o=v+(o.length>0?" "+o:o);continue}x=!1}let f=Jt(p).join(":"),T=u?f+ot:f,E=T+P;if(l.includes(E))continue;l.push(E);let m=i(P,x);for(let S=0;S<m.length;++S){let n=m[S];l.push(T+n)}o=v+(o.length>0?" "+o:o)}return o};function er(){let e=0,t,r,a="";for(;e<arguments.length;)(t=arguments[e++])&&(r=at(t))&&(a&&(a+=" "),a+=r);return a}var at=e=>{if(typeof e=="string")return e;let t,r="";for(let a=0;a<e.length;a++)e[a]&&(t=at(e[a]))&&(r&&(r+=" "),r+=t);return r};function tr(e,...t){let r,a,i,l=d;function d(b){let v=t.reduce((p,u)=>u(p),e());return r=Xt(v),a=r.cache.get,i=r.cache.set,l=o,o(b)}function o(b){let v=a(b);if(v)return v;let p=Yt(b,r);return i(b,p),p}return function(){return l(er.apply(null,arguments))}}var R=e=>{let t=r=>r[e]||[];return t.isThemeGetter=!0,t},st=/^\[(?:([a-z-]+):)?(.+)\]$/i,rr=/^\d+\/\d+$/,or=new Set(["px","full","screen"]),ar=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,sr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ir=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,nr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,lr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,G=e=>me(e)||or.has(e)||rr.test(e),O=e=>ue(e,"length",br),me=e=>!!e&&!Number.isNaN(Number(e)),Fe=e=>ue(e,"number",me),ve=e=>!!e&&Number.isInteger(Number(e)),cr=e=>e.endsWith("%")&&me(e.slice(0,-1)),g=e=>st.test(e),_=e=>ar.test(e),dr=new Set(["length","size","percentage"]),mr=e=>ue(e,dr,it),ur=e=>ue(e,"position",it),pr=new Set(["image","url"]),fr=e=>ue(e,pr,hr),gr=e=>ue(e,"",vr),he=()=>!0,ue=(e,t,r)=>{let a=st.exec(e);return a?a[1]?typeof t=="string"?a[1]===t:t.has(a[1]):r(a[2]):!1},br=e=>sr.test(e)&&!ir.test(e),it=()=>!1,vr=e=>nr.test(e),hr=e=>lr.test(e);var xr=()=>{let e=R("colors"),t=R("spacing"),r=R("blur"),a=R("brightness"),i=R("borderColor"),l=R("borderRadius"),d=R("borderSpacing"),o=R("borderWidth"),b=R("contrast"),v=R("grayscale"),p=R("hueRotate"),u=R("invert"),h=R("gap"),C=R("gradientColorStops"),x=R("gradientColorStopPositions"),P=R("inset"),f=R("margin"),T=R("opacity"),E=R("padding"),m=R("saturate"),S=R("scale"),n=R("sepia"),D=R("skew"),de=R("space"),qe=R("translate"),ze=()=>["auto","contain","none"],Ve=()=>["auto","hidden","clip","visible","scroll"],He=()=>["auto",g,t],k=()=>[g,t],Qe=()=>["",G,O],Se=()=>["auto",me,g],Je=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Ne=()=>["solid","dashed","dotted","double","none"],Xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],We=()=>["start","end","center","between","around","evenly","stretch"],be=()=>["","0",g],Ze=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[me,g];return{cacheSize:500,separator:":",theme:{colors:[he],spacing:[G,O],blur:["none","",_,g],brightness:U(),borderColor:[e],borderRadius:["none","","full",_,g],borderSpacing:k(),borderWidth:Qe(),contrast:U(),grayscale:be(),hueRotate:U(),invert:be(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[cr,O],inset:He(),margin:He(),opacity:U(),padding:k(),saturate:U(),scale:U(),sepia:be(),skew:U(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",g]}],container:["container"],columns:[{columns:[_]}],"break-after":[{"break-after":Ze()}],"break-before":[{"break-before":Ze()}],"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:[...Je(),g]}],overflow:[{overflow:Ve()}],"overflow-x":[{"overflow-x":Ve()}],"overflow-y":[{"overflow-y":Ve()}],overscroll:[{overscroll:ze()}],"overscroll-x":[{"overscroll-x":ze()}],"overscroll-y":[{"overscroll-y":ze()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[P]}],"inset-x":[{"inset-x":[P]}],"inset-y":[{"inset-y":[P]}],start:[{start:[P]}],end:[{end:[P]}],top:[{top:[P]}],right:[{right:[P]}],bottom:[{bottom:[P]}],left:[{left:[P]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ve,g]}],basis:[{basis:He()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",g]}],grow:[{grow:be()}],shrink:[{shrink:be()}],order:[{order:["first","last","none",ve,g]}],"grid-cols":[{"grid-cols":[he]}],"col-start-end":[{col:["auto",{span:["full",ve,g]},g]}],"col-start":[{"col-start":Se()}],"col-end":[{"col-end":Se()}],"grid-rows":[{"grid-rows":[he]}],"row-start-end":[{row:["auto",{span:[ve,g]},g]}],"row-start":[{"row-start":Se()}],"row-end":[{"row-end":Se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",g]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",g]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...We()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...We(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...We(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],pe:[{pe:[E]}],pt:[{pt:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[f]}],mx:[{mx:[f]}],my:[{my:[f]}],ms:[{ms:[f]}],me:[{me:[f]}],mt:[{mt:[f]}],mr:[{mr:[f]}],mb:[{mb:[f]}],ml:[{ml:[f]}],"space-x":[{"space-x":[de]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[de]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",g,t]}],"min-w":[{"min-w":[g,t,"min","max","fit"]}],"max-w":[{"max-w":[g,t,"none","full","min","max","fit","prose",{screen:[_]},_]}],h:[{h:[g,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[g,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[g,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[g,t,"auto","min","max","fit"]}],"font-size":[{text:["base",_,O]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Fe]}],"font-family":[{font:[he]}],"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",g]}],"line-clamp":[{"line-clamp":["none",me,Fe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",G,g]}],"list-image":[{"list-image":["none",g]}],"list-style-type":[{list:["none","disc","decimal",g]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[T]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ne(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",G,O]}],"underline-offset":[{"underline-offset":["auto",G,g]}],"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:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",g]}],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",g]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[T]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Je(),ur]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",mr]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},fr]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[C]}],"gradient-via":[{via:[C]}],"gradient-to":[{to:[C]}],rounded:[{rounded:[l]}],"rounded-z":[{"rounded-z":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-Ee":[{"rounded-Ee":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[o]}],"border-w-x":[{"border-x":[o]}],"border-w-y":[{"border-y":[o]}],"border-w-z":[{"border-z":[o]}],"border-w-e":[{"border-e":[o]}],"border-w-t":[{"border-t":[o]}],"border-w-r":[{"border-r":[o]}],"border-w-b":[{"border-b":[o]}],"border-w-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[T]}],"border-style":[{border:[...Ne(),"hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[T]}],"divide-style":[{divide:Ne()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-z":[{"border-z":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...Ne()]}],"outline-offset":[{"outline-offset":[G,g]}],"outline-w":[{outline:[G,O]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Qe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[T]}],"ring-offset-w":[{"ring-offset":[G,O]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_,gr]}],"shadow-color":[{shadow:[he]}],opacity:[{opacity:[T]}],"mix-blend":[{"mix-blend":[...Xe(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Xe()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[b]}],"drop-shadow":[{"drop-shadow":["","none",_,g]}],grayscale:[{grayscale:[v]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[u]}],saturate:[{saturate:[m]}],sepia:[{sepia:[n]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[b]}],"backdrop-grayscale":[{"backdrop-grayscale":[v]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[T]}],"backdrop-saturate":[{"backdrop-saturate":[m]}],"backdrop-sepia":[{"backdrop-sepia":[n]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[d]}],"border-spacing-x":[{"border-spacing-x":[d]}],"border-spacing-y":[{"border-spacing-y":[d]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",g]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",g]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",g]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[ve,g]}],"translate-x":[{"translate-x":[qe]}],"translate-y":[{"translate-y":[qe]}],"skew-x":[{"skew-x":[D]}],"skew-y":[{"skew-y":[D]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",g]}],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","z-resize","w-resize","z-resize","nw-resize","Ee-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",g]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",g]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[G,O,Fe]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","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-z","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-Ee","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-z":["rounded-ss","rounded-es"],"rounded-e":["rounded-Ee","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-z","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-z","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","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-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var nt=tr(xr);function y(...e){return nt((0,lt.clsx)(e))}var z=require("react/jsx-runtime"),pe=M.Root,dt=M.Trigger,yr=M.Portal;var mt=xe.forwardRef(({className:e,...t},r)=>(0,z.jsx)(M.Overlay,{ref:r,className:y("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));mt.displayName=M.Overlay.displayName;var X=xe.forwardRef(({className:e,children:t,...r},a)=>(0,z.jsxs)(yr,{children:[(0,z.jsx)(mt,{}),(0,z.jsxs)(M.Content,{ref:a,className:y("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...r,children:[t,(0,z.jsxs)(M.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,z.jsx)(ct.X,{className:"h-4 w-4"}),(0,z.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));X.displayName=M.Content.displayName;var Z=({className:e,...t})=>(0,z.jsx)("div",{className:y("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Z.displayName="DialogHeader";var Cr=({className:e,...t})=>(0,z.jsx)("div",{className:y("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Cr.displayName="DialogFooter";var Y=xe.forwardRef(({className:e,...t},r)=>(0,z.jsx)(M.Title,{ref:r,className:y("text-lg font-semibold leading-none tracking-tight",e),...t}));Y.displayName=M.Title.displayName;var wr=xe.forwardRef(({className:e,...t},r)=>(0,z.jsx)(M.Description,{ref:r,className:y("text-sm text-muted-foreground",e),...t}));wr.displayName=M.Description.displayName;var ut=require("@radix-ui/react-slot"),pt=require("class-variance-authority"),ft=B(require("react")),Sr=(0,pt.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 w-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent-foreground",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),H=ft.forwardRef(({asChild:e=!1,className:t,size:r,variant:a,...i},l)=>(0,z.jsx)(e?ut.Slot:"button",{className:y(Sr({className:t,size:r,variant:a})),ref:l,...i}));H.displayName="Button";var bt=B(require("react"));var F=bt.forwardRef(({className:e,type:t,...r},a)=>(0,z.jsx)("input",{type:t,className:y("flex h-9 w-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:a,...r}));F.displayName="Input";var ht=B(require("react")),Oe=B(require("@radix-ui/react-label"));var Nr=(0,pt.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),I=ht.forwardRef(({className:e,...t},r)=>(0,z.jsx)(Oe.Root,{ref:r,className:y(Nr(),e),...t}));I.displayName=Oe.Root.displayName;var Ct=B(require("react")),ee=Ct.forwardRef(({className:e,...t},r)=>(0,z.jsx)("textarea",{className:y("flex min-h-[80px] w-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:r,...t}));ee.displayName="Textarea";var w=B(require("@radix-ui/react-select")),j=B(require("react")),re=w.Root;var oe=w.Value,K=j.forwardRef(({children:e,className:t,...r},a)=>(0,z.jsxs)(w.Trigger,{className:y("flex h-10 w-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:a,...r,children:[e,(0,z.jsx)(w.Icon,{asChild:!0,children:(0,z.jsx)(ct.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));K.displayName=w.Trigger.displayName;var St=j.forwardRef(({className:e,...t},r)=>(0,z.jsx)(w.ScrollUpButton,{className:y("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,z.jsx)(ct.ChevronUp,{className:"h-4 w-4"})}));St.displayName=w.ScrollUpButton.displayName;var Nt=j.forwardRef(({className:e,...t},r)=>(0,z.jsx)(w.ScrollDownButton,{className:y("flex cursor-default items-center justify-center py-1",e),ref:r,...t,children:(0,z.jsx)(ct.ChevronDown,{className:"h-4 w-4"})}));Nt.displayName=w.ScrollDownButton.displayName;var $=j.forwardRef(({children:e,className:t,position:r="popper",...a},i)=>(0,z.jsx)(w.Portal,{children:(0,z.jsxs)(w.Content,{className:y("relative z-50 max-h-96 min-w-[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",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:r,ref:i,...a,children:[(0,z.jsx)(St,{}),(0,z.jsx)(w.Viewport,{className:y("p-1",r==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:e}),(0,z.jsx)(Nt,{})]})}));$.displayName=w.Content.displayName;var Pr=j.forwardRef(({className:e,...t},r)=>(0,z.jsx)(w.Label,{className:y("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:r,...t}));Pr.displayName=w.Label.displayName;var q=j.forwardRef(({children:e,className:t,...r},a)=>(0,z.jsxs)(w.Item,{className:y("relative flex w-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:a,...r,children:[(0,z.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,z.jsx)(w.ItemIndicator,{children:(0,z.jsx)(ct.Check,{className:"h-4 w-4"})})}),(0,z.jsx)(w.ItemText,{children:e})]}));q.displayName=w.Item.displayName;var Dr=j.forwardRef(({className:e,...t},r)=>(0,z.jsx)(w.Separator,{className:y("-mx-1 my-1 h-px bg-muted",e),ref:r,...t}));Dr.displayName=w.Separator.displayName;var ye=B(require("@radix-ui/react-checkbox")),Dt=B(require("react")),ae=Dt.forwardRef(({className:e,...t},r)=>(0,z.jsx)(ye.Root,{className:y("peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",e),ref:r,...t,children:(0,z.jsx)(ye.Indicator,{className:y("flex items-center justify-center text-current"),children:(0,z.jsx)(ct.Check,{className:"h-4 w-4"})})}));ae.displayName=ye.Root.displayName;var Rr=(0,pt.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 Re({className:e,variant:t,...r}){return(0,z.jsx)("div",{className:y(Rr({variant:t}),e),...r})}var _e=B(require("react")),W=B(require("@radix-ui/react-scroll-area"));var fe=_e.forwardRef(({className:e,children:t,...r},a)=>(0,z.jsxs)(W.Root,{ref:a,className:y("relative overflow-hidden",e),...r,children:[(0,z.jsx)(W.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),(0,z.jsx)(At,{}),(0,z.jsx)(W.Corner,{})]}));fe.displayName=W.Root.displayName;var At=_e.forwardRef(({className:e,orientation:t="vertical",...r},a)=>(0,z.jsx)(W.ScrollAreaScrollbar,{ref:a,orientation:t,className:y("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...r,children:(0,z.jsx)(W.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));At.displayName=W.ScrollAreaScrollbar.displayName;function Ce({deal:e,users:t,customer:r,categories:a,onClose:i,onSave:l,onAddComment:d}){let[o,b]=(0,Ee.useState)({...e,value:e.value||0,comments:e.comments||[],customer:e.customer||{}}),[v,p]=(0,Ee.useState)(""),[u,h]=(0,Ee.useState)(!1),[C,x]=(0,Ee.useState)(null);(0,Ee.useEffect)(()=>{h(JSON.stringify(e)!==JSON.stringify(o))},[e,o]);let P=async()=>{try{let n=await l(o);n.success?(h(!1),x(null)):console.error("Failed to save deal:",n.errors)}catch(n){console.error("Failed to save deal:",n)}},f=(n,D)=>{b(de=>({...de,[n]:D}))},T=n=>{let D=(o.categories||[]).includes(n)?(o.categories||[]).filter(de=>de!==n):[...o.categories||[],n];f("categories",D)},E=async()=>{if(v.trim()){let n={text:v,timestamp:new Date().toISOString()};try{let D=await d(n);if(!D.success){console.error("Failed to add comment:",D.errors);return}}catch(D){console.error("Failed to add comment:",D)}b(D=>({...D,comments:[...D.comments||[],n]})),p("")}},m=n=>{switch(n){case"proposition":return"border-blue-800 text-blue-800";case"source":return"border-green-800 text-green-800";case"sector":return"border-purple-800 text-purple-800";default:return"border-gray-800 text-gray-800"}},S=n=>t?.find(D=>D.id===Number(n));return(0,z.jsx)(pe,{open:!0,children:(0,z.jsxs)(X,{className:"max-w-3xl max-h-[90vh] overflow-hidden flex flex-col [&>button:last-child]:hidden",children:[(0,z.jsxs)(Z,{className:"flex flex-row items-center justify-between",children:[(0,z.jsx)(Y,{className:"text-2xl font-bold",children:r?.name}),(0,z.jsxs)("div",{className:"flex space-x-2",children:[(0,z.jsx)(H,{variant:"outline",onClick:i,children:"Close"}),(0,z.jsxs)(H,{onClick:P,disabled:!u,children:[(0,z.jsx)(ct.SaveIcon,{className:"w-4 h-4 mr-2"}),"Save"]})]})]}),(0,z.jsxs)(fe,{className:"flex-grow pr-4",children:[(0,z.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:[(0,z.jsx)("div",{className:"grid gap-2 m-1",children:C==="value"?(0,z.jsx)(F,{type:"number",value:o.value,onChange:n=>f("value",Number(n.target.value)),onBlur:()=>x(null),className:"text-3xl font-bold text-green-600",autoFocus:!0}):(0,z.jsxs)("div",{className:"text-3xl font-bold text-green-600 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>x("value"),children:["\xA3",o.value?.toLocaleString()]})}),(0,z.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,z.jsx)(I,{className:"text-sm font-medium text-accent",children:"Assignee"}),C==="assignee"?(0,z.jsxs)(re,{value:o?.assignee?.id?.toString()||"",onValueChange:n=>f("assignee",S(n)),children:[(0,z.jsx)(K,{children:(0,z.jsx)(oe,{placeholder:"Select assignee"})}),(0,z.jsx)($,{children:t&&t.map(n=>(0,z.jsx)(q,{value:n?.id?.toString()||"",children:n.name},n.id))})]}):(0,z.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>x("assignee"),children:[(0,z.jsx)(ct.UserIcon,{className:"w-4 h-4 text-gray-400"}),(0,z.jsx)("span",{children:o.assignee.name})]})]}),(0,z.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,z.jsx)(I,{className:"text-sm font-medium text-accent",children:"Closure Date"}),C==="closureDate"?(0,z.jsx)(F,{type:"date",value:o.closureDate?.split("T")[0]??"",onChange:n=>f("closureDate",n.target.value),onBlur:()=>x(null),className:"mr-2",autoFocus:!0}):(0,z.jsxs)("div",{className:"flex items-center space-x-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>x("closureDate"),children:[(0,z.jsx)(ct.CalendarIcon,{className:"w-4 h-4 text-gray-400"}),(0,z.jsx)("span",{children:o.closureDate?new Date(o.closureDate).toLocaleDateString("en-GB"):"z/z"})]})]})]}),(0,z.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-1 gap-4",children:(0,z.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,z.jsx)(I,{className:"text-sm font-medium text-accent",children:"Description"}),C==="description"?(0,z.jsx)(ee,{value:o.description||"",onChange:n=>f("description",n.target.value),onBlur:()=>x(null),className:"min-h-[100px]",autoFocus:!0}):(0,z.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent pb-5 rounded",onClick:()=>x("description"),children:o.description})]})}),(0,z.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 pt-2 gap-4",children:[(0,z.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,z.jsx)(I,{className:"text-sm font-medium text-accent",children:"Status"}),C==="status"?(0,z.jsxs)(re,{value:o.status,onValueChange:n=>{f("status",n),x(null)},children:[(0,z.jsx)(K,{children:(0,z.jsx)(oe,{placeholder:"Select status"})}),(0,z.jsx)($,{children:["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"].map(n=>(0,z.jsx)(q,{value:n,children:n},n))})]}):(0,z.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>x("status"),children:o.status})]}),(0,z.jsxs)("div",{className:"grid col-span-2 gap-2",children:[(0,z.jsx)(I,{className:"text-sm font-medium text-accent",children:"Categories"}),C==="categories"?(0,z.jsx)("div",{className:"grid grid-cols-2 gap-2 m-1",children:a.map(n=>(0,z.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,z.jsx)(ae,{id:n.id?.toString()||"",checked:(o.categories||[]).some(D=>D.id===n.id),onCheckedChange:()=>n.id!==void 0&&T(n)}),(0,z.jsx)("label",{htmlFor:(n.id??"").toString(),className:`text-sm font-medium ${m(n.type||"sector")} px-2 py-1 rounded`,children:n.name})]},n.id))}):(0,z.jsx)("div",{className:"flex flex-wrap gap-2 cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>x("categories"),children:o.categories&&o.categories.map(n=>{let D=n;return D?(0,z.jsx)(Re,{variant:"outline",className:m(D.type||"sector"),children:D.name},D.id):null})})]}),(0,z.jsxs)("div",{className:"grid gap-2 m-1",children:[(0,z.jsx)(I,{className:"text-sm font-medium text-accent",children:"COGE Status"}),C==="gecoStatus"?(0,z.jsxs)(re,{value:o.gecoStatus??void 0,onValueChange:n=>{f("gecoStatus",n),x(null)},children:[(0,z.jsx)(K,{children:(0,z.jsx)(oe,{placeholder:"Select status"})}),(0,z.jsx)($,{children:["firm","forecast","other"].map(n=>(0,z.jsx)(q,{value:n,children:n.charAt(0).toUpperCase()+n.slice(1)},n))})]}):(0,z.jsx)("div",{className:"cursor-pointer p-1 border border-background hover:border-accent rounded",onClick:()=>x("gecoStatus"),children:o.gecoStatus?o.gecoStatus.charAt(0).toUpperCase()+o.gecoStatus.slice(1):"z/z"})]})]}),(0,z.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-1 pt-4 gap-4",children:[(0,z.jsxs)("div",{className:"grid gap-2",children:[(0,z.jsx)(I,{className:"text-sm font-medium text-accent",children:"Comments"}),(0,z.jsx)(fe,{className:"h-[200px] overflow-y-auto",children:(0,z.jsx)("div",{className:"space-y-2",children:o.comments&&o.comments.slice().sort((n,D)=>new Date(D.timestamp||"").getTime()-new Date(n.timestamp||"").getTime()).map(n=>(0,z.jsxs)("div",{className:"p-3 rounded-lg",children:[(0,z.jsx)("p",{className:"text-sm text-foreground",children:n.text}),(0,z.jsxs)("p",{className:"text-xs text-foreground mt-1",children:[n?.author?.name," - ",new Date(n.timestamp||"").toLocaleString()]})]},n.id))})}),(0,z.jsxs)("div",{className:"flex mt-2",children:[(0,z.jsx)(F,{value:v,onChange:n=>p(n.target.value),placeholder:"Add a comment...",className:"flex-grow ml-1"}),(0,z.jsxs)(H,{onClick:E,className:"ml-2",children:[(0,z.jsx)(ct.PlusIcon,{className:"w-4 h-4 mr-2"}),"Add"]})]})]}),(0,z.jsxs)("div",{className:"text-xs text-gray-500 mt-4",children:["Last modified: ",new Date(o.updatedAt||"").toLocaleString()]})]})]})]})})}var ie=B(require("react"));var ke=ie.forwardRef(({className:e,...t},r)=>(0,z.jsx)("div",{ref:r,className:y("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ke.displayName="Card";var Ae=ie.forwardRef(({className:e,...t},r)=>(0,z.jsx)("div",{ref:r,className:y("flex flex-col space-y-1.5 p-6",e),...t}));Ae.displayName="CardHeader";var Te=ie.forwardRef(({className:e,...t},r)=>(0,z.jsx)("div",{ref:r,className:y("font-semibold leading-none tracking-tight",e),...t}));Te.displayName="CardTitle";var kr=ie.forwardRef(({className:e,...t},r)=>(0,z.jsx)("div",{ref:r,className:y("text-sm text-muted-foreground",e),...t}));kr.displayName="CardDescription";var Le=ie.forwardRef(({className:e,...t},r)=>(0,z.jsx)("div",{ref:r,className:y("p-6 pt-0",e),...t}));Le.displayName="CardContent";var Ar=ie.forwardRef(({className:e,...t},r)=>(0,z.jsx)("div",{ref:r,className:y("flex items-center p-6 pt-0",e),...t}));Ar.displayName="CardFooter";function je({deal:e,customer:t,categories:r,onClick:a,compact:i=!1}){let l=r.find(d=>d.type==="proposition"&&(e.categories??[]).includes(d.id));return i?(0,z.jsxs)(ke,{className:"mb-1 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:a,children:[(0,z.jsxs)(Ae,{className:"pb-1 pt-2",children:[(0,z.jsx)(Te,{className:"text-sm font-semibold text-foreground",children:t?.name}),(0,z.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:e.description})]}),(0,z.jsx)(Le,{className:"text-xs text-gray-500 pb-2",children:(0,z.jsx)("div",{className:"flex justify-between items-center mb-1",children:(0,z.jsx)("div",{className:"flex items-center text-sm font-bold text-green-600",children:(0,z.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})})})]}):(0,z.jsxs)(ke,{className:"mb-4 cursor-pointer hover:shadow-md transition-shadow border-l-4 border-l-accent",onClick:a,children:[(0,z.jsxs)(Ae,{className:"pb-2",children:[(0,z.jsx)("div",{className:"flex justify-between items-center",children:(0,z.jsx)(Te,{className:"text-lg font-semibold text-foreground",children:t?.name})}),(0,z.jsx)("p",{className:"text-sm text-gray-500 mt-1",children:e.description})]}),(0,z.jsxs)(Le,{children:[(0,z.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,z.jsxs)("div",{className:"flex items-center text-sm text-accent",children:[(0,z.jsx)(ct.UserIcon,{className:"w-4 h-4 mr-1 text-xs"}),(0,z.jsx)("span",{children:e.assignee.name})]}),(0,z.jsx)("div",{className:"flex items-center text-sm font-bold text-green-600",children:(0,z.jsxs)("span",{children:["\xA3",e.value.toLocaleString()]})})]}),(0,z.jsx)("div",{className:"flex justify-between items-left mb-3",children:(0,z.jsxs)("div",{className:"flex items-center text-xs text-gray-500",children:[(0,z.jsx)(ct.CalendarIcon,{className:"w-3 h-3 mr-1"}),(0,z.jsx)("span",{children:new Date(e.updatedAt).toLocaleDateString()})]})}),(0,z.jsx)("div",{className:"flex justify-between items-left",children:l&&(0,z.jsx)(Re,{variant:"secondary",className:"bg-blue-100 text-blue-800 text-xs",children:l.name})})]})]})}var Ie=require("@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration");function Ke({onSubmit:e}){let[t,r]=(0,Ee.useState)({name:"",intro:"",active:!1});return(0,z.jsxs)("form",{onSubmit:i=>{i.preventDefault(),t.name&&(e({...t,name:t.name,updatedAt:new Date().toISOString(),createdAt:new Date().toISOString()}),r({name:"",intro:"",active:!0}))},className:"space-y-4",children:[(0,z.jsxs)("div",{className:"space-y-2",children:[(0,z.jsx)(I,{htmlFor:"customerName",children:"Customer Name"}),(0,z.jsx)(F,{id:"customerName",value:t.name,onChange:i=>r({...t,name:i.target.value}),placeholder:"Enter customer name",required:!0})]}),(0,z.jsxs)("div",{className:"space-y-2",children:[(0,z.jsx)(I,{htmlFor:"customerIntro",children:"Intro"}),(0,z.jsx)(ee,{id:"customerIntro",value:t.intro??"",onChange:i=>r({...t,intro:i.target.value}),placeholder:"Enter customer intro"})]}),(0,z.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,z.jsx)(ae,{id:"activeCustomer",checked:!!t.active,onCheckedChange:i=>r({...t,active:i})}),(0,z.jsx)(I,{htmlFor:"activeCustomer",children:"Active Customer"})]}),(0,z.jsx)(H,{type:"submit",className:"w-full",children:"Add Customer"})]})}function $e({customers:e,users:t,categories:r,onSubmit:a,initialDeal:i,onAddCustomer:l,onClose:d}){let[o,b]=(0,Ee.useState)(i||{customer:void 0,value:0,assignee:void 0,status:"Cold",categories:[],dateLogged:new Date().toISOString().split("T")[0],closureDate:"",comments:[],description:""}),[v,p]=(0,Ee.useState)(!1),[u,h]=(0,Ee.useState)({});(0,Ee.useEffect)(()=>{i&&b(i)},[i]);let C=()=>{let m={};return o.customer||(m.customer="Customer is required"),o.value||(m.value="Value is required"),o.assignee||(m.assignee="Assignee is required"),o.closureDate||(m.closureDate="Closure Date is required"),h(m),Object.keys(m).length===0},x=async m=>{m.preventDefault(),h({});try{if(C()){let S=await a({...o});S.success?(b({customer:void 0,value:0,assignee:void 0,description:"",status:"Cold",closureDate:""}),d?.()):h(S.errors||{})}}catch{h({submit:"An error occurred while submitting the form."})}},P=m=>{b(S=>({...S,categories:(S.categories||[]).includes(m.id)?(S.categories||[]).filter(n=>n!==m.id):[...S.categories||[],m.id]}))},f=async m=>{b({...o,customer:m});try{let S=await l(m);S.success?p(!1):h(S.errors||{})}catch{h({submit:"An error occurred while submitting the form."})}},T=m=>t?.find(S=>S.id===Number(m)),E=m=>e?.find(S=>S.id===Number(m));return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)("form",{onSubmit:x,className:"space-y-6",children:[(0,z.jsx)(fe,{className:"h-[60vh] pr-4",children:(0,z.jsxs)("div",{className:"space-y-6 px-4",children:[(0,z.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,z.jsx)(I,{htmlFor:"customer",children:"Customer"}),(0,z.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,z.jsxs)(re,{value:o.customer?.id?.toString(),onValueChange:m=>b({...o,customer:E(m)}),children:[(0,z.jsx)(K,{children:(0,z.jsx)(oe,{placeholder:"Select customer"})}),(0,z.jsx)($,{children:e.map(m=>(0,z.jsx)(q,{value:m.id?.toString()||"",children:m.name},m.id))})]}),(0,z.jsx)(H,{variant:"outline",size:"icon",onClick:()=>p(!0),children:(0,z.jsx)(ct.PlusIcon,{className:"w-5 h-5"})})]}),u.customerId&&(0,z.jsx)("p",{className:"text-red-500 text-sm",children:u.customerId})]}),(0,z.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,z.jsx)(I,{htmlFor:"value",children:"Value"}),(0,z.jsx)(F,{id:"value",type:"number",value:o.value||"",onChange:m=>b({...o,value:Number.parseFloat(m.target.value)}),placeholder:"Enter deal value"}),u.value&&(0,z.jsx)("p",{className:"text-red-500 text-sm",children:u.value})]}),(0,z.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,z.jsx)(I,{htmlFor:"assignee",children:"Assignee"}),(0,z.jsxs)(re,{value:o.assignee?.id?.toString(),onValueChange:m=>b({...o,assignee:T(m)}),children:[(0,z.jsx)(K,{children:(0,z.jsx)(oe,{placeholder:"Select assignee"})}),(0,z.jsx)($,{children:t&&t.map(m=>(0,z.jsx)(q,{value:m.id?.toString()||"",children:m.name},m.id))})]}),u.assignee&&(0,z.jsx)("p",{className:"text-red-500 text-sm",children:u.assignee})]}),(0,z.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,z.jsx)(I,{htmlFor:"description",children:"Description"}),(0,z.jsx)(ee,{id:"description",value:o.description||"",onChange:m=>b({...o,description:m.target.value}),placeholder:"Enter deal description"})]}),(0,z.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,z.jsx)(I,{children:"Categories"}),(0,z.jsx)("div",{className:"space-y-4",children:["proposition","source","sector"].map(m=>(0,z.jsxs)("div",{className:"space-y-2",children:[(0,z.jsx)("h4",{className:"text-sm font-medium",children:m.charAt(0).toUpperCase()+m.slice(1)}),(0,z.jsx)("div",{className:"grid grid-cols-2 gap-2",children:r.filter(S=>S.type===m).map(S=>(0,z.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,z.jsx)(ae,{id:S.id.toString(),checked:o.categories?.includes(S.id),onCheckedChange:()=>P(S)}),(0,z.jsx)("label",{htmlFor:S.id.toString(),className:"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",children:S.name})]},S.id))})]},m))})]}),(0,z.jsxs)("div",{className:"space-y-2 space-x-2",children:[(0,z.jsx)(I,{htmlFor:"closureDate",children:"Closure Date"}),(0,z.jsx)(F,{id:"closureDate",type:"date",value:o.closureDate||"",onChange:m=>b({...o,closureDate:m.target.value})}),u.closureDate&&(0,z.jsx)("p",{className:"text-red-500 text-sm",children:u.closureDate})]})]})}),(0,z.jsx)(H,{type:"submit",className:"w-full",children:i?"Update Deal":"Add Deal"})]}),(0,z.jsx)(pe,{open:v,onOpenChange:p,children:(0,z.jsxs)(X,{children:[(0,z.jsx)(Z,{children:(0,z.jsx)(Y,{children:"Add New Customer"})}),(0,z.jsx)(Ke,{onSubmit:f})]})})]})}function we({status:e,deals:t,users:r,customers:a,categories:i,onDealClick:l,calculateColumnValue:d,calculateWeightedValue:o,addNewDeal:b,onAddCustomer:v,compact:p=!1}){let[u,h]=(0,Ee.useState)(!1);return(0,z.jsxs)("div",{className:"flex flex-col w-80",children:[(0,z.jsxs)("h2",{className:"text-xl font-semibold mb-4",children:[" ",e.charAt(0).toUpperCase()+e.slice(1)]}),b&&(0,z.jsxs)(pe,{open:u,onOpenChange:h,children:[(0,z.jsx)(dt,{asChild:!0,children:(0,z.jsxs)(H,{className:"mb-4 w-full",children:[(0,z.jsx)(ct.PlusCircle,{className:"mr-2 h-4 w-4"}),"Add New Deal"]})}),(0,z.jsxs)(X,{children:[(0,z.jsx)(Z,{children:(0,z.jsx)(Y,{children:"Add New Deal"})}),(0,z.jsx)($e,{customers:a,users:r,categories:i,onSubmit:b,onAddCustomer:v??(async()=>Promise.resolve({success:!1})),onClose:()=>h(!1)})]})]}),(0,z.jsx)(Ie.Droppable,{droppableId:e,isDropDisabled:!1,children:C=>(0,z.jsxs)("div",{ref:C.innerRef,...C.droppableProps,className:"bg-background/90 p-4 rounded-lg flex-grow min-h-[200px] shadow-inner",children:[t.map((x,P)=>(0,z.jsx)(Ie.Draggable,{draggableId:x.id.toString(),index:x.id,children:f=>(0,z.jsx)("div",{ref:f.innerRef,...f.draggableProps,...f.dragHandleProps,children:(0,z.jsx)(je,{deal:x,customer:x.customer,categories:i,onClick:()=>l(x),compact:p})})},x.id.toString())),C.placeholder]})}),(0,z.jsxs)("div",{className:"mt-4 text-sm p-3 rounded-lg shadow",children:[(0,z.jsxs)("p",{className:"font-semibold",children:["Total:"," ",(0,z.jsxs)("span",{className:"text-green-600",children:["\xA3",d(t).toLocaleString()]})]}),(0,z.jsxs)("p",{className:"font-semibold",children:["Weighted:"," ",(0,z.jsxs)("span",{className:"text-blue-600",children:["\xA3",o(t,e).toLocaleString()]})]})]})]})}var Tr=["Cold","Qualified","Proposal Made","SoW Submitted","Won","Lost"];function Lr({initialData:e,addNewDeal:t,updateDeal:r,addComment:a,addNewCustomer:i}){let[l,d]=(0,Ee.useState)(null),o=u=>(e.deals??[]).filter(h=>h.status===u),b=u=>u.reduce((h,C)=>h+(C.value||0),0),v=(u,h)=>{let C={Cold:0,Qualified:.2,"Proposal Made":.5,"SoW Submitted":.8,Won:1,Lost:0};return u.reduce((x,P)=>x+(P.value||0)*C[h],0)},p=(0,Ee.useCallback)(u=>{let{source:h,destination:C}=u;if(!C||h.droppableId===C.droppableId&&h.index===C.index)return;let x=h.droppableId,P=C.droppableId,f=e.deals?.filter(E=>E.id===h.index)[0],T=[...e.deals??[]];f&&(f.status=P,r(f))},[r]);return(0,z.jsx)(Ie.DragDropContext,{onDragEnd:p,children:(0,z.jsxs)("div",{className:"p-4 h-full overflow-auto",children:[(0,z.jsx)("div",{className:"flex space-x-4 pb-4",children:Tr.filter(u=>u!=="Lost").map(u=>{let h=o(u);return(0,z.jsx)(we,{status:u,deals:h,customers:e.customers??[],users:e.users,categories:e.categories??[],onDealClick:d,calculateColumnValue:b,calculateWeightedValue:v,addNewDeal:u==="Cold"?t:void 0,onAddCustomer:i},u)})}),l&&(0,z.jsx)(Ce,{deal:l,users:e.users,customer:l.customer,categories:e.categories??[],onClose:()=>d(null),onSave:r,onAddComment:u=>a(l.id.toString(),u)})]})})}var Mr=["firm","forecast","other"];function Ir({initialData:e,updateDeal:t,addComment:r}){let[a,i]=(0,Ee.useState)(null),l=v=>(e.deals??[]).filter(p=>p.gecoStatus===v).filter(p=>p.status!=="Lost"&&p.status!=="Cold"),d=v=>v.reduce((p,u)=>p+(u.value||0),0),o=(v,p)=>{let u={Cold:0,Qualified:.2,"Proposal Made":.5,"SoW Submitted":.8,Won:1,Lost:0};return v.reduce((h,C)=>h+(C.value||0)*(u[C.status]??0),0)},b=(0,Ee.useCallback)(v=>{let{source:p,destination:u}=v;if(!u||p.droppableId===u.droppableId&&p.index===u.index)return;let h=p.droppableId,C=u.droppableId,x=e.deals?.filter(f=>f.id===p.index)[0],P=[...e.deals??[]];x&&(x.gecoStatus=C,t(x))},[t]);return(0,z.jsx)(Ie.DragDropContext,{onDragEnd:b,children:(0,z.jsxs)("div",{className:"p-4 h-full overflow-auto",children:[(0,z.jsx)("div",{className:"flex space-x-4 pb-4",children:Mr.map(v=>{let p=l(v);return(0,z.jsx)(we,{status:v,deals:p,customers:e.customers??[],users:e.users,categories:e.categories??[],onDealClick:i,calculateColumnValue:d,calculateWeightedValue:o,compact:!0},v)})}),a&&(0,z.jsx)(Ce,{deal:a,users:e.users,customer:a.customer,categories:e.categories??[],onClose:()=>i(null),onSave:t,onAddComment:v=>r(a.id.toString(),v)})]})})}0&&(module.exports={CRMCogeBoard,CRMKanbanBoard,DealCard,DealDetails,KanbanColumn,NewCustomerForm,NewDealForm});
@@ -1 +1 @@
1
- import{a as f}from"../../chunk-G72SIYN7.mjs";import{a as e}from"../../chunk-PFWODHNV.mjs";import{a as d}from"../../chunk-TASJS6US.mjs";import{a as c}from"../../chunk-ERUB6LU6.mjs";import{a as b}from"../../chunk-FFESN4FM.mjs";import{a}from"../../chunk-MEWCJ4MA.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{f as CRMKanbanBoard,b as DealCard,a as DealDetails,e as KanbanColumn,c as NewCustomerForm,d as NewDealForm};
1
+ import{a as f}from"../../chunk-6BOIU52Z.mjs";import{a as g}from"../../chunk-H3V6RZEI.mjs";import{a}from"../../chunk-MEWCJ4MA.mjs";import{a as e}from"../../chunk-PFWODHNV.mjs";import{a as d}from"../../chunk-TASJS6US.mjs";import{a as c}from"../../chunk-ERUB6LU6.mjs";import{a as b}from"../../chunk-FFESN4FM.mjs";import"../../chunk-OGZERPA4.mjs";import"../../chunk-6T322YHB.mjs";import"../../chunk-KJIBE57R.mjs";import"../../chunk-CX4XB5W2.mjs";import"../../chunk-EECIYMTX.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-JPZJET3B.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{g as CRMCogeBoard,f as CRMKanbanBoard,b as DealCard,a as DealDetails,e as KanbanColumn,c as NewCustomerForm,d as NewDealForm};
@@ -1 +1 @@
1
- import{h as a}from"../../chunk-QNIE2MLB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as ContentCard};
1
+ import{h as a}from"../../chunk-3UA62APP.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as ContentCard};
@@ -1 +1 @@
1
- import{a as o,b as t}from"../../chunk-3TVLETYW.mjs";import{h as e}from"../../chunk-QNIE2MLB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";var i={title:"Reusable Blocks/ContentCard",component:e,parameters:{layout:"centered"},tags:["autodocs"],argTypes:{variant:{control:"select",options:["solid","light","gradient","radial"],description:"The visual style variant of the card"},heading:{control:"text"},subheading:{control:"text"},content:{control:"object"},statistic:{control:"text"},buttonText:{control:"text"},buttonHref:{control:"text"},icon:{control:"boolean"}}},d=i,a={args:{variant:"solid",heading:"Results",icon:{type:"kit",iconName:"software"},statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",mode:"normal",type:"text"}]}]}}}},m={args:{variant:"outline",heading:"Lorem ipsum dolor sit",icon:{type:"kit",iconName:"software"},iconSize:"small",width:"1/4"}},n={args:{variant:"light",icon:{type:"kit",iconName:"software"},heading:"Lorem ipsum dolor sit amet",content:{root:{children:[{type:"paragraph",children:[{text:"Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",mode:"normal",type:"text"}]},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Ut enim ad minim veniam, quis nostrud exercitation ",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",children:[{text:"Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",mode:"normal",type:"text"}]}]}}}},u={args:{variant:"gradient",heading:"Lorem ipsum dolor sit amet",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}}},p={args:{variant:"radial",subheading:"go to the next level",heading:"Lorem ipsum dolor sit amet",buttonText:"Go here",buttonHref:"#"}},g={args:{...n.args,icon:void 0}},y={args:{...a.args,className:"max-w-md"}},h={args:{icon:{type:"fa-thin",iconName:"robot"},heading:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"outline",icon:"large"}}},x={args:{icon:{type:"fa-thin",iconName:"lightbulb"},link:{label:"label",type:"custom",url:"#"},heading:"Intelligent Insights",statistic:"80%",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation.",variant:"light"}},b={args:{icon:{type:"fa-thin",iconName:"robot"},heading:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"large"}}},v={args:{icon:{type:"fa-thin",iconName:"lightbulb"},link:{label:"label",type:"custom",url:"#"},heading:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,iconSize:"small",statistic:"80%",settings:{card:"radial"}}},S={args:{image:o.hero,icon:{type:"fa-thin",iconName:"lightbulb"},link:{label:"label",type:"custom",url:"#"},heading:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,iconSize:"small",statistic:"80%",settings:{card:"radial"}}};export{y as CustomStyling,u as Gradient,h as IconOutline,b as IconOutlineCTA,S as Image,n as Light,m as Minimal,g as NoIcon,x as NoOutline,p as Radial,v as SmallIcon,a as Solid,d as default};
1
+ import{a as o,b as t}from"../../chunk-3TVLETYW.mjs";import{h as e}from"../../chunk-3UA62APP.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";var i={title:"Reusable Blocks/ContentCard",component:e,parameters:{layout:"centered"},tags:["autodocs"],argTypes:{variant:{control:"select",options:["solid","light","gradient","radial"],description:"The visual style variant of the card"},heading:{control:"text"},subheading:{control:"text"},content:{control:"object"},statistic:{control:"text"},buttonText:{control:"text"},buttonHref:{control:"text"},icon:{control:"boolean"}}},d=i,a={args:{variant:"solid",heading:"Results",icon:{type:"kit",iconName:"software"},statistic:"85%",content:{root:{children:[{type:"paragraph",children:[{text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",mode:"normal",type:"text"}]}]}}}},m={args:{variant:"outline",heading:"Lorem ipsum dolor sit",icon:{type:"kit",iconName:"software"},iconSize:"small",width:"1/4"}},n={args:{variant:"light",icon:{type:"kit",iconName:"software"},heading:"Lorem ipsum dolor sit amet",content:{root:{children:[{type:"paragraph",children:[{text:"Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",mode:"normal",type:"text"}]},{tag:"h2",type:"heading",format:"",indent:0,version:1,children:[{mode:"normal",text:"Ut enim ad minim veniam, quis nostrud exercitation ",type:"text",style:"",detail:0,format:0,version:1}],direction:"ltr"},{type:"paragraph",children:[{text:"Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",mode:"normal",type:"text"}]}]}}}},u={args:{variant:"gradient",heading:"Lorem ipsum dolor sit amet",content:{root:{children:[{type:"paragraph",children:[{text:"Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.",mode:"normal",type:"text"}]},{type:"paragraph",children:[{text:"Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",mode:"normal",type:"text"}]}]}}}},p={args:{variant:"radial",subheading:"go to the next level",heading:"Lorem ipsum dolor sit amet",buttonText:"Go here",buttonHref:"#"}},g={args:{...n.args,icon:void 0}},y={args:{...a.args,className:"max-w-md"}},h={args:{icon:{type:"fa-thin",iconName:"robot"},heading:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,settings:{card:"outline",icon:"large"}}},x={args:{icon:{type:"fa-thin",iconName:"lightbulb"},link:{label:"label",type:"custom",url:"#"},heading:"Intelligent Insights",statistic:"80%",content:"They provide valuable insights and improve ways of working, saving time and boosting efficiency across your organisation.",variant:"light"}},b={args:{icon:{type:"fa-thin",iconName:"robot"},heading:"Sed at eros vel lacus varius varius nec id metus.",link:{label:"label",type:"custom",url:"#"},content:t.simple,settings:{card:"outline",iconSize:"large"}}},v={args:{icon:{type:"fa-thin",iconName:"lightbulb"},link:{label:"label",type:"custom",url:"#"},heading:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,iconSize:"small",statistic:"80%",settings:{card:"radial"}}},S={args:{image:o.hero,icon:{type:"fa-thin",iconName:"lightbulb"},link:{label:"label",type:"custom",url:"#"},heading:"Sed at eros vel lacus varius varius nec id metus.",content:t.simple,iconSize:"small",statistic:"80%",settings:{card:"radial"}}};export{y as CustomStyling,u as Gradient,h as IconOutline,b as IconOutlineCTA,S as Image,n as Light,m as Minimal,g as NoIcon,x as NoOutline,p as Radial,v as SmallIcon,a as Solid,d as default};
@@ -1 +1 @@
1
- import{g as a}from"../../chunk-QNIE2MLB.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-VXGRJCCM.mjs";import"../../chunk-DAJNZDN6.mjs";import"../../chunk-KETV2XVN.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as FeatureCard};
1
+ import{g as a}from"../../chunk-3UA62APP.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-C4DU747D.mjs";import"../../chunk-STHWCR5K.mjs";import"../../chunk-CTKUF2I6.mjs";import"../../chunk-L3PFZ7PW.mjs";import"../../chunk-56RXRTGZ.mjs";import"../../chunk-WDDAVAVV.mjs";import"../../chunk-VIS6GPCT.mjs";import"../../chunk-E6KVX2UG.mjs";import"../../chunk-LLNCOMIM.mjs";import"../../chunk-6HORFOA3.mjs";import"../../chunk-KUZCFJTH.mjs";import"../../chunk-BUCI7BPM.mjs";import"../../chunk-IC57R2EU.mjs";import"../../chunk-PBRC3UOA.mjs";import"../../chunk-SX5U74MW.mjs";import"../../chunk-KHZPOMKL.mjs";import"../../chunk-FRTYO74I.mjs";import"../../chunk-7PBTM4J4.mjs";import"../../chunk-4BDIVC2Q.mjs";import"../../chunk-TQQVBE66.mjs";import"../../chunk-BPSLUO5I.mjs";import"../../chunk-FHJDQP4I.mjs";import"../../chunk-BLD454AX.mjs";import"../../chunk-4BHOIXJM.mjs";import"../../chunk-J2IHT57D.mjs";import"../../chunk-4YFMDLHL.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-HTVHCBXQ.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-ZLSF5YXT.mjs";import"../../chunk-M6LJ4BNZ.mjs";export{a as FeatureCard};