{"version":3,"file":"padStart.cjs","sources":["../../src/utils/padStart.js"],"sourcesContent":["import repeat from './repeat.js';\n\n/**\n * Pads a string to a given length with a given character at the start.\n * @param {string} string The string to pad.\n * @param {number} length The length to pad the string to.\n * @param {string} char The character to pad the string with.\n * @return {string} The padded string.\n * @module\n * @private\n */\nexport default function padStart(string, length, char = ' ') {\n    return repeat(char, length - string.length) + string;\n}\n"],"names":["repeat"],"mappings":";;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,GAAG,GAAG,EAAE;AAC7D,IAAI,OAAOA,YAAM,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM;AACxD;;;;"}