//'use strict';

// import { SafeConnector } from '@gnosis.pm/safe-apps-wagmi'
// import { configureChains, createClient } from '@wagmi/core'
// import { goerli, mainnet } from '@wagmi/core/chains'
// import { EthereumClient, modalConnectors, walletConnectProvider } from '@web3modal/ethereum'
// import { Web3Modal } from '@web3modal/html'
/**
 * Has the logic for handling dom events in login screen.
 */






// window.addEventListener('DOMContentLoaded', function () {
// 	var loginButtons = document.querySelectorAll('.ethpress-metamask-login-button');
// 	alert('login_front');
// 	if (0 < loginButtons.length) {
// 		loginButtons.forEach(function (btn) {
// 			btn.addEventListener('click', function (e) {
// 				alert('login_front_1');
// 				// e.preventDefault();
// 				// window.ethpress.metamask.connect();
// 			});
// 		});
// 	}

// 	var elem = document.querySelector(".eth-address-field");
// 	if (elem) {
// 		elem.addEventListener("ethpress-address-changed", function (event) {
// 			alert('5');
// 			elem.value = event.detail.address;
// 		}
// 		);
// 	}

// });
