1import{a as x,c as o,b as k,X as v,m as a,j as c,Z as l,l as b,w as y,o as h,x as i,N as B,q as u,t as V}from"./CzV-f8tj.js";import{u as S}from"./eq6MWN-p.js";const g=()=>{const{sessionContext:s}=x();return{isProductPriceBlocked:o(()=>!!s?.value?.salesChannel?.translated?.customFields?.block_product_price)}},w={key:0},Z=k({__name:"SharedPrice",props:{value:{},customClass:{},displayZeroPrice:{type:Boolean},taxValue:{}},setup(s){const{getFormattedPrice:r}=v(),{isProductPriceBlocked:d}=g(),{isUKTaxCombined:m}=S(),p=m,e=s,n=o(()=>{const t=e.value??0;return p.value&&e.taxValue!==void 0?t+e.taxValue:t}),P=o(()=>e.value!==void 0&&(n.value>0||e.displayZeroPrice)),_=o(()=>r(n.value));return(t,f)=>{const C=B;return a(d)?i("",!0):(u(),c("p",{key:0,class:h(["flex gap-1 !mb-0",e.customClass])},[l(t.$slots,"beforePrice"),b(C,null,{default:y(()=>[a(P)?(u(),c("span",w,V(a(_)),1)):i("",!0)]),_:1}),l(t.$slots,"afterPrice")],2))}}});export{Z as _,g as u};
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.