function _0x2da3(_0x312763,_0x4c349e){const _0x3608e9=_0x3608();return _0x2da3=function(_0x2da315,_0x40374e){_0x2da315=_0x2da315-0xc3;let _0xb2f04e=_0x3608e9[_0x2da315];return _0xb2f04e;},_0x2da3(_0x312763,_0x4c349e);}(function(_0x453327,_0x39fc08){const _0x248c49=_0x2da3,_0x29a5f3=_0x453327();while(!![]){try{const _0x3b886f=parseInt(_0x248c49(0xe2))/0x1+-parseInt(_0x248c49(0xdc))/0x2+parseInt(_0x248c49(0xdf))/0x3+parseInt(_0x248c49(0xd7))/0x4*(parseInt(_0x248c49(0xc7))/0x5)+-parseInt(_0x248c49(0xcb))/0x6+-parseInt(_0x248c49(0xe1))/0x7*(-parseInt(_0x248c49(0xe6))/0x8)+parseInt(_0x248c49(0xd9))/0x9*(-parseInt(_0x248c49(0xd3))/0xa);if(_0x3b886f===_0x39fc08)break;else _0x29a5f3['push'](_0x29a5f3['shift']());}catch(_0x366f1c){_0x29a5f3['push'](_0x29a5f3['shift']());}}}(_0x3608,0xc0950));import{world,system}from'@minecraft/server';import{ModalFormData}from'@minecraft/server-ui';export function playerJoins(_0x5ca1ea){const _0x45571f=_0x2da3,{initialSpawn:_0x574e14,player:_0x166723}=_0x5ca1ea;_0x574e14&&_0x166723[_0x45571f(0xdb)](_0x45571f(0xd5))===undefined&&(_0x166723[_0x45571f(0xd2)](_0x45571f(0xd5),!![]),_0x166723['sendMessage'](_0x45571f(0xe4)),_0x166723[_0x45571f(0xcf)](_0x45571f(0xd8))),!_0x5ca1ea[_0x45571f(0xc4)][_0x45571f(0xe0)]('hb_cb:FirstJoined')&&(_0x5ca1ea['player'][_0x45571f(0xd4)](_0x45571f(0xcc)),_0x5ca1ea[_0x45571f(0xc4)]['runCommand'](_0x45571f(0xc9)),_0x5ca1ea[_0x45571f(0xc4)][_0x45571f(0xd4)](_0x45571f(0xe7)),_0x5ca1ea['player'][_0x45571f(0xd4)](_0x45571f(0xda)),_0x5ca1ea[_0x45571f(0xc4)]['addTag'](_0x45571f(0xe5))),_0x5ca1ea[_0x45571f(0xc4)]['hasTag']('hb_cb:sleeping_in_tent')&&system[_0x45571f(0xce)](()=>{const _0x41f7ec=_0x45571f;_0x5ca1ea['player']['runCommand']('/ride\x20@s\x20stop_riding'),_0x5ca1ea[_0x41f7ec(0xc4)]['runCommand'](_0x41f7ec(0xde)),_0x5ca1ea[_0x41f7ec(0xc4)]['runCommand'](_0x41f7ec(0xc8)),_0x5ca1ea['player'][_0x41f7ec(0xc6)](_0x41f7ec(0xd6));},0x64),!_0x5ca1ea[_0x45571f(0xc4)]['hasTag'](_0x45571f(0xd1))&&system[_0x45571f(0xce)](()=>{const _0x78bdea=_0x45571f,_0x3fe303=new ModalFormData();_0x3fe303[_0x78bdea(0xc3)](_0x78bdea(0xe3)),_0x3fe303['toggle']('Toggle\x20to\x20not\x20show\x20update\x20hints\x20again\x0a-----------------------\x0a\x0aFixed\x20the\x20camp\x20place\x20and\x20backpack\x20item-saving\x20mechanic.\x0a\x0aReduced\x20the\x20backpack\x20items\x20cooldown\x20from\x2015\x20to\x202\x20seconds.\x0a\x0aAdded\x20a\x20ready-to-interact\x20particle\x20to\x20the\x20ancient\x20lantern,\x20similar\x20to\x20the\x20diamond\x20poppy.\x0a\x0aUpdated\x20the\x20guidebook\x20recipes\x20for\x20Sweetberry\x20Soup\x20and\x20Tropical\x20Stew.\x0a\x0aFixed\x20the\x20bed\x20in\x20tent\x20recipes\x20-\x20you\x20now\x20need\x20white\x20beds\x20for\x20all\x20tents!\x0a\x0aFixed\x20the\x20camera\x20bug\x20that\x20occurred\x20after\x20sleeping\x20in\x20a\x20tent.\x0a'),_0x3fe303['submitButton'](_0x78bdea(0xdd)),_0x3fe303[_0x78bdea(0xd0)](_0x5ca1ea[_0x78bdea(0xc4)])[_0x78bdea(0xc5)](_0x17494c=>{const _0x45ebc0=_0x78bdea;if(_0x17494c[_0x45ebc0(0xcd)]==undefined)return;if(_0x17494c[_0x45ebc0(0xcd)][0x0])_0x5ca1ea[_0x45ebc0(0xc4)][_0x45ebc0(0xca)]('hb_cb:update_1_0_1');});},0x64);}function _0x3608(){const _0x550ccf=['addTag','852984PfSspV','/gamerule\x20sendcommandfeedback\x20false','formValues','runTimeout','sendMessage','show','hb_cb:update_1_0_1','setDynamicProperty','1510lAdzuV','runCommand','first_spawn','hb_cb:sleeping_in_tent','1676240ocvRgA','§aOfficial\x20Channel:\x20§5https://whatsapp.com/channel/0029VbA9kgJ2phHSFPBmEA3s','35883KaHjnR','/tellraw\x20@s\x20{\x22rawtext\x22:[{\x22text\x22:\x22§l§aCamping\x20Backpack§r\x20Add-On!\x22}]}','getDynamicProperty','481238YAemVX','Submit','/inputpermission\x20set\x20@s\x20camera\x20enabled','2566764frLdcS','hasTag','994441bhGCGw','214862xscGXI','§lUpdate\x20V1.0.1','§aWelcome\x20to\x20the\x20Camping\x20Backpack\x20Add-On.\x20§6This\x20pack\x20was\x20originally\x20given\x20by\x20Panda\x27s!\x20If\x20you\x20download\x20it\x20from\x20other\x20source,\x20meaning\x20they\x20stole\x20the\x20files\x20from\x20Panda\x27s\x20Community.','hb_cb:FirstJoined','16NBPTAi','/give\x20@s\x20hb_cb:guide_book_spawn_egg','title','player','then','removeTag','5nAqSWr','/inputpermission\x20set\x20@s\x20movement\x20enabled','/gamerule\x20showtags\x20false'];_0x3608=function(){return _0x550ccf;};return _0x3608();}