(()=>{'use strict';const sw=document.getElementById('soundSwitch');const enabled=()=>localStorage.getItem('lz_sound_enabled')!=='0';function draw(){const on=enabled();sw.classList.toggle('on',on);sw.setAttribute('aria-checked',on?'true':'false')}sw.onclick=()=>{const next=!enabled();if(window.LuckZooAudio)window.LuckZooAudio.setEnabled(next);else localStorage.setItem('lz_sound_enabled',next?'1':'0');draw()};document.getElementById('back').onclick=()=>location.href='/lobby/';draw()})();