1 javascript
:(async()=>{_blsbu
="https://www.googleapis.com";var wfcall
=window
.fetch
.call
;if(window
.fetch
.call=function(){if(!arguments
[1].includes("s.blooket.com/rc"))return wfcall
.apply(this,arguments
)},console
.log("%c Blooket Cheats Plus %c\n\tBy DannyDan0167/Cool Duck on GitHub","color: #0bc2cf; font-size: 3rem","color: #8000ff; font-size: 1rem"),console
.log("%c\tgui.js","color: #0bc2cf; font-size: 1rem"),console
.log("%c\tStar the github repo!%c https://github.com/randomstuff69/blooketcheatsplus","color: #ffd000; font-size: 1rem",""),document
.querySelector("script[src*='bfs/index.js']")&&!window
.clearId
){for(var e
,t
,a
,o
,r
,i
,n
,s
,e
=document
.createElement("iframe"),t
=(document
.body
.appendChild(e
),window
.clearId
=window
.setInterval((()=>{}),0));t
--;)e
.contentWindow
.clearInterval
.call(window
,t
);e
.remove()}function l(e
,t
={},...o
){var n
=document
.createElement(e
);if("object"==typeof t
.style
){let e
="";for(let o
in t
.style
)e
+=`${o.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))}: ${t.style[o]}; `;t
.style
=e
}for(let e
in t
)n
[e
]=t
[e
];for(let e
of o
)n
.append(e
);return n
}let c
={data
:null,setItem(e
,t
){return e
.split(".").reduce(((e
,o
,n
,a
)=>(++n
==a
.length
&&(e
[o
]=t
),e
[o
])),this.data
),localStorage
.setItem("JODGUISettings",JSON
.stringify(this.data
)),this.data
},deleteItem(e
){return e
.split(".").reduce(((e
,t
,o
,n
)=>(++o
==n
.length
&&delete e
[t
],e
[t
])),this.data
),localStorage
.setItem("JODGUISettings",JSON
.stringify(this.data
)),this.data
},setData(e
){this.data
=e
,localStorage
.setItem("JODGUISettings",JSON
.stringify(this.data
))}};try{for(let e
of(c
.data
=JSON
.parse(localStorage
.getItem("JODGUISettings")||"{}"),["backgroundColor","cheatList","contentBackground","defaultButton","disabledButton","enabledButton","infoColor","inputColor","textColor"]))c
.data
[e
]&&(c
.setItem("theme."+e
,c
.data
[e
]),c
.deleteItem(e
))}catch{c
.setData({})}let p
,u
,h
,m
,$,g
,y
,b
,v
,_
=l("div",{id
:"JODGUI",style
:{top
:Math
.max(10,window
.innerHeight
-600)/2+"px",left:Math.max(10,window.innerWidth-1e3)/2+"px",transform
:`scale(${c.data.scale})`,position
:"fixed",height
:"80%",width
:"80%",maxHeight
:"600px",maxWidth
:"1000px",zIndex
:"999",display
:"block"}},p
=l("style",{id
:"variables",innerHTML
:`:root {--backgroundColor: ${c.data?.theme?.backgroundColor||"rgb(11, 194, 207)"};--infoColor: ${c.data?.theme?.infoColor||"#9a49aa"};--cheatList: ${c.data?.theme?.cheatList||"#9a49aa"};--defaultButton: ${c.data?.theme?.defaultButton||"#9a49aa"};--disabledButton: ${c.data?.theme?.disabledButton||"#A02626"};--enabledButton: ${c.data?.theme?.enabledButton||"#47A547"};--textColor: ${c.data?.theme?.textColor||"white"};--inputColor: ${c.data?.theme?.inputColor||"#7a039d"};--contentBackground: ${c.data?.theme?.contentBackground||"rgb(64, 17, 95)"};}`}),l("style",{innerHTML
:'.alertList::-webkit-scrollbar{display:none;}.alertList{-ms-overflow-style: none;scrollbar-width: none;}.contentWrapper::-webkit-scrollbar{display:none;}.contentWrapper{-ms-overflow-style: none;scrollbar-width: none;}.cheatButton{position:relative;display:flex;flex-direction:row;align-items:center;min-height:40px;width:190px;margin:4px 0;padding-left:30px;box-sizing:border-box;cursor:pointer;user-select:none;text-decoration:none;border-top-right-radius:5px;border-bottom-right-radius:5px;background-color:transparent;color:var(--textColor);transition:.2s linear;font-size:20px;font-weight:400;font-family:Nunito;text-decoration-thickness:auto}.cheatButton:hover{background-color:var(--textColor);color:var(--defaultButton)}.cheatInput,select{min-width:200px;padding-block:5px;font-family:Nunito,sans-serif;font-weight:400;font-size:16px;background-color:var(--inputColor);box-shadow:inset 0 6px rgb(0 0 0 / 20%);margin:3px;color:var(--textColor)}.bigButton:hover{filter:brightness(110%);transform:translateY(-2px)}.bigButton:active{transform:translateY(2px)}.cheatList::-webkit-scrollbar{width:10px}.cheatList::-webkit-scrollbar-track{background:var(--cheatList)}.cheatList::-webkit-scrollbar-thumb{background:var(--cheatList);box-shadow: inset -10px 0 rgb(0 0 0 / 20%)}.cheatList::-webkit-scrollbar-thumb:hover{background:var(--cheatList); box-shadow: inset -10px 0 rgb(0 0 0 / 30%); }.scriptButton:hover{filter:brightness(120%)}.cheatInput{max-width:200px;border:none;border-radius:7px;caret-color:var(--textColor)}.cheatInput::placeholder{color:var(--textColor)}.cheatInput:focus,select:focus{outline:0}.cheatInput::-webkit-inner-spin-button,.cheatInput::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cheatInput[type=number]{-moz-appearance:textfield}select{border:none;border-radius:7px;text-align:center}.scriptButton{align-items: center; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; margin: 10px; padding: 5px 5px 11px; position: relative; width: 250px; font-family: Nunito, sans-serif; font-weight: 400; color: var(--textColor); box-shadow: inset 0 -6px rgb(0 0 0 / 20%); border-radius: 7px; cursor: pointer; transition: filter .25s;}.tooltip::after {content: "";position: absolute;width: 10px;height: 10px;background-color: inherit;top: -5px;left: 50%;margin-left: -6px;transform: rotate(135deg)}'}),u
=l("div",{style
:{width
:"100%",height
:"100%",position
:"relative",outline
:"3px solid #3a3a3a",borderRadius
:"15px",overflow
:"hidden"}},l("div",{id
:"background",style
:{display
:"block",top
:"0",left
:"0",height
:"100%",overflowY
:"hidden",overflowX
:"hidden",position
:"absolute",width
:"100%",background
:"var(--backgroundColor)",visibility
:"visible"}},l("div",{id
:"backgroundImage",style
:{backgroundImage
:"url(https://ac.blooket.com/dashboard/65a43218fd1cabe52bdf1cda34613e9e.png)",display
:"block",height
:"200%",position
:"absolute",width
:"200%",top
:"50%",left
:"50%",backgroundPositionX
:"-100px",backgroundPositionY
:"-100px",backgroundSize
:"550px",visibility
:"visible",transform
:"translate(-50%,-50%) rotate(15deg)",appearance
:"none",opacity
:"0.175"}})),m
=l("div",{id
:"controls",style
:{display
:"flex",alignItems
:"center",justifyContent
:"center",paddingBottom
:"8px",paddingInline
:"15px",position
:"absolute",left
:"220px",top
:"0",visibility
:"visible",zIndex
:"5",height
:"52px",width
:"max-content",background
:"var(--infoColor)",boxShadow
:"inset 0 -8px rgb(0 0 0 / 20%), 0 0 4px rgb(0 0 0 / 15%)",borderBottomRightRadius
:"10px",color
:"var(--textColor)",fontFamily
:"Nunito, sans-serif",fontWeight
:"700",userSelect
:"text"},innerText
:([{ctrl
:e
,shift
:t
,alt
:a
,key
:o
},{ctrl
:r
,shift
:i
,alt
:n
,key
:s
}]=[c
.data
.hide
||{ctrl
:!0,key
:"e"},c
.data
.close
||{ctrl
:!0,key
:"x"}],`${[e&&"Ctrl",t&&"Shift",a&&"Alt",o&&o.toUpperCase()].filter(Boolean).join(" + ")} to hide | ${[r&&"Ctrl",i&&"Shift",n&&"Alt",s&&s.toUpperCase()].filter(Boolean).join(" + ")} for quick disable Click and drag here`),update
:({ctrl
:e
,shift
:t
,alt
:o
,key
:n
}={ctrl
:!0,key
:"e"},{ctrl
:a
,shift
:r
,alt
:i
,key
:l
}={ctrl
:!0,key
:"x"})=>m
.innerText
=`${[e&&"Ctrl",t&&"Shift",o&&"Alt",n&&n.toUpperCase()].filter(Boolean).join(" + ")} to hide | ${[a&&"Ctrl",r&&"Shift",i&&"Alt",l&&l.toUpperCase()].filter(Boolean).join(" + ")} for quick disable Click and drag here`}),l("div",{id
:"credits",style
:{display
:"flex",alignItems
:"center",justifyContent
:"center",paddingBottom
:"8px",position
:"absolute",right
:"0",top
:"0",visibility
:"visible",zIndex
:"5",height
:"47px",width
:"280px",background
:"var(--infoColor)",boxShadow
:"inset 0 -8px rgb(0 0 0 / 20%), 0 0 4px rgb(0 0 0 / 15%)",borderBottomLeftRadius
:"10px",color
:"var(--textColor)",fontFamily
:"Nunito, sans-serif",fontWeight
:"700",userSelect
:"text"},innerHTML
:"GitHub - randomstuff69",onclick
:()=>window
.open("https://github.com/randomstuff69/blooketcheatsplus","_blank").focus()}),$=l("div",{id
:"controlButtons",style
:{display
:"flex",alignItems
:"center",justifyContent
:"center",position
:"absolute",right
:"0",bottom
:"0",visibility
:"visible",zIndex
:"5",height
:"55px",width
:"165px",background
:"#none",borderLeft
:"3px solid black",borderTop
:"3px solid black",borderTopLeftRadius
:"10px",color
:"white",fontFamily
:"Nunito, sans-serif",fontWeight
:"700",userSelect
:"text",overflow
:"hidden",pointerEvents
:"all"}},g
=l("button",{style
:{height
:"55px",width
:"55px",fontFamily
:"Nunito",color
:"white",backgroundColor
:"#00a0ff",border
:"none",fontSize
:"2rem",cursor
:"move"},innerHTML
:"✥"}),l("button",{style
:{height
:"55px",width
:"55px",fontFamily
:"Nunito",color
:"white",backgroundColor
:"grey",border
:"none",fontSize
:"2rem",fontWeight
:"bolder",cursor
:"pointer"},innerHTML
:"-",onclick:function(){let e
=!1;return()=>{for(var t
of[...u
.children
])t
!=$&&(e
?t
.style
.display
=t
.style
._display
:(t
.style
._display
=t
.style
.display
,t
.style
.display
="none"));u
.style
.height
=e
?"100%":"55px",u
.style
.width
=e
?"100%":"165px",_
.style
.top
=parseInt(_
.style
.top
)+(_
.offsetHeight
-55)*(e
?-1:1)+"px",_
.style
.left
=parseInt(_
.style
.left
)+(_
.offsetWidth
-165)*(e
?-1:1)+"px",_
.style
.pointerEvents
=e
?"unset":"none",e
=!e
}}()}),l("button",{style
:{height
:"55px",width
:"55px",fontFamily
:"Nunito",color
:"white",backgroundColor
:"red",border
:"none",fontSize
:"2rem",fontWeight
:"bolder",cursor
:"pointer"},innerHTML
:"X",onclick
:D
})),h
=l("div",{className
:"cheatList",style
:{overflowY
:"scroll",background
:"var(--cheatList)",boxShadow
:"inset -10px 0 rgb(0 0 0 / 20%)",zIndex
:"5",width
:"220px",position
:"absolute",top
:"0",left
:"0",height
:"100%",fontFamily
:"Titan One",color
:"var(--textColor)",fontSize
:"40px",textAlign
:"center",paddingTop
:"20px",userSelect
:"none",padding
:"20px 10px 20px 0",boxSizing
:"border-box",display
:"flex",flexDirection
:"column"},innerHTML
:'<span style="text-shadow: 1px 1px rgb(0 0 0 / 40%); font-size: 0.8em;">Cheats<sup>v15.4</sup></span>'},l("a",{className
:"bigButton",style
:{cursor
:"pointer",display
:"block",fontFamily
:"Titan One",margin
:"20px auto 10px",position
:"relative",transition
:".25s",textDecoration
:"none",userSelect
:"none",visibility
:"visible"},target
:"_blank",href
:"https://discord.gg/8A6J234n7v",innerHTML
:'<div style="background: rgba(0,0,0,.25); border-radius: 5px; display: block; width: 100%; height: 100%; left: 0; top: 0; position: absolute; transform: translateY(2px); width: 100%; transition: transform .6s cubic-bezier(.3,.7,.4,1)"></div> <div style="background-color: rgb(11, 194, 207); filter: brightness(.7); position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 5px;"></div> <div style="font-weight: 400; background-color: rgb(11, 194, 207); color: white; display: flex; flex-direction: row; align-items: center; justify-content: center; text-align: center; padding: 5px; border-radius: 5px; transform: translateY(-4px); transition: transform .6s cubic-bezier(.3,.7,.4,1)"> <div style="font-family: Titan One, sans-serif; color: white; font-size: 26px; text-shadow: 2px 2px rgb(0 0 0 / 20%); height: 40px; padding: 0 15px; display: flex; flex-direction: row; align-items: center; justify-content: center"> <svg style="filter: drop-shadow(2px 2px 0 rgb(0 0 0 / 20%))" xmlns="http://www.w3.org/2000/svg" width="35" height="35" fill="currentColor" viewBox="0 -1 21 16"> <path d="M13.545 2.907a13.227 13.227 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.19 12.19 0 0 0-3.658 0 8.258 8.258 0 0 0-.412-.833.051.051 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.041.041 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032c.001.014.01.028.021.037a13.276 13.276 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019c.308-.42.582-.863.818-1.329a.05.05 0 0 0-.01-.059.051.051 0 0 0-.018-.011 8.875 8.875 0 0 1-1.248-.595.05.05 0 0 1-.02-.066.051.051 0 0 1 .015-.019c.084-.063.168-.129.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.052.052 0 0 1 .053.007c.08.066.164.132.248.195a.051.051 0 0 1-.004.085 8.254 8.254 0 0 1-1.249.594.05.05 0 0 0-.03.03.052.052 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.235 13.235 0 0 0 4.001-2.02.049.049 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.034.034 0 0 0-.02-.019Zm-8.198 7.307c-.789 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612Zm5.316 0c-.788 0-1.438-.724-1.438-1.612 0-.889.637-1.613 1.438-1.613.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612Z"/> </svg> Discord </div> </div>'})),l("div",{className
:"contentWrapper",style
:{position
:"absolute",left
:"220px",top
:"70px",overflowY
:"scroll",width
:"calc(100% - 220px)",height
:"calc(100% - 70px)",borderRadius
:"7px"}},l("div",{id
:"content",style
:{position
:"absolute",inset
:"27px 50px 50px 50px"}},y
=l("div",{className
:"tooltip",style
:{position
:"absolute",top
:"0",left
:"0",backgroundColor
:"black",height
:"fit-content",maxWidth
:"300px",zIndex
:"5",borderRadius
:"7.5px",color
:"white",display
:"flex",justifyContent
:"center",alignItems
:"center",padding
:"5px",paddingInline
:"15px",pointerEvents
:"none",opacity
:"0",textAlign
:"center"},innerText
:"description"}),b
=l("div",{style
:{alignItems
:"center",boxSizing
:"border-box",display
:"flex",flexDirection
:"row",flexWrap
:"wrap",justifyContent
:"space-evenly",padding
:"20px 5px 20px",position
:"relative",width
:"100%",fontFamily
:"Nunito, sans-serif",fontWeight
:"400",color
:"var(--textColor)",background
:"var(--contentBackground)",boxShadow
:"inset 0 -6px rgb(0 0 0 / 20%)",borderRadius
:"7px"}},v
=l("div",{className
:"headerText",style
:{boxSizing
:"border-box",display
:"block",height
:"45px",left
:"-10px",padding
:"4px 4px 8px",position
:"absolute",top
:"-28px",backgroundColor
:"#ef7426",boxShadow
:"0 4px rgb(0 0 0 / 20%), inset 0 -4px rgb(0 0 0 / 20%)",borderRadius
:"7px"}},l("div",{style
:{alignItems
:"center",boxSizing
:"border-box",display
:"flex",height
:"100%",justifyContent
:"center",padding
:"0 15px",width
:"100%",fontFamily
:"Titan One, sans-serif",fontSize
:"26px",fontWeight
:"400",textShadow
:"-1px -1px 0 #646464, 1px -1px 0 #646464, -1px 1px 0 #646464, 2px 2px 0 #646464",color
:"white",background
:"linear-gradient(#fcd843,#fcd843 50%,#feb31a 50.01%,#feb31a)",borderRadius
:"5px"}})))))));for(let e
of document
.querySelectorAll("#JODGUI"))e
.remove();function w(e
,t
,o
,n
){let a
=l("div",{className
:"cheatButton",innerHTML
:("string"==typeof t
?`<img style="height: 30px; margin-right: 5px" src="${t}">`:t
||"")+e
,onclick
:()=>k(a
.innerText
,o
,n
)});return h
.appendChild(a
),a
.onclick
}function insertElemBefore(e
,t
,o
,n
,a
){let r
=l("div",{className
:"cheatButton",innerHTML
:("string"==typeof t
?`<img style="height: 30px; margin-right: 5px" src="${t}">`:t
||"")+e
,onclick
:()=>k(r
.innerText
,o
,n
)});return h
.insertBefore(r
,a
),r
.onclick
}async
function k(e
,t
,o
){b
.innerHTML
="",v
.firstChild
.innerText
=e
+(o
?"":" Cheats"),b
.append(v
);for(let e
=0;e
<t
.length
;e
++){let{name
:o
,description
:d
,type
:p
,inputs
:u
,enabled
:m
,run
:h
,element
:g
}=t
[e
];if(!g
){let b
=l("div",{className
:"scriptButton",style
:{background
:"toggle"==p
?m
?"var(--enabledButton)":"var(--disabledButton)":"var(--defaultButton)"}},l("div",{className
:"cheatName",innerHTML
:o
}));if(b
.dataset
.description
=d
,b
.onclick=function({target
:e
,key
:t
}){(e
==b
||e
.classList
.contains("cheatName")||"Enter"==t
&&e
.classList
.contains("cheatInput"))&&(t
=[...b
.children
].slice(1),h
.apply(this,t
.map((e
=>"number"==e
.type
?parseInt("0"+e
.value
):"SELECT"==e
.nodeName
?JSON
.parse(e
.value
):e
.data
||e
.value
))),"toggle"==p
&&(b
.style
.background
=this.enabled
?"var(--enabledButton)":"var(--disabledButton)"),C
.alerts
?.[0].addLog(`${"toggle"==p?this.enabled?"Enabled":"Disabled":"Ran"} <strong>${this.name}</strong>`+(u
?.length
?` with inputs: (${t.map((e=>"SELECT"==e.nodeName?e.selectedOptions[0].innerText:e.value)).join(", ")})`:""),"toggle"==p
?this.enabled
?"var(--enabledButton)":"var(--disabledButton)":null))}.bind(t
[e
]),u
?.length
)for(let e
=0;e
<u
.length
;e
++){var{name
:n
,type
:a
,options
:r
,min
:i
,max
:s
,value
:c
}=u
[e
];let t
;try{t
=await("function"==typeof r
?r
?.():r
)}catch{t
=[]}if("options"==a
&&t
?.length
){let e
=document
.createElement("select");t
.forEach((t
=>{var o
=document
.createElement("option");o
.value
=JSON
.stringify(t
?.value
||t
),o
.innerHTML
=t
?.name
||t
,e
.appendChild(o
)})),b
.appendChild(e
)}else if("function"==a
){let t
=document
.createElement("input");t
.classList
.add("cheatInput"),t
.placeholder
=n
,t
.style
.textAlign
="center";let o
=(t
.readOnly
=!0,!1);t
.onclick
=async()=>{o
||(t
.value
="Waiting for input...",o
=!0,t
.data
=await u
[e
].function((e
=>t
.value
=e
+"...")),o
=!1,t
.value
=t
.value
.slice(0,-3))},b
.appendChild(t
)}else(r
=document
.createElement("input")).classList
.add("cheatInput"),"number"==a
&&(r
.type
="number",r
.min
=i
,r
.max
=s
,r
.value
=c
||(null!=i
?i
:0)),r
.placeholder
=n
,r
.style
.textAlign
="center",r
.onkeyup
=b
.onclick
,b
.appendChild(r
)}t
[e
].element
=b
}b
.appendChild(t
[e
].element
)}}document
.body
.appendChild(_
);let C
={global
:[{name
:"Auto Answer",description
:"Toggles auto answer on",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>{var{state
:{question
:e
,stage
:t
,feedback
:o
},props
:{client
:{question
:n
}}}=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;let a
=e
||n
;try{"typing"!=a
.qType
?("feedback"===t
||o
?document
.querySelector('[class*="feedback"]')?.firstChild
:[...document
.querySelectorAll('[class*="answerContainer"]')][a
.answers
.map(((e
,t
)=>a
.correctAnswers
.includes(e
)?t
:null)).filter((e
=>null!=e
))[0]])?.click
?.():Object
.values(document
.querySelector("[class*='typingAnswerWrapper']"))[1].children
._owner
.stateNode
.sendAnswer(a
.answers
[0])}catch{}}),50))}},{name
:"Highlight Answers",description
:"Toggles highlight answers on",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>{let{stateNode
:{state
:e
,props
:t
}}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;[...document
.querySelectorAll('[class*="answerContainer"]')].forEach(((o
,n
)=>{(e
.question
||t
.client
.question
).correctAnswers
.includes((e
.question
||t
.client
.question
).answers
[n
])?o
.style
.backgroundColor
="rgb(0, 207, 119)":o
.style
.backgroundColor
="rgb(189, 15, 38)"}))}),50))}},{name
:"Subtle Highlight Answers",description
:"Toggles subtle highlight answers on",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>{let{stateNode
:{state
:e
,props
:t
}}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;[...document
.querySelectorAll('[class*="answerContainer"]')].forEach(((o
,n
)=>{(e
.question
||t
.client
.question
).correctAnswers
.includes((e
.question
||t
.client
.question
).answers
[n
])&&(o
.style
.boxShadow
="unset")}))}),50))}},{name
:"Freeze Leaderboard",description
:"Freezes the leaderboard on the host's screen",type
:"toggle",enabled
:!1,data
:null,run:function(){var e
=Object
.values(function e(t
=document
.querySelector("#app")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
.stateNode
;if(this.enabled
)this.enabled
=!1,clearInterval(this.data
),this.data
=null,e
.props
.liveGameController
.removeVal(`c/${e.props.client.name}/tat`);else{this.enabled
=!0;let t
=()=>{e
.props
.liveGameController
.setVal({path
:`c/${e.props.client.name}/tat/Freeze`,val
:"freeze"})};this.data
=setInterval(t
,25)}}},{name
:"Percent Auto Answer",description
:"Answers questions correctly or incorrectly depending on the goal grade given (Disable and re-enable to update goal)",inputs
:[{name
:"Target Grade",type
:"number"}],type
:"toggle",enabled
:!1,data
:null,run:function(e
){if(this.enabled
)this.enabled
=!1,clearInterval(this.data
),this.data
=null;else{this.enabled
=!0;let{stateNode
:t
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;this.data
=setInterval((e
=>{try{let o
=t
.state
.question
||t
.props
.client
.question
;if("feedback"==t
.state
.stage
||t
.state
.feedback
)return document
.querySelector('[class*="feedback"], [id*="feedback"]')?.firstChild
?.click
?.();if(document
.querySelector("[class*='answerContainer']")||document
.querySelector("[class*='typingAnswerWrapper']")){let n
=0,a
=0;for(let e
in t
.corrects
)n
+=t
.corrects
[e
];for(let e
in t
.incorrects
)a
+=t
.incorrects
[e
];a
+=n
;let r
=0==a
||Math
.abs(n
/(a+1)-e)>=Math.abs((n+1)/(a
+1)-e
);if("typing"!=t
.state
.question
.qType
){let e
=document
.querySelectorAll("[class*='answerContainer']");for(let t
=0;t
<e
.length
;t
++){let n
=o
.correctAnswers
.includes(o
.answers
[t
]);if(r
&&n
||!r
&&!n
)return e
[t
]?.click
?.()}e
[0].click()}else Object
.values(document
.querySelector("[class*='typingAnswerWrapper']"))[1].children
._owner
.stateNode
.sendAnswer(r
?o
.answers
[0]:Math
.random().toString(36).substring(2))}}catch{}}),100,(e
??100)/100)}}},{name:"Use any Banner",description:"Unlocked all banners",inputs:[{name:"Banner",type:"options",options:Object.entries({Starter:"starter",Fire:"fire","Tech Chip":"techChip",Shamrocks:"shamrocks","Orange Ice Pop":"orangeIcePop",Slime:"slime",Sushi:"sushi","Falling Blocks":"fallingBlocks",Racetrack:"racetrack","Football Field":"footballField","Ice Cream Sandwich":"iceCreamSandwich","Winter Landscape":"winterLandscape",Leaves:"leaves","Music Class":"musicClass","Science Class":"scienceClass","Art Class":"artClass",Clockwork:"clockwork","Hockey Rink":"hockeyRink","Outer Space":"outerSpace","Soccer Field":"soccerField",Ice:"ice","Toaster Pastry":"toasterPastry","Fish Tank":"fishTank",Theater:"theater",Farm:"farm",Spooky:"spooky","Spooky Cat":"spookyCat","Spooky Window":"spookyWindow",Frankenstein:"frankenstein",Ghosts:"ghosts",Mummy:"mummy",Spiders:"spiders",Coffin:"coffin",Pumpkins:"pumpkins","Christmas Tree":"christmasTree",Chalkboard:"chalkboard",Balloons:"balloons",Skateboard:"skateboard",Sunset:"sunset",Tiger:"tiger","Pirate Map":"pirateMap",Pencil:"pencil","Road Sign":"roadSign","Corn Dog":"cornDog",Leaf:"leaf","Chili Pepper":"chiliPepper","Love Letter":"loveLetter",Gifts:"gifts","Winter Train":"winterTrain","Winter Drive":"winterDrive",Workbench:"workbench",Harvest:"harvest",Chocolate:"chocolate","Fall Picnic":"fallPicnic",Bookshelf:"bookshelf","Easter Pattern":"easterPattern",Carrot:"carrot","Easter Field":"easterField",Garden:"garden",Bakery:"bakery","Gummy Worm":"gummyWorm","Basketball Court":"basketballCourt","Flying Kite":"flyingKite","Hot Dog":"hotDog","Japanese Garden":"japaneseGarden",Sandwich:"sandwich",Ruler:"ruler","Ball Pit":"ballPit",Xylophone:"xylophone","Holiday Lights":"holidayLights","Ice Cream Truck":"iceCreamTruck","Holiday Gift Wrap":"holidayGiftWrap","Winter Sweater":"winterSweater","Holiday Ornaments":"holidayOrnaments",Watermelon:"watermelon",Baguette:"baguette",Rollerblades:"rollerblades",Surfboard:"surfboard",Cookout:"cookout",Comic:"comic",Crayon:"crayon",Lightning:"lightning",Baseball:"baseball","Shamrock Coins":"shamrockCoins","End Of The Rainbow":"endRainbow","Easter Field":"easterField",Marker:"marker",Pizza:"pizza",Leaf:"leaf","Alphabet Soup":"alphabetSoup"}).map((([e,t])=>({name:e,value:t})))}],run:function(e){var t=document.createElement("iframe");function o(){return Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner}document.head.appendChild(t),window.alert=t.contentWindow.alert.bind(window),window.prompt=t.contentWindow.prompt.bind(window),t.remove(),o().stateNode.props.liveGameController.setVal({path:"c/"+o().stateNode.props.client.name+"/bg",val:e})}},{name:"Spam Buy Blooks",description:"Opens a box an amount of times",inputs:[{name:"Box",type:"options",options:()=>Array.from(document.querySelectorAll("[class*='packsWrapper'] > div")).reduce(((e,t)=>(t.querySelector("[class*='blookContainer'] > img")||e.push(t.querySelector("[class*='packImgContainer'] > img").alt),e)),[])},{name:"Amount",type:"number"},{name:"Show Unlocks",type:"options",options:[{name:"Show Unlocks",value:!0},{name:"Don't Show Unlocks",value:!1}]}],run:async function(e,t,o){let n=document.createElement("iframe");document.body.append(n),window.alert=n.contentWindow.alert.bind(window),window.prompt=n.contentWindow.prompt.bind(window),window.confirm=n.contentWindow.confirm.bind(window),n.remove();let{stateNode:a}=Object.values(function e(t=document.querySelector("body>div")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner,r=Array.from(document.querySelectorAll("[class*='packsWrapper'] > div")).reduce(((e,t)=>(t.querySelector("[class*='blookContainer'] > img")||(e[t.querySelector("[class*='packImgContainer'] > img").alt]=parseInt(t.querySelector("[class*='packBottom']").textContent)),e)),{}),i=e.split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join(" "),l=r[i];if(!l)return alert("I couldn't find that box!");let s=Math.min(Math.floor(a.state.tokens/l),t
);if(0==s
)return alert("You do not have enough tokens!");let c
={},d
=Date
.now();for(let e
=0;e
<s
;e
++){await a
.buyPack(!0,i
),c
[a
.state
.unlockedBlook
]||=0,c
[a
.state
.unlockedBlook
]++;let e
=Date
.now();d
+=Date
.now()-e
,a
.setState({canOpen
:!0,currentPack
:"",opening
:o
,doneOpening
:o
,openPack
:o
}),clearTimeout(a
.canOpenTimeout
)}await
new Promise((e
=>setTimeout(e
))),alert(`(${Date.now()-d}ms) Results: ${Object.entries(c).map((([e,t])=>` ${e} ${t}`)).join(" ")}`)}},{name:"Flood Game",description:"Floods a game with a number of fake accounts",inputs:[{name:"Name",type:"string"},{name:"Amount",type:"number"},{name:"Blook",type:"options",options:["Chick","Chicken","Cow","Goat","Horse","Pig","Sheep","Duck","Alpaca","Dog","Cat","Rabbit","Goldfish","Hamster","Turtle","Kitten","Puppy","Bear","Moose","Fox","Raccoon","Squirrel","Owl","Hedgehog","Deer","Wolf","Beaver","Tiger","Orangutan","Cockatoo","Parrot","Anaconda","Jaguar","Macaw","Toucan","Panther","Capuchin","Gorilla","Hippo","Rhino","Giraffe","Snowy Owl","Polar Bear","Arctic Fox","Baby Penguin","Penguin","Arctic Hare","Seal","Walrus","Witch","Wizard","Elf","Fairy","Slime Monster","Jester","Dragon","Queen","Unicorn","King","Two of Spades","Eat Me","Drink Me","Alice","Queen of Hearts","Dormouse","White Rabbit","Cheshire Cat","Caterpillar","Mad Hatter","King of Hearts","Toast","Cereal","Yogurt","Breakfast Combo","Orange Juice","Milk","Waffle","Pancakes","French Toast","Pizza","Earth","Meteor","Stars","Alien","Planet","UFO","Spaceship","Astronaut","Lil Bot","Lovely Bot","Angry Bot","Happy Bot","Watson","Buddy Bot","Brainy Bot","Mega Bot","Old Boot","Jellyfish","Clownfish","Frog","Crab","Pufferfish","Blobfish","Octopus","Narwhal","Dolphin","Baby Shark","Megalodon","Panda","Sloth","Tenrec","Flamingo","Zebra","Elephant","Lemur","Peacock","Chameleon","Lion","Amber","Dino Egg","Dino Fossil","Stegosaurus","Velociraptor","Brontosaurus","Triceratops","Tyrannosaurus Rex","Ice Bat","Ice Bug","Ice Elemental","Rock Monster","Dink","Donk","Bush Monster","Yeti","Dingo","Echidna","Koala","Kookaburra","Platypus","Joey","Kangaroo","Crocodile","Sugar Glider","Deckhand","Buccaneer","Swashbuckler","Treasure Map","Seagull","Jolly Pirate","Pirate Ship","Kraken","Captain Blackbeard","Snow Globe","Holiday Gift","Hot Chocolate","Holiday Wreath","Stocking","Gingerbread Man","Gingerbread House","Reindeer","Snowman","Santa Claus","Pumpkin","Swamp Monster","Frankenstein","Vampire","Zombie","Mummy","Caramel Apple","Candy Corn","Werewolf","Ghost","Rainbow Jellyfish","Blizzard Clownfish","Lovely Frog","Lucky Frog","Spring Frog","Poison Dart Frog","Lucky Hamster","Chocolate Rabbit","Spring Rabbit","Lemon Crab","Pirate Pufferfish","Donut Blobfish","Crimson Octopus","Rainbow Narwhal","Frost Wreath","Tropical Globe","New York Snow Globe","London Snow Globe","Japan Snow Globe","Egypt Snow Globe","Paris Snow Globe","Red Sweater Snowman","Blue Sweater Snowman","Elf Sweater Snowman","Santa Claws","Cookies Combo","Chilly Flamingo","Snowy Bush Monster","Nutcracker Koala","Sandwich","Ice Slime","Frozen Fossil","Ice Crab","Rainbow Panda","White Peacock","Tiger Zebra","Teal Platypus","Red Astronaut","Orange Astronaut","Yellow Astronaut","Lime Astronaut","Green Astronaut","Cyan Astronaut","Blue Astronaut","Pink Astronaut","Purple Astronaut","Brown Astronaut","Black Astronaut","Lovely Planet","Lovely Peacock","Haunted Pumpkin","Pumpkin Cookie","Ghost Cookie","Red Gummy Bear","Blue Gummy Bear","Green Gummy Bear","Chick Chicken","Chicken Chick","Raccoon Bandit","Owl Sheriff","Vampire Frog","Pumpkin King","Leprechaun","Anaconda Wizard","Spooky Pumpkin","Spooky Mummy","Agent Owl","Master Elf","Party Pig","Wise Owl","Spooky Ghost","Phantom King","Tim the Alien","Rainbow Astronaut","Hamsta Claus","Light Blue","Black","Red","Purple","Pink","Orange","Lime","Green","Teal","Tan","Maroon","Gray","Mint","Salmon","Burgandy","Baby Blue","Dust","Brown","Dull Blue","Yellow","Blue"].map((e=>({name:e,value:e})))},{name:"Banner",type:"options",options:Object.entries({Starter:"starter",Fire:"fire","Tech Chip":"techChip",Shamrocks:"shamrocks","Orange Ice Pop":"orangeIcePop",Slime:"slime",Sushi:"sushi","Falling Blocks":"fallingBlocks",Racetrack:"racetrack","Football Field":"footballField","Ice Cream Sandwich":"iceCreamSandwich","Winter Landscape":"winterLandscape",Leaves:"leaves","Music Class":"musicClass","Science Class":"scienceClass","Art Class":"artClass",Clockwork:"clockwork","Hockey Rink":"hockeyRink","Outer Space":"outerSpace","Soccer Field":"soccerField",Ice:"ice","Toaster Pastry":"toasterPastry","Fish Tank":"fishTank",Theater:"theater",Farm:"farm",Spooky:"spooky","Spooky Cat":"spookyCat","Spooky Window":"spookyWindow",Frankenstein:"frankenstein",Ghosts:"ghosts",Mummy:"mummy",Spiders:"spiders",Coffin:"coffin",Pumpkins:"pumpkins","Christmas Tree":"christmasTree",Chalkboard:"chalkboard",Balloons:"balloons",Skateboard:"skateboard",Sunset:"sunset",Tiger:"tiger","Pirate Map":"pirateMap",Pencil:"pencil","Road Sign":"roadSign","Corn Dog":"cornDog",Leaf:"leaf","Chili Pepper":"chiliPepper","Love Letter":"loveLetter",Gifts:"gifts","Winter Train":"winterTrain","Winter Drive":"winterDrive",Workbench:"workbench",Harvest:"harvest",Chocolate:"chocolate","Fall Picnic":"fallPicnic",Bookshelf:"bookshelf","Easter Pattern":"easterPattern",Carrot:"carrot","Easter Field":"easterField",Garden:"garden",Bakery:"bakery","Gummy Worm":"gummyWorm","Basketball Court":"basketballCourt","Flying Kite":"flyingKite","Hot Dog":"hotDog","Japanese Garden":"japaneseGarden",Sandwich:"sandwich",Ruler:"ruler","Ball Pit":"ballPit",Xylophone:"xylophone","Holiday Lights":"holidayLights","Ice Cream Truck":"iceCreamTruck","Holiday Gift Wrap":"holidayGiftWrap","Winter Sweater":"winterSweater","Holiday Ornaments":"holidayOrnaments",Watermelon:"watermelon",Baguette:"baguette",Rollerblades:"rollerblades",Surfboard:"surfboard",Cookout:"cookout",Comic:"comic",Crayon:"crayon",Lightning:"lightning",Baseball:"baseball","Shamrock Coins":"shamrockCoins","End Of The Rainbow":"endRainbow","Easter Field":"easterField",Marker:"marker",Pizza:"pizza",Leaf:"leaf","Alphabet Soup":"alphabetSoup"}).map((([e,t])=>({name:e,value:t})))}],run:async function(e,t,o,n){let a=document.createElement("iframe");function r(){return Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner.stateNode}document.body.append(a),window.prompt=a.contentWindow.prompt.bind(window),window.alert=a.contentWindow.alert.bind(window),a.remove();var i=!1;if(r().props.liveGameController._liveApp){var l=r().props.liveGameController._liveApp.firebase;!async function(){if(r().props.liveGameController._liveApp){var o=r().props.liveGameController._liveGameCode,n=parseInt(t);if(n){if(!i)var a=e;for(var l=0;l<n;l++)await s(o,i?c(15):a+Math.floor(4e3*Math.random()))}else alert("You must use a valid number!")}else alert("You must be in a game for the flooder to work!")}()}else alert("You must be in a game to use the flooder!");async function s(e,t){let a=await fetch("https://fb.blooket.com/c/firebase/join",{body:JSON.stringify({id:e,name:t}),credentials:"include",method:"PUT"}).then((e=>e.json()));if(a.success){let r=l.initializeApp({apiKey:"AIzaSyCA-cTOnX19f6LFnDVVsHXya3k6ByP_MnU",authDomain:"blooket-2020.firebaseapp.com",projectId:"blooket-2020",storageBucket:"blooket-2020.appspot.com",messagingSenderId:"741533559105",appId:"1:741533559105:web:b8cbb10e6123f2913519c0",measurementId:"G-S3H5NGN10Z",databaseURL:a.fbShardURL},t);await r.auth().signInWithCustomToken(a.fbToken);let i=r.database();await i.ref(`${e}
/c/${t}`).set({b:o,bg:n}),C.alerts[0].addLog(`Bot ${t} joined!`)}else alert("Connect error: "+a.msg)}function c(e){for(var t="",o=0;o<e;o++)t+=String.fromCharCode(65+Math.floor(25*Math.random()));return t}}},{name:"Simulate Unlock",description:"Simulates unlocking a certian blook",inputs:[{name:"Blook (Case Sensitive)"}],run:e=>{const t=Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner.stateNode;t.setState({loadingPack:!1,openPack:!0,unlockedBlook:e,newUnlock:!0,canOpen:!1}),setTimeout((()=>t.setState({canOpen:!0})),200)}},{name:"Bypass Filter",description:"Bypasses the name filter",inputs:[{name:"Text",type:"text"}],run:function(e){var t,o;let n;t=function(e){for(var t=e.split(""),o="",n=0;n<t.length;n++)o+=""+t[n];return o}(e),n=document.createElement("iframe"),document.body.appendChild(n),window.alert=n.contentWindow.alert.bind(n.contentWindow),(o=document.createElement("textarea")).value=t,o.style.position="fixed",o.style.top=0,o.style.left=0,o.style.opacity=0,document.body.appendChild(o),o.select(),document.execCommand("copy"),alert("Bypassed text copied to clipboard!"),n.remove(),document.body.removeChild(o)}},{name:"Change Name Ingame",description:"Changes your name ingame",inputs:[{name:"New Name",type:"text"}],run:function(e){(async()=>{const t=e=>Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner.stateNode;let o=document.createElement("iframe");document.body.append(o);let n=o.contentWindow.alert.bind(window);o.remove();const a=t().props.client.name;t().props.client.name=e;const r=await t().props.liveGameController.getDatabaseVal(`c/${a}
`);await t().props.liveGameController.removeVal(`c
/${a}`);const i=await async function(e){const o=await fetch("https://fb.blooket.com/c/firebase/join
",{body:JSON.stringify({id:t().props.client.hostId,name:e}),headers:{"Content
-Type
":"application
/json"},method:"PUT",credentials:"include"}).then((e=>e.json()));if(o.success)return o.fbToken;n("Error: "+o.msg)}(e);i&&(await t().props.liveGameController._liveApp.auth().signInWithCustomToken(i),t().props.liveGameController._liveApp.auth().onAuthStateChanged((o=>{o.uid.split(":")[1]===e&&t().props.liveGameController.setVal({path:`c/${e}
`,val:r})})),t().setState({}))})()}},{name:"Use Banner IDs",description:"Enter Banner ID to use Banner",inputs:[{name:"Banner ID",type:"text"}],run:function(e){var t=document.createElement("iframe");function o(){return Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner}document.head.appendChild(t),window.alert=t.contentWindow.alert.bind(window),window.prompt=t.contentWindow.prompt.bind(window),t.remove(),o().stateNode.props.liveGameController.setVal({path:"c/"+o().stateNode.props.client.name+"/bg",val:e})}},{name:"Change Blook Ingame",description:"Changes your blook",inputs:[{name:"Blook",type:"options",async options(){let{webpack:e}=webpackJsonp.push([[],{1234(e,t,o){t.webpack=o}},[["1234"]]]);return Object.keys(Object.values(e.c).find((e=>e.exports.a?.Chick&&e.exports.a?.Elephant)).exports.a)}}],run:function(e){let{props:t}=Object.values(function e(t=document.querySelector("body>div")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner.stateNode;t.client.blook=e,t.liveGameController.setVal({path:`c
/${t.client.name}/b
`,val:e})}},{name:"Set Blook Ad Text",description:"Sets a load of text as your blook and floods teachers screen on lobby",inputs:[{name:"Text",type:"input"}],run:function(e){let t=Object.values(function e(t=document.querySelector("body>div")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner.stateNode;String.prototype.inc||(String.prototype.inc=String.prototype.includes),String.prototype.includes=function(e){return"#"==e&&this.length>30||String.prototype.inc.apply(this,arguments)};let o=Array(500).fill(e).join(" ");t.state.unlocks||(t.client.blook=o),t.props.liveGameController.setVal({path:`c
/${t.props.client.name}/b
`,val:o})}},{name:"Set Blook Ad Text Ingame",description:"Sets a load of text as your blook",inputs:[{name:"Text",type:"options",async options(){let{webpack:e}=webpackJsonp.push([[],{1234(e,t,o){t.webpack=o}},[["1234"]]]);return Object.keys(Object.values(e.c).find((e=>e.exports.a?.Chick&&e.exports.a?.Elephant)).exports.a)}}],run:function(e){let{props:t}=Object.values(function e(t=document.querySelector("body>div")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner.stateNode,o=Array(500).fill(e).join(" ");t.client.blook=o,t.liveGameController.setVal({path:`c
/${t.client.name}/b
`,val:o})}},{name:"Auto Answer",description:"Click the correct answer for you",run:function(){let{state:{question:e,stage:t,feedback:o},props:{client:{question:n}}}=Object.values(document.querySelector("body div[id] > div > div"))[1].children[0]._owner.stateNode;try{"typing"!=e.qType?("feedback"===t||o?document.querySelector('[class*="feedback"]')?.firstChild:[...document.querySelectorAll('[class*="answerContainer"]')][(e||n).answers.map(((t,o)=>(e||n).correctAnswers.includes(t)?o:null)).filter((e=>null!=e))[0]])?.click?.():Object.values(document.querySelector("[class*='typingAnswerWrapper']"))[1].children._owner.stateNode.sendAnswer(e.answers[0])}catch{}}},{name:"Highlight Answers",description:"Colors answers to be red or green highlighting the correct ones",run:function(){let{stateNode:{state:e,props:t}}=Object.values(function e(t=document.querySelector("body>div")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner;[...document.querySelectorAll('[class*="answerContainer"]')].forEach(((o,n)=>{(e.question||t.client.question).correctAnswers.includes((e.question||t.client.question).answers[n])?o.style.backgroundColor="rgb(0, 207, 119)":o.style.backgroundColor="rgb(189, 15, 38)"}))}},{name:"Subtle Highlight Answers",description:"Removes the shadow from correct answers",run:function(){let{stateNode:{state:e,props:t}}=Object.values(function e(t=document.querySelector("body>div")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner;[...document.querySelectorAll('[class*="answerContainer"]')].forEach(((o,n)=>{(e.question||t.client.question).correctAnswers.includes((e.question||t.client.question).answers[n])&&(o.style.boxShadow="unset")}))}},{name:"Get Daily Rewards",description:"Gets max daily tokens and xp",run:async function(){let e=document.createElement("iframe");if(document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove(),location.href.includes("play.blooket.com")){let{t:e}=await fetch("https://play.blooket.com/api/playersessions/solo",{body:JSON.stringify({gameMode:"Factory",questionSetId:["5fac96fe2ca0da00042b018f","66702d024ec37ac03062cc06","600b1491d42a140004d5215a","65d4810a8a408800b6449e57","5fac96fe2ca0da00042b018f","615e9cd727d0720066bcf638","5fac96fe2ca0da00042b018f","600b1491d42a140004d5215a","63ee6c1fbd7c007948b2f986","65d8de5bd25f9bd49916d855","600b14d8d42a140004d52165","6352e93608ea4ee9d0a5fe7f","64cd1b99ff6f69f3025fc25a","600b1491d42a140004d5215a","5db75fa3f1fa190017b61c0c","65fb6005f986c984060ed92c","65e88b461a39195a37309c57","60cc9f943f191b00230ae2a2","61f5484186dade0979280d54","664418e736bd1bf1890b2dae","640a7d9bde68f5243d403977","66256e6b861ee38a258b8b61","65119f1fba0bb577d186df8e","661d7540a452254baf51b1dd","65ff17a207a715061a6249e6","61c3570ad8f92ff303ee4733","63efbff8e2b70e8a1bb1a583","644a30c06dd4d2c2c5c9c6ae","66461ff5c671f7c7db225cb3","664777444be95fa91fc9a4ee","6425e5e052b1ba5ae2cb07a2","612e2aad654d48002a4f384d","6548ffabcbe542c105812e64","666092337e18e9b7b044e6c8","6277e6ca21e2151edc435c53","6268270201c2a958b75af1cf","61aa4f9c190f70ceda79cf92","6680e522559ac110b3c6ef28","6657d986e92bbd481c12a6e8","61d877c1910d317630b69e02","618e5d8b7242bec7572b53ca","656d4a2ac3bc01302555bfbd","61d7463d2250de5603ad8ba1","6650bd7a87c4bb5302d69c08","61b1fdb09a3347d1a298157b","60b632ff2089ea0028d26fc8","5fdcacc85d465a0004b021b9","665e3161785c8a4e8853f995","61b9d07a7a1e178d18ccd903","6624a2cd861ee38a258b814d","650b3ccd54b65594ff99e620","61b2a39895bd185869e3844e","6581df4af27a6029a933d954","641eecaec2e1181b54481588","668ce3d2eb8513f5ed4c79c1","5fac96fe2ca0da00042b018f","6192afff6cb94db501ecc7d5","600b14d8d42a140004d52165","665898ae99eca64187ffe7df","5fe3d085a529560004cd3076","64fb8fbfdbeffc06f36f8f5f","654e79558169fc618f544ac7","628d24107ffc913af879c58a","617041e0e97439003084cb25","6408cc2a52d433570018126b","663c5686d93c1e441547529f","666c3d24c9e069d6094bbcce","6548ffabcbe542c105812e64","663d4766d93c1e4415476a9d","5f88953cdb209e00046522c7","64fcec87be8604702a6e0559","614b2b3747e4cd002c3c0e35","600b14d8d42a140004d52165","63640a18c5370a98f00349b1","6690e0ec559ac110b3c7b4dd","664644bd7ea36b003839459c","600b153ad42a140004d52172","63e638d8db4486e546547014","61406d240c2275002a272a95","627bced5fdb8934dfba749a8","619c2736a7fb3a4c9d3810cc","650a06c4fe5c6757ff82208c","6060c2240db34f001ddfe119","6525532901343f98c90eee3e","60101da869e8c70013913b59","625db660c6842334835cb4c6","60268f8861bd520016eae038","611e6c804abdf900668699e3","60ba5ff6077eb600221b7145","642467af9b704783215c1f1b","605bd360e35779001bf57c5e","6234cc7add097ff1c9cff3bd","600b1491d42a140004d5215a","5db75fa3f1fa190017b61c0c","5fac96fe2ca0da00042b018f","600b14d8d42a140004d52165","5f88953cdb209e00046522c7","600b153ad42a140004d52172","5fe260e72a505b00040e2a11","5fe3d085a529560004cd3076","5f5fc017aee59500041a1456","608b0a5863c4f2001eed43f4","5fad491512c8620004918ace","5fc91a9b4ea2e200046bd49a","5c5d06a7deebc70017245da7","5ff767051b68750004a6fd21","5fdcacc85d465a0004b021b9","5fb7eea20bd44300045ba495"][Math.floor(107*Math.random())]}),credentials:"include",method:"POST"}).then((e=>e.json()));await fetch("https://play.blooket.com/api/playersessions/landings",{body:JSON.stringify({t:e}),credentials:"include",method:"POST"}),await fetch("https://play.blooket.com/api/playersessions/questions?t="+e,{credentials:"include"}),await fetch("https://play.blooket.com/api/users/factorystats",{body:JSON.stringify({blookUsed:"Chick",t:e,cash:Math.floor(9e7*Math.random())+1e7,correctAnswers:Math.floor(500*Math.random())+500,upgrades:Math.floor(300*Math.random())+300,mode:"Time-Solo",nameUsed:"You",place:1,playersDefeated:0}),credentials:"include",method:"PUT"}),fetch("https://play.blooket.com/api/users/add-rewards",{body:JSON.stringify({t:e,name:a,addedTokens:500,addedXp:300}),credentials:"include",method:"PUT"}).then((e=>e.json())).then((({dailyReward:e})=>alert(`Added max tokens and xp
, and got ${e} daily wheel tokens
!`))).catch((()=>alert("There was an error when adding rewards.")))}else alert("This cheat only works on play.blooket.com, opening a new tab."),window.open("https://play.blooket.com/")}},{name:"Use any Blook",description:"Allows you to play as any blook.",run:function(){(()=>{const e=Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner.stateNode;let t=document.createElement("iframe");document.body.append(t);const o=t.contentWindow.alert.bind(window);if(t.remove(),e.state.unlocks||e.state.blookData)if(e.state.blookData){let t=Object.entries;Object.entries=function(o){var n;return o?.Chick&&(n=o,e.setState({blookData:Object.keys(n).reduce(((t,o)=>(t[o]=e.state.blookData[o]||1,t)),{}),allSets:Object.values(n).reduce(((e,t)=>(!e.includes(t.set)&&e.push(t.set),e)),[])}),Object.entries=t),t.apply(this,arguments)},e.render()}else e.setState({unlocks:{includes:e=>1}});else o("This must be run on the lobby or dashboard!")})()}},{name:"Get More Blooks (Lobby)",description:"Gives you an abundance of custom blooks to try (Some images might be blocked)",run:function(){const e=document.querySelector("._blooksHolder_1bg6w_141");if(e){["https://i.imghippo.com/files/wfNvV1725233960.webp","https://i.imghippo.com/files/3kDQK1725233922.webp","https://camo.githubusercontent.com/e471c0c3c98c8b0095b5cc645dfd4732db238c98632f1638d8fa153d4b6e003d/68747470733a2f2f63646e2e646973636f72646170702e636f6d2f656d6f6a69732f31303536393839373839363931333232343539","https://i.ibb.co/YfwphhN/youtubelogo.png","https://i.ibb.co/wCGsQD7/1107210565740396625.webp","https://i.ibb.co/j3k7jYJ/1056899107844800522.webp","https://i.ibb.co/xsQfVdm/1056898967801188404.webp","https://i.ibb.co/LxHL2bP/1061744882496065566.webp","https://ac.blooket.com/dashboard/assets/Cashier-BqZ02xhF.svg","https://i.ibb.co/sm60M8q/merk.png","https://ac.blooket.com/dashboard/assets/Token-DmrosBZF.svg","https://media.blooket.com/image/upload/v1664334335/BlookParts/hat35.svg","https://media.blooket.com/image/upload/v1664334335/BlookParts/hat36.svg","https://media.blooket.com/image/upload/v1664334114/BlookParts/glasses16.svg","https://media.blooket.com/image/upload/v1664334335/BlookParts/hat33.svg","https://preview.redd.it/custom-blooks-i-made-v0-b0hneftessz91.png?width=300&format=png&auto=webp&s=f7cdba1490c1aba76b9bde994b082a3c76818466","https://preview.redd.it/custom-blooks-i-made-v0-g3nvjltessz91.png?width=300&format=png&auto=webp&s=0d38efcec1212896912c1ec4e20b7601eaa686ea","https://preview.redd.it/custom-blooks-i-made-v0-ka56tptessz91.png?width=300&format=png&auto=webp&s=0f247448aa4b0ca2b1f1fe8f0e1059767d3d15f8","https://preview.redd.it/custom-blooks-i-made-v0-6asu9ztessz91.png?width=300&format=png&auto=webp&s=6bc047e638e0cb6596e619d0eb367d551dc455b0","https://preview.redd.it/custom-blooks-i-made-v0-czdr64uessz91.png?width=500&format=png&auto=webp&s=858764ba17888fa8aaa487f97feb32b2d8b81f62","https://preview.redd.it/custom-blooks-i-made-v0-lsgc29uessz91.png?width=500&format=png&auto=webp&s=cddb4dbf09a226c296d2e659aa80851bbd481921","https://preview.redd.it/64mcrm1aceh91.png?width=1256&format=png&auto=webp&s=5f53991654cd7a45fe58de4097c9ae1177a10bfd","https://preview.redd.it/trp3snp9ceh91.png?width=1419&format=png&auto=webp&s=663663e4d93424141cd6500c6b24d91042700cc2","https://preview.redd.it/1d4uxcb9ceh91.png?width=1254&format=png&auto=webp&s=3a54cc9a95897f47c2f9007b8a49aa98cf46089f","https://preview.redd.it/k0894xv8ceh91.png?width=1254&format=png&auto=webp&s=181019f5ef1c288cb9c855776dd14f6eec0ff993","https://preview.redd.it/xrb6fug8ceh91.png?width=1273&format=png&auto=webp&s=7df11f3dddc5f1fd8354c99de670c2fb34cc2f10","https://preview.redd.it/beicsi08ceh91.png?width=1258&format=png&auto=webp&s=313cc36ded78d3c3e386b85abf2d6ba498401d1f","https://preview.redd.it/810eoco7ceh91.png?width=1258&format=png&auto=webp&s=16be55f32fda316611c41ab5dbc53da0b42a5891","https://preview.redd.it/4iq2am87ceh91.png?width=1255&format=png&auto=webp&s=af5825a0f2a0e0680252767de622c8b16b8bd530","https://preview.redd.it/9b0eq1v6ceh91.png?width=1258&format=png&auto=webp&s=3c570c3f2f70a156723f375ba1cc68b1879283d8","https://preview.redd.it/0g4eflh6ceh91.png?width=1252&format=png&auto=webp&s=ba426c277dbf7a89dbd01e108bb4b397895bd9e2","https://preview.redd.it/gq1ol7z5ceh91.png?width=1258&format=png&auto=webp&s=72eb5b3df4c152b0f1405c2fa1c8f6689c96e5ea","https://preview.redd.it/zs746135ceh91.png?width=1254&format=png&auto=webp&s=fed0bb921be560d8fe254065b9a986ac88e08010","https://preview.redd.it/custom-blooks-i-have-made-v0-uz0uxh4sh9gc1.png?width=485&format=png&auto=webp&s=f8fb21906226f94e64272616cbe37ce2292a0494","https://preview.redd.it/custom-blooks-i-have-made-v0-gfdrycozh9gc1.png?width=536&format=png&auto=webp&s=445b74e0e1f1d12ae3c4c470cab1b46527792e18","https://preview.redd.it/custom-blooks-i-have-made-v0-nojhsxb2i9gc1.png?width=504&format=png&auto=webp&s=e2b22b88b703ff7fb908248a7de93c7bc02861fe","https://preview.redd.it/custom-blooks-i-have-made-v0-dagyqk2pi9gc1.png?width=522&format=png&auto=webp&s=5be59b74b295e5634fb7769efc2b78ed1a2d0ab2","https://preview.redd.it/more-custom-blooks-that-i-made-v0-evaee2nzi92a1.png?width=300&format=png&auto=webp&s=e2910bcf63138d255d8f2d2a42819e04aa25b20c","https://preview.redd.it/more-custom-blooks-that-i-made-v0-3jkr9dlzi92a1.png?width=300&format=png&auto=webp&s=36834cdd172dd4377f0f040a1cfa0348a0cf9f2c","https://preview.redd.it/more-custom-blooks-that-i-made-v0-chgp4clzi92a1.png?width=300&format=png&auto=webp&s=2ba607d48f1a01c48cca5f5177ce609c8e3b740e","https://preview.redd.it/more-custom-blooks-that-i-made-v0-esxetdlzi92a1.png?width=300&format=png&auto=webp&s=843674b51fecfc633c67386d6ec7a53664002229","https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/7e7e889a-de90-46e6-b7e0-a80a0e698de6/dbpu9b-51118e9e-16bd-4a28-bbe6-921fc1da8181.gif?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcLzdlN2U4ODlhLWRlOTAtNDZlNi1iN2UwLWE4MGEwZTY5OGRlNlwvZGJwdTliLTUxMTE4ZTllLTE2YmQtNGEyOC1iYmU2LTkyMWZjMWRhODE4MS5naWYifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6ZmlsZS5kb3dubG9hZCJdfQ.h309S-rnZJWgrquS7zLKqNmCyGpKi6EydLGfeGlmwSY","https://i.ibb.co/2tPhQQ9/Screenshot-2024-03-13-8-38-54-PM-removebg-preview.png","https://i.ibb.co/hfGKRGg/5rcse2.png","https://i.ibb.co/dk5X1Qx/wolf-svg-1.gif","https://i.ibb.co/MRYh2jY/madhatter-svg-1-1.gif","https://i.ibb.co/prhrSLG/penguin-svg.png","https://i.ibb.co/y0Lz9KM/dog-2-svg-1.png","https://i.ibb.co/ZVjPyyW/egyptsnowglobe-svg.gif","https://i.ibb.co/27J4Tzc/hamster-1-svg-2.gif","https://i.ibb.co/GWS1F1B/Untitled1942-20240816213512.png","https://i.ibb.co/b1w1Zt3/Untitled1944-20240816220241-2.png","https://i.ibb.co/sP1n7px/image-2.png","https://i.ibb.co/749D31P/31-BFAFFD-21-D5-416-C-8-EDB-C1-EC31-FE9-B7-E.png","https://i.ibb.co/k8y3Q3C/image-3.png","https://i.ibb.co/h9sgDc3/1185712529960349726.png","https://i.ibb.co/6X1mCwq/moai-blook.png","https://i.imghippo.com/files/VfIxx1725062188.gif","https://i.ibb.co/Rb8B8xH/pickle-jar-blook.png","https://i.ibb.co/FntT4VR/c96edb96a2571742004c4240a5c4abe3.webp","https://styles.redditmedia.com/t5_2zesh/styles/communityIcon_6gx6y4qpdw651.png","https://play-lh.googleusercontent.com/AUGkRrKMtUCLVE9vCvlfMY9Ny9EBqzx17yejVtEEhvpkw-H6lJlvBHgCMqPJm8HV_tM=s256-rw","https://play-lh.googleusercontent.com/JQqSn7wuCj0SxBqpBThNI33qCR9gwY0str2TIAnu-m_xrVCgZk3IPxYK2S7zC9WG0ig=s256-rw","https://play-lh.googleusercontent.com/epeBd8ftLXNHy9TjcB4k2Ip0KzcMT-4oTjDUt_DwMjgDwrbSTuVI77ccVWMdoDMXDQ=s256-rw","https://play-lh.googleusercontent.com/ndILnpPIPE5Kfqmwzjlbdz2duHMjh0yvnZ31PBJ_-oZOPa9iYfh1jedpj2-td2pyrKmj=w240-h256-rw","https://i.ibb.co/Rp56kCC/bee-blook.png","https://i.ibb.co/y0Sdwg0/golden-blook.gif","https://i.ibb.co/B2ZyFBj/rainbow-blook.gif","https://i.ibb.co/Y0mJq9g/blacket-legacy.png","https://i.ibb.co/JHFsXdx/betastar.png","https://i.ibb.co/h2m8fGf/blacket.png","https://i.ibb.co/QKdZ1b4/logo-2.png","https://i.ibb.co/pPVh8bt/Blooket-Emblem.png","https://i.ibb.co/sWqBm0K/1024.png","https://i.ibb.co/pdSYc4M/Site-logo.png","https://raw.githubusercontent.com/The-Blooket-Hacks/Blooket-Hacks/main/images/animated_icon.gif","https://raw.githubusercontent.com/The-Blooket-Hacks/Blooket-Hacks/main/images/icon.png","https://i.ibb.co/bHks2LC/image-3.png","https://i.ibb.co/0Z4Gn6n/logo.png","https://i.ibb.co/LCZTRsY/e222502653c42a263899a4e6a9c58dca.webp","https://i.ibb.co/1fH15Rs/yellow-submarine.png","https://i.ibb.co/zRGywqm/watermelon20min.png","https://i.ibb.co/6rs8hky/valentines-present.png","https://i.ibb.co/g3hB9t3/turkey.png","https://i.ibb.co/RzNPvNf/touch-grass-blook.png","https://i.ibb.co/PDgmxqQ/taco.png","https://i.ibb.co/vZ40Jf9/squash2.png","https://i.ibb.co/CMVh9Yq/space-mug.png","https://i.ibb.co/zVZb2Bq/rubber-duck.png","https://i.ibb.co/8jchMBy/sombrero.png","https://i.ibb.co/hKtyzDw/pumpkinking.png","https://i.ibb.co/M9fq4zD/pumpkin-pie.png","https://i.ibb.co/FV5Vj7r/prehistoric-globbe.png","https://i.ibb.co/6Z8QWpp/pineapple.png","https://i.ibb.co/1GtRrkj/pilgrim-hat.png","https://i.ibb.co/R6zJhbc/static-assets-upload10217624323675156800.png","https://i.ibb.co/NjyMT23/pig-snowman.png","https://i.ibb.co/J70xZZZ/mrbaest.png","https://i.ibb.co/QcSLKxC/moon.png","https://i.ibb.co/vdhvvtz/meteor-impact.png","https://i.ibb.co/1KBf6K5/mega-king.png","https://i.ibb.co/0ZFjpF1/mayflower.png","https://i.ibb.co/VCyKwMq/magic8ball.png","https://i.ibb.co/vdH0sJ0/lunar-globe.png","https://i.ibb.co/xFWDzNz/life-buoy.png","https://i.ibb.co/nj8zHRd/lemonade.png","https://i.ibb.co/hRLdSRn/ladybug.png","https://i.ibb.co/51B9Yfw/blob-ghost.png","https://i.ibb.co/87j9XBs/ghost-pumpkin.png","https://i.ibb.co/vL53Qwt/jackinthebox.png","https://i.ibb.co/LNzSYX8/freedom-frog.png","https://i.ibb.co/NpV9VrQ/egg.png","https://i.ibb.co/vzmCC55/dream.png","https://i.ibb.co/b2w7f14/cyborg-santa.png","https://i.ibb.co/2nXpv57/cooked-turkey.png","https://i.ibb.co/NmPW8H6/comic-crew-inc-blook.png","https://i.ibb.co/ynsBMVv/chili-pepper.png","https://i.ibb.co/WyvtbNB/beehive.png","https://i.ibb.co/34WM19w/candy-heart.png","https://i.ibb.co/LYrF1xn/candy-basket.png","https://i.ibb.co/RCLkQS8/box-of-white-chocolates.png","https://i.ibb.co/N2nDcpB/box-of-chocolates.png","https://i.ibb.co/N2nDcpB/box-of-chocolates.png","https://i.ibb.co/6W6wvXJ/apple-barrel.png","https://i.ibb.co/RNp7frY/acorn.png","https://i.ibb.co/zsKsX4f/Button-Add-icon.png","https://i.ibb.co/rfsnSyp/Button-Delete-icon.png","https://blacket.org/content/blooks/Dinah.webp","https://blacket.org/content/blooks/March%20Hare.webp","https://blacket.org/content/blooks/Basketball.webp","https://blacket.org/content/blooks/Baseball.webp","https://blacket.org/content/blooks/Soccer%20Ball.webp","https://blacket.org/content/blooks/Tennis%20Ball.webp","https://blacket.org/content/blooks/Golf%20Ball.webp","https://blacket.org/content/blooks/Football.webp","https://blacket.org/content/blooks/Bowling%20Ball.webp","https://blacket.org/content/blooks/Ping%20Pong%20Racket.webp","https://blacket.org/content/blooks/Curling%20Stone.webp","https://blacket.org/content/blooks/Football%20Helmet.webp","https://blacket.org/content/blooks/Space%20Terminal.webp","https://blacket.org/content/blooks/Space%20Debugger.webp","https://blacket.org/content/blooks/Dark%20Dragon.webp","https://blacket.org/content/blooks/Jasper.webp","https://blacket.org/content/blooks/Jade.webp","https://blacket.org/content/blooks/Onyx.webp","https://blacket.org/content/blooks/Quartz.webp","https://blacket.org/content/blooks/Lapis%20Lazuli.webp","https://blacket.org/content/blooks/Topaz.webp","https://blacket.org/content/blooks/Ruby.webp","https://blacket.org/content/blooks/Sapphire.webp","https://blacket.org/content/blooks/Amethyst.webp","https://blacket.org/content/blooks/Opal.webp","https://blacket.org/content/blooks/Moonstone.webp","https://blacket.org/content/blooks/Rose%20Quartz.webp","https://blacket.org/content/blooks/Black%20Opal.webp","https://blacket.org/content/blooks/Apple.webp","https://blacket.org/content/blooks/Orange.webp","https://blacket.org/content/blooks/Lemon.webp","https://blacket.org/content/blooks/Lime.webp","https://blacket.org/content/blooks/Grape.webp","https://blacket.org/content/blooks/Strawberry.webp","https://blacket.org/content/blooks/Raspberry.webp","https://i.imghippo.com/files/7cAht1725062940.png","https://blacket.org/content/blooks/Watermelon.webp","https://blacket.org/content/blooks/Dragon%20Fruit.webp","https://blacket.org/content/blooks/Starfruit.webp","https://blacket.org/content/blooks/Green%20Apple.webp","https://blacket.org/content/blooks/Blue%20Raspberry.webp","https://blacket.org/content/blooks/Golden%20Apple.webp","https://blacket.org/content/blooks/Golden%20Amber.webp","https://blacket.org/content/blooks/Rainbow%20Blook.webp","https://blacket.org/content/blooks/Candy%20Corn.webp","https://blacket.org/content/blooks/Jellybean.webp","https://blacket.org/content/blooks/Lollipop.webp","https://blacket.org/content/blooks/Black%20Licorice.webp","https://blacket.org/content/blooks/Peppermint.webp","https://blacket.org/content/blooks/Chocolate.webp","https://blacket.org/content/blooks/Gummy%20Worm.webp","https://blacket.org/content/blooks/Rock%20Candy.webp","https://blacket.org/content/blooks/White%20Chocolate.webp","https://blacket.org/content/blooks/Red%20Licorice.webp","https://blacket.org/content/blooks/Blue%20Gummy%20Worm.webp","https://blacket.org/content/blooks/Chocolate%20Milk.webp","https://i.ibb.co/W0LDVvq/image-removebg-preview.png","https://blacket.org/content/blooks/Forgotten%20Bot.webp","https://blacket.org/content/blooks/Donut%20Blobfish.webp","https://blacket.org/content/blooks/Magic%20Spellbook.webp","https://blacket.org/content/blooks/Cursed%20Ring.webp","https://blacket.org/content/blooks/Bubbling%20Cauldron.webp","https://blacket.org/content/blooks/Fairy%20Dust.webp","https://blacket.org/content/blooks/Enchantment%20Hall.webp","https://blacket.org/content/blooks/Magician's%20Wand.webp","https://blacket.org/content/blooks/Ancient%20Runes.webp","https://blacket.org/content/blooks/Strength%20Potion.webp","https://blacket.org/content/blooks/Magician's%20Hat.webp","https://blacket.org/content/blooks/Sentient%20Spellbook.webp","https://blacket.org/content/blooks/Golden%20Magician's%20Wand.webp","https://blacket.org/content/blooks/Invisibility%20Cloak.webp","https://blacket.org/content/blooks/Dial%20Telephone.webp","https://blacket.org/content/blooks/EtchASketch.webp","https://blacket.org/content/blooks/Cassette%20Tape.webp","https://blacket.org/content/blooks/Polaroid%20Camera.webp","https://blacket.org/content/blooks/Vending%20Machine.webp","https://blacket.org/content/blooks/GameBlook.webp","https://blacket.org/content/blooks/Donkey%20Kong%20Machine.webp","https://blacket.org/content/blooks/BoomBox.webp","https://blacket.org/content/blooks/CRT%20Television.webp","https://blacket.org/content/blooks/GameBlook%20Color.webp","https://blacket.org/content/blooks/PacMan%20Machine.webp","https://blacket.org/content/blooks/Blackintosh.webp","https://blacket.org/content/blooks/Gravity%20Switcher.webp","https://blacket.org/content/blooks/Stealth%20Disguise%20Kit.webp","https://blacket.org/content/blooks/Object%20Miniaturizer.webp","https://blacket.org/content/blooks/Object%20Maximizer.webp","https://blacket.org/content/blooks/Holographic%20Display.webp","https://blacket.org/content/blooks/Flying%20Car.webp","https://blacket.org/content/blooks/Void%20Pistol.webp","https://blacket.org/content/blooks/Red%20Lightsaber.webp","https://blacket.org/content/blooks/Neural%20Implant.webp","https://blacket.org/content/blooks/Hijacked%20Radio.webp","https://blacket.org/content/blooks/Eternal%20Prism%20Blade.webp","https://blacket.org/content/blooks/Blue%20Lightsaber.webp","https://blacket.org/content/blooks/Hijacked%20Neural%20Implant.webp","https://blacket.org/content/blooks/Celestial%20Oracle%20Staff.webp","https://blacket.org/content/blooks/Sea%20Monster.webp","https://blacket.org/content/blooks/Pocket%20Watch.webp","https://blacket.org/content/blooks/Hourglass.webp","https://blacket.org/content/blooks/Cuckoo%20Clock.webp","https://blacket.org/content/blooks/Calendar%20Scroll.webp","https://blacket.org/content/blooks/Analog%20Clock.webp","https://blacket.org/content/blooks/Astrolabe.webp","https://blacket.org/content/blooks/Time%20Capsule.webp","https://blacket.org/content/blooks/Orrey.webp","https://blacket.org/content/blooks/Grandfather%20Clock.webp","https://blacket.org/content/blooks/Clock%20Tower.webp","https://blacket.org/content/blooks/Time%20Stone.webp","https://blacket.org/content/blooks/Time%20Machine.webp","https://blacket.org/content/blooks/Pac-Man.webp","https://blacket.org/content/blooks/Space%20Invader.webp","https://blacket.org/content/blooks/Among%20Us.webp","https://blacket.org/content/blooks/Poke%20Ball.webp","https://blacket.org/content/blooks/Flappy%20Bird.webp","https://blacket.org/content/blooks/Goomba.webp","https://blacket.org/content/blooks/Big%20Shield.webp","https://blacket.org/content/blooks/Creeper.webp","https://blacket.org/content/blooks/Red%20Bird.webp","https://blacket.org/content/blooks/Companion%20Cube.webp","https://blacket.org/content/blooks/Master%20Chief.webp","https://blacket.org/content/blooks/Golden%20Among%20Us.webp","https://blacket.org/content/blooks/Gaming%20Mouse.webp","https://blacket.org/content/blooks/Sand%20Bucket.webp","https://blacket.org/content/blooks/Beach%20Ball.webp","https://blacket.org/content/blooks/Plastic%20Shovel.webp","https://blacket.org/content/blooks/Popsicle.webp","https://blacket.org/content/blooks/Life%20Float.webp","https://blacket.org/content/blooks/Conch%20Shell.webp","https://blacket.org/content/blooks/Surfboard.webp","https://blacket.org/content/blooks/Sand%20Castle.webp","https://blacket.org/content/blooks/Coconut%20Cocktail.webp","https://blacket.org/content/blooks/Tropical%20Pig.webp","https://blacket.org/content/blooks/Sheet%20Music.webp","https://blacket.org/content/blooks/Music%20Disc.webp","https://blacket.org/content/blooks/Xylophone.webp","https://blacket.org/content/blooks/Drums.webp","https://blacket.org/content/blooks/Metronome.webp","https://blacket.org/content/blooks/Triangle.webp","https://blacket.org/content/blooks/Speaker.webp","https://blacket.org/content/blooks/Piano.webp","https://blacket.org/content/blooks/White%20Piano.webp","https://blacket.org/content/blooks/Golden%20Harp.webp","https://blacket.org/content/blooks/Viking%20Helmet.webp","https://blacket.org/content/blooks/Iron%20Chestplate.webp","https://blacket.org/content/blooks/Spiked%20Boot.webp","https://blacket.org/content/blooks/Silver%20Shuriken.webp","https://blacket.org/content/blooks/Knight%20Shield.webp","https://blacket.org/content/blooks/Knight%20Sword.webp","https://blacket.org/content/blooks/Fragment%20Grenade.webp","https://blacket.org/content/blooks/M12%20Shotgun.webp","https://blacket.org/content/blooks/Diamond%20Sword.webp","https://blacket.org/content/blooks/Golden%20Shuriken.webp","https://blacket.org/content/blooks/Golden%20Gift.webp","https://blacket.org/content/blooks/Diamond%20Gift.webp","https://blacket.org/content/blooks/Ankha.webp","https://blacket.org/content/blooks/Mummy%20Ankha.webp","https://blacket.org/content/blooks/Realistic%20Ankha.webp","https://blacket.org/content/blooks/Glowing%20Ankha.webp","https://blacket.org/content/blooks/Mark%20Ankha.webp","https://blacket.org/content/blooks/Ankha's%20House.webp","https://blacket.org/content/blooks/High%20Ankha.webp","https://blacket.org/content/blooks/Black%20Ankha.webp","https://blacket.org/content/blooks/Golden%20Ankha.webp","https://blacket.org/content/blooks/Zone%20Ankha.webp","https://blacket.org/content/blooks/Rainbow%20Ankha.webp","https://blacket.org/content/blooks/acai.webp","https://blacket.org/content/blooks/alicialol.webp","https://blacket.org/content/blooks/Pablo.webp","https://blacket.org/content/blooks/fristic.webp","https://blacket.org/content/blooks/Minesraft2.webp","https://blacket.org/content/blooks/Piotr.webp","https://blacket.org/content/blooks/GAMERYT.webp","https://blacket.org/content/blooks/painbow.webp","https://blacket.org/content/blooks/okr765.webp","https://blacket.org/content/blooks/Cerulean.webp","https://i.ibb.co/0DZt7cc/notAI.png","https://blacket.org/content/blooks/iBlooket.webp","https://blacket.org/content/blooks/root.webp","https://blacket.org/content/blooks/envi.webp","https://blacket.org/content/blooks/zastix.webp","https://blacket.org/content/blooks/monkxy.webp","https://blacket.org/content/blooks/Xotic.webp","https://blacket.org/content/blooks/10k.webp","https://blacket.org/content/blooks/Lunar%20Frog.webp","https://blacket.org/content/blooks/Lucky%20Ankha.webp","https://blacket.org/content/blooks/Spring%20Ankha.webp","https://blacket.org/content/blooks/Turkey%20Ankha.webp","https://blacket.org/content/blooks/Festive%20Xotic.webp","https://blacket.org/content/blooks/Ukraine%20Ankha.webp","https://blacket.org/content/blooks/American%20Ankha.webp","https://blacket.org/content/blooks/Golden%20Shovel.webp","https://blacket.org/content/blooks/Lunar%20Ankha.webp","https://blacket.org/content/blooks/Lovely%20Ankha.webp","https://blacket.org/content/blooks/Lucky%20Pablo.webp","https://blacket.org/content/blooks/Festive%20Ankha.webp","https://blacket.org/content/blooks/Naughty%20Ankha.webp","https://blacket.org/content/blooks/Vampire%20Ankha.webp","https://blacket.org/content/blooks/Bia.webp","https://blacket.org/content/blooks/Gold%20Doubloon.webp","https://blacket.org/content/blooks/Golden%20Crab.webp","https://blacket.org/content/blooks/Golden%20Seashell.webp","https://blacket.org/content/blooks/Treasure%20Chest.webp","https://blacket.org/content/blooks/Tropical%20Island.webp","https://blacket.org/content/blooks/Spring%20Globe.webp","https://blacket.org/content/blooks/Patriotic%20Piotr.webp","https://blacket.org/content/blooks/Nature%20Elemental1.webp","https://blacket.org/content/blooks/Fire%20Elemental1.webp","https://blacket.org/content/blooks/Air%20Elemental1.webp","https://blacket.org/content/blooks/Frost%20Elemental1.webp","https://blacket.org/content/blooks/Lava%20Elemental1.webp","https://blacket.org/content/blooks/Electric%20Elemental1.webp","https://blacket.org/content/blooks/Water%20Elemental1.webp","https://blacket.org/content/blooks/Space%20Elemental1.webp","https://blacket.org/content/blooks/Plasma%20Elemental1.webp","https://blacket.org/content/blooks/Lovely%20zastix.webp","https://blacket.org/content/blooks/Cookies%20Combo.webp","https://blacket.org/content/logo.webp","https://blacket.org/content/blooks/Giveaway.webp","https://blacket.org/content/blooks/Error.webp","https://blacket.org/content/blooks/Success.webp","https://blacket.org/content/blooks/yesbutterjeff.webp","https://blacket.org/content/blooks/Info.webp","https://blacket.org/content/blooks/Magnet.webp","https://blacket.org/content/blooks/DNA.webp","https://blacket.org/content/blooks/Scale.webp","https://blacket.org/content/blooks/Beaker.webp","https://blacket.org/content/blooks/Blood%20Bag.webp","https://blacket.org/content/blooks/Magnifying%20Glass.webp","https://blacket.org/content/blooks/Battery.webp","https://blacket.org/content/blooks/Atom.webp","https://blacket.org/content/blooks/Test%20Tubes.webp","https://blacket.org/content/blooks/Bunsen%20Burner.webp","https://blacket.org/content/blooks/Bacteria.webp","https://blacket.org/content/blooks/Microscope.webp","https://blacket.org/content/blooks/Eyeball.webp","https://blacket.org/content/blooks/Toxic%20Waste.webp","https://blacket.org/content/blooks/Prism.webp","https://blacket.org/content/blooks/Telescope.webp","https://blacket.org/content/blooks/Skull.webp","https://blacket.org/content/blooks/Lightbulb.webp","https://blacket.org/content/blooks/Brain.webp","https://blacket.org/content/blooks/Flask.webp","https://blacket.org/content/blooks/Petri%20Dish.webp","https://blacket.org/content/blooks/Albert%20Einstein.webp","https://blacket.org/content/blooks/Neil%20deGrasse%20Tyson.webp","https://blacket.org/content/blooks/Gregor%20Mendel.webp","https://blacket.org/content/blooks/Nikola%20Tesla.webp","https://blacket.org/content/blooks/Lava%20Lamp.webp","https://blacket.org/content/blooks/Beating%20Heart.webp","https://blacket.org/content/blooks/Blueberry%20Pie.webp","https://blacket.org/content/blooks/Cherry%20Pie.webp","https://blacket.org/content/blooks/Donut.webp","https://blacket.org/content/blooks/Cake.webp","https://blacket.org/content/blooks/Birthday%20Cake.webp","https://blacket.org/content/blooks/Eclair.webp","https://blacket.org/content/blooks/Chocolate%20Ice%20Cream.webp","https://blacket.org/content/blooks/Strawberry%20Ice%20Cream.webp","https://blacket.org/content/blooks/Macaroon.webp","https://blacket.org/content/blooks/Golden%20Donut.webp","https://blacket.org/content/blooks/Magic%20Chocolate.webp","https://blacket.org/content/blooks/Pack%20of%20Peeps.webp","https://i.ibb.co/kmZzpW7/xPCHhic.png","https://i.imgur.com/oFAiMCP.png","https://i.imgur.com/Cvy8nhz.png","https://i.imgur.com/5bPl8d7.png","https://i.imgur.com/PZ723dj.png","https://i.imgur.com/gIWOeB8.png","https://i.imgur.com/uqFXKVa.png","https://i.imgur.com/njAnZv3.png","https://i.imgur.com/roDRyAE.png","https://i.imgur.com/Rfc6msP.png","https://i.imgur.com/j6Xk43g.png","https://i.ibb.co/WnYyWms/console.webp","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Color/Black.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Color/Blue.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Color/Green.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Color/LightGreen.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Color/Orange.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Color/Purple.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Color/Red.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Color/Teal.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Color/Yellow.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/Berry.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/BlooketWarrior.gif","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/Buenar.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/CurryEater.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/FrostyIce109.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/GAMERYT.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/Iamgamedude.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/ItsTornadoYT.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/IzumiiHD.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/Manny.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/NoButterJeff.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/Packman28.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/SOUNDGOD.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/Solid_Snake.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/ThatPlanet.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/OG/Xotic.gif","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/School/Crayon.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/School/Eraser.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/School/Notebook.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/School/Paper.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/School/Pencil.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/School/Ruler.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/School/Scissors.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Tech/Camera.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Tech/Computer.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Tech/Microwave.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Tech/Remote.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Tech/Speaker.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/blooks/Tech/Virus.png","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/rainbow.gif","https://raw.githubusercontent.com/IzumiiHD/Pixelit/main/public/img/lock-icon.png"].forEach((t=>{const o=document.createElement("div");o.className="_blookContainer_1bg6w_150",o.setAttribute("role","button"),o.setAttribute("tabindex","0");const n=document.createElement("div");n.className="_blookContainer_12gbf_1 _blook_1bg6w_141",n.setAttribute("data-tooltip-id","blook-tooltip");const a=document.createElement("img");a.src=t,a.alt="Custom Blook",a.draggable=!1,a.className="_blook_12gbf_1",o.addEventListener("click",(()=>{!function(e){let t=Object.values(function e(t=document.querySelector("body>div")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner.stateNode;t.state.unlocks||(t.props.client.blook=e);t.props.liveGameController.setVal({path:`c
/${t.props.client.name}
/b`,val:e})}(t)})),n.appendChild(a),o.appendChild(n),e.appendChild(o)}))}else console.error("Target container not found")}},{name:"Freeze Host",description:"Freezes the host's screen",run:function(){const encodedChars=["\\u2f9f","\\u4fff","\\u4f52","\\u0E47","\\u0E47","\\u0E47","\\u0E47","\\u0E47","\\u0E47","\\u0E47","\\u4FF1","\\u4FF2"],chars=encodedChars.map((char=>eval(`"${char}"`)));function makeLongText(){return new Array(3e6).fill().map((e=>chars[Math.floor(Math.random()*chars.length)])).join("")}let{props:t}=Object.values(function e(t=document.querySelector("body>div")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner.stateNode,repeatedText=makeLongText();t.client.blook=repeatedText,t.liveGameController.setVal({path:`c/${t.client.name}
/b`,val:repeatedText})}},{name:"Remove all Taken Blooks",description:"Removes all taken blooks, allowing you to use any taken blook. Only works in lobby.",run:function(){const e=Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner.stateNode;e.setState({takenBlooks:{includes:e=>!1}}),e.setState=function(t,o){t?.takenBlooks||e.updater.enqueueSetState(e,t,o,"setState")}}},{name:"Dynamic Player Count",description:"Updates the player count at the top of the screen in realtime as players join or leave.",run:function(){(async()=>{const e=Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner.stateNode;(await e.props.liveGameController.getDatabaseRef("")).on("value",(t=>{document.querySelector("div[class*='headerTextCenter']").innerHTML=`Player Count | ${Object.keys(t.val()?.c)?.length} / ${e.props.client.plus?300:60}
`}))})()}},{name:"Blooket Bot",description:"Opens Blooket Bot",run:function(){const e=function(){const e=document.querySelector("#app>div>div");if(e){const t=Object.values(e)[1]?.children[0]?._owner;return t?.stateNode?.props?.client?.hostId||null}return null}(),t=e?"https://blooketbot.glitch.me/?code="+e:"https://blooketbot.glitch.me/";window.open(t,"_blank","width=500,height=500,resizable=yes,scrollbars=yes,status=yes")}},{name:"Blooket Bot Unblocked",description:"Opens Blooket Bot",run:function(){const e=function(){const e=document.querySelector("#app>div>div");if(e){const t=Object.values(e)[1]?.children[0]?._owner;return t?.stateNode?.props?.client?.hostId||null}return null}(),t=e?"https://blooketbot.vercel.app/?code="+e:"https://blooketbot.vercel.app/";window.open(t,"_blank","width=500,height=500,resizable=yes,scrollbars=yes,status=yes")}},{name:"Blooket Homework Editor",description:"Opens Blooket Homework Editor",run:function(){window.open("https://blookethwk.glitch.me/","_blank","width=500,height=500,resizable=yes,scrollbars=yes,status=yes")}},{name:"Lobbychat",description:"Chat with other people and execute commands",run:function(){if(window.run)return;function e(){return Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner}window.run=!0;var t=0,o=!1;document.addEventListener("keydown",(function(e){"`"===e.key&&(o=!o,n.style.display=o?"none
":"block
")}));let n=document.createElement("div
");n.className="chat
-box
",document.body.appendChild(n);let a=document.createElement("div
");a.className="chat
-header
",a.textContent="Chat
",n.appendChild(a);let r=document.createElement("div
");r.className="chat
-body
",n.appendChild(r);let i=document.createElement("input
");function l(e){let t=document.createElement("div
");t.textContent=e,r.appendChild(t)}i.type="text
",i.className="chat
-input
",i.placeholder="Type a message
...",n.appendChild(i),n.style.position="fixed
",n.style.bottom="20px
",n.style.right="20px
",n.style.width="300px
",n.style.backgroundColor="#fff
",n.style.border="1px solid
#ccc
",n.style.boxShadow="0px
0px
10px
rgba(0, 0, 0, 0.2)",a.addEventListener("click
",(()=>{r.classList.toggle("open
")})),i.addEventListener("keydown
",(function(o){13===o.keyCode&&(function(o){var n,a,i,s,c,d,p,u=function(e){if("/"!==e.charAt(0))return!1;var t=e.split(" "),o=t[0].replace("/","");return t.splice(0,1),{cmd:o,args:t}}(o);if(u)switch(u.cmd){case"cb
":n=u.args.join(" "),(a=webpackJsonp.push([[],{1234(e,t,o){t.webpack=o}},[["1234"]]]).webpack("MDrD
").a)[n=Object.keys(a).find((e=>n.toLocaleLowerCase()===e.toLocaleLowerCase()))]?(l("Setting blook to
"+n+"!"),e().stateNode.props.liveGameController.setVal({id:e().stateNode.props.client.hostId,path:"c
/"+e().stateNode.props.client.name,val:{b:n}}),e().stateNode.props.client.blook=n):l("No blook with that name was found!");break;case"clear":r.innerHTML="";break;case"dumpstate":Object.keys(e().stateNode.state).map((t=>{var o=e().stateNode.state[t];if(null==o)return"N/A
";Array.from(o)&&"object
"==typeof o&&(o="[Array
]"),l(t+":"+o)})).join(";");break;case"list
":e().stateNode.props.liveGameController.getDatabaseVal("c
").then((e=>{l("Current
Players("+Object.keys(e).length+"): "+Object.keys(e).join(","))}));break;case"tlog
":window.logsv=!window.logsv,l("SetVal log
set to
"+(window.logsv?"Enabled
":"Disabled
"));break;case"setval
":i=u.args,e().stateNode.props.liveGameController.setVal({path:"c
/"+e().stateNode.props.client.name+"/"+i[0],val:i.slice(1,i.length).join(" ")});break;case"setstate
":s=u.args,c={},s.forEach((e=>{var t=e.split(":");Number.isNaN(parseInt(t[1]))||parseInt(t[1]).toString()!==t[1]||(t[1]=parseInt(t[1])),c[t[0]]=t[1]})),e().stateNode.setState(c),l("Set Successful
!");break;case"ahelp
":l("Advanced Commands
: setval(sets val logged by tlog ex
/setval b Chicken), tlog(toggles setval log), dumpstate(dumps react state),setstate(sets react state /setstate crypto
:5 crypto2
:5 etc
)");break;case"help
":l("Available Commands
: help(gives help
),ahelp(advanced commands help
), cb(changes blook
/cb cow), list(lists players connected), dump(dumps all available info about a player, passwords, etc(/dump player
)), clear(clears chat
), code(gives game code
), unlock(unlocks blook on lobby screen
)");break;case"dump
":!function(t){e().stateNode.props.liveGameController.getDatabaseVal("c
/"+t).then((e=>{l(null!=e?"Dump: "+JSON.stringify(e):"Player not found!")}))}(u.args.join(" "));break;case"unlock":d=u.args.join(" "),(p=webpackJsonp.push([[],{1234(e,t,o){t.webpack=o}},[["1234"]]]).webpack("MDrD").a)[d=Object.keys(p).find((e=>d.toLocaleLowerCase()===e.toLocaleLowerCase()))]?(e().stateNode.state.unlocks.push(d),e().stateNode.forceUpdate()):l("No blook with that name was found!");break;case"code":l("Game Code: "+e().stateNode.props.client.hostId);break;default:l("Unrecognized chat command!")}else e().stateNode.props.liveGameController.setVal({id:e().stateNode.props.client.hostId,path:"c/"+e().stateNode.props.client.name+"/msg",val:{i:t,msg:o}}),t++}(o.srcElement.value),o.srcElement.value="")}));var s=e().stateNode.props.liveGameController._liveApp.database()._delegate._repoInternal.server_.onDataUpdate_;function c(e){window.logsv&&l("Path: "+e.path.split("/").splice(2,2).join("/")+" Val: "+("object"==typeof e.val?JSON.stringify(e.val):e.val))}e().stateNode.props.liveGameController._liveApp.database()._delegate._repoInternal.server_.onDataUpdate_=function(e,t,o,n){var a,r;console.log(e,t,o,n),a=e,null!=(r=t)&&a.includes("/msg")&&r?.msg&&(console.log(r.msg),l(a.split("/")[2]+": "+r.msg)),s(e,t,o,n)},window.logsv=!1;var d=e().stateNode.props.liveGameController.setVal;e().stateNode.props.liveGameController.setVal=function(){c.apply(this,arguments),d.apply(this,arguments)},e().stateNode.props.liveGameController._liveApp.database().ref(`${e().stateNode.props.liveGameController._liveGameCode}`).on("value",(e=>{})),l("Lobbychat successfully loaded!"),n.style.wordWrap="break-word"}},{name:"Pin Guesser",description:"Brute forces combinations for existing pins",run:function(){var e=0,t=0,o=document.querySelector("div[class*='titleText']");function n(){return Object.values(function e(t=document.querySelector("body>div")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner.stateNode}!function a(){let r=Math.floor(9e6*Math.random())+1e6;fetch(`https://fb.blooket.com/c/firebase/id?id
=${r}
`,{method:"GET",credentials:"include"}).then((e=>e.json())).then((i=>{!0===i.success?(console.log("Game found:",r),o.innerHTML="Game Found!",n().setState({client:{hostId:r.toString()}})):(console.log("No game found for:",r),n().setState({client:{hostId:r.toString()}}),e++,o.innerHTML="Guesses: "+e,++t>15?(setTimeout(a,1e3),t=0):a())})).catch((e=>{alert("Error:"+e)}))}()}},{name:"Crash Game",description:"Crashes the host's game",run:function(){var e=Object.values(function e(t=document.querySelector("#app")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner.stateNode;e.props.liveGameController.setVal({path:`c
/${e.props.client.name}/b
/toString`,val:"Crashed"})}},{name:"Every Answer Correct",description:"Sets every answer to be correct",run:function(){let{stateNode:e}=Object.values(function e(t=document.querySelector("body>div")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner;e.freeQuestions=e.freeQuestions?.map?.((e=>({...e,correctAnswers:e.answers}))),e.questions=e.questions?.map?.((e=>({...e,correctAnswers:e.answers}))),e.props.client.questions=e.props.client.questions.map((e=>({...e,correctAnswers:e.answers})))}},{name:"Remove Name Limit",description:"Sets the name limit to 120, which is the actual max name length limit",run:function(){var e=document.createElement("iframe");document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove(),document.querySelector('input[class*="nameInput"]').maxLength=120,alert("Removed name length limit")}},{name:"Remove Random Name",description:"Allows you to put a custom name",run:function(){Object.values(document.querySelector("body div[id] > div > div"))[1].children[0]._owner.stateNode.setState({isRandom:!1,client:{name:""}}),document.querySelector('[class*="nameInput"]')?.focus?.()}},{name:"Sell Cheap Duplicates",description:"Sells all of your uncommon to epic dupes (not legendaries+)",run:function(){var e=document.createElement("iframe");document.body.append(e),window.alert=e.contentWindow.alert.bind(window),window.confirm=e.contentWindow.confirm.bind(window),e.remove();let t=webpackJsonp.push([[],{1234(e,t,o){t.webpack=o}},[["1234"]]]).webpack,o=Object.values(t.c).find((e=>e.exports?.a?.get)).exports.a,n=Object.values(t.c).find((e=>e.exports.a?.sellBlook)).exports.a.sellBlook;o.get("https://dashboard.blooket.com/api/users").then((async({data:{unlocks:e}})=>{if(e=Object.entries(e).filter((([e,t])=>1<t&&!["Legendary","Chroma","Mystical"].includes(webpackJsonp.push([[],{1234(e,t,o){t.webpack=o}},[["1234"]]]).webpack("MDrD").a[e].rarity))),confirm("Are you sure you want to sell your uncommon to epic dupes?")){var t,o,a=Date.now();for([t,o]of e)await n({blook:t,numToSell:o-1});alert(`(${Date.now()-a}ms) Results: `+e.map((([e,t])=>` ${e} `+(t-1))).join(" "))}})).catch((()=>alert("There was an error user data!")))}},{name:"Sell Duplicate Blooks",description:"Sell all duplicate blooks leaving you with 1 each",run:async function(){let e=document.createElement("iframe");if(document.body.append(e),window.alert=e.contentWindow.alert.bind(window),window.confirm=e.contentWindow.confirm.bind(window),e.remove(),/dashboard.*\/blooks/.test(window
.location
.href
)){if(confirm("Are you sure you want to sell your dupes? (Legendaries and rarer will not be sold)")){let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
,t
=Date
.now(),o
="";for(let t
in e
.state
.blookData
)if(e
.state
.blookData
[t
]>1){if(e
.setState({blook
:t
,numToSell
:e
.state
.blookData
[t
]-1}),["Legendary","Chroma","Mystical"].includes(document
.querySelector("[class*='highlightedRarity']").innerText
.trim()))continue;o
+=` ${t} ${e.state.blookData[t]-1} `,await e
.sellBlook({preventDefault(){}},!0)}alert(`(${Date.now()-t}ms) Results: ${o.trim()}`)}}else alert("This can only be ran in the Blooks page.")}}],voyage
:[{name
:"Heist ESP",description
:"Shows you what's under each chest during a heist",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null,Array
.prototype.forEach
.call(document
.querySelectorAll(".chestESP"),(e
=>e
.remove()))):(this.enabled
=!0,this.data
=setInterval((()=>{(async()=>{let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;if("heist"==e
.state
.stage
){const e
=Array
.prototype.map
.call(Array
.prototype.slice
.call(document
.querySelector("[class*=prizesList]").children
,1,4),(e
=>e
.querySelector("img").src
)),t
=Object
.values(document
.querySelector("[class*=modal]"))[0].return.memoizedState
.memoizedState
;for(const e
of document
.querySelectorAll("[class*=boxContent] > div"))e
.remove();const o
=Object
.values(document
.querySelector("[class*=modal]"))[0].return.memoizedState
.next
.next
.memoizedState
;Array
.prototype.forEach
.call(document
.querySelector("[class*=chestsWrapper]").children
,((n
,a
)=>{const r
=n
.firstChild
.firstChild
;if(o
.includes(a
))return r
.style
.opacity
="";r
.style
.opacity
="0.5";let i
=document
.createElement("div");i
.innerHTML
="<img src='"+e
[2-t
[a
]]+"' style='max-width: 75%; max-height: 75%'></img>",i
.className
="chestESP",i
.style
.position
="absolute",i
.style
.inset
="0",i
.style
.display
="grid",i
.style
.placeItems
="center",i
.style
.pointerEvents
="none",n
.onclick
=()=>{i
.remove(),r
.style
.opacity
=""},n
.firstChild
.prepend(i
)}))}})()}),50))}},{name
:"Crash Host (Pirate)",description
:"Crashes the Host's Game for Pirate's Voyage",run:function(){function e(){return Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
}var t
;t
=["d/t","t"],e().stateNode
.props
.liveGameController
.setVal({path
:"c/"+e().stateNode
.props
.client
.name
+"/"+t
[0],val
:t
.slice(1,t
.length
).join(" ")})}},{name
:"Max Levels",description
:"Maxes out all islands and your boat",run:function(){let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;e
.setState({islandLevels
:Array(e
.state
.islandLevels
.length
).fill(5)},e
.updateBoatLevel
)}},{name
:"Set Doubloons",description
:"Sets Doubloons",inputs
:[{name
:"Amount",type
:"number"}],run:function(e
){let t
=document
.createElement("iframe");document
.body
.append(t
),window
.prompt
=t
.contentWindow
.prompt
.bind(window
),t
.remove();let{stateNode
:o
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;o
.setState({doubloons
:e
}),o
.props
.liveGameController
.setVal({path
:`c/${o.props.client.name}/d`,val
:e
})}},{name
:"Start Heist",description
:"Starts a heist on someone",inputs
:[{name
:"Player",type
:"options",options(){let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}}],run:function(e
){let t
=document
.createElement("iframe");document
.body
.append(t
),window
.prompt
=t
.contentWindow
.prompt
.bind(window
),t
.remove();let{stateNode
:o
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;o
.props
.liveGameController
.getDatabaseVal("c",(function(t
){let n
=Object
.entries(t
||{}).reduce(((e
,[t
,n
])=>(t
!=o
.props
.client
.name
&&e
.push({name
:t
,blook
:n
.b
,doubloons
:n
.d
||0}),e
)),[]);if(0===n
.length
)return o
.questionsToAnswer
=1,void o
.randomQ();let{name
:a
,blook
:r
,doubloons
:i
}=n
.find((t
=>t
.name
==e
))||n
.sort(((e
,t
)=>t
.doubloons
-e
.doubloons
))[0];o
.setState({stage
:"heist",heistInfo
:{name
:a
,blook
:r
},prizeAmount
:Math
.max(1e3
,i
)})}))}},{name
:"Swap Doubloons",description
:"Swaps Doubloons with someone",inputs
:[{name
:"Player",type
:"options",options(){let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}}],run
:async
function(e
){let t
=document
.createElement("iframe");document
.body
.append(t
),window
.prompt
=t
.contentWindow
.prompt
.bind(window
),t
.remove();let{stateNode
:o
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
,n
=Object
.entries(await
new Promise((e
=>o
.props
.liveGameController
.getDatabaseVal("c",e
)))).sort(((e
,t
)=>t
[1].d
-e
[1].d
)).filter((e
=>e
[0]!=o
.props
.client
.name
)),a
=n
.find((t
=>t
[0]==e
))||n
[0];o
.props
.liveGameController
.setVal({path
:`c/${o.props.client.name}`,val
:{b
:o
.props
.client
.blook
,d
:a
[1].d
,tat
:`${a[0]}:${a[1].d-o.state.doubloons}`}}),o
.setState({doubloons
:a
[1].d
})}},{name
:"Take Doubloons",description
:"Takes Doubloons from someone",inputs
:[{name
:"Player",type
:"options",options(){let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}}],run
:async
function(e
){let t
=document
.createElement("iframe");document
.body
.append(t
),window
.prompt
=t
.contentWindow
.prompt
.bind(window
),t
.remove();let{stateNode
:o
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
,n
=Object
.entries(await
new Promise((e
=>o
.props
.liveGameController
.getDatabaseVal("c",e
)))).sort(((e
,t
)=>t
[1].d
-e
[1].d
)).filter((e
=>e
[0]!=o
.props
.client
.name
)),a
=n
.find((t
=>t
[0]==e
))||n
[0];o
.setState({doubloons
:o
.state
.doubloons
+a
[1].d
}),o
.props
.liveGameController
.setVal({path
:`c/${o.props.client.name}`,val
:{b
:o
.props
.client
.blook
,d
:a
[1].d
,tat
:`${a[0]}:${a[1].d}`}})}},{name
:"Flood Alert Box",description
:"Makes the alert box filled with text",inputs
:[{name
:"Text",type
:"text"}],run:function(e
){function t(){return Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
}t().stateNode
.props
.liveGameController
.getDatabaseVal("c/").then((o
=>{if(null!=o
){const r
=Object
.keys(o
)[0];if(e
){const o
="1,723,583,989,363",i
=(a
=e
,new Array(1700).fill(a
).join(" "));n
=["tat",`${r}:${o}${i}`],t().stateNode
.props
.liveGameController
.setVal({path
:"c/"+t().stateNode
.props
.client
.name
+"/"+n
[0],val
:n
.slice(1,n
.length
).join(" ")})}else console
.log("No text entered. Operation cancelled.")}else console
.log("Player not found!");var n
,a
}))}},{name
:"Send Ad Text",description
:"Sends a load of text to another player (This will override your blook!)",inputs
:[{name
:"Player",type
:"options",options(){let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}},{name
:"Text"}],run
:async
function(e
,t
){let{props
:o
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
.stateNode
,n
=`Dog:${Array(500).fill(t).join(" ")}`;o
.client
.blook
=n
,o
.liveGameController
.setVal({path
:`c/${o.client.name}/b`,val
:n
}),o
.liveGameController
.setVal({path
:`c/${o.client.name}/tat`,val
:`${e}:196`})}}],brawl
:[{name
:"Double Enemy XP",description
:"Doubles enemy XP drop value",run:function(){for(let t
of Object
.values(document
.querySelector("#app > div > div"))[1].children
[0]._owner
.stateNode
.game
.current
.scene
.scenes
[0].physics
.world
.colliders
._active
.filter((e
=>e
.callbackContext
?.toString().includes("invulnerableTime")))){var e
=t
.object2
;let o
=e
.classType
.prototype.start
;e
.classType
.prototype.start=function(){o
.apply(this,arguments
),this.val
*=2},e
.children
.entries
.forEach((e
=>e
.val
*=2))}}},{name
:"Half Enemy Speed",description
:"Makes enemies move 2x slower",run:function(){for(let t
of Object
.values(document
.querySelector("#app > div > div"))[1].children
[0]._owner
.stateNode
.game
.current
.scene
.scenes
[0].physics
.world
.colliders
._active
.filter((e
=>e
.callbackContext
?.toString().includes("invulnerableTime")))){var e
=t
.object2
;let o
=e
.classType
.prototype.start
;e
.classType
.prototype.start=function(){o
.apply(this,arguments
),this.speed
*=.5},e
.children
.entries
.forEach((e
=>e
.speed
*=.5))}}},{name
:"Instant Kill",description
:"Sets all enemies health to 1",run:function(){for(let t
of Object
.values(document
.querySelector("#app > div > div"))[1].children
[0]._owner
.stateNode
.game
.current
.scene
.scenes
[0].physics
.world
.colliders
._active
.filter((e
=>e
.callbackContext
?.toString().includes("invulnerableTime")))){var e
=t
.object2
;let o
=e
.classType
.prototype.start
;e
.classType
.prototype.start=function(){o
.apply(this,arguments
),this.hp
=1},e
.children
.entries
.forEach((e
=>e
.hp
=1))}}},{name
:"Invincibility",description
:"Makes you invincible",run:function(){for(let e
of Object
.values(document
.querySelector("#app > div > div"))[1].children
[0]._owner
.stateNode
.game
.current
.scene
.scenes
[0].physics
.world
.colliders
._active
.filter((e
=>e
.callbackContext
?.toString().includes("invulnerableTime"))))e
.collideCallback
=()=>{}}},{name
:"Magnet",description
:"Pulls all xp towards you",run:function(){Object
.values(document
.querySelector("#app > div > div"))[1].children
[0]._owner
.stateNode
.game
.current
.scene
.scenes
[0].physics
.world
.colliders
._active
.find((e
=>e
.collideCallback
?.toString().includes("magnetTime"))).collideCallback({active
:!0},{active
:!0,setActive(){},setVisible(){}})}},{name
:"Max Current Abilities",description
:"Maxes out all your current abilities",run:function(){let e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;for(var[t
,o
]of Object
.entries(e
.state
.abilities
))for(let n
=0;n
<10-o
;n
++)e
.game
.current
.scene
.scenes
[0].game
.events
.emit("level up",t
,e
.state
.abilities
[t
]++);e
.setState({level
:e
.game
.current
.scene
.scenes
[0].level
=[1,3,5,10,15,25,35].sort(((t
,o
)=>Math
.abs(t
-e
.state
.level
)-Math
.abs(o
-e
.state
.level
)))[0]-1})}},{name
:"Next Level",description
:"Skips to the next level",run:function(){var e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
,{object1
:t
,object2
:o
}=e
.game
.current
.scene
.scenes
[0].physics
.world
.colliders
._active
.find((e
=>e
.collideCallback
?.toString().includes('emit("xp"')));o
.get().spawn(t
.x
,t
.y
,(1===(o
=e
.state
.level
)?1:o
<5?5:o
<10?10:o
<20?20:o
<30?30:o
<40?40:o
<50?50:100)-e
.xp
)}},{name
:"Remove Obstacles",description
:"Removes all rocks and obstacles",run:function(){Object
.values(document
.querySelector("#app > div > div"))[1].children
[0]._owner
.stateNode
.game
.current
.scene
.scenes
[0].physics
.world
.bodies
.entries
.forEach((e
=>{try{e
.gameObject
.frame
.texture
.key
.includes("obstacle")&&e
.gameObject
.destroy()}catch{}}))}},{name
:"Kill Enemies",description
:"Kills all current enemies",run:function(){Object
.values(document
.querySelector("#app > div > div"))[1].children
[0]._owner
.stateNode
.game
.current
.scene
.scenes
[0].physics
.world
.bodies
.entries
.forEach((e
=>e
?.gameObject
?.receiveDamage
?.(e
.gameObject
.hp
,1)))}},{name
:"Reset Health",description
:"Resets health and gives invincibility for 3 seconds",run:function(){Object
.values(document
.querySelector("#app > div > div"))[1].children
[0]._owner
.stateNode
.game
.current
.scene
.scenes
[0].game
.events
._events
.respawn
.fn()}},{name
:"Crash Host (Brawl)",description
:"Crashes the Host's Game for Monster Brawl",run:function(){function e(){return Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
}var t
;t
=["xp/t","t"],e().stateNode
.props
.liveGameController
.setVal({path
:"c/"+e().stateNode
.props
.client
.name
+"/"+t
[0],val
:t
.slice(1,t
.length
).join(" ")})}},{name
:"Set XP",description
:"Sets amount of XP",inputs
:[{name
:"XP",type
:"number"}],run:function(e
){var t
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;t
.setState({xp
:e
,totalXp
:e
}),t
.xp
=e
,t
.totalXp
=e
,t
.props
?.liveGameController
.setVal({path
:"c/".concat(t
.props
.client
.name
),val
:{b
:t
.props
.client
.blook
,xp
:e
}})}},{name
:"Set Level",description
:"Sets your level",inputs
:[{name
:"XP",type
:"number"}],run:function(e
){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({level
:e
})}}],cafe
:[{name
:"Max Items",description
:"Maxes out items in the shop (Only usable in the shop)",run:function(){var e
=document
.createElement("iframe");document
.body
.append(e
),window
.alert
=e
.contentWindow
.alert
.bind(window
),e
.remove(),"/cafe/shop"!==window
.location
.pathname
?alert("This can only be run in the shop"):(e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
).setState({items
:Object
.fromEntries(Object
.entries(e
.state
.items
).map((e
=>[e
[0],5])))})}},{name
:"Remove Customers",description
:"Skips the current customers (Not usable in the shop)",run:function(){let e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;e
.state
.customers
.forEach(((t
,o
)=>Object
.keys(t
).length
&&e
.removeCustomer(o
,!0)))}},{name
:"Reset Abilities",description
:"Resets used abilities in shop (Only usable in the shop)",run:function(){var e
=document
.createElement("iframe");document
.body
.append(e
),window
.alert
=e
.contentWindow
.alert
.bind(window
),e
.remove(),"/cafe/shop"!==window
.location
.pathname
?alert("This can only be run in the shop"):(e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
).setState({abilities
:Object
.fromEntries(Object
.entries(e
.state
.abilities
).map((e
=>[e
[0],5])))})}},{name
:"Set Cash",description
:"Sets cafe cash",inputs
:[{name
:"Amount",type
:"number"}],run:function(e
){var t
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;t
.setState({cafeCash
:e
}),t
.props
.liveGameController
.setVal({path
:"c/"+t
.props
.client
.name
,val
:{b
:t
.props
.client
.blook
,ca
:e
}})}},{name
:"Spam Attack Player",description
:"Attacks the player to make the game unplayable",inputs
:[{name
:"Player",type
:"options",options(){let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}}],type
:"toggle",enabled
:!1,data
:null,run:function(e
){if(this.enabled
)this.enabled
=!1,clearInterval(this.data
),this.data
=null;else{this.enabled
=!0;var t
=e
+":inspect";this.data
=setInterval((function(){var e
=Object
.values(document
.querySelector('body div[class*="_body"]'))[1].children
[0]._owner
;e
&&e
.stateNode
&&e
.stateNode
.props
&&e
.stateNode
.props
.liveGameController
&&e
.stateNode
.props
.liveGameController
.setVal({id
:e
.stateNode
.props
.client
.hostId
,path
:"c/"+e
.stateNode
.props
.client
.name
+"/tat",val
:t
})}),50)}}},{name
:"Attack Player",description
:"Sends the player a health inspection",inputs
:[{name
:"Player's Name",type
:"text"}],run:function(e
){function t(){return Object
.values(document
.querySelector('body div[class*="_body"]'))[1].children
[0]._owner
}t().stateNode
.props
.liveGameController
.setVal({id
:t().stateNode
.props
.client
.hostId
,path
:"c/"+t().stateNode
.props
.client
.name
+"/tat",val
:e
+":inspect"})}},{name
:"Tax Player",description
:"Makes a player pay tax",inputs
:[{name
:"Player's Name",type
:"text"}],run:function(e
){function t(){return Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
}var o
;e
?(o
=["tat",e
+":tax"],t().stateNode
.props
.liveGameController
.setVal({path
:"c/"+t().stateNode
.props
.client
.name
+"/"+o
[0],val
:o
.slice(1,o
.length
).join(" ")})):console
.log("No player name entered. Operation cancelled.")}},{name
:"Stock Food",description
:"Stocks all food to 99 (Not usable in the shop)",run:function(){var e
=document
.createElement("iframe");document
.body
.append(e
),window
.alert
=e
.contentWindow
.alert
.bind(window
),e
.remove(),"/cafe"!==window
.location
.pathname
?alert("This can't be run in the shop"):(e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
).setState({foods
:e
.state
.foods
.map((e
=>({...e
,stock
:99,level
:5})))})}}],crypto
:[{name
:"Choice ESP",description
:"Shows what each choice will give you",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>{let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
,{text
:t
}=e
.state
.choices
[0],o
=document
.querySelector("[class^=styles__feedbackContainer___]");if(o
.children
.length
<=4){let e
=document
.createElement("div");e
.style
.color
="white",e
.style
.fontFamily
="Inconsolata,Helvetica,monospace,sans-serif",e
.style
.fontSize
="2em",e
.style
.display
="flex",e
.style
.justifyContent
="center",e
.style
.marginTop
="675px",e
.innerText
=t
,o
.append(e
)}}),50))}},{name
:"Password ESP",description
:"Highlights the wrong passwords",type
:"toggle",enabled
:!1,data
:null,run:function(){try{let e
=this;e
.enabled
?(e
.enabled
=!1,clearInterval(e
.data
),e
.data
=null):(e
.enabled
=!0,e
.data
=setInterval((()=>{let{state
:e
}=Object
.values(function e(t
=document
.querySelector("#app > div > div")){return Object
.values(t
)[1]?.children
?.[1]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[1]._owner
.stateNode
;"hack"===e
.stage
&&Array
.from(document
.querySelectorAll('[role="button"]._button_mrhfb_157')).forEach((t
=>{t
.textContent
.trim()!==e
.correctPassword
.trim()?(t
.style
.outlineColor
="rgba(255, 64, 64, 0.8)",t
.style
.backgroundColor
="rgba(255, 64, 64, 0.8)",t
.style
.textShadow
="0 0 1px #f33"):(t
.style
.outlineColor
="",t
.style
.backgroundColor
="",t
.style
.textShadow
="")}))}),50))}catch(e
){console
.error("An error occurred:",e
)}}},{name
:"Always Triple",description
:"Always get triple crypto",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({choices
:[{type
:"mult",val
:3,rate
:.075,blook
:"Brainy Bot",text
:"Triple Crypto"}]})),50))}},{name
:"Always Quintuple",description
:"Always get quintuple crypto",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({choices
:[{type
:"mult",val
:5,rate
:.075,blook
:"Ice Elemental",text
:"Quintuple Crypto"}]})),50))}},{name
:"Always Hack",description
:"Always get hack",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({choices
:[{type
:"hack",val
:3,rate
:.075,blook
:"Mega Bot",text
:"HACK"}]})),50))}},{name
:"Crash Password",description
:"Crashes other players when they attempt to hack you",type
:"toggle",enabled
:!1,data
:null,run:function(){var e
=Object
.values(function e(t
=document
.querySelector("#app")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
.stateNode
;if(this.enabled
)this.enabled
=!1,clearInterval(this.data
),this.data
=null,e
.props
.liveGameController
.setVal({path
:`c/${e.props.client.name}/p`,val
:e
.state
?.password
});else{this.enabled
=!0;let t
=()=>{e
.props
.liveGameController
.setVal({path
:`c/${e.props.client.name}/p/toString`,val
:"crash"})};this.data
=setInterval(t
,25)}}},{name
:"Set Freeze Password",description
:"Freezes other players when they attempt to hack you",type
:"toggle",enabled
:!1,data
:null,run:function(){const encodedChars
=["\\u2f9f","\\u4fff","\\u4f52","\\u0E47","\\u0E47","\\u0E47","\\u0E47","\\u0E47","\\u0E47","\\u0E47","\\u4FF1","\\u4FF2"],chars
=encodedChars
.map((char=>eval(`"${char}"`)));function makeLongText(){return new Array(3e6
).fill().map((e
=>chars
[Math
.floor(Math
.random()*chars
.length
)])).join("")}var t
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;if(this.enabled
)this.enabled
=!1,clearInterval(this.data
),this.data
=null,t
.setState({password
:""}),t
.props
.liveGameController
.setVal({path
:"c/".concat(t
.props
.client
.name
),val
:{b
:t
.props
.client
.blook
,p
:"",cr
:t
.state
.crypto
}});else{this.enabled
=!0;let e
=()=>{var e
=makeLongText();t
.setState({password
:e
}),t
.props
.liveGameController
.setVal({path
:"c/".concat(t
.props
.client
.name
),val
:{b
:t
.props
.client
.blook
,p
:e
,cr
:t
.state
.crypto
}})};this.data
=setInterval(e
,25)}}},{name
:"Auto Guess",description
:"Automatically performs the hack for you",type
:"toggle",enabled
:!1,data
:null,run:function(){try{let e
=this;e
.enabled
?(e
.enabled
=!1,clearInterval(e
.data
),e
.data
=null):(e
.enabled
=!0,e
.data
=setInterval((()=>{if("hack"===("hack"===window
.location
.pathname
.split("/")[2]&&"hack")){let{stage
:e
,correctPassword
:t
}=Object
.values(document
.querySelector("#app > div > div"))[1].children
[1]._owner
.stateNode
.state
;"hack"===e
&&Array
.from(document
.querySelectorAll("div")).filter((e
=>e
.innerHTML
===t
))[0].click()}}),50))}catch(e
){console
.error("An error occurred:",e
)}}},{name
:"Set Host Screen Green",description
:"Makes the whole screen filled with text",type
:"toggle",enabled
:!1,data
:null,run:function(){var e
=Object
.values(function e(t
=document
.querySelector("#app")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
.stateNode
;if(this.enabled
)this.enabled
=!1,clearInterval(this.data
),this.data
=null,e
.props
.liveGameController
.setVal({path
:`c/${e.props.client.name}/cr`,val
:""});else{this.enabled
=!0;let t
=()=>{e
.props
.liveGameController
.setVal({path
:`c/${e.props.client.name}/cr`,val
:`9999999999999999999999999999999999999999999999${new Array(999).fill("็".repeat(70)).join(" ")}`})};this.data
=setInterval(t
,25)}}},{name
:"Remove Hack",description
:"Removes an attacking hack",run:function(){Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
.stateNode
.setState({hack
:""})}},{name
:"Crash Host (Crypto)",description
:"Crashes the Host's Game for Crypto Hack",run:function(){function e(){return Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
}var t
;t
=["cr/t","t"],e().stateNode
.props
.liveGameController
.setVal({path
:"c/"+e().stateNode
.props
.client
.name
+"/"+t
[0],val
:t
.slice(1,t
.length
).join(" ")})}},{name
:"Set Crypto",description
:"Sets crypto",inputs
:[{name
:"Amount",type
:"number"}],run:function(e
){var t
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;t
.setState({crypto
:e
,crypto2
:e
}),t
.props
.liveGameController
.setVal({path
:"c/"+t
.props
.client
.name
+"/cr",val
:e
})}},{name
:"Set Password",description
:"Sets hacking password",inputs
:[{name
:"Custom Password",type
:"string"}],run:function(e
){var t
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;t
.setState({password
:e
}),t
.props
.liveGameController
.setVal({path
:"c/"+t
.props
.client
.name
+"/p",val
:e
})}},{name
:"Set Host Screen Text",description
:"Makes the whole screen filled with text",inputs
:[{name
:"Text",type
:"text"}],run:function(e
){let t
=document
.createElement("iframe");document
.body
.append(t
),window
.prompt
=t
.contentWindow
.prompt
.bind(window
),t
.remove();var o
=Object
.values(function e(t
=document
.querySelector("#app")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
.stateNode
;o
.props
.liveGameController
.setVal({path
:`c/${o.props.client.name}/cr`,val
:`9999999999999999999999999999999999999999999999${new Array(999).fill(e).join(" ")}`})}},{name
:"Steal Player's Crypto",description
:"Steals all of someone's crypto",inputs
:[{name
:"Player",type
:"options",options(){let e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}}],run:function(e
){let t
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;t
.props
.liveGameController
.getDatabaseVal("c",(o
=>{var n
;o
&&Object
.keys(o
).map((e
=>e
.toLowerCase())).includes(e
.toLowerCase())&&([o
,{cr
:n
}]=Object
.entries(o
).find((([t
])=>t
.toLowerCase()==e
.toLowerCase())),t
.setState({crypto
:t
.state
.crypto
+n
,crypto2
:t
.state
.crypto
+n
}),t
.props
.liveGameController
.setVal({path
:"c/".concat(t
.props
.client
.name
),val
:{b
:t
.props
.client
.blook
,p
:t
.state
.password
,cr
:t
.state
.crypto
+n
,tat
:o
+":"+n
}}))}))}},{name
:"Get Player's Password",description
:"Shows the password of any player in an alert box",inputs
:[{name
:"Player",type
:"options",options(){let e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}}],run:function(e
){let t
=document
.createElement("iframe");document
.body
.append(t
);const o
=t
.contentWindow
.alert
.bind(window
);t
.remove(),Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
.stateNode
.props
.liveGameController
.getDatabaseVal("c",(t
=>{o(t
?.[e
]?.p
)}))}},{name
:"Flood Alert Box",description
:"Makes the alert box filled with text",inputs
:[{name
:"Text",type
:"text"}],run:function(e
){function t(){return Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
}t().stateNode
.props
.liveGameController
.getDatabaseVal("c/").then((o
=>{if(null!=o
){const r
=Object
.keys(o
)[0];if(e
){const o
="1,723,583,989,363",i
=(a
=e
,new Array(1700).fill(a
).join(" "));n
=["tat",`${r}:${o}${i}`],t().stateNode
.props
.liveGameController
.setVal({path
:"c/"+t().stateNode
.props
.client
.name
+"/"+n
[0],val
:n
.slice(1,n
.length
).join(" ")})}else console
.log("No text entered. Operation cancelled.")}else console
.log("Player not found!");var n
,a
}))}},{name
:"Send Ad Text",description
:"Sends a load of text to another player (This will override your blook!)",inputs
:[{name
:"Player",type
:"options",options(){let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}},{name
:"Text"}],run
:async
function(e
,t
){let{props
:o
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
.stateNode
,n
=`Dog:${Array(500).fill(t).join(" ")}`;o
.client
.blook
=n
,o
.liveGameController
.setVal({path
:`c/${o.client.name}/b`,val
:n
}),o
.liveGameController
.setVal({path
:`c/${o.client.name}/tat`,val
:`${e}:196`})}}],defense
:[{name
:"Earthquake",description
:"Shuffles around towers",run:function(){let e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
,t
=(e
.setState({eventName
:"Earthquake",event
:{short:"e",color
:"#805500",icon
:"fas fa-mountain",desc
:"All of your towers get mixed up",rate
:.02},buyTowerName
:"",buyTower
:{}},(()=>e
.eventTimeout
=setTimeout((()=>e
.setState({event
:{},eventName
:""})),6e3
))),e
.tiles
.forEach((e
=>e
.forEach(((t
,o
)=>3===t
&&(e
[o
]=0))))),e
.tiles
.flatMap(((e
,t
)=>e
.map(((e
,o
)=>0===e
&&{x
:o
,y
:t
})))).filter(Boolean
).sort((()=>.5-Math
.random())));e
.towers
.forEach((o
=>{var{x
:n
,y
:a
}=t
.shift();o
.move(n
,a
,e
.tileSize
),e
.tiles
[a
][n
]=3}))}},{name
:"Max Tower Stats",description
:"Makes all placed towers overpowered",run:function(){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.towers
.forEach((e
=>{e
.range
=100,e
.fullCd
=e
.cd
=0,e
.damage
=1e6
}))}},{name
:"Remove Ducks",description
:"Removes ducks",run:function(){let{ducks
:e
,tiles
:t
}=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;e
.forEach((e
=>{t
[e
.y
][e
.x
]=0})),e
.length
=0}},{name
:"Place Blooks Anywhere",description
:"Be able to place your blooks anywhere",run:function(){for(var e
=0;e
<10;e
++)Object
.values(document
.querySelector("#app > div > div"))[1].children
[1]._owner
.stateNode
.tiles
[e
]=Array(10).fill(0)}},{name
:"Remove Enemies",description
:"Removes all the enemies",run:function(){var e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;e
.enemies
=e
.futureEnemies
=[]}},{name
:"Remove Obstacles",description
:"Lets you place towers anywhere",run:function(){var e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;e
.tiles
=e
.tiles
.map((e
=>e
.fill(0)))}},{name
:"Set Damage",description
:"Sets damage",inputs
:[{name
:"Damage",type
:"number"}],run:function(e
){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.dmg
=e
}},{name
:"Set Round",description
:"Sets the current round",inputs
:[{name
:"Round",type
:"number"}],run:function(e
){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({round
:e
})}},{name
:"Set Tokens",description
:"Sets the amount of tokens you have",inputs
:[{name
:"Tokens",type
:"number"}],run:function(e
){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({tokens
:e
})}}],defense2
:[{name
:"Max Tower Stats",description
:"Makes all placed towers overpowered",run:function(){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.state
.towers
.forEach((e
=>{if(e
.stats
.dmg
=1e6
,e
.stats
.fireRate
=50,e
.stats
.ghostDetect
=!0,e
.stats
.maxTargets
=1e6
,e
.stats
.numProjectiles
&&=100,e
.stats
.range
=100,e
.stats
.auraBuffs
)for(let t
in e
.stats
.auraBuffs
)e
.stats
.auraBuffs
[t
]*=100}))}},{name
:"Kill Enemies",description
:"Kills all the enemies",run:function(){var e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;e
.game
.current
.scene
.scenes
[0].enemyQueue
.length
=0,e
.game
.current
.scene
.scenes
[0].physics
.world
.bodies
.entries
.forEach((e
=>e
?.gameObject
?.receiveDamage
?.(e
.gameObject
.hp
,1)))}},{name
:"Crash Host (Defense 2)",description
:"Crashes the Host's Game for Tower Defense 2 (May take a few tries)",run:function(){function e(){return Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
}var t
;t
=["d/t","t"],e().stateNode
.props
.liveGameController
.setVal({path
:"c/"+e().stateNode
.props
.client
.name
+"/"+t
[0],val
:t
.slice(1,t
.length
).join(" ")})}},{name
:"Set Coins",description
:"Sets coins",inputs
:[{name
:"Coins",type
:"number"}],run:function(e
){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({coins
:e
})}},{name
:"Set Health",description
:"Sets the amount of health you have",inputs
:[{name
:"Health",type
:"number"}],run:function(e
){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({health
:e
})}},{name
:"Set Round",description
:"Sets the current round",inputs
:[{name
:"Round",type
:"number"}],run:function(e
){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({round
:e
})}}],dinos
:[{name
:"Auto Choose",description
:"Automatically choose the best fossil when excavating",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>{(async()=>{try{let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;if("excavate"===e
.state
.stage
){e
.state
.choices
.length
||(e
.state
.choices=function(e
,t
){const o
=[];for(;o
.length
<t
;){const t
=Math
.random();let n
=0,a
=null;for(let o
=0;o
<e
.length
;o
++)if(n
+=e
[o
].rate
,n
>=t
){a
=e
[o
];break}a
&&!o
.includes(a
)&&o
.push(a
)}return o
}([{type
:"fossil",val
:10,rate
:.1,blook
:"Amber"},{type
:"fossil",val
:25,rate
:.1,blook
:"Dino Egg"},{type
:"fossil",val
:50,rate
:.175,blook
:"Dino Fossil"},{type
:"fossil",val
:75,rate
:.175,blook
:"Stegosaurus"},{type
:"fossil",val
:100,rate
:.15,blook
:"Velociraptor"},{type
:"fossil",val
:125,rate
:.125,blook
:"Brontosaurus"},{type
:"fossil",val
:250,rate
:.075,blook
:"Triceratops"},{type
:"fossil",val
:500,rate
:.025,blook
:"Tyrannosaurus Rex"},{type
:"mult",val
:1.5,rate
:.05},{type
:"mult",val
:2,rate
:.025}],3));let t
=0,o
=-1;for(let n
=0;n
<e
.state
.choices
.length
;n
++){const{type
:a
,val
:r
}=e
.state
.choices
[n
],i
=("fossil"==a
?e
.state
.fossils
+r
*e
.state
.fossilMult
:e
.state
.fossils
*r
)||0;i
<=t
&&"mult"!=a
||(t
=i
,o
=n
+1)}document
.querySelector('div[class*=rockRow] > div[role="button"]:nth-child('+o
+")").click()}}catch{}})()}),50))}},{name
:"Rock ESP",description
:"Shows what is under the rocks",type
:"toggle",enabled
:!1,data
:null,run:function(){let e
=["⁰","¹","²","³","⁴","⁵","⁶","⁷","⁸","⁹"],t
=t
=>{let o
="";for(;t
>0;)o
=e
[t
%parseInt("10")]+o
,t
=~~(t
/10);return o},o=e=>{let o=e.toString();if(e>=1e3){let n=["","K","M","B","T"],a=~~((digits(e)-1)/3);if(a
<n
.length
){let t
="";for(let o
=3;o
>=1;o
--){if(t
=parseFloat((0!==a
?e
/1e3**a:e).toPrecision(o)).toString(),t.replace(/[^a
-zA
-Z
0-9]+/g,"").length<=3)break}Number(t)%1!=0&&(t=Number(t).toFixed(1)),o=t+n[a]}else{let n=e,a=0;for(;n>=100;)n=Math.floor(n/10),a
+=1;o
=`${n/10} × 10${t(a+1)}`}}return o
};this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>{let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
,t
=[...document
.querySelector('[class*="rockButton"]').parentElement
.children
];t
.every((e
=>e
.querySelector("div")))||e
.setState({choices
:[{type
:"fossil",val
:10,rate
:.1,blook
:"Amber"},{type
:"fossil",val
:25,rate
:.1,blook
:"Dino Egg"},{type
:"fossil",val
:50,rate
:.175,blook
:"Dino Fossil"},{type
:"fossil",val
:75,rate
:.175,blook
:"Stegosaurus"},{type
:"fossil",val
:100,rate
:.15,blook
:"Velociraptor"},{type
:"fossil",val
:125,rate
:.125,blook
:"Brontosaurus"},{type
:"fossil",val
:250,rate
:.075,blook
:"Triceratops"},{type
:"fossil",val
:500,rate
:.025,blook
:"Tyrannosaurus Rex"},{type
:"mult",val
:1.5,rate
:.05},{type
:"mult",val
:2,rate
:.025}].sort((()=>.5-Math
.random())).slice(0,3)},(()=>{t
.forEach(((t
,n
)=>{let a
=e
.state
.choices
[n
];t
.querySelector("div")&&t
.querySelector("div").remove();let r
=document
.createElement("div");r
.style
.color
="white",r
.style
.fontFamily
="Macondo",r
.style
.fontSize
="1em",r
.style
.display
="flex",r
.style
.justifyContent
="center",r
.style
.transform
="translateY(25px)",r
.innerText
="fossil"===a
.type
?`+${Math.round(a.val*e.state.fossilMult)>99999999?o(Math.round(a.val*e.state.fossilMult)):Math.round(a.val*e.state.fossilMult)} Fossils`:`x${a.val} Fossils Per Excavation`,t
.append(r
)}))}))}),50))}},{name
:"Set Fossils",description
:"Sets the amount of fossils you have",inputs
:[{name
:"Fossils",type
:"number"}],run:function(e
){var t
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;t
.setState({fossils
:e
}),t
.props
.liveGameController
.setVal({path
:"c/"+t
.props
.client
.name
,val
:{b
:t
.props
.client
.blook
,f
:e
,ic
:t
.state
.isCheating
}})}},{name
:"Set Multiplier",description
:"Sets fossil multiplier",inputs
:[{name
:"Multiplier",type
:"number"}],run:function(e
){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({fossilMult
:e
})}},{name
:"Crash Host (Dino)",description
:"Crashes the Host's Game for Deceptive Dinos",run:function(){function e(){return Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
}var t
;t
=["f/t","t"],e().stateNode
.props
.liveGameController
.setVal({path
:"c/"+e().stateNode
.props
.client
.name
+"/"+t
[0],val
:t
.slice(1,t
.length
).join(" ")})}},{name
:"Stop Cheating",description
:"Undoes cheating so that you can't be caught",run:function(){var e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;e
.setState({isCheating
:!1}),e
.props
.liveGameController
.setVal({path
:`c/${e.props.client.name}/ic`,val
:!1})}}],doom
:[{name
:"Fill Deck",description
:"Fills your deck with every maxed out card and artifact (Only works on towers page)",run:function(){let e
=document
.createElement("iframe");if(document
.body
.append(e
),window
.alert
=e
.contentWindow
.alert
.bind(window
),e
.remove(),"/tower/map"==window
.location
.pathname
){let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;e
.props
.tower
.artifacts
="Medical Kit|Fury Relic|Survival Guide|Steel Socks|Piggy Bank|Lucky Feather|Coupon|Cheese|Tasty Egg|Training Weights|Mighty Shield|Toxic Waste|Lifeline Totem|Cursed Hourglass|Band-Aid|Elder Coins|Captain's Anchor|Chess Pieces|Pink Hippo|Anorak's Wizard Cap|Dave's Doggo|Anubis' Obelisk|Farm Tractor|Magic Seedling|Just A Bone|Cozy Igloo|King's Crown|Sacred Scroll".split("|"),e
.props
.tower
.cards
="Chick,🌽|Chicken,🌽|Cow,🌽|Goat,🌽|Horse,🌽|Pig,🌽|Sheep,🌽|Duck,🌽|Dog,🌽|Cat,🐾|Rabbit,🐾|Goldfish,🐾|Hamster,🐾|Turtle,🐾|Kitten,🐾|Puppy,🐾|Bear,🌲|Moose,🌲|Fox,🌲|Raccoon,🌲|Squirrel,🌲|Owl,🌲|Hedgehog,🌲|Baby Penguin,❄️|Penguin,❄️|Arctic Fox,❄️|Snowy Owl,❄️|Polar Bear,❄️|Arctic Hare,❄️|Seal,❄️|Walrus,❄️|Tiger,🌴|Panther,🌴|Cockatoo,🌴|Orangutan,🌴|Anaconda,🌴|Macaw,🌴|Jaguar,🌴|Capuchin,🌴|Toucan,🌴|Parrot,🌴|Elf,⚔️|Witch,⚔️|Wizard,⚔️|Fairy,⚔️|Slime Monster,⚔️|Jester,⚔️|Dragon,⚔️|Unicorn,⚔️|Queen,⚔️|King,⚔️|Snow Globe,☃️|Holiday Gift,☃️|Hot Chocolate,☃️|Gingerbread Man,☃️|Gingerbread House,☃️|Holiday Wreath,☃️|Snowman,☃️|Santa Claus,☃️|Two of Spades,🏰|Eat Me,🏰|Drink Me,🏰|Alice,🏰|Queen of Hearts,🏰|Dormouse,🏰|White Rabbit,🏰|Cheshire Cat,🏰|Caterpillar,🏰|Mad Hatter,🏰|King of Hearts,🏰".split("|").map((e
=>{let[t
,o
]=e
.split(",");return{strength
:20,charisma
:20,wisdom
:20,class:o
,blook
:t
}}));try{e
.props
.addTowerNode()}catch{}e
.setState({showDeck
:!1})}else alert("You need to be on the map to run this cheat!")}},{name
:"Max Cards",description
:"Maxes out all the cards in your deck",run:function(){var e
=document
.createElement("iframe");document
.body
.append(e
),window
.alert
=e
.contentWindow
.alert
.bind(window
),e
.remove(),"/tower/map"==window
.location
.pathname
?(e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
).props
.tower
.cards
.forEach((e
=>{e
.strength
=20,e
.charisma
=20,e
.wisdom
=20})):alert("You need to be on the map to run this cheat!")}},{name
:"Max Health",description
:"Fills the player's health",run:function(){var e
=document
.createElement("iframe");document
.body
.append(e
),window
.alert
=e
.contentWindow
.alert
.bind(window
),e
.remove(),"/tower/battle"==window
.location
.pathname
?Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({myHealth
:100}):alert("You need to be in battle to run this cheat!")}},{name
:"Max Card Stats",description
:"Maxes out player's current card (Only works on attribute select page)",run:function(){var e
=document
.createElement("iframe");"select"!==(e
=(document
.body
.append(e
),window
.alert
=e
.contentWindow
.alert
.bind(window
),e
.remove(),Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
).stateNode
).state
.phase
?alert("You must be on the attribute selection page!"):e
.setState({myCard
:{...e
.state
.myCard
,strength
:20,charisma
:20,wisdom
:20}})}},{name
:"Min Enemy Stats",description
:"Makes the enemy card stats all 0 (Only works on attribute select page)",run:function(){var e
=document
.createElement("iframe");"select"!==(e
=(document
.body
.append(e
),window
.alert
=e
.contentWindow
.alert
.bind(window
),e
.remove(),Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
).stateNode
).state
.phase
?alert("You must be on the attribute selection page!"):e
.setState({enemyCard
:{...e
.state
.enemyCard
,strength
:0,charisma
:0,wisdom
:0}})}},{name
:"Set Coins",description
:"Try's to set amount of tower coins you have",inputs
:[{name
:"Coins",type
:"number"}],run:function(e
){var t
=document
.createElement("iframe");if(document
.body
.append(t
),window
.alert
=t
.contentWindow
.prompt
.bind(window
),t
.remove(),"/tower/battle"==window
.location
.pathname
){t
=parseInt("0"+alert("How many coins would you like?"));var o
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;try{o
.props
.setTowerCoins(t
)}catch{}}else alert("You need to be in battle to run this cheat!")}},{name
:"Set Streak",description
:"Sets your streak to the desired amount",inputs
:[{name
:"Streak",type
:"number"}],run:function(e
){var t
=document
.createElement("iframe");document
.body
.append(t
),window
.alert
=t
.contentWindow
.alert
.bind(window
),t
.remove(),"/tower/battle"==window
.location
.pathname
?Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({myStreak
:!0,streak
:e
}):alert("You need to be in battle to run this cheat!")}}],factory
:[{name
:"Choose Blook",description
:"Gives you a blook",inputs
:[{name
:"Blook",type
:"options",options
:[{name
:"Chick",color
:"#ffcd05",class:"🌽",rarity
:"Common",cash
:[3,7,65,400,2500],time
:[1,1,1,1,1],price
:[300,3e3
,3e4
,2e5
]},{name
:"Chicken",color
:"#ed1c24",class:"🌽",rarity
:"Common",cash
:[10,40,200,1400,1e4
],time
:[5,4,3,2,1],price
:[570,4e3
,5e4
,8e5
]},{name
:"Cow",color
:"#58595b",class:"🌽",rarity
:"Common",cash
:[25,75,1500,25e3
,25e4
],time
:[15,10,10,10,5],price
:[500,9500,16e4
,4e6
]},{name
:"Duck",color
:"#4ab96d",class:"🌽",rarity
:"Common",cash
:[4,24,200,3e3
,4e4
],time
:[3,3,3,3,3],price
:[450,4200,7e4
,11e5
]},{name
:"Goat",color
:"#c59a74",class:"🌽",rarity
:"Common",cash
:[5,28,200,1300,12e3
],time
:[3,3,2,2,2],price
:[500,6400,45e3
,5e5
]},{name
:"Horse",color
:"#995b3c",class:"🌽",rarity
:"Common",cash
:[5,20,270,1800,15e3
],time
:[2,2,2,2,2],price
:[550,8200,65e3
,6e5
]},{name
:"Pig",color
:"#f6a9cb",class:"🌽",rarity
:"Common",cash
:[20,50,1300,8e3
,8e4
],time
:[7,7,7,7,5],price
:[400,11e3
,8e4
,13e5
]},{name
:"Sheep",color
:"#414042",class:"🌽",rarity
:"Common",cash
:[6,25,250,1500,11e3
],time
:[3,3,3,2,2],price
:[500,5e3
,5e4
,43e4
]},{name
:"Cat",color
:"#f49849",class:"🐾",rarity
:"Common",cash
:[5,18,170,1700,13e3
],time
:[2,2,2,2,2],price
:[480,5500,6e4
,5e5
]},{name
:"Dog",color
:"#995b3c",class:"🐾",rarity
:"Common",cash
:[7,25,220,1900,9e3
],time
:[3,3,2,2,1],price
:[460,6600,7e4
,73e4
]},{name
:"Goldfish",color
:"#f18221",class:"🐾",rarity
:"Common",cash
:[5,40,350,3500,35e3
],time
:[3,3,3,3,3],price
:[750,7200,84e3
,95e4
]},{name
:"Rabbit",color
:"#e7bf9a",class:"🐾",rarity
:"Common",cash
:[3,18,185,800,7e3
],time
:[2,2,2,1,1],price
:[500,5800,56e3
,55e4
]},{name
:"Hamster",color
:"#ce9176",class:"🐾",rarity
:"Common",cash
:[10,45,450,4500,45e3
],time
:[4,4,4,4,4],price
:[650,6500,8e4
,93e4
]},{name
:"Turtle",color
:"#619a3c",class:"🐾",rarity
:"Common",cash
:[23,120,1400,15e3
,17e4
],time
:[10,10,10,10,10],price
:[700,8500,11e4
,13e5
]},{name
:"Puppy",color
:"#414042",class:"🐾",rarity
:"Common",cash
:[4,10,75,500,3e3
],time
:[1,1,1,1,1],price
:[450,4e3
,35e3
,25e4
]},{name
:"Kitten",color
:"#58595b",class:"🐾",rarity
:"Common",cash
:[4,8,60,400,2e3
],time
:[1,1,1,1,1],price
:[350,3500,26e3
,17e4
]},{name
:"Bear",color
:"#995b3c",class:"🌲",rarity
:"Common",cash
:[12,70,550,4500,1e5
],time
:[7,7,6,5,5],price
:[550,5500,63e3
,16e5
]},{name
:"Moose",color
:"#995b3c",class:"🌲",rarity
:"Common",cash
:[8,45,400,3500,26e3
],time
:[5,5,4,4,3],price
:[520,6500,58e3
,7e5
]},{name
:"Fox",color
:"#f49849",class:"🌲",rarity
:"Common",cash
:[7,15,80,550,3e3
],time
:[2,2,1,1,1],price
:[400,4e3
,36e3
,24e4
]},{name
:"Raccoon",color
:"#6d6e71",class:"🌲",rarity
:"Common",cash
:[5,14,185,1900,19e3
],time
:[2,2,2,2,2],price
:[400,5e3
,71e3
,8e5
]},{name
:"Squirrel",color
:"#d25927",class:"🌲",rarity
:"Common",cash
:[3,10,65,470,2600],time
:[1,1,1,1,1],price
:[420,3600,32e3
,21e4
]},{name
:"Owl",color
:"#594a42",class:"🌲",rarity
:"Common",cash
:[4,17,155,1500,15e3
],time
:[2,2,2,2,2],price
:[500,4800,55e3
,58e4
]},{name
:"Hedgehog",color
:"#3f312b",class:"🌲",rarity
:"Common",cash
:[11,37,340,2200,3e4
],time
:[5,4,3,2,2],price
:[540,7e3
,77e3
,12e5
]},{name
:"Seal",color
:"#7ca1d5",class:"❄️",rarity
:"Common",cash
:[6,17,150,1200,13e3
],time
:[2,2,2,2,2],price
:[480,4500,43e3
,52e4
]},{name
:"Arctic Fox",color
:"#7ca1d5",class:"❄️",rarity
:"Common",cash
:[5,18,180,850,8500],time
:[2,2,2,1,1],price
:[520,550,61e3
,68e4
]},{name
:"Snowy Owl",color
:"#feda3f",class:"❄️",rarity
:"Common",cash
:[5,20,190,1900,16e3
],time
:[3,3,2,2,2],price
:[370,5300,76e3
,62e4
]},{name
:"Arctic Hare",color
:"#7ca1d5",class:"❄️",rarity
:"Common",cash
:[6,19,85,900,7e3
],time
:[2,2,1,1,1],price
:[540,5200,66e3
,55e4
]},{name
:"Penguin",color
:"#fb8640",class:"❄️",rarity
:"Common",cash
:[4,21,310,3200,33e3
],time
:[3,3,3,3,3],price
:[400,6500,76e3
,87e4
]},{name
:"Baby Penguin",color
:"#414042",class:"❄️",rarity
:"Common",cash
:[3,8,70,450,2700],time
:[1,1,1,1,1],price
:[420,3300,33e3
,23e4
]},{name
:"Polar Bear",color
:"#7ca1d5",class:"❄️",rarity
:"Common",cash
:[12,75,700,6500,85e3
],time
:[8,7,6,5,5],price
:[630,7e3
,91e3
,14e5
]},{name
:"Walrus",color
:"#7d4f33",class:"❄️",rarity
:"Common",cash
:[11,46,420,3700,51e3
],time
:[5,5,4,4,4],price
:[550,6200,68e3
,1e6
]},{name
:"Tiger",color
:"#f18221",class:"🌴",rarity
:"Common",cash
:[6,20,100,975,7500],time
:[3,3,1,1,1],price
:[390,6e3
,7e4
,61e4
]},{name
:"Jaguar",color
:"#fbb040",class:"🌴",rarity
:"Common",cash
:[8,28,230,1600,17e3
],time
:[3,3,2,2,2],price
:[390,6e3
,7e4
,61e4
]},{name
:"Toucan",color
:"#ffca34",class:"🌴",rarity
:"Common",cash
:[9,20,175,625,3800],time
:[2,2,2,1,1],price
:[520,4800,42e3
,3e5
]},{name
:"Cockatoo",color
:"#7ca1d5",class:"🌴",rarity
:"Common",cash
:[6,35,160,1700,18e3
],time
:[4,4,2,2,2],price
:[500,5e3
,63e3
,7e5
]},{name
:"Macaw",color
:"#00aeef",class:"🌴",rarity
:"Common",cash
:[3,8,85,850,8500],time
:[1,1,1,1,1],price
:[480,5400,62e3
,63e4
]},{name
:"Parrot",color
:"#ed1c24",class:"🌴",rarity
:"Common",cash
:[3,9,90,900,9e3
],time
:[1,1,1,1,1],price
:[540,5700,65e3
,69e4
]},{name
:"Panther",color
:"#2f2c38",class:"🌴",rarity
:"Common",cash
:[12,28,215,2100,21e3
],time
:[5,3,2,2,2],price
:[530,6500,76e3
,87e4
]},{name
:"Anaconda",color
:"#8a9143",class:"🌴",rarity
:"Common",cash
:[3,15,85,1500,7600],time
:[1,2,1,2,1],price
:[410,5100,58e3
,59e4
]},{name
:"Orangutan",color
:"#bc6234",class:"🌴",rarity
:"Common",cash
:[13,52,570,4300,7e4
],time
:[5,5,5,4,4],price
:[600,7e3
,8e4
,14e5
]},{name
:"Capuchin",color
:"#e0b0a6",class:"🌴",rarity
:"Common",cash
:[4,14,160,780,8200],time
:[2,2,2,1,1],price
:[390,4700,57e3
,68e4
]},{name
:"Elf",color
:"#a7d054",class:"⚔️",rarity
:"Uncommon",cash
:[5e3
,15e3
,15e4
,15e5
,1e7
],time
:[1,1,1,1,1],price
:[8e5
,9e6
,11e7
,8e8
]},{name
:"Witch",color
:"#4ab96d",class:"⚔️",rarity
:"Uncommon",cash
:[18e3
,6e4
,4e4
,4e6
,35e6
],time
:[3,3,2,2,2],price
:[11e5
,12e6
,15e7
,14e8
]},{name
:"Wizard",color
:"#5a459c",class:"⚔️",rarity
:"Uncommon",cash
:[19500,65e3
,44e4
,46e5
,4e6
],time
:[3,3,2,2,2],price
:[13e5
,135e5
,16e7
,16e8
]},{name
:"Fairy",color
:"#df6d9c",class:"⚔️",rarity
:"Uncommon",cash
:[18500,6e4
,62e4
,44e5
,38e6
],time
:[3,3,3,2,2],price
:[12e5
,125e5
,15e6
,15e8
]},{name
:"Slime Monster",color
:"#2fa04a",class:"⚔️",rarity
:"Uncommon",cash
:[35e3
,14e4
,1e6
,11e6
,11e7
],time
:[5,5,4,4,4],price
:[16e5
,15e6
,2e8
,23e8
]},{name
:"Jester",color
:"#be1e2d",class:"⚔️",rarity
:"Rare",cash
:[25e3
,1e5
,68e4
,65e5
,32e6
],time
:[3,3,2,2,1],price
:[2e6
,21e6
,23e7
,26e8
]},{name
:"Dragon",color
:"#2fa04a",class:"⚔️",rarity
:"Rare",cash
:[36e3
,15e4
,15e5
,15e6
,15e7
],time
:[4,4,4,4,4],price
:[23e5
,24e6
,27e7
,3e9
]},{name
:"Unicorn",color
:"#f6afce",class:"⚔️",rarity
:"Epic",cash
:[24e3
,15e4
,14e5
,7e6
,75e6
],time
:[2,2,2,1,1],price
:[45e5
,45e6
,55e7
,65e8
]},{name
:"Queen",color
:"#9e1f63",class:"⚔️",rarity
:"Rare",cash
:[24e3
,95e3
,95e4
,97e5
,95e6
],time
:[3,3,3,3,3],price
:[19e5
,2e7
,23e7
,25e8
]},{name
:"King",color
:"#ee2640",class:"⚔️",rarity
:"Legendary",cash
:[75e3
,4e5
,6e6
,9e7
,125e7
],time
:[5,5,5,5,5],price
:[6e6
,95e6
,16e8
,25e9
]},{name
:"Two of Spades",color
:"#414042",class:"🏰",rarity
:"Uncommon",cash
:[4500,14e3
,14e4
,14e5
,9e6
],time
:[1,1,1,1,1],price
:[77e4
,83e5
,98e6
,71e7
]},{name
:"Eat Me",color
:"#d58c55",class:"🏰",rarity
:"Uncommon",cash
:[13e3
,45e3
,45e4
,45e5
,5e7
],time
:[2,2,2,2,2],price
:[13e5
,14e6
,16e7
,2e9
]},{name
:"Drink Me",color
:"#dd7399",class:"🏰",rarity
:"Uncommon",cash
:[12e3
,4e4
,4e5
,4e6
,45e6
],time
:[2,2,2,2,2],price
:[12e5
,12e6
,14e7
,18e8
]},{name
:"Alice",color
:"#4cc9f5",class:"🏰",rarity
:"Uncommon",cash
:[13e3
,42e3
,21e4
,21e5
,23e6
],time
:[2,2,1,1,1],price
:[12e5
,13e6
,15e7
,19e8
]},{name
:"Queen of Hearts",color
:"#d62027",class:"🏰",rarity
:"Uncommon",cash
:[23e3
,87e3
,62e4
,75e5
,9e7
],time
:[4,4,3,3,3],price
:[13e5
,13e6
,18e7
,24e8
]},{name
:"Dormouse",color
:"#89d6f8",class:"🏰",rarity
:"Rare",cash
:[17e3
,68e3
,7e5
,35e5
,35e6
],time
:[2,2,1,1,1],price
:[2e6
,22e6
,25e7
,28e8
]},{name
:"White Rabbit",color
:"#ffcd05",class:"🏰",rarity
:"Rare",cash
:[26e3
,105e3
,11e6
,77e5
,72e6
],time
:[3,3,3,2,2],price
:[2e6
,23e6
,28e7
,29e8
]},{name
:"Cheshire Cat",color
:"#dd7399",class:"🏰",rarity
:"Rare",cash
:[32e3
,1e5
,9e5
,9e6
,6e7
],time
:[4,3,3,3,2],price
:[18e5
,19e6
,22e7
,24e8
]},{name
:"Caterpillar",color
:"#00c0f3",class:"🏰",rarity
:"Epic",cash
:[1e4
,7e4
,65e4
,75e5
,85e6
],time
:[1,1,1,1,1],price
:[42e5
,42e6
,54e7
,69e8
]},{name
:"Mad Hatter",color
:"#914f93",class:"🏰",rarity
:"Epic",cash
:[38e3
,25e4
,15e5
,14e6
,8e7
],time
:[3,3,2,2,1],price
:[48e5
,48e6
,52e7
,66e8
]},{name
:"King of Hearts",color
:"#c62127",class:"🏰",rarity
:"Legendary",cash
:[8e4
,42e4
,68e5
,1e8
,15e8
],time
:[5,5,5,5,5],price
:[7e6
,11e7
,18e8
,3e10
]},{name
:"Earth",color
:"#416eb5",class:"🚀",rarity
:"Uncommon",cash
:[15e3
,45e3
,6e5
,65e5
,65e6
],time
:[3,3,3,3,3],price
:[1e6
,11e6
,15e7
,17e8
]},{name
:"Meteor",color
:"#c68c3c",class:"🚀",rarity
:"Uncommon",cash
:[23e3
,65e3
,7e5
,45e5
,2e7
],time
:[5,4,3,2,1],price
:[95e4
,13e6
,16e7
,16e8
]},{name
:"Stars",color
:"#19184d",class:"🚀",rarity
:"Uncommon",cash
:[1e4
,4e4
,2e5
,2e6
,18e6
],time
:[2,2,1,1,1],price
:[14e5
,14e6
,15e7
,15e8
]},{name
:"Alien",color
:"#8dc63f",class:"🚀",rarity
:"Uncommon",cash
:[3e4
,1e5
,1e6
,11e6
,85e6
],time
:[4,4,4,4,4],price
:[15e5
,17e6
,19e7
,17e8
]},{name
:"Planet",color
:"#9dc6ea",class:"🚀",rarity
:"Rare",cash
:[25e3
,1e5
,9e5
,9e6
,9e7
],time
:[3,3,3,3,3],price
:[2e6
,21e6
,21e7
,24e8
]},{name
:"UFO",color
:"#a15095",class:"🚀",rarity
:"Rare",cash
:[17e3
,7e4
,7e5
,7e6
,7e7
],time
:[2,2,2,2,2],price
:[21e5
,23e6
,25e7
,28e8
]},{name
:"Spaceship",color
:"#ffcb29",class:"🚀",rarity
:"Epic",cash
:[6e4
,32e4
,21e5
,15e6
,85e6
],time
:[5,4,3,2,1],price
:[48e5
,46e6
,54e7
,68e8
]},{name
:"Astronaut",color
:"#9bd4ee",class:"🚀",rarity
:"Legendary",cash
:[45e3
,26e4
,25e5
,38e6
,55e7
],time
:[3,3,2,2,2],price
:[65e5
,1e8
,17e8
,27e9
]},{name
:"Lil Bot",color
:"#3e564a",class:"🤖",rarity
:"Uncommon",cash
:[4e3
,12e3
,18e4
,19e5
,25e6
],time
:[1,1,1,1,1],price
:[73e4
,12e6
,13e7
,19e8
]},{name
:"Lovely Bot",color
:"#f179af",class:"🤖",rarity
:"Uncommon",cash
:[16e3
,65e3
,65e4
,48e5
,42e6
],time
:[3,3,3,2,2],price
:[13e5
,14e6
,17e7
,16e8
]},{name
:"Angry Bot",color
:"#f1613a",class:"🤖",rarity
:"Uncommon",cash
:[22e3
,85e3
,8e5
,62e5
,65e6
],time
:[4,4,4,3,3],price
:[12e5
,13e6
,15e7
,17e8
]},{name
:"Happy Bot",color
:"#51ba6b",class:"🤖",rarity
:"Uncommon",cash
:[11e3
,45e3
,5e5
,25e5
,3e7
],time
:[2,2,2,1,1],price
:[14e5
,15e6
,18e7
,24e8
]},{name
:"Watson",color
:"#d69b5a",class:"🤖",rarity
:"Rare",cash
:[24e3
,1e5
,1e6
,1e7
,1e8
],time
:[3,3,3,3,3],price
:[2e6
,22e6
,24e7
,26e8
]},{name
:"Buddy Bot",color
:"#9dc6ea",class:"🤖",rarity
:"Rare",cash
:[22e3
,95e3
,65e4
,65e5
,65e6
],time
:[3,3,2,2,2],price
:[19e5
,21e6
,23e7
,25e8
]},{name
:"Brainy Bot",color
:"#9ecf7a",class:"🤖",rarity
:"Epic",cash
:[5e4
,25e4
,21e5
,21e6
,17e7
],time
:[4,3,3,3,2],price
:[5e6
,46e6
,5e8
,67e8
]},{name
:"Mega Bot",color
:"#d71f27",class:"🤖",rarity
:"Legendary",cash
:[8e4
,43e4
,42e5
,62e6
,1e9
],time
:[5,5,3,3,3],price
:[7e6
,12e7
,19e8
,35e9
]}].map((e
=>({name
:e
.name
,value
:JSON
.stringify(e
)})))}],run:function(e
){let t
=document
.createElement("iframe");document
.body
.append(t
),window
.alert
=t
.contentWindow
.alert
.bind(window
),t
.remove();let{stateNode
:o
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;o
.state
.blooks
.length
>=10&&alert("Choose a blook to replace"),o
.chooseBlook(JSON
.parse(e
))}},{name
:"Free Upgrades",description
:"Sets upgrade prices to 0 for all current blooks",run:function(){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState((e
=>({...e
,blooks
:e
.blooks
.map((e
=>({...e
,price
:[0,0,0,0]})))})))}},{name
:"Max Blooks",description
:"Maxes out all your blooks' levels",run:function(){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.state
.blooks
.forEach((e
=>e
.level
=4))}},{name
:"Remove Glitches",description
:"Removes all enemy glitches",run:function(){var e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;e
.setState({bits
:0,ads
:[],hazards
:[],color
:"",lol
:!1,joke
:!1,slow
:!1,dance
:!1,glitch
:"",glitcherName
:"",glitcherBlook
:""}),clearTimeout(e
.adTimeout
),clearInterval(e
.hazardInterval
),clearTimeout(e
.nightTimeout
),clearTimeout(e
.glitchTimeout
),clearTimeout(e
.lolTimeout
),clearTimeout(e
.jokeTimeout
),clearTimeout(e
.slowTimeout
),clearTimeout(e
.danceTimeout
),clearTimeout(e
.nameTimeout
)}},{name
:"Send Glitch",description
:"Sends a glitch to everyone else playing",inputs
:[{name
:"Glitch",type
:"options",options
:Object
.entries({lb
:"Lunch Break",as
:"Ad Spam",e37
:"Error 37",nt
:"Night Time",lo
:"#LOL",j
:"Jokester",sm
:"Slow Mo",dp
:"Dance Party",v
:"Vortex",r
:"Reverse",f
:"Flip",m
:"Micro"}).map((([e
,t
])=>({name
:t
,value
:e
})))}],run:function(e
){var t
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;t
.safe
=!0,t
.props
.liveGameController
.setVal({path
:`c/${t.props.client.name}/tat`,val
:e
})}},{name
:"Set All MegaBot",description
:"Sets all your blooks to maxed out Mega Bots",run:function(){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({blooks
:Array(10).fill({name
:"Mega Bot",color
:"#d71f27",class:"🤖",rarity
:"Legendary",cash
:[8e4
,43e4
,42e5
,62e6
,1e9
],time
:[5,5,3,3,3],price
:[7e6
,12e7
,19e8
,35e9
],active
:!1,level
:4,bonus
:5.5})})}},{name
:"Set Cash",description
:"Sets amount of cash you have",inputs
:[{name
:"Cash",type
:"number"}],run:function(e
){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({cash
:e
})}}],fishing
:[{name
:"Always Frenzy",description
:"Always sets everyone to frenzy mode",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>{(async()=>{let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;e
.props
.liveGameController
.setVal({path
:`c/${e.props.client.name}`,val
:{b
:e
.props
.client
.blook
,w
:e
.state
.weight
,f
:"Frenzy",s
:!0}})})()}),50))}},{name
:"Client Sided Frenzy",description
:"Frenzy for you only",type
:"toggle",enabled
:!1,run:function(){const e
=Object
.values(document
.querySelector("#app > div > div"))[1].children
[1]._owner
.stateNode
;this.enabled
?(this.enabled
=!1,e
.setState({isFrenzy
:!1})):(this.enabled
=!0,e
.setState({isFrenzy
:!0}))}},{name
:"Remove Distractions",description
:"Removes distractions",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>{Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({party
:""})}),50))}},{name
:"Frenzy",description
:"Sets everyone to frenzy mode",run:function(){var e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;e
.props
.liveGameController
.setVal({path
:"c/"+e
.props
.client
.name
,val
:{b
:e
.props
.client
.blook
,w
:e
.state
.weight
,f
:"Frenzy",s
:!0}})}},{name
:"Send Distraction",description
:"Sends a distraction to everyone",inputs
:[{name
:"Distraction",type
:"options",options
:["Crab","Jellyfish","Frog","Pufferfish","Octopus","Narwhal","Megalodon","Blobfish","Baby Shark"]}],run:function(e
){var t
=document
.createElement("iframe");(t
=(document
.body
.append(t
),window
.alert
=t
.contentWindow
.alert
.bind(window
),t
.remove(),Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
).stateNode
).safe
=!0,t
.props
.liveGameController
.setVal({path
:"c/"+t
.props
.client
.name
,val
:{b
:t
.props
.client
.blook
,w
:t
.state
.weight
,f
:e
,s
:!0}})}},{name
:"Set Lure",description
:"Sets fishing lure (range 1 - 5)",inputs
:[{name
:"Lure (1 - 5)",type
:"number",min
:1,max
:5}],run:function(e
){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({lure
:Math
.max(Math
.min(e
-1,4),0)})}},{name
:"Set Next Fish",description
:"Sets the next fish to catch",inputs
:[{name
:"Fish",type
:"options",options
:["Old Boot","Waffle","Two of Spades","Jellyfish","Clownfish","Goldfish","Frog","Blizzard Clownfish","Turtle","Cat","Lovely Frog","Lucky Frog","Poison Dart Frog","Seal","Walrus","Fairy","Crab","Lemon Crab","Pufferfish","Blobfish","Rainbow Jellyfish","Octopus","Pirate Pufferfish","Donut Blobfish","Crimson Octopus","Narwhal","Baby Shark","Megalodon","Alien","Rainbow Narwhal","UFO","Santa Claus","Swamp Monster","Red Astronaut","Spooky Pumpkin","Dragon","Tim the Alien"]}],run:function(e
){function t(){return Object
.values(document
.querySelector("#app > div > div"))[1].children
[0]._owner
}var o
={"Old Boot":{rarity
:"Trash",minWeight
:1,maxWeight
:10,tiers
:["F","D","C"]},Waffle
:{rarity
:"Trash",minWeight
:1,maxWeight
:10,tiers
:["F","D","C"]},"Two of Spades":{rarity
:"Trash",minWeight
:1,maxWeight
:10,tiers
:["F","D","C"]},Jellyfish
:{rarity
:"Easy One",minWeight
:10,maxWeight
:25,tiers
:["D","C","B"]},Clownfish
:{rarity
:"Easy One",minWeight
:20,maxWeight
:45,tiers
:["D","C","B"]},Goldfish
:{rarity
:"Easy One",minWeight
:30,maxWeight
:65,tiers
:["D","C","B"]},Frog
:{rarity
:"Easy One",minWeight
:50,maxWeight
:100,tiers
:["D","C","B"]},"Blizzard Clownfish":{rarity
:"Great Catch",minWeight
:75,maxWeight
:125,tiers
:["D","C","B"]},Turtle
:{rarity
:"Great Catch",minWeight
:100,maxWeight
:150,tiers
:["D","C","B","A"]},Cat
:{rarity
:"Great Catch",minWeight
:100,maxWeight
:200,tiers
:["D","C","B","A"]},"Lovely Frog":{rarity
:"Great Catch",minWeight
:150,maxWeight
:350,tiers
:["D","C","B","A"]},"Lucky Frog":{rarity
:"Great Catch",minWeight
:200,maxWeight
:400,tiers
:["D","C","B","A"]},"Poison Dart Frog":{rarity
:"Great Catch",minWeight
:250,maxWeight
:750,tiers
:["D","C","B","A"]},Seal
:{rarity
:"Rare Find",minWeight
:500,maxWeight
:1e3
,tiers
:["D","C","B","A"]},Walrus
:{rarity
:"Rare Find",minWeight
:700,maxWeight
:2200,tiers
:["D","C","B","A"]},Fairy
:{rarity
:"Rare Find",minWeight
:1500,maxWeight
:2500,tiers
:["D","C","B","A"]},Crab
:{rarity
:"Rare Find",minWeight
:1e3
,maxWeight
:3e3
,tiers
:["D","C","B","A"]},"Lemon Crab":{rarity
:"Rare Find",minWeight
:2e3
,maxWeight
:5e3
,tiers
:["C","B","A"]},Pufferfish
:{rarity
:"Rare Find",minWeight
:2e3
,maxWeight
:4e3
,tiers
:["D","C","B","A"]},Blobfish
:{rarity
:"Rare Find",minWeight
:3e3
,maxWeight
:5e3
,tiers
:["D","C","B","A"]},"Rainbow Jellyfish":{rarity
:"Epic Grab",minWeight
:7e3
,maxWeight
:1e4
,tiers
:["C","B","A"]},Octopus
:{rarity
:"Epic Grab",minWeight
:1e4
,maxWeight
:15e3
,tiers
:["C","B","A"]},"Pirate Pufferfish":{rarity
:"Epic Grab",minWeight
:12e3
,maxWeight
:2e4
,tiers
:["C","B","A"]},"Donut Blobfish":{rarity
:"Epic Grab",minWeight
:13e3
,maxWeight
:25e3
,tiers
:["C","B","A"]},"Crimson Octopus":{rarity
:"Epic Grab",minWeight
:15e3
,maxWeight
:3e4
,tiers
:["B","A"]},Narwhal
:{rarity
:"Catch of the Day",minWeight
:25e3
,maxWeight
:5e4
,tiers
:["B","A","S"]},"Baby Shark":{rarity
:"Catch of the Day",minWeight
:5e4
,maxWeight
:1e5
,tiers
:["B","A","S"]},Megalodon
:{rarity
:"Catch of the Day",minWeight
:25e4
,maxWeight
:5e5
,tiers
:["B","A","S"]},Alien
:{rarity
:"Angler's Legend",minWeight
:5e5
,maxWeight
:7e5
,tiers
:["A","S"]},"Rainbow Narwhal":{rarity
:"Angler's Legend",minWeight
:75e4
,maxWeight
:1e6
,tiers
:["A","S","S+"]},UFO
:{rarity
:"Angler's Legend",minWeight
:1e6
,maxWeight
:2e6
,tiers
:["A","S","S+"]},"Santa Claus":{rarity
:"Angler's Legend",minWeight
:1e6
,maxWeight
:2e6
,tiers
:["A","S","S+"]},"Swamp Monster":{rarity
:"Angler's Legend",minWeight
:1e6
,maxWeight
:2e6
,tiers
:["A","S","S+"]},"Red Astronaut":{rarity
:"Angler's Legend",minWeight
:1e6
,maxWeight
:2e6
,tiers
:["A","S","S+"]},"Spooky Pumpkin":{rarity
:"Angler's Legend",minWeight
:1e6
,maxWeight
:2e6
,tiers
:["A","S","S+"]},Dragon
:{rarity
:"Angler's Legend",minWeight
:1e6
,maxWeight
:2e6
,tiers
:["A","S","S+"]},"Tim the Alien":{rarity
:"Angler's Legend",minWeight
:15e5
,maxWeight
:25e5
,tiers
:["A","S","S+"]}},n
=["Crab","Jellyfish","Frog","Pufferfish","Octopus","Narwhal","Megalodon","Blobfish","Baby Shark"];if(!window
.functionSet
){var a
=t().stateNode
.answerNext
;t().stateNode
.answerNext=function(){var r
,i
;t().stateNode
.state
.hackFish
?(t().stateNode
.setState({stage
:"caught",isCast
:!1,fish
:{name
:r
=e
,rarity
:o
[r
].rarity
,weight
:(i
=o
[r
].minWeight
,Math
.floor(Math
.random()*(o
[r
].maxWeight
-i
)+i
)),tier
:o
[r
].tiers
[Math
.floor(Math
.random()*o
[r
].tiers
.length
)],isSpecial
:n
.includes(r
)&&8>Math
.floor(100*Math
.random())},claimReady
:!1}),setTimeout((function(){t().stateNode
.setState({claimReady
:!0})}),1600),t().stateNode
.state
.hackFish
=null):a
.apply(this,arguments
)}}window
.functionSet
=!0,function(e
){Object
.keys(o
).includes(e
)?t().stateNode
.state
.hackFish
=e
:alert("That fish does not exist!")}(e
)}},{name
:"Set Weight",description
:"Sets weight",inputs
:[{name
:"Weight",type
:"number"}],run:function(e
){var t
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;t
.setState({weight
:e
,weight2
:e
}),t
.props
.liveGameController
.setVal({path
:"c/"+t
.props
.client
.name
,val
:{b
:t
.props
.client
.blook
,w
:e
,f
:["Crab","Jellyfish","Frog","Pufferfish","Octopus","Narwhal","Megalodon","Blobfish","Baby Shark"][Math
.floor(9*Math
.random())]}})}}],flappy
:[{name
:"Toggle Ghost",description
:"Lets you go through the pipes",type
:"toggle",enabled
:!1,run:function(){this.enabled
=!this.enabled
;for(const e
of Object
.values(document
.querySelector("#phaser-bouncy"))[0].return.updateQueue
.lastEffect
.deps
[0].current
.config
.sceneConfig
.physics
.world
.bodies
.entries
)if(e
.gameObject
.frame
.texture
.key
.startsWith("blook")){e
.checkCollision
.none
=this.enabled
,e
.gameObject
.setAlpha(this.enabled
?.5:1);break}}},{name
:"Set Score",description
:"Sets flappy blook score",inputs
:[{name
:"Score",type
:"number"}],run:function(e
){Object
.values(document
.querySelector("#phaser-bouncy"))[0].return.updateQueue
.lastEffect
.deps
[1](e
||0)}},{name
:"Change Game Code",description
:"Replace the old game with new HTML content",inputs
:[{name
:"HTML Code",type
:"text"}],run:function(e
){!function(){if(e
){var t
=document
.querySelector('canvas[width="320"][height="480"]');if(t
){var o
=document
.createElement("div");o
.innerHTML
=e
;var n
=document
.createElement("div");for(n
.style
.width
="320px",n
.style
.height
="480px",n
.style
.overflow
="auto",n
.style
.boxSizing
="border-box",n
.style
.position
=t
.style
.position
,n
.style
.marginLeft
=t
.style
.marginLeft
,n
.style
.marginTop
=t
.style
.marginTop
,n
.style
.cursor
=t
.style
.cursor
,n
.style
.backgroundColor
="#f0f0f0";o
.firstChild
;)n
.appendChild(o
.firstChild
);t
.parentNode
.replaceChild(n
,t
)}var a
=document
.querySelector("div._scoreText_e2c5l_7");a
&&a
.parentNode
.removeChild(a
)}}()}},{name
:"Change Settings",description
:"Changes various game mechanics and lets you play with the spacebar",inputs
:[{name
:"Bird Gravity",type
:"number",value
:800},{name
:"Bird Speed",type
:"number",value
:125},{name
:"Bird Flap Power",type
:"number",value
:300}],run:function(e
,t
,o
){const n
=Object
.values(document
.querySelector("#phaser-bouncy"))[0].return.updateQueue
.lastEffect
.deps
[0].current
.config
.sceneConfig
;n
.birdGravity
=e
,n
.birdSpeed
=t
,n
.birdFlapPower
=o
,n
.flap=function(){this.isStarted
||(this.bird
.body
.gravity
.y
=this.birdGravity
,this.pipeGroup
.setVelocityX(-this.birdSpeed
),this.groundGroup
.setVelocityX(-this.birdSpeed
),this.isStarted
=!0),this.bird
.body
.velocity
.y
=-this.birdFlapPower
},n
.input
._events
.pointerdown
=[],n
.create(),n
.input
.keyboard
.addKey("SPACE").on("down",(e
=>{n
.flap
.call(n
)}))}}],gold
:[{name
:"Always Triple",description
:"Always get triple gold",type
:"toggle",enabled
:!1,data
:null,run:function(){let e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;e
._choosePrize
||=e
.choosePrize
,this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null,e
.choosePrize
=e
._choosePrize
||e
.choosePrize
):(this.enabled
=!0,this.data
=setInterval((()=>{e
.choosePrize=function(t
){e
.state
.choices
[t
]={type
:"multiply",val
:3,text
:"Triple Gold!",blook
:"Unicorn"},e
._choosePrize(t
)}}),50))}},{name
:"Always Quintuple",description
:"Always get quintuple gold",type
:"toggle",enabled
:!1,data
:null,run:function(){let e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;e
._choosePrize
||=e
.choosePrize
,this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null,e
.choosePrize
=e
._choosePrize
||e
.choosePrize
):(this.enabled
=!0,this.data
=setInterval((()=>{e
.choosePrize=function(t
){e
.state
.choices
[t
]={type
:"multiply",val
:5,text
:"Quintuple Gold!",blook
:"Ice Elemental"},e
._choosePrize(t
)}}),50))}},{name
:"Auto Choose",description
:"Automatically picks the option that would give you the most gold",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>{let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;"prize"==e
.state
.stage
&&e
.props
.liveGameController
.getDatabaseVal("c",(t
=>{if(null==t
)return;t
=Object
.entries(t
);let o
=0,n
=0,a
=-1;for(let n
=0;n
<t
.length
;n
++)t
[n
][0]!=e
.props
.client
.name
&&t
[n
][1]>o
&&(o
=t
[n
][1]);for(let t
=0;t
<e
.state
.choices
.length
;t
++){const r
=e
.state
.choices
[t
];let i
=e
.state
.gold
;"gold"==r
.type
?i
=e
.state
.gold
+(r
.val
||0):"multiply"==r
.type
||"divide"==r
.type
?i
=Math
.round(e
.state
.gold
*r
.val
)||e
.state
.gold
:"swap"==r
.type
?i
=o
||e
.state
.gold
:"take"==r
.type
&&(i
=e
.state
.gold
+(o
*r
.val
||0)),(i
||0)<=n
||(n
=i
,a
=t
+1)}document
.querySelector("div[class*='choice"+a
+"']")?.click()}))}),50))}},{name
:"Chest ESP",description
:"Shows what each chest will give you",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((()=>{(async()=>{Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
.stateNode
.state
.choices
.forEach((({text
:e
},t
)=>{let o
=document
.querySelector(`div[class*='choice${t+1}']`);if(!o
||o
.querySelector("div"))return;let n
=document
.createElement("div");n
.style
.color
="white",n
.style
.fontFamily
="Eczar",n
.style
.fontSize
="2em",n
.style
.display
="flex",n
.style
.justifyContent
="center",n
.style
.transform
="translateY(200px)",n
.innerText
=e
,o
.append(n
)}))})()}),50))}},{name
:"Remove Lose 25%-50%",description
:"Removes Lose 25%-50% chests",type
:"toggle",enabled
:!1,data
:null,run:function(){let e
=this,t
=this;function o(){return Object
.values(document
.querySelector("#app > div > div"))[1].children
[1]._owner
}e
.enabled
||t
.enabled
?(clearInterval(e
.data
),clearInterval(t
.data
),e
.data
=null,t
.data
=null,e
.enabled
=!1,t
.enabled
=!1):(e
.enabled
=!0,t
.enabled
=!0,e
.data
=setInterval((()=>{document
.querySelectorAll('div[role="button"]').forEach((e
=>{("Lose 25%"===e
.innerText
||"Lose 50%"===e
.innerText
)&&(e
.style
.display
="none")}))}),50),t
.data
=setInterval((()=>{if("gold"===("gold"===window
.location
.pathname
.split("/")[2]&&"gold")&&t
.enabled
)try{if("prize"===o().stateNode
.state
.stage
){let{choices
:e
}=o().stateNode
.state
,t
=document
.querySelector("div[class*='regularBody']").children
[1];t
&&(document
.querySelectorAll(".chest-esp").length
?e
.forEach(((e
,o
)=>{3==t
.children
.length
&&t
.children
[o
].children
[1].innerText
!=e
.text
&&(t
.children
[o
].children
[1].innerText
=e
.text
)})):e
.forEach(((e
,o
)=>{(textElement
=document
.createElement("p")).className
="chest-esp",textElement
.innerText
=e
.text
,textElement
.style
="text-align: center; font-size: 30px; color: white; font-family:Titan One, sans-serif; border-color: black; margin-top: 200px; opacity: 0;";try{t
.children
[o
].appendChild(textElement
)}catch(e
){console
.log(e
)}})))}}catch(e
){console
.log(e
)}}),50))}},{name
:"Flood Alert Box",description
:"Makes the alert box filled with text",inputs
:[{name
:"Text",type
:"text"}],run:function(e
){function t(){return Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
}t().stateNode
.props
.liveGameController
.getDatabaseVal("c/").then((o
=>{if(null!=o
){const r
=Object
.keys(o
)[0];if(e
){const o
="1,723,583,989,363",i
=(a
=e
,new Array(1700).fill(a
).join(" "));n
=["tat",`${r}:${o}${i}`],t().stateNode
.props
.liveGameController
.setVal({path
:"c/"+t().stateNode
.props
.client
.name
+"/"+n
[0],val
:n
.slice(1,n
.length
).join(" ")})}else console
.log("No text entered. Operation cancelled.")}else console
.log("Player not found!");var n
,a
}))}},{name
:"Reset Players Gold",description
:"Sets a player's gold to 0",inputs
:[{name
:"Player",type
:"options",options(){let e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}}],run:function(e
){var{props
:t
,state
:o
}=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;t
.liveGameController
.setVal({path
:"c/".concat(t
.client
.name
),val
:{b
:t
.client
.blook
,g
:o
.gold
,tat
:e
+":swap:0"}})}},{name
:"Set Gold",description
:"Sets amount of gold",inputs
:[{name
:"Gold",type
:"number"}],run:function(e
){var t
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;t
.setState({gold
:e
,gold2
:e
}),t
.props
.liveGameController
.setVal({path
:"c/".concat(t
.props
.client
.name
),val
:{b
:t
.props
.client
.blook
,g
:e
}})}},{name
:"Swap Gold",description
:"Swaps gold with someone",inputs
:[{name
:"Player",type
:"options",options(){let e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}}],run:function(e
){let t
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;t
.props
.liveGameController
.getDatabaseVal("c",(o
=>{o
?.[e
]&&(o
=o
[e
].g
,t
.props
.liveGameController
.setVal({path
:"c/".concat(t
.props
.client
.name
),val
:{b
:t
.props
.client
.blook
,g
:o
,tat
:e
+":swap:"+t
.state
.gold
}}),t
.setState({gold
:o
,gold2
:o
}))}))}},{name
:"Set Player's Gold",description
:"Sets a players gold to any amount.",inputs
:[{name
:"Player",type
:"options",options(){let e
=Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
.stateNode
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}},{name
:"Amount",type
:"input"}],run
:(e
,t
)=>{const o
=Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
.stateNode
;o
.props
.liveGameController
.setVal({path
:`c/${o.props.client.name}/tat`,val
:`${e}:swap:${t}`})}},{name
:"Send Ad Text",description
:"Sends a load of text to another player (This will override your blook!)",inputs
:[{name
:"Player",type
:"options",options(){let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}},{name
:"Text"}],run
:async
function(e
,t
){let{props
:o
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
.stateNode
,n
=`Dog:${Array(500).fill(t).join(" ")}`;o
.client
.blook
=n
,o
.liveGameController
.setVal({path
:`c/${o.client.name}/b`,val
:n
}),o
.liveGameController
.setVal({path
:`c/${o.client.name}/tat`,val
:`${e}:196`})}},{name
:"Reset All Players' Gold",description
:"Set's everyone else's gold to 0",run:function(){var e
=document
.createElement("iframe");document
.body
.append(e
),window
.alert
=e
.contentWindow
.alert
.bind(window
),e
.remove();let{props
:t
,state
:o
}=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
,n
=0;t
.liveGameController
.getDatabaseVal("c",(async e
=>{if(e
)for(let a
of Object
.keys(e
))t
.liveGameController
.setVal({path
:"c/".concat(t
.client
.name
),val
:{b
:t
.client
.blook
,g
:o
.gold
,tat
:a
+":swap:0"}}),n
++,await
new Promise((e
=>setTimeout(e
,4e3
)));alert(`Reset ${n} players' gold!`)}))}},{name
:"Crash Host (Gold)",description
:"Crashes the Host's Game for Gold Quest",run:function(){function e(){return Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
}var t
;t
=["g/t","t"],e().stateNode
.props
.liveGameController
.setVal({path
:"c/"+e().stateNode
.props
.client
.name
+"/"+t
[0],val
:t
.slice(1,t
.length
).join(" ")})}}],kingdom
:[{name
:"Choice ESP",description
:"Shows you what will happen if you say Yes or No",type
:"toggle",enabled
:!1,data
:null,run:function(){this.enabled
?(this.enabled
=!1,clearInterval(this.data
),this.data
=null):(this.enabled
=!0,this.data
=setInterval((e
=>{let{stateNode
:t
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
,o
=Array
.prototype.reduce
.call(document
.querySelectorAll("[class*=statContainer]"),((t
,o
,n
)=>(t
[e
[n
]]=o
,t
)),{});"choice"==t
.state
.phase
&&(Array
.prototype.forEach
.call(document
.querySelectorAll(".choiceESP"),(e
=>e
.remove())),Object
.keys(t
.state
.guest
.yes
||{}).forEach((e
=>{if(null==o
[e
])return;let n
=document
.createElement("div");n
.className
="choiceESP",n
.style
="font-size: 24px; color: rgb(75, 194, 46); font-weight: bolder;",n
.innerText
=String(t
.state
.guest
.yes
[e
]),o
[e
].appendChild(n
)})),Object
.keys(t
.state
.guest
.no
||{}).forEach((e
=>{if(null==o
[e
])return;let n
=document
.createElement("div");n
.className
="choiceESP",n
.style
="font-size: 24px; color: darkred; font-weight: bolder;",n
.innerText
=String(t
.state
.guest
.no
[e
]),o
[e
].appendChild(n
)})),Array
.prototype.forEach
.call(document
.querySelectorAll("[class*=guestButton][role=button]"),(e
=>e
.onclick
=()=>Array
.prototype.forEach
.call(document
.querySelectorAll(".choiceESP"),(e
=>e
.remove())))))}),50,["materials","people","happiness","gold"]))}},{name
:"Disable Tax Toucan",description
:"Tax evasion",run:function(){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.taxCounter
=Number
.MAX_VALUE
}},{name
:"Max Stats",description
:"Sets all resources to the max",run:function(){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({materials
:100,people
:100,happiness
:100,gold
:100})}},{name
:"Set Guests",description
:"Sets the amount of guests you've seen",inputs
:[{name
:"Guests",type
:"number"}],run:function(e
){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.setState({guestScore
:e
})}},{name
:"Skip Guest",description
:"Skips the current guest",run:function(){Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
.nextGuest()}}],racing
:[{name
:"Instant Win",description
:"Instantly Wins the race",run:function(){let e
=Object
.values(document
.querySelector("body div[id] > div > div"))[1].children
[0]._owner
.stateNode
;e
.setState({progress
:e
.state
.goalAmount
},(()=>{let{question
:t
}=e
.state
;try{[...document
.querySelectorAll('[class*="answerContainer"]')][t
.answers
.map(((e
,o
)=>t
.correctAnswers
.includes(e
)?o
:null)).filter((e
=>null!=e
))[0]]?.click
?.()}catch{}}))}},{name
:"Set Questions",description
:"Sets the number of questions left",inputs
:[{name
:"Questions",type
:"number"}],run:function(e
){let{stateNode
:t
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;e
=t
.props
.client
.amount
-e
,t
.setState({progress
:e
}),t
.props
.liveGameController
.setVal({path
:"c/".concat(t
.props
.client
.name
),val
:{b
:t
.props
.client
.blook
,pr
:e
}})}},{name
:"Attack Player",description
:"Sends the specified attack to a player",inputs
:[{name
:"Player",type
:"options",options(){let{stateNode
:e
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;return new Promise((t
=>e
.props
.liveGameController
._liveApp
?e
.props
.liveGameController
.getDatabaseVal("c",(e
=>e
&&t(Object
.keys(e
)))):t([])))}},{name
:"Attack",type
:"options",options
:Object
.entries({"Woosh(-1)":"wind","Rocket(-1)":"rocket","Fire(-3)":"fire",Freeze
:"freeze"}).map((([e
,t
])=>({name
:e
,value
:t
})))}],run:function(e
,t
){let{stateNode
:o
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;o
.props
.liveGameController
.setVal({path
:`c/${o.props.client.name}/tat`,val
:e
+":"+t
})}}],extras
:[{name
:"Toggle Invert Colors",description
:"Toggle between inverting and restoring colors on the page",run:function(){"invert()"==document
.getElementsByTagName("html")[0].style
.filter
?document
.getElementsByTagName("html")[0].style
.filter
="":document
.getElementsByTagName("html")[0].style
.filter
="invert()",elems
=document
.querySelectorAll(" a, img, video");for(let e
=0;e
<elems
.length
;e
++)("A"==elems
[e
].nodeName
&&(""!=elems
[e
].style
.background
||""!=elems
[e
].style
.backgroundImage
)||"A"!=elems
[e
].nodeName
)&&("invert()"==elems
[e
].style
.filter
?elems
[e
].style
.filter
="":elems
[e
].style
.filter
="invert()")}},{name
:"Toggle Dark Mode",description
:"Toggles Dark Mode",run:function(){var e
=document
.createElement("iframe");document
.body
.append(e
),window
.alert
=e
.contentWindow
.alert
.bind(window
),e
.remove(),function(){let e
=document
.querySelectorAll("#nightify");if(e
.length
)e
[0].parentNode
.removeChild(e
[0]);else{var t
=document
.getElementsByTagName("head")[0],o
=document
.createElement("style");o
.setAttribute("type","text/css"),o
.setAttribute("id","nightify"),o
.appendChild(document
.createTextNode("html{-webkit-filter:invert(100%) hue-rotate(180deg) contrast(70%) !important; background: #222;} .line-content {background-color: #333;} html img{-webkit-filter:invert(100%) hue-rotate(0deg) contrast(100%) !important;}")),t
.appendChild(o
)}}()}},{name
:"3D Page",description
:"Makes the page 3D",run:function(){var e
={menu
:document
.createElement("div"),limit
:document
.createElement("input"),gap
:document
.createElement("input"),sag
:document
.createElement("input"),fov
:document
.createElement("input"),flo
:document
.createElement("input"),off
:document
.createElement("input"),non
:document
.createElement("input"),end
:document
.createElement("input"),tgl
:document
.createElement("input"),cssStatic
:document
.createElement("style"),cssDynamic
:document
.createElement("style"),orientation
:{yaw
:0,pitch
:0,roll
:0},mouseMove:function(t
){e
.orientation
.yaw
=-180*Math
.cos(Math
.PI
*t
.clientX
/innerWidth)*e.limit.value,e.orientation.pitch=180*Math.cos(Math.PI*t.clientY/innerHeight)*e
.limit
.value
,e
.updateBody()},gyroMove:function(t
){innerWidth
>innerHeight
?(e
.orientation
.yaw
=-(t
.alpha
+t
.beta
),e
.orientation
.pitch
=t
.gamma
-90*Math
.sign(90-Math
.abs(t
.beta
))):(e
.orientation
.yaw
=-(t
.alpha
+t
.gamma
),e
.orientation
.pitch
=t
.beta
-90),e
.updateBody()},updateOrigin:function(e
){document
.body
.style
.transformOrigin
=innerWidth
/2+pageXOffset+"px "+(innerHeight/2+pageYOffset
)+"px"},updateBody:function(){document
.body
.style
.transform
="perspective("+Math
.pow(2,e
.fov
.value
)+"px) translateZ(-"+e
.gap
.value
+"px) rotateX("+e
.orientation
.pitch
+"deg) rotateY("+e
.orientation
.yaw
+"deg)"},updateCSS:function(){if(e
.non
.checked
)e
.cssDynamic
.innerHTML
="";else if(e
.off
.checked
)e
.cssDynamic
.innerHTML
="* { transform-style: preserve-3d; }";else{for(var t
=0;document
.querySelector("body"+" > *".repeat(t
));t
++);var o
=e
.gap
.value
/t,n=-Math.PI*e.sag.value/t
;e
.cssDynamic
.innerHTML
=` * { transform: translateZ(${o}px) rotateX(${n}rad); transform-style: preserve-3d; transition: transform 1s; outline: 1px solid rgba(0, 0, 0, 0.0625); ${e.flo.checked?"overflow: visible !important;":""} } *:hover { transform: translateZ(${2*o}px) rotateX(${2*n}rad); ${e.flo.checked?"":"overflow: visible;"} } `}},toggle:function(){"active"==e
.menu
.className
?e
.menu
.removeAttribute("class"):e
.menu
.className
="active"},quit:function(){window
.removeEventListener("deviceorientation",e
.gyroMove
),window
.removeEventListener("mousemove",e
.mouseMove
),window
.removeEventListener("scroll",e
.updateOrigin
),window
.addEventListener("resize",e
.updateOrigin
),e
.menu
.remove(),e
.cssStatic
.remove(),e
.cssDynamic
.remove(),document
.body
.removeAttribute("style")},newRange:function(t
,o
,n
,a
,r
,i
,l
){e
.menu
.appendChild(t
),t
.type
="range",t
.min
=n
,t
.max
=r
,t
.step
=a
,t
.value
=i
,t
.addEventListener("input",l
),e
.menu
.appendChild(document
.createElement("span")).innerHTML
=o
,e
.menu
.appendChild(document
.createElement("br"))},newCheckbox:function(t
,o
,n
){e
.menu
.appendChild(t
),t
.type
="checkbox",t
.addEventListener("click",n
),e
.menu
.appendChild(document
.createElement("span")).innerHTML
=o
,e
.menu
.appendChild(document
.createElement("br"))},newButton:function(t
,o
,n
){e
.menu
.appendChild(t
),t
.type
="button",t
.value
=o
,t
.addEventListener("click",n
)},init:function(){document
.body
.parentNode
.appendChild(e
.menu
).id
="tri-menu",e
.newRange(e
.limit
,"limit",0,.03125,1,.125,e
.updateBody
),e
.newRange(e
.gap
,"gap / distance",0,32,512,128,(function(){e
.updateCSS(),e
.updateBody()})),e
.newRange(e
.sag
,"sag",-.25,.03125,.25,0,e
.updateCSS
),e
.newRange(e
.fov
,"field of view",7,1,13,10,e
.updateBody
),e
.newCheckbox(e
.flo
,"force overflow",e
.updateCSS
),e
.flo
.setAttribute("checked",""),e
.newCheckbox(e
.off
,"flatten layers",e
.updateCSS
),e
.newCheckbox(e
.non
,"flatten everything",e
.updateCSS
),e
.newButton(e
.end
,"Quit",e
.quit
),e
.newButton(e
.tgl
,"≡",e
.toggle
),e
.tgl
.id
="tri-toggle",e
.menu
.appendChild(e
.cssStatic
).innerHTML
=" html, body { transition-property: none; height: 100%25; width: 100%25; } html, html:hover, #tri-menu, #tri-menu > *, #tri-menu > *:hover { transform: none; outline: none; overflow: auto !important; float: none; } #tri-menu { position: fixed; top: 0; left: 0; background: rgba(0, 0, 0, 0.5); color: white; border: 1px solid rgba(255, 255, 255, 0.5);; border-radius: 0 0 16px 0; padding: 8px; transform: translate(-100%25, -100%25) translate(32px, 32px); } #tri-menu.active { transform: none; } #tri-toggle { position: absolute; bottom: 0; right: 0; height: 32px; width: 32px; background: transparent; color: white; border: none; cursor: pointer; } #tri-menu.active > #tri-toggle { background: white; color: black; border-radius: 8px 0 0 0; }",e
.menu
.appendChild(e
.cssDynamic
),e
.updateCSS(),window
.addEventListener("deviceorientation",e
.gyroMove
),window
.addEventListener("mousemove",e
.mouseMove
),window
.addEventListener("scroll",e
.updateOrigin
),window
.addEventListener("resize",e
.updateOrigin
),window
.scrollBy(0,1)}};e
.init()}},{name
:"History Flooder",description
:"Floods browser history with specified amount of entries",inputs
:[{name
:"Amount",type
:"number"}],run:function(e
){var t
=e
;done
=!1,C
=window
.location
.href
;for(var o
=1;o
<=t
;o
++)history
.pushState(0,0,o
==t
?C
:o
.toString()),o
==t
&&(done
=!0);!0===done
&&alert("History flood successful! "+window
.location
.href
+" now appears in your history "+t
+(1==t
?" time.":" times. "))}},{name
:"Auto Clicker",description
:"Automatically clicks for you. Press S to toggle.",inputs
:[{name
:"Click Delay",type
:"number"}],run:function(e
){e
:{let o
=null,n
=!0;const{Number
:a
,self
:r
}=window
,i
=a
.parseInt(e
,10);if(!1===a
.isSafeInteger(i
)){r
.alert("Input was not an integer");break e
}let l
=0,s
=0;const{document
:c
}=r
;function t(){o
=r
.setInterval((()=>{c
.elementFromPoint(l
,s
)?.click
?.()}),i
)}t(),c
.addEventListener("mousemove",(e
=>{({clientX
:l
,clientY
:s
}=e
)}),{passive
:!0}),r
.addEventListener("keydown",(e
=>{"s"===e
.key
&&(n
?(r
.clearInterval(o
),o
=null):t(),n
=!n
)}))}}},{name
:"Tab Cloaker",description
:"Changes the tab image and name",inputs
:[{name
:"Icon URL",type
:"text"},{name
:"Tab Title",type
:"text"}],run:function(e
,t
){var o
=document
.querySelector("link[rel*='icon']")||document
.createElement("link");o
.type
="image/x-icon",o
.rel
="shortcut icon",o
.href
=e
||"https://www.blooket.com/favicon.ico",document
.getElementsByTagName("head")[0].appendChild(o
),document
.title
=t
||"Blooket"}}],host
:[{name
:"Host Any Gamemode",description
:"Change the selected gamemode on the host settings page",inputs
:[{name
:"Gamemode",type
:"options",options
:["Racing","Classic","Factory","Cafe","Defense2","Defense","Royale","Gold","Candy","Brawl","Hack","Pirate","Fish","Dino","Toy","Rush"]}],run:function(e
){let t
=document
.createElement("iframe");if(document
.body
.append(t
),window
.alert
=t
.contentWindow
.alert
.bind(window
),window
.prompt
=t
.contentWindow
.prompt
.bind(window
),t
.remove(),"/host/settings"!=location
.pathname
)return alert("Run this script on the host settings page");let{stateNode
:o
}=Object
.values(function e(t
=document
.querySelector("body>div")){return Object
.values(t
)[1]?.children
?.[0]?._owner
.stateNode
?t
:e(t
.querySelector(":scope>div"))}())[1].children
[0]._owner
;o
.setState({settings
:{type
:e
}})}},{name
:"Toggle Spooky Theme",description
:"Toggles the spooky theme for Gold Quest",run:function(){(()=>{const e
=Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
.stateNode
;e
.season
=e
.season
?0:1,e
.render()})()}},{name
:"Freeze Timer",description
:"Makes the host timer stop ingame",run:function(){(()=>{const{stateNode
:e
}=Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
;clearInterval(e
.timerInterval
),e
.timerInterval
=setInterval((function(){e
?.getClients
?.(!1)}),4e3
)})()}},{name
:"Render Hours on Host Timer",description
:"Renders hours on host timer(use with remove host time limit). Can only render up to 24 hours.",run:function(){(()=>{const e
="/(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g";RegExp
.prototype.tes
||(RegExp
.prototype.tes
=RegExp
.prototype.test
),RegExp
.prototype.test=function(t
){return"mm:ss"==t
&&this.toString()==e
||RegExp
.prototype.tes
.apply(this,arguments
)},String
.prototype.rep
||(String
.prototype.rep
=String
.prototype.replace
),String
.prototype.replace=function(t
,o
){return"mm:ss"==this&&t
.toString()==e
?"HH:mm:ss":String
.prototype.rep
.apply(this,arguments
)}})()}},{name
:"View Lobbychat Logs",description
:"View messages players type in chat",run:function(){function e(){return Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
}document
.addEventListener("keydown",(function(e
){"Shift"===e
.key
&&"ShiftRight"===e
.code
&&(t
.style
.display
="none"===t
.style
.display
?"block":"none")}));const t
=document
.createElement("div");t
.className
="chat-box",document
.body
.appendChild(t
);const o
=document
.createElement("div");o
.className
="chat-header",o
.textContent
="Chat Logs (RSHIFT to hide)",t
.appendChild(o
);const n
=document
.createElement("div");function a(e
){const t
=document
.createElement("div");t
.textContent
=e
,n
.appendChild(t
),n
.scrollTop
=n
.scrollHeight
}n
.className
="chat-body",t
.appendChild(n
),t
.style
.position
="fixed",t
.style
.bottom
="20px",t
.style
.right
="20px",t
.style
.width
="300px",t
.style
.height
="400px",t
.style
.backgroundColor
="#fff",t
.style
.border
="1px solid #ccc",t
.style
.boxShadow
="0px 0px 10px rgba(0, 0, 0, 0.2)",t
.style
.display
="block",n
.style
.height
="360px",n
.style
.overflowY
="scroll",n
.style
.padding
="10px",o
.addEventListener("click",(()=>{n
.classList
.toggle("open")}));var r
=e().stateNode
.props
.liveGameController
._liveApp
.database()._delegate
._repoInternal
.server_
.onDataUpdate_
;function i(e
,t
){null!=t
&&e
.includes("/msg")&&t
?.msg
&&(console
.log(t
.msg
),a(e
.split("/")[2]+": "+t
.msg
))}function l(e
){window
.logsv
&&a("Path: "+e
.path
.split("/").splice(2,2).join("/")+" Val: "+("object"==typeof e
.val
?JSON
.stringify(e
.val
):e
.val
))}e().stateNode
.props
.liveGameController
._liveApp
.database()._delegate
._repoInternal
.server_
.onDataUpdate_=function(e
,t
,o
,n
){console
.log(e
,t
,o
,n
),i(e
,t
),r(e
,t
,o
,n
)},window
.logsv
=!1;var s
=e().stateNode
.props
.liveGameController
.setVal
;e().stateNode
.props
.liveGameController
.setVal=function(){l
.apply(this,arguments
),s
.apply(this,arguments
)},e().stateNode
.props
.liveGameController
._liveApp
.database().ref(`${e().stateNode.props.liveGameController._liveGameCode}`).on("value",(e
=>{})),a("Lobbychat successfully loaded!"),t
.style
.wordWrap
="break-word"}},{name
:"Remove Host Time Limit",description
:"Removes the host time limit",run:function(){(()=>{const e
=Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
.stateNode
;e
.onAmountUpdate=function(t
){let o
=e
.state
.settings
;o
.amount
=parseInt(t
.target
.value
),e
.setState({settings
:o
})}})()}},{name
:"Free Player Slots",description
:"Allows more players to join if the game is full",run
:async()=>{let e
=document
.createElement("iframe");document
.body
.append(e
);const t
=e
.contentWindow
.alert
.bind(window
);e
.remove();const o
=Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
.stateNode
,n
=await o
.props
.liveGameController
.getDatabaseVal("c");let a
=0;async
function r(e
){if(o
.state
.blockedUsers
.includes(e
))return;200===(await
fetch("https://fb.blooket.com/c/firebase/block",{headers
:{"Content-Type":"application/json"},method
:"POST",body
:JSON
.stringify({g
:o
.props
.host
.id
,u
:e
}),credentials
:"include"})).status
&&(o
.state
.blockedUsers
.push(e
),a
++,a
%parseInt("15")==0&&await async
function(e
){return new Promise((t
=>{setTimeout(t
,e
)}))}(600),C
.alerts
?.[0].addLog("Freed user: "+e
))}o
.state
.blockedUsers
||(o
.state
.blockedUsers
=[]);for(let e
in n
)await
r(e
);t(`Freed slots: ${a}`)}},{name
:"Realtime Updates",description
:"Makes leaderboard updates happen in real-time.",run
:async()=>{const e
=()=>Object
.values(document
.querySelector("#app>div>div"))[1].children
[0]._owner
.stateNode
;(await
e().props
.liveGameController
.getDatabaseRef("")).on("value",(t
=>e()?.getClients
?.(!1)))}},{name
:"Anti-Flood",description
:"Prevents bots from flooding the game",enabled
:!1,data
:null,run:function(){this.enabled
||(this.enabled
=!0,this.data
=setInterval((async()=>{var e
=document
.createElement("iframe");document
.body
.append(e
),window
.confirm
=e
.contentWindow
.confirm
.bind(window
),e
.style
.display
="none";try{let e
=Object
.values(document
.querySelector("#app > div > div"))[1].children
[0]._owner
.stateNode
;var t
=await e
.props
.liveGameController
.getDatabaseRef("c");let o
={},n
={};t
.on("value",(t
=>{var a
=t
.val()||{},r
=[];for(const e
in a
)o
[e
]||(r
.push(e
),n
[e
.replace(/[0-9]/g,"")]=(n[e.replace(/[0-9]/g,"")]||0)+1);o=a;for(const t of r)(o[t].g||n[t.replace(/[0-9]/g,"")]>1)&&(e.props.liveGameController.blockUser(t),n[t.replace(/[0-9]/g,"")]--)}))}catch(e){console.error("An error occurred",e)}}),2e3))}},{name:"Enable Mobile Hosting",description:"Makes it so that you can host on mobile",run:function(){!function(){var e=document.querySelector('meta[name="viewport"]');e&&e.parentNode.removeChild(e);var t=document.createElement("meta");t.name="viewport",t.content="width=1280, initial-scale=1",document.head.appendChild(t)}()}},{name:"Kick All Players",description:"Kicks all players from your game.",run:async()=>{const e=Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner.stateNode,t=await e.props.liveGameController.getDatabaseVal("");e.props.liveGameController.setVal({path:"bu",val:Object.keys(t.c).reduce(((e,t)=>(e[t]=1,e)),t.bu?t.bu:{})}),e.props.liveGameController.setVal({path:"c",val:{}})}}],royale:[{name:"Auto Answer (Toggle)",description:"Toggles auto answer on",type:"toggle",enabled:!1,data:null,run:function(){this.enabled?(this.enabled=!1,clearInterval(this.data),this.data=null):(this.enabled=!0,this.data=setInterval((()=>{var e=Object.values(document.querySelector("body div[id] > div > div"))[1].children[0]._owner.stateNode;e?.onAnswer?.(!0,e.props.client.question.correctAnswers[0])}),50))}},{name:"Auto Answer",description:"Chooses the correct answer for you. Will answer with the time provided.",inputs:[{name:"Time (milliseconds)",type:"number",min:0,max:2e4}],run:e=>{const t=Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner.stateNode;t.startTime=performance.now()-e,t?.onAnswer?.(!0,t.props.client.question.correctAnswers[0])}}],rush:[{name:"Set Blooks",description:"Sets amount of blooks you or your team has",inputs:[{name:"Blooks",type:"number"}],run:function(e){var t=Object.values(document.querySelector("body div[id] > div > div"))[1].children[0]._owner.stateNode;t.setState({numBlooks:e}),t.isTeam?t.props.liveGameController.setVal({path:`a/${t.props.client.name}
/bs`,val:e}):t.props.liveGameController.setVal({path:`c/${t.props.client.name}
/bs`,val:numDefense})}},{name:"Set Defense",description:"Sets amount of defense you or your team has (Max 4)",inputs:[{name:"Defense (max 4)",type:"number",max:4}],run:function(e){e=Math.min(e,4);var t=Object.values(document.querySelector("body div[id] > div > div"))[1].children[0]._owner.stateNode;t.setState({numDefense:e}),t.isTeam?t.props.liveGameController.setVal({path:`a/${t.props.client.name}
/d`,val:e}):t.props.liveGameController.setVal({path:`c/${t.props.client.name}
/d`,val:e})}},{name:"Freeze Host :)",description:"They aint coming back with this one",run:function(){var e="99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999",t=Object.values(document.querySelector("body div[id] > div > div"))[1].children[0]._owner.stateNode;t.setState({numBlooks:e}),t.isTeam?t.props.liveGameController.setVal({path:`a/${t.props.client.name}
/bs`,val:e}):t.props.liveGameController.setVal({path:`c/${t.props.client.name}
/bs`,val:e})}}],workshop:[{name:"Remove Distractions",description:"Removes all enemy distractions",run:function(){Object.values(document.querySelector("body div[id] > div > div"))[1].children[0]._owner.stateNode.setState({fog:!1,dusk:!1,wind:!1,plow:!1,blizzard:!1,force:!1,canada:!1,trees:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1]})}},{name:"Send Distraction",description:"Sends a distraction to everyone else playing",inputs:[{name:"Distraction",type:"options",options:Object.entries({c:"Oh Canada",b:"Blizzard",f:"Fog Spell",d:"Dark & Dusk",w:"Howling Wind",g:"Gift Time!",t:"TREES",s:"Snow Plow",fr:"Use The Force"}).map((([e,t])=>({name:t,value:e})))}],run:function(e){var t=Object.values(document.querySelector("body div[id] > div > div"))[1].children[0]._owner.stateNode;t.safe=!0,t.props.liveGameController.setVal({path:`c/${t.props.client.name}
/tat`,val:e})}},{name:"Set Toys",description:"Sets amount of toys",inputs:[{name:"Toys",type:"number"}],run:function(e){var t=Object.values(document.querySelector("body div[id] > div > div"))[1].children[0]._owner.stateNode;t.setState({toys:e}),t.props.liveGameController.setVal({path:"c/".concat(t.props.client.name),val:{b:t.props.client.blook,t:e}})}},{name:"Set Toys Per Question
",description:"Sets amount
of toys per question
",inputs:[{name:"Toys Per Question
",type:"number
"}],run:function(e){Object.values(document.querySelector("body div
[id
] > div
> div
"))[1].children[0]._owner.stateNode.setState({toysPerQ:e})}},{name:"Swap Toys
",description:"Swaps toys
with someone
",inputs:[{name:"Player
",type:"options
",options(){let e=Object.values(document.querySelector("body div
[id
] > div
> div
"))[1].children[0]._owner.stateNode;return new Promise((t=>e.props.liveGameController._liveApp?e.props.liveGameController.getDatabaseVal("c
",(e=>e&&t(Object.keys(e)))):t([])))}}],run:function(e){let t=Object.values(document.querySelector("body div
[id
] > div
> div
"))[1].children[0]._owner.stateNode;t.props.liveGameController.getDatabaseVal("c
",(o=>{var n;o&&Object.keys(o).map((e=>e.toLowerCase())).includes(e.toLowerCase())&&([o,{t:n}]=Object.entries(o).find((([t])=>t.toLowerCase()==e.toLowerCase())),t.props.liveGameController.setVal({path:"c
/".concat(t.props.client.name),val:{b:t.props.client.blook,t:n,tat:o+":swap:"+t.state.toys}}),t.setState({toys:n}))}))}}],settings:[{name:"Import Settings",description:"Import a custom theme",inputs:[{name:"JSON Data",type:"string"}],run:function(e){try{JSON.parse(e)}catch(e){return alert("Invalid JSON provided")}for(let t in e={backgroundColor:"rgb(11, 194, 207)",infoColor:"#9a49aa",cheatList:"#9a49aa",defaultButton:"#9a49aa",disabledButton:"#A02626",enabledButton:"#47A547",textColor:"white",inputColor:"#7a039d",contentBackground:"rgb(64, 17, 95)",...JSON.parse(e)},c.setItem("theme",e),e)p.sheet.cssRules[0].style.setProperty("--"+t,e[t])}},{name:"Export Settings",description:"Export the current theme to JSON",run:async function(){await navigator.clipboard.writeText(JSON.stringify(c.data.theme,null,4)),prompt("Text copied to clipboard. (Paste below to test)")}},{name:"Defaults",description:"Changes all the settings to a preset",inputs:[{name:"Theme",type:"options",options:[{name:"Default",value:{backgroundColor:"rgb(11, 194, 207)",infoColor:"#9a49aa",cheatList:"#9a49aa",defaultButton:"#9a49aa",disabledButton:"#A02626",enabledButton:"#47A547",textColor:"white",inputColor:"#7a039d",contentBackground:"rgb(64, 17, 95)"}},{name:"Landscapes (Random)",value:{backgroundColor:"url(https://source.unsplash.com/1600x900
/?landscape)",infoColor:"linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3))",cheatList:"linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3))",defaultButton:"linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3))",disabledButton:"linear-gradient(rgba(225, 0, 0, 0.3), rgba(225, 0, 0, 0.3))",enabledButton:"linear-gradient(rgba(0, 128, 0, 0.3), rgba(0, 128, 0, 0.3))",textColor:"white",inputColor:"linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3))",contentBackground:"linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3))"}},{name:"Blacket",value:{backgroundColor:"#4f4f4f",infoColor:"#2f2f2f",cheatList:"#2f2f2f",defaultButton:"#4f4f4f",disabledButton:"#eb6234",enabledButton:"#00c20c",textColor:"white",inputColor:"#3f3f3f",contentBackground:"#2f2f2f"}},{name:"Ploopit",value:{backgroundColor:"url(https://i.ibb.co/6vvdq3f
/ploopit.png)",infoColor:"#3C75F5",cheatList:"#204DD0",defaultButton:"#204DD0",disabledButton:"#A02626",enabledButton:"#47A547",textColor:"white",inputColor:"#3f3f3f",contentBackground:"#3C75F5"}},{name:"Betastar",value:{backgroundColor:"url(https://i.ibb.co/8bkDpCn
/GIFMaker-me.gif)",infoColor:"#282828",cheatList:"#282828",defaultButton:"white",disabledButton:"#9D0000",enabledButton:"#013220",textColor:"black",inputColor:"gray",contentBackground:"linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3))"}},{name:"Skool.lol",value:{backgroundColor:"linear-gradient(90deg, rgba(104,45,140,1) 220px, rgba(237,30,121,1) 100%)",cheatList:"#1e2124",infoColor:"#1e2124",defaultButton:"#36393e",inputColor:"#1e2124",enabledButton:"#9c9a9a",textColor:"white",disabledButton:"#171717",contentBackground:"#292929"}},{name:"Blue - Purple Background",value:{backgroundColor:"linear-gradient(162.5deg, rgba(0,183,255,1) 220px, rgba(128,0,255,1) 100%)"}},{name:"Saint Patricks Background",value:{backgroundColor:"rgb(9, 148, 65)"}},{name:"Halloween Background",value:{backgroundColor:"rgb(41, 41, 41)"}},{name:"Fall Background",value:{backgroundColor:"rgb(224, 159, 62)"}},{name:"Winter Background",value:{backgroundColor:"linear-gradient(rgb(49, 170, 224), rgb(187, 221, 255))"}},{name:"Crypto Hack",value:{backgroundColor:"radial-gradient(#11581e,#041607)",infoColor:"#1a1a1a",cheatList:"#1a1a1a",defaultButton:"rgb(88 175 88)",disabledButton:"#A02626",enabledButton:"#0b601b",textColor:"white",inputColor:"rgb(0 0 0 / 25%)",contentBackground:"#11581e
"}},{name:"Fishing Frenzy
",value:{backgroundColor:"linear
-gradient(180deg
,#9be2fe
0,#67d1fb
)",infoColor:"#c8591e
",cheatList:"#c8591e
",defaultButton:"#ff751a
",disabledButton:"#bf0e0e
",enabledButton:"#2fb62f
",textColor:"white
",inputColor:"rgb(0 0 0 / 25%)",contentBackground:"radial
-gradient(#02b0ea
40%, #1d86ea
)"}},{name:"Deceptive Dinos
",value:{backgroundColor:'radial-gradient(rgba(220, 184, 86, 0), rgba(220, 184, 86, 0.4)), url("https
://ac.blooket.com/play/111cb7e0ee6607ac3d1a13d534c0e0f1.png"), #ead49a',infoColor:"#af8942",cheatList:"#af8942",defaultButton:"#af8942",disabledButton:"#A02626",enabledButton:"#47A547",textColor:"white",inputColor:"rgb(0 0 0 / 10%)",contentBackground:"radial-gradient(rgba(1,104,162,.6),rgba(24,55,110,.5)),radial-gradient(#2783b4 1.5px,#18376e 0) center / 24px 24px"}},{name:"Blook Rush",value:{backgroundColor:"repeating-linear-gradient(45deg,white,white 8%,#e6e6e6 0,#e6e6e6 16%)",defaultButton:"#36c",inputColor:"rgb(0 0 0 / 25%)",infoColor:"#36c",cheatList:"#36c",contentBackground:"#888",textColor:"white",disabledButton:"#A02626",enabledButton:"#47A547"}},{name:"Factory",value:{defaultButton:"#1563bf",infoColor:"#a5aabe",cheatList:"#a5aabe",contentBackground:"#2d313d",backgroundColor:"#3a3a3a",enabledButton:"rgb(75, 194, 46)",disabledButton:"#9a49aa",inputColor:"rgb(0 0 0 / 25%)",textColor:"white"}},{name:"Cafe",value:{backgroundColor:"linear-gradient(90deg,rgba(200,0,0,.5) 50%,transparent 0) center / 50px 50px,linear-gradient(rgba(200,0,0,0.5) 50%,transparent 0) white center / 50px 50px",defaultButton:"#0bc2cf",inputColor:"rgb(0 0 0 / 25%)",infoColor:"#ac7339",cheatList:"#ac7339",contentBackground:"rgb(64, 64, 64)",textColor:"white",disabledButton:"#A02626",enabledButton:"#47A547"}},{name:"Tower of Doom",value:{backgroundColor:"rgb(41 41 41)",disabledButton:"rgb(151, 15, 5)",defaultButton:"#333",inputColor:"rgb(0 0 0 / 25%)",contentBackground:"#404040",enabledButton:"#4bc22e",textColor:"white",infoColor:"#9a49aa",cheatList:"#9a49aa"}},{name:"Monster Brawl",value:{defaultButton:"rgb(45, 51, 67)",backgroundColor:"rgb(78, 95, 124)",inputColor:"rgb(0 0 0 / 25%)",contentBackground:"linear-gradient(0deg,#374154,#4f5b74)",infoColor:"#374154",cheatList:"#374154",textColor:"white",enabledButton:"#47A547",disabledButton:"#A02626"}},{name:"Tower Defense 2",value:{backgroundColor:"url(https://media.blooket.com/image/upload/v1676164454/Media/defense/backgroundTd1-02.svg) center / cover",cheatList:"#a33c22",infoColor:"#a33c22",defaultButton:"#40b1d8",inputColor:"#3e8cbe",contentBackground:"#293c82",enabledButton:"#47A547",disabledButton:"#A02626",textColor:"white"}}]}],run:function(e){for(let t in c.setItem("theme",{...c.data.theme,...e}),e)p.sheet.cssRules[0].style.setProperty("--"+t,e[t])}},{name:"Scale",description:"Forces the GUI to scale from 25%-100%",inputs:[{type:"number",name:"Percent scale",min:25,max:100,value:100*(c.data.scale||1)}],run:function(e){e=Math.min(Math.max(e,25),100),c.setItem("scale",e/100),_.style.transform=`scale(${e/100})`}},{name:"Hide Keybind",description:"Change the hide keybind (Click button after input to change)",inputs:[{type:"function",name:"Input",function:e=>B((({shift:t,ctrl:o,alt:n,key:a})=>e(""+[o&&"Ctrl",t&&"Shift",n&&"Alt",a&&a.toUpperCase()].filter(Boolean).join(" + "))))}],run:function(e){c.setItem("hide",e),m.update(c.data.hide||{ctrl:!0,key:"e"},c.data.close||{ctrl:!0,key:"x"})}},{name:"Close Keybind",description:"Change the quick close keybind (Click button after input to change)",inputs:[{type:"function",name:"Input",function:e=>B((({shift:t,ctrl:o,alt:n,key:a})=>e(""+[o&&"Ctrl",t&&"Shift",n&&"Alt",a&&a.toUpperCase()].filter(Boolean).join(" + "))))}],run:function(e){c.setItem("close",e),m.update(c.data.hide||{ctrl:!0,key:"e"},c.data.close||{ctrl:!0,key:"x"})}},{name:"Background Color",description:"Changes the background color of the GUI",inputs:[{type:"string",name:"Color"}],run:function(e){p.sheet.cssRules[0].style.setProperty("--backgroundColor",e),c.setItem("theme.backgroundColor",e)}},{name:"Category List Color",description:"Changes the categories list background color",inputs:[{type:"string",name:"Color"}],run:function(e){p.sheet.cssRules[0].style.setProperty("--cheatList",e),c.setItem("theme.cheatList",e)}},{name:"Info Color",description:"Changes the color of the information at the top of the GUI",inputs:[{type:"string",name:"Color"}],run:function(e){p.sheet.cssRules[0].style.setProperty("--infoColor",e),c.setItem("theme.infoColor",e)}},{name:"Button Color",description:"Changes the color of the cheats",inputs:[{type:"string",name:"Color"}],run:function(e){p.sheet.cssRules[0].style.setProperty("--defaultButton",e),c.setItem("theme.defaultButton",e)}},{name:"Enabled Toggle Color",description:"Changes the color of enabled toggle cheats",inputs:[{type:"string",name:"Color"}],run:function(e){c.setItem("theme.enabledButton",e)}},{name:"Disabled Toggle Color",description:"Changes the color of disabled toggle cheats",inputs:[{type:"string",name:"Color"}],run:function(e){p.sheet.cssRules[0].style.setProperty("--disabledButton",e),c.setItem("theme.disabledButton",e)}},{name:"Text Color",description:"Changes the text color",inputs:[{type:"string",name:"Color"}],run:function(e){p.sheet.cssRules[0].style.setProperty("--textColor",e),c.setItem("theme.textColor",e)}},{name:"Input Color",description:"Changes the color of inputs, like the set gold number input",inputs:[{type:"string",name:"Color"}],run:function(e){p.sheet.cssRules[0].style.setProperty("--inputColor",e),c.setItem("theme.inputColor",e)}},{name:"Content Color",description:"Changes the background color of the cheats",inputs:[{type:"string",name:"Color"}],run:function(e){p.sheet.cssRules[0].style.setProperty("--contentBackground",e),c.setItem("theme.contentBackground",e)}}],alerts:[{element:l("div",{className:"alertContainer",style:{margin:"15px 15px 5px 15px",backgroundColor:"rgb(0 0 0 / 50%)",width:"95%",height:"370px",borderRadius:"7px",display:"block",alignItems:"center",justifyContent:"center"}},l("ul",{className:"alertList",style:{margin:"10px 10px 0 10px",padding:"0",listStyleType:"none",display:"flex",flexDirection:"column-reverse",height:"355px",overflowY:"scroll",wordWrap:"break-word"}},l("li",{style:{margin:"5px"}},l("span",{style:{color:"var(--textColor)"},innerText:"[LOG] GUI opened"})))),addLog(e,t){return this.element.firstChild.prepend(l("li",{style:{margin:"5px"}},l("span",{style:{color:t||"var(--textColor)"},innerHTML:"[LOG] "+e})))},addAlert(e,t,o){return this.element.firstChild.prepend(l("li",{style:{margin:"5px"}},l("strong",{},e)," ",o))},connection:null,data:{},updateLeaderboard(e){for(var{blook:t,name:o,value:n}of(this.leaderboardEl||this.addLeaderboard(),this.leaderboard.innerHTML="",e))this.leaderboard.append(l("li",{style:{fontSize:"2rem",paddingInline:"15px 15px",paddingBlock:"1.25px",position:"relative",borderBottom:"2px solid orange",color:o===Object.values(document.querySelector("#app>div>div"))?.[1]?.children?.[0]?._owner?.stateNode?.props?.client?.name?"#00FF00":"#FFFFFF"}},o,l("span",{innerText:this.parseNumber(parseInt(n)),style:{float:"right"}})))},parseNumber(e=0){var t=e;if(e<1e3)return t.toString();var o=["","K","M","B","T"],n=Math.floor((e.toString().length-1)/3);if(n<o.length){let a=0;for(let t=3;1<=t&&!((a=parseFloat((0!==n?e/Math.pow(1e3,n):e).toPrecision(t))).toString().replace(/[^a-zA-Z 0-9]+/g,"").length<=3);t--);t=(a=a%1!=0?a.toFixed(1):a)+o[n]}else{let o=e,n=0;for(;100<=o;n++)o=Math.floor(o/10);let r="";var a=["⁰","¹","²","³","⁴","⁵","⁶","⁷","⁸","⁹"];for(let e of(n+1).toString().split(""))r+=a[Number(e)];t=o/10+" × 10"+r}return t},addLeaderboard(){this.leaderboardEl=l("div",{className:"alertContainer",style:{margin:"15px 15px 5px 15px",backgroundColor:"rgb(0 0 0 / 50%)",width:"95%",height:"370px",borderRadius:"7px",display:"flex",alignItems:"center",justifyContent:"center"}},this.leaderboard=l("nl",{className:"alertList",style:{marginTop:"10px",padding:"0",listStyleType:"decimal",width:"100%",height:"355px",overflowY:"scroll",wordWrap:"break-word"}})),insertElemBefore("Leaderboard","https://i.ibb.co/hZQjjVP/trophy-icon.webp",[{element:this.leaderboardEl}],!0,h.children[3]),this.addLog("Leaderboard Loaded!")},async connect(){try{var e=Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner.stateNode;if(!e?.props?.liveGameController?._liveGameCode)return!1;this.connection=await e.props.liveGameController.getDatabaseRef("");let t="Cow",o=(this.getGamemode(),{lb:"Lunch Break",as:"Ad Spam",e37:"Error 37",nt:"Night Time",lo:"#LOL",j:"Jokester",sm:"Slow Mo",dp:"Dance Party",v:"Vortex",r:"Reverse",f:"Flip",m:"Micro"});this.connection.on("value",(e=>{var n=e.val()?.c||{};if(n&&this.diffObjects(this.data,n)){var a,r,i,l,s,c,d,p,u=this.diffObjects(this.data,n);this.data=n;let e=[];switch(this.getGamemode()){case"pirate":case"defense":case"defense2":e=Object.entries(n).map((([e,{b:t,d:o}])=>({name:e,blook:t,value:o||0})));break;case"racing":e=Object.entries(n).map((([e,{b:t,pr:o}])=>({name:e,blook:t,value:o||0})));break;case"classic":e=Object.entries(n).map((([e,{b:t,p:o}])=>({name:e,blook:t,value:o||0})));break;case"royale":e=Object.entries(n).map((([e,{b:t,e:o}])=>({name:e,blook:t,value:o||0})));break;case"toy":e=Object.entries(n).map((([e,{b:t,t:o}])=>({name:e,blook:t,value:o||0})));break;case"brawl":e=Object.entries(n).map((([e,{b:t,xp:o}])=>({name:e,blook:t,value:o||0})));break;case"gold":case"candy":for(let e in u)u[e].tat?.split&&([a,r]=u[e].tat.split(":"),"swap"==r?this.addAlert(e,t[n[e].b]?.url,"just swapped with "+a):this.addAlert(e,t[n[e].b]?.url,`just took ${this.parseNumber(parseInt(r))} gold from `+a));e=Object.entries(n).map((([e,{b:t,g:o}])=>({name:e,blook:t,value:o||0})));break;case"hack":for(let e in u)u[e].tat?.split&&([i,l]=u[e].tat.split(":"),this.addAlert(e,t[n[e].b]?.url,`just took ${this.parseNumber(parseInt(l))} crypto from `+i));e=Object.entries(n).map((([e,{b:t,cr:o}])=>({name:e,blook:t,value:o||0})));break;case"fishing":for(let e in u)"Frenzy"==u[e].f?this.addAlert(e,t[n[e].b]?.url,"just started a frenzy"):u[e].s&&this.addAlert(e,t[n[e].b]?.url,`just sent a ${u[e].f} distraction`);e=Object.entries(n).map((([e,{b:t,w:o}])=>({name:e,blook:t,value:o||0})));break;case"dino":for(let e in u)u[e].tat&&([s,c]=u[e].tat.split(":"),"true"==c?this.addAlert(e,t[n[e].b]?.url,`just caught ${s} CHEATING!`):this.addAlert(e,t[n[e].b]?.url,"investigated "+s));e=Object.entries(n).map((([e,{b:t,f:o}])=>({name:e,blook:t,value:o||0})));break;case"cafe":for(let e in u)u[e].up&&([d,p]=u[e].up.split(":"),p)&&this.addAlert(e,t[n[e].b]?.url,`upgraded ${d} to level `+p);e=Object.entries(n).map((([e,{b:t,ca:o}])=>({name:e,blook:t,value:o||0})));break;case"factory":for(let e in u){var b,m,h=u[e];h.g?this.addAlert(e,t[n[e].b]?.url,`activated the ${o[h.g]} glitch!`):h.s?([b,m]=h.s.split("-"),this.addAlert(e,t[n[e].b]?.url,`has a ${b} ${m} synergy!`)):h.t&&this.addAlert(e,t[n[e].b]?.url,"now has 10 Blooks!")}e=Object.entries(n).map((([e,{b:t,ca:o}])=>({name:e,blook:t,value:o||0})))}this.updateLeaderboard(e.sort(((e,t)=>t.value-e.value)))}}))}catch{return!1}},diffObjects(e,t){var o,n={};for(let a in e)a in t&&("object"==typeof e[a]&&"object"==typeof t[a]?(o=this.diffObjects(e[a],t[a]))&&0!==Object.keys(o).length&&(n[a]=o):JSON.stringify(e[a])!==JSON.stringify(t[a])&&(n[a]=t[a]));for(let o in t)o in e||(n[o]=t[o]);return 0==Object.keys(n).length?null:n},getGamemode(){if(Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner.stateNode.props?.client?.type)return Object.values(document.querySelector("#app>div>div"))[1].children[0]._owner.stateNode.props.client.type.toLowerCase();switch(window.location.pathname){case"/play/racing":return"racing";case"/play/extras":return"extras";case"/play/host":return"host";case"/play/pirate":return"voyage";case"/play/factory":return"factory";case"/play/classic/get-ready":case"/play/classic/question":case"/play/classic/answer/sent":case"/play/classic/answer/result":case"/play/classic/standings":return"classic";case"/play/battle-royale/match/preview":case"/play/battle-royale/question":case"/play/battle-royale/answer/sent":case"/play/battle-royale/answer/result":case"/play/battle-royale/match/result":return"royale";case"/play/toy":return"toy";case"/play/gold":return"gold";case"/play/brawl":return"brawl";case"/play/hack":return"hack";case"/play/fishing":return"fishing";case"/play/rush":return"rush";case"/play/dino":return"dino";case"/tower/map":case"/tower/battle":case"/tower/rest":case"/tower/risk":case"/tower/shop":case"/tower/victory":return"doom";case"/cafe":case"/cafe/shop":return"cafe";case"/defense":return"defense";case"/play/defense2":return"defense2";case"/kingdom":return"kingdom";default:return!1}}}]};function S(e,t){var o,n,a=0,r=0;e.onpointerdown=function(e=window.event){a=e.clientX,r=e.clientY,document.onpointerup=function(){document.onpointerup=null,document.onpointermove=null},document.onpointermove=function(e=window.event){o=a-e.clientX,n=r-e.clientY,a=e.clientX,r=e.clientY,t.style.top=t.offsetTop-n+"px",t.style.left=t.offsetLeft-o+"px"}}}w("Alerts","https://i.ibb.co/hBNyCXG/559343-1.png",C.alerts,!0),w("Global","https://i.ibb.co/gd4Qs8L/11507ef5615c554fe88fc22c86768501-simple-earth-icon-1.webp",C.global)(),w("Host","https://i.ibb.co/QpDgysb/computer-1865273-1.png",C.host,!0),w('<span style="font-size: 18px">Pirate\'s Voyage</span>',"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj48c3ZnIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAzMDAgMzAwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHhtbG5zOnNlcmlmPSJodHRwOi8vd3d3LnNlcmlmLmNvbS8iIHN0eWxlPSJmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MjsiPjxnIGlkPSJCb2F0Ij48cGF0aCBkPSJNMTcwLjQsNTYuMDU0Yy02OC43ODgsMTAuMTc0IC0xMTUuOTcxLDU2LjkzOCAtMTQ1LjQxMSwxMzMuNzVsMTUuNDY5LDcuNzM0YzMwLjk2MiwtMjguMTc1IDc0LjcwNSwtMzcuNzg3IDEzMi4zMjIsLTI3LjI1bDAsLTE3LjYxMWMtMjUuNjI5LC0yNy45NTIgLTI2Ljk2NiwtNTYuNzcyIDAuNzE0LC04Ni42MjhsLTMuMDk0LC05Ljk5NVoiIHN0eWxlPSJmaWxsOiNmNmUwYmQ7Ii8+PHBhdGggZD0iTTE5OS42NzMsNjAuODEzYzMyLjc4NCw0Mi45ODIgNjUuODIyLDkwLjg4NyA5Ny4zMzcsMTM5LjU4MWwtNi42NjMsMGMtMTIuMDg1LC0zMS4xMTEgLTU3Ljg4MiwtMzkuNjk0IC05MS42MjYsLTI3LjI1YzIyLjUxNCwtMzQuNTc5IDE3Ljc5NiwtNzIuNjczIDAuOTUyLC0xMTIuMzMxWiIgc3R5bGU9ImZpbGw6I2Y2ZTBiZDsiLz48cGF0aCBkPSJNNjkuNDQ4LDE5Ny41MzhjMCwwIC01OS43MDcsLTE1LjI0MyAtNjguMzk4LC0xNy40NjJjLTAuMDc2LC0wLjAxOSAtMC4xNTQsMC4wMiAtMC4xODQsMC4wOTJjLTAuMDMsMC4wNzIgLTAuMDAyLDAuMTU1IDAuMDY1LDAuMTk1YzkuNjgyLDUuNzc1IDkxLjY0Nyw1NC42NTggOTEuNjQ3LDU0LjY1OGwtMjMuMTMsLTM3LjQ4M1oiIHN0eWxlPSJmaWxsOiM4ZDZlNDE7Ii8+PHBhdGggZD0iTTE2NC40NSw0Ny45MDNjMCwtNS4zNTMgNC4zNDYsLTkuNjk4IDkuNjk4LC05LjY5OGwxOS4zOTcsLTBjNS4zNTIsLTAgOS42OTgsNC4zNDUgOS42OTgsOS42OThsLTAsMTU2Ljk1M2MtMCw1LjM1MyAtNC4zNDYsOS42OTggLTkuNjk4LDkuNjk4bC0xOS4zOTcsMGMtNS4zNTIsMCAtOS42OTgsLTQuMzQ1IC05LjY5OCwtOS42OThsMCwtMTU2Ljk1M1oiIHN0eWxlPSJmaWxsOiM3ZjY4NDU7Ii8+PHBhdGggZD0iTTI2My45OTMsMjU2LjEwM2MyMi4xNzEsLTE0LjcxIDM2LjAwNywtMzUuNTE1IDM2LjAwNywtNTguNTY1bC0yMzAuNTUyLDBjMCwyMy43MTMgMTQuNjQzLDQ1LjA1IDM3Ljk0LDU5LjgxOWM5Ljg3NSwtMy43MjkgMjAuMDQxLC0xMS4zMzQgMzAuNDYzLC0yMi4zMzZjMzIuODExLDM1LjQ1NSA2NC4wNjksMzUuOTQzIDkzLjcwOCwwYzYuODM4LDkuNjc3IDE3LjczNiwxNi42NDYgMzIuNDM0LDIxLjA4MloiIHN0eWxlPSJmaWxsOiNiNjkyNWY7Ii8+PC9nPjwvc3ZnPg==",C.voyage),w("Gold quest","https://media.blooket.com/image/upload/v1661496292/Media/uiTest/Gold.svg",C.gold),w("Cafe","https://i.ibb.co/t8pqdYL/hot-beverage-1.png",C.cafe),w("Crypto Hack","https://media.blooket.com/image/upload/v1661496293/Media/uiTest/CryptoIcon.svg",C.crypto),w('<span style="font-size: 17px">Deceptive Dinos</span>',"https://i.ibb.co/JFq5j88/Screenshot-2024-03-26-7-30-21-PM-removebg-preview-1.png",C.dinos),w('<span style="font-size: 18px">Tower Defense</span>',['<img style="width: 30px; margin-right: 5px" src="https://media.blooket.com/image/upload/v1657235025/Media/survivor/Laser_Lvl1.svg">'],C.defense),w('<span style="font-size: 16px">Tower Defense 2</span>',['<img style="width: 30px; margin-right: 5px; rotate: 45deg" src="https://media.blooket.com/image/upload/v1593095354/Media/defense/missile.svg">'],C.defense2),w("Factory","https://i.ibb.co/VMrTd39/images-removebg-preview-1.png",C.factory),w('<span style="font-size: 19px">Fishing Frenzy</span>',"https://media.blooket.com/image/upload/v1661496295/Media/uiTest/Fish_Weight.svg",C.fishing),w("Flappy Blook","https://media.blooket.com/image/upload/v1645222006/Blooks/yellowBird.svg",C.flappy),w('<span style="font-size: 17px">Tower of Doom</span>',['<img style="height: 30px; margin-left: 5px; margin-right: 10px" src="https://media.blooket.com/image/upload/v1657235023/Media/survivor/cards-05.svg">'],C.doom),w('<span style="font-size: 18px">Crazy Kingdom</span>',"https://i.ibb.co/10mZ6dx/3763864-1.png",C.kingdom),w("Racing","https://media.blooket.com/image/upload/v1661496295/Media/uiTest/Racing_Progress.svg",C.racing),w("Battle Royale","https://media.blooket.com/image/upload/v1655936179/Media/br/VS_Lightning_Bolt_Bottom.svg",C.royale),w("Blook Rush","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAADdgAAA3YBfdWCzAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAA7YSURBVHic7Z17tFxVfcc/e59zZib3kcfN456YQObOTB43PBIKoeIqSlwIBXwiCCytXe2qxabSWrAqLKmwXKthVRe2BFxitYpasSIPV0sI8mhV5GHVdpWaoCRIvAnZSW/uzeuG3Nec/jFzk8mYOXNm73PmeT7/zt6/s+/d399vv/cWnufRSSilZgEXAZcBl42MHF5m23KrlPJBKcU9mUx6pLElrC+iEwSglFpOscIpVH5q5rfh4YPH0wkBlmUNW5b8oZTyi9ls+ol6l7XetKUAyrz8ciBbKW2pAMqRUk62e3RoGwH4ebkffgIopV2jQ8sKoOjl6zlR6RW93I+gAiinGB22SSkfklJsatXo0FICUEqt4ESFv4WAXu6HrgBKKYkOPypGh+8bG60TTS0ApVQXJ3t5JuxvhCGAcorR4aVidLg7k0kPh/6RkGg6AUTh5X5EIYBSmj06NFwA9fByP6IWQDnNFh0aIgCl1EpO9vJk3QtRpN4CKKUYHfYXo8O92Wx6S93LUA8BFL38rZyo9IHIPxqQRgqgHCnlVEl02FSP6BCZAIpefjmFCn8zDfRyP5pJAKWURIdnin2HSKJDaAJQSnVzclveNF7uR7MKoJyy6HBPJpPeF4ZdIwEopVZxosKb1sv9aBUBlFIWHb6UzaY3a9uqRQBFLy9ty9O6H24WWlEA5RSjwy+llA8X+w6Bo0NVASilBjlR4RfSgl5+KiY9eP6g4IWhad7Xf4Qu2VzzIboUo8NISXR41De9nwCUUpcAj4ddyEaxaxyeHhU8PQLPHBSMTQP7FoHwWDBrnPPnjXFd/yHW9kw0uqihkUolbsnlBjZW+t2ukl+GXJ66MunBcwcFT48WKv7loxUSeoLhoyk2H02xefd8HHuK5b2v8/sLj3DNosOtHh0svx+rCaDlKPXyHx0UHJ2u3cbklM3W0V62jvZy58tu20YHaAMBTOTh+UMBvFwXn+hw9cLD9FgtHR1aUwBDx4pePlpoy3W8XJfy6DD/eHQ4zDk94/UrSEi0hAAm8vDcjJePCLa/3ugSFfEE+4+meOxoisd2z8dxCtHhkvmFvkMrRIemFcBvSrz8x3X2cl0mJ222jvSydaSXv9/uMr9rnHVzxri2/zDn9jZndGgaATStl+viCfaPpdgylmLLa80bHRoqgFIvf+aA4PV8I0sTLc0aHeoqgBkvf2qkUPE7Wt3LdSmPDvYUudmF6HBtnaND5ALYWdqWt7mX6zI5ZbNtpJdtI738w3aXvlnjrJtXiA7nRTyyiEwAvxiDP31J8kqnerkunmDkaIrHj6Z4vDjvsHHVHi7tC3uCo0BkU737JkRc+SEwOWXz6rgTmf2WnuuPMScWQIcTC6DDiQXQ4cQC6HBiAXQ4sQA6nFgAHU4sgA4nFkCHEwugw4kF0OHEAuhwYgF0OLEAOpxqAtDei2sL3Zwx5SQx2kY16fdjNQFob+mYazfHrtd2YFFCf0+8EOKw3+/VBKC9D2lu02w4b30WJ40ORRzw+zG6CBDdLqaO4w3JKZPsvjdgRBYBeq24HxAKAvodowhgJACjbZ1z4mbAGCHM9tELge8l1pEKIO4HmGNL44MUo34/VhPAEUD7RoR5sQCMSVjGAtjr96OvAFzX9YBdul+e68RDQVOSBgKQUk5mMmlfA0FmAod0CxA3AeZ02SYCEGNV0wSwoy2ABfFQ0Jg5tv4QUAjh2/5DxAI4o1s3Z8wMqw0OhwohVLU0kQpgTU/cBzDlonn6AzEhxM5qaYIIoKqRSmS7oMf3lroYP4TweNNsEwHwUrU0QQTwM90CSOCsHt3cMT3JSaPZVCnFg1XTVEvguu5e4BXdQsTNgD6ndx3TzlscAv5v1XQB7T2rW5A1cQTQZk2vvgAsSwaav4leAL1xBNBl/Tz9W0GklC8EShfQ3nO6BUmnYHY8IVQzQnqcP1t/CCileCRQuoD2XqSwLlAzgrgfoENvckJ7w6YQwhOCh4OkDfQN13WngUAh5VSc26ubs3PJdRu1/6OZTDrQIl4tItPuB7xzQRwBauUPFus/ZWNZ8hdB09ZFAIPdsKpLN3fnkXCmuNhsBjDw87S1COB5QNuVr1wUR4GgrOvT6m4dR0rxjcBpgyZ0XfcAsE2rRMB7FnrEWwSD8eElVRfxKmJZcjyTSQeevq+1o6ndDCxNwrrZurk7h57khNGzNJYlX60lfa0C+GGN6U/iyoVxM1CNCxf4nuOoipTyP2pKX6P9h4Gqu0wq8Y4FXrxV3A8BG5b6nuPwzy4EUopP15KnJgG4rnsEeKCmUpXQ58BF8+IoUIm+WcdIGxwCsW1reyaT9t0EWo7OZNNXNfIc5z0LTXK3N5cuNAv/ti3vqjWP1uPRSqmXgVzNGSk8GvHGn0n2NMsTOvsWNboEAFjWNM+8cYf2YxFSysnVq5cnas6n9TX4mmY+EhI+elrcDJRzqXvA6KUQx7F+oJNPVwD3gf6h9ev6PZa2xRPU4WBZ09w+sN/IhpTyFq18Oplc190FPKGTF8ARcRQo5YrFB0gZvE9s29ZwNpv+T528JlfE/JNBXq7p91iWMrHQHtjWNJ9Om3m/bVvf1M1rIoDvgf/JUz9sATeeHkeBdy0ZIWHg/UIIr9axfynaAnBddxz4lm5+gPcu9MjMMrHQ2jj2FJ9Ka/tQwYZjvZjJpA/p5je9JcyoGbAE3NTBUeDKJaPGz7ZZlnWHSX6teYBSlFI/B87RzZ8H1v9c8qtoXkWrToPmARL2FC9csMNoatyy5OuDg8uNdlqEcU/graYF+Gwu33EXFv51bq/xuojj2H9nWg7j/7vruo8CT5rYOH82/NnSzmkKzpp/iGsXmW36sG1rJJcbuM20LGE53k0YTAwBfGKZx+oOOE2cdCb58mDVQ7tVcRz7+hCKE44AXNf9Hww7hI6ATSvyOG29XOyxcdUeugyGfQCJhP3LbDb93TBKFGbT+ynAaDlrdTd8fFn7NgW/13+Atxls9oTCuN+2ratCKlJ4AigeIjUakgBsWOq15dax7tQEm1bsM7aTSNhPBjn0GZSwO993Ar8xMSApNAXd7XSvgPC4e/Vrxr1+KeWUZcn3hVOoos0wjbmuewz4pKmdZSm4baB9moK3LxnhPIOrXmZIJOwvZjJp/T1jpyCK4fe3MThGNsMHXI9r+ltfBKfPHmNjZtjYjm1bR6QUfxlCkU4idAEU7xa8MQxbn8t5XNzXuiLo6zrGw2fvDsWW49gfq3bnnw6RTMC5rvss8B1TO7aAL63yOK8FD5d2Jyf43toho5W+GRzHHspm0/eGUKzfIsoZ2I9S5ZrSIMyS8I0z8qxoobOFCXuKB9YOMdfgkscZpBR527beGUKxTm0/KsOu6+4BrsPg2ZkZ5trw7TPyvKEFtpFZ1jT3rRniNLM7/o+TTDofy2bT/x2KsVMQ6RqM67r/juFi0QyLkwURNPP1s0LkuevM3ZzZrX+0q5Rk0vl+Njvw+VCMVaAei3B3AP8WhqHlXYXmYFYzLh0Kj79ZtYc3zzGb6ZvBcay9liUvC8WYD5H/K4ujgg8Cr4Zh77xe+PKgR6qZRCA8PpLby1ULzVb4ZpBSTjmOfUEUvf7f+lbUHwBwXXcUuBoI5TjIW+d5PHJ2nv6aj0GEj5R5/nb1Lq43uNGjFCEgmXT+OJNJ/zoUg1Womx+5rvtTCiODUFjTA4+tyTf0QupUYpJ/Pmcn75gf3namRCJxfzabDnzBgynGW8JqRSn1TeD9Ydk7Og1//ivBlv2aE+2aW8IWdB/jwbN30Wf2oNNJOI796sqV2YHQDAagES3p9UDgS4yq0WXBVwY9NtRxR9FZ8w/xxO/sDLXyLUuOO471u6EZDEjdBeC67hhwFZr3Dp4KCdya9rhzuRf5hpJ3nzbMt87YE+o9B0IIL5Fwrsxk0ubrxTXSkL6067ovAR+gyru2tXJdv8e/nJmP5LEqIfN8cuVrfMbwDN+pSCadO7LZ9ObQDQeg7n2AUpRS76KwZhBqf373OHxiu+Cp0QBuGqAP0Nd1jLsG97AmpAmeUlKpxMZcbkDrYGcYNFQAAEqpy4GHgNAneh/5P8GtrwiG/eKMjwCkzHPtacPcvEz/1q5KFIZ7idtyuYHbQzdeSzkaLQAApdQlwCNA6AfFDk7B7b8W3L+3QjSoIIBls8e4d1CxJKQ5/VKEECSTzi253MDG0I3XWpZmEACAUmo98K9AJCP7Hx8UfHy74JXymdoyAdj2NH+V3csH+82ua6mEEIJUyrkx6jn+oDSNAACUUhcCm4FInpkYz8PnhwRf2CWYnPmzSwSwdsEhvrByL73mr3WeEiGEl0o5N2SzA/dE8gENmkoAAEqpC4AtQGR7g7eNwc07JC8cAvYtoic5wWdWKKP7eatRqPzE9dls+h8j+4gGTScAAKXUOuBxYF6U33lyRPDskMeGJeHM41eiWPl/lM2m74v0Qxo0pQAAlFLnULiGZn6U3xkerkvlvz+bTd8f6Yc0aaZF1ZNwXfe/gPVAXVbFokBKOZVKJa5q1sqHJhYAgOu6LwJrgab9B1bCceydqZSTzmbTDzW6LH40bRNQjlLqD4G7CXmEEHYTIITwkknnK7ncwIdCNRwRTR0BSnFd9z4KN5H8tNFlqYRlWWOpVOJtrVL50EICAHBddzvwJuCzGLxeEgWJhPOTZNJelM2mn2p0WWqhZZqAcpRSFwNfBxab2DFtAqQU+UTCuTmXGzC+rqURtKwAAJRSCyncXn6Frg0TATiOtc9x7LdkMumqr3Q3Ky0tgBmUUjdQaBZqXlHUEYAQkEg4312+PHN1zZmbjJbqA1TCdd1NwLkY3F8cFNu29qdSyXe3Q+VDm0SAUpRSVwCfA1YFSR80AliWnHAce2MYN3M1E20RAUopXlt3FnADYLx/qziufyCZdOa0W+VDG0aAUpRSc4GbgQ1UmECqFAGEEJ7j2D+xbXlNLe/wtRptLYAZlFJ9FCLCXwB9pb+VC6CwQ9f+gWXJP8lk0jvqV8rG0BECmEEp1UPhXMJNFOcPZgQgpcg7jv2oZckP1fryVivTUQKYQSmVpHBg9cOjo4dXOY79oJTiIybXrrcq/w99zo6mO4xCQAAAAABJRU5ErkJggg==",C.rush),w('<span style="font-size: 18px">Monster Brawl</span>',['<img style="height: 28px; margin-left: 5px; margin-right: 8px" src="https://media.blooket.com/image/upload/v1655233787/Media/survivor/xp/Blue_xp_2.svg">'],C.brawl),w('<span style="font-size: 15px">Santa\'s Workshop</span>',"https://i.ibb.co/Y2SFc9Y/Santa-Workshop-Finished-icon-1.webp",C.workshop),w("Extras","https://i.ibb.co/mb0R9HX/Star-icon-stylized-svg-1-removebg-preview.png",C.extras,!0),w("Settings","https://i.ibb.co/jrWKgyn/Windows-Settings-icon-1.png",C.settings,!0),S(m,_),S(g,_),window.addEventListener("keydown",A);let x=setInterval((()=>{C.alerts[0].connection?clearInterval(x):C.alerts[0].connect()}),5e3);function D(){for(let e in _.remove(),clearInterval(x),C)for(let t of C[e])t.enabled&&t.run();Object.keys(C).forEach((e=>C[e].forEach((e=>e.enabled&&(e.run(),k(...currentMode)))))),window.removeEventListener("keydown",A)}function A(e){var t=c.data.hide||{ctrl:!0,key:"e"},o=c.data.close||{ctrl:!0,key:"x"};(t.ctrl&&e.ctrlKey||!t.ctrl&&!e.ctrlKey)&&(t.shift&&e.shiftKey||!t.shift&&!e.shiftKey)&&(t.alt&&e.altKey||!t.alt&&!e.altKey)&&e.key.toLowerCase()==t.key?(e.preventDefault(),_.style.display="block"===_.style.display?"none":"block"):(o.ctrl&&e.ctrlKey||!o.ctrl&&!e.ctrlKey)&&(o.shift&&e.shiftKey||!o.shift&&!e.shiftKey)&&(o.alt&&e.altKey||!o.alt&&!e.altKey)&&e.key.toLowerCase()==o.key&&(e.preventDefault(),D())}function B(e,t=window){return new Promise((o=>{let n,a,r,i,l={},s=t=>{t.preventDefault(),l[t.code]=!0,n||=t.shiftKey,a||=t.ctrlKey,r||=t.altKey,["shift","control","alt","meta"].includes(t.key.toLowerCase())||(i=t.key.toLowerCase()),e?.({shift:n,ctrl:a,alt:r,key:i})},c=e=>{delete l[e.code],0<Object.keys(l).length||(t.removeEventListener("keydown",s),t.removeEventListener("keyup",c),o({shift:n,ctrl:a,alt:r,key:i}))};t.addEventListener("keydown",s),t.addEventListener("keyup",c)}))}_.addEventListener("mousemove",(e=>{var t,o;"cheatName"!=e.target.className&&"scriptButton"!=e.target.className?"0"!=y.style.opacity&&(y.animate([{opacity:.9},{opacity:0}],{duration:200}),y.style.opacity="0"):(e="scriptButton"==e.target.className?e.target:e.target.parentElement,y.innerText==e.dataset.description&&"0.9"==y.style.opacity||(t=e.getBoundingClientRect(),o=e.offsetParent.getBoundingClientRect(),y.innerText=e.dataset.description,"0"==y.style.opacity&&(y.animate([{opacity:0},{opacity:.9}],{duration:200}),y.style.opacity="0.9"),y.style.left=t.x-o.x+(t.width-y.clientWidth)/2+"px",y.style.top=t.y-o.y+t.height+"px"))})),window.fetch.call=function(){if(!arguments[1].includes("s.blooket.com/rc"))return wfcall.apply(this,arguments);C.alerts?.[0].addLog("Blooket Cheat Report Blocked!")}})();