PageSourceSearch

https://www.tiinsight.chat/_next/static/chunks/659.d92d53293b1e39b1.js

js tiinsight.chat collected 2026-10-08 08:42:03 UTC 2,063 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[659],{36659:function(e,n,s){s.r(n),s.d(n,{default:function(){return k}});var i=s(17976),a=s(7644),o=s(84925),l=s(59070),d=s(29916),t=s(77634),r=s(99232),u=s(27041),c=s(72956),v=s(39468),h=s(27112),m=s(91258),x=s(72103),g=s(52229),j=s(89978),f=s(59391);let p=(0,m.memo)(function(e){let{id:n}=e,s=(0,x.CG)(e=>(0,g.QS)(e,n)),o=null==s?void 0:s.meta,l=(0,m.useMemo)(()=>(null==s?void 0:s.content)&&o?(0,i.jsx)(a.x,{w:s.isUser?void 0:600,children:(0,j.Q)(s.content,{meta:o,messageId:s.id})}):"+",[null==s?void 0:s.content,o,null==s?void 0:s.id,null==s?void 0:s.isUser]);return(0,i.jsx)(a.x,{sx:{position:"relative"},children:l})});function k(){var e;let n=(0,x.TL)(),s=(0,x.CG)(e=>e.account.user),[a,g]=(0,h._)({key:"booomark-from-session",defaultValue:""}),{data:j,isLoading:k}=f.Q.listConversation.useQuery({},{enabled:!!s,async onSuccess(e){if(e.data.length>0){var s;n(x.Nw.session.conversationLoaded(e));let i=null===(s=e.data.at(0))||void 0===s?void 0:s.id;i&&g(i)}}}),b=null==j?void 0:j.data,w=(0,m.useMemo)(()=>{let e=null==b?void 0:b.map(e=>({label:e.name,value:e.id}));return null!=e?e:[]},[b]),{data:C,isLoading:y}=f.Q.listBookmarkedMessage.useQuery({convoId:a},{enabled:!!b,onSuccess(e){n(x.Nw.messages.saveMessages({messages:e.data,convoId:a}))}}),M=null!==(e=null==C?void 0:C.data)&&void 0!==e?e:[];return(0,i.jsxs)(o.V,{header:(0,i.jsx)(l.h,{height:50,p:"xs",children:(0,i.jsxs)(d.Z,{position:"apart",children:[(0,i.jsx)(d.Z,{sx:{cursor:"pointer"},onClick:()=>{window.location.href="/"},children:(0,i.jsx)(t.Z,{variant:"headline-md",children:"TiInsight"})}),(0,i.jsxs)(d.Z,{spacing:8,children:[(0,i.jsx)(t.Z,{variant:"body-md",children:"From conversation:"}),(0,i.jsx)(r.Ph,{data:w,value:a,onChange:e=>e&&g(e),size:"xs"})]})]})}),padding:"lg",children:[(0,i.jsx)(u.f,{visible:k||y}),0===M.length?(0,i.jsx)(c.M,{children:(0,i.jsx)(t.Z,{variant:"body-lg",children:"No bookmarks found"})}):(0,i.jsx)(v.M,{cols:2,maw:1200,m:"auto",children:M.map(e=>(0,i.jsx)(p,{id:e.id},e.id))})]})}}}]);

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.