{"version":3,"sources":["Site.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"resources.js","sourcesContent":["(function () {\n let togglePassword = document.querySelector(\".toggle-password\");\n if(togglePassword) \n togglePassword.onclick = () => {\n const newClassName = togglePassword\n .className\n .split(\" \")\n .map(x => {\n if (x === \"fa-eye\") {\n return \"fa-eye-slash\";\n } else if (x === \"fa-eye-slash\") {\n return \"fa-eye\";\n } else {\n return x;\n }\r\n })\n .join(\" \");\n togglePassword.className = newClassName;\n const input = document.querySelector(\"#password\");\n const newType = input.type === \"password\" ? \"text\" : \"password\";\n input.type = newType;\n }\n\n let togglePasswordConfirmation = document.querySelector(\".toggle-password-confirmation\");\n if(togglePasswordConfirmation)\n togglePasswordConfirmation.onclick = () => {\n const newClassName = togglePasswordConfirmation\n .className\n .split(\" \")\n .map(x => {\n if (x === \"fa-eye\") {\n return \"fa-eye-slash\";\n } else if (x === \"fa-eye-slash\") {\n return \"fa-eye\";\n } else {\n return x;\n }\r\n })\n .join(\" \");\n togglePasswordConfirmation.className = newClassName;\n const input = document.querySelector(\"#password-confirmation\");\n const newType = input.type === \"password\" ? \"text\" : \"password\";\n input.type = newType;\n }\n})();"]}