"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.getTruncatedText=function(t){var e=t.text,r=t.currentWidth,n=t.textLength,s=t.separator,u=(r-t.maxWidth)/(r/n)+s.length,g=(e.length-u)/2,i=(e.length+u)/2;return e.substring(0,g)+s+e.substring(i)};
//# sourceMappingURL=utils.js.map
