import{_ as n,u as c,s as o,c as s,t as i,o as u}from"./Bgmy51Qv.js";import{u as p}from"./BHvLfWtM.js";const a={setup(){const t=c(),{setting:e}=o(t);return{setting:e}},name:"PriceFormat",props:{price:{default:0,required:!0}},mixins:[p],components:{},computed:{currencyPosition(){var t;return(t=this.setting)==null?void 0:t.currency_position},currencyIcon(){var t;return((t=this.setting)==null?void 0:t.currency_icon)||"$"},formattedPrice(){var t;return this.priceFormat({type:1,price:this.price,icon:(t=this.setting)==null?void 0:t.currency_icon})}}};function _(t,e,m,f,d,r){return u(),s("span",null,i(r.formattedPrice),1)}const y=n(a,[["render",_]]);export{y as _};
