PageSourceSearch

https://mcraft.fun/static/js/index.d80b26ee.js

js mcraft.fun collected 2026-10-04 23:23:05 UTC 1,209,610 bytes, 2 lines download raw bytes

1(()=>{var e={38930:function(){},66490:function(e){function webpackEmptyContext(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=66490,e.exports=webpackEmptyContext},16805:function(e,t,n){var r={"./1.12/colors.json":"23341","./1.16/colors.json":"83381","./1.8/colors.json":"54565"};function webpackContext(e){return n(webpackContextResolve(e))}function webpackContextResolve(e){if(!n.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}webpackContext.keys=function(){return Object.keys(r)},webpackContext.resolve=webpackContextResolve,e.exports=webpackContext,webpackContext.id=16805},91317:function(e,t,n){var r={"./BitArray":"56685","./BitArray.js":"56685","./BitArrayNoSpan":"49924","./BitArrayNoSpan.js":"49924"};function webpackContext(e){return n(webpackContextResolve(e))}function webpackContextResolve(e){if(!n.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}webpackContext.keys=function(){return Object.keys(r)},webpackContext.resolve=webpackContextResolve,e.exports=webpackContext,webpackContext.id=91317},45938:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseSimulator:()=>o.x,BoatPhysics:()=>i.H0,BoatState:()=>s.ed,BoatStatus:()=>s.gb,BotcraftPhysics:()=>i.z8,ControlStateHandler:()=>l.t,EPhysicsCtx:()=>r.c3,EntityPhysics:()=>i.UF,EntityState:()=>s.nT,HorsePhysics:()=>i.A7,HorseState:()=>s.jV,PhysicsUtilWrapper:()=>a.I,PhysicsWorldSettings:()=>r.D2,PlayerPoses:()=>s.Jf,PlayerState:()=>s.fL,applyToPlayerState:()=>c.fz,convertPlayerState:()=>c.tb,default:()=>loader,initSetup:()=>initSetup});var r=n(11317),a=n(31084),o=n(47861),i=n(99686),s=n(36486),l=n(40302),c=n(50738);function loader(e){e.physicsUtil||(initSetup(e.registry),e.physicsUtil=new a.I(e))}function initSetup(e){r.c3.loadData(e)}},32175:function(e,t,n){"use strict";n.d(t,{EX:()=>d,TK:()=>w,h0:()=>updateQsParam}),n(52003),n(23712),n(12989),n(78873),n(96573),n(94244),n(42050),n(83902),n(79525),n(96220),n(73372),n(76148),n(2685),n(8705),n(48899);var r,a,o,i,s,l=n(40451),c=n(14224),u=new URLSearchParams(null!=(i=null==(r=window.location)?void 0:r.search)?i:"");null!=(o=globalThis).process||(o.process={}),null==c||null==(a=c.env)||a.INLINED_APP_CONFIG;var d=new Proxy({},{get:function(e,t){if("string"==typeof t){var n,r,a=u.get(t);return a||(null==(r=l.N_.appConfig)||null==(n=r.appParams)?void 0:n[t])}}}),w=new Proxy({},{get:function(e,t){if("string"!=typeof t)return null;var n,r,a,o=u.getAll(t);return o.length?o:null!=(a=null==(r=l.N_.appConfig)||null==(n=r.appParams)?void 0:n[t])?a:[]}});function updateQsParam(e,t){var n=new URL(window.location.href);t?n.searchParams.set(e,t):n.searchParams.delete(e),window.history.replaceState({},"",n.toString())}globalThis.debugQueryParams=Object.fromEntries(u.entries())},19478:function(e,t,n){"use strict";n.d(t,{Pc:()=>l,d5:()=>formatLoadingScreenError,d8:()=>setLoadingScreenStatus});var r=n(81979);n(74822),n(96220),n(15209),n(72558),n(58207),n(55058),n(29127),n(95790),n(83902),n(73372);var a=n(54694),o=n(40451),i=n(76945),s="",formatErrorDetail=function(e){if(e instanceof Error||(void 0===e?"undefined":(0,r._)(e))==="object"&&null!==e&&"message"in e&&"string"==typeof e.message){var t,n,a,o,i;return e.stack?(t=e.stack,n=e.message,(i=null==(a=(o=t.split("\n"))[1])?void 0:a.trim())?"".concat(o[0],"\n\n").concat(i):n):e.message}return String(e)},formatLoadingScreenError=function(e,t){return"".concat(e,": ").concat(formatErrorDetail(t))},setLoadingScreenStatus=function(e){var t,n,r,l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],d=arguments.length>4?arguments[4]:void 0;if("string"==typeof e&&(e=null!=(r=null==(t=(n=window).translateText)?void 0:t.call(n,e))?r:e),null===e?e=s:u||(s=e),u=!1,void 0===e){i.ou.status="",(0,o.VG)({reactType:"app-status"},{},{force:!0});return}o.M.some(function(e){return"app-status"===e.reactType})||(0,i.FI)(),(0,o.K4)({reactType:"app-status"}),!i.ou.isError&&(i.ou.hideDots=c,i.ou.isError=l,i.ou.lastStatus=l?i.ou.status:"",i.ou.status=e,i.ou.minecraftJsonMessage=null!=d?d:null,l&&o.N_.gameLoaded&&(0,a.IL)())};globalThis.setLoadingScreenStatus=setLoadingScreenStatus;var l={value:null,hadWorldLoaded:!1};globalThis.lastConnectOptions=l},47536:function(e,t,n){"use strict";n.d(t,{Ap:()=>stopSound,IZ:()=>loadSound,YR:()=>stopAllSounds,_y:()=>M});var r,a,o=n(14772),i=n(9787);n(67022),n(56520),n(40542),n(56070),n(83902),n(72558),n(58207),n(26980),n(52457),n(11304),n(7960),n(46302),n(64813),n(96573),n(94244),n(42050);var s=n(32719),l=n(30367),c=n(28350),u=n(5969),d={},w=[];window.activeSounds=w;var p=[],h=[];function loadSound(e){return _loadSound.apply(this,arguments)}function _loadSound(){return(_loadSound=(0,o._)(function(e){var t,n,r,o,s,l,u=arguments;return(0,i.Jh)(this,function(i){switch(i.label){case 0:if(t=u.length>1&&void 0!==u[1]?u[1]:e,p.includes(e))return[2,!0];p.push(e),i.label=1;case 1:return i.trys.push([1,5,,6]),null!=a||(a=new window.AudioContext),[4,window.fetch(t)];case 2:if(!(n=i.sent()).ok){if(r="Failed to load sound ".concat(e),(0,c.x)())throw Error(r);return console.warn(r),[2]}return[4,n.arrayBuffer()];case 3:return o=i.sent(),[4,a.decodeAudioData(o)];case 4:return s=i.sent(),d[e]=s,h.push(e),p.splice(p.indexOf(e),1),[3,6];case 5:if(l=i.sent(),console.warn("Failed to load sound ".concat(e,":"),l),p.splice(p.indexOf(e),1),(0,c.x)())throw l;return[3,6];case 6:return[2]}})})).apply(this,arguments)}window.loadSound=loadSound;var M=(r=(0,o._)(function(e){var t,n,r,a,o,s=arguments;return(0,i.Jh)(this,function(i){switch(i.label){case 0:if(t=s.length>1&&void 0!==s[1]?s[1]:1,n=s.length>2&&void 0!==s[2]?s[2]:l.YM.remoteSoundsLoadTimeout,r=s.length>3&&void 0!==s[3]&&s[3],a=s.length>4&&void 0!==s[4]&&s[4],d[e])return[3,2];return o=Date.now(),[4,loadSound(e)];case 1:if(i.sent()||Date.now()-o>n)return[2];i.label=2;case 2:return[2,playSound(e,t,r,a)]}})}),function(e){return r.apply(this,arguments)});function playSound(e){return _playSound.apply(this,arguments)}function _playSound(){return(_playSound=(0,o._)(function(e){var t,n,r,o,s,c,p,h,M=arguments;return(0,i.Jh)(this,function(i){if(t=M.length>1&&void 0!==M[1]?M[1]:1,n=M.length>2&&void 0!==M[2]&&M[2],r=M.length>3&&void 0!==M[3]&&M[3],!(o=t*(l.YM.volume/100)*(r?l.YM.musicVolume/100:1)))return[2];try{null!=a||(a=new window.AudioContext)}catch(e){return(0,u.P_)("audioContext","Failed to create audio context. Some sounds will not play"),[2]}return(s=d[e])?(c=a.createGain(),(p=a.createBufferSource()).buffer=s,p.loop=n,p.connect(c),c.connect(a.destination),c.gain.value=o,p.start(0),w.push({source:p,gainNode:c,volumeMultiplier:t,isMusic:r}),h=[],p.onended=function(){var e=w.findIndex(function(e){return e.source===p});-1!==e&&w.splice(e,1);var t=!0,n=!1,r=void 0;try{for(var a,o=h[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)(0,a.value)()}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}h.length=0},[2,{onEnded:function(e){h.push(e)},stop:function(){try{p.stop();var e=w.findIndex(function(e){return e.source===p});-1!==e&&w.splice(e,1)}catch(e){console.warn("Failed to stop sound:",e)}},gainNode:c}]):(console.warn("Sound ".concat(e," not loaded yet")),[2])})})).apply(this,arguments)}function stopAllSounds(){var e=!0,t=!1,n=void 0;try{for(var r,a=w[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value.source;try{o.stop()}catch(e){console.warn("Failed to stop sound:",e)}}}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}w.length=0}function stopSound(e){var t=w.findIndex(function(t){return t.source.buffer===d[e]});if(-1!==t){var n=w[t].source;try{n.stop()}catch(e){console.warn("Failed to stop sound:",e)}w.splice(t,1)}}function changeVolumeOfCurrentlyPlayingSounds(e,t){var n=e/100,r=!0,a=!1,o=void 0;try{for(var i,s=w[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=i.value,c=l.gainNode,u=l.volumeMultiplier,d=l.isMusic;try{c.gain.value=n*u*(d?t/100:1)}catch(e){console.warn("Failed to change sound volume:",e)}}}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}}window.playSound=playSound,(0,s.VW)(l.YM,"volume",function(){changeVolumeOfCurrentlyPlayingSounds(l.YM.volume,l.YM.musicVolume)}),(0,s.VW)(l.YM,"musicVolume",function(){changeVolumeOfCurrentlyPlayingSounds(l.YM.volume,l.YM.musicVolume)})},80297:function(e,t,n){"use strict";n.d(t,{$:()=>parseFormattedMessagePacket,w:()=>displayClientChat});var r=n(81979);n(56515),n(87620),n(83210);var a=n(13047),o=n(85681),displayClientChat=function(e){var t="string"==typeof e?{text:e}:e;
1if((0,a.Uo)(bot.version)>=(0,a.Uo)("1.19"))return void bot._client.emit("systemChat",{formattedMessage:JSON.stringify(t),position:0,sender:"minecraft:chat"});bot._client.emit("chat",{message:JSON.stringify(t),position:0,sender:"minecraft:chat"})},parseFormattedMessagePacket=function(e){if("string"==typeof e)try{return{formatted:e=JSON.parse(e),plain:""}}catch(e){}if((void 0===e?"undefined":(0,r._)(e))==="object")try{return{formatted:o.simplify(e),plain:""}}catch(t){return console.warn("Failed to parse formatted message",e,t),{plain:JSON.stringify(e)}}return{plain:String(e)}}},54694:function(e,t,n){"use strict";n.d(t,{$C:()=>ei,BS:()=>$,D4:()=>G,DL:()=>resetLocalStorage,Fm:()=>X,IL:()=>resetStateAfterDisconnect,LB:()=>er,O8:()=>H,PM:()=>ee,dT:()=>el,e:()=>googleDriveGetFileIdFromPath,hz:()=>possiblyCleanHandle,ic:()=>es,lh:()=>eu,s8:()=>ea,vj:()=>K,xl:()=>Z,y:()=>openFilePicker,y8:()=>removeFileRecursiveAsync,yc:()=>eo});var r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,y,A=n(14772),b=n(4186),_=n(22312),L=n(59240),C=n(25763),j=n(9787);n(72558),n(48899),n(96573),n(90804),n(24705),n(53346),n(58207),n(86070),n(50183),n(34812),n(69047),n(95922),n(95790),n(83902),n(81812),n(96220),n(56070),n(14394),n(7960),n(46302),n(64813),n(94244),n(42050),n(74822),n(40542),n(5269),n(31325),n(68732),n(76148),n(2685),n(52003),n(23712),n(12989),n(78873),n(8705),n(58819),n(32831),n(55058),n(29127);var D=n(62005),x=n(93585),k=n(9304),T=n.n(k),N=n(50210),S=n.n(N),z=n(81814),q=n(85929),E=n(30367),I=n(24375),P=n(44214),Y=n(40451),O=n(19478),R=n(2905),B=n(46644),U=n(12179),Q=n(78425),F=n(55872).Buffer,W=n(32527)._;q.install(window);var V={"/data":{fs:"IndexedDB"},"/resourcepack":{fs:"InMemory"},"/temp":{fs:"InMemory"}},J={"/resourcepack":{fs:"InMemory"},"/temp":{fs:"InMemory"}};q.configure({fs:"MountableFileSystem",options:V},(r=(0,A._)(function(e){return(0,j.Jh)(this,function(t){switch(t.label){case 0:if(e){var n;return q.configure({fs:"MountableFileSystem",options:J},(n=(0,A._)(function(t){return(0,j.Jh)(this,function(n){if(t)throw(0,U.c0)("Unknown FS error, cannot continue",t.message,!0),t;return(0,U.c0)("Failed to access device storage","Check you have free space. ".concat(e.message),!0),Y.N_.fsReady=!0,Y.N_.singleplayerAvailable=!1,[2]})}),function(e){return n.apply(this,arguments)})),[2]}return[4,(0,P.V_)()];case 1:return t.sent(),Y.N_.fsReady=!0,Y.N_.singleplayerAvailable=!0,[2]}})}),function(e){return r.apply(this,arguments)}));var G={},H={};window.fs=T(),T().promises=new Proxy(Object.fromEntries(["readFile","writeFile","stat","mkdir","rmdir","unlink","rename","readdir"].map(function(e){return[e,(0,x.promisify)(T()[e])]})),{get:function(e,t,n){if(!e[t])throw Error("Not implemented fs.promises.".concat(t));return function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];"string"!=typeof r[0]||r[0].startsWith("/")||(r[0]="/"+r[0]);var o=Object.entries(H).find(function(e){var t=(0,L._)(e,1)[0];return r[0].startsWith(t)});if(o&&(r[0]=r[0].replace(o[0],o[1])),I.RL.isReadonly&&!(r[0].startsWith("/data")&&!I.RL.inMemorySave)){if((0,z.oneOf)(t,"readFile","writeFile")&&G[r[0]]){if("readFile"===t)return Promise.resolve(G[r[0]]);else if("writeFile"===t)return G[r[0]]=r[1],console.debug("Skipped writing to readonly fs",r[0]),Promise.resolve()}if((0,z.oneOf)(t,"writeFile","mkdir","rename"))return}return"open"===t&&I.RL.isReadonly&&(r[1]="r"),"readFile"===t?I.RL.openReadOperations++:"writeFile"===t&&I.RL.openWriteOperations++,e[t].apply(e,(0,C._)(r)).finally(function(){"readFile"===t?I.RL.openReadOperations--:"writeFile"===t&&I.RL.openWriteOperations--})}}}),T().promises.open=(0,A._)(function(){var e,t,n,r,a=arguments;return(0,j.Jh)(this,function(o){switch(o.label){case 0:for(t=Array(e=a.length),n=0;n<e;n++)t[n]=a[n];return[4,(0,x.promisify)(T().open).apply(this,(0,C._)(t))];case 1:return r=o.sent(),[2,(0,_._)((0,b._)({},Object.fromEntries(["read","write","close"].map(function(e){return[e,(0,A._)(function(){var t,n,a,o=arguments;return(0,j.Jh)(this,function(i){for(n=Array(t=o.length),a=0;a<t;a++)n[a]=o[a];return[2,new Promise(function(t){var a;if("write"===e&&I.RL.isReadonly)return void t({buffer:F.from([]),bytesRead:0});"read"===e?I.RL.openReadOperations++:("write"===e||"close"===e)&&I.RL.openWriteOperations++,(a=T())[e].apply(a,[r].concat((0,C._)(n),[function(n,a,o){if("read"===e?I.RL.openReadOperations--:("write"===e||"close"===e)&&I.RL.openWriteOperations--,n)throw n;"write"!==e||I.RL.isReadonly||T().fsync(r,function(){}),t({buffer:o,bytesRead:a})}]))})]})})]}))),{fd:r,filename:t[0],close:function(){return(0,A._)(function(){return(0,j.Jh)(this,function(e){return[2,new Promise(function(e){T().close(r,function(t){if(t)throw t;e()})})]})})()}})]}})});var removeFileRecursiveSync=function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=T().readdirSync(e)[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value,s=(0,D.join)(e,i);T().lstatSync(s).isDirectory()?(removeFileRecursiveSync(s),T().rmdirSync(s)):T().unlinkSync(s)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}};window.removeFileRecursiveSync=removeFileRecursiveSync;var Z=(a=(0,A._)(function(e){var t,n,r,a,o,i,s,l,c;return(0,j.Jh)(this,function(u){switch(u.label){case 0:t=e.split("/"),n="",r=!0,a=!1,o=void 0,u.label=1;case 1:u.trys.push([1,8,9,10]),i=t[Symbol.iterator](),u.label=2;case 2:if(r=(s=i.next()).done)return[3,7];
1l=s.value,n+=l+"/",u.label=3;case 3:return u.trys.push([3,5,,6]),[4,T().promises.mkdir(n)];case 4:case 5:return u.sent(),[3,6];case 6:return r=!0,[3,2];case 7:return[3,10];case 8:return c=u.sent(),a=!0,o=c,[3,10];case 9:try{r||null==i.return||i.return()}finally{if(a)throw o}return[7];case 10:return[2]}})}),function(e){return a.apply(this,arguments)}),K=(o=(0,A._)(function(e,t){var n,r,a,o;return(0,j.Jh)(this,function(i){switch(i.label){case 0:n=S()(e),a=0,o=!1,i.label=1;case 1:if(o)return[3,6];i.label=2;case 2:return i.trys.push([2,4,,5]),r="".concat(t.replace(/\$/,""),"/").concat(n).concat(0===a?"":"-".concat(a)),[4,T().promises.stat(r)];case 3:return i.sent(),a++,[3,5];case 4:return i.sent(),o=!0,[3,5];case 5:return[3,1];case 6:return[2,r]}})}),function(e,t){return o.apply(this,arguments)}),X=(i=(0,A._)(function(){var e,t;return(0,j.Jh)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,showDirectoryPicker({id:"world-export"})];case 1:return e=n.sent(),[3,3];case 2:if((t=n.sent())instanceof DOMException&&"AbortError"===t.name)return[2];throw t;case 3:if(!e)return[2,!1];return[4,new Promise(function(t){q.configure({fs:"MountableFileSystem",options:(0,_._)((0,b._)({},V),{"/export":{fs:"FileSystemAccess",options:{handle:e}}})},function(e){if(e)throw e;t()})})];case 4:return n.sent(),[2,!0]}})}),function(){return i.apply(this,arguments)}),googleDriveGetFileIdFromPath=function(e){return y._getExistingFileId(e)},$=(s=(0,A._)(function(e,t){return(0,j.Jh)(this,function(n){switch(n.label){case 0:return(y=new W).rootDirId=t,y.isReadonly=e,[4,new Promise(function(e){q.configure({fs:"MountableFileSystem",options:(0,_._)((0,b._)({},V),{"/google":y})},function(t){if(t)throw t;e()})})];case 1:return n.sent(),I.RL.isReadonly=e,I.RL.syncFs=!1,I.RL.inMemorySave=!1,I.RL.remoteBackend=!0,[2,!0]}})}),function(e,t){return s.apply(this,arguments)});function removeFileRecursiveAsync(e){return _removeFileRecursiveAsync.apply(this,arguments)}function _removeFileRecursiveAsync(){return(_removeFileRecursiveAsync=(0,A._)(function(e){var t,n,r,a=arguments;return(0,j.Jh)(this,function(o){switch(o.label){case 0:t=!(a.length>1)||void 0===a[1]||a[1],n=[],o.label=1;case 1:return o.trys.push([1,6,,7]),[4,T().promises.readdir(e)];case 2:var i;return[4,Promise.all(o.sent().map((i=(0,A._)(function(t){var n;return(0,j.Jh)(this,function(r){switch(r.label){case 0:return n=(0,D.join)(e,t),[4,T().promises.stat(n)];case 1:if(!r.sent().isDirectory())return[3,3];return[4,removeFileRecursiveAsync(n)];case 2:return r.sent(),[3,5];case 3:return[4,T().promises.unlink(n)];case 4:r.sent(),r.label=5;case 5:return[2]}})}),function(e){return i.apply(this,arguments)})))];case 3:if(o.sent(),!t)return[3,5];return[4,T().promises.rmdir(e)];case 4:o.sent(),o.label=5;case 5:return[3,7];case 6:return r=o.sent(),n.push([e,r]),[3,7];case 7:return n.length&&setTimeout(function(){throw console.error(n),Error("Error removing directories/files: ".concat(n.map(function(e){var t=(0,L._)(e,2),n=t[0],r=t[1];return"".concat(n,": ").concat(r.message)}).join(", ")))}),[2]}})})).apply(this,arguments)}var ee=(l=(0,A._)(function(e){var t,n,r,a,o,i;return(0,j.Jh)(this,function(s){switch(s.label){case 0:if(!e)return[3,1];return n=e,[3,4];case 1:return s.trys.push([1,3,,4]),[4,window.showDirectoryPicker({id:"select-world"})];case 2:return n=s.sent(),[3,4];case 3:if((r=s.sent())instanceof DOMException&&"AbortError"===r.name)return[2];throw r;case 4:if(a=n,E.YM.preferLoadReadonly)return[3,6];return[4,null==(t=a.requestPermission)?void 0:t.call(a,{mode:"readwrite"})];case 5:return o=s.sent(),[3,7];case 6:o=void 0,s.label=7;case 7:if(!((i="granted"===o)||E.YM.disableLoadPrompts||confirm("Continue in readonly mode?")))return[2];return[4,new Promise(function(e){q.configure({fs:"MountableFileSystem",options:(0,_._)((0,b._)({},V),{"/world":{fs:"FileSystemAccess",options:{handle:a}}})},function(t){if(t)throw t;e()})})];case 8:return s.sent(),I.RL.isReadonly=!i,I.RL.syncFs=!1,I.RL.inMemorySave=!1,I.RL.remoteBackend=!1,[4,(0,I.uW)()];case 9:return s.sent(),[2]}})}),function(e){return l.apply(this,arguments)}),et=(c=(0,A._)(function(){return(0,j.Jh)(this,function(e){switch(e.label){case 0:var t;if(t=(0,A._)(function(){return(0,j.Jh)(this,function(e){return[2,alert("ATM You can install texturepacks only via options menu.")]})}),!T().existsSync("/world/pack.mcmeta"))return[3,2];return[4,function(){return t.apply(this,arguments)}()];case 1:return e.sent(),[2,!0];case 2:return[2]}})}),function(){return c.apply(this,arguments)}),possiblyCleanHandle=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};I.RL.saveLoaded||q.configure({fs:"MountableFileSystem",options:V},function(t){if(e(),t)throw t})},en=(u=(0,A._)(function(e){return(0,j.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,T().promises.readdir(e)];case 1:return[2,t.sent()];case 2:return t.sent(),[2,null];case 3:return[2]}})}),function(e){return u.apply(this,arguments)}),er=(d=(0,A._)(function(e){var t,n,r,a=arguments;return(0,j.Jh)(this,function(o){switch(o.label){case 0:var i;return t=a.length>1&&void 0!==a[1]&&a[1],n=[],i=(0,A._)(function(a){var o,i,s;return(0,j.Jh)(this,function(l){switch(l.label){case 0:if(o=(0,D.join)(e,a),!("."===a&&!t))return[3,2];return[4,T().promises.readdir(o)];case 1:return s=l.sent(),[3,4];case 2:return[4,en(o)];case 3:s=l.sent(),l.label=4;case 4:var c;if(!(i=s))return[2,null];return[4,Promise.all(i.map((c=(0,A._)(function(e){return(0,j.Jh)(this,function(t){switch(t.label){case 0:return[4,r((0,D.join)(a,e))];case 1:return null===t.sent()&&n.push((0,D.join)(a,e)),[2]}})}),function(e){return c.apply(this,arguments)})))];case 5:return l.sent(),[2]}})}),[4,(r=function(e){return i.apply(this,arguments)})(".")];case 1:return o.sent(),[2,n]}})}),function(e){return d.apply(this,arguments)}),ea=(w=(0,A._)(function(e,t){var n,r,a,o,i,s,l,c,u,d=arguments;return(0,j.Jh)(this,function(w){switch(w.label){case 0:return n=!(d.length>2)||void 0===d[2]||d[2],r=d.length>3&&void 0!==d[3]?d[3]:"",[4,eo(e)];case 1:if(!(a=w.sent())){if(n)throw Error("Cannot copy. Source directory ".concat(e," does not exist"));return console.debug("source directory does not exist",e),[2]}if(a.isDirectory())return[3,4];return i=(o=T().promises).writeFile,s=[t],[4,T().promises.readFile(e)
1];case 2:return[4,i.apply(o,s.concat([w.sent()]))];case 3:return w.sent(),console.debug("copied single file",e,t),[2];case 4:var p;return w.trys.push([4,,7,8]),(0,O.d8)("Copying files"),l=0,p=(0,A._)(function(e){return(0,j.Jh)(this,function(t){switch(t.label){case 0:return[4,T().promises.readdir(e)];case 1:var n;return[4,Promise.all(t.sent().map((n=(0,A._)(function(t){var n;return(0,j.Jh)(this,function(r){switch(r.label){case 0:return n=(0,D.join)(e,t),[4,T().promises.stat(n)];case 1:if(!r.sent().isDirectory())return[3,3];return[4,c(n)];case 2:return r.sent(),[3,4];case 3:l++,r.label=4;case 4:return[2]}})}),function(e){return n.apply(this,arguments)})))];case 2:return t.sent(),[2]}})}),c=function(e){return p.apply(this,arguments)},console.debug("Counting files",e),[4,c(e)];case 5:return w.sent(),console.debug("counted",l),u=0,[4,es(e,t,function(e){u++,(0,O.d8)("Copying files".concat(r," (").concat(u,"/").concat(l,"): ").concat(e))})];case 6:return w.sent(),[3,8];case 7:return(0,O.d8)(void 0),[7];case 8:return[2]}})}),function(e,t){return w.apply(this,arguments)}),eo=(p=(0,A._)(function(e){return(0,j.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,T().promises.stat(e)];case 1:return[2,t.sent()];case 2:return t.sent(),[2,!1];case 3:return[2]}})}),function(e){return p.apply(this,arguments)}),ei=(h=(0,A._)(function(e){var t;return(0,j.Jh)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,T().promises.readdir(e)];case 1:return n.sent(),[3,3];case 2:if("ENOTDIR"===(t=n.sent()).code)return[2,!0];return t.code,[2,!1];case 3:return[2,!0]}})}),function(e){return h.apply(this,arguments)}),es=(M=(0,A._)(function(e,t,n){var r;return(0,j.Jh)(this,function(a){switch(a.label){case 0:return[4,T().promises.readdir(e)];case 1:return r=a.sent(),[4,eo(t)];case 2:if(a.sent())return[3,4];return[4,T().promises.mkdir(t,{recursive:!0})];case 3:a.sent(),a.label=4;case 4:var o;return[4,Promise.all(r.map((o=(0,A._)(function(r){var a,o,i,s,l,c;return(0,j.Jh)(this,function(u){switch(u.label){case 0:return a=(0,D.join)(e,r),o=(0,D.join)(t,r),[4,T().promises.stat(a)];case 1:if(!u.sent().isDirectory())return[3,4];return[4,T().promises.mkdir(o)];case 2:return u.sent(),[4,es(a,o,n)];case 3:return u.sent(),[3,9];case 4:return u.trys.push([4,7,,8]),s=(i=T().promises).writeFile,l=[o],[4,T().promises.readFile(a)];case 5:return[4,s.apply(i,l.concat([u.sent()]))];case 6:return u.sent(),console.debug("copied file",a,o),[3,8];case 7:throw c=u.sent(),console.error("Error copying file",a,o,c),c;case 8:null==n||n(o),u.label=9;case 9:return[2]}})}),function(e){return o.apply(this,arguments)})))];case 5:return a.sent(),[2]}})}),function(e,t,n){return M.apply(this,arguments)}),el=(g=(0,A._)(function(e,t){var n,r,a,o,i,s,l,c,u;return(0,j.Jh)(this,function(d){switch(d.label){case 0:a=!0,o=!1,i=void 0,d.label=1;case 1:d.trys.push([1,6,7,8]),s=function(){var e,a,o,i;return(0,j.Jh)(this,function(s){switch(s.label){case 0:e=c.value,a=void 0,s.label=1;case 1:return s.trys.push([1,4,,5]),(0,O.d8)("Trying to get world descriptor from ".concat(new URL(e).host)),o=new AbortController,setTimeout(function(){o.abort()},3e3),[4,fetch(e,{signal:o.signal})];case 2:return[4,s.sent().json()];case 3:return a=s.sent(),[3,5];case 4:return i=s.sent(),console.error("Error fetching file descriptor",e,i),[3,5];case 5:if(!a)return[2,"continue"];return a.baseUrl?(r=new URL(a.baseUrl,r).toString(),n=a.index):(n=a,r=null!=t?t:e.split("/").slice(0,-1).join("/")),[2,"break"]}})},l=e[Symbol.iterator](),d.label=2;case 2:if(a=(c=l.next()).done)return[3,5];return[5,(0,j.XA)(s())];case 3:if("break"===d.sent())return[3,5];d.label=4;case 4:return a=!0,[3,2];case 5:return[3,8];case 6:return u=d.sent(),o=!0,i=u,[3,8];case 7:try{a||null==l.return||l.return()}finally{if(o)throw i}return[7];case 8:var w;if(!n)throw Error("The provided mapDir file is not valid descriptor file! ".concat(e.join(", ")));return[4,new Promise((w=(0,A._)(function(e){return(0,j.Jh)(this,function(t){return q.configure({fs:"MountableFileSystem",options:(0,_._)((0,b._)({},V),{"/world":{fs:"HTTPRequest",options:{index:n,baseUrl:r}}})},function(t){if(t)throw t;e()}),[2]})}),function(e){return w.apply(this,arguments)}))];case 9:return d.sent(),I.RL.saveLoaded=!1,I.RL.isReadonly=!0,I.RL.syncFs=!1,I.RL.inMemorySave=!1,I.RL.remoteBackend=!0,[4,(0,I.uW)()];case 10:return d.sent(),[2]}})}),function(e,t){return g.apply(this,arguments)}),ec=(m=(0,A._)(function(e){var t,n,r,a,o,i,s,l,c,u,d=arguments;return(0,j.Jh)(this,function(w){switch(w.label){case 0:var p;return t=d.length>1&&void 0!==d[1]?d[1]:e.name,n=d.length>2?d[2]:void 0,[4,new Promise((p=(0,A._)(function(n){var r,a,o,i,s,l,c,u,d;return(0,j.Jh)(this,function(w){switch(w.label){case 0:if(r=q.configure,a={fs:"MountableFileSystem"},o=[(0,b._)({},V)],i={},s="/world",l={fs:"ZipFS"},c={},u=F.from,!(e instanceof File))return[3,2];return[4,e.arrayBuffer()];case 1:return d=w.sent(),[3,3];case 2:d=e,w.label=3;case 3:return r.apply(q,[(a.options=_._.apply(void 0,o.concat([(i[s]=(l.options=(c.zipData=u.apply(F,[d]),c.name=t,c),l),i)])),a),function(e){if(e)throw e;n()}]),[2]}})}),function(e){return p.apply(this,arguments)}))];case 1:if(w.sent(),I.RL.saveLoaded=!1,I.RL.isReadonly=!0,I.RL.syncFs=!0,I.RL.inMemorySave=!1,I.RL.remoteBackend=!1,!T().existsSync("/world/level.dat"))return[3,3];return[4,(0,I.uW)()];case 2:return w.sent(),[3,8];case 3:r=T().readdirSync("/world"),a=[],o=!0,i=!1,s=void 0;try{for(l=r[Symbol.iterator]();!(o=(c=l.next()).done);o=!0)u=c.value,T().existsSync("/world/".concat(u,"/level.dat"))&&a.push(u)}catch(e){i=!0,s=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw s}}if(0!==a.length)return[3,5];return[4,et()];case 4:if(w.sent())return[2];
1return alert("No worlds found in the zip"),[2];case 5:if(1!==a.length)return[3,7];return[4,(0,I.uW)("/world/".concat(a[0]),n)];case 6:return w.sent(),[2];case 7:alert("Many (".concat(a.length,") worlds found in the zip!")),w.label=8;case 8:return[2]}})}),function(e){return m.apply(this,arguments)}),eu=(v=(0,A._)(function(){var e,t,n,r=arguments;return(0,j.Jh)(this,function(a){switch(a.label){case 0:for(t=Array(e=r.length),n=0;n<e;n++)t[n]=r[n];a.label=1;case 1:return a.trys.push([1,,3,4]),[4,ec.apply(void 0,(0,C._)(t))];case 2:return[2,a.sent()];case 3:return possiblyCleanHandle(),[7];case 4:return[2]}})}),function(){return v.apply(this,arguments)}),resetLocalStorage=function(){(0,E._G)(),(0,Q.Z_)()};window.resetLocalStorage=resetLocalStorage;var openFilePicker=function(e){var t=document.body.querySelector("input#file-zip-picker");t||((t=document.createElement("input")).type="file",t.accept=e?".zip":(0,C._)(R.Uv).concat([".zip"]).join(","),t.addEventListener("change",function(){var n,r=null==(n=t.files)?void 0:n[0];if(t.value="",r)if("resourcepack"===e){if(!r.name.endsWith(".zip")&&!confirm("Are you sure ".concat(r.name.slice(-20)," is .zip file? ONLY .zip files are supported. Continue?")))return;(0,P.UA)(r,(0,B.xC)()).catch(function(e){(0,O.d8)(e.message,!0)})}else R.Uv.some(function(e){return r.name.endsWith(e)})||r.name.startsWith("packets-replay")?r.text().then(function(e){(0,R.ZB)({contents:e,filename:r.name,filesize:r.size})}):eu(r)}),t.hidden=!0,document.body.appendChild(t)),t.click()},resetStateAfterDisconnect=function(){Y.N_.gameLoaded=!1,Y.N_.loadedDataVersion=null,Y.N_.singleplayer=!1,Y.N_.flyingSquid=!1,Y.N_.wanOpened=!1,Y.N_.currentDisplayQr=null,I.RL.saveLoaded=!1}},68733:function(e,t,n){"use strict";n.d(t,{mQ:()=>getItemFromBlock,oR:()=>isStringAllowed,wv:()=>formatMessage});var r=n(4186),a=n(22312),o=n(59240),i=n(25763);n(73372),n(40542),n(82819),n(74822),n(96220),n(96573),n(94244),n(83902),n(7960),n(46302),n(64813),n(42050),n(16461),n(99654),n(22245),n(52437),n(95790),n(90804),n(24705),n(53346),n(67022),n(56520),n(34396),n(20516),n(88085),n(52307),n(8416),n(93118),n(82766),n(37151),n(20142),n(89909),n(24578),n(89437),n(802),n(52895),n(46525),n(83930),n(18369),n(41494),n(66616),n(39222),n(83282),n(59237),n(60353),n(40332),n(72040),n(52768),n(2249),n(7611),n(65340),n(2850);var s=n(72960),l=globalThis,formatMessage=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.loadedData,n=[],readMsg=function(e){var i={color:e.color,bold:!!e.bold,italic:!!e.italic,underlined:!!e.underlined,strikethrough:!!e.strikethrough,obfuscated:!!e.obfuscated};if(e.text||"string"!=typeof(null==(p=e.json)?void 0:p[""])||(e.text=e.json[""]),e.text)n.push((0,r._)((0,a._)((0,r._)({},e),{text:e.text}),i));else if(e.translate){var s=null!=(h=null==t?void 0:t.language[e.translate])?h:e.translate;if(e.with){var l=s.split(/%s|%\d+\$s/g),c=0,u=!0,d=!1,w=void 0;try{for(var p,h,M,g=l.entries()[Symbol.iterator]();!(u=(M=g.next()).done);u=!0){var m=(0,o._)(M.value,2),v=m[0],y=m[1];if(n.push((0,r._)({text:y},i)),v+1<l.length){if(e.with[c]){var A=e.with[c];"string"==typeof A?readMsg((0,a._)((0,r._)({},i),{text:A})):readMsg((0,r._)({},i,A))}c++}}}catch(e){d=!0,w=e}finally{try{u||null==g.return||g.return()}finally{if(d)throw w}}}else n.push((0,r._)((0,a._)((0,r._)({},e),{text:s}),i))}if(e.extra){var b=!0,_=!1,L=void 0;try{for(var C,j=e.extra[Symbol.iterator]();!(b=(C=j.next()).done);b=!0){var D=C.value;"string"==typeof D&&(D={text:D}),readMsg((0,r._)({},i,D))}}catch(e){_=!0,L=e}finally{try{b||null==j.return||j.return()}finally{if(_)throw L}}}};readMsg(e);var flat=function(e){var t,n;return[e,null!=(n=null==(t=e.extra)?void 0:t.flatMap(flat))?n:[]]};return n=n.map(function(e){var t,n;return(null==(t=(n=e.text).includes)?void 0:t.call(n,"\xa7"))?flat((0,s.qW)(e.text)):e}).flat(1/0)},c={water:"water_bucket",lava:"lava_bucket",redstone_wire:"redstone",tripwire:"tripwire_hook"},getItemFromBlock=function(e){var t;return l.loadedData.itemsByName[null!=(t=c[e.name])?t:e.name]};function isAllowedChatCharacter(e){var t=e.codePointAt(0);return 167!==t&&t>=32&&127!==t}var isStringAllowed=function(e){var t=new Set,n=!0,r=!1,a=void 0;try{for(var s,l=(0,i._)(e).entries()[Symbol.iterator]();!(n=(s=l.next()).done);
1n=!0){var c=(0,o._)(s.value,2),u=c[0],d=c[1];e.codePointAt(u)===e.charCodeAt(u)&&(isAllowedChatCharacter(d)||t.add(d))}}catch(e){r=!0,a=e}finally{try{n||null==l.return||l.return()}finally{if(r)throw a}}var w=0===t.size;return w?{valid:!0}:{valid:w,clean:(0,i._)(e).filter(function(e){return!t.has(e)}).join(""),invalid:(0,i._)(t)}}},68343:function(e,t,n){"use strict";n.r(t),n.d(t,{downloadAllMinecraftData:()=>A,downloadOtherGameData:()=>_,getVersionAutoSelect:()=>getVersionAutoSelect,loadMinecraftData:()=>y});var r,a,o,i,s=n(14772),l=n(9787);n(66395),n(56843),n(98474),n(72558),n(56070),n(83902),n(96573),n(94244),n(42050);var c=n(5444),u=n.n(c),d=n(65066),w=n.n(d),p=n(46290),h=n.n(p),M=n(40451),g=n(55920),m=n(30367),v=n(30297),getVersionAutoSelect=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m.YM.serversAutoVersionSelect;return"auto"===e?"1.19.4":"latest"===e?g.ZP.at(-1):e},y=(r=(0,s._)(function(e){var t;return(0,l.Jh)(this,function(n){switch(n.label){case 0:return[4,window._LOAD_MC_DATA()];case 1:return n.sent(),t=u()(e),window.PrismarineBlock=w()(t.version.minecraftVersion),window.PrismarineItem=h()(t.version.minecraftVersion),window.loadedData=t,window.mcData=t,M.N_.loadedDataVersion=e,[2]}})}),function(e){return r.apply(this,arguments)}),A=(a=(0,s._)(function(e){return(0,l.Jh)(this,function(t){switch(t.label){case 0:return null==e||e("mc-data",!1),[4,window._LOAD_MC_DATA()];case 1:return t.sent(),null==e||e("mc-data",!0),[2]}})}),function(e){return a.apply(this,arguments)}),b=(o=(0,s._)(function(){var e;return(0,l.Jh)(this,function(t){switch(t.label){case 0:if(e="mojangles",document.fonts.check("1em ".concat(e)))return[3,2];return[4,document.fonts.load("1em ".concat(e)).catch(function(){console.error("Failed to load font, signs wont be rendered correctly")})];case 1:t.sent(),t.label=2;case 2:return[2]}})}),function(){return o.apply(this,arguments)}),_=(i=(0,s._)(function(e){return(0,l.Jh)(this,function(t){switch(t.label){case 0:return null==e||e("fonts",!1),null==e||e("sounds",!1),[4,Promise.all([b().then(function(){return null==e?void 0:e("fonts",!0)}),(0,v.u)().then(function(){return null==e?void 0:e("sounds",!0)})])];case 1:return t.sent(),[2]}})}),function(e){return i.apply(this,arguments)})},48044:function(e,t,n){"use strict";n.d(t,{Fs:()=>runAuthFlow,E3:()=>createLoginPromptDebouncer,Zt:()=>buildAuthCommand,cX:()=>detectLoginPrompt,f6:()=>isLoginMonitorActive,gL:()=>monitorLoginAttempt}),n(72558);var r,a,o=n(14772),i=n(4186),s=n(22312),l=n(9787);n(90804),n(24705),n(53346),n(40542),n(79653),n(96220);var c=n(68733),u=n(50343),d=n(30232),w=n(12179),p=/wrong password|incorrect password|invalid password|wrong username|login failed|access denied|old password is wrong|неверн|неправильн|пароль[^а-яё]*невер/i,h=/password changed|password successfully updated|account removed|пароль изменён|аккаунт удалён/i,isLoginMonitorActive=function(){return void 0!==a},extractText=function(e){try{return(0,c.wv)(e).map(function(e){var t;return null!=(t=e.text)?t:""}).join("")}catch(t){if("string"==typeof e)return e;return""}},M=(r=(0,o._)(function(e,t,n){var r,a;return(0,l.Jh)(this,function(o){switch(o.label){case 0:if(o.trys.push([0,2,,3]),"undefined"==typeof navigator||!("credentials"in navigator)||"function"!=typeof(r=window.PasswordCredential))return[2];return a=new r({id:e,password:t,name:n}),[4,navigator.credentials.store(a)];case 1:case 2:return o.sent(),[3,3];case 3:return[2]}})}),function(e,t,n){return r.apply(this,arguments)}),onSuccessSave=function(e){try{(0,d.JM)(e.password,{silent:!0})}catch(e){console.error("saveServerPassword failed",e)}e.username&&e.serverIp&&M(e.username,e.password,e.serverIp)},monitorLoginAttempt=function(e){var t,n,messageListener=function(t){var n=extractText(t);if(n){if(p.test(n))return void onFailure();("changepassword"===e.mode||"unregister"===e.mode)&&h.test(n)&&onSuccess()}},kickListener=function(){onFailure()};if("undefined"!=typeof bot&&bot){a&&(a.cleanup(),a=void 0);var r=null!=(t=e.timeoutMs)?t:5e3,o=bot,l=!1,c={cleanup:function(){}},cleanup=function(){void 0!==n&&(clearTimeout(n),n=void 0);try{o.removeListener("message",messageListener)}catch(e){}try{o.removeListener("kicked",kickListener)}catch(e){}a===c&&(a=void 0)};c.cleanup=cleanup;
1var onFailure=function(){if(!l){if(l=!0,cleanup(),e.preSaved&&"unregister"!==e.mode)try{(0,d.Rt)()}catch(e){console.error("clearServerPassword failed",e)}var t=e.preSaved&&"unregister"!==e.mode?"Saved password was cleared":"Try again",n="changepassword"===e.mode?"Auto-fill: password change failed":"unregister"===e.mode?"Auto-fill: unregister failed":"Auto-fill login: wrong password";if((0,w.c0)(n,t,!0),"modal"===e.source&&e.serverIp&&e.username&&"unregister"!==e.mode){var r=e.serverIp,a=e.username,o=e.mode;setTimeout(function(){(0,u.K)({mode:o,serverIp:r,username:a,prefilledPassword:(0,d.x2)()}).then(function(e){(null==e?void 0:e.password)&&("changepassword"!==o||e.newPassword)&&runAuthFlow(bot,o,e,{serverIp:r,username:a,source:"modal"})})},50)}}},onSuccess=function(){if(!l){if(l=!0,cleanup(),"unregister"===e.mode){try{(0,d.Rt)()}catch(e){console.error("clearServerPassword failed",e)}(0,w.c0)("Account unregistered","Saved password was removed",!1);return}if("changepassword"===e.mode&&e.newPassword){onSuccessSave((0,s._)((0,i._)({},e),{password:e.newPassword})),(0,w.c0)("Password changed","Saved password was updated",!1);return}e.preSaved?e.username&&e.serverIp&&M(e.username,e.password,e.serverIp):onSuccessSave(e)}};o.on("message",messageListener),o.on("kicked",kickListener),n=setTimeout(onSuccess,r),a=c}},buildAuthCommand=function(e,t,n){switch(e){case"login":return"/login ".concat(t);case"register":return"/register ".concat(t," ").concat(t);case"changepassword":if(!n)return null;return"/changepassword ".concat(t," ").concat(n);case"unregister":return"/unregister ".concat(t)}},sendAuthCommand=function(e,t,n,r){if(!e)return!1;var a=buildAuthCommand(t,n,r);if(!a)return!1;try{e.chat(a)}catch(e){}return!0},runAuthFlow=function(e,t,n,r){var a;return!!n.commandSent||!!sendAuthCommand(e,t,n.password,n.newPassword)&&(monitorLoginAttempt({password:n.password,newPassword:n.newPassword,mode:t,source:r.source,serverIp:r.serverIp,username:r.username,preSaved:null!=(a=r.preSaved)&&a}),!0)};n(64912),n(81812),n(98719),n(84317),n(8957),n(44792),n(33785),n(9587),n(13278),n(64391),n(86838),n(80062),n(50433),n(97336),n(65855),n(56656),n(42449),n(96573),n(94244),n(42050),n(83902);var g=/(?:^|\W)\/login\b/i,m=/(?:^|\W)\/register\b/i,v=/(?:^|\W)\/changepassword\b/i,y=/(?:^|\W)\/unregister\b/i,detectLoginPrompt=function(e){if(!e)return null;var t=e.replaceAll(/\u00A7./g,""),n=g.test(t),r=m.test(t),a=v.test(t),o=y.test(t);return n&&r?"either":n?"login":r?"register":a?"changepassword":o?"unregister":null},createLoginPromptDebouncer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3e4,t=new Map;return{shouldTrigger:function(n){var r=Date.now(),a=t.get(n);return(void 0===a||!(r-a<e))&&(t.set(n,r),!0)},reset:function(e){void 0===e?t.clear():t.delete(e)}}}},46644:function(e,t,n){"use strict";n.d(t,{Iz:()=>createWrappedProgressReporter,gO:()=>createNotificationProgressReporter,nx:()=>createConsoleLogProgressReporter,xC:()=>createFullScreenProgressReporter});var r=n(14772),a=n(59240),o=n(25763),i=n(9787);n(98719),n(84317),n(8957),n(44792),n(33785),n(9587),n(13278),n(64391),n(86838),n(80062),n(50433),n(97336),n(65855),n(56656),n(42449),n(96573),n(94244),n(42050),n(83902),n(66395),n(56843),n(98474),n(72558),n(58207),n(8705),n(58819),n(40542),n(26980),n(52457);var s=n(19478),l=n(76945),c=n(12179),u=n(7329),createProgressReporter=function(e){var t,n=new Map,s=!1,end=function(){s||(s=!0,n.clear(),e.end())},updateStatus=function(){if(!s){var r=(0,o._)(n.entries());if(0===r.length)return void e.setMessage("Waiting for tasks");var i=(0,a._)(r.at(-1),2),l=(i[0],i[1]),c=l.title;if(l.subStage&&(c+=" - ".concat(l.subStage)),void 0!==l.progress){var u=Math.round(100*l.progress);isFinite(u)&&(c+=": ".concat(u,"%"))}t=c,e.setMessage(c)}},l={beginStage:function(e,t){if(n.has(e))throw Error("Stage ".concat(e," already is running"));n.set(e,{title:t}),updateStatus()},endStage:function(e){n.delete(e),updateStatus()},setSubStage:function(e,t){var r=n.get(e);r&&(r.subStage=t,updateStatus())},reportProgress:function(e,t){var r=n.get(e);r&&(r.progress=t,updateStatus())},executeWithMessage:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r._)(function(){var e,n,r,a;return(0,i.Jh)(this,function(o){switch(o.label){case 0:e=t[0],n="string"==typeof t[1]?t[1]:void 0,r="string"==typeof t[1]?t[2]:t[1],a=null!=n?n:"temp-"+Math.random().toString(36).slice(2),l.beginStage(a,e),o.label=1;case 1:return o.trys.push([1,,3,4]),[4,r()];case 2:return[2,o.sent()];case 3:return l.endStage(a),[7];case 4:return[2]}})})()},end:function(){end()},setMessage:function(t){s||e.setMessage(t)},get currentMessage(){return t},error:function(t){s||e.error(t)}};return l},d=[],createFullScreenProgressReporter=function(){var e=createProgressReporter({setMessage:function(e){l.ou.isError||(0,s.d8)(e)},end:function(){l.ou.isError||(d.splice(d.indexOf(e),1),0===d.length?(0,s.d8)(void 0):(0,s.d8)(d.at(-1).currentMessage))},error:function(e){l.ou.isError||(0,s.d8)((0,s.d5)("Progress reporter",e),!0)}});return d.push(e),e},createNotificationProgressReporter=function(e){var t="progress-reporter-".concat(Math.random().toString(36).slice(2));return createProgressReporter({setMessage:function(e){(0,c.c0)("".concat(e,"..."),"",!1,"",void 0,!0,t)},end:function(){e?(0,c.c0)(e,"",!1,u.K.check,void 0,!0):(0,c.yK)(t)},error:function(e){(0,c.c0)(e,"",!0,"",void 0,!0)}})},createConsoleLogProgressReporter=function(e){return createProgressReporter({setMessage:function(t){console.log(e?"[".concat(e,"] ").concat(t):t)},end:function(){console.log(e?"[".concat(e,"] done"):"done")},error:function(e){console.error(e)}})},createWrappedProgressReporter=function(e,t){var n="wrapped-".concat(t);return t&&e.beginStage(n,t),createProgressReporter({setMessage:function(t){e.setMessage(t)},end:function(){t&&e.endStage(n)},error:function(t){e.error(t)}})}},27905:function(e,t,n){"use strict";n.d(t,{Z:()=>M});var r,a,o=n(41441),i=n(68770),s=n(2836),l=n(88353);n(67022),n(56520),n(72558),n(56515);var c=n(85681),u=n(30367),d=n(72100).EventEmitter,w=n(41880)("minecraft-protocol"),p=n(77548);null!=(r=window).serverDataChannel||(r.serverDataChannel={});var h={sendData:function(e){var t=this;setTimeout(function(){window.serverDataChannel[t.isServer?"emitClient":"emitServer"](e)})},receiverSetup:function(e){window.serverDataChannel[this.isServer?"emitServer":"emitClient"]=function(t){e(t)}}};let M=function(e){function CustomChannelClient(e,t){var n;return(0,i._)(this,CustomChannelClient),(n=(0,o._)(this,CustomChannelClient)).version=t,
1n.isServer=!!e,n.state=p.HANDSHAKING,n}(0,l._)(CustomChannelClient,e);var t=CustomChannelClient.prototype;return t.setSerializer=function(e){var t=this;h.receiverSetup.call(this,function(e){u.YM.excludeCommunicationDebugEvents.includes(e.name)||w("receive in ".concat(t.isServer?"server":"client",": ").concat(e.name)),t.emit(e.name,e.params,e),t.emit("packet_name",e.name,e.params,e)})},t.end=function(e,t){this.state===p.PLAY?(t||(t=loadedData.supportFeature("chatPacketsUseNbtComponents")?c.comp({text:c.string(e)}):JSON.stringify({text:e})),this.write("kick_disconnect",{reason:t})):this.state===p.LOGIN&&(t||(t=JSON.stringify({text:e})),this.write("disconnect",{reason:t})),this._endReason=e,this.emit("end",this._endReason)},t.write=function(e,t){u.YM.excludeCommunicationDebugEvents.includes(e)||(w("[".concat(this.state,"] from ").concat(this.isServer?"server":"client",": ")+e),w(t)),this.emit("writePacket",e,t),h.sendData.call(this,{name:e,params:t,state:this.state})},t.writeBundle=function(e){},t.writeRaw=function(e){},(0,s._)(CustomChannelClient,[{key:"state",get:function(){return this.protocolState},set:function(e){var t=this.protocolState;this.protocolState=e,this.setSerializer(this.protocolState),this.emit("state",e,t)}}]),CustomChannelClient}(d)},20095:function(e,t,n){"use strict";n.d(t,{f:()=>c});var r=n(41441),a=n(68770),o=n(88353),i=n(72100),s=n.n(i),l=n(27905),c=function(e){function LocalServer(e,t){var n,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(0,a._)(this,LocalServer),(n=(0,r._)(this,LocalServer)).version=e,n.customPackets=t,n.hideErrors=o,n.socketServer=null,n.cipher=null,n.decipher=null,n.clients={},n}(0,o._)(LocalServer,e);var t=LocalServer.prototype;return t.listen=function(){this.emit("connection",new l.Z(!0,this.version))},t.close=function(){},LocalServer}(s().EventEmitter)},35289:function(e){e.exports={motd:"A Minecraft Server \nRunning flying-squid",port:25565,"max-players":10,"online-mode":!1,gameMode:0,difficulty:0,worldFolder:"world",pluginsFolder:!0,generation:{name:"diamond_square",options:{}},kickTimeout:1e4,plugins:{},modpe:!1,"view-distance":2,"player-list-text":{header:"Flying squid",footer:"Integrated server"},keepAlive:!1,"everybody-op":!0,"max-entities":100,version:"1.18",versionMajor:"1.18"}},76738:function(e,t,n){"use strict";n.d(t,{FP:()=>l,vC:()=>i,w$:()=>s});var r=n(4186),a=n(22312),o=n(19056),i=(0,a._)((0,r._)({renderDistance:3,closeConfirmation:!0,autoFullScreen:!1,mouseRawInput:!0,autoExitFullscreen:!1,localUsername:"wanderer",mouseSensX:50,mouseSensY:-1,chatWidth:320,chatHeight:180,chatScale:100,chatOpacity:100,chatOpacityOpened:100,messagesLimit:200,displayLoadingMessages:!0,volume:50,enableMusic:!0,musicVolume:25,defaultPerspective:"first_person",guiScale:3,autoRequestCompletions:!0,touchButtonsSize:40,touchButtonsOpacity:80,touchButtonsPosition:12,touchControlsPositions:getDefaultTouchControlsPositions(),touchControlsSize:getTouchControlsSize(),touchMovementType:"modern",touchInteractionType:"classic",disableAssets:!1,debugLogNotFrequentPackets:!1,unimplementedContainers:!1},o.wz),{enabledResourcepack:null,useVersionsTextures:"latest",serverResourcePacks:"prompt",displayRecordButton:!0,packetsLoggerPreset:"all",serversAutoVersionSelect:"auto",customChannels:"websocket",remoteContentNotSameOrigin:!1,packetsRecordingAutoStart:!1,language:"auto",preciseMouseInput:!1,waitForChunksRender:!1,inventoryJei:!0,inventoryNotes:!0,inventoryPlaceholders:!1,inventoryPlayerModel:!0,modsSupport:!1,modsAutoUpdate:"check",modsUpdatePeriodCheck:24,preventBackgroundTimeoutKick:!1,preventSleep:!1,debugContro:!1,debugChatScroll:!1,chatVanillaRestrictions:!0,debugResponseTimeIndicator:!1,chatPingExtension:!0,chatSpellCheckEnabled:!1,chatAlwaysDisplayTypingIndicator:!1,topRightTimeDisplay:"only-fullscreen",singleplayerAutoSave:!1,alwaysBackupWorldBeforeLoading:void 0,alwaysShowMobileControls:!1,autoDisplayRotation:!1,excludeCommunicationDebugEvents:[],preventDevReloadWhilePlaying:!1,localServerOptions:{gameMode:1},saveLoginPassword:"prompt",preferLoadReadonly:!1,experimentalClientSelfReload:!1,remoteSoundsSupport:!1,remoteSoundsLoadTimeout:500,disableLoadPrompts:!1,guestUsername:"guest",askGuestName:!0,errorReporting:!0,showCursorBlockInSpectator:!1,chatSelect:!0,autoOpenAuthModal:!1,autoJump:"auto",autoPark
1our:!1,autoRespawn:!1,mutedSounds:[],plugins:[],autoSignEditor:!0,wysiwygSignEditor:"auto",showMinimap:"never",minimapOptimizations:!0,displayBossBars:!0,disabledUiParts:[],neighborChunkUpdates:!0,activeRenderer:"auto",voiceChatEnabled:!0,voiceChatConsented:!1,voiceMasterVolume:1,voiceInputDeviceId:"",voicePlayerSettings:{},voiceOpenMic:!1});function getDefaultTouchControlsPositions(){return{action:[70,76],sneak:[84,76],break:[70,57],jump:[84,57]}}function getTouchControlsSize(){return{joystick:55,action:36,break:36,jump:36,sneak:36}}var s={remoteContentNotSameOrigin:!0,renderEars:!0,viewBobbing:!0,mouseRawInput:!0,preciseMouseInput:!0,showHand:!0,fov:!0,defaultPerspective:!0,volume:!0,musicVolume:!0,enableMusic:!0,smoothLighting:!0,starfieldRendering:!0,defaultSkybox:!0,dayCycleAndLighting:!0,showChunkBorders:!0,renderDebug:!0,highlightBlockColor:!0,displayBossBars:!0,showMinimap:!0,autoJump:!0,chatVanillaRestrictions:!0,chatPingExtension:!0,chatSpellCheckEnabled:!0,renderEntities:!0,displayRecordButton:!0,topRightTimeDisplay:!0,guiScale:!0,chatWidth:!0,chatHeight:!0,chatScale:!0,loadPlayerSkins:!0,disableBlockEntityTextures:!0,neighborChunkUpdates:!0,newVersionsLighting:!0,showCursorBlockInSpectator:!0},l=(0,a._)((0,r._)({},o.QN),{activeRenderer:{possibleValues:[["threejs","Three.js (stable)"]]},serverResourcePacks:{possibleValues:["prompt","always","never"]},showMinimap:{possibleValues:["always","singleplayer","never"]},wysiwygSignEditor:{possibleValues:["auto","always","never"]},touchMovementType:{possibleValues:[["modern","Modern"],["classic","Classic"]]},touchInteractionType:{possibleValues:[["classic","Classic"],["buttons","Buttons"]]},autoJump:{possibleValues:["always","auto","never"]},saveLoginPassword:{possibleValues:["prompt","always","never"]},packetsLoggerPreset:{possibleValues:[["all","All"],["no-buffers","No Buffers"]]},localUsername:{isCustomInput:!0},guestUsername:{isCustomInput:!0},language:{isCustomInput:!0},enabledResourcepack:{isCustomInput:!0},useVersionsTextures:{isCustomInput:!0}})},29223:function(e,t,n){"use strict";n.d(t,{Jg:()=>nameToMcOfflineUUID,kB:()=>w,zP:()=>p});var r,a,o=n(14772),i=n(25763),s=n(9787);n(83902),n(8705),n(76148),n(2685),n(52003),n(23712),n(12989),n(78873),n(96573),n(94244),n(42050),n(56070),n(72558),n(90804),n(24705),n(53346);var l=n(83923),c=n(50610),u=n.n(c),d=n(24375);function javaUUID(e){var t=l.createHash("md5");t.update(e,"utf8");var n=t.digest();return n[6]=15&n[6]|48,n[8]=63&n[8]|128,n}function nameToMcOfflineUUID(e){return new(u())(javaUUID("OfflinePlayer:"+e)).toString()}function savePlayers(e){return _savePlayers.apply(this,arguments)}function _savePlayers(){return(_savePlayers=(0,o._)(function(e){var t;return(0,s.Jh)(this,function(n){switch(n.label){case 0:if(!(null==(t=localServer)?void 0:t.players[0])||e&&"true"===new URL(location.href).searchParams.get("noSave"))return[2];return[4,localServer.savePlayersSingleplayer()];case 1:return n.sent(),[2]}})})).apply(this,arguments)}var w=(r=(0,o._)(function(){var e,t,n=arguments;return(0,s.Jh)(this,function(r){switch(r.label){case 0:var a;if(e=!(n.length>0)||void 0===n[0]||n[0],!localServer||d.RL.isReadonly)return[2];return console.time("save server"),t=[localServer.overworld],[4,Promise.all([localServer.writeLevelDat(),savePlayers(e)].concat((0,i._)(t.map((a=(0,o._)(function(e){return(0,s.Jh)(this,function(t){return[2,e.saveNow()]})}),function(e){return a.apply(this,arguments)})))))];case 1:return r.sent(),console.timeEnd("save server"),[2]}})}),function(){return r.apply(this,arguments)}),p=(a=(0,o._)(function(){return(0,s.Jh)(this,function(e){switch(e.label){case 0:if(!localServer)return[3,2];return[4,w()];case 1:e.sent(),localServer.quit(),e.label=2;case 2:return window.history.replaceState({},"","".concat(window.location.pathname)),bot.end("You left the server"),location.reload(),[2]}})}),function(){return a.apply(this,arguments)})},32776:function(e,t,n){"use strict";n.d(t,{$:()=>l,M:()=>c});var r=n(4186),a=n(66796),o=n(23644),i=n(14610),s=n(10921),l={latest_gui_title_minecraft:(0,r._)({content:a,resourcePackPath:"minecraft/textures/gui/title/minecraft.png"},{cssVar:"--title-gui"}),other_textures_1_19_gui_icons:(0,r._)({content:o,resourcePackPath:"minecraft/textures/gui/icons.png"},{cssVar:"--gui-icons",cssVarRepeat:2}),other_textures_latest_gui_widgets:(0,r._)({content:i,resourcePackPath:"minecraft/textures/gui/widgets.png"},{cssVar:"--widgets-gui-atlas"}),other_textures_latest_gui_bars:(0,r._)({content:s,resourcePackPath:"minecraft/textures/gui/bars.png"},{cssVar:"--bars-gui-atlas"})},c={latest_gui_title_minecraft:a,other_textures_1_19_gui_icons:o,other_textures_latest_gui_widgets:i,other_textures_latest_gui_bars:s}},40451:function(e,t,n){"use strict";n.d(t,{K4:()=>showModal,M:()=>i,NZ:()=>openOptionsMenu,N_:()=>l,Ro:()=>o,VG:()=>hideModal,eJ:()=>s,kJ:()=>hideCurrentModal,om:()=>maybeCleanupAfterDisconnect,rl:()=>c,sr:()=>hideAllModals,w6:()=>insertActiveModalStack,z7:()=>isGameActive});var r=n(25763);n(52307),n(8416),n(93118),n(82766),n(37151),n(20142),n(89909),n(24578),n(89437),n(802),n(52895),n(46525),n(83930),n(18369),n(41494),n(66616),n(39222),n(83282),n(59237),n(60353),n(40332),n(72040),n(52768),n(2249),n(96573),n(94244),n(42050),n(83902),n(26980),n(72558),n(66395),n(56843),n(98474),n(40542),n(55058),n(29127),n(95790),n(86070),n(49245);var a=n(44846),o=new Set(["app-status","divkit:nonclosable","only-connect-server"]),i=(0,a.sj)([]),insertActiveModalStack=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s[e];hideModal(void 0,void 0,{restorePrevious:!1,force:!0}),i.splice.apply(i,[0,i.length].concat((0,r._)(t)));var n=i.at(-1);n&&showModalInner(n)},s={};window.activeModalStack=i;var showModalInner=function(e){var t,n;return null==(n=e.elem)||null==(t=n.show)||t.call(n),!0},showModal=function(e){var t="string"==typeof e?{reactType:e}:e,n=i.at(-1);(!t.reactType||t.reactType!==(null==n?void 0:n.reactType))&&showModalInner(t)&&i.push(t)};window.showModal=showModal;var hideModal=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.at(-1),t=(arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),n=t.force,a=void 0!==n&&n,s=t.restorePrevious;if(e){var l=(0,r._)(o).some(function(t){return e.reactType.startsWith(t)})?!a:void 0;if(a&&(l=void 0),!l){for(var c=i.at(-1),u=i.length-1;u>=0;u--)if(i[u].reactType===e.reactType){i.splice(u,1);break}var d=i.at(-1);return d&&c!==d&&(void 0===s||s)&&showModalInner(d),!0}}},hideCurrentModal=function(e,t){hideModal(void 0,void 0)&&(null==t||t())},hideAllModals=function(){for(;i.length>0&&hideModal(););return 0===i.length},openOptionsMenu=function(e){showModal({reactType:"options-".concat(e)})},syncModalStackBody=function(){document.body.style.setProperty("--has-modals-z",i.length?"-1":null),document.body.classList.toggle("has-open-modals",i.length>0)};(0,a.Ld)(i,syncModalStackBody),syncModalStackBody(),(0,a.sj)({items:[],x:0,y:0});var l=(0,a.sj)({currentDisplayQr:null,currentTouch:null,hasErrors:!1,singleplayer:!1,flyingSquid:!1,wanOpened:!1,wanOpening:!1,hadConnected:!1,gameLoaded:!1,showUI:!0,showDebugHud:!1,loadedServerIndex:"",loadedDataVersion:null,fsReady:!1,singleplayerAvailable:!1,usingGamepadInput:!1,appConfig:null,displaySearchInput:!1,displayFullmap:!1,fullscreen:!1,displayRotationEnabled:!1,viewportPortrait:!1,disconnectedCleanup:null}),maybeCleanupAfterDisconnect=function(){l.disconnectedCleanup&&(l.disconnectedCleanup.callback(),l.disconnectedCleanup=null)};window.miscUiState=l;var isGameActive=function(e){return(!e||!i.length)&&l.gameLoaded},updateFullscreen=function(){l.fullscreen=!!document.fullscreenElement};document.documentElement.addEventListener("fullscreenchange",function(){updateFullscreen()}),updateFullscreen();var c=(0,a.sj)({isFlying:!1,isSprinting:!1,isSneaking:!1,isZooming:!1,warps:[],noConnection:!1,poorConnection:!1,viewerConnection:!1,usingServerResourcePack:!1,typingUsers:[]});window.gameAdditionalState=c},65230:function(e,t,n){var r,a,o,i,s,l,c=n(14224);n(73372),null!=(r=globalThis).window||(r.window=globalThis),null!=(a=globalThis).localStorage||(a.localStorage={}),c.versions.node="18.0.0",navigator.getGamepads||(console.warn("navigator.getGamepads is not available, adding a workaround"),null!=(s=navigator).getGamepads||(s.getGamepads=function(){return[]}))},86682:function(e,t,n){"use strict";var r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,y,A,b,_,L,C,j,D,x,k,T,N,S,z,q,E,I,P,Y,O,R,B,U,Q,F,W,V,J,G,H,Z,K,X,$,ee,et,en,er,ea,eo,ei,es,el,ec,eu,ed,ef,ew,ep,eh,eM,eg,em,ev,ey,eA,eb,e_,eL,eC,ej,eD,ex,ek,eT,eN,eS,ez,eq={};n.r(eq),n.d(eq,{default:()=>ModuleSignsViewer,name:()=>nr});var eE=n(14772),eI=n(4186),eP=n(22312),eY=n(40413),eO=n(59240),eR=n(81979),eB=n(9787);n(56070),n(83902),n(58207),n(34812),n(69047),n(95922),n(95790),n(7611),n(65340),n(2850),n(67022),n(56520),n(90804),n(24705),n(53346),n(74822),n(96220),n(80669),n(49315),n(5556),n(87620),n(83210),n(86070),n(72558),n(79653),n(11304),n(58819),n(7960),n(46302),n(64813),n(96573),n(94244),n(42050),n(52003),n(23712),n(12989),n(78873),n(79525),n(59045),n(40542),n(49245),n(8705),n(56515),n(52251),n(64650),n(65230);var eU=n(32175);if("1"===eU.EX.testCrashApp)throw Error("test error");var eQ=n(72100),eF=n.n(eQ);window.reportError=null!=(ev=window.reportError)?ev:console.error,window.bot=void 0,window.THREE=void 0,window.localServer=void 0,window.worldView=void 0,window.viewer=void 0,window.appViewer=void 0,window.loadedData=void 0,window.customEvents=new(eF()),window.customEvents.setMaxListeners(1e4),window.translate=function(e){var t,n,r;return"string"!=typeof e?e:null!=(r=null==(t=(n=window).translateText)?void 0:t.call(n,e))?r:e};var eW=n(25763);n(48899),n(81812),n(25113),n(44982),n(11747),n(10591),n(64912),n(76148),n(2685),n(66395),n(56843),n(98474),n(50183);var eV=n(9304),eJ=n.n(eV),eG=n(53887),eH=n(41880),eZ=n.n(eH),eK=n(72562);customEvents.on("mineflayerBotCreated",function(){window.debugServerPacketNames=Object.fromEntries(Object.keys(loadedData.protocol.play.toClient.types).map(function(e){return[e=e.replace("packet_",""),e]})),window.debugClientPacketNames=Object.fromEntries(Object.keys(loadedData.protocol.play.toServer.types).map(function(e){return[e=e.replace("packet_",""),e]}))}),window.Vec3=eK.Vec3,window.cursorBlockRel=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=null==(e=bot.blockAtCurs
1or(5))?void 0:e.position.offset(t,n,r);if(a)return bot.world.getBlock(a)},window.entityCursor=function(){return bot.mouse.getCursorState().entity},window.inspectPlayer=function(){return n(9304).promises.readFile("/world/playerdata/9e487d23-2ffc-365a-b1f8-f38203f59233.dat").then(window.nbt.parse).then(console.log)},Object.defineProperty(window,"debugSceneChunks",{get:function(){var e,t;if(window.world instanceof eG.F)return null==(t=window.world)||null==(e=t.getLoadedChunksRelative)?void 0:e.call(t,bot.entity.position,!0)}}),window.chunkKey=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=bot.entity.position;return"".concat((Math.floor(n.x/16)+e)*16,",").concat((Math.floor(n.z/16)+t)*16)},window.sectionKey=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=bot.entity.position;return"".concat((Math.floor(r.x/16)+e)*16,",").concat((Math.floor(r.y/16)+t)*16,",").concat((Math.floor(r.z/16)+n)*16)},window.keys=function(e){return Object.keys(e)},window.values=function(e){return Object.values(e)},window.len=function(e){return Object.keys(e).length},customEvents.on("gameLoaded",function(){bot._client.on("packet",function(e,t){var n,r=t.name;if(null==(n=sessionStorage.ignorePackets)?void 0:n.includes(r)){console.log("ignoring packet",r);var a=bot._client.emit,o=0;bot._client.emit=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];3==o++&&(a.apply(bot._client,t),bot._client.emit=a)}}})}),window.inspectPacket=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];"function"==typeof t&&(n=t,t=!1);var r="function"==typeof n?function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];return n.apply(void 0,(0,eW._)(r).concat([e]))}:function(t){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];console.log("packet",t===e?t:"".concat(t," (").concat(e,")"),n?a:a[0])},a="string"==typeof e&&e.includes("*")?RegExp("^"+e.replaceAll("*",".*")+"$"):null,packetNameListener=function(t,n){a?a.test(t)&&r(t,n):t===e&&r(t,n)},packetListener=function(e,t){packetNameListener(t.name,e)},attach=function(){var e,n,r;t?null==(e=bot)||e._client.prependListener("writePacket",packetNameListener):(null==(n=bot)||n._client.prependListener("packet_name",packetNameListener),null==(r=bot)||r._client.prependListener("packet",packetListener))},detach=function(){var e,n,r;t?null==(e=bot)||e._client.removeListener("writePacket",packetNameListener):(null==(n=bot)||n._client.removeListener("packet_name",packetNameListener),null==(r=bot)||r._client.removeListener("packet",packetListener))};attach(),customEvents.on("mineflayerBotCreated",attach);var o={};return Object.defineProperty(o,"detach",{get:function(){return detach(),customEvents.removeListener("mineflayerBotCreated",attach),!0}}),o},window.downloadFile=(r=(0,eE._)(function(e){var t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:return!e.startsWith("/")&&localServer&&(e="".concat(localServer.options.worldFolder,"/").concat(e)),[4,eJ().promises.readFile(e)];case 1:return t=new Blob([a.sent()],{type:"application/octet-stream"}),n=URL.createObjectURL(t),(r=document.createElement("a")).href=n,r.download=e.split("/").at(-1),r.click(),URL.revokeObjectURL(n),[2]}})}),function(e){return r.apply(this,arguments)}),Object.defineProperty(window,"debugToggle",{get:function(){return(localStorage.debug="*"===localStorage.debug?"":"*",(0,eH.enabled)("*"))?((0,eH.disable)(),"disabled debug"):((0,eH.enable)("*"),"enabled debug")},set:function(e){(0,eH.enable)(e),localStorage.debug=e,console.log("Enabled debug for",e)}}),customEvents.on("gameLoaded",function(){var e;window.holdingBlock=null==(e=window.world)?void 0:e.holdingBlock}),window.clearStorage=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0;r<localStorage.length;r++){var a=localStorage.key(r);a&&!t.includes(a)&&localStorage.removeItem(a)}return"Cleared ".concat(localStorage.length-t.length," items from localStorage. Kept: ").concat(t.join(", "))},window.statsPerSecAvg={};var eX={},e$={};window.markStart=function(e){var t;null!=e$[e]||(e$[e]=[]),e$[e][0]=performance.now()},window.markEnd=function(e){var t,n,r;(null==(t=e$[e])?void 0:t[0])&&(null!=(n=eX)[e]||(n[e]=[]),eX[e].push(performance.now()-e$[e][0]),delete e$[e])};var updateStatsPerSecAvg=function(){window.statsPerSecAvg=Object.fromEntries(Object.entries(eX).map(function(e){var t=(0,eO._)(e,2),n=t[0],r=t[1];return[n,{avg:r.reduce(function(e,t){return e+t},0)/r.length,count:r.length}]})),eX={}};window.statsPerSec={};var e0={},e1=performance.now();window.addStatPerSec=function(e){var t,n;null!=(t=e0)[e]||(t[e]=0),e0[e]++},window.statsPerSecCurrent=e0,setInterval(function(){window.statsPerSec=(0,eI._)({duration:Math.floor(performance.now()-e1)},e0),e0={},window.statsPerSecCurrent=e0,updateStatsPerSecAvg(),e1=performance.now()},1e3);var e3=null,e2=null,e5=null,e4=performance.now();function collectAndSendMetrics(){if(e3&&e3.readyState===WebSocket.OPEN){var e,t,n={loadTime:performance.now()-e4,memoryUsage:(null!=(t=null==(e=performance.memory)?void 0:e.usedJSHeapSize)?t:0)/1024/1024,timestamp:Date.now()};e3.send(JSON.stringify(n))}}function getWebSocketUrl(){return null}function connectWebSocket(){if(!e3){var e=getWebSocketUrl();e&&((e3=new WebSocket(e)).onopen=function(){console.log("Connected to metrics server"),e2&&(clearTimeout(e2),e2=null),collectAndSendMetrics(),e5&&clearInterval(e5),e5=setInterval(collectAndSendMetrics,500)},e3.onclose=function(){console.log("Disconnected from metrics server"),e3=null,e5&&(clearInterval(e5),e5=null),e2=setTimeout(connectWebSocket,3e3)},e3.onerror=function(e){console.error("WebSocket error:",e)})}}connectWebSocket(),window.requestMetrics=function(){var e,t,n={loadTime:performance.now()-e4,memoryUsage:(null!=(t=null==(e=performance.memory)?void 0:e.usedJSHeapSize)?t:0)/1024/1024,timestamp:Date.now()};return console.log("Current metrics:",n),n},n(20073);var e6=n(13047),e8=n(98174),e9=n.n(e8),e7=n(47039),te=n(32719),tt=n(95188),tn=n(11794),tr=n(30367),ta=n(40451),to={HURT:2,BURNED:37};
1function getEntityMovementAnimation(e){if(e.isMounted)return"riding";var t=e.horizontalVelocity,n=t.x,r=t.z,a=Math.abs(n)>.03||Math.abs(r)>.03,o=Math.abs(n)>.18||Math.abs(r)>.18;return e.isCrouched?a?"crouchWalking":"crouch":a?o?"running":"walking":"idle"}function sanitizeHorizontalVelocity(e){var t=null==e?void 0:e.x,n=null==e?void 0:e.z;return{x:Number.isFinite(t)?t:0,z:Number.isFinite(n)?n:0}}function isLocalPlayerMounted(e,t){var n;return!!(null!=(n=e.vehicle)?n:t)}function getIsCrouched(e,t,n){return t?n:!!e.crouching}function shouldProcessRemoteTrackingEntry(e){var t=e.tracking,n=e.entity,r=e.localPlayerEntity;return!!(t&&n&&n!==r)}function applyEntityMovementAnimation(e){var t,n=e.entity,r=e.horizontalVelocity,a=e.rendererEntityId,o=e.mountedVehicle,i=e.force,s=e.isLocalPlayer,l=e.isLocalPlayerSneaking,c=e.playerPerAnimation,u=e.playEntityAnimation,d=e.rendererAvailable,w=sanitizeHorizontalVelocity(r),p=getEntityMovementAnimation({isMounted:s?isLocalPlayerMounted(n,o):!!(null!=(t=n.vehicle)?t:o),isCrouched:getIsCrouched(n,s,l),horizontalVelocity:w}),h=String(a);return(!!(void 0!==i&&i)||c[h]!==p)&&!!d&&(u(a,p),c[h]=p,!0)}function processMovementAnimations(e){var t=e.localPlayerEntity,n=e.localPlayerVehicle,r=e.isLocalPlayerSneaking,a=e.trackingData,o=e.getEntityById,i=e.playerPerAnimation,s=e.playEntityAnimation,l=e.rendererAvailable;t&&applyEntityMovementAnimation({entity:t,horizontalVelocity:t.velocity,rendererEntityId:"player_entity",mountedVehicle:n,isLocalPlayer:!0,isLocalPlayerSneaking:r,playerPerAnimation:i,playEntityAnimation:s,rendererAvailable:l});var c=!0,u=!1,d=void 0;try{for(var w,p=Object.entries(a)[Symbol.iterator]();!(c=(w=p.next()).done);c=!0){var h=(0,eO._)(w.value,2),M=h[0],g=h[1],m=o(M);shouldProcessRemoteTrackingEntry({tracking:g.tracking,entity:m,localPlayerEntity:t})&&m&&applyEntityMovementAnimation({entity:m,horizontalVelocity:g.info.avgVel,rendererEntityId:m.id,mountedVehicle:m.vehicle,isLocalPlayer:!1,isLocalPlayerSneaking:!1,playerPerAnimation:i,playEntityAnimation:s,rendererAvailable:l})}}catch(e){u=!0,d=e}finally{try{c||null==p.return||p.return()}finally{if(u)throw d}}}function clearLocalPlayerAnimationCache(e){delete e.player_entity}var updateAutoJump=function(){if(null==(e=bot)?void 0:e.autoJumper){var e,t=tr.YM.autoParkour||("auto"===tr.YM.autoJump?ta.N_.currentTouch&&!ta.N_.usingGamepadInput:"always"===tr.YM.autoJump);bot.autoJumper.setOpts({jumpOnAllEdges:tr.YM.autoParkour}),t!==bot.autoJumper.enabled&&(t?bot.autoJumper.enable():bot.autoJumper.disable())}};(0,te.VW)(tr.YM,"autoJump",function(){updateAutoJump()}),(0,te.VW)(tr.YM,"autoParkour",function(){updateAutoJump()}),(0,te.VW)(ta.N_,"usingGamepadInput",function(){updateAutoJump()}),(0,te.VW)(ta.N_,"currentTouch",function(){updateAutoJump()}),customEvents.on("gameLoaded",function(){bot.loadPlugin(e9()),bot.loadPlugin(e7.loader),updateAutoJump();var e={},checkEntityData=function(e){var t,n;e.username&&(null!=(t=window).debugEntityMetadata||(t.debugEntityMetadata={}),window.debugEntityMetadata[e.username]=e,"player"===e.type&&bot.tracker.trackEntity(e))},trackBotEntity=function(){bot.entity&&bot.tracker.trackEntity(bot.entity)},t=0,applyLocalPlayerAnimation=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(bot.entity){var n=(0,tt.z)();applyEntityMovementAnimation({entity:bot.entity,horizontalVelocity:bot.entity.velocity,rendererEntityId:"player_entity",mountedVehicle:bot.vehicle,force:t,isLocalPlayer:!0,isLocalPlayerSneaking:ta.rl.isSneaking,playerPerAnimation:e,playEntityAnimation:function(e,t){null==n||n.playEntityAnimation(e,t)},rendererAvailable:null!=n})}};bot.on("physicsTick",function(){if(!(Date.now()-t<166)){t=Date.now();var n,r,a=(0,tt.z)();processMovementAnimations({localPlayerEntity:null!=(n=bot.entity)?n:null,localPlayerVehicle:null!=(r=bot.vehicle)?r:null,isLocalPlayerSneaking:ta.rl.isSneaking,trackingData:bot.tracker.trackingData,getEntityById:function(e){return bot.entities[e]},playerPerAnimation:e,playEntityAnimation:function(e,t){null==a||a.playEntityAnimation(e,t)},rendererAvailable:null!=a})}}),bot.on("mount",function(){applyLocalPlayerAnimation()}),bot.on("dismount",function(){applyLocalPlayerAnimation()}),bot.on("respawn",function(){clearLocalPlayerAnimationCache(e),queueMicrotask(function(){applyLocalPlayerAnimation(!0)})}),bot.on("entitySwingArm",function(e){var t;null==(t=(0,tt.z)())||t.playEntityAnimation(e.id,"oneSwing")}),bot.on("botArmSwingStart",function(e){if("right"===e){var t;null==(t=(0,tt.z)())||t.playEntityAnimation("player_entity","oneSwing")}}),bot.inventory.on("updateSlot",function(e){if(5===e||6===e||7===e||8===e){var t,n=bot.inventory.slots[e];bot.entity.equipment[e-3]=n,null==(t=appViewer.worldView)||t.emit("playerEntity",bot.entity)}}),bot.on("heldItemChanged",function(){var e,t=bot.inventory.slots[bot.quickBarSlot+36];bot.entity.equipment[0]=t,null==(e=appViewer.worldView)||e.emit("playerEntity",bot.entity)}),bot._client.on("damage_event",function(e){var t,n=e.entityId,r=e.sourceTypeId;null==(t=(0,tt.z)())||t.damageEntity(n,r)}),bot._client.on("entity_status",function(e){if(!((0,e6.Uo)(bot.ver
1sion)>=(0,e6.Uo)("1.19.4"))){var t,n=e.entityId,r=e.entityStatus;r===to.HURT&&(null==(t=(0,tt.z)())||t.damageEntity(n,r)),r===to.BURNED&&updateEntityStates(n,!0,!0)}}),bot._client.on("entity_metadata",function(e){e.entityId===bot.entity.id&&handleEntityMetadata(e)}),bot.on("end",function(){ey&&(clearTimeout(ey),ey=void 0)}),bot.on("respawn",function(){ey&&(clearTimeout(ey),ey=void 0),appViewer.playerState.reactive.onFire=!1});var updateCamera=function(e){"spectator"===bot.game.gameMode&&(bot.entity.position=e.position.clone(),bot.look(e.yaw,e.pitch,!0),bot.entity.yaw=e.yaw,bot.entity.pitch=e.pitch)};bot.on("entityGone",function(e){bot.tracker.stopTrackingEntity(e,!0)}),bot.on("entityMoved",function(e){checkEntityData(e),appViewer.playerState.reactive.cameraSpectatingEntity===e.id&&updateCamera(e)}),bot._client.on("entity_velocity",function(e){var t=bot.entities[e.entityId];t&&checkEntityData(t)});var n=!0,r=!1,a=void 0;try{for(var o,i=Object.values(bot.entities)[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var s=o.value;s!==bot.entity&&checkEntityData(s)}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}trackBotEntity(),bot.on("entitySpawn",function(e){checkEntityData(e),appViewer.playerState.reactive.cameraSpectatingEntity===e.id&&updateCamera(e)}),bot.on("entityUpdate",checkEntityData),bot.on("entityEquip",checkEntityData),bot.on("login",function(){setTimeout(function(){trackBotEntity()})}),bot._client.on("camera",function(e){if(bot.player.entity.id===e.cameraId){if((0,tn.X5)(appViewer.playerState.reactive).isSpectatingEntity()&&appViewer.playerState.reactive.cameraSpectatingEntity){var t=bot.entities[appViewer.playerState.reactive.cameraSpectatingEntity];appViewer.playerState.reactive.cameraSpectatingEntity=void 0,t&&bot.emit("entityUpdate",t)}}else if("spectator"===appViewer.playerState.reactive.gameMode){var n=bot.entities[e.cameraId];appViewer.playerState.reactive.cameraSpectatingEntity=e.cameraId,n&&(updateCamera(n),bot.emit("entityUpdate",n))}});var applySkinTexturesProxy=function(e){var t=ta.N_.appConfig;return(null==t?void 0:t.skinTexturesProxy)?null==e?void 0:e.replace("http://textures.minecraft.net/",t.skinTexturesProxy).replace("https://textures.minecraft.net/",t.skinTexturesProxy):e},updateSkin=function(e){if(e.uuid&&e.username&&e.skinData)try{var t,n,r=applySkinTexturesProxy(e.skinData.url),a=applySkinTexturesProxy(e.skinData.capeUrl);(0,tt.z)().updatePlayerSkin(null!=(n=null==(t=e.entity)?void 0:t.id)?n:"",e.username,e.uuid,null==r||r,a),e.entity===bot.entity&&(appViewer.playerState.reactive.playerSkin=r)}catch(e){reportError(Error("Error applying skin texture:",{cause:e}))}};bot.on("playerJoined",updateSkin),bot.on("playerUpdated",updateSkin);var l=!0,c=!1,u=void 0;try{for(var d,w=Object.values(bot.players)[Symbol.iterator]();!(l=(d=w.next()).done);l=!0){var p=d.value;updateSkin(p)}}catch(e){c=!0,u=e}finally{try{l||null==w.return||w.return()}finally{if(c)throw u}}var teamUpdated=function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=Object.values(bot.entities)[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value;("player"===i.type&&i.username&&e.members.includes(i.username)||i.uuid&&e.members.includes(i.uuid))&&bot.emit("entityUpdate",i)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}};bot.on("teamUpdated",teamUpdated);var h=!0,M=!1,g=void 0;try{for(var m,v=Object.values(bot.teams)[Symbol.iterator]();!(h=(m=v.next()).done);h=!0){var y=m.value;teamUpdated(y)}}catch(e){M=!0,g=e}finally{try{h||null==v.return||v.return()}finally{if(M)throw g}}var updateEntityNameTags=function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=Object.values(bot.entities)[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value,s="player"===i.type&&i.username?bot.teamMap[i.username]:i.uuid?bot.teamMap[i.uuid]:void 0;((null==s?void 0:s.nameTagVisibility)==="hideForOwnTeam"&&s.name===e.name||(null==s?void 0:s.nameTagVisibility)==="hideForOtherTeams"&&s.name!==e.name)&&bot.emit("entityUpdate",i)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}
1,doEntitiesNeedUpdating=function(e){var t,n;return"never"===e.nameTagVisibility||"hideForOtherTeams"===e.nameTagVisibility&&(null==(t=appViewer.playerState.reactive.team)?void 0:t.team)!==e.team||"hideForOwnTeam"===e.nameTagVisibility&&(null==(n=appViewer.playerState.reactive.team)?void 0:n.team)===e.team};bot.on("teamMemberAdded",function(e,t){var n;if(t.includes(bot.username)&&(null==(n=appViewer.playerState.reactive.team)?void 0:n.team)!==e.team)appViewer.playerState.reactive.team=e,updateEntityNameTags(e);else if(doEntitiesNeedUpdating(e)){var r=!0,a=!1,o=void 0;try{for(var i,s=Object.values(bot.entities)[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=i.value;("player"===l.type&&l.username&&t.includes(l.username)||l.uuid&&t.includes(l.uuid))&&bot.emit("entityUpdate",l)}}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}}}),bot.on("teamMemberRemoved",function(e,t){var n;if(t.includes(bot.username)&&(null==(n=appViewer.playerState.reactive.team)?void 0:n.team)===e.team)appViewer.playerState.reactive.team=void 0,updateEntityNameTags(e);else if(doEntitiesNeedUpdating(e)){var r=!0,a=!1,o=void 0;try{for(var i,s=Object.values(bot.entities)[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=i.value;("player"===l.type&&l.username&&t.includes(l.username)||l.uuid&&t.includes(l.uuid))&&bot.emit("entityUpdate",l)}}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}}}),bot.on("teamRemoved",function(e){var t;(null==(t=appViewer.playerState.reactive.team)?void 0:t.team)===(null==e?void 0:e.team)&&(appViewer.playerState.reactive.team=void 0,updateEntityNameTags(e))})});var ti={ON_FIRE:1},updateEntityStates=function(e,t,n){e===bot.entity.id&&(appViewer.playerState.reactive.onFire!==t&&(appViewer.playerState.reactive.onFire=t),ey&&(clearTimeout(ey),ey=void 0),n&&(ey=setTimeout(function(){ey=void 0,updateEntityStates(e,!1,!1)},5e3)))};function handleEntityMetadata(e){e.entityId;var t=e.metadata.find(function(e){return 0===e.key&&"byte"===e.type});if(t){var n=(t.value&ti.ON_FIRE)!=0;appViewer.playerState.reactive.onFire!==n&&(appViewer.playerState.reactive.onFire=n)}}n(15209);var ts=n(46290),tl=n.n(ts),tc=n(14987),tu=n(391);n(73372);var td=n(44846),tf=(0,td.sj)({id:"",contents:"",line:0,column:0,language:"typescript",title:""});globalThis.ideState=tf;var registerIdeChannels=function(){registerIdeOpenChannel(),registerIde
1SaveChannel()},registerIdeOpenChannel=function(){var e="minecraft-web-client:ide-open";bot._client.registerChannel(e,["container",[{name:"id",type:["pstring",{countType:"i16"}]},{name:"language",type:["pstring",{countType:"i16"}]},{name:"contents",type:["pstring",{countType:"i16"}]},{name:"line",type:"i32"},{name:"column",type:"i32"},{name:"title",type:["pstring",{countType:"i16"}]}]],!0),bot._client.on(e,function(e){var t=e.id,n=e.language,r=e.contents,a=e.line,o=e.column,i=e.title;tf.contents=r,tf.line=a,tf.column=o,tf.id=t,tf.language=n||"typescript",tf.title=i}),console.debug("registered custom channel ".concat(e," channel"))},tw="minecraft-web-client:ide-save",registerIdeSaveChannel=function(){bot._client.registerChannel(tw,["container",[{name:"id",type:["pstring",{countType:"i16"}]},{name:"contents",type:["pstring",{countType:"i16"}]},{name:"language",type:["pstring",{countType:"i16"}]},{name:"line",type:"i32"},{name:"column",type:"i32"}]],!0)},saveIde=function(){bot._client.writeChannel(tw,{id:tf.id,contents:tf.contents,language:tf.language,line:tf.line,column:tf.column})},tp=(0,td.sj)({id:"",url:"",title:"",metadata:null});globalThis.iframeState=tp;var registerIframeChannels=function(){registerIframeOpenChannel()},registerIframeOpenChannel=function(){var e="minecraft-web-client:iframe-open";bot._client.registerChannel(e,["container",[{name:"id",type:["pstring",{countType:"i16"}]},{name:"url",type:["pstring",{countType:"i16"}]},{name:"title",type:["pstring",{countType:"i16"}]},{name:"metadataJson",type:["pstring",{countType:"i16"}]}]],!0),bot._client.on(e,function(e){var t=e.id,n=e.url,r=e.title,a=e.metadataJson,o=null;if(a&&""!==a.trim())try{o=JSON.parse(a)}catch(e){console.warn("Failed to parse iframe metadataJson:",e)}tp.id=t,tp.url=n,tp.title=r||"",tp.metadata=o}),console.debug("registered custom channel ".concat(e," channel"))},th=n(76738),tM=n(19478),tg=n(73438);n(52307),n(8416),n(93118),n(82766),n(37151),n(20142),n(89909),n(24578),n(89437),n(802),n(52895),n(46525),n(83930),n(18369),n(41494),n(66616),n(39222),n(83282),n(59237),n(60353),n(40332),n(72040),n(52768),n(2249),n(26980),n(55058),n(29127);var tm=n(12566),tv=n(12179),ty=n(52676),tA=n.t(ty,2),tb=n(9117),t_=n(76412),tL=n(7329),tC=(0,td.sj)({active:!1,muted:!0,hasInputVoice:!1,isErrored:!1,isConnected:!1,isAlone:!1,isSharingScreen:!1,serverSupportsVoice:!1,isJoining:!1});window.voiceChatStatus=tC;var Icon=function(e){return e.muted?(0,ty.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:[(0,ty.jsx)("path",{fill:"currentColor",d:"M2 3h2v2H2zm2 2h2v2H4zm2 2h2v2H6zm2 2h2v2H8zm2 2h2v2h-2zm2 2h2v2h-2zm2 2h2v2h-2zm2 2h2v2h-2zm2 2h2v2h-2z"}),(0,ty.jsx)("path",{fill:"currentColor",d:"M9 3h6v1h1v7h-1v1H9v-1H8V4h1zM6 10h1v2h1v1h1v1h6v-1h1v-1h1v-2h1v3h-1v2h-2v1h-2v2h2v2H9v-2h2v-2H9v-1H7v-2H6z",opacity:"0.55"})]}):(0,ty.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:[(0,ty.jsx)("path",{fill:"currentColor",d:"M9 3h6v1h1v7h-1v1H9v-1H8V4h1z"}),(0,ty.jsx)("path",{fill:"currentColor",d:"M6 10h1v2h1v1h1v1h6v-1h1v-1h1v-2h1v3h-1v2h-2v1h-2v2h2v2H9v-2h2v-2H9v-1H7v-2H6z"})]})};function VoiceMicrophone(){var e=(0,tb.R)(tC),t=e.active,n=e.muted,r=e.hasInputVoice,a=e.isConnected,o=e.isErrored,i=e.isAlone,s=(0,t_.uT)();if(!t)return null;var l=s?{onPointerDown:function(e){var t,n;e.preventDefault(),null==(t=(n=window).voiceSetTalking)||t.call(n,!0)},onPointerUp:function(e){var t,n;e.preventDefault(),null==(t=(n=window).voiceSetTalking)||t.call(n,!1)},onPointerCancel:function(){var e,t;null==(e=(t=window).voiceSetTalking)||e.call(t,!1)},onPointerLeave:function(){var e,t;null==(e=(t=window).voiceSetTalking)||e.call(t,!1)}}:{};return(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)("div",(0,eP._)((0,eI._)({className:"voice-chat-microphone",title:o?"Voice chat error":a?n?s?"Tap and hold to talk":"Voice chat: hold ` to talk":"Talking":"Voice chat connecting…"},l),{style:{position:"fixed",top:4,left:4,zIndex:10,width:34,height:34,display:"flex",alignItems:"center",justifyContent:"center",color:n?"rgba(255, 255, 255, 0.55)":r?"#32cd32":"#ffffff",background:"rgba(0, 0, 0, 0.4)",border:"2px s
1olid ".concat(o?"rgba(214, 4, 4, 0.6)":a?i?"rgba(183, 255, 0, 0.45)":"rgba(50, 205, 50, 0.5)":"rgba(128, 128, 128, 0.5)"),borderRadius:"50%",boxShadow:r&&!n?"0 0 8px rgba(50, 205, 50, 0.8)":"0 2px 8px rgba(0, 0, 0, 0.2)",transition:"color 0.1s ease, box-shadow 0.1s ease",touchAction:"none",userSelect:"none",cursor:s?"pointer":"default"},children:(0,ty.jsx)(Icon,{muted:n})})),s&&(0,ty.jsx)("div",{title:"Voice chat settings",onClick:function(){return(0,ta.K4)({reactType:"voice-chat-menu"})},style:{position:"fixed",top:44,left:10,zIndex:10,width:22,height:22,display:"flex",alignItems:"center",justifyContent:"center",color:"#ffffff",background:"rgba(0, 0, 0, 0.4)",border:"1px solid rgba(255, 255, 255, 0.35)",borderRadius:"50%",touchAction:"manipulation",userSelect:"none",cursor:"pointer"},children:(0,ty.jsx)(tL.Z,{iconName:tL.K.sliders,width:14})})]})}var tj=n(68770);n(98719),n(84317),n(8957),n(44792),n(33785),n(9587),n(13278),n(64391),n(86838),n(80062),n(50433),n(97336),n(65855),n(56656),n(42449);var tD=n(58460),tx=n(36142),tk=n(26699),getSoundSystem=function(){var e,t,n=null==(t=appViewer)||null==(e=t.backend)?void 0:e.soundSystem;if((null==n?void 0:n.initAudioListener)&&(n.initAudioListener(),n.audioListener))return n},tT=new tc.P,tN=new tD._,tS=new tc.P,tz=function(){function VoiceSpatializer(){(0,tj._)(this,VoiceSpatializer),this.speakers=new Map,this.hearingRange=48}var e=VoiceSpatializer.prototype;return e.addSpeaker=function(e,t,n){this.speakers.has(e)&&this.removeSpeaker(e);var r,a,o,i=getSoundSystem();if(!i)return void console.warn("[voice] sound system not ready, cannot spatialize",t);var s=null==(o=bot)||null==(a=o.players)||null==(r=a[t])?void 0:r.entity;console.log("[voice] addSpeaker",{identity:e,username:t,audioTracks:n.getAudioTracks().map(function(e){return{id:e.id,enabled:e.enabled,muted:e.muted,readyState:e.readyState}}),entityFound:!!s,entityPosition:null==s?void 0:s.position,hearingRange:this.hearingRange});var l=document.createElement("audio");l.srcObject=n,l.muted=!0,l.autoplay=!0,l.play().catch(function(){});var c=new tx.V(i.audioListener);c.setMediaStreamSource(n),c.panner.distanceModel="linear",c.panner.refDistance=1,c.panner.maxDistance=this.hearingRange,c.panner.rolloffFactor=1,c.setVolume(1),i.worldRenderer.sceneOrigin.addAndTrack(c);var u={identity:e,username:t,audio:c,sink:l,position:new tc.P,volume:1,muted:!1};this.speakers.set(e,u),this.syncPosition(u),this.applyGain(u),this.ensureLoop()},e.removeSpeaker=function(e){var t,n,r,a,o=this.speakers.get(e);if(o){try{o.audio.disconnect()}catch(e){}var i=null==(n=appViewer)||null==(t=n.backend)?void 0:t.soundSystem;null==i||null==(a=i.worldRenderer)||null==(r=a.sceneOrigin)||r.removeAndUntrack(o.audio),o.sink.srcObject=null,o.sink.remove(),this.speakers.delete(e),0===this.speakers.size&&this.stopLoop()}},e.setVolume=function(e,t){var n=this.speakers.get(e);n&&(n.volume=Math.max(0,Math.min(t,1)),this.applyGain(n))},e.setMuted=function(e,t){var n=this.speakers.get(e);n&&(n.muted=t,this.applyGain(n))},e.hasSpeaker=function(e){return this.speakers.has(e)},e.getSpeakers=function(){return(0,eW._)(this.speakers.values()).map(function(e){return{identity:e.identity,username:e.username,volume:e.volume,muted:e.muted}})},e.setHearingRange=function(e){this.hearingRange=e;var t=!0,n=!1,r=void 0;try{for(var a,o=this.speakers.values()[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)a.value.audio.panner.maxDistance=e}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}},e.applyGain=function(e){e.audio.setVolume(e.muted?0:e.volume)},e.syncPosition=function(e){var t,n,r,a=null==(r=bot)||null==(n=r.players)||null==(t=n[e.username])?void 0:t.entity;(null==a?void 0:a.position)&&e.position.set(a.position.x,a.position.y+1.6,a.position.z),e.audio.position.copy(e.position),e.audio.updateMatrixWorld(!0),e.audio.matrixWorld.decompose(tT,tN,tS),(0,tk.WO)(e.audio.panner,e.audio.listener.context,tT.x,tT.y,tT.z)},e.ensureLoop=function(){var e=this;if(void 0===this.rafHandle){var tick=function(){var t=!0,n=!1,r=void 0;try{for(var a,o=e.speakers.values()[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value;e.syncPosition(i)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}e.rafHandle=requestAnimationFrame(tick)};this.rafHandle=requestAnimationFrame(tick)}},e.stopLoop=function(){void 0!==this.rafHandle&&(cancelAnimationFrame(this.rafHandle),this.rafHandle=void 0)},e.destroy=function(){var e=!0,t=!1,n=void 0;try{for(var r,a=this.speakers.keys()[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value;this.removeSpeaker(o)}}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}this.stopLoop()},VoiceSpatializer}(),tq=(0,td.sj)([]),tE=!1,tI=new Set,tP=!1,tY=[],tO=new Set,clearJoinTimeout=function(){void 0!==ej&&(clearTimeout(ej),ej=void 0)},tR={},setVoiceServerSender=function(e){eC=e},getPlayerSettings=function(e){var t;
1return null!=(t=tr.YM.voicePlayerSettings[e])?t:{volume:1,muted:!1}},setPlayerVoiceSettings=function(e,t){var n=getPlayerSettings(e),r=(0,eI._)({},n,t);if(tr.YM.voicePlayerSettings=(0,eP._)((0,eI._)({},tr.YM.voicePlayerSettings),(0,tg._)({},e,r)),void 0!==t.volume&&(null==eL||eL.setVolume(e,t.volume*tr.YM.voiceMasterVolume)),void 0!==t.muted){null==eL||eL.setMuted(e,t.muted);var a=tq.find(function(t){return t.identity===e});a&&refreshVoiceIndicator(e,a.username)}},applyStoredSettings=function(e){var t=getPlayerSettings(e),n=t.volume,r=t.muted;null==eL||eL.setVolume(e,n*tr.YM.voiceMasterVolume),null==eL||eL.setMuted(e,r)},attachRemoteTrack=function(e,t){if(e.kind===tm.fQ.Kind.Audio){var n=new MediaStream([e.mediaStreamTrack]);null==eL||eL.addSpeaker(t.identity,t.name||t.identity,n),applyStoredSettings(t.identity)}},pushVoiceIndicator=function(e,t,n){if(tR[e]!==n){var r,a,o,i,s,l,c=null==(i=bot)||null==(o=i.players)||null==(a=o[t])||null==(r=a.entity)?void 0:r.id;void 0!==c&&(tR[e]=n,null==(l=(0,tt.z)())||null==(s=l.setPlayerVoiceState)||s.call(l,c,t,n))}},refreshVoiceIndicator=function(e,t){pushVoiceIndicator(e,t,tY.includes(e)||getPlayerSettings(e).muted?"muted":tO.has(e)?"speaking":"idle")},refreshAllNearbyIndicators=function(){var e=!0,t=!1,n=void 0;try{for(var r,a=tq[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value,i=o.identity,s=o.username;refreshVoiceIndicator(i,s)}}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}},applySubscriptionState=function(){if(eA){console.log("[voice] reconciling subscriptions",{nearby:(0,eW._)(tI),forceMuted:tY,knownParticipants:(0,eW._)(eA.remoteParticipants.keys())});var e=!0,t=!1,n=void 0;try{for(var r,a=eA.remoteParticipants.values()[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value,i=tI.has(o.identity)&&!tY.includes(o.identity),s=!0,l=!1,c=void 0;try{for(var u,d=o.trackPublications.values()[Symbol.iterator]();!(s=(u=d.next()).done);s=!0){var w=u.value;w.kind===tm.fQ.Kind.Audio&&w.isSubscribed!==i&&(console.log("[voice] setSubscribed",{identity:o.identity,shouldHear:i}),w.setSubscribed(i))}}catch(e){l=!0,c=e}finally{try{s||null==d.return||d.return()}finally{if(l)throw c}}i||null==eL||eL.removeSpeaker(o.identity)}}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}}},applyNearbyPlayers=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,eW._)(tq);tI=new Set(e.map(function(e){return e.identity})),tY=t,tq.splice.apply(tq,[0,tq.length].concat((0,eW._)(e))),tC.isAlone=0===e.length;var r=!0,a=!1,o=void 0;try{for(var i,s=n[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=i.value;tI.has(l.identity)||(pushVoiceIndicator(l.identity,l.username,void 0),delete tR[l.identity])}}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}refreshAllNearbyIndicators(),applySubscriptionState()},micCaptureOptions=function(){return{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0,deviceId:tr.YM.voiceInputDeviceId||void 0}},tB=(a=(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){return eb?[2,eb]:e_?[2,e_]:eA&&eA.state===tm.em.Connected?(e=eA,[2,e_=(0,eE._)(function(){var t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:if(a.trys.push([0,5,6,7]),!(null==(t=navigator.mediaDevices)?void 0:t.getUserMedia))throw Error("Microphone unavailable: this page must be served over HTTPS (or http://localhost) to speak. Current origin: ".concat(location.origin));return[4,(0,tm.s1)(micCaptureOptions())];case 1:if(n=a.sent(),eA!==e||e.state!==tm.em.Connected)return n.stop(),[2,void 0];return[4,e.localParticipant.publishTrack(n)];case 2:if(a.sent(),tE)return[3,4];return[4,n.mute()];case 3:a.sent(),a.label=4;case 4:return eb=n,[2,n];case 5:return console.error("[voice] failed to enable microphone",r=a.sent()),(0,tv.c0)("Microphone access failed",String(r),!0),[2,void 0];case 6:return e_=void 0,[7];case 7:return[2]}})})()]):[2,void 0]})}),function(){return a.apply(this,arguments)}),setTalking=function(e){if(tE=e,!e){eb&&eb.mute(),tC.muted=!0;return}eA&&eA.state===tm.em.Connected&&tB().then(function(e){if(!e){tC.muted=!0;return}tE?e.unmute():e.mute(),tC.muted=!tE})},toggleTalking=function(){setTalking(tC.muted)};window.voiceSetTalking=setTalking;var tU=(o=(0,eE._)(function(e){var t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:if(eA)return[2];
1(eL=new tz).setHearingRange(e.hearingRange),(eA=new tm.du({adaptiveStream:!1,dynacast:!1})).on(tm.TQ.ParticipantConnected,function(e){console.log("[voice] participant connected",e.identity),applySubscriptionState()}).on(tm.TQ.TrackPublished,function(e,t){console.log("[voice] track published",t.identity),applySubscriptionState()}).on(tm.TQ.TrackSubscribed,function(e,t,n){console.log("[voice] track subscribed",n.identity),attachRemoteTrack(e,n)}).on(tm.TQ.TrackUnsubscribed,function(e,t,n){console.log("[voice] track unsubscribed",n.identity),null==eL||eL.removeSpeaker(n.identity)}).on(tm.TQ.ParticipantDisconnected,function(e){console.log("[voice] participant disconnected",e.identity),null==eL||eL.removeSpeaker(e.identity),delete tR[e.identity]}).on(tm.TQ.ActiveSpeakersChanged,function(t){tC.hasInputVoice=t.some(function(t){return t.identity===e.identity}),tO=new Set(t.map(function(e){return e.identity})),refreshAllNearbyIndicators()}).on(tm.TQ.Disconnected,function(){tC.isConnected=!1}).on(tm.TQ.Reconnected,function(){tC.isConnected=!0,tC.isErrored=!1}),n.label=1;case 1:return n.trys.push([1,3,,5]),[4,eA.connect(e.url,e.token,{autoSubscribe:!1})];case 2:return n.sent(),console.log("[voice] room connected, known participants:",(0,eW._)(eA.remoteParticipants.keys())),applySubscriptionState(),clearJoinTimeout(),tC.isJoining=!1,tC.active=!0,tC.isConnected=!0,tC.isErrored=!1,tC.muted=!0,[3,5];case 3:return console.error("[voice] failed to connect",t=n.sent()),(0,tv.c0)("Voice chat failed to connect",String(t),!0),[4,tQ()];case 4:return n.sent(),clearJoinTimeout(),tC.isJoining=!1,tC.active=!0,tC.isConnected=!1,tC.isErrored=!0,[3,5];case 5:return[2]}})}),function(e){return o.apply(this,arguments)}),tQ=(i=(0,eE._)(function(){var e,t,n,r,a,o,i,s,l,c,u,d,w,p;return(0,eB.Jh)(this,function(h){switch(h.label){case 0:if(tE=!1,e_=void 0,eb&&(eb.stop(),eb=void 0),!eA)return[3,2];return[4,eA.disconnect()];case 1:h.sent(),eA=void 0,h.label=2;case 2:null==eL||eL.destroy(),eL=void 0,tI.clear(),e=!0,t=!1,n=void 0;try{for(r=tq[Symbol.iterator]();!(e=(a=r.next()).done);e=!0)i=(o=a.value).identity,s=o.username,pushVoiceIndicator(i,s,void 0)}catch(e){t=!0,n=e}finally{try{e||null==r.return||r.return()}finally{if(t)throw n}}tq.splice(0,tq.length),l=!0,c=!1,u=void 0;try{for(d=Object.keys(tR)[Symbol.iterator]();!(l=(w=d.next()).done);l=!0)p=w.value,delete tR[p]}catch(e){c=!0,u=e}finally{try{l||null==d.return||d.return()}finally{if(c)throw u}}return tO=new Set,tY=[],[2]}})}),function(){return i.apply(this,arguments)}),tF=(s=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,tQ()];case 1:return e.sent(),clearJoinTimeout(),tC.isJoining=!1,tC.active=!1,tC.isConnected=!1,tC.isErrored=!1,tC.hasInputVoice=!1,tP=!1,[2]}})}),function(){return s.apply(this,arguments)}),tW=(l=(0,eE._)(function(e){var t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:if(tr.YM.voiceInputDeviceId=e,!eA||!eb)return[2];return t=eb.isMuted,[4,eA.localParticipant.unpublishTrack(eb)];case 1:return n.sent(),eb.stop(),[4,(0,tm.s1)(micCaptureOptions())];case 2:return eb=n.sent(),[4,eA.localParticipant.publishTrack(eb)];case 3:if(n.sent(),!t)return[3,5];return[4,eb.mute()];case 4:n.sent(),n.label=5;case 5:return[2]}})}),function(e){return l.apply(this,arguments)}),setMasterVolume=function(e){tr.YM.voiceMasterVolume=e;var t=!0,n=!1,r=void 0;try{for(var a,o=tq[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value.identity;applyStoredSettings(i)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}},onVoiceAvailable=function(){if(tC.serverSupportsVoice=!0,tr.YM.voiceChatEnabled){if(!ta.N_.gameLoaded){tP=!0;return}presentVoiceAvailable()}},presentVoiceAvailable=function(){if(tr.YM.voiceChatEnabled){if(!tr.YM.voiceChatConsented)return void(0,ta.K4)({reactType:"voice-chat-consent"});enableVoice()}},joinVoiceChat=function(){if(!tr.YM.voiceChatConsented)return void(0,ta.K4)({reactType:"voice-chat-consent"});enableVoice()},leaveVoiceChat=function(){tr.YM.voiceChatEnabled=!1,clearJoinTimeout(),tC.isJoining=!1,null==eC||eC("disable",{}),tF()};customEvents.on("gameLoaded",function(){tP&&(tP=!1,setTimeout(function(){presentVoiceAvailable()},0))});var enableVoice=function(){tr.YM.voiceChatEnabled=!0,tr.YM.voiceChatConsented=!0,tC.isJoining=!0,null==eC||eC("enable",{}),clearJoinTimeout(),ej=setTimeout(function(){ej=void 0,tC.isJoining&&(console.warn("[voice] timed out waiting for the server to confirm voice chat"),tC.isJoining=!1,tC.isErrored=!0,tC.active=!0)},1e4)},declineVoice=function(){tr.YM.voiceChatEnabled=!1,tr.YM.voiceChatConsented=!0,(0,ta.VG)()},onVoiceConfig=function(e){tU(e)},getIsCustomChannelsEnabled=function(){var e,t;return"websocket"===tr.YM.customChannels?!!(t=null==(e=tM.Pc.value)?void 0:e.server)&&(t.startsWith("ws://")||t.startsWith("wss://")):tr.YM.customChannels};function customChannels(){customEvents.on("mineflayerBotCreated",(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return getIsCustomChannelsEnabled()&&bot.once("login",function(){registerConnectMetadataChannel
1(),registerBlockModelsChannel(),registerMediaChannels(),registerSectionAnimationChannels(),registeredJeiChannel(),registerBlockInteractionsCustomizationChannel(),registerWaypointChannels(),registerFireworksChannels(),registerIdeChannels(),registerIframeChannels(),registerServerSettingsChannel(),registerTypingIndicatorChannel(),registerVoiceChatChannel()}),[2]})}))}var registerChannel=function(e,t,n){var r,a=!(arguments.length>3)||void 0===arguments[3]||arguments[3];bot._client.registerChannel(e,t,!0),bot._client.on(e,(r=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if(!a)return[3,2];return[4,appViewer.worldReady];case 1:return t.sent(),n(e),[3,3];case 2:n(e),t.label=3;case 3:return[2]}})}),function(e){return r.apply(this,arguments)})),console.debug("registered custom channel ".concat(e," channel"))},registerConnectMetadataChannel=function(){var e="minecraft-web-client:connect-metadata";bot._client.registerChannel(e,["container",[{name:"metadata",type:["pstring",{countType:"i16"}]}]],!0),bot._client.writeChannel(e,{metadata:JSON.stringify((0,eI._)({version:"v2.3.0",build:"2026-09-08T05"},window.serverMetadataConnect))}),bot._client.on(e,function(e){try{var t=JSON.parse(e.metadata);window.serverMetadata=t,console.debug("Received server metadata:",t)}catch(e){console.warn("Failed to parse server metadata:",e)}})},registerBlockInteractionsCustomizationChannel=function(){registerChannel("minecraft-web-client:block-interactions-customization",["container",[{name:"newConfiguration",type:["pstring",{countType:"i16"}]}]],function(e){var t=JSON.parse(e.newConfiguration);bot.mouse.setConfigFromPacket(t)},!0)},registerFireworksChannels=function(){registerChannel("minecraft-web-client:firework-explode",["container",[{name:"x",type:"f32"},{name:"y",type:"f32"},{name:"z",type:"f32"},{name:"optionsJson",type:["pstring",{countType:"i16"}]}]],function(e){var t,n={};if(e.optionsJson&&""!==e.optionsJson.trim())try{n=JSON.parse(e.optionsJson)}catch(e){console.warn("Failed to parse firework optionsJson:",e)}n.position=new tc.P(e.x,e.y,e.z),null==(t=(0,tt.z)())||t.launchFirework(n)})},registerWaypointChannels=function(){registerChannel("minecraft-web-client:waypoint-add",["container",[{name:"id",type:["pstring",{countType:"i16"}]},{name:"x",type:"f32"},{name:"y",type:"f32"},{name:"z",type:"f32"},{name:"minDistance",type:"i32"},{name:"label",type:["pstring",{countType:"i16"}]},{name:"color",type:"i32"},{name:"metadataJson",type:["pstring",{countType:"i16"}]}]],function(e){var t,n={};if(e.metadataJson&&""!==e.metadataJson.trim())try{n=JSON.parse(e.metadataJson)}catch(e){console.warn("Failed to parse waypoint metadataJson:",e)}null==(t=(0,tt.z)())||t.addWaypoint(e.id,e.x,e.y,e.z,{minDistance:e.minDistance,maxDistance:n.maxDistance,label:e.label||void 0,color:e.color||void 0,metadata:n})}),registerChannel("minecraft-web-client:waypoint-delete",["container",[{name:"id",type:["pstring",{countType:"i16"}]}]],function(e){var t;null==(t=(0,tt.z)())||t.removeWaypoint(e.id)})},registerBlockModelsChannel=function(){registerChannel("minecraft-web-client:blockmodels",["container",[{name:"worldName",type:["pstring",{countType:"i16"}]},{name:"x",type:"i32"},{name:"y",type:"i32"},{name:"z",type:"i32"},{name:"model",type:["pstring",{countType:"i16"}]}]],function(e){e.worldName;var t,n=e.x,r=e.y,a=e.z,o=e.model,i=16*Math.floor(n/16),s=16*Math.floor(a/16),l="".concat(i,",").concat(s),c="".concat(n,",").concat(r,",").concat(a);null==(t=(0,tt.z)())||t.updateCustomBlock(l,c,o)},!0)},registerSectionAnimationChannels=function(){registerChannel("minecraft-web-client:section-animation-add",["container",[{name:"id",type:["pstring",{countType:"i16"}]},{name:"offset",type:"f32"},{name:"speedX",type:"f32"},{name:"speedY",type:"f32"},{name:"speedZ",type:"f32"},{name:"limitX",type:"f32"},{name:"limitY",type:"f32"},{name:"limitZ",type:"f32"}]],function(e){var t,n=e.id,r=e.offset,a=e.speedX,o=e.speedY,i=e.speedZ,s=e.limitX,l=e.limitY,c=e.limitZ;null==(t=(0,tt.z)())||t.addSectionAnimation(n,{time:performance.now(),speedX:a,speedY:o,speedZ:i,currentOffsetX:r,currentOffsetY:r,currentOffsetZ:r,limitX:0===s?void 0:s,limitY:0===l?void 0:l,limitZ:0===c?void 0:c})},!0),registerChannel("minecraft-web-client:section-animation-remove",["container",[{name:"id",type:["pstring",{countType:"i16"}]}]],function(e){var t,n=e.id;null==(t=(0,tt.z)())||t.removeSectionAnimation(n)},!0),console.debug("Registered section animation channels")};window.testSectionAnimation=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=bot.entity.position,r="".concat(16*Math.floor(n.x/16),",").concat(16*Math.floor(n.y/16),",").concat(16*Math.floor(n.z/16));null==(e=(0,tt.z)())||e.addSectionAnimation(r,{time:performance.now(),speedX:0,speedY:t,speedZ:0,currentOffsetX:0,currentOffsetY:0,currentOffsetZ:0})};var registeredJeiChannel=function(){var e="minecraft-web-client:jei";bot._client.registerChannel(e,["container",[{name:"id",type:["pstring",{countType:"i16"}]},{name:"_categoryTitle",type:["pstring",{countType:"i16"}]},{name:"items",type:["pstring",{countType:"i16"}]}]],!0),bot._client.on(e,function(e){var t=e.id,n=e.categoryTitle,r=e.items;if(""===r){tu.Yq.value=tu.Yq.value.filter(function(e){return e.id!==t});return}
1var a=tl()(bot.version);tu.Yq.value.push({id:t,categoryTitle:n,items:JSON.parse(r).map(function(e){var t=e.itemName||e.item_name||e.item||e.itemId,r=loadedData.itemsByName[t.replace("minecraft:","")];return r?a.fromNotch((0,eP._)((0,eI._)({},e),{itemId:r.id})):(console.warn("Could not add item ".concat(t," to JEI category ").concat(n," because it was not found")),null)})})}),console.debug("registered custom channel ".concat(e," channel"))},registerMediaChannels=function(){var e=["container",[{name:"id",type:["pstring",{countType:"i16"}]}]],t=["container",[{name:"id",type:["pstring",{countType:"i16"}]},{name:"seconds",type:"f32"}]];registerChannel("minecraft-web-client:media-play",e,function(e){var t,n=e.id;null==(t=(0,tt.z)())||t.setVideoPlaying(n,!0)},!0),registerChannel("minecraft-web-client:media-pause",e,function(e){var t,n=e.id;null==(t=(0,tt.z)())||t.setVideoPlaying(n,!1)},!0),registerChannel("minecraft-web-client:media-seek",t,function(e){var t,n=e.id,r=e.seconds;null==(t=(0,tt.z)())||t.setVideoSeeking(n,r)},!0),registerChannel("minecraft-web-client:media-volume",t,function(e){var t,n=e.id,r=e.volume;null==(t=(0,tt.z)())||t.setVideoVolume(n,r)},!0),registerChannel("minecraft-web-client:media-speed",t,function(e){var t,n=e.id,r=e.speed;null==(t=(0,tt.z)())||t.setVideoSpeed(n,r)},!0),registerChannel("minecraft-web-client:media-destroy",e,function(e){var t,n=e.id;null==(t=(0,tt.z)())||t.destroyMedia(n)},!0),registerChannel("minecraft-web-client:media-add",["container",[{name:"id",type:["pstring",{countType:"i16"}]},{name:"x",type:"f32"},{name:"y",type:"f32"},{name:"z",type:"f32"},{name:"width",type:"f32"},{name:"height",type:"f32"},{name:"rotation",type:"i16"},{name:"source",type:["pstring",{countType:"i16"}]},{name:"loop",type:"bool"},{name:"volume",type:"f32"},{name:"_aspectRatioMode",type:"i16"},{name:"_background",type:"i16"},{name:"_opacity",type:"i16"},{name:"_cropXStart",type:"f32"},{name:"_cropYStart",type:"f32"},{name:"_cropXEnd",type:"f32"},{name:"_cropYEnd",type:"f32"}]],function(e){var t,n=e.id,r=e.x,a=e.y,o=e.z,i=e.width,s=e.height,l=e.rotation,c=e.source,u=e.loop,d=e.volume,w=e.background,p=e.opacity;null==(t=(0,tt.z)())||t.addMedia(n,{position:{x:r,y:a,z:o},size:{width:i,height:s},src:c,rotation:l,doubleSide:!1,background:w,opacity:p/100,allowOrigins:!1===tr.YM.remoteContentNotSameOrigin?[getCurrentTopDomain()]:tr.YM.remoteContentNotSameOrigin,loop:u,volume:d})}),bot._client.registerChannel(tV,["container",[{name:"id",type:["pstring",{countType:"i16"}]},{name:"x",type:"f32"},{name:"y",type:"f32"},{name:"isRightClick",type:"bool"}]],!0),bot._client.registerChannel(tJ,e,!0),bot._client.registerChannel(tG,["container",[{name:"id",type:["pstring",{countType:"i16"}]},{name:"reason",type:["pstring",{countType:"i16"}]},{name:"time",type:"f32"}]],!0),console.debug("Registered media channels")},tV="minecraft-web-client:media-interaction",tJ="minecraft-web-client:media-play",tG="minecraft-web-client:media-stop",sendVideoInteraction=function(e,t,n,r){bot._client.writeChannel(tV,{id:e,x:t,y:n,isRightClick:r})},videoCursorInteraction=function(){var e=appViewer.rendererState.world.intersectMedia;return e||null};window.videoCursorInteraction=videoCursorInteraction,window.addTestVideo=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=window.cursorBlockRel();if(a){var o=a.position;null==(e=(0,tt.z)())||e.addMedia("test-video",{position:{x:o.x,y:o.y+1,z:o.z},size:{width:n,height:n},src:r?"https://bucket.mcraft.fun/test_image.png":"https://bucket.mcraft.fun/test_video.mp4",rotation:t,background:0,opacity:1,allowOrigins:!0})}};var registerServerSettingsChannel=function(){registerChannel("minecraft-web-client:server-settings",["container",[{name:"settingsJson",type:["pstring",{countType:"i16"}]}]],function(e){try{var t=JSON.parse(e.settingsJson);if((void 0===t?"undefined":(0,eR._)(t))!=="object"||null===t||Array.isArray(t))return void console.warn("Invalid settings format: expected an object");var n=0,r=0,a=!0,o=!1,i=void 0;try{for(var s,l=Object.entries(t)[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=(0,eO._)(s.value,2),u=c[0],d=c[1];if(!(u in th.w$)){console.warn("Skipping unsafe setting: ".concat(u)),r++;continue}if(!(u in tr.YM)){console.warn("Setting does not exist: ".concat(u)),r++;continue}tr.of.value.add(u),tr.YM[u]=d,n++}}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}console.debug("Applied ".concat(n," server settings").concat(r>0?", skipped ".concat(r," unsafe/invalid settings"):""))}catch(e){console.error("Failed to parse or apply server settings:",e)}},!1)},registerTypingIndicatorChannel=function(){registerChannel("minecraft-web-client:typing-indicator",["container",[{name:"username",type:["pstring",{countType:"i16"}]},{name:"isTyping",type:"bool"}]],function(e){var t=e.username;if(e.isTyping){var n=ta.rl.typingUsers.findIndex(function(e){return e.username===t});-1===n?ta.rl.typingUsers.push({username:t,timestamp:Date.now()}):ta.rl.typingUsers[n].timestamp=Date.now()}else ta.rl.typingUsers=ta.rl.typingUsers.filter(function(e){return e.username!==t})})},registerVoiceChatChannel=function(){var e="minecraft-web-client:voice-chat";bot._client.registerChannel(e,["container",[{name:"action",type:["pstring",{countType:"i16"}]},{name:"json",type:["pstring",{countType:"i16"}]}]],!0),setVoiceServerSender(function(t,n){bot._client.writeChannel(e,{action:t,json:JSON.stringify(n)})}),bot._client.on(e,function(e){console.log("got voice chat",e);var t,n,r={};try{r=e.json?JSON.parse(e.json):{}}catch(e){console.warn("Failed to parse voice-chat payload:",e);return}switch(e.action){case"available":onVoiceAvailable();break;case"config":onVoiceConfig(r);break;case"nearby":applyNearbyPlayers(null!=(t=r.players)?t:[],null!=(n=r.forceMuted)?n:[]);break;default:console.log("Unknown voice-chat action:",e.action)}}),bot.once("end",function(){tF()}),console.log("registered custom channel ".concat(e," channel"))};function getCurrentTopDomain(){var e=location.hostname.split(".");return e.length>2&&("co"===e.at(-2)||"com"===e.at(-2)||"org"===e.at(-2)||"gov"===e.at(-2))?e.slice(-3).join("."):e.slice(-2).join(".")}var tH=n(29223),tZ=n(5969);window.addEventListener("unload",function(e){window.justReloaded||(sessionStorage.justReloaded=!1),(0,tH.kB)()}),document.addEventListener("visibilitychange",function(){"hidden"===document.visibilityState&&(0,tH.kB)()}),document.addEventListener("blur",function(){(0,tH.kB)()}),window.addEventListener("beforeunload",function(e){var t,n;if((window.justReloaded||(sessionStorage.justReloaded=!1),((0,ta.z7)(!0)||(null==(n=ta.M.at(-1))||null==(t=n.elem)?void 0:t.id)==="chat")&&(!sessionStorage.lastReload||tr.YM.preventDevReloadWhilePlaying)&&tr.YM.closeConfirmation)&&(0,tZ.Ee)())return e.preventDefault(),e.returnValue="","The game is running. Are you sure you want to close this page?"}),window.addEventListener("contextmenu",function(e){var t,n;["INPUT","TEXTAREA","A"].includes(null==(t=e.target)?void 0:t.tagName)||(null==(n=window.getSelection())?void 0:n.toString())||e.preventDefault()});var tK="displayRotationEnabled",setDisplayRotationEnabled=function(e){ta.N_.displayRotationEnabled=e;try{sessionStorage.setItem(tK,e?"1":"0")}catch(e){}syncBodyDisplayRotation()},syncBodyDisplayRotation=function(){var e=window.innerWidth<window.innerHeight;ta.N_.viewportPortrait=e;var t=e&&(tr.YM.autoDisplayRotation||ta.N_.displayRotationEnabled),n=document.body.classList.contains("rotated");document.body.classList.toggle("rotated",t),t&&(window.scrollX||window.scrollY)&&window.scrollTo(0,0),n!==t&&window.dispatchEvent(new Event("resize"))};try{ta.N_.displayRotationEnabled="1"===sessionStorage.getItem(tK)}catch(e){}syncBodyDisplayRotation(),window.addEventListener("resize",syncBodyDisplayRotation),(0,te.VW)(tr.YM,"autoDisplayRotation",syncBodyDisplayRotation);var tX=n(42725);(0,n(14526).setImageConverter)(function(e){var t=document.createElement("canvas"),n=t.getContext("2d");t.width=128,t.height=128;var r=n.createImageData(t.width,t.height);return r.data.set(e),n.putImageData(r,0,0),t.toDataURL("image/png")}),customEvents.on("mineflayerBotCreated",function(){bot.on("login",function(){bot.loadPlugin(tX.mapDownloader),bot.mapDownloader.on("new_map",function(e){var t,n=e.png,r=e.id;null==(t=(0,tt.z)())||t.updateMap(r,n)})})}),customEvents.on("mineflayerBotCreated",function(){customEvents.on("hurtAnimation",function(e){var t;null==(t=(0,tt.z)())||t.shakeFromDamage()}),bot._client.on("hurt_animation",function(e){var t=e.entityId,n=e.yaw;t===bot.entity.id&&customEvents.emit("hurtAnimation",n)}),bot.on("entityHurt",function(e){e.id===bot.entity.id&&customEvents.emit("hurtAnimation")});var e=bot.health;bot.on("health",function(){bot.health<e&&customEvents.emit("hurtAnimation"),e=bot.health})}),eQ.EventEmitter.defaultMaxListeners=200;var t$=eQ.EventEmitter.prototype.emit;eQ.EventEmitter.prototype.emit=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return"error"!==t[0]||this._events.error||(console.log("Unhandled error event",t.slice(1)),t[1]={message:String(t[1])}),t$.apply(this,t)};var t0=n(99656),customStickNbt=function(e){var t="/give @p stick",n=(0,t0.versionToNumber)(bot.ver
1sion)<(0,t0.versionToNumber)("1.21.5");return t+"[".concat(Object.entries(e).map(function(e){var t=(0,eO._)(e,2),r=t[0],a=t[1];return(void 0===a?"undefined":(0,eR._)(a))==="object"&&(a=JSON.stringify(a)),"".concat(r,"=").concat(n?"'".concat(a,"'"):a)}).join(","),"]")},writeCmd=function(e){e.startsWith("/")||(e="/".concat(e)),console.log("Executing",e),bot.chat(e)},t1=0;window.javaServerTester={itemCustomLore:function(){writeCmd(customStickNbt({lore:[{text:"This Stick is very sticky."}]}))},itemCustomModel:function(){writeCmd(customStickNbt({item_model:"minecraft:diamond"}))},itemCustomModel2:function(){writeCmd(customStickNbt({item_model:"diamond"}))},itemCustomName:function(){writeCmd(customStickNbt({custom_name:[{text:"diamond"}]}))},itemCustomName2:function(){writeCmd(customStickNbt({custom_name:[{translate:"item.diamond.name"}]}))},spamChat:function(){for(var e=t1;e<t1+100;e++)bot.chat("Hello, world, "+e);t1+=100},spamChatComplexMessage:function(){for(var e=t1;e<t1+100;e++)bot.chat("/tell @a "+e)}},customEvents.on("mineflayerBotCreated",function(){});var t3=n(32699),t2=n(78425);n(93043),n(52457);var t5=n(36497),t4=n(91603),t6=n(11366),t8=n(24375),t9={chat:{input:[{type:"text",placeholder:"Command to send e.g. gamemode creative"}],handler:function(e){var t=(0,eO._)(e,1)[0];bot.chat("/".concat(t.replace(/^\//,"")))}},setOrToggleSetting:{input:[{type:"select",options:Object.keys(tr.YM)},{type:"select",options:["toggle","set"]},function(){var e=(0,eO._)(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],2),t=e[0],n=void 0===t?"":t,r=e[1],a=void 0===r?"":r,o=tr.YM[n];return a&&void 0!==o&&"toggle"!==a?"set"===a?(0,eP._)((0,eI._)({},function(){var e=th.FP[n];if((null==e?void 0:e.possibleValues)&&e.possibleValues.length>0){var t=e.possibleValues;return{type:"select",options:Array.isArray(t[0])&&"string"==typeof t[0][0]?t.map(function(e){return(0,eO._)(e,1)[0]}):t}}return"boolean"==typeof o?{type:"select",options:["true","false"]}:"number"==typeof o?{type:"number",min:null==e?void 0:e.min,max:null==e?void 0:e.max}:{type:"text"}}()),{placeholder:String(o)}):void 0:null}],handler:function(e){var t=(0,eO._)(e,3),n=t[0],r=t[1],a=t[2];if("toggle"===r||void 0===r){var o=tr.YM[n],i=th.FP[n];if((null==i?void 0:i.possibleValues)&&i.possibleValues.length>0){var s=i.possibleValues,l=Array.isArray(s[0])&&"string"==typeof s[0][0]?s.map(function(e){return(0,eO._)(e,1)[0]}):s,c=(l.indexOf(String(o))+1)%l.length;tr.YM[n]=l[c]}else tr.YM[n]="boolean"==typeof o?!o:"number"==typeof o?o+1:o}else{th.FP[n];var u=a;"boolean"==typeof tr.YM[n]?u="true"===a||!0===a:"number"==typeof tr.YM[n]&&(u=Number(a)),tr.YM[n]=u}}},jsScripts:{input:[{type:"text",placeholder:"JavaScript code to run in main thread (sensitive!)"}],handler:function(e){Function((0,eO._)(e,1)[0])()}}},t7=n(3308),ne=n(75271),nt=n.t(ne,2),nn=n(27678);function FullScreenWidget(e){var t=e.name,n=e.title,r=e.children;return(0,t_.mE)(t)?(0,ty.jsx)(nn.Z,{backdrop:!0,title:n,children:r}):null}var nr="loaded world signs";function ModuleSignsViewer(){var e=(0,eO._)((0,ne.useState)([]),2),t=e[0],n=e[1],r=[],a=[];return(0,ty.jsxs)(FullScreenWidget,{name:nr,title:"Loaded Signs",children:[(0,ty.jsxs)("div",{children:[a.length," signs currently in the scene:"]}),(0,ty.jsx)("div",{style:{cursor:"pointer"},onClick:function(){if(t.length===r.length)return void n([]);n((0,eW._)(r))},children:"Select All"}),t.length&&(0,ty.jsx)("div",{style:{cursor:"pointer"},onClick:function(){navigator.clipboard.writeText(t.join("\n"))},children:"Copy Selected Signs"}),a]})}let na=[eq];var no=n(68733),ni=n(44214),ns=n(39847),nl=n(31444),nc=(0,td.sj)({offset:{x:0,y:0}}),nu={x:0,y:0},nd=performance.now(),nf=0,nw=0;function updateMotion(){if(null==(e=bot)?void 0:e.entity){var e,t=performance.now(),n=(t-nd)/1e3;nd=t;var r=bot.entity.yaw-nf,a=bot.entity.pitch-nw;nf=bot.entity.yaw,nw=bot.entity.pitch;var o=bot.entity.velocity,i=new tc.P(o.x,0,o.z),s=new tD._;s.setFromEuler(new nl.U(0,-bot.entity.yaw,0)),i.applyQuaternion(s);var l={x:-(150*i.x),y:-(150*i.z)};nu.x+=(300*r+l.x)*n,nu.y+=(300*a+l.y)*n,nu.x*=.92,nu.y*=.92,nu.x=Math.max(-100,Math.min(100,nu.x)),nu.y=Math.max(-100,Math.min(100,nu.y)),nc.offset={x:nu.x,y:nu.y}}}var np=!1;function initMotionTracking(){np||(np=!0,animate());function animate(){updateMotion(),requestAnimationFrame(animate)}}function useUiMotion(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];(0,ne.useEffect)(function(){if(t&&e.current){var n=(0,td.Ld)(nc,function(){var t=e.current;t&&(t.style.transform="translate(".concat(nc.offset.x.toFixed(2),"px, ").concat(nc.offset.y.toFixed(2),"px)"))});return function(){return n()}}},[t,e])}function onCameraMove(e){if((0,ta.z7)(!0)&&("mousemove"!==e.type||document.pointerLockElement)){if(null==(t=e.stopPropagation)||t.call(e),!(0,tn.X5)(appViewer.playerState.reactive).isSpectatingEntity()){var t,n=performance.now();if(!(n-eD<4)||tr.YM.preciseMouseInput){eD=n;var r=tr.YM.mouseSensX,a=tr.YM.mouseSensY;-1===a&&(a=r),moveCameraRawHandler({x:e.movementX*r*1e-4,y:e.movementY*a*1e-4}
1),bot.mouse.update(),updateMotion()}}}}var moveCameraRawHandler=function(e){var t,n,r=e.x,a=e.y,o=.5*Math.PI,i=-.5*Math.PI;if(appViewer.lastCamUpdate=Date.now(),null==(t=bot)?void 0:t.entity){var s=bot.entity.pitch-a,l=resolveBoatPassengerLookYaw(bot.entity.yaw-r);bot.look(l,Math.max(i,Math.min(o,s)),!0),null==(n=appViewer.backend)||n.updateCamera(null,l,s)}};function resolveBoatPassengerLookYaw(e){var t=bot.vehicle;if(!t||!(0,ns.bp)(t.name))return e;var n=t.yaw;return Number.isFinite(n)&&Number.isFinite(e)?(0,ns.Q8)(e,n):e}function pointerLockChangeCallback(){appViewer.rendererState.preventEscapeMenu||!tZ.lt.hasPointerLock&&0===ta.M.length&&ta.N_.gameLoaded&&(0,ta.K4)({reactType:"pause-screen"})}window.addEventListener("mousemove",function(e){onCameraMove(e)},{capture:!0}),document.addEventListener("pointerlockchange",pointerLockChangeCallback,!1);var nh=n(46644),nM=n(2905);n(27969);var ng=n(85691);function PlayerListOverlay(e){var t=e.playersLists,n=e.clientId,r=e.tablistHeader,a=e.tablistFooter,o=e.serverIP,i=e.style;return(0,ty.jsxs)("div",{className:"playerlist-container",id:"playerlist-container",style:i,children:[(0,ty.jsxs)("span",{className:"playerlist-title",children:["Server IP: ",o]}),(0,ty.jsx)("div",{className:"playerlist-header",children:(0,ty.jsx)(ng.Z,{message:r})}),(0,ty.jsx)("div",{className:"player-lists",children:t.map(function(e,t){return(0,ty.jsx)("div",{className:"player-list",children:e.map(function(e){var t,r;return(0,ty.jsxs)("div",{className:"playerlist-entry".concat(n===e.uuid?" active-player":""),id:"plist-player-".concat(e.uuid),children:[(0,ty.jsx)(ng.Z,{message:null!=(t=e.displayName)?t:e.username}),(0,ty.jsxs)("div",{className:"playerlist-ping",children:[(0,ty.jsx)("p",{className:"playerlist-ping-value",children:e.ping}),(0,ty.jsx)("p",{className:"playerlist-ping-label",children:"ms"})]})]},null!=(r=e.uuid)?r:e.username)})},t)})}),(0,ty.jsx)("div",{className:"playerlist-footer",children:(0,ty.jsx)(ng.Z,{message:a})})]})}var nm=(0,td.sj)({isOpen:!1});function PlayerListOverlayProvider(){var e,t=(0,tb.R)(nm).isOpen,n=null==(e=tM.Pc.value)?void 0:e.server,r=(0,eO._)((0,ne.useState)(bot._client.uuid),2),a=r[0],o=r[1],i=(0,eO._)((0,ne.useState)({}),2),s=i[0],l=i[1],c=(0,eO._)((0,ne.useState)(0),2),u=(c[0],c[1]);(0,ne.useEffect)(function(){var requestUpdate=function(){var e,t;l(null!=(t=null==(e=bot)?void 0:e.players)?t:{})};bot.on("playerUpdated",function(){return requestUpdate()}),bot.on("playerJoined",function(){return requestUpdate()}),bot.on("playerLeft",function(){return requestUpdate()}),requestUpdate();var e=setInterval(function(){requestUpdate()},1e3);return function(){return clearInterval(e)}},[]),(0,ne.useEffect)(function(){l(bot.players),bot.player?o(bot.player.uuid):bot._client.on("player_info",function(){var e,t;(null==(e=bot.player)?void 0:e.uuid)&&o(null==(t=bot.player)?void 0:t.uuid)});var playerlistHeader=function(){return u(function(e){return e+1})};return bot._client.on("playerlist_header",playerlistHeader),function(){var e;null==(e=bot)||e._client.removeListener("playerlist_header",playerlistHeader)}},[n]);for(var d=Object.values(s).sort(function(e,t){return e.username>t.username?1:e.username<t.username?-1:0}),w=d.length,p=Math.min(4,Math.ceil(w/10)),h=Math.ceil(w/p),M=[],g=0;g<p;g++){var m=g*h,v=Math.min(m+h,w);m<w&&M.push(d.slice(m,v))}return t?(0,ty.jsx)(PlayerListOverlay,{playersLists:M,clientId:a,tablistHeader:bot.tablist.header,tablistFooter:bot.tablist.footer,serverIP:null!=n?n:""}):null}n(17926);var nv=n(4644),ny=n(76207),nA=[];"undefined"!=typeof window&&(window.beforeRenderFrame=nA);var nb=n(26853),n_=n(45938),nL=new Set(["minecart","chest_minecart","furnace_minecart","hopper_minecart","tnt_minecart","spawner_minecart","command_block_minecart"]),nC=new Set(["horse","donkey","mule","skeleton_horse","zombie_horse"]);function isRideableHorseEntityName(e){return!!e&&nC.has(e)}function isRideableMinecartEntityName(e){return!!e&&nL.has(e)}function collectPassengerIds(e){var t;return(null!=(t=e.passengers)?t:[]).map(function(e){return e.id}).filter(function(e){return"number"==typeof e&&Number.isInteger(e)})}function getEntityBB(e){var t,n,r=null!=(t=e.width)?t:1.375,a=null!=(n=e.height)?n:.5625,o=r/2,i=e.position,s=i.x,l=i.y,c=i.z;return{minX:s-o,maxX:s+o,minY:l,maxY:l+a,minZ:c-o,maxZ:c+o}}function isWaterBlock(e,t){var n;return!!e&&(e.type===t.waterId||null!==t.flowingWaterId&&void 0!==t.flowingWaterId&&e.type===t.flowingWaterId||!!(null==(n=e.getProperties)?void 0:n.call(e).waterlogged))}function isSourceWater(e,t){var n,r,a;return null!=(n=e.getProperties)&&!!n.call(e).waterlogged||e.type===t.waterId&&0===Number(null!=(a=null==(r=e.getProperties)?void 0:r.call(e).level)?a:0)}function getFluidHeight(e,t,n,r){var a,o,i,s=t.getBlock(n.offset(0,1,0));return s&&isWaterBlock(s,r)&&(s.type===e.type||(null==(a=s.getProperties)?void 0:a.call(s).waterlogged))?1:isWaterBlock(e,r)?1-Number(null!=(i=null==(o=e.getProperties)?void 0:o.call(e).level)?i:0)/9:0}
1function isUnderwater(e,t,n){var r=e.maxY+.001,a=Math.floor(e.minX),o=Math.ceil(e.maxX),i=Math.floor(e.maxY),s=Math.ceil(r),l=Math.floor(e.minZ),c=Math.ceil(e.maxZ),u=!1,d=new eK.Vec3(0,0,0);for(d.y=i;d.y<s;d.y++)for(d.x=a;d.x<o;d.x++)for(d.z=l;d.z<c;d.z++){var w=t.getBlock(d);if(null===w)return null;if(isWaterBlock(w,n)&&r<d.y+getFluidHeight(w,t,d,n)){if(!isSourceWater(w,n))return!0;u=!0}}return u}function isInWater(e,t,n){var r=Math.floor(e.minX),a=Math.ceil(e.maxX),o=Math.floor(e.minY),i=Math.ceil(e.minY+.001),s=Math.floor(e.minZ),l=Math.ceil(e.maxZ),c=new eK.Vec3(0,0,0);for(c.x=r;c.x<a;c.x++)for(c.y=o;c.y<i;c.y++)for(c.z=s;c.z<l;c.z++){var u=t.getBlock(c);if(null===u)return null;if(isWaterBlock(u,n)){var d=c.y+getFluidHeight(u,t,c,n);if(e.minY<d)return!0}}return!1}function getRemoteBoatWaterPatchVisible(e,t,n){if(!(0,nb.bp)(e.name))return!1;var r=getEntityBB(e),a=isUnderwater(r,t,n);if(null===a||a)return!1;var o=isInWater(r,t,n);return null!==o&&o}function getLocalBoatWaterPatchVisible(e){return e===n_.BoatStatus.IN_WATER}function getRemoteBoatPaddleState(e,t,n){if(0===collectPassengerIds(e).length)return{leftPaddle:!1,rightPaddle:!1};var r=-1,a=-1;if((null==n?void 0:n.includes("paddle_left"))&&(null==n?void 0:n.includes("paddle_right")))r=n.indexOf("paddle_left"),a=n.indexOf("paddle_right");else{if("1.17"!==t&&"1.17.1"!==t)return{leftPaddle:!1,rightPaddle:!1};r=12,a=13}var o=e.metadata;return Array.isArray(o)?{leftPaddle:!0===o[r],rightPaddle:!0===o[a]}:{leftPaddle:!1,rightPaddle:!1}}function resolveBoatPaddleHints(e,t,n){if(t){var r=n.localBoatPaddleState;return{boatPaddleLeft:(null==r?void 0:r.leftPaddle)===!0,boatPaddleRight:(null==r?void 0:r.rightPaddle)===!0}}var a=getRemoteBoatPaddleState(e,n.version,n.entityMetadataKeys);return{boatPaddleLeft:a.leftPaddle,boatPaddleRight:a.rightPaddle}}function buildEntityRenderHints(e,t){var n={};t.localVehicle===e&&((0,nb.bp)(e.name)||isRideableMinecartEntityName(e.name)||isRideableHorseEntityName(e.name))&&(n.localVehicle=!0);var r=collectPassengerIds(e);return(0,nb.bp)(e.name)?(n.passengerIds=r,n.boatPassengerIds=r,n.passengerLayout="boat",Object.assign(n,resolveBoatPaddleHints(e,!0===n.localVehicle,t)),n.localVehicle?n.boatWaterPatchVisible=getLocalBoatWaterPatchVisible(t.localBoatStatus):n.boatWaterPatchVisible=getRemoteBoatWaterPatchVisible(e,t.world,t.waterIds)):(isRideableMinecartEntityName(e.name)&&(n.passengerIds=r,n.passengerLayout="minecart"),isRideableHorseEntityName(e.name)&&(n.passengerIds=r,n.passengerLayout="horse",!0===n.localVehicle&&t.horseControllerActive&&(n.localVehicleVerticalCameraLock="horse",n.localVehicleYawLock="horse"))),n}function getCameraMovementMode(e){return e.vehicle&&isRideableMinecartEntityName(e.vehicle.name)?"server-vehicle":"local-player"}function shouldSnapCameraOnMount(e){return(0,nb.bp)(e)||isRideableMinecartEntityName(e)}function updateMountedBobState(e){var t=e.mounted,n=e.walkDist,r=e.bob,a=e.horizontalDist,o=e.onGround,i=e.isDeadOrDying,s=e.isSwimming;if(t)return{prevWalkDist:n,prevBob:r,walkDist:n,bob:0};var l=!o||i||s?0:Math.min(.1,a);return{prevWalkDist:n,prevBob:r,walkDist:n+.6*a,bob:r+(l-r)*.4}}function updateMountedMovementState(e){var t=e.mounted,n=e.velocity,r=e.onGround,a=e.isSneaking,o=e.isFlying,i=e.timeOffGround,s=e.deltaTime;if(t)return{movementState:"NOT_MOVING",timeOffGround:0};var l=r?0:i+s;return a||o||l>0?{movementState:"SNEAKING",timeOffGround:l}:Math.abs(n.x)>.01||Math.abs(n.z)>.01?{movementState:Math.abs(n.x)>.15||Math.abs(n.z)>.15?"SPRINTING":"WALKING",timeOffGround:l}:{movementState:"NOT_MOVING",timeOffGround:l}}var updateFovMultiplier=function(){if(nj.ready&&nj.reactive){var e,t,n,r,a,o,i,s,l,c,u,d,w,p,h,M=1;nj.reactive.flying&&(M*=1.05);var g=null!=(h=null==(e=null!=(p=null!=(w=null!=(d=null==(n=bot.entity)||null==(t=n.attributes)?void 0:t["generic.movement_speed"])?d:null==(a=bot.entity)||null==(r=a.attributes)?void 0:r["minecraft:movement_speed"])?w:null==(i=bot.entity)||null==(o=i.attributes)?void 0:o.movement_speed)?p:null==(l=bot.entity)||null==(s=l.attributes)?void 0:s["minecraft:movementSpeed"])?void 0:e.value)?h:.1,m=.1;(null==(c=bot.controlState)?void 0:c.sprint)&&!(null==(u=bot.controlState)?void 0:u.sneak)&&(m*=1.3),M*=(m/g+1)/2,(Math.abs(.1)<Number.EPSILON||!Number.isFinite(M))&&(M=1);var v=nj.reactive.heldItemMain;
1if((null==v?void 0:v.name)==="bow"&&nj.reactive.itemUsageTicks>0){var y=nj.reactive.itemUsageTicks/20;y>1?y=1:y*=y,M*=1-.15*y}M=1+(M-1)*1;var A=ta.rl.isZooming?30:tr.YM.fov;nj.reactive.fovMultiplier=A/tr.YM.fov*M}},nj=new(function(){function PlayerStateControllerMain(){var e=this;(0,tj._)(this,PlayerStateControllerMain),this.disableStateUpdates=!1,this.timeOffGround=0,this.lastUpdateTime=performance.now(),this.isUsingItem=!1,this.eyeHeightWatchInstalled=!1,this.ready=!1,customEvents.on("mineflayerBotCreated",function(){e.attachBotSession()})}var e=PlayerStateControllerMain.prototype;return e.attachBotSession=function(){var e,t,n=this;this.ready=!1,this.isUsingItem=!1,this.timeOffGround=0,this.lastUpdateTime=performance.now();var onInjectAllowed=function(){if(!n.ready){n.ready=!0;var e,t=null==(e=bot._client)?void 0:e.state;console.log("[playerState] inject_allowed",{t:performance.now(),clientState:t}),n.botCreated()}};bot.once("inject_allowed",onInjectAllowed),bot.once("end",function(){n.ready=!1});var r=null==(e=bot._client)?void 0:e.state;r&&r!==ny.states.HANDSHAKING&&(console.log("[playerState] inject_allowed already fired before attach",{clientState:r,eyeHeight:null==(t=this.reactive)?void 0:t.eyeHeight}),onInjectAllowed())},e.onBotCreatedOrGameJoined=function(){var e;this.reactive.username=null!=(e=bot.username)?e:""},e.botCreated=function(){var e,t=this;console.log("bot created & plugins injected"),this.reactive=appViewer.playerState.reactive,this.utils=(0,nv.X5)(this.reactive);var n=(0,nv.Rv)();Object.assign(this.reactive,n),this.reactive.perspective=tr.YM.defaultPerspective,this.onBotCreatedOrGameJoined();var handleDimensionData=function(e){var n=1;try{n=e.dimension.value.has_skylight.value}catch(e){}t.reactive.lightingDisabled="the_nether"===bot.game.dimension||"the_end"===bot.game.dimension||!n;var r="default";try{r="minecraft:the_nether"===e.dimension.value.effects.value?"nether":"default"}catch(e){}try{r=e.dimension.value.cardinal_light.value}catch(e){}t.reactive.cardinalLight=r};bot._client.on("login",function(e){handleDimensionData(e)}),bot._client.on("respawn",function(e){handleDimensionData(e)}),bot.on("move",function(){t.updateMovementState()}),bot.on("heldItemChanged",function(){return t.updateHeldItem(!1)}),bot.inventory.on("updateSlot",function(e){45===e&&t.updateHeldItem(!0)});var updateSneakingOrFlying=function(){t.updateMovementState(),t.reactive.sneaking=bot.controlState.sneak,t.reactive.flying=ta.rl.isFlying,t.reactive.eyeHeight=bot.controlState.sneak&&!ta.rl.isFlying?1.27:1.62};updateSneakingOrFlying(),bot.on("physicsTick",function(){t.isUsingItem&&t.reactive.itemUsageTicks++,updateSneakingOrFlying(),t.updateWalkDistAndBob()}),(0,te.VW)(ta.rl,"isSneaking",function(){updateSneakingOrFlying()}),(0,te.VW)(ta.rl,"isFlying",function(){updateSneakingOrFlying()}),this.updateHeldItem(!1),this.updateHeldItem(!0),bot.on("game",function(){t.reactive.gameMode=bot.game.gameMode}),this.reactive.gameMode=null==(e=bot.game)?void 0:e.gameMode,customEvents.on("gameLoaded",function(){t.reactive.team=bot.teamMap[bot.username]}),this.watchReactive(),window.hello=function(){console.log("Hey, ".concat(bot.username,"! This game client is built on top of minecraft-web-client. Join us and let's make the open-source Minecraft client even better!"))}},e.updateMovementState=function(){if((null==(e=bot)?void 0:e.entity)&&!this.disableStateUpdates){var e,t=bot.entity.velocity,n=bot.entity.onGround,r=performance.now(),a=r-this.lastUpdateTime;this.lastUpdateTime=r;var o=updateMountedMovementState({mounted:!!bot.vehicle,velocity:t,onGround:n,isSneaking:ta.rl.isSneaking,isFlying:ta.rl.isFlying,timeOffGround:this.timeOffGround,deltaTime:a});this.timeOffGround=o.timeOffGround,this.reactive.movementState=o.movementState}},e.updateWalkDistAndBob=function(){if((null==(e=bot)?void 0:e.entity)&&!this.disableStateUpdates){var e,t,n=bot.entity.velocity,r=Math.hypot(n.x,n.z),a=updateMountedBobState({mounted:!!bot.vehicle,walkDist:this.reactive.walkDist,bob:this.reactive.bob,horizontalDist:r,onGround:bot.entity.onGround,isDeadOrDying:(null!=(t=bot.entity.health)?t:20)<=0,isSwimming:bot.controlState.sprint&&this.reactive.inWater});this.reactive.prevWalkDist=a.prevWalkDist,this.reactive.prevBob=a.prevBob,this.reactive.walkDist=a.walkDist,this.reactive.bob=a.bob}},e.updateHeldItem=function(e){var t=e?bot.inventory.slots[45]:bot.heldItem;if(!t)return void(e?this.reactive.heldItemOff=void 0:this.reactive.heldItemMain=void 0);var n=loadedData.blocksByName[t.name],r=n?new window.PrismarineBlock(n.id,"void",t.metadata).getProperties():{},a={name:t.name,properties:r,id:t.type,type:n?"block":"item",fullItem:t};e?this.reactive.heldItemOff=a:this.reactive.heldItemMain=a},e.startUsingItem=function(){this.isUsingItem||(this.isUsingItem=!0,this.reactive.itemUsageTicks=0)},e.stopUsingItem=function(){this.isUsingItem=!1,this.reactive.itemUsageTicks=0},e.getItemUsageTicks=function(){return this.reactive.itemUsageTicks},e.watchReactive=function(){this.eyeHeightWatchInstalled||(this.eyeHeightWatchInstalled=!0,(0,te.VW)(this.reactive,"eyeHeight",function(){var e;null==(e=appViewer.backend)||e.updateCamera(bot.entity.position,bot.entity.yaw,bot.entity.pitch,{movementMode:getCameraMovementMode(bot)})}))},PlayerStateControllerMain}());window.playerState=nj,nA.includes(updateFovMultiplier)||nA.push(updateFovMultiplier),customEvents.on("gameLoaded",function(){updateFovMultiplier()});var nD="next-console-root",nx="nextconsole-host",isNextConsoleKeyboardTarget=function(e){var t=document.activeElement;if(t instanceof HTMLElement&&t.id===nx)return!0;
1if(!e)return!1;var n=!0,r=!1,a=void 0;try{for(var o,i=e.composedPath()[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var s=o.value;if(s instanceof HTMLElement&&s.id===nx)return!0}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}return!1},getDevConsoleMountTarget=function(){var e=document.getElementById(nD);if((null==e?void 0:e.parentElement)===document.documentElement)return e;var t=document.createElement("div");return t.id=nD,document.documentElement.appendChild(t),t},nk=(c=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return"#dev"!==window.location.hash?[2,window.__nextConsoleInitPromise]:window.__nextConsole?[2,window.__nextConsole]:(window.__nextConsoleInitPromise||(window.__nextConsoleInitPromise=n.e("716").then(n.bind(n,98030)).then(function(e){var t=e.default;return window.__nextConsole||(window.__nextConsole=new t({theme:"dark",target:getDevConsoleMountTarget()}),window.__nextConsole.panel.floatButton.el.style.opacity=.6),window.__nextConsole})),[2,window.__nextConsoleInitPromise])})}),function(){return c.apply(this,arguments)}),nT=(0,td.sj)(t2.e1.keybindings);(0,td.Ld)(nT,function(){t2.e1.keybindings=nT});var nN={preventDefault:!0},nS=new t5.h({commands:{movement:{forward:["KeyW"],back:["KeyS"],left:["KeyA"],right:["KeyD"],jump:["Space","A"],sneak:["ShiftLeft","Down"],toggleSneakOrDown:[null,"Right Stick"],sprint:["ControlLeft","Left Stick"]},general:{inventory:["KeyE","X"],drop:["KeyQ","B"],dropStack:[null],nextHotbarSlot:[null,"Right Bumper"],prevHotbarSlot:[null,"Left Bumper"],attackDestroy:[null,"Right Trigger"],interactPlace:[null,"Left Trigger"],swapHands:["KeyF"],selectItem:["KeyH"],rotateCameraLeft:[null],rotateCameraRight:[null],rotateCameraUp:[null],rotateCameraDown:[null],chat:[["KeyT","Enter"],"Right"],command:["Slash"],playersList:["Tab","Left"],debugOverlay:["F3"],debugOverlayHelpMenu:[null],zoom:["KeyC"],viewerConsole:["Backquote"],togglePerspective:["F5","Up"],takeScreenshot:["F2"]},ui:{toggleFullscreen:["F11"],back:[null,"B"],toggleMap:["KeyJ"],leftClick:[null,"A"],rightClick:[null,"X"],speedupCursor:[null,"Left Stick"],pauseMenu:[null,"Start"]},communication:{toggleMicrophone:["KeyM"],pushToTalk:["Backquote"],voiceMenu:["KeyV"]},advanced:{lockUrl:[null]},custom:{}},movementVector:"2d",groupedCommands:{general:{switchSlot:["Digits",[]]}}},{defaultControlOptions:nN,target:document,captureEvents:function(e){return!isNextConsoleKeyboardTarget(e)},storeProvider:{load:function(){return nT},save:function(){}},gamepadPollingInterval:10});window.controMax=nS;var isCommandDisabled=function(e){var t,n;return null==(n=ta.N_.appConfig)||null==(t=n.disabledCommands)?void 0:t.includes(e)};nS.on("stickMovement",function(e){var t=e.stick,n=e.vector;if((0,ta.z7)(!0)&&"right"===t){var r=n.x,a=n.z;.18>Math.abs(r)&&(r=0),.18>Math.abs(a)&&(a=0),onCameraMove({movementX:10*r,movementY:10*a,type:"stickMovement",stopPropagation:function(){}}),ta.N_.usingGamepadInput=!0}}),controls_updateBinds(nT);var updateDoPreventDefault=function(){nN.preventDefault=ta.N_.gameLoaded&&!ta.M.length};(0,td.Ld)(ta.N_,updateDoPreventDefault),(0,td.Ld)(ta.M,updateDoPreventDefault),updateDoPreventDefault();var setSprinting=function(e){bot.setControlState("sprint",e),ta.rl.isSprinting=e},isSpectatingEntity=function(){return(0,tn.X5)(nj.reactive).isSpectatingEntity()},nz=0,takeScreenshotAction=function(){var e=Date.now();if(!(e-nz<500)){nz=e;var t=document.getElementById("viewer-canvas");if(t){var n=document.createElement("a");n.href=t.toDataURL("image/png");var r=new Date;n.download="screenshot ".concat(r.toLocaleString().replaceAll(".","-").replace(",",""),".png"),n.click()}}};nS.on("movementUpdate",function(e){var t=e.vector,n=(e.soleVector,e.gamepadIndex);if(ta.N_.usingGamepadInput=void 0!==n,!(!bot||!(0,ta.z7)(!1)||isSpectatingEntity())){var r=[["z",-1,"forward"],["z",1,"back"],["x",-1,"left"],["x",1,"right"]],a={},o=!0,i=!1,s=void 0;try{for(var l,c=Object.entries(t)[Symbol.iterator]();!(o=(l=c.next()).done);o=!0)!function(){var e,t=(0,eO._)(l.value,2),n=t[0],o=t[1];if(!(void 0===o||.3>Math.abs(o))){var i=o<0?-1:1;a[null==(e=r.find(function(e){var t=(0,eO._)(e,2),r=t[0],a=t[1];return r===n&&a===i}))?void 0:e[2]]=!0}}()}catch(e){i=!0,s=e}finally{try{o||null==c.return||c.return()}finally{if(i)throw s}}for(var u=0,d=["forward","back","left","right"];u<d.length;u++){var w=d[u];if(!!a[w]!=!!bot.controlState[w]){var p=!!a[w];(!p||(0,ta.z7)(!0))&&(bot.setControlState(w,p),"forward"!==w||p||setSprinting(!1))}}}});var nq=null,nE={"movement.jump":function(){toggleFly()},"movement.forward":function(){setSprinting(!0)}};(0,td.Ld)(ta.M,function(){if(ta.M.length){var e=!0,t=!1,n=void 0;try{for(var r,a=nS.pressedKeys[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value;nS.pressedKeyOrButtonChanged({code:o},!1)}}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}}});var nI={activeDirections:new Set,interval:null,config:{speed:1,interval:5},movements:{left:{movementX:-.5,movementY:0},right:{movementX:.5,movementY:0},up:{movementX:0,movementY:-.5},down:{movementX:0,movementY:.5}},updateMovement:function(){if(0===nI.activeDirections.size){nI.interval&&(clearInterval(nI.interval),nI.interval=null);return}nI.interval||(nI.interval=setInterval(function(){var e={movementX:0,movementY:0},t=!0,n=!1,r=void 0;try{for(var a,o=nI.activeDirections[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value;e.movementX+=nI.movements[i].movementX,e.movementY+=nI.movements[i].movementY}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}onCameraMove((0,eP._)((0,eI._)({},e),{type:"keyboardRotation",stopPropagation:function(){}}))},nI.config.interval))},start:function(e){nI.activeDirections.add(e),nI.updateMovement()},stop:function(e){nI.activeDirections.delete(e),nI.updateMovement()},handleCommand:function(e,t){if(!isSpectatingEntity()){var n={"general.rotateCameraLeft":"left","general.rotateCameraRight":"right","general.rotateCameraUp":"up","general.rotateCameraDown":"down"}[e];return!!n&&(t?nI.start(n):nI.stop(n),!0)}}};window.cameraRotationControls=nI;var setSneaking=function(e){ta.rl.isSneaking=e,bot.setControlState("sneak",e)},onTriggerOrReleased=function(e,t){if("communication.pushToTalk"===e)return void(tr.YM.voiceOpenMic?t&&toggleTalking():setTalking(t));
1if(bot&&(0,ta.z7)(!1)){if((0,t4.Xe)(e,"movement"))switch(e){case"movement.jump":if(isSpectatingEntity())break;bot.setControlState("jump",t);break;case"movement.sneak":setSneaking(t);break;case"movement.sprint":t&&setSprinting(t);break;case"movement.toggleSneakOrDown":ta.rl.isFlying?setSneaking(t):t&&setSneaking(!ta.rl.isSneaking);break;case"movement.forward":nS.setMovement("forward",t);break;case"movement.back":nS.setMovement("backward",t);break;case"movement.left":nS.setMovement("left",t);break;case"movement.right":nS.setMovement("right",t)}if((0,t4.Xe)(e,"general"))switch(e){case"general.attackDestroy":document.dispatchEvent(new MouseEvent(t?"mousedown":"mouseup",{button:0}));break;case"general.interactPlace":document.dispatchEvent(new MouseEvent(t?"mousedown":"mouseup",{button:2}));break;case"general.zoom":ta.rl.isZooming=t;break;case"general.debugOverlay":t&&(ta.N_.showDebugHud=!ta.N_.showDebugHud);break;case"general.debugOverlayHelpMenu":t&&nO();break;case"general.rotateCameraLeft":case"general.rotateCameraRight":case"general.rotateCameraUp":case"general.rotateCameraDown":nI.handleCommand(e,t);break;case"general.playersList":nm.isOpen=t;break;case"general.viewerConsole":var n;(null==(n=tM.Pc.value)?void 0:n.viewerWsConnect)&&(0,ta.K4)({reactType:"console"});break;case"general.togglePerspective":if(t)switch(nj.reactive.perspective){case"first_person":nj.reactive.perspective="third_person_back";break;case"third_person_back":nj.reactive.perspective="third_person_front";break;case"third_person_front":nj.reactive.perspective="first_person"}}else(0,t4.Xe)(e,"ui")&&"ui.pauseMenu"===e&&t&&(ta.M.length?(0,ta.kJ)():(0,ta.K4)({reactType:"pause-screen"}))}},alwaysPressedHandledCommand=function(e){var t,n,r,a,o;if("general.inventory"===e&&(null==(r=ta.M.at(-1))||null==(n=r.reactType)||null==(t=n.startsWith)?void 0:t.call(n,"player_win:"))&&(0,ta.kJ)(),"advanced.lockUrl"===e&&lockUrl(),"communication.toggleMicrophone"===e&&(null==(a=toggleMicrophoneMuted)||a()),"communication.voiceMenu"===e){if(!tC.active)return;(null==(o=ta.M.at(-1))?void 0:o.reactType)==="voice-chat-menu"?(0,ta.VG)():(0,ta.K4)({reactType:"voice-chat-menu"})}};function lockUrl(){var e,t="";if(t8.RL.saveLoaded&&t8.RL.inMemorySave){var n=t8.RL.inMemorySavePath.split("/").at(-1);t="loadSave=".concat(n)}else if(1&&(null==(e=tM.Pc.value)?void 0:e.server)){var r=new URLSearchParams,a=tM.Pc.value,o=a.server,i=a.botVersion,s=a.proxy,l=a.username;r.set("ip",o),i&&r.set("version",i),s&&r.set("proxy",s),l&&r.set("username",l),t=String(r.toString())}t&&window.history.replaceState({},"","".concat(window.location.pathname,"?").concat(t))}function cycleHotbarSlot(e){var t=(bot.quickBarSlot+e+9)%9;bot.setQuickBarSlot(t)}nS.on("trigger",function(e){var t,n=e.command,r=(0,eO._)(n.split("."),2),a=r[0],o=r[1];(0,ta.z7)(!0)&&"custom"===a&&(null==(t=nS.userConfig)?void 0:t.custom)&&t9[nS.userConfig.custom[o].type].handler(nS.userConfig.custom[o].inputs)});var isCommandAvailableAfterDisconnect=function(e){var t;return!!(null==(t=ta.N_.disconnectedCleanup)?void 0:t.wasConnected)&&("general.chat"===e||"general.inventory"===e)};nS.on("trigger",function(e){var t=e.command;if(!isCommandDisabled(t)){if("general.takeScreenshot"===t){(0,ta.z7)(!0)&&takeScreenshotAction();return}var n=!(0,ta.z7)(!0);if(alwaysPressedHandledCommand(t),!n||isCommandAvailableAfterDisconnect(t)){if(nE[t])if(t===(null==nq?void 0:nq.command)&&Date.now()-nq.time<300){var r=nE[nq.command];null==r||r(),nq=null}else nq={command:t,time:Date.now()};if(onTriggerOrReleased(t,!0),(0,t4.Xe)(t,"general"))switch(t){case"general.attackDestroy":case"general.rotateCameraLeft":case"general.rotateCameraRight":case"general.rotateCameraUp":case"general.rotateCameraDown":case"general.debugOverlay":case"general.debugOverlayHelpMenu":case"general.playersList":case"general.togglePerspective":case"general.interactPlace":case"general.zoom":break;case"general.swapHands":if(isSpectatingEntity())break;bot._client.write("block_dig",{status:6,location:{x:0,z:0,y:0},face:0});break;case"general.inventory":if(isSpectatingEntity())break;null==(a=(o=document).exitPointerLock)||a.call(o),(0,tu.HX)();break;case"general.drop":if(isSpectatingEntity())break;bot._client.write("block_dig",{status:4,location:{x:0,z:0,y:0},face:0,sequence:0});var a,o,i,s=bot.inventory.hotbarStart+bot.quickBarSlot,l=bot.inventory.slots[s];l&&(l.count--,bot.inventory.updateSlot(s,l.count>0?l:null));break;case"general.dropStack":bot.heldItem&&bot.tossStack(bot.heldItem);break;case"general.chat":(0,ta.K4)({reactType:"chat"});break;case"general.command":t6.e.value="/",(0,ta.K4)({reactType:"chat"});break;case"general.selectItem":if(isSpectatingEntity())break;nY();break;case"general.nextHotbarSlot":if(isSpectatingEntity())break;cycleHotbarSlot(1);break;case"general.prevHotbarSlot":if(isSpectatingEntity())break;cycleHotbarSlot(-1);break;case"general.viewerConsole":(null==(i=tM.Pc.value)?void 0:i.viewerWsConnect)&&(0,ta.K4)({reactType:"console"})}"ui.toggleFullscreen"===t&&(0,tZ.bt)(!0)}}}),nS.on("trigger",function(e){var t;if("ui.toggleMap"===e.command){var n=(0,ta.z7)(!0);(null==(t=ta.M.at(-1))?void 0:t.reactType)==="full-map"?(ta.N_.displayFullmap=!1,(0,ta.VG)({reactType:"full-map"})):n&&!ta.M.length&&(ta.N_.displayFullmap=!0,(0,ta.K4)({reactType:"full-map"}))}}),nS.on("release",function(e){var t=e.command;isCommandDisabled(t)||onTriggerOrReleased(t,!1)});var nP=[{key:"KeyA",action:function(){var e=appViewer.worldView;if(e){var t=Object.entries(e.loadedChunks).filter(function(e){return(0,eO._)(e,2)[1]}).map(function(e){return(0,eO._)(e,1)[0].split(",").map(Number)}),n=!0,r=!1,a=void 0;try{for(var o,i,s=t[Symbol.iterator]();!(n=(i=s.next()).done);
1n=!0){var l=(0,eO._)(i.value,2),c=l[0],u=l[1];e.unloadChunk({x:c,z:u})}}catch(e){r=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw a}}localServer&&(localServer.players[0].world.columns={}),(0,tZ.qy)(),(null==(o=appViewer.backend)?void 0:o.backendMethods)&&"function"==typeof appViewer.backend.backendMethods.reloadWorld&&appViewer.backend.backendMethods.reloadWorld()}},mobileTitle:"Reload chunks"},{key:"KeyG",action:function(){tr.YM.showChunkBorders=!tr.YM.showChunkBorders},mobileTitle:"Toggle chunk borders"},{key:"KeyH",action:function(){(0,ta.K4)({reactType:"chunks-debug"})},mobileTitle:"Show Chunks Debug"},{action:function(){(0,ta.K4)({reactType:"renderer-debug"})},mobileTitle:"Renderer Debug Menu"},{key:"KeyY",action:function(){return(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return e=na.map(function(e){return e.name}),[4,(0,t7.un)("Open Widget",e)];case 1:if(!(t=n.sent()))return[2];return(0,ta.K4)({reactType:"widget-".concat(t)}),[2]}})})()},mobileTitle:"Open Widget"},{key:"KeyT",action:function(){return(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:if(!(ni.E3.resourcePackInstalled||ta.rl.usingServerResourcePack))return[3,2];return(0,tv.c0)("Reloading textures..."),[4,(0,ni.bP)("default","default",ta.rl.usingServerResourcePack,(0,nh.gO)())];case 1:e.sent(),e.label=2;case 2:return[2]}})})()},mobileTitle:"Reload Textures"},{key:"F4",action:function(){return(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(bot.game.gameMode){case"creative":t="survival";break;case"survival":t="adventure";break;case"adventure":t="spectator";break;case"spectator":t="creative"}return(null==(e=tM.Pc.value)?void 0:e.worldStateFileContents)?(0,nM.uO)(t):bot.chat("/gamemode ".concat(t)),[2]})})()},mobileTitle:"Cycle Game Mode"},{key:"KeyP",action:function(){return(0,eE._)(function(){var e,t,n,r,a,o;return(0,eB.Jh)(this,function(i){switch(i.label){case 0:return n=(t=bot.player).uuid,r=t.ping,a=t.username,[4,bot.pingProxy()];case 1:return o=i.sent(),(0,t7.un)("".concat(a,": last known total latency (ping): ").concat(r,". Connected to ").concat(null==(e=tM.Pc.value)?void 0:e.proxy," with current ping ").concat(o,". Player UUID: ").concat(n),[]),[2]}})})()},mobileTitle:"Show Player & Ping Details",enabled:function(){var e;return!(null==(e=tM.Pc.value)?void 0:e.singleplayer)&&!!bot.player}},{action:function(){(0,ni.wK)()},mobileTitle:"Copy Server Resource Pack",enabled:function(){return!!ta.rl.usingServerResourcePack}}],reloadChunksAction=function(){nP.find(function(e){return"KeyA"===e.key}).action()};document.addEventListener("keydown",function(e){if((0,ta.z7)(!1)&&nS.pressedKeys.has("F3")){var t,n,r=nP.find(function(t){return t.key===e.code});r&&(null==(n=null==(t=r.enabled)?void 0:t.call(r))||n)&&(e.preventDefault(),r.action(),e.stopPropagation())}},{capture:!0});var controls_isFlying=function(){var e,t,n;return null!=(n=null==(t=bot.physicsEngineCtx)||null==(e=t.state)?void 0:e.flying)&&n},startFlying=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];e&&bot._client.write("abilities",{flags:2}),bot.entity.flying=!0},endFlying=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];controls_isFlying()&&(e&&bot._client.write("abilities",{flags:0}),bot.entity.flying=!1)},onBotCreate=function(){},toggleFly=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!controls_isFlying(),t=arguments.length>1?arguments[1]:void 0;bot.entity.canFly&&(e?startFlying(t):endFlying(t))};customEvents.on("gameLoaded",function(){bot.on("physicsTick",function(){ta.rl.isFlying=controls_isFlying()})});var nY=(u=(0,eE._)(function(){var e,t,r,a;return(0,eB.Jh)(this,function(o){switch(o.label){case 0:if(!(t=bot.blockAtCursor(5))||!(r=null==(e=(0,no.mQ)(t))?void 0:e.id))return[2];return a=new(n(46290)(bot.version))(r,1,0),[4,bot.creative.setInventorySlot(bot.inventory.hotbarStart+bot.quickBarSlot,a)];case 1:return o.sent(),bot.updateHeldItem(),[2]}})}),function(){return u.apply(this,arguments)});function controls_updateBinds(e){nS.inputSchema.commands.custom=Object.fromEntries(Object.entries(null!=(a=null==e?void 0:e.custom)?a:{}).map(function(e){var t=(0,eO._)(e,2),n=t[0];return t[1],[n,{keys:[],gamepad:[],type:"",inputs:[]}]}));var t=!0,n=!1,r=void 0;try{for(var a,o,i=Object.entries(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)!function(){var e=(0,eO._)(o.value,2),t=e[0],n=e[1];nS.userConfig[t]=Object.fromEntries(Object.entries(n).map(function(e){var n,r,a=(0,eO._)(e,2),o=a[0],i=a[1],s={keys:null!=(n=null==i?void 0:i.keys)?n:void 0,gamepad:null!=(r=null==i?void 0:i.gamepad)?r:void 0};return"custom"===t&&(s.type=i.type,s.inputs=i.inputs),[o,s]}))}()}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}}addEventListener("mousedown",(d=(0,eE._)(function(e){var t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:if((3===e.button||4===e.button)&&e.preventDefault(),(null==(t=(n=e.target).matches)?void 0:t.call(n,"#VRButton"))||!(0,tZ.Ee)()&&!e.target.id.includes("ui-root")||(tZ.lt.requestPointerLock(),!bot))return[2];if(null==(r=(0,tt.z)())||r.onPageInteraction(),1!==e.button)return[3,2];return[4,nY()];case 1:a.sent(),a.label=2;case 2:return[2]}})}),function(e){return d.apply(this,arguments)})),window.addEventListener("keydown",function(e){if("Escape"===e.code)if(ta.M.length||null==(r=(0,tt.z)())||r.onPageInteraction(),ta.M.length){var t,n,r,a;e.ctrlKey||e.metaKey?(0,ta.sr)():(0,ta.kJ)(),0===ta.M.length&&(null==(a=(0,tt.z)())||a.onPageInteraction(),tZ.lt.justHitEscape=!0)}else tZ.lt.hasPointerLock?(null==(t=(n=document).exitPointerLock)||t.call(n),tr.YM.autoExitFullscreen&&document.exitFullscreen()):document.dispatchEvent(new Event("pointerlockchange"))}),window.addEventListener("keydown",function(e){"F1"===e.code&&!e.repeat&&(0,ta.z7)(!0)&&(e.preventDefault(),ta.N_.showUI=!ta.N_.showUI)}),window.addEventListener("keydown",function(e){"KeyL"!==e.code||!e.altKey||e.shiftKey||e.ctrlKey||e.metaKey||console.clear(),"KeyK"===e.code&&e.altKey&&e.shiftKey&&!e.ctrlKey&&!e.metaKey&&(sessionStorage.delayLoadUntilFocus?sessionStorage.removeItem("delayLoadUntilFocus"):sessionStorage.setItem("delayLoadUntilFocus","true")),"KeyK"!==e.code||!e.altKey||e.shiftKey||e.ctrlKey||e.metaKey});var nO=(w=(0,eE._)(function(){var e,t,n;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:return t=(e=nP.filter(function(e){var t,n;return e.mobileTitle&&(null==(n=null==(t=e.enabled)?void 0:t.call(e))||n)})).map(function(e){return"".concat(e.mobileTitle).concat(e.key?" (F3+".concat(e.key,")"):"")}),[4,(0,t7.un)("",t)];case 1:if(!(n=r.sent()))return[2];return e[t.indexOf(n)].action(),[2]}})}),function(){return w.apply(this,arguments)}),handleMobileButtonCustomAction=function(e){var t,n=null==(t=t9[e.type])?void 0:t.handler;n&&n((0,eW._)(e.input))},handleMobileButtonActionCommand=function(e,t){var n="string"==typeof e?e:"command"in e?e.command:e;if(!("string"==typeof n&&isCommandDisabled(n)))if("string"!=typeof n||(0,t4.Xe)(n,"custom"))(void 0===n?"undefined":(0,eR._)(n))==="object"&&t&&handleMobileButtonCustomAction(n);else{var r={command:n};t?nS.emit("trigger",r):nS.emit("release",r)}},handleMobileButtonLongPress=function(e){"string"==typeof e.longPressAction&&"general.debugOverlayHelpMenu"===e.longPressAction?nO():e.longPressAction&&handleMobileButtonActionCommand(e.longPressAction,!0)},nR=n(39878),nB=n(30491),nU=n(17685),nQ=n(28350),nF=n(74614);(0,te.VW)(tr.YM,"renderDistance",tZ.qy),(0,tr.t6)(tr.YM,function(e){document.documentElement.style.setProperty("--chatScale","".concat(e.chatScale/100)),document.documentElement.style.setProperty("--chatWidth","".concat(e.chatWidth,"px")),document.documentElement.style.setProperty("--chatHeight","".concat(e.chatHeight,"px"))});var updateTouch=function(e){ta.N_.currentTouch=e.alwaysShowMobileControls||(0,nB.tq)()};(0,tr.t6)(tr.YM,updateTouch),window.matchMedia("(pointer: coarse)").addEventListener("change",function(e){updateTouch(tr.YM)});var watchOptionsAfterViewerInit=function(){(0,nU.w3)(appViewer,tr.YM,{isSafari:nF.G6,isCypress:(0,nQ.x)(),onRegisterFocusHandlers:function(e){var t=e.onFocus,n=e.onBlur;window.addEventListener("focus",t),window.addEventListener("blur",n)}}),(0,tr.t6)(tr.YM,function(e){appViewer.inWorldRenderingConfig.volume=Math.max(e.volume/100,0)}),(0,te.VW)(tr.YM,"newVersionsLighting",function(){(0,nU.Cb)(appViewer,tr.YM.newVersionsLighting,bot.supportFeature("blockStateId"))}),customEvents.on("mineflayerBotCreated",function(){(0,nU.Cb)(appViewer,tr.YM.newVersionsLighting,bot.supportFeature("blockStateId"));var updateRaining=function(){void 0!==bot.isRaining&&(appViewer.inWorldRenderingConfig.isRaining=bot.
1isRaining)};updateRaining(),bot.on("weatherUpdate",function(){updateRaining()}),bot.on("rain",function(){updateRaining()})})},watchOptionsAfterWorldViewInit=function(e){(0,tr.t6)(tr.YM,function(t){e&&(0,nU.zy)(appViewer,e,t)})};function updateLightRemeshBlockKey(e,t){return"".concat(16*e,",").concat(16*t)}var nW=new tn.o_;nW.resourcesManager.generateGuiTextures=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,(0,nR.y)(nW)];case 1:return e.sent(),[2]}})}),window.appViewer=nW,nW.onWorldStart=function(){connectAppWorldViewToBot(),nW.worldView&&watchOptionsAfterWorldViewInit(nW.worldView)};var nV=(p=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if(!e.useMinecraftTextures)return[2];return[4,Promise.resolve().then(n.bind(n,68343))];case 1:return[4,(0,t.sent().loadMinecraftData)(tn.YD)];case 2:return t.sent(),nW.resourcesManager.currentConfig={version:tn.YD,texturesVersion:tr.YM.useVersionsTextures||void 0,noInventoryGui:!0},[4,nW.resourcesManager.updateAssetsData({})];case 3:return t.sent(),[2]}})}),function(e){return p.apply(this,arguments)}),nJ=(h=(0,eE._)(function(){var e,t,r,a,o;return(0,eB.Jh)(this,function(i){switch(i.label){case 0:if("world"===nW.currentDisplay&&nW.resetBackend(!0),new URLSearchParams(window.location.search).get("demo"))return[3,2];return[4,nV(e=(0,tn.iv)(tr.YM))];case 1:return i.sent(),nW.startMenuBackground(e),[2];case 2:return t="1.21.4",[4,Promise.resolve().then(n.bind(n,68343))];case 3:return r=i.sent().loadMinecraftData,[4,Promise.resolve().then(n.bind(n,75076))];case 4:return a=i.sent().getSyncWorld,[4,r(t)];case 5:return i.sent(),(o=a(t)).setBlockStateId(new eK.Vec3(0,64,0),loadedData.blocksByName.water.defaultState),o.setBlockStateId(new eK.Vec3(1,64,0),loadedData.blocksByName.water.defaultState),o.setBlockStateId(new eK.Vec3(1,64,1),loadedData.blocksByName.water.defaultState),o.setBlockStateId(new eK.Vec3(0,64,1),loadedData.blocksByName.water.defaultState),o.setBlockStateId(new eK.Vec3(-1,64,-1),loadedData.blocksByName.water.defaultState),o.setBlockStateId(new eK.Vec3(-1,64,0),loadedData.blocksByName.water.defaultState),o.setBlockStateId(new eK.Vec3(0,64,-1),loadedData.blocksByName.water.defaultState),nW.resourcesManager.currentConfig={version:t},nW.playerState.reactive=(0,tn.Rv)(),[4,nW.resourcesManager.updateAssetsData({})];case 6:return i.sent(),[4,nW.startWorld(o,3)];case 7:return i.sent(),nW.worldView&&watchOptionsAfterWorldViewInit(nW.worldView),nW.backend.updateCamera(new eK.Vec3(0,65.7,0),0,-Math.PI/2),nW.worldView.init(new eK.Vec3(0,64,0)),[2]}})}),function(){return h.apply(this,arguments)});window.initialMenuStart=nJ;var hasAppStatus=function(){return ta.M.some(function(e){return"app-status"===e.reactType})},onAppViewerConfigUpdate=function(){var e;nW.inWorldRenderingConfig.skinTexturesProxy=null==(e=ta.N_.appConfig)?void 0:e.skinTexturesProxy},modalStackUpdateChecks=function(){ta.N_.gameLoaded||hasAppStatus()||nJ(),nW.backend&&nW.backend.setRendering(!hasAppStatus()),nW.inWorldRenderingConfig.foreground=0===ta.M.length};(0,td.Ld)(ta.M,modalStackUpdateChecks);var nG=new Set,connectAppWorldViewToBot=function(){var e=new Map,t=new Set;bot._client.prependListener("spawn_entity",function(t){t.objectData&&void 0!==t.entityId&&e.set(t.entityId,t.objectData)});var emitEntity=function(n){var r,a,o,i,s,l,c,u,d,w,p,h,M=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"entity",g=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(n){if(n===bot.entity){"entity"===M&&(null==(w=nW.worldView)||w.emit("playerEntity",n));return}if(n.name&&!t.has(n.id)){n.objectData=e.get(n.id);var m=buildEntityRenderHints(n,{localVehicle:bot.vehicle,localBoatStatus:null!=(p=null==(a=bot._boatPhysics)||null==(r=a.getStatus)?void 0:r.call(a))?p:null,localBoatPaddleState:null!=(h=null==(i=bot._boatPhysics)||null==(o=i.getPaddleState)?void 0:o.call(i))?h:null,horseControllerActive:!!(null==(l=bot._horsePhysics)||null==(s=l.getCtx)?void 0:s.call(l)),world:bot.world,waterIds:{waterId:bot.registry.blocksByName.water.id,flowingWaterId:null==(c=bot.registry.blocksByName.flowing_water)?void 0:c.id}
1,version:bot.version,entityMetadataKeys:null==(u=bot.registry.entitiesByName[n.name])?void 0:u.metadataKeys});null==(d=nW.worldView)||d.emit(M,(0,eP._)((0,eI._)({},n,g),{pos:n.position,username:n.username,team:bot.teamMap[n.username]||bot.teamMap[n.uuid],renderHints:m}))}}},n=new Map,r=!1,queuePassengerVehicleRefresh=function(e){e&&(n.set(e.id,e),r||(r=!0,queueMicrotask(function(){r=!1;var e=(0,eW._)(n.values());n.clear();var t=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(t=(i=s.next()).done);t=!0){var l=i.value;emitEntity(l)}}catch(e){a=!0,o=e}finally{try{t||null==s.return||s.return()}finally{if(a)throw o}}})))};null==(s=nW.worldView)||s.on("loadChunk",function(e){if(!e.isLightUpdate){var t,n="".concat(e.x,",").concat(e.z);nG.delete(n)&&(null==(t=nW.worldView)||t.loadChunk(new eK.Vec3(e.x,0,e.z),!0,"update_light-pending"))}}),bot._client.on("update_light",function(e){var t,n,r,a=e.chunkX,o=e.chunkZ,i=updateLightRemeshBlockKey(a,o),s=16*a,l=16*o,c=!!(null==(t=nW.worldView)?void 0:t.waitingSpiralChunksLoad[i]),u=!!(null==(n=nW.worldView)?void 0:n.loadedChunks[i]);!c&&u?null==(r=nW.worldView)||r.loadChunk(new eK.Vec3(s,0,l),!0,"update_light"):u||nG.add(i)});var a=!0,o=!1,i=void 0;try{for(var s,l,c=Object.entries({entitySpawn:function(e){("item_frame"===e.name||"glow_item_frame"===e.name)&&e.position.translate(.5,.5,.5),emitEntity(e)},entityUpdate:function(e){emitEntity(e)},entityEquip:function(e){emitEntity(e)},entityMoved:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};emitEntity(e,"entityMoved",t)},entityAttach:function(e,t){queuePassengerVehicleRefresh(t)},entityDetach:function(e,t){queuePassengerVehicleRefresh(t)},entityDead:function(e){var n;e!==bot.entity&&(t.has(e.id)||(t.add(e.id),null==(n=nW.worldView)||n.emit("entity",{id:e.id,delete:!0})))},entityGone:function(e){var n;t.delete(e.id),null==(n=nW.worldView)||n.emit("entity",{id:e.id,delete:!0})},chunkColumnLoad:function(e){var t,n,r,a,o,i,s,l,c=performance.now();(null==(t=nW.worldView)?void 0:t.lastChunkReceiveTime)&&nW.worldView.chunkReceiveTimes.push(c-nW.worldView.lastChunkReceiveTime),nW.worldView.lastChunkReceiveTime=c,(null==(n=nW.worldView)?void 0:n.waitingSpiralChunksLoad["".concat(e.x,",").concat(e.z)])?(null==(o=nW.worldView)||o.waitingSpiralChunksLoad["".concat(e.x,",").concat(e.z)](!0),null==(i=nW.worldView)||delete i.waitingSpiralChunksLoad["".concat(e.x,",").concat(e.z)]):(null==(r=nW.worldView)?void 0:r.loadedChunks["".concat(e.x,",").concat(e.z)])?null==(s=nW.worldView)||s.loadChunk(e,!1,"Received another chunkColumnLoad event while already loaded"):null==(l=nW.worldView)||l.loadChunk(e,!1,"chunkColumnLoad"),null==(a=nW.worldView)||a.chunkProgress()},chunkColumnUnload:function(e){var t;null==(t=nW.worldView)||t.unloadChunk(e)},blockUpdate:function(e,t){var n,r,a=null!=(r=t.stateId)?r:t.type<<4|t.metadata;null==(n=nW.worldView)||n.emit("blockUpdate",{pos:e.position,stateId:a})},time:function(){var e;null==(e=nW.worldView)||e.emit("time",bot.time.timeOfDay)},end:function(){var e;null==(e=nW.worldView)||e.emit("end")},login:function(){var e,t;null==(e=nW.worldView)||e.updatePosition(bot.entity.position,!0),null==(t=nW.worldView)||t.emit("playerEntity",bot.entity)},respawn:function(){var e,t,n;null==(e=nW.worldView)||e.updatePosition(bot.entity.position,!0),null==(t=nW.worldView)||t.emit("playerEntity",bot.entity),null==(n=nW.worldView)||n.emit("onWorldSwitch")}})[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var u=(0,eO._)(l.value,2),d=u[0],w=u[1];bot.on(d,w)}}catch(e){o=!0,i=e}finally{try{a||null==c.return||c.return()}finally{if(o)throw i}}for(var p in bot.entities){var h=bot.entities[p];try{emitEntity(h)}catch(e){console.error("error processing entity",e)}}},nH=null;function dismissWatermark(){null==nH||nH.remove(),nH=null}function watermarkTextFromConfig(e){var t,n=[],r=null==e||null==(t=e.watermark)?void 0:t.trim();return r&&n.push(r),(null==e?void 0:e.watermarkDate)&&n.push("BUILD ".concat("08.09.26")),n.length?n.join("\n"):""}function setWatermarkFromConfig(e){var t=watermarkTextFromConfig(e);if(!t){null==nH||nH.remove(),nH=null;return}nH||((nH=document.createElement("div")).className="app-watermark",nH.dataset.appWatermark="",nH.title="Click to dismiss",nH.addEventListener("click",dismissWatermark),document.body.appendChild(nH)),nH.textContent=t}!function(e){if(ta.N_.appConfig?Object.assign(ta.N_.appConfig,e):ta.N_.appConfig=e,e.forceSettings){var t=!0,n=!1,r=void 0;try{for(var a,o=Object.entries(e.forceSettings)[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=(0,eO._)(a.value,2),s=i[0];
1i[1]?(tr.hI.value.add(s),e.defaultSettings&&s in e.defaultSettings&&!tr.vS[s]&&(tr.YM[s]=e.defaultSettings[s])):tr.hI.value.delete(s)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}e.keybindings&&(Object.assign(nT,(0,t3.defaultsDeep)(e.keybindings,nT)),controls_updateBinds(nT)),onAppViewerConfigUpdate(),(0,t2.GY)(e),setWatermarkFromConfig(ta.N_.appConfig)}({version:1,defaultHost:"<from-proxy>",defaultProxy:"https://proxy.mcraft.fun",mapsProvider:"https://maps.mcraft.fun/",skinTexturesProxy:"",peerJsServer:"",peerJsServerFallback:"https://p2p.mcraft.fun",promoteServers:[{ip:"wss://play.mcraft.fun"},{ip:"wss://play.webmc.fun",name:"WebMC"},{ip:"wss://ws.fuchsmc.net"},{ip:"wss://play2.mcraft.fun",description:"Mirror for play.mcraft.fun"},{ip:"wss://play3.mcraft.fun",description:"Mirror for play.mcraft.fun"},{ip:"wss://play-creative.mcraft.fun",description:"Might be available soon, stay tuned!"}],rightSideText:"A Minecraft client clone in the browser!",splashText:"Mind the bugs and have fun!",splashTextFallback:"Welcome!",pauseLinks:[[{type:"github"},{type:"discord"}]],defaultUsername:"mcrafter{0-9999}",mobileButtons:[{action:"general.selectItem",actionHold:"",label:"S"},{action:"general.debugOverlay",actionHold:"general.debugOverlayHelpMenu",label:"F3"},{action:"general.playersList",actionHold:"",icon:"pixelarticons:users",label:"TAB"},{action:"general.chat",actionHold:"",label:""},{action:"ui.pauseMenu",actionHold:"",label:""}],alwaysReconnectButton:!0,reportBugButtonWithReconnect:!0,allowAutoConnect:!0}),n(14394);var preventThrottlingWithSound=function(){try{var e=new(window.AudioContext||window.webkitAudioContext),t=e.createOscillator(),n=e.createGain();return n.gain.value=.001,t.connect(n),n.connect(e.destination),t.frequency.value=1,t.start(),(0,eE._)(function(){var n;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),t.stop(),[4,e.close()];case 1:return r.sent(),[3,3];case 2:return n=r.sent(),console.warn("Error stopping silent audio:",n),[3,3];case 3:return[2]}})})}catch(e){return console.error("Error creating silent audio:",e),function(){}}};customEvents.on("mineflayerBotCreated",function(){var e,t=new AbortController,maybeGoBackgroundKickPrevention=function(){if(tr.YM.preventBackgroundTimeoutKick&&!bot.backgroundKickPrevention){var e=preventThrottlingWithSound();bot.on("end",e),bot.backgroundKickPrevention=!0}};maybeGoBackgroundKickPrevention(),(0,te.VW)(tr.YM,"preventBackgroundTimeoutKick",function(e){maybeGoBackgroundKickPrevention()});var n=(e=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:if(!("wakeLock"in navigator))return console.warn("Wake Lock API is not supported in this browser"),[2];if(!(tr.YM.preventSleep&&!bot.wakeLock&&!bot.lockRequested))return[3,2];return bot.lockRequested=!0,[4,navigator.wakeLock.request("screen").finally(function(){bot.lockRequested=!1})];case 1:bot.wakeLock=e.sent(),bot.wakeLock.addEventListener("release",function(){bot.wakeLock=void 0},{once:!0}),e.label=2;case 2:return!tr.YM.preventSleep&&bot.wakeLock&&bot.wakeLock.release(),[2]}})}),function(){return e.apply(this,arguments)});document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&n()},{signal:t.signal}),n(),(0,te.VW)(tr.YM,"preventSleep",function(e){n()}),bot.on("end",function(){bot.wakeLock&&bot.wakeLock.release(),t.abort()})});var nZ=n(97973);function cursorBlockDisplay(e){var updateCursorBlock=function(t){if(!(null==t?void 0:t.block)||"spectator"===e.game.gameMode){nj.reactive.lookingAtBlock=void 0;return}var n=t.block;nj.reactive.lookingAtBlock={x:n.position.x,y:n.position.y,z:n.position.z,shapes:e.mouse.getBlockCursorShapes(n).map(function(t){return e.mouse.getDataFromShape(t)})}};e.on("highlightCursorBlock",updateCursorBlock),e.on("game",function(){var t=e.mouse.getCursorState().cursorBlock;updateCursorBlock(t?{block:t}:void 0)}),e.on("blockBreakProgressStage",function(t,n){var r=e.mouse.getMergedCursorShape(t);nj.reactive.diggingBlock=null===n?void 0:{x:t.position.x,y:t.position.y,z:t.position.z,stage:n,mergedShape:r?e.mouse.getDataFromShape(r):void 0}})}function mouse(e){e.loadPlugin((0,nZ.createMouse)({useMineflayerInteractMethods:!1,preventVehicleInteraction:!1})),domListeners(e),cursorBlockDisplay(e),otherListeners()}var otherListeners=function(){bot.on("startDigging",function(e){customEvents.emit("digStart")}),bot.on("goingToSleep",function(){(0,ta.K4)({reactType:"bed"})}),bot.on("botArmSwingStart",function(e){var t;null==(t=(0,tt.z)())||t.changeHandSwingingState(!0,"left"===e)}),bot.on("botArmSwingEnd",function(e){var t;null==(t=(0,tt.z)())||t.changeHandSwingingState(!1,"left"===e)}),bot.on("startUsingItem",function(e,t,n,r){customEvents.emit("activateItem",e,n?45:bot.quickBarSlot,n),nj.startUsingItem()}),bot.on("stopUsingItem",function(){nj.stopUsingItem()})},domListeners=function(e){var t=new AbortController;document.addEventListener("mousedown",function(t){if((!t.isTrusted||document.pointerLockElement||(0,nQ.x)())&&(0,ta.z7)(!0)){null==(n=(0,tt.z)())||n.onPageInteraction();var n,r=videoCursorInteraction();if(r)return void sendVideoInteraction(r.id,r.x,r.y,0===t.button);0===t.button?e.leftClickStart():2===t.button&&e.rightClickStart()}},{signal:t.signal}),document.addEventListener("mouseup",function(t){0===t.button?e.leftClickEnd():2===t.button&&e.rightClickEnd()},{signal:t.signal}),e.mouse.beforeUpdateChecks=function(){document.hasFocus()&&(0,ta.z7)(!0)||e.mouse.buttons.fill(!1)},e.on("end",function(){t.abort()})};n(95526),n(39908);var nK=n(55872).Buffer;function packetsPatcher(){customEvents.on("mineflayerBotCreated",function(){botInit()})}var botInit=function(){bot._client.on("packet",function(e,t){"map_chunk"===t.name&&e.groundUp&&1===e.bitMap&&e.chunkData.every(function(e){return 0===e})&&(e.chunkData=nK.from(Array.from({length:12544}).fill(0)))});var e=bot._client.write.bind(bot._client);bot._client.write=function(t,n){return"settings"===t&&(n.viewDistance=Math.max(n.viewDistance,3)),e(t,n)}};n(41777),n(98497),n(54487),n(10728),n(84269),n(41021),n(95190),n(81138),n(90758),n(7652),n(60501),n(63765),n(60139),n(41353),n(38409),n(24517),n(33207),n(55914),n(31551),n(4383),n(12516),n(18729),n(88364),n(83450),n(36670),n(26110),n(91292),n(51470),n(52777),n(33975),n(60398),n(44505),n(10020),n(71698),n(42973),n(21428),n(72216),n(92553),n(69261),n(20823),n(77962),n(77117),n(71535),n(54406);var nX=n(55872).Buffer,readVarInt=function(e,t){for(var n=0,r=0,a=t;a<e.length;){var o=e.readUInt8(a++);if(n|=(127&o)<<r,(128&o)==0)return{value:n,bytesRead:a-t};if((r+=7)>35)break}return null},bitMapToLoHi=function(e){if(!Array.isArray(e))return null;var t=new Uint32Array(2*e.length),n=!0,r=!1,a=void 0;try{for(var o,i=e.entries()[Symbol.iterator]();!(n=(o=i.next()).done);
1n=!0){var s=(0,eO._)(o.value,2),l=s[0],c=s[1];if((void 0===c?"undefined":(0,eR._)(c))==="bigint")t[2*l]=Number(4294967295n&c)>>>0,t[2*l+1]=Number(c>>32n&4294967295n)>>>0;else{if(!Array.isArray(c)||2!==c.length)return null;var u=(0,eO._)(c,2),d=u[0],w=u[1];t[2*l]=w>>>0,t[2*l+1]=d>>>0}}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}return t},resolveNumSections=function(e,t,n){try{var r,a=null==(l=bot.world)||null==(s=l.getColumn)?void 0:s.call(l,e,t);if(a){var o,i,s,l,c,u=null!=(c=a.numSections)?c:a.worldHeight?a.worldHeight>>4:void 0;if("number"==typeof u)return u}}catch(e){}var d=null!=(r=null==(o=bot.game)?void 0:o.height)?r:null==(i=bot.world)?void 0:i.worldHeight;return"number"==typeof d?d>>4:n};function mapChunkListener(){customEvents.on("mineflayerBotCreated",function(){mapChunkListener_botInit()})}var mapChunkListener_botInit=function(){bot._client.on("raw.map_chunk",function(e){try{var t,n,r,a=nX.isBuffer(e)?e:nX.from(e),o=readVarInt(a,0);if(!o||a.length<o.bytesRead+8)return;var i=a.readInt32BE(o.bytesRead),s=a.readInt32BE(o.bytesRead+4),l=bot.protocolVersion;if("number"!=typeof l||l<757)return;var c=16*i,u=16*s,d=resolveNumSections(i,s,24),w=new Uint8Array(a.byteLength);w.set(a),null==(r=nW.backend)||null==(n=r.backendMethods)||null==(t=n.feedChunkPacket)||t.call(n,{kind:"setRawMapChunk",x:c,z:u,rawPacket:w,protocol:l,numSections:d})}catch(e){console.warn("[mapChunkListener] failed to forward raw map_chunk:",e)}}),bot._client.on("map_chunk",function(e){try{var t,n,r,a,o=bot.protocolVersion;if("number"!=typeof o||o>=757||o<755)return;var i=e.x,s=e.z;if("number"!=typeof i||"number"!=typeof s)return;var l=bitMapToLoHi(e.bitMap);if(!l)return;var c=e.chunkData;if(!c||0===c.length)return;var u=new Uint8Array(c.byteLength);u.set(c);var d=resolveNumSections(i,s,16);Array.isArray(e.biomes)&&e.biomes.length>0&&(a=Int32Array.from(e.biomes)),null==(r=nW.backend)||null==(n=r.backendMethods)||null==(t=n.feedChunkPacket)||t.call(n,{kind:"setParsedMapChunkV17",x:16*i,z:16*s,protocol:o,numSections:d,maxBitsPerBlock:15,chunkData:u,bitMapLoHi:l,biomes:a})}catch(e){console.warn("[mapChunkListener] failed to forward parsed map_chunk (1.17):",e)}}),bot._client.on("raw.update_light",function(e){try{var t,n,r,a,o,i,s,l=bot.protocolVersion;if("number"!=typeof l||l>=757||l<755)return;var c=nX.isBuffer(e)?e:nX.from(e);if(0===c.length)return;var u=new Uint8Array(c.byteLength);u.set(c);var d=(null!=(s=null!=(i=null==(t=bot.game)?void 0:t.height)?i:null==(n=bot.world)?void 0:n.worldHeight)?s:256)>>4;null==(o=nW.backend)||null==(a=o.backendMethods)||null==(r=a.feedChunkPacket)||r.call(a,{kind:"setUpdateLightV17",protocol:l,numSections:d,rawPacket:u})}catch(e){console.warn("[mapChunkListener] failed to forward raw update_light (1.17):",e)}}),bot._client.on("map_chunk",function(e){try{var t,n,r,a=bot.protocolVersion;if("number"!=typeof a||a<735||a>754)return;var o=e.x,i=e.z;if("number"!=typeof o||"number"!=typeof i)return;var s=e.chunkData;if(!s||0===s.length)return;var l=new Uint8Array(s.byteLength);l.set(s);var c="number"==typeof e.bitMap?e.bitMap:Number(e.bitMap);if(!Number.isFinite(c))return;var u=Array.isArray(e.biomes)?e.biomes:void 0,d=Int32Array.from(null!=u?u:[]);null==(r=nW.backend)||null==(n=r.backendMethods)||null==(t=n.feedChunkPacket)||t.call(n,{kind:"setParsedMapChunkV16",x:o,z:i,chunkData:l,bitMap:c,biomes:d,protocol:a})}catch(e){console.warn("[mapChunkListener] failed to forward parsed map_chunk (1.16):",e)}}),bot._client.on("raw.update_light",function(e){try{var t,n,r,a=bot.protocolVersion;if("number"!=typeof a||a<735||a>754)return;var o=nX.isBuffer(e)?e:nX.from(e);if(0===o.length)return;var i=readVarInt(o,0);if(!i)return;var s=readVarInt(o,i.bytesRead);if(!s)return;var l=readVarInt(o,i.bytesRead+s.bytesRead);if(!l)return;var c=Math.trunc(s.value),u=Math.trunc(l.value),d=new Uint8Array(o.byteLength);d.set(o),null==(r=nW.backend)||null==(n=r.backendMethods)||null==(t=n.feedChunkPacket)||t.call(n,{kind:"setUpdateLightV16",x:c,z:u,rawPacket:d,protocol:a})}catch(e){console.warn("[mapChunkListener] failed to forward raw update_light (1.16):",e)}})},n$=n(47161);function plugins_ping(){var e=0;bot.pingProxy=(0,eE._)(function(){var t;return(0,eB.Jh)(this,function(n){return t=++e,[2,new Promise(function(e){bot._client.socket._ws.send("ping:".concat(t));var n=Date.now(),onPong=function(r){r===t.toString()&&(bot._client.socket.off("pong",onPong),e(Date.now()-n))};bot._client.socket.on("pong",onPong)})]})});var t=0;bot.pingServer=(0,eE._)(function(){var e,n;
1return(0,eB.Jh)(this,function(r){return(0,e6.Uo)(bot.version)<(0,e6.Uo)("1.20.2")?[2,null!=(n=null==(e=bot.player)?void 0:e.ping)?n:-1]:[2,new Promise(function(e){var n=t++;bot._client.write("ping_request",{id:BigInt(n)});var r=Date.now(),onPong=function(t){BigInt(t.id)===BigInt(n)&&(bot._client.off("ping_response",onPong),e(Date.now()-r))};bot._client.on("ping_response",onPong)})]})})}var webFeatures_plugin=function(e){e.settings.locale=(0,tr.s)()};customEvents.on("mineflayerBotCreated",function(){bot.loadPlugin(webFeatures_plugin)}),packetsPatcher(),mapChunkListener(),customEvents.on("mineflayerBotCreated",function(){tM.Pc.value.server&&bot.loadPlugin(plugins_ping),bot.loadPlugin(mouse),tM.Pc.value.worldStateFileContents||bot.loadPlugin(n$.g0)});var loadingChunksProgress=function(){if(appViewer){var e=!1,checkStartProgress=function(){if(bot.entity&&tr.YM.displayLoadingMessages){var t={count:0,time:0},update=function(){if(appViewer){var r=appViewer.nonReactiveState.world.chunksTotalNumber;if(0!==r){var a=Object.keys(appViewer.rendererState.world.chunksLoaded).length,deleteProgress=function(){(0,tv.gc)("loadingChunks",{delete:!0}),clearInterval(n)};if(appViewer.rendererState.world.allChunksLoaded||e)return void deleteProgress();if(a===t.count&&t.count){if(Date.now()-t.time>5e3)return void deleteProgress()}else t={count:a,time:Date.now()};(0,tv.gc)("loadingChunks",{message:"Loading world chunks",current:a,total:r,priority:1})}}},n=setInterval(update,500);update()}},startInventoryTexturesProgress=function(){ta.N_.gameLoaded&&(0,tv.gc)("inventoryTextures",{message:"Processing GUI textures"})};customEvents.on("gameLoaded",function(){var t;checkStartProgress(),(null==(t=appViewer.resourcesManager.currentResources)?void 0:t.guiAtlas)||startInventoryTexturesProgress(),bot._client.on("login",function(){checkStartProgress()}),bot._client.on("respawn",function(){checkStartProgress()}),bot.on("end",function(){e=!0,tv.n.loaders=[]})}),appViewer.resourcesManager.on("assetsInventoryStarted",function(){startInventoryTexturesProgress()}),appViewer.resourcesManager.on("assetsInventoryReady",function(){(0,tv.gc)("inventoryTextures",{delete:!0})})}};setTimeout(function(){loadingChunksProgress()});var n0=n(64868);let n1={crosshair:"crosshair-eLqfh9"};var n3=(0,td.sj)({x:50,y:50,multiply:1,display:!1});globalThis.gamepadUiCursorState=n3;var moveGamepadCursorByPx=function(e,t){var n=(e*=3*n3.multiply)/(t?window.innerWidth:window.innerHeight)*100;n3[t?"x":"y"]+=n};function GamepadUiCursor(){var e=(0,tb.R)(ta.M).length>0,t=(0,tb.R)(n3),n=t.x,r=t.y,a=(0,tb.R)(ta.N_),o=a.usingGamepadInput,i=a.gameLoaded,s=o&&(e||!i);return((0,ne.useEffect)(function(){document.body.style.cursor=i&&!e&&o?"none":"auto"},[o,e,i]),(0,ne.useEffect)(function(){n3.display=s},[s]),s)?(0,ty.jsx)(n0.Z,{children:(0,ty.jsx)("div",{className:n1.crosshair,style:{left:"".concat(n,"%"),top:"".concat(r,"%")}})}):null}var n2=null;nS.on("movementUpdate",function(e){e.vector;var t=e.soleVector;if(void 0!==e.gamepadIndex&&n3.display){if(.1>Math.abs(t.x)&&.1>Math.abs(t.z))return;moveGamepadCursorByPx(t.x,!0),moveGamepadCursorByPx(t.z,!1),emitMousemove(),trackHoveredElement()}});var emitMousemove=function(){var e=n3.x,t=n3.y,n=e/100*window.innerWidth,r=t/100*window.innerHeight,a=document.elementFromPoint(n,r);a&&a.dispatchEvent(new MouseEvent("mousemove",{clientX:n,clientY:r}))},trackHoveredElement=function(){var e=n3.x,t=n3.y,n=e/100*window.innerWidth,r=t/100*window.innerHeight,a=document.elementFromPoint(n,r);if(a!==n2){if(n2){var o=new MouseEvent("mouseout",{bubbles:!0,clientX:n,clientY:r});o.isGamepadCursor=!0,n2.dispatchEvent(o)}if(a){var i=new MouseEvent("mouseover",{bubbles:!0,clientX:n,clientY:r});i.isGamepadCursor=!0,a.dispatchEvent(i)}n2=a}};nS.on("stickMovement",function(e){var t=e.stick,n=e.vector;if("right"===t&&n3.display){var r=n.x,a=n.z;.18>Math.abs(r)&&(r=0),.18>Math.abs(a)&&(a=0),0!==r&&emitGamepadInputChange(r,!0),0!==a&&emulateGamepadScroll(a),ta.N_.usingGamepadInput=!0}});var emitGamepadInputChange=function(e,t){var n=n3.x/100*window.innerWidth,r=n3.y/100*window.innerHeight,a=document.elementFromPoint(n,r);if(a){var o=new CustomEvent("gamepadInputChange",{bubbles:!0,detail:{direction:e>0?1:-1,value:e,isStickMovement:t}});a.dispatchEvent(o)}},emulateGamepadScroll=function(e){var t=n3.x/100*window.innerWidth,n=n3.y/100*window.innerHeight,r=document.elementFromPoint(t,n);if(r){var a=findScrollableParent(r);a&&(a.scrollTop+=30*e)}},findScrollableParent=function(e){if(!e)return null;for(var t=e;t&&t!==document.body;){if(function(e){var t=window.getComputedStyle(e).overflowY;return e.scrollHeight>e.clientHeight&&("auto"===t||"scroll"===t||"overlay"===t)}(t))return t;t=t.parentElement}return document.documentElement.scrollHeight>document.documentElement.clientHeight?document.documentElement:null};globalThis.emulateGamepadScroll=emulateGamepadScroll;var n5=null,inModalCommand=function(e,t){(!t||n3.display)&&(t&&("ui.back"===e&&(0,ta.kJ)(),"ui.pauseMenu"===e&&(0,ta.sr)(),("ui.leftClick"===e||"ui.rightClick"===e)&&emulateMouseClick("ui.rightClick"===e)),"ui.speedupCursor"===e&&(n3.multiply=t?2:1))};nS.on("trigger",function(e){inModalCommand(e.command,!0)}),nS.on("release",function(e){inModalCommand(e.command,!1)});var emulateMouseClick=function(e){var t=n3.x,n=n3.y,r=t/100*window.innerWidth,a=n/100*window.innerHeight,o=document.elementFromPoint(r,a);if(o){if(o===n5&&!e)return void o.dispatchEvent(new MouseEvent("dblclick",{bubbles:!0,clientX:r,clientY:a}));o.dispatchEvent(new MouseEvent("mousedown",{button:2*!!e,bubbles:!0,clientX:r,clientY:a})),o.dispatchEvent(new MouseEvent(e?"contextmenu":"click",{bubbles:!0,clientX:r,clientY:a})),o.dispatchEvent(new MouseEvent("mouseup",{button:2*!!e,bubbles:!0,clientX:r,clientY:a})),o.focus(),n5=o,ex&&clearTimeout(ex),ex=setTimeout(function(){n5=null},500)}};globalThis.emulateMouseClick=emulateMouseClick;var n4=n(41441),n6=n(88353),n8=n(3212),n9=n(87076),n7=n(68343),parseServerAddress=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!e)return{host:"",isWebSocket:!1,serverIpFull:""};
1if(/^ws:[^/]/.test(e)&&(e=e.replace("ws:","ws://")),/^wss:[^/]/.test(e)&&(e=e.replace("wss:","wss://")),e.startsWith("ws://")||e.startsWith("wss://"))return{host:e,isWebSocket:!0,serverIpFull:e};t&&(e=e.replace(/^https?:\/\//,""));for(var n=e.split(":"),r=null,a=null,o=0;o<n.length;o++){var i=n[o];/^\d+\.\d+(\.\d+)?$/.test(i)&&(r=i,n.splice(o,1),o--),/^\d+$/.test(i)&&(a=i,n.splice(o,1),o--)}var s=n.join(":");return(0,eP._)((0,eI._)({host:s},a?{port:a}:{},r?{version:r}:{}),{isWebSocket:!1,serverIpFull:a?"".concat(s,":").concat(a):s})};n(46854);var re=n(29981),rt=n.n(re),rn=n(85559),rr=n(82455),ra=n(64187),ro=n(30235);let ri={root:"root-HBZyzP",content:"content-C05XsQ",content_loading:"content_loading-whQTDO",world_root:"world_root-HUO6kD",world_title:"world_title-ZeGEbR",world_title_right:"world_title_right-_QaLaq",world_info:"world_info-aesWwe",world_info_formatted:"world_info_formatted-T9yz4t",world_info_description_line:"world_info_description_line-m_UAFX",world_image:"world_image-RCHVi3",image_missing:"image_missing-kzcgld",world_focused:"world_focused-KhkWMT",title:"title-zNQMwq"};var rs=n(95705),rl=n(83389);function Tabs(e){var t=e.tabs,n=e.activeTab,r=e.labels,a=e.onTabChange,o=e.fullSize,i=e.style,s=e.disabledTabs;return(0,ty.jsx)("div",{style:(0,eI._)({width:o?"100%":void 0,display:o?"flex":void 0},i),children:t.map(function(e){var t,i=e===n;return(0,ty.jsxs)("div",{style:{position:"relative",width:o?"100%":150},children:[(0,ty.jsx)(rl.Z,{disabled:i||(null==s?void 0:s.includes(e)),style:{width:"100%",height:"100%",color:"white",cursor:"pointer",fontSize:9,padding:"2px 0px"},onClick:function(){a(e)},children:null!=(t=null==r?void 0:r[e])?t:e}),i&&(0,ty.jsx)("div",{style:{position:"absolute",bottom:0,left:0,right:0,height:1,background:"white",width:"50%",margin:"auto"}})]},e)})})}var rc=n(77449),useIsSmallWidth=function(){var e=(0,eO._)((0,ne.useState)(function(){return document.documentElement.clientWidth<=440}),2),t=e[0],n=e[1];return(0,ne.useEffect)(function(){var checkWidth=function(){n(document.documentElement.clientWidth<=440)};return addEventListener("resize",checkWidth),function(){removeEventListener("resize",checkWidth)}},[]),t},useCopyKeybinding=function(e){(0,rc.mk)(function(t){addEventListener("keydown",function(t){if("Ke
1yC"===t.code&&(t.ctrlKey||t.metaKey)&&!t.shiftKey&&!t.altKey){var n,r=document.activeElement;if(!(r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||(null==(n=window.getSelection())?void 0:n.toString()))){t.preventDefault();var a=e();a&&navigator.clipboard.writeText(a)}}},{signal:t.signal})},[e])},useIsHashActive=function(e){var t=(0,eO._)((0,ne.useState)(!1),2),n=t[0],r=t[1];return(0,ne.useEffect)(function(){var checkHash=function(){r(location.hash===e)};return checkHash(),addEventListener("hashchange",checkHash),function(){removeEventListener("hashchange",checkHash)}},[]),n},ru=n(33927),GroupHeader=function(e){var t=e.name,n=e.count,r=e.expanded,a=e.onToggle;return(0,ty.jsx)("div",{className:ri.world_root,style:{background:"none",cursor:"pointer",height:"auto",fontSize:"8px"},onClick:a,children:(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"4px",color:"#bcbcbc"},children:[(0,ty.jsx)("span",{children:r?"▼":"▶"}),(0,ty.jsx)("span",{children:t}),(0,ty.jsxs)("span",{children:["(",n,")"]})]})})},World=function(e){var t=e.name,n=e.isFocused,r=e.title,a=e.lastPlayed,o=e.size,i=e.detail,s=e.onFocus,l=e.onInteraction,c=e.iconSrc,u=e.formattedTextOverride,d=e.worldNameRight,w=e.worldNameRightGrayed,p=e.afterTitleUi,h=e.elemRef,M=e.offline,g=(0,ne.useMemo)(function(){if(!a)return"";var e=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),t=Math.floor((Date.now()-a)/1e3/60),n=Math.floor(t/60),r=Math.floor(n/24);return r>0?e.format(-r,"day"):n>0?e.format(-n,"hour"):e.format(-t,"minute")},[a]),m=(0,ne.useMemo)(function(){return o?(0,rr.filesize)(o):""},[o]);return(0,ty.jsxs)("div",{ref:h,className:rt()(ri.world_root,n?ri.world_focused:void 0),style:{position:"relative"},tabIndex:0,onFocus:function(){return null==s?void 0:s(t)},onKeyDown:function(e){("Enter"===e.code||"Space"===e.code)&&(e.preventDefault(),null==l||l("Enter"===e.code?"enter":"space"))},onDoubleClick:function(){return null==l?void 0:l("enter")},children:[(0,ty.jsx)("img",{className:"".concat(ri.world_image," ").concat(c?"":ri.image_missing),src:null!=c?c:rn,alt:""}),(0,ty.jsxs)("div",{className:ri.world_info,children:[(0,ty.jsxs)("div",{className:ri.world_title,children:[(0,ty.jsx)("div",{children:r}),(0,ty.jsxs)("div",{className:ri.world_title_right,children:[w&&(0,ty.jsx)("span",{style:{color:"#878787",fontSize:8},children:w}),M?(0,ty.jsxs)("span",{style:{color:"red",display:"flex",alignItems:"center",gap:4},children:[(0,ty.jsx)(tL.Z,{iconName:"signal-off",width:12}),"Offline"]}):(null==d?void 0:d.startsWith("ws"))?(0,ty.jsxs)("span",{style:{display:"flex",alignItems:"center",gap:4}
1,children:[(0,ty.jsx)(tL.Z,{iconName:"cellular-signal-3",width:12}),d.slice(3)]}):d]})]}),u?(0,ty.jsx)("div",{className:ri.world_info_formatted,children:(0,ty.jsx)(ng.Z,{message:u})}):(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsxs)("div",{className:ri.world_info_description_line,children:[g," ",(void 0===i?"":i).slice(-30)]}),(0,ty.jsx)("div",{className:ri.world_info_description_line,children:m})]})]}),(0,ty.jsx)("div",{style:{position:"absolute",left:"100%",top:"50%",transform:"translateY(-50%)",marginLeft:4,display:"flex",alignItems:"center"},children:p})]})};let rd=(0,ru.K)(function(e){var t,n,r,a=e.worldData,o=e.onGeneralAction,i=e.onWorldAction,s=e.firstRowChildrenOverride,l=e.serversLayout,c=e.searchRowChildrenOverride,u=e.activeProvider,d=e.setActiveProvider,w=e.providerActions,p=e.providers,h=void 0===p?{}:p,M=e.disabledProviders,g=e.error,m=e.isReadonly,v=e.warning,y=e.warningAction,A=e.warningActionLabel,b=e.hidden,_=e.onRowSelect,L=e.defaultSelectedRow,C=e.selectedRow,j=e.listStyle,D=e.setListHovered,x=e.secondRowStyles,k=e.lockedEditing,T=e.retriggerFocusCounter,N=(0,ne.useRef)(),S=(0,ne.useRef)(null),z=(0,ne.useRef)({});(0,ra.Z)(window,"keydown",function(e){if("ArrowDown"===e.code||"ArrowUp"===e.code){e.preventDefault();var t="ArrowDown"===e.code?1:-1,n=(0,ro.KW)(N.current).filter(function(e){return"-1"!==e.getAttribute("tabindex")}),r=n.indexOf(document.activeElement);if(-1!==r){var a=n[r+t];null==a||a.focus()}}});var q=(0,eO._)((0,ne.useState)(""),2),E=q[0],I=q[1],P=(0,eO._)((0,ne.useState)(void 0===L?"":null!=(r=null==a||null==(t=a[L])?void 0:t.name)?r:""),2),Y=P[0],O=P[1],R=(0,eO._)((0,ne.useState)({}),2),B=R[0],U=R[1];(0,ne.useEffect)(function(){O("")},[u]),(0,ne.useEffect)(function(){if(void 0!==C){var e,t,n=null==a||null==(e=a[C])?void 0:e.name;O(null!=n?n:""),n&&(null==(t=z.current[n])||t.focus())}},[C,null==a||null==(n=a[C])?void 0:n.name,T]);var onRowSelectHandler=function(e,t){null==_||_(e,t),O(e)},Q=useIsSmallWidth(),toggleGroup=function(e){U(function(t){return(0,eP._)((0,eI._)({},t),(0,tg._)({},e,void 0!==t[e]&&!t[e]))})};return(0,ty.jsxs)("div",{ref:N,hidden:b,children:[(0,ty.jsx)(nn.P,{}),(0,ty.jsxs)("div",{className:rt()("fullscreen",ri.root),children:[(0,ty.jsx)("span",{className:rt()("screen-title",ri.title),children:l?"Join Java Servers":"Select Saved World"}),c||(0,ty.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:(0,ty.jsx)(rs.ZP,{autoFocus:!0,value:E,onChange:function(e){return I(e.target.value)}})}),(0,ty.jsxs)("div",{className:rt()(ri.content,!a&&ri.content_loading),children:[(0,ty.jsx)(Tabs,{tabs:Object.keys(h),disabledTabs:M,activeTab:null!=u?u:"",labels:h,onTabChange:function(e){null==d||d(e)},fullSize:!0}),(0,ty.jsxs)("div",{style:(0,eI._)({marginTop:3},j),onMouseEnter:function(){return null==D?void 0:D(!0)},onMouseLeave:function(){return null==D?void 0:D(!1)},children:[w&&(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,ty.jsx)("span",{style:{fontSize:9,marginRight:3},children:"Actions: "})," ",Object.entries(w).map(function(e){var t=(0,eO._)(e,2),n=t[0],r=t[1];return"function"==typeof r?(0,ty.jsx)(rl.Z,{onClick:r,style:{width:100},children:n},n):(0,ty.jsx)(ne.Fragment,{children:r},n)})]}),a?Object.entries(a.filter(function(e){return e.title.toLowerCase().includes(E.toLowerCase())}).reduce(function(e,t){var n=t.group||"";return e[n]||(e[n]=[]),e[n].push(t),e},{})).map(function(e){var t,n,r=(0,eO._)(e,2),a=r[0],o=r[1];return(0,ty.jsxs)(ne.Fragment,{children:[(0,ty.jsx)(GroupHeader,{name:a,count:o.length,expanded:null==(t=B[a])||t,onToggle:function(){return toggleGroup(a)}}),(null==(n=B[a])||n)&&o.map(function(e,t){var n=e.name,r=e.size,a=e.detail,o=(0,eY._)(e,["name","size","detail"]);return(0,ty.jsx)(World,(0,eP._)((0,eI._)({"data-key":n},o),{size:r,name:n,elemRef:function(e){z.current[n]=e},onFocus:function(e){return onRowSelectHandler(e,t)},isFocused:Y===n,onInteraction:function(e){var t;"enter"===e?i("load",n):"space"===e&&(null==(t=S.current)||t.focus())},detail:a}),n)})]},a)}):(0,ty.jsx)("div",{style:{fontSize:10,color:g?"red":"lightgray"},children:g||"Loading (check #dev console if loading too long)..."}),v&&(0,ty.jsxs)("div",{style:{fontSize:8,color:"#ffa500ba",marginTop:5,textAlign:"center"},children:[v," ",y&&(0,ty.jsx)("a",{onClick:y,children:A})]})]})]}),(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",minWidth:400,paddingBottom:3,alignItems:"center"},children:[s||(0,ty.jsxs)("div",{children:[(0,ty.jsx)(rl.Z,{rootRef:S,disabled:!Y,onClick:function(){return i("load",Y)},children:"Load World"}),(0,ty.jsx)(rl.Z,{onClick:function(){return o("create")},disabled:m,children:"Create New World"})]}),(0,ty.jsxs)("div",{style:(0,eI._)({},x,Q?{display:"grid",gridTemplateColumns:"1fr 1fr"}:{}),children:[l?(0,ty.jsx)(rl.Z,{style:{width:100},disabled:!Y||k,onClick:function(){return i("edit",Y)},children:"Edit"}):(0,ty.jsx)(rl.Z,{style:{width:100},disabled:!Y,onClick:function(){return i("export",Y)},children:"Export"}),(0,ty.jsx)(rl.Z,{style:{width:100},disabled:!Y||k,onClick:function(){return i("delete",Y)},children:"Delete"}),l?(0,ty.jsx)(rl.Z,{style:{width:100},onClick:function(){return o("create")},disabled:k,children:"Add"}):(0,ty.jsx)(rl.Z,{style:{width:100},onClick:function(){return i("edit",Y)},disabled:!0,children:"Edit"}),(0,ty.jsx)(rl.Z,{style:{width:100},onClick:function(){return o("cancel")},children:"Cancel"})]})]})]})]})},"singleplayer");var rf=n(53746);let rw="container-Y5gFld",rp=(0,ru.K)(function(e){var t,n,r=e.initialOptions,a=e.updateOptions,o=e.getCssOnInput,i=e.onValueChange,s=e.defaultValue,l=e.containerStyle,c=e.placeholder,u=e.disabled,d=(0,eO._)((0,ne.useState)(null!=(t=null==s?void 0:s.label)?t:""),2),w=d[0],p=d[1],h=(0,eO._)((0,ne.useState)(null!=(n=null==s?void 0:s.label)?n:""),2),M=h[0],g=h[1],m=(0,eO._)((0,ne.useState)({}),2),v=m[0],y=m[1],A=(0,eO._)((0,ne.useState)(!0),2),b=A[0],_=A[1];return(0,ty.jsx)(rf.Z,{options:r,defaultValue:s,blurInputOnSelect:!0,hideSelectedOptions:!1,maxMenuHeight:100,isClearable:!0,formatCreateLabel:function(e){return'Use "'+e+'"'}
1,isDisabled:u,placeholder:null!=c?c:"",onChange:function(e,t){var n,r,s,l;console.log("value:",null==e?void 0:e.value),g(null==e?void 0:e.label),p(null==e?void 0:e.label),null==i||i(null!=(n=null==e?void 0:e.value)?n:""),null==a||a(null!=(r=null==e?void 0:e.value)?r:""),y(null!=(l=null==o?void 0:o(null!=(s=null==e?void 0:e.value)?s:""))?l:{})},onInputChange:function(e){_(!1),p(e)},inputValue:w,onFocus:function(e){p(M)},filterOption:function(e,t){return b||e.label.includes(t)},onMenuOpen:function(){_(!0)},menuPortalTarget:document.body,classNames:{control:function(e){return rw},input:function(e){return"input-Vt4rMm"},option:function(e){return rw}},styles:{menuPortal:function(e,t){return(0,eP._)((0,eI._)({},e),{zIndex:10,transform:"scale(var(--guiScale))",transformOrigin:"top left"})},container:function(e,t){return(0,eP._)((0,eI._)({},e),{position:"relative",zIndex:10})},control:function(e,t){return(0,eI._)({},l,v)},menu:function(e,t){return{position:"absolute",zIndex:10}},option:function(e,t){return(0,eI._)({boxSizing:"border-box",padding:"3px",backgroundColor:"black",border:t.isFocused?"1px solid white":"1px solid grey",height:"fit-content"},l)},input:function(e,t){return{}},indicatorsContainer:function(e,t){return{display:"none"}},placeholder:function(e,t){return(0,eP._)((0,eI._)({},e),{padding:"3px",position:"absolute"})},singleValue:function(e,t){return(0,eP._)((0,eI._)({},e),{margin:"0px",position:"absolute",color:"white"})},valueContainer:function(e,t){return(0,eP._)((0,eI._)({},e),{padding:"3px"})},noOptionsMessage:function(e,t){return{display:"none"}}}})},"select");var getInitialProxies=function(){var e,t=[];return(null==(e=ta.N_.appConfig)?void 0:e.defaultProxy)&&t.push(ta.N_.appConfig.defaultProxy),t},getCurrentProxy=function(){var e,t,n;return null!=(n=null!=(t=eU.EX.proxy)?t:null==(e=t2.e1.proxiesData)?void 0:e.selected)?n:getInitialProxies()[0]},getCurrentUsername=function(){var e;return null!=(e=eU.EX.username)?e:t2.e1.username};let rh=(0,ru.K)(function(e){var t,n,r=e.joinServer,a=e.onProfileClick,o=e.setQuickConnectIp,i=(0,eY._)(e,["joinServer","onProfileClick","setQuickConnectIp"]),s=(0,tb.R)(t2.e1),l=(0,ne.useMemo)(function(){return getCurrentUsername()},[eU.EX.username,t2.e1.username]),c=(0,eO._)(ne.useState(""),2),u=c[0],d=c[1],w=(0,eO._)(ne.useState(!0),2),p=w[0],h=w[1],M=(0,eO._)(ne.useState(void 0),2),g=M[0],m=M[1],updateProxies=function(e){t2.e1.proxiesData=e},setUsername=function(e){t2.e1.username=e},getActiveHighlightStyles=function(e){var t={transition:"filter 0.2s"};return g&&g!==e&&(t.filter="brightness(0.7)"),t},v=useIsSmallWidth(),y=getInitialProxies(),A=null!=(t=s.proxiesData)?t:{proxies:y,selected:y[0]};return(0,ty.jsx)(rd,(0,eP._)((0,eI._)({},i),{worldData:i.worldData?i.worldData.map(function(e){return(0,eI._)({},e)}):null,firstRowChildrenOverride:(0,ty.jsx)("form",{style:{width:"100%",display:"flex",justifyContent:"center"},onSubmit:function(e){e.preventDefault(),r(u,{shouldSave:p})},children:(0,ty.jsxs)("div",{style:(0,eI._)({display:"flex",gap:5,alignItems:"center"},getActiveHighlightStyles("quick-connect")),className:"quick-connect-row",onMouseEnter:function(){return m("quick-connect")},onMouseLeave:function(){return m(void 0)},children:[(0,ty.jsx)(rs.ZP,{required:!0,placeholder:"Quick Connect IP (:version)",value:u,onChange:function(e){var t=e.target.value;null==o||o(t),d(t)},width:v?120:180,list:"server-history",autoComplete:"on",autoCorrect:"off",autoCapitalize:"off",spellCheck:"false"}),(0,ty.jsx)("datalist",{id:"server-history",children:(0,eW._)(null!=(n=s.serversHistory)?n:[]).sort(function(e,t){return t.numConnects-e.numConnects}).map(function(e){return(0,ty.jsx)("option",{value:"".concat(e.ip).concat(e.version?":".concat(e.version):"")},e.ip)})}),(0,ty.jsxs)("label",{style:{fontSize:10,display:"flex",alignItems:"center",gap:5,height:"100%",marginTop:"-1px"},children:[(0,ty.jsx)("input",{type:"checkbox",checked:p,style:{borderRadius:0},onChange:function(e){return h(e.target.checked)}})," Save"]}),(0,ty.jsx)(rl.Z,{style:{width:90},type:"submit",children:"Connect"})]})}),searchRowChildrenOverride:(0,ty.jsx)("div",{style:{},children:(0,ty.jsxs)("div",{style:{display:"flex",gap:3,alignItems:"center"},children:[v?(0,ty.jsx)(tL.Z,{iconName:tL.K.server,styles:{fontSize:14,color:"lightgray",marginLeft:2},onClick:a}
1):(0,ty.jsx)("span",{style:{color:"lightgray",fontSize:14},children:"Proxy:"}),(0,ty.jsx)(rp,{initialOptions:A.proxies.map(function(e){return{value:e,label:e}}),defaultValue:{value:A.selected,label:A.selected},updateOptions:function(e){updateProxies({proxies:(0,eW._)(A.proxies),selected:e})},containerStyle:{width:v?140:180}}),(0,ty.jsx)(tL.Z,{iconName:"user",styles:{fontSize:14,color:"lightgray",marginLeft:2},onClick:a}),(0,ty.jsx)(rs.ZP,{rootStyles:{width:80},value:l,disabled:void 0!==eU.EX.username,onChange:function(e){return setUsername(e.target.value)},autoCorrect:"off",autoCapitalize:"off",spellCheck:"false"})]})}),serversLayout:!0,onWorldAction:function(e,t){var n;"load"===e&&r({ip:t},{}),null==(n=i.onWorldAction)||n.call(i,e,t)},setListHovered:function(e){m(e?"server-list":void 0)},listStyle:getActiveHighlightStyles("server-list"),secondRowStyles:getActiveHighlightStyles("server-list")}))},"serversList");var rM=n(1655),rg=n.n(rM),rm=n(55872).Buffer,rv=(M=(0,eE._)(function(e,t){var n,r,a,o,i,s=arguments;return(0,eB.Jh)(this,function(l){switch(l.label){case 0:return n=s.length>2&&void 0!==s[2]?s[2]:{},r=new(eF()),a=(0,eI._)({host:e,port:t,noPongTimeout:1e4,closeTimeout:2e4},n),o=0,i=null,r.autoVersionHooks=[function(e){o=e.latency,i=e}],rg()(r,a),[4,Promise.race([new Promise(function(e,t){r.once("connect_allowed",function(){e()})}),new Promise(function(e,t){r.on("error",function(e){var n;t(Error(null!=(n=e.message)?n:e))}),n.stream&&n.stream.on("end",function(e){setTimeout(function(){t(Error("Connection closed. Please report if you see this but the server is actually fine."))})})})])];case 1:return l.sent(),[2,{version:r.version,latency:o,fullInfo:i}]}})}),function(e,t){return M.apply(this,arguments)}),ry=new Set(["chat","system_chat","player_chat","profileless_chat","kick_disconnect","resource_pack_send","action_bar","set_title_text","set_title_subtitle","title","death_combat_event","server_data","scoreboard_objective","scoreboard_team","playerlist_header","boss_bar"]),validatePacket=function(e,t,n,r){if(r){if(n.length>2097152)throw console.groupCollapsed("Packet ".concat(e," is too large: ").concat(n.length," bytes")),console.log(t),console.groupEnd(),Error("Packet ".concat(e," is too large: ").concat(n.length," bytes"));if(ry.has(e)){var a=getObjectMaxDepth(t);if(a>200)throw console.groupCollapsed("Packet ".concat(e," have too many nested objects: ").concat(a)),console.log(t),console.groupEnd(),Error("Packet ".concat(e," have too many nested objects: ").concat(a))}}};function getObjectMaxDepth(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(null===e||(void 0===e?"undefined":(0,eR._)(e))!=="object"||e instanceof rm)return t;var n=t;if(Array.isArray(e)){var r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=i.value,c=getObjectMaxDepth(l,t+1);n=Math.max(n,c)}}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}}else for(var u in e)n=Math.max(n,getObjectMaxDepth(e[u],t+1));return n}var rA=n(76835),rb=n(95493),r_=n(55872).Buffer,rL=function(e){function CustomDuplex(e,t){var n;return(0,tj._)(this,CustomDuplex),(n=(0,n4._)(this,CustomDuplex,[e])).writeAction=t,n}(0,n6._)(CustomDuplex,e);var t=CustomDuplex.prototype;return t._read=function(){},t._write=function(e,t,n){this.writeAction(e),n()},CustomDuplex}(rA.Duplex),rC=(g=(0,eE._)(function(e){var t,n,r,a,o,i;return(0,eB.Jh)(this,function(s){switch(s.label){case 0:var l;return t=e.startsWith("ws://")?"ws":"wss",n=e.replace("ws://","").replace("wss://",""),(a=(r=new URL("".concat(t,"://").concat(n))).searchParams).append("client_mcraft",""),o=new WebSocket("".concat(t,"://").concat(r.host).concat(r.pathname,"?").concat(a.toString())),(i=new rL(void 0,function(e){o.send(e)})).on("error",function(){}),o.addEventListener("message",(l=(0,eE._)(function(e){var t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:if(!((t=e.data)instanceof Blob))return[3,2];return[4,t.arrayBuffer()];case 1:t=n.sent(),n.label=2;case 2:return i.push(r_.from(t)),[2]}})}),function(e){return l.apply(this,arguments)})),o.addEventListener("close",function(){console.log("ws closed"),i.end(),setTimeout(function(){i.emit("end","Connection lost")},500)}),o.addEventListener("error",function(e){console.log("ws error",e),i.emit("error",e)}),[4,new Promise(function(e,t){o.addEventListener("open",e),o.addEventListener("error",function(e){console.log("ws error",e),t(new rb.g("Failed to open websocket connection"))})})];
1case 1:return s.sent(),[2,{mineflayerStream:i,ws:o}]}})}),function(e){return g.apply(this,arguments)}),rj=n(55872).Buffer,rD=0;customEvents.on("mineflayerBotCreated",function(){var e=function(e){function MinecraftProtocolError(e,t,n){var r;return(0,tj._)(this,MinecraftProtocolError),(null==n?void 0:n.customPayload)&&(e+=" (Custom payload: ".concat(n.customPayload.channel,")")),(r=(0,n4._)(this,MinecraftProtocolError,[e,{cause:t}])).data=n,r.name="MinecraftProtocolError",r}return(0,n6._)(MinecraftProtocolError,e),MinecraftProtocolError}((0,n8._)(Error)),onClientError=function(t,n){reportError(new e("Minecraft protocol client error: ".concat(String(t)),t,n))};"function"==typeof bot._client._events.error?bot._client._events.error=onClientError:bot._client.on("error",onClientError),eU.EX.noPacketsValidation||(bot._client.on("packet",function(e,t,n,r){validatePacket(t.name,e,r,!0),rD=performance.now()}),bot._client.on("writePacket",function(e,t){validatePacket(e,t,rj.alloc(0),!1)}))}),setInterval(function(){var e;if(bot&&rD){if((null==(e=bot.player)?void 0:e.ping)>500?ta.rl.poorConnection=!0:ta.rl.poorConnection=!1,performance.now()-rD<2e3){ta.rl.noConnection=!1;return}ta.rl.noConnection=!0}},1e3);var rx=(m=(0,eE._)(function(e,t){var n,r,a,o,i,s=arguments;return(0,eB.Jh)(this,function(l){switch(l.label){case 0:return n=s.length>2&&void 0!==s[2]?s[2]:(0,n7.getVersionAutoSelect)(),r=s.length>3&&void 0!==s[3]&&s[3],a=s.length>4?s[4]:void 0,o=s.length>5?s[5]:void 0,[4,(0,n7.downloadAllMinecraftData)()];case 1:if(l.sent(),!(e.startsWith("ws://")||e.startsWith("wss://")))return[3,3];return null==a||a.setMessage("Connecting to WebSocket server"),[4,rC(e)];case 2:return i=l.sent().mineflayerStream,null==a||a.setMessage("WebSocket connected. Ping packet sent, waiting for response"),[3,4];case 3:o&&setProxy(o),l.label=4;case 4:return window.setLoadingMessage=function(e){void 0===e?null==a||a.endStage("dns"):null==a||a.beginStage("dns",e)},[2,rv(e,t,(0,eI._)({},i?{stream:i}:{},r?{noPongTimeout:3e3}:{},n?{version:n}:{})).finally(function(){window.setLoadingMessage=void 0})]}})}),function(e,t){return m.apply(this,arguments)});globalThis.debugTestPing=(v=(0,eE._)(function(e){var t,n;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:return[4,rx((t=parseServerAddress(e,!1)).host,t.port?Number(t.port):void 0,void 0,!0,void 0,{address:getCurrentProxy()})];case 1:return console.log("result",n=r.sent()),[2,n]}})}),function(e){return v.apply(this,arguments)});var getDefaultProxyParams=function(){var e;return{headers:{Authorization:"Bearer ".concat(null!=(e=new URLSearchParams(location.search).get("token"))?e:"")}}},setProxy=function(e){if((null==(t=e.address)?void 0:t.startsWith(":"))&&(e.address="".concat(location.protocol,"//").concat(location.hostname).concat(e.address)),e.address&&"80"!==location.port&&"443"!==location.port&&!/:\d+$/.test(e.address)){var t,n,r=e.address.startsWith("https://")||"https:"===location.protocol;e.address="".concat(e.address,":").concat(r?443:80)}var a=parseServerAddress(e.address,!1),o={host:a.host,port:a.port};return null!=e.headers||(e.headers=getDefaultProxyParams().headers),n9.setProxy({hostname:o.host,port:o.port,headers:e.headers,artificialDelay:eU.EX.addPing?Number(eU.EX.addPing):void 0}),{proxy:o}},rk=n(73955),rT=JSON.parse('{"moving_piston":[],"water":[],"lava":[],"bubble_column":[],"air":[],"void_air":[],"cave_air":[],"mangrove_propagule":{"hanging=true":[7,0,7,9,16,9],"age=0":[7,13,7,9,16,9],"age=1":[7,10,7,9,16,9],"age=2":[7,7,7,9,16,9],"age=3":[7,3,7,9,16,9],"age=4":[7,0,7,9,16,9]},"fern":[2,0,2,14,13,14],"dandelion":[5,0,5,11,10,11],"torchflower":[5,0,5,11,10,11],"poppy":[5,0,5,11,10,11],"blue_orchid":[5,0,5,11,10,11],"allium":[5,0,5,11,10,11],"azure_bluet":[5,0,5,11,10,11],"red_tulip":[5,0,5,11,10,11],"orange_tulip":[5,0,5,11,10,11],"white_tulip":[5,0,5,11,10,11],"pink_tulip":[5,0,5,11,10,11],"oxeye_daisy":[5,0,5,11,10,11],"cornflower":[5,0,5,11,10,11],"wither_rose":[5,0,5,11,10,11],"lily_of_the_valley":[5,0,5,11,10,11],"brown_mushroom":[5,0,5,11,6,11],"red_mushroom":[5,0,5,11,6,11],"torch":[6,0,6,10,10,10],"soul_fire":[0,0,0,16,1,16],"soul_torch":[6,0,6,10,10,10],"end_portal":[0,6,0,16,12,16],"end_gateway":[],"kelp_plant":[0,0,0,16,16,16],"dead_tube_coral":[2,0,2,14,15,14],"dead_brain_coral":[2,0,2,14,15,14],"dead_bubble_coral":[2,0,2,14,15,14],"dead_fire_coral":[2,0,2,14,15,14],"dead_horn_coral":[2,0,2,14,15,14],"tube_coral":[2,0,2,14,15,14],"brain_coral":[2,0,2,14,15,14],"bubble_coral":[2,0,2,14,15,14],"fire_coral":[2,0,2,14,15,14],"horn_coral":[2,0,2,14,15,14],"dead_tube_coral_fan":[2,0,2,14,4,14],"dead_brain_coral_fan":[2,0,2,14,4,14],"dead_bubble_coral_fan":[2,0,2,14,4,14],"dead_fire_coral_fan":[2,0,2,14,4,14],"dead_horn_coral_fan":[2,0,2,14,4,14],"tube_coral_fan":[2,0,2,14,4,14],"brain_coral_fan":[2,0,2,14,4,14],"bubble_coral_fan":[2,0,2,14,4,14],"fire_coral_fan":[2,0,2,14,4,14],"horn_coral_fan":[2,0,2,14,4,14],"bamboo_sapling":[4,0,4,12,12,12],"warped_fungus":[4,0,4,12,9,12],"warped_roots":[2,0,2,14,13,14],"nether_sprouts":[2,0,2,14,3,14],"crimson_fungus":[4,0,4,12,9,12],"weeping_vines_plant":[1,0,1,15,16,15],"twisting_vines_plant":[4,0,4,12,16,12],"crimson_roots":[2,0,2,14,13,14],"snow":{"layers=1":[0,0,0,16,1,16]},"powder_snow":[0,0,0,16,16,16],"spore_blossom":[2,13,2,14,16,14],"hanging_roots":[2,10,2,14,16,14],"frogspawn":[0,0,0,16,1.5,16],"jungle_sapling":[2,0,2,14,12,14],"acacia_sapling":[2,0,2,14,12,14],"cherry_sapling":[2,0,2,14,12,14],"powered_rail"
1:{"shape=ascending_east":[0,0,0,16,8,16],"shape=ascending_north":[0,0,0,16,8,16],"shape=ascending_south":[0,0,0,16,8,16],"shape=ascending_west":[0,0,0,16,8,16],"":[0,0,0,16,2,16]},"detector_rail":{"shape=ascending_east":[0,0,0,16,8,16],"shape=ascending_north":[0,0,0,16,8,16],"shape=ascending_south":[0,0,0,16,8,16],"shape=ascending_west":[0,0,0,16,8,16],"":[0,0,0,16,2,16]},"wall_torch":{"facing=east":[0,3,5.5,5,13,10.5],"facing=north":[5.5,3,11,10.5,13,16],"facing=south":[5.5,3,0,10.5,13,5],"facing=west":[11,3,5.5,16,13,10.5]},"fire":{"combine":{"up=true":[0,15,0,16,16,16],"west=true":[0,0,0,1,16,16],"east=true":[15,0,0,16,16,16],"north=true":[0,0,0,16,16,1],"south=true":[0,0,15,16,16,16]}},"redstone_wire":{"combine":{"north=side|up":[3,0,0,13,1,13],"south=side|up":[3,0,3,13,1,16],"east=side|up":[3,0,3,16,1,13],"west=side|up":[0,0,3,13,1,13],"north=up":[3,0,0,13,16,1],"south=up":[3,0,15,13,16,16],"east=up":[15,0,3,16,16,13],"west=up":[0,0,3,1,16,13]}},"wheat":{"age=0":[0,0,0,16,2,16],"age=1":[0,0,0,16,4,16],"age=2":[0,0,0,16,6,16],"age=3":[0,0,0,16,8,16],"age=4":[0,0,0,16,10,16],"age=5":[0,0,0,16,12,16],"age=6":[0,0,0,16,14,16],"age=7":[0,0,0,16,16,16]},"oak_sign":[4,0,4,12,16,12],"spruce_sign":[4,0,4,12,16,12],"birch_sign":[4,0,4,12,16,12],"acacia_sign":[4,0,4,12,16,12],"cherry_sign":[4,0,4,12,16,12],"jungle_sign":[4,0,4,12,16,12],"dark_oak_sign":[4,0,4,12,16,12],"mangrove_sign":[4,0,4,12,16,12],"bamboo_sign":[4,0,4,12,16,12],"rail":{"shape=ascending_east":[0,0,0,16,8,16],"shape=ascending_north":[0,0,0,16,8,16],"shape=ascending_south":[0,0,0,16,8,16],"shape=ascending_west":[0,0,0,16,8,16],"":[0,0,0,16,2,16]},"oak_wall_sign":{"facing=north":[0,4.5,14,16,12.5,16],"facing=south":[0,4.5,0,16,12.5,2],"facing=east":[0,4.5,0,2,12.5,16],"facing=west":[14,4.5,0,16,12.5,16]},"spruce_wall_sign":{"facing=north":[0,4.5,14,16,12.5,16],"facing=south":[0,4.5,0,16,12.5,2],"facing=east":[0,4.5,0,2,12.5,16],"facing=west":[14,4.5,0,16,12.5,16]},"birch_wall_sign":{"facing=north":[0,4.5,14,16,12.5,16],"facing=south":[0,4.5,0,16,12.5,2],"facing=east":[0,4.5,0,2,12.5,16],"facing=west":[14,4.5,0,16,12.5,16]},"acacia_wall_sign":{"facing=north":[0,4.5,14,16,12.5,16],"facing=south":[0,4.5,0,16,12.5,2],"facing=east":[0,4.5,0,2,12.5,16],"facing=west":[14,4.5,0,16,12.5,16]},"cherry_wall_sign":{"facing=north":[0,4.5,14,16,12.5,16],"facing=south":[0,4.5,0,16,12.5,2],"facing=east":[0,4.5,0,2,12.5,16],"facing=west":[14,4.5,0,16,12.5,16]},"jungle_wall_sign":{"facing=north":[0,4.5,14,16,12.5,16],"facing=south":[0,4.5,0,16,12.5,2],"facing=east":[0,4.5,0,2,12.5,16],"facing=west":[14,4.5,0,16,12.5,16]},"dark_oak_wall_sign":{"facing=north":[0,4.5,14,16,12.5,16],"facing=south":[0,4.5,0,16,12.5,2],"facing=east":[0,4.5,0,2,12.5,16],"facing=west":[14,4.5,0,16,12.5,16]},"mangrove_wall_sign":{"facing=north":[0,4.5,14,16,12.5,16],"facing=south":[0,4.5,0,16,12.5,2],"facing=east":[0,4.5,0,2,12.5,16],"facing=west":[14,4.5,0,16,12.5,16]},"bamboo_wall_sign":{"facing=north":[0,4.5,14,16,12.5,16],"facing=south":[0,4.5,0,16,12.5,2],"facing=east":[0,4.5,0,2,12.5,16],"facing=west":[14,4.5,0,16,12.5,16]},"oak_hanging_sign":[3,0,3,13,16,13],"spruce_hanging_sign":[3,0,3,13,16,13],"birch_hanging_sign":[3,0,3,13,16,13],"acacia_hanging_sign":[3,0,3,13,16,13],"cherry_hanging_sign":[3,0,3,13,16,13],"jungle_hanging_sign":[3,0,3,13,16,13],"dark_oak_hanging_sign":[3,0,3,13,16,13],"crimson_hanging_sign":[3,0,3,13,16,13],"warped_hanging_sign":[3,0,3,13,16,13],"mangrove_hanging_sign":[3,0,3,13,16,13],"bamboo_hanging_sign":[3,0,3,13,16,13],"lever":{"face=floor,facing=east":[4,0,5,12,6,11],"face=floor,facing=north":[5,0,4,11,6,12],"face=floor,facing=south":[5,0,4,11,6,12],"face=floor,facing=west":[4,0,5,12,6,11],"face=ceiling,facing=east":[4,10,5,12,16,11],"face=ceiling,facing=north":[5,10,4,11,16,12],"face=ceiling,facing=south":[5,10,4,11,16,12],"face=ceiling,facing=west":[4,10,5,12,16,11],"face=wall,facing=east":[0,4,5,6,12,11],"face=wall,facing=north":[5,4,10,11,12,16],"face=wall,facing=south":[5,4,0,11,12,6],"face=wall,facing=west":[10,4,5,16,12,11]},"stone_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"oak_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"spruce_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"birch_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"jungle_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"acacia_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"cherry_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"dark_oak_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"mangrove_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"bamboo_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"redstone_torch":[6,0,6,10,10,10],"redstone_wall_torch":{"facing=east":[0,3,5.5,5,13,10.5],"facing=north":[5.5,3,11,10.5,13,16],"facing=south":[5.5,3,0,10.5,13,5],"facing=west":[11,3,5.5,16,13,10.5]},"stone_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"sugar_cane":[2,0,2,14,16,14],"soul_wall_torch":{"facing=east":[0,3,5.5,5,13,10.5],"facing=north":[5.5,3,11,10.5,13,16],"facing=south":[5.5,3,0,10.5,13,5],"facing=west":[11,3,5.5,16,13,10.5]},"attached_pumpkin_stem":{"facing=east":[6,0,6,16,10,10],"facing=north":[6,0,0,10,10,10],"facing=south":[6,0,6,10,10,16],"facing=west":[0,0,6,10,10,10]},"attached_melon_stem":{"facing=east":[6,0,6,16,10,10],"facing=north":[6,0,0,10,10,10],"facing=south":[6,0,6,10,10,16],"facing=west":[0,0,6,10,10,10]},"pumpkin_stem":{"age=0":[7,0,7,9,2,9],"age=1":[7,0,7,9,4,9],"age=2":[7,0,7,9,6,9],"age=3":[7,0,7,9,8,9],"age=4":[7,0,7,9,10,9],"age=5":[7,0,7,9,12,9],"age=6":[7,0,7,9,14,9],"age=7":[7,0,7,9,16,9]},"melon_stem":{"age=0":[7,0,7,9,2,9],"age=1":[7,0,7,9,4,9],"age=2":[7,0,7,9,6,9],"age=3":[7,0,7,9,8,9],"age=4":[7,0,7,9,10,9],"age=5":[7,0,7,9,12,9],"age=6":[7,0,7,9,14,9],"age=7":[7,0,7,9,16,9]},"vine":{"combine":{"up=true":[0,15,0,16,16,16],"west=true":[0,0,0,1,16,16],"east=true":[15,0,0,16,16,16],"north=true":[0,0,0,16,16,1],"south=true":[0,0,15,16,16,16]}},"glow_lichen":{"combine":{"up=true":[0,15,0,16,16,16],"west=true":[0,0,0,1,16,16],"east=true":[15,0,0,16,16,16],"north=true":[0,0,0,16,16,1],"south=true":[0,0,15,16,16,16]}},"nether_wart":{"age=0":[0,0,0,16,5,16],"age=1":[0,0,0,16,8,16],"age=2":[0,0,0,16,11,16],"age=3":[0,0,0,16,14,16]},"tripwire_hook":{"facing=east":[0,0,5,6,10,11],"facing=north":[5,0,10,11,10,16],"facing=south":[5,0,0,11,10,6],"facing=west":[10,0,5,16,10,11]},"tripwire":{"attached=true":[0,1,0,16,2.5,16],"attached=false":[0,0,0,16,8,16]},"carrots":{"age=0":[0,0,0,16,2,16],"age=1":[0,0,0,16,3,16],"age=2":[0,0,0,16,4,16],"age=3":[0,0,0,16,5,16],"age=4":[0,0,0,16,6,16],"age=5":[0,0,0,16,7,16],"age=6":[0,0,0,16,8,16],"age=7":[0,0,0,16,9,16]},"potatoes":{"age=0":[0,0,0,16,2,16],"age=1":[0,0,0,16,3,16],"age=2":[0,0,0,16,4,16],"age=3":[0,0,0,16,5,16],"age=4":[0,0,0,16,6,16],"age=5":[0,0,0,16,7,16],"age=6":[0,0,0,16,8,16],"age=7":[0,0,0,16,9,16]},"oak_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"spruce_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"birch_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"jungle_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"acacia_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"cherry_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling
1,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"dark_oak_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"mangrove_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"bamboo_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"light_weighted_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"heavy_weighted_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"activator_rail":{"shape=ascending_east":[0,0,0,16,8,16],"shape=ascending_north":[0,0,0,16,8,16],"shape=ascending_south":[0,0,0,16,8,16],"shape=ascending_west":[0,0,0,16,8,16],"":[0,0,0,16,2,16]},"light":[],"sunflower":[0,0,0,16,16,16],"rose_bush":[0,0,0,16,16,16],"peony":[0,0,0,16,16,16],"large_fern":[0,0,0,16,16,16],"white_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"orange_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"magenta_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"light_blue_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"yellow_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"lime_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"pink_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"gray_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"light_gray_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"cyan_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"purple_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"blue_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"brown_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"green_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"red_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"black_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"white_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"orange_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"magenta_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"light_blue_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"yellow_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"lime_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"pink_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"gray_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"light_gray_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"cyan_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"purple_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"blue_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"brown_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"green_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"red_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"black_wall_banner":{"facing=north":[0,0,14,16,12.5,16],"facing=south":[0,0,0,16,12.5,2],"facing=west":[14,0,0,16,12.5,16],"facing=east":[0,0,0,2,12.5,16]},"torchflower_crop":{"age=0":[5,0,5,11,6,11],"age=1":[5,0,5,11,10,11]},"pitcher_plant":[0,0,0,16,16,16],"beetroots":{"age=0":[0,0,0,16,2,16],"age=1":[0,0,0,16,4,16],"age=2":[0,0,0,16,6,16],"age=3":[0,0,0,16,8,16]},"kelp":[0,0,0,16,9,16],"dead_tube_coral_wall_fan":{"facing=north":[0,4,5,16,12,16],"facing=south":[0,4,0,16,12,11],"facing=west":[5,4,0,16,12,16],"facing=east":[0,4,0,11,12,16]},"dead_brain_coral_wall_fan":{"facing=north":[0,4,5,16,12,16],"facing=south":[0,4,0,16,12,11],"facing=west":[5,4,0,16,12,16],"facing=east":[0,4,0,11,12,16]},"dead_bubble_coral_wall_fan":{"facing=north":[0,4,5,16,12,16],"facing=south":[0,4,0,16,12,11],"facing=west":[5,4,0,16,12,16],"facing=east":[0,4,0,11,12,16]},"dead_fire_coral_wall_fan":{"facing=north":[0,4,5,16,12,16],"facing=south":[0,4,0,16,12,11],"facing=west":[5,4,0,16,12,16],"facing=east":[0,4,0,11,12,16]},"dead_horn_coral_wall_fan":{"facing=north":[0,4,5,16,12,16],"facing=south":[0,4,0,16,12,11],"facing=west":[5,4,0,16,12,16],"facing=east":[0,4,0,11,12,16]},"tube_coral_wall_fan":{"facing=north":[0,4,5,16,12,16],"facing=south":[0,4,0,16,12,11],"facing=west":[5,4,0,16,12,16],"facing=east":[0,4,0,11,12,16]},"brain_coral_wall_fan":{"facing=north":[0,4,5,16,12,16],"facing=south":[0,4,0,16,12,11],"facing=west":[5,4,0,16,12,16],"facing=east":[0,4,0,11,12,16]},"bubble_coral_wall_fan":{"facing=north":[0,4,5,16,12,16],"facing=south":[0,4,0,16,12,11],"facing=west":[5,4,0,16,12,16],"facing=east":[0,4,0,11,12,16]},"fire_coral_wall_fan":{"facing=north":[0,4,5,16,12,16],"facing=south":[0,4,0,16,12,11],"facing=west":[5,4,0,16,12,16],"facing=east":[0,4,0,11,12,16]},"horn_coral_wall_fan":{"facing=north":[0,4,5,16,12,16],"facing=south":[0,4,0,16,12,11],"facing=west":[5,4,0,16,12,16],"facing=east":[0,4,0,11,12,16]},"sweet_berry_bush":{"age=0":[3,0,3,13,8,13],"age=1":[1,0,1,15,16,15],"age=2":[1,0,1,15,16,15],"":[0,0,0,16,16,16]},"weeping_vines":[4,9,4,12,16,12],"twisting_vines":[4,0,4,12,15,12],"crimson_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"warped_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"crimson_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"warped_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"crimson_sign":[4,0,4,12,16,12],"warped_sign":[4,0,4,12,16,12],"crimson_wall_sign":{"facing=north":[0,4.5,14,16,12.5,16],"facing=south":[0,4.5,0,16,12.5,2],"facing=east":[0,4.5,0,2,12.5,16],"facing=west":[14,4.5,0,16,12.5,16]},"warped_wall_sign":{"facing=north":[0,4.5,14,16,12.5,16],"facing=south":[0,4.5,0,16,12.5,2],"facing=east":[0,4.5,0,2,12.5,16],"facing=west":[14,4.5,0,16,12.5,16]},"polished_blackstone_pressure_plate":{"powered=false":[1,0,1,15,1,15],"powered=true":[1,0,1,15,0.5,15]},"polished_blackstone_button":{"face=floor,facing=north,powered=false":[5,0,6,11,2,10],"face=floor,facing=north,powered=true":[5,0,6,11,1,10],"face=floor,facing=south,powered=false":[5,0,6,11,2,10],"face=floor,facing=south,powered=true":[5,0,6,11,1,10],"face=floor,facing=west,powered=false":[6,0,5,10,2,11],"face=floor,facing=west,powered=true":[6,0,5,10,1,11],"face=floor,facing=east,powered=false":[6,0,5,10,2,11],"face=floor,facing=east,powered=true":[6,0,5,10,1,11],"face=wall,facing=north,powered=false":[5,6,14,11,10,16],"face=wall,facing=north,powered=true":[5,6,15,11,10,16],"face=wall,facing=south,powered=false":[5,6,0,11,10,2],"face=wall,facing=south,powered=true":[5,6,0,11,10,1],"face=wall,facing=west,powered=false":[14,6,5,16,10,11],"face=wall,facing=west,powered=true":[15,6,5,16,10,11],"face=wall,facing=east,powered=false":[0,6,5,2,10,11],"face=wall,facing=east,powered=true":[0,6,5,1,10,11],"face=ceiling,facing=north,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=north,powered=true":[5,15,6,11,16,10],"face=ceiling,facing=south,powered=false":[5,14,6,11,16,10],"face=ceiling,facing=south,
1powered=true":[5,15,6,11,16,10],"face=ceiling,facing=west,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=west,powered=true":[6,15,5,10,16,11],"face=ceiling,facing=east,powered=false":[6,14,5,10,16,11],"face=ceiling,facing=east,powered=true":[6,15,5,10,16,11]},"sculk_vein":{"combine":{"up=true":[0,15,0,16,16,16],"west=true":[0,0,0,1,16,16],"east=true":[15,0,0,16,16,16],"north=true":[0,0,0,16,16,1],"south=true":[0,0,15,16,16,16]}},"cave_vines":[1,0,1,15,16,15],"big_dripleaf_stem":{"facing=north":[5,0,9,11,16,15],"facing=south":[5,0,1,11,16,7],"facing=east":[1,0,5,7,16,11],"facing=west":[9,0,5,15,16,11]},"small_dripleaf":[2,0,2,14,13,14]}'),rN=JSON.parse('{"blocks":{"air":0,"stone":1,"granite":1,"polished_granite":1,"diorite":1,"polished_diorite":1,"andesite":1,"polished_andesite":1,"grass_block":1,"dirt":1,"coarse_dirt":1,"podzol":1,"cobblestone":1,"oak_planks":1,"spruce_planks":1,"birch_planks":1,"jungle_planks":1,"acacia_planks":1,"cherry_planks":1,"dark_oak_planks":1,"pale_oak_wood":1,"pale_oak_planks":1,"mangrove_planks":1,"bamboo_planks":1,"bamboo_mosaic":1,"oak_sapling":0,"spruce_sapling":0,"birch_sapling":0,"jungle_sapling":0,"acacia_sapling":0,"cherry_sapling":0,"dark_oak_sapling":0,"pale_oak_sapling":0,"mangrove_propagule":0,"bedrock":1,"water":0,"lava":0,"sand":1,"suspicious_sand":1,"red_sand":1,"gravel":1,"suspicious_gravel":1,"gold_ore":1,"deepslate_gold_ore":1,"iron_ore":1,"deepslate_iron_ore":1,"coal_ore":1,"deepslate_coal_ore":1,"nether_gold_ore":1,"oak_log":1,"spruce_log":1,"birch_log":1,"jungle_log":1,"acacia_log":1,"cherry_log":1,"dark_oak_log":1,"pale_oak_log":1,"mangrove_log":1,"mangrove_roots":1,"muddy_mangrove_roots":1,"bamboo_block":1,"stripped_spruce_log":1,"stripped_birch_log":1,"stripped_jungle_log":1,"stripped_acacia_log":1,"stripped_cherry_log":1,"stripped_dark_oak_log":1,"stripped_pale_oak_log":1,"stripped_oak_log":1,"stripped_mangrove_log":1,"stripped_bamboo_block":1,"oak_wood":1,"spruce_wood":1,"birch_wood":1,"jungle_wood":1,"acacia_wood":1,"cherry_wood":1,"dark_oak_wood":1,"mangrove_wood":1,"stripped_oak_wood":1,"stripped_spruce_wood":1,"stripped_birch_wood":1,"stripped_jungle_wood":1,"stripped_acacia_woo
1d":1,"stripped_cherry_wood":1,"stripped_dark_oak_wood":1,"stripped_pale_oak_wood":1,"stripped_mangrove_wood":1,"oak_leaves":1,"spruce_leaves":1,"birch_leaves":1,"jungle_leaves":1,"acacia_leaves":1,"cherry_leaves":1,"dark_oak_leaves":1,"pale_oak_leaves":1,"mangrove_leaves":1,"azalea_leaves":1,"flowering_azalea_leaves":1,"sponge":1,"wet_sponge":1,"glass":1,"lapis_ore":1,"deepslate_lapis_ore":1,"lapis_block":1,"dispenser":1,"sandstone":1,"chiseled_sandstone":1,"cut_sandstone":1,"note_block":1,"white_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"orange_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"magenta_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"light_blue_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"yellow_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"lime_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"pink_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"gray_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"light_gray_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"cyan_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"purple_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"blue_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"brown_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"green_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"red_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"black_bed":[2,3,2,3,3,2,3,2,4,5,4,5,5,4,5,4],"powered_rail":0,"detector_rail":0,"sticky_piston":[6,7,8,9,10,11,1,1,1,1,1,1],"cobweb":0,"short_grass":0,"fern":0,"dead_bush":0,"bush":0,"short_dry_grass":0,"tall_dry_grass":0,"seagrass":0,"tall_seagrass":0,"piston":[6,7,8,9,10,11,1,1,1,1,1,1],"piston_head":[12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23],"white_wool":1,"orange_wool":1,"magenta_wool":1,"light_blue_wool":1,"yellow_wool":1,"lime_wool":1,"pink_wool":1,"gray_wool":1,"light_gray_wool":1,"cyan_wool":1,"purple_wool":1,"blue_wool":1,"brown_wool":1,"green_wool":1,"red_wool":1,"black_wool":1,"moving_piston":0,"dandelion":0,"torchflower":0,"poppy":0,"blue_orchid":0,"allium":0,"azure_bluet":0,"red_tulip":0,"orange_tulip":0,"white_tulip":0,"pink_tulip":0,"oxeye_daisy":0,"cornflower":0,"wither_rose":0,"lily_of_the_valley":0,"brown_mushroom":0,"red_mushroom":0,"gold_block":1,"iron_block":1,"bricks":1,"tnt":1,"bookshelf":1,"chiseled_bookshelf":1,"acacia_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"bamboo_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"birch_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"cherry_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"crimson_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"dark_oak_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"jungle_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"mangrove_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"oak_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"pale_oak_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"spruce_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"warped_shelf":[24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27],"mossy_cobblestone":1,"obsidian":1,"torch":0,"wall_torch":0,"fire":0,"soul_fire":0,"spawner":1,"creaking_heart":1,"oak_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"chest":[52,52,53,53,54,54,52,52,54,54,53,53,52,52,55,55,56,56,52,52,56,56,55,55],"redstone_wire":0,"diamond_ore":1,"deepslate_diamond_ore":1,"diamond_block":1,"crafting_table":1,"wheat":0,"farmland":57,"furnace":1,"oak_sign":0,"spruce_sign":0,"birch_sign":0,"acacia_sign":0,"cherry_sign":0,"jungle_sign":0,"dark_oak_sign":0,"pale_oak_sign":0,"mangrove_sign":0,"bamboo_sign":0,"oak_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"ladder":[59,59,61,61,60,60,58,58],"rail":0,"cobblestone_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"oak_wall_sign":0,"spruce_wall_sign":0,"birch_wall_sign":0,"acacia_wall_sign":0,"cherry_wall_sign":0,"jungle_wall_sign":0,"dark_oak_wall_sign":0,"pale_oak_wall_sign":0,"mangrove_wall_sign":0,"bamboo_wall_sign":0,"oak_hanging_sign":0,"spruce_hanging_sign":0,"birch_hanging_sign":0,"acacia_hanging_sign":0,"cherry_hanging_sign":0,"jungle_hanging_sign":0,"dark_oak_hanging_sign":0,"pale_oak_hanging_sign":0,"crimson_hanging_sign":0,"warped_hanging_sign":0,"mangrove_hanging_sign":0,"bamboo_hanging_sign":0,"oak_wall_hanging_sign":[66,66,66,66,67,67,67,67],"spruce_wall_hanging_sign":[66,66,66,66,67,67,67,67],"birch_wall_hanging_sign":[66,66,66,66,67,67,67,67],"acacia_wall_hanging_sign":[66,66,66,66,67,67,67,67],"cherry_wall_hanging_sign":[66,66,66,66,67,67,67,67],"jungle_wall_hanging_sign":[66,66,66,66,67,67,67,67],"dark_oak_wall_hanging_sign":[66,66,66,66,67,67,67,67],"pale_oak_wall_hanging_sign":[66,66,66,66,67,67,67,67],"mangrove_wall_hanging_sign":[66,66,66,66,67,67,67,67],"crimson_wall_hanging_sign":[66,66,66,66,67,67,67,67],"warped_wall_hanging_sign":[66,66,66,66,67,67,67,67],"bamboo_wall_hanging_sign":[66,66,66,66,67,67,67,67],"lever":0,"stone_pressure_plate":0,"iron_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"oak_pressure_plate":0,"spruce_pressure_plate":0,"birch_pressure_plate":0,"jungle_pressure_plate":0,"acacia_pressure_plate":0,"cherry_pressure_plate":0,"dark_oak_pressure_plate":0,"pale_oak_pressure_plate":0,"mangrove_pressure_plate":0,"bamboo_pressure_plate":0,"redstone_ore":1,"deepslate_redstone_ore":1,"redstone_torch":0,"redstone_wall_torch":0,"stone_button":0,"snow":[0,68,69,70,71,72,10,74],"ice":1,"snow_block":1,"cactus":75,"cactus_flower":0,"clay":1,"sugar_cane":0,"jukebox":1,"oak_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"netherrack":1,"soul_sand":74,"soul_soil":1,"basalt":1,"polished_basalt":1,"soul_torch":0,"soul_wall_torch":0,"copper_torch":0,"copper_wall_torch":0,"glowstone":1,"nether_portal":0,"carved_pumpkin":1,"jack_o_lantern":1,"cake":[93,94,95,96,97,98,99],"repeater":68,"white_stained_glass":1,"orange_stained_glass":1,"magenta_stained_glass":1,"light_blue_stained_glass":1,"yellow_stained_glass":1,"lime_stained_glass":1,"pink_stained_glass":1,"gray_stained_glass":1,"light_gray_stained_glass":1,"cyan_stained_glass":1,"purple_stained_glass":1,"blue_stained_glass":1,"brown_stained_glass":1,"green_stained_glass":1,"red_stained_glass":1,"black_stained_glass":1,"oak_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,
161,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"spruce_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"birch_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"jungle_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"acacia_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"cherry_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"dark_oak_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"pale_oak_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"mangrove_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"bamboo_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"stone_bricks":1,"mossy_stone_bricks":1,"cracked_stone_bricks":1,"chiseled_stone_bricks":1,"packed_mud":1,"mud_bricks":1,"infested_stone":1,"infested_cobblestone":1,"infested_stone_bricks":1,"infested_mossy_stone_bricks":1,"infested_cracked_stone_bricks":1,"infested_chiseled_stone_bricks":1,"brown_mushroom_block":1,"red_mushroom_block":1,"mushroom_stem":1,"iron_bars":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"copper_bars":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"exposed_copper_bars":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"weathered_copper_bars":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"oxidized_copper_bars":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"waxed_copper_bars":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"waxed_exposed_copper_bars":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"waxed_weathered_copper_bars":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"waxed_oxidized_copper_bars":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"iron_chain":[251,251,252,252,253,253],"copper_chain":[251,251,252,252,253,253],"exposed_copper_chain":[251,251,252,252,253,253],"weathered_copper_chain":[251,251,252,252,253,253],"oxidized_copper_chain":[251,251,252,252,253,253],"waxed_copper_chain":[251,251,252,252,253,253],"waxed_exposed_copper_chain":[251,251,252,252,253,253],"waxed_weathered_copper_chain":[251,251,252,252,253,253],"waxed_oxidized_copper_chain":[251,251,252,252,253,253],"glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"pumpkin":1,"melon":1,"attached_pumpkin_stem":0,"attached_melon_stem":0,"pumpkin_stem":0,"melon_stem":0,"vine":0,"glow_lichen":0,"resin_clump":0,"oak_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"stone_brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"mud_brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"mycelium":1,"lily_pad":272,"resin_block":1,"resin_bricks":1,"resin_brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"resin_brick_slab":[273,273,71,71,1,1],"resin_brick_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"chiseled_resin_bricks":1,"nether_bricks":1,"nether_brick_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"nether_brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"nether_wart":0,"enchanting_table":10,"brewing_stand":453,"cauldron":454,"water_cauldron":454,"lava_cauldron":454,"powder_snow_cauldron":454,"end_portal":0,"end_portal_frame":[455,455,455,455,456,456,456,456],"end_stone":1,"dragon_egg":457,"redstone_lamp":1,"cocoa":[458,459,460,461,462,463,464,465,466,467,468,469],"sandstone_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"emerald_ore":1,"deepslate_emerald_ore":1,"ender_chest":52,"tripwire_hook":0,"tripwire":0,"emerald_block":1,"spruce_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"birch_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"jungle_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"command_block":1,"beacon":1,"cobblestone_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"mossy_cobblestone_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"flower_pot":793,"potted_torchflower":793,"potted_oak_sapling":793,"potted_spruce_sapling":793,"potted_birch_sapling":793,"potted_jungle_sapling":793,"potted_acacia_sapling":793,"potted_cherry_sapling":793,"potted_dar
1k_oak_sapling":793,"potted_pale_oak_sapling":793,"potted_mangrove_propagule":793,"potted_fern":793,"potted_dandelion":793,"potted_poppy":793,"potted_blue_orchid":793,"potted_allium":793,"potted_azure_bluet":793,"potted_red_tulip":793,"potted_orange_tulip":793,"potted_white_tulip":793,"potted_pink_tulip":793,"potted_oxeye_daisy":793,"potted_cornflower":793,"potted_lily_of_the_valley":793,"potted_wither_rose":793,"potted_red_mushroom":793,"potted_brown_mushroom":793,"potted_dead_bush":793,"potted_cactus":793,"carrots":0,"potatoes":0,"oak_button":0,"spruce_button":0,"birch_button":0,"jungle_button":0,"acacia_button":0,"cherry_button":0,"dark_oak_button":0,"pale_oak_button":0,"mangrove_button":0,"bamboo_button":0,"skeleton_skull":794,"skeleton_wall_skull":[795,795,796,796,797,797,798,798],"wither_skeleton_skull":794,"wither_skeleton_wall_skull":[795,795,796,796,797,797,798,798],"zombie_head":794,"zombie_wall_head":[795,795,796,796,797,797,798,798],"player_head":794,"player_wall_head":[795,795,796,796,797,797,798,798],"creeper_head":794,"creeper_wall_head":[795,795,796,796,797,797,798,798],"dragon_head":794,"dragon_wall_head":[795,795,796,796,797,797,798,798],"piglin_head":799,"piglin_wall_head":[800,800,801,801,802,802,803,803],"anvil":[804,804,805,805],"chipped_anvil":[804,804,805,805],"damaged_anvil":[804,804,805,805],"trapped_chest":[52,52,53,53,54,54,52,52,54,54,53,53,52,52,55,55,56,56,52,52,56,56,55,55],"light_weighted_pressure_plate":0,"heavy_weighted_pressure_plate":0,"comparator":68,"daylight_detector":70,"redstone_block":1,"nether_quartz_ore":1,"hopper":[807,808,809,810,811,807,808,809,810,811],"quartz_block":1,"chiseled_quartz_block":1,"quartz_pillar":1,"quartz_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"activator_rail":0,"dropper":1,"white_terracotta":1,"orange_terracotta":1,"magenta_terracotta":1,"light_blue_terracotta":1,"yellow_terracotta":1,"lime_terracotta":1,"pink_terracotta":1,"gray_terracotta":1,"light_gray_terracotta":1,"cyan_terracotta":1,"purple_terracotta":1,"blue_terracotta":1,"brown_terracotta":1,"green_terracotta":1,"red_terracotta":1,"black_terracotta":1,"white_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"orange_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"magenta_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"light_blue_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"yellow_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"lime_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"pink_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"gray_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"light_gray_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"cyan_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"purple_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"blue_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"brown_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"green_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"red_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"black_stained_glass_pane":[107,108,107,108,109,110,109,110,111,112,111,112,113,114,113,114,115,116,115,116,117,118,117,118,119,120,119,120,121,122,121,122],"acacia_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"cherry_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"dark_oak_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"pale_oak_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"mangrove_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"bamboo_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"bamboo_mosaic_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"slime_block":1,"barrier":1,"light":0,"iron_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,
161,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"prismarine":1,"prismarine_bricks":1,"dark_prismarine":1,"prismarine_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"prismarine_brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"dark_prismarine_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"prismarine_slab":[273,273,71,71,1,1],"prismarine_brick_slab":[273,273,71,71,1,1],"dark_prismarine_slab":[273,273,71,71,1,1],"sea_lantern":1,"hay_block":1,"white_carpet":1068,"orange_carpet":1068,"magenta_carpet":1068,"light_blue_carpet":1068,"yellow_carpet":1068,"lime_carpet":1068,"pink_carpet":1068,"gray_carpet":1068,"light_gray_carpet":1068,"cyan_carpet":1068,"purple_carpet":1068,"blue_carpet":1068,"brown_carpet":1068,"green_carpet":1068,"red_carpet":1068,"black_carpet":1068,"terracotta":1,"coal_block":1,"packed_ice":1,"sunflower":0,"lilac":0,"rose_bush":0,"peony":0,"tall_grass":0,"large_fern":0,"white_banner":0,"orange_banner":0,"magenta_banner":0,"light_blue_banner":0,"yellow_banner":0,"lime_banner":0,"pink_banner":0,"gray_banner":0,"light_gray_banner":0,"cyan_banner":0,"purple_banner":0,"blue_banner":0,"brown_banner":0,"green_banner":0,"red_banner":0,"black_banner":0,"white_wall_banner":0,"orange_wall_banner":0,"magenta_wall_banner":0,"light_blue_wall_banner":0,"yellow_wall_banner":0,"lime_wall_banner":0,"pink_wall_banner":0,"gray_wall_banner":0,"light_gray_wall_banner":0,"cyan_wall_banner":0,"purple_wall_banner":0,"blue_wall_banner":0,"brown_wall_banner":0,"green_wall_banner":0,"red_wall_banner":0,"black_wall_banner":0,"red_sandstone":1,"chiseled_red_sandstone":1,"cut_red_sandstone":1,"red_sandstone_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"oak_slab":[273,273,71,71,1,1],"spruce_slab":[273,273,71,71,1,1],"birch_slab":[273,273,71,71,1,1],"jungle_slab":[273,273,71,71,1,1],"acacia_slab":[273,273,71,71,1,1],"cherry_slab":[273,273,71,71,1,1],"dark_oak_slab":[273,273,71,71,1,1],"pale_oak_slab":[273,273,71,71,1,1],"mangrove_slab":[273,273,71,71,1,1],"bamboo_slab":[273,273,71,71,1,1],"bamboo_mosaic_slab":[273,273,71,71,1,1],"stone_slab":[273,273,71,71,1,1],"smooth_stone_slab":[273,273,71,71,1,1],"sandstone_slab":[273,273,71,71,1,1],"cut_sandstone_slab":[273,273,71,71,1,1],"petrified_oak_slab":[273,273,71,71,1,1],"cobblestone_slab":[273,273,71,71,1,1],"brick_slab":[273,273,71,71,1,1],"stone_brick_slab":[273,273,71,71,1,1],"mud_brick_slab":[273,273,71,71,1,1],"nether_brick_slab":[273,273,71,71,1,1],"quartz_slab":[273,273,71,71,1,1],"red_sandstone_slab":[273,273,71,71,1,1],"cut_red_sandstone_slab":[273,273,71,71,1,1],"purpur_slab":[273,273,71,71,1,1],"smooth_stone":1,"smooth_sandstone":1,"smooth_quartz":1,"smooth_red_sandstone":1,"spruce_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"birch_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"jungle_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"acacia_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"cherry_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"dark_oak_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"pale_oak_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"mangrove_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"bamboo_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"spruce_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"birch_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"jungle_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"acacia_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"cherry_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"dark_oak_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"pale_oak_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"mangrove_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"bamboo_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"spruce_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"birch_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"jungle_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"acacia_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"cherry_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"dark_oak_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"pale_oak_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"mangrove_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"bamboo_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"end_rod":[1213,1214,1213,1214,1215,1215],"chorus_plant":[1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233,1234,1235,1236,1237,1238,1239,1240,1241,1242,1243,1244,1245,1246,1247,1248,1249,1250,1251,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1275,1276,1277,1278,1279],"chorus_flower":1,"purpur_block":1,"purpur_pillar":1,"purpur_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"end_stone_bricks":1,"torchflower_crop":0,"pitcher_crop":[0,1280,0,1281,0,1281,0,1281,0,1281],"pitcher_plant":0,"beetroots":0,"dirt_path":57,"end_gateway":0,"repeating_command_block":1,"chain_command_block":1,"frosted_ice":1,"magma_block":1,"nether_wart_block":1,"red_nether_bricks":1,"bone_block":1,"structure_void":0,"observer":1,"shulker_box":1,"white_shulker_box":1,"orange_shulker_box":1,"magenta_shulker_box":1,"light_blue_shulker_box":1,"yellow_shulker_box":1,"lime_shulker_box":1,"pink_shulker_box":1,"gray_shulker_box":1,"light_gray_shulker_box":1,"cyan_shulker_box":1,"purple_shulker_box":1,"blue_shulker_box":1,"brown_shulker_box":1,"green_shulker_box":1,"red_shulker_box":1,"black_shulker_box":1,"white_glazed_terracotta":1,"orange_glazed_terracotta":1,"magenta_glazed_terracotta":1,"light_blue_glazed_terracotta":1,"yellow_glazed_terracotta":1,"lime_glazed_terracotta":1,"pink_glazed_terracotta":1,"gray_glazed_terracotta":1,"light_gray_glazed_terracotta":1,"cyan_glazed_terracotta":1,"purple_glazed_terracotta":1,"blue_glazed_terracotta":1,"brown_glazed_terracotta":1,"green_glazed_terracotta":1,"red_glazed_terracotta":1,"black_glazed_terracotta":1,"white_concrete":1,"orange_concrete":1,"magenta_concrete":1,"light_blue_concrete":1,"yellow_concrete":1,"lime_concrete":1,"pink_concrete":1,"gray_concrete":1,"light_gray_concrete":1,"cyan_concrete":1,"purple_concrete":1,"blue_concrete":1,"brown_concrete":1,"green_concrete":1,"red_concrete":1,"black_concrete":1,"white_concrete_powder":1,"orange_concrete_powder":1,"magenta_concrete_powder":1,"light_blue_concrete_powder":1,"yellow_concrete_powder":1,"lime_concrete_powder":1,"pink_concrete_powder":1,"gray_concrete_powder":1,"light_gray_concrete_powder":1,"cyan_concrete_powder":1,"purple_concrete_powder":1,"blue_concrete_powder":1,"brown_concrete_powder":1,"green_concrete_powder":1,"red_concrete_powder":1,"black_concrete_powder":1,"kelp":0,"kelp_plant":0,"dried_kelp_block":1,"turtle_egg":[1283,1283,1283,1284,1284,1284,1284,1284,1284,1284,1284,1284],"sniffer_egg":1285,"dried_ghast":1286,"dead_tube_coral_block":1,"dead_brain_coral_block":1,"dead_bubble_coral_block":1,"dead_fire_coral_block":1,"dead_horn_coral_block":1,"tube_coral_block":1,"brain_coral_block":1,"bubble_coral_block":1,"fire_coral_block":1,"horn_coral_block":1,"dead_tube_coral":0,"dead_brain_coral":0,"dead_bubble_coral":0,"dead_fire_coral":0,"dead_horn_coral":0,"tube_coral":0,"brain_coral":0,"bubble_coral":0,"fire_coral":0,"horn_coral":0,"dead_tube_coral_fan":0,"dead_brain_coral_fan":0,"dead_bubble_coral_fan":0,"dead_fire_coral_fan":0,"dead_horn_coral_fan":0,"tube_coral_fan":0,"brain_coral_fan":0,"bubble_coral_fan":0,"fire_coral_fan":0,"horn_coral_fan":0,"dead_tube_coral_wall_fan":0,"dead_brain_coral_wall_fan":0,"dead_bubble_coral_wall_fan":0,"dead_fire_coral_wall_fan":0,"dead_horn_coral_wall_fan":0,"tube_coral_wall_fan":0,"brain_coral_wall_fan":0,"bubble_coral_wall_fan":0,"fire_coral_wall_fan":0,"horn_coral_wall_fan":0,"sea_pickle":[1287,1287,1288,1288,1289,1289,1290,1290],"blue_ice":1,"conduit":1291,"bamboo_sapling":0,"bamboo":[1292,1292,1292,1292,1292,1292,1292,1292,1292,1292,1292,1292],"potted_bamboo":793,"void_air":0,"cave_air":0,"bubble_column":0,"polished_granite_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"smooth_red_sandstone_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"mossy_stone_brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"polished_diorite_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"mossy_cobblestone_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"end_stone_brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"stone_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"smooth_sandstone_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"smooth_quartz_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"granite_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"andesite_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"red_nether_brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"polished_andesite_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"diorite_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"polished_granite_slab":[273,273,71,71,1,1],"smooth_red_sandstone_slab":[273,273,71,71,1,1],"mossy_stone_brick_slab":[273,273,71,71,1,1],"polished_diorite_slab":[273,273,71,71,1,1],"mossy_cobblestone_slab":[273,273,71,71,1,1],"end_stone_brick_slab":[273,273,71,71,1,1],"smooth_sandstone_slab":[273,273,71,71,1,1],"smooth_quartz_slab":[273,273,71,71,1,1],"granite_slab":[273,273,71,71,1,1],"andesite_slab":[273,273,71,71,1,1],"red_nether_brick_slab":[273,273,71,71,1,1],"polished_andesite_slab":[273,273,71,71,1,1],"diorite_slab":[273,273,71,71,1,1],"brick_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,3
153,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"prismarine_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"red_sandstone_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"mossy_stone_brick_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"granite_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"stone_brick_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"mud_brick_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"nether_brick_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"andesite_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"red_nether_brick_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"sandstone_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"end_stone_brick_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"diorite_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"scaffolding":3397,"loom":1,"barrel":1,"smoker":1,"blast_furnace":1,"cartography_table":1,"fletching_table":1,"grindstone":[3398,3398,3400,3400,3402,3
1403,3404,3405,3406,3406,3408,3408],"lectern":3410,"smithing_table":1,"stonecutter":3411,"bell":[3412,3412,3412,3412,3413,3413,3413,3413,3414,3414,3414,3414,3414,3414,3414,3414,3415,3415,3416,3416,3417,3417,3418,3418,3419,3419,3419,3419,3420,3420,3420,3420],"lantern":[3421,3421,3422,3422],"soul_lantern":[3421,3421,3422,3422],"copper_lantern":[3421,3421,3422,3422],"exposed_copper_lantern":[3421,3421,3422,3422],"weathered_copper_lantern":[3421,3421,3422,3422],"oxidized_copper_lantern":[3421,3421,3422,3422],"waxed_copper_lantern":[3421,3421,3422,3422],"waxed_exposed_copper_lantern":[3421,3421,3422,3422],"waxed_weathered_copper_lantern":[3421,3421,3422,3422],"waxed_oxidized_copper_lantern":[3421,3421,3422,3422],"campfire":3423,"soul_campfire":3423,"sweet_berry_bush":0,"warped_stem":1,"stripped_warped_stem":1,"warped_hyphae":1,"stripped_warped_hyphae":1,"warped_nylium":1,"warped_fungus":0,"warped_wart_block":1,"warped_roots":0,"nether_sprouts":0,"crimson_stem":1,"stripped_crimson_stem":1,"crimson_hyphae":1,"stripped_crimson_hyphae":1,"crimson_nylium":1,"crimson_fungus":0,"shroomlight":1,"weeping_vines":0,"weeping_vines_plant":0,"twisting_vines":0,"twisting_vines_plant":0,"crimson_roots":0,"crimson_planks":1,"warped_planks":1,"crimson_slab":[273,273,71,71,1,1],"warped_slab":[273,273,71,71,1,1],"crimson_pressure_plate":0,"warped_pressure_plate":0,"crimson_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"warped_fence":[76,77,76,77,78,79,78,79,80,81,80,81,82,83,82,83,84,85,84,85,86,87,86,87,88,89,88,89,90,91,90,91],"crimson_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"warped_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"crimson_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"warped_fence_gate":[0,0,82,82,0,0,82,82,0,0,82,82,0,0,82,82,0,0,85,85,0,0,85,85,0,0,85,85,0,0,85,85],"crimson_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"warped_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"crimson_button":0,"warped_button":0,"crimson_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"warped_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"crimson_sign":0,"warped_sign":0,"crimson_wall_sign":0,"warped_wall_sign":0,"structure_block":1,"jigsaw":1,"test_block":1,"test_instance_block":1,"composter":3456,"target":1,"bee_nest":1,"beehive":1,"honey_block":75,"honeycomb_block":1,"netherite_block":1,"ancient_debris":1,"crying_obsidian":1,"respawn_anchor":1,"potted_crimson_fungus":793,"potted_warped_fungus":793,"potted_crimson_roots":793,"potted_warped_roots":793,"lodestone":1,"blackstone":1,"blackstone_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"blackstone_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"blackstone_slab":[273,273,71,71,1,1],"polished_blackstone":1,"polished_blackstone_bricks":1,"cracked_polished_blackstone_bricks":1,"chiseled_polished_blackstone":1,"polished_blackstone_brick_slab":[273,273,71,71,1,1],"polished_blackstone_brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"polished_blackstone_brick_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"gilded_blackstone":1,"polished_blackstone_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"polished_blackstone_slab":[273,273,71,71,1,1],"polished_blackstone_pressure_plate":0,"polished_blackstone_button":0,"polished_blackstone_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"chiseled_nether_bricks":1,"cracked_
1nether_bricks":1,"quartz_bricks":1,"candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"white_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"orange_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"magenta_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"light_blue_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"yellow_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"lime_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"pink_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"gray_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"light_gray_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"cyan_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"purple_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"blue_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"brown_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"green_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"red_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"black_candle":[3941,3941,3941,3941,3942,3942,3942,3942,3943,3943,3943,3943,3944,3944,3944,3944],"candle_cake":3945,"white_candle_cake":3945,"orange_candle_cake":3945,"magenta_candle_cake":3945,"light_blue_candle_cake":3945,"yellow_candle_cake":3945,"lime_candle_cake":3945,"pink_candle_cake":3945,"gray_candle_cake":3945,"light_gray_candle_cake":3945,"cyan_candle_cake":3945,"purple_candle_cake":3945,"blue_candle_cake":3945,"brown_candle_cake":3945,"green_candle_cake":3945,"red_candle_cake":3945,"black_candle_cake":3945,"amethyst_block":1,"budding_amethyst":1,"amethyst_cluster":[3946,3946,3947,3947,3948,3948,3949,3949,3950,3950,3951,3951],"large_amethyst_bud":[3952,3952,3953,3953,3954,3954,3955,3955,3956,3956,3957,3957],"medium_amethyst_bud":[3958,3958,3959,3959,3960,3960,3961,3961,3962,3962,3963,3963],"small_amethyst_bud":[3964,3964,3965,3965,3966,3966,3967,3967,3968,3968,3969,3969],"tuff":1,"tuff_slab":[273,273,71,71,1,1],"tuff_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"tuff_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"polished_tuff":1,"polished_tuff_slab":[273,273,71,71,1,1],"polished_tuff_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"polished_tuff_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"chiseled_tuff":1,"tuff_bricks":1,"tuff_brick_slab":[273,273,71,71,1,1],"tuff_brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"tuff_brick_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"chiseled_tuff_bricks":1,"calcite":1,"tinted_glass":1,"powder_snow":0,"sculk_sensor":71,"calibrated_sculk_sensor":71,"sculk":1,"sculk_vein":0,"sculk_catalyst":1,"sculk_shrieker":71,"copper_block":1,"exposed_copper":1,"weathered_copper":1,"oxidized_copper":1,"copper_ore":1,"deepslate_copper_ore":1,"oxidized_cut_copper":1,"weathered_cut_copper":1,"exposed_cut_copper":1,"cut_copper":1,"oxidized_chiseled_copper":1,"weathered_chiseled_copper":1,"exposed_chiseled_copper":1,"chiseled_copper":1,"waxed_oxidized_chiseled_copper":1,"waxed_weathered_chiseled_copper":1,"waxed_exposed_chiseled_copper":1,"waxed_chiseled_copper":1,"oxidized_cut_copper_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"weathered_cut_copper_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"exposed_cut_copper_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"cut_copper_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"oxidized_cut_copper_slab":[273,273,71,71,1,1],"weathered_cut_copper_slab":[273,273,71,71,1,1],"exposed_cut_copper_slab":[273,273,71,71,1,1],"cut_copper_slab":[273,273,71,71,1,1],"waxed_copper_block":1,"waxed_weathered_copper":1,"waxed_exposed_copper":1,"waxed_oxidized_copper":1,"waxed_oxidized_cut_copper":1,"waxed_weathered_cut_copper":1,"waxed_exposed_cut_copper":1,"waxed_cut_copper":1,"waxed_oxidized_cut_copper_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"waxed_weathered_cut_copper_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"waxed_exposed_cut_copper_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"waxed_cut_copper_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"waxed_oxidized_cut_copper_slab":[273,273,71,71,1,1],"waxed_weathered_cut_copper_slab":[273,273,71,71,1,1],"waxed_exposed_cut_copper_slab":[273,273,71,71,1,1],"waxed_cut_copper_slab":[273,273,71,71,1,1],"copper_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"exposed_copper_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"oxidized_copper_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"weathered_copper_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"waxed_copper_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"waxed_exposed_copper_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"waxed_oxidized_copper_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"waxed_weathered_copper_door":[58,58,59,59,60,60,59,59,58,58,59,59,60,60,59,59,60,60,61,61,58,58,61,61,60,60,61,61,58,58,61,61,59,59,60,60,61,61,60,60,59,59,60,60,61,61,60,60,61,61,58,58,59,59,58,58,61,61,58,58,59,59,58,58],"copper_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,
161,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"exposed_copper_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"oxidized_copper_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"weathered_copper_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"waxed_copper_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"waxed_exposed_copper_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"waxed_oxidized_copper_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"waxed_weathered_copper_trapdoor":[59,59,59,59,102,102,102,102,59,59,59,59,103,103,103,103,61,61,61,61,102,102,102,102,61,61,61,61,103,103,103,103,60,60,60,60,102,102,102,102,60,60,60,60,103,103,103,103,58,58,58,58,102,102,102,102,58,58,58,58,103,103,103,103],"copper_grate":1,"exposed_copper_grate":1,"weathered_copper_grate":1,"oxidized_copper_grate":1,"waxed_copper_grate":1,"waxed_exposed_copper_grate":1,"waxed_weathered_copper_grate":1,"waxed_oxidized_copper_grate":1,"copper_bulb":1,"exposed_copper_bulb":1,"weathered_copper_bulb":1,"oxidized_copper_bulb":1,"waxed_copper_bulb":1,"waxed_exposed_copper_bulb":1,"waxed_weathered_copper_bulb":1,"waxed_oxidized_copper_bulb":1,"copper_chest":[52,52,53,53,54,54,52,52,54,54,53,53,52,52,55,55,56,56,52,52,56,56,55,55],"exposed_copper_chest":[52,52,53,53,54,54,52,52,54,54,53,53,52,52,55,55,56,56,52,52,56,56,55,55],"weathered_copper_chest":[52,52,53,53,54,54,52,52,54,54,53,53,52,52,55,55,56,56,52,52,56,56,55,55],"oxidized_copper_chest":[52,52,53,53,54,54,52,52,54,54,53,53,52,52,55,55,56,56,52,52,56,56,55,55],"waxed_copper_chest":[52,52,53,53,54,54,52,52,54,54,53,53,52,52,55,55,56,56,52,52,56,56,55,55],"waxed_exposed_copper_chest":[52,52,53,53,54,54,52,52,54,54,53,53,52,52,55,55,56,56,52,52,56,56,55,55],"waxed_weathered_copper_chest":[52,52,53,53,54,54,52,52,54,54,53,53,52,52,55,55,56,56,52,52,56,56,55,55],"waxed_oxidized_copper_chest":[52,52,53,53,54,54,52,52,54,54,53,53,52,52,55,55,56,56,52,52,56,56,55,55],"copper_golem_statue":4455,"exposed_copper_golem_statue":4455,"weathered_copper_golem_statue":4455,"oxidized_copper_golem_statue":4455,"waxed_copper_golem_statue":4455,"waxed_exposed_copper_golem_statue":4455,"waxed_weathered_copper_golem_statue":4455,"waxed_oxidized_copper_golem_statue":4455,"lightning_rod":[1213,1213,1213,1213,1214,1214,1214,1214,1213,1213,1213,1213,1214,1214,1214,1214,1215,1215,1215,1215,1215,1215,1215,1215],"exposed_lightning_rod":[1213,1213,1213,1213,1214,1214,1214,1214,1213,1213,1213,1213,1214,1214,1214,1214,1215,1215,1215,1215,1215,1215,1215,1215],"weathered_lightning_rod":[1213,1213,1213,1213,1214,1214,1214,1214,1213,1213,1213,1213,1214,1214,1214,1214,1215,1215,1215,1215,1215,1215,1215,1215],"oxidized_lightning_rod":[1213,1213,1213,1213,1214,1214,1214,1214,1213,1213,1213,1213,1214,1214,1214,1214,1215,1215,1215,1215,1215,1215,1215,1215],"waxed_lightning_rod":[1213,1213,1213,1213,1214,1214,1214,1214,1213,1213,1213,1213,1214,1214,1214,1214,1215,1215,1215,1215,1215,1215,1215,1215],"waxed_exposed_lightning_rod":[1213,1213,1213,1213,1214,1214,1214,1214,1213,1213,1213,1213,1214,1214,1214,1214,1215,1215,1215,1215,1215,1215,1215,1215],"waxed_weathered_lightning_rod":[1213,1213,1213,1213,1214,1214,1214,1214,1213,1213,1213,1213,1214,1214,1214,1214,1215,1215,1215,1215,1215,1215,1215,1215],"waxed_oxidized_lightning_rod":[1213,1213,1213,1213,1214,1214,1214,1214,1213,1213,1213,1213,1214,1214,1214,1214,1215,1215,1215,1215,1215,1215,1215,1215],"pointed_dripstone":[4456,4456,4456,4456,4460,4460,4462,4462,4464,4464,4464,4464,4468,4468,4468,4468,4472,4472,4472,4472],"dripstone_block":1,"cave_vines":0,"cave_vines_plant":0,"spore_blossom":0,"azalea":4476,"flowering_azalea":4476,"moss_carpet":1068,"pink_petals":0,"wildflowers":0,"leaf_litter":0,"moss_block":1,"big_dripleaf":[4477,4477,4477,4477,4479,4479,0,0,4477,4477,4477,4477,4479,4479,0,0,4477,4477,4477,4477,4479,4479,0,0,4477,4477,4477,4477,4479,4479,0,0],"big_dripleaf_stem":0,"small_dripleaf":0,"hanging_roots":0,"rooted_dirt":1,"mud":74,"deepslate":1,"cobbled_deepslate":1,"cobbled_deepslate_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"cobbled_deepslate_slab":[273,273,71,71,1,1],"cobbled_deepslate_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"polished_deepslate":1,"polished_deepslate_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"polished_deepslate_slab":[273,273,71,71,1,1],"polished_deepslate_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"deepslate_tiles":1,"deepslate_tile_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"deepslate_tile_slab":[273,273,71,71,1,1],"deepslate_tile_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"deepslate_bricks":1,"deepslate_brick_stairs":[28,28,29,29,30,30,31,31,32,32,33,33,34,34,35,35,36,36,37,37,38,38,39,39,40,40,41,41,42,42,43,43,44,44,45,45,46,46,47,47,48,48,40,40,29,29,42,42,31,31,49,49,45,45,34,34,47,47,36,36,50,50,30,30,39,39,32,32,41,41,51,51,35,35,44,44,37,37,46,46],"deepslate_brick_slab":[273,273,71,71,1,1],"deepslate_brick_wall":[275,276,276,275,276,276,0,278,278,0,278,278,280,281,281,280,281,281,283,284,284,283,284,284,280,281,281,280,281,281,283,284,284,283,284,284,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,292,293,293,292,293,293,295,296,296,295,296,296,298,299,299,298,299,299,301,302,302,301,302,302,298,299,299,298,299,299,301,302,302,301,302,302,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,328,329,329,328,329,329,331,332,332,331,332,332,334,335,335,334,335,335,337,338,338,337,338,338,334,335,335,334,335,335,337,338,338,337,338,338,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356,346,347,347,346,347,347,349,350,350,349,350,350,352,353,353,352,353,353,355,356,356,355,356,356,352,353,353,352,353,353,355,356,356,355,356,356],"chiseled_deepslate":1,"cracked_deepslate_bricks":1,"cracked_deepslate_tiles":1,"infested_deepslate":1,"smooth_basalt":1,"raw_iron_block":1,"raw_copper_block":1,"raw_gold_block":1,"potted_azalea_bush":793,"potted_flowering_azalea_bush":793,"ochre_froglight":1,"verdant_froglight":1,"pearlescent_froglight":1,"frogspawn":0,"reinforced_deepslate":1,"decorated_pot":457,"crafter":1,"trial_spawner":1,"vault":1,"heavy_core":794,"pale_moss_block":1,"pale_moss_carpet":[1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,1068,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"pale_hanging_moss":0,"open_eyeblossom":0,"closed_eyeblossom":0,"potted_open_eyeblossom":793,"potted_closed_eyeblossom":793,"firefly_bush":0},"shapes":{"0":[],"1":[[0,0,0,1,1,1]],"2":[[0,0,0,0.1875,0.5625,0.1875],[0.8125,0,0,1,0.5625,0.1875],[0,0.1875,0.1875,1,0.5625,1],[0.1875,0.1875,0,0.8125,0.5625,0.1875]],"3":[[0,0,0.8125,0.1875,0.5625,1],[0.8125,0,0.8125,1,0.5625,1],[0,0.1875,0,1,0.5625,0.8125],[0.1875,0.1875,0.8125,0.8125,0.5625,1]],"4":[[0,0,0,0.1875,0.5625,0.1875],[0,0,0.8125,0.1875,0.5625,1],[0,0.1875,0.1875,1,0.5625,0.8125],[0.1875,0.1875,0,1,0.5625,0.1875],[0.1875,0.1875,0.8125,1,0.5625,1]],"5":[[0.8125,0,0,1,0.5625,0.1875],[0.8125,0,0.8125,1,0.5625,1],[0,0.1875,0,0.8125,0.5625,1],[0.8125,0.1875,0.1875,1,0.5625,0.8125]],"6":[[0,0,0.25,1,1,1]],"7":[[0,0,0,0.75,1,1]],"8":[[0,0,0,1,1,0.75]],"9":[[0.25,0,0,1,1,1]],"10":[[0,0,0,1,0.75,1]],"11":[[0,0.25,0,1,1,1]],"12":[[0,0,0,1,1,0.25],[0.375,0.375,0.25,0.625,0.625,1]],"13":[[0,0,0,1,1,0.25],[0.375,0.375,0.25,0.625,0.625,1.25]],"14":[[0.75,0,0,1,1,1],[0,0.375,0.375,0.75,0.625,0.625]],"15":[[0.75,0,0,1,1,1],[-0.25,0.375,0.375,0.75,0.625,0.625]],"16":[[0,0,0.75,1,1,1],[0.375,0.375,0,0.625,0.625,0.75]],"17":[[0,0,0.75,1,1,1],[0.375,0.375,-0.25,0.625,0.625,0.75]],"18":[[0,0,0,0.25,1,1],[0.25,0.375,0.375,1,0.625,0.625]],"19":[[0,0,0,0.25,1,1],[0.25,0.375,0.375,1.25,0.625,0.625]],"20":[[0.375,0,0.375,0.625,1,0.625],[0,0.75,0,0.375,1,1],[0.375,0.75,0,1,1,0.375],[0.375,0.75,0.625,1,1,1],[0.625,0.75,0.375,1,1,0.625]],"21":[[0.375,-0.25,0.375,0.625,1,0.625],[0,0.75,0,0.375,1,1],[0.375,0.75,0,1,1,0.375],[0.375,0.75,0.625,1,1,1],[0.625,0.75,0.375,1,1,0.625]],"22":[[0,0,0,1,0.25,1],[0.375,0.25,0.375,0.625,1,0.625]],"23":[[0,0,0,1,0.25,1],[0.375,0.25,0.375,0.625,1.25,
10.625]],"24":[[0,0,0.6875,1,0.25,1],[0,0.25,0.8125,1,1,1],[0,0.75,0.6875,1,1,0.8125]],"25":[[0,0,0,1,0.25,0.3125],[0,0.25,0,1,1,0.1875],[0,0.75,0.1875,1,1,0.3125]],"26":[[0.6875,0,0,1,0.25,1],[0.8125,0.25,0,1,1,1],[0.6875,0.75,0,0.8125,1,1]],"27":[[0,0,0,0.3125,0.25,1],[0,0.25,0,0.1875,1,1],[0.1875,0.75,0,0.3125,1,1]],"28":[[0,0,0,1,1,0.5],[0,0.5,0.5,1,1,1]],"29":[[0,0,0,0.5,1,1],[0.5,0,0,1,1,0.5],[0.5,0.5,0.5,1,1,1]],"30":[[0,0,0,1,1,0.5],[0.5,0,0.5,1,1,1],[0,0.5,0.5,0.5,1,1]],"31":[[0,0,0,0.5,1,0.5],[0,0.5,0.5,1,1,1],[0.5,0.5,0,1,1,0.5]],"32":[[0.5,0,0,1,1,0.5],[0,0.5,0,0.5,1,1],[0.5,0.5,0.5,1,1,1]],"33":[[0,0,0,1,0.5,1],[0,0.5,0,1,1,0.5]],"34":[[0,0,0,1,0.5,1],[0,0.5,0,0.5,1,1],[0.5,0.5,0,1,1,0.5]],"35":[[0,0,0,1,0.5,1],[0,0.5,0,1,1,0.5],[0.5,0.5,0.5,1,1,1]],"36":[[0,0,0,1,0.5,1],[0,0.5,0,0.5,1,0.5]],"37":[[0,0,0,1,0.5,1],[0.5,0.5,0,1,1,0.5]],"38":[[0,0,0.5,1,1,1],[0,0.5,0,1,1,0.5]],"39":[[0,0,0.5,1,1,1],[0.5,0,0,1,1,0.5],[0,0.5,0,0.5,1,0.5]],"40":[[0,0,0,0.5,1,1],[0.5,0,0.5,1,1,1],[0.5,0.5,0,1,1,0.5]],"41":[[0.5,0,0.5,1,1,1],[0,0.5,0,0.5,1,1],[0.5,0.5,0,1,1,0.5]],"42":[[0,0,0.5,0.5,1,1],[0,0.5,0,1,1,0.5],[0.5,0.5,0.5,1,1,1]],"43":[[0,0,0,1,0.5,1],[0,0.5,0.5,1,1,1]],"44":[[0,0,0,1,0.5,1],[0,0.5,0.5,1,1,1],[0.5,0.5,0,1,1,0.5]],"45":[[0,0,0,1,0.5,1],[0,0.5,0,0.5,1,1],[0.5,0.5,0.5,1,1,1]],"46":[[0,0,0,1,0.5,1],[0.5,0.5,0.5,1,1,1]],"47":[[0,0,0,1,0.5,1],[0,0.5,0.5,0.5,1,1]],"48":[[0,0,0,0.5,1,1],[0.5,0.5,0,1,1,1]],"49":[[0,0,0,1,0.5,1],[0,0.5,0,0.5,1,1]],"50":[[0.5,0,0,1,1,1],[0,0.5,0,0.5,1,1]],"51":[[0,0,0,1,0.5,1],[0.5,0.5,0,1,1,1]],"52":[[0.0625,0,0.0625,0.9375,0.875,0.9375]],"53":[[0.0625,0,0.0625,1,0.875,0.9375]],"54":[[0,0,0.0625,0.9375,0.875,0.9375]],"55":[[0.0625,0,0,0.9375,0.875,0.9375]],"56":[[0.0625,0,0.0625,0.9375,0.875,1]],"57":[[0,0,0,1,0.9375,1]],"58":[[0,0,0,0.1875,1,1]],"59":[[0,0,0.8125,1,1,1]],"60":[[0.8125,0,0,1,1,1]],"61":[[0,0,0,1,1,0.1875]],"66":[[0,0.875,0.375,1,1,0.625]],"67":[[0.375,0.875,0,0.625,1,1]],"68":[[0,0,0,1,0.125,1]],"69":[[0,0,0,1,0.25,1]],"70":[[0,0,0,1,0.375,1]],"71":[[0,0,0,1,0.5,1]],"72":[[0,0,0,1,0.625,1]],"74":[[0,0,0,1,0.875,1]],"75":[[0.0625,0,0.0625,0.9375,0.9375,0.9375]],"76":[[0,0,0.375,1,1.5,0.625],[0.375,0,0,0.625,1.5,0.375],[0.375,0,0.625,0.625,1.5,1]],"77":[[0.375,0,0,0.625,1.5,1],[0.625,0,0.375,1,1.5,0.625]],"78":[[0,0,0.375,1,1.5,0.625],[0.375,0,0,0.625,1.5,0.375]],"79":[[0.375,0,0,0.625,1.5,0.625],[0.625,0,0.375,1,1.5,0.625]],"80":[[0,0,0.375,1,1.5,0.625],[0.375,0,0.625,0.625,1.5,1]],"81":[[0.375,0,0.375,0.625,1.5,1],[0.625,0,0.375,1,1.5,0.625]],"82":[[0,0,0.375,1,1.5,0.625]],"83":[[0.375,0,0.375,1,1.5,0.625]],"84":[[0,0,0.375,0.625,1.5,0.625],[0.375,0,0,0.625,1.5,0.375],[0.375,0,0.625,0.625,1.5,1]],"85":[[0.375,0,0,0.625,1.5,1]],"86":[[0,0,0.375,0.625,1.5,0.625],[0.375,0,0,0.625,1.5,0.375]],"87":[[0.375,0,0,0.625,1.5,0.625]],"88":[[0,0,0.375,0.625,1.5,0.625],[0.375,0,0.625,0.625,1.5,1]],"89":[[0.375,0,0.375,0.625,1.5,1]],"90":[[0,0,0.375,0.625,1.5,0.625]],"91":[[0.375,0,0.375,0.625,1.5,0.625]],"93":[[0.0625,0,0.0625,0.9375,0.5,0.9375]],"94":[[0.1875,0,0.0625,0.9375,0.5,0.9375]],"95":[[0.3125,0,0.0625,0.9375,0.5,0.9375]],"96":[[0.4375,0,0.0625,0.9375,0.5,0.9375]],"97":[[0.5625,0,0.0625,0.9375,0.5,0.9375]],"98":[[0.6875,0,0.0625,0.9375,0.5,0.9375]],"99":[[0.8125,0,0.0625,0.9375,0.5,0.9375]],"102":[[0,0.8125,0,1,1,1]],"103":[[0,0,0,1,0.1875,1]],"107":[[0,0,0.4375,1,1,0.5625],[0.4375,0,0,0.5625,1,0.4375],[0.4375,0,0.5625,0.5625,1,1]],"108":[[0.4375,0,0,0.5625,1,1],[0.5625,0,0.4375,1,1,0.5625]],"109":[[0,0,0.4375,1,1,0.5625],[0.4375,0,0,0.5625,1,0.4375]],"110":[[0.4375,0,0,0.5625,1,0.5625],[0.5625,0,0.4375,1,1,0.5625]],"111":[[0,0,0.4375,1,1,0.5625],[0.4375,0,0.5625,0.5625,1,1]],"112":[[0.4375,0,0.4375,0.5625,1,1],[0.5625,0,0.4375,1,1,0.5625]],"113":[[0,0,0.4375,1,1,0.5625]],"114":[[0.4375,0,0.4375,1,1,0.5625]],"115":[[0,0,0.4375,0.5625,1,0.5625],[0.4375,0,0,0.5625,1,0.4375],[0.4375,0,0.5625,0.5625,1,1]],"116":[[0.4375,0,0,0.5625,1,1]],"117":[[0,0,0.4375,0.5625,1,0.5625],[0.4375,0,0,0.5625,1,0.4375]],"118":[[0.4375,0,0,0.5625,1,0.5625]],"119":[[0,0,0.4375,0.5625,1,0.5625],[0.4375,0,0.5625,0.5625,1,1]],"120":[[0.4375,0,0.4375,0.5625,1,1]],"121":[[0,0,0.4375,0.5625,1,0.5625]],"122":[[0.4375,0,0.4375,0.5625,1,0.5625]],"251":[[0,0.40625,0.40625,1,0.59375,0.59375]],"252":[[0.40625,0,0.40625,0.59375,1,0.59375]],"253":[[0.40625,0.40625,0,0.59375,0.59375,1]],"272":[[0.0625,0,0.0625,0.9375,0.09375,0.9375]],"273":[[0,0.5,0,1,1,1]],"275":[[0.25,0,0.25,0.75,1.5,0.75]],"276":[[0,0,0.3125,0.75,1.5,0.6875],[0.25,0,0.25,0.75,1.5,0.3125],[0.25,0,0.6875,0.75,1.5,0.75]],"278":[[0,0,0.3125,0.6875,1.5,0.6875]],"280":[[0.25,0,0.25,0.75,1.5,0.75],[0.3125,0,0.75,0.6875,1.5,1]],"281":[[0,0,0.3125,0.75,1.5,0.6875],[0.25,0,0.25,0.75,1.5,0.3125],[0.25,0,0.6875,0.75,1.5,0.75],[0.3125,0,0.75,0.6875,1.5,1]],"283":[[0.3125,0,0.3125,0.6875,1.5,1]],"284":[[0,0,0.3125,0.6875,1.5,0.6875],[0.3125,0,0.6875,0.6875,1.5,1]],"292":[[0.25,0,0.25,0.75,1.5,0.75],[0.3125,0,0,0.6875,1.5,0.25]],"293":[[0,0,0.3125,0.75,1.5,0.6875],[0.25,0,0.25,0.75,1.5,0.3125],[0.25,0,0.6875,0.75,1.5,0.75],[0.3125,0,0,0.6875,1.5,0.25]],"295":[[0.3125,0,0,0.6875,1.5,0.6875]],"296":[[0,0,0.3125,0.6875,1.5,0.6875],[0.3125,0,0,0.6875,1.5,0.3125]],"298":[[0.25,0,0.25,0.75,1.5,0.75],[0.3125,0,0,0.6875,1.5,0.25],[0.3125,0,0.75,0.6875,1.5,1]],"299":[[0,0,0.3125,0.75,1.5,0.6875],[0.25,0,0.25,0.75,1.5,0.3125],[0.25,0,0.6875,0.75,1.5,0.75],[0.3125,0,0,0.6875,1.5,0.25],[0.3125,0,0.75,0.6875,1.5,1]],"301":[[0.3125,0,0,0.6875,1.5,1]],"302":[[0,0,0.3125,0.6875,1.5,0.6875],[0.3125,0,0,0.6875,1.5,0.3125],[0.3125,0,0.6875,0.6875,1.5,1]],"328":[[0.25,0,0.25,0.75,1.5,0.75],[0.75,0,0.3125,1,1.5,0.6875]],"329":[[0,0,0.3125,1,1.5,0.6875],[0.25,0,0.25,0.75,1.5,0.3125],[0.25,0,0.6875,0.75,1.5,0.75]],"331":[[0.3125,0,0.3125,1,1.5,0.6875]],"332":[[0,0,0.3125,1,1.5,0.6875]],"334":[[0.25,0,0.25,0.75,1.5,0.75],[0.3125,0,0.75,0.6875,1.5,1],[0.75,0,0.3125,1,1.5,0.6875]],"335":[[0,0,0.3125,1,1.5,0.6875],[0.25,0,0.25,0.75,1.5,0.3125],[0.25,0,0.6875,0.75,1.5,0.75],[0.3125,0,0.75,0.6875,1.5,1]],"337":[[0.3125,0,0.3125,0.6875,1.5,1],[0.6875,0,0.3125,1,1.5,0.6875]],"338":[[0,0,0.3125,1,1.5,0.6875],[0.3125,0,0.6875,0.6875,1.5,1]],"346":[[0.25,0,0.25,0.75,1.5,0.75],[0.3125,0,0,0.6875,1.5,0.25],[0.75,0,0.3125,1,1.5,0.6875]],"347":[[0,0,0.3125,1,1.5,0.6875],[0.25,0,0.25,0.75,1.5,0.3125],[0.25,0,0.6875,0.75,1.5,0.75],[0.3125,0,0,0.6875,1.5,0.25]],"349":[[0.3125,0,0,0.6875,1.5,0.6875],[0.6875,0,0.3125,1,1.5,0.6875]],"350":[[0,0,0.3125,1,1.5,0.6875],[0.3125,0,0,0.6875,1.5,0.3125]],"352":[[0.25,0,0.25,0.75,1.5,0.75],[0.3125,0,0,0.6875,1.5,0.25],[0.3125,0,0.75,0.6875,1.5,1],[0.75,0,0.3125,1,1.5,0.6875]],"353":[[0,0,0.3125,1,1.5,0.6875],[0.25,0,0.25,0.75,1.5,0.3125],[0.25,0,0.6875,0.75,1.5,0.75],[0.3125,0,0,0.6875,1.5,0.25],[0.3125,0,0.75,0.6875,1.5,1]],"355":[[0.3125,0,0,0.6875,1.5,1],[0.6875,0,0.3125,1,1.5,0.6875]],"356":[[0,0,0.3125,1,1.5,0.6875],[0.3125,0,0,0.6875,1.5,0.3125],[0.3125,0,0.6875,0.6875,1.5,1]],"453":[[0.0625,0,0.0625,0.9375,0.125,0.9375],[0.4375,0.125,0.4375,0.5625,0.875,0.5625]],"454":[[0,0,0,0.125,1,0.25],[0,0,0.75,0.125,1,1],[0.125,0,0,0.25,1,0.125],[0.125,0,0.875,0.25,1,1],[0.75,0,0,1,1,0.125],[0.75,0,0.875,1,1,1],[0.875,0,0.125,1,1,0.25],[0.875,0,0.75,1,1,0.875],[0,0.1875,0.25,1,0.25,0.75],[0.125,0.1875,0.125,0.875,0.25,0.25],[0.125,0.1875,0.75,0.875,0.25,0.875],[0.25,0.1875,0,0.75,1,0.125],[0.25,0.1875,0.875,0.75,1,1],[0,0.25,0.25,0.125,1,0.75],[0.875,0.25,0.25,1,1,0.75]],"455":[[0,0,0,1,0.8125,1],[0.25,0.8125,0.25,
10.75,1,0.75]],"456":[[0,0,0,1,0.8125,1]],"457":[[0.0625,0,0.0625,0.9375,1,0.9375]],"458":[[0.375,0.4375,0.0625,0.625,0.75,0.3125]],"459":[[0.375,0.4375,0.6875,0.625,0.75,0.9375]],"460":[[0.0625,0.4375,0.375,0.3125,0.75,0.625]],"461":[[0.6875,0.4375,0.375,0.9375,0.75,0.625]],"462":[[0.3125,0.3125,0.0625,0.6875,0.75,0.4375]],"463":[[0.3125,0.3125,0.5625,0.6875,0.75,0.9375]],"464":[[0.0625,0.3125,0.3125,0.4375,0.75,0.6875]],"465":[[0.5625,0.3125,0.3125,0.9375,0.75,0.6875]],"466":[[0.25,0.1875,0.0625,0.75,0.75,0.5625]],"467":[[0.25,0.1875,0.4375,0.75,0.75,0.9375]],"468":[[0.0625,0.1875,0.25,0.5625,0.75,0.75]],"469":[[0.4375,0.1875,0.25,0.9375,0.75,0.75]],"793":[[0.3125,0,0.3125,0.6875,0.375,0.6875]],"794":[[0.25,0,0.25,0.75,0.5,0.75]],"795":[[0.25,0.25,0.5,0.75,0.75,1]],"796":[[0.25,0.25,0,0.75,0.75,0.5]],"797":[[0.5,0.25,0.25,1,0.75,0.75]],"798":[[0,0.25,0.25,0.5,0.75,0.75]],"799":[[0.1875,0,0.1875,0.8125,0.5,0.8125]],"800":[[0.1875,0.25,0.5,0.8125,0.75,1]],"801":[[0.1875,0.25,0,0.8125,0.75,0.5]],"802":[[0.5,0.25,0.1875,1,0.75,0.8125]],"803":[[0,0.25,0.1875,0.5,0.75,0.8125]],"804":[[0.125,0,0.125,0.875,0.25,0.875],[0.25,0.25,0.1875,0.75,0.3125,0.8125],[0.375,0.3125,0.25,0.625,1,0.75],[0.1875,0.625,0,0.375,1,1],[0.375,0.625,0,0.8125,1,0.25],[0.375,0.625,0.75,0.8125,1,1],[0.625,0.625,0.25,
10.8125,1,0.75]],"805":[[0.125,0,0.125,0.875,0.25,0.875],[0.1875,0.25,0.25,0.8125,0.3125,0.75],[0.25,0.3125,0.375,0.75,1,0.625],[0,0.625,0.1875,0.25,1,0.8125],[0.25,0.625,0.1875,1,1,0.375],[0.25,0.625,0.625,1,1,0.8125],[0.75,0.625,0.375,1,1,0.625]],"807":[[0.375,0,0.375,0.625,0.6875,0.625],[0.25,0.25,0.25,0.375,0.6875,0.75],[0.375,0.25,0.25,0.75,0.6875,0.375],[0.375,0.25,0.625,0.75,0.6875,0.75],[0.625,0.25,0.375,0.75,0.6875,0.625],[0,0.625,0,0.25,0.6875,1],[0.25,0.625,0,1,0.6875,0.25],[0.25,0.625,0.75,1,0.6875,1],[0.75,0.625,0.25,1,0.6875,0.75],[0,0.6875,0,0.125,1,1],[0.125,0.6875,0,1,1,0.125],[0.125,0.6875,0.875,1,1,1],[0.875,0.6875,0.125,1,1,0.875]],"808":[[0.25,0.25,0.25,0.75,0.6875,0.75],[0.375,0.25,0,0.625,0.5,0.25],[0,0.625,0,0.25,0.6875,1],[0.25,0.625,0,1,0.6875,0.25],[0.25,0.625,0.75,1,0.6875,1],[0.75,0.625,0.25,1,0.6875,0.75],[0,0.6875,0,0.125,1,1],[0.125,0.6875,0,1,1,0.125],[0.125,0.6875,0.875,1,1,1],[0.875,0.6875,0.125,1,1,0.875]],"809":[[0.25,0.25,0.25,0.75,0.6875,0.75],[0.375,0.25,0.75,0.625,0.5,1],[0,0.625,0,0.25,0.6875,1],[0.25,0.625,0,1,0.6875,0.25],[0.25,0.625,0.75,1,0.6875,1],[0.75,0.625,0.25,1,0.6875,0.75],[0,0.6875,0,0.125,1,1],[0.125,0.6875,0,1,1,0.125],[0.125,0.6875,0.875,1,1,1],[0.875,0.6875,0.125,1,1,0.875]],"810":[[0,0.25,0.375,0.75,0.5,0.625],[0.25,0.25,0.25,0.75,0.6875,0.375],[0.25,0.25,0.625,0.75,0.6875,0.75],[0.25,0.5,0.375,0.75,0.6875,0.625],[0,0.625,0,0.25,0.6875,1],[0.25,0.625,0,1,0.6875,0.25],[0.25,0.625,0.75,1,0.6875,1],[0.75,0.625,0.25,1,0.6875,0.75],[0,0.6875,0,0.125,1,1],[0.125,0.6875,0,1,1,0.125],[0.125,0.6875,0.875,1,1,1],[0.875,0.6875,0.125,1,1,0.875]],"811":[[0.25,0.25,0.25,0.75,0.6875,0.75],[0.75,0.25,0.375,1,0.5,0.625],[0,0.625,0,0.25,0.6875,1],[0.25,0.625,0,1,0.6875,0.25],[0.25,0.625,0.75,1,0.6875,1],[0.75,0.625,0.25,1,0.6875,0.75],[0,0.6875,0,0.125,1,1],[0.125,0.6875,0,1,1,0.125],[0.125,0.6875,0.875,1,1,1],[0.875,0.6875,0.125,1,1,0.875]],"1068":[[0,0,0,1,0.0625,1]],"1213":[[0.375,0.375,0,0.625,0.625,1]],"1214":[[0,0.375,0.375,1,0.625,0.625]],"1215":[[0.375,0,0.375,0.625,1,0.625]],"1216":[[0.1875,0,0.1875,0.8125,1,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1217":[[0.1875,0,0.1875,0.8125,1,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1218":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1219":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1220":[[0.1875,0,0.1875,0.8125,1,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1221":[[0.1875,0,0.1875,0.8125,1,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1222":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1223":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1224":[[0.1875,0,0.1875,0.8125,1,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1225":[[0.1875,0,0.1875,0.8125,1,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1226":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1227":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1228":[[0.1875,0,0.1875,0.8125,1,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1229":[[0.1875,0,0.1875,0.8125,1,0.8125],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1230":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1231":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1232":[[0.1875,0,0.1875,0.8125,1,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1233":[[0.1875,0,0.1875,0.8125,1,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1234":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1235":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1236":[[0.1875,0,0.1875,0.8125,1,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875]],"1237":[[0.1875,0,0.1875,0.8125,1,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875]],"1238":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875]],"1239":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875]],"1240":[[0.1875,0,0.1875,0.8125,1,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1241":[[0.1875,0,0.1875,0.8125,1,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1242":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1243":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1244":[[0.1875,0,0.1875,0.8125,1,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125]],"1245":[[0.1875,0,0.1875,0.8125,1,0.8125]],"1246":[[0.1875,0,0.1875,0.8125,0.8125,0.8125],[0,0.1875,0.1875,0.1875,0.8125,0.8125]],"1247":[[0.1875,0,0.1875,0.8125,0.8125,0.8125]],"1248":[[0,0.1875,0.1875,1,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1249":[[0.1875,0.1875,0,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1250":[[0,0.1875,0.1875,1,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1251":[[0.1875,0.1875,0,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1252":[[0,0.1875,0.1875,1,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1253"
1:[[0.1875,0.1875,0,0.8125,0.8125,0.8125],[0.8125,0.1875,0.1875,1,0.8125,0.8125],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1254":[[0,0.1875,0.1875,1,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875]],"1255":[[0.1875,0.1875,0,0.8125,0.8125,0.8125],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1256":[[0,0.1875,0.1875,1,0.8125,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1257":[[0.1875,0.1875,0.1875,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1258":[[0,0.1875,0.1875,1,0.8125,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1259":[[0.1875,0.1875,0.1875,0.8125,0.8125,1],[0.8125,0.1875,0.1875,1,0.8125,0.8125]],"1260":[[0,0.1875,0.1875,1,0.8125,0.8125],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1261":[[0.1875,0.1875,0.1875,1,0.8125,0.8125],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1262":[[0,0.1875,0.1875,1,0.8125,0.8125]],"1263":[[0.1875,0.1875,0.1875,1,0.8125,0.8125]],"1264":[[0,0.1875,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1265":[[0.1875,0.1875,0,0.8125,0.8125,1],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1266":[[0,0.1875,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1267":[[0.1875,0.1875,0,0.8125,0.8125,1]],"1268":[[0,0.1875,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1269":[[0.1875,0.1875,0,0.8125,0.8125,0.8125],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1270":[[0,0.1875,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0,0.8125,0.8125,0.1875]],"1271":[[0.1875,0.1875,0,0.8125,0.8125,0.8125]],"1272":[[0,0.1875,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1273":[[0.1875,0.1875,0.1875,0.8125,0.8125,1],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1274":[[0,0.1875,0.1875,0.8125,0.8125,0.8125],[0.1875,0.1875,0.8125,0.8125,0.8125,1]],"1275":[[0.1875,0.1875,0.1875,0.8125,0.8125,1]],"1276":[[0,0.1875,0.1875,0.8125,0.8125,0.8125],[0.1875,0.8125,0.1875,0.8125,1,0.8125]],"1277":[[0.1875,0.1875,0.1875,0.8125,1,0.8125]],"1278":[[0,0.1875,0.1875,0.8125,0.8125,0.8125]],"1279":[[0.1875,0.1875,0.1875,0.8125,0.8125,0.8125]],"1280":[[0.3125,-0.0625,0.3125,0.6875,0.1875,0.6875]],"1281":[[0.1875,-0.0625,0.1875,0.8125,0.3125,0.8125]],"1283":[[0.1875,0,0.1875,0.75,0.4375,0.75]],"1284":[[0.0625,0,0.0625,0.9375,0.4375,0.9375]],"1285":[[0.0625,0,0.125,0.9375,1,0.875]],"1286":[[0.1875,0,0.1875,0.8125,0.625,0.8125]],"1287":[[0.375,0,0.375,0.625,0.375,0.625]],"1288":[[0.1875,0,0.1875,0.8125,0.375,0.8125]],"1289":[[0.125,0,0.125,0.875,0.375,0.875]],"1290":[[0.125,0,0.125,0.875,0.4375,0.875]],"1291":[[0.3125,0.3125,0.3125,0.6875,0.6875,0.6875]],"1292":[[0.15625,0,0.15625,0.34375,1,0.34375]],"3397":[[0,0,0,0.125,1,0.125],[0,0,0.875,0.125,1,1],[0.875,0,0,1,1,0.125],[0.875,0,0.875,1,1,1],[0,0.875,0.125,1,1,0.875],[0.125,0.875,0,0.875,1,0.125],[0.125,0.875,0.875,0.875,1,1]],"3398":[[0.125,0,0.375,0.25,0.8125,0.625],[0.75,0,0.375,0.875,0.8125,0.625],[0.25,0.25,0.125,0.75,1,0.875],[0.125,0.4375,0.3125,0.25,0.8125,0.375],[0.125,0.4375,0.625,0.25,
10.8125,0.6875],[0.75,0.4375,0.3125,0.875,0.8125,0.375],[0.75,0.4375,0.625,0.875,0.8125,0.6875]],"3400":[[0.375,0,0.125,0.625,0.8125,0.25],[0.375,0,0.75,0.625,0.8125,0.875],[0.125,0.25,0.25,0.875,1,0.75],[0.3125,0.4375,0.125,0.375,0.8125,0.25],[0.3125,0.4375,0.75,0.375,0.8125,0.875],[0.625,0.4375,0.125,0.6875,0.8125,0.25],[0.625,0.4375,0.75,0.6875,0.8125,0.875]],"3402":[[0.25,0.125,0,0.75,0.875,0.75],[0.125,0.3125,0.1875,0.25,0.6875,0.5625],[0.75,0.3125,0.1875,0.875,0.6875,0.5625],[0.125,0.375,0.5625,0.25,0.625,1],[0.75,0.375,0.5625,0.875,0.625,1]],"3403":[[0.25,0.125,0.25,0.75,0.875,1],[0.125,0.3125,0.4375,0.25,0.6875,0.8125],[0.75,0.3125,0.4375,0.875,0.6875,0.8125],[0.125,0.375,0,0.25,0.625,0.4375],[0.75,0.375,0,0.875,0.625,0.4375]],"3404":[[0,0.125,0.25,0.75,0.875,0.75],[0.1875,0.3125,0.125,0.5625,0.6875,0.25],[0.1875,0.3125,0.75,0.5625,0.6875,0.875],[0.5625,0.375,0.125,1,0.625,0.25],[0.5625,0.375,0.75,1,0.625,0.875]],"3405":[[0.25,0.125,0.25,1,0.875,0.75],[0.4375,0.3125,0.125,0.8125,0.6875,0.25],[0.4375,0.3125,0.75,0.8125,0.6875,0.875],[0,0.375,0.125,0.4375,0.625,0.25],[0,0.375,0.75,0.4375,0.625,0.875]],"3406":[[0.25,0,0.125,0.75,0.75,0.875],[0.125,0.1875,0.3125,0.25,0.5625,0.6875],[0.75,0.1875,0.3125,0.875,0.5625,0.6875],[0.125,0.5625,0.375,0.25,1,0.625],[0.75,0.5625,0.375,0.875,1,0.625]],"3408":[[0.125,0,0.25,0.875,0.75,0.75],[0.3125,0.1875,0.125,0.6875,0.5625,0.25],[0.3125,0.1875,0.75,0.6875,0.5625,0.875],[0.375,0.5625,0.125,0.625,1,0.25],[0.375,0.5625,0.75,0.625,1,0.875]],"3410":[[0,0,0,1,0.125,1],[0.25,0.125,0.25,0.75,0.875,0.75]],"3411":[[0,0,0,1,0.5625,1]],"3412":[[0,0,0.25,1,1,0.75]],"3413":[[0.25,0,0,0.75,1,1]],"3414":[[0.25,0.25,0.25,0.75,0.375,0.75],[0.3125,0.375,0.3125,0.6875,0.8125,0.6875],[0.4375,0.8125,0.4375,0.5625,1,0.5625]],"3415":[[0.25,0.25,0.25,0.75,0.375,0.75],[0.3125,0.375,0.3125,0.6875,0.8125,0.6875],[0.4375,0.8125,0,0.5625,0.9375,0.8125]],"3416":[[0.25,0.25,0.25,0.75,0.375,0.75],[0.3125,0.375,0.3125,0.6875,0.8125,0.6875],[0.4375,0.8125,0.1875,0.5625,0.9375,1]],"3417":[[0.25,0.25,0.25,0.75,0.375,0.75],[0.3125,0.375,0.3125,0.6875,0.8125,0.6875],[0,0.8125,0.4375,0.8125,0.9375,0.5625]],"3418":[[0.25,0.25,0.25,0.75,0.375,0.75],[0.3125,0.375,0.3125,0.6875,0.8125,0.6875],[0.1875,0.8125,0.4375,1,0.9375,0.5625]],"3419":[[0.25,0.25,0.25,0.75,0.375,0.75],[0.3125,0.375,0.3125,0.6875,0.8125,0.6875],[0.4375,0.8125,0,0.5625,0.9375,1]],"3420":[[0.25,0.25,0.25,0.75,0.375,0.75],[0.3125,0.375,0.3125,0.6875,0.8125,0.6875],[0,0.8125,0.4375,1,0.9375,0.5625]],"3421":[[0.3125,0.0625,0.3125,0.6875,0.5,0.6875],[0.375,0.5,0.375,0.625,0.625,0.625]],"3422":[[0.3125,0,0.3125,0.6875,0.4375,0.6875],[0.375,0.4375,0.375,0.625,0.5625,0.625]],"3423":[[0,0,0,1,0.4375,1]],"3456":[[0,0,0,1,0.125,1],[0,0.125,0,0.125,1,1],[0.125,0.125,0,1,1,0.125],[0.125,0.125,0.875,1,1,1],[0.875,0.125,0.125,1,1,0.875]],"3941":[[0.4375,0,0.4375,0.5625,0.375,0.5625]],"3942":[[0.3125,0,0.375,0.6875,0.375,0.5625]],"3943":[[0.3125,0,0.375,0.625,0.375,0.6875]],"3944":[[0.3125,0,0.3125,0.6875,0.375,0.625]],"3945":[[0.0625,0,0.0625,0.9375,0.5,0.9375],[0.4375,0.5,0.4375,0.5625,0.875,0.5625]],"3946":[[0.1875,0.1875,0.5625,0.8125,0.8125,1]],"3947":[[0,0.1875,0.1875,0.4375,0.8125,0.8125]],"3948":[[0.1875,0.1875,0,0.8125,0.8125,0.4375]],"3949":[[0.5625,0.1875,0.1875,1,0.8125,0.8125]],"3950":[[0.1875,0,0.1875,0.8125,0.4375,0.8125]],"3951":[[0.1875,0.5625,0.1875,0.8125,1,0.8125]],"3952":[[0.1875,0.1875,0.6875,0.8125,0.8125,1]],"3953":[[0,0.1875,0.1875,0.3125,0.8125,0.8125]],"3954":[[0.1875,0.1875,0,0.8125,0.8125,0.3125]],"3955":[[0.6875,0.1875,0.1875,1,0.8125,0.8125]],"3956":[[0.1875,0,0.1875,0.8125,0.3125,0.8125]],"3957":[[0.1875,0.6875,0.1875,0.8125,1,0.8125]],"3958":[[0.1875,0.1875,0.75,0.8125,0.8125,1]],"3959":[[0,0.1875,0.1875,0.25,0.8125,0.8125]],"3960":[[0.1875,0.1875,0,0.8125,0.8125,0.25]],"3961":[[0.75,0.1875,0.1875,1,0.8125,0.8125]],"3962":[[0.1875,0,0.1875,0.8125,0.25,
10.8125]],"3963":[[0.1875,0.75,0.1875,0.8125,1,0.8125]],"3964":[[0.25,0.25,0.8125,0.75,0.75,1]],"3965":[[0,0.25,0.25,0.1875,0.75,0.75]],"3966":[[0.25,0.25,0,0.75,0.75,0.1875]],"3967":[[0.8125,0.25,0.25,1,0.75,0.75]],"3968":[[0.25,0,0.25,0.75,0.1875,0.75]],"3969":[[0.25,0.8125,0.25,0.75,1,0.75]],"4455":[[0.1875,0,0.1875,0.8125,0.875,0.8125]],"4456":[[0.1875,0,0.1875,0.5625,1,0.5625]],"4460":[[0.1875,0,0.1875,0.5625,0.6875,0.5625]],"4462":[[0.1875,0.3125,0.1875,0.5625,1,0.5625]],"4464":[[0.125,0,0.125,0.625,1,0.625]],"4468":[[0.0625,0,0.0625,0.6875,1,0.6875]],"4472":[[0,0,0,0.75,1,0.75]],"4476":[[0.375,0,0.375,0.625,1,0.625],[0,0.5,0,0.375,1,1],[0.375,0.5,0,1,1,0.375],[0.375,0.5,0.625,1,1,1],[0.625,0.5,0.375,1,1,0.625]],"4477":[[0,0.6875,0,1,0.9375,1]],"4479":[[0,0.6875,0,1,0.8125,1]]},"version":"1.21.11","versionKey":"3.105.0"}');function getCollisionInteractionShapes(){customEvents.on("gameLoaded",function(){var e=(0,rk.getRenamedData)("blocks",Object.keys(rT),"1.20.2",bot.version),t=(0,eI._)({},rT,Object.fromEntries(Object.entries(rT).map(function(t,n){var r=(0,eO._)(t,2),a=(r[0],r[1]);return[e[n],a]})));t[""]=t.air,window.interactionShapes=t})}window.globalGetCollisionShapes=function(e){var t=rN.version,n=(0,rk.getRenamedData)("blocks",Object.keys(rN.blocks),t,e),r=Object.fromEntries(Object.entries(rN.blocks).map(function(e,t){var r=(0,eO._)(e,2)[1];return[n[t],r]}));return(0,e6.Uo)(e)<(0,e6.Uo)("1.21.9")&&r.iron_chain&&!r.chain&&(r.chain=r.iron_chain),(0,eP._)((0,eI._)({},rN),{blocks:r})};var rS=n(32364),rz=n.n(rS),rq=n(63389),rE=n(4741),rI=n(49090),rP=n(30967),rY=n.t(rP,2),rO=n(54315);let rR=(0,ru.K)(function(e){var t=e.dieReasonMessage,n=e.respawnCallback,r=e.disconnectCallback;return(0,ty.jsx)("div",{className:"deathScreen-container",children:(0,ty.jsxs)("div",{className:"deathScreen",children:[(0,ty.jsx)("h1",{className:"deathScreen-title",children:"You Died!"}),(0,ty.jsx)("h5",{className:"deathScreen-reason",children:(0,ty.jsx)(rO.ZP,{parts:t})}),(0,ty.jsxs)("div",{className:"deathScreen-buttons-grouped",children:[(0,ty.jsx)(rl.Z,{label:"Respawn",onClick:function(){n()}}),(0,ty.jsx)(rl.Z,{label:"Disconnect",onClick:function(){r()}})]})]})})},"deathScreen");var rB=(0,td.sj)({value:null});function DeathScreenProvider(){var e=(0,tb.R)(rB).value,t=(0,t_.uM)("death-screen");return((0,ne.useEffect)(function(){bot._client.on("death_combat_event",function(e){try{if(e.playerId!==bot.entity.id)return;var t=JSON.parse(e.message);rB.value=(0,no.wv)(t)}catch(e){console.error(e)}}),bot.on("health",function(){rB.value||bot.health>0||(rB.value=[])}),bot.on("respawn",function(){rB.value=null}),0===bot.health&&(rB.value=[])},[]),(0,ne.useEffect)(function(){rB.value?t||(0,ta.K4)({reactType:"death-screen"}):t&&(0,ta.VG)({reactType:"death-screen"})},[e,t]),t&&e&&!tr.YM.autoRespawn)?(0,ty.jsx)(rR,{dieReasonMessage:e,respawnCallback:function(){bot._client.write("client_command",bot.supportFeature("respawnIsPayload")?{payload:0}:{actionId:0})},disconnectCallback:function(){(0,tH.zP)()}}):null}n(16461),n(99654),n(22245),n(52437);var rU=n(71164),rQ=n(14971),rF=n(52811),rW=n(92055),showAllSettingsEditor=function(){(0,ta.K4)({reactType:"all-settings-editor"})},rV=(y=(0,eE._)(function(){var e,t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:if(0===(e=Object.keys((0,tr.Zb)())).length)return alert("No changed settings found."),[2];return t=Object.fromEntries(e.map(function(e){return[e,{type:"checkbox",label:(0,rU.Q)((0,rQ.noCase)(e)),defaultValue:!0}]})),[4,(0,t7.Pl)("Select Settings to Reset",t,{cancel:!0,showConfirm:!0,confirmLabel:"Reset"})];case 1:if(!(n=a.sent()))return[2];if(0===(r=e.filter(function(e){return n[e]})).length)return alert("No settings selected."),[2];return(0,tr.SJ)(r),[2]}})}),function(){return y.apply(this,arguments)});function AllSettingsEditor(){var e,t,n=(0,t_.uM)("all-settings-editor"),r=(0,tb.R)(tr.YM),a=(0,tb.R)(tr.hI),o=(0,eO._)((0,ne.useState)(""),2),i=o[0],s=o[1],l=(0,eO._)((0,ne.useState)(null),2),c=l[0],u=l[1],d=(0,eO._)((0,ne.useState)(""),2),w=d[0],p=d[1],h=(0,ne.useRef)(null),M=(0,ne.useRef)(null),g=(0,ne.useMemo)(function(){if(!n)return[];var e=i.toLowerCase();return Object.entries(r).filter(function(t){var n=(0,eO._)(t,1)[0],r=n.toLowerCase(),a=(0,rU.Q)((0,rQ.noCase)(n)).toLowerCase();return r.includes(e)||a.includes(e)}).sort(function(e,t){var n=(0,eO._)(e,1)[0],r=(0,eO._)(t,1)[0];return n.localeCompare(r)})},[r,i,n]);(0,ne.useEffect)(function(){n&&h.current&&!(0,nB.tq)()&&h.current.focus()},[n]),(0,ne.useEffect)(function(){var handleClickOutside=function(e){M.current&&!M.current.contains(e.target)&&u(null)};if(c)return document.addEventListener("mousedown",handleClickOutside),function(){return document.removeEventListener("mousedown",handleClickOutside)}},[c]);var m=(e=(0,eE._)(function(){var e,t,n,r,a,o,i,s;return(0,eB.Jh)(this,function(l){switch(l.label){case 0:if(0===(t=Object.keys(e=(0,tr.Zb)())).length)return alert("No changed settings found."),[2];return n=Object.fromEntries(t.map(function(e){return[e,{type:"checkbox",label:(0,rU.Q)((0,rQ.noCase)(e)),defaultValue:!0}]})),[4,(0,t7.Pl)("Select Changed Settings to Include in URL",n,{cancel:!0,showConfirm:!0})];case 1:if(!(r=l.sent()))return[2];if(0===(a=t.filter(function(e){return r[e]})).length)return alert("No settings selected."),[2];o=a.map(function(t){var n=JSON.stringify(e[t]);return"setting=".concat(encodeURIComponent(t),":").concat(encodeURIComponent(n))}).join("&"),i="".concat(window.location.origin).concat(window.location.pathname,"?").concat(o),l.label=2;case 2:return l.trys.push([2,4,,5]),[4,navigator.clipboard.writeText(i)];case 3:return l.sent(),alert("URL copied to clipboard!\n\n".concat(i)),[3,5];case 4:l.sent(),(s=document.createElement("textarea")).value=i,s.style.position="fixed",s.style.opacity="0",document.body.appendChild(s),s.select();try{document.execCommand("copy"),alert("URL copied to clipboard!\n\n".concat(i))}catch(e){alert("Failed to copy. URL:\n\n".concat(i))}return s.remove(),[3,5];case 5:return[2]}})}),function(){return e.apply(this,arguments)});if(!n)return null;var v=(t=(0,eE._)(function(e,t,n){var r,o,i,s,l,c,d,w;return(0,eB.Jh)(this,function(h){switch(h.label){case 0:if(a.value.has(e))return[2];if(n.stopPropagation(),!((null==(r=th.FP[e])?void 0:r.possibleValues)&&r.possibleValues.length>0))return[3,2];return o=function(e){return"string"==typeof e?e:e[0]},i=function(e){return"string"==typeof e?(0,rU.Q)((0,rQ.noCase)(e)):e[1]},s=r.possibleValues.map(i),[4,(0,t7.un)("Select ".concat((0,rU.Q)((0,rQ.noCase)(e))),s)];case 1:return(l=h.sent())&&-1!==(c=s.indexOf(l))&&handleValueChange(e,o(r.possibleValues[c])),[2];case 2:if(!((null==r?void 0:r.isCustomInput)||"string"==typeof t))return[3,4];
1return d=t!==th.vC[e],[4,(0,t7.Pl)("Edit ".concat((0,rU.Q)((0,rQ.noCase)(e))),(0,eI._)({value:{type:"text",label:(0,rU.Q)((0,rQ.noCase)(e)),defaultValue:t,placeholder:"Enter ".concat((0,rU.Q)((0,rQ.noCase)(e)))}},d?{reset:{type:"button"}}:{}),{cancel:!0,showConfirm:!0})];case 3:return(w=h.sent()).reset?handleValueChange(e,th.vC[e]):w.value&&handleValueChange(e,w.value),[2];case 4:if("boolean"==typeof t)return handleValueChange(e,!t),[2];return u(e),p(String(t)),[2]}})}),function(e,n,r){return t.apply(this,arguments)}),handleValueChange=function(e,t){try{if("boolean"==typeof r[e])tr.YM[e]="true"===t||!0===t;else if("number"==typeof r[e]){var n=parseFloat(String(t));isNaN(n)||(tr.YM[e]=n)}else tr.YM[e]=t;u(null)}catch(e){console.error("Failed to update option:",e)}},OptionRow=function(e){var t=e.optionKey,n=e.value,r=(0,ne.useRef)(null),o=a.value.has(t),i=c===t,s="boolean"==typeof n,l="number"==typeof n,d="string"==typeof n,h=th.FP[t],g=null==h?void 0:h.possibleValues;return null==h||h.isCustomInput,(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",backgroundColor:i?"#333":o?"#1f1f1f":"#2a2a2a",borderRadius:"4px",cursor:o?"not-allowed":"pointer",position:"relative",minHeight:"44px"},onMouseEnter:function(e){o||i||(e.currentTarget.style.backgroundColor="#333")},onMouseLeave:function(e){o||i||(e.currentTarget.style.backgroundColor="#2a2a2a")},children:[(0,ty.jsx)("div",{style:{flex:1,minWidth:0,fontSize:"13px",color:o?"#666":"#fff",fontWeight:500,wordBreak:"break-word"},children:(0,rU.Q)((0,rQ.noCase)(t))}),(0,ty.jsx)("div",{ref:r,style:{fontSize:"12px",color:"boolean"==typeof n?n?"#4caf50":"#f44336":"#aaa",padding:"4px 8px",backgroundColor:i?"#444":"#1a1a1a",borderRadius:"3px",whiteSpace:"nowrap",cursor:o?"not-allowed":"pointer",border:i?"1px solid #555":"1px solid transparent",userSelect:"none",minWidth:"60px",textAlign:"center"},onClick:function(e){v(t,n,e)},onTouchStart:function(e){e.touches.length>1&&e.preventDefault()},children:function(){if("boolean"==typeof n)return String(n);if((void 0===n?"undefined":(0,eR._)(n))==="object"&&null!==n)return JSON.stringify(n).slice(0,30)+(JSON.stringify(n).length>30?"...":"");
1if(g){var e=g.find(function(e){return String(Array.isArray(e)?e[0]:e)===String(n)});if(e)return Array.isArray(e)?e[1]:e}return String(n)}()}),function(){if(!i)return null;var e={position:"fixed",backgroundColor:"#2a2a2a",border:"1px solid #555",borderRadius:"4px",padding:"4px",zIndex:1e4,minWidth:"120px",maxHeight:"300px",overflowY:"auto",boxShadow:"0 4px 8px rgba(0, 0, 0, 0.3)"};if(r.current){var a=r.current.getBoundingClientRect();e.left="".concat(a.left,"px"),e.top="".concat(a.bottom+4,"px")}return(0,ty.jsx)("div",{ref:M,style:e,children:s?(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)("div",{style:{padding:"6px 12px",cursor:"pointer",backgroundColor:"#333",borderRadius:"2px",marginBottom:"4px"},onMouseEnter:function(e){e.currentTarget.style.backgroundColor="#444"},onMouseLeave:function(e){e.currentTarget.style.backgroundColor="#333"},onClick:function(){return handleValueChange(t,"true")},children:"true"}),(0,ty.jsx)("div",{style:{padding:"6px 12px",cursor:"pointer",backgroundColor:"#333",borderRadius:"2px"},onMouseEnter:function(e){e.currentTarget.style.backgroundColor="#444"},onMouseLeave:function(e){e.currentTarget.style.backgroundColor="#333"},onClick:function(){return handleValueChange(t,"false")},children:"false"})]}):d?(0,ty.jsx)("div",{style:{padding:"4px"},children:(0,ty.jsx)(rs.ZP,{defaultValue:String(n),autoFocus:!0,rootStyles:{width:"100%"},onKeyDown:function(e){"Enter"===e.key?handleValueChange(t,e.currentTarget.value):"Escape"===e.key&&u(null)},onBlur:function(){setTimeout(function(){c===t&&handleValueChange(t,w)},200)},onChange:function(e){return p(e.target.value)}})}):l?(0,ty.jsx)("div",{style:{padding:"4px"},children:(0,ty.jsx)(rs.ZP,{type:"number",defaultValue:String(n),autoFocus:!0,rootStyles:{width:"100%"},onKeyDown:function(e){"Enter"===e.key?handleValueChange(t,e.currentTarget.value):"Escape"===e.key&&u(null)},onBlur:function(){setTimeout(function(){c===t&&handleValueChange(t,w)},200)},onChange:function(e){return p(e.target.value)}})}):(0,ty.jsx)("div",{style:{padding:"8px",color:"#999",fontSize:"12px"},children:"Complex type (object/array)"})})}()]})};return(0,ty.jsx)(nn.Z,{title:"All Settings",backdrop:!0,titleMarginTop:5,children:(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",height:"100%",width:"100%",maxHeight:"calc(100vh - 100px)",gap:"8px"},children:[(0,ty.jsxs)("div",{style:{position:"sticky",top:0,zIndex:100,backgroundColor:"#1a1a1a",padding:"8px 0"},children:[(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(0,ty.jsx)(rl.Z,{icon:tL.K.link,onClick:m,style:{flexShrink:0},title:"Copy URL with changed settings"}),(0,ty.jsx)(tL.Z,{iconName:tL.K.search,styles:{width:"16px",height:"16px",flexShrink:0}}),(0,ty.jsx)(rs.ZP,{ref:h,placeholder:"Search options...",value:i,onChange:function(e){return s(e.target.value)},rootStyles:{flex:1,minWidth:0}}),i&&(0,ty.jsx)(rl.Z,{icon:tL.K.close,onClick:function(){return s("")},style:{width:"20px",flexShrink:0}})]}),(0,ty.jsxs)("div",{style:{fontSize:"11px",color:"#888",marginTop:"4px"},children:[g.length," option",1===g.length?"":"s"," found"]})]}),(0,ty.jsx)("div",{style:{overflowY:"auto",flex:1,display:"flex",flexDirection:"column",gap:"2px",paddingRight:"4px",WebkitOverflowScrolling:"touch"},children:0===g.length?(0,ty.jsxs)("div",{style:{padding:"20px",textAlign:"center",color:"#888",fontSize:"14px"},children:['No options found matching "',i,'"']}):g.map(function(e){var t=(0,eO._)(e,2),n=t[0],r=t[1];return(0,ty.jsx)(OptionRow,{optionKey:n,value:r},n)})}),(0,ty.jsx)("div",{style:{position:"sticky",bottom:0,paddingTop:"8px",backgroundColor:"#1a1a1a"},children:(0,ty.jsx)(rl.Z,{onClick:ta.kJ,style:{width:"100%"},children:"Close"})})]})})}var rJ=n(87665),rG=n(62902);let rH=(0,ru.K)(function(e){var t=e.label,n=e.unit,r=e.width,a=e.value,o=e.valueDisplay,i=e.min,s=void 0===i?0:i,l=e.max,c=void 0===l?100:l,u=e.disabledReason,d=e.throttle,w=void 0===d?0:d,p=e.updateOnDragEnd,h=void 0!==p&&p,M=e.updateValue,g=(0,eY._)(e,["label","unit","width","value","valueDisplay","min","max","disabledReason","throttle","updateOnDragEnd","updateValue"]);t=translate(t),u=translate(u),o="string"==typeof o?translate(o):o;var m=(0,eO._)((0,ne.useState)(a),2),v=m[0],y=m[1],getRatio=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;return Math.max(Math.min((e-s)/(c-s),1),0)},A=(0,eO._)((0,ne.useState)(getRatio()),2),b=A[0],_=A[1],L=(0,ne.useRef)(null),C=(0,ne.useRef)(a),j=(0,eO._)((0,ne.useState)(!1),2),D=j[0],x=j[1],k=(0,ne.useRef)(0),T=(0,ne.useRef)(null);(0,ne.useEffect)(function(){y(a)},[a]),(0,ne.useEffect)(function(){_(getRatio())},[v,s,c]);var N=(0,ne.useCallback)(function(e,t){if(h===t&&M){if(C.current=e,!w)return void M(e);L.current&&clearTimeout(L.current),L.current=setTimeout(function(){M(C.current),L.current=null},w)}},[M,h,w]);(0,ne.useEffect)(function(){return function(){L.current&&(clearTimeout(L.current),M&&void 0!==C.current&&M(C.current))}},[M]),(0,ne.useEffect)(function(){var e=T.current;if(e){var handleMouseOver=function(e){e.isGamepadCursor&&!u&&x(!0)},handleMouseOut=function(e){e.isGamepadCursor&&x(!1)},handleGamepadInputChange=function(e){if(!u){var t=Date.now();if(!(t-k.current<200)||!e.detail.isStickMovement){k.current=t;var n=Math.max(s,Math.min(c,v+ +e.detail.direction));y(n),fireValueUpdate(!1,n)}}};return e.addEventListener("mouseover",handleMouseOver),e.addEventListener("mouseout",handleMouseOut),e.addEventListener("gamepadInputChange",handleGamepadInputChange),function(){e.removeEventListener("mouseover",handleMouseOver),e.removeEventListener("mouseout",handleMouseOut),e.removeEventListener("gamepadInputChange",handleGamepadInputChange)}}},[u,v,s,c]);var fireValueUpdate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;N(t,e)},S="".concat(t,": ").concat(null!=o?o:v," ").concat(void 0===n?"%":n),z=(0,ne.useRef)(null),q=(0,rJ.YF)({middleware:[(0,rG.x7)({element:z}),(0,rG.cv)(7)],placement:"top"}),E=q.refs,I=q.floatingStyles,P=q.context;return(0,ty.jsxs)(n0.Z,{children:[(0,ty.jsxs)("div",(0,eP._)((0,eI._)({ref:function(e){T.current=e,E.setReference(e)},className:"".concat("slider-container-k26jGw"," slider settings-text-container ").concat(S.length>17?"settings-text-container-long":""),style:{width:r}},g),{children:[(0,ty.jsx)("input",{type:"range",className:"slider-pQg1Tc",min:s,max:c,value:v,disabled:!!u,onChange:function(e){var t=Number(e.target.value);y(t),fireValueUpdate(!1,t)},onLostPointerCapture:function(){fireValueUpdate(!0)},onPointerUp:function(){fireValueUpdate(!0)},onKeyUp:function(){fireValueUpdate(!0)}}),(0,ty.jsx)("div",{className:"disabled-vWN9n8",title:u}),(0,ty.jsx)("div",{className:"".concat("slider-thumb-kWeJYr"," slider-thumb"),style:{left:"calc((100% * ".concat(b,") - (8px * ").concat(b,"))")}}),(0,ty.jsx)("label",{className:"label-My4K1P",children:S})]})),D&&(0,ty.jsxs)("div",{ref:E.setFloating,style:(0,eP._)((0,eI._)({},I),{background:"rgba(0, 0, 0, 0.8)",fontSize:10,pointerEvents:"none",userSelect:"none",padding:"4px 8px",borderRadius:4,textShadow:"1px 1px 2px BLACK",zIndex:1e3,whiteSpace:"nowrap"}),children:["Use right stick left/right to change value",(0,ty.jsx)(rJ.Y$,{ref:z,context:P,style:{fill:"rgba(0, 0, 0, 0.8)"}})]})]})},"slider");
1var rZ=(0,td.sj)({params:null,selectedValueIndex:0,reloadMode:"later"}),rK=(A=(0,eE._)(function(e){var t;return(0,eB.Jh)(this,function(n){return(0,ta.K4)({reactType:"setting-reload"}),t=Math.max(0,e.valueChoices.findIndex(function(t){return String(t.value)===String(e.currentValue)})),[2,new Promise(function(n){ek=n,Object.assign(rZ,{params:(0,eI._)({},e),selectedValueIndex:-1===t?0:t,reloadMode:e.requiresChunksReload?"chunks":e.requiresRestart?"page":"later"})})]})}),function(e){return A.apply(this,arguments)});let SettingReloadModal=function(){var e,t=(0,tb.R)(rZ),n=t.params,r=t.selectedValueIndex,a=t.reloadMode,o=(0,t_.uM)("setting-reload"),i=null!=(e=null==n?void 0:n.valueChoices)?e:[],s=!!(null==n?void 0:n.requiresChunksReload),l=!!((null==n?void 0:n.requiresRestart)||(null==n?void 0:n.requiresChunksReload)),resolveClose=function(e){null==ek||ek(e),ek=void 0,(0,ta.kJ)(),rZ.params=null},c=(0,ne.useMemo)(function(){return i[r]},[i,r]);return o&&n?(0,ty.jsx)(nn.Z,{title:n.settingLabel,backdrop:!0,children:(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10,alignItems:"center",maxWidth:280},children:[(0,ty.jsx)("div",{style:{fontSize:10,color:"#ccc",textAlign:"center"},children:translate("This setting requires a reload to take effect")}),n.tooltip&&(0,ty.jsx)("div",{style:{fontSize:9,color:"#999",textAlign:"center"},children:n.tooltip}),(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:5,width:"100%"},children:[(0,ty.jsx)("div",{style:{fontSize:10,color:"#ddd"},children:translate("Select value")}),(0,ty.jsx)("div",{style:{display:"flex",flexWrap:"wrap",gap:5,justifyContent:"center"},children:i.map(function(e,t){return(0,ty.jsx)(rl.Z,{onClick:function(){rZ.selectedValueIndex=t},style:{border:r===t?"2px solid #4CAF50":void 0,minWidth:72},children:e.label},"".concat(String(e.value),"-").concat(e.label))})})]}),(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:4,width:"100%"},children:[(0,ty.jsx)("div",{style:{fontSize:10,color:"#ddd"},children:translate("Apply with")}),s&&(0,ty.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:6,fontSize:11,cursor:"pointer"},children:[(0,ty.jsx)("input",{type:"checkbox",checked:"chunks"===a,onChange:function(){rZ.reloadMode="chunks"}}),translate("Reload chunks")]}),l&&(0,ty.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:6,fontSize:11,cursor:"pointer"},children:[(0,ty.jsx)("input",{type:"checkbox",checked:"page"===a,onChange:function(){rZ.reloadMode="page"}}),translate("Reconnect immediately (reload page)")]}),(0,ty.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:6,fontSize:11,cursor:"pointer"},children:[(0,ty.jsx)("input",{type:"checkbox",checked:"later"===a,onChange:function(){rZ.reloadMode="later"}}),translate("Apply later without reload")]})]}),(0,ty.jsx)(rl.Z,{onClick:function(){c&&resolveClose({value:c.value,reloadMode:a})},children:translate("Apply")}),(0,ty.jsx)(rl.Z,{onClick:function(){resolveClose(void 0)},children:translate("Cancel")})]})}):null};var rX=n(76945),applySettingReloadResult=function(e){"chunks"===e.reloadMode?reloadChunksAction():"page"===e.reloadMode&&(0,rX.$1)()},r$=(b=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:var n,r;return[4,rK((0,eP._)((0,eI._)({},e),{valueChoices:(e.currentValue,(r=e.possibleValues)&&r.length>0?r.map(function(e){return{value:"string"==typeof e?e:e[0],label:"string"==typeof e?(0,rU.Q)((0,rQ.noCase)(e)):e[1]}}):[{value:!0,label:"ON"},{value:!1,label:"OFF"}])}))];case 1:return[2,t.sent()]}})}),function(e){return b.apply(this,arguments)}),isLocked=function(e){return tr.hI.value.has(e.id)},useCommonComponentsProps=function(e){var t=!1;return e.disableIf&&(t=(0,tb.R)(tr.YM)[e.disableIf[0]]===e.disableIf[1]),{disabledBecauseOfSetting:t}},isSettingChanged=function(e){return e in t2.e1.changedSettings&&JSON.stringify(t2.e1.changedSettings[e])!==JSON.stringify(tr.vC[e])},ChangedIndicator=function(){return(0,ty.jsx)("div",{style:{position:"absolute",top:2,right:2,width:3,height:3,backgroundColor:"rgb(77 160 255)",pointerEvents:"none"}})},OptionsItems_getOptionValue=function(e){return"string"==typeof e?e:e[0]},OptionsItems_getOptionLabel=function(e){return"string"==typeof e?(0,rU.Q)((0,rQ.noCase)(e)):e[1]},getNextOptionValue=function(e,t,n,r){if(n&&n.length>=4)return null;if(n&&n.length>1){var a=n.findIndex(function(e){return String(OptionsItems_getOptionValue(e))===String(t)});if(-1===a)return OptionsItems_getOptionValue(n[0]);var o=r.shiftKey?(a-1+n.length)%n.length:(a+1)%n.length;return OptionsItems_getOptionValue(n[o])}return n&&1===n.length?OptionsItems_getOptionValue(n[0]):!tr.YM[e]},OptionButton=function(e){var t,n=e.item,r=e.onClick,a=e.valueText,o=useCommonComponentsProps(n).disabledBecauseOfSetting;(0,tb.R)(t2.e1);var i=(0,tb.R)(tr.YM)[n.id],s=isSettingChanged(n.id),l=n.id?th.FP[n.id]:void 0,c=null==l?void 0:l.possibleValues,u=(0,ne.useMemo)(function(){return c?Object.fromEntries(c.map(function(e){return"string"==typeof e?[e,(0,rU.Q)((0,rQ.noCase)(e))]:[e[0],e[1]]})):{true:"ON",false:"OFF"}},[c]),d=n.disabledReason;return o&&(d="Disabled because ".concat(n.disableIf[0]," is ").concat(n.disableIf[1])),(0,ty.jsx)(rl.Z,{"data-setting":n.id,label:"".concat(translate(n.text),": ").concat(translate(null!=a?a:u[i])),onClick:(t=(0,eE._)(function(e){var t,a,o,s,l,u;return(0,eB.Jh)(this,function(w){switch(w.label){case 0:if(!d)return[3,2];return[4,(0,t7.un)("".concat(translate("The option is not available"),": ").concat(d),[])];case 1:return w.sent(),[2];case 2:if(!(n.enableWarning&&!tr.YM[n.id]))return[3,4];return[4,(0,t7.un)(n.enableWarning,["Enable"])];case 3:if(!w.sent())return[2];w.label=4;case 4:var p,h,M;if(p=n.requiresRestart,h=n.requiresChunksReload,M=n.requiresRestartWhenInGame,t=!!p||!!h&&!!ta.N_.gameLoaded||M&&ta.N_.gameLoaded,!(n.id&&t))return[3,6];return[4,r$({settingLabel:translate(n.text||n.id),currentValue:i,possibleValues:c,requiresRestart:n.requiresRestart,requiresChunksReload:n.requiresChunksReload,tooltip:n.tooltip})];case 5:if(!(a=w.sent()))return[2];return tr.YM[n.id]=a.value,applySettingReloadResult(a),null==r||r(),[2];case 6:if(null==r||r(),!n.id)return[3,9];if(!(c&&c.length>=4))return[3,8];return o=c.map(OptionsItems_getOptionLabel),[4,(0,t7.un)("".concat(translate(n.text||n.id),": ").concat(translate("Select value")),o)];case 7:return(s=w.sent())&&-1!==(l=o.indexOf(s))&&(tr.YM[n.id]=OptionsItems_getOptionValue(c[l])),[3,9];case 8:null!==(u=getNextOptionValue(n.id,i,c,e))&&(tr.YM[n.id]=u),w.label=9;case 9:return[2]}})}),function(e){return t.apply(this,arguments)}),title:d?"".concat(d," | ").concat(n.tooltip):n.tooltip,disabled:o||!!n.disabledReason||isLocked(n),inScreen:!0,style:s?{position:"relative",width:150}:{width:150},children:s&&(0,ty.jsx)(ChangedIndicator,{})})}
1,OptionSlider=function(e){var t=e.item,n=e.onChange,r=e.valueOverride,a=useCommonComponentsProps(t).disabledBecauseOfSetting;(0,tb.R)(t2.e1);var o=(0,tb.R)(tr.YM)[t.id],i=isSettingChanged(t.id),s=(0,ne.useMemo)(function(){if(t.valueText)return t.valueText(o)},[o]);return(0,ty.jsxs)("div",{style:i?{position:"relative"}:void 0,children:[(0,ty.jsx)(rH,{label:t.text,value:null!=r?r:tr.YM[t.id],"data-setting":t.id,disabledReason:isLocked(t)?"qs":a?"Disabled because ".concat(t.disableIf[0]," is ").concat(t.disableIf[1]):t.disabledReason,min:t.min,max:t.max,unit:t.unit,valueDisplay:s,updateOnDragEnd:t.delayApply,updateValue:function(e){tr.YM[t.id]=e,null==n||n(e)}}),i&&(0,ty.jsx)(ChangedIndicator,{})]})},OptionElement=function(e){return e.item.render()},RenderOption=function(e){var t=e.item,n=(0,tb.R)(ta.N_).gameLoaded;if(t.id){var r,a,o,i,s,l=th.FP[t.id];null!=t.text||(t.text=null!=(r=null==l?void 0:l.text)?r:(0,rU.Q)((0,rQ.noCase)(t.id))),null!=t.tooltip||(t.tooltip=null==l?void 0:l.tooltip),null!=t.requiresRestart||(t.requiresRestart=null==l?void 0:l.requiresRestart),null!=t.requiresChunksReload||(t.requiresChunksReload=null==l?void 0:l.requiresChunksReload)}if(t.disabledDuringGame&&n&&(t.disabledReason="Cannot be changed during game"),"custom"in t&&"function"==typeof t.custom)return t.custom();var c=null;return"toggle"===t.type&&(c=(0,ty.jsx)(OptionButton,{item:t})),"slider"===t.type&&(c=(0,ty.jsx)(OptionSlider,{item:t})),"element"===t.type&&(c=(0,ty.jsx)(OptionElement,{item:t})),c};let r0=(0,ru.K)(function(e){var t=e.items,n=e.title,r=e.backButtonAction;return(0,ty.jsxs)(nn.Z,{title:n,children:[(0,ty.jsxs)("div",{className:"screen-items",children:[(0,ty.jsxs)("div",{style:{position:"fixed",marginLeft:"-30px",display:"flex",flexDirection:"column",gap:1},children:[(0,ty.jsx)(rl.Z,{icon:tL.K.close,onClick:ta.sr,style:{color:"#ff5d5d"}}),(0,ty.jsx)(rl.Z,{icon:tL.K["chevron-left"],onClick:r,style:{color:"yellow"}}),(0,ty.jsx)(rl.Z,{icon:tL.K.search,onClick:showAllSettingsEditor,style:{color:"#4caf50"},title:"Search all settings"})]}),t.map(function(e,t){var r;return(0,ty.jsx)(RenderOption,{item:e},null!=(r=e.id)?r:"".concat(n,"-").concat(t))})]}),r&&(0,ty.jsx)(rl.Z,{onClick:function(){return r()},children:"Back"})]})},"optionsItems");var r1=n(54694),r3=n(67253);n(98668),n(74120),n(29456),n(39923),n(73541),n(5269),n(31325),n(68732),n(32831);var r2=n(91936),r5=n(32637),r4=n(75930),r6=n(63455),r8=n(70646),r9=!1,protectRuntime=function(){if(!r9){r9=!0;var e=new Set(["authenticatedAccounts","serversList","username"]),t=new Proxy(window.localStorage,{get:function(t,n){if("string"==typeof n){if(e.has(n))return console.warn('Access to sensitive key "'.concat(n,'" was blocked')),null;if("getItem"===n)return function(n){return e.has(n)?(console.warn('Access to sensitive key "'.concat(n,'" via getItem was blocked')),null):t.getItem(n)};if("setItem"===n)return function(n,r){if(e.has(n))return void console.warn('Attempt to set sensitive key "'.concat(n,'" via setItem was blocked'));t.setItem(n,r)};if("removeItem"===n)return function(n){if(e.has(n))return void console.warn('Attempt to delete sensitive key "'.concat(n,'" via removeItem was blocked'));t.removeItem(n)};if("clear"===n)return console.warn("Attempt to clear localStorage was blocked"),function(){}}return Reflect.get(t,n)},set:function(t,n,r){return"string"==typeof n&&e.has(n)?(console.warn('Attempt to set sensitive key "'.concat(n,'" was blocked')),!1):Reflect.set(t,n,r)},deleteProperty:function(t,n){return"string"==typeof n&&e.has(n)?(console.warn('Attempt to delete sensitive key "'.concat(n,'" was blocked')),!1):Reflect.deleteProperty(t,n)}});Object.defineProperty(window,"localStorage",{value:t,writable:!1,configurable:!1})}},r7=(0,r2.X3)("mods-db",1,{upgrade:function(e){e.createObjectStore("mods",{keyPath:"name"}),e.createObjectStore("repositories",{keyPath:"url"})}});function saveClientModData(e){return _saveClientModData.apply(this,arguments)}function _saveClientModData(){return(_saveClientModData=(0,eE._)(function(e){var t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return[4,r7];case 1:return t=n.sent(),e.lastUpdated=Date.now(),[4,t.put("mods",e)];case 2:return n.sent(),am.counter++,[2]}})})).apply(this,arguments)}function getPlugin(e){return _getPlugin.apply(this,arguments)}function _getPlugin(){return(_getPlugin=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,r7];case 1:return[2,t.sent().get("mods",e)]}})})).apply(this,arguments)}function getAllMods(){return _getAllMods.apply(this,arguments)}function _getAllMods(){return(_getAllMods=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,r7];case 1:return[2,e.sent().getAll("mods")]}})})).apply(this,arguments)}function deletePlugin(e){return _deletePlugin.apply(this,arguments)}function _deletePlugin(){return(_deletePlugin=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,r7];case 1:return[4,t.sent().delete("mods",e)];case 2:return t.sent(),am.counter++,[2]}})})).apply(this,arguments)}function saveRepository(e){return _saveRepository.apply(this,arguments)}function _saveRepository(){return(_saveRepository=(0,eE._)(function(e){var t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return[4,r7];case 1:return t=n.sent(),e.lastUpdated=Date.now(),[4,t.put("repositories",e)];case 2:return n.sent(),[2]}})})).apply(this,arguments)}function getRepository(e){return _getRepository.apply(this,arguments)}function _getRepository(){return(_getRepository=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,r7];case 1:return[2,t.sent().get("repositories",e)]}})})).apply(this,arguments)}function getAllRepositories(){return _getAllRepositories.apply(this,arguments)}function _getAllRepositories(){return(_getAllRepositories=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,r7];case 1:return[2,e.sent().getAll("repositories")]}})})).apply(this,arguments)}function deleteRepository(e){return _deleteRepository.apply(this,arguments)}function _deleteRepository(){return(_deleteRepository=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,r7];case 1:return[4,t.sent().delete("repositories",e)];case 2:return t.sent(),[2]}})})).apply(this,arguments)}window.getAllRepositories=getAllRepositories,window.mcraft={version:"v2.3.0",build:"2026-09-08T05",ui:{registeredReactWrappers:{},registerReactWrapper:function(e,t,n){var r,a;null!=(r=window.mcraft.ui.registeredReactWrappers)[e]||(r[e]={}),window.mcraft.ui.registeredReactWrappers[e][t]=n}},React:nt,ReactJsxRuntime:tA,ReactDOM:rY,framerMotion:r6,fileSize:rr,classNames:rt(),valtio:(0,eI._)({},r5,r4)};var ae=(_=(0,eE._)(function(e,t){var n,r,a,o,i,s,l,c,u,d,w,p,h,M,g,m;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:if(!1===e.enabled)return[2,!1];if(protectRuntime(),console.debug("Activating mod ".concat(e.name," (").concat(t,")...")),null!=(n=window).loadedMods||(n.loadedMods={}),window.loadedMods[e.name])return console.warn("Mod is ".concat(e.name," already loaded, skipping activation...")),[2,!1];if(e.stylesGlobal&&((a=document.createElement("style")).textContent=e.stylesGlobal,a.id="mod-".concat(e.name),document.head.appendChild(a)),!e.scriptMainUnstable)return[3,5];o=new Blob([e.scriptMainUnstable],{type:"text/javascript"}),i=URL.createObjectURL(o),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,import(i)];case 2:return null==(s=(u=r.sent()).default)||s.call(u,structuredClone(e),{settings:getModSettingsProxy(e)}),null!=(l=window.loadedMods)[c=e.name]||(l[c]={}),window.loadedMods[e.name].mainUnstableModule=u,[3,4];case 3:throw r.sent();case 4:URL.revokeObjectURL(i),r.label=5;case 5:if(!e.threeJsBackend)return[3,10];
1w=new Blob([e.threeJsBackend],{type:"text/javascript"}),p=URL.createObjectURL(w),r.label=6;case 6:return r.trys.push([6,8,,9]),[4,import(p)];case 7:return g=r.sent(),null!=(h=window.loadedMods)[M=e.name]||(h[M]={}),window.loadedMods[e.name].threeJsBackendModule=g,[3,9];case 8:throw r.sent();case 9:URL.revokeObjectURL(p),r.label=10;case 10:return e.enabled=!0,[2,!0]}})}),function(e,t){return _.apply(this,arguments)}),normalizeParentMod=function(e){var t,n,r="parent-mod-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8));return{name:"string"==typeof e.name&&e.name.length>0?e.name:r,version:null!=(t=e.version)?t:"0.0.0",enabled:null==(n=e.enabled)||n,description:e.description,author:e.author,section:e.section,scriptMainUnstable:e.scriptMainUnstable,serverPlugin:e.serverPlugin,stylesGlobal:e.stylesGlobal,threeJsBackend:e.threeJsBackend,requiresNetwork:e.requiresNetwork,fullyOffline:e.fullyOffline,settings:e.settings,actionsMain:e.actionsMain,wasModifiedLocally:e.wasModifiedLocally,autoUpdateOverri
1de:e.autoUpdateOverride,lastUpdated:e.lastUpdated}},at=(L=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return window.parent===window?[2,[]]:[2,new Promise(function(e){var t=!1,cleanup=function(){t||(t=!0,window.removeEventListener("message",handleMessage),window.clearTimeout(n))},handleMessage=function(t){var n=t.data;n&&(void 0===n?"undefined":(0,eR._)(n))==="object"&&"mwc:modsResponse"===n.type&&(cleanup(),e(Array.isArray(n.mods)?n.mods:[]))},n=window.setTimeout(function(){cleanup(),e([])},5e4);window.addEventListener("message",handleMessage),window.parent.postMessage({type:"mwc:modsRequest"},"*")})]})}),function(){return L.apply(this,arguments)}),an=(C=(0,eE._)(function(){var e,t,n,r,a,o,i,s,l,c,u,d,w,p,h,M;return(0,eB.Jh)(this,function(h){switch(h.label){case 0:e=new Set,h.label=1;case 1:if(h.trys.push([1,13,,14]),new URLSearchParams(window.location.search),"1"!==eU.EX.parentFrameMods&&"true"!==eU.EX.parentFrameMods)return[2,e];if(window.parent===window)return console.warn("mods=parent query param detected but no parent frame is available"),[2,e];return[4,at()];case 2:if(!(t=h.sent()).length)return[2,e];n=!0,r=!1,a=void 0,h.label=3;case 3:h.trys.push([3,10,11,12]),o=t[Symbol.iterator](),h.label=4;case 4:if(n=(i=o.next()).done)return[3,9];s=i.value,h.label=5;case 5:return h.trys.push([5,7,,8]),[4,ae(l=normalizeParentMod(s),"parent-frame")];case 6:return h.sent()&&e.add(l.name),[3,8];case 7:return c=h.sent(),p=null!=(w=null==s?void 0:s.name)?w:"parent-frame-mod",null!=(u=ai)[d=p]||(u[d]=[]),ai[p].push("parent-frame: ".concat(String(c))),console.error("Error activating parent-frame mod ".concat(p,":"),c),[3,8];case 8:return n=!0,[3,4];case 9:return[3,12];case 10:return M=h.sent(),r=!0,a=M,[3,12];case 11:try{n||null==o.return||o.return()}finally{if(r)throw a}return[7];case 12:return[3,14];case 13:return console.error("Error loading mods from parent frame",h.sent()),[3,14];case 14:return[2,e]}})}),function(){return C.apply(this,arguments)}),ar=(j=(0,eE._)(function(){var e,t,n,r,a,o,i,s,l,c,u,d,w,p;return(0,eB.Jh)(this,function(h){switch(h.label){case 0:return aw(),a=Object.entries(null==(t=window.mcraft)||null==(e=t.ui)?void 0:e.registeredReactWrappers).reduce(function(e,t){var n=(0,eO._)(t,2);return e+Object.keys((n[0],n[1])).length},0),[4,an()];case 1:return o=h.sent(),[4,getAllMods()];case 2:i=h.sent(),s=!0,l=!1,c=void 0,h.label=3;case 3:h.trys.push([3,8,9,10]),u=function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if(e=w.value,o.has(e.name))return[2,"continue"];return[4,ae(e,"autostart").catch(function(t){var n,r;null!=ai[n=e.name]||(ai[n]=[]),ai[e.name].push("startup: ".concat(String(t))),console.error("Error activating mod on startup ".concat(e.name,":"),t)})];case 1:return t.sent(),[2]}})},d=i[Symbol.iterator](),h.label=4;case 4:if(s=(w=d.next()).done)return[3,7];return[5,(0,eB.XA)(u())];case 5:h.sent(),h.label=6;case 6:return s=!0,[3,4];case 7:return[3,10];case 8:return p=h.sent(),l=!0,c=p,[3,10];case 9:try{s||null==d.return||d.return()}finally{if(l)throw c}return[7];case 10:return as.state=Object.entries(null==(r=window.mcraft)||null==(n=r.ui)?void 0:n.registeredReactWrappers).reduce(function(e,t){var n=(0,eO._)(t,2);return e+Object.keys((n[0],n[1])).length},0)!==a,al.state=!0,[2]}})}),function(){return j.apply(this,arguments)}),aa=(0,td.sj)({}),ao=(0,td.sj)({}),ai=(0,td.sj)({}),as=(0,td.sj)({state:!1}),al=(0,td.sj)({state:!1}),normalizeRepoUrl=function(e){return e.startsWith("https://")||e.startsWith("http://")?e:e.startsWith("//")?"https:".concat(e):"https://raw.githubusercontent.com/".concat(e,"/master")},ac=(D=(0,eE._)(function(e,t){var n,r,a,o,i=arguments;return(0,eB.Jh)(this,function(s){switch(s.label){case 0:n=!(i.length>2)||void 0===i[2]||i[2],r=i.length>3?i[3]:void 0,s.label=1;case 1:var l;if(s.trys.push([1,14,,15]),l=(0,eE._)(function(n){var r,a,o,i,s,l,c,u,d,w,p,h;return(0,eB.Jh)(this,function(M){switch(M.label){case 0:r=[],a=!0,o=!1,i=void 0,M.label=1;case 1:M.trys.push([1,9,10,11]),s=n[Symbol.iterator](),M.label=2;case 2:if(a=(l=s.next()).done)return[3,8];c=l.value,u=t.name.split(".").pop(),d=!1===e.prefix?u:"string"==typeof e.prefix?"".concat(e.prefix,"/").concat(u):t.name,w=new URL("".concat(d,"/").concat(c),normalizeRepoUrl(e.url).replace(/\/$/,"")+"/").href,M.label=3;case 3:return M.trys.push([3,6,,7]),[4,fetch(w)];case 4:if(!(p=M.sent()).ok)throw Error("Failed to fetch ".concat(w,": ").concat(p.status," ").concat(p.statusText));return[4,p.text()];case 5:return[2,M.sent()];case 6:throw M.sent();case 7:return a=!0,[3,2];case 8:return[3,11];case 9:return h=M.sent(),o=!0,i=h,[3,11];case 10:try{a||null==s.return||s.return()}finally{if(o)throw i}
1return[7];case 11:return console.warn("[".concat(t.name,"] Error installing component of ").concat(n[0],": ").concat(r.join(", "))),[2,void 0]}})}),a=function(e){return l.apply(this,arguments)},!t.stylesGlobal)return[3,3];return[4,null==r?void 0:r.executeWithMessage("Downloading ".concat(t.name," styles"),(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,a(["global.css"])];case 1:return t.stylesGlobal=e.sent(),[2]}})}))];case 2:s.sent(),s.label=3;case 3:if(!t.scriptMainUnstable)return[3,5];return[4,null==r?void 0:r.executeWithMessage("Downloading ".concat(t.name," script"),(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,a(["mainUnstable.js"])];case 1:return t.scriptMainUnstable=e.sent(),[2]}})}))];case 4:s.sent(),s.label=5;case 5:if(!t.threeJsBackend)return[3,7];return[4,null==r?void 0:r.executeWithMessage("Downloading ".concat(t.name," three.js backend"),(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,a(["three.js"])];case 1:return t.threeJsBackend=e.sent(),[2]}})}))];case 6:s.sent(),s.label=7;case 7:if(!t.serverPlugin)return[3,9];if(t.name.endsWith(".disabled"))throw Error("Mod name ".concat(t.name," can't end with .disabled"));return[4,null==r?void 0:r.executeWithMessage("Downloading ".concat(t.name," server plugin"),(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,a(["serverPlugin.js"])];case 1:return t.serverPlugin=e.sent(),[2]}})}))];case 8:s.sent(),s.label=9;case 9:if(!n)return[3,12];if(!(null==(o=window.loadedMods)?void 0:o[t.name]))return[3,10];return ao[t.name]=!0,[3,12];case 10:return[4,ae(t,"install")];case 11:s.sent(),s.label=12;case 12:return[4,saveClientModData(t)];case 13:return s.sent(),delete aa[t.name],[3,15];case 14:throw s.sent();case 15:return[2]}})}),function(e,t){return D.apply(this,arguments)}),au=(x=(0,eE._)(function(e){var t,n,r,a,o,i,s;return(0,eB.Jh)(this,function(l){switch(l.label){case 0:t=!0,n=!1,r=void 0,l.label=1;case 1:l.trys.push([1,6,7,8]),a=function(){var t,n;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:return[4,getPlugin((t=i.value).name)];case 1:return(null==(n=r.sent())?void 0:n.version)&&(0,r8.gt)(t.version,n.version)&&(aa[t.name]=[n.version,t.version],"always"!==tr.YM.modsAutoUpdate||e.autoUpdateOverride||n.autoUpdateOverride||ac(e,t).catch(function(e){console.error("Error updating mod ".concat(t.name,":"),e)})),[2]}})},o=e.packages[Symbol.iterator](),l.label=2;case 2:if(t=(i=o.next()).done)return[3,5];return[5,(0,eB.XA)(a())];case 3:l.sent(),l.label=4;case 4:return t=!0,[3,2];case 5:return[3,8];case 6:return s=l.sent(),n=!0,r=s,[3,8];case 7:try{t||null==o.return||o.return()}finally{if(n)throw r}return[7];case 8:return[2]}})}),function(e){return x.apply(this,arguments)}),ad=(k=(0,eE._)(function(e,t){var n,r,a,o,i=arguments;return(0,eB.Jh)(this,function(s){switch(s.label){case 0:i.length>2&&void 0!==i[2]&&i[2],n=normalizeRepoUrl(t).replace(/\/$/,"")+"/mcraft-repo.json",s.label=1;case 1:var l;return s.trys.push([1,4,,5]),[4,fetch(n).then((l=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){return[2,e.json()]})}),function(e){return l.apply(this,arguments)}))];case 2:if(!(a=s.sent()).packages)throw Error("No packages field in the response json of the repository: ".concat(n));return[4,getRepository(e)];case 3:return a.autoUpdateOverride=null==(r=s.sent())?void 0:r.autoUpdateOverride,a.url=e,saveRepository(a),am.counter++,[2,!0];case 4:return o=s.sent(),console.warn("Error fetching repository (trying other mirrors) ".concat(t,":"),o),[2,!1];case 5:return[2]}})}),function(e,t){return k.apply(this,arguments)}),af=(T=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,getAllRepositories()];case 1:var t;return[4,Promise.all(e.sent().map((t=(0,eE._)(function(e){var t,n,r,a,o,i,s,l,c,u,d;return(0,eB.Jh)(this,function(w){switch(w.label){case 0:t=[e.url].concat((0,eW._)(e.mirrorUrls||[])),n=!0,r=!1,a=void 0,w.label=1;case 1:w.trys.push([1,6,7,8]),o=t.entries()[Symbol.iterator](),w.label=2;case 2:if(n=(i=o.next()).done)return[3,5];return l=(s=(0,eO._)(i.value,2))[0],c=s[1],u=l===t.length-1,[4,ad(e.url,c,!u)];case 3:if(w.sent())return[3,5];w.label=4;case 4:return n=!0,[3,2];case 5:return[3,8];case 6:return d=w.sent(),r=!0,a=d,[3,8];case 7:try{n||null==o.return||o.return()}finally{if(r)throw a}
1return[7];case 8:return[2]}})}),function(e){return t.apply(this,arguments)})))];case 2:return e.sent(),t2.e1.modsAutoUpdateLastCheck=Date.now(),[2]}})}),function(){return T.apply(this,arguments)}),aw=(N=(0,eE._)(function(){var e,t,n,r,a,o;return(0,eB.Jh)(this,function(i){switch(i.label){case 0:return[4,ap()];case 1:i.sent(),e=!0,t=!1,n=void 0,i.label=2;case 2:return i.trys.push([2,8,9,10]),[4,getAllRepositories()];case 3:r=i.sent()[Symbol.iterator](),i.label=4;case 4:if(e=(a=r.next()).done)return[3,7];return[4,au(a.value)];case 5:i.sent(),i.label=6;case 6:return e=!0,[3,4];case 7:return[3,10];case 8:return o=i.sent(),t=!0,n=o,[3,10];case 9:try{e||null==r.return||r.return()}finally{if(t)throw n}return[7];case 10:return[2]}})}),function(){return N.apply(this,arguments)}),ap=(S=(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if("never"===tr.YM.modsAutoUpdate||(e=t2.e1.modsAutoUpdateLastCheck)&&Date.now()-e<36e5*tr.YM.modsUpdatePeriodCheck)return[2];return[4,af()];case 1:return t.sent(),[2]}})}),function(){return S.apply(this,arguments)}),ah=(z=(0,eE._)(function(e,t,n){var r,a;return(0,eB.Jh)(this,function(o){switch(o.label){case 0:return null==n||n.beginStage("main","Installing ".concat(t)),[4,getRepository(e)];case 1:if(!(r=o.sent()))throw Error("Repository ".concat(e," not found"));if(!(a=r.packages.find(function(e){return e.name===t})))throw Error("Mod ".concat(t," not found in repository ").concat(e));return[4,ac(r,a,void 0,n)];case 2:return o.sent(),null==n||n.endStage("main"),[2]}})}),function(e,t,n){return z.apply(this,arguments)}),aM=(q=(0,eE._)(function(e){var t,n;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return[4,(0,t7.un)("Uninstall mod ".concat(e,"?"),["Yes"])];case 1:if(!n.sent())return[2];return[4,deletePlugin(e)];case 2:return n.sent(),null!=(t=window).loadedMods||(t.loadedMods={}),window.loadedMods[e]&&(delete window.loadedMods[e],ao[e]=!0),delete ai[e],[2]}})}),function(e){return q.apply(this,arguments)}),ag=(E=(0,eE._)(function(e,t){var n,r,a,o,i;return(0,eB.Jh)(this,function(s){switch(s.label){case 0:return[4,getPlugin(e)];case 1:if(!(n=s.sent()))throw Error("Mod ".concat(e," not found"));if(!t)return[3,4];if(n.enabled=!0,null==(r=window.loadedMods)?void 0:r[n.name])return[3,3];return[4,ae(n,"manual")];case 2:s.sent(),s.label=3;case 3:return[3,5];case 4:n.enabled=!1,(null==(a=window.loadedMods)?void 0:a[n.name])&&((null==(o=window.loadedMods[n.name])?void 0:o.threeJsBackendModule)&&(window.loadedMods[n.name].threeJsBackendModule.deactivate(),delete window.loadedMods[n.name].threeJsBackendModule),(null==(i=window.loadedMods[n.name])?void 0:i.mainUnstableModule)&&(window.loadedMods[n.name].mainUnstableModule.deactivate(),delete window.loadedMods[n.name].mainUnstableModule),0===Object.keys(window.loadedMods[n.name]).length&&delete window.loadedMods[n.name]),s.label=5;case 5:return[4,saveClientModData(n)];case 6:return s.sent(),[2]}})}),function(e,t){return E.apply(this,arguments)}),am=(0,td.sj)({counter:0}),av=(I=(0,eE._)(function(){var e,t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:return[4,getAllRepositories()];case 1:return e=a.sent(),[4,getAllMods()];case 2:return n=(t=a.sent()).filter(function(t){return!e.some(function(e){return e.packages.some(function(e){return e.name===t.name})})}),r=function(e){return e.map(function(e){var n,r;return(0,eP._)((0,eI._)({},e),{installed:t.find(function(t){return t.name===e.name}),activated:!!(null==(n=window.loadedMods)?void 0:n[e.name]),installedVersion:null==(r=t.find(function(t){return t.name===e.name}))?void 0:r.version,canBeActivated:e.scriptMainUnstable||e.stylesGlobal})})},[2,{repos:e.map(function(e){return(0,eP._)((0,eI._)({},e),{packages:r(e.packages)})}),modsWithoutRepos:r(n)}]}})}),function(){return I.apply(this,arguments)}),ay=(P=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,(0,t7.un)("Remove repository? Installed mods wont be automatically removed.",["Yes"])];case 1:if(!t.sent())return[2];return[4,deleteRepository(e)];case 2:return t.sent(),am.counter++,[2]}})}),function(e){return P.apply(this,arguments)}),aA=(Y=(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return[4,getAllRepositories()];case 1:return e=n.sent(),[4,(0,t7.un)("Select repository to remove",e.map(function(e){return e.url}))];case 2:if(!(t=n.sent()))return[2];return[4,ay(t)];case 3:return n.sent(),[2]}})}),function(){return Y.apply(this,arguments)}),ab=(O=(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,(0,t7.Pl)("Add repository",{url:{type:"text",label:"Repository URL or slug",placeholder:"github-owner/repo-name"}})];case 1:if(!(e=t.sent().url))return[2];return[4,ad(e,e)];case 2:return t.sent(),[2]}})}),function(){return O.apply(this,arguments)}),a_=(R=(0,eE._)(function(e){var t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return[4,getPlugin(e)];case 1:if(!(t=n.sent()))return[2,null];if(t.serverPlugin)return[2,{content:t.serverPlugin,version:t.version}];return[2,null]}})}),function(e){return R.apply(this,arguments)}),aL=(B=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,getAllMods()];case 1:return[2,e.sent().filter(function(e){return e.serverPlugin})]}})}),function(){return B.apply(this,arguments)});window.inspectInstalledMods=getAllMods;var getAllModsModifiableFields=function(){return[{field:"scriptMainUnstable",label:"Main Thread Script (unstable)",language:"js"},{field:"stylesGlobal",label:"Global CSS Styles",language:"css"},{field:"threeJsBackend",label:"Three.js Renderer Backend Thread",language:"js"},{field:"serverPlugin",label:"Built-in server plugin",language:"js"}]},getModSettingsProxy=function(e){if(!e.settings)return td.sj({});var t=td.sj({}),n=!0,r=!1,a=void 0;try{for(var o,i=Object.entries(e.settings)[Symbol.iterator]();!(n=(o=i.next()).done);
1n=!0){var s,l=(0,eO._)(o.value,2),c=l[0],u=l[1];t[c]=null!=(s=tr.YM["mod-".concat(e.name,"-").concat(c)])?s:u.default}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}return td.Ld(t,function(t){var n=!0,r=!1,a=void 0;try{for(var o,i=t[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var s=o.value,l=(0,eO._)(s,3),c=(l[0],l[1]),u=l[2],d=c[0];tr.YM["mod-".concat(e.name,"-").concat(d)]=u}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}}),t},aC=(U=(0,eE._)(function(e,t,n){var r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,(null==(r=window.loadedMods)?void 0:r[e])[n]()];case 1:return a.sent(),[3,3];case 2:return a.sent(),(0,tv.c0)("Failed to execute ".concat(n),"Problem in ".concat(t," js script of ").concat(e),!0),[3,3];case 3:return[2]}})}),function(e,t,n){return U.apply(this,arguments)}),aj=n(55920),aD=(Q=(0,eE._)(function(){var e,t,n,r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,y,A,b,_,L,C;return(0,eB.Jh)(this,function(j){switch(j.label){case 0:return j.trys.push([0,4,,5]),(t=document.createElement("input")).type="file",t.accept=".json",t.click(),[4,new Promise(function(e){t.onchange=function(){var n;(null==(n=t.files)?void 0:n[0])&&e(t.files[0])}})];case 1:return[4,j.sent().text()];case 2:if(!(null==(e=(n=JSON.parse(j.sent()))._about)?void 0:e.includes("Minecraft Web Client"))&&!confirm("This file does not appear to be a Minecraft Web Client profile. Continue anyway?"))return[2];if(0===Object.keys(r=Object.fromEntries(Object.entries({options:{present:!!n.options,description:"Game settings and preferences"},keybindings:{present:!!n.keybindings,description:"Custom key mappings"},servers:{present:!!n.servers,description:"Saved server list"},username:{present:!!n.username,description:"Username"},proxy:{present:!!n.proxy,description:"Selected proxy server"},proxies:{present:!!n.proxies,description:"Global proxies list"},accountTokens:{present:!!n.accountTokens,description:"Account authentication tokens"}}).filter(function(e){var t=(0,eO._)(e,2);return(t[0],t[1]).present}).map(function(e){var t=(0,eO._)(e,2);return[t[0],t[1]]}))).length)return alert("No compatible data found in the imported file."),[2];return[4,(0,t7.Pl)("Select Data to Import",(0,eI._)({mergeData:{type:"checkbox",label:"Merge with existing data (uncheck to remove old data)",defaultValue:!0}},Object.fromEntries(Object.entries(r).map(function(e){var t=(0,eO._)(e,2);return[t[0],{type:"checkbox",label:t[1].description,defaultValue:!0}]}))))];case 3:if(!(a=j.sent()))return[2];if(o=[],i=a.mergeData,a.options&&n.options){if(i)Object.assign(tr.YM,n.options);else{s=!0,l=!1,c=void 0;try{for(u=Object.keys(tr.YM)[Symbol.iterator]();!(s=(d=u.next()).done);s=!0)(w=d.value)in n.options&&(tr.YM[w]=n.options[w])}catch(e){l=!0,c=e}finally{try{s||null==u.return||u.return()}finally{if(l)throw c}}}o.push("settings")}if(a.keybindings&&n.keybindings){if(i)Object.assign(nT,n.keybindings);else{p=!0,h=!1,M=void 0;try{for(g=Object.keys(nT)[Symbol.iterator]();!(p=(m=g.next()).done);p=!0)v=m.value,delete nT[v]}catch(e){h=!0,M=e}finally{try{p||null==g.return||g.return()}finally{if(h)throw M}}Object.assign(nT,n.keybindings)}o.push("keybindings")}return a.servers&&n.servers&&(i&&t2.e1.serversList?(y=new Set(t2.e1.serversList.map(function(e){return e.ip})),A=n.servers.filter(function(e){return!y.has(e.ip)}),t2.e1.serversList=(0,eW._)(t2.e1.serversList).concat((0,eW._)(A))):t2.e1.serversList=n.servers,o.push("servers")),a.username&&n.username&&(t2.e1.username=n.username,o.push("username")),(a.proxy&&n.proxy||a.proxies&&n.proxies)&&(t2.e1.proxiesData||(t2.e1.proxiesData={proxies:[],selected:""}),a.proxies&&n.proxies&&(i?(b=new Set((0,eW._)(t2.e1.proxiesData.proxies).concat((0,eW._)(n.proxies))),t2.e1.proxiesData.proxies=(0,eW._)(b)):t2.e1.proxiesData.proxies=n.proxies,o.push("proxies list")),a.proxy&&n.proxy&&(t2.e1.proxiesData.selected=n.proxy,o.push("selected proxy"))),a.accountTokens&&n.accountTokens&&(i&&t2.e1.authenticatedAccounts?(_=new Set(t2.e1.authenticatedAccounts.map(function(e){return e.username})),L=n.accountTokens.filter(function(e){return!_.has(e.username)}),t2.e1.authenticatedAccounts=(0,eW._)(t2.e1.authenticatedAccounts).concat((0,eW._)(L))):t2.e1.authenticatedAccounts=n.accountTokens,o.push("account tokens")),alert("Profile imported successfully! Imported data: ".concat(o.join(", "),".\nYou may need to reload the page for some changes to take effect.")),[3,5];case 4:return console.error("Failed to import profile:",C=j.sent()),alert("Failed to import profile: "+(C.message||C)),[3,5];case 5:return[2]}})}),function(){return Q.apply(this,arguments)}),ax=(F=(0,eE._)(function(){var e,t,n,r,a,o,i;return(0,eB.Jh)(this,function(s){switch(s.label){case 0:return[4,(0,t7.Pl)("Export Profile",{profileName:{type:"text"},exportSettings:{type:"checkbox",defaultValue:!0}
1,exportKeybindings:{type:"checkbox",defaultValue:!0},exportServers:{type:"checkbox",defaultValue:!0},saveUsernameAndProxy:{type:"checkbox",defaultValue:!0},exportGlobalProxiesList:{type:"checkbox",defaultValue:!1},exportAccountTokens:{type:"checkbox",defaultValue:!1}})];case 1:return n=s.sent(),r="".concat(n.profileName?"".concat(n.profileName,"-"):"","web-client-profile.json"),a=new Blob([JSON.stringify((0,eI._)({_about:"Minecraft Web Client (mcraft.fun) Profile"},n.exportSettings?{options:(0,tr.Zb)()}:{},n.exportKeybindings?{keybindings:nT}:{},n.exportServers?{servers:t2.e1.serversList}:{},n.saveUsernameAndProxy?{username:t2.e1.username,proxy:null==(e=t2.e1.proxiesData)?void 0:e.selected}:{},n.exportGlobalProxiesList?{proxies:null==(t=t2.e1.proxiesData)?void 0:t.proxies}:{},n.exportAccountTokens?{accountTokens:t2.e1.authenticatedAccounts}:{}),null,2)],{type:"application/json"}),o=URL.createObjectURL(a),(i=document.createElement("a")).href=o,i.download=r,i.click(),URL.revokeObjectURL(o),[2]}})}),function(){return F.apply(this,arguments)}),ak=[tn.ZB,tn.eR],getCurrentGraphicsBackend=function(){var e,t,n="auto"===tr.YM.activeRenderer?ak[0].id:tr.YM.activeRenderer,r=ak.find(function(e){return e.id===n});return{id:n,name:null!=(t=null!=(e=null==r?void 0:r.displayName)?e:n)?t:"<not selected>",backend:r,noFallback:tr.YM.activeRenderer}},aT=(W=(0,eE._)(function(){var e,t,n;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:if(t=(e=getCurrentGraphicsBackend()).backend,n=e.noFallback,t||n||((0,tv.c0)("No backend found for renderer ".concat(tr.YM.activeRenderer),"Falling back to ".concat(ak[0].id),!0),t=ak[0]),nW.backend&&nW.disconnectBackend(),!t)return[3,2];return[4,nW.loadBackend(t)];case 1:r.sent(),r.label=2;case 2:return modalStackUpdateChecks(),[2]}})}),function(){return W.apply(this,arguments)});window.loadBackend=aT;var aN=(V=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return setTimeout(function(){aT()}),watchOptionsAfterViewerInit(),(0,te.VW)(tr.YM,"activeRenderer",(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if(!("world"===nW.currentDisplay&&bot))return[3,2];return nW.resetBackend(!0),[4,aT()];case 1:t.sent(),e=tr.YM.renderDistance,nW.startWithBot(bot,e),t.label=2;case 2:return[2]}})})),[2]})}),function(){return V.apply(this,arguments)}),animLoop=function(){var e=!0,t=!1,n=void 0;try{for(var r,a=nA[Symbol.iterator]();!(e=(r=a.next()).done);e=!0)(0,r.value)()}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}requestAnimationFrame(animLoop)};requestAnimationFrame(animLoop);var aS={render:[{custom:function(){var e=(0,tb.R)(tr.YM).activeRenderer,t=(0,ne.useMemo)(function(){return getCurrentGraphicsBackend()},[e]),n=t.name,r=t.id;return(0,ty.jsx)(rl.Z,{label:"Backend: ".concat(n),inScreen:!0,onClick:(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return[4,(0,t7.un)("Change Renderer (Builtin Graphics Backends)",(0,eW._)(ak.map(function(e){var t;return null!=(t=e.displayName)?t:e.id})).concat(["Disable Graphics Rendering"]),{descriptions:ak.map(function(e){return e.description||e.displayName||""}),hoveredOptionIndex:ak.findIndex(function(e){return e.id===r})})];case 1:if(!(e=n.sent()))return[2];return t=ak.find(function(t){var n;return(null!=(n=t.displayName)?n:t.id)===e}).id,tr.YM.activeRenderer=t,[2]}})})})}},{custom:function(){return(0,ty.jsx)("div",{style:{gridColumn:"span 2",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,ty.jsx)("img",{src:rW,alt:"Renderer logo",style:{width:150,objectFit:"contain"}})})}},{custom:function(){var e=(0,tb.R)(tr.YM).frameLimit,t=(0,eO._)((0,ne.useState)(null),2),n=t[0],r=t[1];return(0,ty.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,ty.jsx)(rH,{style:{width:130},label:"Frame Limit",disabledReason:n?void 0:"press lock button first",unit:e?"fps":"",valueDisplay:e||"VSync",value:e||n+1,min:20,max:n+1,updateValue:function(e){tr.YM.frameLimit=!(e>n)&&e}}),(0,ty.jsx)(rl.Z,{style:{width:20},icon:"pixelarticons:lock-open",onClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,(0,tZ.iG)()];case 1:return r(e.sent()),[2]}})})})]})}}
1,{backgroundRendering:{text:"Background FPS limit"},menuBackgroundMode:{text:"Menu Background"},renderDebug:{}},{custom:function(){return(0,ty.jsx)(Category,{children:"World Settings"})},vanillaLook:{tooltip:"On: Minecraft-style face shading. Off: client’s higher-contrast shading (default)."},rendererWorldPerformance:{text:"World Performance",tooltip:"Controls how many background workers process chunk geometry. Requires app reload to apply.",requiresRestartWhenInGame:!0},rendererMesher:{}},{custom:function(){return(0,ty.jsx)(rl.Z,{label:"Advanced...",onClick:function(){return(0,ta.NZ)("renderer-advanced")},inScreen:!0})}}],"renderer-advanced":[{custom:function(){return(0,ty.jsx)(Category,{children:"Debug Performance"})},renderEntities:{},disableBlockEntityTextures:{text:"No Block Entity Textures",tooltip:"Disables rendering of textures for block entities like signs, banners, heads, and maps"}},{custom:function(){return(0,ty.jsx)(Category,{children:"Other Settings"})},dayCycleAndLighting:{text:"Day Cycle"},newVersionsLighting:{text:"Lighting in Newer Versions"},starfieldRendering:{},keepChunksDistance:{max:5,unit:"",tooltip:"Additional distance to keep the chunks loading before unloading them by marking them as too far"},renderEars:{tooltip:"Enable rendering Deadmau5 ears for all players if their skin contains textures for it"},rendererPerfDebugOverlay:{text:"Performance Debug"}},{custom:function(){return(0,ty.jsx)(rl.Z,{label:"Guide: Disable VSync",onClick:function(){return(0,nB.pz)("https://gist.github.com/zardoy/6e5ce377d2b4c1e322e660973da069cd")},inScreen:!0})}}],main:[{fov:{min:30,max:110,unit:""}},{custom:function(){var e=ta.N_.singleplayer||!ta.N_.gameLoaded;return(0,ty.jsx)(OptionSlider,{item:{type:"slider",id:"renderDistance",text:"Render Distance",unit:"",max:e?16:12,min:1}})}},{custom:function(){return(0,ty.jsx)(rl.Z,{label:"Render...",onClick:function(){return(0,ta.NZ)("render")},inScreen:!0})}},{custom:function(){return(0,ty.jsx)(rl.Z,{label:"Interface...",onClick:function(){return(0,ta.NZ)("interface")},inScreen:!0})}},{custom:function(){return(0,ty.jsx)(rl.Z,{label:"Controls...",onClick:function(){return(0,ta.NZ)("controls")},inScreen:!0})}},{custom:function(){return(0,ty.jsx)(rl.Z,{label:"Sound...",onClick:function(){return(0,ta.NZ)("sound")},inScreen:!0})}},{custom:function(){var e=(0,tb.R)(ni.E3).resourcePackInstalled,t=(0,tb.R)(ta.rl).usingServerResourcePack,n=(0,tb.R)(tr.YM).enabledResourcepack;return(0,ty.jsx)(rl.Z,{label:"Resource Pack: ".concat(t?"SERVER ON":e?n?"ON":"OFF":"NO"),inScreen:!0,onClick:(0,eE._)(function(){var e,t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:if(!ni.E3.resourcePackInstalled)return[3,9];return e=Object.keys,[4,(0,ni.xm)()];case 1:return t=e.apply(Object,[a.sent()])[0],n=[tr.YM.enabledResourcepack?"Disable":"Enable","Uninstall"],[4,(0,t7.un)("Resource Pack ".concat(t," action"),n)];case 2:if(!(r=a.sent()))return[2];if("Disable"!==r)return[3,4];return tr.YM.enabledResourcepack=null,[4,(0,ni.cj)()];case 3:case 5:return a.sent(),[2];case 4:if("Enable"!==r)return[3,6];return tr.YM.enabledResourcepack=t,[4,(0,ni.bP)(t,t,!1,(0,nh.gO)())];case 6:if("Uninstall"!==r)return[3,8];return(0,tM.d8)("Uninstalling texturepack"),[4,(0,ni.i0)()];case 7:a.sent(),(0,tM.d8)(void 0),a.label=8;case 8:return[3,10];case 9:(0,r1.y)("resourcepack"),a.label=10;case 10:return[2]}})})})}},{custom:function(){return(0,ty.jsx)(rl.Z,{label:"Advanced...",onClick:function(){return(0,ta.NZ)("advanced")},inScreen:!0})}},{custom:function(){var e=(0,tb.R)(ta.N_).appConfig,t=(0,tb.R)(aa),n=(0,eO._)((0,ne.useState)([]),2),r=n[0],a=n[1];if((0,ne.useEffect)(function(){getAllMods().then(a)},[]),(null==e?void 0:e.showModsButton)===!1)return null;var o=Object.keys(r.filter(function(e){return e.enabled})).length;return(0,ty.jsx)(rl.Z,{label:"Client Mods: ".concat(o," (").concat(Object.keys(t).length,")"),onClick:function(){return(0,ta.K4)({reactType:"mods"})},inScreen:!0})}},{custom:function(){return(0,ty.jsx)(rl.Z,{label:"VR...",onClick:function(){return(0,ta.NZ)("VR")},inScreen:!0})}},{custom:function(){var e=(0,tb.R)(ta.N_).appConfig;return(null==e?void 0:e.displayLanguageSelector)?(0,ty.jsx)(rl.Z,{label:"Language...",onClick:(0,eE._)(function(){var t,n;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:return[4,(0,t7.un)("Set Language",null!=(t=e.supportedLanguages)?t:[])];case 1:if(!(n=r.sent()))return[2];return tr.YM.language=n.split(" - ")[0],[2]}})}),inScreen:!0}):null}}],interface:[{guiScale:{max:4,min:1,unit:"",delayApply:!0}},{custom:function(){return(0,ty.jsx)(rl.Z,{label:"Inventory & containers...",onClick:function(){return(0,ta.NZ)("inventory")},inScreen:!0})}},{custom:function(){return(0,ty.jsx)(Category,{children:"Chat"})},chatWidth:{max:320,unit:"px"},chatHeight:{max:180,unit:"px"},chatOpacity:{},chatOpacityOpened:{},chatSelect:{text:"Text Select"},chatPingExtension:{},chatAlwaysDisplayTypingIndicator:{text:"Always Show Typing Indicator"}},{custom:function(){return(0,ty.jsx)(Category,{children:"Map"})}
1,showMinimap:{text:"Enable Minimap",enableWarning:"App reload is required to apply this setting"}},{custom:function(){return(0,ty.jsx)(Category,{children:"World"})},highlightBlockColor:{text:"Block Highlight Color"},showHand:{text:"Show Hand"},viewBobbing:{text:"View Bobbing"}},{custom:function(){return(0,ty.jsx)(Category,{children:"Sign Editor"})},autoSignEditor:{text:"Enable Sign Editor"},wysiwygSignEditor:{text:"WYSIWG Editor"}},{custom:function(){return(0,ty.jsx)(Category,{children:"Experimental"})},displayBossBars:{text:"Boss Bars"}},{custom:function(){return(0,ty.jsx)(UiToggleButton,{name:"title",addUiText:!0})}},{custom:function(){return(0,ty.jsx)(UiToggleButton,{name:"chat",addUiText:!0})}},{custom:function(){return(0,ty.jsx)(UiToggleButton,{name:"scoreboard",addUiText:!0})}},{custom:function(){return(0,ty.jsx)(UiToggleButton,{name:"effects",label:"Effects"})}},{custom:function(){return(0,ty.jsx)(UiToggleButton,{name:"indicators",label:"Game Indicators"})}},{custom:function(){return(0,ty.jsx)(UiToggleButton,{name:"hotbar"})}},{custom:function(){return(0,ty.jsx)(Category,{children:"Other"})},displayLoadingMessages:{}}],controls:[{custom:function(){return(0,ty.jsx)(Category,{children:"Keyboard & Mouse"})}},{custom:function(){return(0,ty.jsx)(rl.Z,{inScreen:!0,onClick:function(){(0,ta.K4)({reactType:"keybindings"})},children:"Keybindings"})},mouseSensX:{},mouseSensY:{min:-1,valueText:function(e){return -1===e?"Same as X":"".concat(e)}},mouseRawInput:{tooltip:"Wether to disable any mouse acceleration (MC does it by default). Most probably it is still supported only by Chrome.",disabledReason:document.documentElement.requestPointerLock?void 0:"Your browser does not support pointer lock."},autoFullScreen:{tooltip:"Auto Fullscreen allows you to use Ctrl+W and Escape having to wait/click on screen again.",disabledReason:navigator.keyboard?void 0:"Your browser doesn't support keyboard lock API"},autoExitFullscreen:{tooltip:"Exit fullscreen on escape (pause menu open). But note you can always do it with F11."}},{custom:function(){return(0,ty.jsx)(Category,{children:"Touch Controls"})},alwaysShowMobileControls:{text:"Always Mobile Controls"},autoDisplayRotation:{text:"Auto Landscape Rotation",tooltip:"On portrait screens, automatically rotate the game to landscape layout (same as the rotate button)."},touchButtonsSize:{min:40,disableIf:["touchMovementType","modern"]},touchButtonsOpacity:{min:10,max:90,disableIf:["touchMovementType","modern"]},touchButtonsPosition:{max:80,disableIf:["touchMovementType","modern"]},touchMovementType:{text:"Movement Controls"},touchInteractionType:{text:"Interaction Controls"}},{custom:function(){var e=(0,tb.R)(tr.YM),t=e.touchInteractionType,n=e.touchMovementType;return(0,ty.jsx)(rl.Z,{label:"Setup Touch Buttons",onClick:function(){return(0,ta.K4)({reactType:"touch-buttons-setup"})},inScreen:!0,disabled:"classic"===t&&"classic"===n})}},{custom:function(){return(0,ty.jsx)(Category,{children:"Auto Jump"})},autoJump:{disableIf:["autoParkour",!0]}
1,autoParkour:{}}],sound:[{volume:{}},{custom:function(){return(0,ty.jsx)(OptionSlider,{valueOverride:tr.YM.enableMusic?void 0:0,onChange:function(e){tr.YM.musicVolume=e},item:{type:"slider",id:"musicVolume",text:"Music Volume",min:0,max:100,unit:"%"}})}},{custom:function(){return(0,ty.jsx)(rl.Z,{label:"Sound Muffler",onClick:function(){return(0,ta.K4)({reactType:"sound-muffler"})},inScreen:!0})}}],VR:[{custom:function(){return(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)("span",{style:{fontSize:9,display:"flex",justifyContent:"center",alignItems:"center"},children:"VR currently has basic support"}),(0,ty.jsx)("div",{})]})},vrSupport:{},vrPageGameRendering:{text:"Page Game Rendering",tooltip:"Wether to continue rendering page even when vr is active."}}],advanced:[{custom:function(){return(0,ty.jsx)(rl.Z,{inScreen:!0,onClick:function(){rV()},children:"Reset settings"})}},{custom:function(){return(0,ty.jsx)(rl.Z,{inScreen:!0,onClick:function(){confirm("Are you sure you want to remove all data (settings, keybindings, servers, username, auth, proxies)?")&&(0,r1.DL)()},children:"Remove all data"})}},{custom:function(){return(0,ty.jsx)(rl.Z,{label:"Export/Import...",onClick:function(){return(0,ta.NZ)("export-import")},inScreen:!0})}},{custom:function(){var e=(0,tb.R)(t2.e1).cookieStorage;return(0,ty.jsx)(rl.Z,{label:"Storage: ".concat(e?"Synced Cookies":"Local Storage"),onClick:function(){t2.e1.cookieStorage=!e,alert("Reload the page to apply this change")},inScreen:!0})}},{custom:function(){return(0,ty.jsx)(Category,{children:"Server Connection"})}},{serverResourcePacks:{},saveLoginPassword:{tooltip:"Controls whether to save login passwords for servers in this browser memory."}},{custom:function(){var e,t=(0,tb.R)(tr.YM).serversAutoVersionSelect,n=(0,eW._)((0,eW._)(aj.ZP).sort(function(e,t){return(0,rF.U)(e)-(0,rF.U)(t)})).concat(["latest","auto"]),r=n.indexOf(t);return(0,ty.jsx)("div",{style:{display:"flex",justifyContent:"space-between"},children:(0,ty.jsx)(rH,{style:{width:150},label:"Default Version",title:"First version to try to connect with",value:r,min:0,max:n.length-1,unit:"",valueDisplay:(e=(0,n7.getVersionAutoSelect)(t),"latest"===t?"latest (".concat(e,")"):"auto"===t?"auto (".concat(e,")"):t),updateValue:function(e){tr.YM.serversAutoVersionSelect=n[e]}})})}},{preventBackgroundTimeoutKick:{},preventSleep:{text:"Prevent Device Sleep",disabledReason:navigator.wakeLock?void 0:"Your browser does not support wake lock API",enableWarning:"When connected to a server, prevent PC from sleeping or screen dimming. Useful for purpusely staying AFK for long time. Some events might still prevent this like loosing tab focus or going low power mode."}},{custom:function(){return(0,ty.jsx)(Category,{children:"Developer"})}},{custom:function(){var e=(0,tb.R)(r3.bl).active;return(0,ty.jsxs)(rl.Z,{inScreen:!0,onClick:function(){r3.bl.active=!e},children:[e?"Stop":"Start"," Packets Replay Logging"]})}},{custom:function(){var e=(0,tb.R)(r3.bl),t=(e.active,e.hasRecordedPackets);return(0,ty.jsx)(rl.Z,{disabled:!t,inScreen:!0,onClick:function(){(0,r3.G_)()},children:"Download Packets Replay"})}},{packetsLoggerPreset:{text:"Packets Logger Preset"}},{debugContro:{text:"Debug Controls"}},{debugResponseTimeIndicator:{text:"Debug Input Lag"}},{debugChatScroll:{}}],"export-import":[{custom:function(){return(0,ty.jsx)(Category,{children:"Export/Import Data"})}},{custom:function(){return(0,ty.jsx)(rl.Z,{inScreen:!0,onClick:aD,children:"Import Data"})}},{custom:function(){return(0,ty.jsx)(rl.Z,{inScreen:!0,onClick:ax,children:"Export Data"})}},{custom:function(){return(0,ty.jsx)(rl.Z,{inScreen:!0,disabled:!0,children:"Export Worlds"})}},{custom:function(){return(0,ty.jsx)(rl.Z,{inScreen:!0,disabled:!0,children:"Export Resource Pack"})}}],inventory:[{custom:function(){return(0,ty.jsx)(Category,{children:"Inventory & containers"})}},{custom:function(){var e=(0,tb.R)(tr.YM).inventoryJei,t=!1===e||Array.isArray(e)&&0===e.length,n=t?"Off":!0===e?"On":"Partial";return(0,ty.jsx)(rl.Z,{inScreen:!0,label:"JEI sidebar: ".concat(n),title:"Recipe/item list beside the inventory (chests, crafting, player inventory, etc.). Click toggles JEI fully on or off; Partial means per-game-mode filtering is set (e.g. from advanced settings).",onClick:function(){tr.YM.inventoryJei=!!t}})}},{inventoryNotes:{text:"Side notes panel",tooltip:"Show extra note slots in container UIs where supported."}},{inventoryPlaceholders:{text:"Slot hints",tooltip:"Show placeholder hints in empty inventory slots when supported."}},{inventoryPlayerModel:{text:"Dynamic player preview",tooltip:"Show the rotating player model in the survival inventory when supported."}},{unimplementedContainers:{text:"Try unknown containers",tooltip:"If the server opens a container type the client does not implement yet, show a generic chest-style UI instead of failing."}}]},Category=function(e){var t=e.children;return(0,ty.jsx)("div",{style:{fontSize:9,textAlign:"center",gridColumn:"span 2"},children:t})},UiToggleButton=function(e){var t=e.name,n=e.addUiText,r=e.label,a=void 0===r?(0,rQ.noCase)(t):r,o=(0,tb.R)(tr.YM).disabledUiParts,i=o.includes(t);return void 0!==n&&n&&(a="".concat(a," UI")),(0,ty.jsxs)(rl.Z,{inScreen:!0,onClick:function(){var e=i?o.filter(function(e){return e!==t}):(0,eW._)(o).concat([t]);tr.YM.disabledUiParts=e},children:[i?"Enable":"Disable"," ",a]})},optionValueToType=function(e,t){var n=th.FP[t];return"boolean"==typeof e||(null==n?void 0:n.possibleValues)&&n.possibleValues.length>0?"toggle":"number"==typeof e?"slider":"string"==typeof e?"element":void 0},az=Object.fromEntries(Object.entries(aS).map(function(e){var t=(0,eO._)(e,2);return[t[0],t[1].flatMap(function(e){return Object.entries(e).map(function(e){var t=(0,eO._)(e,2),n=t[0],r=t[1],a=optionValueToType(tr.YM[n],n);return(0,eI._)({id:"custom"===n?void 0:n,type:a},"custom"===n?{type:"element",render:r}:(0,eI._)({},r))})})]}));function OptionsGroup(e){var t=e.group,n=e.backButtonAction,r=az[t],a="main"===t?"Settings":"".concat((0,rU.Q)(t.replaceAll("-"," "))," Settings");return(0,ty.jsx)(r0,{items:r,title:a,backButtonAction:n})}function OptionsRenderApp(){(0,t_.uM)("options-*");var e,t=(null!=(e=(0,tb.R)(ta.M).at(-1))?e:{}).reactType;if(null==t?void 0:t.startsWith("options-")){var n=t.slice(8);return(0,ty.jsx)(OptionsGroup,{group:n,backButtonAction:ta.kJ})}}n(52691);var aq=n(13432),aE=n(33634),aI=/^https?:\/\//,aP="minecraft_splash_text_cache",limitWords=function(e){var t=e.split(/\s+/);
1return t.length<=5?e:t.slice(0,5).join(" ")+"..."},isRemoteSplashText=function(e){return!!e&&aI.test(e)},aY=(J=(0,eE._)(function(e){var t,n,r,a,o;return(0,eB.Jh)(this,function(i){switch(i.label){case 0:return i.trys.push([0,7,,8]),t=new AbortController,n=setTimeout(function(){return t.abort()},5e3),[4,fetch(e,{signal:t.signal})];case 1:if(r=i.sent(),clearTimeout(n),!r.ok)throw Error("Failed to fetch splash text: ".concat(r.statusText));a=r.clone(),i.label=2;case 2:return i.trys.push([2,4,,6]),[4,r.json()];case 3:if((void 0===(o=i.sent())?"undefined":(0,eR._)(o))==="object"&&null!==o){if(o.title)return[2,limitWords(o.title)];if(o.text)return[2,limitWords(o.text)];if(o.message)return[2,limitWords(o.message)];return[2,limitWords(JSON.stringify(o))]}return[2,limitWords(String(o))];case 4:return i.sent(),[4,a.text()];case 5:return[2,limitWords(i.sent().trim())];case 6:return[3,8];case 7:return console.error("Error loading remote splash text:",i.sent()),[2,"Failed to load splash text!"];case 8:return[2]}})}),function(e){return J.apply(this,arguments)}),cacheSourceUrl=function(e){localStorage.setItem("minecraft_splash_url",e)},clearSplashCache=function(){localStorage.removeItem(aP)},cacheSplashText=function(e){localStorage.setItem(aP,e)};let aO={root:"root-ZQcBnP","game-title":"game-title-HS2Boh",gameTitle:"game-title-HS2Boh",minec:"minec-LtvUe5",minecraft:"minecraft-WAwwet",raft:"raft-pGttvN",edition:"edition-X71qt9",splash:"splash-T86ZOq",splashAnim:"splashAnim-hJpV1p",menu:"menu-AViyuB","menu-row":"menu-row-Ua3i92",menuRow:"menu-row-Ua3i92","bottom-info":"bottom-info-XUJ4_b",bottomInfo:"bottom-info-XUJ4_b","product-description":"product-description-mpFNW4",productDescription:"product-description-mpFNW4","product-link":"product-link-iL2GHi",productLink:"product-link-iL2GHi","maps-provider":"maps-provider-JGaNCh",mapsProvider:"maps-provider-JGaNCh"};function ButtonWithTooltip(e){var t=e.initialTooltip,n=e.alwaysTooltip,r=(0,eY._)(e,["initialTooltip","alwaysTooltip"]),a=t.localStorageKey,o=void 0===a?"firstTimeTooltip":a,i=t.offset,s=(0,eO._)((0,ne.useState)(n||!o||"false"!==localStorage[o]),2),l=s[0],c=s[1];(0,ne.useEffect)(function(){var e,hide=function(){o&&(localStorage[o]="false",c(!1))};return l&&o&&(e=setTimeout(function(){hide()},1e4)),function(){e&&clearTimeout(e),hide()}},[]);var u=(0,ne.useRef)(null),d=(0,rJ.YF)({middleware:[(0,rG.x7)({element:u}),(0,rG.cv)(7+(void 0===i?0:i))],placement:t.placement}),w=d.refs,p=d.floatingStyles,h=d.context;return(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)(rl.Z,(0,eP._)((0,eI._)({},r),{rootRef:w.setReference})),(0,ty.jsxs)("div",{ref:w.setFloating,style:(0,eP._)((0,eI._)({},p),{background:"rgba(0, 0, 0, 0.3)",fontSize:8,pointerEvents:"none",userSelect:"text",padding:"2px 4px",opacity:+!!l,transition:"opacity 0.3s ease-in-out",textShadow:"1px 1px 2px BLACK",zIndex:11}),children:[n||t.content,(0,ty.jsx)(rJ.Y$,{ref:u,context:h,style:{opacity:.7}})]})]})}var useLongPress_preventDefault=function(e){"touches"in e&&e.touches.length<2&&e.preventDefault&&e.preventDefault()};let react_useLongPress=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.shouldPreventDefault,a=void 0!==r&&r,o=n.delay,i=void 0===o?300:o,s=(0,eO._)((0,ne.useState)(!1),2),l=s[0],c=s[1],u=(0,ne.useRef)(),d=(0,ne.useRef)(null),w=(0,ne.useCallback)(function(t){a&&t.target&&(t.target.addEventListener("touchend",useLongPress_preventDefault,{passive:!1}),d.current=t.target),u.current=window.setTimeout(function(){e(),c(!0)},i)},[e,i,a]),p=(0,ne.useCallback)(function(e){u.current&&(clearTimeout(u.current),u.current=void 0),c(!1),a&&d.current&&(d.current.removeEventListener("touchend",useLongPress_preventDefault),d.current=null)},[a,t,l]);return{onMouseDown:function(e){return w(e)},onTouchStart:function(e){return w(e)},onMouseUp:function(e){return p(e)},onMouseLeave:function(e){return p(e)},onTouchEnd:function(e){return p(e)},onClick:function(e){t()}}};var DiscordButton=function(e){var t=e.text,n=e.style,r=[{text:"Support Official Server (mcraft.fun)",clickHandler:function(){return(0,nB.pz)("https://discord.mcraft.fun")}},{text:"Community Server (PrismarineJS)",clickHandler:function(){return(0,nB.pz)("https://discord.gg/prismarinejs-413438066984747026")}}];return(0,ty.jsx)(DropdownButton,{text:null!=t?t:"Discord",style:n,links:r})},DropdownButton=function(e){var t=e.text,n=e.style,r=e.links,a=(0,eO._)((0,ne.useState)(!1),2),o=a[0],i=a[1],s=(0,rJ.YF)({open:o,onOpenChange:i,middleware:[(0,rG.X5)()]}),l=s.refs,c=s.floatingStyles,u=(0,eP._)((0,eI._)({},c),{background:"rgba(0, 0, 0, 0.3)",fontSize:8,userSelect:"text",padding:"2px 4px",opacity:1,transition:"opacity 0.3s ease-in-out",textShadow:"1px 1px 2px BLACK",display:"flex",flexDirection:"column",zIndex:11});return(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsxs)(rl.Z,{style:null!=n?n:{position:"relative",width:"98px"},rootRef:l.setReference,onClick:function(){i(!o)},children:[t,(0,ty.jsx)(tL.Z,{styles:{position:"absolute",top:"5px",right:"5
1px"},iconName:o?tL.K["chevron-up"]:tL.K["chevron-down"]})]}),o&&(0,ty.jsx)("div",{ref:l.setFloating,style:u,children:r.map(function(e){return(0,ty.jsx)(rl.Z,{style:{width:"98px",fontSize:"7px"},onClick:e.clickHandler,children:e.text},e.text)})})]})};let aR={pause_container:"pause_container-lI8D2f",row:"row-IKim4t"};function PauseLinkButtonsInner(){var e=(0,tb.R)(ta.N_).appConfig,t=null==e?void 0:e.pauseLinks;if(!t)return null;var renderButton=function(e,t,n){if("discord"===e.type)return(0,ty.jsx)(DiscordButton,{style:t,text:e.text},n);if("github"===e.type){var r;return(0,ty.jsx)(rl.Z,{className:"button",style:t,onClick:function(){return(0,tZ.G)()},children:null!=(r=e.text)?r:"GitHub"},n)}return"url"===e.type&&e.text?(0,ty.jsx)(rl.Z,{className:"button",style:t,onClick:function(){return(0,nB.pz)(e.url)},children:e.text},n):null};return(0,ty.jsx)(ty.Fragment,{children:t.map(function(e,t){var n={width:204/e.length-4*(e.length>1)+"px"};return(0,ty.jsx)("div",{className:aR.row,children:e.map(function(e,t){return renderButton(e,n,t)})},t)})})}function PauseLinkButtons(){return(0,ty.jsx)(rc.SV,{renderError:function(e){return console.error(e),null},children:(0,ty.jsx)(PauseLinkButtonsInner,{})})}function CreditsBookButton(){return(0,ty.jsx)("button",{className:"creditsButton-u6wIA8",onClick:function(){(0,ta.K4)({reactType:"credits-about"})},"aria-label":"Credits",title:"Credits",children:(0,ty.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,ty.jsx)("path",{d:"M15.4375 15.1238L15.625 15.3113V16.8113L15.4375 16.9988H14.6875L14.5 16.8113V16.4363L14.3125 16.2488H12.8125L12.625 16.0613V15.3113L12.4375 15.1238H10.9375L10.75 14.9363V14.1863L10.5625 13.9988H7.9375L7.75 14.1863V14.9363L7.5625 15.1238H6.0625L5.875 15.3113V16.0613L5.6875 16.2488H4.1875L4 16.4363V16.8113L3.8125 16.9988H3.0625L2.875 16.8113V15.3113L3.0625 15.1238H3.4375L3.625 14.9363V13.8113L3.8125 13.6238H4.1875L4.375 13.4363V11.9363L4.5625 11.7488H4.9375L5.125 11.5613V10.0613L4.9375 9.87384H4.1875L4 9.68634V8.93634L3.8125 8.74884H2.6875L2.5 8.56134V7.81134L2.3125 7.62384H1.1875L1 7.43634V6.68634L1.1875 6.49884H6.63738L6.82488 6.31134V5.61543V4.60586L7.01238 4.41836H7.5625L7.75 4.23086V2.6875L7.9375 2.5H8.43022L8.61772 2.3125V1.1875L8.80522 1H9.66735L9.85485 1.1875V2.3125L10.0424 2.5H10.5625L10.75 2.6875V4.23086L10.9375 4.41836H11.4375L11.625 4.60586V6.31134L11.8125 6.49884H17.3125L17.5 6.68634V7.43634L17.3125 7.62384H16.1875L16 7.81134V8.56134L15.8125 8.74884H14.6875L14.5 8.93634V9.68634L14.3125 9.87384H13.5625L13.375 10.0613V11.5613L13.5625 11.7488H13.9375L14.125 11.9363V13.4363L14.3125 13.6238H14.6875L14.875 13.8113V14.9363L15.0625 15.1238H15.4375Z",fill:"#FFD700"})})})}var aB=/^https?:\/\//;let aU=(0,ru.K)(function(e){var t=e.connectToServerAction,n=e.mapsProvider,r=e.singleplayerAction,a=e.optionsAction,o=(e.githubAction,e.openFileAction),i=e.versionText,s=e.onVersionTextClick,l=e.versionStatus,c=e.versionTitle,u=e.onVersionStatusClick,d=e.bottomRightLinks,w=e.singleplayerAvailable,p=(0,tb.R)(ta.N_).appConfig,h=(0,ne.useMemo)(function(){var e=localStorage.getItem(aP),t=null==p?void 0:p.splashText,n=t&&isRemoteSplashText(t),r=n?t:t||"";if(localStorage.getItem("minecraft_splash_url")!==r)clearSplashCache(),cacheSourceUrl(r);else if(e)return e;return!n&&t&&""!==t.trim()?(cacheSplashText(t),t):(null==p?void 0:p.splashTextFallback)||""},[]);(0,ne.useEffect)(function(){var e=null==p?void 0:p.splashText;e&&isRemoteSplashText(e)&&aY(e).then(function(e){e&&""!==e.trim()&&!e.includes("Failed to load")&&cacheSplashText(e)}).catch(function(e){console.error("Failed to preload splash text for next session:",e)})},[null==p?void 0:p.splashText]),(null==d?void 0:d.trim())||(d=void 0);var M=null==d?void 0:d.split(/;|\n/g).map(function(e){var t=e.split(":");return[t[0],t.slice(1).join(":")]}),g=react_useLongPress(function(){window.location.href=window.location.pathname+"?sp=1"},function(){return null==r?void 0:r(null)},{delay:500}),m=react_useLongPress(function(){var e=new Date("2026-09-08T05:00:00.000Z"),t=e?Math.round((Date.now()-e.getTime())/36e5):null;
1alert("BUILD DATE:\n".concat((null==e?void 0:e.toLocaleString())||"Development build").concat(t?"\nBuilt ".concat(t," hours ago"):""))},function(){return null==s?void 0:s()}),v=react_useLongPress(function(){},function(){return null==t?void 0:t(null)},{delay:500});return(0,ty.jsxs)("div",{className:aO.root,children:[(0,ty.jsx)("div",{className:aO["game-title"],children:(0,ty.jsxs)("div",{className:aO.minecraft,children:[(0,ty.jsx)("div",{className:aO.edition}),(0,ty.jsx)("span",{className:aO.splash,children:h})]})}),(0,ty.jsxs)("div",{className:aO.menu,children:[(0,ty.jsx)(ButtonWithTooltip,(0,eP._)((0,eI._)({initialTooltip:{content:"Connect to Java servers!",placement:"top"}},v),{"data-test-id":"servers-screen-button",children:"Connect to server"})),(0,ty.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,ty.jsx)(ButtonWithTooltip,(0,eP._)((0,eI._)({style:{width:150}},g),{"data-test-id":"singleplayer-button",disabled:!(void 0===w||w),initialTooltip:{content:"Create worlds and play offline",placement:"left",offset:-40},children:"Singleplayer"})),(0,ty.jsx)(ButtonWithTooltip,{disabled:!n,icon:tL.K.map,initialTooltip:{content:"Explore maps to play from provider!",placement:"top-start"},onClick:function(){return n&&(0,nB.pz)(aB.test(n)?n:"https://"+n,!1)}}),(0,ty.jsx)(ButtonWithTooltip,{"data-test-id":"select-file-folder",icon:tL.K.folder,onClick:o,initialTooltip:{content:"Load any Java world save"+((0,tZ.kl)()?"":" (zip)!"),placement:"bottom-start"}})]}),(0,ty.jsx)(rl.Z,{onClick:a,children:"Options"}),(0,ty.jsx)("div",{className:aO["menu-row"],children:(0,ty.jsx)(PauseLinkButtons,{})}),(0,ty.jsx)(CreditsBookButton,{})]}),(0,ty.jsxs)("div",{className:aO["bottom-info"],children:[(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:2},children:[(0,ty.jsx)("span",(0,eP._)((0,eI._)({style:{fontSize:10,color:"gray"}},m),{children:i})),(0,ty.jsxs)("span",{title:"".concat(c," (click to reload)"),onClick:u,className:aO["product-info"],children:[(0,ty.jsx)("span",{style:{position:"absolute",left:"-9999px",width:"1px",height:"1px",overflow:"hidden",clip:"rect(1px, 1px, 1px, 1px)",whiteSpace:"nowrap"},children:"Prismarine Web Client"}),"V2 Presented by Sandexzx ",l]})]}),(0,ty.jsxs)("span",{className:aO["product-description"],children:[(0,ty.jsx)("div",{className:aO["product-link"],children:null==M?void 0:M.map(function(e,t,n){var r=(0,eO._)(e,2),a=r[0],o=r[1];o.startsWith("http")||(o="https://".concat(o));var i=o;return(0,ty.jsxs)("div",{style:{color:"lightgray",fontSize:8},children:[(0,ty.jsx)("a",{style:{whiteSpace:"nowrap",cursor:"pointer"},onClick:function(e){e.preventDefault(),(0,nB.pz)(i,!1)},children:a},a),t<n.length-1&&(0,ty.jsx)("span",{style:{marginLeft:2},children:"\xb7"})]})})}),(0,ty.jsx)("span",{children:null==p?void 0:p.rightSideText})]})]})]})},"mainMenu");var isMainMenu=function(){return 0===ta.M.length&&!ta.N_.gameLoaded},aQ=(G=(0,eE._)(function(){var e,t,n,r,a=arguments;return(0,eB.Jh)(this,function(o){switch(o.label){case 0:e=a.length>0&&void 0!==a[0]&&a[0],o.label=1;case 1:return o.trys.push([1,9,,10]),[4,navigator.serviceWorker.getRegistration()];case 2:if(!(t=o.sent()))return[3,6];return[4,null==(n=window.clients)?void 0:n.matchAll()];case 3:return[4,Promise.all((o.sent()||[]).map(function(e){return e.postMessage("SKIP_WAITING")}))];case 4:return o.sent(),t.waiting&&t.waiting.postMessage("SKIP_WAITING"),[4,Promise.race([t.unregister(),new Promise(function(e,t){setTimeout(function(){return t(Error("SW unregister timeout"))},3e3)})]).catch(function(e){console.warn("SW unregister error:",e),isMainMenu()&&alert("Failed to unregister SW: "+e)})];case 5:o.sent(),o.label=6;case 6:if(!e)return[3,8];return[4,new Promise(function(e){setTimeout(e,2e3)})];case 7:o.sent(),o.label=8;case 8:if(!isMainMenu())return[2];return e?(sessionStorage.justReloaded=!1,location.search="?update=true"):(window.justReloaded=!0,sessionStorage.justReloaded=!0,window.location.reload()),[3,10];case 9:return console.error("Failed to refresh app:",r=o.sent()),isMainMenu()||(alert("Critical error on refreshApp: "+r),window.location.reload()),[3,10];case 10:return[2]}})}),function(){return G.apply(this,arguments)}),aF=(0,td.sj)({serviceWorkerLoaded:!1}),aW=!1;let aV=(0,ru.K)(function(){var e=(0,tb.R)(ta.M).length,t=(0,tb.R)(ta.N_),n=t.gameLoaded,r=t.fsReady,a=t.appConfig,o=t.singleplayerAvailable,i=(0,tb.R)(al).state,s=e||n||!r||!i;(0,ne.useEffect)(function(){s&&r&&(aW=!0)},[s]);var l=(0,eO._)((0,ne.useState)(""),2),c=l[0],u=l[1],d=(0,eO._)((0,ne.useState)(""),2),w=d[0],p=d[1];(0,ne.useEffect)(function(){var e;fetch("./version.txt").then((e=(0,eE._)(function(e){var t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:if(404===e.status)return[2];return[4,e.text()];case 1:if(!(n="2026-09-08T05"===(t=a.sent()))&&sessionStorage.justReloaded)return u("(force reloading, wait)"),aQ(!0),[2];return r=function(){u("(".concat(n?"latest":"new version available").concat(aF.serviceWorkerLoaded?", Downloaded":"",")"))},(0,td.Ld)(aF,r),r(),p("Loaded: ".concat("2026-09-08T05",". Remote: ").concat(t)),[2]}})}),function(t){return e.apply(this,arguments)}),function(){u("(offline)")})},[]);var h=(null==a?void 0:a.mapsProvider)&&new URL(null==a?void 0:a.mapsProvider);return h&&"https://mcraft.fun"!==location.origin&&h.searchParams.set("to",location.href),(0,ty.jsx)(aq.M,{children:!s&&(0,ty.jsx)(aE.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.1*!aW,ease:"easeInOut"},children:(0,ty.jsx)(aU,{singleplayerAvailable:o,connectToServerAction:function(){return(0,ta.K4)({reactType:"serversList"})},singleplayerAction:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return(0,ta.K4)({reactType:"singleplayer"}),[2]})}),githubAction:function(){return(0,tZ.G)()},optionsAction:function(){return(0,ta.NZ)("main")},bottomRightLinks:"NEW! FUTURISTIC VER.:https://arwes.mcraft.fun\r\nOfficial Discord:https://discord.gg/vMjfCeHthg\r\nTG:https://t.me/mcraft_fun",openFileAction:function(e){window.showDirectoryPicker&&!e.shiftKey?(0,r1.PM)():(0,r1.y)()},mapsProvider:null==h?void 0:h.toString(),versionStatus:c,versionTitle:w,onVersionStatusClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return u("(reloading)"),[4,aQ()];case 1:return e.sent(),[2]}})}),onVersionTextClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return(0,tZ.G)("/releases/v2.3.0"),[2]})}),versionText:"v2.3.0"})})})},"mainMenuProvider");n(16839);var aJ=n(94676),aG=n(62005),aH=n.n(aG),aZ=n(34210),aK=n.n(aZ),aX=n(7543),a$=n(74210),a0=n.n(a$),a1=n(55872).Buffer,a3=function(e){function CustomDuplex(e,t){var n;return(0,tj._)(this,CustomDuplex),(n=(0,n4._)(this,CustomDuplex,[e])).writeAction=t,n}(0,n6._)(CustomDuplex,e);var t=CustomDuplex.prototype;return t._read=function(){},t._write=function(e,t,n){this.writeAction(e),n()},CustomDuplex}(rA.Duplex),a2=null,getJoinLink=function(){if(eT){var e,t=new URL(window.location.href),n=!0,r=!1,a=void 0;try{for(var o,i,s=t.searchParams.keys()[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var l=i.value;t.searchParams.delete(l)}}catch(e){r=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw a}}t.searchParams.set("connectPeer",eT.id),t.searchParams.set("peerVersion",localServer.options.version);var c=null!=(e=null!=a2?a2:null==(o=ta.N_.appConfig)?void 0:o.peerJsServer)?e:void 0;return c&&t.searchParams.set("server",c),t.toString()}},a5=(H=(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if(ta.N_.wanOpened=!0,e=getJoinLink(),!navigator.clipboard)return[3,2];return[4,navigator.clipboard.writeText(e)];case 1:return t.sent(),[3,3];case 2:window.prompt("Copy to clipboard: Ctrl+C, Enter",e),t.label=3;case 3:return[2]}})}),function(){return H.apply(this,arguments)}),a4=(Z=(0,eE._)(function(e){var t,n,r,a,o,i,s,l,c,u,d,w,p=arguments;return(0,eB.Jh)(this,function(h){switch(h.label){case 0:if(t=!(p.length>1)||void 0===p[1]||p[1],!localServer)return[2];if(!eT)return[3,3];if(!t)return[3,2];return[4,a5()];case 1:h.sent(),h.label=2;case 2:return[2,"Already opened to wan. Join link copied"];case 3:return ta.N_.wanOpening=!0,o=(a=(null!=a2?a2:null==(n=ta.N_.appConfig)?void 0:n.peerJsServer)||void 0)?parseUrl(a):void 0,eT=i=new aX._z((0,eI._)({debug:3,secure:!0},o)),i.on("connection",function(e){console.log("connection");var t,n=new a3({},(t=(0,eE._)(function(t){return(0,eB.Jh)(this,function(n){return[2,e.send(t)]})}),function(e){return t.apply(this,arguments)})),r=new(a0())(!0,localServer.options.version,void 0);r.setSocket(n),localServer._server.emit("connection",r),e.on("data",function(e){n.push(a1.from(e))});var endConnection=function(){console.log("connection.close"),n.end(),e.close()};n.on("end",endConnection),n.on("force-close",endConnection),r.on("end",endConnection);var disconnected=function(){n.end(),r.end()};e.on("iceStateChanged",function(e){console.log("iceStateChanged",e),"disconnected"===e&&disconnected()}),e.on("close",disconnected),e.on("error",disconnected)}),l=(s=null==(r=ta.N_.appConfig)?void 0:r.peerJsServerFallback)&&i.options.host!==s,c=!1,i.on("error",function(t){console.error("peerJS error",t),"server-error"===t.type&&l||(c=!0,e(t.message||JSON.stringify(t)))}),d=function(){clearTimeout(u),u=void 0,i.destroy(),eT=void 0},[4,new Promise(function(n){var r;i.on("open",(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,a5()];case 1:return e.sent(),n("Copied join link to clipboard"),[2]}})})),u=setTimeout((0,eE._)(function(){return(0,eB.Jh)(this,function(r){switch(r.label){case 0:if(!(!c&&void 0!==u))return[3,3];if(!(l&&null===a2))return[3,2];return d(),a2=s,console.log("Trying fallback server due to timeout",s),[4,a4(e,t)];case 1:return n.apply(void 0,[r.sent()]),[3,3];case 2:e("timeout"),n("Failed to open to wan (timeout)"),r.label=3;case 3:return[2]}})}),6e3),i.on("error",(r=(0,eE._)(function(r){return(0,eB.Jh)(this,function(r){switch(r.label){case 0:if(i.open||!l)return[3,2];
1return d(),a2=s,console.log("Trying fallback server",s),[4,a4(e,t)];case 1:n.apply(void 0,[r.sent()]),r.label=2;case 2:return[2]}})}),function(e){return r.apply(this,arguments)}))})];case 4:return w=h.sent(),eT&&!eT.open&&d(),ta.N_.wanOpening=!1,[2,w]}})}),function(e){return Z.apply(this,arguments)}),parseUrl=function(e){e.startsWith("http")||(e="".concat(location.protocol,"//").concat(e));var t=new URL(e),n=t.searchParams.get("key");return(0,eI._)({host:t.hostname,path:t.pathname,protocol:t.protocol.slice(0,-1)},t.port?{port:+t.port}:{},n?{key:n}:{})},closeWan=function(){return null==eT||eT.destroy(),eT=void 0,ta.N_.wanOpened=!1,"Closed WAN"},a6=(K=(0,eE._)(function(e){var t,n,r,a,o,i,s=arguments;return(0,eB.Jh)(this,function(l){switch(l.label){case 0:return t=s.length>1&&void 0!==s[1]?s[1]:{},(0,tM.d8)("Connecting to peer server"),r=(n=t.server)?parseUrl(n):void 0,a=new aX._z((0,eI._)({debug:3},r)),[4,(0,tZ.O1)(new Promise(function(e){a.once("open",e)}))];case 1:return l.sent(),(0,tM.d8)("Connecting to the peer"),o=a.connect(e,{serialization:"raw"}),[4,(0,tZ.O1)(new Promise(function(e,t){o.once("error",function(e){console.log(e.type,e.name),console.log(e),t(e.message)}),o.once("open",e)}))];case 2:return l.sent(),i=new a3({},function(e){o.send(e)}),o.on("data",function(e){console.debug("received",a1.from(e).toString()),i.push(a1.from(e))}),o.on("close",function(){console.log("connection closed"),i.end(),bot.emit("end","Disconnected.")}),o.on("error",function(e){console.error(e),i.end()}),[2,i]}})}),function(e){return K.apply(this,arguments)}),a8=n(80297);function addFolderToZip(e,t,n){return _addFolderToZip.apply(this,arguments)}function _addFolderToZip(){return(_addFolderToZip=(0,eE._)(function(e,t,n){var r,a,o,i,s,l,c,u,d,w,p,h,M;return(0,eB.Jh)(this,function(g){switch(g.label){case 0:return[4,eJ().promises.readdir(e)];case 1:r=g.sent(),a=!0,o=!1,i=void 0,g.label=2;case 2:g.trys.push([2,10,11,12]),s=r[Symbol.iterator](),g.label=3;case 3:if(a=(l=s.next()).done)return[3,9];return c=l.value,u=(0,aG.join)(e,c),[4,eJ().promises.stat(u)];case 4:if(d=g.sent(),w=(0,aG.join)(n,c),!d.isDirectory())return[3,6];return p=t.folder(w),[4,addFolderToZip(u,p,w)];case 5:return g.sent(),[3,8];case 6:return[4,eJ().promises.readFile(u)];case 7:h=g.sent(),t.file(c,h),g.label=8;case 8:return a=!0,[3,3];case 9:return[3,12];case 10:return M=g.sent(),o=!0,i=M,[3,12];case 11:try{a||null==s.return||s.return()}finally{if(o)throw i}return[7];case 12:return[2]}})})).apply(this,arguments)}var a9=(X=(0,eE._)(function(e,t){var n,r,a,o,i,s,l=arguments;return(0,eB.Jh)(this,function(c){switch(c.label){case 0:n=l.length>2&&void 0!==l[2]?l[2]:"world-prismarine-exported",c.label=1;case 1:if(c.trys.push([1,,11,12]),"zip"!==t)return[3,4];return(0,tM.d8)("Generating zip, this may take a few minutes"),[4,addFolderToZip(e,r=new(aK()),"")];case 2:return c.sent(),[4,r.generateAsync({type:"blob"})];case 3:return a=c.sent(),(o=document.createElement("a")).href=URL.createObjectURL(a),o.download="".concat(n,".zip"),o.click(),URL.revokeObjectURL(o.href),[3,10];case 4:return(0,tM.d8)("Preparing export folder"),i="/",[4,eJ().promises.readdir("/export")];case 5:if(!c.sent().length)return[3,8];return[4,(0,t8.C4)(e)];case 6:return s=c.sent().levelDat,[4,(0,r1.vj)(s.LevelName,e)];case 7:i=c.sent(),c.label=8;case 8:return(0,tM.d8)("Copying files to ".concat(i," of selected folder")),[4,(0,r1.ic)(e,"/export"+i)];case 9:c.sent(),c.label=10;case 10:return[3,12];case 11:return(0,tM.d8)(void 0),[7];case 12:return[2]}})}),function(e,t){return X.apply(this,arguments)}),a7=($=(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,(0,tH.kB)()];case 1:return t.sent(),(e=t8.RL.inMemorySavePath).startsWith("/")||(e="/".concat(e)),[4,a9(e,"zip")];case 2:return t.sent(),[2]}})}),function(){return $.apply(this,arguments)});window.exportWorld=a7;var builtinCommands_writeText=function(e){(0,a8.w)(e)},oe=[{command:["/download","/export"],invoke:a7},{command:["/publish","/share"],invoke:function(){return(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,a4(builtinCommands_writeText)];case 1:return(e=t.sent())&&builtinCommands_writeText(e),[2]}})})()}},{command:["/close"],invoke:function(){var e=closeWan();e&&builtinCommands_writeText(e)}},{command:["/save"],invoke:function(){return(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,(0,tH.kB)(!1)];case 1:return e.sent(),builtinCommands_writeText("Saved to browser memory"),[2]}})})()}},{command:["/pos"],alwaysAvailable:!0,invoke:function(e){var t=(0,eO._)(e,1)[0];return(0,eE._)(function(){var e,n,r,a,o;return(0,eB.Jh)(this,function(i){switch(i.label){case 0:if("block"===t?(r=null==(n=window.cursorBlockRel())?void 0:n.position)&&(e={x:r.x,y:r.y,z:r.z}):e={x:(a=bot.entity.position).x,y:a.y,z:a.z},!e)return[2];return o="".concat(e.x.toFixed(2)," ").concat(e.y.toFixed(2)," ").concat(e.z.toFixed(2)),[4,navigator.clipboard.writeText(o)];
1case 1:return i.sent(),builtinCommands_writeText("Copied position to clipboard: ".concat(o)),[2]}})})()}},{command:["/mesherlog"],alwaysAvailable:!0,invoke:function(){var e;null==(e=(0,tt.z)())||e.downloadMesherLog()}}],tryHandleBuiltinCommand=function(e){var t=(0,aJ._)(e.split(" ")),n=t[0],r=t.slice(1),a=!0,o=!1,i=void 0;try{for(var s,l=oe.filter(function(e){return e.alwaysAvailable||ta.N_.singleplayer})[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;if(c.command.includes(n))return c.invoke(r),!0}}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}},ot=n(11434),on="137156026346-igv2gkjsj2hlid92rs3q7cjjnc77s132.apps.googleusercontent.com",or="https://www.googleapis.com/auth/drive.file https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/drive.install",oa=on.split("-")[0],GoogleDriveProvider=function(e){var t=e.children;return ne.createElement(ot.rg,{clientId:on},t)},useGoogleLogIn=function(){var e=(0,ot.Nq)({onSuccess:function(e){localStorage.hasEverLoggedIn=!0,oi.accessToken=e.access_token,oi.expiresIn=(0,td.iH)(new Date(Date.now()+1e3*e.expires_in)),oi.hasEverLoggedIn=!0},scope:or,flow:"implicit",onError:function(e){("access_denied"===e.error||"invalid_scope"===e.error||"access_denied"===e.error_subtype)&&(oi.hasEverLoggedIn=!1)}});return function(){return e({prompt:oi.hasEverLoggedIn?"none":"consent"})}},oo=(ee=(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:if(!(e=eU.EX.state))return[2];return(0,tM.d8)("Opening world in read only mode, waiting for login..."),[4,ou()];case 1:return n.sent(),[4,(0,e6.ve)("https://accounts.google.com/gsi/client")];case 2:return n.sent(),JSON.parse(e),t=window.google.accounts.oauth2.initTokenClient({client_id:on,scope:or,callback:function(e){return(0,eE._)(function(){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if(e.error)return(0,tM.d8)("Error: "+e.error,!0),oi.hasEverLoggedIn=!1,[2];return(0,tM.d8)("Opening world in read only mode..."),oi.accessToken=e.access_token,[4,oc("/google")];case 1:return t.sent(),[2]}})})()}}),[4,(0,t7.un)("Select an action...",["Login"])];case 3:return"Login"===n.sent()?t.requestAccessToken({prompt:oi.hasEverLoggedIn?"":"consent"}):window.close(),[2]}})}),function(){return ee.apply(this,arguments)}),oi=(0,td.sj)({accessToken:localStorage.saveAccessToken?localStorage.accessToken:null,hasEverLoggedIn:!!localStorage.hasEverLoggedIn,isReady:!1,expiresIn:localStorage.saveAccessToken?(0,td.iH)(new Date(Date.now()+36e5)):null,readonlyMode:!localStorage.googleReadonlyMode||"true"===localStorage.googleReadonlyMode,lastSelectedFolder:localStorage.lastSelectedFolder?JSON.parse(localStorage.lastSelectedFolder):null});function GoogleButton(e){var t=e.onClick;return(0,ty.jsxs)("button",{className:"gsi-material-button",onClick:t,style:{transform:"scale(0.55) translate(-20%)"},children:[(0,ty.jsx)("div",{className:"gsi-material-button-state"}),(0,ty.jsxs)("div",{className:"gsi-material-button-content-wrapper",children:[(0,ty.jsx)("div",{className:"gsi-material-button-icon",children:(0,ty.jsxs)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",children:[(0,ty.jsx)("path",{fill:"#EA4335",d:"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"}),(0,ty.jsx)("path",{fill:"#4285F4",d:"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"}),(0,ty.jsx)("path",{fill:"#FBBC05",d:"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"}),(0,ty.jsx)("path",{fill:"#34A853",d:"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"}),(0,ty.jsx)("path",{fill:"none",d:"M0 0h48v48H0z"})]})}),(0,ty.jsx)("span",{className:"gsi-material-button-contents",children:"Continue with Google"}),(0,ty.jsx)("span",{style:{display:"none"},children:"Continue with Google"})]})]})}(0,td.Ld)(oi,function(){localStorage.googleReadonlyMode=oi.readonlyMode,localStorage.lastSelectedFolder=oi.lastSelectedFolder?JSON.stringify(oi.lastSelectedFolder):null,oi.hasEverLoggedIn?localStorage.hasEverLoggedIn=!0:delete localStorage.hasEverLoggedIn,localStorage.saveAcce
1ssToken&&oi?localStorage.accessToken=oi.accessToken||null:delete localStorage.accessToken});var os=(0,td.sj)({value:null,brokenWorlds:[],selectedProvider:"local",selectedGoogleId:"",error:""}),getWorldsPath=function(){return"local"===os.selectedProvider?"/data/worlds":"google"===os.selectedProvider?"/google/".concat("/".replace(/\/$/,"")):""},ol={local:{calculateSize:!0,delete:!0,export:!0,icon:!0},google:{calculateSize:!1,delete:!1,export:!1,icon:!0}},readWorlds=function(e){e.signal.aborted||(os.error="",os.brokenWorlds=[],(0,eE._)(function(){var t,n,r,a,o,i,s;return(0,eB.Jh)(this,function(l){switch(l.label){case 0:t=[],l.label=1;case 1:if(l.trys.push([1,4,,5]),n=!!oi.accessToken,os.value=null,"google"===os.selectedProvider&&!n)return os.value=[],[2];return r=getWorldsPath(),a=os.selectedProvider,[4,eJ().promises.readdir(r)];case 2:var c;return[4,Promise.allSettled((o=l.sent()).map((c=(0,eE._)(function(e){var t,n,o,i,s,l,c,u,d,w,p,h,M,g,m,v;return(0,eB.Jh)(this,function(y){switch(y.label){case 0:return[4,(0,t8.C4)("".concat(r,"/").concat(e))];case 1:return n=y.sent().levelDat,[4,eJ().promises.stat("".concat(r,"/").concat(e,"/level.dat"))];case 2:if(o=y.sent(),i=0,!ol[a].calculateSize)return[3,11];s=!0,l=!1,c=void 0,y.label=3;case 3:return y.trys.push([3,9,10,11]),[4,eJ().promises.readdir("".concat(r,"/").concat(e,"/region"))];case 4:u=y.sent()[Symbol.iterator](),y.label=5;case 5:if(s=(d=u.next()).done)return[3,8];return w=d.value,[4,eJ().promises.stat("".concat(r,"/").concat(e,"/region/").concat(w))];case 6:p=y.sent(),i+=p.size,y.label=7;case 7:return s=!0,[3,5];case 8:return[3,11];case 9:return h=y.sent(),l=!0,c=h,[3,11];case 10:try{s||null==u.return||u.return()}finally{if(l)throw c}return[7];case 11:if(M="",!ol[a].icon)return[3,15];g="".concat(r,"/").concat(e,"/icon.png"),y.label=12;case 12:return y.trys.push([12,14,,15]),[4,eJ().promises.readFile(g,"base64")];case 13:return M=y.sent(),[3,15];case 14:return y.sent(),[3,15];case 15:return[2,{name:e,title:null!=(m=n.LevelName)?m:e,lastPlayed:n.LastPlayed&&(0,t8.Cg)(n.LastPlayed),detail:"".concat(null!=(v=null==(t=n.Version)?void 0:t.Name)?v:"unknown version",", ").concat(e),iconSrc:M?"data:image/png;base64,".concat(M):void 0,size:i,lastModified:o.mtimeMs,group:"IndexedDB Memory Worlds"}]}})}),function(e){return c.apply(this,arguments)})))];case 3:if(i=l.sent().filter(function(e,n){return"rejected"!==e.status||(console.warn(e.reason),t.push(o[n]),!1)}).map(function(e){return e.value}).sort(function(e,t){var getScore=function(e){var t;return null!=(t=e.lastModified)?t:0};return getScore(t)-getScore(e)}),e.signal.aborted)return[2];return os.value=i,[3,5];case 4:if("AbortError"===(s=l.sent()).name)return[2];return console.warn(s),os.value=null,os.error=s.message,[3,5];case 5:return os.brokenWorlds=t,[2]}})})().catch(function(e){os.error=e.message}))},oc=(et=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return t8.RL.saveLoaded=!1,t8.RL.isReadonly=!1,t8.RL.syncFs=!1,t8.RL.inMemorySave=!0,[4,(0,t8.uW)(e)];case 1:return t.sent(),[2]}})}),function(e){return et.apply(this,arguments)});function SingleplayerProvider(){return(0,t_.uM)("singleplayer")?(0,ty.jsx)(GoogleDriveProvider,{children:(0,ty.jsx)(Inner,{})}):null}var ou=(en=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,(0,e6.ve)("https://apis.google.com/js/api.js")];case 1:if(!e.sent())return[2];return[2,new Promise(function(e){gapi.load("client",function(){gapi.load("client:picker",function(){gapi.client.load("https://www.googleapis.com/discovery/v1/apis/drive/v3/rest").then(function(){oi.isReady=!0,e()})})})})]}})}),function(){return en.apply(this,arguments)}),Inner=function(){var e,t,n,r=(0,tb.R)(os).value,a=(0,tb.R)(os),o=a.selectedProvider,i=a.error,s=a.brokenWorlds,l=a.selectedGoogleId,c=(0,ne.useRef)(new AbortController);(0,ne.useEffect)(function(){"google"===o&&ou()},[o]);var u=!!(0,tb.R)(oi).accessToken,d=(0,tb.R)(oi).readonlyMode;(0,ne.useEffect)(function(){return(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if("google"!==o)return[3,4];if(!l)return os.value=[],[2];return[4,(0,r1.BS)(oi.readonlyMode,l)];case 1:var n;return t.sent(),n=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,eJ().promises.stat(e)];case 1:return t.sent(),[2,!0];case 2:return t.sent(),[2,!1];case 3:return[2]}})}),[4,function(e){return n.apply(this,arguments)}("".concat(getWorldsPath(),"/level.dat"))];case 2:if(!t.sent())return[3,4];return[4,oc(getWorldsPath())];case 3:return t.sent(),[2];case 4:if(!(e="local"===o))return[3,6];return[4,eJ().promises.stat("/data/worlds").catch(function(){return!1})];case 5:e=!t.sent(),t.label=6;case 6:if(!e)return[3,8];return[4,eJ().promises.mkdir("/data/worlds")];case 7:t.sent(),t.label=8;case 8:return readWorlds(c.current),[2]}})}
1)(),function(){c.current.abort(),c.current=new AbortController}},[o,u,d,l]);var w=useGoogleLogIn(),p=(0,ne.useRef)(null);(0,ne.useEffect)(function(){return function(){var e;null==(e=p.current)||e.dispose()}});var h=(e=(0,eE._)(function(){var e,t,n;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:if(!oi.lastSelectedFolder)return[3,2];return[4,(0,t7.un)('Use previously selected folder "'.concat(oi.lastSelectedFolder.name,'"?'),["Yes","No"])];case 1:if(!(e=r.sent()))return[2];if("Yes"===e)return os.selectedGoogleId=oi.lastSelectedFolder.id,[2];r.label=2;case 2:return n=new(t=window.google).picker.DocsView(t.picker.ViewId.FOLDERS).setIncludeFolders(!0).setMimeTypes("application/vnd.google-apps.folder").setSelectFolderEnabled(!0).setParent("root"),p.current=new t.picker.PickerBuilder().enableFeature(t.picker.Feature.NAV_HIDDEN).enableFeature(t.picker.Feature.MULTISELECT_ENABLED).setDeveloperKey("AIzaSyBTiHpEqaLL7mEcrsnSS4M-z8cpRH5UwY0").setAppId(oa).setOAuthToken(oi.accessToken).addView(n).addView(new t.picker.DocsUploadView).setTitle("Select a folder with your worlds").setCallback(function(e){e.action===t.picker.Action.PICKED&&(oi.lastSelectedFolder={id:e.docs[0].id,name:e.docs[0].name},os.selectedGoogleId=e.docs[0].id)}).build(),p.current.setVisible(!0),[2]}})}),function(){return e.apply(this,arguments)}),M=(0,tb.R)(oi).isReady,g=u&&"google"===o&&M&&!l?{"Select Folder":h}:"google"===o?M?u?(n={"Log Out":function(){oi.hasEverLoggedIn=!1,oi.accessToken=null,oi.lastSelectedFolder=null,window.google.accounts.oauth2.revoke(oi.accessToken)}},(0,tg._)(n,"Read Only: ".concat(d?"ON":"OFF"),function(){return(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:if(!oi.readonlyMode)return[3,2];return[4,(0,t7.un)("[Unstable Feature] Enabling world save might corrupt your worlds, eg remove entities (note: you can always restore previous version of files in Drive)",["Continue"])];case 1:if("Continue"!==e.sent())return[2];e.label=2;case 2:return oi.readonlyMode=!oi.readonlyMode,[2]}})})()}),(0,tg._)(n,"Select Folder",h),n):{"Log In":(0,ty.jsx)(GoogleButton,{onClick:w})}:{"Loading...":function(){}}:void 0;return(0,ty.jsx)(rd,{error:i,isReadonly:"google"===o&&(d||!M||!l),disabledProviders:(0,eW._)(on?[]:["google"]),worldData:r,providerActions:g,activeProvider:o,setActiveProvider:function(e){os.selectedProvider=e},warning:s.length?"Some worlds are broken: ".concat(s.join(", ")):void 0,warningAction:(0,eE._)(function(){var e,t,n,r,a,o,i;return(0,eB.Jh)(this,function(s){switch(s.label){case 0:e=!0,t=!1,n=void 0,s.label=1;case 1:s.trys.push([1,6,7,8]),r=os.brokenWorlds[Symbol.iterator](),s.label=2;case 2:if(e=(a=r.next()).done)return[3,5];return o=a.value,(0,tM.d8)("Removing broken world ".concat(o)),[4,(0,r1.y8)("".concat(getWorldsPath(),"/").concat(o))];case 3:s.sent(),s.label=4;case 4:return e=!0,[3,2];case 5:return[3,8];case 6:return i=s.sent(),t=!0,n=i,[3,8];case 7:try{e||null==r.return||r.return()}finally{if(t)throw n}return[7];case 8:return(0,tM.d8)(void 0),[2]}})}),warningActionLabel:"Remove broken worlds",onWorldAction:(t=(0,eE._)(function(e,t){var n,r,a,i;return(0,eB.Jh)(this,function(s){switch(s.label){case 0:if(n="".concat(getWorldsPath(),"/").concat(t),r=function(){var e=(0,r1.e)(n.replace("/google/",""));if(!e)return alert("File not found");window.open("https://drive.google.com/drive/folders/".concat(e))},"load"!==e)return[3,2];return(0,tM.d8)("Starting loading world ".concat(t)),[4,oc(n)];case 1:return s.sent(),[2];case 2:if("delete"!==e)return[3,4];if("google"===o)return r(),[2];if(!confirm("Are you sure you want to delete current world"))return[2];return(0,tM.d8)("Removing world ".concat(t)),[4,(0,r1.y8)(n)];case 3:s.sent(),(0,tM.d8)(void 0),readWorlds(c.current),s.label=4;case 4:if("export"!==e)return[3,12];if("google"===o)return r(),[2];if(!(0,tZ.kl)())return[3,6];return[4,(0,t7.un)("Select export type",["Select folder (recommended)","Download ZIP file"])];case 5:return i=s.sent(),[3,8];case 6:return[4,(0,t7.un)("Select export type",["Download ZIP file"])];case 7:i=s.sent(),s.label=8;case 8:if(!(a=i))return[2];if("Select folder (recommended)"!==a)return[3,10];return[4,(0,r1.Fm)()];case 9:if(!s.sent())return[2];s.label=10;case 10:return[4,a9(n,"Select folder (recommended)"===a?"folder":"zip",t)];case 11:s.sent(),s.label=12;case 12:return[2]}})}),function(e,n){return t.apply(this,arguments)}),onGeneralAction:function(e){"cancel"===e&&(0,ta.kJ)(),"create"===e&&(0,ta.K4)({reactType:"create-world"})}})},od=n(35289),of=n.n(od);function SelectGameVersion(e){var t=e.versions,n=e.selected,r=e.onChange,a=e.updateOptions,o=e.containerStyle;return(0,ty.jsx)(rp,{initialOptions:t,defaultValue:n,updateOptions:function(e){null==a||a(e)},onValueChange:r,containerStyle:null!=o?o:{width:"190px"},getCssOnInput:function(e){if(!t||!e)return{};var n=t.map(function(e){return e.value.split(".").map(Number)}),r=e.split(".").map(Number),compareVersions=function(e,t){for(var n=0;n<Math.max(e.length,t.length);n++){var r=e[n]||0,a=t[n]||0;if(r>a)return 1;if(r<a)return -1}return 0};n.sort(compareVersions);var a=n[0],o=n.at(-1);return compareVersions(r,a)>=0&&0>=compareVersions(r,o)?t.some(function(t){return t.value===e})?void 0:{border:"1px solid yellow"}:{border:"1px solid red"}}})}var ow=["default","flat","empty","nether","all_the_blocks"],op=["survival","creative"],oh=(0,td.sj)({title:"",type:ow[0],gameMode:"creative",version:"",plugins:[]}),WorldCustomize=function(e){var t=e.backClick;return(0,tb.R)(oh).type,(0,ty.jsxs)(nn.Z,{title:"Customize world",backdrop:"dirt",children:[(0,ty.jsx)("div",{className:"world_layers_container-YYXzJi",children:(0,ty.jsx)("div",{className:"world_layer"})}),(0,ty.jsx)(rl.Z,{onClick:t,children:"Back"})]})};let oM=(0,ru.K)(function(e){var t=e.cancelClick,n=e.createClick,r=(e.customizeClick,e.versions),a=e.defaultVersion,o=(0,eO._)((0,ne.useState)(""),2),i=o[0],s=o[1],l=(0,tb.R)(oh),c=l.title,u=l.type,d=(l.version,l.gameMode),w=l.plugins;return(0,ne.useEffect)(function(){var e,t;oh.version=a,null==(t=navigator.storage)||null==(e=t.estimate)||e.call(t).then(function(e){var t=e.quota,n=e.usage;s("Storage usage: ".concat(void 0===n?"?":(0,rr.filesize)(n)," / ").concat(t?(0,rr.filesize)(t):"?"))})},[]),(0,ty.jsxs)(nn.Z,{title:"Create world",backdrop:"dirt",children:[(0,ty.jsxs)("form",{style:{display:"flex"},onSubmit:function(e){e.preventDefault(),n()},children:[(0,ty.jsx)(rs.ZP,{autoFocus:!0,value:c,onChange:function(e){oh.title=e.target.value},placeholder:"World name"}),(0,ty.jsx)(SelectGameVersion,{versions:r.map(function(e){return{value:e.version,label:e.version}}),selected:{value:a,label:a},onChange:function(e){oh.version=null!=e?e:a},containerStyle:{width:"100px"}}),(0,ty.jsx)("button",{type:"submit",style:{visibility:"hidden"}})]}),(0,ty.jsxs)("div",{style:{display:"flex"},children:[(0,ty.jsxs)(rl.Z,{onClick:function(){var e=ow.indexOf(u);oh.type=ow[e===ow.length-1?0:e+1]},children:["World Type: ",u]}),(0,ty.jsxs)(rl.Z,{onClick:function(){var e=op.indexOf(d);oh.gameMode=op[e===op.length-1?0:e+1]},disabled:!0,children:["Game Mode: ",d]})]}),(0,ty.jsxs)("div",{style:{display:"flex"},children:[(0,ty.jsxs)(rl.Z,{onClick:(0,eE._)(function(){var e,t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:return[4,aL()];case 1:return t=(e=a.sent()).map(function(e){return e.name}),(n=Object.fromEntries(e.map(function(e){return[e.name,{type:"checkbox",defaultValue:oh.plugins.includes(e.name),label:e.name}]}))).installMore={type:"button",onButtonClick:function(){(0,ta.K4)({reactType:"mods"})}},[4,(0,t7.Pl)("Select server plugins from mods to install:",n)];case 2:if(!(r=a.sent()))return[2];return oh.plugins=t.filter(function(e){return r[e]}),[2]}})}),children:["Use Mods (",w.length,")"]}),(0,ty.jsx)(rl.Z,{onClick:function(){var e=op.indexOf(d);oh.gameMode=op[e===op.length-1?0:e+1]},disabled:!0,children:"Save Type: Java"})]}),(0,ty.jsx)("div",{className:"muted",style:{fontSize:8},children:"Default and other world types are WIP"}),(0,ty.jsxs)("div",{style:{display:"flex"},children:[(0,ty.jsx)(rl.Z,{onClick:function(){t()},children:"Cancel"}),(0,ty.jsx)(rl.Z,{disabled:!c,onClick:n,children:(0,ty.jsx)("b",{children:"Create"})})]}),(0,ty.jsx)("div",{className:"muted",style:{fontSize:9},children:"Note: save important worlds in folders on your hard drive!"}),(0,ty.jsx)("div",{className:"muted",style:{fontSize:9},children:i})]})},"createWorld");function CreateWorldProvider(){var e=(0,t_.uM)("create-world"),t=(0,t_.uM)("customize-world");if(e){var n=(0,aj.Uo)(aj.S3),r=Object.values(Object.fromEntries(aj.ZP.filter(function(e){return(0,aj.Uo)(e)<n}).map(function(e){return[e.split(".").slice(0,2),e]}))).map(function(e){return{version:e,label:e===of().version?"".concat(e," (default)"):e}});return(0,ty.jsx)(oM,{defaultVersion:of().version,cancelClick:function(){(0,ta.kJ)()},createClick:(0,eE._)(function(){var e,t,n,r,a,o;return(0,eB.Jh)(this,function(i){switch(i.label){case 0:return e=oh.title,t=oh.type,n=oh.version,r=oh.gameMode,a=oh.plugins,[4,(0,r1.vj)(e,getWorldsPath())];case 1:return o=i.sent(),[4,(0,r1.xl)(o)];case 2:return i.sent(),[4,og(o,a)];case 3:return i.sent(),(0,ta.kJ)(),window.dispatchEvent(new CustomEvent("singleplayer",{detail:{levelName:e,version:n,generation:{name:t},worldFolder:o,gameMode:+("survival"!==r)}})),[2]}})}),customizeClick:function(){(0,ta.K4)({reactType:"customize-world"})},versions:r})}return t?(0,ty.jsx)(WorldCustomize,{backClick:function(){return(0,ta.kJ)()}}):null}var og=(er=(0,eE._)(function(e,t){var n,r,a,o,i,s,l,c,u,d,w;return(0,eB.Jh)(this,function(p){switch(p.label){case 0:n=!0,r=!1,a=void 0,p.label=1;case 1:p.trys.push([1,8,9,10]),o=t[Symbol.iterator](),p.label=2;case 2:if(n=(i=o.next()).done)return[3,7];return[4,a_(s=i.value)];case 3:if(u=(c=null!=(l=p.sent())?l:{}).content,d=c.version,!u)return[3,6];return[4,(0,r1.xl)(aH().join(e,"plugins"))];case 4:return p.sent(),[4,eJ().promises.writeFile(aH().join(e,"plugins","".concat(s,"-").concat(d,".js")),u)];case 5:p.sent(),p.label=6;case 6:return n=!0,[3,2];case 7:return[3,10];case 8:return w=p.sent(),r=!0,a=w,[3,10];case 9:try{n||null==o.return||o.return()}finally{if(r)throw a}
1return[7];case 10:return[2]}})}),function(e,t){return er.apply(this,arguments)}),om=n(50343),ov=new Set(["chat"]);function MobilePortraitButtons(){var e=(0,eO._)((0,ne.useState)(!1),2),t=e[0],n=e[1];(0,ne.useEffect)(function(){var onFullscreenChange=function(){n(!!document.fullscreenElement)};return document.documentElement.addEventListener("fullscreenchange",onFullscreenChange),function(){return document.documentElement.removeEventListener("fullscreenchange",onFullscreenChange)}},[]);var r=(0,tb.R)(ta.N_),a=r.gameLoaded,o=r.displayRotationEnabled,i=r.viewportPortrait,s=(0,tb.R)(tr.YM).autoDisplayRotation,l=(0,tb.R)(ta.M),c=0===l.length&&!a,u=(0,t_.uT)(),d=l.some(function(e){return ov.has(e.reactType)}),w=i&&!s,p=!!document.documentElement.requestFullscreen&&!t;if(d||!u||!w&&!p)return null;var h=Math.round(18.2*(i?1.4:1)),M={width:h,minHeight:h,maxHeight:h,"--scale":h/20};return(0,ty.jsxs)("div",{style:{position:"fixed",top:5,left:c?35:5,display:"flex",flexDirection:"row",gap:5,zIndex:7},children:[w&&(0,ty.jsx)(rl.Z,{icon:o?tL.K.sync:tL.K.reload,style:M,title:o?"Отключить альбомную вёрстку":"Повернуть в альбомный режим",onClick:function(){setDisplayRotationEnabled(!o)}}),p&&(0,ty.jsx)(rl.Z,{icon:tL.K.scale,style:M,title:"Полный экран",onClick:(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,document.documentElement.requestFullscreen()];case 1:return n.sent(),[3,3];case 2:return e=n.sent(),(0,tv.c0)("".concat(null!=(t=e.message)?t:e),void 0,!0),[3,3];case 3:return[2]}})})})]})}n(61816);var oy=n(83953),oA=(0,td.sj)({ui:[]}),parseTextWithIcons=function(e){for(var t=[],n="",r=0;r<e.length;){if("{"===e[r]&&"{icon:"===e.slice(r,r+6)){n&&(t.push({type:"text",content:n}),n="");var a=e.indexOf("}",r);if(-1!==a){var o=e.slice(r+6,a);t.push({type:"icon",iconName:o}),r=a+1;continue}}n+=e[r],r++}return n&&t.push({type:"text",content:n}),t},TextElement=function(e){var t=e.text,n=e.x,r=e.y,a=e.motion,o=void 0===a||a,i=e.formatted,s=void 0===i||i,l=e.css,c=void 0===l?"":l,u=e.onTab,d=(0,ne.useRef)(null),w=(0,ne.useRef)(null);if(useUiMotion(d,o),(0,ne.useEffect)(function(){c&&(w.current.style.cssText=c)},[c]),void 0!==u&&u&&!document.hidden)return null;var p=parseTextWithIcons(t);return(0,ty.jsx)("div",{ref:d,style:{position:"absolute",left:n,top:r,transition:o?"transform 0.1s ease-out":"none",display:"flex",alignItems:"center",gap:"2px"},children:(0,ty.jsx)("div",{ref:w,children:p.map(function(e,t){return(0,ty.jsx)(ne.Fragment,{children:"text"===e.type?s?(0,ty.jsx)(ng.Z,{message:e.content}):e.content:(0,ty.jsx)(tL.Z,{iconName:e.iconName,width:12,styles:{display:"inline-block"}})},t)})})})},ImageElement=function(e){var t=e.url,n=e.x,r=e.y,a=e.width,o=e.height;return(0,ty.jsx)("img",{src:t,style:{position:"absolute",left:n,top:r,width:a,height:o},alt:""})};function MineflayerPluginHud(){var e=(0,tb.R)(oA).ui;return(0,ty.jsx)("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none"},className:"mineflayer-plugin-hud",children:e.map(function(e,t){return"lil"===e.type?null:"text"===e.type?(0,ty.jsx)(TextElement,(0,eI._)({},e),t):"image"===e.type?(0,ty.jsx)(ImageElement,(0,eI._)({},e),t):null})})}var ob=n(43776),o_=(0,td.sj)({onExecute:null,messages:[],replEnabled:!1,consoleEnabled:!1,takeoverMode:!1}),MessageLine=function(e){var t=e.message,n=t.isRepl?"console-message-repl":t.level?"console-message-".concat(t.level):"";return(0,ty.jsxs)("li",{className:"console-message ".concat(n),children:[(0,ty.jsx)("span",{className:"console-message-prefix",children:">"}),t.text]})};function MineflayerPluginConsole(){var e=(0,t_.uM)("console"),t=(0,tb.R)(ta.N_).currentTouch,n=(0,tb.R)(o_),r=n.messages,a=n.replEnabled,o=n.consoleEnabled,i=n.onExecute,s=(0,ne.useRef)(null),l=(0,ne.useRef)(null),c=(0,ob.f)(l,{messages:r,opened:e}).scrollToBottom;(0,ne.useEffect)(function(){if(e&&a){var t;null==(t=s.current)||t.focus()}},[e,a]);var updateInputValue=function(e){s.current.value=e,setTimeout(function(){s.current.setSelectionRange(e.length,e.length)},0)};return(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)("div",{className:"console-wrapper console-messages-wrapper ".concat(t?"display-mobile":""),children:(0,ty.jsxs)("div",{ref:l,className:"console ".concat(e?"opened":""),id:"console-messages",children:[!
1o&&(0,ty.jsx)(MessageLine,{message:{id:-1,text:"Console is not enabled. Enable it in the plugin initialization settings.",level:"error"}},"console-disabled"),r.map(function(e){return(0,ty.jsx)(MessageLine,{message:e},e.id)})]})}),(0,ty.jsx)("div",{className:"console-wrapper console-input-wrapper ".concat(t?"input-mobile":""),hidden:!e,children:(0,ty.jsxs)("form",{className:"console-input",onSubmit:function(e){e.preventDefault();var t=s.current.value;t&&(null==i||i(t),updateInputValue(""),c())},children:[(0,ty.jsxs)("div",{className:"console-input-container",children:[(0,ty.jsx)("span",{className:"console-input-prefix",children:">"}),(0,ty.jsx)("input",{defaultValue:"",ref:s,type:"text",className:"console-input-field",id:"consoleinput",spellCheck:!1,autoComplete:"off",disabled:!a,placeholder:a?"Enter JavaScript code (bot variable is available)":"REPL is not enabled"})]}),(0,ty.jsx)("button",{type:"submit",style:{visibility:"hidden",position:"absolute"}})]})})]})}var oL=n(55872).Buffer,oC=(0,td.sj)({forwardChat:!0,version:"",time:0,replEnabled:!1,consoleEnabled:!1,requiresPass:!1,clientIgnoredPackets:[]}),oj=function(e){function CustomDuplex(e,t){var n;return(0,tj._)(this,CustomDuplex),(n=(0,n4._)(this,CustomDuplex,[e])).writeAction=t,n}(0,n6._)(CustomDuplex,e);var t=CustomDuplex.prototype;return t._read=function(){},t._write=function(e,t,n){this.writeAction(e),n()},CustomDuplex}(rA.Duplex),oD=(ea=(0,eE._)(function(e){var t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:return[4,ox(e)];case 1:return(t=a.sent()).send("version"),[4,new Promise(function(e,n){var r;t.addEventListener("message",(r=(0,eE._)(function(n){var r;return(0,eB.Jh)(this,function(a){return e(r=JSON.parse(n.data.toString())),t.close(),Object.assign(oC,r),customEvents.on("mineflayerBotCreated",function(){var e=bot._client,t=e.write.bind(e);e.write=function(){for(var e,n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];var i=(0,eO._)(a,1)[0];null!=r&&null!=(e=r.clientIgnoredPackets)&&e.includes(i)||t.apply(void 0,(0,eW._)(a))}}),[2]})}),function(e){return r.apply(this,arguments)}))})];case 2:return o_.consoleEnabled=(n=a.sent()).consoleEnabled,o_.replEnabled=n.replEnabled,o_.takeoverMode=null!=(r=n.takeoverMode)&&r,[2,n]}})}),function(e){return ea.apply(this,arguments)}),ox=(eo=(0,eE._)(function(e){var t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return e.startsWith(":")&&(e="ws://localhost".concat(e)),e.startsWith("ws")||(e="ws://".concat(e)),t=new WebSocket(e),[4,new Promise(function(n,r){t.onopen=function(){return n()},t.onerror=function(t){return r(Error("[websocket] Failed to connect to ".concat(e)))},t.onclose=function(e){return r(e.reason)}})];case 1:return n.sent(),[2,t]}})}),function(e){return eo.apply(this,arguments)}),ok=(ei=(0,eE._)(function(e){var t,n;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:return[4,ox(e)];case 1:var a;return t=r.sent(),n=new oj(void 0,function(e){t.send(e)}),performance.now(),t.addEventListener("message",(a=(0,eE._)(function(e){var t;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:if(!((t=e.data)instanceof Blob))return[3,2];return[4,t.arrayBuffer()];case 1:t=r.sent(),r.label=2;case 2:return n.push(oL.from(t)),performance.now(),[2]}})}),function(e){return a.apply(this,arguments)})),setInterval(function(){},5e3),t.addEventListener("close",function(){console.log("ws closed"),n.end(),setTimeout(function(){var e;null==(e=bot)||e.emit("end","Connection lost")},500)}),t.addEventListener("error",function(e){console.log("ws error",e)}),[2,{clientDuplex:n}]}})}),function(e){return ei.apply(this,arguments)}),oT="minecraft-web-client:data",handleCustomChannel=function(){bot._client.registerChannel(oT,["string",[]]);var e,t=[];(0,td.Ld)(ta.M,function(){if(1===ta.M.length&&"main-menu"===ta.M["0"].reactType){var e=!0,n=!1,r=void 0;try{for(var a,o=t[Symbol.iterator]();!(e=(a=o.next()).done);e=!0)(0,a.value)()}catch(e){n=!0,r=e}finally{try{e||null==o.return||o.return()}finally{if(n)throw r}}t.length=0,o_.messages=[],o_.replEnabled=!1,o_.consoleEnabled=!1}});var send=function(e){bot._client.writeChannel(oT,JSON.stringify(e))};o_.onExecute=function(e){send({type:"eval",code:e})};var n={};return e=function(e){switch(e.type){case"eval":o_.messages.push({id:Date.now(),text:e.isError?"".concat(e.result):JSON.stringify(e.result),isRepl:!0,level:e.isError?"error":void 0}),o_.messages.length>500&&(o_.messages=o_.messages.slice(-500));break;case"console":o_.messages.push({id:Date.now(),text:e.message,level:e.level}),o_.messages.length>500&&(o_.messages=o_.messages.slice(-500));break;case"kick":bot.emit("end",e.reason);break;case"ui":var t=e.update;if(null===t.data){oA.ui=oA.ui.filter(function(e){return e.id!==t.id});var r=n[t.id];r&&(r.destroy(),delete n[t.id])}else{var a=oA.ui.findIndex(function(e){return e.id===t.id});if(-1===a?oA.ui.push((0,eP._)((0,eI._)({},t.data),{id:t.id})):oA.ui[a]=(0,eP._)((0,eI._)({},t.data),{id:t.id}),"lil"===t.data.type){var _loop=function(e){var n=s[e],r=o.controllers.find(function(t){return t.property===e});if(r)r.object[e]=n,r.updateDisplay();else{var a=(0,tg._)({},e,n),i=o.add(a,e);(null==l?void 0:l.includes(e))||i.onChange(function(n){send({type:"ui",id:t.
1id,param:e,value:n})})}},o=n[t.id];o||(o=new oy.XS({title:t.data.title}),n[t.id]=o);var i=t.data,s=i.params,l=i.buttons,c=!0,u=!1,d=void 0;try{for(var w,p=(null!=l?l:[])[Symbol.iterator]();!(c=(w=p.next()).done);c=!0)!function(){var e=w.value;s[e]=function(){send({type:"ui",id:t.id,param:e,value:!0})}}()}catch(e){u=!0,d=e}finally{try{c||null==p.return||p.return()}finally{if(u)throw d}}for(var h in s)_loop(h);var M=Object.keys(s);o.controllers=o.controllers.filter(function(e){return!!M.includes(e.property)||(e.destroy(),!1)})}}break;case"stats":globalThis.botStats=e;break;case"method":console.log("Method result",e.result)}},bot._client.on(oT,function(t){e(JSON.parse(t.toString()))}),{send:send}},oN=(es=(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return e=handleCustomChannel().send,bot.physicsEnabled=!1,[4,new Promise(function(e){bot.once("inject_allowed",e)})];case 1:return n.sent(),t=bot.setControlState.bind(bot),bot.setControlState=function(n,r){if(bot.controlState[n]!==r){if(!o_.takeoverMode)return void(0,tv.c0)("Remote control is not enabled","Enable takeoverMode in bot plugin settings first");e({type:"setControlState",control:n,value:r}),t(n,r)}},[2]}})}),function(){return es.apply(this,arguments)}),oS=n(48044),oz=n(30232),oq=n(46229),TypingIndicatorOverlay=function(){var e=(0,oq.e)();return e?(0,ty.jsx)("div",{style:{position:"fixed",bottom:"calc(27px + env(safe-area-inset-bottom, 0px))",left:2,fontSize:"9px",color:"white",textShadow:"1px 1px 0px #3f3f3f",fontFamily:"mojangles, minecraft, monospace",padding:"2px 4px",zIndex:"var(--has-modals-z, 11)"},children:e}):null};let oE=(0,ru.K)(function(){var e,t,n,r=(0,eO._)((0,ne.useState)([]),2),a=r[0],o=r[1],i=(0,t_.uM)("chat"),s=(0,ne.useRef)(0),l=(0,ne.useRef)(0),c=(0,ne.useRef)((0,oS.E3)()),u=(0,tb.R)(ta.N_),d=u.currentTouch,w=u.disconnectedCleanup,p=(0,tb.R)(tr.YM),h=p.chatSelect,M=p.messagesLimit,g=p.chatOpacity,m=p.chatOpacityOpened,v=p.chatVanillaRestrictions,y=p.debugChatScroll,A=p.chatPingExtension,b=p.chatSpellCheckEnabled,_=p.chatAlwaysDisplayTypingIndicator;(0,ne.useMemo)(function(){var e;return!!(null==(e=tM.Pc.value)?void 0:e.authenticatedAccount)},[]);var L=(0,tb.R)(oC).forwardChat,C=(0,tb.R)(ta.rl).viewerConnection;(0,ne.useEffect)(function(){bot.addListener("message",function(e,t){if("game_info"!==t){e.unsigned&&(e=e.unsigned);var n,r=(0,no.wv)(e),a=r.map(function(e){return e.text}).join(""),i=(0,oS.cX)(a),u=null==(n=tM.Pc.value)?void 0:n.server,d=(0,oz.x2)();if(i&&u&&d&&("login"===i||"either"===i)&&!(0,oS.f6)()){if(c.current.shouldTrigger(u)){try{bot.chat("/login ".concat(d))}catch(e){}(0,oS.gL)({password:d,mode:"login",source:"manual",serverIp:u,username:bot.username,preSaved:!0})}}else if(i&&u&&("changepassword"===i||"unregister"===i)&&c.current.shouldTrigger(u))if(tr.YM.autoOpenAuthModal)(0,om.K)({mode:i,serverIp:u,username:bot.username,prefilledPassword:(0,oz.x2)()}).then(function(e){(null==e?void 0:e.password)&&("changepassword"!==i||e.newPassword)&&(0,oS.Fs)(bot,i,e,{serverIp:u,username:bot.username,source:"modal"})});else{var w="changepassword"===i?"\uD83D\uDDDD️ ":"⚠️ ";(0,a8.w)({text:w,extra:[{text:"Click here to auto-fill ".concat(i),color:"aqua",underlined:!0,clickEvent:{action:"changepassword"===i?"open_change_password":"open_unregister",value:""},hoverEvent:{action:"show_text",value:"Open password-manager-friendly modal"}}]})}else if(i&&u&&!d&&("login"===i||"register"===i||"either"===i)&&c.current.shouldTrigger(u))if(tr.YM.autoOpenAuthModal){var p="either"===i?"login":i;(0,om.K)({mode:p,serverIp:u,username:bot.username}).then(function(e){(null==e?void 0:e.password)&&(0,oS.Fs)(bot,p,e,{serverIp:u,username:bot.username,source:"modal"})})}else{var makeExtra1=function(e){return{text:"Click here to auto-fill ".concat(e),color:"aqua",underlined:!0,clickEvent:{action:"open_auto_fill_".concat(e),value:""},hoverEvent:{action:"show_text",value:"Open password-manager-friendly login modal"}}},h="either"===i?[makeExtra1("login"),{text:" / "},makeExtra1("register")]:[makeExtra1(i)];(0,a8.w)({text:"\uD83D\uDD10 ",extra:h})}if("Pong!"===a&&l.current>0){var g=Date.now()-l.current;r.push({text:" Latency: ".concat(g,"ms"),color:"#00ff00"}),l.current=0}o(function(e){s.current++;var t={parts:r,id:s.current,timestamp:Date.now()};return(0,eW._)(e).concat([t]).slice(-M)})}})},[]);var j=w?"You have been disconnected from the server on "+new Date(w.date).toLocaleStr
1ing():void 0;return(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)(t6.Z,{chatVanillaRestrictions:v,debugChatScroll:y,allowSelection:h,usingTouch:!!d,opacity:(i?m:g)/100,messages:a,opened:i,placeholder:L||!C?void 0:"Chat forwarding is not enabled in the plugin settings",inputDisabled:j,currentPlayerName:A?bot.username:void 0,spellCheckEnabled:b,onSpellCheckEnabledChange:function(e){tr.YM.chatSpellCheckEnabled=e},getPingComplete:(e=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){return[2,Object.keys(bot.players).filter(function(t){return(!e||t.toLowerCase().includes(e.toLowerCase()))&&t!==bot.username}).map(function(e){return"@".concat(e)})]})}),function(t){return e.apply(this,arguments)}),sendMessage:(t=(0,eE._)(function(e){var t,n,r,a,o;return(0,eB.Jh)(this,function(i){switch(i.label){case 0:if("/ping"===e&&(l.current=Date.now()),t=tryHandleBuiltinCommand(e),void 0!==(0,oz.S_)()&&(e.startsWith("/login")||e.startsWith("/register"))&&(n=e.split(" ")[1])&&((0,oz.JM)(n),r=e.startsWith("/register")?"register":"login",(0,oS.gL)({password:n,mode:r,source:"manual",preSaved:!0})),t)return[3,3];if(!(v&&!ta.N_.flyingSquid)||(a=(0,no.oR)(e)).valid)return[3,2];return[4,(0,t7.un)("Can't send invalid characters to vanilla server (".concat(null==(o=a.invalid)?void 0:o.join(", "),"). You can use them only in command blocks."),["Remove Them & Send"])];case 1:if(!i.sent())return[2];e=a.clean,i.label=2;case 2:e&&bot.chat(e),i.label=3;case 3:return[2]}})}),function(e){return t.apply(this,arguments)}),onClose:function(){(0,ta.kJ)()},fetchCompletionItems:(n=(0,eE._)(function(e,t){var n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:if(!("explicit"===e||tr.YM.autoRequestCompletions))return[3,5];n=[],a.label=1;case 1:return a.trys.push([1,3,,4]),[4,bot.tabComplete(t,!0,!0)];case 2:return n=a.sent(),[3,4];case 3:return a.sent(),[3,4];case 4:return"object"===(0,eR._)(n[0])&&n[0].match&&(n=n.map(function(e){return e.match})),"/"===t&&((null==(r=n[0])?void 0:r.startsWith("/"))||(n=n.map(function(e){return"/".concat(e)})),n.length&&(n=(0,eW._)(n).concat((0,eW._)(oe.filter(function(e){return e.alwaysAvailable||ta.N_.singleplayer}).flatMap(function(e){return e.command}))))),[2,n];case 5:return[2]}})}),function(e,t){return n.apply(this,arguments)})}),_&&!i&&(0,ty.jsx)(TypingIndicatorOverlay,{})]})},"chatProvider");var oI=n(27282),oP=n.n(oI),oY=n(85681),oO=n.n(oY);let oR=(0,ru.K)(function(e){var t=e.title,n=e.subtitle,r=e.actionBar,a=e.transitionTimes,o=e.openTitle,i=void 0!==o&&o,s=e.openActionBar,l=void 0!==s&&s,c=(0,eO._)((0,ne.useState)(!1),2),u=c[0],d=c[1];return(0,ne.useEffect)(function(){!u&&(i||l)&&d(!0)},[i,l]),(0,ty.jsxs)("div",{className:"title-container",children:[(0,ty.jsx)(aq.M,{children:i&&(0,ty.jsxs)(aE.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:(null==a?void 0:a.fadeIn)?a.fadeIn/1e3:.5,exit:{duration:(null==a?void 0:a.fadeOut)?a.fadeOut/1e3:1}},children:[(0,ty.jsx)("h1",{className:"message-title",children:(0,ty.jsx)(ng.Z,{message:t})}),(0,ty.jsx)("h4",{className:"message-subtitle",children:(0,ty.jsx)(ng.Z,{message:n})})]})}),(0,ty.jsx)(aq.M,{children:l&&(0,ty.jsx)(aE.E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:(null==a?void 0:a.fadeIn)?a.fadeIn/1e3:.5,exit:{duration:(null==a?void 0:a.fadeOut)?a.fadeOut/1e3:1}},children:(0,ty.jsx)("div",{className:"message-action-bar",children:(0,ty.jsx)(ng.Z,{message:r})})})})]})},"title");var oB={text:""},oU={fadeIn:500,stay:3500,fadeOut:1e3},ticksToMs=function(e){return e.fadeIn*=50,e.stay*=50,e.fadeOut*=50,e},getComponent=function(e){return"string"==typeof e?oP().simplify(oP().parse(e)):"string"===e.type?{text:e.value}:"compound"===e.type?oO().simplify(e):e};function TitleProvider(){var e=(0,eO._)((0,ne.useState)(oB),2),t=e[0],n=e[1],r=(0,eO._)((0,ne.useState)(oB),2),a=r[0],o=r[1],i=(0,eO._)((0,ne.useState)(oB),2),s=i[0],l=i[1],c=(0,eO._)((0,ne.useState)(oU),2),u=c[0],d=c[1],w=(0,eO._)((0,ne.useState)(!1),2),p=w[0],h=w[1],M=(0,eO._)((0,ne.useState)(!1),2),g=M[0],m=M[1];return(0,ne.useMemo)(function(){bot._client.on("set_title_text",function(e){n(getComponent(e.text)),h(!0)}),bot._client.on("set_title_subtitle",function(e){o(getComponent(e.text))}),bot._client.on("action_bar",function(e){l(getComponent(e.text)),m(!0)}),bot._client.on("set_title_time",function(e){d(ticksToMs(e))}),bot._client.on("clear_titles",function(e){h(!1),m(!1),e.reset&&(n(oB),o(oB),l(oB),d(oU))}),bot.on("actionBar",function(e){d({fadeIn:0,stay:2e3,fadeOut:1e3}),l(e),m(!0)}),bot._client.on("title",function(e){var t;switch((t="string"==typeof e?JSON.parse(e):e).action){case 0:n(JSON.parse(t.text)),h(!0);break;case 1:o(JSON.parse(t.text));break;case 2:l(JSON.parse(t.text)),m(!0);break;case 3:d(ticksToMs({fadeIn:t.fadeIn,stay:t.stay,fadeOut:t.fadeOut}));break;case 4:h(!1),m(!1);break;case 5:h(!1),m(!1),n(oB),o(oB),l(oB),d(oU)}})},[]),(0,ne.useEffect)(function(){var e=setTimeout(function(){h(!1)},u.stay);return function(){clearTimeout(e)}},[t,a]),(0,ne.useEffect)(function(){var e=null;return p||(e=setTimeout(function(){o(oB)},u.fadeOut)),function(){e&&clearTimeout(e)}},[p]),(0,ne.useEffect)(function(){var e=setTimeout(function(){m(!1)},u.stay);return function(){clearTimeout(e)}},[s]),(0,ty.jsx)(oR,{title:t,subtitle:a,actionBar:s,transitionTimes:u,openTitle:p,openActionBar:g})}let oQ=(0,ru.K)(function(e){var t=e.title,n=e.items,r=e.open,a=e.style;return r?(0,ty.jsxs)("div",{className:"scoreboard-container",style:a,children:[(0,ty.jsx)("div",{className:"scoreboard-title",children:(0,ty.jsx)(ng.Z,{message:t})}),n.map(function(e){var t,n=null!=(t=e.displayName)?t:e.name;return(0,ty.jsxs)("div",{className:"item-container",children:[(0,ty.jsx)("div",{className:"item-name",children:(0,ty.jsx)(ng.Z,{message:n})}),(0,ty.jsx)("div",{className:"item-value",children:e.value})]},(0,nF.BO)(n)+"_"+e.value)})]}):null},"scoreboard");function ScoreboardProvider(){var e=(0,eO._)((0,ne.useState)("Scoreboard"),2),t=e[0],n=e[1],r=(0,eO._)((0,ne.useState)([]),2),a=r[0],o=r[1],i=(0,eO._)((0,ne.useState)(!1),2),s=i[0],l=i[1];return(0,ne.useMemo)(function(){var updateSidebarScoreboard=function(){addStatPerSec("scoreboard"),bot.scoreboard.sidebar?(n(bot.scoreboard.sidebar.title),o((0,eW._)(bot.scoreboard.sidebar.items)),l(!0)):l(!1)};bot.on("scoreboardCreated",updateSidebarScoreboard),bot.on("scoreboardTitleChanged",updateSidebarScoreboard),bot.on("scoreUpdated",updateSidebarScoreboard),bot.on("scoreRemoved",updateSidebarScoreboard),bot.on("scoreboardDeleted",updateSidebarScoreboard),bot.on("scoreboardPosition",function(){Promise.resolve().then(function(){updateSidebarScoreboard()})})},[]),(0,ty.jsx)(oQ,{title:t,items:a,open:s})}n(34396),n(20516);var oF=n(92925);function markdownToFormattedText(e){var t=e.split("\n\n"),n=["","","",""],r=!0,a=!1,o=void 0;try{for(var i,s=t.map(function(e){return(0,oF.j)().parse(e)}
1).entries()[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=(0,eO._)(i.value,2),c=l[0],u=l[1];n[c]=transformToMinecraftJSON(u)}}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}return n}function transformToMinecraftJSON(e){switch(e.type){case"root":if(!e.children)return;return e.children.map(function(e){return transformToMinecraftJSON(e)}).filter(Boolean);case"paragraph":if(!e.children)return;return e.children.map(function(e){return transformToMinecraftJSON(e)}).filter(Boolean).flat();case"strong":if(!e.children)return;return[{bold:!0,text:e.children[0].value}];case"text":return{text:e.value};case"emphasis":if(!e.children)return;return[{italic:!0,text:e.children[0].value}];default:return e.value}}function SignEditor(e){var t=e.handleInput,n=e.ProseMirrorView,r=e.handleClick,a=!!n,o=(0,ne.useRef)(null),i=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){a&&(i.current=new n(o.current,""))},[a]),(0,ty.jsx)("div",{className:"signs-editor-container",onKeyDown:function(e){if(!a){var t=e.code;if(e.target.matches("input")&&"Enter"===e.key&&(t="ArrowDown"),"ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var n="ArrowDown"===t?1:-1,r=(0,ro.KW)(e.currentTarget),o=r.indexOf(document.activeElement);if(-1===o)return;var i=r[o+n];null==i||i.focus()}}},children:(0,ty.jsxs)("div",{className:"signs-editor-inner-container",children:[(0,ty.jsx)("img",{className:"signs-editor-bg-image",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAMCAYAAAB4MH11AAABbElEQVR4AY3BQY6cMBBA0Q+yQZZVi+ndcJVcKGfMgegdvShKVtuokzGSWwwiUd7rfv388Vst0UgMXCobmgsSA5VaQmKgUks0EgNHji8SA9W8GJCQwVNpLhzJ4KFs4B1HEgPVvBiQkMFTaS44tYTEQDXdIkfiHbuyobmguaDPFzIWGrWExEA13SJH4h1uzS/WbPyvroM1v6jWbFRrNv7GfX5EdmXjzTvUEjJ4zjQXjiQGdmXjzTvUEjJ4HF/UEt/kQqW5UEkMzIshY08jg6dRS3yTC5XmgpsXY7pFztQSEgPNJCNv3lGpJVSfTLfImVpCYsB1HdwfxpU1G9eeNF0H94dxZc2G+/yI7MoG3vEv82LI2NNIDLyVDbzjzFE2mnkxZOy5IoNnkpFGc2FXNpp5MWTsOXJ4h1qikrGnkhjYlY1m1icy9lQSA+TCzjvUEpWMPZXEwK5suPvDOFuzcdZ1sOYX1ZqNas3GlTUbzR+jQbEAcs8ZQAAAAABJRU5ErkJggg==",alt:""}),a?(0,ty.jsx)("p",{ref:o,className:"wysiwyg-editor"}):[1,2,3,4].map(function(e,n){return(0,ty.jsx)("input",{className:"sign-editor","data-key":n,maxLength:15,onChange:function(e){t(e.currentTarget)}},n)}),(0,ty.jsx)(rl.Z,{onClick:(0,eE._)(function(){var e,t,n,o,s,l,c,u,d;return(0,eB.Jh)(this,function(w){if(r)if(a)t=(e=markdownToFormattedText(i.current.content)).map(function(e){return Array.isArray(e)&&Array.isArray(e[0])?e.map(function(e){return e[0]}):e}).map(function(e){return Array.isArray(e)?e.map(function(e){return e.text}).join(""):e}),r({dataText:e,plainText:t});else{n=[],o=!0,s=!1,l=void 0;try{for(c=document.getElementsByClassName("sign-editor")[Symbol.iterator]();!(o=(u=c.next()).done);o=!0)d=u.value,n.push(d.value)}catch(e){s=!0,l=e}finally{try{o||null==c.return||c.return()}finally{if(s)throw l}}r({plainText:n})}return[2]})}),className:"sign-editor-button",label:"Done"})]})})}n(95917),n(59099);var oW=(el=(0,eE._)(function(){var e,t,n,r,a,o,i,s,l;return(0,eB.Jh)(this,function(c){switch(c.label){case 0:return[4,bot.tabComplete("/data ",!0,!0)];case 1:e=c.sent(),t=new Set(["merge"]),n=!0,r=!1,a=void 0;try{for(o=e[Symbol.iterator]();!(n=(i=o.next()).done);n=!0)if(s=i.value,t.has(null!=(l=s.match)?l:s))return[2,!0]}catch(e){r=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw a}}return[2,!1]}})}),function(){return el.apply(this,arguments)});function SignEditorProvider(){var e=(0,eO._)((0,ne.useState)(null),2),t=e[0],r=e[1],a=(0,eO._)((0,ne.useState)(!0),2),o=a[0],i=a[1],s=(0,ne.useRef)(["","","",""]),l=(0,eO._)((0,ne.useState)(!1),2),c=l[0],u=l[1],d=(0,t_.uM)("signs-editor-screen"),w=(0,eO._)((0,ne.useState)(null),2),p=w[0],h=w[1];return((0,ne.useMemo)(function(){bot._client.on("open_sign_entity",function(e){var t;tr.YM.autoSignEditor&&(i(null==(t=e.isFrontText)||t),r(function(t){return e.location}),(0,ta.K4)({reactType:"signs-editor-screen"}),"auto"===tr.YM.wysiwygSignEditor?oW().then(function(e){u(e)}):"always"===tr.YM.wysiwygSignEditor?u(!0):u(!1))}),Promise.all([n.e("158"),n.e("850")]).then(n.bind(n,8061)).then(function(e){var t=e.ProseMirrorView;h(function(){return t})})},[]),d)?(0,ty.jsx)(SignEditor,{ProseMirrorView:c?p:void 0,handleInput:function(e){var t=/[()[\]{} ]/,n=/[;|',.]/,r=0,a=!0,o=!1,i=void 0;try{for(var l,c=e.value[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var u=l.value;t.test(u)?r+=1-1/1.46:n.test(u)&&(r+=1-1/3)}}catch(e){o=!0,i=e}finally{try{a||null==c.return||c.return()}finally{if(o)throw i}}s.current[Number(e.dataset.key)]=e.value,e.setAttribute("maxlength","".concat(15+Math.ceil(r)))},handleClick:function(e){if(((0,ta.VG)({reactType:"signs-editor-screen"}
1),bot._client.write("update_sign",{location:t,isFrontText:o,text1:e.plainText[0],text2:e.plainText[1],text3:e.plainText[2],text4:e.plainText[3]}),e.dataText)&&t){var n="/data merge block ".concat(t.x," ").concat(t.y," ").concat(t.z," {Text1:'")+JSON.stringify(e.dataText[0])+"',Text2: '"+JSON.stringify(e.dataText[1])+"',Text3:'"+JSON.stringify(e.dataText[2])+"',Text4:'"+JSON.stringify(e.dataText[3])+"'}";bot.chat(n)}}}):null}function formatTime(e){if(e<0)return"";var t=Math.floor(e/60),n=Math.floor(e%60),r=String(t).padStart(2,"0"),a=String(n).padStart(2,"0");return"".concat(r,":").concat(a)}n(97983);var EffectBox=function(e){var t,n=e.image,r=e.level,a=e.name,o=e.initialTime,i=e.duration,s=(0,eO._)((0,ne.useState)(Date.now()),2),l=s[0],c=s[1];(0,ne.useEffect)(function(){var e=setInterval(function(){c(Date.now())},100);return function(){return clearInterval(e)}},[]);var u=Math.max(0,i-(l-o)/1e3),d=i>0?Math.max(0,Math.min(1,u/i)):0,w=(0,ne.useMemo)(function(){return formatTime(u)},[u]),p=r>0&&r<256?" ".concat((t=r+1)<=0?"":["I","II","III","IV","V","VI","VII","VIII","IX","X"][t-1]||"".concat(t)):"";return(0,ty.jsxs)("div",{className:"effect-box",children:[(0,ty.jsx)("div",{className:"effect-box__progress-bg",style:{width:"".concat(100*d,"%")}}),(0,ty.jsx)("img",{className:"effect-box__image",src:n,alt:""}),(0,ty.jsxs)("div",{className:"effect-box__content",children:[(0,ty.jsxs)("div",{className:"effect-box__title",children:[a,p]}),w&&(0,ty.jsx)("div",{className:"effect-box__time",children:w})]})]})},oV={chunksLoading:!1,readingFiles:!1,readonlyFiles:!1,writingFiles:!1,appHasErrors:!1,connectionIssues:0,preventSleep:!1},oJ={chunksLoading:"add-grid",readingFiles:"arrow-bar-down",writingFiles:"arrow-bar-up",appHasErrors:"alert",readonlyFiles:"file-off",connectionIssues:tL.K["cellular-signal-off"],preventSleep:tL.K.moon},oG={connectionIssues:{0:!1,1:"orange",2:"red"}};function IndicatorEffects(e){var t=e.indicators,n=e.effects,r=e.displayIndicators,a=e.displayEffects,o=Object.entries(oV).map(function(e){var n=(0,eO._)(e,1)[0],r=t[n];return{icon:oJ[n],state:r,key:n}});return(0,ty.jsxs)("div",{className:"indicators-container-outer",children:[(0,ty.jsx)("div",{className:"indicators-container",children:r&&o.map(function(e){var t;return(0,ty.jsx)("div",{style:{opacity:+!!e.state,transition:"opacity color 0.1s",color:null==(t=oG[e.key])?void 0:t[e.state]},children:(0,ty.jsx)(tL.Z,{iconName:e.icon})},e.icon)})}),a&&(0,ty.jsx)(EffectsInner,{effects:n})]})}var EffectsInner=function(e){var t=e.effects;return(0,ty.jsx)("div",{className:"effects-container",children:t.map(function(e){return(0,ty.jsx)(EffectBox,(0,eI._)({},e),"effectBox-".concat(e.id))})})},oH=n(7827),oZ=n(60677),oK=n(79251),oX=n(22219),o$=n(47071),o0=n(99471),o1=n(30521),o3=n(72619),o2=n(48431),o5=n(6921),o4=n(71e3),o6=n(98163),o8=n(80699),o9=n(88812),o7=n(13436),ie=n(2523),it=n(26235),ir=n(5303),ia=n(89257),io=n(28182),ii=n(71448),is=n(84252),il=n(98390),ic=n(70782),iu=n(40559),id=n(83933),iw=n(52363),ip={absorption:oH,glowing:oZ,instant_health:oK,nausea:oX,slow_falling:o$,weakness:o0,bad_omen:o1,haste:o3,invisibility:o2,night_vision:o5,slowness:o4,wither:o6,blindness:o8,health_boost:o9,jump_boost:o7,poison:ie,speed:it,conduit_power:ir,hero_of_the_village:ia,levitation:io,regeneration:ii,strength:is,dolphins_grace:il,hunger:ic,luck:iu,resistance:id,unluck:iw,bad_luck:iw,good_luck:iu,fire_resistance:n(13789),instant_damage:n(21726),mining_fatigue:n(3252),saturation:n(55235),water_breathing:n(60290),darkness:n(98771)},ih=(0,td.sj)({indicators:{},effects:[]}),addEffect=function(e){var t,n,r=loadedData.effectsArray.find(function(t){return t.id===e.id}),a=null!=(t=null==r?void 0:r.name)?t:"unknown: ".concat(e.id),o=null!=(n=ip[a.replaceAll(/[A-Z]/g,function(e){return"_".concat(e.toLowerCase())}).slice(1)])?n:null;if(!o)return void(0,tZ.Tb)("received unknown effect id ".concat(e.id));var i=getEffectIndex({id:e.id});if("number"==typeof i)ih.effects[i].initialTime=Date.now(),ih.effects[i].level=e.amplifier,ih.effects[i].duration=e.duration/20;else{var s={id:e.id,name:a,image:o,level:e.amplifier,initialTime:Date.now(),duration:e.duration/20};ih.effects.push(s)}},removeEffect=function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=ih.effects.entries()[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=(0,eO._)(a.value,2),s=i[0];
1i[1].id===e&&ih.effects.splice(s,1)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}},getEffectIndex=function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=ih.effects.entries()[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=(0,eO._)(a.value,2),s=i[0];if(i[1].id===e.id)return s}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return null};function IndicatorEffectsProvider(e){var t,n=e.displayEffects,r=e.displayIndicators,a=(0,eO._)((0,ne.useState)(!1),2),o=(a[0],a[1]),i=(0,tb.R)(ih.indicators),s=!(0,tb.R)(appViewer.rendererState).world.allChunksLoaded;(0,tb.R)(appViewer.rendererState).world.mesherWork;var l=(0,tb.R)(ta.N_).hasErrors,c=(0,tb.R)(t8.RL),u=c.isReadonly,d=c.openReadOperations,w=c.openWriteOperations,p=(0,tb.R)(ta.rl),h=p.noConnection,M=p.poorConnection,g=(0,eI._)({readonlyFiles:u,writingFiles:w>0,readingFiles:d>0,appHasErrors:l,connectionIssues:M?1:2*!!h,chunksLoading:s,preventSleep:!!(null==(t=bot)?void 0:t.wakeLock)},i),m=(0,tb.R)(ih.effects);return(0,ne.useEffect)(function(){var e=setInterval(function(){o(function(e){return!e})},1e3);return function(){return clearInterval(e)}},[]),(0,ne.useMemo)(function(){Object.fromEntries(loadedData.effectsArray.map(function(e){var t=e.name.replaceAll(/[A-Z]/g,function(e){return"_".concat(e.toLowerCase())}).slice(1);return[e.id,ip[t]]}));var gotEffect=function(e,t){e.id===bot.entity.id&&addEffect(t)};bot.on("entityEffect",gotEffect);var e=!0,t=!1,n=void 0;try{for(var r,a,o=Object.values(null!=(r=bot.entity.effects)?r:{})[Symbol.iterator]();!(e=(a=o.next()).done);e=!0){var i=a.value;gotEffect(bot.entity,i)}}catch(e){t=!0,n=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw n}}bot.on("entityEffectEnd",function(e,t){e.id===bot.entity.id&&removeEffect(t.id)})},[]),(0,ty.jsx)(IndicatorEffects,{indicators:g,effects:m,displayIndicators:void 0===r||r,displayEffects:void 0===n||n})}var iM=n(2836);n(5832);var ig=n(64971),im=n.n(ig),iv=n(20042),iy=n(61255),iA=n(63211),ib=n(29709),i_=n(59048);let iL=(0,ru.K)(function(e){var t=e.adapter,n=e.toggleFullMap,r=(0,eO._)((0,ne.useState)(function(){return new Set}),2),a=r[0],o=r[1],i=(0,ne.useRef)(null),s=(0,eO._)((0,ne.useState)(null),2),l=s[0],c=s[1],u=(0,eO._)((0,ne.useState)({x:0,y:0,z:0}),2),d=u[0],w=u[1],p=(0,ne.useRef)({scale:1,positionX:0,positionY:0}),h=(0,ne.useRef)({columns:0,rows:0}),M=(0,eO._)((0,ne.useState)(!1),2),g=M[0],m=M[1],v=(0,eO._)((0,ne.useState)(void 0),2),y=v[0],A=v[1],b=(0,eO._)((0,ne.useState)(void 0),2),_=b[0],L=b[1],updateGrid=function(){var e,t,n=null==(t=i.current)||null==(e=t.instance.wrapperComponent)?void 0:e.getBoundingClientRect();if(n){var r=Math.ceil(n.width/(64*p.current.scale)),a=Math.ceil(n.height/(64*p.current.scale));h.current.rows=a,h.current.columns=r;for(var s=-(64*Math.floor(p.current.positionX/(64*p.current.scale))),l=-(64*Math.floor(p.current.positionY/(64*p.current.scale))),c=new Set,u=-1;u<a;u+=1)for(var d=-1;d<r;d+=1){var w=s+64*d,M=l+64*u;c.add("".concat(w,",").concat(M))}o(c)}};return(0,ne.useEffect)(function(){t.full=!0,console.log("[fullmap] set full property to true"),updateGrid()},[]),(0,ty.jsxs)("div",{style:{position:"fixed",isolation:"isolate",inset:"0px",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(0, 0, 0, 0.4)",zIndex:100},children:[window.screen.width>500?(0,ty.jsx)("div",{style:{position:"absolute",width:"100%",height:"100%",zIndex:"-1"},onClick:n,children:" "}):(0,ty.jsx)(rl.Z,{icon:"close-box",onClick:n,style:{position:"absolute",top:"20px",right:"20px",zIndex:1}}),(0,ty.jsx)(i_.d$,{limitToBounds:!1,ref:i,minScale:.1,doubleClick:{disabled:!1},panning:{allowLeftClickPan:!0,allowRightClickPan:!1},onTransformed:function(e,t){p.current=(0,eI._)({},t)},onPanningStop:function(){updateGrid()},onZoomStop:function(){updateGrid()},children:(0,ty.jsx)(i_.Uv,{wrapperClass:"map",wrapperStyle:{willChange:"transform"},children:(0,eW._)(a).map(function(e){var n,r,a,o,s=(0,eO._)(e.split(",").map(Number),2),c=s[0],u=s[1],d=16*Math.floor(t.playerPosition.x/16),h=16*Math.floor(t.playerPosition.z/16),M=null==(r=i.current)||null==(n=r.instance.wrapperComponent)?void 0:n.getBoundingClientRect(),g=16*
1Math.floor((null!=(a=null==M?void 0:M.width)?a:0)/128),v=16*Math.floor((null!=(o=null==M?void 0:M.height)?o:0)/128);return(0,ty.jsx)(MapChunk,{x:c,y:u,scale:p.current.scale,adapter:t,worldX:d+c/4-g,worldZ:h+u/4-v,setIsWarpInfoOpened:m,setLastWarpPos:w,redraw:l,setInitWarp:A,setWarpPreview:L},"mapcell:"+e)})})}),_&&(0,ty.jsxs)("div",{style:{position:"absolute",top:_.clientY-70,left:_.clientX-70,textAlign:"center",fontSize:"1.5em",textShadow:"0.1em 0 black, 0 0.1em black, -0.1em 0 black, 0 -0.1em black, -0.1em -0.1em black, -0.1em 0.1em black, 0.1em -0.1em black, 0.1em 0.1em black"},children:[_.name,(0,ty.jsxs)("div",{children:[_.x," ",_.z]})]}),g&&(0,ty.jsx)(WarpInfo,{adapter:t,warpPos:d,setIsWarpInfoOpened:m,setRedraw:c,initWarp:y,setInitWarp:A,toggleFullMap:n})]})},"fullmap");var MapChunk=function(e){var t=e.x,n=e.y,r=e.scale,a=e.adapter,o=e.worldX,i=e.worldZ,s=e.setIsWarpInfoOpened,l=e.setLastWarpPos,c=e.redraw,u=e.setInitWarp,d=e.setWarpPreview,w=(0,ne.useRef)(null),p=(0,ne.useRef)(null),h=(0,ne.useRef)(null),longPress=function(e){p.current=setTimeout(function(){p.current=null,handleClick(e)},500)},cancel=function(){p.current&&clearTimeout(p.current)},handleClick=function(e){if(a.mapDrawer){if(console.log("click:",e),"buttons"in e&&2===e.button)t=e.clientX,n=e.clientY;else{if(!("changedTouches"in e))return;t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY}var t,n,r=(0,eO._)(getXZ(t,n),2),c=r[0],d=r[1],w=Math.floor(c+o),p=Math.floor(d+i),h=a.getHighestBlockY(w,p);a.mapDrawer.setWarpPosOnClick(new eK.Vec3(w,h,p)),l(a.mapDrawer.lastWarpPos);var M=a.mapDrawer.lastWarpPos,g=a.warps.find(function(e){return 2>Math.hypot(M.x-e.x,M.z-e.z)});null==u||u(g),s(!0)}},getXZ=function(e,t){var n,o=h.current.getBoundingClientRect(),i=r*(null!=(n=a.mapDrawer.mapPixel)?n:1);return[(e-o.left)/i,(t-o.top)/i]},handleMouseMove=function(e){var t=(0,eO._)(getXZ(e.clientX,e.clientY),2),n=t[0],r=t[1],s=a.warps.find(function(e){return 2>Math.hypot(e.x-n-o,e.z-r-i)});null==d||d(s?{name:s.name,x:s.x,z:s.z,clientX:e.clientX,clientY:e.clientY}:void 0)},handleRedraw=function(e){if(e==="".concat(o/16,",").concat(i/16)){a.mapDrawer.canvas=h.current,a.mapDrawer.full=!0,console.log("[mapChunk] update",e,"".concat(o/16,",").concat(i/16));var t=setTimeout(function(){h.current&&a.drawChunkOnCanvas("".concat(o/16,",").concat(i/16),h.current),clearTimeout(t)},100)}};return(0,ne.useEffect)(function(){h.current&&a.drawChunkOnCanvas("".concat(o/16,",").concat(i/16),h.current)},[h.current]),(0,ne.useEffect)(function(){var e,t,n,r,a;return null==(e=h.current)||e.addEventListener("contextmenu",handleClick),null==(t=h.current)||t.addEventListener("touchstart",longPress),null==(n=h.current)||n.addEventListener("touchend",cancel),null==(r=h.current)||r.addEventListener("touchmove",cancel),null==(a=h.current)||a.addEventListener("mousemove",handleMouseMove),function(){var e,t,n,r,a;null==(e=h.current)||e.removeEventListener("contextmenu",handleClick),null==(t=h.current)||t.removeEventListener("touchstart",longPress),null==(n=h.current)||n.removeEventListener("touchend",cancel),null==(r=h.current)||r.removeEventListener("touchmove",cancel),null==(a=h.current)||a.removeEventListener("mousemove",handleMouseMove)}},[h.current]),(0,ne.useEffect)(function(){if(c){var e=!0,t=!1,n=void 0;try{for(var r,a=c[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value;handleRedraw(o)}}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}}},[c]),(0,ty.jsx)("div",{ref:w,style:{position:"absolute",width:"64px",height:"64px",top:"".concat(n,"px"),left:"".concat(t,"px")},children:(0,ty.jsx)("canvas",{ref:h,style:{width:"100%",height:"100%",imageRendering:"pixelated"},width:64,height:64})})},WarpInfo=function(e){var t,n,r,a,o,i,s=e.adapter,l=e.warpPos,c=e.setIsWarpInfoOpened,u=e.afterWarpIsSet,d=e.initWarp,w=e.toggleFullMap,p=e.setRedraw,h=(0,eO._)((0,ne.useState)(null!=d?d:{name:"",x:null!=(t=null==l?void 0:l.x)?t:100,y:null!=(n=null==l?void 0:l.y)?n:100,z:null!=(r=null==l?void 0:l.z)?r:100,color:"",disabled:!1,world:s.world}),2),M=h[0],g=h[1],m={flexGrow:"1"},v={display:"flex",alignItems:"center",gap:"5px"},updateChunk=function(){for(var e=new Set,t=-1;t<2;t+=1)for(var n=-1;n<2;n+=1)e.add("".concat(Math.floor(M.x/16)+n,",").concat(Math.floor(M.z/16)+t));null==p||p(e),console.log("[warpInfo] update",e)},quickTp=function(){var e;null==w||w(),null==(e=s.quickTp)||e.call(s,M.x,M.z)};return(0,ty.jsx)("div",{style:{position:"absolute",inset:"0px",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",backgroundColor:"rgba(0, 0, 0, 0.5)",fontSize:"0.8em",transform:"scale(2)"},children:(0,ty.jsxs)("form",{style:{display:"flex",flexDirection:"column",gap:"10px",width:window.screen.width>500?"100%":"50%",minWidth:"100px",maxWidth:"300px",padding:"20px",backgroundColor:"rgba(0, 0, 0, 0.5)",border:"2px s
1olid black"},children:[(0,ty.jsx)("h2",{style:{alignSelf:"center"},children:"Point on the map"}),(0,ty.jsxs)("div",{style:v,children:[(0,ty.jsx)("div",{children:"Name:"}),(0,ty.jsx)(rs.ZP,{defaultValue:M.name,onChange:function(e){e.target&&g(function(t){return(0,eP._)((0,eI._)({},t),{name:e.target.value})})},autoFocus:!0})]}),(0,ty.jsxs)("div",{style:v,children:[(0,ty.jsx)("div",{children:"X:"}),(0,ty.jsx)(rs.ZP,{rootStyles:m,defaultValue:null!=(a=M.x)?a:100,onChange:function(e){e.target&&g(function(t){return(0,eP._)((0,eI._)({},t),{x:Number(e.target.value)})})}}),(0,ty.jsx)("div",{children:"Z:"}),(0,ty.jsx)(rs.ZP,{rootStyles:m,defaultValue:null!=(o=M.z)?o:100,onChange:function(e){e.target&&g(function(t){return(0,eP._)((0,eI._)({},t),{z:Number(e.target.value)})})}})]}),(0,ty.jsxs)("div",{style:v,children:[(0,ty.jsx)("div",{children:"Color:"}),(0,ty.jsx)(rs.ZP,{type:"color",defaultValue:""===M.color?"#232323":M.color,onChange:function(e){e.target&&g(function(t){return(0,eP._)((0,eI._)({},t),{color:e.target.value})})},rootStyles:{width:"30px"},style:{left:"0px"}})]}),(0,ty.jsxs)("div",{style:v,children:[(0,ty.jsx)("label",{htmlFor:"warp-disabled",children:"Disabled:"}),(0,ty.jsx)("input",{id:"warp-disabled",type:"checkbox",checked:null!=(i=M.disabled)&&i,onChange:function(e){e.target&&g(function(t){return(0,eP._)((0,eI._)({},t),{disabled:e.target.checked})})}})]}),(0,ty.jsx)(rl.Z,{style:{alignSelf:"center"},onClick:function(){quickTp()},children:"Quick TP"}),(0,ty.jsxs)("div",{style:v,children:[(0,ty.jsx)(rl.Z,{onClick:function(){c(!1)},children:"Cancel"}),(0,ty.jsx)(rl.Z,{onClick:function(e){e.preventDefault(),s.setWarp((0,eI._)({},M)),console.log(s.warps),c(!1),updateChunk(),null==u||u()},type:"submit",children:"Add Warp"}),d&&(0,ty.jsx)(rl.Z,{onClick:function(){-1!==s.warps.findIndex(function(e){return e.name===M.name})&&(s.setWarp({name:M.name,x:0,y:0,z:0,color:"",disabled:!1,world:""},!0),c(!1),updateChunk(),null==u||u())},children:"Delete"})]})]})})};function Minimap(e){var t=e.adapter,n=e.showMinimap,r=e.showFullmap,a=e.singleplayer,o=e.fullMap,i=e.toggleFullMap,s=e.displayMode,l=(0,ne.useRef)(!1),c=(0,ne.useRef)(0),u=(0,ne.useRef)(null),d=(0,eO._)((0,ne.useState)({x:0,y:0,z:0}),2),w=d[0],p=d[1],h=(0,ne.useRef)(0),updateMap=function(){var e=Date.now();e-h.current<50||(h.current=e,p({x:t.playerPosition.x,y:t.playerPosition.y,z:t.playerPosition.z}),t.mapDrawer&&(l.current||(rotateMap(),t.mapDrawer.draw(t.playerPosition),t.mapDrawer.drawPlayerPos(),t.mapDrawer.drawWarps()),c.current%300!=0||o||("requestIdleCallback"in window?requestIdleCallback(function(){var e;null==(e=t.mapDrawer)||e.clearChunksStore()}):t.mapDrawer.clearChunksStore(),c.current=0)),c.current+=1)},updateWarps=function(){},rotateMap=function(){t.mapDrawer&&(t.mapDrawer.canvas.style.transform="rotate(".concat(t.yaw,"rad)"),t.mapDrawer.yaw=t.yaw)};return(0,ne.useEffect)(function(){u.current&&t.mapDrawer&&!ta.N_.displayFullmap&&(t.mapDrawer.canvas=u.current,t.mapDrawer.full=!1)},[u.current,ta.N_.displayFullmap]),(0,ne.useEffect)(function(){return t.on("updateMap",updateMap),t.on("updateWaprs",updateWarps),function(){t.off("updateMap",updateMap),t.off("updateWaprs",updateWarps)}},[t]),o&&"minimapOnly"!==s&&("singleplayer"===r&&a||"always"===r)?(0,ty.jsx)(iL,{toggleFullMap:i,adapter:t}):"fullmapOnly"!==s&&("singleplayer"===n&&a||"always"===n)?(0,ty.jsxs)("div",{className:"minimap",style:{position:"absolute",right:"0px",top:"0px",padding:"5px 5px 0px 0px",textAlign:"center",zIndex:7},onClick:function(){null==i||i()},children:[(0,ty.jsx)("canvas",{style:{transition:"0.5s",transitionTimingFunction:"ease-out",borderRadius:"1000px"},width:80,height:80,ref:u}),(0,ty.jsxs)("div",{style:{fontSize:"0.5em",textShadow:"0.1em 0 black, 0 0.1em black, -0.1em 0 black, 0 -0.1em black, -0.1em -0.1em black, -0.1em 0.1em black, 0.1em -0.1em black, 0.1em 0.1em black"},children:[Math.round(w.x)," ",Math.round(w.y)," ",Math.round(w.z)]})]}):null}var iC=function(){function MinimapDrawer(e,t,n,r){(0,tj._)(this,MinimapDrawer),this.loadChunk=e,this.warps=t,this.loadingChunksQueue=n,this.chunksStore=r,this.chunksInView=new Set,this._full=!1,this.loadChunk=e,this.warps=t,this.loadingChunksQueue=n,this.chunksStore=r}var e=MinimapDrawer.prototype;return e.setMapPixel=function(){this.full?(this.radius=Math.floor(Math.min(this.canvas.width,this.canvas.height)/2),this._mapSize=16):(this.radius=Math.floor(Math.min(this.canvas.width,this.canvas.height)/2.2),this._mapSize=2*this.radius),this.mapPixel=Math.floor(2*this.radius/this.mapSize)},e.draw=function(e){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.lastBotPos=e,this.updateChunksInView();var t=!0,n=!1,r=void 0;try{for(var a,o=this.chunksInView[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i,s,l=a.value;this.chunksStore.has(l)||(null==(i=this.loadingChunksQueue)?void 0:i.has(l))||null==(s=this.loadChunk)||s.call(this,l),this.drawChunk(l)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}this.full||this.drawPartsOfWorld()},e.updateChunksInView=function(e,t){var n=null!=e?e:this.lastBotPos.x,r=null!=t?t:this.lastBotPos.z,a=this.mapSize/2,o=Math.floor((n-a)/16)-1,i=Math.ceil((n+a)/16),s=Math.floor((r-a)/16)-1,l=Math.ceil((r+a)/16);this.chunksInView.clear();for(var c=s;c<=l;c+=1)for(var u=o;u<=i;u+=1)this.chunksInView.add("".concat(u,",").concat(c))},e.drawChunk=function(e,t){var n=(0,eO._)(e.split(",").map(Number),2),r=n[0],a=n[1],o=Math.floor((16*r-this.lastBotPos.x)*this.mapPixel+this.canvasWidthCenterX),i=Math.floor((16*a-this.lastBotPos.z)*this.mapPixel+this.canvasWidthCenterY),s=null!=t?t:this.chunksStore.get(e);if((void 0===s?"undefined":(0,eR._)(s))!=="object"){var l=16*this.mapPixel;this.ctx.fillStyle="requested"===s?"rgb(200, 200, 200)":"rgba(0, 0, 0, 0.5)",this.ctx.fillRect(o,i,l,l);return}for(var c=0;c<16;c+=1)for(var u=0;u<16;u+=1){var d,w=16*c+u,p=null!=(d=null==s?void 0:s.colors[w])?d:"rgb(255, 0, 0)",h=o+this.mapPixel*u,M=i+this.mapPixel*c;this.drawPixel(h,M,p)}},e.drawPixel=function(e,t,n){if(!this.full&&Math.hypot(e-this.canvasWidthCenterX,t-this.canvasWidthCenterY)>this.radius)return void this.ctx.clearRect(e,t,this.mapPixel,this.mapPixel);this.ctx.fillStyle=n,this.ctx.fillRect(e,t,this.mapPixel,this.mapPixel)},e.clearChunksStore=function(){var e=!0,t=!1,n=void 0;try{for(var r,a=this.chunksStore.keys()[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value,i=(0,eO._)(o.split(",").map(function(e){return 16*Number(e)}),2),s=i[0],l=i[1];Math.hypot(this.lastBotPos.x-s,this.lastBotPos.z-l)>5*this.radius&&this.chunksStore.delete(o)}}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}},e.setWarpPosOnClick=function(e){this.lastWarpPos=new eK.Vec3(e.x,e.y,e.z)},e.drawWarps=function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=this.warps[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i,s,l,c,u,d=a.value;if(!(!this.full&&Math.hypot(null!=(i=null==e?void 0:e.x)?i:this.lastBotPos.x-d.x,null!=(s=null==e?void 0:e.z)?s:this.lastBotPos.z-d.z)>this.mapSize)){var w=this.full?0:.1*this.radius,p=Math.floor((this.mapSize/2-(null!=(l=null==e?void 0:e.z)?l:this.lastBotPos.z)+d.z)*this.mapPixel)+w,h=Math.floor((this.mapSize/2-(null!=(c=null==e?void 0:e.x)?c:this.lastBotPos.x)+d.x)*this.mapPixel)+w,M=p-this.canvasWidthCenterX,g=h-this.canvasWidthCenterY,m=Math.hypot(g,M),v=Math.atan2(M,g),y=m>this.mapSize/2&&!this.full?this.canvasWidthCenterX+this.mapSize/2*Math.sin(v):p,A=m>this.mapSize/2&&!this.full?this.canvasWidthCenterY+this.mapSize/2*Math.cos(v):h;this.ctx.beginPath(),this.ctx.arc(A,y,m>this.mapSize/2&&!this.full?1.5*this.mapPixel:this.full?this.mapPixel:2*this.mapPixel,0,2*Math.PI,!1),this.ctx.strokeStyle="black",this.ctx.lineWidth=this.mapPixel,this.ctx.stroke(),this.ctx.fillStyle=d.disabled?"rgba(255, 255, 255, 0.4)":null!=(u=d.color)?u:"#d3d3d3",this.ctx.fill(),this.ctx.closePath()}}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}},e.drawPartsOfWorld=function(){this.ctx.fillStyle="white",this.ctx.shadowOffsetX=1,this.ctx.shadowOffsetY=1,this.ctx.shadowColor="black",this.ctx.font="".concat(this.radius/4,"px serif"),this.ctx.textAlign="center",this.ctx.textBaseline="middle",this.ctx.strokeStyle="black",this.ctx.lineWidth=1;var e=-Math.PI/2,t=e+Math.PI,n=e+3*Math.PI/2,r=e+Math.PI/2;this.ctx.strokeText("N",this.canvasWidthCenterX+this.radius*Math.cos(e),this.canvasWidthCenterY+this.radius*Math.sin(e)),this.ctx.strokeText("S",this.canvasWidthCenterX+this.radius*Math.cos(t),this.canvasWidthCenterY+this.radius*Math.sin(t)),this.ctx.strokeText("W",this.canvasWidthCenterX+this.radius*Math.cos(n),this.canvasWidthCenterY+this.radius*Math.sin(n)),this.ctx.strokeText("E",this.canvasWidthCenterX+this.radius*Math.cos(r),this.canvasWidthCenterY+this.radius*Math.sin(r)),this.ctx.fillText("N",this.canvasWidthCenterX+this.radius*Math.cos(e),this.canvasWidthCenterY+this.radius*Math.sin(e)),this.ctx.fillText("S",this.canvasWidthCenterX+this.radius*Math.cos(t),this.canvasWidthCenterY+this.radius*Math.sin(t)),this.ctx.fillText("W",this.canvasWidthCenterX+this.radius*Math.cos(n),this.canvasWidthCenterY+this.radius*Math.sin(n)),this.ctx.fillText("E",this.canvasWidthCenterX+this.radius*Math.cos(r),this.canvasWidthCenterY+this.radius*Math.sin(r)),this.ctx.shadowOffsetX=0,this.ctx.shadowOffsetY=0},e.drawPlayerPos=function(e,t,n){this.ctx.setTransform(1,0,0,1,0,0);var r=(this.lastBotPos.x-(null!=e?e:this.lastBotPos.x))*this.mapPixel-30*!!this.full,a=(this.lastBotPos.z-(null!=t?t:this.lastBotPos.z))*this.mapPixel-30*!!this.full,o=this.mapSize/2*this.mapPixel+(this.full?0:.1*this.radius);this.ctx.translate(o+r,o+a),n||this.ctx.rotate(-this.yaw);var i=this.full?2:1,s=3*i,l=3*i;this.ctx.beginPath(),this.ctx.moveTo(0,-l),this.ctx.lineTo(-s,l),this.ctx.lineTo(s,l),this.ctx.closePath(),this.ctx.strokeStyle="#000000",this.ctx.lineWidth=this.full?2:1,this.ctx.stroke(),this.ctx.fillStyle="#FFFFFF",this.ctx.fill(),this.ctx.setTransform(1,0,0,1,0,0)},e.rotateMap=function(e){this.ctx.setTransform(1,0,0,1,0,0),this.ctx.translate(this.canvasWidthCenterX,this.canvasWidthCenterY),this.ctx.rotate(e),this.ctx.translate(-this.canvasWidthCenterX,-this.canvasWidthCenterY)},(0,iM._)(MinimapDrawer,[{key:"full",get:function(){return this._full},set:function(e){this._full=e,this.setMapPixel()}},{key:"canvas",get:function(){return this._canvas},set:function(e){this.ctx=e.getContext("2d",{willReadFrequently:!0}),this.ctx.imageSmoothingEnabled=!1,this.canvasWidthCenterX=e.width/2,this.canvasWidthCenterY=e.height/2,this._canvas=e,this.setMapPixel()}},{key:"mapSize",get:function(){return this._mapSize},set:function(e){this._mapSize=e,this.mapPixel=Math.floor(2*this.radius/this.mapSize),this.draw(this.lastBotPos)}}]),MinimapDrawer}(),findHeightMap=function(e){function search(e){for(var t in e)if(["heightmap","heightmaps"].includes(t.toLowerCase()))return e[t];else if("object"===(0,eR._)(e[t])&&null!==e[t])return search(e[t])}return search(e)},ij=function(e){function DrawerAdapterImpl(e){if((0,tj._)(this,DrawerAdapterImpl),(s=(0,n4._)(this,DrawerAdapterImpl)).warps=ta.rl.warps,s.chunksStore=new Map,s.loadingChunksQueue=new Set,s.loadChunk=s.loadChunkMinimap,s.mapDrawer=new iC(s.loadChunk.bind(s),s.warps,s.loadingChunksQueue,s.chunksStore),s.currChunkPos={x:0,z:0},s.heightMap={},s.regions=new Map,s.chunksHeightmaps={},s._full=!1,s.isBuiltinHeightmapAvailable=!1,s.unsubscribers=[],s.playerPosition=null!=e?e:new eK.Vec3(0,0,0),localServer){var t=Math.floor(s.playerPosition.x/16),n=Math.floor(s.playerPosition.z/16),r=Math.floor(t/32),a=Math.floor(n/32),o="".concat(r,",").concat(a),i=localServer.options.worldFolder;if(i){var s,l,c,u="".concat(i,"/region/r.").concat(r,".").concat(a,".mca"),d=new(im())(u);d.initialize(),s.regions.set(o,d);var w=t%32<0?32+t%32:t%32,p=n%32<0?32+n%32:n%32;console.log("heightmap check begun",w,p),null==(c=s.regions.get(o))||null==(l=c.read(w,p))||l.then(function(e){var t;try{var n=(0,oY.simplify)(e);t=findHeightMap(n)}catch(e){console.warn("error getting heightmap",e)}t?(s.isBuiltinHeightmapAvailable=!0,s.loadChunkFullmap=s.loadChunkFromRegion,console.log("using heightmap")):(s.isBuiltinHeightmapAvailable=!1,s.loadChunkFullmap=s.loadChunkNoRegion,console.log("dont use heightmap"))})}else s.isBuiltinHeightmapAvailable=!1,s.loadChunkFullmap=s.loadChunkNoRegion,console.log("dont use heightmap")}else s.isBuiltinHeightmapAvailable=!1,s.loadChunkFullmap=s.loadChunkFromViewer;if(localServer)s.overwriteWarps(localServer.warps);else{var h,M,g,m,v=localStorage.getItem("warps: ".concat(null!=(g=null==(h=tM.Pc.value)?void 0:h.server)?g:"server"," ").concat(null!=(m=null==(M=tM.Pc.value)?void 0:M.username)?m:"username"));s.overwriteWarps(JSON.parse(null!=v?v:"[]"))}
1s.isOldVersion=(0,e6.Uo)(bot.version)<(0,e6.Uo)("1.13"),s.blockData=new Map;var y=!0,A=!1,b=void 0;try{for(var _,L=Object.keys(iA.O9)[Symbol.iterator]();!(y=(_=L.next()).done);y=!0){var C=_.value,j=(0,rk.getRenamedData)("blocks",C,"1.20.2",bot.version);s.blockData.set(j,iA.O9[C])}}catch(e){A=!0,b=e}finally{try{y||null==L.return||L.return()}finally{if(A)throw b}}return(0,td.Ld)(appViewer.rendererState.world,function(){var e=!0,t=!1,n=void 0;try{for(var r,a=s.loadingChunksQueue[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value;appViewer.rendererState.world.chunksLoaded[o]&&(s.loadingChunksQueue.delete(o),s.loadChunk(o))}}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}}),s}(0,n6._)(DrawerAdapterImpl,e);var t=DrawerAdapterImpl.prototype;return t.destroy=function(){var e=!0,t=!1,n=void 0;try{for(var r,a=this.unsubscribers[Symbol.iterator]();!(e=(r=a.next()).done);e=!0)(0,r.value)()}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}},t.overwriteWarps=function(e){this.warps.splice(0,this.warps.length);var t=!0,n=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value;this.warps.push((0,eI._)({},i))}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}},t.setWarp=function(e,t){this.world=bot.game.dimension;var n=this.warps.findIndex(function(t){return t.name===e.name});t||-1!==n?t&&-1!==n?this.warps.splice(n,1):this.warps[n]=e:this.warps.push(e),localServer?localServer.setWarp(e,t):t?localStorage.removeItem("warps: ".concat(bot.username," ").concat(tM.Pc.value.server)):localStorage.setItem("warps: ".concat(bot.username," ").concat(tM.Pc.value.server),JSON.stringify(this.warps)),this.emit("updateWarps")},t.getHighestBlockY=function(e,t,n){var r=16*Math.floor(e/16),a=16*Math.floor(t/16);if(this.chunksHeightmaps["".concat(r,",").concat(a)])return this.chunksHeightmaps["".concat(r,",").concat(a)][e-r+(t-a)*16]-1;for(var o=null!=n?n:bot.world,i=bot.game,s=i.height,l=i.minY,c=s;c>0;c-=1){var u=o.getBlock(new eK.Vec3(15&e,l+c,15&t));if(u&&!iy._.has(u.name))return l+c}return l},t.getChunkSingleplayer=function(e,t){return(0,eE._)(function(){return(0,eB.Jh)(this,function(n){switch(n.label){case 0:if(!localServer.overworld.storageProvider.getRegion(16*e,16*t))return[2,"unavailable"];return[4,localServer.players[0].world.getColumn(e,t)];case 1:return[2,n.sent()]}})})()},t.loadChunkMinimap=function(e){var t=this;return(0,eE._)(function(){var n,r,a,o,i,s,l,c,u,d,w,p,h,M,g;return(0,eB.Jh)(this,function(m){if(r=(n=(0,eO._)(e.split(",").map(Number),2))[0],a=n[1],o=16*r,i=16*a,appViewer.rendererState.world.chunksLoaded[e]){if(!(s=appViewer.rendererState.world.heightmaps[e]))return console.warn("[MinimapProvider] no highestBlocks from renderMethods"),[2,void 0];for(u=0,l=Array.from({length:256}).fill(""),c=new eK.Vec3(0,0,0);u<16;u+=1)for(d=0;d<16;d+=1){if(w=o+d,p=i+u,h=16*u+d,c.x=w,c.z=p,c.y=s[h],!(M=bot.world.getBlock(c))){l[h]="rgba(0, 0, 0, 0.5)";continue}l[h]=t.setColor(M)}g={heightmap:s,colors:l},t.applyShadows(g),t.chunksStore.set(e,g),t.emit("chunkReady","".concat(r,",").concat(a))}else t.loadingChunksQueue.add("".concat(r,",").concat(a)),t.chunksStore.set(e,"requested");return[2]})})()},t.loadChunkNoRegion=function(e){var t=this;return(0,eE._)(function(){var n,r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v;return(0,eB.Jh)(this,function(y){switch(y.label){case 0:return r=(n=(0,eO._)(e.split(",").map(Number),2))[0],a=n[1],o=16*r,i=16*a,[4,t.getChunkSingleplayer(r,a)];case 1:if("unavailable"===(s=y.sent()))return[2,null];for(u=0,l=new Int16Array(256),c=Array.from({length:256}).fill("");u<16;u+=1)for(d=0;d<16;d+=1){for(w=o+d,p=i+u,h=t.getHighestBlockY(w,p,s),M=new eK.Vec3(15&w,h,15&p),g=s.getBlock(M);null==g?void 0:g.name.includes("air");)M.y-=1,g=s.getBlock(M);if(!g)return console.warn("[cannot get the block] ".concat(r,", ").concat(a,", ").concat(o+d,", ").concat(i+u)),[2,null];l[m=16*u+d]=M.y,c[m]=t.setColor(g)}return v={heightmap:l,colors:c},t.applyShadows(v),[2,v]}})})()},t.loadChunkFromRegion=function(e){var t=this;return(0,eE._)(function(){var n,r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v;return(0,eB.Jh)(this,function(y){switch(y.label){case 0:return r=(n=(0,eO._)(e.split(",").map(Number),2))[0],a=n[1],o=16*r,i=16*a,[4,t.getChunkHeightMapFromRegion(r,a)];case 1:if(!(s=y.sent()))return[2,null];return[4,t.getChunkSingleplayer(r,a)];case 2:if("unavailable"===(l=y.sent()))return[2,null];for(u=0,c=Array.from({length:256}).fill("");u<16;u+=1)for(d=0;d<16;d+=1){for(w=o+d,p=i+u,h=16*u+d,s[h]-=1,s[h]<0&&(s[h]=0),M=s[h],g=new eK.Vec3(15&w,M,15&p),m=l.getBlock(g);null==m?void 0:m.name.includes("air");)g.y-=1,m=l.getBlock(g);if(!m)return console.warn("[cannot get the block] ".concat(r,", ").concat(a,", ").concat(o+d,", ").concat(i+u)),[2,null];c[h]=t.setColor(m)}return v={heightmap:s,colors:c},t.applyShadows(v),[2,v]}})})()},t.getChunkHeightMapFromRegion=function(e,t,n){var r=this;return(0,eE._)(function(){var a,o,i,s,l,c,u,d,w;return(0,eB.Jh)(this,function(p){switch(p.label){case 0:if(a=Math.floor(e/32),o=Math.floor(t/32),i="".concat(a,",").concat(o),r.regions.has(i))return[3,2];return s=localServer.options.worldFolder,l="".concat(s,"/region/r.").concat(a,".").concat(o,".mca"),[4,(c=new(im())(l)).initialize()];case 1:p.sent(),r.regions.set(i,c),p.label=2;case 2:return[4,r.regions.get(i).read(e%32,t%32)];case 3:return u=p.sent(),d=(0,oY.simplify)(u),console.log("chunk ".concat(e,", ").concat(t,":"),d),w=findHeightMap(d),console.log("heightmap ".concat(e,", ").concat(t,":"),w),null==n||n(w),[2,w]}})})()},t.loadChunkFromViewer=function(e){var t=this;return(0,eE._)(function(){var n,r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,y;return(0,eB.Jh)(this,function(A){switch(A.label){case 0:return a=(r=(0,eO._)(e.split(",").map(Number),2))[0],o=r[1],i=16*a,s=16*o,[4,null==(n=(0,tt.z)())?void 0:n.getHighestBlocks("".concat(i,",").concat(s))];case 1:if(l=A.sent(),!appViewer.rendererState.world.chunksLoaded["".concat(i,",").concat(s)]||(c=new Uint8Array(256),u=Array.from({length:256}).fill(""),!l))return[2,null];for(d=0;d<16;d+=1)for(w=0;w<16;w+=1){if(p=i+w,h=s+d,M=l["".concat(p,",").concat(h)],m=bot.world.getBlock(new eK.Vec3(p,null!=(g=null==M?void 0:M.y)?g:0,h)),v=16*d+w,!m||!M){console.warn("[loadChunk] ".concat(a,", ").concat(o,", ").concat(i+w,", ").concat(s+d)),c[v]=0,u[v]="rgba(0, 0, 0, 0.5)";continue}c[v]=M.y,u[v]=t.setColor(m)}return y={heightmap:c,colors:u},t.applyShadows(y),[2,y]}})})()},t.applyShadows=function(e){for(var t=0;t<16;t+=1)for(var n=0;n<16;n+=1){var r,a,o,i,s,l,c=16*t+n,u=e.colors[c],d=e.heightmap[c],w=0,p=null!=(r=e.heightmap[c+1])?r:0,h=null!=(a=e.he
1ightmap[c-16])?a:0,M=null!=(o=e.heightmap[c-15])?o:0;(p>d||h>d||M>d)&&(e.colors[c]=this.makeDarker(u),w-=1);var g=null!=(i=e.heightmap[c-1])?i:0,m=null!=(s=e.heightmap[c+16])?s:0,v=null!=(l=e.heightmap[c+15])?l:0;(g>d||m>d||v>d)&&(e.colors[c]=this.makeLighter(u),w+=1);var y=void 0;if(1===n?y=c-1:14===n?y=c+1:1===t?y=c-16:14===t&&(y=c+16),void 0!==y){var A=e.colors[y];switch(w){case 1:e.colors[y]=this.makeLighter(A);break;case -1:e.colors[y]=this.makeDarker(A)}}}},t.makeDarker=function(e){var t,n,r=null!=(n=null==(t=e.match(/\d+/g))?void 0:t.map(Number))?n:[];return 3!==r.length?e:(r=r.map(function(e){var t=e-20;return t<0&&(t=0),t}),"rgb(".concat(r.join(","),")"))},t.makeLighter=function(e){var t,n,r=null!=(n=null==(t=e.match(/\d+/g))?void 0:t.map(Number))?n:[];return 3!==r.length?e:(r=r.map(function(e){var t=e+20;return t>255&&(t=255),t}),"rgb(".concat(r.join(","),")"))},t.clearChunksStore=function(e,t){var n=!0,r=!1,a=void 0;try{for(var o,i=Object.keys(this.chunksStore)[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var s=o.value,l=(0,eO._)(s.split(",").map(Number),2),c=l[0],u=l[1];if(Math.hypot(c-e,u-t)>300){delete this.chunksStore[s],delete this.chunksHeightmaps[s];for(var d=0;d<16;d+=1)for(var w=0;w<16;w+=1)delete this.heightMap["".concat(c+d,",").concat(u+w)]}}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}},t.setColor=function(e){if("rgb(0, 255, 0)"===(i=this.isOldVersion?null!=(l=iA.O9[null==(s=ib.blocks["".concat(e.type,":").concat(e.metadata)])?void 0:s.replaceAll(/\[.*?]/g,"")])?l:"rgb(0, 0, 255)":null!=(c=this.blockData.get(e.name))?c:"rgb(0, 255, 0)")||"rgb(0, 0, 255)"===i){var t=e.name.split("_"),n=(0,eW._)(this.blockData.keys()),r=!0,a=!1,o=void 0;try{for(var i,s,l,c,u,d,w=t[Symbol.iterator]();!(r=(d=w.next()).done);r=!0){var p=(u=this,function(){var e,t=d.value,r=n.find(function(e){return e.includes(t)});if(r)return i=null!=(e=u.blockData.get(r))?e:"rgb(255, 0, 0)","break"}());if("break"===p)break}}catch(e){a=!0,o=e}finally{try{r||null==w.return||w.return()}finally{if(a)throw o}}}return i},t.quickTp=function(e,t){var n=this,r=this.getHighestBlockY(e,t);bot.chat("/tp ".concat(e," ").concat(r+20," ").concat(t));var a=setTimeout(function(){var r=n.getHighestBlockY(e,t);bot.chat("/tp ".concat(e," ").concat(r+20," ").concat(t)),clearTimeout(a)},500)},t.drawChunkOnCanvas=function(e,t){var n=this;return(0,eE._)(function(){var r,a,o,i,s;return(0,eB.Jh)(this,function(l){switch(l.label){case 0:return[4,n.loadChunkFullmap(e)];case 1:return r=l.sent(),o=(a=(0,eO._)(e.split(",").map(function(e){return 16*Number(e)}),2))[0],i=a[1],s=new eK.Vec3(o+8,0,i+8),n.mapDrawer.lastBotPos=s,n.mapDrawer.canvas=t,n.mapDrawer.full=!0,n.mapDrawer.drawChunk(e,r),n.mapDrawer.drawWarps(s),n.mapDrawer.lastBotPos=n.playerPosition,n.mapDrawer.yaw=n.yaw,n.mapDrawer.drawPlayerPos(o,i),[2]}})})()},(0,iM._)(DrawerAdapterImpl,[{key:"full",get:function(){return this._full},set:function(e){e||(console.log("this is minimap"),this.loadChunk=this.loadChunkMinimap,this.mapDrawer.loadChunk=this.loadChunk),this._full=e}}]),DrawerAdapterImpl}(iv.L),MinimapProvider_Inner=function(e){var t=e.adapter,n=e.displayMode,r=e.toggleFullMap,updateWarps=function(e){if(e instanceof Error)return void console.error("An error occurred:",e.message);t.overwriteWarps(e)},updateMap=function(){t&&!ta.N_.displayFullmap&&(t.playerPosition=bot.entity.position,t.yaw=bot.entity.yaw,t.emit("updateMap"))};return(0,ne.useEffect)(function(){var e;return bot.on("move",updateMap),null==(e=localServer)||e.on("warpsUpdated",updateWarps),function(){var e,t;null==(e=bot)||e.off("move",updateMap),null==(t=localServer)||t.off("warpsUpdated",updateWarps)}},[]),(0,ty.jsx)("div",{children:(0,ty.jsx)(Minimap,{adapter:t,showMinimap:tr.YM.showMinimap,showFullmap:"always",singleplayer:ta.N_.singleplayer,fullMap:"fullmapOnly"===n,toggleFullMap:r,displayMode:n})})};function MinimapProvider(e){var t=e.adapter,n=e.displayMode,r=(0,tb.R)(tr.YM).showMinimap,a=(0,t_.uM)("full-map");return("minimapOnly"===n?"never"!==r&&("singleplayer"!==r||ta.N_.singleplayer):a)?(0,ty.jsx)(MinimapProvider_Inner,{adapter:t,displayMode:n,toggleFullMap:function(){nS.emit("trigger",{command:"ui.toggleMap"})}}):null}var iD={turtle:{helmet:2,chestplate:null,leggings:null,boots:null},leather:{helmet:1,chestplate:3,leggings:2,boots:1},golden:{helmet:2,chestplate:5,leggings:3,boots:1},chainmail:{helmet:2,chestplate:5,leggings:4,boots:1},iron:{helmet:2,chestplate:6,leggings:5,boots:2},diamond:{helmet:3,chestplate:8,leggings:6,boots:3},netherite:{helmet:3,chestplate:8,leggings:6,boots:3}},BarsCommon_getEffectClass=function(e){switch(e.id){case 19:return"poisoned";case 20:return"withered";case 22:return"absorption";default:return""}},barEffectAdded=function(e,t){var n=BarsCommon_getEffectClass(t);n&&e.classList.add(n)},barEffectEnded=function(e,t){var n=BarsCommon_getEffectClass(t);n&&e.classList.remove(n)};function HealthBar(e){var t=e.gameMode,n=e.isHardcore,r=e.damaged,a=e.healthValue,o=e.effectToAdd,i=e.effectToRemove,s=e.resetEffects,l=e.style,c=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){c.current&&c.current.classList.toggle("creative","creative"===t||"spectator"===t)},[t]),(0,ne.useEffect)(function(){c.current&&(n?c.current.classList.add("hardcore"):c.current.classList.remove("hardcore"))},[n]),(0,ne.useEffect)(function(){c.current&&(r?(c.current.classList.add("damaged"),
1console.log("damage")):c.current.classList.remove("damaged"))},[r]),(0,ne.useEffect)(function(){if(c.current){a<=4?c.current.classList.add("low"):c.current.classList.remove("low");var e=c.current.children,t=!0,n=!1,r=void 0;try{for(var o,i=e[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=o.value;s.classList.remove("full"),s.classList.remove("half")}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}for(var l=0;l<Math.ceil(a/2)&&!(l>=e.length);l++)a%2!=0&&Math.ceil(a/2)===l+1?e[l].classList.add("half"):e[l].classList.add("full")}},[a]),(0,ne.useEffect)(function(){o&&barEffectAdded(c.current,o),i&&barEffectEnded(c.current,i),null==s||s()},[o,i]),(0,ty.jsx)(n0.Z,{children:(0,ty.jsx)("div",{ref:c,className:"health",style:l,children:Array.from({length:10},function(){return 0}).map(function(e,t){return(0,ty.jsx)("div",{className:"heart"},"heart-".concat(t))})})})}function FoodBar(e){var t=e.gameMode,n=e.food,r=e.effectToAdd,a=e.effectToRemove,o=e.resetEffects,i=e.style,s=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){s.current&&s.current.classList.toggle("creative","creative"===t||"spectator"===t)},[t]),(0,ne.useEffect)(function(){var e=s.current;if(e){e.classList.toggle("low",n<=5);var t=e.children,r=!0,a=!1,o=void 0;try{for(var i,l=t[Symbol.iterator]();!(r=(i=l.next()).done);r=!0){var c=i.value;c.classList.remove("full"),c.classList.remove("half")}}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}for(var u=0;u<Math.ceil(n/2)&&!(u>=t.length);u++)n%2!=0&&Math.ceil(n/2)===u+1?t[u].classList.add("half"):t[u].classList.add("full")}},[n]),(0,ne.useEffect)(function(){r&&barEffectAdded(s.current,r),a&&barEffectEnded(s.current,a),null==o||o()},[r,a]),(0,ty.jsx)(n0.Z,{children:(0,ty.jsx)("div",{ref:s,className:"foodbar",style:i,children:Array.from({length:10},function(){return 0}).map(function(e,t){return(0,ty.jsx)("div",{className:"food"},"food-".concat(t))})})})}let ix=(0,ru.K)(function(e){var t=e.armorValue,n=e.style,r=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){var e=r.current.children,n=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var l=i.value;l.classList.remove("full"),l.classList.remove("half")}}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}for(var c=0;c<Math.ceil(t/2)&&!(c>=e.length);c++)t%2!=0&&Math.ceil(t/2)===c+1?e[c].classList.add("half"):e[c].classList.add("full")},[t]),(0,ty.jsx)(n0.Z,{children:(0,ty.jsx)("div",{style:null!=n?n:{},ref:r,className:"armor_container",children:Array.from({length:10},function(){return 0}).map(function(e,t){return(0,ty.jsx)("div",{className:"armor"},"armor-".concat(t))})})})},"armorBar");function BreathBar(e){var t=e.oxygen,n=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){var e=n.current;if(e&&t<20){e.style.display="flex",e.classList.toggle("low",t<=5);var r=e.children,a=!0,o=!1,i=void 0;try{for(var s,l=r[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;c.classList.remove("full"),c.classList.remove("half")}}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}for(var u=0;u<Math.ceil(t/2)&&!(u>=r.length);u++)t%2!=0&&Math.ceil(t/2)===u+1?r[u].classList.add("half"):r[u].classList.add("full")}else e&&t>=20&&(e.style.display="none")},[t]),(0,ty.jsx)(n0.Z,{children:(0,ty.jsx)("div",{ref:n,className:"breathbar",children:Array.from({length:10},function(){return 0}).map(function(e,t){return(0,ty.jsx)("div",{className:"breath"},"breath-".concat(t))})})})}function HudBarsProvider(){var e=(0,tb.R)(tr.YM).disabledUiParts,t=(0,eO._)((0,ne.useState)(!1),2),n=t[0],r=t[1],a=(0,eO._)((0,ne.useState)(bot.health),2),o=a[0],i=a[1],s=(0,eO._)((0,ne.useState)(bot.food),2),l=s[0],c=s[1],u=(0,eO._)((0,ne.useState)(bot.oxygenLevel),2),d=u[0],w=u[1],p=(0,eO._)((0,ne.useState)(0),2),h=p[0],M=p[1],g=(0,eO._)((0,ne.useState)(bot.game.gameMode),2),m=g[0],v=g[1],y=(0,eO._)((0,ne.useState)(!1),2),A=y[0],b=y[1],_=(0,eO._)((0,ne.useState)(null),2),L=_[0],C=_[1],j=(0,eO._)((0,ne.useState)(null),2),D=j[0],x=j[1],k=(0,ne.useRef)(null),onDamage=function(){r(function(e){return!0}),k.current&&clearTimeout(k.current),k.current=setTimeout(function(){r(function(e){return!1})},1e3)},updateHealth=function(e){i(function(t){return e})};return(0,ne.useMemo)(function(){bot.on("entityHurt",function(e){e===bot.entity&&onDamage()}),bot.on("game",function(){v(function(e){return bot.game.gameMode}),b(function(e){return bot.game.hardcore})}),bot.on("entityEffect",function(e,t){e===bot.entity&&C(function(e){return t.id})}),bot.on("entityEffectEnd",function(e,t){e===bot.entity&&x(function(e){return t.id})}),bot.on("health",function(){bot.health<o&&onDamage(),updateHealth(bot.health),c(function(e){return bot.food})}),bot.on("breath",function(){w(function(e){return bot.oxygenLevel})});var upArmour=function(){var e=new Set([5,6,7,8]),t=0,n=!0,r=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(n=(o=i.next()).done);
1n=!0){var s,l,c,u=o.value,d=null!=(l=bot.inventory.slots[u])?l:null;if(d){var w=d.name.split("_");t+=null!=(c=null==(s=iD[w[0]])?void 0:s[w[1]])?c:0}}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}M(t)};bot.inventory.on("updateSlot",upArmour),upArmour()},[]),(0,ty.jsxs)("div",{className:"hud-bars-container",children:[!e.includes("health-bar")&&(0,ty.jsx)(HealthBar,{gameMode:m,isHardcore:A,damaged:n,healthValue:o,effectToAdd:L,effectToRemove:D,resetEffects:function(){C(null),x(null)}}),!e.includes("armor-bar")&&(0,ty.jsx)(ix,{armorValue:h,style:"survival"!==m&&"adventure"!==m?{display:"none"}:{display:"flex"}}),!e.includes("food-bar")&&(0,ty.jsx)(FoodBar,{gameMode:m,food:l,effectToAdd:L,effectToRemove:D,resetEffects:function(){C(null),x(null)}}),!e.includes("breath-bar")&&(0,ty.jsx)(BreathBar,{oxygen:"survival"!==m&&"adventure"!==m?0:d})]})}function XPBar(e){var t=e.progress,n=e.level,r=e.gamemode;return(0,ty.jsx)(n0.Z,{children:(0,ty.jsxs)("div",{id:"xp-bar-bg",className:"xp-bar-bg-Ugs21v",style:{display:"creative"===r||"spectator"===r?"none":"block"},children:[(0,ty.jsx)("div",{className:"xp-bar-Vg4hn0",style:{width:"".concat(182*t,"px")}}),(0,ty.jsx)("span",{className:"xp-label-omcEHZ",style:{display:n>0?"block":"none"},children:n})]})})}function XPBarProvider(){var e=(0,eO._)((0,ne.useState)(0),2),t=e[0],n=e[1],r=(0,eO._)((0,ne.useState)(0),2),a=r[0],o=r[1],i=(0,eO._)((0,ne.useState)(bot.game.gameMode),2),s=i[0],l=i[1];return(0,ne.useMemo)(function(){var onXpUpdate=function(){n(bot.experience.progress),o(bot.experience.level)};onXpUpdate(),bot.on("experience",onXpUpdate),bot.on("game",function(){l(function(e){return bot.game.gameMode})})},[]),(0,ty.jsx)(XPBar,{progress:t,level:a,gamemode:s})}n(73355);var ik=n(17595),getFixedFilesize=function(e){return(0,ik.Z)(e,{minimumFractionDigits:2,maximumFractionDigits:2})},isInterestedInDownload=function(){var e=eU.EX.map,t=eU.EX.texturepack,n=eU.EX.replayFileUrl,r=eU.TK.mapDir;return!!e||!!t||!!n||!!r},iT=(ec=(0,eE._)(function(){var e,t,n;return(0,eB.Jh)(this,function(r){return e=eU.EX.map,t=eU.EX.texturepack,n=eU.EX.replayFileUrl,[2,iN(e,t,eU.TK.mapDir,n)]})}),function(){return ec.apply(this,arguments)}),iN=(eu=(0,eE._)(function(e,t,n,r,a){var o,i,s,l,c,u,d,w,p,h,M,g,m,v,y,A,b,_,L,C,j,D;return(0,eB.Jh)(this,function(x){switch(x.label){case 0:if(!r)return[3,3];return(0,tM.d8)("Downloading replay file"),[4,fetch(r)];case 1:return c=(l=null==(i=(s=x.sent()).headers)?void 0:i.get("Content-Length"))?+l:void 0,u=r.split("/").pop(),d=0,[4,new Response(new ReadableStream({start:function(e){return(0,eE._)(function(){var t,n,r,a,o;return(0,eB.Jh)(this,function(i){switch(i.label){case 0:if(!s.body)throw Error("Server returned no response!");t=s.body.getReader(),i.label=1;case 1:return[4,t.read()];case 2:if(r=(n=i.sent()).done,a=n.value,r)return e.close(),[3,3];return d+=a.byteLength,o=c?d/c*100:void 0,(0,tM.d8)("Download replay file progress: ".concat(void 0===o?"?":Math.floor(o),"% (").concat(getFixedFilesize(d)," / ").concat(c&&getFixedFilesize(c),")"),!1,!0),e.enqueue(a),[3,1];case 3:return[2]}})})()}})).arrayBuffer()];case 2:return w=x.sent(),p=new TextDecoder().decode(w),(0,nM.ZB)({contents:p,filename:u,filesize:c}),[2,!0];case 3:if(h=eU.EX.mapDirGuess,M=eU.EX.mapDirBaseUrl,!(null==n?void 0:n.length))return[3,5];return[4,(0,r1.dT)(n,null!=M?M:void 0)];case 4:return x.sent(),[2,!0];case 5:if(h)return[2,!0];if(t&&(e=t),!e)return[2,!1];if(!t)return[3,8];return[4,(0,ni.V_)()];case 6:if(x.sent(),!ni.E3.resourcePackInstalled)return[3,8];return m=(g="You are going to install a new resource pack, which will REPLACE the current one: ").concat,[4,(0,ni.xm)()[0]];case 7:if(!confirm.apply(void 0,[m.apply(g,[x.sent()," Continue?"])]))return[2];x.label=8;case 8:return v=e.slice(e.lastIndexOf("/")+1).slice(-25),y=t?"texturepack":"world",(0,tM.d8)("Downloading ".concat(y," ").concat(v,"...")),[4,fetch(e)];case 9:return(b=(A=x.sent()).headers.get("Content-Type"))&&b.startsWith("application/zip")||alert("Invalid map file"),L=(_=null==(o=A.headers)?void 0:o.get("Content-Length"))&&+_,(0,tM.d8)("Downloading ".concat(y," ").concat(v,": have to download ").concat(L&&getFixedFilesize(L),"...")),C=0,[4,new Response(new ReadableStream({start:function(e){return(0,eE._)(function(){var t,n,r,a,o;return(0,eB.Jh)(this,function(i){switch(i.label){case 0:if(!A.body)throw Error("Server returned no response!");t=A.body.getReader(),i.label=1;case 1:return[4,t.read()];case 2:if(r=(n=i.sent()).done,a=n.value,r)return e.close(),[3,3];return C+=a.byteLength,o=L?C/L*100:void 0,(0,tM.d8)("Download ".concat(y," progress: ").concat(void 0===o?"?":Math.floor(o),"% (").concat(getFixedFilesize(C)," / ").concat(L&&getFixedFilesize(L),")"),!1,!0),e.enqueue(a),[3,1];case 3:return[2]}})})()}})).arrayBuffer()];case 10:if(j=x.sent(),!t)return[3,12];return D=e.slice(e.lastIndexOf("/")+1).slice(-30),[4,(0,ni.UA)(j,(0,nh.xC)(),D)];case 11:return x.sent(),[3,14];case 12:return[4,(0,r1.lh)(j,void 0,a)];case 13:x.sent(),x.label=14;case 14:return[2,!0]}})}),function(e,t,n,r,a){return eu.apply(this,arguments)});let iS=(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,iT()];case 1:return[2,t.sent()];case 2:return e=t.sent(),(0,tM.d8)("Failed to download/open. Either refresh page or remove map param from URL. Reason: ".concat(e.message)),[2,!0];case 3:return[2]}})}),iz={"debug-left-side":"debug-left-side-L_D95v","debug-right-side":"debug-right-side-mFhvHG",empty:"empty-x7G63G"},iq=(0,ru.K)(function(){var e,t,n,r,a,o,i,s,l,c,u,d,w,p,h,M,g=(0,ne.useRef)((0,eI._)({},iI)),m=(0,ne.useRef)((0,eI._)({},iI));(0,ne.useRef)({});var v=(0,ne.useRef)(0),y=(0,ne.useRef)({received:{},sent:{}});window.packetsCountByNamePerSec=y;var A=(0,ne.useRef)({received:{},sent:{}});window.packetsCountByNamePer10Sec=A;var b=(0,ne.useRef)({received:{},sent:{}});window.packetsCountByName=b;var _=(0,ne.useRef)(new Set([])),L=(0,eO._)((0,ne.useState)(""),2),C=L[0],j=L[1],D=(0,tb.R)(ta.N_).showDebugHud,x=(0,eO._)((0,ne.useState)({x:0,y:0,z:0}),2),k=x[0],T=x[1],N=(0,eO._)((0,ne.useState)(0),2),S=N[0],z=N[1],q=(0,eO._)((0,ne.useState)(0),2),E=q[0],I=q[1],P=(0,eO._)((0,ne.useState)(0),2),Y=P[0],O=P[1],R=(0,eO._)((0,ne.useState)(0),2),B=R[0],U=R[1],Q=(0,eO._)((0,ne.useState)(0),2),F=Q[0],W=Q[1],V=(0,eO._)((0,ne.useState)(""),2),J=V[0],G=V[1],H=(0,eO._)((0,ne.useState)(null),2),Z=H[0],K=H[1],X=(0,eO._)((0,ne.useState)(null),2),$=X[0],ee=X[1],et=(0,eO._)((0,ne.useState)(null),2),en=et[0],er=et[1],ea=(0,eO._)((0,ne.useState)(0),2),eo=ea[0],ei=ea[1],es=(0,eO._)((0,ne.useState)(null),2),el=es[0],ec=es[1],eu=(0,ne.useRef)(0),ed=(0,ne.useRef)(0),ef=null!=(w=appViewer.rendererState.renderer)?w:"No render backend",shortenUuid=function(e){if(e){var t=e.replaceAll("-","");return t.length<8?e:"".concat(t.slice(0,4),"-*-").concat(t.slice(-4))}},readPacket=function(e,t,n,r){var a=t.name;if(r){var o=r.byteLength;v.current+=o,g.current.size+=o}g.current.count++,managePackets("received",a,e)},managePackets=function(e,t,n){var r,a,o,i,s,l;null!=(r=b.current[e])[t]||(r[t]=0),b.current[e][t]++,null!=(a=y.current[e])[t]||(a[t]=0),y.current[e][t]++,null!=(o=A.current[e])[t]||(o[t]=0),A.current[e][t]++,!tr.YM.debugLogNotFrequentPackets||_.current.has(t)||iE[e].includes(t)||(y.current[e][t]>5||b.current[e][t]>100?(console.info("[packet ".concat(t," was ").concat(e," too frequent] Ignoring...")),_.current.add(t)):console.info("[packet ".concat(e,"] ").concat(t),n))};return((0,ne.useEffect)(function(){var e=0,t=0,n=0,updateTps=function(){var r,a,o=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Date.now()-e>=1e3&&(ei(t),null!=(r=window).lastTpsArray||(r.lastTpsArray=[]),window.lastTpsArray.push(t),t=0,e=Date.now()),o&&(n=Date.now(),t++)},r=0,a=setInterval(function(){j("↓ ".concat(g.current.count," (").concat((g.current.size/1024).toFixed(2)," KB/s, ").concat(getFixedFilesize(v.current),") ↑ ").concat(m.current.count)),g.current=(0,eI._)({},iI),m.current=(0,eI._)({},iI),y.current.received={},y.current.sent={},r++%10==0&&(A.current.received={},A.current.sent={}),updateTps(!1)},1e3);bot.on("physicsTick",function(){updateTps(!0)}),bot._client.on("packet",function(){updateTps(!1)});var o=setInterval(function(){T((0,eI._)({},bot.entity.position)),z(bot.world.getSkyLight(bot.entity.position)),I(bot.
1world.getBlockLight(bot.entity.position)),O(bot.world.getBiome(bot.entity.position)),G(bot.game.dimension),U(bot.time.day),W(bot.time.timeOfDay);var e=bot.mouse.getCursorState();K(e.cursorBlock),ee(e.entity)},100),i=setInterval((0,eE._)(function(){var e,t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:if(!(t=bot.mouse.cursorBlock))return er(null),[2];return[4,null==(e=(0,tt.z)())?void 0:e.getBlockInfo(t.position,t.stateId)];case 1:return er({customBlockName:(r=null!=(n=a.sent())?n:{}).customBlockName,modelInfo:r.modelInfo}),[2]}})}),300);return bot._client.on("packet",readPacket),bot._client.on("packet_name",function(e,t){return readPacket(t,{name:e})}),bot._client.on("writePacket",function(e,t){m.current.count++,managePackets("sent",e,t)}),bot._client.on("set_ticking_state",function(e){ec({value:e.tick_rate,frozen:e.is_frozen})}),function(){clearInterval(a),clearInterval(o),clearInterval(i),console.log("Last physics tick before disconnect was",Date.now()-n,"ms ago")}},[]),(0,ne.useEffect)(function(){var e;eu.current=(e=-180*bot.entity.yaw/Math.PI)%360-180*(e<0?-1:1),ed.current=Math.floor(((eu.current+180)/90+.5)%4)},[bot.entity.yaw]),D)?(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsxs)("div",{className:"debug-left-side ".concat(iz["debug-left-side"]),children:[(0,ty.jsxs)("p",{children:["Prismarine Web Client (",bot.version,")"]}),(null==(a=appViewer.backend)||null==(r=a.getDebugOverlay)?void 0:r.call(a).entitiesString)&&(0,ty.jsxs)("p",{children:["E: ",appViewer.backend.getDebugOverlay().entitiesString]}),(0,ty.jsx)("p",{children:J}),(0,ty.jsx)("div",{className:iz.empty}),(0,ty.jsxs)("p",{children:["XYZ: ",k.x.toFixed(3)," / ",k.y.toFixed(3)," / ",k.z.toFixed(3)]}),(0,ty.jsxs)("p",{children:["Chunk: ",Math.floor(k.x%16)," ~ ",Math.floor(k.z%16)," in ",Math.floor(k.x/16)," ~ ",Math.floor(k.z/16)]}),(0,ty.jsxs)("p",{children:["Section: ",16*Math.floor(k.x/16),", ",16*Math.floor(k.y/16),", ",16*Math.floor(k.z/16)]}),(0,ty.jsxs)("p",{children:["Packets: ",C]}),(0,ty.jsxs)("p",{children:["Client TPS: ",eo," ",el?"Server TPS: ".concat(el.value," ").concat(el.frozen?"(frozen)":""):""]}),(0,ty.jsxs)("p",{children:["Facing (viewer): ",bot.entity.yaw.toFixed(3)," ",bot.entity.pitch.toFixed(3)]}),(0,ty.jsxs)("p",{children:["Facing (minecraft): ",["north (towards negative Z)","east (towards positive X)","south (towards positive Z)","west (towards negative X)"][ed.current]," (",eu.current.toFixed(1)," ",(-180*bot.entity.pitch/Math.PI).toFixed(1),")"]}),(0,ty.jsxs)("p",{children:["Light: ",E," (",S," sky)"]}),(0,ty.jsxs)("p",{children:["Biome: minecraft:",null!=(p=null==(o=loadedData.biomesArray[Y])?void 0:o.name)?p:"unknown biome"]}),(0,ty.jsxs)("p",{children:["Day: ",B," Time: ",F]}),(0,ty.jsx)("div",{className:iz.empty}),Object.entries(null!=(h=null==(s=appViewer.backend)||null==(i=s.getDebugOverlay)?void 0:i.call(s).left)?h:{}).map(function(e){var t=(0,eO._)(e,2),n=t[0],r=t[1];return(0,ty.jsxs)("p",{children:[n,": ",r]},n)})]}),(0,ty.jsxs)("div",{className:"debug-right-side ".concat(iz["debug-right-side"]),children:[(0,ty.jsxs)("p",{children:["Backend: ",null==(l=appViewer.backend)?void 0:l.displayName]}),(0,ty.jsxs)("p",{children:["minecraft-renderer npm v","0.1.99"]}),(0,ty.jsxs)("p",{children:["Renderer: ",ef]}),(0,ty.jsx)("div",{className:iz.empty}),Z?(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)("p",{children:Z.name}),Object.entries(Z.getProperties()).map(function(e,t,n){var r=(0,eO._)(e,2),a=r[0],o=r[1];return(0,ty.jsxs)("p",{children:[a,": ","boolean"==typeof o?(0,ty.jsx)("span",{style:{color:o?"lightgreen":"red"},children:String(o)}):o]},a)})]}):"",Z?(0,ty.jsxs)("p",{children:["Looking at: ",Z.position.x," ",Z.position.y," ",Z.position.z]}):"",(null==Z?void 0:Z.blockEntity)&&(0,ty.jsx)("p",{children:"Block Entity Data:"}),(null==Z?void 0:Z.blockEntity)&&(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)("div",{className:iz.empty}),Object.entries(Z.blockEntity).map(function(e){var t=(0,eO._)(e,2),n=t[0],r=JSON.stringify(t[1]);return(0,ty.jsxs)("p",{children:[n,": ",r.length]},n)})]}),$?(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)("div",{className:iz.empty}),(0,ty.jsxs)("p",{children:["E: ",$.name]}
1),$.displayName&&(0,ty.jsx)("p",{children:$.displayName}),void 0!==$.id&&(0,ty.jsxs)("p",{children:["ID: ",$.id]}),shortenUuid($.uuid)&&(0,ty.jsxs)("p",{children:["UUID: ",shortenUuid($.uuid)]}),$.username&&(0,ty.jsxs)("p",{children:["Username: ",$.username]}),$.position&&(0,ty.jsxs)("p",{children:[$.position.x.toFixed(2)," ",$.position.y.toFixed(2)," ",$.position.z.toFixed(2)]}),void 0!==$.yaw&&(0,ty.jsxs)("p",{children:["Yaw: ",$.yaw.toFixed(1)]}),void 0!==$.pitch&&(0,ty.jsxs)("p",{children:["Pitch: ",$.pitch.toFixed(1)]}),$.type&&(0,ty.jsxs)("p",{children:["Type: ",$.type]}),void 0!==$.health&&(0,ty.jsxs)("p",{children:["Health: ",$.health.toFixed(1)]})]}):"",(0,ty.jsx)("div",{className:iz.empty}),en&&(t=en.customBlockName,(n=en.modelInfo)&&(0,ty.jsxs)(ty.Fragment,{children:[t&&(0,ty.jsxs)("p",{style:{fontSize:7},children:["Custom block: ",t]}),n.issues.map(function(e,t){return(0,ty.jsx)("p",{style:{color:"yellow",fontSize:7},children:e},t)}),(0,ty.jsxs)("p",{style:{fontSize:7},children:["Resolved model: ",null!=(e=n.modelNames[0])?e:"-"]}),(0,ty.jsx)("p",{style:{fontSize:7,whiteSpace:"nowrap",maxWidth:"100px",overflow:"hidden",textOverflow:"ellipsis"},children:n.conditions.join(", ")})]})),Object.entries(null!=(M=null==(d=appViewer.backend)||null==(u=d.getDebugOverlay)||null==(c=u.call(d))?void 0:c.right)?M:{}).map(function(e){var t=(0,eO._)(e,2),n=t[0],r=t[1];return(0,ty.jsxs)("p",{children:[n,": ",r]},n)})]})]}):null},"debugOverlay");var iE={received:["entity_velocity","sound_effect","rel_entity_move","entity_head_rotation","entity_metadata","entity_move_look","teams","entity_teleport","entity_look","ping","entity_update_attributes","player_info","update_time","animation","entity_equipment","entity_destroy","named_entity_spawn","update_light","set_slot","block_break_animation","map_chunk","spawn_entity","world_particles","keep_alive","chat","playerlist_header","scoreboard_objective","scoreboard_score","entity_status","set_ticking_state","ping_response","block_change","damage_event"],sent:["pong","position","look","keep_alive","position_look","ping_request"]},iI={count:0,size:0};let iP={"mobile-top-btns":"mobile-top-btns-LkVyKp","mobile-top-btns--portrait-tall":"mobile-top-btns--portrait-tall-lxyM35","pause-btn":"pause-btn-tfjBzl","chat-btn":"chat-btn-BNyPws","debug-btn":"debug-btn-aSsISO","tab-btn":"tab-btn-hqoRrR"};var isHeightGreaterThanWidth=function(){return"undefined"!=typeof window&&window.innerHeight>window.innerWidth};function MobileTopButtons(){var e=(0,ne.useRef)(null),t=(0,tb.R)(ta.N_).appConfig,n=null==t?void 0:t.mobileButtons,r=(0,eO._)((0,ne.useState)(isHeightGreaterThanWidth),2),a=r[0],o=r[1],i=(0,ne.useRef)(null),s=(0,ne.useRef)(null),showMobileControls=function(t){e.current&&(e.current.style.display=t?"flex":"none")};(0,ne.useEffect)(function(){(0,tr.t6)(ta.N_,function(e){showMobileControls(!!e.currentTouch)})},[]),(0,ne.useEffect)(function(){var sync=function(){return o(isHeightGreaterThanWidth())};return sync(),window.addEventListener("resize",sync),window.addEventListener("orientationchange",sync),function(){window.removeEventListener("resize",sync),window.removeEventListener("orientationchange",sync)}},[]);var getButtonClassName=function(e){var t=e.action||(e.actionHold&&"object"===(0,eR._)(e.actionHold)&&"command"in e.actionHold?e.actionHold.command:void 0);if("string"==typeof t)switch(t){case"general.chat":return iP["chat-btn"];case"ui.pauseMenu":return iP["pause-btn"];case"general.playersList":return iP["tab-btn"]}return iP["debug-btn"]};return(0,ty.jsx)("div",{ref:e,className:"".concat(iP["mobile-top-btns"]).concat(a?" ".concat(iP["mobile-top-btns--portrait-tall"]):""),id:"mobile-top",children:n&&n.length>0?null==n?void 0:n.map(function(e,t){var n=getButtonClassName(e),r=e.icon||e.label||"";if("string"==typeof r&&r.startsWith("pixelarticons:")){var a=r.replace("pixelarticons:","");r=(0,ty.jsx)(tL.Z,{iconName:a})}var onPointerUp=function(t){t.currentTarget.releasePointerCapture(t.pointerId);var n=e.actionHold,r=e.action,a=!1;i.current&&(clearTimeout(i.current),i.current=null,s.current&&(handleMobileButtonActionCommand(s.current,!0),handleMobileButtonActionCommand(s.current,!1),a=!0)),!a&&(n?(void 0===n?"undefined":(0,eR._)(n))==="object"&&"command"in n?n.longPressAction?null===s.current&&"string"==typeof n.longPressAction&&handleMobileButtonActionCommand(n.longPressAction,!1):handleMobileButtonActionCommand(n.command,!1):r?null===s.current&&handleMobileButtonActionCommand(n,!1):handleMobileButtonActionCommand(n,!1):r&&handleMobileButtonActionCommand(r,!1)),s.current=null};return(0,ty.jsx)("div",{className:n,onPointerDown:function(t){t.currentTarget.setPointerCapture(t.pointerId),i.current&&(clearTimeout(i.current),i.current=null),s.current=null;var n=e.actionHold,r=e.action;n?(void 0===n?"undefined":(0,eR._)(n))==="object"&&"command"in n?n.longPressAction?(s.current=n.command,i.current=window.setTimeout(function(){handleMobileButtonLongPress(n),s.current=null,i.current=null},n.duration||500)):handleMobileButtonActionCommand(n.command,!0):r?(s.current=r,i.current=window.setTimeout(function(){handleMobileButtonActionCommand(n,!0),s.current=null,i.current=null},500)):handleMobileButtonActionCommand(n,!0):r&&handleMobileButtonActionCommand(r,!0)},onPointerUp:onPointerUp,onLostPointerCapture:onPointerUp,children:r},t)}):null})}var iY=n(48768);let iO={container:"container-CbtoYq",websocket:"websocket-ukuvQ1",iconRow:"iconRow-Rj9AHI",arrowRow:"arrowRow-mPYqMH",dataRow:"dataRow-vkErq6",ping:"ping-axxvVG",totalRow:"totalRow-tXKyyD",stale:"stale-QydKzb"};function NetworkStatus(){var e,t=(0,eO._)((0,ne.useState)(null),2),n=t[0],r=t[1],a=(0,eO._)((0,ne.useState)(null),2),o=a[0],i=a[1],s=(0,eO._)((0,ne.useState)(!1),2),l=s[0],c=s[1],u=(0,eO._)((0,ne.useState)(!1),2),d=u[0],w=u[1],p=(0,ne.useRef)(),h=(0,ne.useRef)(),M=(0,ne.useMemo)(function(){var e;return parseServerAddress(null==(e=tM.Pc.value)?void 0:e.server).isWebSocket},[null==(e=tM.Pc.value)?void 0:e.server]),g=(0,ne.useMemo)(function(){var e;return null==(e=tM.Pc.value)?void 0:e.server},[]),setProxyPingWithTimeout=function(e){r(e),c(!1),p.current&&clearTimeout(p.current),p.current=setTimeout(function(){return c(!0)},1e3)},setServerPingWithTimeout=function(e){i(e),w(!1),h.current&&clearTimeout(h.current),h.current=setTimeout(function(){return w(!0)},1e3)};if((0,ne.useEffect)(function(){if(g){var e,t=(e=(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:var r,a;r=(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,bot.pingServer()];case 1:return(e=t.sent())&&setServerPingWithTimeout(e),[2]}})}),e=function(){return r.apply(this,arguments)},a=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:if(M)return[3,2];return[4,bot.pingProxy()];case 1:setProxyPingWithTimeout(e.sent()),e.label=2;case 2:return[2]}})}),t=function(){return a.apply(this,arguments)},n.label=1;case 1:return n.trys.push([1,3,,4]),[4,Promise.all([e(),t()])];case 2:return n.sent(),[3,4];case 3:return console.error("Failed to ping:",n.sent()),[3,4];case 4:return[2]}})}),function(){return e.apply(this,arguments)});t();var n=setInterval(t,1e3);return function(){clearInterval(n),p.current&&clearTimeout(p.current),h.current&&clearTimeout(h.current)}}},[]),!g)return null;var m=bot.username,v=tM.Pc.value.proxy;return(0,ty.jsxs)("div",{className:"".concat(iO.container," ").concat(M?iO.websocket:""),children:[(0,ty.jsx)(tL.Z,{className:iO.iconRow,iconName:tL.K.user,width:18}),!M&&(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)(tL.Z,{className:"".concat(iO.iconRow," ").concat(iO.arrowRow),iconName:tL.K["arrow-right"],width:16}),(0,ty.jsx)(tL.Z,{className:iO.iconRow,iconName:tL.K.server,width:18})]}),(0,ty.jsx)(tL.Z,{className:"".concat(iO.iconRow," ").concat(iO.arrowRow),iconName:tL.K["arrow-right"],width:16}),(0,ty.jsx)(tL.Z,{className:iO.iconRow,iconName:tL.K["list-box"],width:18}),(0,ty.jsx)("span",{className:iO.dataRow,children:m}),!M&&(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsxs)("span",{className:"".concat(iO.dataRow," ").concat(iO.ping," ").concat(l?iO.stale:""),children:[n,"ms"]}),(0,ty.jsx)("span",{className:iO.dataRow,children:v})]}),(0,ty.jsxs)("span",{className:"".concat(iO.dataRow," ").concat(iO.ping," ").concat(d?iO.stale:""),children:[M?o||"?":o?o-(null!=n?n:0):"...","ms"]}),(0,ty.jsx)("span",{className:iO.dataRow,children:g}),(0,ty.jsxs)("span",{className:iO.totalRow,children:["Ping: ",o||"?","ms"]})]})}var iR=n(47477),iB=(ed=(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,new Promise(function(e){requestAnimationFrame(function(){return requestAnimationFrame(e)})})]})}),function(){return ed.apply(this,arguments)}),iU=(ef=(0,eE._)(function(){var e,t,n,r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,y,A,b,_,L,C,j,D,x,k,T;return(0,eB.Jh)(this,function(N){switch(N.label){case 0:(0,tM.d8)("Saving world"),N.label=1;case 1:return N.trys.push([1,16,17,18]),[4,new Promise(function(e){(0,te.VW)(rX.ou,"isDisplaying",function(){rX.ou.isDisplaying&&e()})})];case 2:return N.sent(),a=t8.RL.inMemorySavePath,[4,(0,r1.vj)(a.split("/").pop(),"/data/worlds")];case 3:return o=N.sent(),[4,(0,r1.xl)(o)];case 4:N.sent(),console.log("made world folder",o),i=(0,eW._)(iY.usedServerPathsV1),s=[],l=!0,c=!1,u=void 0,N.label=5;case 5:N.trys.push([5,10,11,12]),d=function(){var e,t,n,r;return(0,eB.Jh)(this,function(o){switch(o.label){case 0:if(!(n=(e=p.value).includes(".")))return[3,2];return[4,(0,r1.$C)((0,aG.join)(a,e))];case 1:n=o.sent(),o.label=2;case 2:if(n)return s.push(e),[2,"continue"];return[4,(0,r1.LB)((0,aG.join)(a,e),!0)];case 3:return r=o.sent(),"region"===e&&(r=r.filter(function(e){return e.endsWith(".mca")})),(t=s).push.apply(t,(0,eW._)(r.map(function(t){return(0,aG.join)(e,t)}))),[2]}})},w=i[Symbol.iterator](),N.label=6;case 6:if(l=(p=w.next()).done)return[3,9];return[5,(0,eB.XA)(d())];case 7:N.sent(),N.label=8;case 8:return l=!0,[3,6];case 9:return[3,12];case 10:return h=N.sent(),c=!0,u=h,[3,12];case 11:try{l||null==w.return||w.return()}finally{if(c)throw u}
1return[7];case 12:var S;return console.log("paths collected"),M=s.filter(function(e){if(!e.startsWith("region/"))return!0;var t=(0,eO._)(e.split("/").at(-1).split(".").slice(1,3).map(Number),2),n=t[0],r=t[1];return Math.abs(n)>50||Math.abs(r)>50}),g=0,m=!1,v=function(e){g++;var t=t8.RL.remoteBackend?"Downloading & copying":"Copying";t+=m?" region files (world chunks)":" basic save files",(0,tM.d8)("".concat(t," files (").concat(g,"/").concat(e,")"))},S=(0,eE._)(function(e){var t,n,r,i,s,l,c;return(0,eB.Jh)(this,function(u){switch(u.label){case 0:t=e.flat().length,n=!0,r=!1,i=void 0,u.label=1;case 1:u.trys.push([1,7,8,9]),s=e[Symbol.iterator](),u.label=2;case 2:var d;if(n=(l=s.next()).done)return[3,6];return[4,Promise.all(l.value.map((d=(0,eE._)(function(e){var n,r,i,s,l,c;return(0,eB.Jh)(this,function(u){switch(u.label){case 0:return n=(0,aG.join)(a,e),r=(0,aG.join)(o,e),[4,(0,r1.xl)(r)];case 1:return u.sent(),s=(i=eJ().promises).writeFile,l=[r],[4,eJ().promises.readFile(n)];case 2:return[4,s.apply(i,l.concat([u.sent()]))];case 3:return u.sent(),v(t),m&&(c=e.split("/").at(-1),rX.ou.loadingChunksData[c]="done"),[2]}})}),function(e){return d.apply(this,arguments)})))];case 3:return u.sent(),[4,iB()];case 4:u.sent(),u.label=5;case 5:return n=!0,[3,2];case 6:return[3,9];case 7:return c=u.sent(),r=!0,i=c,[3,9];case 8:try{n||null==s.return||s.return()}finally{if(r)throw i}return[7];case 9:return[2]}})}),[4,(y=function(e){return S.apply(this,arguments)})(splitByCopySize(M))];case 13:return N.sent(),(0,tM.d8)("Preparing world chunks copying"),[4,iB()];case 14:if(N.sent(),m=!0,g=0,b=(A=s.filter(function(e){return!M.includes(e)})).map(function(e){return e.split("/").at(-1).split(".").slice(1,3).map(Number)}),_=(e=Math).min.apply(e,(0,eW._)(b.flatMap(function(e){return e[0]}))),L=(t=Math).min.apply(t,(0,eW._)(b.flatMap(function(e){return e[1]}))),C=(n=Math).max.apply(n,(0,eW._)(b.flatMap(function(e){return e[0]}))),j=(r=Math).max.apply(r,(0,eW._)(b.flatMap(function(e){return e[1]}))),x=Math.max(Math.abs((D=bot.entity.position.divide(new eK.Vec3(512,512,512)).floored()).x-_),Math.abs(D.z-L),Math.abs(D.x-C),Math.abs(D.z-j)),(k=(0,t0.generateSpiralMatrix)(x).filter(function(e){return s.includes("region/r.".concat(e[0],".").concat(e[1],".mca"))}).map(function(e){return"region/r.".concat(e[0],".").concat(e[1],".mca")})).length!==A.length)throw Error("Something went wrong with region files");return rX.ou.loadingChunksData=Object.fromEntries(A.map(function(e){return[e.split("/").at(-1),"loading"]})),rX.ou.loadingChunksDataPlayerChunk={x:D.x,z:D.z},[4,y(splitByCopySize(k,10))];case 15:return N.sent(),[2,o];case 16:return console.error(T=N.sent()),(0,t7.un)("Error while saving the world: ".concat(T.message),[]),[3,18];case 17:return(0,tM.d8)(void 0),[7];case 18:return[2]}})}),function(){return ef.apply(this,arguments)}),splitByCopySize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;return e.reduce(function(e,n,r){return r%t==0&&e.push([]),e.at(-1).push(n),e},[])};function PauseScreen(){var e,t,n,r="true"===eU.EX.lockConnect,a=(0,t_.uM)("pause-screen"),o=(0,tb.R)(t8.RL);(0,tb.R)(ta.M);var i=(0,tb.R)(ta.N_),s=i.singleplayer,l=i.wanOpened,c=i.wanOpening,u=(0,tb.R)(ta.rl).noConnection,d=(0,tb.R)(r3.bl),w=d.active,p=d.hasRecordedPackets,h=(0,tb.R)(tr.YM).displayRecordButton,M=(0,tb.R)(ta.N_).appConfig,g=(0,tb.R)(tC),m=g.active,v=g.serverSupportsVoice,y=g.isJoining,handlePointerLockChange=function(){tZ.lt.hasPointerLock||0!==ta.M.length||(0,ta.K4)({reactType:"pause-screen"})};(0,ne.useEffect)(function(){return document.addEventListener("pointerlockchange",handlePointerLockChange),function(){document.removeEventListener("pointerlockchange",handlePointerLockChange)}},[]);var A=(e=(0,eE._)(function(){var e,t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:if(!l)return[2];a.label=1;case 1:return a.trys.push([1,3,,4]),n={url:getJoinLink()},[4,null==(e=(t=navigator).share)?void 0:e.call(t,n)];case 2:return a.sent(),[3,4];case 3:return r=a.sent(),console.log("Error: ".concat(r)),[3,4];case 4:return[2]}})}),function(){return e.apply(this,arguments)}),b=(t=(0,eE._)(function(){var e,t,n=arguments;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:if(!(e=n.length>0&&void 0!==n[0]&&n[0])&&l)return closeWan(),[2];if(!(!l||!e))return[3,2];return[4,a4(function(e){ta.N_.wanOpening&&alert("Something went wrong: ".concat(e))},!e)];case 1:r.sent(),r.label=2;case 2:return e&&(t=getJoinLink(),ta.N_.currentDisplayQr=null!=t?t:null),[2]}})}),function(){return t.apply(this,arguments)}),_=(n=(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:if(o.inMemorySave||!s)return[2,(0,t7.un)("World actions...",[])];return[4,(0,t7.un)("World actions...",["Save to browser memory"])];case 1:if("Save to browser memory"!==n.sent())return[3,3];return[4,iU()];case 2:if(!(e=n.sent()))return[2];t=e.split("/").at(-1),(0,tv.c0)("World saved to ".concat(t),"Load it to keep your progress!"),n.label=3;case 3:return[2]}})}),function(){return n.apply(this,arguments)});return a?(0,ty.jsxs)(nn.Z,{title:"Game Menu",children:[(0,ty.jsxs)("div",{style:{position:"fixed",top:"5px",left:"calc(env(safe-area-inset-left) + 5px)",display:"flex",flexDirection:"column",gap:"5px"},children:[(0,ty.jsx)(rl.Z,{icon:"pixelarticons:folder",onClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,_()]})})}),h&&(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)(rl.Z,{icon:w?"pixelarticons:debug-stop":"pixelarticons:circle",onClick:function(){r3.bl.active=!r3.bl.active}}),p&&(0,ty.jsx)(rl.Z,{icon:tL.K["briefcase-download"],onClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,(0,r3.G_)()]})})}),(0,ty.jsx)(rl.Z,{icon:tL.K.download,onClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,bot.downloadCurrentWorldState()]})})})]})]}),(0,ty.jsx)(rc.SV,{renderError:function(){return(0,ty.jsx)("div",{children:"error"})},children:(0,ty.jsx)("div",{style:{position:"fixed",top:"5px",left:"calc(env(safe-area-inset-left) + 35px)"},children:(0,ty.jsx)(NetworkStatus,{})})}),v&&(0,ty.jsx)("div",{style:{position:"fixed",top:"5px",right:"calc(env(safe-area-inset-right) + 5px)",display:"flex",flexDirection:"column",gap:"5px"},children:(0,ty.jsx)(rl.Z,{title:"Voice Chat Settings",icon:tL.K.sliders,onClick:function(){return(0,ta.K4)({reactType:"voice-chat-menu"})}})}),(0,ty.jsxs)("div",{className:aR.pause_container,children:[(0,ty.jsx)(rl.Z,{className:"button",style:{width:"204px"},onClick:function(){(0,ta.VG)({reactType:"pause-screen"})},children:"Back to Game"}),(0,ty.jsx)(PauseLinkButtons,{}),(0,ty.jsx)(rl.Z,{className:"button",style:{width:"204px"},onClick:function(){return(0,ta.NZ)("main")},children:"Options..."}),v&&(0,ty.jsx)(rl.Z,{className:"button",style:{width:"204px"},disabled:y,onClick:function(){return m?leaveVoiceChat():joinVoiceChat()},children:y?"Joining…":m?"Leave Voice Chat":"Join Voice Chat"}),s?(0,ty.jsxs)("div",{className:aR.row,children:[(0,ty.jsx)(rl.Z,{className:"button",style:{width:"170px"},onClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,b()]})}
1),children:c?"Opening, wait...":l?"Close Wan":"Copy Join Link"}),navigator.share?(0,ty.jsx)(rl.Z,{title:"Share Join Link",className:"button",icon:"pixelarticons:arrow-up",style:{width:"20px"},onClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,A()]})})}):null,(0,ty.jsx)(rl.Z,{title:"Display QR for the Join Link",className:"button",icon:"pixelarticons:dice",style:{width:"20px"},onClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,b(!0)]})})})]}):null,(u||(null==M?void 0:M.alwaysReconnectButton))&&(0,ty.jsxs)("div",{className:aR.row,children:[(0,ty.jsx)(rl.Z,{className:"button",style:{width:(null==M?void 0:M.reportBugButtonWithReconnect)?"98px":"204px"},onClick:rX.$1,children:"Reconnect"}),(null==M?void 0:M.reportBugButtonWithReconnect)&&(0,ty.jsx)(rl.Z,{label:"Report Problem",className:"button",style:{width:"98px"},onClick:(0,eE._)(function(){var e,t,n,r,a,o,i,s,l;return(0,eB.Jh)(this,function(c){switch(c.label){case 0:return r=null!=(n=null==(e=navigator.userAgentData)?void 0:e.platform)?n:navigator.platform,o="Version: ".concat(window.location.hostname,"\nServer: ").concat(null!=(a=null==(t=tM.Pc.value)?void 0:t.server)?a:"<not a server>","\nPlatform: ").concat(r,"\nWebsite: ").concat(window.location.href),i=window.location.hostname,s=["GitHub (please use it if you can)","Email"].concat((0,eW._)("mcraft.fun"===i||"ru.mcraft.fun"===i?["Try Beta Version"]:[])),[4,(0,t7.un)("Report client issue",s)];case 1:if(!(l=c.sent()))return[2];switch(l){case"GitHub (please use it if you can)":(0,tZ.G)("/issues/new?body=".concat(encodeURIComponent(o),"&title=").concat(encodeURIComponent("[Bug Report] <describe your issue here>"),"&labels=bug"));break;case"Email":window.location.href="mailto:[email protected]?body=".concat(encodeURIComponent(o));break;case"Try Beta Version":"mcraft.fun"===i&&(window.location.href="https://s.mcraft.fun");break;case"Use previous versions of client":(0,t7.un)("Previous versions",[])}return[2]}})})})]}),!r&&(0,ty.jsx)(ty.Fragment,{children:(0,ty.jsx)(rl.Z,{className:"button",style:{width:"204px"},onClick:tH.zP,children:!t8.RL.inMemorySave||t8.RL.syncFs||t8.RL.isReadonly?"Disconnect & Reset":"Save & Quit"})})]}),(0,ty.jsx)(iR.Z,{})]}):null}var iQ=n(30297),SoundRow=function(e){var t=e.sound,n=e.children,r=(0,tb.R)(tr.YM).mutedSounds.includes(t);return(0,ty.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",gap:15},children:[(0,ty.jsxs)("div",{children:[(0,ty.jsx)("span",{style:(0,eI._)({fontSize:12,marginRight:2},r?{color:"#af1c1c"}:{}),children:t}),n]}),(0,ty.jsx)(rl.Z,{icon:r?"pixelarticons:music":"pixelarticons:close",onClick:function(){r?tr.YM.mutedSounds.splice(tr.YM.mutedSounds.indexOf(t),1):tr.YM.mutedSounds.push(t)}})]})};function SoundMuffler(){var e=(0,t_.uM)("sound-muffler"),t=(0,eO._)((0,ne.useState)(!0),2),n=t[0],r=t[1],a=(0,eO._)((0,ne.useState)(0),2),o=(a[0],a[1]),i=(0,tb.R)(tr.YM).mutedSounds;return e?(0,ty.jsx)(nn.Z,{title:"Sound Muffler",backdrop:!0,children:(0,ty.jsxs)("div",{style:{display:"flex",gap:5,flexDirection:"column"},children:[(0,ty.jsx)(rl.Z,{onClick:function(){return o(function(e){return e+1})},children:"Refresh"}),(0,ty.jsxs)(rl.Z,{onClick:function(){return r(function(e){return!e})},children:["Show Muted: ",n?"ON":"OFF"]}),(0,ty.jsx)("span",{style:{padding:"3px 0"},children:"Last World Played"}),Object.entries(iQ.O.lastServerPlayed).map(function(e){var t=(0,eO._)(e,2),r=t[0],a=t[1];return!n&&i.includes(r)?null:[r,a.count]}).filter(function(e){return!!e}).sort(function(e,t){return t[1]-e[1]}).slice(0,20).map(function(e){var t=(0,eO._)(e,2),n=t[0],r=t[1];return(0,ty.jsx)(SoundRow,{sound:n,children:(0,ty.jsx)("span",{style:{fontSize:12,fontWeight:"bold"},children:r})},n)}),(0,ty.jsx)("span",{style:{padding:"3px 0"},children:"Last Client Played"}),iQ.O.lastClientPlayed.map(function(e){return!n&&i.includes(e)?null:(0,ty.jsx)(SoundRow,{sound:e,children:void 0},e)}),(0,ty.jsx)(rl.Z,{onClick:function(){return(0,ta.kJ)()},children:"Back"})]})}):null}var iF=n(13421),iW=n(68560),iV=n(88376);function TouchControls_templateObject(){var e=(0,iF._)(["\n        position: fixed;\n        bottom: 0;\n        /* height: 100%; */\n        display: flex;\n        width: 100%;\n        justify-content: space-between;\n        align-items: flex-end;\n        pointer-events: none;\n        touch-action: none;\n        & > div {\n            pointer-events: auto;\n        }\n    "]);
1return TouchControls_templateObject=function(){return e},e}function TouchControls(){var e=(0,t_.uT)(),t=(0,tb.R)(ta.N_).usingGamepadInput,n=(0,tb.R)(ta.M),r=(0,tb.R)(tr.YM).touchMovementType;return!e||t||"classic"!==r?null:(0,ty.jsxs)("div",{style:{zIndex:n.length?7:8},className:(0,iV.iv)(TouchControls_templateObject()),children:[(0,ty.jsx)(iW.HP,{}),(0,ty.jsx)("div",{}),(0,ty.jsx)(iW.Af,{})]})}function InnerSearch(){var e=(0,tb.R)(ta.N_).currentTouch;return(0,ty.jsx)("div",{style:{position:"fixed",top:5,left:0,right:0,margin:"auto",zIndex:11,width:"min-content",transform:"scale(1.5)"},children:(0,ty.jsx)(rs.ZP,{autoFocus:!1===e,placeholder:"Search...",onChange:function(e){var t=e.target.value;customEvents.emit("search",t)}})})}function GlobalSearchInput(){return(0,tb.R)(ta.N_).displaySearchInput?(0,ty.jsx)(InnerSearch,{}):null}iW.A.setState({isFlying:!1,uiCustomization:{touchButtonSize:40},updateCoord:function(e){var t=(0,eO._)(e,2),n=t[0],r=t[1],a=[["z",-1,"KeyW"],["z",1,"KeyS"],["x",-1,"KeyA"],["x",1,"KeyD"],["y",1,"Space"],["y",-1,"ShiftLeft"]],o=0===r?a.filter(function(e){return(0,eO._)(e,1)[0]===n}):a.find(function(e){var t=(0,eO._)(e,2),a=t[0],o=t[1];return a===n&&o===r});if(bot)if(0===r){var i=!0,s=!1,l=void 0;try{for(var c,u=o[Symbol.iterator]();!(i=(c=u.next()).done);i=!0){var d=c.value;nS.pressedKeyOrButtonChanged({code:d[2]},!1)}}catch(e){s=!0,l=e}finally{try{i||null==u.return||u.return()}finally{if(s)throw l}}}else nS.pressedKeyOrButtonChanged({code:o[2]},!0)}}),(0,tr.t6)(tr.YM,function(e){iW.A.setState({uiCustomization:{touchButtonSize:e.touchButtonsSize}})});var getCurrentAppScaling=function(){return parseFloat(getComputedStyle(document.body).getPropertyValue("--guiScale"))},iJ=(0,td.sj)({pointer:null,joystickInner:null}),handleMovementStickDelta=function(e){var t=0,n=0;if(e){var r=getCurrentAppScaling();t=e.clientX-iJ.pointer.x,n=e.clientY-iJ.pointer.y,t=Math.min(Math.max(t,-32),32)/r,n=Math.min(Math.max(n,-32),32)/r}iJ.joystickInner.style.transform="translate(".concat(t,"px, ").concat(n,"px)");var a={x:t/32,y:0,z:n/32};nS.emit("movementUpdate",{vector:a,soleVector:a})};function TouchAreasControls(e){var t,n,r,a=e.setupActive,o=e.closeButtonsSetup,i=e.foregroundGameActive,s=window.bot,l=(0,tb.R)(tr.YM),c=l.touchControlsPositions,u=l.touchMovementType,d=l.touchInteractionType,w=l.touchControlsSize,p=(0,eO._)((0,ne.useState)(null),2),h=p[0],M=p[1],g=(0,ne.useRef)(null),m=(0,ne.useRef)(null),v=(0,tb.R)(iJ).pointer,y=(0,eI._)({},c),buttonProps=function(e){var t={action:!1,sneak:null==s?void 0:s.getControlState("sneak"),break:!1,jump:null==s?void 0:s.getControlState("jump")}[e],n={action:function(){s&&(document.dispatchEvent(new MouseEvent("mousedown",{button:2})),s.mouse.update())},sneak:function(){nS.emit("trigger",{command:"movement.toggleSneakOrDown"}),t=null==s?void 0:s.getControlState("sneak")},break:function(){s&&(document.dispatchEvent(new MouseEvent("mousedown",{button:0})),s.mouse.update(),t=!0)},jump:function(){nS.emit("trigger",{command:"movement.jump"}),t=null==s?void 0:s.controlState.jump}},r={action:function(){document.dispatchEvent(new MouseEvent("mouseup",{button:2}))},sneak:function(){nS.emit("release",{command:"movement.toggleSneakOrDown"}),t=null==s?void 0:s.getControlState("sneak")},break:function(){s&&(document.dispatchEvent(new MouseEvent("mouseup",{button:0})),s.mouse.update(),t=!1)},jump:function(){nS.emit("release",{command:"movement.jump"}),t=null==s?void 0:s.controlState.jump}},pointerup=function(t){var n=t.currentTarget;console.log(t.type,n.hasPointerCapture(t.pointerId)),n.releasePointerCapture(t.pointerId),a||(r[e](),pointerToggledUpdate(t))},pointerToggledUpdate=function(e){e.currentTarget.style.background=t?"rgba(0, 0, 0, 0.8)":"rgba(0, 0, 0, 0.5)"},o=null;return{style:(0,eI._)({position:"fixed",left:"".concat(c[e][0],"%"),top:"".concat(c[e][1],"%"),borderRadius:"50%",width:"".concat(w[e],"px"),height:"".concat(w[e],"px"),background:t?"rgba(0, 0, 0, 0.8)":"rgba(0, 0, 0, 0.5)",display:"flex",justifyContent:"center",alignItems:"center",transition:"background 0.1s",zIndex:8}
1,a&&h===e?{border:"2px solid white"}:{}),onPointerDown:function(t){t.currentTarget.setPointerCapture(t.pointerId),a?(M(e),o={x:t.clientX,y:t.clientY}):(n[e](),pointerToggledUpdate(t))},onPointerMove:function(t){if(o){var n=t.currentTarget,r=getCurrentAppScaling(),a=(0,nF.FR)(),i=a.width,s=a.height,l=(t.clientX-32*r/2)/i*100,c=(t.clientY-32*r/2)/s*100;n.style.left="".concat(l,"%"),n.style.top="".concat(c,"%"),y[e]=[l,c]}},onPointerUp:pointerup,onLostPointerCapture:pointerup}};return((0,ne.useEffect)(function(){iJ.joystickInner=m.current&&(0,td.iH)(m.current)},[i]),i||a)?(0,ty.jsxs)("div",{children:[a&&(0,ty.jsx)("div",{style:{position:"fixed",top:"0",left:"50%",transform:"translateX(-50%)",zIndex:9},children:(0,ty.jsx)(rH,{label:h?"Size: ".concat(h):"Change button size",value:h?w[h]:32,min:15,max:100,disabledReason:h?void 0:"Select a button first",updateValue:function(e){h&&(tr.YM.touchControlsSize[h]=e)}})}),"modern"===u&&(0,ty.jsx)("div",{className:"movement_joystick_outer",ref:g,style:(0,eI._)({display:v||a?"flex":"none",borderRadius:"50%",width:w.joystick,height:w.joystick,border:"2px solid rgba(0, 0, 0, 0.5)",backgroundColor:"rgba(255, 255, 255, 0.5)",position:"fixed",justifyContent:"center",alignItems:"center",translate:"-50% -50%"},a?(0,eI._)({left:"20%",top:"50%",cursor:"pointer"},"joystick"===h?{border:"2px solid white"}:{}):v?(n=(t=(0,nF.FR)()).width,r=t.height,{left:"".concat(v.x/n*100,"%"),top:"".concat(v.y/r*100,"%")}):{}),onClick:function(){a&&M("joystick")},children:(0,ty.jsx)("div",{className:"movement_joystick_inner",style:{borderRadius:"50%",width:.35*w.joystick,height:.35*w.joystick,backgroundColor:"rgba(0, 0, 0, 0.5)",position:"absolute"},ref:m})}),"modern"===u&&(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)("div",(0,eP._)((0,eI._)({},buttonProps("sneak")),{children:(0,ty.jsx)(tL.Z,{iconName:"arrow-down"})})),(0,ty.jsx)("div",(0,eP._)((0,eI._)({},buttonProps("jump")),{children:(0,ty.jsx)(tL.Z,{iconName:"arrow-up"})}))]}),"buttons"===d&&(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)("div",(0,eP._)((0,eI._)({}
1,buttonProps("action")),{children:(0,ty.jsx)(tL.Z,{iconName:"circle"})})),(0,ty.jsx)("div",(0,eP._)((0,eI._)({},buttonProps("break")),{children:(0,ty.jsx)(MineIcon,{})}))]}),a&&(0,ty.jsxs)("div",{style:{position:"fixed",bottom:0,display:"flex",justifyContent:"center",gap:3},children:[(0,ty.jsx)(rl.Z,{onClick:function(){o()},children:"Cancel"}),(0,ty.jsx)(rl.Z,{onClick:function(){o(y)},children:"Apply"})]})]}):null}var MineIcon=function(){return(0,ty.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26 26",width:22,height:22,children:(0,ty.jsx)("path",{d:"M 8 0 L 8 2 L 18 2 L 18 0 L 8 0 z M 18 2 L 18 4 L 20 4 L 20 6 L 22 6 L 22 8 L 24 8 L 24 2 L 22 2 L 18 2 z M 24 8 L 24 18 L 26 18 L 26 8 L 24 8 z M 24 18 L 22 18 L 22 20 L 24 20 L 24 18 z M 22 18 L 22 10 L 20 10 L 20 18 L 22 18 z M 20 10 L 20 8 L 18 8 L 18 10 L 20 10 z M 18 10 L 16 10 L 16 12 L 18 12 L 18 10 z M 16 12 L 14 12 L 14 14 L 16 14 L 16 12 z M 14 14 L 12 14 L 12 16 L 14 16 L 14 14 z M 12 16 L 10 16 L 10 18 L 12 18 L 12 16 z M 10 18 L 8 18 L 8 20 L 10 20 L 10 18 z M 8 20 L 6 20 L 6 22 L 8 22 L 8 20 z M 6 22 L 4 22 L 4 24 L 6 24 L 6 22 z M 4 24 L 2 24 L 2 22 L 0 22 L 0 24 L 0 26 L 2 26 L 4 26 L 4 24 z M 2 22 L 4 22 L 4 20 L 2 20 L 2 22 z M 4 20 L 6 20 L 6 18 L 4 18 L 4 20 z M 6 18 L 8 18 L 8 16 L 6 16 L 6 18 z M 8 16 L 10 16 L 10 14 L 8 14 L 8 16 z M 10 14 L 12 14 L 12 12 L 10 12 L 10 14 z M 12 12 L 14 12 L 14 10 L 12 10 L 12 12 z M 14 10 L 16 10 L 16 8 L 14 8 L 14 10 z M 16 8 L 18 8 L 18 6 L 16 6 L 16 8 z M 16 6 L 16 4 L 8 4 L 8 6 L 16 6 z M 8 4 L 8 2 L 6 2 L 6 4 L 8 4 z",stroke:"white"})})};function TouchAreasControlsProvider(){var e=(0,t_.uT)(),t=0!==(0,tb.R)(ta.M).length,n=(0,t_.uM)("touch-buttons-setup");return(0,ty.jsx)(TouchAreasControls,{foregroundGameActive:!!bot&&!!e&&!t,setupActive:n,closeButtonsSetup:function(e){e&&(tr.YM.touchControlsPositions=e),(0,ta.VG)()}})}var iG=n(94755),iH=(0,td.sj)({name:null,hand:0});function Crosshair(){var e=(0,tb.R)(iH),t=e.name;e.hand;var n=(0,eO._)((0,ne.useState)(!1),2),r=n[0],a=n[1],o=(0,eO._)((0,ne.useState)(0),2),i=o[0],s=o[1],l=(0,eO._)((0,ne.useState)(!1),2),c=l[0],u=l[1];return(0,ne.useEffect)(function(){bot.on("heldItemChanged",function(){var displayBar=function(e){var t=null==e?void 0:e.name;if(t)return loadedData.foodsArray.map(function(e){return e.name}).includes(t)||"bow"===t||"shield"===t||"crossbow"===t};a(displayBar(bot.heldItem)||displayBar(bot.inventory.slots[45])||!1)})},[]),(0,ne.useEffect)(function(){if(u("shield"===t),t){var e=Date.now(),n=0;if(("bow"===t||"crossbow"===t)&&(n=1e3),loadedData.foodsArray.some(function(e){return e.name===t})&&(n=1600),n){var r=setInterval(function(){var t=(Date.now()-e)/1e3;t>=1?clearInterval(r):s(t)},1e3/60);return function(){s(0),clearInterval(r)}}}},[t]),(0,ty.jsxs)(n0.Z,{children:[(0,ty.jsx)("div",{className:"crosshair"}),r&&(0,ty.jsx)("div",{className:"crosshair-indicator",style:{"--crosshair-indicator-size":"".concat(20,"px"),borderLeft:"solid ".concat(20*i,"px white"),backgroundColor:c?"dodgerblue":void 0}})]})}function ButtonAppProvider(e){var t=e.children;return(0,ty.jsx)(rl.e,{onClick:function(){window.playSound("button_click.mp3")},children:t})}(0,n(47536).IZ)("button_click.mp3","data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjQ1LjEwMAAAAAAAAAAAAAAA//tQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAANAAAWCQAcHBwcHBwcLy8vLy8vLy9CQkJCQkJCQlVVVVVVVVVoaGhoaGhoaHt7e3t7e3t7jo6Ojo6OjqGhoaGhoaGhtLS0tLS0tLTHx8fHx8fH2tra2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:return[4,fetchServerStatus(e)];case 1:return[2,null!=(n=null==(t=r.sent())?void 0:t.raw.srv_record)?n:void 0]}})}),function(e){return ew.apply(this,arguments)});var isServerValid=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.startsWith("192.168.")||e.startsWith("10.")||e.startsWith("172.")||e.startsWith("127.")||e.startsWith("localhost")||e.startsWith(":"),r=e.includes(".")||e.includes("localhost");return(!n||t)&&r};
1function fetchServerStatus(e,t,n){return _fetchServerStatus.apply(this,arguments)}function _fetchServerStatus(){return(_fetchServerStatus=(0,eE._)(function(e,t,n){var r,a,o,i,s,l,c,u,d;return(0,eB.Jh)(this,function(w){switch(w.label){case 0:if(!isServerValid(e))return[2];return[4,fetch("https://api.mcstatus.io/v2/status/java/".concat(e),{signal:t})];case 1:return[4,w.sent().json()];case 2:return l=null==(r=(s=w.sent()).version)?void 0:r.name_raw.replace(/^[^\d.]+/,""),[2,{formattedText:null!=(c=null==(a=s.motd)?void 0:a.raw)?c:"",textNameRight:s.online?"".concat(null!=n?n:l," ").concat(null!=(u=null==(o=s.players)?void 0:o.online)?u:"??","/").concat(null!=(d=null==(i=s.players)?void 0:i.max)?d:"??"):"",icon:s.icon,offline:!s.online,raw:s}]}})})).apply(this,arguments)}var iZ=n(34304),iK=n(95151),iX=n(69087),i$=(0,ne.createContext)(1),UIProvider=function(e){var t=e.children,n=e.scale;return(0,ty.jsx)(i$.Provider,{value:void 0===n?1:n,children:t})},usePassesScaledDimensions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=(0,ne.useContext)(i$),r=[];null!==e&&r.push("(min-width: ".concat(e*n,"px)")),null!==t&&r.push("(min-height: ".concat(t*n,"px)"));var a=r.join(" and ")||"all";return(0,iX.Z)(a)},ButtonWrapper=function(e){var t,n=(0,iZ._)({},(0,iK._)(e));return null!=n.style||(n.style={}),n.style.width=rs.PX,(0,ty.jsx)(rl.Z,(0,eI._)({},n))};let i0=(0,ru.K)(function(e){var t,n,r,a,o,i,s,l,c,u,d,w,p=e.onBack,h=e.onConfirm,M=e.title,g=e.initialData,m=e.parseQs,v=e.onQsConnect,y=e.placeholders,A=e.accounts,b=e.versions,_=!usePassesScaledDimensions(null,350),L=m?eU.EX.name:void 0,C=m?eU.EX.ip:void 0,j=m?eU.EX.version:void 0,D=m?eU.EX.proxy:void 0,x=m?eU.EX.username:void 0,k=m?eU.EX.lockConnect:void 0,T=parseServerAddress(C),N=parseServerAddress(null==g?void 0:g.ip),S=(0,eO._)(ne.useState(null!=(r=null!=(n=null==g?void 0:g.name)?n:L)?r:""),2),z=S[0],q=S[1],E=(0,eO._)(ne.useState(T.serverIpFull||N.serverIpFull||""),2),I=E[0],P=E[1],Y=(0,eO._)(ne.useState(null!=(i=null!=(o=null!=(a=null==g?void 0:g.versionOverride)?a:null==g?void 0:g.version)?o:j)?i:""),2),O=Y[0],R=Y[1],B=(0,eO._)(ne.useState(null!=(l=null!=(s=null==g?void 0:g.proxyOverride)?s:D)?l:""),2),U=B[0],Q=B[1],F=(0,eO._)(ne.useState(null!=(u=null!=(c=null==g?void 0:g.usernameOverride)?c:x)?u:""),2),W=F[0],V=F[1],J="true"===k,G=!usePassesScaledDimensions(400),H=null==g?void 0:g.authenticatedAccountOverride,Z=(0,eO._)(ne.useState(!0===H?-2:H?(null==A?void 0:A.includes(H))?A.indexOf(H):-2:-1),2),K=Z[0],X=Z[1],$=-1===K,ee=$?void 0:-2===K||(null==A?void 0:A[K]),et=I,en={name:z,ip:et=et.replace(/:$/,""),versionOverride:O||void 0,proxyOverride:U||void 0,usernameOverride:W||void 0,authenticatedAccountOverride:ee},er=(0,eO._)(ne.useState(void 0),2),ea=er[0],eo=er[1],ei=(0,eO._)(ne.useState(null),2),es=ei[0],el=ei[1],ec=(0,eO._)(ne.useState([]),2),eu=ec[0],ed=ec[1];(0,ne.useEffect)(function(){var e,t=new AbortController;return(e=(0,eE._)(function(){var e,t,n;return(0,eB.Jh)(this,function(r){switch(r.label){case 0:if(!C||!isServerValid(C))return[2];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,fetchServerStatus(C)];case 2:if(!(t=r.sent()))return[2];return el(t.raw.online),ed(null!=(n=null==(e=t.raw.players)?void 0:e.list.map(function(e){return e.name_raw}))?n:[]),eo(C),[3,4];case 3:return console.error("Failed to fetch server status:",r.sent()),[3,4];case 4:return[2]}})}),function(){return e.apply(this,arguments)})(),function(){return t.abort()}},[C]);var ef=["example.com:25565","play.hypixel.net","ws://play.mcraft.fun","wss://play.webmc.fun"],ew=ef[Math.floor(Math.random()*ef.length)];return(0,ty.jsx)(nn.Z,{title:C?"Connect to Server":void 0===M?"Add a Server":M,backdrop:!0,children:(0,ty.jsx)("form",{style:{display:"flex",flexDirection:"column",height:"100%"},onSubmit:function(e){e.preventDefault(),h(en)},children:(0,ty.jsxs)("div",{style:(0,eI._)({display:G?"flex":"grid",gap:3},G?{flexDirection:"column"}:{gridTemplateColumns:"1fr 1fr"}),children:[(0,ty.jsx)(rs.sp,{required:!0,label:"Server IP",autoFocus:!J,value:I,disabled:J&&null!==T.host,onChange:function(e){P(e.target.value),el(!1)},validateInput:null===es||ea!==I?void 0:function(){if(I)if(es)return{border:"lightgreen solid 1px"};else return{border:"red solid 1px"}},placeholder:ew}),!J&&(0,ty.jsx)(ty.Fragment,{children:(0,ty.jsx)("div",{style:{display:"flex"},children:(0,ty.jsx)(rs.sp,{label:"Server Name",value:z,onChange:function(e){return q(e.target.value)},placeholder:"Defaults to IP"})})}),_?(0,ty.jsx)("div",{style:{gridColumn:"span 2",marginTop:10}}
1):(0,ty.jsx)("div",{style:{gridColumn:G?"":"span 2"},children:"Overrides:"}),(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[(0,ty.jsx)("label",{style:{fontSize:12,marginBottom:1,color:"lightgray"},children:"Version Override"}),(0,ty.jsx)(SelectGameVersion,{selected:{value:O,label:O},versions:null!=(d=null==b?void 0:b.map(function(e){return{value:e,label:e}}))?d:[],onChange:function(e){R(e)},placeholder:"Optional, but recommended to specify",disabled:J})]}),(0,ty.jsx)(rs.sp,{label:"Proxy Override",value:U,disabled:J&&(null!==D||!!(null==y?void 0:y.proxyOverride))||I.startsWith("ws://")||I.startsWith("wss://"),onChange:function(e){return Q(e.target.value)},placeholder:I.startsWith("ws://")||I.startsWith("wss://")?"Not needed for websocket servers":null==y?void 0:y.proxyOverride}),(0,ty.jsx)(rs.sp,{label:"Username Override",value:W,disabled:!$||J&&null!==x,onChange:function(e){return V(e.target.value)},placeholder:null==y?void 0:y.usernameOverride,validateInput:es&&ea===I?function(e){if(e&&(eu.includes(e)||!/^\w{3,16}$/.test(e)))return{border:"red solid 1px"}}:void 0}),(0,ty.jsxs)("label",{style:{display:"flex",flexDirection:"column"},children:[(0,ty.jsx)("span",{style:{fontSize:12,marginBottom:1,color:"lightgray"},children:"Account Override"}),(0,ty.jsxs)("select",{onChange:function(e){return X(Number(e.target.value))},style:{background:"gray",color:"white",height:20,fontSize:13},defaultValue:!0===H?-2:void 0===H?-1:null!=(w=-1===(t=(null!=A?A:[]).indexOf(H))?void 0:t)?w:-2,disabled:J&&null!==x,children:[(0,ty.jsx)("option",{value:-1,children:"Offline Account (Username)"}),null==A?void 0:A.map(function(e,t){return(0,ty.jsxs)("option",{value:t,children:[e," (Logged In)"]},t)}),(0,ty.jsx)("option",{value:-2,children:"Any other MS account"})]})]}),!J&&(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)(ButtonWrapper,{onClick:function(){p()},children:"Cancel"}),(0,ty.jsx)(ButtonWrapper,{type:"submit",children:C?translate("Save"):(0,ty.jsx)("strong",{children:translate("Save")})})]}),C&&(0,ty.jsx)("div",{style:{gridColumn:G?"":"span 2",display:"flex",justifyContent:"center"},children:(0,ty.jsx)(ButtonWrapper,{"data-test-id":"connect-qs",onClick:function(){null==v||v(en)},children:(0,ty.jsx)("strong",{children:translate("Connect")})})})]})})})},"addServerOrConnect");var i1=(0,rF.U)(ny.supportedVersions["0"]),i3=(0,rF.U)(ny.supportedVersions.at(-1)),i2=aj.ZP.filter(function(e){return(0,rF.U)(e)>=i1&&(0,rF.U)(e)<=i3});eU.EX.lockConnect&&ta.Ro.add("editServer");var normalizeIp=function(e){return e.replace(/https?:\/\//,"").replace(/\/(:|$)/,"")},ServersListProvider_Inner=function(e){var t=e.hidden,n=e.customServersList,r=(0,eO._)((0,ne.useState)(null),2),a=r[0],o=r[1],i=(0,tb.R)(t2.e1).authenticatedAccounts,s=(0,eO._)((0,ne.useState)(""),2),l=s[0],c=s[1],u=(0,eO._)((0,ne.useState)(0),2),d=u[0],w=u[1],p=(0,eO._)((0,ne.useState)(0),2),h=p[0],M=p[1];(0,ne.useEffect)(function(){t||M(function(e){return e+1})},[t]);var g=(0,tb.R)(t2.e1).serversList,m=(0,ne.useMemo)(function(){var e,t;return n?n.map(function(e){var t=(0,eO._)(e.split(" "),2),n=t[0],r=t[1],a=(0,eO._)(n.split(":"),3);return{ip:n,versionOverride:(a[0],a[1],a[2]),name:r}}):(0,eW._)(null!=(t=null==(e=t2.e1.serversList)?void 0:e.filter(function(e){return e}))?t:[])},[n,g]),v=(0,eO._)((0,ne.useState)({}),2),y=v[0],A=v[1];(0,ne.useEffect)(function(){var handleKeyDown=function(e){if(!["input","textarea","select"].includes(null==(r=e.target)||null==(t=r.tagName)?void 0:t.toLowerCase())&&e.shiftKey&&void 0!==d&&("ArrowUp"===e.key||"ArrowDown"===e.key)&&!n){e.preventDefault(),e.stopImmediatePropagation();var t,r,a="ArrowUp"===e.key?Math.max(0,d-1):Math.min(m.length-1,d+1);if(a!==d&&!(a<0)&&!(a>=m.length)){var o=(0,eW._)(m),i=o[d],s=o[a];i.isRecommended||s.isRecommended||(o[d]=s,o[a]=i,t2.e1.serversList=o,w(a))}}};return document.addEventListener("keydown",handleKeyDown),function(){return document.removeEventListener("keydown",handleKeyDown)}},[d,m]);var b=(0,ne.useMemo)(function(){var e,t;return(0,eW._)(m).concat((0,eW._)((n?[]:null!=(t=null==(e=ta.N_.appConfig)?void 0:e.promoteServers)?t:[]).map(function(e){return{ip:e.ip,name:e.name,versionOverride:e.version,description:e.description,isRecommended:!0}}))).map(function(e,t){return(0,eP._)((0,eI._)({},e),{index:t})})},[m]),_=(0,t_.uM)("editServer");(0,rc.mk)(function(e){var t,n=e.signal;_||(t=(0,eE._)(function(){var e,t,r,a,o,i,s,l,c,u;return(0,eB.Jh)(this,function(d){switch(d.label){case 0:e=b.map(function(e){return!isServerValid(e.ip,!0)||n.aborted?null:e}).filter(function(e){return null!==e}),t=new Set,r=0,a=!0,o=!1,i=void 0,d.label=1;case 1:d.trys.push([1,6,7,8]),s=function(){var e,a;return(0,eB.Jh)(this,function(o){switch(o.label){case 0:if(e=c.value,!(t.size>=10))return[3,2];return[4,Promise.race(t)];case 1:o.sent(),o.label=2;case 2:return a=new Promise(function(o){setTimeout((0,eE._)(function(){var i,s,l,c,u,d;return(0,eB.Jh)(this,function(w){switch(w.label){case 0:if(w.trys.push([0,8,9,10]),r=Date.now(),n.aborted)return[2];if(!(e.ip.startsWith("ws://")||e.ip.startsWith("wss://")))return[3,5];w.label=1;case 1:return w.trys.push([1,3,,4]),[4,rx(e.ip,void 0,void 0,!0)];case 2:return console.log("pingResult.fullInfo.description",(c=w.sent()).fullInfo.description),i={formattedText:c.fullInfo.description,icon:c.fullInfo.favicon,textNameRight:"ws ".concat(c.latency,"ms"),textNameRightGrayed:"".concat(null!=(u=null==(s=c.fullInfo.players)?void 0:s.online)?u:"??","/").concat(null!=(d=null==(l=c.fullInfo.players)?void 0:l.max)?d:"??"),offline:!1},[3,4];case 3:return w.sent(),i={formattedText:"Failed to connect",textNameRight:"",textNameRightGrayed:"",offline:!0},[3,4];case 4:return[3,7];
1case 5:return[4,fetchServerStatus(e.ip,void 0,e.versionOverride)];case 6:i=w.sent(),w.label=7;case 7:return i&&A(function(t){return(0,eP._)((0,eI._)({},t),(0,tg._)({},e.ip,i))}),[3,10];case 8:return console.warn("Failed to fetch server status",w.sent()),[3,10];case 9:return t.delete(a),o(),[7];case 10:return[2]}})}),r?Math.max(0,100-(Date.now()-r)):0)}),t.add(a),[2]}})},l=e[Symbol.iterator](),d.label=2;case 2:if(a=(c=l.next()).done)return[3,5];return[5,(0,eB.XA)(s())];case 3:d.sent(),d.label=4;case 4:return a=!0,[3,2];case 5:return[3,8];case 6:return u=d.sent(),o=!0,i=u,[3,8];case 7:try{a||null==l.return||l.return()}finally{if(o)throw i}return[7];case 8:return[4,Promise.all(t)];case 9:return d.sent(),[2]}})}),function(){return t.apply(this,arguments)})()},[b,_]),(0,nF.Dz)(function(){a&&!_&&(0,ta.K4)({reactType:"editServer"}),!a&&_&&(0,ta.kJ)()},[a]),(0,nF.Dz)(function(){_||o(null)},[_]),useCopyKeybinding(function(){var e=m[d];if(e){var t="".concat(e.ip);return e.versionOverride&&(t+=":".concat(e.versionOverride)),t}});var L=_?(0,ty.jsx)(i0,{placeholders:{proxyOverride:getCurrentProxy(),usernameOverride:getCurrentUsername()},parseQs:!a,onBack:function(){(0,ta.kJ)()},onConfirm:function(e){if(a){if(!0===a){var t,n=(0,eP._)((0,eI._)({},e),{lastJoined:Date.now()});t2.e1.serversList=[n].concat((0,eW._)(null!=(t=t2.e1.serversList)?t:m))}else{var r,i=null==(r=t2.e1.serversList)?void 0:r.indexOf(a);if(void 0!==i){var s=t2.e1.serversList[i].lastJoined;t2.e1.serversList[i]=(0,eP._)((0,eI._)({},e),{lastJoined:s})}}o(null)}},accounts:i.map(function(e){return e.username}),initialData:a&&!0!==a?a:{ip:l},onQsConnect:function(e){dispatchEvent(new CustomEvent("connect",{detail:{username:e.usernameOverride||getCurrentUsername()||"",server:normalizeIp(e.ip),proxy:e.proxyOverride||getCurrentProxy(),botVersion:e.versionOverride,ignoreQs:!0}}))},versions:i2}):null,C=(0,ty.jsx)(rh,{joinServer:function(e,t){var n,r,a,o,s,l,c=t.shouldSave;if("string"==typeof e){var u=!1,d=e.split(":");"ms"===d.at(-1)&&(u=!0,d.pop());var w=parseServerAddress(d.join(":"));r={ip:w.serverIpFull,versionOverride:w.version,authenticatedAccountOverride:!!u||void 0}}else r=e;var p=r.ip,h=p;void 0===c&&(h=(a=b.find(function(e){return e.index.toString()===p})).ip,r=a);var M=null==(n=m.find(function(e){return e.usernameOverride}))?void 0:n.usernameOverride,g=r.usernameOverride||getCurrentUsername()||"";if(!g){var v=prompt("Enter username",M||"");if(!v)return;g=v}r.authenticatedAccountOverride&&(o=!0===r.authenticatedAccountOverride||null==(s=i.find(function(e){return e.username===r.authenticatedAccountOverride}))||s),dispatchEvent(new CustomEvent("connect",{detail:{username:g,server:normalizeIp(h),proxy:r.proxyOverride||getCurrentProxy(),botVersion:null!=(l=r.versionOverride)?l:r.version,ignoreQs:!0,authenticatedAccount:o,saveServerToHistory:c,onSuccessfulPlay:function(){if(!1!==c&&!m.some(function(e){return e.ip===h})){var e=[{ip:h,lastJoined:Date.now(),versionOverride:r.versionOverride,numConnects:1}].concat((0,eW._)(m));(0,oz.e$)(e),ta.N_.loadedServerIndex=(e.length-1).toString()}if(void 0===c){var t=m.find(function(e){return e.ip===h});if(t){var n=(0,eW._)(m),a=n.indexOf(t),o=n[a];n.splice(a,1),n.unshift(o),t.lastJoined=Date.now(),t.numConnects=(t.numConnects||0)+1,(0,oz.e$)(n)}}},serverIndex:c?m.length.toString():p}}))},lockedEditing:!!n,setQuickConnectIp:c,onProfileClick:(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,(0,t7.un)("Select authenticated account to remove",i.map(function(e){return e.username}))];case 1:if(!(e=t.sent()))return[2];return t2.e1.authenticatedAccounts=i.filter(function(t){return t.username!==e}),[2]}})}),onWorldAction:function(e,t){var n=m[t];n&&("edit"===e&&o(n),"delete"===e&&(t2.e1.serversList=t2.e1.serversList.filter(function(e){return e!==n})))},onGeneralAction:function(e){"create"===e&&o(!0),"cancel"===e&&(0,ta.kJ)()},worldData:b.map(function(e){var t,r,a,o,i,s=y[e.ip],l=(t=(0,eE._)(function(){var t,n,r,a;return(0,eB.Jh)(this,function(o){switch(o.label){case 0:return o.trys.push([0,5,,6]),(t=new URLSearchParams).set("ip",e.ip),e.proxyOverride&&t.set("proxy",e.proxyOverride),e.versionOverride&&t.set("version",e.versionOverride),t.set("username",null!=(n=e.usernameOverride)?n:""),r="".concat(window.location.origin).concat(window.location.pathname,"?").concat(t.toString()),[4,navigator.clipboard.writeText(r)];case 1:return o.sent(),a="Server link copied to clipboard",[3,3];case 2:return o.sent(),[3,4];case 3:(0,tv.c0)(a),o.label=4;case 4:return[3,6];case 5:return console.error(o.sent()),(0,tv.c0)("Failed to copy server link to clipboard"),[3,6];case 6:return[2]}})}),function(){return t.apply(this,arguments)});
1return{name:e.index.toString(),title:e.name||e.ip,detail:(null!=(r=e.versionOverride)?r:"")+" "+(null!=(a=e.usernameOverride)?a:""),formattedTextOverride:null==s?void 0:s.formattedText,worldNameRight:null!=(o=null==s?void 0:s.textNameRight)?o:"",worldNameRightGrayed:null!=(i=null==s?void 0:s.textNameRightGrayed)?i:"",iconSrc:null==s?void 0:s.icon,offline:null==s?void 0:s.offline,afterTitleUi:(0,ty.jsx)(rl.Z,{tabIndex:-1,icon:"external-link",style:{marginRight:8,width:20,height:20},onClick:function(e){e.stopPropagation(),l()}}),group:n?"Provided Servers":e.isRecommended?"⭐️ Recommended Servers":"\uD83D\uDCBE Saved Servers"}}),hidden:t,onRowSelect:function(e){w(Number(e))},selectedRow:d,retriggerFocusCounter:h});return(0,ty.jsxs)(ty.Fragment,{children:[C,L]})};function ServersListProvider(){var e=eU.EX.serversList,t=(0,eO._)((0,ne.useState)(e?[]:void 0),2),n=t[0],r=t[1];(0,ne.useEffect)(function(){if(e)if(e.startsWith("http")){var t;fetch(e).then((t=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){return[2,e.text()]})}),function(e){return t.apply(this,arguments)})).then(function(t){r(e.endsWith(".json")||!e.endsWith(".txt")&&t.startsWith("[")?JSON.parse(t):t.split("\n").map(function(e){return e.trim()}).filter(function(e){return e.trim().length>0}))}).catch(function(e){console.error(e),alert("Failed to get servers list file: ".concat(e))})}else r(e.split(","))},[e]);var a=(0,tb.R)(ta.M).some(function(e){return"serversList"===e.reactType}),o=(0,t_.uM)("editServer");(0,t_.uM)("general-select");var i=(0,t_.uM)("serversList");return i||o||a?(0,ty.jsx)(ServersListProvider_Inner,{hidden:!i,customServersList:n}):null}var i5=n(37625);let i4={container:"container-dRiZZT",group:"group-haorh2","group-category":"group-category-HNSIFU",actionBinds:"actionBinds-MbRkMv","warning-container":"warning-container-mgiK4D",actionName:"actionName-uFJWW2","undo-keyboard":"undo-keyboard-fjpyGp","undo-gamepad":"undo-gamepad-ZNUg28",button:"button-AF2rj4","margin-left":"margin-left-ugrmlI","matched-bind-warning":"matched-bind-warning-WdXyU1"};function KeybindingsCustom(e){var t=e.customCommands,n=e.updateCurrBind,r=e.resetBinding,a=(0,ne.useContext)(i8),o=a.userConfig,i=a.setUserConfig,s=(0,eO._)((0,ne.useState)((0,eI._)({},t)),2),l=s[0],c=s[1];(0,ne.useEffect)(function(){i((0,eP._)((0,eI._)({},o),{custom:(0,eI._)({},l)}))},[l]);var addNewCommand=function(e){var t,n=String((t=Math).max.apply(t,(0,eW._)(Object.keys(l).map(Number).filter(function(e){return!isNaN(e)})).concat([0]))+1);c(function(t){var r=(0,eI._)({},t);return r[n]={keys:void 0,gamepad:void 0,type:e,inputs:[]},r})};return(0,ty.jsx)(ty.Fragment,{children:(0,ty.jsx)("div",{className:i4.group,children:Object.entries(t9).map(function(e){var t=(0,eO._)(e,2),a=t[0],o=t[1].input;return(0,ty.jsxs)("div",{className:i4.group,children:[(0,ty.jsx)("div",{className:i4["group-category"],children:a},"category-".concat(a)),Object.entries(l).filter(function(e){var t=(0,eO._)(e,2);return(t[0],t[1]).type===a}).map(function(e,t){return(0,ty.jsx)(CustomCommandContainer,{indexOption:t,commandData:e,updateCurrBind:n,groupData:[a,{input:o}],setCustomConfig:c,resetBinding:r},t)}),(0,ty.jsx)(rl.Z,{onClick:function(){return addNewCommand(a)},icon:"pixelarticons:add-box",style:{alignSelf:"center"}})]},"group-container-".concat(a))})})})}var CustomCommandContainer=function(e){e.indexOption;var t,n,r,a,o,i=e.commandData,s=e.updateCurrBind,l=e.setCustomConfig,c=e.resetBinding,u=e.groupData,d=(0,ne.useContext)(i8).userConfig,w=(0,eO._)(i,2),p=w[0],h=w[1],M=h.keys,g=h.gamepad,m=h.inputs,v=(0,eO._)(u,2),y=v[0],A=v[1].input,setInputValue=function(e,t,n){l(function(r){var a=(0,eI._)({},r);return a[e].inputs=(0,eW._)(r[e].inputs),a[e].inputs[t]=n,a})};return(0,ty.jsxs)("div",(0,tg._)({style:{padding:"10px"}},"children",[A.map(function(e,t){var n,r="function"==typeof e?e(m):e;return r?"select"===r.type?(0,ty.jsx)("select",{onChange:function(e){setInputValue(p,t,e.target.value)},children:r.options.map(function(e){return(0,ty.jsx)("option",{value:e,children:e},e)})},t):(0,ty.jsx)(rs.ZP,{rootStyles:{width:"99%"}
1,placeholder:r.placeholder,value:null!=(n=m[t])?n:"",onChange:function(e){return setInputValue(p,t,e.target.value)}},t):null}),(0,ty.jsxs)("div",(0,tg._)({className:i4.actionBinds},"children",[(null==d||null==(n=d.custom)||null==(t=n[p])?void 0:t.keys)?(0,ty.jsx)(rl.Z,{onClick:function(){s(y,p),c("custom",p,"keyboard")},className:i4["undo-keyboard"],icon:"pixelarticons:undo"}):null,[0,1].map(function(e,t){return(0,ty.jsx)(ButtonWithMatchesAlert,{group:"custom",action:p,index:t,inputType:"keyboard",keys:M,gamepad:g},"custom-keyboard-".concat(y,"-").concat(p,"-").concat(t))}),(0,ty.jsx)("div",{style:{marginRight:"auto"}}),(null==d||null==(a=d.custom)||null==(r=a[p])?void 0:r.gamepad)?(0,ty.jsx)(rl.Z,{onClick:function(){s(y,p),c("custom",p,"gamepad")},className:i4["undo-keyboard"],icon:"pixelarticons:undo"}):null,(0,ty.jsx)(ButtonWithMatchesAlert,{group:"custom",action:p,index:0,inputType:"gamepad",keys:M,gamepad:g}),(0,ty.jsx)(rl.Z,(o={},(0,tg._)(o,"onClick",function(){l(function(e){return e[p],(0,eY._)(e,[p].map(i5._))})}),(0,tg._)(o,"style",{color:"red"}),(0,tg._)(o,"icon","pixelarticons:delete"),o))]))]))};function parseBindingName(e){return _parseBindingName.apply(this,arguments)}function _parseBindingName(){return(_parseBindingName=(0,eE._)(function(e){var t,n,r,a,o,i,s,l;return(0,eB.Jh)(this,function(c){switch(c.label){case 0:if(!e)return[2,""];return[4,null==(r=(null!=(n="undefined"==typeof navigator?void 0:navigator)?n:{}).keyboard)||null==(t=r.getLayoutMap)?void 0:t.call(r)];case 1:for(l=0,o=null!=(a=c.sent())?a:new Map,s=(i=e.replaceAll(/(Digit|Key)/g,"")).includes("+")?i.split("+"):[i];l<s.length;l++){var u;s[l]=(u=s[l],o.get(u)||u).split(RegExp("(?<=[a-z])(?=\\d)")).join(" ").split(/(?=[A-Z])/).reverse().join(" ")}return[2,s.join(" + ")]}})})).apply(this,arguments)}function Keybinding(e){var t=e.type,n=e.val,r=e.isPS,a=(0,eO._)((0,ne.useState)(""),2),o=a[0],i=a[1];function _setBind(){return(_setBind=(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:if(i(n),"keyboard"!==t)return[3,2];return[4,parseBindingName(n)];case 1:return e=a.sent(),[3,3];case 2:e=r&&i6[n]?i6[n]:n,a.label=3;case 3:return i(e),[2]}})})).apply(this,arguments)}return(0,ne.useEffect)(function(){!function(){_setBind.apply(this,arguments)}()},[t,n,r]),(0,ty.jsx)(ty.Fragment,{children:o})}var i6={A:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjwhRE9DVFlQRSBzdmcgIFBVQkxJQyAnLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4nICAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZH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DEuNTAyLTIuNTk4TDMzLjQ5NCwxNC4xNDYgICBDMzMuMDg0LDEzLjQzMiwzMi41NDIsMTMuMDczLDMyLDEzLjA3M0wzMiwxMy4wNzN6IiBmaWxsPSIjRkZGRkZGIi8+PC9nPjwvc3ZnPg=="},i8=(0,ne.createContext)({isPS:!1,userConfig:null!=(eN=null==nS?void 0:nS.userConfig)?eN:{},setUserConfig:function(e){},handleClick:function(){},bindsMap:{keyboard:{},gamepad:{}}});function KeybindingsScreen(e){var t,n,r=e.contro,a=e.isPS,o=(0,ne.useRef)(null),i=(0,ne.useRef)({keyboard:{},gamepad:{}}),s=r.inputSchema.commands,l=(0,eO._)((0,ne.useState)(null!=(t=r.userConfig)?t:{}),2),c=l[0],u=l[1],d=(0,eO._)((0,ne.useState)(null),2),w=d[0],p=d[1],h=(0,eO._)((0,ne.useState)(""),2),M=h[0],g=h[1],m=(0,eO._)((0,ne.useState)(""),2),v=m[0],y=m[1],A=(0,eO._)((0,ne.useState)(0),2),b=A[0],_=A[1],L=(0,ne.useContext)(i7).updateBinds,C=(0,eO._)((0,ne.useState)(null!=(n=c.custom)?n:{}),2),j=C[0],D=C[1],updateCurrBind=function(e,t){g(function(t){return e}),y(function(e){return t})},setBinding=function(e,t,n,a){u(function(o){var i,s,l,c,u,d,w=(0,eI._)({},o);null!=w[t]||(w[t]={}),null!=(i=w[t])[n]||(i[n]={});var p="code"in e?"keys":"button"in e?"gamepad":null;return p&&(null!=(c=w[t][n])[p]||(c[p]="custom"===t?[]:(0,eW._)(r.inputSchema.commands[t][n][p])),w[t][n][p][a]=null!=(d=e.code)?d:e.button),w})},resetBinding=function(e,t,n){var r;(null==c||null==(r=c[e])?void 0:r[t])&&u(function(r){var a=(0,eI._)({},r);return a[e][t]["keyboard"===n?"keys":"gamepad"]=void 0,a})};(0,ne.useEffect)(function(){L(c),D((0,eI._)({},c.custom)),updateBindMap()},[c]);var updateBinding=function(e){if(!e.state&&w||!w)return void p(null);if("code"in e){if(e.state&&(0,eW._)(r.pressedKeys).includes(e.code))return;if("Escape"===e.code||["Mouse0","Mouse1","Mouse2"].includes(e.code))return void p(null);var t=(0,eW._)(r.pressedKeys).filter(function(e){return/^(Meta|Control|Alt|Shift)?$/.test(e)});setBinding({code:t.length?"".concat(t[0],"+").concat(e.code):e.code,state:!0},M,v,b)}"button"in e&&(r.enabled=!1,Promise.resolve().then(function(){r.enabled=!0}),setBinding(e,M,v,b))},updateBindMap=function(){if(i.current={keyboard:{},gamepad:{}},s){var e=!0,t=!1,n=void 0;try{for(var r,a=Object.entries(s)[Symbol.iterator]();!(e=(r=a.next()).done);e=!0)!function(){var e=(0,eO._)(r.value,2),t=e[0],n=e[1],a=!0,o=!1,s=void 0;try{for(var l,u=Object.entries(n)[Symbol.iterator]();!(a=(l=u.next()).done);a=!0)!function(){var e=(0,eO._)(l.value,2),n=e[0],r=e[1],a=r.keys,o=r.gamepad;if(a){var s=void 0;s=(null==c||null==(h=c[t])||null==(p=h[n])?void 0:p.keys)?c[t][n].keys:a;var u=!0,d=!1,w=void 0;try{for(var p,h,M,g=s.entries()[Symbol.iterator]();!(u=(M=g.next()).done);u=!0)!function(){var e,r,a=(0,eO._)(M.value,2),o=a[0],s=a[1];null!=(e=i.current.keyboard)[s]||(e[s]=[]),i.current.keyboard[s].some(function(e){return e.group===t&&e.action===n&&e.index===o})||i.current.keyboard[s].push({group:t,action:n,index:o})}()}catch(e){d=!0,w=e}finally{try{u||null==g.return||g.return()}finally{if(d)throw w}}}if(o){var m,v,y,A,b,_=void 0;
1(_=(null==c||null==(v=c[t])||null==(m=v[n])?void 0:m.gamepad)?c[t][n].gamepad:o).length>0&&(null!=(y=i.current.gamepad)[A=_[0]]||(y[A]=[]),i.current.gamepad[_[0]].push({group:t,action:n,index:0}))}}()}catch(e){o=!0,s=e}finally{try{a||null==u.return||u.return()}finally{if(o)throw s}}}()}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}}};return(0,ne.useEffect)(function(){updateBindMap()},[]),(0,ne.useEffect)(function(){if(w){r.on("pressedKeyOrButtonChanged",updateBinding);var preventDefault=function(e){return e.preventDefault()};return document.addEventListener("keydown",preventDefault,{passive:!1}),function(){r.off("pressedKeyOrButtonChanged",updateBinding),document.removeEventListener("keydown",preventDefault)}}},[M,v,w]),(0,ty.jsx)(i8.Provider,{value:{isPS:a,userConfig:c,setUserConfig:u,handleClick:function(e,t,n,r){var a;null==(a=document.activeElement)||a.blur(),p(r),updateCurrBind(e,t),_(function(e){return n})},bindsMap:i.current},children:(0,ty.jsxs)(nn.Z,{title:"Keybindings",backdrop:!0,children:[w&&(0,ty.jsx)(AwaitingInputOverlay,{isGamepad:"gamepad"===w}),(0,ty.jsxs)("div",{className:i4.container,ref:o,children:[(0,ty.jsx)(rl.Z,{onClick:function(){(0,ta.VG)()},style:{alignSelf:"center"},children:"Back"}),Object.entries(s).map(function(e,t){var n=(0,eO._)(e,2),r=n[0],a=n[1];return"custom"===r?null:(0,ty.jsxs)("div",{className:i4.group,children:[(0,ty.jsx)("div",{className:i4["group-category"],children:r}),"general"===r?(0,ty.jsx)("div",{style:{color:"rgba(255, 255, 255, 0.7)",fontSize:"6px",textAlign:"center"},children:"Note: Left, right and middle click keybindings are hardcoded and cannot be changed currently."}):null,Object.entries(a).map(function(e){var t,n,a,o,i,s,l=(0,eO._)(e,2),u=l[0],d=l[1],w=d.keys,p=d.gamepad;return(0,ty.jsxs)("div",{className:i4.actionBinds,children:[(0,ty.jsx)("div",{className:i4.actionName,children:parseActionName(u)}),(0,ty.jsx)(rl.Z,{onClick:function(){updateCurrBind(r,u),resetBinding(r,u,"keyboard")},style:{opacity:+(null!=c&&null!=(a=c[r])&&null!=(n=a[u])&&null!=(t=n.keys)&&!!t.length)},className:i4["undo-keyboard"],icon:tL.K.undo}),[0,1].map(function(e,t){return(0,ty.jsx)(ButtonWithMatchesAlert,{group:r,action:u,index:t,inputType:"keyboard",keys:w,gamepad:p},"keyboard-".concat(r,"-").concat(u,"-").concat(t))}),(0,ty.jsx)(rl.Z,{onClick:function(){updateCurrBind(r,u),resetBinding(r,u,"gamepad")},style:{opacity:+(null!=c&&null!=(s=c[r])&&null!=(i=s[u])&&null!=(o=i.gamepad)&&!!o.length),width:"0px"},className:"".concat(i4["undo-gamepad"]," ").concat(i4["margin-left"]),icon:tL.K.undo},"keyboard-".concat(r,"-").concat(u)),(0,ty.jsx)(ButtonWithMatchesAlert,{group:r,action:u,index:0,inputType:"gamepad",keys:w,gamepad:p},"gamepad-".concat(r,"-").concat(u))]},"action-container-".concat(u))})]},"group-container-".concat(r,"-").concat(t))}),(0,ty.jsx)(KeybindingsCustom,{customCommands:j,updateCurrBind:updateCurrBind,resetBinding:resetBinding})]})]})})}var ButtonWithMatchesAlert=function(e){var t,n,r,a=e.group,o=e.action,i=e.index,s=e.inputType,l=e.keys,c=e.gamepad,u=(0,ne.useContext)(i8),d=u.isPS,w=u.userConfig,p=u.handleClick,h=u.bindsMap,M=(0,eO._)((0,ne.useState)(""),2),g=M[0],m=M[1];return(0,ne.useEffect)(function(){var e,t,n,r,u="keyboard"===s?"keys":"gamepad",d=null==w||null==(n=w[a])||null==(t=n[o])||null==(e=t[u])?void 0:e[i];d?m(d):"keys"===u?m((null==l?void 0:l.length)?l[i]:""):m(null!=(r=null==c?void 0:c[0])?r:"")},[w,d]),(0,ty.jsxs)("div",{className:"".concat(i4["warning-container"]),children:[(0,ty.jsx)(rl.Z,{onClick:function(){return p(a,o,i,s)},className:"".concat(i4.button),children:(0,ty.jsx)(Keybinding,{type:s,val:g})},"".concat(s,"-").concat(a,"-").concat(o,"-").concat(i)),(null==w||null==(r=w[a])||null==(n=r[o])||null==(t=n["keyboard"===s?"keys":"gamepad"])?void 0:t.some(function(e){return Object.keys(h[s]).includes(e)&&h[s][e].length>1&&h[s][e].some(function(e){return e.index===i&&e.group===a&&e.action===o})}))?(0,ty.jsxs)("div",{id:"bind-warning-".concat(a,"-").concat(o,"-").concat(s,"-").concat(i),className:i4["matched-bind-warning"],children:[(0,ty.jsx)(tL.Z,{iconName:"alert",width:5,styles:{display:"flex",justifyContent:"center",alignItems:"center",marginRight:"2px"}}),(0,ty.jsxs)("div",{children:["This bind is already in use. ",(0,ty.jsx)("span",{})]})]}):null]},"warning-container-".concat(s,"-").concat(o))},AwaitingInputOverlay=function(e){var t=e.isGamepad;return(0,ty.jsxs)("div",{style:{position:"fixed",inset:0,display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",backgroundColor:"rgba(0, 0, 0, 0.5)",color:"white",fontSize:20,zIndex:10,textAlign:"center"},onContextMenu:function(e){return e.preventDefault()},children:[(0,ty.jsxs)("div",{children:[t?"Press the button on the gamepad ":"Press the key, side mouse button ","or ESC to cancel."]}),(0,ty.jsx)(rl.Z,{onClick:function(){document.dispatchEvent(new KeyboardEvent("keydown",{key:"Escape"}))},children:"Cancel"})]})},parseActionName=function(e){var t=e.split(/(?=[A-Z])/);return t[0]=t[0].charAt(0).toUpperCase()+t[0].slice(1),t.join(" ")},i9={updateBinds:controls_updateBinds},i7=(0,ne.createContext)(i9);
1function KeybindingsScreenProvider(){var e,t,n,r=(0,eO._)((0,ne.useState)(i9),2),a=r[0];if(r[1],!(0,t_.uM)("keybindings"))return null;var o=(0,eW._)(null!=(n=null==(e=(t=navigator).getGamepads)?void 0:e.call(t))?n:[]).some(function(e){return null==e?void 0:e.id.match(/playstation|dualsense|dualshock/i)});return(0,ty.jsx)(i7.Provider,{value:a,children:(0,ty.jsx)(KeybindingsScreen,{isPS:o,contro:nS})})}function HeldMapUi(){var e=(0,eO._)((0,ne.useState)(null),2),t=e[0],n=e[1];return(0,ne.useEffect)(function(){var updateHeldMap=function(){n(null);var e,t,r,a,o,i,s,l=bot.heldItem;if(l&&["filled_map","map"].includes(l.name)){var c=null!=(s=null==l||null==(r=l.nbt)||null==(t=r.value)||null==(e=t.map)?void 0:e.value)?s:null==(o=l.components)||null==(a=o.find(function(e){return"map_id"===e.type}))?void 0:a.data;n(null==(i=bot.mapDownloader.maps)?void 0:i[c])}};bot.on("heldItemChanged",function(){updateHeldMap()}),bot.on("new_map",function(e){e.id,updateHeldMap()}),updateHeldMap()},[]),t&&!0!==t?(0,ty.jsx)("div",{style:{position:"fixed",bottom:20,left:8,pointerEvents:"none"},children:(0,ty.jsx)("img",{src:t,style:{width:92,height:92,imageRendering:"pixelated"}})}):null}function BedTime(){return(0,t_.uM)("bed")?(0,ty.jsx)("div",{style:{position:"fixed",bottom:0,left:0,right:0,display:"flex",justifyContent:"center"},children:(0,ty.jsx)(rl.Z,{onClick:function(){bot.wake(),(0,ta.kJ)()},children:"Cancel"})}):null}var se=(0,td.sj)({enabled:!1}),checkModalAvailability=function(){var e=ta.M.at(-1),t=!1,n=!0,r=!1,a=void 0;try{for(var o,i=t_.Af.value[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var s=o.value;if(s.endsWith("*")&&(null==e?void 0:e.reactType.startsWith(s.slice(0,-1)))){t=!0;break}}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}se.enabled=!!e&&!t_.w.some(function(t){return e.reactType.startsWith(t)})&&!t_.Af.value.includes(e.reactType)&&!t};function NoModalFoundProvider(){var e,t=(0,tb.R)(se).enabled,n=null==(e=(0,tb.R)(ta.M).at(-1))?void 0:e.reactType;return!t||t_.Af.value.includes(n)?null:(0,ty.jsx)(nn.Z,{title:"Error: Modal (route) ".concat(n," is is unavailable or doesn't exist"),style:{zIndex:-1},backdrop:!1,children:(0,ty.jsx)(rl.Z,{style:{marginTop:30},onClick:function(){(0,ta.kJ)()},children:"Back"})})}function SignInMessage(e){var t=e.code,n=e.loginLink,r=void 0===n?"https://aka.ms/devicelogin":n,a=e.connectingServer,o=void 0===a?"mc.example.comsdlfjsklfjsfjdskfjsj":a,i=e.expiresEnd,s=void 0===i?Date.now()+3e5:i,l=e.setSaveToken,c=void 0===l?function(){}:l,u=e.defaultSaveToken,d=e.onCancel,w=e.directLink,p=void 0===w?"https://aka.ms/devicelogin":w;o.length>30&&(o=o.slice(0,30)+"...");var h=(0,eO._)((0,ne.useState)(""),2),M=h[0],g=h[1];return(0,rc.mk)(function(e){(0,e.interval)(1e3,function(){var e=Math.max(0,Math.ceil((s-Date.now())/1e3)),t=Math.floor(e/60);g("".concat(t,":").concat((e%60).toString().padStart(2,"0"))),e<=0&&g("Code expired!")})},[]),(0,ty.jsxs)(nn.Z,{title:"Microsoft Account Authentication",titleMarginTop:5,children:[(0,ty.jsxs)("div",{style:{background:"white",padding:"20px 18px",width:300,maxHeight:240,color:"black"},children:[(0,ty.jsx)("div",{style:{fontSize:18,padding:"5px 10px",paddingBottom:1,backgroundColor:"lightgray",textAlign:"center",marginTop:-5,userSelect:"all"},children:void 0===t?"ABCD-EFGH-IJKL-MNOP":t}),(0,ty.jsxs)("div",{style:{display:"flex",justifyContent:"center",fontSize:12}
1,children:["Waiting... ",(0,ty.jsx)(tL.Z,{iconName:"clock"})," ",M]}),(0,ty.jsxs)("div",{style:{fontSize:12,marginTop:10},children:["To join a Minecraft server ",o," using your Microsoft account, you need to visit"," ",(0,ty.jsx)("a",{href:p,style:{color:"black",textDecoration:"underline",fontWeight:600},target:"_blank",children:"Direct Link"})," "," or "," ",(0,ty.jsx)("a",{href:r,style:{color:"black",textDecoration:"underline",fontWeight:600},target:"_blank",children:r.replace(/(https?:\/\/)?(www\.)?/,"")})," ","and enter the code above."]}),(0,ty.jsxs)("div",{style:{fontSize:11,marginTop:5,color:"gray",display:"flex",gap:2},children:[(0,ty.jsxs)("div",{children:[(0,ty.jsx)(tL.Z,{iconName:tL.K.alert,styles:{display:"inline-block"}}),"Join only ",(0,ty.jsx)("b",{children:"vanilla servers"}),"! This client is detectable and may result in a ban by anti-cheat plugins."]}),(0,ty.jsx)(rI.tv,{size:40,value:p,style:{display:"block",flexShrink:0},color:"gray"})]}),c&&(0,ty.jsxs)("label",{style:{fontSize:12,display:"flex",alignItems:"center",gap:5,marginTop:4},children:[(0,ty.jsx)("input",{type:"checkbox",defaultChecked:void 0===u||u,onChange:function(e){return c(e.target.checked)}})," ","Save account token in this browser"]})]}),(0,ty.jsx)(rl.Z,{style:{marginTop:-5},onClick:void 0===d?function(){}:d,children:"Cancel"})]})}(0,td.Ld)(ta.M,function(){checkModalAvailability()}),(0,td.Ld)(t_.Af,function(){checkModalAvailability()});var st=(0,td.sj)({code:"",link:"",expiresOn:0,shouldSaveToken:!0,abortController:(0,td.iH)(new AbortController)});function SignInMessageProvider(){var e,t,n=(0,tb.R)(st),r=n.code,a=n.expiresOn,o=n.link,i=n.shouldSaveToken,s=(0,t_.uM)("sign-in-test");return r||s?(0,ty.jsx)(SignInMessage,{code:r,expiresEnd:a,loginLink:o,defaultSaveToken:i,setSaveToken:function(e){st.shouldSaveToken=e},connectingServer:null!=(t=null==(e=tM.Pc.value)?void 0:e.server)?t:"",onCancel:function(){st.abortController.abort()},directLink:"http://microsoft.com/link?otc=".concat(r)}):null}let sn="data:image/webp;base64,UklGRqYnAABXRUJQVlA4WAoAAAAQAAAAngUAggMAQUxQSJYBAAABV6AokqQ2ejm5OOCbVBARASjYq7b/B7ixbbtqDvJ6EaVIVbjYt0IjMtGPZF6b+PT+Dyui/xOQTXvdbtnxEQvfd5e76LV7Uc4eJ88WWw29gCeZl7NNp8vms9vkpoi9P2X90Iv4dTk7K2fn5ex6Va/k7RiHXssfP66LWe+N//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP//iP/yYyklqWFLN2dMPVUlLGWtYe35AMFaxl4xKWabWfcpakemWHxzcklSs7Llxtqi0ZqtZJMWvZ45EKJ1sAVlA4IOolAACwAAKdASqfBYMDPpFInkulq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UfGbWw/mYB4hS/9w1JCwLzmsbJxc8E+mim57uRQgVIx7h9JRxlS4uYRJzeqci5tXuaZcoNyQylhZtkp69Fy+Tny8T+8g4KLysFJAYh9Uqx3V6RptLSQ0j5OABZl1NOgWTuqmAxs78Dt8qvFPhcfL1fqoBNoosYhAS62rMUbuTZ53oTswRgiOjAa08i7aXPltb7+WLHJZpI0bP6ULb/hjfoZQ/Bdykfhvh08WZXRng8CHBZEfaOhcdwAXJvzzHbrrgCB11m0vyYkRB593l9BowngELTdI0mFm+qWXnDp4NhZJTrpSF8QuNYmPofluBXJ6kDAvxG8Lqco4ecT2GykY78nk+86boeLgmRNf46fQn/F5cfvi/jNtr++vvyEAA==",sa={bookWrapper:"bookWrapper-TEaT2a",bookContainer:"bookContainer-ozXOuS",outSide:"outSide-tdPk6N",titleIcon:"titleIcon-FuigMg",titleContent:"titleContent-HOFf9S",insideIcon:"insideIcon-mvWhHG",insideHalfIcon:"insideHalfIcon-oGVWWK",inside:"inside-PZ2fCX",page:"page-1nUQUw",messageFormattedString:"messageFormattedString-MAym7w",textArea:"textArea-CTZEzD",controlPrev:"controlPrev-lG4k_N",controlNext:"controlNext-KXyao4",actions:"actions-Puvqtl",pageAnimation:"pageAnimation-A9GdFI",titleAnimation:"titleAnimation-DE4b6h",titleContentAnimation:"titleContentAnimation-VkNFpG",insideAnimation:"insideAnimation-ztZegY",hidden:"hidden-W0KfLq",titleAnimationReverse:"titleAnimationReverse-FRokqy",titleContentAnimationReverse:"titleContentAnimationReverse-UxVYyT",insideAnimationReverse:"insideAnimationReverse-wRiH6k",pageAnimationReverse:"pageAnimationReverse-I_oYqS",pageButtonAnimationReverse:"pageButtonAnimationReverse-lx7O3V"},react_Book=function(e){var t=e.textPages,n=e.editable,r=e.onSign,a=e.onEdit,o=e.onClose,i=e.author,s=(0,eO._)((0,ne.useState)(t),2),l=s[0],c=s[1],u=(0,eO._)((0,ne.useState)(0),2),d=u[0],w=u[1],p=(0,eO._)((0,ne.useState)(window.innerWidth<972),2),h=p[0],M=p[1],g=(0,eO._)((0,ne.useState)(window.innerWidth<972?sr:sn),2),m=g[0],v=g[1],y=(0,eO._)((0,ne.useState)(0),2),A=y[0],b=y[1],_=(0,eO._)((0,ne.useState)(0),2),L=_[0],C=_[1],j=(0,eO._)((0,ne.useState)(0),2),D=j[0],x=j[1],k=(0,eO._)((0,ne.useState)(!1),2),T=k[0],N=k[1],S=(0,ne.useRef)([]),z=(0,ne.useRef)(null),q=(0,ne.useCallback)(function(){var e=window.innerWidth<972;M(e),v(e?sr:sn)},[]);(0,ne.useEffect)(function(){return q(),window.addEventListener("resize",q),function(){return window.removeEventListener("resize",q)}},[q]),(0,ne.useEffect)(function(){var e=d*(h?1:2);S.current[e]&&S.current[e].focus()},[d,h]),(0,ne.useEffect)(function(){T&&setTimeout(function(){z.current.focus()},300)},[T]);var handlePageChange=function(e){w(function(t){return Math.min(Math.max(t+e,0),Math.ceil(l.length/(h?1:2))-1)})},updatePage=function(e,t){c(function(n){var r=(0,eW._)(n);return r[e]=t,r})},handleTextChange=function(e,t){var n,r,a=e.target.value;updatePage(t,a);var o=t+1;a.length>=e.target.maxLength?(o<l.length||c(function(e){return(0,eW._)(e).concat([""])}),w(Math.floor(o/(h?1:2))),null==(n=S.current[o])||n.focus()):""===a&&t>0&&"deleteContentBackward"===e.nativeEvent.inputType&&(w(Math.floor((t-1)/(h?1:2))),null==(r=S.current[t-1])||r.focus())};(0,ne.useEffect)(function(){var e,t=d*(h?1:2);null==(e=S.current[t])||e.focus()},[d,h]);var handlePaste=function(e,t){var n=e.clipboardData.getData("text"),r=(0,eW._)(l),a=r[t],o=e.currentTarget.selectionStart||0,i=e.currentTarget.selectionEnd||0,s=a.slice(0,o)+n+a.slice(i);if(r[t]=s,c(r),s.length>e.currentTarget.maxLength){var u=s.slice(e.currentTarget.maxLength);r[t]=s.slice(0,e.currentTarget.maxLength),c(r);var d=t+1;d<l.length?handlePasteRemainingText(u,d):(c(function(e){return(0,eW._)(e).concat([u])}),w(Math.floor(d/(h?1:2))),focusOnTextArea(d))}},handlePasteRemainingText=function(e,t){var n=(0,eW._)(l);n[t]=e,c(n),focusOnTextArea(t)},focusOnTextArea=function(e){setTimeout(function(){var t;
1null==(t=S.current[e])||t.focus()},0)},E=(0,ne.useCallback)(function(){if(n&&T){var e;r(l,(null==(e=z.current)?void 0:e.value)||"")}N(!0),C(1),b(1),setTimeout(function(){x(1)},150)},[l,r,n,T]),I=(0,ne.useCallback)(function(){N(!1),a(l)},[l,a]),P=(0,ne.useCallback)(function(){T?(N(!1),x(2),setTimeout(function(){b(2),setTimeout(function(){C(2)},150)},150)):o()},[T,o]),getAnimationClass=function(e,t){switch(e){case 1:return"".concat(t," ").concat(sa.pageAnimation);case 2:return"".concat(t," ").concat(sa.pageAnimationReverse);default:return t}},renderPage=function(e){return(0,ty.jsx)("div",{className:sa.page,children:n?(0,ty.jsx)("textarea",{onContextMenu:function(e){e.stopPropagation()},ref:function(t){S.current[e]=t},value:l[e],onChange:function(t){return handleTextChange(t,e)},onPaste:function(t){return handlePaste(t,e)},className:getAnimationClass(L,sa.textArea),maxLength:500}):(0,ty.jsx)("div",{className:getAnimationClass(L,""),children:(0,ty.jsx)(ng.Z,{message:l[e],fallbackColor:"black",className:sa.messageFormattedString})})},e)};return(0,ty.jsxs)("div",{className:sa.bookWrapper,children:[(0,ty.jsxs)("div",{className:sa.bookContainer,children:[(0,ty.jsx)("img",{src:m,className:"".concat(sa.insideIcon," ").concat(1===A?sa.insideAnimation:2===D?sa.insideAnimationReverse:""),alt:"inside Icon"}),(0,ty.jsx)("img",{src:"data:image/webp;base64,UklGRu4TAABXRUJQVlA4WAoAAAAQAAAAxQIAggMAQUxQSMMAAAABJ0CYbbS9hnf+MscREYFvcNRIkiMllHUA9vjzu/eaXkVE/yegf7fLemLYLuxxYdku7UHhV+flVbVsF/eosF3fgwL/8z//8z//8z//8z//8z//8z//8z//8z//8z//8z//8z//8z//8z//8z//8z//8z//8z//8z//8z//8z//8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v7hx7BasH7O4cxT566vLhQgi3DIh5XSg5GE3fqPXk1zUVRF/kOcorgAAAA==",className:"".concat(sa.insideHalfIcon," ").concat(1===L?sa.pageAnimation:2===L?sa.pageAnimationReverse:""),alt:"inside Page Icon"}),(0,ty.jsx)("img",{src:"data:image/webp;base64,UklGRjgNAABXRUJQVlA4WAoAAAAQAAAAzgIAgwMAQUxQSNQAAAABJyAQSM5feZCIiDAct20kSYVBhTABze46/6T2fM5RC0b0fwLq5ZZ9uuv7KWH9Ijt272ZJ73CP7GU5iSX5H5TMZ0mPZ0nzH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xH//xR1eNZlXLblajWb2eyrrez2dVe1bX53PD87ZL1U8nM1ZQOCA+DAAAsM0AnQEqzwKEAz6RSJ1MJaSjIiKYOKiwEglpbv//KwYgDC/pZpmown//pWvJX9Y6AELSbRK7sasegbT4UQ/gqFEP4KhRD+CoUQ/gqFEP4KhRD+CoUQ/gqFEP4KhRD+CoUQ/gqFEP4KhRD+CoUQ/gqExYms4Hcgbj+vl9K9W8dgSGUMkZWxxcVj+IS86gpE9GAd1uoAEig6QUofKdSMxwl0QmuvrjqOY4VcdRzCqXTqOY4VcQ5zEAEiKefzqAvoLdj0fqU1Pm3Kykiinew6B0DoS6BiSFAxJCgYkhQMRiTrcAE83keHCGJGTLZywFgLAWAsBYCwFgLAWAsBYCwZiOAKMY+QBFgfLiA6B0DoHQOvOMQZzEB0Dn5py7kz58DoHXnGIM5iA6m/LiDtk3Pz1OJ4eaZEFjBjcztC90YgOgdA6B0EFh8uJNz8PNMiCxgxuaLJqi5naF7oxAdA6B0DsldGGscAU9SauSpNz9JE/KAYjEB0DoHQOpuflPPYLqFs5YCwFgLAWAsBYCwFoYDoHQOgcrHAFPUmrkqDOYgOgdA6EueUAxGIDoHQOVjgCnqTVyVAdA6m5+T8n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6FojxIsa5MsobO19XcePAUi32LH8XNDd6EkuxpBeEkMJEceCPeghp1vDmmrblQpYKP8uUwoAY2Y3A8v+GtT9bnfqEdOCL5ftypryZxM0peYvEbcWiPe0NQYsGM0klPVx6ZU7xS95wefHa2+l864Ex12kMunOBTuQUkJOjC6dUK9lYNeUs9F1kGAC9bUWi6C+fhe5lLu7lXuCl3dyqodZBgDqRfUU6ZEuN7nvtjdLs5XrTD9ufwUmL9T/Coac7pjCE4XFlr3P0YpRpnC2it2VwladsPuHAX4ADUILmeaJWO49mZ6TZTpqvEoAQ/gFInELQoZuvT4rJN2LyUeHaWaLx1mhmE/TpzlQ6nj1Fps4EbK69ESt9wd36igAAAA=",className:"".concat(sa.titleIcon," ").concat(1===D?sa.titleAnimation:2===D?sa.titleAnimationReverse:""),alt:"Title Icon"}),(0,ty.jsxs)("div",{className:"".concat(sa.inside),children:[renderPage(d*(h?1:2)),!h&&2*d+1<l.length&&renderPage(2*d+1),(0,ty.jsx)(rl.Z,{className:"".concat(sa.controlPrev," ").concat(1===A?sa.hidden:2===A?sa.pageButtonAnimationReverse:""),onClick:function(){return handlePageChange(-1)},disabled:0===d,children:" "}),(0,ty.jsx)(rl.Z,{className:"".concat(sa.controlNext," ").concat(1===A?sa.hidden:2===A?sa.pageButtonAnimationReverse:""),onClick:function(){return handlePageChange(1)},disabled:(d+1)*(h?1:2)>=l.length,children:" "})]}),(0,ty.jsx)("div",{className:"".concat(sa.outSide," ").concat(1===D?sa.titleContentAnimation:2===D?sa.titleContentAnimationReverse:""),children:n?(0,ty.jsxs)("div",{className:"".concat(sa.titleContent),children:[(0,ty.jsx)(ng.Z,{message:"Enter Book Title: "}),(0,ty.jsxs)("form",{onSubmit:function(e){e.preventDefault(),E()},children:[(0,ty.jsx)("input",{ref:z,className:""}),(0,ty.jsx)("button",{type:"submit",style:{visibility:"hidden",height:0,width:0}})]}),(0,ty.jsx)(ng.Z,{message:"by ".concat(i)}),(0,ty.jsx)("br",{}),(0,ty.jsx)(ng.Z,{message:"Note! When you sign the book, it will no longer be editable."})]}):(0,ty.jsxs)("div",{className:"".concat(sa.titleContent),children:[(0,ty.jsx)(ng.Z,{message:"Book Name Here"}),(0,ty.jsx)("br",{}),(0,ty.jsx)(ng.Z,{message:"by: Author"})]})})]}),(0,ty.jsxs)("div",{className:sa.actions,children:[n&&(0,ty.jsx)(rl.Z,{onClick:E,children:T?"Sign and Save":"Sign"}),n&&!T&&(0,ty.jsx)(rl.Z,{onClick:E,children:"Sign"}),n&&!T&&(0,ty.jsx)(rl.Z,{onClick:I,children:"Edit"}),(0,ty.jsx)(rl.Z,{onClick:P,children:T?"Cancel":"Close"})]})]})};function BookProvider(){var e=(0,t_.uM)("book"),t=(0,eO._)((0,ne.useState)(null),2),n=t[0],r=t[1],signEditBook=function(e,t){if((0,e6.Uo)(bot.ver
1sion)<(0,e6.Uo)("1.17.2")){void 0===t?bot.writeBook(bot.inventory.hotbarStart+bot.quickBarSlot,e):bot.signBook(bot.inventory.hotbarStart+bot.quickBarSlot,e,t,bot.username),(0,ta.kJ)();return}var n=bot.quickBarSlot;void 0===t?bot._client.write("edit_book",{hand:n,pages:e}):bot._client.write("edit_book",{hand:n,pages:e,title:t}),(0,ta.kJ)()};return((0,ne.useEffect)(function(){var openBookWithNbt=function(){(null==(e=ta.M.at(-1))?void 0:e.reactType)==="book"&&(0,ta.kJ)();var e,t,n,a=bot.inventory.slots[bot.inventory.hotbarStart+bot.quickBarSlot];if(null==a?void 0:a.nbt){var o=oO().simplify(a.nbt);o.pages&&(r({pages:o.pages.map(function(e){var t;return"written_book"!==a.name?e:null!=(t=oP().simplify(oP().parse(e)).text)?t:e}),title:null!=(t=o.title)?t:"",author:null!=(n=o.author)?n:"",isEditable:"writable_book"===a.name}),(0,ta.K4)({reactType:"book"}))}};customEvents.on("activateItem",function(e){if("writable_book"===e.name){var t;(null==(t=e.nbt)?void 0:t.value.pages)?openBookWithNbt():(r({pages:[],title:"",author:"",isEditable:!0}),(0,ta.K4)({reactType:"book"}))}}),bot._client.on("open_book",openBookWithNbt)},[]),(0,ne.useEffect)(function(){e||r(null)},[e]),n)?(0,ty.jsx)(react_Book,{textPages:n.pages,editable:n.isEditable,onSign:function(e,t){return signEditBook(e,t)},onEdit:function(e){return signEditBook(e,void 0)},onClose:function(){(0,ta.kJ)()},author:bot.username}):null}var so=["pink","blue","red","green","yellow","purple","white"],si=[0,6,10,12,20];let ss=(0,ru.K)(function(e){var t=e.bar,n=(0,eO._)((0,ne.useState)({}),2),r=n[0],a=n[1],o=(0,eO._)((0,ne.useState)({}),2),i=o[0],s=o[1],l=(0,eO._)((0,ne.useState)({}),2),c=l[0],u=l[1],d=(0,eO._)((0,ne.useState)({}),2),w=d[0],p=d[1],h=(0,eO._)((0,ne.useState)({}),2),M=h[0],g=h[1];return(0,ne.useEffect)(function(){var e;a(null!=(e=t._title)?e:t.title),s(function(e){return(0,eP._)((0,eI._)({},e),{backgroundPositionY:"-".concat(10*so.indexOf(t._color),"px")})}),u(function(e){return(0,eP._)((0,eI._)({},e),{width:"".concat(100*t._health,"%"),backgroundPositionY:"-".concat(10*so.indexOf(t._color)+5,"px")})}),p(function(e){return(0,eP._)((0,eI._)({},e),{backgroundPositionY:"-".concat(10*si.indexOf(t._dividers)+70,"px")})}),g(function(e){return(0,eP._)((0,eI._)({},e),{width:"".concat(100*t._health,"%"),backgroundPositionY:"-".concat(10*si.indexOf(t._dividers)+75,"px")})})},[t]),(0,ty.jsxs)("div",{className:"bossbar-container",children:[(0,ty.jsx)("div",{className:"bossbar-title",children:(0,ty.jsx)(ng.Z,{message:r})}),(0,ty.jsxs)("div",{className:"bossbar",style:i,children:[(0,ty.jsx)("div",{className:"fill",style:c}),(0,ty.jsx)("div",{className:"fill",style:w}),(0,ty.jsx)("div",{className:"fill",style:M})]})]})},"bossBarOverlay");function BossBarOverlayProvider(){var e=(0,tb.R)(ta.N_).currentTouch,t=(0,eO._)((0,ne.useState)(new Map),2),n=t[0],r=t[1],addBossBar=function(e){r(function(t){return new Map(t.set(e.entityUUID,(0,eP._)((0,eI._)({},e),{lastUpdated:Date.now()})))})},removeBossBar=function(e){r(function(t){var n=new Map(t);return n.delete(e.entityUUID),n})};return(0,ne.useEffect)(function(){bot.on("bossBarCreated",function(e){addBossBar(e)}),bot.on("bossBarUpdated",function(e){e&&addBossBar(e)}),bot.on("bossBarDeleted",function(e){e&&removeBossBar(e)})},[]),(0,ty.jsx)("div",{className:"bossBars ".concat(e?"mobile":""),id:"bossBars",children:(0,eW._)(n.values()).map(function(e){return(0,ty.jsx)(ss,{bar:e},"".concat(e.entityUUID,"-").concat(e.lastUpdated))})})}function VoiceChatConsentProvider(){return(0,t_.uM)("voice-chat-consent")?(0,ty.jsx)(nn.Z,{title:"Voice Chat",backdrop:!0,children:(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:8,maxWidth:320,fontSize:10,textAlign:"center"},children:[(0,ty.jsx)("div",{children:"This server offers proximity voice chat. You will hear nearby players, and they will hear you."}),(0,ty.jsx)("div",{style:{color:"#ffcc00"},children:"Voice chat is not moderated. You may hear anything other players say."}),(0,ty.jsxs)("div",{style:{color:"#aaa"},children:["Hold ",(0,ty.jsx)("b",{children:"`"})," to talk. You can mute individual players at any time from the voice menu (V)."]}),(0,ty.jsxs)("div",{style:{display:"flex",gap:8,justifyContent:"center",marginTop:8},children:[(0,ty.jsx)(rl.Z,{label:"Enable",onClick:function(){enableVoice(),(0,ta.VG)()}}),(0,ty.jsx)(rl.Z,{label:"No thanks",onClick:function(){return declineVoice()}})]})]})}):null}var PlayerRow=function(e){var t,n=e.identity,r=e.username,a=e.compact,o=null!=(t=(0,tb.R)(tr.YM).voicePlayerSettings[n])?t:{volume:1,muted:!1},i=(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)(rl.Z,{label:o.muted?"Unmute":"Mute",style:{width:60},onClick:function(){return setPlayerVoiceSettings(n,{muted:!o.muted})}}),(0,ty.jsx)(rH,{label:"",width:a?130:90,min:0,max:100,value:Math.round(100*o.volume),disabledReason:o.muted?"muted":void 0,updateV
1alue:function(e){return setPlayerVoiceSettings(n,{volume:e/100})}})]});return a?(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:4,fontSize:10},children:[(0,ty.jsx)("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:r}),(0,ty.jsx)("div",{style:{display:"flex",alignItems:"center",gap:6},children:i})]}):(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6,fontSize:10},children:[(0,ty.jsx)("span",{style:{width:90,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:r}),i]})};function VoiceChatMenuProvider(){var e=(0,t_.uM)("voice-chat-menu"),t=(0,tb.R)(tq),n=(0,tb.R)(tr.YM),r=n.voiceMasterVolume,a=n.voiceInputDeviceId,o=(0,tb.R)(tC),i=o.isConnected,s=o.isErrored,l=(0,eO._)((0,ne.useState)([]),2),c=l[0],u=l[1],d=useIsSmallWidth();return((0,ne.useEffect)(function(){var t;e&&(null==(t=navigator.mediaDevices)||t.enumerateDevices().then(function(e){u(e.filter(function(e){return"audioinput"===e.kind}))}))},[e]),e)?(0,ty.jsx)(nn.Z,{title:"Voice Chat",backdrop:!0,children:(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:10,width:d?220:300,fontSize:10},children:[s&&(0,ty.jsx)("div",{style:{color:"#ff5555",textAlign:"center"},children:"Voice chat failed to connect. Check the notification for details."}),!s&&!i&&(0,ty.jsx)("div",{style:{color:"#ffcc00",textAlign:"center"},children:"Connecting…"}),(0,ty.jsxs)("div",{children:[(0,ty.jsxs)("div",{style:{marginBottom:4,color:"#aaa"},children:["Nearby players (",t.length,")"]}),(0,ty.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:6,maxHeight:160,overflowY:"auto"},children:0===t.length?(0,ty.jsx)("div",{style:{color:"#777"},children:"No one in range"}):t.map(function(e){return(0,ty.jsx)(PlayerRow,{identity:e.identity,username:e.username,compact:d},e.identity)})})]}),(0,ty.jsxs)("div",{children:[(0,ty.jsx)("div",{style:{marginBottom:4,color:"#aaa"},children:"Your settings"}),(0,ty.jsx)(rH,{label:"Master volume",min:0,max:100,value:Math.round(100*r),updateValue:function(e){return setMasterVolume(e/100)}}),(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:d?"column":"row",alignItems:d?"stretch":"center",gap:d?2:6,marginTop:6},children:[(0,ty.jsx)("span",{style:d?void 0:{width:60},children:"Microphone"}),(0,ty.jsxs)("select",{value:a,style:{flex:1,fontSize:10,minWidth:0},onChange:function(e){tW(e.target.value)},children:[(0,ty.jsx)("option",{value:"",children:"Default"}),c.map(function(e){return(0,ty.jsx)("option",{value:e.deviceId,children:e.label||"Microphone ".concat(e.deviceId.slice(0,6))},e.deviceId)})]})]})]}),(0,ty.jsxs)("div",{style:{display:"flex",gap:8,justifyContent:"center"},children:[(0,ty.jsx)(rl.Z,{label:"Close",onClick:function(){return(0,ta.VG)()}}),(0,ty.jsx)(rl.Z,{label:"Leave voice",onClick:function(){leaveVoiceChat(),(0,ta.VG)()}})]})]})}):null}let sl={root:"root-FJmcB2",header:"header-Ix2S76",statsRow:"statsRow-shytw2",searchBar:"searchBar-Cmb3Xu",content:"content-hDiNMy",verticalContent:"verticalContent-XZ5gwH",modList:"modList-ADWwNJ",sidebar:"sidebar-UQ__eQ",modInfo:"modInfo-S_rGad",modInfoTitle:"modInfoTitle-UEbS6D",modInfoText:"modInfoText-Ir1Jnc",modActions:"modActions-nnN4Dq",modRow:"modRow-uBWc0w",modRowTitle:"modRowTitle-wMBzQF",modRowInfo:"modRowInfo-o12SaU",repoHeader:"repoHeader-JeRvxn",repoContent:"repoContent-SI7GNl",modErrorList:"modErrorList-eFLdFJ",fieldEditorTextarea:"fieldEditorTextarea-RKqvDd"};var ModListItem=function(e){var t=e.mod,n=e.onClick,r=e.hasError;return(0,ty.jsxs)("div",{className:sl.modRow,onClick:n,"data-enabled":t.installed?"":t.activated,"data-has-error":r,children:[(0,ty.jsxs)("div",{className:sl.modRowTitle,children:[t.name,t.installedVersion&&t.installedVersion!==t.version&&(0,ty.jsx)(tL.Z,{iconName:tL.K["arrow-up-box"],styles:{fontSize:14,marginLeft:3}})]}),(0,ty.jsxs)("div",{className:sl.modRowInfo,children:[t.description,t.author&&" • By ".concat(t.author),t.version&&" • v".concat(t.version),t.serverPlugin&&" • World plugin"]})]})},ModSidebar=function(e){var t,n,r,a,o,i,s,l=e.mod,c=(0,tb.R)(ai),u=(0,eO._)((0,ne.useState)(null),2),d=u[0],w=u[1],p=(t=(0,eE._)(function(e,t,n){var r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,e()];case 1:return a.sent(),null==n||n.end(),[3,3];case 2:return console.error(r=a.sent()),null==n||n.end(),(0,tv.c0)(t,r.message,!0),[3,3];case 3:return[2]}})}),function(e,n,r){return t.apply(this,arguments)});if(!l)return(0,ty.jsx)("div",{className:sl.modInfoText,children:"Select a mod to view details"});var h=l.installed?(n=l.installed,getAllModsModifiableFields().filter(function(e){return n[e.field]})):[],M=(r=(0,eE._)(function(e){var t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:if(!d)return[2];n.label=1;case 1:return n.trys.push([1,3,,4]),l[d.name]=e,l.wasModifiedLocally=!0,[4,saveClientModD
1ata(l)];case 2:return n.sent(),w(null),(0,tv.c0)("Success","Contents saved successfully"),[3,4];case 3:return t=n.sent(),(0,tv.c0)("Error","Failed to save contents: "+t.message,!0),[3,4];case 4:return[2]}})}),function(e){return r.apply(this,arguments)});return d?(0,ty.jsx)(EditingCodeWindow,{contents:d.content,language:d.language,onClose:function(e){if(void 0===e)return void w(null);M(e)}}):(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsxs)("div",{className:sl.modInfo,children:[(0,ty.jsxs)("div",{className:sl.modInfoTitle,children:[l.name," ",(null==(o=l.installed)?void 0:o.wasModifiedLocally)?"(modified)":""]}),(0,ty.jsx)("div",{className:sl.modInfoText,children:l.description}),(0,ty.jsxs)("div",{className:sl.modInfoText,children:[l.author&&"Author: ".concat(l.author,"\n"),l.version&&"Version: ".concat(l.version,"\n"),l.installedVersion&&l.installedVersion!==l.version&&"Installed version: ".concat(l.installedVersion,"\n"),l.section&&"Section: ".concat(l.section,"\n")]}),(null==(i=c[l.name])?void 0:i.length)>0&&(0,ty.jsx)("div",{className:sl.modErrorList,children:(0,ty.jsx)("ul",{children:c[l.name].map(function(e,t){return(0,ty.jsx)("li",{children:e},t)})})})]}),(0,ty.jsxs)("div",{className:sl.modActions,children:[l.installed?(0,ty.jsxs)(ty.Fragment,{children:[l.activated?(0,ty.jsx)(rl.Z,{onClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,p((0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,ag(l.name,!1)]})}),"Failed to disable mod:")]})}),icon:tL.K["remove-box"],title:"Disable"}):(0,ty.jsx)(rl.Z,{onClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,p((0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,ag(l.name,!0)]})}),"Failed to enable mod:")]})}),icon:tL.K["add-box"],title:"Enable",disabled:!l.canBeActivated}),(0,ty.jsx)(rl.Z,{onClick:(0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,p((0,eE._)(function(){return(0,eB.Jh)(this,function(e){return[2,aM(l.name)]})}),"Failed to uninstall mod:")]})}),icon:tL.K.trash,title:"Delete"}),l.installedVersion&&l.installedVersion!==l.version&&(0,ty.jsx)(rl.Z,{onClick:(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if(!l.repo)return[2];return e=(0,nh.gO)("".concat(l.name," updated and activated")),[4,p((0,eE._)(function(){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,ah(l.repo,l.name,e)];case 1:return t.sent(),[2]}})}),"Failed to update mod:",e)];case 1:return t.sent(),[2]}})}),icon:tL.K["arrow-up-box"],title:"Update"}),l.serverPlugin&&(0,ty.jsx)(rl.Z,{onClick:(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){return(e=new URL(window.location.href)).searchParams.set("sp","1"),e.searchParams.set("serverPlugin",l.name),(0,nB.pz)(e.toString()),[2]})}),icon:tL.K.play,title:"Try in blank world"})]}):(0,ty.jsx)(rl.Z,{onClick:(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if(!l.repo)return[2];return e=(0,nh.gO)("".concat(l.name," installed and enabled")),[4,p((0,eE._)(function(){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,ah(l.repo,l.name,e)];case 1:return t.sent(),[2]}})}),"Failed to install & activate mod:",e)];case 1:return t.sent(),[2]}})}),icon:tL.K.download,title:"Install"}),h.length>0&&(0,ty.jsx)(rl.Z,{onClick:(a=(0,eE._)(function(e){var t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return t=e.shiftKey?getAllModsModifiableFields():h,[4,(0,t7.Pl)("Edit Mod Field",Object.fromEntries(t.map(function(e){return[e.field,{type:"button",label:e.label,onButtonClick:function(){var t;w({name:e.field,content:(null==(t=e.getContent)?void 0:t.call(e))||l.installed[e.field]||"",language:e.language})}}]})),{showConfirm:!1})];case 1:return n.sent(),[2]}})}),function(e){return a.apply(this,arguments)}),icon:tL.K.edit,title:"Edit Mod"})]}),(null==(s=window.loadedMods)?void 0:s[l.name])&&l.actionsMain&&(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:3},children:["Actions:",Object.entries(l.actionsMain).map(function(e){var t=(0,eO._)(e,2),n=t[0];return t[1],(0,ty.jsx)("div",{onClick:function(){aC(l.name,"main",n)},children:n},n)})]})]})},EditingCodeWindow=function(e){var t=e.contents,n=(e.language,e.onClose),r=(0,ne.useRef)(null);return(0,ne.useEffect)(function(){var handleKeyDown=function(e){"Escape"===e.key&&(e.preventDefault(),e.stopImmediatePropagation())};return window.addEventListener("keydown",handleKeyDown,{capture:!0}),function(){return window.removeEventListener("keydown",handleKeyDown,{capture:!0})}},[]),(0,ty.jsx)(nn.Z,{title:"Editing code",children:(0,ty.jsxs)("div",{className:"",children:[(0,ty.jsx)("textarea",{ref:r,className:sl.fieldEditorTextarea,defaultValue:t}),(0,ty.jsx)(rl.Z,{style:{position:"absolute",bottom:10,left:10,backgroundColor:"red"},onClick:function(){return n(void 0)},icon:tL.K.close,title:"Cancel"}),(0,ty.jsx)(rl.Z,{style:{position:"absolute",bottom:10,right:10,backgroundColor:"#4CAF50"},onClick:function(){var e;return n(null==(e=r.current)?void 0:e.value)},icon:tL.K.check,title:"Save"})]})})};function ModsPage(){var e,t=(0,t_.uM)("mods",!0),n=(0,eO._)((0,ne.useState)(null),2),r=n[0],a=n[1],o=(0,eO._)((0,ne.useState)(""),2),i=o[0],s=o[1],l=(0,eO._)((0,ne.useState)(!1),2),c=l[0],u=l[1],d=(0,eO._)((0,ne.useState)(!1),2),w=d[0],p=d[1],h=(0,eO._)((0,ne.useState)(null),2),M=h[0],g=h[1],m=(0,eO._)((0,ne.useState)({}),2),v=m[0],y=m[1],A=usePassesScaledDimensions(400),b=(0,tb.R)(am).counter,_=(0,tb.R)(ai),L=(0,ne.useMemo)(function(){return r?(0,eW._)(r.repos.flatMap(function(e){return e.packages.map(function(t){return(0,eP._)((0,eI._)({},t),{repo:e.url})})})).concat((0,eW._)(r.modsWithoutRepos)):[]},[r]);if((0,ne.useEffect)(function(){if(t){if(t2.e1.firstModsPageVisit){t2.e1.firstModsPageVisit=!1;var e="zardoy/mcraft-client-mods";ad(e,e)}av().then(function(e){a(e),null!==M&&M<L.length&&g(M)})}},[t,b]),!t)return null;var toggleRepo=function(e){y(function(t){return(0,eP._)((0,eI._)({},t),(0,tg._)({},e,!t[e]))})},modFilter=function(e){var t,n=e.name.toLowerCase().includes(i.toLowerCase())||(null==(t=e.description)?void 0:t.toLowerCase().includes(i.toLowerCase())),r=!c||e.installed,a=!w||e.activated;return n&&r&&a},C=r?{repos:r.repos.map(function(e){return(0,eP._)((0,eI._)({},e),{packages:e.packages.filter(modFilter)})}),modsWithoutRepos:r.modsWithoutRepos.filter(modFilter)}:null,j=C?C.repos.reduce(function(e,t){return e+t.packages.length},0)+C.modsWithoutRepos.length:0,D=null!=(e=null==r?void 0:r.repos.length)?e:0,x=null===M?null:L[M];return(0,ty.jsxs)(nn.Z,{backdrop:"dirt",title:"Client Mods (Preview)",titleMarginTop:0,contentStyle:{paddingTop:15,height:"100%",width:"100%"},children:[(0,ty.jsx)(rl.Z,{icon:tL.K.close,onClick:function(){(0,ta.VG)()},style:{color:"#ff5d5d",position:"fixed",top:10,left:20}}),(0,ty.jsxs)("div",{className:sl.root,children:[(0,ty.jsxs)("div",{className:sl.header,children:[(0,ty.jsx)(rl.Z,{style:{},icon:tL.K.sliders,onClick:function(){w?p(!1):c?(u(!1),p(!0)):u(!0)},title:w?"Show all mods":c?"Show enabled mods":"Show installed mods"}),(0,ty.jsx)(rl.Z,{onClick:(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return e="Refresh repositories",[4,(0,t7.un)("Manage repositories (".concat(null!=(t=null==r?void 0:r.repos.length)?t:"-"," repos)"),["Add repository","Remove repository",e])];case 1:switch(n.sent()){case"Add repository":return[3,2];case"Remove repository":return[3,4];case e:return[3,6];case void 0:return[3,8]}return[3,9];case 2:return[4,ab()];case 3:case 5:case 7:return n.sent(),[3,9];case 4:return[4,aA()];case 6:return[4,af()];case 8:return[3,9];case 9:return[2]}})}),icon:tL.K["list-box"],title:"Manage repositories"}),(0,ty.jsx)(rs.ZP,{className:sl.searchBar,value:i,onChange:function(e){return s(e.target.value)}
1,placeholder:"Search mods in added repositories...",autoFocus:!0})]}),(0,ty.jsx)("div",{className:sl.statsRow,children:C?w?"Showing ".concat(C.repos.reduce(function(e,t){return e+t.packages.filter(function(e){return e.activated}).length},0)," enabled mods in ").concat(D," repos"):c?"Showing ".concat(C.repos.reduce(function(e,t){return e+t.packages.filter(function(e){return e.installed}).length},0)," installed mods in ").concat(D," repos"):"Showing all ".concat(D," repos with ").concat(j," mods"):"Loading..."}),(0,ty.jsxs)("div",{className:"".concat(sl.content," ").concat(A?"":sl.verticalContent),children:[(0,ty.jsx)("div",{className:sl.modList,children:C?(0,ty.jsxs)(ty.Fragment,{children:[C.repos.map(function(e){return(0,ty.jsxs)("div",{children:[(0,ty.jsxs)("div",{className:sl.repoHeader,onClick:function(){return toggleRepo(e.url)},children:[(0,ty.jsx)("span",{children:v[e.url]?"▼":"▶"}),(0,ty.jsx)("span",{children:e.name||e.url}),(0,ty.jsxs)("span",{children:["(",e.packages.length,")"]})]}),v[e.url]&&(0,ty.jsx)("div",{className:sl.repoContent,children:e.packages.map(function(e){var t;return(0,ty.jsx)(ModListItem,{mod:e,onClick:function(){return g(L.findIndex(function(t){return t.name===e.name}))},hasError:(null==(t=_[e.name])?void 0:t.length)>0},e.name)})})]},e.url)}),C.modsWithoutRepos.length>0&&(0,ty.jsxs)("div",{children:[(0,ty.jsxs)("div",{className:sl.repoHeader,children:[(0,ty.jsx)("span",{children:"▼"}),(0,ty.jsx)("span",{children:"Other Mods"}),(0,ty.jsxs)("span",{children:["(",C.modsWithoutRepos.length,")"]})]}),(0,ty.jsx)("div",{className:sl.repoContent,children:C.modsWithoutRepos.map(function(e){var t;return(0,ty.jsx)(ModListItem,{mod:e,onClick:function(){return g(L.findIndex(function(t){return t.name===e.name}))},hasError:(null==(t=_[e.name])?void 0:t.length)>0},e.name)})})]})]}):(0,ty.jsx)("div",{className:sl.modRowInfo,children:"Loading mods..."})}),(0,ty.jsx)("div",{className:sl.sidebar,children:(0,ty.jsx)(ModSidebar,{mod:x})})]})]})]})}function DebugEdges(){var e=(0,eO._)((0,ne.useState)(0),2),t=e[0],n=e[1];if(!useIsHashActive("#edges"))return null;var r={display:"flex",fontSize:18,zIndex:1e4,background:"rgba(0, 0, 255, 0.5)",border:"2px solid red",whiteSpace:"pre"},a="";return 0===t&&(r.position="fixed",r.inset=0,r.height="100%",a="inset 0 fixed 100% height"),1===t&&(r.position="fixed",r.inset=0,a="inset 0 fixed"),2===t&&(r.position="absolute",r.inset=0,a="inset 0 absolute"),3===t&&(r.position="fixed",r.top=0,r.left=0,r.right=0,r.height="100dvh",a="top 0 fixed 100dvh"),4===t&&(r.position="fixed",r.top=0,r.left=0,r.right=0,r.height="100dvh",a="top 0 bottom 0 fixed 100dvh"),(0,ty.jsxs)("div",{style:r,onClick:function(){n((t+1)%5)},children:[t,": ",a,"\n","inner: ",window.innerWidth,"x",window.innerHeight,"\n","outer: ",window.outerWidth,"x",window.outerHeight,"\n"]})}var sc=n(8069);function GameInteractionOverlayInner(e){var t=e.zIndex,n=e.setJoystickOrigin,r=e.updateJoystick,a=(0,ne.useRef)(null);return(0,rc.mk)(function(e){var t,o,i=e.signal;if(a.current){var s=a.current,l=!1,c=0,u={active:null},pointerUpHandler=function(e){var t,r;if(void 0!==e.pointerId){if(e.pointerId===(null==(t=iJ.pointer)?void 0:t.pointerId))return void n(null);if(e.pointerId===(null==(r=u.active)?void 0:r.id)){if(clearTimeout(o),o=void 0,l){var a,i,s=null==(i=bot)||null==(a=i.heldItem)?void 0:a.name,d=s&&(0,sc.isItemActivatableMobile)(s,loadedData);document.dispatchEvent(new MouseEvent("mouseup",{button:2*!!d})),l=!1}else if(!u.active.activateCameraMove&&Date.now()-u.active.time<500){var w,p,h=null==(p=bot)||null==(w=p.heldItem)?void 0:w.name,M=h&&(0,sc.isItemActivatableMobile)(h,loadedData),g=!!bot.mouse.getCursorState().entity||!!videoCursorInteraction(),m=!g&&M?2:2*!g;document.dispatchEvent(new MouseEvent("mousedown",{button:m})),bot.mouse.update(),document.dispatchEvent(new MouseEvent("mouseup",{button:m}))}c>0&&c--,u.active=null}}};s.addEventListener("pointerdown",function(e){var t,r=e.composedPath()[0];if((0,ta.z7)(!0)&&r===s&&void 0!==e.pointerId){null==(t=(0,tt.z)())||t.onPageInteraction(),++c;var a=(0,nF._i)(e),i=a.clientX,d=a.clientY,w=a.sizeX;if("modern"===tr.YM.touchMovementType&&!iJ.pointer&&i<w/2){s.setPointerCapture(e.pointerId),n({pointerId:e.pointerId,clientX:i,clientY:d});return}u.active||(s.setPointerCapture(e.pointerId),u.active={id:e.pointerId,x:i,y:d,sourceX:i,sourceY:d,activateCameraMove:!1,time:Date.now()},"classic"===tr.YM.touchInteractionType&&(null!=o||(o=setTimeout(function(){l=!0;var e,t,n=null==(t=bot)||null==(e=t.heldItem)?void 0:e.name,r=n&&(0,sc.isItemActivatableMobile)(n,loadedData);document.dispatchEvent(new MouseEvent("mousedown",{button:2*!!r}))},500))))}},{signal:i}),s.addEventListener("pointermove",function(e){if(void 0!==e.pointerId){var t,n,a,i=(null==(t=window.visualVie
1wport)?void 0:t.scale)||1,s=void 0!==e.pressure&&0!==e.pressure&&.5!==e.pressure&&1!==e.pressure&&("touch"===e.pointerType||"pen"===e.pointerType),l=(0,nF._i)(e),c=l.clientX,d=l.clientY;if(e.pointerId===(null==(n=iJ.pointer)?void 0:n.pointerId)){r({clientX:c,clientY:d}),s&&e.pressure>.5&&bot.setControlState("sprint",!0);return}if(e.pointerId===(null==(a=u.active)?void 0:a.id)){e.preventDefault(),e.stopPropagation();var w=c/i,p=d/i,h=u.active.sourceX/i,M=u.active.sourceY/i,g=u.active.x/i,m=u.active.y/i,v=Math.abs(w-h)>1.1,y=Math.abs(p-M)>1.1;!u.active.activateCameraMove&&(v||y)&&(u.active.activateCameraMove=!0),u.active.activateCameraMove&&clearTimeout(o),onCameraMove({movementX:w-g,movementY:p-m,type:"touchmove",stopPropagation:function(){return e.stopPropagation()}}),u.active.x=c,u.active.y=d}}},{signal:i}),s.addEventListener("pointerup",pointerUpHandler,{signal:i}),s.addEventListener("pointercancel",pointerUpHandler,{signal:i}),s.addEventListener("lostpointercapture",pointerUpHandler,{signal:i}),s.addEventListener("contextmenu",function(e){e.preventDefault()},{signal:i}),window.addEventListener("blur",function(){bot.clearControlStates()},{signal:i});var detectAndResetZoom=function(){var e=window.visualViewport;if(e&&1!==e.scale){var t=document.querySelector("meta[name=viewport]");t&&(t.setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"),setTimeout(function(){t.setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no")},300))}};null==(t=window.visualViewport)||t.addEventListener("resize",detectAndResetZoom,{signal:i}),detectAndResetZoom(),document.addEventListener("gesturestart",function(e){return e.preventDefault()},{signal:i}),document.addEventListener("gesturechange",function(e){return e.preventDefault()},{signal:i}),document.addEventListener("gestureend",function(e){return e.preventDefault()},{signal:i}),window.debugSimulateZoom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1.1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=document.querySelector("meta[name=viewport]");r&&r.setAttribute("content","width=device-width, initial-scale=".concat(e,", user-scalable=no, viewport-fit=cover, transform-origin: ").concat(t,"px ").concat(n,"px")),setTimeout(function(){var e;null==(e=window.visualViewport)||e.dispatchEvent(new Event("resize"))},100)},window.debugResetZoom=function(){var e=document.querySelector("meta[name=viewport]");e&&e.setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"),setTimeout(function(){var e;null==(e=window.visualViewport)||e.dispatchEvent(new Event("resize"))},100)},i.addEventListener("abort",function(){n(null)})}},[n]),(0,ty.jsx)(OverlayElement,{divRef:a,zIndex:t})}var OverlayElement=function(e){var t=e.divRef,n=e.zIndex;return(0,ty.jsx)("div",{className:"game-interaction-overlay",ref:t,style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:n,touchAction:"none",userSelect:"none"}})};function GameInteractionOverlay(e){var t=e.zIndex,n=(0,tb.R)(ta.M),r=(0,tb.R)(ta.N_).currentTouch,a=(0,ne.useRef)(function(e){if(!e){handleMovementStickDelta(),iJ.pointer=null;return}iJ.pointer={pointerId:e.pointerId,x:e.clientX,y:e.clientY}}).current,o=(0,ne.useRef)(function(e){handleMovementStickDelta(e)}).current;return n.length>0||!r?null:(0,ty.jsx)(GameInteractionOverlayInner,{zIndex:t,setJoystickOrigin:a,updateJoystick:o})}(0,td.Ld)(ta.M,function(){if(0===ta.M.length)(0,tZ.Ee)()&&tZ.lt.requestPointerLock();else{var e,t;null==(e=(t=document).exitPointerLock)||e.call(t)}});var su=n(48747);function wildcardToRegExp(e){var t=e.replaceAll(/[.*+?^${}()|[\]\\]/g,"\\$&");return new RegExp("^".concat(t.replaceAll("\\*",".*"),"$"))}function patternToRegExp(e){return e.startsWith("$")?new RegExp("^".concat(e.slice(1),"$")):wildcardToRegExp("*".concat(e,"*"))}function parseFilterString(e){var t=e.split(/,\s*/),n=[],r=[],a=!0,o=!1,i=void 0;try{for(var s,l=t[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;c&&(c.startsWith("!")?r.push(patternToRegExp(c.slice(1))):n.push(patternToRegExp(c)))}}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return{include:n,exclude:r}}function filterPackets(e,t){if(!t.trim())return{filtered:e,hiddenCount:0};var n=parseFilterString(t),r=n.include,a=n.exclude,o=e.filter(function(e){return!a.some(function(t){return t.test(e.name)}
1)&&(!(r.length>0)||r.some(function(t){return t.test(e.name)}))});return{filtered:o,hiddenCount:e.length-o.length}}var sd={bg:"#1e1e1e",input:"#2d2d2d",text:"#ffffff",textDim:"#888888",client:"#144218",server:"#750200",modified:"#f57f17",border:"#333333",hover:"#404040"};function FilterInput(e){var t=e.value,n=e.onChange,r=e.hiddenCount,a=e.shownCount,o=e.onClearFilter,i=e.clientPacketsAutocomplete,s=e.serverPacketsAutocomplete,l=(0,ne.useRef)(null),c=(0,eO._)((0,ne.useState)(!1),2),u=c[0],d=c[1],w=(0,eO._)((0,ne.useState)(0),2),p=w[0],h=w[1],M=(0,eW._)(i.map(function(e){return{name:e,isClient:!0}})).concat((0,eW._)(s.map(function(e){return{name:e,isClient:!1}}))).sort(function(e,t){return e.name.localeCompare(t.name)}),g=t.split(/,\s*/).pop()||"",m=M.filter(function(e){return e.name.toLowerCase().includes(g.toLowerCase().replace(/^\$/,""))});(0,ne.useEffect)(function(){h(0)},[g]);var acceptSuggestion=function(e){var r,a=t.split(/,\s*/);a[a.length-1]=e,n(a.join(", ")),d(!1),null==(r=l.current)||r.focus()};return(0,ty.jsxs)("div",{children:[(0,ty.jsxs)("div",{style:{position:"relative"},children:[(0,ty.jsx)("input",{ref:l,type:"text",value:t,onChange:function(e){return n(e.target.value)},onFocus:function(){return d(!0)},onBlur:function(){setTimeout(function(){return d(!1)},200)},onKeyDown:function(e){if(!u){"Tab"===e.key&&(e.preventDefault(),d(!0));return}"ArrowDown"===e.key?(e.preventDefault(),h(function(e){return(e+1)%m.length})):"ArrowUp"===e.key?(e.preventDefault(),h(function(e){return(e-1+m.length)%m.length})):"Enter"===e.key&&m.length>0?(e.preventDefault(),acceptSuggestion(m[p].name)):"Escape"===e.key&&(e.preventDefault(),d(!1))},placeholder:"Filter packets (e.g. entity, $block_display, !position)",style:{width:"100%",padding:"8px",border:"1px solid ".concat(sd.border),borderRadius:"4px",background:sd.input,color:sd.text}}),u&&m.length>0&&(0,ty.jsx)("div",{style:{position:"absolute",top:"100%",left:0,right:0,backgroundColor:sd.bg,border:"1px solid ".concat(sd.border),borderRadius:"4px",marginTop:"4px",maxHeight:"200px",overflowY:"auto",zIndex:1},children:m.map(function(e,t){var n=e.name,r=e.isClient;return(0,ty.jsx)("div",{onClick:function(){return acceptSuggestion(n)},style:{padding:"4px 8px",cursor:"pointer",backgroundColor:t===p?sd.hover:sd.bg,color:r?sd.client:sd.server},children:n},n)})})]}),(0,ty.jsxs)("div",{style:{marginTop:"4px",fontSize:"12px",color:sd.textDim,display:"flex",alignItems:"center",gap:"4px"},children:[(0,ty.jsxs)("span",{children:["Showing: ",a]}),(0,ty.jsx)("span",{children:"•"}),(0,ty.jsxs)("span",{children:["Hidden: ",r]}),(0,ty.jsxs)("div",{style:{opacity:+!!t,gap:"4px",display:"flex",alignItems:"center"},children:[(0,ty.jsx)("span",{children:"•"}),(0,ty.jsx)("button",{onClick:o,style:{background:"none",border:"none",padding:0,color:sd.text,cursor:"pointer",textDecoration:"underline"},children:"clear all"})]})]})]})}var sf=n(67367),sw={position:function(e){return"x:".concat(e.x.toFixed(2)," y:").concat(e.y.toFixed(2)," z:").concat(e.z.toFixed(2))},map_chunk:function(e){var t,n,r=null==(t=e.chunkData)?void 0:t.length,a=null==(n=e.blockEntities)?void 0:n.length;return"x:".concat(e.x," z:").concat(e.z," C:").concat(r," E:").concat(a)},default:function(e){return(0,sf.processPacketDataForLogging)(e)}};function formatTimeDiff(e,t){return null===t?"":"+".concat(Math.floor((e-t)/1e3))}var sp={packetRow:{height:24,padding:"0 8px",fontSize:"12px",display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap",overflow:"hidden",cursor:"pointer",transition:"background-color 0.1s"},expandedPacket:{height:120,padding:"8px",background:sd.input,fontSize:"12px",overflow:"auto",borderBottom:"1px solid ".concat(sd.border)}};function PacketList(e){var t=e.packets,n=e.filter,r=e.maxHeight,a=(0,ne.useRef)(null),o=(0,eO._)((0,ne.useState)(null),2),i=o[0],s=o[1];(0,ob.f)(a,{messages:t,opened:!0}).scrollToBottom;var l=null;return(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsx)("style",{children:"\n          .packet-row:hover {\n            background: ".concat(sd.hover," !important;\n          }\n        ")}),(0,ty.jsx)("div",{ref:a,style:{overflowY:"auto",height:void 0===r?300:r,display:"flex",flexDirection:"column"},children:(0,ty.jsx)("div",{style:{minHeight:"100%"},children:t.map(function(e,t){var r,a,o=formatTimeDiff(e.timestamp,l);return l=e.timestamp,(0,ty.jsxs)("div",{children:[(0,ty.jsxs)("div",{className:"packet-row",onClick:function(){return s(i===e.position?null:e.position)},style:(0,eP._)((0,eI._)({},sp.packetRow),{background:e.isFromClient?sd.client:sd.server,opacity:e.isUpcoming?.5:1}),children:[(0,ty.jsx)("span",{children:e.isCustomChannel?"\uD83D\uDD17":e.name.includes("position")?"\uD83D\uDCCD":e.name.includes("chat")?"\uD83D\uDCAC":e.n
1ame.includes("block")||e.name.includes("chunk")||e.name.includes("light")?"\uD83D\uDCE6":e.name.includes("entity")||e.name.includes("player")||e.name.includes("passenger")?"\uD83C\uDFAF":"\uD83D\uDCC4"}),(0,ty.jsxs)("span",{style:{color:sd.textDim},children:["#",e.position,o&&(0,ty.jsx)("span",{style:{marginLeft:"4px"},children:o})]}),n&&(0,ty.jsxs)("span",{style:{color:sd.textDim},children:["#",t+1]}),(0,ty.jsx)("span",{style:{color:e.actualVersion?sd.modified:sd.text,fontWeight:"bold"},children:e.name}),(0,ty.jsx)("span",{style:{color:sd.textDim,flex:1,overflow:"hidden",textOverflow:"ellipsis"},children:null!=(a=null==(r=sw[e.name])?void 0:r.call(sw,e.data))?a:sw.default(e.data)})]}),i===e.position&&(0,ty.jsxs)("div",{style:sp.expandedPacket,children:[(0,ty.jsxs)("div",{style:{marginBottom:"8px"},children:[(0,ty.jsx)("strong",{children:"Data:"}),(0,ty.jsx)("pre",{style:{margin:"4px 0",color:sd.textDim},children:JSON.stringify(JSON.parse(sw.default(e.data)),null,2)})]}),e.actualVersion&&(0,ty.jsxs)("div",{children:[(0,ty.jsx)("strong",{children:"Actual Version:"}),(0,ty.jsx)("pre",{style:{margin:"4px 0",color:sd.textDim},children:JSON.stringify(JSON.parse(sw.default(e.actualVersion)),null,2)})]})]})]},"".concat(e.timestamp,"-").concat(e.position))})})})]})}function padNumber(e){return String(e).padStart(3,"0")}function ProgressBar(e){var t=e.current,n=e.total;return(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px",flex:1},children:[(0,ty.jsxs)("div",{style:{color:sd.textDim,fontSize:"12px",minWidth:"70px"},children:[padNumber(t),"/",padNumber(n)]}),(0,ty.jsx)("div",{style:{flex:1,height:"4px",background:sd.border,borderRadius:"2px"},children:(0,ty.jsx)("div",{style:{width:"".concat(t/n*100,"%"),height:"100%",background:sd.text,borderRadius:"2px",transition:"width 0.2s"}})})]})}function ReplayPanel(e){var t=e.replayName,n=e.packets,r=e.isPlaying,a=e.progress,o=e.speed,i=e.defaultFilter,s=e.customButtons,l=e.onPlayPause,c=e.onRestart,u=e.onSpeedChange,d=e.onFilterChange,w=e.onCustomButtonToggle,p=e.clientPacketsAutocomplete,h=e.serverPacketsAutocomplete,M=e.style,g=(0,eO._)((0,ne.useState)(void 0===i?"":i),2),m=g[0],v=g[1],y=(0,tb.R)(su.P),A=y.isMinimized,b=y.isRecording,_=filterPackets(n.slice(-500),m),L=_.filtered,C=_.hiddenCount;(0,ne.useEffect)(function(){d(m)},[m,d]);var j=(0,ty.jsx)("button",{onClick:function(){A?su.P.isMinimized=!1:null==l||l(!r)},style:{background:"none",border:"none",cursor:"pointer",padding:"4px",color:sd.text},children:(0,ty.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:b?(0,ty.jsx)("circle",{cx:"12",cy:"12",r:"8",fill:"red"}):r?(0,ty.jsx)("path",{d:"M6 19h4V5H6v14zm8-14v14h4V5h-4z"}):(0,ty.jsx)("path",{d:"M8 5v14l11-7z"})})}),D=(0,eI._)({position:"fixed",top:18,right:0,zIndex:1e3,background:sd.bg,padding:"16px",borderRadius:"0 0 8px 0",boxShadow:"0 2px 8px rgba(0,0,0,0.3)",display:"flex",flexDirection:"column",gap:"12px",color:sd.text},M);return A?(0,ty.jsx)("div",{style:(0,eP._)((0,eI._)({},D),{width:"auto"}),children:j}):(0,ty.jsxs)("div",{style:(0,eP._)((0,eI._)({},D),{width:"400px",maxHeight:"80vh"}),children:[(0,ty.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,ty.jsx)("div",{style:{fontSize:"12px",fontWeight:"bold"},children:t||"Unnamed Replay"}),(0,ty.jsx)("button",{onClick:function(){su.P.isMinimized=!0},style:{background:"none",border:"none",color:sd.text,cursor:"pointer",padding:"4px",fontSize:"14px",opacity:.7,transition:"opacity 0.2s"},onMouseEnter:function(e){e.currentTarget.style.opacity="1"},onMouseLeave:function(e){e.currentTarget.style.opacity="0.7"},children:"✕"})]}),(0,ty.jsx)("div",{style:{fontSize:"8px",color:"#888888",marginTop:"-8px"},children:b?"Recording packets...":"Integrated server emulation. Testing client..."}),(0,ty.jsx)(FilterInput,{value:m,onChange:v,hiddenCount:C,shownCount:L.length,onClearFilter:function(){return v("")},clientPacketsAutocomplete:p,serverPacketsAutocomplete:h}),(0,ty.jsx)(PacketList,{packets:L,filter:m,maxHeight:300}),(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px",filter:b?"grayscale(100%)":"none",cursor:b?"not-allowed":"default"},children:[j,(0,ty.jsx)(ProgressBar,{current:a.current,total:a.total})]}),(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(0,ty.jsx)("button",{onClick:c,style:{padding:"4px 8px",borderRadius:"4px",border:"1px solid ".concat(sd.border),background:sd.input,color:sd.text,cursor:"pointer"},children:"Restart"}),(0,ty.jsx)("input",{type:"number",value:o,onChange:function(e){return null==u?void 0:u(Number(e.target.value))},onContextMenu:function(e){e.preventDefault(),null==u||u(1)}
1,step:.1,min:.1,style:{width:"60px",padding:"4px",border:"1px solid ".concat(sd.border),borderRadius:"4px",background:sd.input,color:sd.text}}),Object.entries(s).map(function(e){var t=(0,eO._)(e,2),n=t[0],r=t[1],a=r.state,o=r.label,i=r.tooltip;return(0,ty.jsx)("button",{onClick:function(){return w(n)},title:i,style:{padding:"4px 8px",borderRadius:"4px",border:"1px solid ".concat(sd.border),background:a?sd.client:sd.input,color:sd.text,cursor:"pointer",minWidth:"32px"},children:o},n)})]})]})}function PacketsReplayProvider(){var e,t,n,r=(0,tb.R)(su.P),a=(0,tb.R)(ta.N_).gameLoaded,o=(0,ne.useMemo)(function(){if(loadedData)return{client:Object.keys(loadedData.protocol.play.toClient.types).filter(function(e){return e.startsWith("packet_")}).map(function(e){return e.slice(7)}),server:Object.keys(loadedData.protocol.play.toServer.types).filter(function(e){return e.startsWith("packet_")}).map(function(e){return e.slice(7)})}},[a]);return r.isOpen?(0,ty.jsx)(ReplayPanel,{style:{transform:"scale(0.4)",transformOrigin:"top right"},replayName:r.replayName,packets:r.packetsPlayback,isPlaying:r.isPlaying,progress:r.progress,speed:r.speed,defaultFilter:null!=(e=eU.EX.replayFilter)?e:"",clientPacketsAutocomplete:null!=(t=null==o?void 0:o.client)?t:[],serverPacketsAutocomplete:null!=(n=null==o?void 0:o.server)?n:[],customButtons:r.customButtons,onPlayPause:function(e){su.P.isPlaying=e},onRestart:function(){window.location.reload()},onSpeedChange:function(e){su.P.speed=e,(0,eU.h0)("replaySpeed",1===e?void 0:e.toString())},onFilterChange:function(e){(0,eU.h0)("replayFilter",e)},onCustomButtonToggle:function(e){(0,su.U)(e,!r.customButtons[e].state)}}):null}let sh={hint_container:"hint_container-TtFMXH"};function TouchInteractionHint(){var e=(0,t_.uT)(),t=(0,tb.R)(ta.M),n=(0,tb.R)(tr.YM).touchInteractionType,r=(0,eO._)((0,ne.useState)(null),2),a=r[0],o=r[1],i=(0,eO._)((0,ne.useState)(null),2),s=i[0],l=i[1];return((0,ne.useEffect)(function(){var update=function(){if(videoCursorInteraction())o("Interact with video"),l(null);else{var e=bot.mouse.getCursorState();if(e.entity){var t,n,r=null!=(n=null!=(t=e.entity.displayName)?t:e.entity.name)?n:"Entity";o("Attack ".concat(r)),l(r)}else o(null),l(null)}};return update(),bot.on("physicsTick",update),function(){var e;null==(e=bot)||e.removeListener("physicsTick",update)}},[]),e&&"classic"===n&&!(t.length>0)&&(a||s)&&s)?(0,ty.jsx)("div",{className:"".concat(sh.hint_container," interaction-hint"),children:(0,ty.jsx)(rl.Z,{onClick:function(e){e.preventDefault(),e.stopPropagation(),document.dispatchEvent(new MouseEvent("mousedown",{button:2})),bot.mouse.update(),document.dispatchEvent(new MouseEvent("mouseup",{button:2}))},children:"Use ".concat(s)})}):null}function ConnectOnlyServerUi(){var e=eU.EX.ip,t=eU.EX.version,n=eU.EX.proxy,r=eU.EX.username,a=eU.EX.connectText;return(0,t_.uM)("only-connect-server")?(0,ty.jsx)("div",{style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",background:"rgba(0, 0, 0, 0.25)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center"},children:(0,ty.jsxs)("div",{style:{display:"flex",gap:"40px",alignItems:"center",background:"rgba(0, 0, 0, 0.5)",padding:"25px",borderRadius:"5px",flexDirection:"row"},children:[(0,ty.jsxs)("div",{style:{color:"white",fontSize:"13px"},children:[(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center",marginBottom:"10px"},children:[(0,ty.jsx)(tL.Z,{iconName:tL.K.server,width:16}),(0,ty.jsx)("span",{style:{marginLeft:"8px"},children:e}),n&&(0,ty.jsxs)("span",{style:{marginLeft:"8px",color:"lightgray"},children:["(",n,")"]})]}),(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,ty.jsx)(tL.Z,{iconName:tL.K.user,width:16}),(0,ty.jsx)("span",{style:{marginLeft:"8px"},children:r}),t&&(0,ty.jsxs)("span",{style:{marginLeft:"8px",color:"lightgray"},children:["(",t,")"]})]})]}),(0,ty.jsx)(rl.Z,{onClick:function(){window.dispatchEvent(new CustomEvent("connect",{detail:{username:r||"",server:e,proxy:n,botVersion:t}}))},style:{width:"auto",padding:"0 12px",transform:"scale(1.4)",transformOrigin:"center"},children:a||"Connect"})]})}):null}function ControDebug(){var e=(0,eO._)((0,ne.useState)(new Set),2),t=e[0],n=e[1],r=(0,eO._)((0,ne.useState)([]),2),a=r[0],o=r[1];return((0,ne.useEffect)(function(){var handleKeyDown=function(e){n(function(t){return new Set((0,eW._)(t).concat([e.code]))})},handleKeyUp=function(e){n(function(t){var n=new Set(t);return n.delete(e.code),n})},handleBlur=function(){n(new Set)},handleControTrigger=function(e){var t=e.command;o(function(e){return(0,eW._)(e).concat([t])})},handleControReleased=function(e){var t=e.command;o(function(e){return e.filter(function(e){return e!==t})})};return window.addEventListener("keydown",handleKeyDown),window.addEventListener("keyup",handleKeyUp),window.addEventListener("blur",handleBlur),nS.on("trigger",handleControTrigger),nS.on("release",handleControReleased),function(){window.removeEventListener("keydown",handleKeyDown),window.removeEventListener("keyup",handleKeyUp),window.removeEventListener("blur",handleBlur),nS.off("trigger",handleControTrigger),nS.off("released",handleControReleased)}},[]),tr.YM.debugContro)?(0,ty.jsxs)("div",{className:"debug-contro",style:{position:"fixed",right:0,top:"50%",transform:"translateY(-50%)",backgroundColor:"rgba(0, 0, 0, 0.5)",padding:"8px",fontFamily:"monospace",fontSize:"8px",color:"white",display:"flex",flexDirection:"column",gap:"4px",zIndex:2},children:[(0,ty.jsxs)("div",{children:["Keys: ",(0,eW._)(t).join(", ")
1]}),(0,ty.jsxs)("div",{style:{color:"limegreen"},children:["Actions: ",a.join(", ")]})]}):null}n(38930);var sM={"server-waiting":"gray","order-queued":"darkorange","client-waiting":"yellow","client-processing":"yellow","done-empty":"darkgreen",done:"limegreen"},sg=[{color:sM["server-waiting"],label:"Waiting for server packet"},{color:sM["order-queued"],label:"Queued in spiral load order"},{color:sM["client-waiting"],label:"Received on client, waiting for mesher"},{color:sM["client-processing"],label:"Mesher processing"},{color:sM["done-empty"],label:"Meshed (no visible sections)"},{color:sM.done,label:"Meshed and rendered"},{color:"black",label:"No chunk data"}],ChunkStateLegend=function(){return(0,ty.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:"8px 16px",fontSize:10,marginTop:8,paddingTop:8,borderTop:"1px solid #444"},children:[(0,ty.jsx)("div",{style:{fontWeight:"bold",width:"100%"},children:"Legend"}),sg.map(function(e){var t=e.color,n=e.label;return(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:6},children:[(0,ty.jsx)("div",{style:{width:12,height:12,background:t,border:"1px solid #666",flexShrink:0}}),(0,ty.jsx)("span",{children:n})]},n)})]})};function ChunksDebug(e){var t=e.chunks,n=e.playerChunk,r=e.maxDistance,a=e.tileSize,o=void 0===a?16:a,i=e.fontSize,s=void 0===i?5:i,l=(0,eO._)((0,ne.useState)(null),2),c=l[0],u=l[1],d=(0,eO._)((0,ne.useState)(!1),2),w=d[0],p=d[1],h=2*r+1,M=t.reduce(function(e,t){var a=Math.floor((t.x-n.x)/16),o=Math.floor((t.z-n.z)/16);return Math.abs(a)>r||Math.abs(o)>r||(e["".concat(t.x,",").concat(t.z)]=(0,eP._)((0,eI._)({},t),{relX:a,relZ:o,displayLines:["".concat(a,",").concat(o," (").concat(t.x,",").concat(t.z,")")].concat((0,eW._)(t.lines))})),e},{});return(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[(0,ty.jsxs)("div",{style:{display:"flex",gap:"10px",alignItems:"flex-start"},children:[(0,ty.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(".concat(h,", 1fr)"),gridTemplateRows:"repeat(".concat(h,", 1fr)"),gap:1},children:Array.from({length:h*h}).map(function(e,t){var a=-r+t%h,i=-r+Math.floor(t/h),l=n.x+16*a,c=n.z+16*i,d=M["".concat(l,",").concat(c)];return(0,ty.jsxs)("div",{onClick:function(){d&&(u(d),p(!0))},style:{display:"flex",justifyContent:"center",alignItems:"center",background:d?sM[d.state]:"black",color:"white",fontSize:"".concat(s,"px"),cursor:d?"pointer":"default",position:"relative",width:"".concat(o,"px"),flexDirection:"column",height:"".concat(o,"px"),padding:1,whiteSpace:"pre"},children:[a,", ",i,"\n",null==d?void 0:d.lines[0],"\n",(0,ty.jsx)("span",{style:{fontSize:"".concat(.8*s,"px")},children:null==d?void 0:d.lines[1]})]},"".concat(l,",").concat(c))})}),w&&c&&(0,ty.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"5px"},className:"text-select",children:[c.displayLines.map(function(e,t){return(0,ty.jsx)("div",{style:{fontSize:"10px",wordBreak:"break-word"},children:e},t)}),(0,ty.jsxs)("div",{style:{marginTop:"10px",fontSize:"10px",whiteSpace:"pre",maxWidth:100},children:[(0,ty.jsx)("div",{children:"Sidebar Info:"}),c.sidebarLines.map(function(e,t){return(0,ty.jsx)("div",{children:e},t)})]})]})]}),(0,ty.jsx)(ChunkStateLegend,{})]})}var readFromMainThreadWorld=function(e){var t={},n=!0,r=!1,a=void 0;try{for(var o,i=Object.keys(e.sectionObjects)[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var s=o.value,l=(0,eO._)(s.split(",").map(Number),3),c=l[0],u=l[2];t["".concat(c,",").concat(u)]=!0}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}return{loadedSectionsChunks:t,loadedChunks:e.loadedChunks,finishedChunks:e.finishedChunks}},emptyRendererChunksState=function(){return{loadedSectionsChunks:{},loadedChunks:{},finishedChunks:{}}},useRendererChunksDebugState=function(e){var t=(0,eO._)((0,ne.useState)(function(){var e=globalThis.world;return e?readFromMainThreadWorld(e):emptyRendererChunksState()}),2),n=t[0],r=t[1];return(0,rc.mk)(function(e){(0,e.interval)(500,function(){var e,t,n=globalThis.world;if(n)return void r(readFromMainThreadWorld(n));var a=null==(t=nW.backend)||null==(e=t.backendMethods)?void 0:e.getChunksDebugState;if(!a)return void r(emptyRendererChunksState());Promise.resolve(a()).then(r).catch(function(){r(emptyRendererChunksState())})})},[e]),n},ChunksDebugScreen_Inner=function(){var e=(0,eO._)((0,ne.useState)(16*Math.floor(nW.worldView.lastPos.x/16)),2),t=e[0],n=e[1],r=(0,eO._)((0,ne.useState)(16*Math.floor(nW.worldView.lastPos.z/16)),2),a=r[0],o=r[1],i=(0,eO._)((0,ne.useState)(0),2),s=i[0],l=i[1],c=nW.worldView,u=useRendererChunksDebugState(s),d=u.loadedSectionsChunks,w=u.loadedChunks,p=u.finishedChunks;(0,rc.mk)(function(e){var t=e.interval,up=function(){};return bot.on("chunkColumnLoad",up),t(500,function(){n(16*Math.floor(c.lastPos.x/16)),o(16*Math.floor(c.lastPos.z/16)),l(function(e){return e+1})}),function(){bot.removeListener("chunkColumnLoad",up)}},[]);var h=Object.values(c.debugChunksInfo).map(function(e){var t,n;
1return null!=(n=null==e||null==(t=e.loads[0])?void 0:t.time)?n:1/0}).filter(function(e){return e!==1/0}).sort(function(e,t){return e-t}),M=Object.fromEntries((0,t0.generateSpiralMatrix)(c.viewDistance).map(function(e){return["".concat(e[0],",").concat(e[1]),e]})),mapChunk=function(e,t){var n,r,a=Number(e.split(",")[0]),o=Number(e.split(",")[1]),i=Math.floor(a/16),s=Math.floor(o/16);delete M["".concat(i,",").concat(s)];var l=c.debugChunksInfo[e],u=null==l||null==(n=l.loads[0])?void 0:n.time,d=u?h.indexOf(u)+1:0,w=u?u-h[0]:0,p="",g="";return d&&(p="".concat(d),g="".concat(w,"ms")),(null==l?void 0:l.loads.length)>1&&(p+=" - ".concat(l.loads.length)),{x:a,z:o,state:t,lines:[p,g],sidebarLines:["loads: ".concat(null==l||null==(r=l.loads)?void 0:r.map(function(e){return"".concat(e.reason," ").concat(e.dataLength," ").concat(e.time)}).join("\n"))]}},g=Object.keys(c.waitingSpiralChunksLoad).map(function(e){return mapChunk(e,"server-waiting")}),m=Object.keys(c.loadedChunks).map(function(e){return mapChunk(e,"client-waiting")}),v=Object.keys(w).map(function(e){return mapChunk(e,"client-processing")}),y=Object.keys(p).filter(function(e){return!d[e]}).map(function(e){return mapChunk(e,"done-empty")}),A=Object.keys(p).map(function(e){return mapChunk(e,"done")}),b=Object.values(M).map(function(e){var t=(0,eO._)(e,2),n=t[0],r=t[1],a=new eK.Vec3(16*n,0,16*r);return null===bot.world.getColumnAt(a)?null:mapChunk("".concat(a.x,",").concat(a.z),"order-queued")}).filter(function(e){return!!e}),_=(0,eW._)(g).concat((0,eW._)(m),(0,eW._)(v),(0,eW._)(A),(0,eW._)(y),(0,eW._)(b));return(0,ty.jsxs)(nn.Z,{title:"Chunks Debug (avg: ".concat(c.lastChunkReceiveTimeAvg.toFixed(1),"ms)"),children:[(0,ty.jsx)(rl.Z,{icon:tL.K.close,onClick:function(){return(0,ta.VG)({reactType:"chunks-debug"})},style:{color:"#ff5d5d",position:"fixed",top:10,left:20},title:"Close"}),(0,ty.jsx)(ChunksDebug,{chunks:_,playerChunk:{x:t,z:a},maxDistance:c.viewDistance,tileSize:32,fontSize:8})]})};function ChunksDebugScreen(){return(0,t_.uM)("chunks-debug")?(0,ty.jsx)(ChunksDebugScreen_Inner,{}):null}let sm={debugResponseTimeIndicator:"debugResponseTimeIndicator-fgQAAT"};function DebugResponseTimeIndicator(){var e=(0,eO._)((0,ne.useState)(!1),2),t=e[0],n=e[1];return((0,ne.useEffect)(function(){var handlePointerDown=function(){n(!0)},handlePointerUp=function(){n(!1)};return window.addEventListener("pointerdown",handlePointerDown),window.addEventListener("pointerup",handlePointerUp),function(){window.removeEventListener("pointerdown",handlePointerDown),window.removeEventListener("pointerup",handlePointerUp)}},[]),"debugResponseTimeIndicator"in tr.YM&&tr.YM.debugResponseTimeIndicator&&t)?(0,ty.jsx)("div",{className:sm.debugResponseTimeIndicator}):null}let sv={container:"container-fIXcRm",column:"column-p5oTjN",sliderGroup:"sliderGroup-bL4OLm"};function react_RendererDebugMenu(){var e=window.world;return e?(0,ty.jsx)(RendererDebugMenu,{worldRenderer:e}):null}var RendererDebugMenu=function(e){var t,n,r=e.worldRenderer.reactiveDebugParams,a=(0,tb.R)(r),o=a.chunksRenderAboveEnabled,i=a.chunksRenderBelowEnabled,s=(a.chunksRenderDistanceEnabled,a.chunksRenderAboveOverride),l=a.chunksRenderBelowOverride,c=(a.chunksRenderDistanceOverride,a.stopRendering),u=a.disableEntities,d=a.caveCullingDebug,w=a.smartCull,p=(0,tb.R)(tr.YM).rendererPerfDebugOverlay,roundToStep=function(e,t){return Math.round(e/t)*t};return p?(0,ty.jsxs)("div",{className:sv.container,children:[(0,ty.jsxs)("div",{className:sv.column,children:[(0,ty.jsx)("h3",{children:"Rendering Controls"}),(0,ty.jsx)(rl.Z,{label:c?"Start Rendering":"Stop Rendering",onClick:function(){r.stopRendering=!r.stopRendering},overlayColor:c?"red":void 0}),(0,ty.jsx)(rl.Z,{label:u?"Enable Entities":"Disable Entities",onClick:function(){r.disableEntities=!r.disableEntities},overlayColor:u?"red":void 0}),(0,ty.jsx)(rl.Z,{label:w?"Disable Smart Cull":"Enable Smart Cull",onClick:function(){r.smartCull=!w},overlayColor:w?void 0:"orange"}),(0,ty.jsx)(rl.Z,{label:d?"Hide Cave Cull Debug":"Show Cave Cull Debug",onClick:function(){r.caveCullingDebug=!r.caveCullingDebug},overlayColor:d?"cyan":void 0})]}),(0,ty.jsxs)("div",{className:sv.column,children:[(0,ty.jsx)("h3",{children:"Chunks Render Settings"}),(0,ty.jsxs)("div",{className:sv.sliderGroup,children:[(0,ty.jsx)(rl.Z,{label:o?"Disable Above Override":"Enable Above Override",onClick:function(){var e=!o;r.chunksRenderAboveEnabled=e,e?r.chunksRenderAboveOverride=0:r.chunksRenderAboveOverride=void 0}}),(0,ty.jsx)(rH,{label:"Chunks Above",min:0,max:256,value:null!=s?s:0,style:{width:"100%"}
1,updateValue:function(e){r.chunksRenderAboveOverride=roundToStep(e,16)},disabledReason:o?void 0:"Override not enabled",unit:"",valueDisplay:roundToStep(null!=(t=r.chunksRenderAboveOverride)?t:0,16)})]}),(0,ty.jsxs)("div",{className:sv.sliderGroup,children:[(0,ty.jsx)(rl.Z,{label:i?"Disable Below Override":"Enable Below Override",onClick:function(){var e=!i;r.chunksRenderBelowEnabled=e,e?r.chunksRenderBelowOverride=0:r.chunksRenderBelowOverride=void 0}}),(0,ty.jsx)(rH,{label:"Chunks Below",min:0,max:256,style:{width:"100%"},value:null!=l?l:0,updateValue:function(e){r.chunksRenderBelowOverride=roundToStep(e,16)},disabledReason:i?void 0:"Override not enabled",unit:"",valueDisplay:roundToStep(null!=(n=r.chunksRenderBelowOverride)?n:0,16)})]})]})]}):null};let sy={modalScreen:"modalScreen-cClnsz",container:"container-Rg_44M",title:"title-HitmZQ",contentWrapper:"contentWrapper-w4Sn_u",subtitle:"subtitle-Wv3FAi",paragraph:"paragraph-Adf60U",list:"list-IohlzU",listItem:"listItem-fv0jZx",link:"link-wejgpx",sectionTitle:"sectionTitle-f28VbG",closeButton:"closeButton-Ii28Cv",closeIcon:"closeIcon-UsO0rV"};function CreditsAboutModal(){return(0,t_.uM)("credits-about")?(0,ty.jsx)(nn.Z,{title:"",backdrop:!0,className:sy.modalScreen,children:(0,ty.jsxs)("div",{className:sy.container,children:[(0,ty.jsx)("h2",{className:sy.title,children:"Minecraft Open Source JS Edition"}),(0,ty.jsxs)("div",{className:sy.contentWrapper,children:[(0,ty.jsx)("small",{className:sy.subtitle,children:(0,ty.jsx)("i",{children:"What if Minecraft was an online game?"})}),(0,ty.jsx)("p",{className:sy.paragraph,children:"Hey! You are on the safest modern Minecraft clone rewritten in JavaScript. A huge amount of work has been put into this project to make it fast and complete, and many features would not be possible without these awesome people and projects:"}),(0,ty.jsxs)("ul",{className:sy.list,children:[(0,ty.jsx)("li",{className:sy.listItem,children:"- Everyone who provided awesome mods for the game"}),(0,ty.jsxs)("li",{className:sy.listItem,children:["- ",(0,ty.jsx)("span",{children:(0,ty.jsx)("a",{className:sy.link,href:"https://discord.com/users/gen6442",target:"_blank",rel:"noopener noreferrer",children:"[Gen]"})})," for rewriting the physics engine to be Grim-compliant"]}),(0,ty.jsxs)("li",{className:sy.listItem,children:["- ",(0,ty.jsx)("span",{children:(0,ty.jsx)("a",{className:sy.link,href:"https://viaversion.com/",target:"_blank",rel:"noopener noreferrer",children:"[ViaVersion]"})})," for providing reliable sound id mappings"]}),(0,ty.jsxs)("li",{className:sy.listItem,children:["- ",(0,ty.jsx)("span",{children:(0,ty.jsx)("a",{className:sy.link,href:"https://github.com/BlueMap-Minecraft/BlueMap",target:"_blank",rel:"noopener noreferrer",children:"[Bluemap]"})})," for providing block entity models like chest"]}),(0,ty.jsxs)("li",{className:sy.listItem,children:["- ",(0,ty.jsx)("span",{children:(0,ty.jsx)("a",{className:sy.link,href:"https://github.com/misode/deepslate",target:"_blank",rel:"noopener noreferrer",children:"[Deepslate]"})})," for rendering 3d blocks in GUI (inventory)"]}),(0,ty.jsxs)("li",{className:sy.listItem,children:["- ",(0,ty.jsx)("span",{children:(0,ty.jsx)("a",{className:sy.link,href:"https://www.npmjs.com/package/skinview3d",target:"_blank",rel:"noopener noreferrer",children:"[skinview3d]"})})," for rendering skins & player geometry"]}),(0,ty.jsxs)("li",{className:sy.listItem,children:["- ",(0,ty.jsx)("span",{children:(0,ty.jsx)("a",{className:sy.link,href:"https://github.com/atxi/Polymer",target:"_blank",rel:"noopener noreferrer",children:"[Polymer]"})})," (c++ project) for providing fast & accurate server light implementation"]})]}),(0,ty.jsx)("h3",{className:sy.sectionTitle,children:"Current contributors:"}),(0,ty.jsxs)("ul",{className:sy.list,children:[(0,ty.jsxs)("li",{className:sy.listItem,children:["- ",(0,ty.jsx)("span",{className:sy.link,children:(0,ty.jsx)("a",{className:sy.link,href:"http://github.com/sandexzx",target:"_blank",rel:"noopener noreferrer",children:"sandexzx"})})," - 3D Renderer Engine Developer & Maintainer"]}),(0,ty.jsx)("li",{className:sy.listItem,children:"- And many more community contributors!"})]}),(0,ty.jsx)("button",{className:sy.closeButton,onClick:function(){return(0,ta.kJ)()},"aria-label":"Close",type:"button",children:(0,ty.jsx)(tL.Z,{iconName:tL.K.close,width:12,className:sy.closeIcon})})]})]})}):null}var sA=n(13062);function react_FullscreenTime(){var e=(0,eO._)((0,ne.useState)(!1),2);return(e[0],e[1],"never"===(0,tb.R)(tr.YM).topRightTimeDisplay)?null:(0,ty.jsx)(FullscreenTime,{})}var FullscreenTime=function(){var e=(0,tb.R)(tr.YM).topRightTimeDisplay,t=(0,tb.R)(ta.N_).fullscreen,n=(0,eO._)((0,ne.useState)(""),2),r=n[0],a=n[1],o=(0,eO._)((0,ne.useState)(null),2),i=o[0],s=o[1];return((0,ne.useEffect)(function(){var updateTime=function(){var e=new Date,t=e.getHours().toString().padStart(2,"0"),n=e.getMinutes().toString().padStart(2,"0");a("".concat(t,":").concat(n))};updateTime();var e=setInterval(updateTime,1e3);return"getBattery"in navigator&&navigator.getBattery().then(function(e){var updateBatteryInfo=function(){s({level:Math.round(100*e.level),charging:e.charging})};return updateBatteryInfo(),e.addEventListener("levelchange",updateBatteryInfo),e.addEventListener("chargingchange",updateBatteryInfo),function(){e.removeEventListener("levelchange",updateBatteryInfo),e.removeEventListener("chargingchange",updateBatteryInfo)}}),function(){clearInterval(e)}},[]),"only-fullscreen"!==e||t)?(0,ty.jsxs)("div",{className:"top-right-time",style:{position:"fixed",top:"env(safe-area-inset-top, 5px)",right:"env(safe-area-inset-right, 5px)",display:"flex",alignItems:"center",gap:"4px",padding:"1px 3px",background:"rgba(0, 0, 0, 0.75)",borderRadius:"2px",fontSize:8,color:"white",fontFamily:"minecraft, mojangles, monospace",zIndex:1,pointerEvents:"none"},children:[(0,ty.jsx)("span",{children:r}),i&&(0,ty.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"2px"},children:[(0,ty.jsx)(tL.Z,{iconName:getBatteryIcon(i.level,i.charging),styles:{fontSize:10}}),(0,ty.jsxs)("span",{children:[i.level,"%"]})]})]}):null},getBatteryIcon=function(e,t){return t?tL.K["battery-charging"]:e>60?tL.K["battery-full"]:e>20?tL.K["battery-2"]:e>5?tL.K["battery-1"]:tL.K.battery}
1,formatTimestamp=function(e){return e?new Date(e).toLocaleString():"Unknown time"};function StorageConflictModal(){var e=(0,t_.uM)("storage-conflict"),t=(0,t2.ub)();if(!e)return null;var clampText=function(e){return"string"!=typeof e&&(e=JSON.stringify(e)),e.length>30?e.slice(0,30)+"...":e},n=t.map(function(e){var t=formatTimestamp(e.localStorageTimestamp),n=formatTimestamp(e.cookieTimestamp);return"".concat(e.key,": LocalStorage (").concat(t,", ").concat(clampText(e.localStorageValue),") vs Cookie (").concat(n,", ").concat(clampText(e.cookieValue),")")}).join("\n");return(0,ty.jsx)("div",{children:(0,ty.jsxs)("div",{style:{background:"#dcb58f",border:"2px solid #654321",padding:"20px",margin:"10px",color:"#FFFFFF",fontFamily:"minecraft, monospace",textAlign:"center",zIndex:1e3,position:"fixed",left:0,right:0},children:[(0,ty.jsx)("div",{style:{fontSize:"16px",fontWeight:"bold",color:"#000000",marginBottom:"15px"},children:"Data Conflict Found"}),(0,ty.jsxs)("div",{style:{fontSize:"12px",marginBottom:"20px",whiteSpace:"pre-line",color:"#642323",padding:"10px"},children:["You have conflicting data between localStorage (old) and cookies (new, domain-synced) for the following settings:","\n\n",n,"\n\n","Please choose which version to keep:"]}),(0,ty.jsxs)("div",{style:{display:"flex",gap:"10px",justifyContent:"center",fontSize:"8px",color:"black"},children:[(0,ty.jsx)("div",{onClick:function(){(0,t2.Ed)(!0),(0,ta.kJ)()},style:{border:"1px solid #654321",padding:"8px 16px",cursor:"pointer"},children:"Use Local Storage & Disable Cookie Sync"}),(0,ty.jsx)("div",{onClick:function(){(0,t2.Ed)(!1),(0,ta.kJ)()},style:{border:"1px solid #654321",padding:"8px 16px",cursor:"pointer"},children:"Use Cookie Data & Remove Local Data"})]})]})})}function FireRenderer(){var e=(0,tb.R)(appViewer.playerState.reactive),t=e.onFire,n=e.perspective,r=(0,eO._)((0,ne.useState)([]),2),a=r[0],o=r[1],i=(0,eO._)((0,ne.useState)(0),2),s=i[0],l=i[1];return((0,ne.useEffect)(function(){var e,n=0,updateTexture=function(r){t&&a.length>0&&r-n>=100&&(l(function(e){return(e+1)%a.length}),n=r),e=requestAnimationFrame(updateTexture)};return e=requestAnimationFrame(updateTexture),function(){return cancelAnimationFrame(e)}},[t,a]),(0,ne.useEffect)(function(){var e,t=(e=(0,eE._)(function(){var e,t,n,r,a,i,s,l,c,u,d,w,p,h,M,g,m,v,y,A,b,_,L,C,j,D,x;return(0,eB.Jh)(this,function(k){switch(k.label){case 0:if(t=[],!(null==(n=appViewer.resourcesManager.blocksAtlasParser)||null==(e=n.atlas)?void 0:e.latest))return console.warn("FireRenderer: Blocks atlas parser not available"),[2];r=Object.keys(n.atlas.latest.textures).filter(function(e){return/^fire_\d+$/.exec(e)}),a=!0,i=!1,s=void 0,k.label=1;case 1:k.trys.push([1,7,8,9]),l=r[Symbol.iterator](),k.label=2;case 2:if(a=(c=l.next()).done)return[3,6];if(u=c.value,!(d=n.getTextureInfo(u))||(w=n.atlas.latest.tileSize,p=n.atlas.latest.width,h=n.atlas.latest.height,g=null!=(M=d.width)?M:w,v=null!=(m=d.height)?m:w,!((A=(y=(0,e6.vL)(g,v)).getContext("2d"))&&n.latestImage)))return[3,5];return[4,(0,rF.u)(n.latestImage)];case 3:if(b=k.sent(),A.drawImage(b,d.u*p,d.v*h,g,v,0,0,g,v),_=Math.ceil(.4*v),!(C=(L=(0,e6.vL)(g,_)).getContext("2d")))return[3,5];return C.drawImage(y,0,0,g,_,0,0,g,_),[4,L.convertToBlob()];case 4:j=k.sent(),D=URL.createObjectURL(j),t.push(D),k.label=5;case 5:return a=!0,[3,2];case 6:return[3,9];case 7:return x=k.sent(),i=!0,s=x,[3,9];case 8:try{a||null==l.return||l.return()}finally{if(i)throw s}return[7];case 9:return o(t),[2]}})}),function(){return e.apply(this,arguments)});appViewer.resourcesManager.currentResources&&t();var onAssetsUpdated=function(){t()};return appViewer.resourcesManager.on("assetsTexturesUpdated",onAssetsUpdated),function(){appViewer.resourcesManager.off("assetsTexturesUpdated",onAssetsUpdated);var e=!0,t=!1,n=void 0;try{for(var r,o=a[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value;URL.revokeObjectURL(i)}}catch(e){t=!0,n=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw n}}}},[]),t&&0!==a.length&&"first_person"===n)?(0,ty.jsx)("div",{className:"fire-renderer-container",style:{position:"fixed",left:0,right:0,bottom:0,height:"20dvh",pointerEvents:"none",display:"flex",justifyContent:"center",alignItems:"flex-end",overflow:"hidden",zIndex:-1},children:(0,ty.jsx)("div",{style:{position:"absolute",width:"100%",height:"100%",backgroundImage:"url(".concat(a[s],")"),backgroundSize:"50% 100%",backgroundPosition:"center",backgroundRepeat:"repeat-x",opacity:.7,filter:"brightness(1.2) contrast(1.2)",mixBlendMode:"screen"}})}):null}var sb=n(11111);function MonacoEditor(){var e=(0,tb.R)(tf),t=e.contents,n=e.line,r=(e.column,e.id),a=e.language,o=e.title,i=(0,t_.uM)("monaco-editor"),s=getComputedStyle(document.body).fontFamily;return((0,ne.useEffect)(function(){r&&!i&&(0,ta.K4)({reactType:"monaco-editor"}),!r&&i&&(0,ta.VG)()},[r]),(0,ne.useEffect)(function(){if(!i&&r){try{saveIde()}catch(e){reportError(e),(0,tv.c0)("Failed to save the editor","Please try again",!0)}tf.id="",tf.contents=""}},[i]),i)?(0,ty.jsxs)("div",{className:"monaco-editor-container",children:[(0,ty.jsx)("div",{className:"monaco-editor-close",children:(0,ty.jsx)(tL.Z,{iconName:tL.K.close,width:26,onClick:function(){(0,ta.VG)()}})}),(0,ty.jsx)("div",{className:"monaco-editor-title",children:o}),(0,ty.jsx)("div",{className:"monaco-editor-wrapper",children:(0,ty.jsx)(sb.ML,{height:"100%",width:"100%",language:a,theme:"vs-dark",line:n,onChange:function(e){tf.contents=null!=e?e:""},value:t,options:{fontFamily:s,minimap:{enabled:!0}}})})]}):null}var getDomainFromUrl=function(e){try{return new URL(e).hostname}catch(n){var t=/^(?:https?:\/\/)?([^/]+)/.exec(e);return t?t[1]:e}},getConsentKey=function(e,t){return"".concat(e,":").concat(t)},checkConsent=function(e,t){var n,r,a=getConsentKey(e,t);
1return null!=(r=null==(n=t2.e1.iframeConsents)?void 0:n.includes(a))&&r},addConsent=function(e,t){var n=getConsentKey(e,t);t2.e1.iframeConsents||(t2.e1.iframeConsents=[]),t2.e1.iframeConsents.includes(n)||t2.e1.iframeConsents.push(n)};function IframeModal(){var e,t,n=(0,tb.R)(tp),r=n.url,a=n.title,o=n.id;n.metadata;var i=(0,t_.uM)("iframe-modal"),s=null!=(t=null==(e=tM.Pc.value)?void 0:e.server)?t:"",l=(0,ne.useMemo)(function(){return r?getDomainFromUrl(r):""},[r]),c=(0,eO._)((0,ne.useState)(!0),2),u=c[0],d=c[1],w=(0,rE.K)();return((0,ne.useEffect)(function(){o&&r&&!i&&((0,ta.K4)({reactType:"iframe-modal"}),d(!checkConsent(s,l))),!o&&i&&(0,ta.VG)()},[o,r]),i)?(0,ty.jsxs)("div",{className:"iframe-modal-container",children:[(0,ty.jsx)("div",{className:"iframe-modal-close",children:(0,ty.jsx)(tL.Z,{iconName:tL.K.close,width:26,onClick:function(){(0,ta.VG)()}})}),a&&(0,ty.jsx)("div",{className:"iframe-modal-title",children:a}),(0,ty.jsx)("div",{className:"iframe-modal-wrapper",children:u?(0,ty.jsx)("div",{className:"iframe-consent-screen",children:(0,ty.jsxs)("div",{className:"iframe-consent-content",style:{transform:"scale(".concat(w,")")},children:[(0,ty.jsxs)("div",{className:"iframe-consent-message",children:["Allow ",(0,ty.jsx)("strong",{children:s})," to open for you ",(0,ty.jsx)("strong",{children:l}),"?"]}),(0,ty.jsx)(rl.Z,{label:"Open Page",onClick:function(){l&&(addConsent(null!=s?s:"",l),d(!1))},className:"iframe-consent-button"})]})}):(0,ty.jsx)("iframe",{src:r,className:"iframe-modal-iframe",allow:"*",allowFullScreen:!0,sandbox:"allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation allow-downloads allow-modals allow-orientation-lock allow-pointer-lock allow-top-navigation-by-user-activation allow-storage-access-by-user-activation"})})]}):null}var s_=n(68470),sL="(max-width: 419px)";function CornerIndicatorStats(){var e=(0,tb.R)(ta.N_).fullscreen,t=(0,tb.R)(tr.YM).topRightTimeDisplay,n=(0,eO._)((0,ne.useState)(function(){return"undefined"!=typeof window&&window.matchMedia(sL).matches}),2),r=n[0],a=n[1];return(0,ne.useEffect)(function(){var e=window.matchMedia(sL),sync=function(){return a(e.matches)};return sync(),e.addEventListener("change",sync),function(){return e.removeEventListener("change",sync)}},[]),(0,ty.jsx)("div",{id:"corner-indicator-stats",style:(0,eI._)({position:"fixed",right:0,zIndex:10},"always"===t||"only-fullscreen"===t&&e?{bottom:62*!!r}:{top:0})})}var sC=new URLSearchParams(window.location.search),sj="true"===sC.get("playground")||"1"===sC.get("playground");if(sj){var sD=document.getElementById("ui-root");sD&&(sD.style.display="none")}var sx=n(57809);"Firefox"===nF.ua.getBrowser().name&&document.body.style.setProperty("--thin-if-firefox","thin"),"iPhone"===nF.ua.getDevice().model&&document.documentElement.style.setProperty("--hud-bottom-max","21px");var RobustPortal=function(e){var t=e.children,n=e.to;return(0,rP.createPortal)((0,ty.jsx)(PerComponentErrorBoundary,{children:t}),n)},DisplayQr=function(){var e=(0,tb.R)(ta.N_).currentDisplayQr;return e?(0,ty.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,display:"flex",justifyContent:"center",alignItems:"center",zIndex:15},onClick:function(){ta.N_.currentDisplayQr=null},children:(0,ty.jsx)(rI.tv,{size:384,value:e,style:{display:"block",border:"2px solid black"}})}):null},InGameComponent=function(e){var t=e.children;return(0,tb.R)(ta.N_).gameLoaded?t:null},InGameUi=function(){var e=(0,tb.R)(ta.N_),t=e.gameLoaded,n=e.showUI,r=e.disconnectedCleanup,a=(0,tb.R)(tr.YM),o=a.disabledUiParts,i=a.displayBossBars,s=a.showMinimap,l=(0,tb.R)(ta.M),c=l.length>0,u=n||c,d=l.some(function(e){return"full-map"===e.reactType})||!0;if(!(!(t||(null==r?void 0:r.wasConnected))||!bot||o.includes("*")))return eS||(eS=new ij(bot.entity.position)),(0,ty.jsxs)(ty.Fragment,{children:[(0,ty.jsxs)(RobustPortal,{to:document.querySelector("#ui-root"),children:[(0,ty.jsx)("div",{style:{display:u?"block":"none"},children:(0,ty.jsxs)(PerComponentErrorBoundary,{children:[(0,ty.jsx)(GameInteractionOverlay,{zIndex:7}
1),!o.includes("death-screen")&&(0,ty.jsx)(DeathScreenProvider,{}),!o.includes("debug-overlay")&&(0,ty.jsx)(iq,{}),!o.includes("mobile-top-buttons")&&(0,ty.jsx)(MobileTopButtons,{}),!o.includes("players-list")&&(0,ty.jsx)(PlayerListOverlayProvider,{}),!o.includes("chat")&&(0,ty.jsx)(oE,{}),(0,ty.jsx)(SoundMuffler,{}),"never"!==s&&(0,ty.jsx)(MinimapProvider,{adapter:eS,displayMode:"minimapOnly"}),!o.includes("title")&&(0,ty.jsx)(TitleProvider,{}),!o.includes("scoreboard")&&(0,ty.jsx)(ScoreboardProvider,{}),(0,ty.jsx)(IndicatorEffectsProvider,{displayEffects:!o.includes("effects"),displayIndicators:!o.includes("indicators")}),!o.includes("crosshair")&&(0,ty.jsx)(Crosshair,{}),!o.includes("books")&&(0,ty.jsx)(BookProvider,{}),!o.includes("bossbars")&&i&&(0,ty.jsx)(BossBarOverlayProvider,{}),(0,ty.jsx)(VoiceMicrophone,{}),(0,ty.jsx)(ChunksDebugScreen,{}),(0,ty.jsx)(react_RendererDebugMenu,{}),!o.includes("fire")&&(0,ty.jsx)(FireRenderer,{})]})}),(0,ty.jsxs)(PerComponentErrorBoundary,{children:[(0,ty.jsx)(PauseScreen,{}),(0,ty.jsx)(react_FullscreenTime,{}),(0,ty.jsx)(MineflayerPluginHud,{}),(0,ty.jsx)(MineflayerPluginConsole,{}),u&&(0,ty.jsx)(TouchInteractionHint,{}),(0,ty.jsx)(sA.Z,{}),(0,ty.jsxs)("div",{style:{display:u?"block":"none"},children:[!o.includes("xp-bar")&&(0,ty.jsx)(XPBarProvider,{}),!o.includes("hud-bars")&&(0,ty.jsx)(HudBarsProvider,{}),(0,ty.jsx)(BedTime,{})]}),u&&!o.includes("hotbar")&&(0,ty.jsx)(iG.Z,{})]})]}),(0,ty.jsxs)(PerComponentErrorBoundary,{children:[(0,ty.jsx)(SignEditorProvider,{}),(0,ty.jsx)(DisplayQr,{}),(0,ty.jsx)(sx.F,{})]}),(0,ty.jsxs)(RobustPortal,{to:document.body,children:[d&&(0,ty.jsx)(MinimapProvider,{adapter:eS,displayMode:"fullmapOnly"}),u&&(0,ty.jsx)(TouchControls,{}),(0,ty.jsx)(GlobalSearchInput,{})]})]})},AllWidgets=function(){return na.map(function(e){return(0,ty.jsx)(WidgetDisplay,{name:e.name,Component:e.default},e.name)})},WidgetDisplay=function(e){var t=e.name,n=e.Component;return(0,t_.mE)(t)?(0,ty.jsx)(n,{}):null},PerComponentErrorBoundary=function(e){return e.children.map(function(e,t){return(0,ty.jsx)(rc.SV,{renderError:function(t){var n=(e.type.name||e.type.displayName||"Unknown").replaceAll(/__|_COMPONENT/g,"");return(0,tv.c0)("UI component ".concat(n," crashed!"),"Please report this. Use console for more.",!0,void 0),null},children:e},t)})};if(!("true"===sC.get("no-ui")||sj)){var sk=(0,ru.K)(function(){var e=(0,rE.K)();return(0,ty.jsx)(UIProvider,{scale:e,children:(0,ty.jsx)("div",{children:(0,ty.jsxs)(ButtonAppProvider,{children:[(0,ty.jsxs)(RobustPortal,{to:document.body,children:[(0,ty.jsx)("div",{className:"overlay-bottom-scaled",children:(0,ty.jsx)(InGameComponent,{children:(0,ty.jsx)(HeldMapUi,{})})}),(0,ty.jsx)(ControDebug,{}),(0,ty.jsx)("div",{})]}),(0,ty.jsx)(MobilePortraitButtons,{}),(0,ty.jsx)(StorageConflictModal,{}),(0,ty.jsx)(InGameUi,{}),(0,ty.jsxs)(RobustPortal,{to:document.querySelector("#ui-root"),children:[(0,ty.jsx)(AllWidgets,{}),(0,ty.jsx)(SingleplayerProvider,{}),(0,ty.jsx)(CreateWorldProvider,{}),(0,ty.jsx)(rX.ZP,{}),(0,ty.jsx)(KeybindingsScreenProvider,{}),(0,ty.jsx)(VoiceChatConsentProvider,{}),(0,ty.jsx)(VoiceChatMenuProvider,{}),(0,ty.jsx)(ServersListProvider,{}),(0,ty.jsx)(OptionsRenderApp,{}),(0,ty.jsx)(aV,{}),(0,ty.jsx)(ConnectOnlyServerUi,{}),(0,ty.jsx)(TouchAreasControlsProvider,{}),(0,ty.jsx)(SignInMessageProvider,{}),(0,ty.jsx)(PacketsReplayProvider,{}),(0,ty.jsx)(tv.ZP,{}),(0,ty.jsx)(ModsPage,{}),(0,ty.jsx)(t7.ZP,{}),(0,ty.jsx)(SettingReloadModal,{}),(0,ty.jsx)(om.Z,{}),(0,ty.jsx)(CreditsAboutModal,{}),(0,ty.jsx)(AllSettingsEditor,{}),(0,ty.jsx)(NoModalFoundProvider,{})]}),(0,ty.jsxs)(RobustPortal,{to:document.body,children:[(0,ty.jsx)("div",{className:"overlay-top-scaled",children:(0,ty.jsx)(GamepadUiCursor,{})}),(0,ty.jsx)("div",{}),(0,ty.jsx)(DebugEdges,{}),(0,ty.jsx)(s_.ZP,{}),(0,ty.jsx)(MonacoEditor,{}),(0,ty.jsx)(IframeModal,{}),(0,ty.jsx)(DebugResponseTimeIndicator,{}),(0,ty.jsx)(CornerIndicatorStats,{})]})]})})})},"root");(0,rc.my)((0,ty.jsx)(function(){var e=(0,tb.R)(as).state;return(0,ty.jsx)(sk,{},e?"0":"1")},{}),{strictMode:!1,selector:"#react-root"})}(function disableReactProfiling(){window.reactPerfPatchApplied||(window.reactPerfPatchApplied=!0,window.performance.markOrig=window.performance.mark,window.performance.mark=function(e,t){e.startsWith("⚛")||localStorage.enableReactProfiling||window.performance.markOrig(e,t)})})();var sT=n(93585),sN=n(5444),sS=n(55872).Buffer,sz=(0,sT.promisify)(oY.parse),sq=oY.simplify;window.nbt=oY;for(var sE=[".png",".jpg",".jpeg",".webp"],sI=new Set([64,128,256,512]),sP=(ep=(0,eE._)(function(e){var t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:return[4,createImageBitmap(e)];case 1:return n=(t=a.sent()).width,r=t.height,t.close(),[2,{width:n,height:r}]}})}),function(e){return ep.apply(this,arguments)}),sY=(eh=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){return[2,new Promise(function(t,n){var r=new FileReader;r.onload=function(){return t(r.result)}
1,r.onerror=n,r.readAsDataURL(e)})]})}),function(e){return eh.apply(this,arguments)}),sO=0,sR=["drag","dragstart","dragend","dragover","dragenter","dragleave","drop"];sO<sR.length;sO++){var sB=sR[sO];window.addEventListener(sB,function(e){(!e.dataTransfer||e.dataTransfer.types.includes("Files"))&&e.preventDefault()})}function handleDroppedFile(e){return _handleDroppedFile.apply(this,arguments)}function _handleDroppedFile(){return(_handleDroppedFile=(0,eE._)(function(e){var t,n,r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,y,A,b,_,L,C,j,D,x,k,T,N,S,z,q,E,I,P,Y;return(0,eB.Jh)(this,function(O){switch(O.label){case 0:if(!sE.some(function(t){return e.name.toLowerCase().endsWith(t)}))return[3,10];O.label=1;case 1:return O.trys.push([1,9,,10]),[4,sP(e)];case 2:return n=(t=O.sent()).width,r=t.height,[4,sY(e)];case 3:var R,B;if(a=O.sent(),o=(0,tt.z)(),R=n,B=r,!(Number.isFinite(R)&&Number.isFinite(B)&&!(R<=0)&&!(B<=0)&&sI.has(R))||B!==R&&B!==R/2)return[3,5];if(!(0,ta.z7)(!1)||!(null==(i=bot)?void 0:i.entity))return(0,tv.c0)("Skin preview needs an active world","Join a game and drop the skin image again."),[2];if(!(l=null==o?void 0:o.applyTemporaryPlayerSkinOverride))return(0,tv.c0)("Cannot apply skin — renderer does not support it"),[2];return[4,l(a,bot.entity.id,bot.username,null!=(c=null==(s=bot.player)?void 0:s.uuid)?c:bot.entity.uuid)];case 4:return O.sent(),(0,tv.c0)("Skin temporarily applied","Hand and third-person model updated until reconnect or a server skin change."),[2];case 5:if(!(0,ta.z7)(!1))return[2];if(!(u=null==o?void 0:o.setSkyboxImage))return[3,7];return[4,u(a)];case 6:return O.sent(),(0,tv.c0)("Skybox updated successfully"),[3,8];case 7:(0,tv.c0)("Cannot update skybox - renderer does not support it"),O.label=8;case 8:return[2];case 9:return console.error("Failed to handle dropped image:",d=O.sent()),(0,tv.c0)("Failed to use dropped image",String(null!=(w=d.message)?w:d),!0),[2];case 10:if(e.name.endsWith(".zip"))return(0,r1.lh)(e),[2];if(e.name.endsWith(".rar"))return alert("Rar files are not supported yet!"),[2];if(!(nM.Uv.some(function(t){return e.name.endsWith(t)})||e.name.startsWith("packets-replay")))return[3,12];return[4,e.text()];case 11:return p=O.sent(),(0,nM.ZB)({contents:p,filename:e.name,filesize:e.size}),[2];case 12:if(!e.name.endsWith(".mca"))return[3,34];h="/temp/temp.mca",O.label=13;case 13:return O.trys.push([13,,31,33]),g=(M=eJ().promises).writeFile,m=[h],v=sS.from,[4,e.arrayBuffer()];case 14:return[4,g.apply(M,m.concat([v.apply(sS,[O.sent()])]))];case 15:return O.sent(),[4,(y=new(im())(h)).initialize()];case 16:O.sent(),A={},console.log("Reading chunks..."),console.log(A),b=!1,_=!0,L=!1,C=void 0,O.label=17;case 17:O.trys.push([17,28,29,30]),j=Array.from({length:32}).entries()[Symbol.iterator](),O.label=18;case 18:if(_=(D=j.next()).done)return[3,27];k=(x=(0,eO._)(D.value,2))[0],x[1],T=!0,N=!1,S=void 0,O.label=19;case 19:O.trys.push([19,24,25,26]),z=function(){var e,t,n,r,a,o;return(0,eB.Jh)(this,function(i){switch(i.label){case 0:return t=(e=(0,eO._)(E.value,2))[0],e[1],[4,y.read(k,t)];case 1:return n=i.sent(),A["".concat(k,",").concat(t)]=n,n&&!b&&(a=sq(n),console.log("Detected version",null!=(o=null==(r=sN.versions.pc.find(function(e){return e.dataVersion===a.DataVersion}))?void 0:r.minecraftVersion)?o:"unknown"),b=!0),[2]}})},q=Array.from({length:32}).entries()[Symbol.iterator](),O.label=20;case 20:if(T=(E=q.next()).done)return[3,23];return[5,(0,eB.XA)(z())];case 21:O.sent(),O.label=22;case 22:return T=!0,[3,20];case 23:return[3,26];case 24:return I=O.sent(),N=!0,S=I,[3,26];case 25:try{T||null==q.return||q.return()}finally{if(N)throw S}return[7];case 26:return _=!0,[3,18];case 27:return[3,30];case 28:return I=O.sent(),L=!0,C=I,[3,30];case 29:try{_||null==j.return||j.return()}finally{if(L)throw C}return[7];case 30:return Object.defineProperty(A,"simplified",{get:function(){var e={},t=!0,n=!1,r=void 0;try{for(var a,o=Array.from({length:32}).entries()[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=(0,eO._)(a.value,2),s=i[0];i[1];var l=!0,c=!1,u=void 0;try{for(var d,w=Array.from({length:32}).entries()[Symbol.iterator]();!(l=(d=w.next()).done);l=!0){var p=(0,eO._)(d.value,2),h=p[0];p[1];var M="".concat(s,",").concat(h),g=A[M];g&&(e[M]=sq(g))}}catch(e){c=!0,u=e}finally{try{l||null==w.return||w.return()}finally{if(c)throw u}}}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return e}}),console.log("Done!",A),[3,33];case 31:return[4,eJ().promises.unlink(h)];case 32:return O.sent(),[7];case 33:return[2];case 34:return[4,e.arrayBuffer()];case 35:return P=O.sent(),[4,sz(sS.from(P)).catch(function(e){throw alert("Couldn't parse nbt, ensure you are opening .dat or file (or .zip/folder with a world)"),e})];case 36:return Y=O.sent(),(0,tv.c0)("".concat(e.name," data available in browser console")),console.log("raw",Y),console.log("simplified",oY.simplify(Y)),[2]}})})).apply(this,arguments)}window.addEventListener("drop",(eM=(0,eE._)(function(e){var t,n,r;return(0,eB.Jh)(this,function(a){switch(a.label){case 0:if(!(null==(t=e.dataTransfer)?void 0:t.files.length))return[2];if(!(n=e.dataTransfer.items[0]).getAsFileSystemHandle)return[3,7];return[4,n.getAsFileSystemHandle()];case 1:if("file"!==(r=a.sent()).kind)return[3,4];return[4,r.getFile()];case 2:return[4,handleDroppedFile(a.sent())];case 3:return a.sent(),[3,6];case 4:if((0,ta.z7)(!1))return alert("Exit current world first, before loading a new one."),[2];return[4,(0,r1.PM)(r)];case 5:a.sent(),a.label=6;case 6:return[3,9];case 7:return[4,handleDroppedFile(n.getAsFile())];case 8:a.sent(),a.label=9;case 9:return[2]}})}),function(e){return eM.apply(this,arguments)}));var sU=n(43443),sQ=n.n(sU),sF=n(16231),sW=n(20095),sV=n(81408).createMCServer,startLocalServer=function(e){var t=(0,eP._)((0,eI._)({},e),{Server:sW.f}),n=sV(t);return n.formatMessage=function(e){return"[server] ".concat(e)},n.options=t,n.looseProtocolMode=!0,n},sJ=["transactionPacketExists","teleportUsesOwnPacket"],sG=n(27905),sH=(eg=(0,eE._)(function(){var e,t,n,r,a,o,i;return(0,eB.Jh)(this,function(s){switch(s.label){case 0:if(!("serviceWorker"
1in navigator))return[2];if((0,nQ.x)())return[3,1];return[2,new Promise(function(e){window.addEventListener("load",(0,eE._)(function(){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,navigator.serviceWorker.register("./service-worker.js").then(function(t){console.log("SW registered:",t),e()}).catch(function(e){console.log("SW registration failed:",e)})];case 1:return t.sent(),[2]}})}))})];case 1:return[4,navigator.serviceWorker.getRegistrations()];case 2:e=s.sent(),t=!0,n=!1,r=void 0,s.label=3;case 3:s.trys.push([3,8,9,10]),a=e[Symbol.iterator](),s.label=4;case 4:if(t=(o=a.next()).done)return[3,7];return[4,o.value.unregister()];case 5:s.sent(),s.label=6;case 6:return t=!0,[3,4];case 7:return[3,10];case 8:return i=s.sent(),n=!0,r=i,[3,10];case 9:try{t||null==a.return||a.return()}finally{if(n)throw r}return[7];case 10:e.length&&location.reload(),s.label=11;case 11:return[2]}})}),function(){return eg.apply(this,arguments)}),sZ=[],watchUnloadForCleanup=function(e){sZ.push(e)};function flyingSquidEvents(){if(localServer.on("warpsLoaded",function(){localServer&&(0,tv.c0)("".concat(localServer.warps.length," Warps loaded"),"Use /warp <name> to teleport to a warp point.",!1,"label-alt",function(){t6.e.value="/warp ",(0,ta.K4)({reactType:"chat"})})}),tr.YM.singleplayerAutoSave){var e=setInterval(function(){tr.YM.singleplayerAutoSave&&(0,tH.kB)(!0)},2e3);watchUnloadForCleanup(function(){clearInterval(e)})}}(0,td.Ld)(ta.N_,function(){if(!ta.N_.gameLoaded){var e=!0,t=!1,n=void 0;try{for(var r,a=sZ[Symbol.iterator]();!(e=(r=a.next()).done);e=!0)(0,r.value)()}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}sZ=[]}}),nk(),window.addEventListener("hashchange",function(){nk()}),console.log("JS Loaded in",Date.now()-window.startLoad);var sK=!1;customEvents.on("gameLoaded",function(){var cleanup=function(){appViewer.playerState.reactive.inWater=!1};watchUnloadForCleanup(cleanup);var updateInWater=function(){var e=Object.keys(bot.entity.effects).find(function(e){var t;return(null==(t=loadedData.effects[e.id])?void 0:t.name)==="water_breathing"});sK?(appViewer.playerState.reactive.inWater=!0,appViewer.playerState.reactive.waterBreathing=void 0!==e):cleanup(),updateBackgroun
1d()};bot.on("physicsTick",function(){var e,t=(null==(e=bot.world.getBlock(bot.entity.position.offset(0,1,0)))?void 0:e.name)==="water";t!==sK&&(sK=t,updateInWater())})});var sX={r:0,g:0,b:0},updateBackground=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:sX;sX=e;var t=sK?[0,0,1]:[sX.r,sX.g,sX.b];appViewer.playerState.reactive.backgroundColor=(0,td.iH)(t)};n(14972),n(6645);var s$=function(e){function MesherWorkerPreloadError(e,t){var n;return(0,tj._)(this,MesherWorkerPreloadError),(n=(0,n4._)(this,MesherWorkerPreloadError,[e])).name="MesherWorkerPreloadError",n.failure=t,console.error("[mesher preload]",t,e),n}return(0,n6._)(MesherWorkerPreloadError,e),MesherWorkerPreloadError}(rb.g);function isMcWebPong(e){return!!e&&(void 0===e?"undefined":(0,eR._)(e))==="object"&&("mc-web-pong"===e.type||!!Array.isArray(e)&&e.some(function(e){return e&&(void 0===e?"undefined":(0,eR._)(e))==="object"&&"mc-web-pong"===e.type}))}function preloadMesherWorkerScript(e){return _preloadMesherWorkerScript.apply(this,arguments)}function _preloadMesherWorkerScript(){return(_preloadMesherWorkerScript=(0,eE._)(function(e){var t,n,r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,y,A;return(0,eB.Jh)(this,function(b){switch(b.label){case 0:n=null!=(t=null==e?void 0:e.fetchTimeoutMs)?t:45e3,a=null!=(r=null==e?void 0:e.pingTimeoutMs)?r:1e4,o=new URL("mesher.js",document.baseURI).href,b.label=1;case 1:b.trys.push([1,6,,7]),s=new AbortController,l=window.setTimeout(function(){return s.abort()},n),b.label=2;case 2:return b.trys.push([2,,4,5]),[4,fetch(o,{credentials:"same-origin",cache:"force-cache",signal:s.signal})];case 3:return i=b.sent(),[3,5];case 4:return clearTimeout(l),[7];case 5:return[3,7];case 6:if((null==(u=c=b.sent())?void 0:u.name)==="AbortError")throw new s$("Mesher script fetch timed out after ".concat(n,"ms (").concat(o,")."),{phase:"fetch",code:"timeout"});throw new s$("Mesher script fetch failed (network): ".concat(null!=(w=null!=(d=null==u?void 0:u.message)?d:c)?w:"unknown error",". URL: ").concat(o),{phase:"fetch",code:"network",detail:String(null!=(p=null==u?void 0:u.message)?p:c)});case 7:if(!i.ok)throw new s$("Mesher script HTTP ".concat(i.status," ").concat(i.statusText,": ").concat(o),{phase:"fetch",code:"bad-status",status:i.status});return M=null!=(h=i.headers.get("content-type"))?h:"",[4,i.arrayBuffer()];case 8:if(0===(g=b.sent()).byteLength)throw new s$("Mesher script response was empty: ".concat(o),{phase:"fetch",code:"invalid-body",hint:"empty"});if(m=Math.min(1024,g.byteLength),(v=new TextDecoder().decode(g.slice(0,m)).trimStart()).startsWith("<!DOCTYPE")||v.startsWith("<html")||v.startsWith("<HTML"))throw new s$("Mesher URL returned HTML (wrong path, redirect, or SPA fallback), not JavaScript: ".concat(o),{phase:"fetch",code:"invalid-body",hint:"html"});M.length>0&&!/javascript|ecmascript/i.test(M)&&console.warn("[mesher preload] Unexpected Content-Type for mesher.js:",M,o);try{y=new Worker(o)}catch(e){throw A=e instanceof Error?e.message:String(e),new s$("Could not construct Worker for mesher (".concat(o,"): ").concat(A),{phase:"worker",code:"construct-failed",message:A})}return[4,new Promise(function(e,t){var onMessage=function(e){isMcWebPong(e.data)&&done()},onError=function(e){fail(new s$("Mesher worker script failed to load or threw during startup: ".concat(e.message||"unknown"," @ ").concat(o),{phase:"worker",code:"script-error",message:e.message}))},onMessageError=function(){fail(new s$("Mesher worker message channel error (structured clone / deserialization). URL: ".concat(o),{phase:"ping",code:"messageerror"}))},n=!1,r=window.setTimeout(function(){n||(n=!0,cleanup(),t(new s$("Mesher worker did not reply with mc-web-pong within ".concat(a,"ms (wrong script, SW stale cache, worker blocked, or COEP/CORP). URL: ").concat(o),{phase:"ping",code:"timeout"})))},a),cleanup=function(){clearTimeout(r);var e=y;y=void 0,e&&(e.removeEventListener("message",onMessage),e.removeEventListener("error",onError),e.removeEventListener("messageerror",onMessageError),e.terminate())},done=function(){n||(n=!0,cleanup(),e())},fail=function(e){n||(n=!0,cleanup(),t(e))};y.addEventListener("message",onMessage),y.addEventListener("error",onError),y.addEventListener("messageerror",onMessageError);try{y.postMessage({type:"mc-web-ping",t:performance.now(),workerIndex:0})}catch(e){var i=e instanceof Error?e.message:String(e);fail(new s$("Failed to post mc-web-ping to mesher worker: ".concat(i),{phase:"ping",code:"post-failed",detail
1:i}))}})];case 9:return b.sent(),[2]}})})).apply(this,arguments)}var s0=n(78833),getAllInfoLines=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Object.fromEntries(Object.entries(e).map(function(e){var t=(0,eO._)(e,2),n=t[0],r=t[1];return"function"==typeof r&&(r=r()),"number"==typeof r&&(r=r.toFixed(2)),[(0,rQ.noCase)(n),r]}));if(t)for(var r in n)"fpsAveragePrediction"!==r&&"fpsAverageReal"!==r&&delete n[r];return Object.entries(n).map(function(e){var n=(0,eO._)(e,2),r=n[0],a=n[1];return"".concat(r).concat(t?" (delayed)":"",": ").concat(a)})},s1={default:{urlZip:"https://bucket.mcraft.fun/Future CITY 4.4-slim.zip",spawn:[-133,87,309]},dir:{urlDir:["https://bucket.mcraft.fun/Greenfield%20v0.5.1/map-index.json","https://mcraft-proxy.vercel.app/0/bucket.mcraft.fun/Greenfield%20v0.5.1/map-index.json"]},replay:{replayFileUrl:"https://raw.githubusercontent.com/zardoy/mcraft-fun-replays/refs/heads/main/hypepixel-tnt-lobby.worldstate.txt"}};Error.stackTraceLimit=Error.stackTraceLimit<30?30:Error.stackTraceLimit;var s3="benchmark-backup",s2=(em=(0,eE._)(function(){var e,t,n,r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,y,A,b,_,L=arguments;return(0,eB.Jh)(this,function(C){switch(C.label){case 0:if(e=L.length>0&&void 0!==L[0]?L[0]:5,(n=eU.EX.openBenchmark)&&"1"!==n&&"true"!==n&&"zip"!==n||(n="default"),sessionStorage.getItem(s3))return a=JSON.stringify(JSON.parse(sessionStorage.getItem(s3)),null,2),(0,tM.d8)("Either other tab with benchmark is open or page crashed. Last data backup is downloaded. Reload page to retry."),(o=document.createElement("a")).href="data:text/plain;charset=utf-8,"+encodeURIComponent(a),o.download="benchmark-".concat(null==(r=appViewer.backend)?void 0:r.id,".txt"),o.click(),sessionStorage.removeItem(s3),[2];if(!(i=eU.EX.benchmarkMapZipUrl?{urlZip:eU.EX.benchmarkMapZipUrl,spawn:eU.EX.benchmarkPosition?eU.EX.benchmarkPosition.split(",").map(Number):s1.default.spawn}:s1[n]))return(0,tM.d8)("Benchmark fixture ".concat(n," not found")),[2];return s=0,l=0,c=0,setInterval(function(){var e,t,n=null==(t=window.performance)||null==(e=t.memory)?void 0:e.usedJSHeapSize;n&&(s=(s*l+n)/(l+1),l++,n>c&&(c=n))},200),u=0,d=void 0,w=0,p=0,h=function(){p++,requestAnimationFrame(h)},requestAnimationFrame(h),setInterval(function(){u=(u*w+p)/(w+1),w++,d=void 0===d?p:Math.min(d,p),p=0},1e3),v="".concat(null!=(m=null!=(g=null!=(M=i.urlZip)?M:null==(t=i.urlDir)?void 0:t.join("|"))?g:i.replayFileUrl)?m:"unknown"),i.spawn&&(v+=" - ".concat(i.spawn.join(" "))),v+=" - ".concat(e),(0,tM.d8)("Benchmark requested... Getting screen refresh rate"),[4,new Promise(function(e){setTimeout(e,1e3)})];
1case 1:C.sent(),C.label=2;case 2:return y=0,A=setInterval(function(){if(window.world){var e=JSON.parse(JSON.stringify(window.benchmarkAdapter));e.timePassed=((Date.now()-y)/1e3).toFixed(2),sessionStorage.setItem(s3,JSON.stringify(e))}},500),[4,(0,tZ.iG)()];case 3:return b=C.sent(),_={get fixture(){return v},get worldLoadTimeSeconds(){return window.worldLoadTime},get mesherWorkersCount(){return window.world.worldRendererConfig.mesherWorkers},get mesherProcessAvgMs(){return window.world.workersProcessAverageTime},get mesherProcessTotalMs(){return window.world.workersProcessAverageTime*window.world.workersProcessAverageTimeCount},get mesherProcessWorstMs(){return window.world.maxWorkersProcessTime},get chunksFullInfo(){var j,D,x;return null!=(x=null!=(D=appViewer.nonReactiveState.world.chunksFullInfo)?D:null==(j=window.world)?void 0:j.chunksFullInfo)?x:"-"},get averageRenderTimeMs(){return window.world.renderTimeAvg},get worstRenderTimeMs(){return window.world.renderTimeMax},get fpsAveragePrediction(){return 1e3/window.world.renderTimeAvg},get fpsWorstPrediction(){return 1e3/window.world.renderTimeMax},get fpsAverageReal(){return"".concat(window.world.fpsAverage.toFixed(0)," / ").concat(b)},get fpsWorstReal(){var k;return null!=(k=window.world.fpsWorst)?k:-1},get backendInfoReport(){return window.world.backendInfoReport},get fpsAverageMainThread(){return u},get fpsWorstMainThread(){return null!=d?d:-1},get memoryUsageAverage(){return(0,ik.Z)(s)},get memoryUsageWorst(){return(0,ik.Z)(c)},get gpuInfo(){return appViewer.rendererState.renderer},get hardwareConcurrency(){return navigator.hardwareConcurrency},get userAgent(){return navigator.userAgent},clientVersion:"".concat("v2.3.0"," ").concat("2026-09-08T05"," ").concat("/releases/v2.3.0")},window.benchmarkAdapter=_,tr.hI.value.add("renderDistance"),tr.YM.renderDistance=e,tr.hI.value.add("renderDebug"),tr.YM.renderDebug="advanced",tr.hI.value.add("waitForChunksRender"),tr.YM.waitForChunksRender=!1,iN(i.urlZip,void 0,i.urlDir,i.replayFileUrl,{connectEvents:{serverCreated:function(){i.spawn&&(localServer.spawnPoint=(0,s0._)(eK.Vec3,(0,eW._)(i.spawn)),localServer.on("newPlayer",function(e){e.on("dataLoaded",function(){e.position=(0,s0._)(eK.Vec3,(0,eW._)(i.spawn)),y=Date.now()})}))}}}),document.addEventListener("cypress-world-ready",function(){clearInterval(A),sessionStorage.removeItem(s3);var e=getAllInfoLines(window.benchmarkAdapter),downloadFile=function(){var t,n=document.createElement("a");n.href="data:text/plain;charset=utf-8,"+encodeURIComponent(e.join("\n")),n.download="benchmark-".concat(null==(t=appViewer.backend)?void 0:t.id,".txt"),n.click()};eU.EX.downloadBenchmark&&downloadFile();var t=document.createElement("div");t.style.position="fixed",t.style.top="20px",t.style.right="10px",t.style.backgroundColor="rgba(0,0,0,0.8)",t.style.color="white",t.style.padding="10px",t.style.zIndex="1000",t.style.fontFamily="monospace",t.style.maxWidth="80%",t.style.maxHeight="90vh",t.style.overflow="auto",t.id="benchmark-panel";var n=document.createElement("button");n.textContent="Download Results",n.style.marginBottom="10px",n.style.padding="5px 10px",n.style.backgroundColor="#4CAF50",n.style.color="white",n.style.border="none",n.style.borderRadius="4px",n.style.cursor="pointer",n.onclick=downloadFile,t.appendChild(n);var r=document.createElement("pre");r.style.whiteSpace="pre-wrap",r.style.wordBreak="break-word",t.appendChild(r),r.textContent=e.join("\n"),document.body.appendChild(t)}),[2]}})}),function(){return em.apply(this,arguments)});if(window.addEventListener("beforeunload",function(){sessionStorage.removeItem(s3)}),document.addEventListener("pointerlockchange",function(e){var t=document.querySelector("#benchmark-panel");t&&(t.hidden=!!document.pointerLockElement)}),(0,td.Ld)(ta.M,function(){var e=document.querySelector("#benchmark-panel");e&&ta.M.length>1&&(e.hidden=!0)}),window.debug=eZ(),sj||aN(),sj&&n.e("828").then(n.bind(n,50728)),sH().then(function(){aF.serviceWorkerLoaded=!0}),getCollisionInteractionShapes(),(0,r3.ZP)(),(0,ni.YT)(),customChannels(),"2"===eU.EX.testCrashApp)throw Error("test");function hideCurrentScreens(){var e=ta.M.find(function(e){return"app-status"===e.reactType}),t=ta.M.filter(function(t){return t===e||"voice-chat-consent"===t.reactType});ta.eJ["main-menu"]=ta.M.filter(function(e){return!t.includes(e)}),(0,ta.w6)("",t)}var loadSingleplayer=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=(null!=(e=eU.TK.serverSetting)?e:[]).map(function(e){return e.split(":")}).reduce(function(e,t){var n=(0,eO._)(t,2),r=n[0],a=n[1];return e[r]=JSON.parse(a),e},{});src_connect((0,eI._)({singleplayer:!0,username:tr.YM.localUsername,serverOverrides:t,serverOverridesFlat:(0,eP._)((0,eI._)({},n,a),{chunkTemplate:eU.EX.chunkTemplate,blockMap:eU.EX.chunkTemplateBlockMap})},r))};function src_connect(e){return _connect.apply(this,arguments)}function _connect(){return(_connect=(0,eE._)(function(e){var t,n,r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,y,A,b,_,L,C,j,D,x,k,T,N,S,z,q,E,I,P,Y,O,R,B,U,Q,F,W,V,J,G,H,Z,K,X,$,ee,et,en,er,ea,eo,ei,es,el,ec,eu,ed,ef,ew,ep;return(0,eB.Jh)(this,function(U){var en,eh,eM,eg;switch(U.label){case 0:if(ta.N_.gameLoaded)return[2];if(!sessionStorage.delayLoadUntilFocus)return[3,2];return[4,new Promise(function(e){document.hasFocus()?e(void 0):window.addEventListener("focus",e)})];case 1:U.sent(),U.label=2;case 2:if(!sessionStorage.delayLoadUntilClick)return[3,4];return[4,new Promise(function(e){window.addEventListener("click",e)})];case 3:U.sent(),U.label=4;case 4:(0,ta.om)(),rX.ou.showReconnect=!1,iR.a.loading=!0,iR.a.start=Date.now(),ta.N_.hasErrors=!1,ta.N_.hadConnected=!1,tM.Pc.value=e,tM.Pc.hadWorldLoaded=!1,n=e.singleplayer,r=!!e.peerId,ta.N_.singleplayer=n,ta.N_.flyingSquid=n||r,n||r||!e.server||!1===e.saveServerToHistory||(a=parse
1ServerAddress(e.server),(0,oz.o)(a.host,e.botVersion)),o=tr.YM.renderDistance,s={host:(i=parseServerAddress(e.server)).host,port:i.port},(null==(t=e.proxy)?void 0:t.startsWith(":"))&&(e.proxy="".concat(location.protocol,"//").concat(location.hostname).concat(e.proxy)),e.proxy&&"80"!==location.port&&"443"!==location.port&&!/:\d+$/.test(e.proxy)&&(l=e.proxy.startsWith("https://")||"https:"===location.protocol,e.proxy="".concat(e.proxy,":").concat(l?443:80)),u={host:(c=parseServerAddress(e.proxy,!1)).host,port:c.port},d=e.username,e.server&&console.log("connecting to ".concat(s.host,":").concat(null!=(w=s.port)?w:25565)),console.log("using player username",d),p=(0,nh.xC)(),h=e.server?"Connecting to server":"Logging in",p.beginStage("connect",h),M=!1,m=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!M){iR.a.loading=!1;var n=eU.EX.alwaysReconnect;(!t&&(null==(e=ta.N_.appConfig)?void 0:e.allowAutoConnect)&&eU.EX.autoConnect&&tM.Pc.hadWorldLoaded||n)&&("quick"===n||"fast"===n?(0,rX.kh)():location.reload()),_.abort(),M=!0,p.end(),g.end(),g.emit("end",""),ta.N_.disconnectedCleanup={callback:function(){appViewer.resetBackend(!0),D=window.localServer=window.server=void 0,ta.rl.viewerConnection=!1,g&&(g.removeAllListeners(),g._client.removeAllListeners(),g._client={write:function(e){console.warn("Tried to write packet",e,"after bot was destroyed")}},window.bot=g=void 0),v()},date:Date.now(),wasConnected:ta.N_.hadConnected}}},v=function(){n&&!t8.RL.inMemorySave&&(0,r1.hz)(function(){})},y=void 0,A=function(){y&&(null==g?void 0:g._client)&&g._client.state!==ny.states.PLAY&&(rX.ou.descriptionHint="Last Server Packet: ".concat(y))},b=function(e,t){if(console.error("[".concat(t,"]"),e),!("ResizeObserver loop completed with undelivered notifications."===e||String(e).includes("sourceMappingURL"))){if((0,nQ.x)())throw e;if(ta.N_.hasErrors=!0,!ta.N_.gameLoaded){var n=ta.M.findIndex(function(e){return"app-status"===e.reactType}),r=!0,a=!1,o=void 0;try{for(var i,s=ta.M.slice(n)[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=i.value;(0,ta.VG)(l)}}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}(0,tM.d8)((0,tM.d5)(t,e),!0),rX.ou.showReconnect=!0,A(),m()}}},_=new AbortController,window.addEventListener("unhandledrejection",function(e){var t,n;!("ServerPluginLoadFailure"===e.reason.name&&confirm("Failed to load server plugin ".concat(e.reason.pluginName," (invoking ").concat(e.reason.pluginMethod,"). Continue?")))&&(null!=(n=e.reason)&&null!=(t=n.stack)&&t.includes("chrome-extension://")||b(e.reason,"Unhandled promise rejection"))},{signal:_.signal}),window.addEventListener("error",function(e){var t=rX.ou.status;setTimeout(function(){var n;rX.ou.status!==t||ta.N_.gameLoaded||b(null!=(n=e.error)?n:e.message,"Uncaught window error")},1e4)},{signal:_.signal}),!e.server||e.viewerWsConnect||i.isWebSocket||(console.log("using proxy ".concat(u.host,":").concat(u.port||location.port)),n9.setProxy({hostname:u.host,port:u.port,headers:{Authorization:"Bearer ".concat(null!=(C=new URLSearchParams(location.search).get("token"))?C:"")},artificialDelay:eU.EX.addPing?Number(eU.EX.addPing):void 0})),j=function(){},k=void 0,U.label=5;case 5:return U.trys.push([5,31,,32]),[4,p.executeWithMessage("Loading mesher","preload-mesher",preloadMesherWorkerScript)];case 6:return U.sent(),Object.assign(S=(0,sF.Z)({},null!=(N=e.serverOverrides)?N:{},tr.YM.localServerOptions,of()),null!=(z=e.serverOverridesFlat)?z:{}),[4,p.executeWithMessage("Downloading Minecraft data","download-mcdata",(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return iR.a.networkOnlyStart=Date.now(),e=[],t=function(t,n){n?e=e.filter(function(e){return e!==t}):e.push(t),p.setSubStage("download-mcdata","(".concat(e.join(", "),")"))},[4,Promise.all([(0,n7.downloadAllMinecraftData)(t),(0,n7.downloadOtherGameData)(t)])];case 1:return n.sent(),iR.a.networkOnlyStart=0,[2]}})}))];case 7:if(U.sent(),q=!1,en=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if(q)return[2];return q=!0,appViewer.resourcesManager.currentConfig={version:e,texturesVersion:tr.YM.useVersionsTextures||void 0},[4,p.executeWithMessage("Processing downloaded Minecraft data",(0,eE._)(function(){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,(0,n7.loadMinecraftData)(e)];case 1:return t.sent(),[4,appViewer.resourcesManager.loadSourceData(e)];case 2:return t.sent(),[2]}})}))];case 1:return t.sent(),[4,p.executeWithMessage("Applying user-installed resource pack",(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,ni.cj)(!0)];case 1:return t.sent(),[3,3];case 2:if(console.error(e=t.sent()),!confirm("Failed to apply texture pack. See errors in the console. Continue?"))throw e;return[3,3];case 3:return[2]}})}))];case 2:return t.sent(),[4,p.executeWithMessage("Preparing textures",(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,appViewer.resourcesManager.updateAssetsData({})];case 1:return e.sent(),[2]}})}))];case 3:return t.sent(),[2]}})}),E=function(e){return en.apply(this,arguments)},I=e.botVersion||(n?S.version:void 0),(P=function(e){if(e&&(0,rF.U)(e)>=(0,rF.U)(aj.iD))throw new rb.g("Version ".concat(e," is not supported due to critical world display issues. Please use version ").concat(aj.iD," or earlier."))})(I),e.worldStateFileContents){try{x=(0,nM.jg)(e.worldStateFileContents)}catch(e){throw console.error(e),new rb.g("Failed to start local replay server: ".concat(e))}I=x.version,P(I)}if(!n)return[3,12];
1if(!((R=new URLSearchParams(location.search).getAll("serverPlugin")).length>0&&!S.worldFolder))return[3,9];return console.log("Placing server plugins",R),null!=(B=S).worldFolder||(B.worldFolder="/temp"),[4,og("/temp",R)];case 8:U.sent(),console.log("Server plugins placed"),U.label=9;case 9:if(D=window.localServer=window.server=startLocalServer(S),null==e||null==(O=e.connectEvents)||null==(Y=O.serverCreated)||Y.call(O),D.pluginsReady)return[3,11];return[4,p.executeWithMessage("Starting local server",(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,new Promise(function(e){D.once("pluginsReady",e)})];case 1:return e.sent(),[2]}})}))];case 10:U.sent(),U.label=11;case 11:D.on("newPlayer",function(e){e.on("loadingStatus",function(e){p.setMessage(e)})}),flyingSquidEvents(),U.label=12;case 12:if(e.authenticatedAccount&&(d="you"),!n)return[3,13];return Q="Local server is still starting",[3,18];case 13:if(!r)return[3,14];return Q="Connecting to peer",[3,18];case 14:if(!e.server)return[3,17];if(I)return[3,16];return F=(0,n7.getVersionAutoSelect)(),W=(0,nh.Iz)(p,"Fetching server version. Preffered: ".concat(F)),iR.a.networkOnlyStart=Date.now(),[4,rx(s.host,s.port?Number(s.port):void 0,F)];case 15:V=U.sent(),W.end(),I=V.version,P(I),U.label=16;case 16:return Q="Connecting to server ".concat(s.host,":").concat(null!=(J=s.port)?J:25565," with version ").concat(I),[3,18];case 17:Q=e.viewerWsConnect?"Connecting to Mineflayer WebSocket server ".concat(e.viewerWsConnect):e.worldStateFileContents?"Loading local replay server"
1:"We have no idea what to do",U.label=18;case 18:if(p.setMessage(Q),!i.isWebSocket)return[3,20];return iR.a.networkOnlyStart=Date.now(),[4,rC(s.host)];case 19:L=U.sent().mineflayerStream,U.label=20;case 20:if(G=null,H="object"===(0,eR._)(e.authenticatedAccount)?e.authenticatedAccount.cachedTokens:{},!e.authenticatedAccount)return[3,22];return[4,(0,rq.Z)({tokenCaches:H,proxyBaseUrl:e.proxy,setProgressText:function(e){p.setMessage(e)},setCacheResult:function(e){G=e},connectingServer:s.host})];case 21:Z=U.sent(),U.label=22;case 22:if(!r)return[3,24];return[4,a6(e.peerId,e.peerOptions)];case 23:L=U.sent(),U.label=24;case 24:if(!e.viewerWsConnect)return[3,28];return[4,oD(e.viewerWsConnect)];case 25:if(X=(K=U.sent()).version,$=K.time,K.requiresPass&&!(ee=prompt("Enter password")))throw new rb.g("Password is required");return console.log("Latency:",Date.now()-$,"ms"),P(I=X),[4,E(X)];case 26:return U.sent(),(0,tM.d8)("Connecting to WebSocket server ".concat(e.viewerWsConnect)),[4,ok(e.viewerWsConnect)];case 27:L=U.sent().clientDuplex,ee&&L.write(ee),ta.rl.viewerConnection=!0,U.label=28;case 28:if(!I)return[3,30];return null!=(et=iR.a).networkOnlyStart||(et.networkOnlyStart=Date.now()),[4,E(I)];case 29:U.sent(),U.label=30;case 30:return er=L?"minecraft-web-client":void 0,g=sQ().createBot((0,eP._)((0,eI._)({host:s.host,port:s.port?+s.port:void 0,brand:er,version:I||!1},L?{stream:L}:{},n||r||x?{keepAlive:!1}:{},n?{version:S.version,connect:function(){},Client:sG.Z}:{},x?{connect:function(){},Client:sG.Z}:{}),{onMsaCode:function(e){st.code=e.user_code,st.link=e.verification_uri,st.expiresOn=Date.now()+1e3*e.expires_in},sessionServer:null==Z||null==(T=Z.sessionEndpoint)?void 0:T.toString(),auth:e.authenticatedAccount?(eh=(0,eE._)(function(t,n){return(0,eB.Jh)(this,function(r){switch(r.label){case 0:Z.setOnMsaCodeCallback(n.onMsaCode),null==Z||Z.setConnectingVersion(t.version),t.authflow=Z.authFlow,r.label=1;case 1:return r.trys.push([1,,3,4]),st.abortController=(0,td.iH)(new AbortController),[4,Promise.race([rz().authenticate(t,n),new Promise(function(e,t){st.abortController.signal.addEventListener("abort",function(){t(new rb.g("Aborted by user"))})})])];case 2:return r.sent(),st.shouldSaveToken?((0,oz.ky)(function(e){var n=e.find(function(e){return e.username===t.username});return n?n.cachedTokens=(0,eI._)({},n.cachedTokens,G):e.push({username:t.username,cachedTokens:(0,eI._)({},H,G)}),e}),j=function(){(0,oz.Mf)(function(e){return(0,eP._)((0,eI._)({},e),{authenticatedAccountOverride:t.username})},e.serverIndex)}):j=function(){(0,oz.Mf)(function(e){return(0,eP._)((0,eI._)({},e),{authenticatedAccountOverride:void 0})},e.serverIndex)},(0,tM.d8)("Authentication successful. Logging in to server"),[3,4];case 3:return st.code="",[7];case 4:return[2]}})}),function(e,t){return eh.apply(this,arguments)}):void 0,username:d,viewDistance:o,checkTimeoutInterval:24e4,closeTimeout:24e4,respawn:tr.YM.autoRespawn,maxCatchupTicks:0,"mapDownloader-saveToFile":!1})),window.bot=g,e.viewerWsConnect&&oN(),customEvents.emit("mineflayerBotCreated"),n||r||x?((n||r)&&(ea=g.supportFeature,g.supportFeature=function(e){return!sJ.includes(e)&&ea(e)}),g.emit("inject_allowed"),g._client.emit("connect")):L?g._client.emit("connect"):(eo=function(){g._client.socket.handleStringMessage=function(e){return!(e.startsWith("proxy-message")||e.startsWith("proxy-command:"))&&(!e.startsWith("proxy-shutdown:")||(console.log("Got current connection proxy shutdown message",e),k=e.slice(15),!1))};var closeUnknownReason=function(){g&&!M&&g.emit("end",null!=k?k:"WebSocket connection closed with unknown reason")};g._client.socket.on("connect",function(){console.log("Proxy WebSocket connection established"),g._client.socket._ws.addEventListener("close",function(){console.log("WebSocket connection closed"),setTimeout(function(){closeUnknownReason()},1e3)}),g._client.socket.on("close",function(){setTimeout(function(){closeUnknownReason()})})})},g._client.socket?eo():(ei=g._client.setSocket.bind(g._client),g._client.setSocket=function(e){g&&(ei(e),eo())})),[3,32];case 31:return es=U.sent(),b(es,"Connection setup error"),[3,32];case 32:if(!g)return[2];return el=r?setTimeout(function(){throw new rb.g("Spawn timeout. There might be error on the other side, check console.")},2e4):void 0,g.on("error",function(e){return b(e,"Mineflayer error")}),g.on("kicked",function(e){console.log("You were kicked!",e);var t=(0,a8.$)(e),n=t.formatted,r=t.plain,a=!0,o=!1,i=void 0;try{for(var s,l=ta.M[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;(0,ta.VG)(c)}}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}(0,tM.d8)("The Minecraft server kicked you. Kick reason: ".concat(r),!0,void 0,void 0,n),rX.ou.showReconnect=!0,m(!0)}),ec=function(e,t,n,r){y=r.toString()},g._client.on("packet",ec),eu=function(e){"play"===e&&g._client.removeListener("packet",ec)},g._client.on("state",eu),g.on("end",function(e){if(!M){console.log("disconnected for",e),"socketClosed"===e&&(e=null!=k?k:"Connection with proxy server lost");var t=!0,n=!1,r=void 0;try{for(var a,o=ta.M[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value;(0,ta.VG)(i)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}if((0,tM.d8)("You have been disconnected from the server. End reason:\n".concat(e),!0),rX.ou.showReconnect=!0,A(),m(),(0,nQ.x)())throw Error("disconnected: ".concat(e))}}),onBotCreate(),g.once("login",function(){ta.N_.hadConnected=!0,_.abort(),iR.a.networkOnlyStart=0,p.setMessage("Loading world")}),ed=!1,eM=(0,eE._)(function(e){return(0,eB.Jh)(this,function(t){switch(t.label){case 0:return[4,new Promise(function(t){if(ed)return void t();var n=(0,td.Ld)(appViewer.rendererState,function(){if(appViewer.rendererState.world.allChunksLoaded&&appViewer.nonReactiveState.world.chunksTotalNumber)ed=!0,t(),n();else{var r=Math.round(Object.keys(appViewer.rendererState.world.chunksLoaded).length/appViewer.nonReactiveState.world.chunksTotalNumber*100);null==e||e.reportProgress("chunks",r/100)}})})];case 1:return t.sent(),[2]}})}),ef=function(e){return eM.apply(this,arguments)},ew=!n&&!r,eg=(0,eE._)(function(){var t,r,a,i,s,l,c,u,d;return(0,eB.Jh)(this,function(w){switch(w.label){case 0:if(!ni.E3.isServerInstalling)return[3,3];return[4,new Promise(function(e){(0,td.Ld)(ni.E3,function(){ni.E3.isServerInstalling||e()})})];case 1:return w.sent(),[4,appViewer.resourcesManager.promiseAssetsReady];case 2:w.sent(),w.label=3;case 3:if(rX.ou.isError)return[2];if(null==(t=appViewer.resourcesManager.currentResources)?void 0:t.itemsRenderer)return[3,5];return[4,appViewer.resourcesManager.updateAssetsData({})];case 4:w.sent(),w.label=5;case 5:i=Date.now(),console.log("try to focus window"),null==(r=(a=window).focus)||r.call(a),ef().then(function(){window.worldLoadTime=(Date.now()-i)/1e3,console.log("All chunks done and ready! Time from renderer connect to ready",(Date.now()-i)/1e3,"s"),document.dispatchEvent(new Event("cypress-world-ready"))}),w.label=6;case 6:return w.trys.push([6,9,,10]),el&&clearTimeout(el),nj.reactive.onlineMode=!!e.authenticatedAccount,p.setMessage("Placing blocks (starting viewer)"),!e.worldStateFileContents||e.worldStateFileContents.length<3145728?localStorage.lastConnectOptions=JSON.stringify(e):localStorage.removeItem("lastConnectOptions"),null==(s=e.onSuccessfulPlay)||s.call(e),j(),(l=(0,oz.x2)())&&setTimeout(function(){g.chat("/login ".concat(l)),(0,oS.gL)({password:l,mode:"login",source:"manual",preSaved:!0}
1)},500),console.log("bot spawned - starting viewer"),[4,appViewer.startWorld(g.world,o)];case 7:var h;if(w.sent(),appViewer.backend&&appViewer.worldView.init(g.entity.position,g),initMotionTracking(),c=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];appViewer.lastCamUpdate=Date.now(),null==(e=appViewer.backend)||e.updateCamera(g.entity.position,g.entity.yaw,g.entity.pitch,{movementMode:getCameraMovementMode(g),instant:n}),null==(t=appViewer.worldView)||t.updatePosition(g.entity.position)},g.on("move",function(){return c()}),g.on("forcedMove",function(){return c(!0)}),g.on("mount",function(){var e;shouldSnapCameraOnMount(null==(e=g.vehicle)?void 0:e.name)&&c(!0)}),c(),p.setMessage("Setting callbacks"),(0,tu.GW)(),rX.ou.isError)return[2];return h=(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:if("1"===eU.EX.sp||(e="sp-only"===tr.YM.waitForChunksRender?!!n:tr.YM.waitForChunksRender,!appViewer.backend||appViewer.rendererState.world.allChunksLoaded||!e))return[2];return[4,p.executeWithMessage("Loading chunks","chunks",(0,eE._)(function(){return(0,eB.Jh)(this,function(e){switch(e.label){case 0:return[4,ef(p)];case 1:return e.sent(),[2]}})}))];case 1:return t.sent(),[2]}})}),[4,function(){return h.apply(this,arguments)}()];case 8:return w.sent(),setTimeout(function(){eU.EX.suggest_save&&(0,tv.c0)("Suggestion","Save the world to keep your progress!",!1,void 0,(0,eE._)(function(){var e,t;return(0,eB.Jh)(this,function(n){switch(n.label){case 0:return[4,iU()];case 1:if(!(e=n.sent()))return[2];return t=e.split("/").pop(),g.end(),location.search="loadSave=".concat(t),[2]}})}))},600),ta.N_.gameLoaded=!0,ta.N_.loadedServerIndex=null!=(u=e.serverIndex)?u:"",customEvents.emit("gameLoaded"),eU.EX.testIosCrash&&setTimeout(function(){console.log("Starting iOS crash test with memory pressure...");var e=[];try{for(;;){var t=Array.from({length:1048576}).fill(0).map(function(e,t){return t});e.push(t)}}catch(e){console.error("Memory allocation failed:",e)}},1e3),p.end(),(0,tM.d8)(void 0),hideCurrentScreens(),[3,10];case 9:return d=w.sent(),b(d,"World load error"),[3,10];case 10:return tM.Pc.hadWorldLoaded=!0,[2]}})}),ep=function(){return eg.apply(this,arguments)},g.once(ew?"forcedMove":"health",ep),n&&e.serverOverrides.worldFolder&&(t8.RL.saveLoaded=!0),e.ignoreQs||customEvents.on("gameLoaded",function(){var e=null!=(a=eU.TK.command)?a:[],t=!0,n=!1,r=void 0;try{for(var a,o,i=e[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){var s=o.value;s.startsWith("/")||(s="/".concat(s)),tryHandleBuiltinCommand(s)||g.chat(s)}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}}),[2]}})})).apply(this,arguments)}if(window.addEventListener("connect",function(e){src_connect(e.detail)}),window.addEventListener("singleplayer",function(e){var t=e.detail,n=t.connectOptions;loadSingleplayer((0,eY._)(t,["connectOptions"]),{},n)}),document.body.addEventListener("touchend",function(e){(0,ta.z7)(!0)&&(null==ez?void 0:ez.touch.identifier)===e.changedTouches[0].identifier&&(Date.now()-ez.start>500?ez.elem.dispatchEvent(new Event("longtouch",{bubbles:!0})):ez.elem.click(),ez=void 0)}),document.body.addEventListener("touchstart",function(e){var t=e.target.closest("#ui-root");if((0,ta.z7)(!0)&&t){e.preventDefault();var n=e.composedPath(),r=!0,a=!1,o=void 0;try{for(var i,s,l=n[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var c=s.value;if(c.click){i=c;break}}}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}i&&(ez={touch:e.touches[0],elem:i,start:Date.now()})}},{passive:!1}),!sj)try{!function(){var waitForConfigFsLoad=function(e){var t,checkDone=function(){return!!ta.N_.fsReady&&!!ta.N_.appConfig&&(e(),null==t||t(),!0)};if(!checkDone()){var n=ta.N_.appConfig?"Loading":"Loading config";(0,tM.d8)(n),t=(0,td.Ld)(ta.N_,checkDone)}},e=sessionStorage.getItem("reconnectOptions")?JSON.parse(sessionStorage.getItem("reconnectOptions")):void 0;if(e&&(sessionStorage.removeItem("reconnectOptions"),Date.now()-e.timestamp<12e4))return waitForConfigFsLoad((0,eE._)(function(){return(0,eB.Jh)(this,function(t){return src_connect(e.value),[2]})}));if(eU.EX.reconnect&&localStorage.lastConnectOptions,"1"===eU.EX.singleplayer||"1"===eU.EX.sp)return waitForConfigFsLoad((0,eE._)(function(){return(0,eB.Jh)(this,function(e){return loadSingleplayer({},(0,eI._)({worldFolder:void 0},eU.EX.version?{version:eU.EX.version}:{})),[2]})}));if(eU.EX.loadSave)return waitForConfigFsLoad((c=(0,eE._)(function(){var e;return(0,eB.Jh)(this,function(t){switch(t.label){case 0:e="/data/worlds/".concat(eU.EX.loadSave),t.label=1;case 1:return t.trys.push([1,4,,5]),[4,eJ().promises.stat(e)];case 2:return t.sent(),[4,oc(e)];case 3:return t.sent(),[3,5];case 4:return t.sent(),alert("Save ".concat(e," not found")),[3,5];case 5:return[2]}})}),function(){return c.apply(this,arguments)}));if(eU.EX.ip||eU.EX.proxy)return waitForConfigFsLoad(function(){var e,t;if(eU.EX.autoConnect&&(null==(e=ta.N_.appConfig)?void 0:e.allowAutoConnect))return void src_connect({server:eU.EX.ip,proxy:getCurrentProxy(),botVersion:null!=(t=eU.EX.version)?t:void 0,username:getCurrentUsername()});(0,tM.d8)(void 0),eU.EX.onlyConnect?(0,ta.K4)({reactType:"only-connect-server"}):(0,ta.K4)({reactType:"editServer"})});if(eU.EX.connectPeer){var t=eU.EX.connectPeer,n={};eU.EX.server&&(n.server=eU.EX.server);var r=eU.EX.peerVersion,a=tr.YM.guestUsername;if(tr.YM.askGuestName&&(a=prompt("Enter your username to connect to peer",a)),!a)return;tr.YM.guestUsername=a,src_connect({username:a,botVersion:r||void 0,peerId:t,peerOptions:n});return}if(eU.EX.viewerConnect)return src_connect({username:"viewer-".concat(Math.random().toString(36).slice(2,10)),viewerWsConnect:eU.EX.viewerConnect});if(eU.EX.modal){var o=eU.EX.modal.split(","),i=!0,s=!1,l=void 0;try{for(var c,u,d,w,p=o[Symbol.iterator]();!(i=(w=p.next()).done);i=!0){var h=w.value;(0,ta.K4)({reactType:h})}}catch(e){s=!0,l=e}finally{try{i||null==p.return||p.return()}finally{if(s)throw l}}return}!eU.EX.serversList||(null==(d=ta.N_.appConfig)||null==(u=d.appParams)?void 0:u.serversList)||(0,ta.K4)({reactType:"serversList"}),isInterestedInDownload()&&iS(),oo()}()}catch(e){console.error(e),alert("Something went wrong: ".concat(e))}var s5=document.querySelector(".initial-loader");s5&&(s5.style.opacity="0",s5.style.pointerEvents="none"),window.pageLoaded=!0,sj||appViewer.waitBackendLoadPromises.push(ar()),eU.EX.openBenchmark&&s2(eU.EX.renderDistance?+eU.EX.renderDistance:void 0),window.addEventListener("keydown",function(e){if("Ke
1yB"===e.code&&e.shiftKey&&!ta.N_.gameLoaded&&0===ta.M.length){e.preventDefault();var t=new URL(window.location.href);t.searchParams.set("openBenchmark","true"),window.history.replaceState({},"",t.toString()),s2()}})},391:function(e,t,n){"use strict";n.d(t,{X0:()=>getJeiItems,GW:()=>onGameLoad,xi:()=>getItemRecipes,nb:()=>getItemUsages,Yq:()=>x,HX:()=>openPlayerInventory});var r,a=n(59240),o=n(25763),i=n(81979);n(26980),n(7960),n(46302),n(83902),n(64813),n(96573),n(94244),n(42050),n(40542),n(86070),n(58819),n(72558),n(90804),n(24705),n(53346),n(7611),n(65340),n(2850),n(95790),n(66395),n(56843),n(98474),n(52251),n(27969),n(50183),n(52307),n(8416),n(93118),n(82766),n(37151),n(20142),n(89909),n(24578),n(89437),n(802),n(52895),n(46525),n(83930),n(18369),n(41494),n(66616),n(39222),n(83282),n(59237),n(60353),n(40332),n(72040),n(52768),n(2249),n(55058),n(29127),n(67022),n(56520),n(16461),n(99654),n(22245),n(52437);var s=n(44846),l=n(72960),c=n(36025),u=n(92343),d=n(46290),w=n.n(d),p=n(13047),h=n(30966),M=n(40451),g=n(30367),m=n(80297);n(98719),n(84317),n(8957),n(44792),n(33785),n(9587),n(13278),n(64391),n(86838),n(80062),n(50433),n(97336),n(65855),n(56656),n(42449),n(44982),n(11747),n(96220),n(10591),n(8705),n(79653);var v=new Map;v.set(/_slab$/,function(e){return"Craft it by placing 3 blocks of the material in a row in a crafting table."}),v.set(/_stairs$/,function(e){return"Craft it by placing 6 blocks of the material in a stair shape in a crafting table."}),v.set(/_log$/,function(e){return"You can get it by chopping down a tree. To chop down a tree, hold down the left mouse button until the tree breaks."}),v.set(/_leaves$/,function(e){return"You can get it by breaking the leaves of a tree with a tool that has the Silk Touch enchantment or by using shears."}),v.set(["mangrove_roots"],function(e){return"You can get it by breaking the roots of a mangrove tree."}),v.set(["mud"],"Mud is a block found abundantly in mangrove swamps or created by using a water bottle on a dirt block. It can be used for crafting or converted into clay using pointed dripstone."),v.set(["clay"],"Clay is a block found underwater or created by using a water bottle on a mud block. It can be used for crafting or converted into terracotta using a furnace."),v.set(["terracotta"],"Terracotta is a block created by smelting clay in a furnace. It can be used for crafting or decoration."),v.set(["stone"],"Stone is a block found underground."),v.set(["dirt"],"Dirt is a block found on the surface."),v.set(["sand"],"Sand is a block found on the surface near water."),v.set(["gravel"],"Gravel is a block found on the surface and sometimes underground."),v.set(["sandstone"],"Sandstone is a block found in deserts."),v.set(["red_sandstone"],"Red sandstone is a block found in mesas."),v.set(["granite","diorite","andesite"],function(e){return"".concat(e.charAt(0).toUpperCase()+e.slice(1)," is a block found underground.")}),v.set(["netherrack","soul_sand","soul_soil","glowstone"],function(e){return"".concat(e.charAt(0).toUpperCase()+e.slice(1)," is a block found in the Nether.")}),v.set(["end_stone"],"End stone is a block found in the End."),v.set(["obsidian"],"Obsidian is a block created by pouring water on lava."),v.set(["glass"],"Glass is a block created by smelting sand in a furnace."),v.set(["bedrock"],"Bedrock is an indestructible block found at the bottom of the world in the Overworld and at the top of the world in the Nether."),v.set(["water","lava"],function(e){return"".concat(e.charAt(0).toUpperCase()+e.slice(1)," is a fluid found in the Overworld.")}),v.set(/_sapling$/,function(e){return"".concat(e," drops from the leaves of a tree when it decays or is broken. It can be planted on dirt to grow a new tree.")}),v.set(/^stripped_/,function(e){return"".concat(e," is created by using an axe on the block.")}),v.set(["sponge"],"Sponge is a block found in ocean monuments."),v.set(/^music_disc_/,function(e){return"Music discs are rare items that can be found in dungeons or by trading with villagers. Also dropped by creepers when killed by a skeleton."}),v.set(/^enchanted_book$/,"Enchanted books are rare items that can be found in dungeons or by trading with villagers."),v.set(/_spawn_egg$/,function(e){return"".concat(e," is an item that can be used to spawn a mob in Creative mode. Cannot be obtained in Survival mode.")}),v.set(/_pottery_sherd$/,function(e){return"".concat(e," can be obtained only by brushing suspicious blocks, with the variants of sherd obtainable being dependent on the structure.")}),v.set(["cracked_deepslate_bricks"],"Deepslate Bricks and Cracked Deepslate Bricks generate naturally in ancient cities.");var y=!0,A=!1,b=void 0;try{for(var _,L=Object.entries({air:{obtained_from:"Naturally occurs in the world."},deepslate:{obtained_from:"Mined with a pickaxe in layers -64 to 16.",rarity:"Common"},cobbled_deepslate:{obtained_from:"Mined from deepslate with any pickaxe."},calcite:{obtained_from:"Mined with a pickaxe, found in geodes."},tuff:{obtained_from:"Mined with a pickaxe in layers -64 to 16.",rarity:"Common"},chiseled_tuff:{obtained_from:"Crafted from tuff."},polished_tuff:{obtained_from:"Crafted from tuff."},tuff_bricks:{obtained_from:"Crafted from tuff."},chiseled_tuff_bricks:{obtained_from:"Crafted from tuff bricks."},grass_block:{obtained_from:"Mined with a tool enchanted with Silk Touch."},podzol:{obtained_from:"Mined with a tool enchanted with Silk Touch, found in giant tree taiga biomes."},rooted_dirt:{obtained_from:"Mined with a shovel, found under azalea trees."},crimson_nylium:{obtained_from:"Mined with a pickaxe, found in the Nether."},warped_nylium:{obtained_from:"Mined with a pickaxe, found in the Nether."},cobblestone:{obtained_from:"Mined from stone, or from breaking stone structures."},mangrove_propagule:{obtained_from:"Harvested from mangrove trees."},suspicious_sand:{obtained_from:"Found in deserts and beaches."},suspicious_gravel:{obtained_from:"Found underwater."},red_sand:{obtained_from:"Mined from red sand in badlands biomes."},coal_ore:{obtained_from:"Mined with a pickaxe in layers 0 to 128.",rarity:"Common"},deepslate_coal_ore:{obtained_from:"Mined with a pickaxe in layers -64 to 0.",rarity:"Rare"},iron_ore:{obtained_from:"Mined with a pickaxe in layers 0 to 63.",rarity:"Common"},deepslate_iron_ore:{obtained_from:"Mined with a pickaxe in layers -64 to 0.",rarity:"Uncommon"},copper_ore:{obtained_from:"Mined with a pickaxe in layers 0 to 96.",rarity:"Common"},deepslate_copper_ore:{obtained_from:"Mined with a pickaxe in layers -16 to 64.",rarity:"Uncommon"},gold_ore:{obtained_from:"Mined with a pickaxe in layers -64 to 32.",rarity:"Uncommon"},deepslate_gold_ore:{obtained_from:"Mined with a pickaxe in layers -64 to 0.",rarity:"Rare"},redstone_ore:{obtained_from:"Mined with an iron pickaxe or higher in layers -64 to 16.",rarity:"Uncommon"},deepslate_redstone_ore:{obtained_from:"Mined with an iron pickaxe or higher in layers -64 to 0.",rarity:"Uncommon"},emerald_ore:{obtained_from:"Mined with an iron pickaxe or higher in mountain biomes, layers -16 to 256.",rarity:"Rare"},deepslate_emerald_ore:{obtained_from:"Mined with an iron pickaxe or higher in mountain biomes, layers -64 to 0.",rarity:"Very Rare"},lapis_ore:{obtained_from:"Mined with a stone pickaxe or higher in layers -64 to 32.",rarity:"Uncommon"},deepslate_lapis_ore:{obtained_from:"Mined with a stone pickaxe or higher in layers -64 to 0.",rarity:"Rare"},diamond_ore:{obtained_from:"Mined with an iron pickaxe or higher in layers -64 to 16.",rarity:"Rare"},deepslate_diamond_ore:{obtained_from:"Mined with an iron pickaxe or higher in layers -64 to 0.",rarity:"Very Rare"},nether_gold_ore:{obtained_from:"Mined with any pickaxe in the Nether."},nether_quartz_ore:{obtained_from:"Mined with any pickaxe in the Nether."},ancient_debris:{obtained_from:"Mined with a diamond or netherite pickaxe in the Nether, layers 8 to 22.",rarity:"Very Rare"},budding_amethyst:{obtained_from:"Found in amethyst geodes, cannot be obtained as an item."},exposed_copper:{obtained_from:"Exposed copper block obtained through mining."},weathered_copper:{obtained_from:"Weathered copper block obtained through mining."},oxidized_copper:{obtained_from:"Oxidized copper block obtained through mining."},chiseled_copper:{obtained_from:"Crafted from copper blocks."},exposed_chiseled_copper:{obtained_from:"Exposed chiseled copper block obtained through mining."},weathered_chiseled_copper:{obtained_from:"Weathered chiseled copper block obtained through mining."},oxidized_chiseled_copper:{obtained_from:"Oxidized chiseled copper block obtained through mining."},waxed_chiseled_copper:{obtained_from:"Crafted from copper blocks, waxed to prevent oxidation."},waxed_exposed_chiseled_copper:{obtained_from:"Waxed exposed chiseled copper block obtained through mining."},waxed_weathered_chiseled_copper:{obtained_from:"Waxed weathered chiseled copper block obtained through mining."},waxed_oxidized_chiseled_copper:{obtained_from:"Waxed oxidized chiseled copper block obtained through mining."},crimson_stem:{obtained_from:"Mined from crimson trees in the Nether."}
1,warped_stem:{obtained_from:"Mined from warped trees in the Nether."},stripped_crimson_stem:{obtained_from:"Stripped from crimson stem with an axe."},stripped_warped_stem:{obtained_from:"Stripped from warped stem with an axe."},stripped_bamboo_block:{obtained_from:"Crafted from bamboo."},sponge:{obtained_from:"Found in ocean monuments."},wet_sponge:{obtained_from:"Absorbs water, can be dried in a furnace."},cobweb:{obtained_from:"Mined with a sword or shears, found in mineshafts."},short_grass:{obtained_from:"Sheared from grass."},fern:{obtained_from:"Sheared from ferns in forest biomes."},azalea:{obtained_from:"Found in lush caves."},flowering_azalea:{obtained_from:"Found in lush caves."},dead_bush:{obtained_from:"Mined with shears in desert biomes."},seagrass:{obtained_from:"Sheared from underwater grass."},sea_pickle:{obtained_from:"Mined with shears from coral reefs."},dandelion:{type:"natural",description:"Dandelions are common flowers that spawn in plains, forests, and meadows.",spawn_range:"Surface"},poppy:{type:"natural",description:"Poppies are common flowers that generate in plains, forests, and meadows.",spawn_range:"Surface"},blue_orchid:{type:"natural",description:"Blue orchids spawn naturally in swamp biomes.",spawn_range:"Surface"},allium:{type:"natural",description:"Alliums are flowers that generate in flower forest biomes.",spawn_range:"Surface"},azure_bluet:{type:"natural",description:"Azure bluets are common flowers that spawn in plains and flower forest biomes.",spawn_range:"Surface"},red_tulip:{type:"natural",description:"Red tulips are flowers found in flower forests and plains.",spawn_range:"Surface"},orange_tulip:{type:"natural",description:"Orange tulips are flowers found in flower forests and plains.",spawn_range:"Surface"},white_tulip:{type:"natural",description:"White tulips are flowers found in flower forests and plains.",spawn_range:"Surface"},pink_tulip:{type:"natural",description:"Pink tulips are flowers found in flower forests and plains.",spawn_range:"Surface"},oxeye_daisy:{type:"natural",description:"Oxeye daisies are common flowers that generate in plains and flower forest biomes.",spawn_range:"Surface"},cornflower:{type:"natural",description:"Cornflowers spawn in plains, flower forests, and meadows.",spawn_range:"Surface"},lily_of_the_valley:{type:"natural",description:"Lily of the valleys generate in flower forest biomes.",spawn_range:"Surface"},wither_rose:{type:"dropped",description:"Wither roses are dropped when a mob is killed by the Wither boss.",spawn_range:"N/A"},torchflower:{type:"crafted",description:"Torchflowers can be grown using torchflower seeds, which are found in archeology loot or by trading.",spawn_range:"N/A"},pitcher_plant:{type:"crafted",description:"Pitcher plants can be grown using pitcher pods, which are found in archeology loot or by trading.",spawn_range:"N/A"},spore_blossom:{type:"natural",description:"Spore blossoms generate naturally on the ceilings of lush caves.",spawn_range:"Underground"},brown_mushroom:{type:"natural",description:"Brown mushrooms are found in dark areas, swamps, mushroom fields, and forests.",spawn_range:"Surface"},red_mushroom:{type:"natural",description:"Red mushrooms are found in dark areas, swamps, mushroom fields, and forests.",spawn_range:"Surface"},crimson_fungus:{type:"natural",description:"Crimson fungi generate naturally in crimson forests in the Nether.",spawn_range:"Nether"},warped_fungus:{type:"natural",description:"Warped fungi generate naturally in warped forests in the Nether.",spawn_range:"Nether"},crimson_roots:{type:"natural",description:"Crimson roots generate naturally in crimson forests in the Nether.",spawn_range:"Nether"},warped_roots:{type:"natural",description:"Warped roots generate naturally in warped forests in the Nether.",spawn_range:"Nether"},nether_sprouts:{type:"natural",description:"Nether sprouts generate naturally in warped forests in the Nether.",spawn_range:"Nether"},weeping_vines:{type:"natural",description:"Weeping vines generate naturally in crimson forests in the Nether and grow downward from netherrack.",spawn_range:"Nether"},twisting_vines:{type:"natural",description:"Twisting vines generate naturally in warped forests in the Nether and grow upward from the ground.",spawn_range:"Nether"},sugar_cane:{type:"natural",description:"Sugar cane is found near water in most biomes.",spawn_range:"Surface"},kelp:{type:"natural",description:"Kelp generates underwater in most ocean biomes.",spawn_range:"Water"},pink_petals:{type:"natural",description:"Pink petals generate naturally in cherry grove biomes.",spawn_range:"Surface"},moss_block:{type:"natural",description:"Moss blocks generate in lush caves and can also be obtained through trading or by using bone meal on moss carpets.",spawn_range:"Underground"},hanging_roots:{type:"natural",description:"Hanging roots generate naturally in lush caves.",spawn_range:"Underground"},big_dripleaf:{type:"natural",description:"Big dripleaf plants generate in lush caves and can also be obtained through trading.",spawn_range:"Underground"},small_dripleaf:{type:"natural",description:"Small dripleaf plants generate in lush caves and can also be obtained through trading.",spawn_range:"Underground"},bamboo:{type:"natural",description:"Bamboo generates in jungle biomes, especially bamboo jungles.",spawn_range:"Surface"},smooth_quartz:{type:"crafted",description:"Smooth quartz is obtained by smelting blocks of quartz.",spawn_range:"N/A"},smooth_red_sandstone:{type:"crafted",description:"Smooth red sandstone is obtained by smelting red sandstone.",spawn_range:"N/A"},smooth_sandstone:{type:"crafted",description:"Smooth sandstone is obtained by smelting sandstone.",spawn_range:"N/A"},smooth_stone:{type:"crafted",description:"Smooth stone is obtained by smelting regular stone.",spawn_range:"N/A"},chorus_plant:{type:"natural",description:"Chorus plants generate naturally in the End and can be grown from chorus flowers.",spawn_range:"End"},chorus_flower:{type:"natural",description:"Chorus flowers generate naturally in the End on top of chorus plants.",spawn_range:"End"},spawner:{type:"natural",description:"Spawners generate in dungeons, mineshafts, and other structures.",spawn_range:"Underground"},farmland:{type:"crafted",description:"Farmland is created by using a hoe on dirt or grass blocks.",spawn_range:"N/A"},ice:{type:"natural",description:"Ice generates in snowy and icy biomes and can also be obtained by breaking ice blocks with a Silk Touch tool.",spawn_range:"Surface"},cactus:{type:"natural",description:"Cacti generate naturally in desert biomes.",spawn_range:"Surface"},pumpkin:{type:"natural",description:"Pumpkins generate naturally in most grassy biomes and can also be grown from pumpkin 
1seeds.",spawn_range:"Surface"},carved_pumpkin:{type:"crafted",description:"Carved pumpkins are obtained by using shears on a pumpkin.",spawn_range:"N/A"},basalt:{type:"natural",description:"Basalt generates in the Nether in basalt deltas and can also be created by lava flowing over soul soil next to blue ice.",spawn_range:"Nether"},smooth_basalt:{type:"natural",description:"Smooth basalt is found around amethyst geodes or can be obtained by smelting basalt.",spawn_range:"Underground"},infested_stone:{type:"natural",description:"Infested stone blocks contain silverfish and generate in strongholds, underground.",spawn_range:"Underground"},infested_cobblestone:{type:"natural",description:"Infested cobblestone blocks contain silverfish and generate in strongholds, underground.",spawn_range:"Underground"},infested_stone_bricks:{type:"natural",description:"Infested stone bricks contain silverfish and generate in strongholds, underground.",spawn_range:"Underground"},infested_mossy_stone_bricks:{type:"natural",description:"Infested mossy stone bricks contain silverfish and generate in strongholds, underground.",spawn_range:"Underground"},infested_cracked_stone_bricks:{type:"natural",description:"Infested cracked stone bricks contain silverfish and generate in strongholds, underground.",spawn_range:"Underground"},infested_chiseled_stone_bricks:{type:"natural",description:"Infested chiseled stone bricks contain silverfish and generate in strongholds, underground.",spawn_range:"Underground"},infested_deepslate:{type:"natural",description:"Infested deepslate contains silverfish and generates in the deepslate layer underground.",spawn_range:"Underground"},cracked_stone_bricks:{type:"crafted",description:"Cracked stone bricks are obtained by smelting stone bricks.",spawn_range:"N/A"},cracked_deepslate_bricks:{type:"crafted",description:"Cracked deepslate bricks are obtained by smelting deepslate bricks.",spawn_range:"N/A"},cracked_deepslate_tiles:{type:"crafted",description:"Cracked deepslate tiles are obtained by smelting deepslate tiles.",spawn_range:"N/A"},reinforced_deepslate:{type:"crafted",description:"Reinforced deepslate is a strong block that cannot be obtained in survival mode.",spawn_range:"N/A"},brown_mushroom_block:{type:"natural",description:"Brown mushroom blocks generate as part of huge mushrooms in dark forest biomes and mushroom fields.",spawn_range:"Surface"},red_mushroom_block:{type:"natural",description:"Red mushroom blocks generate as part of huge mushrooms in dark forest biomes and mushroom fields.",spawn_range:"Surface"},mushroom_stem:{type:"natural",description:"Mushroom stems generate as part of huge mushrooms in dark forest biomes and mushroom fields.",spawn_range:"Surface"},vine:{type:"natural",description:"Vines generate naturally on trees and walls in jungle biomes, swamps, and lush caves.",spawn_range:"Surface"},glow_lichen:{type:"natural",description:"Glow lichen generates naturally in caves and can spread to other blocks using bone meal.",spawn_range:"Underground"},mycelium:{type:"natural",description:"Mycelium generates naturally in mushroom field biomes and spreads to dirt blocks.",spawn_range:"Surface"},lily_pad:{type:"natural",description:"Lily pads generate naturally on the surface of water in swamps.",spawn_range:"Water"},cracked_nether_bricks:{type:"crafted",description:"Cracked nether bricks are obtained by smelting nether bricks.",spawn_range:"N/A"},sculk:{type:"natural",description:"Sculk generates naturally in the deep dark biome and spreads using a sculk catalyst.",spawn_range:"Underground"},sculk_vein:{type:"natural",description:"Sculk veins generate naturally in the deep dark biome and spread using a sculk catalyst.",spawn_range:"Underground"},sculk_catalyst:{type:"natural",description:"Sculk catalysts generate naturally in the deep dark biome and spread sculk blocks when mobs die nearby.",spawn_range:"Underground"},sculk_shrieker:{type:"natural",description:"Sculk shriekers generate naturally in the deep dark biome and emit a loud shriek when activated.",spawn_range:"Underground"},end_portal_frame:{type:"natural",description:"End portal frames generate naturally in strongholds, forming the structure of end portals.",spawn_range:"Underground"}
1,dragon_egg:{type:"dropped",description:"The dragon egg is dropped when the Ender Dragon is defeated for the first time.",spawn_range:"End"},command_block:{type:"crafted",description:"Command blocks are powerful blocks used in commands and redstone, obtainable only via commands.",spawn_range:"N/A"},chipped_anvil:{type:"crafted",description:"Chipped anvils are damaged versions of anvils and are used for repairing and enchanting.",spawn_range:"N/A"},damaged_anvil:{type:"crafted",description:"Damaged anvils are further damaged versions of anvils and are used for repairing and enchanting.",spawn_range:"N/A"},barrier:{type:"crafted",description:"Barriers are invisible blocks used in map-making and obtainable only via commands.",spawn_range:"N/A"},light:{type:"crafted",description:"Light blocks are invisible blocks that emit light, obtainable only via commands.",spawn_range:"N/A"},dirt_path:{type:"crafted",description:"Dirt paths are created by using a shovel on grass blocks and are commonly found in villages.",spawn_range:"Surface"},sunflower:{type:"natural",description:"Sunflowers generate naturally in sunflower plains biomes.",spawn_range:"Surface"},lilac:{type:"natural",description:"Lilacs generate naturally in forest biomes.",spawn_range:"Surface"},rose_bush:{type:"natural",description:"Rose bushes generate naturally in forest biomes.",spawn_range:"Surface"},peony:{type:"natural",description:"Peonies generate naturally in forest biomes.",spawn_range:"Surface"},tall_grass:{type:"natural",description:"Tall grass generates naturally in various biomes and can be grown using bone meal.",spawn_range:"Surface"},large_fern:{type:"natural",description:"Large ferns generate naturally in taiga biomes.",spawn_range:"Surface"},repeating_command_block:{type:"crafted",description:"Repeating command blocks execute commands every tick and are obtainable only via commands.",spawn_range:"N/A"},chain_command_block:{type:"crafted",description:"Chain command blocks execute commands when triggered and are obtainable only via commands.",spawn_range:"N/A"},warped_wart_block:{type:"natural",description:"Warped wart blocks generate naturally in warped forests in the Nether.",spawn_range:"Nether"},structure_void:{type:"crafted",description:"Structure voids are used in structure blocks to exclude certain blocks from being saved and are obtainable only via commands.",spawn_range:"N/A"},white_shulker_box:{type:"crafted",description:"White shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},orange_shulker_box:{type:"crafted",description:"Orange shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},magenta_shulker_box:{type:"crafted",description:"Magenta shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},light_blue_shulker_box:{type:"crafted",description:"Light blue shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},yellow_shulker_box:{type:"crafted",description:"Yellow shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},lime_shulker_box:{type:"crafted",description:"Lime shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},pink_shulker_box:{type:"crafted",description:"Pink shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},gray_shulker_box:{type:"crafted",description:"Gray shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},light_gray_shulker_box:{type:"crafted",description:"Light gray shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},cyan_shulker_box:{type:"crafted",description:"Cyan shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},purple_shulker_box:{type:"crafted",description:"Purple shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},blue_shulker_box:{type:"crafted",description:"Blue shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},brown_shulker_box:{type:"crafted",description:"Brown shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},green_shulker_box:{type:"crafted",description:"Green shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},red_shulker_box:{type:"crafted",description:"Red shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},black_shulker_box:{type:"crafted",description:"Black shulker boxes are crafted from shulker shells and dye, and they function as portable storage.",spawn_range:"N/A"},white_glazed_terracotta:{type:"crafted",description:"White glazed terracotta is obtained by smelting white terracotta and features decorative patterns.",spawn_range:"N/A"},orange_glazed_terracotta:{type:"crafted",description:"Orange glazed terracotta is obtained by smelting orange terracotta and features decorative patterns.",spawn_range:"N/A"},magenta_glazed_terracotta:{type:"crafted",description:"Magenta glazed terracotta is obtained by smelting magenta terracotta and features decorative patterns.",spawn_range:"N/A"},light_blue_glazed_terracotta:{type:"crafted",description:"Light blue glazed terracotta is obtained by smelting light blue terracotta and features decorative patterns.",spawn_range:"N/A"},yellow_glazed_terracotta:{type:"crafted",description:"Yellow glazed terracotta is obtained by smelting yellow terracotta and features decorative patterns.",spawn_range:"N/A"},lime_glazed_terracotta:{type:"crafted",description:"Lime glazed terracotta is obtained by smelting lime terracotta and features decorative patterns.",spawn_range:"N/A"},pink_glazed_terracotta:{type:"crafted",description:"Pink glazed terracotta is obtained by smelting pink terracotta and features decorative patterns.",spawn_range:"N/A"},gray_glazed_terracotta:{type:"crafted",description:"Gray glazed terracotta is obtained by smelting gray terracotta and features decorative patterns.",spawn_range:"N/A"},light_gray_glazed_terracotta:{type:"crafted",description:"Light gray glazed terracotta is obtained by smelting light gray terracotta and features decorative patterns.",spawn_range:"N/A"},cyan_glazed_terracotta:{type:"crafted",description:"Cyan glazed terracotta is obtained by smelting cyan terracotta and features decorative patterns.",spawn_range:"N/A"},purple_glazed_terracotta:{type:"crafted",description:"Purple glazed terracotta is obtained by smelting purple terracotta and features decorative patterns.",spawn_range:"N/A"},blue_glazed_terracotta:{type:"crafted",description:"Blue glazed terracotta is obtained by smelting blue terracotta and features decorative patterns.",spawn_range:"N/A"},brown_glazed_terracotta:{type:"crafted",description:"Brown glazed terracotta is obtained by smelting brown terracotta and features decorative patterns.",spawn_range:"N/A"},green_glazed_terracotta:{type:"crafted",description:"Green glazed terracotta is obtained by smelting green terracotta and features decorative patterns.",spawn_range:"N/A"},red_glazed_terracotta:{type:"crafted",description:"Red glazed terracotta is obtained by smelting red terracotta and features decorative patterns.",spawn_range:"N/A"},black_glazed_terracotta:{type:"crafted",description:"Black glazed terracotta is obtained by smelting black terracotta and features decorative patterns.",spawn_range:"N/A"},white_concrete:{type:"crafted",description:"White concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},orange_concrete:{type:"crafted",description:"Orange concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},magenta_concrete:{type:"crafted",description:"Magenta concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},light_blue_concrete:{type:"crafted",description:"Light blue concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},yellow_concrete:{type:"crafted",description:"Yellow concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},lime_concrete:{type:"crafted",description:"Lime concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},pink_concrete:{type:"crafted",description:"Pink concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},gray_concrete:{type:"crafted",description:"Gray concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},light_gray_concrete:{type:"crafted",description:"Light gray concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},cyan_concrete:{type:"crafted",description:"Cyan concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},purple_concrete:{type:"crafted",description:"Purple concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},blue_concrete:{type:"crafted",description:"Blue concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},brown_concrete:{type:"crafted",description:"Brown concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},green_concrete:{type:"crafted",description:"Green concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},red_concrete:{type:"crafted",description:"Red concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},black_concrete:{type:"crafted",description:"Black concrete is crafted from concrete powder and hardens when in contact with water.",spawn_range:"N/A"},white_concrete_powder:{type:"crafted",description:"White concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},orange_concrete_powder:{type:"crafted",description:"Orange concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},magenta_concrete_powder:{type:"crafted",description:"Magenta concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},light_blue_concrete_powder:{type:"crafted",description:"Light blue concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},yellow_concrete_powder:{type:"crafted",description:"Yellow concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},lime_concrete_powder:{type:"crafted",description:"Lime concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},pink_concrete_powder:{type:"crafted",description:"Pink concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},gray_concrete_powder:{type:"crafted",description:"Gray concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},light_gray_concrete_powder:{type:"crafted",description:"Light gray concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},cyan_concrete_powder:{type:"crafted",description:"Cyan concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},purple_concrete_powder:{type:"crafted",description:"Purple concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},blue_concrete_powder:{type:"crafted",description:"Blue concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},brown_concrete_powder:{type:"crafted",description:"Brown concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},green_concrete_powder:{type:"crafted",description:"Green concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},red_concrete_powder:{type:"crafted",description:"Red concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},black_concrete_powder:{type:"crafted",description:"Black concrete powder is crafted from sand, gravel, and dye, and hardens into concrete when in contact with water.",spawn_range:"N/A"},cyan_candle:{type:"crafted",description:"Cyan candles are crafted from string and dye and can be placed on blocks to emit light.",spawn_range:"N/A"},pink_candle:{type:"crafted",description:"Pink candles are crafted from string and dye and can be placed on blocks to emit light.",spawn_range:"N/A"},purple_candle:{type:"crafted",description:"Purple candles are crafted from string and dye and can be placed on blocks to emit light.",spawn_range:"N/A"}
1,blue_candle:{type:"crafted",description:"Blue candles are crafted from string and dye and can be placed on blocks to emit light.",spawn_range:"N/A"},brown_candle:{type:"crafted",description:"Brown candles are crafted from string and dye and can be placed on blocks to emit light.",spawn_range:"N/A"},green_candle:{type:"crafted",description:"Green candles are crafted from string and dye and can be placed on blocks to emit light.",spawn_range:"N/A"},red_candle:{type:"crafted",description:"Red candles are crafted from string and dye and can be placed on blocks to emit light.",spawn_range:"N/A"},black_candle:{type:"crafted",description:"Black candles are crafted from string and dye and can be placed on blocks to emit light.",spawn_range:"N/A"},turtle_egg:"can be obtained via turtle breeding on beaches, where turtles lay eggs that can be collected.",sniffer_egg:"can be found in buried treasure or ancient ruins, used to hatch sniffers.",dead_tube_coral_block:"can be obtained by mining tube coral blocks with a pickaxe without Silk Touch or when exp
1osed to air.",dead_brain_coral_block:"can be obtained by mining brain coral blocks with a pickaxe without Silk Touch or when exposed to air.",dead_bubble_coral_block:"can be obtained by mining bubble coral blocks with a pickaxe without Silk Touch or when exposed to air.",dead_fire_coral_block:"can be obtained by mining fire coral blocks with a pickaxe without Silk Touch or when exposed to air.",dead_horn_coral_block:"can be obtained by mining horn coral blocks with a pickaxe without Silk Touch or when exposed to air.",tube_coral_block:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",brain_coral_block:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",bubble_coral_block:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",fire_coral_block:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",horn_coral_block:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",tube_coral:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",brain_coral:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",bubble_coral:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",fire_coral:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",horn_coral:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",dead_brain_coral:"can be obtained by mining brain coral without Silk Touch or when exp
1osed to air.",dead_bubble_coral:"can be obtained by mining bubble coral without Silk Touch or when exposed to air.",dead_fire_coral:"can be obtained by mining fire coral without Silk Touch or when exposed to air.",dead_horn_coral:"can be obtained by mining horn coral without Silk Touch or when exposed to air.",dead_tube_coral:"can be obtained by mining tube coral without Silk Touch or when exposed to air.",tube_coral_fan:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",brain_coral_fan:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",bubble_coral_fan:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",fire_coral_fan:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",horn_coral_fan:"can be obtained by mining with a pickaxe enchanted with Silk Touch, found in warm ocean biomes.",dead_tube_coral_fan:"can be obtained by mining tube coral fans without Silk Touch or when exp
1osed to air.",dead_brain_coral_fan:"can be obtained by mining brain coral fans without Silk Touch or when exposed to air.",dead_bubble_coral_fan:"can be obtained by mining bubble coral fans without Silk Touch or when exposed to air.",dead_fire_coral_fan:"can be obtained by mining fire coral fans without Silk Touch or when exposed to air.",dead_horn_coral_fan:"can be obtained by mining horn coral fans without Silk Touch or when exposed to air.",sculk_sensor:"can be obtained via Silk Touch enchantment on a pickaxe or found in ancient cities in the deep dark biome.",copper_door:"can be crafted using copper ingots.",exposed_copper_door:"can be obtained by allowing copper doors to oxidize or can be crafted directly.",weathered_copper_door:"can be obtained by allowing exposed copper doors to further oxidize or can be crafted directly.",oxidized_copper_door:"can be obtained by allowing weathered copper doors to fully oxidize or can be crafted directly.",waxed_copper_door:"can be crafted using copper ingots and honeycomb.",waxed_exposed_copper_door:"can be crafted using exposed copper doors and honeycomb.",waxed_weathered_copper_door:"can be crafted using weathered copper doors and honeycomb.",waxed_oxidized_copper_door:"can be crafted using oxidized copper doors and honeycomb.",copper_trapdoor:"can be crafted using copper ingots.",exposed_copper_trapdoor:"can be obtained by allowing copper trapdoors to oxidize or can be crafted directly.",weathered_copper_trapdoor:"can be obtained by allowing exposed copper trapdoors to further oxidize or can be crafted directly.",oxidized_copper_trapdoor:"can be obtained by allowing weathered copper trapdoors to fully oxidize or can be crafted directly.",waxed_copper_trapdoor:"can be crafted using copper ingots and honeycomb.",waxed_exposed_copper_trapdoor:"can be crafted using exposed copper trapdoors and honeycomb.",waxed_weathered_copper_trapdoor:"can be crafted using weathered copper trapdoors and honeycomb.",waxed_oxidized_copper_trapdoor:"can be crafted using oxidized copper trapdoors and honeycomb.",saddle:"can be obtained from fishing, dungeon chests, or trading with leatherworkers.",elytra:"can be found in end ships within end cities.",structure_block:"can be obtained using commands or in creative mode, used to save and load structures.",jigsaw:"can be obtained using commands or in creative mode, used to generate structures.",scute:"can be obtained when baby turtles grow into adults.",apple:"can be obtained by breaking oak and dark oak leaves or found in chests.",charcoal:"can be obtained by smelting logs or wood in a furnace.",quartz:"can be obtained by mining nether quartz ore in the Nether.",amethyst_shard:"can be obtained by mining amethyst clusters found in geodes with a pickaxe.",netherite_scrap:"can be obtained by smelting ancient debris found in the Nether.",netherite_sword:"can be crafted using a diamond sword and netherite ingot.",netherite_shovel:"can be crafted using a diamond shovel and netherite ingot.",netherite_pickaxe:"can be crafted using a diamond pickaxe and netherite ingot.",netherite_axe:"can be crafted using a diamond axe and netherite ingot.",netherite_hoe:"can be crafted using a diamond hoe and netherite ingot.",string:"can be obtained from killing spiders or breaking cobwebs.",feather:"can be obtained from killing chickens.",gunpowder:"can be obtained from killing creepers, ghasts, and witches.",wheat_seeds:"can be obtained by breaking tall grass or harvesting wheat crops.",chainmail_helmet:"can be obtained from chest loot, trading with villagers, or killing mobs wearing it.",chainmail_chestplate:"can be obtained from chest loot, trading with villagers, or killing mobs wearing it.",chainmail_leggings:"can be obtained from chest loot, trading with villagers, or killing mobs wearing it.",chainmail_boots:"can be obtained from chest loot, trading with villagers, or killing mobs wearing it.",netherite_helmet:"can be crafted using a diamond helmet and netherite ingot.",netherite_chestplate:"can be crafted using a diamond chestplate and netherite ingot.",netherite_leggings:"can be crafted using diamond leggings and netherite ingot.",netherite_boots:"can be crafted using diamond boots and netherite ingot.",flint:"can be obtained by breaking gravel blocks.",porkchop:"can be obtained by killing pigs.",cooked_porkchop:"can be obtained by cooking por
1kchop in a furnace, smoker, or campfire.",enchanted_golden_apple:"can be found in dungeon, bastion remnant, and mineshaft chests.",water_bucket:"can be obtained by using a bucket on a water source block.",lava_bucket:"can be obtained by using a bucket on a lava source block.",powder_snow_bucket:"can be obtained by using a bucket on powder snow.",snowball:"can be obtained by breaking snow blocks or using a shovel on snow.",milk_bucket:"can be obtained by using a bucket on a cow or mooshroom.",pufferfish_bucket:"can be obtained by using a bucket on a pufferfish in water.",salmon_bucket:"can be obtained by using a bucket on a salmon in water.",cod_bucket:"can be obtained by using a bucket on a cod in water.",tropical_fish_bucket:"can be obtained by using a bucket on a tropical fish in water.",axolotl_bucket:"can be obtained by using a bucket on an axolotl in water.",tadpole_bucket:"can be obtained by using a bucket on a tadpole in water.",brick:"can be obtained by smelting clay in a furnace.",clay_ball:"can be obtained by breaking clay blocks or from chest loot.",egg:"can be obtained from chickens periodically.",bundle:"can be crafted using rabbit hide and string.",glowstone_dust:"can be obtained by breaking glowstone blocks or killing witches.",cod:"can be obtained by fishing or killing cod in water.",salmon:"can be obtained by fishing or killing salmon in water.",tropical_fish:"can be obtained by fishing or killing tropical fish in water.",pufferfish:"can be obtained by fishing or killing pufferfish in water.",cooked_cod:"can be obtained by cooking cod in a furnace, smoker, or campfire.",cooked_salmon:"can be obtained by cooking salmon in a furnace, smoker, or campfire.",ink_sac:"can be obtained by killing squid or as loot from wandering traders.",glow_ink_sac:"can be obtained by killing glow squid.",cocoa_beans:"can be obtained from cocoa pods found on jungle trees.",green_dye:"can be obtained by smelting cactus in a furnace.",bone:"can be obtained by killing skeletons or from chest loot.",crafter:"can be obtained via crafting using specific materials (details vary by mod or version).",filled_map:"can be obtained by using an empty map item.",melon_slice:"can be obtained by breaking melon blocks.",beef:"can be obtained by killing cows.",cooked_beef:"can be obtained by cooking beef in a furnace, smoker, or campfire.",chicken:"can be obtained by killing chickens.",cooked_chicken:"can be obtained by cooking chicken in a furnace, smoker, or campfire.",rotten_flesh:"can be obtained by killing zombies or drowned.",ender_pearl:"can be obtained by killing endermen.",blaze_rod:"can be obtained by killing blazes in the Nether.",ghast_tear:"can be obtained by killing ghasts in the Nether.",nether_wart:"can be found in Nether fortresses and bastion remnants.",potion:"can be brewed using a brewing stand with various ingredients.",spider_eye:"can be obtained by killing spiders or witches.",experience_bottle:"can be obtained from trading with villagers or found in chest loot.",written_book:"can be crafted using a book and quill after writing in it.",carrot:"can be obtained by harvesting carrot crops or found in village farms.",potato:"can be obtained by harvesting potato crops or found in village farms.",baked_potato:"can be obtained by cooking potatoes in a furnace, smoker, or campfire.",poisonous_potato:"can be obtained by harvesting potato crops (rare chance).",skeleton_skull:"can be obtained by killing skeletons with a charged creeper explosion.",wither_skeleton_skull:"can be obtained by killing wither skeletons (rare drop).",player_head:"can be obtained via commands or by killing players in certain conditions (e.g., with a charged creeper).",zombie_head:"can be obtained by killing zombies with a charged creeper explosion.",creeper_head:"can be obtained by killing creepers with a charged creeper explosion.",dragon_head:"can be found at the end of end ships in end cities.",piglin_head:"can be obtained by killing piglins with a charged creeper explosion.",nether_star:"can be obtained by defeating the Wither boss.",firework_star:"can be crafted using gunpowder and dye.",nether_brick:"can be obtained by smelting netherrack in a furnace or found in Nether fortresses.",prismarine_shard:"can be obtained by killing guardians and elder guardians.",prismarine_crystals:"can be obtained by killing guardians and elder guardians or breaking sea lanterns.",rabbit:"can be obtained by killing rabbits.",cooked_rabbit:"can be obtained by cooking rabbit in a furnace, smoker, or campfire.",rabbit_foot:"can be obtained by killing rabbits (rare drop).",rabbit_hide:"can be obtained by killing rabbits.",iron_horse_armor:"can be found in dungeon, temple, and stronghold chests.",golden_horse_armor:"can be found in dungeon, temple, and stronghold chests.",diamond_horse_armor:"can be found in dungeon, temple, and stronghold chests.",name_tag:"can be obtained by fishing, dungeon chests, or trading with librarians.",command_block_minecart:"can be obtained using commands in creative mode.",mutton:"can be obtained by killing sheep.",cooked_mutton:"can be obtained by cooking mutton in a furnace, smoker, or campfire.",chorus_fruit:"can be obtained by breaking chorus plants found in the End.",popped_chorus_fruit:"can be obtained by smelting chorus fruit in a furnace.",torchflower_seeds:"can be obtained from torchflower plants, used for breeding and decoration.",pitcher_pod:"can be obtained from pitcher plants, used for breeding and decoration.",beetroot:"can be obtained by harvesting beetroot crops or found in village farms.",beetroot_seeds:"can be obtained by harvesting beetroot crops or from chests.",dragon_breath:"can be obtained by using an empty bottle on the ender dragon's breath attack.",splash_potion:"can be brewed using a brewing stand and gunpowder with various potions.",tipped_arrow:"can be crafted using arrows and lingering potions.",lingering_potion:"can be brewed using a brewing stand and dragon's breath with various potions.",totem_of_undying:"can be obtained by killing evokers in woodland mansions and during raids.",shulker_shell:"can be obtained by killing shulkers in end cities.",knowledge_book:"can be obtained using commands or given in custom advancements.",debug_stick:"can be obtained using commands in creative mode.",disc_fragment_5:"can be found in ancient city chests, used to craft music disc 5.",trident:"can be obtained by killing drowned (rare drop).",phantom_membrane:"can be obtained by killing phantoms.",nautilus_shell:"can be obtained from fishing, drowned, or wandering traders.",heart_of_the_sea:"can be found in buried treasure chests.",suspicious_stew:"can be crafted using mushrooms and various flowers or found in chests.",globe_banner_pattern:"can be obtained from trading with cartographer villagers.",piglin_banner_pattern:"can be obtained from bastion remnant chests.",goat_horn:"can be obtained when a goat rams a solid block.",bell:"can be obtained from village structures or crafted using iron ingots and woo
1d.",sweet_berries:"can be obtained from sweet berry bushes found in taiga biomes.",glow_berries:"can be found in lush cave biomes or by trading with wandering traders.",shroomlight:"can be obtained by breaking shroomlights found in Nether forests.",honeycomb:"can be obtained by using shears on beehives or bee nests.",bee_nest:"can be found in forest biomes with birch or oak trees, especially in flower forests.",crying_obsidian:"can be found in ruined portals, bastion remnants, or bartered from piglins.",blackstone:"can be found in basalt deltas, bastion remnants, or crafted from polished blackstone.",gilded_blackstone:"can be found in bastion remnants.",cracked_polished_blackstone_bricks:"can be obtained by smelting polished blackstone bricks.",small_amethyst_bud:"can be found growing in amethyst geodes.",medium_amethyst_bud:"can be found growing in amethyst geodes.",large_amethyst_bud:"can be found growing in amethyst geodes.",amethyst_cluster:"can be found growing in amethyst geodes.",pointed_dripstone:"can be found in dripstone caves or created by placing a dripstone block under a water source block.",ochre_froglight:"can be obtained by leading a frog to eat a magma cube, dropping this item.",verdant_froglight:"can be obtained by leading a frog to eat a magma cube, dropping this item.",pearlescent_froglight:"can be obtained by leading a frog to eat a magma cube, dropping this item.",frogspawn:"Frogspawn is an item that can be found in the game Minecraft and is primarily used to breed frogs.",echo_shard:"Echo Shard is an item in Minecraft Dungeons, primarily used as a currency for trading with Piglin vendors.",copper_grate:"Copper Grate is a block in Minecraft that can be crafted from copper ingots, primarily used as a decorative block.",exposed_copper_grate:"Exposed Copper Grate is a variant of Copper Grate in Minecraft that has weathered to the exposed state over time.",weathered_copper_grate:"Weathered Copper Grate is a variant of Copper Grate in Minecraft that has weathered to the weathered state over time.",oxidized_copper_grate:"Oxidized Copper Grate is a variant of Copper Grate in Minecraft that has weathered to the oxidized state over time.",waxed_copper_grate:"Waxed Copper Grate is a variant of Copper Grate in Minecraft that has been waxed to prevent further weathering.",waxed_exposed_copper_grate:"Waxed Exposed Copper Grate is a variant of Exposed Copper Grate in Minecraft that has been waxed to prevent further weathering.",waxed_weathered_copper_grate:"Waxed Weathered Copper Grate is a variant of Weathered Copper Grate in Minecraft that has been waxed to prevent further weathering.",waxed_oxidized_copper_grate:"Waxed Oxidized Copper Grate is a variant of Oxidized Copper Grate in Minecraft that has been waxed to prevent further weathering.",copper_bulb:"Copper Bulb is a block in Minecraft that can be crafted from copper ingots, primarily used as a decorative block.",exposed_copper_bulb:"Exposed Copper Bulb is a variant of Copper Bulb in Minecraft that has weathered to the exposed state over time.",weathered_copper_bulb:"Weathered Copper Bulb is a variant of Copper Bulb in Minecraft that has weathered to the weathered state over time.",oxidized_copper_bulb:"Oxidized Copper Bulb is a variant of Copper Bulb in Minecraft that has weathered to the oxidized state over time.",waxed_copper_bulb:"Waxed Copper Bulb is a variant of Copper Bulb in Minecraft that has been waxed to prevent further weathering.",waxed_exposed_copper_bulb:"Waxed Exposed Copper Bulb is a variant of Exposed Copper Bulb in Minecraft that has been waxed to prevent further weathering.",waxed_weathered_copper_bulb:"Waxed Weathered Copper Bulb is a variant of Weathered Copper Bulb in Minecraft that has been waxed to prevent further weathering.",waxed_oxidized_copper_bulb:"Waxed Oxidized Copper Bulb is a variant of Oxidized Copper Bulb in Minecraft that has been waxed to prevent further weathering.",trial_spawner:"Trial Spawner is an item in Minecraft Dungeons, used in the Ancient Hunt game mode to summon trials for unique rewards.",trial_key:"Trial Key is an item in Minecraft Dungeons, obtained from defeating Ancient mobs in the Ancient Hunt game mode, used to unlock trials."})[Symbol.iterator]();!(y=(_=L.next()).done);y=!0)!function(){var e=(0,a._)(_.value,2),t=e[0],n=e[1],r="";r=(void 0===n?"undefined":(0,i._)(n))==="object"?("obtained_from"in n?n.obtained_from:"description"in n?n.description:"")+("rarity"in n?" Rarity: ".concat(n.rarity):"")+("spawn_range"in n?" Spawn range: ".concat(n.spawn_range):""):function(e){return"".concat(e.charAt(0).toLowerCase()+e.slice(1),": ").concat(n)},v.set([t],r)}()}catch(e){A=!0,b=e}finally{try{y||null==L.return||L.return()}finally{if(A)throw b}}var getItemDescription=function(e){var t=e.name,n="",r=!0,o=!1,i=void 0;try{for(var s,l=v[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var c=(0,a._)(s.value,2),u=c[0],d=c[1];Array.isArray(u)&&u.includes(t)&&(n=d),"string"==typeof u&&u===t&&(n=d),u instanceof RegExp&&u.test(t)&&(n=d)}}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return"function"==typeof n?n(e.displayName):n},C=n(6733),j=n(57809),D=n(82278),x=(0,s.sj)({value:[]}),k=null,clearJeiItemsCache=function(){k=null};(0,s.Ld)(x,clearJeiItemsCache);var T=[],N=M.M.length;(0,s.Ld)(M.M,function(){var e=M.M.length;if(e<N&&T.length>0){var t=T.splice(0),n=!0,r=!1,a=void 0;try{for(var o,i=t[Symbol.iterator]();!(n=(o=i.next()).done);
1n=!0){var s=o.value;try{s()}catch(e){console.error("[onModalClose]",e)}}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}}N=e});var onGameLoad=function(){r=w()(bot.version);var mapWindowType=function(e,t){if("minecraft:container"===e){if(9===t)return"generic_9x1";if(18===t)return"generic_9x2";if(27===t)return"generic_9x3";if(36===t)return"generic_9x4";if(45===t)return"generic_9x5";if(54===t)return"generic_9x6"}if("minecraft:smithing"===e)return(0,p.Uo)(bot.version)<(0,p.Uo)("1.20")?"smithing_table_legacy":"smithing_table";var n,r=e.startsWith("minecraft:")?e.slice(10):e;return null!=(n=({generic_5x1:"hopper",generic_3x3:"dispenser",crafting:"crafting_table",crafting3x3:"crafting_table"})[r])?n:r};bot.on("windowOpen",function(e){var t,n=mapWindowType(e.type,e.inventoryStart),r=!!(0,h.ZV)(n);r||g.YM.unimplementedContainers?(M.M.length&&!M.N_.disconnectedCleanup&&(0,M.kJ)(),(0,M.K4)({reactType:"player_win:".concat(r?n:"chest")})):((0,m.w)("[client error] cannot open unimplemented window ".concat(e.id," (").concat(e.type,"). Slots: ").concat(e.slots.map(function(e){return getItemName(e)}).filter(Boolean).join(", "))),(0,m.w)("You can help us fix it! Open a pull request adding support for it on https://github.com/zardoy/minecraft-inventory"),null==(t=bot.currentWindow)||t.close())});var e=!1;bot.inventory.on("updateSlot",function(t,n,r){if(M.N_.singleplayer&&n!==r&&!e){var a=bot.inventory.craftingResultSlot;if(t===a&&n&&!r){for(var o=1;o<5;o++){var i,s=null==(i=bot.inventory.slots[o])?void 0:i.count;if(s&&s>1){var l=bot.inventory.slots[o];l.count--,bot.creative.setInventorySlot(o,l)}else bot.creative.setInventorySlot(o,null)}return}if(!(t>4)){var c=bot.inventory.slots.slice(1,5);try{var u=getResultingRecipe(c,2);e=!0,bot.creative.setInventorySlot(a,null!=u?u:null).then(function(){e=!1})}catch(e){console.error(e)}}}}),bot.on("windowClose",function(){var e,t=M.M.at(-1);(null==t||null==(e=t.reactType)?void 0:e.startsWith("player_win:"))&&(0,M.VG)(void 0,void 0,{force:!0})}),bot.on("respawn",function(){var e,t=M.M.at(-1);(null==t||null==(e=t.reactType)?void 0:e.startsWith("player_win:"))&&(0,M.VG)(void 0,void 0,{force:!0})}),appViewer.resourcesManager._inventoryChangeTracked||(appViewer.resourcesManager._inventoryChangeTracked=!0,appViewer.resourcesManager.on("assetsInventoryReady",function(){clearJeiItemsCache(),(0,j.g)()}),appViewer.resourcesManager.on("assetsTexturesUpdated",function(){clearJeiItemsCache(),(0,j.g)()}))},getItemName=function(e){var t=(0,C.bL)(e,appViewer.resourcesManager);if(t)return(0,l.$H)(t).map(function(e){return"string"==typeof e?e:e.text}).join("")},openPlayerInventory=function(){(0,M.K4)({reactType:"player_win:player"})},getResultingRecipe=function(e,t){var n,s=e.map(function(e){return null==e?void 0:e.type}),l=(0,c.M)(t,s);if(l.length>1){for(var d in l[0])if(void 0!==l[0][d]){var w=!0,p=!1,h=void 0;try{for(var M,g=Array.from({length:t}).entries()[Symbol.iterator]();!(w=(M=g.next()).done);w=!0){var m,v=(0,a._)(M.value,1)[0];(null==(m=l[v])?void 0:m[d])===void 0&&(l[v][d]=null)}}catch(e){p=!0,h=e}finally{try{w||null==g.return||g.return()}finally{if(p)throw h}}}}l=l.map(function(e){return e.filter(function(e){return void 0!==e})}).filter(function(e){return 0!==e.length});var y=(0,o._)(s).sort().filter(function(e){return void 0!==e}),A=!0,b=!1,_=void 0;try{e:for(var L,C,j,D,x=Object.entries(null!=(j=loadedData.recipes)?j:{})[Symbol.iterator]();!(A=(D=x.next()).done);A=!0){var k=(0,a._)(D.value,2),T=(k[0],k[1]),N=!0,S=!1,z=void 0;try{for(var q,E=T[Symbol.iterator]();!(N=(q=E.next()).done);N=!0){var I,P=q.value;if("inShape"in P&&(0,u.fS)(l,P.inShape)){C=P.result;break e}if("ingredients"in P&&(0,u.fS)(y,null==(I=P.ingredients)?void 0:I.sort())){L=P.result;break e}}}catch(e){S=!0,z=e}finally{try{N||null==E.return||E.return()}finally{if(S)throw z}}}}catch(e){b=!0,_=e}finally{try{A||null==x.return||x.return()}finally{if(b)throw _}}var Y=null!=C?C:L;if(Y){var O="number"==typeof Y?Y:Array.isArray(Y)?Y[0]:Y.id;if(O){var R=null!=(n="number"==typeof Y?void 0:Array.isArray(Y)?Y[1]:Y.count)?n:1,B=(void 0===Y?"undefined":(0,i._)(Y))!=="object"||Array.isArray(Y)?void 0:Y.metadata;return new r(O,R,B)}}},idToItemStack=function(e){if(!e)return null;var t=loadedData.items[e];if(!t)return null;var n={type:e,count:1,name:t.name,displayName:t.displayName};return(0,D.WB)(n),n},getItemRecipes=function(e){if(!r)return[];var t=loadedData.itemsByName[e];if(!t)return[];var n=null==(u=loadedData.recipes)?void 0:u[t.id];if(!n){var o=getItemDescription(t);return o?[{type:"custom",title:t.displayName,description:o}]:[]}var i=[],s=!0,l=!1,c=void 0;try{for(var u,d,w=n[Symbol.iterator]();!(s=(d=w.next()).done);s=!0){var p=d.value,h=p.result;if(h){var M="number"==typeof h?h:Array.isArray(h)?h[0]:h.id,g=null!=(L="number"==typeof h?void 0:Array.isArray(h)?h[1]:h.count)?L:1,m=M?loadedData.items[M]:void 0;if(m){var v={type:M,count:g,name:m.name,displayName:m.displayName};if((0,D.WB)(v),"inShape"in p&&p.inShape){var y=Array.from({length:9},function(){return null}),A=!0,b=!1,_=void 0;try{for(var L,C,j=p.inShape.entries()[Symbol.iterator]();!(A=(C=j.next()).done);A=!0){var x=(0,a._)(C.value,2),k=x[0],T=x[1];if(!(k>=3)){var N=!0,S=!1,z=void 0;try{for(var q,E=T.entries()[Symbol.iterator]();!(N=(q=E.next()).done);N=!0){var I=(0,a._)(q.value,2),P=I[0],Y=I[1];P>=3||(y[3*k+P]=idToItemStack(Y))}}catch(e){S=!0,z=e}finally{try{N||null==E.return||E.return()}finally{if(S)throw z}}}}}catch(e){b=!0,_=e}finally{try{A||null==j.return||j.return()}finally{if(b)throw _}}
1i.push({type:"crafting",title:m.displayName,ingredients:y,result:v})}if("ingredients"in p&&p.ingredients){var O=Array.from({length:9},function(){return null}),R=!0,B=!1,U=void 0;try{for(var Q,F=p.ingredients.slice(0,9).entries()[Symbol.iterator]();!(R=(Q=F.next()).done);R=!0){var W=(0,a._)(Q.value,2),V=W[0],J=W[1];O[V]=idToItemStack(J)}}catch(e){B=!0,U=e}finally{try{R||null==F.return||F.return()}finally{if(B)throw U}}i.push({type:"crafting",title:m.displayName,description:"Shapeless",ingredients:O,result:v})}}}}}catch(e){l=!0,c=e}finally{try{s||null==w.return||w.return()}finally{if(l)throw c}}var G=getItemDescription(t);return G&&i.push({type:"custom",title:t.displayName,description:G}),i},getItemUsages=function(e){var t=loadedData.itemsByName[e];if(!t)return[];var n=new Set,r=!0,i=!1,s=void 0;try{for(var l,c,u=Object.entries(null!=(l=loadedData.recipes)?l:{})[Symbol.iterator]();!(r=(c=u.next()).done);r=!0){var d=(0,a._)(c.value,2),w=d[0],p=d[1],h=!0,M=!1,g=void 0;try{for(var m,v=p[Symbol.iterator]();!(h=(m=v.next()).done);h=!0){var y=m.value;"inShape"in y&&y.inShape.some(function(e){return e.includes(t.id)})&&n.add(w),"ingredients"in y&&y.ingredients.includes(t.id)&&n.add(w)}}catch(e){M=!0,g=e}finally{try{h||null==v.return||v.return()}finally{if(M)throw g}}}}catch(e){i=!0,s=e}finally{try{r||null==u.return||u.return()}finally{if(i)throw s}}return(0,o._)(n).flatMap(function(e){return getItemRecipes(loadedData.items[e].name)})},getJeiItems=function(){if(k)return k;if(!r)return[];var e=x.value.flatMap(function(e){return e.items.filter(Boolean).map(function(e){var t,n,r,a,o,i;return{type:null!=(n=null!=(t=e.type)?t:e.id)?n:0,name:null!=(r=e.name)?r:"",displayName:null!=(i=null!=(o=null!=(a=getItemName(e))?a:e.displayName)?o:e.name)?i:""}})}),t=loadedData.itemsArray.map(function(e){return{type:e.id,name:e.name,displayName:e.displayName}}),n=(0,o._)(e).concat((0,o._)(t)),a=!0,i=!1,s=void 0;try{for(var l,c=n[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var u=l.value;(0,D.WB)(u)}}catch(e){i=!0,s=e}finally{try{a||null==c.return||c.return()}finally{if(i)throw s}}return k=n,n}},24375:function(e,t,n){"use strict";n.d(t,{C4:()=>x,Cg:()=>longArrayToNumber,RL:()=>D,uW:()=>k});var r,a,o=n(14772),i=n(4186),s=n(22312),l=n(59240),c=n(9787);n(40542),n(72558),n(56070),n(83902),n(58207),n(66395),n(56843),n(98474),n(7960),n(46302),n(64813),n(96573),n(94244),n(42050);var u=n(9304),d=n.n(u),w=n(62005),p=n.n(w),h=n(85681),M=n(44846),g=n(48095),m=n(13047),v=n(30367),y=n(29223),A=n(54694),b=n(5969),_=n(40451),L=n(55920),C=n(32175),j=n(55872).Buffer,D=(0,M.sj)({isReadonly:!1,syncFs:!1,inMemorySave:!1,saveLoaded:!1,openReadOperations:0,openWriteOperations:0,remoteBackend:!1,inMemorySavePath:""});function longArrayToNumber(e){var t=(0,l._)(e,2);return(t[0]<<32)+t[1]}var x=(r=(0,o._)(function(e){var t,n,r;return(0,c.Jh)(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,d().promises.readFile("".concat(e,"/level.dat"))];case 1:return t=a.sent(),[3,3];case 2:if("ENOENT"===(n=a.sent()).code)return[2,void 0];throw n;case 3:return[4,h.parse(j.from(t))];case 4:return r=a.sent().parsed,[2,{levelDat:h.simplify(r).Data,dataRaw:r.value.Data.value}]}})}),function(e){return r.apply(this,arguments)}),k=(a=(0,o._)(function(){var e,t,n,r,a,o,l,u,w,M,j,k,T,N,S,z,q,E,I,P,Y,O,R,B,U,Q,F=arguments;return(0,c.Jh)(this,function(c){switch(c.label){case 0:if(e=F.length>0&&void 0!==F[0]?F[0]:"/world",t=F.length>1?F[1]:void 0,!_.N_.gameLoaded)return[3,3];return[4,(0,y.zP)()];case 1:return c.sent(),[4,new Promise(function(e){setTimeout(e)})];case 2:c.sent(),c.label=3;case 3:for(var W in n=v.YM.disableLoadPrompts,A.D4)delete A.D4[W];for(var V in A.O8)delete A.O8[V];return r=[],[4,x(e)];case 4:if(o=(a=c.sent()).levelDat,l=a.dataRaw,void 0===o)if(D.isReadonly)throw Error("level.dat not found, ensure you are loading world folder");else r.push("level.dat not found, world in current folder will be created");if(!o)return[3,9];if((u=null!=(M=C.EX.mapVersion)?M:null==(w=o.Version)?void 0:w.Name)||(u="1.8.8"),j=L.ZP.at(-1),k=L.ZP["0"],T=(0,b.IO)(k,u),N=(0,m.Uo)(u)>(0,m.Uo)(j),(T||N)&&!(u=prompt("Version ".concat(u," is not supported, supported versions are ").concat(L.ZP.join(", "),", what try to use instead?"),T?k:j)))return[2];if(S=(0,y.Jg)(v.YM.localUsername),z="".concat(e,"/playerdata/").concat(S,".dat"),!(q=l.Player))return[3,9];return[4,(0,g.gzip)(h.writeUncompressed((0,i._)({name:""},q)))];case 5:if(E=c.sent(),!D.isReadonly)return[3,6];return A.D4[z]=E,[3,9];case 6:return[4,(0,A.xl)(p().dirname(z))];case 7:return c.sent(),[4,d().promises.writeFile(z,E)];case 8:c.sent(),c.label=9;case 9:if(r.length&&!n&&!confirm("Continue with following warnings?\n".concat(r.join("\n"))))return[2];D.isReadonly||D.inMemorySave||n||alert("Note: the world is saved on interval, /save or disconnect! Ensure you have backup and be careful of new chunks writes!"),I=["Warp files"],P=!0,Y=!1,O=void 0,c.label=10;case 10:c.trys.push([10,15,16,17]),R=I[Symbol.iterator](),c.label=11;case 11:if(P=(B=R.next()).done)return[3,14];return U=B.value,[4,(0,A.yc)(p().join(e,"..",U))];case 12:c.sent()&&(A.O8[p().join(e,U)]=p().join(e,"..",U)),c.label=13;case 13:return P=!0,[3,11];case 14:return[3,17];case 15:return Q=c.sent(),Y=!0,O=Q,[3,17];case 16:try{P||null==R.return||R.return()}finally{if(Y)throw O}
1return[7];case 17:return _.eJ["main-menu"]&&(0,_.w6)("main-menu"),D.saveLoaded=!0,D.inMemorySavePath=e,window.dispatchEvent(new CustomEvent("singleplayer",{detail:(0,s._)((0,i._)({version:u},"/world"===e?{}:{worldFolder:e}),{connectOptions:t})})),[2]}})}),function(){return a.apply(this,arguments)})},63389:function(e,t,n){"use strict";n.d(t,{S:()=>p,Z:()=>h});var r,a,o,i,s=n(14772),l=n(4186),c=n(22312),u=n(59240),d=n(81979),w=n(9787);n(86070),n(72558),n(40542),n(56070),n(83902),n(58207),n(56515),n(87620),n(83210),n(74822),n(96220),n(7960),n(46302),n(64813),n(96573),n(94244),n(42050),n(15209),n(50183),n(32831),n(81812),n(72216),n(92553),n(69261),n(20823),n(77962),n(98497),n(54487),n(10728),n(84269),n(41021),n(95190),n(81138),n(90758),n(7652),n(60501),n(63765),n(60139),n(41353),n(38409),n(24517),n(33207),n(55914),n(31551),n(4383),n(12516),n(18729),n(88364),n(83450),n(36670),n(26110),n(91292),n(51470),n(52777),n(33975),n(60398),n(44505),n(10020),n(71698),n(42973),n(21428),n(58819),n(5269),n(31325),n(68732),n(64912),n(88085),n(76148),n(2685),n(52003),n(23712),n(12989),n(78873),n(67022),n(56520);var p=(r=(0,s._)(function(e){var t,n;return(0,w.Jh)(this,function(r){switch(r.label){case 0:e.startsWith("http")||(e="".concat(isPageSecure()?"https":"http","
1://").concat(e)),t="".concat(e,"/api/vm/net/connect"),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,fetch(t)];case 2:return n=r.sent(),[3,4];case 3:throw r.sent(),Error("Selected proxy server ".concat(e," most likely is down"));case 4:return[2,n]}})}),function(e){return r.apply(this,arguments)});let h=(a=(0,s._)(function(e){var t,n,r,a,o,i,u,d,h,g,m,v;return(0,w.Jh)(this,function(y){switch(y.label){case 0:return t=e.tokenCaches,n=e.proxyBaseUrl,a=void 0===(r=e.setProgressText)?function(e){}:r,o=e.setCacheResult,i=e.connectingServer,d="",[4,p(n)];case 1:m=y.sent(),y.label=2;case 2:return y.trys.push([2,4,,5]),[4,m.json()];case 3:if(h=urlWithBase((v=y.sent()).capabilities.authEndpoint,n),g=urlWithBase(v.capabilities.sessionEndpoint,n),!h)throw Error("No auth endpoint");return[3,5];case 4:throw console.error(y.sent()),Error("Selected proxy server ".concat(n," does not support Microsoft authentication"));case 5:return[2,{authFlow:{getMinecraftJavaToken:function(){return(0,s._)(function(){var e,n,r,p;return(0,w.Jh)(this,function(g){switch(g.label){case 0:var m;if(a("Authenticating with Microsoft account"),!window.crypto&&!isPageSecure())throw Error("Crypto API is available only in secure contexts. Be sure to use https!");return r=null,[4,fetch(h,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify((0,c._)((0,l._)({},t),{connectingServer:i,connectingServerVersion:d}))}).catch(function(e){throw Error("Failed to connect to auth server (network error): ".concat(e.message))}).then((m=(0,s._)(function(e){var t,n,a,i,s,l,c,d;return(0,w.Jh)(this,function(w){switch(w.label){case 0:if(e.ok)return[3,2];return t=Error.bind,a=(n="Auth server error (".concat(e.status,"): ")).concat,[4,e.text()];case 1:throw new(t.apply(Error,[void 0,a.apply(n,[w.sent()])]));case 2:return i=e.body.getReader(),s=new TextDecoder("utf8"),l="",c=function(e){var t;try{t=JSON.parse(e)}catch(e){}if(t){if(t.user_code&&u(t),t.error)throw Error("Auth server error: ".concat(t.error));t.token&&(r=t),t.newCache&&o(t.newCache)}},d=function(e){var t=e.done,n=e.value;if(t){var r=(l+=s.decode()).split("\n\n");l=null!=(w=r.pop())?w:"";var a=!0,o=!1,u=void 0;try{for(var w,p,h=r[Symbol.iterator]();!(a=(p=h.next()).done);a=!0){var M=p.value;c(M)}}catch(e){o=!0,u=e}finally{try{a||null==h.return||h.return()}finally{if(o)throw u}}l.trim()&&c(l);return}var g=(l+=s.decode(void 0===n?void 0:n,{stream:!0})).split("\n\n");l=null!=(A=g.pop())?A:"";var m=!0,v=!1,y=void 0;try{for(var A,b,_=g[Symbol.iterator]();!(m=(b=_.next()).done);m=!0){var L=b.value;c(L)}}catch(e){v=!0,y=e}finally{try{m||null==_.return||_.return()}finally{if(v)throw y}}return i.read().then(d)},[2,i.read().then(d)]}})}),function(e){return m.apply(this,arguments)}))];case 1:return g.sent(),[4,M(r)];case 2:return(null==(p=g.sent())||null==(n=p.certificates)||null==(e=n.profileKeys)?void 0:e.privatePEM)&&(p.certificates.profileKeys.private=p.certificates.profileKeys.privatePEM),[2,p]}})})()}},sessionEndpoint:g,setOnMsaCodeCallback:function(e){u=e},setConnectingVersion:function(e){d=e}}]}})}),function(e){return a.apply(this,arguments)});function isPageSecure(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href;return!e.startsWith("http:")}var M=(o=(0,s._)(function(e){var t,n,r,a,o,i,s,l,c,p,h;return(0,w.Jh)(this,function(w){switch(w.label){case 0:if(t=[],!((void 0===e?"undefined":(0,d._)(e))==="object"&&e))return[3,8];n=!0,r=!1,a=void 0,w.label=1;case 1:w.trys.push([1,6,7,8]),o=Object.entries(e)[Symbol.iterator](),w.label=2;case 2:if(n=(i=o.next()).done)return[3,5];if(l=(s=(0,u._)(i.value,2))[0],"string"==typeof(c=s[1])&&(t.push(g(c,l,e)),c.endsWith("Z")&&(isNaN((p=new Date(c)).getTime())||(e[l]=p))),(void 0===c?"undefined":(0,d._)(c))!=="object")return[3,4];return[4,M(c)];case 3:w.sent(),w.label=4;case 4:return n=!0,[3,2];case 5:return[3,8];case 6:return h=w.sent(),r=!0,a=h,[3,8];case 7:try{n||null==o.return||o.return()}finally{if(r)throw a}return[7];case 8:return[4,Promise.all(t)];case 9:return w.sent(),[2,e]}})}),function(e){return o.apply(this,arguments)}),g=(i=(0,s._)(function(e,t,n){var r,a,o,i;return(0,w.Jh)(this,function(s){switch(s.label){case 0:if(e=e.trim(),!t.endsWith("PEM")||!e.startsWith("-----BEGIN RSA PUBLIC KEY-----")||!e.endsWith("-----END RSA PUBLIC KEY-----"))return[2];return r=pemToArrayBuffer(e),[4,window.crypto.subtle.importKey("spki",r,{name:"RSA-OAEP",hash:{name:"SHA-256"}},!0,["encrypt"])];case 1:return a=s.sent(),o=t.replace("PEM",""),[4,window.crypto.subtle.exportKey("spki",a)];case 2:return i=new Uint8Array(s.sent()),n[o]={export:function(){return i}},[2]}})}),function(e,t,n){return i.apply(this,arguments)});function pemToArrayBuffer(e){for(var t=atob(e.slice(30,e.length-28).trim().replaceAll(/\s/g,"")),n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.codePointAt(r);return n.buffer}var urlWithBase=function(e,t){var n=isPageSecure()?"https":"http";t.startsWith("http")||(t="".concat(n,"://").concat(t));
1var r=new URL(e,t);return r.host=(t=t.replace(/^https?:\/\//,"")).includes(":")?t:"".concat(t,":").concat(isPageSecure(t)?"443":"80"),r}},6733:function(e,t,n){"use strict";n.d(t,{_o:()=>getItemModelName,bL:()=>getItemNameRaw});var r=n(4186),a=n(81979);n(67022),n(56520),n(72558),n(98719),n(84317),n(8957),n(44792),n(33785),n(9587),n(13278),n(64391),n(86838),n(80062),n(50433),n(97336),n(65855),n(56656),n(42449),n(96573),n(94244),n(42050),n(83902),n(7960),n(46302),n(64813),n(56515),n(86070),n(32831);var o=n(27282),i=n.n(o),s=n(85681),l=n.n(s),c=n(72960),u=n(4644),d=n(36162),getItemMetadata=function(e,t){var n=void 0,r=void 0,o=e.name;o.includes(":")||(o="minecraft:".concat(o));var i=null==(s=t.currentResources)?void 0:s.customItemModelNames[o];if(e.components){var s,c,u=new Map,d=!0,w=!1,p=void 0;try{for(var h,M=e.components[Symbol.iterator]();!(d=(h=M.next()).done);d=!0){var g=h.value;u.set(g.type,g)}}catch(e){w=!0,p=e}finally{try{d||null==M.return||M.return()}finally{if(w)throw p}}var m=u.get("custom_name")||u.get("item_name");m&&(n="string"==typeof m.data?m.data:l().simplify(m.data));var v=u.get("item_model");if(v&&(r=v.data),i){var y,A=u.get("custom_model_data");(null==A?void 0:A.data)&&("number"==typeof A.data?y=A.data:"object"===(0,a._)(A.data)&&"floats"in A.data&&Array.isArray(A.data.floats)&&A.data.floats.length>0&&(y=A.data.floats[0]),y&&i[y]&&(r=i[y]))}var b=u.get("lore");b&&(null!=n||(n=null!=(c=e.displayName)?c:e.name),n+="\n".concat(JSON.stringify(b.data)))}if(e.nbt){var _,L=l().simplify(e.nbt),C=null==(_=L.display)?void 0:_.Name;C&&(n=C),i&&L.CustomModelData&&i[L.CustomModelData]&&(r=i[L.CustomModelData])}return{customText:n,customModel:r}},getItemNameRaw=function(e,t){if(!e)return"";var n=getItemMetadata(e,t).customText;if(n)try{if((void 0===n?"undefined":(0,a._)(n))==="object")return n;var r=n.startsWith("{")&&n.endsWith("}")?i().simplify(i().parse(n)):(0,c.qW)(n);return r.extra,r}catch(e){return{text:JSON.stringify(n)}}},getItemModelName=function(e,t,n,a){var o,i,s=e.name,l=getItemMetadata(e,n).customModel;l&&(s=l);var c=(0,u.AV)(a,(0,r._)({},t)),w=null==(o=(0,d.D)(appViewer.resourcesManager.currentResources.itemsDefinitionsStore,{name:s,version:appViewer.resourcesManager.currentResources.version,properties:c}))?void 0:o.model;return null!=(i="minecraft:special"===w?void 0:w)?i:s}},47161:function(e,t,n){"use strict";n.d(t,{W7:()=>getLastAutoCapturedPackets,g0:()=>localRelayServerPlugin,hj:()=>downloadAutoCapturedPackets}),n(76148),n(2685),n(52003),n(23712),n(12989),n(78873),n(96573),n(94244),n(42050),n(83902),n(64912),n(81812),n(96220),n(72558),n(40542),n(7960),n(46302),n(64813);var r,a=n(21457),o=n(95863),i=n(19008),s=n(67367),l=n(44846),c=n(19478),u=n(67253),d=n(48747),w="",localRelayServerPlugin=function(e){w=e.version,e.on("end",function(){}),e.loadPlugin((0,a.viewerConnector)({tcpEnabled:!1,websocketEnabled:!1}));var t,downloadFile=function(e,t){var n=document.createElement("a"),r=new Blob([e],{type:"text/plain"}),a=URL.createObjectURL(r);n.href=a,n.download=t,n.click(),URL.revokeObjectURL(a)};e.downloadCurrentWorldState=function(){var t=e.webViewer._unstable.createStateCaptureFile(),n=new Date().toISOString().replaceAll(/[-:Z]/g,"");downloadFile(t.contents,"".concat(e.username,"-world-state-").concat(n,".").concat(o.WORLD_STATE_FILE_EXTENSION))},e.startPacketsRecording=function(){e.webViewer._unstable.startRecording(function(e){t=e})},e.stopPacketsRecording=function(){if(t){var n=null==t?void 0:t.contents;t=void 0;var r=new Date().toISOString().replaceAll(/[-:Z]/g,"");downloadFile(n,"".concat(e.username,"-packets-").concat(r,".").concat(o.PACKETS_REPLAY_FILE_EXTENSION)),e.webViewer._unstable.stopRecording()}},r=new i.default(30);var n=0;e._client.on("writePacket",function(t,a){r.add({name:t,state:e._client.state,params:a,isFromServer:!1,timestamp:Date.now()}),u.bl.active&&(d.P.packetsPlayback.push({name:t,data:a,isFromClient:!0,isUpcoming:!1,position:n++,timestamp:Date.now()}),d.P.progress.current++)}),e._client.on("packet",function(t,a){var o=a.name;"map_chunk"===o&&(t={x:t.x,z:t.z}),r.add({name:o,state:e._client.state,params:t,isFromServer:!0,timestamp:Date.now()}
1),u.bl.active&&(d.P.packetsPlayback.push({name:o,data:t,isFromClient:!1,isUpcoming:!1,position:n++,timestamp:Date.now()}),d.P.progress.total++)});var s=e._client.writeChannel.bind(e._client);e._client.writeChannel=function(e,t){d.P.packetsPlayback.push({name:e,data:t,isFromClient:!0,isUpcoming:!1,position:n++,timestamp:Date.now(),isCustomChannel:!0}),s(e,t)},upPacketsReplayPanel()},upPacketsReplayPanel=function(){u.bl.active&&bot&&(d.P.isOpen=!0,d.P.isMinimized=!0,d.P.isRecording=!0,d.P.replayName="Recording all packets for "+bot.username)};(0,l.Ld)(u.bl,function(){upPacketsReplayPanel()});var getLastAutoCapturedPackets=function(){return null==r?void 0:r.size},downloadAutoCapturedPackets=function(){var e,t,n=new s.PacketsLogger({minecraftVersion:w});n.relativeTime=!1,n.formattedTime=!0;var a=!0,o=!1,i=void 0;try{for(var l,u,d,p,h=(null!=(d=null==r?void 0:r.getLastElements())?d:[])[Symbol.iterator]();!(a=(p=h.next()).done);a=!0){var M=p.value;n.log(M.isFromServer,{name:M.name,state:M.state,time:M.timestamp},M.params)}}catch(e){o=!0,i=e}finally{try{a||null==h.return||h.return()}finally{if(o)throw i}}var g=new Blob([n.contents],{type:"text/plain"}),m=URL.createObjectURL(g),v=document.createElement("a");v.href=m,v.download="".concat(null!=(e=null==(l=c.Pc.value)?void 0:l.server)?e:"unknown-server","-").concat(null!=(t=null==(u=c.Pc.value)?void 0:u.username)?t:"unknown-username","-auto-captured-packets.txt"),v.click(),URL.revokeObjectURL(m)}},95493:function(e,t,n){"use strict";n.d(t,{g:()=>s});var r=n(41441),a=n(68770),o=n(88353),i=n(3212);n(58207);var s=function(e){function UserError(e){var t;return(0,a._)(this,UserError),(t=(0,r._)(this,UserError,[e])).name="UserError",t}return(0,o._)(UserError,e),UserError}((0,i._)(Error))},14972:function(){var e=null;document.addEventListener("touchstart",function(t){if(t.touches.length>1){e=null;return}e&&Date.now()-e.clickTime<500&&e.element===t.target&&(e.element.dispatchEvent(new MouseEvent("dblclick",{bubbles:!0})),e=null),e={clickTime:Date.now(),element:t.target}},{passive:!1})},30367:function(e,t,n){"use strict";n.d(t,{SJ:()=>resetSelectedOptions,YM:()=>A,Zb:()=>getChangedSettings,_G:()=>resetOptions,hI:()=>v,of:()=>y,s:()=>getAppLanguage,t6:()=>watchValue,vC:()=>M.vC,vS:()=>m});var r,a,o,i=n(4186),s=n(59240),l=n(81979);n(48899),n(96573),n(90804),n(24705),n(53346),n(74822),n(96220),n(87620),n(83210),n(52307),n(8416),n(93118),n(82766),n(37151),n(20142),n(89909),n(24578),n(89437),n(802),n(52895),n(46525),n(83930),n(18369),n(41494),n(66616),n(39222),n(83282),n(59237),n(60353),n(40332),n(72040),n(52768),n(2249),n(94244),n(42050),n(83902),n(59045),n(95526),n(39908),n(95790),n(50183),n(7611),n(65340),n(2850),n(49245),n(7960),n(46302),n(64813),n(8705),n(98668),n(74120),n(40542),n(73372);var c=n(44846),u=n(32719),d=n(19056),w=n(32175),p=n(78425),h=n(40451),M=n(76738),g=null!=(a=null==(r=n(14224).env)?void 0:r.INLINED_APP_CONFIG)?a:{},m=Object.fromEntries((null!=(o=w.TK.setting)?o:[]).map(function(e){var t=(0,s._)(e.split(":"),2);return[t[0],JSON.parse(t[1])]})),v=(0,c.sj)({value:new Set(Object.keys(m))}),y=(0,c.sj)({value:new Set}),isDeepEqual=function(e,t){if(e===t)return!0;if((void 0===e?"undefined":(0,l._)(e))!==(void 0===t?"undefined":(0,l._)(t))||(void 0===e?"undefined":(0,l._)(e))!=="object")return!1;if(null===e||null===t)return e===t;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(function(e,n){return isDeepEqual(e,t[n])});var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(n){return isDeepEqual(e[n],t[n])})},getChangedSettings=function(){return Object.fromEntries(Object.entries(p.e1.changedSettings).filter(function(e){var t=(0,s._)(e,2),n=t[0],r=t[1];return!isDeepEqual(M.vC[n],r)}))},A=(0,c.sj)((0,i._)({},M.vC,g.defaultSettings,function(e){if(0===Object.keys(null!=(n=e.touchControlsPositions)?n:{}).length&&(e.touchControlsPositions=M.vC.touchControlsPositions),e.jeiEnabled&&(e.inventoryJeiEnabled=e.jeiEnabled,delete e.jeiEnabled),(null==(t=e.touchControlsPositions)?void 0:t.jump)===void 0&&(e.touchControlsPositions.jump=M.vC.touchControl
1sPositions.jump),"joystick-buttons"===e.touchControlsType&&(e.touchInteractionType="buttons"),e.lowMemoryMode&&(e.rendererWorldPerformance="low-energy",delete e.lowMemoryMode),"number"==typeof e.multiplayerRenderDistance){var t,n,r,a=e.multiplayerRenderDistance;e.renderDistance=Math.max(e.renderDistance,a),delete e.multiplayerRenderDistance}return(!Number.isFinite(e.renderDistance)||(null!=(r=e.renderDistance)?r:0)<1)&&(e.renderDistance=M.vC.renderDistance),(0,d.Ze)(e),e}(p.e1.changedSettings),m));window.options=window.settings=A;var resetOptions=function(){Object.assign(A,M.vC),p.e1.changedSettings={}},resetSelectedOptions=function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value;if(i in M.vC&&!(v.value.has(i)||y.value.has(i))){var s=M.vC[i];A[i]=s,delete p.e1.changedSettings[i]}}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}};Object.defineProperty(window,"debugChangedOptions",{get:function(){return getChangedSettings()}}),(0,c.Ld)(A,function(e){if("true"!==w.EX.freezeSettings){var t=!0,n=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value,l=(0,s._)(i,3),c=(l[0],l[1]);l[2];var u=c[0];v.value.has(u)||y.value.has(u)||(p.e1.changedSettings[u]=A[u])}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}});var watchValue=function(e,t){var n=new Set;t(new Proxy(e,{get:function(e,t,r){return n.add(t.toString()),Reflect.get(e,t,r)}}),!1);var r=[],a=!0,o=!1,i=void 0;try{for(var s,l=n[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=s.value;r.push((0,u.VW)(e,c,function(){t(e,!0)}))}}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return function(){var e=!0,t=!1,n=void 0;try{for(var a,o=r[Symbol.iterator]();!(e=(a=o.next()).done);e=!0)(0,a.value)()}catch(e){t=!0,n=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw n}}}};watchValue(A,function(e){globalThis.excludeCommunicationDebugEvents=e.excludeCommunicationDebugEvents}),watchValue(A,function(e){document.body.classList.toggle("disable-assets",e.disableAssets)}),watchValue(A,function(e){document.body.style.setProperty("--touch-movement-buttons-opacity",(e.touchButtonsOpacity/100).toString())}),watchValue(A,function(e){document.body.style.setProperty("--touch-movement-buttons-position",2*e.touchButtonsPosition+"px")});var getAppLanguage=function(){if("auto"===A.language){var e,t;return null!=(t=null==(e=h.N_.appConfig)?void 0:e.defaultLanguage)?t:navigator.language}return A.language}},67253:function(e,t,n){"use strict";n.d(t,{G_:()=>h,ZP:()=>__WEBPACK_DEFAULT_EXPORT__,bl:()=>p,h_:()=>a});var r,a,o=n(14772),i=n(59240),s=n(81979),l=n(9787);n(72216),n(92553),n(69261),n(20823),n(77962),n(98497),n(54487),n(10728),n(84269),n(41021),n(95190),n(81138),n(90758),n(7652),n(60501),n(63765),n(60139),n(41353),n(38409),n(24517),n(33207),n(55914),n(31551),n(4383),n(12516),n(18729),n(88364),n(83450),n(36670),n(26110),n(91292),n(51470),n(52777),n(83902),n(96573),n(33975),n(60398),n(44505),n(10020),n(71698),n(42973),n(21428),n(25113),n(55058),n(29127),n(95790),n(50183),n(7960),n(46302),n(64813),n(94244),n(42050),n(72558),n(73372);var c=n(44846),u=n(67367),d=n(30367),w=n(55872).Buffer,p=(0,c.sj)({active:d.YM.packetsRecordingAutoStart,hasRecordedPackets:!1}),isBufferData=function(e){return!!(w.isBuffer(e)||e instanceof Uint8Array)||(void 0===e?"undefined":(0,s._)(e))==="object"&&null!==e&&Object.values(e).some(function(e){return isBufferData(e)})},processPacketData=function(e){if("no-buffers"===d.YM.packetsLoggerPreset){if(w.isBuffer(e))return"[buffer]";if((void 0===e?"undefined":(0,s._)(e))==="object"&&null!==e){var t={},n=!0,r=!1,a=void 0;try{for(var o,l=Object.entries(e)[Symbol.iterator]();!(n=(o=l.next()).done);n=!0){var c=(0,i._)(o.value,2),u=c[0],p=c[1];t[u]=isBufferData(p)?"[buffer]":p}}catch(e){r=!0,a=e}finally{try{n||null==l.return||l.return()}finally{if(r)throw a}}return t}}return e};function __WEBPACK_DEFAULT_EXPORT__(){customEvents.on("mineflayerBotCreated",function(){(a=new u.PacketsLogger({minecraftVersion:bot.ver
1sion})).contents="",p.hasRecordedPackets=!1;var handleServerPacket=function(e,t){var n=t.name,r=t.state,o=void 0===r?bot._client.state:r;p.active&&(a.log(!0,{name:n,state:o},processPacketData(e)),p.hasRecordedPackets=!0)};bot._client.on("packet",handleServerPacket),bot._client.on("packet_name",function(e,t){handleServerPacket(t,{name:e})}),bot._client.on("writePacket",function(e,t){p.active&&(a.log(!1,{name:e,state:bot._client.state},processPacketData(t)),p.hasRecordedPackets=!0)})})}var h=(r=(0,o._)(function(){var e;return(0,l.Jh)(this,function(t){return(e=document.createElement("a")).href="data:text/plain;charset=utf-8,".concat(encodeURIComponent(a.contents)),e.download="packets-replay-".concat(new Date().toISOString(),".txt"),e.click(),[2]})}),function(){return r.apply(this,arguments)});globalThis.downloadPacketsReplay=h},2905:function(e,t,n){"use strict";n.d(t,{Uv:()=>_,ZB:()=>openFile,uO:()=>switchGameMode,jg:()=>startLocalReplayServer});var r,a=n(14772),o=n(59240),i=n(25763),s=n(81979),l=n(9787);n(72558),n(7611),n(65340),n(2850),n(95790),n(83902),n(58207),n(52307),n(8416),n(93118),n(82766),n(37151),n(20142),n(89909),n(24578),n(89437),n(802),n(52895),n(46525),n(83930),n(18369),n(41494),n(66616),n(39222),n(83282),n(59237),n(60353),n(40332),n(72040),n(52768),n(2249),n(96573),n(94244),n(42050),n(34812),n(69047),n(95922),n(40542),n(56070),n(67022),n(56520),n(11304),n(7960),n(46302),n(64813),n(90804),n(24705),n(53346),n(26980),n(52457),n(83210),n(27969),n(50183);var c=n(76207),u=n(67367),d=n(95863),w=n(5444),p=n.n(w),h=n(95493),M=n(48747),g=n(20095),m=n(17595),getFixedFilesize=function(e){return(0,m.Z)(e,{minimumFractionDigits:2,maximumFractionDigits:2})},v=n(55872).Buffer;function openFile(e){var t=e.contents,n=e.filename,r=e.filesize;M.P.replayName="".concat(void 0===n?"unnamed":n," (").concat(getFixedFilesize(null!=r?r:t.length),")"),M.P.isPlaying=!1,dispatchEvent(new CustomEvent("connect",{detail:{worldStateFileContents:t,username:"replay"}}))}var startLocalReplayServer=function(e){var t,n,r=(0,u.parseReplayContents)(e),o=r.packets,i=r.header;if(M.P.packetsPlayback=[],M.P.isOpen=!0,M.P.isPlaying=!0,M.P.progress={current:0,total:o.filter(function(e){return e.isFromServer}).length},M.P.speed=1,(n=M.P).replayName||(n.replayName="local ".concat(getFixedFilesize(e.length))),M.P.replayName="".concat(i.minecraftVersion," ").concat(M.P.replayName),"formatVersion"in i&&1!==i.formatVersion)throw new h.g("Unsupported format version: ".concat(i.formatVersion));if("replayAgainst"in i&&"server"===i.replayAgainst)throw Error("not supported");var s=(0,c.createServer)({Server:g.f,version:i.minecraftVersion,keepAlive:!1,"online-mode":!1}),d=p()(i.minecraftVersion);return s.on(d.supportFeature("hasConfigurationState")?"playerJoin":"login",(t=(0,a._)(function(e){return(0,l.Jh)(this,function(t){switch(t.label){case 0:return[4,b(e,o,!M.P.customButtons.validateClientPackets.state||void 0)];case 1:return t.sent(),[2]}})}),function(e){return t.apply(this,arguments)})),{server:s,version:i.minecraftVersion}},y=new Set([]),A={client:0,server:0},addPacketToReplayer=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=n?"client":"server";if(r){var o=M.P.packetsPlayback.find(function(t){return t.isUpcoming&&t.name===e});o&&(o.isUpcoming=!1)}else M.P.packetsPlayback.push({name:e,data:t,isFromClient:n,position:++A[a],isUpcoming:!1,timestamp:Date.now()});!n&&!r&&M.P.progress.current++},b=(r=(0,a._)(function(e,t){var n,r,a,s,c,u,d,w,p,h,g,m,v,b,_,L=arguments;return(0,l.Jh)(this,function(C){switch(C.label){case 0:n=L.length>2&&void 0!==L[2]?L[2]:[],r=function(t,n){n=restoreData(n),e.write(t,n)},a=t.filter(function(e){return"play"===e.state}),s=[],c=createPacketsWaiter({unexpectedPacketReceived:function(e,t){console.log("unexpectedPacketReceived",e,t),addPacketToReplayer(e,t,!0)},expectedPacketReceived:function(e,t){console.log("expectedPacketReceived",e,t),addPacketToReplayer(e,t,!0,!0)},unexpectedPacketsLimit:15,onUnexpectedPacketsLimitReached:function(){addPacketToReplayer("...",{},!0)}}),u=console.error,d=null,console.error=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(d&&console.log("Got error after packet",d.name,d.params),u.apply(console,t),M.P.customButtons.stopOnError.state)throw M.P.isPlaying=!1,Error("Replay stopped due to error: "+t.join(" "))},w=function(e,t){try{r(e,t),addPacketToReplayer(e,t,!1),d={name:e,params:t}}catch(e){console.error("Error processing packet:",e),M.P.customButtons.stopOnError.state&&(M.P.isPlaying=!1)}},C.label=1;case 1:C.trys.push([1,,10,11]),bot.on("error",function(e){console.error("Mineflayer error:",e)}),bot._client.on("writePacket",function(e,t){c.addPacket(e,t)}),console.log("start replaying!"),p=!0,h=!1,g=void 0,C.label=2;case 2:C.trys.push([2,7,8,9]),m=function(){var e,t,r,u,d,p,h,g,m,v;return(0,l.Jh)(this,function(l){switch(l.label){case 0:if(t=(e=(0,o._)(b.value,2))[0],r=e[1],M.P.isPlaying)return[3,2];return[4,new Promise(function(e){var t=setInterval(function(){M.P.isPlaying&&(clearInterval(t),e())},100)})];case 1:l.sent(),l.label=2;case 2:if(!r.isFromServer)return[3,5];if(null===r.params)return console.warn("packet.params is null",r),[2,"continue"];if(w(r.name,r.params),!r.diff)return[3,4];return[4,new Promise(function(e){setTimeout(e,r.diff*M.P.speed+500*+!!M.P.customButtons.packetsSenderDelay.state)})];case 3:l.sent(),l.label=4;case 4:return[3,7];case 5:if(!(!0!==n&&!n.includes(r.name))||(s.push({name:r.name,params:r.params}),!(null==(u=a[t+1])?void 0:u.isFromServer)))return[3,7];s=s.filter(function(e,t){return!y.has(e.name)||t===s.findIndex(function(t){return t.name===e.name})}),d=!0,p=!1,h=void 0;try{for(g=s[Symbol.iterator]();
1!(d=(m=g.next()).done);d=!0)v=m.value,M.P.packetsPlayback.push({name:v.name,data:v.params,isFromClient:!0,position:A.client++,timestamp:Date.now(),isUpcoming:!0})}catch(e){p=!0,h=e}finally{try{d||null==g.return||g.return()}finally{if(p)throw h}}return[4,Promise.race([c.waitForPackets(s.map(function(e){return e.name}))].concat((0,i._)(M.P.customButtons.skipMissingOnTimeout.state?[new Promise(function(e){setTimeout(e,1e3)})]:[])))];case 6:l.sent(),c.stopWaiting(),s=[],l.label=7;case 7:return[2]}})},v=a.entries()[Symbol.iterator](),C.label=3;case 3:if(p=(b=v.next()).done)return[3,6];return[5,(0,l.XA)(m())];case 4:C.sent(),C.label=5;case 5:return p=!0,[3,3];case 6:return[3,9];case 7:return _=C.sent(),h=!0,g=_,[3,9];case 8:try{p||null==v.return||v.return()}finally{if(h)throw g}return[7];case 9:return[3,11];case 10:return console.error=u,[7];case 11:return[2]}})}),function(e,t){return r.apply(this,arguments)}),switchGameMode=function(e){"spectator"===e&&bot._client.emit("abilities",{flags:6}),bot._client.emit("game_state_change",{reason:3,gameMode:{survival:0,creative:1,adventure:2,spectator:3}[e]})},createPacketsWaiter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=null,n=[],r=!1,o=0,handlePacket=function(t,n,r,a){var i,s,l;r.includes(n)?(r.splice(r.indexOf(n),1),null==(i=e.expectedPacketReceived)||i.call(e,n,t)):(e.unexpectedPacketsLimit&&o<e.unexpectedPacketsLimit&&(null==(s=e.unexpectedPacketReceived)||s.call(e,n,t)),e.onUnexpectedPacketsLimitReached&&o===e.unexpectedPacketsLimit&&(null==(l=e.onUnexpectedPacketsLimitReached)||l.call(e)),o++),0===r.length&&a()};return{addPacket:function(e,r){t?t(r,e):n.push({name:e,params:r})},waitForPackets:function(e){return(0,a._)(function(){return(0,l.Jh)(this,function(a){switch(a.label){case 0:if(r)throw Error("Already waiting for packets");o=0,r=!0,a.label=1;case 1:return a.trys.push([1,,3,4]),[4,new Promise(function(r){var a=(0,i._)(e);t=function(e,t){handlePacket(e,t,a,r)};var o=!0,s=!1,l=void 0;try{for(var c,u=n[Symbol.iterator]();!(o=(c=u.next()).done);o=!0){var d=c.value;handlePacket(d.params,d.name,a,r)}}catch(e){s=!0,l=e}finally{try{o||null==u.return||u.return()}finally{if(s)throw l}}n.length=0})];case 2:return a.sent(),[3,4];case 3:return r=!1,t=null,[7];case 4:return[2]}})})()},stopWaiting:function(){r=!1,t=null,n.length=0}}},isArrayEqual=function(e,t){if(e.length!==t.length)return!1;var n=!0,r=!1,a=void 0;try{for(var i,s=e.entries()[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var l=(0,o._)(i.value,2),c=l[0];if(l[1]!==t[c])return!1}}catch(e){r=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw a}}return!0},restoreData=function(e){if(!e)return e;if(isArrayEqual(Object.keys(e).sort(),["data","type"].sort())&&"Buffer"===e.type)return v.from(e.data);if((void 0===e?"undefined":(0,s._)(e))==="object"&&e){var t=!0,n=!1,r=void 0;try{for(var a,i=Object.entries(e)[Symbol.iterator]();!(t=(a=i.next()).done);t=!0){var l=(0,o._)(a.value,2),c=l[0],u=l[1];(void 0===u?"undefined":(0,s._)(u))==="object"&&(e[c]=restoreData(u))}}catch(e){n=!0,r=e}finally{try{t||null==i.return||i.return()}finally{if(n)throw r}}}return e},_=[".".concat(d.PACKETS_REPLAY_FILE_EXTENSION),".".concat(d.WORLD_STATE_FILE_EXTENSION)]},76945:function(e,t,n){"use strict";n.d(t,{ou:()=>q,ZP:()=>E,kh:()=>quickDevReconnect,$1:()=>reconnectReload,FI:()=>resetAppStatusState});var r=n(14772),a=n(59240),o=n(25763),i=n(9787);n(49245),n(56515),n(87620),n(83210),n(74822),n(96220),n(67022),n(56520),n(66395),n(56843),n(98474),n(90804),n(24705),n(53346),n(72558),n(34812),n(69047),n(95922),n(95790),n(83902);var s=n(52676),l=n(44846),c=n(9117),u=n(75271),d=n(40451);n(32831);var guessProblem=function(e){if(e.endsWith("Socket error: ECONNREFUSED"))return"Most probably the server is not running."},w=n(67253),p=n(63389),h=n(47161),M=n(32175),g=n(19478);n(7960),n(46302),n(56070),n(86070),n(52251),n(42050),n(79525);let m={appStatusTitleContextInfo:"app-status-title-context-info-y1wg4x",description:"description-CKQUPy","last-status":"last-status-js4NpE"};var v=n(83389),y=n(27678),A=n(47477),b=n(33927);let _=(0,b.K)(function(e){var t,n,o,l=e.status,c=e.isError,d=e.hideDots,w=e.lastStatus,p=void 0===w?"":w,h=e.backAction,b=void 0===h?void 0:h,_=e.description,L=e.actionsSlot,C=e.showReconnect,j=e.onReconnect,D=void 0===j?void 0:j,x=e.children,k=(0,a._)((0,u.useState)(0),2),T=k[0],N=k[1];g.Pc.hadWorldLoaded,(0,u.useEffect)(function(){var e;(e=(0,r._)(function(){return(0,i.Jh)(this,function(e){var t,n;return t=(0,r._)(function(e){return(0,i.Jh)(this,function(t){return[2,new Promise(function(t){setTimeout(t,e)})]})}),n=(0,r._)(function(){return(0,i.Jh)(this,function(e){switch(e.label){case 0:return N(function(e){return(e+1)%4}),[4,function(e){return t.apply(this,arguments)}(500)];case 1:return e.sent(),[3,0];case 2:return[2]}})}),!function(){n.apply(this,arguments)}(),[2]})}),function(){return e.apply(this,arguments)})()},[]);var S="true"===M.EX.lockConnect,z=g.Pc.value,q=(null==z?void 0:z.server)&&!z.server.startsWith("ws://")&&!z.server.startsWith("wss://")?z.proxy:void 0;return(0,s.jsx)("div",{className:"",children:(0,s.jsxs)(y.Z,{className:"small-content",titleSelectable:c,title:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"app-status-title",style:{wordBreak:"break-word",whiteSpace:"pre-wrap"},children:l}),(0,s.jsx)("div",{style:{display:"inline-flex",gap:"1px"},hidden:void 0!==d&&d||c,children:Array.from("...").map(function(e,t){return(0,s.jsx)("span",{style:{visibility:T<=t?"hidden":"visible"},children:e},t)})}),(0,s.jsx)("p",{className:m.description,children:void 0===_?"":_}),(0,s.jsx)("p",{className:m["last-status"],children:p?"Last status: ".concat(p):p}),c&&(0,s.jsxs)("p",{className:"app-status-title-context-info ".concat(m.appStatusTitleContextInfo),children:["S: ",null!=(t=null==z?void 0:z.server)?t:"N/A"," "," ","P: ",null!=q?q:"N/A"," "," ","V: ",null!=(n=null==z?void 0:z.botVersion)?n:"auto"," "," ","U: ",null!=(o=null==z?void 0:z.username)?o:"N/A"," ","cV: ","v2.3.0"]})]}),backdrop:"dirt",children:[c&&(0,s.jsxs)(s.Fragment,{children:[void 0!==C&&C&&D&&(0,s.jsx)(v.Z,{onClick:D,children:(0,s.jsx)("b",{children:"Reconnect"})}),void 0===L?null:L,!S&&(0,s.jsx)(v.Z,{onClick:function(){location.search?location.search="":window.location.reload()},children:(0,s.jsx)("b",{children:"Reset App (recommended)"})}),b&&(0,s.jsx)(v.Z,{label:"Back",onClick:b})]}),x,(0,s.jsx)(A.Z,{})]})})},"appStatus");var L=n(13432),C=n(33634);let j={container:"container-HLYI5E",main:"main-i6FZfW"},D=(0,b.K)(function(e){var t=e.children,n=e.open,r=e.isError,o=(0,a._)((0,u.useState)(!1),2),i=o[0],l=o[1];return((0,u.useEffect)(function(){var e;return!i&&n&&l(!0),i&&!n&&(e=setTimeout(function(){l(!1)},300)),function(){e&&clearTimeout(e)}},[n]),i)?(0,s.jsx)(L.M,{children:n&&(0,s.jsx)("div",{className:j.container,children:(0,s.jsx)(C.E.div,{initial:!1,exit:void 0!==r&&r?void 0:{opacity:0}
1,transition:{duration:.3},className:j.main,children:t})})}):null},"diveTransition");var x=n(74614),k=n(76412),T=n(30232),N=n(3308);function react_LoadingChunks(e){var t,n,r,i,l=e.regionFiles,c=void 0===l?[]:l,u=e.stateMap,d=void 0===u?{}:u,w=e.displayText,p=void 0!==w&&w,h=e.playerChunk,M=void 0===h?null:h,g=c.map(function(e){return e.split(".").slice(1,3).map(Number)}),m=(t=Math).min.apply(t,(0,o._)(g.map(function(e){return(0,a._)(e,1)[0]}))),v=(n=Math).max.apply(n,(0,o._)(g.map(function(e){return(0,a._)(e,1)[0]}))),y=(r=Math).min.apply(r,(0,o._)(g.map(function(e){return(0,a._)(e,2)[1]}))),A=(i=Math).max.apply(i,(0,o._)(g.map(function(e){return(0,a._)(e,2)[1]}))),b=v-m+1,_=A-y+1;return(0,s.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(".concat(b,", 1fr)"),gridTemplateRows:"repeat(".concat(_,", 1fr)"),gap:1,width:"110px",height:"110px"},children:Array.from({length:b*_}).map(function(e,t){var n=m+t%b,r=y+Math.floor(t/b),a="r.".concat(n,".").concat(r,".mca"),o=d[a];return c.includes(a)?(0,s.jsx)(Chunk,{x:n,z:r,state:o,displayText:p,currentPlayer:(null==M?void 0:M.x)===n&&(null==M?void 0:M.z)===r},t):(0,s.jsx)("div",{style:{background:"gray"}},t)})})}n(58819),n(59045),n(38930);var Chunk=function(e){var t=e.x,n=e.z,r=e.state,a=e.displayText,o=e.currentPlayer,i=a?"".concat(t,",").concat(n):void 0;return(0,s.jsxs)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",background:"errored"===r?"red":"loading"===r?"white":"limegreen",animation:"loading"===r?"loading-chunks-loading-animation 4s infinite cubic-bezier(0.4, 0, 0.2, 1)":void 0,transition:"background 1s",color:"loading"===r?"black":"white",position:"relative",zIndex:1},children:[o&&(0,s.jsx)("div",{style:{position:"absolute",background:"red",borderRadius:"50%",width:"5px",height:"5px",zIndex:-1}}),i]})},S=n(85691),z={status:"",lastStatus:"",maybeRecoverable:!0,descriptionHint:"",isError:!1,hideDots:!1,loadingChunksData:null,loadingChunksDataPlayerChunk:null,isDisplaying:!1,minecraftJsonMessage:null,showReconnect:!1},q=(0,l.sj)(z),resetAppStatusState=function(){Object.assign(q,z)},saveReconnectOptions=function(e){sessionStorage.setItem("reconnectOptions",JSON.stringify({value:e,timestamp:Date.now()}))},reconnectReload=function(){g.Pc.value&&saveReconnectOptions(g.Pc.value),window.location.reload()},quickDevReconnect=function(){g.Pc.value&&(resetAppStatusState(),window.dispatchEvent(new window.CustomEvent("connect",{detail:g.Pc.value})))};let E=(0,b.K)(function(){var e,t=(0,u.useRef)(JSON.parse(JSON.stringify(q))),n=(0,c.R)(q),a=(0,c.R)(w.bl).active,l=(0,k.uM)("app-status");l&&(t.current=JSON.parse(JSON.stringify(n)));var p=l?n:t.current,m=p.isError,y=p.lastStatus,A=p.maybeRecoverable,b=p.status,L=p.hideDots,C=p.descriptionHint,j=p.loadingChunksData,z=p.loadingChunksDataPlayerChunk,E=p.minecraftJsonMessage,I=p.showReconnect;(0,x.Dz)(function(){if(!l){var startDiveAnimation=function(e){e.style.animationName="dive-animation",e.parentElement.style.perspective="1200px",e.onanimationend=function(){e.parentElement.style.perspective="",e.onanimationend=null}},e=document.querySelector("#viewer-canvas"),t=null;return e?startDiveAnimation(e):(t=new MutationObserver(function(e){var n=document.querySelector("#viewer-canvas");n&&(startDiveAnimation(n),t.disconnect())})).observe(document.body,{childList:!0,subtree:!0}),function(){t&&t.disconnect()}}},[l]),(0,u.useEffect)(function(){var e=new AbortController;return window.addEventListener("keyup",function(e){var t,n,r;!"input textarea select".split(" ").includes(null!=(r=null==(t=e.target.tagName)?void 0:t.toLowerCase())?r:"")&&(null==(n=d.M.at(-1))?void 0:n.reactType)==="app-status"&&"KeyR"===e.code&&g.Pc.value&&quickDevReconnect()},{signal:e.signal}),function(){return e.abort()}},[]);var P=b.includes("This server appears to be an online server and you are providing no authentication.")||JSON.stringify(null!=E?E:{}).toLowerCase().includes("authenticate"),hasVpnText=function(e){return e.includes("VPN")||e.includes("Proxy")},Y=hasVpnText(b)||E&&hasVpnText(JSON.stringify(E)),O=(e=(0,r._)(function(){var e,t;return(0,i.Jh)(this,function(n){switch(n.label){case 0:return e=[],(0,T.ky)(function(t){return e=t,t}),[4,(0,N.un)("Choose account to connect with",(0,o._)(e.map(function(e){return e.username})).concat(["Use other account"]))];case 1:if(!(t=n.sent()))return[2];return g.Pc.value.authenticatedAccount=e.find(function(e){return e.username===t})||!0,quickDevReconnect(),[2]}})}),function(){return e.apply(this,arguments)}),R=(0,h.W7)(),B="true"===M.EX.lockConnect,U=void 0;return!A||B&&I||(U=function(){if((0,d.om)(),!I)return void(0,d.VG)(void 0,void 0,{force:!0});if(resetAppStatusState(),d.N_.gameLoaded=!1,d.N_.loadedDataVersion=null,window.loadedData=void 0,d.eJ["main-menu"]){var e;
1(0,d.w6)("main-menu"),(null==(e=d.M.at(-1))?void 0:e.reactType)==="app-status"&&(0,d.VG)(void 0,void 0,{force:!0})}else(0,d.VG)(void 0,void 0,{force:!0})}),(0,s.jsx)(D,{open:l,isError:m,children:(0,s.jsxs)(_,{status:b,isError:m||""===b,hideDots:L,lastStatus:y,showReconnect:I,onReconnect:reconnectReload,description:(0,s.jsxs)(s.Fragment,{children:[P?"":(m?guessProblem(b):"")||C,E&&(0,s.jsx)(S.Z,{message:E})]}),backAction:U,actionsSlot:(0,s.jsxs)(s.Fragment,{children:[P&&(0,s.jsx)(v.Z,{label:"Authenticate",onClick:O}),Y&&(0,s.jsx)(PossiblyVpnBypassProxyButton,{reconnect:quickDevReconnect}),a&&(0,s.jsx)(v.Z,{label:"Download Packets Replay ".concat(null===w.h_||void 0===w.h_?void 0:w.h_.contents.split("\n").length,"L"),onClick:w.G_}),I&&R&&(0,s.jsx)(v.Z,{label:"Inspect Last ".concat(R," Packets"),onClick:function(){return(0,h.hj)()}})]}),children:[j&&(0,s.jsx)(react_LoadingChunks,{regionFiles:Object.keys(j),stateMap:j,playerChunk:z}),l&&(0,s.jsx)(DisplayingIndicator,{})]})})},"appStatusProvider");var DisplayingIndicator=function(){return(0,u.useEffect)(function(){requestAnimationFrame(function(){requestAnimationFrame(function(){q.isDisplaying=!0})})},[]),(0,s.jsx)("div",{})},PossiblyVpnBypassProxyButton=function(e){var t=e.reconnect,n=(0,a._)((0,u.useState)(""),2),o=n[0],l=n[1];if((0,u.useEffect)(function(){var e,t,n=null==(t=g.Pc.value)?void 0:t.proxy;n&&(0,p.S)(n).then((e=(0,r._)(function(e){return(0,i.Jh)(this,function(t){return[2,e.json()]})}),function(t){return e.apply(this,arguments)})).then(function(e){var t=e.capabilities.vpnBypassProxy;t&&l(t)}).catch(function(){})},[]),o)return(0,s.jsx)(v.Z,{label:"Use VPN bypass proxy",onClick:function(){var e;(0,T.Mf)(function(e){return e.proxyOverride=o,e},null==(e=g.Pc.value)?void 0:e.serverIndex),g.Pc.value.proxy=o,t()}})}},50343:function(e,t,n){"use strict";n.d(t,{K:()=>L,Z:()=>__WEBPACK_DEFAULT_EXPORT__});var r,a,o=n(14772),i=n(4186),s=n(22312),l=n(59240),c=n(9787);n(56070),n(83902),n(49245),n(64912),n(81812),n(96220),n(90804),n(24705),n(53346),n(72558),n(6645),n(73372),n(55058),n(29127),n(95790),n(15209);var u=n(52676),d=n(44846),w=n(9117),p=n(75271),h=n(40451),M=n(4741),g=n(48044),m=n(27678),v=n(76412),y=n(74614),A=n(83389),b=n(76945),_=(0,d.sj)({mode:"login",serverIp:"",username:"",prefilledPassword:""}),L=(r=(0,o._)(function(e){return(0,c.Jh)(this,function(t){return(0,h.K4)({reactType:"auto-fill-login"}),[2,new Promise(function(t){var n;a=t,Object.assign(_,{mode:e.mode,serverIp:e.serverIp,username:e.username,prefilledPassword:null!=(n=e.prefilledPassword)?n:""})})]})}),function(e){return r.apply(this,arguments)}),C={fontFamily:"minecraft, mojangles, monospace",fontSize:10,color:"white",background:"rgba(0, 0, 0, 0.5)",border:"1px solid #A0A0A0",outline:"none",padding:"4px 6px",width:200,boxSizing:"border-box"},j={fontSize:8,color:"#A0A0A0",marginTop:2,textAlign:"center",maxWidth:200},D="Used as identifier in your password manager",x={fontSize:9,color:"#A0A0A0",textAlign:"center",maxWidth:220},k=((0,s._)((0,i._)({},j),{color:"transparent",pointerEvents:"none"}),{fontSize:9,color:"#FF5555",textAlign:"center",maxWidth:220}),T=((0,s._)((0,i._)({},C),{pointerEvents:"none",color:"transparent",background:"transparent",border:"1px solid transparent"}),function(e){return e.replaceAll("&","&amp;").replaceAll('"',"&quot;").replaceAll("<","&lt;")}),N={register:"auto-fill-register-submit",changepassword:"auto-fill-changepassword-submit"},measureIframeFormLayout=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=e.getBoundingClientRect(),i=r.getBoundingClientRect(),rel=function(e){return{top:(e.top-o.top)/a,left:(e.left-o.left)/a,width:e.width/a,height:e.height/a}};return{iframeWidth:o.width/a,iframeHeight:(i.bottom-o.top)/a+16,fields:t.map(function(e){return rel(e.getBoundingClientRect())}),caption:rel(n.getBoundingClientRect()),button:rel(i)}},mountIframeAuthForm=function(e,t,n,r,a,o){e.src="about:blank",e.style.width="".concat(t.iframeWidth,"px"),e.style.height="".concat(t.iframeHeight,"px");var i=("register"===n?[{name:"username",type:"text",autoComplete:"username",value:r},{name:"password",type:"password",autoComplete:"new-password",value:a,placeholder:"Password"},{name:"password-confirm",type:"password",autoComplete:"new-password",placeholder:"Confirm password"}]:[{name:"username",type:"text",autoComplete:"username",value:r},{name:"old-password",type:"password",autoComplete:"current-password",value:a,placeholder:"Old password"},{name:"new-password",type:"password",autoComplete:"new-password",placeholder:"New password"},{name:"confirm-new-password",type:"password",autoComplete:"new-password",placeholder:"Confirm new password"}]).map(function(e,n){var r,a=void 0===e.value?"":'value="'.concat(T(e.value),'"'),o=e.placeholder?'placeholder="'.concat(T(e.placeholder),'"'):"";return'<input type="'.concat(e.type,'" name="').concat(e.name,'" autocomplete="').concat(e.autoComplete,'" ').concat(a," ").concat(o,' style="').concat((r=t.fields[n],"position:absolute;top:".concat(r.top,"px;left:").concat(r.left,"px;width:").concat(r.width,"px;height:").concat(r.height,"px")),'" />')}).join("\n        "),s=t.button,l=t.caption,c="position:absolute;top:".concat(l.top,"px;left:").concat(l.left,"px;width:").concat(l.width,"px;height:").concat(l.height,"px;box-sizing:border-box;margin:0;font-family:minecraft,mojangles,monospace;
1font-size:7px;color:#A0A0A0;text-align:center;display:flex;align-items:center;justify-content:center;line-height:1.2;padding-top:7px;"),u=y.G6?"#000":"transparent",d=y.G6?"#000":"none",w=N[n],p='\n    <!DOCTYPE html>\n    <html>\n    <head>\n      <meta charset="utf-8">\n      <meta name="color-scheme" content="light dark">\n      <style>\n        html, body {\n          margin: 0;\n          padding: 0;\n          overflow: hidden;\n          background-color: '.concat(u," !important;\n          background: ").concat(d," !important;\n        }\n        form {\n          position: relative;\n          margin: 0;\n          width: ").concat(t.iframeWidth,"px;\n          height: ").concat(t.iframeHeight,"px;\n        }\n        input {\n          box-sizing: border-box;\n          margin: 0;\n          outline: none;\n          color: white;\n          font-family: minecraft, mojangles, monospace;\n          font-size: ").concat(10,"px;\n          padding: ").concat(4,"px ").concat(6,"px;\n          border: ").concat("1px solid #A0A0A0",";\n          background: ").concat("rgba(0, 0, 0, 0.5)",";\n          background-clip: padding-box;\n        }\n        button {\n          position: absolute;\n          top: ").concat(s.top,"px;\n          left: ").concat(s.left,"px;\n          width: ").concat(s.width,"px;\n          height: ").concat(s.height,"px;\n          box-sizing: border-box;\n          margin: 0;\n          cursor: pointer;\n          font-family: minecraft, mojangles, monospace;\n          font-size: ").concat(10,"px;\n          color: white;\n          background: rgba(0, 0, 0, 0.82);\n          border: 1px solid #A0A0A0;\n          padding: ").concat(1,"px ").concat(6,"px;\n          text-transform: uppercase;\n        }\n        #identifier-hint {\n          pointer-events: none;\n        }\n        #iframe-error {\n          position: absolute;\n          top: ").concat(s.top+s.height+4,"px;\n          left: 0;\n          width: ").concat(t.iframeWidth,'px;\n          margin: 0;\n          font-family: minecraft, mojangles, monospace;\n          font-size: 9px;\n          color: #FF5555;\n          text-align: center;\n          pointer-events: none;\n        }\n      </style>\n    </head>\n    <body>\n      <form onsubmit="handleSubmit(event)">\n        ').concat(i,'\n        <div id="identifier-hint" style="').concat(c,'">').concat(D,'</div>\n        <button type="submit">').concat(o,'</button>\n        <div id="iframe-error"></div>\n      </form>\n    </body>\n    </html>\n  ').trimStart(),h=e.contentDocument;if(h){h.open(),h.write(p);var M=h.createElement("script");M.textContent="register"===n?"\n      function handleSubmit(e) {\n        var err = document.getElementById('iframe-error');\n        var pw = document.querySelector('[name=password]').value.trim();\n        var cf = document.querySelector('[name=password-confirm]').value.trim();\n        err.textContent = '';\n        if (!pw) { err.textContent = 'Password is required'; e.preventDefault(); return; }\n        if (pw !== cf) { err.textContent = 'Passwords do not match'; e.preventDefault(); return; }\n        window.parent.postMessage({ type: '".concat(w,"', password: pw }, '*');\n      }\n    "):"\n    function handleSubmit(e) {\n      var err = document.getElementById('iframe-error');\n      var oldPw = document.querySelector('[name=old-password]').value.trim();\n      var newPw = document.querySelector('[name=new-password]').value.trim();\n      var cf = document.querySelector('[name=confirm-new-password]').value.trim();\n      err.textContent = '';\n      if (!oldPw) { err.textContent = 'Old password is required'; e.preventDefault(); return; }\n      if (!newPw) { err.textContent = 'New password is required'; e.preventDefault(); return; }\n      if (newPw !== cf) { err.textContent = 'New passwords do not match'; e.preventDefault(); return; }\n      if (oldPw === newPw) { err.textContent = 'New password must differ from old password'; e.preventDefault(); return; }\n      window.parent.postMessage({ type: '".concat(w,"', password: oldPw, newPassword: newPw }, '*');\n    }\n  "),h.head.appendChild(M),h.close()}},S={display:"flex",flexDirection:"column",gap:5,width:C.width};globalThis.debugAutoFillLogin=function(){L({mode:"register",serverIp:"localhost",username:"test",prefilledPassword:""})};var z="https://mcraft-download-hack.vercel.app";function __WEBPACK_DEFAULT_EXPORT__(){var e=(0,M.K)(),t=(0,w.R)(_),n=t.mode,r=t.serverIp,o=t.username,c=t.prefilledPassword,d=(0,v.uM)("auto-fill-login"),L=(0,p.useRef)(null),T=(0,p.useRef)(null),N=(0,p.useRef)(null),q=(0,p.useRef)(null),E=(0,p.useRef)(null),I=(0,p.useRef)(null),P=(0,p.useRef)(null),Y=(0,p.useRef)(null),O=(0,l._)((0,p.useState)(""),2),R=O[0],B=O[1],U=(0,l._)((0,p.useState)(!1),2),Q=U[0],F=U[1],W=(0,l._)((0,p.useState)(!1),2),V=W[0],J=W[1],G=(0,p.useRef)(void 0),H="".concat(r,"-").concat(o),Z=y.G6&&("register"===n||"changepassword"===n)&&!1,finishSubmit=function(e){B(""),null==a||a(e),a=void 0,(0,h.kJ)()},sendCommandFromModal=function(e){var t=window.bot,a=(0,g.Zt)(n,e.password,e.newPassword);if(!t||!a)return!1;try{t.chat(a)}catch(e){}return(0,g.gL)({password:e.password,newPassword:e.newPassword,mode:n,source:"modal",serverIp:r,username:o,preSaved:!1}),!0},beginSafariSaveStep=function(e){if(!sendCommandFromModal(e))return void B("Could not send command");G.current=e,B(""),J(!0)},handleSkipSave=function(){var e=G.current;if(!e)return void handleCancel();finishSubmit((0,s._)((0,i._)({},e),{commandSent:!0}))},K=(0,p.useCallback)(function(t){var n=P.current,r=Y.current,a=I.current,o=E.current;if(n&&r&&a&&o){var i="register"===t?[q.current,L.current,T.current]:[q.current,L.current,N.current,T.current];i.some(function(e){return!e})||mountIframeAuthForm(r,measureIframeFormLayout(n,i,o,a,e),t,H,null!=c?c:"","register"===t?"Register":"Change")}},[H,c,e]);if((0,p.useEffect)(function(){},[d,n,K]),(0,p.useEffect)(function(){d&&(B(""),F(!1),J(!1),G.current=void 0,L.current&&(L.current.value=null!=c?c:""),T.current&&(T.current.value=""),N.current&&(N.current.value=""),q.current&&(q.current.value=H))},[d,c,r,o,n,H]),!d)return null;var X="login"===n?"Auto-fill server access":"register"===n?"Auto-fill server registration":"changepassword"===n?"Auto-fill password change":"Auto-fill account deleti
1on",handleSubmit=function(e){if(V&&Z){e.preventDefault(),bot.end(),(0,b.$1)();return}if(e.preventDefault(),"unregister"===n){var t,r,a,o,i=(null!=(o=null==(a=L.current)?void 0:a.value)?o:"").trim();return i?Q?void finishSubmit({password:i}):void B("You must confirm account deletion"):void B("Password is required")}if("register"===n){var s,l,c,u,d=(null!=(c=null==(s=L.current)?void 0:s.value)?c:"").trim(),w=(null!=(u=null==(l=T.current)?void 0:l.value)?u:"").trim();return d?d!==w?void B("Passwords do not match"):Z?void beginSafariSaveStep({password:d}):void finishSubmit({password:d}):void B("Password is required")}if("changepassword"===n){var p,h,M,g,m,v,y=(null!=(g=null==(p=L.current)?void 0:p.value)?g:"").trim(),A=(null!=(m=null==(h=N.current)?void 0:h.value)?m:"").trim(),_=(null!=(v=null==(M=T.current)?void 0:M.value)?v:"").trim();return y?A?A!==_?void B("New passwords do not match"):y===A?void B("New password must differ from old password"):Z?void beginSafariSaveStep({password:y,newPassword:A}):void finishSubmit({password:y,newPassword:A}):void B("New password is required"):void B("Old password is required")}var C=(null!=(t=null==(r=L.current)?void 0:r.value)?t:"").trim();if(!C)return void B("Password is required");finishSubmit({password:C})},handleCancel=function(){if(V)return void handleSkipSave();B(""),null==a||a(void 0),a=void 0,(0,h.kJ)()};if("login"===n)return(0,u.jsx)(m.Z,{title:X,backdrop:!0,children:(0,u.jsxs)("form",{onSubmit:handleSubmit,style:{display:"flex",flexDirection:"column",gap:9,alignItems:"center"},action:z,children:[(0,u.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:2},children:[(0,u.jsx)("input",{ref:q,type:"text",name:"username",autoComplete:"username",defaultValue:H,style:C}),(0,u.jsx)("div",{style:j,children:D})]}),(0,u.jsx)("input",{ref:L,type:"password",name:"password",autoComplete:"current-password",autoFocus:!0,defaultValue:c,placeholder:"Password",style:C}),R&&(0,u.jsx)("div",{style:k,children:R}),(0,u.jsxs)("div",{style:S,children:[(0,u.jsx)(A.Z,{type:"submit",children:"Login"}),(0,u.jsx)(A.Z,{type:"button",onClick:handleCancel,children:"Cancel"})]})]})});if("register"===n||"changepassword"===n){var $,ee="register"===n?"Register":"Change",et=V?"Save to browser":ee,en=V?"Skip save":"Cancel";return(0,u.jsx)(m.Z,{title:X,backdrop:!0,children:(0,u.jsxs)("form",{action:z,method:"post",onSubmit:handleSubmit,style:{display:"flex",flexDirection:"column",gap:9,alignItems:"center"},children:[(0,u.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:2},children:[(0,u.jsx)("input",{ref:q,type:"text",name:"username",autoComplete:"username",defaultValue:H,style:C}),(0,u.jsx)("div",{style:j,children:D})]}),"register"===n?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("input",{ref:L,type:"password",name:"password",autoComplete:"new-password",autoFocus:!V,defaultValue:c,placeholder:"Password",style:C}),!V&&(0,u.jsx)("input",{ref:T,type:"password",name:"password-confirm",autoComplete:"new-password",placeholder:"Confirm password",style:C})]}):(0,u.jsxs)(u.Fragment,{children:[!V&&(0,u.jsx)("input",{ref:L,type:"password",name:"old-password",autoComplete:"current-password",autoFocus:!0,defaultValue:c,placeholder:"Old password",style:C}),(0,u.jsx)("input",{ref:V?L:N,type:"password",name:V?"password":"new-password",autoComplete:"new-password",autoFocus:V,defaultValue:V?null==($=G.current)?void 0:$.newPassword:void 0,placeholder:V?"Password":"New password",style:C}),!V&&(0,u.jsx)("input",{ref:T,type:"password",name:"confirm-new-password",autoComplete:"new-password",placeholder:"Confirm new password",style:C})]}),V&&(0,u.jsx)("div",{style:x,children:"Command sent — save password in browser?"}),R&&(0,u.jsx)("div",{style:k,children:R}),(0,u.jsxs)("div",{style:S,children:[(0,u.jsx)(A.Z,{type:"submit",children:et}),(0,u.jsx)(A.Z,{type:"button",onClick:V?handleSkipSave:handleCancel,children:en})]})]})})}return(0,u.jsx)(m.Z,{title:X,backdrop:!0,children:(0,u.jsxs)("form",{action:z,onSubmit:handleSubmit,style:{display:"flex",flexDirection:"column",gap:9,alignItems:"center"},children:[(0,u.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:2},children:[(0,u.jsx)("input",{ref:q,type:"text",name:"username",autoComplete:"username",defaultValue:H,style:C}),(0,u.jsx)("div",{style:j,children:D})]}
1),(0,u.jsx)("input",{ref:L,type:"password",name:"password",autoComplete:"current-password",autoFocus:!0,defaultValue:c,placeholder:"Password",style:C}),(0,u.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:6,fontSize:9,color:"#FF5555",maxWidth:220,cursor:"pointer"},children:[(0,u.jsx)("input",{type:"checkbox",checked:Q,onChange:function(e){return F(e.target.checked)},style:{cursor:"pointer"}})," ","I understand this will delete my account on this server permanently"]}),R&&(0,u.jsx)("div",{style:k,children:R}),(0,u.jsxs)("div",{style:{display:"flex",gap:5},children:[(0,u.jsx)(A.Z,{type:"submit",style:{backgroundColor:"#AA0000"},children:"Unregister"}),(0,u.jsx)(A.Z,{type:"button",onClick:handleCancel,children:"Cancel"})]})]})})}},83389:function(e,t,n){"use strict";n.d(t,{e:()=>ButtonProvider,Z:()=>M});var r=n(4186),a=n(22312),o=n(40413);n(7960),n(46302),n(83902),n(64813),n(96573),n(94244),n(42050),n(72558),n(90804),n(24705),n(53346);var i=n(52676),s=n(29981),l=n.n(s),c=n(75271);let u={button:"button-KqXTeV",icon:"icon-rzxum4"};var d=n(64868),w=n(7329),p=n(33927),h=(0,c.createContext)({onClick:function(){}}),ButtonProvider=function(e){var t=e.children,n=e.onClick;return(0,i.jsx)(h.Provider,{value:{onClick:n},children:t})};let M=(0,p.K)(function(e){var t,n,s,p=e.label,M=e.icon,g=e.children,m=e.inScreen,v=e.rootRef,y=e.type,A=e.postLabel,b=e.overlayColor,_=(e.noTranslate,(0,o._)(e,["label","icon","children","inScreen","rootRef","type","postLabel","overlayColor","noTranslate"])),L=(0,r._)({},_.style),C=(0,c.useRef)(null);(0,c.useEffect)(function(){var traverse=function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=e.childNodes[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value;i.nodeType===Node.TEXT_NODE?i.textContent&&(i.textContent=translate(i.textContent)):traverse(i)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}};traverse(C.current)},[p,g,A]),_.title=translate(_.title);var j=(0,c.useContext)(h),D="".concat(null!=(t=translate(p))?t:""," ").concat("string"==typeof g?translate(g):"");m&&(L.width=150,_.className="".concat(null!=(n=_.className)?n:""," settings-text-container")),"number"==typeof L.width&&(L.width<=150&&D.length>17||L.width>=90&&D.length>=11)&&(_.className="".concat(null!=(s=_.className)?s:""," settings-text-container-long")),M&&(null===L.width||void 0===L.width)&&(L.width=20);var x=!!(M&&!p&&!g&&!A),k="number"==typeof L.width?L.width:20,T=x?{top:"50%",left:"50%",transform:"translate(-50%, -50%)",fontSize:Math.round(k/20*14)}:void 0;return(0,i.jsx)(d.Z,{children:(0,i.jsxs)("button",(0,a._)((0,r._)({ref:function(e){C.current=e,"function"==typeof v?v(e):v&&(v.current=e)}},_),{style:L,className:l()(u.button,_.className),onClick:function(e){var t;j.onClick(),null==(t=_.onClick)||t.call(_,e)},type:void 0===y?"button":y,children:[M&&(0,i.jsx)(w.Z,{className:u.icon,iconName:M,styles:T}),p,A,g,b&&(0,i.jsx)("div",{style:{position:"absolute",inset:0,backgroundColor:b,opacity:.5,pointerEvents:"none"}})]}))})},"button")},11366:function(e,t,n){"use strict";n.d(t,{e:()=>L,Z:()=>C});var r=n(14772),a=n(4186),o=n(22312),i=n(59240),s=n(25763),l=n(9787);n(50183),n(7611),n(65340),n(2850),n(95790),n(83902),n(90804),n(24705),n(53346),n(74822),n(96220),n(44982),n(11747),n(10591),n(8705),n(72558),n(79653),n(87620),n(83210),n(86070),n(56515),n(58819),n(73355),n(52457),n(67022),n(56520),n(66395),n(56843),n(98474),n(27969),n(61816);var c=n(52676),u=n(44846),d=n(75271),w=n(19478),p=n(48044),h=n(54315),M=n(74614),g=n(83389),m=n(7329),v=n(43776),y=n(33927),A=n(46229),b=n(50343),_=n(30232),MessageLine=function(e){var t=e.message,n=e.currentPlayerName,r=e.chatOpened,s=(0,i._)((0,d.useState)("visible"),2),l=s[0],u=s[1];return(0,d.useEffect)(function(){if(!window.debugStopChatFade){var e=setTimeout(function(){u("fading")},5e3),t=setTimeout(function(){u("faded")},8e3);return function(){clearTimeout(e),clearTimeout(t)}}},[]),(0,c.jsx)("li",{className:Object.entries({"chat-message":!0,"chat-message-fading":!r&&"fading"===l,"chat-message-faded":!r&&"faded"===l}).filter(function(e){return(0,i._)(e,2)[1]}).map(function(e){return(0,i._)(e,1)[0]}).join(" "),"data-time":t.timestamp?new Date(t.timestamp).toLocaleStr
1ing("en-US",{hour12:!1}):void 0,children:t.parts.map(function(e,t){if("string"==typeof e.text&&n){var r=e.text.split(RegExp("(@".concat(n,")"),"i"));if(r.length>1)return r.map(function(t,r){var i=(0,o._)((0,a._)({},e),{text:t});return t.toLowerCase()==="@".concat(n).toLowerCase()&&(i.color="#ffa500",i.bold=!0),(0,c.jsx)(h.Xo,{part:i},r)})}return(0,c.jsx)(h.Xo,{part:e},t)})})},L=(0,u.sj)({value:""});let C=(0,y.K)(function(e){var t,n,h,y,C,j,D=e.messages,x=e.opacity,k=void 0===x?1:x,T=e.fetchCompletionItems,N=e.opened,S=e.sendMessage,z=e.onClose,q=e.usingTouch,E=e.allowSelection,I=e.inputDisabled,P=e.placeholder,Y=e.chatVanillaRestrictions,O=e.debugChatScroll,R=e.getPingComplete,B=e.currentPlayerName,U=e.spellCheckEnabled,Q=void 0!==U&&U,F=e.onSpellCheckEnabledChange,W=(0,d.useMemo)(function(){return/^[\w\d_]+$/i.test(null!=B?B:"")?B:""},[B]),V=(0,d.useRef)(JSON.parse(window.sessionStorage.chatHistory||"[]")),J=(0,i._)((0,d.useState)(!1),2),G=J[0],H=J[1],Z=(0,i._)((0,d.useState)(""),2),K=Z[0],X=Z[1],$=(0,i._)((0,d.useState)(0),2),ee=$[0],et=$[1],en=(0,d.useRef)(JSON.parse(window.localStorage.pingHistory||"[]")),er=(0,i._)((0,d.useState)(null),2),ea=er[0],eo=er[1],ei=(0,i._)((0,d.useState)(""),2),es=ei[0],el=ei[1],ec=(0,d.useRef)(""),eu=(0,i._)((0,d.useState)([]),2),ed=eu[0],ef=eu[1],ew=(0,i._)((0,d.useState)([]),2),ep=ew[0],eh=ew[1],eM=(0,d.useRef)(null),eg=(0,d.useRef)(null),em=(0,d.useRef)(V.current.length),ev=(0,d.useRef)(0),ey=(0,d.useRef)(""),eA=(0,d.useRef)(V.current.filter(function(e){return e.startsWith("/")})),eb=(0,v.f)(eg,{messages:D,opened:N}),e_=eb.scrollToBottom,eL=eb.isAtBottom,eC=eb.wasAtBottom,ej=eb.currentlyAtBottom,eD=(0,i._)((0,d.useState)(!1),2),ex=eD[0],ek=eD[1],eT=(0,A.e)(),eN=eT?(0,c.jsx)("div",{style:{position:"relative",zIndex:1},children:(0,c.jsx)("div",{style:(0,a._)({fontSize:"9px",color:"white",textShadow:"1px 1px 0px #3f3f3f",fontFamily:"mojangles, minecraft, monospace",padding:"2px 4px",borderRadius:"2px",width:"100%",boxSizing:"border-box",position:"absolute",left:0,height:0,overflow:"visible"},q?{top:"100%",marginTop:2}:{bottom:"100%",marginBottom:11}),children:eT})}):null;(0,d.useEffect)(function(){if(O){var e=setInterval(function(){ek(eL())},50);return function(){return clearInterval(e)}}},[O]);var setSendHistory=function(e){V.current=e,window.sessionStorage.chatHistory=JSON.stringify(e),em.current=e.length,eA.current=e.filter(function(e){return e.startsWith("/")}),ev.current=eA.current.length},acceptComplete=function(e){var t,n,r,a=null!=(t=eM.current.selectionEnd)?t:eM.current.value.length,o=eM.current.value.slice(0,a),i=eM.current.value.slice(a);if(e.startsWith("@")){var l=o.lastIndexOf("@");n=l>=0?o.slice(0,l):o;var c=i.indexOf(" ");r=c>=0?i.slice(c):""}else{var u=o.lastIndexOf(" ");n=u>=0?o.slice(0,u+1):o.startsWith("/")?"":o;var d=i.indexOf(" ");r=d>=0?i.slice(d):""}if(updateInputValue(n+e+r,n.length+e.length),e.startsWith("@")){var w=[e].concat((0,s._)(en.current.filter(function(t){return t!==e}))).slice(0,10);en.current=w,window.localStorage.pingHistory=JSON.stringify(w)}eM.current.focus()},updateInputValue=function(e,t){eM.current.value=e,onMainInputChange(),setTimeout(function(){var n=null!=t?t:e.length;eM.current.setSelectionRange(n,n)},0)},handleArrowUp=function(){0!==em.current&&(em.current===V.current.length&&(ey.current=eM.current.value),em.current--,updateInputValue(V.current[em.current]||""))},handleArrowDown=function(){em.current!==V.current.length&&(em.current++,updateInputValue(V.current[em.current]||ey.current||""))},handleCommandArrowUp=function(){0!==ev.current&&0!==eA.current.length&&(ev.current===eA.current.length&&(ey.current=eM.current.value),ev.current--,updateInputValue(eA.current[ev.current]||""))},handleCommandArrowDown=function(){ev.current!==eA.current.length&&(ev.current++,updateInputValue(eA.current[ev.current]||ey.current||""))},auxInputFocus=function(e){eM.current.focus(),"up"===e?handleArrowUp():handleArrowDown()};(0,d.useEffect)(function(){},[]);var resetCompletionItems=function(){ef([]),eh([])};(0,d.useEffect)(function(){if(N){updateInputValue(L.value),L.value="",em.current=V.current.length,ev.current=eA.current.length,q||eM.current.focus();var handleKeyDown=function(e){if(!["input","textarea","select"].includes(null!=(n=null==(t=document.activeElement)?void 0:t.tagName.toLowerCase())?n:"")){var t,n,r=1===e.ke
1y.length&&!e.ctrlKey&&!e.altKey&&!e.metaKey,a="KeyV"===e.code&&(e.ctrlKey||e.metaKey);(r||a)&&document.activeElement!==eM.current&&eM.current.focus()}};window.addEventListener("keydown",handleKeyDown);var e=(0,u.Ld)(L,function(){L.value&&(updateInputValue(L.value),L.value="",eM.current.focus())});return function(){window.removeEventListener("keydown",handleKeyDown),e()}}},[N]);var eS=(0,d.useRef)();(0,d.useMemo)(function(){if(N)ec.current="",resetCompletionItems();else{var e;if(X(""),eS.current&&clearTimeout(eS.current),(null==(e=bot)?void 0:e._client)&&bot._client.writeChannel)try{bot._client.writeChannel("minecraft-web-client:typing-indicator",{username:bot.username,isTyping:!1})}catch(e){}}},[N]);var onMainInputChange=function(){var e,t=eM.current.value,n=/^\/(login|register|changepassword|unregister)( |$)/i.exec(t);eo(n?n[1].toLowerCase():null);var r=t.slice(0,null!=(e=eM.current.selectionEnd)?e:t.length).split(" ").at(-1),a=t.startsWith("/");if(r.startsWith("@")&&R&&!a){el(r),eq(!0,r.slice(1));return}var o=getCompleteValue();if(el("/"===o?"":o),ec.current===o)return void updateFilteredCompleteItems(ed);o.startsWith("/")?ez(!0):resetCompletionItems(),ec.current=o},ez=(t=(0,r._)(function(e){var t,n,r,a,o,i=arguments;return(0,l.Jh)(this,function(s){switch(s.label){case 0:return t=i.length>1&&void 0!==i[1]?i[1]:eM.current.value,n=!(i.length>2)||void 0===i[2]||i[2],ec.current=r=getCompleteValue(t),resetCompletionItems(),[4,null==T?void 0:T(e?"implicit":"explicit",r,t)];case 1:if(o=null!=(a=s.sent())?a:[],!n)return[2];return ef(o),updateFilteredCompleteItems(o),[2]}})}),function(e){return t.apply(this,arguments)}),eq=(n=(0,r._)(function(e,t){var n,r,a;return(0,l.Jh)(this,function(e){switch(e.label){case 0:return ec.current=t,resetCompletionItems(),[4,null==R?void 0:R(t)];case 1:if(r=null!=(n=e.sent())?n:[],t!==ec.current)return[2];return ef(a=(0,s._)(r).sort(function(e,t){var n=en.current.indexOf(e),r=en.current.indexOf(t);return -1===n&&-1===r?0:-1===n?1:-1===r?-1:n-r})),updateFilteredCompleteItems(a),[2]}})}),function(e,t){return n.apply(this,arguments)}),updateFilteredCompleteItems=function(e){eh(e.map(function(e){return"string"==typeof e?e:e.match}).filter(function(e){var t,n=eM.current.value.slice(0,null!=(t=eM.current.selectionEnd)?t:eM.current.value.length).split(" ").at(-1);return n.startsWith("@")?e.toLowerCase().includes(n.slice(1).toLowerCase()):e.includes(n)}))},getDefaultCompleteValue=function(){var e,t=eM.current.value;return t.slice(0,null!=(e=eM.current.selectionEnd)?e:t.length)},getCompleteValue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:getDefaultCompleteValue(),t=e.split(" "),n=t.at(-1).length,r=n?e.slice(0,-n):e;return 1===t.length&&e.startsWith("/")?"/":r},handleSlashCommand=function(){remountInput("/")},handleAcceptFirstCompletion=function(){ep.length>0&&acceptComplete(ep[0])},remountInput=function(e){void 0!==e&&X(e),et(function(e){return e+1})};return(0,d.useEffect)(function(){K&&eM.current&&eM.current.focus()},[ee]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("div",{className:"chat-wrapper chat-messages-wrapper ".concat(q?"display-mobile":""," ").concat(N?"chat-opened":""),style:{userSelect:N&&E?"text":void 0},children:[!q&&N&&(0,c.jsx)("div",{style:{position:"absolute",top:"-19px",left:"5px",pointerEvents:"auto"},children:(0,c.jsx)(g.Z,{icon:m.K.close,onClick:function(){return null==z?void 0:z()},style:{color:"#ff5d5d"}})}),k&&(0,c.jsxs)("div",{ref:eg,className:"chat ".concat(N?"opened":""),id:"chat-messages",style:{opacity:k},children:[O&&(0,c.jsxs)("div",{style:{position:"absolute",top:5,left
1:5,display:"flex",gap:4,zIndex:100},children:[(0,c.jsx)("div",{title:"Right now is at bottom (updated every 50ms)",style:{width:12,height:12,backgroundColor:ex?"#00ff00":"#ff0000",border:"1px solid #fff"}}),(0,c.jsx)("div",{title:"Currently at bottom",style:{width:12,height:12,backgroundColor:ej?"#00ff00":"#ff0000",border:"1px solid #fff"}}),(0,c.jsx)("div",{title:"Was at bottom",style:{width:12,height:12,backgroundColor:eC()?"#00ff00":"#ff0000",border:"1px solid #fff"}}),(0,c.jsx)("div",{title:"Chat opened",style:{width:12,height:12,backgroundColor:N?"#00ff00":"#ff0000",border:"1px solid #fff"}})]}),D.map(function(e){return(0,c.jsx)(MessageLine,{message:e,currentPlayerName:W,chatOpened:N},(0,M.BO)(e))})]})||void 0]}),(0,c.jsxs)("div",{className:"chat-wrapper chat-input-wrapper ".concat(q?"input-mobile":""),hidden:!N,children:[ea&&(0,c.jsx)("div",{role:"button",tabIndex:0,onClick:(0,r._)(function(){var e,t,n,r,a,o,i,s,c;return(0,l.Jh)(this,function(l){switch(l.label){case 0:return n=ea,eo(null),a=null!=(r=null==(e=w.Pc.value)?void 0:e.server)?r:"",i=null!=(o=null==(t=bot)?void 0:t.username)?o:"",s=(0,_.x2)(),[4,(0,b.K)({mode:n,serverIp:a,username:i,prefilledPassword:s})];case 1:if(!(null==(c=l.sent())?void 0:c.password)||"changepassword"===n&&!c.newPassword)return[2];return(0,p.Fs)(bot,n,c,{serverIp:a,username:i,source:"modal"}),eM.current.value="",onMainInputChange(),[2]}})}),style:(0,o._)((0,a._)({position:"absolute",left:0},q?{top:"100%",marginTop:4}:{bottom:"100%",marginBottom:4}),{padding:"4px 6px",background:"rgba(0, 0, 0, 0.7)",color:"white",fontSize:10,fontFamily:"mojangles, minecraft, monospace",border:"1px solid #A0A0A0",cursor:"pointer",zIndex:10,maxWidth:"calc(100% - 4px)",boxSizing:"border-box"}),children:"\uD83D\uDCA1 Use Auto-fill UI for password manager"}),q&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(g.Z,{icon:m.K.close,onClick:function(){return null==z?void 0:z()},style:{width:20,flexShrink:0}}),(null==(y=eM.current)?void 0:y.value)&&!eM.current.value.startsWith("/")?(0,c.jsx)(g.Z,{style:{width:20,flexShrink:0},overlayColor:Q?"#00ff00":"#ff0000",icon:m.K["text-wrap"],onClick:function(){var e;X((null==(e=eM.current)?void 0:e.value)||""),null==F||F(!Q),remountInput()}}):(0,c.jsx)(g.Z,{style:{width:20,flexShrink:0},label:(null==(C=eM.current)?void 0:C.value)?void 0:"/",icon:(null==(j=eM.current)?void 0:j.value)?m.K["arrow-right"]:void 0,onClick:function(){eM.current.value?ep.length>0&&handleAcceptFirstCompletion():handleSlashCommand()}})]}),(0,c.jsxs)("div",{className:"chat-input",children:[G&&(null==ep?void 0:ep.length)?(0,c.jsxs)("div",{className:"chat-completions",children:[(0,c.jsx)("div",{className:"chat-completions-pad-text",children:es}),(0,c.jsx)("div",{className:"chat-completions-items",children:ep.map(function(e){return(0,c.jsx)("div",{onMouseDown:function(t){t.preventDefault(),acceptComplete(e)},children:e},e)})})]}):null,!q&&eN,(0,c.jsxs)("form",{onSubmit:(h=(0,r._)(function(e){var t;return(0,l.Jh)(this,function(n){switch(n.label){case 0:if(e.preventDefault(),!(t=eM.current.value))return[3,2];return setSendHistory((0,s._)(V.current).concat([t])),null==z||z(),[4,null==S?void 0:S(t)];case 1:n.sent(),e_(),n.label=2;case 2:return[2]}})}),function(e){return h.apply(this,arguments)}),children:[M.s&&(0,c.jsx)("input",{value:"",type:"text",className:"chat-mobile-input-hidden chat-mobile-input-hidden-up",id:"chatinput-next-command",spellCheck:!1,autoComplete:"off",onFocus:function(){return auxInputFocus("up")},onChange:function(){}}),(0,c.jsx)("input",{maxLength:Y?256:void 0,defaultValue:K,autoCapitalize:K?"off":"on",ref:eM,type:"text",className:"chat-input",id:"chatinput",spellCheck:Q,autoCorrect:Q?"on":"off",autoComplete:"off","aria-autocomplete":"both",onChange:onMainInputChange,disabled:!!I,placeholder:I||P,onFocus:function(){return H(!0)},onBlur:function(){return H(!1)},onKeyDown:function(e){if("ArrowUp"===e.code?e.altKey?(handleCommandArrowUp(),e.preventDefault()):handleArrowUp():"ArrowDown"===e.code&&(e.altKey?(handleCommandArrowDown(),e.preventDefault()):handleArrowDown()),"Tab"===e.code&&(ed.length?ep.length&&acceptComplete(ep[0]):ez(!1),e.preventDefault()),"Space"===e.code){resetCompletionItems();var t=eM.current.value.startsWith("/");ez(!0,getCompleteValue(getDefaultCompleteValue()+" "),t)}}},"".concat(ee)),M.s&&(0,c.jsx)("input",{value:"",type:"text",className:"chat-mobile-input-hidden chat-mobile-input-hidden-down",id:"chatinput-prev-command",spell
1Check:!1,autoComplete:"off",onFocus:function(){return auxInputFocus("down")},onChange:function(){}}),(0,c.jsx)("button",{type:"submit",className:"chat-submit-button"})]}),q&&eN]})]})]})},"chat")},13062:function(e,t,n){"use strict";n.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__,h:()=>d});var r=n(52676),a=n(75271),o=n(44846),i=n(9117),s=n(5969),l=n(40451),c=n(7329),u=n(76412),d=(0,o.sj)({captureMouseHint:!1});function __WEBPACK_DEFAULT_EXPORT__(){var e=(0,i.R)(d).captureMouseHint,t=(0,i.R)(l.N_).usingGamepadInput,n=(0,u.uT)(),o=(0,i.R)(l.M).length>0,w=(0,s.Ee)();return(0,a.useEffect)(function(){var listener=function(){s.lt.hasPointerLock&&(d.captureMouseHint=!1)};return document.addEventListener("pointerlockchange",listener),function(){document.removeEventListener("pointerlockchange",listener)}},[]),(0,r.jsx)("div",{style:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:"white",fontSize:"10px",whiteSpace:"nowrap",fontWeight:"bold",marginTop:"-16px",pointerEvents:"none",textShadow:"0 0 1px black"},children:e&&!n&&!t&&!o&&w&&(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"10px"},children:[(0,r.jsx)(c.Z,{iconName:c.K["sun-alt"]}),(0,r.jsx)("div",{children:translate("Click to capture mouse")})]})})}},94755:function(e,t,n){"use strict";n.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__,m:()=>y});var r=n(59240);n(72558),n(67022),n(56520),n(56515),n(81836),n(96220);var a=n(52676),o=n(75271),i=n(13432),s=n(33634),l=n(30967),c=n(9117),u=n(22411),d=n(40451),w=n(4741),p=n(6733),h=n(5969),M=n(391),g=n(85691),m=n(64868),v=n(82278),y=25,ItemName=function(e){var t=e.itemKey,n=(0,r._)((0,o.useState)(!1),2),l=n[0],c=n[1],u=(0,r._)((0,o.useState)(""),2),d=u[0],w=u[1],h={position:"fixed",bottom:"calc(env(safe-area-inset-bottom) + ".concat(bot&&"creative"===bot.game.gameMode?"40px":"50px",")"),left:0,right:0,fontSize:10,textAlign:"center",pointerEvents:"none"};return(0,o.useEffect)(function(){var e=bot.heldItem;if(e){var t=(0,p.bL)(e,appViewer.resourcesManager);t?w(t):w(e.displayName)}else w("");c(!0);var n=setTimeout(function(){c(!1)},1500);return function(){c(!1),clearTimeout(n)}},[t]),(0,a.jsx)(i.M,{children:l&&(0,a.jsx)(m.Z,{children:(0,a.jsx)(s.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},style:h,className:"item-display-name",children:(0,a.jsx)(g.Z,{message:d})})})})},HotbarInner=function(){var e,t=(0,r._)((0,o.useState)(""),2),n=t[0],i=t[1],s=(0,r._)((0,o.useState)(0),2),l=s[0],p=s[1],g=(0,c.R)(d.M).length,y=(0,c.R)(d.N_),A=y.currentTouch,b=y.appConfig,_=(0,w.K)(),L=!bot.supportFeature("doesntHaveOffHandSlot"),C=A&&!(null==b||null==(e=b.disabledCommands)?void 0:e.includes("general.inventory")),j=(0,o.useMemo)(function(){return(0,u.c)(bot,{itemMapper:(0,v.J2)(bot.version),hotbarOnly:!0})},[l]);return(0,o.useEffect)(function(){return j.subscribe(function(e){"windowOpen"===e.type&&(0,M.HX)()})},[j]),(0,o.useEffect)(function(){var e=new AbortController,heldItemChanged=function(){if(!(null==(e=bot.inventory.slots)?void 0:e[bot.quickBarSlot+36]))return void i("");var e,t,n=bot.inventory.slots[bot.quickBarSlot+36],r=n.nbt?JSON.stringify(n.nbt):"";i("".concat(n.name,"_split_").concat(n.type,"_split_").concat(n.metadata,"_split_").concat(r,"_split_").concat(JSON.stringify(null!=(t=n.components)?t:[])))};heldItemChanged(),bot.on("heldItemChanged",heldItemChanged),document.addEventListener("wheel",function(e){if((0,h.Ee)()){e.preventDefault();var t=((bot.quickBarSlot+Math.sign(e.deltaY))%9+9)%9;t!==bot.quickBarSlot&&bot.setQuickBarSlot(t)}},{passive:!1,signal:e.signal}),document.addEventListener("keydown",function(e){if((0,h.Ee)()){var t,n,r=+(null!=(n=null==(t=/Digit(\d)/.exec(e.code))?void 0:t[1])?n:-1);if(!(r<1)&&!(r>9)){var a=r-1;a!==bot.quickBarSlot&&bot.setQuickBarSlot(a)}}},{passive:!1,signal:e.signal});var refresh=function(){(0,v.g4)(),p(function(e){return e+1})};return appViewer.resourcesManager.on("assetsTexturesUpdated",refresh),appViewer.resourcesManager.on("assetsInventoryReady",refresh),function(){e.abort(),bot.off("heldItemChanged",heldItemChanged),appViewer.resourcesManager.off("assetsTexturesUpdated",refresh),appViewer.resourcesManager.off("assetsInventoryReady",refresh)}},[]),(0,a.jsxs)(m.Z,{children:[(0,a.jsx)(ItemName,{itemKey:n}),(0,a.jsx)(Portal,{children:(0,a.jsx)("div",{className:"hotbar-fullscreen-container",style:{position:"fixed",top:0,left:0,width:"100%",height:"100%",zIndex:g?1:8,display:"flex",justifyContent:"center",pointerEvents:"none"},children:(0,a.jsx)("div",{className:"hotbar",style:{position:"absolute",pointerEvents:C?"auto":"none",bottom:"var(--hud-bottom-raw)"},children:(0,a.jsx)(u.u9,{config:v.tw,children:(0,a.jsx)(u.$d,{scale:_,children:(0,a.jsx)(u._3,{connector:j,children:(0,a.jsx)(u.eJ,{type:"hotbar",properties:{showOffhand:+!!L,container:+!!C}})})})})})})})]})};function __WEBPACK_DEFAULT_EXPORT__(){var e,t,n=(0,r._)((0,o.useState)(null!=(t=null==(e=bot.game)?void 0:e.gameMode)?t:"creative"),2),i=n[0],s=n[1];return(0,o.useEffect)(function(){var onGame=function(){return s(bot.game.gameMode)};return bot.on("game",onGame),function(){bot.off("game",onGame)}},[]),"spectator"===i?null:(0,a.jsx)(HotbarInner,{})}var Portal=function(e){var t=e.children,n=e.to,r=void 0===n?document.body:n;return(0,l.createPortal)(t,r)}},95705:function(e,t,n){"use strict";n.d(t,{sp:()=>InputWithLabel,ZP:()=>d,PX:()=>w});var r=n(4186),a=n(22312),o=n(40413),i=n(59240),s=n(52676),l=n(75271),c=n(30491),u=n(33927),InputBase=function(e){var t,n=e.autoFocus,u=e.rootStyles,d=e.inputRef,w=e.validateInput,p=e.defaultValue,h=e.width,M=(0,o._)(e,["autoFocus","rootStyles","inputRef","validateInput","defaultValue","width"]);h&&(u=(0,a._)((0,r._)({},u),{width:h}));var g=(0,l.useRef)(null),m=(0,i._)((0,l.useState)({}),2),v=m[0],y=m[1],A=(0,i._)((0,l.useState)(null!=p?p:""),2),b=A[0],_=A[1];return(0,l.useEffect)(function(){_(""===M.value||M.value?M.value:b)},[M.value]),(0,l.useEffect)(function(){d&&(d.current=g.current),!n||(0,c.tq)()||g.current.focus()},[]),(0,l.useEffect)(function(){var e;y(null!=(e=null==w?void 0:w(b))?e:{})},[b,w]),(0,s.jsx)("div",{id:"input-container",className:"container-GXglqr",style:u,children:(0,s.jsx)("input",(0,a._)((0,r._)({ref:g,autoComplete:"off",autoCapitalize:"off",autoCorrect:"off",autoSave:"off",spellCheck:"false",style:(0,r._)({},v)},M),{className:"input-Mraw77 "+(null!=(t=M.className)?t:""),value:b,onChange:function(e){var t;_(e.target.value),null==(t=M.onChange)||t.call(M,e)}}))})};let d=(0,u.K)(InputBase,"input");var w=190,InputWithLabel=function(e){var t=e.label,n=e.span,a=(0,o._)(e,["label","span"]);return(0,s.jsxs)("div",{style:{display:"flex",flexDirection:"column",gridRow:n?"span 2 / span 2":void 0},children:[(0,s.jsx)("label",{style:{fontSize:12,marginBottom:1,color:"lightgray"},children:t}),(0,s.jsx)(InputBase,(0,r._)({rootStyles:{width:w}},a))]})}},47477:function(e,t,n){"use strict";n.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__,a:()=>l});var r=n(52676),a=n(75271),o=n(30967),i=n(44846),s=n(9117),l=(0,i.sj)({start:0,loading:!1,total:"0.00",networkOnlyStart:0,networkTimeTotal:"0.0"});function __WEBPACK_DEFAULT_EXPORT__(){var e=(0,s.R)(l),t=e.networkTimeTotal,n=e.total;return(0,a.useEffect)(function(){var e=setInterval(function(){l.loading&&(l.networkOnlyStart?l.networkTimeTotal=((Date.now()-l.networkOnlyStart)/1e3).toFixed(2):l.total=((Date.now()-l.start)/1e3).toFixed(2))},100);return function(){return clearInterval(e)}},[]),(0,r.jsx)(Portal,{to:document.getElementById("ui-root"),children:(0,r.jsxs)("div",{style:{position:"absolute",left:0,bottom:0,color:"gray",fontSize:"0.6em",paddingLeft:"calc(env(safe-area-inset-left) / 2)"},children:[n,"/",t]})})}customEvents.on("gameLoaded",function(){l.loading=!1});var Portal=function(e){var t=e.children,n=e.to,r=void 0===n?document.body:n;return(0,o.createPortal)(t,r)}},54315:function(e,t,n){"use strict";n.d(t,{ZP:()=>MessageFormatted,Xo:()=>MessagePart});var r,a=n(14772),o=n(4186),i=n(22312),s=n(40413),l=n(59240),c=n(9787);n(86070),n(49245),n(81812),n(96220),n(72558),n(73372),n(90804),n(24705),n(53346),n(7611),n(65340),n(2850),n(95790),n(83902),n(15209),n(54406),n(8705),n(58819),n(74822),n(7960),n(46302),n(64813),n(96573),n(94244),n(42050),n(64912);var u=n(52676),d=n(72960),w=n(14971),p=n(27282),h=n.n(p),M=n(30491),g=n(19478),m=n(48044),v=n(11366),y=n(3308),A=n(50343),b=n(30232),hoverItemToText=function(e){try{if(!e)return;var t,n,r=null!=(n=e.contents)?n:e.value;if("string"==typeof r.text&&r.text.startsWith("{")&&Object.assign(r,h().simplify(h().parse(r.text))),"string"==typeof r)return r;if("show_item"===e.action)return r.id;if("show_entity"===e.action){var a=(0,w.noCase)(r.type.replace("minecraft:",""));return r.name&&(a+=": ".concat(r.name.text)),a}}catch(e){null==(t=reportError)||t("Failed to parse message hover"+e.message);return}},clickEventToProps=function(e){if(e){if("run_command"===e.action||"suggest_command"===e.action)return{onClick:function(){v.e.value=e.value}};if("open_url"===e.action||"open_file"===e.action)return{onClick:function(){return(0,a._)(function(){var t,n;return(0,c.Jh)(this,function(r){switch(r.label){case 0:return t='Open "'.concat(e.value,'"?'),[4,(0,y.un)(t,["Open","Copy"],{cancel:!0})];case 1:return"Open"===(n=r.sent())?(0,M.pz)(e.value):"Copy"===n&&navigator.clipboard.writeText(e.value),[2]}})})()}};if("copy_to_clipboard"===e.action)return{onClick:function(){navigator.clipboard.writeText(e.value)}};var t=e.action;if("open_auto_fill_login"===t||"open_auto_fill_register"===t||"open_change_password"===t||"open_unregister"===t)return{onClick:function(){_("open_auto_fill_register"===t?"register":"open_change_password"===t?"changepassword":"open_unregister"===t?"unregister":"login")}}}},_=(r=(0,a._)(function(e){var t,n,r,a,o,i,s;return(0,c.Jh)(this,function(l){switch(l.label){case 0:if(r=null==(t=g.Pc.value)?void 0:t.server,a=null==(n=globalThis.bot)?void 0:n.username,!r||!a)return console.warn("[openAutoFillLogin] missing serverIp or username",{serverIp:r,username:a}),[2];return o=(0,b.x2)(),[4,(0,A.K)({mode:e,serverIp:r,username:a,prefilledPassword:o})];case 1:if(!(null==(i=l.sent())?void 0:i.password))return[2];return s=globalThis.bot,(0,m.Fs)(s,e,i,{serverIp:r,username:a,source:"modal"}),[2]}})}),function(e){return r.apply(this,arguments)}),MessagePart=function(e){var t,n=e.part,r=e.formatOptions,a=(0,s._)(e,["part","formatOptions"]),l=n.color,c=n.italic,w=n.bold,p=n.underlined,h=n.strikethrough,M=n.text,g=n.clickEvent,m=n.hoverEvent,v=n.obfuscated,y=null!=l?l:"white",A=clickEventToProps(g),b=hoverItemToText(m),_=b&&"string"!=typeof b?(0,d.sY)(b).children.map(function(e){return e.component.text}).join(""):b,C=[A&&L.clickEvent,colorF(y.toLowerCase())+(null==(t=null==r?void 0:r.doShadow)||t?"; text-shadow: 1px 1px 0px ".concat(getColorShadow(colorF(y.toLowerCase()).replace("color:",""))):""),c&&L.italic,w&&L.bold,c&&L.italic,p&&L.underlined,h&&L.strikethrough,v&&L.obfuscated].filter(function(e){return!1!==e&&void 0!==e}
1).filter(Boolean);return(0,u.jsx)("span",(0,i._)((0,o._)({title:_,style:parseInlineStyle(C.join(";"))},A,a),{children:M}))};function MessageFormatted(e){var t=e.parts,n=e.className,r=e.formatOptions;return(0,u.jsx)("span",{className:"formatted-message ".concat(null!=n?n:""),children:t.map(function(e,t){return(0,u.jsx)(MessagePart,{part:e,formatOptions:r},t)})})}var colorF=function(e){var t;return e.trim().startsWith("#")?"color:".concat(e):null!=(t=L[e])?t:void 0};function getColorShadow(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25,n=parseInt(e.replace("#",""),16),r=Math.trunc((n>>16&255)*t),a=Math.trunc((n>>8&255)*t),o=Math.trunc((255&n)*t),f=function(e){return("00"+e.toString(16)).slice(-2)};return"#".concat(f(r)).concat(f(a)).concat(f(o))}function parseInlineStyle(e){var t={},n=!0,r=!1,a=void 0;try{for(var o,i=e.split(";")[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var s=o.value,c=(0,l._)(s.split(":"),2),u=c[0],d=c[1];t[u.trim().replaceAll(/-./g,function(e){return e.toUpperCase()[1]})]=d.trim()}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}return t}var L={black:"color:color(display-p3 0 0 0)",dark_blue:"color:color(display-p3 0 0 0.6667)",dark_green:"color:color(display-p3 0 0.6667 0)",dark_aqua:"color:color(display-p3 0 0.6667 0.6667)",dark_red:"color:color(display-p3 0.6667 0 0)",dark_purple:"color:color(display-p3 0.6667 0 0.6667)",gold:"color:color(display-p3 1 0.6667 0)",gray:"color:color(display-p3 0.6667 0.6667 0.6667)",dark_gray:"color:color(display-p3 0.3333 0.3333 0.3333)",blue:"color:color(display-p3 0.3333 0.3333 1)",green:"color:color(display-p3 0.3333 1 0.3333)",aqua:"color:color(display-p3 0.3333 1 1)",red:"color:color(display-p3 1 0.3333 0.3333)",light_purple:"color:color(display-p3 1 0.3333 1)",yellow:"color:color(display-p3 1 1 0.3333)",white:"color:color(display-p3 1 1 1)",bold:"font-weight:900",strikethrough:"text-decoration:line-through",underlined:"text-decoration:underline",italic:"font-style:italic",obfuscated:"filter:blur(2px)",clickEvent:"cursor:pointer"}},85691:function(e,t,n){"use strict";n.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__});var r=n(4186),a=n(22312);n(90804),n(24705),n(53346);var o=n(52676),i=n(75271),s=n(72960),l=n(77449),c=n(68733),u=n(54315);function __WEBPACK_DEFAULT_EXPORT__(e){var t=e.message,n=e.fallbackColor,d=e.className,w=e.formatOptions,p=(0,i.useMemo)(function(){if(!t)return null;try{return(0,c.wv)("string"==typeof t?(0,s.qW)(t):t).map(function(e){var t;return(0,a._)((0,r._)({},e),{color:null!=(t=e.color)?t:n})})}catch(e){return console.error(e),null}},[t]);return p?(0,o.jsx)(l.SV,{renderError:function(e){return console.error(e),(0,o.jsx)("div",{children:"[text component crashed]"})},children:(0,o.jsx)(u.ZP,{parts:p,className:d,formatOptions:w})}):null}},12179:function(e,t,n){"use strict";n.d(t,{gc:()=>setNotificationProgress,yK:()=>hideNotification,ZP:()=>NotificationProvider,QW:()=>p,n:()=>h,c0:()=>showNotification}),n(34812),n(69047),n(95922),n(95790),n(83902),n(40542),n(7611),n(65340),n(2850),n(73372),n(66043),n(27969),n(90804),n(24705),n(53346),n(72558);var r=n(52676),a=n(75271),o=n(44846),i=n(9117),s=n(13432),l=n(33634),c=n(4741),u=n(7329),d=n(76412);let w=(0,n(33927).K)(function(e){var t=e.type,n=void 0===t?"message":t,a=e.message,o=e.subMessage,i=e.open,c=e.icon,w=void 0===c?"":c,p=e.action,h=void 0===p?void 0:p,M=e.topPosition,g=e.currentProgress,m=e.totalProgress,v=(0,d.uT)(),y="error"===n;w||(w=y?"alert":"message");var A="progress"===n,b=(void 0===M?0:M)*34+18*!!v;return(0,r.jsx)(s.M,{children:i&&(0,r.jsxs)(l.E.div,{initial:{opacity:0,y:0},animate:{opacity:1,y:0},exit:{opacity:0,y:"-100%"},transition:{duration:.2},className:"app-notification ".concat(y?"error-notification":""),onClick:h,style:{position:"fixed",top:b,right:0,width:"progress"===n?"180px":void 0,scale:"progress"===n?void 0:.9,transformOrigin:"progress"===n?void 0:"right",whiteSpace:"nowrap",fontSize:"9px",display:"flex",gap:4,alignItems:"center",padding:"4px 5px",background:y?"rgba(255, 0, 0, 0.7)":"rgba(0, 0, 0, 0.7)",borderRadius:0===b?"0 0 0 5px":"5px",pointerEvents:h?"auto":"none",zIndex:A?10:1200},children:[(0,r.jsx)(u.Z,{iconName:w,styles:{fontSize:A?15:12,animation:A?"rotation 6s linear infinite":"none"}}),(0,r.jsxs)("div",{style:{display:"flex",flexDirection:"column",width:"100%"},children:[(0,r.jsx)("div",{style:{whiteSpace:"normal"},children:translate(a)}),(0,r.jsx)("div",{style:{fontSize:"7px",whiteSpace:"nowrap",color:"lightgray",marginTop:3},children:translate(void 0===o?"":o)}),void 0!==g&&void 0!==m&&(0,r.jsx)("div",{style:{width:"100%",height:"2px",background:"rgba(128, 128, 128, 0.5)",marginTop:"2px",overflow:"hidden"},children:(0,r.jsx)("div",{style:{width:"".concat(Math.min(100,(m?g/m:0)*100),"%"),height:"100%",background:"white",transition:"width 0.2s ease-out"}})})]})]})})},"notification");var p=(0,o.sj)({message:"",open:!1,type:"message",subMessage:"",icon:"",autoHide:!0,id:""}),h=(0,o.sj)({loaders:[]}),setNotificationProgress=function(e,t){var n=h.loaders.find(function(t){return t.id===e}),r=n;r||(r={id:e,message:"",priority:t.priority}),void 0!==t.current&&(r.current=t.current),void 0!==t.total&&(r.total=t.total),void 0!==t.message&&(r.message=t.message),void 0!==t.subMessage&&(r.subMessage=t.subMessage),n||h.loaders.push(r),t.delete&&(h.loaders=h.loaders.filter(function(t){return t.id!==e}))};window.setNotificationProgress=setNotificationProgress;var showNotification=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,o=!(arguments.length>5)||void 0===arguments[5]||arguments[5],i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"";p.message=e,p.subMessage=t,p.type=n?"error":"message",p.icon=r,p.open=!0,p.autoHide=o,p.action=a,p.id=i};globalThis.showNotification=showNotification;var hideNotification=function(e){(void 0===e||p.id===e)&&(p.open=!1)};function NotificationProvider(){var e=(0,i.R)(p),t=e.autoHide,n=e.message,o=e.open,d=e.icon,M=e.type,g=e.subMessage,m=e.action,v=(0,i.R)(h).loaders;return(0,a.useEffect)(function(){t&&o&&setTimeout(function(){hideNotification(p.id)},7e3)}
1,[t,o]),(0,a.useEffect)(function(){setTimeout(function(){},1e3)},[]),(0,c.K)(),(0,r.jsxs)("div",{className:"notification-container",style:{},children:[(0,r.jsx)(w,{action:m,type:M,message:n,subMessage:g,open:o,icon:d}),(0,r.jsx)(s.M,{children:v.toSorted(function(e,t){var n,r;return(null!=(n=t.priority)?n:0)-(null!=(r=e.priority)?r:0)}).map(function(e,t){var n;return(0,r.jsx)(l.E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},children:(0,r.jsx)(w,{type:"progress",open:!0,topPosition:t+1,icon:u.K.loader,subMessage:null!=(n=e.subMessage)?n:void 0!==e.current&&void 0!==e.total?formatProgress(e.current,e.total):void 0,message:e.message,currentProgress:e.current,totalProgress:e.total})},e.id)})})]})}var formatProgress=function(e,t){var n=new Intl.NumberFormat;return"".concat(Math.floor(e/t*100),"% (").concat(n.format(e)," / ").concat(n.format(t),")")}},68470:function(e,t,n){"use strict";n.d(t,{ZP:()=>__WEBPACK_DEFAULT_EXPORT__,iZ:()=>PlayerModelCanvas});var r=n(4186),a=n(22312),o=n(59240);n(73372),n(90804),n(24705),n(53346),n(55058),n(29127),n(95790),n(83902),n(7960),n(46302),n(64813),n(96573),n(94244),n(42050),n(98719),n(84317),n(8957),n(44792),n(33785),n(9587),n(13278),n(64391),n(86838),n(80062),n(50433),n(97336),n(65855),n(56656),n(42449),n(34812),n(69047),n(95922),n(32831),n(81812),n(96220),n(52307),n(8416),n(93118),n(82766),n(37151),n(20142),n(89909),n(24578),n(89437),n(802),n(52895),n(46525),n(83930),n(18369),n(41494),n(66616),n(39222),n(83282),n(59237),n(60353),n(40332),n(72040),n(52768),n(2249),n(72558);var i=n(52676),s=n(44846),l=n(9117),c=n(75271),u=n(558),d=n(14987),w=n(53579),p=n(8525),h=n(90205),M=n(23757),g=n(37350),m=n(2364),v=n(85088),y=n(71413),A=n(35405),b=n(65988),_=n(40309),L=n(45228),C=n(29170),j=n(3496),D=n(66037),x=n(67644),k=n(81571),T=n(4741),N=n(40451),S=(0,s.sj)({model:void 0});globalThis.modelViewerState=S,globalThis.getModelViewerValues=function(){var e,t=null==(e=globalThis.sceneRef)?void 0:e.current;if(!t)return null;var n=t.camera,r=t.playerObject;if(!r)return null;var a=r.parent;if(!a)return null;var o=new u.Z().setFromObject(a),i=o.getSize(new d.P),s=o.getCenter(new d.P);return{camera:{position:n.position.clone(),fov:n.fov,aspect:n.aspect},model:{position:a.position.clone(),rotation:a.rotation.clone(),scale:a.scale.clone(),size:i,center:s},cursor:{position:globalThis.cursorPosition||{x:0,y:0},normalized:globalThis.cursorPosition?{x:2*globalThis.cursorPosition.x-1,y:2*globalThis.cursorPosition.y-1}:{x:0,y:0}},visibleArea:{height:2*Math.tan(n.fov*Math.PI/180/2)*n.position.z,width:2*Math.tan(n.fov*Math.PI/180/2)*n.position.z*n.aspect}}},(0,s.Ld)(N.M,function(){var e;S.model&&(null==(e=S.model)?void 0:e.alwaysRender)&&0===N.M.length&&(S.model=void 0)});var setupMaterialTransparency=function(e){(e instanceof w.W||e instanceof p.v||e instanceof h.x)&&(e.alphaMap||void 0!==e.opacity&&e.opacity<1||e.map&&e.map.format===M.wk1?(e.transparent=!0,e.alphaTest=.01,e.side=M.ehD):(e.transparent=!1,e.side=M.Wl3),e.needsUpdate=!0)},PlayerModelCanvas=function(e){var t=e.width,n=e.height,r=e.skinUrl,a=void 0===r?"":r,s=e.followCursor,l=void 0===s||s,w=e.computeNormalized,p=(0,c.useRef)(null),h=(0,o._)((0,c.useState)(!1),2),L=h[0],C=h[1],D=(0,c.useRef)(null),x=(0,c.useRef)(null),T=(0,c.useRef)(w);return(0,c.useEffect)(function(){T.current=w}),(0,c.useEffect)(function(){var e=p.current;if(e){var r=new g.x;r.background=null;var a=new m.c(50,t/n,.1,1e3);a.position.set(0,0,3);var o=new v.C({alpha:!0,antialias:!0});o.outputColorSpace=M.GUF,o.setPixelRatio(window.devicePixelRatio||1),o.setSize(t,n),e.appendChild(o.domElement);var i=new j.z(a,o.domElement);i.minPolarAngle=Math.PI/2,i.maxPolarAngle=Math.PI/2,i.enableDamping=!0,i.dampingFactor=.05;var s=new y.M(0xffffff,3);r.add(s);var c=new A.c(0xffffff,.6);a.add(c),r.add(a);var w=(0,k.YP)({scale:1}),h=w.playerObject,L=w.wrapper;h.ears.visible=!1,h.cape.visible=!1,L.traverse(function(e){if(e instanceof b.K&&e.material){var t=Array.isArray(e.material)?e.material:[e.material],n=!0,r=!1,a=void 0;try{for(var o,i=t[Symbol.iterator]();!(n=(o=i.next()).done);
1n=!0){var s=o.value;setupMaterialTransparency(s)}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}}});var C=new u.Z().setFromObject(L),N=C.getSize(new d.P),S=C.getCenter(new d.P),z=a.position.z,q=2*Math.tan(a.fov*Math.PI/180/2)*z,E=t/n*q,I=Math.min(q/N.y,E/N.x);L.scale.multiplyScalar(I),L.position.sub(S.multiplyScalar(I)),L.rotation.set(0,0,0),r.add(L),D.current=h;var render=function(){o.render(r,a)};x.current={renderer:o,camera:a,scene:r,controls:i,render:render},i.addEventListener("change",render),render();var P=!1,handlePointerMove=function(e){var t,n,r=p.current;if(r){if(T.current){var a=T.current(e.clientX,e.clientY);t=_.M8.clamp(a.normalizedX,-1,1),n=_.M8.clamp(a.normalizedY,-1,1)}else{var o=r.getBoundingClientRect();t=_.M8.clamp((e.clientX-(o.left+o.width/2))/(o.width/2),-1,1),n=_.M8.clamp((e.clientY-(o.top+o.height/2))/(o.height/2),-1,1)}var i=60/180*Math.PI;h.skin.head.rotation.y=_.M8.lerp(h.skin.head.rotation.y,t*i,.1),h.skin.head.rotation.x=_.M8.lerp(h.skin.head.rotation.x,n*i,.1),h.rotation.y=_.M8.lerp(h.rotation.y,t*i*.3,.05),P||(requestAnimationFrame(function(){render(),P=!1}),P=!0)}};return l&&window.addEventListener("pointermove",handlePointerMove),function(){var e;l&&window.removeEventListener("pointermove",handlePointerMove),i.removeEventListener("change",render),i.dispose(),L.traverse(function(e){if(e instanceof b.K){var t=Array.isArray(e.material)?e.material:[e.material],n=!0,r=!1,a=void 0;try{for(var o,i,s=t[Symbol.iterator]();!(n=(i=s.next()).done);n=!0)i.value.dispose()}catch(e){r=!0,a=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw a}}null==(o=e.geometry)||o.dispose()}}),h.skin.map&&h.skin.map.dispose(),o.dispose(),null==(e=o.domElement)||e.remove(),x.current=null,D.current=null}}},[]),(0,c.useEffect)(function(){var e=D.current,t=x.current;e&&t&&(0,k.HL)(e,a).then(function(){t.render(),C(!0)})},[a]),(0,c.useEffect)(function(){var e=x.current;e&&(e.renderer.setSize(t,n),e.camera.aspect=t/n,e.camera.updateProjectionMatrix(),e.render())},[t,n]),(0,i.jsx)("div",{ref:p,style:{width:t,height:n,overflow:"hidden",pointerEvents:"auto",visibility:L?"visible":"hidden"}})};function __WEBPACK_DEFAULT_EXPORT__(){var e,t,n,p,h,_,k=(0,l.R)(S).model,N=(0,c.useRef)(null),z=(0,c.useRef)(),q=(0,c.useMemo)(function(){return T.X.scale},[]);globalThis.sceneRef=z;var E=(0,c.useRef)(null),I=(0,c.useRef)(new Map),P=(0,c.useRef)(new Map),Y=(0,c.useRef)(new Map),O=(0,c.useRef)(new Map),R=(0,c.useRef)(new Map),B=(0,c.useRef)(new L.B),U=(0,c.useRef)(!1),Q=(0,c.useRef)(void 0),updateAllMixers=function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=Y.current.values()[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)a.value.update(e)}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}},anyActionActive=function(){var e=!0,t=!1,n=void 0;try{for(var r,a=R.current.values()[Symbol.iterator]();!(e=(r=a.next()).done);e=!0)if(r.value.enabled)return!0}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}return!1},ensureMixerLoop=function(e){if(!U.current){U.current=!0;var tick=function(t){B.current.update(t),updateAllMixers(B.current.getDelta()),e(),anyActionActive()?Q.current=requestAnimationFrame(tick):(U.current=!1,Q.current=void 0)};Q.current=requestAnimationFrame(tick)}},playAnimationForModel=function(e,t,n){var r,a,o,i,s=O.current.get(e),l=Y.current.get(e);if(s&&l){var c=R.current.get(e);if(c&&(c.stop(),R.current.delete(e)),t){var u=s.find(function(e){return e.name===t});if(u){var d=l.clipAction(u),w=null==(o=null==(r=S.model)?void 0:r.playModelAnimationLoop)||o;d.setLoop(w?M.YKA:M.jAl,1/0),d.timeScale=null!=(i=null==(a=S.model)?void 0:a.playModelAnimationSpeed)?i:1,d.reset().fadeIn(.1).play(),R.current.set(e,d),ensureMixerLoop(n)}}}},applyAnimationParamsToAll=function(){var e=null==(l=null==(i=S.model)?void 0:i.playModelAnimationLoop)||l,t=null!=(c=null==(s=S.model)?void 0:s.playModelAnimationSpeed)?c:1,n=!0,r=!1,a=void 0;try{for(var i,s,l,c,u,d=R.current[Symbol.iterator]();!(n=(u=d.next()).done);n=!0){var w=(0,o._)(u.value,2),p=(w[0],w[1]);p.setLoop(e?M.YKA:M.jAl,1/0),p.timeScale=t}}catch(e){r=!0,a=e}finally{try{n||null==d.return||d.return()}finally{if(r)throw a}}}
1,loadModel=function(e){if(!I.current.has(e)){var t=e.toLowerCase().endsWith(".gltf")||e.toLowerCase().endsWith(".glb"),n=t?new x.E:new D.L;P.current.set(e,n);var onLoad=function(t,n){var r=null==k||null==(l=k.modelCustomization)?void 0:l[e];(null==r?void 0:r.rotation)&&t.rotation.set(null!=(p=r.rotation.x)?p:0,null!=(h=r.rotation.y)?h:0,null!=(M=r.rotation.z)?M:0),t.traverse(function(e){if(e instanceof b.K){var t=e.material;if(t&&r&&(r.color&&t.color.setHex(parseInt(r.color.replace("#",""),16)),void 0!==r.opacity&&(t.opacity=r.opacity,t.transparent=r.opacity<1),t instanceof w.W&&(void 0!==r.metalness&&(t.metalness=r.metalness),void 0!==r.roughness&&(t.roughness=r.roughness))),t)if(Array.isArray(t)){var n=!0,a=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var l=i.value;setupMaterialTransparency(l)}}catch(e){a=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}}else setupMaterialTransparency(t)}});var a=new u.Z().setFromObject(t),o=a.getCenter(new d.P),i=a.getSize(new d.P),s=2/Math.max(i.x,i.y,i.z);if(t.scale.setScalar(s),t.position.sub(o.multiplyScalar(s)),I.current.set(e,t),null==(c=z.current)||c.scene.add(t),n&&n.length>0){var l,c,p,h,M,g,m=new C.X(t);Y.current.set(e,m),O.current.set(e,n),playAnimationForModel(e,null==(g=S.model)?void 0:g.playModelAnimation,function(){var e;return null==(e=z.current)?void 0:e.renderer.render(z.current.scene,z.current.camera)})}z.current&&setTimeout(function(){var e;null==(e=z.current)||e.renderer.render(z.current.scene,z.current.camera)},0)};t?n.load(e,function(e){onLoad(e.scene,e.animations)}):n.load(e,onLoad)}},removeModel=function(e){var t,n=I.current.get(e);n&&(null==(t=z.current)||t.scene.remove(n),n.traverse(function(e){if(e instanceof b.K){if(e.material)if(Array.isArray(e.material)){var t=!0,n=!1,r=void 0;try{for(var a,o=e.material[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)a.value.dispose()}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}else e.material.dispose();e.geometry&&e.geometry.dispose()}}),I.current.delete(e)),P.current.delete(e);var r=R.current.get(e);null==r||r.stop(),R.current.delete(e),Y.current.delete(e),O.current.delete(e)};if((0,c.useEffect)(function(){if(null==(e=S.model)?void 0:e.models){var e,modelsChanged=function(){var e=(null==(i=S.model)?void 0:i.models)||[],t=new Set(e),n=new Set(I.current.keys()),r=!0,a=!1,o=void 0;try{for(var i,s,l=n[Symbol.iterator]();!(r=(s=l.next()).done);r=!0){var c=s.value;t.has(c)||removeModel(c)}}catch(e){a=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw o}}var u=!0,d=!1,w=void 0;try{for(var p,h=e[Symbol.iterator]();!(u=(p=h.next()).done);u=!0){var M=p.value;n.has(M)||loadModel(M)}}catch(e){d=!0,w=e}finally{try{u||null==h.return||h.return()}finally{if(d)throw w}}},t=(0,s.Ld)(S.model.models,modelsChanged),n=!1;return setTimeout(function(){n||modelsChanged()}),function(){n=!0,null==t||t()}}},[null==k?void 0:k.models]),(0,c.useEffect)(function(){if(k&&N.current&&void 0===k.steveModelSkin){var e,t=new g.x;t.background=null;var n=new m.c(50,k.positioning.width/k.positioning.height,.1,1e3);n.position.set(0,0,3);var i=new v.C({alpha:!0,antialias:!0});i.outputColorSpace=M.GUF;var s=window.devicePixelRatio||1;(null==(e=S.model)?void 0:e.positioning.scaled)&&(s*=T.X.scale),i.setPixelRatio(s),i.setSize(k.positioning.width,k.positioning.height),N.current.appendChild(i.domElement);var l=new j.z(n,i.domElement);l.minPolarAngle=Math.PI/2,l.maxPolarAngle=Math.PI/2,l.enableDamping=!0,l.dampingFactor=.05;var c=new y.M(0xffffff,3);t.add(c);var u=new A.c(0xffffff,.6);n.add(u),t.add(n);var render=function(){i.render(t,n)};if(k.continiousRender){var animate=function(e){requestAnimationFrame(animate),B.current.update(e),updateAllMixers(B.current.getDelta()),render()};requestAnimationFrame(animate)}else l.addEventListener("change",render),render();return z.current=(0,a._)((0,r._)({},z.current),{scene:t,camera:n,renderer:i,controls:l,dispose:function(){k.continiousRender||l.removeEventListener("change",render),void 0!==Q.current&&cancelAnimationFrame(Q.current);var e=!0,n=!1,r=void 0;try{for(var a,s,c=I.current[Symbol.iterator]();!(e=(s=c.next()).done);e=!0){var u=(0,o._)(s.value,2),d=(u[0],u[1]);t.remove(d),d.traverse(function(e){if(e instanceof b.K){if(e.material)if(Array.isArray(e.material)){var t=!0,n=!1,r=void 0;try{for(var a,o=e.material[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)a.value.dispose()}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}else e.material.dispose();e.geometry&&e.geometry.dispose()}})}}catch(e){n=!0,r=e}finally{try{e||null==c.return||c.return()}finally{if(n)throw r}}I.current.clear(),P.current.clear(),R.current.clear(),Y.current.clear(),O.current.clear(),i.dispose(),null==(a=i.domElement)||a.remove()}}),function(){var e;null==(e=z.current)||e.dispose()}}},[k]),(0,c.useEffect)(function(){if(k){var render=function(){var e=z.current;e&&e.renderer.render(e.scene,e.camera)},e=k.playModelAnimation;if(void 0!==e){var t=!0,n=!1,r=void 0;try{for(var a,o=I.current.keys()[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value;playAnimationForModel(i,e,render)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}}},[null==k?void 0:k.playModelAnimation]),(0,c.useEffect)(function(){k&&applyAnimationParamsToAll()},[null==k?void 0:k.playModelAnimationSpeed,null==k?void 0:k.playModelAnimationLoop]),!k)return null;var F=k.positioning,W=F.x,V=F.y,J=F.width,G=F.height,H=F.scaled,Z=F.onlyInitialScale,K=k.positioning.windowWidth,X=k.positioning.windowHeight;return(0,i.jsx)("div",{className:"overlay-model-viewer-container",style:{zIndex:null!=(_=k.zIndex)?_:100,position:"fixed",inset:0,width:"100dvw",height:"100dvh",display:"flex",justifyContent:"center",alignItems:"center",transform:H?"scale(".concat(Z?q:"var(--guiScale)",")"):"none",pointerEvents:"none"},children:(0,i.jsxs)("div",{ref:E,className:"overlay-model-viewer-window",style:{width:K,height:X,position:"relative",pointerEvents:"none"},children:[k.followCursor&&k.followCursorCenterDebug?(p=null!=(e=null==(n=k.followCursorCenter)?void 0:n.x)?e:K/2,h=null!=(t=null==n?void 0:n.y)?t:X/2,(0,i.jsx)("div",{className:"overlay-model-viewer-follow-cursor-center-debug",style:{position:"absolute",left:p-3,top:h-3,width:6,height:6,backgroundColor:"red",pointerEvents:"none",zIndex:1e3}})):null,void 0===k.steveModelSkin?(0,i.jsx)("div",{ref:N,className:"overlay-model-viewer",style:{position:"absolute",left:W,top:V,width:J,height:G,pointerEvents:"auto",backgroundColor:k.debug?"red":void 0}}):(0,i.jsx)("div",{className:"overlay-model-viewer",style:{position:"absolute",left:W,top:V,pointerEvents:"auto",backgroundColor:k.debug?"red":void 0},children:(0,i.jsx)(PlayerModelCanvas,{width:J,height:G,skinUrl:k.steveModelSkin,followCursor:k.followCursor,computeNormalized:function(e,t){var n,r,a,o,i,s=S.model,l=s.positioning,c=s.followCursorCenter,u=l.windowWidth,d=l.windowHeight,w=null==(a=E.current)?void 0:a.getBoundingClientRect(),p=w?w.width/u:(n=l.scaled,r=l.onlyInitialScale,n?r?q:T.X.scale:1),h=(null!=(o=null==c?void 0:c.x)?o:u/2)*p,M=(null!=(i=null==c?void 0:c.y)?i:d/2)*p,g=w?e-w.left:e,m=w?t-w.top:t;return{normalizedX:(g-h)/(w?w.width/2:window.innerWidth/2),normalizedY:(m-M)/(w?w.height/2:window.innerHeight/2)}}})})]})})}},7329:function(e,t,n){"use strict";n.d(t,{K:()=>o,Z:()=>__WEBPACK_DEFAULT_EXPORT__});var r=n(4186);n(81812),n(96220),n(72558);var a=n(52676);function __WEBPACK_DEFAULT_EXPORT__(e){var t=e.iconName,n=e.width,o=void 0===n?void 0:n,i=e.styles,s=void 0===i?{}:i,l=e.className,c=void 0===l?void 0:l,u=e.onClick;return void 0!==o&&(s=(0,r._)({width:o,height:o,fontSize:o},s)),t=t.replace("pixelarticons:",""),(0,a.jsx)("div",{style:(0,r._)({},s),onClick:void 0===u?function(){}:u,className:"".concat("pixelart-icons-font-".concat(t)," ").concat(null!=c?c:"")})}var o=new Proxy({},{get:function(e,t){return t}})},27678:function(e,t,n){"use strict";n.d(t,{P:()=>i,Z:()=>s});var r=n(4186);n(72558);var a=n(52676),o=n(33927),i=(0,o.K)(function(){return(0,a.jsx)("div",{className:"dirt-bg"})},"screenDirtBg");let s=(0,o.K)(function(e){var t=e.title,n=e.children,o=e.backdrop,s=void 0===o||o,l=e.style,c=e.className,u=e.titleSelectable,d=e.titleMarginTop,w=e.contentStyle;return(0,a.jsxs)(a.Fragment,{children:["dirt"===s?(0,a.jsx)(i,{}):s?(0,a.jsx)("div",{className:"backdrop"}):null,(0,a.jsx)("div",{className:"fullscreen ".concat(void 0===c?"":c),style:(0,r._)({},l),children:(0,a.jsxs)("div",{className:"screen-content",style:(0,r._)({},w,void 0===d?{}:{marginTop:d}),children:[(0,a.jsx)("div",{className:"screen-title ".concat(u?"text-select":""),children:t}),n]})})]})},"screen")},3308:function(e,t,n){"use strict";n.d(t,{Pl:()=>C,ZP:()=>__WEBPACK_DEFAULT_EXPORT__,un:()=>L});var r,a,o,i=n(14772),s=n(59240),l=n(9787);n(72558),n(56070),n(83902),n(49245),n(48899),n(96573),n(50183),n(90804),n(24705),n(53346);var c=n(52676),u=n(44846),d=n(9117),w=n(75271),p=n(14971),h=n(71164),M=n(40451),g=n(80297),m=n(27678),v=n(76412),y=n(83389),A=n(85691),b=n(95705),_=(0,u.sj)({title:"",options:[],descriptions:[],showCancel:!0,minecraftJsonMessage:null,behavior:"resolve-close",input
1s:{},inputsConfirmButton:"",hoveredOptionIndex:-1}),L=(r=(0,i._)(function(e,t){var n,r,a,i,s,c,u,d,w,p,h=arguments;return(0,l.Jh)(this,function(l){return a=void 0===(r=(n=h.length>2&&void 0!==h[2]?h[2]:{}).cancel)||r,s=void 0===(i=n.descriptions)?[]:i,c=n.minecraftJsonMessage,d=void 0===(u=n.hoveredOptionIndex)?-1:u,(0,M.K4)({reactType:"general-select"}),c&&(w=(p=(0,g.$)(c)).formatted,p.plain&&(e+=" (".concat(p.plain,")"))),[2,new Promise(function(n){o=n,Object.assign(_,{title:e,options:t,descriptions:s,showCancel:a,minecraftJsonMessage:w,inputs:{},inputsConfirmButton:"",hoveredOptionIndex:d})})]})}),function(e,t){return r.apply(this,arguments)}),C=(a=(0,i._)(function(e,t){var n,r,a,i,s,c,u,d,w,p,h=arguments;return(0,l.Jh)(this,function(l){return a=void 0===(r=(n=h.length>2&&void 0!==h[2]?h[2]:{}).cancel)||r,i=n.minecraftJsonMessage,c=void 0===(s=n.showConfirm)||s,d=void 0===(u=n.confirmLabel)?"Confirm":u,(0,M.K4)({reactType:"general-select"}),i&&(w=(p=(0,g.$)(i)).formatted,p.plain&&(e+=" (".concat(p.plain,")"))),[2,new Promise(function(n){o=n,Object.assign(_,{title:e,inputs:t,showCancel:a,minecraftJsonMessage:w,options:[],descriptions:[],inputsConfirmButton:c?d:"",hoveredOptionIndex:-1})})]})}),function(e,t){return a.apply(this,arguments)});function __WEBPACK_DEFAULT_EXPORT__(){var e=(0,d.R)(_),t=e.title,n=e.options,r=e.descriptions,a=e.showCancel,i=e.minecraftJsonMessage,l=e.inputs,u=e.input
1sConfirmButton,g=e.hoveredOptionIndex,L=(0,v.uM)("general-select"),C=(0,w.useRef)({});if((0,w.useEffect)(function(){C.current=Object.fromEntries(Object.entries(l).map(function(e){var t,n=(0,s._)(e,2),r=n[0],a=n[1];return[r,null!=(t=a.defaultValue)?t:"checkbox"!==a.type&&""]}))},[l]),L){var resolveClose=function(e){"resolve-close"===_.behavior?(o(e),(0,M.kJ)()):((0,M.kJ)(),o(e))},j=r[g];return(0,c.jsxs)(m.Z,{title:t,backdrop:!0,children:[i&&(0,c.jsx)("div",{style:{textAlign:"center"},children:(0,c.jsx)(A.Z,{message:i})}),(0,c.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:9,alignItems:"center"},children:[n.length>0&&(0,c.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:5},children:n.map(function(e,t){return(0,c.jsx)(y.Z,{onClick:function(){resolveClose(e)},onMouseEnter:function(){_.hoveredOptionIndex=t},onMouseLeave:function(){_.hoveredOptionIndex=-1},style:{border:g===t?"2px solid #4CAF50":void 0,transition:"border 0.2s ease"},children:e},e)})}),(0,c.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:3},children:Object.entries(l).map(function(e){var t,n=(0,s._)(e,2),r=n[0],a=n[1],o=null!=(t=a.label)?t:(0,h.Q)((0,p.noCase)(r));return(0,c.jsxs)("div",{children:["text"===a.type&&(0,c.jsx)(b.sp,{label:o,autoFocus:!0,t
1ype:"text",defaultValue:a.defaultValue,placeholder:a.placeholder,onChange:function(e){C.current[r]=e.target.value}}),"checkbox"===a.type&&(0,c.jsxs)("label",{style:{display:"flex",alignItems:"center",gap:4,fontSize:12},children:[(0,c.jsx)("input",{type:"checkbox",style:{marginBottom:-1},defaultChecked:a.defaultValue,onChange:function(e){C.current[r]=e.target.checked}}),o]}),"button"===a.type&&(0,c.jsx)(y.Z,{onClick:function(){var e;resolveClose(C.current),null==(e=a.onButtonClick)||e.call(a)},children:o})]},r)})}),l&&u&&(0,c.jsx)(y.Z,{onClick:function(){resolveClose(C.current)},children:u}),a&&(0,c.jsx)(y.Z,{onClick:function(){resolveClose(void 0)},children:"Cancel"}),g>=0&&j&&(0,c.jsx)("div",{style:{padding:"8px 12px",backgroundColor:"rgba(0, 0, 0, 0.1)",borderRadius:"4px",fontSize:"8px",color:"rgb(211, 211, 211)",marginTop:"4px",border:"1px solid rgba(0, 0, 0, 0.1)"},children:j})]})]})}}},64868:function(e,t,n){"use strict";n.d(t,{Z:()=>__WEBPACK_DEFAULT_EXPORT__}),n(72558),n(25113),n(7611),n(65340),n(2850),n(95790),n(83902),n(90804),n(24705),n(53346),n(52251),n(42050);var r=n(75271),a=n(32776),o=n(94755);function __WEBPACK_DEFAULT_EXPORT__(e){var t=e.children;return(0,r.useEffect)(function(){if(!document.getElementById("hud-vars-style")){var e="\n      html {\n        ".concat(Object.values(a.$).filter(function(e){return e.cssVar}).map(function(e){var t,n=null!=(t=e.cssVarRepeat)?t:1;return"".concat(e.cssVar,": ").concat(repeatArr("url('".concat(e.content,"')"),n).join(", "),";")}).join("\n"),"\n\n        --hud-bottom-max: 0px;\n        --hud-bottom-raw: max(env(safe-area-inset-bottom), var(--hud-bottom-max));\n        --safe-area-inset-bottom: calc(var(--hud-bottom-raw) / var(--guiScale) + ").concat(o.m+3,"px);\n      }\n    "),t=document.createElement("style");t.id="hud-vars-style",t.textContent=e,document.head.appendChild(t)}},[]),t}var repeatArr=function(e,t){return Array.from({length:t},function(){return e})}},78425:function(e,t,n){"use strict";n.d(t,{Ed:()=>resolveStorageConflicts,GY:()=>setStorageDataOnAppConfigLoad,Z_:()=>resetAppStorage,e1:()=>L,ub:()=>getStorageConflicts});var r,a,o,i,s,l,c=n(4186),u=n(22312),d=n(59240),w=n(81979);n(74822),n(96220),n(34812),n(69047),n(95922),n(95790),n(83902),n(6645),n(86070),n(72558),n(58819),n(58207),n(7960),n(46302),n(64813),n(96573),n(94244),n(42050),n(87620),n(83210),n(56515),n(40542),n(64912),n(81812),n(59045),n(8705),n(67022),n(56520);var p=n(44846),h=n(14224),M=(null==(s=h.env)?void 0:s.SINGLE_FILE_BUILD)?"minecraft-web-client:":"",g=window.localStorage,m=["customCommands","username","keybindings","changedSettings","serversList"],v={serversHistory:"serverConnectionHistory"},getCookieValue=function(e){var t=document.cookie.split(";").find(function(t){return t.trimStart().startsWith("".concat("").concat(e,"="))});return t?decodeURIComponent(t.split("=")[1]):null},y=window.location.hostname.split(".").slice(-2).join("."),A="; Domain=.".concat(y,"; Path=/; SameSite=Strict; Secure"),setCookieValue=function(e,t){try{var n="".concat("").concat(e),r="".concat(n,"=").concat(encodeURIComponent(t));if((r+="".concat(A,"; Max-Age=2147483647")).length>4096)throw Error("Cookie size limit exceeded for key '".concat(e,"'. Cookie size: ").concat(r.length," bytes, limit: 4096 bytes."));document.cookie=r;var a=getCookieValue(e);if(a!==t)return console.warn("Cookie verification failed for key '".concat(e,"'. Expected: ").concat(t,", Got: ").concat(a)),!1;return!0}catch(t){return console.error("Failed to set cookie for key '".concat(e,"':"),t),window.showNotification("Failed to save data to cookies: ".concat(t.message),"Consider switching to localStorage in advanced settings.",!0),!1}},deleteCookie=function(e){var t="".concat("").concat(e);document.cookie="".concat(t,"=; ").concat(A,"; expires=Thu, 01 Jan 1970 00:00:00 UTC;")},b=[],detectStorageConflicts=function(){var e=[],t=!0,n=!1,r=void 0;try{for(var a,o=m[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value,s="".concat(M).concat(i),l=g.getItem(s),u=getCookieValue(i);if(l&&u)try{var d=JSON.parse(l),p=JSON.parse(u);if(g.getItem("".concat(s,":migrated")))continue;var h=null==d?void 0:d.timestamp,v=null==p?void 0:p.timestamp,y=h?(0,c._)({},d):d,A=v?(0,c._)({},p):p;delete y.timestamp,delete A.timestamp;var isDataEmpty=function(e){return(void 0===e?"undefined":(0,w._)(e))==="object"&&null!==e?0===Object.keys(e).length:!e&&0!==e&&!1!==e};JSON.stringify(y)===JSON.stringify(A)||isDataEmpty(y)||isDataEmpty(A)||e.push({key:i,localStorageValue:y,localStorageTimestamp:h,cookieValue:(void 0===A?"undefined":(0,w._)(A))==="object"&&null!==A&&"data"in A?A.data:A,cookieTimestamp:v})}catch(e){console.error("Failed to parse storage values for conflict detection on key '".concat(i,"':"),e,l,u)}}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}return e},showStorageConflictModal=function(){var e=window.showModal||function(e){console.error("Modal system not available:",e),console.warn("Storage conflicts detected but modal system not available:",b)};setTimeout(function(){e({reactType:"storage-conflict",conflicts:b})},100)},_={cookieStorage:!(null==(l=h.env)?void 0:l.SINGLE_FILE_BUILD),customCommands:void 0,username:void 0,keybindings:void 0,changedSettings:{},proxiesData:void 0,serversHistory:[],authenticatedAccounts:[],serversList:void 0,modsAutoUpdateLastCheck:void 0,firstModsPageVisit:!0,iframeC
1onsents:void 0},setStorageDataOnAppConfigLoad=function(e){var t;null!=L.username||(L.username=getRandomUsername(e))},getRandomUsername=function(e){return e.defaultUsername?e.defaultUsername.replaceAll(/{(\d+)-(\d+)}/g,function(e,t,n){var r=Number(t);return Math.floor(Math.random()*(Number(n)-r+1)+r).toString()}).replaceAll("{num}",function(){return Math.floor(10*Math.random()).toString()}):""},L=(0,p.sj)((0,c._)({},_)),C=!1,shouldUseCookieStorage=function(){if(C||"https:"!==window.location.protocol&&"localhost"!==window.location.hostname)return!1;var e=g.getItem("".concat(M,"cookieStorage"));return null===e?!0===L.cookieStorage:"true"===e},restoreStorageData=function(){var e=shouldUseCookieStorage();if(e&&(b=detectStorageConflicts()).length>0)return void showStorageConflictModal();var t=!0,n=!1,r=void 0;try{for(var a,o=Object.keys(_)[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i,s=a.value,l="".concat(M).concat(s),c=v[s],u=null,d=!1,p=!1;if(e&&m.includes(s)&&(u=getCookieValue(s),d=!0),null===u&&(u=null!=(i=g.getItem(l))?i:c?g.getItem(c):null,p=!0),u)try{var h=JSON.parse(u);h&&(void 0===h?"undefined":(0,w._)(h))==="object"&&h.timestamp&&(delete h.timestamp,"data"in h&&1===Object.keys(h).length&&(h=h.data)),L[s]=h,p&&d&&(saveKey(s),markLocalStorageAsMigrated(s))}catch(e){console.error("Failed to parse stored value for ".concat(s,":"),e)}}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}},markLocalStorageAsMigrated=function(e){var t="".concat(M).concat(e);g.setItem("".concat(t,":migrated"),"true")},saveKey=function(e){var t=shouldUseCookieStorage(),n="".concat(M).concat(e),r=L[e],a=void 0===r?void 0:r&&(void 0===r?"undefined":(0,w._)(r))==="object"&&!Array.isArray(r)?(0,u._)((0,c._)({},r),{timestamp:Date.now()}):{data:r,timestamp:Date.now()},o=void 0===a?void 0:JSON.stringify(a),i=!0;t&&m.includes(e)&&(i=!1,void 0===o?deleteCookie(e):setCookieValue(e,o)?markLocalStorageAsMigrated(e):(console.warn("Cookie save failed for key '".concat(e,"', disabling cookies for this session")),C=!0,i=!0)),i&&(void 0===r?g.removeItem(n):g.setItem(n,JSON.stringify(r)))};(0,p.Ld)(L,function(e){var t=!0,n=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value,s=(0,d._)(i,3),l=(s[0],s[1]);s[2];var c=l[0];saveKey(c)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}});var resetAppStorage=function(){var e=!0,t=!1,n=void 0;try{for(var r,a=Object.keys(L)[Symbol.iterator]();!(e=(r=a.next()).done);e=!0){var o=r.value;L[o]=_[o]}}catch(e){t=!0,n=e}finally{try{e||null==a.return||a.return()}finally{if(t)throw n}}var i=!0,s=!1,l=void 0;try{for(var c,u=Object.keys(g)[Symbol.iterator]();!(i=(c=u.next()).done);i=!0){var d=c.value;d.startsWith(M)&&g.removeItem(d)}}catch(e){s=!0,l=e}finally{try{i||null==u.return||u.return()}finally{if(s)throw l}}if(shouldUseCookieStorage()&&window.confirm("Removing all synced cookies will remove all data from all ".concat(y," subdomains websites. Continue?"))){var w=!0,p=!1,h=void 0;try{for(var v,A=m[Symbol.iterator]();!(w=(v=A.next()).done);w=!0){var b=v.value;deleteCookie(b)}}catch(e){p=!0,h=e}finally{try{w||null==A.return||A.return()}finally{if(p)throw h}}}},resolveStorageConflicts=function(e){if(e)L.cookieStorage=!1;else{var t=!0,n=!1,r=void 0;try{for(var a,o=b[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value,s="".concat(M).concat(i.key);g.removeItem(s)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}var l=!0,c=!1,u=void 0;try{for(var d,w=b[Symbol.iterator]();!(l=(d=w.next()).done);l=!0){var p=d.value;L[p.key]=e?p.localStorageValue:p.cookieValue,saveKey(p.key)}}catch(e){c=!0,u=e}finally{try{l||null==w.return||w.return()}finally{if(c)throw u}}b=[],restoreStorageData()},getStorageConflicts=function(){return b};r=g.getItem("proxies"),a=g.getItem("selectedProxy"),r&&a&&(L.proxiesData={proxies:JSON.parse(r),selected:a}),(o=g.getItem("username"))&&!o.startsWith('"')&&(L.username=o),(i=g.getItem("serverConnectionHistory"))&&(L.serversHistory=JSON.parse(i)),g.removeItem("proxies"),g.removeItem("selectedProxy"),g.removeItem("serverConnectionHistory"),restoreStorageData()},33927:function(e,t,n){"use strict";n.d(t,{K:()=>withInjectableUi});var r=n(4186),a=n(22312);n(72558),n(58819),n(25113);var o=n(52676);n(75271);var i=n(77449),s=n(12179),wrapWithErrorBoundary=function(e,t,n,a){return(0,o.jsx)(i.SV,{renderError:function(t){var n=e.name||e.displayName||"Unknown";return(0,s.c0)("Registered component ".concat(a," crashed: ").concat(n),"Use console for more. ".concat(t.message),!0,void 0),null},children:(0,o.jsx)(e,(0,r._)({},t))},n)},withInjectableUi=function(e,t){var n,i,s,l,c=t.charAt(0).toUpperCase()+t.slice(1);null!=(n=window).builtinOriginalComponents||(n.builtinOriginalComponents={}),window.builtinOriginalComponents[c]=e;var WrappedComponent=function(n){for(var i,s,l,c=Object.values((null==(l=window.mcraft)||null==(s=l.ui)||null==(i=s.registeredReactWrappers)?void 0:i[t])||{}),u=(0,o.jsx)(e,(0,r._)({},n)),d=c.length-1;d>=0;d--)u=wrapWithErrorBoundary(c[d],(0,a._)((0,r._)({}
1,n),{children:u}),d,t);return(0,o.jsx)(o.Fragment,{children:u})};return WrappedComponent.displayName="withInjectableUi(".concat(e.displayName||e.name||"Component",", ").concat(t,")"),null!=(i=window).builtinComponents||(i.builtinComponents={}),window.builtinComponents[c]=WrappedComponent,WrappedComponent}},43776:function(e,t,n){"use strict";n.d(t,{f:()=>useScrollBehavior});var r=n(59240),a=n(75271),useScrollBehavior=function(e,t){var n=t.messages,o=t.opened,i=(0,a.useRef)(!0),s=(0,r._)((0,a.useState)(!0),2),l=s[0],c=s[1],u=(0,a.useRef)(null),isAtBottom=function(){if(!e.current)return!0;var t=e.current,n=t.scrollTop;return 1>Math.abs(t.scrollHeight-t.clientHeight-n)},scrollToBottom=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"instant";if(e.current){u.current&&clearTimeout(u.current);var n=e.current;n.scrollTop=n.scrollHeight,u.current=setTimeout(function(){if(e.current){var n=e.current;n.scrollTo({top:n.scrollHeight,behavior:t}),c(!0),i.current=!0}},5)}};return(0,a.useEffect)(function(){var t=e.current;if(t){var handleScroll=function(){var e=isAtBottom();i.current=e,c(e)};return t.addEventListener("scroll",handleScroll),function(){t.removeEventListener("scroll",handleScroll),u.current&&clearTimeout(u.current)}}},[]),(0,a.useLayoutEffect)(function(){o?requestAnimationFrame(function(){scrollToBottom()}):e.current&&scrollToBottom()},[o]),(0,a.useLayoutEffect)(function(){(!o||o&&i.current)&&e.current&&scrollToBottom()},[n]),{scrollToBottom:scrollToBottom,isAtBottom:isAtBottom,wasAtBottom:function(){return i.current},currentlyAtBottom:l}}},57809:function(e,t,n){"use strict";n.d(t,{g:()=>v.g4,F:()=>Inventory});var r=n(59240);n(82594),n(86070),n(81812),n(96220),n(66395),n(56843),n(98474),n(67022),n(56520),n(73372);var a=n(52676),o=n(30967),i=n(75271),s=n(9117),l=n(46290),c=n.n(l),u=n(22411),d=n(4741),w=n(40451),p=n(30367),h=n(391),M=n(32719),g=n(46267),m=n(68470);function PlayerModelViewer(e){var t=e.width,n=e.height,o=(0,r._)((0,i.useState)(function(){var e,t,n,r;return null!=(r=null==(n=appViewer)||null==(t=n.playerState)||null==(e=t.reactive)?void 0:e.playerSkin)?r:""}),2),s=o[0],l=o[1];return(0,i.useEffect)(function(){var e,t,n=null==(t=appViewer)||null==(e=t.playerState)?void 0:e.reactive;if(n){var r=(0,M.VW)(n,"playerSkin",function(e){e&&l(e)});return n.playerSkin||(0,g.CV)(bot.username,"skin").then(function(e){e&&l(e)}),r}},[]),(0,a.jsx)(m.iZ,{width:t,height:n,skinUrl:s,followCursor:!0})}var v=n(82278),Inventory=function(){var e,t,l,M,g,m=(0,d.K)(),y=(0,r._)((0,i.useState)(0),2),A=y[0],b=y[1],_=(0,r._)((0,i.useState)(null!=(M=null==(e=bot.game)?void 0:e.gameMode)?M:""),2),L=_[0],C=_[1];(0,i.useEffect)(function(){var onGame=function(){return C(bot.game.gameMode)};return bot.on("game",onGame),function(){bot.removeListener("game",onGame)}},[]);var j=(0,s.R)(w.M),D=(0,i.useMemo)(function(){return j.findLast(function(e){return e.reactType.startsWith("player_win:")})},[j]),x=null!=(g=null==D?void 0:D.reactType.replace("player_win:",""))?g:null,k=(null==(t=j.at(-1))?void 0:t.reactType)===(null==D?void 0:D.reactType),T=(0,i.useMemo)(function(){if(!x)return null;var e=c()(bot.version);return(0,u.c)(bot,{itemMapper:(0,v.J2)(bot.version),formatTitle:v.FO,computeAnvilCost:function(t,n){if(!t)return null;try{return e.anvil(t,n,"creative"===bot.game.gameMode,void 0).xpCost}catch(e){return null}}})},[A,!!x]);(0,i.useEffect)(function(){if(T)return function(){T.sendAction({type:"close"})}},[T]),(0,i.useEffect)(function(){var refresh=function(){(0,v.g4)(),b(function(e){return e+1})};return appViewer.resourcesManager.on("assetsTexturesUpdated",refresh),appViewer.resourcesManager.on("assetsInventoryReady",refresh),function(){appViewer.resourcesManager.off("assetsTexturesUpdated",refresh),appViewer.resourcesManager.off("assetsInventoryReady",refresh)}},[]);var N=!0===p.YM.inventoryJei||Array.isArray(p.YM.inventoryJei)&&p.YM.inventoryJei.includes(null==(l=bot.game)?void 0:l.gameMode),S=p.YM.inventoryNotes,z=p.YM.inventoryPlaceholders,q=p.YM.inventoryPlayerModel,E=(0,r._)((0,i.useState)(!1),2),I=E[0],P=E[1];(0,i.useEffect)(function(){if(!x||!N)return void P(!1);var e=!1;return requestAnimationFrame(function(){requestAnimationFrame(function(){e||P(!0)})}),function(){e=!0}},[!!x,N]);var Y=(0,i.useMemo)(function(){return I?(0,h.X0)():[]},[I,A]),O=(0,i.useCallback)(function(e){return(0,h.xi)(e.name)},[]),R=(0,i.useCallback)(function(e){return(0,h.nb)(e.name)},[]),B=(0,i.useCallback)(function(e,t){if(e.type&&loadedData.items[e.type]){var r,a=n(46290)(bot.ver
1sion),o=new a(e.type,t,null!=(r=e.metadata)?r:0),i=bot.inventory.firstEmptyInventorySlot();null!==i&&(bot._client.write("set_creative_slot",{slot:i,item:a.toNotch(o)}),bot._setSlot(i,o))}},[]),U=(0,i.useCallback)(function(e){return B(e,1)},[B]),Q=(0,i.useCallback)(function(e){return B(e,64)},[B]),F=(0,i.useCallback)(function(){null==T||T.sendAction({type:"close"}),(0,w.kJ)()},[T]),W=(0,i.useCallback)(function(e,t){return(0,a.jsx)(PlayerModelViewer,{width:e,height:t})},[]);return x&&T?(0,o.createPortal)((0,a.jsx)("div",{style:{position:"fixed",inset:0,zIndex:1e3,display:k?void 0:"none"},children:(0,a.jsx)(u.u9,{config:v.tw,children:(0,a.jsx)(u.$d,{scale:m,children:(0,a.jsx)(u._3,{connector:T,noPlaceholders:!z,resolveEnchantmentName:function(e){var t,n,r;return null==(r=globalThis.loadedData)||null==(n=r.enchantments)||null==(t=n[e])?void 0:t.displayName},children:(0,a.jsx)(u.I5,{type:x,showJEI:N&&I,jeiItems:I?Y:[],jeiOnGetRecipes:O,jeiOnGetUsages:R,jeiOnItemClick:"creative"===L?U:void 0,jeiOnItemRightClick:"creative"===L?Q:void 0,onClose:F,renderEntity:q?W:void 0,enableNotes:S,onOpenSettings:function(){return(0,w.NZ)("inventory")}})})})})}),document.body):null}},62946:function(e,t,n){"use strict";n.d(t,{Z:()=>r});var r=(0,n(36965).wc)({remoteFallback:!1})},82278:function(e,t,n){"use strict";n.d(t,{FO:()=>formatWindowTitle,J2:()=>buildItemMapper,WB:()=>enrichItemStack,g4:()=>clearInventoryCaches,tw:()=>h});var r=n(4186),a=n(22312),o=n(59240),i=n(81979);n(98719),n(84317),n(8957),n(44792),n(33785),n(9587),n(13278),n(64391),n(86838),n(80062),n(50433),n(97336),n(65855),n(56656),n(42449),n(96573),n(94244),n(42050),n(83902),n(72558),n(7960),n(46302),n(64813),n(58819),n(90804),n(24705),n(53346),n(86070),n(87620),n(83210),n(73372);var s=n(72960),l=n(46290),c=n.n(l),u=n(23270),d=n(6733),w=n(62946),p=new Map;function clearInventoryCaches(){p.clear(),w.Z.resetRenderedSlots()}function getAtlas(e){if(!(null==(t=appViewer)?void 0:t.resourcesManager))return null;var t,n,r,a,o,i,s,l,c=appViewer.resourcesManager;return"gui"===e?null!=(i=null==(r=c.currentResources)||null==(n=r.guiAtlas)?void 0:n.image)?i:null:"items"===e?null!=(s=null==(a=c.currentResources)?void 0:a.itemsAtlasImage)?s:null:"blocks"===e&&null!=(l=null==(o=c.currentResources)?void 0:o.blocksAtlasImage)?l:null}function getAtlasForBlockRenderer(e){if(!(null==(t=appViewer)?void 0:t.resourcesManager))return null;var t,n,r,a=appViewer.resourcesManager;return"blocks"===e&&null!=(r=null==(n=a.blocksAtlasParser)?void 0:n.latestImage)?r:null}function extractSpriteDataUrl(e,t){var n=getAtlas(e);if(n&&t){var r=(0,o._)(t,4),a=r[0],i=r[1],s=r[2],l=r[3],c="".concat(e,":").concat(a,":").concat(i,":").concat(s,":").concat(l);if(p.has(c))return p.get(c);try{var u=document.createElement("canvas");u.width=s,u.height=l,u.getContext("2d").drawImage(n,a,i,s,l,0,0,s,l);var d=u.toDataURL();return p.set(c,d),d}catch(e){return}}}function buildBlockTexture(e){var t,n,r=getAtlasForBlockRenderer("blocks");if(r){var getFace=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=!0,o=!1,i=void 0;try{for(var s,l=n[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var c=e[s.value];if(null==c?void 0:c.slice)return{slice:c.slice}}}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}},a=getFace("top","up","all","south","east","west","north");if(a){var o=null!=(t=getFace("left","east","west","all"))?t:a,i=null!=(n=getFace("right","north","south","all"))?n:a;return{source:r,top:a,left:o,right:i}}}}function resolveItemTextures(e){var t,n;if(!(null==(n=appViewer)||null==(t=n.resourcesManager)?void 0:t.currentResources))return{};try{var r,a=(0,d._o)({name:e.name,nbt:null!=(r=e.nbt)?r:null,components:e.components},{"minecraft:display_context":"gui"},appViewer.resourcesManager,appViewer.playerState.reactive),o=(0,u.W)({modelName:a,originalItemName:e.name},appViewer.resourcesManager);if(o.blockData){var i=buildBlockTexture(o.blockData);if(i)return{blockTexture:i}}else if(o.slice){var s=extractSpriteDataUrl(o.texture,o.slice);if(s)return{texture:s}}return{}}catch(e){return{}}}function enrichItemStack(e){if(e.name){var t=resolveItemTextures({name:e.name,nbt:e.nbt,components:e.components});void 0!==t.texture&&(e.texture=t.texture),void 0!==t.blockTexture&&(e.blockTexture=t.blockTexture)}}function buildItemMapper(e){var t=c()(e);return function(e,n){try{var o,i,l,c=new t(e.type,e.count,null!=(i=e.metadata)?i:0);e.nbt&&(c.nbt=e.nbt),e.components&&(c.components=e.components);var u=resolveItemTextures({name:c.name,nbt:c.nbt,components:e.components}),w=u.texture,p=u.blockTexture,h=(0,d.bL)(c,appViewer.resourcesManager),M=h?(0,s.$H)(h).map(function(e){return"string"==typeof e?e:e.text}).join(""):c.displayName;return(0,a._)((0,r._)({},n),{name:c.name,displayName:M,texture:w,blockTexture:p,durability:"number"==typeof c.maxDurability&&"number"==typeof c.durabilityUsed?c.maxDurability-c.durabilityUsed:void 0,maxDurability:null!=(l=c.maxDurability)?l:void 0,enchantments:null==(o=c.enchants)?void 0:o.map(function(e){return{name:e.name,level:e.lvl}})})}catch(e){return n}}}var h={getGuiTextureUrl:function(e){return w.Z.getGuiTextureUrl(e)},getItemTextureUrl:function(e){return""},getBlockTextureUrl:function(e){return""}};function formatWindowTitle(e){if(null==e)return"";if("string"==typeof e){if(e.startsWith("{")||e.startsWith('"'))try{return formatWindowTitle(JSON.parse(e))}catch(e){}return e}if((void 0===e?"undefined":(0,i._)(e))==="object"){if("value"in e&&"string"===e.type)return formatWindowTitle(e.value);if(e.translate){var t,n,r=null==(t=globalThis.loadedData)?void 0:t.language;return null!=(n=null==r?void 0:r[e.translate])?n:e.translate}if("string"==typeof e.text)return e.text;if(e.extra)return e.extra.map(formatWindowTitle).join("");if("string"==typeof e[""])return e[""]}return String(e)}},30232:function(e,t,n){"use strict";n.d(t,{JM:()=>saveServerPassword,Mf:()=>updateLoadedServerData,Rt:()=>clearServerPassword,S_:()=>getServerIndex,e$:()=>setNewServersList,ky:()=>updateAuthenticatedAccountData,o:()=>updateServerConnectionHistory,x2:()=>findServerPassword});var r=n(4186),a=n(25763);n(34812),n(69047),n(95922),n(95790),n(83902),n(40542),n(11304),n(8705);var o=n(32175),i=n(40451),s=n(19478),l=n(30367),c=n(78425),u=n(12179),d=o.EX.serversList;function updateServerConnectionHistory(e,t){try{var n,r=(0,a._)(null!=(n=c.e1.serversHistory)?n:[]),o=r.find(function(t){return t.ip===e});o?(o.numConnects++,o.lastConnected=Date.now(),t&&(o.version=t)):r.push({ip:e,numConnects:1,lastConnected:Date.now(),version:t}),c.e1.serversHistory=r}catch(e){console.error("Failed to update server connection history:",e)}}var getServerIndex=function(){var e=null==(n=s.Pc.value)?void 0:n.server,t=i.N_.loadedServerIndex;if(void 0!==t)return t;if(e){var n,r,a=null==(r=c.e1.serversList)?void 0:r.findIndex(function(t){return t.ip===e}).toString();if("-1"===a)return;return a}},findServerPassword=function(){var e,t,n,r,a,o,i=bot.username,l=getServerIndex();if(void 0!==l){var u=null==(n=c.e1.serversList)||null==(t=n[l])||null==(e=t.autoLogin)?void 0:e[i];return u||(null==(o=c.e1.serversList)||null==(a=o.find(function(e){var t,n;return e.ip===(null==(t=s.Pc.value)?void 0:t.server)&&(null==(n=e.autoLogin)?void 0:n[i])}))||null==(r=a.autoLogin)?void 0:r[i])}},updateLoadedServerData=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.N_.loadedServerIndex;if(void 0===n){var r=getServerIndex();if(void 0===r)return;n=r}var o=(0,a._)(null!=(t=c.e1.serversList)?t:[]),s=o[n];s&&(o[n]=e(s),setNewServersList(o))},setNewServersList=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(!d||t)&&(c.e1.serversList=e)},clearServerPassword=function(){if(void 0!==getServerIndex()){var e,t=null==(e=bot)?void 0:e.username;t&&updateLoadedServerData(function(e){return e.autoLogin&&delete e.autoLogin[t],(0,r._)({},e)})}},updateAuthenticatedAccountData=function(e){var t=e(c.e1.authenticatedAccounts);c.e1.authenticatedAccounts=t},saveServerPassword=function(e,t){if((null==t?void 0:t.silent)||"never"!==l.YM.saveLoginPassword){var doSave=function(){var n=!1;if(updateLoadedServerData(function(t){var a;return null!=t.autoLogin||(t.autoLogin={}),n=!!t.autoLogin[bot.username],t.autoLogin[bot.username]=e,(0,r._)({},t)}),null==t||!t.silent)if("always"===l.YM.saveLoginPassword){var a=n?"Password updated in browser for auto-login":"Password saved in browser for auto-login";(0,u.c0)(a,void 0,!1,void 0)}else(0,u.yK)()};if(null==t?void 0:t.silent)return void doSave();"prompt"===l.YM.saveLoginPassword?(0,u.c0)("Click here to save your password in browser for auto-login",void 0,!1,void 0,doSave):doSave(),u.QW.id="auto-login";var listener=function(){(0,u.yK)()};bot.on("kicked",listener),setTimeout(function(){bot.removeListener("kicked",listener)},2e3)}}},48747:function(e,t,n){"use strict";n.d(t,{P:()=>o,U:()=>onChangeButtonState});var r=n(44846),a=n(32175),o=(0,r.sj)({packetsPlayback:[],isOpen:!1,isMinimized:!1,isRecording:!1,replayName:"",isPlaying:!1,progress:{current:0,total:0},speed:a.EX.replaySpeed?parseFloat(a.EX.replaySpeed):1,customButtons:{validateClientPackets:{state:"true"===a.EX.replayValidateClient,label:"C",tooltip:"Validate client packets"},stopOnError:{state:"true"===a.EX.replayStopOnError,label:"E",tooltip:"Stop the replay when an error occurs"}
1,skipMissingOnTimeout:{state:"true"===a.EX.replaySkipMissingOnTimeout,label:"T",tooltip:"Skip missing packets on timeout"},packetsSenderDelay:{state:"true"===a.EX.replayPacketsSenderDelay,label:"D",tooltip:"Send packets with an additional delay"}}}),onChangeButtonState=function(e,t){switch(o.customButtons[e].state=t,e){case"validateClientPackets":(0,a.h0)("replayValidateClient",String(t));break;case"stopOnError":(0,a.h0)("replayStopOnError",String(t));break;case"skipMissingOnTimeout":(0,a.h0)("replaySkipMissingOnTimeout",String(t));break;case"packetsSenderDelay":(0,a.h0)("replayPacketsSenderDelay",String(t))}}},46229:function(e,t,n){"use strict";n.d(t,{e:()=>useTypingIndicatorText}),n(7611),n(65340),n(2850),n(95790),n(83902),n(72558),n(58819),n(90804),n(24705),n(53346),n(66395),n(56843),n(98474),n(55058),n(29127);var r=n(75271),a=n(9117),o=n(40451),useTypingIndicatorText=function(){var e=(0,a.R)(o.rl).typingUsers,t=(0,r.useMemo)(function(){var t,n,r,a,o=e.filter(function(e){return!e.timestamp||Date.now()-e.timestamp<2e3});if(0===o.length)return"";if(1===o.length)return"".concat((null==(t=o[0])?void 0:t.username)||"Someone"," is typing...");if(2===o.length)return"".concat((null==(n=o[0])?void 0:n.username)||"Someone"," and ").concat((null==(r=o[1])?void 0:r.username)||"Someone"," are typing...");var i=o.slice(0,-1).map(function(e){return(null==e?void 0:e.username)||"Someone"}).join(", "),s=(null==(a=o.at(-1))?void 0:a.username)||"Someone";return"".concat(i," and ").concat(s," are typing...")},[e]);return(0,r.useEffect)(function(){var e=setInterval(function(){var e=Date.now();o.rl.typingUsers.some(function(t){return t.timestamp&&e-t.timestamp>=2e3})&&(o.rl.typingUsers=o.rl.typingUsers.filter(function(t){return!t.timestamp||e-t.timestamp<2e3}))},1e3);return function(){return clearInterval(e)}},[]),t}},74614:function(e,t,n){"use strict";n.d(t,{BO:()=>reactKeyForMessage,Dz:()=>useDidUpdateEffect,FR:()=>getGameViewportSize,G6:()=>i,_i:()=>mapEventCoordinates,s:()=>o,ua:()=>a}),n(56515);var r=n(75271);function useDidUpdateEffect(e,t){var n=(0,r.useRef)(!1);(0,r.useEffect)(function(){n.current=!0},[]),(0,r.useEffect)(function(){if(!n.current)return e();n.current=!1},t)}var a=new(n(79225)).UAParser(navigator.userAgent),o="iOS"===a.getOS().name,i="Safari"===a.getBrowser().name||o,reactKeyForMessage=function(e){return"string"==typeof e?e:JSON.stringify(e)},mapEventCoordinates=function(e){var t=document.body.classList.contains("rotated"),n=document.body.getBoundingClientRect();return{clientX:t?e.clientY:e.clientX,clientY:t?n.width-e.clientX:e.clientY,sizeX:t?n.height:n.width,sizeY:t?n.width:n.height}},getGameViewportSize=function(){var e=document.querySelector("canvas#viewer-canvas");return e?{width:e.clientWidth,height:e.clientHeight}:{width:0,height:0}}},76412:function(e,t,n){"use strict";n.d(t,{Af:()=>s,mE:()=>useIsWidgetActive,uM:()=>useIsModalActive,uT:()=>useUsingTouch,w:()=>l}),n(73372),n(40542),n(7611),n(65340),n(2850),n(95790),n(83902),n(55058),n(29127),n(66395),n(56843),n(98474),n(72558);var r=n(44846),a=n(9117),o=n(75271),i=n(40451),s=(0,r.sj)({value:[]});globalThis.watchedModalsFromHooks=s;var l=["empty","player_win:","divkit:","full-map"],useUsingTouch=function(){return(0,a.R)(i.N_).currentTouch},useIsModalActive=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,o.useMemo)(function(){s.value.push(e)},[]),(0,o.useEffect)(function(){return s.value.push(e),function(){s.value=s.value.filter(function(t){return t!==e})}},[]);var r=(0,a.R)(i.M);return n?r.some(function(t){return t.reactType===e}):(null==(t=r.at(-1))?void 0:t.reactType)===e},useIsWidgetActive=function(e){return useIsModalActive("widget-".concat(e))}},44214:function(e,t,n){"use strict";n.d(t,{E3:()=>U,UA:()=>G,V_:()=>J,YT:()=>onAppLoad,bP:()=>H,cj:()=>eo,dd:()=>X,i0:()=>W,wK:()=>ei,xm:()=>V});var r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,y=n(14772),A=n(73438),b=n(59240),_=n(25763),L=n(9787);n(56070),n(83902),n(40542),n(72558),n(58207),n(50183),n(7611),n(65340),n(2850),n(95790),n(86070),n(52307),n(8416),n(93118),n(82766),n(37151),n(20142),n(89909),n(24578),n(89437),n(802),n(52895),n(46525),n(83930),n(18369),n(41494),n(66616),n(39222),n(83282),n(59237),n(60353),n(40332),n(72040),n(52768),n(2249),n(96573),n(94244),n(42050),n(90804),n(24705),n(53346),n(32831),n(95526),n(39908),n(67022),n(56520),n(7960),n(46302),n(64813),n(74822),n(96220),n(98719),n(84317),n(8957),n(44792),n(33785),n(9587),n(13278),n(64391),n(86838),n(80062),n(50433),n(97336),n(65855),n(566
156),n(42449),n(81812),n(48899),n(49245),n(87620),n(83210),n(25113),n(52251);var C=n(62005),j=n(9304),D=n.n(j),x=n(34210),k=n.n(x),T=n(44846),N=n(20565),S=n(36965),z=n(54694),q=n(12179),E=n(30367),I=n(3308),P=n(32776),Y=n(40451),O=n(46644),R=n(62946),B=n(55872).Buffer,U=(0,T.sj)({resourcePackInstalled:!1,isServerDownloading:!1,isServerInstalling:!1}),Q=(r=(0,y._)(function(e){var t;return(0,L.Jh)(this,function(n){switch(n.label){case 0:return(t=new Image).src=e,[4,new Promise(function(e,n){t.onload=e,t.onerror=n})];case 1:return n.sent(),[2,t]}})}),function(e){return r.apply(this,arguments)}),F="/data/resourcePacks/",W=(a=(0,y._)(function(){var e,t,n=arguments;return(0,L.Jh)(this,function(r){switch(r.label){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:"default",[4,Z("/resourcepack/pack.mcmeta")];case 1:if(!r.sent())return[3,3];return[4,(0,z.y8)("/resourcepack",!1)];case 2:r.sent(),Y.rl.usingServerResourcePack=!1,r.label=3;case 3:return[4,Z(t=F+e)];case 4:if(!r.sent())return[2];return[4,(0,z.y8)(t)];case 5:return r.sent(),E.YM.enabledResourcepack=null,[4,J()];case 6:return r.sent(),[2]}})}),function(){return a.apply(this,arguments)}),V=(o=(0,y._)(function(){var e;return(0,L.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),e=[{}],[4,D().promises.readFile((0,C.join)(F,"default","name.txt"),"utf8")];case 1:return[2,A._.apply(void 0,e.concat([t.sent(),!0]))];case 2:return t.sent(),[2,{}];case 3:return[2]}})}),function(){return o.apply(this,arguments)}),J=(i=(0,y._)(function(){return(0,L.Jh)(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,Z(F+"default")];case 1:return U.resourcePackInstalled=e.sent(),[3,3];case 2:return e.sent(),[3,3];case 3:return[2]}})}),function(){return i.apply(this,arguments)}),G=(s=(0,y._)(function(e,t){var n,r,a,o,i,s,l,c,u,d,w=arguments;return(0,L.Jh)(this,function(p){switch(p.label){case 0:n=w.length>2&&void 0!==w[2]?w[2]:e.name,r=w.length>3&&void 0!==w[3]?w[3]:"default",a=w.length>4&&void 0!==w[4]&&w[4],console.time("processResourcePack"),o=a?"/resourcepack/":F+r,p.label=1;case 1:return p.trys.push([1,3,,4]),[4,t.executeWithMessage("Uninstalling resource pack",(0,y._)(function(){return(0,L.Jh)(this,function(e){switch(e.label){case 0:return[4,W(r)];case 1:return e.sent(),[2]}})}))];case 2:case 3:return p.sent(),[3,4];case 4:return t.beginStage("copy-files-resourcepack","Installing resource pack: copying all files"),[4,new(k())().loadAsync(e)];case 5:if(!(i=p.sent()).file("pack.mcmeta"))throw Error("Not a resource pack: missing /pack.mcmeta");return[4,(0,z.xl)(o)];case 6:var h;return p.sent(),s=Object.entries(i.files).filter(function(e){var t=(0,b._)(e,1)[0];return!t.startsWith(".")&&!t.startsWith("_")&&!t.startsWith("/")}),l=0,c=function(){t.reportProgress("copy-files-resourcepack",l/s.length)},u=new Set,d=[],console.time("resourcePackCopy"),[4,Promise.all(s.map((h=(0,y._)(function(e){var t,n,r,a,i,s,w,p,h,M;return(0,L.Jh)(this,function(g){switch(g.label){case 0:if(n=(t=(0,b._)(e,2))[0],r=t[1],a=(0,C.join)(o,n),n.endsWith("/"))return[2];if(i=(0,C.dirname)(a),u.has(i))return[3,2];return[4,(0,z.xl)(i)];case 1:g.sent(),u.add(i),g.label=2;case 2:if(!(d.length>100))return[3,4];return[4,Promise.all(d)];case 3:g.sent(),d.length=0,g.label=4;case 4:return p=(w=D().promises).writeFile,h=[a],M=B.from,[4,r.async("arraybuffer")];case 5:return s=p.apply(w,h.concat([M.apply(B,[g.sent()])])),d.push(s),[4,s];case 6:return g.sent(),l++,c(),[2]}})}),function(e){return h.apply(this,arguments)})))];case 7:return p.sent(),console.timeEnd("resourcePackCopy"),[4,H(n,r,a,t)];case 8:return p.sent(),console.log("resource pack install done"),console.timeEnd("processResourcePack"),[2]}})}),function(e,t){return s.apply(this,arguments)}),H=(l=(0,y._)(function(e,t,n,r){var a;return(0,L.Jh)(this,function(o){switch(o.label){case 0:if(a=n?"/resourcepack/":F+t,!e)return[3,2];return[4,D().promises.writeFile((0,C.join)(a,"name.txt"),e,"utf8")];case 1:o.sent(),o.label=2;case 2:return[4,ea(r)];case 3:return o.sent(),$.length>0?((0,q.c0)("Resource pack installed & enabled with ".concat($.length," errors")),console.error("Resource pack installed & enabled with errors:",$)):(0,q.c0)("Resource pack installed & enabled"),[4,J()];case 4:return o.sent(),n?Y.rl.usingServerResourcePack=!0:E.YM.enabledResourcepack=t,r.end(),[2]}})}),function(e,t,n,r){return l.apply(this,arguments)}),Z=(c=(0,y._)(function(e){return(0,L.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,D().promises.stat(e)];case 1:return t.sent(),[2,!0];case 2:return t.sent(),[2,!1];case 3:return[2]}})}),function(e){return c.apply(this,arguments)}),K=(u=(0,y._)(function(e){var t,n;return(0,L.Jh)(this,function(r){switch(r.label){case 0:return t=new Image,[4,D().promises.readFile(e,"base64")];case 1:return n=r.sent(),t.src="data:image/png;base64,".concat(n),[4,new Promise(function(e,n){t.addEventListener("load",e)})];case 2:if(r.sent(),t.width!==t.height)throw Error("Probe texture ".concat(e," is not square"));return[2,t.width]}})}),function(e){return u.apply(this,arguments)}),X=(d=(0,y._)(function(){var e;return(0,L.Jh)(this,function(t){switch(t.label){case 0:return[4,Z("/resourcepack/pack.mcmeta")];case 1:if(t.sent())return[2,"/resourcepack"];if(!(e=E.YM.enabledResourcepack))return[2,null];return[4,Z("/data/resourcePacks/".concat(e,"/pack.mcmeta"))];
1case 2:if(t.sent())return[2,"/data/resourcePacks/".concat(e)];return[2,null]}})}),function(){return d.apply(this,arguments)}),$=[],ee=(w=(0,y._)(function(e,t,n){var r,a,o,i,s,l,c,u,d,w,p,h;return(0,L.Jh)(this,function(n){switch(n.label){case 0:return[4,X()];case 1:if(!(r=n.sent()))return[2];return[4,D().promises.readdir((0,C.join)(r,"assets"))];case 2:switch(o=n.sent(),i={},e){case"blocks":s="block";break;case"items":s="item";break;case"armor":s="models/armor";break;default:throw Error("Invalid type")}l=!0,c=!1,u=void 0,n.label=3;case 3:n.trys.push([3,8,9,10]),d=function(){var e,n,o,l,c,u,d,w,h,M,g,m,v,A,j,x,k,T,N,S,z,q,E,I,P,Y;return(0,L.Jh)(this,function(O){switch(O.label){case 0:return e=p.value,n="".concat(r,"/assets/").concat(e,"/textures"),o="minecraft"===e,l="".concat(n,"/").concat(s),c="".concat(n,"/").concat(s,"s"),[4,Z(l)];case 1:if(O.sent())return[3,3];return[4,Z(c)];case 2:O.sent()&&(l=c),O.label=3;case 3:u=new Set(t.filter(function(t){return o&&!t.includes(":")||t.includes(":")&&t.split(":")[0]===e}).map(function(e){var t;return(e=null!=(t=e.split(":")[1])?t:e).includes("/")?(0,C.join)("".concat(n,"/").concat(e)):(0,C.join)(l,e)})),d=new Map,w=!0,h=!1,M=void 0;try{for(g=u[Symbol.iterator]();!(w=(m=g.next()).done);w=!0)v=m.value,A=(0,C.dirname)(v),d.has(A)||d.set(A,[]),j=(0,C.basename)(v),d.get(A).push(j)}catch(e){h=!0,M=e}finally{try{w||null==g.return||g.return()}finally{if(h)throw M}}x=[],k=!0,T=!1,N=void 0,O.label=4;case 4:O.trys.push([4,9,10,11]),S=function(){var e,t,n,r,a;return(0,L.Jh)(this,function(o){switch(o.label){case 0:return t=(e=(0,b._)(q.value,2))[0],n=e[1],[4,Z(t)];case 1:if(!o.sent())return[2,"continue"];return[4,D().promises.readdir(t)];case 2:return a=o.sent().filter(function(e){return e.endsWith(".png")}).map(function(e){return e.replace(".png","")}),(r=x).push.apply(r,(0,_._)(a.filter(function(e){return n.includes(e)}).map(function(e){return"".concat(t,"/").concat(e)}))),[2]}})},z=d[Symbol.iterator](),O.label=5;case 5:if(k=(q=z.next()).done)return[3,8];return[5,(0,L.XA)(S())];case 6:O.sent(),O.label=7;case 7:return k=!0,[3,5];case 8:return[3,11];case 9:return E=O.sent(),T=!0,N=E,[3,11];case 10:try{k||null==z.return||z.return()}finally{if(T)throw N}return[7];case 11:if(0===x.length)return[2,"continue"];I=x[0],O.label=12;case 12:if(O.trys.push([12,16,,17]),null==a)return[3,13];return[3,15];case 13:return[4,K("".concat(I,".png"))];case 14:a=O.sent(),O.label=15;case 15:return[3,17];case 16:return O.sent(),[3,17];case 17:var R;return Y=Object.fromEntries,[4,Promise.all(x.map((R=(0,y._)(function(t){var r,a,i,s,c,u,d;return(0,L.Jh)(this,function(w){switch(w.label){case 0:return w.trys.push([0,3,,4]),r="".concat(t,".png"),[4,D().promises.readFile(r,"base64")];case 1:return a=w.sent(),[4,Q("data:image/png;base64,".concat(a))];case 2:return i=w.sent(),s=t.replace("".concat(l,"/"),"").replace("".concat(n,"/"),""),[2,[o?s:"".concat(e,":").concat(s),i]];case 3:return c=w.sent(),u=t.replace("".concat(l,"/"),"").replace("".concat(n,"/"),""),d=o?u:"".concat(e,":").concat(u),$.push("[".concat(u,"] ").concat(c.message)),[2,[d,void 0]];case 4:return[2]}})}),function(e){return R.apply(this,arguments)})))];case 18:return P=Y.apply(Object,[O.sent()]),Object.assign(i,Object.fromEntries(Object.entries(P).filter(function(e){return void 0!==(0,b._)(e,2)[1]}))),[2]}})},w=o[Symbol.iterator](),n.label=4;case 4:if(l=(p=w.next()).done)return[3,7];return[5,(0,L.XA)(d())];case 5:n.sent(),n.label=6;case 6:return l=!0,[3,4];case 7:return[3,10];case 8:return h=n.sent(),c=!0,u=h,[3,10];case 9:try{l||null==w.return||w.return()}finally{if(c)throw u}return[7];case 10:return[2,{firstTextureSize:a,textures:i}]}})}),function(e,t,n){return w.apply(this,arguments)}),et=(p=(0,y._)(function(e){var t,n,r,a,o,i,s,l,c,u,d,w,p,h,M;return(0,L.Jh)(this,function(g){switch(g.label){case 0:return(t=appViewer.resourcesManager.currentResources).customBlockStates={},t.customModels={},t.customItemModelNames={},n=new Set,r=new Set,[4,X()];case 1:var m,v,A;if(!(a=g.sent()))return[2];e.beginStage("read-resource-pack-blockstates-and-models","Reading resource pack blockstates and models"),m=(0,y._)(function(e,t,a){var o,i;return(0,L.Jh)(this,function(s){switch(s.label){case 0:return[4,Z(e)];case 1:if(!s.sent())return[2];return[4,D().promises.readdir(e)];case 2:var l;return o=s.sent(),i={},[4,Promise.all(o.map((l=(0,y._)(function(o){var s,l,c,u,d,w,p,h,M,g,m,v;return(0,L.Jh)(this,function(y){switch(y.label){case 0:if(s="".concat(e,"/").concat(o),!o.endsWith(".json"))return[3,2];return[4,D().promises.readFile(s,"utf8")];case 1:if(l=y.sent(),c=o.replace(".json",""),u=e.endsWith("block"),"models"===t&&(c="".concat(u?"block":"item","/").concat(c)),d=JSON.parse(l),"minecraft"===a&&(i[c]=d),i["".concat(a,":").concat(c)]=d,"models"===t){p=!0,h=!1,M=void 0;try{for(g=Object.values(null!=(w=d.textures)?w:{})[Symbol.iterator]();!(p=(m=g.next()).done);p=!0)v=m.value,"string"==typeof v&&(v.startsWith("#")||(v.includes(":")||(v="minecraft:".concat(v)),u?n.add(v):r.add(v)))}catch(e){h=!0,M=e}finally{try{p||null==g.return||g.return()}finally{if(h)throw M}}}y.label=2;case 2:return[2]}})}),function(e){return l.apply(this,arguments)})))];case 3:return s.sent(),[2,i]}})}),o=function(e,t,n){return m.apply(this,arguments)},v=(0,y._)(function(e,t){var n,r;return(0,L.Jh)(this,function(a){switch(a.label){case 0:return[4,Z(e)];case 1:if(!a.sent())return[2];return[4,D().promises.readdir(e)];case 2:var o;return n=a.sent(),r={},[4,Promise.all(n.map((o=(0,y._)(function(n){var a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,y,A,b,_,C,j,x,k,T,N,S,z,q;return(0,L.Jh)(this,function(L){switch(L.label){case 0:if(a="".concat(e,"/").concat(n),!n.endsWith(".json"))return[3,2];return[4,D().promises.readFile(a,"utf8")];case 1:if(o=L.sent(),i=n.replace(".json",""),s=JSON.parse(o),l=[],e.endsWith("/items")){if((null==(c=s.model)?void 0:c.type)==="range_dispatch"&&(null==(u=s.model)?void 0:u.property)==="custom_model_data"){p=!0,h=!1,M=void 0;try{for(g=(null!=(w=null==(d=s.model)?void 0:d.entries)?w:[])[Symbol.iterator]();!(p=(m=g.next()).done);p=!0)b=null!=(A=(v=m.value).threshold)?A:0,_=null==(y=v.model)?void 0:y.model,"string"==typeof _&&(_.includes(":")||(_="minecraft:".concat(_)),l[b]=_)}catch(e){h=!0,M=e}finally{try{p||null==g.return||g.return()}finally{if(h)throw M}}}}else if(e.endsWith("/models/item")){j=!0,x=!1,k=void 0;try{for(T=(null!=(C=s.overrides)?C:[])[Symbol.iterator]();!(j=(N=T.next()).done);
1j=!0)if((null==(z=(S=N.value).predicate)?void 0:z.custom_model_data)&&S.model){if(q=S.model,"string"!=typeof q)continue;q.includes(":")||(q="minecraft:".concat(q)),l[S.predicate.custom_model_data]=q}}catch(e){x=!0,k=e}finally{try{j||null==T.return||T.return()}finally{if(x)throw k}}}l.length>0&&(r["".concat(t,":").concat(i)]=l),L.label=2;case 2:return[2]}})}),function(e){return o.apply(this,arguments)})))];case 3:return a.sent(),[2,r]}})}),i=function(e,t){return v.apply(this,arguments)},A=(0,y._)(function(e){var n,r,s,l,c,u,d,w,p,h,M,g,m,v,y,A,_,C,j,D,x,k,T,N,S,z,q,E,I,P,Y;return(0,L.Jh)(this,function(L){switch(L.label){case 0:return n="".concat(a,"/assets/").concat(e,"/blockstates"),r="".concat(a,"/assets/").concat(e,"/models/block"),s="".concat(a,"/assets/").concat(e,"/items"),l="".concat(a,"/assets/").concat(e,"/models/item"),c=Object.assign,u=[t.customBlockStates],[4,o(n,"blockstates",e)];case 1:return c.apply(Object,u.concat([L.sent()])),d=Object.assign,w=[t.customModels],[4,o(r,"models",e)];case 2:return d.apply(Object,w.concat([L.sent()])),p=Object.assign,h=[t.customModels],[4,o(l,"models",e)];case 3:p.apply(Object,h.concat([L.sent()])),g=!0,m=!1,v=void 0,L.label=4;case 4:return L.trys.push([4,9,10,11]),_=Object.entries,[4,i(s,e)];case 5:y=_.apply(Object,[null!=(M=L.sent())?M:{}])[Symbol.iterator](),L.label=6;case 6:if(g=(A=y.next()).done)return[3,8];j=(C=(0,b._)(A.value,2))[0],D=C[1],t.customItemModelNames[j]=D,L.label=7;case 7:return g=!0,[3,6];case 8:return[3,11];case 9:return x=L.sent(),m=!0,v=x,[3,11];case 10:try{g||null==y.return||y.return()}finally{if(m)throw v}return[7];case 11:T=!0,N=!1,S=void 0,L.label=12;case 12:return L.trys.push([12,17,18,19]),E=Object.entries,[4,i(l,e)];case 13:z=E.apply(Object,[null!=(k=L.sent())?k:{}])[Symbol.iterator](),L.label=14;case 14:if(T=(q=z.next()).done)return[3,16];P=(I=(0,b._)(q.value,2))[0],Y=I[1],t.customItemModelNames[P]=Y,L.label=15;case 15:return T=!0,[3,14];case 16:return[3,19];case 17:return x=L.sent(),N=!0,S=x,[3,19];case 18:try{T||null==z.return||z.return()}finally{if(N)throw S}return[7];case 19:return[2]}})}),s=function(e){return A.apply(this,arguments)},g.label=2;case 2:return g.trys.push([2,12,,13]),[4,D().promises.readdir((0,C.join)(a,"assets"))];case 3:l=g.sent(),c=!0,u=!1,d=void 0,g.label=4;case 4:g.trys.push([4,9,10,11]),w=l[Symbol.iterator](),g.label=5;case 5:if(c=(p=w.next()).done)return[3,8];return h=p.value,[4,s(h)];case 6:g.sent(),g.label=7;case 7:return c=!0,[3,5];case 8:return[3,11];case 9:return M=g.sent(),u=!0,d=M,[3,11];case 10:try{c||null==w.return||w.return()}finally{if(u)throw d}return[7];case 11:return[3,13];case 12:return console.error("Failed to read some of resource pack blockstates and models",g.sent()),$.push("Failed to read blockstates/models"),t.customBlockStates=void 0,t.customModels=void 0,t.customItemModelNames={},[3,13];case 13:return[2,{usedBlockTextures:n,usedItemTextures:r}]}})}),function(e){return p.apply(this,arguments)}),en=(h=(0,y._)(function(e,t){var n,r,a,o,i,s,l,c,u,d,w,p;return(0,L.Jh)(this,function(h){switch(h.label){case 0:t.beginStage("install-resource-pack","Installing server resource pack"),h.label=1;case 1:return h.trys.push([1,8,9,10]),U.isServerInstalling=!0,U.isServerDownloading=!0,t.beginStage("download-resource-pack","Downloading server resource pack"),console.log("Downloading server resource pack",e),console.time("downloadServerResourcePack"),[4,fetch(e).catch(function(n){console.error(n),"Failed to fetch"===n.message&&(n.message="Check internet connection and ensure server on ".concat(e," support CORS which is not required for the vanilla client, but is required for the web client.")),t.error("Failed to download resource pack: "+n.message)})];case 2:if(n=h.sent(),console.timeEnd("downloadServerResourcePack"),!n)return[2];a=(r=n.headers.get("Content-Length"))?parseInt(r,10):0,o=0,i=n.body.getReader(),s=[],h.label=3;case 3:return[4,i.read()];case 4:if(c=(l=h.sent()).done,u=l.value,c)return[3,5];return s.push(u),o+=u.length,a&&(d=Math.round(o/a*100),t.reportProgress("download-resource-pack",d/100)),[3,3];case 5:return U.isServerDownloading=!1,[4,new Blob(s).arrayBuffer()];case 6:return w=h.sent(),t.endStage("install-resource-pack"),[4,G(w,t,void 0,void 0,!0).catch(function(e){console.error(e),(0,q.c0)("Failed to install resource pack: "+e.message)})];case 7:return h.sent(),[3,10];case 8:return console.error("Could not install resource pack",p=h.sent()),t.error("Could not install resource pack: "+p.message),[3,10];case 9:return t.endStage("download-resource-pack"),U.isServerInstalling=!1,U.isServerDownloading=!1,[7];case 10:return[2]}})}),function(e,t){return h.apply(this,arguments)}),onAppLoad=function(){customEvents.on("mineflayerBotCreated",function(){var e,t=(e=(0,y._)(function(e){var t,n,r,a,o,i,s;return(0,L.Jh)(this,function(l){switch(l.label){case 0:if(t=Date.now(),console.log("Received resource pack request",e),r=(n="promptMessage"in e&&e.promptMessage?e.promptMessage:void 0)?"":"Do you want to use server resource pack?","hash"in e&&e.hash,a="forced"in e&&e.forced,"never"!==E.YM.serverResourcePacks)return[3,1];return i=!1,[3,5];case 1:if("always"!==E.YM.serverResourcePacks)return[3,2];return s=!0,[3,4];case 2:return[4,(0,I.un)(r,["Download & Install (recommended)","Pretend Installed (not recommended)"],{cancel:!a,minecraftJsonMessage:n})];case 3:s=l.sent(),l.label=4;case 4:i=s,l.label=5;case 5:if(o=i,Date.now()-t<700&&new Promise(function(e){setTimeout(e,700)}).then(function(){!1===o||"Pretend Installed (not recommended)"===o||"Download & Install (recommended)"===o||o?(console.log("accepting resource pack"),bot.acceptResourcePack()):bot.denyResourcePack()}),!0!==o&&"Download & Install (recommended)"!==o)return[3,7];return[4,en(e.url,(0,O.xC)()).catch(function(e){console.error(e),(0,q.c0)("Failed to download resource pack: "+e.message)})];case 6:l.sent(),l.label=7;case 7:return[2]}})}),function(t){return e.apply(this,arguments)});bot._client.on("resource_pack_send",t),bot._client.on("add_resource_pack",t)}),(0,T.Ld)(U,function(){U.resourcePackInstalled&&er()})},er=(M=(0,y._)(function(){var e,t,n,r,a,o,i,s,l,c,u,d,w,p,h,M,g,m,v,A,_,C,j,x,k;return(0,L.Jh)(this,function(T){switch(T.label){case 0:return[4,X()];case 1:var N,z;e=T.sent(),N=(0,y._)(function(e,t){var n,r,a,o,i=arguments;return(0,L.Jh)(this,function(s){switch(s.label){case 0:if(n=i.length>2&&void 0!==i[2]?i[2]:1,!(r=e))return[3,2];return[4,Z(e)];case 1:r=s.sent(),s.label=2;case 2:if(!r)return[3,4];return[4,D().promises.readFile(e,"base64")];case 3:return a=s.sent(),o="data:image/png;base64,".concat(a),document.body.style.setProperty(t,repeatArr("url(".concat(o,")"),n).join(", ")),[3,5];case 4:document.body.style.setProperty(t,""),s.label=5;case 5:return[2]}})}),t=function(e,t){return N.apply(this,arguments)},z=(0,y._)(function(e,t){var n,r;return(0,L.Jh)(this,function(a){switch(a.label){case 0:return n=P.M[e],[4,Z(t)];case 1:if(!a.sent())return[3,3];return[4,D().promises.readFile(t,"base64")];case 2:r=a.sent(),n="data:image/png;base64,".concat(r),a.label=3;case 3:return P.$[e].content=n,[2]}})}),n=function(e,t){return z.apply(this,arguments)},r=Object.entries(P.$).filter(function(e){return(0,b._)(e,2)[1].cssVar}),a=!0,o=!1,i=void 0,T.label=2;case 2:T.trys.push([2,9,10,11]),s=r[Symbol.iterator](),T.label=3;case 3:if(a=(l=s.next()).done)return[3,8];if(u=(c=(0,b._)(l.value,2))[0],w=(d=c[1]).cssVar,p=d.cssVarRepeat,h=d.resourcePackPath,M="".concat(e,"/assets/").concat(h),!w)return[3,5];return[4,t(M,w,null!=p?p:1)];case 4:T.sent(),T.label=5;case 5:return[4,n(u,M)];case 6:T.sent(),T.label=7;case 7:return a=!0,[3,3];case 8:return[3,11];case 9:return g=T.sent(),o=!0,i=g,[3,11];case 10:try{a||null==s.return||s.return()}finally{if(o)throw i}
1return[7];case 11:if(R.Z.clearOverrides(),!e)return[3,20];m=!0,v=!1,A=void 0,T.label=12;case 12:T.trys.push([12,18,19,20]),_=S.ll[Symbol.iterator](),T.label=13;case 13:if(m=(C=_.next()).done)return[3,17];return j=C.value,[4,Z(x="".concat(e,"/assets/minecraft/textures/").concat(j))];case 14:if(!T.sent())return[3,16];return[4,D().promises.readFile(x,"base64")];case 15:k=T.sent(),R.Z.setOverride(j,"data:image/png;base64,".concat(k)),T.label=16;case 16:return m=!0,[3,13];case 17:return[3,20];case 18:return g=T.sent(),v=!0,A=g,[3,20];case 19:try{m||null==_.return||_.return()}finally{if(v)throw A}return[7];case 20:return R.Z.resetRenderedSlots(),[2]}})}),function(){return M.apply(this,arguments)}),repeatArr=function(e,t){return Array.from({length:t},function(){return e})},ea=(g=(0,y._)(function(){var e,t,n,r,a,o,i,s,l,c,u,d,w,p,h=arguments;return(0,L.Jh)(this,function(M){switch(M.label){case 0:return e=h.length>0&&void 0!==h[0]?h[0]:(0,O.nx)(),t=h.length>1&&void 0!==h[1]&&h[1],appViewer.resourcesManager.currentResources||appViewer.resourcesManager.resetResources(),n=appViewer.resourcesManager.currentResources,$=[],r=Object.keys(appViewer.resourcesManager.sourceBlocksAtlases.latest.textures),a=Object.keys(appViewer.resourcesManager.sourceItemsAtlases.latest.textures),o=Object.keys(N.hj),[4,et(e)];case 1:return l=(s=null!=(i=M.sent())?i:{}).usedBlockTextures,c=s.usedItemTextures,e.beginStage("generate-atlas-texture-blocks","Generating atlas textures"),[4,Promise.all([ee("blocks",(0,_._)(r).concat((0,_._)(null!=l?l:[])),e),ee("items",(0,_._)(a).concat((0,_._)(null!=c?c:[])),e),ee("armor",o,e),er()])];case 2:if(d=(u=b._.apply(void 0,[M.sent(),3]))[0],w=u[1],p=u[2],n.customTextures={},d&&(n.customTextures.blocks={tileSize:d.firstTextureSize,textures:d.textures}),w&&(n.customTextures.items={tileSize:w.firstTextureSize,textures:w.textures}),p&&(n.customTextures.armor={tileSize:p.firstTextureSize,textures:p.textures}),t)return[3,4];return[4,appViewer.resourcesManager.updateAssetsData({})];case 3:M.sent(),M.label=4;case 4:return[2]}})}),function(){return g.apply(this,arguments)}),eo=(m=(0,y._)(function(){var e=arguments;return(0,L.Jh)(this,function(t){switch(t.label){case 0:return[4,ea(void 0,e.length>0&&void 0!==e[0]&&e[0])];case 1:return t.sent(),[2]}})}),function(){return m.apply(this,arguments)}),ei=(v=(0,y._)(function(){var e,t,n,r,a=arguments;return(0,L.Jh)(this,function(o){switch(o.label){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:"default",[4,Z("/resourcepack/pack.mcmeta")];case 1:if(!o.sent())throw Error("No server resource pack is currently installed");o.label=2;case 2:return o.trys.push([2,4,,5]),[4,D().promises.readFile("/resourcepack/name.txt","utf8")];case 3:return t=o.sent(),[3,5];case 4:return o.sent(),t="Server Resource Pack",[3,5];case 5:return n=F+e,[4,(0,z.xl)(n)];case 6:return o.sent(),(r=(0,O.xC)()).setMessage("Copying server resource pack to user location"),[4,(0,z.s8)("/resourcepack",n,!0," (server -> user)")];case 7:return o.sent(),[4,H(t,e,!1,r)];case 8:return o.sent(),(0,q.c0)("Server resource pack copied to user location"),r.end(),[2]}})}),function(){return v.apply(this,arguments)})},4741:function(e,t,n){"use strict";n.d(t,{K:()=>useAppScale,X:()=>s}),n(7960),n(46302),n(83902),n(64813),n(96573),n(94244),n(42050);var r=n(44846),a=n(9117),o=n(32719),i=n(30367),s=(0,r.sj)({scale:1});window.currentScaling=s;var setScale=function(){var e=window.innerWidth,t=window.innerHeight,n=i.YM.guiScale,r=!0,a=!1,o=void 0;try{for(var l,c=[{maxWidth:980,maxHeight:null,scale:2},{maxWidth:null,maxHeight:390,scale:1.5},{maxWidth:620,maxHeight:null,scale:1},{maxWidth:620,minHeight:240,scale:1.4}][Symbol.iterator]();!(r=(l=c.next()).done);r=!0){var u=l.value,d=u.maxWidth,w=u.maxHeight,p=u.scale,h=u.minHeight;(!d||e<=d)&&(!w||t<=w)&&(!h||t>=h)&&(n=p)}}catch(e){a=!0,o=e}finally{try{r||null==c.return||c.return()}finally{if(a)throw o}}s.scale=n};setScale(),(0,o.VW)(i.YM,"guiScale",setScale),(0,i.t6)(s,function(e){document.documentElement.style.setProperty("--guiScale",String(e.scale)),document.documentElement.style.setProperty("--scale",
1String(e.scale))}),window.addEventListener("resize",setScale);var useAppScale=function(){return(0,a.R)(s).scale}},83923:function(e,t,n){"use strict";n.r(t),n.d(t,{Cipher:()=>o.Cipher,Cipheriv:()=>o.Cipheriv,Decipher:()=>o.Decipher,Decipheriv:()=>o.Decipheriv,DiffieHellman:()=>o.DiffieHellman,DiffieHellmanGroup:()=>o.DiffieHellmanGroup,Hash:()=>o.Hash,Hmac:()=>o.Hmac,Sign:()=>o.Sign,Verify:()=>o.Verify,constants:()=>o.constants,createCipher:()=>o.createCipher,createCipheriv:()=>o.createCipheriv,createCredentials:()=>o.createCredentials,createDecipher:()=>o.createDecipher,createDecipheriv:()=>o.createDecipheriv,createDiffieHellman:()=>o.createDiffieHellman,createDiffieHellmanGroup:()=>o.createDiffieHellmanGroup,createECDH:()=>o.createECDH,createHash:()=>o.createHash,createHmac:()=>o.createHmac,createPublicKey:()=>createPublicKey,createSign:()=>o.createSign,createVerify:()=>o.createVerify,getCiphers:()=>o.getCiphers,getDiffieHellman:()=>o.getDiffieHellman,getHashes:()=>o.getHashes,listCiphers:()=>o.listCiphers,pbkdf2:()=>o.pbkdf2,pbkdf2Sync:()=>o.pbkdf2Sync,privateDecrypt:()=>o.privateDecrypt,privateEncrypt:()=>o.privateEncrypt,prng:()=>o.prng,pseudoRandomBytes:()=>o.pseudoRandomBytes,publicDecrypt:()=>o.publicDecrypt,publicEncrypt:()=>o.publicEncrypt,randomBytes:()=>o.randomBytes,randomFill:()=>o.randomFill,randomFillSync:()=>o.randomFillSync,rng:()=>o.rng,sign:()=>sign});var r=n(14772),a=n(9787);n(58207),n(72558),n(15209),n(58819),n(5269),n(31325),n(68732),n(64912),n(81812),n(96220),n(72216),n(92553),n(69261),n(20823),n(77962),n(98497),n(54487),n(10728),n(84269),n(41021),n(95190),n(81138),n(90758),n(7652),n(60501),n(63765),n(60139),n(41353),n(38409),n(24517),n(33207),n(55914),n(31551),n(4383),n(12516),n(18729),n(88364),n(83450),n(36670),n(26110),n(91292),n(51470),n(52777),n(83902),n(96573),n(33975),n(60398),n(44505),n(10020),n(71698),n(42973),n(21428),n(88085);var o=n(29158);function createPublicKey(){}function sign(e,t,n){return _sign.apply(this,arguments)}function _sign(){return(_sign=(0,r._)(function(e,t,n){var r,o;return(0,a.Jh)(this,function(a){switch(a.label){case 0:if("RSA-SHA256"!==e)throw Error("Unsupported signature algorithm ".concat(e));if("string"!=typeof n)throw Error("This implementation only supports strings as private keys");return r=pemToArrayBuffer(n),[4,crypto.subtle.importKey("pkcs8",r,{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},!0,["sign"])];case 1:return o=a.sent(),[4,crypto.subtle.sign({name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},o,t)];case 2:return[2,a.sent()]}})})).apply(this,arguments)}function pemToArrayBuffer(e){e=e.trim();for(var t=atob(e.slice(31,e.length-29).trim().replaceAll(/\s/g,"")),n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.codePointAt(r);return n.buffer}},14783:function(e,t,n){var r=n(14772),a=n(12957);n(73372),n(72558),n(86070),n(58819),n(40542),n(58207),n(7960),n(46302),n(83902),n(64813),n(96573),n(94244),n(42050),n(74822),n(96220),e.exports.resolveSrv=function(e,t){null==(n=(o=globalThis).setLoadingMessage)||n.call(o,"Getting SRV using Google DNS");var n,o,callback=function(e,n){var r,a;null==(r=(a=globalThis).setLoadingMessage)||r.call(a,void 0),t(e,n)},i=new XMLHttpRequest,s="https://dns.google.com/resolve?name=".concat(e,"&type=SRV");i.open("GET",s),i.responseType="json",i.send();var l=e.startsWith("_minecraft._tcp.")?e.slice(16):null;l&&(i.onerror=r._(function(){var e,t,n;return a._(this,function(r){switch(r.label){case 0:if(r.trys.push([0,2,,3]),!globalThis.resolveDnsFallback)return[2];return null==(e=(t=globalThis).setLoadingMessage)||e.call(t,"Resolving SRV using fallback"),[4,globalThis.resolveDnsFallback(l)];case 1:return callback(null,(n=r.sent())?[{priority:0,weight:0,port:n.port,name:n.host}]:[]),[3,3];case 2:return callback(r.sent()),[3,3];case 3:return[2]}})})),i.onload=function(){var e=i.response;if(3===e.Status){var t=Error("querySrv ENOTFOUND");t.code="ENOTFOUND",callback(t);return}if(!e.Answer||e.Answer.length<1){var n=Error("querySrv ENODATA");n.code="ENODATA",callback(n);return}var r=[],a=!0,o=!1,s=void 0;try{for(var l,c=e.Answer[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var u=l.value.data.split(" ");void 0!==u[3]&&void 0!==u[2]&&r.push({priority:u[0],weight:u[1],port:u[2],name:u[3]})}}catch(e){o=!0,s=e}finally{try{a||null==c.return||c.return()}finally{if(o)throw s}}console.log(r),callback(null,r)}}},58725:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>r});let r={}},9304:function(e,t,n){var r,a,o=n(25763);n(73372);var i=n(85929);
1null!=(r=globalThis).fs||(r.fs=i.BFSRequire("fs")),globalThis.fs.promises=new Proxy({},{get:function(e,t){return function(){for(var e,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=globalThis.promises)[t].apply(e,o._(r))}}}),e.exports=globalThis.fs},54615:function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>j,pc:()=>C});var r,a,o,i=n(14772),s=n(4186),l=n(22312),c=n(59240),u=n(9787);n(56070),n(83902),n(1174),n(40542),n(98719),n(84317),n(8957),n(44792),n(33785),n(9587),n(13278),n(64391),n(86838),n(80062),n(50433),n(97336),n(65855),n(56656),n(42449),n(96573),n(94244),n(42050),n(58207),n(72558),n(83210),n(7960),n(46302),n(64813),n(67022),n(56520);var d=n(13047),w=n(68770),p=n(25763),h=n(81979);function getRecipesProcessorProcessRecipes(e,t){return function(n){var r=Object.fromEntries(e.map(function(e){return[e.name,e.id]})),a=Object.fromEntries(t.map(function(e){return[e.name,e.id]})),o=Object.keys(n),i=!0,s=!1,l=void 0;try{for(var u,d=o[Symbol.iterator]();!(i=(u=d.next()).done);i=!0)!function(){var e=u.value;if("_proccessed"===e)return delete n[e];var mapId=function(e){if("string"!=typeof e&&"number"!=typeof e)throw Error("Incorrect type");var t,n=null!=(t=r[e])?t:a[e];if(!n)throw Error("No item/block name with id ".concat(e));return n};try{var t=mapId(e),o=!0,i=!1,s=void 0;try{for(var l,d=n[e].entries()[Symbol.iterator]();!(o=(l=d.next()).done);o=!0){var w=(0,c._)(l.value,2),h=(w[0],w[1]);try{!function(e){var parseRecipeItem=function(e){if("number"==typeof e||"string"==typeof e)return mapId(e);if(Array.isArray(e))return[mapId(e)].concat((0,p._)(e.slice(1)));if(!e)return e;if("id"in e)return e.id=mapId(e.id),e;throw Error("unhandled")},maybeProccessShape=function(e){if(e){var t=!0,n=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value,s=!0,l=!1,u=void 0;try{for(var d,w=i.entries()[Symbol.iterator]();!(s=(d=w.next()).done);s=!0){var p=(0,c._)(d.value,2),h=p[0],M=p[1];i[h]=parseRecipeItem(M)}}catch(e){l=!0,u=e}finally{try{s||null==w.return||w.return()}finally{if(l)throw u}}}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}};if(e.result&&(e.result=parseRecipeItem(e.result)),maybeProccessShape(e.inShape),maybeProccessShape(e.outShape),e.ingredients){var t=!0,n=!1,r=void 0;try{for(var a,o=e.ingredients.entries()[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=(0,c._)(a.value,2),s=i[0],l=i[1];e.ingredients[s]=parseRecipeItem(l)}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}}}(h)}catch(e){throw e}}}catch(e){i=!0,s=e}finally{try{o||null==d.return||d.return()}finally{if(i)throw s}}n[t]=n[e]}catch(e){throw e}delete n[e]}()}catch(e){s=!0,l=e}finally{try{i||null==d.return||d.return()}finally{if(s)throw l}}}}n(48899),n(90804),n(24705),n(53346),n(58819),n(25113),n(50183),n(26980),n(52457),n(73541),n(5269),n(31325),n(68732),n(74822),n(96220),n(56515),n(27969);var restoreMinecraftData=function(e,t,n){var r;return"recipes"===t&&(r=getRecipesProcessorProcessRecipes(M.restoreData(e.items,n,void 0),M.restoreData(e.blocks,n,void 0))),M.restoreData(e[t],n,r)},M=function(){function JsonOptimizer(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,w._)(this,JsonOptimizer),this.arrKey=e,this.ignoreChanges=t,this.ignoreRemoved=n,this.keys={},this.idToKey={},this.properties={},this.source={},this.previousKeys=[],this.previousValues={},this.diffs={}}var e=JsonOptimizer.prototype;return e.export=function(){return{keys:this.keys,properties:this.properties,source:this.source,arrKey:this.arrKey,diffs:this.diffs,__IS_OPTIMIZED__:!0}},e.diffObj=function(e){var t=this,n=[],r=[],a=[],o=this.arrKey,i=this.ignoreChanges,s=this.ignoreRemoved,l=[];
1if(!e||(void 0===e?"undefined":(0,h._)(e))!=="object")throw Error("diffing data is not object");if(Array.isArray(e)&&!o)throw Error("arrKey is required for arrays");var u=Array.isArray(e)?Object.fromEntries(e.map(function(e){return[JsonOptimizer.getByArrKey(e,o),e]})):e,d=Object.keys(u);null!=this.keys||(this.keys={}),null!=this.properties||(this.properties={});var w=Object.values(this.keys).length,M=Object.values(this.properties).length,g=!0,m=!1,v=void 0;try{for(var y,A,b,_=d[Symbol.iterator]();!(g=(b=_.next()).done);g=!0){var L,C,j=b.value;null!=(L=this.keys)[j]||(L[j]=w++),this.idToKey[this.keys[j]]=j}}catch(e){m=!0,v=e}finally{try{g||null==_.return||_.return()}finally{if(m)throw v}}var D=!0,x=!1,k=void 0;try{for(var T,N=Object.entries(this.source)[Symbol.iterator]();!(D=(T=N.next()).done);D=!0){var S=(0,c._)(T.value,2),z=S[0];S[1];var q=this.idToKey[z],E=u[q];if(!i&&void 0!==E){null!=(I=this.previousValues)[z]||(I[z]=this.source[z]);var I,P,Y=this.previousValues[z];isEqualStructured(Y,E)||function(e,n,o){var i=[],s=(void 0===n?"undefined":(0,h._)(n))==="object"&&n,l=t.keys[e];if(s){var u=[],d=!0,w=!1,p=void 0;try{for(var g,m=Object.entries(n)[Symbol.iterator]();!(d=(g=m.next()).done);d=!0){var v=(0,c._)(g.value,2),y=v[0];if(v[1],!isEqualStructured(n[y],o[y])){var A=t.properties[y];void 0===A&&(t.properties[y]=M++,A=t.properties[y]),i.push(A,n[y])}}}catch(e){w=!0,p=e}finally{try{d||null==m.return||m.return()}finally{if(w)throw p}}var b=!0,_=!1,L=void 0;try{for(var C,j=Object.keys(o)[Symbol.iterator]();!(b=(C=j.next()).done);b=!0){var D=C.value;if(!(D in n)){var x=t.properties[D];void 0===x&&(t.properties[D]=M++,x=t.properties[D]),u.push(x)}}}catch(e){_=!0,L=e}finally{try{b||null==j.return||j.return()}finally{if(_)throw L}}a.push([l,u])}r.push(l,s?i:n)}(q,E,Y),this.previousValues[z]=E}}}catch(e){x=!0,k=e}finally{try{D||null==N.return||N.return()}finally{if(x)throw k}}var O=!0,R=!1,B=void 0;try{for(var U,Q=Object.entries(u)[Symbol.iterator]();!(O=(U=Q.next()).done);O=!0){var F=(0,c._)(U.value,2),W=F[0],V=F[1],J=this.keys[W];this.source[J]||(this.source[J]=V),l.push(J)}}catch(e){R=!0,B=e}finally{try{O||null==Q.return||Q.return()}finally{if(R)throw B}}var G=!0,H=!1,Z=void 0;try{for(var K,X=this.previousKeys[Symbol.iterator]();!(G=(K=X.next()).done);G=!0){var $=K.value,ee=this.idToKey[$];void 0!==u[ee]||s||n.push($)}}catch(e){H=!0,Z=e}finally{try{G||null==X.return||X.return()}finally{if(H)throw Z}}var et=!0,en=!1,er=void 0;try{for(var ea,eo=n[Symbol.iterator]();!(et=(ea=eo.next()).done);et=!0){var ei=ea.value;this.previousKeys.splice(this.previousKeys.indexOf(ei),1)}}catch(e){en=!0,er=e}finally{try{et||null==eo.return||eo.return()}finally{if(en)throw er}}var es=!0,el=!1,ec=void 0;try{for(var eu,ed=this.previousKeys[Symbol.iterator]();!(es=(eu=ed.next()).done);es=!0){var ef=eu.value,ew=l.indexOf(ef);-1!==ew&&l.splice(ew,1)}}catch(e){el=!0,ec=e}finally{try{es||null==ed.return||ed.return()}finally{if(el)throw ec}}return this.previousKeys=(0,p._)(this.previousKeys).concat((0,p._)(l)),{removed:n,changed:r,added:l,removedProps:a}},e.recordDiff=function(e,t){var n=this.diffObj(t);this.diffs[e]=n},JsonOptimizer.isOptimizedChangeDiff=function(e){if(!Array.isArray(e)||e.length%2!=0)return!1;for(var t=0;t<e.length;t+=2)if("number"!=typeof e[t])return!1;return!0},JsonOptimizer.restoreData=function(e,t,n){var r,a=e.keys,o=e.properties,i=e.source,s=e.arrKey,l=e.diffs;i=structuredClone(i);var u=Object.fromEntries(Object.entries(a).map(function(e){return[e[1],e[0]]})),w=Object.fromEntries(Object.entries(o).map(function(e){return[e[1],e[0]]})),p={},h=!0,M=!1,g=void 0;try{for(var m,v=Object.entries(l)[Symbol.iterator]();!(h=(m=v.next()).done);h=!0){var y=(0,c._)(m.value,2),A=y[0],b=y[1],_=b.added,L=b.changed,C=b.removed,j=b.removedProps,D=!0,x=!1,k=void 0;try{for(var T,N=_[Symbol.iterator]();!(D=(T=N.next()).done);D=!0){var S=T.value;p[S]=i[S]}}catch(e){x=!0,k=e}finally{try{D||null==N.return||N.return()}finally{if(x)throw k}}var z=!0,q=!1,E=void 0;try{for(var I,P=C[Symbol.iterator]();!(z=(I=P.next()).done);z=!0){var Y=I.value;delete p[Y]}}catch(e){q=!0,E=e}finally{try{z||null==P.return||P.return()}finally{if(q)throw E}}for(var O=0;O<L.length;O+=2){var R=L[O],B=L[O+1];if(JsonOptimizer.isOptimizedChangeDiff(B))for(var U=0;U<B.length;U+=2){var Q=B[U],F=B[U+1],W=w[Q];if(void 0===W)throw Error("Property id change is undefined: ".concat(Q));p[R][W]=F}else p[R]=B}var V=!0,J=!1,G=void 0;try{for(var H,Z=j[Symbol.iterator]();!(V=(H=Z.next()).done);V=!0){var K=(0,c._)(H.value,2),X=K[0],$=K[1],ee=!0,et=!1,en=void 0;try{for(var er,ea=$[Symbol.iterator]();!(ee=(er=ea.next()).done);ee=!0){var eo=w[er.value];Array.isArray(p[X])?p[X].splice(eo,1):delete p[X][eo]}}catch(e){et=!0,en=e}finally{try{ee||null==ea.return||ea.return()}finally{if(et)throw en}}}}catch(e){J=!0,G=e}finally{try{V||null==Z.return||Z.return()}finally{if(J)throw G}}if((0,d.Uo)(A)<=(0,d.Uo)(t))break}}catch(e){M=!0,g=e}finally{try{h||null==v.return||v.return()}
1finally{if(M)throw g}}return r=s?Object.values(p):Object.fromEntries(Object.entries(p).map(function(e){var t=(0,c._)(e,2),n=t[0],r=t[1];return[u[n],r]})),null==n||n(r),r},JsonOptimizer.getByArrKey=function(e,t){return t.split("+").map(function(t){return e[t]}).join("+")},JsonOptimizer.resolveDefaults=function(e){if(!Array.isArray(e))throw Error("not an array");var t={},n=!0,r=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(n=(o=i.next()).done);n=!0){var s=o.value;if((void 0===s?"undefined":(0,h._)(s))==="object"&&s){var l=!0,u=!1,d=void 0;try{for(var w,p=Object.entries(s)[Symbol.iterator]();!(l=(w=p.next()).done);l=!0){var M,g,m,v=(0,c._)(w.value,2),y=v[0],A=v[1],b=JSON.stringify(A);null!=t[y]||(t[y]={}),null!=(M=t[y])[b]||(M[b]=0),t[y][b]+=1}}catch(e){u=!0,d=e}finally{try{l||null==p.return||p.return()}finally{if(u)throw d}}}}}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}var _=Object.fromEntries(Object.entries(t).map(function(e){var t=(0,c._)(e,2);return[t[0],Object.entries(t[1]).sort(function(e,t){var n=(0,c._)(e,2)[1];return(0,c._)(t,2)[1]-n})[0][0]]})),L=[],C={},j=!0,D=!1,x=void 0;try{for(var k,T=e.entries()[Symbol.iterator]();!(j=(k=T.next()).done);j=!0){var N=(0,c._)(k.value,2),S=(N[0],N[1]);if((void 0===S?"undefined":(0,h._)(S))!=="object"||!S){L.push(S);continue}var z=!0,q=!1,E=void 0;try{for(var I,P=Object.keys(_)[Symbol.iterator]();!(z=(I=P.next()).done);z=!0){var Y,O=I.value,R=S[O];if(!R){null!=C[O]||(C[O]=[]),C[O].push(O);continue}_[O]===JSON.stringify(R)&&delete S[O]}}catch(e){q=!0,E=e}finally{try{z||null==P.return||P.return()}finally{if(q)throw E}}L.push(S)}}catch(e){D=!0,x=e}finally{try{j||null==T.return||T.return()}finally{if(D)throw x}}return{data:L,defaults:_}},JsonOptimizer}(),isEqualStructured=function(e,t){return JSON.stringify(e)===JSON.stringify(t)},g=n(5969);n(73372),n(72216),n(92553),n(69261),n(20823),n(77962),n(98497),n(54487),n(10728),n(84269),n(41021),n(95190),n(81138),n(90758),n(7652),n(60501),n(63765),n(60139),n(41353),n(38409),n(24517),n(33207),n(55914),n(31551),n(4383),n(12516),n(18729),n(88364),n(83450),n(36670),n(26110),n(91292),n(51470),n(52777),n(33975),n(60398),n(44505),n(10020),n(71698),n(42973),n(21428);var m=n(26230),v=n.n(m);globalThis.pako={inflate:v().inflate.bind(v())};var y=(r=(0,i._)(function(e){return(0,u.Jh)(this,function(t){switch(t.label){case 0:if("mcData"!==e)return[3,2];return[4,n.e("687").then(n.t.bind(n,40609,19))];case 1:case 3:return[2,t.sent().default];case 2:if("blockStatesModels"!==e)return[3,4];return[4,n.e("196").then(n.t.bind(n,69751,19))];case 4:return[2]}})}),function(e){return r.apply(this,arguments)}),A="not-called",b=(o=Promise.withResolvers(),(0,l._)((0,s._)({},o),{get resolvedData(){return a},resolve:function(e){o.resolve(e),a=e}}));window._MC_DATA_RESOLVER=b,window._LOAD_MC_DATA=(0,i._)(function(){var e,t;return(0,u.Jh)(this,function(n){switch(n.label){case 0:if(b.resolvedData)return[2];A="loading",n.label=1;case 1:return n.trys.push([1,3,,4]),e=b.resolve,[4,y("mcData")];case 2:return e.apply(b,[n.sent()]),A="ready",[3,4];case 3:throw t=n.sent(),A="error",t;case 4:return[2]}})});var _=new Map,L=new Map,possiblyGetFromCache=function(e){if(_.has(e))return _.get(e);var t=function(){if(!b.resolvedData)throw Error("Minecraft data are not ready yet. Ensure you await window._LOAD_MC_DATA() before using it. Status: ".concat(A));var t=Object.keys(b.resolvedData),n={},r=!0,a=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l,c=i.value;if("blockCollisionShapes"===c&&(0,d.Uo)(e)>=(0,d.Uo)("1.13")){var u,w,p=null==(u=(w=window).globalGetCollisionShapes)?void 0:u.call(w,e);if(p){n[c]=p;continue}}var h=b.resolvedData[c];h.__IS_OPTIMIZED__?n[c]=restoreMinecraftData(b.resolvedData,c,e):n[c]=null!=(l=h[e])?l:h[(0,g.AB)(e)]}}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}return n}();return _.set(e,t),L.set(e,Date.now()),t};window.allLoadedMcData=new Proxy({},{get:function(e,t){if(!t.includes("$"))return new Proxy({},{get:function(e,n){return possiblyGetFromCache(t)[n]}})}}),setInterval(function(){var e=Date.now(),t=!0,n=!1,r=void 0;try{for(var a,o=L[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=(0,c._)(a.value,2),s=i[0],l=i[1];e-l>3e4&&(_.delete(s),L.delete(s))}}catch(e){n=!0,r=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw r}}},1e3);var C=window.allLoadedMcData;let j={pc:C}},5930:function(e,t,n){n(73372),e.exports.performance=globalThis.performance},26775:function(e,t,n){"use strict";n.r(t),n.d(t,{Titles:()=>r});var r={}},27691:function(e,t,n){"use strict";n.r(t),n.d(t,{server:()=>server});var r=n(14772),a=n(9787);n(40542),n(56070),n(83902),n(72558),n(56515),n(58207);var server=function(e){var t=e.host;return{join:function(e,n,o,i,s,l){return(0,r._)(function(){var r,c,u,d;return(0,a.Jh)(this,function(a){switch(a.label){case 0:return a.trys.push([0,4,,5]),[4,fetch("".concat(t),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({accessToken:e,selectedProfile:n,serverId:o,sharedSecret:i,publicKey:s})})];case 1:if((r=a.sent()).ok)return[3,3];return c=Error.bind,d=(u="Request failed ").concat,[4,r.text()];case 2:throw new(c.apply(Error,[void 0,d.apply(u,[a.sent()])]));case 3:return l(null),[3,5];case 4:return l(a.sent()),[3,5];case 5:return[2]}})})()}}}},30297:function(e,t,n){"use strict";n.d(t,{O:()=>N,u:()=>T});var r,a,o,i=n(14772),s=n(9787);n(72558),n(56515),n(73372),n(67022),n(56520),n(40542),n(79653),n(96220),n(81812),n(17926);var l=n(72562),c=n(13047),u=n(95188),d=n(32719),w=n(40451),p=n(30367),h=n(47536),M=n(44214),g=n(12179),m=n(7329),v=n(68770),y=n(59240);n(25113),n(50183),n(7960),n(46302),n(83902),n(64813),n(96573),n(94244),n(42050),n(74822),n(90804),n(24705),n(53346),n(87620),n(83210),n(32831),n(86070),n(8705),n(80669),n(49315),n(5556),n(95790),n(34812),n(69047),n(95922);
1var A=n(9304),b=n.n(A),_=n(62005),L=n.n(_),C=new(function(){function MusicSystem(){(0,v._)(this,MusicSystem),this.currentMusic=null}var e=MusicSystem.prototype;return e.playMusic=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this;return(0,i._)(function(){var r,a;return(0,s.Jh)(this,function(o){switch(o.label){case 0:if(!p.YM.enableMusic||n.currentMusic||0===p.YM.musicVolume)return[2];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,(0,h._y)(e,t,5e3,void 0,!0)];case 2:if(!(a=(null!=(r=o.sent())?r:{}).onEnded))return[2];return n.currentMusic=e,a(function(){n.currentMusic=null}),[3,4];case 3:return console.warn("Failed to play music:",o.sent()),n.currentMusic=null,[3,4];case 4:return[2]}})})()},e.stopMusic=function(){this.currentMusic&&(this.currentMusic=null)},MusicSystem}());function computeEffectiveVolume(e,t){return e*Math.max(t,0)}function parseSoundMapVariant(e){var t=(0,y._)(e.split(";"),4),n=t[0],r=t[1],a=t[2],o=t[3];if(isNaN(Number(n)))throw Error("volume is not a number");if(isNaN(Number(a)))throw TypeError("weight is not a number");if(void 0!==o&&""!==o&&isNaN(Number(o)))throw TypeError("attenuation distance is not a number");return{file:r,weight:Number(a),volume:Number(n),attenuationDistance:void 0!==o&&""!==o?Number(o):16}}n(59045),n(58207);var j=function(){function SoundMap(e,t){(0,v._)(this,SoundMap),this.soundData=e,this.version=t,this.noVersionIdMapping=!1;var n=e.allSoundsMap[this.version];if(!n){var r=(0,c.PW)(e.allSoundsMap);(n=r[(0,c.fj)(t)])||(n=Object.values(r)[0]),this.noVersionIdMapping=!0}this.soundsIdToName={},this.soundsPerName={};var a=!0,o=!1,i=void 0;try{for(var s,l=Object.entries(n)[Symbol.iterator]();!(a=(s=l.next()).done);a=!0){var u=(0,y._)(s.value,2),d=u[0],w=u[1].split(",").map(function(e){return parseSoundMapVariant(e)}),p=(0,y._)(d.split(";"),2),h=p[0],M=p[1];this.soundsIdToName[h]=M,this.soundsPerName[M]=w}}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}}var e=SoundMap.prototype;return e.updateActiveResourcePackBasePath=function(e){var t=this;return(0,i._)(function(){var n,r;return(0,s.Jh)(this,function(a){switch(a.label){case 0:if(t.activeResourcePackBasePath=e,!e)return t.activeResourcePackSoundsJson=void 0,[2];a.label=1;case 1:return a.trys.push([1,3,,4]),r=L().join(e,"assets/minecraft/sounds.json"),[4,b().promises.readFile(r,"utf8")];case 2:return n=a.sent(),[3,4];case 3:return a.sent(),[3,4];case 4:try{n&&(t.activeResourcePackSoundsJson=JSON.parse(n))}catch(e){console.warn("Failed to parse sounds.json from resourcepack",e),t.activeResourcePackSoundsJson=void 0}return[2]}})})()},e.updateExistingResourcePackPaths=function(){var e=this;return(0,i._)(function(){var t,n;return(0,s.Jh)(this,function(r){switch(r.label){case 0:var a;if(!e.activeResourcePackBasePath)return[2];return t=L().join(e.activeResourcePackBasePath,"assets/minecraft/sounds"),a=(0,i._)(function(r){var a,o,i,l,c,u,d,w,p,h;return(0,s.Jh)(this,function(s){switch(s.label){case 0:return[4,b().promises.readdir(r,{withFileTypes:!0})];case 1:a=s.sent(),o=!0,i=!1,l=void 0,s.label=2;case 2:s.trys.push([2,8,9,10]),c=a[Symbol.iterator](),s.label=3;case 3:if(o=(u=c.next()).done)return[3,7];if(d=u.value,w=L().join(r,d.name),!d.isDirectory())return[3,5];return[4,n(w)];case 4:return s.sent(),[3,6];case 5:d.isFile()&&d.name.endsWith(".ogg")&&(p=L().relative(t,w),e.existingResourcePackPaths.add(p)),s.label=6;case 6:return o=!0,[3,3];case 7:return[3,10];case 8:return h=s.sent(),i=!0,l=h,[3,10];case 9:try{o||null==c.return||c.return()}finally{if(i)throw l}return[7];case 10:return[2]}})}),[4,(n=function(e){return a.apply(this,arguments)})(t)];case 1:return r.sent(),[2]}})})()},e.getSoundUrl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this;return(0,i._)(function(){var r,a,o,l,c,u,d,w,p,h,M,g,m,v,y;return(0,s.Jh)(this,function(A){switch(A.label){case 0:var _;if(r=function(e){return computeEffectiveVolume(e,t)},!(n.activeResourcePackSoundsJson&&e in n.activeResourcePackSoundsJson)||(c=null!=(l=(o=(a=n.activeResourcePackSoundsJson[e]).sounds[Math.floor(Math.random()*a.sounds.length)]).volume)?l:1,d=null!=(u=o.attenuation_distance)?u:16,!n.activeResourcePackBasePath))return[3,3];return _=(0,i._)(function(e){var t,a;return(0,s.Jh)(this,function(i){switch(i.label){case 0:if(i.trys.push([0,2,,3]),o.name.startsWith("http://")||o.name.startsWith("https://"))return[2,{url:o.name,volume:r(c),attenuationDistance:d,timeout:o.timeout}];return t=L().join(n.activeResourcePackBasePath,"/assets/minecraft/sounds/".concat(o.name,".").concat(e)),[4,b().promises.readFile(t)];case 1:return a=i.sent(),[2,{url:"data:audio/".concat(e,";base64,").concat(a.toString("base64")),volume:r(c),attenuationDistance:d}];case 2:return i.sent(),[2,null];case 3:return[2]}})}),[4,(w=function(e){return _.apply(this,arguments)})(n.soundData.soundsMeta.format)];case 1:if(p=A.sent())return[2,p];if("ogg"===n.soundData.soundsMeta.format)return[3,3];return[4,w("ogg")];case 2:if(h=A.sent())return[2,h];A.label=3;case 3:if(!(null==(M=n.soundsPerName[e])?void 0:M.length))return[2,void 0];return g=Math.random()*M.reduce(function(e,t){return e+t.weight},0),v=null!=(m=M.find(function(e){return(g-=e.weight)<=0}))?m:M[0],y=n.getVersionedSound(v.file),[2,{url:n.soundData.soundsMeta.baseUrl.replace(/\/$/,"")+(y?"/".concat(y):"")+"/minecraft/sounds/"+v.file+"."+n.soundData.soundsMeta.format,volume:r(v.volume),attenuationDistance:v.attenuationDistance}]}})})()},e.getVersionedSound=function(e){var t=(0,c.Uo)(this.version),n=Object.entries(this.soundData.soundsLegacyMap),r=!0,a=!1,o=void 0;try{for(var i,s=n[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=(0,y._)(i.value,2),u=l[0];if(l[1].includes(e)&&t<=(0,c.Uo)(u))return u}}catch(e){a=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}},e.getBlockSound=function(e,t,n){var r,a=null!=(r=D[e])?r:e,o="block.".concat(a,".").concat(t);return this.soundsPerName[o]?o:n},e.getStepSound=function(e){return this.getBlockSound(e,"step","block.stone.step")},e.getBreakSound=function(e){return this.getBlockSound(e,"break","block.stone.break")},e.quit=function(){C.stopMusic(),(0,h.YR)()},SoundMap}();function createSoundMap(e){var t,n=window;return n.allSoundsMap?new j({allSoundsMap:n.allSoundsMap,soundsLegacyMap:null!=(t=n.allSoundsVersionedMap)?t:{},soundsMeta:n.allSoundsMeta},e):null}var D={grass_block:"grass",tall_grass:"grass",fern:"grass",large_fern:"grass",dead_bush:"grass",seagrass:"grass",tall_seagrass:"grass",kelp:"grass",kelp_plant:"grass",sugar_cane:"grass",bamboo:"grass",vine:"grass",nether_sprouts:"grass",twisting_vines:"grass",weeping_vines:"grass",sweet_berry_bush:"grass",glow_lichen:"grass",moss_carpet:"grass",moss_block:"grass",hanging_roots:"grass",spore_blossom:"grass",small_dripleaf:"grass",big_dripleaf:"grass",flowering_azalea:"grass",azalea:"grass",azalea_leaves:"grass",flowering_azalea_leaves:"grass",dirt:"gravel",coarse_dirt:"gravel",podzol:"gravel",mycelium:"gravel",farmland:"gravel",dirt_path:"gravel",rooted_dirt:"rooted_dirt",wheat:"crop",potatoes:"crop",carrots:"crop",beetroots:"crop",melon_stem:"crop",pumpkin_stem:"crop",sweet_berries:"crop",cocoa:"crop",nether_wart:"crop",torchflower_crop:"crop",pitcher_crop:"crop",cobblestone:"stone",stone_bricks:"stone",mossy_stone_bricks:"stone",cracked_stone_bricks:"stone",chiseled_stone_bricks:"stone",stone_brick_slab:"stone",stone_brick_stairs:"stone",stone_brick_wall:"stone",polished_granite:"stone",granite:"stone",andesite:"stone",diorite:"stone",polished_andesite:"stone",polished_diorite:"stone",deepslate:"deepslate",cobbled_deepslate:"deepslate",polished_deepslate:"deepslate",deepslate_bricks:"deepslate_bricks",deepslate_tiles:"deepslate_tiles",calcite:"stone",tuff:"stone",smooth_stone:"stone",smooth_sandstone:"stone",smooth_quartz:"stone",smooth_red_sandstone:"stone",oak_planks:"wood",spruce_planks:"wood",birch_planks:"wood",jungle_planks:"wood",acacia_planks:"wood",dark_oak_planks:"wood",crimson_planks:"wood",warped_planks:"wood",oak_log:"wood",spruce_log:"wood",birch_log:"wood",jungle_log:"wood",acacia_log:"wood",dark_oak_log:"wood",crimson_stem:"stem",warped_stem:"stem",iron_block:"metal",gold_block:"metal",copper_block:"copper",exposed_copper:"copper",weathered_copper:"copper",oxidized_copper:"copper",netherite_block:"netherite_block",ancient_debris:"ancient_debris",lodestone:"lodestone",chain:"chain",anvil:"anvil",chipped_anvil:"anvil",damaged_anvil:"anvil",glass:"glass",glass_pane:"glass",white_stained_glass:"glass",orange_stained_glass:"glass",magenta_stained_glass:"glass",light_blue_stained_glass:"glass",yellow_stained_glass:"glass",lime_stained_glass:"glass",pink_stained_glass:"glass",gray_stained_glass:"glass",light_gray_stained_glass:"glass",cyan_stained_glass:"glass",purple_stained_glass:"glass",blue_stained_glass:"glass",brown_stained_glass:"glass",green_stained_glass:"glass",red_stained_glass:"glass",black_stained_glass:"glass",tinted_glass:"glass",white_wool:"wool",orange_wool:"wool",magenta_wool:"wool",light_blue_wool:"wool",yellow_wool:"wool",lime_wool:"wool",pink_wool:"wool",gray_wool:"wool",light_gray_wool:"wool",cyan_wool:"wool",purple_wool:"wool",blue_wool:"wool",brown_wool:"wool",green_wool:"wool",red_wool:"wool",black_wool:"wool",netherrack:"netherrack",
1nether_bricks:"nether_bricks",red_nether_bricks:"nether_bricks",nether_wart_block:"wart_block",warped_wart_block:"wart_block",soul_sand:"soul_sand",soul_soil:"soul_soil",basalt:"basalt",polished_basalt:"basalt",blackstone:"gilded_blackstone",gilded_blackstone:"gilded_blackstone",amethyst_block:"amethyst_block",amethyst_cluster:"amethyst_cluster",large_amethyst_bud:"large_amethyst_bud",medium_amethyst_bud:"medium_amethyst_bud",small_amethyst_bud:"small_amethyst_bud",sand:"sand",red_sand:"sand",gravel:"gravel",snow:"snow",snow_block:"snow",powder_snow:"powder_snow",ice:"glass",packed_ice:"glass",blue_ice:"glass",slime_block:"slime_block",honey_block:"honey_block",scaffolding:"scaffolding",ladder:"ladder",lantern:"lantern",soul_lantern:"lantern",pointed_dripstone:"pointed_dripstone",dripstone_block:"dripstone_block",sculk_sensor:"sculk_sensor",shroomlight:"shroomlight"};n(58819),n(45768);var customSoundSystem=function(){bot._client.on("named_sound_effect",function(e){if(p.YM.remoteSoundsSupport){var t=e.soundName,n={},r=/\(({.*})\)$/.exec(t);if(r)try{n=JSON.parse(r[1]),t=t.slice(0,-r[0].length)}catch(e){console.warn("Failed to parse sound metadata:",r[1])}if(/^https?:/.test(t.replace("minecraft:",""))){var a=n.loadTimeout,o=n.loop;(0,h._y)(t,e.volume,a,o)}}}),bot._client.on("stop_sound",function(e){var t=e.flags,n=(e.source,e.sound);0===t?(0,h.YR)():n&&(0,h.Ap)(n)}),bot.on("end",function(){(0,h.YR)()})};customEvents.on("mineflayerBotCreated",function(){customSoundSystem()});var x=(r=(0,i._)(function(){var e,t;return(0,s.Jh)(this,function(n){switch(n.label){case 0:if(!o)return[2];return t=o.updateActiveResourcePackBasePath,[4,(0,M.dd)()];case 1:return t.apply(o,[null!=(e=n.sent())?e:void 0]),[2]}})}),function(){return r.apply(this,arguments)}),k=null;(0,d.VW)(w.N_,"gameLoaded",(0,i._)(function(){var e,t,n,r,a,u;function startMusicSystem(){k||(k=setInterval(function(){n()},1e4))}function stopMusicSystem(){k&&(clearInterval(k),k=null)}return(0,s.Jh)(this,function(d){var v,y,A,b,_,L,j,D,k,T;if(!w.N_.gameLoaded)return stopMusicSystem(),null==o||o.quit(),[2];if(console.log("Loading sounds for version ".concat(bot.version,". Resourcepack state: ").concat(JSON.stringify(M.E3))),o=null!=(e=createSoundMap(bot.version))?e:void 0,globalThis.soundMap=o,!o)return[2];return o.noVersionIdMapping&&(0,g.c0)("No exact sound ID mappings for this version",void 0,!1,m.K["warning-box"]),x(),startMusicSystem(),v=(0,i._)(function(e,t){var n,r,a,i,l,c,u,d,w,M,g=arguments;return(0,s.Jh)(this,function(s){switch(s.label){case 0:if(n=g.length>2&&void 0!==g[2]?g[2]:1,r=g.length>3?g[3]:void 0,!p.YM.volume||!o)return[2];return[4,o.getSoundUrl(e,n)];case 1:if(!(a=s.sent()))return[2];if(i=p.YM.mutedSounds.includes(e)||0===p.YM.volume,!t)return[3,2];return i||null==(c=appViewer.backend)||null==(l=c.soundSystem)||l.playSound(t,a.url,a.volume,Math.max(Math.min(null!=r?r:1,2),.5),null!=(u=a.timeout)?u:p.YM.remoteSoundsLoadTimeout,a.attenuationDistance),64>getDistance(bot.entity.position,t)&&(null!=(d=N.lastServerPlayed)[w=e]||(d[w]={count:0,last:0}),N.lastServerPlayed[e].count++,N.lastServerPlayed[e].last=Date.now()),[3,5];case 2:if(i)return[3,4];return[4,(0,h._y)(a.url,n)];case 3:s.sent(),s.label=4;case 4:N.lastClientPlayed.push(e),N.lastClientPlayed.length>10&&N.lastClientPlayed.shift(),s.label=5;case 5:return[2]}})}),t=function(e,t){return v.apply(this,arguments)},y=(0,i._)(function(){var e,t,n,r,a=arguments;return(0,s.Jh)(this,function(i){switch(i.label){case 0:if(e=a.length>0&&void 0!==a[0]&&a[0],!o||!bot||!p.YM.enableMusic&&!e||Math.random()>.3&&!e)return[2];return t=["music.game"],"creative"===bot.game.gameMode&&t.push("music.creative"),n=t[Math.floor(Math.random()*t.length)],[4,o.getSoundUrl(n)];case 1:if(!(r=i.sent())||!o)return[2];return[4,C.playMusic(r.url,r.volume)];case 2:return i.sent(),[2]}})}),n=function(){return y.apply(this,arguments)},window.forceStartMusic=function(){n(!0)},A=(0,i._)(function(e,n){var r=arguments;return(0,s.Jh)(this,function(a){switch(a.label){case 0:return[4,t(e,n,r.length>2&&void 0!==r[2]?r[2]:1,r.length>3?r[3]:void 0)];case 1:return a.sent(),[2]}})}),r=function(e,t){return A.apply(this,arguments)},bot.on("soundEffectHeard",(b=(0,i._)(function(e,t,n,a){return(0,s.Jh)(this,function(o){switch(o.label){case 0:if(/^https?:/.test(e.replace("minecraft:","")))return[2];return[4,r(e,t,n,a)];case 1:return o.sent(),[2]}})}),function(e,t,n,r){return b.apply(this,arguments)})),bot._client.on("sound_effect",(_=(0,i._)(function(e){var n,a,i,u,d;return(0,s.Jh)(this,function(s){switch(s.label){case 0:if(a=(0,c.Uo)(bot.ver
1sion)<(0,c.Uo)("1.19.3"),i=null==(n=e.soundEvent)?void 0:n.resource,u=new l.Vec3(e.x/8,e.y/8,e.z/8),!(0!==e.soundId||!i))return[3,2];if(void 0===(d=o.soundsIdToName[e.soundId-+!a]))return[2];return[4,t(d,u,e.volume,e.pitch)];case 1:case 3:return s.sent(),[2];case 2:return[4,r(i.replace("minecraft:",""),u,e.volume,e.pitch)]}})}),function(e){return _.apply(this,arguments)})),bot.on("entityHurt",(L=(0,i._)(function(e){return(0,s.Jh)(this,function(t){switch(t.label){case 0:if(e.id!==bot.entity.id)return[3,2];return[4,r("entity.player.hurt")];case 1:t.sent(),t.label=2;case 2:return[2]}})}),function(e){return L.apply(this,arguments)})),a=0,j=(0,i._)(function(){var e,t,n,i,l,c;return(0,s.Jh)(this,function(s){switch(s.label){case 0:if(!bot.entity||!o||"spectator"===appViewer.playerState.reactive.gameMode)return[2];if(t=(e=bot.entity.velocity).x,n=e.z,e.y,!(bot.entity.onGround&&(Math.abs(t)>.1||Math.abs(n)>.1))||(i=Math.abs(t)>.15||Math.abs(n)>.15,!(Date.now()-a>(i?100:300))||!(l=bot.world.getBlock(bot.entity.position.offset(0,-1,0)))||!(c=o.getStepSound(l.name))))return[3,2];return[4,r(c,void 0,.6)];case 1:s.sent(),a=Date.now(),s.label=2;case 2:return[2]}})}),D=(0,i._)(function(e,t){return(0,s.Jh)(this,function(n){switch(n.label){case 0:if(!o)return[2];return[4,r(o.getBreakSound(e),t,.6,1)];case 1:return n.sent(),[2]}})}),u=function(e,t){return D.apply(this,arguments)},bot.on("move",function(){!function(){j.apply(this,arguments)}()}),bot._client.on("world_event",(k=(0,i._)(function(e){var t,n,a,o;return(0,s.Jh)(this,function(i){switch(i.label){case 0:if(t=e.effectId,n=e.location,a=e.data,o=e.global?void 0:new l.Vec3(n.x,n.y,n.z),2001!==t)return[3,2];return[4,u(loadedData.blocksByStateId[a].name,o)];case 1:i.sent(),i.label=2;case 2:if(2002!==t&&2003!==t&&2007!==t)return[3,4];return[4,r("block.glass.break",o,1,1)];case 3:i.sent(),i.label=4;case 4:if(1004!==t)return[3,6];return[4,r("entity.firework_rocket.launch",o,1,1)];case 5:i.sent(),i.label=6;case 6:if(1006!==t&&1007!==t&&1014!==t)return[3,8];return[4,r("block.wooden_door.open",o,1,1)];case 7:i.sent(),i.label=8;case 8:if(1002!==t)return[3,10];return[4,r("block.dispenser.dispense",o,1,1)];case 9:i.sent(),i.label=10;case 10:if(1024!==t)return[3,12];return[4,r("entity.wither.shoot",o,1,1)];case 11:i.sent(),i.label=12;case 12:if(1031!==t)return[3,14];return[4,r("block.anvil.land",o,1,1)];case 13:i.sent(),i.label=14;case 14:return 1010===t&&console.log("play record",a),[2]}})}),function(e){return k.apply(this,arguments)})),T=null,customEvents.on("digStart",function(){T=bot.blockAtCursor(5)}),bot.on("diggingCompleted",(0,i._)(function(){return(0,s.Jh)(this,function(e){switch(e.label){case 0:if(!T)return[3,2];return[4,u(T.name,T.position)];case 1:e.sent(),e.label=2;case 2:return[2]}})})),[2]})})),(0,d.VW)(w.N_,"gameLoaded",function(){var buildFloorMap=function(e,t,n){for(var r=[],a=-2;a<=2;a++)for(var o=-2;o<=2;o++){for(var i=e+o,s=n+a,c=t-20,u=t;u>=t-20;u--)try{var d=bot.world.getBlock(new l.Vec3(i,u,s));if(d&&"block"===d.boundingBox){c=u+1;break}}catch(e){break}r.push(c)}return r};if(w.N_.gameLoaded){var e=null;customEvents.on("digStart",function(){e=bot.blockAtCursor(5)}),bot.on("diggingCompleted",function(){if(e){var t,n,r,a=e.position,o=buildFloorMap(a.x,a.y,a.z),i=null!=(r=null==(t=e.biome)?void 0:t.name)?r:"plains";null==(n=(0,u.z)())||n.spawnBlockBreakParticles(a.x,a.y,a.z,e.name,o,i)}}),bot._client.on("world_event",function(e){var t=e.effectId,n=e.location,r=e.data,a=e.global;if(2001===t&&!a){var o=loadedData.blocksByStateId[r];if(o){var i=Math.floor(n.x),s=Math.floor(n.y),c=Math.floor(n.z),d=buildFloorMap(i,s,c),w="plains";try{var p,h,M,g=bot.world.getBlock(new l.Vec3(i,s,c));w=null!=(M=null==g||null==(h=g.biome)?void 0:h.name)?M:"plains"}catch(e){}null==(p=(0,u.z)())||p.spawnBlockBreakParticles(i,s,c,o.name,d,w)}}}),bot.on("blockBreakProgressStage",function(e,t){if(null!==t){var n,r,a,o,i=e.position,s=null!=(a=e.face)?a:1,l=buildFloorMap(i.x,i.y,i.z),c=null!=(o=null==(n=e.biome)?void 0:n.name)?o:"plains";null==(r=(0,u.z)())||r.spawnBlockCrackParticle(i.x,i.y,i.z,s,e.name,l,c)}})}}),(0,d.VW)(M.E3,"resourcePackInstalled",(0,i._)(function(){return(0,s.Jh)(this,function(e){switch(e.label){case 0:return[4,x()];case 1:return e.sent(),[2]}})}));var T=(a=(0,i._)(function(){return(0,s.Jh)(this,function(e){switch(e.label){case 0:if(window.allSoundsMap)return[3,4];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,(0,c.ve)("./sounds.js")];case 2:return e.sent(),[3,4];case 3:return e.sent(),console.warn("Sounds map was not generated. Sounds will not be played."),[3,4];case 4:return[2]}})}),function(){return a.apply(this,arguments)}),N={lastClientPlayed:[],lastServerPlayed:{}},getDistance=function(e,t){return Math.hypot(e.x-t.x,e.y-t.y,e.z-t.z)}},28350:function(e,t,n){"use strict";n.d(t,{x:()=>isCypress});var isCypress=function(){return"true"===localStorage.cypress}},55920:function(e,t,n){"use strict";n.d(t,{S3:()=>l,Uo:()=>versionToNumber,ZP:()=>u,iD:()=>s});var r=n(59240);n(25113),n(34396),n(20516),n(7611),n(65340),n(2850),n(95790),n(83902),n(79653),n(96220),n(90804),n(24705),n(53346),n(74822),n(72558),n(97983),n(86070);var a=n(5444),o=/^(?!1\.).*$/,i=Object.values(a.postNettyVersionsByProtocolVersion.pc).flat().filter(function(e){return!o.test(e.minecraftVersion)}).map(function(e){return e.minecraftVersion}),s="1.21.1000",l="1.21.7",versionToNumber=function(e){var t=(0,r._)(e.split("."),3),n=t[0],a=t[1],o=t[2];return+"".concat(n.padStart(2,"0")).concat((void 0===a?"0":a).padStart(2,"0")).concat((void 0===o?"0":o).padStart(2,"0"))},c=versionToNumber(s);let u=i.filter(function(e){return!("1.7"===e||e.startsWith("1.7."))&&versionToNumber(e)<c}
1)},5969:function(e,t,n){"use strict";n.d(t,{AB:()=>toMajorVersion,Ee:()=>isInRealGameSession,G:()=>openGithub,IO:()=>isMajorVersionGreater,O1:()=>m,P_:()=>reportWarningOnce,Tb:()=>inGameError,bt:()=>p,iG:()=>getScreenRefreshRate,kl:()=>haveDirectoryPicker,lt:()=>h,qy:()=>g});var r,a,o,i=n(14772),s=n(59240),l=n(9787);n(59045),n(60080),n(56070),n(83902),n(74822),n(96220),n(72558),n(81812),n(58207),n(52307),n(8416),n(93118),n(82766),n(37151),n(20142),n(89909),n(24578),n(89437),n(802),n(52895),n(46525),n(83930),n(18369),n(41494),n(66616),n(39222),n(83282),n(59237),n(60353),n(40332),n(72040),n(52768),n(2249),n(96573),n(94244),n(42050);var c=n(40451),u=n(30367),d=n(13062),w=n(48747),p=(r=(0,i._)(function(){var e,t,n,r=arguments;return(0,l.Jh)(this,function(a){switch(a.label){case 0:if(e=r.length>0&&void 0!==r[0]&&r[0],document.fullscreenElement)return[3,3];return[4,document.documentElement.requestFullscreen().catch(function(){})];case 1:return a.sent(),[4,null==(n=navigator.keyboard)||null==(t=n.lock)?void 0:t.call(n,["Escape","KeyW"])];case 2:return a.sent(),[3,5];case 3:if(!e)return[3,5];return[4,document.exitFullscreen().catch(function(){})];case 4:a.sent(),a.label=5;case 5:return[2]}})}),function(){return r.apply(this,arguments)}),inGameError=function(e){var t,n;console.error(e),null==(t=(n=window).reportError)||t.call(n,e),c.N_.hasErrors=!0},h={get hasPointerLock(){return document.pointerLockElement},justHitEscape:!1,requestPointerLock:function(){var e=this;return(0,i._)(function(){var t,n;return(0,l.Jh)(this,function(r){return(0,c.z7)(!0)&&document.documentElement.requestPointerLock&&!c.N_.currentTouch&&(u.YM.autoFullScreen&&p(),t=function(){d.h.captureMouseHint=!0},!(document.fullscreenElement&&navigator.keyboard)&&e.justHitEscape?t():null==(n=document.documentElement.requestPointerLock({unadjustedMovement:u.YM.mouseRawInput}))||n.catch(function(e){"NotSupportedError"===e.name?document.documentElement.requestPointerLock():"SecurityError"===e.name?t():(t(),console.warn("Failed to request pointer lock:",e))}),e.justHitEscape=!1),[2]})})()}},isInRealGameSession=function(){return(0,c.z7)(!0)&&(!w.P.isOpen||w.P.isMinimized)&&!c.rl.viewerConnection};function getScreenRefreshRate(){return _getScreenRefreshRate.apply(this,arguments)}function _getScreenRefreshRate(){return(_getScreenRefreshRate=(0,i._)(function(){var e,t,n,r,a;return(0,l.Jh)(this,function(o){return e=null,t=!1,r=[],a=function(o){if(r.unshift(o),r.length>10){var i=Math.floor(1e4/(o-r.pop()));(!t||i>1e3)&&n(Math.min(i,1e3)),t=!0}e=window.requestAnimationFrame(a)},window.requestAnimationFrame(a),window.setTimeout(function(){window.cancelAnimationFrame(e),e=null,n(0)},500),[2,new Promise(function(e){n=e})]})})).apply(this,arguments)}window.getScreenRefreshRate=getScreenRefreshRate;var isMajorVersionGreater=function(e,t){var n=(0,s._)(e.split("."),2),r=n[0],a=n[1],o=(0,s._)(t.split("."),2),i=o[0],l=o[1];return+r>+i||+r==+i&&+a>+l},toMajorVersion=function(e){var t=(0,s._)(String(e).split("."),2),n=t[0],r=t[1];return"".concat(n,".").concat(r)},M=(u.YM.renderDistance,function(){assertDefined(appViewer.worldView);var e,t=u.YM.renderDistance,n=c.N_.singleplayer&&0===t;n&&(t=1),bot.setSettings({viewDistance:t}),n&&(localServer.players[0].view=0,t=0),null==(e=appViewer.worldView)||e.updateViewDistance(t)}),g=(a=(0,i._)(function(){return(0,l.Jh)(this,function(e){switch(e.label){case 0:if(!bot||!appViewer.worldView)return[2];return M(),[4,appViewer.worldView.updatePosition(bot.entity.position,!0)];case 1:return e.sent(),[2]}})}),function(){return a.apply(this,arguments)}),openGithub=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";window.open("".concat("https://github.com/zardoy/minecraft-web-client".replace(/\/$/,"")).concat(e),"_blank")},m=(o=(0,i._)(function(e){var t,n=arguments;return(0,l.Jh)(this,function(r){return t=n.length>1&&void 0!==n[1]?n[1]:1e4,[2,new Promise(function(n,r){e.then(n,r),setTimeout(function(){r(Error("timeout"))},t)})]})}),function(e){return o.apply(this,arguments)});function assertDefined(e){if(!e)throw Error("Assertion failed. Something is not available")}var haveDirectoryPicker=function(){return!!window.showDirectoryPicker},v=new Set,reportWarningOnce=function(e,t){v.has(e)||(v.add(e),console.warn(t))}},66460:function(e){"use strict";e.exports=sharp},8403:function(){},62164:function(){},89680:function(){},80475:function(){},68171:function(){},4039:function(){},37825:function(){},84404:function(){},11706:function(){},29709:function(e){"use strict";e.exports=JSON.parse('{"blocks":{"0:0":"air","1:0":"stone","1:1":"granite","1:2":"polished_granite","1:3":"diorite","1:4":"polished_diorite","1:5":"andesite","1:6":"polished_andesite","2:0":"grass_block[snowy=false]","3:0":"dirt","3:1":"coarse_dirt","3:2":"podzol[snowy=false]","4:0":"cobblestone","5:0":"oak_planks","5:1":"spruce_planks","5:2":"birch_planks","5:3":"jungle_planks","5:4":"acacia_planks","5:5":"dark_oak_planks","6:0":"oak_sapling[stage=0]","6:1":"spruce_sapling[stage=0]","6:2":"birch_sapling[stage=0]","6:3":"jungle_sapling[stage=0]","6:4":"acacia_sapling[stage=0]","6:
15":"dark_oak_sapling[stage=0]","6:8":"oak_sapling[stage=1]","6:9":"spruce_sapling[stage=1]","6:10":"birch_sapling[stage=1]","6:11":"jungle_sapling[stage=1]","6:12":"acacia_sapling[stage=1]","6:13":"dark_oak_sapling[stage=1]","7:0":"bedrock","8:0":"water[level=0]","8:1":"water[level=1]","8:2":"water[level=2]","8:3":"water[level=3]","8:4":"water[level=4]","8:5":"water[level=5]","8:6":"water[level=6]","8:7":"water[level=7]","8:8":"water[level=8]","8:9":"water[level=9]","8:10":"water[level=10]","8:11":"water[level=11]","8:12":"water[level=12]","8:13":"water[level=13]","8:14":"water[level=14]","8:15":"water[level=15]","9:0":"water[level=0]","9:1":"water[level=1]","9:2":"water[level=2]","9:3":"water[level=3]","9:4":"water[level=4]","9:5":"water[level=5]","9:6":"water[level=6]","9:7":"water[level=7]","9:8":"water[level=8]","9:9":"water[level=9]","9:10":"water[level=10]","9:11":"water[level=11]","9:12":"water[level=12]","9:13":"water[level=13]","9:14":"water[level=14]","9:15":"water[level=15]","10:0":"lava[level=0]","10:1":"lava[level=1]","10:2":"lava[level=2]","10:3"
1:"lava[level=3]","10:4":"lava[level=4]","10:5":"lava[level=5]","10:6":"lava[level=6]","10:7":"lava[level=7]","10:8":"lava[level=8]","10:9":"lava[level=9]","10:10":"lava[level=10]","10:11":"lava[level=11]","10:12":"lava[level=12]","10:13":"lava[level=13]","10:14":"lava[level=14]","10:15":"lava[level=15]","11:0":"lava[level=0]","11:1":"lava[level=1]","11:2":"lava[level=2]","11:3":"lava[level=3]","11:4":"lava[level=4]","11:5":"lava[level=5]","11:6":"lava[level=6]","11:7":"lava[level=7]","11:8":"lava[level=8]","11:9":"lava[level=9]","11:10":"lava[level=10]","11:11":"lava[level=11]","11:12":"lava[level=12]","11:13":"lava[level=13]","11:14":"lava[level=14]","11:15":"lava[level=15]","12:0":"sand","12:1":"red_sand","13:0":"gravel","14:0":"gold_ore","15:0":"iron_ore","16:0":"coal_ore","17:0":"oak_log[axis=y]","17:1":"spruce_log[axis=y]","17:2":"birch_log[axis=y]","17:3":"jungle_log[axis=y]","17:4":"oak_log[axis=x]","17:5":"spruce_log[axis=x]","17:6":"birch_log[axis=x]","17:7":"jungle_log[axis=x]","17:8":"oak_log[axis=z]","17:9":"spruce_log[axis=z]","17:10":"birch_log[axis=z]","17:11":"jungle_log[axis=z]","17:12":"oak_bark","17:13":"spruce_bark","17:14":"birch_bark","17:15":"jungle_bark","18:0":"oak_leaves[check_decay=false,decayable=true]","18:1":"spruce_leaves[check_decay=false,decayable=true]","18:2":"birch_leaves[check_decay=false,decayable=true]","18:3":"jungle_leaves[check_decay=false,decayable=true]","18:4":"oak_leaves[check_decay=false,decayable=false]","18:5":"spruce_leaves[check_decay=false,decayable=false]","18:6":"birch_leaves[check_decay=false,decayable=false]","18:7":"jungle_leaves[check_decay=false,decayable=false]","18:8":"oak_leaves[check_decay=true,decayable=true]","18:9":"spruce_leaves[check_decay=true,decayable=true]","18:10":"birch_leaves[check_decay=true,decayable=true]","18:11":"jungle_leaves[check_decay=true,decayable=true]","18:12":"oak_leaves[check_decay=true,decayable=false]","18:13":"spruce_leaves[check_decay=true,decayable=false]","18:14":"birch_leaves[check_decay=true,decayable=false]","18:15":"jungle_leaves[check_decay=true,decayable=false]","19:0":"sponge","19:1":"wet_sponge","20:0":"glass","21:0":"lapis_ore","22:0":"lapis_block","23:0":"dispenser[facing=down,triggered=false]","23:1":"dispenser[facing=up,triggered=false]","23:2":"dispenser[facing=north,triggered=false]","23:3":"dispenser[facing=south,triggered=false]","23:4":"dispenser[facing=west,triggered=false]","23:5":"dispenser[facing=east,triggered=false]","23:8":"dispenser[facing=down,triggered=true]","23:9":"dispenser[facing=up,triggered=true]","23:10":"dispenser[facing=north,triggered=true]","23:11":"dispenser[facing=south,triggered=true]","23:12":"dispenser[facing=west,triggered=true]","23:13":"dispenser[facing=east,triggered=true]","24:0":"sandstone","24:1":"chiseled_sandstone","24:2":"cut_sandstone","25:0":"note_block","26:0":"red_bed[facing=south,occupied=false,part=foot]","26:1":"red_bed[facing=west,occupied=false,part=foot]","26:2":"red_bed[facing=north,occupied=false,part=foot]","26:3":"red_bed[facing=east,occupied=false,part=foot]","26:8":"red_bed[facing=south,occupied=false,part=head]","26:9":"red_bed[facing=west,occupied=false,part=head]","26:10":"red_bed[facing=north,occupied=false,part=head]","26:11":"red_bed[facing=east,occupied=false,part=head]","26:12":"red_bed[facing=south,occupied=true,part=head]","26:13":"red_bed[facing=west,occupied=true,part=head]","26:14":"red_bed[facing=north,occupied=true,part=head]","26:15":"red_bed[facing=east,occupied=true,part=head]","27:0":"powered_rail[powered=false,shape=north_south]","27:1":"powered_rail[powered=false,shape=east_west]","27:2":"powered_rail[powered=false,shape=ascending_east]","27:3":"powered_rail[powered=false,shape=ascending_west]","27:4":"powered_rail[powered=false,shape=ascending_north]","27:5":"powered_rail[powered=false,shape=ascending_south]","27:8":"powered_rail[powered=true,shape=north_south]","27:9":"powered_rail[powered=true,shape=east_west]","27:10":"powered_rail[powered=true,shape=ascending_east]","27:11":"powered_rail[powered=true,shape=ascending_west]","27:12":"powered_rail[powered=true,shape=ascending_north]","27:13":"powered_rail[powered=true,shape=ascending_south]","28:0":"detector_rail[powered=false,shape=north_south]","28:1":"detector_rail[powered=false,shape=east_west]","28:2":"detector_rail[powered=false,shape=ascending_east]","28:3":"detector_rail[powered=false,shape=ascending_west]","28:4":"detector_rail[powered=false,shape=ascending_north]","28:5":"detector_rail[powered=false,shape=ascending_south]","28:8":"detector_rail[powered=true,shape=north_south]","28:9":"detector_rail[powered=true,shape=east_west]","28:10":"detector_rail[powered=true,shape=ascending_east]","28:11":"detector_rail[powered=true,shape=ascending_west]","28:12":"detector_rail[powered=true,shape=ascending_north]","28:13":"detector_rail[powered=true,shape=ascending_south]","29:0":"sticky_piston[extended=false,facing=down]","29:1":"sticky_piston[extended=false,facing=up]","29:2":"sticky_piston[extended=false,facing=north]","29:3":"sticky_piston[extended=false,facing=south]","29:4":"sticky_piston[extended=false,facing=west]","29:5":"sticky_piston[extended=false,facing=east]","29:8":"sticky_piston[extended=true,facing=down]","29:9"
1:"sticky_piston[extended=true,facing=up]","29:10":"sticky_piston[extended=true,facing=north]","29:11":"sticky_piston[extended=true,facing=south]","29:12":"sticky_piston[extended=true,facing=west]","29:13":"sticky_piston[extended=true,facing=east]","30:0":"cobweb","31:0":"dead_bush","31:1":"grass","31:2":"fern","32:0":"dead_bush","33:0":"piston[extended=false,facing=down]","33:1":"piston[extended=false,facing=up]","33:2":"piston[extended=false,facing=north]","33:3":"piston[extended=false,facing=south]","33:4":"piston[extended=false,facing=west]","33:5":"piston[extended=false,facing=east]","33:8":"piston[extended=true,facing=down]","33:9":"piston[extended=true,facing=up]","33:10":"piston[extended=true,facing=north]","33:11":"piston[extended=true,facing=south]","33:12":"piston[extended=true,facing=west]","33:13":"piston[extended=true,facing=east]","34:0":"piston_head[facing=down,short=false,type=normal]","34:1":"piston_head[facing=up,short=false,type=normal]","34:2":"piston_head[facing=north,short=false,type=normal]","34:3":"piston_head[facing=south,short=false,type=normal]","34:4":"piston_head[facing=west,short=false,type=normal]","34:5":"piston_head[facing=east,short=false,type=normal]","34:8":"piston_head[facing=down,short=false,type=sticky]","34:9":"piston_head[facing=up,short=false,type=sticky]","34:10":"piston_head[facing=north,short=false,type=sticky]","34:11":"piston_head[facing=south,short=false,type=sticky]","34:12":"piston_head[facing=west,short=false,type=sticky]","34:13":"piston_head[facing=east,short=false,type=sticky]","35:0":"white_wool","35:1":"orange_wool","35:2":"magenta_wool","35:3":"light_blue_wool","35:4":"yellow_wool","35:5":"lime_wool","35:6":"pink_wool","35:7":"gray_wool","35:8":"light_gray_wool","35:9":"cyan_wool","35:10":"purple_wool","35:11":"blue_wool","35:12":"brown_wool","35:13":"green_wool","35:14":"red_wool","35:15":"black_wool","36:0":"moving_piston[facing=down,type=normal]","36:1":"moving_piston[facing=up,type=normal]","36:2":"mov
1ing_piston[facing=north,type=normal]","36:3":"moving_piston[facing=south,type=normal]","36:4":"moving_piston[facing=west,type=normal]","36:5":"moving_piston[facing=east,type=normal]","36:8":"moving_piston[facing=down,type=sticky]","36:9":"moving_piston[facing=up,type=sticky]","36:10":"moving_piston[facing=north,type=sticky]","36:11":"moving_piston[facing=south,type=sticky]","36:12":"moving_piston[facing=west,type=sticky]","36:13":"moving_piston[facing=east,type=sticky]","37:0":"dandelion","38:0":"poppy","38:1":"blue_orchid","38:2":"allium","38:3":"azure_bluet","38:4":"red_tulip","38:5":"orange_tulip","38:6":"white_tulip","38:7":"pink_tulip","38:8":"oxeye_daisy","39:0":"brown_mushroom","40:0":"red_mushroom","41:0":"gold_block","42:0":"iron_block","43:0":"stone_slab[type=double]","43:1":"sandstone_slab[type=double]","43:2":"petrified_oak_slab[type=double]","43:3":"cobblestone_slab[type=double]","43:4":"brick_slab[type=double]","43:5":"stone_brick_slab[type=double]","43:6":"nether_brick_slab[type=double]","43:7":"quartz_slab[type=double]","43:8":"smooth_stone","43:9":"smooth_sandstone","43:10":"petrified_oak_slab[type=double]","43:11":"cobblestone_slab[type=double]","43:12":"brick_slab[type=double]","43:13":"stone_brick_slab[type=double]","43:14":"nether_brick_slab[type=double]","43:15":"smooth_quartz","44:0":"stone_slab[type=bottom]","44:1":"sandstone_slab[type=bottom]","44:2":"petrified_oak_slab[type=bottom]","44:3":"cobblestone_slab[type=bottom]","44:4":"brick_slab[type=bottom]","44:5":"stone_brick_slab[type=bottom]","44:6":"nether_brick_slab[type=bottom]","44:7":"quartz_slab[type=bottom]","44:8":"stone_slab[type=top]","44:9":"sandstone_slab[type=top]","44:10":"petrified_oak_slab[type=top]","44:11":"cobblestone_slab[type=top]","44:12":"brick_slab[type=top]","44:13":"stone_brick_slab[type=top]","44:14":"nether_brick_slab[type=top]","44:15":"quartz_slab[type=top]","45:0":"bricks","46:0":"tnt[unstable=false]","46:1":"tnt[unstable=true]","47:0":"bookshelf","48:0":"mossy_cobblestone","49:0":"obsidian","50:1":"wall_torch[facing=east]","50:2":"wall_torch[facing=west]","50:3":"wall_torch[facing=south]","50:4":"wall_torch[facing=north]","50:5":"torch","51:0":"fire[age=0,east=false,north=false,south=false,up=false,west=false]","51:1":"fire[age=1,east=false,north=false,south=false,up=false,west=false]","51:2":"fire[age=2,east=false,north=false,south=false,up=false,west=false]","51:3":"fire[age=3,east=false,north=false,south=false,up=false,west=false]","51:4":"fire[age=4,east=false,north=false,south=false,up=false,west=false]","51:5":"fire[age=5,east=false,north=false,south=false,up=false,west=false]","51:6":"fire[age=6,east=false,north=false,south=false,up=false,west=false]","51:7":"fire[age=7,east=false,north=false,south=false,up=false,west=false]","51:8":"fire[age=8,east=false,north=false,south=false,up=false,west=false]","51:9":"fire[age=9,east=false,north=false,south=false,up=false,west=false]","51:10":"fire[age=10,east=false,north=false,south=false,up=false,west=false]","51:11":"fire[age=11,east=false,north=false,south=false,up=false,west=false]","51:12":"fire[age=12,east=false,north=false,south=false,up=false,west=false]","51:13":"fire[age=13,east=false,north=false,south=false,up=false,west=false]","51:14":"fire[age=14,east=false,north=false,south=false,up=false,west=false]","51:15":"fire[age=15,east=false,north=false,south=false,up=false,west=false]","52:0":"mob_spawner","53:0":"oak_stairs[facing=east,half=bottom,shape=straight]","53:1":"oak_stairs[facing=west,half=bottom,shape=straight]","53:2":"oak_stairs[facing=south,half=bottom,shape=straight]","53:3":"oak_stairs[facing=north,half=bottom,shape=straight]","53:4":"oak_stairs[facing=east,half=top,shape=straight]","53:5":"oak_stairs[facing=west,half=top,shape=straight]","53:6":"oak_stairs[facing=south,half=top,shape=straight]","53:7":"oak_stairs[facing=north,half=top,shape=straight]","54:2":"chest[facing=north,type=single]","54:3":"chest[facing=south,type=single]","54:4":"chest[facing=west,type=single]","54:5":"chest[facing=east,type=single]","55:0":"redstone_wire[east=none,north=none,power=0,south=none,west=none]","55:1":"redstone_wire[east=none,north=none,power=1,south=none,west=none]","55:2":"redstone_wire[east=none,north=none,power=2,south=none,west=none]","55:3":"redstone_wire[east=none,north=none,power=3,s
1outh=none,west=none]","55:4":"redstone_wire[east=none,north=none,power=4,south=none,west=none]","55:5":"redstone_wire[east=none,north=none,power=5,south=none,west=none]","55:6":"redstone_wire[east=none,north=none,power=6,south=none,west=none]","55:7":"redstone_wire[east=none,north=none,power=7,south=none,west=none]","55:8":"redstone_wire[east=none,north=none,power=8,south=none,west=none]","55:9":"redstone_wire[east=none,north=none,power=9,south=none,west=none]","55:10":"redstone_wire[east=none,north=none,power=10,south=none,west=none]","55:11":"redstone_wire[east=none,north=none,power=11,south=none,west=none]","55:12":"redstone_wire[east=none,north=none,power=12,south=none,west=none]","55:13":"redstone_wire[east=none,north=none,power=13,south=none,west=none]","55:14":"redstone_wire[east=none,north=none,power=14,south=none,west=none]","55:15":"redstone_wire[east=none,north=none,power=15,south=none,west=none]","56:0":"diamond_ore","57:0":"diamond_block","58:0":"crafting_table","59:0":"wheat[age=0]","59:1":"wheat[age=1]","59:2":"wheat[age=2]","59:3":"wheat[age=3]","59:4":"wheat[age=4]","59:5":"wheat[age=5]","59:6":"wheat[age=6]","59:7":"wheat[age=7]","60:0":"farmland[moisture=0]","60:1":"farmland[moisture=1]","60:2":"farmland[moisture=2]","60:3":"farmland[moisture=3]","60:4":"farmland[moisture=4]","60:5":"farmland[moisture=5]","60:6":"farmland[moisture=6]","60:7":"farmland[moisture=7]","61:2":"furnace[facing=north,lit=false]","61:3":"furnace[facing=south,lit=false]","61:4":"furnace[facing=west,lit=false]","61:5":"furnace[facing=east,lit=false]","62:2":"furnace[facing=north,lit=true]","62:3":"furnace[facing=south,lit=true]","62:4":"furnace[facing=west,lit=true]","62:5":"furnace[facing=east,lit=true]","63:0":"sign[rotation=0]","63:1":"sign[rotation=1]","63:2":"sign[rotation=2]","63:3":"sign[rotation=3]","63:4":"sign[rotation=4]","63:5":"sign[rotation=5]","63:6":"sign[rotation=6]","63:7":"sign[rotation=7]","63:8":"sign[rotation=8]","63:9":"sign[rotation=9]","63:10":"sign[rotation=10]","63:11":"sign[rotation=11]","63:12":"sign[rotation=12]","63:13":"sign[rotation=13]","63:14":"sign[rotation=14]","63:15":"sign[rotation=15]","64:0":"oak_door[facing=east,half=lower,hinge=right,open=false,powered=false]","64:1":"oak_door[facing=south,half=lower,hinge=right,open=false,powered=false]","64:2":"oak_door[facing=west,half=lower,hinge=right,open=false,powered=false]","64:3":"oak_door[facing=north,half=lower,hinge=right,open=false,powered=false]","64:4":"oak_door[facing=east,half=lower,hinge=right,open=true,powered=false]","64:5":"oak_door[facing=south,half=lower,hinge=right,open=true,powered=false]","64:6":"oak_door[facing=west,half=lower,hinge=right,open=true,powered=false]","64:7":"oak_door[facing=north,half=lower,hinge=right,open=true,powered=false]","64:8":"oak_door[facing=east,half=upper,hinge=left,open=false,powered=false]","64:9":"oak_door[facing=east,half=upper,hinge=right,open=false,powered=false]","64:10":"oak_door[facing=east,half=upper,hinge=left,open=false,powered=true]","64:11":"oak_door[facing=east,half=upper,hinge=right,open=false,powered=true]","65:2":"ladder[facing=north]","65:3":"ladder[facing=south]","65:4":"ladder[facing=west]","65:5":"ladder[facing=east]","66:0":"rail[shape=north_south]","66:1":"rail[shape=east_west]","66:2":"rail[shape=ascending_east]","66:3":"rail[shape=ascending_west]","66:4":"rail[shape=ascending_north]","66:5":"rail[shape=ascending_south]","66:6":"rail[shape=south_east]","66:7":"rail[shape=south_west]","66:8":"rail[shape=north_west]","66:9":"rail[shape=north_east]","67:0":"cobblestone_stairs[facing=east,half=bottom,shape=straight]","67:1":"cobblestone_stairs[facing=west,half=bottom,shape=straight]","67:2":"cobblestone_stairs[facing=south,half=bottom,shape=straight]","67:3":"cobblestone_stairs[facing=north,half=bottom,shape=straight]","67:4":"cobblestone_stairs[facing=east,half=top,shape=straight]","67:5":"cobblestone_stairs[facing=west,half=top,shape=straight]","67:6":"cobblestone_stairs[facing=south,half=top,shape=straight]","67:7":"cobblestone_stairs[facing=north,half=top,shape=straight]","68:2":"wall_sign[facing=north]","68:3":"wall_sign[facing=south]","68:4":"wall_sign[facing=west]","68:5":"wall_sign[facing=east]","69:0":"lever[face=ceiling,facing=west,powered=false]","69:1":"lever[face=wall,facing=east,powered=false]","69:2":"lever[face=wall,facing=west,powered=false]","69:3":"lever[face=wall,facing=south,powered=false]","69:4":"lever[face=wall,facing=north,powered=false]","69:5":"lever[face=floor,facing=north,powered=false]","69:6":"lever[face=floor,facing=west,powered=false]","69:7":"lever[face=ceiling,facing=north,powered=false]","69:8":"lever[face=ceiling,facing=west,powered=true]","69:9":"lever[face=wall,facing=east,powered=true]","69:10":"lever[face=wall,facing=west,powered=true]","69:11":"lever[face=wall,facing=south,powered=true]","69:12":"lever[face=wall,facing=north,powered=true]","69:13":"lever[face=floor,facing=north,powered=true]","69:14":"lever[face=floor,facing=west,powered=true]","69:15":"lever[face=ceiling,facing=north,powered=true]","70:0":"stone_pressure_plate[powered=false]","70:1":"stone_pressure_plate[powered=true]","71:0":"iron_door[facing=east,half=lower,hinge=right,open=false,powered=false]","71:1":"iron_door[facing=south,half=lower,hinge=right,open=false,powered=false]","71:2":"iron_door[facing=west,half=lower,hinge=right,open=false,powered=false]","71:3":"iron_door[facing=north,half=lower,hinge=right,open=false,powered=false]","71:4":"iron_door[facing=east,half=lower,hinge=right,open=true,powered=false]","71:5":"iron_door[facing=south,half=lower,hinge=right,open=true,powered=false]","71:6":"iron_door[facing=west,half=lower,hinge=right,open=true,powered=false]","71:7":"iron_door[facing=north,half=lower,hinge=right,open=true,powered=false]","71:8":"iron_door[facing=east,half=upper,hinge=left,open=false,powered=false]","71:9":"iron_door[facing=east,half=upper,hinge=right,open=false,powered=false]","71:10":"iron_door[facing=east,half=upper,hinge=left,open=false,powered=true]","71:11":"iron_door[facing=east,half=upper,hinge=right,open=false,powered=true]","72:0":"oak_pressure_plate[powered=false]","72:1":"oak_pressure_plate[powered=true]","73:0":"redstone_ore[lit=false]","74:0":"redstone_ore[lit=true]","75:1":"redstone_wall_torch[facing=east,lit=false]","75:2":"redstone_wall_torch[facing=west,lit=false]","75:3":"redstone_wall_torch[facing=south,lit=false]","75:4":"redstone_wall_torch[facing=north,lit=false]","75:5":"redstone_torch[lit=false]","76:1":"redstone_wall_torch[facing=east,lit=true]","76:2":"redstone_wall_torch[facing=west,lit=true]","76:3":"redstone_wall_torch[facing=south,lit=true]","76:4":"redstone_wall_torch[facing=north,lit=true]","76:5":"redstone_torch[lit=true]","77:0":"stone_button[face=ceiling,facing=north,powered=false]","77:1":"stone_button[face=wall,facing=east,powered=false]","77:2":"stone_button[face=wall,facing=west,powered=false]","77:3":"stone_button[face=wall,facing=south,powered=false]","77:4":"stone_button[face=wall,facing=north,powered=false]","77:5":"stone_button[face=floor,facing=north,powered=false]","77:8"
1:"stone_button[face=ceiling,facing=north,powered=true]","77:9":"stone_button[face=wall,facing=east,powered=true]","77:10":"stone_button[face=wall,facing=west,powered=true]","77:11":"stone_button[face=wall,facing=south,powered=true]","77:12":"stone_button[face=wall,facing=north,powered=true]","77:13":"stone_button[face=floor,facing=north,powered=true]","78:0":"snow[layers=1]","78:1":"snow[layers=2]","78:2":"snow[layers=3]","78:3":"snow[layers=4]","78:4":"snow[layers=5]","78:5":"snow[layers=6]","78:6":"snow[layers=7]","78:7":"snow[layers=8]","79:0":"ice","80:0":"snow_block","81:0":"cactus[age=0]","81:1":"cactus[age=1]","81:2":"cactus[age=2]","81:3":"cactus[age=3]","81:4":"cactus[age=4]","81:5":"cactus[age=5]","81:6":"cactus[age=6]","81:7":"cactus[age=7]","81:8":"cactus[age=8]","81:9":"cactus[age=9]","81:10":"cactus[age=10]","81:11":"cactus[age=11]","81:12":"cactus[age=12]","81:13":"cactus[age=13]","81:14":"cactus[age=14]","81:15":"cactus[age=15]","82:0":"clay","83:0":"sugar_cane[age=0]","83:1":"sugar_cane[age=1]","83:2":"sugar_cane[age=2]","83:3":"sugar_cane[age=3]","83:4":"sugar_cane[age=4]","83:5":"sugar_cane[age=5]","83:6":"sugar_cane[age=6]","83:7":"sugar_cane[age=7]","83:8":"sugar_cane[age=8]","83:9":"sugar_cane[age=9]","83:10":"sugar_cane[age=10]","83:11":"sugar_cane[age=11]","83:12":"sugar_cane[age=12]","83:13":"sugar_cane[age=13]","83:14":"sugar_cane[age=14]","83:15":"sugar_cane[age=15]","84:0":"jukebox[has_record=false]","84:1":"jukebox[has_record=true]","85:0":"oak_fence[east=false,north=false,south=false,west=false]","86:0":"carved_pumpkin[facing=south]","86:1":"carved_pumpkin[facing=west]","86:2":"carved_pumpkin[facing=north]","86:3":"carved_pumpkin[facing=east]","87:0":"netherrack","88:0":"soul_sand","89:0":"glowstone","90:1":"portal[axis=x]","90:2":"portal[axis=z]","91:0":"jack_o_lantern[facing=south]","91:1":"jack_o_lantern[facing=west]","91:2":"jack_o_lantern[facing=north]","91:3":"jack_o_lantern[facing=east]","92:0":"cake[bites=0]","92:1":"cake[bites=1]","92:2":"cake[bites=2]","92:3":"cake[bites=3]","92:4":"cake[bites=4]","92:5":"cake[bites=5]","92:6":"cake[bites=6]","93:0":"repeater[delay=1,facing=south,locked=false,powered=false]","93:1":"repeater[delay=1,facing=west,locked=false,powered=false]","93:2":"repeater[delay=1,facing=north,locked=false,powered=false]","93:3":"repeater[delay=1,facing=east,locked=false,powered=false]","93:4":"repeater[delay=2,facing=south,locked=false,powered=false]","93:5":"repeater[delay=2,facing=west,locked=false,powered=false]","93:6":"repeater[delay=2,facing=north,locked=false,powered=false]","93:7":"repeater[delay=2,facing=east,locked=false,powered=false]","93:8":"repeater[delay=3,facing=south,locked=false,powered=false]","93:9":"repeater[delay=3,facing=west,locked=false,powered=false]","93:10":"repeater[delay=3,facing=north,locked=false,powered=false]","93:11":"repeater[delay=3,facing=east,locked=false,powered=false]","93:12":"repeater[delay=4,facing=south,locked=false,powered=false]","93:13":"repeater[delay=4,facing=west,locked=false,powered=false]","93:14":"repeater[delay=4,facing=north,locked=false,powered=false]","93:15":"repeater[delay=4,facing=east,locked=false,powered=false]","94:0":"repeater[delay=1,facing=south,locked=false,powered=true]","94:1":"repeater[delay=1,facing=west,locked=false,powered=true]","94:2":"repeater[delay=1,facing=north,locked=false,powered=true]","94:3":"repeater[delay=1,facing=east,locked=false,powered=true]","94:4":"repeater[delay=2,facing=south,locked=false,powered=true]","94:5":"repeater[delay=2,facing=west,locked=false,powered=true]","94:6":"repeater[delay=2,facing=north,locked=false,powered=true]","94:7":"repeater[delay=2,facing=east,locked=false,powered=true]","94:8":"repeater[delay=3,facing=south,locked=false,powered=true]","94:9":"repeater[delay=3,facing=west,locked=false,powered=true]","94:10":"repeater[delay=3,facing=north,locked=false,powered=true]","94:11":"repeater[delay=3,facing=east,locked=false,powered=true]","94:12":"repeater[delay=4,facing=south,locked=false,powered=true]","94:13":"repeater[delay=4,facing=west,locked=false,powered=true]","94:14":"repeater[delay=4,facing=north,locked=false,powered=true]","94:15":"repeater[delay=4,facing=east,locked=false,powered=true]","95:0":"white_stained_glass","95:1":"orange_stained_glass","95:2":"magenta_stained_glass","95:3":"light_blue_stained_glass","95:4":"yellow_stained_glass","95:5":"lime_stained_glass","95:6":"pink_stained_glass","95:7":"gray_stained_glass","95:8":"light_gray_stained_glass","95:9":"cyan_stained_glass","95:10":"purple_stained_glass","95:11":"blue_stained_glass","95:12":"brown_stained_glass","95:13":"green_stained_glass","95:14":"red_stained_glass","95:15":"black_stained_glass","96:0":"oak_trapdoor[facing=north,half=bottom,open=false]","96:1":"oak_trapdoor[facing=south,half=bottom,open=false]","96:2":"oak_trapdoor[facing=west,half=bottom,open=false]","96:3":"oak_trapdoor[facing=east,half=bottom,open=false]","96:4":"oak_trapdoor[facing=north,half=bottom,open=true]","96:5":"oak_trapdoor[facing=south,half=bottom,open=true]","96:6":"oak_trapdoor[facing=west,half=bottom,open=true]","96:7":"oak_trapdoor[facing=east,half=bottom,open=true]","96:8":"oak_trapdoor[facing=north,half=top,open=false]","96:9":"oak_trapdoor[facing=south,half=top,open=false]","96:10":"oak_trapdoor[facing=west,half=top,open=false]","96:11":"oak_trapdoor[facing=east,half=top,open=false]","96:12":"oak_trapdoor[facing=north,half=top,open=true]","96:13":"oak_trapdoor[facing=south,half=top,open=true]","96:14":"oak_trapdoor[facing=west,half=top,open=true]","96:15":"oak_trapdoor[facing=east,half=top,open=true]","97:0":"infested_stone","97:1":"infested_cobblestone","97:2":"infested_stone_bricks","97:3":"infested_mossy_stone_bricks","97:4":"infested_cracked_stone_bricks","97:5":"infested_chiseled_stone_bricks","98:0":"stone_bricks","98:1":"mossy_stone_bricks","98:2":"cracked_stone_bricks","98:3":"chiseled_stone_bricks","99:0":"brown_mushroom_block[north=false,east=false,south=false,west=false,up=false,down=false]","99:1":"brown_mushroom_block[north=true,east=false,south=false,west=true,up=true,down=false]","99:2":"brown_mushroom_block[north=true,east=false,south=false,west=false,up=true,down=false]","99:3":"brown_mushroom_block[north=true,east=true,south=false,west=false,up=true,down=false]","99:4":"brown_mushroom_block[north=false,east=false,south=false,west=true,up=true,down=false]","99:5":"brown_mushroom_block[north=false,east=false,south=false,west=false,up=true,down=false]","99:6":"brown_mushroom_block[north=false,east=true,south=false,west=false,up=true,down=false]","99:7":"brown_mushroom_block[north=false,east=false,south=true,west=true,up=true,down=false]","99:8":"brown_mushroom_block[north=false,east=false,south=true,west=false,up=true,down=false]","99:9":"brown_mushroom_block[north=false,east=true,south=true,west=false,up=true,down=false]","99:10":"mushroom_stem[north=true,east=true,south=true,west=true,up=false,down=false]","99:14":"brown_mushroom_block[north=true,east=true,south=true,west=true,up=true,down=true]","99:15":"mushroom_stem[north=true,east=true,south=true,west=true,up=true,down=true]","100:0":"red_mushroom_block[north=false,east=false,south=false,west=false,up=false,down=false]","100:1":"red_mushroom_block[north=true,east=false,south=false,west=true,up=true,down=false]","100:2":"red_mushroom_block[north=true,east=false,south=false,west=false,up=true,down=false]","100:3":"red_mushroom_block[north=true,east=true,south=false,west=false,up=true,down=false]","100:4":"red_mushroom_block[north=false,east=false,south=false,west=true,up=true,down=false]","100:5":"red_mushroom_block[north=false,east=false,south=false,west=false,up=true,down=false]","100:6":"red_mushroom_block[north=false,east=true,south=false,west=false,up=true,down=false]","100:7":"red_mushroom_block[north=false,east=false,south=true,west=true,up=true,down=false]","100:8":"red_mushroom_block[north=false,east=false,south=true,west=false,up=true,down=false]","100:9":"red_mushroom_block[north=false,east=true,south=true,west=false,up=true,down=false]","100:10":"mushroom_stem[north=true,east=true,south=true,west=true,up=false,down=false]","100:14":"red_mushroom_block[north=true,east=true,south=true,west=true,up=true,down=true]","100:15":"mushroom_stem[north=true,east=true,south=true,west=true,up=true,down=true]","101:0":"iron_bars[east=false,north=false,south=false,west=false]","102:0":"glass_pane[east=false,north=false,south=false,west=false]","103:0":"melon_block","104:0":"pumpkin_stem[age=0]","104:1":"pumpkin_stem[age=1]","104:2":"pumpkin_stem[age=2]","104:3":"pumpkin_stem[age=3]","104:4":"pumpkin_stem[age=4]","104:5":"pumpkin_stem[age=5]","104:6":"pumpkin_stem[age=6]","104:7":"pumpkin_stem[age=7]","105:0":"melon_stem[age=0]","105:1":"melon_stem[age=1]","105:2":"melon_stem[age=2]","105:3":"melon_stem[age=3]","105:4":"melon_stem[age=4]","105:5":"melon_stem[age=5]","105:6":"melon_stem[age=6]","105:7":"melon_stem[age=7]","106:0":"vine[east=false,north=false,south=false,up=true,west=false]","106:1":"vine[east=false,north=false,south=true,up=true,west=false]","106:2":"vine[east=false,north=false,south=false,up=true,west=true]","106:3":"vine[east=false,north=false,south=true,up=true,west=true]","106:4":"vine[east=false,north=true,south=false,up=true,west=false]","106:5":"vine[east=false,north=true,south=true,up=true,west=false]","106:6":"vine[east=false,north=true,south=false,up=true,west=true]","106:7":"vine[east=false,north=true,south=true,up=true,west=true]","106:8":"vine[east=true,north=false,south=false,up=true,west=false]","106:9":"vine[east=true,north=false,south=true,up=true,west=false]","106:10":"vine[east=true,north=false,south=false,up=true,west=true]","106:11":"vine[east=true,north=false,south=true,up=true,west=true]","106:12":"vine[east=true,north=true,south=false,up=true,west=false]","106:13":"vine[east=true,north=true,south=true,up=true,west=false]","106:14":"vine[east=true,north=true,south=false,up=true,west=true]","106:15":"vine[east=true,north=true,south=true,up=true,west=true]","107:0":"oak_fence_gate[facing=south,in_wall=false,open=false,powered=false]","107:1":"oak_fence_gate[facing=west,in_wall=false,open=false,powered=false]","107:2":"oak_fence_gate[facing=north,in_wall=false,open=false,powered=false]","107:3":"oak_fence_gate[facing=east,in_wall=false,open=false,powered=false]","107:4":"oak_fence_gate[facing=south,in_wall=false,open=true,powered=false]","107:5":"oak_fence_gate[facing=west,in_wall=false,open=true,powered=false]","107:6":"oak_fence_gate[facing=north,in_wall=false,open=true,powered=false]","107:7":"oak_fence_gate[facing=east,in_wall=false,open=true,powered=false]","107:8":"oak_fence_gate[facing=south,in_wall=false,open=false,powered=true]","107:9":"oak_fence_gate[facing=west,in_wall=false,open=false,powered=true]","107:10":"oak_fence_gate[facing=north,in_wall=false,open=false,powered=true]","107:11":"oak_fence_gate[facing=east,in_wall=false,open=false,powered=true]","107:12":"oak_fence_gate[facing=south,in_wall=false,open=true,powered=true]","107:13":"oak_fence_gate[facing=west,in_wall=false,open=true,powered=true]","107:14":"oak_fence_gate[facing=north,in_wall=false,open=true,powered=true]","107:15":"oak_fence_gate[facing=east,in_wall=false,open=true,powered=true]","108:0":"brick_stairs[facing=east,half=bottom,shape=straight]","108:1":"brick_stairs[facing=west,half=bottom,shape=straight]","108:2":"brick_stairs[facing=south,half=bottom,shape=straight]","108:3":"brick_stairs[facing=north,half=bottom,shape=straight]","108:4":"brick_stairs[facing=east,half=top,shape=straight]","108:5":"brick_stairs[facing=west,half=top,shape=straight]","108:6":"brick_stairs[facing=south,half=top,shape=straight]","108:7":"brick_stairs[facing=north,half=top,shape=straight]","109:0":"stone_brick_stairs[facing=east,half=bottom,shape=straight]","109:1":"stone_brick_stairs[facing=west,half=bottom,shape=straight]","109:2":"stone_brick_stairs[facing=south,half=bottom,shape=straight]","109:3":"stone_brick_stairs[facing=north,half=bottom,shape=straight]","109:4":"stone_brick_stairs[facing=east,half=top,shape=straight]","109:5":"stone_brick_stairs[facing=west,half=top,shape=straight]","109:6":"stone_brick_stairs[facing=south,half=top,shape=straight]","109:7":"stone_brick_stairs[facing=north,half=top,shape=straight]","110:0":"mycelium[snowy=false]","111:0":"lily_pad","112:0":"nether_bricks","113:0":"nether_brick_fence[east=false,north=false,south=false,west=false]","114:0":"nether_brick_stairs[facing=east,half=bottom,shape=straight]","114:1":"nether_brick_stairs[facing=west,half=bottom,shape=straight]","114:2":"nether_brick_stairs[facing=south,half=bottom,shape=straight]","114:3":"nether_brick_stairs[facing=north,half=bottom,shape=straight]","114:4":"nether_brick_stairs[facing=east,half=top,shape=straight]","114:5":"nether_brick_stairs[facing=west,half=top,shape=straight]","114:6":"nether_brick_stairs[facing=south,half=top,shape=straight]","114:7":"nether_brick_stairs[facing=north,half=top,shape=straight]","115:0":"nether_wart[age=0]","115:1":"nether_wart[age=1]","115:2":"nether_wart[age=2]","115:3":"nether_wart[age=3]","116:0":"enchanting_table","117:0":"brewing_stand[has_bottle_0=false,has_bottle_1=false,has_bottle_2=false]","117:1":"brewing_stand[has_bottle_0=true,has_bottle_1=false,has_bottle_2=false]","117:2":"brewing_stand[has_bottle_0=false,has_bottle_1=true,has_bottle_2=false]","117:3":"brewing_stand[has_bottle_0=true,has_bottle_1=true,has_bottle_2=false]","117:4":"brewing_stand[has_bottle_0=false,has_bottle_1=false,has_bottle_2=true]","117:5":"brewing_stand[has_bottle_0=true,has_bottle_1=false,has_bottle_2=true]","117:6":"brewing_stand[has_bottle_0=false,has_bottle_1=true,has_bottle_2=true]","117:7":"brewing_stand[has_bottle_0=true,has_bottle_1=true,has_bottle_2=true]","118:0":"cauldron[level=0]","118:1":"cauldron[level=1]","118:2":"cauldron[level=2]","118:3":"cauldron[level=3]","119:0":"end_portal","120:0":"end_portal_frame[eye=false,facing=south]","120:1":"end_portal_frame[eye=false,facing=west]","120:2":"end_portal_frame[eye=false,facing=north]","120:3":"end_portal_frame[eye=false,facing=east]","120:4":"end_portal_frame[eye=true,facing=south]","120:5":"end_portal_frame[eye=true,facing=west]","120:6":"end_portal_frame[eye=true,facing=north]","120:7":"end_portal_frame[eye=true,facing=east]","121:0":"end_stone","122:0":"dragon_egg","123:0":"redstone_lamp[lit=false]","124:0":"redstone_lamp[lit=true]","125:0":"oak_slab[type=double]","125:1":"spruce_slab[type=double]","125:2":"birch_slab[type=double]","125:3":"jungle_slab[type=double]","125:4":"acacia_slab[type=double]","125:5":"dark_oak_slab[type=double]","126:0":"oak_slab[type=bottom]","126:1":"spruce_slab[type=bottom]","126:2":"birch_slab[type=bottom]","126:3":"jungle_slab[type=bottom]","126:4":"acacia_slab[type=bottom]","126:5":"dark_oak_slab[type=bottom]","126:8":"oak_slab[type=top]","126:9":"spruce_slab[type=top]","126:10":"birch_slab[type=top]","126:11":"jungle_slab[type=top]","126:12":"acacia_slab[type=top]","126:13":"dark_oak_slab[type=top]","127:0":"cocoa[age=0,facing=south]","127:1":"cocoa[age=0,facing=west]","127:2":"cocoa[age=0,facing=north]","127:3"
1:"cocoa[age=0,facing=east]","127:4":"cocoa[age=1,facing=south]","127:5":"cocoa[age=1,facing=west]","127:6":"cocoa[age=1,facing=north]","127:7":"cocoa[age=1,facing=east]","127:8":"cocoa[age=2,facing=south]","127:9":"cocoa[age=2,facing=west]","127:10":"cocoa[age=2,facing=north]","127:11":"cocoa[age=2,facing=east]","128:0":"sandstone_stairs[facing=east,half=bottom,shape=straight]","128:1":"sandstone_stairs[facing=west,half=bottom,shape=straight]","128:2":"sandstone_stairs[facing=south,half=bottom,shape=straight]","128:3":"sandstone_stairs[facing=north,half=bottom,shape=straight]","128:4":"sandstone_stairs[facing=east,half=top,shape=straight]","128:5":"sandstone_stairs[facing=west,half=top,shape=straight]","128:6":"sandstone_stairs[facing=south,half=top,shape=straight]","128:7":"sandstone_stairs[facing=north,half=top,shape=straight]","129:0":"emerald_ore","130:2":"ender_chest[facing=north]","130:3":"ender_chest[facing=south]","130:4":"ender_chest[facing=west]","130:5":"ender_chest[facing=east]","131:0":"tripwire_hook[attached=false,facing=south,powered=false]","131:1":"tripwire_hook[attached=false,facing=west,powered=false]","131:2":"tripwire_hook[attached=false,facing=north,powered=false]","131:3":"tripwire_hook[attached=false,facing=east,powered=false]","131:4":"tripwire_hook[attached=true,facing=south,powered=false]","131:5":"tripwire_hook[attached=true,facing=west,powered=false]","131:6":"tripwire_hook[attached=true,facing=north,powered=false]","131:7":"tripwire_hook[attached=true,facing=east,powered=false]","131:8":"tripwire_hook[attached=false,facing=south,powered=true]","131:9":"tripwire_hook[attached=false,facing=west,powered=true]","131:10":"tripwire_hook[attached=false,facing=north,powered=true]","131:11":"tripwire_hook[attached=false,facing=east,powered=true]","131:12":"tripwire_hook[attached=true,facing=south,powered=true]","131:13":"tripwire_hook[attached=true,facing=west,powered=true]","131:14":"tripwire_hook[attached=true,facing=north,powered=true]","131:15":"tripwire_hook[attached=true,facing=east,powered=true]","132:0":"tripwire[attached=false,disarmed=false,east=false,north=false,powered=false,south=false,west=false]","132:1":"tripwire[attached=false,disarmed=false,east=false,north=false,powered=true,south=false,west=false]","132:4":"tripwire[attached=true,disarmed=false,east=false,north=false,powered=false,south=false,west=false]","132:5":"tripwire[attached=true,disarmed=false,east=false,north=false,powered=true,south=false,west=false]","132:8":"tripwire[attached=false,disarmed=true,east=false,north=false,powered=false,south=false,west=false]","132:9":"tripwire[attached=false,disarmed=true,east=false,north=false,powered=true,south=false,west=false]","132:12":"tripwire[attached=true,disarmed=true,east=false,north=false,powered=false,south=false,west=false]","132:13":"tripwire[attached=true,disarmed=true,east=false,north=false,powered=true,south=false,west=false]","133:0":"emerald_block","134:0":"spruce_stairs[facing=east,half=bottom,shape=straight]","134:1":"spruce_stairs[facing=west,half=bottom,shape=straight]","134:2":"spruce_stairs[facing=south,half=bottom,shape=straight]","134:3":"spruce_stairs[facing=north,half=bottom,shape=straight]","134:4":"spruce_stairs[facing=east,half=top,shape=straight]","134:5":"spruce_stairs[facing=west,half=top,shape=straight]","134:6":"spruce_stairs[facing=south,half=top,shape=straight]","134:7":"spruce_stairs[facing=north,half=top,shape=straight]","135:0":"birch_stairs[facing=east,half=bottom,shape=straight]","135:1":"birch_stairs[facing=west,half=bottom,shape=straight]","135:2":"birch_stairs[facing=south,half=bottom,shape=straight]","135:3":"birch_stairs[facing=north,half=bottom,shape=straight]","135:4":"birch_stairs[facing=east,half=top,shape=straight]","135:5":"birch_stairs[facing=west,half=top,shape=straight]","135:6":"birch_stairs[facing=south,half=top,shape=straight]","135:7":"birch_stairs[facing=north,half=top,shape=straight]","136:0":"jungle_stairs[facing=east,half=bottom,shape=straight]","136:1":"jungle_stairs[facing=west,half=bottom,shape=straight]","136:2":"jungle_stairs[facing=south,half=bottom,shape=straight]","136:3":"jungle_stairs[facing=north,half=bottom,shape=straight]","136:4":"jungle_stairs[facing=east,half=top,shape=straight]","136:5":"jungle_stairs[facing=west,half=top,shape=straight]","136:6":"jungle_stairs[facing=south,half=top,shape=straight]","136:7":"jungle_stairs[facing=north,half=top,shape=straight]","137:0":"command_block[conditional=false,facing=down]","137:1":"command_block[conditional=false,facing=up]","137:2":"command_block[conditional=false,facing=north]","137:3":"command_block[conditional=false,facing=south]","137:4":"command_block[conditional=false,facing=west]","137:5":"command_block[conditional=false,facing=east]","137:8":"command_block[conditional=true,facing=down]","137:9":"command_block[conditional=true,facing=up]","137:10":"command_block[conditional=true,facing=north]","137:11":"command_block[conditional=true,facing=south]","137:12":"command_block[conditional=true,facing=west]","137:13":"command_block[conditional=true,facing=east]","138:0":"beacon","139:0":"cobblestone_wall[east=false,north=false,south=false,up=false,west=false]","139:1":"mossy_cobblestone_wall[east=false,north=false,south=false,up=false,west=false]","140:0":"potted_cactus","140:1":"potted_cactus","140:2":"potted_cactus","140:3":"potted_cactus","140:4":"potted_cactus","140:5":"potted_cactus","140:6":"potted_cactus","140:7":"potted_cactus","140:8":"potted_cactus","140:9":"potted_cactus","140:10":"potted_cactus","140:11":"potted_cactus","140:12":"potted_cactus","140:13":"potted_cactus","140:14":"potted_cactus","140:15":"potted_cactus","141:0":"carrots[age=0]","141:1":"carrots[age=1]","141:2":"carrots[age=2]","141:3":"carrots[age=3]","141:4":"carrots[age=4]","141:5":"carrots[age=5]","141:6":"carrots[age=6]","141:7":"carrots[age=7]","142:0":"potatoes[age=0]","142:1":"potatoes[age=1]","142:2":"potatoes[age=2]","142:3":"potatoes[age=3]","142:4":"potatoes[age=4]","142:5":"potatoes[age=5]","142:6":"potatoes[age=6]","142:7":"potatoes[age=7]","143:0":"oak_button[face=ceiling,facing=north,powered=false]","143:1":"oak_button[face=wall,facing=east,powered=false]","143:2":"oak_button[face=wall,facing=west,powered=false]","143:3":"oak_button[face=wall,facing=south,powered=false]","143:4":"oak_button[face=wall,facing=north,powered=false]","143:5":"oak_button[face=floor,facing=north,powered=false]","143:8":"oak_button[face=ceiling,facing=north,powered=true]","143:9":"oak_button[face=wall,facing=east,powered=true]","143:10":"oak_button[face=wall,facing=west,powered=true]","143:11":"oak_button[face=wall,facing=south,powered=true]","143:12":"oak_button[face=wall,facing=north,powered=true]","143:13":"oak_button[face=floor,facing=north,powered=true]","144:0":"player_head[facing=down]","144:1":"player_head[facing=up]","144:2":"player_head[facing=north]","144:3":"player_head[facing=south]","144:4":"player_head[facing=west]","144:5":"player_head[facing=east]","144:8":"player_head[facing=down]","144:9":"player_head[facing=up]","144:10":"player_head[facing=north]","144:11":"player_head[facing=south]","144:12":"player_head[facing=west]","144:13"
1:"player_head[facing=east]","145:0":"anvil[facing=south]","145:1":"anvil[facing=west]","145:2":"anvil[facing=north]","145:3":"anvil[facing=east]","145:4":"chipped_anvil[facing=south]","145:5":"chipped_anvil[facing=west]","145:6":"chipped_anvil[facing=north]","145:7":"chipped_anvil[facing=east]","145:8":"damaged_anvil[facing=south]","145:9":"damaged_anvil[facing=west]","145:10":"damaged_anvil[facing=north]","145:11":"damaged_anvil[facing=east]","146:2":"trapped_chest[facing=north,type=single]","146:3":"trapped_chest[facing=south,type=single]","146:4":"trapped_chest[facing=west,type=single]","146:5":"trapped_chest[facing=east,type=single]","147:0":"light_weighted_pressure_plate[power=0]","147:1":"light_weighted_pressure_plate[power=1]","147:2":"light_weighted_pressure_plate[power=2]","147:3":"light_weighted_pressure_plate[power=3]","147:4":"light_weighted_pressure_plate[power=4]","147:5":"light_weighted_pressure_plate[power=5]","147:6":"light_weighted_pressure_plate[power=6]","147:7":"light_weighted_pressure_plate[power=7]","147:8":"light_weighted_pressure_plate[power=8]","147:9":"light_weighted_pressure_plate[power=9]","147:10":"light_weighted_pressure_plate[power=10]","147:11":"light_weighted_pressure_plate[power=11]","147:12":"light_weighted_pressure_plate[power=12]","147:13":"light_weighted_pressure_plate[power=13]","147:14":"light_weighted_pressure_plate[power=14]","147:15":"light_weighted_pressure_plate[power=15]","148:0":"heavy_weighted_pressure_plate[power=0]","148:1":"heavy_weighted_pressure_plate[power=1]","148:2":"heavy_weighted_pressure_plate[power=2]","148:3":"heavy_weighted_pressure_plate[power=3]","148:4":"heavy_weighted_pressure_plate[power=4]","148:5":"heavy_weighted_pressure_plate[power=5]","148:6":"heavy_weighted_pressure_plate[power=6]","148:7":"heavy_weighted_pressure_plate[power=7]","148:8":"heavy_weighted_pressure_plate[power=8]","148:9":"heavy_weighted_pressure_plate[power=9]","148:10":"heavy_weighted_pressure_plate[power=10]","148:11":"heavy_weighted_pressure_plate[power=11]","148:12":"heavy_weighted_pressure_plate[power=12]","148:13":"heavy_weighted_pressure_plate[power=13]","148:14":"heavy_weighted_pressure_plate[power=14]","148:15":"heavy_weighted_pressure_plate[power=15]","149:0":"comparator[facing=south,mode=compare,powered=false]","149:1":"comparator[facing=west,mode=compare,powered=false]","149:2":"comparator[facing=north,mode=compare,powered=false]","149:3":"comparator[facing=east,mode=compare,powered=false]","149:4":"comparator[facing=south,mode=subtract,powered=false]","149:5":"comparator[facing=west,mode=subtract,powered=false]","149:6":"comparator[facing=north,mode=subtract,powered=false]","149:7":"comparator[facing=east,mode=subtract,powered=false]","149:8":"comparator[facing=south,mode=compare,powered=true]","149:9":"comparator[facing=west,mode=compare,powered=true]","149:10":"comparator[facing=north,mode=compare,powered=true]","149:11":"comparator[facing=east,mode=compare,powered=true]","149:12":"comparator[facing=south,mode=subtract,powered=true]","149:13":"comparator[facing=west,mode=subtract,powered=true]","149:14":"comparator[facing=north,mode=subtract,powered=true]","149:15":"comparator[facing=east,mode=subtract,powered=true]","150:0":"comparator[facing=south,mode=compare,powered=false]","150:1":"comparator[facing=west,mode=compare,powered=false]","150:2":"comparator[facing=north,mode=compare,powered=false]","150:3":"comparator[facing=east,mode=compare,powered=false]","150:4":"comparator[facing=south,mode=subtract,powered=false]","150:5":"comparator[facing=west,mode=subtract,powered=false]","150:6":"comparator[facing=north,mode=subtract,powered=false]","150:7":"comparator[facing=east,mode=subtract,powered=false]","150:8":"comparator[facing=south,mode=compare,powered=true]","150:9":"comparator[facing=west,mode=compare,powered=true]","150:10":"comparator[facing=north,mode=compare,powered=true]","150:11":"comparator[facing=east,mode=compare,powered=true]","150:12":"comparator[facing=south,mode=subtract,powered=true]","150:13":"comparator[facing=west,mode=subtract,powered=true]","150:14":"comparator[facing=north,mode=subtract,powered=true]","150:15":"comparator[facing=east,mode=subtract,powered=true]","151:0":"daylight_detector[inverted=false,power=0]","151:1":"daylight_detector[inverted=false,power=1]","151:2":"daylight_detector[inverted=false,power=2]","151:3":"daylight_detector[inverted=false,power=3]","151:4":"daylight_detector[inverted=false,power=4]","151:5":"daylight_detector[inverted=false,power=5]","151:6":"daylight_detector[inverted=false,power=6]","151:7":"daylight_detector[inverted=false,power=7]","151:8":"daylight_detector[inverted=false,power=8]","151:9":"daylight_detector[inverted=false,power=9]","151:10":"daylight_detector[inverted=false,power=10]","151:11":"daylight_detector[inverted=false,power=11]","151:12":"daylight_detector[inverted=false,power=12]","151:13":"daylight_detector[inverted=false,power=13]","151:14":"daylight_detector[inverted=false,power=14]","151:15":"daylight_detector[inverted=false,power=15]","152:0":"redstone_block","153:0":"nether_quartz_ore","154:0":"hopper[enabled=true,facing=down]","154:2":"hopper[enabled=true,facing=north]","154:3":"hopper[enabled=true,facing=south]","154:4":"hopper[enabled=true,facing=west]","154:5":"hopper[enabled=true,facing=east]","154:8":"hopper[enabled=false,facing=down]","154:10":"hopper[enabled=false,facing=north]","154:11":"hopper[enabled=false,facing=south]","154:12":"hopper[enabled=false,facing=west]","154:13":"hopper[enabled=false,facing=east]","155:0":"quartz_block","155:1":"chiseled_quartz_block","155:2":"quartz_pillar[axis=y]","155:3":"quartz_pillar[axis=x]","155:4":"quartz_pillar[axis=z]","156:0":"quartz_stairs[facing=east,half=bottom,shape=straight]","156:1":"quartz_stairs[facing=west,half=bottom,shape=straight]","156:2":"quartz_stairs[facing=south,half=bottom,shape=straight]","156:3"
1:"quartz_stairs[facing=north,half=bottom,shape=straight]","156:4":"quartz_stairs[facing=east,half=top,shape=straight]","156:5":"quartz_stairs[facing=west,half=top,shape=straight]","156:6":"quartz_stairs[facing=south,half=top,shape=straight]","156:7":"quartz_stairs[facing=north,half=top,shape=straight]","157:0":"activator_rail[powered=false,shape=north_south]","157:1":"activator_rail[powered=false,shape=east_west]","157:2":"activator_rail[powered=false,shape=ascending_east]","157:3":"activator_rail[powered=false,shape=ascending_west]","157:4":"activator_rail[powered=false,shape=ascending_north]","157:5":"activator_rail[powered=false,shape=ascending_south]","157:8":"activator_rail[powered=true,shape=north_south]","157:9":"activator_rail[powered=true,shape=east_west]","157:10":"activator_rail[powered=true,shape=ascending_east]","157:11":"activator_rail[powered=true,shape=ascending_west]","157:12":"activator_rail[powered=true,shape=ascending_north]","157:13":"activator_rail[powered=true,shape=ascending_south]","158:0":"dropper[facing=down,triggered=false]","158:1":"dropper[facing=up,triggered=false]","158:2":"dropper[facing=north,triggered=false]","158:3":"dropper[facing=south,triggered=false]","158:4":"dropper[facing=west,triggered=false]","158:5":"dropper[facing=east,triggered=false]","158:8":"dropper[facing=down,triggered=true]","158:9":"dropper[facing=up,triggered=true]","158:10":"dropper[facing=north,triggered=true]","158:11":"dropper[facing=south,triggered=true]","158:12":"dropper[facing=west,triggered=true]","158:13":"dropper[facing=east,triggered=true]","159:0":"white_terracotta","159:1":"orange_terracotta","159:2":"magenta_terracotta","159:3":"light_blue_terracotta","159:4":"yellow_terracotta","159:5":"lime_terracotta","159:6":"pink_terracotta","159:7":"gray_terracotta","159:8":"light_gray_terracotta","159:9":"cyan_terracotta","159:10":"purple_terracotta","159:11":"blue_terracotta","159:12":"brown_terracotta","159:13":"green_terracotta","159:14":"red_terracotta","159:15":"black_terracotta","160:0":"white_stained_glass_pane[east=false,north=false,south=false,west=false]","160:1":"orange_stained_glass_pane[east=false,north=false,south=false,west=false]","160:2":"magenta_stained_glass_pane[east=false,north=false,south=false,west=false]","160:3":"light_blue_stained_glass_pane[east=false,north=false,south=false,west=false]","160:4":"yellow_stained_glass_pane[east=false,north=false,south=false,west=false]","160:5":"lime_stained_glass_pane[east=false,north=false,south=false,west=false]","160:6":"pink_stained_glass_pane[east=false,north=false,south=false,west=false]","160:7":"gray_stained_glass_pane[east=false,north=false,south=false,west=false]","160:8":"light_gray_stained_glass_pane[east=false,north=false,south=false,west=false]","160:9":"cyan_stained_glass_pane[east=false,north=false,south=false,west=false]","160:10":"purple_stained_glass_pane[east=false,north=false,south=false,west=false]","160:11":"blue_stained_glass_pane[east=false,north=false,south=false,west=false]","160:12":"brown_stained_glass_pane[east=false,north=false,south=false,west=false]","160:13":"green_stained_glass_pane[east=false,north=false,south=false,west=false]","160:14":"red_stained_glass_pane[east=false,north=false,south=false,west=false]","160:15":"black_stained_glass_pane[east=false,north=false,south=false,west=false]","161:0":"acacia_leaves[check_decay=false,decayable=true]","161:1":"dark_oak_leaves[check_decay=false,decayable=true]","161:4":"acacia_leaves[check_decay=false,decayable=false]","161:5":"dark_oak_leaves[check_decay=false,decayable=false]","161:8":"acacia_leaves[check_decay=true,decayable=true]","161:9":"dark_oak_leaves[check_decay=true,decayable=true]","161:12":"acacia_leaves[check_decay=true,decayable=false]","161:13":"dark_oak_leaves[check_decay=true,decayable=false]","162:0":"acacia_log[axis=y]","162:1":"dark_oak_log[axis=y]","162:4":"acacia_log[axis=x]","162:5":"dark_oak_log[axis=x]","162:8":"acacia_log[axis=z]","162:9":"dark_oak_log[axis=z]","162:12":"acacia_bark","162:13":"dark_oak_bark","163:0":"acacia_stairs[facing=east,half=bottom,shape=straight]","163:1":"acacia_stairs[facing=west,half=bottom,shape=straight]","163:2":"acacia_stairs[facing=south,half=bottom,shape=straight]","163:3":"acacia_stairs[facing=north,half=bottom,shape=straight]","163:4":"acacia_stairs[facing=east,half=top,shape=straight]","163:5":"acacia_stairs[facing=west,half=top,shape=straight]","163:6":"acacia_stairs[facing=south,half=top,shape=straight]","163:7":"acacia_stairs[facing=north,half=top,shape=straight]","164:0":"dark_oak_stairs[facing=east,half=bottom,shape=straight]","164:1":"dark_oak_stairs[facing=west,half=bottom,shape=straight]","164:2":"dark_oak_stairs[facing=south,half=bottom,shape=straight]","164:3":"dark_oak_stairs[facing=north,half=bottom,shape=straight]","164:4":"dark_oak_stairs[facing=east,half=top,shape=straight]","164:5":"dark_oak_stairs[facing=west,half=top,shape=straight]","164:6":"dark_oak_stairs[facing=south,half=top,shape=straight]","164:7":"dark_oak_stairs[facing=north,half=top,shape=straight]","165:0":"slime_block","166:0":"barrier","167:0":"iron_trapdoor[facing=north,half=bottom,open=false]","167:1":"iron_trapdoor[facing=south,half=bottom,open=false]","167:2":"iron_trapdoor[facing=west,half=bottom,open=false]","167:3":"iron_trapdoor[facing=east,half=bottom,open=false]","167:4":"iron_trapdoor[facing=north,half=bottom,open=true]","167:5":"iron_trapdoor[facing=south,half=bottom,open=true]","167:6":"iron_trapdoor[facing=west,half=bottom,open=true]","167:7":"iron_trapdoor[facing=east,half=bottom,open=true]","167:8":"iron_trapdoor[facing=north,half=top,open=false]","167:9":"iron_trapdoor[facing=south,half=top,open=false]","167:10":"iron_trapdoor[facing=west,half=top,open=false]","167:11":"iron_trapdoor[facing=east,half=top,open=false]","167:12":"iron_trapdoor[facing=north,half=top,open=true]","167:13":"iron_trapdoor[facing=south,half=top,open=true]","167:14":"iron_trapdoor[facing=west,half=top,open=true]","167:15":"iron_trapdoor[facing=east,half=top,open=true]","168:0":"prismarine","168:1":"prismarine_bricks","168:2":"dark_prismarine","169:0":"sea_lantern","170:0":"hay_block[axis=y]","170:4":"hay_block[axis=x]","170:8":"hay_block[axis=z]","171:0":"white_carpet","171:1":"orange_carpet","171:2":"magenta_carpet","171:3"
1:"light_blue_carpet","171:4":"yellow_carpet","171:5":"lime_carpet","171:6":"pink_carpet","171:7":"gray_carpet","171:8":"light_gray_carpet","171:9":"cyan_carpet","171:10":"purple_carpet","171:11":"blue_carpet","171:12":"brown_carpet","171:13":"green_carpet","171:14":"red_carpet","171:15":"black_carpet","172:0":"terracotta","173:0":"coal_block","174:0":"packed_ice","175:0":"sunflower[half=lower]","175:1":"lilac[half=lower]","175:2":"tall_grass[half=lower]","175:3":"large_fern[half=lower]","175:4":"rose_bush[half=lower]","175:5":"peony[half=lower]","175:8":"peony[half=upper]","175:9":"peony[half=upper]","175:10":"peony[half=upper]","175:11":"peony[half=upper]","176:0":"white_banner[rotation=0]","176:1":"white_banner[rotation=1]","176:2":"white_banner[rotation=2]","176:3":"white_banner[rotation=3]","176:4":"white_banner[rotation=4]","176:5":"white_banner[rotation=5]","176:6":"white_banner[rotation=6]","176:7":"white_banner[rotation=7]","176:8":"white_banner[rotation=8]","176:9":"white_banner[rotation=9]","176:10":"white_banner[rotation=10]","176:11":"white_banner[rotation=11]","176:12":"white_banner[rotation=12]","176:13":"white_banner[rotation=13]","176:14":"white_banner[rotation=14]","176:15":"white_banner[rotation=15]","177:2":"white_wall_banner[facing=north]","177:3":"white_wall_banner[facing=south]","177:4":"white_wall_banner[facing=west]","177:
15":"white_wall_banner[facing=east]","178:0":"daylight_detector[inverted=true,power=0]","178:1":"daylight_detector[inverted=true,power=1]","178:2":"daylight_detector[inverted=true,power=2]","178:3":"daylight_detector[inverted=true,power=3]","178:4":"daylight_detector[inverted=true,power=4]","178:5":"daylight_detector[inverted=true,power=5]","178:6":"daylight_detector[inverted=true,power=6]","178:7":"daylight_detector[inverted=true,power=7]","178:8":"daylight_detector[inverted=true,power=8]","178:9":"daylight_detector[inverted=true,power=9]","178:10":"daylight_detector[inverted=true,power=10]","178:11":"daylight_detector[inverted=true,power=11]","178:12":"daylight_detector[inverted=true,power=12]","178:13":"daylight_detector[inverted=true,power=13]","178:14":"daylight_detector[inverted=true,power=14]","178:15":"daylight_detector[inverted=true,power=15]","179:0":"red_sandstone","179:1":"chiseled_red_sandstone","179:2":"cut_red_sandstone","180:0":"red_sandstone_stairs[facing=east,half=bottom,shape=straight]","180:1":"red_sandstone_stairs[facing=west,half=bottom,shape=straight]","180:2":"red_sandstone_stairs[facing=south,half=bottom,shape=straight]","180:3":"red_sandstone_stairs[facing=north,half=bottom,shape=straight]","180:4":"red_sandstone_stairs[facing=east,half=top,shape=straight]","180:5":"red_sandstone_stairs[facing=west,half=top,shape=straight]","180:6":"red_sandstone_stairs[facing=south,half=top,shape=straight]","180:7":"red_sandstone_stairs[facing=north,half=top,shape=straight]","181:0":"red_sandstone_slab[type=double]","181:8":"smooth_red_sandstone","182:0":"red_sandstone_slab[type=bottom]","182:8":"red_sandstone_slab[type=top]","183:0":"spruce_fence_gate[facing=south,in_wall=false,open=false,powered=false]","183:1":"spruce_fence_gate[facing=west,in_wall=false,open=false,powered=false]","183:2":"spruce_fence_gate[facing=north,in_wall=false,open=false,powered=false]","183:3":"spruce_fence_gate[facing=east,in_wall=false,open=false,powered=false]","183:4":"spruce_fence_gate[facing=south,in_wall=false,open=true,powered=false]","183:5":"spruce_fence_gate[facing=west,in_wall=false,open=true,powered=false]","183:6":"spruce_fence_gate[facing=north,in_wall=false,open=true,powered=false]","183:7":"spruce_fence_gate[facing=east,in_wall=false,open=true,powered=false]","183:8":"spruce_fence_gate[facing=south,in_wall=false,open=false,powered=true]","183:9":"spruce_fence_gate[facing=west,in_wall=false,open=false,powered=true]","183:10":"spruce_fence_gate[facing=north,in_wall=false,open=false,powered=true]","183:11":"spruce_fence_gate[facing=east,in_wall=false,open=false,powered=true]","183:12":"spruce_fence_gate[facing=south,in_wall=false,open=true,powered=true]","183:13":"spruce_fence_gate[facing=west,in_wall=false,open=true,powered=true]","183:14":"spruce_fence_gate[facing=north,in_wall=false,open=true,powered=true]","183:15":"spruce_fence_gate[facing=east,in_wall=false,open=true,powered=true]","184:0":"birch_fence_gate[facing=south,in_wall=false,open=false,powered=false]","184:1":"birch_fence_gate[facing=west,in_wall=false,open=false,powered=false]","184:2":"birch_fence_gate[facing=north,in_wall=false,open=false,powered=false]","184:3":"birch_fence_gate[facing=east,in_wall=false,open=false,powered=false]","184:4":"birch_fence_gate[facing=south,in_wall=false,open=true,powered=false]","184:5":"birch_fence_gate[facing=west,in_wall=false,open=true,powered=false]","184:6":"birch_fence_gate[facing=north,in_wall=false,open=true,powered=false]","184:7":"birch_fence_gate[facing=east,in_wall=false,open=true,powered=false]","184:8":"birch_fence_gate[facing=south,in_wall=false,open=false,powered=true]","184:9":"birch_fence_gate[facing=west,in_wall=false,open=false,powered=true]","184:10":"birch_fence_gate[facing=north,in_wall=false,open=false,powered=true]","184:11":"birch_fence_gate[facing=east,in_wall=false,open=false,powered=true]","184:12":"birch_fence_gate[facing=south,in_wall=false,open=true,powered=true]","184:13":"birch_fence_gate[facing=west,in_wall=false,open=true,powered=true]","184:14":"birch_fence_gate[facing=north,in_wall=false,open=true,powered=true]","184:15":"birch_fence_gate[facing=east,in_wall=false,open=true,powered=true]","185:0":"jungle_fence_gate[facing=south,in_wall=false,open=false,powered=false]","185:1":"jungle_fence_gate[facing=west,in_wall=false,open=false,powered=false]","185:2":"jungle_fence_gate[facing=north,in_wall=false,open=false,powered=false]","185:3":"jungle_fence_gate[facing=east,in_wall=false,open=false,powered=false]","185:4":"jungle_fence_gate[facing=south,in_wall=false,open=true,powered=false]","185:5":"jungle_fence_gate[facing=west,in_wall=false,open=true,powered=false]","185:6":"jungle_fence_gate[facing=north,in_wall=false,open=true,powered=false]","185:7":"jungle_fence_gate[facing=east,in_wall=false,open=true,powered=false]","185:8":"jungle_fence_gate[facing=south,in_wall=false,open=false,powered=true]","185:9":"jungle_fence_gate[facing=west,in_wall=false,open=false,powered=true]","185:10":"jungle_fence_gate[facing=north,in_wall=false,open=false,powered=true]","185:11":"jungle_fence_gate[facing=east,in_wall=false,open=false,powered=true]","185:12":"jungle_fence_gate[facing=south,in_wall=false,open=true,powered=true]","185:13":"jungle_fence_gate[facing=west,in_wall=false,open=true,powered=true]","185:14":"jungle_fence_gate[facing=north,in_wall=false,open=true,powered=true]","185:15":"jungle_fence_gate[facing=east,in_wall=false,open=true,powered=true]","186:0":"dark_oak_fence_gate[facing=south,in_wall=false,open=false,powered=false]","186:1":"dark_oak_fence_gate[facing=west,in_wall=false,open=false,powered=false]","186:2":"dark_oak_fence_gate[facing=north,in_wall=false,open=false,powered=false]","186:3":"dark_oak_fence_gate[facing=east,in_wall=false,open=false,powered=false]","186:4":"dark_oak_fence_gate[facing=south,in_wall=false,open=true,powered=false]","186:5":"dark_oak_fence_gate[facing=west,in_wall=false,open=true,powered=false]","186:6":"dark_oak_fence_gate[facing=north,in_wall=false,open=true,powered=false]","186:7":"dark_oak_fence_gate[facing=east,in_wall=false,open=true,powered=false]","186:8":"dark_oak_fence_gate[facing=south,in_wall=false,open=false,powered=true]","186:9":"dark_oak_fence_gate[facing=west,in_wall=false,open=false,powered=true]","186:10":"dark_oak_fence_gate[facing=north,in_wall=false,open=false,powered=true]","186:11":"dark_oak_fence_gate[facing=east,in_wall=false,open=false,powered=true]","186:12":"dark_oak_fence_gate[facing=south,in_wall=false,open=true,powered=true]","186:13":"dark_oak_fence_gate[facing=west,in_wall=false,open=true,powered=true]","186:14":"dark_oak_fence_gate[facing=north,in_wall=false,open=true,powered=true]","186:15":"dark_oak_fence_gate[facing=east,in_wall=false,open=true,powered=true]","187:0":"acacia_fence_gate[facing=south,in_wall=false,open=false,powered=false]","187:1":"acacia_fence_gate[facing=west,in_wall=false,open=false,powered=false]","187:2":"acacia_fence_gate[facing=north,in_wall=false,open=false,powered=false]","187:3":"acacia_fence_gate[facing=east,in_wall=false,open=false,powered=false]","187:4":"acacia_fence_gate[facing=south,in_wall=false,open=true,powered=false]","187:5":"acacia_fence_gate[facing=west,in_wall=false,open=true,powered=false]","187:6":"acacia_fence_gate[facing=north,in_wall=false,open=true,powered=false]","187:7":"acacia_fence_gate[facing=east,in_wall=false,open=true,powered=false]","187:8":"acacia_fence_gate[facing=south,in_wall=false,open=false,powered=true]","187:9":"acacia_fence_gate[facing=west,in_wall=false,open=false,powered=true]","187:10":"acacia_fence_gate[facing=north,in_wall=false,open=false,powered=true]","187:11":"acacia_fence_gate[facing=east,in_wall=false,open=false,powered=true]","187:12":"acacia_fence_gate[facing=south,in_wall=false,open=true,powered=true]","187:13":"acacia_fence_gate[facing=west,in_wall=false,open=true,powered=true]","187:14":"acacia_fence_gate[facing=north,in_wall=false,open=true,powered=true]","187:15":"acacia_fence_gate[facing=east,in_wall=false,open=true,powered=true]","188:0":"spruce_fence[east=false,north=false,south=false,west=false]","189:0":"birch_fence[east=false,north=false,south=false,west=false]","190:0":"jungle_fence[east=false,north=false,south=false,west=false]","191:0":"dark_oak_fence[east=false,north=false,south=false,west=false]","192:0":"acacia_fence[east=false,north=false,south=false,west=false]","193:0":"spruce_door[facing=east,half=lower,hinge=right,open=false,powered=false]","193:1":"spruce_door[facing=south,half=lower,hinge=right,open=false,powered=false]","193:2":"spruce_door[facing=west,half=lower,hinge=right,open=false,powered=false]","193:3":"spruce_door[facing=north,half=lower,hinge=right,open=false,powered=false]","193:4":"spruce_door[facing=east,half=lower,hinge=right,open=true,powered=false]","193:5":"spruce_door[facing=south,half=lower,hinge=right,open=true,powered=false]","193:6":"spruce_door[facing=west,half=lower,hinge=right,open=true,powered=false]","193:7":"spruce_door[facing=north,half=lower,hinge=right,open=true,powered=false]","193:8":"spruce_door[facing=east,half=upper,hinge=left,open=false,powered=false]","193:9":"spruce_door[facing=east,half=upper,hinge=right,open=false,powered=false]","193:10":"spruce_door[facing=east,half=upper,hinge=left,open=false,powered=true]","193:11":"spruce_door[facing=east,half=upper,hinge=right,open=false,powered=true]","194:0":"birch_door[facing=east,half=lower,hinge=right,open=false,powered=false]","194:1":"birch_door[facing=south,half=lower,hinge=right,open=false,powered=false]","194:2":"birch_door[facing=west,half=lower,hinge=right,open=false,powered=false]","194:3":"birch_door[facing=north,half=lower,hinge=right,open=false,powered=false]","194:4":"birch_door[facing=east,half=lower,hinge=right,open=true,powered=false]","194:5":"birch_door[facing=south,half=lower,hinge=right,open=true,powered=false]","194:6":"birch_door[facing=west,half=lower,hinge=right,open=true,powered=false]","194:7":"birch_door[facing=north,half=lower,hinge=right,open=true,powered=false]","194:8":"birch_door[facing=east,half=upper,hinge=left,open=false,powered=false]","194:9":"birch_door[facing=east,half=upper,hinge=right,open=false,powered=false]","194:10":"birch_door[facing=east,half=upper,hinge=left,open=false,powered=true]","194:11":"birch_door[facing=east,half=upper,hinge=right,open=false,powered=true]","195:0":"jungle_door[facing=east,half=lower,hinge=right,open=false,powered=false]","195:1":"jungle_door[facing=south,half=lower,hinge=right,open=false,powered=false]","195:2":"jungle_door[facing=west,half=lower,hinge=right,open=false,powered=false]","195:3":"jungle_door[facing=north,half=lower,hinge=right,open=false,powered=false]","195:4":"jungle_door[facing=east,half=lower,hinge=right,open=true,powered=false]","195:5":"jungle_door[facing=south,half=lower,hinge=right,open=true,powered=false]","195:6":"jungle_door[facing=west,half=lower,hinge=right,open=true,powered=false]","195:7":"jungle_door[facing=north,half=lower,hinge=right,open=true,powered=false]","195:8":"jungle_door[facing=east,half=upper,hinge=left,open=false,powered=false]","195:9":"jungle_door[facing=east,half=upper,hinge=right,open=false,powered=false]","195:10":"jungle_door[facing=east,half=upper,hinge=left,open=false,powered=true]","195:11":"jungle_door[facing=east,half=upper,hinge=right,open=false,powered=true]","196:0":"acacia_door[facing=east,half=lower,hinge=right,open=false,powered=false]","196:1":"acacia_door[facing=south,half=lower,hinge=right,open=false,powered=false]","196:2":"acacia_door[facing=west,half=lower,hinge=right,open=false,powered=false]","196:3":"acacia_door[facing=north,half=lower,hinge=right,open=false,powered=false]","196:4":"acacia_door[facing=east,half=lower,hinge=right,open=true,powered=false]","196:5":"acacia_door[facing=south,half=lower,hinge=right,open=true,powered=false]","196:6":"acacia_door[facing=west,half=lower,hinge=right,open=true,powered=false]","196:7":"acacia_door[facing=north,half=lower,hinge=right,open=true,powered=false]","196:8":"acacia_door[facing=east,half=upper,hinge=left,open=false,powered=false]","196:9":"acacia_door[facing=east,half=upper,hinge=right,open=false,powered=false]","196:10":"acacia_door[facing=east,half=upper,hinge=left,open=false,powered=true]","196:11":"acacia_door[facing=east,half=upper,hinge=right,open=false,powered=true]","197:0":"dark_oak_door[facing=east,half=lower,hinge=right,open=false,powered=false]","197:1":"dark_oak_door[facing=south,half=lower,hinge=right,open=false,powered=false]","197:2":"dark_oak_door[facing=west,half=lower,hinge=right,open=false,powered=false]","197:3":"dark_oak_door[facing=north,half=lower,hinge=right,open=false,powered=false]","197:4":"dark_oak_door[facing=east,half=lower,hinge=right,open=true,powered=false]","197:5":"dark_oak_door[facing=south,half=lower,hinge=right,open=true,powered=false]","197:6":"dark_oak_door[facing=west,half=lower,hinge=right,open=true,powered=false]","197:7":"dark_oak_door[facing=north,half=lower,hinge=right,open=true,powered=false]","197:8":"dark_oak_door[facing=east,half=upper,hinge=left,open=false,powered=false]","197:9":"dark_oak_door[facing=east,half=upper,hinge=right,open=false,powered=false]","197:10":"dark_oak_door[facing=east,half=upper,hinge=left,open=false,powered=true]","197:11":"dark_oak_door[facing=east,half=upper,hinge=right,open=false,powered=true]","198:0":"end_rod[facing=down]","198:1":"end_rod[facing=up]","198:2":"end_rod[facing=north]","198:3":"end_rod[facing=south]","198:4":"end_rod[facing=west]","198:5":"end_rod[facing=east]","199:0":"chorus_plant[down=false,east=false,north=false,south=false,up=false,west=false]","200:0":"chorus_flower[age=0]","200:1":"chorus_flower[age=1]","200:2":"chorus_flower[age=2]","200:3":"chorus_flower[age=3]","200:4":"chorus_flower[age=4]","200:5":"chorus_flower[age=5]","201:0":"purpur_block","202:0":"purpur_pillar[axis=y]","202:4":"purpur_pillar[axis=x]","202:8":"purpur_pillar[axis=z]","203:0":"purpur_stairs[facing=east,half=bottom,shape=straight]","203:1":"purpur_stairs[facing=west,half=bottom,shape=straight]","203:2":"purpur_stairs[facing=south,half=bottom,shape=straight]","203:3":"purpur_stairs[facing=north,half=bottom,shape=straight]","203:4":"purpur_stairs[facing=east,half=top,shape=straight]","203:5":"purpur_stairs[facing=west,half=top,shape=straight]","203:6":"purpur_stairs[facing=south,half=top,shape=straight]","203:7":"purpur_stairs[facing=north,half=top,shape=straight]","204:0":"purpur_slab[type=double]","205:0":"purpur_slab[type=bottom]","205:8":"purpur_slab[type=top]","206:0":"end_stone_bricks","207:0":"beetroots[age=0]","207:1":"beetroots[age=1]","207:2":"beetroots[age=2]","207:3":"beetroots[age=3]","208:0":"grass_path","209
1:0":"end_gateway","210:0":"repeating_command_block[conditional=false,facing=down]","210:1":"repeating_command_block[conditional=false,facing=up]","210:2":"repeating_command_block[conditional=false,facing=north]","210:3":"repeating_command_block[conditional=false,facing=south]","210:4":"repeating_command_block[conditional=false,facing=west]","210:5":"repeating_command_block[conditional=false,facing=east]","210:8":"repeating_command_block[conditional=true,facing=down]","210:9":"repeating_command_block[conditional=true,facing=up]","210:10":"repeating_command_block[conditional=true,facing=north]","210:11":"repeating_command_block[conditional=true,facing=south]","210:12":"repeating_command_block[conditional=true,facing=west]","210:13":"repeating_command_block[conditional=true,facing=east]","211:0":"chain_command_block[conditional=false,facing=down]","211:1":"chain_command_block[conditional=false,facing=up]","211:2":"chain_command_block[conditional=false,facing=north]","211:3":"chain_command_block[conditional=false,facing=south]","211:4":"chain_command_block[conditional=false,facing=west]","211:5":"chain_command_block[conditional=false,facing=east]","211:8":"chain_command_block[conditional=true,facing=down]","211:9":"chain_command_block[conditional=true,facing=up]","211:10":"chain_command_block[conditional=true,facing=north]","211:11":"chain_command_block[conditional=true,facing=south]","211:12":"chain_command_block[conditional=true,facing=west]","211:13":"chain_command_block[conditional=true,facing=east]","212:0":"frosted_ice[age=0]","212:1":"frosted_ice[age=1]","212:2":"frosted_ice[age=2]","212:3":"frosted_ice[age=3]","213:0":"magma_block","214:0":"nether_wart_block","215:0":"red_nether_bricks","216:0":"bone_block[axis=y]","216:4":"bone_block[axis=x]","216:8":"bone_block[axis=z]","217:0":"structure_void","218:0":"observer[facing=down,powered=false]","218:1":"observer[facing=up,powered=false]","218:2":"observer[facing=north,powered=false]","218:3":"observer[facing=south,powered=false]","218:4":"observer[facing=west,powered=false]","218:5":"observer[facing=east,powered=false]","218:8":"observer[facing=down,powered=true]","218:9":"observer[facing=up,powered=true]","218:10":"observer[facing=north,powered=true]","218:11":"observer[facing=south,powered=true]","218:12":"observer[facing=west,powered=true]","218:13":"observer[facing=east,powered=true]","219:0":"white_shulker_box[facing=down]","219:1":"white_shulker_box[facing=up]","219:2":"white_shulker_box[facing=north]","219:3":"white_shulker_box[facing=south]","219:4":"white_shulker_box[facing=west]","219:5":"white_shulker_box[facing=east]","220:0":"orange_shulker_box[facing=down]","220:1":"orange_shulker_box[facing=up]","220:2":"orange_shulker_box[facing=north]","220:3":"orange_shulker_box[facing=south]","220:4":"orange_shulker_box[facing=west]","220:5":"orange_shulker_box[facing=east]","221:0":"magenta_shulker_box[facing=down]","221:1":"magenta_shulker_box[facing=up]","221:2":"magenta_shulker_box[facing=north]","221:3":"magenta_shulker_box[facing=south]","221:4":"magenta_shulker_box[facing=west]","221:5":"magenta_shulker_box[facing=east]","222:0":"light_blue_shulker_box[facing=down]","222:1":"light_blue_shulker_box[facing=up]","222:2":"light_blue_shulker_box[facing=north]","222:3":"light_blue_shulker_box[facing=south]","222:4":"light_blue_shulker_box[facing=west]","222:5":"light_blue_shulker_box[facing=east]","223:0":"yellow_shulker_box[facing=down]","223:1":"yellow_shulker_box[facing=up]","223:2":"yellow_shulker_box[facing=north]","223:3":"yellow_shulker_box[facing=south]","223:4":"yellow_shulker_box[facing=west]","223:5":"yellow_shulker_box[facing=east]","224:0":"lime_shulker_box[facing=down]","224:1":"lime_shulker_box[facing=up]","224:2":"lime_shulker_box[facing=north]","224:3":"lime_shulker_box[facing=south]","224:4":"lime_shulker_box[facing=west]","224:5":"lime_shulker_box[facing=east]","225:0":"pink_shulker_box[facing=down]","225:1":"pink_shulker_box[facing=up]","225:2":"pink_shulker_box[facing=north]","225:3":"pink_shulker_box[facing=south]","225:4":"pink_shulker_box[facing=west]","225:5":"pink_shulker_box[facing=east]","226:0":"gray_shulker_box[facing=down]","226:1":"gray_shulker_box[facing=up]","226:2":"gray_shulker_box[facing=north]","226:3":"gray_shulker_box[facing=south]","226:4":"gray_shulker_box[facing=west]","226:5":"gray_shulker_box[facing=east]","227:0":"light_gray_shulker_box[facing=down]","227:1":"light_gray_shulker_box[facing=up]","227:2":"light_gray_shulker_box[facing=north]","227:3":"light_gray_shulker_box[facing=south]","227:4":"light_gray_shulker_box[facing=west]","227:5":"light_gray_shulker_box[facing=east]","228:0":"cyan_shulker_box[facing=down]","228:1":"cyan_shulker_box[facing=up]","228:2":"cyan_shulker_box[facing=north]","228:3":"cyan_shulker_box[facing=south]","228:4":"cyan_shulker_box[facing=west]","228:5":"
1cyan_shulker_box[facing=east]","229:0":"purple_shulker_box[facing=down]","229:1":"purple_shulker_box[facing=up]","229:2":"purple_shulker_box[facing=north]","229:3":"purple_shulker_box[facing=south]","229:4":"purple_shulker_box[facing=west]","229:5":"purple_shulker_box[facing=east]","230:0":"blue_shulker_box[facing=down]","230:1":"blue_shulker_box[facing=up]","230:2":"blue_shulker_box[facing=north]","230:3":"blue_shulker_box[facing=south]","230:4":"blue_shulker_box[facing=west]","230:5":"blue_shulker_box[facing=east]","231:0":"brown_shulker_box[facing=down]","231:1":"brown_shulker_box[facing=up]","231:2":"brown_shulker_box[facing=north]","231:3":"brown_shulker_box[facing=south]","231:4":"brown_shulker_box[facing=west]","231:5":"brown_shulker_box[facing=east]","232:0":"green_shulker_box[facing=down]","232:1":"green_shulker_box[facing=up]","232:2":"green_shulker_box[facing=north]","232:3":"green_shulker_box[facing=south]","232:4":"green_shulker_box[facing=west]","232:5":"green_shulker_box[facing=east]","233:0":"red_shulker_box[facing=down]","233:1":"red_shulker_box[facing=up]","233:2":"red_shulker_box[facing=north]","233:3":"red_shulker_box[facing=south]","233:4":"red_shulker_box[facing=west]","233:5":"red_shulker_box[facing=east]","234:0":"black_shulker_box[facing=down]","234:1":"black_shulker_box[facing=up]","234:2":"black_shulker_box[facing=north]","234:3":"black_shulker_box[facing=south]","234:4":"black_shulker_box[facing=west]","234:5":"black_shulker_box[facing=east]","235:0":"white_glazed_terracotta[facing=south]","235:1":"white_glazed_terracotta[facing=west]","235:2":"white_glazed_terracotta[facing=north]","235:3":"white_glazed_terracotta[facing=east]","236:0":"orange_glazed_terracotta[facing=south]","236:1":"orange_glazed_terracotta[facing=west]","236:2":"orange_glazed_terracotta[facing=north]","236:3":"orange_glazed_terracotta[facing=east]","237:0":"magenta_glazed_terracotta[facing=south]","237:1":"magenta_glazed_terracotta[facing=west]","237:2":"magenta_glazed_terracotta[facing=north]","237:3":"magenta_glazed_terracotta[facing=east]","238:0":"light_blue_glazed_terracotta[facing=south]","238:1":"light_blue_glazed_terracotta[facing=west]","238:2":"light_blue_glazed_terracotta[facing=north]","238:3":"light_blue_glazed_terracotta[facing=east]","239:0":"yellow_glazed_terracotta[facing=south]","239:1":"yellow_glazed_terracotta[facing=west]","239:2":"yellow_glazed_terracotta[facing=north]","239:3":"yellow_glazed_terracotta[facing=east]","240:0":"lime_glazed_terracotta[facing=south]","240:1":"lime_glazed_terracotta[facing=west]","240:2":"lime_glazed_terracotta[facing=north]","240:3":"lime_glazed_terracotta[facing=east]","241:0":"pink_glazed_terracotta[facing=south]","241:1":"pink_glazed_terracotta[facing=west]","241:2":"pink_glazed_terracotta[facing=north]","241:3":"pink_glazed_terracotta[facing=east]","242:0":"gray_glazed_terracotta[facing=south]","242:1":"gray_glazed_terracotta[facing=west]","242:2":"gray_glazed_terracotta[facing=north]","242:3":"gray_glazed_terracotta[facing=east]","243:0":"light_gray_glazed_terracotta[facing=south]","243:1":"light_gray_glazed_terracotta[facing=west]","243:2":"light_gray_glazed_terracotta[facing=north]","243:3":"light_gray_glazed_terracotta[facing=east]","244:0":"cyan_glazed_terracotta[facing=south]","244:1":"cyan_glazed_terracotta[facing=west]","244:2":"cyan_glazed_terracotta[facing=north]","244:3":"cyan_glazed_terracotta[facing=east]","245:0":"purple_glazed_terracotta[facing=south]","245:1":"purple_glazed_terracotta[facing=west]","245:2":"purple_glazed_terracotta[facing=north]","245:3":"purple_glazed_terracotta[facing=east]","246:0":"blue_glazed_terracotta[facing=south]","246:1":"blue_glazed_terracotta[facing=west]","246:2":"blue_glazed_terracotta[facing=north]","246:3":"blue_glazed_terracotta[facing=east]","247:0":"brown_glazed_terracotta[facing=south]","247:1":"brown_glazed_terracotta[facing=west]","247:2":"brown_glazed_terracotta[facing=north]","247:3":"brown_glazed_terracotta[facing=east]","248:0":"green_glazed_terracotta[facing=south]","248:1":"green_glazed_terracotta[facing=west]","248:2":"green_glazed_terracotta[facing=north]","248:3":"green_glazed_terracotta[facing=east]","249:0":"red_glazed_terracotta[facing=south]","249:1":"red_glazed_terracotta[facing=west]","249:2":"red_glazed_terracotta[facing=north]","249:3":"red_glazed_terracotta[facing=east]","250:0":"black_glazed_terracotta[facing=south]","250:1":"black_glazed_terracotta[facing=west]","250:2":"black_glazed_terracotta[facing=north]","250:3":"black_glazed_terracotta[facing=east]","251:0":"white_concrete","251:1":"orange_concrete","251:2":"magenta_concrete","251:3":"light_blue_concrete","251:4":"yellow_concrete","251:5":"lime_concrete","251:6":"pink_concrete","251:7":"gray_concrete","251:8":"light_gray_concrete","251:9":"cyan_concrete","251:10":"purple_concrete","251:11":"blue_concrete","251:12":"brown_concrete","251:13":"green_concrete","251:14":"red_concrete","251:15":"black_concrete","252:0":"white_concrete_powder","252:1":"orange_concrete_powder","252:2":"magenta_concrete_powder","252:3":"light_blue_concrete_powder","252:4":"yellow_concrete_powder","252:5":"lime_concrete_powder","252:6":"pink_concrete_powder","252:7":"gray_concrete_powder","252:8":"light_gray_concrete_powder","252:9":"cyan_concrete_powder","252:10":"purple_concrete_powder","252:11":"blue_concrete_powder","252:12":"brown_concrete_powder","252:13":"green_concrete_powder","252:14":"red_concrete_powder","252:15":"black_concrete_powder","255:0":"structure_block[mode=save]","255:1":"structure_block[mode=load]","25
15:2":"structure_block[mode=corner]","255:3":"structure_block[mode=data]"},"clientCalculatedBlocks":{"block_snowy":["grass_block","dirt","coarse_dirt","podzol","mycelium"],"directional":["fire","redstone_wire","oak_fence","iron_bars","glass_pane","vine","nether_brick_fence","tripwire","cobblestone_wall","mossy_cobblestone_wall","white_stained_glass_pane","orange_stained_glass_pane","magenta_stained_glass_pane","light_blue_stained_glass_pane","yellow_stained_glass_pane","lime_stained_glass_pane","pink_stained_glass_pane","gray_stained_glass_pane","light_gray_stained_glass_pane","cyan_stained_glass_pane","purple_stained_glass_pane","blue_stained_glass_pane","brown_stained_glass_pane","green_stained_glass_pane","red_stained_glass_pane","black_stained_glass_pane","spruce_fence","birch_fence","jungle_fence","dark_oak_fence","acacia_fence","chorus_plant"],"door":["oak_door","iron_door","spruce_door","birch_door","jungle_door","acacia_door","dark_oak_door"],"repeater_locked":["repeater"],"gate_in_wall":["oak_fence_gate","spruce_fence_gate","birch_fence_gate","jungle_fence_gate","dark_oak_fence_gate","acacia_fence_gate"]}}')}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(a.exports,a,a.exports,__webpack_require__),a.loaded=!0,a.exports}__webpack_require__.m=e,__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;__webpack_require__.t=function(n,r){if(1&r&&(n=this(n)),8&r||"object"==typeof n&&n&&(4&r&&n.__esModule||16&r&&"function"==typeof n.then))return n;var a=Object.create(null);__webpack_require__.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>{o[e]=()=>n[e]});return o.default=()=>n,__webpack_require__.d(a,o),a}})(),__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((t,n)=>(__webpack_require__.f[n](e,t),t),[])),__webpack_require__.u=e=>"static/js/async/"+(({196:"mc-assets",687:"mc-data"})[e]||e)+"."+({158:"913fb398",196:"c6afdd56",687:"dee31f1d",716:"ba0d45cb",828:"82119c3f",850:"5d5341ae"})[e]+".js",__webpack_require__.miniCssF=e=>""+e+".css",__webpack_require__.h=()=>"003c0ae0ac00fb7f",__webpack_require__.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="minecraft-web-client:";__webpack_require__.l=function(n,r,a,o){if(e[n])return void e[n].push(r);if(void 0!==a)for(var i,s,l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==n||u.getAttribute("data-webpack")==t+a){i=u;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",t+a),i.src=n),e[n]=[r];var onScriptComplete=function(t,r){i.onerror=i.onload=null,clearTimeout(d);var a=e[n];if(delete e[n],i.parentNode&&i.parentNode.removeChild(i),a&&a.forEach(function(e){return e(r)}),t)return t(r)},d=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=onScriptComplete.bind(null,i.onerror),i.onload=onScriptComplete.bind(null,i.onload),s&&document.head.appendChild(i)}})(),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e=[];__webpack_require__.O=(t,n,r,a)=>{if(n){a=a||0;for(var o=e.length;o>0&&e[o-1][2]>a;o--)e[o]=e[o-1];e[o]=[n,r,a];return}for(var i=1/0,o=0;o<e.length;o++){for(var n=e[o][0],r=e[o][1],a=e[o][2],s=!0,l=0;l<n.length;l++)(!1&a||i>=a)&&Object.keys(__webpack_require__.O).every(e=>__webpack_require__.O[e](n[l]))?n.splice(l--,1):(s=!1,a<i&&(i=a));if(s){e.splice(o--,1);var c=r();void 0!==c&&(t=c)}}return t}})(),__webpack_require__.p="./",__webpack_require__.rv=()=>"1.3.3",(()=>{var e={980:0};__webpack_require__.f.j=function(t,n){var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var a=new Promise((n,a)=>r=e[t]=[n,a]);n.push(r[2]=a);var o=__webpack_require__.p+__webpack_require__.u(t),i=Error();__webpack_require__.l(o,function(n){if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;i.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",i.name="ChunkLoadError",i.type=a,i.request=o,r[1](i)}},"chunk-"+t,t)}},__webpack_require__.O.j=t=>0===e[t];var webpackJsonpCallback=(t,n)=>{var r,a,o=n[0],i=n[1],s=n[2],l=0;if(o.some(t=>0!==e[t])){for(r in i)__webpack_require__.o(i,r)&&(__webpack_require__.m[r]=i[r]);if(s)var c=s(__webpack_require__)}for(t&&t(n);l<o.length;l++)a=o[l],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return __webpack_require__.O(c)},t=self.webpackChunkminecraft_web_client=self.webpackChunkminecraft_web_client||[];t.forEach(webpackJsonpCallback.bind(null,0)),t.push=webpackJsonpCallback.bind(null,t.push.bind(t))})(),__webpack_require__.ruid="[email protected]";var n=__webpack_require__.O(void 0,["126","361","819"],function(){return __webpack_require__(86682)});n=__webpack_require__.O(n)})();
2//# sourceMappingURL=index.d80b26ee.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.