import{_ as d}from"./sellingUnitMixin-BqI7WVPQ.js";import{_ as f,o as e,b as t,F as n,e as _,u,v as i,q as m,n as p}from"./main-DHoZdmBw.js";const b={name:"BasePriceFi",mixins:[d],props:{bestPrice:{type:Object,default:()=>({})},small:{type:Boolean,default:!1},theme:{type:String,default:null}},computed:{basePrices(){var a,c;return(c=(a=this.bestPrice)==null?void 0:a.price)==null?void 0:c.basePrices}}};function y(a,c,s,h,P,l){return l.basePrices?(e(),t("div",{key:0,class:p(["base-price-fi",s.small?"base-price-fi--small":"",s.theme?`base-price-fi--theme-${s.theme}`:""])},[(e(!0),t(n,null,_(l.basePrices,(r,o)=>(e(),t("div",{key:o},[r.valueFormatted?(e(),t(n,{key:0},[u(i(r.valueFormatted),1)],64)):m("",!0),s.bestPrice.priceRows?(e(),t(n,{key:1},[u(" / "+i(r.qty)+" "+i(a.getSellingUnit(r.unit))+i(o!==l.basePrices.length-1?", ":""),1)],64)):m("",!0)]))),128))],2)):m("",!0)}const v=f(b,[["render",y],["__scopeId","data-v-d71956f5"]]);export{v as B};