/******/ (() => { // webpackBootstrap
/*!**********************************************!*\
  !*** ./assets/src/blocks/login-form/view.js ***!
  \**********************************************/
document.addEventListener('DOMContentLoaded', function () {
  const toggleButtons = document.querySelectorAll('.toggle-password');
  toggleButtons.forEach(function (btn) {
    btn.addEventListener('click', function () {
      const targetId = btn.getAttribute('data-target');
      const input = document.getElementById(targetId);
      if (input) {
        if (input.type === 'password') {
          input.type = 'text';
        } else {
          input.type = 'password';
        }
      }
    });
  });
});
/******/ })()
;
//# sourceMappingURL=view.js.map