import{a}from"./chunk-3DEA4WWC.js";import{na as i}from"./chunk-GJDGQISV.js";var c=class t{generateVariantName(s,e,n){if(a.IsEmpty(s))return e?`${e} (${n})`:"";let r=s.replace(/\{0\}/g,e||"").replace(/\{1\}/g,n||"");return n||(r=r.replace(/\s*\([^)]*\)\s*$/,"").replace(/\s*\[.*?\]\s*$/,"").replace(/\s*\{.*?\}\s*$/,""),r=r.replace(/\s{2,}/g," ").trim()),r}static \u0275fac=function(e){return new(e||t)};static \u0275prov=i({token:t,factory:t.\u0275fac,providedIn:"root"})};export{c as a};
