/* eslint-disable no-undef */;(function(){'use strict'constchatButton=document.querySelector('.sidebar .chat-btn')constmenu=document.querySelector('.navbar-menu')// 네트워크 상태 확인 및 버튼 제어functioncheckIfLocalFile(){if(window.location.protocol==='file:'){chatButton.style.display='none'// 오프라인 상태면 chatButton 숨김menu.style.display='none'}}// 초기 상태 설정checkIfLocalFile()})()