{"version":3,"file":"stripRemovables.mjs","names":[],"sources":["../src/stripRemovables.ts"],"sourcesContent":["import type { Settings } from './types';\n\n/**\n * Replaces items matched in the regex with spaces.\n *\n * @param settings The main settings object containing regular expressions\n * @param text     The string being counted.\n * @return The manipulated text.\n */\nexport default function stripRemovables(\n\tsettings: Settings,\n\ttext: string\n): string {\n\treturn text.replace( settings.removeRegExp, '' );\n}\n"],"mappings":";;;;;;;;AASA,SAAwB,gBACvB,UACA,MACS;CACT,OAAO,KAAK,QAAS,SAAS,cAAc,EAAG;AAChD"}