'use strict';

var index = require('./index-kE_lp0w-.js');
var appGlobals = require('./app-globals-V2Kpy_OQ.js');

var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
/*
 Stencil Client Patch Browser v4.37.1 | MIT Licensed | https://stenciljs.com
 */

var patchBrowser = () => {
  const importMeta = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('m0-swap-component.cjs.js', document.baseURI).href));
  const opts = {};
  if (importMeta !== "") {
    opts.resourcesUrl = new URL(".", importMeta).href;
  }
  return index.promiseResolve(opts);
};

patchBrowser().then(async (options) => {
  await appGlobals.globalScripts();
  return index.bootstrapLazy([["swap-module.cjs",[[257,"swap-module",{"network":[1],"disableSvm":[4,"disable-svm"],"disableEvm":[4,"disable-evm"],"rpcOverrides":[16,"rpc-overrides"],"radius":[2],"highlightColor":[1,"highlight-color"],"primaryColor":[1,"primary-color"],"enableQueryParams":[4,"enable-query-params"],"widgetTitle":[1,"widget-title"],"reownProjectId":[1,"reown-project-id"],"sourceTokens":[16,"source-tokens"],"destinationTokens":[16,"destination-tokens"],"buttonText":[1,"button-text"],"maxSlippage":[2,"max-slippage"],"searchQuery":[32],"localSourceAssets":[32],"localDestinationAssets":[32],"localFromToken":[32],"localToToken":[32],"showNetworkDropdown":[32],"showChainFilterDropdown":[32],"showRouteDetails":[32],"showWalletDropdown":[32],"showConfirmation":[32],"swapStatus":[32],"lastTransactionHash":[32],"lastChainId":[32]},[[8,"click","handleWindowClick"]],{"disableSvm":["handleRuntimeFilterChange"],"disableEvm":["handleRuntimeFilterChange"],"sourceTokens":["handleTokenWhitelistChange"],"destinationTokens":["handleTokenWhitelistChange"]}]]]], options);
});

exports.setNonce = index.setNonce;
//# sourceMappingURL=m0-swap-component.cjs.js.map
