import{va as u}from"./chunk-KVTHJWZA.js";import{Uc as s,Vc as c,ib as i,ta as o}from"./chunk-FWZCAEAJ.js";var E=(()=>{let t=class t extends u{constructor(n,e="USD"){super(n,e),this.__defaultCurrencyCode=e}transform(n,e=this.__defaultCurrencyCode,f="symbol",m,p){return a(n)?super.transform(d(n)/100,e,f,m,p):null}};t.\u0275fac=function(e){return new(e||t)(i(s,16),i(c,16))},t.\u0275pipe=o({name:"currency",type:t,pure:!0,standalone:!0});let r=t;return r})();function a(r){return!(r==null||r===""||r!==r)}function d(r){if(typeof r=="string"&&!isNaN(Number(r)-parseFloat(r)))return Number(r);if(typeof r!="number")throw new Error(`${r} is not a number`);return r}export{E as a};
