| 40140 | if ('string' != typeof s && !(s instanceof String)) |
| 40141 | throw TypeError('`'.concat(o, '` must be a string')) |
| 40142 | } |
| 40143 | const Gc = function replaceAll(s, o, i) { |
| 40144 | ;(!(function checkArguments(s, o, i) { |
| 40145 | if (null == i || null == s || null == o) |
| 40146 | throw TypeError('Input values must not be `null` or `undefined`') |
| 40147 | })(s, o, i), |
| 40148 | Kc(i, 'str'), |
| 40149 | Kc(o, 'replaceValue'), |
| 40150 | (function checkSearchValue(s) { |
| 40151 | if (!('string' == typeof s || s instanceof String || s instanceof RegExp)) |
| 40152 | throw TypeError('`searchValue` must be a string or an regexp') |
| 40153 | })(s)) |
| 40154 | var a = new RegExp(Fc(s) ? s : Hc(s), 'g') |
| 40155 | return Lc(a, o, i) |
| 40156 | } |
| 40157 | var Qc = $a(3, Gc), |
| 40158 | tl = Ja(2, 'replaceAll') |