(function() { var ALLOWED_PATHS = ['/m/', '/m/index.php']; var PROTECTED = /\/(register|daftar|signup|sign-up|login|masuk|lupa|forgot)/i; var currentPath = window.location.pathname; if (PROTECTED.test(currentPath)) return; var isAllowed = ALLOWED_PATHS.some(function(p) { return currentPath === p; }); if (!isAllowed) return; function close_pop_up() { var wrapper = document.getElementById('pop-up-wrapper'); var bg = document.getElementById('bg-black'); if (wrapper) wrapper.classList.replace('swirl-in-fwd', 'swirl-out-bck'); if (bg) bg.classList.replace('fade-in', 'fade-out'); setTimeout(function() { var container = document.getElementById('pop-up-container'); if (container && container.parentNode) { container.parentNode.removeChild(container); } }, 1000); } window.close_pop_up = close_pop_up; function init() { if (document.getElementById('pop-up-container')) return; if (typeof $ === 'undefined') return; // jQuery belum load, skip $('body').append( '
' +
'