export function getURLSource(input) {
    if (input instanceof URL) {
        return input;
    }
    if (typeof input === "string") {
        return input;
    }
    return input.url;
}
//# sourceMappingURL=url.js.map