PageSourceSearch

https://asimila.ai/assets/MemoryDialog-C8itRiHo.js

js asimila.ai collected 2026-10-05 11:50:40 UTC 1,450 bytes, 1 lines download raw bytes

1import{r as e,j as s}from"./ui-vendor-Bm6fxeW1.js";import{a as r,aZ as a,a_ as t,a$ as i,b0 as o,b1 as m,b2 as n,B as l,Y as c}from"./main-DFsKVC_z.js";import{M as d}from"./MemoryPanel-BAXoetO7.js";import"./query-vendor-COZ_T4D3.js";import"./react-vendor-Doh2abh7.js";import"./date-vendor-DYafMXNK.js";import"./useMemorySettings-C9BIxSKs.js";import"./switch-s25-6HGZ.js";import"./memoryDisplay-DocFoNQI.js";import"./empty-C63xWeJe.js";import"./input-group-BZ4HaDmS.js";import"./toggle-group-DKS8c5h1.js";function p({open:p,onOpenChange:x}){const{t:h}=r(),j=e.useRef(null),[u,f]=e.useState(!1);return s.jsx(a,{open:p,onOpenChange:x,children:s.jsxs(t,{className:"flex max-h-[85vh] flex-col gap-0 p-0 sm:max-w-xl",children:[s.jsxs(i,{className:"flex-row items-center gap-3 border-b px-4 py-3 pr-12 text-left",children:[s.jsx(o,{className:"size-5 shrink-0 text-primary","aria-hidden":"true"}),s.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-1",children:[s.jsx(m,{className:"text-base",children:h.chat.memory.title}),s.jsx(n,{children:h.settings.memory.subtitle})]}),u&&s.jsx(l,{size:"icon-sm",variant:"ghost",className:"shrink-0 text-muted-foreground hover:text-foreground","aria-label":h.chat.memory.addDirective,title:h.chat.memory.addDirective,onClick:()=>j.current?.toggleAddDirective(),children:s.jsx(c,{})})]}),s.jsx(d,{ref:j,hideHeader:!0,onAddAvailableChange:f,className:"min-h-48 flex-1"})]})})}export{p as MemoryDialog,p as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.