document.addEventListener("DOMContentLoaded",function(){const n=(window.sessionConfig||{}).translations||{};document.querySelectorAll(".js-revoke-form").forEach(function(o){o.addEventListener("submit",function(e){const r=n.revokeConfirm||"Are you sure you want to revoke this session?";confirm(r)||e.preventDefault()})});const t=document.querySelector(".js-revoke-all-form");t&&t.addEventListener("submit",function(o){const e=n.revokeAllConfirm||"Are you sure you want to revoke all other sessions?";confirm(e)||o.preventDefault()})});
