1import{B as d}from"./BaihuDialog-C0vPP9WX.js";import{d as c,O as u,a1 as f,F as p,am as a,J as x,ap as r,V as m,Q as g,r as b}from"./vendor-DbuKlgGC.js";const h=["title"],v={class:"max-h-[60vh] overflow-y-auto custom-scrollbar"},D={class:"p-4 bg-muted/30 rounded-xl border border-border/50"},k={class:"text-[13.5px] leading-relaxed text-foreground/90 break-all whitespace-pre-wrap"},y=c({__name:"TextOverflow",props:{text:{},title:{default:"详æ
"},disableDialog:{type:Boolean,default:!1}},setup(e){const o=e,l=b(!1);function i(){o.disableDialog||o.text&&o.text!=="-"&&(l.value=!0)}return(n,t)=>(u(),f(p,null,[a("span",x(n.$attrs,{class:["truncate block transition-colors",[e.disableDialog?"":"cursor-pointer hover:text-primary"]],title:e.text||"-",onClick:t[0]||(t[0]=s=>{e.disableDialog||(s.stopPropagation(),i())})}),r(e.text||"-"),17,h),m(d,{open:l.value,"onUpdate:open":t[1]||(t[1]=s=>l.value=s),title:e.title},{default:g(()=>[a("div",v,[a("div",D,[a("p",k,r(e.text),1)])])]),_:1},8,["open","title"])],64))}});export{y as _};
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.