1import d from"./cg-AAXxy.js";import{_ as u,c as o,a as h,t as r,n as l,j as m,e as a,o as i}from"./C_dDoqqV.js";const x={name:"SymbolDataRenderer",props:{content:{type:Object,required:!0}},computed:{size(){return["sm","md","lg"].includes(this.content?.size)?this.content?.size:"sm"},showTrend(){return!!this.content?.showTrend},trendVariant(){return["positive","negative"].includes(this.content?.trend)?this.content?.trend:"positive"},layout(){return["straight","reverse"].includes(this.content?.layout)?this.content?.layout:"straight"},sizeClasses(){const t={sm:"text-2xs",md:"text-2xs",lg:"text-fluid-2xs"},s={sm:"text-3xs",md:"text-3xs",lg:"text-2xs"};return{title:this.layout==="straight"?t[this.size]:s[this.size],description:this.layout==="straight"?s[this.size]:t[this.size]}},layoutClasses(){const t={straight:"text-foreground-1 font-bold leading-sm",reverse:"text-foreground-3 leading-sm"},s={straight:"text-foreground-3 leading-sm",reverse:"text-foreground-1 font-bold leading-sm"};return{title:t[this.layout],description:s[this.layout]}}}},_={class:"flex flex-col"},p={key:0,class:"flex items-center gap-xs"};function g(t,s,n,f,y,e){const c=d;return i(),o("div",_,[n.content?.title?(i(),o("div",p,[h("span",{class:l(["will-change-[font-size] transition-[font-size] duration-500 ease-in-out",[e.sizeClasses.title,e.layoutClasses.title]])},r(n.content?.title),3),e.showTrend?(i(),m(c,{key:0,variant:e.trendVariant,class:"h-full w-auto"},null,8,["variant"])):a("",!0)])):a("",!0),n.content?.description?(i(),o("span",{key:1,class:l(["will-change-[font-size] transition-[font-size] duration-500 ease-in-out",["whitespace-nowrap",e.sizeClasses.description,e.layoutClasses.description]])},r(n.content?.description),3)):a("",!0)])}const C=Object.assign(u(x,[["render",g]]),{__name:"SymbolDataRenderer"});export{C 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.