1import{aB as g,u as f}from"#entry";import{d as l,s as c,b as i,o as d,a as r,g as p,t as o,u as t,l as x,r as b}from"./epEytuGL.js";const _={class:"text-sm py-1"},y={class:"mr-2 text-secondary-500 font-bold text-2xl","data-testid":"price"},h={key:0,class:"text-base font-normal text-neutral-500 line-through"},v=l({__name:"Price",props:{price:{},crossedPrice:{}},setup(e){const s=e,{format:a}=g(),{t:n}=f(),m=c(()=>s.crossedPrice?Math.round(s.price*100)/100!==Math.round(s.crossedPrice*100)/100:!1);return(B,C)=>(d(),i("div",_,[r("span",y,[r("span",null,o(t(a)(e.price)),1),r("span",null,o(t(n)("asterisk")),1)]),e.crossedPrice&&t(m)?(d(),i("span",h,o(t(a)(e.crossedPrice)),1)):p("",!0)]))}}),z=Object.assign(v,{__name:"Price"});var u=(e=>(e.sm="sm",e.base="base",e))(u||{});const P=l({__name:"Tag",props:{size:{default:"base"},strong:{type:Boolean,default:!1},variant:{default:"primary"}},setup(e){const s=c(()=>e.size.toString()===u.sm?"text-xs p-1 gap-1":"text-sm p-1.5 gap-1.5"),a=c(()=>{switch(e.variant){case"secondary":return["text-secondary-600","bg-secondary-50"];case"negative":return["text-negative-800",e.strong?"bg-negative-200":"bg-negative-100"];case"positive":return["text-green-800",e.strong?"bg-green-200":"bg-green-100"];default:return["text-primary-800",e.strong?"bg-primary-50":"bg-primary-100"]}});return(n,m)=>(d(),i("div",{class:x(["inline-flex items-center justify-center rounded-md",e.strong?"font-medium":"font-normal",t(a),t(s)]),"data-testid":"tag"},[b(n.$slots,"default")],2))}}),V=Object.assign(P,{__name:"UiTag"});export{z as _,V as a};
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.