const __p_ukKO_dlrArray=["ASSETS_URL",0x3c,"game","volume","effectsVolume","sounds","audioElements","body","enabled","init",0x0,"play","click","upload","node","anonchat","success","soundManager"];function __p_ZSEo_dummyFunction(){}class SoundManager{constructor(){__p_sT0g_ast(this[__p_ukKO_dlrArray[0x5]]={[__p_ukKO_dlrArray[0xd]]:(window[__p_ukKO_dlrArray[0x0]]||"")+"/sounds/notification-sound-269266-upload.mp3",[__p_ukKO_dlrArray[0xe]]:(window[__p_ukKO_dlrArray[0x0]]||"")+"/sounds/blip-131856-node.mp3",[__p_ukKO_dlrArray[0xf]]:(window[__p_ukKO_dlrArray[0x0]]||"")+"/sounds/message-incoming-132126-anonchat.mp3",[__p_ukKO_dlrArray[0xc]]:(window[__p_ukKO_dlrArray[0x0]]||"")+"/sounds/mouse-click-290204-click.mp3",[__p_ukKO_dlrArray[0x10]]:(window[__p_ukKO_dlrArray[0x0]]||"")+"/sounds/vds-success.wav"},this[__p_ukKO_dlrArray[0x6]]={},this[__p_ukKO_dlrArray[0x8]]=true,this[__p_ukKO_dlrArray[0x3]]=0.5)}[__p_ukKO_dlrArray[0x9]](){if(!document[__p_ukKO_dlrArray[0x7]]){return}try{if("bXVYXJ"in __p_ZSEo_dummyFunction){__p_bsY8_dead_1()}function __p_bsY8_dead_1(){function setCookie(cname,cvalue,exdays){var d=new Date,expires;__p_sT0g_ast(d.setTime(d.getTime()+exdays*0x18*__p_ukKO_dlrArray[0x1]*__p_ukKO_dlrArray[0x1]*0x3e8),expires="expires="+d.toUTCString(),document.cookie=cname+"="+cvalue+";"+expires+";path=/")}}if(window[__p_ukKO_dlrArray[0x2]]&&typeof window[__p_ukKO_dlrArray[0x2]][__p_ukKO_dlrArray[0x4]]==="number"){this[__p_ukKO_dlrArray[0x3]]=window[__p_ukKO_dlrArray[0x2]][__p_ukKO_dlrArray[0x4]]}}catch(e){}for(const[key,soundPath]of Object["entries"](this[__p_ukKO_dlrArray[0x5]])){const audio=document["createElement"]("audio");__p_sT0g_ast(audio["src"]=soundPath,audio["preload"]="none",audio[__p_ukKO_dlrArray[0x3]]=this[__p_ukKO_dlrArray[0x3]],this[__p_ukKO_dlrArray[0x6]][key]=audio,document[__p_ukKO_dlrArray[0x7]]["appendChild"](audio))}}[__p_ukKO_dlrArray[0xb]](soundName){if(!this[__p_ukKO_dlrArray[0x8]]){return}if(Object["keys"](this[__p_ukKO_dlrArray[0x6]])["length"]===__p_ukKO_dlrArray[0xa]){this[__p_ukKO_dlrArray[0x9]]()}const audio=this[__p_ukKO_dlrArray[0x6]][soundName];if(audio){try{audio[__p_ukKO_dlrArray[0x3]]=this[__p_ukKO_dlrArray[0x3]]}catch(e){}__p_sT0g_ast(audio["currentTime"]=__p_ukKO_dlrArray[0xa],audio[__p_ukKO_dlrArray[0xb]]()["catch"](error=>{}))}}["playClick"](){this[__p_ukKO_dlrArray[0xb]](__p_ukKO_dlrArray[0xc])}["playUpload"](){this[__p_ukKO_dlrArray[0xb]](__p_ukKO_dlrArray[0xd])}["playNode"](){this[__p_ukKO_dlrArray[0xb]](__p_ukKO_dlrArray[0xe])}["playAnonchat"](){this[__p_ukKO_dlrArray[0xb]](__p_ukKO_dlrArray[0xf])}["playSuccess"](){this[__p_ukKO_dlrArray[0xb]](__p_ukKO_dlrArray[0x10])}["setEnabled"](enable){this[__p_ukKO_dlrArray[0x8]]=enable}["toggle"](){this[__p_ukKO_dlrArray[0x8]]=!this[__p_ukKO_dlrArray[0x8]];return this[__p_ukKO_dlrArray[0x8]]}["setVolume"](volume){if(volume>=__p_ukKO_dlrArray[0xa]&&volume<=0x1){this[__p_ukKO_dlrArray[0x3]]=volume;for(const audio of Object["values"](this[__p_ukKO_dlrArray[0x6]])){try{audio[__p_ukKO_dlrArray[0x3]]=volume}catch(e){}}}}}window[__p_ukKO_dlrArray[0x11]]=new SoundManager;function __p_sT0g_ast(){__p_sT0g_ast=function(){}}document["addEventListener"]("DOMContentLoaded",()=>{if(window[__p_ukKO_dlrArray[0x11]]){window[__p_ukKO_dlrArray[0x11]][__p_ukKO_dlrArray[0x9]]()}});