"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const compatibility = require("./compatibility.js");
const jsonProxyUrl = { "ENV": "Browser", "DATAVERSE_GOOGLE_STORE": "https://chrome.google.com/webstore/detail/dataverse/kcigpjcafekokoclamfendmaapcljead", "MUMBAI_FAUCET": "https://mumbaifaucet.com" }.PROXY1;
const jsonProxyUrl2 = { "ENV": "Browser", "DATAVERSE_GOOGLE_STORE": "https://chrome.google.com/webstore/detail/dataverse/kcigpjcafekokoclamfendmaapcljead", "MUMBAI_FAUCET": "https://mumbaifaucet.com" }.PROXY2;
const jsonProxy = (url) => `${jsonProxyUrl}${encodeURIComponent(url)}`;
const jsonProxy2 = (url) => `${jsonProxyUrl2}${encodeURIComponent(url)}`;
const revokeJsonProxy = (url) => decodeURIComponent(
  url.replaceAll(jsonProxyUrl, "").replaceAll(encodeURIComponent(jsonProxyUrl), "")
);
const revokeJsonProxy2 = (url) => decodeURIComponent(
  url.replaceAll(jsonProxyUrl2, "").replaceAll(encodeURIComponent(jsonProxyUrl2), "")
);
if (compatibility.isFireFox())
  ;
exports.jsonProxy = jsonProxy;
exports.jsonProxy2 = jsonProxy2;
exports.revokeJsonProxy = revokeJsonProxy;
exports.revokeJsonProxy2 = revokeJsonProxy2;
//# sourceMappingURL=constants.js.map
