cortex-react-components 2.18.7 → 2.19.1

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 (115) hide show
  1. package/dist/{chunk-GETYSIZV.mjs → chunk-255P6K5W.mjs} +1 -1
  2. package/dist/{chunk-VRE6VCHX.mjs → chunk-2BR55L74.mjs} +1 -1
  3. package/dist/{chunk-P6OSMPUQ.mjs → chunk-2RQDJ5XT.mjs} +1 -1
  4. package/dist/chunk-4NBXE4IK.mjs +4 -0
  5. package/dist/{chunk-BQQ4V4PX.mjs → chunk-5SHZBJ5R.mjs} +1 -1
  6. package/dist/{chunk-R6AYIVIR.mjs → chunk-5WVFEIMC.mjs} +1 -1
  7. package/dist/{chunk-GAZHKHGB.mjs → chunk-67QPOSVV.mjs} +1 -1
  8. package/dist/{chunk-7OMPPFGG.mjs → chunk-7GMAMIHM.mjs} +1 -1
  9. package/dist/{chunk-OQCMTGML.mjs → chunk-CBIULUZQ.mjs} +1 -1
  10. package/dist/{chunk-4DR4ILAP.mjs → chunk-CRSGNLV4.mjs} +1 -1
  11. package/dist/{chunk-2GM2LPLB.mjs → chunk-ERJXTG6X.mjs} +1 -1
  12. package/dist/{chunk-HDKHF3EA.mjs → chunk-FKU4VQR6.mjs} +1 -1
  13. package/dist/{chunk-F64CA5CH.mjs → chunk-H3CJOE6S.mjs} +1 -1
  14. package/dist/{chunk-U3FYDDE2.mjs → chunk-HKGW6JI2.mjs} +1 -1
  15. package/dist/{chunk-QAJBJFRP.mjs → chunk-HNHUOQGZ.mjs} +1 -1
  16. package/dist/{chunk-PNUBVBSR.mjs → chunk-IF3425JX.mjs} +1 -1
  17. package/dist/{chunk-G2DUU25F.mjs → chunk-IXP52FRT.mjs} +1 -1
  18. package/dist/{chunk-3ANJOET7.mjs → chunk-LBUC4M6L.mjs} +1 -1
  19. package/dist/{chunk-KZAYLEFB.mjs → chunk-LJOWXPWW.mjs} +1 -1
  20. package/dist/{chunk-PTZT4QJW.mjs → chunk-LJQPLE4S.mjs} +1 -1
  21. package/dist/{chunk-2OOJ4ZFB.mjs → chunk-M7NV6EFH.mjs} +1 -1
  22. package/dist/{chunk-4SRUEQTP.mjs → chunk-MXCW6SOT.mjs} +1 -1
  23. package/dist/{chunk-FYQBRCQM.mjs → chunk-N3B3XNV3.mjs} +1 -1
  24. package/dist/{chunk-PTJVI53B.mjs → chunk-NN4QIXZ2.mjs} +1 -1
  25. package/dist/{chunk-FEWOSBUJ.mjs → chunk-NWISIJFD.mjs} +1 -1
  26. package/dist/chunk-OWFU2LXU.mjs +4 -0
  27. package/dist/{chunk-RIRZRO6U.mjs → chunk-P55W6AFU.mjs} +1 -1
  28. package/dist/{chunk-MO4HRQEL.mjs → chunk-PK3OBSCB.mjs} +1 -1
  29. package/dist/{chunk-T5HJS6OF.mjs → chunk-RSDUFAIB.mjs} +1 -1
  30. package/dist/{chunk-DPZHVBGG.mjs → chunk-TL2RQFU5.mjs} +1 -1
  31. package/dist/{chunk-WHDV4REI.mjs → chunk-UNHE7GG7.mjs} +1 -1
  32. package/dist/chunk-VOOU7RBN.mjs +4 -0
  33. package/dist/chunk-W2LPR7SX.mjs +1 -0
  34. package/dist/{chunk-UZSBX5GO.mjs → chunk-X3JZSN3W.mjs} +1 -1
  35. package/dist/{chunk-VNYUNZ3M.mjs → chunk-XGIYNUGC.mjs} +1 -1
  36. package/dist/{chunk-HKMNAXLM.mjs → chunk-YKG4FNS4.mjs} +1 -1
  37. package/dist/components/Blocks/Banner.mjs +1 -1
  38. package/dist/components/Blocks/CallToAction.mjs +1 -1
  39. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  40. package/dist/components/Blocks/Content.mjs +1 -1
  41. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  42. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  43. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  44. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  45. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  46. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  47. package/dist/components/Blocks/index.mjs +1 -1
  48. package/dist/components/Cards/ContentCard.mjs +1 -1
  49. package/dist/components/Cards/FeatureCard.mjs +1 -1
  50. package/dist/components/Cards/index.mjs +1 -1
  51. package/dist/components/Foundary/Knowledge/add-knowledge-modal.js +1 -1
  52. package/dist/components/Foundary/Knowledge/add-knowledge-modal.mjs +1 -1
  53. package/dist/components/Foundary/Pages/dashboardpage.js +1 -1
  54. package/dist/components/Foundary/Pages/dashboardpage.mjs +1 -1
  55. package/dist/components/Foundary/RichText/index.mjs +1 -1
  56. package/dist/components/Foundary/RichText/plugins/toolbar-plugin.mjs +1 -1
  57. package/dist/components/Foundary/Views/KnowledgeView.js +1 -2
  58. package/dist/components/Foundary/Views/KnowledgeView.mjs +1 -1
  59. package/dist/components/Foundary/Views/index.js +1 -1
  60. package/dist/components/Foundary/Views/index.mjs +1 -1
  61. package/dist/components/Foundary/document-edit.js +1 -1
  62. package/dist/components/Foundary/document-edit.mjs +1 -1
  63. package/dist/components/Foundary/document-preview-examples.js +5 -5
  64. package/dist/components/Foundary/document-preview-examples.mjs +1 -1
  65. package/dist/components/Foundary/document-preview.js +1 -1
  66. package/dist/components/Foundary/document-preview.mjs +1 -1
  67. package/dist/components/Foundary/index.js +1 -1
  68. package/dist/components/Foundary/index.mjs +1 -1
  69. package/dist/components/Foundary/knowledge-browser.js +1 -1
  70. package/dist/components/Foundary/knowledge-browser.mjs +1 -1
  71. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  72. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  73. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  74. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  75. package/dist/components/Heros/RenderHero.mjs +1 -1
  76. package/dist/components/Heros/index.mjs +1 -1
  77. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  78. package/dist/components/Layouts/Print.mjs +1 -1
  79. package/dist/components/Layouts/SlideShow.mjs +1 -1
  80. package/dist/components/Layouts/index.mjs +1 -1
  81. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  82. package/dist/components/Payload/Media/index.mjs +1 -1
  83. package/dist/components/Payload/PayloadCard/index.mjs +1 -1
  84. package/dist/components/Payload/RichText/index.mjs +1 -1
  85. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  86. package/dist/components/Payload/index.mjs +1 -1
  87. package/dist/components/index.js +20 -20
  88. package/dist/components/index.mjs +1 -1
  89. package/dist/globals.css +1 -1
  90. package/dist/index.js +25 -25
  91. package/dist/index.mjs +1 -1
  92. package/dist/metafile-cjs.json +1 -1
  93. package/dist/metafile-esm.json +1 -1
  94. package/dist/pages/Blog.mjs +1 -1
  95. package/dist/pages/IndexPage.mjs +1 -1
  96. package/dist/pages/LandingPage.mjs +1 -1
  97. package/dist/pages/Page.mjs +1 -1
  98. package/dist/pages/Publish.mjs +1 -1
  99. package/dist/pages/Website.mjs +1 -1
  100. package/dist/sections/AboutSection.mjs +1 -1
  101. package/dist/sections/BlogDetail.mjs +1 -1
  102. package/dist/sections/BlogList.mjs +1 -1
  103. package/dist/sections/BlogListSection.mjs +1 -1
  104. package/dist/sections/ContactSection.mjs +1 -1
  105. package/dist/sections/PageSections.mjs +1 -1
  106. package/dist/sections/PricingSection.mjs +1 -1
  107. package/dist/sections/ServiceDetail.mjs +1 -1
  108. package/dist/sections/ServiceDetailSection.mjs +1 -1
  109. package/dist/sections/ServiceSection.mjs +1 -1
  110. package/dist/sections/index.mjs +1 -1
  111. package/package.json +1 -1
  112. package/dist/chunk-3DZFESHK.mjs +0 -4
  113. package/dist/chunk-3F6AUCZF.mjs +0 -1
  114. package/dist/chunk-3ZQFJ5WD.mjs +0 -4
  115. package/dist/chunk-HHPTGV4F.mjs +0 -4
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as u}from"./chunk-U2OXF7PJ.mjs";import{a as p}from"./chunk-W2LPR7SX.mjs";import{a as c}from"./chunk-CRSGNLV4.mjs";import{useEffect as D,useState as l}from"react";import{Fragment as N,jsx as e,jsxs as d}from"react/jsx-runtime";function y({documents:f=[],contexts:n=[],onDocumentClick:x=o=>console.log("Document clicked:",o),onDocumentShare:g=o=>console.log("Share document:",o),onLoadDocumentContent:A,selectedDocumentId:w,onAddKnowledge:m,onAddTeamContext:a,onDocumentUpdate:v}){let[o,s]=l(n[0]),[b,r]=l(!1),[C,i]=l(!1);D(()=>{!o&&n&&n.length>0&&s(n[0])},[n]);let K=t=>{m&&m(t),r(!1)},h=t=>{a&&a(t),i(!1)};return d("div",{className:"flex flex-col h-full max-h-[calc(100vh-8rem)]",children:[e("div",{className:"px-2 md:px-4 py-4 flex-shrink-0",children:n&&n.length>0&&d("div",{className:"mt-6",children:[e("div",{className:"border-b border-border",children:d("nav",{className:"-mb-px flex justify-between items-center",children:[e("div",{className:"flex space-x-8 overflow-x-auto",children:n.map(t=>d("button",{onClick:()=>s(t),className:`group inline-flex items-center gap-2 py-3 px-1 border-b-2 font-medium text-sm whitespace-nowrap transition-colors ${o?.id===t.id?"border-primary text-primary":"border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground"}`,children:[t.icon,t.label]},t.id))}),d("div",{className:"flex items-center gap-2 flex-shrink-0",children:[e("button",{onClick:()=>r(!0),className:"inline-flex border border-primary rounded-xl items-center gap-2 py-2 px-3 text-sm font-medium text-primary hover:text-primary/80 transition-colors whitespace-nowrap",children:"Add Knowledge"}),e("button",{onClick:()=>i(!0),className:"inline-flex border border-primary rounded-xl items-center gap-2 py-2 px-3 text-sm font-medium text-primary hover:text-primary/80 transition-colors whitespace-nowrap",children:"Add Context"})]})]})}),o?.description&&e("div",{className:"mt-3 px-1",children:e("p",{className:"text-sm text-muted-foreground",children:o?.description})})]})}),o?e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4",children:e("div",{className:"h-full rounded-xl border overflow-hidden",children:e(c,{documents:f,menuConfig:o?.menuConfig,onDocumentClick:x,onDocumentShare:g,selectedDocumentId:w,onDocumentUpdate:v})})}):e("div",{className:"flex-1 min-h-0 px-2 md:px-4 pb-4 flex items-center justify-center",children:e("p",{className:"text-muted-foreground",children:"No contexts available"})}),d(N,{children:[e(u,{isOpen:C,onClose:()=>i(!1),onAddTeamContext:h}),e(p,{isOpen:b,onClose:()=>r(!1),onAddKnowledge:K,knowledgeContexts:n})]})]})}export{y as a};
@@ -1 +1 @@
1
- import{a as p}from"./chunk-T5HJS6OF.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{jsx as o}from"react/jsx-runtime";var c=r=>{let{posts:t}=r;return o("div",{className:a("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:t?.map((s,i)=>typeof s=="object"&&s!==null?o("div",{className:"col-span-4",children:o(p,{className:"h-full",doc:s,relationTo:"posts",showCategories:!0})},i):null)})})})};export{c as a};
1
+ import{a as p}from"./chunk-RSDUFAIB.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{jsx as o}from"react/jsx-runtime";var c=r=>{let{posts:t}=r;return o("div",{className:a("container"),children:o("div",{children:o("div",{className:"grid grid-cols-4 sm:grid-cols-8 lg:grid-cols-12 gap-y-4 gap-x-4 lg:gap-y-8 lg:gap-x-8 xl:gap-x-8",children:t?.map((s,i)=>typeof s=="object"&&s!==null?o("div",{className:"col-span-4",children:o(p,{className:"h-full",doc:s,relationTo:"posts",showCategories:!0})},i):null)})})})};export{c as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{f as t}from"./chunk-FYQBRCQM.mjs";import{a}from"./chunk-MDJREBVI.mjs";import n from"react";import*as l from"@radix-ui/react-collapsible";import{ChevronDownIcon as c,ChevronUpIcon as m}from"@radix-ui/react-icons";import{jsx as e,jsxs as s}from"react/jsx-runtime";var h=({title:p,richText:r})=>{let[o,i]=n.useState(!1);return e("div",{className:"border rounded-lg overflow-hidden",children:s(l.Root,{className:a("w-full"),open:o,onOpenChange:i,children:[s(l.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[e("h2",{className:"text-lg font-medium",children:p}),o?e(m,{className:"h-6 w-6"}):e(c,{className:"h-6 w-6"})]}),e(l.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:e("div",{className:"px-4 py-3 bg-white",children:e(t,{content:r||{},enableGutter:!1})})})]})})};export{h as a};
4
+ import{f as t}from"./chunk-N3B3XNV3.mjs";import{a}from"./chunk-MDJREBVI.mjs";import n from"react";import*as l from"@radix-ui/react-collapsible";import{ChevronDownIcon as c,ChevronUpIcon as m}from"@radix-ui/react-icons";import{jsx as e,jsxs as s}from"react/jsx-runtime";var h=({title:p,richText:r})=>{let[o,i]=n.useState(!1);return e("div",{className:"border rounded-lg overflow-hidden",children:s(l.Root,{className:a("w-full"),open:o,onOpenChange:i,children:[s(l.Trigger,{className:"flex w-full items-center justify-between bg-white px-4 py-3 text-left hover:bg-gray-50",children:[e("h2",{className:"text-lg font-medium",children:p}),o?e(m,{className:"h-6 w-6"}):e(c,{className:"h-6 w-6"})]}),e(l.Content,{className:"overflow-hidden data-[state=closed]:animate-collapse data-[state=open]:animate-expand border-t",children:e("div",{className:"px-4 py-3 bg-white",children:e(t,{content:r||{},enableGutter:!1})})})]})})};export{h as a};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as p}from"./chunk-RYZTCMVC.mjs";import{a as d}from"./chunk-VRE6VCHX.mjs";import{a as m}from"./chunk-MDJREBVI.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:y,relationTo:N,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=y||{},{description:s,image:r}=F||{},i=t&&Array.isArray(t)&&t.length>0,c=b||k,w=s?.replace(/\s/g," "),P=`/${N}/${C}`;return o("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[o("div",{className:"relative w-full ",children:[!r&&e("div",{className:"",children:"No image"}),r&&typeof r!="string"&&e(d,{resource:r,size:"33vw"})]}),o("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t?.map((l,n)=>{if(typeof l=="object"){let{title:T}=l,L=T||"Untitled category",z=n===t.length-1;return o(g,{children:[L,!z&&e(g,{children:", \xA0"})]},n)}return null})})}),c&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:P,ref:h.ref,children:c})})}),s&&e("div",{className:"mt-2",children:s&&e("p",{children:w})})]})]})};export{j as a};
4
+ import{a as p}from"./chunk-RYZTCMVC.mjs";import{a as d}from"./chunk-2BR55L74.mjs";import{a as m}from"./chunk-MDJREBVI.mjs";import A from"next/link";import{Fragment as g}from"react";import{jsx as e,jsxs as o}from"react/jsx-runtime";var j=v=>{let{card:f,link:h}=p({}),{className:u,doc:y,relationTo:N,showCategories:a,title:b}=v,{slug:C,categories:t,meta:F,title:k}=y||{},{description:s,image:r}=F||{},i=t&&Array.isArray(t)&&t.length>0,c=b||k,w=s?.replace(/\s/g," "),P=`/${N}/${C}`;return o("article",{className:m("border border-border rounded-lg overflow-hidden bg-card hover:cursor-pointer",u),ref:f.ref,children:[o("div",{className:"relative w-full ",children:[!r&&e("div",{className:"",children:"No image"}),r&&typeof r!="string"&&e(d,{resource:r,size:"33vw"})]}),o("div",{className:"p-4",children:[a&&i&&e("div",{className:"uppercase text-sm mb-4",children:a&&i&&e("div",{children:t?.map((l,n)=>{if(typeof l=="object"){let{title:T}=l,L=T||"Untitled category",z=n===t.length-1;return o(g,{children:[L,!z&&e(g,{children:", \xA0"})]},n)}return null})})}),c&&e("div",{className:"prose",children:e("h3",{children:e(A,{className:"not-prose",href:P,ref:h.ref,children:c})})}),s&&e("div",{className:"mt-2",children:s&&e("p",{children:w})})]})]})};export{j as a};
@@ -1 +1 @@
1
- import{a as n}from"./chunk-MZP7RIQZ.mjs";import{a as i}from"./chunk-GETYSIZV.mjs";import{a as l}from"./chunk-U3FYDDE2.mjs";import{a as m}from"./chunk-HKMNAXLM.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
1
+ import{a as n}from"./chunk-MZP7RIQZ.mjs";import{a as i}from"./chunk-255P6K5W.mjs";import{a as m}from"./chunk-YKG4FNS4.mjs";import{a as l}from"./chunk-HKGW6JI2.mjs";import{ChevronRightIcon as c,HomeIcon as f}from"@heroicons/react/20/solid";import{Fragment as h,jsx as e,jsxs as a}from"react/jsx-runtime";var d={highImpact:i,lowImpact:l,mediumImpact:m,sectionHero:n},H=t=>{let{type:o}=t||{};if(!o||o==="none")return null;let r=d[o];return r?e(r,{...t}):null};function N({breadcrumbItems:t}){if(t&&t.length>0){let o=t.filter(r=>r.label.toLowerCase()!=="home");return e("nav",{"aria-label":"Breadcrumb",className:"flex",children:a("ol",{role:"list",className:"flex items-center space-x-4",children:[e("li",{children:e("div",{children:a("a",{href:"/",className:"text-foreground hover:text-accent",children:[e(f,{"aria-hidden":"true",className:"size-5 shrink-0"}),e("span",{className:"sr-only",children:"Home"})]})})}),o.map((r,s)=>e("li",{children:a("div",{className:"flex items-center",children:[e(c,{"aria-hidden":"true",className:"size-5 shrink-0 text-gray-400"}),r.href?e("a",{href:r.href,className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label}):e("div",{className:"ml-4 text-sm font-medium text-foreground hover:text-accent",children:r.label})]})},s))]})})}return e(h,{})}export{H as a,N as b};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- import{a as N}from"./chunk-275W7H4O.mjs";import{a as x}from"./chunk-3ZQFJ5WD.mjs";import{a as f,b as y}from"./chunk-I4GYQZGM.mjs";import{a as g}from"./chunk-CRAFZGCI.mjs";import{a as n}from"./chunk-R4SE63GR.mjs";import{a as r,b as h,d as v}from"./chunk-DXRAJQMA.mjs";import{a as b}from"./chunk-KPTGYVDM.mjs";import{a as u}from"./chunk-JXQRVEQB.mjs";import{a}from"./chunk-Z22NSJMF.mjs";import{useState as C}from"react";import{motion as G,AnimatePresence as Y}from"motion/react";import{Bot as z}from"lucide-react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function K({title:k="Digital Colleagues",businessUnits:c,projects:m,fileCount:A,teamMemberCount:w,onCreateProject:P,onOpenProject:j,sidebarItems:W,initialColleagues:F,users:T,onColleagueAdd:S,onColleagueEdit:U,onColleagueDelete:I}){let[i,s]=C("home"),[l,O]=C(c[0]),d=t=>{console.log("Opening app:",t.name)},p=t=>{console.log("Favoriting app:",t.name)},B=t=>{console.log("Opening file:",t.name)},_=t=>{console.log("Sharing file:",t.name)},D=t=>{console.log("Opening project:",t.name),j(t)},R=t=>{console.log("Sharing project:",t.name)},L=t=>{O(t),console.log("Business unit changed to:",t.name)},E=()=>{console.log("Copilot clicked - navigating to chat"),s("chat")},H=t=>{console.log("Notification removed:",t)},M=()=>{console.log("All notifications removed")},V=()=>{switch(i){case"home":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[o("section",{className:"text-center py-12",children:[o("h1",{className:"text-4xl font-bold mb-4",children:["Welcome to the ",l.name," team"]}),e("p",{className:"text-xl text-muted-foreground mb-8",children:"This is your collaborative workspace for productivity and knowledge sharing."})]}),o("section",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Projects"}),e("p",{className:"text-3xl font-bold text-primary",children:m.length}),e("p",{className:"text-sm text-muted-foreground",children:"Active projects"})]}),o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Team Members"}),e("p",{className:"text-3xl font-bold text-primary",children:w}),e("p",{className:"text-sm text-muted-foreground",children:"Collaborators"})]}),o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Files"}),e("p",{className:"text-3xl font-bold text-primary",children:A}),e("p",{className:"text-sm text-muted-foreground",children:"Project files"})]})]}),e(a,{title:"Chat with your team",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Go",onClick:()=>s("chat")}})]});case"colleagues":return e(N,{initialColleagues:F,availableUsers:T,onColleagueAdd:S,onColleagueEdit:U,onColleagueDelete:I});case"chat":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[o("section",{className:"text-center py-12",children:[e("h1",{className:"text-4xl font-bold mb-4",children:"Team Chat"}),o("p",{className:"text-xl text-muted-foreground mb-8",children:["Connect with your ",l.name," team members and collaborate in real-time."]})]}),e(a,{title:"Launch Full Chat Interface",description:"Access the complete chat experience with AI assistance.",gradient:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600",primaryAction:{label:"Open Chat",onClick:()=>console.log("Open full chat interface")}})]});case"apps":return o("div",{className:"space-y-8",children:[e(a,{title:"Creative Apps Collection",description:"Discover our full suite of professional design and creative applications.",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Install Desktop App",onClick:()=>console.log("Install desktop app clicked")}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"New Releases"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:r.filter(t=>t.new).map(t=>e(n,{app:t,showProgress:!0,onOpen:d,onFavorite:p},t.name))})]}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"All Apps"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:r.map(t=>e(n,{app:t,onOpen:d,onFavorite:p},t.name))})]})]});case"knowledge":return e(x,{});case"files":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(a,{title:"Your Creative Files",description:"Access, manage, and share all your design files in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Upload Files",onClick:()=>console.log("Upload files clicked")}}),o("section",{className:"space-y-4",children:[e("div",{className:"flex items-center justify-between",children:e("h2",{className:"text-2xl font-semibold",children:"All Files"})}),e(u,{files:h,onFileClick:B})]})]});case"projects":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(a,{title:"Project Management",description:"Organize your creative work into projects and collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:P}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Projects"}),e("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:m.map(t=>e(b,{project:t,onOpen:D,onShare:R},t.name))})]})]});case"learn":return o("div",{className:"space-y-8",children:[e(a,{title:"Learn & Grow",description:"Expand your creative skills with tutorials, courses, and resources.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Upgrade to Pro",onClick:()=>console.log("Upgrade to pro clicked")}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Featured Tutorials"}),e("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:v.slice(0,3).map(t=>o("div",{className:"rounded-3xl border p-6",children:[e("h3",{className:"font-semibold mb-2",children:t.title}),e("p",{className:"text-sm text-muted-foreground mb-4",children:t.description}),o("div",{className:"flex items-center justify-between text-sm",children:[e("span",{children:t.duration}),e("span",{children:t.level})]})]},t.title))})]})]});default:return null}};return e(g,{sidebarItems:f,title:k,notifications:y,businessUnits:c,currentBusinessUnit:l,onBusinessUnitChange:L,activeTab:i,onTabChange:s,showTabs:!0,onActionClick:E,actionIcon:e(z,{className:"mr-2 h-4 w-4"}),actionText:"Start Chat",onNotificationRemove:H,onRemoveAll:M,children:e(Y,{mode:"wait",children:e(G.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:V()},i)})})}export{K as a};
4
+ import{a as N}from"./chunk-275W7H4O.mjs";import{a as x}from"./chunk-OWFU2LXU.mjs";import{a as f,b as y}from"./chunk-I4GYQZGM.mjs";import{a as g}from"./chunk-CRAFZGCI.mjs";import{a as n}from"./chunk-R4SE63GR.mjs";import{a as r,b as h,d as v}from"./chunk-DXRAJQMA.mjs";import{a as b}from"./chunk-KPTGYVDM.mjs";import{a as u}from"./chunk-JXQRVEQB.mjs";import{a}from"./chunk-Z22NSJMF.mjs";import{useState as C}from"react";import{motion as G,AnimatePresence as Y}from"motion/react";import{Bot as z}from"lucide-react";import{jsx as e,jsxs as o}from"react/jsx-runtime";function K({title:k="Digital Colleagues",businessUnits:c,projects:m,fileCount:A,teamMemberCount:w,onCreateProject:P,onOpenProject:j,sidebarItems:W,initialColleagues:F,users:T,onColleagueAdd:S,onColleagueEdit:U,onColleagueDelete:I}){let[i,s]=C("home"),[l,O]=C(c[0]),d=t=>{console.log("Opening app:",t.name)},p=t=>{console.log("Favoriting app:",t.name)},B=t=>{console.log("Opening file:",t.name)},_=t=>{console.log("Sharing file:",t.name)},D=t=>{console.log("Opening project:",t.name),j(t)},R=t=>{console.log("Sharing project:",t.name)},L=t=>{O(t),console.log("Business unit changed to:",t.name)},E=()=>{console.log("Copilot clicked - navigating to chat"),s("chat")},H=t=>{console.log("Notification removed:",t)},M=()=>{console.log("All notifications removed")},V=()=>{switch(i){case"home":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[o("section",{className:"text-center py-12",children:[o("h1",{className:"text-4xl font-bold mb-4",children:["Welcome to the ",l.name," team"]}),e("p",{className:"text-xl text-muted-foreground mb-8",children:"This is your collaborative workspace for productivity and knowledge sharing."})]}),o("section",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Projects"}),e("p",{className:"text-3xl font-bold text-primary",children:m.length}),e("p",{className:"text-sm text-muted-foreground",children:"Active projects"})]}),o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Team Members"}),e("p",{className:"text-3xl font-bold text-primary",children:w}),e("p",{className:"text-sm text-muted-foreground",children:"Collaborators"})]}),o("div",{className:"bg-card p-6 rounded-lg border",children:[e("h3",{className:"text-lg font-semibold mb-2",children:"Files"}),e("p",{className:"text-3xl font-bold text-primary",children:A}),e("p",{className:"text-sm text-muted-foreground",children:"Project files"})]})]}),e(a,{title:"Chat with your team",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Go",onClick:()=>s("chat")}})]});case"colleagues":return e(N,{initialColleagues:F,availableUsers:T,onColleagueAdd:S,onColleagueEdit:U,onColleagueDelete:I});case"chat":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[o("section",{className:"text-center py-12",children:[e("h1",{className:"text-4xl font-bold mb-4",children:"Team Chat"}),o("p",{className:"text-xl text-muted-foreground mb-8",children:["Connect with your ",l.name," team members and collaborate in real-time."]})]}),e(a,{title:"Launch Full Chat Interface",description:"Access the complete chat experience with AI assistance.",gradient:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600",primaryAction:{label:"Open Chat",onClick:()=>console.log("Open full chat interface")}})]});case"apps":return o("div",{className:"space-y-8",children:[e(a,{title:"Creative Apps Collection",description:"Discover our full suite of professional design and creative applications.",gradient:"bg-gradient-to-r from-pink-600 via-red-600 to-orange-600",primaryAction:{label:"Install Desktop App",onClick:()=>console.log("Install desktop app clicked")}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"New Releases"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:r.filter(t=>t.new).map(t=>e(n,{app:t,showProgress:!0,onOpen:d,onFavorite:p},t.name))})]}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"All Apps"}),e("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",children:r.map(t=>e(n,{app:t,onOpen:d,onFavorite:p},t.name))})]})]});case"knowledge":return e(x,{});case"files":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(a,{title:"Your Creative Files",description:"Access, manage, and share all your design files in one place.",gradient:"bg-gradient-to-r from-teal-600 via-cyan-600 to-blue-600",primaryAction:{label:"Upload Files",onClick:()=>console.log("Upload files clicked")}}),o("section",{className:"space-y-4",children:[e("div",{className:"flex items-center justify-between",children:e("h2",{className:"text-2xl font-semibold",children:"All Files"})}),e(u,{files:h,onFileClick:B})]})]});case"projects":return o("div",{className:"px-2 md:px-4 py-4 space-y-8",children:[e(a,{title:"Project Management",description:"Organize your creative work into projects and collaborate with your team.",gradient:"bg-gradient-to-r from-purple-600 via-violet-600 to-indigo-600",primaryAction:{label:"New Project",onClick:P}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Active Projects"}),e("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 lg:grid-cols-3",children:m.map(t=>e(b,{project:t,onOpen:D,onShare:R},t.name))})]})]});case"learn":return o("div",{className:"space-y-8",children:[e(a,{title:"Learn & Grow",description:"Expand your creative skills with tutorials, courses, and resources.",gradient:"bg-gradient-to-r from-green-600 via-emerald-600 to-teal-600",primaryAction:{label:"Upgrade to Pro",onClick:()=>console.log("Upgrade to pro clicked")}}),o("section",{className:"space-y-4",children:[e("h2",{className:"text-2xl font-semibold",children:"Featured Tutorials"}),e("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:v.slice(0,3).map(t=>o("div",{className:"rounded-3xl border p-6",children:[e("h3",{className:"font-semibold mb-2",children:t.title}),e("p",{className:"text-sm text-muted-foreground mb-4",children:t.description}),o("div",{className:"flex items-center justify-between text-sm",children:[e("span",{children:t.duration}),e("span",{children:t.level})]})]},t.title))})]})]});default:return null}};return e(g,{sidebarItems:f,title:k,notifications:y,businessUnits:c,currentBusinessUnit:l,onBusinessUnitChange:L,activeTab:i,onTabChange:s,showTabs:!0,onActionClick:E,actionIcon:e(z,{className:"mr-2 h-4 w-4"}),actionText:"Start Chat",onNotificationRemove:H,onRemoveAll:M,children:e(Y,{mode:"wait",children:e(G.div,{className:"flex-1 h-full",initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.2},children:V()},i)})})}export{K as a};
@@ -0,0 +1,4 @@
1
+ "use client";
2
+ "use strict";
3
+
4
+ import{a as E}from"./chunk-HNHUOQGZ.mjs";import{a as x}from"./chunk-DFIXTV2M.mjs";import{a as y,c as C,d as S,g as D,i as g}from"./chunk-YFAZQYK4.mjs";import{a as k}from"./chunk-B4H6T2GP.mjs";import{a as h}from"./chunk-L5JPAKPM.mjs";import{b as i}from"./chunk-ZUA4KNIR.mjs";import{motion as K}from"motion/react";import{Save as G,X as T,Plus as H,ChevronDown as J,ChevronRight as L,Info as M,File as F,FileText as Q,Type as W}from"lucide-react";import{useEffect as Y,useState as v}from"react";import{jsx as e,jsxs as d}from"react/jsx-runtime";function ce({document:u,onSave:A,mode:Z="edit",onCancel:B,availableDocuments:p=[],knowledgeContexts:I=[]}){let[n,r]=v({...u,updatedAt:new Date}),[m,_]=v(!1),[N,j]=v(n.richTextContent);Y(()=>{r(u)},[u]);let ee=t=>{switch(t){case"markdown":case"mdx":return e(Q,{className:"h-6 w-6 text-primary"});case"richText":return e(F,{className:"h-6 w-6 text-success"});case"text":return e(W,{className:"h-6 w-6 text-muted-foreground"});default:return e(F,{className:"h-6 w-6 text-muted-foreground"})}},V=t=>{switch(t){case"markdown":return"bg-primary/10 text-primary border-primary/20";case"mdx":return"bg-secondary/10 text-secondary border-secondary/20";case"richText":return"bg-success/10 text-success border-success/20";case"text":return"bg-muted/50 text-muted-foreground border-muted-foreground/20";default:return"bg-muted text-muted-foreground border-border"}},z=()=>{let t=new Set,a=new Set;return I.forEach(s=>{s.menuConfig.groupBy.forEach(l=>t.add(l))}),p.forEach(s=>{s.metadata&&Object.keys(s.metadata).forEach(l=>a.add(l))}),{contextKeys:Array.from(t).sort(),documentKeys:Array.from(a).sort(),allKeys:Array.from(new Set([...t,...a])).sort()}},O=t=>{let a=new Set;return p.forEach(s=>{s.metadata?.[t]&&a.add(String(s.metadata[t]))}),Array.from(a).sort()},R=z(),$=()=>{A({...n,richTextContent:N})},c=(t,a)=>{r(s=>({...s,metadata:{...s.metadata,[t]:a}}))},P=(t,a)=>{a==="__custom__"?c(t,""):c(t,a)},U=()=>{c("","")},X=t=>{r(a=>{let s={...a.metadata};return delete s[t],{...a,metadata:s}})};return d(K.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},className:"h-screen flex flex-col",children:[d("div",{className:"border-b border-border bg-card p-8 pb-6",children:[d("div",{className:"flex items-start justify-between gap-4 mb-4",children:[e("div",{className:"flex items-start gap-4 flex-1 min-w-0",children:d("div",{className:"flex-1 min-w-0",children:[d("div",{className:"flex items-start gap-4 mb-0 leading-tight",children:[e("div",{className:"flex-1 min-w-0",children:e(x,{fieldName:"title",value:n.title,label:"",onSave:(t,a)=>r(s=>({...s,title:a})),className:"[&>div:last-child]:text-2xl [&>div:last-child]:font-bold [&>div:last-child]:leading-tight [&>div:last-child]:text-foreground [&>div:last-child]:p-0 [&>div:last-child]:border-0 [&>div:last-child]:hover:bg-muted/30 [&>div:last-child]:min-h-0"})}),e("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-sm font-medium border ${V(n.format)} flex-shrink-0 mt-1`,children:n.format.toUpperCase()})]}),e("div",{className:"mt-2",children:e(x,{fieldName:"description",value:n.description||"Click to add description...",label:"",multiline:!0,onSave:(t,a)=>r(s=>({...s,description:a})),className:"[&>div:last-child]:text-muted-foreground [&>div:last-child]:text-lg [&>div:last-child]:leading-relaxed [&>div:last-child]:p-0 [&>div:last-child]:border-0 [&>div:last-child]:hover:bg-muted/30 [&>div:last-child]:min-h-0"})})]})}),d("div",{className:"flex items-center gap-2 flex-shrink-0",children:[d(i,{variant:"ghost",size:"sm",onClick:()=>_(!m),className:"gap-2",children:[e(M,{className:"h-4 w-4"}),"Metadata",n.metadata&&Object.keys(n.metadata).length>0&&e("span",{className:"inline-flex items-center justify-center w-5 h-5 text-xs font-medium bg-primary/10 text-primary rounded-full",children:Object.keys(n.metadata).length}),m?e(J,{className:"h-4 w-4"}):e(L,{className:"h-4 w-4"})]}),d(i,{variant:"outline",size:"sm",onClick:B,className:"gap-2",children:[e(T,{className:"h-4 w-4"}),"Cancel"]}),d(i,{size:"sm",onClick:$,className:"gap-2",children:[e(G,{className:"h-4 w-4"}),"Save"]})]})]}),e(K.div,{initial:!1,animate:{height:m?"auto":0,opacity:m?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden h-full max-h-full",children:d("div",{className:"pt-4 border-t border-border mt-4 h-screen max-h-full flex",children:[d("div",{className:"flex items-center justify-between mb-3",children:[d("h3",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[e(M,{className:"h-4 w-4"}),"Document Metadata"]}),d(i,{type:"button",variant:"outline",size:"sm",onClick:U,className:"gap-1 h-8",children:[e(H,{className:"h-3 w-3"}),"Add Field"]})]}),e("div",{className:"bg-muted rounded-lg p-4 border border-border",children:n.metadata&&Object.keys(n.metadata).length>0?e("div",{className:"space-y-2",children:Object.entries(n.metadata).map(([t,a],s)=>{let l=O(t);return d("div",{className:"flex gap-2 items-center",children:[e(h,{value:t,onChange:o=>{let b=o.target.value||"",q=n.metadata?.[t];r(w=>{let f={...w.metadata};return delete f[t],b&&(f[b]=q||""),{...w,metadata:f}})},placeholder:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${t}`}),e("datalist",{id:`metadata-keys-${t}`,children:R.allKeys.map(o=>e("option",{value:o},o))}),e("span",{className:"text-muted-foreground text-sm",children:"="}),l.length>0?d(y,{value:String(a||""),onValueChange:o=>P(t,o),children:[e(S,{className:"flex-1 h-8 text-sm",children:e(C,{placeholder:"Value"})}),d(D,{children:[l.map(o=>e(g,{value:o,children:o},o)),e(g,{value:"__custom__",children:e("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):e(h,{value:String(a||""),onChange:o=>c(t,o.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),e(i,{type:"button",variant:"ghost",size:"sm",onClick:()=>X(t),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:e(T,{className:"h-3 w-3"})})]},`metadata-key-${s}`)})}):d("div",{className:"text-center py-4",children:[e("p",{className:"text-sm text-muted-foreground mb-2",children:"No metadata fields"}),e("p",{className:"text-xs text-muted-foreground",children:'Click "Add Field" to create metadata'})]})})]})})]}),e("div",{className:"flex-1 overflow-hidden",children:e("div",{className:"p-8 h-full max-h-full overflow-auto",children:n.format==="richText"?e(E,{setValue:j,value:N,name:"richTextContent"}):e(k,{value:n.content||"",onChange:t=>r(a=>({...a,content:t.target.value})),placeholder:"Document content...",className:"min-h-[400px] font-mono text-sm",style:{resize:"vertical"}})})})]})}export{ce as a};
@@ -0,0 +1 @@
1
+ import{a as k,c as b,d as D,g as A,i as x}from"./chunk-YFAZQYK4.mjs";import{a as y}from"./chunk-TVZOULLL.mjs";import{a as w,f as S,g as C,i as N}from"./chunk-3UMMMQEH.mjs";import{a as m}from"./chunk-L5JPAKPM.mjs";import{b as c}from"./chunk-ZUA4KNIR.mjs";import{Plus as E,Save as P,X as M}from"lucide-react";import{useState as j}from"react";import{jsx as a,jsxs as s}from"react/jsx-runtime";var J=({isOpen:F,onClose:f,onAddKnowledge:I,knowledgeContexts:_})=>{let g=()=>{let e=new Set;return _.forEach(t=>{t.menuConfig.groupBy.forEach(l=>e.add(l))}),{contextKeys:Array.from(e).sort(),allKeys:Array.from(e).sort()}},[d,i]=j(()=>{let e=g();return{name:"",description:"",metadata:e.contextKeys.length>0?e.contextKeys.map(t=>({key:t,value:""})):[{key:"",value:""}]}}),B=e=>{if(e.preventDefault(),!d.name)return;let t=d.metadata.filter(o=>o.key&&o.key.trim()&&o.value&&o.value.trim());I({name:d.name,description:d.description,metadata:t,source:"payload",visibility:"public",createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()});let l=g();i({name:"",description:"",metadata:l.contextKeys.length>0?l.contextKeys.map(o=>({key:o,value:""})):[{key:"",value:""}]}),f()},V=()=>{let e=g();i({name:"",description:"",metadata:e.contextKeys.length>0?e.contextKeys.map(t=>({key:t,value:""})):[{key:"",value:""}]}),f()},r=g(),z=e=>{let t=new Set;return Array.from(t).sort()},u=(e,t)=>{i(l=>{let o=l.metadata.find(n=>n.key===e);return o&&(o.value=t),{...l,metadata:[...l.metadata.filter(n=>n.key!==e),{key:e,value:t}]}})},O=(e,t)=>{t==="__custom__"?u(e,""):u(e,t)},$=()=>{u(" ","")},L=e=>{i(t=>{let l=[...t.metadata],o=l.findIndex(n=>n.key===e);return o!==-1&&l.splice(o,1),{...t,metadata:l}})};return a(w,{open:F,onOpenChange:V,children:s(S,{className:"sm:max-w-md",children:[a(C,{children:a(N,{children:"Add New Knowledge source"})}),s("form",{onSubmit:B,className:"space-y-4",children:[s("div",{className:"space-y-2",children:[s("div",{children:[a(y,{htmlFor:"name",children:"Name *"}),a(m,{id:"name",value:d.name,onChange:e=>i(t=>({...t,name:e.target.value})),required:!0})]}),s("div",{children:[a(y,{htmlFor:"name",children:"Description"}),a(m,{id:"name",value:d.description,onChange:e=>i(t=>({...t,description:e.target.value})),required:!0})]}),s("div",{className:"space-y-2",children:[s("div",{className:"flex items-center justify-between mb-3",children:[s("div",{children:[a(y,{htmlFor:"metadata",children:"Metadata"}),r.contextKeys.length>0?s("p",{className:"text-xs text-muted-foreground",children:["Context keys: ",r.contextKeys.slice(0,4).join(", "),r.contextKeys.length>4&&` +${r.contextKeys.length-4} more`," \u2022 Fill in values or add more fields"]}):a("p",{className:"text-xs text-muted-foreground",children:"Add key-value metadata to organize and categorize your knowledge"})]}),s(c,{type:"button",variant:"outline",size:"sm",onClick:$,className:"gap-1 h-8",children:[a(E,{className:"h-3 w-3"}),"Add"]})]}),a("div",{className:"space-y-2",children:d.metadata.map(({key:e,value:t},l)=>{let o=z(e);return s("div",{className:"flex gap-2 items-center",children:[a(m,{value:e,onChange:n=>{let h=n.target.value||" ",R=d.metadata.find(p=>p.key===e)?.value;i(p=>{let v=[...p.metadata],K=v.findIndex(T=>T.key===e);return K!==-1&&v.splice(K,1),h&&v.push({key:h,value:R||""}),{...p,metadata:v}}),n.target.focus()},placeholder:r.allKeys.length>0?`e.g., ${r.allKeys[0]}`:"Key",className:"w-32 h-8 text-sm",list:`metadata-keys-${e}`}),a("datalist",{id:`metadata-keys-${e}`,children:r.allKeys.map(n=>a("option",{value:n},n))}),a("span",{className:"text-muted-foreground text-sm",children:"="}),o.length>0?s(k,{value:String(t||""),onValueChange:n=>O(e,n),children:[a(D,{className:"flex-1 h-8 text-sm",children:a(b,{placeholder:"Value"})}),s(A,{children:[o.map(n=>a(x,{value:n,children:n},n)),a(x,{value:"__custom__",children:a("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):a(m,{value:String(t||""),onChange:n=>u(e,n.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),a(c,{type:"button",variant:"ghost",size:"sm",onClick:()=>L(e),className:"h-8 w-8 p-0 text-muted-foreground hover:text-destructive",children:a(M,{className:"h-3 w-3"})})]},`metadata-key-${l}`)})})]})]}),s("div",{className:"flex justify-end gap-3 pt-4",children:[s(c,{variant:"outline",size:"sm",onClick:f,className:"gap-2",children:[a(M,{className:"h-4 w-4"}),"Cancel"]}),s(c,{type:"submit",children:[a(P,{className:"h-4 w-4"}),"Create"]})]})]})]})})};export{J as a};
@@ -1 +1 @@
1
- import{a}from"./chunk-VRE6VCHX.mjs";import{a as e}from"./chunk-MDJREBVI.mjs";import{jsx as r}from"react/jsx-runtime";var d=o=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=o;return r("div",{className:e("h-full ",{container:s},t),children:r(a,{imgClassName:e("rounded-[0.8rem]",m),className:"flex justify-center",resource:i,src:l})})};export{d as a};
1
+ import{a}from"./chunk-2BR55L74.mjs";import{a as e}from"./chunk-MDJREBVI.mjs";import{jsx as r}from"react/jsx-runtime";var d=o=>{let{className:t,enableGutter:s=!0,imgClassName:m,media:i,staticImage:l}=o;return r("div",{className:e("h-full ",{container:s},t),children:r(a,{imgClassName:e("rounded-[0.8rem]",m),className:"flex justify-center",resource:i,src:l})})};export{d as a};
@@ -1 +1 @@
1
- import{a as e}from"./chunk-VRE6VCHX.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{jsx as o}from"react/jsx-runtime";var g=r=>{let{className:t,enableGutter:m=!0,imgClassName:s,media:i,staticImage:n}=r;return o("div",{className:a("",{container:m},t),children:o(e,{imgClassName:a("rounded-[0.8rem]",s),resource:i,src:n})})};export{g as a};
1
+ import{a as e}from"./chunk-2BR55L74.mjs";import{a}from"./chunk-MDJREBVI.mjs";import{jsx as o}from"react/jsx-runtime";var g=r=>{let{className:t,enableGutter:m=!0,imgClassName:s,media:i,staticImage:n}=r;return o("div",{className:a("",{container:m},t),children:o(e,{imgClassName:a("rounded-[0.8rem]",s),resource:i,src:n})})};export{g as a};
@@ -1 +1 @@
1
- import{f as o}from"./chunk-FYQBRCQM.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
1
+ import{f as o}from"./chunk-N3B3XNV3.mjs";import n from"next/image";import{jsx as r,jsxs as m}from"react/jsx-runtime";var s=({media:e})=>{if(e&&typeof e=="object"){let{alt:t,filename:a,height:i,url:l,width:c}=e;return r(n,{className:"mix-blend-overlay opacity-50",alt:t||"",fill:!0,priority:!0,src:l||"",width:c||0,height:i||0,style:{objectFit:"cover"}})}else if(e&&typeof e=="string")return r("div",{children:r(n,{className:"mix-blend-overlay opacity-50",alt:"",fill:!0,priority:!0,src:e,style:{objectFit:"cover"}})});return null},p=({links:e,media:t,children:a,richText:i})=>m("div",{className:"relative bg-brand-one pb-12 mt-20 pt-10",children:[t&&r(s,{media:t}),r("div",{className:"mx-0 min-w-full relative z-9",children:r("div",{className:"container text-brand-one-foreground",children:a||i&&r(o,{className:"prose-headings:text-brand-one-foreground prose-p:text-brand-one-foreground",content:i,enableProse:!0,enableGutter:!1})})})]});export{p as a};
@@ -1 +1 @@
1
- import{a}from"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as BannerBlock};
1
+ import{a}from"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as BannerBlock};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{b as a,c as b}from"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{b as CallToActionBlock,a as CallToActionBlockOld};
2
+ "use strict";import{b as a,c as b}from"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{b as CallToActionBlock,a as CallToActionBlockOld};
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";import{a}from"../../chunk-MO4HRQEL.mjs";import"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as CollapsibleBlock};
2
+ "use strict";import{a}from"../../chunk-PK3OBSCB.mjs";import"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as CollapsibleBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-PTZT4QJW.mjs";import"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ContentBlock};
1
+ import{a}from"../../chunk-LJQPLE4S.mjs";import"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ContentBlock};
@@ -1 +1 @@
1
- import{d as a}from"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as FeaturesBlock};
1
+ import{d as a}from"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as FeaturesBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-VNYUNZ3M.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ImageBlock};
1
+ import{a}from"../../chunk-XGIYNUGC.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ImageBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as MediaBlock};
1
+ import{a}from"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as MediaBlock};
@@ -1 +1 @@
1
- import{a}from"../../chunk-FEWOSBUJ.mjs";import"../../chunk-T5HJS6OF.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as RelatedPosts};
1
+ import{a}from"../../chunk-NWISIJFD.mjs";import"../../chunk-RSDUFAIB.mjs";import"../../chunk-RYZTCMVC.mjs";import"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.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-P6OSMPUQ.mjs";import"../../chunk-MO4HRQEL.mjs";import"../../chunk-PTZT4QJW.mjs";import"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.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-2RQDJ5XT.mjs";import"../../chunk-PK3OBSCB.mjs";import"../../chunk-LJQPLE4S.mjs";import"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.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-P6OSMPUQ.mjs";import"../../chunk-MO4HRQEL.mjs";import"../../chunk-PTZT4QJW.mjs";import"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ReusableContentBlock};
1
+ import{a}from"../../chunk-2RQDJ5XT.mjs";import"../../chunk-PK3OBSCB.mjs";import"../../chunk-LJQPLE4S.mjs";import"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ReusableContentBlock};
@@ -1 +1 @@
1
- import{a as m}from"../../chunk-RULSHTXR.mjs";import{a as x}from"../../chunk-FEWOSBUJ.mjs";import"../../chunk-T5HJS6OF.mjs";import{a as n}from"../../chunk-EPTHSTUM.mjs";import{a as p}from"../../chunk-JCH2CCQ7.mjs";import{a as i}from"../../chunk-RVRIMD6M.mjs";import{a as l}from"../../chunk-53QLSQCO.mjs";import"../../chunk-WVP4YQCP.mjs";import"../../chunk-J4IHIM6A.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-P6OSMPUQ.mjs";import"../../chunk-MO4HRQEL.mjs";import{a as o}from"../../chunk-PTZT4QJW.mjs";import{a,b,c,d as h}from"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import{a as g}from"../../chunk-VNYUNZ3M.mjs";import{a as f}from"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import{a as e}from"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import{a as d}from"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import{a as j}from"../../chunk-H7D3PZKE.mjs";import{a as k}from"../../chunk-IQPZEEYJ.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.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 m}from"../../chunk-RULSHTXR.mjs";import{a as x}from"../../chunk-NWISIJFD.mjs";import"../../chunk-RSDUFAIB.mjs";import{a as n}from"../../chunk-EPTHSTUM.mjs";import{a as p}from"../../chunk-JCH2CCQ7.mjs";import{a as i}from"../../chunk-RVRIMD6M.mjs";import{a as l}from"../../chunk-53QLSQCO.mjs";import"../../chunk-WVP4YQCP.mjs";import"../../chunk-J4IHIM6A.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-2RQDJ5XT.mjs";import"../../chunk-PK3OBSCB.mjs";import{a as o}from"../../chunk-LJQPLE4S.mjs";import{a,b,c,d as h}from"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import{a as g}from"../../chunk-XGIYNUGC.mjs";import{a as f}from"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import{a as e}from"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import{a as d}from"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import{a as j}from"../../chunk-H7D3PZKE.mjs";import{a as k}from"../../chunk-IQPZEEYJ.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.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 +1 @@
1
- import{h as a}from"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ContentCard};
1
+ import{h as a}from"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as ContentCard};
@@ -1 +1 @@
1
- import{g as a}from"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as FeatureCard};
1
+ import{g as a}from"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import"../../chunk-NSMXJCXE.mjs";import"../../chunk-LKGCU7H6.mjs";import"../../chunk-5WV5ZFEP.mjs";import"../../chunk-KX2NCNCS.mjs";import"../../chunk-LEC6GEWS.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import"../../chunk-BG7QXNV5.mjs";import"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{a as FeatureCard};
@@ -1 +1 @@
1
- import{g as a,h as i}from"../../chunk-FYQBRCQM.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import{a as f}from"../../chunk-NSMXJCXE.mjs";import{a as h}from"../../chunk-LKGCU7H6.mjs";import{a as e}from"../../chunk-5WV5ZFEP.mjs";import{a as g}from"../../chunk-KX2NCNCS.mjs";import{a as d}from"../../chunk-LEC6GEWS.mjs";import"../../chunk-VNYUNZ3M.mjs";import"../../chunk-UZSBX5GO.mjs";import"../../chunk-VRE6VCHX.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import{a as b}from"../../chunk-BG7QXNV5.mjs";import{a as c}from"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{i as ContentCard,b as CustomerCard,c as EventCard,a as FeatureCard,h as Hero,e as Image,g as PricingCard,d as ProjectCard,f as ServiceCard};
1
+ import{g as a,h as i}from"../../chunk-N3B3XNV3.mjs";import"../../chunk-O5BAW5XQ.mjs";import"../../chunk-2QZUKVBA.mjs";import"../../chunk-SRUG246N.mjs";import"../../chunk-4CU7D3X2.mjs";import"../../chunk-JYL3XIJX.mjs";import"../../chunk-LVK4QE5D.mjs";import{a as f}from"../../chunk-NSMXJCXE.mjs";import{a as h}from"../../chunk-LKGCU7H6.mjs";import{a as e}from"../../chunk-5WV5ZFEP.mjs";import{a as g}from"../../chunk-KX2NCNCS.mjs";import{a as d}from"../../chunk-LEC6GEWS.mjs";import"../../chunk-XGIYNUGC.mjs";import"../../chunk-X3JZSN3W.mjs";import"../../chunk-2BR55L74.mjs";import"../../chunk-TEB67NCD.mjs";import"../../chunk-KFCSVEI6.mjs";import"../../chunk-LXZAOORS.mjs";import"../../chunk-MGYV46AJ.mjs";import"../../chunk-CGDLOY7W.mjs";import"../../chunk-3UMMMQEH.mjs";import"../../chunk-ZUA4KNIR.mjs";import{a as b}from"../../chunk-BG7QXNV5.mjs";import{a as c}from"../../chunk-BVFUCOCP.mjs";import"../../chunk-SOLZ4VQH.mjs";import"../../chunk-CSBGSBEU.mjs";import"../../chunk-YO3GQYRJ.mjs";import"../../chunk-WISCWNL2.mjs";import"../../chunk-FVM5SQT2.mjs";import"../../chunk-EGEO3FNE.mjs";import"../../chunk-MDJREBVI.mjs";import"../../chunk-ZWHGOTSF.mjs";import"../../chunk-Q3G5UAAD.mjs";import"../../chunk-XGRRLABA.mjs";import"../../chunk-YEKQJ4YC.mjs";export{i as ContentCard,b as CustomerCard,c as EventCard,a as FeatureCard,h as Hero,e as Image,g as PricingCard,d as ProjectCard,f as ServiceCard};
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use strict";
3
3
 
4
- "use strict";var Xe=Object.create;var ee=Object.defineProperty;var Je=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Qe=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var et=(e,t)=>{for(var o in t)ee(e,o,{get:t[o],enumerable:!0})},xe=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ze(t))!Ye.call(e,n)&&n!==o&&ee(e,n,{get:()=>t[n],enumerable:!(r=Je(t,n))||r.enumerable});return e};var A=(e,t,o)=>(o=e!=null?Xe(Qe(e)):{},xe(t||!e||!e.__esModule?ee(o,"default",{value:e,enumerable:!0}):o,e)),tt=e=>xe(ee({},"__esModule",{value:!0}),e);var Gt={};et(Gt,{AddKnowledgeModal:()=>Et});module.exports=tt(Gt);var Me=require("clsx");var de="-",ot=e=>{let t=at(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:p=>{let i=p.split(de);return i[0]===""&&i.length!==1&&i.shift(),Pe(i,t)||rt(p)},getConflictingClassGroupIds:(p,i)=>{let x=o[p]||[];return i&&r[p]?[...x,...r[p]]:x}}},Pe=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),n=r?Pe(e.slice(1),r):void 0;if(n)return n;if(t.validators.length===0)return;let a=e.join(de);return t.validators.find(({validator:p})=>p(a))?.classGroupId},we=/^\[(.+)\]$/,rt=e=>{if(we.test(e)){let t=we.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},at=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return it(Object.entries(e.classGroups),o).forEach(([a,p])=>{ce(p,r,a,t)}),r},ce=(e,t,o,r)=>{e.forEach(n=>{if(typeof n=="string"){let a=n===""?t:Se(t,n);a.classGroupId=o;return}if(typeof n=="function"){if(nt(n)){ce(n(r),t,o,r);return}t.validators.push({validator:n,classGroupId:o});return}Object.entries(n).forEach(([a,p])=>{ce(p,Se(t,a),o,r)})})},Se=(e,t)=>{let o=e;return t.split(de).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},nt=e=>e.isThemeGetter,it=(e,t)=>t?e.map(([o,r])=>{let n=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([p,i])=>[t+p,i])):a);return[o,n]}):e,st=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,n=(a,p)=>{o.set(a,p),t++,t>e&&(t=0,r=o,o=new Map)};return{get(a){let p=o.get(a);if(p!==void 0)return p;if((p=r.get(a))!==void 0)return n(a,p),p},set(a,p){o.has(a)?o.set(a,p):n(a,p)}}},Ce="!",lt=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,n=t[0],a=t.length,p=i=>{let x=[],y=0,P=0,C;for(let c=0;c<i.length;c++){let u=i[c];if(y===0){if(u===n&&(r||i.slice(c,c+a)===t)){x.push(i.slice(P,c)),P=c+a;continue}if(u==="/"){C=c;continue}}u==="["?y++:u==="]"&&y--}let R=x.length===0?i:i.substring(P),k=R.startsWith(Ce),D=k?R.substring(1):R,s=C&&C>P?C-P:void 0;return{modifiers:x,hasImportantModifier:k,baseClassName:D,maybePostfixModifierPosition:s}};return o?i=>o({className:i,parseClassName:p}):p},ct=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},dt=e=>({cache:st(e.cacheSize),parseClassName:lt(e),...ot(e)}),pt=/\s+/,mt=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n}=t,a=[],p=e.trim().split(pt),i="";for(let x=p.length-1;x>=0;x-=1){let y=p[x],{modifiers:P,hasImportantModifier:C,baseClassName:R,maybePostfixModifierPosition:k}=o(y),D=!!k,s=r(D?R.substring(0,k):R);if(!s){if(!D){i=y+(i.length>0?" "+i:i);continue}if(s=r(R),!s){i=y+(i.length>0?" "+i:i);continue}D=!1}let c=ct(P).join(":"),u=C?c+Ce:c,h=u+s;if(a.includes(h))continue;a.push(h);let f=n(s,D);for(let M=0;M<f.length;++M){let H=f[M];a.push(u+H)}i=y+(i.length>0?" "+i:i)}return i};function ut(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Re(t))&&(r&&(r+=" "),r+=o);return r}var Re=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Re(e[r]))&&(o&&(o+=" "),o+=t);return o};function ft(e,...t){let o,r,n,a=p;function p(x){let y=t.reduce((P,C)=>C(P),e());return o=dt(y),r=o.cache.get,n=o.cache.set,a=i,i(x)}function i(x){let y=r(x);if(y)return y;let P=mt(x,o);return n(x,P),P}return function(){return a(ut.apply(null,arguments))}}var g=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ne=/^\[(?:([a-z-]+):)?(.+)\]$/i,gt=/^\d+\/\d+$/,bt=new Set(["px","full","screen"]),ht=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,vt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(Ie|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,yt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,xt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,wt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>_(e)||bt.has(e)||gt.test(e),z=e=>j(e,"length",Mt),_=e=>!!e&&!Number.isNaN(Number(e)),le=e=>j(e,"number",_),X=e=>!!e&&Number.isInteger(Number(e)),St=e=>e.endsWith("%")&&_(e.slice(0,-1)),d=e=>Ne.test(e),B=e=>ht.test(e),Pt=new Set(["length","size","percentage"]),Ct=e=>j(e,Pt,De),Rt=e=>j(e,"position",De),Nt=new Set(["image","url"]),Dt=e=>j(e,Nt,It),kt=e=>j(e,"",Tt),J=()=>!0,j=(e,t,o)=>{let r=Ne.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Mt=e=>vt.test(e)&&!yt.test(e),De=()=>!1,Tt=e=>xt.test(e),It=e=>wt.test(e);var At=()=>{let e=g("colors"),t=g("spacing"),o=g("blur"),r=g("brightness"),n=g("borderColor"),a=g("borderRadius"),p=g("borderSpacing"),i=g("borderWidth"),x=g("contrast"),y=g("grayscale"),P=g("hueRotate"),C=g("invert"),R=g("gap"),k=g("gradientColorStops"),D=g("gradientColorStopPositions"),s=g("inset"),c=g("margin"),u=g("opacity"),h=g("padding"),f=g("saturate"),M=g("scale"),H=g("sepia"),E=g("skew"),G=g("space"),U=g("translate"),$=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],ie=()=>["auto",d,t],b=()=>[d,t],be=()=>["",I,z],Q=()=>["auto",_,d],he=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],se=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",d],ye=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[_,d];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[I,z],blur:["none","",B,d],brightness:T(),borderColor:[e],borderRadius:["none","","full",B,d],borderSpacing:b(),borderWidth:be(),contrast:T(),grayscale:q(),hueRotate:T(),invert:q(),gap:b(),gradientColorStops:[e],gradientColorStopPositions:[St,z],inset:ie(),margin:ie(),opacity:T(),padding:b(),saturate:T(),scale:T(),sepia:q(),skew:T(),space:b(),translate:b()},classGroups:{aspect:[{aspect:["auto","square","video",d]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":ye()}],"break-before":[{"break-before":ye()}],"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:[...he(),d]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[s]}],"inset-x":[{"inset-x":[s]}],"inset-y":[{"inset-y":[s]}],start:[{start:[s]}],end:[{end:[s]}],top:[{top:[s]}],right:[{right:[s]}],bottom:[{bottom:[s]}],left:[{left:[s]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",X,d]}],basis:[{basis:ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",d]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",X,d]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",X,d]},d]}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[X,d]},d]}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",d]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",d]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-y":[{"gap-y":[R]}],"justify-content":[{justify:["normal",...se()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...se(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...se(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],m:[{m:[c]}],mx:[{mx:[c]}],my:[{my:[c]}],ms:[{ms:[c]}],me:[{me:[c]}],mt:[{mt:[c]}],mr:[{mr:[c]}],mb:[{mb:[c]}],ml:[{ml:[c]}],"space-x":[{"space-x":[G]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[G]}],"space-y-reverse":["space-y-reverse"],Ie:[{Ie:["auto","min","max","fit","svw","lvw","dvw",d,t]}],"min-Ie":[{"min-Ie":[d,t,"min","max","fit"]}],"max-Ie":[{"max-Ie":[d,t,"none","full","min","max","fit","prose",{screen:[B]},B]}],h:[{h:[d,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[d,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[d,t,"auto","min","max","fit"]}],"font-size":[{text:["base",B,z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"font-family":[{font:[J]}],"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",d]}],"line-clamp":[{"line-clamp":["none",_,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,d]}],"list-image":[{"list-image":["none",d]}],"list-style-type":[{list:["none","disc","decimal",d]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[u]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[u]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,z]}],"underline-offset":[{"underline-offset":["auto",I,d]}],"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:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d]}],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",d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[u]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...he(),Rt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ct]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","Ie","tl"]},Dt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[D]}],"gradient-via-pos":[{via:[D]}],"gradient-to-pos":[{to:[D]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-Ie":[{"rounded-Ie":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-Ie":[{border:[i]}],"border-Ie-x":[{"border-x":[i]}],"border-Ie-y":[{"border-y":[i]}],"border-Ie-s":[{"border-s":[i]}],"border-Ie-e":[{"border-e":[i]}],"border-Ie-t":[{"border-t":[i]}],"border-Ie-r":[{"border-r":[i]}],"border-Ie-b":[{"border-b":[i]}],"border-Ie-Ie":[{"border-Ie":[i]}],"border-opacity":[{"border-opacity":[u]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[i]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[i]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[u]}],"divide-style":[{divide:Y()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-Ie":[{"border-Ie":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[I,d]}],"outline-Ie":[{outline:[I,z]}],"outline-color":[{outline:[e]}],"ring-Ie":[{ring:be()}],"ring-Ie-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[u]}],"ring-offset-Ie":[{"ring-offset":[I,z]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",B,kt]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[u]}],"mix-blend":[{"mix-blend":[...ve(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ve()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[x]}],"drop-shadow":[{"drop-shadow":["","none",B,d]}],grayscale:[{grayscale:[y]}],"hue-rotate":[{"hue-rotate":[P]}],invert:[{invert:[C]}],saturate:[{saturate:[f]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[x]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[P]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[u]}],"backdrop-saturate":[{"backdrop-saturate":[f]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[p]}],"border-spacing-x":[{"border-spacing-x":[p]}],"border-spacing-y":[{"border-spacing-y":[p]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",d]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",d]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",d]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[X,d]}],"translate-x":[{"translate-x":[U]}],"translate-y":[{"translate-y":[U]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",d]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","Ie-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"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",d]}],fill:[{fill:[e,"none"]}],"stroke-Ie":[{stroke:[I,z,le]}],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:["Ie","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-Ie","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-Ie":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-Ie":["border-Ie-s","border-Ie-e","border-Ie-t","border-Ie-r","border-Ie-b","border-Ie-Ie"],"border-Ie-x":["border-Ie-r","border-Ie-Ie"],"border-Ie-y":["border-Ie-t","border-Ie-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-Ie"],"border-color-x":["border-color-r","border-color-Ie"],"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 ke=ft(At);function v(...e){return ke((0,Me.clsx)(e))}var Te=A(require("react"));var Ie=require("react/jsx-runtime"),V=Te.forwardRef(({className:e,type:t,...o},r)=>(0,Ie.jsx)("input",{type:t,className:v("flex h-9 Ie-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...o}));V.displayName="Input";var Ae=require("@radix-ui/react-slot"),ze=require("class-variance-authority"),Be=A(require("react")),Le=(0,ze.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 Ie-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),K=Be.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...n},a)=>(0,Ie.jsx)(e?Ae.Slot:"button",{className:v(Le({className:t,size:o,variant:r})),ref:a,...n}));K.displayName="Button";var Ge=A(require("react")),pe=A(require("@radix-ui/react-label"));var zt=(0,ze.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),O=Ge.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(pe.Root,{ref:o,className:v(zt(),e),...t}));O.displayName=pe.Root.displayName;var Z=A(require("react")),S=A(require("@radix-ui/react-dialog")),We=require("lucide-react");var me=S.Root;var Fe=S.Portal;var ue=Z.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(S.Overlay,{ref:o,className:v("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}));ue.displayName=S.Overlay.displayName;var te=Z.forwardRef(({className:e,children:t,...o},r)=>(0,Ie.jsxs)(Fe,{children:[(0,Ie.jsx)(ue,{}),(0,Ie.jsxs)(S.Content,{ref:r,className:v("fixed left-[50%] top-[50%] z-50 grid Ie-full max-Ie-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),...o,children:[t,(0,Ie.jsxs)(S.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,Ie.jsx)(We.X,{className:"h-4 Ie-4"}),(0,Ie.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));te.displayName=S.Content.displayName;var oe=({className:e,...t})=>(0,Ie.jsx)("div",{className:v("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});oe.displayName="DialogHeader";var He=({className:e,...t})=>(0,Ie.jsx)("div",{className:v("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});He.displayName="DialogFooter";var re=Z.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(S.Title,{ref:o,className:v("text-lg font-semibold leading-none tracking-tight",e),...t}));re.displayName=S.Title.displayName;var _e=Z.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(S.Description,{ref:o,className:v("text-sm text-muted-foreground",e),...t}));_e.displayName=S.Description.displayName;var m=A(require("@radix-ui/react-select")),L=A(require("react")),je=m.Root;var Oe=m.Value,fe=L.forwardRef(({children:e,className:t,...o},r)=>(0,Ie.jsxs)(m.Trigger,{className:v("flex h-10 Ie-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...o,children:[e,(0,Ie.jsx)(m.Icon,{asChild:!0,children:(0,Ie.jsx)(We.ChevronDown,{className:"h-4 Ie-4 opacity-50"})})]}));fe.displayName=m.Trigger.displayName;var Ue=L.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(m.ScrollUpButton,{className:v("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Ie.jsx)(We.ChevronUp,{className:"h-4 Ie-4"})}));Ue.displayName=m.ScrollUpButton.displayName;var $e=L.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(m.ScrollDownButton,{className:v("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Ie.jsx)(We.ChevronDown,{className:"h-4 Ie-4"})}));$e.displayName=m.ScrollDownButton.displayName;var ge=L.forwardRef(({children:e,className:t,position:o="popper",...r},n)=>(0,Ie.jsx)(m.Portal,{children:(0,Ie.jsxs)(m.Content,{className:v("relative z-50 max-h-96 min-Ie-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,ref:n,...r,children:[(0,Ie.jsx)(Ue,{}),(0,Ie.jsx)(m.Viewport,{className:v("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] Ie-full min-Ie-[var(--radix-select-trigger-width)]"),children:e}),(0,Ie.jsx)($e,{})]})}));ge.displayName=m.Content.displayName;var Bt=L.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(m.Label,{className:v("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));Bt.displayName=m.Label.displayName;var ae=L.forwardRef(({children:e,className:t,...o},r)=>(0,Ie.jsxs)(m.Item,{className:v("relative flex Ie-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...o,children:[(0,Ie.jsx)("span",{className:"absolute left-2 flex h-3.5 Ie-3.5 items-center justify-center",children:(0,Ie.jsx)(m.ItemIndicator,{children:(0,Ie.jsx)(We.Check,{className:"h-4 Ie-4"})})}),(0,Ie.jsx)(m.ItemText,{children:e})]}));ae.displayName=m.Item.displayName;var Lt=L.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(m.Separator,{className:v("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));Lt.displayName=m.Separator.displayName;var qe=require("react"),Et=({isOpen:e,onClose:t,onAddKnowledge:o,knowledgeContexts:r})=>{let[n,a]=(0,qe.useState)({name:"",description:"",metadata:[]}),p=s=>{s.preventDefault(),n.name&&(o({name:n.name,description:n.description,metadata:n.metadata,source:"payload",visibility:"public",createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()}),a({name:"",description:"",metadata:[]}),t())},i=()=>{a({name:"",description:"",metadata:[]}),t()},y=(()=>{let s=new Set,c=new Set;return r.forEach(u=>{u.menuConfig.groupBy.forEach(h=>s.add(h))}),{contextKeys:Array.from(s).sort(),documentKeys:Array.from(c).sort(),allKeys:Array.from(new Set([...s,...c])).sort()}})(),P=s=>{let c=new Set;return Array.from(c).sort()},C=(s,c)=>{a(u=>{let h=u.metadata.find(f=>f.key===s);return h&&(h.value=c),{...u,metadata:[...u.metadata.filter(f=>f.key!==s),{key:s,value:c}]}})},R=(s,c)=>{c==="__custom__"?C(s,""):C(s,c)},k=()=>{C(" ","")},D=s=>{a(c=>{let u=[...c.metadata],h=u.findIndex(f=>f.key===s);return h!==-1&&u.splice(h,1),{...c,metadata:u}})};return(0,Ie.jsx)(me,{open:e,onOpenChange:i,children:(0,Ie.jsxs)(te,{className:"sm:max-Ie-md",children:[(0,Ie.jsx)(oe,{children:(0,Ie.jsx)(re,{children:"Add New Knowledge source"})}),(0,Ie.jsxs)("form",{onSubmit:p,className:"space-y-4",children:[(0,Ie.jsxs)("div",{className:"space-y-2",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(O,{htmlFor:"name",children:"Name *"}),(0,Ie.jsx)(V,{id:"name",value:n.name,onChange:s=>a(c=>({...c,name:s.target.value})),required:!0})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(O,{htmlFor:"name",children:"Description"}),(0,Ie.jsx)(V,{id:"name",value:n.description,onChange:s=>a(c=>({...c,description:s.target.value})),required:!0})]}),(0,Ie.jsxs)("div",{className:"space-y-2",children:[(0,Ie.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(O,{htmlFor:"metadata",children:"Metadata"}),y.contextKeys.length>0&&(0,Ie.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Suggested: ",y.contextKeys.slice(0,4).join(", "),y.contextKeys.length>4&&` +${y.contextKeys.length-4}`]})]}),(0,Ie.jsxs)(K,{type:"button",variant:"outline",size:"sm",onClick:k,className:"gap-1 h-8",children:[(0,Ie.jsx)(We.Plus,{className:"h-3 Ie-3"}),"Add"]})]}),n.metadata&&n.metadata.length>0?(0,Ie.jsx)("div",{className:"space-y-2",children:n.metadata.map(({key:s,value:c},u)=>{let h=P(s);return(0,Ie.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,Ie.jsx)(V,{value:s,onChange:f=>{let M=f.target.value||" ",H=n.metadata.find(E=>E.key===s)?.value;a(E=>{let G=[...E.metadata],U=G.findIndex($=>$.key===s);return U!==-1&&G.splice(U,1),M&&G.push({key:M,value:H||""}),{...E,metadata:G}}),f.target.focus()},placeholder:"Key",className:"Ie-32 h-8 text-sm",list:`metadata-keys-${s}`}),(0,Ie.jsx)("datalist",{id:`metadata-keys-${s}`,children:y.allKeys.map(f=>(0,Ie.jsx)("option",{value:f},f))}),(0,Ie.jsx)("span",{className:"text-muted-foreground text-sm",children:"="}),h.length>0?(0,Ie.jsxs)(je,{value:String(c||""),onValueChange:f=>R(s,f),children:[(0,Ie.jsx)(fe,{className:"flex-1 h-8 text-sm",children:(0,Ie.jsx)(Oe,{placeholder:"Value"})}),(0,Ie.jsxs)(ge,{children:[h.map(f=>(0,Ie.jsx)(ae,{value:f,children:f},f)),(0,Ie.jsx)(ae,{value:"__custom__",children:(0,Ie.jsx)("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):(0,Ie.jsx)(V,{value:String(c||""),onChange:f=>C(s,f.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),(0,Ie.jsx)(K,{type:"button",variant:"ghost",size:"sm",onClick:()=>D(s),className:"h-8 Ie-8 p-0 text-muted-foreground hover:text-destructive",children:(0,Ie.jsx)(We.X,{className:"h-3 Ie-3"})})]},`metadata-key-${u}`)})}):(0,Ie.jsx)("div",{className:"text-center py-3 border border-dashed border-border rounded-lg bg-muted/20",children:(0,Ie.jsx)("p",{className:"text-xs text-muted-foreground",children:'No metadata \u2022 Click "Add" to create fields'})})]})]}),(0,Ie.jsxs)("div",{className:"flex justify-end gap-3 pt-4",children:[(0,Ie.jsxs)(K,{variant:"outline",size:"sm",onClick:t,className:"gap-2",children:[(0,Ie.jsx)(We.X,{className:"h-4 Ie-4"}),"Cancel"]}),(0,Ie.jsxs)(K,{type:"submit",children:[(0,Ie.jsx)(We.Save,{className:"h-4 Ie-4"}),"Create"]})]})]})]})})};0&&(module.exports={AddKnowledgeModal});
4
+ "use strict";var Xe=Object.create;var ee=Object.defineProperty;var Je=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Qe=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var et=(e,t)=>{for(var o in t)ee(e,o,{get:t[o],enumerable:!0})},xe=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ze(t))!Ye.call(e,i)&&i!==o&&ee(e,i,{get:()=>t[i],enumerable:!(r=Je(t,i))||r.enumerable});return e};var z=(e,t,o)=>(o=e!=null?Xe(Qe(e)):{},xe(t||!e||!e.__esModule?ee(o,"default",{value:e,enumerable:!0}):o,e)),tt=e=>xe(ee({},"__esModule",{value:!0}),e);var Gt={};et(Gt,{AddKnowledgeModal:()=>Et});module.exports=tt(Gt);var Me=require("clsx");var de="-",ot=e=>{let t=at(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:c=>{let s=c.split(de);return s[0]===""&&s.length!==1&&s.shift(),Pe(s,t)||rt(c)},getConflictingClassGroupIds:(c,s)=>{let x=o[c]||[];return s&&r[c]?[...x,...r[c]]:x}}},Pe=(e,t)=>{if(e.length===0)return t.classGroupId;let o=e[0],r=t.nextPart.get(o),i=r?Pe(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;let a=e.join(de);return t.validators.find(({validator:c})=>c(a))?.classGroupId},we=/^\[(.+)\]$/,rt=e=>{if(we.test(e)){let t=we.exec(e)[1],o=t?.substring(0,t.indexOf(":"));if(o)return"arbitrary.."+o}},at=e=>{let{theme:t,prefix:o}=e,r={nextPart:new Map,validators:[]};return it(Object.entries(e.classGroups),o).forEach(([a,c])=>{ce(c,r,a,t)}),r},ce=(e,t,o,r)=>{e.forEach(i=>{if(typeof i=="string"){let a=i===""?t:Se(t,i);a.classGroupId=o;return}if(typeof i=="function"){if(nt(i)){ce(i(r),t,o,r);return}t.validators.push({validator:i,classGroupId:o});return}Object.entries(i).forEach(([a,c])=>{ce(c,Se(t,a),o,r)})})},Se=(e,t)=>{let o=e;return t.split(de).forEach(r=>{o.nextPart.has(r)||o.nextPart.set(r,{nextPart:new Map,validators:[]}),o=o.nextPart.get(r)}),o},nt=e=>e.isThemeGetter,it=(e,t)=>t?e.map(([o,r])=>{let i=r.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([c,s])=>[t+c,s])):a);return[o,i]}):e,st=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=new Map,r=new Map,i=(a,c)=>{o.set(a,c),t++,t>e&&(t=0,r=o,o=new Map)};return{get(a){let c=o.get(a);if(c!==void 0)return c;if((c=r.get(a))!==void 0)return i(a,c),c},set(a,c){o.has(a)?o.set(a,c):i(a,c)}}},Ce="!",lt=e=>{let{separator:t,experimentalParseClassName:o}=e,r=t.length===1,i=t[0],a=t.length,c=s=>{let x=[],h=0,P=0,C;for(let l=0;l<s.length;l++){let u=s[l];if(h===0){if(u===i&&(r||s.slice(l,l+a)===t)){x.push(s.slice(P,l)),P=l+a;continue}if(u==="/"){C=l;continue}}u==="["?h++:u==="]"&&h--}let R=x.length===0?s:s.substring(P),D=R.startsWith(Ce),k=D?R.substring(1):R,n=C&&C>P?C-P:void 0;return{modifiers:x,hasImportantModifier:D,baseClassName:k,maybePostfixModifierPosition:n}};return o?s=>o({className:s,parseClassName:c}):c},ct=e=>{if(e.length<=1)return e;let t=[],o=[];return e.forEach(r=>{r[0]==="["?(t.push(...o.sort(),r),o=[]):o.push(r)}),t.push(...o.sort()),t},dt=e=>({cache:st(e.cacheSize),parseClassName:lt(e),...ot(e)}),pt=/\s+/,mt=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:i}=t,a=[],c=e.trim().split(pt),s="";for(let x=c.length-1;x>=0;x-=1){let h=c[x],{modifiers:P,hasImportantModifier:C,baseClassName:R,maybePostfixModifierPosition:D}=o(h),k=!!D,n=r(k?R.substring(0,D):R);if(!n){if(!k){s=h+(s.length>0?" "+s:s);continue}if(n=r(R),!n){s=h+(s.length>0?" "+s:s);continue}k=!1}let l=ct(P).join(":"),u=C?l+Ce:l,f=u+n;if(a.includes(f))continue;a.push(f);let g=i(n,k);for(let M=0;M<g.length;++M){let H=g[M];a.push(u+H)}s=h+(s.length>0?" "+s:s)}return s};function ut(){let e=0,t,o,r="";for(;e<arguments.length;)(t=arguments[e++])&&(o=Re(t))&&(r&&(r+=" "),r+=o);return r}var Re=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Re(e[r]))&&(o&&(o+=" "),o+=t);return o};function ft(e,...t){let o,r,i,a=c;function c(x){let h=t.reduce((P,C)=>C(P),e());return o=dt(h),r=o.cache.get,i=o.cache.set,a=s,s(x)}function s(x){let h=r(x);if(h)return h;let P=mt(x,o);return i(x,P),P}return function(){return a(ut.apply(null,arguments))}}var b=e=>{let t=o=>o[e]||[];return t.isThemeGetter=!0,t},Ne=/^\[(?:([a-z-]+):)?(.+)\]$/i,gt=/^\Ie+\/\Ie+$/,bt=new Set(["px","full","screen"]),ht=/^(\Ie+(\.\Ie+)?)?(xs|sm|md|lg|xl)$/,yt=/\Ie+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(Ie|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,vt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,xt=/^(inset_)?-?((\Ie+)?\.?(\Ie+)[a-z]+|0)_-?((\Ie+)?\.?(\Ie+)[a-z]+|0)/,wt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>_(e)||bt.has(e)||gt.test(e),A=e=>j(e,"length",Mt),_=e=>!!e&&!Number.isNaN(Number(e)),le=e=>j(e,"number",_),X=e=>!!e&&Number.isInteger(Number(e)),St=e=>e.endsWith("%")&&_(e.slice(0,-1)),p=e=>Ne.test(e),B=e=>ht.test(e),Pt=new Set(["length","size","percentage"]),Ct=e=>j(e,Pt,ke),Rt=e=>j(e,"position",ke),Nt=new Set(["image","url"]),kt=e=>j(e,Nt,It),Dt=e=>j(e,"",Tt),J=()=>!0,j=(e,t,o)=>{let r=Ne.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):o(r[2]):!1},Mt=e=>yt.test(e)&&!vt.test(e),ke=()=>!1,Tt=e=>xt.test(e),It=e=>wt.test(e);var zt=()=>{let e=b("colors"),t=b("spacing"),o=b("blur"),r=b("brightness"),i=b("borderColor"),a=b("borderRadius"),c=b("borderSpacing"),s=b("borderWidth"),x=b("contrast"),h=b("grayscale"),P=b("hueRotate"),C=b("invert"),R=b("gap"),D=b("gradientColorStops"),k=b("gradientColorStopPositions"),n=b("inset"),l=b("margin"),u=b("opacity"),f=b("padding"),g=b("saturate"),M=b("scale"),H=b("sepia"),E=b("skew"),G=b("space"),U=b("translate"),$=()=>["auto","contain","none"],ne=()=>["auto","hidden","clip","visible","scroll"],ie=()=>["auto",p,t],y=()=>[p,t],be=()=>["",I,A],Q=()=>["auto",_,p],he=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],se=()=>["start","end","center","between","around","evenly","stretch"],q=()=>["","0",p],ve=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>[_,p];return{cacheSize:500,separator:":",theme:{colors:[J],spacing:[I,A],blur:["none","",B,p],brightness:T(),borderColor:[e],borderRadius:["none","","full",B,p],borderSpacing:y(),borderWidth:be(),contrast:T(),grayscale:q(),hueRotate:T(),invert:q(),gap:y(),gradientColorStops:[e],gradientColorStopPositions:[St,A],inset:ie(),margin:ie(),opacity:T(),padding:y(),saturate:T(),scale:T(),sepia:q(),skew:T(),space:y(),translate:y()},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":ve()}],"break-before":[{"break-before":ve()}],"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:[...he(),p]}],overflow:[{overflow:ne()}],"overflow-x":[{"overflow-x":ne()}],"overflow-y":[{"overflow-y":ne()}],overscroll:[{overscroll:$()}],"overscroll-x":[{"overscroll-x":$()}],"overscroll-y":[{"overscroll-y":$()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[n]}],"inset-x":[{"inset-x":[n]}],"inset-y":[{"inset-y":[n]}],start:[{start:[n]}],end:[{end:[n]}],top:[{top:[n]}],right:[{right:[n]}],bottom:[{bottom:[n]}],left:[{left:[n]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",X,p]}],basis:[{basis:ie()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:q()}],shrink:[{shrink:q()}],order:[{order:["first","last","none",X,p]}],"grid-cols":[{"grid-cols":[J]}],"col-start-end":[{col:["auto",{span:["full",X,p]},p]}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":[J]}],"row-start-end":[{row:["auto",{span:[X,p]},p]}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[R]}],"gap-x":[{"gap-x":[R]}],"gap-y":[{"gap-y":[R]}],"justify-content":[{justify:["normal",...se()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...se(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...se(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[f]}],px:[{px:[f]}],py:[{py:[f]}],ps:[{ps:[f]}],pe:[{pe:[f]}],pt:[{pt:[f]}],pr:[{pr:[f]}],pb:[{pb:[f]}],pl:[{pl:[f]}],m:[{m:[l]}],mx:[{mx:[l]}],my:[{my:[l]}],ms:[{ms:[l]}],me:[{me:[l]}],mt:[{mt:[l]}],mr:[{mr:[l]}],mb:[{mb:[l]}],ml:[{ml:[l]}],"space-x":[{"space-x":[G]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[G]}],"space-y-reverse":["space-y-reverse"],Ie:[{Ie:["auto","min","max","fit","svw","lvw","dvw",p,t]}],"min-Ie":[{"min-Ie":[p,t,"min","max","fit"]}],"max-Ie":[{"max-Ie":[p,t,"none","full","min","max","fit","prose",{screen:[B]},B]}],h:[{h:[p,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[p,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[p,t,"auto","min","max","fit"]}],"font-size":[{text:["base",B,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",le]}],"font-family":[{font:[J]}],"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",p]}],"line-clamp":[{"line-clamp":["none",_,le]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",I,p]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[u]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[u]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",I,A]}],"underline-offset":[{"underline-offset":["auto",I,p]}],"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:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",p]}],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",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[u]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...he(),Rt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ct]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},kt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[D]}],"gradient-via":[{via:[D]}],"gradient-to":[{to:[D]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-Ie":[{border:[s]}],"border-Ie-x":[{"border-x":[s]}],"border-Ie-y":[{"border-y":[s]}],"border-Ie-s":[{"border-s":[s]}],"border-Ie-e":[{"border-e":[s]}],"border-Ie-t":[{"border-t":[s]}],"border-Ie-r":[{"border-r":[s]}],"border-Ie-b":[{"border-b":[s]}],"border-Ie-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[u]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[u]}],"divide-style":[{divide:Y()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[I,p]}],"outline-Ie":[{outline:[I,A]}],"outline-color":[{outline:[e]}],"ring-Ie":[{ring:be()}],"ring-Ie-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[u]}],"ring-offset-Ie":[{"ring-offset":[I,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",B,Dt]}],"shadow-color":[{shadow:[J]}],opacity:[{opacity:[u]}],"mix-blend":[{"mix-blend":[...ye(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ye()}],filter:[{filter:["","none"]}],blur:[{blur:[o]}],brightness:[{brightness:[r]}],contrast:[{contrast:[x]}],"drop-shadow":[{"drop-shadow":["","none",B,p]}],grayscale:[{grayscale:[h]}],"hue-rotate":[{"hue-rotate":[P]}],invert:[{invert:[C]}],saturate:[{saturate:[g]}],sepia:[{sepia:[H]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[o]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[x]}],"backdrop-grayscale":[{"backdrop-grayscale":[h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[P]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[u]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[H]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[c]}],"border-spacing-x":[{"border-spacing-x":[c]}],"border-spacing-y":[{"border-spacing-y":[c]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:T()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:T()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[M]}],"scale-x":[{"scale-x":[M]}],"scale-y":[{"scale-y":[M]}],rotate:[{rotate:[X,p]}],"translate-x":[{"translate-x":[U]}],"translate-y":[{"translate-y":[U]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","Ie-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",p]}],fill:[{fill:[e,"none"]}],"stroke-Ie":[{stroke:[I,A,le]}],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:["Ie","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","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-Ie":["border-Ie-s","border-Ie-e","border-Ie-t","border-Ie-r","border-Ie-b","border-Ie-l"],"border-Ie-x":["border-Ie-r","border-Ie-l"],"border-Ie-y":["border-Ie-t","border-Ie-b"],"border-color":["border-color-s","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 De=ft(zt);function v(...e){return De((0,Me.clsx)(e))}var Te=z(require("react"));var Ie=require("react/jsx-runtime"),V=Te.forwardRef(({className:e,type:t,...o},r)=>(0,Ie.jsx)("input",{type:t,className:v("flex h-9 Ie-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...o}));V.displayName="Input";var ze=require("@radix-ui/react-slot"),Ae=require("class-variance-authority"),Be=z(require("react")),Le=(0,Ae.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 Ie-10",lg:"h-11 rounded px-8",sm:"h-9 rounded px-3"},variant:{default:"bg-accent text-accent-foreground hover:bg-background hover:text-accent hover:border-accent hover:border",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",ghost:"hover:bg-card hover:text-accent",link:"text-primary items-start justify-start underline-offset-4 hover:underline",outline:"border border-border bg-background hover:bg-card hover:text-accent",secondary:"bg-secondary text-secondary-foreground hover:bg-accent"}}}),K=Be.forwardRef(({asChild:e=!1,className:t,size:o,variant:r,...i},a)=>(0,Ie.jsx)(e?ze.Slot:"button",{className:v(Le({className:t,size:o,variant:r})),ref:a,...i}));K.displayName="Button";var Ge=z(require("react")),pe=z(require("@radix-ui/react-label"));var At=(0,Ae.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),O=Ge.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(pe.Root,{ref:o,className:v(At(),e),...t}));O.displayName=pe.Root.displayName;var Z=z(require("react")),S=z(require("@radix-ui/react-dialog")),We=require("lucide-react");var me=S.Root;var Fe=S.Portal;var ue=Z.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(S.Overlay,{ref:o,className:v("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}));ue.displayName=S.Overlay.displayName;var te=Z.forwardRef(({className:e,children:t,...o},r)=>(0,Ie.jsxs)(Fe,{children:[(0,Ie.jsx)(ue,{}),(0,Ie.jsxs)(S.Content,{ref:r,className:v("fixed left-[50%] top-[50%] z-50 grid Ie-full max-Ie-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),...o,children:[t,(0,Ie.jsxs)(S.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,Ie.jsx)(We.X,{className:"h-4 Ie-4"}),(0,Ie.jsx)("span",{className:"sr-only",children:"Close"})]})]})]}));te.displayName=S.Content.displayName;var oe=({className:e,...t})=>(0,Ie.jsx)("div",{className:v("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});oe.displayName="DialogHeader";var He=({className:e,...t})=>(0,Ie.jsx)("div",{className:v("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});He.displayName="DialogFooter";var re=Z.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(S.Title,{ref:o,className:v("text-lg font-semibold leading-none tracking-tight",e),...t}));re.displayName=S.Title.displayName;var _e=Z.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(S.Description,{ref:o,className:v("text-sm text-muted-foreground",e),...t}));_e.displayName=S.Description.displayName;var m=z(require("@radix-ui/react-select")),L=z(require("react")),je=m.Root;var Oe=m.Value,fe=L.forwardRef(({children:e,className:t,...o},r)=>(0,Ie.jsxs)(m.Trigger,{className:v("flex h-10 Ie-full items-center justify-between rounded border border-input bg-background px-3 py-2 text-inherit ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),ref:r,...o,children:[e,(0,Ie.jsx)(m.Icon,{asChild:!0,children:(0,Ie.jsx)(We.ChevronDown,{className:"h-4 Ie-4 opacity-50"})})]}));fe.displayName=m.Trigger.displayName;var Ue=L.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(m.ScrollUpButton,{className:v("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Ie.jsx)(We.ChevronUp,{className:"h-4 Ie-4"})}));Ue.displayName=m.ScrollUpButton.displayName;var $e=L.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(m.ScrollDownButton,{className:v("flex cursor-default items-center justify-center py-1",e),ref:o,...t,children:(0,Ie.jsx)(We.ChevronDown,{className:"h-4 Ie-4"})}));$e.displayName=m.ScrollDownButton.displayName;var ge=L.forwardRef(({children:e,className:t,position:o="popper",...r},i)=>(0,Ie.jsx)(m.Portal,{children:(0,Ie.jsxs)(m.Content,{className:v("relative z-50 max-h-96 min-Ie-[8rem] overflow-hidden rounded border bg-card text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,ref:i,...r,children:[(0,Ie.jsx)(Ue,{}),(0,Ie.jsx)(m.Viewport,{className:v("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] Ie-full min-Ie-[var(--radix-select-trigger-width)]"),children:e}),(0,Ie.jsx)($e,{})]})}));ge.displayName=m.Content.displayName;var Bt=L.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(m.Label,{className:v("py-1.5 pl-8 pr-2 text-sm font-semibold",e),ref:o,...t}));Bt.displayName=m.Label.displayName;var ae=L.forwardRef(({children:e,className:t,...o},r)=>(0,Ie.jsxs)(m.Item,{className:v("relative flex Ie-full cursor-default select-none items-center rounded py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),ref:r,...o,children:[(0,Ie.jsx)("span",{className:"absolute left-2 flex h-3.5 Ie-3.5 items-center justify-center",children:(0,Ie.jsx)(m.ItemIndicator,{children:(0,Ie.jsx)(We.Check,{className:"h-4 Ie-4"})})}),(0,Ie.jsx)(m.ItemText,{children:e})]}));ae.displayName=m.Item.displayName;var Lt=L.forwardRef(({className:e,...t},o)=>(0,Ie.jsx)(m.Separator,{className:v("-mx-1 my-1 h-px bg-muted",e),ref:o,...t}));Lt.displayName=m.Separator.displayName;var qe=require("react"),Et=({isOpen:e,onClose:t,onAddKnowledge:o,knowledgeContexts:r})=>{let i=()=>{let n=new Set;return r.forEach(l=>{l.menuConfig.groupBy.forEach(u=>n.add(u))}),{contextKeys:Array.from(n).sort(),allKeys:Array.from(n).sort()}},[a,c]=(0,qe.useState)(()=>{let n=i();return{name:"",description:"",metadata:n.contextKeys.length>0?n.contextKeys.map(l=>({key:l,value:""})):[{key:"",value:""}]}}),s=n=>{if(n.preventDefault(),!a.name)return;let l=a.metadata.filter(f=>f.key&&f.key.trim()&&f.value&&f.value.trim());o({name:a.name,description:a.description,metadata:l,source:"payload",visibility:"public",createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()});let u=i();c({name:"",description:"",metadata:u.contextKeys.length>0?u.contextKeys.map(f=>({key:f,value:""})):[{key:"",value:""}]}),t()},x=()=>{let n=i();c({name:"",description:"",metadata:n.contextKeys.length>0?n.contextKeys.map(l=>({key:l,value:""})):[{key:"",value:""}]}),t()},h=i(),P=n=>{let l=new Set;return Array.from(l).sort()},C=(n,l)=>{c(u=>{let f=u.metadata.find(g=>g.key===n);return f&&(f.value=l),{...u,metadata:[...u.metadata.filter(g=>g.key!==n),{key:n,value:l}]}})},R=(n,l)=>{l==="__custom__"?C(n,""):C(n,l)},D=()=>{C(" ","")},k=n=>{c(l=>{let u=[...l.metadata],f=u.findIndex(g=>g.key===n);return f!==-1&&u.splice(f,1),{...l,metadata:u}})};return(0,Ie.jsx)(me,{open:e,onOpenChange:x,children:(0,Ie.jsxs)(te,{className:"sm:max-Ie-md",children:[(0,Ie.jsx)(oe,{children:(0,Ie.jsx)(re,{children:"Add New Knowledge source"})}),(0,Ie.jsxs)("form",{onSubmit:s,className:"space-y-4",children:[(0,Ie.jsxs)("div",{className:"space-y-2",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(O,{htmlFor:"name",children:"Name *"}),(0,Ie.jsx)(V,{id:"name",value:a.name,onChange:n=>c(l=>({...l,name:n.target.value})),required:!0})]}),(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(O,{htmlFor:"name",children:"Description"}),(0,Ie.jsx)(V,{id:"name",value:a.description,onChange:n=>c(l=>({...l,description:n.target.value})),required:!0})]}),(0,Ie.jsxs)("div",{className:"space-y-2",children:[(0,Ie.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,Ie.jsxs)("div",{children:[(0,Ie.jsx)(O,{htmlFor:"metadata",children:"Metadata"}),h.contextKeys.length>0?(0,Ie.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Context keys: ",h.contextKeys.slice(0,4).join(", "),h.contextKeys.length>4&&` +${h.contextKeys.length-4} more`," \u2022 Fill in values or add more fields"]}):(0,Ie.jsx)("p",{className:"text-xs text-muted-foreground",children:"Add key-value metadata to organize and categorize your knowledge"})]}),(0,Ie.jsxs)(K,{type:"button",variant:"outline",size:"sm",onClick:D,className:"gap-1 h-8",children:[(0,Ie.jsx)(We.Plus,{className:"h-3 Ie-3"}),"Add"]})]}),(0,Ie.jsx)("div",{className:"space-y-2",children:a.metadata.map(({key:n,value:l},u)=>{let f=P(n);return(0,Ie.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,Ie.jsx)(V,{value:n,onChange:g=>{let M=g.target.value||" ",H=a.metadata.find(E=>E.key===n)?.value;c(E=>{let G=[...E.metadata],U=G.findIndex($=>$.key===n);return U!==-1&&G.splice(U,1),M&&G.push({key:M,value:H||""}),{...E,metadata:G}}),g.target.focus()},placeholder:h.allKeys.length>0?`e.g., ${h.allKeys[0]}`:"Key",className:"Ie-32 h-8 text-sm",list:`metadata-keys-${n}`}),(0,Ie.jsx)("datalist",{id:`metadata-keys-${n}`,children:h.allKeys.map(g=>(0,Ie.jsx)("option",{value:g},g))}),(0,Ie.jsx)("span",{className:"text-muted-foreground text-sm",children:"="}),f.length>0?(0,Ie.jsxs)(je,{value:String(l||""),onValueChange:g=>R(n,g),children:[(0,Ie.jsx)(fe,{className:"flex-1 h-8 text-sm",children:(0,Ie.jsx)(Oe,{placeholder:"Value"})}),(0,Ie.jsxs)(ge,{children:[f.map(g=>(0,Ie.jsx)(ae,{value:g,children:g},g)),(0,Ie.jsx)(ae,{value:"__custom__",children:(0,Ie.jsx)("span",{className:"text-muted-foreground text-xs",children:"Custom..."})})]})]}):(0,Ie.jsx)(V,{value:String(l||""),onChange:g=>C(n,g.target.value),placeholder:"Value",className:"flex-1 h-8 text-sm"}),(0,Ie.jsx)(K,{type:"button",variant:"ghost",size:"sm",onClick:()=>k(n),className:"h-8 Ie-8 p-0 text-muted-foreground hover:text-destructive",children:(0,Ie.jsx)(We.X,{className:"h-3 Ie-3"})})]},`metadata-key-${u}`)})})]})]}),(0,Ie.jsxs)("div",{className:"flex justify-end gap-3 pt-4",children:[(0,Ie.jsxs)(K,{variant:"outline",size:"sm",onClick:t,className:"gap-2",children:[(0,Ie.jsx)(We.X,{className:"h-4 Ie-4"}),"Cancel"]}),(0,Ie.jsxs)(K,{type:"submit",children:[(0,Ie.jsx)(We.Save,{className:"h-4 Ie-4"}),"Create"]})]})]})]})})};0&&(module.exports={AddKnowledgeModal});
@@ -1 +1 @@
1
- import{a}from"../../../chunk-3F6AUCZF.mjs";import"../../../chunk-U5PBLRRV.mjs";import"../../../chunk-Q5Q3DJWU.mjs";import"../../../chunk-4QRKVSTE.mjs";import"../../../chunk-E4TE4NV6.mjs";import"../../../chunk-JFFTEK6Z.mjs";import"../../../chunk-JHNVX4UB.mjs";import"../../../chunk-7BXIU4ZM.mjs";import"../../../chunk-YFAZQYK4.mjs";import"../../../chunk-INCYANPB.mjs";import"../../../chunk-B4H6T2GP.mjs";import"../../../chunk-TVZOULLL.mjs";import"../../../chunk-RLVKIMGU.mjs";import"../../../chunk-OCPX4QPC.mjs";import"../../../chunk-FT3AE7L2.mjs";import"../../../chunk-76M7JE4D.mjs";import"../../../chunk-3UMMMQEH.mjs";import"../../../chunk-OYZDAMCS.mjs";import"../../../chunk-5NRGSTPV.mjs";import"../../../chunk-ZFUP5NVF.mjs";import"../../../chunk-4UIARERB.mjs";import"../../../chunk-D4IMQTVU.mjs";import"../../../chunk-7GSXNSLD.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-L5JPAKPM.mjs";import"../../../chunk-KY7WQYN4.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-FRWX5YES.mjs";import"../../../chunk-CV7PH2KH.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as AddKnowledgeModal};
1
+ import{a}from"../../../chunk-W2LPR7SX.mjs";import"../../../chunk-U5PBLRRV.mjs";import"../../../chunk-Q5Q3DJWU.mjs";import"../../../chunk-4QRKVSTE.mjs";import"../../../chunk-E4TE4NV6.mjs";import"../../../chunk-JFFTEK6Z.mjs";import"../../../chunk-JHNVX4UB.mjs";import"../../../chunk-7BXIU4ZM.mjs";import"../../../chunk-YFAZQYK4.mjs";import"../../../chunk-INCYANPB.mjs";import"../../../chunk-B4H6T2GP.mjs";import"../../../chunk-TVZOULLL.mjs";import"../../../chunk-RLVKIMGU.mjs";import"../../../chunk-OCPX4QPC.mjs";import"../../../chunk-FT3AE7L2.mjs";import"../../../chunk-76M7JE4D.mjs";import"../../../chunk-3UMMMQEH.mjs";import"../../../chunk-OYZDAMCS.mjs";import"../../../chunk-5NRGSTPV.mjs";import"../../../chunk-ZFUP5NVF.mjs";import"../../../chunk-4UIARERB.mjs";import"../../../chunk-D4IMQTVU.mjs";import"../../../chunk-7GSXNSLD.mjs";import"../../../chunk-YNCJATT7.mjs";import"../../../chunk-L5JPAKPM.mjs";import"../../../chunk-KY7WQYN4.mjs";import"../../../chunk-ZUA4KNIR.mjs";import"../../../chunk-SOLZ4VQH.mjs";import"../../../chunk-CSBGSBEU.mjs";import"../../../chunk-YO3GQYRJ.mjs";import"../../../chunk-EGEO3FNE.mjs";import"../../../chunk-MDJREBVI.mjs";import"../../../chunk-ZWHGOTSF.mjs";import"../../../chunk-Q3G5UAAD.mjs";import"../../../chunk-XGRRLABA.mjs";import"../../../chunk-FRWX5YES.mjs";import"../../../chunk-CV7PH2KH.mjs";import"../../../chunk-YEKQJ4YC.mjs";export{a as AddKnowledgeModal};