aijinhui
2023-10-08 66075a98e7ad6bd8a39f970b27fe2ce493306766
1
2
3
4
5
6
'use strict';
module.exports = function (str) {
    return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {
        return '%' + c.charCodeAt(0).toString(16).toUpperCase();
    });
};