import{Cc as c,Ga as n,Oa as o,dc as s}from"./chunk-4JM6MIZ5.js";import{i as a}from"./chunk-QJQRWPYR.js";var f=(()=>{let e=class e{angularPipe;customLocaleId;constructor(t){navigator.language.includes("-")&&navigator.language.split("-")[0]===t.split("-")[0]?this.customLocaleId=navigator.language:this.customLocaleId=t,this.angularPipe=new c(t)}transform(t,i){return i==="short"?new Date(t).toLocaleString(this.customLocaleId):i==="shortDate"?new Date(t).toLocaleDateString(this.customLocaleId):this.angularPipe.transform(t,i)}};a(e,"\u0275fac",function(i){return new(i||e)(n(s,16))}),a(e,"\u0275pipe",o({name:"ptDate",type:e,pure:!0}));let r=e;return r})();export{f as a};
/**i18n:68865f44f2a527c44cf5136a17c76a0ff8308c2bae5c7c8d50070a5fb9847c44*/
//# sourceMappingURL=chunk-57S2OCZO.js.map
