// Module ID: 8329 // Function ID: 8330 // Dependencies: [] // Module 8329 const re0 = /[|\\{}()[\]^$+*?.-]/g; export default (str) => { if (typeof str !== "string") { const _TypeError = TypeError; const typeError = new TypeError("Expected a string"); throw typeError; } else { return str.replace(re0, "\\$&"); } };