"use strict";const a=require("./index.cjs226.js"),d=require("./index.cjs327.js");function f(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function l(e,c,i){if(!c)return e;const s=i&&i.encode||f;a.isFunction(i)&&(i={serialize:i});const n=i&&i.serialize;let r;if(n?r=n(c,i):r=a.isURLSearchParams(c)?c.toString():new d(c,i).toString(s),r){const t=e.indexOf("#");t!==-1&&(e=e.slice(0,t)),e+=(e.indexOf("?")===-1?"?":"&")+r}return e}module.exports=l;
//# sourceMappingURL=index.cjs256.js.map
