{"version":3,"file":"priceCurrencyMixin-CKEVFsHP.js","sources":["../../src/mixins/priceCurrencyMixin.vue"],"sourcesContent":["<script>\nexport default {\n  methods: {\n    formatPrice(price, currency) {\n      return new Intl.NumberFormat(this.$fischer.siteLanguage(), {\n        style: 'currency',\n        currency,\n        ...(price % 1 === 0\n          ? {\n              maximumFractionDigits: 0,\n              minimumFractionDigits: 0,\n            }\n          : {}),\n      }).format(price);\n    },\n  },\n};\n</script>\n"],"names":["_sfc_main","price","currency"],"mappings":"AACK,MAAAA,EAAU,CACb,QAAS,CACP,YAAYC,EAAOC,EAAU,CAC3B,OAAO,IAAI,KAAK,aAAa,KAAK,SAAS,aAAY,EAAI,CACzD,MAAO,WACP,SAAAA,EACA,GAAID,EAAQ,IAAM,EACd,CACE,sBAAuB,EACvB,sBAAuB,CACzB,EACA,EACN,CAAC,EAAE,OAAOA,CAAK,CAChB,CACF,CACH"}